vviinn-widgets 2.20.21 → 2.20.29
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/highlight-box_22.cjs.entry.js +25 -10
- package/dist/cjs/i18next-74ff3413.js +2258 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-1c24894e.js → package-fc932371.js} +1 -1
- package/dist/cjs/vviinn-carousel_3.cjs.entry.js +86 -65
- package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +2 -1
- package/dist/cjs/vviinn-vpr-button.cjs.entry.js +4 -2
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vps-widget.cjs.entry.js +69 -2
- package/dist/cjs/vviinn-widgets.cjs.js +1 -1
- package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +2 -1
- package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +19 -1
- package/dist/collection/components/vviinn-modal/vviinn-modal.css +20 -2
- package/dist/collection/components/vviinn-modal/vviinn-modal.js +12 -1
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +43 -1
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +43 -1
- package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +43 -1
- package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +2 -1
- package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +25 -1
- package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js +1 -1
- package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +2 -1
- package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +24 -1
- package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js +5 -1
- package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +29 -4
- package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js +5 -2
- package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +26 -12
- package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +3 -0
- package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +9 -4
- package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js +10 -8
- package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +22 -10
- package/dist/collection/locale/index.js +1 -0
- package/dist/collection/locale/resources-vpr.js +12 -0
- package/dist/collection/locale/resources-vps.js +60 -0
- package/dist/esm/highlight-box_22.entry.js +25 -10
- package/dist/esm/i18next-387f2b0a.js +2256 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/package-e2f2d588.js +3 -0
- package/dist/esm/vviinn-carousel_3.entry.js +86 -65
- package/dist/esm/vviinn-recommendations-sidebar.entry.js +2 -1
- package/dist/esm/vviinn-vpr-button.entry.js +4 -2
- package/dist/esm/vviinn-vps-button.entry.js +1 -1
- package/dist/esm/vviinn-vps-widget.entry.js +69 -2
- package/dist/esm/vviinn-widgets.js +1 -1
- package/dist/types/components/vviinn-example-images/vviinn-example-images.d.ts +1 -0
- package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +1 -0
- package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.d.ts +2 -0
- package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.d.ts +2 -0
- package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.d.ts +2 -0
- package/dist/types/components/vviinn-privacy-badge/vviinn-privacy-badge.d.ts +1 -0
- package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +2 -0
- package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +5 -2
- package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +5 -4
- package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +3 -2
- package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +3 -2
- package/dist/types/components.d.ts +48 -20
- package/dist/types/locale/index.d.ts +1 -0
- package/dist/types/locale/resources-vpr.d.ts +2 -0
- package/dist/types/locale/resources-vps.d.ts +2 -0
- package/dist/vviinn-widgets/p-2e76a5c3.js +1 -0
- package/dist/vviinn-widgets/p-51dd5bb7.entry.js +1 -0
- package/dist/vviinn-widgets/p-5283bad8.entry.js +1 -0
- package/dist/vviinn-widgets/p-643545b1.entry.js +1 -0
- package/dist/vviinn-widgets/p-a4d06752.entry.js +1 -0
- package/dist/vviinn-widgets/p-c06f6765.entry.js +1 -0
- package/dist/vviinn-widgets/p-d99266bf.js +1 -0
- package/dist/vviinn-widgets/p-df710209.entry.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +3 -2
- package/www/build/p-2e76a5c3.js +1 -0
- package/www/build/p-51dd5bb7.entry.js +1 -0
- package/www/build/p-5283bad8.entry.js +1 -0
- package/www/build/p-643545b1.entry.js +1 -0
- package/www/build/p-9e468d0a.js +161 -0
- package/www/build/p-a4d06752.entry.js +1 -0
- package/www/build/p-c06f6765.entry.js +1 -0
- package/www/build/p-d99266bf.js +1 -0
- package/www/build/p-df710209.entry.js +1 -0
- package/www/build/p-e0153ae2.css +6 -0
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/www/index.html +4 -1
- package/dist/esm/package-4909a9ed.js +0 -3
- package/dist/vviinn-widgets/p-1aa66c1a.entry.js +0 -1
- package/dist/vviinn-widgets/p-4cb106e3.entry.js +0 -1
- package/dist/vviinn-widgets/p-637925f0.entry.js +0 -1
- package/dist/vviinn-widgets/p-6a189f8f.js +0 -1
- package/dist/vviinn-widgets/p-a1c3ccce.entry.js +0 -1
- package/dist/vviinn-widgets/p-ab973311.entry.js +0 -1
- package/dist/vviinn-widgets/p-e5fbf695.entry.js +0 -1
- package/www/build/p-1aa66c1a.entry.js +0 -1
- package/www/build/p-3fe5816c.js +0 -1
- package/www/build/p-4cb106e3.entry.js +0 -1
- package/www/build/p-637925f0.entry.js +0 -1
- package/www/build/p-6a189f8f.js +0 -1
- package/www/build/p-a1c3ccce.entry.js +0 -1
- package/www/build/p-a67898be.css +0 -1
- package/www/build/p-ab973311.entry.js +0 -1
- package/www/build/p-e5fbf695.entry.js +0 -1
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-a4becaff.js');
|
|
6
6
|
const imageSearch_store = require('./imageSearch.store-967326bd.js');
|
|
7
7
|
const Handler = require('./Handler-de64afa5.js');
|
|
8
|
+
const i18next = require('./i18next-74ff3413.js');
|
|
8
9
|
const customizedSlots = require('./customized-slots-aee3f39d.js');
|
|
9
10
|
const Campaign = require('./Campaign-778b5b2c.js');
|
|
10
11
|
const index$1 = require('./index-6cfe5293.js');
|
|
@@ -337,7 +338,7 @@ const VviinnEmptyResults = class {
|
|
|
337
338
|
index.registerInstance(this, hostRef);
|
|
338
339
|
}
|
|
339
340
|
render() {
|
|
340
|
-
return (index.h(index.Host, null, index.h("vviinn-error", null, index.h("svg", { slot: "icon", class: "icon", width: "32", height: "32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M16 2a14 14 0 1 0 0 28 14 14 0 0 0 0-28Zm0 26a12 12 0 1 1 0-24 12 12 0 0 1 0 24Z", fill: "#525252" }), index.h("path", { d: "M17 8h-2v11h2V8Zm-1 14a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z", fill: "#525252" })), index.h("h4", { slot: "title" }, "
|
|
341
|
+
return (index.h(index.Host, null, index.h("vviinn-error", null, index.h("svg", { slot: "icon", class: "icon", width: "32", height: "32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M16 2a14 14 0 1 0 0 28 14 14 0 0 0 0-28Zm0 26a12 12 0 1 1 0-24 12 12 0 0 1 0 24Z", fill: "#525252" }), index.h("path", { d: "M17 8h-2v11h2V8Zm-1 14a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z", fill: "#525252" })), index.h("h4", { slot: "title" }, i18next.instance.t("emptyResultsBlock.title")), index.h("span", { slot: "text" }, i18next.instance.t("emptyResultsBlock.text")))));
|
|
341
342
|
}
|
|
342
343
|
};
|
|
343
344
|
VviinnEmptyResults.style = vviinnEmptyResultsCss;
|
|
@@ -386,6 +387,7 @@ const VviinnExampleImages = class {
|
|
|
386
387
|
this.vviinnImageUpload = index.createEvent(this, "vviinnImageUpload", 7);
|
|
387
388
|
this.vviinnNoResult = index.createEvent(this, "vviinnNoResult", 7);
|
|
388
389
|
this.basicEventData = undefined;
|
|
390
|
+
this.exampleImagesTitle = undefined;
|
|
389
391
|
}
|
|
390
392
|
componentWillLoad() {
|
|
391
393
|
customizedSlots.slotChangeListener(this, this.el);
|
|
@@ -396,7 +398,7 @@ const VviinnExampleImages = class {
|
|
|
396
398
|
firstExampleImage.focus();
|
|
397
399
|
}
|
|
398
400
|
render() {
|
|
399
|
-
return (index.h(index.Host, { onFocus: () => this.delegateFocus() }, index.h("slot", { name: "vviinn-example-images-title" }, index.h("h3", null,
|
|
401
|
+
return (index.h(index.Host, { onFocus: () => this.delegateFocus() }, index.h("slot", { name: "vviinn-example-images-title" }, index.h("h3", null, this.exampleImagesTitle)), index.h("div", { class: "images", ref: (el) => (this.imagesBlock = el) }, index.h("slot", { name: "vviinn-example-images-1" }, index.h("vviinn-example-image", { width: 480, height: 640, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDEtTC5qcGc=", basicEventData: this.basicEventData })), index.h("slot", { name: "vviinn-example-images-2" }, index.h("vviinn-example-image", { width: 280, height: 480, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDItTS5qcGc=", basicEventData: this.basicEventData })), index.h("slot", { name: "vviinn-example-images-3" }, index.h("vviinn-example-image", { width: 280, height: 480, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDMtTS5qcGc=", basicEventData: this.basicEventData })), index.h("slot", { name: "vviinn-example-images-4" }, index.h("vviinn-example-image", { width: 480, height: 640, src: "https://cdn.vviinn.com/0/fit/480/0/ce/0/Z3M6Ly9haWFhcy1pbWdwcm94eS9leGFtcGxlcy9pbWctaW5zcGlyYXRpb24tMDQtTC5qcGc=", basicEventData: this.basicEventData })))));
|
|
400
402
|
}
|
|
401
403
|
get el() { return index.getElement(this); }
|
|
402
404
|
};
|
|
@@ -485,7 +487,7 @@ const VviinnImageView = class {
|
|
|
485
487
|
};
|
|
486
488
|
VviinnImageView.style = vviinnImageViewCss;
|
|
487
489
|
|
|
488
|
-
const vviinnModalCss = ":host{background:white;border-radius:4px;box-sizing:border-box;display:grid;grid-template-rows:min-content auto;max-width:960px;overflow:auto}@media (max-width: 640px){:host{animation-name:fade-in;animation-duration:0.5s;animation-fill-mode:forwards}:host(.closed){animation-name:fade-out;animation-fill-mode:none}.body{overflow-y:auto}}.head{align-items:center;border-bottom:1px solid #f4f4f4;
|
|
490
|
+
const vviinnModalCss = ":host{background:white;border-radius:4px;box-sizing:border-box;display:grid;grid-template-rows:min-content auto;max-width:960px;overflow:auto}@media (max-width: 640px){:host{animation-name:fade-in;animation-duration:0.5s;animation-fill-mode:forwards}:host(.closed){animation-name:fade-out;animation-fill-mode:none}.body{overflow-y:auto}}.head{display:flex;align-items:center;border-bottom:1px solid #f4f4f4;padding:16px}.title{display:flex;align-items:center;transform:translateX(-6px);font-weight:600;font-size:18px;line-height:24px;margin:0 auto}.title-image{border-radius:50%;border:1px solid rgb(244, 244, 244);-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;margin-right:8px}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:grid;padding:4px;color:#c6c6c6}button:hover{color:#000}@keyframes fade-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes fade-out{from{transform:translateY(0)}to{transform:translateY(100%)}}";
|
|
489
491
|
|
|
490
492
|
const VviinnModal = class {
|
|
491
493
|
constructor(hostRef) {
|
|
@@ -518,8 +520,14 @@ const VviinnModal = class {
|
|
|
518
520
|
return;
|
|
519
521
|
this.slider = true;
|
|
520
522
|
}
|
|
523
|
+
renderImage() {
|
|
524
|
+
return imageSearch_store._function.pipe(imageSearch_store.sequenceToOption(imageSearch_store.imageSearchState.imageUrl, imageSearch_store.imageSearchState.image), imageSearch_store.Option.map(([url]) => {
|
|
525
|
+
const image = (index.h("img", { width: "32", height: "32", src: url, class: "title-image" }));
|
|
526
|
+
return image;
|
|
527
|
+
}), imageSearch_store.Option.getOrElse(() => null));
|
|
528
|
+
}
|
|
521
529
|
render() {
|
|
522
|
-
return (index.h(index.Host, { exportparts: "secondary-action, title, close-button", class: { closed: !this.active }, onAnimationEnd: (ev) => this.handleAnimationEnd(ev) }, index.h("div", { class: "head" }, !this.hideBackButton && (index.h("button", { part: "secondary-action", onClick: () => this.resetState() }, index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M20.25 12H3.75", stroke: "
|
|
530
|
+
return (index.h(index.Host, { exportparts: "secondary-action, title, close-button", class: { closed: !this.active }, onAnimationEnd: (ev) => this.handleAnimationEnd(ev) }, index.h("div", { class: "head" }, !this.hideBackButton && (index.h("button", { part: "secondary-action", onClick: () => this.resetState() }, index.h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M20.25 12H3.75", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("path", { d: "M10.5 5.25L3.75 12L10.5 18.75", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("div", { class: "title", part: "title" }, this.renderImage(), index.h("slot", { name: "vviinn-image-search-modal-title" }, i18next.instance.t("imageSearchModalTitle"))), index.h("button", { onClick: () => this.close(), class: "close-button", part: "close-button" }, index.h("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M16 1.4L14.6 0L8 6.6L1.4 0L0 1.4L6.6 8L0 14.6L1.4 16L8 9.4L14.6 16L16 14.6L9.4 8L16 1.4Z", fill: "currentColor" })))), index.h("div", { class: "body" }, index.h("slot", null))));
|
|
523
531
|
}
|
|
524
532
|
get el() { return index.getElement(this); }
|
|
525
533
|
};
|
|
@@ -535,7 +543,7 @@ const VviinnOnboarding = class {
|
|
|
535
543
|
customizedSlots.slotChangeListener(this, this.el);
|
|
536
544
|
}
|
|
537
545
|
render() {
|
|
538
|
-
return (index.h(index.Host, null, index.h("slot", { name: "vviinn-onboarding-title" }, index.h("h3", null, "
|
|
546
|
+
return (index.h(index.Host, null, index.h("slot", { name: "vviinn-onboarding-title" }, index.h("h3", null, i18next.instance.t("onboardingBlock.onboardingTitleText"))), index.h("vviinn-slider", { showArrows: true }, index.h("vviinn-slide", null, index.h("vviinn-onboarding-card-1", { cardTitle: i18next.instance.t("onboardingBlock.onboardingCard1.title"), cardText: i18next.instance.t("onboardingBlock.onboardingCard1.text") })), index.h("vviinn-slide", null, index.h("vviinn-onboarding-card-2", { cardTitle: i18next.instance.t("onboardingBlock.onboardingCard2.title"), cardText: i18next.instance.t("onboardingBlock.onboardingCard2.text") })), index.h("vviinn-slide", null, index.h("vviinn-onboarding-card-3", { cardTitle: i18next.instance.t("onboardingBlock.onboardingCard3.title"), cardText: i18next.instance.t("onboardingBlock.onboardingCard3.text") })))));
|
|
539
547
|
}
|
|
540
548
|
get el() { return index.getElement(this); }
|
|
541
549
|
};
|
|
@@ -546,12 +554,14 @@ const onboardingCardCss$2 = ":host{align-items:center;background:#f4f4f4;display
|
|
|
546
554
|
const VviinnOnboardingCard1 = class {
|
|
547
555
|
constructor(hostRef) {
|
|
548
556
|
index.registerInstance(this, hostRef);
|
|
557
|
+
this.cardTitle = undefined;
|
|
558
|
+
this.cardText = undefined;
|
|
549
559
|
}
|
|
550
560
|
componentWillLoad() {
|
|
551
561
|
customizedSlots.slotChangeListener(this, this.el);
|
|
552
562
|
}
|
|
553
563
|
render() {
|
|
554
|
-
return (index.h(index.Host, null, index.h("slot", { name: "onboarding-card-1-icon" }, index.h(index$1.OnboardingCard1Icon, null)), index.h("slot", { name: "onboarding-card-1-text" }, index.h("div", { class: "text" }, index.h("h4", null,
|
|
564
|
+
return (index.h(index.Host, null, index.h("slot", { name: "onboarding-card-1-icon" }, index.h(index$1.OnboardingCard1Icon, null)), index.h("slot", { name: "onboarding-card-1-text" }, index.h("div", { class: "text" }, index.h("h4", null, this.cardTitle), index.h("p", null, this.cardText)))));
|
|
555
565
|
}
|
|
556
566
|
get el() { return index.getElement(this); }
|
|
557
567
|
};
|
|
@@ -562,12 +572,14 @@ const onboardingCardCss$1 = ":host{align-items:center;background:#f4f4f4;display
|
|
|
562
572
|
const VviinnOnboardingCard2 = class {
|
|
563
573
|
constructor(hostRef) {
|
|
564
574
|
index.registerInstance(this, hostRef);
|
|
575
|
+
this.cardTitle = undefined;
|
|
576
|
+
this.cardText = undefined;
|
|
565
577
|
}
|
|
566
578
|
componentWillLoad() {
|
|
567
579
|
customizedSlots.slotChangeListener(this, this.el);
|
|
568
580
|
}
|
|
569
581
|
render() {
|
|
570
|
-
return (index.h(index.Host, null, index.h("slot", { name: "onboarding-card-2-icon" }, index.h(index$1.OnboardingCard2Icon, null)), index.h("slot", { name: "onboarding-card-2-text" }, index.h("div", { class: "text" }, index.h("h4", null,
|
|
582
|
+
return (index.h(index.Host, null, index.h("slot", { name: "onboarding-card-2-icon" }, index.h(index$1.OnboardingCard2Icon, null)), index.h("slot", { name: "onboarding-card-2-text" }, index.h("div", { class: "text" }, index.h("h4", null, this.cardTitle), index.h("p", null, this.cardText)))));
|
|
571
583
|
}
|
|
572
584
|
get el() { return index.getElement(this); }
|
|
573
585
|
};
|
|
@@ -578,12 +590,14 @@ const onboardingCardCss = ":host{align-items:center;background:#f4f4f4;display:g
|
|
|
578
590
|
const VviinnOnboardingCard3 = class {
|
|
579
591
|
constructor(hostRef) {
|
|
580
592
|
index.registerInstance(this, hostRef);
|
|
593
|
+
this.cardTitle = undefined;
|
|
594
|
+
this.cardText = undefined;
|
|
581
595
|
}
|
|
582
596
|
componentWillLoad() {
|
|
583
597
|
customizedSlots.slotChangeListener(this, this.el);
|
|
584
598
|
}
|
|
585
599
|
render() {
|
|
586
|
-
return (index.h(index.Host, null, index.h("slot", { name: "onboarding-card-3-icon" }, index.h(index$1.OnboardingCard3Icon, null)), index.h("slot", { name: "onboarding-card-3-text" }, index.h("div", { class: "text" }, index.h("h4", null,
|
|
600
|
+
return (index.h(index.Host, null, index.h("slot", { name: "onboarding-card-3-icon" }, index.h(index$1.OnboardingCard3Icon, null)), index.h("slot", { name: "onboarding-card-3-text" }, index.h("div", { class: "text" }, index.h("h4", null, this.cardTitle), index.h("p", null, this.cardText)))));
|
|
587
601
|
}
|
|
588
602
|
get el() { return index.getElement(this); }
|
|
589
603
|
};
|
|
@@ -624,12 +638,13 @@ const vviinnPrivacyBadgeCss = ":host{display:block;background:#F4F4F4;padding:17
|
|
|
624
638
|
const VviinnPrivacyBadge = class {
|
|
625
639
|
constructor(hostRef) {
|
|
626
640
|
index.registerInstance(this, hostRef);
|
|
641
|
+
this.privacyBadgeText = undefined;
|
|
627
642
|
}
|
|
628
643
|
componentWillLoad() {
|
|
629
644
|
customizedSlots.slotChangeListener(this, this.el);
|
|
630
645
|
}
|
|
631
646
|
render() {
|
|
632
|
-
return (index.h(index.Host, null, index.h("slot", null, index.h("div", { class: "content" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" }, index.h("defs", null), index.h("path", { fill: "#525252", d: "M8.5 11V7h-2v1h1v3H6v1h4v-1H8.5zM8 4a.75.75 0 100 1.5A.75.75 0 008 4z" }), index.h("path", { fill: "#525252", d: "M8 15A7 7 0 118 1a7 7 0 010 14zM8 2a6 6 0 100 12A6 6 0 008 2z" })), index.h("slot", { name: "vviinn-privacy-badge-text" }, index.h("p", null,
|
|
647
|
+
return (index.h(index.Host, null, index.h("slot", null, index.h("div", { class: "content" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" }, index.h("defs", null), index.h("path", { fill: "#525252", d: "M8.5 11V7h-2v1h1v3H6v1h4v-1H8.5zM8 4a.75.75 0 100 1.5A.75.75 0 008 4z" }), index.h("path", { fill: "#525252", d: "M8 15A7 7 0 118 1a7 7 0 010 14zM8 2a6 6 0 100 12A6 6 0 008 2z" })), index.h("slot", { name: "vviinn-privacy-badge-text" }, index.h("p", null, this.privacyBadgeText))))));
|
|
633
648
|
}
|
|
634
649
|
get el() { return index.getElement(this); }
|
|
635
650
|
};
|
|
@@ -792,7 +807,7 @@ const VviinnTeaser = class {
|
|
|
792
807
|
customizedSlots.slotChangeListener(this, this.el);
|
|
793
808
|
}
|
|
794
809
|
render() {
|
|
795
|
-
return (index.h(index.Host, null, index.h("slot", null, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "64", height: "64", fill: "none" }, index.h("defs", null), index.h("path", { fill: "#C6C6C6", d: "M48 28a11.98 11.98 0 00-9.77 18.942L28 57.172 30.828 60l10.23-10.23A11.994 11.994 0 1048 28zm0 20a8 8 0 118-8 8.009 8.009 0 01-8 8zM34 24a6 6 0 10-6-6 6.006 6.006 0 006 6zm0-8a2 2 0 110 4 2 2 0 010-4z" }), index.h("path", { fill: "#C6C6C6", d: "M24 48H8V35.993L18 26l11.172 11.172L32 34.336 20.828 23.165a4 4 0 00-5.656 0L8 30.336V8h40v12h4V8a4.004 4.004 0 00-4-4H8a4.004 4.004 0 00-4 4v40a4.005 4.005 0 004 4h16v-4z" })), index.h("span", { class: "vviinn-teaser-text" }, index.h("slot", { name: "vviinn-teaser-text" }, "
|
|
810
|
+
return (index.h(index.Host, null, index.h("slot", null, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "64", height: "64", fill: "none" }, index.h("defs", null), index.h("path", { fill: "#C6C6C6", d: "M48 28a11.98 11.98 0 00-9.77 18.942L28 57.172 30.828 60l10.23-10.23A11.994 11.994 0 1048 28zm0 20a8 8 0 118-8 8.009 8.009 0 01-8 8zM34 24a6 6 0 10-6-6 6.006 6.006 0 006 6zm0-8a2 2 0 110 4 2 2 0 010-4z" }), index.h("path", { fill: "#C6C6C6", d: "M24 48H8V35.993L18 26l11.172 11.172L32 34.336 20.828 23.165a4 4 0 00-5.656 0L8 30.336V8h40v12h4V8a4.004 4.004 0 00-4-4H8a4.004 4.004 0 00-4 4v40a4.005 4.005 0 004 4h16v-4z" })), index.h("span", { class: "vviinn-teaser-text" }, index.h("slot", { name: "vviinn-teaser-text" }, i18next.instance.t("teaserText_1"), index.h("br", null), i18next.instance.t("teaserText_2"))))));
|
|
796
811
|
}
|
|
797
812
|
get el() { return index.getElement(this); }
|
|
798
813
|
};
|