@thryveai/theme-interfaces 2.8.35 → 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 (35) hide show
  1. package/dist/JSONSchemas/index.d.ts +95 -86
  2. package/dist/JSONSchemas/index.js +178 -144
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +15 -0
  5. package/dist/interfaces/admin-settings-interfaces.d.ts +1 -1
  6. package/dist/interfaces/retailer-settings.interfaces.d.ts +5 -6
  7. package/dist/product-card-template/layouts/CarouselCard/DUN-attributes.d.ts +3 -0
  8. package/dist/product-card-template/layouts/CarouselCard/DUN-attributes.js +312 -0
  9. package/dist/product-card-template/layouts/CarouselCard/Default.d.ts +3 -0
  10. package/dist/product-card-template/layouts/CarouselCard/Default.js +330 -0
  11. package/dist/product-card-template/layouts/CarouselCard/PCE-centered.d.ts +3 -0
  12. package/dist/product-card-template/layouts/CarouselCard/PCE-centered.js +216 -0
  13. package/dist/product-card-template/layouts/CarouselCard/PRS-labels.d.ts +3 -0
  14. package/dist/product-card-template/layouts/CarouselCard/PRS-labels.js +283 -0
  15. package/dist/product-card-template/layouts/FlyerCard/Default.d.ts +3 -0
  16. package/dist/product-card-template/layouts/FlyerCard/Default.js +114 -0
  17. package/dist/product-card-template/layouts/FlyerCard/Detailed.d.ts +3 -0
  18. package/dist/product-card-template/layouts/FlyerCard/Detailed.js +164 -0
  19. package/dist/product-card-template/layouts/ProductGrid/DUN-attributes.d.ts +3 -0
  20. package/dist/product-card-template/layouts/ProductGrid/DUN-attributes.js +344 -0
  21. package/dist/product-card-template/layouts/ProductGrid/Default.d.ts +3 -0
  22. package/dist/product-card-template/layouts/ProductGrid/Default.js +341 -0
  23. package/dist/product-card-template/layouts/ProductGrid/PCE-centered.d.ts +3 -0
  24. package/dist/product-card-template/layouts/ProductGrid/PCE-centered.js +317 -0
  25. package/dist/product-card-template/layouts/ProductGrid/PRS-labels.d.ts +3 -0
  26. package/dist/product-card-template/layouts/ProductGrid/PRS-labels.js +319 -0
  27. package/dist/product-card-template/template.interfaces.d.ts +55 -0
  28. package/dist/product-card-template/template.interfaces.js +51 -0
  29. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +95 -8
  30. package/dist/storefront/commonSettingsStorefront.js +0 -1
  31. package/dist/storefront/defaultIconsStorefront.js +1 -1
  32. package/dist/storefront/defaultSettingsStorefront.js +0 -1
  33. package/dist/storefront/defaultThemeStorefront.d.ts +17 -0
  34. package/dist/storefront/defaultThemeStorefront.js +18 -1
  35. package/package.json +1 -1
@@ -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;
@@ -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;