@burdenoff/microfe-store 2026.625.4 → 2026.626.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.
- package/dist/StoreRoutes.js +3 -3
- package/dist/StoreRoutes.js.map +1 -1
- package/dist/components/AccessDenied.js +3 -3
- package/dist/components/AccessDenied.js.map +1 -1
- package/dist/components/InstallAppModal.js +107 -120
- package/dist/components/InstallAppModal.js.map +1 -1
- package/dist/components/cart/CartDrawer.js +10 -10
- package/dist/components/cart/CartDrawer.js.map +1 -1
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/errors/CombinedGraphQLErrors.js +1 -1
- package/dist/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/errors/utils.js +1 -1
- package/dist/node_modules/@apollo/client/errors/utils.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/link/core/ApolloLink.js +2 -2
- package/dist/node_modules/@apollo/client/link/core/ApolloLink.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/link/subscriptions/index.js +2 -2
- package/dist/node_modules/@apollo/client/link/subscriptions/index.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/link/utils/createOperation.js +1 -1
- package/dist/node_modules/@apollo/client/link/utils/createOperation.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/caching/sizes.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/graphql/print.js +1 -1
- package/dist/node_modules/@apollo/client/utilities/graphql/print.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/caches.js +2 -2
- package/dist/node_modules/@apollo/client/utilities/internal/caches.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/checkDocument.js +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/getMainDefinition.js +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +9 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/getOperationDefinition.js +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js +8 -0
- package/dist/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/globals/global.js +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +10 -0
- package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -0
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +8 -0
- package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/makeUniqueId.js +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/memoize.js +2 -2
- package/dist/node_modules/@apollo/client/utilities/internal/memoize.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/internal/stringifyForDisplay.js +1 -1
- package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -0
- package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/invariant/index.js +1 -1
- package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -0
- package/dist/node_modules/@apollo/client/version.js +6 -0
- package/dist/node_modules/@apollo/client/version.js.map +1 -0
- package/dist/node_modules/{.bun/@wry_caches@1.0.1/node_modules/@wry → @wry}/caches/lib/weak.js +1 -1
- package/dist/node_modules/@wry/caches/lib/weak.js.map +1 -0
- package/dist/node_modules/{.bun/@wry_trie@0.5.0/node_modules/@wry → @wry}/trie/lib/index.js +1 -1
- package/dist/node_modules/@wry/trie/lib/index.js.map +1 -0
- package/dist/node_modules/{.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws → graphql-ws}/dist/client.js +1 -1
- package/dist/node_modules/graphql-ws/dist/client.js.map +1 -0
- package/dist/node_modules/{.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws → graphql-ws}/dist/common-CGW11Fyb.js +1 -1
- package/dist/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/NotificationFactories.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/Observable.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/Subscriber.js +2 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/Subscription.js +2 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/config.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/observable/empty.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/scheduler/timeoutProvider.js +2 -2
- package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/symbol/observable.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/UnsubscriptionError.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +11 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/createErrorClass.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/errorContext.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +8 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +6 -0
- package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/pipe.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +1 -0
- package/dist/node_modules/{.bun/rxjs@7.8.2/node_modules/rxjs → rxjs}/dist/esm5/internal/util/reportUnhandledError.js +1 -1
- package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -0
- package/dist/node_modules/{.bun/tslib@2.8.1 → rxjs}/node_modules/tslib/tslib.es6.js +1 -1
- package/dist/node_modules/rxjs/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/pages/AdminDashboardPage.js +118 -91
- package/dist/pages/AdminDashboardPage.js.map +1 -1
- package/dist/pages/AdminReviewModerationPage.js +67 -61
- package/dist/pages/AdminReviewModerationPage.js.map +1 -1
- package/dist/pages/AdminStoresPage.js +424 -371
- package/dist/pages/AdminStoresPage.js.map +1 -1
- package/dist/pages/AdminSubmissionsQueuePage.js +303 -286
- package/dist/pages/AdminSubmissionsQueuePage.js.map +1 -1
- package/dist/pages/AppDetailPage.js +172 -135
- package/dist/pages/AppDetailPage.js.map +1 -1
- package/dist/pages/AppSettingsPage.js +83 -300
- package/dist/pages/AppSettingsPage.js.map +1 -1
- package/dist/pages/CartPage.js +71 -79
- package/dist/pages/CartPage.js.map +1 -1
- package/dist/pages/InstalledAppsPage.js +82 -119
- package/dist/pages/InstalledAppsPage.js.map +1 -1
- package/dist/pages/MarketplaceHomePage.js +196 -205
- package/dist/pages/MarketplaceHomePage.js.map +1 -1
- package/dist/pages/MyLicensesPage.js +70 -75
- package/dist/pages/MyLicensesPage.js.map +1 -1
- package/dist/pages/OrderConfirmationPage.js +70 -37
- package/dist/pages/OrderConfirmationPage.js.map +1 -1
- package/dist/pages/OrdersPage.js +60 -68
- package/dist/pages/OrdersPage.js.map +1 -1
- package/dist/pages/ProductDetailPage.js +807 -764
- package/dist/pages/ProductDetailPage.js.map +1 -1
- package/dist/pages/ProductReviewsPage.js +24 -19
- package/dist/pages/ProductReviewsPage.js.map +1 -1
- package/dist/pages/PublisherDashboardPage.js +134 -99
- package/dist/pages/PublisherDashboardPage.js.map +1 -1
- package/dist/pages/PublisherRevenuePage.js +65 -63
- package/dist/pages/PublisherRevenuePage.js.map +1 -1
- package/dist/pages/PublisherSubmissionsPage.js +120 -111
- package/dist/pages/PublisherSubmissionsPage.js.map +1 -1
- package/dist/pages/PublisherSubmitPage.js +197 -184
- package/dist/pages/PublisherSubmitPage.js.map +1 -1
- package/dist/providers/StoreProvider.js +3 -3
- package/package.json +2 -2
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/CombinedGraphQLErrors.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/errors/utils.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/core/ApolloLink.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/subscriptions/index.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/link/utils/createOperation.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/caching/sizes.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/graphql/print.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/caches.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/checkDocument.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMainDefinition.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js +0 -9
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getMemoryInternals.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationDefinition.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js +0 -8
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/getOperationName.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/global.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js +0 -10
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +0 -8
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/memoize.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/utilities/invariant/index.js.map +0 -1
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js +0 -6
- package/dist/node_modules/.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo/client/version.js.map +0 -1
- package/dist/node_modules/.bun/@wry_caches@1.0.1/node_modules/@wry/caches/lib/weak.js.map +0 -1
- package/dist/node_modules/.bun/@wry_trie@0.5.0/node_modules/@wry/trie/lib/index.js.map +0 -1
- package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/client.js.map +0 -1
- package/dist/node_modules/.bun/graphql-ws@6.0.8_796ebe57c2b0ffe0/node_modules/graphql-ws/dist/common-CGW11Fyb.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Observable.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/config.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/observable/empty.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/symbol/observable.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +0 -11
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js +0 -8
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/identity.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +0 -8
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js +0 -6
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/pipe.js.map +0 -1
- package/dist/node_modules/.bun/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +0 -1
- package/dist/node_modules/.bun/tslib@2.8.1/node_modules/tslib/tslib.es6.js.map +0 -1
- /package/dist/node_modules/{.bun/@apollo_client@4.1.9_e571b0b00fd00a97/node_modules/@apollo → @apollo}/client/utilities/caching/sizes.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tslib.es6.js","names":[],"sources":["../../../../../node_modules/rxjs/node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"x_google_ignoreList":[0],"mappings":";AAgBA,IAAI,IAAgB,SAAS,GAAG,GAAG;AAIjC,QAHA,IAAgB,OAAO,kBAClB,EAAE,WAAW,EAAE,EAAE,YAAY,SAAS,SAAU,GAAG,GAAG;AAAE,IAAE,YAAY;MACvE,SAAU,GAAG,GAAG;AAAE,OAAK,IAAI,KAAK,EAAG,CAAI,OAAO,UAAU,eAAe,KAAK,GAAG,EAAE,KAAE,EAAE,KAAK,EAAE;IACzF,EAAc,GAAG,EAAE;;AAG5B,SAAgB,EAAU,GAAG,GAAG;AAC9B,KAAI,OAAO,KAAM,cAAc,MAAM,KACjC,OAAU,UAAU,yBAAyB,OAAO,EAAE,GAAG,gCAAgC;AAC7F,GAAc,GAAG,EAAE;CACnB,SAAS,IAAK;AAAE,OAAK,cAAc;;AACnC,GAAE,YAAY,MAAM,OAAO,OAAO,OAAO,EAAE,IAAI,EAAG,YAAY,EAAE,WAAW,IAAI,GAAI;;AA4IrF,SAAgB,EAAS,GAAG;CAC1B,IAAI,IAAI,OAAO,UAAW,cAAc,OAAO,UAAU,IAAI,KAAK,EAAE,IAAI,IAAI;AAC5E,KAAI,EAAG,QAAO,EAAE,KAAK,EAAE;AACvB,KAAI,KAAK,OAAO,EAAE,UAAW,SAAU,QAAO,EAC1C,MAAM,WAAY;AAEd,SADI,KAAK,KAAK,EAAE,WAAQ,IAAI,KAAK,IAC1B;GAAE,OAAO,KAAK,EAAE;GAAM,MAAM,CAAC;GAAG;IAE9C;AACD,OAAU,UAAU,IAAI,4BAA4B,kCAAkC;;AAGxF,SAAgB,EAAO,GAAG,GAAG;CAC3B,IAAI,IAAI,OAAO,UAAW,cAAc,EAAE,OAAO;AACjD,KAAI,CAAC,EAAG,QAAO;CACf,IAAI,IAAI,EAAE,KAAK,EAAE,EAAE,GAAG,IAAK,EAAE,EAAE;AAC/B,KAAI;AACA,UAAQ,MAAM,KAAK,KAAK,MAAM,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK,EAAE,MAAM;UAEvE,GAAO;AAAE,MAAI,EAAS,UAAO;WAC5B;AACJ,MAAI;AACA,GAAI,KAAK,CAAC,EAAE,SAAS,IAAI,EAAE,WAAY,EAAE,KAAK,EAAE;YAE5C;AAAE,OAAI,EAAG,OAAM,EAAE;;;AAE7B,QAAO;;AAmBT,SAAgB,EAAc,GAAI,GAAM,GAAM;AAC5C,KAAI,KAAQ,UAAU,WAAW,QAAQ,IAAI,IAAI,GAAG,IAAI,EAAK,QAAQ,GAAI,IAAI,GAAG,IAC5E,EAAI,KAAM,EAAE,KAAK,QACb,AAAS,MAAK,MAAM,UAAU,MAAM,KAAK,GAAM,GAAG,EAAE,EACpD,EAAG,KAAK,EAAK;AAGrB,QAAO,EAAG,OAAO,KAAM,MAAM,UAAU,MAAM,KAAK,EAAK,CAAC"}
|
|
@@ -5,9 +5,10 @@ import { Check as a, CheckCircle as o, ChevronDown as s, ChevronUp as c, Externa
|
|
|
5
5
|
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
6
6
|
import { useNavigate as b } from "react-router-dom";
|
|
7
7
|
import { graphqlFetch as x } from "@burdenoff/fe-libs/shared/graphql";
|
|
8
|
+
import { EmphasisPanel as S, GlassCard as C, IllustratedEmptyState as w, NextSteps as T, PagePurpose as E } from "@burdenoff/fe-libs/ui";
|
|
8
9
|
//#region src/pages/AdminDashboardPage.tsx
|
|
9
|
-
var
|
|
10
|
-
let
|
|
10
|
+
var D = "\n query AdminDashboardData {\n recentPending: pendingReviewProducts(limit: 5) {\n totalCount\n products {\n id\n slug\n name\n type\n nature\n category\n icon\n price\n currency\n pricingModel\n description\n submittedAt\n submittedBy\n publisher {\n name\n email\n }\n }\n }\n stores {\n id\n }\n recentPublished: products(filter: { status: PUBLISHED }, limit: 5) {\n id\n slug\n name\n icon\n status\n publishedAt\n reviewedBy\n }\n recentRejected: products(filter: { status: REJECTED }, limit: 5) {\n id\n slug\n name\n icon\n status\n reviewedAt\n rejectedReason\n }\n }\n", O = "\n mutation ApproveProduct($id: ID!) {\n approveProduct(id: $id) {\n id\n status\n }\n }\n", k = "\n mutation RejectProduct($id: ID!, $reason: String!) {\n rejectProduct(id: $id, reason: $reason) {\n id\n status\n }\n }\n", A = () => {
|
|
11
|
+
let A = b(), { authToken: j, basePath: M } = e(), [N, P] = i({
|
|
11
12
|
pendingCount: 0,
|
|
12
13
|
totalStores: 0,
|
|
13
14
|
recentPending: [],
|
|
@@ -15,8 +16,8 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
15
16
|
recentRejected: [],
|
|
16
17
|
loading: !0,
|
|
17
18
|
error: null
|
|
18
|
-
}), [
|
|
19
|
-
|
|
19
|
+
}), [F, I] = i(null), [L, R] = i(null), [z, B] = i(""), [V, H] = i(null), [U, W] = i(null), G = n(async () => {
|
|
20
|
+
P((e) => ({
|
|
20
21
|
...e,
|
|
21
22
|
loading: !0,
|
|
22
23
|
error: null
|
|
@@ -24,11 +25,11 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
24
25
|
try {
|
|
25
26
|
let e = await x({
|
|
26
27
|
gateway: "global",
|
|
27
|
-
query:
|
|
28
|
-
authToken:
|
|
28
|
+
query: D,
|
|
29
|
+
authToken: j || void 0
|
|
29
30
|
});
|
|
30
31
|
if (e.errors?.length) throw Error(e.errors[0]?.message ?? "Failed to load dashboard");
|
|
31
|
-
|
|
32
|
+
P({
|
|
32
33
|
pendingCount: e.data?.recentPending.totalCount ?? 0,
|
|
33
34
|
totalStores: e.data?.stores.length ?? 0,
|
|
34
35
|
recentPending: e.data?.recentPending.products ?? [],
|
|
@@ -38,87 +39,87 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
38
39
|
error: null
|
|
39
40
|
});
|
|
40
41
|
} catch (e) {
|
|
41
|
-
|
|
42
|
+
P((t) => ({
|
|
42
43
|
...t,
|
|
43
44
|
loading: !1,
|
|
44
45
|
error: e instanceof Error ? e.message : "Failed to load dashboard"
|
|
45
46
|
}));
|
|
46
47
|
}
|
|
47
|
-
}, [
|
|
48
|
+
}, [j]);
|
|
48
49
|
r(() => {
|
|
49
|
-
|
|
50
|
-
}, [
|
|
51
|
-
let
|
|
52
|
-
|
|
50
|
+
G();
|
|
51
|
+
}, [G]);
|
|
52
|
+
let K = async (e) => {
|
|
53
|
+
I(e), H(null);
|
|
53
54
|
try {
|
|
54
55
|
let t = await x({
|
|
55
56
|
gateway: "global",
|
|
56
|
-
query:
|
|
57
|
+
query: O,
|
|
57
58
|
variables: { id: e },
|
|
58
|
-
authToken:
|
|
59
|
+
authToken: j || void 0
|
|
59
60
|
});
|
|
60
61
|
if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Approval failed");
|
|
61
|
-
await
|
|
62
|
+
await G();
|
|
62
63
|
} catch (e) {
|
|
63
|
-
|
|
64
|
+
H(e instanceof Error ? e.message : "Approval failed");
|
|
64
65
|
} finally {
|
|
65
|
-
|
|
66
|
+
I(null);
|
|
66
67
|
}
|
|
67
|
-
},
|
|
68
|
-
if (
|
|
69
|
-
|
|
68
|
+
}, q = async (e) => {
|
|
69
|
+
if (z.trim()) {
|
|
70
|
+
I(e), H(null);
|
|
70
71
|
try {
|
|
71
72
|
let t = await x({
|
|
72
73
|
gateway: "global",
|
|
73
|
-
query:
|
|
74
|
+
query: k,
|
|
74
75
|
variables: {
|
|
75
76
|
id: e,
|
|
76
|
-
reason:
|
|
77
|
+
reason: z.trim()
|
|
77
78
|
},
|
|
78
|
-
authToken:
|
|
79
|
+
authToken: j || void 0
|
|
79
80
|
});
|
|
80
81
|
if (t.errors?.length) throw Error(t.errors[0]?.message ?? "Rejection failed");
|
|
81
|
-
|
|
82
|
+
R(null), B(""), await G();
|
|
82
83
|
} catch (e) {
|
|
83
|
-
|
|
84
|
+
H(e instanceof Error ? e.message : "Rejection failed");
|
|
84
85
|
} finally {
|
|
85
|
-
|
|
86
|
+
I(null);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
|
-
},
|
|
89
|
+
}, J = (e) => e ? new Date(e).toLocaleDateString(void 0, {
|
|
89
90
|
month: "short",
|
|
90
91
|
day: "numeric",
|
|
91
92
|
year: "numeric"
|
|
92
|
-
}) : "—",
|
|
93
|
+
}) : "—", Y = [
|
|
93
94
|
{
|
|
94
95
|
label: "Pending submissions",
|
|
95
|
-
value:
|
|
96
|
+
value: N.pendingCount,
|
|
96
97
|
icon: f,
|
|
97
|
-
href: `${
|
|
98
|
+
href: `${M}/submissions`
|
|
98
99
|
},
|
|
99
100
|
{
|
|
100
101
|
label: "Stores in registry",
|
|
101
|
-
value:
|
|
102
|
+
value: N.totalStores,
|
|
102
103
|
icon: m,
|
|
103
|
-
href: `${
|
|
104
|
+
href: `${M}/stores`
|
|
104
105
|
},
|
|
105
106
|
{
|
|
106
107
|
label: "Review queue",
|
|
107
108
|
value: "—",
|
|
108
109
|
icon: d,
|
|
109
|
-
href: `${
|
|
110
|
+
href: `${M}/reviews`
|
|
110
111
|
},
|
|
111
112
|
{
|
|
112
113
|
label: "Publishers",
|
|
113
114
|
value: "—",
|
|
114
115
|
icon: h,
|
|
115
|
-
href: `${
|
|
116
|
+
href: `${M}/dashboard`
|
|
116
117
|
}
|
|
117
118
|
];
|
|
118
119
|
return /* @__PURE__ */ y("div", {
|
|
119
120
|
className: "min-h-screen bg-surface-default",
|
|
120
121
|
children: [/* @__PURE__ */ v("header", {
|
|
121
|
-
className: "border-b border-border-
|
|
122
|
+
className: "border-b border-border-seam bg-surface-raised",
|
|
122
123
|
children: /* @__PURE__ */ y("div", {
|
|
123
124
|
className: "mx-auto max-w-7xl px-6 py-4",
|
|
124
125
|
children: [/* @__PURE__ */ y("div", {
|
|
@@ -131,10 +132,10 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
131
132
|
})]
|
|
132
133
|
}), /* @__PURE__ */ y("button", {
|
|
133
134
|
type: "button",
|
|
134
|
-
onClick: () => void
|
|
135
|
-
disabled:
|
|
135
|
+
onClick: () => void G(),
|
|
136
|
+
disabled: N.loading,
|
|
136
137
|
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 disabled:opacity-60",
|
|
137
|
-
children: [/* @__PURE__ */ v(p, { className: `size-4 ${
|
|
138
|
+
children: [/* @__PURE__ */ v(p, { className: `size-4 ${N.loading ? "animate-spin" : ""}` }), "Refresh"]
|
|
138
139
|
})]
|
|
139
140
|
}), /* @__PURE__ */ v("p", {
|
|
140
141
|
className: "mt-1 text-sm text-text-secondary",
|
|
@@ -144,19 +145,44 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
144
145
|
}), /* @__PURE__ */ y("main", {
|
|
145
146
|
className: "mx-auto max-w-7xl space-y-6 p-6",
|
|
146
147
|
children: [
|
|
147
|
-
|
|
148
|
+
/* @__PURE__ */ v(E, { children: "Your control room for the marketplace. At a glance, see how many products are waiting for review, how many stores are live, and what was recently approved or rejected — then act on the most urgent items (pending submissions) without leaving this page. Use the tiles to jump into the full queue, store registry, or review moderation." }),
|
|
149
|
+
/* @__PURE__ */ v(T, {
|
|
150
|
+
storageKey: "store-admin-dashboard",
|
|
151
|
+
steps: [
|
|
152
|
+
{
|
|
153
|
+
id: "clear-pending",
|
|
154
|
+
label: "Clear the pending queue",
|
|
155
|
+
description: "Approve or reject submissions right below, or open the full queue.",
|
|
156
|
+
onClick: () => A(`${M}/submissions`),
|
|
157
|
+
done: !N.loading && N.pendingCount === 0
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
id: "check-stores",
|
|
161
|
+
label: "Review your stores",
|
|
162
|
+
description: "Make sure each store has the right visibility and approval policy.",
|
|
163
|
+
onClick: () => A(`${M}/stores`)
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
id: "moderate-reviews",
|
|
167
|
+
label: "Moderate customer reviews",
|
|
168
|
+
description: "Remove reviews that break the content guidelines.",
|
|
169
|
+
onClick: () => A(`${M}/reviews`)
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}),
|
|
173
|
+
N.error && /* @__PURE__ */ v("div", {
|
|
148
174
|
role: "alert",
|
|
149
175
|
className: "rounded-md border border-border-danger bg-surface-danger-muted px-4 py-3 text-sm text-text-danger",
|
|
150
|
-
children:
|
|
176
|
+
children: N.error
|
|
151
177
|
}),
|
|
152
178
|
/* @__PURE__ */ v("div", {
|
|
153
179
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-4",
|
|
154
|
-
children:
|
|
180
|
+
children: Y.map((e) => {
|
|
155
181
|
let t = e.icon;
|
|
156
182
|
return /* @__PURE__ */ y("button", {
|
|
157
183
|
type: "button",
|
|
158
|
-
onClick: () =>
|
|
159
|
-
className: "rounded-
|
|
184
|
+
onClick: () => A(e.href),
|
|
185
|
+
className: "rounded-card border border-border-seam bg-bg-surface bg-accent-wash p-4 text-left shadow-elevation-1 transition-[box-shadow,border-color] hover:border-border-strong hover:shadow-elevation-2",
|
|
160
186
|
children: [/* @__PURE__ */ y("div", {
|
|
161
187
|
className: "flex items-center justify-between",
|
|
162
188
|
children: [/* @__PURE__ */ v("span", {
|
|
@@ -164,13 +190,13 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
164
190
|
children: e.label
|
|
165
191
|
}), /* @__PURE__ */ v(t, { className: "size-4 text-text-tertiary" })]
|
|
166
192
|
}), /* @__PURE__ */ v("div", {
|
|
167
|
-
className: "mt-2 text-3xl font-semibold text-text-primary",
|
|
168
|
-
children:
|
|
193
|
+
className: "mt-2 text-3xl font-semibold tabular-nums text-text-primary",
|
|
194
|
+
children: N.loading ? "…" : e.value
|
|
169
195
|
})]
|
|
170
196
|
}, e.label);
|
|
171
197
|
})
|
|
172
198
|
}),
|
|
173
|
-
/* @__PURE__ */ y(
|
|
199
|
+
/* @__PURE__ */ y(S, { children: [
|
|
174
200
|
/* @__PURE__ */ y("div", {
|
|
175
201
|
className: "mb-3 flex items-center justify-between",
|
|
176
202
|
children: [/* @__PURE__ */ v("h2", {
|
|
@@ -178,26 +204,27 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
178
204
|
children: "Recent Submissions"
|
|
179
205
|
}), /* @__PURE__ */ y("button", {
|
|
180
206
|
type: "button",
|
|
181
|
-
onClick: () =>
|
|
207
|
+
onClick: () => A(`${M}/submissions`),
|
|
182
208
|
className: "inline-flex items-center gap-1 text-xs text-text-accent hover:underline",
|
|
183
209
|
children: ["View all", /* @__PURE__ */ v(l, { className: "size-3" })]
|
|
184
210
|
})]
|
|
185
211
|
}),
|
|
186
|
-
|
|
212
|
+
V && /* @__PURE__ */ v("div", {
|
|
187
213
|
role: "alert",
|
|
188
214
|
className: "mb-3 rounded-md border border-border-danger bg-surface-danger-muted px-4 py-2 text-sm text-text-danger",
|
|
189
|
-
children:
|
|
215
|
+
children: V
|
|
190
216
|
}),
|
|
191
|
-
|
|
217
|
+
N.loading ? /* @__PURE__ */ v("div", {
|
|
192
218
|
className: "rounded-lg border border-border-default bg-surface-raised py-10 text-center text-sm text-text-secondary",
|
|
193
219
|
children: "Loading…"
|
|
194
|
-
}) :
|
|
195
|
-
|
|
196
|
-
|
|
220
|
+
}) : N.recentPending.length === 0 ? /* @__PURE__ */ v(w, {
|
|
221
|
+
illustration: "empty-notifications",
|
|
222
|
+
title: "All caught up",
|
|
223
|
+
description: "There are no submissions waiting for review. New products from publishers will surface here."
|
|
197
224
|
}) : /* @__PURE__ */ v("ul", {
|
|
198
225
|
className: "space-y-2",
|
|
199
|
-
children:
|
|
200
|
-
className: "overflow-hidden rounded-lg border border-border-
|
|
226
|
+
children: N.recentPending.map((e) => /* @__PURE__ */ y("li", {
|
|
227
|
+
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)]",
|
|
201
228
|
children: [
|
|
202
229
|
/* @__PURE__ */ y("div", {
|
|
203
230
|
className: "flex items-center gap-3 px-4 py-3",
|
|
@@ -224,7 +251,7 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
224
251
|
t(e.price, e.currency, e.pricingModel),
|
|
225
252
|
" ·",
|
|
226
253
|
" ",
|
|
227
|
-
|
|
254
|
+
J(e.submittedAt)
|
|
228
255
|
]
|
|
229
256
|
})]
|
|
230
257
|
}),
|
|
@@ -233,23 +260,23 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
233
260
|
children: [
|
|
234
261
|
/* @__PURE__ */ y("button", {
|
|
235
262
|
type: "button",
|
|
236
|
-
onClick: () =>
|
|
263
|
+
onClick: () => W(U === e.id ? null : e.id),
|
|
237
264
|
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",
|
|
238
|
-
children: [
|
|
265
|
+
children: [U === e.id ? /* @__PURE__ */ v(c, { className: "size-3.5" }) : /* @__PURE__ */ v(s, { className: "size-3.5" }), "Details"]
|
|
239
266
|
}),
|
|
240
267
|
/* @__PURE__ */ y("button", {
|
|
241
268
|
type: "button",
|
|
242
|
-
onClick: () => void
|
|
243
|
-
disabled:
|
|
269
|
+
onClick: () => void K(e.id),
|
|
270
|
+
disabled: F === e.id,
|
|
244
271
|
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",
|
|
245
272
|
children: [/* @__PURE__ */ v(a, { className: "size-3.5" }), "Approve"]
|
|
246
273
|
}),
|
|
247
274
|
/* @__PURE__ */ y("button", {
|
|
248
275
|
type: "button",
|
|
249
276
|
onClick: () => {
|
|
250
|
-
|
|
277
|
+
R(e.id), B(""), H(null);
|
|
251
278
|
},
|
|
252
|
-
disabled:
|
|
279
|
+
disabled: F === e.id,
|
|
253
280
|
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",
|
|
254
281
|
children: [/* @__PURE__ */ v(g, { className: "size-3.5" }), "Reject"]
|
|
255
282
|
})
|
|
@@ -257,8 +284,8 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
257
284
|
})
|
|
258
285
|
]
|
|
259
286
|
}),
|
|
260
|
-
|
|
261
|
-
className: "border-t border-border-
|
|
287
|
+
U === e.id && /* @__PURE__ */ v("div", {
|
|
288
|
+
className: "border-t border-border-seam bg-surface-muted p-4",
|
|
262
289
|
children: /* @__PURE__ */ y("dl", {
|
|
263
290
|
className: "grid grid-cols-2 gap-x-6 gap-y-3 text-xs sm:grid-cols-3",
|
|
264
291
|
children: [
|
|
@@ -330,7 +357,7 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
330
357
|
children: "Submitted at"
|
|
331
358
|
}), /* @__PURE__ */ v("dd", {
|
|
332
359
|
className: "mt-0.5 text-text-primary",
|
|
333
|
-
children:
|
|
360
|
+
children: J(e.submittedAt)
|
|
334
361
|
})] }),
|
|
335
362
|
e.description && /* @__PURE__ */ y("div", {
|
|
336
363
|
className: "col-span-2 sm:col-span-3",
|
|
@@ -345,8 +372,8 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
345
372
|
]
|
|
346
373
|
})
|
|
347
374
|
}),
|
|
348
|
-
|
|
349
|
-
className: "border-t border-border-
|
|
375
|
+
L === e.id && /* @__PURE__ */ y("div", {
|
|
376
|
+
className: "border-t border-border-seam bg-surface-muted px-4 py-3",
|
|
350
377
|
children: [
|
|
351
378
|
/* @__PURE__ */ v("label", {
|
|
352
379
|
htmlFor: `reject-reason-${e.id}`,
|
|
@@ -356,10 +383,10 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
356
383
|
/* @__PURE__ */ v("textarea", {
|
|
357
384
|
id: `reject-reason-${e.id}`,
|
|
358
385
|
"aria-label": "Rejection reason",
|
|
359
|
-
value:
|
|
360
|
-
onChange: (e) =>
|
|
386
|
+
value: z,
|
|
387
|
+
onChange: (e) => B(e.target.value),
|
|
361
388
|
rows: 2,
|
|
362
|
-
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",
|
|
389
|
+
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)]",
|
|
363
390
|
placeholder: "Explain why this submission is being rejected…"
|
|
364
391
|
}),
|
|
365
392
|
/* @__PURE__ */ y("div", {
|
|
@@ -367,14 +394,14 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
367
394
|
children: [/* @__PURE__ */ v("button", {
|
|
368
395
|
type: "button",
|
|
369
396
|
onClick: () => {
|
|
370
|
-
|
|
397
|
+
R(null), B("");
|
|
371
398
|
},
|
|
372
399
|
className: "rounded-md border border-border-default bg-surface-default px-3 py-1 text-xs text-text-primary hover:bg-surface-hover",
|
|
373
400
|
children: "Cancel"
|
|
374
401
|
}), /* @__PURE__ */ v("button", {
|
|
375
402
|
type: "button",
|
|
376
|
-
onClick: () => void
|
|
377
|
-
disabled: !
|
|
403
|
+
onClick: () => void q(e.id),
|
|
404
|
+
disabled: !z.trim() || F === e.id,
|
|
378
405
|
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",
|
|
379
406
|
children: "Submit rejection"
|
|
380
407
|
})]
|
|
@@ -390,23 +417,23 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
390
417
|
children: "Recent Activity"
|
|
391
418
|
}), /* @__PURE__ */ y("div", {
|
|
392
419
|
className: "grid grid-cols-1 gap-4 lg:grid-cols-2",
|
|
393
|
-
children: [/* @__PURE__ */ y(
|
|
394
|
-
className: "
|
|
420
|
+
children: [/* @__PURE__ */ y(C, {
|
|
421
|
+
className: "overflow-hidden p-0",
|
|
395
422
|
children: [/* @__PURE__ */ y("div", {
|
|
396
|
-
className: "flex items-center gap-2 border-b border-border-
|
|
423
|
+
className: "flex items-center gap-2 border-b border-border-seam px-4 py-3",
|
|
397
424
|
children: [/* @__PURE__ */ v(o, { className: "size-4 text-text-success" }), /* @__PURE__ */ v("h3", {
|
|
398
425
|
className: "text-xs font-semibold uppercase tracking-wide text-text-secondary",
|
|
399
426
|
children: "Recently Approved"
|
|
400
427
|
})]
|
|
401
|
-
}),
|
|
428
|
+
}), N.loading ? /* @__PURE__ */ v("p", {
|
|
402
429
|
className: "px-4 py-6 text-center text-sm text-text-secondary",
|
|
403
430
|
children: "Loading…"
|
|
404
|
-
}) :
|
|
431
|
+
}) : N.recentPublished.length === 0 ? /* @__PURE__ */ v("p", {
|
|
405
432
|
className: "px-4 py-6 text-center text-sm text-text-secondary",
|
|
406
433
|
children: "No approved products yet."
|
|
407
434
|
}) : /* @__PURE__ */ v("ul", {
|
|
408
|
-
className: "divide-y divide-border-
|
|
409
|
-
children:
|
|
435
|
+
className: "divide-y divide-border-seam",
|
|
436
|
+
children: N.recentPublished.map((e) => /* @__PURE__ */ y("li", {
|
|
410
437
|
className: "flex items-center gap-3 px-4 py-3",
|
|
411
438
|
children: [
|
|
412
439
|
e.icon ? /* @__PURE__ */ v("img", {
|
|
@@ -424,7 +451,7 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
424
451
|
children: e.name
|
|
425
452
|
}), /* @__PURE__ */ y("p", {
|
|
426
453
|
className: "text-xs text-text-secondary",
|
|
427
|
-
children: [e.reviewedBy ? `by ${e.reviewedBy} · ` : "",
|
|
454
|
+
children: [e.reviewedBy ? `by ${e.reviewedBy} · ` : "", J(e.publishedAt)]
|
|
428
455
|
})]
|
|
429
456
|
}),
|
|
430
457
|
/* @__PURE__ */ v("span", {
|
|
@@ -434,23 +461,23 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
434
461
|
]
|
|
435
462
|
}, e.id))
|
|
436
463
|
})]
|
|
437
|
-
}), /* @__PURE__ */ y(
|
|
438
|
-
className: "
|
|
464
|
+
}), /* @__PURE__ */ y(C, {
|
|
465
|
+
className: "overflow-hidden p-0",
|
|
439
466
|
children: [/* @__PURE__ */ y("div", {
|
|
440
|
-
className: "flex items-center gap-2 border-b border-border-
|
|
467
|
+
className: "flex items-center gap-2 border-b border-border-seam px-4 py-3",
|
|
441
468
|
children: [/* @__PURE__ */ v(_, { className: "size-4 text-text-danger" }), /* @__PURE__ */ v("h3", {
|
|
442
469
|
className: "text-xs font-semibold uppercase tracking-wide text-text-secondary",
|
|
443
470
|
children: "Recently Rejected"
|
|
444
471
|
})]
|
|
445
|
-
}),
|
|
472
|
+
}), N.loading ? /* @__PURE__ */ v("p", {
|
|
446
473
|
className: "px-4 py-6 text-center text-sm text-text-secondary",
|
|
447
474
|
children: "Loading…"
|
|
448
|
-
}) :
|
|
475
|
+
}) : N.recentRejected.length === 0 ? /* @__PURE__ */ v("p", {
|
|
449
476
|
className: "px-4 py-6 text-center text-sm text-text-secondary",
|
|
450
477
|
children: "No rejected products yet."
|
|
451
478
|
}) : /* @__PURE__ */ v("ul", {
|
|
452
|
-
className: "divide-y divide-border-
|
|
453
|
-
children:
|
|
479
|
+
className: "divide-y divide-border-seam",
|
|
480
|
+
children: N.recentRejected.map((e) => /* @__PURE__ */ y("li", {
|
|
454
481
|
className: "flex items-center gap-3 px-4 py-3",
|
|
455
482
|
children: [
|
|
456
483
|
e.icon ? /* @__PURE__ */ v("img", {
|
|
@@ -468,7 +495,7 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
468
495
|
children: e.name
|
|
469
496
|
}), /* @__PURE__ */ y("p", {
|
|
470
497
|
className: "truncate text-xs text-text-secondary",
|
|
471
|
-
children: [e.rejectedReason ? `"${e.rejectedReason}" · ` : "",
|
|
498
|
+
children: [e.rejectedReason ? `"${e.rejectedReason}" · ` : "", J(e.reviewedAt)]
|
|
472
499
|
})]
|
|
473
500
|
}),
|
|
474
501
|
/* @__PURE__ */ v("span", {
|
|
@@ -485,6 +512,6 @@ var S = "\n query AdminDashboardData {\n recentPending: pendingReviewProduct
|
|
|
485
512
|
});
|
|
486
513
|
};
|
|
487
514
|
//#endregion
|
|
488
|
-
export {
|
|
515
|
+
export { A as AdminDashboardPage };
|
|
489
516
|
|
|
490
517
|
//# sourceMappingURL=AdminDashboardPage.js.map
|