vviinn-widgets 2.18.21 → 2.19.1

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 (183) hide show
  1. package/dist/cjs/{index-cb410762.js → Campaign-a94a827a.js} +17 -1
  2. package/dist/cjs/cropper-handler_29.cjs.entry.js +1418 -0
  3. package/dist/cjs/{imageSearch.store-98824653.js → index-48c94264.js} +16016 -11171
  4. package/dist/cjs/{index-7f1325a7.js → index-a4becaff.js} +683 -303
  5. package/dist/cjs/loader.cjs.js +4 -3
  6. package/dist/cjs/{vviinn-carousel_3.cjs.entry.js → vviinn-carousel_2.cjs.entry.js} +150 -270
  7. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +14 -8
  8. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +12 -14
  9. package/dist/cjs/vviinn-widgets.cjs.js +10 -3
  10. package/dist/collection/Image/sizing.spec.js +66 -0
  11. package/dist/collection/collection-manifest.json +2 -2
  12. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.css +2 -16
  13. package/dist/collection/components/image-search/image-view/highlight-box/highlight-box.js +11 -7
  14. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.css +0 -1
  15. package/dist/collection/components/image-search/image-view/image-cropper/cropper-handler/cropper-handler.js +40 -37
  16. package/dist/collection/components/image-search/image-view/image-cropper/image-cropper.js +73 -67
  17. package/dist/collection/components/image-search/search-filters/search-filters.css +4 -23
  18. package/dist/collection/components/image-search/search-filters/search-filters.js +97 -91
  19. package/dist/collection/components/vviinn-button/vviinn-button.js +34 -31
  20. package/dist/collection/components/vviinn-carousel/vviinn-carousel.css +1 -2
  21. package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +161 -156
  22. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +12 -14
  23. package/dist/collection/components/vviinn-error/vviinn-error.js +12 -12
  24. package/dist/collection/components/vviinn-error/vviinn-server-error/vviinn-server-error.js +35 -30
  25. package/dist/collection/components/vviinn-error/vviinn-wrong-format/vviinn-wrong-format.js +35 -30
  26. package/dist/collection/components/vviinn-example-images/vviinn-example-image/vviinn-example-image.js +129 -121
  27. package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +75 -75
  28. package/dist/collection/components/vviinn-icons/index.js +10 -27
  29. package/dist/collection/components/vviinn-image-selector/vviinn-image-selector.js +120 -67
  30. package/dist/collection/components/vviinn-image-view/vviinn-detected-object/vviinn-detected-object.js +81 -69
  31. package/dist/collection/components/vviinn-image-view/vviinn-image-view.css +0 -1
  32. package/dist/collection/components/vviinn-image-view/vviinn-image-view.js +27 -28
  33. package/dist/collection/components/vviinn-modal/vviinn-modal.css +7 -36
  34. package/dist/collection/components/vviinn-modal/vviinn-modal.js +115 -93
  35. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +12 -14
  36. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +12 -14
  37. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +12 -14
  38. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +12 -17
  39. package/dist/collection/components/vviinn-overlay/vviinn-overlay.css +1 -12
  40. package/dist/collection/components/vviinn-overlay/vviinn-overlay.js +12 -9
  41. package/dist/collection/components/vviinn-overlayed-modal/vviinn-overlayed-modal.js +107 -78
  42. package/dist/collection/components/vviinn-preloader/vviinn-preloader.css +1 -11
  43. package/dist/collection/components/vviinn-preloader/vviinn-preloader.js +11 -7
  44. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.css +0 -1
  45. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +12 -16
  46. package/dist/collection/components/vviinn-product-card/render-helpers.js +6 -14
  47. package/dist/collection/components/vviinn-product-card/vviinn-product-card.js +425 -415
  48. package/dist/collection/components/vviinn-slider/arrow.js +1 -2
  49. package/dist/collection/components/vviinn-slider/vviinn-slide/vviinn-slide.js +12 -9
  50. package/dist/collection/components/vviinn-slider/vviinn-slider.css +0 -1
  51. package/dist/collection/components/vviinn-slider/vviinn-slider.js +87 -82
  52. package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +12 -18
  53. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.css +12 -64
  54. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +371 -360
  55. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +448 -444
  56. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +545 -542
  57. package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +2 -0
  58. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +368 -332
  59. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.css +0 -5
  60. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.e2e.js +26 -0
  61. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +502 -425
  62. package/dist/collection/geometry/Clip.spec.js +16 -0
  63. package/dist/collection/geometry/Rectangle.spec.js +66 -0
  64. package/dist/collection/geometry/Sized.spec.js +16 -0
  65. package/dist/collection/interfaces/generated.js +0 -4
  66. package/dist/collection/network/ion/Form.spec.js +43 -0
  67. package/dist/esm/{index-b31d86ce.js → Campaign-4aa53f29.js} +15 -2
  68. package/dist/esm/cropper-handler_29.entry.js +1386 -0
  69. package/dist/esm/{index-590cb67e.js → index-48ef9564.js} +683 -304
  70. package/dist/esm/{imageSearch.store-9dde5360.js → index-976acf7e.js} +16124 -11292
  71. package/dist/esm/loader.js +4 -3
  72. package/dist/esm/polyfills/css-shim.js +1 -1
  73. package/dist/esm/{vviinn-carousel_3.entry.js → vviinn-carousel_2.entry.js} +106 -225
  74. package/dist/esm/vviinn-recommendations-sidebar.entry.js +13 -7
  75. package/dist/esm/vviinn-vpr-button.entry.js +11 -13
  76. package/dist/esm/vviinn-widgets.js +7 -3
  77. package/dist/loader/index.d.ts +9 -0
  78. package/dist/loader/package.json +1 -0
  79. package/dist/types/Image/sizing.d.ts +4 -4
  80. package/dist/types/campaign/Campaign.d.ts +5 -5
  81. package/dist/types/campaign/VCSCampaignResponse.d.ts +1 -1
  82. package/dist/types/components/vviinn-carousel/vviinn-carousel.d.ts +2 -2
  83. package/dist/types/components/vviinn-image-selector/vviinn-image-selector.d.ts +4 -0
  84. package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +2 -0
  85. package/dist/types/components/vviinn-overlayed-modal/vviinn-overlayed-modal.d.ts +2 -0
  86. package/dist/types/components/vviinn-product-card/render-helpers.d.ts +3 -3
  87. package/dist/types/components/vviinn-slider/arrow.d.ts +2 -2
  88. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +2 -2
  89. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +9 -4
  90. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +8 -0
  91. package/dist/types/components.d.ts +154 -54
  92. package/dist/types/error.d.ts +1 -1
  93. package/dist/types/geometry/Point.d.ts +1 -1
  94. package/dist/types/geometry/Rectangle.d.ts +1 -1
  95. package/dist/types/geometry/Sized.d.ts +1 -1
  96. package/dist/types/interfaces/generated.d.ts +192 -371
  97. package/dist/types/network/ion/File.d.ts +2 -2
  98. package/dist/types/network/ion/Form.d.ts +5 -5
  99. package/dist/types/network/ion/Link.d.ts +1 -1
  100. package/dist/types/network/ion/ValueObject.d.ts +4 -4
  101. package/dist/types/network/utils.d.ts +3 -3
  102. package/dist/types/recommendation/events.d.ts +5 -5
  103. package/dist/types/recommendation/recommendation.d.ts +1 -1
  104. package/dist/types/searchSession/searchSession.d.ts +7 -7
  105. package/dist/types/slider/GridMode.d.ts +1 -1
  106. package/dist/types/stencil-public-runtime.d.ts +98 -23
  107. package/dist/types/store/imageSearch.store.d.ts +1 -1
  108. package/dist/types/tracking/models.d.ts +2 -2
  109. package/dist/types/utils/event/Events.d.ts +1 -1
  110. package/dist/vviinn-widgets/p-312b0eb7.entry.js +1 -0
  111. package/dist/vviinn-widgets/p-414b2291.js +1 -0
  112. package/dist/vviinn-widgets/p-5b50c7e5.entry.js +1 -0
  113. package/dist/vviinn-widgets/p-8deaa5da.entry.js +1 -0
  114. package/dist/vviinn-widgets/p-c6209bc1.entry.js +1 -0
  115. package/{www/build/p-2f9ee951.js → dist/vviinn-widgets/p-d08ce429.js} +1 -1
  116. package/dist/vviinn-widgets/p-fa17e81f.js +2 -0
  117. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  118. package/package.json +12 -12
  119. package/www/build/p-312b0eb7.entry.js +1 -0
  120. package/www/build/p-414b2291.js +1 -0
  121. package/www/build/p-5b50c7e5.entry.js +1 -0
  122. package/www/build/p-8deaa5da.entry.js +1 -0
  123. package/www/build/p-c6209bc1.entry.js +1 -0
  124. package/{dist/vviinn-widgets/p-2f9ee951.js → www/build/p-d08ce429.js} +1 -1
  125. package/www/build/p-d39b7d70.js +161 -0
  126. package/www/build/p-fa17e81f.js +2 -0
  127. package/www/build/vviinn-widgets.esm.js +1 -1
  128. package/www/index.html +2 -2
  129. package/dist/cjs/Campaign-13258569.js +0 -18
  130. package/dist/cjs/Handler-176539c8.js +0 -331
  131. package/dist/cjs/cropper-handler.cjs.entry.js +0 -27
  132. package/dist/cjs/customized-slots-6e56c354.js +0 -54
  133. package/dist/cjs/highlight-box_22.cjs.entry.js +0 -770
  134. package/dist/cjs/index-a99edb90.js +0 -3235
  135. package/dist/cjs/vviinn-button.cjs.entry.js +0 -21
  136. package/dist/cjs/vviinn-error.cjs.entry.js +0 -19
  137. package/dist/cjs/vviinn-preloader.cjs.entry.js +0 -26
  138. package/dist/cjs/vviinn-vps-button.cjs.entry.js +0 -65
  139. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +0 -251
  140. package/dist/esm/Campaign-90ba7e06.js +0 -14
  141. package/dist/esm/Handler-f9b8735c.js +0 -309
  142. package/dist/esm/cropper-handler.entry.js +0 -23
  143. package/dist/esm/customized-slots-00afe247.js +0 -51
  144. package/dist/esm/highlight-box_22.entry.js +0 -745
  145. package/dist/esm/index-4d5b52ba.js +0 -3224
  146. package/dist/esm/vviinn-button.entry.js +0 -17
  147. package/dist/esm/vviinn-error.entry.js +0 -15
  148. package/dist/esm/vviinn-preloader.entry.js +0 -22
  149. package/dist/esm/vviinn-vps-button.entry.js +0 -61
  150. package/dist/esm/vviinn-vps-widget.entry.js +0 -247
  151. package/dist/vviinn-widgets/p-11f61564.js +0 -1
  152. package/dist/vviinn-widgets/p-12851e97.entry.js +0 -1
  153. package/dist/vviinn-widgets/p-18fd769b.js +0 -1
  154. package/dist/vviinn-widgets/p-339c6838.js +0 -1
  155. package/dist/vviinn-widgets/p-3b2c91c0.entry.js +0 -1
  156. package/dist/vviinn-widgets/p-45df9f28.entry.js +0 -1
  157. package/dist/vviinn-widgets/p-57ed5303.entry.js +0 -1
  158. package/dist/vviinn-widgets/p-69850e5b.js +0 -1
  159. package/dist/vviinn-widgets/p-7c2f762a.entry.js +0 -1
  160. package/dist/vviinn-widgets/p-7c3b7388.entry.js +0 -1
  161. package/dist/vviinn-widgets/p-85006f41.entry.js +0 -1
  162. package/dist/vviinn-widgets/p-8a3dd76d.entry.js +0 -1
  163. package/dist/vviinn-widgets/p-99e58be7.entry.js +0 -1
  164. package/dist/vviinn-widgets/p-a2b450b6.entry.js +0 -1
  165. package/dist/vviinn-widgets/p-bcc1ccf0.js +0 -1
  166. package/dist/vviinn-widgets/p-e6fee8d2.js +0 -1
  167. package/www/build/p-11f61564.js +0 -1
  168. package/www/build/p-12851e97.entry.js +0 -1
  169. package/www/build/p-18fd769b.js +0 -1
  170. package/www/build/p-339c6838.js +0 -1
  171. package/www/build/p-3b2c91c0.entry.js +0 -1
  172. package/www/build/p-45df9f28.entry.js +0 -1
  173. package/www/build/p-57ed5303.entry.js +0 -1
  174. package/www/build/p-69850e5b.js +0 -1
  175. package/www/build/p-7c2f762a.entry.js +0 -1
  176. package/www/build/p-7c3b7388.entry.js +0 -1
  177. package/www/build/p-85006f41.entry.js +0 -1
  178. package/www/build/p-8a3dd76d.entry.js +0 -1
  179. package/www/build/p-99e58be7.entry.js +0 -1
  180. package/www/build/p-9e2c131a.js +0 -125
  181. package/www/build/p-a2b450b6.entry.js +0 -1
  182. package/www/build/p-bcc1ccf0.js +0 -1
  183. package/www/build/p-e6fee8d2.js +0 -1
@@ -1,18 +1,25 @@
1
- import { Component, Host, h, Prop, State, Listen, Element, Event, } from "@stencil/core";
1
+ import { Host, h, } from "@stencil/core";
2
2
  import { CrossIcon } from "../../vviinn-icons";
3
3
  import { campaignTypeNames } from "../../../campaign/Campaign";
4
4
  export class RecommendationsSidebar {
5
5
  constructor() {
6
+ this.sidebarTitle = undefined;
7
+ this.token = undefined;
8
+ this.productId = undefined;
6
9
  this.position = "bottom";
7
10
  this.sourceImage = null;
8
11
  this.widgetScrollbar = false;
9
12
  this.mode = "continuity";
10
- /** comma-separated list of campaign-ids */
11
13
  this.campaigns = "";
14
+ this.campaignType = undefined;
15
+ this.color = undefined;
12
16
  this.imageWidth = 300;
13
17
  this.currencySign = "€";
14
- /** @internal */
18
+ this.noResultText = undefined;
19
+ this.noResultShow = undefined;
20
+ this.gridArrowsDynamic = undefined;
15
21
  this.apiPath = "https://api.vviinn.com";
22
+ this.buttonElementId = undefined;
16
23
  this.state = "idle";
17
24
  }
18
25
  bodyClickListener(event) {
@@ -40,15 +47,7 @@ export class RecommendationsSidebar {
40
47
  return (_a = this.el.shadowRoot.querySelector("aside")) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
41
48
  }
42
49
  render() {
43
- return (h(Host, { class: this.getClassMap() },
44
- h("aside", { class: "sidebar", part: "body", onAnimationEnd: (e) => this.handleAnimationEnd(e) },
45
- h("header", { class: { "contains-source-img": this.isSourceImageValid() }, part: "sidebar-header" },
46
- this.isSourceImageValid() ? this.renderSourceImage() : null,
47
- h("span", { class: "title", part: "title" }, this.sidebarTitle),
48
- h("button", { class: "close-sidebar", onClick: () => (this.state = "closed") },
49
- h(CrossIcon, null))),
50
- h("main", { part: "sidebar-content" },
51
- h("vviinn-vpr-widget", { exportparts: "brand, currency, deeplink, image, image-link, price-amount, price-container, price-prefix, price-outdated, price-regular, price-sale, title: product-title, carousel-button, product-card, items-group", token: this.token, productId: this.productId, imageWidth: this.imageWidth, blockTitle: "", mode: this.mode, useCarousel: this.position === "bottom", onVviinnRecommendationsLoaded: () => (this.state = "open"), showScroll: this.widgetScrollbar, campaigns: this.campaigns, color: this.color, currencySign: this.currencySign, apiPath: this.apiPath, buttonElementId: this.buttonElementId, noResultText: this.noResultText, noResultShow: this.noResultShow, gridArrowsDynamic: this.gridArrowsDynamic })))));
50
+ return (h(Host, { class: this.getClassMap() }, h("aside", { class: "sidebar", part: "body", onAnimationEnd: (e) => this.handleAnimationEnd(e) }, h("header", { class: { "contains-source-img": this.isSourceImageValid() }, part: "sidebar-header" }, this.isSourceImageValid() ? this.renderSourceImage() : null, h("span", { class: "title", part: "title" }, this.sidebarTitle), h("button", { class: "close-sidebar", onClick: () => (this.state = "closed") }, h(CrossIcon, null))), h("main", { part: "sidebar-content" }, h("vviinn-vpr-widget", { exportparts: "brand, currency, deeplink, image, image-link, price-amount, price-container, price-prefix, price-outdated, price-regular, price-sale, title: product-title, carousel-button, product-card, items-group", token: this.token, productId: this.productId, imageWidth: this.imageWidth, blockTitle: "", mode: this.mode, useCarousel: this.position === "bottom", onVviinnRecommendationsLoaded: () => (this.state = "open"), showScroll: this.widgetScrollbar, campaigns: this.campaigns, color: this.color, currencySign: this.currencySign, apiPath: this.apiPath, buttonElementId: this.buttonElementId, noResultText: this.noResultText, noResultShow: this.noResultShow, gridArrowsDynamic: this.gridArrowsDynamic })))));
52
51
  }
53
52
  renderSourceImage() {
54
53
  return (h("img", { class: "source-image", part: "source-image", src: this.sourceImage }));
@@ -70,357 +69,369 @@ export class RecommendationsSidebar {
70
69
  }
71
70
  static get is() { return "vviinn-recommendations-sidebar"; }
72
71
  static get encapsulation() { return "shadow"; }
73
- static get originalStyleUrls() { return {
74
- "$": ["recommendations-sidebar.css"]
75
- }; }
76
- static get styleUrls() { return {
77
- "$": ["recommendations-sidebar.css"]
78
- }; }
79
- static get properties() { return {
80
- "sidebarTitle": {
81
- "type": "string",
82
- "mutable": false,
83
- "complexType": {
84
- "original": "string",
85
- "resolved": "string",
86
- "references": {}
87
- },
88
- "required": false,
89
- "optional": false,
90
- "docs": {
91
- "tags": [],
92
- "text": ""
93
- },
94
- "attribute": "sidebar-title",
95
- "reflect": false
96
- },
97
- "token": {
98
- "type": "string",
99
- "mutable": false,
100
- "complexType": {
101
- "original": "string",
102
- "resolved": "string",
103
- "references": {}
104
- },
105
- "required": false,
106
- "optional": false,
107
- "docs": {
108
- "tags": [],
109
- "text": ""
110
- },
111
- "attribute": "token",
112
- "reflect": false
113
- },
114
- "productId": {
115
- "type": "string",
116
- "mutable": false,
117
- "complexType": {
118
- "original": "string",
119
- "resolved": "string",
120
- "references": {}
121
- },
122
- "required": false,
123
- "optional": false,
124
- "docs": {
125
- "tags": [],
126
- "text": ""
127
- },
128
- "attribute": "product-id",
129
- "reflect": false
130
- },
131
- "position": {
132
- "type": "string",
133
- "mutable": false,
134
- "complexType": {
135
- "original": "\"bottom\" | \"right\"",
136
- "resolved": "\"bottom\" | \"right\"",
137
- "references": {}
138
- },
139
- "required": false,
140
- "optional": false,
141
- "docs": {
142
- "tags": [],
143
- "text": ""
144
- },
145
- "attribute": "position",
146
- "reflect": false,
147
- "defaultValue": "\"bottom\""
148
- },
149
- "sourceImage": {
150
- "type": "string",
151
- "mutable": false,
152
- "complexType": {
153
- "original": "string | null",
154
- "resolved": "string",
155
- "references": {}
156
- },
157
- "required": false,
158
- "optional": false,
159
- "docs": {
160
- "tags": [],
161
- "text": ""
162
- },
163
- "attribute": "source-image",
164
- "reflect": false,
165
- "defaultValue": "null"
166
- },
167
- "widgetScrollbar": {
168
- "type": "boolean",
169
- "mutable": false,
170
- "complexType": {
171
- "original": "boolean",
172
- "resolved": "boolean",
173
- "references": {}
174
- },
175
- "required": false,
176
- "optional": false,
177
- "docs": {
178
- "tags": [],
179
- "text": ""
180
- },
181
- "attribute": "widget-scrollbar",
182
- "reflect": false,
183
- "defaultValue": "false"
184
- },
185
- "mode": {
186
- "type": "string",
187
- "mutable": false,
188
- "complexType": {
189
- "original": "CarouselMode",
190
- "resolved": "\"continuity\" | \"grid\"",
191
- "references": {
192
- "CarouselMode": {
193
- "location": "import",
194
- "path": "../../vviinn-carousel/vviinn-carousel"
72
+ static get originalStyleUrls() {
73
+ return {
74
+ "$": ["recommendations-sidebar.css"]
75
+ };
76
+ }
77
+ static get styleUrls() {
78
+ return {
79
+ "$": ["recommendations-sidebar.css"]
80
+ };
81
+ }
82
+ static get properties() {
83
+ return {
84
+ "sidebarTitle": {
85
+ "type": "string",
86
+ "mutable": false,
87
+ "complexType": {
88
+ "original": "string",
89
+ "resolved": "string",
90
+ "references": {}
91
+ },
92
+ "required": false,
93
+ "optional": false,
94
+ "docs": {
95
+ "tags": [],
96
+ "text": ""
97
+ },
98
+ "attribute": "sidebar-title",
99
+ "reflect": false
100
+ },
101
+ "token": {
102
+ "type": "string",
103
+ "mutable": false,
104
+ "complexType": {
105
+ "original": "string",
106
+ "resolved": "string",
107
+ "references": {}
108
+ },
109
+ "required": false,
110
+ "optional": false,
111
+ "docs": {
112
+ "tags": [],
113
+ "text": ""
114
+ },
115
+ "attribute": "token",
116
+ "reflect": false
117
+ },
118
+ "productId": {
119
+ "type": "string",
120
+ "mutable": false,
121
+ "complexType": {
122
+ "original": "string",
123
+ "resolved": "string",
124
+ "references": {}
125
+ },
126
+ "required": false,
127
+ "optional": false,
128
+ "docs": {
129
+ "tags": [],
130
+ "text": ""
131
+ },
132
+ "attribute": "product-id",
133
+ "reflect": false
134
+ },
135
+ "position": {
136
+ "type": "string",
137
+ "mutable": false,
138
+ "complexType": {
139
+ "original": "\"bottom\" | \"right\"",
140
+ "resolved": "\"bottom\" | \"right\"",
141
+ "references": {}
142
+ },
143
+ "required": false,
144
+ "optional": false,
145
+ "docs": {
146
+ "tags": [],
147
+ "text": ""
148
+ },
149
+ "attribute": "position",
150
+ "reflect": false,
151
+ "defaultValue": "\"bottom\""
152
+ },
153
+ "sourceImage": {
154
+ "type": "string",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "string | null",
158
+ "resolved": "string",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": false,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": ""
166
+ },
167
+ "attribute": "source-image",
168
+ "reflect": false,
169
+ "defaultValue": "null"
170
+ },
171
+ "widgetScrollbar": {
172
+ "type": "boolean",
173
+ "mutable": false,
174
+ "complexType": {
175
+ "original": "boolean",
176
+ "resolved": "boolean",
177
+ "references": {}
178
+ },
179
+ "required": false,
180
+ "optional": false,
181
+ "docs": {
182
+ "tags": [],
183
+ "text": ""
184
+ },
185
+ "attribute": "widget-scrollbar",
186
+ "reflect": false,
187
+ "defaultValue": "false"
188
+ },
189
+ "mode": {
190
+ "type": "string",
191
+ "mutable": false,
192
+ "complexType": {
193
+ "original": "CarouselMode",
194
+ "resolved": "\"continuity\" | \"grid\"",
195
+ "references": {
196
+ "CarouselMode": {
197
+ "location": "import",
198
+ "path": "../../vviinn-carousel/vviinn-carousel"
199
+ }
195
200
  }
196
- }
197
- },
198
- "required": false,
199
- "optional": false,
200
- "docs": {
201
- "tags": [],
202
- "text": ""
203
- },
204
- "attribute": "mode",
205
- "reflect": false,
206
- "defaultValue": "\"continuity\""
207
- },
208
- "campaigns": {
209
- "type": "string",
210
- "mutable": false,
211
- "complexType": {
212
- "original": "string",
213
- "resolved": "string",
214
- "references": {}
215
- },
216
- "required": false,
217
- "optional": false,
218
- "docs": {
219
- "tags": [],
220
- "text": "comma-separated list of campaign-ids"
221
- },
222
- "attribute": "campaigns",
223
- "reflect": false,
224
- "defaultValue": "\"\""
225
- },
226
- "campaignType": {
227
- "type": "string",
228
- "mutable": false,
229
- "complexType": {
230
- "original": "CampaignTypeId",
231
- "resolved": "\"VCS\" | \"VPR\" | \"VPS\"",
232
- "references": {
233
- "CampaignTypeId": {
234
- "location": "import",
235
- "path": "../../../campaign/Campaign"
201
+ },
202
+ "required": false,
203
+ "optional": false,
204
+ "docs": {
205
+ "tags": [],
206
+ "text": ""
207
+ },
208
+ "attribute": "mode",
209
+ "reflect": false,
210
+ "defaultValue": "\"continuity\""
211
+ },
212
+ "campaigns": {
213
+ "type": "string",
214
+ "mutable": false,
215
+ "complexType": {
216
+ "original": "string",
217
+ "resolved": "string",
218
+ "references": {}
219
+ },
220
+ "required": false,
221
+ "optional": false,
222
+ "docs": {
223
+ "tags": [],
224
+ "text": "comma-separated list of campaign-ids"
225
+ },
226
+ "attribute": "campaigns",
227
+ "reflect": false,
228
+ "defaultValue": "\"\""
229
+ },
230
+ "campaignType": {
231
+ "type": "string",
232
+ "mutable": false,
233
+ "complexType": {
234
+ "original": "CampaignTypeId",
235
+ "resolved": "\"VCS\" | \"VPR\" | \"VPS\"",
236
+ "references": {
237
+ "CampaignTypeId": {
238
+ "location": "import",
239
+ "path": "../../../campaign/Campaign"
240
+ }
236
241
  }
237
- }
238
- },
239
- "required": false,
240
- "optional": false,
241
- "docs": {
242
- "tags": [],
243
- "text": ""
244
- },
245
- "attribute": "campaign-type",
246
- "reflect": false
247
- },
248
- "color": {
249
- "type": "string",
250
- "mutable": false,
251
- "complexType": {
252
- "original": "string",
253
- "resolved": "string",
254
- "references": {}
255
- },
256
- "required": false,
257
- "optional": false,
258
- "docs": {
259
- "tags": [],
260
- "text": ""
261
- },
262
- "attribute": "color",
263
- "reflect": false
264
- },
265
- "imageWidth": {
266
- "type": "number",
267
- "mutable": false,
268
- "complexType": {
269
- "original": "number",
270
- "resolved": "number",
271
- "references": {}
272
- },
273
- "required": false,
274
- "optional": false,
275
- "docs": {
276
- "tags": [],
277
- "text": ""
278
- },
279
- "attribute": "image-width",
280
- "reflect": false,
281
- "defaultValue": "300"
282
- },
283
- "currencySign": {
284
- "type": "string",
285
- "mutable": false,
286
- "complexType": {
287
- "original": "string",
288
- "resolved": "string",
289
- "references": {}
290
- },
291
- "required": false,
292
- "optional": false,
293
- "docs": {
294
- "tags": [],
295
- "text": ""
296
- },
297
- "attribute": "currency-sign",
298
- "reflect": false,
299
- "defaultValue": "\"\u20AC\""
300
- },
301
- "noResultText": {
302
- "type": "string",
303
- "mutable": false,
304
- "complexType": {
305
- "original": "string",
306
- "resolved": "string",
307
- "references": {}
308
- },
309
- "required": false,
310
- "optional": true,
311
- "docs": {
312
- "tags": [],
313
- "text": ""
314
- },
315
- "attribute": "no-result-text",
316
- "reflect": false
317
- },
318
- "noResultShow": {
319
- "type": "boolean",
320
- "mutable": false,
321
- "complexType": {
322
- "original": "boolean",
323
- "resolved": "boolean",
324
- "references": {}
325
- },
326
- "required": false,
327
- "optional": true,
328
- "docs": {
329
- "tags": [],
330
- "text": ""
331
- },
332
- "attribute": "no-result-show",
333
- "reflect": false
334
- },
335
- "gridArrowsDynamic": {
336
- "type": "boolean",
337
- "mutable": false,
338
- "complexType": {
339
- "original": "boolean",
340
- "resolved": "boolean",
341
- "references": {}
342
- },
343
- "required": false,
344
- "optional": false,
345
- "docs": {
346
- "tags": [],
347
- "text": "Hiding disabled arrows in the carousel if true"
348
- },
349
- "attribute": "grid-arrows-dynamic",
350
- "reflect": false
351
- },
352
- "apiPath": {
353
- "type": "string",
354
- "mutable": false,
355
- "complexType": {
356
- "original": "string | undefined",
357
- "resolved": "string",
358
- "references": {}
359
- },
360
- "required": false,
361
- "optional": false,
362
- "docs": {
363
- "tags": [{
364
- "text": undefined,
365
- "name": "internal"
366
- }],
367
- "text": ""
368
- },
369
- "attribute": "api-path",
370
- "reflect": false,
371
- "defaultValue": "\"https://api.vviinn.com\""
372
- },
373
- "buttonElementId": {
374
- "type": "string",
375
- "mutable": false,
376
- "complexType": {
377
- "original": "string",
378
- "resolved": "string",
379
- "references": {}
380
- },
381
- "required": false,
382
- "optional": true,
383
- "docs": {
384
- "tags": [{
385
- "text": undefined,
386
- "name": "internal"
387
- }],
388
- "text": ""
389
- },
390
- "attribute": "button-element-id",
391
- "reflect": false
392
- }
393
- }; }
394
- static get states() { return {
395
- "state": {}
396
- }; }
397
- static get events() { return [{
398
- "method": "vviinnWidgetClose",
399
- "name": "vviinnWidgetClose",
400
- "bubbles": true,
401
- "cancelable": true,
402
- "composed": true,
403
- "docs": {
404
- "tags": [],
405
- "text": ""
406
- },
407
- "complexType": {
408
- "original": "BasicEventData",
409
- "resolved": "{ widgetType: WidgetType; campaignTypeId: CampaignTypeId; campaignTypeName: CampaignTypeTitle; widgetId?: string; }",
410
- "references": {
411
- "BasicEventData": {
412
- "location": "import",
413
- "path": "../../../recommendation/events"
242
+ },
243
+ "required": false,
244
+ "optional": false,
245
+ "docs": {
246
+ "tags": [],
247
+ "text": ""
248
+ },
249
+ "attribute": "campaign-type",
250
+ "reflect": false
251
+ },
252
+ "color": {
253
+ "type": "string",
254
+ "mutable": false,
255
+ "complexType": {
256
+ "original": "string",
257
+ "resolved": "string",
258
+ "references": {}
259
+ },
260
+ "required": false,
261
+ "optional": false,
262
+ "docs": {
263
+ "tags": [],
264
+ "text": ""
265
+ },
266
+ "attribute": "color",
267
+ "reflect": false
268
+ },
269
+ "imageWidth": {
270
+ "type": "number",
271
+ "mutable": false,
272
+ "complexType": {
273
+ "original": "number",
274
+ "resolved": "number",
275
+ "references": {}
276
+ },
277
+ "required": false,
278
+ "optional": false,
279
+ "docs": {
280
+ "tags": [],
281
+ "text": ""
282
+ },
283
+ "attribute": "image-width",
284
+ "reflect": false,
285
+ "defaultValue": "300"
286
+ },
287
+ "currencySign": {
288
+ "type": "string",
289
+ "mutable": false,
290
+ "complexType": {
291
+ "original": "string",
292
+ "resolved": "string",
293
+ "references": {}
294
+ },
295
+ "required": false,
296
+ "optional": false,
297
+ "docs": {
298
+ "tags": [],
299
+ "text": ""
300
+ },
301
+ "attribute": "currency-sign",
302
+ "reflect": false,
303
+ "defaultValue": "\"\u20AC\""
304
+ },
305
+ "noResultText": {
306
+ "type": "string",
307
+ "mutable": false,
308
+ "complexType": {
309
+ "original": "string",
310
+ "resolved": "string",
311
+ "references": {}
312
+ },
313
+ "required": false,
314
+ "optional": true,
315
+ "docs": {
316
+ "tags": [],
317
+ "text": ""
318
+ },
319
+ "attribute": "no-result-text",
320
+ "reflect": false
321
+ },
322
+ "noResultShow": {
323
+ "type": "boolean",
324
+ "mutable": false,
325
+ "complexType": {
326
+ "original": "boolean",
327
+ "resolved": "boolean",
328
+ "references": {}
329
+ },
330
+ "required": false,
331
+ "optional": true,
332
+ "docs": {
333
+ "tags": [],
334
+ "text": ""
335
+ },
336
+ "attribute": "no-result-show",
337
+ "reflect": false
338
+ },
339
+ "gridArrowsDynamic": {
340
+ "type": "boolean",
341
+ "mutable": false,
342
+ "complexType": {
343
+ "original": "boolean",
344
+ "resolved": "boolean",
345
+ "references": {}
346
+ },
347
+ "required": false,
348
+ "optional": false,
349
+ "docs": {
350
+ "tags": [],
351
+ "text": "Hiding disabled arrows in the carousel if true"
352
+ },
353
+ "attribute": "grid-arrows-dynamic",
354
+ "reflect": false
355
+ },
356
+ "apiPath": {
357
+ "type": "string",
358
+ "mutable": false,
359
+ "complexType": {
360
+ "original": "string | undefined",
361
+ "resolved": "string",
362
+ "references": {}
363
+ },
364
+ "required": false,
365
+ "optional": false,
366
+ "docs": {
367
+ "tags": [{
368
+ "name": "internal",
369
+ "text": undefined
370
+ }],
371
+ "text": ""
372
+ },
373
+ "attribute": "api-path",
374
+ "reflect": false,
375
+ "defaultValue": "\"https://api.vviinn.com\""
376
+ },
377
+ "buttonElementId": {
378
+ "type": "string",
379
+ "mutable": false,
380
+ "complexType": {
381
+ "original": "string",
382
+ "resolved": "string",
383
+ "references": {}
384
+ },
385
+ "required": false,
386
+ "optional": true,
387
+ "docs": {
388
+ "tags": [{
389
+ "name": "internal",
390
+ "text": undefined
391
+ }],
392
+ "text": ""
393
+ },
394
+ "attribute": "button-element-id",
395
+ "reflect": false
396
+ }
397
+ };
398
+ }
399
+ static get states() {
400
+ return {
401
+ "state": {}
402
+ };
403
+ }
404
+ static get events() {
405
+ return [{
406
+ "method": "vviinnWidgetClose",
407
+ "name": "vviinnWidgetClose",
408
+ "bubbles": true,
409
+ "cancelable": true,
410
+ "composed": true,
411
+ "docs": {
412
+ "tags": [],
413
+ "text": ""
414
+ },
415
+ "complexType": {
416
+ "original": "BasicEventData",
417
+ "resolved": "{ widgetType: WidgetType; campaignTypeId: CampaignTypeId; campaignTypeName: CampaignTypeTitle; widgetId?: string; }",
418
+ "references": {
419
+ "BasicEventData": {
420
+ "location": "import",
421
+ "path": "../../../recommendation/events"
422
+ }
414
423
  }
415
424
  }
416
- }
417
- }]; }
425
+ }];
426
+ }
418
427
  static get elementRef() { return "el"; }
419
- static get listeners() { return [{
420
- "name": "click",
421
- "method": "bodyClickListener",
422
- "target": "body",
423
- "capture": false,
424
- "passive": false
425
- }]; }
428
+ static get listeners() {
429
+ return [{
430
+ "name": "click",
431
+ "method": "bodyClickListener",
432
+ "target": "body",
433
+ "capture": false,
434
+ "passive": false
435
+ }];
436
+ }
426
437
  }