@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,31 +1,31 @@
1
- import { useParams as e } from "../../node_modules/react-router/dist/production/lib/hooks.js";
2
- import { useDevportal as t } from "../providers/DevportalProvider.js";
3
- import { EmptyState as n } from "../components/EmptyState.js";
4
- import { useApproveApplicationVersionMutation as r, useCreateApplicationVersionMutation as ee, useDeprecateApplicationVersionMutation as te, useGetApplicationQuery as ne, useGetApplicationVersionsQuery as re, usePublishApplicationVersionMutation as ie, useRejectApplicationVersionMutation as ae, useUpdateApplicationVersionMutation as oe } from "../../generated/global-operations.js";
1
+ import { useDevportal as e } from "../providers/DevportalProvider.js";
2
+ import { EmptyState as t } from "../components/EmptyState.js";
3
+ import { useApproveApplicationVersionMutation as n, useCreateApplicationVersionMutation as r, useDeprecateApplicationVersionMutation as ee, useGetApplicationQuery as te, useGetApplicationVersionsQuery as ne, usePublishApplicationVersionMutation as re, useRejectApplicationVersionMutation as ie, useUpdateApplicationVersionMutation as ae } from "../../generated/global-operations.js";
5
4
  import { PageLayout as i } from "../components/PageLayout.js";
6
- import { StatusBadge as se } from "../components/StatusBadge.js";
7
- import { SelectionCheckbox as ce } from "../components/SelectionCheckbox.js";
8
- import { DataTable as le } from "../components/DataTable.js";
9
- import { InputField as ue } from "../components/FormField.js";
5
+ import { StatusBadge as oe } from "../components/StatusBadge.js";
6
+ import { SelectionCheckbox as se } from "../components/SelectionCheckbox.js";
7
+ import { DataTable as ce } from "../components/DataTable.js";
8
+ import { InputField as le } from "../components/FormField.js";
10
9
  import { ConfirmDialog as a } from "../components/ConfirmDialog.js";
11
- import { PermissionGuard as de } from "../components/PermissionGuard.js";
10
+ import { PermissionGuard as ue } from "../components/PermissionGuard.js";
12
11
  import { MarkdownEditor as o } from "../components/MarkdownEditor.js";
13
12
  import "../components/index.js";
14
- import { useDevportalPermission as fe } from "../hooks/usePermission.js";
13
+ import { useDevportalPermission as de } from "../hooks/usePermission.js";
15
14
  import "../hooks/index.js";
16
15
  import { DEVPORTAL_PERMISSIONS as s } from "../constants/permissions.js";
17
- import pe from "../../node_modules/date-fns/format.js";
18
- import { usePackageUpload as me } from "../hooks/usePackageUpload.js";
19
- import { useCallback as c, useEffect as he, useMemo as l, useRef as u, useState as d } from "react";
20
- import { useI18n as ge } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
21
- import { AlertCircle as f, Archive as _e, CheckCircle as ve, Clock as ye, Loader2 as p, Package as be, Plus as xe, Send as m, Upload as h, XCircle as Se } from "lucide-react";
16
+ import fe from "../../node_modules/date-fns/format.js";
17
+ import { usePackageUpload as pe } from "../hooks/usePackageUpload.js";
18
+ import { useCallback as c, useEffect as me, useMemo as l, useRef as u, useState as d } from "react";
19
+ import { useI18n as he } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
20
+ import { AlertCircle as f, Archive as ge, CheckCircle as _e, Clock as ve, Loader2 as p, Package as ye, Plus as be, Send as m, Upload as h, XCircle as xe } from "lucide-react";
21
+ import { useParams as Se } from "react-router";
22
22
  import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
23
23
  //#region src/devportal/pages/ApplicationVersionsPage.tsx
24
24
  var Ce = () => {
25
- let { t: Ce } = ge(), y = (e, t) => {
25
+ let { t: Ce } = he(), y = (e, t) => {
26
26
  let n = Ce(e);
27
27
  return n === e ? t : n;
28
- }, { allowed: we } = fe(s.APP_VERSION_CREATE), { allowed: b } = fe(s.APP_VERSION_PUBLISH), { allowed: x } = fe(s.APP_VERSION_DEPRECATE), { appId: S } = e(), { workspacesGatewayUrl: Te, authToken: Ee, workspaceId: De, getWorkspaceToken: Oe } = t(), { upload: C, uploading: w, progress: ke, error: T } = me(Te, Ee, De, Oe), Ae = u(null), je = u(null), Me = u(null), Ne = u(null), [Pe, E] = d(null), [Fe, D] = d(null), [Ie, O] = d(!1), [k, A] = d(null), [j, M] = d({
28
+ }, { allowed: we } = de(s.APP_VERSION_CREATE), { allowed: b } = de(s.APP_VERSION_PUBLISH), { allowed: x } = de(s.APP_VERSION_DEPRECATE), { appId: S } = Se(), { workspacesGatewayUrl: Te, authToken: Ee, workspaceId: De, getWorkspaceToken: Oe } = e(), { upload: C, uploading: w, progress: ke, error: T } = pe(Te, Ee, De, Oe), Ae = u(null), je = u(null), Me = u(null), Ne = u(null), [Pe, E] = d(null), [Fe, D] = d(null), [Ie, O] = d(!1), [k, A] = d(null), [j, M] = d({
29
29
  version: "",
30
30
  releaseNotes: "",
31
31
  changelog: "",
@@ -44,7 +44,7 @@ var Ce = () => {
44
44
  manifestJson: n
45
45
  })), E(t.name));
46
46
  }, n.readAsText(t), e.target.value = "";
47
- }, []), [Ue, H] = d(null), { data: U } = ne({
47
+ }, []), [Ue, H] = d(null), { data: U } = te({
48
48
  variables: { id: S ?? "" },
49
49
  skip: !S,
50
50
  fetchPolicy: "cache-first"
@@ -54,17 +54,17 @@ var Ce = () => {
54
54
  "WIDGET",
55
55
  "DASHBOARD"
56
56
  ].includes(U?.application?.appType ?? ""), We = !K && !G, q = U?.application, Ge = q?.pricingDetails ?? {}, Ke = q?.pricingType === "FREE" || q?.pricingType === "PAID" && typeof Ge.price == "number" && Ge.price > 0, qe = !!q?.shortDescription?.trim() && !!q?.privacyPolicyUrl?.trim() && !!q?.termsOfServiceUrl?.trim(), J = Ke && qe, Je = [...qe ? [] : ["Complete your store listing (short description, privacy policy, terms of service)"], ...Ke ? [] : ["Set pricing in the Pricing tab"]];
57
- he(() => {
57
+ me(() => {
58
58
  let e = U?.application?.name;
59
59
  if (!S || !e) return;
60
60
  let t = window.__breadcrumbRegistry;
61
61
  return t?.register(S, e), () => t?.unregister(S);
62
62
  }, [S, U?.application?.name]);
63
- let { data: Y, loading: Ye, error: Xe } = re({
63
+ let { data: Y, loading: Ye, error: Xe } = ne({
64
64
  variables: { applicationId: S },
65
65
  skip: !S,
66
66
  fetchPolicy: "cache-and-network"
67
- }), [Ze, { loading: Qe }] = ee({ refetchQueries: ["GetApplicationVersions"] }), [$e, { loading: et }] = oe({ refetchQueries: ["GetApplicationVersions"] }), [tt] = ie({ refetchQueries: ["GetApplicationVersions"] }), [nt] = te({ refetchQueries: ["GetApplicationVersions"] }), [rt] = r({ refetchQueries: ["GetApplicationVersions"] }), [it] = ae({ refetchQueries: ["GetApplicationVersions"] }), X = l(() => Y?.application?.versions?.edges?.map((e) => e.node) ?? [], [Y?.application?.versions]), Z = l(() => X.filter((e) => L.has(e.id)), [X, L]), Q = l(() => Z.filter((e) => e.status === "draft" || e.status === "rejected"), [Z]), $ = l(() => Z.filter((e) => e.status?.toUpperCase() === "PUBLISHED" && !e.isLatest), [Z]), at = X.length > 0 && X.every((e) => L.has(e.id)), ot = X.some((e) => L.has(e.id)) && !at, st = async () => {
67
+ }), [Ze, { loading: Qe }] = r({ refetchQueries: ["GetApplicationVersions"] }), [$e, { loading: et }] = ae({ refetchQueries: ["GetApplicationVersions"] }), [tt] = re({ refetchQueries: ["GetApplicationVersions"] }), [nt] = ee({ refetchQueries: ["GetApplicationVersions"] }), [rt] = n({ refetchQueries: ["GetApplicationVersions"] }), [it] = ie({ refetchQueries: ["GetApplicationVersions"] }), X = l(() => Y?.application?.versions?.edges?.map((e) => e.node) ?? [], [Y?.application?.versions]), Z = l(() => X.filter((e) => L.has(e.id)), [X, L]), Q = l(() => Z.filter((e) => e.status === "draft" || e.status === "rejected"), [Z]), $ = l(() => Z.filter((e) => e.status?.toUpperCase() === "PUBLISHED" && !e.isLatest), [Z]), at = X.length > 0 && X.every((e) => L.has(e.id)), ot = X.some((e) => L.has(e.id)) && !at, st = async () => {
68
68
  if (!S || !j.version.trim()) return;
69
69
  F(null);
70
70
  let e;
@@ -208,22 +208,22 @@ var Ce = () => {
208
208
  N(e instanceof Error ? e.message : y("devportal.versionRejectFailed", "Failed to reject version"));
209
209
  }
210
210
  }
211
- }, ht = (e) => e.status === "published" && e.isLatest ? /* @__PURE__ */ _(ve, {
211
+ }, ht = (e) => e.status === "published" && e.isLatest ? /* @__PURE__ */ _(_e, {
212
212
  size: 16,
213
213
  className: "text-status-success-text"
214
214
  }) : e.status === "pending_review" ? /* @__PURE__ */ _(m, {
215
215
  size: 16,
216
216
  className: "text-status-info-text"
217
- }) : e.status === "rejected" ? /* @__PURE__ */ _(Se, {
217
+ }) : e.status === "rejected" ? /* @__PURE__ */ _(xe, {
218
218
  size: 16,
219
219
  className: "text-status-error-text"
220
- }) : e.status === "draft" ? /* @__PURE__ */ _(ye, {
220
+ }) : e.status === "draft" ? /* @__PURE__ */ _(ve, {
221
221
  size: 16,
222
222
  className: "text-status-warning-text"
223
- }) : e.status === "deprecated" ? /* @__PURE__ */ _(_e, {
223
+ }) : e.status === "deprecated" ? /* @__PURE__ */ _(ge, {
224
224
  size: 16,
225
225
  className: "text-text-secondary"
226
- }) : /* @__PURE__ */ _(be, {
226
+ }) : /* @__PURE__ */ _(ye, {
227
227
  size: 16,
228
228
  className: "text-accent-blue"
229
229
  }), gt = (e, t) => {
@@ -253,7 +253,7 @@ var Ce = () => {
253
253
  description: y("devportal.versionManagementDescription", "Manage your application versions"),
254
254
  backLink: `/apps/${S}`,
255
255
  backLabel: y("devportal.backToApplication", "Back to Application"),
256
- children: /* @__PURE__ */ _(n, {
256
+ children: /* @__PURE__ */ _(t, {
257
257
  icon: /* @__PURE__ */ _(f, {
258
258
  size: 32,
259
259
  className: "text-status-error-text"
@@ -261,7 +261,7 @@ var Ce = () => {
261
261
  title: y("devportal.failedToLoadVersions", "Failed to load versions"),
262
262
  description: Xe.message || y("devportal.versionsLoadError", "An error occurred while loading versions")
263
263
  })
264
- }) : /* @__PURE__ */ _(de, {
264
+ }) : /* @__PURE__ */ _(ue, {
265
265
  authOnly: !0,
266
266
  children: /* @__PURE__ */ v(i, {
267
267
  title: y("devportal.versionManagement", "Version Management"),
@@ -276,7 +276,7 @@ var Ce = () => {
276
276
  disabled: !we,
277
277
  "aria-disabled": !we,
278
278
  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 disabled:opacity-50",
279
- children: [/* @__PURE__ */ _(xe, { size: 16 }), y("devportal.newVersion", "New Version")]
279
+ children: [/* @__PURE__ */ _(be, { size: 16 }), y("devportal.newVersion", "New Version")]
280
280
  }),
281
281
  children: [
282
282
  Le && /* @__PURE__ */ v("div", {
@@ -297,7 +297,7 @@ var Ce = () => {
297
297
  Re && /* @__PURE__ */ v("div", {
298
298
  className: "rounded-lg border border-border-subtle bg-status-success-bg-subtle p-3 flex items-center gap-2 text-sm text-status-success-text",
299
299
  children: [
300
- /* @__PURE__ */ _(ve, {
300
+ /* @__PURE__ */ _(_e, {
301
301
  size: 16,
302
302
  className: "flex-shrink-0"
303
303
  }),
@@ -347,7 +347,7 @@ var Ce = () => {
347
347
  className: "flex flex-wrap items-center gap-3",
348
348
  children: [/* @__PURE__ */ v("div", {
349
349
  className: "flex items-center gap-2",
350
- children: [/* @__PURE__ */ _(ce, {
350
+ children: [/* @__PURE__ */ _(se, {
351
351
  checked: at,
352
352
  indeterminate: ot,
353
353
  onChange: _t,
@@ -387,13 +387,13 @@ var Ce = () => {
387
387
  })]
388
388
  })
389
389
  }),
390
- X.length > 0 ? /* @__PURE__ */ _(le, {
390
+ X.length > 0 ? /* @__PURE__ */ _(ce, {
391
391
  data: X,
392
392
  keyField: "id",
393
393
  columns: [
394
394
  {
395
395
  key: "select",
396
- header: /* @__PURE__ */ _(ce, {
396
+ header: /* @__PURE__ */ _(se, {
397
397
  checked: at,
398
398
  indeterminate: ot,
399
399
  onChange: _t,
@@ -402,7 +402,7 @@ var Ce = () => {
402
402
  className: "w-12",
403
403
  render: (e) => /* @__PURE__ */ _("div", {
404
404
  onClick: (e) => e.stopPropagation(),
405
- children: /* @__PURE__ */ _(ce, {
405
+ children: /* @__PURE__ */ _(se, {
406
406
  checked: L.has(e.id),
407
407
  onChange: (t) => gt(e.id, t),
408
408
  ariaLabel: `Select version ${e.version}`
@@ -445,7 +445,7 @@ var Ce = () => {
445
445
  render: (e) => /* @__PURE__ */ v("div", {
446
446
  className: "space-y-1",
447
447
  children: [
448
- /* @__PURE__ */ _(se, { status: e.status === "pending_review" ? "In Review" : e.status }),
448
+ /* @__PURE__ */ _(oe, { status: e.status === "pending_review" ? "In Review" : e.status }),
449
449
  e.status === "pending_review" && /* @__PURE__ */ _("p", {
450
450
  className: "text-xs text-status-info-text",
451
451
  children: "Awaiting platform review"
@@ -460,7 +460,7 @@ var Ce = () => {
460
460
  {
461
461
  key: "publishedAt",
462
462
  header: y("devportal.published", "Published"),
463
- render: (e) => e.publishedAt ? pe(new Date(e.publishedAt), "MMM d, yyyy") : "-"
463
+ render: (e) => e.publishedAt ? fe(new Date(e.publishedAt), "MMM d, yyyy") : "-"
464
464
  },
465
465
  {
466
466
  key: "actions",
@@ -506,7 +506,7 @@ var Ce = () => {
506
506
  })
507
507
  }
508
508
  ]
509
- }) : /* @__PURE__ */ _(n, {
509
+ }) : /* @__PURE__ */ _(t, {
510
510
  illustration: "empty-data",
511
511
  title: y("devportal.noVersionsYet", "No versions yet"),
512
512
  description: y("devportal.noVersionsYetDescription", "Create your first version to start distributing your app"),
@@ -515,7 +515,7 @@ var Ce = () => {
515
515
  F(null), O(!0);
516
516
  },
517
517
  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",
518
- children: [/* @__PURE__ */ _(xe, { size: 16 }), y("devportal.createVersion", "Create Version")]
518
+ children: [/* @__PURE__ */ _(be, { size: 16 }), y("devportal.createVersion", "Create Version")]
519
519
  })
520
520
  }),
521
521
  Ie && /* @__PURE__ */ _(a, {
@@ -536,7 +536,7 @@ var Ce = () => {
536
536
  className: "flex-shrink-0"
537
537
  }), ze]
538
538
  }),
539
- /* @__PURE__ */ _(ue, {
539
+ /* @__PURE__ */ _(le, {
540
540
  label: y("devportal.versionNumber", "Version Number"),
541
541
  value: j.version,
542
542
  onChange: (e) => M({