@unchainedshop/admin-ui 4.0.100 → 4.0.102
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/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/chunks/pages/index-60c4ca34f2b88ffe.js +1 -0
- package/out/_next/static/css/{d29d1b114a5da1be.css → 4d100c378d7048df.css} +1 -1
- package/out/_next/static/{nOlv6mTahMB9UYm4wLey- → nrM_mcxkVbsHfX5UhmfQ2}/_buildManifest.js +1 -1
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +1 -1
- package/out/_next/static/chunks/pages/index-17bd72a252c92c9d.js +0 -1
- /package/out/_next/static/{nOlv6mTahMB9UYm4wLey- → nrM_mcxkVbsHfX5UhmfQ2}/_ssgManifest.js +0 -0
package/out/works/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/4d100c378d7048df.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.102" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/4d100c378d7048df.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-e67b0ff03d96edf5.js" defer=""></script><script src="/_next/static/chunks/framework-1e47a8b3a8438d14.js" defer=""></script><script src="/_next/static/chunks/main-2773faebfa2a4a70.js" defer=""></script><script src="/_next/static/chunks/pages/_app-df2010ea1976ab5a.js" defer=""></script><script src="/_next/static/chunks/8479-514f7826abaa5283.js" defer=""></script><script src="/_next/static/chunks/1098-f06e88084df9b348.js" defer=""></script><script src="/_next/static/chunks/6825-2a2e2f05a7611391.js" defer=""></script><script src="/_next/static/chunks/8568-4835b8b9ffbd335c.js" defer=""></script><script src="/_next/static/chunks/5433-59aa2279d5c76659.js" defer=""></script><script src="/_next/static/chunks/8837-1ab5639468c8382b.js" defer=""></script><script src="/_next/static/chunks/824-93782722ff7ed96d.js" defer=""></script><script src="/_next/static/chunks/8533-588e801e0fee4593.js" defer=""></script><script src="/_next/static/chunks/7145-0c1f1a28b6207feb.js" defer=""></script><script src="/_next/static/chunks/8958-8bc48832716a14e1.js" defer=""></script><script src="/_next/static/chunks/pages/works-b9f67009c3cb1308.js" defer=""></script><script src="/_next/static/nrM_mcxkVbsHfX5UhmfQ2/_buildManifest.js" defer=""></script><script src="/_next/static/nrM_mcxkVbsHfX5UhmfQ2/_ssgManifest.js" defer=""></script></head><body class="h-full bg-slate-50 dark:bg-slate-950 dark:text-slate-200"><noscript>
|
|
2
2
|
<!--
|
|
3
3
|
_____ _____ _____ _____ _____ _____ _____ _____ ____
|
|
4
4
|
| | | | | | | | _ | | | | __| \
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
- Technology, Engineering & Design by Unchained Commerce GmbH - https://unchained.shop
|
|
9
9
|
|
|
10
10
|
-->
|
|
11
|
-
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"n"},"page":"/works","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"n"},"page":"/works","query":{},"buildId":"nrM_mcxkVbsHfX5UhmfQ2","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html class="h-full"><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">Unchained: Admin UI</title><meta name="og:description-0-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="og:site_name-1-Admin UI" content="Admin UI"/><meta name="og:url-2-https://unchained.shop" content="https://unchained.shop"/><meta name="og:image-3-/icons/manifest-icon-512.maskable.png" content="/icons/manifest-icon-512.maskable.png"/><meta name="og:type-4-website" content="website"/><meta name="og:title-5-Unchained Admin UI" content="Unchained Admin UI"/><meta name="twitter:image-6-/icons/manifest-icon-192.maskable.png" content="/icons/manifest-icon-192.maskable.png"/><meta name="twitter:creator-7-@unchainedshop" content="@unchainedshop"/><meta name="twitter:description-8-Unchained e-commerce shop controller" content="Unchained e-commerce shop controller"/><meta name="twitter:card-9-summary" content="summary"/><meta name="twitter:url-10-https://unchained.shop" content="https://unchained.shop"/><meta name="twitter:title-11-Unchained Admin UI" content="Unchained Admin UI"/><meta name="application-name-12-Unchained Admin UI" content="Unchained Admin UI"/><meta name="apple-mobile-web-app-capable-13-yes" content="yes"/><meta name="apple-mobile-web-app-status-bar-style-14-default" content="default"/><meta name="apple-mobile-web-app-title-15-Admin UI" content="Admin UI"/><meta name="description-16-Unchained e-commerce shop admin control" content="Unchained e-commerce shop admin control"/><meta name="format-detection-17-telephone=no" content="telephone=no"/><meta name="mobile-web-app-capable-18-yes" content="yes"/><meta name="msapplication-config-19-/icons/browserconfig.xml" content="/icons/browserconfig.xml"/><meta name="msapplication-TileColor-20-#537bd8" content="#537bd8"/><meta name="msapplication-tap-highlight-21-no" content="no"/><meta name="theme-color-22-#537bd8" content="#537bd8"/><link rel="icon" type="image/svg+xml" href="/favicon.svg"/><link rel="icon" type="image/png" sizes="196x196" href="/icons/favicon-196.png"/><link rel="apple-touch-icon" href="/icons/apple-icon-180.png"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-2732.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2732-2048.jpg" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2388-1668.jpg" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1536-2048.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2048-1536.jpg" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1668-2224.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2224-1668.jpg" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1620-2160.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2160-1620.jpg" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1284-2778.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2778-1284.jpg" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1170-2532.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2532-1170.jpg" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1125-2436.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2436-1125.jpg" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2688.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2688-1242.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-828-1792.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1792-828.jpg" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1242-2208.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-2208-1242.jpg" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-750-1334.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1334-750.jpg" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-640-1136.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/><link rel="apple-touch-startup-image" href="/icons/apple-splash-1136-640.jpg" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/><link rel="preload" href="/_next/static/css/4d100c378d7048df.css" as="style"/><script src="/admin-ui-permissions.js?v=4.0.102" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/4d100c378d7048df.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-e67b0ff03d96edf5.js" defer=""></script><script src="/_next/static/chunks/framework-1e47a8b3a8438d14.js" defer=""></script><script src="/_next/static/chunks/main-2773faebfa2a4a70.js" defer=""></script><script src="/_next/static/chunks/pages/_app-df2010ea1976ab5a.js" defer=""></script><script src="/_next/static/chunks/6984-f9e19b408a67572f.js" defer=""></script><script src="/_next/static/chunks/676-1a2fcc82bcd846c4.js" defer=""></script><script src="/_next/static/chunks/8533-588e801e0fee4593.js" defer=""></script><script src="/_next/static/chunks/pages/works/management-21b2e5a5e9714787.js" defer=""></script><script src="/_next/static/nrM_mcxkVbsHfX5UhmfQ2/_buildManifest.js" defer=""></script><script src="/_next/static/nrM_mcxkVbsHfX5UhmfQ2/_ssgManifest.js" defer=""></script></head><body class="h-full bg-slate-50 dark:bg-slate-950 dark:text-slate-200"><noscript>
|
|
2
2
|
<!--
|
|
3
3
|
_____ _____ _____ _____ _____ _____ _____ _____ ____
|
|
4
4
|
| | | | | | | | _ | | | | __| \
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
- Technology, Engineering & Design by Unchained Commerce GmbH - https://unchained.shop
|
|
9
9
|
|
|
10
10
|
-->
|
|
11
|
-
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"n"},"page":"/works/management","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><section class="Toastify" aria-live="polite" aria-atomic="false" aria-relevant="additions text" aria-label="Notifications Alt+T"></section><div class="my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5"><div class="flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200"><svg fill="none" class="h-6 w-6 animate-spin" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z" fill="currentColor" fill-rule="evenodd"></path></svg><div>Loading ...</div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{},"componentName":"n"},"page":"/works/management","query":{},"buildId":"nrM_mcxkVbsHfX5UhmfQ2","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3332],{9415:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(9985),a=r(15968),l=r(70486);function n(){let e=(0,s._)(["\n query AssortmentsCount(\n $queryString: String\n $tags: [LowerCaseString!]\n $includeInactive: Boolean\n $includeLeaves: Boolean\n ) {\n assortmentsCount(\n tags: $tags\n includeInactive: $includeInactive\n includeLeaves: $includeLeaves\n queryString: $queryString\n )\n }\n"]);return n=function(){return e},e}let d=(0,a.J1)(n()),i=e=>{let{queryString:t="",tags:r=null,includeInactive:s=!0,includeLeaves:a=!1}=e,{data:n,loading:i,error:o}=(0,l.I)(d,{variables:{queryString:t,tags:r,includeInactive:s,includeLeaves:a}});return{loading:i,error:o,assortmentsCount:null==n?void 0:n.assortmentsCount}}},9454:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(75834);let a=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))})},13039:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(75834);let a=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{d:"M7 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM14.5 9a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM1.615 16.428a1.224 1.224 0 0 1-.569-1.175 6.002 6.002 0 0 1 11.908 0c.058.467-.172.92-.57 1.174A9.953 9.953 0 0 1 7 18a9.953 9.953 0 0 1-5.385-1.572ZM14.5 16h-.106c.07-.297.088-.611.048-.933a7.47 7.47 0 0 0-1.588-3.755 4.502 4.502 0 0 1 5.874 2.636.818.818 0 0 1-.36.98A7.465 7.465 0 0 1 14.5 16Z"}))})},13142:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(75834);let a=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{d:"M10.362 1.093a.75.75 0 0 0-.724 0L2.523 5.018 10 9.143l7.477-4.125-7.115-3.925ZM18 6.443l-7.25 4v8.25l6.862-3.786A.75.75 0 0 0 18 14.25V6.443ZM9.25 18.693v-8.25l-7.25-4v7.807a.75.75 0 0 0 .388.657l6.862 3.786Z"}))})},17197:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(9985);function a(){let e=(0,s._)(["\n fragment WorkFragment on Work {\n _id\n type\n scheduled\n status\n started\n success\n finished\n created\n deleted\n retries\n original {\n _id\n retries\n }\n }\n"]);return a=function(){return e},e}let l=(0,r(15968).J1)(a())},18002:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(27276)}])},25851:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(26514),a=r(69001),l=r.n(a);r(75834);let n=e=>{let{text:t,children:r,onClick:a,className:n="",disabled:d=!1,id:i="",variant:o="primary",size:c="md",type:u="button",loading:m=!1,icon:g,iconRight:x,fullWidth:h=!1,rounded:v="md",ariaLabel:b,...f}=e,p=r||t,k=(g||x)&&p?"gap-2":"";return(0,s.jsx)("button",{id:i,type:u,disabled:d||m,onClick:a,"aria-label":b,className:l()("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[c],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[v],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[o],k,{"w-full":h},n),...f,children:m?(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),p]}):(0,s.jsxs)(s.Fragment,{children:[g,p,x]})})}},26736:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(75834);let a=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))})},27276:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>eS});var s=r(26514),a=r(75834),l=r(644),n=r(69001),d=r.n(n),i=r(9454),o=r(96487),c=r(48932),u=r(28541);let m=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.59 14.37a6 6 0 0 1-5.84 7.38v-4.8m5.84-2.58a14.98 14.98 0 0 0 6.16-12.12A14.98 14.98 0 0 0 9.631 8.41m5.96 5.96a14.926 14.926 0 0 1-5.841 2.58m-.119-8.54a6 6 0 0 0-7.381 5.84h4.8m2.581-5.84a14.927 14.927 0 0 0-2.58 5.84m2.699 2.7c-.103.021-.207.041-.311.06a15.09 15.09 0 0 1-2.448-2.448 14.9 14.9 0 0 1 .06-.312m-2.24 2.39a4.493 4.493 0 0 0-1.757 4.306 4.493 4.493 0 0 0 4.306-1.758M16.5 9a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"}))});var g=r(11230);let x=e=>{let{progress:t,size:r="md",showPercentage:a=!0,className:l}=e;return(0,s.jsxs)("div",{className:d()("flex items-center gap-3",l),children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)("div",{className:d()("w-full rounded-full overflow-hidden",{sm:"h-1.5",md:"h-2",lg:"h-3"}[r],(e=>e<30?"bg-rose-100 dark:bg-rose-900/20":e<99?"bg-amber-100 dark:bg-amber-900/20":"bg-emerald-100 dark:bg-emerald-900/20")(t)),children:(0,s.jsx)("div",{className:d()("h-full transition-all duration-500 ease-out rounded-full",(e=>e<30?"bg-rose-500":e<99?"bg-amber-500":"bg-emerald-500")(t)),style:{width:"".concat(Math.min(t,100),"%")}})})}),a&&(0,s.jsxs)("span",{className:d()("font-medium tabular-nums",{sm:"text-xs",md:"text-sm",lg:"text-base"}[r],100===t?"text-emerald-600 dark:text-emerald-400":"text-slate-600 dark:text-slate-400"),children:[t,"%"]})]})};var h=r(96456),v=r.n(h),b=r(36372);let f=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v12m-3-2.818.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}),p=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m10.5 21 5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 0 1 6-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 0 1-3.827-5.802"}))});var k=r(68451);let j=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 18.75a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 0 1-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 0 0-3.213-9.193 2.056 2.056 0 0 0-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 0 0-10.026 0 1.106 1.106 0 0 0-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12"}))}),y=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 21v-7.5a.75.75 0 0 1 .75-.75h3a.75.75 0 0 1 .75.75V21m-4.5 0H2.36m11.14 0H18m0 0h3.64m-1.39 0V9.349M3.75 21V9.349m0 0a3.001 3.001 0 0 0 3.75-.615A2.993 2.993 0 0 0 9.75 9.75c.896 0 1.7-.393 2.25-1.016a2.993 2.993 0 0 0 2.25 1.016c.896 0 1.7-.393 2.25-1.015a3.001 3.001 0 0 0 3.75.614m-16.5 0a3.004 3.004 0 0 1-.621-4.72l1.189-1.19A1.5 1.5 0 0 1 5.378 3h13.243a1.5 1.5 0 0 1 1.06.44l1.19 1.189a3 3 0 0 1-.621 4.72M6.75 18h3.75a.75.75 0 0 0 .75-.75V13.5a.75.75 0 0 0-.75-.75H6.75a.75.75 0 0 0-.75.75v3.75c0 .414.336.75.75.75Z"}))});var w=r(15125),N=r(78336),M=r(28244),A=r(66906),C=r(26736);let _={globe:b.A,currency:f,language:p,"credit-card":k.A,truck:j,warehouse:y,cube:w.A,folder:N.A,funnel:M.A},S=e=>{let{step:t,onStepClick:r}=e,{formatMessage:a}=(0,l.A)(),n=_[t.icon]||w.A;return(0,s.jsxs)("div",{className:d()("relative p-4 rounded-lg border transition-all duration-200",t.isComplete?"bg-emerald-50 dark:bg-emerald-900/10 border-emerald-200 dark:border-emerald-700/50":"bg-white dark:bg-slate-800 border-slate-200 dark:border-slate-700 hover:border-slate-300 dark:hover:border-slate-600 hover:shadow-sm",!t.isComplete&&"cursor-pointer"),onClick:t.isComplete?void 0:()=>{r&&r(t)},children:[(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("div",{className:d()("flex-shrink-0 w-8 h-8 rounded-lg flex items-center justify-center",t.isComplete?"bg-emerald-100 dark:bg-emerald-900/30":"bg-slate-100 dark:bg-slate-700"),children:t.isComplete?(0,s.jsx)(A.A,{className:"w-5 h-5 text-emerald-600 dark:text-emerald-400"}):(0,s.jsx)(n,{className:d()("w-5 h-5",t.isRequired?"text-slate-600 dark:text-slate-400":"text-slate-500 dark:text-slate-500")})}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsxs)("h4",{className:d()("font-medium text-sm",t.isComplete?"text-emerald-700 dark:text-emerald-300":"text-slate-900 dark:text-slate-100"),children:[t.title,t.isRequired&&!t.isComplete&&(0,s.jsx)("span",{className:"text-rose-500 ml-1",children:"*"})]}),(0,s.jsx)("p",{className:d()("text-xs mt-1",t.isComplete?"text-emerald-600 dark:text-emerald-400":"text-slate-600 dark:text-slate-400"),children:t.description})]}),(0,s.jsxs)("div",{className:"flex flex-col items-end gap-1 text-xs",children:[!t.isComplete&&(0,s.jsxs)("div",{className:"flex items-center gap-1 text-slate-500 dark:text-slate-500",children:[(0,s.jsx)(C.A,{className:"w-3 h-3"}),(0,s.jsx)("span",{children:t.estimatedTime})]}),t.isComplete&&(0,s.jsx)("span",{className:"text-emerald-600 dark:text-emerald-400 font-medium",children:a({id:"setup_complete",defaultMessage:"Complete"})})]})]}),!t.isComplete&&(0,s.jsx)("div",{className:"mt-3",children:(0,s.jsx)(v(),{href:t.setupUrl,children:(0,s.jsx)("span",{className:d()("inline-flex items-center px-3 py-1.5 text-xs font-medium rounded-md transition-colors",t.isRequired?"bg-slate-900 dark:bg-slate-200 text-white dark:text-slate-900 hover:bg-slate-800 dark:hover:bg-slate-300":"bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600"),children:a({id:"setup_now",defaultMessage:"Setup Now"})})})})]})]}),t.isRequired&&!t.isComplete&&(0,s.jsx)("div",{className:"absolute top-2 right-2",children:(0,s.jsx)("div",{className:"w-2 h-2 bg-rose-500 rounded-full"})})]})};var $=r(74781);let E=e=>{let{className:t}=e,{formatMessage:r}=(0,l.A)(),{configuration:n,loading:h,error:v}=(0,g.A)(),{isSystemReady:b}=(0,$.A)(),[f,p]=(0,a.useState)({essential:!0,commerce:!1,content:!1}),[k,j]=(0,a.useState)(()=>"true"===localStorage.getItem("shop_setup_message_dismissed")),{isFullyConfigured:y}=n;if((0,a.useEffect)(()=>{n&&p({commerce:!n.commerceStepsComplete,essential:!n.essentialStepsComplete,content:n.commerceStepsComplete&&!n.contentStepsComplete})},[n]),!n||h||v)return null;if(y&&!k)return(0,s.jsx)("div",{className:d()("p-6 bg-gradient-to-r from-emerald-50 to-emerald-50 dark:from-emerald-900/20 dark:to-emerald-900/20 rounded-lg border border-emerald-200 dark:border-emerald-700/50",t),children:(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsx)(i.A,{className:"w-8 h-8 text-emerald-600 dark:text-emerald-400"})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold text-emerald-800 dark:text-emerald-200 mb-2",children:r({id:"shop_setup_complete",defaultMessage:"Shop Setup Complete!"})}),(0,s.jsx)("p",{className:"text-emerald-700 dark:text-emerald-300 text-sm",children:r({id:"shop_setup_complete_description",defaultMessage:"Congratulations! Your shop is fully configured and ready to accept orders."})})]}),(0,s.jsx)("button",{onClick:()=>{j(!0),localStorage.setItem("shop_setup_message_dismissed","true")},className:"flex-shrink-0 p-1 rounded-md hover:bg-emerald-100 dark:hover:bg-emerald-800/50 transition-colors",title:r({id:"dismiss",defaultMessage:"Dismiss"}),children:(0,s.jsx)(o.A,{className:"w-5 h-5 text-emerald-600 dark:text-emerald-400"})})]})});if(y&&k)return null;let w=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=f[e],n=0===t.length?100:Math.round(t.filter(e=>e.isComplete).length/t.length*100);return(0,s.jsxs)("div",{className:"border border-slate-200 dark:border-slate-700 rounded-lg overflow-hidden",children:[(0,s.jsx)("button",{onClick:()=>{p(t=>({...t,[e]:!t[e]}))},className:"w-full p-4 bg-slate-50 dark:bg-slate-800/50 hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors text-left",children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsxs)("h3",{className:"text-sm font-semibold text-slate-900 dark:text-slate-100",children:[(e=>{switch(e){case"essential":return r({id:"essential_setup",defaultMessage:"Essential Setup"});case"commerce":return r({id:"commerce_setup",defaultMessage:"Commerce Setup"});case"content":return r({id:"content_setup",defaultMessage:"Content Setup"});default:return e}})(e),!a&&(0,s.jsx)("span",{className:"text-rose-500 ml-1",children:"*"})]}),(0,s.jsx)(x,{progress:n,size:"sm",className:"w-24"})]}),(0,s.jsx)("p",{className:"text-xs text-slate-600 dark:text-slate-400 mt-1",children:(e=>{switch(e){case"essential":return r({id:"essential_setup_description",defaultMessage:"Core settings required for your shop to function"});case"commerce":return r({id:"commerce_setup_description",defaultMessage:"Payment and delivery configuration for transactions"});case"content":return r({id:"content_setup_description",defaultMessage:"Products and categories to start selling"});default:return""}})(e)})]}),l?(0,s.jsx)(c.A,{className:"w-5 h-5 text-slate-400"}):(0,s.jsx)(u.A,{className:"w-5 h-5 text-slate-400"})]})}),l&&(0,s.jsx)("div",{className:"p-4 space-y-3 bg-white dark:bg-slate-800",children:t.map(e=>(0,s.jsx)(S,{step:e},e.icon))})]})};return(0,s.jsxs)("div",{className:d()("bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 overflow-hidden",t),children:[(0,s.jsx)("div",{className:"p-6 bg-gradient-to-r from-slate-50 to-slate-100 dark:from-slate-800 dark:to-slate-700 border-b border-slate-200 dark:border-slate-600",children:(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsx)("div",{className:"w-12 h-12 bg-gradient-to-br from-slate-600 to-slate-800 dark:from-slate-500 dark:to-slate-700 rounded-xl flex items-center justify-center",children:(0,s.jsx)(m,{className:"w-6 h-6 text-white"})})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h2",{className:"text-lg font-semibold text-slate-900 dark:text-slate-100 mb-2",children:r({id:"complete_shop_setup",defaultMessage:"Complete Your Shop Setup"})}),(0,s.jsx)("p",{className:"text-sm text-slate-600 dark:text-slate-400 mb-4",children:r({id:"shop_setup_description",defaultMessage:"Follow these steps to configure your shop and start selling."})}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,s.jsx)("span",{className:"text-slate-600 dark:text-slate-400",children:r({id:"overall_progress",defaultMessage:"Overall Progress"})}),(0,s.jsxs)("span",{className:"font-medium text-slate-900 dark:text-slate-100",children:[n.completedSteps.length," of"," ",Object.keys(n.steps).length," complete"]})]}),(0,s.jsx)(x,{progress:n.overallProgress,size:"md"})]})]})]})}),(0,s.jsxs)("div",{className:"p-6 space-y-4",children:[w("essential",n.essentialSteps,n.essentialStepsComplete),b&&w("commerce",n.commerceSteps,n.commerceStepsComplete),b&&w("content",n.contentSteps,n.contentStepsComplete),(0,s.jsx)("div",{className:"pt-4 border-t border-slate-200 dark:border-slate-700",children:(0,s.jsxs)("p",{className:"text-xs text-slate-500 dark:text-slate-500 flex items-center gap-1",children:[(0,s.jsx)("span",{className:"inline-block w-2 h-2 bg-rose-500 rounded-full"}),r({id:"required_steps_note",defaultMessage:"Required for basic shop functionality"})]})})]})]})},I=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))});var L=r(42054),O=r(824),q=r(82102);let P=()=>{let{formatMessage:e}=(0,l.A)(),[t,r]=(0,q.A)("workQueueWarningBanner:dismissed",!1),{workQueue:a}=(0,L.A)({status:[O.Fh.Failed],pollInterval:0}),n=Object.entries(a.reduce((e,t)=>(e[null==t?void 0:t.type]?e[null==t?void 0:t.type]={...e[null==t?void 0:t.type],count:e[null==t?void 0:t.type].count+1}:e[null==t?void 0:t.type]={...t,count:1},e),{})).map(e=>{let[t,{count:r}]=e;return"".concat(r," ").concat(t)}).join(", ");return t||!a.length?null:(0,s.jsx)("div",{className:"p-5 bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-700/50 rounded-lg mb-6",children:(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)(I,{className:"w-6 h-6 text-amber-600 dark:text-amber-400"}),(0,s.jsxs)("div",{className:"flex-1 text-sm text-amber-800 dark:text-amber-200",children:[(0,s.jsx)("strong",{children:e({id:"work_queue_problem_detected",defaultMessage:"Problems detected in the Work Queue"})})," ",n]}),(0,s.jsx)(v(),{href:"/works/?status=FAILED",className:"ml-4 text-amber-700 dark:text-amber-300 hover:underline text-sm font-medium",children:e({id:"check_work_queue_details",defaultMessage:"Check Work Queue for Details"})}),(0,s.jsx)("button",{onClick:()=>r(!0),className:"flex-shrink-0 p-1 text-amber-600 dark:text-amber-600 hover:text-amber-800 dark:hover:text-amber-200",children:(0,s.jsx)(o.A,{className:"w-5 h-5"})})]})})};var R=r(17482);let W=e=>{let{label:t,value:r}=e;return(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("span",{className:"text-sm text-slate-600 dark:text-slate-400",children:t}),(0,s.jsx)("span",{className:"text-sm text-slate-900 dark:text-slate-100",children:r})]})},D=()=>{var e,t,r,a,n,d,i;let{formatMessage:o}=(0,l.A)(),{shopInfo:c}=(0,R.A)();return(0,s.jsxs)("div",{className:"bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 p-6",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold text-slate-900 dark:text-slate-100 mb-4",children:o({id:"system_information",defaultMessage:"System Information"})}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsx)(W,{label:o({id:"engine_version",defaultMessage:"Engine version"}),value:(null==c?void 0:c.version)||"n/a"}),(0,s.jsx)(W,{label:o({id:"resolved_language",defaultMessage:"Resolved language"}),value:"".concat((null==c||null==(e=c.language)?void 0:e.name)||"n/a"," (").concat((null==c||null==(t=c.language)?void 0:t.isoCode)||"n/a",")")}),(0,s.jsx)(W,{label:o({id:"resolved_country",defaultMessage:"Resolved country"}),value:(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-base",children:(null==c||null==(r=c.country)?void 0:r.flagEmoji)||"n/a"}),(null==c||null==(a=c.country)?void 0:a.name)||"n/a"," (",(null==c||null==(n=c.country)?void 0:n.isoCode)||"n/a",")"]})}),(0,s.jsx)(W,{label:o({id:"default_currency",defaultMessage:"Default currency"}),value:(null==c||null==(i=c.country)||null==(d=i.defaultCurrency)?void 0:d.isoCode)||"n/a"})]})]})};var B=r(46225),Z=r(28248),F=r(25851),V=r(70412);let H=()=>{let{formatMessage:e}=(0,l.A)(),{hasRole:t}=(0,V.A)(),r=t("createProduct"),a=t("createUser"),n=t("createAssortment"),d=(0,B.useRouter)();return(0,s.jsxs)("div",{className:"bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 p-6",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold text-slate-900 dark:text-slate-100 mb-4",children:e({id:"shortcuts",defaultMessage:"Shortcuts"})}),(0,s.jsxs)("div",{className:"grid xl:grid-cols-3 gap-3",children:[r&&(0,s.jsx)(F.A,{onClick:()=>d.push("/products/new"),icon:(0,s.jsx)(Z.A,{className:"w-5 h-5"}),variant:"primary",size:"lg",text:e({id:"product",defaultMessage:"Product"})}),a&&(0,s.jsx)(F.A,{onClick:()=>d.push("/users/new"),icon:(0,s.jsx)(Z.A,{className:"w-5 h-5"}),variant:"primary",size:"lg",text:e({id:"user",defaultMessage:"User"})}),n&&(0,s.jsx)(F.A,{onClick:()=>d.push("/assortments/new"),icon:(0,s.jsx)(Z.A,{className:"w-5 h-5"}),variant:"primary",size:"lg",text:e({id:"assortment",defaultMessage:"Assortment"})})]})]})};var Q=r(13142);let T=a.forwardRef(function({title:e,titleId:t,...r},s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},r),e?a.createElement("title",{id:t},e):null,a.createElement("path",{d:"M5.127 3.502 5.25 3.5h9.5c.041 0 .082 0 .123.002A2.251 2.251 0 0 0 12.75 2h-5.5a2.25 2.25 0 0 0-2.123 1.502ZM1 10.25A2.25 2.25 0 0 1 3.25 8h13.5A2.25 2.25 0 0 1 19 10.25v5.5A2.25 2.25 0 0 1 16.75 18H3.25A2.25 2.25 0 0 1 1 15.75v-5.5ZM3.25 6.5c-.04 0-.082 0-.123.002A2.25 2.25 0 0 1 5.25 5h9.5c.98 0 1.814.627 2.123 1.502a3.819 3.819 0 0 0-.123-.002H3.25Z"}))});var z=r(13039);let J=e=>{let{title:t,value:r,icon:a,loading:n=!1,href:d}=e,{formatNumber:i}=(0,l.A)();return(0,s.jsx)(v(),{href:d,className:"bg-white dark:bg-slate-800 rounded-lg border-slate-200 dark:border-slate-700 p-6\n cursor-pointer hover:border-slate-500 border-1 dark:hover:bg-slate-750 transition-colors",children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm font-medium text-slate-600 dark:text-slate-400",children:t}),(0,s.jsx)("p",{className:"text-2xl font-bold text-slate-900 dark:text-white mt-1",children:n?(0,s.jsx)("span",{className:"animate-pulse bg-slate-300 dark:bg-slate-600 rounded h-8 w-16 inline-block"}):"number"==typeof r?i(r):r})]}),(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsx)("div",{className:"p-3 bg-slate-100 dark:bg-slate-700 rounded-lg",children:a})})]})})};var K=r(32990),U=r(24268),G=r(9415),X=r(62151);let Y=()=>{let{formatMessage:e}=(0,l.A)(),{metrics:t}=(()=>{let{ordersCount:e,loading:t}=(0,K.A)({limit:1}),{usersCount:r,loading:s}=(0,U.A)(),{assortmentsCount:a,loading:l}=(0,G.A)({}),{productsCount:n,loading:d}=(0,X.A)({});return{metrics:{orders:{value:e||0,loading:t},products:{value:n||0,loading:d},customers:{value:r,loading:s},categories:{value:a||0,loading:l}},isLoading:t||s||l||d}})(),r=[{title:e({id:"products_count",defaultMessage:"Products"}),value:t.products.value,icon:(0,s.jsx)(Q.A,{className:"h-6 w-6 text-slate-700 dark:text-slate-300"}),loading:t.products.loading,href:"/products"},{title:e({id:"categories_count",defaultMessage:"Assortments"}),value:t.categories.value,icon:(0,s.jsx)(T,{className:"h-6 w-6 text-slate-700 dark:text-slate-300"}),loading:t.categories.loading,href:"/assortments"},{title:e({id:"customers_count",defaultMessage:"Customers"}),value:t.customers.value,icon:(0,s.jsx)(z.A,{className:"h-6 w-6 text-slate-700 dark:text-slate-300"}),loading:t.customers.loading,href:"/users"}];return(0,s.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8",children:r.map((e,t)=>(0,s.jsx)(J,{title:e.title,value:e.value,icon:e.icon,loading:e.loading,href:e.href},t))})};var ee=r(59957),et=r(85067),er=r(2076),es=r(93519),ea=r(3290),el=r(59234),en=r(12202),ed=r(43530),ei=r(15606);let eo=(0,ei.A)("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]),ec=(0,ei.A)("calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);var eu=r(50042),em=r(72736),eg=r(9985),ex=r(15968),eh=r(70486),ev=r(66724),eb=r(95498),ef=r(6792);function ep(e,t,r){var s=-t;let a=(0,ef.a)(e,r?.in);return isNaN(s)?(0,eb.w)(r?.in||e,NaN):(s&&a.setDate(a.getDate()+s),a)}var ek=r(35292),ej=r(12327),ey=r(6589);function ew(){let e=(0,eg._)(["\n query SalesAnalytics(\n $includeCarts: Boolean = false\n $queryString: String\n $status: [OrderStatus!]\n $sort: [SortOptionInput!]\n $paymentProviderIds: [String!]\n $deliveryProviderIds: [String!]\n $dateRange: DateFilterInput\n ) {\n orders(\n limit: 0\n includeCarts: $includeCarts\n status: $status\n queryString: $queryString\n sort: $sort\n paymentProviderIds: $paymentProviderIds\n deliveryProviderIds: $deliveryProviderIds\n dateRange: $dateRange\n ) {\n _id\n ordered\n status\n total {\n amount\n currencyCode\n }\n }\n }\n"]);return ew=function(){return e},e}let eN=(0,ex.J1)(ew());var eM=r(21701),eA=r(40959);let eC={sales:{label:"Sales",color:"hsl(var(--chart-1))"},orders:{label:"Orders",color:"hsl(var(--chart-2))"},avgOrderValue:{label:"Avg Order Value",color:"hsl(var(--chart-3))"}},e_=()=>{let{formatMessage:e}=(0,l.A)(),{dateRange:t,totalSales:r,totalOrders:n,averageOrderValue:d,salesData:i,loading:o,currencyCode:c}=(e=>{let{days:t=30,paymentProviderIds:r=[],deliveryProviderIds:s=[],queryString:l=""}=e,n=(0,a.useMemo)(()=>new Date,[]),d=ep(n,t),i=(0,a.useMemo)(()=>({start:(0,ek.o)(d).toISOString(),end:(0,ej.D)(n).toISOString()}),[d,n]),{data:o,loading:c,error:u}=(0,eh.I)(eN,{variables:{status:[O.iN.Confirmed,O.iN.Fullfilled],queryString:l,paymentProviderIds:r,deliveryProviderIds:s,dateRange:i},errorPolicy:"all"});return(0,a.useMemo)(()=>{var e,r,s;let a=(null==o?void 0:o.orders)||[];if(!a.length)return{totalSales:0,totalOrders:0,averageOrderValue:0,salesData:[],loading:c,error:u,dateRange:i};let l=0,d=((e,t)=>{let r=new Map;for(let s=0;s<e;s++){let e=(0,ev.GP)(ep(t,s),"MMM d");r.set(e,{sales:0,orders:0})}return r})(t,n);a.forEach(e=>{var t,r,s;if(!e.ordered||(null==(t=e.total)?void 0:t.amount)==null)return;let a=(0,ev.GP)((0,ey.H)(e.ordered),"MMM d"),n=d.get(a),i=Number(null!=(s=null==(r=e.total)?void 0:r.amount)?s:0);n&&(n.sales+=i,n.orders+=1),l+=i});let m=a.length,g=m>0?l/m:0;return{totalSales:Math.round(l),currencyCode:null!=(s=null==(r=a[0])||null==(e=r.total)?void 0:e.currencyCode)?s:"USD",totalOrders:m,averageOrderValue:Math.round(g),salesData:Array.from(d.entries()).map(e=>{let[t,{sales:r,orders:s}]=e;return{date:t,sales:Number(r.toFixed(2)),orders:s,avgOrderValue:s>0?Math.round(r/s):0}}).reverse(),loading:c,error:u,dateRange:i}},[o,c,u,i,t,n])})({days:30}),{formatPrice:u}=(0,eM.Ab)();return o?(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[1,2,3].map(e=>(0,s.jsxs)(eu.Zp,{className:"animate-pulse",children:[(0,s.jsxs)(eu.aR,{className:"pb-2",children:[(0,s.jsx)("div",{className:"h-4 bg-slate-200 dark:bg-slate-700 rounded w-1/2"}),(0,s.jsx)("div",{className:"h-8 bg-slate-200 dark:bg-slate-700 rounded w-1/3"})]}),(0,s.jsx)(eu.Wu,{children:(0,s.jsx)("div",{className:"h-32 bg-slate-200 dark:bg-slate-700 rounded"})})]},e))}):(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 my-8",children:[(0,s.jsx)(eA.A,{icon:(0,s.jsx)(ed.A,{className:"h-4 w-4"}),title:e({id:"total_sales",defaultMessage:"Total sales"}),value:u({currencyCode:c,amount:r}),chart:(0,s.jsx)(em.at,{config:eC,children:(0,s.jsxs)(ee.b,{accessibilityLayer:!0,data:i,margin:{left:12,right:12},children:[(0,s.jsx)(et.d,{vertical:!1}),(0,s.jsx)(er.W,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,s.jsx)(es.h,{hide:!0}),(0,s.jsx)(em.II,{wrapperStyle:{pointerEvents:"auto",zIndex:50},cursor:!1,content:(0,s.jsx)(em.Nt,{formatter:e=>u({currencyCode:c,amount:e})})}),(0,s.jsx)(ea.N,{dataKey:"sales",type:"natural",stroke:"var(--color-sales)",strokeWidth:2,dot:!1})]})}),dateRange:t}),(0,s.jsx)(eA.A,{icon:(0,s.jsx)(eo,{className:"h-4 w-4"}),title:e({id:"total_orders",defaultMessage:"Total orders"}),value:n,chart:(0,s.jsx)(em.at,{config:eC,children:(0,s.jsxs)(el.E,{accessibilityLayer:!0,data:i,margin:{left:12,right:12},children:[(0,s.jsx)(et.d,{vertical:!1}),(0,s.jsx)(er.W,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8}),(0,s.jsx)(es.h,{hide:!0}),(0,s.jsx)(em.II,{cursor:!1,content:(0,s.jsx)(em.Nt,{hideLabel:!0})}),(0,s.jsx)(en.y,{dataKey:"orders",fill:"var(--color-orders)",radius:4})]})}),dateRange:t}),(0,s.jsx)(eA.A,{icon:(0,s.jsx)(ec,{className:"h-4 w-4"}),title:e({id:"average_order_value",defaultMessage:"Average order value"}),value:u({amount:d,currencyCode:c}),chart:(0,s.jsx)(em.at,{config:eC,children:(0,s.jsxs)(ee.b,{accessibilityLayer:!0,data:i,margin:{left:12,right:12},children:[(0,s.jsx)(et.d,{vertical:!1}),(0,s.jsx)(er.W,{dataKey:"date",tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:e=>e.slice(0,6)}),(0,s.jsx)(es.h,{hide:!0}),(0,s.jsx)(em.II,{cursor:!1,content:(0,s.jsx)(em.Nt,{hideLabel:!0,formatter:e=>u({currencyCode:c,amount:e})})}),(0,s.jsx)(ea.N,{dataKey:"avgOrderValue",type:"natural",stroke:"var(--color-avgOrderValue)",strokeWidth:2,dot:!1})]})}),dateRange:t})]})},eS=()=>{let{configuration:e}=(0,g.A)(),{isFullyConfigured:t}=e;return(0,s.jsxs)("div",{children:[(0,s.jsx)(P,{}),(0,s.jsx)("div",{className:"mt-5",children:(0,s.jsxs)("div",{className:"text-xl font-semibold text-slate-900 dark:text-slate-100",children:["Unchained",(0,s.jsxs)("span",{className:"font-light ml-1",children:["AdminUI",(0,s.jsx)("span",{className:"text-xs ml-1",children:" 2.0"})]})]})}),(0,s.jsxs)("div",{className:"mx-auto py-6",children:[(0,s.jsx)(E,{className:"mb-8"}),t&&(0,s.jsx)(Y,{}),(0,s.jsx)(e_,{}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[t&&(0,s.jsx)("div",{className:"bg-white dark:bg-slate-800 rounded-lg border border-slate-200 dark:border-slate-700 p-6",children:(0,s.jsx)(H,{})}),(0,s.jsx)(D,{})]})]})]})}},28248:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(75834);let a=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))})},32990:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var s=r(9985),a=r(15968),l=r(70486),n=r(824),d=r(75433),i=r(53081);function o(){let e=(0,s._)(["\n query Orders(\n $limit: Int\n $offset: Int\n $includeCarts: Boolean\n $queryString: String\n $sort: [SortOptionInput!]\n $paymentProviderIds: [String!]\n $deliveryProviderIds: [String!]\n $dateRange: DateFilterInput\n $status: [OrderStatus!]\n ) {\n orders(\n limit: $limit\n offset: $offset\n includeCarts: $includeCarts\n queryString: $queryString\n sort: $sort\n paymentProviderIds: $paymentProviderIds\n deliveryProviderIds: $deliveryProviderIds\n dateRange: $dateRange\n status: $status\n ) {\n ...OrderFragment\n }\n ordersCount(\n includeCarts: $includeCarts\n queryString: $queryString\n paymentProviderIds: $paymentProviderIds\n deliveryProviderIds: $deliveryProviderIds\n dateRange: $dateRange\n status: $status\n )\n }\n ","\n"]);return o=function(){return e},e}let c=(0,a.J1)(o(),i.A),u=function(){let{limit:e=d.Z_,offset:t=0,includeCarts:r=!1,queryString:s="",sort:a=[],dateRange:i,status:o,deliveryProviderIds:u,paymentProviderIds:m}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{data:g,loading:x,error:h,fetchMore:v}=(0,l.I)(c,{variables:{limit:e,deliveryProviderIds:(null==u?void 0:u.length)?u:null,paymentProviderIds:(null==m?void 0:m.length)?m:null,offset:t,includeCarts:r,queryString:s,dateRange:i,status:o,sort:a.length?[...a,{key:"created",value:n.t4.Desc}]:[{key:"ordered",value:n.t4.Desc},{key:"created",value:n.t4.Desc}]}}),b=(null==g?void 0:g.orders)||[],f=null==g?void 0:g.ordersCount,p=(null==b?void 0:b.length)<f;return{orders:b,ordersCount:f,hasMore:p,loading:x,error:h,loadMore:()=>{v({variables:{offset:null==b?void 0:b.length}})}}}},42054:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var s=r(9985),a=r(15968),l=r(70486),n=r(824),d=r(94617),i=r(17197);function o(){let e=(0,s._)(["\n query WorkQueue(\n $queryString: String\n $offset: Int\n $limit: Int\n $status: [WorkStatus!]\n $types: [WorkType!]\n $created: DateFilterInput\n $sort: [SortOptionInput!]\n ) {\n workQueue(\n queryString: $queryString\n offset: $offset\n limit: $limit\n status: $status\n types: $types\n created: $created\n sort: $sort\n ) {\n ...WorkFragment\n }\n activeWorkTypes\n workQueueCount(\n status: $status\n types: $types\n created: $created\n queryString: $queryString\n )\n }\n ","\n"]);return o=function(){return e},e}let c=(0,a.J1)(o(),i.A),u=e=>{let{queryString:t="",limit:r=50,status:s,types:a,created:i=null,sort:o=[],offset:u=0,pollInterval:m=1e3}=e,{parseDate:g}=(0,d.A)(),{data:x,loading:h,error:v,fetchMore:b,previousData:f}=(0,l.I)(c,{fetchPolicy:"cache-and-network",pollInterval:m,variables:{queryString:t,offset:u,limit:r,status:s,types:a,created:Object.fromEntries(Object.entries(i||{}).filter(e=>{let[,t]=e;return t}).map(e=>{let[t,r]=e;return[t,r]})),sort:(o||[]).length?o:[{key:"scheduled",value:n.t4.Desc}]}}),p=(null==x?void 0:x.workQueue)||(null==f?void 0:f.workQueue)||[],k=(null==x?void 0:x.activeWorkTypes)||[],j=(null==x?void 0:x.workQueueCount)||0,y=(null==p?void 0:p.length)<j;return{workQueue:p,total:j,activeWorkTypes:k,hasMore:y,loading:h,error:v,loadMore:()=>{b({variables:{offset:p.length}})}}}},53081:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(9985);function a(){let e=(0,s._)(["\n fragment OrderFragment on Order {\n _id\n status\n created\n updated\n ordered\n orderNumber\n confirmed\n fullfilled\n contact {\n telNumber\n emailAddress\n }\n total {\n isTaxable\n isNetPrice\n amount\n currencyCode\n }\n user {\n _id\n username\n isGuest\n avatar {\n _id\n url\n }\n profile {\n displayName\n address {\n firstName\n lastName\n }\n }\n }\n }\n"]);return a=function(){return e},e}let l=(0,r(15968).J1)(a())},62151:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(9985),a=r(15968),l=r(70486);function n(){let e=(0,s._)(["\n query ProductsCount(\n $queryString: String\n $tags: [LowerCaseString!]\n $slugs: [String!]\n $includeDrafts: Boolean\n ) {\n productsCount(\n tags: $tags\n slugs: $slugs\n includeDrafts: $includeDrafts\n queryString: $queryString\n )\n }\n"]);return n=function(){return e},e}let d=(0,a.J1)(n()),i=e=>{let{queryString:t="",tags:r=null,includeDrafts:s=!0}=e,{data:a,loading:n,error:i}=(0,l.I)(d,{variables:{queryString:t,includeDrafts:s,tags:r}});return{productsCount:null==a?void 0:a.productsCount,loading:n,error:i}}},66906:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(75834);let a=s.forwardRef(function({title:e,titleId:t,...r},a){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))})}},e=>{e.O(0,[8479,9317,4050,5433,824,2602,636,6593,8792],()=>e(e.s=18002)),_N_E=e.O()}]);
|
|
File without changes
|