@transcommerce/cwm-shared 1.1.55 → 1.1.56
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.
|
@@ -1235,15 +1235,6 @@ const DEFAULT_MENU_BOARD_CONFIG = {
|
|
|
1235
1235
|
"dataAgeThreshold": 300000
|
|
1236
1236
|
};
|
|
1237
1237
|
|
|
1238
|
-
const DEFAULT_SLIDE = {
|
|
1239
|
-
"image": "../../../assets/images/tuesday.png",
|
|
1240
|
-
"title": "Doobie Tuesday",
|
|
1241
|
-
"description": "10% off all pre-rolls & packs<",
|
|
1242
|
-
"highlighted": false,
|
|
1243
|
-
"textColor": "black",
|
|
1244
|
-
"backgroundColor": "white"
|
|
1245
|
-
};
|
|
1246
|
-
|
|
1247
1238
|
const DEFAULT_SUBSCRIPTION_CONFIG = {
|
|
1248
1239
|
amount: 1,
|
|
1249
1240
|
days: 30,
|
|
@@ -1259,7 +1250,64 @@ const DEFAULT_CONFIGURATION = {
|
|
|
1259
1250
|
subscriptionConfig: DEFAULT_SUBSCRIPTION_CONFIG,
|
|
1260
1251
|
menuBoardConfig: DEFAULT_MENU_BOARD_CONFIG,
|
|
1261
1252
|
footerCarouselConfig: DEFAULT_CAROUSEL_CONFIG,
|
|
1262
|
-
footerCarouselSlideConfig: [
|
|
1253
|
+
footerCarouselSlideConfig: [
|
|
1254
|
+
{
|
|
1255
|
+
"image": "../../../assets/images/sunday.png",
|
|
1256
|
+
"title": "CBD Sunday",
|
|
1257
|
+
"description": "20% off all CBD products & house pre-rolls",
|
|
1258
|
+
"highlighted": false,
|
|
1259
|
+
"textColor": "white",
|
|
1260
|
+
"backgroundColor": "black"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"image": "../../../assets/images/new-monday.jpg",
|
|
1264
|
+
"title": "Edible Monday",
|
|
1265
|
+
"description": "10% off edibles",
|
|
1266
|
+
"highlighted": false,
|
|
1267
|
+
"textColor": "white",
|
|
1268
|
+
"backgroundColor": "black"
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"image": "../../../assets/images/tuesday.png",
|
|
1272
|
+
"title": "Doobie Tuesday",
|
|
1273
|
+
"description": "10% off all pre-rolls & packs<",
|
|
1274
|
+
"highlighted": false,
|
|
1275
|
+
"textColor": "black",
|
|
1276
|
+
"backgroundColor": "white"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"image": "../../../assets/images/wednesday.png",
|
|
1280
|
+
"title": "Weed Crush Wednesday",
|
|
1281
|
+
"description": "10% off all jar bud",
|
|
1282
|
+
"highlighted": false,
|
|
1283
|
+
"textColor": "black",
|
|
1284
|
+
"backgroundColor": "white"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"image": "../../../assets/images/thursday.png",
|
|
1288
|
+
"title": "Thirsty Thursday",
|
|
1289
|
+
"description": "10% off Tinctures, RSO & cartridges",
|
|
1290
|
+
"highlighted": false,
|
|
1291
|
+
"textColor": "black",
|
|
1292
|
+
"backgroundColor": "white"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"image": "../../../assets/images/friday.png",
|
|
1296
|
+
"title": "Fire Friday",
|
|
1297
|
+
"description": "10% off all jar bud",
|
|
1298
|
+
"highlighted": false,
|
|
1299
|
+
"textColor": "black",
|
|
1300
|
+
"backgroundColor": "white"
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"image": "../../../assets/images/saturday.png",
|
|
1304
|
+
"title": "Shatterday Saturday",
|
|
1305
|
+
"description": "10% off all concentrate",
|
|
1306
|
+
"highlighted": false,
|
|
1307
|
+
"textColor": "white",
|
|
1308
|
+
"backgroundColor": "black"
|
|
1309
|
+
}
|
|
1310
|
+
]
|
|
1263
1311
|
};
|
|
1264
1312
|
|
|
1265
1313
|
const EXAMPLE_CREATE_SUBSCRIPTION_REQUEST = {
|
|
@@ -27231,6 +27279,15 @@ class Product {
|
|
|
27231
27279
|
}
|
|
27232
27280
|
}
|
|
27233
27281
|
|
|
27282
|
+
const DEFAULT_SLIDE = {
|
|
27283
|
+
"image": "../../../assets/images/tuesday.png",
|
|
27284
|
+
"title": "Doobie Tuesday",
|
|
27285
|
+
"description": "10% off all pre-rolls & packs<",
|
|
27286
|
+
"highlighted": false,
|
|
27287
|
+
"textColor": "black",
|
|
27288
|
+
"backgroundColor": "white"
|
|
27289
|
+
};
|
|
27290
|
+
|
|
27234
27291
|
class SafeHtmlPipe {
|
|
27235
27292
|
sanitizer;
|
|
27236
27293
|
constructor(sanitizer) {
|