@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
|
@@ -10,13 +10,13 @@ import { PermissionGuard as c } from "../components/PermissionGuard.js";
|
|
|
10
10
|
import "../components/index.js";
|
|
11
11
|
import "../hooks/index.js";
|
|
12
12
|
import { useState as l } from "react";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
13
|
+
import { AlertCircle as u, Loader2 as d, Plus as f, Search as p, Shield as m } from "lucide-react";
|
|
14
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
15
|
+
import { useI18n as _ } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
16
16
|
import { EmphasisPanel as v, GlassCard as y } from "@burdenoff/fe-libs/ui";
|
|
17
17
|
//#region src/devportal/pages/OAuthClientsPage.tsx
|
|
18
18
|
var b = () => {
|
|
19
|
-
let { navigate: b, basePath: x } = e(), { t: S } =
|
|
19
|
+
let { navigate: b, basePath: x } = e(), { t: S } = _(), C = (e, t) => {
|
|
20
20
|
let n = S(e);
|
|
21
21
|
return n === e ? t : n;
|
|
22
22
|
}, [w, T] = l(""), [E, D] = l(""), { data: O, loading: k, error: A, refetch: j } = r({ fetchPolicy: "cache-and-network" }), M = O?.currentUserApps?.apps.map((e) => ({
|
|
@@ -38,33 +38,33 @@ var b = () => {
|
|
|
38
38
|
let t = !w || e.name.toLowerCase().includes(w.toLowerCase()) || e.clientId.toLowerCase().includes(w.toLowerCase()), n = !E || e.type === E;
|
|
39
39
|
return t && n;
|
|
40
40
|
});
|
|
41
|
-
if (k && !O) return /* @__PURE__ */
|
|
41
|
+
if (k && !O) return /* @__PURE__ */ h(a, {
|
|
42
42
|
title: C("devportal.oauthApps", "OAuth Apps"),
|
|
43
43
|
description: C("devportal.manageOAuthApps", "Manage your OAuth applications and credentials"),
|
|
44
|
-
children: /* @__PURE__ */
|
|
44
|
+
children: /* @__PURE__ */ g("div", {
|
|
45
45
|
className: "flex items-center justify-center py-12",
|
|
46
|
-
children: [/* @__PURE__ */
|
|
46
|
+
children: [/* @__PURE__ */ h(d, { className: "h-8 w-8 animate-spin text-text-secondary" }), /* @__PURE__ */ h("span", {
|
|
47
47
|
className: "ml-2 text-text-secondary",
|
|
48
48
|
children: C("devportal.loadingApps", "Loading apps...")
|
|
49
49
|
})]
|
|
50
50
|
})
|
|
51
51
|
});
|
|
52
|
-
if (A) return /* @__PURE__ */
|
|
52
|
+
if (A) return /* @__PURE__ */ h(a, {
|
|
53
53
|
title: C("devportal.oauthApps", "OAuth Apps"),
|
|
54
54
|
description: C("devportal.manageOAuthApps", "Manage your OAuth applications and credentials"),
|
|
55
|
-
children: /* @__PURE__ */
|
|
55
|
+
children: /* @__PURE__ */ g("div", {
|
|
56
56
|
className: "rounded-lg border border-status-error-border/50 bg-status-error-bg/10 p-6 text-center",
|
|
57
57
|
children: [
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ h(u, { className: "mx-auto h-8 w-8 text-status-error-text" }),
|
|
59
|
+
/* @__PURE__ */ h("h3", {
|
|
60
60
|
className: "mt-2 font-medium text-status-error-text",
|
|
61
61
|
children: C("devportal.failedToLoadApps", "Failed to load apps")
|
|
62
62
|
}),
|
|
63
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ h("p", {
|
|
64
64
|
className: "mt-1 text-sm text-text-secondary",
|
|
65
65
|
children: i(A)
|
|
66
66
|
}),
|
|
67
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ h("button", {
|
|
68
68
|
onClick: () => j(),
|
|
69
69
|
className: "mt-4 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
|
|
70
70
|
children: C("devportal.tryAgain", "Try Again")
|
|
@@ -76,21 +76,21 @@ var b = () => {
|
|
|
76
76
|
{
|
|
77
77
|
key: "name",
|
|
78
78
|
header: "App",
|
|
79
|
-
render: (e) => /* @__PURE__ */
|
|
79
|
+
render: (e) => /* @__PURE__ */ g("div", {
|
|
80
80
|
className: "flex items-center gap-3",
|
|
81
|
-
children: [/* @__PURE__ */
|
|
81
|
+
children: [/* @__PURE__ */ h("div", {
|
|
82
82
|
className: t("flex h-10 w-10 items-center justify-center rounded-lg", e.status === "ACTIVE" ? "bg-action-primary-bg/10 text-primary" : "bg-bg-sunken text-text-tertiary"),
|
|
83
|
-
children: /* @__PURE__ */
|
|
84
|
-
}), /* @__PURE__ */
|
|
83
|
+
children: /* @__PURE__ */ h(m, { size: 20 })
|
|
84
|
+
}), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ g("div", {
|
|
85
85
|
className: "flex items-center gap-2",
|
|
86
|
-
children: [/* @__PURE__ */
|
|
86
|
+
children: [/* @__PURE__ */ h("p", {
|
|
87
87
|
className: "font-medium",
|
|
88
88
|
children: e.name
|
|
89
|
-
}), /* @__PURE__ */
|
|
89
|
+
}), /* @__PURE__ */ h("span", {
|
|
90
90
|
className: t("rounded px-1.5 py-0.5 text-xs", e.type === "SERVICE" ? "bg-accent-purple-subtle text-accent-purple" : e.type === "INTEGRATION" || e.type === "API_INTEGRATION" ? "bg-status-info-bg-subtle text-status-info-text" : "bg-status-success-bg-subtle text-status-success-text"),
|
|
91
91
|
children: e.type
|
|
92
92
|
})]
|
|
93
|
-
}), /* @__PURE__ */
|
|
93
|
+
}), /* @__PURE__ */ h("code", {
|
|
94
94
|
className: "text-xs text-text-secondary",
|
|
95
95
|
children: e.clientId
|
|
96
96
|
})] })]
|
|
@@ -99,12 +99,12 @@ var b = () => {
|
|
|
99
99
|
{
|
|
100
100
|
key: "scopes",
|
|
101
101
|
header: "Scopes",
|
|
102
|
-
render: (e) => /* @__PURE__ */
|
|
102
|
+
render: (e) => /* @__PURE__ */ g("div", {
|
|
103
103
|
className: "flex flex-wrap gap-1",
|
|
104
|
-
children: [e.scopes.slice(0, 3).map((e) => /* @__PURE__ */
|
|
104
|
+
children: [e.scopes.slice(0, 3).map((e) => /* @__PURE__ */ h("span", {
|
|
105
105
|
className: "inline-flex rounded bg-bg-sunken px-1.5 py-0.5 text-xs",
|
|
106
106
|
children: e
|
|
107
|
-
}, e)), e.scopes.length > 3 && /* @__PURE__ */
|
|
107
|
+
}, e)), e.scopes.length > 3 && /* @__PURE__ */ g("span", {
|
|
108
108
|
className: "text-xs text-text-secondary",
|
|
109
109
|
children: ["+", e.scopes.length - 3]
|
|
110
110
|
})]
|
|
@@ -113,7 +113,7 @@ var b = () => {
|
|
|
113
113
|
{
|
|
114
114
|
key: "redirectUris",
|
|
115
115
|
header: "Redirect URIs",
|
|
116
|
-
render: (e) => /* @__PURE__ */
|
|
116
|
+
render: (e) => /* @__PURE__ */ g("span", {
|
|
117
117
|
className: "text-sm",
|
|
118
118
|
children: [
|
|
119
119
|
e.redirectUris.length,
|
|
@@ -125,9 +125,9 @@ var b = () => {
|
|
|
125
125
|
{
|
|
126
126
|
key: "status",
|
|
127
127
|
header: "Status",
|
|
128
|
-
render: (e) => /* @__PURE__ */
|
|
128
|
+
render: (e) => /* @__PURE__ */ g("div", {
|
|
129
129
|
className: "flex items-center gap-2",
|
|
130
|
-
children: [/* @__PURE__ */
|
|
130
|
+
children: [/* @__PURE__ */ h(o, { active: e.status === "ACTIVE" }), /* @__PURE__ */ h("span", {
|
|
131
131
|
className: "text-sm",
|
|
132
132
|
children: e.status
|
|
133
133
|
})]
|
|
@@ -139,60 +139,60 @@ var b = () => {
|
|
|
139
139
|
integration: M.filter((e) => e.type === "INTEGRATION" || e.type === "API_INTEGRATION").length,
|
|
140
140
|
service: M.filter((e) => e.type === "SERVICE").length
|
|
141
141
|
};
|
|
142
|
-
return /* @__PURE__ */
|
|
142
|
+
return /* @__PURE__ */ h(c, {
|
|
143
143
|
authOnly: !0,
|
|
144
|
-
children: /* @__PURE__ */
|
|
144
|
+
children: /* @__PURE__ */ g(a, {
|
|
145
145
|
title: C("devportal.oauthApps", "OAuth Apps"),
|
|
146
146
|
description: C("devportal.manageOAuthApps", "Manage your OAuth applications and credentials"),
|
|
147
147
|
purpose: C("devportal.oauthAppsPurpose", "OAuth apps let external services sign in users and call the API on their behalf. Register one here to get a client ID and secret, set redirect URIs, and choose the scopes your integration may request."),
|
|
148
|
-
actions: /* @__PURE__ */
|
|
148
|
+
actions: /* @__PURE__ */ g("button", {
|
|
149
149
|
onClick: () => N("/oauth/new"),
|
|
150
150
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 transition-colors",
|
|
151
|
-
children: [/* @__PURE__ */
|
|
151
|
+
children: [/* @__PURE__ */ h(f, { size: 16 }), C("devportal.createOAuthApp", "Create OAuth App")]
|
|
152
152
|
}),
|
|
153
153
|
children: [
|
|
154
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ h("div", {
|
|
155
155
|
className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
|
|
156
|
-
children: /* @__PURE__ */
|
|
156
|
+
children: /* @__PURE__ */ g("div", {
|
|
157
157
|
className: "flex flex-1 items-center gap-4",
|
|
158
|
-
children: [/* @__PURE__ */
|
|
158
|
+
children: [/* @__PURE__ */ g("div", {
|
|
159
159
|
className: "relative flex-1 max-w-md",
|
|
160
|
-
children: [/* @__PURE__ */
|
|
160
|
+
children: [/* @__PURE__ */ h(p, {
|
|
161
161
|
size: 16,
|
|
162
162
|
className: "absolute left-3 top-1/2 -translate-y-1/2 text-text-secondary"
|
|
163
|
-
}), /* @__PURE__ */
|
|
163
|
+
}), /* @__PURE__ */ h("input", {
|
|
164
164
|
type: "text",
|
|
165
165
|
placeholder: C("devportal.searchByNameOrClientId", "Search by name or client ID..."),
|
|
166
166
|
value: w,
|
|
167
167
|
onChange: (e) => T(e.target.value),
|
|
168
168
|
className: "w-full rounded-md border bg-bg-surface pl-9 pr-4 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary"
|
|
169
169
|
})]
|
|
170
|
-
}), /* @__PURE__ */
|
|
170
|
+
}), /* @__PURE__ */ g("select", {
|
|
171
171
|
value: E,
|
|
172
172
|
onChange: (e) => D(e.target.value),
|
|
173
173
|
className: "rounded-md border bg-bg-surface px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary",
|
|
174
174
|
children: [
|
|
175
|
-
/* @__PURE__ */
|
|
175
|
+
/* @__PURE__ */ h("option", {
|
|
176
176
|
value: "",
|
|
177
177
|
children: C("devportal.allTypes", "All Types")
|
|
178
178
|
}),
|
|
179
|
-
/* @__PURE__ */
|
|
179
|
+
/* @__PURE__ */ h("option", {
|
|
180
180
|
value: "SERVICE",
|
|
181
181
|
children: C("devportal.service", "Service")
|
|
182
182
|
}),
|
|
183
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ h("option", {
|
|
184
184
|
value: "INTEGRATION",
|
|
185
185
|
children: C("devportal.integration", "Integration")
|
|
186
186
|
}),
|
|
187
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ h("option", {
|
|
188
188
|
value: "BOT",
|
|
189
189
|
children: C("devportal.bot", "Bot")
|
|
190
190
|
}),
|
|
191
|
-
/* @__PURE__ */
|
|
191
|
+
/* @__PURE__ */ h("option", {
|
|
192
192
|
value: "WEB_APP",
|
|
193
193
|
children: C("devportal.webApp", "Web App")
|
|
194
194
|
}),
|
|
195
|
-
/* @__PURE__ */
|
|
195
|
+
/* @__PURE__ */ h("option", {
|
|
196
196
|
value: "AUTOMATION",
|
|
197
197
|
children: C("devportal.automation", "Automation")
|
|
198
198
|
})
|
|
@@ -200,68 +200,68 @@ var b = () => {
|
|
|
200
200
|
})]
|
|
201
201
|
})
|
|
202
202
|
}),
|
|
203
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ h(v, { children: /* @__PURE__ */ g("div", {
|
|
204
204
|
className: "grid grid-cols-2 gap-4 sm:grid-cols-4",
|
|
205
205
|
children: [
|
|
206
|
-
/* @__PURE__ */
|
|
206
|
+
/* @__PURE__ */ g(y, {
|
|
207
207
|
treatment: "metric",
|
|
208
208
|
className: "p-4",
|
|
209
|
-
children: [/* @__PURE__ */
|
|
209
|
+
children: [/* @__PURE__ */ g("div", {
|
|
210
210
|
className: "flex items-center gap-2 text-text-secondary",
|
|
211
|
-
children: [/* @__PURE__ */
|
|
211
|
+
children: [/* @__PURE__ */ h(m, { size: 16 }), /* @__PURE__ */ h("span", {
|
|
212
212
|
className: "text-sm",
|
|
213
213
|
children: C("devportal.totalApps", "Total Apps")
|
|
214
214
|
})]
|
|
215
|
-
}), /* @__PURE__ */
|
|
215
|
+
}), /* @__PURE__ */ h("p", {
|
|
216
216
|
className: "mt-1 text-2xl font-semibold tabular-nums",
|
|
217
217
|
children: I.total
|
|
218
218
|
})]
|
|
219
219
|
}),
|
|
220
|
-
/* @__PURE__ */
|
|
220
|
+
/* @__PURE__ */ g(y, {
|
|
221
221
|
treatment: "metric",
|
|
222
222
|
className: "p-4",
|
|
223
|
-
children: [/* @__PURE__ */
|
|
223
|
+
children: [/* @__PURE__ */ g("div", {
|
|
224
224
|
className: "flex items-center gap-2 text-status-success-text",
|
|
225
|
-
children: [/* @__PURE__ */
|
|
225
|
+
children: [/* @__PURE__ */ h(m, { size: 16 }), /* @__PURE__ */ h("span", {
|
|
226
226
|
className: "text-sm",
|
|
227
227
|
children: C("devportal.active", "Active")
|
|
228
228
|
})]
|
|
229
|
-
}), /* @__PURE__ */
|
|
229
|
+
}), /* @__PURE__ */ h("p", {
|
|
230
230
|
className: "mt-1 text-2xl font-semibold tabular-nums",
|
|
231
231
|
children: I.active
|
|
232
232
|
})]
|
|
233
233
|
}),
|
|
234
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ g(y, {
|
|
235
235
|
treatment: "metric",
|
|
236
236
|
className: "p-4",
|
|
237
|
-
children: [/* @__PURE__ */
|
|
237
|
+
children: [/* @__PURE__ */ g("div", {
|
|
238
238
|
className: "flex items-center gap-2 text-accent-blue",
|
|
239
|
-
children: [/* @__PURE__ */
|
|
239
|
+
children: [/* @__PURE__ */ h(m, { size: 16 }), /* @__PURE__ */ h("span", {
|
|
240
240
|
className: "text-sm",
|
|
241
241
|
children: C("devportal.integration", "Integration")
|
|
242
242
|
})]
|
|
243
|
-
}), /* @__PURE__ */
|
|
243
|
+
}), /* @__PURE__ */ h("p", {
|
|
244
244
|
className: "mt-1 text-2xl font-semibold tabular-nums",
|
|
245
245
|
children: I.integration
|
|
246
246
|
})]
|
|
247
247
|
}),
|
|
248
|
-
/* @__PURE__ */
|
|
248
|
+
/* @__PURE__ */ g(y, {
|
|
249
249
|
treatment: "metric",
|
|
250
250
|
className: "p-4",
|
|
251
|
-
children: [/* @__PURE__ */
|
|
251
|
+
children: [/* @__PURE__ */ g("div", {
|
|
252
252
|
className: "flex items-center gap-2 text-accent-purple",
|
|
253
|
-
children: [/* @__PURE__ */
|
|
253
|
+
children: [/* @__PURE__ */ h(m, { size: 16 }), /* @__PURE__ */ h("span", {
|
|
254
254
|
className: "text-sm",
|
|
255
255
|
children: C("devportal.service", "Service")
|
|
256
256
|
})]
|
|
257
|
-
}), /* @__PURE__ */
|
|
257
|
+
}), /* @__PURE__ */ h("p", {
|
|
258
258
|
className: "mt-1 text-2xl font-semibold tabular-nums",
|
|
259
259
|
children: I.service
|
|
260
260
|
})]
|
|
261
261
|
})
|
|
262
262
|
]
|
|
263
263
|
}) }),
|
|
264
|
-
/* @__PURE__ */
|
|
264
|
+
/* @__PURE__ */ g("p", {
|
|
265
265
|
className: "text-sm text-text-secondary",
|
|
266
266
|
children: [
|
|
267
267
|
P.length,
|
|
@@ -269,19 +269,19 @@ var b = () => {
|
|
|
269
269
|
P.length === 1 ? C("devportal.appFound", "app found") : C("devportal.appsFound", "apps found")
|
|
270
270
|
]
|
|
271
271
|
}),
|
|
272
|
-
P.length > 0 ? /* @__PURE__ */
|
|
272
|
+
P.length > 0 ? /* @__PURE__ */ h(s, {
|
|
273
273
|
data: P,
|
|
274
274
|
columns: F,
|
|
275
275
|
keyField: "id",
|
|
276
276
|
onRowClick: (e) => N(`/oauth/${e.id}`)
|
|
277
|
-
}) : /* @__PURE__ */
|
|
277
|
+
}) : /* @__PURE__ */ h(n, {
|
|
278
278
|
illustration: "empty-generic",
|
|
279
279
|
title: C("devportal.noOAuthAppsFound", "No OAuth apps found"),
|
|
280
280
|
description: w || E ? C("devportal.tryAdjustingFilters", "Try adjusting your filters") : C("devportal.createFirstOAuthApp", "Create your first OAuth app to enable authentication"),
|
|
281
|
-
action: !w && !E ? /* @__PURE__ */
|
|
281
|
+
action: !w && !E ? /* @__PURE__ */ g("button", {
|
|
282
282
|
onClick: () => N("/oauth/new"),
|
|
283
283
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
|
|
284
|
-
children: [/* @__PURE__ */
|
|
284
|
+
children: [/* @__PURE__ */ h(f, { size: 16 }), C("devportal.createOAuthApp", "Create OAuth App")]
|
|
285
285
|
}) : void 0
|
|
286
286
|
})
|
|
287
287
|
]
|