@opensite/ui 1.9.4 → 1.9.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/dist/about-company-profile.d.cts +3 -3
- package/dist/about-company-profile.d.ts +3 -3
- package/dist/about-culture-tabs.d.cts +3 -3
- package/dist/about-culture-tabs.d.ts +3 -3
- package/dist/about-developer-profile.d.cts +3 -3
- package/dist/about-developer-profile.d.ts +3 -3
- package/dist/about-developer-story.d.cts +3 -3
- package/dist/about-developer-story.d.ts +3 -3
- package/dist/about-expandable-values.d.cts +3 -3
- package/dist/about-expandable-values.d.ts +3 -3
- package/dist/about-interactive-tabs.d.cts +3 -3
- package/dist/about-interactive-tabs.d.ts +3 -3
- package/dist/about-location-info-hero.d.cts +3 -3
- package/dist/about-location-info-hero.d.ts +3 -3
- package/dist/about-minimal-story.d.cts +3 -3
- package/dist/about-minimal-story.d.ts +3 -3
- package/dist/about-mission-dual-image.d.cts +3 -3
- package/dist/about-mission-dual-image.d.ts +3 -3
- package/dist/about-mission-features.d.cts +3 -3
- package/dist/about-mission-features.d.ts +3 -3
- package/dist/about-mission-principles.d.cts +3 -3
- package/dist/about-mission-principles.d.ts +3 -3
- package/dist/about-network-spotlight.d.cts +3 -3
- package/dist/about-network-spotlight.d.ts +3 -3
- package/dist/about-split-hero.d.cts +3 -3
- package/dist/about-split-hero.d.ts +3 -3
- package/dist/about-startup-team.d.cts +3 -3
- package/dist/about-startup-team.d.ts +3 -3
- package/dist/about-stats-showcase.d.cts +3 -3
- package/dist/about-stats-showcase.d.ts +3 -3
- package/dist/about-stats-sidebar.d.cts +3 -3
- package/dist/about-stats-sidebar.d.ts +3 -3
- package/dist/about-story-expertise.d.cts +3 -3
- package/dist/about-story-expertise.d.ts +3 -3
- package/dist/about-story-gallery.d.cts +3 -3
- package/dist/about-story-gallery.d.ts +3 -3
- package/dist/about-story-hero.d.cts +3 -3
- package/dist/about-story-hero.d.ts +3 -3
- package/dist/about-streamline-team.d.cts +3 -3
- package/dist/about-streamline-team.d.ts +3 -3
- package/dist/about-vision-gallery.d.cts +3 -3
- package/dist/about-vision-gallery.d.ts +3 -3
- package/dist/alternating-blocks.d.cts +3 -3
- package/dist/alternating-blocks.d.ts +3 -3
- package/dist/animated-dialog.d.cts +3 -3
- package/dist/animated-dialog.d.ts +3 -3
- package/dist/article-breadcrumb-social.d.cts +3 -3
- package/dist/article-breadcrumb-social.d.ts +3 -3
- package/dist/article-chapters-author.d.cts +3 -3
- package/dist/article-chapters-author.d.ts +3 -3
- package/dist/article-compact-toc.d.cts +3 -3
- package/dist/article-compact-toc.d.ts +3 -3
- package/dist/article-hero-prose.d.cts +3 -3
- package/dist/article-hero-prose.d.ts +3 -3
- package/dist/article-sidebar-sticky.d.cts +3 -3
- package/dist/article-sidebar-sticky.d.ts +3 -3
- package/dist/article-split-animated.d.cts +3 -3
- package/dist/article-split-animated.d.ts +3 -3
- package/dist/article-toc-sidebar.d.cts +3 -3
- package/dist/article-toc-sidebar.d.ts +3 -3
- package/dist/auto-scroll-carousel.d.cts +3 -3
- package/dist/auto-scroll-carousel.d.ts +3 -3
- package/dist/badge.d.cts +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/banner-announcement-dismissible.d.cts +3 -3
- package/dist/banner-announcement-dismissible.d.ts +3 -3
- package/dist/banner-countdown-sale.d.cts +3 -3
- package/dist/banner-countdown-sale.d.ts +3 -3
- package/dist/banner-delivery-countdown.d.cts +3 -3
- package/dist/banner-delivery-countdown.d.ts +3 -3
- package/dist/banner-event-promo.d.cts +3 -3
- package/dist/banner-event-promo.d.ts +3 -3
- package/dist/banner-floating-offer.d.cts +3 -3
- package/dist/banner-floating-offer.d.ts +3 -3
- package/dist/banner-gdpr-rights.d.cts +3 -3
- package/dist/banner-gdpr-rights.d.ts +3 -3
- package/dist/banner-privacy-notice.d.cts +3 -3
- package/dist/banner-privacy-notice.d.ts +3 -3
- package/dist/banner-promo-cta.d.cts +3 -3
- package/dist/banner-promo-cta.d.ts +3 -3
- package/dist/banner-social-follow.d.cts +3 -3
- package/dist/banner-social-follow.d.ts +3 -3
- package/dist/banner-survey-incentive.d.cts +3 -3
- package/dist/banner-survey-incentive.d.ts +3 -3
- package/dist/{blocks-DyVWHMtH.d.cts → blocks-Cohq4eio.d.cts} +2 -2
- package/dist/{blocks-S9tBV7Wg.d.ts → blocks-k17uluAz.d.ts} +2 -2
- package/dist/blog-cards-read-time.d.cts +3 -3
- package/dist/blog-cards-read-time.d.ts +3 -3
- package/dist/blog-cards-tagline-cta.d.cts +3 -3
- package/dist/blog-cards-tagline-cta.d.ts +3 -3
- package/dist/blog-carousel-apple.d.cts +3 -3
- package/dist/blog-carousel-apple.d.ts +3 -3
- package/dist/blog-category-overlay.d.cts +3 -3
- package/dist/blog-category-overlay.d.ts +3 -3
- package/dist/blog-featured-popular.d.cts +3 -3
- package/dist/blog-featured-popular.d.ts +3 -3
- package/dist/blog-filtered-results.d.cts +3 -3
- package/dist/blog-filtered-results.d.ts +3 -3
- package/dist/blog-grid-author-cards.d.cts +3 -3
- package/dist/blog-grid-author-cards.d.ts +3 -3
- package/dist/blog-grid-nine-posts.d.cts +3 -3
- package/dist/blog-grid-nine-posts.d.ts +3 -3
- package/dist/blog-horizontal-cards.d.cts +3 -3
- package/dist/blog-horizontal-cards.d.ts +3 -3
- package/dist/blog-horizontal-timeline.d.cts +3 -3
- package/dist/blog-horizontal-timeline.d.ts +3 -3
- package/dist/blog-masonry-featured.d.cts +3 -3
- package/dist/blog-masonry-featured.d.ts +3 -3
- package/dist/blog-related-articles.d.cts +3 -3
- package/dist/blog-related-articles.d.ts +3 -3
- package/dist/blog-tech-insights.d.cts +3 -3
- package/dist/blog-tech-insights.d.ts +3 -3
- package/dist/blur-vignette-grid.d.cts +3 -3
- package/dist/blur-vignette-grid.d.ts +3 -3
- package/dist/{button-variants-8mtEHxev.d.cts → button-variants-lRElsmTc.d.cts} +1 -1
- package/dist/{button-variants-8mtEHxev.d.ts → button-variants-lRElsmTc.d.ts} +1 -1
- package/dist/button.d.cts +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/carousel-animated-sections.d.cts +3 -3
- package/dist/carousel-animated-sections.d.ts +3 -3
- package/dist/carousel-auto-progress-slides.d.cts +3 -3
- package/dist/carousel-auto-progress-slides.d.ts +3 -3
- package/dist/carousel-autoplay-progress.d.cts +3 -3
- package/dist/carousel-autoplay-progress.d.ts +3 -3
- package/dist/carousel-badge-cards.d.cts +3 -3
- package/dist/carousel-badge-cards.d.ts +3 -3
- package/dist/carousel-demo-link.d.cts +3 -3
- package/dist/carousel-demo-link.d.ts +3 -3
- package/dist/carousel-feature-badge.d.cts +3 -3
- package/dist/carousel-feature-badge.d.ts +3 -3
- package/dist/carousel-fullscreen-scroll-fx.d.cts +3 -3
- package/dist/carousel-fullscreen-scroll-fx.d.ts +3 -3
- package/dist/carousel-gallery-thumbnails.d.cts +3 -3
- package/dist/carousel-gallery-thumbnails.d.ts +3 -3
- package/dist/carousel-gradient-overlay.d.cts +3 -3
- package/dist/carousel-gradient-overlay.d.ts +3 -3
- package/dist/carousel-gradient-text.d.cts +3 -3
- package/dist/carousel-gradient-text.d.ts +3 -3
- package/dist/carousel-horizontal-cards.d.cts +3 -3
- package/dist/carousel-horizontal-cards.d.ts +3 -3
- package/dist/carousel-icon-sidebar.d.cts +3 -3
- package/dist/carousel-icon-sidebar.d.ts +3 -3
- package/dist/carousel-icon-tabs.d.cts +3 -3
- package/dist/carousel-icon-tabs.d.ts +3 -3
- package/dist/carousel-image-hero.d.cts +3 -3
- package/dist/carousel-image-hero.d.ts +3 -3
- package/dist/carousel-multi-step-showcase.d.cts +3 -3
- package/dist/carousel-multi-step-showcase.d.ts +3 -3
- package/dist/carousel-portfolio-hero.d.cts +3 -3
- package/dist/carousel-portfolio-hero.d.ts +3 -3
- package/dist/carousel-product-feature-showcase.d.cts +3 -3
- package/dist/carousel-product-feature-showcase.d.ts +3 -3
- package/dist/carousel-progress-slider.d.cts +3 -3
- package/dist/carousel-progress-slider.d.ts +3 -3
- package/dist/carousel-scale-focus.d.cts +3 -3
- package/dist/carousel-scale-focus.d.ts +3 -3
- package/dist/carousel-scrolling-feature-showcase.d.cts +3 -3
- package/dist/carousel-scrolling-feature-showcase.d.ts +3 -3
- package/dist/carousel-sidebar-resources.d.cts +3 -3
- package/dist/carousel-sidebar-resources.d.ts +3 -3
- package/dist/carousel-tabs-content.d.cts +3 -3
- package/dist/carousel-tabs-content.d.ts +3 -3
- package/dist/case-studies-featured-border.d.cts +3 -3
- package/dist/case-studies-featured-border.d.ts +3 -3
- package/dist/case-studies-image-grid.d.cts +3 -3
- package/dist/case-studies-image-grid.d.ts +3 -3
- package/dist/case-studies-stats-card.d.cts +3 -3
- package/dist/case-studies-stats-card.d.ts +3 -3
- package/dist/case-studies-testimonial-stats.d.cts +3 -3
- package/dist/case-studies-testimonial-stats.d.ts +3 -3
- package/dist/case-study-prose-sidebar.d.cts +3 -3
- package/dist/case-study-prose-sidebar.d.ts +3 -3
- package/dist/case-study-stats-metrics.d.cts +3 -3
- package/dist/case-study-stats-metrics.d.ts +3 -3
- package/dist/case-study-toc-social-sidebar.d.cts +3 -3
- package/dist/case-study-toc-social-sidebar.d.ts +3 -3
- package/dist/{community-initiatives-CxYoHqdn.d.ts → community-initiatives-Bi_ClKrO.d.ts} +2 -2
- package/dist/{community-initiatives-Bs7X576B.d.cts → community-initiatives-Bz_A5vLU.d.cts} +2 -2
- package/dist/community-initiatives.d.cts +3 -3
- package/dist/community-initiatives.d.ts +3 -3
- package/dist/comparison-ai-models.d.cts +3 -3
- package/dist/comparison-ai-models.d.ts +3 -3
- package/dist/comparison-feature-cards.d.cts +3 -3
- package/dist/comparison-feature-cards.d.ts +3 -3
- package/dist/comparison-feature-grid.d.cts +3 -3
- package/dist/comparison-feature-grid.d.ts +3 -3
- package/dist/comparison-grid-badges.d.cts +3 -3
- package/dist/comparison-grid-badges.d.ts +3 -3
- package/dist/comparison-image-cards.d.cts +3 -3
- package/dist/comparison-image-cards.d.ts +3 -3
- package/dist/comparison-legacy-modern.d.cts +3 -3
- package/dist/comparison-legacy-modern.d.ts +3 -3
- package/dist/comparison-metrics-rows.d.cts +3 -3
- package/dist/comparison-metrics-rows.d.ts +3 -3
- package/dist/comparison-table-tabs.d.cts +3 -3
- package/dist/comparison-table-tabs.d.ts +3 -3
- package/dist/comparison-table-tooltips.d.cts +3 -3
- package/dist/comparison-table-tooltips.d.ts +3 -3
- package/dist/comparison-table-two-column.d.cts +3 -3
- package/dist/comparison-table-two-column.d.ts +3 -3
- package/dist/components.cjs +3 -122
- package/dist/components.d.cts +3 -4
- package/dist/components.d.ts +3 -4
- package/dist/components.js +1 -120
- package/dist/contact-callback.cjs +3 -500
- package/dist/contact-callback.d.cts +4 -6
- package/dist/contact-callback.d.ts +4 -6
- package/dist/contact-callback.js +3 -500
- package/dist/contact-card.cjs +3 -500
- package/dist/contact-card.d.cts +4 -6
- package/dist/contact-card.d.ts +4 -6
- package/dist/contact-card.js +3 -500
- package/dist/contact-careers.cjs +4 -565
- package/dist/contact-careers.d.cts +4 -6
- package/dist/contact-careers.d.ts +4 -6
- package/dist/contact-careers.js +3 -564
- package/dist/contact-catering.cjs +3 -500
- package/dist/contact-catering.d.cts +4 -6
- package/dist/contact-catering.d.ts +4 -6
- package/dist/contact-catering.js +3 -500
- package/dist/contact-consultation.cjs +2 -499
- package/dist/contact-consultation.d.cts +4 -6
- package/dist/contact-consultation.d.ts +4 -6
- package/dist/contact-consultation.js +3 -500
- package/dist/contact-dark.cjs +34 -616
- package/dist/contact-dark.d.cts +4 -6
- package/dist/contact-dark.d.ts +4 -6
- package/dist/contact-dark.js +34 -616
- package/dist/contact-demo.cjs +2 -117
- package/dist/contact-demo.d.cts +4 -5
- package/dist/contact-demo.d.ts +4 -5
- package/dist/contact-demo.js +1 -116
- package/dist/contact-emergency.cjs +2 -117
- package/dist/contact-emergency.d.cts +4 -5
- package/dist/contact-emergency.d.ts +4 -5
- package/dist/contact-emergency.js +1 -116
- package/dist/contact-event.cjs +2 -117
- package/dist/contact-event.d.cts +4 -5
- package/dist/contact-event.d.ts +4 -5
- package/dist/contact-event.js +1 -116
- package/dist/contact-faq.cjs +34 -616
- package/dist/contact-faq.d.cts +4 -6
- package/dist/contact-faq.d.ts +4 -6
- package/dist/contact-faq.js +34 -616
- package/dist/contact-feedback.cjs +2 -117
- package/dist/contact-feedback.d.cts +4 -5
- package/dist/contact-feedback.d.ts +4 -5
- package/dist/contact-feedback.js +1 -116
- package/dist/contact-fitness.cjs +2 -117
- package/dist/contact-fitness.d.cts +4 -5
- package/dist/contact-fitness.d.ts +4 -5
- package/dist/contact-fitness.js +1 -116
- package/dist/contact-floating-banner.d.cts +3 -3
- package/dist/contact-floating-banner.d.ts +3 -3
- package/dist/contact-guest.cjs +2 -117
- package/dist/contact-guest.d.cts +4 -5
- package/dist/contact-guest.d.ts +4 -5
- package/dist/contact-guest.js +1 -116
- package/dist/contact-help-center.d.cts +3 -3
- package/dist/contact-help-center.d.ts +3 -3
- package/dist/contact-image.cjs +2 -117
- package/dist/contact-image.d.cts +4 -5
- package/dist/contact-image.d.ts +4 -5
- package/dist/contact-image.js +1 -116
- package/dist/contact-insurance.cjs +2 -117
- package/dist/contact-insurance.d.cts +4 -5
- package/dist/contact-insurance.d.ts +4 -5
- package/dist/contact-insurance.js +1 -116
- package/dist/contact-interview.cjs +2 -117
- package/dist/contact-interview.d.cts +4 -5
- package/dist/contact-interview.d.ts +4 -5
- package/dist/contact-interview.js +1 -116
- package/dist/contact-locations.cjs +2 -117
- package/dist/contact-locations.d.cts +4 -5
- package/dist/contact-locations.d.ts +4 -5
- package/dist/contact-locations.js +1 -116
- package/dist/contact-maintenance.cjs +2 -117
- package/dist/contact-maintenance.d.cts +4 -5
- package/dist/contact-maintenance.d.ts +4 -5
- package/dist/contact-maintenance.js +1 -116
- package/dist/contact-map.cjs +2 -117
- package/dist/contact-map.d.cts +4 -5
- package/dist/contact-map.d.ts +4 -5
- package/dist/contact-map.js +1 -116
- package/dist/contact-minimal.cjs +2 -117
- package/dist/contact-minimal.d.cts +4 -5
- package/dist/contact-minimal.d.ts +4 -5
- package/dist/contact-minimal.js +1 -116
- package/dist/contact-moving.cjs +2 -117
- package/dist/contact-moving.d.cts +4 -5
- package/dist/contact-moving.d.ts +4 -5
- package/dist/contact-moving.js +1 -116
- package/dist/contact-multistep.cjs +2 -117
- package/dist/contact-multistep.d.cts +4 -5
- package/dist/contact-multistep.d.ts +4 -5
- package/dist/contact-multistep.js +1 -116
- package/dist/contact-partnership.cjs +2 -117
- package/dist/contact-partnership.d.cts +4 -5
- package/dist/contact-partnership.d.ts +4 -5
- package/dist/contact-partnership.js +1 -116
- package/dist/contact-photography.cjs +203 -712
- package/dist/contact-photography.d.cts +13 -7
- package/dist/contact-photography.d.ts +13 -7
- package/dist/contact-photography.js +203 -712
- package/dist/contact-press.cjs +2 -117
- package/dist/contact-press.d.cts +4 -5
- package/dist/contact-press.d.ts +4 -5
- package/dist/contact-press.js +1 -116
- package/dist/contact-quote.cjs +2 -117
- package/dist/contact-quote.d.cts +4 -5
- package/dist/contact-quote.d.ts +4 -5
- package/dist/contact-quote.js +1 -116
- package/dist/contact-referral.cjs +2 -117
- package/dist/contact-referral.d.cts +4 -5
- package/dist/contact-referral.d.ts +4 -5
- package/dist/contact-referral.js +1 -116
- package/dist/contact-report.cjs +2 -117
- package/dist/contact-report.d.cts +4 -5
- package/dist/contact-report.d.ts +4 -5
- package/dist/contact-report.js +1 -116
- package/dist/contact-reservation.cjs +2 -117
- package/dist/contact-reservation.d.cts +4 -5
- package/dist/contact-reservation.d.ts +4 -5
- package/dist/contact-reservation.js +1 -116
- package/dist/contact-retreat.cjs +2 -117
- package/dist/contact-retreat.d.cts +4 -5
- package/dist/contact-retreat.d.ts +4 -5
- package/dist/contact-retreat.js +1 -116
- package/dist/contact-rsvp.cjs +2 -117
- package/dist/contact-rsvp.d.cts +4 -5
- package/dist/contact-rsvp.d.ts +4 -5
- package/dist/contact-rsvp.js +1 -116
- package/dist/contact-sales.cjs +2 -117
- package/dist/contact-sales.d.cts +4 -5
- package/dist/contact-sales.d.ts +4 -5
- package/dist/contact-sales.js +1 -116
- package/dist/contact-schedule.cjs +2 -117
- package/dist/contact-schedule.d.cts +4 -5
- package/dist/contact-schedule.d.ts +4 -5
- package/dist/contact-schedule.js +1 -116
- package/dist/contact-sponsorship.cjs +2 -117
- package/dist/contact-sponsorship.d.cts +4 -5
- package/dist/contact-sponsorship.d.ts +4 -5
- package/dist/contact-sponsorship.js +1 -116
- package/dist/contact-support.cjs +2 -117
- package/dist/contact-support.d.cts +4 -5
- package/dist/contact-support.d.ts +4 -5
- package/dist/contact-support.js +1 -116
- package/dist/contact-tenant.cjs +2 -117
- package/dist/contact-tenant.d.cts +4 -5
- package/dist/contact-tenant.d.ts +4 -5
- package/dist/contact-tenant.js +1 -116
- package/dist/contact-vendor.cjs +2 -117
- package/dist/contact-vendor.d.cts +4 -5
- package/dist/contact-vendor.d.ts +4 -5
- package/dist/contact-vendor.js +1 -116
- package/dist/contact-volunteer.cjs +2 -117
- package/dist/contact-volunteer.d.cts +4 -5
- package/dist/contact-volunteer.d.ts +4 -5
- package/dist/contact-volunteer.js +1 -116
- package/dist/contact-warranty.cjs +2 -117
- package/dist/contact-warranty.d.cts +4 -5
- package/dist/contact-warranty.d.ts +4 -5
- package/dist/contact-warranty.js +1 -116
- package/dist/contact-wedding.cjs +2 -117
- package/dist/contact-wedding.d.cts +4 -5
- package/dist/contact-wedding.d.ts +4 -5
- package/dist/contact-wedding.js +1 -116
- package/dist/container.d.cts +3 -3
- package/dist/container.d.ts +3 -3
- package/dist/cta-accent-background.d.cts +3 -3
- package/dist/cta-accent-background.d.ts +3 -3
- package/dist/cta-app-download-newsletter.cjs +3 -122
- package/dist/cta-app-download-newsletter.d.cts +4 -5
- package/dist/cta-app-download-newsletter.d.ts +4 -5
- package/dist/cta-app-download-newsletter.js +1 -120
- package/dist/cta-background-icon-badge.d.cts +3 -3
- package/dist/cta-background-icon-badge.d.ts +3 -3
- package/dist/cta-case-study-testimonial.d.cts +3 -3
- package/dist/cta-case-study-testimonial.d.ts +3 -3
- package/dist/cta-documentation-links.d.cts +3 -3
- package/dist/cta-documentation-links.d.ts +3 -3
- package/dist/cta-enterprise-dark-features.d.cts +3 -3
- package/dist/cta-enterprise-dark-features.d.ts +3 -3
- package/dist/cta-enterprise-split.d.cts +3 -3
- package/dist/cta-enterprise-split.d.ts +3 -3
- package/dist/cta-feature-cards-grid.d.cts +3 -3
- package/dist/cta-feature-cards-grid.d.ts +3 -3
- package/dist/cta-feature-checklist.d.cts +3 -3
- package/dist/cta-feature-checklist.d.ts +3 -3
- package/dist/cta-feature-list.d.cts +3 -3
- package/dist/cta-feature-list.d.ts +3 -3
- package/dist/cta-fullwidth-background.d.cts +3 -3
- package/dist/cta-fullwidth-background.d.ts +3 -3
- package/dist/cta-gradient-logos-floating.d.cts +3 -3
- package/dist/cta-gradient-logos-floating.d.ts +3 -3
- package/dist/cta-gradient-stats-hero.d.cts +3 -3
- package/dist/cta-gradient-stats-hero.d.ts +3 -3
- package/dist/cta-hero-feature-cards.d.cts +3 -3
- package/dist/cta-hero-feature-cards.d.ts +3 -3
- package/dist/cta-image-overlay-arrow.d.cts +3 -3
- package/dist/cta-image-overlay-arrow.d.ts +3 -3
- package/dist/cta-image-overlay-centered.d.cts +3 -3
- package/dist/cta-image-overlay-centered.d.ts +3 -3
- package/dist/cta-minimal-separator.d.cts +3 -3
- package/dist/cta-minimal-separator.d.ts +3 -3
- package/dist/cta-newsletter-features.cjs +3 -122
- package/dist/cta-newsletter-features.d.cts +4 -5
- package/dist/cta-newsletter-features.d.ts +4 -5
- package/dist/cta-newsletter-features.js +1 -120
- package/dist/cta-pattern-background.d.cts +3 -3
- package/dist/cta-pattern-background.d.ts +3 -3
- package/dist/cta-platform-demo.d.cts +3 -3
- package/dist/cta-platform-demo.d.ts +3 -3
- package/dist/cta-simple-centered.d.cts +3 -3
- package/dist/cta-simple-centered.d.ts +3 -3
- package/dist/cta-split-gradient-image.d.cts +3 -3
- package/dist/cta-split-gradient-image.d.ts +3 -3
- package/dist/cta-split-image-logos.d.cts +3 -3
- package/dist/cta-split-image-logos.d.ts +3 -3
- package/dist/cta-split-image.d.cts +3 -3
- package/dist/cta-split-image.d.ts +3 -3
- package/dist/cta-stacked-cards.d.cts +3 -3
- package/dist/cta-stacked-cards.d.ts +3 -3
- package/dist/cta-video-background-hero.d.cts +3 -3
- package/dist/cta-video-background-hero.d.ts +3 -3
- package/dist/cta-workflow-tabs.d.cts +3 -3
- package/dist/cta-workflow-tabs.d.ts +3 -3
- package/dist/expandable-case-study-cards.d.cts +3 -3
- package/dist/expandable-case-study-cards.d.ts +3 -3
- package/dist/faq-badge-support.d.cts +3 -3
- package/dist/faq-badge-support.d.ts +3 -3
- package/dist/faq-bordered-badge.d.cts +3 -3
- package/dist/faq-bordered-badge.d.ts +3 -3
- package/dist/faq-card-categories.d.cts +3 -3
- package/dist/faq-card-categories.d.ts +3 -3
- package/dist/faq-categorized-sections.d.cts +3 -3
- package/dist/faq-categorized-sections.d.ts +3 -3
- package/dist/faq-centered-accordion.d.cts +3 -3
- package/dist/faq-centered-accordion.d.ts +3 -3
- package/dist/faq-gradient-categories.d.cts +3 -3
- package/dist/faq-gradient-categories.d.ts +3 -3
- package/dist/faq-icon-benefits.d.cts +3 -3
- package/dist/faq-icon-benefits.d.ts +3 -3
- package/dist/faq-muted-cards.d.cts +3 -3
- package/dist/faq-muted-cards.d.ts +3 -3
- package/dist/faq-numbered-grid.d.cts +3 -3
- package/dist/faq-numbered-grid.d.ts +3 -3
- package/dist/faq-numbered-list.d.cts +3 -3
- package/dist/faq-numbered-list.d.ts +3 -3
- package/dist/faq-profile-sidebar.d.cts +3 -3
- package/dist/faq-profile-sidebar.d.ts +3 -3
- package/dist/faq-rounded-cards.d.cts +3 -3
- package/dist/faq-rounded-cards.d.ts +3 -3
- package/dist/faq-sidebar-navigation.d.cts +3 -3
- package/dist/faq-sidebar-navigation.d.ts +3 -3
- package/dist/faq-simple-accordion.d.cts +3 -3
- package/dist/faq-simple-accordion.d.ts +3 -3
- package/dist/faq-split-help.d.cts +3 -3
- package/dist/faq-split-help.d.ts +3 -3
- package/dist/faq-split-hero.d.cts +3 -3
- package/dist/faq-split-hero.d.ts +3 -3
- package/dist/faq-static-list.d.cts +3 -3
- package/dist/faq-static-list.d.ts +3 -3
- package/dist/feature-accordion-image.d.cts +3 -3
- package/dist/feature-accordion-image.d.ts +3 -3
- package/dist/feature-animated-carousel.d.cts +3 -3
- package/dist/feature-animated-carousel.d.ts +3 -3
- package/dist/feature-badge-grid-six.d.cts +3 -3
- package/dist/feature-badge-grid-six.d.ts +3 -3
- package/dist/feature-bento-image-grid.d.cts +3 -3
- package/dist/feature-bento-image-grid.d.ts +3 -3
- package/dist/feature-bento-utilities.d.cts +3 -3
- package/dist/feature-bento-utilities.d.ts +3 -3
- package/dist/feature-capabilities-grid.d.cts +3 -3
- package/dist/feature-capabilities-grid.d.ts +3 -3
- package/dist/feature-card-grid-linked.d.cts +3 -3
- package/dist/feature-card-grid-linked.d.ts +3 -3
- package/dist/feature-carousel-progress.d.cts +3 -3
- package/dist/feature-carousel-progress.d.ts +3 -3
- package/dist/feature-category-image-cards.d.cts +3 -3
- package/dist/feature-category-image-cards.d.ts +3 -3
- package/dist/feature-checklist-image.d.cts +3 -3
- package/dist/feature-checklist-image.d.ts +3 -3
- package/dist/feature-checklist-three-column.d.cts +3 -3
- package/dist/feature-checklist-three-column.d.ts +3 -3
- package/dist/feature-icon-grid-accent.d.cts +3 -3
- package/dist/feature-icon-grid-accent.d.ts +3 -3
- package/dist/feature-icon-grid-bordered.d.cts +3 -3
- package/dist/feature-icon-grid-bordered.d.ts +3 -3
- package/dist/feature-icon-grid-muted.d.cts +3 -3
- package/dist/feature-icon-grid-muted.d.ts +3 -3
- package/dist/feature-icon-tabs-content.d.cts +3 -3
- package/dist/feature-icon-tabs-content.d.ts +3 -3
- package/dist/feature-image-cards-three-column.d.cts +3 -3
- package/dist/feature-image-cards-three-column.d.ts +3 -3
- package/dist/feature-image-overlay-badge.d.cts +3 -3
- package/dist/feature-image-overlay-badge.d.ts +3 -3
- package/dist/feature-integration-cards.d.cts +3 -3
- package/dist/feature-integration-cards.d.ts +3 -3
- package/dist/feature-numbered-cards.d.cts +3 -3
- package/dist/feature-numbered-cards.d.ts +3 -3
- package/dist/feature-pattern-grid-links.d.cts +3 -3
- package/dist/feature-pattern-grid-links.d.ts +3 -3
- package/dist/feature-showcase.d.cts +4 -4
- package/dist/feature-showcase.d.ts +4 -4
- package/dist/feature-split-image-reverse.d.cts +3 -3
- package/dist/feature-split-image-reverse.d.ts +3 -3
- package/dist/feature-split-image.d.cts +3 -3
- package/dist/feature-split-image.d.ts +3 -3
- package/dist/feature-stats-highlight.d.cts +3 -3
- package/dist/feature-stats-highlight.d.ts +3 -3
- package/dist/feature-tabbed-content-image.d.cts +3 -3
- package/dist/feature-tabbed-content-image.d.ts +3 -3
- package/dist/feature-three-column-values.d.cts +3 -3
- package/dist/feature-three-column-values.d.ts +3 -3
- package/dist/feature-utility-cards-grid.d.cts +3 -3
- package/dist/feature-utility-cards-grid.d.ts +3 -3
- package/dist/footer-accordion-social.cjs +3 -122
- package/dist/footer-accordion-social.d.cts +4 -5
- package/dist/footer-accordion-social.d.ts +4 -5
- package/dist/footer-accordion-social.js +1 -120
- package/dist/footer-animated-social.d.cts +3 -3
- package/dist/footer-animated-social.d.ts +3 -3
- package/dist/footer-background-card.d.cts +3 -3
- package/dist/footer-background-card.d.ts +3 -3
- package/dist/footer-brand-description.d.cts +3 -3
- package/dist/footer-brand-description.d.ts +3 -3
- package/dist/footer-brand-links-contact.d.cts +3 -3
- package/dist/footer-brand-links-contact.d.ts +3 -3
- package/dist/footer-comprehensive-links.d.cts +3 -3
- package/dist/footer-comprehensive-links.d.ts +3 -3
- package/dist/footer-contact-card.d.cts +3 -3
- package/dist/footer-contact-card.d.ts +3 -3
- package/dist/footer-cta-banner.d.cts +3 -3
- package/dist/footer-cta-banner.d.ts +3 -3
- package/dist/footer-cta-social.d.cts +3 -3
- package/dist/footer-cta-social.d.ts +3 -3
- package/dist/footer-info-cards-accordion.d.cts +3 -3
- package/dist/footer-info-cards-accordion.d.ts +3 -3
- package/dist/footer-links-grid.d.cts +3 -3
- package/dist/footer-links-grid.d.ts +3 -3
- package/dist/footer-nav-social.d.cts +3 -3
- package/dist/footer-nav-social.d.ts +3 -3
- package/dist/footer-newsletter-contact.cjs +3 -122
- package/dist/footer-newsletter-contact.d.cts +4 -5
- package/dist/footer-newsletter-contact.d.ts +4 -5
- package/dist/footer-newsletter-contact.js +1 -120
- package/dist/footer-newsletter-grid.d.cts +3 -3
- package/dist/footer-newsletter-grid.d.ts +3 -3
- package/dist/footer-newsletter-minimal.cjs +3 -122
- package/dist/footer-newsletter-minimal.d.cts +4 -5
- package/dist/footer-newsletter-minimal.d.ts +4 -5
- package/dist/footer-newsletter-minimal.js +1 -120
- package/dist/footer-simple-centered.d.cts +3 -3
- package/dist/footer-simple-centered.d.ts +3 -3
- package/dist/footer-social-apps.d.cts +3 -3
- package/dist/footer-social-apps.d.ts +3 -3
- package/dist/footer-social-newsletter.d.cts +3 -3
- package/dist/footer-social-newsletter.d.ts +3 -3
- package/dist/footer-split-image-accordion.cjs +3 -122
- package/dist/footer-split-image-accordion.d.cts +4 -5
- package/dist/footer-split-image-accordion.d.ts +4 -5
- package/dist/footer-split-image-accordion.js +1 -120
- package/dist/hero-ad-campaign-expert.d.cts +3 -3
- package/dist/hero-ad-campaign-expert.d.ts +3 -3
- package/dist/hero-adaptable-product-grid.d.cts +3 -3
- package/dist/hero-adaptable-product-grid.d.ts +3 -3
- package/dist/hero-agency-animated-images.d.cts +3 -3
- package/dist/hero-agency-animated-images.d.ts +3 -3
- package/dist/hero-ai-powered-carousel.d.cts +3 -3
- package/dist/hero-ai-powered-carousel.d.ts +3 -3
- package/dist/hero-announcement-badge.d.cts +3 -3
- package/dist/hero-announcement-badge.d.ts +3 -3
- package/dist/hero-architecture-fullscreen.d.cts +3 -3
- package/dist/hero-architecture-fullscreen.d.ts +3 -3
- package/dist/hero-badge-image-split.d.cts +3 -3
- package/dist/hero-badge-image-split.d.ts +3 -3
- package/dist/hero-badge-shadow-overlay.d.cts +3 -3
- package/dist/hero-badge-shadow-overlay.d.ts +3 -3
- package/dist/hero-billing-platform-logos.d.cts +3 -3
- package/dist/hero-billing-platform-logos.d.ts +3 -3
- package/dist/hero-business-carousel-dots.d.cts +3 -3
- package/dist/hero-business-carousel-dots.d.ts +3 -3
- package/dist/hero-business-operations-mosaic.d.cts +3 -3
- package/dist/hero-business-operations-mosaic.d.ts +3 -3
- package/dist/hero-centered-gradient-cta.d.cts +3 -3
- package/dist/hero-centered-gradient-cta.d.ts +3 -3
- package/dist/hero-centered-image-grid.d.cts +3 -3
- package/dist/hero-centered-image-grid.d.ts +3 -3
- package/dist/hero-centered-screenshot.d.cts +3 -3
- package/dist/hero-centered-screenshot.d.ts +3 -3
- package/dist/hero-coming-soon-countdown.d.cts +3 -3
- package/dist/hero-coming-soon-countdown.d.ts +3 -3
- package/dist/hero-community-survey-cta.d.cts +3 -3
- package/dist/hero-community-survey-cta.d.ts +3 -3
- package/dist/hero-conversation-intelligence.d.cts +3 -3
- package/dist/hero-conversation-intelligence.d.ts +3 -3
- package/dist/hero-conversion-video-play.d.cts +3 -3
- package/dist/hero-conversion-video-play.d.ts +3 -3
- package/dist/hero-creative-studio-stacked.d.cts +3 -3
- package/dist/hero-creative-studio-stacked.d.ts +3 -3
- package/dist/hero-crm-streamlined.d.cts +3 -3
- package/dist/hero-crm-streamlined.d.ts +3 -3
- package/dist/hero-customer-support-layered.d.cts +3 -3
- package/dist/hero-customer-support-layered.d.ts +3 -3
- package/dist/hero-dashed-border-features.d.cts +3 -3
- package/dist/hero-dashed-border-features.d.ts +3 -3
- package/dist/hero-design-carousel-portfolio.d.cts +3 -3
- package/dist/hero-design-carousel-portfolio.d.ts +3 -3
- package/dist/hero-design-showcase-logos.d.cts +3 -3
- package/dist/hero-design-showcase-logos.d.ts +3 -3
- package/dist/hero-design-system-3d.d.cts +3 -3
- package/dist/hero-design-system-3d.d.ts +3 -3
- package/dist/hero-developer-tools-code.d.cts +3 -3
- package/dist/hero-developer-tools-code.d.ts +3 -3
- package/dist/hero-digital-agency-fullscreen.d.cts +3 -3
- package/dist/hero-digital-agency-fullscreen.d.ts +3 -3
- package/dist/hero-ecommerce-product-showcase.d.cts +3 -3
- package/dist/hero-ecommerce-product-showcase.d.ts +3 -3
- package/dist/hero-enterprise-security.d.cts +3 -3
- package/dist/hero-enterprise-security.d.ts +3 -3
- package/dist/hero-event-registration.d.cts +3 -3
- package/dist/hero-event-registration.d.ts +3 -3
- package/dist/hero-feature-cards-grid.d.cts +3 -3
- package/dist/hero-feature-cards-grid.d.ts +3 -3
- package/dist/hero-floating-images.d.cts +3 -3
- package/dist/hero-floating-images.d.ts +3 -3
- package/dist/hero-fullscreen-background-image.d.cts +3 -3
- package/dist/hero-fullscreen-background-image.d.ts +3 -3
- package/dist/hero-fullscreen-logo-cta.d.cts +3 -3
- package/dist/hero-fullscreen-logo-cta.d.ts +3 -3
- package/dist/hero-gradient-avatars-rating.d.cts +3 -3
- package/dist/hero-gradient-avatars-rating.d.ts +3 -3
- package/dist/hero-gradient-client-focused.d.cts +3 -3
- package/dist/hero-gradient-client-focused.d.ts +3 -3
- package/dist/hero-grid-pattern-efficiency.d.cts +3 -3
- package/dist/hero-grid-pattern-efficiency.d.ts +3 -3
- package/dist/hero-grid-pattern-solutions.d.cts +3 -3
- package/dist/hero-grid-pattern-solutions.d.ts +3 -3
- package/dist/hero-hiring-animated-text.d.cts +3 -3
- package/dist/hero-hiring-animated-text.d.ts +3 -3
- package/dist/hero-image-left-content.d.cts +3 -3
- package/dist/hero-image-left-content.d.ts +3 -3
- package/dist/hero-image-slider.d.cts +3 -3
- package/dist/hero-image-slider.d.ts +3 -3
- package/dist/hero-innovation-image-grid.d.cts +3 -3
- package/dist/hero-innovation-image-grid.d.ts +3 -3
- package/dist/hero-logo-centered-screenshot.d.cts +3 -3
- package/dist/hero-logo-centered-screenshot.d.ts +3 -3
- package/dist/hero-marketplace-scattered-images.d.cts +3 -3
- package/dist/hero-marketplace-scattered-images.d.ts +3 -3
- package/dist/hero-mental-health-team.d.cts +3 -3
- package/dist/hero-mental-health-team.d.ts +3 -3
- package/dist/hero-mentorship-video-split.d.cts +3 -3
- package/dist/hero-mentorship-video-split.d.ts +3 -3
- package/dist/hero-minimal-centered-dark.d.cts +3 -3
- package/dist/hero-minimal-centered-dark.d.ts +3 -3
- package/dist/hero-mobile-app-download.d.cts +3 -3
- package/dist/hero-mobile-app-download.d.ts +3 -3
- package/dist/hero-newsletter-minimal.d.cts +3 -3
- package/dist/hero-newsletter-minimal.d.ts +3 -3
- package/dist/hero-overlay-cta-grid.d.cts +3 -3
- package/dist/hero-overlay-cta-grid.d.ts +3 -3
- package/dist/hero-pattern-badge-logos.d.cts +3 -3
- package/dist/hero-pattern-badge-logos.d.ts +3 -3
- package/dist/hero-pattern-logo-tech-stack.d.cts +3 -3
- package/dist/hero-pattern-logo-tech-stack.d.ts +3 -3
- package/dist/hero-platform-features-grid.d.cts +3 -3
- package/dist/hero-platform-features-grid.d.ts +3 -3
- package/dist/hero-portfolio-creative.d.cts +3 -3
- package/dist/hero-portfolio-creative.d.ts +3 -3
- package/dist/hero-premium-split-avatars.d.cts +3 -3
- package/dist/hero-premium-split-avatars.d.ts +3 -3
- package/dist/hero-presentation-platform-video.d.cts +3 -3
- package/dist/hero-presentation-platform-video.d.ts +3 -3
- package/dist/hero-pricing-comparison.d.cts +3 -3
- package/dist/hero-pricing-comparison.d.ts +3 -3
- package/dist/hero-product-showcase-floating.d.cts +3 -3
- package/dist/hero-product-showcase-floating.d.ts +3 -3
- package/dist/hero-productivity-launcher-video.d.cts +3 -3
- package/dist/hero-productivity-launcher-video.d.ts +3 -3
- package/dist/hero-saas-dashboard-preview.d.cts +3 -3
- package/dist/hero-saas-dashboard-preview.d.ts +3 -3
- package/dist/hero-shared-inbox-layered.d.cts +3 -3
- package/dist/hero-shared-inbox-layered.d.ts +3 -3
- package/dist/hero-simple-centered-image.d.cts +3 -3
- package/dist/hero-simple-centered-image.d.ts +3 -3
- package/dist/hero-software-growth-video-dialog.d.cts +3 -3
- package/dist/hero-software-growth-video-dialog.d.ts +3 -3
- package/dist/hero-spiral-pattern-cards.d.cts +3 -3
- package/dist/hero-spiral-pattern-cards.d.ts +3 -3
- package/dist/hero-split-geometric-shapes.d.cts +3 -3
- package/dist/hero-split-geometric-shapes.d.ts +3 -3
- package/dist/hero-split-icon-cards.d.cts +3 -3
- package/dist/hero-split-icon-cards.d.ts +3 -3
- package/dist/hero-split-image-newsletter.d.cts +3 -3
- package/dist/hero-split-image-newsletter.d.ts +3 -3
- package/dist/hero-split-spiral-shapes.d.cts +3 -3
- package/dist/hero-split-spiral-shapes.d.ts +3 -3
- package/dist/hero-startup-launch-cta.d.cts +3 -3
- package/dist/hero-startup-launch-cta.d.ts +3 -3
- package/dist/hero-stats-social-proof.d.cts +3 -3
- package/dist/hero-stats-social-proof.d.ts +3 -3
- package/dist/hero-task-timer-animated.d.cts +3 -3
- package/dist/hero-task-timer-animated.d.ts +3 -3
- package/dist/hero-tech-carousel.d.cts +3 -3
- package/dist/hero-tech-carousel.d.ts +3 -3
- package/dist/hero-testimonial-image-grid.d.cts +3 -3
- package/dist/hero-testimonial-image-grid.d.ts +3 -3
- package/dist/hero-therapy-testimonial-grid.d.cts +3 -3
- package/dist/hero-therapy-testimonial-grid.d.ts +3 -3
- package/dist/hero-ui-library-showcase.d.cts +3 -3
- package/dist/hero-ui-library-showcase.d.ts +3 -3
- package/dist/hero-video-background-dark.d.cts +3 -3
- package/dist/hero-video-background-dark.d.ts +3 -3
- package/dist/hero-video-dialog-gradient.d.cts +3 -3
- package/dist/hero-video-dialog-gradient.d.ts +3 -3
- package/dist/hero-video-overlay-stars.d.cts +3 -3
- package/dist/hero-video-overlay-stars.d.ts +3 -3
- package/dist/hero-welcome-asymmetric-images.d.cts +3 -3
- package/dist/hero-welcome-asymmetric-images.d.ts +3 -3
- package/dist/image-slider.d.cts +2 -2
- package/dist/image-slider.d.ts +2 -2
- package/dist/index.cjs +35 -374
- package/dist/index.d.cts +4 -97
- package/dist/index.d.ts +4 -97
- package/dist/index.js +4 -366
- package/dist/industries-badge-list-bordered.d.cts +3 -3
- package/dist/industries-badge-list-bordered.d.ts +3 -3
- package/dist/industries-expandable-showcase.d.cts +3 -3
- package/dist/industries-expandable-showcase.d.ts +3 -3
- package/dist/industries-hover-reveal-grid.d.cts +3 -3
- package/dist/industries-hover-reveal-grid.d.ts +3 -3
- package/dist/industries-timeline-table.d.cts +3 -3
- package/dist/industries-timeline-table.d.ts +3 -3
- package/dist/interior-carousel.d.cts +3 -3
- package/dist/interior-carousel.d.ts +3 -3
- package/dist/link-page-bento-layout.d.cts +3 -3
- package/dist/link-page-bento-layout.d.ts +3 -3
- package/dist/link-page-grid-cards.d.cts +3 -3
- package/dist/link-page-grid-cards.d.ts +3 -3
- package/dist/link-page-minimal-profile.d.cts +3 -3
- package/dist/link-page-minimal-profile.d.ts +3 -3
- package/dist/link-page-newsletter-social.cjs +3 -122
- package/dist/link-page-newsletter-social.d.cts +4 -5
- package/dist/link-page-newsletter-social.d.ts +4 -5
- package/dist/link-page-newsletter-social.js +1 -120
- package/dist/link-tree-block.d.cts +3 -3
- package/dist/link-tree-block.d.ts +3 -3
- package/dist/list-achievements-showcase.d.cts +3 -3
- package/dist/list-achievements-showcase.d.ts +3 -3
- package/dist/list-career-timeline.d.cts +3 -3
- package/dist/list-career-timeline.d.ts +3 -3
- package/dist/list-feature-comparison.d.cts +3 -3
- package/dist/list-feature-comparison.d.ts +3 -3
- package/dist/list-metrics-dashboard.d.cts +3 -3
- package/dist/list-metrics-dashboard.d.ts +3 -3
- package/dist/list-searchable-grid.d.cts +3 -3
- package/dist/list-searchable-grid.d.ts +3 -3
- package/dist/list-service-category-table.d.cts +3 -3
- package/dist/list-service-category-table.d.ts +3 -3
- package/dist/logos-carousel-heading.d.cts +3 -3
- package/dist/logos-carousel-heading.d.ts +3 -3
- package/dist/logos-centered-simple.d.cts +3 -3
- package/dist/logos-centered-simple.d.ts +3 -3
- package/dist/logos-certifications-grid.d.cts +3 -3
- package/dist/logos-certifications-grid.d.ts +3 -3
- package/dist/logos-double-carousel-pattern.d.cts +3 -3
- package/dist/logos-double-carousel-pattern.d.ts +3 -3
- package/dist/logos-inline-tagline.d.cts +3 -3
- package/dist/logos-inline-tagline.d.ts +3 -3
- package/dist/logos-marquee-muted.d.cts +3 -3
- package/dist/logos-marquee-muted.d.ts +3 -3
- package/dist/logos-minimal-carousel.d.cts +3 -3
- package/dist/logos-minimal-carousel.d.ts +3 -3
- package/dist/logos-numbered-carousel.d.cts +3 -3
- package/dist/logos-numbered-carousel.d.ts +3 -3
- package/dist/logos-partner-grid-sidebar.d.cts +3 -3
- package/dist/logos-partner-grid-sidebar.d.ts +3 -3
- package/dist/logos-partner-network.d.cts +3 -3
- package/dist/logos-partner-network.d.ts +3 -3
- package/dist/logos-two-row-grid.d.cts +3 -3
- package/dist/logos-two-row-grid.d.ts +3 -3
- package/dist/masonry-motion-grid.d.cts +3 -3
- package/dist/masonry-motion-grid.d.ts +3 -3
- package/dist/media-hover-ctas.d.cts +3 -3
- package/dist/media-hover-ctas.d.ts +3 -3
- package/dist/navbar-animated-preview.d.cts +3 -3
- package/dist/navbar-animated-preview.d.ts +3 -3
- package/dist/navbar-centered-menu.d.cts +3 -3
- package/dist/navbar-centered-menu.d.ts +3 -3
- package/dist/navbar-dark-icons.d.cts +3 -3
- package/dist/navbar-dark-icons.d.ts +3 -3
- package/dist/navbar-dropdown-menu.d.cts +3 -3
- package/dist/navbar-dropdown-menu.d.ts +3 -3
- package/dist/navbar-education-platform.d.cts +3 -3
- package/dist/navbar-education-platform.d.ts +3 -3
- package/dist/navbar-enterprise-mega.d.cts +3 -3
- package/dist/navbar-enterprise-mega.d.ts +3 -3
- package/dist/navbar-feature-grid.d.cts +3 -3
- package/dist/navbar-feature-grid.d.ts +3 -3
- package/dist/navbar-floating-pill.d.cts +3 -3
- package/dist/navbar-floating-pill.d.ts +3 -3
- package/dist/navbar-fullscreen-menu.d.cts +3 -3
- package/dist/navbar-fullscreen-menu.d.ts +3 -3
- package/dist/navbar-icon-links.d.cts +3 -3
- package/dist/navbar-icon-links.d.ts +3 -3
- package/dist/navbar-image-preview.d.cts +3 -3
- package/dist/navbar-image-preview.d.ts +3 -3
- package/dist/navbar-mega-menu.d.cts +3 -3
- package/dist/navbar-mega-menu.d.ts +3 -3
- package/dist/navbar-multi-column-groups.d.cts +3 -3
- package/dist/navbar-multi-column-groups.d.ts +3 -3
- package/dist/navbar-platform-resources.d.cts +3 -3
- package/dist/navbar-platform-resources.d.ts +3 -3
- package/dist/navbar-search-focused.d.cts +3 -3
- package/dist/navbar-search-focused.d.ts +3 -3
- package/dist/navbar-sidebar-mobile.d.cts +3 -3
- package/dist/navbar-sidebar-mobile.d.ts +3 -3
- package/dist/navbar-simple-links.d.cts +3 -3
- package/dist/navbar-simple-links.d.ts +3 -3
- package/dist/navbar-split-cta.d.cts +3 -3
- package/dist/navbar-split-cta.d.ts +3 -3
- package/dist/navbar-sticky-compact.d.cts +3 -3
- package/dist/navbar-sticky-compact.d.ts +3 -3
- package/dist/navbar-tabbed-sections.d.cts +3 -3
- package/dist/navbar-tabbed-sections.d.ts +3 -3
- package/dist/navbar-transparent-overlay.d.cts +3 -3
- package/dist/navbar-transparent-overlay.d.ts +3 -3
- package/dist/offer-modal-membership-image.cjs +3 -122
- package/dist/offer-modal-membership-image.d.cts +4 -5
- package/dist/offer-modal-membership-image.d.ts +4 -5
- package/dist/offer-modal-membership-image.js +1 -120
- package/dist/offer-modal-newsletter-discount.cjs +3 -122
- package/dist/offer-modal-newsletter-discount.d.cts +4 -5
- package/dist/offer-modal-newsletter-discount.d.ts +4 -5
- package/dist/offer-modal-newsletter-discount.js +1 -120
- package/dist/offer-modal-sheet-newsletter.cjs +3 -122
- package/dist/offer-modal-sheet-newsletter.d.cts +4 -5
- package/dist/offer-modal-sheet-newsletter.d.ts +4 -5
- package/dist/offer-modal-sheet-newsletter.js +1 -120
- package/dist/page-hero-banner.d.cts +3 -3
- package/dist/page-hero-banner.d.ts +3 -3
- package/dist/pressable.d.cts +1 -1
- package/dist/pressable.d.ts +1 -1
- package/dist/pricing-addons-cards.d.cts +3 -3
- package/dist/pricing-addons-cards.d.ts +3 -3
- package/dist/pricing-addons-featured.d.cts +3 -3
- package/dist/pricing-addons-featured.d.ts +3 -3
- package/dist/pricing-collapsible-plans.d.cts +3 -3
- package/dist/pricing-collapsible-plans.d.ts +3 -3
- package/dist/pricing-columns-toggle.d.cts +3 -3
- package/dist/pricing-columns-toggle.d.ts +3 -3
- package/dist/pricing-comparison-headers.d.cts +3 -3
- package/dist/pricing-comparison-headers.d.ts +3 -3
- package/dist/pricing-comparison-table.d.cts +3 -3
- package/dist/pricing-comparison-table.d.ts +3 -3
- package/dist/pricing-discount-card.d.cts +3 -3
- package/dist/pricing-discount-card.d.ts +3 -3
- package/dist/pricing-enterprise-contact.d.cts +3 -3
- package/dist/pricing-enterprise-contact.d.ts +3 -3
- package/dist/pricing-feature-matrix.d.cts +3 -3
- package/dist/pricing-feature-matrix.d.ts +3 -3
- package/dist/pricing-four-tier-toggle.d.cts +3 -3
- package/dist/pricing-four-tier-toggle.d.ts +3 -3
- package/dist/pricing-full-comparison.d.cts +3 -3
- package/dist/pricing-full-comparison.d.ts +3 -3
- package/dist/pricing-gradient-cards.d.cts +3 -3
- package/dist/pricing-gradient-cards.d.ts +3 -3
- package/dist/pricing-icon-headers.d.cts +3 -3
- package/dist/pricing-icon-headers.d.ts +3 -3
- package/dist/pricing-minimal-cards.d.cts +3 -3
- package/dist/pricing-minimal-cards.d.ts +3 -3
- package/dist/pricing-packages-radio.d.cts +3 -3
- package/dist/pricing-packages-radio.d.ts +3 -3
- package/dist/pricing-popular-highlight.d.cts +3 -3
- package/dist/pricing-popular-highlight.d.ts +3 -3
- package/dist/pricing-radio-toggle.d.cts +3 -3
- package/dist/pricing-radio-toggle.d.ts +3 -3
- package/dist/pricing-responsive-table.d.cts +3 -3
- package/dist/pricing-responsive-table.d.ts +3 -3
- package/dist/pricing-services-cards.d.cts +3 -3
- package/dist/pricing-services-cards.d.ts +3 -3
- package/dist/pricing-simple-card.d.cts +3 -3
- package/dist/pricing-simple-card.d.ts +3 -3
- package/dist/pricing-single-card.d.cts +3 -3
- package/dist/pricing-single-card.d.ts +3 -3
- package/dist/pricing-split-layout.d.cts +3 -3
- package/dist/pricing-split-layout.d.ts +3 -3
- package/dist/pricing-spotlight-card.d.cts +3 -3
- package/dist/pricing-spotlight-card.d.ts +3 -3
- package/dist/pricing-switch-cards.d.cts +3 -3
- package/dist/pricing-switch-cards.d.ts +3 -3
- package/dist/pricing-tabs-toggle.d.cts +3 -3
- package/dist/pricing-tabs-toggle.d.ts +3 -3
- package/dist/pricing-tier-grid.d.cts +3 -3
- package/dist/pricing-tier-grid.d.ts +3 -3
- package/dist/pricing-toggle-cards.d.cts +3 -3
- package/dist/pricing-toggle-cards.d.ts +3 -3
- package/dist/pricing-toggle-period.d.cts +3 -3
- package/dist/pricing-toggle-period.d.ts +3 -3
- package/dist/pricing-two-column-basic.d.cts +3 -3
- package/dist/pricing-two-column-basic.d.ts +3 -3
- package/dist/process-expandable-timeline.d.cts +3 -3
- package/dist/process-expandable-timeline.d.ts +3 -3
- package/dist/process-hover-cards.d.cts +3 -3
- package/dist/process-hover-cards.d.ts +3 -3
- package/dist/process-icon-timeline.d.cts +3 -3
- package/dist/process-icon-timeline.d.ts +3 -3
- package/dist/process-mission-principles.d.cts +3 -3
- package/dist/process-mission-principles.d.ts +3 -3
- package/dist/process-numbered-services.d.cts +3 -3
- package/dist/process-numbered-services.d.ts +3 -3
- package/dist/process-roadmap-timeline.d.cts +3 -3
- package/dist/process-roadmap-timeline.d.ts +3 -3
- package/dist/process-scroll-image.d.cts +3 -3
- package/dist/process-scroll-image.d.ts +3 -3
- package/dist/process-steps-grid.d.cts +3 -3
- package/dist/process-steps-grid.d.ts +3 -3
- package/dist/process-sticky-steps.d.cts +3 -3
- package/dist/process-sticky-steps.d.ts +3 -3
- package/dist/project-alternating-motion.d.cts +3 -3
- package/dist/project-alternating-motion.d.ts +3 -3
- package/dist/project-background-reveal.d.cts +3 -3
- package/dist/project-background-reveal.d.ts +3 -3
- package/dist/project-card-overlay.d.cts +3 -3
- package/dist/project-card-overlay.d.ts +3 -3
- package/dist/project-carousel-cinematic.d.cts +3 -3
- package/dist/project-carousel-cinematic.d.ts +3 -3
- package/dist/project-carousel-detail-cards.d.cts +3 -3
- package/dist/project-carousel-detail-cards.d.ts +3 -3
- package/dist/project-carousel-minimal.d.cts +3 -3
- package/dist/project-carousel-minimal.d.ts +3 -3
- package/dist/project-detail-architecture-carousel.d.cts +3 -3
- package/dist/project-detail-architecture-carousel.d.ts +3 -3
- package/dist/project-detail-card-header.d.cts +3 -3
- package/dist/project-detail-card-header.d.ts +3 -3
- package/dist/project-detail-case-study-prose.d.cts +3 -3
- package/dist/project-detail-case-study-prose.d.ts +3 -3
- package/dist/project-detail-compact-metadata.d.cts +3 -3
- package/dist/project-detail-compact-metadata.d.ts +3 -3
- package/dist/project-detail-exhibition-sidebar.d.cts +3 -3
- package/dist/project-detail-exhibition-sidebar.d.ts +3 -3
- package/dist/project-detail-fashion-editorial.d.cts +3 -3
- package/dist/project-detail-fashion-editorial.d.ts +3 -3
- package/dist/project-detail-fullscreen-hero.d.cts +3 -3
- package/dist/project-detail-fullscreen-hero.d.ts +3 -3
- package/dist/project-detail-grid-gallery.d.cts +3 -3
- package/dist/project-detail-grid-gallery.d.ts +3 -3
- package/dist/project-detail-hero-metadata.d.cts +3 -3
- package/dist/project-detail-hero-metadata.d.ts +3 -3
- package/dist/project-detail-hover-gallery.d.cts +3 -3
- package/dist/project-detail-hover-gallery.d.ts +3 -3
- package/dist/project-detail-large-hero-featured.d.cts +3 -3
- package/dist/project-detail-large-hero-featured.d.ts +3 -3
- package/dist/project-detail-list-related.d.cts +3 -3
- package/dist/project-detail-list-related.d.ts +3 -3
- package/dist/project-detail-mask-reveal.d.cts +3 -3
- package/dist/project-detail-mask-reveal.d.ts +3 -3
- package/dist/project-detail-minimal-centered.d.cts +3 -3
- package/dist/project-detail-minimal-centered.d.ts +3 -3
- package/dist/project-detail-numbered-sections.d.cts +3 -3
- package/dist/project-detail-numbered-sections.d.ts +3 -3
- package/dist/project-detail-parallax-scroll.d.cts +3 -3
- package/dist/project-detail-parallax-scroll.d.ts +3 -3
- package/dist/project-detail-photography-breadcrumb.d.cts +3 -3
- package/dist/project-detail-photography-breadcrumb.d.ts +3 -3
- package/dist/project-detail-sculpture-showcase.d.cts +3 -3
- package/dist/project-detail-sculpture-showcase.d.ts +3 -3
- package/dist/project-detail-sidebar-navigation.d.cts +3 -3
- package/dist/project-detail-sidebar-navigation.d.ts +3 -3
- package/dist/project-detail-sidebar-sticky.d.cts +3 -3
- package/dist/project-detail-sidebar-sticky.d.ts +3 -3
- package/dist/project-detail-split-materials.d.cts +3 -3
- package/dist/project-detail-split-materials.d.ts +3 -3
- package/dist/project-detail-tabbed-case-study.d.cts +3 -3
- package/dist/project-detail-tabbed-case-study.d.ts +3 -3
- package/dist/project-experience-quote.d.cts +3 -3
- package/dist/project-experience-quote.d.ts +3 -3
- package/dist/project-featured-carousel.d.cts +3 -3
- package/dist/project-featured-carousel.d.ts +3 -3
- package/dist/project-filterable-gallery.d.cts +3 -3
- package/dist/project-filterable-gallery.d.ts +3 -3
- package/dist/project-filterable-three-column.d.cts +3 -3
- package/dist/project-filterable-three-column.d.ts +3 -3
- package/dist/project-grid-gallery.d.cts +3 -3
- package/dist/project-grid-gallery.d.ts +3 -3
- package/dist/project-grid-motion.d.cts +3 -3
- package/dist/project-grid-motion.d.ts +3 -3
- package/dist/project-horizontal-cards.d.cts +3 -3
- package/dist/project-horizontal-cards.d.ts +3 -3
- package/dist/project-hover-reveal-grid.d.cts +3 -3
- package/dist/project-hover-reveal-grid.d.ts +3 -3
- package/dist/project-interactive-hover-reveal.d.cts +3 -3
- package/dist/project-interactive-hover-reveal.d.ts +3 -3
- package/dist/project-masonry-columns.d.cts +3 -3
- package/dist/project-masonry-columns.d.ts +3 -3
- package/dist/project-nature-mosaic.d.cts +3 -3
- package/dist/project-nature-mosaic.d.ts +3 -3
- package/dist/project-scroll-reveal.d.cts +3 -3
- package/dist/project-scroll-reveal.d.ts +3 -3
- package/dist/project-showcase-alternating.d.cts +3 -3
- package/dist/project-showcase-alternating.d.ts +3 -3
- package/dist/project-sticky-scroll.d.cts +3 -3
- package/dist/project-sticky-scroll.d.ts +3 -3
- package/dist/project-studio-hover-preview.d.cts +3 -3
- package/dist/project-studio-hover-preview.d.ts +3 -3
- package/dist/project-table-list.d.cts +3 -3
- package/dist/project-table-list.d.ts +3 -3
- package/dist/project-video-carousel.d.cts +3 -3
- package/dist/project-video-carousel.d.ts +3 -3
- package/dist/project-video-hover-bento.d.cts +3 -3
- package/dist/project-video-hover-bento.d.ts +3 -3
- package/dist/project-video-hover-grid.d.cts +3 -3
- package/dist/project-video-hover-grid.d.ts +3 -3
- package/dist/project-video-hover-rounded.d.cts +3 -3
- package/dist/project-video-hover-rounded.d.ts +3 -3
- package/dist/project-video-hover-stack.d.cts +3 -3
- package/dist/project-video-hover-stack.d.ts +3 -3
- package/dist/project-video-hover-two-by-two.d.cts +3 -3
- package/dist/project-video-hover-two-by-two.d.ts +3 -3
- package/dist/project-work-showcase.d.cts +3 -3
- package/dist/project-work-showcase.d.ts +3 -3
- package/dist/project-zigzag-layout.d.cts +3 -3
- package/dist/project-zigzag-layout.d.ts +3 -3
- package/dist/registry.cjs +294 -980
- package/dist/registry.js +178 -864
- package/dist/resource-detail-article-hero.d.cts +3 -3
- package/dist/resource-detail-article-hero.d.ts +3 -3
- package/dist/resource-detail-document-sidebar.d.cts +3 -3
- package/dist/resource-detail-document-sidebar.d.ts +3 -3
- package/dist/resource-detail-whitepaper-sidebar.d.cts +3 -3
- package/dist/resource-detail-whitepaper-sidebar.d.ts +3 -3
- package/dist/resource-list-course-cards.d.cts +3 -3
- package/dist/resource-list-course-cards.d.ts +3 -3
- package/dist/resource-list-featured-articles.d.cts +3 -3
- package/dist/resource-list-featured-articles.d.ts +3 -3
- package/dist/resource-list-featured-grid.d.cts +3 -3
- package/dist/resource-list-featured-grid.d.ts +3 -3
- package/dist/resource-list-hero-filter.cjs +3 -122
- package/dist/resource-list-hero-filter.d.cts +3 -4
- package/dist/resource-list-hero-filter.d.ts +3 -4
- package/dist/resource-list-hero-filter.js +1 -120
- package/dist/resource-list-news-updates.d.cts +3 -3
- package/dist/resource-list-news-updates.d.ts +3 -3
- package/dist/section.d.cts +3 -3
- package/dist/section.d.ts +3 -3
- package/dist/service-detail-centered-expertise.d.cts +3 -3
- package/dist/service-detail-centered-expertise.d.ts +3 -3
- package/dist/service-detail-compact-cards.d.cts +3 -3
- package/dist/service-detail-compact-cards.d.ts +3 -3
- package/dist/service-detail-image-hero.d.cts +3 -3
- package/dist/service-detail-image-hero.d.ts +3 -3
- package/dist/service-detail-prose-minimal.d.cts +3 -3
- package/dist/service-detail-prose-minimal.d.ts +3 -3
- package/dist/service-detail-sidebar-related.d.cts +3 -3
- package/dist/service-detail-sidebar-related.d.ts +3 -3
- package/dist/service-detail-sidebar-stats.d.cts +3 -3
- package/dist/service-detail-sidebar-stats.d.ts +3 -3
- package/dist/service-detail-stats-hero.d.cts +3 -3
- package/dist/service-detail-stats-hero.d.ts +3 -3
- package/dist/service-hover-carousel.d.cts +3 -3
- package/dist/service-hover-carousel.d.ts +3 -3
- package/dist/services-list-accordion-benefits.d.cts +3 -3
- package/dist/services-list-accordion-benefits.d.ts +3 -3
- package/dist/services-list-accordion.d.cts +3 -3
- package/dist/services-list-accordion.d.ts +3 -3
- package/dist/services-list-cards-hover.d.cts +3 -3
- package/dist/services-list-cards-hover.d.ts +3 -3
- package/dist/services-list-category-accordion.d.cts +3 -3
- package/dist/services-list-category-accordion.d.ts +3 -3
- package/dist/services-list-centered-icons.d.cts +3 -3
- package/dist/services-list-centered-icons.d.ts +3 -3
- package/dist/services-list-culture-tabs.d.cts +3 -3
- package/dist/services-list-culture-tabs.d.ts +3 -3
- package/dist/services-list-expandable-cards.d.cts +3 -3
- package/dist/services-list-expandable-cards.d.ts +3 -3
- package/dist/services-list-feature-spotlight.d.cts +3 -3
- package/dist/services-list-feature-spotlight.d.ts +3 -3
- package/dist/services-list-featured-highlight.d.cts +3 -3
- package/dist/services-list-featured-highlight.d.ts +3 -3
- package/dist/services-list-hero-cards.d.cts +3 -3
- package/dist/services-list-hero-cards.d.ts +3 -3
- package/dist/services-list-icon-grid.d.cts +3 -3
- package/dist/services-list-icon-grid.d.ts +3 -3
- package/dist/services-list-image-cards.d.cts +3 -3
- package/dist/services-list-image-cards.d.ts +3 -3
- package/dist/services-list-image-overlay-grid.d.cts +3 -3
- package/dist/services-list-image-overlay-grid.d.ts +3 -3
- package/dist/services-list-masonry.d.cts +3 -3
- package/dist/services-list-masonry.d.ts +3 -3
- package/dist/services-list-methodology-steps.d.cts +3 -3
- package/dist/services-list-methodology-steps.d.ts +3 -3
- package/dist/services-list-minimal-grid.d.cts +3 -3
- package/dist/services-list-minimal-grid.d.ts +3 -3
- package/dist/services-list-muted-cards.d.cts +3 -3
- package/dist/services-list-muted-cards.d.ts +3 -3
- package/dist/services-list-numbered-steps.d.cts +3 -3
- package/dist/services-list-numbered-steps.d.ts +3 -3
- package/dist/services-list-pricing-grid.d.cts +3 -3
- package/dist/services-list-pricing-grid.d.ts +3 -3
- package/dist/services-list-progress-sidebar.d.cts +3 -3
- package/dist/services-list-progress-sidebar.d.ts +3 -3
- package/dist/services-list-split-checklist.d.cts +3 -3
- package/dist/services-list-split-checklist.d.ts +3 -3
- package/dist/services-list-sticky-image.d.cts +3 -3
- package/dist/services-list-sticky-image.d.ts +3 -3
- package/dist/services-list-table-hover.d.cts +3 -3
- package/dist/services-list-table-hover.d.ts +3 -3
- package/dist/services-list-tabs-features.d.cts +3 -3
- package/dist/services-list-tabs-features.d.ts +3 -3
- package/dist/services-list-timeline.d.cts +3 -3
- package/dist/services-list-timeline.d.ts +3 -3
- package/dist/services-list-two-column-grid.d.cts +3 -3
- package/dist/services-list-two-column-grid.d.ts +3 -3
- package/dist/services-list-vertical-tags.d.cts +3 -3
- package/dist/services-list-vertical-tags.d.ts +3 -3
- package/dist/services-list-video-showcase.d.cts +3 -3
- package/dist/services-list-video-showcase.d.ts +3 -3
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/dist/stats-animated-counter.d.cts +3 -3
- package/dist/stats-animated-counter.d.ts +3 -3
- package/dist/stats-bar-comparison.d.cts +3 -3
- package/dist/stats-bar-comparison.d.ts +3 -3
- package/dist/stats-card-group.d.cts +3 -3
- package/dist/stats-card-group.d.ts +3 -3
- package/dist/stats-circular-progress.d.cts +3 -3
- package/dist/stats-circular-progress.d.ts +3 -3
- package/dist/stats-growth-timeline.d.cts +3 -3
- package/dist/stats-growth-timeline.d.ts +3 -3
- package/dist/stats-icon-cards.d.cts +3 -3
- package/dist/stats-icon-cards.d.ts +3 -3
- package/dist/stats-impact-grid.d.cts +3 -3
- package/dist/stats-impact-grid.d.ts +3 -3
- package/dist/stats-milestone-sidebar.d.cts +3 -3
- package/dist/stats-milestone-sidebar.d.ts +3 -3
- package/dist/stats-number-ticker.d.cts +3 -3
- package/dist/stats-number-ticker.d.ts +3 -3
- package/dist/stats-primary-secondary.d.cts +3 -3
- package/dist/stats-primary-secondary.d.ts +3 -3
- package/dist/stats-simple-grid.d.cts +3 -3
- package/dist/stats-simple-grid.d.ts +3 -3
- package/dist/stats-timeline-tabs.d.cts +3 -3
- package/dist/stats-timeline-tabs.d.ts +3 -3
- package/dist/team-alternating-bios.d.cts +3 -3
- package/dist/team-alternating-bios.d.ts +3 -3
- package/dist/team-avatar-social.d.cts +3 -3
- package/dist/team-avatar-social.d.ts +3 -3
- package/dist/team-bio-badges.d.cts +3 -3
- package/dist/team-bio-badges.d.ts +3 -3
- package/dist/team-carousel-experience.d.cts +3 -3
- package/dist/team-carousel-experience.d.ts +3 -3
- package/dist/team-compact-cta.d.cts +3 -3
- package/dist/team-compact-cta.d.ts +3 -3
- package/dist/team-compact-grid.d.cts +3 -3
- package/dist/team-compact-grid.d.ts +3 -3
- package/dist/team-contact-cards.d.cts +3 -3
- package/dist/team-contact-cards.d.ts +3 -3
- package/dist/team-department-sections.d.cts +3 -3
- package/dist/team-department-sections.d.ts +3 -3
- package/dist/team-expertise-cards.d.cts +3 -3
- package/dist/team-expertise-cards.d.ts +3 -3
- package/dist/team-filterable-search.d.cts +3 -3
- package/dist/team-filterable-search.d.ts +3 -3
- package/dist/team-gradient-cards.d.cts +3 -3
- package/dist/team-gradient-cards.d.ts +3 -3
- package/dist/team-grid-animated.d.cts +3 -3
- package/dist/team-grid-animated.d.ts +3 -3
- package/dist/team-hover-highlight.d.cts +3 -3
- package/dist/team-hover-highlight.d.ts +3 -3
- package/dist/team-hover-overlay.d.cts +3 -3
- package/dist/team-hover-overlay.d.ts +3 -3
- package/dist/team-investor-showcase.d.cts +3 -3
- package/dist/team-investor-showcase.d.ts +3 -3
- package/dist/team-large-images.d.cts +3 -3
- package/dist/team-large-images.d.ts +3 -3
- package/dist/team-media-showcase.d.cts +3 -3
- package/dist/team-media-showcase.d.ts +3 -3
- package/dist/team-role-filter.d.cts +3 -3
- package/dist/team-role-filter.d.ts +3 -3
- package/dist/team-simple-grid.d.cts +3 -3
- package/dist/team-simple-grid.d.ts +3 -3
- package/dist/team-skill-badges.d.cts +3 -3
- package/dist/team-skill-badges.d.ts +3 -3
- package/dist/team-social-cards.d.cts +3 -3
- package/dist/team-social-cards.d.ts +3 -3
- package/dist/team-social-grid.d.cts +3 -3
- package/dist/team-social-grid.d.ts +3 -3
- package/dist/team-testimonial-stats.d.cts +3 -3
- package/dist/team-testimonial-stats.d.ts +3 -3
- package/dist/testimonial-carousel-cards.d.cts +3 -3
- package/dist/testimonial-carousel-cards.d.ts +3 -3
- package/dist/testimonials-animated-split.d.cts +3 -3
- package/dist/testimonials-animated-split.d.ts +3 -3
- package/dist/testimonials-bento-grid.d.cts +3 -3
- package/dist/testimonials-bento-grid.d.ts +3 -3
- package/dist/testimonials-carousel-image.d.cts +3 -3
- package/dist/testimonials-carousel-image.d.ts +3 -3
- package/dist/testimonials-centered-avatars.d.cts +3 -3
- package/dist/testimonials-centered-avatars.d.ts +3 -3
- package/dist/testimonials-company-logo.d.cts +3 -3
- package/dist/testimonials-company-logo.d.ts +3 -3
- package/dist/testimonials-grid-add-review.d.cts +3 -3
- package/dist/testimonials-grid-add-review.d.ts +3 -3
- package/dist/testimonials-images-helpful.d.cts +3 -3
- package/dist/testimonials-images-helpful.d.ts +3 -3
- package/dist/testimonials-large-quote.d.cts +3 -3
- package/dist/testimonials-large-quote.d.ts +3 -3
- package/dist/testimonials-list-verified.d.cts +3 -3
- package/dist/testimonials-list-verified.d.ts +3 -3
- package/dist/testimonials-logo-cards.d.cts +3 -3
- package/dist/testimonials-logo-cards.d.ts +3 -3
- package/dist/testimonials-marquee.d.cts +3 -3
- package/dist/testimonials-marquee.d.ts +3 -3
- package/dist/testimonials-masonry-grid.d.cts +3 -3
- package/dist/testimonials-masonry-grid.d.ts +3 -3
- package/dist/testimonials-mini-dividers.d.cts +3 -3
- package/dist/testimonials-mini-dividers.d.ts +3 -3
- package/dist/testimonials-minimal-numbered.d.cts +3 -3
- package/dist/testimonials-minimal-numbered.d.ts +3 -3
- package/dist/testimonials-parallax-number.d.cts +3 -3
- package/dist/testimonials-parallax-number.d.ts +3 -3
- package/dist/testimonials-quote-carousel.d.cts +3 -3
- package/dist/testimonials-quote-carousel.d.ts +3 -3
- package/dist/testimonials-scrolling-columns.d.cts +3 -3
- package/dist/testimonials-scrolling-columns.d.ts +3 -3
- package/dist/testimonials-simple-grid.d.cts +3 -3
- package/dist/testimonials-simple-grid.d.ts +3 -3
- package/dist/testimonials-slider-minimal.d.cts +3 -3
- package/dist/testimonials-slider-minimal.d.ts +3 -3
- package/dist/testimonials-split-image.d.cts +3 -3
- package/dist/testimonials-split-image.d.ts +3 -3
- package/dist/testimonials-stats-header.d.cts +3 -3
- package/dist/testimonials-stats-header.d.ts +3 -3
- package/dist/testimonials-twitter-cards.d.cts +3 -3
- package/dist/testimonials-twitter-cards.d.ts +3 -3
- package/dist/testimonials-wall-compact.d.cts +3 -3
- package/dist/testimonials-wall-compact.d.ts +3 -3
- package/dist/timeline-ai-workflow-cards.d.cts +3 -3
- package/dist/timeline-ai-workflow-cards.d.ts +3 -3
- package/dist/timeline-alternating-diagonal.d.cts +3 -3
- package/dist/timeline-alternating-diagonal.d.ts +3 -3
- package/dist/timeline-changelog-badges.d.cts +3 -3
- package/dist/timeline-changelog-badges.d.ts +3 -3
- package/dist/timeline-history-prose.d.cts +3 -3
- package/dist/timeline-history-prose.d.ts +3 -3
- package/dist/timeline-horizontal-icons.d.cts +3 -3
- package/dist/timeline-horizontal-icons.d.ts +3 -3
- package/dist/timeline-horizontal-phases.d.cts +3 -3
- package/dist/timeline-horizontal-phases.d.ts +3 -3
- package/dist/timeline-product-launch.d.cts +3 -3
- package/dist/timeline-product-launch.d.ts +3 -3
- package/dist/timeline-productivity-list.d.cts +3 -3
- package/dist/timeline-productivity-list.d.ts +3 -3
- package/dist/timeline-scroll-highlight.d.cts +3 -3
- package/dist/timeline-scroll-highlight.d.ts +3 -3
- package/dist/timeline-scroll-sticky-image.d.cts +3 -3
- package/dist/timeline-scroll-sticky-image.d.ts +3 -3
- package/dist/timeline-stepper-animated.d.cts +3 -3
- package/dist/timeline-stepper-animated.d.ts +3 -3
- package/dist/timeline-tabbed-phases.d.cts +3 -3
- package/dist/timeline-tabbed-phases.d.ts +3 -3
- package/dist/timeline-two-column-featured.d.cts +3 -3
- package/dist/timeline-two-column-featured.d.ts +3 -3
- package/dist/timeline-vertical-icon-dashed.d.cts +3 -3
- package/dist/timeline-vertical-icon-dashed.d.ts +3 -3
- package/dist/types.d.cts +3 -3
- package/dist/types.d.ts +3 -3
- package/dist/utils.d.cts +3 -3
- package/dist/utils.d.ts +3 -3
- package/package.json +2 -2
- package/dist/form-field-types-BTyCq8Hy.d.cts +0 -111
- package/dist/form-field-types-BTyCq8Hy.d.ts +0 -111
- package/dist/forms-CStlFhnh.d.cts +0 -110
- package/dist/forms-CStlFhnh.d.ts +0 -110
package/dist/registry.cjs
CHANGED
|
@@ -1342,7 +1342,6 @@ var Pressable = React56__namespace.forwardRef(
|
|
|
1342
1342
|
rel,
|
|
1343
1343
|
linkType,
|
|
1344
1344
|
isInternal,
|
|
1345
|
-
isExternal,
|
|
1346
1345
|
handleClick
|
|
1347
1346
|
} = navigation;
|
|
1348
1347
|
const shouldRenderLink = normalizedHref && linkType !== "none";
|
|
@@ -6269,369 +6268,6 @@ function FooterAnimatedSocial({
|
|
|
6269
6268
|
}
|
|
6270
6269
|
var TextInput = inputs.TextInput;
|
|
6271
6270
|
var TextArea = inputs.TextArea;
|
|
6272
|
-
function useFileUpload(options) {
|
|
6273
|
-
const [uploadTokens, setUploadTokens] = React56.useState([]);
|
|
6274
|
-
const [uploadProgress, setUploadProgress] = React56.useState({});
|
|
6275
|
-
const [isUploading, setIsUploading] = React56.useState(false);
|
|
6276
|
-
const endpoint = options?.endpoint || "https://api.dashtrack.com/contacts/_/contact_form_uploads";
|
|
6277
|
-
const uploadFiles = React56.useCallback(
|
|
6278
|
-
async (files) => {
|
|
6279
|
-
if (files.length === 0) return;
|
|
6280
|
-
setIsUploading(true);
|
|
6281
|
-
try {
|
|
6282
|
-
const tokens = [];
|
|
6283
|
-
for (const file of files) {
|
|
6284
|
-
const formData = new FormData();
|
|
6285
|
-
formData.append("contact_form_upload[file_upload]", file);
|
|
6286
|
-
formData.append("contact_form_upload[title]", file.name);
|
|
6287
|
-
formData.append("contact_form_upload[file_name]", file.name);
|
|
6288
|
-
formData.append("contact_form_upload[file_size]", String(file.size));
|
|
6289
|
-
const response = await fetch(endpoint, {
|
|
6290
|
-
method: "POST",
|
|
6291
|
-
body: formData
|
|
6292
|
-
});
|
|
6293
|
-
if (!response.ok) {
|
|
6294
|
-
throw new Error(`Upload failed: ${response.statusText}`);
|
|
6295
|
-
}
|
|
6296
|
-
const data = await response.json();
|
|
6297
|
-
if (data.contact_form_upload?.token) {
|
|
6298
|
-
tokens.push(`upload_${data.contact_form_upload.token}`);
|
|
6299
|
-
}
|
|
6300
|
-
setUploadProgress((prev) => ({
|
|
6301
|
-
...prev,
|
|
6302
|
-
[file.name]: 100
|
|
6303
|
-
}));
|
|
6304
|
-
}
|
|
6305
|
-
setUploadTokens(tokens);
|
|
6306
|
-
} catch (error) {
|
|
6307
|
-
console.error("File upload error:", error);
|
|
6308
|
-
options?.onError?.(error);
|
|
6309
|
-
} finally {
|
|
6310
|
-
setIsUploading(false);
|
|
6311
|
-
}
|
|
6312
|
-
},
|
|
6313
|
-
[endpoint, options]
|
|
6314
|
-
);
|
|
6315
|
-
const removeFile = React56.useCallback((file, index) => {
|
|
6316
|
-
setUploadTokens((prev) => prev.filter((_, i) => i !== index));
|
|
6317
|
-
setUploadProgress((prev) => {
|
|
6318
|
-
const newProgress = { ...prev };
|
|
6319
|
-
delete newProgress[file.name];
|
|
6320
|
-
return newProgress;
|
|
6321
|
-
});
|
|
6322
|
-
}, []);
|
|
6323
|
-
const resetUpload = React56.useCallback(() => {
|
|
6324
|
-
setUploadTokens([]);
|
|
6325
|
-
setUploadProgress({});
|
|
6326
|
-
}, []);
|
|
6327
|
-
return {
|
|
6328
|
-
uploadTokens,
|
|
6329
|
-
uploadProgress,
|
|
6330
|
-
isUploading,
|
|
6331
|
-
uploadFiles,
|
|
6332
|
-
removeFile,
|
|
6333
|
-
resetUpload
|
|
6334
|
-
};
|
|
6335
|
-
}
|
|
6336
|
-
|
|
6337
|
-
// lib/form-field-types.ts
|
|
6338
|
-
function generateInitialValues(fields) {
|
|
6339
|
-
return fields.reduce(
|
|
6340
|
-
(acc, field) => {
|
|
6341
|
-
if (field.type === "checkbox") {
|
|
6342
|
-
acc[field.name] = false;
|
|
6343
|
-
} else if (field.type === "checkbox-group" || field.type === "multi-select") {
|
|
6344
|
-
acc[field.name] = [];
|
|
6345
|
-
} else if (field.type === "file") {
|
|
6346
|
-
acc[field.name] = [];
|
|
6347
|
-
} else if (field.type === "date-range") {
|
|
6348
|
-
acc[field.name] = { start: null, end: null };
|
|
6349
|
-
} else {
|
|
6350
|
-
acc[field.name] = "";
|
|
6351
|
-
}
|
|
6352
|
-
return acc;
|
|
6353
|
-
},
|
|
6354
|
-
{}
|
|
6355
|
-
);
|
|
6356
|
-
}
|
|
6357
|
-
function generateValidationSchema(fields) {
|
|
6358
|
-
return fields.reduce(
|
|
6359
|
-
(acc, field) => {
|
|
6360
|
-
acc[field.name] = (value, allValues) => {
|
|
6361
|
-
if (field.required) {
|
|
6362
|
-
if (!value || typeof value === "string" && !value.trim()) {
|
|
6363
|
-
return `${field.label} is required`;
|
|
6364
|
-
}
|
|
6365
|
-
}
|
|
6366
|
-
if (field.type === "email" && value) {
|
|
6367
|
-
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value)) {
|
|
6368
|
-
return "Please enter a valid email address";
|
|
6369
|
-
}
|
|
6370
|
-
}
|
|
6371
|
-
if (field.type === "url" && value) {
|
|
6372
|
-
try {
|
|
6373
|
-
new URL(value);
|
|
6374
|
-
} catch {
|
|
6375
|
-
return "Please enter a valid URL";
|
|
6376
|
-
}
|
|
6377
|
-
}
|
|
6378
|
-
if (field.validator) {
|
|
6379
|
-
return field.validator(value, allValues);
|
|
6380
|
-
}
|
|
6381
|
-
return void 0;
|
|
6382
|
-
};
|
|
6383
|
-
return acc;
|
|
6384
|
-
},
|
|
6385
|
-
{}
|
|
6386
|
-
);
|
|
6387
|
-
}
|
|
6388
|
-
var columnSpanClasses = {
|
|
6389
|
-
1: "col-span-12 md:col-span-1",
|
|
6390
|
-
2: "col-span-12 md:col-span-2",
|
|
6391
|
-
3: "col-span-12 md:col-span-3",
|
|
6392
|
-
4: "col-span-12 md:col-span-4",
|
|
6393
|
-
5: "col-span-12 md:col-span-5",
|
|
6394
|
-
6: "col-span-12 md:col-span-6",
|
|
6395
|
-
7: "col-span-12 md:col-span-7",
|
|
6396
|
-
8: "col-span-12 md:col-span-8",
|
|
6397
|
-
9: "col-span-12 md:col-span-9",
|
|
6398
|
-
10: "col-span-12 md:col-span-10",
|
|
6399
|
-
11: "col-span-12 md:col-span-11",
|
|
6400
|
-
12: "col-span-12"
|
|
6401
|
-
};
|
|
6402
|
-
function getColumnSpanClass(span) {
|
|
6403
|
-
if (!span || span === 12) return "col-span-12";
|
|
6404
|
-
const clamped = Math.max(1, Math.min(span, 12));
|
|
6405
|
-
return columnSpanClasses[clamped] || "col-span-12";
|
|
6406
|
-
}
|
|
6407
|
-
|
|
6408
|
-
// lib/forms/use-contact-form.ts
|
|
6409
|
-
function useContactForm(options) {
|
|
6410
|
-
const {
|
|
6411
|
-
formFields,
|
|
6412
|
-
formConfig,
|
|
6413
|
-
onSubmit,
|
|
6414
|
-
onSuccess,
|
|
6415
|
-
onError,
|
|
6416
|
-
resetOnSuccess = true,
|
|
6417
|
-
uploadTokens = []
|
|
6418
|
-
} = options;
|
|
6419
|
-
const [submissionError, setSubmissionError] = React56.useState(null);
|
|
6420
|
-
const submissionConfig = formConfig?.submissionConfig;
|
|
6421
|
-
const redirectUrl = submissionConfig?.redirectUrl;
|
|
6422
|
-
const redirectNavigation = useNavigation({ href: redirectUrl });
|
|
6423
|
-
const resetSubmissionState = React56.useCallback(() => {
|
|
6424
|
-
setSubmissionError(null);
|
|
6425
|
-
}, []);
|
|
6426
|
-
const performRedirect = React56.useCallback(() => {
|
|
6427
|
-
if (!redirectUrl || typeof window === "undefined") {
|
|
6428
|
-
return;
|
|
6429
|
-
}
|
|
6430
|
-
const navigate = () => {
|
|
6431
|
-
if (redirectNavigation.shouldUseRouter && redirectNavigation.normalizedHref) {
|
|
6432
|
-
const handler = window.__opensiteNavigationHandler;
|
|
6433
|
-
if (typeof handler === "function") {
|
|
6434
|
-
try {
|
|
6435
|
-
const handled = handler(redirectNavigation.normalizedHref, void 0);
|
|
6436
|
-
if (handled !== false) {
|
|
6437
|
-
return;
|
|
6438
|
-
}
|
|
6439
|
-
} catch (error) {
|
|
6440
|
-
console.error("Internal redirect handler failed:", error);
|
|
6441
|
-
}
|
|
6442
|
-
}
|
|
6443
|
-
}
|
|
6444
|
-
const destination = redirectNavigation.normalizedHref || redirectUrl;
|
|
6445
|
-
window.location.assign(destination);
|
|
6446
|
-
};
|
|
6447
|
-
window.setTimeout(navigate, 150);
|
|
6448
|
-
}, [redirectNavigation, redirectUrl]);
|
|
6449
|
-
const form = forms.useForm({
|
|
6450
|
-
initialValues: React56.useMemo(
|
|
6451
|
-
() => generateInitialValues(formFields),
|
|
6452
|
-
[formFields]
|
|
6453
|
-
),
|
|
6454
|
-
validationSchema: React56.useMemo(
|
|
6455
|
-
() => generateValidationSchema(formFields),
|
|
6456
|
-
[formFields]
|
|
6457
|
-
),
|
|
6458
|
-
onSubmit: async (values, helpers) => {
|
|
6459
|
-
resetSubmissionState();
|
|
6460
|
-
const shouldAutoSubmit = Boolean(formConfig?.endpoint);
|
|
6461
|
-
if (!shouldAutoSubmit && !onSubmit) {
|
|
6462
|
-
return;
|
|
6463
|
-
}
|
|
6464
|
-
try {
|
|
6465
|
-
let result;
|
|
6466
|
-
const submissionValues = {
|
|
6467
|
-
...values,
|
|
6468
|
-
...uploadTokens.length > 0 && {
|
|
6469
|
-
contact_form_upload_tokens: uploadTokens
|
|
6470
|
-
}
|
|
6471
|
-
};
|
|
6472
|
-
if (shouldAutoSubmit) {
|
|
6473
|
-
result = await submitPageSpeedForm(submissionValues, formConfig);
|
|
6474
|
-
}
|
|
6475
|
-
if (onSubmit) {
|
|
6476
|
-
await onSubmit(submissionValues);
|
|
6477
|
-
}
|
|
6478
|
-
if (shouldAutoSubmit || onSubmit) {
|
|
6479
|
-
try {
|
|
6480
|
-
await submissionConfig?.handleFormSubmission?.({
|
|
6481
|
-
formData: submissionValues,
|
|
6482
|
-
responseData: result
|
|
6483
|
-
});
|
|
6484
|
-
} catch (callbackError) {
|
|
6485
|
-
console.error("handleFormSubmission callback failed:", callbackError);
|
|
6486
|
-
}
|
|
6487
|
-
if (resetOnSuccess) {
|
|
6488
|
-
helpers.resetForm();
|
|
6489
|
-
}
|
|
6490
|
-
onSuccess?.(result);
|
|
6491
|
-
if (submissionConfig?.behavior === "redirect" && submissionConfig.redirectUrl) {
|
|
6492
|
-
performRedirect();
|
|
6493
|
-
}
|
|
6494
|
-
}
|
|
6495
|
-
} catch (error) {
|
|
6496
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
6497
|
-
helpers.setErrors(error.formErrors);
|
|
6498
|
-
}
|
|
6499
|
-
const errorMessage = error instanceof Error ? error.message : "Form submission failed";
|
|
6500
|
-
setSubmissionError(errorMessage);
|
|
6501
|
-
onError?.(error);
|
|
6502
|
-
}
|
|
6503
|
-
}
|
|
6504
|
-
});
|
|
6505
|
-
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
6506
|
-
return {
|
|
6507
|
-
form,
|
|
6508
|
-
isSubmitted: form.status === "success",
|
|
6509
|
-
submissionError,
|
|
6510
|
-
formMethod,
|
|
6511
|
-
resetSubmissionState
|
|
6512
|
-
};
|
|
6513
|
-
}
|
|
6514
|
-
|
|
6515
|
-
// lib/forms.ts
|
|
6516
|
-
var PageSpeedFormSubmissionError = class extends Error {
|
|
6517
|
-
constructor(message, options = {}) {
|
|
6518
|
-
super(message);
|
|
6519
|
-
this.name = "PageSpeedFormSubmissionError";
|
|
6520
|
-
this.formErrors = options.formErrors;
|
|
6521
|
-
this.status = options.status;
|
|
6522
|
-
}
|
|
6523
|
-
};
|
|
6524
|
-
var EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
6525
|
-
function isValidEmail(value) {
|
|
6526
|
-
return EMAIL_REGEX.test(value);
|
|
6527
|
-
}
|
|
6528
|
-
function buildUrlWithParams(endpoint, values) {
|
|
6529
|
-
const base = typeof window === "undefined" ? "http://localhost" : window.location.origin;
|
|
6530
|
-
const url = new URL(endpoint, base);
|
|
6531
|
-
Object.entries(values).forEach(([key, value]) => {
|
|
6532
|
-
if (value === void 0 || value === null) {
|
|
6533
|
-
return;
|
|
6534
|
-
}
|
|
6535
|
-
if (Array.isArray(value)) {
|
|
6536
|
-
value.forEach((item) => {
|
|
6537
|
-
if (item !== void 0 && item !== null) {
|
|
6538
|
-
url.searchParams.append(key, String(item));
|
|
6539
|
-
}
|
|
6540
|
-
});
|
|
6541
|
-
return;
|
|
6542
|
-
}
|
|
6543
|
-
url.searchParams.set(key, String(value));
|
|
6544
|
-
});
|
|
6545
|
-
return url.toString();
|
|
6546
|
-
}
|
|
6547
|
-
function normalizeMethod(method) {
|
|
6548
|
-
return (method || "post").toUpperCase();
|
|
6549
|
-
}
|
|
6550
|
-
function resolveFormat(config) {
|
|
6551
|
-
if (config?.format) {
|
|
6552
|
-
return config.format;
|
|
6553
|
-
}
|
|
6554
|
-
return config?.apiKey ? "rails" : "json";
|
|
6555
|
-
}
|
|
6556
|
-
function mergeValues(values, config) {
|
|
6557
|
-
return {
|
|
6558
|
-
...config?.values ?? {},
|
|
6559
|
-
...values
|
|
6560
|
-
};
|
|
6561
|
-
}
|
|
6562
|
-
async function submitPageSpeedForm(values, config) {
|
|
6563
|
-
if (!config?.endpoint) {
|
|
6564
|
-
return null;
|
|
6565
|
-
}
|
|
6566
|
-
const payload = mergeValues(values, config);
|
|
6567
|
-
const method = normalizeMethod(config.method);
|
|
6568
|
-
const format2 = resolveFormat(config);
|
|
6569
|
-
const headers = { ...config.headers ?? {} };
|
|
6570
|
-
if (format2 === "rails") {
|
|
6571
|
-
if (!config.apiKey) {
|
|
6572
|
-
throw new PageSpeedFormSubmissionError(
|
|
6573
|
-
"Missing apiKey for Rails form submission."
|
|
6574
|
-
);
|
|
6575
|
-
}
|
|
6576
|
-
const railsConfig = {
|
|
6577
|
-
apiKey: config.apiKey,
|
|
6578
|
-
contactCategoryToken: config.contactCategoryToken,
|
|
6579
|
-
locationId: config.locationId,
|
|
6580
|
-
websiteId: config.websiteId,
|
|
6581
|
-
websiteFormAssignmentId: config.websiteFormAssignmentId,
|
|
6582
|
-
visitorIpAddress: config.visitorIpAddress
|
|
6583
|
-
};
|
|
6584
|
-
const serialized = integration.serializeForRails(payload, railsConfig);
|
|
6585
|
-
if (serialized.contact.contact_form_upload_tokens) {
|
|
6586
|
-
serialized.contact.contact_form_upload_tokens = serialized.contact.contact_form_upload_tokens.map((token) => token.replace(/^upload_/, ""));
|
|
6587
|
-
}
|
|
6588
|
-
headers["Content-Type"] ?? (headers["Content-Type"] = "application/json");
|
|
6589
|
-
const response2 = await fetch(config.endpoint, {
|
|
6590
|
-
method,
|
|
6591
|
-
headers,
|
|
6592
|
-
body: JSON.stringify(serialized)
|
|
6593
|
-
});
|
|
6594
|
-
const data2 = await response2.json().catch(() => null);
|
|
6595
|
-
if (!response2.ok || data2 && data2.errors) {
|
|
6596
|
-
const errorResponse = {
|
|
6597
|
-
errors: data2?.errors ?? { base: ["Form submission failed"] },
|
|
6598
|
-
status: data2?.status ?? response2.status
|
|
6599
|
-
};
|
|
6600
|
-
const formErrors = integration.deserializeErrors(errorResponse);
|
|
6601
|
-
throw new PageSpeedFormSubmissionError("Form submission failed.", {
|
|
6602
|
-
formErrors,
|
|
6603
|
-
status: errorResponse.status
|
|
6604
|
-
});
|
|
6605
|
-
}
|
|
6606
|
-
return data2;
|
|
6607
|
-
}
|
|
6608
|
-
if (method === "GET") {
|
|
6609
|
-
const url = buildUrlWithParams(config.endpoint, payload);
|
|
6610
|
-
const response2 = await fetch(url, { method, headers });
|
|
6611
|
-
const data2 = await response2.json().catch(() => null);
|
|
6612
|
-
if (!response2.ok) {
|
|
6613
|
-
throw new PageSpeedFormSubmissionError(
|
|
6614
|
-
data2?.message || "Form submission failed.",
|
|
6615
|
-
{ status: response2.status }
|
|
6616
|
-
);
|
|
6617
|
-
}
|
|
6618
|
-
return data2;
|
|
6619
|
-
}
|
|
6620
|
-
headers["Content-Type"] ?? (headers["Content-Type"] = "application/json");
|
|
6621
|
-
const response = await fetch(config.endpoint, {
|
|
6622
|
-
method,
|
|
6623
|
-
headers,
|
|
6624
|
-
body: JSON.stringify(payload)
|
|
6625
|
-
});
|
|
6626
|
-
const data = await response.json().catch(() => null);
|
|
6627
|
-
if (!response.ok) {
|
|
6628
|
-
throw new PageSpeedFormSubmissionError(
|
|
6629
|
-
data?.message || "Form submission failed.",
|
|
6630
|
-
{ status: response.status }
|
|
6631
|
-
);
|
|
6632
|
-
}
|
|
6633
|
-
return data;
|
|
6634
|
-
}
|
|
6635
6271
|
function FooterNewsletterMinimal({
|
|
6636
6272
|
heading,
|
|
6637
6273
|
supportLabel,
|
|
@@ -6723,7 +6359,7 @@ function FooterNewsletterMinimal({
|
|
|
6723
6359
|
validationSchema: {
|
|
6724
6360
|
email: (value) => {
|
|
6725
6361
|
if (!value) return "Email is required";
|
|
6726
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
6362
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
6727
6363
|
return void 0;
|
|
6728
6364
|
}
|
|
6729
6365
|
},
|
|
@@ -6735,7 +6371,7 @@ function FooterNewsletterMinimal({
|
|
|
6735
6371
|
try {
|
|
6736
6372
|
let result;
|
|
6737
6373
|
if (shouldAutoSubmit) {
|
|
6738
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
6374
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
6739
6375
|
}
|
|
6740
6376
|
if (onSubmit) {
|
|
6741
6377
|
await onSubmit(values.email);
|
|
@@ -6747,7 +6383,7 @@ function FooterNewsletterMinimal({
|
|
|
6747
6383
|
onSuccess?.(result);
|
|
6748
6384
|
}
|
|
6749
6385
|
} catch (error) {
|
|
6750
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
6386
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
6751
6387
|
helpers.setErrors(error.formErrors);
|
|
6752
6388
|
}
|
|
6753
6389
|
onError?.(error);
|
|
@@ -10920,7 +10556,7 @@ function CtaAppDownloadNewsletter({
|
|
|
10920
10556
|
validationSchema: {
|
|
10921
10557
|
email: (value) => {
|
|
10922
10558
|
if (!value) return "Email is required";
|
|
10923
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
10559
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
10924
10560
|
return void 0;
|
|
10925
10561
|
}
|
|
10926
10562
|
},
|
|
@@ -10932,7 +10568,7 @@ function CtaAppDownloadNewsletter({
|
|
|
10932
10568
|
try {
|
|
10933
10569
|
let result;
|
|
10934
10570
|
if (shouldAutoSubmit) {
|
|
10935
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
10571
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
10936
10572
|
}
|
|
10937
10573
|
if (onSubmit) {
|
|
10938
10574
|
await onSubmit(values.email);
|
|
@@ -10944,7 +10580,7 @@ function CtaAppDownloadNewsletter({
|
|
|
10944
10580
|
onSuccess?.(result);
|
|
10945
10581
|
}
|
|
10946
10582
|
} catch (error) {
|
|
10947
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
10583
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
10948
10584
|
helpers.setErrors(error.formErrors);
|
|
10949
10585
|
}
|
|
10950
10586
|
onError?.(error);
|
|
@@ -11146,7 +10782,7 @@ function CtaNewsletterFeatures({
|
|
|
11146
10782
|
validationSchema: {
|
|
11147
10783
|
email: (value) => {
|
|
11148
10784
|
if (!value) return "Email is required";
|
|
11149
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
10785
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
11150
10786
|
return void 0;
|
|
11151
10787
|
}
|
|
11152
10788
|
},
|
|
@@ -11158,7 +10794,7 @@ function CtaNewsletterFeatures({
|
|
|
11158
10794
|
try {
|
|
11159
10795
|
let result;
|
|
11160
10796
|
if (shouldAutoSubmit) {
|
|
11161
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
10797
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
11162
10798
|
}
|
|
11163
10799
|
if (onSubmit) {
|
|
11164
10800
|
await onSubmit(values.email);
|
|
@@ -11170,7 +10806,7 @@ function CtaNewsletterFeatures({
|
|
|
11170
10806
|
onSuccess?.(result);
|
|
11171
10807
|
}
|
|
11172
10808
|
} catch (error) {
|
|
11173
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
10809
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
11174
10810
|
helpers.setErrors(error.formErrors);
|
|
11175
10811
|
}
|
|
11176
10812
|
onError?.(error);
|
|
@@ -12893,208 +12529,6 @@ function ContactFloatingBanner({
|
|
|
12893
12529
|
}
|
|
12894
12530
|
);
|
|
12895
12531
|
}
|
|
12896
|
-
function DynamicFormField({
|
|
12897
|
-
field,
|
|
12898
|
-
className,
|
|
12899
|
-
uploadProgress = {},
|
|
12900
|
-
onFileUpload,
|
|
12901
|
-
onFileRemove,
|
|
12902
|
-
isUploading = false
|
|
12903
|
-
}) {
|
|
12904
|
-
const fieldId = field.name;
|
|
12905
|
-
const usesGroupLegend = field.type === "radio" || field.type === "checkbox-group";
|
|
12906
|
-
const usesInlineCheckboxLabel = field.type === "checkbox";
|
|
12907
|
-
const shouldRenderFieldLabel = !usesGroupLegend && !usesInlineCheckboxLabel;
|
|
12908
|
-
const checkboxLabel = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
12909
|
-
field.label,
|
|
12910
|
-
field.required ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive ml-1", children: "*" }) : null
|
|
12911
|
-
] });
|
|
12912
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12913
|
-
forms.Field,
|
|
12914
|
-
{
|
|
12915
|
-
name: field.name,
|
|
12916
|
-
label: shouldRenderFieldLabel ? field.label : void 0,
|
|
12917
|
-
description: shouldRenderFieldLabel ? field.description : void 0,
|
|
12918
|
-
required: field.required,
|
|
12919
|
-
className: cn("space-y-2", className),
|
|
12920
|
-
children: ({ field: formField, meta }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
12921
|
-
(field.type === "text" || field.type === "email" || field.type === "tel" || field.type === "search" || field.type === "password" || field.type === "url") && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12922
|
-
inputs.TextInput,
|
|
12923
|
-
{
|
|
12924
|
-
...formField,
|
|
12925
|
-
id: fieldId,
|
|
12926
|
-
type: field.type,
|
|
12927
|
-
placeholder: field.placeholder,
|
|
12928
|
-
error: meta.touched && !!meta.error,
|
|
12929
|
-
disabled: field.disabled,
|
|
12930
|
-
"aria-label": field.label
|
|
12931
|
-
}
|
|
12932
|
-
),
|
|
12933
|
-
field.type === "number" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12934
|
-
inputs.TextInput,
|
|
12935
|
-
{
|
|
12936
|
-
...formField,
|
|
12937
|
-
id: fieldId,
|
|
12938
|
-
type: "text",
|
|
12939
|
-
placeholder: field.placeholder,
|
|
12940
|
-
error: meta.touched && !!meta.error,
|
|
12941
|
-
disabled: field.disabled,
|
|
12942
|
-
"aria-label": field.label
|
|
12943
|
-
}
|
|
12944
|
-
),
|
|
12945
|
-
field.type === "textarea" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12946
|
-
inputs.TextArea,
|
|
12947
|
-
{
|
|
12948
|
-
...formField,
|
|
12949
|
-
id: fieldId,
|
|
12950
|
-
placeholder: field.placeholder,
|
|
12951
|
-
rows: field.rows || 4,
|
|
12952
|
-
error: meta.touched && !!meta.error,
|
|
12953
|
-
disabled: field.disabled,
|
|
12954
|
-
"aria-label": field.label
|
|
12955
|
-
}
|
|
12956
|
-
),
|
|
12957
|
-
field.type === "select" && field.options && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12958
|
-
inputs.Select,
|
|
12959
|
-
{
|
|
12960
|
-
...formField,
|
|
12961
|
-
id: fieldId,
|
|
12962
|
-
options: field.options,
|
|
12963
|
-
placeholder: field.placeholder || `Select ${field.label.toLowerCase()}`,
|
|
12964
|
-
error: meta.touched && !!meta.error,
|
|
12965
|
-
disabled: field.disabled,
|
|
12966
|
-
"aria-label": field.label
|
|
12967
|
-
}
|
|
12968
|
-
),
|
|
12969
|
-
field.type === "multi-select" && field.options && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12970
|
-
inputs.MultiSelect,
|
|
12971
|
-
{
|
|
12972
|
-
...formField,
|
|
12973
|
-
id: fieldId,
|
|
12974
|
-
options: field.options,
|
|
12975
|
-
placeholder: field.placeholder || `Select ${field.label.toLowerCase()}`,
|
|
12976
|
-
error: meta.touched && !!meta.error,
|
|
12977
|
-
disabled: field.disabled,
|
|
12978
|
-
"aria-label": field.label
|
|
12979
|
-
}
|
|
12980
|
-
),
|
|
12981
|
-
field.type === "radio" && field.options && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12982
|
-
inputs.Radio,
|
|
12983
|
-
{
|
|
12984
|
-
...formField,
|
|
12985
|
-
id: fieldId,
|
|
12986
|
-
options: field.options,
|
|
12987
|
-
label: field.label,
|
|
12988
|
-
description: field.description,
|
|
12989
|
-
required: field.required,
|
|
12990
|
-
disabled: field.disabled,
|
|
12991
|
-
layout: field.layout || "stacked",
|
|
12992
|
-
error: meta.touched && !!meta.error,
|
|
12993
|
-
"aria-label": field.label
|
|
12994
|
-
}
|
|
12995
|
-
),
|
|
12996
|
-
field.type === "checkbox" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
12997
|
-
inputs.Checkbox,
|
|
12998
|
-
{
|
|
12999
|
-
...formField,
|
|
13000
|
-
id: fieldId,
|
|
13001
|
-
value: formField.value === true || formField.value === "true",
|
|
13002
|
-
onChange: (checked) => formField.onChange(checked),
|
|
13003
|
-
label: checkboxLabel,
|
|
13004
|
-
description: field.description,
|
|
13005
|
-
disabled: field.disabled,
|
|
13006
|
-
required: field.required,
|
|
13007
|
-
error: meta.touched && !!meta.error,
|
|
13008
|
-
"aria-label": field.label
|
|
13009
|
-
}
|
|
13010
|
-
),
|
|
13011
|
-
field.type === "checkbox-group" && field.options && /* @__PURE__ */ jsxRuntime.jsx(
|
|
13012
|
-
inputs.CheckboxGroup,
|
|
13013
|
-
{
|
|
13014
|
-
...formField,
|
|
13015
|
-
id: fieldId,
|
|
13016
|
-
options: field.options,
|
|
13017
|
-
label: field.label,
|
|
13018
|
-
description: field.description,
|
|
13019
|
-
required: field.required,
|
|
13020
|
-
disabled: field.disabled,
|
|
13021
|
-
layout: field.layout || "stacked",
|
|
13022
|
-
error: meta.touched && !!meta.error,
|
|
13023
|
-
"aria-label": field.label
|
|
13024
|
-
}
|
|
13025
|
-
),
|
|
13026
|
-
(field.type === "date-picker" || field.type === "date") && /* @__PURE__ */ jsxRuntime.jsx(
|
|
13027
|
-
inputs.DatePicker,
|
|
13028
|
-
{
|
|
13029
|
-
...formField,
|
|
13030
|
-
id: fieldId,
|
|
13031
|
-
placeholder: field.placeholder,
|
|
13032
|
-
error: meta.touched && !!meta.error,
|
|
13033
|
-
disabled: field.disabled,
|
|
13034
|
-
"aria-label": field.label
|
|
13035
|
-
}
|
|
13036
|
-
),
|
|
13037
|
-
field.type === "date-range" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
13038
|
-
inputs.DateRangePicker,
|
|
13039
|
-
{
|
|
13040
|
-
...formField,
|
|
13041
|
-
id: fieldId,
|
|
13042
|
-
placeholder: field.placeholder,
|
|
13043
|
-
error: meta.touched && !!meta.error,
|
|
13044
|
-
disabled: field.disabled,
|
|
13045
|
-
"aria-label": field.label
|
|
13046
|
-
}
|
|
13047
|
-
),
|
|
13048
|
-
field.type === "time" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
13049
|
-
inputs.TimePicker,
|
|
13050
|
-
{
|
|
13051
|
-
...formField,
|
|
13052
|
-
id: fieldId,
|
|
13053
|
-
placeholder: field.placeholder,
|
|
13054
|
-
error: meta.touched && !!meta.error,
|
|
13055
|
-
disabled: field.disabled,
|
|
13056
|
-
"aria-label": field.label
|
|
13057
|
-
}
|
|
13058
|
-
),
|
|
13059
|
-
field.type === "file" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
13060
|
-
inputs.FileInput,
|
|
13061
|
-
{
|
|
13062
|
-
...formField,
|
|
13063
|
-
id: fieldId,
|
|
13064
|
-
accept: field.accept,
|
|
13065
|
-
maxSize: field.maxSize || 5 * 1024 * 1024,
|
|
13066
|
-
maxFiles: field.maxFiles || 1,
|
|
13067
|
-
multiple: field.multiple || false,
|
|
13068
|
-
placeholder: field.placeholder || "Choose file(s)...",
|
|
13069
|
-
error: meta.touched && !!meta.error,
|
|
13070
|
-
disabled: field.disabled || isUploading,
|
|
13071
|
-
showProgress: true,
|
|
13072
|
-
uploadProgress,
|
|
13073
|
-
onChange: (files) => {
|
|
13074
|
-
formField.onChange(files);
|
|
13075
|
-
if (files.length > 0 && onFileUpload) {
|
|
13076
|
-
onFileUpload(files);
|
|
13077
|
-
}
|
|
13078
|
-
},
|
|
13079
|
-
onFileRemove,
|
|
13080
|
-
"aria-label": field.label
|
|
13081
|
-
}
|
|
13082
|
-
),
|
|
13083
|
-
field.type === "rich-text" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
13084
|
-
inputs.RichTextEditor,
|
|
13085
|
-
{
|
|
13086
|
-
...formField,
|
|
13087
|
-
id: fieldId,
|
|
13088
|
-
placeholder: field.placeholder,
|
|
13089
|
-
error: meta.touched && !!meta.error,
|
|
13090
|
-
disabled: field.disabled,
|
|
13091
|
-
"aria-label": field.label
|
|
13092
|
-
}
|
|
13093
|
-
)
|
|
13094
|
-
] })
|
|
13095
|
-
}
|
|
13096
|
-
);
|
|
13097
|
-
}
|
|
13098
12532
|
var DEFAULT_FORM_FIELDS = [
|
|
13099
12533
|
{
|
|
13100
12534
|
name: "name",
|
|
@@ -13232,7 +12666,7 @@ function ContactCallback({
|
|
|
13232
12666
|
() => formFields || DEFAULT_FORM_FIELDS,
|
|
13233
12667
|
[formFields]
|
|
13234
12668
|
);
|
|
13235
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
12669
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
13236
12670
|
formFields: fields,
|
|
13237
12671
|
formConfig,
|
|
13238
12672
|
onSubmit,
|
|
@@ -13309,8 +12743,8 @@ function ContactCallback({
|
|
|
13309
12743
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-12 gap-6", children: fields.map((field) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13310
12744
|
"div",
|
|
13311
12745
|
{
|
|
13312
|
-
className: getColumnSpanClass(field.columnSpan),
|
|
13313
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicFormField, { field })
|
|
12746
|
+
className: integration.getColumnSpanClass(field.columnSpan),
|
|
12747
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(integration.DynamicFormField, { field })
|
|
13314
12748
|
},
|
|
13315
12749
|
field.name
|
|
13316
12750
|
)) }),
|
|
@@ -13429,7 +12863,7 @@ function ContactCard({
|
|
|
13429
12863
|
() => formFields || DEFAULT_FORM_FIELDS2,
|
|
13430
12864
|
[formFields]
|
|
13431
12865
|
);
|
|
13432
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
12866
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
13433
12867
|
formFields: fields,
|
|
13434
12868
|
formConfig,
|
|
13435
12869
|
onSubmit,
|
|
@@ -13507,8 +12941,8 @@ function ContactCard({
|
|
|
13507
12941
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-12 gap-6", children: fields.map((field) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13508
12942
|
"div",
|
|
13509
12943
|
{
|
|
13510
|
-
className: getColumnSpanClass(field.columnSpan),
|
|
13511
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicFormField, { field })
|
|
12944
|
+
className: integration.getColumnSpanClass(field.columnSpan),
|
|
12945
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(integration.DynamicFormField, { field })
|
|
13512
12946
|
},
|
|
13513
12947
|
field.name
|
|
13514
12948
|
)) }),
|
|
@@ -13687,8 +13121,8 @@ function ContactCareers({
|
|
|
13687
13121
|
uploadFiles,
|
|
13688
13122
|
removeFile,
|
|
13689
13123
|
resetUpload
|
|
13690
|
-
} = useFileUpload({ onError });
|
|
13691
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
13124
|
+
} = integration.useFileUpload({ onError });
|
|
13125
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
13692
13126
|
formFields: fields,
|
|
13693
13127
|
formConfig,
|
|
13694
13128
|
onSubmit,
|
|
@@ -13772,9 +13206,9 @@ function ContactCareers({
|
|
|
13772
13206
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-12 gap-6", children: fields.map((field) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
13773
13207
|
"div",
|
|
13774
13208
|
{
|
|
13775
|
-
className: getColumnSpanClass(field.columnSpan),
|
|
13209
|
+
className: integration.getColumnSpanClass(field.columnSpan),
|
|
13776
13210
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
13777
|
-
DynamicFormField,
|
|
13211
|
+
integration.DynamicFormField,
|
|
13778
13212
|
{
|
|
13779
13213
|
field,
|
|
13780
13214
|
uploadProgress,
|
|
@@ -14002,7 +13436,7 @@ function ContactCatering({
|
|
|
14002
13436
|
() => formFields || DEFAULT_FORM_FIELDS4,
|
|
14003
13437
|
[formFields]
|
|
14004
13438
|
);
|
|
14005
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
13439
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
14006
13440
|
formFields: fields,
|
|
14007
13441
|
formConfig,
|
|
14008
13442
|
onSubmit,
|
|
@@ -14088,8 +13522,8 @@ function ContactCatering({
|
|
|
14088
13522
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-12 gap-6", children: fields.map((field) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
14089
13523
|
"div",
|
|
14090
13524
|
{
|
|
14091
|
-
className: getColumnSpanClass(field.columnSpan),
|
|
14092
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicFormField, { field })
|
|
13525
|
+
className: integration.getColumnSpanClass(field.columnSpan),
|
|
13526
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(integration.DynamicFormField, { field })
|
|
14093
13527
|
},
|
|
14094
13528
|
field.name
|
|
14095
13529
|
)) }),
|
|
@@ -14246,7 +13680,7 @@ function ContactConsultation({
|
|
|
14246
13680
|
() => formFields || DEFAULT_FORM_FIELDS5,
|
|
14247
13681
|
[formFields]
|
|
14248
13682
|
);
|
|
14249
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
13683
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
14250
13684
|
formFields: fields,
|
|
14251
13685
|
formConfig,
|
|
14252
13686
|
onSubmit,
|
|
@@ -14329,7 +13763,7 @@ function ContactConsultation({
|
|
|
14329
13763
|
onNewSubmission: resetSubmissionState,
|
|
14330
13764
|
className: cn("space-y-6", formClassName),
|
|
14331
13765
|
children: [
|
|
14332
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-12 gap-6", children: fields.map((field) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: getColumnSpanClass(field.columnSpan), children: /* @__PURE__ */ jsxRuntime.jsx(DynamicFormField, { field }) }, field.name)) }),
|
|
13766
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-12 gap-6", children: fields.map((field) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: integration.getColumnSpanClass(field.columnSpan), children: /* @__PURE__ */ jsxRuntime.jsx(integration.DynamicFormField, { field }) }, field.name)) }),
|
|
14333
13767
|
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14334
13768
|
Pressable,
|
|
14335
13769
|
{
|
|
@@ -14438,8 +13872,8 @@ function ContactDark({
|
|
|
14438
13872
|
uploadFiles,
|
|
14439
13873
|
removeFile,
|
|
14440
13874
|
resetUpload
|
|
14441
|
-
} = useFileUpload({ onError });
|
|
14442
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
13875
|
+
} = integration.useFileUpload({ onError });
|
|
13876
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
14443
13877
|
formFields,
|
|
14444
13878
|
formConfig,
|
|
14445
13879
|
onSubmit,
|
|
@@ -14570,80 +14004,42 @@ function ContactDark({
|
|
|
14570
14004
|
forms.Form,
|
|
14571
14005
|
{
|
|
14572
14006
|
form,
|
|
14573
|
-
|
|
14574
|
-
|
|
14575
|
-
|
|
14576
|
-
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14007
|
+
notificationConfig: {
|
|
14008
|
+
submissionError,
|
|
14009
|
+
successMessage
|
|
14010
|
+
},
|
|
14011
|
+
styleConfig: {
|
|
14012
|
+
formClassName: cn("space-y-6", formClassName),
|
|
14013
|
+
successMessageClassName,
|
|
14014
|
+
errorMessageClassName
|
|
14015
|
+
},
|
|
14016
|
+
formConfig: {
|
|
14017
|
+
endpoint: formConfig?.endpoint,
|
|
14018
|
+
method: formMethod,
|
|
14019
|
+
submissionConfig: formConfig?.submissionConfig
|
|
14020
|
+
},
|
|
14580
14021
|
onNewSubmission: () => {
|
|
14581
14022
|
resetUpload();
|
|
14582
14023
|
resetSubmissionState();
|
|
14583
14024
|
},
|
|
14584
|
-
className: formClassName,
|
|
14585
14025
|
children: [
|
|
14586
|
-
(() =>
|
|
14587
|
-
|
|
14588
|
-
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
|
|
14592
|
-
|
|
14593
|
-
|
|
14594
|
-
|
|
14595
|
-
|
|
14596
|
-
|
|
14597
|
-
|
|
14598
|
-
|
|
14599
|
-
|
|
14600
|
-
|
|
14601
|
-
|
|
14602
|
-
|
|
14603
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14604
|
-
DynamicFormField,
|
|
14605
|
-
{
|
|
14606
|
-
field,
|
|
14607
|
-
uploadProgress,
|
|
14608
|
-
onFileUpload: uploadFiles,
|
|
14609
|
-
onFileRemove: removeFile,
|
|
14610
|
-
isUploading
|
|
14611
|
-
}
|
|
14612
|
-
),
|
|
14613
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14614
|
-
DynamicFormField,
|
|
14615
|
-
{
|
|
14616
|
-
field: nextField,
|
|
14617
|
-
uploadProgress,
|
|
14618
|
-
onFileUpload: uploadFiles,
|
|
14619
|
-
onFileRemove: removeFile,
|
|
14620
|
-
isUploading
|
|
14621
|
-
}
|
|
14622
|
-
)
|
|
14623
|
-
]
|
|
14624
|
-
},
|
|
14625
|
-
field.name
|
|
14626
|
-
)
|
|
14627
|
-
);
|
|
14628
|
-
skip = true;
|
|
14629
|
-
} else {
|
|
14630
|
-
fieldElements.push(
|
|
14631
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14632
|
-
DynamicFormField,
|
|
14633
|
-
{
|
|
14634
|
-
field,
|
|
14635
|
-
uploadProgress,
|
|
14636
|
-
onFileUpload: uploadFiles,
|
|
14637
|
-
onFileRemove: removeFile,
|
|
14638
|
-
isUploading
|
|
14639
|
-
},
|
|
14640
|
-
field.name
|
|
14641
|
-
)
|
|
14642
|
-
);
|
|
14643
|
-
}
|
|
14644
|
-
});
|
|
14645
|
-
return fieldElements;
|
|
14646
|
-
})(),
|
|
14026
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-12 gap-6", children: formFields.map((field) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
14027
|
+
"div",
|
|
14028
|
+
{
|
|
14029
|
+
className: integration.getColumnSpanClass(field.columnSpan),
|
|
14030
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14031
|
+
integration.DynamicFormField,
|
|
14032
|
+
{
|
|
14033
|
+
field,
|
|
14034
|
+
uploadProgress,
|
|
14035
|
+
onFileUpload: uploadFiles,
|
|
14036
|
+
onFileRemove: removeFile,
|
|
14037
|
+
isUploading
|
|
14038
|
+
}
|
|
14039
|
+
)
|
|
14040
|
+
},
|
|
14041
|
+
field.name
|
|
14042
|
+
)) }),
|
|
14647
14043
|
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14648
14044
|
Pressable,
|
|
14649
14045
|
{
|
|
@@ -14694,7 +14090,7 @@ function ContactDark({
|
|
|
14694
14090
|
}
|
|
14695
14091
|
);
|
|
14696
14092
|
}
|
|
14697
|
-
function
|
|
14093
|
+
function Checkbox({
|
|
14698
14094
|
className,
|
|
14699
14095
|
...props
|
|
14700
14096
|
}) {
|
|
@@ -14815,7 +14211,7 @@ function ContactDemo({
|
|
|
14815
14211
|
try {
|
|
14816
14212
|
let result;
|
|
14817
14213
|
if (shouldAutoSubmit) {
|
|
14818
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
14214
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
14819
14215
|
}
|
|
14820
14216
|
if (onSubmit) {
|
|
14821
14217
|
await onSubmit(values);
|
|
@@ -14827,7 +14223,7 @@ function ContactDemo({
|
|
|
14827
14223
|
onSuccess?.(result);
|
|
14828
14224
|
}
|
|
14829
14225
|
} catch (error) {
|
|
14830
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
14226
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
14831
14227
|
helpers.setErrors(error.formErrors);
|
|
14832
14228
|
}
|
|
14833
14229
|
onError?.(error);
|
|
@@ -15023,7 +14419,7 @@ function ContactDemo({
|
|
|
15023
14419
|
] }),
|
|
15024
14420
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "updates", children: ({ field }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
15025
14421
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15026
|
-
|
|
14422
|
+
Checkbox,
|
|
15027
14423
|
{
|
|
15028
14424
|
id: "updates",
|
|
15029
14425
|
checked: field.value,
|
|
@@ -15142,7 +14538,7 @@ function ContactEmergency({
|
|
|
15142
14538
|
try {
|
|
15143
14539
|
let result;
|
|
15144
14540
|
if (shouldAutoSubmit) {
|
|
15145
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
14541
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
15146
14542
|
}
|
|
15147
14543
|
if (onSubmit) {
|
|
15148
14544
|
await onSubmit(values);
|
|
@@ -15154,7 +14550,7 @@ function ContactEmergency({
|
|
|
15154
14550
|
onSuccess?.(result);
|
|
15155
14551
|
}
|
|
15156
14552
|
} catch (error) {
|
|
15157
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
14553
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
15158
14554
|
helpers.setErrors(error.formErrors);
|
|
15159
14555
|
}
|
|
15160
14556
|
onError?.(error);
|
|
@@ -15440,7 +14836,7 @@ function ContactEvent({
|
|
|
15440
14836
|
try {
|
|
15441
14837
|
let result;
|
|
15442
14838
|
if (shouldAutoSubmit) {
|
|
15443
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
14839
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
15444
14840
|
}
|
|
15445
14841
|
if (onSubmit) {
|
|
15446
14842
|
await onSubmit(values);
|
|
@@ -15452,7 +14848,7 @@ function ContactEvent({
|
|
|
15452
14848
|
onSuccess?.(result);
|
|
15453
14849
|
}
|
|
15454
14850
|
} catch (error) {
|
|
15455
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
14851
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
15456
14852
|
helpers.setErrors(error.formErrors);
|
|
15457
14853
|
}
|
|
15458
14854
|
onError?.(error);
|
|
@@ -15766,8 +15162,8 @@ function ContactFaq({
|
|
|
15766
15162
|
uploadFiles,
|
|
15767
15163
|
removeFile,
|
|
15768
15164
|
resetUpload
|
|
15769
|
-
} = useFileUpload({ onError });
|
|
15770
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
15165
|
+
} = integration.useFileUpload({ onError });
|
|
15166
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
15771
15167
|
formFields,
|
|
15772
15168
|
formConfig,
|
|
15773
15169
|
onSubmit,
|
|
@@ -15907,80 +15303,42 @@ function ContactFaq({
|
|
|
15907
15303
|
forms.Form,
|
|
15908
15304
|
{
|
|
15909
15305
|
form,
|
|
15910
|
-
|
|
15911
|
-
|
|
15912
|
-
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
|
-
|
|
15916
|
-
|
|
15306
|
+
notificationConfig: {
|
|
15307
|
+
submissionError,
|
|
15308
|
+
successMessage
|
|
15309
|
+
},
|
|
15310
|
+
styleConfig: {
|
|
15311
|
+
formClassName: cn("space-y-6", formClassName),
|
|
15312
|
+
successMessageClassName,
|
|
15313
|
+
errorMessageClassName
|
|
15314
|
+
},
|
|
15315
|
+
formConfig: {
|
|
15316
|
+
endpoint: formConfig?.endpoint,
|
|
15317
|
+
method: formMethod,
|
|
15318
|
+
submissionConfig: formConfig?.submissionConfig
|
|
15319
|
+
},
|
|
15917
15320
|
onNewSubmission: () => {
|
|
15918
15321
|
resetUpload();
|
|
15919
15322
|
resetSubmissionState();
|
|
15920
15323
|
},
|
|
15921
|
-
className: formClassName,
|
|
15922
15324
|
children: [
|
|
15923
|
-
(() =>
|
|
15924
|
-
|
|
15925
|
-
|
|
15926
|
-
|
|
15927
|
-
|
|
15928
|
-
|
|
15929
|
-
|
|
15930
|
-
|
|
15931
|
-
|
|
15932
|
-
|
|
15933
|
-
|
|
15934
|
-
|
|
15935
|
-
|
|
15936
|
-
|
|
15937
|
-
|
|
15938
|
-
|
|
15939
|
-
|
|
15940
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15941
|
-
DynamicFormField,
|
|
15942
|
-
{
|
|
15943
|
-
field,
|
|
15944
|
-
uploadProgress,
|
|
15945
|
-
onFileUpload: uploadFiles,
|
|
15946
|
-
onFileRemove: removeFile,
|
|
15947
|
-
isUploading
|
|
15948
|
-
}
|
|
15949
|
-
),
|
|
15950
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15951
|
-
DynamicFormField,
|
|
15952
|
-
{
|
|
15953
|
-
field: nextField,
|
|
15954
|
-
uploadProgress,
|
|
15955
|
-
onFileUpload: uploadFiles,
|
|
15956
|
-
onFileRemove: removeFile,
|
|
15957
|
-
isUploading
|
|
15958
|
-
}
|
|
15959
|
-
)
|
|
15960
|
-
]
|
|
15961
|
-
},
|
|
15962
|
-
field.name
|
|
15963
|
-
)
|
|
15964
|
-
);
|
|
15965
|
-
skip = true;
|
|
15966
|
-
} else {
|
|
15967
|
-
fieldElements.push(
|
|
15968
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15969
|
-
DynamicFormField,
|
|
15970
|
-
{
|
|
15971
|
-
field,
|
|
15972
|
-
uploadProgress,
|
|
15973
|
-
onFileUpload: uploadFiles,
|
|
15974
|
-
onFileRemove: removeFile,
|
|
15975
|
-
isUploading
|
|
15976
|
-
},
|
|
15977
|
-
field.name
|
|
15978
|
-
)
|
|
15979
|
-
);
|
|
15980
|
-
}
|
|
15981
|
-
});
|
|
15982
|
-
return fieldElements;
|
|
15983
|
-
})(),
|
|
15325
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-12 gap-6", children: formFields.map((field) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
15326
|
+
"div",
|
|
15327
|
+
{
|
|
15328
|
+
className: integration.getColumnSpanClass(field.columnSpan),
|
|
15329
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15330
|
+
integration.DynamicFormField,
|
|
15331
|
+
{
|
|
15332
|
+
field,
|
|
15333
|
+
uploadProgress,
|
|
15334
|
+
onFileUpload: uploadFiles,
|
|
15335
|
+
onFileRemove: removeFile,
|
|
15336
|
+
isUploading
|
|
15337
|
+
}
|
|
15338
|
+
)
|
|
15339
|
+
},
|
|
15340
|
+
field.name
|
|
15341
|
+
)) }),
|
|
15984
15342
|
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15985
15343
|
Pressable,
|
|
15986
15344
|
{
|
|
@@ -16067,7 +15425,7 @@ function ContactFeedback({
|
|
|
16067
15425
|
try {
|
|
16068
15426
|
let result;
|
|
16069
15427
|
if (shouldAutoSubmit) {
|
|
16070
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
15428
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16071
15429
|
}
|
|
16072
15430
|
if (onSubmit) {
|
|
16073
15431
|
await onSubmit(values);
|
|
@@ -16079,7 +15437,7 @@ function ContactFeedback({
|
|
|
16079
15437
|
onSuccess?.(result);
|
|
16080
15438
|
}
|
|
16081
15439
|
} catch (error) {
|
|
16082
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
15440
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16083
15441
|
helpers.setErrors(error.formErrors);
|
|
16084
15442
|
}
|
|
16085
15443
|
onError?.(error);
|
|
@@ -16261,7 +15619,7 @@ function ContactFitness({
|
|
|
16261
15619
|
try {
|
|
16262
15620
|
let result;
|
|
16263
15621
|
if (shouldAutoSubmit) {
|
|
16264
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
15622
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16265
15623
|
}
|
|
16266
15624
|
if (onSubmit) {
|
|
16267
15625
|
await onSubmit(values);
|
|
@@ -16273,7 +15631,7 @@ function ContactFitness({
|
|
|
16273
15631
|
onSuccess?.(result);
|
|
16274
15632
|
}
|
|
16275
15633
|
} catch (error) {
|
|
16276
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
15634
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16277
15635
|
helpers.setErrors(error.formErrors);
|
|
16278
15636
|
}
|
|
16279
15637
|
onError?.(error);
|
|
@@ -16497,7 +15855,7 @@ function ContactGuest({
|
|
|
16497
15855
|
try {
|
|
16498
15856
|
let result;
|
|
16499
15857
|
if (shouldAutoSubmit) {
|
|
16500
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
15858
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16501
15859
|
}
|
|
16502
15860
|
if (onSubmit) {
|
|
16503
15861
|
await onSubmit(values);
|
|
@@ -16509,7 +15867,7 @@ function ContactGuest({
|
|
|
16509
15867
|
onSuccess?.(result);
|
|
16510
15868
|
}
|
|
16511
15869
|
} catch (error) {
|
|
16512
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
15870
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16513
15871
|
helpers.setErrors(error.formErrors);
|
|
16514
15872
|
}
|
|
16515
15873
|
onError?.(error);
|
|
@@ -16724,7 +16082,7 @@ function ContactImage({
|
|
|
16724
16082
|
try {
|
|
16725
16083
|
let result;
|
|
16726
16084
|
if (shouldAutoSubmit) {
|
|
16727
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
16085
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16728
16086
|
}
|
|
16729
16087
|
if (onSubmit) {
|
|
16730
16088
|
await onSubmit(values);
|
|
@@ -16736,7 +16094,7 @@ function ContactImage({
|
|
|
16736
16094
|
onSuccess?.(result);
|
|
16737
16095
|
}
|
|
16738
16096
|
} catch (error) {
|
|
16739
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
16097
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16740
16098
|
helpers.setErrors(error.formErrors);
|
|
16741
16099
|
}
|
|
16742
16100
|
onError?.(error);
|
|
@@ -16951,7 +16309,7 @@ function ContactInsurance({
|
|
|
16951
16309
|
try {
|
|
16952
16310
|
let result;
|
|
16953
16311
|
if (shouldAutoSubmit) {
|
|
16954
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
16312
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16955
16313
|
}
|
|
16956
16314
|
if (onSubmit) {
|
|
16957
16315
|
await onSubmit(values);
|
|
@@ -16963,7 +16321,7 @@ function ContactInsurance({
|
|
|
16963
16321
|
onSuccess?.(result);
|
|
16964
16322
|
}
|
|
16965
16323
|
} catch (error) {
|
|
16966
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
16324
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16967
16325
|
helpers.setErrors(error.formErrors);
|
|
16968
16326
|
}
|
|
16969
16327
|
onError?.(error);
|
|
@@ -17187,7 +16545,7 @@ function ContactInterview({
|
|
|
17187
16545
|
try {
|
|
17188
16546
|
let result;
|
|
17189
16547
|
if (shouldAutoSubmit) {
|
|
17190
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
16548
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
17191
16549
|
}
|
|
17192
16550
|
if (onSubmit) {
|
|
17193
16551
|
await onSubmit(values);
|
|
@@ -17199,7 +16557,7 @@ function ContactInterview({
|
|
|
17199
16557
|
onSuccess?.(result);
|
|
17200
16558
|
}
|
|
17201
16559
|
} catch (error) {
|
|
17202
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
16560
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
17203
16561
|
helpers.setErrors(error.formErrors);
|
|
17204
16562
|
}
|
|
17205
16563
|
onError?.(error);
|
|
@@ -17423,7 +16781,7 @@ function ContactLocations({
|
|
|
17423
16781
|
try {
|
|
17424
16782
|
let result;
|
|
17425
16783
|
if (shouldAutoSubmit) {
|
|
17426
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
16784
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
17427
16785
|
}
|
|
17428
16786
|
if (onSubmit) {
|
|
17429
16787
|
await onSubmit(values);
|
|
@@ -17435,7 +16793,7 @@ function ContactLocations({
|
|
|
17435
16793
|
onSuccess?.(result);
|
|
17436
16794
|
}
|
|
17437
16795
|
} catch (error) {
|
|
17438
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
16796
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
17439
16797
|
helpers.setErrors(error.formErrors);
|
|
17440
16798
|
}
|
|
17441
16799
|
onError?.(error);
|
|
@@ -17659,7 +17017,7 @@ function ContactMaintenance({
|
|
|
17659
17017
|
try {
|
|
17660
17018
|
let result;
|
|
17661
17019
|
if (shouldAutoSubmit) {
|
|
17662
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17020
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
17663
17021
|
}
|
|
17664
17022
|
if (onSubmit) {
|
|
17665
17023
|
await onSubmit(values);
|
|
@@ -17671,7 +17029,7 @@ function ContactMaintenance({
|
|
|
17671
17029
|
onSuccess?.(result);
|
|
17672
17030
|
}
|
|
17673
17031
|
} catch (error) {
|
|
17674
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17032
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
17675
17033
|
helpers.setErrors(error.formErrors);
|
|
17676
17034
|
}
|
|
17677
17035
|
onError?.(error);
|
|
@@ -17860,7 +17218,7 @@ function ContactMap({
|
|
|
17860
17218
|
try {
|
|
17861
17219
|
let result;
|
|
17862
17220
|
if (shouldAutoSubmit) {
|
|
17863
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17221
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
17864
17222
|
}
|
|
17865
17223
|
if (onSubmit) {
|
|
17866
17224
|
await onSubmit(values);
|
|
@@ -17872,7 +17230,7 @@ function ContactMap({
|
|
|
17872
17230
|
onSuccess?.(result);
|
|
17873
17231
|
}
|
|
17874
17232
|
} catch (error) {
|
|
17875
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17233
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
17876
17234
|
helpers.setErrors(error.formErrors);
|
|
17877
17235
|
}
|
|
17878
17236
|
onError?.(error);
|
|
@@ -18058,7 +17416,7 @@ function ContactMinimal({
|
|
|
18058
17416
|
try {
|
|
18059
17417
|
let result;
|
|
18060
17418
|
if (shouldAutoSubmit) {
|
|
18061
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17419
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
18062
17420
|
}
|
|
18063
17421
|
if (onSubmit) {
|
|
18064
17422
|
await onSubmit(values);
|
|
@@ -18070,7 +17428,7 @@ function ContactMinimal({
|
|
|
18070
17428
|
onSuccess?.(result);
|
|
18071
17429
|
}
|
|
18072
17430
|
} catch (error) {
|
|
18073
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17431
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
18074
17432
|
helpers.setErrors(error.formErrors);
|
|
18075
17433
|
}
|
|
18076
17434
|
onError?.(error);
|
|
@@ -18247,7 +17605,7 @@ function ContactMoving({
|
|
|
18247
17605
|
try {
|
|
18248
17606
|
let result;
|
|
18249
17607
|
if (shouldAutoSubmit) {
|
|
18250
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17608
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
18251
17609
|
}
|
|
18252
17610
|
if (onSubmit) {
|
|
18253
17611
|
await onSubmit(values);
|
|
@@ -18259,7 +17617,7 @@ function ContactMoving({
|
|
|
18259
17617
|
onSuccess?.(result);
|
|
18260
17618
|
}
|
|
18261
17619
|
} catch (error) {
|
|
18262
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17620
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
18263
17621
|
helpers.setErrors(error.formErrors);
|
|
18264
17622
|
}
|
|
18265
17623
|
onError?.(error);
|
|
@@ -18448,7 +17806,7 @@ function ContactMultistep({
|
|
|
18448
17806
|
try {
|
|
18449
17807
|
let result;
|
|
18450
17808
|
if (shouldAutoSubmit) {
|
|
18451
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17809
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
18452
17810
|
}
|
|
18453
17811
|
if (onSubmit) {
|
|
18454
17812
|
await onSubmit(values);
|
|
@@ -18460,7 +17818,7 @@ function ContactMultistep({
|
|
|
18460
17818
|
onSuccess?.(result);
|
|
18461
17819
|
}
|
|
18462
17820
|
} catch (error) {
|
|
18463
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17821
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
18464
17822
|
helpers.setErrors(error.formErrors);
|
|
18465
17823
|
}
|
|
18466
17824
|
onError?.(error);
|
|
@@ -18649,7 +18007,7 @@ function ContactPartnership({
|
|
|
18649
18007
|
try {
|
|
18650
18008
|
let result;
|
|
18651
18009
|
if (shouldAutoSubmit) {
|
|
18652
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
18010
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
18653
18011
|
}
|
|
18654
18012
|
if (onSubmit) {
|
|
18655
18013
|
await onSubmit(values);
|
|
@@ -18661,7 +18019,7 @@ function ContactPartnership({
|
|
|
18661
18019
|
onSuccess?.(result);
|
|
18662
18020
|
}
|
|
18663
18021
|
} catch (error) {
|
|
18664
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
18022
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
18665
18023
|
helpers.setErrors(error.formErrors);
|
|
18666
18024
|
}
|
|
18667
18025
|
onError?.(error);
|
|
@@ -18849,6 +18207,7 @@ function ContactPhotography({
|
|
|
18849
18207
|
actionsSlot,
|
|
18850
18208
|
formFields = DEFAULT_FORM_FIELDS8,
|
|
18851
18209
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
18210
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
18852
18211
|
className,
|
|
18853
18212
|
headingClassName,
|
|
18854
18213
|
descriptionClassName,
|
|
@@ -18857,6 +18216,7 @@ function ContactPhotography({
|
|
|
18857
18216
|
submitClassName,
|
|
18858
18217
|
successMessageClassName,
|
|
18859
18218
|
errorMessageClassName,
|
|
18219
|
+
spacing = "none",
|
|
18860
18220
|
background,
|
|
18861
18221
|
pattern,
|
|
18862
18222
|
patternOpacity,
|
|
@@ -18877,8 +18237,8 @@ function ContactPhotography({
|
|
|
18877
18237
|
uploadFiles,
|
|
18878
18238
|
removeFile,
|
|
18879
18239
|
resetUpload
|
|
18880
|
-
} = useFileUpload({ onError });
|
|
18881
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
18240
|
+
} = integration.useFileUpload({ onError });
|
|
18241
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
18882
18242
|
formFields,
|
|
18883
18243
|
formConfig,
|
|
18884
18244
|
onSubmit,
|
|
@@ -18920,152 +18280,95 @@ function ContactPhotography({
|
|
|
18920
18280
|
}
|
|
18921
18281
|
return null;
|
|
18922
18282
|
}, [actionsSlot, actions]);
|
|
18923
|
-
const bgColorClass = React56.useMemo(() => {
|
|
18924
|
-
switch (background) {
|
|
18925
|
-
case "dark":
|
|
18926
|
-
return "bg-foreground text-background";
|
|
18927
|
-
case "gray":
|
|
18928
|
-
return cn(
|
|
18929
|
-
getNestedCardBg(background),
|
|
18930
|
-
getNestedCardTextColor(background)
|
|
18931
|
-
);
|
|
18932
|
-
case "white":
|
|
18933
|
-
return "bg-background";
|
|
18934
|
-
default:
|
|
18935
|
-
return "bg-background";
|
|
18936
|
-
}
|
|
18937
|
-
}, [background]);
|
|
18938
18283
|
const desktopOrder = directionConfig.desktop === "mediaRight" ? "lg:flex-row" : "lg:flex-row-reverse";
|
|
18939
18284
|
const mobileOrder = directionConfig.mobile === "mediaTop" ? "flex-col" : "flex-col-reverse";
|
|
18940
|
-
const contentArea = /* @__PURE__ */ jsxRuntime.
|
|
18285
|
+
const contentArea = /* @__PURE__ */ jsxRuntime.jsx(
|
|
18941
18286
|
"div",
|
|
18942
18287
|
{
|
|
18943
18288
|
className: cn(
|
|
18944
18289
|
"relative flex w-full items-center lg:w-1/2",
|
|
18945
|
-
bgColorClass,
|
|
18946
18290
|
contentClassName
|
|
18947
18291
|
),
|
|
18948
|
-
children: [
|
|
18949
|
-
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
18953
|
-
|
|
18954
|
-
|
|
18955
|
-
|
|
18956
|
-
|
|
18957
|
-
|
|
18958
|
-
|
|
18959
|
-
|
|
18960
|
-
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
|
|
18964
|
-
|
|
18965
|
-
|
|
18966
|
-
|
|
18967
|
-
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
{
|
|
18974
|
-
form,
|
|
18975
|
-
action: formConfig?.endpoint,
|
|
18976
|
-
method: formMethod,
|
|
18292
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative z-10 w-full px-8 py-16 sm:px-12 sm:py-20 lg:px-16 lg:py-24 xl:px-24", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto max-w-xl space-y-8", children: [
|
|
18293
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
18294
|
+
"h2",
|
|
18295
|
+
{
|
|
18296
|
+
className: cn(
|
|
18297
|
+
"text-3xl font-bold leading-tight tracking-tight sm:text-4xl lg:text-5xl",
|
|
18298
|
+
headingClassName
|
|
18299
|
+
),
|
|
18300
|
+
children: heading
|
|
18301
|
+
}
|
|
18302
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
|
|
18303
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
18304
|
+
"p",
|
|
18305
|
+
{
|
|
18306
|
+
className: cn(
|
|
18307
|
+
"text-base leading-relaxed opacity-90 sm:text-lg",
|
|
18308
|
+
descriptionClassName
|
|
18309
|
+
),
|
|
18310
|
+
children: description
|
|
18311
|
+
}
|
|
18312
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
|
|
18313
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18314
|
+
forms.Form,
|
|
18315
|
+
{
|
|
18316
|
+
form,
|
|
18317
|
+
notificationConfig: {
|
|
18977
18318
|
submissionError,
|
|
18978
|
-
successMessage
|
|
18319
|
+
successMessage
|
|
18320
|
+
},
|
|
18321
|
+
styleConfig: {
|
|
18322
|
+
formClassName: cn("space-y-6", formClassName),
|
|
18979
18323
|
successMessageClassName,
|
|
18980
|
-
errorMessageClassName
|
|
18981
|
-
|
|
18982
|
-
|
|
18983
|
-
|
|
18984
|
-
|
|
18985
|
-
|
|
18986
|
-
|
|
18987
|
-
|
|
18988
|
-
|
|
18989
|
-
|
|
18990
|
-
|
|
18991
|
-
|
|
18992
|
-
|
|
18993
|
-
|
|
18994
|
-
|
|
18995
|
-
|
|
18996
|
-
|
|
18997
|
-
|
|
18998
|
-
|
|
18999
|
-
|
|
19000
|
-
|
|
19001
|
-
|
|
19002
|
-
|
|
19003
|
-
|
|
19004
|
-
children: [
|
|
19005
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19006
|
-
DynamicFormField,
|
|
19007
|
-
{
|
|
19008
|
-
field,
|
|
19009
|
-
uploadProgress,
|
|
19010
|
-
onFileUpload: uploadFiles,
|
|
19011
|
-
onFileRemove: removeFile,
|
|
19012
|
-
isUploading
|
|
19013
|
-
}
|
|
19014
|
-
),
|
|
19015
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19016
|
-
DynamicFormField,
|
|
19017
|
-
{
|
|
19018
|
-
field: nextField,
|
|
19019
|
-
uploadProgress,
|
|
19020
|
-
onFileUpload: uploadFiles,
|
|
19021
|
-
onFileRemove: removeFile,
|
|
19022
|
-
isUploading
|
|
19023
|
-
}
|
|
19024
|
-
)
|
|
19025
|
-
]
|
|
19026
|
-
},
|
|
19027
|
-
field.name
|
|
19028
|
-
)
|
|
19029
|
-
);
|
|
19030
|
-
skip = true;
|
|
19031
|
-
} else {
|
|
19032
|
-
fieldElements.push(
|
|
19033
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19034
|
-
DynamicFormField,
|
|
19035
|
-
{
|
|
19036
|
-
field,
|
|
19037
|
-
uploadProgress,
|
|
19038
|
-
onFileUpload: uploadFiles,
|
|
19039
|
-
onFileRemove: removeFile,
|
|
19040
|
-
isUploading
|
|
19041
|
-
},
|
|
19042
|
-
field.name
|
|
19043
|
-
)
|
|
19044
|
-
);
|
|
18324
|
+
errorMessageClassName
|
|
18325
|
+
},
|
|
18326
|
+
formConfig: {
|
|
18327
|
+
endpoint: formConfig?.endpoint,
|
|
18328
|
+
method: formMethod,
|
|
18329
|
+
submissionConfig: formConfig?.submissionConfig
|
|
18330
|
+
},
|
|
18331
|
+
onNewSubmission: () => {
|
|
18332
|
+
resetUpload();
|
|
18333
|
+
resetSubmissionState();
|
|
18334
|
+
},
|
|
18335
|
+
children: [
|
|
18336
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-12 gap-6", children: formFields.map((field) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
18337
|
+
"div",
|
|
18338
|
+
{
|
|
18339
|
+
className: integration.getColumnSpanClass(field.columnSpan),
|
|
18340
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18341
|
+
integration.DynamicFormField,
|
|
18342
|
+
{
|
|
18343
|
+
field,
|
|
18344
|
+
uploadProgress,
|
|
18345
|
+
onFileUpload: uploadFiles,
|
|
18346
|
+
onFileRemove: removeFile,
|
|
18347
|
+
isUploading
|
|
19045
18348
|
}
|
|
19046
|
-
|
|
19047
|
-
|
|
19048
|
-
|
|
19049
|
-
|
|
19050
|
-
|
|
19051
|
-
|
|
19052
|
-
|
|
19053
|
-
|
|
19054
|
-
|
|
19055
|
-
|
|
19056
|
-
|
|
19057
|
-
|
|
19058
|
-
|
|
19059
|
-
|
|
19060
|
-
|
|
19061
|
-
|
|
19062
|
-
|
|
19063
|
-
|
|
19064
|
-
|
|
19065
|
-
|
|
19066
|
-
|
|
19067
|
-
|
|
19068
|
-
]
|
|
18349
|
+
)
|
|
18350
|
+
},
|
|
18351
|
+
field.name
|
|
18352
|
+
)) }),
|
|
18353
|
+
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18354
|
+
Pressable,
|
|
18355
|
+
{
|
|
18356
|
+
componentType: "button",
|
|
18357
|
+
type: "submit",
|
|
18358
|
+
className: cn("w-full", submitClassName),
|
|
18359
|
+
size: "lg",
|
|
18360
|
+
asButton: true,
|
|
18361
|
+
disabled: form.isSubmitting,
|
|
18362
|
+
children: [
|
|
18363
|
+
buttonIcon,
|
|
18364
|
+
buttonText
|
|
18365
|
+
]
|
|
18366
|
+
}
|
|
18367
|
+
)
|
|
18368
|
+
]
|
|
18369
|
+
}
|
|
18370
|
+
)
|
|
18371
|
+
] }) })
|
|
19069
18372
|
}
|
|
19070
18373
|
);
|
|
19071
18374
|
const imageArea = imageSrc ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-64 w-full sm:h-96 lg:h-auto lg:w-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -19077,10 +18380,21 @@ function ContactPhotography({
|
|
|
19077
18380
|
optixFlowConfig
|
|
19078
18381
|
}
|
|
19079
18382
|
) }) : null;
|
|
19080
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19081
|
-
|
|
19082
|
-
|
|
19083
|
-
|
|
18383
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
18384
|
+
Section,
|
|
18385
|
+
{
|
|
18386
|
+
background,
|
|
18387
|
+
spacing,
|
|
18388
|
+
pattern,
|
|
18389
|
+
patternOpacity,
|
|
18390
|
+
className,
|
|
18391
|
+
containerClassName,
|
|
18392
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex min-h-screen", mobileOrder, desktopOrder), children: [
|
|
18393
|
+
contentArea,
|
|
18394
|
+
imageArea
|
|
18395
|
+
] })
|
|
18396
|
+
}
|
|
18397
|
+
);
|
|
19084
18398
|
}
|
|
19085
18399
|
function ContactPress({
|
|
19086
18400
|
heading,
|
|
@@ -19135,7 +18449,7 @@ function ContactPress({
|
|
|
19135
18449
|
try {
|
|
19136
18450
|
let result;
|
|
19137
18451
|
if (shouldAutoSubmit) {
|
|
19138
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
18452
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19139
18453
|
}
|
|
19140
18454
|
if (onSubmit) {
|
|
19141
18455
|
await onSubmit(values);
|
|
@@ -19147,7 +18461,7 @@ function ContactPress({
|
|
|
19147
18461
|
onSuccess?.(result);
|
|
19148
18462
|
}
|
|
19149
18463
|
} catch (error) {
|
|
19150
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
18464
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19151
18465
|
helpers.setErrors(error.formErrors);
|
|
19152
18466
|
}
|
|
19153
18467
|
onError?.(error);
|
|
@@ -19336,7 +18650,7 @@ function ContactQuote({
|
|
|
19336
18650
|
try {
|
|
19337
18651
|
let result;
|
|
19338
18652
|
if (shouldAutoSubmit) {
|
|
19339
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
18653
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19340
18654
|
}
|
|
19341
18655
|
if (onSubmit) {
|
|
19342
18656
|
await onSubmit(values);
|
|
@@ -19348,7 +18662,7 @@ function ContactQuote({
|
|
|
19348
18662
|
onSuccess?.(result);
|
|
19349
18663
|
}
|
|
19350
18664
|
} catch (error) {
|
|
19351
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
18665
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19352
18666
|
helpers.setErrors(error.formErrors);
|
|
19353
18667
|
}
|
|
19354
18668
|
onError?.(error);
|
|
@@ -19537,7 +18851,7 @@ function ContactReferral({
|
|
|
19537
18851
|
try {
|
|
19538
18852
|
let result;
|
|
19539
18853
|
if (shouldAutoSubmit) {
|
|
19540
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
18854
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19541
18855
|
}
|
|
19542
18856
|
if (onSubmit) {
|
|
19543
18857
|
await onSubmit(values);
|
|
@@ -19549,7 +18863,7 @@ function ContactReferral({
|
|
|
19549
18863
|
onSuccess?.(result);
|
|
19550
18864
|
}
|
|
19551
18865
|
} catch (error) {
|
|
19552
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
18866
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19553
18867
|
helpers.setErrors(error.formErrors);
|
|
19554
18868
|
}
|
|
19555
18869
|
onError?.(error);
|
|
@@ -19738,7 +19052,7 @@ function ContactReport({
|
|
|
19738
19052
|
try {
|
|
19739
19053
|
let result;
|
|
19740
19054
|
if (shouldAutoSubmit) {
|
|
19741
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19055
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19742
19056
|
}
|
|
19743
19057
|
if (onSubmit) {
|
|
19744
19058
|
await onSubmit(values);
|
|
@@ -19750,7 +19064,7 @@ function ContactReport({
|
|
|
19750
19064
|
onSuccess?.(result);
|
|
19751
19065
|
}
|
|
19752
19066
|
} catch (error) {
|
|
19753
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19067
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19754
19068
|
helpers.setErrors(error.formErrors);
|
|
19755
19069
|
}
|
|
19756
19070
|
onError?.(error);
|
|
@@ -19939,7 +19253,7 @@ function ContactReservation({
|
|
|
19939
19253
|
try {
|
|
19940
19254
|
let result;
|
|
19941
19255
|
if (shouldAutoSubmit) {
|
|
19942
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19256
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19943
19257
|
}
|
|
19944
19258
|
if (onSubmit) {
|
|
19945
19259
|
await onSubmit(values);
|
|
@@ -19951,7 +19265,7 @@ function ContactReservation({
|
|
|
19951
19265
|
onSuccess?.(result);
|
|
19952
19266
|
}
|
|
19953
19267
|
} catch (error) {
|
|
19954
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19268
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19955
19269
|
helpers.setErrors(error.formErrors);
|
|
19956
19270
|
}
|
|
19957
19271
|
onError?.(error);
|
|
@@ -20140,7 +19454,7 @@ function ContactRetreat({
|
|
|
20140
19454
|
try {
|
|
20141
19455
|
let result;
|
|
20142
19456
|
if (shouldAutoSubmit) {
|
|
20143
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19457
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20144
19458
|
}
|
|
20145
19459
|
if (onSubmit) {
|
|
20146
19460
|
await onSubmit(values);
|
|
@@ -20152,7 +19466,7 @@ function ContactRetreat({
|
|
|
20152
19466
|
onSuccess?.(result);
|
|
20153
19467
|
}
|
|
20154
19468
|
} catch (error) {
|
|
20155
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19469
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20156
19470
|
helpers.setErrors(error.formErrors);
|
|
20157
19471
|
}
|
|
20158
19472
|
onError?.(error);
|
|
@@ -20341,7 +19655,7 @@ function ContactRsvp({
|
|
|
20341
19655
|
try {
|
|
20342
19656
|
let result;
|
|
20343
19657
|
if (shouldAutoSubmit) {
|
|
20344
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19658
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20345
19659
|
}
|
|
20346
19660
|
if (onSubmit) {
|
|
20347
19661
|
await onSubmit(values);
|
|
@@ -20353,7 +19667,7 @@ function ContactRsvp({
|
|
|
20353
19667
|
onSuccess?.(result);
|
|
20354
19668
|
}
|
|
20355
19669
|
} catch (error) {
|
|
20356
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19670
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20357
19671
|
helpers.setErrors(error.formErrors);
|
|
20358
19672
|
}
|
|
20359
19673
|
onError?.(error);
|
|
@@ -20542,7 +19856,7 @@ function ContactSales({
|
|
|
20542
19856
|
try {
|
|
20543
19857
|
let result;
|
|
20544
19858
|
if (shouldAutoSubmit) {
|
|
20545
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19859
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20546
19860
|
}
|
|
20547
19861
|
if (onSubmit) {
|
|
20548
19862
|
await onSubmit(values);
|
|
@@ -20554,7 +19868,7 @@ function ContactSales({
|
|
|
20554
19868
|
onSuccess?.(result);
|
|
20555
19869
|
}
|
|
20556
19870
|
} catch (error) {
|
|
20557
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19871
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20558
19872
|
helpers.setErrors(error.formErrors);
|
|
20559
19873
|
}
|
|
20560
19874
|
onError?.(error);
|
|
@@ -20752,7 +20066,7 @@ function ContactSchedule({
|
|
|
20752
20066
|
try {
|
|
20753
20067
|
let result;
|
|
20754
20068
|
if (shouldAutoSubmit) {
|
|
20755
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20069
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20756
20070
|
}
|
|
20757
20071
|
if (onSubmit) {
|
|
20758
20072
|
await onSubmit(values);
|
|
@@ -20764,7 +20078,7 @@ function ContactSchedule({
|
|
|
20764
20078
|
onSuccess?.(result);
|
|
20765
20079
|
}
|
|
20766
20080
|
} catch (error) {
|
|
20767
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20081
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20768
20082
|
helpers.setErrors(error.formErrors);
|
|
20769
20083
|
}
|
|
20770
20084
|
onError?.(error);
|
|
@@ -20953,7 +20267,7 @@ function ContactSponsorship({
|
|
|
20953
20267
|
try {
|
|
20954
20268
|
let result;
|
|
20955
20269
|
if (shouldAutoSubmit) {
|
|
20956
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20270
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20957
20271
|
}
|
|
20958
20272
|
if (onSubmit) {
|
|
20959
20273
|
await onSubmit(values);
|
|
@@ -20965,7 +20279,7 @@ function ContactSponsorship({
|
|
|
20965
20279
|
onSuccess?.(result);
|
|
20966
20280
|
}
|
|
20967
20281
|
} catch (error) {
|
|
20968
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20282
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20969
20283
|
helpers.setErrors(error.formErrors);
|
|
20970
20284
|
}
|
|
20971
20285
|
onError?.(error);
|
|
@@ -21150,7 +20464,7 @@ function ContactSupport({
|
|
|
21150
20464
|
try {
|
|
21151
20465
|
let result;
|
|
21152
20466
|
if (shouldAutoSubmit) {
|
|
21153
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20467
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21154
20468
|
}
|
|
21155
20469
|
if (onSubmit) {
|
|
21156
20470
|
await onSubmit(values);
|
|
@@ -21162,7 +20476,7 @@ function ContactSupport({
|
|
|
21162
20476
|
onSuccess?.(result);
|
|
21163
20477
|
}
|
|
21164
20478
|
} catch (error) {
|
|
21165
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20479
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21166
20480
|
helpers.setErrors(error.formErrors);
|
|
21167
20481
|
}
|
|
21168
20482
|
onError?.(error);
|
|
@@ -21322,7 +20636,7 @@ function ContactTenant({
|
|
|
21322
20636
|
try {
|
|
21323
20637
|
let result;
|
|
21324
20638
|
if (shouldAutoSubmit) {
|
|
21325
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20639
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21326
20640
|
}
|
|
21327
20641
|
if (onSubmit) {
|
|
21328
20642
|
await onSubmit(values);
|
|
@@ -21334,7 +20648,7 @@ function ContactTenant({
|
|
|
21334
20648
|
onSuccess?.(result);
|
|
21335
20649
|
}
|
|
21336
20650
|
} catch (error) {
|
|
21337
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20651
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21338
20652
|
helpers.setErrors(error.formErrors);
|
|
21339
20653
|
}
|
|
21340
20654
|
onError?.(error);
|
|
@@ -21523,7 +20837,7 @@ function ContactVendor({
|
|
|
21523
20837
|
try {
|
|
21524
20838
|
let result;
|
|
21525
20839
|
if (shouldAutoSubmit) {
|
|
21526
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20840
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21527
20841
|
}
|
|
21528
20842
|
if (onSubmit) {
|
|
21529
20843
|
await onSubmit(values);
|
|
@@ -21535,7 +20849,7 @@ function ContactVendor({
|
|
|
21535
20849
|
onSuccess?.(result);
|
|
21536
20850
|
}
|
|
21537
20851
|
} catch (error) {
|
|
21538
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20852
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21539
20853
|
helpers.setErrors(error.formErrors);
|
|
21540
20854
|
}
|
|
21541
20855
|
onError?.(error);
|
|
@@ -21724,7 +21038,7 @@ function ContactVolunteer({
|
|
|
21724
21038
|
try {
|
|
21725
21039
|
let result;
|
|
21726
21040
|
if (shouldAutoSubmit) {
|
|
21727
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
21041
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21728
21042
|
}
|
|
21729
21043
|
if (onSubmit) {
|
|
21730
21044
|
await onSubmit(values);
|
|
@@ -21736,7 +21050,7 @@ function ContactVolunteer({
|
|
|
21736
21050
|
onSuccess?.(result);
|
|
21737
21051
|
}
|
|
21738
21052
|
} catch (error) {
|
|
21739
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
21053
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21740
21054
|
helpers.setErrors(error.formErrors);
|
|
21741
21055
|
}
|
|
21742
21056
|
onError?.(error);
|
|
@@ -21925,7 +21239,7 @@ function ContactWarranty({
|
|
|
21925
21239
|
try {
|
|
21926
21240
|
let result;
|
|
21927
21241
|
if (shouldAutoSubmit) {
|
|
21928
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
21242
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21929
21243
|
}
|
|
21930
21244
|
if (onSubmit) {
|
|
21931
21245
|
await onSubmit(values);
|
|
@@ -21937,7 +21251,7 @@ function ContactWarranty({
|
|
|
21937
21251
|
onSuccess?.(result);
|
|
21938
21252
|
}
|
|
21939
21253
|
} catch (error) {
|
|
21940
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
21254
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21941
21255
|
helpers.setErrors(error.formErrors);
|
|
21942
21256
|
}
|
|
21943
21257
|
onError?.(error);
|
|
@@ -22126,7 +21440,7 @@ function ContactWedding({
|
|
|
22126
21440
|
try {
|
|
22127
21441
|
let result;
|
|
22128
21442
|
if (shouldAutoSubmit) {
|
|
22129
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
21443
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
22130
21444
|
}
|
|
22131
21445
|
if (onSubmit) {
|
|
22132
21446
|
await onSubmit(values);
|
|
@@ -22138,7 +21452,7 @@ function ContactWedding({
|
|
|
22138
21452
|
onSuccess?.(result);
|
|
22139
21453
|
}
|
|
22140
21454
|
} catch (error) {
|
|
22141
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
21455
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
22142
21456
|
helpers.setErrors(error.formErrors);
|
|
22143
21457
|
}
|
|
22144
21458
|
onError?.(error);
|
|
@@ -39808,7 +39122,7 @@ var FilterForm = React56__namespace.memo(function FilterForm2({
|
|
|
39808
39122
|
children: [
|
|
39809
39123
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: category.label }),
|
|
39810
39124
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39811
|
-
|
|
39125
|
+
Checkbox,
|
|
39812
39126
|
{
|
|
39813
39127
|
checked: isChecked,
|
|
39814
39128
|
onCheckedChange: (checked) => onCategoryChange(category.value, !!checked)
|
|
@@ -44909,7 +44223,7 @@ function FooterNewsletterContact({
|
|
|
44909
44223
|
validationSchema: {
|
|
44910
44224
|
email: (value) => {
|
|
44911
44225
|
if (!value) return "Email is required";
|
|
44912
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
44226
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
44913
44227
|
return void 0;
|
|
44914
44228
|
}
|
|
44915
44229
|
},
|
|
@@ -44921,7 +44235,7 @@ function FooterNewsletterContact({
|
|
|
44921
44235
|
try {
|
|
44922
44236
|
let result;
|
|
44923
44237
|
if (shouldAutoSubmit) {
|
|
44924
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
44238
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
44925
44239
|
}
|
|
44926
44240
|
if (onSubmit) {
|
|
44927
44241
|
await onSubmit(values.email);
|
|
@@ -44933,7 +44247,7 @@ function FooterNewsletterContact({
|
|
|
44933
44247
|
onSuccess?.(result);
|
|
44934
44248
|
}
|
|
44935
44249
|
} catch (error) {
|
|
44936
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
44250
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
44937
44251
|
helpers.setErrors(error.formErrors);
|
|
44938
44252
|
}
|
|
44939
44253
|
onError?.(error);
|
|
@@ -45077,7 +44391,7 @@ function FooterSplitImageAccordion({
|
|
|
45077
44391
|
validationSchema: {
|
|
45078
44392
|
email: (value) => {
|
|
45079
44393
|
if (!value) return "Email is required";
|
|
45080
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
44394
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
45081
44395
|
return void 0;
|
|
45082
44396
|
}
|
|
45083
44397
|
},
|
|
@@ -45089,7 +44403,7 @@ function FooterSplitImageAccordion({
|
|
|
45089
44403
|
try {
|
|
45090
44404
|
let result;
|
|
45091
44405
|
if (shouldAutoSubmit) {
|
|
45092
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
44406
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
45093
44407
|
}
|
|
45094
44408
|
if (onSubmit) {
|
|
45095
44409
|
await onSubmit(values.email);
|
|
@@ -45101,7 +44415,7 @@ function FooterSplitImageAccordion({
|
|
|
45101
44415
|
onSuccess?.(result);
|
|
45102
44416
|
}
|
|
45103
44417
|
} catch (error) {
|
|
45104
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
44418
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
45105
44419
|
helpers.setErrors(error.formErrors);
|
|
45106
44420
|
}
|
|
45107
44421
|
onError?.(error);
|
|
@@ -45334,7 +44648,7 @@ function FooterAccordionSocial({
|
|
|
45334
44648
|
validationSchema: {
|
|
45335
44649
|
email: (value) => {
|
|
45336
44650
|
if (!value) return "Email is required";
|
|
45337
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
44651
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
45338
44652
|
return void 0;
|
|
45339
44653
|
}
|
|
45340
44654
|
},
|
|
@@ -45346,7 +44660,7 @@ function FooterAccordionSocial({
|
|
|
45346
44660
|
try {
|
|
45347
44661
|
let result;
|
|
45348
44662
|
if (shouldAutoSubmit) {
|
|
45349
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
44663
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
45350
44664
|
}
|
|
45351
44665
|
if (onSubmit) {
|
|
45352
44666
|
await onSubmit(values.email);
|
|
@@ -45358,7 +44672,7 @@ function FooterAccordionSocial({
|
|
|
45358
44672
|
onSuccess?.(result);
|
|
45359
44673
|
}
|
|
45360
44674
|
} catch (error) {
|
|
45361
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
44675
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
45362
44676
|
helpers.setErrors(error.formErrors);
|
|
45363
44677
|
}
|
|
45364
44678
|
onError?.(error);
|
|
@@ -83782,7 +83096,7 @@ function ListSearchableGrid({
|
|
|
83782
83096
|
}
|
|
83783
83097
|
);
|
|
83784
83098
|
}
|
|
83785
|
-
var { useMemo:
|
|
83099
|
+
var { useMemo: useMemo441 } = React56__namespace;
|
|
83786
83100
|
function OfferModalNewsletterDiscount({
|
|
83787
83101
|
title,
|
|
83788
83102
|
emailPlaceholder,
|
|
@@ -83816,7 +83130,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83816
83130
|
validationSchema: {
|
|
83817
83131
|
email: (value) => {
|
|
83818
83132
|
if (!value) return "Email is required";
|
|
83819
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
83133
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
83820
83134
|
return void 0;
|
|
83821
83135
|
}
|
|
83822
83136
|
},
|
|
@@ -83828,7 +83142,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83828
83142
|
try {
|
|
83829
83143
|
let result;
|
|
83830
83144
|
if (shouldAutoSubmit) {
|
|
83831
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
83145
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
83832
83146
|
}
|
|
83833
83147
|
if (onSubmit) {
|
|
83834
83148
|
await onSubmit(values.email);
|
|
@@ -83840,7 +83154,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83840
83154
|
onSuccess?.(result);
|
|
83841
83155
|
}
|
|
83842
83156
|
} catch (error) {
|
|
83843
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
83157
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
83844
83158
|
helpers.setErrors(error.formErrors);
|
|
83845
83159
|
}
|
|
83846
83160
|
onError?.(error);
|
|
@@ -83850,7 +83164,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83850
83164
|
});
|
|
83851
83165
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
83852
83166
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83853
|
-
const renderCloseButton =
|
|
83167
|
+
const renderCloseButton = useMemo441(() => {
|
|
83854
83168
|
if (closeButtonSlot) return closeButtonSlot;
|
|
83855
83169
|
if (!closeButtonText) return null;
|
|
83856
83170
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute end-1.5 top-1.5", children: /* @__PURE__ */ jsxRuntime.jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -83864,12 +83178,12 @@ function OfferModalNewsletterDiscount({
|
|
|
83864
83178
|
}
|
|
83865
83179
|
) }) });
|
|
83866
83180
|
}, [closeButtonSlot, closeButtonText, closeClassName]);
|
|
83867
|
-
const renderHeader =
|
|
83181
|
+
const renderHeader = useMemo441(() => {
|
|
83868
83182
|
if (headerSlot) return headerSlot;
|
|
83869
83183
|
if (!title) return null;
|
|
83870
83184
|
return /* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { className: headerClassName, children: typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) : /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { className: cn("text-start font-serif text-2xl font-normal leading-snug", titleClassName), children: title }) });
|
|
83871
83185
|
}, [headerSlot, title, headerClassName, titleClassName]);
|
|
83872
|
-
const renderForm =
|
|
83186
|
+
const renderForm = useMemo441(() => {
|
|
83873
83187
|
if (formSlot) return formSlot;
|
|
83874
83188
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
83875
83189
|
forms.Form,
|
|
@@ -83931,7 +83245,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83931
83245
|
}
|
|
83932
83246
|
) });
|
|
83933
83247
|
}
|
|
83934
|
-
var { useMemo:
|
|
83248
|
+
var { useMemo: useMemo442 } = React56__namespace;
|
|
83935
83249
|
function OfferModalMembershipImage({
|
|
83936
83250
|
overline,
|
|
83937
83251
|
title,
|
|
@@ -83972,7 +83286,7 @@ function OfferModalMembershipImage({
|
|
|
83972
83286
|
validationSchema: {
|
|
83973
83287
|
email: (value) => {
|
|
83974
83288
|
if (!value) return "Please enter an email address";
|
|
83975
|
-
if (!isValidEmail(value)) {
|
|
83289
|
+
if (!integration.isValidEmail(value)) {
|
|
83976
83290
|
return "Please enter a valid email address";
|
|
83977
83291
|
}
|
|
83978
83292
|
return void 0;
|
|
@@ -83986,7 +83300,7 @@ function OfferModalMembershipImage({
|
|
|
83986
83300
|
try {
|
|
83987
83301
|
let result;
|
|
83988
83302
|
if (shouldAutoSubmit) {
|
|
83989
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
83303
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
83990
83304
|
}
|
|
83991
83305
|
if (onSubmit) {
|
|
83992
83306
|
await onSubmit(values.email);
|
|
@@ -83998,7 +83312,7 @@ function OfferModalMembershipImage({
|
|
|
83998
83312
|
onSuccess?.(result);
|
|
83999
83313
|
}
|
|
84000
83314
|
} catch (error) {
|
|
84001
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
83315
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
84002
83316
|
helpers.setErrors(error.formErrors);
|
|
84003
83317
|
}
|
|
84004
83318
|
onError?.(error);
|
|
@@ -84008,7 +83322,7 @@ function OfferModalMembershipImage({
|
|
|
84008
83322
|
});
|
|
84009
83323
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
84010
83324
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
84011
|
-
const renderImage =
|
|
83325
|
+
const renderImage = useMemo442(() => {
|
|
84012
83326
|
if (imageSlot) return imageSlot;
|
|
84013
83327
|
if (!image) return null;
|
|
84014
83328
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("max-h-[290px] h-full overflow-hidden max-lg:hidden", imageWrapperClassName), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -84021,7 +83335,7 @@ function OfferModalMembershipImage({
|
|
|
84021
83335
|
}
|
|
84022
83336
|
) });
|
|
84023
83337
|
}, [imageSlot, image, imageWrapperClassName, imageClassName, optixFlowConfig]);
|
|
84024
|
-
const renderCloseButton =
|
|
83338
|
+
const renderCloseButton = useMemo442(() => {
|
|
84025
83339
|
if (closeButtonSlot) return closeButtonSlot;
|
|
84026
83340
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -end-px -top-px z-10", children: /* @__PURE__ */ jsxRuntime.jsx(DialogClose, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
84027
83341
|
Pressable,
|
|
@@ -84037,7 +83351,7 @@ function OfferModalMembershipImage({
|
|
|
84037
83351
|
}
|
|
84038
83352
|
) }) });
|
|
84039
83353
|
}, [closeButtonSlot, closeClassName]);
|
|
84040
|
-
const renderForm =
|
|
83354
|
+
const renderForm = useMemo442(() => {
|
|
84041
83355
|
if (formSlot) return formSlot;
|
|
84042
83356
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
84043
83357
|
forms.Form,
|
|
@@ -84100,7 +83414,7 @@ function OfferModalMembershipImage({
|
|
|
84100
83414
|
}
|
|
84101
83415
|
);
|
|
84102
83416
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
84103
|
-
const renderFooter =
|
|
83417
|
+
const renderFooter = useMemo442(() => {
|
|
84104
83418
|
if (footerSlot) return footerSlot;
|
|
84105
83419
|
if (!description) return null;
|
|
84106
83420
|
return /* @__PURE__ */ jsxRuntime.jsx(DialogFooter, { className: footerClassName, children: /* @__PURE__ */ jsxRuntime.jsx(DialogDescription, { className: cn("text-muted-foreground text-center text-xs leading-relaxed", descriptionClassName), children: description }) });
|
|
@@ -84220,7 +83534,7 @@ function SheetDescription({
|
|
|
84220
83534
|
}
|
|
84221
83535
|
);
|
|
84222
83536
|
}
|
|
84223
|
-
var { useMemo:
|
|
83537
|
+
var { useMemo: useMemo443 } = React56__namespace;
|
|
84224
83538
|
function OfferModalSheetNewsletter({
|
|
84225
83539
|
logo,
|
|
84226
83540
|
logoSlot,
|
|
@@ -84267,7 +83581,7 @@ function OfferModalSheetNewsletter({
|
|
|
84267
83581
|
validationSchema: {
|
|
84268
83582
|
email: (value) => {
|
|
84269
83583
|
if (!value) return "Please enter an email address";
|
|
84270
|
-
if (!isValidEmail(value)) {
|
|
83584
|
+
if (!integration.isValidEmail(value)) {
|
|
84271
83585
|
return "Please enter a valid email address";
|
|
84272
83586
|
}
|
|
84273
83587
|
return void 0;
|
|
@@ -84281,7 +83595,7 @@ function OfferModalSheetNewsletter({
|
|
|
84281
83595
|
try {
|
|
84282
83596
|
let result;
|
|
84283
83597
|
if (shouldAutoSubmit) {
|
|
84284
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
83598
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
84285
83599
|
}
|
|
84286
83600
|
if (onSubmit) {
|
|
84287
83601
|
await onSubmit(values.email);
|
|
@@ -84293,7 +83607,7 @@ function OfferModalSheetNewsletter({
|
|
|
84293
83607
|
onSuccess?.(result);
|
|
84294
83608
|
}
|
|
84295
83609
|
} catch (error) {
|
|
84296
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
83610
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
84297
83611
|
helpers.setErrors(error.formErrors);
|
|
84298
83612
|
}
|
|
84299
83613
|
onError?.(error);
|
|
@@ -84303,7 +83617,7 @@ function OfferModalSheetNewsletter({
|
|
|
84303
83617
|
});
|
|
84304
83618
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
84305
83619
|
const sheetProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
84306
|
-
const renderLogo =
|
|
83620
|
+
const renderLogo = useMemo443(() => {
|
|
84307
83621
|
if (logoSlot) return logoSlot;
|
|
84308
83622
|
if (!logo) return null;
|
|
84309
83623
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
@@ -84317,7 +83631,7 @@ function OfferModalSheetNewsletter({
|
|
|
84317
83631
|
}
|
|
84318
83632
|
);
|
|
84319
83633
|
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
84320
|
-
const renderHeader =
|
|
83634
|
+
const renderHeader = useMemo443(() => {
|
|
84321
83635
|
if (headerSlot) return headerSlot;
|
|
84322
83636
|
return /* @__PURE__ */ jsxRuntime.jsxs(SheetHeader, { className: cn("gap-8 p-0", headerClassName), children: [
|
|
84323
83637
|
renderLogo,
|
|
@@ -84327,7 +83641,7 @@ function OfferModalSheetNewsletter({
|
|
|
84327
83641
|
] })
|
|
84328
83642
|
] });
|
|
84329
83643
|
}, [headerSlot, renderLogo, headerClassName, title, titleClassName, description, descriptionClassName]);
|
|
84330
|
-
const renderForm =
|
|
83644
|
+
const renderForm = useMemo443(() => {
|
|
84331
83645
|
if (formSlot) return formSlot;
|
|
84332
83646
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
84333
83647
|
forms.Form,
|
|
@@ -84375,7 +83689,7 @@ function OfferModalSheetNewsletter({
|
|
|
84375
83689
|
}
|
|
84376
83690
|
);
|
|
84377
83691
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
84378
|
-
const renderLegal =
|
|
83692
|
+
const renderLegal = useMemo443(() => {
|
|
84379
83693
|
if (legalSlot) return legalSlot;
|
|
84380
83694
|
if (!termsUrl || !termsText || !privacyUrl || !privacyText) return null;
|
|
84381
83695
|
return /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cn("text-muted-foreground text-xs", legalClassName), children: [
|
|
@@ -84389,7 +83703,7 @@ function OfferModalSheetNewsletter({
|
|
|
84389
83703
|
"."
|
|
84390
83704
|
] });
|
|
84391
83705
|
}, [legalSlot, termsUrl, termsText, privacyUrl, privacyText, legalClassName]);
|
|
84392
|
-
const renderImage =
|
|
83706
|
+
const renderImage = useMemo443(() => {
|
|
84393
83707
|
if (imageSlot) return imageSlot;
|
|
84394
83708
|
if (!image) return null;
|
|
84395
83709
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("h-1/2 basis-1/2", imageWrapperClassName), children: /* @__PURE__ */ jsxRuntime.jsx(AspectRatio, { ratio: 1, className: "overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -95756,7 +95070,7 @@ var FilterForm3 = ({ categories, onCategoryChange }) => {
|
|
|
95756
95070
|
children: [
|
|
95757
95071
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: category.label }),
|
|
95758
95072
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
95759
|
-
|
|
95073
|
+
Checkbox,
|
|
95760
95074
|
{
|
|
95761
95075
|
checked: isChecked,
|
|
95762
95076
|
onCheckedChange: (checked) => handleCheckboxChange(!!checked, category.value)
|
|
@@ -95841,7 +95155,7 @@ var EmailForm = ({
|
|
|
95841
95155
|
validationSchema: {
|
|
95842
95156
|
email: (value) => {
|
|
95843
95157
|
if (!value) return "Email is required";
|
|
95844
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
95158
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
95845
95159
|
return void 0;
|
|
95846
95160
|
}
|
|
95847
95161
|
},
|
|
@@ -95853,7 +95167,7 @@ var EmailForm = ({
|
|
|
95853
95167
|
try {
|
|
95854
95168
|
let result;
|
|
95855
95169
|
if (shouldAutoSubmit) {
|
|
95856
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
95170
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
95857
95171
|
}
|
|
95858
95172
|
if (onSubmit) {
|
|
95859
95173
|
await onSubmit(values.email);
|
|
@@ -95865,7 +95179,7 @@ var EmailForm = ({
|
|
|
95865
95179
|
onSuccess?.(result);
|
|
95866
95180
|
}
|
|
95867
95181
|
} catch (error) {
|
|
95868
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
95182
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
95869
95183
|
helpers.setErrors(error.formErrors);
|
|
95870
95184
|
}
|
|
95871
95185
|
onError?.(error);
|
|
@@ -101947,7 +101261,7 @@ function LinkPageNewsletterSocial({
|
|
|
101947
101261
|
validationSchema: {
|
|
101948
101262
|
email: (value) => {
|
|
101949
101263
|
if (!value) return "Email is required";
|
|
101950
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
101264
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
101951
101265
|
return void 0;
|
|
101952
101266
|
}
|
|
101953
101267
|
},
|
|
@@ -101959,7 +101273,7 @@ function LinkPageNewsletterSocial({
|
|
|
101959
101273
|
try {
|
|
101960
101274
|
let result;
|
|
101961
101275
|
if (shouldAutoSubmit) {
|
|
101962
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
101276
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
101963
101277
|
}
|
|
101964
101278
|
if (onSubmit) {
|
|
101965
101279
|
await onSubmit(values.email);
|
|
@@ -101971,7 +101285,7 @@ function LinkPageNewsletterSocial({
|
|
|
101971
101285
|
onSuccess?.(result);
|
|
101972
101286
|
}
|
|
101973
101287
|
} catch (error) {
|
|
101974
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
101288
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
101975
101289
|
helpers.setErrors(error.formErrors);
|
|
101976
101290
|
}
|
|
101977
101291
|
onError?.(error);
|