@faststore/core 3.67.0 → 3.68.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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +74 -74
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +86 -71
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/1333.js +1 -0
- package/.next/server/chunks/2778.js +2 -2
- package/.next/server/chunks/2792.js +1 -1
- package/.next/server/chunks/3006.js +1 -1
- package/.next/server/chunks/3836.js +1 -1
- package/.next/server/chunks/3918.js +1 -1
- package/.next/server/chunks/3963.js +1 -1
- package/.next/server/chunks/6789.js +1 -1
- package/.next/server/chunks/7178.js +1 -1
- package/.next/server/chunks/7228.js +1 -1
- package/.next/server/chunks/7794.js +1 -1
- package/.next/server/chunks/83.js +1 -1
- package/.next/server/chunks/831.js +1 -1
- package/.next/server/chunks/839.js +1 -0
- package/.next/server/chunks/8569.js +1 -1
- package/.next/server/chunks/8687.js +1 -1
- package/.next/server/chunks/948.js +2 -2
- package/.next/server/chunks/9563.js +2 -2
- package/.next/server/chunks/9630.js +4 -4
- package/.next/server/chunks/UIBannerText.js +1 -1
- package/.next/server/functions-config-manifest.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.js +1 -1
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.js +1 -1
- package/.next/server/pages/500.js.nft.json +1 -1
- package/.next/server/pages/[...slug].js +1 -1
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js +1 -1
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/account/403.js +1 -1
- package/.next/server/pages/account/403.js.nft.json +1 -1
- package/.next/server/pages/account/404.js +1 -1
- package/.next/server/pages/account/404.js.nft.json +1 -1
- package/.next/server/pages/account/[...unknown].js.nft.json +1 -1
- package/.next/server/pages/account/orders/[id].js +1 -1
- package/.next/server/pages/account/orders/[id].js.nft.json +1 -1
- package/.next/server/pages/account/orders.js +1 -1
- package/.next/server/pages/account/orders.js.nft.json +1 -1
- package/.next/server/pages/account/profile.js +1 -1
- package/.next/server/pages/account/profile.js.nft.json +1 -1
- package/.next/server/pages/account/security.js +1 -1
- package/.next/server/pages/account/security.js.nft.json +1 -1
- package/.next/server/pages/account/user-details.js +1 -1
- package/.next/server/pages/account/user-details.js.nft.json +1 -1
- package/.next/server/pages/account.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +2 -2
- package/.next/server/pages/api/graphql.js.nft.json +1 -1
- package/.next/server/pages/api/health/live.js.nft.json +1 -1
- package/.next/server/pages/api/health/ready.js.nft.json +1 -1
- package/.next/server/pages/api/preview.js.nft.json +1 -1
- package/.next/server/pages/checkout.js +1 -1
- package/.next/server/pages/checkout.js.nft.json +1 -1
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages/index.js +1 -1
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/login.js +1 -1
- package/.next/server/pages/login.js.nft.json +1 -1
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages/s.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/chunks/2284.6dd050e60172189a.js +1 -0
- package/.next/static/chunks/3155.243c7558a71f0695.js +1 -0
- package/.next/static/chunks/3166-6af5e854c2f2913a.js +1 -0
- package/.next/static/chunks/3399.93804fb74f79436c.js +1 -0
- package/.next/static/chunks/353.7f2181843462717d.js +1 -0
- package/.next/static/chunks/4803.412bf2a7e15626a6.js +1 -0
- package/.next/static/chunks/5781.28d03feacead66ad.js +1 -0
- package/.next/static/chunks/6355.57d1a07f50ee6cc9.js +1 -0
- package/.next/static/chunks/{6393.361c44eb0818eb7e.js → 6393.53e9ea4f29d1bf23.js} +1 -1
- package/.next/static/chunks/6700.f046aa86e2c83b53.js +1 -0
- package/.next/static/chunks/6857.b2c06171638955ea.js +1 -0
- package/.next/static/chunks/7191-9bdd5f0c18fbd942.js +1 -0
- package/.next/static/chunks/{6410.bd3fa399df59cc80.js → 7351.e90a4cc21797c136.js} +1 -1
- package/.next/static/chunks/7481.3c4ad3642e346232.js +1 -0
- package/.next/static/chunks/7498-0dc4f9a9ed199d3a.js +1 -0
- package/.next/static/chunks/83.ee1fdbe283ac65b6.js +1 -0
- package/.next/static/chunks/9173-88b7ddf38554a5cf.js +1 -0
- package/.next/static/chunks/BannerNewsletter.a9ea51c53885c80f.js +1 -0
- package/.next/static/chunks/{BannerText.695d4d4b6a3f7309.js → BannerText.21f106b180339df1.js} +1 -1
- package/.next/static/chunks/CartSidebar.55cc31a37ffa6ee6.js +1 -0
- package/.next/static/chunks/{Footer.5ed205d931401110.js → Footer.09dddd47ce6c816f.js} +1 -1
- package/.next/static/chunks/Newsletter.2c79d1813e9f9c95.js +1 -0
- package/.next/static/chunks/ProductShelf.299d0989eea49a79.js +1 -0
- package/.next/static/chunks/ProductTiles.ab99b919f3c0215f.js +1 -0
- package/.next/static/chunks/RegionModal.503f063f2e19b936.js +1 -0
- package/.next/static/chunks/RegionSlider.00de4571775d04cc.js +1 -0
- package/.next/static/chunks/Toast.75a18f47eb23b703.js +1 -0
- package/.next/static/chunks/UIBannerText.f4167ceafb96cf67.js +1 -0
- package/.next/static/chunks/UISKUMatrixSidebar.8b6fac58c48f999c.js +1 -0
- package/.next/static/chunks/UIToast.a49584c87d3adc17.js +1 -0
- package/.next/static/chunks/pages/{404-3582ed9196afdf1e.js → 404-dca50618ea3e6fb6.js} +1 -1
- package/.next/static/chunks/pages/{500-1b4eca062588da7f.js → 500-ae6697c7631fb07a.js} +1 -1
- package/.next/static/chunks/pages/[...slug]-debd8b208a0e3d02.js +1 -0
- package/.next/static/chunks/pages/[slug]/p-d782ecb21200f200.js +1 -0
- package/.next/static/chunks/pages/_app-728289774860e9d9.js +1 -0
- package/.next/static/chunks/pages/account/{403-c791997011f970b6.js → 403-a3d8b31b4e9ee8a6.js} +1 -1
- package/.next/static/chunks/pages/account/{404-74e64bb12e8f5a68.js → 404-22b789f04fcdce39.js} +1 -1
- package/.next/static/chunks/pages/account/orders/[id]-a2f44ba3963b81cd.js +1 -0
- package/.next/static/chunks/pages/account/orders-ec040e06c4b516d0.js +1 -0
- package/.next/static/chunks/pages/account/profile-29f93f4c5a55bd87.js +1 -0
- package/.next/static/chunks/pages/account/security-94874fc477520f74.js +1 -0
- package/.next/static/chunks/pages/account/{user-details-6f9fe72e02f5c5df.js → user-details-143cb45d5080d1d9.js} +1 -1
- package/.next/static/chunks/pages/checkout-b0637ee59b1cdca8.js +1 -0
- package/.next/static/chunks/pages/index-b45c9535696b5ab1.js +1 -0
- package/.next/static/chunks/pages/login-bae3a4cdaaed110c.js +1 -0
- package/.next/static/chunks/pages/s-011eedb19dcdccc6.js +1 -0
- package/.next/static/chunks/webpack-8b6c086380cf1398.js +1 -0
- package/.next/static/css/{e4b714970415f2eb.css → 2a4b7072e47636f1.css} +1 -1
- package/.next/static/css/{8a3f440e0ff9cd8e.css → 3d41485722b4e3f5.css} +1 -1
- package/.next/static/css/{2841bab51b99dd53.css → 92960607d6088082.css} +1 -1
- package/.next/static/css/d26cb0a54378b3d9.css +1 -0
- package/.next/static/css/f93cf36b16950027.css +1 -0
- package/.next/static/pRYrZEXsDEpvxbtvEobPH/_buildManifest.js +1 -0
- package/.next/trace +135 -132
- package/.turbo/turbo-build.log +36 -33
- package/.turbo/turbo-test.log +5 -5
- package/@generated/gql.ts +8 -0
- package/@generated/graphql.ts +83 -0
- package/@generated/persisted-documents.json +1 -0
- package/@generated/schema.graphql +51 -0
- package/CHANGELOG.md +6 -0
- package/cms/faststore/content-types.json +238 -1
- package/cms/faststore/sections.json +34 -33
- package/cypress/integration/plp.test.js +2 -2
- package/index.ts +9 -0
- package/package.json +5 -5
- package/src/components/cms/GlobalSections.tsx +1 -0
- package/src/components/cms/RenderSections.tsx +8 -4
- package/src/components/cms/global/Components.ts +8 -0
- package/src/components/navigation/Navbar/Navbar.tsx +5 -6
- package/src/components/navigation/NavbarLinks/NavbarLinks.tsx +23 -4
- package/src/components/region/RegionBar/RegionBar.tsx +48 -12
- package/src/components/region/RegionFilterButton/RegionFilterButton.tsx +57 -0
- package/src/components/region/RegionFilterButton/index.ts +1 -0
- package/src/components/region/RegionModal/RegionModal.tsx +26 -16
- package/src/components/region/RegionModal/useRegion.ts +12 -11
- package/src/components/region/RegionPopover/RegionPopover.tsx +37 -22
- package/src/components/region/RegionSlider/RegionSlider.tsx +407 -0
- package/src/components/region/RegionSlider/index.ts +1 -0
- package/src/components/region/RegionSlider/section.module.scss +72 -0
- package/src/components/search/Filter/FilterDeliveryMethodFacet.tsx +68 -0
- package/src/components/search/Filter/FilterDesktop.tsx +148 -90
- package/src/components/search/Filter/FilterSlider.tsx +193 -104
- package/src/components/search/Filter/section.module.scss +2 -0
- package/src/components/sections/ProductGallery/section.module.scss +2 -0
- package/src/components/sections/RegionBar/DefaultComponents.ts +1 -0
- package/src/components/sections/RegionBar/RegionBar.tsx +2 -1
- package/src/components/templates/LandingPage/LandingPage.tsx +6 -3
- package/src/components/templates/ProductListingPage/ProductListing.tsx +4 -1
- package/src/components/templates/ProductListingPage/ProductListingPage.tsx +3 -0
- package/src/components/templates/SearchPage/SearchPage.tsx +3 -0
- package/src/components/templates/SearchPage/SearchWrapper.tsx +15 -7
- package/src/components/ui/PickupPoints/PickupPointCard.tsx +39 -0
- package/src/components/ui/PickupPoints/PickupPointCards.tsx +102 -0
- package/src/components/ui/PickupPoints/index.ts +5 -0
- package/src/components/ui/ProductGallery/ProductGallery.tsx +6 -9
- package/src/experimental/index.ts +6 -0
- package/src/pages/404.tsx +15 -6
- package/src/pages/500.tsx +15 -6
- package/src/pages/[...slug].tsx +14 -5
- package/src/pages/[slug]/p.tsx +6 -3
- package/src/pages/_app.tsx +15 -10
- package/src/pages/account/403.tsx +30 -27
- package/src/pages/account/404.tsx +27 -20
- package/src/pages/account/orders/[id].tsx +22 -19
- package/src/pages/account/orders/index.tsx +25 -22
- package/src/pages/account/profile.tsx +27 -23
- package/src/pages/account/security.tsx +28 -23
- package/src/pages/account/user-details.tsx +20 -17
- package/src/pages/checkout.tsx +11 -8
- package/src/pages/index.tsx +7 -4
- package/src/pages/login.tsx +16 -7
- package/src/pages/s.tsx +5 -2
- package/src/sdk/deliveryPromise/index.ts +22 -0
- package/src/sdk/deliveryPromise/provider.tsx +119 -0
- package/src/sdk/deliveryPromise/queries.ts +80 -0
- package/src/sdk/deliveryPromise/reducer.ts +137 -0
- package/src/sdk/deliveryPromise/useDeliveryPromise.ts +419 -0
- package/src/sdk/overrides/PageProvider.tsx +9 -4
- package/src/sdk/product/useLocalizedVariables.ts +20 -6
- package/src/sdk/search/useFilter.ts +12 -1
- package/src/typings/overrides.ts +2 -1
- package/src/utils/globalSettings.ts +74 -0
- package/test/server/index.test.ts +1 -0
- package/.next/server/chunks/6272.js +0 -1
- package/.next/static/auvpWeN2p6A4M2zTGhXzk/_buildManifest.js +0 -1
- package/.next/static/chunks/2284.1b43aea18c23c79e.js +0 -1
- package/.next/static/chunks/3155.ea52e06317dab557.js +0 -1
- package/.next/static/chunks/3166-50d81179a0f5a894.js +0 -1
- package/.next/static/chunks/3399.13a97fefb512c902.js +0 -1
- package/.next/static/chunks/3465.af28497e8069330f.js +0 -1
- package/.next/static/chunks/353.52612dbf516cbaee.js +0 -1
- package/.next/static/chunks/4803.de5b14237d616808.js +0 -1
- package/.next/static/chunks/6355.c0b326c539dbaa90.js +0 -1
- package/.next/static/chunks/6700.4e9426fe8b826dab.js +0 -1
- package/.next/static/chunks/7191-2a7b8ddbd07128b6.js +0 -1
- package/.next/static/chunks/7498-5246b607527180dd.js +0 -1
- package/.next/static/chunks/83.b87d797323ff2034.js +0 -1
- package/.next/static/chunks/9173-ae6b6ebdc42876f1.js +0 -1
- package/.next/static/chunks/9540.69781e999f27cc05.js +0 -1
- package/.next/static/chunks/BannerNewsletter.7c592f132e7048e5.js +0 -1
- package/.next/static/chunks/CartSidebar.a00083c44c87c268.js +0 -1
- package/.next/static/chunks/Newsletter.1004055f09f76d3c.js +0 -1
- package/.next/static/chunks/ProductShelf.d51ba3e6a1b4a57d.js +0 -1
- package/.next/static/chunks/ProductTiles.77284431e2b8c898.js +0 -1
- package/.next/static/chunks/RegionModal.f61aa62e0a09182a.js +0 -1
- package/.next/static/chunks/Toast.6116bc845cd67f49.js +0 -1
- package/.next/static/chunks/UIBannerText.6cc5c00d4ba9b64e.js +0 -1
- package/.next/static/chunks/UISKUMatrixSidebar.782c55a97889e84a.js +0 -1
- package/.next/static/chunks/UIToast.494d0b0ce2c6106a.js +0 -1
- package/.next/static/chunks/pages/[...slug]-d0f23d907ec6fbe3.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-a255e4a7352455df.js +0 -1
- package/.next/static/chunks/pages/_app-1885a948b243078c.js +0 -1
- package/.next/static/chunks/pages/account/orders/[id]-b9feb0c860ff1cec.js +0 -1
- package/.next/static/chunks/pages/account/orders-1d8409a8b4b0e581.js +0 -1
- package/.next/static/chunks/pages/account/profile-5a919fa02b76a422.js +0 -1
- package/.next/static/chunks/pages/account/security-b5ab3d1ecbbea9d9.js +0 -1
- package/.next/static/chunks/pages/checkout-3a4983b22625c4e3.js +0 -1
- package/.next/static/chunks/pages/index-6e68be53d1fef20e.js +0 -1
- package/.next/static/chunks/pages/login-de3dd10c6b35159a.js +0 -1
- package/.next/static/chunks/pages/s-9b0f606f120d66b0.js +0 -1
- package/.next/static/chunks/webpack-f661e0efeacf6028.js +0 -1
- package/.next/static/css/202a74b80e6ce63f.css +0 -1
- /package/.next/static/{auvpWeN2p6A4M2zTGhXzk → pRYrZEXsDEpvxbtvEobPH}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.67.0 prebuild /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> na run partytown && na run generate
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @faststore/core@3.
|
|
6
|
+
> @faststore/core@3.67.0 partytown /home/runner/work/faststore/faststore/packages/core
|
|
7
7
|
> partytown copylib ./public/~partytown
|
|
8
8
|
|
|
9
9
|
Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
|
|
10
10
|
|
|
11
|
-
> @faststore/core@3.
|
|
11
|
+
> @faststore/core@3.67.0 generate /home/runner/work/faststore/faststore/packages/core
|
|
12
12
|
> na run generate:schema && na run generate:codegen && na run format:generated
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
> @faststore/core@3.
|
|
15
|
+
> @faststore/core@3.67.0 generate:schema /home/runner/work/faststore/faststore/packages/core
|
|
16
16
|
> tsx src/server/generator/generateGraphQLSchemaFile.ts
|
|
17
17
|
|
|
18
18
|
Schema GraphQL file generated successfully
|
|
19
19
|
|
|
20
|
-
> @faststore/core@3.
|
|
20
|
+
> @faststore/core@3.67.0 generate:codegen /home/runner/work/faststore/faststore/packages/core
|
|
21
21
|
> graphql-codegen
|
|
22
22
|
|
|
23
23
|
[STARTED] Parse Configuration
|
|
@@ -37,11 +37,11 @@ Running lifecycle hook "afterStart" scripts...
|
|
|
37
37
|
[CLI] Loading Documents
|
|
38
38
|
[CLI] Generating output
|
|
39
39
|
|
|
40
|
-
> @faststore/core@3.
|
|
40
|
+
> @faststore/core@3.67.0 format:generated /home/runner/work/faststore/faststore/packages/core
|
|
41
41
|
> prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
> @faststore/core@3.
|
|
44
|
+
> @faststore/core@3.67.0 build /home/runner/work/faststore/faststore/packages/core
|
|
45
45
|
> next build
|
|
46
46
|
|
|
47
47
|
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
|
|
@@ -50,6 +50,9 @@ This information is used to shape Next.js' roadmap and prioritize features.
|
|
|
50
50
|
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
|
|
51
51
|
https://nextjs.org/telemetry
|
|
52
52
|
|
|
53
|
+
Browserslist: caniuse-lite is outdated. Please run:
|
|
54
|
+
npx browserslist@latest --update-db
|
|
55
|
+
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
53
56
|
Skipping linting
|
|
54
57
|
Checking validity of types ...
|
|
55
58
|
Creating an optimized production build ...
|
|
@@ -70,44 +73,44 @@ Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Cont
|
|
|
70
73
|
Collecting build traces ...
|
|
71
74
|
|
|
72
75
|
Route (pages) Size First Load JS
|
|
73
|
-
┌ ● / 3.
|
|
76
|
+
┌ ● / 3.58 kB 139 kB
|
|
74
77
|
├ └ css/b1806cbafd0c1f81.css 3.06 kB
|
|
75
|
-
├ /_app 0 B
|
|
76
|
-
├ ● /[...slug] 2.
|
|
77
|
-
├ ● /[slug]/p 32.
|
|
78
|
+
├ /_app 0 B 105 kB
|
|
79
|
+
├ ● /[...slug] 2.4 kB 147 kB
|
|
80
|
+
├ ● /[slug]/p 32.2 kB 168 kB
|
|
78
81
|
├ ├ css/a3ca6a9b63f657be.css 5.75 kB
|
|
79
82
|
├ ├ css/62a5153ac7061286.css 6.11 kB
|
|
80
83
|
├ └ css/6831395ff5fd317a.css 16.1 kB
|
|
81
|
-
├ ○ /404 1.
|
|
82
|
-
├ ● /500 1.
|
|
83
|
-
├ λ /account 240 B
|
|
84
|
-
├ ● /account/[...unknown] 281 B
|
|
85
|
-
├ λ /account/403 2.
|
|
84
|
+
├ ○ /404 1.51 kB 137 kB
|
|
85
|
+
├ ● /500 1.52 kB 137 kB
|
|
86
|
+
├ λ /account 240 B 105 kB
|
|
87
|
+
├ ● /account/[...unknown] 281 B 105 kB
|
|
88
|
+
├ λ /account/403 2.42 kB 138 kB
|
|
86
89
|
├ └ css/b7bba8fce075688b.css 4.2 kB
|
|
87
|
-
├ λ /account/404 2.
|
|
90
|
+
├ λ /account/404 2.11 kB 138 kB
|
|
88
91
|
├ └ css/5347dbc8b71de47d.css 4.25 kB
|
|
89
|
-
├ λ /account/orders 8.
|
|
90
|
-
├ └ css/
|
|
91
|
-
├ λ /account/orders/[id]
|
|
92
|
+
├ λ /account/orders 8.94 kB 144 kB
|
|
93
|
+
├ └ css/3d41485722b4e3f5.css 12.1 kB
|
|
94
|
+
├ λ /account/orders/[id] 12 kB 147 kB
|
|
92
95
|
├ └ css/ba1d8927d8745656.css 12.6 kB
|
|
93
|
-
├ λ /account/profile 1.
|
|
96
|
+
├ λ /account/profile 1.79 kB 137 kB
|
|
94
97
|
├ └ css/831a1f72fe4b2d80.css 3.97 kB
|
|
95
|
-
├ λ /account/security 2.
|
|
98
|
+
├ λ /account/security 2.48 kB 138 kB
|
|
96
99
|
├ └ css/32b1696118552960.css 5.19 kB
|
|
97
|
-
├ λ /account/user-details 1.
|
|
100
|
+
├ λ /account/user-details 1.74 kB 137 kB
|
|
98
101
|
├ └ css/e46393a76c5d93a9.css 4.17 kB
|
|
99
|
-
├ λ /api/graphql 0 B
|
|
100
|
-
├ λ /api/health/live 0 B
|
|
101
|
-
├ λ /api/health/ready 0 B
|
|
102
|
-
├ λ /api/preview 0 B
|
|
103
|
-
├ ● /checkout
|
|
104
|
-
├ ● /login 1.
|
|
105
|
-
└ ● /s 3.
|
|
106
|
-
+ First Load JS shared by all
|
|
102
|
+
├ λ /api/graphql 0 B 105 kB
|
|
103
|
+
├ λ /api/health/live 0 B 105 kB
|
|
104
|
+
├ λ /api/health/ready 0 B 105 kB
|
|
105
|
+
├ λ /api/preview 0 B 105 kB
|
|
106
|
+
├ ● /checkout 737 B 136 kB
|
|
107
|
+
├ ● /login 1.64 kB 137 kB
|
|
108
|
+
└ ● /s 3.2 kB 148 kB
|
|
109
|
+
+ First Load JS shared by all 108 kB
|
|
107
110
|
├ chunks/framework-807b0f81cbc129f0.js 45.4 kB
|
|
108
111
|
├ chunks/main-f658704b53a96ab1.js 33.1 kB
|
|
109
|
-
├ chunks/pages/_app-
|
|
110
|
-
├ chunks/webpack-
|
|
112
|
+
├ chunks/pages/_app-728289774860e9d9.js 22.8 kB
|
|
113
|
+
├ chunks/webpack-8b6c086380cf1398.js 3.8 kB
|
|
111
114
|
└ css/0a57ee6c7a57788c.css 3.49 kB
|
|
112
115
|
|
|
113
116
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.67.0 test /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS test/
|
|
6
|
-
PASS test/
|
|
5
|
+
PASS test/server/cms/global.test.ts (26.282 s)
|
|
6
|
+
PASS test/utils/multipleTemplates.test.ts (27.229 s)
|
|
7
7
|
PASS test/server/cms/index.test.ts
|
|
8
|
-
PASS test/server/index.test.ts (29.
|
|
8
|
+
PASS test/server/index.test.ts (29.551 s)
|
|
9
9
|
|
|
10
10
|
Test Suites: 4 passed, 4 total
|
|
11
11
|
Tests: 22 passed, 22 total
|
|
12
12
|
Snapshots: 0 total
|
|
13
|
-
Time: 30.
|
|
13
|
+
Time: 30.631 s
|
|
14
14
|
Ran all test suites.
|
package/@generated/gql.ts
CHANGED
|
@@ -62,6 +62,8 @@ const documents = {
|
|
|
62
62
|
types.ValidateUserDocument,
|
|
63
63
|
'\n mutation ValidateCartMutation($cart: IStoreCart!, $session: IStoreSession!) {\n validateCart(cart: $cart, session: $session) {\n order {\n orderNumber\n acceptedOffer {\n ...CartItem\n }\n shouldSplitItem\n }\n messages {\n ...CartMessage\n }\n }\n }\n\n fragment CartMessage on StoreCartMessage {\n text\n status\n }\n\n fragment CartItem on StoreOffer {\n seller {\n identifier\n }\n quantity\n price\n priceWithTaxes\n listPrice\n listPriceWithTaxes\n itemOffered {\n ...CartProductItem\n }\n }\n\n fragment CartProductItem on StoreProduct {\n sku\n name\n unitMultiplier\n image {\n url\n alternateName\n }\n brand {\n name\n }\n isVariantOf {\n productGroupID\n name\n skuVariants {\n activeVariations\n slugsMap\n availableVariations\n }\n }\n gtin\n additionalProperty {\n propertyID\n name\n value\n valueReference\n }\n }\n':
|
|
64
64
|
types.ValidateCartMutationDocument,
|
|
65
|
+
'\n query ClientPickupPointsQuery(\n $geoCoordinates: IStoreGeoCoordinates\n ) {\n pickupPoints(geoCoordinates: $geoCoordinates) {\n pickupPointDistances {\n pickupId\n distance\n pickupName\n isActive\n address {\n city\n state\n number\n postalCode\n street\n }\n }\n }\n }\n':
|
|
66
|
+
types.ClientPickupPointsQueryDocument,
|
|
65
67
|
'\n mutation SubscribeToNewsletter($data: IPersonNewsletter!) {\n subscribeToNewsletter(data: $data) {\n id\n }\n }\n':
|
|
66
68
|
types.SubscribeToNewsletterDocument,
|
|
67
69
|
'\n query ClientProductCountQuery($term: String) {\n productCount(term: $term) {\n total\n }\n }\n':
|
|
@@ -238,6 +240,12 @@ export function gql(
|
|
|
238
240
|
export function gql(
|
|
239
241
|
source: '\n mutation ValidateCartMutation($cart: IStoreCart!, $session: IStoreSession!) {\n validateCart(cart: $cart, session: $session) {\n order {\n orderNumber\n acceptedOffer {\n ...CartItem\n }\n shouldSplitItem\n }\n messages {\n ...CartMessage\n }\n }\n }\n\n fragment CartMessage on StoreCartMessage {\n text\n status\n }\n\n fragment CartItem on StoreOffer {\n seller {\n identifier\n }\n quantity\n price\n priceWithTaxes\n listPrice\n listPriceWithTaxes\n itemOffered {\n ...CartProductItem\n }\n }\n\n fragment CartProductItem on StoreProduct {\n sku\n name\n unitMultiplier\n image {\n url\n alternateName\n }\n brand {\n name\n }\n isVariantOf {\n productGroupID\n name\n skuVariants {\n activeVariations\n slugsMap\n availableVariations\n }\n }\n gtin\n additionalProperty {\n propertyID\n name\n value\n valueReference\n }\n }\n'
|
|
240
242
|
): typeof import('./graphql').ValidateCartMutationDocument
|
|
243
|
+
/**
|
|
244
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
245
|
+
*/
|
|
246
|
+
export function gql(
|
|
247
|
+
source: '\n query ClientPickupPointsQuery(\n $geoCoordinates: IStoreGeoCoordinates\n ) {\n pickupPoints(geoCoordinates: $geoCoordinates) {\n pickupPointDistances {\n pickupId\n distance\n pickupName\n isActive\n address {\n city\n state\n number\n postalCode\n street\n }\n }\n }\n }\n'
|
|
248
|
+
): typeof import('./graphql').ClientPickupPointsQueryDocument
|
|
241
249
|
/**
|
|
242
250
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
243
251
|
*/
|
package/@generated/graphql.ts
CHANGED
|
@@ -144,6 +144,15 @@ export type AvailableDeliveryWindows = {
|
|
|
144
144
|
tax: Maybe<Scalars['Int']['output']>
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
+
export type BusinessHour = {
|
|
148
|
+
/** Business hour closing time. */
|
|
149
|
+
closingTime: Maybe<Scalars['String']['output']>
|
|
150
|
+
/** Number that represents the day of the week. */
|
|
151
|
+
dayOfWeek: Maybe<Scalars['Int']['output']>
|
|
152
|
+
/** Business hour opening time. */
|
|
153
|
+
openingTime: Maybe<Scalars['String']['output']>
|
|
154
|
+
}
|
|
155
|
+
|
|
147
156
|
/** Commercial Authorization dimension status. */
|
|
148
157
|
export type CommercialAuthorizationDimensionStatus = {
|
|
149
158
|
/** Creation date. */
|
|
@@ -713,6 +722,43 @@ export type PickupAddress = {
|
|
|
713
722
|
street: Maybe<Scalars['String']['output']>
|
|
714
723
|
}
|
|
715
724
|
|
|
725
|
+
export type PickupPointAddress = {
|
|
726
|
+
/** Address city. */
|
|
727
|
+
city: Maybe<Scalars['String']['output']>
|
|
728
|
+
/** Address neighborhood. */
|
|
729
|
+
neighborhood: Maybe<Scalars['String']['output']>
|
|
730
|
+
/** Address number. */
|
|
731
|
+
number: Maybe<Scalars['String']['output']>
|
|
732
|
+
/** Address postal code. */
|
|
733
|
+
postalCode: Maybe<Scalars['String']['output']>
|
|
734
|
+
/** Address state. */
|
|
735
|
+
state: Maybe<Scalars['String']['output']>
|
|
736
|
+
/** Address street. */
|
|
737
|
+
street: Maybe<Scalars['String']['output']>
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
export type PickupPointDistance = {
|
|
741
|
+
/** Pickup point address. */
|
|
742
|
+
address: Maybe<PickupPointAddress>
|
|
743
|
+
/** Pickup point business hours. */
|
|
744
|
+
businessHours: Maybe<Array<Maybe<BusinessHour>>>
|
|
745
|
+
/** Pickup point distance. */
|
|
746
|
+
distance: Maybe<Scalars['Float']['output']>
|
|
747
|
+
/** Whether the pickup point is active. */
|
|
748
|
+
isActive: Maybe<Scalars['Boolean']['output']>
|
|
749
|
+
/** Pickup point ID. */
|
|
750
|
+
pickupId: Maybe<Scalars['String']['output']>
|
|
751
|
+
/** Pickup point name. */
|
|
752
|
+
pickupName: Maybe<Scalars['String']['output']>
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
export type PickupPoints = {
|
|
756
|
+
/** List of pickup point distances for the given location. */
|
|
757
|
+
pickupPointDistances: Maybe<Array<Maybe<PickupPointDistance>>>
|
|
758
|
+
/** Hash of the pickup points data. */
|
|
759
|
+
pickupPointsHash: Maybe<Scalars['String']['output']>
|
|
760
|
+
}
|
|
761
|
+
|
|
716
762
|
export type PickupStoreInfo = {
|
|
717
763
|
/** PickupStoreInfo additional information. */
|
|
718
764
|
additionalInfo: Maybe<Scalars['String']['output']>
|
|
@@ -796,6 +842,8 @@ export type Query = {
|
|
|
796
842
|
collection: StoreCollection
|
|
797
843
|
/** Returns information about the list of Orders that the User can view. */
|
|
798
844
|
listUserOrders: Maybe<UserOrderListMinimalResult>
|
|
845
|
+
/** Returns a list of pickup points near to the given geo coordinates. */
|
|
846
|
+
pickupPoints: Maybe<PickupPoints>
|
|
799
847
|
/** Returns the details of a product based on the specified locator. */
|
|
800
848
|
product: StoreProduct
|
|
801
849
|
/** Returns the total product count information based on a specific location accessible through the VTEX segment cookie. */
|
|
@@ -842,6 +890,10 @@ export type QueryListUserOrdersArgs = {
|
|
|
842
890
|
text: InputMaybe<Scalars['String']['input']>
|
|
843
891
|
}
|
|
844
892
|
|
|
893
|
+
export type QueryPickupPointsArgs = {
|
|
894
|
+
geoCoordinates: InputMaybe<IStoreGeoCoordinates>
|
|
895
|
+
}
|
|
896
|
+
|
|
845
897
|
export type QueryProductArgs = {
|
|
846
898
|
locator: Array<IStoreSelectedFacet>
|
|
847
899
|
}
|
|
@@ -2967,6 +3019,28 @@ export type CartProductItemFragment = {
|
|
|
2967
3019
|
}>
|
|
2968
3020
|
}
|
|
2969
3021
|
|
|
3022
|
+
export type ClientPickupPointsQueryQueryVariables = Exact<{
|
|
3023
|
+
geoCoordinates: InputMaybe<IStoreGeoCoordinates>
|
|
3024
|
+
}>
|
|
3025
|
+
|
|
3026
|
+
export type ClientPickupPointsQueryQuery = {
|
|
3027
|
+
pickupPoints: {
|
|
3028
|
+
pickupPointDistances: Array<{
|
|
3029
|
+
pickupId: string | null
|
|
3030
|
+
distance: number | null
|
|
3031
|
+
pickupName: string | null
|
|
3032
|
+
isActive: boolean | null
|
|
3033
|
+
address: {
|
|
3034
|
+
city: string | null
|
|
3035
|
+
state: string | null
|
|
3036
|
+
number: string | null
|
|
3037
|
+
postalCode: string | null
|
|
3038
|
+
street: string | null
|
|
3039
|
+
} | null
|
|
3040
|
+
} | null> | null
|
|
3041
|
+
} | null
|
|
3042
|
+
}
|
|
3043
|
+
|
|
2970
3044
|
export type SubscribeToNewsletterMutationVariables = Exact<{
|
|
2971
3045
|
data: IPersonNewsletter
|
|
2972
3046
|
}>
|
|
@@ -3978,6 +4052,15 @@ export const ValidateCartMutationDocument = {
|
|
|
3978
4052
|
ValidateCartMutationMutation,
|
|
3979
4053
|
ValidateCartMutationMutationVariables
|
|
3980
4054
|
>
|
|
4055
|
+
export const ClientPickupPointsQueryDocument = {
|
|
4056
|
+
__meta__: {
|
|
4057
|
+
operationName: 'ClientPickupPointsQuery',
|
|
4058
|
+
operationHash: '3fa04e88c811fcb5ece7206fd5aa745bdbc143a8',
|
|
4059
|
+
},
|
|
4060
|
+
} as unknown as TypedDocumentString<
|
|
4061
|
+
ClientPickupPointsQueryQuery,
|
|
4062
|
+
ClientPickupPointsQueryQueryVariables
|
|
4063
|
+
>
|
|
3981
4064
|
export const SubscribeToNewsletterDocument = {
|
|
3982
4065
|
__meta__: {
|
|
3983
4066
|
operationName: 'SubscribeToNewsletter',
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"8c25d37c8d6e7c20ab21bb8a4f4e6a2fe320ea8d": "mutation ProcessOrderAuthorizationMutation($data: IProcessOrderAuthorization!) { processOrderAuthorization(data: $data) { isPendingForOtherAuthorizer ruleForAuthorization { dimensionId orderAuthorizationId rule { authorizationData { authorizers { authorizationDate email id type } requireAllApprovals } authorizedEmails doId id isUserAuthorized isUserNextAuthorizer name notification priority scoreInterval { accept deny } status timeout trigger { condition { conditionType description expression greatherThan lessThan } effect { description effectType funcPath } } } } } }",
|
|
12
12
|
"32f99c73c3de958b64d6bece1afe800469f54548": "query ValidateUser { validateUser { isValid } }",
|
|
13
13
|
"c2b3f8bff73ebf6ac79d758c66cabbc21ba9fcc0": "fragment CartItem on StoreOffer { itemOffered { ...CartProductItem } listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } fragment CartMessage on StoreCartMessage { status text } fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku unitMultiplier } mutation ValidateCartMutation($cart: IStoreCart!, $session: IStoreSession!) { validateCart(cart: $cart, session: $session) { messages { ...CartMessage } order { acceptedOffer { ...CartItem } orderNumber shouldSplitItem } } }",
|
|
14
|
+
"3fa04e88c811fcb5ece7206fd5aa745bdbc143a8": "query ClientPickupPointsQuery($geoCoordinates: IStoreGeoCoordinates) { pickupPoints(geoCoordinates: $geoCoordinates) { pickupPointDistances { address { city number postalCode state street } distance isActive pickupId pickupName } } }",
|
|
14
15
|
"feb7005103a859e2bc8cf2360d568806fd88deba": "mutation SubscribeToNewsletter($data: IPersonNewsletter!) { subscribeToNewsletter(data: $data) { id } }",
|
|
15
16
|
"dc912e7272e3d9f5ced206837df87f544d39d0a5": "query ClientProductCountQuery($term: String) { productCount(term: $term) { total } }",
|
|
16
17
|
"4039e05f01a2fe449e20e8b82170d0ba94b1fbe9": "fragment ProductSKUMatrixSidebarFragment_product on StoreProduct { isVariantOf { name productGroupID skuVariants { activeVariations allVariantProducts { additionalProperty { name propertyID value valueReference } image { alternateName url } name offers { highPrice lowPrice lowPriceWithTaxes offerCount offers { availability itemCondition listPrice listPriceWithTaxes price priceCurrency priceValidUntil priceWithTaxes quantity sellingPrice } priceCurrency } sku } availableVariations slugsMap } } id: productID } query ClientAllVariantProductsQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { ...ProductSKUMatrixSidebarFragment_product } }",
|
|
@@ -613,6 +613,52 @@ input IStorePerson {
|
|
|
613
613
|
familyName: String!
|
|
614
614
|
}
|
|
615
615
|
|
|
616
|
+
type PickupPointAddress {
|
|
617
|
+
"""Address city."""
|
|
618
|
+
city: String
|
|
619
|
+
"""Address neighborhood."""
|
|
620
|
+
neighborhood: String
|
|
621
|
+
"""Address number."""
|
|
622
|
+
number: String
|
|
623
|
+
"""Address postal code."""
|
|
624
|
+
postalCode: String
|
|
625
|
+
"""Address street."""
|
|
626
|
+
street: String
|
|
627
|
+
"""Address state."""
|
|
628
|
+
state: String
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
type BusinessHour {
|
|
632
|
+
"""Number that represents the day of the week."""
|
|
633
|
+
dayOfWeek: Int
|
|
634
|
+
"""Business hour opening time."""
|
|
635
|
+
openingTime: String
|
|
636
|
+
"""Business hour closing time."""
|
|
637
|
+
closingTime: String
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
type PickupPointDistance {
|
|
641
|
+
"""Pickup point ID."""
|
|
642
|
+
pickupId: String
|
|
643
|
+
"""Pickup point distance."""
|
|
644
|
+
distance: Float
|
|
645
|
+
"""Pickup point name."""
|
|
646
|
+
pickupName: String
|
|
647
|
+
"""Whether the pickup point is active."""
|
|
648
|
+
isActive: Boolean
|
|
649
|
+
"""Pickup point address."""
|
|
650
|
+
address: PickupPointAddress
|
|
651
|
+
"""Pickup point business hours."""
|
|
652
|
+
businessHours: [BusinessHour]
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
type PickupPoints {
|
|
656
|
+
"""List of pickup point distances for the given location."""
|
|
657
|
+
pickupPointDistances: [PickupPointDistance]
|
|
658
|
+
"""Hash of the pickup points data."""
|
|
659
|
+
pickupPointsHash: String
|
|
660
|
+
}
|
|
661
|
+
|
|
616
662
|
"""Product information. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on."""
|
|
617
663
|
type StoreProduct {
|
|
618
664
|
"""Meta tag data."""
|
|
@@ -965,6 +1011,11 @@ type Query {
|
|
|
965
1011
|
accountName: String @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
966
1012
|
"""Returns information about the user validation."""
|
|
967
1013
|
validateUser: ValidateUserData @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
1014
|
+
"""Returns a list of pickup points near to the given geo coordinates."""
|
|
1015
|
+
pickupPoints(
|
|
1016
|
+
"""Geo coordinates input."""
|
|
1017
|
+
geoCoordinates: IStoreGeoCoordinates
|
|
1018
|
+
): PickupPoints @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
968
1019
|
}
|
|
969
1020
|
|
|
970
1021
|
type ValidateUserData {
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.68.0](https://github.com/vtex/faststore/compare/v3.67.0...v3.68.0) (2025-07-28)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- Delivery Promise 1.2 - filters by shipping method ([#2784](https://github.com/vtex/faststore/issues/2784)) ([dacf843](https://github.com/vtex/faststore/commit/dacf843c81f19984a01f7a97ff25e3801e41ed07)), closes [#2803](https://github.com/vtex/faststore/issues/2803) [#2826](https://github.com/vtex/faststore/issues/2826) [#2845](https://github.com/vtex/faststore/issues/2845) [#2847](https://github.com/vtex/faststore/issues/2847) [#2851](https://github.com/vtex/faststore/issues/2851) [#2852](https://github.com/vtex/faststore/issues/2852) [#2847](https://github.com/vtex/faststore/issues/2847) [#2872](https://github.com/vtex/faststore/issues/2872) [#2886](https://github.com/vtex/faststore/issues/2886) [#2909](https://github.com/vtex/faststore/issues/2909) [#2916](https://github.com/vtex/faststore/issues/2916) [#2918](https://github.com/vtex/faststore/issues/2918) [#2922](https://github.com/vtex/faststore/issues/2922) [#2887](https://github.com/vtex/faststore/issues/2887) [#2944](https://github.com/vtex/faststore/issues/2944) [#2953](https://github.com/vtex/faststore/issues/2953) [#2956](https://github.com/vtex/faststore/issues/2956) [#2955](https://github.com/vtex/faststore/issues/2955) [#2961](https://github.com/vtex/faststore/issues/2961) [#2962](https://github.com/vtex/faststore/issues/2962)
|
|
11
|
+
|
|
6
12
|
# [3.67.0](https://github.com/vtex/faststore/compare/v3.66.0...v3.67.0) (2025-07-23)
|
|
7
13
|
|
|
8
14
|
### Features
|
|
@@ -3,7 +3,244 @@
|
|
|
3
3
|
"id": "globalSections",
|
|
4
4
|
"name": "Global Sections",
|
|
5
5
|
"scopes": ["global"],
|
|
6
|
-
"configurationSchemaSets": [
|
|
6
|
+
"configurationSchemaSets": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Settings",
|
|
9
|
+
"configurations": [
|
|
10
|
+
{
|
|
11
|
+
"name": "regionalization",
|
|
12
|
+
"schema": {
|
|
13
|
+
"title": "Regionalization",
|
|
14
|
+
"description": "Regionalization options",
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"inputField": {
|
|
18
|
+
"title": "Postal Code Input Field",
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"label": {
|
|
22
|
+
"title": "Label",
|
|
23
|
+
"type": "string",
|
|
24
|
+
"default": "Postal Code"
|
|
25
|
+
},
|
|
26
|
+
"errorMessage": {
|
|
27
|
+
"title": "Error message",
|
|
28
|
+
"type": "string",
|
|
29
|
+
"default": "You entered an invalid Postal Code"
|
|
30
|
+
},
|
|
31
|
+
"noProductsAvailableErrorMessage": {
|
|
32
|
+
"title": "Error message for the scenario of no products available for a given location",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"default": "There are no products available for %s.",
|
|
35
|
+
"description": "The '%s' will be replaced by the postal code value."
|
|
36
|
+
},
|
|
37
|
+
"buttonActionText": {
|
|
38
|
+
"title": "Action label to apply the postal code",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"default": "Apply"
|
|
41
|
+
},
|
|
42
|
+
"errorMessageHelper": {
|
|
43
|
+
"title": "Error message helper",
|
|
44
|
+
"type": "string",
|
|
45
|
+
"default": "Try using a different postal code.",
|
|
46
|
+
"description": "This message will guide user in case of an error."
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"idkPostalCodeLink": {
|
|
51
|
+
"title": "I don't know my postal code link",
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"text": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"title": "Link Text",
|
|
57
|
+
"default": "I don't know my Postal Code"
|
|
58
|
+
},
|
|
59
|
+
"to": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"title": "Action link"
|
|
62
|
+
},
|
|
63
|
+
"icon": {
|
|
64
|
+
"title": "Icon",
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"icon": {
|
|
68
|
+
"title": "Icon",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"enumNames": ["Arrow Square Out"],
|
|
71
|
+
"enum": ["ArrowSquareOut"],
|
|
72
|
+
"default": "ArrowSquareOut"
|
|
73
|
+
},
|
|
74
|
+
"alt": {
|
|
75
|
+
"title": "Alternative Label",
|
|
76
|
+
"type": "string",
|
|
77
|
+
"default": "Arrow Square Out icon"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "deliveryPromise",
|
|
88
|
+
"schema": {
|
|
89
|
+
"title": "Delivery Promise",
|
|
90
|
+
"description": "Delivery Promise configurations",
|
|
91
|
+
"type": "object",
|
|
92
|
+
"properties": {
|
|
93
|
+
"deliveryMethods": {
|
|
94
|
+
"title": "PLP/Search Filter: Delivery Methods",
|
|
95
|
+
"type": "object",
|
|
96
|
+
"required": ["title", "description"],
|
|
97
|
+
"properties": {
|
|
98
|
+
"title": {
|
|
99
|
+
"title": "Title",
|
|
100
|
+
"type": "string",
|
|
101
|
+
"default": "Delivery Methods"
|
|
102
|
+
},
|
|
103
|
+
"description": {
|
|
104
|
+
"title": "Description",
|
|
105
|
+
"type": "string",
|
|
106
|
+
"default": "Offers and availability vary by location."
|
|
107
|
+
},
|
|
108
|
+
"setLocationButtonLabel": {
|
|
109
|
+
"title": "Call to Action label",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"default": "Set Location"
|
|
112
|
+
},
|
|
113
|
+
"allDeliveryMethods": {
|
|
114
|
+
"title": "All delivery methods label",
|
|
115
|
+
"type": "string",
|
|
116
|
+
"default": "All delivery methods"
|
|
117
|
+
},
|
|
118
|
+
"delivery": {
|
|
119
|
+
"title": "Shipping label",
|
|
120
|
+
"type": "string",
|
|
121
|
+
"default": "Shipping to"
|
|
122
|
+
},
|
|
123
|
+
"pickupInPoint": {
|
|
124
|
+
"title": "Pickup in point label",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"default": "Pickup at"
|
|
127
|
+
},
|
|
128
|
+
"pickupNearby": {
|
|
129
|
+
"title": "Pickup Nearby label",
|
|
130
|
+
"type": "string",
|
|
131
|
+
"default": "Pickup Nearby"
|
|
132
|
+
},
|
|
133
|
+
"pickupAll": {
|
|
134
|
+
"title": "Pickup All",
|
|
135
|
+
"type": "object",
|
|
136
|
+
"properties": {
|
|
137
|
+
"enabled": {
|
|
138
|
+
"title": "Display pickup all filter",
|
|
139
|
+
"description": "Display the pickup all filter in the PLP/Search page. This is recommended only for B2B stores.",
|
|
140
|
+
"type": "boolean",
|
|
141
|
+
"default": false
|
|
142
|
+
},
|
|
143
|
+
"label": {
|
|
144
|
+
"title": "Label",
|
|
145
|
+
"type": "string",
|
|
146
|
+
"default": "Pickup Anywhere"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"regionSlider": {
|
|
153
|
+
"title": "RegionSlider SlideOver",
|
|
154
|
+
"type": "object",
|
|
155
|
+
"properties": {
|
|
156
|
+
"title": {
|
|
157
|
+
"title": "RegionSlider title",
|
|
158
|
+
"type": "object",
|
|
159
|
+
"properties": {
|
|
160
|
+
"setLocation": {
|
|
161
|
+
"title": "Set Location title",
|
|
162
|
+
"type": "string",
|
|
163
|
+
"default": "Set Location"
|
|
164
|
+
},
|
|
165
|
+
"changeLocation": {
|
|
166
|
+
"title": "Change Postal Code title",
|
|
167
|
+
"type": "string",
|
|
168
|
+
"default": "Change Location"
|
|
169
|
+
},
|
|
170
|
+
"changePickupPoint": {
|
|
171
|
+
"title": "Change Pickup Point location title",
|
|
172
|
+
"type": "string",
|
|
173
|
+
"default": "Change Store"
|
|
174
|
+
},
|
|
175
|
+
"globalChangePickupPoint": {
|
|
176
|
+
"title": "Change Global Pickup Point location title",
|
|
177
|
+
"type": "string",
|
|
178
|
+
"default": "Change Store"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"pickupPointChangeApplyButtonLabel": {
|
|
183
|
+
"title": "Change Pickup Point apply button label",
|
|
184
|
+
"type": "string",
|
|
185
|
+
"default": "Update"
|
|
186
|
+
},
|
|
187
|
+
"pickupPointClearFilterButtonLabel": {
|
|
188
|
+
"title": "Clear Pickup Point filter button label",
|
|
189
|
+
"type": "string",
|
|
190
|
+
"default": "Clear filter"
|
|
191
|
+
},
|
|
192
|
+
"choosePickupPointAriaLabel": {
|
|
193
|
+
"title": "Choose Pickup Point aria-label (radio group)",
|
|
194
|
+
"type": "string",
|
|
195
|
+
"default": "Choose a store"
|
|
196
|
+
},
|
|
197
|
+
"noPickupPointsAvailableInLocation": {
|
|
198
|
+
"title": "No Pickup Point available near location message",
|
|
199
|
+
"type": "string",
|
|
200
|
+
"default": "No stores near location."
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"filterByPickupPoint": {
|
|
205
|
+
"title": "Global Filter by Pickup Point",
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"enabled": {
|
|
209
|
+
"title": "Should enable global filter by pickup point?",
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"default": true
|
|
212
|
+
},
|
|
213
|
+
"label": {
|
|
214
|
+
"title": "Filter label",
|
|
215
|
+
"type": "string",
|
|
216
|
+
"default": "Filter by Store"
|
|
217
|
+
},
|
|
218
|
+
"icon": {
|
|
219
|
+
"title": "Filter icon",
|
|
220
|
+
"type": "object",
|
|
221
|
+
"properties": {
|
|
222
|
+
"icon": {
|
|
223
|
+
"title": "Icon",
|
|
224
|
+
"type": "string",
|
|
225
|
+
"enumNames": ["Storefront"],
|
|
226
|
+
"enum": ["Storefront"],
|
|
227
|
+
"default": "Storefront"
|
|
228
|
+
},
|
|
229
|
+
"alt": {
|
|
230
|
+
"title": "Alternative label",
|
|
231
|
+
"type": "string",
|
|
232
|
+
"default": "Storefront icon"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
}
|
|
243
|
+
],
|
|
7
244
|
"isSingleton": true
|
|
8
245
|
},
|
|
9
246
|
{
|