@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,7 +1,7 @@
|
|
|
1
1
|
import { PageLayout as e, PageSection as t } from "../components/PageLayout.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Book as n, BookOpen as r, Code2 as i, Database as a, ExternalLink as o, FileText as s, HelpCircle as c, Key as l, Lightbulb as u, MessageSquare as d, Rocket as f, Shield as p, Users as m, Video as h, Webhook as g, Zap as _ } from "lucide-react";
|
|
3
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
4
|
+
import { useI18n as b } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
5
5
|
import { EmphasisPanel as x } from "@burdenoff/fe-libs/ui";
|
|
6
6
|
//#region src/devportal/pages/DocumentationPage.tsx
|
|
7
7
|
var S = [
|
|
@@ -10,7 +10,7 @@ var S = [
|
|
|
10
10
|
title: "Quick Start Guide",
|
|
11
11
|
description: "Get up and running with your first application in under 10 minutes",
|
|
12
12
|
url: "https://docs.burdenoff.com/developer/quickstart",
|
|
13
|
-
icon: /* @__PURE__ */
|
|
13
|
+
icon: /* @__PURE__ */ v(f, { size: 24 }),
|
|
14
14
|
category: "getting-started",
|
|
15
15
|
isPopular: !0
|
|
16
16
|
},
|
|
@@ -19,7 +19,7 @@ var S = [
|
|
|
19
19
|
title: "Core Concepts",
|
|
20
20
|
description: "Understand the fundamental concepts of the Burdenoff platform",
|
|
21
21
|
url: "https://docs.burdenoff.com/developer/concepts",
|
|
22
|
-
icon: /* @__PURE__ */
|
|
22
|
+
icon: /* @__PURE__ */ v(u, { size: 24 }),
|
|
23
23
|
category: "getting-started"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
@@ -27,7 +27,7 @@ var S = [
|
|
|
27
27
|
title: "Authentication Guide",
|
|
28
28
|
description: "Learn how to implement OAuth 2.0 and secure your applications",
|
|
29
29
|
url: "https://docs.burdenoff.com/developer/auth",
|
|
30
|
-
icon: /* @__PURE__ */
|
|
30
|
+
icon: /* @__PURE__ */ v(p, { size: 24 }),
|
|
31
31
|
category: "getting-started",
|
|
32
32
|
isPopular: !0
|
|
33
33
|
},
|
|
@@ -36,7 +36,7 @@ var S = [
|
|
|
36
36
|
title: "GraphQL API Reference",
|
|
37
37
|
description: "Complete reference for all GraphQL queries, mutations, and types",
|
|
38
38
|
url: "https://docs.burdenoff.com/api/graphql",
|
|
39
|
-
icon: /* @__PURE__ */
|
|
39
|
+
icon: /* @__PURE__ */ v(i, { size: 24 }),
|
|
40
40
|
category: "api",
|
|
41
41
|
isPopular: !0
|
|
42
42
|
},
|
|
@@ -45,7 +45,7 @@ var S = [
|
|
|
45
45
|
title: "REST API Reference",
|
|
46
46
|
description: "RESTful API endpoints for integrations and legacy support",
|
|
47
47
|
url: "https://docs.burdenoff.com/api/rest",
|
|
48
|
-
icon: /* @__PURE__ */
|
|
48
|
+
icon: /* @__PURE__ */ v(a, { size: 24 }),
|
|
49
49
|
category: "api"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -53,7 +53,7 @@ var S = [
|
|
|
53
53
|
title: "Webhooks Reference",
|
|
54
54
|
description: "Event payloads, delivery mechanisms, and best practices",
|
|
55
55
|
url: "https://docs.burdenoff.com/api/webhooks",
|
|
56
|
-
icon: /* @__PURE__ */
|
|
56
|
+
icon: /* @__PURE__ */ v(g, { size: 24 }),
|
|
57
57
|
category: "api"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
@@ -61,7 +61,7 @@ var S = [
|
|
|
61
61
|
title: "Rate Limits & Quotas",
|
|
62
62
|
description: "Understanding API rate limits and quota management",
|
|
63
63
|
url: "https://docs.burdenoff.com/api/rate-limits",
|
|
64
|
-
icon: /* @__PURE__ */
|
|
64
|
+
icon: /* @__PURE__ */ v(_, { size: 24 }),
|
|
65
65
|
category: "api"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
@@ -69,7 +69,7 @@ var S = [
|
|
|
69
69
|
title: "Building Integrations",
|
|
70
70
|
description: "Step-by-step guide to building powerful integrations",
|
|
71
71
|
url: "https://docs.burdenoff.com/guides/integrations",
|
|
72
|
-
icon: /* @__PURE__ */
|
|
72
|
+
icon: /* @__PURE__ */ v(r, { size: 24 }),
|
|
73
73
|
category: "guides",
|
|
74
74
|
isNew: !0
|
|
75
75
|
},
|
|
@@ -78,7 +78,7 @@ var S = [
|
|
|
78
78
|
title: "Building Workflow Apps",
|
|
79
79
|
description: "Create custom workflow automation applications",
|
|
80
80
|
url: "https://docs.burdenoff.com/guides/workflows",
|
|
81
|
-
icon: /* @__PURE__ */
|
|
81
|
+
icon: /* @__PURE__ */ v(s, { size: 24 }),
|
|
82
82
|
category: "guides"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
@@ -86,7 +86,7 @@ var S = [
|
|
|
86
86
|
title: "Building Bots",
|
|
87
87
|
description: "Develop conversational bots for the platform",
|
|
88
88
|
url: "https://docs.burdenoff.com/guides/bots",
|
|
89
|
-
icon: /* @__PURE__ */
|
|
89
|
+
icon: /* @__PURE__ */ v(d, { size: 24 }),
|
|
90
90
|
category: "guides",
|
|
91
91
|
isNew: !0
|
|
92
92
|
},
|
|
@@ -95,7 +95,7 @@ var S = [
|
|
|
95
95
|
title: "OAuth Implementation",
|
|
96
96
|
description: "Detailed OAuth 2.0 implementation with code examples",
|
|
97
97
|
url: "https://docs.burdenoff.com/guides/oauth",
|
|
98
|
-
icon: /* @__PURE__ */
|
|
98
|
+
icon: /* @__PURE__ */ v(l, { size: 24 }),
|
|
99
99
|
category: "guides"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
@@ -103,7 +103,7 @@ var S = [
|
|
|
103
103
|
title: "Multi-Tenant Apps",
|
|
104
104
|
description: "Building apps that work across multiple tenants",
|
|
105
105
|
url: "https://docs.burdenoff.com/guides/multi-tenant",
|
|
106
|
-
icon: /* @__PURE__ */
|
|
106
|
+
icon: /* @__PURE__ */ v(m, { size: 24 }),
|
|
107
107
|
category: "guides"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -111,7 +111,7 @@ var S = [
|
|
|
111
111
|
title: "App Manifest Schema",
|
|
112
112
|
description: "Complete reference for application manifest configuration",
|
|
113
113
|
url: "https://docs.burdenoff.com/reference/manifest",
|
|
114
|
-
icon: /* @__PURE__ */
|
|
114
|
+
icon: /* @__PURE__ */ v(s, { size: 24 }),
|
|
115
115
|
category: "reference"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
@@ -119,7 +119,7 @@ var S = [
|
|
|
119
119
|
title: "OAuth Scopes",
|
|
120
120
|
description: "All available OAuth scopes and their permissions",
|
|
121
121
|
url: "https://docs.burdenoff.com/reference/scopes",
|
|
122
|
-
icon: /* @__PURE__ */
|
|
122
|
+
icon: /* @__PURE__ */ v(p, { size: 24 }),
|
|
123
123
|
category: "reference"
|
|
124
124
|
},
|
|
125
125
|
{
|
|
@@ -127,7 +127,7 @@ var S = [
|
|
|
127
127
|
title: "Webhook Events",
|
|
128
128
|
description: "Complete list of all webhook events and payloads",
|
|
129
129
|
url: "https://docs.burdenoff.com/reference/events",
|
|
130
|
-
icon: /* @__PURE__ */
|
|
130
|
+
icon: /* @__PURE__ */ v(g, { size: 24 }),
|
|
131
131
|
category: "reference"
|
|
132
132
|
},
|
|
133
133
|
{
|
|
@@ -135,7 +135,7 @@ var S = [
|
|
|
135
135
|
title: "Error Codes",
|
|
136
136
|
description: "API error codes and troubleshooting guide",
|
|
137
137
|
url: "https://docs.burdenoff.com/reference/errors",
|
|
138
|
-
icon: /* @__PURE__ */
|
|
138
|
+
icon: /* @__PURE__ */ v(c, { size: 24 }),
|
|
139
139
|
category: "reference"
|
|
140
140
|
},
|
|
141
141
|
{
|
|
@@ -143,7 +143,7 @@ var S = [
|
|
|
143
143
|
title: "API Changelog",
|
|
144
144
|
description: "Latest updates, changes, and deprecations",
|
|
145
145
|
url: "https://docs.burdenoff.com/changelog",
|
|
146
|
-
icon: /* @__PURE__ */
|
|
146
|
+
icon: /* @__PURE__ */ v(s, { size: 24 }),
|
|
147
147
|
category: "support",
|
|
148
148
|
isNew: !0
|
|
149
149
|
},
|
|
@@ -152,7 +152,7 @@ var S = [
|
|
|
152
152
|
title: "Video Tutorials",
|
|
153
153
|
description: "Watch step-by-step video guides and tutorials",
|
|
154
154
|
url: "https://docs.burdenoff.com/tutorials",
|
|
155
|
-
icon: /* @__PURE__ */
|
|
155
|
+
icon: /* @__PURE__ */ v(h, { size: 24 }),
|
|
156
156
|
category: "support"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
@@ -160,184 +160,184 @@ var S = [
|
|
|
160
160
|
title: "Developer Community",
|
|
161
161
|
description: "Join the community forum for discussions and help",
|
|
162
162
|
url: "https://community.burdenoff.com/developers",
|
|
163
|
-
icon: /* @__PURE__ */
|
|
163
|
+
icon: /* @__PURE__ */ v(m, { size: 24 }),
|
|
164
164
|
category: "support"
|
|
165
165
|
}
|
|
166
166
|
], C = [
|
|
167
167
|
{
|
|
168
168
|
title: "API Status",
|
|
169
169
|
url: "https://status.burdenoff.com",
|
|
170
|
-
icon: /* @__PURE__ */
|
|
170
|
+
icon: /* @__PURE__ */ v(_, { size: 16 })
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
title: "GitHub Examples",
|
|
174
174
|
url: "https://github.com/burdenoff/developer-examples",
|
|
175
|
-
icon: /* @__PURE__ */
|
|
175
|
+
icon: /* @__PURE__ */ v(i, { size: 16 })
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
title: "SDK Downloads",
|
|
179
179
|
url: "https://docs.burdenoff.com/sdks",
|
|
180
|
-
icon: /* @__PURE__ */
|
|
180
|
+
icon: /* @__PURE__ */ v(a, { size: 16 })
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
title: "Support Center",
|
|
184
184
|
url: "https://support.burdenoff.com",
|
|
185
|
-
icon: /* @__PURE__ */
|
|
185
|
+
icon: /* @__PURE__ */ v(c, { size: 16 })
|
|
186
186
|
}
|
|
187
|
-
], w = ({ doc: e }) => /* @__PURE__ */
|
|
187
|
+
], w = ({ doc: e }) => /* @__PURE__ */ y("a", {
|
|
188
188
|
href: e.url,
|
|
189
189
|
target: "_blank",
|
|
190
190
|
rel: "noopener noreferrer",
|
|
191
191
|
className: "group flex flex-col rounded-card border border-border-seam bg-bg-surface p-5 shadow-[var(--shadow-pop)] transition-[box-shadow,border-color] hover:border-border-strong hover:shadow-[var(--shadow-pop-hover)]",
|
|
192
192
|
children: [
|
|
193
|
-
/* @__PURE__ */
|
|
193
|
+
/* @__PURE__ */ y("div", {
|
|
194
194
|
className: "flex items-start justify-between",
|
|
195
|
-
children: [/* @__PURE__ */
|
|
195
|
+
children: [/* @__PURE__ */ v("div", {
|
|
196
196
|
className: "rounded-lg bg-action-primary-bg/10 p-2.5 text-primary",
|
|
197
197
|
children: e.icon
|
|
198
|
-
}), /* @__PURE__ */
|
|
198
|
+
}), /* @__PURE__ */ y("div", {
|
|
199
199
|
className: "flex items-center gap-2",
|
|
200
200
|
children: [
|
|
201
|
-
e.isNew && /* @__PURE__ */
|
|
201
|
+
e.isNew && /* @__PURE__ */ v("span", {
|
|
202
202
|
className: "rounded-full bg-status-success-bg-subtle px-2 py-0.5 text-xs font-medium text-status-success-text",
|
|
203
203
|
children: "New"
|
|
204
204
|
}),
|
|
205
|
-
e.isPopular && /* @__PURE__ */
|
|
205
|
+
e.isPopular && /* @__PURE__ */ v("span", {
|
|
206
206
|
className: "rounded-full bg-status-warning-bg-subtle px-2 py-0.5 text-xs font-medium text-status-warning-text",
|
|
207
207
|
children: "Popular"
|
|
208
208
|
}),
|
|
209
|
-
/* @__PURE__ */
|
|
209
|
+
/* @__PURE__ */ v(o, {
|
|
210
210
|
size: 16,
|
|
211
211
|
className: "text-text-secondary opacity-0 transition-opacity group-hover:opacity-100"
|
|
212
212
|
})
|
|
213
213
|
]
|
|
214
214
|
})]
|
|
215
215
|
}),
|
|
216
|
-
/* @__PURE__ */
|
|
216
|
+
/* @__PURE__ */ v("h3", {
|
|
217
217
|
className: "mt-4 font-semibold group-hover:text-primary",
|
|
218
218
|
children: e.title
|
|
219
219
|
}),
|
|
220
|
-
/* @__PURE__ */
|
|
220
|
+
/* @__PURE__ */ v("p", {
|
|
221
221
|
className: "mt-1 text-sm text-text-secondary line-clamp-2",
|
|
222
222
|
children: e.description
|
|
223
223
|
})
|
|
224
224
|
]
|
|
225
|
-
}), T = ({ link: e }) => /* @__PURE__ */
|
|
225
|
+
}), T = ({ link: e }) => /* @__PURE__ */ y("a", {
|
|
226
226
|
href: e.url,
|
|
227
227
|
target: "_blank",
|
|
228
228
|
rel: "noopener noreferrer",
|
|
229
229
|
className: "flex items-center gap-2 rounded-md border bg-bg-surface px-4 py-3 text-sm font-medium transition-colors hover:bg-accent",
|
|
230
230
|
children: [
|
|
231
|
-
/* @__PURE__ */
|
|
231
|
+
/* @__PURE__ */ v("span", {
|
|
232
232
|
className: "text-text-secondary",
|
|
233
233
|
children: e.icon
|
|
234
234
|
}),
|
|
235
235
|
e.title,
|
|
236
|
-
/* @__PURE__ */
|
|
236
|
+
/* @__PURE__ */ v(o, {
|
|
237
237
|
size: 14,
|
|
238
238
|
className: "ml-auto text-text-secondary"
|
|
239
239
|
})
|
|
240
240
|
]
|
|
241
241
|
}), E = () => {
|
|
242
|
-
let { t:
|
|
243
|
-
let n =
|
|
242
|
+
let { t: r } = b(), i = (e, t) => {
|
|
243
|
+
let n = r(e);
|
|
244
244
|
return n === e ? t : n;
|
|
245
|
-
},
|
|
246
|
-
return /* @__PURE__ */
|
|
247
|
-
title:
|
|
248
|
-
description:
|
|
249
|
-
purpose:
|
|
250
|
-
actions: /* @__PURE__ */
|
|
245
|
+
}, a = (e) => S.filter((t) => t.category === e);
|
|
246
|
+
return /* @__PURE__ */ y(e, {
|
|
247
|
+
title: i("devportal.documentation", "Documentation"),
|
|
248
|
+
description: i("devportal.exploreDocsDescription", "Explore guides, API references, and resources to build on the Burdenoff platform"),
|
|
249
|
+
purpose: i("devportal.docsPurpose", "The reference material for building integrations — getting-started guides, full API docs, and how-tos. New here? Begin with Getting Started, then dive into the API reference for the endpoints your app calls."),
|
|
250
|
+
actions: /* @__PURE__ */ y("a", {
|
|
251
251
|
href: "https://docs.burdenoff.com",
|
|
252
252
|
target: "_blank",
|
|
253
253
|
rel: "noopener noreferrer",
|
|
254
254
|
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",
|
|
255
255
|
children: [
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
|
|
258
|
-
/* @__PURE__ */
|
|
256
|
+
/* @__PURE__ */ v(n, { size: 16 }),
|
|
257
|
+
i("devportal.viewFullDocs", "View Full Docs"),
|
|
258
|
+
/* @__PURE__ */ v(o, { size: 14 })
|
|
259
259
|
]
|
|
260
260
|
}),
|
|
261
261
|
children: [
|
|
262
|
-
/* @__PURE__ */
|
|
262
|
+
/* @__PURE__ */ y("div", {
|
|
263
263
|
role: "status",
|
|
264
264
|
className: "mb-6 rounded-lg border border-status-warning-border bg-status-warning-bg p-4 text-sm text-status-warning-text",
|
|
265
|
-
children: [/* @__PURE__ */
|
|
265
|
+
children: [/* @__PURE__ */ v("strong", {
|
|
266
266
|
className: "font-semibold",
|
|
267
|
-
children:
|
|
268
|
-
}), /* @__PURE__ */
|
|
267
|
+
children: i("devportal.docs.comingSoon.title", "Coming soon")
|
|
268
|
+
}), /* @__PURE__ */ v("span", {
|
|
269
269
|
className: "ml-2",
|
|
270
|
-
children:
|
|
270
|
+
children: i("devportal.docs.comingSoon.description", "We're building a fully integrated documentation experience. The links below open the public docs site in the meantime.")
|
|
271
271
|
})]
|
|
272
272
|
}),
|
|
273
|
-
/* @__PURE__ */
|
|
273
|
+
/* @__PURE__ */ v(t, { children: /* @__PURE__ */ v("div", {
|
|
274
274
|
className: "grid gap-3 sm:grid-cols-2 lg:grid-cols-4",
|
|
275
|
-
children: C.map((e) => /* @__PURE__ */
|
|
275
|
+
children: C.map((e) => /* @__PURE__ */ v(T, { link: e }, e.title))
|
|
276
276
|
}) }),
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
title:
|
|
279
|
-
description:
|
|
280
|
-
children: /* @__PURE__ */
|
|
277
|
+
/* @__PURE__ */ v(x, { children: /* @__PURE__ */ v(t, {
|
|
278
|
+
title: i("devportal.gettingStarted", "Getting Started"),
|
|
279
|
+
description: i("devportal.everythingToStartBuilding", "Everything you need to start building"),
|
|
280
|
+
children: /* @__PURE__ */ v("div", {
|
|
281
281
|
className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
282
|
-
children:
|
|
282
|
+
children: a("getting-started").map((e) => /* @__PURE__ */ v(w, { doc: e }, e.id))
|
|
283
283
|
})
|
|
284
284
|
}) }),
|
|
285
|
-
/* @__PURE__ */
|
|
286
|
-
title:
|
|
287
|
-
description:
|
|
288
|
-
children: /* @__PURE__ */
|
|
285
|
+
/* @__PURE__ */ v(t, {
|
|
286
|
+
title: i("devportal.apiReference", "API Reference"),
|
|
287
|
+
description: i("devportal.completeApiDocumentation", "Complete API documentation"),
|
|
288
|
+
children: /* @__PURE__ */ v("div", {
|
|
289
289
|
className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
290
|
-
children:
|
|
290
|
+
children: a("api").map((e) => /* @__PURE__ */ v(w, { doc: e }, e.id))
|
|
291
291
|
})
|
|
292
292
|
}),
|
|
293
|
-
/* @__PURE__ */
|
|
294
|
-
title:
|
|
295
|
-
description:
|
|
296
|
-
children: /* @__PURE__ */
|
|
293
|
+
/* @__PURE__ */ v(t, {
|
|
294
|
+
title: i("devportal.guides", "Guides"),
|
|
295
|
+
description: i("devportal.stepByStepTutorials", "Step-by-step tutorials and best practices"),
|
|
296
|
+
children: /* @__PURE__ */ v("div", {
|
|
297
297
|
className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-3",
|
|
298
|
-
children:
|
|
298
|
+
children: a("guides").map((e) => /* @__PURE__ */ v(w, { doc: e }, e.id))
|
|
299
299
|
})
|
|
300
300
|
}),
|
|
301
|
-
/* @__PURE__ */
|
|
301
|
+
/* @__PURE__ */ y("div", {
|
|
302
302
|
className: "grid gap-6 lg:grid-cols-2",
|
|
303
|
-
children: [/* @__PURE__ */
|
|
304
|
-
title:
|
|
305
|
-
description:
|
|
306
|
-
children: /* @__PURE__ */
|
|
303
|
+
children: [/* @__PURE__ */ v(t, {
|
|
304
|
+
title: i("devportal.reference", "Reference"),
|
|
305
|
+
description: i("devportal.detailedSpecifications", "Detailed specifications"),
|
|
306
|
+
children: /* @__PURE__ */ v("div", {
|
|
307
307
|
className: "grid gap-4 sm:grid-cols-2",
|
|
308
|
-
children:
|
|
308
|
+
children: a("reference").map((e) => /* @__PURE__ */ v(w, { doc: e }, e.id))
|
|
309
309
|
})
|
|
310
|
-
}), /* @__PURE__ */
|
|
311
|
-
title:
|
|
312
|
-
description:
|
|
313
|
-
children: /* @__PURE__ */
|
|
310
|
+
}), /* @__PURE__ */ v(t, {
|
|
311
|
+
title: i("devportal.support", "Support"),
|
|
312
|
+
description: i("devportal.getHelpStayUpdated", "Get help and stay updated"),
|
|
313
|
+
children: /* @__PURE__ */ v("div", {
|
|
314
314
|
className: "grid gap-4 sm:grid-cols-2",
|
|
315
|
-
children:
|
|
315
|
+
children: a("support").map((e) => /* @__PURE__ */ v(w, { doc: e }, e.id))
|
|
316
316
|
})
|
|
317
317
|
})]
|
|
318
318
|
}),
|
|
319
|
-
/* @__PURE__ */
|
|
319
|
+
/* @__PURE__ */ v("div", {
|
|
320
320
|
className: "mt-6 rounded-card border border-border-seam bg-accent-wash p-6",
|
|
321
|
-
children: /* @__PURE__ */
|
|
321
|
+
children: /* @__PURE__ */ y("div", {
|
|
322
322
|
className: "flex flex-col items-start gap-4 sm:flex-row sm:items-center sm:justify-between",
|
|
323
|
-
children: [/* @__PURE__ */
|
|
323
|
+
children: [/* @__PURE__ */ y("div", { children: [/* @__PURE__ */ v("h3", {
|
|
324
324
|
className: "text-lg font-semibold",
|
|
325
|
-
children:
|
|
326
|
-
}), /* @__PURE__ */
|
|
325
|
+
children: i("devportal.needMoreHelp", "Need more help?")
|
|
326
|
+
}), /* @__PURE__ */ v("p", {
|
|
327
327
|
className: "mt-1 text-text-secondary",
|
|
328
|
-
children:
|
|
329
|
-
})] }), /* @__PURE__ */
|
|
328
|
+
children: i("devportal.developerSupportTeamHelp", "Our developer support team is here to help you build amazing applications.")
|
|
329
|
+
})] }), /* @__PURE__ */ y("div", {
|
|
330
330
|
className: "flex gap-3",
|
|
331
|
-
children: [/* @__PURE__ */
|
|
331
|
+
children: [/* @__PURE__ */ y("a", {
|
|
332
332
|
href: "https://community.burdenoff.com/developers",
|
|
333
333
|
target: "_blank",
|
|
334
334
|
rel: "noopener noreferrer",
|
|
335
335
|
className: "inline-flex items-center gap-2 rounded-md border bg-bg-surface px-4 py-2 text-sm font-medium hover:bg-accent transition-colors",
|
|
336
|
-
children: [/* @__PURE__ */
|
|
337
|
-
}), /* @__PURE__ */
|
|
336
|
+
children: [/* @__PURE__ */ v(m, { size: 16 }), i("devportal.community", "Community")]
|
|
337
|
+
}), /* @__PURE__ */ y("a", {
|
|
338
338
|
href: "mailto:developer-support@burdenoff.com",
|
|
339
339
|
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",
|
|
340
|
-
children: [/* @__PURE__ */
|
|
340
|
+
children: [/* @__PURE__ */ v(d, { size: 16 }), i("devportal.contactSupport", "Contact Support")]
|
|
341
341
|
})]
|
|
342
342
|
})]
|
|
343
343
|
})
|
|
@@ -15,10 +15,10 @@ import "../components/index.js";
|
|
|
15
15
|
import { useDevportalPermission as d } from "../hooks/usePermission.js";
|
|
16
16
|
import { DEVPORTAL_PERMISSIONS as f } from "../constants/permissions.js";
|
|
17
17
|
import { useEffect as p, useState as m } from "react";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { useParams as Ce } from "react-router";
|
|
18
|
+
import { AlertCircle as fe, AlertTriangle as pe, AppWindow as me, Archive as he, Check as h, Copy as ge, Eye as g, EyeOff as _e, Power as ve, RefreshCw as _, Save as ye, Send as be, Trash2 as xe } from "lucide-react";
|
|
19
|
+
import { useParams as Se } from "react-router";
|
|
21
20
|
import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
21
|
+
import { useI18n as Ce } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
22
22
|
//#region src/devportal/pages/EditApplicationPage.tsx
|
|
23
23
|
var we = [
|
|
24
24
|
{
|
|
@@ -130,7 +130,7 @@ function Oe(e) {
|
|
|
130
130
|
} : null;
|
|
131
131
|
}
|
|
132
132
|
var S = () => {
|
|
133
|
-
let { navigate: a, basePath: S } = e(), { appId: C } =
|
|
133
|
+
let { navigate: a, basePath: S } = e(), { appId: C } = Se(), { t: ke } = Ce(), { allowed: w } = d(f.APP_UPDATE), { allowed: T } = d(f.APP_DELETE), E = (e, t) => {
|
|
134
134
|
let n = ke(e);
|
|
135
135
|
return n === e ? t : n;
|
|
136
136
|
}, [D, O] = m(!1), [k, A] = m({}), [Ae, j] = m(!1), [je, M] = m(!1), [Me, N] = m(!1), [P, F] = m(!1), [I, L] = m(!1), [R, z] = m(!1), [B, Ne] = m(null), [Pe, V] = m(!1), { data: H, loading: Fe, error: U, refetch: Ie } = re({
|
|
@@ -281,7 +281,7 @@ var S = () => {
|
|
|
281
281
|
children: /* @__PURE__ */ b("div", {
|
|
282
282
|
className: "flex flex-col items-center justify-center py-12 text-center",
|
|
283
283
|
children: [
|
|
284
|
-
/* @__PURE__ */ y(
|
|
284
|
+
/* @__PURE__ */ y(fe, {
|
|
285
285
|
size: 48,
|
|
286
286
|
className: "text-status-error-text mb-4"
|
|
287
287
|
}),
|
|
@@ -302,7 +302,7 @@ var S = () => {
|
|
|
302
302
|
backLabel: E("devportal.backToApplications", "Back to Applications"),
|
|
303
303
|
children: /* @__PURE__ */ y(ee, {
|
|
304
304
|
illustration: "empty-generic",
|
|
305
|
-
icon: /* @__PURE__ */ y(
|
|
305
|
+
icon: /* @__PURE__ */ y(me, { size: 48 }),
|
|
306
306
|
title: E("devportal.applicationNotFound", "Application not found"),
|
|
307
307
|
description: E("devportal.applicationNotFoundDescription", "The application you're looking for doesn't exist or you don't have access to it.")
|
|
308
308
|
})
|
|
@@ -330,7 +330,7 @@ var S = () => {
|
|
|
330
330
|
children: [
|
|
331
331
|
G.status === "PUBLISHED" && /* @__PURE__ */ b("div", {
|
|
332
332
|
className: "rounded-lg border border-border-subtle bg-status-warning-bg-subtle p-4 flex gap-3",
|
|
333
|
-
children: [/* @__PURE__ */ y(
|
|
333
|
+
children: [/* @__PURE__ */ y(pe, {
|
|
334
334
|
size: 20,
|
|
335
335
|
className: "text-status-warning-text flex-shrink-0 mt-0.5"
|
|
336
336
|
}), /* @__PURE__ */ b("div", {
|
|
@@ -585,7 +585,7 @@ var S = () => {
|
|
|
585
585
|
onClick: () => L((e) => !e),
|
|
586
586
|
className: "px-2 py-2 text-text-secondary hover:text-text-primary border-l border-border-default",
|
|
587
587
|
title: I ? "Hide" : "Reveal",
|
|
588
|
-
children: y(I ?
|
|
588
|
+
children: y(I ? _e : g, { size: 14 })
|
|
589
589
|
}),
|
|
590
590
|
/* @__PURE__ */ y("button", {
|
|
591
591
|
type: "button",
|
|
@@ -595,7 +595,7 @@ var S = () => {
|
|
|
595
595
|
children: Pe ? /* @__PURE__ */ y(h, {
|
|
596
596
|
size: 14,
|
|
597
597
|
className: "text-green-500"
|
|
598
|
-
}) : /* @__PURE__ */ y(
|
|
598
|
+
}) : /* @__PURE__ */ y(ge, { size: 14 })
|
|
599
599
|
})
|
|
600
600
|
]
|
|
601
601
|
}), /* @__PURE__ */ b("button", {
|
|
@@ -646,7 +646,7 @@ var S = () => {
|
|
|
646
646
|
className: "rounded-lg border border-border-subtle bg-bg-sunken p-4 space-y-2",
|
|
647
647
|
children: [/* @__PURE__ */ b("p", {
|
|
648
648
|
className: "text-sm font-medium text-text-primary flex items-center gap-2",
|
|
649
|
-
children: [/* @__PURE__ */ y(
|
|
649
|
+
children: [/* @__PURE__ */ y(be, { size: 14 }), E("devportal.submissionChecklist", "Submission Checklist")]
|
|
650
650
|
}), [
|
|
651
651
|
{
|
|
652
652
|
label: E("devportal.checkName", "Name set"),
|
|
@@ -699,7 +699,7 @@ var S = () => {
|
|
|
699
699
|
disabled: D || !P || !w,
|
|
700
700
|
"aria-disabled": !w,
|
|
701
701
|
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 disabled:opacity-50",
|
|
702
|
-
children: D ? /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y("span", { className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }), E("devportal.saving", "Saving...")] }) : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(
|
|
702
|
+
children: D ? /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y("span", { className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }), E("devportal.saving", "Saving...")] }) : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y(ye, { size: 16 }), E("devportal.saveChanges", "Save Changes")] })
|
|
703
703
|
})
|
|
704
704
|
}), /* @__PURE__ */ b("div", {
|
|
705
705
|
className: "rounded-lg border border-border-subtle bg-status-error-bg-subtle p-4",
|
|
@@ -719,13 +719,13 @@ var S = () => {
|
|
|
719
719
|
type: "button",
|
|
720
720
|
onClick: () => M(!0),
|
|
721
721
|
className: "inline-flex items-center gap-2 rounded-md border border-accent-orange bg-bg-surface px-3 py-1.5 text-sm font-medium text-accent-orange hover:bg-accent-orange-subtle transition-colors",
|
|
722
|
-
children: [/* @__PURE__ */ y(
|
|
722
|
+
children: [/* @__PURE__ */ y(he, { size: 14 }), E("devportal.deprecateApp", "Deprecate App")]
|
|
723
723
|
}),
|
|
724
724
|
qe && /* @__PURE__ */ b("button", {
|
|
725
725
|
type: "button",
|
|
726
726
|
onClick: () => N(!0),
|
|
727
727
|
className: "inline-flex items-center gap-2 rounded-md border border-accent-orange bg-bg-surface px-3 py-1.5 text-sm font-medium text-accent-orange hover:bg-accent-orange-subtle transition-colors",
|
|
728
|
-
children: [/* @__PURE__ */ y(
|
|
728
|
+
children: [/* @__PURE__ */ y(ve, { size: 14 }), E("devportal.deactivateApp", "Deactivate App")]
|
|
729
729
|
}),
|
|
730
730
|
/* @__PURE__ */ b("button", {
|
|
731
731
|
type: "button",
|
|
@@ -733,7 +733,7 @@ var S = () => {
|
|
|
733
733
|
disabled: !T,
|
|
734
734
|
"aria-disabled": !T,
|
|
735
735
|
className: "inline-flex items-center gap-2 rounded-md border border-status-error-bg bg-bg-surface px-3 py-1.5 text-sm font-medium text-status-error-text hover:bg-status-error-bg-subtle transition-colors disabled:opacity-50",
|
|
736
|
-
children: [/* @__PURE__ */ y(
|
|
736
|
+
children: [/* @__PURE__ */ y(xe, { size: 14 }), E("devportal.deleteApp", "Delete App")]
|
|
737
737
|
})
|
|
738
738
|
]
|
|
739
739
|
})
|