@faststore/core 3.95.1-dev.0 → 3.96.0-dev.18
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 +41 -41
- 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 +11 -11
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/7098.js +1 -1
- package/.next/server/chunks/948.js +1 -1
- package/.next/server/chunks/9563.js +3 -3
- package/.next/server/chunks/9630.js +7 -7
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/[...slug].js +1 -1
- package/.next/server/pages/[slug]/p.js +1 -1
- package/.next/server/pages/api/graphql.js +3 -3
- 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/en-US.json +1 -1
- package/.next/server/pages/pvt/account/orders/[id].js +1 -1
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/chunks/{1841.b3a98a2a1886b09c.js → 1841.a1b15f2c88e02d32.js} +1 -1
- package/.next/static/chunks/{2927.5a79877943a6bf7c.js → 2927.23bae2c79f0ac0f3.js} +1 -1
- package/.next/static/chunks/{7191-5aa417081c97d46a.js → 7191-5ede6e7ef625ea77.js} +1 -1
- package/.next/static/chunks/{9173-49a05f6f96710bd1.js → 9173-2ed920b87ee6640e.js} +1 -1
- package/.next/static/chunks/{UIToast.19a8664c01a00d3a.js → UIToast.de15325248043ce5.js} +1 -1
- package/.next/static/chunks/pages/[slug]/{p-cf620759e25940f8.js → p-b9320679eebf6f5c.js} +1 -1
- package/.next/static/chunks/pages/{_app-8e3a3eccc99a6f96.js → _app-35b56c71ba4f9a54.js} +1 -1
- package/.next/static/chunks/pages/pvt/account/orders/{[id]-68bbe8db444fd60a.js → [id]-dc662a778c5b8876.js} +1 -1
- package/.next/static/chunks/{webpack-f9e5828934d6d57c.js → webpack-237c97ab0eda7441.js} +1 -1
- package/.next/static/{xPZqGftdSs0H8UD6M_H3H → kf421rvguK2vjVH6LCPtr}/_buildManifest.js +1 -1
- package/.next/trace +138 -138
- package/.turbo/turbo-build.log +14 -14
- package/.turbo/turbo-test.log +8 -7
- package/@generated/gql.ts +2 -2
- package/@generated/graphql.ts +6 -1
- package/@generated/persisted-documents.json +1 -1
- package/@generated/schema.graphql +3 -0
- package/CHANGELOG.md +86 -0
- package/cms/faststore/base.jsonc +42 -0
- package/cms/faststore/components/cms_component__alert.jsonc +40 -0
- package/cms/faststore/components/cms_component__bannernewsletter.jsonc +183 -0
- package/cms/faststore/components/cms_component__bannertext.jsonc +51 -0
- package/cms/faststore/components/cms_component__breadcrumb.jsonc +21 -0
- package/cms/faststore/components/cms_component__cartsidebar.jsonc +122 -0
- package/cms/faststore/components/cms_component__children.jsonc +8 -0
- package/cms/faststore/components/cms_component__crosssellingshelf.jsonc +50 -0
- package/cms/faststore/components/cms_component__emptystate.jsonc +73 -0
- package/cms/faststore/components/cms_component__footer.jsonc +238 -0
- package/cms/faststore/components/cms_component__hero.jsonc +71 -0
- package/cms/faststore/components/cms_component__incentives.jsonc +51 -0
- package/cms/faststore/components/cms_component__navbar.jsonc +318 -0
- package/cms/faststore/components/cms_component__newsletter.jsonc +133 -0
- package/cms/faststore/components/cms_component__productdetails.jsonc +246 -0
- package/cms/faststore/components/cms_component__productgallery.jsonc +312 -0
- package/cms/faststore/components/cms_component__productshelf.jsonc +117 -0
- package/cms/faststore/components/cms_component__producttiles.jsonc +95 -0
- package/cms/faststore/components/cms_component__regionbar.jsonc +58 -0
- package/cms/faststore/components/cms_component__regionmodal.jsonc +85 -0
- package/cms/faststore/components/cms_component__regionpopover.jsonc +97 -0
- package/cms/faststore/components/cms_component__search.jsonc +144 -0
- package/cms/faststore/pages/cms_content_type__404.jsonc +18 -0
- package/cms/faststore/pages/cms_content_type__500.jsonc +18 -0
- package/cms/faststore/pages/cms_content_type__globalfootersections.jsonc +73 -0
- package/cms/faststore/pages/cms_content_type__globalheadersections.jsonc +73 -0
- package/cms/faststore/pages/cms_content_type__globalsections.jsonc +375 -0
- package/cms/faststore/pages/cms_content_type__home.jsonc +213 -0
- package/cms/faststore/pages/cms_content_type__landingpage.jsonc +108 -0
- package/cms/faststore/pages/cms_content_type__login.jsonc +18 -0
- package/cms/faststore/pages/cms_content_type__pdp.jsonc +115 -0
- package/cms/faststore/pages/cms_content_type__plp.jsonc +130 -0
- package/cms/faststore/pages/cms_content_type__search.jsonc +118 -0
- package/cms/faststore/schema.json +3859 -0
- package/cms/faststore/sections.json +2 -2
- package/package.json +15 -8
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordion.tsx +18 -15
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +9 -3
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/MyAccountSummaryCard.tsx +0 -1
- package/src/pages/api/graphql.ts +26 -5
- package/src/pages/pvt/account/orders/[id].tsx +2 -0
- package/src/sdk/graphql/request.ts +10 -1
- package/src/utils/cookieCacheBusting.ts +141 -0
- package/test/utils/cookieCacheBusting.test.ts +121 -0
- /package/.next/static/{xPZqGftdSs0H8UD6M_H3H → kf421rvguK2vjVH6LCPtr}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.96.0-dev.17 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.96.0-dev.17 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.96.0-dev.17 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.96.0-dev.17 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.96.0-dev.17 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.96.0-dev.17 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.96.0-dev.17 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
|
|
@@ -80,15 +80,15 @@ Import trace for requested module:
|
|
|
80
80
|
Collecting page data ...
|
|
81
81
|
Generating static pages (0/6) ...
|
|
82
82
|
|
|
83
83
|
Generating static pages (1/6)
|
|
84
|
-
|
|
85
84
|
Generating static pages (2/6)
|
|
86
85
|
Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
|
|
86
|
+
|
|
87
87
|
Generating static pages (2/6)
|
|
88
88
|
|
|
89
89
|
Generating static pages (4/6)
|
|
90
90
|
|
|
91
91
|
✓ Generating static pages (6/6)
|
|
92
92
|
Finalizing page optimization ...
|
|
93
93
|
Collecting build traces ...
|
|
94
94
|
|
|
95
95
|
Route (pages) Size First Load JS
|
|
96
|
-
┌ ● / 7.39 kB
|
|
96
|
+
┌ ● / 7.39 kB 147 kB
|
|
97
97
|
├ └ css/02259c549b2179f2.css 3.1 kB
|
|
98
98
|
├ /_app 0 B 108 kB
|
|
99
99
|
├ ● /[...slug] 2.55 kB 157 kB
|
|
@@ -103,10 +103,10 @@ Route (pages) Size First Load JS
|
|
|
103
103
|
├ ● /checkout 749 B 140 kB
|
|
104
104
|
├ ● /login 1.7 kB 141 kB
|
|
105
105
|
├ λ /pvt/account 247 B 108 kB
|
|
106
|
-
├ ● /pvt/account/[...unknown] 287 B
|
|
106
|
+
├ ● /pvt/account/[...unknown] 287 B 109 kB
|
|
107
107
|
├ λ /pvt/account/403 2.98 kB 142 kB
|
|
108
108
|
├ └ css/0fae3d432331aae9.css 4.68 kB
|
|
109
|
-
├ λ /pvt/account/404 2.18 kB
|
|
109
|
+
├ λ /pvt/account/404 2.18 kB 142 kB
|
|
110
110
|
├ └ css/0fc6b2ff69142c6a.css 4.74 kB
|
|
111
111
|
├ λ /pvt/account/orders 9.78 kB 149 kB
|
|
112
112
|
├ └ css/40a294d0a24ad01d.css 14.1 kB
|
|
@@ -118,12 +118,12 @@ Route (pages) Size First Load JS
|
|
|
118
118
|
├ └ css/973dd40d4773e8cd.css 5.74 kB
|
|
119
119
|
├ λ /pvt/account/user-details 1.91 kB 141 kB
|
|
120
120
|
├ └ css/05c399956ff24b77.css 4.54 kB
|
|
121
|
-
└ ● /s 3.36 kB
|
|
121
|
+
└ ● /s 3.36 kB 158 kB
|
|
122
122
|
+ First Load JS shared by all 112 kB
|
|
123
123
|
├ chunks/framework-d514426edf885c68.js 45.4 kB
|
|
124
124
|
├ chunks/main-ec03882c4375091d.js 33.2 kB
|
|
125
|
-
├ chunks/pages/_app-
|
|
126
|
-
├ chunks/webpack-
|
|
125
|
+
├ chunks/pages/_app-35b56c71ba4f9a54.js 25.8 kB
|
|
126
|
+
├ chunks/webpack-237c97ab0eda7441.js 3.85 kB
|
|
127
127
|
└ css/0f070d03aacd9cc5.css 3.57 kB
|
|
128
128
|
|
|
129
129
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.96.0-dev.17 test /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS test/
|
|
6
|
-
PASS test/
|
|
5
|
+
PASS test/utils/multipleTemplates.test.ts (25.029 s)
|
|
6
|
+
PASS test/server/cms/global.test.ts
|
|
7
|
+
PASS test/utils/cookieCacheBusting.test.ts (24.88 s)
|
|
7
8
|
PASS test/server/cms/index.test.ts
|
|
8
|
-
PASS test/server/index.test.ts (
|
|
9
|
+
PASS test/server/index.test.ts (28.994 s)
|
|
9
10
|
|
|
10
|
-
Test Suites:
|
|
11
|
-
Tests:
|
|
11
|
+
Test Suites: 5 passed, 5 total
|
|
12
|
+
Tests: 27 passed, 27 total
|
|
12
13
|
Snapshots: 0 total
|
|
13
|
-
Time:
|
|
14
|
+
Time: 30.044 s
|
|
14
15
|
Ran all test suites.
|
package/@generated/gql.ts
CHANGED
|
@@ -46,7 +46,7 @@ const documents = {
|
|
|
46
46
|
types.ServerProductQueryDocument,
|
|
47
47
|
'\n fragment UserOrderItemsFragment on UserOrderItems {\n id\n name\n quantity\n sellingPrice\n unitMultiplier\n measurementUnit\n imageUrl\n detailUrl\n refId\n rewardValue\n }\n':
|
|
48
48
|
types.UserOrderItemsFragmentFragmentDoc,
|
|
49
|
-
'\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n':
|
|
49
|
+
'\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n sellingPrice\n imageUrl\n tax\n taxPriceTagsTotal\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n':
|
|
50
50
|
types.ServerOrderDetailsQueryDocument,
|
|
51
51
|
'\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String, $pendingMyApproval: Boolean) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail, pendingMyApproval: $pendingMyApproval) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n accountProfile {\n name\n }\n }\n':
|
|
52
52
|
types.ServerListOrdersQueryDocument,
|
|
@@ -200,7 +200,7 @@ export function gql(
|
|
|
200
200
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
201
201
|
*/
|
|
202
202
|
export function gql(
|
|
203
|
-
source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n'
|
|
203
|
+
source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n sellingPrice\n imageUrl\n tax\n taxPriceTagsTotal\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n'
|
|
204
204
|
): typeof import('./graphql').ServerOrderDetailsQueryDocument
|
|
205
205
|
/**
|
|
206
206
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
package/@generated/graphql.ts
CHANGED
|
@@ -1911,7 +1911,10 @@ export type UserOrderDeliveryOptionsItems = {
|
|
|
1911
1911
|
name: Maybe<Scalars['String']['output']>
|
|
1912
1912
|
price: Maybe<Scalars['Float']['output']>
|
|
1913
1913
|
quantity: Maybe<Scalars['Int']['output']>
|
|
1914
|
+
sellingPrice: Maybe<Scalars['Float']['output']>
|
|
1914
1915
|
tax: Maybe<Scalars['Float']['output']>
|
|
1916
|
+
taxPriceTags: Maybe<Array<Maybe<UserOrderPriceTag>>>
|
|
1917
|
+
taxPriceTagsTotal: Maybe<Scalars['Float']['output']>
|
|
1915
1918
|
total: Maybe<Scalars['Float']['output']>
|
|
1916
1919
|
uniqueId: Maybe<Scalars['String']['output']>
|
|
1917
1920
|
}
|
|
@@ -2872,8 +2875,10 @@ export type ServerOrderDetailsQueryQuery = {
|
|
|
2872
2875
|
name: string | null
|
|
2873
2876
|
quantity: number | null
|
|
2874
2877
|
price: number | null
|
|
2878
|
+
sellingPrice: number | null
|
|
2875
2879
|
imageUrl: string | null
|
|
2876
2880
|
tax: number | null
|
|
2881
|
+
taxPriceTagsTotal: number | null
|
|
2877
2882
|
total: number | null
|
|
2878
2883
|
} | null> | null
|
|
2879
2884
|
} | null> | null
|
|
@@ -4322,7 +4327,7 @@ export const ServerProductQueryDocument = {
|
|
|
4322
4327
|
export const ServerOrderDetailsQueryDocument = {
|
|
4323
4328
|
__meta__: {
|
|
4324
4329
|
operationName: 'ServerOrderDetailsQuery',
|
|
4325
|
-
operationHash: '
|
|
4330
|
+
operationHash: 'a9c4099d622ef84c92396e2ca938ee4df4f45dce',
|
|
4326
4331
|
},
|
|
4327
4332
|
} as unknown as TypedDocumentString<
|
|
4328
4333
|
ServerOrderDetailsQueryQuery,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"9baae331b75848a310fecb457e8c971ae27897ff": "query ServerAccountPageQuery { accountProfile { name } }",
|
|
3
3
|
"4b33c5c07f440dc7489e55619dc2211a13786e72": "fragment ServerCollectionPage on Query { collection(slug: $slug) { id } } query ServerCollectionPageQuery($slug: String!) { collection(slug: $slug) { breadcrumbList { itemListElement { item name position } } meta { selectedFacets { key value } } seo { description title } } ...ServerCollectionPage }",
|
|
4
4
|
"e855903879c6504e90269e6e010549bc6de933eb": "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 } fragment ProductDetailsFragment_product on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } description gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations allVariantProducts { name productID } availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes seller { identifier } } } id: productID sku unitMultiplier ...CartProductItem } fragment ServerProduct on Query { product(locator: $locator) { id: productID } } query ServerProductQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { brand { name } breadcrumbList { itemListElement { item name position } } description gtin image { alternateName url } isVariantOf { productGroupID } name offers { highPrice lowPrice lowPriceWithTaxes offers { availability itemCondition price priceCurrency priceValidUntil seller { identifier } } priceCurrency } id: productID releaseDate seo { canonical description title } sku ...ProductDetailsFragment_product } ...ServerProduct }",
|
|
5
|
-
"
|
|
5
|
+
"a9c4099d622ef84c92396e2ca938ee4df4f45dce": "query ServerOrderDetailsQuery($orderId: String!) { accountProfile { name } userOrder(orderId: $orderId) { allowCancellation canProcessOrderAuthorization clientProfileData { corporateName email firstName isCorporate lastName phone } creationDate customFields { fields { name refId value } id type } deliveryOptionsData { contact { email name phone } deliveryOptions { address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } deliveryChannel deliveryCompany deliveryWindow { endDateUtc price startDateUtc } friendlyDeliveryOptionName friendlyShippingEstimate items { id imageUrl name price quantity sellingPrice tax taxPriceTagsTotal total uniqueId } pickupStoreInfo { additionalInfo address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } dockId friendlyName isPickupStore } quantityOfDifferentItems selectedSla seller shippingEstimate shippingEstimateDate total } } orderId paymentData { transactions { isActive payments { bankIssuedInvoiceIdentificationNumber connectorResponses { authId } group id installments lastDigits paymentOrigin paymentSystemName redemptionCode referenceValue tid url value } } } 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 } } } } shopper { email firstName lastName phone } status statusDescription storePreferencesData { currencyCode } totals { id name value } } }",
|
|
6
6
|
"70d06de1da9c11f10ebde31b66fd74eccd456af5": "query ServerListOrdersQuery($clientEmail: String, $dateFinal: String, $dateInitial: String, $page: Int, $pendingMyApproval: Boolean, $perPage: Int, $status: [String], $text: String) { accountProfile { name } listUserOrders( page: $page perPage: $perPage status: $status dateInitial: $dateInitial dateFinal: $dateFinal text: $text clientEmail: $clientEmail pendingMyApproval: $pendingMyApproval ) { list { ShippingEstimatedDate clientName creationDate currencyCode customFields { type value } items { description ean id price productId quantity refId seller sellingPrice } orderId status statusDescription totalValue } paging { currentPage pages perPage total } } }",
|
|
7
7
|
"672fe0f00b7b710b63fc6573c0a6b2ec54812b8f": "query ServerProfileQuery { accountProfile { email id name } }",
|
|
8
8
|
"0890ba3456c40a426893b80b698df7a84cfdd6a1": "query ServerSecurity { accountProfile { name } userDetails { email } }",
|
|
@@ -2280,8 +2280,11 @@ type UserOrderDeliveryOptionsItems {
|
|
|
2280
2280
|
name: String
|
|
2281
2281
|
quantity: Int
|
|
2282
2282
|
price: Float
|
|
2283
|
+
sellingPrice: Float
|
|
2283
2284
|
imageUrl: String
|
|
2284
2285
|
tax: Float
|
|
2286
|
+
taxPriceTags: [UserOrderPriceTag]
|
|
2287
|
+
taxPriceTagsTotal: Float
|
|
2285
2288
|
total: Float
|
|
2286
2289
|
}
|
|
2287
2290
|
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,92 @@
|
|
|
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.96.0-dev.18 (2025-12-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @faststore/core
|
|
9
|
+
|
|
10
|
+
# 3.96.0-dev.17 (2025-12-23)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @faststore/core
|
|
13
|
+
|
|
14
|
+
# [3.96.0-dev.16](https://github.com/vtex/faststore/compare/v3.96.0-dev.15...v3.96.0-dev.16) (2025-12-23)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @faststore/core
|
|
17
|
+
|
|
18
|
+
# [3.96.0-dev.15](https://github.com/vtex/faststore/compare/v3.96.0-dev.14...v3.96.0-dev.15) (2025-12-23)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @faststore/core
|
|
21
|
+
|
|
22
|
+
# [3.96.0-dev.14](https://github.com/vtex/faststore/compare/v3.96.0-dev.13...v3.96.0-dev.14) (2025-12-23)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @faststore/core
|
|
25
|
+
|
|
26
|
+
# [3.96.0-dev.13](https://github.com/vtex/faststore/compare/v3.96.0-dev.12...v3.96.0-dev.13) (2025-12-23)
|
|
27
|
+
|
|
28
|
+
**Note:** Version bump only for package @faststore/core
|
|
29
|
+
|
|
30
|
+
# [3.96.0-dev.12](https://github.com/vtex/faststore/compare/v3.96.0-dev.11...v3.96.0-dev.12) (2025-12-23)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @faststore/core
|
|
33
|
+
|
|
34
|
+
# 3.96.0-dev.11 (2025-12-23)
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
- correct comment for platform specific config in discovery configuration ([0fea6fa](https://github.com/vtex/faststore/commit/0fea6faf812c0f0af3f139b6507b2f342264209c))
|
|
39
|
+
|
|
40
|
+
# 3.96.0-dev.10 (2025-12-23)
|
|
41
|
+
|
|
42
|
+
**Note:** Version bump only for package @faststore/core
|
|
43
|
+
|
|
44
|
+
# [3.96.0-dev.9](https://github.com/vtex/faststore/compare/v3.96.0-dev.8...v3.96.0-dev.9) (2025-12-23)
|
|
45
|
+
|
|
46
|
+
**Note:** Version bump only for package @faststore/core
|
|
47
|
+
|
|
48
|
+
# [3.96.0-dev.8](https://github.com/vtex/faststore/compare/v3.96.0-dev.7...v3.96.0-dev.8) (2025-12-23)
|
|
49
|
+
|
|
50
|
+
**Note:** Version bump only for package @faststore/core
|
|
51
|
+
|
|
52
|
+
# 3.96.0-dev.7 (2025-12-23)
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
- correct comment for platform specific API configuration in discovery config ([b03968c](https://github.com/vtex/faststore/commit/b03968c84cfb935b71ef64f575dcdf3e8f624b5a))
|
|
57
|
+
|
|
58
|
+
# 3.96.0-dev.6 (2025-12-23)
|
|
59
|
+
|
|
60
|
+
**Note:** Version bump only for package @faststore/core
|
|
61
|
+
|
|
62
|
+
# 3.96.0-dev.5 (2025-12-23)
|
|
63
|
+
|
|
64
|
+
### Features
|
|
65
|
+
|
|
66
|
+
- Trigger build ([28b6ec0](https://github.com/vtex/faststore/commit/28b6ec0489080be0a3431ec2ead7bfce0da75a34))
|
|
67
|
+
|
|
68
|
+
# 3.96.0-dev.4 (2025-12-23)
|
|
69
|
+
|
|
70
|
+
**Note:** Version bump only for package @faststore/core
|
|
71
|
+
|
|
72
|
+
# [3.96.0-dev.3](https://github.com/vtex/faststore/compare/v3.96.0-dev.2...v3.96.0-dev.3) (2025-12-22)
|
|
73
|
+
|
|
74
|
+
**Note:** Version bump only for package @faststore/core
|
|
75
|
+
|
|
76
|
+
# [3.96.0-dev.2](https://github.com/vtex/faststore/compare/v3.96.0-dev.1...v3.96.0-dev.2) (2025-12-18)
|
|
77
|
+
|
|
78
|
+
### Bug Fixes
|
|
79
|
+
|
|
80
|
+
- adds cache busting to bypass cache when logged in/out. ([#3152](https://github.com/vtex/faststore/issues/3152)) ([862ea50](https://github.com/vtex/faststore/commit/862ea50999214771c4fa38fa70db789b4de5e59b))
|
|
81
|
+
|
|
82
|
+
# [3.96.0-dev.1](https://github.com/vtex/faststore/compare/v3.96.0-dev.0...v3.96.0-dev.1) (2025-12-16)
|
|
83
|
+
|
|
84
|
+
**Note:** Version bump only for package @faststore/core
|
|
85
|
+
|
|
86
|
+
# [3.96.0-dev.0](https://github.com/vtex/faststore/compare/v3.95.1-dev.0...v3.96.0-dev.0) (2025-12-10)
|
|
87
|
+
|
|
88
|
+
### Features
|
|
89
|
+
|
|
90
|
+
- adds `priceTags` as tax - SFS-2970 ([#3144](https://github.com/vtex/faststore/issues/3144)) ([d1b3869](https://github.com/vtex/faststore/commit/d1b38699f2955890be1759e1d6d6cf55e1c4dda9))
|
|
91
|
+
|
|
6
92
|
## [3.95.1-dev.0](https://github.com/vtex/faststore/compare/v3.95.0...v3.95.1-dev.0) (2025-12-02)
|
|
7
93
|
|
|
8
94
|
**Note:** Version bump only for package @faststore/core
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
// This should be automatically updated and point to Schema Registry.
|
|
3
|
+
"$id": "https://vtex.vtexcommercestable.com.br/api/content-platform/schemas/vtex/faststore",
|
|
4
|
+
"title": "FastStore Schema",
|
|
5
|
+
"description": "Collection of default schemas for FastStore.",
|
|
6
|
+
// Default components available in FastStore can be added here.
|
|
7
|
+
"components": {},
|
|
8
|
+
// Default content-types available in FastStore can be added here.
|
|
9
|
+
"content-types": {},
|
|
10
|
+
"$defs": {
|
|
11
|
+
// Base schema for all components.
|
|
12
|
+
// Every component schema must extend this base schema.
|
|
13
|
+
"base-component": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": ["$componentKey", "$componentTitle"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"$componentKey": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Unique identifier for the component"
|
|
20
|
+
},
|
|
21
|
+
"$componentTitle": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"description": "Display title for the component"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"base-page-template": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"sections": {
|
|
31
|
+
"$ref": "#/$defs/$ALLOW_ALL_COMPONENTS"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
// DO NOT modify this property directly!!!.
|
|
36
|
+
// This is a special property that allows all components to be used in
|
|
37
|
+
// the `sections` property of a content-type.
|
|
38
|
+
// Its content will be generated before this schema is sent to
|
|
39
|
+
// the Schema Registry.
|
|
40
|
+
"$ALLOW_ALL_COMPONENTS": {}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "Alert",
|
|
4
|
+
"$componentTitle": "Alert",
|
|
5
|
+
"title": "Alert",
|
|
6
|
+
"description": "Add an alert",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["icon", "content", "dismissible"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"icon": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"title": "Icon",
|
|
13
|
+
"enumNames": ["Bell", "BellRinging", "Checked", "Info", "Truck", "User"],
|
|
14
|
+
"enum": ["Bell", "BellRinging", "Checked", "Info", "Truck", "User"]
|
|
15
|
+
},
|
|
16
|
+
"content": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"title": "Content"
|
|
19
|
+
},
|
|
20
|
+
"link": {
|
|
21
|
+
"title": "Link",
|
|
22
|
+
"type": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"text": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"title": "Link Text"
|
|
27
|
+
},
|
|
28
|
+
"to": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"title": "Action link"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"dismissible": {
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"default": false,
|
|
37
|
+
"title": "Is dismissible?"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "BannerNewsletter",
|
|
4
|
+
"$componentTitle": "Banner Newsletter",
|
|
5
|
+
"title": "Banner Newsletter",
|
|
6
|
+
"description": "Add newsletter with a banner",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["banner", "newsletter"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"banner": {
|
|
11
|
+
"title": "Banner",
|
|
12
|
+
"type": "object",
|
|
13
|
+
"required": ["title", "link"],
|
|
14
|
+
"properties": {
|
|
15
|
+
"title": {
|
|
16
|
+
"title": "Title",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"default": "Check out our next release"
|
|
19
|
+
},
|
|
20
|
+
"caption": {
|
|
21
|
+
"title": "Caption",
|
|
22
|
+
"type": "string",
|
|
23
|
+
"default": "Discover cutting-edge tech, advanced features, and a seamless user experience. Get ready for the future!"
|
|
24
|
+
},
|
|
25
|
+
"link": {
|
|
26
|
+
"title": "Call to Action",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"required": ["text", "url"],
|
|
29
|
+
"properties": {
|
|
30
|
+
"text": {
|
|
31
|
+
"title": "Text",
|
|
32
|
+
"type": "string",
|
|
33
|
+
"default": "Shop now"
|
|
34
|
+
},
|
|
35
|
+
"url": {
|
|
36
|
+
"title": "URL",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"default": "/"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"colorVariant": {
|
|
43
|
+
"title": "Color variant",
|
|
44
|
+
"type": "string",
|
|
45
|
+
"enumNames": ["Main", "Light", "Accent"],
|
|
46
|
+
"enum": ["main", "light", "accent"],
|
|
47
|
+
"default": "light"
|
|
48
|
+
},
|
|
49
|
+
"variant": {
|
|
50
|
+
"title": "Variant",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"enumNames": ["Primary", "Secondary"],
|
|
53
|
+
"enum": ["primary", "secondary"],
|
|
54
|
+
"default": "secondary"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"newsletter": {
|
|
59
|
+
"title": "Newsletter",
|
|
60
|
+
"type": "object",
|
|
61
|
+
"required": ["title", "description"],
|
|
62
|
+
"properties": {
|
|
63
|
+
"icon": {
|
|
64
|
+
"title": "Icon",
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"icon": {
|
|
68
|
+
"title": "Icon",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"enumNames": ["Envelope"],
|
|
71
|
+
"enum": ["Envelope"],
|
|
72
|
+
"default": "Envelope"
|
|
73
|
+
},
|
|
74
|
+
"alt": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"title": "Alternative Label",
|
|
77
|
+
"default": "Envelope"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"title": {
|
|
82
|
+
"title": "Title",
|
|
83
|
+
"type": "string",
|
|
84
|
+
"default": "Subscribe to the newsletter"
|
|
85
|
+
},
|
|
86
|
+
"description": {
|
|
87
|
+
"title": "Description",
|
|
88
|
+
"type": "string",
|
|
89
|
+
"default": "Get news and special offers!"
|
|
90
|
+
},
|
|
91
|
+
"privacyPolicy": {
|
|
92
|
+
"title": "Privacy Policy Disclaimer",
|
|
93
|
+
"type": "string",
|
|
94
|
+
"widget": {
|
|
95
|
+
"ui:widget": "draftjs-rich-text"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"emailInputLabel": {
|
|
99
|
+
"title": "Email input label",
|
|
100
|
+
"type": "string",
|
|
101
|
+
"default": "Email"
|
|
102
|
+
},
|
|
103
|
+
"displayNameInput": {
|
|
104
|
+
"title": "Request name?",
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"default": true
|
|
107
|
+
},
|
|
108
|
+
"nameInputLabel": {
|
|
109
|
+
"title": "Name input label",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"default": "Name"
|
|
112
|
+
},
|
|
113
|
+
"subscribeButtonLabel": {
|
|
114
|
+
"title": "Subscribe button label",
|
|
115
|
+
"type": "string",
|
|
116
|
+
"default": "Subscribe"
|
|
117
|
+
},
|
|
118
|
+
"subscribeButtonLoadingLabel": {
|
|
119
|
+
"title": "Subscribe button loading label",
|
|
120
|
+
"type": "string",
|
|
121
|
+
"default": "Loading..."
|
|
122
|
+
},
|
|
123
|
+
"colorVariant": {
|
|
124
|
+
"title": "Color variant",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"enumNames": ["Main", "Light", "Accent"],
|
|
127
|
+
"enum": ["main", "light", "accent"],
|
|
128
|
+
"default": "main"
|
|
129
|
+
},
|
|
130
|
+
"toastSubscribe": {
|
|
131
|
+
"title": "Toast Subscribe",
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"title": {
|
|
135
|
+
"title": "Title",
|
|
136
|
+
"description": "Message Title",
|
|
137
|
+
"type": "string",
|
|
138
|
+
"default": "Hooray!"
|
|
139
|
+
},
|
|
140
|
+
"message": {
|
|
141
|
+
"title": "Message",
|
|
142
|
+
"description": "Message",
|
|
143
|
+
"type": "string",
|
|
144
|
+
"default": "Thanks for your subscription."
|
|
145
|
+
},
|
|
146
|
+
"icon": {
|
|
147
|
+
"title": "Icon",
|
|
148
|
+
"type": "string",
|
|
149
|
+
"enumNames": ["CircleWavyCheck"],
|
|
150
|
+
"enum": ["CircleWavyCheck"],
|
|
151
|
+
"default": "CircleWavyCheck"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"toastSubscribeError": {
|
|
156
|
+
"title": "Toast Subscribe Error",
|
|
157
|
+
"type": "object",
|
|
158
|
+
"properties": {
|
|
159
|
+
"title": {
|
|
160
|
+
"title": "Title",
|
|
161
|
+
"description": "Message Title",
|
|
162
|
+
"type": "string",
|
|
163
|
+
"default": "Oops!"
|
|
164
|
+
},
|
|
165
|
+
"message": {
|
|
166
|
+
"title": "Message",
|
|
167
|
+
"description": "Message",
|
|
168
|
+
"type": "string",
|
|
169
|
+
"default": "Something went wrong. Please try again."
|
|
170
|
+
},
|
|
171
|
+
"icon": {
|
|
172
|
+
"title": "Icon",
|
|
173
|
+
"type": "string",
|
|
174
|
+
"enumNames": ["CircleWavyWarning"],
|
|
175
|
+
"enum": ["CircleWavyWarning"],
|
|
176
|
+
"default": "CircleWavyWarning"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$extends": ["#/$defs/base-component"],
|
|
3
|
+
"$componentKey": "BannerText",
|
|
4
|
+
"$componentTitle": "Banner Text",
|
|
5
|
+
"title": "Banner Text",
|
|
6
|
+
"description": "Add a quick promotion with a text/action pair",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["title", "caption", "link"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"title": {
|
|
11
|
+
"title": "Title",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"caption": {
|
|
15
|
+
"title": "Caption",
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"link": {
|
|
19
|
+
"title": "Call to Action",
|
|
20
|
+
"type": "object",
|
|
21
|
+
"required": ["text", "url"],
|
|
22
|
+
"properties": {
|
|
23
|
+
"text": {
|
|
24
|
+
"title": "Text",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"url": {
|
|
28
|
+
"title": "URL",
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"linkTargetBlank": {
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"title": "Open link in new window?",
|
|
34
|
+
"default": false
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"colorVariant": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"title": "Color variant",
|
|
41
|
+
"enumNames": ["Main", "Light", "Accent"],
|
|
42
|
+
"enum": ["main", "light", "accent"]
|
|
43
|
+
},
|
|
44
|
+
"variant": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"title": "Variant",
|
|
47
|
+
"enumNames": ["Primary", "Secondary"],
|
|
48
|
+
"enum": ["primary", "secondary"]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|