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.
Files changed (97) hide show
  1. package/dist/cjs/highlight-box_22.cjs.entry.js +25 -10
  2. package/dist/cjs/i18next-74ff3413.js +2258 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{package-1c24894e.js → package-fc932371.js} +1 -1
  5. package/dist/cjs/vviinn-carousel_3.cjs.entry.js +86 -65
  6. package/dist/cjs/vviinn-recommendations-sidebar.cjs.entry.js +2 -1
  7. package/dist/cjs/vviinn-vpr-button.cjs.entry.js +4 -2
  8. package/dist/cjs/vviinn-vps-button.cjs.entry.js +1 -1
  9. package/dist/cjs/vviinn-vps-widget.cjs.entry.js +69 -2
  10. package/dist/cjs/vviinn-widgets.cjs.js +1 -1
  11. package/dist/collection/components/vviinn-error/vviinn-empty-results/vviinn-empty-results.js +2 -1
  12. package/dist/collection/components/vviinn-example-images/vviinn-example-images.js +19 -1
  13. package/dist/collection/components/vviinn-modal/vviinn-modal.css +20 -2
  14. package/dist/collection/components/vviinn-modal/vviinn-modal.js +12 -1
  15. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.js +43 -1
  16. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.js +43 -1
  17. package/dist/collection/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.js +43 -1
  18. package/dist/collection/components/vviinn-onboarding/vviinn-onboarding.js +2 -1
  19. package/dist/collection/components/vviinn-privacy-badge/vviinn-privacy-badge.js +25 -1
  20. package/dist/collection/components/vviinn-product-card/stories/vviinn-product-card.stories.js +1 -1
  21. package/dist/collection/components/vviinn-teaser/vviinn-teaser.js +2 -1
  22. package/dist/collection/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.js +24 -1
  23. package/dist/collection/components/vviinn-vpr-button/stories/vviinn-vpr-button.stories.js +5 -1
  24. package/dist/collection/components/vviinn-vpr-button/vviinn-vpr-button.js +29 -4
  25. package/dist/collection/components/vviinn-vpr-widget/stories/vviinn-vpr-widget.stories.js +5 -2
  26. package/dist/collection/components/vviinn-vpr-widget/vviinn-vpr-vidget.js +26 -12
  27. package/dist/collection/components/vviinn-vps-button/stories/vviinn-vps-button.stories.js +3 -0
  28. package/dist/collection/components/vviinn-vps-button/vviinn-vps-button.js +9 -4
  29. package/dist/collection/components/vviinn-vps-widget/stories/vviinn-vps-widget.stories.js +10 -8
  30. package/dist/collection/components/vviinn-vps-widget/vviinn-vps-widget.js +22 -10
  31. package/dist/collection/locale/index.js +1 -0
  32. package/dist/collection/locale/resources-vpr.js +12 -0
  33. package/dist/collection/locale/resources-vps.js +60 -0
  34. package/dist/esm/highlight-box_22.entry.js +25 -10
  35. package/dist/esm/i18next-387f2b0a.js +2256 -0
  36. package/dist/esm/loader.js +1 -1
  37. package/dist/esm/package-e2f2d588.js +3 -0
  38. package/dist/esm/vviinn-carousel_3.entry.js +86 -65
  39. package/dist/esm/vviinn-recommendations-sidebar.entry.js +2 -1
  40. package/dist/esm/vviinn-vpr-button.entry.js +4 -2
  41. package/dist/esm/vviinn-vps-button.entry.js +1 -1
  42. package/dist/esm/vviinn-vps-widget.entry.js +69 -2
  43. package/dist/esm/vviinn-widgets.js +1 -1
  44. package/dist/types/components/vviinn-example-images/vviinn-example-images.d.ts +1 -0
  45. package/dist/types/components/vviinn-modal/vviinn-modal.d.ts +1 -0
  46. package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-1/vviinn-onboarding-card-1.d.ts +2 -0
  47. package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-2/vviinn-onboarding-card-2.d.ts +2 -0
  48. package/dist/types/components/vviinn-onboarding/onboarding-cards/vviinn-onboarding-card-3/vviinn-onboarding-card-3.d.ts +2 -0
  49. package/dist/types/components/vviinn-privacy-badge/vviinn-privacy-badge.d.ts +1 -0
  50. package/dist/types/components/vviinn-vpr-button/recommendations-sidebar/recommendations-sidebar.d.ts +2 -0
  51. package/dist/types/components/vviinn-vpr-button/vviinn-vpr-button.d.ts +5 -2
  52. package/dist/types/components/vviinn-vpr-widget/vviinn-vpr-vidget.d.ts +5 -4
  53. package/dist/types/components/vviinn-vps-button/vviinn-vps-button.d.ts +3 -2
  54. package/dist/types/components/vviinn-vps-widget/vviinn-vps-widget.d.ts +3 -2
  55. package/dist/types/components.d.ts +48 -20
  56. package/dist/types/locale/index.d.ts +1 -0
  57. package/dist/types/locale/resources-vpr.d.ts +2 -0
  58. package/dist/types/locale/resources-vps.d.ts +2 -0
  59. package/dist/vviinn-widgets/p-2e76a5c3.js +1 -0
  60. package/dist/vviinn-widgets/p-51dd5bb7.entry.js +1 -0
  61. package/dist/vviinn-widgets/p-5283bad8.entry.js +1 -0
  62. package/dist/vviinn-widgets/p-643545b1.entry.js +1 -0
  63. package/dist/vviinn-widgets/p-a4d06752.entry.js +1 -0
  64. package/dist/vviinn-widgets/p-c06f6765.entry.js +1 -0
  65. package/dist/vviinn-widgets/p-d99266bf.js +1 -0
  66. package/dist/vviinn-widgets/p-df710209.entry.js +1 -0
  67. package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
  68. package/package.json +3 -2
  69. package/www/build/p-2e76a5c3.js +1 -0
  70. package/www/build/p-51dd5bb7.entry.js +1 -0
  71. package/www/build/p-5283bad8.entry.js +1 -0
  72. package/www/build/p-643545b1.entry.js +1 -0
  73. package/www/build/p-9e468d0a.js +161 -0
  74. package/www/build/p-a4d06752.entry.js +1 -0
  75. package/www/build/p-c06f6765.entry.js +1 -0
  76. package/www/build/p-d99266bf.js +1 -0
  77. package/www/build/p-df710209.entry.js +1 -0
  78. package/www/build/p-e0153ae2.css +6 -0
  79. package/www/build/vviinn-widgets.esm.js +1 -1
  80. package/www/index.html +4 -1
  81. package/dist/esm/package-4909a9ed.js +0 -3
  82. package/dist/vviinn-widgets/p-1aa66c1a.entry.js +0 -1
  83. package/dist/vviinn-widgets/p-4cb106e3.entry.js +0 -1
  84. package/dist/vviinn-widgets/p-637925f0.entry.js +0 -1
  85. package/dist/vviinn-widgets/p-6a189f8f.js +0 -1
  86. package/dist/vviinn-widgets/p-a1c3ccce.entry.js +0 -1
  87. package/dist/vviinn-widgets/p-ab973311.entry.js +0 -1
  88. package/dist/vviinn-widgets/p-e5fbf695.entry.js +0 -1
  89. package/www/build/p-1aa66c1a.entry.js +0 -1
  90. package/www/build/p-3fe5816c.js +0 -1
  91. package/www/build/p-4cb106e3.entry.js +0 -1
  92. package/www/build/p-637925f0.entry.js +0 -1
  93. package/www/build/p-6a189f8f.js +0 -1
  94. package/www/build/p-a1c3ccce.entry.js +0 -1
  95. package/www/build/p-a67898be.css +0 -1
  96. package/www/build/p-ab973311.entry.js +0 -1
  97. 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" }, "Leider nichts gefunden"), index.h("span", { slot: "text" }, "Leider konnten wir keine passenden Produkte finden. Bitte versuche es mit einem anderen Bildausschnitt noch einmal."))));
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, "Mit den Beispielbildern die Suche direkt ausprobieren")), 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 })))));
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;display:flex;padding:16px}.title{font-weight:600;font-size:18px;line-height:24px;margin:0 auto}button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;cursor:pointer;display:grid;padding:unset}@keyframes fade-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes fade-out{from{transform:translateY(0)}to{transform:translateY(100%)}}";
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: "#161616", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), index.h("path", { d: "M10.5 5.25L3.75 12L10.5 18.75", stroke: "#161616", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("div", { class: "title", part: "title" }, index.h("slot", { name: "vviinn-image-search-modal-title" }, "Bildsuche")), 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: "#333333" })))), index.h("div", { class: "body" }, index.h("slot", null))));
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, "So funktioniert es")), index.h("vviinn-slider", { showArrows: true }, index.h("vviinn-slide", null, index.h("vviinn-onboarding-card-1", null)), index.h("vviinn-slide", null, index.h("vviinn-onboarding-card-2", null)), index.h("vviinn-slide", null, index.h("vviinn-onboarding-card-3", 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, "Starte die Bildsuche"), index.h("p", null, "Lade ein Bild aus Deiner Galerie hoch oder fotografiere ein Produkt mit Deiner Kamera.")))));
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, "Verfeiner Deine Suche"), index.h("p", null, "Du kannst den Bildrahmen selber festlegen und so die Produkte genau ausw\u00E4hlen.")))));
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, "Ohne Hintergrund"), index.h("p", null, "Die besten Ergebnisse erh\u00E4ltst Du, wenn das gesuchte Objekt mit einfarbigem und hellem Hintergrund zu sehen ist.")))));
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, "Durch das Hochladen eines Bildes willigst Du in die Verarbeitung durch unseren Partner Vviinn ein. Das Bild wird nach einer Stunde Inaktivit\u00E4t gel\u00F6scht."))))));
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" }, "Finde Produkte auf ", index.h("br", null), " einem Foto")))));
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
  };