@burdenoff/microfe-headshotmarketing 2026.703.1 → 2026.704.2

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.
Files changed (137) hide show
  1. package/dist/generated/wspace-operations.js +960 -77
  2. package/dist/generated/wspace-operations.js.map +1 -1
  3. package/dist/generated/wspace-types.js +26 -10
  4. package/dist/generated/wspace-types.js.map +1 -1
  5. package/dist/headshotmarketing/HeadshotMarketingRoot.js +45 -44
  6. package/dist/headshotmarketing/HeadshotMarketingRoot.js.map +1 -1
  7. package/dist/headshotmarketing/HeadshotMarketingRoutes.js +20 -0
  8. package/dist/headshotmarketing/HeadshotMarketingRoutes.js.map +1 -1
  9. package/dist/headshotmarketing/components/ActionMenu.js +57 -0
  10. package/dist/headshotmarketing/components/ActionMenu.js.map +1 -0
  11. package/dist/headshotmarketing/components/AssetUploadButton.js +47 -0
  12. package/dist/headshotmarketing/components/AssetUploadButton.js.map +1 -0
  13. package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
  14. package/dist/headshotmarketing/components/InfluencerModals.js +606 -0
  15. package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -0
  16. package/dist/headshotmarketing/components/LoadingSkeleton.js +11 -1
  17. package/dist/headshotmarketing/components/LoadingSkeleton.js.map +1 -0
  18. package/dist/headshotmarketing/components/Modal.js +6 -3
  19. package/dist/headshotmarketing/components/Modal.js.map +1 -1
  20. package/dist/headshotmarketing/components/Pagination.js +117 -0
  21. package/dist/headshotmarketing/components/Pagination.js.map +1 -0
  22. package/dist/headshotmarketing/components/QueryStateBoundary.js +46 -0
  23. package/dist/headshotmarketing/components/QueryStateBoundary.js.map +1 -0
  24. package/dist/headshotmarketing/components/StatusBadge.js.map +1 -1
  25. package/dist/headshotmarketing/components/TagChipsInput.js +74 -0
  26. package/dist/headshotmarketing/components/TagChipsInput.js.map +1 -0
  27. package/dist/headshotmarketing/components/index.js +6 -0
  28. package/dist/headshotmarketing/context/HeadshotMarketingContext.js +26 -22
  29. package/dist/headshotmarketing/context/HeadshotMarketingContext.js.map +1 -1
  30. package/dist/headshotmarketing/context/HeadshotmarketingBootstrapContext.js +29 -0
  31. package/dist/headshotmarketing/context/HeadshotmarketingBootstrapContext.js.map +1 -0
  32. package/dist/headshotmarketing/hooks/index.js +4 -0
  33. package/dist/headshotmarketing/hooks/useAssetUpload.js +86 -0
  34. package/dist/headshotmarketing/hooks/useAssetUpload.js.map +1 -0
  35. package/dist/headshotmarketing/hooks/useHeadshotmarketingBootstrap.js +12 -0
  36. package/dist/headshotmarketing/hooks/useHeadshotmarketingBootstrap.js.map +1 -0
  37. package/dist/headshotmarketing/hooks/usePagination.js +53 -0
  38. package/dist/headshotmarketing/hooks/usePagination.js.map +1 -0
  39. package/dist/headshotmarketing/pages/HomePage.js +334 -301
  40. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  41. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +522 -225
  42. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  43. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +749 -147
  44. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  45. package/dist/headshotmarketing/pages/ads/AdsPage.js +197 -188
  46. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  47. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +583 -147
  48. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  49. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +218 -206
  50. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  51. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +244 -237
  52. package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
  53. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js +278 -272
  54. package/dist/headshotmarketing/pages/analytics/AnalyticsPage.js.map +1 -1
  55. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +197 -193
  56. package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
  57. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +254 -295
  58. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  59. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js +221 -211
  60. package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
  61. package/dist/headshotmarketing/pages/automation/AutomationPage.js +239 -168
  62. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  63. package/dist/headshotmarketing/pages/automation/TriggersPage.js +150 -102
  64. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  65. package/dist/headshotmarketing/pages/automation/WorkflowActions.js +287 -0
  66. package/dist/headshotmarketing/pages/automation/WorkflowActions.js.map +1 -0
  67. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +56 -58
  68. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  69. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +211 -179
  70. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  71. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +444 -306
  72. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  73. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +290 -217
  74. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  75. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +189 -151
  76. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  77. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +417 -274
  78. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  79. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +345 -260
  80. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  81. package/dist/headshotmarketing/pages/content/AIToolsPage.js +261 -192
  82. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  83. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +213 -141
  84. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  85. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js +242 -246
  86. package/dist/headshotmarketing/pages/content/ContentAnalyticsPage.js.map +1 -1
  87. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +184 -136
  88. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  89. package/dist/headshotmarketing/pages/content/ContentPage.js +208 -159
  90. package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
  91. package/dist/headshotmarketing/pages/crm/ContactsPage.js +336 -265
  92. package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
  93. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +76 -87
  94. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  95. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +195 -196
  96. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  97. package/dist/headshotmarketing/pages/crm/CrmActions.js +663 -0
  98. package/dist/headshotmarketing/pages/crm/CrmActions.js.map +1 -0
  99. package/dist/headshotmarketing/pages/crm/CrmPage.js +237 -207
  100. package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
  101. package/dist/headshotmarketing/pages/crm/LeadsPage.js +168 -165
  102. package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
  103. package/dist/headshotmarketing/pages/crm/PipelinePage.js +189 -178
  104. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  105. package/dist/headshotmarketing/pages/events/CreateEventPage.js +188 -190
  106. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  107. package/dist/headshotmarketing/pages/events/EventsPage.js +256 -238
  108. package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
  109. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +195 -167
  110. package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
  111. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +280 -243
  112. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  113. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +186 -183
  114. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  115. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +303 -231
  116. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  117. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +460 -310
  118. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  119. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +318 -104
  120. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  121. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +266 -255
  122. package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
  123. package/dist/headshotmarketing/pages/social-media/PostsPage.js +365 -202
  124. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  125. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +321 -233
  126. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  127. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +324 -308
  128. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  129. package/dist/headshotmarketing/utils/adsMapper.js +74 -51
  130. package/dist/headshotmarketing/utils/adsMapper.js.map +1 -1
  131. package/dist/headshotmarketing/utils/helpers.js +11 -1
  132. package/dist/headshotmarketing/utils/helpers.js.map +1 -1
  133. package/dist/headshotmarketing/utils/influencerMapper.js +1 -0
  134. package/dist/headshotmarketing/utils/influencerMapper.js.map +1 -1
  135. package/package.json +1 -1
  136. package/dist/headshotmarketing/utils/reportMapper.js +0 -33
  137. package/dist/headshotmarketing/utils/reportMapper.js.map +0 -1
@@ -1,291 +1,328 @@
1
- import { useHeadshotMarketing as e } from "../../context/HeadshotMarketingContext.js";
2
- import { useHeadshotmarketingBootstrapDataQuery as t } from "../../../generated/wspace-operations.js";
3
- import { cn as n, formatCurrency as r, formatNumber as i, formatPercentage as a } from "../../utils/helpers.js";
4
- import { PageLayout as o } from "../../components/PageLayout.js";
5
- import { EmptyState as s } from "../../components/EmptyState.js";
6
- import { FilterBar as c } from "../../components/FilterBar.js";
1
+ import { cn as e, formatCurrency as t, formatNumber as n, formatPercentage as r } from "../../utils/helpers.js";
2
+ import { HeadshotmarketingInfluencerRelationshipStatus as i } from "../../../generated/wspace-types.js";
3
+ import { PageLayout as a } from "../../components/PageLayout.js";
4
+ import { EmptyState as o } from "../../components/EmptyState.js";
5
+ import { FilterBar as ee } from "../../components/FilterBar.js";
6
+ import { QueryStateBoundary as te } from "../../components/QueryStateBoundary.js";
7
+ import { Pagination as s } from "../../components/Pagination.js";
8
+ import { AddInfluencerRelationshipModal as c, InfluencerDetailsModal as l } from "../../components/InfluencerModals.js";
7
9
  import "../../components/index.js";
8
- import { toInfluencerModel as l } from "../../utils/influencerMapper.js";
9
- import { useMemo as u, useState as d } from "react";
10
- import { CheckCircle as f, Eye as p, Mail as m, MapPin as h, Star as g } from "lucide-react";
11
- import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
12
- import { EmphasisPanel as b, PagePurpose as x } from "@burdenoff/fe-libs/ui";
10
+ import { useHeadshotmarketingBootstrap as u } from "../../hooks/useHeadshotmarketingBootstrap.js";
11
+ import { usePagination as d } from "../../hooks/usePagination.js";
12
+ import { toInfluencerModel as f } from "../../utils/influencerMapper.js";
13
+ import { useEffect as ne, useMemo as p, useState as m } from "react";
14
+ import { CheckCircle as h, Eye as g, Mail as _, MapPin as v, Star as y } from "lucide-react";
15
+ import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
16
+ import { EmphasisPanel as C, PagePurpose as w } from "@burdenoff/fe-libs/ui";
13
17
  //#region src/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.tsx
14
- var S = {
18
+ var T = {
15
19
  nano: "bg-status-info-bg text-status-info-text",
16
20
  micro: "bg-status-success-bg text-status-success-text",
17
21
  macro: "bg-status-warning-bg text-status-warning-text",
18
22
  mega: "bg-status-error-bg text-status-error-text"
19
- }, C = {
23
+ }, E = {
20
24
  instagram: "bg-[var(--color-accent-soft)] text-action-primary-bg",
21
25
  facebook: "bg-status-info-bg text-status-info-text",
22
26
  twitter: "bg-status-info-bg text-status-info-text",
23
27
  linkedin: "bg-status-info-bg text-status-info-text",
24
28
  youtube: "bg-status-error-bg text-status-error-text",
25
29
  tiktok: "bg-bg-sunken text-text-secondary"
26
- }, w = () => {
27
- let { navigate: w } = e(), { data: T } = t({ variables: {
28
- limit: 200,
29
- offset: 0
30
- } }), [E, D] = d(""), [O, k] = d("all"), [A, j] = d("all"), [M, N] = d("all"), P = u(() => (T?.headshotmarketingInfluencers.items ?? []).map((e) => l(e)), [T?.headshotmarketingInfluencers.items]), F = u(() => {
30
+ }, D = () => {
31
+ let { data: D, loading: O, error: k, refetch: A } = u(), [j, M] = m(""), [N, P] = m("all"), [F, I] = m("all"), [L, R] = m("all"), [z, B] = m(null), [V, H] = m(null), { page: U, pageSize: W, offset: G, total: K, setPage: q, setPageSize: J, setTotal: Y } = d({ initialPageSize: 12 }), X = p(() => (D?.headshotmarketingInfluencers.items ?? []).map((e) => f(e)), [D?.headshotmarketingInfluencers.items]), Z = p(() => (D?.headshotmarketingInfluencerRelationships.items ?? []).map((e) => e.influencerId), [D?.headshotmarketingInfluencerRelationships.items]), re = p(() => {
31
32
  let e = /* @__PURE__ */ new Set();
32
- return P.forEach((t) => t.niche.forEach((t) => e.add(t))), Array.from(e).sort();
33
- }, [P]), I = u(() => {
34
- let e = [...P];
35
- if (E) {
36
- let t = E.toLowerCase();
33
+ return X.forEach((t) => t.niche.forEach((t) => e.add(t))), Array.from(e).sort();
34
+ }, [X]), Q = p(() => {
35
+ let e = [...X];
36
+ if (j) {
37
+ let t = j.toLowerCase();
37
38
  e = e.filter((e) => e.name.toLowerCase().includes(t) || e.handle.toLowerCase().includes(t) || e.niche.some((e) => e.toLowerCase().includes(t)));
38
39
  }
39
- return O !== "all" && (e = e.filter((e) => e.tier === O)), A !== "all" && (e = e.filter((e) => e.platform === A)), M !== "all" && (e = e.filter((e) => e.niche.includes(M))), e;
40
+ return N !== "all" && (e = e.filter((e) => e.tier === N)), F !== "all" && (e = e.filter((e) => e.platform === F)), L !== "all" && (e = e.filter((e) => e.niche.includes(L))), e;
40
41
  }, [
41
- E,
42
- O,
43
- A,
44
- M,
45
- P
46
- ]), L = u(() => {
47
- let e = P.filter((e) => e.verified).length, t = P.reduce((e, t) => e + t.followers, 0), n = P.length > 0 ? P.reduce((e, t) => e + t.engagementRate, 0) / P.length : 0;
42
+ j,
43
+ N,
44
+ F,
45
+ L,
46
+ X
47
+ ]);
48
+ ne(() => {
49
+ Y(Q.length);
50
+ }, [Q.length, Y]);
51
+ let ie = Q.slice(G, G + W), $ = p(() => {
52
+ let e = X.filter((e) => e.verified).length, t = X.reduce((e, t) => e + t.followers, 0), n = X.length > 0 ? X.reduce((e, t) => e + t.engagementRate, 0) / X.length : 0;
48
53
  return {
49
- total: P.length,
54
+ total: X.length,
50
55
  verified: e,
51
56
  totalReach: t,
52
57
  avgEngagement: n
53
58
  };
54
- }, [P]);
55
- return /* @__PURE__ */ y(o, {
59
+ }, [X]);
60
+ return /* @__PURE__ */ S(a, {
56
61
  title: "Influencer Discovery",
57
62
  description: "Find and connect with influencers for your campaigns",
58
63
  children: [
59
- /* @__PURE__ */ v(x, { children: "Find the right creators for your brand. Search and filter by tier, platform and niche to surface influencers whose audience matches yours, then reach out to start a partnership." }),
60
- /* @__PURE__ */ v(b, { children: /* @__PURE__ */ y("div", {
61
- className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
64
+ /* @__PURE__ */ x(w, { children: "Find the right creators for your brand. Search and filter by tier, platform and niche to surface influencers whose audience matches yours, then reach out to start a partnership." }),
65
+ /* @__PURE__ */ S(te, {
66
+ loading: O,
67
+ error: k,
68
+ onRetry: A,
69
+ hasData: !!D,
62
70
  children: [
63
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
64
- className: "text-xs text-text-secondary",
65
- children: "Influencers"
66
- }), /* @__PURE__ */ v("p", {
67
- className: "text-2xl font-semibold text-text-primary",
68
- children: i(L.total)
69
- })] }),
70
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
71
- className: "text-xs text-text-secondary",
72
- children: "Verified"
73
- }), /* @__PURE__ */ v("p", {
74
- className: "text-2xl font-semibold text-text-primary",
75
- children: i(L.verified)
76
- })] }),
77
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
78
- className: "text-xs text-text-secondary",
79
- children: "Combined Reach"
80
- }), /* @__PURE__ */ v("p", {
81
- className: "text-2xl font-semibold text-text-primary",
82
- children: i(L.totalReach)
83
- })] }),
84
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("p", {
85
- className: "text-xs text-text-secondary",
86
- children: "Avg Engagement"
87
- }), /* @__PURE__ */ v("p", {
88
- className: "text-2xl font-semibold text-text-primary",
89
- children: a(L.avgEngagement)
90
- })] })
91
- ]
92
- }) }),
93
- /* @__PURE__ */ v(c, {
94
- searchValue: E,
95
- onSearchChange: D,
96
- searchPlaceholder: "Search by name, handle, or niche...",
97
- filters: /* @__PURE__ */ y(_, { children: [
98
- /* @__PURE__ */ y("select", {
99
- value: O,
100
- onChange: (e) => k(e.target.value),
101
- className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
71
+ /* @__PURE__ */ x(C, { children: /* @__PURE__ */ S("div", {
72
+ className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
102
73
  children: [
103
- /* @__PURE__ */ v("option", {
104
- value: "all",
105
- children: "All Tiers"
106
- }),
107
- /* @__PURE__ */ v("option", {
108
- value: "nano",
109
- children: "Nano (1K-10K)"
110
- }),
111
- /* @__PURE__ */ v("option", {
112
- value: "micro",
113
- children: "Micro (10K-100K)"
114
- }),
115
- /* @__PURE__ */ v("option", {
116
- value: "macro",
117
- children: "Macro (100K-500K)"
118
- }),
119
- /* @__PURE__ */ v("option", {
120
- value: "mega",
121
- children: "Mega (500K+)"
122
- })
74
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
75
+ className: "text-xs text-text-secondary",
76
+ children: "Influencers"
77
+ }), /* @__PURE__ */ x("p", {
78
+ className: "text-2xl font-semibold text-text-primary",
79
+ children: n($.total)
80
+ })] }),
81
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
82
+ className: "text-xs text-text-secondary",
83
+ children: "Verified"
84
+ }), /* @__PURE__ */ x("p", {
85
+ className: "text-2xl font-semibold text-text-primary",
86
+ children: n($.verified)
87
+ })] }),
88
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
89
+ className: "text-xs text-text-secondary",
90
+ children: "Combined Reach"
91
+ }), /* @__PURE__ */ x("p", {
92
+ className: "text-2xl font-semibold text-text-primary",
93
+ children: n($.totalReach)
94
+ })] }),
95
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
96
+ className: "text-xs text-text-secondary",
97
+ children: "Avg Engagement"
98
+ }), /* @__PURE__ */ x("p", {
99
+ className: "text-2xl font-semibold text-text-primary",
100
+ children: r($.avgEngagement)
101
+ })] })
123
102
  ]
124
- }),
125
- /* @__PURE__ */ y("select", {
126
- value: A,
127
- onChange: (e) => j(e.target.value),
128
- className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
129
- children: [
130
- /* @__PURE__ */ v("option", {
131
- value: "all",
132
- children: "All Platforms"
133
- }),
134
- /* @__PURE__ */ v("option", {
135
- value: "instagram",
136
- children: "Instagram"
137
- }),
138
- /* @__PURE__ */ v("option", {
139
- value: "youtube",
140
- children: "YouTube"
141
- }),
142
- /* @__PURE__ */ v("option", {
143
- value: "tiktok",
144
- children: "TikTok"
145
- }),
146
- /* @__PURE__ */ v("option", {
147
- value: "linkedin",
148
- children: "LinkedIn"
103
+ }) }),
104
+ /* @__PURE__ */ x(ee, {
105
+ searchValue: j,
106
+ onSearchChange: M,
107
+ searchPlaceholder: "Search by name, handle, or niche...",
108
+ filters: /* @__PURE__ */ S(b, { children: [
109
+ /* @__PURE__ */ S("select", {
110
+ value: N,
111
+ onChange: (e) => P(e.target.value),
112
+ className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
113
+ children: [
114
+ /* @__PURE__ */ x("option", {
115
+ value: "all",
116
+ children: "All Tiers"
117
+ }),
118
+ /* @__PURE__ */ x("option", {
119
+ value: "nano",
120
+ children: "Nano (1K-10K)"
121
+ }),
122
+ /* @__PURE__ */ x("option", {
123
+ value: "micro",
124
+ children: "Micro (10K-100K)"
125
+ }),
126
+ /* @__PURE__ */ x("option", {
127
+ value: "macro",
128
+ children: "Macro (100K-500K)"
129
+ }),
130
+ /* @__PURE__ */ x("option", {
131
+ value: "mega",
132
+ children: "Mega (500K+)"
133
+ })
134
+ ]
149
135
  }),
150
- /* @__PURE__ */ v("option", {
151
- value: "twitter",
152
- children: "Twitter"
153
- })
154
- ]
155
- }),
156
- /* @__PURE__ */ y("select", {
157
- value: M,
158
- onChange: (e) => N(e.target.value),
159
- className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
160
- children: [/* @__PURE__ */ v("option", {
161
- value: "all",
162
- children: "All Niches"
163
- }), F.map((e) => /* @__PURE__ */ v("option", {
164
- value: e,
165
- children: e
166
- }, e))]
167
- })
168
- ] })
169
- }),
170
- /* @__PURE__ */ y("p", {
171
- className: "text-sm text-text-secondary",
172
- children: [I.length, " influencers found"]
173
- }),
174
- I.length === 0 && /* @__PURE__ */ v(s, {
175
- illustration: P.length === 0 ? "empty-people" : "empty-search",
176
- title: P.length === 0 ? "No influencers yet" : "No influencers match your filters",
177
- description: P.length === 0 ? "Influencers will show up here as your directory fills in." : "Try a different search term, tier, platform or niche."
178
- }),
179
- /* @__PURE__ */ v("div", {
180
- className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
181
- children: I.map((e) => /* @__PURE__ */ y("div", {
182
- className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-5 space-y-4 hover:border-foreground/30 transition-colors",
183
- children: [
184
- /* @__PURE__ */ y("div", {
185
- className: "flex items-start gap-3",
186
- children: [/* @__PURE__ */ v("div", {
187
- className: "flex h-12 w-12 items-center justify-center rounded-full bg-bg-sunken text-sm font-bold text-text-primary",
188
- children: e.name.split(" ").map((e) => e[0]).join("")
189
- }), /* @__PURE__ */ y("div", {
190
- className: "flex-1 min-w-0",
136
+ /* @__PURE__ */ S("select", {
137
+ value: F,
138
+ onChange: (e) => I(e.target.value),
139
+ className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
191
140
  children: [
192
- /* @__PURE__ */ y("div", {
193
- className: "flex items-center gap-1.5",
194
- children: [/* @__PURE__ */ v("h3", {
195
- className: "text-sm font-semibold text-text-primary truncate",
196
- children: e.name
197
- }), e.verified && /* @__PURE__ */ v(f, { className: "h-3.5 w-3.5 text-status-info-text flex-shrink-0" })]
141
+ /* @__PURE__ */ x("option", {
142
+ value: "all",
143
+ children: "All Platforms"
144
+ }),
145
+ /* @__PURE__ */ x("option", {
146
+ value: "instagram",
147
+ children: "Instagram"
148
+ }),
149
+ /* @__PURE__ */ x("option", {
150
+ value: "youtube",
151
+ children: "YouTube"
152
+ }),
153
+ /* @__PURE__ */ x("option", {
154
+ value: "tiktok",
155
+ children: "TikTok"
198
156
  }),
199
- /* @__PURE__ */ v("p", {
200
- className: "text-xs text-text-secondary",
201
- children: e.handle
157
+ /* @__PURE__ */ x("option", {
158
+ value: "linkedin",
159
+ children: "LinkedIn"
202
160
  }),
203
- /* @__PURE__ */ y("div", {
204
- className: "flex items-center gap-1 mt-0.5 text-xs text-text-secondary",
205
- children: [/* @__PURE__ */ v(h, { className: "h-3 w-3" }), e.location]
161
+ /* @__PURE__ */ x("option", {
162
+ value: "twitter",
163
+ children: "Twitter"
206
164
  })
207
165
  ]
208
- })]
209
- }),
210
- /* @__PURE__ */ y("div", {
211
- className: "flex items-center gap-2 flex-wrap",
166
+ }),
167
+ /* @__PURE__ */ S("select", {
168
+ value: L,
169
+ onChange: (e) => R(e.target.value),
170
+ className: "rounded-md border border-border-seam bg-gloss-card shadow-pop px-3 py-2 text-sm text-text-primary",
171
+ children: [/* @__PURE__ */ x("option", {
172
+ value: "all",
173
+ children: "All Niches"
174
+ }), re.map((e) => /* @__PURE__ */ x("option", {
175
+ value: e,
176
+ children: e
177
+ }, e))]
178
+ })
179
+ ] })
180
+ }),
181
+ /* @__PURE__ */ S("p", {
182
+ className: "text-sm text-text-secondary",
183
+ children: [Q.length, " influencers found"]
184
+ }),
185
+ Q.length === 0 && /* @__PURE__ */ x(o, {
186
+ illustration: X.length === 0 ? "empty-people" : "empty-search",
187
+ title: X.length === 0 ? "No influencers yet" : "No influencers match your filters",
188
+ description: X.length === 0 ? "Influencers will show up here as your directory fills in." : "Try a different search term, tier, platform or niche."
189
+ }),
190
+ /* @__PURE__ */ x("div", {
191
+ className: "grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
192
+ children: ie.map((i) => /* @__PURE__ */ S("div", {
193
+ className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-5 space-y-4 hover:border-foreground/30 transition-colors",
212
194
  children: [
213
- /* @__PURE__ */ v("span", {
214
- className: n("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", S[e.tier]),
215
- children: e.tier
195
+ /* @__PURE__ */ S("div", {
196
+ className: "flex items-start gap-3",
197
+ children: [/* @__PURE__ */ x("div", {
198
+ className: "flex h-12 w-12 items-center justify-center rounded-full bg-bg-sunken text-sm font-bold text-text-primary",
199
+ children: i.name.split(" ").map((e) => e[0]).join("")
200
+ }), /* @__PURE__ */ S("div", {
201
+ className: "flex-1 min-w-0",
202
+ children: [
203
+ /* @__PURE__ */ S("div", {
204
+ className: "flex items-center gap-1.5",
205
+ children: [/* @__PURE__ */ x("h3", {
206
+ className: "text-sm font-semibold text-text-primary truncate",
207
+ children: i.name
208
+ }), i.verified && /* @__PURE__ */ x(h, { className: "h-3.5 w-3.5 text-status-info-text flex-shrink-0" })]
209
+ }),
210
+ /* @__PURE__ */ x("p", {
211
+ className: "text-xs text-text-secondary",
212
+ children: i.handle
213
+ }),
214
+ /* @__PURE__ */ S("div", {
215
+ className: "flex items-center gap-1 mt-0.5 text-xs text-text-secondary",
216
+ children: [/* @__PURE__ */ x(v, { className: "h-3 w-3" }), i.location]
217
+ })
218
+ ]
219
+ })]
216
220
  }),
217
- /* @__PURE__ */ v("span", {
218
- className: n("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", C[e.platform]),
219
- children: e.platform
221
+ /* @__PURE__ */ S("div", {
222
+ className: "flex items-center gap-2 flex-wrap",
223
+ children: [
224
+ /* @__PURE__ */ x("span", {
225
+ className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", T[i.tier]),
226
+ children: i.tier
227
+ }),
228
+ /* @__PURE__ */ x("span", {
229
+ className: e("rounded-full px-2.5 py-0.5 text-xs font-medium capitalize", E[i.platform]),
230
+ children: i.platform
231
+ }),
232
+ /* @__PURE__ */ S("div", {
233
+ className: "flex items-center gap-0.5 ml-auto",
234
+ children: [/* @__PURE__ */ x(y, { className: "h-3 w-3 text-status-warning-text fill-[var(--color-status-warning)]" }), /* @__PURE__ */ x("span", {
235
+ className: "text-xs font-medium text-text-primary",
236
+ children: i.rating.toFixed(1)
237
+ })]
238
+ })
239
+ ]
220
240
  }),
221
- /* @__PURE__ */ y("div", {
222
- className: "flex items-center gap-0.5 ml-auto",
223
- children: [/* @__PURE__ */ v(g, { className: "h-3 w-3 text-status-warning-text fill-[var(--color-status-warning)]" }), /* @__PURE__ */ v("span", {
224
- className: "text-xs font-medium text-text-primary",
225
- children: e.rating.toFixed(1)
226
- })]
227
- })
228
- ]
229
- }),
230
- /* @__PURE__ */ y("div", {
231
- className: "grid grid-cols-3 gap-2 text-center",
232
- children: [
233
- /* @__PURE__ */ y("div", {
234
- className: "rounded-md bg-bg-sunken/50 py-2",
235
- children: [/* @__PURE__ */ v("p", {
236
- className: "text-sm font-bold text-text-primary",
237
- children: i(e.followers)
238
- }), /* @__PURE__ */ v("p", {
239
- className: "text-[10px] text-text-secondary",
240
- children: "Followers"
241
- })]
241
+ /* @__PURE__ */ S("div", {
242
+ className: "grid grid-cols-3 gap-2 text-center",
243
+ children: [
244
+ /* @__PURE__ */ S("div", {
245
+ className: "rounded-md bg-bg-sunken/50 py-2",
246
+ children: [/* @__PURE__ */ x("p", {
247
+ className: "text-sm font-bold text-text-primary",
248
+ children: n(i.followers)
249
+ }), /* @__PURE__ */ x("p", {
250
+ className: "text-[10px] text-text-secondary",
251
+ children: "Followers"
252
+ })]
253
+ }),
254
+ /* @__PURE__ */ S("div", {
255
+ className: "rounded-md bg-bg-sunken/50 py-2",
256
+ children: [/* @__PURE__ */ x("p", {
257
+ className: "text-sm font-bold text-text-primary",
258
+ children: r(i.engagementRate)
259
+ }), /* @__PURE__ */ x("p", {
260
+ className: "text-[10px] text-text-secondary",
261
+ children: "Engagement"
262
+ })]
263
+ }),
264
+ /* @__PURE__ */ S("div", {
265
+ className: "rounded-md bg-bg-sunken/50 py-2",
266
+ children: [/* @__PURE__ */ x("p", {
267
+ className: "text-sm font-bold text-text-primary",
268
+ children: t(i.ratePerPost)
269
+ }), /* @__PURE__ */ x("p", {
270
+ className: "text-[10px] text-text-secondary",
271
+ children: "Per Post"
272
+ })]
273
+ })
274
+ ]
242
275
  }),
243
- /* @__PURE__ */ y("div", {
244
- className: "rounded-md bg-bg-sunken/50 py-2",
245
- children: [/* @__PURE__ */ v("p", {
246
- className: "text-sm font-bold text-text-primary",
247
- children: a(e.engagementRate)
248
- }), /* @__PURE__ */ v("p", {
249
- className: "text-[10px] text-text-secondary",
250
- children: "Engagement"
251
- })]
276
+ /* @__PURE__ */ x("div", {
277
+ className: "flex flex-wrap gap-1",
278
+ children: i.niche.map((e) => /* @__PURE__ */ x("span", {
279
+ className: "rounded-full border border-border-subtle px-2 py-0.5 text-[10px] text-text-secondary",
280
+ children: e
281
+ }, e))
252
282
  }),
253
- /* @__PURE__ */ y("div", {
254
- className: "rounded-md bg-bg-sunken/50 py-2",
255
- children: [/* @__PURE__ */ v("p", {
256
- className: "text-sm font-bold text-text-primary",
257
- children: r(e.ratePerPost)
258
- }), /* @__PURE__ */ v("p", {
259
- className: "text-[10px] text-text-secondary",
260
- children: "Per Post"
283
+ /* @__PURE__ */ S("div", {
284
+ className: "flex items-center gap-2 pt-2 border-t border-border-subtle",
285
+ children: [/* @__PURE__ */ S("button", {
286
+ onClick: () => B(i),
287
+ className: "flex-1 inline-flex items-center justify-center gap-1.5 rounded-md border border-border-subtle py-2 text-xs font-medium text-text-primary hover:bg-bg-sunken",
288
+ children: [/* @__PURE__ */ x(g, { className: "h-3 w-3" }), "View"]
289
+ }), /* @__PURE__ */ S("button", {
290
+ onClick: () => H(i),
291
+ className: "flex-1 inline-flex items-center justify-center gap-1.5 rounded-md bg-foreground py-2 text-xs font-medium text-background hover:bg-foreground/90",
292
+ children: [/* @__PURE__ */ x(_, { className: "h-3 w-3" }), "Contact"]
261
293
  })]
262
294
  })
263
295
  ]
264
- }),
265
- /* @__PURE__ */ v("div", {
266
- className: "flex flex-wrap gap-1",
267
- children: e.niche.map((e) => /* @__PURE__ */ v("span", {
268
- className: "rounded-full border border-border-subtle px-2 py-0.5 text-[10px] text-text-secondary",
269
- children: e
270
- }, e))
271
- }),
272
- /* @__PURE__ */ y("div", {
273
- className: "flex items-center gap-2 pt-2 border-t border-border-subtle",
274
- children: [/* @__PURE__ */ y("button", {
275
- className: "flex-1 inline-flex items-center justify-center gap-1.5 rounded-md border border-border-subtle py-2 text-xs font-medium text-text-primary hover:bg-bg-sunken",
276
- children: [/* @__PURE__ */ v(p, { className: "h-3 w-3" }), "View"]
277
- }), /* @__PURE__ */ y("button", {
278
- className: "flex-1 inline-flex items-center justify-center gap-1.5 rounded-md bg-foreground py-2 text-xs font-medium text-background hover:bg-foreground/90",
279
- children: [/* @__PURE__ */ v(m, { className: "h-3 w-3" }), "Contact"]
280
- })]
281
- })
282
- ]
283
- }, e.id))
296
+ }, i.id))
297
+ }),
298
+ Q.length > 0 && /* @__PURE__ */ x(s, {
299
+ page: U,
300
+ pageSize: W,
301
+ total: K,
302
+ onPageChange: q,
303
+ onPageSizeChange: J,
304
+ hideWhenSinglePage: !0
305
+ })
306
+ ]
307
+ }),
308
+ /* @__PURE__ */ x(l, {
309
+ open: !!z,
310
+ onClose: () => B(null),
311
+ influencer: z
312
+ }),
313
+ /* @__PURE__ */ x(c, {
314
+ open: !!V,
315
+ onClose: () => H(null),
316
+ influencers: X,
317
+ existingInfluencerIds: Z,
318
+ defaultInfluencerId: V?.id,
319
+ defaultStatus: i.Outreach,
320
+ onCompleted: A
284
321
  })
285
322
  ]
286
323
  });
287
324
  };
288
325
  //#endregion
289
- export { w as InfluencerDiscoveryPage };
326
+ export { D as InfluencerDiscoveryPage };
290
327
 
291
328
  //# sourceMappingURL=InfluencerDiscoveryPage.js.map