xv-webcomponents 1.6.5 → 1.6.6

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.
@@ -78172,13 +78172,13 @@ const XvHeader = class {
78172
78172
  // region ShoppingCart
78173
78173
  _renderShoppingCart() {
78174
78174
  var _a, _b;
78175
- return (index.h("li", null, index.h("xv-link-v2", { href: `${this.baseUrl}/de-de/mycrossvertise/shoppingcart/activecart`, variant: "ghost" }, index.h("xv-button-v2", { variant: "ghost", size: SIZE_VAR.MD }, index.h("i", { class: "header-icon far fa-shopping-cart" }), index.h("span", { class: "header-label" }, "Warenkorb"), index.h("xv-tag-v2", { class: "counter-badge", bg: "var(--icon-interactive, #97BF0D)", color: "var(--text-inverse, #FFF)" }, ((_b = (_a = this.metaNav) === null || _a === void 0 ? void 0 : _a.Cart) === null || _b === void 0 ? void 0 : _b.NumberOfItems) || 0)))));
78175
+ return (index.h("li", null, index.h("xv-link-v2", { href: `${this.baseUrl}/de-de/mycrossvertise/shoppingcart/activecart`, variant: "ghost" }, index.h("xv-button-v2", { variant: "ghost", size: SIZE_VAR.MD }, index.h("i", { class: "header-icon far fa-shopping-cart" }), index.h("span", { class: "header-label" }, "Warenkorb"), index.h("xv-tag-v2", { id: "shopping-cart-items-badge", class: "counter-badge", bg: "var(--icon-interactive, #97BF0D)", color: "var(--text-inverse, #FFF)" }, ((_b = (_a = this.metaNav) === null || _a === void 0 ? void 0 : _a.Cart) === null || _b === void 0 ? void 0 : _b.NumberOfItems) || 0)))));
78176
78176
  }
78177
78177
  // endregion ShoppingCart
78178
78178
  render() {
78179
78179
  var _a, _b, _c, _d, _e;
78180
78180
  const isXvBrand = (((_a = this.metaNav) === null || _a === void 0 ? void 0 : _a['WhitelabelName']) || 'Xv') === 'Xv';
78181
- return (index.h("header", { key: '3083987960ae75b3c6dd188e17f2cbd9259a7799', class: "header" }, index.h("div", { key: '7903a7d2119abde3ed1c76fe59a3345a133137fa', class: "header-wrapper" }, index.h("div", { key: 'de17a283ba588a6186174c0a55345e45d70f3c91', class: "container" }, index.h("div", { key: '033c60ad44c2112c15b7a07143e573de0c843160', class: "header-top" }, index.h("div", { key: 'a61cf9c14a93be3667b6f9ddefc593f008e17a4e', class: "header-top--left" }, index.h("xv-button-v2", { key: 'dd1764f0fef171bb43e808acab92fe533f8ed3ed', class: "menu-btn", variant: "ghost", onClick: this.toggleMobMenu }, index.h("i", { key: 'ed703fdca492ce4345f9a708a6649f7b84bcca7e', slot: "icon-left", class: { 'fa': true, 'fa-times': this.mobMenuOpen, 'fa-bars': !this.mobMenuOpen } })), index.h("a", { key: '2c7d54294c44b8bed354b633a2183c74777ddcab', href: `${window.location.origin}/` }, index.h("picture", { key: '407f00bea842daac9f2ad614ed0c4d68a827123f' }, index.h("source", { key: '10ebce97d743610ed994168e2e5dc86b9ae90df8', srcSet: ((_b = this.metaNav) === null || _b === void 0 ? void 0 : _b.LogoUrl) || 'https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo.svg', media: "(min-width: 990px)" }), index.h("img", { key: '560f193da60a94c784ec746c093b00bdd4851e97', src: ((_c = this.metaNav) === null || _c === void 0 ? void 0 : _c.LogoSmallUrl) || 'https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo-small.svg', onError: this.logoFallback, loading: "lazy", alt: "Crossvertise" }))), this.orgUnit && (index.h("xv-link-v2", { key: 'ce3b8159272462f078e355f990c4f259adbe9b48', class: "header-top--orgUnit", variant: "standalone", href: "/de-de/mycrossvertise" }, this.orgUnit))), index.h("ul", { key: 'a080aa9e03a0bda3fcc23eddead1958927368f89', class: "header-top--right" }, this._renderSearch(), this._renderImpersonationInfo(), !((_d = this.metaNav) === null || _d === void 0 ? void 0 : _d.IsManager) && isXvBrand && (index.h("li", { key: '3304a2ec14ff14586f490a4af3fe3672e10a6421' }, index.h("xv-link-v2", { key: '5b1496bd2467f00feec15539c21666ac22a38630', variant: "ghost", href: "https://www.crossvertise.com/ueber-uns/kontakt" }, index.h("xv-button-v2", { key: '969bcbe97dfef5416f1e8cbaf288c14fb581638c', variant: "ghost", size: SIZE_VAR.MD }, index.h("i", { key: 'aa4776b9b4a2a1b32fdc3c2b9f15364545643325', class: "header-icon far fa-envelope" }), index.h("span", { key: '9a584f8df6e3734dac8e8f45f20d20b1039e67ad', class: "header-label" }, "Kontakt"))))), this._renderNotifications(), this._renderAccount(), !((_e = this.metaNav) === null || _e === void 0 ? void 0 : _e.IsManager) && isXvBrand && (index.h("li", { key: '3b081c10a2e3da85d8e6e41fb437f5e3760e5701' }, index.h("xv-link-v2", { key: '20d9f6a3000ab93bd7665863038a6c1fe80f35a5', variant: "ghost", href: "https://help.crossvertise.com" }, index.h("xv-button-v2", { key: 'af79784cdcaaaf976a6e85585b6ea39383c1aeee', variant: "ghost", size: SIZE_VAR.MD }, index.h("i", { key: 'f298d7ee6d17b30b72dca07edd5ecd0a9a43a416', class: "header-icon far fa-question-circle" }), index.h("span", { key: 'a12d55813b8cdf6241d53209ba2c46eb809563b0', class: "header-label" }, "Hilfe"))))), this._renderShoppingCart())), index.h("xv-mega-menu", { key: 'e7445903ba9732167939ce42f3104a09385b6119', loading: this.loading, open: this.mobMenuOpen, onOpenChange: this.closeMobMenu }))), index.h("xv-login-modal", { key: '608c7eb4ba290a0044a57aa4864935dda4d1295a', visible: this.showLoginModal, onClose: () => this.showLoginModal = false })));
78181
+ return (index.h("header", { key: '6bef89b5f4175ecceedd16b2bd4d3c2390ab89da', class: "header" }, index.h("div", { key: 'bc47879aabae623b08033c8f067c4f85e7be6bce', class: "header-wrapper" }, index.h("div", { key: '33d74d4164655f47e5cdf3230b1f1aa21eeb66da', class: "container" }, index.h("div", { key: 'd32a602a5d7d55f019ca792f54ddf31356b73f73', class: "header-top" }, index.h("div", { key: '2b66859bc39bf8ea33a5b8d017fc2ac1e568c0d0', class: "header-top--left" }, index.h("xv-button-v2", { key: 'c8cb446d7bb40a53e36a244e365c01ad3630549e', class: "menu-btn", variant: "ghost", onClick: this.toggleMobMenu }, index.h("i", { key: 'c48aafe70ee998a470b9e0ee8451d677851eb2c6', slot: "icon-left", class: { 'fa': true, 'fa-times': this.mobMenuOpen, 'fa-bars': !this.mobMenuOpen } })), index.h("a", { key: '18c10c85c116a80082292f62622709171757fc37', href: `${window.location.origin}/` }, index.h("picture", { key: '5a536e68d19f4f11188859926374b076fcfef9a8' }, index.h("source", { key: '0e858fa7f9beb12bbb97d1b00b59b783e30d96a7', srcSet: ((_b = this.metaNav) === null || _b === void 0 ? void 0 : _b.LogoUrl) || 'https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo.svg', media: "(min-width: 990px)" }), index.h("img", { key: '0db5e6457c17e4909a1ee7464486e6b39f84afed', src: ((_c = this.metaNav) === null || _c === void 0 ? void 0 : _c.LogoSmallUrl) || 'https://www.crossvertise.com/ResourcePackages/Bootstrap/assets/dist/images/logo-small.svg', onError: this.logoFallback, loading: "lazy", alt: "Crossvertise" }))), this.orgUnit && (index.h("xv-link-v2", { key: '8595652498bf157c28642a11b5eaef99a2cfa72a', class: "header-top--orgUnit", variant: "standalone", href: "/de-de/mycrossvertise" }, this.orgUnit))), index.h("ul", { key: 'a3884b418709bd514769587906a8bd9382916286', class: "header-top--right" }, this._renderSearch(), this._renderImpersonationInfo(), !((_d = this.metaNav) === null || _d === void 0 ? void 0 : _d.IsManager) && isXvBrand && (index.h("li", { key: '2a36050048fe2d8c3a607ac91b0cee94d055c3ea' }, index.h("xv-link-v2", { key: 'e1409550aebf09dc1d02b695889231c14b7a87e6', variant: "ghost", href: "https://www.crossvertise.com/ueber-uns/kontakt" }, index.h("xv-button-v2", { key: 'b15fdd4a6781026ffedf8865ad5e742410cf6d1f', variant: "ghost", size: SIZE_VAR.MD }, index.h("i", { key: '6ed29bee042278b022f9e8c0f81097773b67dcc1', class: "header-icon far fa-envelope" }), index.h("span", { key: '1378666d739e36f23ed326e5fbfc4378d3fa7ebc', class: "header-label" }, "Kontakt"))))), this._renderNotifications(), this._renderAccount(), !((_e = this.metaNav) === null || _e === void 0 ? void 0 : _e.IsManager) && isXvBrand && (index.h("li", { key: '39bbcde2701250896becd176d3a819c98e916dc2' }, index.h("xv-link-v2", { key: '73cf870a1539f1189eef0a25901392bfa98647aa', variant: "ghost", href: "https://help.crossvertise.com" }, index.h("xv-button-v2", { key: '332ad08cc3c53d507dffe3ac3cab7ab8a3f6922c', variant: "ghost", size: SIZE_VAR.MD }, index.h("i", { key: '833fd183da07413142ec99afabd8217c2347bd98', class: "header-icon far fa-question-circle" }), index.h("span", { key: '375e8459e058d89a387084f187d05bee817050c2', class: "header-label" }, "Hilfe"))))), this._renderShoppingCart())), index.h("xv-mega-menu", { key: '9a179c356cfcedd581b8455ce466d355f4a74c8d', loading: this.loading, open: this.mobMenuOpen, onOpenChange: this.closeMobMenu }))), index.h("xv-login-modal", { key: '9906fe7077768fece976cf16393f58fafbdba8ff', visible: this.showLoginModal, onClose: () => this.showLoginModal = false })));
78182
78182
  }
78183
78183
  get el() { return index.getElement(this); }
78184
78184
  };