vviinn-widgets 2.3.1 → 2.4.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 (222) hide show
  1. package/dist/cjs/{app-globals-6b5da080.js → app-globals-2bcc74df.js} +1 -1
  2. package/dist/cjs/cropper-handler.cjs.entry.js +1 -1
  3. package/dist/cjs/{customized-slots-8bc78ad4.js → customized-slots-4202eaf5.js} +1 -1
  4. package/dist/cjs/highlight-box_22.cjs.entry.js +20 -10
  5. package/dist/cjs/{imageSearch.store-042e9f45.js → imageSearch.store-cb2b2cc8.js} +14 -11
  6. package/dist/cjs/{index-5b9a60ac.js → index-44fc16ad.js} +1 -1
  7. package/dist/cjs/{index-553c2b4f.js → index-6771ae25.js} +1 -1
  8. package/dist/cjs/index-e9439500.js +3943 -0
  9. package/dist/cjs/loader.cjs.js +3 -3
  10. package/dist/cjs/vviinn-carousel_3.cjs.entry.js +51 -19
  11. package/dist/cjs/vviinn-error.cjs.entry.js +1 -1
  12. package/dist/cjs/vviinn-preloader.cjs.entry.js +2 -2
  13. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +2 -2
  14. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +2 -2
  15. package/dist/cjs/vviinn-vps-button.cjs.entry.js +3 -3
  16. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +74 -10
  17. package/dist/cjs/vviinn-widgets.cjs.js +3 -3
  18. package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.js +27 -7
  19. package/dist/collection/components/image-search/search-filters/search-filters.js +24 -1
  20. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +18 -1
  21. package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +57 -12
  22. package/dist/collection/components/vviinn-vpr-widget/stories/args.js +8 -8
  23. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +46 -9
  24. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-widget.css +5 -0
  25. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +108 -10
  26. package/dist/collection/network/utils.js +1 -1
  27. package/dist/collection/openApi/index.js +27 -0
  28. package/dist/collection/{components/vviinn-vpr-widget/GridMode.js → recommendation/events.js} +0 -0
  29. package/dist/collection/store/store.js +7 -9
  30. package/dist/collection/store/tracking.store.js +3 -0
  31. package/dist/collection/tracking/event.js +3 -0
  32. package/dist/collection/tracking/filter.js +5 -0
  33. package/dist/collection/tracking/index.js +13 -0
  34. package/dist/collection/tracking/models.js +6 -0
  35. package/dist/collection/tracking/product.js +18 -0
  36. package/dist/collection/tracking/search.js +5 -0
  37. package/dist/collection/tracking/widget.js +10 -0
  38. package/dist/esm/{app-globals-90d99f95.js → app-globals-550daa9b.js} +1 -1
  39. package/dist/esm/cropper-handler.entry.js +1 -1
  40. package/dist/esm/{customized-slots-65b2467d.js → customized-slots-80625933.js} +1 -1
  41. package/dist/esm/highlight-box_22.entry.js +20 -10
  42. package/dist/esm/{imageSearch.store-f35e14f8.js → imageSearch.store-1268786d.js} +12 -10
  43. package/dist/esm/{index-ac2e3b9d.js → index-1cf740a8.js} +1 -1
  44. package/dist/esm/{index-d7c7df1c.js → index-c09e56b6.js} +1 -1
  45. package/dist/esm/index-fa27f1df.js +3934 -0
  46. package/dist/esm/loader.js +3 -3
  47. package/dist/esm/vviinn-carousel_3.entry.js +51 -19
  48. package/dist/esm/vviinn-error.entry.js +1 -1
  49. package/dist/esm/vviinn-preloader.entry.js +2 -2
  50. package/dist/esm/vviinn-recommendations-sidebar.entry.js +2 -2
  51. package/dist/esm/vviinn-vpr-button.entry.js +2 -2
  52. package/dist/esm/vviinn-vps-button.entry.js +3 -3
  53. package/dist/esm/vviinn-vps-widget.entry.js +71 -7
  54. package/dist/esm/vviinn-widgets.js +3 -3
  55. package/dist/types/Image/error.d.ts +1 -0
  56. package/dist/types/Image/form.d.ts +1 -0
  57. package/dist/types/Image/fromFile.d.ts +1 -0
  58. package/dist/types/Image/imageToB64.d.ts +1 -0
  59. package/dist/types/Image/index.d.ts +1 -0
  60. package/dist/types/Image/renderPromise.d.ts +1 -0
  61. package/dist/types/Image/resizeImage.d.ts +1 -0
  62. package/dist/types/Image/sizing.d.ts +1 -0
  63. package/dist/types/Image/toFile.d.ts +1 -0
  64. package/dist/types/analytics/GAnalytics.d.ts +1 -0
  65. package/dist/types/analytics/GeneralAnalytics.d.ts +1 -0
  66. package/dist/types/analytics/GtagAnalytics.d.ts +1 -0
  67. package/dist/types/analytics/ProductAnalytics.d.ts +1 -0
  68. package/dist/types/campaign/Campaign.d.ts +1 -0
  69. package/dist/types/campaign/CampaignService.d.ts +1 -0
  70. package/dist/types/campaign/VCSCampaign.d.ts +1 -0
  71. package/dist/types/campaign/VCSCampaignResponse.d.ts +1 -0
  72. package/dist/types/campaign/VCSCampaignService.d.ts +1 -0
  73. package/dist/types/campaign/VPRCampaignResponse.d.ts +1 -0
  74. package/dist/types/campaign/VPRCampaignService.d.ts +1 -0
  75. package/dist/types/components/customized-slots.d.ts +1 -0
  76. package/dist/types/components/image-search/image-view/highlight-box/highlight-box.d.ts +1 -0
  77. package/dist/types/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.d.ts +1 -0
  78. package/dist/types/components/image-search/image-view/image-cropper/image-cropper.d.ts +4 -0
  79. package/dist/types/components/image-search/search-filters/search-filters.d.ts +4 -0
  80. package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +1 -0
  81. package/dist/types/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.d.ts +1 -0
  82. package/dist/types/components/vviinn-error/vviinn-error.d.ts +1 -0
  83. package/dist/types/components/vviinn-error/vviinn-server-error/vviinn-server-error.d.ts +1 -0
  84. package/dist/types/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.d.ts +1 -0
  85. package/dist/types/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.d.ts +1 -0
  86. package/dist/types/components/vviinn-example-images/vviinn-example-images.d.ts +1 -0
  87. package/dist/types/components/vviinn-icons/index.d.ts +1 -0
  88. package/dist/types/components/vviinn-image-selector/vviinn-image-selector.d.ts +1 -0
  89. package/dist/types/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.d.ts +3 -0
  90. package/dist/types/components/vviinn-image-view/vviinn-image-view.d.ts +1 -0
  91. package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +1 -0
  92. package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.d.ts +1 -0
  93. package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.d.ts +1 -0
  94. package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.d.ts +1 -0
  95. package/dist/types/components/vviinn-onboarding/vviinn-onboarding.d.ts +1 -0
  96. package/dist/types/components/vviinn-overlay/vviinn-overlay.d.ts +1 -0
  97. package/dist/types/components/vviinn-overlayed-modal/vviinn-overlayed-modal.d.ts +1 -0
  98. package/dist/types/components/vviinn-preloader/vviinn-preloader.d.ts +1 -0
  99. package/dist/types/components/vviinn-privacy-badge/vviinn-privacy-badge.d.ts +1 -0
  100. package/dist/types/components/vviinn-product-card/render-helpers.d.ts +1 -0
  101. package/dist/types/components/vviinn-product-card/stories/args.d.ts +1 -0
  102. package/dist/types/components/vviinn-product-card/stories/decorators.d.ts +1 -0
  103. package/dist/types/components/vviinn-product-card/stories/vviinn-product-card.stories.d.ts +1 -0
  104. package/dist/types/components/vviinn-product-card/vviinn-product-card.d.ts +9 -3
  105. package/dist/types/components/vviinn-slider/arrow.d.ts +1 -0
  106. package/dist/types/components/vviinn-slider/vviinn-slide/vviinn-slide.d.ts +1 -0
  107. package/dist/types/components/vviinn-slider/vviinn-slider.d.ts +1 -0
  108. package/dist/types/components/vviinn-teaser/vviinn-teaser.d.ts +1 -0
  109. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +1 -0
  110. package/dist/types/components/vviinn-vpr-button/stories/args.d.ts +1 -0
  111. package/dist/types/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.d.ts +1 -0
  112. package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +1 -0
  113. package/dist/types/components/vviinn-vpr-widget/stories/args.d.ts +1 -0
  114. package/dist/types/components/vviinn-vpr-widget/stories/decorators.d.ts +1 -0
  115. package/dist/types/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.d.ts +1 -0
  116. package/dist/types/components/vviinn-vpr-widget/token-helpers.d.ts +1 -0
  117. package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +9 -1
  118. package/dist/types/components/vviinn-vps-button/stories/vviinn-vps-button.stories.d.ts +1 -0
  119. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +1 -0
  120. package/dist/types/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.d.ts +1 -0
  121. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +14 -1
  122. package/dist/types/components.d.ts +10 -4
  123. package/dist/types/cropper/Cropper.d.ts +1 -0
  124. package/dist/types/cropper/Handler.d.ts +1 -0
  125. package/dist/types/dom/index.d.ts +1 -0
  126. package/dist/types/error.d.ts +1 -0
  127. package/dist/types/file/index.d.ts +1 -0
  128. package/dist/types/geometry/Clip.d.ts +1 -0
  129. package/dist/types/geometry/Point.d.ts +1 -0
  130. package/dist/types/geometry/Rectangle.d.ts +1 -0
  131. package/dist/types/geometry/RectangleAlt.d.ts +1 -0
  132. package/dist/types/geometry/Sized.d.ts +1 -0
  133. package/dist/types/global.d.ts +1 -0
  134. package/dist/types/index.d.ts +1 -0
  135. package/dist/types/interfaces/generated.d.ts +1 -0
  136. package/dist/types/interfaces/recommendation.d.ts +1 -0
  137. package/dist/types/network/apiClient.d.ts +1 -0
  138. package/dist/types/network/ion/File.d.ts +1 -0
  139. package/dist/types/network/ion/Form.d.ts +1 -0
  140. package/dist/types/network/ion/Link.d.ts +1 -0
  141. package/dist/types/network/ion/ValueObject.d.ts +1 -0
  142. package/dist/types/network/request.d.ts +1 -0
  143. package/dist/types/network/utils.d.ts +1 -0
  144. package/dist/types/openApi/index.d.ts +6 -0
  145. package/dist/types/recommendation/events.d.ts +6 -0
  146. package/dist/types/recommendation/recommendation.d.ts +1 -0
  147. package/dist/types/searchSession/searchSession.d.ts +1 -0
  148. package/dist/types/sentry.d.ts +1 -0
  149. package/dist/types/slider/GridMode.d.ts +1 -0
  150. package/dist/types/store/file-processing.d.ts +1 -0
  151. package/dist/types/store/imageSearch.store.d.ts +1 -0
  152. package/dist/types/store/store.d.ts +8 -6
  153. package/dist/types/store/tracking.store.d.ts +4 -0
  154. package/dist/types/stories/image-selector.stories.d.ts +1 -0
  155. package/dist/types/stories/image-view.stories.d.ts +1 -0
  156. package/dist/types/stories/modal.stories.d.ts +1 -0
  157. package/dist/types/stories/onboarding.stories.d.ts +1 -0
  158. package/dist/types/stories/overlay.stories.d.ts +1 -0
  159. package/dist/types/stories/overlayedModal.stories.d.ts +1 -0
  160. package/dist/types/stories/privacy-badge.stories.d.ts +1 -0
  161. package/dist/types/stories/slider.stories.d.ts +1 -0
  162. package/dist/types/stories/teaser.stories.d.ts +1 -0
  163. package/dist/types/stories/vps-widget.stories.d.ts +1 -0
  164. package/dist/types/stories/vviinn-product.stories.d.ts +1 -0
  165. package/dist/types/tracking/event.d.ts +4 -0
  166. package/dist/types/tracking/filter.d.ts +3 -0
  167. package/dist/types/tracking/index.d.ts +9 -0
  168. package/dist/types/tracking/models.d.ts +13 -0
  169. package/dist/types/tracking/product.d.ts +7 -0
  170. package/dist/types/tracking/search.d.ts +3 -0
  171. package/dist/types/tracking/widget.d.ts +5 -0
  172. package/dist/types/utils/collections/collectionsUtils.d.ts +1 -0
  173. package/dist/types/utils/either.d.ts +1 -0
  174. package/dist/types/utils/enum/enumUtils.d.ts +1 -0
  175. package/dist/types/utils/event/Events.d.ts +1 -0
  176. package/dist/types/utils/number/index.d.ts +1 -0
  177. package/dist/types/utils/option/option.d.ts +1 -0
  178. package/dist/types/utils/semigroup/semigroupDiff.d.ts +1 -0
  179. package/dist/types/utils/token/tokenUtils.d.ts +1 -0
  180. package/dist/vviinn-widgets/{p-e882fbeb.js → p-07125f64.js} +1 -1
  181. package/dist/vviinn-widgets/{p-935b4f49.entry.js → p-27ede517.entry.js} +1 -1
  182. package/dist/vviinn-widgets/{p-320844ea.entry.js → p-314e40b3.entry.js} +1 -1
  183. package/dist/vviinn-widgets/p-316abc01.js +1 -0
  184. package/dist/vviinn-widgets/{p-b0243e84.entry.js → p-4bdb3027.entry.js} +1 -1
  185. package/dist/vviinn-widgets/{p-4530ca32.entry.js → p-5535163a.entry.js} +1 -1
  186. package/dist/vviinn-widgets/{p-80f0d4e0.js → p-78b65f70.js} +1 -1
  187. package/dist/vviinn-widgets/{p-e362fa80.entry.js → p-86ae782f.entry.js} +1 -1
  188. package/dist/vviinn-widgets/p-89f2c19a.entry.js +1 -0
  189. package/dist/vviinn-widgets/{p-b4b46a70.js → p-8e25b838.js} +1 -1
  190. package/dist/vviinn-widgets/p-94aa8705.entry.js +1 -0
  191. package/dist/vviinn-widgets/{p-679ea2ce.js → p-97af45f0.js} +1 -1
  192. package/{www/build/p-55491d9b.js → dist/vviinn-widgets/p-c5e6ec4f.js} +1 -1
  193. package/dist/vviinn-widgets/{p-a5b69a48.entry.js → p-c63fb46b.entry.js} +1 -1
  194. package/{www/build/p-1c141479.entry.js → dist/vviinn-widgets/p-dd7cac6e.entry.js} +1 -1
  195. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  196. package/package.json +11 -3
  197. package/www/build/{p-e882fbeb.js → p-07125f64.js} +1 -1
  198. package/www/build/{p-935b4f49.entry.js → p-27ede517.entry.js} +1 -1
  199. package/www/build/{p-320844ea.entry.js → p-314e40b3.entry.js} +1 -1
  200. package/www/build/p-316abc01.js +1 -0
  201. package/www/build/{p-b0243e84.entry.js → p-4bdb3027.entry.js} +1 -1
  202. package/www/build/{p-4530ca32.entry.js → p-5535163a.entry.js} +1 -1
  203. package/www/build/{p-80f0d4e0.js → p-78b65f70.js} +1 -1
  204. package/www/build/{p-e362fa80.entry.js → p-86ae782f.entry.js} +1 -1
  205. package/www/build/p-89f2c19a.entry.js +1 -0
  206. package/www/build/{p-b4b46a70.js → p-8e25b838.js} +1 -1
  207. package/www/build/p-94aa8705.entry.js +1 -0
  208. package/www/build/p-961822d3.js +125 -0
  209. package/www/build/{p-679ea2ce.js → p-97af45f0.js} +1 -1
  210. package/{dist/vviinn-widgets/p-55491d9b.js → www/build/p-c5e6ec4f.js} +1 -1
  211. package/www/build/{p-a5b69a48.entry.js → p-c63fb46b.entry.js} +1 -1
  212. package/{dist/vviinn-widgets/p-1c141479.entry.js → www/build/p-dd7cac6e.entry.js} +1 -1
  213. package/www/build/p-e0153ae2.css +6 -0
  214. package/www/build/vviinn-widgets.esm.js +1 -1
  215. package/www/index.html +1 -107
  216. package/dist/types/components/vviinn-vpr-widget/GridMode.d.ts +0 -1
  217. package/dist/vviinn-widgets/p-6239a782.entry.js +0 -1
  218. package/dist/vviinn-widgets/p-757849fd.entry.js +0 -1
  219. package/www/build/p-4379b1c2.js +0 -1
  220. package/www/build/p-6239a782.entry.js +0 -1
  221. package/www/build/p-757849fd.entry.js +0 -1
  222. package/www/build/p-a67898be.css +0 -1
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-d7c7df1c.js';
2
- import { O as Option, h as sequenceToOption, i as imageSearchState, a as _function, t as transform, j as move, k as makeRectangularSearchRequest, l as fromAlt, n as foldValueObject, o as scaleWithSized, p as center, q as detectedObjectEq, r as toFile, u as processSelectedFile, E as Either, v as match, w as fromImage, x as dimensionsFromImage, y as scaleByLargestSide, N as NonEmptyArray } from './imageSearch.store-f35e14f8.js';
1
+ import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-c09e56b6.js';
2
+ import { O as Option, j as sequenceToOption, i as imageSearchState, a as _function, t as transform, k as move, l as makeRectangularSearchRequest, n as fromAlt, o as foldValueObject, p as scaleWithSized, q as center, r as detectedObjectEq, u as toFile, v as processSelectedFile, E as Either, w as match, x as fromImage, y as dimensionsFromImage, z as scaleByLargestSide, N as NonEmptyArray } from './imageSearch.store-1268786d.js';
3
3
  import { p as pipe, m as pointDiffSemigroup, o as fromMouseEvent } from './Handler-639a4cb3.js';
4
- import { c as CheckIcon, O as OnboardingCard1Icon, d as OnboardingCard2Icon, e as OnboardingCard3Icon, A as ArrowIcon } from './index-ac2e3b9d.js';
5
- import { s as slotChangeListener } from './customized-slots-65b2467d.js';
4
+ import { c as CheckIcon, O as OnboardingCard1Icon, d as OnboardingCard2Icon, e as OnboardingCard3Icon, A as ArrowIcon } from './index-1cf740a8.js';
5
+ import { s as slotChangeListener } from './customized-slots-80625933.js';
6
6
 
7
7
  // -------------------------------------------------------------------------------------
8
8
  // -------------------------------------------------------------------------------------
@@ -67,6 +67,7 @@ const MIN_SEARCHAREA_SIZE = 40;
67
67
  let ImageCropper = class {
68
68
  constructor(hostRef) {
69
69
  registerInstance(this, hostRef);
70
+ this.cropperChanged = createEvent(this, "cropperChanged", 7);
70
71
  this.disabled = false;
71
72
  this.handleMove = false;
72
73
  this.mouseStartPoint = undefined;
@@ -86,18 +87,21 @@ let ImageCropper = class {
86
87
  };
87
88
  _function.pipe(imageSearchState.searchArea, Option.map((area) => {
88
89
  const newSearchArea = transform(area, transformedHandler);
89
- if (newSearchArea.width < MIN_SEARCHAREA_SIZE ||
90
- newSearchArea.height < MIN_SEARCHAREA_SIZE ||
91
- newSearchArea.x < 0 ||
92
- newSearchArea.y < 0 ||
93
- this.bounds.height - (newSearchArea.y + newSearchArea.height) < 0 ||
94
- this.bounds.width - (newSearchArea.x + newSearchArea.width) < 0)
90
+ if (this.outOfBounds(newSearchArea))
95
91
  return;
96
92
  imageSearchState.searchArea = Option.some(newSearchArea);
97
93
  this.mouseStartPoint = destination;
98
94
  imageSearchState.detectedObject = undefined;
99
95
  }));
100
96
  }
97
+ outOfBounds(area) {
98
+ return (area.width < MIN_SEARCHAREA_SIZE ||
99
+ area.height < MIN_SEARCHAREA_SIZE ||
100
+ area.x < 0 ||
101
+ area.y < 0 ||
102
+ this.bounds.height - (area.y + area.height) < 0 ||
103
+ this.bounds.width - (area.x + area.width) < 0);
104
+ }
101
105
  handleCropperMove(ev) {
102
106
  ev.preventDefault();
103
107
  ev.stopPropagation();
@@ -138,6 +142,7 @@ let ImageCropper = class {
138
142
  document.removeEventListener("pointerup", this.pointerReleaseListener);
139
143
  this.mouseStartPoint = undefined;
140
144
  makeRectangularSearchRequest();
145
+ this.cropperChanged.emit();
141
146
  }
142
147
  getStyleMap() {
143
148
  return _function.pipe(imageSearchState.searchArea, Option.map((rectangle) => {
@@ -170,6 +175,7 @@ const getFilterId = (filter) => filter.href.split("/").reverse()[0];
170
175
  let SearchFilters = class {
171
176
  constructor(hostRef) {
172
177
  registerInstance(this, hostRef);
178
+ this.filterSelected = createEvent(this, "filterSelected", 7);
173
179
  this.filter = null;
174
180
  this.selectedCategoryId = null;
175
181
  this.hideFilters = true;
@@ -182,11 +188,13 @@ let SearchFilters = class {
182
188
  selectFilter(filter) {
183
189
  this.selectedCategoryId = getFilterId(filter);
184
190
  imageSearchState.activeIonLink = filter;
191
+ this.filterSelected.emit("select");
185
192
  }
186
193
  clearSelectedFilter() {
187
194
  this.selectedCategoryId = null;
188
195
  imageSearchState.activeIonLink = undefined;
189
196
  this.findSelectedFilter().blur();
197
+ this.filterSelected.emit("deselect");
190
198
  }
191
199
  findSelectedFilter() {
192
200
  return this.el.shadowRoot.querySelector(ACTIVE_FILTER_CLASSNAME);
@@ -231,6 +239,7 @@ const vviinnDetectedObjectCss = ":host{--color-primary-system:#0F62FE;--color-pr
231
239
  let VviinnDetectedObject = class {
232
240
  constructor(hostRef) {
233
241
  registerInstance(this, hostRef);
242
+ this.detectedObjectClicked = createEvent(this, "detectedObjectClicked", 7);
234
243
  this.position = ["0", "0"];
235
244
  }
236
245
  getObjectPosition() {
@@ -249,6 +258,7 @@ let VviinnDetectedObject = class {
249
258
  imageSearchState.searchArea = Option.some(scaledRect);
250
259
  }));
251
260
  makeRectangularSearchRequest();
261
+ this.detectedObjectClicked.emit();
252
262
  }
253
263
  isActive() {
254
264
  if (!this.detectedObject)
@@ -1,4 +1,4 @@
1
- import { a as getRenderingRef, f as forceUpdate } from './index-d7c7df1c.js';
1
+ import { a as getRenderingRef, f as forceUpdate } from './index-c09e56b6.js';
2
2
  import { t as tuple, i as isNone$1, l as left$1, r as right$1, a as isLeft$1, b as identity, p as pipe, n as none$1, s as some$1, f as first, c as flow, d as struct, e as last, g as pointSumSemigroup, H as HandlerDirection, h as fromRectangle, j as isSome, k as fromRectangle$1 } from './Handler-639a4cb3.js';
3
3
 
4
4
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -10156,15 +10156,17 @@ const createStore = (defaultState, shouldUpdate) => {
10156
10156
  return map;
10157
10157
  };
10158
10158
 
10159
- const store = createStore({
10160
- fallbackStyles: "",
10161
- pricePrefix: null,
10162
- currencySign: null,
10163
- apiPath: undefined,
10164
- locale: "de-DE",
10159
+ const trackingStore = {
10160
+ trackingEnabled: true,
10161
+ };
10162
+
10163
+ const { state: state$1, onChange: onChange$1 } = createStore(Object.assign({ fallbackStyles: "", pricePrefix: null, currencySign: null, apiPath: null, token: null, locale: "de-DE" }, trackingStore));
10164
+ onChange$1("apiPath", (val) => {
10165
+ console.log("apiPathChanged", val);
10166
+ });
10167
+ onChange$1("token", (val) => {
10168
+ console.log("tokenChanged", val);
10165
10169
  });
10166
- const state$1 = store.state;
10167
- const state$2 = store.state;
10168
10170
 
10169
10171
  function ap$4(F, G) {
10170
10172
  return function (fa) { return function (fab) {
@@ -15163,4 +15165,4 @@ const processSelectedFile = async (file) => {
15163
15165
  return session;
15164
15166
  };
15165
15167
 
15166
- export { Apply as A, Either as E, NonEmptyArray as N, Option as O, Semigroup$1 as S, TaskEither as T, _Array as _, _function as a, createInitGetRequest as b, chainW as c, sequenceT as d, state$1 as e, fromEither as f, getApiPath as g, sequenceToOption as h, imageSearchState as i, move as j, makeRectangularSearchRequest as k, fromAlt as l, makeRequest as m, foldValueObject as n, scaleWithSized as o, center as p, detectedObjectEq as q, toFile as r, state$2 as s, transform as t, processSelectedFile as u, match as v, fromImage as w, dimensionsFromImage as x, scaleByLargestSide as y };
15168
+ export { Apply as A, Either as E, NonEmptyArray as N, Option as O, Semigroup$1 as S, TaskEither as T, _Array as _, _function as a, createInitGetRequest as b, chainW as c, sequenceT as d, commonjsGlobal as e, fromEither as f, getApiPath as g, createCommonjsModule as h, imageSearchState as i, sequenceToOption as j, move as k, makeRectangularSearchRequest as l, makeRequest as m, fromAlt as n, foldValueObject as o, scaleWithSized as p, center as q, detectedObjectEq as r, state$1 as s, transform as t, toFile as u, processSelectedFile as v, match as w, fromImage as x, dimensionsFromImage as y, scaleByLargestSide as z };
@@ -1,4 +1,4 @@
1
- import { h } from './index-d7c7df1c.js';
1
+ import { h } from './index-c09e56b6.js';
2
2
 
3
3
  const ArrowIcon = () => (h("svg", { width: "12", height: "20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
4
4
  h("path", { d: "M0 10 10 0l1.4 1.4L2.8 10l8.6 8.6L10 20 0 10Z" })));
@@ -1,5 +1,5 @@
1
1
  const NAMESPACE = 'vviinn-widgets';
2
- const Env = /* vviinn-widgets */ {"packageVersion":"2.3.0","packageName":"vviinn-widgets","environment":"local"};
2
+ const Env = /* vviinn-widgets */ {"packageVersion":"2.3.1","packageName":"vviinn-widgets","environment":"local"};
3
3
 
4
4
  let scopeId;
5
5
  let hostTagName;