@burdenoff/microfe-store 2026.714.1 → 2026.714.3

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 (145) hide show
  1. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/errors/CombinedGraphQLErrors.js +1 -1
  2. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -0
  3. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/errors/utils.js +1 -1
  4. package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -0
  5. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/link/core/ApolloLink.js +2 -2
  6. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
  7. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/link/subscriptions/index.js +2 -2
  8. package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -0
  9. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/link/utils/createOperation.js +1 -1
  10. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
  11. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
  12. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/graphql/print.js +1 -1
  13. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
  14. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/caches.js +2 -2
  15. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
  16. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/checkDocument.js +1 -1
  17. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
  18. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/getMainDefinition.js +1 -1
  19. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -0
  20. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +9 -0
  21. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -0
  22. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/getOperationDefinition.js +1 -1
  23. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
  24. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +8 -0
  25. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
  26. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/globals/global.js +1 -1
  27. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
  28. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
  29. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
  30. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +8 -0
  31. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -0
  32. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/makeUniqueId.js +1 -1
  33. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
  34. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/memoize.js +2 -2
  35. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
  36. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/stringifyForDisplay.js +1 -1
  37. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
  38. package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/invariant/index.js +1 -1
  39. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
  40. package/dist/node_modules/@apollo/client/version.js +6 -0
  41. package/dist/node_modules/@apollo/client/version.js.map +1 -0
  42. package/dist/node_modules/{.bun/@wry_caches@1.0.1/node_modules/@wry → @wry}/caches/lib/weak.js +1 -1
  43. package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -0
  44. package/dist/node_modules/{.bun/@wry_trie@0.5.0/node_modules/@wry → @wry}/trie/lib/index.js +1 -1
  45. package/dist/node_modules/@wry/trie/lib/index.js.map +1 -0
  46. package/dist/node_modules/{.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws → graphql-ws}/dist/client.js +1 -1
  47. package/dist/node_modules/graphql-ws/dist/client.js.map +1 -0
  48. package/dist/node_modules/{.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws → graphql-ws}/dist/common-CGW11Fyb.js +1 -1
  49. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -0
  50. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/NotificationFactories.js +1 -1
  51. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
  52. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/Observable.js +1 -1
  53. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
  54. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/Subscriber.js +2 -2
  55. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
  56. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/Subscription.js +2 -2
  57. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
  58. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/config.js +1 -1
  59. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
  60. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/observable/empty.js +1 -1
  61. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
  62. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/scheduler/timeoutProvider.js +2 -2
  63. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
  64. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/symbol/observable.js +1 -1
  65. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
  66. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/UnsubscriptionError.js +1 -1
  67. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
  68. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
  69. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
  70. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/createErrorClass.js +1 -1
  71. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
  72. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/errorContext.js +1 -1
  73. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
  74. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
  75. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
  76. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
  77. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
  78. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
  79. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
  80. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/pipe.js +1 -1
  81. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
  82. package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/reportUnhandledError.js +1 -1
  83. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
  84. package/dist/node_modules/{.bun/tslib@2.8.1 → rxjs}/node_modules/tslib/tslib.es6.js +1 -1
  85. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
  86. package/dist/pages/AdminSubmissionsQueuePage.js +129 -122
  87. package/dist/pages/AdminSubmissionsQueuePage.js.map +1 -1
  88. package/dist/pages/MarketplaceHomePage.js.map +1 -1
  89. package/dist/pages/OrdersPage.js +4 -8
  90. package/dist/pages/OrdersPage.js.map +1 -1
  91. package/dist/providers/StoreProvider.js +3 -3
  92. package/package.json +2 -2
  93. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +0 -1
  94. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/utils.js.map +0 -1
  95. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/core/ApolloLink.js.map +0 -1
  96. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/subscriptions/index.js.map +0 -1
  97. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/utils/createOperation.js.map +0 -1
  98. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/caching/sizes.js.map +0 -1
  99. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
  100. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/caches.js.map +0 -1
  101. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +0 -1
  102. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +0 -1
  103. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +0 -9
  104. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +0 -1
  105. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +0 -1
  106. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js +0 -8
  107. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +0 -1
  108. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/global.js.map +0 -1
  109. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js +0 -10
  110. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +0 -1
  111. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +0 -8
  112. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +0 -1
  113. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +0 -1
  114. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/memoize.js.map +0 -1
  115. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +0 -1
  116. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/invariant/index.js.map +0 -1
  117. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js +0 -6
  118. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js.map +0 -1
  119. package/dist/node_modules/.bun/@wry_caches@1.0.1/node_modules/@wry/caches/lib/weak.js.map +0 -1
  120. package/dist/node_modules/.bun/@wry_trie@0.5.0/node_modules/@wry/trie/lib/index.js.map +0 -1
  121. package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/client.js.map +0 -1
  122. package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +0 -1
  123. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +0 -1
  124. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Observable.js.map +0 -1
  125. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +0 -1
  126. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +0 -1
  127. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/config.js.map +0 -1
  128. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +0 -1
  129. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +0 -1
  130. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +0 -1
  131. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +0 -1
  132. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +0 -11
  133. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +0 -1
  134. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +0 -1
  135. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +0 -1
  136. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js +0 -8
  137. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +0 -1
  138. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +0 -8
  139. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +0 -1
  140. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js +0 -6
  141. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +0 -1
  142. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +0 -1
  143. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +0 -1
  144. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.js.map +0 -1
  145. /package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/caching/sizes.js +0 -0
@@ -6,9 +6,9 @@ import { ArrowLeft as ee, Check as o, ChevronDown as s, ChevronUp as c, Clock as
6
6
  import { graphqlFetch as g } from "@burdenoff/fe-libs/shared/graphql";
7
7
  import { jsx as _, jsxs as v } from "react/jsx-runtime";
8
8
  import { useNavigate as se } from "react-router-dom";
9
- import { IllustratedEmptyState as ce, PagePurpose as le } from "@burdenoff/fe-libs/ui";
9
+ import { IllustratedEmptyState as y, PagePurpose as ce } from "@burdenoff/fe-libs/ui";
10
10
  //#region src/pages/AdminSubmissionsQueuePage.tsx
11
- var ue = "\n query PendingReviewProducts($limit: Int, $offset: Int) {\n pendingReviewProducts(limit: $limit, offset: $offset) {\n totalCount\n products {\n id\n slug\n name\n type\n nature\n status\n pricingModel\n price\n currency\n description\n submittedAt\n submittedBy\n category\n icon\n productId\n zipFileUrl\n manifest\n requiredPermissions\n publisher {\n id\n name\n email\n }\n }\n }\n }\n", de = "\n query AdminProducts($limit: Int, $offset: Int, $status: ProductStatus) {\n products(filter: { status: $status }, limit: $limit, offset: $offset) {\n id\n slug\n name\n type\n nature\n status\n pricingModel\n price\n currency\n description\n submittedAt\n submittedBy\n category\n icon\n productId\n manifest\n requiredPermissions\n publisher {\n id\n name\n email\n }\n }\n }\n", fe = "\n mutation ApproveProduct($id: ID!, $notes: String) {\n approveProduct(id: $id, notes: $notes) {\n id\n status\n publishedAt\n }\n }\n", pe = "\n mutation RejectProduct($id: ID!, $reason: String!) {\n rejectProduct(id: $id, reason: $reason) {\n id\n status\n rejectedReason\n }\n }\n", me = "\n query AdminPendingVersionApps($limit: Int, $offset: Int) {\n applicationsWithPendingVersions(limit: $limit, offset: $offset) {\n totalCount\n edges {\n node {\n id\n name\n slug\n iconUrl\n shortDescription\n description\n versions(first: 5) {\n edges {\n node {\n id\n version\n status\n releaseNotes\n packageUrl\n packageSize\n isLatest\n reviewNotes\n manifest\n createdAt\n }\n }\n }\n }\n }\n }\n }\n", he = "\n mutation AdminApproveApplicationVersion($id: ID!, $notes: String) {\n approveApplicationVersion(id: $id, notes: $notes) {\n id\n status\n }\n }\n", ge = "\n mutation AdminRejectApplicationVersion($id: ID!, $reason: String!) {\n rejectApplicationVersion(id: $id, reason: $reason) {\n id\n status\n }\n }\n", _e = [
11
+ var le = "\n query PendingReviewProducts($limit: Int, $offset: Int) {\n pendingReviewProducts(limit: $limit, offset: $offset) {\n totalCount\n products {\n id\n slug\n name\n type\n nature\n status\n pricingModel\n price\n currency\n description\n submittedAt\n submittedBy\n category\n icon\n productId\n zipFileUrl\n manifest\n requiredPermissions\n publisher {\n id\n name\n email\n }\n }\n }\n }\n", ue = "\n query AdminProducts($limit: Int, $offset: Int, $status: ProductStatus) {\n products(filter: { status: $status }, limit: $limit, offset: $offset) {\n id\n slug\n name\n type\n nature\n status\n pricingModel\n price\n currency\n description\n submittedAt\n submittedBy\n category\n icon\n productId\n zipFileUrl\n manifest\n requiredPermissions\n publisher {\n id\n name\n email\n }\n }\n }\n", de = "\n mutation ApproveProduct($id: ID!, $notes: String) {\n approveProduct(id: $id, notes: $notes) {\n id\n status\n publishedAt\n }\n }\n", fe = "\n mutation RejectProduct($id: ID!, $reason: String!) {\n rejectProduct(id: $id, reason: $reason) {\n id\n status\n rejectedReason\n }\n }\n", pe = "\n query AdminPendingVersionApps($limit: Int, $offset: Int) {\n applicationsWithPendingVersions(limit: $limit, offset: $offset) {\n totalCount\n edges {\n node {\n id\n name\n slug\n iconUrl\n shortDescription\n description\n versions(first: 5) {\n edges {\n node {\n id\n version\n status\n releaseNotes\n packageUrl\n packageSize\n isLatest\n reviewNotes\n manifest\n createdAt\n }\n }\n }\n }\n }\n }\n }\n", me = "\n mutation AdminApproveApplicationVersion($id: ID!, $notes: String) {\n approveApplicationVersion(id: $id, notes: $notes) {\n id\n status\n }\n }\n", he = "\n mutation AdminRejectApplicationVersion($id: ID!, $reason: String!) {\n rejectApplicationVersion(id: $id, reason: $reason) {\n id\n status\n }\n }\n", ge = [
12
12
  {
13
13
  label: "Pending review",
14
14
  value: "PENDING_REVIEW"
@@ -29,16 +29,16 @@ var ue = "\n query PendingReviewProducts($limit: Int, $offset: Int) {\n pend
29
29
  label: "All",
30
30
  value: "ALL"
31
31
  }
32
- ], y = {
32
+ ], b = {
33
33
  NODE: "bg-[var(--color-status-info-bg-subtle)] text-[var(--color-status-info-text)]",
34
34
  WORKFLOW: "bg-[var(--color-status-warning-bg-subtle)] text-[var(--color-status-warning-text)]",
35
35
  INTEGRATION: "bg-[var(--color-status-success-bg-subtle)] text-[var(--color-status-success-text)]",
36
36
  VIBEMODULE: "bg-[var(--color-surface-accent-muted)] text-[var(--color-text-accent)]"
37
- }, b = {
37
+ }, x = {
38
38
  PENDING_REVIEW: "bg-[var(--color-status-warning-bg-subtle)] text-[var(--color-status-warning-text)]",
39
39
  PUBLISHED: "bg-[var(--color-status-success-bg-subtle)] text-[var(--color-status-success-text)]",
40
40
  REJECTED: "bg-[var(--color-status-error-bg-subtle)] text-[var(--color-status-error-text)]"
41
- }, x = new Set([
41
+ }, S = new Set([
42
42
  "NODE",
43
43
  "WORKFLOW",
44
44
  "VIBEMODULE",
@@ -46,13 +46,13 @@ var ue = "\n query PendingReviewProducts($limit: Int, $offset: Int) {\n pend
46
46
  "DATASINK",
47
47
  "CONSOLE"
48
48
  ]);
49
- function ve(e) {
50
- return y[e] ?? "bg-[var(--color-surface-muted)] text-[var(--color-text-secondary)]";
51
- }
52
- function ye(e) {
49
+ function _e(e) {
53
50
  return b[e] ?? "bg-[var(--color-surface-muted)] text-[var(--color-text-secondary)]";
54
51
  }
55
- function S(e) {
52
+ function ve(e) {
53
+ return x[e] ?? "bg-[var(--color-surface-muted)] text-[var(--color-text-secondary)]";
54
+ }
55
+ function C(e) {
56
56
  return e ? new Date(e).toLocaleString(void 0, {
57
57
  month: "short",
58
58
  day: "numeric",
@@ -61,156 +61,156 @@ function S(e) {
61
61
  minute: "2-digit"
62
62
  }) : "—";
63
63
  }
64
- var C = () => {
65
- let y = se(), { authToken: b, basePath: C } = e(), [w, T] = a([]), [E, D] = a(0), [O, k] = a(!1), [A, j] = a(null), [M, N] = a(null), [P, be] = a("PENDING_REVIEW"), [xe, F] = a(null), [I, L] = a(""), [R, z] = a(null), [B, V] = a(null), [H, Se] = a([]), [U, Ce] = a(0), [W, G] = a(null), [K, q] = a(null), [J, Y] = a(""), [we, X] = a(null), Z = r(async () => {
66
- k(!0), j(null);
64
+ var w = () => {
65
+ let b = se(), { authToken: x, basePath: w } = e(), [T, E] = a([]), [D, O] = a(0), [k, A] = a(!1), [j, M] = a(null), [N, P] = a(null), [F, ye] = a("PENDING_REVIEW"), [be, I] = a(null), [L, R] = a(""), [z, B] = a(null), [V, H] = a(null), [U, xe] = a([]), [W, Se] = a(0), [G, K] = a(null), [Ce, q] = a(null), [J, Y] = a(""), [we, X] = a(null), Z = r(async () => {
66
+ A(!0), M(null);
67
67
  try {
68
68
  let e = await g({
69
69
  gateway: "global",
70
- query: me,
70
+ query: pe,
71
71
  variables: {
72
72
  limit: 50,
73
73
  offset: 0
74
74
  },
75
- authToken: b || void 0
75
+ authToken: x || void 0
76
76
  });
77
77
  if (e.errors?.length) throw Error(e.errors[0]?.message ?? "Failed to load version updates");
78
- Se((e.data?.applicationsWithPendingVersions.edges ?? []).map((e) => e.node)), Ce(e.data?.applicationsWithPendingVersions.totalCount ?? 0);
78
+ xe((e.data?.applicationsWithPendingVersions.edges ?? []).map((e) => e.node)), Se(e.data?.applicationsWithPendingVersions.totalCount ?? 0);
79
79
  } catch (e) {
80
- j(e instanceof Error ? e.message : "Failed to load version updates");
80
+ M(e instanceof Error ? e.message : "Failed to load version updates");
81
81
  } finally {
82
- k(!1);
82
+ A(!1);
83
83
  }
84
- }, [b]), Te = async (e, t, n) => {
85
- G(e), j(null);
84
+ }, [x]), Te = async (e, t, n) => {
85
+ K(e), M(null);
86
86
  try {
87
87
  let t = await g({
88
88
  gateway: "global",
89
- query: he,
89
+ query: me,
90
90
  variables: {
91
91
  id: e,
92
92
  notes: n || null
93
93
  },
94
- authToken: b || void 0
94
+ authToken: x || void 0
95
95
  });
96
96
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Approval failed");
97
97
  await Z();
98
98
  } catch (e) {
99
- j(e instanceof Error ? e.message : "Approval failed");
99
+ M(e instanceof Error ? e.message : "Approval failed");
100
100
  } finally {
101
- G(null);
101
+ K(null);
102
102
  }
103
103
  }, Ee = async (e, t, n) => {
104
104
  if (!n.trim()) {
105
- j("Rejection reason is required");
105
+ M("Rejection reason is required");
106
106
  return;
107
107
  }
108
- G(e), j(null);
108
+ K(e), M(null);
109
109
  try {
110
110
  let t = await g({
111
111
  gateway: "global",
112
- query: ge,
112
+ query: he,
113
113
  variables: {
114
114
  id: e,
115
115
  reason: n.trim()
116
116
  },
117
- authToken: b || void 0
117
+ authToken: x || void 0
118
118
  });
119
119
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Rejection failed");
120
120
  q(null), Y(""), X(null), await Z();
121
121
  } catch (e) {
122
- j(e instanceof Error ? e.message : "Rejection failed");
122
+ M(e instanceof Error ? e.message : "Rejection failed");
123
123
  } finally {
124
- G(null);
124
+ K(null);
125
125
  }
126
126
  }, Q = r(async (e) => {
127
127
  if (e === "VERSION_UPDATES") {
128
128
  await Z();
129
129
  return;
130
130
  }
131
- k(!0), j(null);
131
+ A(!0), M(null);
132
132
  try {
133
133
  if (e === "PENDING_REVIEW") {
134
134
  let e = await g({
135
135
  gateway: "global",
136
- query: ue,
136
+ query: le,
137
137
  variables: {
138
138
  limit: 100,
139
139
  offset: 0
140
140
  },
141
- authToken: b || void 0
141
+ authToken: x || void 0
142
142
  });
143
143
  if (e.errors?.length) throw Error(e.errors[0]?.message ?? "Failed to load pending products");
144
- T(e.data?.pendingReviewProducts.products ?? []), D(e.data?.pendingReviewProducts.totalCount ?? 0);
144
+ E(e.data?.pendingReviewProducts.products ?? []), O(e.data?.pendingReviewProducts.totalCount ?? 0);
145
145
  } else {
146
146
  let t = await g({
147
147
  gateway: "global",
148
- query: de,
148
+ query: ue,
149
149
  variables: {
150
150
  limit: 100,
151
151
  offset: 0,
152
152
  ...e !== "ALL" && { status: e }
153
153
  },
154
- authToken: b || void 0
154
+ authToken: x || void 0
155
155
  });
156
156
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Failed to load products");
157
157
  let n = t.data?.products ?? [];
158
- T(n), D(n.length);
158
+ E(n), O(n.length);
159
159
  }
160
160
  } catch (e) {
161
- j(e instanceof Error ? e.message : "Failed to load products");
161
+ M(e instanceof Error ? e.message : "Failed to load products");
162
162
  } finally {
163
- k(!1);
163
+ A(!1);
164
164
  }
165
- }, [b, Z]);
165
+ }, [x, Z]);
166
166
  i(() => {
167
- Q(P);
168
- }, [Q, P]), i(() => {
167
+ Q(F);
168
+ }, [Q, F]), i(() => {
169
169
  Z();
170
170
  }, [Z]);
171
171
  let De = async (e) => {
172
- N(e), j(null);
172
+ P(e), M(null);
173
173
  try {
174
174
  let t = await g({
175
175
  gateway: "global",
176
- query: fe,
176
+ query: de,
177
177
  variables: {
178
178
  id: e,
179
179
  notes: null
180
180
  },
181
- authToken: b || void 0
181
+ authToken: x || void 0
182
182
  });
183
183
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Approval failed");
184
- await Q(P);
184
+ await Q(F);
185
185
  } catch (e) {
186
- j(e instanceof Error ? e.message : "Approval failed");
186
+ M(e instanceof Error ? e.message : "Approval failed");
187
187
  } finally {
188
- N(null);
188
+ P(null);
189
189
  }
190
190
  }, Oe = async (e) => {
191
- if (!I.trim()) {
192
- j("Rejection reason is required");
191
+ if (!L.trim()) {
192
+ M("Rejection reason is required");
193
193
  return;
194
194
  }
195
- N(e), j(null);
195
+ P(e), M(null);
196
196
  try {
197
197
  let t = await g({
198
198
  gateway: "global",
199
- query: pe,
199
+ query: fe,
200
200
  variables: {
201
201
  id: e,
202
- reason: I.trim()
202
+ reason: L.trim()
203
203
  },
204
- authToken: b || void 0
204
+ authToken: x || void 0
205
205
  });
206
206
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Rejection failed");
207
- F(null), L(""), await Q(P);
207
+ I(null), R(""), await Q(F);
208
208
  } catch (e) {
209
- j(e instanceof Error ? e.message : "Rejection failed");
209
+ M(e instanceof Error ? e.message : "Rejection failed");
210
210
  } finally {
211
- N(null);
211
+ P(null);
212
212
  }
213
- }, $ = w.filter((e) => e.status === "PENDING_REVIEW").length;
213
+ }, $ = T.filter((e) => e.status === "PENDING_REVIEW").length;
214
214
  return /* @__PURE__ */ v("div", {
215
215
  className: "min-h-screen bg-[var(--color-surface-default)]",
216
216
  children: [
@@ -225,7 +225,7 @@ var C = () => {
225
225
  children: [
226
226
  /* @__PURE__ */ v("button", {
227
227
  type: "button",
228
- onClick: () => y(`${C}/dashboard`),
228
+ onClick: () => b(`${w}/dashboard`),
229
229
  className: "inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-sm text-[var(--color-text-secondary)] hover:bg-[var(--color-surface-hover)] hover:text-[var(--color-text-primary)] transition-colors",
230
230
  children: [/* @__PURE__ */ _(ee, { className: "size-4 shrink-0" }), "Back"]
231
231
  }),
@@ -235,33 +235,33 @@ var C = () => {
235
235
  className: "text-lg font-semibold text-[var(--color-text-primary)] truncate",
236
236
  children: "Submission Queue"
237
237
  }),
238
- E > 0 && /* @__PURE__ */ _("span", {
238
+ D > 0 && /* @__PURE__ */ _("span", {
239
239
  className: "shrink-0 rounded-full bg-[var(--color-status-warning-bg-subtle)] px-2 py-0.5 text-xs font-semibold text-[var(--color-status-warning-text)]",
240
- children: E
240
+ children: D
241
241
  })
242
242
  ]
243
243
  }), /* @__PURE__ */ v("button", {
244
244
  type: "button",
245
- onClick: () => void Q(P),
245
+ onClick: () => void Q(F),
246
246
  className: "shrink-0 inline-flex items-center gap-2 rounded-md border border-[var(--color-border-default)] bg-[var(--color-surface-default)] px-3 py-1.5 text-sm text-[var(--color-text-primary)] hover:bg-[var(--color-surface-hover)] transition-colors disabled:opacity-50",
247
- disabled: O,
248
- children: [/* @__PURE__ */ _(m, { className: `size-4 ${O ? "animate-spin" : ""}` }), "Refresh"]
247
+ disabled: k,
248
+ children: [/* @__PURE__ */ _(m, { className: `size-4 ${k ? "animate-spin" : ""}` }), "Refresh"]
249
249
  })]
250
250
  }), /* @__PURE__ */ _("div", {
251
251
  className: "mt-3 flex gap-1.5 flex-wrap",
252
- children: _e.map((e) => /* @__PURE__ */ v("button", {
252
+ children: ge.map((e) => /* @__PURE__ */ v("button", {
253
253
  type: "button",
254
- onClick: () => be(e.value),
255
- className: `rounded-full px-3.5 py-1 text-xs font-medium transition-colors ${P === e.value ? "bg-[var(--color-action-primary-bg)] text-[var(--color-action-primary-text)]" : "bg-[var(--color-surface-muted)] text-[var(--color-text-secondary)] hover:bg-[var(--color-surface-hover)]"}`,
254
+ onClick: () => ye(e.value),
255
+ className: `rounded-full px-3.5 py-1 text-xs font-medium transition-colors ${F === e.value ? "bg-[var(--color-action-primary-bg)] text-[var(--color-action-primary-text)]" : "bg-[var(--color-surface-muted)] text-[var(--color-text-secondary)] hover:bg-[var(--color-surface-hover)]"}`,
256
256
  children: [
257
257
  e.label,
258
- e.value === "PENDING_REVIEW" && $ > 0 && P !== "PENDING_REVIEW" && /* @__PURE__ */ _("span", {
258
+ e.value === "PENDING_REVIEW" && $ > 0 && F !== "PENDING_REVIEW" && /* @__PURE__ */ _("span", {
259
259
  className: "ml-1.5 rounded-full bg-[var(--color-status-warning-text)] px-1.5 py-0.5 text-[10px] text-white",
260
260
  children: $
261
261
  }),
262
- e.value === "VERSION_UPDATES" && U > 0 && P !== "VERSION_UPDATES" && /* @__PURE__ */ _("span", {
262
+ e.value === "VERSION_UPDATES" && W > 0 && F !== "VERSION_UPDATES" && /* @__PURE__ */ _("span", {
263
263
  className: "ml-1.5 rounded-full bg-[var(--color-status-info-text)] px-1.5 py-0.5 text-[10px] text-white",
264
- children: U
264
+ children: W
265
265
  })
266
266
  ]
267
267
  }, e.value))
@@ -271,25 +271,25 @@ var C = () => {
271
271
  /* @__PURE__ */ v("main", {
272
272
  className: "mx-auto max-w-5xl space-y-4 p-6",
273
273
  children: [
274
- /* @__PURE__ */ _(le, {
274
+ /* @__PURE__ */ _(ce, {
275
275
  className: "mb-2",
276
276
  children: "Every publisher submission lands here for your review. Inspect the manifest, permissions, and package details — then approve to publish or reject with a clear reason the developer will see."
277
277
  }),
278
- A && /* @__PURE__ */ _("div", {
278
+ j && /* @__PURE__ */ _("div", {
279
279
  role: "alert",
280
280
  className: "rounded-lg border border-[var(--color-border-danger)] bg-[var(--color-surface-danger-muted)] px-4 py-3 text-sm text-[var(--color-text-danger)]",
281
- children: A
281
+ children: j
282
282
  }),
283
- P === "VERSION_UPDATES" ? O && H.length === 0 ? /* @__PURE__ */ _("div", {
283
+ F === "VERSION_UPDATES" ? k && U.length === 0 ? /* @__PURE__ */ _("div", {
284
284
  className: "flex items-center justify-center py-24",
285
285
  children: /* @__PURE__ */ _(m, { className: "size-6 animate-spin text-[var(--color-text-muted)]" })
286
- }) : H.length === 0 ? /* @__PURE__ */ _(ce, {
286
+ }) : U.length === 0 ? /* @__PURE__ */ _(y, {
287
287
  illustration: "empty-data",
288
288
  title: "No pending version updates",
289
289
  description: "All published apps are up to date. When a developer submits a new version, it will appear here for your review."
290
290
  }) : /* @__PURE__ */ _("ul", {
291
291
  className: "space-y-4",
292
- children: H.map((e) => {
292
+ children: U.map((e) => {
293
293
  let t = e.versions.edges.map((e) => e.node).filter((e) => e.status === "pending_review");
294
294
  return t.length === 0 ? null : /* @__PURE__ */ v("li", {
295
295
  className: "overflow-hidden rounded-xl border border-[var(--color-border-seam)] bg-[var(--color-surface-raised)] shadow-[var(--shadow-elevation-1)]",
@@ -357,7 +357,7 @@ var C = () => {
357
357
  }),
358
358
  /* @__PURE__ */ v("span", {
359
359
  className: "ml-auto flex items-center gap-1 text-xs text-[var(--color-text-secondary)]",
360
- children: [/* @__PURE__ */ _(l, { className: "size-3" }), S(t.createdAt)]
360
+ children: [/* @__PURE__ */ _(l, { className: "size-3" }), C(t.createdAt)]
361
361
  })
362
362
  ]
363
363
  }),
@@ -387,20 +387,20 @@ var C = () => {
387
387
  ]
388
388
  }), t.manifest && /* @__PURE__ */ v("button", {
389
389
  type: "button",
390
- onClick: () => z(R === t.id ? null : t.id),
390
+ onClick: () => B(z === t.id ? null : t.id),
391
391
  className: "inline-flex items-center gap-1.5 rounded-md border border-[var(--color-border-default)] bg-[var(--color-surface-default)] px-3 py-1.5 text-xs font-medium text-[var(--color-text-secondary)] hover:bg-[var(--color-surface-hover)] transition-colors",
392
392
  children: [
393
393
  /* @__PURE__ */ _(f, { className: "size-3.5" }),
394
- R === t.id ? "Hide manifest" : "View manifest",
395
- R === t.id ? /* @__PURE__ */ _(c, { className: "size-3" }) : /* @__PURE__ */ _(s, { className: "size-3" })
394
+ z === t.id ? "Hide manifest" : "View manifest",
395
+ z === t.id ? /* @__PURE__ */ _(c, { className: "size-3" }) : /* @__PURE__ */ _(s, { className: "size-3" })
396
396
  ]
397
397
  })]
398
398
  }),
399
- R === t.id && t.manifest && /* @__PURE__ */ _("pre", {
399
+ z === t.id && t.manifest && /* @__PURE__ */ _("pre", {
400
400
  className: "overflow-x-auto rounded-lg border border-[var(--color-border-seam)] bg-[var(--color-surface-default)] p-4 text-[11px] leading-relaxed text-[var(--color-text-primary)] max-h-48 overflow-y-auto",
401
401
  children: JSON.stringify(t.manifest, null, 2)
402
402
  }),
403
- K === t.id && we === e.id && /* @__PURE__ */ v("div", {
403
+ Ce === t.id && we === e.id && /* @__PURE__ */ v("div", {
404
404
  className: "rounded-lg border border-[var(--color-border-danger)] bg-[var(--color-surface-danger-muted)]/30 p-3 space-y-2",
405
405
  children: [
406
406
  /* @__PURE__ */ _("p", {
@@ -426,7 +426,7 @@ var C = () => {
426
426
  }), /* @__PURE__ */ _("button", {
427
427
  type: "button",
428
428
  onClick: () => void Ee(t.id, e.id, J),
429
- disabled: !J.trim() || W === t.id,
429
+ disabled: !J.trim() || G === t.id,
430
430
  className: "rounded-md bg-[var(--color-surface-danger)] px-3 py-1.5 text-xs font-semibold text-[var(--color-text-on-danger)] hover:opacity-90 disabled:opacity-50 transition-opacity",
431
431
  children: "Submit rejection"
432
432
  })]
@@ -438,15 +438,15 @@ var C = () => {
438
438
  children: [/* @__PURE__ */ v("button", {
439
439
  type: "button",
440
440
  onClick: () => void Te(t.id, e.id, ""),
441
- disabled: W === t.id,
441
+ disabled: G === t.id,
442
442
  className: "inline-flex items-center gap-1.5 rounded-md bg-[var(--color-surface-success)] px-4 py-1.5 text-xs font-semibold text-[var(--color-text-on-success)] hover:opacity-90 disabled:opacity-50 transition-opacity",
443
- children: [W === t.id ? /* @__PURE__ */ _(m, { className: "size-3.5 animate-spin" }) : /* @__PURE__ */ _(o, { className: "size-3.5" }), "Approve version"]
444
- }), K !== t.id && /* @__PURE__ */ v("button", {
443
+ children: [G === t.id ? /* @__PURE__ */ _(m, { className: "size-3.5 animate-spin" }) : /* @__PURE__ */ _(o, { className: "size-3.5" }), "Approve version"]
444
+ }), Ce !== t.id && /* @__PURE__ */ v("button", {
445
445
  type: "button",
446
446
  onClick: () => {
447
447
  q(t.id), Y(""), X(e.id);
448
448
  },
449
- disabled: W === t.id,
449
+ disabled: G === t.id,
450
450
  className: "inline-flex items-center gap-1.5 rounded-md border border-[var(--color-border-danger)] bg-[var(--color-surface-danger-muted)] px-4 py-1.5 text-xs font-semibold text-[var(--color-text-danger)] hover:bg-[var(--color-surface-danger)] hover:text-[var(--color-text-on-danger)] disabled:opacity-50 transition-colors",
451
451
  children: [/* @__PURE__ */ _(h, { className: "size-3.5" }), "Reject version"]
452
452
  })]
@@ -456,16 +456,16 @@ var C = () => {
456
456
  })]
457
457
  }, e.id);
458
458
  })
459
- }) : O && w.length === 0 ? /* @__PURE__ */ _("div", {
459
+ }) : k && T.length === 0 ? /* @__PURE__ */ _("div", {
460
460
  className: "flex items-center justify-center py-24",
461
461
  children: /* @__PURE__ */ _(m, { className: "size-6 animate-spin text-[var(--color-text-muted)]" })
462
- }) : w.length === 0 ? /* @__PURE__ */ _(ce, {
463
- illustration: P === "PENDING_REVIEW" ? "empty-notifications" : "empty-data",
464
- title: P === "PENDING_REVIEW" ? "Queue is clear" : "No products match this filter",
465
- description: P === "PENDING_REVIEW" ? "No submissions are awaiting review. New submissions will appear here as publishers send them in." : "Nothing matches the current filter. Try switching to a different status above."
462
+ }) : T.length === 0 ? /* @__PURE__ */ _(y, {
463
+ illustration: F === "PENDING_REVIEW" ? "empty-notifications" : "empty-data",
464
+ title: F === "PENDING_REVIEW" ? "Queue is clear" : "No products match this filter",
465
+ description: F === "PENDING_REVIEW" ? "No submissions are awaiting review. New submissions will appear here as publishers send them in." : "Nothing matches the current filter. Try switching to a different status above."
466
466
  }) : /* @__PURE__ */ _("ul", {
467
467
  className: "space-y-3",
468
- children: w.map((e) => /* @__PURE__ */ v("li", {
468
+ children: T.map((e) => /* @__PURE__ */ v("li", {
469
469
  className: "overflow-hidden rounded-xl border border-[var(--color-border-seam)] bg-[var(--color-surface-raised)] shadow-[var(--shadow-elevation-1)] transition-[box-shadow,border-color] hover:border-[var(--color-border-strong)] hover:shadow-[var(--shadow-elevation-2)]",
470
470
  children: [
471
471
  /* @__PURE__ */ v("div", {
@@ -488,11 +488,11 @@ var C = () => {
488
488
  children: e.name
489
489
  }),
490
490
  /* @__PURE__ */ _("span", {
491
- className: `rounded-full px-2 py-0.5 text-[11px] font-semibold uppercase tracking-wide ${ve(e.type)}`,
491
+ className: `rounded-full px-2 py-0.5 text-[11px] font-semibold uppercase tracking-wide ${_e(e.type)}`,
492
492
  children: e.type
493
493
  }),
494
494
  /* @__PURE__ */ _("span", {
495
- className: `rounded-full px-2 py-0.5 text-[11px] font-medium ${ye(e.status)}`,
495
+ className: `rounded-full px-2 py-0.5 text-[11px] font-medium ${ve(e.status)}`,
496
496
  children: e.status.replace("_", " ")
497
497
  })
498
498
  ]
@@ -524,7 +524,7 @@ var C = () => {
524
524
  }),
525
525
  e.submittedAt && /* @__PURE__ */ v("span", {
526
526
  className: "flex items-center gap-1",
527
- children: [/* @__PURE__ */ _(l, { className: "size-3" }), S(e.submittedAt)]
527
+ children: [/* @__PURE__ */ _(l, { className: "size-3" }), C(e.submittedAt)]
528
528
  }),
529
529
  /* @__PURE__ */ v("span", {
530
530
  className: "flex items-center gap-1",
@@ -551,28 +551,35 @@ var C = () => {
551
551
  className: "inline-flex items-center gap-1.5 rounded-md border border-[var(--color-border-default)] bg-[var(--color-surface-default)] px-3 py-1.5 text-xs font-medium text-[var(--color-text-secondary)] hover:bg-[var(--color-surface-hover)] hover:text-[var(--color-text-primary)] transition-colors",
552
552
  children: [/* @__PURE__ */ _(d, { className: "size-3.5" }), "Devportal"]
553
553
  }),
554
- x.has(e.type) && e.zipFileUrl && /* @__PURE__ */ v("a", {
554
+ S.has(e.type) && (e.zipFileUrl ? /* @__PURE__ */ v("a", {
555
555
  href: e.zipFileUrl,
556
556
  download: !0,
557
557
  target: "_blank",
558
558
  rel: "noreferrer",
559
559
  className: "inline-flex items-center gap-1.5 rounded-md border border-[var(--color-border-default)] bg-[var(--color-surface-default)] px-3 py-1.5 text-xs font-medium text-[var(--color-text-secondary)] hover:bg-[var(--color-surface-hover)] hover:text-[var(--color-text-primary)] transition-colors",
560
560
  children: [/* @__PURE__ */ _(u, { className: "size-3.5" }), "Download Package"]
561
- }),
562
- x.has(e.type) && /* @__PURE__ */ v("button", {
561
+ }) : /* @__PURE__ */ v("a", {
562
+ href: "/devportal/reviews",
563
+ target: "_blank",
564
+ rel: "noreferrer",
565
+ className: "inline-flex items-center gap-1.5 rounded-md border border-[var(--color-border-default)] bg-[var(--color-surface-default)] px-3 py-1.5 text-xs font-medium text-[var(--color-text-secondary)] hover:bg-[var(--color-surface-hover)] hover:text-[var(--color-text-primary)] transition-colors",
566
+ title: "Package stored in devportal — download from the review panel there",
567
+ children: [/* @__PURE__ */ _(u, { className: "size-3.5" }), "Package (in Devportal)"]
568
+ })),
569
+ S.has(e.type) && /* @__PURE__ */ v("button", {
563
570
  type: "button",
564
- onClick: () => V(e),
571
+ onClick: () => H(e),
565
572
  className: "inline-flex items-center gap-1.5 rounded-md border border-[var(--color-border-accent)] bg-[var(--color-surface-default)] px-3 py-1.5 text-xs font-medium text-[var(--color-text-accent)] hover:bg-[var(--color-surface-accent-muted)] transition-colors",
566
573
  children: [/* @__PURE__ */ _(te, { className: "size-3.5" }), "Test in workspace"]
567
574
  }),
568
575
  /* @__PURE__ */ v("button", {
569
576
  type: "button",
570
- onClick: () => z(R === e.id ? null : e.id),
577
+ onClick: () => B(z === e.id ? null : e.id),
571
578
  className: "inline-flex items-center gap-1.5 rounded-md border border-[var(--color-border-default)] bg-[var(--color-surface-default)] px-3 py-1.5 text-xs font-medium text-[var(--color-text-secondary)] hover:bg-[var(--color-surface-hover)] transition-colors",
572
579
  children: [
573
580
  /* @__PURE__ */ _(f, { className: "size-3.5" }),
574
- R === e.id ? "Hide details" : "Inspect details",
575
- R === e.id ? /* @__PURE__ */ _(c, { className: "size-3" }) : /* @__PURE__ */ _(s, { className: "size-3" })
581
+ z === e.id ? "Hide details" : "Inspect details",
582
+ z === e.id ? /* @__PURE__ */ _(c, { className: "size-3" }) : /* @__PURE__ */ _(s, { className: "size-3" })
576
583
  ]
577
584
  })
578
585
  ]
@@ -581,21 +588,21 @@ var C = () => {
581
588
  children: [e.status !== "PUBLISHED" && /* @__PURE__ */ v("button", {
582
589
  type: "button",
583
590
  onClick: () => void De(e.id),
584
- disabled: M === e.id,
591
+ disabled: N === e.id,
585
592
  className: "inline-flex items-center gap-1.5 rounded-md bg-[var(--color-surface-success)] px-4 py-1.5 text-xs font-semibold text-[var(--color-text-on-success)] hover:opacity-90 disabled:opacity-50 transition-opacity",
586
593
  children: [/* @__PURE__ */ _(o, { className: "size-3.5" }), "Approve"]
587
594
  }), e.status !== "REJECTED" && /* @__PURE__ */ v("button", {
588
595
  type: "button",
589
596
  onClick: () => {
590
- F(e.id), L("");
597
+ I(e.id), R("");
591
598
  },
592
- disabled: M === e.id,
599
+ disabled: N === e.id,
593
600
  className: "inline-flex items-center gap-1.5 rounded-md border border-[var(--color-border-danger)] bg-[var(--color-surface-danger-muted)] px-4 py-1.5 text-xs font-semibold text-[var(--color-text-danger)] hover:bg-[var(--color-surface-danger)] hover:text-[var(--color-text-on-danger)] disabled:opacity-50 transition-colors",
594
601
  children: [/* @__PURE__ */ _(h, { className: "size-3.5" }), "Reject"]
595
602
  })]
596
603
  })]
597
604
  }),
598
- R === e.id && /* @__PURE__ */ v("div", {
605
+ z === e.id && /* @__PURE__ */ v("div", {
599
606
  className: "border-t border-[var(--color-border-seam)] bg-[var(--color-surface-muted)] p-5 space-y-5",
600
607
  children: [
601
608
  /* @__PURE__ */ v("div", {
@@ -686,7 +693,7 @@ var C = () => {
686
693
  })] })
687
694
  ]
688
695
  }),
689
- xe === e.id && /* @__PURE__ */ v("div", {
696
+ be === e.id && /* @__PURE__ */ v("div", {
690
697
  className: "border-t border-[var(--color-border-seam)] bg-[var(--color-surface-danger-muted)]/30 px-5 py-4",
691
698
  children: [
692
699
  /* @__PURE__ */ _("p", {
@@ -696,8 +703,8 @@ var C = () => {
696
703
  /* @__PURE__ */ _("textarea", {
697
704
  id: `reject-reason-${e.id}`,
698
705
  "aria-label": "Rejection reason",
699
- value: I,
700
- onChange: (e) => L(e.target.value),
706
+ value: L,
707
+ onChange: (e) => R(e.target.value),
701
708
  rows: 3,
702
709
  required: !0,
703
710
  "aria-required": "true",
@@ -709,14 +716,14 @@ var C = () => {
709
716
  children: [/* @__PURE__ */ _("button", {
710
717
  type: "button",
711
718
  onClick: () => {
712
- F(null), L("");
719
+ I(null), R("");
713
720
  },
714
721
  className: "rounded-md border border-[var(--color-border-default)] bg-[var(--color-surface-default)] px-3 py-1.5 text-xs font-medium text-[var(--color-text-primary)] hover:bg-[var(--color-surface-hover)] transition-colors",
715
722
  children: "Cancel"
716
723
  }), /* @__PURE__ */ _("button", {
717
724
  type: "button",
718
725
  onClick: () => void Oe(e.id),
719
- disabled: !I.trim() || M === e.id,
726
+ disabled: !L.trim() || N === e.id,
720
727
  className: "rounded-md bg-[var(--color-surface-danger)] px-3 py-1.5 text-xs font-semibold text-[var(--color-text-on-danger)] hover:opacity-90 disabled:opacity-50 transition-opacity",
721
728
  children: "Submit rejection"
722
729
  })]
@@ -728,20 +735,20 @@ var C = () => {
728
735
  })
729
736
  ]
730
737
  }),
731
- B && /* @__PURE__ */ _(n, {
738
+ V && /* @__PURE__ */ _(n, {
732
739
  isOpen: !0,
733
- onClose: () => V(null),
740
+ onClose: () => H(null),
734
741
  app: {
735
- id: B.id,
736
- name: B.name,
737
- slug: B.slug,
738
- icon: B.icon ?? void 0,
739
- type: B.type,
740
- permissions: B.requiredPermissions?.length ? B.requiredPermissions : void 0
742
+ id: V.id,
743
+ name: V.name,
744
+ slug: V.slug,
745
+ icon: V.icon ?? void 0,
746
+ type: V.type,
747
+ permissions: V.requiredPermissions?.length ? V.requiredPermissions : void 0
741
748
  },
742
749
  purchaseState: "free",
743
750
  onInstallSuccess: () => {
744
- V(null);
751
+ H(null);
745
752
  },
746
753
  onInstallError: () => {}
747
754
  })
@@ -749,6 +756,6 @@ var C = () => {
749
756
  });
750
757
  };
751
758
  //#endregion
752
- export { C as AdminSubmissionsQueuePage };
759
+ export { w as AdminSubmissionsQueuePage };
753
760
 
754
761
  //# sourceMappingURL=AdminSubmissionsQueuePage.js.map