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