@unchainedshop/admin-ui 4.4.1 → 4.4.2
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/{nvzSUihMt17oSeJB8vX-J → ZINZExBw48QXAnmZi6Rup}/_buildManifest.js +1 -1
- package/out/_next/static/chunks/{3282-e2a65c5faff55caf.js → 3282-94459d44b61b3901.js} +1 -1
- package/out/_next/static/chunks/{3908-35d5c06b8b80f4d0.js → 3908-6852b2e785d79ac3.js} +1 -1
- package/out/_next/static/chunks/824-fd8ea3573638c07d.js +1 -0
- package/out/_next/static/chunks/{8474-0e8b5ac04fd81ee1.js → 8474-cc16eb7b40a6b8f0.js} +1 -1
- package/out/_next/static/chunks/{8488-34b29297840c693b.js → 8488-7648939f32accbe2.js} +1 -1
- package/out/_next/static/chunks/{9771-7e1da9ea99c87f6f.js → 9771-7c85d5564dae1b5d.js} +1 -1
- package/out/_next/static/chunks/pages/filters/{new-d1a06d3881047bea.js → new-728984fbf1519419.js} +1 -1
- package/out/_next/static/chunks/pages/{index-74344897b7251523.js → index-cbe65d651f31437e.js} +1 -1
- package/out/_next/static/chunks/pages/products/new-04fe5222e2a1b6fd.js +1 -0
- package/out/_next/static/chunks/pages/products-423ebc7d61aebce3.js +1 -0
- package/out/_next/static/chunks/pages/users/{new-b8c176b57ebb587b.js → new-a878520f80c25473.js} +1 -1
- package/out/_next/static/chunks/pages/works/{management-345df1385f46b4d8.js → management-0c5b3c46b8513d59.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/824-aa2cb0fb345ae696.js +0 -1
- package/out/_next/static/chunks/pages/products/new-84368a7cdb693b1d.js +0 -1
- package/out/_next/static/chunks/pages/products-a85cd9bac6151826.js +0 -1
- /package/out/_next/static/{nvzSUihMt17oSeJB8vX-J → ZINZExBw48QXAnmZi6Rup}/_ssgManifest.js +0 -0
|
@@ -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/66bf20079561271a.css" as="style"/><script src="/admin-ui-permissions.js?v=4.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/66bf20079561271a.css" as="style"/><script src="/admin-ui-permissions.js?v=4.4.2" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/66bf20079561271a.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-fdb7dfb9c66112bd.js" defer=""></script><script src="/_next/static/chunks/main-0b7c28ac78dca0b0.js" defer=""></script><script src="/_next/static/chunks/pages/_app-5dcbe8fa50ed1458.js" defer=""></script><script src="/_next/static/chunks/6984-ec6e71d0c29f8ddf.js" defer=""></script><script src="/_next/static/chunks/8479-514f7826abaa5283.js" defer=""></script><script src="/_next/static/chunks/1940-7b7e1d94d001480f.js" defer=""></script><script src="/_next/static/chunks/676-3c25d070720f719d.js" defer=""></script><script src="/_next/static/chunks/824-fd8ea3573638c07d.js" defer=""></script><script src="/_next/static/chunks/5433-6236c5f79aea6cc5.js" defer=""></script><script src="/_next/static/chunks/9527-15a5be9dda0b576e.js" defer=""></script><script src="/_next/static/chunks/pages/works/WorkDetailPage-b6850b0befe6d400.js" defer=""></script><script src="/_next/static/ZINZExBw48QXAnmZi6Rup/_buildManifest.js" defer=""></script><script src="/_next/static/ZINZExBw48QXAnmZi6Rup/_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"><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":"x"},"page":"/works/WorkDetailPage","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><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":"x"},"page":"/works/WorkDetailPage","query":{},"buildId":"ZINZExBw48QXAnmZi6Rup","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/66bf20079561271a.css" as="style"/><script src="/admin-ui-permissions.js?v=4.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/66bf20079561271a.css" as="style"/><script src="/admin-ui-permissions.js?v=4.4.2" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/66bf20079561271a.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-fdb7dfb9c66112bd.js" defer=""></script><script src="/_next/static/chunks/main-0b7c28ac78dca0b0.js" defer=""></script><script src="/_next/static/chunks/pages/_app-5dcbe8fa50ed1458.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/3286-4d962b31f1d3cfef.js" defer=""></script><script src="/_next/static/chunks/824-fd8ea3573638c07d.js" defer=""></script><script src="/_next/static/chunks/5433-6236c5f79aea6cc5.js" defer=""></script><script src="/_next/static/chunks/8837-1ab5639468c8382b.js" defer=""></script><script src="/_next/static/chunks/1362-226d9559808706fc.js" defer=""></script><script src="/_next/static/chunks/pages/works/WorkQueueListView-619dbc619e328f71.js" defer=""></script><script src="/_next/static/ZINZExBw48QXAnmZi6Rup/_buildManifest.js" defer=""></script><script src="/_next/static/ZINZExBw48QXAnmZi6Rup/_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"><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":"w"},"page":"/works/WorkQueueListView","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><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":"w"},"page":"/works/WorkQueueListView","query":{},"buildId":"ZINZExBw48QXAnmZi6Rup","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
|
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/66bf20079561271a.css" as="style"/><script src="/admin-ui-permissions.js?v=4.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/66bf20079561271a.css" as="style"/><script src="/admin-ui-permissions.js?v=4.4.2" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/66bf20079561271a.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-fdb7dfb9c66112bd.js" defer=""></script><script src="/_next/static/chunks/main-0b7c28ac78dca0b0.js" defer=""></script><script src="/_next/static/chunks/pages/_app-5dcbe8fa50ed1458.js" defer=""></script><script src="/_next/static/chunks/6984-ec6e71d0c29f8ddf.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/1940-7b7e1d94d001480f.js" defer=""></script><script src="/_next/static/chunks/676-3c25d070720f719d.js" defer=""></script><script src="/_next/static/chunks/824-fd8ea3573638c07d.js" defer=""></script><script src="/_next/static/chunks/5433-6236c5f79aea6cc5.js" defer=""></script><script src="/_next/static/chunks/8837-1ab5639468c8382b.js" defer=""></script><script src="/_next/static/chunks/9527-15a5be9dda0b576e.js" defer=""></script><script src="/_next/static/chunks/1362-226d9559808706fc.js" defer=""></script><script src="/_next/static/chunks/pages/works-9d1e4f01b5612cac.js" defer=""></script><script src="/_next/static/ZINZExBw48QXAnmZi6Rup/_buildManifest.js" defer=""></script><script src="/_next/static/ZINZExBw48QXAnmZi6Rup/_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"><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":"o"},"page":"/works","query":{},"buildId":"
|
|
11
|
+
</noscript><div id="__next"><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":"o"},"page":"/works","query":{},"buildId":"ZINZExBw48QXAnmZi6Rup","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/66bf20079561271a.css" as="style"/><script src="/admin-ui-permissions.js?v=4.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/66bf20079561271a.css" as="style"/><script src="/admin-ui-permissions.js?v=4.4.2" id="role-config-script"></script><link rel="stylesheet" href="/_next/static/css/66bf20079561271a.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-fdb7dfb9c66112bd.js" defer=""></script><script src="/_next/static/chunks/main-0b7c28ac78dca0b0.js" defer=""></script><script src="/_next/static/chunks/pages/_app-5dcbe8fa50ed1458.js" defer=""></script><script src="/_next/static/chunks/6984-ec6e71d0c29f8ddf.js" defer=""></script><script src="/_next/static/chunks/676-3c25d070720f719d.js" defer=""></script><script src="/_next/static/chunks/824-fd8ea3573638c07d.js" defer=""></script><script src="/_next/static/chunks/pages/works/management-0c5b3c46b8513d59.js" defer=""></script><script src="/_next/static/ZINZExBw48QXAnmZi6Rup/_buildManifest.js" defer=""></script><script src="/_next/static/ZINZExBw48QXAnmZi6Rup/_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"><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"><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":"ZINZExBw48QXAnmZi6Rup","nextExport":true,"isFallback":false,"appGip":true,"scriptLoader":[]}</script></body></html>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[824],{824:(e,r,i)=>{i.d(r,{$X:()=>t,Fh:()=>d,TO:()=>n,U2:()=>a,_r:()=>s,lG:()=>v,lg:()=>u,t4:()=>w,t_:()=>o});var t=function(e){return e.Pickup="PICKUP",e.Shipping="SHIPPING",e}({}),a=function(e){return e.MultiChoice="MULTI_CHOICE",e.Range="RANGE",e.SingleChoice="SINGLE_CHOICE",e.Switch="SWITCH",e}({}),n=function(e){return e.Generic="GENERIC",e.Invoice="INVOICE",e}({}),o=function(e){return e.Active="ACTIVE",e.Deleted="DELETED",e.Draft="DRAFT",e}({}),s=function(e){return e.AnswerQuotation="answerQuotation",e.BookmarkProduct="bookmarkProduct",e.BulkImport="bulkImport",e.ChangePassword="changePassword",e.CheckoutCart="checkoutCart",e.ConfirmMediaUpload="confirmMediaUpload",e.CreateCart="createCart",e.CreateEnrollment="createEnrollment",e.CreateUser="createUser",e.DownloadFile="downloadFile",e.EnrollUser="enrollUser",e.ForgotPassword="forgotPassword",e.Heartbeat="heartbeat",e.Impersonate="impersonate",e.LoginAsGuest="loginAsGuest",e.LoginWithPassword="loginWithPassword",e.LoginWithWebAuthn="loginWithWebAuthn",e.Logout="logout",e.ManageAssortments="manageAssortments",e.ManageBookmarks="manageBookmarks",e.ManageCountries="manageCountries",e.ManageCurrencies="manageCurrencies",e.ManageDeliveryProviders="manageDeliveryProviders",e.ManageFilters="manageFilters",e.ManageLanguages="manageLanguages",e.ManagePaymentCredentials="managePaymentCredentials",e.ManagePaymentProviders="managePaymentProviders",e.ManageProductReviews="manageProductReviews",e.ManageProducts="manageProducts",e.ManageQuotations="manageQuotations",e.ManageUsers="manageUsers",e.ManageWarehousingProviders="manageWarehousingProviders",e.ManageWorker="manageWorker",e.MarkOrderConfirmed="markOrderConfirmed",e.MarkOrderDelivered="markOrderDelivered",e.MarkOrderPaid="markOrderPaid",e.MarkOrderRejected="markOrderRejected",e.PageView="pageView",e.RegisterPaymentCredentials="registerPaymentCredentials",e.RemoveUser="removeUser",e.RequestQuotation="requestQuotation",e.ResetPassword="resetPassword",e.ReviewProduct="reviewProduct",e.Search="search",e.SendEmail="sendEmail",e.StopImpersonation="stopImpersonation",e.UpdateCart="updateCart",e.UpdateEnrollment="updateEnrollment",e.UpdateOrder="updateOrder",e.UpdateOrderDelivery="updateOrderDelivery",e.UpdateOrderDiscount="updateOrderDiscount",e.UpdateOrderItem="updateOrderItem",e.UpdateOrderPayment="updateOrderPayment",e.UpdateProductReview="updateProductReview",e.UpdateToken="updateToken",e.UpdateUser="updateUser",e.UpdateUsername="updateUsername",e.UploadTempFile="uploadTempFile",e.UploadUserAvatar="uploadUserAvatar",e.UseWebAuthn="useWebAuthn",e.VerifyEmail="verifyEmail",e.ViewAssortment="viewAssortment",e.ViewAssortments="viewAssortments",e.ViewCountries="viewCountries",e.ViewCountry="viewCountry",e.ViewCurrencies="viewCurrencies",e.ViewCurrency="viewCurrency",e.ViewDeliveryInterfaces="viewDeliveryInterfaces",e.ViewDeliveryProvider="viewDeliveryProvider",e.ViewDeliveryProviders="viewDeliveryProviders",e.ViewEnrollment="viewEnrollment",e.ViewEnrollments="viewEnrollments",e.ViewEvent="viewEvent",e.ViewEvents="viewEvents",e.ViewFilter="viewFilter",e.ViewFilters="viewFilters",e.ViewLanguage="viewLanguage",e.ViewLanguages="viewLanguages",e.ViewLogs="viewLogs",e.ViewOrder="viewOrder",e.ViewOrders="viewOrders",e.ViewPaymentInterfaces="viewPaymentInterfaces",e.ViewPaymentProvider="viewPaymentProvider",e.ViewPaymentProviders="viewPaymentProviders",e.ViewProduct="viewProduct",e.ViewProducts="viewProducts",e.ViewQuotation="viewQuotation",e.ViewQuotations="viewQuotations",e.ViewShopInfo="viewShopInfo",e.ViewStatistics="viewStatistics",e.ViewToken="viewToken",e.ViewTokens="viewTokens",e.ViewTranslations="viewTranslations",e.ViewUser="viewUser",e.ViewUserCount="viewUserCount",e.ViewUserEnrollments="viewUserEnrollments",e.ViewUserOrders="viewUserOrders",e.ViewUserPrivateInfos="viewUserPrivateInfos",e.ViewUserProductReviews="viewUserProductReviews",e.ViewUserPublicInfos="viewUserPublicInfos",e.ViewUserQuotations="viewUserQuotations",e.ViewUserRoles="viewUserRoles",e.ViewUserTokens="viewUserTokens",e.ViewUsers="viewUsers",e.ViewWarehousingInterfaces="viewWarehousingInterfaces",e.ViewWarehousingProvider="viewWarehousingProvider",e.ViewWarehousingProviders="viewWarehousingProviders",e.ViewWork="viewWork",e.ViewWorkQueue="viewWorkQueue",e.VoteProductReview="voteProductReview",e}({}),w=function(e){return e.Asc="ASC",e.Desc="DESC",e}({}),u=function(e){return e.Physical="PHYSICAL",e.Virtual="VIRTUAL",e}({}),d=function(e){return e.Allocated="ALLOCATED",e.Deleted="DELETED",e.Failed="FAILED",e.New="NEW",e.Success="SUCCESS",e}({}),v=function(e){return e.Budgetsms="BUDGETSMS",e.Bulkgate="BULKGATE",e.BulkImport="BULK_IMPORT",e.Email="EMAIL",e.EnrollmentOrderGenerator="ENROLLMENT_ORDER_GENERATOR",e.ErrorNotifications="ERROR_NOTIFICATIONS",e.ExportToken="EXPORT_TOKEN",e.External="EXTERNAL",e.Heartbeat="HEARTBEAT",e.HttpRequest="HTTP_REQUEST",e.Message="MESSAGE",e.Push="PUSH",e.Twilio="TWILIO",e.Unknown="UNKNOWN",e.UpdateCoinbaseRates="UPDATE_COINBASE_RATES",e.UpdateEcbRates="UPDATE_ECB_RATES",e.ZombieKiller="ZOMBIE_KILLER",e}({})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7175],{564:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(9985);function s(){let e=(0,a._)(["\n fragment ProductDetailFragment on Product {\n _id\n sequence\n status\n created\n tags\n updated\n published\n\n media {\n _id\n tags\n file {\n _id\n url\n }\n }\n reviews {\n _id\n created\n author {\n _id\n username\n isGuest\n }\n rating\n title\n review\n voteCount\n ownVotes {\n type\n timestamp\n }\n }\n siblings {\n _id\n media {\n _id\n file {\n _id\n url\n }\n }\n }\n }\n"]);return s=function(){return e},e}let l=(0,r(15968).J1)(s())},815:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(9985);function s(){let e=(0,a._)(["\n fragment ProductTextsFragment on ProductTexts {\n _id\n locale\n slug\n title\n subtitle\n description\n vendor\n brand\n labels\n }\n"]);return s=function(){return e},e}let l=(0,r(15968).J1)(s())},7823:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(26514),s=r(96456),l=r.n(s),n=r(46225),o=r(644);let d=e=>{var t,r;let{routeName:s=null,currentPageTitle:d=null,depth:i=null}=e,u=(0,n.useRouter)(),{formatMessage:c}=(0,o.A)(),m={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},p=null==(r=u.asPath)||null==(t=r.split("/"))?void 0:t.filter((e,t)=>{var r,a;return(null==(a=u.asPath)||null==(r=a.split("/"))?void 0:r.indexOf(e))===t});if(1===p.length)return null;let g="";i&&p.splice(i),s&&(p[p.length-1]=s);let h=null==p?void 0:p.map(e=>{if(g+="".concat(e,"/"),!e)return{name:c({id:"home",defaultMessage:"Home"}),path:"/"};let t=null==e?void 0:e.split("?")[0],r=s?t:t.replace(/-/g," "),a=m[t];return{name:a?c({id:a,defaultMessage:r}):decodeURIComponent(r),path:g.replace(/.$/,"")}});return(0,a.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,a.jsx)("ol",{className:"flex items-center space-x-4",children:null==h?void 0:h.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsxs)("div",{className:"flex items-center",children:[0!==t&&(0,a.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,a.jsx)(l(),{href:e.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:t===h.length-1&&d?d:e.name})]})},e.path))})})}},10702:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(26514),s=r(75834),l=r(13226),n=r(74781);let o=e=>{let{children:t,onlyFull:r=!1}=e,{languageDialectList:o,selectedLocale:d,setSelectedLocale:i}=(0,n.A)(),u=(0,s.useContext)(l.r),c=o.filter(e=>!r||e.isoCode.includes("-"));return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"w-fit mt-5 mb-3 ".concat(u?"ml-5":""),children:(0,a.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:d||"",onChange:e=>{e.stopPropagation(),i(e.target.value)},children:null==c?void 0:c.map(e=>(0,a.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,a.jsx)("div",{children:s.cloneElement(t)})]})}},13414:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,dF:()=>s,id:()=>a});let a=e=>{if(!e)return null;let t=null==e?void 0:e.split("_id_");return null==t?void 0:t.pop()},s=e=>{if(!e)return null;let[t]=(null==e?void 0:e.split("_id_"))||[];return t},l=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{_id:r,texts:a}=t||{};return a||r?"".concat((null==a||null==(e=a.slug)?void 0:e.split("/").join(""))||"","_id_").concat(r):null}},23767:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var a=r(26514),s=r(75834),l=r(69001),n=r.n(l),o=r(644),d=r(76825),i=r(65284),u=r(28635);let c=e=>{if(e){var t,r;return Array.isArray(e)?e:null==(r=e.toString())||null==(t=r.split(","))?void 0:t.map(e=>e.trim())}return[]},m=e=>{let{tagList:t,onChange:r,disabled:l=!1,name:m="tag-input",id:p="tag-input",placeholder:g="",selectOptions:h=[],className:x="",buttonText:f="",showTagsInline:b=!0}=e,{formatMessage:v}=(0,o.A)(),{theme:k}=(0,u.A)(),[j,y]=(0,s.useState)(c(t)),[w,A]=(0,s.useState)(""),N=e=>{if(!j.includes(e)&&e){let t=[...j,e];y(t),r(t),A("")}};(0,s.useMemo)(()=>{y(c(t))},[t]);let C=(0,a.jsx)(d.A,{id:p||m,name:m,placeholder:g,components:{SingleValue:()=>null},isDisabled:l,inputValue:w,onInputChange:(e,t)=>{let{action:r}=t;"input-blur"!==r&&"menu-close"!==r&&A(e)},onChange:e=>e&&N(e.value),onCreateOption:N,options:h.filter(e=>!(j||[]).includes(e.value)),value:null,formatCreateLabel:e=>f||v({id:"add_new_tag",defaultMessage:'Add "{inputValue}"'},{inputValue:e}),noOptionsMessage:e=>{let{inputValue:t}=e;return t?v({id:"no_options",defaultMessage:'No options found for "{inputValue}"'},{inputValue:t}):g},styles:(e=>{let t={control:(e,t)=>({...e,borderWidth:"1px",borderRadius:"0.375rem",minHeight:"42px",paddingLeft:"16px",paddingRight:"16px",boxShadow:t.isFocused?"0 0 0 2px #1e293b":"0 1px 2px 0 rgba(0, 0, 0, 0.05)"}),input:e=>({...e,margin:0,padding:0}),menu:e=>({...e,zIndex:9999999}),option:(e,t)=>({...e,padding:"10px 16px"})};return"dark"===e?{control:(e,r)=>({...t.control(e,r),backgroundColor:"#0f172a",borderColor:r.isFocused?"#1e293b":"#374151"}),input:e=>({...t.input(e),color:"#f1f5f9"}),menu:e=>({...t.menu(e),backgroundColor:"#0f172a",border:"1px solid #1e293b"}),option:(e,r)=>({...t.option(e,r),backgroundColor:r.isFocused?"#1e293b":"transparent",color:"#f1f5f9"}),placeholder:e=>({...e,color:"#64748b"})}:{control:(e,r)=>({...t.control(e,r),backgroundColor:"#ffffff",borderColor:r.isFocused?"#1e293b":"#cbd5e1"}),input:e=>({...t.input(e),color:"#0f172a"}),menu:e=>({...t.menu(e),backgroundColor:"#ffffff",border:"1px solid #e2e8f0"}),option:(e,r)=>({...t.option(e,r),backgroundColor:r.isFocused?"#f1f5f9":"transparent",color:"#0f172a"}),placeholder:e=>({...e,color:"#9ca3af"})}})(k),className:"w-full tag-input-creatable ".concat(x),classNamePrefix:"react-select",menuPortalTarget:(()=>{let e=document.getElementById("global-tag-input-portal");return e||((e=document.createElement("div")).id="global-tag-input-portal",e.className="tag-input-portal",Object.assign(e.style,{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",zIndex:"9999999",pointerEvents:"none"}),document.body.appendChild(e)),e})(),menuShouldBlockScroll:!1});return b?(0,a.jsxs)(a.Fragment,{children:[C,(0,a.jsx)("div",{className:n()("ml-4 flex items-center flex-wrap gap-5",j.length>0&&"mt-1"),children:null==j?void 0:j.map(e=>(0,a.jsx)(i.A,{text:e,color:"slate",onClick:()=>(e=>{let t=j.indexOf(e);if(-1!==t){let e=[...j];e.splice(t,1),r(e),y(e)}})(e)},e))})]}):C}},24984:(e,t,r)=>{"use strict";r.d(t,{W:()=>a});let a={SimpleProduct:"SIMPLE_PRODUCT",BundleProduct:"BUNDLE_PRODUCT",PlanProduct:"PLAN_PRODUCT",ConfigurableProduct:"CONFIGURABLE_PRODUCT",TokenizedProduct:"TOKENIZED_PRODUCT"}},25191:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(26514);r(75834);var s=r(36857),l=r(644);let n=e=>{let{messageKey:t,defaultMessage:r,values:n,className:o="",showIcon:d=!0}=e,{formatMessage:i}=(0,l.A)(),u=i({id:t,defaultMessage:r},n);return u?(0,a.jsxs)("div",{className:"flex items-start space-x-1 text-sm text-slate-600 dark:text-slate-400 ".concat(o),children:[d&&(0,a.jsx)(s.A,{className:"h-4 w-4 mt-0.5 flex-shrink-0"}),(0,a.jsx)("span",{children:u})]}):null}},25851:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var a=r(26514),s=r(69001),l=r.n(s);r(75834);let n=e=>{let{text:t,children:r,onClick:s,className:n="",disabled:o=!1,id:d="",variant:i="primary",size:u="md",type:c="button",loading:m=!1,icon:p,iconRight:g,fullWidth:h=!1,rounded:x="md",ariaLabel:f,...b}=e,v=r||t,k=(p||g)&&v?"gap-2":"";return(0,a.jsx)("button",{id:d,type:c,disabled:o||m,onClick:s,"aria-label":f,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"}[u],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[x],{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"}[i],k,{"w-full":h},n),...b,children:m?(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),v]}):(0,a.jsxs)(a.Fragment,{children:[p,v,g]})})}},27413:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var a=r(26514),s=r(24322),l=r.n(s),n=r(96456),o=r.n(n),d=r(644),i=r(28248),u=r(25851);let c=e=>{let{headerText:t=null,onEdit:r=null,onDelete:s=null,children:n=null,title:c=null,addPath:m=null,addButtonText:p=null}=e,{formatMessage:g}=(0,d.A)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l(),{children:(0,a.jsxs)("title",{children:["Unchained AdminUI - ",c||t," "]})}),(0,a.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,a.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[t&&(0,a.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:t}),(0,a.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[n,m&&(0,a.jsx)(o(),{href:m,children:(0,a.jsx)(u.A,{variant:"secondary",icon:(0,a.jsx)(i.A,{className:"h-5 w-5"}),text:p||g({id:"add",defaultMessage:"Add"})})}),r&&(0,a.jsx)(u.A,{variant:"secondary",onClick:r,text:g({id:"edit",defaultMessage:"Edit"})}),s&&(0,a.jsx)(u.A,{variant:"danger",onClick:s,text:g({id:"delete",defaultMessage:"Delete"})})]})]})})]})}},28248:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(75834);let s=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 4.5v15m7.5-7.5h-15"}))})},36857:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(75834);let s=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:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))})},50899:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(26514),s=r(69001),l=r.n(s),n=r(2560),o=r(19404);let d=e=>{let{options:t,...r}=(0,n.A)(e),{className:s}=e||{className:""};return(0,a.jsx)(o.A,{...r,children:(0,a.jsx)("div",{className:"select-wrap",children:(0,a.jsxs)("select",{className:l()("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-slate-300 dark:border-slate-700 py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800 sm:text-sm",s,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!r.error}),disabled:r.disabled,id:r.name,name:r.name,onChange:r.onChange,onBlur:r.onBlur,value:r.value,children:[(0,a.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:r.required,hidden:r.required,children:r.placeholder||r.label}),Object.entries(t).map(e=>{let[t,r]=e;return(0,a.jsx)("option",{className:"dark:text-slate-200",value:r,children:t},r)})]})})})}},51599:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(9985),s=r(15968),l=r(62206),n=r(564),o=r(815);function d(){let e=(0,a._)(["\n mutation CreateProduct(\n $product: CreateProductInput!\n $texts: [ProductTextInput!]\n ) {\n createProduct(product: $product, texts: $texts) {\n ...ProductDetailFragment\n ... on SimpleProduct {\n texts {\n ...ProductTextsFragment\n }\n }\n ... on ConfigurableProduct {\n texts {\n ...ProductTextsFragment\n }\n }\n ... on BundleProduct {\n texts {\n ...ProductTextsFragment\n }\n }\n ... on TokenizedProduct {\n texts {\n ...ProductTextsFragment\n }\n }\n ... on PlanProduct {\n texts {\n ...ProductTextsFragment\n }\n }\n }\n }\n ","\n ","\n"]);return d=function(){return e},e}let i=(0,s.J1)(d(),n.A,o.A),u=()=>{let[e,{data:t,error:r,loading:a}]=(0,l.n)(i);return{createProduct:async t=>{let{product:{type:r,tags:a},texts:s}=t;return e({variables:{product:{type:r,tags:a},texts:s},refetchQueries:["Products","ShopStatus","ShopInfo"]})},newProduct:null==t?void 0:t.createProduct,error:r,loading:a}}},58632:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/new",function(){return r(99760)}])},62206:(e,t,r)=>{"use strict";r.d(t,{n:()=>i});var a=r(41706),s=r(75834),l=r(40687),n=r(69135);let o=r(32064).S?s.useLayoutEffect:s.useEffect;var d=r(99236);function i(e,t){let r=(0,d.m)(t?.client),[i,c]=s.useState(()=>u(r)),m=s.useRef({result:i,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});o(()=>{Object.assign(m.current,{client:r,options:t,mutation:e})});let p=s.useCallback((e={})=>{let{options:t,mutation:r}=m.current,s={...t,mutation:r},o=e.client||m.current.client;!m.current.result.loading&&m.current.isMounted&&c(m.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});let d=++m.current.mutationId,i=(0,l.l)(s,e);return(0,n.X)(o.mutate(i).then(t=>{let{data:r,error:s}=t,l=e.onError||m.current.options?.onError;if(s&&l&&l(s,i),d===m.current.mutationId){let e={called:!0,loading:!1,data:r,error:s,client:o};m.current.isMounted&&!(0,a.L)(m.current.result,e)&&c(m.current.result=e)}let n=e.onCompleted||m.current.options?.onCompleted;return s||n?.(t.data,i),t},t=>{if(d===m.current.mutationId&&m.current.isMounted){let e={loading:!1,error:t,data:void 0,called:!0,client:o};(0,a.L)(m.current.result,e)||c(m.current.result=e)}let r=e.onError||m.current.options?.onError;throw r&&r(t,i),t}))},[]),g=s.useCallback(()=>{if(m.current.isMounted){let e=u(m.current.client);Object.assign(m.current,{mutationId:0,result:e}),c(e)}},[]);return s.useEffect(()=>{let e=m.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[p,{reset:g,...i}]}function u(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}},65284:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(26514),s=r(69001),l=r.n(s),n=r(75433);let o=e=>{let{text:t,className:r="",dotted:s=null,color:o="green",square:d=null,onClick:i=null}=e,u=null==o?void 0:o.trim(),c="rainbow"===u;return(0,a.jsx)("span",{id:"badge",className:l()(c?"inline-flex items-center text-sm font-bold text-slate-900 dark:text-white shadow-lg relative p-[2px] bg-gradient-to-r from-rose-500 via-emerald-500 to-sky-500":"inline-flex items-center border ".concat((0,n.Cz)(u,400)," px-2.5 py-0.5 text-sm font-medium ").concat((0,n.ZC)(u,100)," ").concat((0,n.hk)(u,800)),r,{"rounded-full":!d,"rounded-md":d}),children:c?(0,a.jsxs)("span",{className:l()("inline-flex items-center bg-white dark:bg-slate-700 px-2.5 py-0.5",{"rounded-full":!d,"rounded-md":d}),children:[s&&(0,a.jsx)("svg",{className:"text-slate-900 dark:text-white -ml-1 mr-1.5 h-2 w-2",fill:"currentColor",viewBox:"0 0 8 8",children:(0,a.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),t,i&&(0,a.jsx)("button",{id:"badge-x-button",type:"button",onClick:i,className:"ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full text-slate-900 dark:text-white hover:bg-slate-900 hover:bg-opacity-10 dark:hover:bg-white dark:hover:bg-opacity-20 focus:outline-hidden focus:bg-slate-900 focus:bg-opacity-20 dark:focus:bg-white dark:focus:bg-opacity-30",children:(0,a.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]}):(0,a.jsxs)(a.Fragment,{children:[s&&(0,a.jsx)("svg",{className:"-ml-1 mr-1.5 h-2 w-2 ".concat((0,n.hk)(u,400)),fill:"currentColor",viewBox:"0 0 8 8",children:(0,a.jsx)("circle",{cx:"4",cy:"4",r:"3"})}),t,i&&(0,a.jsx)("button",{id:"badge-x-button",type:"button",onClick:i,className:"ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full ".concat((0,n.hk)(u,400)," hover:").concat((0,n.ZC)(u,200)," hover:text-").concat(u,"-500 focus:outline-hidden focus:").concat((0,n.ZC)(u,500)," focus:text-white"),children:(0,a.jsx)("svg",{className:"h-2 w-2",stroke:"currentColor",fill:"none",viewBox:"0 0 8 8",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeWidth:"1.5",d:"M1 1l6 6m0-6L1 7"})})})]})})}},65917:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(26514),s=r(69001),l=r.n(s),n=r(70267),o=r(77801);let d=e=>{let{label:t,disabled:r=!1,className:s="",hidden:d=!1,...i}=e,u=(0,n.j7)(),{...c}=i,m=Object.fromEntries(Object.keys(u.initialValues).map(e=>[e,u.getFieldMeta(e)])),{disabled:p}=(0,o.A)(),g=Object.values(m).reduce((e,t)=>{let{error:r,touched:a}=t;return e||r&&a},!1),h=r||p||u.isSubmitting||g,x=u.isSubmitting&&!g,f=(r||p||g)&&!u.isSubmitting;return(0,a.jsx)("input",{className:l()("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",s,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":f,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":x,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!h,hidden:d}),"aria-label":t,type:"submit",value:t,disabled:h,...c})}},70728:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(26514),s=r(69001),l=r.n(s),n=r(24048),o=r(2560),d=r(19404);let i=e=>{let{maxLength:t=0,validators:r=[],...s}=e,i=(0,o.A)({validators:[...r,t&&(0,n.Rr)(t)],...s});return(0,a.jsx)(d.A,{...i,children:(0,a.jsx)("input",{className:l()("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!i.error,"border-slate-300 placeholder-slate-400":!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onClick:e=>{e.stopPropagation()},onBlur:i.onBlur,placeholder:i.placeholder,autoComplete:i.autoComplete||"off",type:i.type||"text",value:i.value,autoFocus:i.autoFocus})})}},71759:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var a=r(26514),s=r(69001),l=r.n(s),n=r(23767),o=r(2560),d=r(24048),i=r(19404);let u=e=>{let{buttonText:t="",validators:r=[],selectOptions:s=[],...u}=e,c=(0,o.A)({validators:[...r,(0,d.mX)(null==u?void 0:u.required)],label:"Tags",...u});return(0,a.jsx)(i.A,{...c,children:(0,a.jsx)(n.A,{disabled:c.disabled,id:c.id,name:c.name,className:l()({"border-rose-300":!!c.error}),onChange:e=>c.setValue(e),placeholder:c.placeholder,tagList:c.value,buttonText:t,selectOptions:s})})}},76087:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(70324),s=r(75834),l=r(31404),n=r(644);function o(e){var t=(0,n.A)(),r=t.formatMessage,a=t.textComponent,l=void 0===a?s.Fragment:a,o=e.id,d=e.description,i=e.defaultMessage,u=e.values,c=e.children,m=e.tagName,p=void 0===m?l:m,g=r({id:o,description:d,defaultMessage:i},u,{ignoreTag:e.ignoreTag});return"function"==typeof c?c(Array.isArray(g)?g:[g]):p?s.createElement(p,null,g):s.createElement(s.Fragment,null,g)}o.displayName="FormattedMessage";var d=s.memo(o,function(e,t){var r=e.values,s=(0,a.__rest)(e,["values"]),n=t.values,o=(0,a.__rest)(t,["values"]);return(0,l.bN)(n,r)&&(0,l.bN)(s,o)});d.displayName="MemoizedFormattedMessage";let i=d},99760:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>N});var a=r(26514),s=r(46225),l=r(644),n=r(76087),o=r(7823),d=r(13226),i=r(27413),u=r(13414),c=r(824),m=r(70412),p=r(42043),g=r(50899),h=r(65917),x=r(71759),f=r(70728),b=r(95002),v=r(25191),k=r(24984),j=r(74781);let y=e=>{let{onSubmit:t,onSubmitSuccess:r}=e,{formatMessage:s}=(0,l.A)(),{hasRole:n}=(0,m.A)(),{selectedLocale:o,shopInfo:d}=(0,j.A)(),i=s({id:"product_added",defaultMessage:"Product added successfully!"}),u=(0,b.A)({submit:async e=>{let{title:r,subtitle:a,type:s,tags:l}=e;if(!r||!s)return{success:!1};let n=[{title:r,subtitle:a||"",slug:r.toLowerCase().replace(/\s+/g,"-"),locale:o}];return await t({texts:n,type:s,tags:l||[]})},onSubmitSuccess:r,successMessage:i,initialValues:{title:"",subtitle:"",type:"SimpleProduct",tags:[]}});return(0,a.jsxs)(p.A,{form:u,children:[(0,a.jsxs)("div",{className:"p-5 pb-7 sm:max-w-full flex flex-col gap-3",children:[(0,a.jsx)(f.A,{name:"title",id:"title",label:s({id:"name",defaultMessage:"Name"}),required:!0,className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,a.jsx)(f.A,{name:"subtitle",id:"subtitle",label:s({id:"subtitle",defaultMessage:"Subtitle"}),className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,a.jsx)(g.A,{className:"mt-1 w-full",label:s({id:"type",defaultMessage:"Type"}),placeholder:s({id:"type",defaultMessage:"Type"}),required:!0,name:"type",options:k.W}),(0,a.jsx)(x.A,{name:"tags",label:s({id:"tags",defaultMessage:"Tags"}),placeholder:s({id:"enter_tag",defaultMessage:"Enter tag..."}),selectOptions:((null==d?void 0:d.adminUiConfig.productTags)||[]).map(e=>({value:e,label:e}))}),(0,a.jsx)(v.A,{messageKey:"product_tags_help",defaultMessage:"Add keywords to organize and filter products (e.g., 'electronics', 'outdoor', 'premium'). These work across all languages and help customers find products through search and filters.",className:"mt-1"})]}),n(c._r.ManageProducts)&&(0,a.jsx)("div",{className:"border-t border-t-slate-100 dark:border-t-slate-700 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,a.jsx)(h.A,{label:s({id:"add_product",defaultMessage:"Add Product"})})})]})};var w=r(51599),A=r(10702);let N=()=>{let{createProduct:e}=(0,w.A)(),t=(0,s.useRouter)(),{formatMessage:r}=(0,l.A)(),c=async t=>{let{texts:r,type:a,tags:s}=t,{data:l,error:n}=await e({product:{type:a,tags:s},texts:r});return n?{success:!1}:{success:!0,data:null==l?void 0:l.createProduct}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.A,{}),(0,a.jsx)(i.A,{headerText:r({id:"new_product_header",defaultMessage:"New product"})}),(0,a.jsxs)("div",{className:"mt-6 lg:grid lg:grid-cols-3 gap-10",children:[(0,a.jsx)("div",{className:"lg:col-span-2",children:(0,a.jsx)(d.A,{children:(0,a.jsx)(A.A,{children:(0,a.jsx)(y,{onSubmit:c,onSubmitSuccess:(e,r)=>{let{...a}=r;return t.replace("/products?slug=".concat((0,u.Ay)(a))),!0}})})})}),(0,a.jsxs)("div",{className:"mt-10 lg:mt-0 lg:col-span-1 space-y-2",children:[(0,a.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",children:r({id:"product_type",defaultMessage:"Product type"})}),(0,a.jsxs)("div",{className:"text-sm divide-y divide-slate-200 dark:divide-slate-800 dark:text-slate-400 lg:mr-10",children:[(0,a.jsx)("div",{className:"my-2 py-2",children:(0,a.jsx)(n.A,{id:"simple_product_definition",defaultMessage:" <h3>Simple</h3> <p>Simple product is the most commonly used type of product type. It accepts configuration values for price, dimension and warehousing. Most e-commerce product needs are satisfied by this type </p>",values:{h3:e=>(0,a.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,a.jsx)("p",{children:e})}})}),(0,a.jsx)("div",{className:"my-2 py-2",children:(0,a.jsx)(n.A,{id:"plan_product_definition",defaultMessage:" <h3>Plan</h3> <p>Plan product is use when you have a product that is offered per subscription base. Since for this type of product the payment is usually recurring, you can adjust the interval of payment calculation. </p>",values:{h3:e=>(0,a.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,a.jsx)("p",{children:e})}})}),(0,a.jsx)("div",{className:"my-2 py-2",children:(0,a.jsx)(n.A,{id:"bundle_product_definition",defaultMessage:" <h3>Bundle</h3> <p>As the name suggest this product type enables you to create a collection/bundle of products as one and set the price accordingly. This type of product is useful if you have christmas package for example. </p>",values:{h3:e=>(0,a.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,a.jsx)("p",{children:e})}})}),(0,a.jsx)("div",{className:"my-2 py-2",children:(0,a.jsx)(n.A,{id:"configurable_product_definition",defaultMessage:" <h3>Configurable</h3> <p>Configurable Product is used to organize varieties of a product. A product might have a variation in color, size or other distinct property in that case you can use a configurable product type to organize all the variation under one category and outline-solid there difference. </p>",values:{h3:e=>(0,a.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,a.jsx)("p",{children:e})}})})]})]})]})]})}}},e=>{e.O(0,[6984,1098,6825,676,824,5433,636,6593,8792],()=>e(e.s=58632)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4268],{19050:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>Y});var s=l(26514),a=l(644),r=l(824),i=l(46225),n=l(7823),d=l(29796),u=l(27413),o=l(58751),c=l(75433),p=l(15829),m=l(77944),x=l(33023),g=l(52536),h=l(96456),f=l.n(h),v=l(65284),y=l(44726),j=l(12067),A=l(13414),_=l(70412),w=l(16227),b=l(62679),M=l(76500),C=l(57267),I=l(23249);let N=e=>{var t,l,n,d,u,o,c;let{product:p,showAvatar:m=!1,hideSortIndex:g=!1}=e,{formatMessage:h}=(0,a.A)(),N=(0,i.useRouter)(),{hasRole:E}=(0,_.A)(),{setModal:k}=(0,w.A)(),{updateProduct:T}=(0,M.A)(),{removeProduct:D}=(0,C.A)(),S=async e=>{e.target.value&&await T({productId:null==p?void 0:p._id,product:{sequence:parseInt(e.target.value,10)}})},P=async()=>{await k((0,s.jsx)(b.A,{onCancelClick:async()=>k(""),message:h({id:"delete_product_warning",defaultMessage:"This action will permanently delete this product and all associated data. Are you sure you want to continue?"}),onOkClick:async()=>{k(""),await D({productId:p._id})},okText:h({id:"delete_product",defaultMessage:"Delete Product"})}))},F="/products?slug=".concat((0,A.Ay)(p)),q=(0,s.jsx)("span",{className:"text-xs mt-1 px-2 py-0.5 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-200 rounded w-fit",children:(p.__typename||p.type||"SimpleProduct").replace("Product","")||"Simple"});return(0,s.jsxs)(x.A.Row,{className:"group",children:[(0,s.jsx)(x.A.Cell,{children:(null==p?void 0:p.status)!=="DELETED"?(0,s.jsxs)(f(),{href:F,className:"flex items-center text-sm text-slate-900 dark:text-slate-300 group-hover:text-slate-700 dark:group-hover:text-slate-100",children:[m&&(0,s.jsx)(y.A,{file:(null==p||null==(t=p.media)?void 0:t.length)&&p.media[0].file,className:"mr-3"}),(0,s.jsx)("div",{className:"flex flex-col",children:(0,s.jsx)("div",{className:"flex items-center gap-2",children:(null==p||null==(l=p.texts)?void 0:l.title)||(0,s.jsxs)(s.Fragment,{children:[p._id," ",(0,s.jsx)(v.A,{color:"yellow",text:h({id:"title_not_found",defaultMessage:"Title not found"})})]})})})]}):(0,s.jsxs)("div",{className:"flex items-center text-sm text-slate-900",children:[m&&(0,s.jsx)(y.A,{file:(null==p||null==(n=p.media)?void 0:n.length)&&p.media[0].file,className:"mr-3"}),(0,s.jsx)("div",{className:"flex flex-col",children:(0,s.jsx)("div",{className:"flex items-center gap-2",children:(null==p||null==(d=p.texts)?void 0:d.title)||(0,s.jsxs)(s.Fragment,{children:[p._id," ",(0,s.jsx)(v.A,{color:"yellow",text:h({id:"title_not_found",defaultMessage:"Title not found"})})]})})})]})}),(0,s.jsx)(x.A.Cell,{className:"whitespace-nowrap px-6",children:q}),(0,s.jsx)(x.A.Cell,{className:"whitespace-nowrap px-6",children:(null==p?void 0:p.status)!=="DELETED"?(0,s.jsx)(f(),{href:F,className:"block",children:(0,s.jsx)(I.j,{status:null==p?void 0:p.status})}):(0,s.jsx)(I.j,{status:null==p?void 0:p.status})}),(0,s.jsx)(x.A.Cell,{children:(null==p?void 0:p.status)!=="DELETED"?(0,s.jsx)(f(),{href:F,className:"block",children:(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:null==(u=p.tags)?void 0:u.map(e=>(0,s.jsx)(v.A,{text:e,color:"slate"},e))})}):(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:null==(o=p.tags)?void 0:o.map(e=>(0,s.jsx)(v.A,{text:e,color:"slate"},e))})}),g?null:(0,s.jsx)(x.A.Cell,{children:(0,s.jsx)("input",{type:"number",id:"".concat(null==p?void 0:p._id,"-sequence"),className:"text-center w-16 shadow-xs focus:ring-slate-900 dark:bg-slate-800 dark:border-slate-700 focus:border-slate-900 block text-sm border-slate-300 rounded-md mr-2 font-semibold text-slate-900 dark:text-slate-300",defaultValue:null==p?void 0:p.sequence,disabled:!E(r._r.ManageProducts),onBlur:S,onClick:e=>e.stopPropagation(),onFocus:e=>e.stopPropagation()})}),(0,s.jsx)(x.A.Cell,{className:"text-right",children:(0,s.jsx)(j.A,{onEdit:(null==p?void 0:p.status)!=="DELETED"?()=>{(null==p?void 0:p.status)!=="DELETED"&&N.push("/products?slug=".concat((0,A.Ay)(p)))}:void 0,onDelete:E(r._r.ManageProducts)&&(null==p?void 0:p.status)==="DRAFT"?P:void 0,showEdit:(null==p?void 0:p.status)!=="DELETED",showDelete:E(r._r.ManageProducts)&&(null==p?void 0:p.status)==="DRAFT"&&!(null==p||null==(c=p.proxies)?void 0:c.length)})})]})};var E=l(74781);let k=e=>{let{showAvatar:t=!0,queryString:l,limit:r,offset:i,tags:n,sortKeys:d,includeDrafts:u,sortable:o}=e,{formatMessage:c}=(0,a.A)(),{selectedLocale:h}=(0,E.A)(),{products:f,loading:v,loadMore:y,hasMore:j}=(0,g.A)({queryString:l,includeDrafts:u,limit:r,offset:i,tags:n,sort:d,forceLocale:h});return v&&(null==f?void 0:f.length)===0?(0,s.jsx)(p.A,{}):(0,s.jsx)(m.A,{loading:v,hasMore:j,onLoadMore:y,children:(0,s.jsxs)(x.A,{className:"min-w-full ",children:[null==f?void 0:f.map(e=>(0,s.jsxs)(x.A.Row,{header:!0,enablesort:o,children:[(0,s.jsx)(x.A.Cell,{children:c({id:"name",defaultMessage:"Name"})}),(0,s.jsx)(x.A.Cell,{sortKey:"type",children:c({id:"type",defaultMessage:"Type"})}),(0,s.jsx)(x.A.Cell,{sortKey:"status",children:c({id:"status",defaultMessage:"Status"})}),(0,s.jsx)(x.A.Cell,{children:c({id:"tags",defaultMessage:"Tags"})}),(0,s.jsx)(x.A.Cell,{sortKey:"sequence",defaultSortDirection:"ASC",children:c({id:"sequence",defaultMessage:"Display Order"})}),(0,s.jsx)(x.A.Cell,{children:"\xa0"})]},e._id)),null==f?void 0:f.map(e=>(0,s.jsx)(N,{product:e,showAvatar:t},"".concat(null==e?void 0:e._id,"-body")))]})})};var T=l(21701),D=l(86960),S=l(62151),P=l(23282),F=l(10702),q=l(65624),R=l(75834),L=l(25851),$=l(65459),O=l(15796);async function V(e,t){let l={products:{},prices:{}};return await Promise.all(e.map(async e=>{let{data:s}=await t.query({query:(0,$.g)(),variables:{productId:e._id}});l.products[e._id]=(null==s?void 0:s.translatedProductTexts)||[];let{data:a}=await t.query({query:O.R,variables:{productId:e._id}});l.prices[e._id]=(null==a?void 0:a.productCatalogPrices)||[]})),l}var U=l(88072),G=l(24984);let W={base:["_id","sku","baseUnit","sequence","status","tags","updated","published","__typename"],textFields:["title","subtitle","description","vendor","brand","labels","slug"],priceFields:["productId","amount","currencyCode","countryCode","isTaxable","isNetPrice","maxQuantity"]},B=e=>{let{queryString:t,includeDrafts:l,tags:r,sort:i}=e,{products:n,loading:d,client:u}=(0,g.A)({limit:0,queryString:t,includeDrafts:l,tags:r,sort:i}),{languageDialectList:o}=(0,E.A)(),{formatMessage:c}=(0,a.A)(),[p,m]=(0,R.useState)(!1),x=(0,R.useMemo)(()=>{var e;return null!=(e=null==o?void 0:o.map(e=>e.isoCode))?e:[]},[o]),h=(0,R.useMemo)(()=>[...W.base,...x.flatMap(e=>W.textFields.map(t=>"texts.".concat(e,".").concat(t))),"supply.weightInGram","supply.heightInMillimeters","supply.lengthInMillimeters","supply.widthInMillimeters"],[x]),f=(0,R.useMemo)(()=>[...W.priceFields],[]),{exportCSV:v,isExporting:y}=(0,U._)(n,e=>e,{headers:h}),{exportCSV:j}=(0,U._)(n,e=>e,{headers:f}),A=(0,R.useCallback)(async()=>{m(!0);let e=await V(n,u);m(!1);let t={};for(let l in e.products)for(let s of(t[l]={},e.products[l]))t[l][s.locale]=s;let l=[];v("products_export",n.map(s=>{var a,r,i,n,d,u,o,c,p;let{...m}=s,g={};(null!=(d=null==e?void 0:e.prices[m._id])?d:[]).forEach(e=>{var t,s,a;l.push({productId:m._id,amount:null!=(t=e.amount)?t:"",isNetPrice:null!=(s=e.isNetPrice)?s:"",isTaxable:null!=(a=e.isTaxable)?a:"",currencyCode:e.currency.isoCode,countryCode:e.country.isoCode})}),W.base.forEach(e=>{var t;"__typename"===e?g[e]=G.W[m[e]]:g[e]=null!=(t=m[e])?t:""}),g["supply.weightInGram"]=null!=(u=null==m||null==(a=m.dimensions)?void 0:a.weight)?u:"",g["supply.heightInMillimeters"]=null!=(o=null==m||null==(r=m.dimensions)?void 0:r.height)?o:"",g["supply.lengthInMillimeters"]=null!=(c=null==m||null==(i=m.dimensions)?void 0:i.length)?c:"",g["supply.widthInMillimeters"]=null!=(p=null==m||null==(n=m.dimensions)?void 0:n.width)?p:"";let h=t[m._id]||{};return x.forEach(e=>{let t=h[e]||{};W.textFields.forEach(l=>{let s=t[l];Array.isArray(s)&&(s=s.join(";")),g["texts.".concat(e,".").concat(l)]=null!=s?s:""})}),g})),j("products_prices_export",l)},[n,u,v,x]);return d?null:(0,s.jsx)(L.A,{onClick:A,disabled:y||p||!n.length,variant:"secondary",text:c(p?{id:"loading_translations",defaultMessage:"Loading translations..."}:y?{id:"exporting",defaultMessage:"Exporting..."}:{id:"export",defaultMessage:"Export"})})};var J=l(31775);let X=(e,t)=>{let{productsCSV:l}=e,s=[];for(let e of l)Object.values(G.W).includes(null==e?void 0:e.__typename)||s.push(t.formatMessage({id:"product_import.validation.invalid_type",defaultMessage:"Invalid product type: {type}"},{type:e.type}));return s};var K=l(73276),Q=l(7131),z=l.n(Q);let Z=e=>{let{onImport:t}=e,l=(0,R.useRef)(null),r=(0,R.useRef)(null),[i,n]=(0,R.useState)([]),[d,u]=(0,R.useState)([]),[o,c]=(0,R.useState)(!1),{formatMessage:p}=(0,a.A)(),m=async e=>{let t=await e.text();return z().parse(t,{header:!0,skipEmptyLines:!0}).data},x=async(e,t)=>{var l;let s=null==(l=e.target.files)?void 0:l[0];s&&(t(await m(s)),e.target.value="")},g=(0,R.useCallback)(async()=>{c(!0);try{await t({productsCSV:i,pricesCSV:d})}catch(e){console.error("Error importing products:",e)}finally{c(!1)}},[i,d]);return(0,s.jsxs)("div",{className:"max-w-md mx-auto p-6 bg-gray-50 border border-gray-200 rounded-lg flex flex-col gap-4",children:[(0,s.jsx)("h3",{className:"text-center text-lg font-semibold",children:p({id:"products_import_title",defaultMessage:"Import Products"})}),(0,s.jsx)("p",{className:"text-center text-sm text-gray-600",children:p({id:"product_import_description",defaultMessage:"Select your products CSV and optional Product prices CSV, then click Import."})}),(0,s.jsx)("input",{ref:l,type:"file",accept:".csv",onChange:e=>x(e,n),className:"hidden"}),(0,s.jsx)("input",{ref:r,type:"file",accept:".csv",onChange:e=>x(e,u),className:"hidden"}),(0,s.jsx)(L.A,{text:p(i.length?{id:"products_file_selected",defaultMessage:"Products CSV Selected"}:{id:"select_products_csv",defaultMessage:"Select Products CSV"}),onClick:()=>{var e;return null==(e=l.current)?void 0:e.click()},variant:"secondary",disabled:o,className:"w-full"}),(0,s.jsx)(L.A,{text:p(d.length?{id:"prices_file_selected",defaultMessage:"Prices CSV Selected"}:{id:"select_prices_csv",defaultMessage:"Select Product prices CSV (Optional)"}),onClick:()=>{var e;return null==(e=r.current)?void 0:e.click()},variant:"secondary",disabled:o||!i.length,className:"w-full"}),(0,s.jsx)(L.A,{text:p(o?{id:"importing",defaultMessage:"Importing..."}:{id:"import",defaultMessage:"Import"}),onClick:g,disabled:o||!i.length,variant:"primary",className:"w-full"}),i.length>0&&(0,s.jsx)("p",{className:"text-center text-xs text-gray-500",children:p({id:"ready_to_import",defaultMessage:"Ready to import {products} products{prices}."},{products:i.length,prices:d.length?" with ".concat(d.length," prices"):""})})]})},H=()=>{let{formatMessage:e}=(0,a.A)(),{hasRole:t}=(0,_.A)(),{setModal:l}=(0,w.A)(),{prepareProductImport:i}={prepareProductImport:async e=>{let{productsCSV:t,pricesCSV:l}=e;return(t||[]).map(e=>{let t,s=(l||[]).filter(t=>t.productId===e._id);return s.length&&(t=s.map(e=>{var t;let{amount:l,maxQuantity:s,isNetPrice:a,isTaxable:r,...i}=e;return{amount:null!=(t=parseInt(l))?t:0,isNetPrice:"true"===a,isTaxable:"true"===r,maxQuantity:s||0,...i}})),(e=>{let t=new Date;return{entity:"PRODUCT",operation:"CREATE",payload:{_id:e._id,specification:{...e,published:"ACTIVE"===e.status?t:null,status:"ACTIVE"===e.status?"ACTIVE":null,warehousing:{sku:e.sku,baseUnit:e.baseUnit},commerce:e.commerce?{pricing:e.commerce}:void 0}}}})({...(e=>{var t,l,s,a;let r=e["supply.weightInGram"]||e["supply.heightInMillimeters"]||e["supply.lengthInMillimeters"]||e["supply.widthInMillimeters"],i=e.sku||e.baseUnit,n=(e=>{let t={};return Object.entries(e).forEach(e=>{let[l,s]=e;if(!l.startsWith("texts."))return;let[,a,r]=l.split(".");t[a]||(t[a]={}),"labels"===r?t[a][r]=s?s.split(";"):[]:t[a][r]=s||""}),t})(e);return{_id:e._id||void 0,warehousing:i?{sku:e.sku||void 0,baseUnit:e.baseUnit||void 0}:void 0,sequence:parseInt(e.sequence||"0",10),status:e.status||null,type:e.__typename,tags:e.tags?e.tags.split(";"):[],updated:e.updated||void 0,published:e.published||void 0,content:n,supply:r?{weightInGram:e["supply.weightInGram"]&&null!=(t=parseFloat(e["supply.weightInGram"]))?t:void 0,heightInMillimeters:e["supply.heightInMillimeters"]&&null!=(l=parseFloat(e["supply.heightInMillimeters"]))?l:void 0,lengthInMillimeters:e["supply.lengthInMillimeters"]&&null!=(s=parseFloat(e["supply.lengthInMillimeters"]))?s:void 0,widthInMillimeters:e["supply.widthInMillimeters"]&&null!=(a=parseFloat(e["supply.widthInMillimeters"]))?a:void 0}:void 0}})(e),commerce:t})})}},{isImporting:n,importItems:d}=(0,J.X)({validate:X,process:i});return t(r._r.ManageProducts)?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(L.A,{onClick:()=>{l((0,s.jsx)(Z,{onImport:async e=>{let t=await d(e);l((0,s.jsx)(K.A,{result:t,entityName:"products",onClose:()=>l("")}))}}))},disabled:n,variant:"secondary",text:e(n?{id:"importing",defaultMessage:"Importing..."}:{id:"import",defaultMessage:"Import"})})}):null},Y=()=>{var e,t;let{formatMessage:l}=(0,a.A)(),{shopInfo:p}=(0,E.A)(),{query:m,push:x}=(0,i.useRouter)(),g=parseInt(null==m?void 0:m.limit,10)||c.Z_,h=parseInt(null==m?void 0:m.skip,10)||0,f=(null==m?void 0:m.includeDrafts)==="true"||!(null==m?void 0:m.includeDrafts),v=(null==(e=m.tags)?void 0:e.split(","))||void 0,y=m.sort||"",{hasRole:j}=(0,_.A)(),{queryString:A,slug:w,...b}=m,M=(0,T.XM)(y),{productsCount:C}=(0,S.A)({queryString:A,includeDrafts:f,tags:v});if(w)return(0,s.jsx)(P.default,{slug:w});let I=1===C?l({id:"products_header",defaultMessage:"1 Product"}):l({id:"products_count_header",defaultMessage:"{count} Products"},{count:(0,s.jsx)(q.A,{value:null!=C?C:0})}),N=((null==p||null==(t=p.adminUiConfig)?void 0:t.productTags)||[]).map(e=>({value:e,label:e}));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.A,{}),(0,s.jsx)("div",{className:"w-full",children:(0,s.jsxs)(u.A,{title:l({id:"product_page_title",defaultMessage:"{count, plural, one {# Product} other {# Products}}"},{count:C}),headerText:I,addPath:j(r._r.ManageProducts)&&"/products/new",addButtonText:l({id:"add_product",defaultMessage:"Add Product"}),children:[(0,s.jsx)(B,{includeDrafts:f,queryString:A,sort:M,tags:v}),(0,s.jsx)(H,{})]})}),(0,s.jsxs)("div",{className:"min-w-full overflow-x-auto px-1",children:[(0,s.jsx)(d.A,{children:(0,s.jsx)(o.A,{toggleText:l({id:"include_drafts",defaultMessage:"Include drafts"}),toggleKey:"includeDrafts",active:f})}),(0,s.jsx)(D.A,{onSearchChange:e=>{let{skip:t,...l}=b;e?x({query:(0,T.GC)(l,e,"queryString")}):x({query:(0,T.GC)(b)})},defaultSearchValue:A,showTagFilter:!0,availableTagOptions:N,children:(0,s.jsx)(F.A,{onlyFull:!0,children:(0,s.jsx)(k,{sortable:!0,queryString:A,includeDrafts:f,limit:g,offset:h,tags:v,sortKeys:M})})})]})]})}},23249:(e,t,l)=>{"use strict";l.d(t,{j:()=>n});var s=l(26514);l(75834);var a=l(644),r=l(65284);let i={DRAFT:"yellow",ACTIVE:"emerald",DELETED:"amber",null:"yellow",undefined:"yellow"},n=e=>{let{status:t}=e,{formatMessage:l}=(0,a.A)();return l({id:"pending",defaultMessage:"PENDING"}),l({id:"confirmed",defaultMessage:"CONFIRMED"}),l({id:"open",defaultMessage:"OPEN"}),l({id:"fulfilled",defaultMessage:"FULFILLED"}),l({id:"rejected",defaultMessage:"REJECTED"}),(0,s.jsx)(r.A,{text:(e=>{switch(e){case"ACTIVE":return l({id:"active",defaultMessage:"Active"});case"DRAFT":default:return l({id:"draft",defaultMessage:"Draft"});case"DELETED":return l({id:"deleted",defaultMessage:"Deleted"})}})(t),color:i[t]||"yellow",square:!0,dotted:!0})}},29796:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var s=l(26514),a=l(644);let r=e=>{let{children:t=null,totalRecords:l=null}=e,{formatMessage:r}=(0,a.A)();return(0,s.jsxs)("div",{className:"mt-5",children:[null!==l?(0,s.jsx)("div",{className:"text-md text-slate-950 dark:text-slate-100 mb-3",children:r({id:"total_records",defaultMessage:"{total} records found"},{total:null!=l?l:0})}):null,t&&(0,s.jsx)("div",{className:"flex items-center mt-10",children:(0,s.jsx)("h3",{className:"text-xs leading-6 text-slate-500 dark:text-slate-200",children:t})})]})}},31775:(e,t,l)=>{"use strict";l.d(t,{X:()=>n});var s=l(75834),a=l(644),r=l(73960),i=l(824);let n=e=>{let{validate:t,process:l}=e,{addWork:n}=(0,r.A)(),[d,u]=(0,s.useState)(!1),o=(0,a.A)();return{isImporting:d,importItems:async e=>{let s={success:0,failed:0,created:0,updated:0,errors:[]};try{u(!0);let a=t(e,o);a.length>0&&(s.failed++,s.errors.push(...a));let r=await l(e);return await n({type:i.lG.BulkImport,input:{createShouldUpsertIfIDExists:!0,events:r}}),s.success=(null==r?void 0:r.length)-(null==s?void 0:s.failed),u(!1),s}catch(e){console.error("Import failed:",e),u(!1)}}}}},44726:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var s=l(26514),a=l(69001),r=l.n(a),i=l(644),n=l(65990),d=l(35429);let u=e=>{let{file:t,className:l=""}=e,{formatMessage:a}=(0,i.A)();return(0,s.jsx)("div",{className:r()("h-10 w-10 shrink-0",l),children:t?(0,s.jsx)(n.A,{className:"relative h-10 w-10 rounded-sm",src:t.url,width:100,height:100,alt:a({id:"image_not_available",defaultMessage:"Image not available"})}):(0,s.jsx)(d.A,{})})}},62151:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var s=l(9985),a=l(15968),r=l(70486);function i(){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 i=function(){return e},e}let n=(0,a.J1)(i()),d=e=>{let{queryString:t="",tags:l=null,includeDrafts:s=!0}=e,{data:a,loading:i,error:d}=(0,r.I)(n,{variables:{queryString:t,includeDrafts:s,tags:l}});return{productsCount:null==a?void 0:a.productsCount,loading:i,error:d}}},65624:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var s=l(26514),a=l(75834);let r=e=>{let{value:t,duration:l=300}=e,[r,i]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e,s;if(0===t)return void i(0);let a=r=>{e||(e=r);let n=Math.min((r-e)/l,1);i(Math.round((1-Math.pow(1-n,3))*t)),n<1&&(s=requestAnimationFrame(a))};return s=requestAnimationFrame(a),()=>{s&&cancelAnimationFrame(s)}},[t,l]),(0,s.jsx)("span",{children:r})}},73276:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var s=l(26514);l(75834);var a=l(644),r=l(25851);let i=e=>{let{result:t,onClose:l,title:i,entityName:n="items"}=e,{formatMessage:d}=(0,a.A)();return(0,s.jsxs)("div",{className:"p-4",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold mb-4",children:i||d({id:"import_results",defaultMessage:"Import Results"})}),(0,s.jsx)("p",{className:"text-green-600",children:d({id:"items_imported",defaultMessage:"{count} {entityName} imported successfully"},{count:t.success,entityName:n})}),t.failed>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-red-600 mt-2",children:d({id:"items_failed",defaultMessage:"{count} {entityName} failed to import"},{count:t.failed,entityName:n})}),(0,s.jsxs)("div",{className:"mt-2 max-h-40 overflow-y-auto",children:[t.errors.slice(0,10).map((e,t)=>(0,s.jsx)("p",{className:"text-sm text-red-500",children:e},t)),t.errors.length>10&&(0,s.jsxs)("p",{className:"text-sm text-gray-500",children:["... and ",t.errors.length-10," more errors"]})]})]}),(0,s.jsx)(r.A,{onClick:l,className:"mt-4",text:d({id:"close",defaultMessage:"Close"})})]})}},73960:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var s=l(9985),a=l(15968),r=l(62206);function i(){let e=(0,s._)(["\n mutation AddWork(\n $type: WorkType!\n $priority: Int! = 0\n $input: JSON\n $originalWorkId: ID\n $scheduled: Timestamp\n $retries: Int! = 20\n ) {\n addWork(\n type: $type\n priority: $priority\n input: $input\n originalWorkId: $originalWorkId\n scheduled: $scheduled\n retries: $retries\n ) {\n _id\n }\n }\n"]);return i=function(){return e},e}let n=(0,a.J1)(i()),d=()=>{let[e]=(0,r.n)(n);return{addWork:async t=>{let{type:l,priority:s,input:a,originalWorkId:r,scheduled:i=null,retries:n}=t;return e({variables:{type:l,priority:s,input:a,originalWorkId:r,scheduled:i,retries:n},refetchQueries:["WorkQueue"]})}}}},77944:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var s=l(26514),a=l(75834),r=l(15829);let i=e=>{let{loading:t,hasMore:l,onLoadMore:i,children:n,threshold:d=200}=e,u=(0,a.useRef)(null),o=(0,a.useCallback)(e=>{let[s]=e;s.isIntersecting&&l&&!t&&i()},[l,t,i]);return(0,a.useEffect)(()=>{let e=u.current;if(!e)return;let t=new IntersectionObserver(o,{rootMargin:"".concat(d,"px")});return t.observe(e),()=>{t.disconnect()}},[o,d]),(0,s.jsxs)(s.Fragment,{children:[n,(0,s.jsx)("div",{ref:u,className:"h-4"}),t&&(0,s.jsx)("div",{className:"flex justify-center py-4",children:(0,s.jsx)(r.A,{})})]})}},84041:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/products",function(){return l(19050)}])},86960:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var s=l(26514);l(75834);var a=l(644),r=l(46225),i=l(60469),n=l(23767),d=l(65284),u=l(21701),o=l(22701);let c=e=>{var t,l,c;let{children:p,onSearchChange:m,defaultSearchValue:x,showTagFilter:g=!1,availableTagOptions:h=[]}=e,{formatMessage:f}=(0,a.A)(),{query:v,push:y}=(0,r.useRouter)(),j=e=>{if((0,o.zz)(e))y({query:(0,u.GC)(v,null==e?void 0:e.join(","),"tags")});else{let{tags:e,...t}=v;y({query:(0,u.GC)(t)})}};return(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"my-3 flex flex-col gap-3",children:(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start gap-3",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsx)(i.A,{onInputChange:m,defaultValue:x})}),g&&(0,s.jsxs)("div",{className:"flex flex-col gap-2 flex-1 sm:border-l sm:border-slate-300 sm:dark:border-slate-700 sm:pl-3",children:[(0,s.jsx)("div",{className:"max-w-xs",children:(0,s.jsx)(n.A,{buttonText:f({id:"apply",defaultMessage:"Apply"}),placeholder:f({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:null==v||null==(t=v.tags)?void 0:t.split(","),onChange:j,selectOptions:h,showTagsInline:!1})}),(null==v||null==(l=v.tags)?void 0:l.split(",").filter(Boolean).length)>0&&(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:null==v||null==(c=v.tags)?void 0:c.split(",").filter(Boolean).map(e=>(0,s.jsx)(d.A,{text:e,color:"slate",onClick:()=>{var t;let l=null==v||null==(t=v.tags)?void 0:t.split(",").filter(t=>t!==e);j(l.length>0?l:null)}},e))})]})]})}),p]})}},88072:(e,t,l)=>{"use strict";l.d(t,{_:()=>a});var s=l(75834);function a(e,t,l){let{headers:a,onError:r}=l||{},[i,n]=(0,s.useState)(!1),d=(0,s.useCallback)(function(){let l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"export",s=arguments.length>1?arguments[1]:void 0,i=s||e||[];if(null==i?void 0:i.length){n(!0);try{var d;let e=void 0===s?i.map(t):i,r=(d=null!=a?a:(()=>{let t=e.reduce((e,t)=>(Object.keys(t).forEach(t=>e.add(t)),e),new Set);return Array.from(t)})(),e.length?[d.join(","),...e.map(e=>d.map(t=>{var l;return l=e[t],Array.isArray(l)?l=l.join(";"):l&&"object"==typeof l&&(l=JSON.stringify(l)),'"'.concat(String(null!=l?l:"").replace(/"/g,'""'),'"')}).join(","))].join("\n"):""),n=new Date().toISOString().split("T")[0],u="".concat(l,"_").concat(n,".csv"),o=new Blob([r],{type:"text/csv;charset=utf-8;"}),c=document.createElement("a");if(void 0!==c.download){let e=URL.createObjectURL(o);c.setAttribute("href",e),c.setAttribute("download",u),c.style.visibility="hidden",document.body.appendChild(c),c.click(),document.body.removeChild(c),URL.revokeObjectURL(e)}}catch(e){console.error("Export failed:",e),r&&r(e)}finally{n(!1)}}},[e,t,a,r]);return{isExporting:i,exportCSV:d}}}},e=>{e.O(0,[7061,6984,8479,1098,6825,9031,2281,6475,3790,4027,676,824,5433,8837,4341,9681,9771,7434,3282,636,6593,8792],()=>e(e.s=84041)),_N_E=e.O()}]);
|
|
File without changes
|