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