@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,232 @@
|
|
|
1
|
+
import { useHeadshotMarketing as e } from "../../context/HeadshotMarketingContext.js";
|
|
2
|
+
import { HeadshotmarketingBootstrapDataDocument as t, useCreateHeadshotmarketingContactMutation as n } from "../../../generated/wspace-operations.js";
|
|
3
|
+
import { cn as r } from "../../utils/helpers.js";
|
|
4
|
+
import { PageLayout as i } from "../../components/PageLayout.js";
|
|
5
|
+
import "../../components/index.js";
|
|
6
|
+
import { HeadshotmarketingContactStatus as a } from "../../../generated/wspace-types.js";
|
|
7
|
+
import { useState as o } from "react";
|
|
8
|
+
import { ArrowLeft as s, Save as c, X as l } from "lucide-react";
|
|
9
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
10
|
+
//#region src/headshotmarketing/pages/crm/CreateContactPage.tsx
|
|
11
|
+
var f = () => {
|
|
12
|
+
let { navigate: f } = e(), [p, { loading: m, error: h }] = n(), [g, _] = o(null), [v, y] = o({
|
|
13
|
+
firstName: "",
|
|
14
|
+
lastName: "",
|
|
15
|
+
email: "",
|
|
16
|
+
phone: "",
|
|
17
|
+
company: "",
|
|
18
|
+
title: "",
|
|
19
|
+
status: "new",
|
|
20
|
+
tags: "",
|
|
21
|
+
notes: ""
|
|
22
|
+
}), b = (e, t) => {
|
|
23
|
+
y((n) => ({
|
|
24
|
+
...n,
|
|
25
|
+
[e]: t
|
|
26
|
+
}));
|
|
27
|
+
}, x = (e) => {
|
|
28
|
+
switch (e) {
|
|
29
|
+
case "unqualified": return a.Inactive;
|
|
30
|
+
default: return a.Active;
|
|
31
|
+
}
|
|
32
|
+
}, S = async () => {
|
|
33
|
+
if (!v.firstName.trim() || !v.lastName.trim()) {
|
|
34
|
+
_("First and last name are required.");
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
_(null);
|
|
38
|
+
let e = v.tags.split(",").map((e) => e.trim()).filter(Boolean), n = {
|
|
39
|
+
firstName: v.firstName,
|
|
40
|
+
lastName: v.lastName,
|
|
41
|
+
email: v.email || null,
|
|
42
|
+
phone: v.phone || null,
|
|
43
|
+
company: v.company || null,
|
|
44
|
+
jobTitle: v.title || null,
|
|
45
|
+
status: x(v.status),
|
|
46
|
+
tags: e,
|
|
47
|
+
customFields: {
|
|
48
|
+
lifecycleStatus: v.status,
|
|
49
|
+
notes: v.notes
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
try {
|
|
53
|
+
await p({
|
|
54
|
+
variables: { input: n },
|
|
55
|
+
refetchQueries: [{
|
|
56
|
+
query: t,
|
|
57
|
+
variables: {
|
|
58
|
+
limit: 200,
|
|
59
|
+
offset: 0
|
|
60
|
+
}
|
|
61
|
+
}],
|
|
62
|
+
awaitRefetchQueries: !0
|
|
63
|
+
}), f("crm/contacts");
|
|
64
|
+
} catch (e) {
|
|
65
|
+
_(e instanceof Error ? e.message : "Failed to create contact.");
|
|
66
|
+
}
|
|
67
|
+
}, C = g ?? h?.message ?? null, w = "w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring";
|
|
68
|
+
return /* @__PURE__ */ u(i, {
|
|
69
|
+
title: "Create Contact",
|
|
70
|
+
description: "Add a new contact to your CRM",
|
|
71
|
+
actions: /* @__PURE__ */ d("button", {
|
|
72
|
+
onClick: () => f("crm/contacts"),
|
|
73
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border px-3 py-2 text-sm font-medium text-foreground hover:bg-muted",
|
|
74
|
+
children: [/* @__PURE__ */ u(s, { className: "h-4 w-4" }), "Back"]
|
|
75
|
+
}),
|
|
76
|
+
children: /* @__PURE__ */ u("div", {
|
|
77
|
+
className: "max-w-2xl",
|
|
78
|
+
children: /* @__PURE__ */ u("div", {
|
|
79
|
+
className: "rounded-lg border border-border bg-card p-6",
|
|
80
|
+
children: /* @__PURE__ */ d("div", {
|
|
81
|
+
className: "space-y-6",
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ d("div", {
|
|
84
|
+
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
85
|
+
children: [/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
|
|
86
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
87
|
+
children: "First Name"
|
|
88
|
+
}), /* @__PURE__ */ u("input", {
|
|
89
|
+
type: "text",
|
|
90
|
+
value: v.firstName,
|
|
91
|
+
onChange: (e) => b("firstName", e.target.value),
|
|
92
|
+
placeholder: "Enter first name",
|
|
93
|
+
className: w
|
|
94
|
+
})] }), /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
|
|
95
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
96
|
+
children: "Last Name"
|
|
97
|
+
}), /* @__PURE__ */ u("input", {
|
|
98
|
+
type: "text",
|
|
99
|
+
value: v.lastName,
|
|
100
|
+
onChange: (e) => b("lastName", e.target.value),
|
|
101
|
+
placeholder: "Enter last name",
|
|
102
|
+
className: w
|
|
103
|
+
})] })]
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ d("div", {
|
|
106
|
+
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
107
|
+
children: [/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
|
|
108
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
109
|
+
children: "Email"
|
|
110
|
+
}), /* @__PURE__ */ u("input", {
|
|
111
|
+
type: "email",
|
|
112
|
+
value: v.email,
|
|
113
|
+
onChange: (e) => b("email", e.target.value),
|
|
114
|
+
placeholder: "email@company.com",
|
|
115
|
+
className: w
|
|
116
|
+
})] }), /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
|
|
117
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
118
|
+
children: "Phone"
|
|
119
|
+
}), /* @__PURE__ */ u("input", {
|
|
120
|
+
type: "tel",
|
|
121
|
+
value: v.phone,
|
|
122
|
+
onChange: (e) => b("phone", e.target.value),
|
|
123
|
+
placeholder: "+1-555-0100",
|
|
124
|
+
className: w
|
|
125
|
+
})] })]
|
|
126
|
+
}),
|
|
127
|
+
/* @__PURE__ */ d("div", {
|
|
128
|
+
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
129
|
+
children: [/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
|
|
130
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
131
|
+
children: "Company"
|
|
132
|
+
}), /* @__PURE__ */ u("input", {
|
|
133
|
+
type: "text",
|
|
134
|
+
value: v.company,
|
|
135
|
+
onChange: (e) => b("company", e.target.value),
|
|
136
|
+
placeholder: "Company name",
|
|
137
|
+
className: w
|
|
138
|
+
})] }), /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
|
|
139
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
140
|
+
children: "Title"
|
|
141
|
+
}), /* @__PURE__ */ u("input", {
|
|
142
|
+
type: "text",
|
|
143
|
+
value: v.title,
|
|
144
|
+
onChange: (e) => b("title", e.target.value),
|
|
145
|
+
placeholder: "Job title",
|
|
146
|
+
className: w
|
|
147
|
+
})] })]
|
|
148
|
+
}),
|
|
149
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
|
|
150
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
151
|
+
children: "Status"
|
|
152
|
+
}), /* @__PURE__ */ d("select", {
|
|
153
|
+
value: v.status,
|
|
154
|
+
onChange: (e) => b("status", e.target.value),
|
|
155
|
+
className: w,
|
|
156
|
+
children: [
|
|
157
|
+
/* @__PURE__ */ u("option", {
|
|
158
|
+
value: "new",
|
|
159
|
+
children: "New"
|
|
160
|
+
}),
|
|
161
|
+
/* @__PURE__ */ u("option", {
|
|
162
|
+
value: "contacted",
|
|
163
|
+
children: "Contacted"
|
|
164
|
+
}),
|
|
165
|
+
/* @__PURE__ */ u("option", {
|
|
166
|
+
value: "qualified",
|
|
167
|
+
children: "Qualified"
|
|
168
|
+
}),
|
|
169
|
+
/* @__PURE__ */ u("option", {
|
|
170
|
+
value: "unqualified",
|
|
171
|
+
children: "Unqualified"
|
|
172
|
+
}),
|
|
173
|
+
/* @__PURE__ */ u("option", {
|
|
174
|
+
value: "converted",
|
|
175
|
+
children: "Converted"
|
|
176
|
+
})
|
|
177
|
+
]
|
|
178
|
+
})] }),
|
|
179
|
+
/* @__PURE__ */ d("div", { children: [
|
|
180
|
+
/* @__PURE__ */ u("label", {
|
|
181
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
182
|
+
children: "Tags"
|
|
183
|
+
}),
|
|
184
|
+
/* @__PURE__ */ u("input", {
|
|
185
|
+
type: "text",
|
|
186
|
+
value: v.tags,
|
|
187
|
+
onChange: (e) => b("tags", e.target.value),
|
|
188
|
+
placeholder: "Comma-separated tags (e.g. enterprise, tech)",
|
|
189
|
+
className: w
|
|
190
|
+
}),
|
|
191
|
+
/* @__PURE__ */ u("p", {
|
|
192
|
+
className: "text-xs text-muted-foreground mt-1",
|
|
193
|
+
children: "Separate tags with commas"
|
|
194
|
+
})
|
|
195
|
+
] }),
|
|
196
|
+
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("label", {
|
|
197
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
198
|
+
children: "Notes"
|
|
199
|
+
}), /* @__PURE__ */ u("textarea", {
|
|
200
|
+
value: v.notes,
|
|
201
|
+
onChange: (e) => b("notes", e.target.value),
|
|
202
|
+
placeholder: "Any additional notes about this contact...",
|
|
203
|
+
rows: 4,
|
|
204
|
+
className: r(w, "resize-none")
|
|
205
|
+
})] }),
|
|
206
|
+
C && /* @__PURE__ */ u("div", {
|
|
207
|
+
className: "rounded-lg border border-destructive/30 bg-destructive/10 px-4 py-3 text-sm text-destructive",
|
|
208
|
+
children: C
|
|
209
|
+
}),
|
|
210
|
+
/* @__PURE__ */ d("div", {
|
|
211
|
+
className: "flex items-center justify-end gap-3 pt-4 border-t border-border",
|
|
212
|
+
children: [/* @__PURE__ */ d("button", {
|
|
213
|
+
onClick: () => f("crm/contacts"),
|
|
214
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-muted",
|
|
215
|
+
children: [/* @__PURE__ */ u(l, { className: "h-4 w-4" }), "Cancel"]
|
|
216
|
+
}), /* @__PURE__ */ d("button", {
|
|
217
|
+
onClick: S,
|
|
218
|
+
disabled: m,
|
|
219
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-60",
|
|
220
|
+
children: [/* @__PURE__ */ u(c, { className: "h-4 w-4" }), m ? "Saving..." : "Save Contact"]
|
|
221
|
+
})]
|
|
222
|
+
})
|
|
223
|
+
]
|
|
224
|
+
})
|
|
225
|
+
})
|
|
226
|
+
})
|
|
227
|
+
});
|
|
228
|
+
};
|
|
229
|
+
//#endregion
|
|
230
|
+
export { f as CreateContactPage };
|
|
231
|
+
|
|
232
|
+
//# sourceMappingURL=CreateContactPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateContactPage.js","names":[],"sources":["../../../../src/headshotmarketing/pages/crm/CreateContactPage.tsx"],"sourcesContent":["/**\n * Create Contact Page\n * @module headshotmarketing/pages/crm\n */\n\nimport { useState, type FC } from \"react\";\nimport { ArrowLeft, Save, X } from \"lucide-react\";\nimport {\n HeadshotmarketingBootstrapDataDocument,\n useCreateHeadshotmarketingContactMutation,\n} from \"../../../generated/wspace-operations\";\nimport {\n HeadshotmarketingContactStatus as HeadshotmarketingContactStatusEnum,\n type CreateHeadshotmarketingContactInput,\n} from \"../../../generated/wspace-types\";\nimport { PageLayout } from \"../../components\";\nimport { cn } from \"../../utils/helpers\";\nimport { useHeadshotMarketing } from \"../../context/HeadshotMarketingContext\";\n\ninterface ContactForm {\n firstName: string;\n lastName: string;\n email: string;\n phone: string;\n company: string;\n title: string;\n status: string;\n tags: string;\n notes: string;\n}\n\nexport const CreateContactPage: FC = () => {\n const { navigate } = useHeadshotMarketing();\n const [createContact, { loading: createLoading, error: createError }] =\n useCreateHeadshotmarketingContactMutation();\n const [formError, setFormError] = useState<string | null>(null);\n const [form, setForm] = useState<ContactForm>({\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n phone: \"\",\n company: \"\",\n title: \"\",\n status: \"new\",\n tags: \"\",\n notes: \"\",\n });\n\n const updateField = (field: keyof ContactForm, value: string) => {\n setForm((prev) => ({ ...prev, [field]: value }));\n };\n\n const mapStatus = (value: string) => {\n switch (value) {\n case \"unqualified\":\n return HeadshotmarketingContactStatusEnum.Inactive;\n default:\n return HeadshotmarketingContactStatusEnum.Active;\n }\n };\n\n const handleSave = async (): Promise<void> => {\n if (!form.firstName.trim() || !form.lastName.trim()) {\n setFormError(\"First and last name are required.\");\n return;\n }\n\n setFormError(null);\n\n const tags = form.tags\n .split(\",\")\n .map((tag) => tag.trim())\n .filter(Boolean);\n\n const input: CreateHeadshotmarketingContactInput = {\n firstName: form.firstName,\n lastName: form.lastName,\n email: form.email || null,\n phone: form.phone || null,\n company: form.company || null,\n jobTitle: form.title || null,\n status: mapStatus(form.status),\n tags,\n customFields: {\n lifecycleStatus: form.status,\n notes: form.notes,\n },\n };\n\n try {\n await createContact({\n variables: { input },\n refetchQueries: [\n {\n query: HeadshotmarketingBootstrapDataDocument,\n variables: { limit: 200, offset: 0 },\n },\n ],\n awaitRefetchQueries: true,\n });\n\n navigate(\"crm/contacts\");\n } catch (error) {\n setFormError(\n error instanceof Error ? error.message : \"Failed to create contact.\",\n );\n }\n };\n\n const saveError = formError ?? createError?.message ?? null;\n\n const inputClass =\n \"w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\";\n\n return (\n <PageLayout\n title=\"Create Contact\"\n description=\"Add a new contact to your CRM\"\n actions={\n <button\n onClick={() => navigate(\"crm/contacts\")}\n className=\"inline-flex items-center gap-2 rounded-md border border-border px-3 py-2 text-sm font-medium text-foreground hover:bg-muted\"\n >\n <ArrowLeft className=\"h-4 w-4\" />\n Back\n </button>\n }\n >\n <div className=\"max-w-2xl\">\n <div className=\"rounded-lg border border-border bg-card p-6\">\n <div className=\"space-y-6\">\n {/* Name */}\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n First Name\n </label>\n <input\n type=\"text\"\n value={form.firstName}\n onChange={(e) => updateField(\"firstName\", e.target.value)}\n placeholder=\"Enter first name\"\n className={inputClass}\n />\n </div>\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Last Name\n </label>\n <input\n type=\"text\"\n value={form.lastName}\n onChange={(e) => updateField(\"lastName\", e.target.value)}\n placeholder=\"Enter last name\"\n className={inputClass}\n />\n </div>\n </div>\n\n {/* Email & Phone */}\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Email\n </label>\n <input\n type=\"email\"\n value={form.email}\n onChange={(e) => updateField(\"email\", e.target.value)}\n placeholder=\"email@company.com\"\n className={inputClass}\n />\n </div>\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Phone\n </label>\n <input\n type=\"tel\"\n value={form.phone}\n onChange={(e) => updateField(\"phone\", e.target.value)}\n placeholder=\"+1-555-0100\"\n className={inputClass}\n />\n </div>\n </div>\n\n {/* Company & Title */}\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Company\n </label>\n <input\n type=\"text\"\n value={form.company}\n onChange={(e) => updateField(\"company\", e.target.value)}\n placeholder=\"Company name\"\n className={inputClass}\n />\n </div>\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Title\n </label>\n <input\n type=\"text\"\n value={form.title}\n onChange={(e) => updateField(\"title\", e.target.value)}\n placeholder=\"Job title\"\n className={inputClass}\n />\n </div>\n </div>\n\n {/* Status */}\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Status\n </label>\n <select\n value={form.status}\n onChange={(e) => updateField(\"status\", e.target.value)}\n className={inputClass}\n >\n <option value=\"new\">New</option>\n <option value=\"contacted\">Contacted</option>\n <option value=\"qualified\">Qualified</option>\n <option value=\"unqualified\">Unqualified</option>\n <option value=\"converted\">Converted</option>\n </select>\n </div>\n\n {/* Tags */}\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Tags\n </label>\n <input\n type=\"text\"\n value={form.tags}\n onChange={(e) => updateField(\"tags\", e.target.value)}\n placeholder=\"Comma-separated tags (e.g. enterprise, tech)\"\n className={inputClass}\n />\n <p className=\"text-xs text-muted-foreground mt-1\">\n Separate tags with commas\n </p>\n </div>\n\n {/* Notes */}\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Notes\n </label>\n <textarea\n value={form.notes}\n onChange={(e) => updateField(\"notes\", e.target.value)}\n placeholder=\"Any additional notes about this contact...\"\n rows={4}\n className={cn(inputClass, \"resize-none\")}\n />\n </div>\n\n {saveError && (\n <div className=\"rounded-lg border border-destructive/30 bg-destructive/10 px-4 py-3 text-sm text-destructive\">\n {saveError}\n </div>\n )}\n\n {/* Actions */}\n <div className=\"flex items-center justify-end gap-3 pt-4 border-t border-border\">\n <button\n onClick={() => navigate(\"crm/contacts\")}\n className=\"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 >\n <X className=\"h-4 w-4\" />\n Cancel\n </button>\n <button\n onClick={handleSave}\n disabled={createLoading}\n className=\"inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-60\"\n >\n <Save className=\"h-4 w-4\" />\n {createLoading ? \"Saving...\" : \"Save Contact\"}\n </button>\n </div>\n </div>\n </div>\n </div>\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;AA+BA,IAAa,UAA8B;CACzC,IAAM,EAAE,gBAAa,GAAsB,EACrC,CAAC,GAAe,EAAE,SAAS,GAAe,OAAO,OACrD,GAA2C,EACvC,CAAC,GAAW,KAAgB,EAAwB,KAAK,EACzD,CAAC,GAAM,KAAW,EAAsB;EAC5C,WAAW;EACX,UAAU;EACV,OAAO;EACP,OAAO;EACP,SAAS;EACT,OAAO;EACP,QAAQ;EACR,MAAM;EACN,OAAO;EACR,CAAC,EAEI,KAAe,GAA0B,MAAkB;AAC/D,KAAS,OAAU;GAAE,GAAG;IAAO,IAAQ;GAAO,EAAE;IAG5C,KAAa,MAAkB;AACnC,UAAQ,GAAR;GACE,KAAK,cACH,QAAO,EAAmC;GAC5C,QACE,QAAO,EAAmC;;IAI1C,IAAa,YAA2B;AAC5C,MAA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AA,EAAA,SAElB;WACT,kBAAC,UAAD;QACE,SAAS;QACT,UAAU;QACV,WAAU;kBAHZ,CAKE,kBAAC,GAAD,EAAM,WAAU,WAAY,CAAA,EAC3B,IAAgB,cAAc,eACxB;UACL;;MACF;;IACF,CAAA;GACF,CAAA;EACK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateDealPage.d.ts","sourceRoot":"","sources":["../../../../src/headshotmarketing/pages/crm/CreateDealPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAwCrD,eAAO,MAAM,cAAc,EAAE,EAoV5B,CAAC"}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { useHeadshotMarketing as e } from "../../context/HeadshotMarketingContext.js";
|
|
2
|
+
import { HeadshotmarketingBootstrapDataDocument as t, useCreateHeadshotmarketingDealMutation as n, useHeadshotmarketingBootstrapDataQuery as r } from "../../../generated/wspace-operations.js";
|
|
3
|
+
import { cn as i } from "../../utils/helpers.js";
|
|
4
|
+
import { PageLayout as a } from "../../components/PageLayout.js";
|
|
5
|
+
import "../../components/index.js";
|
|
6
|
+
import { HeadshotmarketingDealStatus as o } from "../../../generated/wspace-types.js";
|
|
7
|
+
import { toContactModel as s } from "../../utils/crmMapper.js";
|
|
8
|
+
import { useEffect as c, useState as l } from "react";
|
|
9
|
+
import { ArrowLeft as u, Save as d, X as f } from "lucide-react";
|
|
10
|
+
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
11
|
+
//#region src/headshotmarketing/pages/crm/CreateDealPage.tsx
|
|
12
|
+
var h = () => {
|
|
13
|
+
let { navigate: h } = e(), { data: g } = r({ variables: {
|
|
14
|
+
limit: 200,
|
|
15
|
+
offset: 0
|
|
16
|
+
} }), [_, { loading: v, error: y }] = n(), [b, x] = l(null), [S, C] = l({
|
|
17
|
+
name: "",
|
|
18
|
+
value: "",
|
|
19
|
+
pipelineId: "",
|
|
20
|
+
stageId: "",
|
|
21
|
+
contactId: "",
|
|
22
|
+
company: "",
|
|
23
|
+
expectedCloseDate: "",
|
|
24
|
+
probability: "20",
|
|
25
|
+
description: ""
|
|
26
|
+
}), w = (e, t) => {
|
|
27
|
+
C((n) => ({
|
|
28
|
+
...n,
|
|
29
|
+
[e]: t
|
|
30
|
+
}));
|
|
31
|
+
}, T = "w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring", E = (g?.headshotmarketingContacts.items ?? []).map((e) => s(e)), D = g?.headshotmarketingPipelines.items ?? [], O = (D.find((e) => e.id === S.pipelineId) ?? D[0])?.stages ?? [];
|
|
32
|
+
c(() => {
|
|
33
|
+
D.length !== 0 && C((e) => {
|
|
34
|
+
let t = e.pipelineId || D[0].id, n = D.find((e) => e.id === t) ?? D[0], r = n.stages.some((t) => t.id === e.stageId) ? e.stageId : n.stages[0]?.id ?? "";
|
|
35
|
+
return t === e.pipelineId && r === e.stageId ? e : {
|
|
36
|
+
...e,
|
|
37
|
+
pipelineId: t,
|
|
38
|
+
stageId: r
|
|
39
|
+
};
|
|
40
|
+
});
|
|
41
|
+
}, [g?.headshotmarketingPipelines.items]);
|
|
42
|
+
let k = async () => {
|
|
43
|
+
if (!S.name.trim()) {
|
|
44
|
+
x("Deal name is required.");
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
if (!S.pipelineId || !S.stageId) {
|
|
48
|
+
x("Pipeline and stage are required.");
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
let e = Number(S.probability);
|
|
52
|
+
if (!Number.isFinite(e) || e < 0 || e > 100) {
|
|
53
|
+
x("Probability must be between 0 and 100.");
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
let n = S.value ? Number(S.value) : null;
|
|
57
|
+
if (S.value && (!Number.isFinite(Number(S.value)) || Number(S.value) < 0)) {
|
|
58
|
+
x("Deal value must be a valid non-negative number.");
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
x(null);
|
|
62
|
+
let r = {
|
|
63
|
+
title: S.name,
|
|
64
|
+
description: S.description || null,
|
|
65
|
+
value: n,
|
|
66
|
+
contactId: S.contactId || null,
|
|
67
|
+
pipelineId: S.pipelineId,
|
|
68
|
+
stageId: S.stageId,
|
|
69
|
+
expectedCloseDate: S.expectedCloseDate || null,
|
|
70
|
+
probability: Math.round(e),
|
|
71
|
+
status: o.Open,
|
|
72
|
+
customFields: { company: S.company }
|
|
73
|
+
};
|
|
74
|
+
try {
|
|
75
|
+
await _({
|
|
76
|
+
variables: { input: r },
|
|
77
|
+
refetchQueries: [{
|
|
78
|
+
query: t,
|
|
79
|
+
variables: {
|
|
80
|
+
limit: 200,
|
|
81
|
+
offset: 0
|
|
82
|
+
}
|
|
83
|
+
}],
|
|
84
|
+
awaitRefetchQueries: !0
|
|
85
|
+
}), h("crm/pipeline");
|
|
86
|
+
} catch (e) {
|
|
87
|
+
x(e instanceof Error ? e.message : "Failed to create deal.");
|
|
88
|
+
}
|
|
89
|
+
}, A = b ?? y?.message ?? null;
|
|
90
|
+
return /* @__PURE__ */ p(a, {
|
|
91
|
+
title: "Create Deal",
|
|
92
|
+
description: "Add a new deal to your pipeline",
|
|
93
|
+
actions: /* @__PURE__ */ m("button", {
|
|
94
|
+
onClick: () => h("crm/pipeline"),
|
|
95
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border px-3 py-2 text-sm font-medium text-foreground hover:bg-muted",
|
|
96
|
+
children: [/* @__PURE__ */ p(u, { className: "h-4 w-4" }), "Back"]
|
|
97
|
+
}),
|
|
98
|
+
children: /* @__PURE__ */ p("div", {
|
|
99
|
+
className: "max-w-2xl",
|
|
100
|
+
children: /* @__PURE__ */ p("div", {
|
|
101
|
+
className: "rounded-lg border border-border bg-card p-6",
|
|
102
|
+
children: /* @__PURE__ */ m("div", {
|
|
103
|
+
className: "space-y-6",
|
|
104
|
+
children: [
|
|
105
|
+
/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
106
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
107
|
+
children: "Deal Name"
|
|
108
|
+
}), /* @__PURE__ */ p("input", {
|
|
109
|
+
type: "text",
|
|
110
|
+
value: S.name,
|
|
111
|
+
onChange: (e) => w("name", e.target.value),
|
|
112
|
+
placeholder: "e.g. TechCorp Enterprise Plan",
|
|
113
|
+
className: T
|
|
114
|
+
})] }),
|
|
115
|
+
/* @__PURE__ */ m("div", {
|
|
116
|
+
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
117
|
+
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
118
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
119
|
+
children: "Deal Value ($)"
|
|
120
|
+
}), /* @__PURE__ */ p("input", {
|
|
121
|
+
type: "number",
|
|
122
|
+
value: S.value,
|
|
123
|
+
onChange: (e) => w("value", e.target.value),
|
|
124
|
+
placeholder: "0",
|
|
125
|
+
className: T
|
|
126
|
+
})] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
127
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
128
|
+
children: "Pipeline"
|
|
129
|
+
}), /* @__PURE__ */ m("select", {
|
|
130
|
+
value: S.pipelineId,
|
|
131
|
+
onChange: (e) => {
|
|
132
|
+
let t = e.target.value, n = D.find((e) => e.id === t);
|
|
133
|
+
C((e) => ({
|
|
134
|
+
...e,
|
|
135
|
+
pipelineId: t,
|
|
136
|
+
stageId: n?.stages[0]?.id ?? ""
|
|
137
|
+
}));
|
|
138
|
+
},
|
|
139
|
+
className: T,
|
|
140
|
+
children: [/* @__PURE__ */ p("option", {
|
|
141
|
+
value: "",
|
|
142
|
+
children: "Select a pipeline"
|
|
143
|
+
}), D.map((e) => /* @__PURE__ */ p("option", {
|
|
144
|
+
value: e.id,
|
|
145
|
+
children: e.name
|
|
146
|
+
}, e.id))]
|
|
147
|
+
})] })]
|
|
148
|
+
}),
|
|
149
|
+
/* @__PURE__ */ m("div", {
|
|
150
|
+
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
151
|
+
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
152
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
153
|
+
children: "Contact"
|
|
154
|
+
}), /* @__PURE__ */ m("select", {
|
|
155
|
+
value: S.contactId,
|
|
156
|
+
onChange: (e) => {
|
|
157
|
+
let t = e.target.value, n = E.find((e) => e.id === t);
|
|
158
|
+
C((e) => ({
|
|
159
|
+
...e,
|
|
160
|
+
contactId: t,
|
|
161
|
+
company: n?.company || e.company
|
|
162
|
+
}));
|
|
163
|
+
},
|
|
164
|
+
className: T,
|
|
165
|
+
children: [/* @__PURE__ */ p("option", {
|
|
166
|
+
value: "",
|
|
167
|
+
children: "Select a contact"
|
|
168
|
+
}), E.map((e) => /* @__PURE__ */ m("option", {
|
|
169
|
+
value: e.id,
|
|
170
|
+
children: [
|
|
171
|
+
e.firstName,
|
|
172
|
+
" ",
|
|
173
|
+
e.lastName,
|
|
174
|
+
" - ",
|
|
175
|
+
e.company
|
|
176
|
+
]
|
|
177
|
+
}, e.id))]
|
|
178
|
+
})] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
179
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
180
|
+
children: "Company"
|
|
181
|
+
}), /* @__PURE__ */ p("input", {
|
|
182
|
+
type: "text",
|
|
183
|
+
value: S.company,
|
|
184
|
+
onChange: (e) => w("company", e.target.value),
|
|
185
|
+
placeholder: "Company name",
|
|
186
|
+
className: T
|
|
187
|
+
})] })]
|
|
188
|
+
}),
|
|
189
|
+
/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
190
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
191
|
+
children: "Stage"
|
|
192
|
+
}), /* @__PURE__ */ m("select", {
|
|
193
|
+
value: S.stageId,
|
|
194
|
+
onChange: (e) => w("stageId", e.target.value),
|
|
195
|
+
className: T,
|
|
196
|
+
children: [/* @__PURE__ */ p("option", {
|
|
197
|
+
value: "",
|
|
198
|
+
children: "Select a stage"
|
|
199
|
+
}), O.map((e) => /* @__PURE__ */ p("option", {
|
|
200
|
+
value: e.id,
|
|
201
|
+
children: e.name
|
|
202
|
+
}, e.id))]
|
|
203
|
+
})] }),
|
|
204
|
+
/* @__PURE__ */ m("div", {
|
|
205
|
+
className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
|
|
206
|
+
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
207
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
208
|
+
children: "Expected Close Date"
|
|
209
|
+
}), /* @__PURE__ */ p("input", {
|
|
210
|
+
type: "date",
|
|
211
|
+
value: S.expectedCloseDate,
|
|
212
|
+
onChange: (e) => w("expectedCloseDate", e.target.value),
|
|
213
|
+
className: T
|
|
214
|
+
})] }), /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
215
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
216
|
+
children: "Probability (%)"
|
|
217
|
+
}), /* @__PURE__ */ p("input", {
|
|
218
|
+
type: "number",
|
|
219
|
+
min: "0",
|
|
220
|
+
max: "100",
|
|
221
|
+
value: S.probability,
|
|
222
|
+
onChange: (e) => w("probability", e.target.value),
|
|
223
|
+
className: T
|
|
224
|
+
})] })]
|
|
225
|
+
}),
|
|
226
|
+
/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("label", {
|
|
227
|
+
className: "block text-sm font-medium text-foreground mb-1",
|
|
228
|
+
children: "Description"
|
|
229
|
+
}), /* @__PURE__ */ p("textarea", {
|
|
230
|
+
value: S.description,
|
|
231
|
+
onChange: (e) => w("description", e.target.value),
|
|
232
|
+
placeholder: "Describe this deal...",
|
|
233
|
+
rows: 4,
|
|
234
|
+
className: i(T, "resize-none")
|
|
235
|
+
})] }),
|
|
236
|
+
A && /* @__PURE__ */ p("div", {
|
|
237
|
+
className: "rounded-lg border border-destructive/30 bg-destructive/10 px-4 py-3 text-sm text-destructive",
|
|
238
|
+
children: A
|
|
239
|
+
}),
|
|
240
|
+
/* @__PURE__ */ m("div", {
|
|
241
|
+
className: "flex items-center justify-end gap-3 pt-4 border-t border-border",
|
|
242
|
+
children: [/* @__PURE__ */ m("button", {
|
|
243
|
+
onClick: () => h("crm/pipeline"),
|
|
244
|
+
className: "inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-sm font-medium text-foreground hover:bg-muted",
|
|
245
|
+
children: [/* @__PURE__ */ p(f, { className: "h-4 w-4" }), "Cancel"]
|
|
246
|
+
}), /* @__PURE__ */ m("button", {
|
|
247
|
+
onClick: k,
|
|
248
|
+
disabled: v,
|
|
249
|
+
className: "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-60",
|
|
250
|
+
children: [/* @__PURE__ */ p(d, { className: "h-4 w-4" }), v ? "Saving..." : "Save Deal"]
|
|
251
|
+
})]
|
|
252
|
+
})
|
|
253
|
+
]
|
|
254
|
+
})
|
|
255
|
+
})
|
|
256
|
+
})
|
|
257
|
+
});
|
|
258
|
+
};
|
|
259
|
+
//#endregion
|
|
260
|
+
export { h as CreateDealPage };
|
|
261
|
+
|
|
262
|
+
//# sourceMappingURL=CreateDealPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateDealPage.js","names":[],"sources":["../../../../src/headshotmarketing/pages/crm/CreateDealPage.tsx"],"sourcesContent":["/**\n * Create Deal Page\n * @module headshotmarketing/pages/crm\n */\n\nimport { useEffect, useState, type FC } from \"react\";\nimport { ArrowLeft, Save, X } from \"lucide-react\";\nimport {\n HeadshotmarketingBootstrapDataDocument,\n type HeadshotmarketingBootstrapDataQuery,\n useCreateHeadshotmarketingDealMutation,\n useHeadshotmarketingBootstrapDataQuery,\n} from \"../../../generated/wspace-operations\";\nimport { HeadshotmarketingDealStatus as HeadshotmarketingDealStatusEnum } from \"../../../generated/wspace-types\";\nimport { PageLayout } from \"../../components\";\nimport { cn } from \"../../utils/helpers\";\nimport { toContactModel } from \"../../utils/crmMapper\";\nimport { useHeadshotMarketing } from \"../../context/HeadshotMarketingContext\";\nimport type { Contact } from \"../../types\";\nimport type { CreateHeadshotmarketingDealInput } from \"../../../generated/wspace-types\";\n\nconst CHART_COLORS = [\n \"#3b82f6\",\n \"#10b981\",\n \"#f59e0b\",\n \"#ef4444\",\n \"#8b5cf6\",\n \"#ec4899\",\n];\n\ninterface DealForm {\n name: string;\n value: string;\n pipelineId: string;\n stageId: string;\n contactId: string;\n company: string;\n expectedCloseDate: string;\n probability: string;\n description: string;\n}\n\ntype PipelineItem =\n HeadshotmarketingBootstrapDataQuery[\"headshotmarketingPipelines\"][\"items\"][number];\n\nexport const CreateDealPage: FC = () => {\n const { navigate } = useHeadshotMarketing();\n const { data } = useHeadshotmarketingBootstrapDataQuery({\n variables: { limit: 200, offset: 0 },\n });\n const [createDeal, { loading: createLoading, error: createError }] =\n useCreateHeadshotmarketingDealMutation();\n const [formError, setFormError] = useState<string | null>(null);\n const [form, setForm] = useState<DealForm>({\n name: \"\",\n value: \"\",\n pipelineId: \"\",\n stageId: \"\",\n contactId: \"\",\n company: \"\",\n expectedCloseDate: \"\",\n probability: \"20\",\n description: \"\",\n });\n\n const updateField = (field: keyof DealForm, value: string) => {\n setForm((prev) => ({ ...prev, [field]: value }));\n };\n\n const inputClass =\n \"w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\";\n\n const contacts: Contact[] = (data?.headshotmarketingContacts.items ?? []).map(\n (item: Parameters<typeof toContactModel>[0]) => toContactModel(item),\n );\n\n const pipelines: PipelineItem[] =\n data?.headshotmarketingPipelines.items ?? [];\n const selectedPipeline =\n pipelines.find((pipeline) => pipeline.id === form.pipelineId) ??\n pipelines[0];\n const stageOptions = selectedPipeline?.stages ?? [];\n\n useEffect(() => {\n if (pipelines.length === 0) {\n return;\n }\n\n setForm((prev) => {\n const pipelineId = prev.pipelineId || pipelines[0].id;\n const pipeline =\n pipelines.find((item) => item.id === pipelineId) ?? pipelines[0];\n const stageId = pipeline.stages.some((stage) => stage.id === prev.stageId)\n ? prev.stageId\n : (pipeline.stages[0]?.id ?? \"\");\n\n if (pipelineId === prev.pipelineId && stageId === prev.stageId) {\n return prev;\n }\n\n return {\n ...prev,\n pipelineId,\n stageId,\n };\n });\n }, [data?.headshotmarketingPipelines.items]);\n\n const handleSave = async (): Promise<void> => {\n if (!form.name.trim()) {\n setFormError(\"Deal name is required.\");\n return;\n }\n\n if (!form.pipelineId || !form.stageId) {\n setFormError(\"Pipeline and stage are required.\");\n return;\n }\n\n const probabilityValue = Number(form.probability);\n if (\n !Number.isFinite(probabilityValue) ||\n probabilityValue < 0 ||\n probabilityValue > 100\n ) {\n setFormError(\"Probability must be between 0 and 100.\");\n return;\n }\n\n const value = form.value ? Number(form.value) : null;\n if (\n form.value &&\n (!Number.isFinite(Number(form.value)) || Number(form.value) < 0)\n ) {\n setFormError(\"Deal value must be a valid non-negative number.\");\n return;\n }\n\n setFormError(null);\n\n const input: CreateHeadshotmarketingDealInput = {\n title: form.name,\n description: form.description || null,\n value,\n contactId: form.contactId || null,\n pipelineId: form.pipelineId,\n stageId: form.stageId,\n expectedCloseDate: form.expectedCloseDate || null,\n probability: Math.round(probabilityValue),\n status: HeadshotmarketingDealStatusEnum.Open,\n customFields: {\n company: form.company,\n },\n };\n\n try {\n await createDeal({\n variables: { input },\n refetchQueries: [\n {\n query: HeadshotmarketingBootstrapDataDocument,\n variables: { limit: 200, offset: 0 },\n },\n ],\n awaitRefetchQueries: true,\n });\n\n navigate(\"crm/pipeline\");\n } catch (error) {\n setFormError(\n error instanceof Error ? error.message : \"Failed to create deal.\",\n );\n }\n };\n\n const saveError = formError ?? createError?.message ?? null;\n\n return (\n <PageLayout\n title=\"Create Deal\"\n description=\"Add a new deal to your pipeline\"\n actions={\n <button\n onClick={() => navigate(\"crm/pipeline\")}\n className=\"inline-flex items-center gap-2 rounded-md border border-border px-3 py-2 text-sm font-medium text-foreground hover:bg-muted\"\n >\n <ArrowLeft className=\"h-4 w-4\" />\n Back\n </button>\n }\n >\n <div className=\"max-w-2xl\">\n <div className=\"rounded-lg border border-border bg-card p-6\">\n <div className=\"space-y-6\">\n {/* Deal Name */}\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Deal Name\n </label>\n <input\n type=\"text\"\n value={form.name}\n onChange={(e) => updateField(\"name\", e.target.value)}\n placeholder=\"e.g. TechCorp Enterprise Plan\"\n className={inputClass}\n />\n </div>\n\n {/* Value & Pipeline */}\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Deal Value ($)\n </label>\n <input\n type=\"number\"\n value={form.value}\n onChange={(e) => updateField(\"value\", e.target.value)}\n placeholder=\"0\"\n className={inputClass}\n />\n </div>\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Pipeline\n </label>\n <select\n value={form.pipelineId}\n onChange={(e) => {\n const pipelineId = e.target.value;\n const pipeline = pipelines.find(\n (item) => item.id === pipelineId,\n );\n setForm((prev) => ({\n ...prev,\n pipelineId,\n stageId: pipeline?.stages[0]?.id ?? \"\",\n }));\n }}\n className={inputClass}\n >\n <option value=\"\">Select a pipeline</option>\n {pipelines.map((pipeline) => (\n <option key={pipeline.id} value={pipeline.id}>\n {pipeline.name}\n </option>\n ))}\n </select>\n </div>\n </div>\n\n {/* Contact & Company */}\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Contact\n </label>\n <select\n value={form.contactId}\n onChange={(e) => {\n const contactId = e.target.value;\n const selectedContact = contacts.find(\n (contact) => contact.id === contactId,\n );\n setForm((prev) => ({\n ...prev,\n contactId,\n company: selectedContact?.company || prev.company,\n }));\n }}\n className={inputClass}\n >\n <option value=\"\">Select a contact</option>\n {contacts.map((c: Contact) => (\n <option key={c.id} value={c.id}>\n {c.firstName} {c.lastName} - {c.company}\n </option>\n ))}\n </select>\n </div>\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Company\n </label>\n <input\n type=\"text\"\n value={form.company}\n onChange={(e) => updateField(\"company\", e.target.value)}\n placeholder=\"Company name\"\n className={inputClass}\n />\n </div>\n </div>\n\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Stage\n </label>\n <select\n value={form.stageId}\n onChange={(e) => updateField(\"stageId\", e.target.value)}\n className={inputClass}\n >\n <option value=\"\">Select a stage</option>\n {stageOptions.map((stage) => (\n <option key={stage.id} value={stage.id}>\n {stage.name}\n </option>\n ))}\n </select>\n </div>\n\n {/* Close Date & Probability */}\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Expected Close Date\n </label>\n <input\n type=\"date\"\n value={form.expectedCloseDate}\n onChange={(e) =>\n updateField(\"expectedCloseDate\", e.target.value)\n }\n className={inputClass}\n />\n </div>\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Probability (%)\n </label>\n <input\n type=\"number\"\n min=\"0\"\n max=\"100\"\n value={form.probability}\n onChange={(e) => updateField(\"probability\", e.target.value)}\n className={inputClass}\n />\n </div>\n </div>\n\n {/* Description */}\n <div>\n <label className=\"block text-sm font-medium text-foreground mb-1\">\n Description\n </label>\n <textarea\n value={form.description}\n onChange={(e) => updateField(\"description\", e.target.value)}\n placeholder=\"Describe this deal...\"\n rows={4}\n className={cn(inputClass, \"resize-none\")}\n />\n </div>\n\n {saveError && (\n <div className=\"rounded-lg border border-destructive/30 bg-destructive/10 px-4 py-3 text-sm text-destructive\">\n {saveError}\n </div>\n )}\n\n {/* Actions */}\n <div className=\"flex items-center justify-end gap-3 pt-4 border-t border-border\">\n <button\n onClick={() => navigate(\"crm/pipeline\")}\n className=\"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 >\n <X className=\"h-4 w-4\" />\n Cancel\n </button>\n <button\n onClick={handleSave}\n disabled={createLoading}\n className=\"inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90 disabled:opacity-60\"\n >\n <Save className=\"h-4 w-4\" />\n {createLoading ? \"Saving...\" : \"Save Deal\"}\n </button>\n </div>\n </div>\n </div>\n </div>\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;;AA6CA,IAAa,UAA2B;CACtC,IAAM,EAAE,gBAAa,GAAsB,EACrC,EAAE,YAAS,EAAuC,EACtD,WAAW;EAAE,OAAO;EAAK,QAAQ;EAAG,EACrC,CAAC,EACI,CAAC,GAAY,EAAE,SAAS,GAAe,OAAO,OAClD,GAAwC,EACpC,CAAC,GAAW,KAAgB,EAAwB,KAAK,EACzD,CAAC,GAAM,KAAW,EAAmB;EACzC,MAAM;EACN,OAAO;EACP,YAAY;EACZ,SAAS;EACT,WAAW;EACX,SAAS;EACT,mBAAmB;EACnB,aAAa;EACb,aAAa;EACd,CAAC,EAEI,KAAe,GAAuB,MAAkB;AAC5D,KAAS,OAAU;GAAE,GAAG;IAAO,IAAQ;GAAO,EAAE;IAG5C,IACJ,4KAEI,KAAuB,GAAM,0BAA0B,SAAS,EAAE,EAAE,KACvE,MAA+C,EAAe,EAAK,CACrE,EAEK,IACJ,GAAM,2BAA2B,SAAS,EAAE,EAIxC,KAFJ,EAAU,MAAM,MAAa,EAAS,OAAO,EAAK,WAAW,IAC7D,EAAU,KAC2B,UAAU,EAAE;AAEnD,SAAgB;AACV,IAAU,WAAW,KAIzB,GAAS,MAAS;GAChB,IAAM,IAAa,EAAK,cAAc,EAAU,GAAG,I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