vviinn-widgets 2.20.31 → 2.22.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.
Files changed (98) hide show
  1. package/dist/cjs/highlight-box_22.cjs.entry.js +13 -4
  2. package/dist/cjs/{imageSearch.store-967326bd.js → imageSearch.store-cc9b4a68.js} +3 -1
  3. package/dist/cjs/{index-d33baba2.js → index-0659dc39.js} +162 -42
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{package-e7ce52a3.js → package-ed8d3d75.js} +1 -1
  6. package/dist/cjs/vviinn-carousel_3.cjs.entry.js +56 -20
  7. package/dist/cjs/vviinn-preloader.cjs.entry.js +1 -1
  8. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +1 -1
  9. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +4 -2
  10. package/dist/cjs/vviinn-vps-button.cjs.entry.js +4 -2
  11. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +43 -16
  12. package/dist/cjs/vviinn-widgets.cjs.js +1 -1
  13. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +1 -4
  14. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +20 -1
  15. package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +18 -0
  16. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +21 -2
  17. package/dist/collection/components/vviinn-modal/vviinn-modal.js +22 -1
  18. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +4 -4
  19. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +58 -18
  20. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +98 -24
  21. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +59 -19
  22. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +98 -27
  23. package/dist/collection/store/imageSearch.store.js +3 -1
  24. package/dist/collection/tracking/filter.js +2 -2
  25. package/dist/collection/tracking/index.js +5 -2
  26. package/dist/collection/tracking/models.js +4 -4
  27. package/dist/collection/tracking/product.js +9 -1
  28. package/dist/collection/tracking/search.js +2 -2
  29. package/dist/collection/tracking/widget.js +8 -4
  30. package/dist/esm/highlight-box_22.entry.js +13 -4
  31. package/dist/esm/{imageSearch.store-7c025e20.js → imageSearch.store-ecbf6beb.js} +3 -1
  32. package/dist/esm/{index-b6bd61ae.js → index-3b3211a8.js} +160 -43
  33. package/dist/esm/loader.js +1 -1
  34. package/dist/esm/package-f7dbfcbb.js +3 -0
  35. package/dist/esm/vviinn-carousel_3.entry.js +56 -20
  36. package/dist/esm/vviinn-preloader.entry.js +1 -1
  37. package/dist/esm/vviinn-recommendations-sidebar.entry.js +1 -1
  38. package/dist/esm/vviinn-vpr-button.entry.js +4 -2
  39. package/dist/esm/vviinn-vps-button.entry.js +4 -2
  40. package/dist/esm/vviinn-vps-widget.entry.js +43 -16
  41. package/dist/esm/vviinn-widgets.js +1 -1
  42. package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +0 -1
  43. package/dist/types/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.d.ts +2 -0
  44. package/dist/types/components/vviinn-example-images/vviinn-example-images.d.ts +2 -0
  45. package/dist/types/components/vviinn-image-selector/vviinn-image-selector.d.ts +2 -1
  46. package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +2 -0
  47. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +2 -2
  48. package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +6 -2
  49. package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +9 -4
  50. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +7 -3
  51. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +15 -6
  52. package/dist/types/components.d.ts +41 -11
  53. package/dist/types/tracking/index.d.ts +3 -0
  54. package/dist/types/tracking/models.d.ts +4 -4
  55. package/dist/types/tracking/product.d.ts +3 -1
  56. package/dist/types/tracking/widget.d.ts +2 -1
  57. package/dist/vviinn-widgets/p-07f9596f.entry.js +1 -0
  58. package/dist/vviinn-widgets/p-29cafef6.entry.js +1 -0
  59. package/dist/vviinn-widgets/p-6a9c61fb.entry.js +1 -0
  60. package/dist/vviinn-widgets/p-758d5fcd.entry.js +1 -0
  61. package/dist/vviinn-widgets/{p-93f05c97.entry.js → p-a37be09b.entry.js} +1 -1
  62. package/dist/vviinn-widgets/p-afcccf0d.entry.js +1 -0
  63. package/dist/vviinn-widgets/p-b2deb9ee.entry.js +1 -0
  64. package/dist/vviinn-widgets/{p-90e24b10.js → p-d41891f6.js} +1 -1
  65. package/dist/vviinn-widgets/p-d9ad4ed1.js +1 -0
  66. package/dist/vviinn-widgets/p-ff00ff4d.js +1 -0
  67. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  68. package/package.json +2 -2
  69. package/www/build/p-07f9596f.entry.js +1 -0
  70. package/www/build/p-29cafef6.entry.js +1 -0
  71. package/www/build/{p-c540865a.js → p-36566668.js} +3 -3
  72. package/www/build/p-6a9c61fb.entry.js +1 -0
  73. package/www/build/p-758d5fcd.entry.js +1 -0
  74. package/www/build/{p-93f05c97.entry.js → p-a37be09b.entry.js} +1 -1
  75. package/www/build/p-afcccf0d.entry.js +1 -0
  76. package/www/build/p-b2deb9ee.entry.js +1 -0
  77. package/www/build/{p-90e24b10.js → p-d41891f6.js} +1 -1
  78. package/www/build/p-d9ad4ed1.js +1 -0
  79. package/www/build/p-ff00ff4d.js +1 -0
  80. package/www/build/vviinn-widgets.esm.js +1 -1
  81. package/www/index.html +2 -2
  82. package/dist/esm/package-254623e5.js +0 -3
  83. package/dist/vviinn-widgets/p-3ac237a4.entry.js +0 -1
  84. package/dist/vviinn-widgets/p-5aee1771.entry.js +0 -1
  85. package/dist/vviinn-widgets/p-83c9b369.entry.js +0 -1
  86. package/dist/vviinn-widgets/p-c06f6765.entry.js +0 -1
  87. package/dist/vviinn-widgets/p-c8b070c2.js +0 -1
  88. package/dist/vviinn-widgets/p-eb1b3d5b.js +0 -1
  89. package/dist/vviinn-widgets/p-ec28c172.entry.js +0 -1
  90. package/dist/vviinn-widgets/p-fe922ba3.entry.js +0 -1
  91. package/www/build/p-3ac237a4.entry.js +0 -1
  92. package/www/build/p-5aee1771.entry.js +0 -1
  93. package/www/build/p-83c9b369.entry.js +0 -1
  94. package/www/build/p-c06f6765.entry.js +0 -1
  95. package/www/build/p-c8b070c2.js +0 -1
  96. package/www/build/p-eb1b3d5b.js +0 -1
  97. package/www/build/p-ec28c172.entry.js +0 -1
  98. package/www/build/p-fe922ba3.entry.js +0 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a4becaff.js');
6
- const imageSearch_store = require('./imageSearch.store-967326bd.js');
6
+ const imageSearch_store = require('./imageSearch.store-cc9b4a68.js');
7
7
  const Handler = require('./Handler-de64afa5.js');
8
8
  const i18next = require('./i18next-74ff3413.js');
9
9
  const customizedSlots = require('./customized-slots-aee3f39d.js');
@@ -350,6 +350,7 @@ const VviinnExampleImage = class {
350
350
  index.registerInstance(this, hostRef);
351
351
  this.vviinnImageUpload = index.createEvent(this, "vviinnImageUpload", 7);
352
352
  this.vviinnNoResult = index.createEvent(this, "vviinnNoResult", 7);
353
+ this.vviinnImageUploadFinished = index.createEvent(this, "vviinnImageUploadFinished", 7);
353
354
  this.src = "";
354
355
  this.width = 0;
355
356
  this.height = 0;
@@ -358,9 +359,10 @@ const VviinnExampleImage = class {
358
359
  }
359
360
  async selectImage() {
360
361
  this.selected = true;
362
+ this.vviinnImageUpload.emit(this.basicEventData);
361
363
  const file = await imageSearch_store.toFile(this.src);
362
364
  const processResult = await imageSearch_store.processSelectedFile(file);
363
- imageSearch_store._function.pipe(processResult, imageSearch_store.Either.match(() => this.vviinnNoResult.emit(this.basicEventData), () => this.vviinnImageUpload.emit(this.basicEventData)));
365
+ imageSearch_store._function.pipe(processResult, imageSearch_store.Either.match(() => this.vviinnNoResult.emit(this.basicEventData), () => this.vviinnImageUploadFinished.emit()));
364
366
  this.selected = false;
365
367
  }
366
368
  handleKeyPress({ key }) {
@@ -386,6 +388,7 @@ const VviinnExampleImages = class {
386
388
  index.registerInstance(this, hostRef);
387
389
  this.vviinnImageUpload = index.createEvent(this, "vviinnImageUpload", 7);
388
390
  this.vviinnNoResult = index.createEvent(this, "vviinnNoResult", 7);
391
+ this.vviinnImageUploadFinished = index.createEvent(this, "vviinnImageUploadFinished", 7);
389
392
  this.basicEventData = undefined;
390
393
  this.exampleImagesTitle = undefined;
391
394
  }
@@ -411,14 +414,16 @@ const VviinnImageSelector = class {
411
414
  index.registerInstance(this, hostRef);
412
415
  this.vviinnImageUpload = index.createEvent(this, "vviinnImageUpload", 7);
413
416
  this.vviinnNoResult = index.createEvent(this, "vviinnNoResult", 7);
417
+ this.vviinnImageUploadFinished = index.createEvent(this, "vviinnImageUploadFinished", 7);
414
418
  this.basicEventData = undefined;
415
419
  this.startUpload = undefined;
416
420
  this.resetVpsButton = undefined;
417
421
  }
418
422
  async handleInputChange(event) {
423
+ this.vviinnImageUpload.emit(this.basicEventData);
419
424
  const input = event.target;
420
425
  const processingResult = await imageSearch_store.processSelectedFile(input.files[0]);
421
- imageSearch_store._function.pipe(processingResult, imageSearch_store.match$1(() => this.vviinnNoResult.emit(this.basicEventData), () => this.vviinnImageUpload.emit(this.basicEventData)));
426
+ imageSearch_store._function.pipe(processingResult, imageSearch_store.match$1(() => this.vviinnNoResult.emit(this.basicEventData), () => this.vviinnImageUploadFinished.emit()));
422
427
  input.value = null;
423
428
  }
424
429
  isLoading() {
@@ -493,6 +498,7 @@ const VviinnModal = class {
493
498
  constructor(hostRef) {
494
499
  index.registerInstance(this, hostRef);
495
500
  this.vviinnWidgetClose = index.createEvent(this, "vviinnWidgetClose", 7);
501
+ this.secondaryActionClicked = index.createEvent(this, "secondaryActionClicked", 7);
496
502
  this.active = false;
497
503
  this.resetState = undefined;
498
504
  this.buttonElementId = undefined;
@@ -527,7 +533,10 @@ const VviinnModal = class {
527
533
  }), imageSearch_store.Option.getOrElse(() => null));
528
534
  }
529
535
  render() {
530
- return (index.h(index.Host, { exportparts: "secondary-action, title, close-button", class: { closed: !this.active }, onAnimationEnd: (ev) => this.handleAnimationEnd(ev) }, index.h("div", { class: "head" }, !this.hideBackButton && (index.h("button", { part: "secondary-action", onClick: () => this.resetState() }, index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M20.25 12H3.75", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("path", { d: "M10.5 5.25L3.75 12L10.5 18.75", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("div", { class: "title", part: "title" }, this.renderImage(), index.h("slot", { name: "vviinn-image-search-modal-title" }, i18next.instance.t("imageSearchModalTitle"))), index.h("button", { onClick: () => this.close(), class: "close-button", part: "close-button" }, index.h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z", fill: "currentColor" })))), index.h("div", { class: "body" }, index.h("slot", null))));
536
+ return (index.h(index.Host, { exportparts: "secondary-action, title, close-button", class: { closed: !this.active }, onAnimationEnd: (ev) => this.handleAnimationEnd(ev) }, index.h("div", { class: "head" }, !this.hideBackButton && (index.h("button", { part: "secondary-action", onClick: () => {
537
+ this.resetState();
538
+ this.secondaryActionClicked.emit();
539
+ } }, index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M20.25 12H3.75", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("path", { d: "M10.5 5.25L3.75 12L10.5 18.75", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("div", { class: "title", part: "title" }, this.renderImage(), index.h("slot", { name: "vviinn-image-search-modal-title" }, i18next.instance.t("imageSearchModalTitle"))), index.h("button", { onClick: () => this.close(), class: "close-button", part: "close-button" }, index.h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z", fill: "currentColor" })))), index.h("div", { class: "body" }, index.h("slot", null))));
531
540
  }
532
541
  get el() { return index.getElement(this); }
533
542
  };
@@ -17121,8 +17121,10 @@ const uploadFile = (file) => {
17121
17121
  };
17122
17122
  const imageSearchState = state;
17123
17123
  onChange("activeIonLink", async (newLink) => {
17124
- state.loading = true;
17125
17124
  const link = newLink ? newLink : state.resetCategoryLink;
17125
+ if (!link)
17126
+ return;
17127
+ state.loading = true;
17126
17128
  await Handler.pipe(makeAuthorizedRequest(state.token), fromEither, chainW(linkRequest(link)), map(updateState), mapLeft((error) => {
17127
17129
  return {
17128
17130
  kind: "network error",
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const imageSearch_store = require('./imageSearch.store-967326bd.js');
3
+ const imageSearch_store = require('./imageSearch.store-cc9b4a68.js');
4
4
 
5
5
  // Unique ID creation requires a high quality random # generator. In the browser we therefore
6
6
  // require the crypto API and do not support built-in fallback to lower quality random number
@@ -1971,6 +1971,41 @@ exports.EventConfirmation = EventConfirmation;
1971
1971
  //# sourceMappingURL=EventConfirmation.js.map
1972
1972
  });
1973
1973
 
1974
+ var EventObject_1 = imageSearch_store.createCommonjsModule(function (module, exports) {
1975
+ Object.defineProperty(exports, "__esModule", { value: true });
1976
+ exports.EventObject = void 0;
1977
+ var EventObject = (function () {
1978
+ function EventObject() {
1979
+ }
1980
+ EventObject.getAttributeTypeMap = function () {
1981
+ return EventObject.attributeTypeMap;
1982
+ };
1983
+ EventObject.discriminator = undefined;
1984
+ EventObject.attributeTypeMap = [
1985
+ {
1986
+ "name": "typ",
1987
+ "baseName": "typ",
1988
+ "type": "EventType",
1989
+ "format": ""
1990
+ },
1991
+ {
1992
+ "name": "enabled",
1993
+ "baseName": "enabled",
1994
+ "type": "boolean",
1995
+ "format": ""
1996
+ }
1997
+ ];
1998
+ return EventObject;
1999
+ }());
2000
+ exports.EventObject = EventObject;
2001
+ //# sourceMappingURL=EventObject.js.map
2002
+ });
2003
+
2004
+ var EventType = imageSearch_store.createCommonjsModule(function (module, exports) {
2005
+ Object.defineProperty(exports, "__esModule", { value: true });
2006
+ //# sourceMappingURL=EventType.js.map
2007
+ });
2008
+
1974
2009
  var FilterAction = imageSearch_store.createCommonjsModule(function (module, exports) {
1975
2010
  Object.defineProperty(exports, "__esModule", { value: true });
1976
2011
  //# sourceMappingURL=FilterAction.js.map
@@ -2129,7 +2164,7 @@ exports.ProductClickEvent = ProductClickEvent;
2129
2164
  //# sourceMappingURL=ProductClickEvent.js.map
2130
2165
  });
2131
2166
 
2132
- var ProductViewEvent_1 = imageSearch_store.createCommonjsModule(function (module, exports) {
2167
+ var ProductLoadEvent_1 = imageSearch_store.createCommonjsModule(function (module, exports) {
2133
2168
  var __extends = (imageSearch_store.commonjsGlobal && imageSearch_store.commonjsGlobal.__extends) || (function () {
2134
2169
  var extendStatics = function (d, b) {
2135
2170
  extendStatics = Object.setPrototypeOf ||
@@ -2146,20 +2181,20 @@ var __extends = (imageSearch_store.commonjsGlobal && imageSearch_store.commonjsG
2146
2181
  };
2147
2182
  })();
2148
2183
  Object.defineProperty(exports, "__esModule", { value: true });
2149
- exports.ProductViewEvent = void 0;
2184
+ exports.ProductLoadEvent = void 0;
2150
2185
 
2151
- var ProductViewEvent = (function (_super) {
2152
- __extends(ProductViewEvent, _super);
2153
- function ProductViewEvent() {
2186
+ var ProductLoadEvent = (function (_super) {
2187
+ __extends(ProductLoadEvent, _super);
2188
+ function ProductLoadEvent() {
2154
2189
  var _this = _super.call(this) || this;
2155
- _this.typ = "ProductViewEvent";
2190
+ _this.typ = "ProductLoadEvent";
2156
2191
  return _this;
2157
2192
  }
2158
- ProductViewEvent.getAttributeTypeMap = function () {
2159
- return _super.getAttributeTypeMap.call(this).concat(ProductViewEvent.attributeTypeMap);
2193
+ ProductLoadEvent.getAttributeTypeMap = function () {
2194
+ return _super.getAttributeTypeMap.call(this).concat(ProductLoadEvent.attributeTypeMap);
2160
2195
  };
2161
- ProductViewEvent.discriminator = undefined;
2162
- ProductViewEvent.attributeTypeMap = [
2196
+ ProductLoadEvent.discriminator = undefined;
2197
+ ProductLoadEvent.attributeTypeMap = [
2163
2198
  {
2164
2199
  "name": "widget",
2165
2200
  "baseName": "widget",
@@ -2179,23 +2214,23 @@ var ProductViewEvent = (function (_super) {
2179
2214
  "format": ""
2180
2215
  }
2181
2216
  ];
2182
- return ProductViewEvent;
2217
+ return ProductLoadEvent;
2183
2218
  }(Event_1.Event));
2184
- exports.ProductViewEvent = ProductViewEvent;
2185
- //# sourceMappingURL=ProductViewEvent.js.map
2219
+ exports.ProductLoadEvent = ProductLoadEvent;
2220
+ //# sourceMappingURL=ProductLoadEvent.js.map
2186
2221
  });
2187
2222
 
2188
- var ProductViewEventAllOf_1 = imageSearch_store.createCommonjsModule(function (module, exports) {
2223
+ var ProductLoadEventAllOf_1 = imageSearch_store.createCommonjsModule(function (module, exports) {
2189
2224
  Object.defineProperty(exports, "__esModule", { value: true });
2190
- exports.ProductViewEventAllOf = void 0;
2191
- var ProductViewEventAllOf = (function () {
2192
- function ProductViewEventAllOf() {
2225
+ exports.ProductLoadEventAllOf = void 0;
2226
+ var ProductLoadEventAllOf = (function () {
2227
+ function ProductLoadEventAllOf() {
2193
2228
  }
2194
- ProductViewEventAllOf.getAttributeTypeMap = function () {
2195
- return ProductViewEventAllOf.attributeTypeMap;
2229
+ ProductLoadEventAllOf.getAttributeTypeMap = function () {
2230
+ return ProductLoadEventAllOf.attributeTypeMap;
2196
2231
  };
2197
- ProductViewEventAllOf.discriminator = undefined;
2198
- ProductViewEventAllOf.attributeTypeMap = [
2232
+ ProductLoadEventAllOf.discriminator = undefined;
2233
+ ProductLoadEventAllOf.attributeTypeMap = [
2199
2234
  {
2200
2235
  "name": "widget",
2201
2236
  "baseName": "widget",
@@ -2215,10 +2250,66 @@ var ProductViewEventAllOf = (function () {
2215
2250
  "format": ""
2216
2251
  }
2217
2252
  ];
2218
- return ProductViewEventAllOf;
2253
+ return ProductLoadEventAllOf;
2219
2254
  }());
2220
- exports.ProductViewEventAllOf = ProductViewEventAllOf;
2221
- //# sourceMappingURL=ProductViewEventAllOf.js.map
2255
+ exports.ProductLoadEventAllOf = ProductLoadEventAllOf;
2256
+ //# sourceMappingURL=ProductLoadEventAllOf.js.map
2257
+ });
2258
+
2259
+ var ProductViewEvent_1 = imageSearch_store.createCommonjsModule(function (module, exports) {
2260
+ var __extends = (imageSearch_store.commonjsGlobal && imageSearch_store.commonjsGlobal.__extends) || (function () {
2261
+ var extendStatics = function (d, b) {
2262
+ extendStatics = Object.setPrototypeOf ||
2263
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
2264
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
2265
+ return extendStatics(d, b);
2266
+ };
2267
+ return function (d, b) {
2268
+ if (typeof b !== "function" && b !== null)
2269
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
2270
+ extendStatics(d, b);
2271
+ function __() { this.constructor = d; }
2272
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2273
+ };
2274
+ })();
2275
+ Object.defineProperty(exports, "__esModule", { value: true });
2276
+ exports.ProductViewEvent = void 0;
2277
+
2278
+ var ProductViewEvent = (function (_super) {
2279
+ __extends(ProductViewEvent, _super);
2280
+ function ProductViewEvent() {
2281
+ var _this = _super.call(this) || this;
2282
+ _this.typ = "ProductViewEvent";
2283
+ return _this;
2284
+ }
2285
+ ProductViewEvent.getAttributeTypeMap = function () {
2286
+ return _super.getAttributeTypeMap.call(this).concat(ProductViewEvent.attributeTypeMap);
2287
+ };
2288
+ ProductViewEvent.discriminator = undefined;
2289
+ ProductViewEvent.attributeTypeMap = [
2290
+ {
2291
+ "name": "widget",
2292
+ "baseName": "widget",
2293
+ "type": "Widget",
2294
+ "format": ""
2295
+ },
2296
+ {
2297
+ "name": "product",
2298
+ "baseName": "product",
2299
+ "type": "string",
2300
+ "format": ""
2301
+ },
2302
+ {
2303
+ "name": "rank",
2304
+ "baseName": "rank",
2305
+ "type": "number",
2306
+ "format": ""
2307
+ }
2308
+ ];
2309
+ return ProductViewEvent;
2310
+ }(Event_1.Event));
2311
+ exports.ProductViewEvent = ProductViewEvent;
2312
+ //# sourceMappingURL=ProductViewEvent.js.map
2222
2313
  });
2223
2314
 
2224
2315
  var SearchArea = imageSearch_store.createCommonjsModule(function (module, exports) {
@@ -2433,13 +2524,16 @@ __exportStar(ErrorObject_1, exports);
2433
2524
  __exportStar(ErrorResponse_1, exports);
2434
2525
  __exportStar(Event_1, exports);
2435
2526
  __exportStar(EventConfirmation_1, exports);
2527
+ __exportStar(EventObject_1, exports);
2528
+ __exportStar(EventType, exports);
2436
2529
  __exportStar(FilterAction, exports);
2437
2530
  __exportStar(FilterEvent_1, exports);
2438
2531
  __exportStar(FilterEventAllOf_1, exports);
2439
2532
  __exportStar(FilterKind, exports);
2440
2533
  __exportStar(ProductClickEvent_1, exports);
2534
+ __exportStar(ProductLoadEvent_1, exports);
2535
+ __exportStar(ProductLoadEventAllOf_1, exports);
2441
2536
  __exportStar(ProductViewEvent_1, exports);
2442
- __exportStar(ProductViewEventAllOf_1, exports);
2443
2537
  __exportStar(SearchArea, exports);
2444
2538
  __exportStar(SearchEvent_1, exports);
2445
2539
  __exportStar(SearchEventAllOf_1, exports);
@@ -2632,13 +2726,16 @@ __exportStar(ErrorObject_1, exports);
2632
2726
  __exportStar(ErrorResponse_1, exports);
2633
2727
  __exportStar(Event_1, exports);
2634
2728
  __exportStar(EventConfirmation_1, exports);
2729
+ __exportStar(EventObject_1, exports);
2730
+ __exportStar(EventType, exports);
2635
2731
  __exportStar(FilterAction, exports);
2636
2732
  __exportStar(FilterEvent_1, exports);
2637
2733
  __exportStar(FilterEventAllOf_1, exports);
2638
2734
  __exportStar(FilterKind, exports);
2639
2735
  __exportStar(ProductClickEvent_1, exports);
2736
+ __exportStar(ProductLoadEvent_1, exports);
2737
+ __exportStar(ProductLoadEventAllOf_1, exports);
2640
2738
  __exportStar(ProductViewEvent_1, exports);
2641
- __exportStar(ProductViewEventAllOf_1, exports);
2642
2739
  __exportStar(SearchArea, exports);
2643
2740
  __exportStar(SearchEvent_1, exports);
2644
2741
  __exportStar(SearchEventAllOf_1, exports);
@@ -2651,11 +2748,13 @@ var ErrorObject_1$1 = ErrorObject_1;
2651
2748
  var ErrorResponse_1$1 = ErrorResponse_1;
2652
2749
  var Event_1$1 = Event_1;
2653
2750
  var EventConfirmation_1$1 = EventConfirmation_1;
2751
+ var EventObject_1$1 = EventObject_1;
2654
2752
  var FilterEvent_1$1 = FilterEvent_1;
2655
2753
  var FilterEventAllOf_1$1 = FilterEventAllOf_1;
2656
2754
  var ProductClickEvent_1$1 = ProductClickEvent_1;
2755
+ var ProductLoadEvent_1$1 = ProductLoadEvent_1;
2756
+ var ProductLoadEventAllOf_1$1 = ProductLoadEventAllOf_1;
2657
2757
  var ProductViewEvent_1$1 = ProductViewEvent_1;
2658
- var ProductViewEventAllOf_1$1 = ProductViewEventAllOf_1;
2659
2758
  var SearchEvent_1$1 = SearchEvent_1;
2660
2759
  var SearchEventAllOf_1$1 = SearchEventAllOf_1;
2661
2760
  var WidgetEvent_1$1 = WidgetEvent_1;
@@ -2677,6 +2776,7 @@ var supportedMediaTypes = {
2677
2776
  };
2678
2777
  var enumsMap = new Set([
2679
2778
  "EventConfirmationStatusEnum",
2779
+ "EventType",
2680
2780
  "FilterAction",
2681
2781
  "FilterKind",
2682
2782
  "SearchArea",
@@ -2689,11 +2789,13 @@ var typeMap = {
2689
2789
  "ErrorResponse": ErrorResponse_1$1.ErrorResponse,
2690
2790
  "Event": Event_1$1.Event,
2691
2791
  "EventConfirmation": EventConfirmation_1$1.EventConfirmation,
2792
+ "EventObject": EventObject_1$1.EventObject,
2692
2793
  "FilterEvent": FilterEvent_1$1.FilterEvent,
2693
2794
  "FilterEventAllOf": FilterEventAllOf_1$1.FilterEventAllOf,
2694
2795
  "ProductClickEvent": ProductClickEvent_1$1.ProductClickEvent,
2796
+ "ProductLoadEvent": ProductLoadEvent_1$1.ProductLoadEvent,
2797
+ "ProductLoadEventAllOf": ProductLoadEventAllOf_1$1.ProductLoadEventAllOf,
2695
2798
  "ProductViewEvent": ProductViewEvent_1$1.ProductViewEvent,
2696
- "ProductViewEventAllOf": ProductViewEventAllOf_1$1.ProductViewEventAllOf,
2697
2799
  "SearchEvent": SearchEvent_1$1.SearchEvent,
2698
2800
  "SearchEventAllOf": SearchEventAllOf_1$1.SearchEventAllOf,
2699
2801
  "WidgetEvent": WidgetEvent_1$1.WidgetEvent,
@@ -2963,7 +3065,7 @@ var DefaultApiRequestFactory = (function (_super) {
2963
3065
  function DefaultApiRequestFactory() {
2964
3066
  return _super !== null && _super.apply(this, arguments) || this;
2965
3067
  }
2966
- DefaultApiRequestFactory.prototype.trackEvent = function (product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
3068
+ DefaultApiRequestFactory.prototype.trackEvent = function (product_load_event___product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
2967
3069
  var _a, _b, _c;
2968
3070
  return __awaiter(this, void 0, void 0, function () {
2969
3071
  var _config, localVarPath, requestContext, contentType, serializedBody, authMethod, defaultAuth;
@@ -2978,7 +3080,7 @@ var DefaultApiRequestFactory = (function (_super) {
2978
3080
  "application/json"
2979
3081
  ]);
2980
3082
  requestContext.setHeaderParam("Content-Type", contentType);
2981
- serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(product_view_event___product_click_event___widget_event___filter_event___search_event, "ProductViewEvent | ProductClickEvent | WidgetEvent | FilterEvent | SearchEvent", ""), contentType);
3083
+ serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(product_load_event___product_view_event___product_click_event___widget_event___filter_event___search_event, "ProductLoadEvent | ProductViewEvent | ProductClickEvent | WidgetEvent | FilterEvent | SearchEvent", ""), contentType);
2982
3084
  requestContext.setBody(serializedBody);
2983
3085
  authMethod = _config.authMethods["bearerAuth"];
2984
3086
  if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
@@ -3064,9 +3166,9 @@ var ObservableDefaultApi = (function () {
3064
3166
  this.requestFactory = requestFactory || new DefaultApi.DefaultApiRequestFactory(configuration);
3065
3167
  this.responseProcessor = responseProcessor || new DefaultApi.DefaultApiResponseProcessor();
3066
3168
  }
3067
- ObservableDefaultApi.prototype.trackEvent = function (product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
3169
+ ObservableDefaultApi.prototype.trackEvent = function (product_load_event___product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
3068
3170
  var _this = this;
3069
- var requestContextPromise = this.requestFactory.trackEvent(product_view_event___product_click_event___widget_event___filter_event___search_event, _options);
3171
+ var requestContextPromise = this.requestFactory.trackEvent(product_load_event___product_view_event___product_click_event___widget_event___filter_event___search_event, _options);
3070
3172
  var middlewarePreObservable = (0, rxjsStub.from)(requestContextPromise);
3071
3173
  var _loop_1 = function (middleware) {
3072
3174
  middlewarePreObservable = middlewarePreObservable.pipe((0, rxjsStub_2.mergeMap)(function (ctx) { return middleware.pre(ctx); }));
@@ -3102,8 +3204,8 @@ var PromiseDefaultApi = (function () {
3102
3204
  function PromiseDefaultApi(configuration, requestFactory, responseProcessor) {
3103
3205
  this.api = new ObservableAPI.ObservableDefaultApi(configuration, requestFactory, responseProcessor);
3104
3206
  }
3105
- PromiseDefaultApi.prototype.trackEvent = function (product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
3106
- var result = this.api.trackEvent(product_view_event___product_click_event___widget_event___filter_event___search_event, _options);
3207
+ PromiseDefaultApi.prototype.trackEvent = function (product_load_event___product_view_event___product_click_event___widget_event___filter_event___search_event, _options) {
3208
+ var result = this.api.trackEvent(product_load_event___product_view_event___product_click_event___widget_event___filter_event___search_event, _options);
3107
3209
  return result.toPromise();
3108
3210
  };
3109
3211
  return PromiseDefaultApi;
@@ -3174,19 +3276,23 @@ const createTrackingEvent = (widget) => (eventData) => {
3174
3276
 
3175
3277
  const PRODUCT_CLICK_EVENT_TYPE = "product_click_event";
3176
3278
  const PRODUCT_VIEW_EVENT_TYPE = "product_view_event";
3177
- const FILTER_EVENT_EVENT_TYPE = "filter_event";
3178
- const SEARCH_EVENT_EVENT_TYPE = "search_event";
3179
- const WIDGET_EVENT_EVENT_TYPE = "widget_event";
3279
+ const FILTER_EVENT_TYPE = "filter_event";
3280
+ const SEARCH_EVENT_TYPE = "search_event";
3281
+ const WIDGET_EVENT_TYPE = "widget_event";
3180
3282
 
3181
3283
  const filterEvent = {
3182
3284
  widget: "VPS",
3183
- typ: FILTER_EVENT_EVENT_TYPE,
3285
+ typ: FILTER_EVENT_TYPE,
3184
3286
  };
3185
3287
 
3186
3288
  const vprProductView = {
3187
3289
  widget: "VPR",
3188
3290
  typ: PRODUCT_VIEW_EVENT_TYPE,
3189
3291
  };
3292
+ const vpcProductView = {
3293
+ widget: "VPC",
3294
+ typ: PRODUCT_VIEW_EVENT_TYPE,
3295
+ };
3190
3296
  const vpsProductView = {
3191
3297
  widget: "VPS",
3192
3298
  typ: PRODUCT_VIEW_EVENT_TYPE,
@@ -3195,6 +3301,10 @@ const vprProductClick = {
3195
3301
  widget: "VPR",
3196
3302
  typ: PRODUCT_CLICK_EVENT_TYPE,
3197
3303
  };
3304
+ const vpcProductClick = {
3305
+ widget: "VPC",
3306
+ typ: PRODUCT_CLICK_EVENT_TYPE,
3307
+ };
3198
3308
  const vpsProductClick = {
3199
3309
  widget: "VPS",
3200
3310
  typ: PRODUCT_CLICK_EVENT_TYPE,
@@ -3202,34 +3312,44 @@ const vpsProductClick = {
3202
3312
 
3203
3313
  const searchEvent = {
3204
3314
  widget: "VPS",
3205
- typ: SEARCH_EVENT_EVENT_TYPE,
3315
+ typ: SEARCH_EVENT_TYPE,
3206
3316
  };
3207
3317
 
3208
3318
  const vprWidget = {
3209
3319
  widget: "VPR",
3210
- typ: WIDGET_EVENT_EVENT_TYPE,
3320
+ typ: WIDGET_EVENT_TYPE,
3321
+ };
3322
+ const vpcWidget = {
3323
+ widget: "VPC",
3324
+ typ: WIDGET_EVENT_TYPE,
3211
3325
  };
3212
3326
  const vpsWidget = {
3213
3327
  widget: "VPS",
3214
- typ: WIDGET_EVENT_EVENT_TYPE,
3328
+ typ: WIDGET_EVENT_TYPE,
3215
3329
  };
3216
3330
 
3217
3331
  const createProductViewVprEvent = createTrackingEvent(vprProductView);
3218
3332
  const createProductViewVpsEvent = createTrackingEvent(vpsProductView);
3333
+ const createProductViewVpcEvent = createTrackingEvent(vpcProductView);
3219
3334
  const createProductClickVprEvent = createTrackingEvent(vprProductClick);
3220
3335
  const createProductClickVpsEvent = createTrackingEvent(vpsProductClick);
3336
+ const createProductClickVpcEvent = createTrackingEvent(vpcProductClick);
3221
3337
  const createWidgetVprEvent = createTrackingEvent(vprWidget);
3222
3338
  const createWidgetVpsEvent = createTrackingEvent(vpsWidget);
3339
+ const createWidgetVpcEvent = createTrackingEvent(vpcWidget);
3223
3340
  const createSearchEvent = createTrackingEvent(searchEvent);
3224
3341
  const createFilterEvent = createTrackingEvent(filterEvent);
3225
3342
 
3226
3343
  exports.createFilterEvent = createFilterEvent;
3344
+ exports.createProductClickVpcEvent = createProductClickVpcEvent;
3227
3345
  exports.createProductClickVprEvent = createProductClickVprEvent;
3228
3346
  exports.createProductClickVpsEvent = createProductClickVpsEvent;
3347
+ exports.createProductViewVpcEvent = createProductViewVpcEvent;
3229
3348
  exports.createProductViewVprEvent = createProductViewVprEvent;
3230
3349
  exports.createProductViewVpsEvent = createProductViewVpsEvent;
3231
3350
  exports.createSearchEvent = createSearchEvent;
3232
3351
  exports.createTrackingApi = createTrackingApi;
3352
+ exports.createWidgetVpcEvent = createWidgetVpcEvent;
3233
3353
  exports.createWidgetVprEvent = createWidgetVprEvent;
3234
3354
  exports.createWidgetVpsEvent = createWidgetVpsEvent;
3235
3355
  exports.v4 = v4;
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["vviinn-button.cjs",[[1,"vviinn-button",{"addStyle":[4,"add-style"]}]]],["cropper-handler.cjs",[[1,"cropper-handler",{"handler":[16],"disabled":[4]}]]],["vviinn-error.cjs",[[1,"vviinn-error"]]],["vviinn-preloader.cjs",[[1,"vviinn-preloader"]]],["vviinn-carousel_3.cjs",[[1,"vviinn-vpr-widget",{"blockTitle":[1,"block-title"],"imageRatio":[2,"image-ratio"],"imageWidth":[2,"image-width"],"productId":[1,"product-id"],"token":[1],"currencySign":[1,"currency-sign"],"pricePrefix":[1,"price-prefix"],"mode":[1],"campaignType":[1,"campaign-type"],"locale":[1],"campaigns":[1],"color":[1],"gridArrowsDynamic":[4,"grid-arrows-dynamic"],"noResultText":[1,"no-result-text"],"noResultShow":[4,"no-result-show"],"showScroll":[4,"show-scroll"],"cssUrl":[1,"css-url"],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"],"useCarousel":[4,"use-carousel"],"showingInButton":[4,"showing-in-button"],"buttonElementId":[1,"button-element-id"],"recommendations":[32],"trackingDeactivated":[32],"hasErrorOnLoad":[32]},[[0,"vviinnProductLoad","handleProductLoading"],[0,"vviinnProductView","trackProductView"],[0,"vviinnProductClick","trackProductClick"]]],[0,"vviinn-carousel",{"mode":[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":[16],"widgetVersion":[1,"widget-version"],"moveDirection":[32],"contentGroups":[32],"activeContentGroup":[32],"isRTL":[32]}],[1,"vviinn-product-card",{"brand":[1],"currency":[1],"deeplink":[1],"image":[1],"imageRatio":[2,"image-ratio"],"imageWidth":[2,"image-width"],"locale":[1],"price":[2],"pricePrefix":[1,"price-prefix"],"productId":[1,"product-id"],"productTitle":[1,"product-title"],"productType":[1,"product-type"],"salePrice":[2,"sale-price"],"responsive":[4],"dimmedBackground":[4,"dimmed-background"],"campaignTypeId":[1,"campaign-type-id"],"widgetElementId":[1,"widget-element-id"],"buttonElementId":[1,"button-element-id"],"widgetVersion":[1,"widget-version"],"index":[2],"imageLoaded":[32]}]]],["highlight-box_22.cjs",[[1,"vviinn-image-view",{"basicEventData":[16]}],[1,"vviinn-onboarding"],[1,"vviinn-example-images",{"basicEventData":[16],"exampleImagesTitle":[1,"example-images-title"]}],[1,"vviinn-overlayed-modal",{"active":[4],"resetState":[16],"buttonElementId":[1,"button-element-id"],"hideBackButton":[4,"hide-back-button"],"widgetVersion":[1,"widget-version"]}],[1,"vviinn-empty-results"],[1,"vviinn-image-selector",{"basicEventData":[16],"startUpload":[4,"start-upload"],"resetVpsButton":[16]}],[1,"vviinn-server-error",{"handler":[16]}],[1,"vviinn-wrong-format",{"handler":[16]}],[1,"search-filters",{"filter":[16],"basicEventData":[16],"selectedFilter":[32],"hideFilters":[32]}],[1,"vviinn-privacy-badge",{"privacyBadgeText":[1,"privacy-badge-text"]}],[1,"vviinn-teaser"],[1,"image-cropper",{"disabled":[4],"basicEventData":[16],"handleMove":[32]}],[1,"vviinn-example-image",{"src":[1],"width":[2],"height":[2],"basicEventData":[16],"selected":[32]}],[1,"highlight-box"],[1,"vviinn-detected-object",{"detectedObject":[16],"basicEventData":[16],"position":[32]}],[1,"vviinn-modal",{"active":[1540],"resetState":[16],"buttonElementId":[1,"button-element-id"],"widgetVersion":[1,"widget-version"],"hideBackButton":[4,"hide-back-button"],"slider":[32]}],[1,"vviinn-onboarding-card-1",{"cardTitle":[1,"card-title"],"cardText":[1,"card-text"]}],[1,"vviinn-onboarding-card-2",{"cardTitle":[1,"card-title"],"cardText":[1,"card-text"]}],[1,"vviinn-onboarding-card-3",{"cardTitle":[1,"card-title"],"cardText":[1,"card-text"]}],[1,"vviinn-overlay"],[1,"vviinn-slide"],[1,"vviinn-slider",{"showBullets":[4,"show-bullets"],"position":[514],"showArrows":[4,"show-arrows"],"elementsCount":[32],"internalPosition":[32],"swipeStartPosition":[32],"isRTL":[32]}]]],["vviinn-vps-widget.cjs",[[1,"vviinn-vps-widget",{"token":[1],"active":[1028],"currencySign":[1,"currency-sign"],"locale":[1],"campaignId":[1,"campaign-id"],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"],"showingInButton":[4,"showing-in-button"],"buttonElementId":[1,"button-element-id"],"buttonPressed":[4,"button-pressed"],"mode":[1],"resetVpsButton":[16],"slidePosition":[32],"width":[32],"wrongImageFormat":[32],"trackingDeactivated":[32]},[[0,"vviinnProductView","trackProductView"],[0,"vviinnProductClick","trackProductClick"],[0,"vviinnImageCrop","trachSearchAreaChanges"],[0,"vviinnSelectObject","trackDetectedObject"],[0,"vviinnSelectFilter","trackFilter"]]]]],["vviinn-vps-button.cjs",[[1,"vviinn-vps-button",{"token":[1],"currencySign":[1,"currency-sign"],"locale":[1],"campaignId":[1,"campaign-id"],"addStyle":[4,"add-style"],"mode":[1],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"],"buttonPressed":[32]},[[0,"vviinnWidgetClose","handleModalClosed"]]]]],["vviinn-recommendations-sidebar.cjs",[[1,"vviinn-recommendations-sidebar",{"sidebarTitle":[1,"sidebar-title"],"token":[1],"productId":[1,"product-id"],"position":[1],"sourceImage":[1,"source-image"],"widgetScrollbar":[4,"widget-scrollbar"],"mode":[1],"campaigns":[1],"campaignType":[1,"campaign-type"],"color":[1],"locale":[1],"imageWidth":[2,"image-width"],"currencySign":[1,"currency-sign"],"noResultText":[1,"no-result-text"],"noResultShow":[4,"no-result-show"],"gridArrowsDynamic":[4,"grid-arrows-dynamic"],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"],"buttonElementId":[1,"button-element-id"],"widgetVersion":[1,"widget-version"],"showingInButton":[4,"showing-in-button"],"state":[32]},[[16,"click","bodyClickListener"]]]]],["vviinn-vpr-button.cjs",[[1,"vviinn-vpr-button",{"token":[1],"productId":[1,"product-id"],"position":[1],"sourceImage":[1,"source-image"],"sidebarTitle":[1,"sidebar-title"],"modalScrollbar":[4,"modal-scrollbar"],"campaigns":[1],"campaignType":[1,"campaign-type"],"locale":[1],"color":[1],"addStyle":[4,"add-style"],"mode":[1],"imageWidth":[2,"image-width"],"currencySign":[1,"currency-sign"],"noResultText":[1,"no-result-text"],"noResultShow":[4,"no-result-show"],"gridArrowsDynamic":[4,"grid-arrows-dynamic"],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"]}]]]], options);
17
+ return index.bootstrapLazy([["vviinn-button.cjs",[[1,"vviinn-button",{"addStyle":[4,"add-style"]}]]],["cropper-handler.cjs",[[1,"cropper-handler",{"handler":[16],"disabled":[4]}]]],["vviinn-error.cjs",[[1,"vviinn-error"]]],["vviinn-preloader.cjs",[[1,"vviinn-preloader"]]],["vviinn-carousel_3.cjs",[[1,"vviinn-vpr-widget",{"blockTitle":[1,"block-title"],"imageRatio":[2,"image-ratio"],"imageWidth":[2,"image-width"],"productId":[1,"product-id"],"token":[1],"currencySign":[1,"currency-sign"],"pricePrefix":[1,"price-prefix"],"mode":[1],"campaignType":[1,"campaign-type"],"locale":[1],"campaigns":[1],"color":[1],"gridArrowsDynamic":[4,"grid-arrows-dynamic"],"noResultText":[1,"no-result-text"],"noResultShow":[4,"no-result-show"],"showScroll":[4,"show-scroll"],"cssUrl":[1,"css-url"],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"],"useCarousel":[4,"use-carousel"],"showingInButton":[4,"showing-in-button"],"buttonElementId":[1,"button-element-id"],"recommendations":[32],"trackingDeactivated":[32],"hasErrorOnLoad":[32]},[[0,"vviinnProductLoad","handleProductLoading"],[0,"vviinnProductView","trackProductView"],[0,"vviinnProductClick","trackProductClick"]]],[0,"vviinn-carousel",{"mode":[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":[16],"widgetVersion":[1,"widget-version"],"moveDirection":[32],"contentGroups":[32],"activeContentGroup":[32],"isRTL":[32]}],[1,"vviinn-product-card",{"brand":[1],"currency":[1],"deeplink":[1],"image":[1],"imageRatio":[2,"image-ratio"],"imageWidth":[2,"image-width"],"locale":[1],"price":[2],"pricePrefix":[1,"price-prefix"],"productId":[1,"product-id"],"productTitle":[1,"product-title"],"productType":[1,"product-type"],"salePrice":[2,"sale-price"],"responsive":[4],"dimmedBackground":[4,"dimmed-background"],"campaignTypeId":[1,"campaign-type-id"],"widgetElementId":[1,"widget-element-id"],"buttonElementId":[1,"button-element-id"],"widgetVersion":[1,"widget-version"],"index":[2],"imageLoaded":[32]}]]],["highlight-box_22.cjs",[[1,"vviinn-image-view",{"basicEventData":[16]}],[1,"vviinn-onboarding"],[1,"vviinn-example-images",{"basicEventData":[16],"exampleImagesTitle":[1,"example-images-title"]}],[1,"vviinn-overlayed-modal",{"active":[4],"resetState":[16],"buttonElementId":[1,"button-element-id"],"hideBackButton":[4,"hide-back-button"],"widgetVersion":[1,"widget-version"]}],[1,"vviinn-empty-results"],[1,"vviinn-image-selector",{"basicEventData":[16],"startUpload":[4,"start-upload"],"resetVpsButton":[16]}],[1,"vviinn-server-error",{"handler":[16]}],[1,"vviinn-wrong-format",{"handler":[16]}],[1,"search-filters",{"filter":[16],"basicEventData":[16],"selectedFilter":[32],"hideFilters":[32]}],[1,"vviinn-privacy-badge",{"privacyBadgeText":[1,"privacy-badge-text"]}],[1,"vviinn-teaser"],[1,"image-cropper",{"disabled":[4],"basicEventData":[16],"handleMove":[32]}],[1,"vviinn-example-image",{"src":[1],"width":[2],"height":[2],"basicEventData":[16],"selected":[32]}],[1,"highlight-box"],[1,"vviinn-detected-object",{"detectedObject":[16],"basicEventData":[16],"position":[32]}],[1,"vviinn-modal",{"active":[1540],"resetState":[16],"buttonElementId":[1,"button-element-id"],"widgetVersion":[1,"widget-version"],"hideBackButton":[4,"hide-back-button"],"slider":[32]}],[1,"vviinn-onboarding-card-1",{"cardTitle":[1,"card-title"],"cardText":[1,"card-text"]}],[1,"vviinn-onboarding-card-2",{"cardTitle":[1,"card-title"],"cardText":[1,"card-text"]}],[1,"vviinn-onboarding-card-3",{"cardTitle":[1,"card-title"],"cardText":[1,"card-text"]}],[1,"vviinn-overlay"],[1,"vviinn-slide"],[1,"vviinn-slider",{"showBullets":[4,"show-bullets"],"position":[514],"showArrows":[4,"show-arrows"],"elementsCount":[32],"internalPosition":[32],"swipeStartPosition":[32],"isRTL":[32]}]]],["vviinn-vps-widget.cjs",[[1,"vviinn-vps-widget",{"token":[1],"active":[1028],"currencySign":[1,"currency-sign"],"locale":[1],"campaignId":[1,"campaign-id"],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"],"showingInButton":[4,"showing-in-button"],"buttonElementId":[1,"button-element-id"],"buttonPressed":[4,"button-pressed"],"mode":[1],"resetVpsButton":[16],"slidePosition":[32],"width":[32],"wrongImageFormat":[32],"trackingDeactivated":[32]},[[0,"vviinnProductView","trackProductView"],[0,"vviinnProductClick","trackProductClick"],[0,"vviinnImageCrop","trachSearchAreaChanges"],[0,"vviinnSelectObject","trackDetectedObject"],[0,"vviinnSelectFilter","trackFilter"],[0,"secondaryActionClicked","trackSecondaryAction"]]]]],["vviinn-vps-button.cjs",[[1,"vviinn-vps-button",{"token":[1],"currencySign":[1,"currency-sign"],"locale":[1],"campaignId":[1,"campaign-id"],"addStyle":[4,"add-style"],"mode":[1],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"],"buttonPressed":[32]},[[0,"vviinnWidgetClose","handleModalClosed"]]]]],["vviinn-recommendations-sidebar.cjs",[[1,"vviinn-recommendations-sidebar",{"sidebarTitle":[1,"sidebar-title"],"token":[1],"productId":[1,"product-id"],"position":[1],"sourceImage":[1,"source-image"],"widgetScrollbar":[4,"widget-scrollbar"],"mode":[1],"campaigns":[1],"campaignType":[1,"campaign-type"],"color":[1],"locale":[1],"imageWidth":[2,"image-width"],"currencySign":[1,"currency-sign"],"noResultText":[1,"no-result-text"],"noResultShow":[4,"no-result-show"],"gridArrowsDynamic":[4,"grid-arrows-dynamic"],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"],"buttonElementId":[1,"button-element-id"],"widgetVersion":[1,"widget-version"],"showingInButton":[4,"showing-in-button"],"state":[32]},[[16,"click","bodyClickListener"]]]]],["vviinn-vpr-button.cjs",[[1,"vviinn-vpr-button",{"token":[1],"productId":[1,"product-id"],"position":[1],"sourceImage":[1,"source-image"],"sidebarTitle":[1,"sidebar-title"],"modalScrollbar":[4,"modal-scrollbar"],"campaigns":[1],"campaignType":[1,"campaign-type"],"locale":[1],"color":[1],"addStyle":[4,"add-style"],"mode":[1],"imageWidth":[2,"image-width"],"currencySign":[1,"currency-sign"],"noResultText":[1,"no-result-text"],"noResultShow":[4,"no-result-show"],"gridArrowsDynamic":[4,"grid-arrows-dynamic"],"excluded":[1],"productDetailNewTab":[4,"product-detail-new-tab"],"apiPath":[1,"api-path"]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const version = "2.20.31";
3
+ const version = "2.22.0";
4
4
 
5
5
  exports.version = version;