@artisanpack-ui/ecommerce-storefront-react 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +67 -2
  3. package/dist/Addresses-D3ESHG3L.mjs +27 -0
  4. package/dist/Addresses-D3ESHG3L.mjs.map +1 -0
  5. package/dist/CategoryShow-OAGROEMA.mjs +12 -0
  6. package/dist/CategoryShow-OAGROEMA.mjs.map +1 -0
  7. package/dist/Claim-CJ4UOAUD.mjs +22 -0
  8. package/dist/Claim-CJ4UOAUD.mjs.map +1 -0
  9. package/dist/Confirmation-TLMMBPWS.mjs +20 -0
  10. package/dist/Confirmation-TLMMBPWS.mjs.map +1 -0
  11. package/dist/Dashboard-ARXORMTL.mjs +24 -0
  12. package/dist/Dashboard-ARXORMTL.mjs.map +1 -0
  13. package/dist/Downloads-CEQBY7JO.mjs +25 -0
  14. package/dist/Downloads-CEQBY7JO.mjs.map +1 -0
  15. package/dist/Index-KRR3Q7EJ.mjs +12 -0
  16. package/dist/Index-KRR3Q7EJ.mjs.map +1 -0
  17. package/dist/Index-RLQFEBTX.mjs +22 -0
  18. package/dist/Index-RLQFEBTX.mjs.map +1 -0
  19. package/dist/Index-WDJYGR5Q.mjs +12 -0
  20. package/dist/Index-WDJYGR5Q.mjs.map +1 -0
  21. package/dist/Index-XYU5QLUT.mjs +23 -0
  22. package/dist/Index-XYU5QLUT.mjs.map +1 -0
  23. package/dist/Lookup-QNUQKUID.mjs +19 -0
  24. package/dist/Lookup-QNUQKUID.mjs.map +1 -0
  25. package/dist/OrderShow-RYTP62YA.mjs +27 -0
  26. package/dist/OrderShow-RYTP62YA.mjs.map +1 -0
  27. package/dist/Orders-LZW57GE6.mjs +25 -0
  28. package/dist/Orders-LZW57GE6.mjs.map +1 -0
  29. package/dist/Profile-ZAAWFCAL.mjs +25 -0
  30. package/dist/Profile-ZAAWFCAL.mjs.map +1 -0
  31. package/dist/Show-LFWUO3KR.mjs +14 -0
  32. package/dist/Show-LFWUO3KR.mjs.map +1 -0
  33. package/dist/TagShow-FXKXRGY2.mjs +12 -0
  34. package/dist/TagShow-FXKXRGY2.mjs.map +1 -0
  35. package/dist/chunk-5UUNH3EH.mjs +1888 -0
  36. package/dist/chunk-5UUNH3EH.mjs.map +1 -0
  37. package/dist/chunk-A3MMQ2RY.mjs +183 -0
  38. package/dist/chunk-A3MMQ2RY.mjs.map +1 -0
  39. package/dist/chunk-ABGPTZ3Q.mjs +198 -0
  40. package/dist/chunk-ABGPTZ3Q.mjs.map +1 -0
  41. package/dist/chunk-BJ3FJFZQ.mjs +32 -0
  42. package/dist/chunk-BJ3FJFZQ.mjs.map +1 -0
  43. package/dist/chunk-BSASRFQ7.mjs +89 -0
  44. package/dist/chunk-BSASRFQ7.mjs.map +1 -0
  45. package/dist/chunk-CGCW3555.mjs +148 -0
  46. package/dist/chunk-CGCW3555.mjs.map +1 -0
  47. package/dist/chunk-DWR23FJD.mjs +643 -0
  48. package/dist/chunk-DWR23FJD.mjs.map +1 -0
  49. package/dist/chunk-ENY3MH2W.mjs +148 -0
  50. package/dist/chunk-ENY3MH2W.mjs.map +1 -0
  51. package/dist/chunk-EWJLRWPO.mjs +280 -0
  52. package/dist/chunk-EWJLRWPO.mjs.map +1 -0
  53. package/dist/chunk-FL5XL3ET.mjs +212 -0
  54. package/dist/chunk-FL5XL3ET.mjs.map +1 -0
  55. package/dist/chunk-FOOP6UK3.mjs +218 -0
  56. package/dist/chunk-FOOP6UK3.mjs.map +1 -0
  57. package/dist/chunk-HCC7GTVO.mjs +115 -0
  58. package/dist/chunk-HCC7GTVO.mjs.map +1 -0
  59. package/dist/chunk-HXZMY3GE.mjs +2331 -0
  60. package/dist/chunk-HXZMY3GE.mjs.map +1 -0
  61. package/dist/chunk-IOL2YQ62.mjs +109 -0
  62. package/dist/chunk-IOL2YQ62.mjs.map +1 -0
  63. package/dist/chunk-JH7SFSZA.mjs +104 -0
  64. package/dist/chunk-JH7SFSZA.mjs.map +1 -0
  65. package/dist/chunk-JJOPX4PI.mjs +205 -0
  66. package/dist/chunk-JJOPX4PI.mjs.map +1 -0
  67. package/dist/chunk-LT3GG7YQ.mjs +32 -0
  68. package/dist/chunk-LT3GG7YQ.mjs.map +1 -0
  69. package/dist/chunk-MZFULGDI.mjs +267 -0
  70. package/dist/chunk-MZFULGDI.mjs.map +1 -0
  71. package/dist/chunk-O4WPMMSH.mjs +58 -0
  72. package/dist/chunk-O4WPMMSH.mjs.map +1 -0
  73. package/dist/chunk-OU3WYFIH.mjs +397 -0
  74. package/dist/chunk-OU3WYFIH.mjs.map +1 -0
  75. package/dist/chunk-P3NIV4YG.mjs +998 -0
  76. package/dist/chunk-P3NIV4YG.mjs.map +1 -0
  77. package/dist/chunk-PEBBSZ5R.mjs +201 -0
  78. package/dist/chunk-PEBBSZ5R.mjs.map +1 -0
  79. package/dist/chunk-T5OWL6EG.mjs +73 -0
  80. package/dist/chunk-T5OWL6EG.mjs.map +1 -0
  81. package/dist/chunk-THPUK35U.mjs +132 -0
  82. package/dist/chunk-THPUK35U.mjs.map +1 -0
  83. package/dist/chunk-TPOKMH5E.mjs +142 -0
  84. package/dist/chunk-TPOKMH5E.mjs.map +1 -0
  85. package/dist/chunk-VX5TEJNU.mjs +1898 -0
  86. package/dist/chunk-VX5TEJNU.mjs.map +1 -0
  87. package/dist/chunk-WUL34MB2.mjs +268 -0
  88. package/dist/chunk-WUL34MB2.mjs.map +1 -0
  89. package/dist/chunk-WYGOMIZK.mjs +140 -0
  90. package/dist/chunk-WYGOMIZK.mjs.map +1 -0
  91. package/dist/chunk-Y2IOBBN7.mjs +127 -0
  92. package/dist/chunk-Y2IOBBN7.mjs.map +1 -0
  93. package/dist/chunk-Y5BRPEHA.mjs +54 -0
  94. package/dist/chunk-Y5BRPEHA.mjs.map +1 -0
  95. package/dist/index.d.ts +4607 -0
  96. package/dist/index.mjs +1515 -0
  97. package/dist/index.mjs.map +1 -0
  98. package/package.json +112 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025-2026 Jacob Martella
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,68 @@
1
- # Temporary Holding Version
1
+ # @artisanpack-ui/ecommerce-storefront-react
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The React pages and components of the ArtisanPack UI ecommerce storefront on Inertia. They match [`ecommerce-storefront-livewire`](https://github.com/ArtisanPack-UI/ecommerce-storefront-livewire) v2.0.0 element for element, styled only by [`@artisanpack-ui/ecommerce-storefront-core`](https://github.com/ArtisanPack-UI/ecommerce-storefront-inertia/tree/main/packages/ecommerce-storefront-core)'s stylesheet and the [`@artisanpack-ui/react`](https://github.com/ArtisanPack-UI/react) design-system components.
4
+
5
+ This package is npm only. The server side (routes, controllers, the root view, the install command and the satellite descriptor) is the Composer package [`artisanpack-ui/ecommerce-storefront-inertia`](https://github.com/ArtisanPack-UI/ecommerce-storefront-inertia).
6
+
7
+ ## Documentation
8
+
9
+ Read the docs at [docs.artisanpackui.dev/ecommerce-storefront-react](https://docs.artisanpackui.dev/ecommerce-storefront-react/home), or in the [`docs/`](https://github.com/ArtisanPack-UI/ecommerce-storefront-react/tree/main/docs) folder on GitHub.
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ php artisan ecommerce-storefront-inertia:install --stack=react
15
+ npm install @artisanpack-ui/ecommerce-storefront-react @artisanpack-ui/ecommerce-storefront-core \
16
+ @artisanpack-ui/react @artisanpack-ui/behavior @artisanpack-ui/css \
17
+ @inertiajs/react react react-dom
18
+ npm install --save-dev @vitejs/plugin-react
19
+ ```
20
+
21
+ | Peer | Version |
22
+ | --- | --- |
23
+ | `react`, `react-dom` | 18 or 19 |
24
+ | `@inertiajs/react` | 2 or 3 (Inertia 3 needs React 19) |
25
+ | `@artisanpack-ui/react` | ^2.1.0 |
26
+ | `@artisanpack-ui/behavior`, `@artisanpack-ui/css` | ^1.0.0 |
27
+ | `@artisanpack-ui/ecommerce-storefront-core` | The same major and minor version as this package |
28
+ | `@stripe/stripe-js` | ^10.0.0, optional: only for Stripe's Payment Element |
29
+
30
+ Then create the entry, `resources/js/ecommerce-storefront.tsx`:
31
+
32
+ ```tsx
33
+ import '@artisanpack-ui/css';
34
+ import '@artisanpack-ui/ecommerce-storefront-core/storefront.css';
35
+ import { loadTranslations } from '@artisanpack-ui/ecommerce-storefront-core';
36
+ import { resolveEcommerceStorefrontPage } from '@artisanpack-ui/ecommerce-storefront-react';
37
+ import { createInertiaApp } from '@inertiajs/react';
38
+ import { createRoot } from 'react-dom/client';
39
+
40
+ loadTranslations();
41
+
42
+ createInertiaApp({
43
+ resolve: (name) => resolveEcommerceStorefrontPage(name),
44
+ setup({ el, App, props }) {
45
+ createRoot(el).render(<App {...props} />);
46
+ },
47
+ });
48
+ ```
49
+
50
+ See [Getting Started](https://docs.artisanpackui.dev/ecommerce-storefront-react/getting-started) for the Vite setup, [Entry and Resolver](https://docs.artisanpackui.dev/ecommerce-storefront-react/installation/entry-and-resolver) for serving your own pages beside the storefront's, and [Server-Side Rendering](https://docs.artisanpackui.dev/ecommerce-storefront-react/installation/server-side-rendering).
51
+
52
+ ## Development
53
+
54
+ ```bash
55
+ npm install
56
+ npm test # Vitest and Testing Library
57
+ npm run lint # ESLint
58
+ npm run type-check # TypeScript
59
+ npm run build # tsup
60
+ npm run storybook # Storybook with the a11y addon
61
+ npm run version:check # the package and -core peer versions match
62
+ ```
63
+
64
+ `apui-gates.config.json` configures the design-system quality gates (visual, axe and parity) for the storefront components, from the manifests in `gates/manifests`.
65
+
66
+ ## License
67
+
68
+ MIT
@@ -0,0 +1,27 @@
1
+ import {
2
+ AccountAddresses
3
+ } from "./chunk-OU3WYFIH.mjs";
4
+ import "./chunk-Y5BRPEHA.mjs";
5
+ import {
6
+ AccountShell
7
+ } from "./chunk-HCC7GTVO.mjs";
8
+ import "./chunk-A3MMQ2RY.mjs";
9
+ import "./chunk-O4WPMMSH.mjs";
10
+ import "./chunk-WYGOMIZK.mjs";
11
+ import {
12
+ storefrontLayout
13
+ } from "./chunk-VX5TEJNU.mjs";
14
+
15
+ // src/pages/Account/Addresses.tsx
16
+ import { jsx } from "react/jsx-runtime";
17
+ function AccountAddressesPage({
18
+ shell,
19
+ ...rest
20
+ }) {
21
+ return /* @__PURE__ */ jsx(AccountShell, { shell, children: /* @__PURE__ */ jsx(AccountAddresses, { ...rest, showTitle: true }) });
22
+ }
23
+ AccountAddressesPage.layout = storefrontLayout;
24
+ export {
25
+ AccountAddressesPage as default
26
+ };
27
+ //# sourceMappingURL=Addresses-D3ESHG3L.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Account/Addresses.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Account/Addresses`: the address book.\n *\n * The account shell around the page, whose own heading is the page's h1\n * (ecommerce-storefront-livewire's `pages/account/addresses`), in the storefront layout.\n *\n * @since 1.0.0\n */\n\nimport type { AccountAddressesPageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { AccountShell } from '../../account/AccountShell';\nimport { AccountAddresses } from '../../account/AccountAddresses';\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\n\n/**\n * The page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function AccountAddressesPage({\n shell,\n ...rest\n}: AccountAddressesPageProps): ReactElement {\n return (\n <AccountShell shell={shell}>\n <AccountAddresses {...rest} showTitle />\n </AccountShell>\n );\n}\n\nAccountAddressesPage.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;;;;;;AA8BM;AANS,SAAR,qBAAsC;AAAA,EAC3C;AAAA,EACA,GAAG;AACL,GAA4C;AAC1C,SACE,oBAAC,gBAAa,OACZ,8BAAC,oBAAkB,GAAG,MAAM,WAAS,MAAC,GACxC;AAEJ;AAEA,qBAAqB,SAAS;","names":[]}
@@ -0,0 +1,12 @@
1
+ import {
2
+ CatalogCategoryShow
3
+ } from "./chunk-JH7SFSZA.mjs";
4
+ import "./chunk-P3NIV4YG.mjs";
5
+ import "./chunk-IOL2YQ62.mjs";
6
+ import "./chunk-ABGPTZ3Q.mjs";
7
+ import "./chunk-TPOKMH5E.mjs";
8
+ import "./chunk-VX5TEJNU.mjs";
9
+ export {
10
+ CatalogCategoryShow as default
11
+ };
12
+ //# sourceMappingURL=CategoryShow-OAGROEMA.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,22 @@
1
+ import {
2
+ AccountClaim
3
+ } from "./chunk-CGCW3555.mjs";
4
+ import "./chunk-Y5BRPEHA.mjs";
5
+ import {
6
+ AccountShell
7
+ } from "./chunk-HCC7GTVO.mjs";
8
+ import "./chunk-WYGOMIZK.mjs";
9
+ import {
10
+ storefrontLayout
11
+ } from "./chunk-VX5TEJNU.mjs";
12
+
13
+ // src/pages/Account/Claim.tsx
14
+ import { jsx } from "react/jsx-runtime";
15
+ function AccountClaimPage({ shell, ...rest }) {
16
+ return /* @__PURE__ */ jsx(AccountShell, { shell, title: shell.title, children: /* @__PURE__ */ jsx(AccountClaim, { ...rest }) });
17
+ }
18
+ AccountClaimPage.layout = storefrontLayout;
19
+ export {
20
+ AccountClaimPage as default
21
+ };
22
+ //# sourceMappingURL=Claim-CJ4UOAUD.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Account/Claim.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Account/Claim`: claiming guest orders.\n *\n * The account shell titled with the page's name, around the page\n * (ecommerce-storefront-livewire's `pages/account/claim`), in the storefront layout.\n *\n * @since 1.0.0\n */\n\nimport type { AccountClaimPageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { AccountShell } from '../../account/AccountShell';\nimport { AccountClaim } from '../../account/AccountClaim';\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\n\n/**\n * The page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function AccountClaimPage({ shell, ...rest }: AccountClaimPageProps): ReactElement {\n return (\n <AccountShell shell={shell} title={shell.title}>\n <AccountClaim {...rest} />\n </AccountShell>\n );\n}\n\nAccountClaimPage.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;;;;AA2BM;AAHS,SAAR,iBAAkC,EAAE,OAAO,GAAG,KAAK,GAAwC;AAChG,SACE,oBAAC,gBAAa,OAAc,OAAO,MAAM,OACvC,8BAAC,gBAAc,GAAG,MAAM,GAC1B;AAEJ;AAEA,iBAAiB,SAAS;","names":[]}
@@ -0,0 +1,20 @@
1
+ import {
2
+ OrderConfirmation
3
+ } from "./chunk-BSASRFQ7.mjs";
4
+ import "./chunk-FL5XL3ET.mjs";
5
+ import "./chunk-O4WPMMSH.mjs";
6
+ import "./chunk-T5OWL6EG.mjs";
7
+ import {
8
+ storefrontLayout
9
+ } from "./chunk-VX5TEJNU.mjs";
10
+
11
+ // src/pages/Order/Confirmation.tsx
12
+ import { jsx } from "react/jsx-runtime";
13
+ function OrderConfirmationPage(props) {
14
+ return /* @__PURE__ */ jsx(OrderConfirmation, { ...props, showTitle: true });
15
+ }
16
+ OrderConfirmationPage.layout = storefrontLayout;
17
+ export {
18
+ OrderConfirmationPage as default
19
+ };
20
+ //# sourceMappingURL=Confirmation-TLMMBPWS.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Order/Confirmation.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Order/Confirmation`: the order confirmation page.\n *\n * The confirmation with \"Thank you for your order\" as its title\n * (ecommerce-storefront-livewire's `pages/confirmation`), in the storefront\n * layout.\n *\n * @since 1.0.0\n */\n\nimport type { OrderConfirmationPageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\nimport { OrderConfirmation } from '../../order/OrderConfirmation';\n\n/**\n * The page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function OrderConfirmationPage(props: OrderConfirmationPageProps): ReactElement {\n return <OrderConfirmation {...props} showTitle />;\n}\n\nOrderConfirmationPage.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;;AAyBS;AADM,SAAR,sBAAuC,OAAiD;AAC7F,SAAO,oBAAC,qBAAmB,GAAG,OAAO,WAAS,MAAC;AACjD;AAEA,sBAAsB,SAAS;","names":[]}
@@ -0,0 +1,24 @@
1
+ import {
2
+ AccountDashboard
3
+ } from "./chunk-JJOPX4PI.mjs";
4
+ import {
5
+ AccountShell
6
+ } from "./chunk-HCC7GTVO.mjs";
7
+ import "./chunk-O4WPMMSH.mjs";
8
+ import {
9
+ storefrontLayout
10
+ } from "./chunk-VX5TEJNU.mjs";
11
+
12
+ // src/pages/Account/Dashboard.tsx
13
+ import { jsx } from "react/jsx-runtime";
14
+ function AccountDashboardPage({
15
+ shell,
16
+ ...rest
17
+ }) {
18
+ return /* @__PURE__ */ jsx(AccountShell, { shell, children: /* @__PURE__ */ jsx(AccountDashboard, { ...rest, greeting: shell.title, showTitle: true }) });
19
+ }
20
+ AccountDashboardPage.layout = storefrontLayout;
21
+ export {
22
+ AccountDashboardPage as default
23
+ };
24
+ //# sourceMappingURL=Dashboard-ARXORMTL.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Account/Dashboard.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Account/Dashboard`: the account dashboard.\n *\n * The account shell around the page, whose own heading is the page's h1\n * (ecommerce-storefront-livewire's `pages/account/dashboard`), in the storefront layout.\n *\n * @since 1.0.0\n */\n\nimport type { AccountDashboardPageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { AccountShell } from '../../account/AccountShell';\nimport { AccountDashboard } from '../../account/AccountDashboard';\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\n\n/**\n * The page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function AccountDashboardPage({\n shell,\n ...rest\n}: AccountDashboardPageProps): ReactElement {\n return (\n <AccountShell shell={shell}>\n <AccountDashboard {...rest} greeting={shell.title} showTitle />\n </AccountShell>\n );\n}\n\nAccountDashboardPage.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;;;AA8BM;AANS,SAAR,qBAAsC;AAAA,EAC3C;AAAA,EACA,GAAG;AACL,GAA4C;AAC1C,SACE,oBAAC,gBAAa,OACZ,8BAAC,oBAAkB,GAAG,MAAM,UAAU,MAAM,OAAO,WAAS,MAAC,GAC/D;AAEJ;AAEA,qBAAqB,SAAS;","names":[]}
@@ -0,0 +1,25 @@
1
+ import {
2
+ AccountDownloads
3
+ } from "./chunk-WUL34MB2.mjs";
4
+ import {
5
+ AccountShell
6
+ } from "./chunk-HCC7GTVO.mjs";
7
+ import "./chunk-Y2IOBBN7.mjs";
8
+ import "./chunk-TPOKMH5E.mjs";
9
+ import {
10
+ storefrontLayout
11
+ } from "./chunk-VX5TEJNU.mjs";
12
+
13
+ // src/pages/Account/Downloads.tsx
14
+ import { jsx } from "react/jsx-runtime";
15
+ function AccountDownloadsPage({
16
+ shell,
17
+ ...rest
18
+ }) {
19
+ return /* @__PURE__ */ jsx(AccountShell, { shell, title: shell.title, children: /* @__PURE__ */ jsx(AccountDownloads, { ...rest }) });
20
+ }
21
+ AccountDownloadsPage.layout = storefrontLayout;
22
+ export {
23
+ AccountDownloadsPage as default
24
+ };
25
+ //# sourceMappingURL=Downloads-CEQBY7JO.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Account/Downloads.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Account/Downloads`: downloads and license keys.\n *\n * The account shell titled with the page's name, around the page\n * (ecommerce-storefront-livewire's `pages/account/downloads`), in the storefront layout.\n *\n * @since 1.0.0\n */\n\nimport type { AccountDownloadsPageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { AccountShell } from '../../account/AccountShell';\nimport { AccountDownloads } from '../../account/AccountDownloads';\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\n\n/**\n * The page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function AccountDownloadsPage({\n shell,\n ...rest\n}: AccountDownloadsPageProps): ReactElement {\n return (\n <AccountShell shell={shell} title={shell.title}>\n <AccountDownloads {...rest} />\n </AccountShell>\n );\n}\n\nAccountDownloadsPage.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;;;;AA8BM;AANS,SAAR,qBAAsC;AAAA,EAC3C;AAAA,EACA,GAAG;AACL,GAA4C;AAC1C,SACE,oBAAC,gBAAa,OAAc,OAAO,MAAM,OACvC,8BAAC,oBAAkB,GAAG,MAAM,GAC9B;AAEJ;AAEA,qBAAqB,SAAS;","names":[]}
@@ -0,0 +1,12 @@
1
+ import {
2
+ SearchIndex
3
+ } from "./chunk-ENY3MH2W.mjs";
4
+ import "./chunk-P3NIV4YG.mjs";
5
+ import "./chunk-IOL2YQ62.mjs";
6
+ import "./chunk-ABGPTZ3Q.mjs";
7
+ import "./chunk-TPOKMH5E.mjs";
8
+ import "./chunk-VX5TEJNU.mjs";
9
+ export {
10
+ SearchIndex as default
11
+ };
12
+ //# sourceMappingURL=Index-KRR3Q7EJ.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,22 @@
1
+ import {
2
+ Cart
3
+ } from "./chunk-DWR23FJD.mjs";
4
+ import "./chunk-PEBBSZ5R.mjs";
5
+ import "./chunk-ABGPTZ3Q.mjs";
6
+ import "./chunk-TPOKMH5E.mjs";
7
+ import "./chunk-T5OWL6EG.mjs";
8
+ import "./chunk-WYGOMIZK.mjs";
9
+ import {
10
+ storefrontLayout
11
+ } from "./chunk-VX5TEJNU.mjs";
12
+
13
+ // src/pages/Cart/Index.tsx
14
+ import { jsx } from "react/jsx-runtime";
15
+ function CartIndex(props) {
16
+ return /* @__PURE__ */ jsx(Cart, { ...props });
17
+ }
18
+ CartIndex.layout = storefrontLayout;
19
+ export {
20
+ CartIndex as default
21
+ };
22
+ //# sourceMappingURL=Index-RLQFEBTX.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Cart/Index.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Cart/Index`: the cart page.\n *\n * The cart with its \"Your cart\" title (ecommerce-storefront-livewire's\n * `pages/cart`), in the storefront layout.\n *\n * @since 1.0.0\n */\n\nimport type { CartIndexPageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { Cart } from '../../cart/Cart';\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\n\n/**\n * The cart page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function CartIndex(props: CartIndexPageProps): ReactElement {\n return <Cart {...props} />;\n}\n\nCartIndex.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;;;;AAwBS;AADM,SAAR,UAA2B,OAAyC;AACzE,SAAO,oBAAC,QAAM,GAAG,OAAO;AAC1B;AAEA,UAAU,SAAS;","names":[]}
@@ -0,0 +1,12 @@
1
+ import {
2
+ CatalogIndex
3
+ } from "./chunk-BJ3FJFZQ.mjs";
4
+ import "./chunk-P3NIV4YG.mjs";
5
+ import "./chunk-IOL2YQ62.mjs";
6
+ import "./chunk-ABGPTZ3Q.mjs";
7
+ import "./chunk-TPOKMH5E.mjs";
8
+ import "./chunk-VX5TEJNU.mjs";
9
+ export {
10
+ CatalogIndex as default
11
+ };
12
+ //# sourceMappingURL=Index-WDJYGR5Q.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,23 @@
1
+ import {
2
+ Checkout,
3
+ registerPaymentDrivers
4
+ } from "./chunk-5UUNH3EH.mjs";
5
+ import "./chunk-A3MMQ2RY.mjs";
6
+ import "./chunk-O4WPMMSH.mjs";
7
+ import "./chunk-T5OWL6EG.mjs";
8
+ import "./chunk-WYGOMIZK.mjs";
9
+ import {
10
+ checkoutLayout
11
+ } from "./chunk-VX5TEJNU.mjs";
12
+
13
+ // src/pages/Checkout/Index.tsx
14
+ import { jsx } from "react/jsx-runtime";
15
+ registerPaymentDrivers();
16
+ function CheckoutIndex(props) {
17
+ return /* @__PURE__ */ jsx(Checkout, { ...props });
18
+ }
19
+ CheckoutIndex.layout = checkoutLayout;
20
+ export {
21
+ CheckoutIndex as default
22
+ };
23
+ //# sourceMappingURL=Index-XYU5QLUT.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Checkout/Index.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Checkout/Index`: the checkout, in both layouts.\n *\n * @since 1.0.0\n */\n\nimport type { CheckoutIndexProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { Checkout } from '../../checkout/Checkout';\nimport { registerPaymentDrivers } from '../../checkout/payment/registerPaymentDrivers';\nimport { checkoutLayout } from '../../layout/StorefrontLayout';\n\nregisterPaymentDrivers();\n\n/**\n * The checkout page, in the slim checkout layout.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function CheckoutIndex(props: CheckoutIndexProps): ReactElement {\n return <Checkout {...props} />;\n}\n\nCheckoutIndex.layout = checkoutLayout;\n"],"mappings":";;;;;;;;;;;;;AAwBS;AAXT,uBAAuB;AAUR,SAAR,cAA+B,OAAyC;AAC7E,SAAO,oBAAC,YAAU,GAAG,OAAO;AAC9B;AAEA,cAAc,SAAS;","names":[]}
@@ -0,0 +1,19 @@
1
+ import {
2
+ OrderLookup
3
+ } from "./chunk-THPUK35U.mjs";
4
+ import "./chunk-Y5BRPEHA.mjs";
5
+ import "./chunk-WYGOMIZK.mjs";
6
+ import {
7
+ storefrontLayout
8
+ } from "./chunk-VX5TEJNU.mjs";
9
+
10
+ // src/pages/Order/Lookup.tsx
11
+ import { jsx } from "react/jsx-runtime";
12
+ function OrderLookupPage(props) {
13
+ return /* @__PURE__ */ jsx(OrderLookup, { ...props, showTitle: true });
14
+ }
15
+ OrderLookupPage.layout = storefrontLayout;
16
+ export {
17
+ OrderLookupPage as default
18
+ };
19
+ //# sourceMappingURL=Lookup-QNUQKUID.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Order/Lookup.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Order/Lookup`: the guest order lookup.\n *\n * The lookup with \"Find your order\" as its title\n * (ecommerce-storefront-livewire's `pages/lookup`), in the storefront\n * layout.\n *\n * @since 1.0.0\n */\n\nimport type { OrderLookupPageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\nimport { OrderLookup } from '../../order/OrderLookup';\n\n/**\n * The page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function OrderLookupPage(props: OrderLookupPageProps): ReactElement {\n return <OrderLookup {...props} showTitle />;\n}\n\nOrderLookupPage.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;AAyBS;AADM,SAAR,gBAAiC,OAA2C;AACjF,SAAO,oBAAC,eAAa,GAAG,OAAO,WAAS,MAAC;AAC3C;AAEA,gBAAgB,SAAS;","names":[]}
@@ -0,0 +1,27 @@
1
+ import {
2
+ OrderShow
3
+ } from "./chunk-MZFULGDI.mjs";
4
+ import "./chunk-FL5XL3ET.mjs";
5
+ import {
6
+ AccountShell
7
+ } from "./chunk-HCC7GTVO.mjs";
8
+ import "./chunk-O4WPMMSH.mjs";
9
+ import "./chunk-T5OWL6EG.mjs";
10
+ import {
11
+ storefrontLayout
12
+ } from "./chunk-VX5TEJNU.mjs";
13
+
14
+ // src/pages/Account/OrderShow.tsx
15
+ import { jsx } from "react/jsx-runtime";
16
+ function AccountOrderShowPage({
17
+ shell,
18
+ ...rest
19
+ }) {
20
+ const order = /* @__PURE__ */ jsx(OrderShow, { ...rest, showTitle: true });
21
+ return void 0 === shell ? order : /* @__PURE__ */ jsx(AccountShell, { shell, children: order });
22
+ }
23
+ AccountOrderShowPage.layout = storefrontLayout;
24
+ export {
25
+ AccountOrderShowPage as default
26
+ };
27
+ //# sourceMappingURL=OrderShow-RYTP62YA.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Account/OrderShow.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Account/OrderShow`: one order's page.\n *\n * On the account route it is the account shell, without a title of its\n * own, around the order, whose \"Order {number}\" heading is the page's h1\n * (ecommerce-storefront-livewire's `pages/account/order`). The guest order\n * view a signed link opens carries no shell, and shows the order read-only\n * (`pages/order-view`). Both sit in the storefront layout.\n *\n * @since 1.0.0\n */\n\nimport type { AccountOrderPageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { AccountShell } from '../../account/AccountShell';\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\nimport { OrderShow } from '../../order/OrderShow';\n\n/**\n * The page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function AccountOrderShowPage({\n shell,\n ...rest\n}: AccountOrderPageProps): ReactElement {\n const order = <OrderShow {...rest} showTitle />;\n\n return undefined === shell ? order : <AccountShell shell={shell}>{order}</AccountShell>;\n}\n\nAccountOrderShowPage.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;;;;;AA+BgB;AAJD,SAAR,qBAAsC;AAAA,EAC3C;AAAA,EACA,GAAG;AACL,GAAwC;AACtC,QAAM,QAAQ,oBAAC,aAAW,GAAG,MAAM,WAAS,MAAC;AAE7C,SAAO,WAAc,QAAQ,QAAQ,oBAAC,gBAAa,OAAe,iBAAM;AAC1E;AAEA,qBAAqB,SAAS;","names":[]}
@@ -0,0 +1,25 @@
1
+ import {
2
+ AccountOrders
3
+ } from "./chunk-FOOP6UK3.mjs";
4
+ import {
5
+ AccountShell
6
+ } from "./chunk-HCC7GTVO.mjs";
7
+ import "./chunk-Y2IOBBN7.mjs";
8
+ import "./chunk-TPOKMH5E.mjs";
9
+ import {
10
+ storefrontLayout
11
+ } from "./chunk-VX5TEJNU.mjs";
12
+
13
+ // src/pages/Account/Orders.tsx
14
+ import { jsx } from "react/jsx-runtime";
15
+ function AccountOrdersPage({
16
+ shell,
17
+ ...rest
18
+ }) {
19
+ return /* @__PURE__ */ jsx(AccountShell, { shell, children: /* @__PURE__ */ jsx(AccountOrders, { ...rest, showTitle: true }) });
20
+ }
21
+ AccountOrdersPage.layout = storefrontLayout;
22
+ export {
23
+ AccountOrdersPage as default
24
+ };
25
+ //# sourceMappingURL=Orders-LZW57GE6.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Account/Orders.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Account/Orders`: the order history.\n *\n * The account shell around the page, whose own heading is the page's h1\n * (ecommerce-storefront-livewire's `pages/account/orders`), in the storefront layout.\n *\n * @since 1.0.0\n */\n\nimport type { AccountOrdersPageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { AccountShell } from '../../account/AccountShell';\nimport { AccountOrders } from '../../account/AccountOrders';\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\n\n/**\n * The page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function AccountOrdersPage({\n shell,\n ...rest\n}: AccountOrdersPageProps): ReactElement {\n return (\n <AccountShell shell={shell}>\n <AccountOrders {...rest} showTitle />\n </AccountShell>\n );\n}\n\nAccountOrdersPage.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;;;;AA8BM;AANS,SAAR,kBAAmC;AAAA,EACxC;AAAA,EACA,GAAG;AACL,GAAyC;AACvC,SACE,oBAAC,gBAAa,OACZ,8BAAC,iBAAe,GAAG,MAAM,WAAS,MAAC,GACrC;AAEJ;AAEA,kBAAkB,SAAS;","names":[]}
@@ -0,0 +1,25 @@
1
+ import {
2
+ AccountProfile
3
+ } from "./chunk-EWJLRWPO.mjs";
4
+ import "./chunk-Y5BRPEHA.mjs";
5
+ import {
6
+ AccountShell
7
+ } from "./chunk-HCC7GTVO.mjs";
8
+ import "./chunk-WYGOMIZK.mjs";
9
+ import {
10
+ storefrontLayout
11
+ } from "./chunk-VX5TEJNU.mjs";
12
+
13
+ // src/pages/Account/Profile.tsx
14
+ import { jsx } from "react/jsx-runtime";
15
+ function AccountProfilePage({
16
+ shell,
17
+ ...rest
18
+ }) {
19
+ return /* @__PURE__ */ jsx(AccountShell, { shell, title: shell.title, children: /* @__PURE__ */ jsx(AccountProfile, { ...rest }) });
20
+ }
21
+ AccountProfilePage.layout = storefrontLayout;
22
+ export {
23
+ AccountProfilePage as default
24
+ };
25
+ //# sourceMappingURL=Profile-ZAAWFCAL.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/pages/Account/Profile.tsx"],"sourcesContent":["/**\n * `EcommerceStorefront/Account/Profile`: the profile and notification preferences.\n *\n * The account shell titled with the page's name, around the page\n * (ecommerce-storefront-livewire's `pages/account/profile`), in the storefront layout.\n *\n * @since 1.0.0\n */\n\nimport type { AccountProfilePageProps } from '@artisanpack-ui/ecommerce-storefront-core';\nimport type { ReactElement } from 'react';\n\nimport { AccountShell } from '../../account/AccountShell';\nimport { AccountProfile } from '../../account/AccountProfile';\nimport { storefrontLayout } from '../../layout/StorefrontLayout';\n\n/**\n * The page.\n *\n * @since 1.0.0\n *\n * @param props - The page's props.\n * @returns The page.\n */\nexport default function AccountProfilePage({\n shell,\n ...rest\n}: AccountProfilePageProps): ReactElement {\n return (\n <AccountShell shell={shell} title={shell.title}>\n <AccountProfile {...rest} />\n </AccountShell>\n );\n}\n\nAccountProfilePage.layout = storefrontLayout;\n"],"mappings":";;;;;;;;;;;;;AA8BM;AANS,SAAR,mBAAoC;AAAA,EACzC;AAAA,EACA,GAAG;AACL,GAA0C;AACxC,SACE,oBAAC,gBAAa,OAAc,OAAO,MAAM,OACvC,8BAAC,kBAAgB,GAAG,MAAM,GAC5B;AAEJ;AAEA,mBAAmB,SAAS;","names":[]}
@@ -0,0 +1,14 @@
1
+ import {
2
+ ProductShow
3
+ } from "./chunk-HXZMY3GE.mjs";
4
+ import "./chunk-Y2IOBBN7.mjs";
5
+ import "./chunk-IOL2YQ62.mjs";
6
+ import "./chunk-PEBBSZ5R.mjs";
7
+ import "./chunk-ABGPTZ3Q.mjs";
8
+ import "./chunk-TPOKMH5E.mjs";
9
+ import "./chunk-WYGOMIZK.mjs";
10
+ import "./chunk-VX5TEJNU.mjs";
11
+ export {
12
+ ProductShow as default
13
+ };
14
+ //# sourceMappingURL=Show-LFWUO3KR.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,12 @@
1
+ import {
2
+ CatalogTagShow
3
+ } from "./chunk-LT3GG7YQ.mjs";
4
+ import "./chunk-P3NIV4YG.mjs";
5
+ import "./chunk-IOL2YQ62.mjs";
6
+ import "./chunk-ABGPTZ3Q.mjs";
7
+ import "./chunk-TPOKMH5E.mjs";
8
+ import "./chunk-VX5TEJNU.mjs";
9
+ export {
10
+ CatalogTagShow as default
11
+ };
12
+ //# sourceMappingURL=TagShow-FXKXRGY2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}