@burdenoff/microfe-coolandlovely 2026.1123.1 → 2026.1124.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.
- package/dist/coolandlovely/CoolAndLovelyRoutes.js +29 -25
- package/dist/coolandlovely/components/intelligence/BrandCreatorMatchPanel.d.ts +6 -0
- package/dist/coolandlovely/components/intelligence/BrandCreatorMatchPanel.js +147 -0
- package/dist/coolandlovely/components/intelligence/CollectionCurationCallout.d.ts +8 -0
- package/dist/coolandlovely/components/intelligence/CollectionCurationCallout.js +109 -0
- package/dist/coolandlovely/components/intelligence/ProvenanceChip.d.ts +8 -0
- package/dist/coolandlovely/components/intelligence/ProvenanceChip.js +36 -0
- package/dist/coolandlovely/components/intelligence/WardrobeIntelligenceStrip.d.ts +2 -0
- package/dist/coolandlovely/components/intelligence/WardrobeIntelligenceStrip.js +123 -0
- package/dist/coolandlovely/hooks/index.d.ts +1 -0
- package/dist/coolandlovely/hooks/index.js +1 -0
- package/dist/coolandlovely/hooks/useStyleIntelligenceApi.d.ts +24 -0
- package/dist/coolandlovely/hooks/useStyleIntelligenceApi.js +266 -0
- package/dist/coolandlovely/pages/brands/BrandDetailPage.js +157 -155
- package/dist/coolandlovely/pages/collections/CollectionDetailPage.js +110 -105
- package/dist/coolandlovely/pages/intelligence/StyleIntelligencePage.d.ts +15 -0
- package/dist/coolandlovely/pages/intelligence/StyleIntelligencePage.js +1007 -0
- package/dist/coolandlovely/pages/wardrobe/WardrobeListPage.js +71 -69
- package/dist/coolandlovely/types/index.d.ts +1 -0
- package/dist/coolandlovely/types/intelligence.d.ts +128 -0
- package/package.json +1 -1
|
@@ -4,15 +4,15 @@ import { Suspense as n, lazy as r } from "react";
|
|
|
4
4
|
import { Navigate as i, Route as a, Routes as o, useLocation as s } from "react-router";
|
|
5
5
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
6
6
|
// src/coolandlovely/CoolAndLovelyRoutes.tsx
|
|
7
|
-
var u = r(() => import("./pages/brands/BrandsListPage.js").then((e) => ({ default: e.BrandsListPage }))), d = r(() => import("./pages/brands/BrandDetailPage.js").then((e) => ({ default: e.BrandDetailPage }))), f = r(() => import("./pages/brands/BrandFormPage.js").then((e) => ({ default: e.BrandFormPage }))), ee = r(() => import("./pages/brands/ImportCatalogPage.js").then((e) => ({ default: e.ImportCatalogPage }))), te = r(() => import("./pages/collections/CollectionsListPage.js").then((e) => ({ default: e.CollectionsListPage }))), p = r(() => import("./pages/collections/CollectionDetailPage.js").then((e) => ({ default: e.CollectionDetailPage }))), m = r(() => import("./pages/collections/CollectionFormPage.js").then((e) => ({ default: e.CollectionFormPage }))), h = r(() => import("./pages/items/StyleItemsListPage.js").then((e) => ({ default: e.StyleItemsListPage }))), g = r(() => import("./pages/items/StyleItemDetailPage.js").then((e) => ({ default: e.StyleItemDetailPage }))), _ = r(() => import("./pages/items/StyleItemFormPage.js").then((e) => ({ default: e.StyleItemFormPage }))), v = r(() => import("./pages/looks/LooksListPage.js").then((e) => ({ default: e.LooksListPage }))), y = r(() => import("./pages/looks/LookDetailPage.js").then((e) => ({ default: e.LookDetailPage }))), b = r(() => import("./pages/looks/LookFormPage.js").then((e) => ({ default: e.LookFormPage }))), x = r(() => import("./pages/collaborations/CollaborationsListPage.js").then((e) => ({ default: e.CollaborationsListPage }))), S = r(() => import("./pages/collaborations/CollaborationDetailPage.js").then((e) => ({ default: e.CollaborationDetailPage }))), C = r(() => import("./pages/collaborations/CollaborationFormPage.js").then((e) => ({ default: e.CollaborationFormPage }))), w = r(() => import("./pages/wardrobe/WardrobeListPage.js").then((e) => ({ default: e.WardrobeListPage }))), T = r(() => import("./pages/wardrobe/WardrobeFormPage.js").then((e) => ({ default: e.WardrobeFormPage }))), E = r(() => import("./pages/lookbooks/LookbooksListPage.js").then((e) => ({ default: e.LookbooksListPage }))), D = r(() => import("./pages/lookbooks/LookbookDetailPage.js").then((e) => ({ default: e.LookbookDetailPage }))), O = r(() => import("./pages/profile/StyleProfilePage.js").then((e) => ({ default: e.StyleProfilePage }))), k = r(() => import("./pages/discover/DiscoverPage.js").then((e) => ({ default: e.DiscoverPage }))), A = r(() => import("./pages/trends/TrendsPage.js").then((e) => ({ default: e.TrendsPage }))), j = r(() => import("./pages/editorial/EditorialPage.js").then((e) => ({ default: e.EditorialPage }))),
|
|
7
|
+
var u = r(() => import("./pages/brands/BrandsListPage.js").then((e) => ({ default: e.BrandsListPage }))), d = r(() => import("./pages/brands/BrandDetailPage.js").then((e) => ({ default: e.BrandDetailPage }))), f = r(() => import("./pages/brands/BrandFormPage.js").then((e) => ({ default: e.BrandFormPage }))), ee = r(() => import("./pages/brands/ImportCatalogPage.js").then((e) => ({ default: e.ImportCatalogPage }))), te = r(() => import("./pages/collections/CollectionsListPage.js").then((e) => ({ default: e.CollectionsListPage }))), p = r(() => import("./pages/collections/CollectionDetailPage.js").then((e) => ({ default: e.CollectionDetailPage }))), m = r(() => import("./pages/collections/CollectionFormPage.js").then((e) => ({ default: e.CollectionFormPage }))), h = r(() => import("./pages/items/StyleItemsListPage.js").then((e) => ({ default: e.StyleItemsListPage }))), g = r(() => import("./pages/items/StyleItemDetailPage.js").then((e) => ({ default: e.StyleItemDetailPage }))), _ = r(() => import("./pages/items/StyleItemFormPage.js").then((e) => ({ default: e.StyleItemFormPage }))), v = r(() => import("./pages/looks/LooksListPage.js").then((e) => ({ default: e.LooksListPage }))), y = r(() => import("./pages/looks/LookDetailPage.js").then((e) => ({ default: e.LookDetailPage }))), b = r(() => import("./pages/looks/LookFormPage.js").then((e) => ({ default: e.LookFormPage }))), x = r(() => import("./pages/collaborations/CollaborationsListPage.js").then((e) => ({ default: e.CollaborationsListPage }))), S = r(() => import("./pages/collaborations/CollaborationDetailPage.js").then((e) => ({ default: e.CollaborationDetailPage }))), C = r(() => import("./pages/collaborations/CollaborationFormPage.js").then((e) => ({ default: e.CollaborationFormPage }))), w = r(() => import("./pages/wardrobe/WardrobeListPage.js").then((e) => ({ default: e.WardrobeListPage }))), T = r(() => import("./pages/wardrobe/WardrobeFormPage.js").then((e) => ({ default: e.WardrobeFormPage }))), E = r(() => import("./pages/lookbooks/LookbooksListPage.js").then((e) => ({ default: e.LookbooksListPage }))), D = r(() => import("./pages/lookbooks/LookbookDetailPage.js").then((e) => ({ default: e.LookbookDetailPage }))), O = r(() => import("./pages/profile/StyleProfilePage.js").then((e) => ({ default: e.StyleProfilePage }))), k = r(() => import("./pages/discover/DiscoverPage.js").then((e) => ({ default: e.DiscoverPage }))), A = r(() => import("./pages/trends/TrendsPage.js").then((e) => ({ default: e.TrendsPage }))), j = r(() => import("./pages/intelligence/StyleIntelligencePage.js").then((e) => ({ default: e.StyleIntelligencePage }))), ne = r(() => import("./pages/editorial/EditorialPage.js").then((e) => ({ default: e.EditorialPage }))), M = r(() => import("./pages/marketplace/CreatorMarketplacePage.js").then((e) => ({ default: e.CreatorMarketplacePage }))), N = r(() => import("./pages/resale/ResaleBrowsePage.js").then((e) => ({ default: e.ResaleBrowsePage }))), P = r(() => import("./pages/resale/ResaleListingPage.js").then((e) => ({ default: e.ResaleListingPage }))), F = r(() => import("./pages/resale/ResaleSellerPage.js").then((e) => ({ default: e.ResaleSellerPage }))), I = r(() => import("./pages/resale/ResaleReportsPage.js").then((e) => ({ default: e.ResaleReportsPage }))), L = r(() => import("./pages/resale/ResaleModerationPage.js").then((e) => ({ default: e.ResaleModerationPage }))), R = r(() => import("./pages/messages/DirectMessagesPage.js").then((e) => ({ default: e.DirectMessagesPage }))), z = r(() => import("./pages/commerce/TryAtHomePage.js").then((e) => ({ default: e.TryAtHomePage }))), B = r(() => import("./pages/commerce/BrandAdsPage.js").then((e) => ({ default: e.BrandAdsPage }))), V = r(() => import("./pages/commerce/CartPage.js").then((e) => ({ default: e.CartPage }))), H = r(() => import("./pages/commerce/BrandOrdersPage.js").then((e) => ({ default: e.BrandOrdersPage }))), U = r(() => import("./pages/commerce/BrandOrdersPage.js").then((e) => ({ default: e.BrandOrderDetailPage }))), W = r(() => import("./pages/commerce/OrdersPage.js").then((e) => ({ default: e.OrdersPage }))), G = r(() => import("./pages/commerce/OrdersPage.js").then((e) => ({ default: e.OrderDetailPage }))), K = r(() => import("./pages/commerce/CreatorEarningsPage.js").then((e) => ({ default: e.CreatorEarningsPage }))), q = r(() => import("./pages/admin/AdminBrandsPage.js").then((e) => ({ default: e.AdminBrandsPage }))), J = r(() => import("./pages/admin/AdminCollaborationsPage.js").then((e) => ({ default: e.AdminCollaborationsPage }))), Y = r(() => import("./pages/admin/AdminFeaturedItemsPage.js").then((e) => ({ default: e.AdminFeaturedItemsPage }))), X = () => /* @__PURE__ */ c("div", {
|
|
8
8
|
className: "flex min-h-[400px] items-center justify-center",
|
|
9
9
|
children: /* @__PURE__ */ c("div", { className: "h-8 w-8 animate-spin rounded-full border-b-2 border-primary" })
|
|
10
|
-
}),
|
|
11
|
-
let { basePath: r, isStandalone:
|
|
12
|
-
return $ && !
|
|
10
|
+
}), Z = () => {
|
|
11
|
+
let { basePath: r, isStandalone: Z, workspaceId: re, currentUser: ie } = e(), Q = s(), $ = r === "/" ? "" : (r ?? "").replace(/\/$/, "");
|
|
12
|
+
return $ && !Z && !(Q.pathname === $ || Q.pathname.startsWith($ + "/")) ? null : /* @__PURE__ */ c("div", {
|
|
13
13
|
className: "flex min-h-full flex-col",
|
|
14
14
|
children: /* @__PURE__ */ c(n, {
|
|
15
|
-
fallback: /* @__PURE__ */ c(
|
|
15
|
+
fallback: /* @__PURE__ */ c(X, {}),
|
|
16
16
|
children: /* @__PURE__ */ l(o, { children: [
|
|
17
17
|
/* @__PURE__ */ c(a, {
|
|
18
18
|
index: !0,
|
|
@@ -130,69 +130,73 @@ var u = r(() => import("./pages/brands/BrandsListPage.js").then((e) => ({ defaul
|
|
|
130
130
|
path: "trends",
|
|
131
131
|
element: /* @__PURE__ */ c(A, {})
|
|
132
132
|
}),
|
|
133
|
+
/* @__PURE__ */ c(a, {
|
|
134
|
+
path: "intelligence",
|
|
135
|
+
element: /* @__PURE__ */ c(j, {})
|
|
136
|
+
}),
|
|
133
137
|
/* @__PURE__ */ c(a, {
|
|
134
138
|
path: "journal",
|
|
135
|
-
element: /* @__PURE__ */ c(
|
|
139
|
+
element: /* @__PURE__ */ c(ne, {}, `${re ?? ""}:${ie?.id ?? ""}`)
|
|
136
140
|
}),
|
|
137
141
|
/* @__PURE__ */ c(a, {
|
|
138
142
|
path: "cart",
|
|
139
|
-
element: /* @__PURE__ */ c(
|
|
143
|
+
element: /* @__PURE__ */ c(V, {})
|
|
140
144
|
}),
|
|
141
145
|
/* @__PURE__ */ c(a, {
|
|
142
146
|
path: "orders",
|
|
143
|
-
element: /* @__PURE__ */ c(
|
|
147
|
+
element: /* @__PURE__ */ c(W, {})
|
|
144
148
|
}),
|
|
145
149
|
/* @__PURE__ */ c(a, {
|
|
146
150
|
path: "orders/:orderId",
|
|
147
|
-
element: /* @__PURE__ */ c(
|
|
151
|
+
element: /* @__PURE__ */ c(G, {})
|
|
148
152
|
}),
|
|
149
153
|
/* @__PURE__ */ c(a, {
|
|
150
154
|
path: "earnings",
|
|
151
|
-
element: /* @__PURE__ */ c(
|
|
155
|
+
element: /* @__PURE__ */ c(K, {})
|
|
152
156
|
}),
|
|
153
157
|
/* @__PURE__ */ c(a, {
|
|
154
158
|
path: "creator-marketplace",
|
|
155
|
-
element: /* @__PURE__ */ c(
|
|
159
|
+
element: /* @__PURE__ */ c(M, {})
|
|
156
160
|
}),
|
|
157
161
|
/* @__PURE__ */ c(a, {
|
|
158
162
|
path: "resale",
|
|
159
|
-
element: /* @__PURE__ */ c(
|
|
163
|
+
element: /* @__PURE__ */ c(N, {})
|
|
160
164
|
}),
|
|
161
165
|
/* @__PURE__ */ c(a, {
|
|
162
166
|
path: "resale/listings/:listingId",
|
|
163
|
-
element: /* @__PURE__ */ c(
|
|
167
|
+
element: /* @__PURE__ */ c(P, {})
|
|
164
168
|
}),
|
|
165
169
|
/* @__PURE__ */ c(a, {
|
|
166
170
|
path: "resale/seller",
|
|
167
|
-
element: /* @__PURE__ */ c(
|
|
171
|
+
element: /* @__PURE__ */ c(F, {})
|
|
168
172
|
}),
|
|
169
173
|
/* @__PURE__ */ c(a, {
|
|
170
174
|
path: "resale/reports",
|
|
171
|
-
element: /* @__PURE__ */ c(
|
|
175
|
+
element: /* @__PURE__ */ c(I, {})
|
|
172
176
|
}),
|
|
173
177
|
/* @__PURE__ */ c(a, {
|
|
174
178
|
path: "resale/moderation",
|
|
175
|
-
element: /* @__PURE__ */ c(
|
|
179
|
+
element: /* @__PURE__ */ c(L, {})
|
|
176
180
|
}),
|
|
177
181
|
/* @__PURE__ */ c(a, {
|
|
178
182
|
path: "messages",
|
|
179
|
-
element: /* @__PURE__ */ c(
|
|
183
|
+
element: /* @__PURE__ */ c(R, {})
|
|
180
184
|
}),
|
|
181
185
|
/* @__PURE__ */ c(a, {
|
|
182
186
|
path: "try-at-home",
|
|
183
|
-
element: /* @__PURE__ */ c(
|
|
187
|
+
element: /* @__PURE__ */ c(z, {})
|
|
184
188
|
}),
|
|
185
189
|
/* @__PURE__ */ c(a, {
|
|
186
190
|
path: "ads",
|
|
187
|
-
element: /* @__PURE__ */ c(
|
|
191
|
+
element: /* @__PURE__ */ c(B, {})
|
|
188
192
|
}),
|
|
189
193
|
/* @__PURE__ */ c(a, {
|
|
190
194
|
path: "brand-orders",
|
|
191
|
-
element: /* @__PURE__ */ c(
|
|
195
|
+
element: /* @__PURE__ */ c(H, {})
|
|
192
196
|
}),
|
|
193
197
|
/* @__PURE__ */ c(a, {
|
|
194
198
|
path: "brand-orders/:brandId/:orderId",
|
|
195
|
-
element: /* @__PURE__ */ c(
|
|
199
|
+
element: /* @__PURE__ */ c(U, {})
|
|
196
200
|
}),
|
|
197
201
|
/* @__PURE__ */ c(a, {
|
|
198
202
|
path: "admin",
|
|
@@ -203,15 +207,15 @@ var u = r(() => import("./pages/brands/BrandsListPage.js").then((e) => ({ defaul
|
|
|
203
207
|
}),
|
|
204
208
|
/* @__PURE__ */ c(a, {
|
|
205
209
|
path: "admin/brands",
|
|
206
|
-
element: /* @__PURE__ */ c(
|
|
210
|
+
element: /* @__PURE__ */ c(q, {})
|
|
207
211
|
}),
|
|
208
212
|
/* @__PURE__ */ c(a, {
|
|
209
213
|
path: "admin/collaborations",
|
|
210
|
-
element: /* @__PURE__ */ c(
|
|
214
|
+
element: /* @__PURE__ */ c(J, {})
|
|
211
215
|
}),
|
|
212
216
|
/* @__PURE__ */ c(a, {
|
|
213
217
|
path: "admin/featured-items",
|
|
214
|
-
element: /* @__PURE__ */ c(
|
|
218
|
+
element: /* @__PURE__ */ c(Y, {})
|
|
215
219
|
}),
|
|
216
220
|
/* @__PURE__ */ c(a, {
|
|
217
221
|
path: "*",
|
|
@@ -224,4 +228,4 @@ var u = r(() => import("./pages/brands/BrandsListPage.js").then((e) => ({ defaul
|
|
|
224
228
|
})
|
|
225
229
|
});
|
|
226
230
|
};
|
|
227
|
-
export {
|
|
231
|
+
export { Z as CoolAndLovelyRoutes };
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { ActorName as e } from "../ActorName.js";
|
|
2
|
+
import { useContextNavigation as t } from "../../hooks/useContextNavigation.js";
|
|
3
|
+
import { useCreateCollaboration as n } from "../../hooks/useCoolAndLovelyApi.js";
|
|
4
|
+
import { isQuotaExhaustedError as r, useSuggestCollaborationMatch as i } from "../../hooks/useStyleIntelligenceApi.js";
|
|
5
|
+
import { ProvenanceChip as a } from "./ProvenanceChip.js";
|
|
6
|
+
import { useState as o } from "react";
|
|
7
|
+
import { ArrowRight as s, Check as c, Handshake as l, Loader2 as u, Sparkles as d } from "lucide-react";
|
|
8
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
9
|
+
import { GlassCard as m } from "@burdenoff/fe-libs/ui";
|
|
10
|
+
// src/coolandlovely/components/intelligence/BrandCreatorMatchPanel.tsx
|
|
11
|
+
var h = ({ brandId: h }) => {
|
|
12
|
+
let g = t(), _ = i(), v = n(), [y, b] = o(null), [x, S] = o({}), C = _.data, w = _.isError && r(_.error), T = (e) => {
|
|
13
|
+
v.mutate({
|
|
14
|
+
brandId: e.draft.brandId,
|
|
15
|
+
creatorId: e.draft.creatorId,
|
|
16
|
+
title: e.draft.title,
|
|
17
|
+
brief: e.draft.brief,
|
|
18
|
+
role: e.draft.role
|
|
19
|
+
}, { onSuccess: (t) => {
|
|
20
|
+
S((n) => ({
|
|
21
|
+
...n,
|
|
22
|
+
[e.creatorId]: t.id
|
|
23
|
+
})), b(null);
|
|
24
|
+
} });
|
|
25
|
+
};
|
|
26
|
+
return /* @__PURE__ */ p(m, {
|
|
27
|
+
treatment: "plain",
|
|
28
|
+
className: "p-5",
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ f("div", {
|
|
31
|
+
className: "flex items-start justify-between gap-2",
|
|
32
|
+
children: /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ p("h3", {
|
|
33
|
+
className: "flex items-center gap-1.5 text-sm font-semibold text-text-primary",
|
|
34
|
+
children: [/* @__PURE__ */ f(l, { className: "h-4 w-4" }), " Suggested creator matches"]
|
|
35
|
+
}), /* @__PURE__ */ f("p", {
|
|
36
|
+
className: "mt-0.5 text-xs text-text-secondary",
|
|
37
|
+
children: "Rank creators by aesthetic overlap with this storefront's active catalog."
|
|
38
|
+
})] })
|
|
39
|
+
}),
|
|
40
|
+
/* @__PURE__ */ p("div", {
|
|
41
|
+
className: "mt-3 flex flex-wrap items-center gap-2",
|
|
42
|
+
children: [/* @__PURE__ */ p("button", {
|
|
43
|
+
type: "button",
|
|
44
|
+
disabled: _.isPending,
|
|
45
|
+
onClick: () => _.mutate({
|
|
46
|
+
brandId: h,
|
|
47
|
+
limit: 5
|
|
48
|
+
}),
|
|
49
|
+
className: "inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-3 py-1.5 text-xs font-medium text-action-primary-text transition-colors hover:bg-action-primary-bg/90 disabled:opacity-50",
|
|
50
|
+
children: [_.isPending ? /* @__PURE__ */ f(u, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ f(d, { className: "h-3.5 w-3.5" }), C ? "Refresh matches" : "Find creator matches"]
|
|
51
|
+
}), /* @__PURE__ */ p("button", {
|
|
52
|
+
type: "button",
|
|
53
|
+
onClick: () => g(`/intelligence?tab=brand&brandId=${encodeURIComponent(h)}`),
|
|
54
|
+
className: "inline-flex items-center gap-1 rounded-lg border border-border-seam px-3 py-1.5 text-xs font-medium text-text-primary transition-colors hover:bg-bg-sunken",
|
|
55
|
+
children: ["Full studio ", /* @__PURE__ */ f(s, { className: "h-3.5 w-3.5" })]
|
|
56
|
+
})]
|
|
57
|
+
}),
|
|
58
|
+
w && /* @__PURE__ */ f("p", {
|
|
59
|
+
role: "status",
|
|
60
|
+
className: "mt-3 text-xs text-text-secondary",
|
|
61
|
+
children: "AI decision quota reached for this cycle. You can still propose collaborations manually under Collaborations."
|
|
62
|
+
}),
|
|
63
|
+
_.isError && !w && /* @__PURE__ */ f("p", {
|
|
64
|
+
role: "status",
|
|
65
|
+
className: "mt-3 text-xs text-text-secondary",
|
|
66
|
+
children: "Creator matching is temporarily unavailable. Manual collaboration creation stays open."
|
|
67
|
+
}),
|
|
68
|
+
C && /* @__PURE__ */ p("div", {
|
|
69
|
+
className: "mt-3 space-y-3 border-t border-border-seam pt-3",
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ f(a, { provenance: C.provenance }),
|
|
72
|
+
C.matches.length === 0 ? /* @__PURE__ */ f("p", {
|
|
73
|
+
className: "text-xs text-text-secondary",
|
|
74
|
+
children: "No eligible creator matches yet — publish active catalog pieces and public looks to compute fit scores."
|
|
75
|
+
}) : /* @__PURE__ */ f("ul", {
|
|
76
|
+
className: "space-y-2.5",
|
|
77
|
+
children: C.matches.slice(0, 3).map((t) => {
|
|
78
|
+
let n = x[t.creatorId], r = y === t.creatorId;
|
|
79
|
+
return /* @__PURE__ */ p("li", {
|
|
80
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-3 text-xs",
|
|
81
|
+
children: [
|
|
82
|
+
/* @__PURE__ */ p("div", {
|
|
83
|
+
className: "flex items-center justify-between gap-2",
|
|
84
|
+
children: [/* @__PURE__ */ f("span", {
|
|
85
|
+
className: "font-semibold text-text-primary",
|
|
86
|
+
children: /* @__PURE__ */ f(e, { id: t.creatorId })
|
|
87
|
+
}), /* @__PURE__ */ p("span", {
|
|
88
|
+
className: "rounded-full bg-bg-sunken px-2 py-0.5 text-[11px] font-medium tabular-nums text-text-primary",
|
|
89
|
+
children: [Math.round(t.fitScore * 100), "% fit"]
|
|
90
|
+
})]
|
|
91
|
+
}),
|
|
92
|
+
/* @__PURE__ */ f("p", {
|
|
93
|
+
className: "mt-1 line-clamp-2 text-text-secondary",
|
|
94
|
+
children: t.draft.brief
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ f("div", {
|
|
97
|
+
className: "mt-2 flex flex-wrap items-center gap-2",
|
|
98
|
+
children: n ? /* @__PURE__ */ p("button", {
|
|
99
|
+
type: "button",
|
|
100
|
+
onClick: () => g(`/collaborations/${n}`),
|
|
101
|
+
className: "inline-flex items-center gap-1 font-medium text-status-success-text underline",
|
|
102
|
+
children: [/* @__PURE__ */ f(c, { className: "h-3.5 w-3.5" }), " Proposed — view collaboration"]
|
|
103
|
+
}) : r ? /* @__PURE__ */ p("div", {
|
|
104
|
+
className: "w-full space-y-2 rounded-md border border-border-seam bg-bg-sunken p-2",
|
|
105
|
+
children: [/* @__PURE__ */ p("p", {
|
|
106
|
+
className: "text-[11px] text-text-primary",
|
|
107
|
+
children: [
|
|
108
|
+
"Confirm creating a ",
|
|
109
|
+
/* @__PURE__ */ f("strong", { children: "PROPOSED" }),
|
|
110
|
+
" collaboration with this creator? You can cancel or delete it while still in PROPOSED status."
|
|
111
|
+
]
|
|
112
|
+
}), /* @__PURE__ */ p("div", {
|
|
113
|
+
className: "flex items-center gap-2",
|
|
114
|
+
children: [/* @__PURE__ */ p("button", {
|
|
115
|
+
type: "button",
|
|
116
|
+
disabled: v.isPending,
|
|
117
|
+
onClick: () => T(t),
|
|
118
|
+
className: "inline-flex items-center gap-1 rounded bg-action-primary-bg px-2.5 py-1 text-[11px] font-medium text-action-primary-text disabled:opacity-50",
|
|
119
|
+
children: [v.isPending && /* @__PURE__ */ f(u, { className: "h-3 w-3 animate-spin" }), "Confirm propose"]
|
|
120
|
+
}), /* @__PURE__ */ f("button", {
|
|
121
|
+
type: "button",
|
|
122
|
+
onClick: () => b(null),
|
|
123
|
+
className: "rounded border border-border-seam px-2.5 py-1 text-[11px] font-medium text-text-primary",
|
|
124
|
+
children: "Cancel"
|
|
125
|
+
})]
|
|
126
|
+
})]
|
|
127
|
+
}) : /* @__PURE__ */ f("button", {
|
|
128
|
+
type: "button",
|
|
129
|
+
onClick: () => b(t.creatorId),
|
|
130
|
+
className: "inline-flex items-center gap-1 rounded-md border border-border-seam px-2.5 py-1 text-[11px] font-medium text-text-primary hover:bg-bg-sunken",
|
|
131
|
+
children: "Open as PROPOSED collaboration"
|
|
132
|
+
})
|
|
133
|
+
})
|
|
134
|
+
]
|
|
135
|
+
}, t.creatorId);
|
|
136
|
+
})
|
|
137
|
+
}),
|
|
138
|
+
v.isError && /* @__PURE__ */ f("p", {
|
|
139
|
+
className: "text-xs text-status-error-text",
|
|
140
|
+
children: v.error instanceof Error ? v.error.message : "Could not create collaboration"
|
|
141
|
+
})
|
|
142
|
+
]
|
|
143
|
+
})
|
|
144
|
+
]
|
|
145
|
+
});
|
|
146
|
+
};
|
|
147
|
+
export { h as BrandCreatorMatchPanel };
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { useCoolAndLovely as e } from "../../context/CoolAndLovelyContext.js";
|
|
2
|
+
import { formatBlockerLabel as t, isQuotaExhaustedError as n, useCurateCollection as r } from "../../hooks/useStyleIntelligenceApi.js";
|
|
3
|
+
import { titleCase as i } from "../../utils/formatters.js";
|
|
4
|
+
import { ProvenanceChip as a } from "./ProvenanceChip.js";
|
|
5
|
+
import { AlertTriangle as o, ArrowRight as s, Loader2 as c, Sparkles as l } from "lucide-react";
|
|
6
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
7
|
+
import { GlassCard as f } from "@burdenoff/fe-libs/ui";
|
|
8
|
+
// src/coolandlovely/components/intelligence/CollectionCurationCallout.tsx
|
|
9
|
+
var p = ({ brandId: p, season: m }) => {
|
|
10
|
+
let { navigateTo: h } = e(), g = r(), _ = g.data, v = g.isError && n(g.error);
|
|
11
|
+
return /* @__PURE__ */ d(f, {
|
|
12
|
+
treatment: "plain",
|
|
13
|
+
className: "p-5",
|
|
14
|
+
children: [
|
|
15
|
+
/* @__PURE__ */ u("div", {
|
|
16
|
+
className: "flex items-start justify-between gap-2",
|
|
17
|
+
children: /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ d("h3", {
|
|
18
|
+
className: "flex items-center gap-1.5 text-sm font-semibold text-text-primary",
|
|
19
|
+
children: [/* @__PURE__ */ u(l, { className: "h-4 w-4" }), " Drop readiness check"]
|
|
20
|
+
}), /* @__PURE__ */ d("p", {
|
|
21
|
+
className: "mt-0.5 text-xs text-text-secondary",
|
|
22
|
+
children: [
|
|
23
|
+
"Check draft ",
|
|
24
|
+
i(m),
|
|
25
|
+
" pieces for palette coherence and publish blockers."
|
|
26
|
+
]
|
|
27
|
+
})] })
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ d("div", {
|
|
30
|
+
className: "mt-3 flex flex-wrap items-center gap-2",
|
|
31
|
+
children: [/* @__PURE__ */ d("button", {
|
|
32
|
+
type: "button",
|
|
33
|
+
disabled: g.isPending,
|
|
34
|
+
onClick: () => g.mutate({
|
|
35
|
+
brandId: p,
|
|
36
|
+
season: m
|
|
37
|
+
}),
|
|
38
|
+
className: "inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-3 py-1.5 text-xs font-medium text-action-primary-text transition-colors hover:bg-action-primary-bg/90 disabled:opacity-50",
|
|
39
|
+
children: [g.isPending ? /* @__PURE__ */ u(c, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ u(l, { className: "h-3.5 w-3.5" }), _ ? "Re-check drafts" : "Run curation check"]
|
|
40
|
+
}), /* @__PURE__ */ d("button", {
|
|
41
|
+
type: "button",
|
|
42
|
+
onClick: () => h(`/intelligence?tab=brand&brandId=${encodeURIComponent(p)}&season=${encodeURIComponent(m)}`),
|
|
43
|
+
className: "inline-flex items-center gap-1 rounded-lg border border-border-seam px-3 py-1.5 text-xs font-medium text-text-primary transition-colors hover:bg-bg-sunken",
|
|
44
|
+
children: ["Full curation view ", /* @__PURE__ */ u(s, { className: "h-3.5 w-3.5" })]
|
|
45
|
+
})]
|
|
46
|
+
}),
|
|
47
|
+
v && /* @__PURE__ */ u("p", {
|
|
48
|
+
role: "status",
|
|
49
|
+
className: "mt-3 text-xs text-text-secondary",
|
|
50
|
+
children: "AI decision quota reached for this cycle. You can still review and publish pieces manually."
|
|
51
|
+
}),
|
|
52
|
+
g.isError && !v && /* @__PURE__ */ u("p", {
|
|
53
|
+
role: "status",
|
|
54
|
+
className: "mt-3 text-xs text-text-secondary",
|
|
55
|
+
children: "Curation check is temporarily unavailable. Manual editing and publishing stay active."
|
|
56
|
+
}),
|
|
57
|
+
_ && /* @__PURE__ */ d("div", {
|
|
58
|
+
className: "mt-3 space-y-2.5 border-t border-border-seam pt-3",
|
|
59
|
+
children: [
|
|
60
|
+
/* @__PURE__ */ u("div", {
|
|
61
|
+
className: "flex flex-wrap items-center justify-between gap-2 text-xs text-text-secondary",
|
|
62
|
+
children: /* @__PURE__ */ d("span", { children: [
|
|
63
|
+
/* @__PURE__ */ u("strong", {
|
|
64
|
+
className: "text-text-primary",
|
|
65
|
+
children: _.proposed.length
|
|
66
|
+
}),
|
|
67
|
+
" proposed ·",
|
|
68
|
+
" ",
|
|
69
|
+
/* @__PURE__ */ u("strong", {
|
|
70
|
+
className: "text-text-primary",
|
|
71
|
+
children: _.blockedCount
|
|
72
|
+
}),
|
|
73
|
+
" with blockers ·",
|
|
74
|
+
" ",
|
|
75
|
+
/* @__PURE__ */ u("strong", {
|
|
76
|
+
className: "text-text-primary",
|
|
77
|
+
children: _.outliers.length
|
|
78
|
+
}),
|
|
79
|
+
" outliers"
|
|
80
|
+
] })
|
|
81
|
+
}),
|
|
82
|
+
/* @__PURE__ */ u(a, { provenance: _.provenance }),
|
|
83
|
+
_.proposed.filter((e) => e.blockers.length > 0).length > 0 && /* @__PURE__ */ u("ul", {
|
|
84
|
+
className: "space-y-1.5 pt-1",
|
|
85
|
+
children: _.proposed.filter((e) => e.blockers.length > 0).slice(0, 4).map((e) => /* @__PURE__ */ d("li", {
|
|
86
|
+
className: "flex items-start justify-between gap-2 rounded-md border border-border-seam bg-bg-sunken/50 px-2.5 py-2 text-xs",
|
|
87
|
+
children: [/* @__PURE__ */ d("div", {
|
|
88
|
+
className: "min-w-0",
|
|
89
|
+
children: [/* @__PURE__ */ u("p", {
|
|
90
|
+
className: "truncate font-medium text-text-primary",
|
|
91
|
+
children: e.styleItem.name
|
|
92
|
+
}), /* @__PURE__ */ d("p", {
|
|
93
|
+
className: "mt-0.5 flex items-center gap-1 text-[11px] text-status-error-text",
|
|
94
|
+
children: [/* @__PURE__ */ u(o, { className: "h-3 w-3 shrink-0" }), e.blockers.map((e) => t(e.code)).join(", ")]
|
|
95
|
+
})]
|
|
96
|
+
}), /* @__PURE__ */ u("button", {
|
|
97
|
+
type: "button",
|
|
98
|
+
onClick: () => h(`/items/${e.styleItemId}/edit`),
|
|
99
|
+
className: "shrink-0 font-medium text-text-primary underline",
|
|
100
|
+
children: "Fix"
|
|
101
|
+
})]
|
|
102
|
+
}, e.styleItemId))
|
|
103
|
+
})
|
|
104
|
+
]
|
|
105
|
+
})
|
|
106
|
+
]
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
export { p as CollectionCurationCallout };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { formatProvenanceLabel as e } from "../../hooks/useStyleIntelligenceApi.js";
|
|
2
|
+
import { cn as t } from "../../utils/cn.js";
|
|
3
|
+
import { Cpu as n, Sparkles as r } from "lucide-react";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
// src/coolandlovely/components/intelligence/ProvenanceChip.tsx
|
|
6
|
+
var o = ({ provenance: o, className: s }) => {
|
|
7
|
+
let c = o.decisionId.slice(0, 8);
|
|
8
|
+
return /* @__PURE__ */ a("div", {
|
|
9
|
+
className: t("inline-flex flex-wrap items-center gap-2 rounded-full border border-border-seam bg-bg-sunken px-3 py-1 text-xs text-text-secondary", s),
|
|
10
|
+
title: `Decision ${o.decisionId} (${o.decision})`,
|
|
11
|
+
children: [
|
|
12
|
+
o.modelBacked ? /* @__PURE__ */ i(r, { className: "h-3.5 w-3.5 shrink-0 text-text-primary" }) : /* @__PURE__ */ i(n, { className: "h-3.5 w-3.5 shrink-0 text-text-secondary" }),
|
|
13
|
+
/* @__PURE__ */ i("span", {
|
|
14
|
+
className: "font-medium text-text-primary",
|
|
15
|
+
children: e(o)
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ i("span", {
|
|
18
|
+
"aria-hidden": "true",
|
|
19
|
+
children: "·"
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ a("span", {
|
|
22
|
+
className: "tabular-nums",
|
|
23
|
+
children: [o.candidateCount, " candidates"]
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ i("span", {
|
|
26
|
+
"aria-hidden": "true",
|
|
27
|
+
children: "·"
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ i("span", {
|
|
30
|
+
className: "font-mono text-[11px]",
|
|
31
|
+
children: c
|
|
32
|
+
})
|
|
33
|
+
]
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
export { o as ProvenanceChip };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { useContextNavigation as e } from "../../hooks/useContextNavigation.js";
|
|
2
|
+
import { formatFindingKindLabel as t, isQuotaExhaustedError as n, isRewearFinding as r, useAnalyzeWardrobeGaps as i } from "../../hooks/useStyleIntelligenceApi.js";
|
|
3
|
+
import { ProvenanceChip as a } from "./ProvenanceChip.js";
|
|
4
|
+
import { AlertTriangle as o, ArrowRight as s, Loader2 as c, Sparkles as l } from "lucide-react";
|
|
5
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
6
|
+
import { GlassCard as f } from "@burdenoff/fe-libs/ui";
|
|
7
|
+
// src/coolandlovely/components/intelligence/WardrobeIntelligenceStrip.tsx
|
|
8
|
+
var p = () => {
|
|
9
|
+
let p = e(), m = i(), h = m.data, g = m.isError && n(m.error);
|
|
10
|
+
return /* @__PURE__ */ d(f, {
|
|
11
|
+
treatment: "plain",
|
|
12
|
+
className: "mb-6 p-4",
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ d("div", {
|
|
15
|
+
className: "flex flex-wrap items-center justify-between gap-3",
|
|
16
|
+
children: [/* @__PURE__ */ d("div", {
|
|
17
|
+
className: "flex items-center gap-2.5",
|
|
18
|
+
children: [/* @__PURE__ */ u("div", {
|
|
19
|
+
className: "flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-accent-purple-subtle text-text-primary",
|
|
20
|
+
children: /* @__PURE__ */ u(l, { className: "h-4 w-4" })
|
|
21
|
+
}), /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("h2", {
|
|
22
|
+
className: "text-sm font-semibold text-text-primary",
|
|
23
|
+
children: "Wardrobe gaps & re-wear nudges"
|
|
24
|
+
}), /* @__PURE__ */ u("p", {
|
|
25
|
+
className: "text-xs text-text-secondary",
|
|
26
|
+
children: "Advisory check over your owned pieces, wear log and style profile. Nothing is modified."
|
|
27
|
+
})] })]
|
|
28
|
+
}), /* @__PURE__ */ d("div", {
|
|
29
|
+
className: "flex flex-wrap items-center gap-2",
|
|
30
|
+
children: [/* @__PURE__ */ d("button", {
|
|
31
|
+
type: "button",
|
|
32
|
+
disabled: m.isPending,
|
|
33
|
+
onClick: () => m.mutate(),
|
|
34
|
+
className: "inline-flex items-center gap-1.5 rounded-lg bg-action-primary-bg px-3 py-1.5 text-xs font-medium text-action-primary-text transition-colors hover:bg-action-primary-bg/90 disabled:opacity-50",
|
|
35
|
+
children: [m.isPending ? /* @__PURE__ */ u(c, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ u(l, { className: "h-3.5 w-3.5" }), h ? "Re-run check" : "Analyze wardrobe"]
|
|
36
|
+
}), /* @__PURE__ */ d("button", {
|
|
37
|
+
type: "button",
|
|
38
|
+
onClick: () => p("/intelligence"),
|
|
39
|
+
className: "inline-flex items-center gap-1 rounded-lg border border-border-seam px-3 py-1.5 text-xs font-medium text-text-primary transition-colors hover:bg-bg-sunken",
|
|
40
|
+
children: ["Open Style Intelligence ", /* @__PURE__ */ u(s, { className: "h-3.5 w-3.5" })]
|
|
41
|
+
})]
|
|
42
|
+
})]
|
|
43
|
+
}),
|
|
44
|
+
g && /* @__PURE__ */ d("div", {
|
|
45
|
+
role: "status",
|
|
46
|
+
className: "mt-3 flex items-start gap-2 rounded-lg border border-border-seam bg-bg-sunken px-3 py-2 text-xs text-text-secondary",
|
|
47
|
+
children: [/* @__PURE__ */ u(o, { className: "mt-0.5 h-4 w-4 shrink-0 text-text-primary" }), /* @__PURE__ */ u("span", { children: "Your workspace AI quota is reached for this cycle. Your wardrobe, wear log and manual styling tools remain fully available." })]
|
|
48
|
+
}),
|
|
49
|
+
m.isError && !g && /* @__PURE__ */ u("p", {
|
|
50
|
+
role: "status",
|
|
51
|
+
className: "mt-3 text-xs text-text-secondary",
|
|
52
|
+
children: "Style analysis is temporarily unavailable. You can continue adding pieces and logging wears manually."
|
|
53
|
+
}),
|
|
54
|
+
h && /* @__PURE__ */ d("div", {
|
|
55
|
+
className: "mt-4 space-y-3 border-t border-border-seam pt-3",
|
|
56
|
+
children: [/* @__PURE__ */ d("div", {
|
|
57
|
+
className: "flex flex-wrap items-center justify-between gap-2",
|
|
58
|
+
children: [/* @__PURE__ */ d("p", {
|
|
59
|
+
className: "text-xs text-text-secondary",
|
|
60
|
+
children: [
|
|
61
|
+
"Reviewed",
|
|
62
|
+
" ",
|
|
63
|
+
/* @__PURE__ */ u("span", {
|
|
64
|
+
className: "font-semibold text-text-primary",
|
|
65
|
+
children: h.wardrobeItemCount
|
|
66
|
+
}),
|
|
67
|
+
" ",
|
|
68
|
+
"owned pieces ·",
|
|
69
|
+
" ",
|
|
70
|
+
/* @__PURE__ */ u("span", {
|
|
71
|
+
className: "font-semibold text-text-primary",
|
|
72
|
+
children: h.findings.length
|
|
73
|
+
}),
|
|
74
|
+
" ",
|
|
75
|
+
"finding(s)"
|
|
76
|
+
]
|
|
77
|
+
}), /* @__PURE__ */ u(a, { provenance: h.provenance })]
|
|
78
|
+
}), h.findings.length === 0 ? /* @__PURE__ */ u("p", {
|
|
79
|
+
className: "text-xs text-text-secondary",
|
|
80
|
+
children: "No gaps or dormant pieces flagged right now."
|
|
81
|
+
}) : /* @__PURE__ */ u("div", {
|
|
82
|
+
className: "grid grid-cols-1 gap-2.5 md:grid-cols-3",
|
|
83
|
+
children: h.findings.slice(0, 3).map((e, n) => /* @__PURE__ */ d("div", {
|
|
84
|
+
className: "rounded-lg border border-border-seam bg-bg-surface p-3",
|
|
85
|
+
children: [
|
|
86
|
+
/* @__PURE__ */ d("div", {
|
|
87
|
+
className: "mb-1 flex items-center justify-between gap-2",
|
|
88
|
+
children: [/* @__PURE__ */ u("span", {
|
|
89
|
+
className: "rounded-full bg-bg-sunken px-2 py-0.5 text-[11px] font-medium text-text-primary",
|
|
90
|
+
children: t(e.kind)
|
|
91
|
+
}), /* @__PURE__ */ d("span", {
|
|
92
|
+
className: "text-[11px] tabular-nums text-text-secondary",
|
|
93
|
+
children: [
|
|
94
|
+
r(e.kind) ? "Re-wear" : "Gap",
|
|
95
|
+
" ·",
|
|
96
|
+
" ",
|
|
97
|
+
Math.round(e.severity * 100),
|
|
98
|
+
"%"
|
|
99
|
+
]
|
|
100
|
+
})]
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ u("p", {
|
|
103
|
+
className: "text-xs font-semibold text-text-primary",
|
|
104
|
+
children: e.title
|
|
105
|
+
}),
|
|
106
|
+
/* @__PURE__ */ u("p", {
|
|
107
|
+
className: "mt-1 line-clamp-2 text-xs text-text-secondary",
|
|
108
|
+
children: e.detail
|
|
109
|
+
}),
|
|
110
|
+
e.suggestedStyleItemIds.length > 0 && /* @__PURE__ */ d("button", {
|
|
111
|
+
type: "button",
|
|
112
|
+
onClick: () => p(`/items/${e.suggestedStyleItemIds[0]}`),
|
|
113
|
+
className: "mt-2 inline-flex items-center gap-1 text-xs font-medium text-text-primary underline",
|
|
114
|
+
children: ["View suggested piece ", /* @__PURE__ */ u(s, { className: "h-3 w-3" })]
|
|
115
|
+
})
|
|
116
|
+
]
|
|
117
|
+
}, `${e.kind}-${e.title}-${n}`))
|
|
118
|
+
})]
|
|
119
|
+
})
|
|
120
|
+
]
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
export { p as WardrobeIntelligenceStrip };
|
|
@@ -11,4 +11,5 @@ export type { EntityCommentView, EntityCommentsResult } from './useComments';
|
|
|
11
11
|
export { useEntityActivity } from './useActivity';
|
|
12
12
|
export type { CooActivityEntry } from './useActivity';
|
|
13
13
|
export { useAssistantEntityName } from './useAssistantEntity';
|
|
14
|
+
export { useAiCreditStatus, useDecisionActivity, useSuggestOutfit, useAnalyzeWardrobeGaps, useCurateCollection, useSuggestCollaborationMatch, isRewearFinding, formatFindingKindLabel, formatBlockerLabel, formatProvenanceLabel, extractLookStyleItemIds, isQuotaExhaustedError, } from './useStyleIntelligenceApi';
|
|
14
15
|
export { useTr } from './useTr';
|
|
@@ -3,5 +3,6 @@ import "./useFiles.js";
|
|
|
3
3
|
import "./useComments.js";
|
|
4
4
|
import "./useActivity.js";
|
|
5
5
|
import { useAssistantEntityName as ee } from "./useAssistantEntity.js";
|
|
6
|
+
import "./useStyleIntelligenceApi.js";
|
|
6
7
|
import { useTr as te } from "./useTr.js";
|
|
7
8
|
export { e as useAddLookbookEntry, t as useApproveBrand, n as useArchiveCollection, r as useArchiveStyleItem, ee as useAssistantEntityName, i as useBrand, a as useBrands, o as useCollaboration, s as useCollaborations, c as useCollection, l as useCollections, u as useCreateBrand, d as useCreateCollaboration, f as useCreateCollection, p as useCreateLook, m as useCreateLookbook, h as useCreateStyleItem, g as useCreateWardrobeItem, _ as useDeleteCollaboration, v as useDeleteLook, y as useDeleteLookbook, b as useFeatureStyleItem, x as useLikeLook, S as useLogWardrobeWear, C as useLook, w as useLookbook, T as useLookbooks, E as useLooks, D as useLooksWithItems, O as useMyFollowing, k as useMyStyleProfile, A as usePublishCollection, j as usePublishLook, M as useRejectBrand, N as useRemoveLookbookEntry, P as useRemoveWardrobeItem, F as useReviewCollaboration, I as useSaveLook, L as useSearchLooks, R as useSearchStyleItems, z as useStyleItem, B as useStyleItems, V as useStyleProfileByOwner, te as useTr, H as useTransitionBrand, U as useTransitionCollaboration, W as useUnfeatureStyleItem, G as useUnlikeLook, K as useUnsaveLook, q as useUpdateBrand, J as useUpdateCollaboration, Y as useUpdateCollection, X as useUpdateLook, Z as useUpdateStyleItem, Q as useUpsertStyleProfile, $ as useWardrobeItems };
|