@opensite/ui 1.9.3 → 1.9.5
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 +2 -2
- package/dist/about-company-profile.d.ts +2 -2
- package/dist/about-culture-tabs.d.cts +2 -2
- package/dist/about-culture-tabs.d.ts +2 -2
- package/dist/about-developer-profile.d.cts +2 -2
- package/dist/about-developer-profile.d.ts +2 -2
- package/dist/about-developer-story.d.cts +2 -2
- package/dist/about-developer-story.d.ts +2 -2
- package/dist/about-expandable-values.d.cts +2 -2
- package/dist/about-expandable-values.d.ts +2 -2
- package/dist/about-interactive-tabs.d.cts +2 -2
- package/dist/about-interactive-tabs.d.ts +2 -2
- package/dist/about-location-info-hero.d.cts +2 -2
- package/dist/about-location-info-hero.d.ts +2 -2
- package/dist/about-minimal-story.d.cts +2 -2
- package/dist/about-minimal-story.d.ts +2 -2
- package/dist/about-mission-dual-image.d.cts +2 -2
- package/dist/about-mission-dual-image.d.ts +2 -2
- package/dist/about-mission-features.d.cts +2 -2
- package/dist/about-mission-features.d.ts +2 -2
- package/dist/about-mission-principles.d.cts +2 -2
- package/dist/about-mission-principles.d.ts +2 -2
- package/dist/about-network-spotlight.d.cts +2 -2
- package/dist/about-network-spotlight.d.ts +2 -2
- package/dist/about-split-hero.d.cts +2 -2
- package/dist/about-split-hero.d.ts +2 -2
- package/dist/about-startup-team.d.cts +2 -2
- package/dist/about-startup-team.d.ts +2 -2
- package/dist/about-stats-showcase.d.cts +2 -2
- package/dist/about-stats-showcase.d.ts +2 -2
- package/dist/about-stats-sidebar.d.cts +2 -2
- package/dist/about-stats-sidebar.d.ts +2 -2
- package/dist/about-story-expertise.d.cts +2 -2
- package/dist/about-story-expertise.d.ts +2 -2
- package/dist/about-story-gallery.d.cts +2 -2
- package/dist/about-story-gallery.d.ts +2 -2
- package/dist/about-story-hero.d.cts +2 -2
- package/dist/about-story-hero.d.ts +2 -2
- package/dist/about-streamline-team.d.cts +2 -2
- package/dist/about-streamline-team.d.ts +2 -2
- package/dist/about-vision-gallery.d.cts +2 -2
- package/dist/about-vision-gallery.d.ts +2 -2
- package/dist/alternating-blocks.d.cts +2 -2
- package/dist/alternating-blocks.d.ts +2 -2
- package/dist/animated-dialog.d.cts +2 -2
- package/dist/animated-dialog.d.ts +2 -2
- package/dist/article-breadcrumb-social.d.cts +2 -2
- package/dist/article-breadcrumb-social.d.ts +2 -2
- package/dist/article-chapters-author.d.cts +2 -2
- package/dist/article-chapters-author.d.ts +2 -2
- package/dist/article-compact-toc.d.cts +2 -2
- package/dist/article-compact-toc.d.ts +2 -2
- package/dist/article-hero-prose.d.cts +2 -2
- package/dist/article-hero-prose.d.ts +2 -2
- package/dist/article-sidebar-sticky.d.cts +2 -2
- package/dist/article-sidebar-sticky.d.ts +2 -2
- package/dist/article-split-animated.d.cts +2 -2
- package/dist/article-split-animated.d.ts +2 -2
- package/dist/article-toc-sidebar.d.cts +2 -2
- package/dist/article-toc-sidebar.d.ts +2 -2
- package/dist/auto-scroll-carousel.d.cts +2 -2
- package/dist/auto-scroll-carousel.d.ts +2 -2
- package/dist/banner-announcement-dismissible.d.cts +2 -2
- package/dist/banner-announcement-dismissible.d.ts +2 -2
- package/dist/banner-countdown-sale.d.cts +2 -2
- package/dist/banner-countdown-sale.d.ts +2 -2
- package/dist/banner-delivery-countdown.d.cts +2 -2
- package/dist/banner-delivery-countdown.d.ts +2 -2
- package/dist/banner-event-promo.d.cts +2 -2
- package/dist/banner-event-promo.d.ts +2 -2
- package/dist/banner-floating-offer.d.cts +2 -2
- package/dist/banner-floating-offer.d.ts +2 -2
- package/dist/banner-gdpr-rights.d.cts +2 -2
- package/dist/banner-gdpr-rights.d.ts +2 -2
- package/dist/banner-privacy-notice.d.cts +2 -2
- package/dist/banner-privacy-notice.d.ts +2 -2
- package/dist/banner-promo-cta.d.cts +2 -2
- package/dist/banner-promo-cta.d.ts +2 -2
- package/dist/banner-social-follow.d.cts +2 -2
- package/dist/banner-social-follow.d.ts +2 -2
- package/dist/banner-survey-incentive.d.cts +2 -2
- package/dist/banner-survey-incentive.d.ts +2 -2
- package/dist/{blocks-rgCERYOC.d.cts → blocks-Cohq4eio.d.cts} +1 -1
- package/dist/{blocks-ClXAGlHQ.d.ts → blocks-k17uluAz.d.ts} +1 -1
- package/dist/blog-cards-read-time.d.cts +2 -2
- package/dist/blog-cards-read-time.d.ts +2 -2
- package/dist/blog-cards-tagline-cta.d.cts +2 -2
- package/dist/blog-cards-tagline-cta.d.ts +2 -2
- package/dist/blog-carousel-apple.d.cts +2 -2
- package/dist/blog-carousel-apple.d.ts +2 -2
- package/dist/blog-category-overlay.d.cts +2 -2
- package/dist/blog-category-overlay.d.ts +2 -2
- package/dist/blog-featured-popular.d.cts +2 -2
- package/dist/blog-featured-popular.d.ts +2 -2
- package/dist/blog-filtered-results.d.cts +2 -2
- package/dist/blog-filtered-results.d.ts +2 -2
- package/dist/blog-grid-author-cards.d.cts +2 -2
- package/dist/blog-grid-author-cards.d.ts +2 -2
- package/dist/blog-grid-nine-posts.d.cts +2 -2
- package/dist/blog-grid-nine-posts.d.ts +2 -2
- package/dist/blog-horizontal-cards.d.cts +2 -2
- package/dist/blog-horizontal-cards.d.ts +2 -2
- package/dist/blog-horizontal-timeline.d.cts +2 -2
- package/dist/blog-horizontal-timeline.d.ts +2 -2
- package/dist/blog-masonry-featured.d.cts +2 -2
- package/dist/blog-masonry-featured.d.ts +2 -2
- package/dist/blog-related-articles.d.cts +2 -2
- package/dist/blog-related-articles.d.ts +2 -2
- package/dist/blog-tech-insights.d.cts +2 -2
- package/dist/blog-tech-insights.d.ts +2 -2
- package/dist/blur-vignette-grid.d.cts +2 -2
- package/dist/blur-vignette-grid.d.ts +2 -2
- package/dist/carousel-animated-sections.d.cts +2 -2
- package/dist/carousel-animated-sections.d.ts +2 -2
- package/dist/carousel-auto-progress-slides.d.cts +2 -2
- package/dist/carousel-auto-progress-slides.d.ts +2 -2
- package/dist/carousel-autoplay-progress.d.cts +2 -2
- package/dist/carousel-autoplay-progress.d.ts +2 -2
- package/dist/carousel-badge-cards.d.cts +2 -2
- package/dist/carousel-badge-cards.d.ts +2 -2
- package/dist/carousel-demo-link.d.cts +2 -2
- package/dist/carousel-demo-link.d.ts +2 -2
- package/dist/carousel-feature-badge.d.cts +2 -2
- package/dist/carousel-feature-badge.d.ts +2 -2
- package/dist/carousel-fullscreen-scroll-fx.d.cts +2 -2
- package/dist/carousel-fullscreen-scroll-fx.d.ts +2 -2
- package/dist/carousel-gallery-thumbnails.d.cts +2 -2
- package/dist/carousel-gallery-thumbnails.d.ts +2 -2
- package/dist/carousel-gradient-overlay.d.cts +2 -2
- package/dist/carousel-gradient-overlay.d.ts +2 -2
- package/dist/carousel-gradient-text.d.cts +2 -2
- package/dist/carousel-gradient-text.d.ts +2 -2
- package/dist/carousel-horizontal-cards.d.cts +2 -2
- package/dist/carousel-horizontal-cards.d.ts +2 -2
- package/dist/carousel-icon-sidebar.d.cts +2 -2
- package/dist/carousel-icon-sidebar.d.ts +2 -2
- package/dist/carousel-icon-tabs.d.cts +2 -2
- package/dist/carousel-icon-tabs.d.ts +2 -2
- package/dist/carousel-image-hero.d.cts +2 -2
- package/dist/carousel-image-hero.d.ts +2 -2
- package/dist/carousel-multi-step-showcase.d.cts +2 -2
- package/dist/carousel-multi-step-showcase.d.ts +2 -2
- package/dist/carousel-portfolio-hero.d.cts +2 -2
- package/dist/carousel-portfolio-hero.d.ts +2 -2
- package/dist/carousel-product-feature-showcase.d.cts +2 -2
- package/dist/carousel-product-feature-showcase.d.ts +2 -2
- package/dist/carousel-progress-slider.d.cts +2 -2
- package/dist/carousel-progress-slider.d.ts +2 -2
- package/dist/carousel-scale-focus.d.cts +2 -2
- package/dist/carousel-scale-focus.d.ts +2 -2
- package/dist/carousel-scrolling-feature-showcase.d.cts +2 -2
- package/dist/carousel-scrolling-feature-showcase.d.ts +2 -2
- package/dist/carousel-sidebar-resources.d.cts +2 -2
- package/dist/carousel-sidebar-resources.d.ts +2 -2
- package/dist/carousel-tabs-content.d.cts +2 -2
- package/dist/carousel-tabs-content.d.ts +2 -2
- package/dist/case-studies-featured-border.d.cts +2 -2
- package/dist/case-studies-featured-border.d.ts +2 -2
- package/dist/case-studies-image-grid.d.cts +2 -2
- package/dist/case-studies-image-grid.d.ts +2 -2
- package/dist/case-studies-stats-card.d.cts +2 -2
- package/dist/case-studies-stats-card.d.ts +2 -2
- package/dist/case-studies-testimonial-stats.d.cts +2 -2
- package/dist/case-studies-testimonial-stats.d.ts +2 -2
- package/dist/case-study-prose-sidebar.d.cts +2 -2
- package/dist/case-study-prose-sidebar.d.ts +2 -2
- package/dist/case-study-stats-metrics.d.cts +2 -2
- package/dist/case-study-stats-metrics.d.ts +2 -2
- package/dist/case-study-toc-social-sidebar.d.cts +2 -2
- package/dist/case-study-toc-social-sidebar.d.ts +2 -2
- package/dist/{community-initiatives-AwBlQu1a.d.ts → community-initiatives-Bi_ClKrO.d.ts} +2 -2
- package/dist/{community-initiatives-k1_FqqBQ.d.cts → community-initiatives-Bz_A5vLU.d.cts} +2 -2
- package/dist/community-initiatives.d.cts +2 -2
- package/dist/community-initiatives.d.ts +2 -2
- package/dist/comparison-ai-models.d.cts +2 -2
- package/dist/comparison-ai-models.d.ts +2 -2
- package/dist/comparison-feature-cards.d.cts +2 -2
- package/dist/comparison-feature-cards.d.ts +2 -2
- package/dist/comparison-feature-grid.d.cts +2 -2
- package/dist/comparison-feature-grid.d.ts +2 -2
- package/dist/comparison-grid-badges.d.cts +2 -2
- package/dist/comparison-grid-badges.d.ts +2 -2
- package/dist/comparison-image-cards.d.cts +2 -2
- package/dist/comparison-image-cards.d.ts +2 -2
- package/dist/comparison-legacy-modern.d.cts +2 -2
- package/dist/comparison-legacy-modern.d.ts +2 -2
- package/dist/comparison-metrics-rows.d.cts +2 -2
- package/dist/comparison-metrics-rows.d.ts +2 -2
- package/dist/comparison-table-tabs.d.cts +2 -2
- package/dist/comparison-table-tabs.d.ts +2 -2
- package/dist/comparison-table-tooltips.d.cts +2 -2
- package/dist/comparison-table-tooltips.d.ts +2 -2
- package/dist/comparison-table-two-column.d.cts +2 -2
- package/dist/comparison-table-two-column.d.ts +2 -2
- package/dist/components.cjs +3 -122
- package/dist/components.d.cts +2 -3
- package/dist/components.d.ts +2 -3
- package/dist/components.js +1 -120
- package/dist/contact-callback.cjs +3 -500
- package/dist/contact-callback.d.cts +3 -5
- package/dist/contact-callback.d.ts +3 -5
- package/dist/contact-callback.js +3 -500
- package/dist/contact-card.cjs +3 -500
- package/dist/contact-card.d.cts +3 -5
- package/dist/contact-card.d.ts +3 -5
- package/dist/contact-card.js +3 -500
- package/dist/contact-careers.cjs +4 -565
- package/dist/contact-careers.d.cts +3 -5
- package/dist/contact-careers.d.ts +3 -5
- package/dist/contact-careers.js +3 -564
- package/dist/contact-catering.cjs +3 -500
- package/dist/contact-catering.d.cts +3 -5
- package/dist/contact-catering.d.ts +3 -5
- package/dist/contact-catering.js +3 -500
- package/dist/contact-consultation.cjs +2 -499
- package/dist/contact-consultation.d.cts +3 -5
- package/dist/contact-consultation.d.ts +3 -5
- package/dist/contact-consultation.js +3 -500
- package/dist/contact-dark.cjs +33 -604
- package/dist/contact-dark.d.cts +3 -5
- package/dist/contact-dark.d.ts +3 -5
- package/dist/contact-dark.js +33 -604
- package/dist/contact-demo.cjs +2 -117
- package/dist/contact-demo.d.cts +3 -4
- package/dist/contact-demo.d.ts +3 -4
- package/dist/contact-demo.js +1 -116
- package/dist/contact-emergency.cjs +2 -117
- package/dist/contact-emergency.d.cts +3 -4
- package/dist/contact-emergency.d.ts +3 -4
- package/dist/contact-emergency.js +1 -116
- package/dist/contact-event.cjs +2 -117
- package/dist/contact-event.d.cts +3 -4
- package/dist/contact-event.d.ts +3 -4
- package/dist/contact-event.js +1 -116
- package/dist/contact-faq.cjs +33 -604
- package/dist/contact-faq.d.cts +3 -5
- package/dist/contact-faq.d.ts +3 -5
- package/dist/contact-faq.js +33 -604
- package/dist/contact-feedback.cjs +2 -117
- package/dist/contact-feedback.d.cts +3 -4
- package/dist/contact-feedback.d.ts +3 -4
- package/dist/contact-feedback.js +1 -116
- package/dist/contact-fitness.cjs +2 -117
- package/dist/contact-fitness.d.cts +3 -4
- package/dist/contact-fitness.d.ts +3 -4
- package/dist/contact-fitness.js +1 -116
- package/dist/contact-floating-banner.d.cts +2 -2
- package/dist/contact-floating-banner.d.ts +2 -2
- package/dist/contact-guest.cjs +2 -117
- package/dist/contact-guest.d.cts +3 -4
- package/dist/contact-guest.d.ts +3 -4
- package/dist/contact-guest.js +1 -116
- package/dist/contact-help-center.d.cts +2 -2
- package/dist/contact-help-center.d.ts +2 -2
- package/dist/contact-image.cjs +2 -117
- package/dist/contact-image.d.cts +3 -4
- package/dist/contact-image.d.ts +3 -4
- package/dist/contact-image.js +1 -116
- package/dist/contact-insurance.cjs +2 -117
- package/dist/contact-insurance.d.cts +3 -4
- package/dist/contact-insurance.d.ts +3 -4
- package/dist/contact-insurance.js +1 -116
- package/dist/contact-interview.cjs +2 -117
- package/dist/contact-interview.d.cts +3 -4
- package/dist/contact-interview.d.ts +3 -4
- package/dist/contact-interview.js +1 -116
- package/dist/contact-locations.cjs +2 -117
- package/dist/contact-locations.d.cts +3 -4
- package/dist/contact-locations.d.ts +3 -4
- package/dist/contact-locations.js +1 -116
- package/dist/contact-maintenance.cjs +2 -117
- package/dist/contact-maintenance.d.cts +3 -4
- package/dist/contact-maintenance.d.ts +3 -4
- package/dist/contact-maintenance.js +1 -116
- package/dist/contact-map.cjs +2 -117
- package/dist/contact-map.d.cts +3 -4
- package/dist/contact-map.d.ts +3 -4
- package/dist/contact-map.js +1 -116
- package/dist/contact-minimal.cjs +2 -117
- package/dist/contact-minimal.d.cts +3 -4
- package/dist/contact-minimal.d.ts +3 -4
- package/dist/contact-minimal.js +1 -116
- package/dist/contact-moving.cjs +2 -117
- package/dist/contact-moving.d.cts +3 -4
- package/dist/contact-moving.d.ts +3 -4
- package/dist/contact-moving.js +1 -116
- package/dist/contact-multistep.cjs +2 -117
- package/dist/contact-multistep.d.cts +3 -4
- package/dist/contact-multistep.d.ts +3 -4
- package/dist/contact-multistep.js +1 -116
- package/dist/contact-partnership.cjs +2 -117
- package/dist/contact-partnership.d.cts +3 -4
- package/dist/contact-partnership.d.ts +3 -4
- package/dist/contact-partnership.js +1 -116
- package/dist/contact-photography.cjs +197 -695
- package/dist/contact-photography.d.cts +12 -6
- package/dist/contact-photography.d.ts +12 -6
- package/dist/contact-photography.js +196 -694
- package/dist/contact-press.cjs +2 -117
- package/dist/contact-press.d.cts +3 -4
- package/dist/contact-press.d.ts +3 -4
- package/dist/contact-press.js +1 -116
- package/dist/contact-quote.cjs +2 -117
- package/dist/contact-quote.d.cts +3 -4
- package/dist/contact-quote.d.ts +3 -4
- package/dist/contact-quote.js +1 -116
- package/dist/contact-referral.cjs +2 -117
- package/dist/contact-referral.d.cts +3 -4
- package/dist/contact-referral.d.ts +3 -4
- package/dist/contact-referral.js +1 -116
- package/dist/contact-report.cjs +2 -117
- package/dist/contact-report.d.cts +3 -4
- package/dist/contact-report.d.ts +3 -4
- package/dist/contact-report.js +1 -116
- package/dist/contact-reservation.cjs +2 -117
- package/dist/contact-reservation.d.cts +3 -4
- package/dist/contact-reservation.d.ts +3 -4
- package/dist/contact-reservation.js +1 -116
- package/dist/contact-retreat.cjs +2 -117
- package/dist/contact-retreat.d.cts +3 -4
- package/dist/contact-retreat.d.ts +3 -4
- package/dist/contact-retreat.js +1 -116
- package/dist/contact-rsvp.cjs +2 -117
- package/dist/contact-rsvp.d.cts +3 -4
- package/dist/contact-rsvp.d.ts +3 -4
- package/dist/contact-rsvp.js +1 -116
- package/dist/contact-sales.cjs +2 -117
- package/dist/contact-sales.d.cts +3 -4
- package/dist/contact-sales.d.ts +3 -4
- package/dist/contact-sales.js +1 -116
- package/dist/contact-schedule.cjs +2 -117
- package/dist/contact-schedule.d.cts +3 -4
- package/dist/contact-schedule.d.ts +3 -4
- package/dist/contact-schedule.js +1 -116
- package/dist/contact-sponsorship.cjs +2 -117
- package/dist/contact-sponsorship.d.cts +3 -4
- package/dist/contact-sponsorship.d.ts +3 -4
- package/dist/contact-sponsorship.js +1 -116
- package/dist/contact-support.cjs +2 -117
- package/dist/contact-support.d.cts +3 -4
- package/dist/contact-support.d.ts +3 -4
- package/dist/contact-support.js +1 -116
- package/dist/contact-tenant.cjs +2 -117
- package/dist/contact-tenant.d.cts +3 -4
- package/dist/contact-tenant.d.ts +3 -4
- package/dist/contact-tenant.js +1 -116
- package/dist/contact-vendor.cjs +2 -117
- package/dist/contact-vendor.d.cts +3 -4
- package/dist/contact-vendor.d.ts +3 -4
- package/dist/contact-vendor.js +1 -116
- package/dist/contact-volunteer.cjs +2 -117
- package/dist/contact-volunteer.d.cts +3 -4
- package/dist/contact-volunteer.d.ts +3 -4
- package/dist/contact-volunteer.js +1 -116
- package/dist/contact-warranty.cjs +2 -117
- package/dist/contact-warranty.d.cts +3 -4
- package/dist/contact-warranty.d.ts +3 -4
- package/dist/contact-warranty.js +1 -116
- package/dist/contact-wedding.cjs +2 -117
- package/dist/contact-wedding.d.cts +3 -4
- package/dist/contact-wedding.d.ts +3 -4
- package/dist/contact-wedding.js +1 -116
- package/dist/container.d.cts +2 -2
- package/dist/container.d.ts +2 -2
- package/dist/cta-accent-background.d.cts +2 -2
- package/dist/cta-accent-background.d.ts +2 -2
- package/dist/cta-app-download-newsletter.cjs +3 -122
- package/dist/cta-app-download-newsletter.d.cts +3 -4
- package/dist/cta-app-download-newsletter.d.ts +3 -4
- package/dist/cta-app-download-newsletter.js +1 -120
- package/dist/cta-background-icon-badge.d.cts +2 -2
- package/dist/cta-background-icon-badge.d.ts +2 -2
- package/dist/cta-case-study-testimonial.d.cts +2 -2
- package/dist/cta-case-study-testimonial.d.ts +2 -2
- package/dist/cta-documentation-links.d.cts +2 -2
- package/dist/cta-documentation-links.d.ts +2 -2
- package/dist/cta-enterprise-dark-features.d.cts +2 -2
- package/dist/cta-enterprise-dark-features.d.ts +2 -2
- package/dist/cta-enterprise-split.d.cts +2 -2
- package/dist/cta-enterprise-split.d.ts +2 -2
- package/dist/cta-feature-cards-grid.d.cts +2 -2
- package/dist/cta-feature-cards-grid.d.ts +2 -2
- package/dist/cta-feature-checklist.d.cts +2 -2
- package/dist/cta-feature-checklist.d.ts +2 -2
- package/dist/cta-feature-list.d.cts +2 -2
- package/dist/cta-feature-list.d.ts +2 -2
- package/dist/cta-fullwidth-background.d.cts +2 -2
- package/dist/cta-fullwidth-background.d.ts +2 -2
- package/dist/cta-gradient-logos-floating.d.cts +2 -2
- package/dist/cta-gradient-logos-floating.d.ts +2 -2
- package/dist/cta-gradient-stats-hero.d.cts +2 -2
- package/dist/cta-gradient-stats-hero.d.ts +2 -2
- package/dist/cta-hero-feature-cards.d.cts +2 -2
- package/dist/cta-hero-feature-cards.d.ts +2 -2
- package/dist/cta-image-overlay-arrow.d.cts +2 -2
- package/dist/cta-image-overlay-arrow.d.ts +2 -2
- package/dist/cta-image-overlay-centered.d.cts +2 -2
- package/dist/cta-image-overlay-centered.d.ts +2 -2
- package/dist/cta-minimal-separator.d.cts +2 -2
- package/dist/cta-minimal-separator.d.ts +2 -2
- package/dist/cta-newsletter-features.cjs +3 -122
- package/dist/cta-newsletter-features.d.cts +3 -4
- package/dist/cta-newsletter-features.d.ts +3 -4
- package/dist/cta-newsletter-features.js +1 -120
- package/dist/cta-pattern-background.d.cts +2 -2
- package/dist/cta-pattern-background.d.ts +2 -2
- package/dist/cta-platform-demo.d.cts +2 -2
- package/dist/cta-platform-demo.d.ts +2 -2
- package/dist/cta-simple-centered.d.cts +2 -2
- package/dist/cta-simple-centered.d.ts +2 -2
- package/dist/cta-split-gradient-image.d.cts +2 -2
- package/dist/cta-split-gradient-image.d.ts +2 -2
- package/dist/cta-split-image-logos.d.cts +2 -2
- package/dist/cta-split-image-logos.d.ts +2 -2
- package/dist/cta-split-image.d.cts +2 -2
- package/dist/cta-split-image.d.ts +2 -2
- package/dist/cta-stacked-cards.d.cts +2 -2
- package/dist/cta-stacked-cards.d.ts +2 -2
- package/dist/cta-video-background-hero.d.cts +2 -2
- package/dist/cta-video-background-hero.d.ts +2 -2
- package/dist/cta-workflow-tabs.d.cts +2 -2
- package/dist/cta-workflow-tabs.d.ts +2 -2
- package/dist/expandable-case-study-cards.d.cts +2 -2
- package/dist/expandable-case-study-cards.d.ts +2 -2
- package/dist/faq-badge-support.d.cts +2 -2
- package/dist/faq-badge-support.d.ts +2 -2
- package/dist/faq-bordered-badge.d.cts +2 -2
- package/dist/faq-bordered-badge.d.ts +2 -2
- package/dist/faq-card-categories.d.cts +2 -2
- package/dist/faq-card-categories.d.ts +2 -2
- package/dist/faq-categorized-sections.d.cts +2 -2
- package/dist/faq-categorized-sections.d.ts +2 -2
- package/dist/faq-centered-accordion.d.cts +2 -2
- package/dist/faq-centered-accordion.d.ts +2 -2
- package/dist/faq-gradient-categories.d.cts +2 -2
- package/dist/faq-gradient-categories.d.ts +2 -2
- package/dist/faq-icon-benefits.d.cts +2 -2
- package/dist/faq-icon-benefits.d.ts +2 -2
- package/dist/faq-muted-cards.d.cts +2 -2
- package/dist/faq-muted-cards.d.ts +2 -2
- package/dist/faq-numbered-grid.d.cts +2 -2
- package/dist/faq-numbered-grid.d.ts +2 -2
- package/dist/faq-numbered-list.d.cts +2 -2
- package/dist/faq-numbered-list.d.ts +2 -2
- package/dist/faq-profile-sidebar.d.cts +2 -2
- package/dist/faq-profile-sidebar.d.ts +2 -2
- package/dist/faq-rounded-cards.d.cts +2 -2
- package/dist/faq-rounded-cards.d.ts +2 -2
- package/dist/faq-sidebar-navigation.d.cts +2 -2
- package/dist/faq-sidebar-navigation.d.ts +2 -2
- package/dist/faq-simple-accordion.d.cts +2 -2
- package/dist/faq-simple-accordion.d.ts +2 -2
- package/dist/faq-split-help.d.cts +2 -2
- package/dist/faq-split-help.d.ts +2 -2
- package/dist/faq-split-hero.d.cts +2 -2
- package/dist/faq-split-hero.d.ts +2 -2
- package/dist/faq-static-list.d.cts +2 -2
- package/dist/faq-static-list.d.ts +2 -2
- package/dist/feature-accordion-image.d.cts +2 -2
- package/dist/feature-accordion-image.d.ts +2 -2
- package/dist/feature-animated-carousel.d.cts +2 -2
- package/dist/feature-animated-carousel.d.ts +2 -2
- package/dist/feature-badge-grid-six.d.cts +2 -2
- package/dist/feature-badge-grid-six.d.ts +2 -2
- package/dist/feature-bento-image-grid.d.cts +2 -2
- package/dist/feature-bento-image-grid.d.ts +2 -2
- package/dist/feature-bento-utilities.d.cts +2 -2
- package/dist/feature-bento-utilities.d.ts +2 -2
- package/dist/feature-capabilities-grid.d.cts +2 -2
- package/dist/feature-capabilities-grid.d.ts +2 -2
- package/dist/feature-card-grid-linked.d.cts +2 -2
- package/dist/feature-card-grid-linked.d.ts +2 -2
- package/dist/feature-carousel-progress.d.cts +2 -2
- package/dist/feature-carousel-progress.d.ts +2 -2
- package/dist/feature-category-image-cards.d.cts +2 -2
- package/dist/feature-category-image-cards.d.ts +2 -2
- package/dist/feature-checklist-image.d.cts +2 -2
- package/dist/feature-checklist-image.d.ts +2 -2
- package/dist/feature-checklist-three-column.d.cts +2 -2
- package/dist/feature-checklist-three-column.d.ts +2 -2
- package/dist/feature-icon-grid-accent.d.cts +2 -2
- package/dist/feature-icon-grid-accent.d.ts +2 -2
- package/dist/feature-icon-grid-bordered.d.cts +2 -2
- package/dist/feature-icon-grid-bordered.d.ts +2 -2
- package/dist/feature-icon-grid-muted.d.cts +2 -2
- package/dist/feature-icon-grid-muted.d.ts +2 -2
- package/dist/feature-icon-tabs-content.d.cts +2 -2
- package/dist/feature-icon-tabs-content.d.ts +2 -2
- package/dist/feature-image-cards-three-column.d.cts +2 -2
- package/dist/feature-image-cards-three-column.d.ts +2 -2
- package/dist/feature-image-overlay-badge.d.cts +2 -2
- package/dist/feature-image-overlay-badge.d.ts +2 -2
- package/dist/feature-integration-cards.d.cts +2 -2
- package/dist/feature-integration-cards.d.ts +2 -2
- package/dist/feature-numbered-cards.d.cts +2 -2
- package/dist/feature-numbered-cards.d.ts +2 -2
- package/dist/feature-pattern-grid-links.d.cts +2 -2
- package/dist/feature-pattern-grid-links.d.ts +2 -2
- package/dist/feature-showcase.d.cts +3 -3
- package/dist/feature-showcase.d.ts +3 -3
- package/dist/feature-split-image-reverse.d.cts +2 -2
- package/dist/feature-split-image-reverse.d.ts +2 -2
- package/dist/feature-split-image.d.cts +2 -2
- package/dist/feature-split-image.d.ts +2 -2
- package/dist/feature-stats-highlight.d.cts +2 -2
- package/dist/feature-stats-highlight.d.ts +2 -2
- package/dist/feature-tabbed-content-image.d.cts +2 -2
- package/dist/feature-tabbed-content-image.d.ts +2 -2
- package/dist/feature-three-column-values.d.cts +2 -2
- package/dist/feature-three-column-values.d.ts +2 -2
- package/dist/feature-utility-cards-grid.d.cts +2 -2
- package/dist/feature-utility-cards-grid.d.ts +2 -2
- package/dist/footer-accordion-social.cjs +3 -122
- package/dist/footer-accordion-social.d.cts +3 -4
- package/dist/footer-accordion-social.d.ts +3 -4
- package/dist/footer-accordion-social.js +1 -120
- package/dist/footer-animated-social.d.cts +2 -2
- package/dist/footer-animated-social.d.ts +2 -2
- package/dist/footer-background-card.d.cts +2 -2
- package/dist/footer-background-card.d.ts +2 -2
- package/dist/footer-brand-description.d.cts +2 -2
- package/dist/footer-brand-description.d.ts +2 -2
- package/dist/footer-brand-links-contact.d.cts +2 -2
- package/dist/footer-brand-links-contact.d.ts +2 -2
- package/dist/footer-comprehensive-links.d.cts +2 -2
- package/dist/footer-comprehensive-links.d.ts +2 -2
- package/dist/footer-contact-card.d.cts +2 -2
- package/dist/footer-contact-card.d.ts +2 -2
- package/dist/footer-cta-banner.d.cts +2 -2
- package/dist/footer-cta-banner.d.ts +2 -2
- package/dist/footer-cta-social.d.cts +2 -2
- package/dist/footer-cta-social.d.ts +2 -2
- package/dist/footer-info-cards-accordion.d.cts +2 -2
- package/dist/footer-info-cards-accordion.d.ts +2 -2
- package/dist/footer-links-grid.d.cts +2 -2
- package/dist/footer-links-grid.d.ts +2 -2
- package/dist/footer-nav-social.d.cts +2 -2
- package/dist/footer-nav-social.d.ts +2 -2
- package/dist/footer-newsletter-contact.cjs +3 -122
- package/dist/footer-newsletter-contact.d.cts +3 -4
- package/dist/footer-newsletter-contact.d.ts +3 -4
- package/dist/footer-newsletter-contact.js +1 -120
- package/dist/footer-newsletter-grid.d.cts +2 -2
- package/dist/footer-newsletter-grid.d.ts +2 -2
- package/dist/footer-newsletter-minimal.cjs +3 -122
- package/dist/footer-newsletter-minimal.d.cts +3 -4
- package/dist/footer-newsletter-minimal.d.ts +3 -4
- package/dist/footer-newsletter-minimal.js +1 -120
- package/dist/footer-simple-centered.d.cts +2 -2
- package/dist/footer-simple-centered.d.ts +2 -2
- package/dist/footer-social-apps.d.cts +2 -2
- package/dist/footer-social-apps.d.ts +2 -2
- package/dist/footer-social-newsletter.d.cts +2 -2
- package/dist/footer-social-newsletter.d.ts +2 -2
- package/dist/footer-split-image-accordion.cjs +3 -122
- package/dist/footer-split-image-accordion.d.cts +3 -4
- package/dist/footer-split-image-accordion.d.ts +3 -4
- package/dist/footer-split-image-accordion.js +1 -120
- package/dist/hero-ad-campaign-expert.d.cts +2 -2
- package/dist/hero-ad-campaign-expert.d.ts +2 -2
- package/dist/hero-adaptable-product-grid.d.cts +2 -2
- package/dist/hero-adaptable-product-grid.d.ts +2 -2
- package/dist/hero-agency-animated-images.d.cts +2 -2
- package/dist/hero-agency-animated-images.d.ts +2 -2
- package/dist/hero-ai-powered-carousel.d.cts +2 -2
- package/dist/hero-ai-powered-carousel.d.ts +2 -2
- package/dist/hero-announcement-badge.d.cts +2 -2
- package/dist/hero-announcement-badge.d.ts +2 -2
- package/dist/hero-architecture-fullscreen.d.cts +2 -2
- package/dist/hero-architecture-fullscreen.d.ts +2 -2
- package/dist/hero-badge-image-split.d.cts +2 -2
- package/dist/hero-badge-image-split.d.ts +2 -2
- package/dist/hero-badge-shadow-overlay.d.cts +2 -2
- package/dist/hero-badge-shadow-overlay.d.ts +2 -2
- package/dist/hero-billing-platform-logos.d.cts +2 -2
- package/dist/hero-billing-platform-logos.d.ts +2 -2
- package/dist/hero-business-carousel-dots.d.cts +2 -2
- package/dist/hero-business-carousel-dots.d.ts +2 -2
- package/dist/hero-business-operations-mosaic.d.cts +2 -2
- package/dist/hero-business-operations-mosaic.d.ts +2 -2
- package/dist/hero-centered-gradient-cta.d.cts +2 -2
- package/dist/hero-centered-gradient-cta.d.ts +2 -2
- package/dist/hero-centered-image-grid.d.cts +2 -2
- package/dist/hero-centered-image-grid.d.ts +2 -2
- package/dist/hero-centered-screenshot.d.cts +2 -2
- package/dist/hero-centered-screenshot.d.ts +2 -2
- package/dist/hero-coming-soon-countdown.d.cts +2 -2
- package/dist/hero-coming-soon-countdown.d.ts +2 -2
- package/dist/hero-community-survey-cta.d.cts +2 -2
- package/dist/hero-community-survey-cta.d.ts +2 -2
- package/dist/hero-conversation-intelligence.d.cts +2 -2
- package/dist/hero-conversation-intelligence.d.ts +2 -2
- package/dist/hero-conversion-video-play.d.cts +2 -2
- package/dist/hero-conversion-video-play.d.ts +2 -2
- package/dist/hero-creative-studio-stacked.d.cts +2 -2
- package/dist/hero-creative-studio-stacked.d.ts +2 -2
- package/dist/hero-crm-streamlined.d.cts +2 -2
- package/dist/hero-crm-streamlined.d.ts +2 -2
- package/dist/hero-customer-support-layered.d.cts +2 -2
- package/dist/hero-customer-support-layered.d.ts +2 -2
- package/dist/hero-dashed-border-features.d.cts +2 -2
- package/dist/hero-dashed-border-features.d.ts +2 -2
- package/dist/hero-design-carousel-portfolio.d.cts +2 -2
- package/dist/hero-design-carousel-portfolio.d.ts +2 -2
- package/dist/hero-design-showcase-logos.d.cts +2 -2
- package/dist/hero-design-showcase-logos.d.ts +2 -2
- package/dist/hero-design-system-3d.d.cts +2 -2
- package/dist/hero-design-system-3d.d.ts +2 -2
- package/dist/hero-developer-tools-code.d.cts +2 -2
- package/dist/hero-developer-tools-code.d.ts +2 -2
- package/dist/hero-digital-agency-fullscreen.d.cts +2 -2
- package/dist/hero-digital-agency-fullscreen.d.ts +2 -2
- package/dist/hero-ecommerce-product-showcase.d.cts +2 -2
- package/dist/hero-ecommerce-product-showcase.d.ts +2 -2
- package/dist/hero-enterprise-security.d.cts +2 -2
- package/dist/hero-enterprise-security.d.ts +2 -2
- package/dist/hero-event-registration.d.cts +2 -2
- package/dist/hero-event-registration.d.ts +2 -2
- package/dist/hero-feature-cards-grid.d.cts +2 -2
- package/dist/hero-feature-cards-grid.d.ts +2 -2
- package/dist/hero-floating-images.d.cts +2 -2
- package/dist/hero-floating-images.d.ts +2 -2
- package/dist/hero-fullscreen-background-image.d.cts +2 -2
- package/dist/hero-fullscreen-background-image.d.ts +2 -2
- package/dist/hero-fullscreen-logo-cta.d.cts +2 -2
- package/dist/hero-fullscreen-logo-cta.d.ts +2 -2
- package/dist/hero-gradient-avatars-rating.d.cts +2 -2
- package/dist/hero-gradient-avatars-rating.d.ts +2 -2
- package/dist/hero-gradient-client-focused.d.cts +2 -2
- package/dist/hero-gradient-client-focused.d.ts +2 -2
- package/dist/hero-grid-pattern-efficiency.d.cts +2 -2
- package/dist/hero-grid-pattern-efficiency.d.ts +2 -2
- package/dist/hero-grid-pattern-solutions.d.cts +2 -2
- package/dist/hero-grid-pattern-solutions.d.ts +2 -2
- package/dist/hero-hiring-animated-text.d.cts +2 -2
- package/dist/hero-hiring-animated-text.d.ts +2 -2
- package/dist/hero-image-left-content.d.cts +2 -2
- package/dist/hero-image-left-content.d.ts +2 -2
- package/dist/hero-image-slider.d.cts +2 -2
- package/dist/hero-image-slider.d.ts +2 -2
- package/dist/hero-innovation-image-grid.d.cts +2 -2
- package/dist/hero-innovation-image-grid.d.ts +2 -2
- package/dist/hero-logo-centered-screenshot.d.cts +2 -2
- package/dist/hero-logo-centered-screenshot.d.ts +2 -2
- package/dist/hero-marketplace-scattered-images.d.cts +2 -2
- package/dist/hero-marketplace-scattered-images.d.ts +2 -2
- package/dist/hero-mental-health-team.d.cts +2 -2
- package/dist/hero-mental-health-team.d.ts +2 -2
- package/dist/hero-mentorship-video-split.d.cts +2 -2
- package/dist/hero-mentorship-video-split.d.ts +2 -2
- package/dist/hero-minimal-centered-dark.d.cts +2 -2
- package/dist/hero-minimal-centered-dark.d.ts +2 -2
- package/dist/hero-mobile-app-download.d.cts +2 -2
- package/dist/hero-mobile-app-download.d.ts +2 -2
- package/dist/hero-newsletter-minimal.d.cts +2 -2
- package/dist/hero-newsletter-minimal.d.ts +2 -2
- package/dist/hero-overlay-cta-grid.d.cts +2 -2
- package/dist/hero-overlay-cta-grid.d.ts +2 -2
- package/dist/hero-pattern-badge-logos.d.cts +2 -2
- package/dist/hero-pattern-badge-logos.d.ts +2 -2
- package/dist/hero-pattern-logo-tech-stack.d.cts +2 -2
- package/dist/hero-pattern-logo-tech-stack.d.ts +2 -2
- package/dist/hero-platform-features-grid.d.cts +2 -2
- package/dist/hero-platform-features-grid.d.ts +2 -2
- package/dist/hero-portfolio-creative.d.cts +2 -2
- package/dist/hero-portfolio-creative.d.ts +2 -2
- package/dist/hero-premium-split-avatars.d.cts +2 -2
- package/dist/hero-premium-split-avatars.d.ts +2 -2
- package/dist/hero-presentation-platform-video.d.cts +2 -2
- package/dist/hero-presentation-platform-video.d.ts +2 -2
- package/dist/hero-pricing-comparison.d.cts +2 -2
- package/dist/hero-pricing-comparison.d.ts +2 -2
- package/dist/hero-product-showcase-floating.d.cts +2 -2
- package/dist/hero-product-showcase-floating.d.ts +2 -2
- package/dist/hero-productivity-launcher-video.d.cts +2 -2
- package/dist/hero-productivity-launcher-video.d.ts +2 -2
- package/dist/hero-saas-dashboard-preview.d.cts +2 -2
- package/dist/hero-saas-dashboard-preview.d.ts +2 -2
- package/dist/hero-shared-inbox-layered.d.cts +2 -2
- package/dist/hero-shared-inbox-layered.d.ts +2 -2
- package/dist/hero-simple-centered-image.d.cts +2 -2
- package/dist/hero-simple-centered-image.d.ts +2 -2
- package/dist/hero-software-growth-video-dialog.d.cts +2 -2
- package/dist/hero-software-growth-video-dialog.d.ts +2 -2
- package/dist/hero-spiral-pattern-cards.d.cts +2 -2
- package/dist/hero-spiral-pattern-cards.d.ts +2 -2
- package/dist/hero-split-geometric-shapes.d.cts +2 -2
- package/dist/hero-split-geometric-shapes.d.ts +2 -2
- package/dist/hero-split-icon-cards.d.cts +2 -2
- package/dist/hero-split-icon-cards.d.ts +2 -2
- package/dist/hero-split-image-newsletter.d.cts +2 -2
- package/dist/hero-split-image-newsletter.d.ts +2 -2
- package/dist/hero-split-spiral-shapes.d.cts +2 -2
- package/dist/hero-split-spiral-shapes.d.ts +2 -2
- package/dist/hero-startup-launch-cta.d.cts +2 -2
- package/dist/hero-startup-launch-cta.d.ts +2 -2
- package/dist/hero-stats-social-proof.d.cts +2 -2
- package/dist/hero-stats-social-proof.d.ts +2 -2
- package/dist/hero-task-timer-animated.d.cts +2 -2
- package/dist/hero-task-timer-animated.d.ts +2 -2
- package/dist/hero-tech-carousel.d.cts +2 -2
- package/dist/hero-tech-carousel.d.ts +2 -2
- package/dist/hero-testimonial-image-grid.d.cts +2 -2
- package/dist/hero-testimonial-image-grid.d.ts +2 -2
- package/dist/hero-therapy-testimonial-grid.d.cts +2 -2
- package/dist/hero-therapy-testimonial-grid.d.ts +2 -2
- package/dist/hero-ui-library-showcase.d.cts +2 -2
- package/dist/hero-ui-library-showcase.d.ts +2 -2
- package/dist/hero-video-background-dark.d.cts +2 -2
- package/dist/hero-video-background-dark.d.ts +2 -2
- package/dist/hero-video-dialog-gradient.d.cts +2 -2
- package/dist/hero-video-dialog-gradient.d.ts +2 -2
- package/dist/hero-video-overlay-stars.d.cts +2 -2
- package/dist/hero-video-overlay-stars.d.ts +2 -2
- package/dist/hero-welcome-asymmetric-images.d.cts +2 -2
- package/dist/hero-welcome-asymmetric-images.d.ts +2 -2
- package/dist/image-slider.d.cts +1 -1
- package/dist/image-slider.d.ts +1 -1
- package/dist/index.cjs +35 -374
- package/dist/index.d.cts +3 -96
- package/dist/index.d.ts +3 -96
- package/dist/index.js +4 -366
- package/dist/industries-badge-list-bordered.d.cts +2 -2
- package/dist/industries-badge-list-bordered.d.ts +2 -2
- package/dist/industries-expandable-showcase.d.cts +2 -2
- package/dist/industries-expandable-showcase.d.ts +2 -2
- package/dist/industries-hover-reveal-grid.d.cts +2 -2
- package/dist/industries-hover-reveal-grid.d.ts +2 -2
- package/dist/industries-timeline-table.d.cts +2 -2
- package/dist/industries-timeline-table.d.ts +2 -2
- package/dist/interior-carousel.d.cts +2 -2
- package/dist/interior-carousel.d.ts +2 -2
- package/dist/link-page-bento-layout.d.cts +2 -2
- package/dist/link-page-bento-layout.d.ts +2 -2
- package/dist/link-page-grid-cards.d.cts +2 -2
- package/dist/link-page-grid-cards.d.ts +2 -2
- package/dist/link-page-minimal-profile.d.cts +2 -2
- package/dist/link-page-minimal-profile.d.ts +2 -2
- package/dist/link-page-newsletter-social.cjs +3 -122
- package/dist/link-page-newsletter-social.d.cts +3 -4
- package/dist/link-page-newsletter-social.d.ts +3 -4
- package/dist/link-page-newsletter-social.js +1 -120
- package/dist/link-tree-block.d.cts +2 -2
- package/dist/link-tree-block.d.ts +2 -2
- package/dist/list-achievements-showcase.d.cts +2 -2
- package/dist/list-achievements-showcase.d.ts +2 -2
- package/dist/list-career-timeline.d.cts +2 -2
- package/dist/list-career-timeline.d.ts +2 -2
- package/dist/list-feature-comparison.d.cts +2 -2
- package/dist/list-feature-comparison.d.ts +2 -2
- package/dist/list-metrics-dashboard.d.cts +2 -2
- package/dist/list-metrics-dashboard.d.ts +2 -2
- package/dist/list-searchable-grid.d.cts +2 -2
- package/dist/list-searchable-grid.d.ts +2 -2
- package/dist/list-service-category-table.d.cts +2 -2
- package/dist/list-service-category-table.d.ts +2 -2
- package/dist/logos-carousel-heading.d.cts +2 -2
- package/dist/logos-carousel-heading.d.ts +2 -2
- package/dist/logos-centered-simple.d.cts +2 -2
- package/dist/logos-centered-simple.d.ts +2 -2
- package/dist/logos-certifications-grid.d.cts +2 -2
- package/dist/logos-certifications-grid.d.ts +2 -2
- package/dist/logos-double-carousel-pattern.d.cts +2 -2
- package/dist/logos-double-carousel-pattern.d.ts +2 -2
- package/dist/logos-inline-tagline.d.cts +2 -2
- package/dist/logos-inline-tagline.d.ts +2 -2
- package/dist/logos-marquee-muted.d.cts +2 -2
- package/dist/logos-marquee-muted.d.ts +2 -2
- package/dist/logos-minimal-carousel.d.cts +2 -2
- package/dist/logos-minimal-carousel.d.ts +2 -2
- package/dist/logos-numbered-carousel.d.cts +2 -2
- package/dist/logos-numbered-carousel.d.ts +2 -2
- package/dist/logos-partner-grid-sidebar.d.cts +2 -2
- package/dist/logos-partner-grid-sidebar.d.ts +2 -2
- package/dist/logos-partner-network.d.cts +2 -2
- package/dist/logos-partner-network.d.ts +2 -2
- package/dist/logos-two-row-grid.d.cts +2 -2
- package/dist/logos-two-row-grid.d.ts +2 -2
- package/dist/masonry-motion-grid.d.cts +2 -2
- package/dist/masonry-motion-grid.d.ts +2 -2
- package/dist/media-hover-ctas.d.cts +2 -2
- package/dist/media-hover-ctas.d.ts +2 -2
- package/dist/navbar-animated-preview.d.cts +2 -2
- package/dist/navbar-animated-preview.d.ts +2 -2
- package/dist/navbar-centered-menu.d.cts +2 -2
- package/dist/navbar-centered-menu.d.ts +2 -2
- package/dist/navbar-dark-icons.d.cts +2 -2
- package/dist/navbar-dark-icons.d.ts +2 -2
- package/dist/navbar-dropdown-menu.d.cts +2 -2
- package/dist/navbar-dropdown-menu.d.ts +2 -2
- package/dist/navbar-education-platform.d.cts +2 -2
- package/dist/navbar-education-platform.d.ts +2 -2
- package/dist/navbar-enterprise-mega.d.cts +2 -2
- package/dist/navbar-enterprise-mega.d.ts +2 -2
- package/dist/navbar-feature-grid.d.cts +2 -2
- package/dist/navbar-feature-grid.d.ts +2 -2
- package/dist/navbar-floating-pill.d.cts +2 -2
- package/dist/navbar-floating-pill.d.ts +2 -2
- package/dist/navbar-fullscreen-menu.d.cts +2 -2
- package/dist/navbar-fullscreen-menu.d.ts +2 -2
- package/dist/navbar-icon-links.d.cts +2 -2
- package/dist/navbar-icon-links.d.ts +2 -2
- package/dist/navbar-image-preview.d.cts +2 -2
- package/dist/navbar-image-preview.d.ts +2 -2
- package/dist/navbar-mega-menu.d.cts +2 -2
- package/dist/navbar-mega-menu.d.ts +2 -2
- package/dist/navbar-multi-column-groups.d.cts +2 -2
- package/dist/navbar-multi-column-groups.d.ts +2 -2
- package/dist/navbar-platform-resources.d.cts +2 -2
- package/dist/navbar-platform-resources.d.ts +2 -2
- package/dist/navbar-search-focused.d.cts +2 -2
- package/dist/navbar-search-focused.d.ts +2 -2
- package/dist/navbar-sidebar-mobile.d.cts +2 -2
- package/dist/navbar-sidebar-mobile.d.ts +2 -2
- package/dist/navbar-simple-links.d.cts +2 -2
- package/dist/navbar-simple-links.d.ts +2 -2
- package/dist/navbar-split-cta.d.cts +2 -2
- package/dist/navbar-split-cta.d.ts +2 -2
- package/dist/navbar-sticky-compact.d.cts +2 -2
- package/dist/navbar-sticky-compact.d.ts +2 -2
- package/dist/navbar-tabbed-sections.d.cts +2 -2
- package/dist/navbar-tabbed-sections.d.ts +2 -2
- package/dist/navbar-transparent-overlay.d.cts +2 -2
- package/dist/navbar-transparent-overlay.d.ts +2 -2
- package/dist/offer-modal-membership-image.cjs +3 -122
- package/dist/offer-modal-membership-image.d.cts +3 -4
- package/dist/offer-modal-membership-image.d.ts +3 -4
- 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 +3 -4
- package/dist/offer-modal-newsletter-discount.d.ts +3 -4
- 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 +3 -4
- package/dist/offer-modal-sheet-newsletter.d.ts +3 -4
- package/dist/offer-modal-sheet-newsletter.js +1 -120
- package/dist/page-hero-banner.d.cts +2 -2
- package/dist/page-hero-banner.d.ts +2 -2
- package/dist/pricing-addons-cards.d.cts +2 -2
- package/dist/pricing-addons-cards.d.ts +2 -2
- package/dist/pricing-addons-featured.d.cts +2 -2
- package/dist/pricing-addons-featured.d.ts +2 -2
- package/dist/pricing-collapsible-plans.d.cts +2 -2
- package/dist/pricing-collapsible-plans.d.ts +2 -2
- package/dist/pricing-columns-toggle.d.cts +2 -2
- package/dist/pricing-columns-toggle.d.ts +2 -2
- package/dist/pricing-comparison-headers.d.cts +2 -2
- package/dist/pricing-comparison-headers.d.ts +2 -2
- package/dist/pricing-comparison-table.d.cts +2 -2
- package/dist/pricing-comparison-table.d.ts +2 -2
- package/dist/pricing-discount-card.d.cts +2 -2
- package/dist/pricing-discount-card.d.ts +2 -2
- package/dist/pricing-enterprise-contact.d.cts +2 -2
- package/dist/pricing-enterprise-contact.d.ts +2 -2
- package/dist/pricing-feature-matrix.d.cts +2 -2
- package/dist/pricing-feature-matrix.d.ts +2 -2
- package/dist/pricing-four-tier-toggle.d.cts +2 -2
- package/dist/pricing-four-tier-toggle.d.ts +2 -2
- package/dist/pricing-full-comparison.d.cts +2 -2
- package/dist/pricing-full-comparison.d.ts +2 -2
- package/dist/pricing-gradient-cards.d.cts +2 -2
- package/dist/pricing-gradient-cards.d.ts +2 -2
- package/dist/pricing-icon-headers.d.cts +2 -2
- package/dist/pricing-icon-headers.d.ts +2 -2
- package/dist/pricing-minimal-cards.d.cts +2 -2
- package/dist/pricing-minimal-cards.d.ts +2 -2
- package/dist/pricing-packages-radio.d.cts +2 -2
- package/dist/pricing-packages-radio.d.ts +2 -2
- package/dist/pricing-popular-highlight.d.cts +2 -2
- package/dist/pricing-popular-highlight.d.ts +2 -2
- package/dist/pricing-radio-toggle.d.cts +2 -2
- package/dist/pricing-radio-toggle.d.ts +2 -2
- package/dist/pricing-responsive-table.d.cts +2 -2
- package/dist/pricing-responsive-table.d.ts +2 -2
- package/dist/pricing-services-cards.d.cts +2 -2
- package/dist/pricing-services-cards.d.ts +2 -2
- package/dist/pricing-simple-card.d.cts +2 -2
- package/dist/pricing-simple-card.d.ts +2 -2
- package/dist/pricing-single-card.d.cts +2 -2
- package/dist/pricing-single-card.d.ts +2 -2
- package/dist/pricing-split-layout.d.cts +2 -2
- package/dist/pricing-split-layout.d.ts +2 -2
- package/dist/pricing-spotlight-card.d.cts +2 -2
- package/dist/pricing-spotlight-card.d.ts +2 -2
- package/dist/pricing-switch-cards.d.cts +2 -2
- package/dist/pricing-switch-cards.d.ts +2 -2
- package/dist/pricing-tabs-toggle.d.cts +2 -2
- package/dist/pricing-tabs-toggle.d.ts +2 -2
- package/dist/pricing-tier-grid.d.cts +2 -2
- package/dist/pricing-tier-grid.d.ts +2 -2
- package/dist/pricing-toggle-cards.d.cts +2 -2
- package/dist/pricing-toggle-cards.d.ts +2 -2
- package/dist/pricing-toggle-period.d.cts +2 -2
- package/dist/pricing-toggle-period.d.ts +2 -2
- package/dist/pricing-two-column-basic.d.cts +2 -2
- package/dist/pricing-two-column-basic.d.ts +2 -2
- package/dist/process-expandable-timeline.d.cts +2 -2
- package/dist/process-expandable-timeline.d.ts +2 -2
- package/dist/process-hover-cards.d.cts +2 -2
- package/dist/process-hover-cards.d.ts +2 -2
- package/dist/process-icon-timeline.d.cts +2 -2
- package/dist/process-icon-timeline.d.ts +2 -2
- package/dist/process-mission-principles.d.cts +2 -2
- package/dist/process-mission-principles.d.ts +2 -2
- package/dist/process-numbered-services.d.cts +2 -2
- package/dist/process-numbered-services.d.ts +2 -2
- package/dist/process-roadmap-timeline.d.cts +2 -2
- package/dist/process-roadmap-timeline.d.ts +2 -2
- package/dist/process-scroll-image.d.cts +2 -2
- package/dist/process-scroll-image.d.ts +2 -2
- package/dist/process-steps-grid.d.cts +2 -2
- package/dist/process-steps-grid.d.ts +2 -2
- package/dist/process-sticky-steps.d.cts +2 -2
- package/dist/process-sticky-steps.d.ts +2 -2
- package/dist/project-alternating-motion.d.cts +2 -2
- package/dist/project-alternating-motion.d.ts +2 -2
- package/dist/project-background-reveal.d.cts +2 -2
- package/dist/project-background-reveal.d.ts +2 -2
- package/dist/project-card-overlay.d.cts +2 -2
- package/dist/project-card-overlay.d.ts +2 -2
- package/dist/project-carousel-cinematic.d.cts +2 -2
- package/dist/project-carousel-cinematic.d.ts +2 -2
- package/dist/project-carousel-detail-cards.d.cts +2 -2
- package/dist/project-carousel-detail-cards.d.ts +2 -2
- package/dist/project-carousel-minimal.d.cts +2 -2
- package/dist/project-carousel-minimal.d.ts +2 -2
- package/dist/project-detail-architecture-carousel.d.cts +2 -2
- package/dist/project-detail-architecture-carousel.d.ts +2 -2
- package/dist/project-detail-card-header.d.cts +2 -2
- package/dist/project-detail-card-header.d.ts +2 -2
- package/dist/project-detail-case-study-prose.d.cts +2 -2
- package/dist/project-detail-case-study-prose.d.ts +2 -2
- package/dist/project-detail-compact-metadata.d.cts +2 -2
- package/dist/project-detail-compact-metadata.d.ts +2 -2
- package/dist/project-detail-exhibition-sidebar.d.cts +2 -2
- package/dist/project-detail-exhibition-sidebar.d.ts +2 -2
- package/dist/project-detail-fashion-editorial.d.cts +2 -2
- package/dist/project-detail-fashion-editorial.d.ts +2 -2
- package/dist/project-detail-fullscreen-hero.d.cts +2 -2
- package/dist/project-detail-fullscreen-hero.d.ts +2 -2
- package/dist/project-detail-grid-gallery.d.cts +2 -2
- package/dist/project-detail-grid-gallery.d.ts +2 -2
- package/dist/project-detail-hero-metadata.d.cts +2 -2
- package/dist/project-detail-hero-metadata.d.ts +2 -2
- package/dist/project-detail-hover-gallery.d.cts +2 -2
- package/dist/project-detail-hover-gallery.d.ts +2 -2
- package/dist/project-detail-large-hero-featured.d.cts +2 -2
- package/dist/project-detail-large-hero-featured.d.ts +2 -2
- package/dist/project-detail-list-related.d.cts +2 -2
- package/dist/project-detail-list-related.d.ts +2 -2
- package/dist/project-detail-mask-reveal.d.cts +2 -2
- package/dist/project-detail-mask-reveal.d.ts +2 -2
- package/dist/project-detail-minimal-centered.d.cts +2 -2
- package/dist/project-detail-minimal-centered.d.ts +2 -2
- package/dist/project-detail-numbered-sections.d.cts +2 -2
- package/dist/project-detail-numbered-sections.d.ts +2 -2
- package/dist/project-detail-parallax-scroll.d.cts +2 -2
- package/dist/project-detail-parallax-scroll.d.ts +2 -2
- package/dist/project-detail-photography-breadcrumb.d.cts +2 -2
- package/dist/project-detail-photography-breadcrumb.d.ts +2 -2
- package/dist/project-detail-sculpture-showcase.d.cts +2 -2
- package/dist/project-detail-sculpture-showcase.d.ts +2 -2
- package/dist/project-detail-sidebar-navigation.d.cts +2 -2
- package/dist/project-detail-sidebar-navigation.d.ts +2 -2
- package/dist/project-detail-sidebar-sticky.d.cts +2 -2
- package/dist/project-detail-sidebar-sticky.d.ts +2 -2
- package/dist/project-detail-split-materials.d.cts +2 -2
- package/dist/project-detail-split-materials.d.ts +2 -2
- package/dist/project-detail-tabbed-case-study.d.cts +2 -2
- package/dist/project-detail-tabbed-case-study.d.ts +2 -2
- package/dist/project-experience-quote.d.cts +2 -2
- package/dist/project-experience-quote.d.ts +2 -2
- package/dist/project-featured-carousel.d.cts +2 -2
- package/dist/project-featured-carousel.d.ts +2 -2
- package/dist/project-filterable-gallery.d.cts +2 -2
- package/dist/project-filterable-gallery.d.ts +2 -2
- package/dist/project-filterable-three-column.d.cts +2 -2
- package/dist/project-filterable-three-column.d.ts +2 -2
- package/dist/project-grid-gallery.d.cts +2 -2
- package/dist/project-grid-gallery.d.ts +2 -2
- package/dist/project-grid-motion.d.cts +2 -2
- package/dist/project-grid-motion.d.ts +2 -2
- package/dist/project-horizontal-cards.d.cts +2 -2
- package/dist/project-horizontal-cards.d.ts +2 -2
- package/dist/project-hover-reveal-grid.d.cts +2 -2
- package/dist/project-hover-reveal-grid.d.ts +2 -2
- package/dist/project-interactive-hover-reveal.d.cts +2 -2
- package/dist/project-interactive-hover-reveal.d.ts +2 -2
- package/dist/project-masonry-columns.d.cts +2 -2
- package/dist/project-masonry-columns.d.ts +2 -2
- package/dist/project-nature-mosaic.d.cts +2 -2
- package/dist/project-nature-mosaic.d.ts +2 -2
- package/dist/project-scroll-reveal.d.cts +2 -2
- package/dist/project-scroll-reveal.d.ts +2 -2
- package/dist/project-showcase-alternating.d.cts +2 -2
- package/dist/project-showcase-alternating.d.ts +2 -2
- package/dist/project-sticky-scroll.d.cts +2 -2
- package/dist/project-sticky-scroll.d.ts +2 -2
- package/dist/project-studio-hover-preview.d.cts +2 -2
- package/dist/project-studio-hover-preview.d.ts +2 -2
- package/dist/project-table-list.d.cts +2 -2
- package/dist/project-table-list.d.ts +2 -2
- package/dist/project-video-carousel.d.cts +2 -2
- package/dist/project-video-carousel.d.ts +2 -2
- package/dist/project-video-hover-bento.d.cts +2 -2
- package/dist/project-video-hover-bento.d.ts +2 -2
- package/dist/project-video-hover-grid.d.cts +2 -2
- package/dist/project-video-hover-grid.d.ts +2 -2
- package/dist/project-video-hover-rounded.d.cts +2 -2
- package/dist/project-video-hover-rounded.d.ts +2 -2
- package/dist/project-video-hover-stack.d.cts +2 -2
- package/dist/project-video-hover-stack.d.ts +2 -2
- package/dist/project-video-hover-two-by-two.d.cts +2 -2
- package/dist/project-video-hover-two-by-two.d.ts +2 -2
- package/dist/project-work-showcase.d.cts +2 -2
- package/dist/project-work-showcase.d.ts +2 -2
- package/dist/project-zigzag-layout.d.cts +2 -2
- package/dist/project-zigzag-layout.d.ts +2 -2
- package/dist/registry.cjs +286 -939
- package/dist/registry.js +169 -822
- package/dist/resource-detail-article-hero.d.cts +2 -2
- package/dist/resource-detail-article-hero.d.ts +2 -2
- package/dist/resource-detail-document-sidebar.d.cts +2 -2
- package/dist/resource-detail-document-sidebar.d.ts +2 -2
- package/dist/resource-detail-whitepaper-sidebar.d.cts +2 -2
- package/dist/resource-detail-whitepaper-sidebar.d.ts +2 -2
- package/dist/resource-list-course-cards.d.cts +2 -2
- package/dist/resource-list-course-cards.d.ts +2 -2
- package/dist/resource-list-featured-articles.d.cts +2 -2
- package/dist/resource-list-featured-articles.d.ts +2 -2
- package/dist/resource-list-featured-grid.d.cts +2 -2
- package/dist/resource-list-featured-grid.d.ts +2 -2
- package/dist/resource-list-hero-filter.cjs +3 -122
- package/dist/resource-list-hero-filter.d.cts +2 -3
- package/dist/resource-list-hero-filter.d.ts +2 -3
- package/dist/resource-list-hero-filter.js +1 -120
- package/dist/resource-list-news-updates.d.cts +2 -2
- package/dist/resource-list-news-updates.d.ts +2 -2
- package/dist/section.d.cts +2 -2
- package/dist/section.d.ts +2 -2
- package/dist/service-detail-centered-expertise.d.cts +2 -2
- package/dist/service-detail-centered-expertise.d.ts +2 -2
- package/dist/service-detail-compact-cards.d.cts +2 -2
- package/dist/service-detail-compact-cards.d.ts +2 -2
- package/dist/service-detail-image-hero.d.cts +2 -2
- package/dist/service-detail-image-hero.d.ts +2 -2
- package/dist/service-detail-prose-minimal.d.cts +2 -2
- package/dist/service-detail-prose-minimal.d.ts +2 -2
- package/dist/service-detail-sidebar-related.d.cts +2 -2
- package/dist/service-detail-sidebar-related.d.ts +2 -2
- package/dist/service-detail-sidebar-stats.d.cts +2 -2
- package/dist/service-detail-sidebar-stats.d.ts +2 -2
- package/dist/service-detail-stats-hero.d.cts +2 -2
- package/dist/service-detail-stats-hero.d.ts +2 -2
- package/dist/service-hover-carousel.d.cts +2 -2
- package/dist/service-hover-carousel.d.ts +2 -2
- package/dist/services-list-accordion-benefits.d.cts +2 -2
- package/dist/services-list-accordion-benefits.d.ts +2 -2
- package/dist/services-list-accordion.d.cts +2 -2
- package/dist/services-list-accordion.d.ts +2 -2
- package/dist/services-list-cards-hover.d.cts +2 -2
- package/dist/services-list-cards-hover.d.ts +2 -2
- package/dist/services-list-category-accordion.d.cts +2 -2
- package/dist/services-list-category-accordion.d.ts +2 -2
- package/dist/services-list-centered-icons.d.cts +2 -2
- package/dist/services-list-centered-icons.d.ts +2 -2
- package/dist/services-list-culture-tabs.d.cts +2 -2
- package/dist/services-list-culture-tabs.d.ts +2 -2
- package/dist/services-list-expandable-cards.d.cts +2 -2
- package/dist/services-list-expandable-cards.d.ts +2 -2
- package/dist/services-list-feature-spotlight.d.cts +2 -2
- package/dist/services-list-feature-spotlight.d.ts +2 -2
- package/dist/services-list-featured-highlight.d.cts +2 -2
- package/dist/services-list-featured-highlight.d.ts +2 -2
- package/dist/services-list-hero-cards.d.cts +2 -2
- package/dist/services-list-hero-cards.d.ts +2 -2
- package/dist/services-list-icon-grid.d.cts +2 -2
- package/dist/services-list-icon-grid.d.ts +2 -2
- package/dist/services-list-image-cards.d.cts +2 -2
- package/dist/services-list-image-cards.d.ts +2 -2
- package/dist/services-list-image-overlay-grid.d.cts +2 -2
- package/dist/services-list-image-overlay-grid.d.ts +2 -2
- package/dist/services-list-masonry.d.cts +2 -2
- package/dist/services-list-masonry.d.ts +2 -2
- package/dist/services-list-methodology-steps.d.cts +2 -2
- package/dist/services-list-methodology-steps.d.ts +2 -2
- package/dist/services-list-minimal-grid.d.cts +2 -2
- package/dist/services-list-minimal-grid.d.ts +2 -2
- package/dist/services-list-muted-cards.d.cts +2 -2
- package/dist/services-list-muted-cards.d.ts +2 -2
- package/dist/services-list-numbered-steps.d.cts +2 -2
- package/dist/services-list-numbered-steps.d.ts +2 -2
- package/dist/services-list-pricing-grid.d.cts +2 -2
- package/dist/services-list-pricing-grid.d.ts +2 -2
- package/dist/services-list-progress-sidebar.d.cts +2 -2
- package/dist/services-list-progress-sidebar.d.ts +2 -2
- package/dist/services-list-split-checklist.d.cts +2 -2
- package/dist/services-list-split-checklist.d.ts +2 -2
- package/dist/services-list-sticky-image.d.cts +2 -2
- package/dist/services-list-sticky-image.d.ts +2 -2
- package/dist/services-list-table-hover.d.cts +2 -2
- package/dist/services-list-table-hover.d.ts +2 -2
- package/dist/services-list-tabs-features.d.cts +2 -2
- package/dist/services-list-tabs-features.d.ts +2 -2
- package/dist/services-list-timeline.d.cts +2 -2
- package/dist/services-list-timeline.d.ts +2 -2
- package/dist/services-list-two-column-grid.d.cts +2 -2
- package/dist/services-list-two-column-grid.d.ts +2 -2
- package/dist/services-list-vertical-tags.d.cts +2 -2
- package/dist/services-list-vertical-tags.d.ts +2 -2
- package/dist/services-list-video-showcase.d.cts +2 -2
- package/dist/services-list-video-showcase.d.ts +2 -2
- package/dist/stats-animated-counter.d.cts +2 -2
- package/dist/stats-animated-counter.d.ts +2 -2
- package/dist/stats-bar-comparison.d.cts +2 -2
- package/dist/stats-bar-comparison.d.ts +2 -2
- package/dist/stats-card-group.d.cts +2 -2
- package/dist/stats-card-group.d.ts +2 -2
- package/dist/stats-circular-progress.d.cts +2 -2
- package/dist/stats-circular-progress.d.ts +2 -2
- package/dist/stats-growth-timeline.d.cts +2 -2
- package/dist/stats-growth-timeline.d.ts +2 -2
- package/dist/stats-icon-cards.d.cts +2 -2
- package/dist/stats-icon-cards.d.ts +2 -2
- package/dist/stats-impact-grid.d.cts +2 -2
- package/dist/stats-impact-grid.d.ts +2 -2
- package/dist/stats-milestone-sidebar.d.cts +2 -2
- package/dist/stats-milestone-sidebar.d.ts +2 -2
- package/dist/stats-number-ticker.d.cts +2 -2
- package/dist/stats-number-ticker.d.ts +2 -2
- package/dist/stats-primary-secondary.d.cts +2 -2
- package/dist/stats-primary-secondary.d.ts +2 -2
- package/dist/stats-simple-grid.d.cts +2 -2
- package/dist/stats-simple-grid.d.ts +2 -2
- package/dist/stats-timeline-tabs.d.cts +2 -2
- package/dist/stats-timeline-tabs.d.ts +2 -2
- package/dist/team-alternating-bios.d.cts +2 -2
- package/dist/team-alternating-bios.d.ts +2 -2
- package/dist/team-avatar-social.d.cts +2 -2
- package/dist/team-avatar-social.d.ts +2 -2
- package/dist/team-bio-badges.d.cts +2 -2
- package/dist/team-bio-badges.d.ts +2 -2
- package/dist/team-carousel-experience.d.cts +2 -2
- package/dist/team-carousel-experience.d.ts +2 -2
- package/dist/team-compact-cta.d.cts +2 -2
- package/dist/team-compact-cta.d.ts +2 -2
- package/dist/team-compact-grid.d.cts +2 -2
- package/dist/team-compact-grid.d.ts +2 -2
- package/dist/team-contact-cards.d.cts +2 -2
- package/dist/team-contact-cards.d.ts +2 -2
- package/dist/team-department-sections.d.cts +2 -2
- package/dist/team-department-sections.d.ts +2 -2
- package/dist/team-expertise-cards.d.cts +2 -2
- package/dist/team-expertise-cards.d.ts +2 -2
- package/dist/team-filterable-search.d.cts +2 -2
- package/dist/team-filterable-search.d.ts +2 -2
- package/dist/team-gradient-cards.d.cts +2 -2
- package/dist/team-gradient-cards.d.ts +2 -2
- package/dist/team-grid-animated.d.cts +2 -2
- package/dist/team-grid-animated.d.ts +2 -2
- package/dist/team-hover-highlight.d.cts +2 -2
- package/dist/team-hover-highlight.d.ts +2 -2
- package/dist/team-hover-overlay.d.cts +2 -2
- package/dist/team-hover-overlay.d.ts +2 -2
- package/dist/team-investor-showcase.d.cts +2 -2
- package/dist/team-investor-showcase.d.ts +2 -2
- package/dist/team-large-images.d.cts +2 -2
- package/dist/team-large-images.d.ts +2 -2
- package/dist/team-media-showcase.d.cts +2 -2
- package/dist/team-media-showcase.d.ts +2 -2
- package/dist/team-role-filter.d.cts +2 -2
- package/dist/team-role-filter.d.ts +2 -2
- package/dist/team-simple-grid.d.cts +2 -2
- package/dist/team-simple-grid.d.ts +2 -2
- package/dist/team-skill-badges.d.cts +2 -2
- package/dist/team-skill-badges.d.ts +2 -2
- package/dist/team-social-cards.d.cts +2 -2
- package/dist/team-social-cards.d.ts +2 -2
- package/dist/team-social-grid.d.cts +2 -2
- package/dist/team-social-grid.d.ts +2 -2
- package/dist/team-testimonial-stats.d.cts +2 -2
- package/dist/team-testimonial-stats.d.ts +2 -2
- package/dist/testimonial-carousel-cards.d.cts +2 -2
- package/dist/testimonial-carousel-cards.d.ts +2 -2
- package/dist/testimonials-animated-split.d.cts +2 -2
- package/dist/testimonials-animated-split.d.ts +2 -2
- package/dist/testimonials-bento-grid.d.cts +2 -2
- package/dist/testimonials-bento-grid.d.ts +2 -2
- package/dist/testimonials-carousel-image.d.cts +2 -2
- package/dist/testimonials-carousel-image.d.ts +2 -2
- package/dist/testimonials-centered-avatars.d.cts +2 -2
- package/dist/testimonials-centered-avatars.d.ts +2 -2
- package/dist/testimonials-company-logo.d.cts +2 -2
- package/dist/testimonials-company-logo.d.ts +2 -2
- package/dist/testimonials-grid-add-review.d.cts +2 -2
- package/dist/testimonials-grid-add-review.d.ts +2 -2
- package/dist/testimonials-images-helpful.d.cts +2 -2
- package/dist/testimonials-images-helpful.d.ts +2 -2
- package/dist/testimonials-large-quote.d.cts +2 -2
- package/dist/testimonials-large-quote.d.ts +2 -2
- package/dist/testimonials-list-verified.d.cts +2 -2
- package/dist/testimonials-list-verified.d.ts +2 -2
- package/dist/testimonials-logo-cards.d.cts +2 -2
- package/dist/testimonials-logo-cards.d.ts +2 -2
- package/dist/testimonials-marquee.d.cts +2 -2
- package/dist/testimonials-marquee.d.ts +2 -2
- package/dist/testimonials-masonry-grid.d.cts +2 -2
- package/dist/testimonials-masonry-grid.d.ts +2 -2
- package/dist/testimonials-mini-dividers.d.cts +2 -2
- package/dist/testimonials-mini-dividers.d.ts +2 -2
- package/dist/testimonials-minimal-numbered.d.cts +2 -2
- package/dist/testimonials-minimal-numbered.d.ts +2 -2
- package/dist/testimonials-parallax-number.d.cts +2 -2
- package/dist/testimonials-parallax-number.d.ts +2 -2
- package/dist/testimonials-quote-carousel.d.cts +2 -2
- package/dist/testimonials-quote-carousel.d.ts +2 -2
- package/dist/testimonials-scrolling-columns.d.cts +2 -2
- package/dist/testimonials-scrolling-columns.d.ts +2 -2
- package/dist/testimonials-simple-grid.d.cts +2 -2
- package/dist/testimonials-simple-grid.d.ts +2 -2
- package/dist/testimonials-slider-minimal.d.cts +2 -2
- package/dist/testimonials-slider-minimal.d.ts +2 -2
- package/dist/testimonials-split-image.d.cts +2 -2
- package/dist/testimonials-split-image.d.ts +2 -2
- package/dist/testimonials-stats-header.d.cts +2 -2
- package/dist/testimonials-stats-header.d.ts +2 -2
- package/dist/testimonials-twitter-cards.d.cts +2 -2
- package/dist/testimonials-twitter-cards.d.ts +2 -2
- package/dist/testimonials-wall-compact.d.cts +2 -2
- package/dist/testimonials-wall-compact.d.ts +2 -2
- package/dist/timeline-ai-workflow-cards.d.cts +2 -2
- package/dist/timeline-ai-workflow-cards.d.ts +2 -2
- package/dist/timeline-alternating-diagonal.d.cts +2 -2
- package/dist/timeline-alternating-diagonal.d.ts +2 -2
- package/dist/timeline-changelog-badges.d.cts +2 -2
- package/dist/timeline-changelog-badges.d.ts +2 -2
- package/dist/timeline-history-prose.d.cts +2 -2
- package/dist/timeline-history-prose.d.ts +2 -2
- package/dist/timeline-horizontal-icons.d.cts +2 -2
- package/dist/timeline-horizontal-icons.d.ts +2 -2
- package/dist/timeline-horizontal-phases.d.cts +2 -2
- package/dist/timeline-horizontal-phases.d.ts +2 -2
- package/dist/timeline-product-launch.d.cts +2 -2
- package/dist/timeline-product-launch.d.ts +2 -2
- package/dist/timeline-productivity-list.d.cts +2 -2
- package/dist/timeline-productivity-list.d.ts +2 -2
- package/dist/timeline-scroll-highlight.d.cts +2 -2
- package/dist/timeline-scroll-highlight.d.ts +2 -2
- package/dist/timeline-scroll-sticky-image.d.cts +2 -2
- package/dist/timeline-scroll-sticky-image.d.ts +2 -2
- package/dist/timeline-stepper-animated.d.cts +2 -2
- package/dist/timeline-stepper-animated.d.ts +2 -2
- package/dist/timeline-tabbed-phases.d.cts +2 -2
- package/dist/timeline-tabbed-phases.d.ts +2 -2
- package/dist/timeline-two-column-featured.d.cts +2 -2
- package/dist/timeline-two-column-featured.d.ts +2 -2
- package/dist/timeline-vertical-icon-dashed.d.cts +2 -2
- package/dist/timeline-vertical-icon-dashed.d.ts +2 -2
- package/dist/types.d.cts +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.ts +2 -2
- 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,69 +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: cn("space-y-6", formClassName),
|
|
14585
14025
|
children: [
|
|
14586
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
14587
|
-
|
|
14588
|
-
|
|
14589
|
-
|
|
14590
|
-
|
|
14591
|
-
|
|
14592
|
-
const nextField = index < formFields.length - 1 ? formFields[index + 1] : null;
|
|
14593
|
-
const groupWithNext = field.columnSpan && field.columnSpan <= 6 && nextField?.columnSpan && nextField.columnSpan <= 6 && field.columnSpan + nextField.columnSpan <= 12;
|
|
14594
|
-
if (groupWithNext && nextField) {
|
|
14595
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14596
|
-
"div",
|
|
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,
|
|
14597
14032
|
{
|
|
14598
|
-
|
|
14599
|
-
|
|
14600
|
-
|
|
14601
|
-
|
|
14602
|
-
|
|
14603
|
-
|
|
14604
|
-
|
|
14605
|
-
|
|
14606
|
-
|
|
14607
|
-
|
|
14608
|
-
}
|
|
14609
|
-
) }),
|
|
14610
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[76px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14611
|
-
DynamicFormField,
|
|
14612
|
-
{
|
|
14613
|
-
field: nextField,
|
|
14614
|
-
uploadProgress,
|
|
14615
|
-
onFileUpload: uploadFiles,
|
|
14616
|
-
onFileRemove: removeFile,
|
|
14617
|
-
isUploading
|
|
14618
|
-
}
|
|
14619
|
-
) })
|
|
14620
|
-
]
|
|
14621
|
-
},
|
|
14622
|
-
field.name
|
|
14623
|
-
);
|
|
14624
|
-
}
|
|
14625
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[76px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14626
|
-
DynamicFormField,
|
|
14627
|
-
{
|
|
14628
|
-
field,
|
|
14629
|
-
uploadProgress,
|
|
14630
|
-
onFileUpload: uploadFiles,
|
|
14631
|
-
onFileRemove: removeFile,
|
|
14632
|
-
isUploading
|
|
14633
|
-
}
|
|
14634
|
-
) }, field.name);
|
|
14635
|
-
}) }),
|
|
14033
|
+
field,
|
|
14034
|
+
uploadProgress,
|
|
14035
|
+
onFileUpload: uploadFiles,
|
|
14036
|
+
onFileRemove: removeFile,
|
|
14037
|
+
isUploading
|
|
14038
|
+
}
|
|
14039
|
+
)
|
|
14040
|
+
},
|
|
14041
|
+
field.name
|
|
14042
|
+
)) }),
|
|
14636
14043
|
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14637
14044
|
Pressable,
|
|
14638
14045
|
{
|
|
@@ -14683,7 +14090,7 @@ function ContactDark({
|
|
|
14683
14090
|
}
|
|
14684
14091
|
);
|
|
14685
14092
|
}
|
|
14686
|
-
function
|
|
14093
|
+
function Checkbox({
|
|
14687
14094
|
className,
|
|
14688
14095
|
...props
|
|
14689
14096
|
}) {
|
|
@@ -14804,7 +14211,7 @@ function ContactDemo({
|
|
|
14804
14211
|
try {
|
|
14805
14212
|
let result;
|
|
14806
14213
|
if (shouldAutoSubmit) {
|
|
14807
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
14214
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
14808
14215
|
}
|
|
14809
14216
|
if (onSubmit) {
|
|
14810
14217
|
await onSubmit(values);
|
|
@@ -14816,7 +14223,7 @@ function ContactDemo({
|
|
|
14816
14223
|
onSuccess?.(result);
|
|
14817
14224
|
}
|
|
14818
14225
|
} catch (error) {
|
|
14819
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
14226
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
14820
14227
|
helpers.setErrors(error.formErrors);
|
|
14821
14228
|
}
|
|
14822
14229
|
onError?.(error);
|
|
@@ -15012,7 +14419,7 @@ function ContactDemo({
|
|
|
15012
14419
|
] }),
|
|
15013
14420
|
/* @__PURE__ */ jsxRuntime.jsx(forms.Field, { name: "updates", children: ({ field }) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
15014
14421
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15015
|
-
|
|
14422
|
+
Checkbox,
|
|
15016
14423
|
{
|
|
15017
14424
|
id: "updates",
|
|
15018
14425
|
checked: field.value,
|
|
@@ -15131,7 +14538,7 @@ function ContactEmergency({
|
|
|
15131
14538
|
try {
|
|
15132
14539
|
let result;
|
|
15133
14540
|
if (shouldAutoSubmit) {
|
|
15134
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
14541
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
15135
14542
|
}
|
|
15136
14543
|
if (onSubmit) {
|
|
15137
14544
|
await onSubmit(values);
|
|
@@ -15143,7 +14550,7 @@ function ContactEmergency({
|
|
|
15143
14550
|
onSuccess?.(result);
|
|
15144
14551
|
}
|
|
15145
14552
|
} catch (error) {
|
|
15146
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
14553
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
15147
14554
|
helpers.setErrors(error.formErrors);
|
|
15148
14555
|
}
|
|
15149
14556
|
onError?.(error);
|
|
@@ -15429,7 +14836,7 @@ function ContactEvent({
|
|
|
15429
14836
|
try {
|
|
15430
14837
|
let result;
|
|
15431
14838
|
if (shouldAutoSubmit) {
|
|
15432
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
14839
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
15433
14840
|
}
|
|
15434
14841
|
if (onSubmit) {
|
|
15435
14842
|
await onSubmit(values);
|
|
@@ -15441,7 +14848,7 @@ function ContactEvent({
|
|
|
15441
14848
|
onSuccess?.(result);
|
|
15442
14849
|
}
|
|
15443
14850
|
} catch (error) {
|
|
15444
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
14851
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
15445
14852
|
helpers.setErrors(error.formErrors);
|
|
15446
14853
|
}
|
|
15447
14854
|
onError?.(error);
|
|
@@ -15755,8 +15162,8 @@ function ContactFaq({
|
|
|
15755
15162
|
uploadFiles,
|
|
15756
15163
|
removeFile,
|
|
15757
15164
|
resetUpload
|
|
15758
|
-
} = useFileUpload({ onError });
|
|
15759
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
15165
|
+
} = integration.useFileUpload({ onError });
|
|
15166
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
15760
15167
|
formFields,
|
|
15761
15168
|
formConfig,
|
|
15762
15169
|
onSubmit,
|
|
@@ -15896,69 +15303,42 @@ function ContactFaq({
|
|
|
15896
15303
|
forms.Form,
|
|
15897
15304
|
{
|
|
15898
15305
|
form,
|
|
15899
|
-
|
|
15900
|
-
|
|
15901
|
-
|
|
15902
|
-
|
|
15903
|
-
|
|
15904
|
-
|
|
15905
|
-
|
|
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
|
+
},
|
|
15906
15320
|
onNewSubmission: () => {
|
|
15907
15321
|
resetUpload();
|
|
15908
15322
|
resetSubmissionState();
|
|
15909
15323
|
},
|
|
15910
|
-
className: cn("space-y-4", formClassName),
|
|
15911
15324
|
children: [
|
|
15912
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
|
-
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
const nextField = index < formFields.length - 1 ? formFields[index + 1] : null;
|
|
15919
|
-
const groupWithNext = field.columnSpan && field.columnSpan <= 6 && nextField?.columnSpan && nextField.columnSpan <= 6 && field.columnSpan + nextField.columnSpan <= 12;
|
|
15920
|
-
if (groupWithNext && nextField) {
|
|
15921
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15922
|
-
"div",
|
|
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,
|
|
15923
15331
|
{
|
|
15924
|
-
|
|
15925
|
-
|
|
15926
|
-
|
|
15927
|
-
|
|
15928
|
-
|
|
15929
|
-
|
|
15930
|
-
|
|
15931
|
-
|
|
15932
|
-
|
|
15933
|
-
|
|
15934
|
-
}
|
|
15935
|
-
) }),
|
|
15936
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[76px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15937
|
-
DynamicFormField,
|
|
15938
|
-
{
|
|
15939
|
-
field: nextField,
|
|
15940
|
-
uploadProgress,
|
|
15941
|
-
onFileUpload: uploadFiles,
|
|
15942
|
-
onFileRemove: removeFile,
|
|
15943
|
-
isUploading
|
|
15944
|
-
}
|
|
15945
|
-
) })
|
|
15946
|
-
]
|
|
15947
|
-
},
|
|
15948
|
-
field.name
|
|
15949
|
-
);
|
|
15950
|
-
}
|
|
15951
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[76px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15952
|
-
DynamicFormField,
|
|
15953
|
-
{
|
|
15954
|
-
field,
|
|
15955
|
-
uploadProgress,
|
|
15956
|
-
onFileUpload: uploadFiles,
|
|
15957
|
-
onFileRemove: removeFile,
|
|
15958
|
-
isUploading
|
|
15959
|
-
}
|
|
15960
|
-
) }, field.name);
|
|
15961
|
-
}) }),
|
|
15332
|
+
field,
|
|
15333
|
+
uploadProgress,
|
|
15334
|
+
onFileUpload: uploadFiles,
|
|
15335
|
+
onFileRemove: removeFile,
|
|
15336
|
+
isUploading
|
|
15337
|
+
}
|
|
15338
|
+
)
|
|
15339
|
+
},
|
|
15340
|
+
field.name
|
|
15341
|
+
)) }),
|
|
15962
15342
|
actionsSlot || actions && actions.length > 0 ? actionsContent : /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15963
15343
|
Pressable,
|
|
15964
15344
|
{
|
|
@@ -16045,7 +15425,7 @@ function ContactFeedback({
|
|
|
16045
15425
|
try {
|
|
16046
15426
|
let result;
|
|
16047
15427
|
if (shouldAutoSubmit) {
|
|
16048
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
15428
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16049
15429
|
}
|
|
16050
15430
|
if (onSubmit) {
|
|
16051
15431
|
await onSubmit(values);
|
|
@@ -16057,7 +15437,7 @@ function ContactFeedback({
|
|
|
16057
15437
|
onSuccess?.(result);
|
|
16058
15438
|
}
|
|
16059
15439
|
} catch (error) {
|
|
16060
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
15440
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16061
15441
|
helpers.setErrors(error.formErrors);
|
|
16062
15442
|
}
|
|
16063
15443
|
onError?.(error);
|
|
@@ -16239,7 +15619,7 @@ function ContactFitness({
|
|
|
16239
15619
|
try {
|
|
16240
15620
|
let result;
|
|
16241
15621
|
if (shouldAutoSubmit) {
|
|
16242
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
15622
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16243
15623
|
}
|
|
16244
15624
|
if (onSubmit) {
|
|
16245
15625
|
await onSubmit(values);
|
|
@@ -16251,7 +15631,7 @@ function ContactFitness({
|
|
|
16251
15631
|
onSuccess?.(result);
|
|
16252
15632
|
}
|
|
16253
15633
|
} catch (error) {
|
|
16254
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
15634
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16255
15635
|
helpers.setErrors(error.formErrors);
|
|
16256
15636
|
}
|
|
16257
15637
|
onError?.(error);
|
|
@@ -16475,7 +15855,7 @@ function ContactGuest({
|
|
|
16475
15855
|
try {
|
|
16476
15856
|
let result;
|
|
16477
15857
|
if (shouldAutoSubmit) {
|
|
16478
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
15858
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16479
15859
|
}
|
|
16480
15860
|
if (onSubmit) {
|
|
16481
15861
|
await onSubmit(values);
|
|
@@ -16487,7 +15867,7 @@ function ContactGuest({
|
|
|
16487
15867
|
onSuccess?.(result);
|
|
16488
15868
|
}
|
|
16489
15869
|
} catch (error) {
|
|
16490
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
15870
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16491
15871
|
helpers.setErrors(error.formErrors);
|
|
16492
15872
|
}
|
|
16493
15873
|
onError?.(error);
|
|
@@ -16702,7 +16082,7 @@ function ContactImage({
|
|
|
16702
16082
|
try {
|
|
16703
16083
|
let result;
|
|
16704
16084
|
if (shouldAutoSubmit) {
|
|
16705
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
16085
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16706
16086
|
}
|
|
16707
16087
|
if (onSubmit) {
|
|
16708
16088
|
await onSubmit(values);
|
|
@@ -16714,7 +16094,7 @@ function ContactImage({
|
|
|
16714
16094
|
onSuccess?.(result);
|
|
16715
16095
|
}
|
|
16716
16096
|
} catch (error) {
|
|
16717
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
16097
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16718
16098
|
helpers.setErrors(error.formErrors);
|
|
16719
16099
|
}
|
|
16720
16100
|
onError?.(error);
|
|
@@ -16929,7 +16309,7 @@ function ContactInsurance({
|
|
|
16929
16309
|
try {
|
|
16930
16310
|
let result;
|
|
16931
16311
|
if (shouldAutoSubmit) {
|
|
16932
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
16312
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
16933
16313
|
}
|
|
16934
16314
|
if (onSubmit) {
|
|
16935
16315
|
await onSubmit(values);
|
|
@@ -16941,7 +16321,7 @@ function ContactInsurance({
|
|
|
16941
16321
|
onSuccess?.(result);
|
|
16942
16322
|
}
|
|
16943
16323
|
} catch (error) {
|
|
16944
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
16324
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
16945
16325
|
helpers.setErrors(error.formErrors);
|
|
16946
16326
|
}
|
|
16947
16327
|
onError?.(error);
|
|
@@ -17165,7 +16545,7 @@ function ContactInterview({
|
|
|
17165
16545
|
try {
|
|
17166
16546
|
let result;
|
|
17167
16547
|
if (shouldAutoSubmit) {
|
|
17168
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
16548
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
17169
16549
|
}
|
|
17170
16550
|
if (onSubmit) {
|
|
17171
16551
|
await onSubmit(values);
|
|
@@ -17177,7 +16557,7 @@ function ContactInterview({
|
|
|
17177
16557
|
onSuccess?.(result);
|
|
17178
16558
|
}
|
|
17179
16559
|
} catch (error) {
|
|
17180
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
16560
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
17181
16561
|
helpers.setErrors(error.formErrors);
|
|
17182
16562
|
}
|
|
17183
16563
|
onError?.(error);
|
|
@@ -17401,7 +16781,7 @@ function ContactLocations({
|
|
|
17401
16781
|
try {
|
|
17402
16782
|
let result;
|
|
17403
16783
|
if (shouldAutoSubmit) {
|
|
17404
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
16784
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
17405
16785
|
}
|
|
17406
16786
|
if (onSubmit) {
|
|
17407
16787
|
await onSubmit(values);
|
|
@@ -17413,7 +16793,7 @@ function ContactLocations({
|
|
|
17413
16793
|
onSuccess?.(result);
|
|
17414
16794
|
}
|
|
17415
16795
|
} catch (error) {
|
|
17416
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
16796
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
17417
16797
|
helpers.setErrors(error.formErrors);
|
|
17418
16798
|
}
|
|
17419
16799
|
onError?.(error);
|
|
@@ -17637,7 +17017,7 @@ function ContactMaintenance({
|
|
|
17637
17017
|
try {
|
|
17638
17018
|
let result;
|
|
17639
17019
|
if (shouldAutoSubmit) {
|
|
17640
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17020
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
17641
17021
|
}
|
|
17642
17022
|
if (onSubmit) {
|
|
17643
17023
|
await onSubmit(values);
|
|
@@ -17649,7 +17029,7 @@ function ContactMaintenance({
|
|
|
17649
17029
|
onSuccess?.(result);
|
|
17650
17030
|
}
|
|
17651
17031
|
} catch (error) {
|
|
17652
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17032
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
17653
17033
|
helpers.setErrors(error.formErrors);
|
|
17654
17034
|
}
|
|
17655
17035
|
onError?.(error);
|
|
@@ -17838,7 +17218,7 @@ function ContactMap({
|
|
|
17838
17218
|
try {
|
|
17839
17219
|
let result;
|
|
17840
17220
|
if (shouldAutoSubmit) {
|
|
17841
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17221
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
17842
17222
|
}
|
|
17843
17223
|
if (onSubmit) {
|
|
17844
17224
|
await onSubmit(values);
|
|
@@ -17850,7 +17230,7 @@ function ContactMap({
|
|
|
17850
17230
|
onSuccess?.(result);
|
|
17851
17231
|
}
|
|
17852
17232
|
} catch (error) {
|
|
17853
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17233
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
17854
17234
|
helpers.setErrors(error.formErrors);
|
|
17855
17235
|
}
|
|
17856
17236
|
onError?.(error);
|
|
@@ -18036,7 +17416,7 @@ function ContactMinimal({
|
|
|
18036
17416
|
try {
|
|
18037
17417
|
let result;
|
|
18038
17418
|
if (shouldAutoSubmit) {
|
|
18039
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17419
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
18040
17420
|
}
|
|
18041
17421
|
if (onSubmit) {
|
|
18042
17422
|
await onSubmit(values);
|
|
@@ -18048,7 +17428,7 @@ function ContactMinimal({
|
|
|
18048
17428
|
onSuccess?.(result);
|
|
18049
17429
|
}
|
|
18050
17430
|
} catch (error) {
|
|
18051
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17431
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
18052
17432
|
helpers.setErrors(error.formErrors);
|
|
18053
17433
|
}
|
|
18054
17434
|
onError?.(error);
|
|
@@ -18225,7 +17605,7 @@ function ContactMoving({
|
|
|
18225
17605
|
try {
|
|
18226
17606
|
let result;
|
|
18227
17607
|
if (shouldAutoSubmit) {
|
|
18228
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17608
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
18229
17609
|
}
|
|
18230
17610
|
if (onSubmit) {
|
|
18231
17611
|
await onSubmit(values);
|
|
@@ -18237,7 +17617,7 @@ function ContactMoving({
|
|
|
18237
17617
|
onSuccess?.(result);
|
|
18238
17618
|
}
|
|
18239
17619
|
} catch (error) {
|
|
18240
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17620
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
18241
17621
|
helpers.setErrors(error.formErrors);
|
|
18242
17622
|
}
|
|
18243
17623
|
onError?.(error);
|
|
@@ -18426,7 +17806,7 @@ function ContactMultistep({
|
|
|
18426
17806
|
try {
|
|
18427
17807
|
let result;
|
|
18428
17808
|
if (shouldAutoSubmit) {
|
|
18429
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
17809
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
18430
17810
|
}
|
|
18431
17811
|
if (onSubmit) {
|
|
18432
17812
|
await onSubmit(values);
|
|
@@ -18438,7 +17818,7 @@ function ContactMultistep({
|
|
|
18438
17818
|
onSuccess?.(result);
|
|
18439
17819
|
}
|
|
18440
17820
|
} catch (error) {
|
|
18441
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
17821
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
18442
17822
|
helpers.setErrors(error.formErrors);
|
|
18443
17823
|
}
|
|
18444
17824
|
onError?.(error);
|
|
@@ -18627,7 +18007,7 @@ function ContactPartnership({
|
|
|
18627
18007
|
try {
|
|
18628
18008
|
let result;
|
|
18629
18009
|
if (shouldAutoSubmit) {
|
|
18630
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
18010
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
18631
18011
|
}
|
|
18632
18012
|
if (onSubmit) {
|
|
18633
18013
|
await onSubmit(values);
|
|
@@ -18639,7 +18019,7 @@ function ContactPartnership({
|
|
|
18639
18019
|
onSuccess?.(result);
|
|
18640
18020
|
}
|
|
18641
18021
|
} catch (error) {
|
|
18642
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
18022
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
18643
18023
|
helpers.setErrors(error.formErrors);
|
|
18644
18024
|
}
|
|
18645
18025
|
onError?.(error);
|
|
@@ -18827,6 +18207,7 @@ function ContactPhotography({
|
|
|
18827
18207
|
actionsSlot,
|
|
18828
18208
|
formFields = DEFAULT_FORM_FIELDS8,
|
|
18829
18209
|
successMessage = "Thank you! Your message has been sent successfully.",
|
|
18210
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
18830
18211
|
className,
|
|
18831
18212
|
headingClassName,
|
|
18832
18213
|
descriptionClassName,
|
|
@@ -18835,6 +18216,7 @@ function ContactPhotography({
|
|
|
18835
18216
|
submitClassName,
|
|
18836
18217
|
successMessageClassName,
|
|
18837
18218
|
errorMessageClassName,
|
|
18219
|
+
spacing = "none",
|
|
18838
18220
|
background,
|
|
18839
18221
|
pattern,
|
|
18840
18222
|
patternOpacity,
|
|
@@ -18855,8 +18237,8 @@ function ContactPhotography({
|
|
|
18855
18237
|
uploadFiles,
|
|
18856
18238
|
removeFile,
|
|
18857
18239
|
resetUpload
|
|
18858
|
-
} = useFileUpload({ onError });
|
|
18859
|
-
const { form, submissionError, formMethod, resetSubmissionState } = useContactForm({
|
|
18240
|
+
} = integration.useFileUpload({ onError });
|
|
18241
|
+
const { form, submissionError, formMethod, resetSubmissionState } = integration.useContactForm({
|
|
18860
18242
|
formFields,
|
|
18861
18243
|
formConfig,
|
|
18862
18244
|
onSubmit,
|
|
@@ -18898,112 +18280,65 @@ function ContactPhotography({
|
|
|
18898
18280
|
}
|
|
18899
18281
|
return null;
|
|
18900
18282
|
}, [actionsSlot, actions]);
|
|
18901
|
-
const bgColorClass = React56.useMemo(() => {
|
|
18902
|
-
switch (background) {
|
|
18903
|
-
case "dark":
|
|
18904
|
-
return "bg-foreground text-background";
|
|
18905
|
-
case "gray":
|
|
18906
|
-
return cn(
|
|
18907
|
-
getNestedCardBg(background),
|
|
18908
|
-
getNestedCardTextColor(background)
|
|
18909
|
-
);
|
|
18910
|
-
case "white":
|
|
18911
|
-
return "bg-background";
|
|
18912
|
-
default:
|
|
18913
|
-
return "bg-background";
|
|
18914
|
-
}
|
|
18915
|
-
}, [background]);
|
|
18916
18283
|
const desktopOrder = directionConfig.desktop === "mediaRight" ? "lg:flex-row" : "lg:flex-row-reverse";
|
|
18917
18284
|
const mobileOrder = directionConfig.mobile === "mediaTop" ? "flex-col" : "flex-col-reverse";
|
|
18918
|
-
const contentArea = /* @__PURE__ */ jsxRuntime.
|
|
18285
|
+
const contentArea = /* @__PURE__ */ jsxRuntime.jsx(
|
|
18919
18286
|
"div",
|
|
18920
18287
|
{
|
|
18921
18288
|
className: cn(
|
|
18922
18289
|
"relative flex w-full items-center lg:w-1/2",
|
|
18923
|
-
bgColorClass,
|
|
18924
18290
|
contentClassName
|
|
18925
18291
|
),
|
|
18926
|
-
children: [
|
|
18927
|
-
|
|
18928
|
-
|
|
18929
|
-
|
|
18930
|
-
|
|
18931
|
-
|
|
18932
|
-
|
|
18933
|
-
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18939
|
-
|
|
18940
|
-
|
|
18941
|
-
|
|
18942
|
-
|
|
18943
|
-
|
|
18944
|
-
|
|
18945
|
-
|
|
18946
|
-
|
|
18947
|
-
|
|
18948
|
-
|
|
18949
|
-
|
|
18950
|
-
|
|
18951
|
-
{
|
|
18952
|
-
form,
|
|
18953
|
-
action: formConfig?.endpoint,
|
|
18954
|
-
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: {
|
|
18955
18318
|
submissionError,
|
|
18956
|
-
successMessage
|
|
18319
|
+
successMessage
|
|
18320
|
+
},
|
|
18321
|
+
styleConfig: {
|
|
18322
|
+
formClassName: cn("space-y-6", formClassName),
|
|
18957
18323
|
successMessageClassName,
|
|
18958
|
-
errorMessageClassName
|
|
18959
|
-
|
|
18960
|
-
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
|
|
18964
|
-
|
|
18965
|
-
|
|
18966
|
-
|
|
18967
|
-
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
"div",
|
|
18977
|
-
{
|
|
18978
|
-
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
18979
|
-
children: [
|
|
18980
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[76px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18981
|
-
DynamicFormField,
|
|
18982
|
-
{
|
|
18983
|
-
field,
|
|
18984
|
-
uploadProgress,
|
|
18985
|
-
onFileUpload: uploadFiles,
|
|
18986
|
-
onFileRemove: removeFile,
|
|
18987
|
-
isUploading
|
|
18988
|
-
}
|
|
18989
|
-
) }),
|
|
18990
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[76px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
18991
|
-
DynamicFormField,
|
|
18992
|
-
{
|
|
18993
|
-
field: nextField,
|
|
18994
|
-
uploadProgress,
|
|
18995
|
-
onFileUpload: uploadFiles,
|
|
18996
|
-
onFileRemove: removeFile,
|
|
18997
|
-
isUploading
|
|
18998
|
-
}
|
|
18999
|
-
) })
|
|
19000
|
-
]
|
|
19001
|
-
},
|
|
19002
|
-
field.name
|
|
19003
|
-
);
|
|
19004
|
-
}
|
|
19005
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[76px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19006
|
-
DynamicFormField,
|
|
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,
|
|
19007
18342
|
{
|
|
19008
18343
|
field,
|
|
19009
18344
|
uploadProgress,
|
|
@@ -19011,28 +18346,29 @@ function ContactPhotography({
|
|
|
19011
18346
|
onFileRemove: removeFile,
|
|
19012
18347
|
isUploading
|
|
19013
18348
|
}
|
|
19014
|
-
)
|
|
19015
|
-
}
|
|
19016
|
-
|
|
19017
|
-
|
|
19018
|
-
|
|
19019
|
-
|
|
19020
|
-
|
|
19021
|
-
|
|
19022
|
-
|
|
19023
|
-
|
|
19024
|
-
|
|
19025
|
-
|
|
19026
|
-
|
|
19027
|
-
|
|
19028
|
-
|
|
19029
|
-
|
|
19030
|
-
|
|
19031
|
-
|
|
19032
|
-
|
|
19033
|
-
|
|
19034
|
-
|
|
19035
|
-
|
|
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
|
+
] }) })
|
|
19036
18372
|
}
|
|
19037
18373
|
);
|
|
19038
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(
|
|
@@ -19044,10 +18380,21 @@ function ContactPhotography({
|
|
|
19044
18380
|
optixFlowConfig
|
|
19045
18381
|
}
|
|
19046
18382
|
) }) : null;
|
|
19047
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
19048
|
-
|
|
19049
|
-
|
|
19050
|
-
|
|
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
|
+
);
|
|
19051
18398
|
}
|
|
19052
18399
|
function ContactPress({
|
|
19053
18400
|
heading,
|
|
@@ -19102,7 +18449,7 @@ function ContactPress({
|
|
|
19102
18449
|
try {
|
|
19103
18450
|
let result;
|
|
19104
18451
|
if (shouldAutoSubmit) {
|
|
19105
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
18452
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19106
18453
|
}
|
|
19107
18454
|
if (onSubmit) {
|
|
19108
18455
|
await onSubmit(values);
|
|
@@ -19114,7 +18461,7 @@ function ContactPress({
|
|
|
19114
18461
|
onSuccess?.(result);
|
|
19115
18462
|
}
|
|
19116
18463
|
} catch (error) {
|
|
19117
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
18464
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19118
18465
|
helpers.setErrors(error.formErrors);
|
|
19119
18466
|
}
|
|
19120
18467
|
onError?.(error);
|
|
@@ -19303,7 +18650,7 @@ function ContactQuote({
|
|
|
19303
18650
|
try {
|
|
19304
18651
|
let result;
|
|
19305
18652
|
if (shouldAutoSubmit) {
|
|
19306
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
18653
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19307
18654
|
}
|
|
19308
18655
|
if (onSubmit) {
|
|
19309
18656
|
await onSubmit(values);
|
|
@@ -19315,7 +18662,7 @@ function ContactQuote({
|
|
|
19315
18662
|
onSuccess?.(result);
|
|
19316
18663
|
}
|
|
19317
18664
|
} catch (error) {
|
|
19318
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
18665
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19319
18666
|
helpers.setErrors(error.formErrors);
|
|
19320
18667
|
}
|
|
19321
18668
|
onError?.(error);
|
|
@@ -19504,7 +18851,7 @@ function ContactReferral({
|
|
|
19504
18851
|
try {
|
|
19505
18852
|
let result;
|
|
19506
18853
|
if (shouldAutoSubmit) {
|
|
19507
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
18854
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19508
18855
|
}
|
|
19509
18856
|
if (onSubmit) {
|
|
19510
18857
|
await onSubmit(values);
|
|
@@ -19516,7 +18863,7 @@ function ContactReferral({
|
|
|
19516
18863
|
onSuccess?.(result);
|
|
19517
18864
|
}
|
|
19518
18865
|
} catch (error) {
|
|
19519
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
18866
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19520
18867
|
helpers.setErrors(error.formErrors);
|
|
19521
18868
|
}
|
|
19522
18869
|
onError?.(error);
|
|
@@ -19705,7 +19052,7 @@ function ContactReport({
|
|
|
19705
19052
|
try {
|
|
19706
19053
|
let result;
|
|
19707
19054
|
if (shouldAutoSubmit) {
|
|
19708
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19055
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19709
19056
|
}
|
|
19710
19057
|
if (onSubmit) {
|
|
19711
19058
|
await onSubmit(values);
|
|
@@ -19717,7 +19064,7 @@ function ContactReport({
|
|
|
19717
19064
|
onSuccess?.(result);
|
|
19718
19065
|
}
|
|
19719
19066
|
} catch (error) {
|
|
19720
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19067
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19721
19068
|
helpers.setErrors(error.formErrors);
|
|
19722
19069
|
}
|
|
19723
19070
|
onError?.(error);
|
|
@@ -19906,7 +19253,7 @@ function ContactReservation({
|
|
|
19906
19253
|
try {
|
|
19907
19254
|
let result;
|
|
19908
19255
|
if (shouldAutoSubmit) {
|
|
19909
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19256
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
19910
19257
|
}
|
|
19911
19258
|
if (onSubmit) {
|
|
19912
19259
|
await onSubmit(values);
|
|
@@ -19918,7 +19265,7 @@ function ContactReservation({
|
|
|
19918
19265
|
onSuccess?.(result);
|
|
19919
19266
|
}
|
|
19920
19267
|
} catch (error) {
|
|
19921
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19268
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
19922
19269
|
helpers.setErrors(error.formErrors);
|
|
19923
19270
|
}
|
|
19924
19271
|
onError?.(error);
|
|
@@ -20107,7 +19454,7 @@ function ContactRetreat({
|
|
|
20107
19454
|
try {
|
|
20108
19455
|
let result;
|
|
20109
19456
|
if (shouldAutoSubmit) {
|
|
20110
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19457
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20111
19458
|
}
|
|
20112
19459
|
if (onSubmit) {
|
|
20113
19460
|
await onSubmit(values);
|
|
@@ -20119,7 +19466,7 @@ function ContactRetreat({
|
|
|
20119
19466
|
onSuccess?.(result);
|
|
20120
19467
|
}
|
|
20121
19468
|
} catch (error) {
|
|
20122
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19469
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20123
19470
|
helpers.setErrors(error.formErrors);
|
|
20124
19471
|
}
|
|
20125
19472
|
onError?.(error);
|
|
@@ -20308,7 +19655,7 @@ function ContactRsvp({
|
|
|
20308
19655
|
try {
|
|
20309
19656
|
let result;
|
|
20310
19657
|
if (shouldAutoSubmit) {
|
|
20311
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19658
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20312
19659
|
}
|
|
20313
19660
|
if (onSubmit) {
|
|
20314
19661
|
await onSubmit(values);
|
|
@@ -20320,7 +19667,7 @@ function ContactRsvp({
|
|
|
20320
19667
|
onSuccess?.(result);
|
|
20321
19668
|
}
|
|
20322
19669
|
} catch (error) {
|
|
20323
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19670
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20324
19671
|
helpers.setErrors(error.formErrors);
|
|
20325
19672
|
}
|
|
20326
19673
|
onError?.(error);
|
|
@@ -20509,7 +19856,7 @@ function ContactSales({
|
|
|
20509
19856
|
try {
|
|
20510
19857
|
let result;
|
|
20511
19858
|
if (shouldAutoSubmit) {
|
|
20512
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
19859
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20513
19860
|
}
|
|
20514
19861
|
if (onSubmit) {
|
|
20515
19862
|
await onSubmit(values);
|
|
@@ -20521,7 +19868,7 @@ function ContactSales({
|
|
|
20521
19868
|
onSuccess?.(result);
|
|
20522
19869
|
}
|
|
20523
19870
|
} catch (error) {
|
|
20524
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
19871
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20525
19872
|
helpers.setErrors(error.formErrors);
|
|
20526
19873
|
}
|
|
20527
19874
|
onError?.(error);
|
|
@@ -20719,7 +20066,7 @@ function ContactSchedule({
|
|
|
20719
20066
|
try {
|
|
20720
20067
|
let result;
|
|
20721
20068
|
if (shouldAutoSubmit) {
|
|
20722
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20069
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20723
20070
|
}
|
|
20724
20071
|
if (onSubmit) {
|
|
20725
20072
|
await onSubmit(values);
|
|
@@ -20731,7 +20078,7 @@ function ContactSchedule({
|
|
|
20731
20078
|
onSuccess?.(result);
|
|
20732
20079
|
}
|
|
20733
20080
|
} catch (error) {
|
|
20734
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20081
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20735
20082
|
helpers.setErrors(error.formErrors);
|
|
20736
20083
|
}
|
|
20737
20084
|
onError?.(error);
|
|
@@ -20920,7 +20267,7 @@ function ContactSponsorship({
|
|
|
20920
20267
|
try {
|
|
20921
20268
|
let result;
|
|
20922
20269
|
if (shouldAutoSubmit) {
|
|
20923
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20270
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
20924
20271
|
}
|
|
20925
20272
|
if (onSubmit) {
|
|
20926
20273
|
await onSubmit(values);
|
|
@@ -20932,7 +20279,7 @@ function ContactSponsorship({
|
|
|
20932
20279
|
onSuccess?.(result);
|
|
20933
20280
|
}
|
|
20934
20281
|
} catch (error) {
|
|
20935
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20282
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
20936
20283
|
helpers.setErrors(error.formErrors);
|
|
20937
20284
|
}
|
|
20938
20285
|
onError?.(error);
|
|
@@ -21117,7 +20464,7 @@ function ContactSupport({
|
|
|
21117
20464
|
try {
|
|
21118
20465
|
let result;
|
|
21119
20466
|
if (shouldAutoSubmit) {
|
|
21120
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20467
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21121
20468
|
}
|
|
21122
20469
|
if (onSubmit) {
|
|
21123
20470
|
await onSubmit(values);
|
|
@@ -21129,7 +20476,7 @@ function ContactSupport({
|
|
|
21129
20476
|
onSuccess?.(result);
|
|
21130
20477
|
}
|
|
21131
20478
|
} catch (error) {
|
|
21132
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20479
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21133
20480
|
helpers.setErrors(error.formErrors);
|
|
21134
20481
|
}
|
|
21135
20482
|
onError?.(error);
|
|
@@ -21289,7 +20636,7 @@ function ContactTenant({
|
|
|
21289
20636
|
try {
|
|
21290
20637
|
let result;
|
|
21291
20638
|
if (shouldAutoSubmit) {
|
|
21292
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20639
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21293
20640
|
}
|
|
21294
20641
|
if (onSubmit) {
|
|
21295
20642
|
await onSubmit(values);
|
|
@@ -21301,7 +20648,7 @@ function ContactTenant({
|
|
|
21301
20648
|
onSuccess?.(result);
|
|
21302
20649
|
}
|
|
21303
20650
|
} catch (error) {
|
|
21304
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20651
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21305
20652
|
helpers.setErrors(error.formErrors);
|
|
21306
20653
|
}
|
|
21307
20654
|
onError?.(error);
|
|
@@ -21490,7 +20837,7 @@ function ContactVendor({
|
|
|
21490
20837
|
try {
|
|
21491
20838
|
let result;
|
|
21492
20839
|
if (shouldAutoSubmit) {
|
|
21493
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
20840
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21494
20841
|
}
|
|
21495
20842
|
if (onSubmit) {
|
|
21496
20843
|
await onSubmit(values);
|
|
@@ -21502,7 +20849,7 @@ function ContactVendor({
|
|
|
21502
20849
|
onSuccess?.(result);
|
|
21503
20850
|
}
|
|
21504
20851
|
} catch (error) {
|
|
21505
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
20852
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21506
20853
|
helpers.setErrors(error.formErrors);
|
|
21507
20854
|
}
|
|
21508
20855
|
onError?.(error);
|
|
@@ -21691,7 +21038,7 @@ function ContactVolunteer({
|
|
|
21691
21038
|
try {
|
|
21692
21039
|
let result;
|
|
21693
21040
|
if (shouldAutoSubmit) {
|
|
21694
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
21041
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21695
21042
|
}
|
|
21696
21043
|
if (onSubmit) {
|
|
21697
21044
|
await onSubmit(values);
|
|
@@ -21703,7 +21050,7 @@ function ContactVolunteer({
|
|
|
21703
21050
|
onSuccess?.(result);
|
|
21704
21051
|
}
|
|
21705
21052
|
} catch (error) {
|
|
21706
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
21053
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21707
21054
|
helpers.setErrors(error.formErrors);
|
|
21708
21055
|
}
|
|
21709
21056
|
onError?.(error);
|
|
@@ -21892,7 +21239,7 @@ function ContactWarranty({
|
|
|
21892
21239
|
try {
|
|
21893
21240
|
let result;
|
|
21894
21241
|
if (shouldAutoSubmit) {
|
|
21895
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
21242
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
21896
21243
|
}
|
|
21897
21244
|
if (onSubmit) {
|
|
21898
21245
|
await onSubmit(values);
|
|
@@ -21904,7 +21251,7 @@ function ContactWarranty({
|
|
|
21904
21251
|
onSuccess?.(result);
|
|
21905
21252
|
}
|
|
21906
21253
|
} catch (error) {
|
|
21907
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
21254
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
21908
21255
|
helpers.setErrors(error.formErrors);
|
|
21909
21256
|
}
|
|
21910
21257
|
onError?.(error);
|
|
@@ -22093,7 +21440,7 @@ function ContactWedding({
|
|
|
22093
21440
|
try {
|
|
22094
21441
|
let result;
|
|
22095
21442
|
if (shouldAutoSubmit) {
|
|
22096
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
21443
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
22097
21444
|
}
|
|
22098
21445
|
if (onSubmit) {
|
|
22099
21446
|
await onSubmit(values);
|
|
@@ -22105,7 +21452,7 @@ function ContactWedding({
|
|
|
22105
21452
|
onSuccess?.(result);
|
|
22106
21453
|
}
|
|
22107
21454
|
} catch (error) {
|
|
22108
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
21455
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
22109
21456
|
helpers.setErrors(error.formErrors);
|
|
22110
21457
|
}
|
|
22111
21458
|
onError?.(error);
|
|
@@ -39775,7 +39122,7 @@ var FilterForm = React56__namespace.memo(function FilterForm2({
|
|
|
39775
39122
|
children: [
|
|
39776
39123
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: category.label }),
|
|
39777
39124
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39778
|
-
|
|
39125
|
+
Checkbox,
|
|
39779
39126
|
{
|
|
39780
39127
|
checked: isChecked,
|
|
39781
39128
|
onCheckedChange: (checked) => onCategoryChange(category.value, !!checked)
|
|
@@ -44876,7 +44223,7 @@ function FooterNewsletterContact({
|
|
|
44876
44223
|
validationSchema: {
|
|
44877
44224
|
email: (value) => {
|
|
44878
44225
|
if (!value) return "Email is required";
|
|
44879
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
44226
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
44880
44227
|
return void 0;
|
|
44881
44228
|
}
|
|
44882
44229
|
},
|
|
@@ -44888,7 +44235,7 @@ function FooterNewsletterContact({
|
|
|
44888
44235
|
try {
|
|
44889
44236
|
let result;
|
|
44890
44237
|
if (shouldAutoSubmit) {
|
|
44891
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
44238
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
44892
44239
|
}
|
|
44893
44240
|
if (onSubmit) {
|
|
44894
44241
|
await onSubmit(values.email);
|
|
@@ -44900,7 +44247,7 @@ function FooterNewsletterContact({
|
|
|
44900
44247
|
onSuccess?.(result);
|
|
44901
44248
|
}
|
|
44902
44249
|
} catch (error) {
|
|
44903
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
44250
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
44904
44251
|
helpers.setErrors(error.formErrors);
|
|
44905
44252
|
}
|
|
44906
44253
|
onError?.(error);
|
|
@@ -45044,7 +44391,7 @@ function FooterSplitImageAccordion({
|
|
|
45044
44391
|
validationSchema: {
|
|
45045
44392
|
email: (value) => {
|
|
45046
44393
|
if (!value) return "Email is required";
|
|
45047
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
44394
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
45048
44395
|
return void 0;
|
|
45049
44396
|
}
|
|
45050
44397
|
},
|
|
@@ -45056,7 +44403,7 @@ function FooterSplitImageAccordion({
|
|
|
45056
44403
|
try {
|
|
45057
44404
|
let result;
|
|
45058
44405
|
if (shouldAutoSubmit) {
|
|
45059
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
44406
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
45060
44407
|
}
|
|
45061
44408
|
if (onSubmit) {
|
|
45062
44409
|
await onSubmit(values.email);
|
|
@@ -45068,7 +44415,7 @@ function FooterSplitImageAccordion({
|
|
|
45068
44415
|
onSuccess?.(result);
|
|
45069
44416
|
}
|
|
45070
44417
|
} catch (error) {
|
|
45071
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
44418
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
45072
44419
|
helpers.setErrors(error.formErrors);
|
|
45073
44420
|
}
|
|
45074
44421
|
onError?.(error);
|
|
@@ -45301,7 +44648,7 @@ function FooterAccordionSocial({
|
|
|
45301
44648
|
validationSchema: {
|
|
45302
44649
|
email: (value) => {
|
|
45303
44650
|
if (!value) return "Email is required";
|
|
45304
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
44651
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
45305
44652
|
return void 0;
|
|
45306
44653
|
}
|
|
45307
44654
|
},
|
|
@@ -45313,7 +44660,7 @@ function FooterAccordionSocial({
|
|
|
45313
44660
|
try {
|
|
45314
44661
|
let result;
|
|
45315
44662
|
if (shouldAutoSubmit) {
|
|
45316
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
44663
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
45317
44664
|
}
|
|
45318
44665
|
if (onSubmit) {
|
|
45319
44666
|
await onSubmit(values.email);
|
|
@@ -45325,7 +44672,7 @@ function FooterAccordionSocial({
|
|
|
45325
44672
|
onSuccess?.(result);
|
|
45326
44673
|
}
|
|
45327
44674
|
} catch (error) {
|
|
45328
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
44675
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
45329
44676
|
helpers.setErrors(error.formErrors);
|
|
45330
44677
|
}
|
|
45331
44678
|
onError?.(error);
|
|
@@ -83749,7 +83096,7 @@ function ListSearchableGrid({
|
|
|
83749
83096
|
}
|
|
83750
83097
|
);
|
|
83751
83098
|
}
|
|
83752
|
-
var { useMemo:
|
|
83099
|
+
var { useMemo: useMemo441 } = React56__namespace;
|
|
83753
83100
|
function OfferModalNewsletterDiscount({
|
|
83754
83101
|
title,
|
|
83755
83102
|
emailPlaceholder,
|
|
@@ -83783,7 +83130,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83783
83130
|
validationSchema: {
|
|
83784
83131
|
email: (value) => {
|
|
83785
83132
|
if (!value) return "Email is required";
|
|
83786
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
83133
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
83787
83134
|
return void 0;
|
|
83788
83135
|
}
|
|
83789
83136
|
},
|
|
@@ -83795,7 +83142,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83795
83142
|
try {
|
|
83796
83143
|
let result;
|
|
83797
83144
|
if (shouldAutoSubmit) {
|
|
83798
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
83145
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
83799
83146
|
}
|
|
83800
83147
|
if (onSubmit) {
|
|
83801
83148
|
await onSubmit(values.email);
|
|
@@ -83807,7 +83154,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83807
83154
|
onSuccess?.(result);
|
|
83808
83155
|
}
|
|
83809
83156
|
} catch (error) {
|
|
83810
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
83157
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
83811
83158
|
helpers.setErrors(error.formErrors);
|
|
83812
83159
|
}
|
|
83813
83160
|
onError?.(error);
|
|
@@ -83817,7 +83164,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83817
83164
|
});
|
|
83818
83165
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
83819
83166
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83820
|
-
const renderCloseButton =
|
|
83167
|
+
const renderCloseButton = useMemo441(() => {
|
|
83821
83168
|
if (closeButtonSlot) return closeButtonSlot;
|
|
83822
83169
|
if (!closeButtonText) return null;
|
|
83823
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(
|
|
@@ -83831,12 +83178,12 @@ function OfferModalNewsletterDiscount({
|
|
|
83831
83178
|
}
|
|
83832
83179
|
) }) });
|
|
83833
83180
|
}, [closeButtonSlot, closeButtonText, closeClassName]);
|
|
83834
|
-
const renderHeader =
|
|
83181
|
+
const renderHeader = useMemo441(() => {
|
|
83835
83182
|
if (headerSlot) return headerSlot;
|
|
83836
83183
|
if (!title) return null;
|
|
83837
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 }) });
|
|
83838
83185
|
}, [headerSlot, title, headerClassName, titleClassName]);
|
|
83839
|
-
const renderForm =
|
|
83186
|
+
const renderForm = useMemo441(() => {
|
|
83840
83187
|
if (formSlot) return formSlot;
|
|
83841
83188
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
83842
83189
|
forms.Form,
|
|
@@ -83898,7 +83245,7 @@ function OfferModalNewsletterDiscount({
|
|
|
83898
83245
|
}
|
|
83899
83246
|
) });
|
|
83900
83247
|
}
|
|
83901
|
-
var { useMemo:
|
|
83248
|
+
var { useMemo: useMemo442 } = React56__namespace;
|
|
83902
83249
|
function OfferModalMembershipImage({
|
|
83903
83250
|
overline,
|
|
83904
83251
|
title,
|
|
@@ -83939,7 +83286,7 @@ function OfferModalMembershipImage({
|
|
|
83939
83286
|
validationSchema: {
|
|
83940
83287
|
email: (value) => {
|
|
83941
83288
|
if (!value) return "Please enter an email address";
|
|
83942
|
-
if (!isValidEmail(value)) {
|
|
83289
|
+
if (!integration.isValidEmail(value)) {
|
|
83943
83290
|
return "Please enter a valid email address";
|
|
83944
83291
|
}
|
|
83945
83292
|
return void 0;
|
|
@@ -83953,7 +83300,7 @@ function OfferModalMembershipImage({
|
|
|
83953
83300
|
try {
|
|
83954
83301
|
let result;
|
|
83955
83302
|
if (shouldAutoSubmit) {
|
|
83956
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
83303
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
83957
83304
|
}
|
|
83958
83305
|
if (onSubmit) {
|
|
83959
83306
|
await onSubmit(values.email);
|
|
@@ -83965,7 +83312,7 @@ function OfferModalMembershipImage({
|
|
|
83965
83312
|
onSuccess?.(result);
|
|
83966
83313
|
}
|
|
83967
83314
|
} catch (error) {
|
|
83968
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
83315
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
83969
83316
|
helpers.setErrors(error.formErrors);
|
|
83970
83317
|
}
|
|
83971
83318
|
onError?.(error);
|
|
@@ -83975,7 +83322,7 @@ function OfferModalMembershipImage({
|
|
|
83975
83322
|
});
|
|
83976
83323
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
83977
83324
|
const dialogProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
83978
|
-
const renderImage =
|
|
83325
|
+
const renderImage = useMemo442(() => {
|
|
83979
83326
|
if (imageSlot) return imageSlot;
|
|
83980
83327
|
if (!image) return null;
|
|
83981
83328
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("max-h-[290px] h-full overflow-hidden max-lg:hidden", imageWrapperClassName), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -83988,7 +83335,7 @@ function OfferModalMembershipImage({
|
|
|
83988
83335
|
}
|
|
83989
83336
|
) });
|
|
83990
83337
|
}, [imageSlot, image, imageWrapperClassName, imageClassName, optixFlowConfig]);
|
|
83991
|
-
const renderCloseButton =
|
|
83338
|
+
const renderCloseButton = useMemo442(() => {
|
|
83992
83339
|
if (closeButtonSlot) return closeButtonSlot;
|
|
83993
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(
|
|
83994
83341
|
Pressable,
|
|
@@ -84004,7 +83351,7 @@ function OfferModalMembershipImage({
|
|
|
84004
83351
|
}
|
|
84005
83352
|
) }) });
|
|
84006
83353
|
}, [closeButtonSlot, closeClassName]);
|
|
84007
|
-
const renderForm =
|
|
83354
|
+
const renderForm = useMemo442(() => {
|
|
84008
83355
|
if (formSlot) return formSlot;
|
|
84009
83356
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
84010
83357
|
forms.Form,
|
|
@@ -84067,7 +83414,7 @@ function OfferModalMembershipImage({
|
|
|
84067
83414
|
}
|
|
84068
83415
|
);
|
|
84069
83416
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
84070
|
-
const renderFooter =
|
|
83417
|
+
const renderFooter = useMemo442(() => {
|
|
84071
83418
|
if (footerSlot) return footerSlot;
|
|
84072
83419
|
if (!description) return null;
|
|
84073
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 }) });
|
|
@@ -84187,7 +83534,7 @@ function SheetDescription({
|
|
|
84187
83534
|
}
|
|
84188
83535
|
);
|
|
84189
83536
|
}
|
|
84190
|
-
var { useMemo:
|
|
83537
|
+
var { useMemo: useMemo443 } = React56__namespace;
|
|
84191
83538
|
function OfferModalSheetNewsletter({
|
|
84192
83539
|
logo,
|
|
84193
83540
|
logoSlot,
|
|
@@ -84234,7 +83581,7 @@ function OfferModalSheetNewsletter({
|
|
|
84234
83581
|
validationSchema: {
|
|
84235
83582
|
email: (value) => {
|
|
84236
83583
|
if (!value) return "Please enter an email address";
|
|
84237
|
-
if (!isValidEmail(value)) {
|
|
83584
|
+
if (!integration.isValidEmail(value)) {
|
|
84238
83585
|
return "Please enter a valid email address";
|
|
84239
83586
|
}
|
|
84240
83587
|
return void 0;
|
|
@@ -84248,7 +83595,7 @@ function OfferModalSheetNewsletter({
|
|
|
84248
83595
|
try {
|
|
84249
83596
|
let result;
|
|
84250
83597
|
if (shouldAutoSubmit) {
|
|
84251
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
83598
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
84252
83599
|
}
|
|
84253
83600
|
if (onSubmit) {
|
|
84254
83601
|
await onSubmit(values.email);
|
|
@@ -84260,7 +83607,7 @@ function OfferModalSheetNewsletter({
|
|
|
84260
83607
|
onSuccess?.(result);
|
|
84261
83608
|
}
|
|
84262
83609
|
} catch (error) {
|
|
84263
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
83610
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
84264
83611
|
helpers.setErrors(error.formErrors);
|
|
84265
83612
|
}
|
|
84266
83613
|
onError?.(error);
|
|
@@ -84270,7 +83617,7 @@ function OfferModalSheetNewsletter({
|
|
|
84270
83617
|
});
|
|
84271
83618
|
const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
|
|
84272
83619
|
const sheetProps = open !== void 0 ? { open, onOpenChange } : { defaultOpen };
|
|
84273
|
-
const renderLogo =
|
|
83620
|
+
const renderLogo = useMemo443(() => {
|
|
84274
83621
|
if (logoSlot) return logoSlot;
|
|
84275
83622
|
if (!logo) return null;
|
|
84276
83623
|
const logoSrc = typeof logo.src === "string" ? logo.src : logo.src.light;
|
|
@@ -84284,7 +83631,7 @@ function OfferModalSheetNewsletter({
|
|
|
84284
83631
|
}
|
|
84285
83632
|
);
|
|
84286
83633
|
}, [logoSlot, logo, logoClassName, optixFlowConfig]);
|
|
84287
|
-
const renderHeader =
|
|
83634
|
+
const renderHeader = useMemo443(() => {
|
|
84288
83635
|
if (headerSlot) return headerSlot;
|
|
84289
83636
|
return /* @__PURE__ */ jsxRuntime.jsxs(SheetHeader, { className: cn("gap-8 p-0", headerClassName), children: [
|
|
84290
83637
|
renderLogo,
|
|
@@ -84294,7 +83641,7 @@ function OfferModalSheetNewsletter({
|
|
|
84294
83641
|
] })
|
|
84295
83642
|
] });
|
|
84296
83643
|
}, [headerSlot, renderLogo, headerClassName, title, titleClassName, description, descriptionClassName]);
|
|
84297
|
-
const renderForm =
|
|
83644
|
+
const renderForm = useMemo443(() => {
|
|
84298
83645
|
if (formSlot) return formSlot;
|
|
84299
83646
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
84300
83647
|
forms.Form,
|
|
@@ -84342,7 +83689,7 @@ function OfferModalSheetNewsletter({
|
|
|
84342
83689
|
}
|
|
84343
83690
|
);
|
|
84344
83691
|
}, [formSlot, form, formConfig, formMethod, emailPlaceholder, inputClassName, submitClassName, buttonText, formClassName]);
|
|
84345
|
-
const renderLegal =
|
|
83692
|
+
const renderLegal = useMemo443(() => {
|
|
84346
83693
|
if (legalSlot) return legalSlot;
|
|
84347
83694
|
if (!termsUrl || !termsText || !privacyUrl || !privacyText) return null;
|
|
84348
83695
|
return /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cn("text-muted-foreground text-xs", legalClassName), children: [
|
|
@@ -84356,7 +83703,7 @@ function OfferModalSheetNewsletter({
|
|
|
84356
83703
|
"."
|
|
84357
83704
|
] });
|
|
84358
83705
|
}, [legalSlot, termsUrl, termsText, privacyUrl, privacyText, legalClassName]);
|
|
84359
|
-
const renderImage =
|
|
83706
|
+
const renderImage = useMemo443(() => {
|
|
84360
83707
|
if (imageSlot) return imageSlot;
|
|
84361
83708
|
if (!image) return null;
|
|
84362
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(
|
|
@@ -95723,7 +95070,7 @@ var FilterForm3 = ({ categories, onCategoryChange }) => {
|
|
|
95723
95070
|
children: [
|
|
95724
95071
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: category.label }),
|
|
95725
95072
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
95726
|
-
|
|
95073
|
+
Checkbox,
|
|
95727
95074
|
{
|
|
95728
95075
|
checked: isChecked,
|
|
95729
95076
|
onCheckedChange: (checked) => handleCheckboxChange(!!checked, category.value)
|
|
@@ -95808,7 +95155,7 @@ var EmailForm = ({
|
|
|
95808
95155
|
validationSchema: {
|
|
95809
95156
|
email: (value) => {
|
|
95810
95157
|
if (!value) return "Email is required";
|
|
95811
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
95158
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
95812
95159
|
return void 0;
|
|
95813
95160
|
}
|
|
95814
95161
|
},
|
|
@@ -95820,7 +95167,7 @@ var EmailForm = ({
|
|
|
95820
95167
|
try {
|
|
95821
95168
|
let result;
|
|
95822
95169
|
if (shouldAutoSubmit) {
|
|
95823
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
95170
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
95824
95171
|
}
|
|
95825
95172
|
if (onSubmit) {
|
|
95826
95173
|
await onSubmit(values.email);
|
|
@@ -95832,7 +95179,7 @@ var EmailForm = ({
|
|
|
95832
95179
|
onSuccess?.(result);
|
|
95833
95180
|
}
|
|
95834
95181
|
} catch (error) {
|
|
95835
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
95182
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
95836
95183
|
helpers.setErrors(error.formErrors);
|
|
95837
95184
|
}
|
|
95838
95185
|
onError?.(error);
|
|
@@ -101914,7 +101261,7 @@ function LinkPageNewsletterSocial({
|
|
|
101914
101261
|
validationSchema: {
|
|
101915
101262
|
email: (value) => {
|
|
101916
101263
|
if (!value) return "Email is required";
|
|
101917
|
-
if (!isValidEmail(value)) return "Please enter a valid email address";
|
|
101264
|
+
if (!integration.isValidEmail(value)) return "Please enter a valid email address";
|
|
101918
101265
|
return void 0;
|
|
101919
101266
|
}
|
|
101920
101267
|
},
|
|
@@ -101926,7 +101273,7 @@ function LinkPageNewsletterSocial({
|
|
|
101926
101273
|
try {
|
|
101927
101274
|
let result;
|
|
101928
101275
|
if (shouldAutoSubmit) {
|
|
101929
|
-
result = await submitPageSpeedForm(values, formConfig);
|
|
101276
|
+
result = await integration.submitPageSpeedForm(values, formConfig);
|
|
101930
101277
|
}
|
|
101931
101278
|
if (onSubmit) {
|
|
101932
101279
|
await onSubmit(values.email);
|
|
@@ -101938,7 +101285,7 @@ function LinkPageNewsletterSocial({
|
|
|
101938
101285
|
onSuccess?.(result);
|
|
101939
101286
|
}
|
|
101940
101287
|
} catch (error) {
|
|
101941
|
-
if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
|
|
101288
|
+
if (error instanceof integration.PageSpeedFormSubmissionError && error.formErrors) {
|
|
101942
101289
|
helpers.setErrors(error.formErrors);
|
|
101943
101290
|
}
|
|
101944
101291
|
onError?.(error);
|