vviinn-widgets 2.212.1 → 2.212.3
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.
- package/dist/cjs/{index-CJKVHgfb.js → index-BDdEUdp7.js} +4 -2
- package/dist/cjs/{search.store-C2rPzL3v.js → search.store-DE7qNAii.js} +1 -1
- package/dist/cjs/{swiper-element-CY759uFL.js → swiper-element-DjtzojCR.js} +212 -296
- package/dist/cjs/vviinn-button_6.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-camera_12.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-carousel_10.cjs.entry.js +20 -15
- package/dist/cjs/vviinn-shop-the-look.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-text-search.cjs.entry.js +1 -1
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +14 -8
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +3 -2
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.js +1 -2
- package/dist/collection/recommendation/index.js +2 -1
- package/dist/esm/{index-Bji41ttI.js → index-xjr2oo4y.js} +4 -3
- package/dist/esm/{search.store-Dc6x2-eO.js → search.store-BLpTgYU6.js} +1 -1
- package/dist/esm/{swiper-element-DmZzs6LI.js → swiper-element-Er2KrWw1.js} +212 -296
- package/dist/esm/vviinn-button_6.entry.js +1 -1
- package/dist/esm/vviinn-camera_12.entry.js +2 -2
- package/dist/esm/vviinn-carousel_10.entry.js +20 -15
- package/dist/esm/vviinn-shop-the-look.entry.js +2 -2
- package/dist/esm/vviinn-text-search.entry.js +1 -1
- package/dist/types/recommendation/index.d.ts +1 -0
- package/dist/vviinn-widgets/{p-3460bdf2.entry.js → p-2e0f95fa.entry.js} +1 -1
- package/{www/build/p-cafcec5a.entry.js → dist/vviinn-widgets/p-7a90de41.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-53f43a60.entry.js → p-945248e4.entry.js} +1 -1
- package/{www/build/p-CTVEWUxM.js → dist/vviinn-widgets/p-C3fQHoXf.js} +1 -1
- package/dist/vviinn-widgets/p-D1DrXwEU.js +1 -0
- package/dist/vviinn-widgets/p-Er2KrWw1.js +1 -0
- package/dist/vviinn-widgets/p-c7f32831.entry.js +1 -0
- package/dist/vviinn-widgets/{p-bb2d9c04.entry.js → p-f19c3bea.entry.js} +1 -1
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +2 -2
- package/www/build/{p-3460bdf2.entry.js → p-2e0f95fa.entry.js} +1 -1
- package/www/build/{p-15f014dc.js → p-692e5e49.js} +1 -1
- package/{dist/vviinn-widgets/p-cafcec5a.entry.js → www/build/p-7a90de41.entry.js} +1 -1
- package/www/build/{p-53f43a60.entry.js → p-945248e4.entry.js} +1 -1
- package/{dist/vviinn-widgets/p-CTVEWUxM.js → www/build/p-C3fQHoXf.js} +1 -1
- package/www/build/p-D1DrXwEU.js +1 -0
- package/www/build/p-Er2KrWw1.js +1 -0
- package/www/build/p-c7f32831.entry.js +1 -0
- package/www/build/{p-bb2d9c04.entry.js → p-f19c3bea.entry.js} +1 -1
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/vviinn-widgets/p-8d9f3ed6.entry.js +0 -1
- package/dist/vviinn-widgets/p-DmZzs6LI.js +0 -1
- package/dist/vviinn-widgets/p-ljKrmpLU.js +0 -1
- package/www/build/p-8d9f3ed6.entry.js +0 -1
- package/www/build/p-DmZzs6LI.js +0 -1
- package/www/build/p-ljKrmpLU.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-OrE9ITel.js');
|
|
4
|
-
var search_store = require('./search.store-
|
|
4
|
+
var search_store = require('./search.store-DE7qNAii.js');
|
|
5
5
|
var store = require('./store-jPZ4ROqV.js');
|
|
6
6
|
|
|
7
7
|
const PlusIcon = () => (index.h("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "plus-icon", "aria-hidden": "true" },
|
|
@@ -33,6 +33,7 @@ const getRecommendationsBody = ({ productId, campaigns, color, excluded, dynamic
|
|
|
33
33
|
const staticFilters = Object.assign(Object.assign({}, search_store.addIfNotEmpty("color", color)), search_store.addIfNotEmpty("excluded", search_store.parseStringToExcluded(excluded)));
|
|
34
34
|
return Object.assign(Object.assign(Object.assign({ productId }, search_store.addIfNotEmpty("dynamicFilters", dynamicFilters)), search_store.addIfNotEmpty("campaigns", parseCampaigns(campaigns))), search_store.addIfNotEmpty("staticFilters", staticFilters));
|
|
35
35
|
};
|
|
36
|
+
const CUSTOM_LABELS_DELIMITER = "|";
|
|
36
37
|
const getCustomLabels = (recommendation) => {
|
|
37
38
|
const { custom_label_0, custom_label_1, custom_label_2, custom_label_3, custom_label_4, } = recommendation;
|
|
38
39
|
return [
|
|
@@ -43,7 +44,7 @@ const getCustomLabels = (recommendation) => {
|
|
|
43
44
|
custom_label_4,
|
|
44
45
|
]
|
|
45
46
|
.map((label) => label !== null && label !== void 0 ? label : "")
|
|
46
|
-
.join(
|
|
47
|
+
.join(CUSTOM_LABELS_DELIMITER);
|
|
47
48
|
};
|
|
48
49
|
|
|
49
50
|
/**
|
|
@@ -371,6 +372,7 @@ const createImageSearchEvent = createTrackingEvent({
|
|
|
371
372
|
exports.CAROUSEL_CONTENT_WIDTH_CSS_VAR = CAROUSEL_CONTENT_WIDTH_CSS_VAR;
|
|
372
373
|
exports.CAROUSEL_IMAGE_WIDTH_CSS_VAR = CAROUSEL_IMAGE_WIDTH_CSS_VAR;
|
|
373
374
|
exports.CONTENT_GROUP_CSS_CLASS = CONTENT_GROUP_CSS_CLASS;
|
|
375
|
+
exports.CUSTOM_LABELS_DELIMITER = CUSTOM_LABELS_DELIMITER;
|
|
374
376
|
exports.DEFAULT_COLUMNS_NUMBER = DEFAULT_COLUMNS_NUMBER;
|
|
375
377
|
exports.FilterIconClose = FilterIconClose;
|
|
376
378
|
exports.PlusIcon = PlusIcon;
|