@burdenoff/microfe-headshotmarketing 2026.923.2 → 2026.924.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.
- package/dist/generated/wspace-operations.d.ts +186 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -1
- package/dist/generated/wspace-operations.js +296 -187
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.js +9 -7
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/headshotmarketing/HeadshotMarketingRoutes.d.ts +2 -0
- package/dist/headshotmarketing/HeadshotMarketingRoutes.d.ts.map +1 -1
- package/dist/headshotmarketing/HeadshotMarketingRoutes.js +52 -44
- package/dist/headshotmarketing/HeadshotMarketingRoutes.js.map +1 -1
- package/dist/headshotmarketing/components/InfluencerModals.d.ts +6 -0
- package/dist/headshotmarketing/components/InfluencerModals.d.ts.map +1 -1
- package/dist/headshotmarketing/components/InfluencerModals.js +431 -249
- package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -1
- package/dist/headshotmarketing/components/index.d.ts +1 -1
- package/dist/headshotmarketing/components/index.d.ts.map +1 -1
- package/dist/headshotmarketing/index.js +1 -1
- package/dist/headshotmarketing/pages/CustomizeDashboardModal.d.ts +12 -0
- package/dist/headshotmarketing/pages/CustomizeDashboardModal.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/CustomizeDashboardModal.js +62 -0
- package/dist/headshotmarketing/pages/CustomizeDashboardModal.js.map +1 -0
- package/dist/headshotmarketing/pages/HomePage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/HomePage.js +221 -200
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +500 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +171 -163
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/createAudienceForm.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/ads/createAudienceForm.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/analytics/SocialAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +107 -89
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.d.ts +10 -0
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js +174 -0
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.d.ts +4 -0
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js +206 -0
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js.map +1 -0
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.d.ts +2 -0
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +47 -34
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.js +4 -2
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +233 -195
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreatePipelineModal.d.ts +10 -0
- package/dist/headshotmarketing/pages/crm/CreatePipelineModal.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/crm/CreatePipelineModal.js +157 -0
- package/dist/headshotmarketing/pages/crm/CreatePipelineModal.js.map +1 -0
- package/dist/headshotmarketing/pages/crm/PipelinePage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +87 -76
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/createPipelineForm.d.ts +34 -0
- package/dist/headshotmarketing/pages/crm/createPipelineForm.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/crm/createPipelineForm.js +49 -0
- package/dist/headshotmarketing/pages/crm/createPipelineForm.js.map +1 -0
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +150 -135
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/createInfluencerForm.d.ts +53 -0
- package/dist/headshotmarketing/pages/influencers/createInfluencerForm.d.ts.map +1 -0
- package/dist/headshotmarketing/pages/influencers/createInfluencerForm.js +107 -0
- package/dist/headshotmarketing/pages/influencers/createInfluencerForm.js.map +1 -0
- package/dist/headshotmarketing/pages/social-media/createSocialAccountForm.d.ts.map +1 -1
- package/dist/headshotmarketing/pages/social-media/createSocialAccountForm.js.map +1 -1
- package/dist/headshotmarketing/store/headshotMarketingStore.d.ts +5 -5
- package/dist/headshotmarketing/store/headshotMarketingStore.d.ts.map +1 -1
- package/dist/headshotmarketing/store/headshotMarketingStore.js +28 -13
- package/dist/headshotmarketing/store/headshotMarketingStore.js.map +1 -1
- package/dist/headshotmarketing/types/index.d.ts.map +1 -1
- package/dist/headshotmarketing/utils/dashboardWidgets.d.ts +46 -0
- package/dist/headshotmarketing/utils/dashboardWidgets.d.ts.map +1 -0
- package/dist/headshotmarketing/utils/dashboardWidgets.js +54 -0
- package/dist/headshotmarketing/utils/dashboardWidgets.js.map +1 -0
- package/dist/index.js +3 -3
- package/dist/types/assistant.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
//#region src/headshotmarketing/utils/dashboardWidgets.ts
|
|
2
|
+
var e = [
|
|
3
|
+
{
|
|
4
|
+
key: "kpis",
|
|
5
|
+
labelKey: "headshotmarketing.home.customize.kpis",
|
|
6
|
+
label: "Primary KPIs",
|
|
7
|
+
descriptionKey: "headshotmarketing.home.customize.kpisDesc",
|
|
8
|
+
description: "Revenue, active campaigns, conversions and ROAS at a glance."
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
key: "secondaryMetrics",
|
|
12
|
+
labelKey: "headshotmarketing.home.customize.secondaryMetrics",
|
|
13
|
+
label: "Secondary metrics",
|
|
14
|
+
descriptionKey: "headshotmarketing.home.customize.secondaryMetricsDesc",
|
|
15
|
+
description: "Conversion rate, impressions, CTR and leads."
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
key: "monthlyGoals",
|
|
19
|
+
labelKey: "headshotmarketing.home.customize.monthlyGoals",
|
|
20
|
+
label: "Monthly goals",
|
|
21
|
+
descriptionKey: "headshotmarketing.home.customize.monthlyGoalsDesc",
|
|
22
|
+
description: "Track progress against your monthly targets."
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
key: "insights",
|
|
26
|
+
labelKey: "headshotmarketing.home.customize.insights",
|
|
27
|
+
label: "Insights & charts",
|
|
28
|
+
descriptionKey: "headshotmarketing.home.customize.insightsDesc",
|
|
29
|
+
description: "The overview, performance, audience and campaigns tabbed panel."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: "alerts",
|
|
33
|
+
labelKey: "headshotmarketing.home.customize.alerts",
|
|
34
|
+
label: "Recent alerts",
|
|
35
|
+
descriptionKey: "headshotmarketing.home.customize.alertsDesc",
|
|
36
|
+
description: "Health notices derived from your live campaign data."
|
|
37
|
+
}
|
|
38
|
+
], t = e.map((e) => e.key), n = t.reduce((e, t) => (e[t] = !0, e), {});
|
|
39
|
+
function r(e) {
|
|
40
|
+
let r = { ...n };
|
|
41
|
+
if (!e || typeof e != "object") return r;
|
|
42
|
+
for (let n of t) {
|
|
43
|
+
let t = e[n];
|
|
44
|
+
typeof t == "boolean" && (r[n] = t);
|
|
45
|
+
}
|
|
46
|
+
return r;
|
|
47
|
+
}
|
|
48
|
+
function i(e) {
|
|
49
|
+
return t.some((t) => e[t]);
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
export { e as DASHBOARD_WIDGETS, n as DEFAULT_DASHBOARD_VISIBILITY, i as hasVisibleWidget, r as normalizeDashboardVisibility };
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=dashboardWidgets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboardWidgets.js","names":[],"sources":["../../../src/headshotmarketing/utils/dashboardWidgets.ts"],"sourcesContent":["/**\n * Dashboard widget catalog + visibility helpers.\n *\n * The Home dashboard lets each user choose which sections (\"widgets\") are\n * visible via the \"Customize\" panel. The catalog below is the single source of\n * truth for the toggleable sections; the visibility map is persisted per-user\n * through the profile-scoped Zustand store.\n *\n * These helpers are intentionally pure (no React, no storage) so the merge /\n * normalization logic can be unit-tested in isolation.\n *\n * @module headshotmarketing\n */\n\n/** Stable identifiers for each customizable dashboard section. */\nexport type DashboardWidgetKey =\n | \"kpis\"\n | \"secondaryMetrics\"\n | \"monthlyGoals\"\n | \"insights\"\n | \"alerts\";\n\nexport interface DashboardWidgetDescriptor {\n key: DashboardWidgetKey;\n /** i18n key for the widget label. */\n labelKey: string;\n /** Human-readable fallback label. */\n label: string;\n /** i18n key for the widget description. */\n descriptionKey: string;\n /** Human-readable fallback description. */\n description: string;\n}\n\n/**\n * Ordered catalog of the sections the user can show/hide on the dashboard.\n * Order here drives the order of the toggles in the Customize panel.\n */\nexport const DASHBOARD_WIDGETS: readonly DashboardWidgetDescriptor[] = [\n {\n key: \"kpis\",\n labelKey: \"headshotmarketing.home.customize.kpis\",\n label: \"Primary KPIs\",\n descriptionKey: \"headshotmarketing.home.customize.kpisDesc\",\n description: \"Revenue, active campaigns, conversions and ROAS at a glance.\",\n },\n {\n key: \"secondaryMetrics\",\n labelKey: \"headshotmarketing.home.customize.secondaryMetrics\",\n label: \"Secondary metrics\",\n descriptionKey: \"headshotmarketing.home.customize.secondaryMetricsDesc\",\n description: \"Conversion rate, impressions, CTR and leads.\",\n },\n {\n key: \"monthlyGoals\",\n labelKey: \"headshotmarketing.home.customize.monthlyGoals\",\n label: \"Monthly goals\",\n descriptionKey: \"headshotmarketing.home.customize.monthlyGoalsDesc\",\n description: \"Track progress against your monthly targets.\",\n },\n {\n key: \"insights\",\n labelKey: \"headshotmarketing.home.customize.insights\",\n label: \"Insights & charts\",\n descriptionKey: \"headshotmarketing.home.customize.insightsDesc\",\n description:\n \"The overview, performance, audience and campaigns tabbed panel.\",\n },\n {\n key: \"alerts\",\n labelKey: \"headshotmarketing.home.customize.alerts\",\n label: \"Recent alerts\",\n descriptionKey: \"headshotmarketing.home.customize.alertsDesc\",\n description: \"Health notices derived from your live campaign data.\",\n },\n] as const;\n\n/** All widget keys, derived from the catalog. */\nexport const DASHBOARD_WIDGET_KEYS: readonly DashboardWidgetKey[] =\n DASHBOARD_WIDGETS.map((widget) => widget.key);\n\nexport type DashboardWidgetVisibility = Record<DashboardWidgetKey, boolean>;\n\n/** Every section is visible by default. */\nexport const DEFAULT_DASHBOARD_VISIBILITY: DashboardWidgetVisibility =\n DASHBOARD_WIDGET_KEYS.reduce((acc, key) => {\n acc[key] = true;\n return acc;\n }, {} as DashboardWidgetVisibility);\n\n/**\n * Merge a (possibly partial, possibly stale) persisted visibility map onto the\n * defaults. Unknown keys are dropped and missing keys fall back to visible, so\n * adding a new widget to the catalog never hides it for existing users and a\n * corrupted persisted value can never blank the dashboard.\n */\nexport function normalizeDashboardVisibility(\n input: Partial<Record<string, unknown>> | null | undefined,\n): DashboardWidgetVisibility {\n const result: DashboardWidgetVisibility = { ...DEFAULT_DASHBOARD_VISIBILITY };\n if (!input || typeof input !== \"object\") {\n return result;\n }\n for (const key of DASHBOARD_WIDGET_KEYS) {\n const value = input[key];\n if (typeof value === \"boolean\") {\n result[key] = value;\n }\n }\n return result;\n}\n\n/** True when at least one section is visible. */\nexport function hasVisibleWidget(\n visibility: DashboardWidgetVisibility,\n): boolean {\n return DASHBOARD_WIDGET_KEYS.some((key) => visibility[key]);\n}\n"],"mappings":";AAsCA,IAAa,IAA0D;CACrE;EACE,KAAK;EACL,UAAU;EACV,OAAO;EACP,gBAAgB;EAChB,aAAa;EACd;CACD;EACE,KAAK;EACL,UAAU;EACV,OAAO;EACP,gBAAgB;EAChB,aAAa;EACd;CACD;EACE,KAAK;EACL,UAAU;EACV,OAAO;EACP,gBAAgB;EAChB,aAAa;EACd;CACD;EACE,KAAK;EACL,UAAU;EACV,OAAO;EACP,gBAAgB;EAChB,aACE;EACH;CACD;EACE,KAAK;EACL,UAAU;EACV,OAAO;EACP,gBAAgB;EAChB,aAAa;EACd;CACF,EAGY,IACX,EAAkB,KAAK,MAAW,EAAO,IAAI,EAKlC,IACX,EAAsB,QAAQ,GAAK,OACjC,EAAI,KAAO,IACJ,IACN,EAAE,CAA8B;AAQrC,SAAgB,EACd,GAC2B;CAC3B,IAAM,IAAoC,EAAE,GAAG,GAA8B;AAC7E,KAAI,CAAC,KAAS,OAAO,KAAU,SAC7B,QAAO;AAET,MAAK,IAAM,KAAO,GAAuB;EACvC,IAAM,IAAQ,EAAM;AACpB,EAAI,OAAO,KAAU,cACnB,EAAO,KAAO;;AAGlB,QAAO;;AAIT,SAAgB,EACd,GACS;AACT,QAAO,EAAsB,MAAM,MAAQ,EAAW,GAAK"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useHeadshotMarketing as e } from "./headshotmarketing/context/HeadshotMarketingContext.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { useHeadshotMarketingStore as t } from "./headshotmarketing/store/headshotMarketingStore.js";
|
|
3
|
+
import { HeadshotMarketingRoot as n } from "./headshotmarketing/HeadshotMarketingRoot.js";
|
|
4
4
|
import "./headshotmarketing/index.js";
|
|
5
5
|
import { useSandboxAssistantTransport as r } from "./services/createSandboxAssistantTransport.js";
|
|
6
|
-
export {
|
|
6
|
+
export { n as HeadshotMarketingRoot, e as useHeadshotMarketing, t as useHeadshotMarketingStore, r as useSandboxAssistantTransport };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assistant.d.ts","sourceRoot":"","sources":["../../src/types/assistant.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"assistant.d.ts","sourceRoot":"","sources":["../../src/types/assistant.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,MAAM,aAAa,GACrB,WAAW,GACX,WAAW,GACX,SAAS,GACT,cAAc,CAAC;AAEnB,MAAM,MAAM,sBAAsB,GAC9B,MAAM,GACN,cAAc,GACd,SAAS,GACT,UAAU,GACV,OAAO,CAAC;AAEZ,MAAM,MAAM,2BAA2B,GACnC,MAAM,GACN,cAAc,GACd,YAAY,GACZ,WAAW,GACX,UAAU,GACV,OAAO,CAAC;AAEZ,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,IA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