@burdenoff/microfe-devportal 2026.801.1 → 2026.801.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.
Files changed (70) hide show
  1. package/dist/devportal/AdminDevportalRoutes.js +14 -14
  2. package/dist/devportal/DevportalRoutes.js +115 -115
  3. package/dist/devportal/DevportalRoutes.js.map +1 -1
  4. package/dist/devportal/components/SectionNav.js +1 -0
  5. package/dist/devportal/components/SectionNav.js.map +1 -1
  6. package/dist/devportal/components/TelemetryErrorBoundary.js +7 -7
  7. package/dist/devportal/pages/AnalyticsDashboardPage.js +41 -41
  8. package/dist/devportal/pages/AnalyticsDashboardPage.js.map +1 -1
  9. package/dist/devportal/pages/AppLogsPage.js +27 -27
  10. package/dist/devportal/pages/ApplicationDetailPage.js +929 -929
  11. package/dist/devportal/pages/ApplicationDetailPage.js.map +1 -1
  12. package/dist/devportal/pages/ApplicationVersionsPage.js +39 -39
  13. package/dist/devportal/pages/ApplicationVersionsPage.js.map +1 -1
  14. package/dist/devportal/pages/CreateWebhookPage.js +55 -55
  15. package/dist/devportal/pages/EditApplicationPage.js +36 -36
  16. package/dist/devportal/pages/EditApplicationPage.js.map +1 -1
  17. package/dist/devportal/pages/EditPhysicalItemPage.js +40 -40
  18. package/dist/devportal/pages/InvitationDecisionPage.js +25 -25
  19. package/dist/devportal/pages/ListingPreviewPage.js +36 -36
  20. package/dist/devportal/pages/OAuthCallbackPage.js +10 -10
  21. package/dist/devportal/pages/OAuthClientDetailPage.js +27 -27
  22. package/dist/devportal/pages/OAuthClientDetailPage.js.map +1 -1
  23. package/dist/devportal/pages/OrganizationDetailPage.js +329 -329
  24. package/dist/devportal/pages/OrganizationDetailPage.js.map +1 -1
  25. package/dist/devportal/pages/OrganizationMembersPage.js +181 -181
  26. package/dist/devportal/pages/OrganizationMembersPage.js.map +1 -1
  27. package/dist/devportal/pages/PublishPage.js +43 -43
  28. package/dist/devportal/pages/PublishPage.js.map +1 -1
  29. package/dist/devportal/pages/RevenueDashboardPage.js +65 -65
  30. package/dist/devportal/pages/RevenueDashboardPage.js.map +1 -1
  31. package/dist/devportal/pages/StoreSubmissionPage.js +126 -126
  32. package/dist/devportal/pages/StoreSubmissionPage.js.map +1 -1
  33. package/dist/devportal/pages/WebhookDetailPage.js +28 -28
  34. package/dist/devportal/pages/WebhookDetailPage.js.map +1 -1
  35. package/dist/devportal/pages/WebhooksPage.js +47 -47
  36. package/dist/devportal/pages/WebhooksPage.js.map +1 -1
  37. package/dist/devportal/providers/DevportalProvider.js +12 -12
  38. package/package.json +1 -1
  39. package/dist/node_modules/react-router/dist/production/lib/components.js +0 -124
  40. package/dist/node_modules/react-router/dist/production/lib/components.js.map +0 -1
  41. package/dist/node_modules/react-router/dist/production/lib/context.js +0 -32
  42. package/dist/node_modules/react-router/dist/production/lib/context.js.map +0 -1
  43. package/dist/node_modules/react-router/dist/production/lib/dom/dom.js +0 -83
  44. package/dist/node_modules/react-router/dist/production/lib/dom/dom.js.map +0 -1
  45. package/dist/node_modules/react-router/dist/production/lib/dom/lib.js +0 -358
  46. package/dist/node_modules/react-router/dist/production/lib/dom/lib.js.map +0 -1
  47. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/components.js +0 -188
  48. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/components.js.map +0 -1
  49. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/invariant.js +0 -8
  50. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/invariant.js.map +0 -1
  51. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/links.js +0 -75
  52. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/links.js.map +0 -1
  53. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/markup.js +0 -15
  54. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/markup.js.map +0 -1
  55. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/routeModules.js +0 -18
  56. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/routeModules.js.map +0 -1
  57. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/single-fetch.js +0 -10
  58. package/dist/node_modules/react-router/dist/production/lib/dom/ssr/single-fetch.js.map +0 -1
  59. package/dist/node_modules/react-router/dist/production/lib/errors.js +0 -19
  60. package/dist/node_modules/react-router/dist/production/lib/errors.js.map +0 -1
  61. package/dist/node_modules/react-router/dist/production/lib/hooks.js +0 -296
  62. package/dist/node_modules/react-router/dist/production/lib/hooks.js.map +0 -1
  63. package/dist/node_modules/react-router/dist/production/lib/router/history.js +0 -166
  64. package/dist/node_modules/react-router/dist/production/lib/router/history.js.map +0 -1
  65. package/dist/node_modules/react-router/dist/production/lib/router/router.js +0 -33
  66. package/dist/node_modules/react-router/dist/production/lib/router/router.js.map +0 -1
  67. package/dist/node_modules/react-router/dist/production/lib/router/url.js +0 -9
  68. package/dist/node_modules/react-router/dist/production/lib/router/url.js.map +0 -1
  69. package/dist/node_modules/react-router/dist/production/lib/router/utils.js +0 -236
  70. package/dist/node_modules/react-router/dist/production/lib/router/utils.js.map +0 -1
@@ -1,16 +1,16 @@
1
- import { useNavigate as e, useParams as t } from "../../node_modules/react-router/dist/production/lib/hooks.js";
2
- import { useDevportalEventBus as n } from "../events/index.js";
3
- import { useDevportalPermission as r } from "../hooks/usePermission.js";
1
+ import { useDevportalEventBus as e } from "../events/index.js";
2
+ import { useDevportalPermission as t } from "../hooks/usePermission.js";
4
3
  import "../hooks/index.js";
5
- import { DEVPORTAL_PERMISSIONS as i } from "../constants/permissions.js";
6
- import { useTr as a } from "../utils/i18n.js";
7
- import { useEffect as o, useState as s } from "react";
8
- import { AlertTriangle as c, ArrowLeft as l, CheckCircle2 as u, Clock as d, EyeOff as f, GitBranch as p, Package as m, RefreshCw as h, Store as ee, XCircle as g } from "lucide-react";
9
- import { jsx as _, jsxs as v } from "react/jsx-runtime";
10
- import { IllustratedEmptyState as y, PagePurpose as b } from "@burdenoff/fe-libs/ui";
11
- import { graphqlFetch as x } from "@burdenoff/fe-libs/shared/graphql";
4
+ import { DEVPORTAL_PERMISSIONS as n } from "../constants/permissions.js";
5
+ import { useTr as r } from "../utils/i18n.js";
6
+ import { useEffect as i, useState as a } from "react";
7
+ import { AlertTriangle as o, ArrowLeft as ee, CheckCircle2 as s, Clock as c, EyeOff as l, GitBranch as u, Package as te, RefreshCw as d, Store as ne, XCircle as f } from "lucide-react";
8
+ import { useNavigate as p, useParams as m } from "react-router";
9
+ import { jsx as h, jsxs as g } from "react/jsx-runtime";
10
+ import { IllustratedEmptyState as re, PagePurpose as ie } from "@burdenoff/fe-libs/ui";
11
+ import { graphqlFetch as _ } from "@burdenoff/fe-libs/shared/graphql";
12
12
  //#region src/devportal/pages/StoreSubmissionPage.tsx
13
- var te = "\n query DevportalAppForSubmission($id: ID!) {\n application(id: $id) {\n id\n name\n slug\n status\n appType\n reviewStatus\n reviewNotes\n iconUrl\n submittedAt\n metadata\n versions {\n edges {\n node {\n id\n version\n status\n releaseNotes\n packageUrl\n }\n }\n }\n }\n }\n", ne = "\n mutation DevportalSubmitForReview($id: ID!, $notes: String) {\n submitApplicationForReview(id: $id, notes: $notes) {\n id\n status\n submittedAt\n metadata\n }\n }\n", re = "\n mutation DevportalUnlistProduct($id: ID!) {\n unlistProduct(id: $id) {\n id\n status\n }\n }\n", ie = "\n mutation DevportalPublishVersion($id: ID!) {\n publishApplicationVersion(id: $id) {\n id\n status\n }\n }\n";
13
+ var v = "\n query DevportalAppForSubmission($id: ID!) {\n application(id: $id) {\n id\n name\n slug\n status\n appType\n reviewStatus\n reviewNotes\n iconUrl\n submittedAt\n metadata\n versions {\n edges {\n node {\n id\n version\n status\n releaseNotes\n packageUrl\n }\n }\n }\n }\n }\n", y = "\n mutation DevportalSubmitForReview($id: ID!, $notes: String) {\n submitApplicationForReview(id: $id, notes: $notes) {\n id\n status\n submittedAt\n metadata\n }\n }\n", b = "\n mutation DevportalUnlistProduct($id: ID!) {\n unlistProduct(id: $id) {\n id\n status\n }\n }\n", x = "\n mutation DevportalPublishVersion($id: ID!) {\n publishApplicationVersion(id: $id) {\n id\n status\n }\n }\n";
14
14
  function S(e) {
15
15
  if (!e) return null;
16
16
  let t = e.metadata ?? {}, n = typeof t.storeProductId == "string" ? t.storeProductId : "", r = typeof t.storeSubmissionStatus == "string" ? t.storeSubmissionStatus : null, i;
@@ -30,47 +30,47 @@ var C = {
30
30
  DRAFT: {
31
31
  i18nKey: "devportal.storeSubmission.status.draft",
32
32
  fallback: "Draft",
33
- icon: d,
33
+ icon: c,
34
34
  tone: "text-text-secondary"
35
35
  },
36
36
  PENDING_REVIEW: {
37
37
  i18nKey: "devportal.storeSubmission.status.pending",
38
38
  fallback: "Pending review",
39
- icon: d,
39
+ icon: c,
40
40
  tone: "text-status-warning-text"
41
41
  },
42
42
  PUBLISHED: {
43
43
  i18nKey: "devportal.storeSubmission.status.published",
44
44
  fallback: "Published",
45
- icon: u,
45
+ icon: s,
46
46
  tone: "text-status-success-text"
47
47
  },
48
48
  UNLISTED: {
49
49
  i18nKey: "devportal.storeSubmission.status.unlisted",
50
50
  fallback: "Unlisted",
51
- icon: f,
51
+ icon: l,
52
52
  tone: "text-text-secondary"
53
53
  },
54
54
  REJECTED: {
55
55
  i18nKey: "devportal.storeSubmission.status.rejected",
56
56
  fallback: "Rejected",
57
- icon: g,
57
+ icon: f,
58
58
  tone: "text-status-danger-text"
59
59
  },
60
60
  UNKNOWN: {
61
61
  i18nKey: "devportal.storeSubmission.status.unknown",
62
62
  fallback: "Not yet submitted",
63
- icon: c,
63
+ icon: o,
64
64
  tone: "text-text-tertiary"
65
65
  }
66
66
  }, w = () => {
67
- let { appId: w } = t(), T = e(), E = n(), D = a(), O = r(i.APP_SUBMIT), [k, ae] = s(null), [A, j] = s(!0), [M, N] = s(null), [P, F] = s(!1), [I, L] = s(!1), [R, z] = s(!1), [B, V] = s(null), [H, U] = s(""), W = async () => {
67
+ let { appId: w } = m(), T = p(), E = e(), D = r(), O = t(n.APP_SUBMIT), [k, ae] = a(null), [A, j] = a(!0), [M, N] = a(null), [P, F] = a(!1), [I, L] = a(!1), [R, z] = a(!1), [B, V] = a(null), [H, U] = a(""), W = async () => {
68
68
  if (w) {
69
69
  j(!0), N(null);
70
70
  try {
71
- let e = await x({
71
+ let e = await _({
72
72
  gateway: "global",
73
- query: te,
73
+ query: v,
74
74
  variables: { id: w }
75
75
  });
76
76
  if (e.errors?.length) throw Error(e.errors[0]?.message ?? D("devportal.storeSubmission.errors.loadFailed", "Failed to load application"));
@@ -82,9 +82,9 @@ var C = {
82
82
  }
83
83
  }
84
84
  };
85
- o(() => {
85
+ i(() => {
86
86
  W();
87
- }, [w]), o(() => {
87
+ }, [w]), i(() => {
88
88
  let e = k?.name;
89
89
  if (!w || !e) return;
90
90
  let t = window.__breadcrumbRegistry;
@@ -96,16 +96,16 @@ var C = {
96
96
  try {
97
97
  let e = (k?.versions.edges ?? []).map((e) => e.node).filter((e) => e.status === "draft");
98
98
  for (let t of e) {
99
- let e = await x({
99
+ let e = await _({
100
100
  gateway: "global",
101
- query: ie,
101
+ query: x,
102
102
  variables: { id: t.id }
103
103
  });
104
104
  if (e.errors?.length) throw Error(e.errors[0]?.message ?? `Failed to submit version ${t.version}`);
105
105
  }
106
- let t = await x({
106
+ let t = await _({
107
107
  gateway: "global",
108
- query: ne,
108
+ query: y,
109
109
  variables: {
110
110
  id: w,
111
111
  notes: H || null
@@ -124,9 +124,9 @@ var C = {
124
124
  if (e) {
125
125
  L(!0), N(null);
126
126
  try {
127
- let t = await x({
127
+ let t = await _({
128
128
  gateway: "global",
129
- query: re,
129
+ query: b,
130
130
  variables: { id: e }
131
131
  });
132
132
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? D("devportal.storeSubmission.errors.unlistFailed", "Failed to unlist"));
@@ -138,30 +138,30 @@ var C = {
138
138
  }
139
139
  }
140
140
  }, q = S(k), J = B ?? q?.status ?? "UNKNOWN", Y = C[J], oe = Y.icon, X = (k?.versions.edges ?? []).map((e) => e.node), Z = X.filter((e) => e.status === "draft"), Q = k?.appType === "NODE" || k?.appType === "WORKFLOW", $ = Q && X.length === 0;
141
- return /* @__PURE__ */ v("main", {
141
+ return /* @__PURE__ */ g("main", {
142
142
  className: "min-h-screen bg-surface-default",
143
143
  "aria-labelledby": "store-submission-heading",
144
144
  children: [
145
- /* @__PURE__ */ _("div", {
145
+ /* @__PURE__ */ h("div", {
146
146
  className: "border-b border-border-default bg-surface-raised",
147
- children: /* @__PURE__ */ _("div", {
147
+ children: /* @__PURE__ */ h("div", {
148
148
  className: "mx-auto max-w-3xl px-6 py-4",
149
- children: /* @__PURE__ */ v("div", {
149
+ children: /* @__PURE__ */ g("div", {
150
150
  className: "flex items-center gap-3",
151
- children: [/* @__PURE__ */ v("button", {
151
+ children: [/* @__PURE__ */ g("button", {
152
152
  type: "button",
153
153
  onClick: () => T(-1),
154
154
  className: "inline-flex items-center gap-2 rounded-md px-3 py-1.5 text-sm text-text-secondary hover:bg-surface-hover hover:text-text-primary focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",
155
- children: [/* @__PURE__ */ _(l, {
155
+ children: [/* @__PURE__ */ h(ee, {
156
156
  className: "h-4 w-4",
157
157
  "aria-hidden": "true"
158
158
  }), D("devportal.common.back", "Back")]
159
- }), /* @__PURE__ */ v("div", {
159
+ }), /* @__PURE__ */ g("div", {
160
160
  className: "flex items-center gap-2",
161
- children: [/* @__PURE__ */ _(ee, {
161
+ children: [/* @__PURE__ */ h(ne, {
162
162
  className: "h-5 w-5 text-text-primary",
163
163
  "aria-hidden": "true"
164
- }), /* @__PURE__ */ _("h1", {
164
+ }), /* @__PURE__ */ h("h1", {
165
165
  id: "store-submission-heading",
166
166
  className: "text-xl font-semibold text-text-primary",
167
167
  children: D("devportal.storeSubmission.title", "Store submission")
@@ -170,39 +170,39 @@ var C = {
170
170
  })
171
171
  })
172
172
  }),
173
- R && /* @__PURE__ */ _("div", {
173
+ R && /* @__PURE__ */ h("div", {
174
174
  role: "dialog",
175
175
  "aria-modal": "true",
176
176
  "aria-labelledby": "unlist-dialog-title",
177
177
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4",
178
- children: /* @__PURE__ */ v("div", {
178
+ children: /* @__PURE__ */ g("div", {
179
179
  className: "w-full max-w-md rounded-lg border border-border-default bg-surface-raised p-6 shadow-xl",
180
- children: [/* @__PURE__ */ v("div", {
180
+ children: [/* @__PURE__ */ g("div", {
181
181
  className: "mb-4 flex items-start gap-3",
182
- children: [/* @__PURE__ */ _(f, {
182
+ children: [/* @__PURE__ */ h(l, {
183
183
  className: "mt-0.5 h-5 w-5 shrink-0 text-text-secondary",
184
184
  "aria-hidden": "true"
185
- }), /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("h2", {
185
+ }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("h2", {
186
186
  id: "unlist-dialog-title",
187
187
  className: "text-base font-semibold text-text-primary",
188
188
  children: D("devportal.storeSubmission.unlistTitle", "Unlist from marketplace?")
189
- }), /* @__PURE__ */ _("p", {
189
+ }), /* @__PURE__ */ h("p", {
190
190
  className: "mt-1 text-sm text-text-secondary",
191
191
  children: D("devportal.storeSubmission.unlistDescription", "Your app will no longer appear in the marketplace for new users. Existing installations are not affected — users who already have it installed can continue using it.")
192
192
  })] })]
193
- }), /* @__PURE__ */ v("div", {
193
+ }), /* @__PURE__ */ g("div", {
194
194
  className: "flex justify-end gap-3",
195
- children: [/* @__PURE__ */ _("button", {
195
+ children: [/* @__PURE__ */ h("button", {
196
196
  type: "button",
197
197
  onClick: () => z(!1),
198
198
  className: "rounded-md border border-border-default px-4 py-2 text-sm font-medium text-text-secondary hover:bg-surface-hover",
199
199
  children: D("devportal.common.cancel", "Cancel")
200
- }), /* @__PURE__ */ v("button", {
200
+ }), /* @__PURE__ */ g("button", {
201
201
  type: "button",
202
202
  onClick: () => void K(),
203
203
  disabled: I,
204
204
  className: "inline-flex items-center gap-2 rounded-md bg-surface-danger px-4 py-2 text-sm font-semibold text-text-on-danger hover:opacity-90 disabled:opacity-60",
205
- children: [I && /* @__PURE__ */ _(h, {
205
+ children: [I && /* @__PURE__ */ h(d, {
206
206
  className: "h-4 w-4 animate-spin",
207
207
  "aria-hidden": "true"
208
208
  }), D("devportal.storeSubmission.confirmUnlist", "Unlist app")]
@@ -210,56 +210,56 @@ var C = {
210
210
  })]
211
211
  })
212
212
  }),
213
- /* @__PURE__ */ v("div", {
213
+ /* @__PURE__ */ g("div", {
214
214
  className: "mx-auto max-w-3xl px-6 py-6",
215
215
  children: [
216
- (A || !q || J === "UNKNOWN" || J === "DRAFT" || J === "REJECTED") && /* @__PURE__ */ _(b, {
216
+ (A || !q || J === "UNKNOWN" || J === "DRAFT" || J === "REJECTED") && /* @__PURE__ */ h(ie, {
217
217
  className: "mb-5",
218
218
  children: D("devportal.storeSubmission.purpose", "Finalize the details the marketplace needs before your app can be reviewed — pricing, categories, and required assets. Completing this is what makes the app eligible to submit for publication.")
219
219
  }),
220
- M && /* @__PURE__ */ _("div", {
220
+ M && /* @__PURE__ */ h("div", {
221
221
  role: "alert",
222
222
  className: "mb-4 rounded-md border border-border-danger bg-surface-danger-muted px-4 py-3 text-sm text-text-danger",
223
223
  children: M
224
224
  }),
225
- A && !k ? /* @__PURE__ */ _("div", {
225
+ A && !k ? /* @__PURE__ */ h("div", {
226
226
  className: "py-16 text-center text-text-secondary",
227
227
  role: "status",
228
228
  "aria-live": "polite",
229
229
  children: D("devportal.storeSubmission.loading", "Loading application…")
230
- }) : k ? /* @__PURE__ */ v("div", {
230
+ }) : k ? /* @__PURE__ */ g("div", {
231
231
  className: "space-y-4",
232
232
  children: [
233
- /* @__PURE__ */ _("div", {
233
+ /* @__PURE__ */ h("div", {
234
234
  className: "rounded-lg border border-border-default bg-surface-raised p-4",
235
- children: /* @__PURE__ */ v("div", {
235
+ children: /* @__PURE__ */ g("div", {
236
236
  className: "flex items-center gap-3",
237
237
  children: [
238
- k.iconUrl ? /* @__PURE__ */ _("img", {
238
+ k.iconUrl ? /* @__PURE__ */ h("img", {
239
239
  src: k.iconUrl,
240
240
  alt: "",
241
241
  className: "h-14 w-14 flex-shrink-0 rounded-md object-cover"
242
- }) : /* @__PURE__ */ _("div", {
242
+ }) : /* @__PURE__ */ h("div", {
243
243
  className: "flex h-14 w-14 flex-shrink-0 items-center justify-center rounded-md bg-surface-muted text-text-secondary text-sm font-medium",
244
244
  children: k.name.slice(0, 2).toUpperCase()
245
245
  }),
246
- /* @__PURE__ */ v("div", {
246
+ /* @__PURE__ */ g("div", {
247
247
  className: "min-w-0 flex-1",
248
- children: [/* @__PURE__ */ _("h2", {
248
+ children: [/* @__PURE__ */ h("h2", {
249
249
  className: "text-lg font-semibold text-text-primary",
250
250
  children: k.name
251
- }), /* @__PURE__ */ _("p", {
251
+ }), /* @__PURE__ */ h("p", {
252
252
  className: "font-mono text-xs text-text-tertiary",
253
253
  children: k.slug
254
254
  })]
255
255
  }),
256
- /* @__PURE__ */ v("div", {
256
+ /* @__PURE__ */ g("div", {
257
257
  className: `flex items-center gap-1.5 ${Y.tone}`,
258
258
  role: "status",
259
- children: [/* @__PURE__ */ _(oe, {
259
+ children: [/* @__PURE__ */ h(oe, {
260
260
  className: "h-5 w-5",
261
261
  "aria-hidden": "true"
262
- }), /* @__PURE__ */ _("span", {
262
+ }), /* @__PURE__ */ h("span", {
263
263
  className: "text-sm font-medium",
264
264
  children: D(Y.i18nKey, Y.fallback)
265
265
  })]
@@ -267,18 +267,18 @@ var C = {
267
267
  ]
268
268
  })
269
269
  }),
270
- J === "PENDING_REVIEW" && /* @__PURE__ */ v("div", {
270
+ J === "PENDING_REVIEW" && /* @__PURE__ */ g("div", {
271
271
  className: "rounded-lg border border-primary/20 bg-action-primary-bg/5 p-5 space-y-4",
272
272
  children: [
273
- /* @__PURE__ */ v("div", {
273
+ /* @__PURE__ */ g("div", {
274
274
  className: "flex items-start gap-3",
275
- children: [/* @__PURE__ */ _(d, {
275
+ children: [/* @__PURE__ */ h(c, {
276
276
  className: "h-5 w-5 mt-0.5 shrink-0 text-primary",
277
277
  "aria-hidden": "true"
278
- }), /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
278
+ }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
279
279
  className: "text-sm font-semibold text-text-primary",
280
280
  children: D("devportal.storeSubmission.underReview", "Your app is under review")
281
- }), k.submittedAt && /* @__PURE__ */ v("p", {
281
+ }), k.submittedAt && /* @__PURE__ */ g("p", {
282
282
  className: "mt-0.5 text-xs text-text-secondary",
283
283
  children: [
284
284
  D("devportal.storeSubmission.submittedOn", "Submitted on"),
@@ -287,31 +287,31 @@ var C = {
287
287
  ]
288
288
  })] })]
289
289
  }),
290
- /* @__PURE__ */ v("div", {
290
+ /* @__PURE__ */ g("div", {
291
291
  className: "border-t border-border-default pt-4",
292
- children: [/* @__PURE__ */ _("p", {
292
+ children: [/* @__PURE__ */ h("p", {
293
293
  className: "text-xs font-medium text-text-secondary mb-3",
294
294
  children: D("devportal.storeSubmission.whatNext", "What happens next")
295
- }), /* @__PURE__ */ v("ol", {
295
+ }), /* @__PURE__ */ g("ol", {
296
296
  className: "space-y-2.5 text-sm text-text-secondary",
297
297
  children: [
298
- /* @__PURE__ */ v("li", {
298
+ /* @__PURE__ */ g("li", {
299
299
  className: "flex items-start gap-2",
300
- children: [/* @__PURE__ */ _("span", {
300
+ children: [/* @__PURE__ */ h("span", {
301
301
  className: "flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-surface-muted text-xs font-medium text-text-tertiary",
302
302
  children: "1"
303
303
  }), "Our team reviews your app's listing, assets, and compliance."]
304
304
  }),
305
- /* @__PURE__ */ v("li", {
305
+ /* @__PURE__ */ g("li", {
306
306
  className: "flex items-start gap-2",
307
- children: [/* @__PURE__ */ _("span", {
307
+ children: [/* @__PURE__ */ h("span", {
308
308
  className: "flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-surface-muted text-xs font-medium text-text-tertiary",
309
309
  children: "2"
310
310
  }), "You'll receive a notification when a decision is made."]
311
311
  }),
312
- /* @__PURE__ */ v("li", {
312
+ /* @__PURE__ */ g("li", {
313
313
  className: "flex items-start gap-2",
314
- children: [/* @__PURE__ */ _("span", {
314
+ children: [/* @__PURE__ */ h("span", {
315
315
  className: "flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-surface-muted text-xs font-medium text-text-tertiary",
316
316
  children: "3"
317
317
  }), "If approved, your app goes live in the marketplace automatically."]
@@ -319,31 +319,31 @@ var C = {
319
319
  ]
320
320
  })]
321
321
  }),
322
- k.reviewNotes && /* @__PURE__ */ v("div", {
322
+ k.reviewNotes && /* @__PURE__ */ g("div", {
323
323
  className: "border-t border-border-default pt-4",
324
- children: [/* @__PURE__ */ _("p", {
324
+ children: [/* @__PURE__ */ h("p", {
325
325
  className: "text-xs font-medium text-text-secondary mb-1",
326
326
  children: D("devportal.storeSubmission.reviewerNotes", "Reviewer notes")
327
- }), /* @__PURE__ */ _("p", {
327
+ }), /* @__PURE__ */ h("p", {
328
328
  className: "text-sm text-text-primary",
329
329
  children: k.reviewNotes
330
330
  })]
331
331
  })
332
332
  ]
333
333
  }),
334
- J === "PUBLISHED" && /* @__PURE__ */ v("div", {
334
+ J === "PUBLISHED" && /* @__PURE__ */ g("div", {
335
335
  className: "rounded-lg border border-status-success-bg bg-status-success-bg-subtle p-5 space-y-4",
336
- children: [/* @__PURE__ */ v("div", {
336
+ children: [/* @__PURE__ */ g("div", {
337
337
  className: "flex items-start gap-3",
338
- children: [/* @__PURE__ */ _(u, {
338
+ children: [/* @__PURE__ */ h(s, {
339
339
  className: "h-5 w-5 mt-0.5 shrink-0 text-status-success-text",
340
340
  "aria-hidden": "true"
341
- }), /* @__PURE__ */ v("div", {
341
+ }), /* @__PURE__ */ g("div", {
342
342
  className: "flex-1 min-w-0",
343
- children: [/* @__PURE__ */ _("p", {
343
+ children: [/* @__PURE__ */ h("p", {
344
344
  className: "text-sm font-semibold text-status-success-text",
345
345
  children: D("devportal.storeSubmission.publishedTitle", "Your app is live in the marketplace")
346
- }), q?.publishedAt && /* @__PURE__ */ v("p", {
346
+ }), q?.publishedAt && /* @__PURE__ */ g("p", {
347
347
  className: "mt-0.5 text-xs text-text-secondary",
348
348
  children: [
349
349
  D("devportal.storeSubmission.publishedOn", "Published on"),
@@ -352,101 +352,101 @@ var C = {
352
352
  ]
353
353
  })]
354
354
  })]
355
- }), q?.productId && /* @__PURE__ */ v("div", {
355
+ }), q?.productId && /* @__PURE__ */ g("div", {
356
356
  className: "border-t border-status-success-bg pt-4",
357
- children: [/* @__PURE__ */ _("p", {
357
+ children: [/* @__PURE__ */ h("p", {
358
358
  className: "mb-2 text-xs text-text-secondary",
359
359
  children: D("devportal.storeSubmission.unlistHint", "Need to remove this app from the marketplace? Unlisting hides it from new users while keeping existing installations active.")
360
- }), /* @__PURE__ */ v("button", {
360
+ }), /* @__PURE__ */ g("button", {
361
361
  type: "button",
362
362
  onClick: () => z(!0),
363
363
  className: "inline-flex items-center gap-2 rounded-md border border-border-default bg-surface-raised px-3 py-1.5 text-sm font-medium text-text-secondary hover:bg-surface-hover hover:text-text-primary",
364
- children: [/* @__PURE__ */ _(f, {
364
+ children: [/* @__PURE__ */ h(l, {
365
365
  className: "h-4 w-4",
366
366
  "aria-hidden": "true"
367
367
  }), D("devportal.storeSubmission.unlistButton", "Unlist from marketplace")]
368
368
  })]
369
369
  })]
370
370
  }),
371
- J === "UNLISTED" && /* @__PURE__ */ v("div", {
371
+ J === "UNLISTED" && /* @__PURE__ */ g("div", {
372
372
  className: "rounded-lg border border-border-default bg-surface-muted p-5 flex items-start gap-3",
373
- children: [/* @__PURE__ */ _(f, {
373
+ children: [/* @__PURE__ */ h(l, {
374
374
  className: "h-5 w-5 mt-0.5 shrink-0 text-text-secondary",
375
375
  "aria-hidden": "true"
376
- }), /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
376
+ }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
377
377
  className: "text-sm font-semibold text-text-primary",
378
378
  children: D("devportal.storeSubmission.unlistedTitle", "Your app has been unlisted")
379
- }), /* @__PURE__ */ _("p", {
379
+ }), /* @__PURE__ */ h("p", {
380
380
  className: "mt-0.5 text-xs text-text-secondary",
381
381
  children: D("devportal.storeSubmission.unlistedDescription", "It no longer appears in the marketplace for new users. Existing installations remain active and unaffected.")
382
382
  })] })]
383
383
  }),
384
- J === "REJECTED" && /* @__PURE__ */ v("div", {
384
+ J === "REJECTED" && /* @__PURE__ */ g("div", {
385
385
  className: "rounded-lg border border-status-error-bg bg-status-error-bg-subtle p-5 space-y-3",
386
- children: [/* @__PURE__ */ v("div", {
386
+ children: [/* @__PURE__ */ g("div", {
387
387
  className: "flex items-start gap-3",
388
- children: [/* @__PURE__ */ _(g, {
388
+ children: [/* @__PURE__ */ h(f, {
389
389
  className: "h-5 w-5 mt-0.5 shrink-0 text-status-error-text",
390
390
  "aria-hidden": "true"
391
- }), /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
391
+ }), /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("p", {
392
392
  className: "text-sm font-semibold text-status-error-text",
393
393
  children: D("devportal.storeSubmission.rejectedTitle", "Submission was not approved")
394
- }), /* @__PURE__ */ _("p", {
394
+ }), /* @__PURE__ */ h("p", {
395
395
  className: "mt-0.5 text-xs text-text-secondary",
396
396
  children: D("devportal.storeSubmission.rejectedHint", "Address the feedback below and resubmit.")
397
397
  })] })]
398
- }), k.reviewNotes && /* @__PURE__ */ v("div", {
398
+ }), k.reviewNotes && /* @__PURE__ */ g("div", {
399
399
  className: "rounded-md bg-surface-muted p-3",
400
- children: [/* @__PURE__ */ _("p", {
400
+ children: [/* @__PURE__ */ h("p", {
401
401
  className: "text-xs font-medium text-text-secondary mb-1",
402
402
  children: D("devportal.storeSubmission.reviewerFeedback", "Reviewer feedback")
403
- }), /* @__PURE__ */ _("p", {
403
+ }), /* @__PURE__ */ h("p", {
404
404
  className: "text-sm text-text-primary",
405
405
  children: k.reviewNotes
406
406
  })]
407
407
  })]
408
408
  }),
409
- (J === "UNKNOWN" || J === "DRAFT" || J === "REJECTED") && /* @__PURE__ */ v("div", {
409
+ (J === "UNKNOWN" || J === "DRAFT" || J === "REJECTED") && /* @__PURE__ */ g("div", {
410
410
  className: "rounded-lg border border-border-default bg-surface-raised p-4 space-y-4",
411
411
  children: [
412
- /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("h3", {
412
+ /* @__PURE__ */ g("div", { children: [/* @__PURE__ */ h("h3", {
413
413
  className: "mb-1 text-sm font-semibold text-text-primary",
414
414
  children: J === "REJECTED" ? D("devportal.storeSubmission.resubmitForReview", "Resubmit for review") : D("devportal.storeSubmission.submitForReview", "Submit for review")
415
- }), /* @__PURE__ */ _("p", {
415
+ }), /* @__PURE__ */ h("p", {
416
416
  className: "text-sm text-text-secondary",
417
417
  children: D("devportal.storeSubmission.help", "Your application will be sent to the store's review queue. Whether it's auto-published or requires admin approval depends on the target store's configuration.")
418
418
  })] }),
419
- Q && /* @__PURE__ */ v("div", {
419
+ Q && /* @__PURE__ */ g("div", {
420
420
  className: "rounded-md border border-border-default bg-surface-muted p-3 space-y-2",
421
- children: [/* @__PURE__ */ v("div", {
421
+ children: [/* @__PURE__ */ g("div", {
422
422
  className: "flex items-center gap-2 text-xs font-medium text-text-secondary",
423
- children: [/* @__PURE__ */ _(p, {
423
+ children: [/* @__PURE__ */ h(u, {
424
424
  className: "h-3.5 w-3.5",
425
425
  "aria-hidden": "true"
426
426
  }), D("devportal.storeSubmission.versionsIncluded", "Versions included in this submission")]
427
- }), $ ? /* @__PURE__ */ v("div", {
427
+ }), $ ? /* @__PURE__ */ g("div", {
428
428
  className: "flex items-start gap-2 text-sm text-status-danger-text",
429
- children: [/* @__PURE__ */ _(c, {
429
+ children: [/* @__PURE__ */ h(o, {
430
430
  className: "h-4 w-4 mt-0.5 shrink-0",
431
431
  "aria-hidden": "true"
432
- }), /* @__PURE__ */ _("span", { children: D("devportal.storeSubmission.noVersionsError", "You must create at least one version before submitting. Go to the Versions tab to create one.") })]
433
- }) : Z.length === 0 ? /* @__PURE__ */ _("p", {
432
+ }), /* @__PURE__ */ h("span", { children: D("devportal.storeSubmission.noVersionsError", "You must create at least one version before submitting. Go to the Versions tab to create one.") })]
433
+ }) : Z.length === 0 ? /* @__PURE__ */ h("p", {
434
434
  className: "text-xs text-text-secondary",
435
435
  children: D("devportal.storeSubmission.noDraftVersions", "No draft versions — all versions are already submitted or published.")
436
- }) : /* @__PURE__ */ _("ul", {
436
+ }) : /* @__PURE__ */ h("ul", {
437
437
  className: "space-y-1",
438
- children: Z.map((e) => /* @__PURE__ */ v("li", {
438
+ children: Z.map((e) => /* @__PURE__ */ g("li", {
439
439
  className: "flex items-center gap-2 text-sm",
440
440
  children: [
441
- /* @__PURE__ */ _(m, {
441
+ /* @__PURE__ */ h(te, {
442
442
  className: "h-3.5 w-3.5 text-text-secondary shrink-0",
443
443
  "aria-hidden": "true"
444
444
  }),
445
- /* @__PURE__ */ _("span", {
445
+ /* @__PURE__ */ h("span", {
446
446
  className: "font-mono font-medium",
447
447
  children: e.version
448
448
  }),
449
- e.releaseNotes && /* @__PURE__ */ v("span", {
449
+ e.releaseNotes && /* @__PURE__ */ g("span", {
450
450
  className: "text-xs text-text-secondary truncate",
451
451
  children: ["— ", e.releaseNotes]
452
452
  })
@@ -454,16 +454,16 @@ var C = {
454
454
  }, e.id))
455
455
  })]
456
456
  }),
457
- /* @__PURE__ */ v("div", { children: [
458
- /* @__PURE__ */ _("label", {
457
+ /* @__PURE__ */ g("div", { children: [
458
+ /* @__PURE__ */ h("label", {
459
459
  className: "block",
460
460
  htmlFor: "store-submission-notes",
461
- children: /* @__PURE__ */ _("span", {
461
+ children: /* @__PURE__ */ h("span", {
462
462
  className: "sr-only",
463
463
  children: D("devportal.storeSubmission.notesLabel", "Notes for the reviewer (optional)")
464
464
  })
465
465
  }),
466
- /* @__PURE__ */ _("textarea", {
466
+ /* @__PURE__ */ h("textarea", {
467
467
  id: "store-submission-notes",
468
468
  value: H,
469
469
  onChange: (e) => U(e.target.value),
@@ -471,14 +471,14 @@ var C = {
471
471
  placeholder: D("devportal.storeSubmission.notesLabel", "Notes for the reviewer (optional)"),
472
472
  className: "mb-3 w-full rounded-md border border-border-default bg-surface-default px-3 py-2 text-sm text-text-primary focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
473
473
  }),
474
- /* @__PURE__ */ v("button", {
474
+ /* @__PURE__ */ g("button", {
475
475
  type: "button",
476
476
  onClick: () => void G(),
477
477
  disabled: P || !O.allowed || $,
478
478
  "aria-disabled": P || !O.allowed || $,
479
479
  title: $ ? D("devportal.storeSubmission.noVersionsError", "Create a version first") : O.allowed ? void 0 : D("devportal.common.noPermission", "You do not have permission to perform this action"),
480
480
  className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-semibold text-action-primary-text hover:opacity-90 disabled:opacity-60 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",
481
- children: [P && /* @__PURE__ */ _(h, {
481
+ children: [P && /* @__PURE__ */ h(d, {
482
482
  className: "h-4 w-4 animate-spin",
483
483
  "aria-hidden": "true"
484
484
  }), J === "REJECTED" ? D("devportal.storeSubmission.resubmit", "Resubmit") : D("devportal.storeSubmission.submitForReview", "Submit for review")]
@@ -486,18 +486,18 @@ var C = {
486
486
  ] })
487
487
  ]
488
488
  }),
489
- q?.productId && /* @__PURE__ */ v("div", {
489
+ q?.productId && /* @__PURE__ */ g("div", {
490
490
  className: "rounded-lg border border-border-default bg-surface-raised p-4",
491
- children: [/* @__PURE__ */ _("p", {
491
+ children: [/* @__PURE__ */ h("p", {
492
492
  className: "text-xs font-medium text-text-secondary",
493
493
  children: D("devportal.storeSubmission.storeProductId", "Store product ID")
494
- }), /* @__PURE__ */ _("code", {
494
+ }), /* @__PURE__ */ h("code", {
495
495
  className: "mt-1 block break-all font-mono text-xs text-text-primary",
496
496
  children: q.productId
497
497
  })]
498
498
  })
499
499
  ]
500
- }) : /* @__PURE__ */ _(y, {
500
+ }) : /* @__PURE__ */ h(re, {
501
501
  illustration: "empty-generic",
502
502
  title: D("devportal.storeSubmission.notFoundTitle", "Application not found"),
503
503
  description: D("devportal.storeSubmission.notFound", "Application not found.")