vviinn-widgets 2.193.0 → 2.194.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.
@@ -14,7 +14,7 @@ function fromString(s) {
14
14
  return s === "VPR" ? { _tag: "VPR" } : { _tag: "VCS" };
15
15
  }
16
16
 
17
- const version = "2.193.0";
17
+ const version = "2.194.0";
18
18
 
19
19
  exports.campaignTypeNames = campaignTypeNames;
20
20
  exports.fold = fold;
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-OrE9ITel.js');
4
4
  var i18next = require('./i18next-DkN_8H9H.js');
5
5
  var customizedSlots = require('./customized-slots-D9G-pOuM.js');
6
- var _package = require('./package-jZmL3xD9.js');
6
+ var _package = require('./package-Couet3Pl.js');
7
7
  var SecondaryActionIcon = require('./SecondaryActionIcon-BZg-ADIW.js');
8
8
  var index$1 = require('./index-MPGQcLB-.js');
9
9
  var search_store = require('./search.store-DzzR8sHn.js');
@@ -10,7 +10,7 @@ var i18next = require('./i18next-DkN_8H9H.js');
10
10
  var checkDeviceType = require('./checkDeviceType-iUhpuLlH.js');
11
11
  var store = require('./store-CrCuJC55.js');
12
12
  var index$3 = require('./index-tXcMfW9y.js');
13
- var _package = require('./package-jZmL3xD9.js');
13
+ var _package = require('./package-Couet3Pl.js');
14
14
  var resources = require('./resources-CVrgW45J.js');
15
15
  var index$4 = require('./index-MPGQcLB-.js');
16
16
  var constants = require('./constants-BlwqMvns.js');
@@ -4,7 +4,7 @@ var index = require('./index-OrE9ITel.js');
4
4
  var search_store = require('./search.store-DzzR8sHn.js');
5
5
  var Rectangle = require('./Rectangle-DVEulpFu.js');
6
6
  var i18next = require('./i18next-DkN_8H9H.js');
7
- var _package = require('./package-jZmL3xD9.js');
7
+ var _package = require('./package-Couet3Pl.js');
8
8
  var index$1 = require('./index-DDfB2zej.js');
9
9
  var constants = require('./constants-BlwqMvns.js');
10
10
  var customizedSlots = require('./customized-slots-D9G-pOuM.js');
@@ -12,6 +12,6 @@ function fromString(s) {
12
12
  return s === "VPR" ? { _tag: "VPR" } : { _tag: "VCS" };
13
13
  }
14
14
 
15
- const version = "2.193.0";
15
+ const version = "2.194.0";
16
16
 
17
17
  export { fold as a, campaignTypeNames as c, fromString as f, version as v };
@@ -1,7 +1,7 @@
1
1
  import { h, r as registerInstance, H as Host, c as createEvent, g as getElement, F as Fragment } from './index-C5qrIvmr.js';
2
2
  import { i as instance } from './i18next-C7V-mvcq.js';
3
3
  import { s as slotChangeListener } from './customized-slots-Dy-qVYWj.js';
4
- import { c as campaignTypeNames, v as version } from './package-bVYtfykQ.js';
4
+ import { c as campaignTypeNames, v as version } from './package-D5JedDmi.js';
5
5
  import { S as SecondaryActionIcon } from './SecondaryActionIcon-Co8n0aty.js';
6
6
  import { m as modalParts, c as carouselParts, p as productCardParts } from './index-DS-Ttevb.js';
7
7
  import { a as addIfNotEmpty, b as searchState, u as useSearchStore } from './search.store-Xb_yLlSl.js';
@@ -8,7 +8,7 @@ import { i as instance } from './i18next-C7V-mvcq.js';
8
8
  import { M as MIN_SEARCH_AREA_SIZE, S as SUPPORTED_ASPECT_RATIO, b as MIN_IMAGE_SIDE_FOR_CROPPER, C as Cropper, c as cropperOptions, g as getCropBoxData, i as isCropBoxChangeMinimal, D as DEFAULT_IMAGE_SIZE, d as checkDeviceType } from './checkDeviceType-BFZcnzQf.js';
9
9
  import { u as updateGlobalState, t as trackEvent, g as globalState } from './store-CMhsm-nf.js';
10
10
  import { a as addEventListenersWithSignal, f as findSlotElements, g as getSlotNames, s as setElementInteractivity } from './index-CckoTlaC.js';
11
- import { v as version, c as campaignTypeNames } from './package-bVYtfykQ.js';
11
+ import { v as version, c as campaignTypeNames } from './package-D5JedDmi.js';
12
12
  import { r as resources } from './resources-DtzdAZwG.js';
13
13
  import { a as productCardsGridPart, p as productCardParts, l as listCardParts, b as contentCardParts, d as suggestionsParts, m as modalParts, e as extendedFiltersParts, f as filtersParts, s as searchBarParts, g as searchWidgetFilterParts, h as searchWidgetButtonParts } from './index-DS-Ttevb.js';
14
14
  import { R as RESULTS_WIDGET_IMAGE_RESOLUTION_WIDTH, b as SCROLL_TO_DISCOVERY_DELAY, S as SEARCH_WIDGET_IMAGE_RESOLUTION_WIDTH } from './constants-rqiiCPBX.js';
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent, F as Fragment, H as Host, g
2
2
  import { a as addIfNotEmpty, _ as _ArrayExports, u as useSearchStore, b as searchState } from './search.store-Xb_yLlSl.js';
3
3
  import { W as has, X as tuple, _ as _functionExports, e as requireSemigroup, O as OptionExports, v as pipe$1, N as chainW, Y as makeRequest, L as fromEither, Z as getApiPath, $ as createInitPostRequest, a0 as Apply, a1 as TaskEitherExports, E as EitherExports } from './Rectangle-DGBESJrE.js';
4
4
  import { i as instance } from './i18next-C7V-mvcq.js';
5
- import { c as campaignTypeNames, f as fromString, a as fold, v as version } from './package-bVYtfykQ.js';
5
+ import { c as campaignTypeNames, f as fromString, a as fold, v as version } from './package-D5JedDmi.js';
6
6
  import { S as SET_MODE_IMAGE_WIDTH_CSS_VAR, C as CONTENT_GROUP_CSS_CLASS, i as CAROUSEL_IMAGE_WIDTH_CSS_VAR, j as CAROUSEL_CONTENT_WIDTH_CSS_VAR, R as RESULTS_CALCULATED_COLUMNS_CSS_VAR, D as DEFAULT_COLUMNS_NUMBER, g as getCustomLabels, k as SCROLL_POSITION_TOLERANCE, P as PlusIcon, v as v4, c as createWidgetEvent, e as createResultEventByType, b as createAddToBasketEvent, d as createAddToWishlistEvent, f as createProductEventByType, l as getRecommendationsBody } from './index-B4sPBNCP.js';
7
7
  import { P as PRODUCT_CARD_IMAGE_WIDTH, D as DISCOVERY_WIDGET_IMAGE_RESOLUTION_WIDTH, c as PRODUCT_CARD_IMAGE_RESOLUTION_WIDTH } from './constants-rqiiCPBX.js';
8
8
  import { s as slotChangeListener, S as SlotSkeleton } from './customized-slots-Dy-qVYWj.js';
@@ -8,14 +8,26 @@ const data = {
8
8
  textSearchQuery: "Chair",
9
9
  filterValue: "Möbel > Schränke & Regale",
10
10
  description: "company: 'vviinn', site: 'widgets.vviinn.com'",
11
+ shopTheLookImageUrls: [
12
+ "https://cdn.vviinn.com/assets/merchant/default/shop-the-look/home_01.jpg",
13
+ "https://cdn.vviinn.com/assets/merchant/default/shop-the-look/home_02.jpg",
14
+ "https://cdn.vviinn.com/assets/merchant/default/shop-the-look/home_03.jpg",
15
+ "https://cdn.vviinn.com/assets/merchant/default/shop-the-look/home_04.jpg",
16
+ ],
11
17
  },
12
18
  fashion: {
13
19
  token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOjIwNywianRpIjoiMmU0OTY3OTgtYzk3NC00ODQ3LTkyYWItOTBkMTEyZGY5MTY2Iiwic2NvcGVzIjpbInZwciIsInZwcyIsInZwYyJdfQ.bH8WQkR3jBuDZ92F3WObgcKplh14ODZeiBCf5JDOJfucU75u4XaZOQrmsOaw1ouZbO9cW40sKw9ZICaP4Soi00AHrWPBGjuzZ0Yx17vwGFUtHgK5Zi9DAhd3R3PcRnbo7UIvUtANTGcExd5TQnrA07DtV99KThoQEYB2I8R8HXv46j-Abo2kHovd6fGwYC6FYT1QpXEsVa8QNZtcrB0yU1rK6da8aR5Nh3zYECIUL0ysdhRmOQxR_3zBUVrXJYB15vvOH4TjAG6jSMcvaLwzmmTzH9_A9kVLsP27cFK5YYoAx7_w0eBMhQv3yEaHrVXuMXQe2gFjvCat441_DvZWyg",
14
- productIdSimilarProducts: "2588009-1",
15
- productIdCrossSelling: "4165669-1",
20
+ productIdSimilarProducts: "4078868-1",
21
+ productIdCrossSelling: "4017822-1",
16
22
  textSearchQuery: "taschen",
17
23
  filterValue: "Beauty > Düfte",
18
24
  description: "company: 'Vviinn Demo Company', site: 'Fashion Women 64K'",
25
+ shopTheLookImageUrls: [
26
+ "https://cdn.vviinn.com/assets/merchant/default/shop-the-look/fashion_01-1.jpg",
27
+ "https://cdn.vviinn.com/assets/merchant/default/shop-the-look/fashion_02.jpg",
28
+ "https://cdn.vviinn.com/assets/merchant/default/shop-the-look/fashion_03.jpg",
29
+ "https://cdn.vviinn.com/assets/merchant/default/shop-the-look/fashion_04.jpg",
30
+ ],
19
31
  },
20
32
  "manufacturer-spare-parts": {
21
33
  token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOjEyNCwianRpIjoiM2FhNmY4M2UtOWFhMC00MjI5LThlMTMtMWJlZGUxMjM5MTJmIiwic2NvcGVzIjpbInZwciIsInZwcyIsInZwYyJdfQ.ewubkDcxd1Griq-w31oPqGv-HjSGsGvw__Hj4DYXm-tIsr1DeqiYWRXQXMxLTc5aKSI_AIDLP8Xxx0UUMJwuUC9kMjO0HGtgczb96eCOy4aAYiCPdN5sRv2iJLxIKI6xUNkhBIJzY_O56Ido9y8senDyoVx01cZq3duHnd14g6OQty3nGtE2scl9cDAUwpQ9xOYhTiTV1nnJBBqNjqn9PQMf-UVBA0I3yOuQ826Ra_sMYRbKLOH5E6vkbvxvDMAZ3lVh_mDfmdtVCz58W-k04eNbiM1jfzEUOwPQMB1nBEMDZjHlWozi6fT-7yAYNls9qv6wvuw_ED1xaURSVeQooA",
@@ -24,6 +36,7 @@ const data = {
24
36
  textSearchQuery: "Schlitz",
25
37
  filterValue: "Essentra-DE-AT > Befestigungen > Stangen und Schrauben > Schrauben",
26
38
  },
39
+ shopTheLookImageUrls: [],
27
40
  };
28
41
  const selectedIndustry = data[vviinnIndustry] || data["home-living"];
29
42
  export const vviinnToken = selectedIndustry.token;
@@ -31,3 +44,4 @@ export const productIdSimilarProducts = selectedIndustry.productIdSimilarProduct
31
44
  export const productIdCrossSelling = selectedIndustry.productIdCrossSelling;
32
45
  export const textSearchQuery = selectedIndustry.textSearchQuery;
33
46
  export const filterValue = selectedIndustry.filterValue;
47
+ export const shopTheLookImageUrls = selectedIndustry.shopTheLookImageUrls;
@@ -4,3 +4,4 @@ export declare const productIdSimilarProducts: any;
4
4
  export declare const productIdCrossSelling: any;
5
5
  export declare const textSearchQuery: any;
6
6
  export declare const filterValue: any;
7
+ export declare const shopTheLookImageUrls: any;