@burdenoff/microfe-store 2026.624.6 → 2026.625.1

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