vviinn-widgets 2.4.0 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-2bcc74df.js → app-globals-474864e0.js} +1 -1
- package/dist/cjs/cropper-handler.cjs.entry.js +1 -1
- package/dist/cjs/{customized-slots-4202eaf5.js → customized-slots-0aa6c3d6.js} +1 -1
- package/dist/cjs/highlight-box_22.cjs.entry.js +5 -5
- package/dist/cjs/{imageSearch.store-cb2b2cc8.js → imageSearch.store-076370bf.js} +1 -1
- package/dist/cjs/{index-e9439500.js → index-34d20028.js} +3 -724
- package/dist/cjs/{index-6771ae25.js → index-61403ab1.js} +1 -1
- package/dist/cjs/{index-44fc16ad.js → index-a87f1a44.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/vviinn-carousel_3.cjs.entry.js +9 -10
- package/dist/cjs/vviinn-error.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-preloader.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-vpr-button.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +3 -3
- package/dist/cjs/vviinn-vps-widget.cjs.entry.js +21 -20
- package/dist/cjs/vviinn-widgets.cjs.js +2 -2
- package/dist/collection/components/image-search/search-filters/search-filters.js +1 -1
- package/dist/collection/components/vviinn-carousel/vviinn-carousel.js +3 -3
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +4 -4
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +2 -3
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +17 -16
- package/dist/collection/openApi/index.js +1 -1
- package/dist/esm/{app-globals-550daa9b.js → app-globals-3888cd41.js} +1 -1
- package/dist/esm/cropper-handler.entry.js +1 -1
- package/dist/esm/{customized-slots-80625933.js → customized-slots-863113e2.js} +1 -1
- package/dist/esm/highlight-box_22.entry.js +5 -5
- package/dist/esm/{imageSearch.store-1268786d.js → imageSearch.store-b516d12e.js} +1 -1
- package/dist/esm/{index-fa27f1df.js → index-2f8fb0fe.js} +3 -724
- package/dist/esm/{index-1cf740a8.js → index-36978848.js} +1 -1
- package/dist/esm/{index-c09e56b6.js → index-56c062df.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/vviinn-carousel_3.entry.js +9 -10
- package/dist/esm/vviinn-error.entry.js +1 -1
- package/dist/esm/vviinn-preloader.entry.js +2 -2
- package/dist/esm/vviinn-recommendations-sidebar.entry.js +2 -2
- package/dist/esm/vviinn-vpr-button.entry.js +2 -2
- package/dist/esm/vviinn-vps-button.entry.js +3 -3
- package/dist/esm/vviinn-vps-widget.entry.js +21 -20
- package/dist/esm/vviinn-widgets.js +2 -2
- package/dist/types/components/image-search/search-filters/search-filters.d.ts +1 -1
- package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +1 -1
- package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +2 -2
- package/dist/types/components.d.ts +1 -1
- package/dist/types/openApi/index.d.ts +2 -2
- package/dist/types/tracking/event.d.ts +1 -1
- package/dist/types/tracking/index.d.ts +8 -8
- package/dist/types/tracking/models.d.ts +1 -1
- package/dist/vviinn-widgets/{p-c63fb46b.entry.js → p-0a9cee09.entry.js} +1 -1
- package/dist/vviinn-widgets/p-28678772.js +1 -0
- package/dist/vviinn-widgets/{p-86ae782f.entry.js → p-2e6ecda7.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-8e25b838.js → p-47183c9a.js} +1 -1
- package/dist/vviinn-widgets/{p-dd7cac6e.entry.js → p-535611cd.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-78b65f70.js → p-606ff863.js} +1 -1
- package/dist/vviinn-widgets/{p-4bdb3027.entry.js → p-9cc6f0dd.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-07125f64.js → p-ac0a2989.js} +1 -1
- package/dist/vviinn-widgets/p-ad29e9c5.entry.js +1 -0
- package/{www/build/p-c5e6ec4f.js → dist/vviinn-widgets/p-b4caf042.js} +1 -1
- package/dist/vviinn-widgets/{p-314e40b3.entry.js → p-b547a6d0.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-97af45f0.js → p-c853cba8.js} +1 -1
- package/dist/vviinn-widgets/p-d2097302.entry.js +1 -0
- package/dist/vviinn-widgets/{p-27ede517.entry.js → p-d8d49616.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-5535163a.entry.js → p-f9410382.entry.js} +1 -1
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +3 -3
- package/www/build/{p-c63fb46b.entry.js → p-0a9cee09.entry.js} +1 -1
- package/www/build/p-28678772.js +1 -0
- package/www/build/{p-86ae782f.entry.js → p-2e6ecda7.entry.js} +1 -1
- package/www/build/{p-8e25b838.js → p-47183c9a.js} +1 -1
- package/www/build/{p-dd7cac6e.entry.js → p-535611cd.entry.js} +1 -1
- package/www/build/{p-78b65f70.js → p-606ff863.js} +1 -1
- package/www/build/{p-961822d3.js → p-7c313f33.js} +2 -2
- package/www/build/{p-4bdb3027.entry.js → p-9cc6f0dd.entry.js} +1 -1
- package/www/build/{p-07125f64.js → p-ac0a2989.js} +1 -1
- package/www/build/p-ad29e9c5.entry.js +1 -0
- package/{dist/vviinn-widgets/p-c5e6ec4f.js → www/build/p-b4caf042.js} +1 -1
- package/www/build/{p-314e40b3.entry.js → p-b547a6d0.entry.js} +1 -1
- package/www/build/{p-97af45f0.js → p-c853cba8.js} +1 -1
- package/www/build/p-d2097302.entry.js +1 -0
- package/www/build/{p-27ede517.entry.js → p-d8d49616.entry.js} +1 -1
- package/www/build/{p-5535163a.entry.js → p-f9410382.entry.js} +1 -1
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/vviinn-widgets/p-316abc01.js +0 -1
- package/dist/vviinn-widgets/p-89f2c19a.entry.js +0 -1
- package/dist/vviinn-widgets/p-94aa8705.entry.js +0 -1
- package/www/build/p-316abc01.js +0 -1
- package/www/build/p-89f2c19a.entry.js +0 -1
- package/www/build/p-94aa8705.entry.js +0 -1
|
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'vviinn-widgets';
|
|
24
|
-
const Env = /* vviinn-widgets */ {"packageVersion":"2.
|
|
24
|
+
const Env = /* vviinn-widgets */ {"packageVersion":"2.4.2","packageName":"vviinn-widgets","environment":"local"};
|
|
25
25
|
|
|
26
26
|
let scopeId;
|
|
27
27
|
let hostTagName;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-61403ab1.js');
|
|
4
4
|
|
|
5
5
|
const ArrowIcon = () => (index.h("svg", { width: "12", height: "20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
6
6
|
index.h("path", { d: "M0 10 10 0l1.4 1.4L2.8 10l8.6 8.6L10 20 0 10Z" })));
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const appGlobals = require('./app-globals-
|
|
5
|
+
const index = require('./index-61403ab1.js');
|
|
6
|
+
const appGlobals = require('./app-globals-474864e0.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
9
|
Stencil Client Patch Esm v2.9.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const imageSearch_store = require('./imageSearch.store-
|
|
7
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-61403ab1.js');
|
|
6
|
+
const imageSearch_store = require('./imageSearch.store-076370bf.js');
|
|
7
|
+
const index$1 = require('./index-a87f1a44.js');
|
|
8
8
|
const Handler = require('./Handler-d1a8a86a.js');
|
|
9
|
-
const index$2 = require('./index-
|
|
9
|
+
const index$2 = require('./index-34d20028.js');
|
|
10
10
|
|
|
11
11
|
const vviinnCarouselCss = ":host{--vviinn-progressbar-width:0;--vviinn-carousel-item-width:150px;--vviinn-carousel-columns-internal:var(--vviinn-carousel-columns, 4);--vviinn-carousel-image-width-system:140px}.body{display:flex;position:relative;width:var(--vviinn-carousel-content-width);flex-direction:column}.content-wrapper *{box-sizing:border-box}.content-wrapper{overflow-y:hidden;overflow-x:auto;flex-grow:1}.bullets{margin-top:16px;display:flex;flex-direction:row;grid-gap:24px;justify-content:center}.bullet{width:10px;height:10px;background:#E0E0E0;border-radius:50%;cursor:pointer}.bullet.active{background:#161616}.content:not(.show-scrollbar),.content.grid{scrollbar-color:#fff0 #fff0}.content:not(.show-scrollbar)::-webkit-scrollbar,.content.grid::-webkit-scrollbar{opacity:0}.content{display:flex;flex-direction:row;grid-gap:8px;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-y:hidden;overflow-x:auto;flex-grow:1;padding-bottom:16px}.content.left>*{scroll-snap-align:start}.content.right>*{scroll-snap-align:end}:host(.continuity) button{border-radius:2px}:host(.grid) button{border-radius:50%}button{align-items:center;background-color:white;border:none;box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15);cursor:pointer;display:grid;height:40px;justify-items:center;position:absolute;top:calc(50% - 20px);width:40px;z-index:1;padding:0;margin:0}button{fill:#525252}button.prev svg{transform:rotate(180deg);margin-left:-5px}.prev{left:0}.next{right:0}.items-group{display:grid;grid-gap:16px;grid-template-columns:repeat(var(--vviinn-carousel-columns-internal), 1fr);min-width:100%}vviinn-product-card::part(price-container){text-align:center}:host(.classic) vviinn-product-card::part(title),:host(.classic) vviinn-product-card::part(brand),:host(.classic) vviinn-product-card::part(type){text-align:center}@media (max-width: 480px){:host(.modern) button{display:none}.items-group{grid-template-columns:repeat(2, 1fr)}}";
|
|
12
12
|
|
|
@@ -175,8 +175,8 @@ let VviinnCarousel = class {
|
|
|
175
175
|
"show-scrollbar": this.showScrollbar(),
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
|
-
renderRecommendation(recommendation) {
|
|
179
|
-
return (index.h("vviinn-product-card", { part: "product-part", productId: recommendation.productId, productTitle: recommendation.title, deeplink: recommendation.deeplink, image: recommendation.image.thumbnail, brand: recommendation.brand, imageWidth: this.imageWidth, imageRatio: 1, price: recommendation.price.actual, salePrice: recommendation.price.sale, responsive: this.mode === "grid", dimmedBackground: this.mode === "continuity" }));
|
|
178
|
+
renderRecommendation(recommendation, rank) {
|
|
179
|
+
return (index.h("vviinn-product-card", { part: "product-part", productId: recommendation.productId, productTitle: recommendation.title, deeplink: recommendation.deeplink, image: recommendation.image.thumbnail, brand: recommendation.brand, imageWidth: this.imageWidth, imageRatio: 1, price: recommendation.price.actual, salePrice: recommendation.price.sale, responsive: this.mode === "grid", dimmedBackground: this.mode === "continuity", index: rank }));
|
|
180
180
|
}
|
|
181
181
|
renderRecommendationGroup(elements) {
|
|
182
182
|
return index.h("div", { class: CONTENT_GROUP_CSS_CLASS }, elements);
|
|
@@ -190,7 +190,7 @@ let VviinnCarousel = class {
|
|
|
190
190
|
: this.renderRecommendationsElements();
|
|
191
191
|
}
|
|
192
192
|
renderRecommendationsElements() {
|
|
193
|
-
return this.recommendations.map((r) => this.renderRecommendation(r));
|
|
193
|
+
return this.recommendations.map((r, i) => this.renderRecommendation(r, i));
|
|
194
194
|
}
|
|
195
195
|
renderGrid() {
|
|
196
196
|
const recommendations = this.renderRecommendationsElements();
|
|
@@ -1097,14 +1097,14 @@ let VviinnVprWidget = class {
|
|
|
1097
1097
|
this.trackingApi = index$2.createTrackingApi(this.apiPath, this.token);
|
|
1098
1098
|
const widgetOpenEvent = index$2.createWidgetVprEvent({
|
|
1099
1099
|
action: "open",
|
|
1100
|
-
|
|
1100
|
+
session_id: this.uiSessionId,
|
|
1101
1101
|
});
|
|
1102
1102
|
this.trackingApi.trackEvent(widgetOpenEvent);
|
|
1103
1103
|
}
|
|
1104
1104
|
disconnectedCallback() {
|
|
1105
1105
|
const widgetCloseEvent = index$2.createWidgetVprEvent({
|
|
1106
1106
|
action: "close",
|
|
1107
|
-
|
|
1107
|
+
session_id: this.uiSessionId,
|
|
1108
1108
|
});
|
|
1109
1109
|
this.trackingApi.trackEvent(widgetCloseEvent);
|
|
1110
1110
|
}
|
|
@@ -1130,7 +1130,6 @@ let VviinnVprWidget = class {
|
|
|
1130
1130
|
this.recommendations = (_a = data === null || data === void 0 ? void 0 : data.extended) !== null && _a !== void 0 ? _a : data;
|
|
1131
1131
|
imageSearch_store.imageSearchState.results = this.recommendations;
|
|
1132
1132
|
this.loaded = true;
|
|
1133
|
-
//this.recommendationsLoaded.emit();
|
|
1134
1133
|
this.productIds = this.recommendations.map((r) => r.productId);
|
|
1135
1134
|
this.productImageLoadedSubject.subscribe((id) => {
|
|
1136
1135
|
this.productIds = this.productIds.filter((x) => x !== id);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-61403ab1.js');
|
|
6
6
|
|
|
7
7
|
const vviinnErrorCss = ":host{background:#F4F4F4;border-radius:8px;display:grid;grid-gap:20px;padding:24px;text-align:center}::slotted(svg){display:grid;align-self:center}::slotted(h4){margin:unset;font-weight:600;font-size:18px;line-height:24px}::slotted(span){font-size:14px;line-height:20px}::slotted(button){-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;color:var(--color-primary, var(--color-primary-system));font-weight:600;font-size:16px;line-height:20px;cursor:pointer}";
|
|
8
8
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const imageSearch_store = require('./imageSearch.store-
|
|
5
|
+
const index = require('./index-61403ab1.js');
|
|
6
|
+
const imageSearch_store = require('./imageSearch.store-076370bf.js');
|
|
7
7
|
require('./Handler-d1a8a86a.js');
|
|
8
8
|
|
|
9
9
|
const vviinnPreloaderCss = ":host{--preloader-size:24px;--preloader-width:calc(var(--preloader-size) / 6);transform-origin:center;-webkit-animation:rotate 3s linear infinite;animation:rotate 3s linear infinite;border:var(--preloader-width) solid white;border-radius:50%;border-top-color:transparent;display:none;outline:0;width:var(--preloader-size);height:var(--preloader-size);box-sizing:border-box}:host(.active){display:flex}@-webkit-keyframes rotate{from{transform:rotate(-360deg)}to{transform:rotate(360deg)}}@keyframes rotate{from{transform:rotate(-360deg)}to{transform:rotate(360deg)}}";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-61403ab1.js');
|
|
6
|
+
const index$1 = require('./index-a87f1a44.js');
|
|
7
7
|
|
|
8
8
|
const recommendationsSidebarCss = ":host{--vviinn-carousel-columns:0;box-sizing:border-box;display:block;display:flex;height:100vh;left:0;position:fixed;top:0;transition:background 0.1s ease-in-out;width:100vw}:host(.open){background:rgba(0, 0, 0, 0.2)}:host(.bottom){flex-direction:column;justify-content:end}:host(.right){flex-direction:row;justify-content:flex-end}header{position:relative;text-align:center;padding:32px}header.contains-source-img{display:grid;justify-items:center;grid-gap:12px}img.source-image{width:64px;height:64px;border-radius:50%;box-shadow:0px 2px 4px rgba(0, 0, 0, 0.15);padding:8px}:host(.right) header{box-shadow:0px 2px 6px rgba(0, 0, 0, 0.1)}main{padding:0 24px}:host(.right) main{overflow:auto}.sidebar{background:white;box-sizing:border-box;display:flex;flex-direction:column}:host(.bottom.idle) .sidebar,:host(.bottom.closed) .sidebar{transform:translateY(100%)}:host(.bottom.closed) .sidebar{-webkit-animation-name:slideOutFromBottom;animation-name:slideOutFromBottom;-webkit-animation-duration:0.5s;animation-duration:0.5s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}:host(.bottom.open) .sidebar{-webkit-animation-name:slideInFromBottom;animation-name:slideInFromBottom;-webkit-animation-duration:0.5s;animation-duration:0.5s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}:host(.right.idle) .sidebar{transform:translateX(100%)}:host(.right.closed) .sidebar{-webkit-animation-name:slideOutFromRight;animation-name:slideOutFromRight;-webkit-animation-duration:0.5s;animation-duration:0.5s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}:host(.right.open) .sidebar{-webkit-animation-name:slideInFromRight;animation-name:slideInFromRight;-webkit-animation-duration:0.5s;animation-duration:0.5s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}:host(.right) .sidebar{max-width:480px}:host(.right) vviinn-vpr-widget::part(recommendations-grid){display:grid;grid-template-columns:repeat(2, 1fr);grid-gap:24px}:host(.right) vviinn-vpr-widget{overflow:auto}:host(.right) vviinn-vpr-widget::part(image){border:none}.title{font-style:normal;font-weight:500;font-size:28px;line-height:40px;text-align:center;color:#000000}vviinn-vpr-widget::part(title),vviinn-vpr-widget::part(brand),vviinn-vpr-widget::part(type){text-align:left}vviinn-vpr-widget::part(price-container){align-self:start}.close-sidebar{background:transparent;border:none;cursor:pointer;margin:0;padding:0;position:absolute;right:24px;top:24px}@-webkit-keyframes slideInFromBottom{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideInFromBottom{from{transform:translateY(100%)}to{transform:translateY(0)}}@-webkit-keyframes slideOutFromBottom{from{transform:translateY(0)}to{transform:translateY(100%)}}@keyframes slideOutFromBottom{from{transform:translateY(0)}to{transform:translateY(100%)}}@-webkit-keyframes slideInFromRight{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes slideInFromRight{from{transform:translateX(100%)}to{transform:translateX(0)}}@-webkit-keyframes slideOutFromRight{from{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes slideOutFromRight{from{transform:translateX(0)}to{transform:translateX(100%)}}";
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-61403ab1.js');
|
|
6
|
+
const index$1 = require('./index-a87f1a44.js');
|
|
7
7
|
|
|
8
8
|
const vviinnVprButtonCss = ":host{display:block}.open-button{align-items:center;background:rgba(255, 255, 255, 0.8);border-radius:50%;border:none;box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15);box-sizing:border-box;cursor:pointer;display:grid;height:40px;justify-items:center;padding:0;width:40px;transition:all 0.25s ease-in-out}.open-button:hover{box-shadow:0px 2px 6px rgba(0, 0, 0, 0.25)}.open-button:focus{border:2px solid rgba(15, 98, 254, 0.5);outline:none}.open-button:active{background:#F4F4F4;outline:none}";
|
|
9
9
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const customizedSlots = require('./customized-slots-
|
|
5
|
+
const index = require('./index-61403ab1.js');
|
|
6
|
+
const index$1 = require('./index-a87f1a44.js');
|
|
7
|
+
const customizedSlots = require('./customized-slots-0aa6c3d6.js');
|
|
8
8
|
|
|
9
9
|
const vviinnVpsButtonCss = ":host{cursor:pointer}";
|
|
10
10
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const imageSearch_store = require('./imageSearch.store-
|
|
7
|
-
const customizedSlots = require('./customized-slots-
|
|
8
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-61403ab1.js');
|
|
6
|
+
const imageSearch_store = require('./imageSearch.store-076370bf.js');
|
|
7
|
+
const customizedSlots = require('./customized-slots-0aa6c3d6.js');
|
|
8
|
+
const index$1 = require('./index-34d20028.js');
|
|
9
9
|
require('./Handler-d1a8a86a.js');
|
|
10
10
|
|
|
11
11
|
const vviinnVpsWidgetCss = ":host{--color-primary-system:#0F62FE;--color-primary-hover-system:#014CDA;--color-icons-system:#2F8EDF;--spacer:8px}:host{display:block}.hidden{visibility:hidden;height:1px}vviinn-overlayed-modal.first-screen::part(title),vviinn-overlayed-modal.first-screen::part(secondary-action){visibility:hidden}.start-page{display:grid;grid-template-columns:repeat(2, 1fr);min-height:580px}.start-page_block{align-content:start;border-right:1px solid #F4F4F4;display:grid;padding:48px}.start-page_block.error{align-content:center}#onboarding-block{border-right:unset;box-sizing:border-box;grid-gap:24px;overflow-y:auto;position:relative;width:100%}vviinn-teaser{margin-bottom:32px;margin-top:-24px}vviinn-image-selector{align-items:center;background:var(--color-primary, var(--color-primary-system));border-color:var(--color-primary, var(--color-primary-system));border-radius:2px;color:white;display:grid;font-size:16px;font-weight:600;height:56px;justify-items:center;margin-bottom:16px;transition:background 0.1s ease-in-out}vviinn-image-selector:hover{background:var(--color-primary-hover, var(--color-primary-hover-system));border-color:var(--color-primary-hover, var(--color-primary-hover-system))}vviinn-image-selector:active{border-color:black}.upload-button-content{display:grid;align-items:center;justify-items:start;justify-content:center;grid-template-columns:-webkit-max-content auto;grid-template-columns:max-content auto;grid-gap:16px}.results-page{display:grid;grid-template-columns:336px auto;box-sizing:border-box}.results-page>*{padding:24px;box-sizing:border-box}.products{align-content:center;align-items:start;box-sizing:border-box;display:grid;grid-gap:32px 16px;grid-template-columns:repeat(auto-fill, minmax(152px, 1fr));justify-items:center;padding:24px;padding-right:0;position:absolute;width:calc(100% - 16px)}.products.hidden{display:none}vviinn-empty-results{width:280px;align-self:center;justify-self:center}.products-wrapper{display:grid;overflow-y:auto;overflow-x:hidden;padding:unset;position:relative;width:100%}.image-wrapper{border-right:1px solid #F4F4F4;display:grid;grid-template-rows:-webkit-min-content 170px;grid-template-rows:min-content 170px;grid-gap:24px;min-width:100%}.onboarding-wrapper{position:absolute;width:100%;padding:48px;box-sizing:border-box;display:grid;grid-gap:64px;padding-bottom:24px}vviinn-product-card{gap:0;width:100%}vviinn-product-card::part(image){border:1px solid #eaeaea;margin-bottom:8px}vviinn-product-card::part(price-container),vviinn-product-card::part(deeplink),vviinn-product-card::part(title){align-self:start}search-filters span{display:none}search-filters::part(filter){background:#F4F4F4;border-radius:4px;border:1px solid #F4F4F4;box-sizing:border-box;color:#161616;font-size:14px;font-weight:600;line-height:20px}search-filters::part(show-more-filters){border:1px solid #f4f4f4;border-radius:4px;box-sizing:border-box;color:#161616;font-size:14px;font-weight:600;line-height:20px;padding:6px 16px}search-filters::part(show-more-filters):hover{background:#EAEAEA}search-filters::part(filter):hover{background:#EAEAEA}search-filters::part(filter):focus{outline:none;border:1px solid var(--color-primary, var(--color-primary-system))}search-filters::part(filter active){background:rgba(15, 98, 254, 0.15);color:var(--color-primary, var(--color-primary-system))}.filters-wrapper{overflow:auto}.results-page:not(.active){display:none}.nothing-found{display:grid;grid-gap:64px;justify-self:center;padding-top:64px;padding-bottom:16px;position:absolute;width:60%}@media (max-width: 768px){.start-page_block{padding:24px}.onboarding-wrapper{padding:24px}}@media (max-width: 640px){.start-page{grid-template-rows:-webkit-min-content;grid-template-rows:min-content;grid-template-columns:unset;grid-gap:48px;padding:24px 0 48px 0}}@media (max-width: 640px) and (min-width: 415px){.onboarding-wrapper{position:unset}#onboarding-block{overflow:unset}.start-page.active{height:1px;overflow:auto}}@media (max-width: 415px){.results-page>*{box-sizing:border-box;padding:24px}vviinn-slide{padding-bottom:48px}.start-page_block:last-of-type{border-right:unset;overflow-y:unset;position:static;box-sizing:border-box;width:unset}.start-page_block{padding:0 24px}vviinn-teaser{margin-top:24px}.onboarding-wrapper{position:static;width:unset;padding:unset;box-sizing:border-box}.results-page{grid-template-columns:unset;grid-template-rows:-webkit-min-content auto;grid-template-rows:min-content auto}.image{margin-bottom:8px}.image-wrapper{grid-template-rows:-webkit-min-content auto;grid-template-rows:min-content auto;width:100%}.products-wrapper{align-content:start;position:static;overflow-y:unset;width:100%;padding-top:0}.products{position:static;padding:0;width:unset;grid-gap:32px 16px;justify-content:center}.nothing-found{position:static;grid-gap:64px;padding:unset;align-content:start;width:unset}}@media (max-width: 320px){.products{grid-template-columns:unset}}vviinn-wrong-format,vviinn-server-error{width:280px;align-self:center;justify-self:center}";
|
|
@@ -30,13 +30,14 @@ let VviinnVpsWidget = class {
|
|
|
30
30
|
if (value) {
|
|
31
31
|
this.overflow = document.body.style.overflow;
|
|
32
32
|
document.body.style.overflow = "hidden";
|
|
33
|
+
this.trackOpenEvent();
|
|
33
34
|
}
|
|
34
35
|
else {
|
|
35
36
|
document.body.style.overflow = this.overflow;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
trackRecommendationView({ detail }) {
|
|
39
|
-
const recommendationViewEvent = index$1.createProductViewVpsEvent(Object.assign({
|
|
40
|
+
const recommendationViewEvent = index$1.createProductViewVpsEvent(Object.assign({ session_id: this.uiSessionId }, detail));
|
|
40
41
|
this.trackingApi.trackEvent(recommendationViewEvent);
|
|
41
42
|
}
|
|
42
43
|
trackRecommendationClick({ detail }) {
|
|
@@ -45,23 +46,23 @@ let VviinnVpsWidget = class {
|
|
|
45
46
|
}
|
|
46
47
|
trachSearchAreaChanges() {
|
|
47
48
|
const searchEvent = index$1.createSearchEvent({
|
|
48
|
-
|
|
49
|
+
session_id: this.uiSessionId,
|
|
49
50
|
source: this.imageSource,
|
|
50
|
-
|
|
51
|
+
search_area: "manual-selection",
|
|
51
52
|
});
|
|
52
53
|
this.trackingApi.trackEvent(searchEvent);
|
|
53
54
|
}
|
|
54
55
|
trackDetectedObject() {
|
|
55
56
|
const searchEvent = index$1.createSearchEvent({
|
|
56
|
-
|
|
57
|
+
session_id: this.uiSessionId,
|
|
57
58
|
source: this.imageSource,
|
|
58
|
-
|
|
59
|
+
search_area: "attention-point",
|
|
59
60
|
});
|
|
60
61
|
this.trackingApi.trackEvent(searchEvent);
|
|
61
62
|
}
|
|
62
63
|
trackFilter({ detail }) {
|
|
63
64
|
const searchEvent = index$1.createFilterEvent({
|
|
64
|
-
|
|
65
|
+
session_id: this.uiSessionId,
|
|
65
66
|
source: this.imageSource,
|
|
66
67
|
kind: "category",
|
|
67
68
|
action: detail,
|
|
@@ -77,17 +78,12 @@ let VviinnVpsWidget = class {
|
|
|
77
78
|
imageSearch_store.state.locale = this.locale;
|
|
78
79
|
imageSearch_store.imageSearchState.token = this.token;
|
|
79
80
|
this.uiSessionId = index$1.v4();
|
|
81
|
+
}
|
|
82
|
+
trackOpenEvent() {
|
|
80
83
|
this.trackingApi = index$1.createTrackingApi(this.apiPath, this.token);
|
|
81
84
|
const widgetOpenEvent = index$1.createWidgetVpsEvent({
|
|
82
85
|
action: "open",
|
|
83
|
-
|
|
84
|
-
});
|
|
85
|
-
this.trackingApi.trackEvent(widgetOpenEvent);
|
|
86
|
-
}
|
|
87
|
-
disconnectedCallback() {
|
|
88
|
-
const widgetOpenEvent = index$1.createWidgetVpsEvent({
|
|
89
|
-
action: "close",
|
|
90
|
-
sessionId: this.uiSessionId,
|
|
86
|
+
session_id: this.uiSessionId,
|
|
91
87
|
});
|
|
92
88
|
this.trackingApi.trackEvent(widgetOpenEvent);
|
|
93
89
|
}
|
|
@@ -103,9 +99,9 @@ let VviinnVpsWidget = class {
|
|
|
103
99
|
}
|
|
104
100
|
trackInitialSearch() {
|
|
105
101
|
const searchEvent = index$1.createSearchEvent({
|
|
106
|
-
|
|
102
|
+
session_id: this.uiSessionId,
|
|
107
103
|
source: this.imageSource,
|
|
108
|
-
|
|
104
|
+
search_area: "full",
|
|
109
105
|
});
|
|
110
106
|
this.trackingApi.trackEvent(searchEvent);
|
|
111
107
|
}
|
|
@@ -135,6 +131,11 @@ let VviinnVpsWidget = class {
|
|
|
135
131
|
this.resetState();
|
|
136
132
|
const elementsToReset = ["onboarding-block", "results-block"];
|
|
137
133
|
elementsToReset.forEach((name) => this.resetScroll(name));
|
|
134
|
+
const widgetOpenEvent = index$1.createWidgetVpsEvent({
|
|
135
|
+
action: "close",
|
|
136
|
+
session_id: this.uiSessionId,
|
|
137
|
+
});
|
|
138
|
+
this.trackingApi.trackEvent(widgetOpenEvent);
|
|
138
139
|
}
|
|
139
140
|
render() {
|
|
140
141
|
return (index.h(index.Host, null, index.h("vviinn-overlayed-modal", { class: { "first-screen": this.slidePosition === 0 }, active: this.active, onSecondaryActionClicked: () => this.resetState(), onModalClosed: () => this.handleModalClose(), exportparts: "secondary-action, title, close-button" }, index.h("vviinn-slider", { showBullets: false, position: this.slidePosition }, index.h("vviinn-slide", { class: { "start-page": true } }, index.h("div", { class: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const appGlobals = require('./app-globals-
|
|
3
|
+
const index = require('./index-61403ab1.js');
|
|
4
|
+
const appGlobals = require('./app-globals-474864e0.js');
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
Stencil Client Patch Browser v2.9.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -168,8 +168,8 @@ export class VviinnCarousel {
|
|
|
168
168
|
"show-scrollbar": this.showScrollbar(),
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
renderRecommendation(recommendation) {
|
|
172
|
-
return (h("vviinn-product-card", { part: "product-part", productId: recommendation.productId, productTitle: recommendation.title, deeplink: recommendation.deeplink, image: recommendation.image.thumbnail, brand: recommendation.brand, imageWidth: this.imageWidth, imageRatio: 1, price: recommendation.price.actual, salePrice: recommendation.price.sale, responsive: this.mode === "grid", dimmedBackground: this.mode === "continuity" }));
|
|
171
|
+
renderRecommendation(recommendation, rank) {
|
|
172
|
+
return (h("vviinn-product-card", { part: "product-part", productId: recommendation.productId, productTitle: recommendation.title, deeplink: recommendation.deeplink, image: recommendation.image.thumbnail, brand: recommendation.brand, imageWidth: this.imageWidth, imageRatio: 1, price: recommendation.price.actual, salePrice: recommendation.price.sale, responsive: this.mode === "grid", dimmedBackground: this.mode === "continuity", index: rank }));
|
|
173
173
|
}
|
|
174
174
|
renderRecommendationGroup(elements) {
|
|
175
175
|
return h("div", { class: CONTENT_GROUP_CSS_CLASS }, elements);
|
|
@@ -183,7 +183,7 @@ export class VviinnCarousel {
|
|
|
183
183
|
: this.renderRecommendationsElements();
|
|
184
184
|
}
|
|
185
185
|
renderRecommendationsElements() {
|
|
186
|
-
return this.recommendations.map((r) => this.renderRecommendation(r));
|
|
186
|
+
return this.recommendations.map((r, i) => this.renderRecommendation(r, i));
|
|
187
187
|
}
|
|
188
188
|
renderGrid() {
|
|
189
189
|
const recommendations = this.renderRecommendationsElements();
|
|
@@ -16,13 +16,13 @@ export class VviinnExampleImages {
|
|
|
16
16
|
h("h3", null, "Mit den Beispielbildern die Suche direkt ausprobieren")),
|
|
17
17
|
h("div", { class: "images" },
|
|
18
18
|
h("slot", { name: "vviinn-example-images-1" },
|
|
19
|
-
h("vviinn-example-image", { width:
|
|
19
|
+
h("vviinn-example-image", { width: 480, height: 640, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDEtTC5qcGc=" })),
|
|
20
20
|
h("slot", { name: "vviinn-example-images-2" },
|
|
21
|
-
h("vviinn-example-image", { width:
|
|
21
|
+
h("vviinn-example-image", { width: 280, height: 480, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDItTS5qcGc=" })),
|
|
22
22
|
h("slot", { name: "vviinn-example-images-3" },
|
|
23
|
-
h("vviinn-example-image", { width:
|
|
23
|
+
h("vviinn-example-image", { width: 280, height: 480, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDMtTS5qcGc=" })),
|
|
24
24
|
h("slot", { name: "vviinn-example-images-4" },
|
|
25
|
-
h("vviinn-example-image", { width:
|
|
25
|
+
h("vviinn-example-image", { width: 480, height: 640, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDQtTC5qcGc=" })))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "vviinn-example-images"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,14 +80,14 @@ export class VviinnVprWidget {
|
|
|
80
80
|
this.trackingApi = createTrackingApi(this.apiPath, this.token);
|
|
81
81
|
const widgetOpenEvent = createWidgetVprEvent({
|
|
82
82
|
action: "open",
|
|
83
|
-
|
|
83
|
+
session_id: this.uiSessionId,
|
|
84
84
|
});
|
|
85
85
|
this.trackingApi.trackEvent(widgetOpenEvent);
|
|
86
86
|
}
|
|
87
87
|
disconnectedCallback() {
|
|
88
88
|
const widgetCloseEvent = createWidgetVprEvent({
|
|
89
89
|
action: "close",
|
|
90
|
-
|
|
90
|
+
session_id: this.uiSessionId,
|
|
91
91
|
});
|
|
92
92
|
this.trackingApi.trackEvent(widgetCloseEvent);
|
|
93
93
|
}
|
|
@@ -113,7 +113,6 @@ export class VviinnVprWidget {
|
|
|
113
113
|
this.recommendations = (_a = data === null || data === void 0 ? void 0 : data.extended) !== null && _a !== void 0 ? _a : data;
|
|
114
114
|
imageSearchState.results = this.recommendations;
|
|
115
115
|
this.loaded = true;
|
|
116
|
-
//this.recommendationsLoaded.emit();
|
|
117
116
|
this.productIds = this.recommendations.map((r) => r.productId);
|
|
118
117
|
this.productImageLoadedSubject.subscribe((id) => {
|
|
119
118
|
this.productIds = this.productIds.filter((x) => x !== id);
|
|
@@ -48,13 +48,14 @@ export class VviinnVpsWidget {
|
|
|
48
48
|
if (value) {
|
|
49
49
|
this.overflow = document.body.style.overflow;
|
|
50
50
|
document.body.style.overflow = "hidden";
|
|
51
|
+
this.trackOpenEvent();
|
|
51
52
|
}
|
|
52
53
|
else {
|
|
53
54
|
document.body.style.overflow = this.overflow;
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
trackRecommendationView({ detail }) {
|
|
57
|
-
const recommendationViewEvent = createProductViewVpsEvent(Object.assign({
|
|
58
|
+
const recommendationViewEvent = createProductViewVpsEvent(Object.assign({ session_id: this.uiSessionId }, detail));
|
|
58
59
|
this.trackingApi.trackEvent(recommendationViewEvent);
|
|
59
60
|
}
|
|
60
61
|
trackRecommendationClick({ detail }) {
|
|
@@ -63,23 +64,23 @@ export class VviinnVpsWidget {
|
|
|
63
64
|
}
|
|
64
65
|
trachSearchAreaChanges() {
|
|
65
66
|
const searchEvent = createSearchEvent({
|
|
66
|
-
|
|
67
|
+
session_id: this.uiSessionId,
|
|
67
68
|
source: this.imageSource,
|
|
68
|
-
|
|
69
|
+
search_area: "manual-selection",
|
|
69
70
|
});
|
|
70
71
|
this.trackingApi.trackEvent(searchEvent);
|
|
71
72
|
}
|
|
72
73
|
trackDetectedObject() {
|
|
73
74
|
const searchEvent = createSearchEvent({
|
|
74
|
-
|
|
75
|
+
session_id: this.uiSessionId,
|
|
75
76
|
source: this.imageSource,
|
|
76
|
-
|
|
77
|
+
search_area: "attention-point",
|
|
77
78
|
});
|
|
78
79
|
this.trackingApi.trackEvent(searchEvent);
|
|
79
80
|
}
|
|
80
81
|
trackFilter({ detail }) {
|
|
81
82
|
const searchEvent = createFilterEvent({
|
|
82
|
-
|
|
83
|
+
session_id: this.uiSessionId,
|
|
83
84
|
source: this.imageSource,
|
|
84
85
|
kind: "category",
|
|
85
86
|
action: detail,
|
|
@@ -95,17 +96,12 @@ export class VviinnVpsWidget {
|
|
|
95
96
|
state.locale = this.locale;
|
|
96
97
|
imageSearchState.token = this.token;
|
|
97
98
|
this.uiSessionId = uuidv4();
|
|
99
|
+
}
|
|
100
|
+
trackOpenEvent() {
|
|
98
101
|
this.trackingApi = createTrackingApi(this.apiPath, this.token);
|
|
99
102
|
const widgetOpenEvent = createWidgetVpsEvent({
|
|
100
103
|
action: "open",
|
|
101
|
-
|
|
102
|
-
});
|
|
103
|
-
this.trackingApi.trackEvent(widgetOpenEvent);
|
|
104
|
-
}
|
|
105
|
-
disconnectedCallback() {
|
|
106
|
-
const widgetOpenEvent = createWidgetVpsEvent({
|
|
107
|
-
action: "close",
|
|
108
|
-
sessionId: this.uiSessionId,
|
|
104
|
+
session_id: this.uiSessionId,
|
|
109
105
|
});
|
|
110
106
|
this.trackingApi.trackEvent(widgetOpenEvent);
|
|
111
107
|
}
|
|
@@ -121,9 +117,9 @@ export class VviinnVpsWidget {
|
|
|
121
117
|
}
|
|
122
118
|
trackInitialSearch() {
|
|
123
119
|
const searchEvent = createSearchEvent({
|
|
124
|
-
|
|
120
|
+
session_id: this.uiSessionId,
|
|
125
121
|
source: this.imageSource,
|
|
126
|
-
|
|
122
|
+
search_area: "full",
|
|
127
123
|
});
|
|
128
124
|
this.trackingApi.trackEvent(searchEvent);
|
|
129
125
|
}
|
|
@@ -153,6 +149,11 @@ export class VviinnVpsWidget {
|
|
|
153
149
|
this.resetState();
|
|
154
150
|
const elementsToReset = ["onboarding-block", "results-block"];
|
|
155
151
|
elementsToReset.forEach((name) => this.resetScroll(name));
|
|
152
|
+
const widgetOpenEvent = createWidgetVpsEvent({
|
|
153
|
+
action: "close",
|
|
154
|
+
session_id: this.uiSessionId,
|
|
155
|
+
});
|
|
156
|
+
this.trackingApi.trackEvent(widgetOpenEvent);
|
|
156
157
|
}
|
|
157
158
|
render() {
|
|
158
159
|
return (h(Host, null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createConfiguration, DefaultApi, servers, } from "
|
|
1
|
+
import { createConfiguration, DefaultApi, servers, } from "vviinn-tracking-client-ts";
|
|
2
2
|
const STAGE_SERVER_IDENTIFIER = "stage";
|
|
3
3
|
export const getTrackingServerByApiPath = (apiPath) => isProductionPath(apiPath) ? servers[0] : servers[1];
|
|
4
4
|
export const isProductionPath = (apiPath) => !apiPath.includes(STAGE_SERVER_IDENTIFIER);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-56c062df.js';
|
|
2
2
|
import { q as getCursorValue } from './Handler-639a4cb3.js';
|
|
3
3
|
|
|
4
4
|
const cropperHandlerCss = ":host{--size:20px;background:transparent;border:4px solid white;box-sizing:content-box;display:block;height:var(--size);touch-action:none;position:absolute;width:var(--size);z-index:4;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.disabled){opacity:0.25}:host(.nw-resize){border-bottom:none;border-right:none;top:0;left:0}:host(.ne-resize){border-left:none;border-bottom:none;right:0;top:0}:host(.sw-resize){border-right:none;border-top:none;left:0;bottom:0}:host(.se-resize){border-left:none;border-top:none;bottom:0;right:0}";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-
|
|
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-
|
|
1
|
+
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-56c062df.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-b516d12e.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-
|
|
5
|
-
import { s as slotChangeListener } from './customized-slots-
|
|
4
|
+
import { c as CheckIcon, O as OnboardingCard1Icon, d as OnboardingCard2Icon, e as OnboardingCard3Icon, A as ArrowIcon } from './index-36978848.js';
|
|
5
|
+
import { s as slotChangeListener } from './customized-slots-863113e2.js';
|
|
6
6
|
|
|
7
7
|
// -------------------------------------------------------------------------------------
|
|
8
8
|
// -------------------------------------------------------------------------------------
|
|
@@ -341,7 +341,7 @@ let VviinnExampleImages = class {
|
|
|
341
341
|
slotChangeListener(this, this.el);
|
|
342
342
|
}
|
|
343
343
|
render() {
|
|
344
|
-
return (h(Host, null, h("slot", { name: "vviinn-example-images-title" }, h("h3", null, "Mit den Beispielbildern die Suche direkt ausprobieren")), h("div", { class: "images" }, h("slot", { name: "vviinn-example-images-1" }, h("vviinn-example-image", { width:
|
|
344
|
+
return (h(Host, null, h("slot", { name: "vviinn-example-images-title" }, h("h3", null, "Mit den Beispielbildern die Suche direkt ausprobieren")), h("div", { class: "images" }, h("slot", { name: "vviinn-example-images-1" }, h("vviinn-example-image", { width: 480, height: 640, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDEtTC5qcGc=" })), h("slot", { name: "vviinn-example-images-2" }, h("vviinn-example-image", { width: 280, height: 480, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDItTS5qcGc=" })), h("slot", { name: "vviinn-example-images-3" }, h("vviinn-example-image", { width: 280, height: 480, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDMtTS5qcGc=" })), h("slot", { name: "vviinn-example-images-4" }, h("vviinn-example-image", { width: 480, height: 640, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDQtTC5qcGc=" })))));
|
|
345
345
|
}
|
|
346
346
|
get el() { return getElement(this); }
|
|
347
347
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as getRenderingRef, f as forceUpdate } from './index-
|
|
1
|
+
import { a as getRenderingRef, f as forceUpdate } from './index-56c062df.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 : {};
|