vviinn-widgets 2.145.2 → 2.145.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/{package-dca4080a.js → package-730a1e77.js} +1 -1
- package/dist/cjs/search-filters_13.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-carousel_9.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-detected-object_7.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +1 -1
- package/dist/esm/{package-cab234db.js → package-3e67a207.js} +1 -1
- package/dist/esm/search-filters_13.entry.js +1 -1
- package/dist/esm/vviinn-carousel_9.entry.js +1 -1
- package/dist/esm/vviinn-detected-object_7.entry.js +1 -1
- package/dist/esm/vviinn-vps-button.entry.js +1 -1
- package/dist/vviinn-widgets/{p-c3b5fb6c.entry.js → p-35ba411e.entry.js} +1 -1
- package/{www/build/p-80809ed7.entry.js → dist/vviinn-widgets/p-50dd2c96.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-9809b63c.js → p-7524a9f7.js} +1 -1
- package/dist/vviinn-widgets/{p-8aeff66c.entry.js → p-7aa6846a.entry.js} +1 -1
- package/{www/build/p-88892390.entry.js → dist/vviinn-widgets/p-b35b0f1c.entry.js} +1 -1
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/{p-c3b5fb6c.entry.js → p-35ba411e.entry.js} +1 -1
- package/{dist/vviinn-widgets/p-80809ed7.entry.js → www/build/p-50dd2c96.entry.js} +1 -1
- package/www/build/{p-9809b63c.js → p-7524a9f7.js} +1 -1
- package/www/build/{p-8aeff66c.entry.js → p-7aa6846a.entry.js} +1 -1
- package/{dist/vviinn-widgets/p-88892390.entry.js → www/build/p-b35b0f1c.entry.js} +1 -1
- package/www/build/vviinn-widgets.esm.js +1 -1
|
@@ -7,7 +7,7 @@ const search_store = require('./search.store-5d72b491.js');
|
|
|
7
7
|
const customizedSlots = require('./customized-slots-93d9f5c9.js');
|
|
8
8
|
const index$1 = require('./index-de717525.js');
|
|
9
9
|
const Rectangle = require('./Rectangle-99c25901.js');
|
|
10
|
-
const _package = require('./package-
|
|
10
|
+
const _package = require('./package-730a1e77.js');
|
|
11
11
|
const i18next = require('./i18next-74ff3413.js');
|
|
12
12
|
const resources = require('./resources-f8c5d64c.js');
|
|
13
13
|
const index$2 = require('./index-9ea9f6a5.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-711d38e6.js');
|
|
6
6
|
const search_store = require('./search.store-5d72b491.js');
|
|
7
|
-
const _package = require('./package-
|
|
7
|
+
const _package = require('./package-730a1e77.js');
|
|
8
8
|
const index$1 = require('./index-de717525.js');
|
|
9
9
|
const i18next = require('./i18next-74ff3413.js');
|
|
10
10
|
const customizedSlots = require('./customized-slots-93d9f5c9.js');
|
|
@@ -8,7 +8,7 @@ const Rectangle = require('./Rectangle-99c25901.js');
|
|
|
8
8
|
const i18next = require('./i18next-74ff3413.js');
|
|
9
9
|
const WarningIcon = require('./WarningIcon-65f4b692.js');
|
|
10
10
|
const customizedSlots = require('./customized-slots-93d9f5c9.js');
|
|
11
|
-
const _package = require('./package-
|
|
11
|
+
const _package = require('./package-730a1e77.js');
|
|
12
12
|
const index$1 = require('./index-9ea9f6a5.js');
|
|
13
13
|
|
|
14
14
|
const SecondaryActionIcon = () => (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-711d38e6.js');
|
|
6
|
-
const _package = require('./package-
|
|
6
|
+
const _package = require('./package-730a1e77.js');
|
|
7
7
|
const customizedSlots = require('./customized-slots-93d9f5c9.js');
|
|
8
8
|
const constants = require('./constants-0a36f053.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import { s as searchState, k as toFile, _ as _function, l as processSelectedFile
|
|
|
3
3
|
import { s as slotChangeListener, p as productCardSlotNames, v as vprIconSlotName, S as SlotSkeleton } from './customized-slots-790b647b.js';
|
|
4
4
|
import { P as PlusIcon, l as createFilterEvent, c as createTrackingApi, v as v4, m as createResultEventByType, n as createProductWidgetEventByType, g as getCustomLabels, o as createSearchEvent, p as createWidgetVpsEvent } from './index-4bb33163.js';
|
|
5
5
|
import { f as fromImage } from './Rectangle-6e69b807.js';
|
|
6
|
-
import { c as campaignTypeNames, v as version } from './package-
|
|
6
|
+
import { c as campaignTypeNames, v as version } from './package-3e67a207.js';
|
|
7
7
|
import { i as instance } from './i18next-387f2b0a.js';
|
|
8
8
|
import { r as resources } from './resources-d6b679c9.js';
|
|
9
9
|
import { a as productCardParts, m as modalParts, f as filtersParts, b as extendedFiltersParts, s as searchBarParts, c as searchWidgetFilterParts, d as searchWidgetButtonParts } from './index-f39001f9.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-8e1dd483.js';
|
|
2
2
|
import { _ as _function, a as _Array, h as has, t as tuple, s as searchState, c as componentsState, O as Option, S as Semigroup, E as Either, p as pipe, b as chainW, m as makeRequest, f as fromEither, g as getApiPath, d as createInitPostRequest, A as Apply, e as state, T as TaskEither } from './search.store-c897e270.js';
|
|
3
|
-
import { c as campaignTypeNames, f as fromString, a as fold, v as version } from './package-
|
|
3
|
+
import { c as campaignTypeNames, f as fromString, a as fold, v as version } from './package-3e67a207.js';
|
|
4
4
|
import { g as getCustomLabels, P as PlusIcon, v as v4, c as createTrackingApi, a as createAddToBasketVpcEvent, b as createAddToBasketVprEvent, d as createWidgetVpcEvent, e as createWidgetVprEvent, f as createResultVpcEventByType, h as createResultVprEventByType, i as createProductVpcEventByType, j as createProductVprEventByType, k as getRecommendationsBody } from './index-4bb33163.js';
|
|
5
5
|
import { i as instance } from './i18next-387f2b0a.js';
|
|
6
6
|
import { s as slotChangeListener, S as SlotSkeleton } from './customized-slots-790b647b.js';
|
|
@@ -4,7 +4,7 @@ import { a as fromAlt, s as scaleWithSized, c as center } from './Rectangle-6e69
|
|
|
4
4
|
import { i as instance } from './i18next-387f2b0a.js';
|
|
5
5
|
import { W as WarningIcon } from './WarningIcon-f5ee2147.js';
|
|
6
6
|
import { s as slotChangeListener } from './customized-slots-790b647b.js';
|
|
7
|
-
import { c as campaignTypeNames, v as version } from './package-
|
|
7
|
+
import { c as campaignTypeNames, v as version } from './package-3e67a207.js';
|
|
8
8
|
import { m as modalParts } from './index-f39001f9.js';
|
|
9
9
|
|
|
10
10
|
const SecondaryActionIcon = () => (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-8e1dd483.js';
|
|
2
|
-
import { c as campaignTypeNames, v as version } from './package-
|
|
2
|
+
import { c as campaignTypeNames, v as version } from './package-3e67a207.js';
|
|
3
3
|
import { S as SlotSkeleton } from './customized-slots-790b647b.js';
|
|
4
4
|
import { D as DEFAULT_EXAMPLE_IMAGE, f as findSlotElements } from './constants-c2f6bdfe.js';
|
|
5
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as i,c as s,H as h,g as e}from"./p-c3953cbf.js";import{c as n,v as o}from"./p-
|
|
1
|
+
import{h as t,r as i,c as s,H as h,g as e}from"./p-c3953cbf.js";import{c as n,v as o}from"./p-7524a9f7.js";import{S as l}from"./p-43e147d6.js";import{D as a,f as d}from"./p-92c02a9f.js";const C=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18 4H20C22.21 4 24 5.79 24 8V16H22V8C22 6.9 21.1 6 20 6H16.93L16.34 5.11L14.93 3H9.07L7.66 5.11L7.07 6H4C2.9 6 2 6.9 2 8V18C2 19.1 2.9 20 4 20H9V22H4C1.79 22 0 20.21 0 18V8C0 5.79 1.79 4 4 4H6L8 1H16L18 4ZM12 8C14.76 8 17 10.24 17 13L16.99 13.01C16.99 14.02 16.68 14.97 16.16 15.76L20.7 20.3L19.29 21.71L14.75 17.17C13.96 17.69 13.02 18 12 18C9.24 18 7 15.76 7 13C7 10.24 9.24 8 12 8ZM9 13C9 14.65 10.35 16 12 16C13.65 16 15 14.65 15 13C15 11.35 13.65 10 12 10C10.35 10 9 11.35 9 13Z",fill:"#161616"})),r=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M4 8C4 5.79 5.79 4 8 4H9V2H8C4.69 2 2 4.69 2 8V9H4V8Z",fill:"#161616"}),t("path",{d:"M20 8C20 5.79 18.21 4 16 4H15V2H16C19.31 2 22 4.69 22 8V9H20V8Z",fill:"#161616"}),t("path",{d:"M4 16V15H2V16C2 19.31 4.69 22 8 22H9V20H8C5.79 20 4 18.21 4 16Z",fill:"#161616"}),t("path",{d:"M17 12C17 9.24 14.76 7 12 7C9.24 7 7 9.24 7 12C7 14.76 9.24 17 12 17C13.02 17 13.96 16.69 14.75 16.17L19.29 20.71L20.7 19.3L16.16 14.76C16.68 13.97 16.99 13.02 16.99 12.01L17 12ZM12 15C10.35 15 9 13.65 9 12C9 10.35 10.35 9 12 9C13.65 9 15 10.35 15 12C15 13.65 13.65 15 12 15Z",fill:"#161616"})),v=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M4 8C4 5.79 5.79 4 8 4H9V2H8C4.69 2 2 4.69 2 8V9H4V8Z",fill:"#161616"}),t("path",{d:"M4 16V15H2V16C2 19.31 4.69 22 8 22H9V20H8C5.79 20 4 18.21 4 16Z",fill:"#161616"}),t("path",{d:"M20 16C20 18.21 18.21 20 16 20H15V22H16C19.31 22 22 19.31 22 16V15H20V16Z",fill:"#161616"}),t("path",{d:"M16 2H15V4H16C18.21 4 20 5.79 20 8V9H22V8C22 4.69 19.31 2 16 2Z",fill:"#161616"}),t("path",{d:"M17 12C17 9.24 14.76 7 12 7C9.24 7 7 9.24 7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12ZM12 15C10.35 15 9 13.65 9 12C9 10.35 10.35 9 12 9C13.65 9 15 10.35 15 12C15 13.65 13.65 15 12 15Z",fill:"#161616"})),p=class{constructor(t){i(this,t),this.vviinnWidgetLoad=s(this,"vviinnWidgetLoad",7),this.vviinnWidgetOpen=s(this,"vviinnWidgetOpen",7),this.vviinnWidgetClose=s(this,"vviinnWidgetClose",7),this.vviinnImageUpload=s(this,"vviinnImageUpload",7),this.vviinnProductLoad=s(this,"vviinnProductLoad",7),this.vviinnProductClick=s(this,"vviinnProductClick",7),this.vviinnProductView=s(this,"vviinnProductView",7),this.vviinnResultLoad=s(this,"vviinnResultLoad",7),this.vviinnResultView=s(this,"vviinnResultView",7),this.vviinnNoResult=s(this,"vviinnNoResult",7),this.vviinnImageCrop=s(this,"vviinnImageCrop",7),this.vviinnSelectObject=s(this,"vviinnSelectObject",7),this.vviinnSelectFilter=s(this,"vviinnSelectFilter",7),this.globalSlotsChanged=s(this,"globalSlotsChanged",7),this.slots=[],this.getBasicEventData=()=>({widgetType:"VPS",campaignTypeId:"VPS",campaignTypeName:n.VPS,widgetId:this.el.id,widgetVersion:o}),this.token=void 0,this.currencySign="€",this.locale="de-DE",this.campaignId="",this.addStyle=!1,this.mode="modal",this.excluded="",this.productDetailsNewTab=!0,this.productDetailsRedirect=!0,this.imageResolutionWidth=250,this.exampleImageSource=a,this.textSearchShow=!1,this.addToBasketShow=!1,this.favoriteShow=!1,this.oneClickDiscoveryShow=!1,this.oneClickDiscoveryMode=void 0,this.oneClickDiscoveryCampaigns="",this.addPriceContainer=!1,this.apiPath="https://api.vviinn.com",this.useComponentsStore=!1,this.buttonPressed=!1}handleModalClosed({detail:t}){"VPS"===t.widgetType&&(this.buttonPressed=!1)}componentWillLoad(){this.slots=d(this.el)}componentDidLoad(){this.replaceSlotsContent()}replaceSlotsContent(t){this.globalSlotsChanged.emit({slots:Array.from(this.slots),element:this.el}),t&&this.globalSlotsChanged.emit({slots:Array.from(this.slots),element:t})}handleClick(){this.buttonPressed=!0}resetButton(){this.buttonPressed=!1}render(){var i;return t(h,{tabindex:"0",role:"button"},t("vviinn-button",{onClick:()=>{this.handleClick()},addStyle:this.addStyle,part:"vviinn-button"},t("slot",null,t("camera"===this.mode?C:this.textSearchShow?r:v,null))),l("search"),t("vviinn-vps-widget",{mode:this.mode,"currency-sign":this.currencySign,token:this.token,locale:this.locale,apiPath:this.apiPath,campaignId:this.campaignId,showingInButton:!0,buttonPressed:this.buttonPressed,resetVpsButton:this.resetButton.bind(this),buttonElementId:this.el.id,active:this.buttonPressed&&("modal"===this.mode||"camera"===this.mode),excluded:this.excluded,productDetailsNewTab:this.productDetailsNewTab,productDetailsRedirect:this.productDetailsRedirect,imageResolutionWidth:this.imageResolutionWidth,exampleImageSource:this.exampleImageSource,textSearchShow:this.textSearchShow,addToBasketShow:this.addToBasketShow,addPriceContainer:this.addPriceContainer,replaceSlotsContentInButton:this.replaceSlotsContent.bind(this),oneClickDiscoveryShow:null!==(i=this.oneClickDiscoveryShow)&&void 0!==i?i:!!this.oneClickDiscoveryMode,oneClickDiscoveryMode:this.oneClickDiscoveryMode,oneClickDiscoveryCampaigns:this.oneClickDiscoveryCampaigns,favoriteShow:this.favoriteShow,useComponentsStore:this.useComponentsStore,parentSlots:this.slots}))}get el(){return e(this)}};p.style=":host{display:block;line-height:0}";export{p as vviinn_vps_button}
|