@thryveai/theme-interfaces 2.8.36 → 2.8.37

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 (33) hide show
  1. package/dist/JSONSchemas/index.d.ts +29 -33
  2. package/dist/JSONSchemas/index.js +79 -83
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +15 -0
  5. package/dist/interfaces/retailer-settings.interfaces.d.ts +0 -1
  6. package/dist/product-card-template/layouts/CarouselCard/DUN-attributes.d.ts +3 -0
  7. package/dist/product-card-template/layouts/CarouselCard/DUN-attributes.js +312 -0
  8. package/dist/product-card-template/layouts/CarouselCard/Default.d.ts +3 -0
  9. package/dist/product-card-template/layouts/CarouselCard/Default.js +330 -0
  10. package/dist/product-card-template/layouts/CarouselCard/PCE-centered.d.ts +3 -0
  11. package/dist/product-card-template/layouts/CarouselCard/PCE-centered.js +216 -0
  12. package/dist/product-card-template/layouts/CarouselCard/PRS-labels.d.ts +3 -0
  13. package/dist/product-card-template/layouts/CarouselCard/PRS-labels.js +283 -0
  14. package/dist/product-card-template/layouts/FlyerCard/Default.d.ts +3 -0
  15. package/dist/product-card-template/layouts/FlyerCard/Default.js +114 -0
  16. package/dist/product-card-template/layouts/FlyerCard/Detailed.d.ts +3 -0
  17. package/dist/product-card-template/layouts/FlyerCard/Detailed.js +164 -0
  18. package/dist/product-card-template/layouts/ProductGrid/DUN-attributes.d.ts +3 -0
  19. package/dist/product-card-template/layouts/ProductGrid/DUN-attributes.js +344 -0
  20. package/dist/product-card-template/layouts/ProductGrid/Default.d.ts +3 -0
  21. package/dist/product-card-template/layouts/ProductGrid/Default.js +341 -0
  22. package/dist/product-card-template/layouts/ProductGrid/PCE-centered.d.ts +3 -0
  23. package/dist/product-card-template/layouts/ProductGrid/PCE-centered.js +317 -0
  24. package/dist/product-card-template/layouts/ProductGrid/PRS-labels.d.ts +3 -0
  25. package/dist/product-card-template/layouts/ProductGrid/PRS-labels.js +319 -0
  26. package/dist/product-card-template/template.interfaces.d.ts +55 -0
  27. package/dist/product-card-template/template.interfaces.js +51 -0
  28. package/dist/storefront/commonSettingsStorefront.js +0 -1
  29. package/dist/storefront/defaultIconsStorefront.js +1 -1
  30. package/dist/storefront/defaultSettingsStorefront.js +0 -1
  31. package/dist/storefront/defaultThemeStorefront.d.ts +17 -0
  32. package/dist/storefront/defaultThemeStorefront.js +18 -1
  33. package/package.json +1 -1
@@ -0,0 +1,341 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var defaultThemeStorefront_1 = require("../../../storefront/defaultThemeStorefront");
4
+ var ProductGridDefault = {
5
+ cardHeader: {
6
+ sectionPosition: {
7
+ mobile: {
8
+ row: "1/1",
9
+ column: "1/3",
10
+ align: "start",
11
+ gridGap: defaultThemeStorefront_1.spacing.xxs,
12
+ },
13
+ tablet: {
14
+ row: "1/1",
15
+ column: "1/1",
16
+ align: "start",
17
+ minHeight: "20px",
18
+ gridGap: defaultThemeStorefront_1.spacing.xxs,
19
+ },
20
+ },
21
+ children: [
22
+ {
23
+ component: "PromotionLabel",
24
+ sectionPosition: {
25
+ mobile: {
26
+ row: "1/1",
27
+ column: "1/1",
28
+ justify: "left",
29
+ minHeight: "19px",
30
+ placeholderHeight: "20px",
31
+ },
32
+ tablet: {
33
+ row: "2/2",
34
+ column: "1/1",
35
+ justify: "left",
36
+ minHeight: "19px",
37
+ maxHeight: "20px",
38
+ placeholderHeight: "20px",
39
+ },
40
+ },
41
+ },
42
+ ],
43
+ },
44
+ cardProfile: {
45
+ sectionPosition: {
46
+ mobile: {
47
+ row: "2/2",
48
+ column: "1/2",
49
+ align: "start",
50
+ gridGap: defaultThemeStorefront_1.spacing.xs,
51
+ },
52
+ tablet: {
53
+ row: "2/3",
54
+ column: "1/3",
55
+ align: "start",
56
+ gridGap: defaultThemeStorefront_1.spacing.xs,
57
+ },
58
+ },
59
+ children: [
60
+ {
61
+ component: "ProductImage",
62
+ sectionPosition: {
63
+ mobile: {
64
+ row: "auto/auto",
65
+ column: "1/1",
66
+ justify: "center",
67
+ },
68
+ },
69
+ },
70
+ {
71
+ component: "RecommendedLabel",
72
+ sectionPosition: {
73
+ mobile: {
74
+ row: "auto/auto",
75
+ column: "1/1",
76
+ justify: "left",
77
+ placeholderHeight: defaultThemeStorefront_1.spacing.sm,
78
+ },
79
+ },
80
+ },
81
+ {
82
+ component: "SponsoredLabel",
83
+ sectionPosition: {
84
+ mobile: {
85
+ row: "auto/auto",
86
+ column: "1/1",
87
+ justify: "left",
88
+ placeholderHeight: defaultThemeStorefront_1.spacing.sm,
89
+ },
90
+ },
91
+ },
92
+ ],
93
+ },
94
+ cardFloatIcons: {
95
+ sectionPosition: {
96
+ mobile: {
97
+ row: "1/3",
98
+ column: "3/4",
99
+ justify: "right",
100
+ align: "start",
101
+ },
102
+ tablet: {
103
+ row: "1/3",
104
+ column: "2/3",
105
+ justify: "right",
106
+ align: "start",
107
+ },
108
+ },
109
+ children: [
110
+ {
111
+ component: "FavoritesButton",
112
+ sectionPosition: {
113
+ mobile: {
114
+ row: "auto/auto",
115
+ column: "1/1",
116
+ justify: "center",
117
+ align: "center",
118
+ },
119
+ },
120
+ },
121
+ {
122
+ component: "ProductAttributes",
123
+ sectionPosition: {
124
+ mobile: {
125
+ row: "auto/auto",
126
+ column: "1/1",
127
+ gridGap: defaultThemeStorefront_1.spacing.xxs,
128
+ justify: "center",
129
+ align: "center",
130
+ },
131
+ },
132
+ },
133
+ ],
134
+ },
135
+ cardCharges: {
136
+ sectionPosition: {
137
+ mobile: {
138
+ row: "2/2",
139
+ column: "2/3",
140
+ align: "start",
141
+ gridGap: defaultThemeStorefront_1.spacing.xxss,
142
+ },
143
+ tablet: {
144
+ row: "3/3",
145
+ column: "1/3",
146
+ align: "start",
147
+ gridGap: defaultThemeStorefront_1.spacing.xxss,
148
+ },
149
+ },
150
+ children: [
151
+ {
152
+ component: "ProductName",
153
+ sectionPosition: {
154
+ mobile: {
155
+ row: "1/2",
156
+ column: "1/3",
157
+ },
158
+ tablet: {
159
+ row: "auto/auto",
160
+ column: "1/3",
161
+ minHeight: defaultThemeStorefront_1.spacing.lgr,
162
+ },
163
+ },
164
+ },
165
+ {
166
+ component: "ProductPrice",
167
+ sectionPosition: {
168
+ mobile: {
169
+ row: "2/3",
170
+ column: "1/2",
171
+ },
172
+ tablet: {
173
+ row: "auto/auto",
174
+ column: "1/1",
175
+ },
176
+ },
177
+ },
178
+ {
179
+ component: "ProductUnitPrice",
180
+ sectionPosition: {
181
+ mobile: {
182
+ row: "auto/auto",
183
+ column: "1/2",
184
+ },
185
+ tablet: {
186
+ row: "auto/auto",
187
+ column: "2/2",
188
+ justify: "right",
189
+ align: "center",
190
+ },
191
+ },
192
+ },
193
+ {
194
+ component: "ProductWasPrice",
195
+ sectionPosition: {
196
+ mobile: {
197
+ row: "2/3",
198
+ column: "2/3",
199
+ },
200
+ tablet: {
201
+ row: "auto/auto",
202
+ column: "1/1",
203
+ },
204
+ },
205
+ },
206
+ {
207
+ component: "ProductWasUnitPrice",
208
+ sectionPosition: {
209
+ mobile: {
210
+ row: "auto/auto",
211
+ column: "2/3",
212
+ },
213
+ tablet: {
214
+ row: "auto/auto",
215
+ column: "2/2",
216
+ align: "center",
217
+ justify: "right",
218
+ },
219
+ },
220
+ },
221
+ {
222
+ component: "ProductPriceLoyalty",
223
+ sectionPosition: {
224
+ mobile: {
225
+ row: "3/4",
226
+ column: "1/3",
227
+ },
228
+ tablet: {
229
+ row: "auto/auto",
230
+ column: "1/2",
231
+ },
232
+ },
233
+ },
234
+ {
235
+ component: "TaxDetails",
236
+ sectionPosition: {
237
+ mobile: {
238
+ row: "auto/auto",
239
+ column: "1/3",
240
+ },
241
+ },
242
+ },
243
+ {
244
+ component: "OfferValidMessage",
245
+ sectionPosition: {
246
+ mobile: {
247
+ row: "auto/auto",
248
+ column: "1/3",
249
+ },
250
+ },
251
+ },
252
+ {
253
+ component: "ProductWeightBased",
254
+ sectionPosition: {
255
+ mobile: {
256
+ row: "auto/auto",
257
+ column: "1/3",
258
+ },
259
+ },
260
+ },
261
+ ],
262
+ },
263
+ cardLabels: {
264
+ sectionPosition: {
265
+ mobile: {
266
+ row: "3/4",
267
+ column: "1/4",
268
+ align: "end",
269
+ gridGap: "".concat(defaultThemeStorefront_1.spacing.xs, " 0"),
270
+ wrapContent: true,
271
+ },
272
+ tablet: {
273
+ row: "4/4",
274
+ column: "1/3",
275
+ align: "end",
276
+ gridGap: "".concat(defaultThemeStorefront_1.spacing.xs, " 0"),
277
+ wrapContent: true,
278
+ },
279
+ },
280
+ children: [
281
+ {
282
+ component: "PastPurchased",
283
+ sectionPosition: {
284
+ mobile: { row: "auto/auto", column: "auto/auto" },
285
+ },
286
+ },
287
+ {
288
+ component: "ShoppingRuleLabels",
289
+ sectionPosition: {
290
+ mobile: { row: "auto/auto", column: "auto/auto" },
291
+ },
292
+ },
293
+ ],
294
+ },
295
+ cardActions: {
296
+ sectionPosition: {
297
+ mobile: {
298
+ row: "4/4",
299
+ column: "1/4",
300
+ align: "end",
301
+ gridGap: defaultThemeStorefront_1.spacing.xs,
302
+ },
303
+ tablet: {
304
+ row: "5/5",
305
+ column: "1/3",
306
+ align: "end",
307
+ gridGap: defaultThemeStorefront_1.spacing.xs,
308
+ },
309
+ },
310
+ children: [
311
+ {
312
+ component: "ProductCoupons",
313
+ sectionPosition: {
314
+ mobile: {
315
+ row: "auto/auto",
316
+ column: "auto/auto",
317
+ },
318
+ },
319
+ },
320
+ {
321
+ component: "ViewDealButton",
322
+ sectionPosition: {
323
+ mobile: {
324
+ row: "auto/auto",
325
+ column: "auto/auto",
326
+ },
327
+ },
328
+ },
329
+ {
330
+ component: "AddToCartButton",
331
+ sectionPosition: {
332
+ mobile: {
333
+ row: "auto/auto",
334
+ column: "auto/auto",
335
+ },
336
+ },
337
+ },
338
+ ],
339
+ },
340
+ };
341
+ exports.default = ProductGridDefault;
@@ -0,0 +1,3 @@
1
+ import { ILayoutInterface } from "../../template.interfaces";
2
+ declare const ProductGridPCECentered: ILayoutInterface;
3
+ export default ProductGridPCECentered;
@@ -0,0 +1,317 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var defaultThemeStorefront_1 = require("../../../storefront/defaultThemeStorefront");
4
+ var ProductGridPCECentered = {
5
+ cardProfile: {
6
+ sectionPosition: {
7
+ mobile: {
8
+ row: "2/2",
9
+ column: "1/2",
10
+ align: "start",
11
+ },
12
+ tablet: {
13
+ row: "1/3",
14
+ column: "1/3",
15
+ align: "start",
16
+ },
17
+ },
18
+ children: [
19
+ {
20
+ component: "PastPurchased",
21
+ sectionPosition: {
22
+ mobile: "hidden",
23
+ tablet: {
24
+ row: "auto/auto",
25
+ column: "1/1",
26
+ justify: "center",
27
+ placeholderHeight: "19px",
28
+ },
29
+ },
30
+ },
31
+ {
32
+ component: "ProductImage",
33
+ sectionPosition: {
34
+ mobile: {
35
+ row: "auto/auto",
36
+ column: "1/1",
37
+ justify: "center",
38
+ },
39
+ },
40
+ },
41
+ {
42
+ component: "SponsoredLabel",
43
+ sectionPosition: {
44
+ mobile: {
45
+ row: "auto/auto",
46
+ column: "auto/auto",
47
+ justify: "left",
48
+ },
49
+ tablet: "hidden",
50
+ },
51
+ },
52
+ ],
53
+ },
54
+ cardHeader: {
55
+ sectionPosition: {
56
+ mobile: {
57
+ row: "1/1",
58
+ column: "1/3",
59
+ align: "start",
60
+ },
61
+ tablet: "hidden",
62
+ },
63
+ children: [
64
+ {
65
+ component: "PromotionLabel",
66
+ sectionPosition: {
67
+ mobile: {
68
+ row: "1/1",
69
+ column: "1/1",
70
+ justify: "left",
71
+ },
72
+ },
73
+ },
74
+ ],
75
+ },
76
+ cardFloatIcons: {
77
+ sectionPosition: {
78
+ mobile: {
79
+ row: "1/3",
80
+ column: "3/4",
81
+ justify: "right",
82
+ align: "start",
83
+ },
84
+ tablet: {
85
+ row: "1/3",
86
+ column: "2/3",
87
+ justify: "right",
88
+ align: "start",
89
+ },
90
+ },
91
+ children: [
92
+ {
93
+ component: "FavoritesButton",
94
+ sectionPosition: {
95
+ mobile: {
96
+ row: "auto/auto",
97
+ column: "1/1",
98
+ justify: "center",
99
+ align: "center",
100
+ },
101
+ },
102
+ },
103
+ {
104
+ component: "ProductAttributes",
105
+ sectionPosition: {
106
+ mobile: {
107
+ row: "auto/auto",
108
+ column: "1/1",
109
+ gridGap: defaultThemeStorefront_1.spacing.xxs,
110
+ justify: "center",
111
+ align: "center",
112
+ },
113
+ },
114
+ },
115
+ ],
116
+ },
117
+ cardMainInformation: {
118
+ sectionPosition: {
119
+ mobile: {
120
+ row: "2/2",
121
+ column: "2/3",
122
+ align: "start",
123
+ gridGap: defaultThemeStorefront_1.spacing.xxss,
124
+ },
125
+ tablet: {
126
+ row: "3/3",
127
+ column: "1/3",
128
+ align: "start",
129
+ gridGap: defaultThemeStorefront_1.spacing.xxss,
130
+ },
131
+ },
132
+ children: [
133
+ {
134
+ component: "SponsoredLabel",
135
+ sectionPosition: {
136
+ mobile: "hidden",
137
+ tablet: {
138
+ row: "auto/auto",
139
+ column: "1/3",
140
+ justify: "center",
141
+ placeholderHeight: defaultThemeStorefront_1.spacing.sm,
142
+ },
143
+ },
144
+ },
145
+ {
146
+ component: "ShoppingRuleLabels",
147
+ sectionPosition: {
148
+ mobile: "hidden",
149
+ tablet: {
150
+ row: "auto/auto",
151
+ column: "1/3",
152
+ justify: "center",
153
+ minHeight: defaultThemeStorefront_1.spacing.md,
154
+ placeholderHeight: defaultThemeStorefront_1.spacing.md,
155
+ },
156
+ },
157
+ },
158
+ {
159
+ component: "PromotionLabel",
160
+ sectionPosition: {
161
+ mobile: "hidden",
162
+ tablet: {
163
+ row: "auto/auto",
164
+ column: "1/3",
165
+ justify: "center",
166
+ align: "center",
167
+ placeholderHeight: "20px",
168
+ },
169
+ },
170
+ },
171
+ {
172
+ component: "ProductName",
173
+ sectionPosition: {
174
+ mobile: {
175
+ row: "auto/auto",
176
+ column: "1/3",
177
+ justify: "left",
178
+ },
179
+ tablet: {
180
+ row: "auto/auto",
181
+ column: "1/3",
182
+ justify: "center",
183
+ minHeight: defaultThemeStorefront_1.spacing.lgr,
184
+ },
185
+ },
186
+ },
187
+ {
188
+ component: "ProductPrice",
189
+ sectionPosition: {
190
+ mobile: {
191
+ row: "auto/auto",
192
+ column: "1/2",
193
+ justify: "left",
194
+ },
195
+ tablet: {
196
+ row: "auto/auto",
197
+ column: "1/3",
198
+ justify: "center",
199
+ },
200
+ },
201
+ },
202
+ {
203
+ component: "ProductWasPrice",
204
+ sectionPosition: {
205
+ mobile: {
206
+ row: "auto/auto",
207
+ column: "1/2",
208
+ },
209
+ tablet: {
210
+ row: "auto/auto",
211
+ column: "1/3",
212
+ justify: "center",
213
+ },
214
+ },
215
+ },
216
+ {
217
+ component: "ProductUnitPrice",
218
+ sectionPosition: {
219
+ mobile: {
220
+ row: "auto/auto",
221
+ column: "1/2",
222
+ },
223
+ tablet: {
224
+ row: "auto/auto",
225
+ column: "1/3",
226
+ justify: "center",
227
+ },
228
+ },
229
+ },
230
+ ],
231
+ },
232
+ cardMobileLabels: {
233
+ sectionPosition: {
234
+ mobile: {
235
+ row: "3/4",
236
+ column: "1/4",
237
+ wrapContent: true,
238
+ },
239
+ tablet: "hidden",
240
+ },
241
+ children: [
242
+ {
243
+ component: "PastPurchased",
244
+ sectionPosition: {
245
+ mobile: { row: "auto/auto", column: "auto/auto" },
246
+ },
247
+ },
248
+ {
249
+ component: "ShoppingRuleLabels",
250
+ sectionPosition: {
251
+ mobile: { row: "auto/auto", column: "auto/auto" },
252
+ },
253
+ },
254
+ ],
255
+ },
256
+ cardActions: {
257
+ sectionPosition: {
258
+ mobile: {
259
+ row: "4/5",
260
+ column: "1/4",
261
+ align: "end",
262
+ gridGap: defaultThemeStorefront_1.spacing.xs,
263
+ },
264
+ tablet: {
265
+ row: "4/4",
266
+ column: "1/3",
267
+ align: "end",
268
+ gridGap: defaultThemeStorefront_1.spacing.xs,
269
+ },
270
+ },
271
+ children: [
272
+ {
273
+ component: "OfferValidMessage",
274
+ sectionPosition: {
275
+ mobile: {
276
+ row: "auto/auto",
277
+ column: "auto/auto",
278
+ justify: "left",
279
+ },
280
+ tablet: {
281
+ row: "auto/auto",
282
+ column: "auto/auto",
283
+ justify: "center",
284
+ },
285
+ },
286
+ },
287
+ {
288
+ component: "ProductCoupons",
289
+ sectionPosition: {
290
+ mobile: {
291
+ row: "auto/auto",
292
+ column: "auto/auto",
293
+ },
294
+ },
295
+ },
296
+ {
297
+ component: "ViewDealButton",
298
+ sectionPosition: {
299
+ mobile: {
300
+ row: "auto/auto",
301
+ column: "auto/auto",
302
+ },
303
+ },
304
+ },
305
+ {
306
+ component: "AddToCartButton",
307
+ sectionPosition: {
308
+ mobile: {
309
+ row: "auto/auto",
310
+ column: "auto/auto",
311
+ },
312
+ },
313
+ },
314
+ ],
315
+ },
316
+ };
317
+ exports.default = ProductGridPCECentered;
@@ -0,0 +1,3 @@
1
+ import { ILayoutInterface } from "../../template.interfaces";
2
+ declare const ProductGridDefault: ILayoutInterface;
3
+ export default ProductGridDefault;