@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,225 @@
|
|
|
1
|
+
import { useHeadshotmarketingBootstrapDataQuery as e } from "../../../generated/wspace-operations.js";
|
|
2
|
+
import { cn as t, formatDate as n, formatNumber as r, formatPercentage as i } from "../../utils/helpers.js";
|
|
3
|
+
import { PageLayout as a } from "../../components/PageLayout.js";
|
|
4
|
+
import { StatCard as o } from "../../components/StatCard.js";
|
|
5
|
+
import { DataTable as s } from "../../components/DataTable.js";
|
|
6
|
+
import "../../components/index.js";
|
|
7
|
+
import { toSocialAccountModel as c } from "../../utils/socialMapper.js";
|
|
8
|
+
import { useState as l } from "react";
|
|
9
|
+
import { CheckCircle as u, Link2 as d, Plus as f, RefreshCw as p, TrendingUp as m, Users as h, XCircle as g } from "lucide-react";
|
|
10
|
+
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
11
|
+
//#region src/headshotmarketing/pages/social-media/AccountsPage.tsx
|
|
12
|
+
var b = {
|
|
13
|
+
instagram: "bg-pink-100 text-pink-700",
|
|
14
|
+
facebook: "bg-blue-100 text-blue-700",
|
|
15
|
+
twitter: "bg-sky-100 text-sky-700",
|
|
16
|
+
linkedin: "bg-indigo-100 text-indigo-700",
|
|
17
|
+
youtube: "bg-red-100 text-red-700",
|
|
18
|
+
tiktok: "bg-gray-100 text-gray-700"
|
|
19
|
+
}, x = [
|
|
20
|
+
{
|
|
21
|
+
key: "instagram",
|
|
22
|
+
label: "Instagram",
|
|
23
|
+
description: "Share photos, reels, and stories"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
key: "facebook",
|
|
27
|
+
label: "Facebook",
|
|
28
|
+
description: "Pages, groups, and marketplace"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
key: "twitter",
|
|
32
|
+
label: "Twitter",
|
|
33
|
+
description: "Tweets, threads, and spaces"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
key: "linkedin",
|
|
37
|
+
label: "LinkedIn",
|
|
38
|
+
description: "Professional networking and content"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
key: "youtube",
|
|
42
|
+
label: "YouTube",
|
|
43
|
+
description: "Video content and shorts"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
key: "tiktok",
|
|
47
|
+
label: "TikTok",
|
|
48
|
+
description: "Short-form video content"
|
|
49
|
+
}
|
|
50
|
+
], S = () => {
|
|
51
|
+
let { data: S } = e({ variables: {
|
|
52
|
+
limit: 200,
|
|
53
|
+
offset: 0
|
|
54
|
+
} }), [C, w] = l(!1), T = (S?.headshotmarketingSocialAccounts.items ?? []).map((e) => c(e)), E = T.filter((e) => e.connected).length, D = T.reduce((e, t) => e + t.followers, 0), O = T.length > 0 ? T.reduce((e, t) => e + t.engagementRate, 0) / T.length : 0, k = T.reduce((e, t) => e + t.posts, 0), A = () => {
|
|
55
|
+
w(!0), setTimeout(() => w(!1), 2e3);
|
|
56
|
+
}, j = [
|
|
57
|
+
{
|
|
58
|
+
key: "displayName",
|
|
59
|
+
header: "Account",
|
|
60
|
+
render: (e) => /* @__PURE__ */ y("div", {
|
|
61
|
+
className: "flex items-center gap-3",
|
|
62
|
+
children: [/* @__PURE__ */ v("div", {
|
|
63
|
+
className: "flex h-8 w-8 items-center justify-center rounded-full bg-muted text-xs font-bold text-foreground",
|
|
64
|
+
children: e.displayName.charAt(0)
|
|
65
|
+
}), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
|
|
66
|
+
className: "text-sm font-medium text-foreground",
|
|
67
|
+
children: e.displayName
|
|
68
|
+
}), /* @__PURE__ */ v("p", {
|
|
69
|
+
className: "text-xs text-muted-foreground",
|
|
70
|
+
children: e.handle
|
|
71
|
+
})] })]
|
|
72
|
+
})
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
key: "platform",
|
|
76
|
+
header: "Platform",
|
|
77
|
+
render: (e) => /* @__PURE__ */ v("span", {
|
|
78
|
+
className: t("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", b[e.platform]),
|
|
79
|
+
children: e.platform
|
|
80
|
+
})
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
key: "connected",
|
|
84
|
+
header: "Status",
|
|
85
|
+
render: (e) => /* @__PURE__ */ v("div", {
|
|
86
|
+
className: "flex items-center gap-1.5",
|
|
87
|
+
children: e.connected ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(u, { className: "h-3.5 w-3.5 text-green-600" }), /* @__PURE__ */ v("span", {
|
|
88
|
+
className: "text-xs text-green-600 font-medium",
|
|
89
|
+
children: "Connected"
|
|
90
|
+
})] }) : /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v(g, { className: "h-3.5 w-3.5 text-red-500" }), /* @__PURE__ */ v("span", {
|
|
91
|
+
className: "text-xs text-red-500 font-medium",
|
|
92
|
+
children: "Disconnected"
|
|
93
|
+
})] })
|
|
94
|
+
})
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
key: "followers",
|
|
98
|
+
header: "Followers",
|
|
99
|
+
sortable: !0,
|
|
100
|
+
render: (e) => /* @__PURE__ */ v("span", {
|
|
101
|
+
className: "text-sm text-foreground",
|
|
102
|
+
children: r(e.followers)
|
|
103
|
+
})
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
key: "engagementRate",
|
|
107
|
+
header: "Engagement",
|
|
108
|
+
sortable: !0,
|
|
109
|
+
render: (e) => /* @__PURE__ */ v("span", {
|
|
110
|
+
className: "text-sm text-foreground",
|
|
111
|
+
children: i(e.engagementRate)
|
|
112
|
+
})
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
key: "lastSyncedAt",
|
|
116
|
+
header: "Last Synced",
|
|
117
|
+
render: (e) => /* @__PURE__ */ v("span", {
|
|
118
|
+
className: "text-xs text-muted-foreground",
|
|
119
|
+
children: n(e.lastSyncedAt, "relative")
|
|
120
|
+
})
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
key: "actions",
|
|
124
|
+
header: "",
|
|
125
|
+
render: (e) => /* @__PURE__ */ v("div", {
|
|
126
|
+
className: "flex items-center gap-2",
|
|
127
|
+
children: e.connected ? /* @__PURE__ */ v("button", {
|
|
128
|
+
className: "rounded-md border border-border px-3 py-1.5 text-xs text-foreground hover:bg-muted",
|
|
129
|
+
children: "Manage"
|
|
130
|
+
}) : /* @__PURE__ */ v("button", {
|
|
131
|
+
className: "rounded-md bg-foreground px-3 py-1.5 text-xs text-background hover:bg-foreground/90",
|
|
132
|
+
children: "Connect"
|
|
133
|
+
})
|
|
134
|
+
})
|
|
135
|
+
}
|
|
136
|
+
], M = T.map((e) => ({ ...e }));
|
|
137
|
+
return /* @__PURE__ */ y(a, {
|
|
138
|
+
title: "Connected Accounts",
|
|
139
|
+
description: "Manage your social media platform connections",
|
|
140
|
+
actions: /* @__PURE__ */ y("div", {
|
|
141
|
+
className: "flex items-center gap-2",
|
|
142
|
+
children: [/* @__PURE__ */ y("button", {
|
|
143
|
+
onClick: A,
|
|
144
|
+
disabled: C,
|
|
145
|
+
className: t("inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-muted", C && "opacity-50 cursor-not-allowed"),
|
|
146
|
+
children: [/* @__PURE__ */ v(p, { className: t("h-4 w-4", C && "animate-spin") }), C ? "Syncing..." : "Sync All"]
|
|
147
|
+
}), /* @__PURE__ */ y("button", {
|
|
148
|
+
className: "inline-flex items-center gap-2 rounded-md bg-foreground px-4 py-2 text-sm font-medium text-background hover:bg-foreground/90",
|
|
149
|
+
children: [/* @__PURE__ */ v(f, { className: "h-4 w-4" }), "Add Account"]
|
|
150
|
+
})]
|
|
151
|
+
}),
|
|
152
|
+
children: [
|
|
153
|
+
/* @__PURE__ */ y("div", {
|
|
154
|
+
className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
|
|
155
|
+
children: [
|
|
156
|
+
/* @__PURE__ */ v(o, {
|
|
157
|
+
title: "Connected",
|
|
158
|
+
value: `${E}/${x.length}`,
|
|
159
|
+
icon: /* @__PURE__ */ v(d, { className: "h-4 w-4" })
|
|
160
|
+
}),
|
|
161
|
+
/* @__PURE__ */ v(o, {
|
|
162
|
+
title: "Total Followers",
|
|
163
|
+
value: r(D),
|
|
164
|
+
change: 8.4,
|
|
165
|
+
icon: /* @__PURE__ */ v(h, { className: "h-4 w-4" })
|
|
166
|
+
}),
|
|
167
|
+
/* @__PURE__ */ v(o, {
|
|
168
|
+
title: "Avg Engagement",
|
|
169
|
+
value: i(O),
|
|
170
|
+
change: 1.2,
|
|
171
|
+
icon: /* @__PURE__ */ v(m, { className: "h-4 w-4" })
|
|
172
|
+
}),
|
|
173
|
+
/* @__PURE__ */ v(o, {
|
|
174
|
+
title: "Total Posts",
|
|
175
|
+
value: r(k),
|
|
176
|
+
change: 5.3
|
|
177
|
+
})
|
|
178
|
+
]
|
|
179
|
+
}),
|
|
180
|
+
/* @__PURE__ */ y("div", {
|
|
181
|
+
className: "rounded-lg border border-border bg-card p-6",
|
|
182
|
+
children: [/* @__PURE__ */ v("h3", {
|
|
183
|
+
className: "text-sm font-semibold text-foreground mb-4",
|
|
184
|
+
children: "Available Platforms"
|
|
185
|
+
}), /* @__PURE__ */ v("div", {
|
|
186
|
+
className: "grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-6",
|
|
187
|
+
children: x.map((e) => {
|
|
188
|
+
let n = T.find((t) => t.platform === e.key)?.connected ?? !1;
|
|
189
|
+
return /* @__PURE__ */ y("div", {
|
|
190
|
+
className: t("rounded-lg border p-4 text-center transition-colors", n ? "border-green-200 bg-green-50/50" : "border-border bg-card hover:border-foreground/30"),
|
|
191
|
+
children: [
|
|
192
|
+
/* @__PURE__ */ v("span", {
|
|
193
|
+
className: t("inline-block rounded-full px-2.5 py-1 text-xs font-medium capitalize mb-2", b[e.key]),
|
|
194
|
+
children: e.label
|
|
195
|
+
}),
|
|
196
|
+
/* @__PURE__ */ v("p", {
|
|
197
|
+
className: "text-xs text-muted-foreground mb-2",
|
|
198
|
+
children: e.description
|
|
199
|
+
}),
|
|
200
|
+
n ? /* @__PURE__ */ v("span", {
|
|
201
|
+
className: "text-xs text-green-600 font-medium",
|
|
202
|
+
children: "Connected"
|
|
203
|
+
}) : /* @__PURE__ */ v("button", {
|
|
204
|
+
className: "text-xs text-foreground font-medium underline hover:no-underline",
|
|
205
|
+
children: "Connect"
|
|
206
|
+
})
|
|
207
|
+
]
|
|
208
|
+
}, e.key);
|
|
209
|
+
})
|
|
210
|
+
})]
|
|
211
|
+
}),
|
|
212
|
+
/* @__PURE__ */ v(s, {
|
|
213
|
+
data: M,
|
|
214
|
+
columns: j,
|
|
215
|
+
searchable: !0,
|
|
216
|
+
searchPlaceholder: "Search accounts...",
|
|
217
|
+
pageSize: 10
|
|
218
|
+
})
|
|
219
|
+
]
|
|
220
|
+
});
|
|
221
|
+
};
|
|
222
|
+
//#endregion
|
|
223
|
+
export { S as AccountsPage };
|
|
224
|
+
|
|
225
|
+
//# sourceMappingURL=AccountsPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountsPage.js","names":[],"sources":["../../../../src/headshotmarketing/pages/social-media/AccountsPage.tsx"],"sourcesContent":["import { useState, type FC } from \"react\";\nimport {\n Plus,\n RefreshCw,\n Users,\n Link2,\n TrendingUp,\n CheckCircle,\n XCircle,\n} from \"lucide-react\";\nimport { useHeadshotmarketingBootstrapDataQuery } from \"../../../generated/wspace-operations\";\nimport {\n cn,\n formatNumber,\n formatPercentage,\n formatDate,\n} from \"../../utils/helpers\";\nimport { toSocialAccountModel } from \"../../utils/socialMapper\";\nimport { PageLayout, StatCard, DataTable, type Column } from \"../../components\";\nimport type { SocialMediaAccount, SocialMediaPlatform } from \"../../types\";\n\nconst CHART_COLORS = [\n \"#3b82f6\",\n \"#10b981\",\n \"#f59e0b\",\n \"#ef4444\",\n \"#8b5cf6\",\n \"#ec4899\",\n];\n\nconst platformColors: Record<string, string> = {\n instagram: \"bg-pink-100 text-pink-700\",\n facebook: \"bg-blue-100 text-blue-700\",\n twitter: \"bg-sky-100 text-sky-700\",\n linkedin: \"bg-indigo-100 text-indigo-700\",\n youtube: \"bg-red-100 text-red-700\",\n tiktok: \"bg-gray-100 text-gray-700\",\n};\n\nconst allPlatforms: {\n key: SocialMediaPlatform;\n label: string;\n description: string;\n}[] = [\n {\n key: \"instagram\",\n label: \"Instagram\",\n description: \"Share photos, reels, and stories\",\n },\n {\n key: \"facebook\",\n label: \"Facebook\",\n description: \"Pages, groups, and marketplace\",\n },\n {\n key: \"twitter\",\n label: \"Twitter\",\n description: \"Tweets, threads, and spaces\",\n },\n {\n key: \"linkedin\",\n label: \"LinkedIn\",\n description: \"Professional networking and content\",\n },\n { key: \"youtube\", label: \"YouTube\", description: \"Video content and shorts\" },\n { key: \"tiktok\", label: \"TikTok\", description: \"Short-form video content\" },\n];\n\nexport const AccountsPage: FC = () => {\n const { data } = useHeadshotmarketingBootstrapDataQuery({\n variables: { limit: 200, offset: 0 },\n });\n const [syncing, setSyncing] = useState(false);\n\n const socialAccounts: SocialMediaAccount[] = (\n data?.headshotmarketingSocialAccounts.items ?? []\n ).map((item: Parameters<typeof toSocialAccountModel>[0]) =>\n toSocialAccountModel(item),\n );\n\n const connectedCount = socialAccounts.filter(\n (a: SocialMediaAccount) => a.connected,\n ).length;\n const totalFollowers = socialAccounts.reduce(\n (sum: number, a: SocialMediaAccount) => sum + a.followers,\n 0,\n );\n const avgEngagement =\n socialAccounts.length > 0\n ? socialAccounts.reduce(\n (sum: number, a: SocialMediaAccount) => sum + a.engagementRate,\n 0,\n ) / socialAccounts.length\n : 0;\n const totalPosts = socialAccounts.reduce(\n (sum: number, a: SocialMediaAccount) => sum + a.posts,\n 0,\n );\n\n const handleSync = () => {\n setSyncing(true);\n setTimeout(() => setSyncing(false), 2000);\n };\n\n const columns: Column<SocialMediaAccount & Record<string, unknown>>[] = [\n {\n key: \"displayName\",\n header: \"Account\",\n render: (row) => (\n <div className=\"flex items-center gap-3\">\n <div className=\"flex h-8 w-8 items-center justify-center rounded-full bg-muted text-xs font-bold text-foreground\">\n {row.displayName.charAt(0)}\n </div>\n <div>\n <p className=\"text-sm font-medium text-foreground\">\n {row.displayName}\n </p>\n <p className=\"text-xs text-muted-foreground\">{row.handle}</p>\n </div>\n </div>\n ),\n },\n {\n key: \"platform\",\n header: \"Platform\",\n render: (row) => (\n <span\n className={cn(\n \"rounded-full px-2.5 py-0.5 text-xs font-medium capitalize\",\n platformColors[row.platform],\n )}\n >\n {row.platform}\n </span>\n ),\n },\n {\n key: \"connected\",\n header: \"Status\",\n render: (row) => (\n <div className=\"flex items-center gap-1.5\">\n {row.connected ? (\n <>\n <CheckCircle className=\"h-3.5 w-3.5 text-green-600\" />\n <span className=\"text-xs text-green-600 font-medium\">\n Connected\n </span>\n </>\n ) : (\n <>\n <XCircle className=\"h-3.5 w-3.5 text-red-500\" />\n <span className=\"text-xs text-red-500 font-medium\">\n Disconnected\n </span>\n </>\n )}\n </div>\n ),\n },\n {\n key: \"followers\",\n header: \"Followers\",\n sortable: true,\n render: (row) => (\n <span className=\"text-sm text-foreground\">\n {formatNumber(row.followers as number)}\n </span>\n ),\n },\n {\n key: \"engagementRate\",\n header: \"Engagement\",\n sortable: true,\n render: (row) => (\n <span className=\"text-sm text-foreground\">\n {formatPercentage(row.engagementRate as number)}\n </span>\n ),\n },\n {\n key: \"lastSyncedAt\",\n header: \"Last Synced\",\n render: (row) => (\n <span className=\"text-xs text-muted-foreground\">\n {formatDate(row.lastSyncedAt as string, \"relative\")}\n </span>\n ),\n },\n {\n key: \"actions\",\n header: \"\",\n render: (row) => (\n <div className=\"flex items-center gap-2\">\n {row.connected ? (\n <button className=\"rounded-md border border-border px-3 py-1.5 text-xs text-foreground hover:bg-muted\">\n Manage\n </button>\n ) : (\n <button className=\"rounded-md bg-foreground px-3 py-1.5 text-xs text-background hover:bg-foreground/90\">\n Connect\n </button>\n )}\n </div>\n ),\n },\n ];\n\n const tableData = socialAccounts.map(\n (a) => ({ ...a }) as SocialMediaAccount & Record<string, unknown>,\n );\n\n return (\n <PageLayout\n title=\"Connected Accounts\"\n description=\"Manage your social media platform connections\"\n actions={\n <div className=\"flex items-center gap-2\">\n <button\n onClick={handleSync}\n disabled={syncing}\n className={cn(\n \"inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-muted\",\n syncing && \"opacity-50 cursor-not-allowed\",\n )}\n >\n <RefreshCw className={cn(\"h-4 w-4\", syncing && \"animate-spin\")} />\n {syncing ? \"Syncing...\" : \"Sync All\"}\n </button>\n <button className=\"inline-flex items-center gap-2 rounded-md bg-foreground px-4 py-2 text-sm font-medium text-background hover:bg-foreground/90\">\n <Plus className=\"h-4 w-4\" />\n Add Account\n </button>\n </div>\n }\n >\n {/* Stats */}\n <div className=\"grid grid-cols-2 gap-4 sm:grid-cols-4\">\n <StatCard\n title=\"Connected\"\n value={`${connectedCount}/${allPlatforms.length}`}\n icon={<Link2 className=\"h-4 w-4\" />}\n />\n <StatCard\n title=\"Total Followers\"\n value={formatNumber(totalFollowers)}\n change={8.4}\n icon={<Users className=\"h-4 w-4\" />}\n />\n <StatCard\n title=\"Avg Engagement\"\n value={formatPercentage(avgEngagement)}\n change={1.2}\n icon={<TrendingUp className=\"h-4 w-4\" />}\n />\n <StatCard\n title=\"Total Posts\"\n value={formatNumber(totalPosts)}\n change={5.3}\n />\n </div>\n\n {/* Available Platforms */}\n <div className=\"rounded-lg border border-border bg-card p-6\">\n <h3 className=\"text-sm font-semibold text-foreground mb-4\">\n Available Platforms\n </h3>\n <div className=\"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-6\">\n {allPlatforms.map((platform) => {\n const account = socialAccounts.find(\n (a: SocialMediaAccount) => a.platform === platform.key,\n );\n const isConnected = account?.connected ?? false;\n return (\n <div\n key={platform.key}\n className={cn(\n \"rounded-lg border p-4 text-center transition-colors\",\n isConnected\n ? \"border-green-200 bg-green-50/50\"\n : \"border-border bg-card hover:border-foreground/30\",\n )}\n >\n <span\n className={cn(\n \"inline-block rounded-full px-2.5 py-1 text-xs font-medium capitalize mb-2\",\n platformColors[platform.key],\n )}\n >\n {platform.label}\n </span>\n <p className=\"text-xs text-muted-foreground mb-2\">\n {platform.description}\n </p>\n {isConnected ? (\n <span className=\"text-xs text-green-600 font-medium\">\n Connected\n </span>\n ) : (\n <button className=\"text-xs text-foreground font-medium underline hover:no-underline\">\n Connect\n </button>\n )}\n </div>\n );\n })}\n </div>\n </div>\n\n {/* Accounts Table */}\n <DataTable\n data={tableData}\n columns={columns}\n searchable\n searchPlaceholder=\"Search accounts...\"\n pageSize={10}\n />\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;;AA8BA,IAAM,IAAyC;CAC7C,WAAW;CACX,UAAU;CACV,SAAS;CACT,UAAU;CACV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Q,WAAU;mBAAmE;SAE5E,CAAA;QAEP;SA5BC,EAAS,IA4BV;OAER;KACE,CAAA,CACF;;GAGN,kBAAC,GAAD;IACE,MAAM;IACG;IACT,YAAA;IACA,mBAAkB;IAClB,UAAU;IACV,CAAA;GACS"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentCalendarPage.d.ts","sourceRoot":"","sources":["../../../../src/headshotmarketing/pages/social-media/ContentCalendarPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA0DnD,eAAO,MAAM,mBAAmB,EAAE,EA8YjC,CAAC"}
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import { useHeadshotMarketing as e } from "../../context/HeadshotMarketingContext.js";
|
|
2
|
+
import { useHeadshotmarketingBootstrapDataQuery as t } from "../../../generated/wspace-operations.js";
|
|
3
|
+
import { cn as n } from "../../utils/helpers.js";
|
|
4
|
+
import { PageLayout as r } from "../../components/PageLayout.js";
|
|
5
|
+
import "../../components/index.js";
|
|
6
|
+
import { toCalendarPosts as i, toSocialAccountModel as a, toSocialPostModel as o } from "../../utils/socialMapper.js";
|
|
7
|
+
import { useMemo as s, useState as c } from "react";
|
|
8
|
+
import { BarChart3 as l, CalendarDays as u, ChevronLeft as d, ChevronRight as f, Clock as p } from "lucide-react";
|
|
9
|
+
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
10
|
+
//#region src/headshotmarketing/pages/social-media/ContentCalendarPage.tsx
|
|
11
|
+
var _ = {
|
|
12
|
+
instagram: "bg-pink-500",
|
|
13
|
+
facebook: "bg-blue-600",
|
|
14
|
+
twitter: "bg-sky-500",
|
|
15
|
+
linkedin: "bg-indigo-600",
|
|
16
|
+
youtube: "bg-red-600",
|
|
17
|
+
tiktok: "bg-gray-700"
|
|
18
|
+
}, v = [
|
|
19
|
+
"Sun",
|
|
20
|
+
"Mon",
|
|
21
|
+
"Tue",
|
|
22
|
+
"Wed",
|
|
23
|
+
"Thu",
|
|
24
|
+
"Fri",
|
|
25
|
+
"Sat"
|
|
26
|
+
];
|
|
27
|
+
function y(e, t) {
|
|
28
|
+
return new Date(e, t + 1, 0).getDate();
|
|
29
|
+
}
|
|
30
|
+
function b(e, t) {
|
|
31
|
+
return new Date(e, t, 1).getDay();
|
|
32
|
+
}
|
|
33
|
+
var x = () => {
|
|
34
|
+
let { navigate: x } = e(), { data: S } = t({ variables: {
|
|
35
|
+
limit: 200,
|
|
36
|
+
offset: 0
|
|
37
|
+
} }), [C, w] = c("month"), [T, E] = c(new Date(2026, 1, 10)), [D, O] = c("all"), k = T.getFullYear(), A = T.getMonth(), j = y(k, A), M = b(k, A), N = T.toLocaleDateString("en-US", {
|
|
38
|
+
month: "long",
|
|
39
|
+
year: "numeric"
|
|
40
|
+
}), P = (e) => {
|
|
41
|
+
E(new Date(k, A + e, 1));
|
|
42
|
+
}, F = (e) => {
|
|
43
|
+
let t = new Date(T);
|
|
44
|
+
t.setDate(t.getDate() + e * 7), E(t);
|
|
45
|
+
}, I = s(() => (S?.headshotmarketingSocialAccounts.items ?? []).map((e) => a(e)), [S?.headshotmarketingSocialAccounts.items]), L = s(() => Object.fromEntries((S?.headshotmarketingSocialAccounts.items ?? []).map((e) => [e.id, e.accountName])), [S?.headshotmarketingSocialAccounts.items]), R = s(() => Object.fromEntries(I.map((e) => [e.id, e.platform])), [I]), z = s(() => (S?.headshotmarketingSocialPosts.items ?? []).map((e) => o(e, L, R)), [
|
|
46
|
+
S?.headshotmarketingSocialPosts.items,
|
|
47
|
+
L,
|
|
48
|
+
R
|
|
49
|
+
]), B = s(() => i(z), [z]), V = s(() => D === "all" ? B : B.filter((e) => e.platform === D), [D, B]), H = (e) => V.filter((t) => t.date === e), U = "2026-02-10", W = V.filter((e) => e.date === U), G = V.filter((e) => e.date > U && e.status === "scheduled").sort((e, t) => e.date.localeCompare(t.date)).slice(0, 5), K = V.filter((e) => e.status === "published").length, q = V.filter((e) => e.status === "scheduled").length, J = V.filter((e) => e.status === "draft").length, Y = new Date(T);
|
|
50
|
+
Y.setDate(Y.getDate() - Y.getDay());
|
|
51
|
+
let X = [];
|
|
52
|
+
for (let e = 0; e < M; e++) X.push(null);
|
|
53
|
+
for (let e = 1; e <= j; e++) X.push(e);
|
|
54
|
+
for (; X.length % 7 != 0;) X.push(null);
|
|
55
|
+
return /* @__PURE__ */ h(r, {
|
|
56
|
+
title: "Content Calendar",
|
|
57
|
+
description: "Plan and visualize your content schedule",
|
|
58
|
+
actions: /* @__PURE__ */ h("button", {
|
|
59
|
+
onClick: () => x("/social-media/compose"),
|
|
60
|
+
className: "inline-flex items-center gap-2 rounded-md bg-foreground px-4 py-2 text-sm font-medium text-background hover:bg-foreground/90",
|
|
61
|
+
children: "+ New Post"
|
|
62
|
+
}),
|
|
63
|
+
children: /* @__PURE__ */ g("div", {
|
|
64
|
+
className: "grid grid-cols-1 gap-6 lg:grid-cols-4",
|
|
65
|
+
children: [/* @__PURE__ */ g("div", {
|
|
66
|
+
className: "lg:col-span-3 space-y-4",
|
|
67
|
+
children: [
|
|
68
|
+
/* @__PURE__ */ g("div", {
|
|
69
|
+
className: "flex items-center justify-between",
|
|
70
|
+
children: [/* @__PURE__ */ g("div", {
|
|
71
|
+
className: "flex items-center gap-2",
|
|
72
|
+
children: [
|
|
73
|
+
/* @__PURE__ */ h("button", {
|
|
74
|
+
onClick: () => C === "month" ? P(-1) : F(-1),
|
|
75
|
+
className: "rounded-md border border-border p-2 text-muted-foreground hover:text-foreground hover:bg-muted",
|
|
76
|
+
children: /* @__PURE__ */ h(d, { className: "h-4 w-4" })
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ h("h2", {
|
|
79
|
+
className: "text-lg font-semibold text-foreground min-w-[180px] text-center",
|
|
80
|
+
children: N
|
|
81
|
+
}),
|
|
82
|
+
/* @__PURE__ */ h("button", {
|
|
83
|
+
onClick: () => C === "month" ? P(1) : F(1),
|
|
84
|
+
className: "rounded-md border border-border p-2 text-muted-foreground hover:text-foreground hover:bg-muted",
|
|
85
|
+
children: /* @__PURE__ */ h(f, { className: "h-4 w-4" })
|
|
86
|
+
})
|
|
87
|
+
]
|
|
88
|
+
}), /* @__PURE__ */ g("div", {
|
|
89
|
+
className: "flex items-center gap-2",
|
|
90
|
+
children: [/* @__PURE__ */ g("select", {
|
|
91
|
+
value: D,
|
|
92
|
+
onChange: (e) => O(e.target.value),
|
|
93
|
+
className: "rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground",
|
|
94
|
+
children: [
|
|
95
|
+
/* @__PURE__ */ h("option", {
|
|
96
|
+
value: "all",
|
|
97
|
+
children: "All Platforms"
|
|
98
|
+
}),
|
|
99
|
+
/* @__PURE__ */ h("option", {
|
|
100
|
+
value: "instagram",
|
|
101
|
+
children: "Instagram"
|
|
102
|
+
}),
|
|
103
|
+
/* @__PURE__ */ h("option", {
|
|
104
|
+
value: "facebook",
|
|
105
|
+
children: "Facebook"
|
|
106
|
+
}),
|
|
107
|
+
/* @__PURE__ */ h("option", {
|
|
108
|
+
value: "twitter",
|
|
109
|
+
children: "Twitter"
|
|
110
|
+
}),
|
|
111
|
+
/* @__PURE__ */ h("option", {
|
|
112
|
+
value: "linkedin",
|
|
113
|
+
children: "LinkedIn"
|
|
114
|
+
}),
|
|
115
|
+
/* @__PURE__ */ h("option", {
|
|
116
|
+
value: "youtube",
|
|
117
|
+
children: "YouTube"
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ h("option", {
|
|
120
|
+
value: "tiktok",
|
|
121
|
+
children: "TikTok"
|
|
122
|
+
})
|
|
123
|
+
]
|
|
124
|
+
}), /* @__PURE__ */ g("div", {
|
|
125
|
+
className: "flex rounded-md border border-border",
|
|
126
|
+
children: [/* @__PURE__ */ h("button", {
|
|
127
|
+
onClick: () => w("month"),
|
|
128
|
+
className: n("px-3 py-2 text-sm", C === "month" ? "bg-foreground text-background" : "text-muted-foreground hover:text-foreground"),
|
|
129
|
+
children: "Month"
|
|
130
|
+
}), /* @__PURE__ */ h("button", {
|
|
131
|
+
onClick: () => w("week"),
|
|
132
|
+
className: n("px-3 py-2 text-sm", C === "week" ? "bg-foreground text-background" : "text-muted-foreground hover:text-foreground"),
|
|
133
|
+
children: "Week"
|
|
134
|
+
})]
|
|
135
|
+
})]
|
|
136
|
+
})]
|
|
137
|
+
}),
|
|
138
|
+
C === "month" && /* @__PURE__ */ h("div", {
|
|
139
|
+
className: "rounded-lg border border-border bg-card overflow-hidden",
|
|
140
|
+
children: /* @__PURE__ */ g("div", {
|
|
141
|
+
className: "grid grid-cols-7",
|
|
142
|
+
children: [v.map((e) => /* @__PURE__ */ h("div", {
|
|
143
|
+
className: "border-b border-r border-border px-2 py-2 text-center text-xs font-medium text-muted-foreground",
|
|
144
|
+
children: e
|
|
145
|
+
}, e)), X.map((e, t) => {
|
|
146
|
+
let r = e ? `${k}-${String(A + 1).padStart(2, "0")}-${String(e).padStart(2, "0")}` : "", i = e ? H(r) : [], a = r === U;
|
|
147
|
+
return /* @__PURE__ */ h("div", {
|
|
148
|
+
className: n("min-h-[80px] border-b border-r border-border p-1", !e && "bg-muted/30", a && "bg-blue-50/50"),
|
|
149
|
+
children: e && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h("span", {
|
|
150
|
+
className: n("text-xs font-medium", a ? "text-blue-600 font-bold" : "text-muted-foreground"),
|
|
151
|
+
children: e
|
|
152
|
+
}), /* @__PURE__ */ g("div", {
|
|
153
|
+
className: "mt-0.5 space-y-0.5",
|
|
154
|
+
children: [i.slice(0, 3).map((e) => /* @__PURE__ */ h("div", {
|
|
155
|
+
className: n("rounded px-1 py-0.5 text-[10px] text-white truncate", _[e.platform]),
|
|
156
|
+
children: e.title
|
|
157
|
+
}, e.id)), i.length > 3 && /* @__PURE__ */ g("span", {
|
|
158
|
+
className: "text-[10px] text-muted-foreground",
|
|
159
|
+
children: [
|
|
160
|
+
"+",
|
|
161
|
+
i.length - 3,
|
|
162
|
+
" more"
|
|
163
|
+
]
|
|
164
|
+
})]
|
|
165
|
+
})] })
|
|
166
|
+
}, t);
|
|
167
|
+
})]
|
|
168
|
+
})
|
|
169
|
+
}),
|
|
170
|
+
C === "week" && /* @__PURE__ */ h("div", {
|
|
171
|
+
className: "rounded-lg border border-border bg-card overflow-hidden",
|
|
172
|
+
children: /* @__PURE__ */ h("div", {
|
|
173
|
+
className: "grid grid-cols-7",
|
|
174
|
+
children: Array.from({ length: 7 }).map((e, t) => {
|
|
175
|
+
let r = new Date(Y);
|
|
176
|
+
r.setDate(r.getDate() + t);
|
|
177
|
+
let i = r.toISOString().split("T")[0], a = H(i), o = i === U;
|
|
178
|
+
return /* @__PURE__ */ g("div", {
|
|
179
|
+
className: n("border-r border-border p-3 min-h-[200px]", o && "bg-blue-50/50"),
|
|
180
|
+
children: [/* @__PURE__ */ g("div", {
|
|
181
|
+
className: "text-center mb-2",
|
|
182
|
+
children: [/* @__PURE__ */ h("div", {
|
|
183
|
+
className: "text-xs text-muted-foreground",
|
|
184
|
+
children: v[t]
|
|
185
|
+
}), /* @__PURE__ */ h("div", {
|
|
186
|
+
className: n("text-sm font-medium", o ? "text-blue-600" : "text-foreground"),
|
|
187
|
+
children: r.getDate()
|
|
188
|
+
})]
|
|
189
|
+
}), /* @__PURE__ */ h("div", {
|
|
190
|
+
className: "space-y-1",
|
|
191
|
+
children: a.map((e) => /* @__PURE__ */ g("div", {
|
|
192
|
+
className: n("rounded px-2 py-1 text-xs text-white", _[e.platform]),
|
|
193
|
+
children: [/* @__PURE__ */ h("div", {
|
|
194
|
+
className: "font-medium truncate",
|
|
195
|
+
children: e.title
|
|
196
|
+
}), /* @__PURE__ */ h("div", {
|
|
197
|
+
className: "text-[10px] opacity-80 capitalize",
|
|
198
|
+
children: e.status
|
|
199
|
+
})]
|
|
200
|
+
}, e.id))
|
|
201
|
+
})]
|
|
202
|
+
}, t);
|
|
203
|
+
})
|
|
204
|
+
})
|
|
205
|
+
})
|
|
206
|
+
]
|
|
207
|
+
}), /* @__PURE__ */ g("div", {
|
|
208
|
+
className: "space-y-4",
|
|
209
|
+
children: [
|
|
210
|
+
/* @__PURE__ */ g("div", {
|
|
211
|
+
className: "rounded-lg border border-border bg-card p-4",
|
|
212
|
+
children: [/* @__PURE__ */ g("h3", {
|
|
213
|
+
className: "text-sm font-semibold text-foreground mb-3 flex items-center gap-2",
|
|
214
|
+
children: [/* @__PURE__ */ h(u, { className: "h-4 w-4" }), "Today"]
|
|
215
|
+
}), W.length > 0 ? /* @__PURE__ */ h("div", {
|
|
216
|
+
className: "space-y-2",
|
|
217
|
+
children: W.map((e) => /* @__PURE__ */ g("div", {
|
|
218
|
+
className: "flex items-center gap-2 text-sm",
|
|
219
|
+
children: [/* @__PURE__ */ h("span", { className: n("h-2 w-2 rounded-full", _[e.platform]) }), /* @__PURE__ */ h("span", {
|
|
220
|
+
className: "text-foreground",
|
|
221
|
+
children: e.title
|
|
222
|
+
})]
|
|
223
|
+
}, e.id))
|
|
224
|
+
}) : /* @__PURE__ */ h("p", {
|
|
225
|
+
className: "text-sm text-muted-foreground",
|
|
226
|
+
children: "No posts scheduled for today"
|
|
227
|
+
})]
|
|
228
|
+
}),
|
|
229
|
+
/* @__PURE__ */ g("div", {
|
|
230
|
+
className: "rounded-lg border border-border bg-card p-4",
|
|
231
|
+
children: [/* @__PURE__ */ g("h3", {
|
|
232
|
+
className: "text-sm font-semibold text-foreground mb-3 flex items-center gap-2",
|
|
233
|
+
children: [/* @__PURE__ */ h(p, { className: "h-4 w-4" }), "Upcoming Queue"]
|
|
234
|
+
}), /* @__PURE__ */ h("div", {
|
|
235
|
+
className: "space-y-2",
|
|
236
|
+
children: G.map((e) => /* @__PURE__ */ g("div", {
|
|
237
|
+
className: "flex items-center justify-between text-sm",
|
|
238
|
+
children: [/* @__PURE__ */ g("div", {
|
|
239
|
+
className: "flex items-center gap-2",
|
|
240
|
+
children: [/* @__PURE__ */ h("span", { className: n("h-2 w-2 rounded-full", _[e.platform]) }), /* @__PURE__ */ h("span", {
|
|
241
|
+
className: "text-foreground truncate",
|
|
242
|
+
children: e.title
|
|
243
|
+
})]
|
|
244
|
+
}), /* @__PURE__ */ h("span", {
|
|
245
|
+
className: "text-xs text-muted-foreground whitespace-nowrap ml-2",
|
|
246
|
+
children: new Date(e.date).toLocaleDateString("en-US", {
|
|
247
|
+
month: "short",
|
|
248
|
+
day: "numeric"
|
|
249
|
+
})
|
|
250
|
+
})]
|
|
251
|
+
}, e.id))
|
|
252
|
+
})]
|
|
253
|
+
}),
|
|
254
|
+
/* @__PURE__ */ g("div", {
|
|
255
|
+
className: "rounded-lg border border-border bg-card p-4",
|
|
256
|
+
children: [/* @__PURE__ */ g("h3", {
|
|
257
|
+
className: "text-sm font-semibold text-foreground mb-3 flex items-center gap-2",
|
|
258
|
+
children: [/* @__PURE__ */ h(l, { className: "h-4 w-4" }), "This Month"]
|
|
259
|
+
}), /* @__PURE__ */ g("div", {
|
|
260
|
+
className: "space-y-2",
|
|
261
|
+
children: [
|
|
262
|
+
/* @__PURE__ */ g("div", {
|
|
263
|
+
className: "flex items-center justify-between text-sm",
|
|
264
|
+
children: [/* @__PURE__ */ h("span", {
|
|
265
|
+
className: "text-muted-foreground",
|
|
266
|
+
children: "Published"
|
|
267
|
+
}), /* @__PURE__ */ h("span", {
|
|
268
|
+
className: "font-medium text-green-600",
|
|
269
|
+
children: K
|
|
270
|
+
})]
|
|
271
|
+
}),
|
|
272
|
+
/* @__PURE__ */ g("div", {
|
|
273
|
+
className: "flex items-center justify-between text-sm",
|
|
274
|
+
children: [/* @__PURE__ */ h("span", {
|
|
275
|
+
className: "text-muted-foreground",
|
|
276
|
+
children: "Scheduled"
|
|
277
|
+
}), /* @__PURE__ */ h("span", {
|
|
278
|
+
className: "font-medium text-purple-600",
|
|
279
|
+
children: q
|
|
280
|
+
})]
|
|
281
|
+
}),
|
|
282
|
+
/* @__PURE__ */ g("div", {
|
|
283
|
+
className: "flex items-center justify-between text-sm",
|
|
284
|
+
children: [/* @__PURE__ */ h("span", {
|
|
285
|
+
className: "text-muted-foreground",
|
|
286
|
+
children: "Drafts"
|
|
287
|
+
}), /* @__PURE__ */ h("span", {
|
|
288
|
+
className: "font-medium text-gray-600",
|
|
289
|
+
children: J
|
|
290
|
+
})]
|
|
291
|
+
})
|
|
292
|
+
]
|
|
293
|
+
})]
|
|
294
|
+
})
|
|
295
|
+
]
|
|
296
|
+
})]
|
|
297
|
+
})
|
|
298
|
+
});
|
|
299
|
+
};
|
|
300
|
+
//#endregion
|
|
301
|
+
export { x as ContentCalendarPage };
|
|
302
|
+
|
|
303
|
+
//# sourceMappingURL=ContentCalendarPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentCalendarPage.js","names":[],"sources":["../../../../src/headshotmarketing/pages/social-media/ContentCalendarPage.tsx"],"sourcesContent":["import { useState, useMemo, type FC } from \"react\";\nimport {\n ChevronLeft,\n ChevronRight,\n CalendarDays,\n Clock,\n BarChart3,\n} from \"lucide-react\";\nimport { useHeadshotmarketingBootstrapDataQuery } from \"../../../generated/wspace-operations\";\nimport { cn } from \"../../utils/helpers\";\nimport {\n toCalendarPosts,\n toSocialAccountModel,\n toSocialPostModel,\n} from \"../../utils/socialMapper\";\nimport { PageLayout } from \"../../components\";\nimport { useHeadshotMarketing } from \"../../context/HeadshotMarketingContext\";\nimport type { SocialMediaAccount, SocialMediaPost } from \"../../types\";\n\nconst CHART_COLORS = [\n \"#3b82f6\",\n \"#10b981\",\n \"#f59e0b\",\n \"#ef4444\",\n \"#8b5cf6\",\n \"#ec4899\",\n];\n\nconst platformColors: Record<string, string> = {\n instagram: \"bg-pink-500\",\n facebook: \"bg-blue-600\",\n twitter: \"bg-sky-500\",\n linkedin: \"bg-indigo-600\",\n youtube: \"bg-red-600\",\n tiktok: \"bg-gray-700\",\n};\n\nconst platformTextColors: Record<string, string> = {\n instagram: \"text-pink-600\",\n facebook: \"text-blue-600\",\n twitter: \"text-sky-600\",\n linkedin: \"text-indigo-600\",\n youtube: \"text-red-600\",\n tiktok: \"text-gray-600\",\n};\n\ntype ViewMode = \"month\" | \"week\";\n\nconst DAYS = [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"];\n\nfunction getDaysInMonth(year: number, month: number) {\n return new Date(year, month + 1, 0).getDate();\n}\n\nfunction getFirstDayOfMonth(year: number, month: number) {\n return new Date(year, month, 1).getDay();\n}\n\nexport const ContentCalendarPage: FC = () => {\n const { navigate } = useHeadshotMarketing();\n const { data } = useHeadshotmarketingBootstrapDataQuery({\n variables: { limit: 200, offset: 0 },\n });\n const [viewMode, setViewMode] = useState<ViewMode>(\"month\");\n const [currentDate, setCurrentDate] = useState(new Date(2026, 1, 10));\n const [platformFilter, setPlatformFilter] = useState<string>(\"all\");\n\n const year = currentDate.getFullYear();\n const month = currentDate.getMonth();\n const daysInMonth = getDaysInMonth(year, month);\n const firstDay = getFirstDayOfMonth(year, month);\n\n const monthName = currentDate.toLocaleDateString(\"en-US\", {\n month: \"long\",\n year: \"numeric\",\n });\n\n const navigateMonth = (direction: number) => {\n setCurrentDate(new Date(year, month + direction, 1));\n };\n\n const navigateWeek = (direction: number) => {\n const d = new Date(currentDate);\n d.setDate(d.getDate() + direction * 7);\n setCurrentDate(d);\n };\n\n const socialAccounts = useMemo<SocialMediaAccount[]>(() => {\n const items = data?.headshotmarketingSocialAccounts.items ?? [];\n return items.map((item: Parameters<typeof toSocialAccountModel>[0]) =>\n toSocialAccountModel(item),\n );\n }, [data?.headshotmarketingSocialAccounts.items]);\n\n const accountNameById = useMemo(\n () =>\n Object.fromEntries(\n (data?.headshotmarketingSocialAccounts.items ?? []).map(\n (item: { id: string; accountName: string }) => [\n item.id,\n item.accountName,\n ],\n ),\n ),\n [data?.headshotmarketingSocialAccounts.items],\n );\n\n const accountPlatformById = useMemo(\n () =>\n Object.fromEntries(\n socialAccounts.map((item) => [item.id, item.platform]),\n ),\n [socialAccounts],\n );\n\n const socialPosts = useMemo<SocialMediaPost[]>(() => {\n const items = data?.headshotmarketingSocialPosts.items ?? [];\n return items.map((item: Parameters<typeof toSocialPostModel>[0]) =>\n toSocialPostModel(item, accountNameById, accountPlatformById),\n );\n }, [\n data?.headshotmarketingSocialPosts.items,\n accountNameById,\n accountPlatformById,\n ]);\n\n const calendarPosts = useMemo(\n () => toCalendarPosts(socialPosts),\n [socialPosts],\n );\n\n const filteredPosts = useMemo(() => {\n if (platformFilter === \"all\") return calendarPosts;\n return calendarPosts.filter((p) => p.platform === platformFilter);\n }, [platformFilter, calendarPosts]);\n\n const getPostsForDate = (dateStr: string) =>\n filteredPosts.filter((p) => p.date === dateStr);\n\n const todayStr = \"2026-02-10\";\n const todayPosts = filteredPosts.filter((p) => p.date === todayStr);\n const upcomingPosts = filteredPosts\n .filter((p) => p.date > todayStr && p.status === \"scheduled\")\n .sort((a, b) => a.date.localeCompare(b.date))\n .slice(0, 5);\n\n const publishedCount = filteredPosts.filter(\n (p) => p.status === \"published\",\n ).length;\n const scheduledCount = filteredPosts.filter(\n (p) => p.status === \"scheduled\",\n ).length;\n const draftCount = filteredPosts.filter((p) => p.status === \"draft\").length;\n\n // Week view range\n const weekStart = new Date(currentDate);\n weekStart.setDate(weekStart.getDate() - weekStart.getDay());\n\n const calendarCells: (number | null)[] = [];\n for (let i = 0; i < firstDay; i++) calendarCells.push(null);\n for (let d = 1; d <= daysInMonth; d++) calendarCells.push(d);\n while (calendarCells.length % 7 !== 0) calendarCells.push(null);\n\n return (\n <PageLayout\n title=\"Content Calendar\"\n description=\"Plan and visualize your content schedule\"\n actions={\n <button\n onClick={() => navigate(\"/social-media/compose\")}\n className=\"inline-flex items-center gap-2 rounded-md bg-foreground px-4 py-2 text-sm font-medium text-background hover:bg-foreground/90\"\n >\n + New Post\n </button>\n }\n >\n <div className=\"grid grid-cols-1 gap-6 lg:grid-cols-4\">\n {/* Calendar - Main area */}\n <div className=\"lg:col-span-3 space-y-4\">\n {/* Controls */}\n <div className=\"flex items-center justify-between\">\n <div className=\"flex items-center gap-2\">\n <button\n onClick={() =>\n viewMode === \"month\" ? navigateMonth(-1) : navigateWeek(-1)\n }\n className=\"rounded-md border border-border p-2 text-muted-foreground hover:text-foreground hover:bg-muted\"\n >\n <ChevronLeft className=\"h-4 w-4\" />\n </button>\n <h2 className=\"text-lg font-semibold text-foreground min-w-[180px] text-center\">\n {monthName}\n </h2>\n <button\n onClick={() =>\n viewMode === \"month\" ? navigateMonth(1) : navigateWeek(1)\n }\n className=\"rounded-md border border-border p-2 text-muted-foreground hover:text-foreground hover:bg-muted\"\n >\n <ChevronRight className=\"h-4 w-4\" />\n </button>\n </div>\n <div className=\"flex items-center gap-2\">\n <select\n value={platformFilter}\n onChange={(e) => setPlatformFilter(e.target.value)}\n className=\"rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground\"\n >\n <option value=\"all\">All Platforms</option>\n <option value=\"instagram\">Instagram</option>\n <option value=\"facebook\">Facebook</option>\n <option value=\"twitter\">Twitter</option>\n <option value=\"linkedin\">LinkedIn</option>\n <option value=\"youtube\">YouTube</option>\n <option value=\"tiktok\">TikTok</option>\n </select>\n <div className=\"flex rounded-md border border-border\">\n <button\n onClick={() => setViewMode(\"month\")}\n className={cn(\n \"px-3 py-2 text-sm\",\n viewMode === \"month\"\n ? \"bg-foreground text-background\"\n : \"text-muted-foreground hover:text-foreground\",\n )}\n >\n Month\n </button>\n <button\n onClick={() => setViewMode(\"week\")}\n className={cn(\n \"px-3 py-2 text-sm\",\n viewMode === \"week\"\n ? \"bg-foreground text-background\"\n : \"text-muted-foreground hover:text-foreground\",\n )}\n >\n Week\n </button>\n </div>\n </div>\n </div>\n\n {/* Month Grid */}\n {viewMode === \"month\" && (\n <div className=\"rounded-lg border border-border bg-card overflow-hidden\">\n <div className=\"grid grid-cols-7\">\n {DAYS.map((d) => (\n <div\n key={d}\n className=\"border-b border-r border-border px-2 py-2 text-center text-xs font-medium text-muted-foreground\"\n >\n {d}\n </div>\n ))}\n {calendarCells.map((day, idx) => {\n const dateStr = day\n ? `${year}-${String(month + 1).padStart(2, \"0\")}-${String(day).padStart(2, \"0\")}`\n : \"\";\n const dayPosts = day ? getPostsForDate(dateStr) : [];\n const isToday = dateStr === todayStr;\n return (\n <div\n key={idx}\n className={cn(\n \"min-h-[80px] border-b border-r border-border p-1\",\n !day && \"bg-muted/30\",\n isToday && \"bg-blue-50/50\",\n )}\n >\n {day && (\n <>\n <span\n className={cn(\n \"text-xs font-medium\",\n isToday\n ? \"text-blue-600 font-bold\"\n : \"text-muted-foreground\",\n )}\n >\n {day}\n </span>\n <div className=\"mt-0.5 space-y-0.5\">\n {dayPosts.slice(0, 3).map((post) => (\n <div\n key={post.id}\n className={cn(\n \"rounded px-1 py-0.5 text-[10px] text-white truncate\",\n platformColors[post.platform],\n )}\n >\n {post.title}\n </div>\n ))}\n {dayPosts.length > 3 && (\n <span className=\"text-[10px] text-muted-foreground\">\n +{dayPosts.length - 3} more\n </span>\n )}\n </div>\n </>\n )}\n </div>\n );\n })}\n </div>\n </div>\n )}\n\n {/* Week View */}\n {viewMode === \"week\" && (\n <div className=\"rounded-lg border border-border bg-card overflow-hidden\">\n <div className=\"grid grid-cols-7\">\n {Array.from({ length: 7 }).map((_, i) => {\n const d = new Date(weekStart);\n d.setDate(d.getDate() + i);\n const dateStr = d.toISOString().split(\"T\")[0];\n const dayPosts = getPostsForDate(dateStr);\n const isToday = dateStr === todayStr;\n return (\n <div\n key={i}\n className={cn(\n \"border-r border-border p-3 min-h-[200px]\",\n isToday && \"bg-blue-50/50\",\n )}\n >\n <div className=\"text-center mb-2\">\n <div className=\"text-xs text-muted-foreground\">\n {DAYS[i]}\n </div>\n <div\n className={cn(\n \"text-sm font-medium\",\n isToday ? \"text-blue-600\" : \"text-foreground\",\n )}\n >\n {d.getDate()}\n </div>\n </div>\n <div className=\"space-y-1\">\n {dayPosts.map((post) => (\n <div\n key={post.id}\n className={cn(\n \"rounded px-2 py-1 text-xs text-white\",\n platformColors[post.platform],\n )}\n >\n <div className=\"font-medium truncate\">\n {post.title}\n </div>\n <div className=\"text-[10px] opacity-80 capitalize\">\n {post.status}\n </div>\n </div>\n ))}\n </div>\n </div>\n );\n })}\n </div>\n </div>\n )}\n </div>\n\n {/* Sidebar */}\n <div className=\"space-y-4\">\n {/* Today's Posts */}\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <h3 className=\"text-sm font-semibold text-foreground mb-3 flex items-center gap-2\">\n <CalendarDays className=\"h-4 w-4\" />\n Today\n </h3>\n {todayPosts.length > 0 ? (\n <div className=\"space-y-2\">\n {todayPosts.map((p) => (\n <div key={p.id} className=\"flex items-center gap-2 text-sm\">\n <span\n className={cn(\n \"h-2 w-2 rounded-full\",\n platformColors[p.platform],\n )}\n />\n <span className=\"text-foreground\">{p.title}</span>\n </div>\n ))}\n </div>\n ) : (\n <p className=\"text-sm text-muted-foreground\">\n No posts scheduled for today\n </p>\n )}\n </div>\n\n {/* Upcoming Queue */}\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <h3 className=\"text-sm font-semibold text-foreground mb-3 flex items-center gap-2\">\n <Clock className=\"h-4 w-4\" />\n Upcoming Queue\n </h3>\n <div className=\"space-y-2\">\n {upcomingPosts.map((p) => (\n <div\n key={p.id}\n className=\"flex items-center justify-between text-sm\"\n >\n <div className=\"flex items-center gap-2\">\n <span\n className={cn(\n \"h-2 w-2 rounded-full\",\n platformColors[p.platform],\n )}\n />\n <span className=\"text-foreground truncate\">{p.title}</span>\n </div>\n <span className=\"text-xs text-muted-foreground whitespace-nowrap ml-2\">\n {new Date(p.date).toLocaleDateString(\"en-US\", {\n month: \"short\",\n day: \"numeric\",\n })}\n </span>\n </div>\n ))}\n </div>\n </div>\n\n {/* Quick Stats */}\n <div className=\"rounded-lg border border-border bg-card p-4\">\n <h3 className=\"text-sm font-semibold text-foreground mb-3 flex items-center gap-2\">\n <BarChart3 className=\"h-4 w-4\" />\n This Month\n </h3>\n <div className=\"space-y-2\">\n <div className=\"flex items-center justify-between text-sm\">\n <span className=\"text-muted-foreground\">Published</span>\n <span className=\"font-medium text-green-600\">\n {publishedCount}\n </span>\n </div>\n <div className=\"flex items-center justify-between text-sm\">\n <span className=\"text-muted-foreground\">Scheduled</span>\n <span className=\"font-medium text-purple-600\">\n {scheduledCount}\n </span>\n </div>\n <div className=\"flex items-center justify-between text-sm\">\n <span className=\"text-muted-foreground\">Drafts</span>\n <span className=\"font-medium text-gray-600\">{draftCount}</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;AA4BA,IAAM,IAAyC;CAC7C,WAAW;CACX,UAAU;CACV,SAAS;CACT,UAAU;CACV,SAAS;CACT,QAAQ;CACT,EAaK,IAAO;CAAC;CAAO;CAAO;CAAO;CAAO;CAAO;CAAO;CAAM;AAE9D,SAAS,EAAe,GAAc,GAAe;AACnD,QAAO,IAAI,KAAK,GAAM,IAAQ,GAAG,EAAE,CAAC,SAAS;;AAG/C,SAAS,EAAmB,GAAc,GAAe;AACvD,QAAO,IAAI,KAAK,GAAM,GAAO,EAAE,CAAC,QAAQ;;AAG1C,IAAa,UAAgC;CAC3C,IAAM,EAAE,gBAAa,GAAsB,EACrC,EAAE,YAAS,EAAuC,EACtD,WAAW;EAAE,OAAO;EAAK,QAAQ;EAAG,EACrC,CAAC,EACI,CAAC,GAAU,KAAe,EAAmB,QAAQ,EACrD,CAAC,GAAa,KAAkB,EAAS,IAAI,KAAK,MAAM,GAAG,GAAG,CAAC,EAC/D,CAAC,GAAgB,KAAqB,EAAiB,MAAM,EAE7D,IAAO,EAAY,aAAa,EAChC,IAAQ,EAAY,UAAU,EAC9B,IAAc,EAAe,GAAM,EAAM,EACzC,IAAW,EAAmB,GAAM,EAAM,EAE1C,IAAY,EAAY,mBAAmB,SAAS;EACxD,OAAO;EACP,MAAM;EACP,CAAC,EAEI,KAAiB,MAAsB;AAC3C,IAAe,IAAI,KAAK,GAAM,IAAQ,GAAW,EAAE,C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AAC,OAAD;SAAK,WAAU;mBAAf,CACE,kBAAC,QAAD;UAAM,WAAU;oBAAwB;UAAgB,CAAA,EACxD,kBAAC,QAAD;UAAM,WAAU;oBACb;UACI,CAAA,CACH;;QACN,kBAAC,OAAD;SAAK,WAAU;mBAAf,CACE,kBAAC,QAAD;UAAM,WAAU;oBAAwB;UAAa,CAAA,EACrD,kBAAC,QAAD;UAAM,WAAU;oBAA6B;UAAkB,CAAA,CAC3D;;QACF;SACF;;KACF;MACF;;EACK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostsPage.d.ts","sourceRoot":"","sources":["../../../../src/headshotmarketing/pages/social-media/PostsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAoDnD,eAAO,MAAM,SAAS,EAAE,EAuXvB,CAAC"}
|