@burdenoff/microfe-store 2026.625.3 → 2026.625.5

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 (184) hide show
  1. package/dist/StoreRoutes.js +3 -3
  2. package/dist/StoreRoutes.js.map +1 -1
  3. package/dist/components/AccessDenied.js +3 -3
  4. package/dist/components/AccessDenied.js.map +1 -1
  5. package/dist/components/InstallAppModal.js +255 -175
  6. package/dist/components/InstallAppModal.js.map +1 -1
  7. package/dist/components/cart/CartDrawer.js +10 -10
  8. package/dist/components/cart/CartDrawer.js.map +1 -1
  9. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/errors/CombinedGraphQLErrors.js +1 -1
  10. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -0
  11. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/errors/utils.js +1 -1
  12. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/utils.js.map +1 -0
  13. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/link/core/ApolloLink.js +2 -2
  14. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
  15. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/link/subscriptions/index.js +2 -2
  16. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -0
  17. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/link/utils/createOperation.js +1 -1
  18. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
  19. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
  20. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/graphql/print.js +1 -1
  21. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
  22. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/caches.js +2 -2
  23. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
  24. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/checkDocument.js +1 -1
  25. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
  26. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/getMainDefinition.js +1 -1
  27. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -0
  28. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +9 -0
  29. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -0
  30. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/getOperationDefinition.js +1 -1
  31. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
  32. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js +8 -0
  33. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
  34. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/globals/global.js +1 -1
  35. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
  36. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
  37. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
  38. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +8 -0
  39. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -0
  40. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/makeUniqueId.js +1 -1
  41. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
  42. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/memoize.js +2 -2
  43. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
  44. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/internal/stringifyForDisplay.js +1 -1
  45. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
  46. package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/invariant/index.js +1 -1
  47. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
  48. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js +6 -0
  49. package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js.map +1 -0
  50. package/dist/node_modules/{@wry → .bun/@wry_caches@1.0.1/node_modules/@wry}/caches/lib/weak.js +1 -1
  51. package/dist/node_modules/.bun/@wry_caches@1.0.1/node_modules/@wry/caches/lib/weak.js.map +1 -0
  52. package/dist/node_modules/{@wry → .bun/@wry_trie@0.5.0/node_modules/@wry}/trie/lib/index.js +1 -1
  53. package/dist/node_modules/.bun/@wry_trie@0.5.0/node_modules/@wry/trie/lib/index.js.map +1 -0
  54. package/dist/node_modules/{graphql-ws → .bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws}/dist/client.js +1 -1
  55. package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/client.js.map +1 -0
  56. package/dist/node_modules/{graphql-ws → .bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws}/dist/common-CGW11Fyb.js +1 -1
  57. package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -0
  58. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/NotificationFactories.js +1 -1
  59. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
  60. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/Observable.js +1 -1
  61. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
  62. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/Subscriber.js +2 -2
  63. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
  64. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/Subscription.js +2 -2
  65. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
  66. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/config.js +1 -1
  67. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
  68. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/observable/empty.js +1 -1
  69. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
  70. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/scheduler/timeoutProvider.js +2 -2
  71. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
  72. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/symbol/observable.js +1 -1
  73. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
  74. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/UnsubscriptionError.js +1 -1
  75. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
  76. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
  77. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
  78. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/createErrorClass.js +1 -1
  79. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
  80. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/errorContext.js +1 -1
  81. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
  82. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
  83. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
  84. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
  85. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
  86. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
  87. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
  88. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/pipe.js +1 -1
  89. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
  90. package/dist/node_modules/{rxjs → .bun/rxjs@7.8.2/node_modules/rxjs}/dist/esm5/internal/util/reportUnhandledError.js +1 -1
  91. package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
  92. package/dist/node_modules/{rxjs → .bun/tslib@2.8.1}/node_modules/tslib/tslib.es6.js +1 -1
  93. package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.js.map +1 -0
  94. package/dist/pages/AdminDashboardPage.js +89 -90
  95. package/dist/pages/AdminDashboardPage.js.map +1 -1
  96. package/dist/pages/AdminReviewModerationPage.js +56 -58
  97. package/dist/pages/AdminReviewModerationPage.js.map +1 -1
  98. package/dist/pages/AdminStoresPage.js +372 -391
  99. package/dist/pages/AdminStoresPage.js.map +1 -1
  100. package/dist/pages/AdminSubmissionsQueuePage.js +148 -134
  101. package/dist/pages/AdminSubmissionsQueuePage.js.map +1 -1
  102. package/dist/pages/AppDetailPage.js +120 -123
  103. package/dist/pages/AppDetailPage.js.map +1 -1
  104. package/dist/pages/AppSettingsPage.js +297 -70
  105. package/dist/pages/AppSettingsPage.js.map +1 -1
  106. package/dist/pages/CartPage.js +76 -65
  107. package/dist/pages/CartPage.js.map +1 -1
  108. package/dist/pages/InstalledAppsPage.js +315 -106
  109. package/dist/pages/InstalledAppsPage.js.map +1 -1
  110. package/dist/pages/MarketplaceHomePage.js +378 -368
  111. package/dist/pages/MarketplaceHomePage.js.map +1 -1
  112. package/dist/pages/MyLicensesPage.js +75 -67
  113. package/dist/pages/MyLicensesPage.js.map +1 -1
  114. package/dist/pages/OrderConfirmationPage.js +37 -38
  115. package/dist/pages/OrderConfirmationPage.js.map +1 -1
  116. package/dist/pages/OrdersPage.js +64 -53
  117. package/dist/pages/OrdersPage.js.map +1 -1
  118. package/dist/pages/ProductDetailPage.js +213 -215
  119. package/dist/pages/ProductDetailPage.js.map +1 -1
  120. package/dist/pages/ProductReviewsPage.js +2 -2
  121. package/dist/pages/ProductReviewsPage.js.map +1 -1
  122. package/dist/pages/PublisherDashboardPage.js +92 -93
  123. package/dist/pages/PublisherDashboardPage.js.map +1 -1
  124. package/dist/pages/PublisherRevenuePage.js +60 -61
  125. package/dist/pages/PublisherRevenuePage.js.map +1 -1
  126. package/dist/pages/PublisherSubmissionsPage.js +96 -97
  127. package/dist/pages/PublisherSubmissionsPage.js.map +1 -1
  128. package/dist/pages/PublisherSubmitPage.js +184 -189
  129. package/dist/pages/PublisherSubmitPage.js.map +1 -1
  130. package/dist/providers/StoreProvider.js +3 -3
  131. package/package.json +2 -2
  132. package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +0 -1
  133. package/dist/node_modules/@apollo/client/errors/utils.js.map +0 -1
  134. package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +0 -1
  135. package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +0 -1
  136. package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +0 -1
  137. package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +0 -1
  138. package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
  139. package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +0 -1
  140. package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +0 -1
  141. package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +0 -1
  142. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +0 -9
  143. package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +0 -1
  144. package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +0 -1
  145. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +0 -8
  146. package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +0 -1
  147. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +0 -1
  148. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +0 -10
  149. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +0 -1
  150. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +0 -8
  151. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +0 -1
  152. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +0 -1
  153. package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +0 -1
  154. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +0 -1
  155. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +0 -1
  156. package/dist/node_modules/@apollo/client/version.js +0 -6
  157. package/dist/node_modules/@apollo/client/version.js.map +0 -1
  158. package/dist/node_modules/@wry/caches/lib/weak.js.map +0 -1
  159. package/dist/node_modules/@wry/trie/lib/index.js.map +0 -1
  160. package/dist/node_modules/graphql-ws/dist/client.js.map +0 -1
  161. package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +0 -1
  162. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +0 -1
  163. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +0 -1
  164. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +0 -1
  165. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +0 -1
  166. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +0 -1
  167. package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +0 -1
  168. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +0 -1
  169. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +0 -1
  170. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +0 -1
  171. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +0 -11
  172. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +0 -1
  173. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +0 -1
  174. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +0 -1
  175. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +0 -8
  176. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +0 -1
  177. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +0 -8
  178. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +0 -1
  179. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +0 -6
  180. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +0 -1
  181. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +0 -1
  182. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +0 -1
  183. package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +0 -1
  184. /package/dist/node_modules/{@apollo → .bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo}/client/utilities/caching/sizes.js +0 -0
@@ -1,12 +1,12 @@
1
1
  import { useStore as e } from "../providers/StoreProvider.js";
2
2
  import { formatPriceForModel as t } from "../utils/index.js";
3
3
  import { useCallback as n, useEffect as r, useState as i } from "react";
4
- import { ArrowLeft as a, Check as o, ChevronDown as s, ChevronUp as c, PackageCheck as l, RefreshCw as u, X as d } from "lucide-react";
5
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
6
- import { useNavigate as m } from "react-router-dom";
7
- import { graphqlFetch as h } from "@burdenoff/fe-libs/shared/graphql";
4
+ import { ArrowLeft as a, Check as o, ChevronDown as s, ChevronUp as c, ExternalLink as l, PackageCheck as u, RefreshCw as d, X as f } from "lucide-react";
5
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
6
+ import { useNavigate as h } from "react-router-dom";
7
+ import { graphqlFetch as g } from "@burdenoff/fe-libs/shared/graphql";
8
8
  //#region src/pages/AdminSubmissionsQueuePage.tsx
9
- var g = "\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 publisher {\n id\n name\n email\n }\n }\n }\n }\n", _ = "\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 publisher {\n id\n name\n email\n }\n }\n }\n", v = "\n mutation ApproveProduct($id: ID!, $notes: String) {\n approveProduct(id: $id, notes: $notes) {\n id\n status\n publishedAt\n }\n }\n", y = "\n mutation RejectProduct($id: ID!, $reason: String!) {\n rejectProduct(id: $id, reason: $reason) {\n id\n status\n rejectedReason\n }\n }\n", b = [
9
+ var _ = "\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 publisher {\n id\n name\n email\n }\n }\n }\n }\n", v = "\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 publisher {\n id\n name\n email\n }\n }\n }\n", y = "\n mutation ApproveProduct($id: ID!, $notes: String) {\n approveProduct(id: $id, notes: $notes) {\n id\n status\n publishedAt\n }\n }\n", b = "\n mutation RejectProduct($id: ID!, $reason: String!) {\n rejectProduct(id: $id, reason: $reason) {\n id\n status\n rejectedReason\n }\n }\n", x = [
10
10
  {
11
11
  label: "Pending review",
12
12
  value: "PENDING_REVIEW"
@@ -23,272 +23,279 @@ var g = "\n query PendingReviewProducts($limit: Int, $offset: Int) {\n pendi
23
23
  label: "All",
24
24
  value: "ALL"
25
25
  }
26
- ], x = () => {
27
- let x = m(), { authToken: S, basePath: C } = e(), [w, T] = i([]), [E, D] = i(0), [O, k] = i(!1), [A, j] = i(null), [M, N] = i(null), [P, F] = i("PENDING_REVIEW"), [I, L] = i(null), [R, z] = i(""), [B, V] = i(null), H = n(async (e) => {
28
- k(!0), j(null);
26
+ ], S = () => {
27
+ let S = h(), { authToken: C, basePath: w } = e(), [T, E] = i([]), [D, O] = i(0), [k, A] = i(!1), [j, M] = i(null), [N, P] = i(null), [F, I] = i("PENDING_REVIEW"), [L, R] = i(null), [z, B] = i(""), [V, H] = i(null), U = n(async (e) => {
28
+ A(!0), M(null);
29
29
  try {
30
30
  if (e === "PENDING_REVIEW") {
31
- let e = await h({
31
+ let e = await g({
32
32
  gateway: "global",
33
- query: g,
33
+ query: _,
34
34
  variables: {
35
35
  limit: 100,
36
36
  offset: 0
37
37
  },
38
- authToken: S || void 0
38
+ authToken: C || void 0
39
39
  });
40
40
  if (e.errors?.length) throw Error(e.errors[0]?.message ?? "Failed to load pending products");
41
- T(e.data?.pendingReviewProducts.products ?? []), D(e.data?.pendingReviewProducts.totalCount ?? 0);
41
+ E(e.data?.pendingReviewProducts.products ?? []), O(e.data?.pendingReviewProducts.totalCount ?? 0);
42
42
  } else {
43
- let t = await h({
43
+ let t = await g({
44
44
  gateway: "global",
45
- query: _,
45
+ query: v,
46
46
  variables: {
47
47
  limit: 100,
48
48
  offset: 0,
49
49
  ...e !== "ALL" && { status: e }
50
50
  },
51
- authToken: S || void 0
51
+ authToken: C || void 0
52
52
  });
53
53
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Failed to load products");
54
54
  let n = t.data?.products ?? [];
55
- T(n), D(n.length);
55
+ E(n), O(n.length);
56
56
  }
57
57
  } catch (e) {
58
- j(e instanceof Error ? e.message : "Failed to load products");
58
+ M(e instanceof Error ? e.message : "Failed to load products");
59
59
  } finally {
60
- k(!1);
60
+ A(!1);
61
61
  }
62
- }, [S]);
62
+ }, [C]);
63
63
  r(() => {
64
- H(P);
65
- }, [H, P]);
66
- let U = async (e) => {
67
- N(e), j(null);
64
+ U(F);
65
+ }, [U, F]);
66
+ let W = async (e) => {
67
+ P(e), M(null);
68
68
  try {
69
- let t = await h({
69
+ let t = await g({
70
70
  gateway: "global",
71
- query: v,
71
+ query: y,
72
72
  variables: {
73
73
  id: e,
74
74
  notes: null
75
75
  },
76
- authToken: S || void 0
76
+ authToken: C || void 0
77
77
  });
78
78
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Approval failed");
79
- await H(P);
79
+ await U(F);
80
80
  } catch (e) {
81
- j(e instanceof Error ? e.message : "Approval failed");
81
+ M(e instanceof Error ? e.message : "Approval failed");
82
82
  } finally {
83
- N(null);
83
+ P(null);
84
84
  }
85
- }, W = async (e) => {
86
- if (!R.trim()) {
87
- j("Rejection reason is required");
85
+ }, G = async (e) => {
86
+ if (!z.trim()) {
87
+ M("Rejection reason is required");
88
88
  return;
89
89
  }
90
- N(e), j(null);
90
+ P(e), M(null);
91
91
  try {
92
- let t = await h({
92
+ let t = await g({
93
93
  gateway: "global",
94
- query: y,
94
+ query: b,
95
95
  variables: {
96
96
  id: e,
97
- reason: R.trim()
97
+ reason: z.trim()
98
98
  },
99
- authToken: S || void 0
99
+ authToken: C || void 0
100
100
  });
101
101
  if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Rejection failed");
102
- L(null), z(""), await H(P);
102
+ R(null), B(""), await U(F);
103
103
  } catch (e) {
104
- j(e instanceof Error ? e.message : "Rejection failed");
104
+ M(e instanceof Error ? e.message : "Rejection failed");
105
105
  } finally {
106
- N(null);
106
+ P(null);
107
107
  }
108
108
  };
109
- return /* @__PURE__ */ p("div", {
109
+ return /* @__PURE__ */ m("div", {
110
110
  className: "min-h-screen bg-surface-default",
111
- children: [/* @__PURE__ */ f("header", {
112
- className: "border-b border-border-seam bg-surface-raised",
113
- children: /* @__PURE__ */ p("div", {
111
+ children: [/* @__PURE__ */ p("header", {
112
+ className: "border-b border-border-default bg-surface-raised",
113
+ children: /* @__PURE__ */ m("div", {
114
114
  className: "mx-auto max-w-7xl px-6 py-4",
115
- children: [/* @__PURE__ */ p("div", {
115
+ children: [/* @__PURE__ */ m("div", {
116
116
  className: "flex items-center justify-between",
117
- children: [/* @__PURE__ */ p("div", {
117
+ children: [/* @__PURE__ */ m("div", {
118
118
  className: "flex items-center gap-3",
119
- children: [/* @__PURE__ */ p("button", {
119
+ children: [/* @__PURE__ */ m("button", {
120
120
  type: "button",
121
- onClick: () => x(`${C}/dashboard`),
121
+ onClick: () => S(`${w}/dashboard`),
122
122
  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",
123
- children: [/* @__PURE__ */ f(a, { className: "size-4" }), "Back"]
124
- }), /* @__PURE__ */ p("div", {
123
+ children: [/* @__PURE__ */ p(a, { className: "size-4" }), "Back"]
124
+ }), /* @__PURE__ */ m("div", {
125
125
  className: "flex items-center gap-2",
126
126
  children: [
127
- /* @__PURE__ */ f(l, { className: "size-5 text-text-primary" }),
128
- /* @__PURE__ */ f("h1", {
127
+ /* @__PURE__ */ p(u, { className: "size-5 text-text-primary" }),
128
+ /* @__PURE__ */ p("h1", {
129
129
  className: "text-xl font-semibold text-text-primary",
130
130
  children: "Submission queue"
131
131
  }),
132
- /* @__PURE__ */ f("span", {
132
+ /* @__PURE__ */ p("span", {
133
133
  className: "rounded-full bg-surface-accent-muted px-2 py-0.5 text-xs font-medium text-text-accent",
134
- children: E
134
+ children: D
135
135
  })
136
136
  ]
137
137
  })]
138
- }), /* @__PURE__ */ p("button", {
138
+ }), /* @__PURE__ */ m("button", {
139
139
  type: "button",
140
- onClick: () => void H(P),
140
+ onClick: () => void U(F),
141
141
  className: "inline-flex items-center gap-2 rounded-md border border-border-default bg-surface-default px-3 py-1.5 text-sm text-text-primary hover:bg-surface-hover",
142
- disabled: O,
143
- children: [/* @__PURE__ */ f(u, { className: `size-4 ${O ? "animate-spin" : ""}` }), "Refresh"]
142
+ disabled: k,
143
+ children: [/* @__PURE__ */ p(d, { className: `size-4 ${k ? "animate-spin" : ""}` }), "Refresh"]
144
144
  })]
145
- }), /* @__PURE__ */ f("div", {
145
+ }), /* @__PURE__ */ p("div", {
146
146
  className: "mt-4 flex gap-2",
147
- children: b.map((e) => /* @__PURE__ */ f("button", {
147
+ children: x.map((e) => /* @__PURE__ */ p("button", {
148
148
  type: "button",
149
- onClick: () => F(e.value),
150
- className: `rounded-full px-3 py-1 text-xs font-medium transition-colors ${P === e.value ? "bg-surface-accent text-text-on-accent" : "bg-surface-muted text-text-secondary hover:bg-surface-hover"}`,
149
+ onClick: () => I(e.value),
150
+ className: `rounded-full px-3 py-1 text-xs font-medium transition-colors ${F === e.value ? "bg-surface-accent text-text-on-accent" : "bg-surface-muted text-text-secondary hover:bg-surface-hover"}`,
151
151
  children: e.label
152
152
  }, e.value))
153
153
  })]
154
154
  })
155
- }), /* @__PURE__ */ p("main", {
155
+ }), /* @__PURE__ */ m("main", {
156
156
  className: "mx-auto max-w-7xl p-6",
157
- children: [A && /* @__PURE__ */ f("div", {
157
+ children: [j && /* @__PURE__ */ p("div", {
158
158
  role: "alert",
159
159
  className: "mb-4 rounded-md border border-border-danger bg-surface-danger-muted px-4 py-3 text-sm text-text-danger",
160
- children: A
161
- }), O && w.length === 0 ? /* @__PURE__ */ f("output", {
160
+ children: j
161
+ }), k && T.length === 0 ? /* @__PURE__ */ p("output", {
162
162
  className: "block py-16 text-center text-text-secondary",
163
163
  children: "Loading submissions…"
164
- }) : w.length === 0 ? /* @__PURE__ */ f("div", {
164
+ }) : T.length === 0 ? /* @__PURE__ */ p("div", {
165
165
  className: "py-16 text-center text-text-secondary",
166
166
  children: "No products matching the current filter."
167
- }) : /* @__PURE__ */ f("ul", {
167
+ }) : /* @__PURE__ */ p("ul", {
168
168
  className: "space-y-3",
169
- children: w.map((e) => /* @__PURE__ */ p("li", {
170
- className: "overflow-hidden rounded-lg border border-border-seam bg-surface-raised transition-[box-shadow,border-color] hover:border-border-strong hover:shadow-[var(--shadow-pop)]",
169
+ children: T.map((e) => /* @__PURE__ */ m("li", {
170
+ className: "overflow-hidden rounded-lg border border-border-default bg-surface-raised",
171
171
  children: [
172
- /* @__PURE__ */ p("div", {
172
+ /* @__PURE__ */ m("div", {
173
173
  className: "flex items-start gap-4 p-4",
174
174
  children: [
175
- e.icon ? /* @__PURE__ */ f("img", {
175
+ e.icon ? /* @__PURE__ */ p("img", {
176
176
  src: e.icon,
177
177
  alt: "",
178
178
  className: "size-14 flex-shrink-0 rounded-md object-cover"
179
- }) : /* @__PURE__ */ f("div", {
179
+ }) : /* @__PURE__ */ p("div", {
180
180
  className: "flex size-14 flex-shrink-0 items-center justify-center rounded-md bg-surface-muted text-xs text-text-secondary",
181
181
  children: e.type
182
182
  }),
183
- /* @__PURE__ */ p("div", {
183
+ /* @__PURE__ */ m("div", {
184
184
  className: "min-w-0 flex-1",
185
185
  children: [
186
- /* @__PURE__ */ p("div", {
186
+ /* @__PURE__ */ m("div", {
187
187
  className: "flex items-center gap-2",
188
188
  children: [
189
- /* @__PURE__ */ f("h3", {
189
+ /* @__PURE__ */ p("h3", {
190
190
  className: "truncate text-base font-semibold text-text-primary",
191
191
  children: e.name
192
192
  }),
193
- /* @__PURE__ */ f("span", {
193
+ /* @__PURE__ */ p("span", {
194
194
  className: "rounded-full bg-surface-accent-muted px-2 py-0.5 text-xs font-medium text-text-accent",
195
195
  children: e.type
196
196
  }),
197
- /* @__PURE__ */ f("span", {
197
+ /* @__PURE__ */ p("span", {
198
198
  className: "rounded-full bg-surface-muted px-2 py-0.5 text-xs font-medium text-text-secondary",
199
199
  children: e.nature
200
200
  })
201
201
  ]
202
202
  }),
203
- /* @__PURE__ */ f("div", {
203
+ /* @__PURE__ */ p("div", {
204
204
  className: "mt-0.5 text-xs text-text-tertiary",
205
205
  children: e.slug
206
206
  }),
207
- /* @__PURE__ */ p("div", {
207
+ /* @__PURE__ */ m("div", {
208
208
  className: "mt-1 flex items-center gap-3 text-xs text-text-secondary",
209
209
  children: [
210
- /* @__PURE__ */ p("span", { children: ["Publisher: ", e.publisher?.name ?? "Unknown"] }),
211
- /* @__PURE__ */ p("span", { children: ["Price: ", t(e.price, e.currency, e.pricingModel)] }),
212
- e.submittedAt && /* @__PURE__ */ p("span", { children: ["Submitted ", new Date(e.submittedAt).toLocaleString()] })
210
+ /* @__PURE__ */ m("span", { children: ["Publisher: ", e.publisher?.name ?? "Unknown"] }),
211
+ /* @__PURE__ */ m("span", { children: ["Price: ", t(e.price, e.currency, e.pricingModel)] }),
212
+ e.submittedAt && /* @__PURE__ */ m("span", { children: ["Submitted ", new Date(e.submittedAt).toLocaleString()] })
213
213
  ]
214
214
  }),
215
- e.description && /* @__PURE__ */ f("p", {
215
+ e.description && /* @__PURE__ */ p("p", {
216
216
  className: "mt-2 line-clamp-2 text-sm text-text-secondary",
217
217
  children: e.description
218
218
  })
219
219
  ]
220
220
  }),
221
- /* @__PURE__ */ p("div", {
221
+ /* @__PURE__ */ m("div", {
222
222
  className: "flex flex-shrink-0 flex-col gap-2",
223
223
  children: [
224
- /* @__PURE__ */ p("button", {
224
+ e.productId && /* @__PURE__ */ m("a", {
225
+ href: `/devportal/apps/${e.productId}`,
226
+ target: "_blank",
227
+ rel: "noreferrer",
228
+ className: "inline-flex items-center gap-1 rounded-md border border-border-default px-3 py-1.5 text-xs text-text-secondary hover:bg-surface-hover",
229
+ children: [/* @__PURE__ */ p(l, { className: "size-3.5" }), "View app"]
230
+ }),
231
+ /* @__PURE__ */ m("button", {
225
232
  type: "button",
226
- onClick: () => V(B === e.id ? null : e.id),
233
+ onClick: () => H(V === e.id ? null : e.id),
227
234
  className: "inline-flex items-center gap-1 rounded-md border border-border-default px-3 py-1.5 text-xs text-text-secondary hover:bg-surface-hover",
228
- children: [B === e.id ? /* @__PURE__ */ f(c, { className: "size-3.5" }) : /* @__PURE__ */ f(s, { className: "size-3.5" }), "Details"]
235
+ children: [V === e.id ? /* @__PURE__ */ p(c, { className: "size-3.5" }) : /* @__PURE__ */ p(s, { className: "size-3.5" }), "Details"]
229
236
  }),
230
- /* @__PURE__ */ p("button", {
237
+ /* @__PURE__ */ m("button", {
231
238
  type: "button",
232
- onClick: () => void U(e.id),
233
- disabled: M === e.id,
239
+ onClick: () => void W(e.id),
240
+ disabled: N === e.id,
234
241
  className: "inline-flex items-center gap-1 rounded-md bg-surface-success px-3 py-1.5 text-xs font-medium text-text-on-success hover:bg-surface-success-hover disabled:opacity-60",
235
- children: [/* @__PURE__ */ f(o, { className: "size-3.5" }), "Approve"]
242
+ children: [/* @__PURE__ */ p(o, { className: "size-3.5" }), "Approve"]
236
243
  }),
237
- /* @__PURE__ */ p("button", {
244
+ /* @__PURE__ */ m("button", {
238
245
  type: "button",
239
246
  onClick: () => {
240
- L(e.id), z("");
247
+ R(e.id), B("");
241
248
  },
242
- disabled: M === e.id,
249
+ disabled: N === e.id,
243
250
  className: "inline-flex items-center gap-1 rounded-md border border-border-danger bg-surface-danger-muted px-3 py-1.5 text-xs font-medium text-text-danger hover:bg-surface-danger hover:text-text-on-danger disabled:opacity-60",
244
- children: [/* @__PURE__ */ f(d, { className: "size-3.5" }), "Reject"]
251
+ children: [/* @__PURE__ */ p(f, { className: "size-3.5" }), "Reject"]
245
252
  })
246
253
  ]
247
254
  })
248
255
  ]
249
256
  }),
250
- B === e.id && /* @__PURE__ */ f("div", {
251
- className: "border-t border-border-seam bg-surface-muted p-4",
252
- children: /* @__PURE__ */ p("dl", {
257
+ V === e.id && /* @__PURE__ */ p("div", {
258
+ className: "border-t border-border-default bg-surface-muted p-4",
259
+ children: /* @__PURE__ */ m("dl", {
253
260
  className: "grid grid-cols-2 gap-x-6 gap-y-3 text-xs sm:grid-cols-3",
254
261
  children: [
255
- /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("dt", {
262
+ /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
256
263
  className: "font-medium text-text-secondary",
257
264
  children: "Slug"
258
- }), /* @__PURE__ */ f("dd", {
265
+ }), /* @__PURE__ */ p("dd", {
259
266
  className: "mt-0.5 font-mono text-text-primary",
260
267
  children: e.slug
261
268
  })] }),
262
- /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("dt", {
269
+ /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
263
270
  className: "font-medium text-text-secondary",
264
271
  children: "Type"
265
- }), /* @__PURE__ */ f("dd", {
272
+ }), /* @__PURE__ */ p("dd", {
266
273
  className: "mt-0.5 text-text-primary",
267
274
  children: e.type
268
275
  })] }),
269
- /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("dt", {
276
+ /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
270
277
  className: "font-medium text-text-secondary",
271
278
  children: "Nature"
272
- }), /* @__PURE__ */ f("dd", {
279
+ }), /* @__PURE__ */ p("dd", {
273
280
  className: "mt-0.5 text-text-primary",
274
281
  children: e.nature
275
282
  })] }),
276
- e.category && /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("dt", {
283
+ e.category && /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
277
284
  className: "font-medium text-text-secondary",
278
285
  children: "Category"
279
- }), /* @__PURE__ */ f("dd", {
286
+ }), /* @__PURE__ */ p("dd", {
280
287
  className: "mt-0.5 text-text-primary",
281
288
  children: e.category
282
289
  })] }),
283
- /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("dt", {
290
+ /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
284
291
  className: "font-medium text-text-secondary",
285
292
  children: "Pricing"
286
- }), /* @__PURE__ */ p("dd", {
293
+ }), /* @__PURE__ */ m("dd", {
287
294
  className: "mt-0.5 text-text-primary",
288
295
  children: [
289
296
  t(e.price, e.currency, e.pricingModel),
290
297
  " ",
291
- /* @__PURE__ */ p("span", {
298
+ /* @__PURE__ */ m("span", {
292
299
  className: "text-text-tertiary",
293
300
  children: [
294
301
  "(",
@@ -298,36 +305,43 @@ var g = "\n query PendingReviewProducts($limit: Int, $offset: Int) {\n pendi
298
305
  })
299
306
  ]
300
307
  })] }),
301
- /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("dt", {
308
+ /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
302
309
  className: "font-medium text-text-secondary",
303
310
  children: "Publisher"
304
- }), /* @__PURE__ */ p("dd", {
311
+ }), /* @__PURE__ */ m("dd", {
305
312
  className: "mt-0.5 text-text-primary",
306
- children: [e.publisher?.name ?? "—", e.publisher?.email && /* @__PURE__ */ f("span", {
313
+ children: [e.publisher?.name ?? "—", e.publisher?.email && /* @__PURE__ */ p("span", {
307
314
  className: "block text-text-tertiary",
308
315
  children: e.publisher.email
309
316
  })]
310
317
  })] }),
311
- e.submittedBy && /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("dt", {
318
+ e.productId && /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
319
+ className: "font-medium text-text-secondary",
320
+ children: "Devportal app ID"
321
+ }), /* @__PURE__ */ p("dd", {
322
+ className: "mt-0.5 font-mono text-text-primary",
323
+ children: e.productId
324
+ })] }),
325
+ e.submittedBy && /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
312
326
  className: "font-medium text-text-secondary",
313
327
  children: "Submitted by"
314
- }), /* @__PURE__ */ f("dd", {
328
+ }), /* @__PURE__ */ p("dd", {
315
329
  className: "mt-0.5 font-mono text-text-primary",
316
330
  children: e.submittedBy
317
331
  })] }),
318
- e.submittedAt && /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("dt", {
332
+ e.submittedAt && /* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("dt", {
319
333
  className: "font-medium text-text-secondary",
320
334
  children: "Submitted at"
321
- }), /* @__PURE__ */ f("dd", {
335
+ }), /* @__PURE__ */ p("dd", {
322
336
  className: "mt-0.5 text-text-primary",
323
337
  children: new Date(e.submittedAt).toLocaleString()
324
338
  })] }),
325
- e.description && /* @__PURE__ */ p("div", {
339
+ e.description && /* @__PURE__ */ m("div", {
326
340
  className: "col-span-2 sm:col-span-3",
327
- children: [/* @__PURE__ */ f("dt", {
341
+ children: [/* @__PURE__ */ p("dt", {
328
342
  className: "font-medium text-text-secondary",
329
343
  children: "Description"
330
- }), /* @__PURE__ */ f("dd", {
344
+ }), /* @__PURE__ */ p("dd", {
331
345
  className: "mt-0.5 whitespace-pre-wrap text-text-primary",
332
346
  children: e.description
333
347
  })]
@@ -335,38 +349,38 @@ var g = "\n query PendingReviewProducts($limit: Int, $offset: Int) {\n pendi
335
349
  ]
336
350
  })
337
351
  }),
338
- I === e.id && /* @__PURE__ */ p("div", {
339
- className: "border-t border-border-seam bg-surface-muted px-4 py-3",
352
+ L === e.id && /* @__PURE__ */ m("div", {
353
+ className: "border-t border-border-default bg-surface-muted px-4 py-3",
340
354
  children: [
341
- /* @__PURE__ */ f("label", {
355
+ /* @__PURE__ */ p("label", {
342
356
  htmlFor: `reject-reason-${e.id}`,
343
357
  className: "block text-xs font-medium text-text-secondary",
344
358
  children: "Rejection reason (required)"
345
359
  }),
346
- /* @__PURE__ */ f("textarea", {
360
+ /* @__PURE__ */ p("textarea", {
347
361
  id: `reject-reason-${e.id}`,
348
362
  "aria-label": "Rejection reason",
349
- value: R,
350
- onChange: (e) => z(e.target.value),
363
+ value: z,
364
+ onChange: (e) => B(e.target.value),
351
365
  rows: 3,
352
366
  required: !0,
353
367
  "aria-required": "true",
354
- className: "mt-1 w-full rounded-md border border-border-default bg-surface-default px-3 py-2 text-sm text-text-primary focus:border-border-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]",
368
+ className: "mt-1 w-full rounded-md border border-border-default bg-surface-default px-3 py-2 text-sm text-text-primary focus:border-border-accent focus:outline-none",
355
369
  placeholder: "Explain why this submission is being rejected…"
356
370
  }),
357
- /* @__PURE__ */ p("div", {
371
+ /* @__PURE__ */ m("div", {
358
372
  className: "mt-2 flex justify-end gap-2",
359
- children: [/* @__PURE__ */ f("button", {
373
+ children: [/* @__PURE__ */ p("button", {
360
374
  type: "button",
361
375
  onClick: () => {
362
- L(null), z("");
376
+ R(null), B("");
363
377
  },
364
378
  className: "rounded-md border border-border-default bg-surface-default px-3 py-1 text-xs text-text-primary hover:bg-surface-hover",
365
379
  children: "Cancel"
366
- }), /* @__PURE__ */ f("button", {
380
+ }), /* @__PURE__ */ p("button", {
367
381
  type: "button",
368
- onClick: () => void W(e.id),
369
- disabled: !R.trim() || M === e.id,
382
+ onClick: () => void G(e.id),
383
+ disabled: !z.trim() || N === e.id,
370
384
  className: "rounded-md bg-surface-danger px-3 py-1 text-xs font-medium text-text-on-danger hover:bg-surface-danger-hover disabled:opacity-60",
371
385
  children: "Submit rejection"
372
386
  })]
@@ -380,6 +394,6 @@ var g = "\n query PendingReviewProducts($limit: Int, $offset: Int) {\n pendi
380
394
  });
381
395
  };
382
396
  //#endregion
383
- export { x as AdminSubmissionsQueuePage };
397
+ export { S as AdminSubmissionsQueuePage };
384
398
 
385
399
  //# sourceMappingURL=AdminSubmissionsQueuePage.js.map