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