@burdenoff/microfe-devportal 2026.828.1 → 2026.830.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/AdminDevportalRoot.d.ts.map +1 -1
- package/dist/devportal/AdminDevportalRoot.js +16 -19
- package/dist/devportal/AdminDevportalRoot.js.map +1 -1
- package/dist/devportal/DevportalRoot.d.ts.map +1 -1
- package/dist/devportal/DevportalRoot.js +36 -39
- package/dist/devportal/DevportalRoot.js.map +1 -1
- package/dist/devportal/components/AppCard.js +41 -41
- package/dist/devportal/components/ConfirmDialog.d.ts.map +1 -1
- package/dist/devportal/components/ConfirmDialog.js +19 -22
- package/dist/devportal/components/ConfirmDialog.js.map +1 -1
- package/dist/devportal/components/DataTable.d.ts.map +1 -1
- package/dist/devportal/components/DataTable.js +31 -34
- package/dist/devportal/components/DataTable.js.map +1 -1
- package/dist/devportal/components/FeatureFlaggedRoute.js +8 -8
- package/dist/devportal/components/FormField.d.ts.map +1 -1
- package/dist/devportal/components/FormField.js +26 -32
- package/dist/devportal/components/FormField.js.map +1 -1
- package/dist/devportal/components/GrantDelegationModal.js +64 -64
- package/dist/devportal/components/GrantDelegationModal.js.map +1 -1
- package/dist/devportal/components/LoadingState.d.ts.map +1 -1
- package/dist/devportal/components/LoadingState.js +5 -8
- package/dist/devportal/components/LoadingState.js.map +1 -1
- package/dist/devportal/components/PageLayout.d.ts.map +1 -1
- package/dist/devportal/components/PageLayout.js +10 -13
- package/dist/devportal/components/PageLayout.js.map +1 -1
- package/dist/devportal/components/PermissionGuard.d.ts.map +1 -1
- package/dist/devportal/components/PermissionGuard.js +11 -14
- package/dist/devportal/components/PermissionGuard.js.map +1 -1
- package/dist/devportal/components/SecretDisplay.d.ts.map +1 -1
- package/dist/devportal/components/SecretDisplay.js +24 -30
- package/dist/devportal/components/SecretDisplay.js.map +1 -1
- package/dist/devportal/components/SectionNav.d.ts.map +1 -1
- package/dist/devportal/components/SectionNav.js +24 -27
- package/dist/devportal/components/SectionNav.js.map +1 -1
- package/dist/devportal/components/StatusBadge.d.ts.map +1 -1
- package/dist/devportal/components/StatusBadge.js +24 -33
- package/dist/devportal/components/StatusBadge.js.map +1 -1
- package/dist/devportal/index.d.ts +1 -0
- package/dist/devportal/index.d.ts.map +1 -1
- package/dist/devportal/index.js +1 -0
- package/dist/devportal/pages/AdminReviewPage.js +172 -172
- package/dist/devportal/pages/AnalyticsDashboardPage.js +43 -43
- package/dist/devportal/pages/AnalyticsDashboardPage.js.map +1 -1
- package/dist/devportal/pages/ApiKeysPage.js +119 -119
- package/dist/devportal/pages/ApiKeysPage.js.map +1 -1
- package/dist/devportal/pages/AppLogsPage.js +45 -45
- package/dist/devportal/pages/ApplicationDetailPage.js +607 -607
- package/dist/devportal/pages/ApplicationVersionsPage.js +13 -13
- package/dist/devportal/pages/ApplicationsPage.d.ts.map +1 -1
- package/dist/devportal/pages/ApplicationsPage.js +104 -101
- package/dist/devportal/pages/ApplicationsPage.js.map +1 -1
- package/dist/devportal/pages/CreateApiKeyPage.js +45 -45
- package/dist/devportal/pages/CreateApplicationPage.js +38 -38
- package/dist/devportal/pages/CreateApplicationPage.js.map +1 -1
- package/dist/devportal/pages/CreateOAuthClientPage.js +52 -52
- package/dist/devportal/pages/CreateOrganizationPage.js +26 -26
- package/dist/devportal/pages/CreateWebhookPage.d.ts.map +1 -1
- package/dist/devportal/pages/CreateWebhookPage.js +48 -48
- package/dist/devportal/pages/CreateWebhookPage.js.map +1 -1
- package/dist/devportal/pages/DashboardPage.d.ts.map +1 -1
- package/dist/devportal/pages/DashboardPage.js +66 -72
- package/dist/devportal/pages/DashboardPage.js.map +1 -1
- package/dist/devportal/pages/DelegationsPage.js +174 -174
- package/dist/devportal/pages/DocumentationPage.js +93 -93
- package/dist/devportal/pages/EditApplicationPage.js +14 -14
- package/dist/devportal/pages/EditApplicationPage.js.map +1 -1
- package/dist/devportal/pages/ListingPreviewPage.js +76 -76
- package/dist/devportal/pages/OAuthClientDetailPage.js +75 -75
- package/dist/devportal/pages/OAuthClientDetailPage.js.map +1 -1
- package/dist/devportal/pages/OAuthClientsPage.js +64 -64
- package/dist/devportal/pages/OrganizationDetailPage.js +189 -189
- package/dist/devportal/pages/OrganizationDetailPage.js.map +1 -1
- package/dist/devportal/pages/OrganizationMembersPage.js +10 -10
- package/dist/devportal/pages/OrganizationsPage.d.ts.map +1 -1
- package/dist/devportal/pages/OrganizationsPage.js +163 -154
- package/dist/devportal/pages/OrganizationsPage.js.map +1 -1
- package/dist/devportal/pages/PublishPage.js +104 -104
- package/dist/devportal/pages/PublishPage.js.map +1 -1
- package/dist/devportal/pages/PublisherProfilePage.js +55 -55
- package/dist/devportal/pages/ResourcesPage.js +60 -60
- package/dist/devportal/pages/RevenueDashboardPage.js +60 -60
- package/dist/devportal/pages/RevenueDashboardPage.js.map +1 -1
- package/dist/devportal/pages/SellerDashboardPage.js +83 -83
- package/dist/devportal/pages/SellerItemsPage.js +163 -163
- package/dist/devportal/pages/SellerItemsPage.js.map +1 -1
- package/dist/devportal/pages/SellerOrdersPage.js +63 -63
- package/dist/devportal/pages/SettingsPage.js +21 -21
- package/dist/devportal/pages/SetupPage.js +183 -183
- package/dist/devportal/pages/SetupPage.js.map +1 -1
- package/dist/devportal/pages/StoreSubmissionPage.js +5 -5
- package/dist/devportal/pages/WebhookDetailPage.js +123 -123
- package/dist/devportal/pages/WebhookDetailPage.js.map +1 -1
- package/dist/devportal/pages/WebhooksPage.js +118 -118
- package/dist/devportal/pages/WebhooksPage.js.map +1 -1
- package/dist/devportal/utils/i18n.d.ts +9 -2
- package/dist/devportal/utils/i18n.d.ts.map +1 -1
- package/dist/devportal/utils/i18n.js +13 -10
- package/dist/devportal/utils/i18n.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/translations/en.d.ts +1251 -0
- package/dist/translations/en.d.ts.map +1 -0
- package/dist/translations/en.js +1235 -0
- package/dist/translations/en.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useDevportal as e } from "../providers/DevportalProvider.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { useTr as t } from "../utils/i18n.js";
|
|
3
|
+
import { EmptyState as n } from "../components/EmptyState.js";
|
|
4
|
+
import { useGetDeveloperPortalSettingsOverviewQuery as r } from "../../generated/global-operations.js";
|
|
5
|
+
import { getErrorMessage as i } from "../hooks/useGraphQL.js";
|
|
6
|
+
import { PageLayout as a, PageSection as o } from "../components/PageLayout.js";
|
|
7
|
+
import { VerifiedBadge as s } from "../components/StatusBadge.js";
|
|
7
8
|
import "../hooks/index.js";
|
|
8
|
-
import { useTr as s } from "../utils/i18n.js";
|
|
9
9
|
import { AlertCircle as c, Building2 as l, ExternalLink as u, KeyRound as d, Loader2 as f, Mail as p, Settings as m, Shield as h, UserCircle2 as g, Webhook as _, Workflow as v } from "lucide-react";
|
|
10
10
|
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
11
11
|
import { EmphasisPanel as x } from "@burdenoff/fe-libs/ui";
|
|
@@ -15,10 +15,10 @@ var S = (e, t) => {
|
|
|
15
15
|
let n = new Date(e);
|
|
16
16
|
return Number.isNaN(n.getTime()) ? t : n.toLocaleDateString();
|
|
17
17
|
}, C = () => {
|
|
18
|
-
let { navigate: C, basePath: w } = e(), T =
|
|
18
|
+
let { navigate: C, basePath: w } = e(), T = t(), { data: E, loading: D, error: O } = r({ fetchPolicy: "cache-and-network" }), k = (e) => {
|
|
19
19
|
C?.(`${w}${e}`);
|
|
20
20
|
}, A = T("devportal.settings.never", "Never"), j = T("devportal.settings.title", "Settings"), M = T("devportal.settings.description", "Review your developer portal account, credentials, and support options");
|
|
21
|
-
if (D && !E) return /* @__PURE__ */ y(
|
|
21
|
+
if (D && !E) return /* @__PURE__ */ y(a, {
|
|
22
22
|
title: j,
|
|
23
23
|
description: M,
|
|
24
24
|
children: /* @__PURE__ */ y("div", {
|
|
@@ -29,20 +29,20 @@ var S = (e, t) => {
|
|
|
29
29
|
children: /* @__PURE__ */ y(f, { className: "h-8 w-8 animate-spin" })
|
|
30
30
|
})
|
|
31
31
|
});
|
|
32
|
-
if (O) return /* @__PURE__ */ y(
|
|
32
|
+
if (O) return /* @__PURE__ */ y(a, {
|
|
33
33
|
title: j,
|
|
34
34
|
description: M,
|
|
35
|
-
children: /* @__PURE__ */ y(
|
|
35
|
+
children: /* @__PURE__ */ y(n, {
|
|
36
36
|
icon: /* @__PURE__ */ y(c, {
|
|
37
37
|
size: 32,
|
|
38
38
|
className: "text-status-error-text"
|
|
39
39
|
}),
|
|
40
40
|
title: T("devportal.settings.errorTitle", "Unable to load settings"),
|
|
41
|
-
description:
|
|
41
|
+
description: i(O)
|
|
42
42
|
})
|
|
43
43
|
});
|
|
44
44
|
let N = E?.myDeveloperProfile, P = E?.myDeveloperOrganizations ?? [], F = E?.myApiKeys?.apiKeys ?? [], I = E?.myApiKeys?.totalCount ?? F.length, L = F[0], R = P.reduce((e, t) => e + (t.totalRevenue ?? 0), 0);
|
|
45
|
-
return /* @__PURE__ */ y(
|
|
45
|
+
return /* @__PURE__ */ y(a, {
|
|
46
46
|
title: j,
|
|
47
47
|
description: M,
|
|
48
48
|
purpose: T("devportal.settings.purpose", "A quick health-check of your developer account — your profile, how many API keys and organizations you have, and where to get support. Use it to spot missing setup before it blocks publishing or billing."),
|
|
@@ -51,7 +51,7 @@ var S = (e, t) => {
|
|
|
51
51
|
children: [/* @__PURE__ */ b("div", {
|
|
52
52
|
className: "space-y-6",
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ y(
|
|
54
|
+
/* @__PURE__ */ y(o, {
|
|
55
55
|
title: T("devportal.settings.profile", "Profile"),
|
|
56
56
|
children: /* @__PURE__ */ y(x, { children: /* @__PURE__ */ b("div", {
|
|
57
57
|
className: "flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",
|
|
@@ -69,7 +69,7 @@ var S = (e, t) => {
|
|
|
69
69
|
className: "text-lg font-semibold",
|
|
70
70
|
children: T("devportal.settings.developerProfile", "Developer profile")
|
|
71
71
|
}),
|
|
72
|
-
N?.isVerified && /* @__PURE__ */ y(
|
|
72
|
+
N?.isVerified && /* @__PURE__ */ y(s, { verified: !0 })
|
|
73
73
|
]
|
|
74
74
|
}),
|
|
75
75
|
/* @__PURE__ */ y("p", {
|
|
@@ -123,7 +123,7 @@ var S = (e, t) => {
|
|
|
123
123
|
}),
|
|
124
124
|
/* @__PURE__ */ b("div", {
|
|
125
125
|
className: "grid gap-6 lg:grid-cols-2",
|
|
126
|
-
children: [/* @__PURE__ */ y(
|
|
126
|
+
children: [/* @__PURE__ */ y(o, {
|
|
127
127
|
title: T("devportal.settings.credentials", "Credentials"),
|
|
128
128
|
children: /* @__PURE__ */ y("div", {
|
|
129
129
|
className: "rounded-card border border-border-seam bg-bg-surface p-6",
|
|
@@ -180,7 +180,7 @@ var S = (e, t) => {
|
|
|
180
180
|
})]
|
|
181
181
|
})
|
|
182
182
|
})
|
|
183
|
-
}), /* @__PURE__ */ y(
|
|
183
|
+
}), /* @__PURE__ */ y(o, {
|
|
184
184
|
title: T("devportal.settings.organizations", "Organizations"),
|
|
185
185
|
children: /* @__PURE__ */ b("div", {
|
|
186
186
|
className: "rounded-card border border-border-seam bg-bg-surface p-6",
|
|
@@ -221,7 +221,7 @@ var S = (e, t) => {
|
|
|
221
221
|
})
|
|
222
222
|
})]
|
|
223
223
|
}),
|
|
224
|
-
/* @__PURE__ */ y(
|
|
224
|
+
/* @__PURE__ */ y(o, {
|
|
225
225
|
title: T("devportal.settings.deliveryAutomation", "Delivery & automation"),
|
|
226
226
|
children: /* @__PURE__ */ y("div", {
|
|
227
227
|
className: "rounded-card border border-border-seam bg-bg-surface p-6",
|
|
@@ -255,7 +255,7 @@ var S = (e, t) => {
|
|
|
255
255
|
}), /* @__PURE__ */ b("div", {
|
|
256
256
|
className: "space-y-6",
|
|
257
257
|
children: [
|
|
258
|
-
/* @__PURE__ */ y(
|
|
258
|
+
/* @__PURE__ */ y(o, {
|
|
259
259
|
title: T("devportal.settings.securitySupport", "Security & support"),
|
|
260
260
|
children: /* @__PURE__ */ b("div", {
|
|
261
261
|
className: "rounded-card border border-border-seam bg-bg-surface p-6",
|
|
@@ -287,7 +287,7 @@ var S = (e, t) => {
|
|
|
287
287
|
})]
|
|
288
288
|
})
|
|
289
289
|
}),
|
|
290
|
-
/* @__PURE__ */ y(
|
|
290
|
+
/* @__PURE__ */ y(o, {
|
|
291
291
|
title: T("devportal.settings.recentCredentialActivity", "Recent credential activity"),
|
|
292
292
|
children: /* @__PURE__ */ y("div", {
|
|
293
293
|
className: "rounded-card border border-border-seam bg-bg-surface p-6",
|
|
@@ -322,7 +322,7 @@ var S = (e, t) => {
|
|
|
322
322
|
})
|
|
323
323
|
]
|
|
324
324
|
})]
|
|
325
|
-
}) : /* @__PURE__ */ y(
|
|
325
|
+
}) : /* @__PURE__ */ y(n, {
|
|
326
326
|
illustration: "empty-notifications",
|
|
327
327
|
icon: /* @__PURE__ */ y(d, { size: 24 }),
|
|
328
328
|
title: T("devportal.settings.noCredentialActivity", "No credential activity yet"),
|
|
@@ -330,7 +330,7 @@ var S = (e, t) => {
|
|
|
330
330
|
})
|
|
331
331
|
})
|
|
332
332
|
}),
|
|
333
|
-
/* @__PURE__ */ y(
|
|
333
|
+
/* @__PURE__ */ y(o, {
|
|
334
334
|
title: T("devportal.settings.accountActions", "Account actions"),
|
|
335
335
|
children: /* @__PURE__ */ b("div", {
|
|
336
336
|
className: "rounded-lg border border-status-warning-border bg-status-warning-bg-subtle p-6",
|