@burdenoff/microfe-headshotmarketing 2026.1205.1 → 2026.1206.1

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 (144) hide show
  1. package/dist/generated/global-types.d.ts +3589 -380
  2. package/dist/generated/wspace-operations.d.ts +101 -3
  3. package/dist/generated/wspace-operations.js.map +1 -1
  4. package/dist/generated/wspace-types.d.ts +61782 -2332
  5. package/dist/generated/wspace-types.js.map +1 -1
  6. package/dist/headshotmarketing/components/EntityTagPicker.js +29 -28
  7. package/dist/headshotmarketing/components/EntityTagPicker.js.map +1 -1
  8. package/dist/headshotmarketing/components/InfluencerModals.js +264 -263
  9. package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -1
  10. package/dist/headshotmarketing/components/QueryStateBoundary.js +31 -22
  11. package/dist/headshotmarketing/components/QueryStateBoundary.js.map +1 -1
  12. package/dist/headshotmarketing/components/StatusBadge.js +1 -1
  13. package/dist/headshotmarketing/components/StatusBadge.js.map +1 -1
  14. package/dist/headshotmarketing/components/Toast.js +3 -3
  15. package/dist/headshotmarketing/components/Toast.js.map +1 -1
  16. package/dist/headshotmarketing/components/TrackedLinksPanel.js +97 -96
  17. package/dist/headshotmarketing/components/TrackedLinksPanel.js.map +1 -1
  18. package/dist/headshotmarketing/hooks/useAssetUpload.js +41 -40
  19. package/dist/headshotmarketing/hooks/useAssetUpload.js.map +1 -1
  20. package/dist/headshotmarketing/pages/HomePage.js +6 -6
  21. package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
  22. package/dist/headshotmarketing/pages/ads/AdBudgetAiPanel.js +47 -46
  23. package/dist/headshotmarketing/pages/ads/AdBudgetAiPanel.js.map +1 -1
  24. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +66 -65
  25. package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -1
  26. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +273 -272
  27. package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
  28. package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js +3 -3
  29. package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js.map +1 -1
  30. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +125 -124
  31. package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
  32. package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js +33 -32
  33. package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js.map +1 -1
  34. package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js +108 -107
  35. package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js.map +1 -1
  36. package/dist/headshotmarketing/pages/ads/AdReachEstimatePanel.js +65 -60
  37. package/dist/headshotmarketing/pages/ads/AdReachEstimatePanel.js.map +1 -1
  38. package/dist/headshotmarketing/pages/ads/AdsPage.js +4 -4
  39. package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
  40. package/dist/headshotmarketing/pages/ads/AudiencesPage.js +287 -286
  41. package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
  42. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +59 -54
  43. package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
  44. package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js +96 -95
  45. package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js.map +1 -1
  46. package/dist/headshotmarketing/pages/ai/AiDecisionCard.js +5 -5
  47. package/dist/headshotmarketing/pages/ai/AiDecisionCard.js.map +1 -1
  48. package/dist/headshotmarketing/pages/ai/AiOperationsPage.js +179 -178
  49. package/dist/headshotmarketing/pages/ai/AiOperationsPage.js.map +1 -1
  50. package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js +156 -151
  51. package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js.map +1 -1
  52. package/dist/headshotmarketing/pages/analytics/ReportsPage.js +222 -217
  53. package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
  54. package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js +59 -58
  55. package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js.map +1 -1
  56. package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js +152 -151
  57. package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js.map +1 -1
  58. package/dist/headshotmarketing/pages/automation/AutomationPage.js +34 -33
  59. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  60. package/dist/headshotmarketing/pages/automation/TriggersPage.js +6 -6
  61. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  62. package/dist/headshotmarketing/pages/automation/WorkflowActions.js +1 -1
  63. package/dist/headshotmarketing/pages/automation/WorkflowActions.js.map +1 -1
  64. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +235 -234
  65. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  66. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js +24 -23
  67. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js.map +1 -1
  68. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +1 -1
  69. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  70. package/dist/headshotmarketing/pages/automation/workflowBuilderModel.js +4 -4
  71. package/dist/headshotmarketing/pages/automation/workflowBuilderModel.js.map +1 -1
  72. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +339 -338
  73. package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
  74. package/dist/headshotmarketing/pages/campaigns/CampaignAiPanel.js +95 -94
  75. package/dist/headshotmarketing/pages/campaigns/CampaignAiPanel.js.map +1 -1
  76. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +82 -81
  77. package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
  78. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +107 -106
  79. package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
  80. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +104 -103
  81. package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
  82. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +262 -261
  83. package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
  84. package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js +68 -67
  85. package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js.map +1 -1
  86. package/dist/headshotmarketing/pages/content/AIToolsPage.js +204 -203
  87. package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
  88. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +177 -176
  89. package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
  90. package/dist/headshotmarketing/pages/content/ContentCreationPage.js +373 -372
  91. package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
  92. package/dist/headshotmarketing/pages/content/ContentDetailsPage.js +1 -1
  93. package/dist/headshotmarketing/pages/content/ContentDetailsPage.js.map +1 -1
  94. package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +4 -4
  95. package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -1
  96. package/dist/headshotmarketing/pages/crm/ConvertLeadButton.js +51 -50
  97. package/dist/headshotmarketing/pages/crm/ConvertLeadButton.js.map +1 -1
  98. package/dist/headshotmarketing/pages/crm/CreateContactPage.js +100 -99
  99. package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
  100. package/dist/headshotmarketing/pages/crm/CreateDealPage.js +134 -133
  101. package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
  102. package/dist/headshotmarketing/pages/crm/CreatePipelineModal.js +66 -65
  103. package/dist/headshotmarketing/pages/crm/CreatePipelineModal.js.map +1 -1
  104. package/dist/headshotmarketing/pages/crm/CrmActions.js +229 -228
  105. package/dist/headshotmarketing/pages/crm/CrmActions.js.map +1 -1
  106. package/dist/headshotmarketing/pages/crm/DealNextActionPanel.js +62 -61
  107. package/dist/headshotmarketing/pages/crm/DealNextActionPanel.js.map +1 -1
  108. package/dist/headshotmarketing/pages/crm/LeadAiDecisionPanel.js +126 -125
  109. package/dist/headshotmarketing/pages/crm/LeadAiDecisionPanel.js.map +1 -1
  110. package/dist/headshotmarketing/pages/crm/LeadCreateModal.js +93 -92
  111. package/dist/headshotmarketing/pages/crm/LeadCreateModal.js.map +1 -1
  112. package/dist/headshotmarketing/pages/crm/PipelinePage.js +5 -5
  113. package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
  114. package/dist/headshotmarketing/pages/events/CreateEventPage.js +127 -126
  115. package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
  116. package/dist/headshotmarketing/pages/events/EventDetailsPage.js +76 -75
  117. package/dist/headshotmarketing/pages/events/EventDetailsPage.js.map +1 -1
  118. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +8 -8
  119. package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
  120. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +4 -4
  121. package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
  122. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +4 -4
  123. package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
  124. package/dist/headshotmarketing/pages/seo/SeoScorePanel.js +1 -1
  125. package/dist/headshotmarketing/pages/seo/SeoScorePanel.js.map +1 -1
  126. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +104 -103
  127. package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
  128. package/dist/headshotmarketing/pages/social-media/AccountsPage.js +102 -101
  129. package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
  130. package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js +59 -58
  131. package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js.map +1 -1
  132. package/dist/headshotmarketing/pages/social-media/MediaDropZone.js +1 -1
  133. package/dist/headshotmarketing/pages/social-media/MediaDropZone.js.map +1 -1
  134. package/dist/headshotmarketing/pages/social-media/PostsPage.js +103 -102
  135. package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
  136. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +123 -122
  137. package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
  138. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +4 -4
  139. package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
  140. package/dist/headshotmarketing/utils/index.d.ts +1 -0
  141. package/dist/headshotmarketing/utils/readableError.d.ts +16 -0
  142. package/dist/headshotmarketing/utils/readableError.js +12 -0
  143. package/dist/headshotmarketing/utils/readableError.js.map +1 -0
  144. package/package.json +5 -3
@@ -2,86 +2,87 @@ import { useDeleteHeadshotmarketingContactMutation as e, useDeleteHeadshotmarket
2
2
  import { HeadshotmarketingDealStatus as o, HeadshotmarketingLeadSource as s, HeadshotmarketingLeadStatus as c } from "../../../generated/wspace-types.js";
3
3
  import "../../components/index.js";
4
4
  import { Modal as l } from "../../components/Modal.js";
5
- import { TagChipsInput as u } from "../../components/TagChipsInput.js";
6
- import { ActionMenu as d } from "../../components/ActionMenu.js";
7
- import { cn as f } from "../../utils/helpers.js";
8
- import { useState as p } from "react";
9
- import { AlertTriangle as m, Pencil as h, Trash2 as g } from "lucide-react";
10
- import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
11
- import { ThemedSelect as b } from "@burdenoff/fe-libs/ui";
5
+ import { cn as u } from "../../utils/helpers.js";
6
+ import { TagChipsInput as d } from "../../components/TagChipsInput.js";
7
+ import { ActionMenu as f } from "../../components/ActionMenu.js";
8
+ import { readableError as p } from "../../utils/readableError.js";
9
+ import { useState as m } from "react";
10
+ import { AlertTriangle as h, Pencil as g, Trash2 as _ } from "lucide-react";
11
+ import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
12
+ import { ThemedSelect as x } from "@burdenoff/fe-libs/ui";
12
13
  // src/headshotmarketing/pages/crm/CrmActions.tsx
13
- var x = "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]", S = "block text-sm font-medium text-text-primary mb-1", C = ({ message: e }) => e ? /* @__PURE__ */ v("div", {
14
+ var S = "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]", C = "block text-sm font-medium text-text-primary mb-1", w = ({ message: e }) => e ? /* @__PURE__ */ y("div", {
14
15
  className: "rounded-lg border border-status-error-border/30 bg-status-error-bg/10 px-4 py-3 text-sm text-status-error-text",
15
16
  children: e
16
- }) : null, w = ({ open: e, onClose: t, title: n, description: r, saving: i, error: a, onSave: o, children: s }) => /* @__PURE__ */ v(l, {
17
+ }) : null, T = ({ open: e, onClose: t, title: n, description: r, saving: i, error: a, onSave: o, children: s }) => /* @__PURE__ */ y(l, {
17
18
  open: e,
18
19
  onClose: t,
19
20
  title: n,
20
21
  description: r,
21
22
  size: "lg",
22
- footer: /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("button", {
23
+ footer: /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y("button", {
23
24
  type: "button",
24
25
  onClick: t,
25
26
  className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
26
27
  children: "Cancel"
27
- }), /* @__PURE__ */ v("button", {
28
+ }), /* @__PURE__ */ y("button", {
28
29
  type: "button",
29
30
  onClick: o,
30
31
  disabled: i,
31
32
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-60",
32
33
  children: i ? "Saving…" : "Save changes"
33
34
  })] }),
34
- children: /* @__PURE__ */ y("div", {
35
+ children: /* @__PURE__ */ b("div", {
35
36
  className: "space-y-4",
36
- children: [s, /* @__PURE__ */ v(C, { message: a })]
37
+ children: [s, /* @__PURE__ */ y(w, { message: a })]
37
38
  })
38
- }), T = ({ open: e, onClose: t, title: n, message: r, deleting: i, error: a, onConfirm: o }) => /* @__PURE__ */ y(l, {
39
+ }), E = ({ open: e, onClose: t, title: n, message: r, deleting: i, error: a, onConfirm: o }) => /* @__PURE__ */ b(l, {
39
40
  open: e,
40
41
  onClose: t,
41
42
  title: n,
42
43
  size: "sm",
43
- footer: /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("button", {
44
+ footer: /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y("button", {
44
45
  type: "button",
45
46
  onClick: t,
46
47
  className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
47
48
  children: "Cancel"
48
- }), /* @__PURE__ */ y("button", {
49
+ }), /* @__PURE__ */ b("button", {
49
50
  type: "button",
50
51
  onClick: o,
51
52
  disabled: i,
52
53
  className: "inline-flex items-center gap-2 rounded-md bg-status-error-text px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-status-error-text/90 disabled:opacity-60",
53
- children: [/* @__PURE__ */ v(g, { className: "h-4 w-4" }), i ? "Deleting…" : "Delete"]
54
+ children: [/* @__PURE__ */ y(_, { className: "h-4 w-4" }), i ? "Deleting…" : "Delete"]
54
55
  })] }),
55
- children: [/* @__PURE__ */ y("div", {
56
+ children: [/* @__PURE__ */ b("div", {
56
57
  className: "flex items-start gap-3",
57
- children: [/* @__PURE__ */ v(m, {
58
+ children: [/* @__PURE__ */ y(h, {
58
59
  className: "mt-0.5 h-5 w-5 flex-shrink-0 text-status-error-text",
59
60
  "aria-hidden": "true"
60
- }), /* @__PURE__ */ v("p", {
61
+ }), /* @__PURE__ */ y("p", {
61
62
  className: "text-sm text-text-secondary",
62
63
  children: r
63
64
  })]
64
- }), /* @__PURE__ */ v("div", {
65
+ }), /* @__PURE__ */ y("div", {
65
66
  className: "mt-3",
66
- children: /* @__PURE__ */ v(C, { message: a })
67
+ children: /* @__PURE__ */ y(w, { message: a })
67
68
  })]
68
69
  });
69
- function E(e, t) {
70
+ function D(e, t) {
70
71
  return [{
71
72
  key: "edit",
72
73
  label: "Edit",
73
74
  onClick: e,
74
- icon: /* @__PURE__ */ v(h, { className: "h-4 w-4" })
75
+ icon: /* @__PURE__ */ y(g, { className: "h-4 w-4" })
75
76
  }, {
76
77
  key: "delete",
77
78
  label: "Delete",
78
79
  onClick: t,
79
80
  danger: !0,
80
- icon: /* @__PURE__ */ v(g, { className: "h-4 w-4" })
81
+ icon: /* @__PURE__ */ y(_, { className: "h-4 w-4" })
81
82
  }];
82
83
  }
83
- var D = ({ contact: t, onChanged: n }) => {
84
- let [i, a] = p(!1), [o, s] = p(!1), [c, l] = p({
84
+ var O = ({ contact: t, onChanged: n }) => {
85
+ let [i, a] = m(!1), [o, s] = m(!1), [c, l] = m({
85
86
  firstName: t.firstName,
86
87
  lastName: t.lastName,
87
88
  email: t.email,
@@ -89,7 +90,7 @@ var D = ({ contact: t, onChanged: n }) => {
89
90
  company: t.company,
90
91
  title: t.title,
91
92
  tags: t.tags
92
- }), [f, m] = p(null), [h, { loading: g }] = r(), [b, { loading: C }] = e(), D = () => {
93
+ }), [u, h] = m(null), [g, { loading: _ }] = r(), [x, { loading: w }] = e(), O = () => {
93
94
  l({
94
95
  firstName: t.firstName,
95
96
  lastName: t.lastName,
@@ -98,13 +99,13 @@ var D = ({ contact: t, onChanged: n }) => {
98
99
  company: t.company,
99
100
  title: t.title,
100
101
  tags: t.tags
101
- }), m(null), a(!0);
102
- }, O = async () => {
103
- if (!c.firstName.trim() || !c.lastName.trim()) m("First and last name are required.");
102
+ }), h(null), a(!0);
103
+ }, k = async () => {
104
+ if (!c.firstName.trim() || !c.lastName.trim()) h("First and last name are required.");
104
105
  else {
105
- m(null);
106
+ h(null);
106
107
  try {
107
- await h({ variables: {
108
+ await g({ variables: {
108
109
  id: t.id,
109
110
  input: {
110
111
  firstName: c.firstName,
@@ -117,51 +118,51 @@ var D = ({ contact: t, onChanged: n }) => {
117
118
  }
118
119
  } }), a(!1), n();
119
120
  } catch (e) {
120
- m(e instanceof Error ? e.message : "Failed to update contact.");
121
+ h(p(e, "Failed to update contact."));
121
122
  }
122
123
  }
123
- }, k = async () => {
124
- m(null);
124
+ }, A = async () => {
125
+ h(null);
125
126
  try {
126
- await b({ variables: { id: t.id } }), s(!1), n();
127
+ await x({ variables: { id: t.id } }), s(!1), n();
127
128
  } catch (e) {
128
- m(e instanceof Error ? e.message : "Failed to delete contact.");
129
+ h(p(e, "Failed to delete contact."));
129
130
  }
130
131
  };
131
- return /* @__PURE__ */ y(_, { children: [
132
- /* @__PURE__ */ v(d, {
132
+ return /* @__PURE__ */ b(v, { children: [
133
+ /* @__PURE__ */ y(f, {
133
134
  id: `contact-actions-${t.id}`,
134
135
  buttonLabel: `Actions for ${t.firstName} ${t.lastName}`,
135
- items: E(D, () => {
136
- m(null), s(!0);
136
+ items: D(O, () => {
137
+ h(null), s(!0);
137
138
  })
138
139
  }),
139
- /* @__PURE__ */ y(w, {
140
+ /* @__PURE__ */ b(T, {
140
141
  open: i,
141
142
  onClose: () => a(!1),
142
143
  title: "Edit contact",
143
144
  description: "Update this contact's details.",
144
- saving: g,
145
- error: f,
146
- onSave: () => void O(),
145
+ saving: _,
146
+ error: u,
147
+ onSave: () => void k(),
147
148
  children: [
148
- /* @__PURE__ */ y("div", {
149
+ /* @__PURE__ */ b("div", {
149
150
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
150
- children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
151
- className: S,
151
+ children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
152
+ className: C,
152
153
  children: "First name"
153
- }), /* @__PURE__ */ v("input", {
154
- className: x,
154
+ }), /* @__PURE__ */ y("input", {
155
+ className: S,
155
156
  value: c.firstName,
156
157
  onChange: (e) => l((t) => ({
157
158
  ...t,
158
159
  firstName: e.target.value
159
160
  }))
160
- })] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
161
- className: S,
161
+ })] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
162
+ className: C,
162
163
  children: "Last name"
163
- }), /* @__PURE__ */ v("input", {
164
- className: x,
164
+ }), /* @__PURE__ */ y("input", {
165
+ className: S,
165
166
  value: c.lastName,
166
167
  onChange: (e) => l((t) => ({
167
168
  ...t,
@@ -169,24 +170,24 @@ var D = ({ contact: t, onChanged: n }) => {
169
170
  }))
170
171
  })] })]
171
172
  }),
172
- /* @__PURE__ */ y("div", {
173
+ /* @__PURE__ */ b("div", {
173
174
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
174
- children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
175
- className: S,
175
+ children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
176
+ className: C,
176
177
  children: "Email"
177
- }), /* @__PURE__ */ v("input", {
178
+ }), /* @__PURE__ */ y("input", {
178
179
  type: "email",
179
- className: x,
180
+ className: S,
180
181
  value: c.email,
181
182
  onChange: (e) => l((t) => ({
182
183
  ...t,
183
184
  email: e.target.value
184
185
  }))
185
- })] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
186
- className: S,
186
+ })] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
187
+ className: C,
187
188
  children: "Phone"
188
- }), /* @__PURE__ */ v("input", {
189
- className: x,
189
+ }), /* @__PURE__ */ y("input", {
190
+ className: S,
190
191
  value: c.phone,
191
192
  onChange: (e) => l((t) => ({
192
193
  ...t,
@@ -194,23 +195,23 @@ var D = ({ contact: t, onChanged: n }) => {
194
195
  }))
195
196
  })] })]
196
197
  }),
197
- /* @__PURE__ */ y("div", {
198
+ /* @__PURE__ */ b("div", {
198
199
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
199
- children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
200
- className: S,
200
+ children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
201
+ className: C,
201
202
  children: "Company"
202
- }), /* @__PURE__ */ v("input", {
203
- className: x,
203
+ }), /* @__PURE__ */ y("input", {
204
+ className: S,
204
205
  value: c.company,
205
206
  onChange: (e) => l((t) => ({
206
207
  ...t,
207
208
  company: e.target.value
208
209
  }))
209
- })] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
210
- className: S,
210
+ })] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
211
+ className: C,
211
212
  children: "Title"
212
- }), /* @__PURE__ */ v("input", {
213
- className: x,
213
+ }), /* @__PURE__ */ y("input", {
214
+ className: S,
214
215
  value: c.title,
215
216
  onChange: (e) => l((t) => ({
216
217
  ...t,
@@ -218,10 +219,10 @@ var D = ({ contact: t, onChanged: n }) => {
218
219
  }))
219
220
  })] })]
220
221
  }),
221
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
222
- className: S,
222
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
223
+ className: C,
223
224
  children: "Tags"
224
- }), /* @__PURE__ */ v(u, {
225
+ }), /* @__PURE__ */ y(d, {
225
226
  value: c.tags,
226
227
  onChange: (e) => l((t) => ({
227
228
  ...t,
@@ -230,17 +231,17 @@ var D = ({ contact: t, onChanged: n }) => {
230
231
  })] })
231
232
  ]
232
233
  }),
233
- /* @__PURE__ */ v(T, {
234
+ /* @__PURE__ */ y(E, {
234
235
  open: o,
235
236
  onClose: () => s(!1),
236
237
  title: "Delete contact",
237
238
  message: `Delete ${t.firstName} ${t.lastName}? This can’t be undone.`,
238
- deleting: C,
239
- error: f,
240
- onConfirm: () => void k()
239
+ deleting: w,
240
+ error: u,
241
+ onConfirm: () => void A()
241
242
  })
242
243
  ] });
243
- }, O = [
244
+ }, k = [
244
245
  {
245
246
  value: o.Open,
246
247
  label: "Open"
@@ -258,187 +259,187 @@ var D = ({ contact: t, onChanged: n }) => {
258
259
  label: "Stale"
259
260
  }
260
261
  ];
261
- function k(e) {
262
+ function A(e) {
262
263
  return e === "closed_won" ? o.Won : e === "closed_lost" ? o.Lost : o.Open;
263
264
  }
264
- var A = ({ deal: e, onChanged: n }) => {
265
- let [r, a] = p(!1), [o, s] = p(!1), [c, l] = p(null), [m, h] = p({
265
+ var j = ({ deal: e, onChanged: n }) => {
266
+ let [r, a] = m(!1), [o, s] = m(!1), [c, l] = m(null), [h, g] = m({
266
267
  name: e.name,
267
268
  value: String(e.value ?? ""),
268
269
  probability: String(e.probability ?? ""),
269
270
  expectedCloseDate: e.expectedCloseDate ? e.expectedCloseDate.slice(0, 10) : "",
270
- status: k(e.stage),
271
+ status: A(e.stage),
271
272
  description: e.notes,
272
273
  tags: e.tags
273
- }), [g, { loading: C }] = i(), [D, { loading: A }] = t(), j = () => {
274
- h({
274
+ }), [_, { loading: w }] = i(), [O, { loading: j }] = t(), M = () => {
275
+ g({
275
276
  name: e.name,
276
277
  value: String(e.value ?? ""),
277
278
  probability: String(e.probability ?? ""),
278
279
  expectedCloseDate: e.expectedCloseDate ? e.expectedCloseDate.slice(0, 10) : "",
279
- status: k(e.stage),
280
+ status: A(e.stage),
280
281
  description: e.notes,
281
282
  tags: e.tags
282
283
  }), l(null), a(!0);
283
- }, M = async () => {
284
- if (!m.name.trim()) {
284
+ }, N = async () => {
285
+ if (!h.name.trim()) {
285
286
  l("Deal name is required.");
286
287
  return;
287
288
  }
288
- let t = Number(m.probability);
289
- if (m.probability && (!Number.isFinite(t) || t < 0 || t > 100)) {
289
+ let t = Number(h.probability);
290
+ if (h.probability && (!Number.isFinite(t) || t < 0 || t > 100)) {
290
291
  l("Probability must be between 0 and 100.");
291
292
  return;
292
293
  }
293
- let r = m.value ? Number(m.value) : null;
294
- if (m.value && (!Number.isFinite(Number(m.value)) || Number(m.value) < 0)) l("Deal value must be a valid non-negative number.");
294
+ let r = h.value ? Number(h.value) : null;
295
+ if (h.value && (!Number.isFinite(Number(h.value)) || Number(h.value) < 0)) l("Deal value must be a valid non-negative number.");
295
296
  else {
296
297
  l(null);
297
298
  try {
298
- await g({ variables: {
299
+ await _({ variables: {
299
300
  id: e.id,
300
301
  input: {
301
- title: m.name,
302
- description: m.description || null,
302
+ title: h.name,
303
+ description: h.description || null,
303
304
  value: r,
304
- probability: m.probability ? Math.round(t) : null,
305
- expectedCloseDate: m.expectedCloseDate || null,
306
- status: m.status,
307
- tags: m.tags
305
+ probability: h.probability ? Math.round(t) : null,
306
+ expectedCloseDate: h.expectedCloseDate || null,
307
+ status: h.status,
308
+ tags: h.tags
308
309
  }
309
310
  } }), a(!1), n();
310
311
  } catch (e) {
311
- l(e instanceof Error ? e.message : "Failed to update deal.");
312
+ l(p(e, "Failed to update deal."));
312
313
  }
313
314
  }
314
- }, N = async () => {
315
+ }, P = async () => {
315
316
  l(null);
316
317
  try {
317
- await D({ variables: { id: e.id } }), s(!1), n();
318
+ await O({ variables: { id: e.id } }), s(!1), n();
318
319
  } catch (e) {
319
- l(e instanceof Error ? e.message : "Failed to delete deal.");
320
+ l(p(e, "Failed to delete deal."));
320
321
  }
321
322
  };
322
- return /* @__PURE__ */ y(_, { children: [
323
- /* @__PURE__ */ v(d, {
323
+ return /* @__PURE__ */ b(v, { children: [
324
+ /* @__PURE__ */ y(f, {
324
325
  id: `deal-actions-${e.id}`,
325
326
  buttonLabel: `Actions for ${e.name}`,
326
- items: E(j, () => {
327
+ items: D(M, () => {
327
328
  l(null), s(!0);
328
329
  })
329
330
  }),
330
- /* @__PURE__ */ y(w, {
331
+ /* @__PURE__ */ b(T, {
331
332
  open: r,
332
333
  onClose: () => a(!1),
333
334
  title: "Edit deal",
334
335
  description: "Update this deal's details.",
335
- saving: C,
336
+ saving: w,
336
337
  error: c,
337
- onSave: () => void M(),
338
+ onSave: () => void N(),
338
339
  children: [
339
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
340
- className: S,
340
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
341
+ className: C,
341
342
  children: "Deal name"
342
- }), /* @__PURE__ */ v("input", {
343
- className: x,
344
- value: m.name,
345
- onChange: (e) => h((t) => ({
343
+ }), /* @__PURE__ */ y("input", {
344
+ className: S,
345
+ value: h.name,
346
+ onChange: (e) => g((t) => ({
346
347
  ...t,
347
348
  name: e.target.value
348
349
  }))
349
350
  })] }),
350
- /* @__PURE__ */ y("div", {
351
+ /* @__PURE__ */ b("div", {
351
352
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
352
- children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
353
- className: S,
353
+ children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
354
+ className: C,
354
355
  children: "Value ($)"
355
- }), /* @__PURE__ */ v("input", {
356
+ }), /* @__PURE__ */ y("input", {
356
357
  type: "number",
357
- className: x,
358
- value: m.value,
359
- onChange: (e) => h((t) => ({
358
+ className: S,
359
+ value: h.value,
360
+ onChange: (e) => g((t) => ({
360
361
  ...t,
361
362
  value: e.target.value
362
363
  }))
363
- })] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
364
- className: S,
364
+ })] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
365
+ className: C,
365
366
  children: "Probability (%)"
366
- }), /* @__PURE__ */ v("input", {
367
+ }), /* @__PURE__ */ y("input", {
367
368
  type: "number",
368
369
  min: "0",
369
370
  max: "100",
370
- className: x,
371
- value: m.probability,
372
- onChange: (e) => h((t) => ({
371
+ className: S,
372
+ value: h.probability,
373
+ onChange: (e) => g((t) => ({
373
374
  ...t,
374
375
  probability: e.target.value
375
376
  }))
376
377
  })] })]
377
378
  }),
378
- /* @__PURE__ */ y("div", {
379
+ /* @__PURE__ */ b("div", {
379
380
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
380
- children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
381
- className: S,
381
+ children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
382
+ className: C,
382
383
  children: "Status"
383
- }), /* @__PURE__ */ v(b, {
384
- className: x,
385
- value: m.status,
386
- onChange: (e) => h((t) => ({
384
+ }), /* @__PURE__ */ y(x, {
385
+ className: S,
386
+ value: h.status,
387
+ onChange: (e) => g((t) => ({
387
388
  ...t,
388
389
  status: e.target.value
389
390
  })),
390
- children: O.map((e) => /* @__PURE__ */ v("option", {
391
+ children: k.map((e) => /* @__PURE__ */ y("option", {
391
392
  value: e.value,
392
393
  children: e.label
393
394
  }, e.value))
394
- })] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
395
- className: S,
395
+ })] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
396
+ className: C,
396
397
  children: "Expected close date"
397
- }), /* @__PURE__ */ v("input", {
398
+ }), /* @__PURE__ */ y("input", {
398
399
  type: "date",
399
- className: x,
400
- value: m.expectedCloseDate,
401
- onChange: (e) => h((t) => ({
400
+ className: S,
401
+ value: h.expectedCloseDate,
402
+ onChange: (e) => g((t) => ({
402
403
  ...t,
403
404
  expectedCloseDate: e.target.value
404
405
  }))
405
406
  })] })]
406
407
  }),
407
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
408
- className: S,
408
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
409
+ className: C,
409
410
  children: "Description"
410
- }), /* @__PURE__ */ v("textarea", {
411
+ }), /* @__PURE__ */ y("textarea", {
411
412
  rows: 3,
412
- className: f(x, "resize-none"),
413
- value: m.description,
414
- onChange: (e) => h((t) => ({
413
+ className: u(S, "resize-none"),
414
+ value: h.description,
415
+ onChange: (e) => g((t) => ({
415
416
  ...t,
416
417
  description: e.target.value
417
418
  }))
418
419
  })] }),
419
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
420
- className: S,
420
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
421
+ className: C,
421
422
  children: "Tags"
422
- }), /* @__PURE__ */ v(u, {
423
- value: m.tags,
424
- onChange: (e) => h((t) => ({
423
+ }), /* @__PURE__ */ y(d, {
424
+ value: h.tags,
425
+ onChange: (e) => g((t) => ({
425
426
  ...t,
426
427
  tags: e
427
428
  }))
428
429
  })] })
429
430
  ]
430
431
  }),
431
- /* @__PURE__ */ v(T, {
432
+ /* @__PURE__ */ y(E, {
432
433
  open: o,
433
434
  onClose: () => s(!1),
434
435
  title: "Delete deal",
435
436
  message: `Delete “${e.name}”? This can’t be undone.`,
436
- deleting: A,
437
+ deleting: j,
437
438
  error: c,
438
- onConfirm: () => void N()
439
+ onConfirm: () => void P()
439
440
  })
440
441
  ] });
441
- }, j = [
442
+ }, M = [
442
443
  {
443
444
  value: c.New,
444
445
  label: "New"
@@ -463,7 +464,7 @@ var A = ({ deal: e, onChanged: n }) => {
463
464
  value: c.Lost,
464
465
  label: "Lost"
465
466
  }
466
- ], M = [
467
+ ], N = [
467
468
  {
468
469
  value: s.Website,
469
470
  label: "Website"
@@ -497,7 +498,7 @@ var A = ({ deal: e, onChanged: n }) => {
497
498
  label: "Other"
498
499
  }
499
500
  ];
500
- function N(e) {
501
+ function P(e) {
501
502
  switch (e) {
502
503
  case "contacted": return c.Contacted;
503
504
  case "qualified": return c.Qualified;
@@ -505,156 +506,156 @@ function N(e) {
505
506
  default: return c.New;
506
507
  }
507
508
  }
508
- function P(e) {
509
- let t = e.trim().toUpperCase().replace(/[\s-]+/g, "_"), n = M.find((e) => e.value === t);
509
+ function F(e) {
510
+ let t = e.trim().toUpperCase().replace(/[\s-]+/g, "_"), n = N.find((e) => e.value === t);
510
511
  return n ? n.value : s.Other;
511
512
  }
512
- var F = ({ lead: e, onChanged: t }) => {
513
- let [r, i] = p(!1), [o, s] = p(!1), [c, l] = p(null), [u, m] = p({
513
+ var I = ({ lead: e, onChanged: t }) => {
514
+ let [r, i] = m(!1), [o, s] = m(!1), [c, l] = m(null), [d, h] = m({
514
515
  title: e.title,
515
- status: N(e.status),
516
- source: P(e.source),
516
+ status: P(e.status),
517
+ source: F(e.source),
517
518
  score: String(e.score ?? ""),
518
519
  description: e.notes
519
- }), [h, { loading: g }] = a(), [C, { loading: D }] = n(), O = () => {
520
- m({
520
+ }), [g, { loading: _ }] = a(), [w, { loading: O }] = n(), k = () => {
521
+ h({
521
522
  title: e.title,
522
- status: N(e.status),
523
- source: P(e.source),
523
+ status: P(e.status),
524
+ source: F(e.source),
524
525
  score: String(e.score ?? ""),
525
526
  description: e.notes
526
527
  }), l(null), i(!0);
527
- }, k = async () => {
528
- if (!u.title.trim()) {
528
+ }, A = async () => {
529
+ if (!d.title.trim()) {
529
530
  l("Lead title is required.");
530
531
  return;
531
532
  }
532
- let n = Number(u.score);
533
- if (u.score && (!Number.isFinite(n) || n < 0 || n > 100)) l("Score must be between 0 and 100.");
533
+ let n = Number(d.score);
534
+ if (d.score && (!Number.isFinite(n) || n < 0 || n > 100)) l("Score must be between 0 and 100.");
534
535
  else {
535
536
  l(null);
536
537
  try {
537
- await h({ variables: {
538
+ await g({ variables: {
538
539
  id: e.id,
539
540
  input: {
540
- title: u.title,
541
- status: u.status,
542
- source: u.source,
543
- score: u.score ? Math.round(n) : null,
544
- description: u.description || null
541
+ title: d.title,
542
+ status: d.status,
543
+ source: d.source,
544
+ score: d.score ? Math.round(n) : null,
545
+ description: d.description || null
545
546
  }
546
547
  } }), i(!1), t();
547
548
  } catch (e) {
548
- l(e instanceof Error ? e.message : "Failed to update lead.");
549
+ l(p(e, "Failed to update lead."));
549
550
  }
550
551
  }
551
- }, A = async () => {
552
+ }, j = async () => {
552
553
  l(null);
553
554
  try {
554
- await C({ variables: { id: e.id } }), s(!1), t();
555
+ await w({ variables: { id: e.id } }), s(!1), t();
555
556
  } catch (e) {
556
- l(e instanceof Error ? e.message : "Failed to delete lead.");
557
+ l(p(e, "Failed to delete lead."));
557
558
  }
558
559
  };
559
- return /* @__PURE__ */ y(_, { children: [
560
- /* @__PURE__ */ v(d, {
560
+ return /* @__PURE__ */ b(v, { children: [
561
+ /* @__PURE__ */ y(f, {
561
562
  id: `lead-actions-${e.id}`,
562
563
  buttonLabel: `Actions for ${e.title}`,
563
- items: E(O, () => {
564
+ items: D(k, () => {
564
565
  l(null), s(!0);
565
566
  })
566
567
  }),
567
- /* @__PURE__ */ y(w, {
568
+ /* @__PURE__ */ b(T, {
568
569
  open: r,
569
570
  onClose: () => i(!1),
570
571
  title: "Edit lead",
571
572
  description: "Update this lead's stage and details.",
572
- saving: g,
573
+ saving: _,
573
574
  error: c,
574
- onSave: () => void k(),
575
+ onSave: () => void A(),
575
576
  children: [
576
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
577
- className: S,
577
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
578
+ className: C,
578
579
  children: "Title"
579
- }), /* @__PURE__ */ v("input", {
580
- className: x,
581
- value: u.title,
582
- onChange: (e) => m((t) => ({
580
+ }), /* @__PURE__ */ y("input", {
581
+ className: S,
582
+ value: d.title,
583
+ onChange: (e) => h((t) => ({
583
584
  ...t,
584
585
  title: e.target.value
585
586
  }))
586
587
  })] }),
587
- /* @__PURE__ */ y("div", {
588
+ /* @__PURE__ */ b("div", {
588
589
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
589
- children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
590
- className: S,
590
+ children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
591
+ className: C,
591
592
  children: "Status"
592
- }), /* @__PURE__ */ v(b, {
593
- className: x,
594
- value: u.status,
595
- onChange: (e) => m((t) => ({
593
+ }), /* @__PURE__ */ y(x, {
594
+ className: S,
595
+ value: d.status,
596
+ onChange: (e) => h((t) => ({
596
597
  ...t,
597
598
  status: e.target.value
598
599
  })),
599
- children: j.map((e) => /* @__PURE__ */ v("option", {
600
+ children: M.map((e) => /* @__PURE__ */ y("option", {
600
601
  value: e.value,
601
602
  children: e.label
602
603
  }, e.value))
603
- })] }), /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
604
- className: S,
604
+ })] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
605
+ className: C,
605
606
  children: "Source"
606
- }), /* @__PURE__ */ v(b, {
607
- className: x,
608
- value: u.source,
609
- onChange: (e) => m((t) => ({
607
+ }), /* @__PURE__ */ y(x, {
608
+ className: S,
609
+ value: d.source,
610
+ onChange: (e) => h((t) => ({
610
611
  ...t,
611
612
  source: e.target.value
612
613
  })),
613
- children: M.map((e) => /* @__PURE__ */ v("option", {
614
+ children: N.map((e) => /* @__PURE__ */ y("option", {
614
615
  value: e.value,
615
616
  children: e.label
616
617
  }, e.value))
617
618
  })] })]
618
619
  }),
619
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
620
- className: S,
620
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
621
+ className: C,
621
622
  children: "Score (0–100)"
622
- }), /* @__PURE__ */ v("input", {
623
+ }), /* @__PURE__ */ y("input", {
623
624
  type: "number",
624
625
  min: "0",
625
626
  max: "100",
626
- className: x,
627
- value: u.score,
628
- onChange: (e) => m((t) => ({
627
+ className: S,
628
+ value: d.score,
629
+ onChange: (e) => h((t) => ({
629
630
  ...t,
630
631
  score: e.target.value
631
632
  }))
632
633
  })] }),
633
- /* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("label", {
634
- className: S,
634
+ /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
635
+ className: C,
635
636
  children: "Notes"
636
- }), /* @__PURE__ */ v("textarea", {
637
+ }), /* @__PURE__ */ y("textarea", {
637
638
  rows: 3,
638
- className: f(x, "resize-none"),
639
- value: u.description,
640
- onChange: (e) => m((t) => ({
639
+ className: u(S, "resize-none"),
640
+ value: d.description,
641
+ onChange: (e) => h((t) => ({
641
642
  ...t,
642
643
  description: e.target.value
643
644
  }))
644
645
  })] })
645
646
  ]
646
647
  }),
647
- /* @__PURE__ */ v(T, {
648
+ /* @__PURE__ */ y(E, {
648
649
  open: o,
649
650
  onClose: () => s(!1),
650
651
  title: "Delete lead",
651
652
  message: `Delete “${e.title}”? This can’t be undone.`,
652
- deleting: D,
653
+ deleting: O,
653
654
  error: c,
654
- onConfirm: () => void A()
655
+ onConfirm: () => void j()
655
656
  })
656
657
  ] });
657
658
  };
658
- export { D as ContactActionsMenu, A as DealActionsMenu, F as LeadActionsMenu };
659
+ export { O as ContactActionsMenu, j as DealActionsMenu, I as LeadActionsMenu };
659
660
 
660
661
  //# sourceMappingURL=CrmActions.js.map