@burdenoff/microfe-devportal 2026.1113.1 → 2026.1113.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/devportal/DevportalRoot.js +65 -119
- package/dist/devportal/DevportalRoot.js.map +1 -1
- package/dist/devportal/components/AppCard.js +4 -4
- package/dist/devportal/components/DeveloperSettingsHub.d.ts +6 -0
- package/dist/devportal/components/DeveloperSettingsHub.js +59 -0
- package/dist/devportal/components/DeveloperSettingsHub.js.map +1 -0
- package/dist/devportal/components/SectionNav.d.ts +1 -1
- package/dist/devportal/components/SectionNav.js +60 -36
- package/dist/devportal/components/SectionNav.js.map +1 -1
- package/dist/devportal/pages/AnalyticsDashboardPage.js +186 -179
- package/dist/devportal/pages/AnalyticsDashboardPage.js.map +1 -1
- package/dist/devportal/pages/ApiKeysPage.js +113 -111
- package/dist/devportal/pages/ApiKeysPage.js.map +1 -1
- package/dist/devportal/pages/AppLogsPage.js +80 -84
- package/dist/devportal/pages/AppLogsPage.js.map +1 -1
- package/dist/devportal/pages/ApplicationDetailPage.js +529 -504
- package/dist/devportal/pages/ApplicationDetailPage.js.map +1 -1
- package/dist/devportal/pages/ApplicationsPage.js +68 -67
- package/dist/devportal/pages/ApplicationsPage.js.map +1 -1
- package/dist/devportal/pages/CreateApiKeyPage.js +163 -166
- package/dist/devportal/pages/CreateApiKeyPage.js.map +1 -1
- package/dist/devportal/pages/CreateOAuthClientPage.js +134 -130
- package/dist/devportal/pages/CreateOAuthClientPage.js.map +1 -1
- package/dist/devportal/pages/DelegationsPage.js +11 -11
- package/dist/devportal/pages/DocumentationPage.js +100 -94
- package/dist/devportal/pages/DocumentationPage.js.map +1 -1
- package/dist/devportal/pages/EditApplicationPage.js +379 -377
- package/dist/devportal/pages/EditApplicationPage.js.map +1 -1
- package/dist/devportal/pages/InvitationDecisionPage.js +83 -79
- package/dist/devportal/pages/InvitationDecisionPage.js.map +1 -1
- package/dist/devportal/pages/OAuthClientDetailPage.js +76 -76
- package/dist/devportal/pages/OAuthClientDetailPage.js.map +1 -1
- package/dist/devportal/pages/OAuthClientsPage.js +126 -124
- package/dist/devportal/pages/OAuthClientsPage.js.map +1 -1
- package/dist/devportal/pages/OrganizationDetailPage.js +19 -19
- package/dist/devportal/pages/OrganizationMembersPage.js +223 -204
- package/dist/devportal/pages/OrganizationMembersPage.js.map +1 -1
- package/dist/devportal/pages/ResourcesPage.d.ts +6 -0
- package/dist/devportal/pages/ResourcesPage.js +171 -155
- package/dist/devportal/pages/ResourcesPage.js.map +1 -1
- package/dist/devportal/pages/SellerDashboardPage.js +13 -13
- package/dist/devportal/pages/SellerItemsPage.js +4 -4
- package/dist/devportal/pages/SettingsPage.js +330 -315
- package/dist/devportal/pages/SettingsPage.js.map +1 -1
- package/dist/devportal/pages/SetupPage.js +5 -5
- package/dist/devportal/pages/WebhookDetailPage.js +6 -6
- package/dist/devportal/pages/WebhooksPage.js +39 -39
- package/dist/devportal/pages/WebhooksPage.js.map +1 -1
- package/dist/devportal/utils/appDetailTabs.d.ts +73 -0
- package/dist/devportal/utils/appDetailTabs.js +62 -0
- package/dist/devportal/utils/appDetailTabs.js.map +1 -0
- package/dist/devportal/utils/developerNav.d.ts +39 -0
- package/dist/devportal/utils/developerNav.js +304 -0
- package/dist/devportal/utils/developerNav.js.map +1 -0
- package/package.json +2 -2
|
@@ -9,8 +9,8 @@ import { StoreImage as o } from "../components/StoreImage.js";
|
|
|
9
9
|
import { useEffect as s, useState as c } from "react";
|
|
10
10
|
import { ArrowRight as l, Building2 as u, CheckCircle2 as d, Clock as f, DollarSign as p, Loader2 as m, Package as h, Plus as g } from "lucide-react";
|
|
11
11
|
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { GlassCard as b, GradientText as x } from "@burdenoff/fe-libs/ui";
|
|
13
|
+
import { useI18n as S } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
14
14
|
// src/devportal/pages/SellerDashboardPage.tsx
|
|
15
15
|
var C = {
|
|
16
16
|
PUBLISHED: {
|
|
@@ -48,7 +48,7 @@ function E(e) {
|
|
|
48
48
|
return `query SellerDashboardOrgCurrencies {\n ${e.map((e, t) => `o${t}: developerOrgRevenueSummary(organizationId: ${JSON.stringify(e)}, period: "monthly") { currency }`).join("\n ")}\n }`;
|
|
49
49
|
}
|
|
50
50
|
var D = "\n query SellerDashboardProducts($publisherId: String!) {\n products(filter: { publisherId: $publisherId, nature: PHYSICAL }, limit: 3, offset: 0) {\n id\n name\n slug\n type\n status\n price\n currency\n stockQuantity\n icon\n }\n }\n", O = () => {
|
|
51
|
-
let { navigate: i, basePath: o, apiGatewayUrl: p, authToken:
|
|
51
|
+
let { navigate: i, basePath: o, apiGatewayUrl: p, authToken: b } = n(), { t: C } = S(), w = (e, t) => {
|
|
52
52
|
let n = C(e);
|
|
53
53
|
return n === e ? t : n;
|
|
54
54
|
}, O = a(p), [N, P] = c(!0), [F, I] = c(!1), [L, R] = c([]), [z, B] = c(null), [V, H] = c([]), [U, W] = c({});
|
|
@@ -60,7 +60,7 @@ var D = "\n query SellerDashboardProducts($publisherId: String!) {\n product
|
|
|
60
60
|
method: "POST",
|
|
61
61
|
headers: {
|
|
62
62
|
"Content-Type": "application/json",
|
|
63
|
-
Authorization: `Bearer ${
|
|
63
|
+
Authorization: `Bearer ${b ?? ""}`
|
|
64
64
|
},
|
|
65
65
|
body: JSON.stringify({ query: T })
|
|
66
66
|
});
|
|
@@ -74,7 +74,7 @@ var D = "\n query SellerDashboardProducts($publisherId: String!) {\n product
|
|
|
74
74
|
})(), () => {
|
|
75
75
|
e = !0;
|
|
76
76
|
};
|
|
77
|
-
}, [O,
|
|
77
|
+
}, [O, b]), s(() => {
|
|
78
78
|
if (!z) return;
|
|
79
79
|
let e = !1;
|
|
80
80
|
return I(!0), (async () => {
|
|
@@ -83,7 +83,7 @@ var D = "\n query SellerDashboardProducts($publisherId: String!) {\n product
|
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: {
|
|
85
85
|
"Content-Type": "application/json",
|
|
86
|
-
Authorization: `Bearer ${
|
|
86
|
+
Authorization: `Bearer ${b ?? ""}`
|
|
87
87
|
},
|
|
88
88
|
body: JSON.stringify({
|
|
89
89
|
query: D,
|
|
@@ -111,7 +111,7 @@ var D = "\n query SellerDashboardProducts($publisherId: String!) {\n product
|
|
|
111
111
|
}, [
|
|
112
112
|
z,
|
|
113
113
|
O,
|
|
114
|
-
|
|
114
|
+
b
|
|
115
115
|
]), s(() => {
|
|
116
116
|
let e = L.slice(0, 3).map((e) => e.id);
|
|
117
117
|
if (e.length === 0) return;
|
|
@@ -122,7 +122,7 @@ var D = "\n query SellerDashboardProducts($publisherId: String!) {\n product
|
|
|
122
122
|
method: "POST",
|
|
123
123
|
headers: {
|
|
124
124
|
"Content-Type": "application/json",
|
|
125
|
-
Authorization: `Bearer ${
|
|
125
|
+
Authorization: `Bearer ${b ?? ""}`
|
|
126
126
|
},
|
|
127
127
|
body: JSON.stringify({ query: E(e) })
|
|
128
128
|
});
|
|
@@ -141,7 +141,7 @@ var D = "\n query SellerDashboardProducts($publisherId: String!) {\n product
|
|
|
141
141
|
}, [
|
|
142
142
|
L.map((e) => e.id).join(","),
|
|
143
143
|
O,
|
|
144
|
-
|
|
144
|
+
b
|
|
145
145
|
]);
|
|
146
146
|
let G = N, K = N || F, q = V.length, J = V.filter((e) => e.status === "PENDING_REVIEW").length, Y = V.filter((e) => e.status === "PUBLISHED").length, X = (e) => {
|
|
147
147
|
i?.(`${o}${e}`);
|
|
@@ -152,7 +152,7 @@ var D = "\n query SellerDashboardProducts($publisherId: String!) {\n product
|
|
|
152
152
|
title: /* @__PURE__ */ y(_, { children: [
|
|
153
153
|
w("devportal.seller", "Seller"),
|
|
154
154
|
" ",
|
|
155
|
-
/* @__PURE__ */ v(
|
|
155
|
+
/* @__PURE__ */ v(x, { children: w("devportal.dashboard", "Dashboard") })
|
|
156
156
|
] }),
|
|
157
157
|
actions: G ? null : /* @__PURE__ */ y("button", {
|
|
158
158
|
onClick: () => X("/seller/items/new"),
|
|
@@ -267,7 +267,7 @@ var D = "\n query SellerDashboardProducts($publisherId: String!) {\n product
|
|
|
267
267
|
}), n]
|
|
268
268
|
}), j = ({ product: e, onClick: t }) => {
|
|
269
269
|
let n = C[e.status] ?? C.DRAFT;
|
|
270
|
-
return /* @__PURE__ */ y(
|
|
270
|
+
return /* @__PURE__ */ y(b, {
|
|
271
271
|
treatment: "insight",
|
|
272
272
|
role: "button",
|
|
273
273
|
tabIndex: 0,
|
|
@@ -315,11 +315,11 @@ var D = "\n query SellerDashboardProducts($publisherId: String!) {\n product
|
|
|
315
315
|
})]
|
|
316
316
|
});
|
|
317
317
|
}, M = ({ org: e, currency: t, onClick: n }) => {
|
|
318
|
-
let { t: r } =
|
|
318
|
+
let { t: r } = S(), a = (e, t) => {
|
|
319
319
|
let n = r(e);
|
|
320
320
|
return n === e ? t : n;
|
|
321
321
|
}, o = e.name.split(" ").map((e) => e[0]).join("").slice(0, 2).toUpperCase();
|
|
322
|
-
return /* @__PURE__ */ y(
|
|
322
|
+
return /* @__PURE__ */ y(b, {
|
|
323
323
|
treatment: "insight",
|
|
324
324
|
role: "button",
|
|
325
325
|
tabIndex: 0,
|
|
@@ -8,8 +8,8 @@ import { StoreImage as i } from "../components/StoreImage.js";
|
|
|
8
8
|
import { useEffect as a, useMemo as o, useState as s } from "react";
|
|
9
9
|
import { AlertCircle as c, Edit as l, Grid as u, List as d, Loader2 as f, Package as p, Plus as m, Search as h, Tag as g } from "lucide-react";
|
|
10
10
|
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { EmphasisPanel as te, GlassCard as y } from "@burdenoff/fe-libs/ui";
|
|
12
|
+
import { useI18n as ne } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
13
13
|
// src/devportal/pages/SellerItemsPage.tsx
|
|
14
14
|
var re = /* @__PURE__ */ new Set([
|
|
15
15
|
"APP",
|
|
@@ -84,7 +84,7 @@ function w(e) {
|
|
|
84
84
|
return b[e] ?? e.replace(/_/g, " ");
|
|
85
85
|
}
|
|
86
86
|
var T = "\n query SellerMyPublisher {\n myPublisher {\n id\n }\n }\n", E = "\n query SellerItems($publisherId: String!) {\n products(filter: { publisherId: $publisherId, nature: PHYSICAL }, limit: 100, offset: 0) {\n id\n name\n slug\n type\n status\n price\n currency\n stockQuantity\n sku\n brand\n icon\n createdAt\n }\n }\n", D = () => {
|
|
87
|
-
let { navigate: g, basePath: b, apiGatewayUrl: D, authToken: k } = n(), { t: A } =
|
|
87
|
+
let { navigate: g, basePath: b, apiGatewayUrl: D, authToken: k } = n(), { t: A } = ne(), j = (e, t) => {
|
|
88
88
|
let n = A(e);
|
|
89
89
|
return n === e ? t : n;
|
|
90
90
|
}, M = r(D), [N, P] = s(!0), [F, I] = s(!1), [L, R] = s(null), [z, B] = s([]), [V, H] = s(null), [U, W] = s(0), [G, K] = s("grid"), [q, J] = s(""), [Y, ie] = s(""), X = (e) => {
|
|
@@ -221,7 +221,7 @@ var T = "\n query SellerMyPublisher {\n myPublisher {\n id\n }\n }\
|
|
|
221
221
|
}), j("devportal.listAnItem", "List an Item")]
|
|
222
222
|
}),
|
|
223
223
|
children: [
|
|
224
|
-
/* @__PURE__ */ _(
|
|
224
|
+
/* @__PURE__ */ _(te, {
|
|
225
225
|
className: "mb-4",
|
|
226
226
|
children: /* @__PURE__ */ v("div", {
|
|
227
227
|
className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
|