@burdenoff/microfe-store 2026.1013.3 → 2026.1028.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/components/ExternalListingBadge.d.ts +15 -0
- package/dist/components/ExternalListingBadge.js +19 -0
- package/dist/components/ExternalListingBadge.js.map +1 -0
- package/dist/generated/global-operations.d.ts +14 -0
- package/dist/generated/global-operations.js +14 -0
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +679 -10
- package/dist/generated/global-types.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +20345 -404
- package/dist/hooks/useStoreGraphQL.d.ts +4 -0
- package/dist/hooks/useStoreGraphQL.js.map +1 -1
- package/dist/pages/MarketplaceHomePage.js +134 -127
- package/dist/pages/MarketplaceHomePage.js.map +1 -1
- package/dist/pages/ProductDetailPage.js +628 -601
- package/dist/pages/ProductDetailPage.js.map +1 -1
- package/dist/translations/en.d.ts +6 -0
- package/dist/translations/en.js +6 -0
- package/dist/translations/en.js.map +1 -1
- package/dist/utils/externalListing.d.ts +35 -0
- package/dist/utils/externalListing.js +34 -0
- package/dist/utils/externalListing.js.map +1 -0
- package/package.json +1 -1
|
@@ -6,13 +6,14 @@ import { useBrowseStoreWithContext as i, useHomeGroupedProducts as ee } from "..
|
|
|
6
6
|
import { useTr as a } from "../shared/hooks/useTr.js";
|
|
7
7
|
import { PricingModel as o, StoreSortBy as s } from "../generated/global-types.js";
|
|
8
8
|
import { CartDrawer as te } from "../components/cart/CartDrawer.js";
|
|
9
|
-
import {
|
|
9
|
+
import { ExternalListingBadge as c } from "../components/ExternalListingBadge.js";
|
|
10
|
+
import { useCallback as ne, useEffect as re, useId as ie, useMemo as l, useRef as ae, useState as u } from "react";
|
|
10
11
|
import { useNavigate as oe } from "react-router";
|
|
11
|
-
import { AlertCircle as
|
|
12
|
-
import { Fragment as
|
|
13
|
-
import { AuroraBackground as
|
|
14
|
-
import { useEventBus as
|
|
15
|
-
import { useDebounce as
|
|
12
|
+
import { AlertCircle as d, Bot as se, Box as f, Brain as p, ChevronDown as ce, ChevronRight as le, Clock as ue, Database as de, Download as m, FileCode2 as fe, Filter as pe, Gift as me, GitBranch as h, LayoutDashboard as g, Loader2 as he, Puzzle as _, Search as ge, ShoppingBag as _e, ShoppingCart as ve, SlidersHorizontal as ye, Sparkles as v, Star as y, TrendingUp as be, X as b } from "lucide-react";
|
|
13
|
+
import { Fragment as xe, jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
14
|
+
import { AuroraBackground as Se, GlassCard as Ce, GradientText as we, IllustratedEmptyState as Te, PagePurpose as Ee } from "@burdenoff/fe-libs/ui";
|
|
15
|
+
import { useEventBus as De } from "@burdenoff/fe-libs/shared/events";
|
|
16
|
+
import { useDebounce as Oe } from "@burdenoff/fe-libs/shared/hooks";
|
|
16
17
|
//#region src/pages/MarketplaceHomePage.tsx
|
|
17
18
|
var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).toFixed(1)}K` : e.toString(), w = (e, t) => e.pricingModel === "FREE" || e.price === 0 ? t ? t("pages.marketplace.free", "Free") : "Free" : r(e.price, e.currency), T = (e) => ({
|
|
18
19
|
BOTAPP: "var(--color-accent-blue)",
|
|
@@ -33,22 +34,22 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
33
34
|
PLUGIN: "var(--color-status-success-bg)",
|
|
34
35
|
COMPONENT: "var(--color-accent-blue)"
|
|
35
36
|
})[e] || "var(--color-text-muted)", E = (e) => `color-mix(in srgb, ${T(e)}, transparent 85%)`, D = {
|
|
36
|
-
BOTAPP:
|
|
37
|
-
AGENT:
|
|
38
|
-
CONSOLE:
|
|
39
|
-
WORKFLOW:
|
|
37
|
+
BOTAPP: se,
|
|
38
|
+
AGENT: p,
|
|
39
|
+
CONSOLE: g,
|
|
40
|
+
WORKFLOW: h,
|
|
40
41
|
NODE: f,
|
|
41
|
-
WIDGET:
|
|
42
|
-
VIBEMODULE:
|
|
43
|
-
DASHBOARD:
|
|
42
|
+
WIDGET: _,
|
|
43
|
+
VIBEMODULE: _,
|
|
44
|
+
DASHBOARD: g,
|
|
44
45
|
PARSER: fe,
|
|
45
|
-
DATASINK:
|
|
46
|
+
DATASINK: de,
|
|
46
47
|
APP: f,
|
|
47
|
-
TEMPLATE:
|
|
48
|
-
INTEGRATION:
|
|
49
|
-
EXTENSION:
|
|
50
|
-
THEME:
|
|
51
|
-
PLUGIN:
|
|
48
|
+
TEMPLATE: g,
|
|
49
|
+
INTEGRATION: h,
|
|
50
|
+
EXTENSION: _,
|
|
51
|
+
THEME: _,
|
|
52
|
+
PLUGIN: _,
|
|
52
53
|
COMPONENT: f
|
|
53
54
|
}, O = ({ type: e, className: t, style: n }) => /* @__PURE__ */ x(D[e] || f, {
|
|
54
55
|
className: t,
|
|
@@ -62,7 +63,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
62
63
|
children: [
|
|
63
64
|
e.featured && /* @__PURE__ */ S("div", {
|
|
64
65
|
className: "absolute right-4 top-4 flex items-center gap-1 rounded-full bg-status-warning-bg-subtle px-2 py-1 text-xs font-medium text-status-warning-text",
|
|
65
|
-
children: [/* @__PURE__ */ x(
|
|
66
|
+
children: [/* @__PURE__ */ x(v, { className: "size-3" }), r("pages.marketplace.featured", "Featured")]
|
|
66
67
|
}),
|
|
67
68
|
/* @__PURE__ */ S("div", {
|
|
68
69
|
className: "flex items-start gap-4",
|
|
@@ -102,17 +103,20 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
102
103
|
className: "flex items-center gap-3",
|
|
103
104
|
children: [/* @__PURE__ */ S("span", {
|
|
104
105
|
className: "flex items-center gap-1 text-sm text-text-muted",
|
|
105
|
-
children: [/* @__PURE__ */ x(
|
|
106
|
+
children: [/* @__PURE__ */ x(y, { className: "size-4 fill-current text-status-warning-text" }), (e.rating ?? 0).toFixed(1)]
|
|
106
107
|
}), e.nature === "PHYSICAL" ? /* @__PURE__ */ S("span", {
|
|
107
108
|
className: "flex items-center gap-1 text-sm text-text-muted",
|
|
108
109
|
children: [/* @__PURE__ */ x(_e, { className: "size-4" }), C(e.purchaseCount)]
|
|
109
110
|
}) : /* @__PURE__ */ S("span", {
|
|
110
111
|
className: "flex items-center gap-1 text-sm text-text-muted",
|
|
111
|
-
children: [/* @__PURE__ */ x(
|
|
112
|
+
children: [/* @__PURE__ */ x(m, { className: "size-4" }), C(e.downloads)]
|
|
113
|
+
})]
|
|
114
|
+
}), /* @__PURE__ */ S("span", {
|
|
115
|
+
className: "flex items-center gap-2",
|
|
116
|
+
children: [/* @__PURE__ */ x(c, { product: e }), /* @__PURE__ */ x("span", {
|
|
117
|
+
className: "rounded-full bg-action-primary-bg/10 px-3 py-1 text-sm font-medium text-text-link",
|
|
118
|
+
children: w(e, r)
|
|
112
119
|
})]
|
|
113
|
-
}), /* @__PURE__ */ x("span", {
|
|
114
|
-
className: "rounded-full bg-action-primary-bg/10 px-3 py-1 text-sm font-medium text-text-link",
|
|
115
|
-
children: w(e, r)
|
|
116
120
|
})]
|
|
117
121
|
})
|
|
118
122
|
]
|
|
@@ -198,7 +202,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
198
202
|
children: [
|
|
199
203
|
/* @__PURE__ */ S("span", {
|
|
200
204
|
className: "flex items-center gap-0.5 text-xs text-text-muted",
|
|
201
|
-
children: [/* @__PURE__ */ x(
|
|
205
|
+
children: [/* @__PURE__ */ x(y, { className: "size-3.5 fill-current text-status-warning-text" }), (e.rating ?? 0).toFixed(1)]
|
|
202
206
|
}),
|
|
203
207
|
/* @__PURE__ */ x("span", {
|
|
204
208
|
className: "text-xs text-text-muted",
|
|
@@ -209,14 +213,17 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
209
213
|
children: e.nature === "PHYSICAL" ? r("pages.marketplace.purchases", "{{count}} purchases", { count: C(e.purchaseCount) }) : r("pages.marketplace.downloads", "{{count}} downloads", { count: C(e.downloads) })
|
|
210
214
|
})
|
|
211
215
|
]
|
|
212
|
-
}), /* @__PURE__ */
|
|
213
|
-
className: "
|
|
214
|
-
children:
|
|
216
|
+
}), /* @__PURE__ */ S("span", {
|
|
217
|
+
className: "flex items-center gap-2",
|
|
218
|
+
children: [/* @__PURE__ */ x(c, { product: e }), /* @__PURE__ */ x("span", {
|
|
219
|
+
className: "text-xs font-semibold text-text-link",
|
|
220
|
+
children: w(e, r)
|
|
221
|
+
})]
|
|
215
222
|
})]
|
|
216
223
|
})
|
|
217
224
|
]
|
|
218
225
|
});
|
|
219
|
-
},
|
|
226
|
+
}, ke = ({ product: e, onClick: t }) => {
|
|
220
227
|
let n = a();
|
|
221
228
|
return /* @__PURE__ */ S("button", {
|
|
222
229
|
type: "button",
|
|
@@ -230,7 +237,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
230
237
|
className: "size-9 rounded-lg object-cover grayscale"
|
|
231
238
|
}) : /* @__PURE__ */ x(f, { className: "size-9 text-status-warning-text/50" }), /* @__PURE__ */ x("span", {
|
|
232
239
|
className: "absolute -right-1 -top-1 flex size-4 items-center justify-center rounded-full bg-status-warning-bg-subtle border border-status-warning-border/40",
|
|
233
|
-
children: /* @__PURE__ */ x(
|
|
240
|
+
children: /* @__PURE__ */ x(d, { className: "size-2.5 text-status-warning-text" })
|
|
234
241
|
})]
|
|
235
242
|
}), /* @__PURE__ */ S("div", {
|
|
236
243
|
className: "min-w-0 flex-1",
|
|
@@ -240,7 +247,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
240
247
|
}), /* @__PURE__ */ S("span", {
|
|
241
248
|
title: n("pages.marketplace.deprecatedHint", "This node is no longer supported. We encourage you to migrate to newer alternatives."),
|
|
242
249
|
className: "mt-1 inline-flex cursor-help items-center gap-1 rounded-full bg-status-warning-bg-subtle px-2 py-0.5 text-xs font-medium text-status-warning-text",
|
|
243
|
-
children: [/* @__PURE__ */ x(
|
|
250
|
+
children: [/* @__PURE__ */ x(d, { className: "size-3" }), n("pages.marketplace.deprecated", "No Longer Supported")]
|
|
244
251
|
})]
|
|
245
252
|
})]
|
|
246
253
|
});
|
|
@@ -264,10 +271,10 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
264
271
|
type: "button",
|
|
265
272
|
onClick: r,
|
|
266
273
|
className: "cursor-pointer flex items-center gap-1 text-sm font-medium text-text-link hover:underline",
|
|
267
|
-
children: [i("pages.marketplace.viewAll", "View all"), /* @__PURE__ */ x(
|
|
274
|
+
children: [i("pages.marketplace.viewAll", "View all"), /* @__PURE__ */ x(le, { className: "size-4" })]
|
|
268
275
|
})]
|
|
269
276
|
});
|
|
270
|
-
},
|
|
277
|
+
}, Ae = ({ typeId: e, name: t, count: n, active: r, onClick: i }) => /* @__PURE__ */ S("button", {
|
|
271
278
|
type: "button",
|
|
272
279
|
onClick: i,
|
|
273
280
|
className: `flex cursor-pointer items-center gap-2 rounded-full px-4 py-2 text-sm font-medium transition-all ${r ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-surface text-text-primary hover:bg-bg-sunken"}`,
|
|
@@ -282,11 +289,11 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
282
289
|
children: n
|
|
283
290
|
})
|
|
284
291
|
]
|
|
285
|
-
}),
|
|
286
|
-
let r = a(), [i, ee] =
|
|
292
|
+
}), je = ({ featuredProducts: e, onProductClick: t, dataTour: n }) => {
|
|
293
|
+
let r = a(), [i, ee] = u(0), o = e[i] || e[0];
|
|
287
294
|
if (!o) return null;
|
|
288
295
|
let s = T(o.type);
|
|
289
|
-
return /* @__PURE__ */ S(
|
|
296
|
+
return /* @__PURE__ */ S(Ce, {
|
|
290
297
|
treatment: "glass",
|
|
291
298
|
glow: !0,
|
|
292
299
|
"data-tour": n,
|
|
@@ -305,7 +312,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
305
312
|
className: "mb-4 flex items-center gap-2",
|
|
306
313
|
children: [/* @__PURE__ */ S("span", {
|
|
307
314
|
className: "flex items-center gap-1 rounded-full bg-status-warning-bg-subtle px-3 py-1 text-xs font-semibold text-status-warning-text motion-safe:animate-vc-glow-pulse",
|
|
308
|
-
children: [/* @__PURE__ */ x(
|
|
315
|
+
children: [/* @__PURE__ */ x(v, { className: "size-3" }), r("pages.marketplace.featuredApp", "Featured App")]
|
|
309
316
|
}), /* @__PURE__ */ x("span", {
|
|
310
317
|
className: "rounded-full bg-action-primary-bg/10 px-3 py-1 text-xs font-medium text-text-link",
|
|
311
318
|
children: o.category || o.type
|
|
@@ -324,7 +331,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
324
331
|
children: [/* @__PURE__ */ S("span", {
|
|
325
332
|
className: "flex items-center gap-1 text-sm",
|
|
326
333
|
children: [
|
|
327
|
-
/* @__PURE__ */ x(
|
|
334
|
+
/* @__PURE__ */ x(y, { className: "size-5 fill-current text-status-warning-text" }),
|
|
328
335
|
/* @__PURE__ */ x("span", {
|
|
329
336
|
className: "font-semibold text-text-primary",
|
|
330
337
|
children: (o.rating ?? 0).toFixed(1)
|
|
@@ -339,7 +346,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
339
346
|
children: [/* @__PURE__ */ x(_e, { className: "size-4" }), r("pages.marketplace.purchasesCount", "{{count}} purchases", { count: o.purchaseCount.toLocaleString() })]
|
|
340
347
|
}) : /* @__PURE__ */ S("span", {
|
|
341
348
|
className: "flex items-center gap-1 text-sm text-text-muted",
|
|
342
|
-
children: [/* @__PURE__ */ x(
|
|
349
|
+
children: [/* @__PURE__ */ x(m, { className: "size-4" }), r("pages.marketplace.downloadsCount", "{{count}} downloads", { count: o.downloads.toLocaleString() })]
|
|
343
350
|
})]
|
|
344
351
|
}),
|
|
345
352
|
/* @__PURE__ */ x("button", {
|
|
@@ -465,7 +472,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
465
472
|
children: [/* @__PURE__ */ x("div", { className: "h-5 w-40 animate-pulse rounded bg-bg-sunken" }), /* @__PURE__ */ x("div", { className: "h-4 w-32 animate-pulse rounded bg-bg-sunken" })]
|
|
466
473
|
})]
|
|
467
474
|
}), /* @__PURE__ */ x("div", { className: "h-4 w-16 animate-pulse rounded bg-bg-sunken" })]
|
|
468
|
-
}),
|
|
475
|
+
}), Me = () => /* @__PURE__ */ S("div", {
|
|
469
476
|
className: "mx-auto max-w-7xl space-y-8 p-6",
|
|
470
477
|
children: [
|
|
471
478
|
/* @__PURE__ */ x(M, {}),
|
|
@@ -529,11 +536,11 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
529
536
|
children: e.label
|
|
530
537
|
}, e.value))
|
|
531
538
|
}),
|
|
532
|
-
/* @__PURE__ */ x(
|
|
539
|
+
/* @__PURE__ */ x(ce, { className: "pointer-events-none absolute right-3 size-4 text-text-muted" })
|
|
533
540
|
]
|
|
534
541
|
});
|
|
535
542
|
}, L = () => {
|
|
536
|
-
let r = oe(), { basePath:
|
|
543
|
+
let r = oe(), { basePath: c, user: se } = e(), p = a(), ce = ie(), le = De(), { cart: de, cartOpen: m, closeCart: fe, itemCount: h, cartItems: g, subtotal: _, tax: _e, total: Ce, updateQuantity: C, removeProduct: w } = n(), [T, E] = u(""), [D, O] = u("all"), [j, M] = u("all"), [N, P] = u("any"), [F, L] = u("all"), [R, Ne] = u("all"), [z, Pe] = u(!1), [B, Fe] = u("relevance"), [Ie, Le] = u(!1), V = Oe(T, 1500), Re = [
|
|
537
544
|
{
|
|
538
545
|
value: "all",
|
|
539
546
|
label: p("pages.marketplace.pricingAll", "All Prices")
|
|
@@ -614,43 +621,43 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
614
621
|
paid: o.PaidOnetime,
|
|
615
622
|
subscription: o.Subscription
|
|
616
623
|
}[e];
|
|
617
|
-
}, H = V.trim() !== "" ||
|
|
618
|
-
|
|
619
|
-
}, U = (
|
|
624
|
+
}, H = V.trim() !== "" || j !== "all" || N !== "any" || F !== "all" || R !== "all" || z || D !== "all" || B !== "relevance", Ue = T.trim() !== "" && T !== V, We = () => {
|
|
625
|
+
E(""), M("all"), P("any"), L("all"), Ne("all"), Pe(!1), Fe("relevance"), O("all");
|
|
626
|
+
}, U = (j === "all" ? 0 : 1) + (N === "any" ? 0 : 1) + (F === "all" ? 0 : 1) + (R === "all" ? 0 : 1) + +!!z + (D === "all" ? 0 : 1), Ge = l(() => {
|
|
620
627
|
let e = {
|
|
621
628
|
sortBy: Ve(B),
|
|
622
629
|
pagination: { limit: 50 }
|
|
623
630
|
};
|
|
624
631
|
if (H) {
|
|
625
|
-
e.filter = {}, V.trim() && (e.filter.search = V.trim()),
|
|
626
|
-
let t = He(
|
|
627
|
-
t && (e.filter.pricingModel = t),
|
|
632
|
+
e.filter = {}, V.trim() && (e.filter.search = V.trim()), D !== "all" && (e.filter.type = D), F !== "all" && (e.filter.category = F);
|
|
633
|
+
let t = He(j);
|
|
634
|
+
t && (e.filter.pricingModel = t), N !== "any" && (e.filter.minRating = parseFloat(N)), z && (e.filter.featured = !0), R !== "all" && (e.filter.license = R);
|
|
628
635
|
}
|
|
629
636
|
return e;
|
|
630
637
|
}, [
|
|
631
638
|
V,
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
639
|
+
D,
|
|
640
|
+
F,
|
|
641
|
+
j,
|
|
642
|
+
N,
|
|
636
643
|
z,
|
|
637
644
|
R,
|
|
638
645
|
B,
|
|
639
646
|
H
|
|
640
647
|
]), { featured: W, mostDownloaded: G, recentlyAdded: K, freeItems: q, loading: Ke, error: qe, refetch: Je } = ee({ skip: H }), { products: Ye, totalCount: J, facets: Y, loading: X, error: Xe, refetch: Ze } = i(H ? Ge : {}, { skip: !H }), Qe = H ? X : Ke, Z = H ? Xe : qe, $e = H ? Ze : Je, et = H ? Ye : [], tt = ae(J);
|
|
641
648
|
tt.current = J;
|
|
642
|
-
let nt = ae(
|
|
643
|
-
nt.current =
|
|
649
|
+
let nt = ae(le);
|
|
650
|
+
nt.current = le, re(() => {
|
|
644
651
|
!V.trim() || X || nt.current.emit("store.marketplace.searched", {
|
|
645
652
|
query: V,
|
|
646
653
|
resultCount: tt.current
|
|
647
654
|
});
|
|
648
655
|
}, [V, X]);
|
|
649
656
|
let Q = ne((e) => {
|
|
650
|
-
r(`${
|
|
651
|
-
}, [r,
|
|
652
|
-
|
|
653
|
-
}, $ =
|
|
657
|
+
r(`${c}/marketplace/product/${e.id}`);
|
|
658
|
+
}, [r, c]), rt = () => {
|
|
659
|
+
fe(), r(`${c}/cart`);
|
|
660
|
+
}, $ = l(() => [...new Map([
|
|
654
661
|
...W,
|
|
655
662
|
...G,
|
|
656
663
|
...K,
|
|
@@ -664,7 +671,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
664
671
|
variables: { limit: 100 },
|
|
665
672
|
skip: !it,
|
|
666
673
|
fetchPolicy: "cache-and-network"
|
|
667
|
-
}), ot =
|
|
674
|
+
}), ot = l(() => {
|
|
668
675
|
if (!at?.myStoreAppInstallations?.items) return [];
|
|
669
676
|
let e = /* @__PURE__ */ new Set(), t = [];
|
|
670
677
|
for (let n of at.myStoreAppInstallations.items) n.productStatus === "UNLISTED" && !e.has(n.productId) && (e.add(n.productId), t.push({
|
|
@@ -673,7 +680,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
673
680
|
icon: n.productIcon ?? void 0
|
|
674
681
|
}));
|
|
675
682
|
return t;
|
|
676
|
-
}, [at]), st =
|
|
683
|
+
}, [at]), st = l(() => {
|
|
677
684
|
if (Y?.types && Y.types.length > 0) return [{
|
|
678
685
|
id: "all",
|
|
679
686
|
name: p("pages.marketplace.typeAll", "All Apps"),
|
|
@@ -698,7 +705,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
698
705
|
$,
|
|
699
706
|
J,
|
|
700
707
|
p
|
|
701
|
-
]), ct =
|
|
708
|
+
]), ct = l(() => Y?.categories && Y.categories.length > 0 ? [{
|
|
702
709
|
value: "all",
|
|
703
710
|
label: p("pages.marketplace.allCategories", "All Categories")
|
|
704
711
|
}, ...Y.categories.map((e) => ({
|
|
@@ -714,7 +721,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
714
721
|
Y,
|
|
715
722
|
$,
|
|
716
723
|
p
|
|
717
|
-
]), lt =
|
|
724
|
+
]), lt = l(() => Y?.licenses && Y.licenses.length > 0 ? [{
|
|
718
725
|
value: "all",
|
|
719
726
|
label: p("pages.marketplace.allLicenses", "All Licenses")
|
|
720
727
|
}, ...Y.licenses.map((e) => ({
|
|
@@ -730,7 +737,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
730
737
|
/* @__PURE__ */ S("header", {
|
|
731
738
|
className: "relative overflow-hidden border-b border-border-seam bg-bg-surface px-6 py-4",
|
|
732
739
|
children: [
|
|
733
|
-
/* @__PURE__ */ x(
|
|
740
|
+
/* @__PURE__ */ x(Se, { intensity: "subtle" }),
|
|
734
741
|
/* @__PURE__ */ S("div", {
|
|
735
742
|
className: "flex items-center justify-between",
|
|
736
743
|
children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("h1", {
|
|
@@ -738,7 +745,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
738
745
|
children: [
|
|
739
746
|
p("pages.marketplace.appTitle", "App"),
|
|
740
747
|
" ",
|
|
741
|
-
/* @__PURE__ */ x(
|
|
748
|
+
/* @__PURE__ */ x(we, { children: p("pages.marketplace.title", "Marketplace") })
|
|
742
749
|
]
|
|
743
750
|
}), /* @__PURE__ */ x("p", {
|
|
744
751
|
className: "text-sm text-text-muted",
|
|
@@ -746,7 +753,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
746
753
|
})] }), /* @__PURE__ */ S("button", {
|
|
747
754
|
type: "button",
|
|
748
755
|
"data-tour": "store-marketplace-cart-button",
|
|
749
|
-
onClick: () => r(`${
|
|
756
|
+
onClick: () => r(`${c}/cart`),
|
|
750
757
|
className: "cursor-pointer relative flex items-center gap-2 rounded-lg border border-border-default bg-bg-surface px-4 py-2 text-sm font-medium text-text-primary transition-colors hover:bg-bg-sunken",
|
|
751
758
|
children: [
|
|
752
759
|
/* @__PURE__ */ x(ve, { className: "size-5" }),
|
|
@@ -774,26 +781,26 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
774
781
|
"data-tour": "store-marketplace-search-input",
|
|
775
782
|
"aria-label": p("pages.marketplace.search.label", "Search marketplace products"),
|
|
776
783
|
type: "text",
|
|
777
|
-
value:
|
|
778
|
-
onChange: (e) =>
|
|
784
|
+
value: T,
|
|
785
|
+
onChange: (e) => E(e.target.value),
|
|
779
786
|
placeholder: p("pages.marketplace.search.placeholder", "Search apps, workflows, integrations..."),
|
|
780
787
|
className: "w-full rounded-xl border border-border-default bg-bg-sunken py-3 pl-12 pr-4 text-text-primary placeholder-text-muted focus:border-action-primary-border focus:bg-bg-surface focus:outline-none focus:ring-2 focus:ring-action-primary-border/20"
|
|
781
788
|
}),
|
|
782
|
-
|
|
789
|
+
T && /* @__PURE__ */ x("button", {
|
|
783
790
|
type: "button",
|
|
784
|
-
onClick: () =>
|
|
791
|
+
onClick: () => E(""),
|
|
785
792
|
"aria-label": p("pages.marketplace.search.clear", "Clear search"),
|
|
786
793
|
className: "cursor-pointer absolute right-4 top-1/2 -translate-y-1/2 text-text-muted transition-colors hover:text-text-primary",
|
|
787
|
-
children: /* @__PURE__ */ x(
|
|
794
|
+
children: /* @__PURE__ */ x(b, {
|
|
788
795
|
className: "size-4",
|
|
789
796
|
"aria-hidden": "true"
|
|
790
797
|
})
|
|
791
798
|
})
|
|
792
799
|
]
|
|
793
|
-
}),
|
|
800
|
+
}), T.trim() && /* @__PURE__ */ x("div", {
|
|
794
801
|
"aria-live": "polite",
|
|
795
802
|
className: "mt-2 flex items-center gap-2 text-sm text-text-muted",
|
|
796
|
-
children: Ue || X ? /* @__PURE__ */ S(
|
|
803
|
+
children: Ue || X ? /* @__PURE__ */ S(xe, { children: [/* @__PURE__ */ x(he, { className: "size-4 animate-spin" }), /* @__PURE__ */ x("span", { children: p("pages.marketplace.search.searching", "Searching...") })] }) : /* @__PURE__ */ x("span", { children: p("pages.marketplace.search.resultCount", "{{count}} result{{plural}} for \"{{query}}\"", {
|
|
797
804
|
count: J,
|
|
798
805
|
plural: J === 1 ? "" : "s",
|
|
799
806
|
query: V
|
|
@@ -823,21 +830,21 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
823
830
|
children: [
|
|
824
831
|
/* @__PURE__ */ S("button", {
|
|
825
832
|
type: "button",
|
|
826
|
-
onClick: () =>
|
|
827
|
-
className: `cursor-pointer flex items-center gap-1.5 rounded-full px-3 py-1.5 text-sm font-medium transition-colors ${
|
|
833
|
+
onClick: () => M(j === "free" ? "all" : "free"),
|
|
834
|
+
className: `cursor-pointer flex items-center gap-1.5 rounded-full px-3 py-1.5 text-sm font-medium transition-colors ${j === "free" ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-primary transition-colors hover:bg-bg-surface"}`,
|
|
828
835
|
children: [/* @__PURE__ */ x(me, { className: "size-3.5" }), p("pages.marketplace.quickFilterFree", "Free")]
|
|
829
836
|
}),
|
|
830
837
|
/* @__PURE__ */ S("button", {
|
|
831
838
|
type: "button",
|
|
832
|
-
onClick: () =>
|
|
833
|
-
className: `cursor-pointer flex items-center gap-1.5 rounded-full px-3 py-1.5 text-sm font-medium transition-colors ${
|
|
834
|
-
children: [/* @__PURE__ */ x(
|
|
839
|
+
onClick: () => P(N === "4" ? "any" : "4"),
|
|
840
|
+
className: `cursor-pointer flex items-center gap-1.5 rounded-full px-3 py-1.5 text-sm font-medium transition-colors ${N === "4" ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-primary transition-colors hover:bg-bg-surface"}`,
|
|
841
|
+
children: [/* @__PURE__ */ x(y, { className: "size-3.5" }), p("pages.marketplace.quickFilterRating", "4+ Stars")]
|
|
835
842
|
}),
|
|
836
843
|
/* @__PURE__ */ S("button", {
|
|
837
844
|
type: "button",
|
|
838
845
|
onClick: () => Pe(!z),
|
|
839
846
|
className: `cursor-pointer flex items-center gap-1.5 rounded-full px-3 py-1.5 text-sm font-medium transition-colors ${z ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-primary transition-colors hover:bg-bg-surface"}`,
|
|
840
|
-
children: [/* @__PURE__ */ x(
|
|
847
|
+
children: [/* @__PURE__ */ x(v, { className: "size-3.5" }), p("pages.marketplace.quickFilterFeatured", "Featured")]
|
|
841
848
|
})
|
|
842
849
|
]
|
|
843
850
|
}),
|
|
@@ -845,7 +852,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
845
852
|
type: "button",
|
|
846
853
|
onClick: We,
|
|
847
854
|
className: "cursor-pointer flex items-center gap-1 text-sm text-text-muted transition-colors hover:text-text-primary",
|
|
848
|
-
children: [/* @__PURE__ */ x(
|
|
855
|
+
children: [/* @__PURE__ */ x(b, {
|
|
849
856
|
className: "size-4",
|
|
850
857
|
"aria-hidden": "true"
|
|
851
858
|
}), p("pages.marketplace.clearAll", "Clear all")]
|
|
@@ -874,9 +881,9 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
874
881
|
children: p("pages.marketplace.filterPricing", "Pricing")
|
|
875
882
|
}), /* @__PURE__ */ x(I, {
|
|
876
883
|
label: p("pages.marketplace.filterPrice", "Price"),
|
|
877
|
-
value:
|
|
884
|
+
value: j,
|
|
878
885
|
options: Re,
|
|
879
|
-
onChange: (e) =>
|
|
886
|
+
onChange: (e) => M(e)
|
|
880
887
|
})]
|
|
881
888
|
}),
|
|
882
889
|
/* @__PURE__ */ S("div", {
|
|
@@ -886,9 +893,9 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
886
893
|
children: p("pages.marketplace.filterMinRating", "Min Rating")
|
|
887
894
|
}), /* @__PURE__ */ x(I, {
|
|
888
895
|
label: p("pages.marketplace.filterRating", "Rating"),
|
|
889
|
-
value:
|
|
896
|
+
value: N,
|
|
890
897
|
options: ze,
|
|
891
|
-
onChange: (e) =>
|
|
898
|
+
onChange: (e) => P(e)
|
|
892
899
|
})]
|
|
893
900
|
}),
|
|
894
901
|
ct.length > 1 && /* @__PURE__ */ S("div", {
|
|
@@ -898,9 +905,9 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
898
905
|
children: p("pages.marketplace.filterCategory", "Category")
|
|
899
906
|
}), /* @__PURE__ */ x(I, {
|
|
900
907
|
label: p("pages.marketplace.filterCategory", "Category"),
|
|
901
|
-
value:
|
|
908
|
+
value: F,
|
|
902
909
|
options: ct,
|
|
903
|
-
onChange:
|
|
910
|
+
onChange: L
|
|
904
911
|
})]
|
|
905
912
|
}),
|
|
906
913
|
lt.length > 1 && /* @__PURE__ */ S("div", {
|
|
@@ -923,9 +930,9 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
923
930
|
className: "text-xs font-medium text-text-muted",
|
|
924
931
|
children: p("pages.marketplace.activeFilters", "Active filters:")
|
|
925
932
|
}),
|
|
926
|
-
|
|
933
|
+
D !== "all" && /* @__PURE__ */ S("button", {
|
|
927
934
|
type: "button",
|
|
928
|
-
onClick: () =>
|
|
935
|
+
onClick: () => O("all"),
|
|
929
936
|
className: "inline-flex cursor-pointer items-center gap-1.5 rounded-full border border-action-primary-border bg-action-primary-bg/5 px-3 py-1.5 text-xs font-medium text-text-link shadow-sm transition-colors hover:bg-action-primary-bg/15",
|
|
930
937
|
children: [
|
|
931
938
|
/* @__PURE__ */ x("span", {
|
|
@@ -933,16 +940,16 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
933
940
|
children: p("pages.marketplace.activeFilterType", "Type:")
|
|
934
941
|
}),
|
|
935
942
|
" ",
|
|
936
|
-
|
|
937
|
-
/* @__PURE__ */ x(
|
|
943
|
+
D,
|
|
944
|
+
/* @__PURE__ */ x(b, {
|
|
938
945
|
className: "size-3",
|
|
939
946
|
"aria-hidden": "true"
|
|
940
947
|
})
|
|
941
948
|
]
|
|
942
949
|
}),
|
|
943
|
-
|
|
950
|
+
j !== "all" && /* @__PURE__ */ S("button", {
|
|
944
951
|
type: "button",
|
|
945
|
-
onClick: () =>
|
|
952
|
+
onClick: () => M("all"),
|
|
946
953
|
className: "inline-flex cursor-pointer items-center gap-1.5 rounded-full border border-action-primary-border bg-action-primary-bg/5 px-3 py-1.5 text-xs font-medium text-text-link shadow-sm transition-colors hover:bg-action-primary-bg/15",
|
|
947
954
|
children: [
|
|
948
955
|
/* @__PURE__ */ x("span", {
|
|
@@ -950,16 +957,16 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
950
957
|
children: p("pages.marketplace.activeFilterPrice", "Price:")
|
|
951
958
|
}),
|
|
952
959
|
" ",
|
|
953
|
-
Re.find((e) => e.value ===
|
|
954
|
-
/* @__PURE__ */ x(
|
|
960
|
+
Re.find((e) => e.value === j)?.label,
|
|
961
|
+
/* @__PURE__ */ x(b, {
|
|
955
962
|
className: "size-3",
|
|
956
963
|
"aria-hidden": "true"
|
|
957
964
|
})
|
|
958
965
|
]
|
|
959
966
|
}),
|
|
960
|
-
|
|
967
|
+
N !== "any" && /* @__PURE__ */ S("button", {
|
|
961
968
|
type: "button",
|
|
962
|
-
onClick: () =>
|
|
969
|
+
onClick: () => P("any"),
|
|
963
970
|
className: "inline-flex cursor-pointer items-center gap-1.5 rounded-full border border-action-primary-border bg-action-primary-bg/5 px-3 py-1.5 text-xs font-medium text-text-link shadow-sm transition-colors hover:bg-action-primary-bg/15",
|
|
964
971
|
children: [
|
|
965
972
|
/* @__PURE__ */ x("span", {
|
|
@@ -967,16 +974,16 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
967
974
|
children: p("pages.marketplace.activeFilterRating", "Rating:")
|
|
968
975
|
}),
|
|
969
976
|
" ",
|
|
970
|
-
ze.find((e) => e.value ===
|
|
971
|
-
/* @__PURE__ */ x(
|
|
977
|
+
ze.find((e) => e.value === N)?.label,
|
|
978
|
+
/* @__PURE__ */ x(b, {
|
|
972
979
|
className: "size-3",
|
|
973
980
|
"aria-hidden": "true"
|
|
974
981
|
})
|
|
975
982
|
]
|
|
976
983
|
}),
|
|
977
|
-
|
|
984
|
+
F !== "all" && /* @__PURE__ */ S("button", {
|
|
978
985
|
type: "button",
|
|
979
|
-
onClick: () =>
|
|
986
|
+
onClick: () => L("all"),
|
|
980
987
|
className: "inline-flex cursor-pointer items-center gap-1.5 rounded-full border border-action-primary-border bg-action-primary-bg/5 px-3 py-1.5 text-xs font-medium text-text-link shadow-sm transition-colors hover:bg-action-primary-bg/15",
|
|
981
988
|
children: [
|
|
982
989
|
/* @__PURE__ */ x("span", {
|
|
@@ -984,8 +991,8 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
984
991
|
children: p("pages.marketplace.activeFilterCategory", "Category:")
|
|
985
992
|
}),
|
|
986
993
|
" ",
|
|
987
|
-
|
|
988
|
-
/* @__PURE__ */ x(
|
|
994
|
+
F,
|
|
995
|
+
/* @__PURE__ */ x(b, {
|
|
989
996
|
className: "size-3",
|
|
990
997
|
"aria-hidden": "true"
|
|
991
998
|
})
|
|
@@ -1002,7 +1009,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1002
1009
|
}),
|
|
1003
1010
|
" ",
|
|
1004
1011
|
lt.find((e) => e.value === R)?.label,
|
|
1005
|
-
/* @__PURE__ */ x(
|
|
1012
|
+
/* @__PURE__ */ x(b, {
|
|
1006
1013
|
className: "size-3",
|
|
1007
1014
|
"aria-hidden": "true"
|
|
1008
1015
|
})
|
|
@@ -1013,9 +1020,9 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1013
1020
|
onClick: () => Pe(!1),
|
|
1014
1021
|
className: "inline-flex cursor-pointer items-center gap-1.5 rounded-full border border-action-primary-border bg-action-primary-bg/5 px-3 py-1.5 text-xs font-medium text-text-link shadow-sm transition-colors hover:bg-action-primary-bg/15",
|
|
1015
1022
|
children: [
|
|
1016
|
-
/* @__PURE__ */ x(
|
|
1023
|
+
/* @__PURE__ */ x(v, { className: "size-3" }),
|
|
1017
1024
|
p("pages.marketplace.activeFilterFeatured", "Featured Only"),
|
|
1018
|
-
/* @__PURE__ */ x(
|
|
1025
|
+
/* @__PURE__ */ x(b, {
|
|
1019
1026
|
className: "size-3",
|
|
1020
1027
|
"aria-hidden": "true"
|
|
1021
1028
|
})
|
|
@@ -1031,12 +1038,12 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1031
1038
|
children: /* @__PURE__ */ S("div", {
|
|
1032
1039
|
className: "mx-auto max-w-7xl space-y-8 p-6",
|
|
1033
1040
|
children: [
|
|
1034
|
-
/* @__PURE__ */ x(
|
|
1041
|
+
/* @__PURE__ */ x(Ee, { children: p("pages.marketplace.pagePurpose", "The marketplace is where you discover and install apps, agents, workflows, nodes and widgets that extend your workspaces. Browse featured and trending picks, filter by type or category, search for something specific, then open any product to view pricing and reviews before adding it to your cart.") }),
|
|
1035
1042
|
Z && /* @__PURE__ */ S("div", {
|
|
1036
1043
|
role: "alert",
|
|
1037
1044
|
className: "flex flex-col items-center justify-center rounded-xl border border-status-error-border bg-status-error-bg-subtle p-8 text-center",
|
|
1038
1045
|
children: [
|
|
1039
|
-
/* @__PURE__ */ x(
|
|
1046
|
+
/* @__PURE__ */ x(d, { className: "mb-4 size-12 text-status-error-text" }),
|
|
1040
1047
|
/* @__PURE__ */ x("h3", {
|
|
1041
1048
|
className: "mb-2 text-lg font-semibold text-status-error-text-emphasis",
|
|
1042
1049
|
children: p("pages.marketplace.errorTitle", "Failed to load marketplace")
|
|
@@ -1053,9 +1060,9 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1053
1060
|
})
|
|
1054
1061
|
]
|
|
1055
1062
|
}),
|
|
1056
|
-
Qe && !Z && /* @__PURE__ */ x(
|
|
1057
|
-
!Qe && !Z && /* @__PURE__ */ S(
|
|
1058
|
-
!H &&
|
|
1063
|
+
Qe && !Z && /* @__PURE__ */ x(Me, {}),
|
|
1064
|
+
!Qe && !Z && /* @__PURE__ */ S(xe, { children: [
|
|
1065
|
+
!H && D === "all" && W.length > 0 && /* @__PURE__ */ x(je, {
|
|
1059
1066
|
dataTour: "store-marketplace-hero-section",
|
|
1060
1067
|
featuredProducts: W,
|
|
1061
1068
|
onProductClick: Q
|
|
@@ -1066,12 +1073,12 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1066
1073
|
}), /* @__PURE__ */ x("div", {
|
|
1067
1074
|
className: "flex flex-wrap gap-2",
|
|
1068
1075
|
"data-tour": "store-marketplace-type-categories",
|
|
1069
|
-
children: st.map((e) => /* @__PURE__ */ x(
|
|
1076
|
+
children: st.map((e) => /* @__PURE__ */ x(Ae, {
|
|
1070
1077
|
typeId: e.id,
|
|
1071
1078
|
name: e.name,
|
|
1072
1079
|
count: e.count,
|
|
1073
|
-
active:
|
|
1074
|
-
onClick: () =>
|
|
1080
|
+
active: D === e.id,
|
|
1081
|
+
onClick: () => O(e.id)
|
|
1075
1082
|
}, e.id))
|
|
1076
1083
|
})] }),
|
|
1077
1084
|
H && /* @__PURE__ */ S("section", { children: [/* @__PURE__ */ x(A, {
|
|
@@ -1088,7 +1095,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1088
1095
|
product: e,
|
|
1089
1096
|
onClick: () => Q(e)
|
|
1090
1097
|
}, e.id))
|
|
1091
|
-
}) : /* @__PURE__ */ x(
|
|
1098
|
+
}) : /* @__PURE__ */ x(Te, {
|
|
1092
1099
|
illustration: "empty-search",
|
|
1093
1100
|
title: p("pages.marketplace.noFilterMatch", "No apps match your filters"),
|
|
1094
1101
|
description: p("pages.marketplace.noFilterMatchDescription", "Try adjusting your filter criteria or clearing filters to see more results."),
|
|
@@ -1099,7 +1106,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1099
1106
|
children: p("pages.marketplace.clearAllFilters", "Clear All Filters")
|
|
1100
1107
|
})
|
|
1101
1108
|
})] }),
|
|
1102
|
-
!H &&
|
|
1109
|
+
!H && D === "all" && /* @__PURE__ */ S(xe, { children: [
|
|
1103
1110
|
G.length > 0 && /* @__PURE__ */ S("section", { children: [/* @__PURE__ */ x(A, {
|
|
1104
1111
|
icon: be,
|
|
1105
1112
|
title: p("pages.marketplace.mostDownloaded", "Most Downloaded"),
|
|
@@ -1113,7 +1120,7 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1113
1120
|
}, e.id))
|
|
1114
1121
|
})] }),
|
|
1115
1122
|
K.length > 0 && /* @__PURE__ */ S("section", { children: [/* @__PURE__ */ x(A, {
|
|
1116
|
-
icon:
|
|
1123
|
+
icon: ue,
|
|
1117
1124
|
title: p("pages.marketplace.newReleases", "New Releases"),
|
|
1118
1125
|
subtitle: p("pages.marketplace.newReleasesSubtitle", "Recently published apps")
|
|
1119
1126
|
}), /* @__PURE__ */ x("div", {
|
|
@@ -1148,17 +1155,17 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1148
1155
|
})] })
|
|
1149
1156
|
] }),
|
|
1150
1157
|
it && ot.length > 0 && /* @__PURE__ */ S("section", { children: [/* @__PURE__ */ x(A, {
|
|
1151
|
-
icon:
|
|
1158
|
+
icon: d,
|
|
1152
1159
|
title: p("pages.marketplace.deprecatedApps", "Deprecated Apps You've Installed"),
|
|
1153
1160
|
subtitle: p("pages.marketplace.deprecatedAppsSubtitle", "These apps are no longer supported — hover the badge for details")
|
|
1154
1161
|
}), /* @__PURE__ */ x("div", {
|
|
1155
1162
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
1156
|
-
children: ot.map((e) => /* @__PURE__ */ x(
|
|
1163
|
+
children: ot.map((e) => /* @__PURE__ */ x(ke, {
|
|
1157
1164
|
product: e,
|
|
1158
|
-
onClick: () => r(`${
|
|
1165
|
+
onClick: () => r(`${c}/marketplace/product/${e.id}`)
|
|
1159
1166
|
}, e.id))
|
|
1160
1167
|
})] }),
|
|
1161
|
-
$.length === 0 && /* @__PURE__ */ x(
|
|
1168
|
+
$.length === 0 && /* @__PURE__ */ x(Te, {
|
|
1162
1169
|
illustration: "onboarding",
|
|
1163
1170
|
title: p("pages.marketplace.noAppsTitle", "No apps available yet"),
|
|
1164
1171
|
description: p("pages.marketplace.noAppsDescription", "The marketplace is empty. Check back soon for new apps, workflows, and integrations.")
|
|
@@ -1168,17 +1175,17 @@ var C = (e) => e >= 1e6 ? `${(e / 1e6).toFixed(1)}M` : e >= 1e3 ? `${(e / 1e3).t
|
|
|
1168
1175
|
})
|
|
1169
1176
|
}),
|
|
1170
1177
|
/* @__PURE__ */ x(te, {
|
|
1171
|
-
isOpen:
|
|
1172
|
-
onClose:
|
|
1178
|
+
isOpen: m,
|
|
1179
|
+
onClose: fe,
|
|
1173
1180
|
onCheckout: rt,
|
|
1174
1181
|
cartItems: g,
|
|
1175
1182
|
itemCount: h,
|
|
1176
1183
|
currency: de?.currency || "USD",
|
|
1177
|
-
subtotal:
|
|
1178
|
-
tax:
|
|
1179
|
-
total:
|
|
1180
|
-
updateQuantity:
|
|
1181
|
-
removeProduct:
|
|
1184
|
+
subtotal: _,
|
|
1185
|
+
tax: _e,
|
|
1186
|
+
total: Ce,
|
|
1187
|
+
updateQuantity: C,
|
|
1188
|
+
removeProduct: w
|
|
1182
1189
|
})
|
|
1183
1190
|
]
|
|
1184
1191
|
});
|