vviinn-widgets 2.173.0 → 2.175.0
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/{customized-slots-DbT_TRus.js → customized-slots-7egKJD19.js} +1 -1
- package/dist/cjs/{index-CLH1_ryr.js → index-C9e2G0zC.js} +2 -2
- package/dist/cjs/index-CHjRdAcp.js +50 -0
- package/dist/cjs/{index-A2FtmPS7.js → index-OrE9ITel.js} +3 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-BDW-zEfj.js → package-Fdm3E6hp.js} +1 -1
- package/dist/cjs/{resources-DNdWz3e4.js → resources-m9P7djQt.js} +8 -0
- package/dist/cjs/{search.store-CWjo472B.js → search.store-CuafCQTE.js} +1 -1
- package/dist/cjs/{store-D1GnRXA4.js → store-CrCuJC55.js} +1 -1
- package/dist/cjs/{triggerFilter-Bfcvzn4o.js → triggerFilter-CaV6fCBi.js} +1 -1
- package/dist/cjs/vviinn-button_2.cjs.entry.js +31 -4
- package/dist/cjs/vviinn-camera_10.cjs.entry.js +38 -32
- package/dist/cjs/vviinn-carousel_10.cjs.entry.js +37 -35
- package/dist/cjs/vviinn-detected-object_6.cjs.entry.js +39 -22
- package/dist/cjs/vviinn-selected-filters.cjs.entry.js +8 -8
- package/dist/cjs/vviinn-text-search.cjs.entry.js +7 -7
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +6 -6
- package/dist/cjs/vviinn-widgets.cjs.js +2 -2
- package/dist/collection/components/vviinn-button/vviinn-button.js +1 -1
- package/dist/collection/components/vviinn-cropper/vviinn-detected-object/vviinn-detected-object.css +20 -1
- package/dist/collection/components/vviinn-cropper/vviinn-detected-object/vviinn-detected-object.js +12 -4
- package/dist/collection/components/vviinn-error/vviinn-error.js +1 -1
- package/dist/collection/components/vviinn-filters/vviinn-extended-filters-button.js +1 -1
- package/dist/collection/components/vviinn-filters/vviinn-extended-filters.js +2 -2
- package/dist/collection/components/vviinn-filters/vviinn-filters.js +3 -3
- package/dist/collection/components/vviinn-filters/vviinn-selected-filters.js +2 -2
- package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +2 -2
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +2 -2
- package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +1 -1
- package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +1 -1
- package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +1 -1
- package/dist/collection/components/vviinn-price-range/vviinn-price-range.js +4 -4
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +1 -1
- package/dist/collection/components/vviinn-product-card/vviinn-energy-label/vviinn-energy-label.js +2 -2
- package/dist/collection/components/vviinn-product-card/vviinn-product-card-skeleton.js +2 -2
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.css +1 -0
- package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +4 -4
- package/dist/collection/components/vviinn-results/vviinn-results.js +13 -10
- package/dist/collection/components/vviinn-skeleton/vviinn-skeleton.js +1 -1
- package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +1 -1
- package/dist/collection/components/vviinn-slider/vviinn-slider.js +6 -2
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +1 -1
- package/dist/collection/components/vviinn-text-search/vviinn-text-search.js +2 -2
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +62 -1
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.css +1 -1
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +62 -18
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.js +8 -6
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +1 -1
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +9 -9
- package/dist/collection/dom/index.js +36 -0
- package/dist/collection/locale/resources.js +8 -0
- package/dist/esm/{customized-slots-dMkaWNvg.js → customized-slots-R6SaZo4w.js} +1 -1
- package/dist/esm/{index-BcMtFp89.js → index-C5qrIvmr.js} +3 -0
- package/dist/esm/{index-B4v4XCZr.js → index-DaAFwTVd.js} +2 -2
- package/dist/esm/index-ZTEJ6O7Z.js +45 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-gGNxWHw0.js → package-DxEugGu7.js} +1 -1
- package/dist/esm/{resources-DHSQI2ad.js → resources-D3gZz5zw.js} +8 -0
- package/dist/esm/{search.store-Cnai5xUF.js → search.store-CdDgllEd.js} +1 -1
- package/dist/esm/{store-C5QecnP3.js → store-CMhsm-nf.js} +1 -1
- package/dist/esm/{triggerFilter-CiRQ4mph.js → triggerFilter-BeBL7GD3.js} +1 -1
- package/dist/esm/vviinn-button_2.entry.js +31 -4
- package/dist/esm/vviinn-camera_10.entry.js +38 -32
- package/dist/esm/vviinn-carousel_10.entry.js +37 -35
- package/dist/esm/vviinn-detected-object_6.entry.js +39 -22
- package/dist/esm/vviinn-selected-filters.entry.js +8 -8
- package/dist/esm/vviinn-text-search.entry.js +7 -7
- package/dist/esm/vviinn-vps-button.entry.js +6 -6
- package/dist/esm/vviinn-widgets.js +3 -3
- package/dist/storybook/helpers/industryToken.js +6 -5
- package/dist/types/components/vviinn-cropper/vviinn-detected-object/vviinn-detected-object.d.ts +1 -0
- package/dist/types/components/vviinn-results/vviinn-results.d.ts +3 -3
- package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +4 -0
- package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +6 -2
- package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-widget.d.ts +1 -1
- package/dist/types/components.d.ts +19 -5
- package/dist/types/dom/index.d.ts +3 -0
- package/dist/types/widget/types.d.ts +1 -2
- package/dist/vviinn-widgets/{p-CcdrRg3G.js → p-0uvMf__4.js} +1 -1
- package/dist/vviinn-widgets/p-103b9515.entry.js +10 -0
- package/dist/vviinn-widgets/p-94a0f284.entry.js +1 -0
- package/dist/vviinn-widgets/{p-BTz0Afd5.js → p-BFKAtFxd.js} +1 -1
- package/dist/vviinn-widgets/{p-BcMtFp89.js → p-C5qrIvmr.js} +1 -1
- package/dist/vviinn-widgets/p-D3gZz5zw.js +1 -0
- package/{www/build/p-DUsuo2dh.js → dist/vviinn-widgets/p-DehFpKKv.js} +1 -1
- package/dist/vviinn-widgets/{p-B5NhYjVE.js → p-DpIaebRx.js} +1 -1
- package/dist/vviinn-widgets/{p-gGNxWHw0.js → p-DxEugGu7.js} +1 -1
- package/dist/vviinn-widgets/{p-CUvvnl61.js → p-Z6kWax5f.js} +1 -1
- package/dist/vviinn-widgets/p-ZTEJ6O7Z.js +1 -0
- package/dist/vviinn-widgets/p-a8f72abf.entry.js +1 -0
- package/dist/vviinn-widgets/{p-9a428cc7.entry.js → p-bf457707.entry.js} +1 -1
- package/dist/vviinn-widgets/p-e7e1a89b.entry.js +1 -0
- package/dist/vviinn-widgets/{p-df8785d4.entry.js → p-f257d611.entry.js} +1 -1
- package/dist/vviinn-widgets/p-ff6927d3.entry.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/{p-CcdrRg3G.js → p-0uvMf__4.js} +1 -1
- package/www/build/p-103b9515.entry.js +10 -0
- package/www/build/p-94a0f284.entry.js +1 -0
- package/www/build/{p-BTz0Afd5.js → p-BFKAtFxd.js} +1 -1
- package/www/build/{p-BcMtFp89.js → p-C5qrIvmr.js} +1 -1
- package/www/build/p-D3gZz5zw.js +1 -0
- package/{dist/vviinn-widgets/p-DUsuo2dh.js → www/build/p-DehFpKKv.js} +1 -1
- package/www/build/{p-B5NhYjVE.js → p-DpIaebRx.js} +1 -1
- package/www/build/{p-gGNxWHw0.js → p-DxEugGu7.js} +1 -1
- package/www/build/{p-CUvvnl61.js → p-Z6kWax5f.js} +1 -1
- package/www/build/p-ZTEJ6O7Z.js +1 -0
- package/www/build/p-a8f72abf.entry.js +1 -0
- package/www/build/{p-9a428cc7.entry.js → p-bf457707.entry.js} +1 -1
- package/www/build/p-e7e1a89b.entry.js +1 -0
- package/www/build/p-ec101ec9.js +1 -0
- package/www/build/{p-df8785d4.entry.js → p-f257d611.entry.js} +1 -1
- package/www/build/p-ff6927d3.entry.js +1 -0
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/index-B7VfQ5vd.js +0 -13
- package/dist/esm/index-CGjTkEbG.js +0 -9
- package/dist/vviinn-widgets/p-43a79d46.entry.js +0 -1
- package/dist/vviinn-widgets/p-6a718664.entry.js +0 -1
- package/dist/vviinn-widgets/p-CGjTkEbG.js +0 -1
- package/dist/vviinn-widgets/p-DHSQI2ad.js +0 -1
- package/dist/vviinn-widgets/p-a58e07b4.entry.js +0 -1
- package/dist/vviinn-widgets/p-c49dd8d8.entry.js +0 -10
- package/dist/vviinn-widgets/p-cbe0a7f4.entry.js +0 -1
- package/www/build/p-43a79d46.entry.js +0 -1
- package/www/build/p-6a718664.entry.js +0 -1
- package/www/build/p-CGjTkEbG.js +0 -1
- package/www/build/p-DHSQI2ad.js +0 -1
- package/www/build/p-a58e07b4.entry.js +0 -1
- package/www/build/p-c49dd8d8.entry.js +0 -10
- package/www/build/p-cbe0a7f4.entry.js +0 -1
- package/www/build/p-cde2ef63.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var search_store = require('./search.store-
|
|
3
|
+
var index = require('./index-OrE9ITel.js');
|
|
4
|
+
var search_store = require('./search.store-CuafCQTE.js');
|
|
5
5
|
|
|
6
6
|
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" },
|
|
7
7
|
index.h("path", { d: "M14.6667 17.3333H8.00001C7.62223 17.3333 7.30556 17.2056 7.05001 16.95C6.79445 16.6944 6.66667 16.3778 6.66667 16C6.66667 15.6222 6.79445 15.3056 7.05001 15.05C7.30556 14.7944 7.62223 14.6667 8.00001 14.6667H14.6667V8.00001C14.6667 7.62223 14.7944 7.30556 15.05 7.05001C15.3056 6.79445 15.6222 6.66667 16 6.66667C16.3778 6.66667 16.6944 6.79445 16.95 7.05001C17.2056 7.30556 17.3333 7.62223 17.3333 8.00001V14.6667H24C24.3778 14.6667 24.6944 14.7944 24.95 15.05C25.2056 15.3056 25.3333 15.6222 25.3333 16C25.3333 16.3778 25.2056 16.6944 24.95 16.95C24.6944 17.2056 24.3778 17.3333 24 17.3333H17.3333V24C17.3333 24.3778 17.2056 24.6944 16.95 24.95C16.6944 25.2056 16.3778 25.3333 16 25.3333C15.6222 25.3333 15.3056 25.2056 15.05 24.95C14.7944 24.6944 14.6667 24.3778 14.6667 24V17.3333Z", fill: "currentColor" })));
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const findSlotElements = (el) => Array.from(el.querySelectorAll("[slot]"));
|
|
4
|
+
const getSlotNames = (slotElements) => slotElements.map((el) => el.getAttribute("slot"));
|
|
5
|
+
function addEventListenersWithSignal(target, listeners, signal) {
|
|
6
|
+
listeners.forEach(([type, handler]) => {
|
|
7
|
+
target.addEventListener(type, handler, { signal });
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function disableTabbing(element) {
|
|
11
|
+
const focusableElements = element.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
12
|
+
focusableElements.forEach((el) => {
|
|
13
|
+
const htmlEl = el;
|
|
14
|
+
if (!htmlEl.hasAttribute("data-original-tabindex")) {
|
|
15
|
+
htmlEl.setAttribute("data-original-tabindex", htmlEl.tabIndex.toString());
|
|
16
|
+
}
|
|
17
|
+
htmlEl.tabIndex = -1;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function enableTabbing(element) {
|
|
21
|
+
const focusableElements = element.querySelectorAll("[data-original-tabindex]");
|
|
22
|
+
focusableElements.forEach((el) => {
|
|
23
|
+
const htmlEl = el;
|
|
24
|
+
const originalTabIndex = htmlEl.getAttribute("data-original-tabindex");
|
|
25
|
+
if (originalTabIndex === "0" || originalTabIndex === "") {
|
|
26
|
+
htmlEl.removeAttribute("tabindex");
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
htmlEl.tabIndex = parseInt(originalTabIndex, 10);
|
|
30
|
+
}
|
|
31
|
+
htmlEl.removeAttribute("data-original-tabindex");
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function setElementInteractivity(element, interactive) {
|
|
35
|
+
if (interactive) {
|
|
36
|
+
element.removeAttribute("inert");
|
|
37
|
+
element.removeAttribute("aria-hidden");
|
|
38
|
+
enableTabbing(element);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
element.setAttribute("inert", "");
|
|
42
|
+
element.setAttribute("aria-hidden", "true");
|
|
43
|
+
disableTabbing(element);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.addEventListenersWithSignal = addEventListenersWithSignal;
|
|
48
|
+
exports.findSlotElements = findSlotElements;
|
|
49
|
+
exports.getSlotNames = getSlotNames;
|
|
50
|
+
exports.setElementInteractivity = setElementInteractivity;
|
|
@@ -1552,6 +1552,9 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
};
|
|
1554
1554
|
var getHostListenerTarget = (doc, elm, flags) => {
|
|
1555
|
+
if (flags & 8 /* TargetWindow */) {
|
|
1556
|
+
return win;
|
|
1557
|
+
}
|
|
1555
1558
|
if (flags & 16 /* TargetBody */) {
|
|
1556
1559
|
return doc.body;
|
|
1557
1560
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-OrE9ITel.js');
|
|
4
4
|
var appGlobals = require('./app-globals-DK9R4CCS.js');
|
|
5
5
|
|
|
6
6
|
const defineCustomElements = async (win, options) => {
|
|
7
7
|
if (typeof window === 'undefined') return undefined;
|
|
8
8
|
await appGlobals.globalScripts();
|
|
9
|
-
return index.bootstrapLazy(JSON.parse("[[\"vviinn-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"requestFilters\":[32],\"selectedFilterButtons\":[32],\"textSearchCustomFilter\":[32],\"imageSrc\":[32],\"priceCustomFilter\":[32]}]]],[\"vviinn-carousel_10.cjs\",[[1,\"vviinn-vpr-widget\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"imageRatio\":[2,\"image-ratio\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"showExtendedFilters\":[4,\"show-extended-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"blockTitle\":[1,\"block-title\"],\"showScroll\":[4,\"show-scroll\"],\"apiPath\":[1,\"api-path\"],\"useCarousel\":[4,\"use-carousel\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"closed\":[4],\"opened\":[4],\"isAppended\":[4,\"is-appended\"],\"showInWidget\":[4,\"show-in-widget\"],\"recommendationsLoading\":[1028,\"recommendations-loading\"],\"setRecommendationsLoading\":[16,\"set-recommendations-loading\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"hasErrorOnLoad\":[32],\"updatingAllCards\":[32],\"updatedCardsAmount\":[32],\"setModeDiscountsArray\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToWishlist\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]],{\"productId\":[\"handleProductIdChange\"],\"campaignType\":[\"handleCampaignTypeChange\"],\"campaigns\":[\"handleCampaignsChange\"],\"opened\":[\"trackWidgetOpen\"],\"closed\":[\"trackWidgetClose\"]}],[0,\"vviinn-carousel\",{\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"imageWidth\":[2,\"image-width\"],\"showScroll\":[4,\"show-scroll\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"recommendations\":[1040],\"sourceProduct\":[16,\"source-product\"],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16,\"replace-slots-content\"],\"setModeDiscountsArray\":[16,\"set-mode-discounts-array\"],\"imageRatio\":[2,\"image-ratio\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"isAppended\":[4,\"is-appended\"],\"loading\":[4],\"hasErrorOnLoad\":[4,\"has-error-on-load\"],\"showInWidget\":[4,\"show-in-widget\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"currentScrollIndex\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32],\"columns\":[32],\"showContent\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"setModeAddToBasketHandler\"]],{\"recommendations\":[\"recommendationsWatcher\"],\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"loading\":[\"onLoadingChange\"]}],[1,\"vviinn-extended-filters\",{\"mode\":[1],\"showHeader\":[4,\"show-header\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"widgetElement\":[8,\"widget-element\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32]},[[16,\"click\",\"bodyClickListener\"]],{\"showMore\":[\"showMoreWatcher\"],\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-filters\",{\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"innerFilters\":[32],\"selectedFilterColumn\":[32],\"requestFilters\":[32]},null,{\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currency\":[1],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"imageWidth\":[2,\"image-width\"],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"setMode\":[4,\"set-mode\"],\"salePrice\":[2,\"sale-price\"],\"baseSalePrice\":[1,\"base-sale-price\"],\"responsive\":[4],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"customLabels\":[1,\"custom-labels\"],\"addPriceContainer\":[4,\"add-price-container\"],\"energyCertifications\":[1040,\"energy-certifications\"],\"isContentCard\":[4,\"is-content-card\"],\"contentText\":[1,\"content-text\"],\"contentLink\":[1,\"content-link\"],\"productId\":[1,\"product-id\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"deeplink\":[1],\"index\":[2],\"updatingAllCards\":[4,\"updating-all-cards\"],\"defaultAnimationInterval\":[2,\"default-animation-interval\"],\"appliedDiscountPercentage\":[2,\"applied-discount-percentage\"],\"currentDiscountPercentage\":[2,\"current-discount-percentage\"],\"isSourceProduct\":[4,\"is-source-product\"],\"isResultsWidget\":[4,\"is-results-widget\"],\"energyCertificationsString\":[1,\"energy-certifications-string\"],\"isStandalone\":[4,\"is-standalone\"],\"showFooterArrow\":[4,\"show-footer-arrow\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]],{\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"productId\":[\"productIdWatcher\"]}],[1,\"vviinn-product-card-skeleton\",{\"imageRatio\":[2,\"image-ratio\"]}],[1,\"vviinn-extended-filters-button\",{\"handleClick\":[16,\"handle-click\"],\"showInWidget\":[4,\"show-in-widget\"]}],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16,\"class-icon-urls\"],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"]}],[1,\"vviinn-price-range\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"priceChangeHandler\":[16,\"price-change-handler\"],\"selectedInterval\":[16,\"selected-interval\"],\"minIndex\":[32],\"maxIndex\":[32],\"scalingFactor\":[32]},null,{\"selectedInterval\":[\"updatingSelectedInterval\"]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"],\"aspectRatio\":[2,\"aspect-ratio\"]}]]],[\"vviinn-button_2.cjs\",[[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showFilters\":[4,\"show-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"favoriteShow\":[4,\"favorite-show\"],\"useCarousel\":[4,\"use-carousel\"],\"showInWidget\":[4,\"show-in-widget\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"apiPath\":[1,\"api-path\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16,\"button-children\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"showInModal\":[4,\"show-in-modal\"],\"isAppended\":[4,\"is-appended\"],\"uiSessionId\":[1,\"ui-session-id\"],\"sidebarState\":[32],\"sourceProduct\":[32],\"showLoadingClass\":[32],\"recommendationsLoading\":[32],\"hidden\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"],[0,\"sourceProductReceived\",\"sourceProductReceived\"]],{\"recommendationsLoading\":[\"handleLoadingChange\"]}],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"vviinn-detected-object_6.cjs\",[[1,\"vviinn-vpr-button\",{\"token\":[1],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"imageRatio\":[2,\"image-ratio\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"addPriceContainer\":[4,\"add-price-container\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"favoriteShow\":[4,\"favorite-show\"],\"appendSidebarToElement\":[16,\"append-sidebar-to-element\"],\"appendSidebarToId\":[1,\"append-sidebar-to-id\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"uiSessionId\":[1,\"ui-session-id\"],\"targetAppendSidebarTo\":[32]},null,{\"appendSidebarToElement\":[\"appendSidebarToElementWatcher\"]}],[1,\"vviinn-detected-object\",{\"detectedObject\":[16,\"detected-object\"],\"selectedDetectedObject\":[16,\"selected-detected-object\"],\"basicEventData\":[16,\"basic-event-data\"],\"imageBounds\":[16,\"image-bounds\"],\"showInWidget\":[4,\"show-in-widget\"],\"position\":[32]}],[1,\"vviinn-error\",{\"hasBackground\":[4,\"has-background\"],\"errorType\":[1,\"error-type\"],\"handler\":[16],\"hasTopMargin\":[4,\"has-top-margin\"],\"searchType\":[1,\"search-type\"]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16,\"reset-state\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]},null,{\"active\":[\"handleActiveChange\"]}],[1,\"vviinn-overlay\"],[1,\"vviinn-preloader\"]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"campaignId\":[1,\"campaign-id\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"addStyle\":[4,\"add-style\"],\"mode\":[1],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]]]]],[\"vviinn-text-search.cjs\",[[1,\"vviinn-text-search\",{\"token\":[1],\"locale\":[1],\"mode\":[1],\"searchQuery\":[1025,\"search-query\"],\"placeholder\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"showOnFirstScreen\":[4,\"show-on-first-screen\"],\"apiPath\":[1,\"api-path\"],\"uiSessionId\":[1,\"ui-session-id\"],\"basicEventData\":[16,\"basic-event-data\"],\"isRecording\":[32],\"showTooltip\":[32]}]]],[\"vviinn-camera_10.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"buttonPressed\":[4,\"button-pressed\"],\"mode\":[1],\"resetVpsButton\":[16,\"reset-vps-button\"],\"replaceSlotsContentInButton\":[16,\"replace-slots-content-in-button\"],\"parentSlots\":[16,\"parent-slots\"],\"showInWidget\":[4,\"show-in-widget\"],\"slidePosition\":[32],\"uploadSource\":[32],\"stream\":[32],\"products\":[32],\"modalBody\":[32],\"isCameraInitializing\":[32],\"isCameraEnabled\":[32],\"isCameraButtonClicked\":[32],\"showAspectRatioError\":[32],\"wrongImageFormat\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"cropAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackImageSearchFilterSelected\"]],{\"active\":[\"activeWatcher\"],\"slidePosition\":[\"slidePositionWatcher\"]}],[1,\"vviinn-results\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"pricePrefix\":[1,\"price-prefix\"],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"textSearchQuery\":[1,\"text-search-query\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1025,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"resetWidgetState\":[16,\"reset-widget-state\"],\"replaceSlotsContentInWidget\":[16,\"replace-slots-content-in-widget\"],\"replaceSlotsContentInButton\":[16,\"replace-slots-content-in-button\"],\"parentSlots\":[16,\"parent-slots\"],\"useInnerState\":[4,\"use-inner-state\"],\"scrollableModalBody\":[16,\"scrollable-modal-body\"],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"oneClickDiscoverySelectedIndex\":[32],\"innerResults\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToFavorite\"]],{\"textSearchQuery\":[\"watchTextSearchQuery\"],\"searchId\":[\"watchSearchId\"]}],[1,\"vviinn-cropper\",{\"saveImageMode\":[1,\"save-image-mode\"],\"width\":[1026],\"apiPath\":[1,\"api-path\"],\"height\":[1026],\"basicEventData\":[1040,\"basic-event-data\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"showInWidget\":[4,\"show-in-widget\"],\"cropper\":[32],\"selectedDetectedObject\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"],[0,\"vviinnImageCrop\",\"imageCropHandler\"]]],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16,\"reset-state\"],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16,\"basic-event-data\"],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16,\"reset-vps-button\"],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"storeName\":[1,\"store-name\"],\"state\":[16]},null,{\"startUpload\":[\"startUploadWatcher\"]}],[1,\"vviinn-camera\",{\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16,\"basic-event-data\"],\"srcObject\":[16,\"src-object\"],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"showInWidget\":[4,\"show-in-widget\"],\"storeName\":[1,\"store-name\"],\"state\":[16],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]},null,{\"srcObject\":[\"handleSrcObjectChange\"]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[1,\"vviinn-slide\"],[1,\"vviinn-slider\",{\"position\":[514],\"elementsCount\":[32],\"internalPosition\":[32],\"swipeStartPosition\":[32],\"isRTL\":[32]},null,{\"position\":[\"positionWatchHandler\"]}],[1,\"vviinn-teaser\"]]]]"), options);
|
|
9
|
+
return index.bootstrapLazy(JSON.parse("[[\"vviinn-selected-filters.cjs\",[[1,\"vviinn-selected-filters\",{\"showInWidget\":[4,\"show-in-widget\"],\"requestFilters\":[32],\"selectedFilterButtons\":[32],\"textSearchCustomFilter\":[32],\"imageSrc\":[32],\"priceCustomFilter\":[32]}]]],[\"vviinn-carousel_10.cjs\",[[1,\"vviinn-vpr-widget\",{\"token\":[1],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"locale\":[1],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"imageRatio\":[2,\"image-ratio\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"showExtendedFilters\":[4,\"show-extended-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"blockTitle\":[1,\"block-title\"],\"showScroll\":[4,\"show-scroll\"],\"apiPath\":[1,\"api-path\"],\"useCarousel\":[4,\"use-carousel\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"closed\":[4],\"opened\":[4],\"isAppended\":[4,\"is-appended\"],\"showInWidget\":[4,\"show-in-widget\"],\"recommendationsLoading\":[1028,\"recommendations-loading\"],\"setRecommendationsLoading\":[16,\"set-recommendations-loading\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"recommendations\":[32],\"dynamicFilters\":[32],\"sourceProduct\":[32],\"hasErrorOnLoad\":[32],\"updatingAllCards\":[32],\"updatedCardsAmount\":[32],\"setModeDiscountsArray\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToWishlist\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinishedListener\"],[0,\"vviinnFiltersChanged\",\"filtersChanged\"]],{\"productId\":[\"handleProductIdChange\"],\"campaignType\":[\"handleCampaignTypeChange\"],\"campaigns\":[\"handleCampaignsChange\"],\"opened\":[\"trackWidgetOpen\"],\"closed\":[\"trackWidgetClose\"]}],[0,\"vviinn-carousel\",{\"mode\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"imageWidth\":[2,\"image-width\"],\"showScroll\":[4,\"show-scroll\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"recommendations\":[1040],\"sourceProduct\":[16,\"source-product\"],\"widgetVersion\":[1,\"widget-version\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"updatingAllCards\":[4,\"updating-all-cards\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"replaceSlotsContent\":[16,\"replace-slots-content\"],\"setModeDiscountsArray\":[16,\"set-mode-discounts-array\"],\"imageRatio\":[2,\"image-ratio\"],\"addPriceContainer\":[4,\"add-price-container\"],\"favoriteShow\":[4,\"favorite-show\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"isAppended\":[4,\"is-appended\"],\"loading\":[4],\"hasErrorOnLoad\":[4,\"has-error-on-load\"],\"showInWidget\":[4,\"show-in-widget\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"moveDirection\":[32],\"contentGroups\":[32],\"activeContentGroup\":[32],\"currentScrollIndex\":[32],\"isRTL\":[32],\"crossSellingRecommendations\":[32],\"setModeDiscount\":[32],\"currentDiscountIndex\":[32],\"setModeAppliedDiscounts\":[32],\"columns\":[32],\"showContent\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"],[0,\"vviinnAddToBasket\",\"setModeAddToBasketHandler\"]],{\"recommendations\":[\"recommendationsWatcher\"],\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"loading\":[\"onLoadingChange\"]}],[1,\"vviinn-extended-filters\",{\"mode\":[1],\"showHeader\":[4,\"show-header\"],\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"widgetElement\":[8,\"widget-element\"],\"innerFilters\":[32],\"requestFilters\":[32],\"showMore\":[32],\"selectedMoreOptions\":[32],\"displayedOptionsCount\":[32]},[[16,\"click\",\"bodyClickListener\"]],{\"showMore\":[\"showMoreWatcher\"],\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-filters\",{\"filtersString\":[1,\"filters-string\"],\"showInWidget\":[4,\"show-in-widget\"],\"innerFilters\":[32],\"selectedFilterColumn\":[32],\"requestFilters\":[32]},null,{\"filtersString\":[\"filtersStringWatcher\"]}],[1,\"vviinn-product-card\",{\"brand\":[1],\"currency\":[1],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"image\":[1],\"imageRatio\":[2,\"image-ratio\"],\"imageWidth\":[2,\"image-width\"],\"price\":[2],\"basePrice\":[1,\"base-price\"],\"productTitle\":[1,\"product-title\"],\"productType\":[1,\"product-type\"],\"setMode\":[4,\"set-mode\"],\"salePrice\":[2,\"sale-price\"],\"baseSalePrice\":[1,\"base-sale-price\"],\"responsive\":[4],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"customLabels\":[1,\"custom-labels\"],\"addPriceContainer\":[4,\"add-price-container\"],\"energyCertifications\":[1040,\"energy-certifications\"],\"isContentCard\":[4,\"is-content-card\"],\"contentText\":[1,\"content-text\"],\"contentLink\":[1,\"content-link\"],\"productId\":[1,\"product-id\"],\"campaignTypeId\":[1,\"campaign-type-id\"],\"widgetElementId\":[1,\"widget-element-id\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"deeplink\":[1],\"index\":[2],\"updatingAllCards\":[4,\"updating-all-cards\"],\"defaultAnimationInterval\":[2,\"default-animation-interval\"],\"appliedDiscountPercentage\":[2,\"applied-discount-percentage\"],\"currentDiscountPercentage\":[2,\"current-discount-percentage\"],\"isSourceProduct\":[4,\"is-source-product\"],\"isResultsWidget\":[4,\"is-results-widget\"],\"energyCertificationsString\":[1,\"energy-certifications-string\"],\"isStandalone\":[4,\"is-standalone\"],\"showFooterArrow\":[4,\"show-footer-arrow\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"isTransitioning\":[32],\"basketButonPressed\":[32],\"favoriteButonPressed\":[32]},[[0,\"vviinnCrossSellingClick\",\"crossSellingClickListener\"]],{\"updatingAllCards\":[\"updatingAllCardsWatcher\"],\"productId\":[\"productIdWatcher\"]}],[1,\"vviinn-product-card-skeleton\",{\"imageRatio\":[2,\"image-ratio\"]}],[1,\"vviinn-extended-filters-button\",{\"handleClick\":[16,\"handle-click\"],\"showInWidget\":[4,\"show-in-widget\"]}],[1,\"vviinn-energy-label\",{\"classIconUrls\":[16,\"class-icon-urls\"],\"productType\":[1,\"product-type\"],\"classDataSheetUrl\":[1,\"class-data-sheet-url\"],\"iconDirection\":[1,\"icon-direction\"]}],[1,\"vviinn-price-range\",{\"histogram\":[16],\"addStyle\":[4,\"add-style\"],\"priceChangeHandler\":[16,\"price-change-handler\"],\"selectedInterval\":[16,\"selected-interval\"],\"minIndex\":[32],\"maxIndex\":[32],\"scalingFactor\":[32]},null,{\"selectedInterval\":[\"updatingSelectedInterval\"]}],[1,\"vviinn-skeleton\",{\"height\":[2],\"halfWidth\":[4,\"half-width\"],\"aspectRatio\":[2,\"aspect-ratio\"]}]]],[\"vviinn-button_2.cjs\",[[1,\"vviinn-recommendations-sidebar\",{\"sidebarTitle\":[1,\"sidebar-title\"],\"token\":[1],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"position\":[1],\"widgetScrollbar\":[4,\"widget-scrollbar\"],\"mode\":[1],\"campaigns\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageRatio\":[2,\"image-ratio\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"addPriceContainer\":[4,\"add-price-container\"],\"showFilters\":[4,\"show-filters\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"favoriteShow\":[4,\"favorite-show\"],\"useCarousel\":[4,\"use-carousel\"],\"showInWidget\":[4,\"show-in-widget\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"apiPath\":[1,\"api-path\"],\"showInCustomContainer\":[4,\"show-in-custom-container\"],\"buttonChildren\":[16,\"button-children\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"showingInButton\":[4,\"showing-in-button\"],\"showInModal\":[4,\"show-in-modal\"],\"isAppended\":[4,\"is-appended\"],\"uiSessionId\":[1,\"ui-session-id\"],\"triggerElement\":[16,\"trigger-element\"],\"sidebarState\":[32],\"sourceProduct\":[32],\"showLoadingClass\":[32],\"recommendationsLoading\":[32],\"hidden\":[32]},[[0,\"vviinnUpdatingAllCardsStarted\",\"updatingAllCardsStarted\"],[0,\"vviinnUpdatingAllCardsFinished\",\"updatingAllCardsFinished\"],[16,\"click\",\"bodyClickListener\"],[0,\"sourceProductReceived\",\"sourceProductReceived\"],[8,\"keydown\",\"handleEscape\"]],{\"recommendationsLoading\":[\"handleLoadingChange\"],\"sidebarState\":[\"handleSidebarStateChange\"]}],[1,\"vviinn-button\",{\"addStyle\":[4,\"add-style\"]}]]],[\"vviinn-detected-object_6.cjs\",[[1,\"vviinn-vpr-button\",{\"token\":[1],\"locale\":[1],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"productId\":[1,\"product-id\"],\"mode\":[1],\"campaigns\":[1],\"excluded\":[1],\"campaignType\":[1,\"campaign-type\"],\"color\":[1],\"imageWidth\":[2,\"image-width\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"imageRatio\":[2,\"image-ratio\"],\"setItemsAmount\":[2,\"set-items-amount\"],\"cssUrl\":[1,\"css-url\"],\"noResultText\":[1,\"no-result-text\"],\"noResultShow\":[4,\"no-result-show\"],\"gridArrowsDynamic\":[4,\"grid-arrows-dynamic\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"showFilters\":[4,\"show-filters\"],\"addPriceContainer\":[4,\"add-price-container\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"setModeDiscounts\":[1,\"set-mode-discounts\"],\"updateButtonLocation\":[1,\"update-button-location\"],\"sidebarTitle\":[1,\"sidebar-title\"],\"modalScrollbar\":[4,\"modal-scrollbar\"],\"position\":[1],\"addStyle\":[4,\"add-style\"],\"favoriteShow\":[4,\"favorite-show\"],\"appendSidebarToElement\":[16,\"append-sidebar-to-element\"],\"appendSidebarToId\":[1,\"append-sidebar-to-id\"],\"isStandalone\":[4,\"is-standalone\"],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"uiSessionId\":[1,\"ui-session-id\"],\"targetAppendSidebarTo\":[32]},null,{\"appendSidebarToElement\":[\"appendSidebarToElementWatcher\"]}],[1,\"vviinn-detected-object\",{\"detectedObject\":[16,\"detected-object\"],\"selectedDetectedObject\":[16,\"selected-detected-object\"],\"basicEventData\":[16,\"basic-event-data\"],\"imageBounds\":[16,\"image-bounds\"],\"showInWidget\":[4,\"show-in-widget\"],\"position\":[32]}],[1,\"vviinn-error\",{\"hasBackground\":[4,\"has-background\"],\"errorType\":[1,\"error-type\"],\"handler\":[16],\"hasTopMargin\":[4,\"has-top-margin\"],\"searchType\":[1,\"search-type\"]}],[1,\"vviinn-modal\",{\"active\":[1540],\"resetState\":[16,\"reset-state\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetVersion\":[1,\"widget-version\"],\"hideBackButton\":[4,\"hide-back-button\"],\"isFirstScreen\":[4,\"is-first-screen\"],\"slider\":[32]},null,{\"active\":[\"handleActiveChange\"]}],[1,\"vviinn-overlay\"],[1,\"vviinn-preloader\"]]],[\"vviinn-vps-button.cjs\",[[1,\"vviinn-vps-button\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[1],\"pricePrefix\":[1,\"price-prefix\"],\"campaignId\":[1,\"campaign-id\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"addStyle\":[4,\"add-style\"],\"mode\":[1],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"buttonPressed\":[32]},[[0,\"vviinnWidgetClose\",\"handleModalClosed\"]]]]],[\"vviinn-text-search.cjs\",[[1,\"vviinn-text-search\",{\"token\":[1],\"locale\":[1],\"mode\":[1],\"searchQuery\":[1025,\"search-query\"],\"placeholder\":[1],\"showInWidget\":[4,\"show-in-widget\"],\"showOnFirstScreen\":[4,\"show-on-first-screen\"],\"apiPath\":[1,\"api-path\"],\"uiSessionId\":[1,\"ui-session-id\"],\"basicEventData\":[16,\"basic-event-data\"],\"isRecording\":[32],\"showTooltip\":[32]}]]],[\"vviinn-camera_10.cjs\",[[1,\"vviinn-vps-widget\",{\"token\":[1],\"active\":[1028],\"currencySign\":[1,\"currency-sign\"],\"pricePrefix\":[1,\"price-prefix\"],\"locale\":[1],\"campaignId\":[1,\"campaign-id\"],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"excluded\":[1],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"exampleImageSource\":[1,\"example-image-source\"],\"textSearchShow\":[4,\"text-search-show\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"oneClickDiscoveryShow\":[4,\"one-click-discovery-show\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"addPriceContainer\":[4,\"add-price-container\"],\"apiPath\":[1,\"api-path\"],\"showingInButton\":[4,\"showing-in-button\"],\"buttonElementId\":[1,\"button-element-id\"],\"buttonPressed\":[4,\"button-pressed\"],\"mode\":[1],\"resetVpsButton\":[16,\"reset-vps-button\"],\"replaceSlotsContentInButton\":[16,\"replace-slots-content-in-button\"],\"parentSlots\":[16,\"parent-slots\"],\"showInWidget\":[4,\"show-in-widget\"],\"slidePosition\":[32],\"uploadSource\":[32],\"stream\":[32],\"products\":[32],\"modalBody\":[32],\"isCameraInitializing\":[32],\"isCameraEnabled\":[32],\"isCameraButtonClicked\":[32],\"showAspectRatioError\":[32],\"wrongImageFormat\":[32]},[[0,\"widgetTextSearchFinished\",\"textSearchFinishedHandler\"],[0,\"vviinnResultLoad\",\"resultLoadHandler\"],[0,\"vviinnResultView\",\"resultViewHandler\"],[0,\"vviinnCameraEnabled\",\"trackCameraEnabled\"],[0,\"vviinnImageCrop\",\"cropAreaChanges\"],[0,\"vviinnSelectObject\",\"trackDetectedObject\"],[0,\"vviinnSelectFilter\",\"trackImageSearchFilterSelected\"]],{\"active\":[\"activeWatcher\"],\"slidePosition\":[\"slidePositionWatcher\"]}],[1,\"vviinn-results\",{\"token\":[1],\"currencySign\":[1,\"currency-sign\"],\"locale\":[8],\"campaignIdTextSearch\":[1,\"campaign-id-text-search\"],\"campaignIdVisualSearch\":[1,\"campaign-id-visual-search\"],\"pricePrefix\":[1,\"price-prefix\"],\"searchId\":[1,\"search-id\"],\"uiSessionId\":[1025,\"ui-session-id\"],\"imageResolutionWidth\":[2,\"image-resolution-width\"],\"productDetailsNewTab\":[4,\"product-details-new-tab\"],\"productDetailsRedirect\":[4,\"product-details-redirect\"],\"addToBasketShow\":[4,\"add-to-basket-show\"],\"favoriteShow\":[4,\"favorite-show\"],\"textSearchQuery\":[1,\"text-search-query\"],\"filterColumn\":[1,\"filter-column\"],\"filterValue\":[1,\"filter-value\"],\"resultsCount\":[2,\"results-count\"],\"addPriceContainer\":[4,\"add-price-container\"],\"oneClickDiscoveryMode\":[1,\"one-click-discovery-mode\"],\"oneClickDiscoveryCampaigns\":[1,\"one-click-discovery-campaigns\"],\"showInWidget\":[4,\"show-in-widget\"],\"apiPath\":[1,\"api-path\"],\"buttonElementId\":[1,\"button-element-id\"],\"widgetElementId\":[1025,\"widget-element-id\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"resetWidgetState\":[16,\"reset-widget-state\"],\"replaceSlotsContentInWidget\":[16,\"replace-slots-content-in-widget\"],\"replaceSlotsContentInButton\":[16,\"replace-slots-content-in-button\"],\"parentSlots\":[16,\"parent-slots\"],\"useInnerState\":[4,\"use-inner-state\"],\"scrollableModalBody\":[16,\"scrollable-modal-body\"],\"slotsReplaced\":[32],\"oneClickDiscoveryAppendIndex\":[32],\"oneClickDiscoverySelectedIndex\":[32],\"innerResults\":[32]},[[0,\"vviinnProductLoad\",\"trackProductLoad\"],[0,\"vviinnProductView\",\"trackProductView\"],[0,\"vviinnProductClick\",\"trackProductClick\"],[0,\"vviinnAuxClick\",\"trackAuxClick\"],[0,\"vviinnAddToBasket\",\"trackAddToBasket\"],[0,\"vviinnAddToFavorite\",\"trackAddToFavorite\"]],{\"textSearchQuery\":[\"watchTextSearchQuery\"],\"searchId\":[\"watchSearchId\"]}],[1,\"vviinn-cropper\",{\"saveImageMode\":[1,\"save-image-mode\"],\"width\":[1026],\"apiPath\":[1,\"api-path\"],\"height\":[1026],\"basicEventData\":[1040,\"basic-event-data\"],\"showAspectRatioError\":[4,\"show-aspect-ratio-error\"],\"showInWidget\":[4,\"show-in-widget\"],\"cropper\":[32],\"selectedDetectedObject\":[32]},[[0,\"vviinnSelectObject\",\"selectDetectedObject\"],[0,\"vviinnImageCrop\",\"imageCropHandler\"]]],[1,\"vviinn-overlayed-modal\",{\"active\":[4],\"resetState\":[16,\"reset-state\"],\"buttonElementId\":[1,\"button-element-id\"],\"hideBackButton\":[4,\"hide-back-button\"],\"widgetVersion\":[1,\"widget-version\"],\"isFirstScreen\":[4,\"is-first-screen\"]}],[1,\"vviinn-image-selector\",{\"basicEventData\":[16,\"basic-event-data\"],\"startUpload\":[4,\"start-upload\"],\"loading\":[4],\"accept\":[1],\"resetVpsButton\":[16,\"reset-vps-button\"],\"token\":[1],\"apiPath\":[1,\"api-path\"],\"showInWidget\":[4,\"show-in-widget\"],\"storeName\":[1,\"store-name\"],\"state\":[16]},null,{\"startUpload\":[\"startUploadWatcher\"]}],[1,\"vviinn-camera\",{\"exampleImageSource\":[1,\"example-image-source\"],\"width\":[2],\"height\":[2],\"basicEventData\":[16,\"basic-event-data\"],\"srcObject\":[16,\"src-object\"],\"cameraButtonClicked\":[4,\"camera-button-clicked\"],\"showInWidget\":[4,\"show-in-widget\"],\"storeName\":[1,\"store-name\"],\"state\":[16],\"selected\":[32],\"videoInitialized\":[32],\"zoomCapabilities\":[32]},null,{\"srcObject\":[\"handleSrcObjectChange\"]}],[1,\"vviinn-privacy-badge\",{\"privacyBadgeText\":[1,\"privacy-badge-text\"]}],[1,\"vviinn-slide\"],[1,\"vviinn-slider\",{\"position\":[514],\"elementsCount\":[32],\"internalPosition\":[32],\"swipeStartPosition\":[32],\"isRTL\":[32]},null,{\"position\":[\"positionWatchHandler\"]}],[1,\"vviinn-teaser\"]]]]"), options);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
|
@@ -99,6 +99,10 @@ const resources = {
|
|
|
99
99
|
filterButton: "{{label}} Filter",
|
|
100
100
|
colorOption: "{{label}} Farbe",
|
|
101
101
|
showMoreOptions: "{{count}} weitere {{label}} Optionen anzeigen",
|
|
102
|
+
// Detected Objects
|
|
103
|
+
detectedObject: "Erkanntes Objekt auswählen",
|
|
104
|
+
// Discovery
|
|
105
|
+
recommendations: "Empfohlene Produkte",
|
|
102
106
|
// External Links
|
|
103
107
|
vviinnLink: "Vviinn-Website besuchen (öffnet in neuem Tab)",
|
|
104
108
|
},
|
|
@@ -201,6 +205,10 @@ const resources = {
|
|
|
201
205
|
filterButton: "{{label}} filter",
|
|
202
206
|
colorOption: "{{label}} color",
|
|
203
207
|
showMoreOptions: "Show {{count}} more {{label}} options",
|
|
208
|
+
// Detected Objects
|
|
209
|
+
detectedObject: "Select detected object",
|
|
210
|
+
// Discovery Widget
|
|
211
|
+
recommendations: "Recommended products",
|
|
204
212
|
// External Links
|
|
205
213
|
vviinnLink: "Visit Vviinn website (opens in new tab)",
|
|
206
214
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-OrE9ITel.js');
|
|
4
4
|
|
|
5
5
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-OrE9ITel.js');
|
|
4
4
|
var i18next = require('./i18next-DkN_8H9H.js');
|
|
5
5
|
|
|
6
6
|
const FilterIconCheck = () => (index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-OrE9ITel.js');
|
|
4
4
|
var Rectangle = require('./Rectangle-Dki6rXFf.js');
|
|
5
5
|
var index$1 = require('./index-Dob37WH6.js');
|
|
6
6
|
var i18next = require('./i18next-DkN_8H9H.js');
|
|
@@ -20,7 +20,7 @@ const VviinnButton = class {
|
|
|
20
20
|
this.addStyle = true;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (index.h(index.Host, { key: '8aa5c9b9a1443967360070b7c3ebc6bb6882e99d', exportparts: "button" }, index.h("button", { key: '
|
|
23
|
+
return (index.h(index.Host, { key: '8aa5c9b9a1443967360070b7c3ebc6bb6882e99d', exportparts: "button" }, index.h("button", { key: '947c155483cb4be283595eb5e4305c5f1013728b', class: this.addStyle ? "open-button" : "raw-open-button", part: "button", tabindex: "-1" }, index.h("slot", { key: '2c11b38bf5dfeb8fb788ae439f456f9d65d09821' }, index.h(VisualSearchIcon, { key: 'c961c7c99832abaad2684c4a7c81978d45cb16ec' })))));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
VviinnButton.style = vviinnButtonCss;
|
|
@@ -87,6 +87,13 @@ const RecommendationsSidebar = class {
|
|
|
87
87
|
sourceProductReceived(event) {
|
|
88
88
|
this.sourceProduct = event.detail;
|
|
89
89
|
}
|
|
90
|
+
handleEscape(event) {
|
|
91
|
+
if (event.key === "Escape" &&
|
|
92
|
+
this.sidebarState === "open" &&
|
|
93
|
+
!this.isAppended) {
|
|
94
|
+
this.sidebarState = "closed";
|
|
95
|
+
}
|
|
96
|
+
}
|
|
90
97
|
handleLoadingChange(loading) {
|
|
91
98
|
if (loading) {
|
|
92
99
|
this.showLoadingClass = true;
|
|
@@ -98,6 +105,20 @@ const RecommendationsSidebar = class {
|
|
|
98
105
|
}, 500);
|
|
99
106
|
}
|
|
100
107
|
}
|
|
108
|
+
handleSidebarStateChange(newState, oldState) {
|
|
109
|
+
var _a;
|
|
110
|
+
if (newState === "open" && oldState !== "open") {
|
|
111
|
+
const aside = this.getAsideElement();
|
|
112
|
+
if (aside) {
|
|
113
|
+
aside.focus();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
else if (newState === "closed" &&
|
|
117
|
+
oldState === "open" &&
|
|
118
|
+
this.triggerElement) {
|
|
119
|
+
(_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
120
|
+
}
|
|
121
|
+
}
|
|
101
122
|
getClassMap() {
|
|
102
123
|
return {
|
|
103
124
|
[this.position]: true,
|
|
@@ -129,7 +150,12 @@ const RecommendationsSidebar = class {
|
|
|
129
150
|
}
|
|
130
151
|
render() {
|
|
131
152
|
var _a;
|
|
132
|
-
return (index.h(index.Host, { key: '
|
|
153
|
+
return (index.h(index.Host, { key: '94f39af4707e19d5149188cdf5705827032828c2', class: this.getClassMap(), style: { display: this.hidden ? "none" : undefined }, exportparts: `body, close-sidebar, ${index$1.carouselParts}, ${index$1.productCardParts}` }, index.h("aside", { key: '911c16cd4e85778b1c2bc2f27fb549aa8407d5fc', class: "sidebar", part: "body", onAnimationEnd: (e) => this.handleAnimationEnd(e), role: this.showInModal ? "dialog" : undefined, "aria-modal": this.showInModal ? "true" : "false", "aria-label": this.showInModal ? i18next.instance.t("a11y.recommendations") : undefined, tabindex: "-1" }, index.h("header", { key: '4c32670180208b911095a811d363477fd56ccca5', class: { "contains-source-img": this.isSourceImageValid() }, part: "sidebar-header" }, this.mode !== "set" && (index.h(index.Fragment, { key: '5cbbe96d47bdc5d73aa97fcf047196c828a66a86' }, this.renderSourceImage(), ((_a = this.sidebarTitle) === null || _a === void 0 ? void 0 : _a.length) !== 0 && (index.h("span", { key: '6ea23180842a5c5aee98b72ea24fb76e74e74411', class: "title", part: "recommendations-title" }, this.sidebarTitle || i18next.instance.t("discoveryWidgetTitle"))))), index.h("button", { key: '3f2d6c8358d9f13b002ae06b05ae9b0fbbf77411', class: "close-sidebar", onClick: () => (this.sidebarState = "closed"), onKeyDown: (event) => {
|
|
154
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
155
|
+
event.preventDefault();
|
|
156
|
+
this.sidebarState = "closed";
|
|
157
|
+
}
|
|
158
|
+
}, part: "close-sidebar", "aria-label": i18next.instance.t("a11y.closeButton") }, index.h(CrossIcon, { key: '19aea387da7d5d1cedf2da0eddd7e596b65b3f08' }))), index.h("main", { key: '47ceeef8eaef8b2d748a17f27d6065c6c369a5f9', part: "sidebar-content" }, index.h("vviinn-vpr-widget", { key: '91dd0682c4e9aef501b6738dcd45b34dcc217c18', token: this.token, currencySign: this.currencySign, pricePrefix: this.pricePrefix, apiPath: this.apiPath, locale: this.locale, productId: this.productId, exportparts: `${index$1.carouselParts}, ${index$1.productCardParts}`, imageWidth: this.imageWidth, imageRatio: this.imageRatio, setItemsAmount: this.setItemsAmount, blockTitle: "", mode: this.mode, "campaign-type": this.campaignType, useCarousel: this.useCarousel, onVviinnRecommendationsLoaded: () => {
|
|
133
159
|
this.hidden = false;
|
|
134
160
|
this.sidebarState = "open";
|
|
135
161
|
}, showScroll: this.widgetScrollbar, campaigns: this.campaigns, color: this.color, buttonElementId: this.buttonElementId, noResultText: this.noResultText, noResultShow: this.noResultShow, gridArrowsDynamic: this.gridArrowsDynamic, showingInButton: this.showingInButton, excluded: this.excluded, productDetailsNewTab: this.productDetailsNewTab, productDetailsRedirect: this.productDetailsRedirect, closed: this.sidebarState === "closed", opened: this.sidebarState === "open", addToBasketShow: this.addToBasketShow, cssUrl: this.cssUrl, showFilters: this.showFilters, setModeDiscounts: this.setModeDiscounts, updateButtonLocation: this.updateButtonLocation, addPriceContainer: this.addPriceContainer, favoriteShow: this.favoriteShow, isAppended: this.isAppended, showInWidget: this.showInWidget, recommendationsLoading: this.recommendationsLoading, setRecommendationsLoading: this.setRecommendationsLoading, imageResolutionWidth: this.imageResolutionWidth, uiSessionId: this.uiSessionId })))));
|
|
@@ -151,7 +177,8 @@ const RecommendationsSidebar = class {
|
|
|
151
177
|
}
|
|
152
178
|
get el() { return index.getElement(this); }
|
|
153
179
|
static get watchers() { return {
|
|
154
|
-
"recommendationsLoading": ["handleLoadingChange"]
|
|
180
|
+
"recommendationsLoading": ["handleLoadingChange"],
|
|
181
|
+
"sidebarState": ["handleSidebarStateChange"]
|
|
155
182
|
}; }
|
|
156
183
|
};
|
|
157
184
|
RecommendationsSidebar.style = recommendationsSidebarCss;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var search_store = require('./search.store-
|
|
5
|
-
var customizedSlots = require('./customized-slots-
|
|
6
|
-
var index$2 = require('./index-
|
|
3
|
+
var index = require('./index-OrE9ITel.js');
|
|
4
|
+
var search_store = require('./search.store-CuafCQTE.js');
|
|
5
|
+
var customizedSlots = require('./customized-slots-7egKJD19.js');
|
|
6
|
+
var index$2 = require('./index-C9e2G0zC.js');
|
|
7
7
|
var index$1 = require('./index-C3G9W48a.js');
|
|
8
8
|
var i18next = require('./i18next-DkN_8H9H.js');
|
|
9
|
-
var store = require('./store-
|
|
9
|
+
var store = require('./store-CrCuJC55.js');
|
|
10
10
|
var Rectangle = require('./Rectangle-Dki6rXFf.js');
|
|
11
|
-
var index$3 = require('./index-
|
|
12
|
-
var _package = require('./package-
|
|
13
|
-
var resources = require('./resources-
|
|
11
|
+
var index$3 = require('./index-CHjRdAcp.js');
|
|
12
|
+
var _package = require('./package-Fdm3E6hp.js');
|
|
13
|
+
var resources = require('./resources-m9P7djQt.js');
|
|
14
14
|
var index$4 = require('./index-Dob37WH6.js');
|
|
15
15
|
var constants = require('./constants-CgBx7Czu.js');
|
|
16
16
|
var constants$1 = require('./constants-DHaugTOE.js');
|
|
@@ -3749,13 +3749,13 @@ const VviinnImageSelector = class {
|
|
|
3749
3749
|
}
|
|
3750
3750
|
}
|
|
3751
3751
|
render() {
|
|
3752
|
-
return (index.h(index.Host, { key: '
|
|
3752
|
+
return (index.h(index.Host, { key: 'ca3e59e7c0892e34a5a0bfc87f569e63a3a4b09b', exportparts: "button" }, this.loading ? (index.h("vviinn-preloader", null)) : (index.h("label", { htmlFor: "fileInput", part: "button", tabindex: "0", onKeyDown: (e) => {
|
|
3753
3753
|
var _a;
|
|
3754
3754
|
if (e.key === "Enter" || e.key === " ") {
|
|
3755
3755
|
e.preventDefault();
|
|
3756
3756
|
(_a = this.fileInput) === null || _a === void 0 ? void 0 : _a.click();
|
|
3757
3757
|
}
|
|
3758
|
-
} }, index.h("slot", { name: "upload-button-text" }, "Upload image"))), index.h("input", { key: '
|
|
3758
|
+
} }, index.h("slot", { name: "upload-button-text" }, "Upload image"))), index.h("input", { key: '9aa8f33b55bca78c968768cf857c065c5e10f6bf', id: "fileInput", class: "visually-hidden", type: "file", tabindex: "-1", accept: this.accept === "image" ? "image/*" : "application/octet-stream", onChange: (event) => this.handleInputChange(event), ref: (el) => (this.fileInput = el) })));
|
|
3759
3759
|
}
|
|
3760
3760
|
static get watchers() { return {
|
|
3761
3761
|
"startUpload": ["startUploadWatcher"]
|
|
@@ -3774,7 +3774,7 @@ const VviinnOverlayedModal = class {
|
|
|
3774
3774
|
this.hideBackButton = false;
|
|
3775
3775
|
}
|
|
3776
3776
|
render() {
|
|
3777
|
-
return (index.h(index.Host, { key: '
|
|
3777
|
+
return (index.h(index.Host, { key: '2cf6e2839b413767b95dbff962f75eec3509dc72', class: { active: this.active } }, index.h("vviinn-overlay", { key: 'b84a0c29f4811c9e2e4a14e27bb4b96ad09b472d' }, index.h("vviinn-modal", { key: '6c2cb57ecc947f003ec6b02287932a9700c9e220', resetState: this.resetState, active: this.active, buttonElementId: this.buttonElementId, hideBackButton: this.hideBackButton, widgetVersion: this.widgetVersion, isFirstScreen: this.isFirstScreen }, index.h("slot", { key: '9c4a987b383225b7feda3a1caa74681837ccceae' }, "CONTENT")))));
|
|
3778
3778
|
}
|
|
3779
3779
|
};
|
|
3780
3780
|
VviinnOverlayedModal.style = vviinnOverlayedModalCss;
|
|
@@ -3802,7 +3802,7 @@ const VviinnPrivacyBadge = class {
|
|
|
3802
3802
|
}
|
|
3803
3803
|
}
|
|
3804
3804
|
render() {
|
|
3805
|
-
return (index.h(index.Host, { key: '
|
|
3805
|
+
return (index.h(index.Host, { key: 'c7cfd364329bf427f958ca9399ccee8df4d57e19' }, index.h("slot", { key: 'dd122253b58c53669f0caf33f4f7292140b18862', name: "vviinn-privacy-badge-text" }, index.h("div", { key: 'e636c5e2064952e9067f481567014bdd4debbcfd', innerHTML: this.privacyBadgeText }))));
|
|
3806
3806
|
}
|
|
3807
3807
|
get el() { return index.getElement(this); }
|
|
3808
3808
|
};
|
|
@@ -3970,7 +3970,7 @@ const VviinnResults = class {
|
|
|
3970
3970
|
});
|
|
3971
3971
|
this.state.requestFilters = [];
|
|
3972
3972
|
};
|
|
3973
|
-
this.
|
|
3973
|
+
this.oneClickDiscoveryAppendClosedHandler = ({ detail, }) => {
|
|
3974
3974
|
if (this.skipStateChanges(detail.isTriggeredByVpsWidget))
|
|
3975
3975
|
return;
|
|
3976
3976
|
this.resetDiscoveryAppendIndexes();
|
|
@@ -4065,7 +4065,10 @@ const VviinnResults = class {
|
|
|
4065
4065
|
["vviinnFiltersChanged", this.filtersChangedHandler],
|
|
4066
4066
|
["vviinnFilterTriggered", this.filterTriggeredHandler],
|
|
4067
4067
|
["vviinnImageCrop", this.imageCropHandler],
|
|
4068
|
-
[
|
|
4068
|
+
[
|
|
4069
|
+
"vviinnOneClickDiscoveryAppendClosed",
|
|
4070
|
+
this.oneClickDiscoveryAppendClosedHandler,
|
|
4071
|
+
],
|
|
4069
4072
|
], signal);
|
|
4070
4073
|
if (!!this.searchId)
|
|
4071
4074
|
search_store.makeVisualSearchRequest(this.storeName, this.searchId);
|
|
@@ -4210,23 +4213,23 @@ const VviinnResults = class {
|
|
|
4210
4213
|
};
|
|
4211
4214
|
return this.getResults().map((p, i) => {
|
|
4212
4215
|
var _a, _b;
|
|
4213
|
-
return (index.h("vviinn-product-card", { pricePrefix: store.globalState.pricePrefix, currency: store.globalState.currencySign, locale: store.globalState.locale, key: p.productId, index: i, productTitle: p.title, productId: p.productId, productType: p.productType, brand: p.brand, deeplink: p.deeplink, price: p.price.actual, salePrice: p.price.sale, basePrice: (_a = p.basePrice) === null || _a === void 0 ? void 0 : _a.actual, baseSalePrice: (_b = p.basePrice) === null || _b === void 0 ? void 0 : _b.sale, responsive: true, imageWidth: this.imageResolutionWidth, imageResolutionWidth: this.imageResolutionWidth, image: p.image.thumbnail || p.image.original, energyCertifications: p.energyCertifications, part: "product-card", campaignTypeId: widgetData.campaignTypeId, widgetElementId: this.widgetElementId, buttonElementId: this.buttonElementId, widgetVersion: _package.version, customLabels: index$2.getCustomLabels(p), addToBasketShow: this.addToBasketShow, favoriteShow: this.favoriteShow, addPriceContainer: this.addPriceContainer, isResultsWidget: true, style: { order: i.toString() }, showFooterArrow: this.oneClickDiscoverySelectedIndex === i }, !!this.oneClickDiscoveryMode && (index.h("div", { slot: "vviinn-product-card-actions", class: "vviinn-results-product-card-actions" }, index.h("vviinn-vpr-button", {
|
|
4216
|
+
return (index.h("vviinn-product-card", { pricePrefix: store.globalState.pricePrefix, currency: store.globalState.currencySign, locale: store.globalState.locale, key: p.productId, index: i, productTitle: p.title, productId: p.productId, productType: p.productType, brand: p.brand, deeplink: p.deeplink, price: p.price.actual, salePrice: p.price.sale, basePrice: (_a = p.basePrice) === null || _a === void 0 ? void 0 : _a.actual, baseSalePrice: (_b = p.basePrice) === null || _b === void 0 ? void 0 : _b.sale, responsive: true, imageWidth: this.imageResolutionWidth, imageResolutionWidth: this.imageResolutionWidth, image: p.image.thumbnail || p.image.original, energyCertifications: p.energyCertifications, part: "product-card", campaignTypeId: widgetData.campaignTypeId, widgetElementId: this.widgetElementId, buttonElementId: this.buttonElementId, widgetVersion: _package.version, customLabels: index$2.getCustomLabels(p), addToBasketShow: this.addToBasketShow, favoriteShow: this.favoriteShow, addPriceContainer: this.addPriceContainer, isResultsWidget: true, style: { order: i.toString() }, showFooterArrow: this.oneClickDiscoverySelectedIndex === i }, !!this.oneClickDiscoveryMode && (index.h("div", { slot: "vviinn-product-card-actions", class: "vviinn-results-product-card-actions" }, index.h("vviinn-vpr-button", { productId: p.productId, addStyle: false, isStandalone: false, sidebarTitle: "", appendSidebarToId: isOneClickDiscoveryAppendMode
|
|
4214
4217
|
? "one-click-discovery-append"
|
|
4215
4218
|
: undefined, appendSidebarToElement: isOneClickDiscoveryAppendMode
|
|
4216
4219
|
? this.el.shadowRoot.getElementById("one-click-discovery-append")
|
|
4217
|
-
: undefined, oneClickDiscoveryMode: this.oneClickDiscoveryMode, addToBasketShow: this.addToBasketShow, favoriteShow: this.favoriteShow, campaigns: this.oneClickDiscoveryCampaigns, showInWidget: this.showInWidget, uiSessionId: this.uiSessionId }, this.renderProductCardSlots(), this.renderVprIconSlot())))));
|
|
4220
|
+
: undefined, oneClickDiscoveryMode: this.oneClickDiscoveryMode, addToBasketShow: this.addToBasketShow, favoriteShow: this.favoriteShow, campaigns: this.oneClickDiscoveryCampaigns, showInWidget: this.showInWidget, uiSessionId: this.uiSessionId, onVviinnVprButtonActivated: () => oneClickDiscoveryHandler(i) }, this.renderProductCardSlots(), this.renderVprIconSlot())))));
|
|
4218
4221
|
});
|
|
4219
4222
|
}
|
|
4220
4223
|
render() {
|
|
4221
4224
|
var _a;
|
|
4222
4225
|
const resultsLength = this.getResults().length;
|
|
4223
|
-
return (index.h(index.Host, { key: '
|
|
4226
|
+
return (index.h(index.Host, { key: 'fd14487cd97a8349ae4102a24347b451489a45b0', id: "results-block", class: {
|
|
4224
4227
|
"show-in-widget": this.showInWidget,
|
|
4225
4228
|
"matching-discovery": this.oneClickDiscoveryMode === "append-slider",
|
|
4226
|
-
}, exportparts: `${index$4.productCardParts}, ${index$4.productCardsGridPart}` }, index.h("div", { key: '
|
|
4229
|
+
}, exportparts: `${index$4.productCardParts}, ${index$4.productCardsGridPart}` }, index.h("div", { key: 'f548889f86add0af7283be6ff793d4c4a75e054b', class: "nothing-found" }, this.getCurrentErrorType() && (index.h("vviinn-error", { key: '7f93887aef9bcea9b8dc5f3737dd5ec441ccdb61', errorType: this.getCurrentErrorType(), handler: () => this === null || this === void 0 ? void 0 : this.resetWidgetState(), hasBackground: this.showInWidget, searchType: this.state.searchType }))), index.h("div", { key: '2a50de94de3017bef4c6d2792984bda1854f1d36', class: {
|
|
4227
4230
|
hidden: this.showAspectRatioError || resultsLength === 0,
|
|
4228
4231
|
products: true,
|
|
4229
|
-
}, part: index$4.productCardsGridPart, id: "vviinn-results-products" }, resultsLength > 0 && this.renderResults(), index.h("div", { key: '
|
|
4232
|
+
}, part: index$4.productCardsGridPart, id: "vviinn-results-products" }, resultsLength > 0 && this.renderResults(), index.h("div", { key: 'e138010fd61941fa1328d9dc417645a8bfc10013', id: "one-click-discovery-append", style: {
|
|
4230
4233
|
order: ((_a = this.oneClickDiscoveryAppendIndex) !== null && _a !== void 0 ? _a : resultsLength).toString(),
|
|
4231
4234
|
} }))));
|
|
4232
4235
|
}
|
|
@@ -4245,7 +4248,7 @@ const VviinnSlide = class {
|
|
|
4245
4248
|
index.registerInstance(this, hostRef);
|
|
4246
4249
|
}
|
|
4247
4250
|
render() {
|
|
4248
|
-
return (index.h(index.Host, { key: '
|
|
4251
|
+
return (index.h(index.Host, { key: '07154c89ac4bed5fe3c181f0fee772a9ac3956e4' }, index.h("slot", { key: '0a6d860bc90bdbd2a70770fbe42b6b7a1f30e9f5' })));
|
|
4249
4252
|
}
|
|
4250
4253
|
};
|
|
4251
4254
|
VviinnSlide.style = vviinnSlideCss;
|
|
@@ -4280,14 +4283,17 @@ const VviinnSlider = class {
|
|
|
4280
4283
|
}
|
|
4281
4284
|
setActiveCssClassToSlide(index) {
|
|
4282
4285
|
const items = this.el.querySelectorAll("vviinn-slide");
|
|
4283
|
-
items.forEach((i) =>
|
|
4286
|
+
items.forEach((item, i) => {
|
|
4287
|
+
item.classList.remove("active");
|
|
4288
|
+
index$3.setElementInteractivity(item, i === index);
|
|
4289
|
+
});
|
|
4284
4290
|
items[index].classList.add("active");
|
|
4285
4291
|
}
|
|
4286
4292
|
calculatePosition(position) {
|
|
4287
4293
|
return this.isRTL ? position * -1 : position;
|
|
4288
4294
|
}
|
|
4289
4295
|
render() {
|
|
4290
|
-
return (index.h(index.Host, { key: '
|
|
4296
|
+
return (index.h(index.Host, { key: 'abea656ff56561d842ee5aef057fe63b6900e46c' }, index.h("div", { key: '05910c2d04d1a01fc553c383637d31cadee612b5', class: "items-wrapper" }, index.h("div", { key: '31a5f3ab8f31071666d7e4d38dc1ddd9a0cc56fa', class: "items" }, index.h("slot", { key: '099cae82d825f971fea41c5ceb650eed104bc5b6' })))));
|
|
4291
4297
|
}
|
|
4292
4298
|
get el() { return index.getElement(this); }
|
|
4293
4299
|
static get watchers() { return {
|
|
@@ -4306,7 +4312,7 @@ const VviinnTeaser = class {
|
|
|
4306
4312
|
customizedSlots.slotChangeListener(this, this.el);
|
|
4307
4313
|
}
|
|
4308
4314
|
render() {
|
|
4309
|
-
return (index.h(index.Host, { key: '
|
|
4315
|
+
return (index.h(index.Host, { key: '6b7cfc4a688751da1cb54ff62cb7eed8bce66e53' }, index.h("slot", { key: 'bd385257efe6824c833c1c70c0c3a4b857ce4d7b' }, index.h("span", { key: '5abf0a6cb2f4a921b8260057b56f7c9c4cc51a68', class: "vviinn-teaser-text" }, index.h("slot", { key: 'ddc4e060876d737cb88f47020b75af2774448899', name: "vviinn-teaser-text" }, i18next.instance.t("teaserText"))))));
|
|
4310
4316
|
}
|
|
4311
4317
|
get el() { return index.getElement(this); }
|
|
4312
4318
|
};
|
|
@@ -4707,27 +4713,27 @@ const VviinnVpsWidget = class {
|
|
|
4707
4713
|
}
|
|
4708
4714
|
render() {
|
|
4709
4715
|
var _a, _b, _c, _d;
|
|
4710
|
-
return (index.h(index.Host, { key: '
|
|
4716
|
+
return (index.h(index.Host, { key: '79771f9524747184795c2989c9d038a37c23cbbf', exportparts: `${index$4.modalParts}, ${index$4.productCardParts}, ${index$4.searchBarParts}, ${index$4.searchWidgetFilterParts}, ${index$4.searchWidgetButtonParts}, ${index$4.productCardsGridPart}` }, !this.showingInButton && customizedSlots.SlotSkeleton("search"), index.h("vviinn-overlayed-modal", { key: '9a9fb7aee2a10c3bb8b9419ee7c487524e9568a4', class: { "first-screen": this.isOnboardingSlide() }, isFirstScreen: this.isOnboardingSlide(), active: this.active, resetState: this.resetState, onVviinnWidgetClose: ({ detail }) => {
|
|
4711
4717
|
if (detail.campaignTypeId !== "VPR")
|
|
4712
4718
|
this.handleModalClose();
|
|
4713
4719
|
}, buttonElementId: (_a = this.buttonElementId) !== null && _a !== void 0 ? _a : this.widgetElementId, widgetVersion: _package.version, hideBackButton: (this.mode === "upload" && this.showingInButton) ||
|
|
4714
|
-
(!this.isCameraEnabled && this.isOnboardingSlide()), exportparts: index$4.modalParts }, index.h("vviinn-slider", { key: '
|
|
4720
|
+
(!this.isCameraEnabled && this.isOnboardingSlide()), exportparts: index$4.modalParts }, index.h("vviinn-slider", { key: '0e78ef53c214874718653ef098fc9e7ed2047144', position: this.slidePosition }, index.h("vviinn-slide", { key: 'c3e3e194d933f9e0a9b1fc1be6120c49ec6c8093', class: {
|
|
4715
4721
|
"start-page": true,
|
|
4716
4722
|
"camera-enabled": this.isCameraEnabled,
|
|
4717
|
-
} }, index.h("vviinn-camera", { key: '
|
|
4723
|
+
} }, index.h("vviinn-camera", { key: 'ed40938ccd9b9897b52d9698d8f8344228d45966', onVviinnImageUploadFinished: this.handleVviinnImageUploadFinished, onVviinnImageUploadStarted: () => {
|
|
4718
4724
|
this.handleVviinnImageUpload("startCamera");
|
|
4719
|
-
}, basicEventData: this.getBasicEventData(), srcObject: this.stream, cameraButtonClicked: this.isCameraButtonClicked, exampleImageSource: this.exampleImageSource, showInWidget: this.showInWidget, storeName: this.storeName, state: this.state }), index.h("div", { key: '
|
|
4725
|
+
}, basicEventData: this.getBasicEventData(), srcObject: this.stream, cameraButtonClicked: this.isCameraButtonClicked, exampleImageSource: this.exampleImageSource, showInWidget: this.showInWidget, storeName: this.storeName, state: this.state }), index.h("div", { key: '1ca81e37de846c6a72174c6cc1dca38f597728e6', class: {
|
|
4720
4726
|
error: this.haveErrors(),
|
|
4721
|
-
}, id: "start-page_block" }, index.h("div", { key: '
|
|
4722
|
-
this.state.searchStatus === "error") && (index.h("div", { key: '
|
|
4727
|
+
}, id: "start-page_block" }, index.h("div", { key: 'faf1372820e1292efe5f1767c6053d0e7ac64aa2', class: "start-page_main-content" }, (this.wrongImageFormat ||
|
|
4728
|
+
this.state.searchStatus === "error") && (index.h("div", { key: 'dc9d7a9354ee86db5021d11fb306f56c9c200013', class: "start-page_errors-block" }, this.getCurrentErrorType() && (index.h("vviinn-error", { key: '3f0ab086c0a12f11f386aeae32c95bba254b4ab5', errorType: this.getCurrentErrorType(), handler: this.resetState, hasBackground: this.showInWidget, searchType: this.state.searchType })))), !this.haveErrors() && (index.h(index.Fragment, { key: 'ff6c378aa4f62cb486618ffe05122edb3bb8c8b1' }, index.h("vviinn-teaser", { key: '90b783339818d5fba12989dead47848970dbc43d' }), index.h("div", { key: '71ca38b8664d83715697584d5c92dd8c3feab5bc', class: "buttons-group" }, this.renderButtons()), this.textSearchShow && (index.h("vviinn-text-search", { key: 'eb4f3d351ac16e5fa0659b13bc9fef17ebf1cc36', token: store.globalState.token, apiPath: store.globalState.apiPath, locale: store.globalState.locale, showInWidget: true, showOnFirstScreen: true, uiSessionId: this.uiSessionId, basicEventData: this.getBasicEventData(true), "save-image-mode": "never" }))))), index.h("vviinn-privacy-badge", { key: '758bc643ab647638de3d616ad6ecb933251bb4dd', privacyBadgeText: i18next.instance.t("privacyBadgeText", {
|
|
4723
4729
|
interpolation: { escapeValue: false },
|
|
4724
|
-
}), class: { invisible: this.haveErrors() } }))), index.h("vviinn-slide", { key: '
|
|
4730
|
+
}), class: { invisible: this.haveErrors() } }))), index.h("vviinn-slide", { key: '80ccafa2ae5bc366cf5e59c86608877d97191548', class: {
|
|
4725
4731
|
"results-page": true,
|
|
4726
4732
|
active: this.isResultSlide(),
|
|
4727
|
-
} }, this.isResultSlide() && (index.h("div", { key: '
|
|
4733
|
+
} }, this.isResultSlide() && (index.h("div", { key: 'def1cc804cd97fcff308927e454ab56a15cbab76', class: "source-wrapper" }, this.isTextSearch() ? (index.h("vviinn-text-search", { token: this.token, showInWidget: true, apiPath: this.apiPath, locale: this.locale, uiSessionId: this.uiSessionId, basicEventData: this.getBasicEventData(true), "save-image-mode": "never" })) : (index.h("vviinn-cropper", { basicEventData: this.getBasicEventData(), showAspectRatioError: this.showAspectRatioError, apiPath: this.apiPath, showInWidget: true, "save-image-mode": "never" })), ((_b = this.state.dynamicFilters) === null || _b === void 0 ? void 0 : _b.length) > 0 && (index.h("div", { key: 'a512841c9eb955029c4e5867a290065427f6e785', class: {
|
|
4728
4734
|
"filters-wrapper": true,
|
|
4729
4735
|
hidden: this.showAspectRatioError,
|
|
4730
|
-
} }, index.h("vviinn-filters", { key: '
|
|
4736
|
+
} }, index.h("vviinn-filters", { key: '97c97750ff0358db8c9bb32c221d6da43d987e93', class: "preview-filters", showInWidget: true, exportparts: index$4.filtersParts }), index.h("vviinn-extended-filters", { key: 'fbf22d03d51f328515d557e3890f6ae3aeb7f28b', class: "preview-extended-filters", mode: "preview", showHeader: false, exportparts: index$4.extendedFiltersParts, showInWidget: true }), index.h("vviinn-extended-filters-button", { key: '0813fa11c30d6a3896fd198edd64b9f6d20c47aa', class: "extended-filters-button", exportparts: "extended-filters-button", showInWidget: true }))))), this.isResultSlide() && (index.h("vviinn-results", { key: 'd1904e336b612164ee587da5a57f36db09fdbddf', token: store.globalState.token, locale: store.globalState.locale, pricePrefix: store.globalState.pricePrefix, "currency-sign": store.globalState.currencySign, apiPath: store.globalState.apiPath, campaignIdTextSearch: this.campaignIdTextSearch, campaignIdVisualSearch: this.campaignIdVisualSearch, uiSessionId: this.uiSessionId, widgetElementId: (_c = this.buttonElementId) !== null && _c !== void 0 ? _c : this.widgetElementId, showInWidget: true, buttonElementId: this.buttonElementId, imageResolutionWidth: this.imageResolutionWidth, productDetailsNewTab: this.productDetailsNewTab, productDetailsRedirect: this.productDetailsRedirect, addToBasketShow: this.addToBasketShow, favoriteShow: this.favoriteShow, showAspectRatioError: this.showAspectRatioError, resetWidgetState: this.resetState, replaceSlotsContentInWidget: this.replaceSlotsContent.bind(this), replaceSlotsContentInButton: this.replaceSlotsContentInButton, addPriceContainer: this.addPriceContainer, oneClickDiscoveryMode: (_d = this.oneClickDiscoveryMode) !== null && _d !== void 0 ? _d : (this.oneClickDiscoveryShow ? "append-grid" : undefined), oneClickDiscoveryCampaigns: this.oneClickDiscoveryCampaigns, parentSlots: [...this.parentSlots, ...this.slots], scrollableModalBody: this.modalBody })))), index.h("vviinn-extended-filters", { key: 'cf7c072a2d424a821d461a027a00028c13c260a8', class: "modal-extended-filters", mode: "modal", exportparts: index$4.extendedFiltersParts, showInWidget: true }))));
|
|
4731
4737
|
}
|
|
4732
4738
|
get el() { return index.getElement(this); }
|
|
4733
4739
|
static get watchers() { return {
|