@burdenoff/microfe-headshotmarketing 2026.510.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +20716 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +1375 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +1013 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +53363 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/generated/wspace-types.js +28 -0
- package/dist/generated/wspace-types.js.map +1 -0
- package/dist/headshotmarketing/HeadshotMarketingRoot.d.ts +5 -0
- package/dist/headshotmarketing/HeadshotMarketingRoot.d.ts.map +1 -0
- package/dist/headshotmarketing/HeadshotMarketingRoot.js +138 -0
- package/dist/headshotmarketing/HeadshotMarketingRoot.js.map +1 -0
- package/dist/headshotmarketing/HeadshotMarketingRoutes.d.ts +70 -0
- package/dist/headshotmarketing/HeadshotMarketingRoutes.d.ts.map +1 -0
- package/dist/headshotmarketing/HeadshotMarketingRoutes.js +203 -0
- package/dist/headshotmarketing/HeadshotMarketingRoutes.js.map +1 -0
- package/dist/headshotmarketing/components/ChartCard.d.ts +12 -0
- package/dist/headshotmarketing/components/ChartCard.d.ts.map +1 -0
- package/dist/headshotmarketing/components/ChartCard.js +26 -0
- package/dist/headshotmarketing/components/ChartCard.js.map +1 -0
- package/dist/headshotmarketing/components/DataTable.d.ts +22 -0
- package/dist/headshotmarketing/components/DataTable.d.ts.map +1 -0
- package/dist/headshotmarketing/components/DataTable.js +132 -0
- package/dist/headshotmarketing/components/DataTable.js.map +1 -0
- package/dist/headshotmarketing/components/EmptyState.d.ts +12 -0
- package/dist/headshotmarketing/components/EmptyState.d.ts.map +1 -0
- package/dist/headshotmarketing/components/EmptyState.js +29 -0
- package/dist/headshotmarketing/components/EmptyState.js.map +1 -0
- package/dist/headshotmarketing/components/ErrorBoundary.d.ts +17 -0
- package/dist/headshotmarketing/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/headshotmarketing/components/ErrorBoundary.js +3 -0
- package/dist/headshotmarketing/components/FilterBar.d.ts +13 -0
- package/dist/headshotmarketing/components/FilterBar.d.ts.map +1 -0
- package/dist/headshotmarketing/components/FilterBar.js +42 -0
- package/dist/headshotmarketing/components/FilterBar.js.map +1 -0
- package/dist/headshotmarketing/components/LoadingSkeleton.d.ts +9 -0
- package/dist/headshotmarketing/components/LoadingSkeleton.d.ts.map +1 -0
- package/dist/headshotmarketing/components/LoadingSkeleton.js +1 -0
- package/dist/headshotmarketing/components/Modal.d.ts +15 -0
- package/dist/headshotmarketing/components/Modal.d.ts.map +1 -0
- package/dist/headshotmarketing/components/Modal.js +55 -0
- package/dist/headshotmarketing/components/Modal.js.map +1 -0
- package/dist/headshotmarketing/components/PageLayout.d.ts +12 -0
- package/dist/headshotmarketing/components/PageLayout.d.ts.map +1 -0
- package/dist/headshotmarketing/components/PageLayout.js +23 -0
- package/dist/headshotmarketing/components/PageLayout.js.map +1 -0
- package/dist/headshotmarketing/components/StatCard.d.ts +13 -0
- package/dist/headshotmarketing/components/StatCard.d.ts.map +1 -0
- package/dist/headshotmarketing/components/StatCard.js +44 -0
- package/dist/headshotmarketing/components/StatCard.js.map +1 -0
- package/dist/headshotmarketing/components/StatusBadge.d.ts +9 -0
- package/dist/headshotmarketing/components/StatusBadge.d.ts.map +1 -0
- package/dist/headshotmarketing/components/StatusBadge.js +32 -0
- package/dist/headshotmarketing/components/StatusBadge.js.map +1 -0
- package/dist/headshotmarketing/components/Toast.d.ts +15 -0
- package/dist/headshotmarketing/components/Toast.d.ts.map +1 -0
- package/dist/headshotmarketing/components/Toast.js +2 -0
- package/dist/headshotmarketing/components/index.d.ts +12 -0
- package/dist/headshotmarketing/components/index.d.ts.map +1 -0
- package/dist/headshotmarketing/components/index.js +11 -0
- package/dist/headshotmarketing/context/HeadshotMarketingContext.d.ts +18 -0
- package/dist/headshotmarketing/context/HeadshotMarketingContext.d.ts.map +1 -0
- package/dist/headshotmarketing/context/HeadshotMarketingContext.js +31 -0
- package/dist/headshotmarketing/context/HeadshotMarketingContext.js.map +1 -0
- package/dist/headshotmarketing/hooks/index.d.ts +2 -0
- package/dist/headshotmarketing/hooks/index.d.ts.map +1 -0
- package/dist/headshotmarketing/hooks/useToast.d.ts +22 -0
- package/dist/headshotmarketing/hooks/useToast.d.ts.map +1 -0
- package/dist/headshotmarketing/index.d.ts +30 -0
- package/dist/headshotmarketing/index.d.ts.map +1 -0
- package/dist/headshotmarketing/index.js +3 -0
- package/dist/headshotmarketing/pages/HomePage.d.ts +4 -0
- package/dist/headshotmarketing/pages/HomePage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/HomePage.js +446 -0
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +267 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +181 -0
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/ads/AdsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdsPage.js +266 -0
- package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/AudiencesPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/ads/AudiencesPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +150 -0
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +486 -0
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/index.d.ts +6 -0
- package/dist/headshotmarketing/pages/ads/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +346 -0
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +425 -0
- package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +232 -0
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/analytics/ReportsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/analytics/ReportsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +322 -0
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +317 -0
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/analytics/index.d.ts +6 -0
- package/dist/headshotmarketing/pages/analytics/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/automation/AutomationPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/automation/AutomationPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/automation/AutomationPage.js +205 -0
- package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -0
- package/dist/headshotmarketing/pages/automation/TriggersPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/automation/TriggersPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +148 -0
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -0
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +404 -0
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -0
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +167 -0
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/automation/index.d.ts +5 -0
- package/dist/headshotmarketing/pages/automation/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +351 -0
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -0
- package/dist/headshotmarketing/pages/builder/index.d.ts +2 -0
- package/dist/headshotmarketing/pages/builder/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +577 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +294 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +367 -0
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +614 -0
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/index.d.ts +5 -0
- package/dist/headshotmarketing/pages/campaigns/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/content/AIToolsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/content/AIToolsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +201 -0
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +114 -0
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +268 -0
- package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentCreationPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/content/ContentCreationPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +307 -0
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/content/ContentPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentPage.js +178 -0
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -0
- package/dist/headshotmarketing/pages/content/index.d.ts +6 -0
- package/dist/headshotmarketing/pages/content/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/crm/ContactsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/crm/ContactsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +243 -0
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/CreateContactPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/crm/CreateContactPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +232 -0
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/CreateDealPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/crm/CreateDealPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +262 -0
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/CrmPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/crm/CrmPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/crm/CrmPage.js +243 -0
- package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/LeadsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/crm/LeadsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +181 -0
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/PipelinePage.d.ts +4 -0
- package/dist/headshotmarketing/pages/crm/PipelinePage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +215 -0
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/index.d.ts +7 -0
- package/dist/headshotmarketing/pages/crm/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/events/CreateEventPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/events/CreateEventPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +482 -0
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -0
- package/dist/headshotmarketing/pages/events/EventsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/events/EventsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/events/EventsPage.js +259 -0
- package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/events/index.d.ts +3 -0
- package/dist/headshotmarketing/pages/events/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +173 -0
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +242 -0
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -0
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +249 -0
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -0
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +218 -0
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/influencers/index.d.ts +5 -0
- package/dist/headshotmarketing/pages/influencers/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +427 -0
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/seo/index.d.ts +2 -0
- package/dist/headshotmarketing/pages/seo/index.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/social-media/AccountsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/social-media/AccountsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js +225 -0
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +303 -0
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -0
- package/dist/headshotmarketing/pages/social-media/PostsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/social-media/PostsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +331 -0
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.d.ts +4 -0
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +311 -0
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -0
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +388 -0
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -0
- package/dist/headshotmarketing/pages/social-media/index.d.ts +6 -0
- package/dist/headshotmarketing/pages/social-media/index.d.ts.map +1 -0
- package/dist/headshotmarketing/store/headshotMarketingStore.d.ts +58 -0
- package/dist/headshotmarketing/store/headshotMarketingStore.d.ts.map +1 -0
- package/dist/headshotmarketing/store/headshotMarketingStore.js +25 -0
- package/dist/headshotmarketing/store/headshotMarketingStore.js.map +1 -0
- package/dist/headshotmarketing/types/index.d.ts +699 -0
- package/dist/headshotmarketing/types/index.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/adsMapper.d.ts +54 -0
- package/dist/headshotmarketing/utils/adsMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/adsMapper.js +138 -0
- package/dist/headshotmarketing/utils/adsMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/analyticsMapper.d.ts +8 -0
- package/dist/headshotmarketing/utils/analyticsMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/analyticsMapper.js +193 -0
- package/dist/headshotmarketing/utils/analyticsMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/automationMapper.d.ts +29 -0
- package/dist/headshotmarketing/utils/automationMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/automationMapper.js +94 -0
- package/dist/headshotmarketing/utils/automationMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/builderMapper.d.ts +36 -0
- package/dist/headshotmarketing/utils/builderMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/builderMapper.js +26 -0
- package/dist/headshotmarketing/utils/builderMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/campaignMapper.d.ts +35 -0
- package/dist/headshotmarketing/utils/campaignMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/campaignMapper.js +115 -0
- package/dist/headshotmarketing/utils/campaignMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/contentMapper.d.ts +53 -0
- package/dist/headshotmarketing/utils/contentMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/contentMapper.js +119 -0
- package/dist/headshotmarketing/utils/contentMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/crmMapper.d.ts +65 -0
- package/dist/headshotmarketing/utils/crmMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/crmMapper.js +92 -0
- package/dist/headshotmarketing/utils/crmMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/eventsMapper.d.ts +30 -0
- package/dist/headshotmarketing/utils/eventsMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/eventsMapper.js +63 -0
- package/dist/headshotmarketing/utils/eventsMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/helpers.d.ts +23 -0
- package/dist/headshotmarketing/utils/helpers.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/helpers.js +49 -0
- package/dist/headshotmarketing/utils/helpers.js.map +1 -0
- package/dist/headshotmarketing/utils/index.d.ts +3 -0
- package/dist/headshotmarketing/utils/index.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/influencerMapper.d.ts +61 -0
- package/dist/headshotmarketing/utils/influencerMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/influencerMapper.js +158 -0
- package/dist/headshotmarketing/utils/influencerMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/mockData.d.ts +273 -0
- package/dist/headshotmarketing/utils/mockData.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/reportMapper.d.ts +16 -0
- package/dist/headshotmarketing/utils/reportMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/reportMapper.js +33 -0
- package/dist/headshotmarketing/utils/reportMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/seoMapper.d.ts +37 -0
- package/dist/headshotmarketing/utils/seoMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/seoMapper.js +62 -0
- package/dist/headshotmarketing/utils/seoMapper.js.map +1 -0
- package/dist/headshotmarketing/utils/socialMapper.d.ts +53 -0
- package/dist/headshotmarketing/utils/socialMapper.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/socialMapper.js +120 -0
- package/dist/headshotmarketing/utils/socialMapper.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/node_modules/clsx/dist/clsx.js +18 -0
- package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/d3-array/src/ascending.js +8 -0
- package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisect.js +10 -0
- package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
- package/dist/node_modules/d3-array/src/bisector.js +43 -0
- package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
- package/dist/node_modules/d3-array/src/descending.js +8 -0
- package/dist/node_modules/d3-array/src/descending.js.map +1 -0
- package/dist/node_modules/d3-array/src/max.js +14 -0
- package/dist/node_modules/d3-array/src/max.js.map +1 -0
- package/dist/node_modules/d3-array/src/min.js +14 -0
- package/dist/node_modules/d3-array/src/min.js.map +1 -0
- package/dist/node_modules/d3-array/src/number.js +15 -0
- package/dist/node_modules/d3-array/src/number.js.map +1 -0
- package/dist/node_modules/d3-array/src/quantile.js +25 -0
- package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-array/src/quickselect.js +26 -0
- package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
- package/dist/node_modules/d3-array/src/range.js +10 -0
- package/dist/node_modules/d3-array/src/range.js.map +1 -0
- package/dist/node_modules/d3-array/src/sort.js +17 -0
- package/dist/node_modules/d3-array/src/sort.js.map +1 -0
- package/dist/node_modules/d3-array/src/ticks.js +34 -0
- package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-color/src/color.js +291 -0
- package/dist/node_modules/d3-color/src/color.js.map +1 -0
- package/dist/node_modules/d3-color/src/define.js +13 -0
- package/dist/node_modules/d3-color/src/define.js.map +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
- package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-format/src/exponent.js +9 -0
- package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
- package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
- package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
- package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
- package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
- package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
- package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
- package/dist/node_modules/d3-format/src/identity.js +8 -0
- package/dist/node_modules/d3-format/src/identity.js.map +1 -0
- package/dist/node_modules/d3-format/src/locale.js +86 -0
- package/dist/node_modules/d3-format/src/locale.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
- package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
- package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/array.js +15 -0
- package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
- package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
- package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/color.js +25 -0
- package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
- package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/date.js +11 -0
- package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/number.js +10 -0
- package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/object.js +14 -0
- package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
- package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
- package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/round.js +10 -0
- package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/string.js +28 -0
- package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
- package/dist/node_modules/d3-interpolate/src/value.js +18 -0
- package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
- package/dist/node_modules/d3-path/src/path.js +65 -0
- package/dist/node_modules/d3-path/src/path.js.map +1 -0
- package/dist/node_modules/d3-scale/src/band.js +52 -0
- package/dist/node_modules/d3-scale/src/band.js.map +1 -0
- package/dist/node_modules/d3-scale/src/constant.js +10 -0
- package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
- package/dist/node_modules/d3-scale/src/continuous.js +73 -0
- package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
- package/dist/node_modules/d3-scale/src/diverging.js +82 -0
- package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
- package/dist/node_modules/d3-scale/src/identity.js +20 -0
- package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
- package/dist/node_modules/d3-scale/src/init.js +29 -0
- package/dist/node_modules/d3-scale/src/init.js.map +1 -0
- package/dist/node_modules/d3-scale/src/linear.js +36 -0
- package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
- package/dist/node_modules/d3-scale/src/log.js +77 -0
- package/dist/node_modules/d3-scale/src/log.js.map +1 -0
- package/dist/node_modules/d3-scale/src/nice.js +10 -0
- package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
- package/dist/node_modules/d3-scale/src/number.js +8 -0
- package/dist/node_modules/d3-scale/src/number.js.map +1 -0
- package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
- package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
- package/dist/node_modules/d3-scale/src/pow.js +37 -0
- package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantile.js +37 -0
- package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/quantize.js +33 -0
- package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
- package/dist/node_modules/d3-scale/src/radial.js +39 -0
- package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequential.js +67 -0
- package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
- package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
- package/dist/node_modules/d3-scale/src/symlog.js +30 -0
- package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
- package/dist/node_modules/d3-scale/src/threshold.js +25 -0
- package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
- package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
- package/dist/node_modules/d3-scale/src/time.js +47 -0
- package/dist/node_modules/d3-scale/src/time.js.map +1 -0
- package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
- package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
- package/dist/node_modules/d3-shape/src/area.js +55 -0
- package/dist/node_modules/d3-shape/src/area.js.map +1 -0
- package/dist/node_modules/d3-shape/src/array.js +8 -0
- package/dist/node_modules/d3-shape/src/array.js.map +1 -0
- package/dist/node_modules/d3-shape/src/constant.js +10 -0
- package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
- package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
- package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
- package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
- package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
- package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
- package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
- package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
- package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
- package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
- package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
- package/dist/node_modules/d3-shape/src/line.js +30 -0
- package/dist/node_modules/d3-shape/src/line.js.map +1 -0
- package/dist/node_modules/d3-shape/src/math.js +8 -0
- package/dist/node_modules/d3-shape/src/math.js.map +1 -0
- package/dist/node_modules/d3-shape/src/noop.js +6 -0
- package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
- package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
- package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
- package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/order/none.js +9 -0
- package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
- package/dist/node_modules/d3-shape/src/path.js +19 -0
- package/dist/node_modules/d3-shape/src/path.js.map +1 -0
- package/dist/node_modules/d3-shape/src/point.js +11 -0
- package/dist/node_modules/d3-shape/src/point.js.map +1 -0
- package/dist/node_modules/d3-shape/src/stack.js +34 -0
- package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
- package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
- package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
- package/dist/node_modules/d3-shape/src/symbol.js +23 -0
- package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
- package/dist/node_modules/d3-time/src/day.js +21 -0
- package/dist/node_modules/d3-time/src/day.js.map +1 -0
- package/dist/node_modules/d3-time/src/duration.js +6 -0
- package/dist/node_modules/d3-time/src/duration.js.map +1 -0
- package/dist/node_modules/d3-time/src/hour.js +19 -0
- package/dist/node_modules/d3-time/src/hour.js.map +1 -0
- package/dist/node_modules/d3-time/src/interval.js +28 -0
- package/dist/node_modules/d3-time/src/interval.js.map +1 -0
- package/dist/node_modules/d3-time/src/millisecond.js +14 -0
- package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
- package/dist/node_modules/d3-time/src/minute.js +19 -0
- package/dist/node_modules/d3-time/src/minute.js.map +1 -0
- package/dist/node_modules/d3-time/src/month.js +18 -0
- package/dist/node_modules/d3-time/src/month.js.map +1 -0
- package/dist/node_modules/d3-time/src/second.js +13 -0
- package/dist/node_modules/d3-time/src/second.js.map +1 -0
- package/dist/node_modules/d3-time/src/ticks.js +125 -0
- package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
- package/dist/node_modules/d3-time/src/week.js +25 -0
- package/dist/node_modules/d3-time/src/week.js.map +1 -0
- package/dist/node_modules/d3-time/src/year.js +26 -0
- package/dist/node_modules/d3-time/src/year.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
- package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
- package/dist/node_modules/d3-time-format/src/locale.js +490 -0
- package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
- package/dist/node_modules/decimal.js-light/decimal.js +378 -0
- package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
- package/dist/node_modules/eventemitter3/index.js +95 -0
- package/dist/node_modules/eventemitter3/index.js.map +1 -0
- package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
- package/dist/node_modules/internmap/src/index.js +40 -0
- package/dist/node_modules/internmap/src/index.js.map +1 -0
- package/dist/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/lodash/_DataView.js.map +1 -0
- package/dist/node_modules/lodash/_Hash.js +23 -0
- package/dist/node_modules/lodash/_Hash.js.map +1 -0
- package/dist/node_modules/lodash/_ListCache.js +23 -0
- package/dist/node_modules/lodash/_ListCache.js.map +1 -0
- package/dist/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/lodash/_Map.js.map +1 -0
- package/dist/node_modules/lodash/_MapCache.js +23 -0
- package/dist/node_modules/lodash/_MapCache.js.map +1 -0
- package/dist/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/lodash/_Promise.js.map +1 -0
- package/dist/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/lodash/_Set.js.map +1 -0
- package/dist/node_modules/lodash/_SetCache.js +18 -0
- package/dist/node_modules/lodash/_SetCache.js.map +1 -0
- package/dist/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/lodash/_Stack.js.map +1 -0
- package/dist/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/lodash/_Symbol.js.map +1 -0
- package/dist/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
- package/dist/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
- package/dist/node_modules/lodash/_apply.js +19 -0
- package/dist/node_modules/lodash/_apply.js.map +1 -0
- package/dist/node_modules/lodash/_arrayEvery.js +14 -0
- package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
- package/dist/node_modules/lodash/_arrayFilter.js +17 -0
- package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
- package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
- package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
- package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
- package/dist/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
- package/dist/node_modules/lodash/_arraySome.js +14 -0
- package/dist/node_modules/lodash/_arraySome.js.map +1 -0
- package/dist/node_modules/lodash/_asciiToArray.js +13 -0
- package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
- package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
- package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
- package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
- package/dist/node_modules/lodash/_baseEach.js +13 -0
- package/dist/node_modules/lodash/_baseEach.js.map +1 -0
- package/dist/node_modules/lodash/_baseEvery.js +18 -0
- package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
- package/dist/node_modules/lodash/_baseExtremum.js +19 -0
- package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
- package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
- package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
- package/dist/node_modules/lodash/_baseFlatten.js +21 -0
- package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
- package/dist/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/lodash/_baseFor.js.map +1 -0
- package/dist/node_modules/lodash/_baseForOwn.js +16 -0
- package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
- package/dist/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/lodash/_baseGet.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
- package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseGetTag.js +17 -0
- package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
- package/dist/node_modules/lodash/_baseGt.js +13 -0
- package/dist/node_modules/lodash/_baseGt.js.map +1 -0
- package/dist/node_modules/lodash/_baseHasIn.js +13 -0
- package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
- package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
- package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
- package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
- package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
- package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
- package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
- package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsNative.js +18 -0
- package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
- package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/_baseIteratee.js +19 -0
- package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
- package/dist/node_modules/lodash/_baseKeys.js +19 -0
- package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
- package/dist/node_modules/lodash/_baseLt.js +13 -0
- package/dist/node_modules/lodash/_baseLt.js.map +1 -0
- package/dist/node_modules/lodash/_baseMap.js +19 -0
- package/dist/node_modules/lodash/_baseMap.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatches.js +20 -0
- package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
- package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
- package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
- package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseProperty.js +15 -0
- package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
- package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
- package/dist/node_modules/lodash/_baseRange.js +15 -0
- package/dist/node_modules/lodash/_baseRange.js.map +1 -0
- package/dist/node_modules/lodash/_baseRest.js +17 -0
- package/dist/node_modules/lodash/_baseRest.js.map +1 -0
- package/dist/node_modules/lodash/_baseSetToString.js +21 -0
- package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
- package/dist/node_modules/lodash/_baseSome.js +18 -0
- package/dist/node_modules/lodash/_baseSome.js.map +1 -0
- package/dist/node_modules/lodash/_baseSortBy.js +15 -0
- package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
- package/dist/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
- package/dist/node_modules/lodash/_baseToString.js +22 -0
- package/dist/node_modules/lodash/_baseToString.js.map +1 -0
- package/dist/node_modules/lodash/_baseTrim.js +15 -0
- package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
- package/dist/node_modules/lodash/_baseUnary.js +15 -0
- package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
- package/dist/node_modules/lodash/_baseUniq.js +34 -0
- package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
- package/dist/node_modules/lodash/_cacheHas.js +13 -0
- package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_castPath.js +18 -0
- package/dist/node_modules/lodash/_castPath.js.map +1 -0
- package/dist/node_modules/lodash/_castSlice.js +16 -0
- package/dist/node_modules/lodash/_castSlice.js.map +1 -0
- package/dist/node_modules/lodash/_compareAscending.js +20 -0
- package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
- package/dist/node_modules/lodash/_compareMultiple.js +19 -0
- package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
- package/dist/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseEach.js +20 -0
- package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
- package/dist/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
- package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
- package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
- package/dist/node_modules/lodash/_createFind.js +27 -0
- package/dist/node_modules/lodash/_createFind.js.map +1 -0
- package/dist/node_modules/lodash/_createRange.js +19 -0
- package/dist/node_modules/lodash/_createRange.js.map +1 -0
- package/dist/node_modules/lodash/_createSet.js +16 -0
- package/dist/node_modules/lodash/_createSet.js.map +1 -0
- package/dist/node_modules/lodash/_defineProperty.js +17 -0
- package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
- package/dist/node_modules/lodash/_equalArrays.js +42 -0
- package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
- package/dist/node_modules/lodash/_equalByTag.js +42 -0
- package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
- package/dist/node_modules/lodash/_equalObjects.js +39 -0
- package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
- package/dist/node_modules/lodash/_freeGlobal.js +10 -0
- package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
- package/dist/node_modules/lodash/_getAllKeys.js +17 -0
- package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
- package/dist/node_modules/lodash/_getMapData.js +16 -0
- package/dist/node_modules/lodash/_getMapData.js.map +1 -0
- package/dist/node_modules/lodash/_getMatchData.js +24 -0
- package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
- package/dist/node_modules/lodash/_getNative.js +17 -0
- package/dist/node_modules/lodash/_getNative.js.map +1 -0
- package/dist/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
- package/dist/node_modules/lodash/_getSymbols.js +17 -0
- package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
- package/dist/node_modules/lodash/_getTag.js +28 -0
- package/dist/node_modules/lodash/_getTag.js.map +1 -0
- package/dist/node_modules/lodash/_getValue.js +13 -0
- package/dist/node_modules/lodash/_getValue.js.map +1 -0
- package/dist/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/lodash/_hasPath.js.map +1 -0
- package/dist/node_modules/lodash/_hasUnicode.js +14 -0
- package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
- package/dist/node_modules/lodash/_hashClear.js +15 -0
- package/dist/node_modules/lodash/_hashClear.js.map +1 -0
- package/dist/node_modules/lodash/_hashDelete.js +14 -0
- package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
- package/dist/node_modules/lodash/_hashGet.js +20 -0
- package/dist/node_modules/lodash/_hashGet.js.map +1 -0
- package/dist/node_modules/lodash/_hashHas.js +16 -0
- package/dist/node_modules/lodash/_hashHas.js.map +1 -0
- package/dist/node_modules/lodash/_hashSet.js +16 -0
- package/dist/node_modules/lodash/_hashSet.js.map +1 -0
- package/dist/node_modules/lodash/_isFlattenable.js +17 -0
- package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
- package/dist/node_modules/lodash/_isIndex.js +15 -0
- package/dist/node_modules/lodash/_isIndex.js.map +1 -0
- package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
- package/dist/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/lodash/_isKey.js.map +1 -0
- package/dist/node_modules/lodash/_isKeyable.js +14 -0
- package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
- package/dist/node_modules/lodash/_isMasked.js +18 -0
- package/dist/node_modules/lodash/_isMasked.js.map +1 -0
- package/dist/node_modules/lodash/_isPrototype.js +15 -0
- package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
- package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheClear.js +13 -0
- package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheGet.js +16 -0
- package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheHas.js +15 -0
- package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_listCacheSet.js +16 -0
- package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
- package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
- package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
- package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
- package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
- package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
- package/dist/node_modules/lodash/_mapToArray.js +16 -0
- package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
- package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
- package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
- package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
- package/dist/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
- package/dist/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
- package/dist/node_modules/lodash/_nodeUtil.js +16 -0
- package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
- package/dist/node_modules/lodash/_objectToString.js +14 -0
- package/dist/node_modules/lodash/_objectToString.js.map +1 -0
- package/dist/node_modules/lodash/_overArg.js +15 -0
- package/dist/node_modules/lodash/_overArg.js.map +1 -0
- package/dist/node_modules/lodash/_overRest.js +20 -0
- package/dist/node_modules/lodash/_overRest.js.map +1 -0
- package/dist/node_modules/lodash/_root.js +12 -0
- package/dist/node_modules/lodash/_root.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
- package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
- package/dist/node_modules/lodash/_setCacheHas.js +13 -0
- package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
- package/dist/node_modules/lodash/_setToArray.js +16 -0
- package/dist/node_modules/lodash/_setToArray.js.map +1 -0
- package/dist/node_modules/lodash/_setToString.js +13 -0
- package/dist/node_modules/lodash/_setToString.js.map +1 -0
- package/dist/node_modules/lodash/_shortOut.js +21 -0
- package/dist/node_modules/lodash/_shortOut.js.map +1 -0
- package/dist/node_modules/lodash/_stackClear.js +15 -0
- package/dist/node_modules/lodash/_stackClear.js.map +1 -0
- package/dist/node_modules/lodash/_stackDelete.js +14 -0
- package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
- package/dist/node_modules/lodash/_stackGet.js +13 -0
- package/dist/node_modules/lodash/_stackGet.js.map +1 -0
- package/dist/node_modules/lodash/_stackHas.js +13 -0
- package/dist/node_modules/lodash/_stackHas.js.map +1 -0
- package/dist/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/lodash/_stackSet.js.map +1 -0
- package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
- package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
- package/dist/node_modules/lodash/_stringToArray.js +17 -0
- package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
- package/dist/node_modules/lodash/_stringToPath.js +17 -0
- package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
- package/dist/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/lodash/_toKey.js.map +1 -0
- package/dist/node_modules/lodash/_toSource.js +22 -0
- package/dist/node_modules/lodash/_toSource.js.map +1 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
- package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
- package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
- package/dist/node_modules/lodash/constant.js +15 -0
- package/dist/node_modules/lodash/constant.js.map +1 -0
- package/dist/node_modules/lodash/debounce.js +57 -0
- package/dist/node_modules/lodash/debounce.js.map +1 -0
- package/dist/node_modules/lodash/eq.js +13 -0
- package/dist/node_modules/lodash/eq.js.map +1 -0
- package/dist/node_modules/lodash/every.js +20 -0
- package/dist/node_modules/lodash/every.js.map +1 -0
- package/dist/node_modules/lodash/find.js +12 -0
- package/dist/node_modules/lodash/find.js.map +1 -0
- package/dist/node_modules/lodash/findIndex.js +20 -0
- package/dist/node_modules/lodash/findIndex.js.map +1 -0
- package/dist/node_modules/lodash/flatMap.js +16 -0
- package/dist/node_modules/lodash/flatMap.js.map +1 -0
- package/dist/node_modules/lodash/get.js +16 -0
- package/dist/node_modules/lodash/get.js.map +1 -0
- package/dist/node_modules/lodash/hasIn.js +16 -0
- package/dist/node_modules/lodash/hasIn.js.map +1 -0
- package/dist/node_modules/lodash/identity.js +13 -0
- package/dist/node_modules/lodash/identity.js.map +1 -0
- package/dist/node_modules/lodash/isArguments.js +17 -0
- package/dist/node_modules/lodash/isArguments.js.map +1 -0
- package/dist/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/lodash/isArray.js.map +1 -0
- package/dist/node_modules/lodash/isArrayLike.js +16 -0
- package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
- package/dist/node_modules/lodash/isBoolean.js +16 -0
- package/dist/node_modules/lodash/isBoolean.js.map +1 -0
- package/dist/node_modules/lodash/isBuffer.js +13 -0
- package/dist/node_modules/lodash/isBuffer.js.map +1 -0
- package/dist/node_modules/lodash/isEqual.js +15 -0
- package/dist/node_modules/lodash/isEqual.js.map +1 -0
- package/dist/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/lodash/isFunction.js.map +1 -0
- package/dist/node_modules/lodash/isLength.js +14 -0
- package/dist/node_modules/lodash/isLength.js.map +1 -0
- package/dist/node_modules/lodash/isNaN.js +15 -0
- package/dist/node_modules/lodash/isNaN.js.map +1 -0
- package/dist/node_modules/lodash/isNil.js +13 -0
- package/dist/node_modules/lodash/isNil.js.map +1 -0
- package/dist/node_modules/lodash/isNumber.js +16 -0
- package/dist/node_modules/lodash/isNumber.js.map +1 -0
- package/dist/node_modules/lodash/isObject.js +14 -0
- package/dist/node_modules/lodash/isObject.js.map +1 -0
- package/dist/node_modules/lodash/isObjectLike.js +13 -0
- package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
- package/dist/node_modules/lodash/isPlainObject.js +21 -0
- package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
- package/dist/node_modules/lodash/isString.js +17 -0
- package/dist/node_modules/lodash/isString.js.map +1 -0
- package/dist/node_modules/lodash/isSymbol.js +16 -0
- package/dist/node_modules/lodash/isSymbol.js.map +1 -0
- package/dist/node_modules/lodash/isTypedArray.js +14 -0
- package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
- package/dist/node_modules/lodash/keys.js +17 -0
- package/dist/node_modules/lodash/keys.js.map +1 -0
- package/dist/node_modules/lodash/last.js +14 -0
- package/dist/node_modules/lodash/last.js.map +1 -0
- package/dist/node_modules/lodash/map.js +18 -0
- package/dist/node_modules/lodash/map.js.map +1 -0
- package/dist/node_modules/lodash/mapValues.js +20 -0
- package/dist/node_modules/lodash/mapValues.js.map +1 -0
- package/dist/node_modules/lodash/max.js +17 -0
- package/dist/node_modules/lodash/max.js.map +1 -0
- package/dist/node_modules/lodash/maxBy.js +17 -0
- package/dist/node_modules/lodash/maxBy.js.map +1 -0
- package/dist/node_modules/lodash/memoize.js +22 -0
- package/dist/node_modules/lodash/memoize.js.map +1 -0
- package/dist/node_modules/lodash/min.js +17 -0
- package/dist/node_modules/lodash/min.js.map +1 -0
- package/dist/node_modules/lodash/minBy.js +17 -0
- package/dist/node_modules/lodash/minBy.js.map +1 -0
- package/dist/node_modules/lodash/noop.js +11 -0
- package/dist/node_modules/lodash/noop.js.map +1 -0
- package/dist/node_modules/lodash/now.js +14 -0
- package/dist/node_modules/lodash/now.js.map +1 -0
- package/dist/node_modules/lodash/property.js +18 -0
- package/dist/node_modules/lodash/property.js.map +1 -0
- package/dist/node_modules/lodash/range.js +11 -0
- package/dist/node_modules/lodash/range.js.map +1 -0
- package/dist/node_modules/lodash/some.js +20 -0
- package/dist/node_modules/lodash/some.js.map +1 -0
- package/dist/node_modules/lodash/sortBy.js +19 -0
- package/dist/node_modules/lodash/sortBy.js.map +1 -0
- package/dist/node_modules/lodash/stubArray.js +13 -0
- package/dist/node_modules/lodash/stubArray.js.map +1 -0
- package/dist/node_modules/lodash/stubFalse.js +13 -0
- package/dist/node_modules/lodash/stubFalse.js.map +1 -0
- package/dist/node_modules/lodash/throttle.js +22 -0
- package/dist/node_modules/lodash/throttle.js.map +1 -0
- package/dist/node_modules/lodash/toFinite.js +15 -0
- package/dist/node_modules/lodash/toFinite.js.map +1 -0
- package/dist/node_modules/lodash/toInteger.js +16 -0
- package/dist/node_modules/lodash/toInteger.js.map +1 -0
- package/dist/node_modules/lodash/toNumber.js +26 -0
- package/dist/node_modules/lodash/toNumber.js.map +1 -0
- package/dist/node_modules/lodash/toString.js +15 -0
- package/dist/node_modules/lodash/toString.js.map +1 -0
- package/dist/node_modules/lodash/uniqBy.js +16 -0
- package/dist/node_modules/lodash/uniqBy.js.map +1 -0
- package/dist/node_modules/lodash/upperFirst.js +11 -0
- package/dist/node_modules/lodash/upperFirst.js.map +1 -0
- package/dist/node_modules/object-assign/index.js +41 -0
- package/dist/node_modules/object-assign/index.js.map +1 -0
- package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
- package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
- package/dist/node_modules/prop-types/index.js +16 -0
- package/dist/node_modules/prop-types/index.js.map +1 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
- package/dist/node_modules/prop-types/lib/has.js +10 -0
- package/dist/node_modules/prop-types/lib/has.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
- package/dist/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
- package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
- package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
- package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/easing.js +152 -0
- package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/index.js +9 -0
- package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
- package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
- package/dist/node_modules/react-smooth/es6/util.js +92 -0
- package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
- package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
- package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +305 -0
- package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
- package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js +473 -0
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
- package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
- package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
- package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
- package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
- package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
- package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/AreaChart.js +22 -0
- package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js +24 -0
- package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js +22 -0
- package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js +34 -0
- package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
- package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
- package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
- package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
- package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
- package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Label.js +353 -0
- package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
- package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
- package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
- package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Text.js +225 -0
- package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
- package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
- package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
- package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
- package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
- package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +57 -0
- package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js +435 -0
- package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +215 -0
- package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +268 -0
- package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
- package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
- package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
- package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Polygon.js +112 -0
- package/dist/node_modules/recharts/es6/shape/Polygon.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
- package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
- package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
- package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
- package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
- package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
- package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
- package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js +562 -0
- package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
- package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
- package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
- package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
- package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Events.js +7 -0
- package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/Global.js +21 -0
- package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
- package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
- package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js +198 -0
- package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +137 -0
- package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
- package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
- package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
- package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
- package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
- package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
- package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
- package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
- package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
- package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
- package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
- package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
- package/dist/node_modules/recharts/es6/util/types.js +43 -0
- package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
- package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/index.js +1 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
- package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
- package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1674 -0
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
- package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
- package/package.json +107 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type LandingPageSectionLike = {
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
title?: string | null;
|
|
5
|
+
subtitle?: string | null;
|
|
6
|
+
content?: string | null;
|
|
7
|
+
settings?: Record<string, unknown> | null;
|
|
8
|
+
};
|
|
9
|
+
type LandingPageLike = {
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
description?: string | null;
|
|
13
|
+
sections: LandingPageSectionLike[];
|
|
14
|
+
};
|
|
15
|
+
type CampaignTemplateLike = {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
description?: string | null;
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
export type BuilderSection = {
|
|
22
|
+
id: string;
|
|
23
|
+
type: string;
|
|
24
|
+
label: string;
|
|
25
|
+
config: Record<string, unknown>;
|
|
26
|
+
};
|
|
27
|
+
export type BuilderTemplate = {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
description: string;
|
|
31
|
+
category: string;
|
|
32
|
+
};
|
|
33
|
+
export declare function toBuilderSectionsFromLandingPage(page?: LandingPageLike | null): BuilderSection[];
|
|
34
|
+
export declare function toBuilderTemplateModel(template: CampaignTemplateLike): BuilderTemplate;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=builderMapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builderMapper.d.ts","sourceRoot":"","sources":["../../../src/headshotmarketing/utils/builderMapper.ts"],"names":[],"mappings":"AAAA,KAAK,sBAAsB,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,sBAAsB,EAAE,CAAC;CACpC,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,gCAAgC,CAC9C,IAAI,CAAC,EAAE,eAAe,GAAG,IAAI,GAC5B,cAAc,EAAE,CAqBlB;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,oBAAoB,GAC7B,eAAe,CAOjB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region src/headshotmarketing/utils/builderMapper.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e ? e.sections.slice().sort((e, t) => Number((e.settings ?? {}).sortOrder ?? 0) - Number((t.settings ?? {}).sortOrder ?? 0)).map((e) => ({
|
|
4
|
+
id: e.id,
|
|
5
|
+
type: e.type.toLowerCase(),
|
|
6
|
+
label: e.title ?? e.type,
|
|
7
|
+
config: {
|
|
8
|
+
...e.settings ?? {},
|
|
9
|
+
headline: e.title ?? "",
|
|
10
|
+
subheadline: e.subtitle ?? "",
|
|
11
|
+
body: e.content ?? ""
|
|
12
|
+
}
|
|
13
|
+
})) : [];
|
|
14
|
+
}
|
|
15
|
+
function t(e) {
|
|
16
|
+
return {
|
|
17
|
+
id: e.id,
|
|
18
|
+
name: e.name,
|
|
19
|
+
description: e.description ?? "",
|
|
20
|
+
category: e.type.toLowerCase()
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { e as toBuilderSectionsFromLandingPage, t as toBuilderTemplateModel };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=builderMapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builderMapper.js","names":[],"sources":["../../../src/headshotmarketing/utils/builderMapper.ts"],"sourcesContent":["type LandingPageSectionLike = {\n id: string;\n type: string;\n title?: string | null;\n subtitle?: string | null;\n content?: string | null;\n settings?: Record<string, unknown> | null;\n};\n\ntype LandingPageLike = {\n id: string;\n title: string;\n description?: string | null;\n sections: LandingPageSectionLike[];\n};\n\ntype CampaignTemplateLike = {\n id: string;\n name: string;\n description?: string | null;\n type: string;\n};\n\nexport type BuilderSection = {\n id: string;\n type: string;\n label: string;\n config: Record<string, unknown>;\n};\n\nexport type BuilderTemplate = {\n id: string;\n name: string;\n description: string;\n category: string;\n};\n\nexport function toBuilderSectionsFromLandingPage(\n page?: LandingPageLike | null,\n): BuilderSection[] {\n if (!page) return [];\n\n return page.sections\n .slice()\n .sort(\n (a, b) =>\n Number((a.settings ?? {})[\"sortOrder\"] ?? 0) -\n Number((b.settings ?? {})[\"sortOrder\"] ?? 0),\n )\n .map((section) => ({\n id: section.id,\n type: section.type.toLowerCase(),\n label: section.title ?? section.type,\n config: {\n ...(section.settings ?? {}),\n headline: section.title ?? \"\",\n subheadline: section.subtitle ?? \"\",\n body: section.content ?? \"\",\n },\n }));\n}\n\nexport function toBuilderTemplateModel(\n template: CampaignTemplateLike,\n): BuilderTemplate {\n return {\n id: template.id,\n name: template.name,\n description: template.description ?? \"\",\n category: template.type.toLowerCase(),\n };\n}\n"],"mappings":";AAqCA,SAAgB,EACd,GACkB;AAGlB,QAFK,IAEE,EAAK,SACT,OAAO,CACP,MACE,GAAG,MACF,QAAQ,EAAE,YAAY,EAAE,EAAE,aAAgB,EAAE,GAC5C,QAAQ,EAAE,YAAY,EAAE,EAAE,aAAgB,EAAE,CAC/C,CACA,KAAK,OAAa;EACjB,IAAI,EAAQ;EACZ,MAAM,EAAQ,KAAK,aAAa;EAChC,OAAO,EAAQ,SAAS,EAAQ;EAChC,QAAQ;GACN,GAAI,EAAQ,YAAY,EAAE;GAC1B,UAAU,EAAQ,SAAS;GAC3B,aAAa,EAAQ,YAAY;GACjC,MAAM,EAAQ,WAAW;GAC1B;EACF,EAAE,GAnBa,EAAE;;AAsBtB,SAAgB,EACd,GACiB;AACjB,QAAO;EACL,IAAI,EAAS;EACb,MAAM,EAAS;EACf,aAAa,EAAS,eAAe;EACrC,UAAU,EAAS,KAAK,aAAa;EACtC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Campaign, CampaignTemplate } from '../types';
|
|
2
|
+
|
|
3
|
+
type CampaignLike = {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string | null;
|
|
7
|
+
status: string;
|
|
8
|
+
type: string;
|
|
9
|
+
budget?: number | null;
|
|
10
|
+
spent?: number | null;
|
|
11
|
+
startDate?: string | null;
|
|
12
|
+
endDate?: string | null;
|
|
13
|
+
tags: string[];
|
|
14
|
+
goals?: Record<string, unknown> | null;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
};
|
|
18
|
+
type CampaignTemplateLike = {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
description?: string | null;
|
|
22
|
+
type: string;
|
|
23
|
+
tags: string[];
|
|
24
|
+
createdAt: string;
|
|
25
|
+
};
|
|
26
|
+
export declare function toCampaignModel(campaign: CampaignLike): Campaign;
|
|
27
|
+
export declare function toCampaignTemplateModel(template: CampaignTemplateLike): CampaignTemplate;
|
|
28
|
+
export declare function toCampaignPerformanceSeries(campaign: Campaign): Array<{
|
|
29
|
+
date: string;
|
|
30
|
+
revenue: number;
|
|
31
|
+
cost: number;
|
|
32
|
+
conversions: number;
|
|
33
|
+
}>;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=campaignMapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"campaignMapper.d.ts","sourceRoot":"","sources":["../../../src/headshotmarketing/utils/campaignMapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EAER,gBAAgB,EAEjB,MAAM,UAAU,CAAC;AAElB,KAAK,YAAY,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAuDF,wBAAgB,eAAe,CAAC,QAAQ,EAAE,YAAY,GAAG,QAAQ,CAqEhE;AAED,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,oBAAoB,GAC7B,gBAAgB,CA8BlB;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,QAAQ,GACjB,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAuB7E"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
//#region src/headshotmarketing/utils/campaignMapper.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
switch (e) {
|
|
4
|
+
case "ACTIVE": return "active";
|
|
5
|
+
case "PAUSED": return "paused";
|
|
6
|
+
case "COMPLETED":
|
|
7
|
+
case "ARCHIVED": return "completed";
|
|
8
|
+
case "SCHEDULED": return "scheduled";
|
|
9
|
+
default: return "draft";
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function t(e) {
|
|
13
|
+
switch (e) {
|
|
14
|
+
case "EMAIL": return "email";
|
|
15
|
+
case "SOCIAL": return "social";
|
|
16
|
+
case "AD": return "ppc";
|
|
17
|
+
case "INFLUENCER": return "influencer";
|
|
18
|
+
default: return "content";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function n(e) {
|
|
22
|
+
return typeof e == "object" && e && !Array.isArray(e) ? e : {};
|
|
23
|
+
}
|
|
24
|
+
function r(e) {
|
|
25
|
+
return Array.isArray(e) ? e.filter((e) => typeof e == "string") : [];
|
|
26
|
+
}
|
|
27
|
+
function i(e, t = 0) {
|
|
28
|
+
let n = Number(e);
|
|
29
|
+
return Number.isFinite(n) ? n : t;
|
|
30
|
+
}
|
|
31
|
+
function a(a) {
|
|
32
|
+
let o = n(a.goals), s = n(o.metrics), c = n(o.ageRange), l = a.budget ?? 0, u = a.spent ?? i(s.cost), d = i(s.impressions), f = i(s.clicks), p = i(s.conversions), m = i(s.revenue), h = i(s.cost, u), g = i(s.ctr, d > 0 ? f / d * 100 : 0), _ = i(s.cpc, f > 0 ? h / f : 0), v = i(s.roas, h > 0 ? m / h : 0), y = r(o.channels), b = r(o.demographics), x = r(o.interests), S = r(o.locations), C = r(o.assets), w = r(o.team);
|
|
33
|
+
return {
|
|
34
|
+
id: a.id,
|
|
35
|
+
name: a.name,
|
|
36
|
+
description: a.description ?? "",
|
|
37
|
+
type: t(a.type),
|
|
38
|
+
status: e(a.status),
|
|
39
|
+
budget: {
|
|
40
|
+
total: l,
|
|
41
|
+
spent: u,
|
|
42
|
+
remaining: Math.max(l - u, 0),
|
|
43
|
+
currency: "USD"
|
|
44
|
+
},
|
|
45
|
+
metrics: {
|
|
46
|
+
impressions: d,
|
|
47
|
+
clicks: f,
|
|
48
|
+
conversions: p,
|
|
49
|
+
ctr: g,
|
|
50
|
+
cpc: _,
|
|
51
|
+
roas: v,
|
|
52
|
+
revenue: m,
|
|
53
|
+
cost: h
|
|
54
|
+
},
|
|
55
|
+
timeline: {
|
|
56
|
+
startDate: a.startDate ?? a.createdAt,
|
|
57
|
+
endDate: a.endDate ?? a.updatedAt
|
|
58
|
+
},
|
|
59
|
+
channels: y,
|
|
60
|
+
targeting: {
|
|
61
|
+
demographics: b,
|
|
62
|
+
interests: x,
|
|
63
|
+
locations: S,
|
|
64
|
+
ageRange: {
|
|
65
|
+
min: i(c.min, 18),
|
|
66
|
+
max: i(c.max, 65)
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
assets: C,
|
|
70
|
+
team: w,
|
|
71
|
+
tags: a.tags,
|
|
72
|
+
createdAt: a.createdAt,
|
|
73
|
+
updatedAt: a.updatedAt
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function o(e) {
|
|
77
|
+
let n = t(e.type), r = n === "ppc" ? 2e3 : 1200, i = n === "ppc" ? 1e4 : 6e3;
|
|
78
|
+
return {
|
|
79
|
+
id: e.id,
|
|
80
|
+
name: e.name,
|
|
81
|
+
description: e.description ?? "",
|
|
82
|
+
category: n === "ppc" ? "Sales" : n === "social" ? "Social" : "Content",
|
|
83
|
+
type: n,
|
|
84
|
+
thumbnail: "",
|
|
85
|
+
channels: [n === "ppc" ? "Google Ads" : n === "social" ? "Instagram" : "Content Hub"],
|
|
86
|
+
estimatedBudget: {
|
|
87
|
+
min: r,
|
|
88
|
+
max: i,
|
|
89
|
+
currency: "USD"
|
|
90
|
+
},
|
|
91
|
+
duration: n === "ppc" ? "2-4 weeks" : "4-6 weeks",
|
|
92
|
+
tags: e.tags,
|
|
93
|
+
popularity: Math.max(12, e.tags.length * 25),
|
|
94
|
+
createdAt: e.createdAt
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function s(e) {
|
|
98
|
+
let t = new Date(e.timeline.startDate), n = new Date(e.timeline.endDate), r = Math.max(1, n.getTime() - t.getTime());
|
|
99
|
+
return Array.from({ length: 12 }, (n, i) => {
|
|
100
|
+
let a = (i + 1) / 12, o = new Date(t.getTime() + r * a), s = e.metrics.revenue * a, c = e.metrics.cost * a, l = Math.round(e.metrics.conversions * a);
|
|
101
|
+
return {
|
|
102
|
+
date: o.toLocaleDateString("en-US", {
|
|
103
|
+
month: "short",
|
|
104
|
+
day: "numeric"
|
|
105
|
+
}),
|
|
106
|
+
revenue: s,
|
|
107
|
+
cost: c,
|
|
108
|
+
conversions: l
|
|
109
|
+
};
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
//#endregion
|
|
113
|
+
export { a as toCampaignModel, s as toCampaignPerformanceSeries, o as toCampaignTemplateModel };
|
|
114
|
+
|
|
115
|
+
//# sourceMappingURL=campaignMapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"campaignMapper.js","names":[],"sources":["../../../src/headshotmarketing/utils/campaignMapper.ts"],"sourcesContent":["import type {\n Campaign,\n CampaignStatus,\n CampaignTemplate,\n CampaignType,\n} from \"../types\";\n\ntype CampaignLike = {\n id: string;\n name: string;\n description?: string | null;\n status: string;\n type: string;\n budget?: number | null;\n spent?: number | null;\n startDate?: string | null;\n endDate?: string | null;\n tags: string[];\n goals?: Record<string, unknown> | null;\n createdAt: string;\n updatedAt: string;\n};\n\ntype CampaignTemplateLike = {\n id: string;\n name: string;\n description?: string | null;\n type: string;\n tags: string[];\n createdAt: string;\n};\n\nfunction mapStatus(status: string): CampaignStatus {\n switch (status) {\n case \"ACTIVE\":\n return \"active\";\n case \"PAUSED\":\n return \"paused\";\n case \"COMPLETED\":\n case \"ARCHIVED\":\n return \"completed\";\n case \"SCHEDULED\":\n return \"scheduled\";\n default:\n return \"draft\";\n }\n}\n\nfunction mapType(type: string): CampaignType {\n switch (type) {\n case \"EMAIL\":\n return \"email\";\n case \"SOCIAL\":\n return \"social\";\n case \"AD\":\n return \"ppc\";\n case \"INFLUENCER\":\n return \"influencer\";\n case \"CONTENT\":\n case \"EVENT\":\n case \"MULTI_CHANNEL\":\n default:\n return \"content\";\n }\n}\n\nfunction toRecord(value: unknown): Record<string, unknown> {\n if (typeof value === \"object\" && value !== null && !Array.isArray(value)) {\n return value as Record<string, unknown>;\n }\n return {};\n}\n\nfunction toStringArray(value: unknown): string[] {\n if (!Array.isArray(value)) {\n return [];\n }\n return value.filter((item): item is string => typeof item === \"string\");\n}\n\nfunction toNumber(value: unknown, fallback = 0): number {\n const parsed = Number(value);\n return Number.isFinite(parsed) ? parsed : fallback;\n}\n\nexport function toCampaignModel(campaign: CampaignLike): Campaign {\n const goals = toRecord(campaign.goals);\n const metrics = toRecord(goals[\"metrics\"]);\n const ageRange = toRecord(goals[\"ageRange\"]);\n\n const totalBudget = campaign.budget ?? 0;\n const spentBudget = campaign.spent ?? toNumber(metrics[\"cost\"]);\n\n const impressions = toNumber(metrics[\"impressions\"]);\n const clicks = toNumber(metrics[\"clicks\"]);\n const conversions = toNumber(metrics[\"conversions\"]);\n const revenue = toNumber(metrics[\"revenue\"]);\n const cost = toNumber(metrics[\"cost\"], spentBudget);\n const ctr = toNumber(\n metrics[\"ctr\"],\n impressions > 0 ? (clicks / impressions) * 100 : 0,\n );\n const cpc = toNumber(metrics[\"cpc\"], clicks > 0 ? cost / clicks : 0);\n const roas = toNumber(metrics[\"roas\"], cost > 0 ? revenue / cost : 0);\n\n const channels = toStringArray(goals[\"channels\"]);\n const demographics = toStringArray(goals[\"demographics\"]);\n const interests = toStringArray(goals[\"interests\"]);\n const locations = toStringArray(goals[\"locations\"]);\n const assets = toStringArray(goals[\"assets\"]);\n const team = toStringArray(goals[\"team\"]);\n\n return {\n id: campaign.id,\n name: campaign.name,\n description: campaign.description ?? \"\",\n type: mapType(campaign.type),\n status: mapStatus(campaign.status),\n budget: {\n total: totalBudget,\n spent: spentBudget,\n remaining: Math.max(totalBudget - spentBudget, 0),\n currency: \"USD\",\n },\n metrics: {\n impressions,\n clicks,\n conversions,\n ctr,\n cpc,\n roas,\n revenue,\n cost,\n },\n timeline: {\n startDate: campaign.startDate ?? campaign.createdAt,\n endDate: campaign.endDate ?? campaign.updatedAt,\n },\n channels,\n targeting: {\n demographics,\n interests,\n locations,\n ageRange: {\n min: toNumber(ageRange[\"min\"], 18),\n max: toNumber(ageRange[\"max\"], 65),\n },\n },\n assets,\n team,\n tags: campaign.tags,\n createdAt: campaign.createdAt,\n updatedAt: campaign.updatedAt,\n };\n}\n\nexport function toCampaignTemplateModel(\n template: CampaignTemplateLike,\n): CampaignTemplate {\n const type = mapType(template.type);\n const estimatedMin = type === \"ppc\" ? 2000 : 1200;\n const estimatedMax = type === \"ppc\" ? 10000 : 6000;\n\n return {\n id: template.id,\n name: template.name,\n description: template.description ?? \"\",\n category:\n type === \"ppc\" ? \"Sales\" : type === \"social\" ? \"Social\" : \"Content\",\n type,\n thumbnail: \"\",\n channels: [\n type === \"ppc\"\n ? \"Google Ads\"\n : type === \"social\"\n ? \"Instagram\"\n : \"Content Hub\",\n ],\n estimatedBudget: {\n min: estimatedMin,\n max: estimatedMax,\n currency: \"USD\",\n },\n duration: type === \"ppc\" ? \"2-4 weeks\" : \"4-6 weeks\",\n tags: template.tags,\n popularity: Math.max(12, template.tags.length * 25),\n createdAt: template.createdAt,\n };\n}\n\nexport function toCampaignPerformanceSeries(\n campaign: Campaign,\n): Array<{ date: string; revenue: number; cost: number; conversions: number }> {\n const points = 12;\n const start = new Date(campaign.timeline.startDate);\n const end = new Date(campaign.timeline.endDate);\n const duration = Math.max(1, end.getTime() - start.getTime());\n\n return Array.from({ length: points }, (_, index) => {\n const progress = (index + 1) / points;\n const date = new Date(start.getTime() + duration * progress);\n const revenue = campaign.metrics.revenue * progress;\n const cost = campaign.metrics.cost * progress;\n const conversions = Math.round(campaign.metrics.conversions * progress);\n\n return {\n date: date.toLocaleDateString(\"en-US\", {\n month: \"short\",\n day: \"numeric\",\n }),\n revenue,\n cost,\n conversions,\n };\n });\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { AITool, Asset, ContentItem } from '../types';
|
|
2
|
+
|
|
3
|
+
type ContentItemLike = {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
type: string;
|
|
7
|
+
status: string;
|
|
8
|
+
body?: string | null;
|
|
9
|
+
summary?: string | null;
|
|
10
|
+
tags: string[];
|
|
11
|
+
authorId?: string | null;
|
|
12
|
+
metadata?: Record<string, unknown> | null;
|
|
13
|
+
publishedAt?: string | null;
|
|
14
|
+
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
};
|
|
17
|
+
type AssetLike = {
|
|
18
|
+
id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
type: string;
|
|
21
|
+
url: string;
|
|
22
|
+
thumbnailUrl?: string | null;
|
|
23
|
+
mimeType: string;
|
|
24
|
+
sizeBytes?: number | null;
|
|
25
|
+
width?: number | null;
|
|
26
|
+
height?: number | null;
|
|
27
|
+
tags: string[];
|
|
28
|
+
folderId?: string | null;
|
|
29
|
+
uploadedBy?: string | null;
|
|
30
|
+
createdAt: string;
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
};
|
|
33
|
+
type AIToolLike = {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
description?: string | null;
|
|
37
|
+
category: string;
|
|
38
|
+
provider?: string | null;
|
|
39
|
+
isEnabled: boolean;
|
|
40
|
+
usageCount?: number | null;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
};
|
|
43
|
+
export declare function toContentItemModel(item: ContentItemLike): ContentItem;
|
|
44
|
+
export declare function toAssetModel(item: AssetLike): Asset;
|
|
45
|
+
export declare function toAIToolModel(item: AIToolLike): AITool;
|
|
46
|
+
export declare function toContentPerformanceSeries(items: ContentItem[]): Array<{
|
|
47
|
+
date: string;
|
|
48
|
+
views: number;
|
|
49
|
+
shares: number;
|
|
50
|
+
conversions: number;
|
|
51
|
+
}>;
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=contentMapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentMapper.d.ts","sourceRoot":"","sources":["../../../src/headshotmarketing/utils/contentMapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE3D,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC1C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AA6DF,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,eAAe,GAAG,WAAW,CA0BrE;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,GAAG,KAAK,CAoBnD;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAatD;AAED,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,WAAW,EAAE,GACnB,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CA0B7E"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
//#region src/headshotmarketing/utils/contentMapper.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
switch (e) {
|
|
4
|
+
case "IMAGE": return "image";
|
|
5
|
+
case "VIDEO": return "video";
|
|
6
|
+
case "DOCUMENT": return "document";
|
|
7
|
+
case "TEMPLATE": return "template";
|
|
8
|
+
default: return "article";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
function t(e) {
|
|
12
|
+
switch (e) {
|
|
13
|
+
case "PUBLISHED": return "published";
|
|
14
|
+
case "ARCHIVED": return "archived";
|
|
15
|
+
case "REVIEW": return "review";
|
|
16
|
+
default: return "draft";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
function n(e) {
|
|
20
|
+
switch (e) {
|
|
21
|
+
case "VIDEO": return "video";
|
|
22
|
+
case "DOCUMENT": return "document";
|
|
23
|
+
case "AUDIO": return "audio";
|
|
24
|
+
case "FONT": return "font";
|
|
25
|
+
default: return "image";
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function r(e) {
|
|
29
|
+
return e.toLowerCase().includes("seo") ? "url" : e.toLowerCase().includes("audience") ? "data" : "text";
|
|
30
|
+
}
|
|
31
|
+
function i(e) {
|
|
32
|
+
return e.toLowerCase().includes("image") ? "image" : e.toLowerCase().includes("seo") || e.toLowerCase().includes("report") ? "report" : "text";
|
|
33
|
+
}
|
|
34
|
+
function a(n) {
|
|
35
|
+
let r = n.metadata ?? {};
|
|
36
|
+
return {
|
|
37
|
+
id: n.id,
|
|
38
|
+
title: n.title,
|
|
39
|
+
description: n.summary ?? "",
|
|
40
|
+
type: e(n.type),
|
|
41
|
+
content: n.body ?? "",
|
|
42
|
+
status: t(n.status),
|
|
43
|
+
author: n.authorId ?? "Unknown",
|
|
44
|
+
thumbnail: "",
|
|
45
|
+
tags: n.tags,
|
|
46
|
+
categories: [],
|
|
47
|
+
seoScore: Number(r.seoScore ?? 0),
|
|
48
|
+
wordCount: Number(r.wordCount ?? 0),
|
|
49
|
+
readTime: Number(r.readTime ?? 0),
|
|
50
|
+
metrics: {
|
|
51
|
+
views: Number(r.views ?? 0),
|
|
52
|
+
shares: Number(r.shares ?? 0),
|
|
53
|
+
engagement: Number(r.engagement ?? 0),
|
|
54
|
+
conversions: Number(r.conversions ?? 0)
|
|
55
|
+
},
|
|
56
|
+
publishedAt: n.publishedAt ?? null,
|
|
57
|
+
createdAt: n.createdAt,
|
|
58
|
+
updatedAt: n.updatedAt
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function o(e) {
|
|
62
|
+
return {
|
|
63
|
+
id: e.id,
|
|
64
|
+
name: e.name,
|
|
65
|
+
type: n(e.type),
|
|
66
|
+
url: e.url,
|
|
67
|
+
thumbnail: e.thumbnailUrl ?? "",
|
|
68
|
+
size: e.sizeBytes ?? 0,
|
|
69
|
+
dimensions: e.width && e.height ? {
|
|
70
|
+
width: e.width,
|
|
71
|
+
height: e.height
|
|
72
|
+
} : null,
|
|
73
|
+
mimeType: e.mimeType,
|
|
74
|
+
tags: e.tags,
|
|
75
|
+
folder: e.folderId ?? "root",
|
|
76
|
+
usedIn: [],
|
|
77
|
+
uploadedBy: e.uploadedBy ?? "system",
|
|
78
|
+
createdAt: e.createdAt,
|
|
79
|
+
updatedAt: e.updatedAt
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function s(e) {
|
|
83
|
+
return {
|
|
84
|
+
id: e.id,
|
|
85
|
+
name: e.name,
|
|
86
|
+
description: e.description ?? "",
|
|
87
|
+
category: e.category.toLowerCase(),
|
|
88
|
+
icon: e.category.toLowerCase().includes("image") ? "image" : "sparkles",
|
|
89
|
+
inputType: r(e.category),
|
|
90
|
+
outputType: i(e.category),
|
|
91
|
+
isAvailable: e.isEnabled,
|
|
92
|
+
usageCount: e.usageCount ?? 0,
|
|
93
|
+
rating: 0
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function c(e) {
|
|
97
|
+
let t = /* @__PURE__ */ new Map();
|
|
98
|
+
for (let n of e) {
|
|
99
|
+
let e = (n.publishedAt ?? n.createdAt).slice(0, 10), r = t.get(e) ?? {
|
|
100
|
+
views: 0,
|
|
101
|
+
shares: 0,
|
|
102
|
+
conversions: 0
|
|
103
|
+
};
|
|
104
|
+
r.views += n.metrics.views, r.shares += n.metrics.shares, r.conversions += n.metrics.conversions, t.set(e, r);
|
|
105
|
+
}
|
|
106
|
+
return Array.from(t.entries()).sort((e, t) => e[0].localeCompare(t[0])).map(([e, t]) => ({
|
|
107
|
+
date: new Date(e).toLocaleDateString("en-US", {
|
|
108
|
+
month: "short",
|
|
109
|
+
day: "numeric"
|
|
110
|
+
}),
|
|
111
|
+
views: t.views,
|
|
112
|
+
shares: t.shares,
|
|
113
|
+
conversions: t.conversions
|
|
114
|
+
}));
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
export { s as toAIToolModel, o as toAssetModel, a as toContentItemModel, c as toContentPerformanceSeries };
|
|
118
|
+
|
|
119
|
+
//# sourceMappingURL=contentMapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentMapper.js","names":[],"sources":["../../../src/headshotmarketing/utils/contentMapper.ts"],"sourcesContent":["import type { AITool, Asset, ContentItem } from \"../types\";\n\ntype ContentItemLike = {\n id: string;\n title: string;\n type: string;\n status: string;\n body?: string | null;\n summary?: string | null;\n tags: string[];\n authorId?: string | null;\n metadata?: Record<string, unknown> | null;\n publishedAt?: string | null;\n createdAt: string;\n updatedAt: string;\n};\n\ntype AssetLike = {\n id: string;\n name: string;\n type: string;\n url: string;\n thumbnailUrl?: string | null;\n mimeType: string;\n sizeBytes?: number | null;\n width?: number | null;\n height?: number | null;\n tags: string[];\n folderId?: string | null;\n uploadedBy?: string | null;\n createdAt: string;\n updatedAt: string;\n};\n\ntype AIToolLike = {\n id: string;\n name: string;\n description?: string | null;\n category: string;\n provider?: string | null;\n isEnabled: boolean;\n usageCount?: number | null;\n createdAt: string;\n};\n\nfunction mapContentType(value: string): ContentItem[\"type\"] {\n switch (value) {\n case \"IMAGE\":\n return \"image\";\n case \"VIDEO\":\n return \"video\";\n case \"DOCUMENT\":\n return \"document\";\n case \"TEMPLATE\":\n return \"template\";\n default:\n return \"article\";\n }\n}\n\nfunction mapContentStatus(value: string): ContentItem[\"status\"] {\n switch (value) {\n case \"PUBLISHED\":\n return \"published\";\n case \"ARCHIVED\":\n return \"archived\";\n case \"REVIEW\":\n return \"review\";\n default:\n return \"draft\";\n }\n}\n\nfunction mapAssetType(value: string): Asset[\"type\"] {\n switch (value) {\n case \"VIDEO\":\n return \"video\";\n case \"DOCUMENT\":\n return \"document\";\n case \"AUDIO\":\n return \"audio\";\n case \"FONT\":\n return \"font\";\n default:\n return \"image\";\n }\n}\n\nfunction mapToolInputType(category: string): AITool[\"inputType\"] {\n if (category.toLowerCase().includes(\"seo\")) return \"url\";\n if (category.toLowerCase().includes(\"audience\")) return \"data\";\n return \"text\";\n}\n\nfunction mapToolOutputType(category: string): AITool[\"outputType\"] {\n if (category.toLowerCase().includes(\"image\")) return \"image\";\n if (\n category.toLowerCase().includes(\"seo\") ||\n category.toLowerCase().includes(\"report\")\n )\n return \"report\";\n return \"text\";\n}\n\nexport function toContentItemModel(item: ContentItemLike): ContentItem {\n const metadata = item.metadata ?? {};\n return {\n id: item.id,\n title: item.title,\n description: item.summary ?? \"\",\n type: mapContentType(item.type),\n content: item.body ?? \"\",\n status: mapContentStatus(item.status),\n author: item.authorId ?? \"Unknown\",\n thumbnail: \"\",\n tags: item.tags,\n categories: [],\n seoScore: Number(metadata[\"seoScore\"] ?? 0),\n wordCount: Number(metadata[\"wordCount\"] ?? 0),\n readTime: Number(metadata[\"readTime\"] ?? 0),\n metrics: {\n views: Number(metadata[\"views\"] ?? 0),\n shares: Number(metadata[\"shares\"] ?? 0),\n engagement: Number(metadata[\"engagement\"] ?? 0),\n conversions: Number(metadata[\"conversions\"] ?? 0),\n },\n publishedAt: item.publishedAt ?? null,\n createdAt: item.createdAt,\n updatedAt: item.updatedAt,\n };\n}\n\nexport function toAssetModel(item: AssetLike): Asset {\n return {\n id: item.id,\n name: item.name,\n type: mapAssetType(item.type),\n url: item.url,\n thumbnail: item.thumbnailUrl ?? \"\",\n size: item.sizeBytes ?? 0,\n dimensions:\n item.width && item.height\n ? { width: item.width, height: item.height }\n : null,\n mimeType: item.mimeType,\n tags: item.tags,\n folder: item.folderId ?? \"root\",\n usedIn: [],\n uploadedBy: item.uploadedBy ?? \"system\",\n createdAt: item.createdAt,\n updatedAt: item.updatedAt,\n };\n}\n\nexport function toAIToolModel(item: AIToolLike): AITool {\n return {\n id: item.id,\n name: item.name,\n description: item.description ?? \"\",\n category: item.category.toLowerCase(),\n icon: item.category.toLowerCase().includes(\"image\") ? \"image\" : \"sparkles\",\n inputType: mapToolInputType(item.category),\n outputType: mapToolOutputType(item.category),\n isAvailable: item.isEnabled,\n usageCount: item.usageCount ?? 0,\n rating: 0,\n };\n}\n\nexport function toContentPerformanceSeries(\n items: ContentItem[],\n): Array<{ date: string; views: number; shares: number; conversions: number }> {\n const byDate = new Map<\n string,\n { views: number; shares: number; conversions: number }\n >();\n\n for (const item of items) {\n const key = (item.publishedAt ?? item.createdAt).slice(0, 10);\n const entry = byDate.get(key) ?? { views: 0, shares: 0, conversions: 0 };\n entry.views += item.metrics.views;\n entry.shares += item.metrics.shares;\n entry.conversions += item.metrics.conversions;\n byDate.set(key, entry);\n }\n\n return Array.from(byDate.entries())\n .sort((a, b) => a[0].localeCompare(b[0]))\n .map(([date, value]) => ({\n date: new Date(date).toLocaleDateString(\"en-US\", {\n month: \"short\",\n day: \"numeric\",\n }),\n views: value.views,\n shares: value.shares,\n conversions: value.conversions,\n }));\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Contact, Deal, Lead, Pipeline } from '../types';
|
|
2
|
+
|
|
3
|
+
type ContactLike = {
|
|
4
|
+
id: string;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
email: string;
|
|
8
|
+
phone?: string | null;
|
|
9
|
+
company?: string | null;
|
|
10
|
+
jobTitle?: string | null;
|
|
11
|
+
status: string;
|
|
12
|
+
avatarUrl?: string | null;
|
|
13
|
+
socialProfiles?: Record<string, unknown> | null;
|
|
14
|
+
tags: string[];
|
|
15
|
+
customFields?: Record<string, unknown> | null;
|
|
16
|
+
createdAt: string;
|
|
17
|
+
updatedAt: string;
|
|
18
|
+
};
|
|
19
|
+
type LeadLike = {
|
|
20
|
+
id: string;
|
|
21
|
+
contactId: string;
|
|
22
|
+
title: string;
|
|
23
|
+
description?: string | null;
|
|
24
|
+
status: string;
|
|
25
|
+
source: string;
|
|
26
|
+
score?: number | null;
|
|
27
|
+
ownerId?: string | null;
|
|
28
|
+
createdAt: string;
|
|
29
|
+
updatedAt: string;
|
|
30
|
+
};
|
|
31
|
+
type DealLike = {
|
|
32
|
+
id: string;
|
|
33
|
+
contactId: string;
|
|
34
|
+
title: string;
|
|
35
|
+
description?: string | null;
|
|
36
|
+
status: string;
|
|
37
|
+
stageId?: string | null;
|
|
38
|
+
value?: number | null;
|
|
39
|
+
probability?: number | null;
|
|
40
|
+
expectedCloseDate?: string | null;
|
|
41
|
+
ownerId?: string | null;
|
|
42
|
+
tags: string[];
|
|
43
|
+
createdAt: string;
|
|
44
|
+
updatedAt: string;
|
|
45
|
+
};
|
|
46
|
+
type PipelineLike = {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string;
|
|
49
|
+
description?: string | null;
|
|
50
|
+
stages: Array<{
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
order: number;
|
|
54
|
+
color?: string | null;
|
|
55
|
+
defaultProbability?: number | null;
|
|
56
|
+
}>;
|
|
57
|
+
createdAt: string;
|
|
58
|
+
updatedAt: string;
|
|
59
|
+
};
|
|
60
|
+
export declare function toContactModel(item: ContactLike): Contact;
|
|
61
|
+
export declare function toLeadModel(item: LeadLike, contactById: Record<string, Contact>): Lead;
|
|
62
|
+
export declare function toDealModel(item: DealLike, contactById: Record<string, Contact>): Deal;
|
|
63
|
+
export declare function toPipelineModel(item: PipelineLike, deals: Deal[]): Pipeline;
|
|
64
|
+
export {};
|
|
65
|
+
//# sourceMappingURL=crmMapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crmMapper.d.ts","sourceRoot":"","sources":["../../../src/headshotmarketing/utils/crmMapper.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
//#region src/headshotmarketing/utils/crmMapper.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
switch (e) {
|
|
4
|
+
case "NEW": return "new";
|
|
5
|
+
case "CONTACTED": return "contacted";
|
|
6
|
+
case "QUALIFIED": return "qualified";
|
|
7
|
+
case "DISQUALIFIED": return "unqualified";
|
|
8
|
+
case "CONVERTED": return "converted";
|
|
9
|
+
case "LOST": return "lost";
|
|
10
|
+
default: return "new";
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
function t(e) {
|
|
14
|
+
switch (e) {
|
|
15
|
+
case "CONTACTED": return "contacted";
|
|
16
|
+
case "QUALIFIED": return "qualified";
|
|
17
|
+
case "DISQUALIFIED": return "disqualified";
|
|
18
|
+
default: return "new";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function n(e, t) {
|
|
22
|
+
let n = `${e} ${t ?? ""}`.toLowerCase();
|
|
23
|
+
return n.includes("prospect") ? "prospecting" : n.includes("qualif") ? "qualification" : n.includes("proposal") ? "proposal" : n.includes("negot") ? "negotiation" : n.includes("won") ? "closed_won" : n.includes("lost") ? "closed_lost" : "prospecting";
|
|
24
|
+
}
|
|
25
|
+
function r(t) {
|
|
26
|
+
return {
|
|
27
|
+
id: t.id,
|
|
28
|
+
firstName: t.firstName,
|
|
29
|
+
lastName: t.lastName,
|
|
30
|
+
email: t.email,
|
|
31
|
+
phone: t.phone ?? "",
|
|
32
|
+
company: t.company ?? "",
|
|
33
|
+
title: t.jobTitle ?? "",
|
|
34
|
+
status: e(t.status),
|
|
35
|
+
score: 0,
|
|
36
|
+
tags: t.tags,
|
|
37
|
+
notes: "",
|
|
38
|
+
activities: [],
|
|
39
|
+
socialProfiles: [],
|
|
40
|
+
avatar: t.avatarUrl ?? "",
|
|
41
|
+
source: "crm",
|
|
42
|
+
lastContactedAt: t.updatedAt,
|
|
43
|
+
createdAt: t.createdAt,
|
|
44
|
+
updatedAt: t.updatedAt
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function i(e, n) {
|
|
48
|
+
let r = n[e.contactId];
|
|
49
|
+
return {
|
|
50
|
+
id: e.id,
|
|
51
|
+
firstName: r?.firstName ?? e.title,
|
|
52
|
+
lastName: r?.lastName ?? "",
|
|
53
|
+
email: r?.email ?? "",
|
|
54
|
+
phone: r?.phone ?? "",
|
|
55
|
+
company: r?.company ?? "",
|
|
56
|
+
title: e.title,
|
|
57
|
+
source: e.source.toLowerCase(),
|
|
58
|
+
score: e.score ?? 0,
|
|
59
|
+
status: t(e.status),
|
|
60
|
+
assignedTo: e.ownerId ?? "Unassigned",
|
|
61
|
+
notes: e.description ?? "",
|
|
62
|
+
interests: [],
|
|
63
|
+
lastActivityAt: e.updatedAt,
|
|
64
|
+
createdAt: e.createdAt,
|
|
65
|
+
updatedAt: e.updatedAt
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function a(e, t) {
|
|
69
|
+
let r = t[e.contactId];
|
|
70
|
+
return {
|
|
71
|
+
id: e.id,
|
|
72
|
+
name: e.title,
|
|
73
|
+
contactId: e.contactId,
|
|
74
|
+
contactName: r ? `${r.firstName} ${r.lastName}`.trim() : "Unknown",
|
|
75
|
+
company: r?.company ?? "",
|
|
76
|
+
value: e.value ?? 0,
|
|
77
|
+
currency: "USD",
|
|
78
|
+
stage: n(e.status, e.stageId),
|
|
79
|
+
probability: e.probability ?? 0,
|
|
80
|
+
expectedCloseDate: e.expectedCloseDate ?? e.updatedAt,
|
|
81
|
+
assignedTo: e.ownerId ?? "Unassigned",
|
|
82
|
+
notes: e.description ?? "",
|
|
83
|
+
activities: [],
|
|
84
|
+
tags: e.tags,
|
|
85
|
+
createdAt: e.createdAt,
|
|
86
|
+
updatedAt: e.updatedAt
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
//#endregion
|
|
90
|
+
export { r as toContactModel, a as toDealModel, i as toLeadModel };
|
|
91
|
+
|
|
92
|
+
//# sourceMappingURL=crmMapper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crmMapper.js","names":[],"sources":["../../../src/headshotmarketing/utils/crmMapper.ts"],"sourcesContent":["import type {\n Contact,\n ContactStatus,\n Deal,\n DealStage,\n Lead,\n Pipeline,\n} from \"../types\";\n\ntype ContactLike = {\n id: string;\n firstName: string;\n lastName: string;\n email: string;\n phone?: string | null;\n company?: string | null;\n jobTitle?: string | null;\n status: string;\n avatarUrl?: string | null;\n socialProfiles?: Record<string, unknown> | null;\n tags: string[];\n customFields?: Record<string, unknown> | null;\n createdAt: string;\n updatedAt: string;\n};\n\ntype LeadLike = {\n id: string;\n contactId: string;\n title: string;\n description?: string | null;\n status: string;\n source: string;\n score?: number | null;\n ownerId?: string | null;\n createdAt: string;\n updatedAt: string;\n};\n\ntype DealLike = {\n id: string;\n contactId: string;\n title: string;\n description?: string | null;\n status: string;\n stageId?: string | null;\n value?: number | null;\n probability?: number | null;\n expectedCloseDate?: string | null;\n ownerId?: string | null;\n tags: string[];\n createdAt: string;\n updatedAt: string;\n};\n\ntype PipelineLike = {\n id: string;\n name: string;\n description?: string | null;\n stages: Array<{\n id: string;\n name: string;\n order: number;\n color?: string | null;\n defaultProbability?: number | null;\n }>;\n createdAt: string;\n updatedAt: string;\n};\n\nfunction mapContactStatus(value: string): ContactStatus {\n switch (value) {\n case \"NEW\":\n return \"new\";\n case \"CONTACTED\":\n return \"contacted\";\n case \"QUALIFIED\":\n return \"qualified\";\n case \"DISQUALIFIED\":\n return \"unqualified\";\n case \"CONVERTED\":\n return \"converted\";\n case \"LOST\":\n return \"lost\";\n default:\n return \"new\";\n }\n}\n\nfunction mapLeadStatus(value: string): Lead[\"status\"] {\n switch (value) {\n case \"CONTACTED\":\n return \"contacted\";\n case \"QUALIFIED\":\n return \"qualified\";\n case \"DISQUALIFIED\":\n return \"disqualified\";\n default:\n return \"new\";\n }\n}\n\nfunction mapDealStage(status: string, stageId?: string | null): DealStage {\n const normalized = `${status} ${stageId ?? \"\"}`.toLowerCase();\n if (normalized.includes(\"prospect\")) return \"prospecting\";\n if (normalized.includes(\"qualif\")) return \"qualification\";\n if (normalized.includes(\"proposal\")) return \"proposal\";\n if (normalized.includes(\"negot\")) return \"negotiation\";\n if (normalized.includes(\"won\")) return \"closed_won\";\n if (normalized.includes(\"lost\")) return \"closed_lost\";\n return \"prospecting\";\n}\n\nexport function toContactModel(item: ContactLike): Contact {\n return {\n id: item.id,\n firstName: item.firstName,\n lastName: item.lastName,\n email: item.email,\n phone: item.phone ?? \"\",\n company: item.company ?? \"\",\n title: item.jobTitle ?? \"\",\n status: mapContactStatus(item.status),\n score: 0,\n tags: item.tags,\n notes: \"\",\n activities: [],\n socialProfiles: [],\n avatar: item.avatarUrl ?? \"\",\n source: \"crm\",\n lastContactedAt: item.updatedAt,\n createdAt: item.createdAt,\n updatedAt: item.updatedAt,\n };\n}\n\nexport function toLeadModel(\n item: LeadLike,\n contactById: Record<string, Contact>,\n): Lead {\n const contact = contactById[item.contactId];\n return {\n id: item.id,\n firstName: contact?.firstName ?? item.title,\n lastName: contact?.lastName ?? \"\",\n email: contact?.email ?? \"\",\n phone: contact?.phone ?? \"\",\n company: contact?.company ?? \"\",\n title: item.title,\n source: item.source.toLowerCase(),\n score: item.score ?? 0,\n status: mapLeadStatus(item.status),\n assignedTo: item.ownerId ?? \"Unassigned\",\n notes: item.description ?? \"\",\n interests: [],\n lastActivityAt: item.updatedAt,\n createdAt: item.createdAt,\n updatedAt: item.updatedAt,\n };\n}\n\nexport function toDealModel(\n item: DealLike,\n contactById: Record<string, Contact>,\n): Deal {\n const contact = contactById[item.contactId];\n return {\n id: item.id,\n name: item.title,\n contactId: item.contactId,\n contactName: contact\n ? `${contact.firstName} ${contact.lastName}`.trim()\n : \"Unknown\",\n company: contact?.company ?? \"\",\n value: item.value ?? 0,\n currency: \"USD\",\n stage: mapDealStage(item.status, item.stageId),\n probability: item.probability ?? 0,\n expectedCloseDate: item.expectedCloseDate ?? item.updatedAt,\n assignedTo: item.ownerId ?? \"Unassigned\",\n notes: item.description ?? \"\",\n activities: [],\n tags: item.tags,\n createdAt: item.createdAt,\n updatedAt: item.updatedAt,\n };\n}\n\nexport function toPipelineModel(item: PipelineLike, deals: Deal[]): Pipeline {\n const stages = item.stages\n .slice()\n .sort((a, b) => a.order - b.order)\n .map((stage) => {\n const dealCount = deals.filter((deal) =>\n deal.stage\n .toLowerCase()\n .includes(stage.name.toLowerCase().split(\" \")[0]),\n ).length;\n const totalValue = deals\n .filter((deal) =>\n deal.stage\n .toLowerCase()\n .includes(stage.name.toLowerCase().split(\" \")[0]),\n )\n .reduce((sum, deal) => sum + deal.value, 0);\n return {\n id: stage.id,\n name: stage.name,\n order: stage.order,\n dealCount,\n totalValue,\n color: stage.color ?? \"#3b82f6\",\n };\n });\n\n const totalDeals = deals.length;\n const totalValue = deals.reduce((sum, deal) => sum + deal.value, 0);\n const won = deals.filter((deal) => deal.stage === \"closed_won\").length;\n\n return {\n id: item.id,\n name: item.name,\n stages,\n totalDeals,\n totalValue,\n conversionRate: totalDeals > 0 ? (won / totalDeals) * 100 : 0,\n createdAt: item.createdAt,\n updatedAt: item.updatedAt,\n };\n}\n"],"mappings":";AAsEA,SAAS,EAAiB,GAA8B;AACtD,SAAQ,GAAR;EACE,KAAK,MACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,eACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,OACH,QAAO;EACT,QACE,QAAO;;;AAIb,SAAS,EAAc,GAA+B;AACpD,SAAQ,GAAR;EACE,KAAK,YACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,eACH,QAAO;EACT,QACE,QAAO;;;AAIb,SAAS,EAAa,GAAgB,GAAoC;CACxE,IAAM,IAAa,GAAG,EAAO,GAAG,KAAW,KAAK,aAAa;AAO7D,QANI,EAAW,SAAS,WAAW,GAAS,gBACxC,EAAW,SAAS,SAAS,GAAS,kBACtC,EAAW,SAAS,WAAW,GAAS,aACxC,EAAW,SAAS,QAAQ,GAAS,gBACrC,EAAW,SAAS,MAAM,GAAS,eACnC,EAAW,SAAS,OAAO,GAAS,gBACjC;;AAGT,SAAgB,EAAe,GAA4B;AACzD,QAAO;EACL,IAAI,EAAK;EACT,WAAW,EAAK;EAChB,UAAU,EAAK;EACf,OAAO,EAAK;EACZ,OAAO,EAAK,SAAS;EACrB,SAAS,EAAK,WAAW;EACzB,OAAO,EAAK,YAAY;EACxB,QAAQ,EAAiB,EAAK,OAAO;EACrC,OAAO;EACP,MAAM,EAAK;EACX,OAAO;EACP,YAAY,EAAE;EACd,gBAAgB,EAAE;EAClB,QAAQ,EAAK,aAAa;EAC1B,QAAQ;EACR,iBAAiB,EAAK;EACtB,WAAW,EAAK;EAChB,WAAW,EAAK;EACjB;;AAGH,SAAgB,EACd,GACA,GACM;CACN,IAAM,IAAU,EAAY,EAAK;AACjC,QAAO;EACL,IAAI,EAAK;EACT,WAAW,GAAS,aAAa,EAAK;EACtC,UAAU,GAAS,YAAY;EAC/B,OAAO,GAAS,SAAS;EACzB,OAAO,GAAS,SAAS;EACzB,SAAS,GAAS,WAAW;EAC7B,OAAO,EAAK;EACZ,QAAQ,EAAK,OAAO,aAAa;EACjC,OAAO,EAAK,SAAS;EACrB,QAAQ,EAAc,EAAK,OAAO;EAClC,YAAY,EAAK,WAAW;EAC5B,OAAO,EAAK,eAAe;EAC3B,WAAW,EAAE;EACb,gBAAgB,EAAK;EACrB,WAAW,EAAK;EAChB,WAAW,EAAK;EACjB;;AAGH,SAAgB,EACd,GACA,GACM;CACN,IAAM,IAAU,EAAY,EAAK;AACjC,QAAO;EACL,IAAI,EAAK;EACT,MAAM,EAAK;EACX,WAAW,EAAK;EAChB,aAAa,IACT,GAAG,EAAQ,UAAU,GAAG,EAAQ,WAAW,MAAM,GACjD;EACJ,SAAS,GAAS,WAAW;EAC7B,OAAO,EAAK,SAAS;EACrB,UAAU;EACV,OAAO,EAAa,EAAK,QAAQ,EAAK,QAAQ;EAC9C,aAAa,EAAK,eAAe;EACjC,mBAAmB,EAAK,qBAAqB,EAAK;EAClD,YAAY,EAAK,WAAW;EAC5B,OAAO,EAAK,eAAe;EAC3B,YAAY,EAAE;EACd,MAAM,EAAK;EACX,WAAW,EAAK;EAChB,WAAW,EAAK;EACjB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MarketingEvent } from '../types';
|
|
2
|
+
|
|
3
|
+
type EventSpeakerLike = {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
company: string;
|
|
8
|
+
bio?: string | null;
|
|
9
|
+
avatarUrl?: string | null;
|
|
10
|
+
};
|
|
11
|
+
type EventLike = {
|
|
12
|
+
id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description?: string | null;
|
|
15
|
+
type: string;
|
|
16
|
+
status: string;
|
|
17
|
+
startDate: string;
|
|
18
|
+
endDate: string;
|
|
19
|
+
location?: string | null;
|
|
20
|
+
virtualUrl?: string | null;
|
|
21
|
+
maxAttendees?: number | null;
|
|
22
|
+
registrationCount?: number | null;
|
|
23
|
+
tags: string[];
|
|
24
|
+
speakers: EventSpeakerLike[];
|
|
25
|
+
createdAt: string;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
};
|
|
28
|
+
export declare function toMarketingEventModel(item: EventLike): MarketingEvent;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=eventsMapper.d.ts.map
|