xv-webcomponents 1.1.23-qa.0 → 1.2.2-staging.0

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.
@@ -77888,7 +77888,7 @@ const Xvfooter = class {
77888
77888
  'Allianz': `xv-footer.data.Allianz.json`,
77889
77889
  'Komsa': `xv-footer.data.Komsa.json`,
77890
77890
  };
77891
- fetch(`http://localhost:3333/assets/data/${envMap[(_a = index$1.getMetaNav()) === null || _a === void 0 ? void 0 : _a.WhitelabelName] || envMap['Xv']}`)
77891
+ fetch(`https://xvsitefinitystorage.blob.core.windows.net/production/components/xv-footer/${envMap[(_a = index$1.getMetaNav()) === null || _a === void 0 ? void 0 : _a.WhitelabelName] || envMap['Xv']}`)
77892
77892
  .then(res => res.json())
77893
77893
  .then((data) => this.data = data)
77894
77894
  .catch(err => console.warn('Failed to fetch footer data:', err));
@@ -77899,7 +77899,7 @@ const Xvfooter = class {
77899
77899
  render() {
77900
77900
  const { categories, socials, logo, legalLinks, payments, partners, advantages } = this.data || {};
77901
77901
  const hasDataLength = ((categories === null || categories === void 0 ? void 0 : categories.length) || (partners === null || partners === void 0 ? void 0 : partners.length) || (payments === null || payments === void 0 ? void 0 : payments.length) || (socials === null || socials === void 0 ? void 0 : socials.length));
77902
- return (index.h("footer", { key: '3bd5cd283f7996b1aeecd2c38e310ef65a0297dd', class: "xv-footer" }, (advantages === null || advantages === void 0 ? void 0 : advantages.length) > 0 && (index.h("div", { key: '4cfe4a401aa807df49f23152ee11db33ee8f4086', class: "xv-footer-advantages" }, index.h("div", { key: '0b248ff331968a41d55a3bc15561b60dc69ec4ef', class: "container" }, this._renderFooterList(advantages, { itemWithLabel: true })))), hasDataLength && (index.h("div", { key: '51b63bbc86800769e1be9d27c8801c4518661089', class: "container" }, index.h("div", { key: 'cb16fc8a07a099e859897f0292de9be9da7c94ae', class: "row xv-footer-y-spacing" }, index.h("div", { key: 'ed72967d90b3e332f5e494f68ab6ce17ec358f5e', class: "col-sm-12 col-md-8" }, index.h("ul", { key: '9d99f3aaf9e330cbf2f4dbc645f26cbc05416746', class: "xv-footer-categories" }, categories === null || categories === void 0 ? void 0 : categories.map((category) => (index.h("li", null, index.h("p", { class: "xv-label-02" }, category.label), index.h("ul", { class: "xv-footer-routes" }, category.routes.map((item) => (index.h("li", null, index.h("a", { class: "xv-body-compact-02", href: item.href, target: item.target }, item.label)))))))))), index.h("div", { key: '2a61dcc79bd7143cea35b2c65d59d8d164bdcd5e', class: "col-sm-12 col-md-3 col-md-push-1" }, this._renderFooterList(partners, { label: 'crossvertise Partner' }), this._renderFooterList(payments, { label: 'Bequem und sicher bezahlen' }), this._renderFooterList(socials, { label: 'Folgen Sie uns', isRow: true }))))), (legalLinks === null || legalLinks === void 0 ? void 0 : legalLinks.length) > 0 && (index.h("div", { key: '87cc82ed91dfe228e17d4fc8782f0fb8ccd4c386', class: "xv-footer-legal" }, index.h("div", { key: '224ea7071628be7e137155187a23156f6fa9ffb6', class: "container" }, index.h("div", { key: 'be94a57ef05d1eccfd718d9b6499b446ec077ea9', class: "xv-footer-legal-row" }, logo && (index.h("a", { key: 'd5f8b21909cc028371a20eacec27f75fe67835c2', class: "xv-footer-logo", href: logo.href, target: logo.target }, logo.label && index.h("span", { key: '616a8022f888e0506a2df585f97d67aa3fe33960', class: "xv-label-02" }, logo.label), index.h("img", { key: 'b3f1b4567f32ad71e8bdd639ca36b23617f8e29b', loading: "lazy", src: logo.image, alt: logo.label }))), index.h("ul", { key: 'dbfcf657c2cd092efe7ea3a1ad37faf42b675dfc' }, legalLinks.map((item) => index.h("li", null, index.h("a", { class: "xv-helper-text-02", href: item.href, target: item.target }, item.label))))))))));
77902
+ return (index.h("footer", { key: '6507a52f4d9224c1536a44968fdfdfefae34cf71', class: "xv-footer" }, (advantages === null || advantages === void 0 ? void 0 : advantages.length) > 0 && (index.h("div", { key: '09d38f95f09353273ed7efb0693d243d7c8820f4', class: "xv-footer-advantages" }, index.h("div", { key: '98e486c51f6ef3b100b98d41b63590a792d7c0bb', class: "container" }, this._renderFooterList(advantages, { itemWithLabel: true })))), hasDataLength && (index.h("div", { key: '2dcaaf4150359dcb91612553a18d42fcb08f4468', class: "container" }, index.h("div", { key: '42f3517d6f96f4a1607fb797487d3f54f3b5c11a', class: "row xv-footer-y-spacing" }, index.h("div", { key: 'e19aa8fb51a88b80f84274fe1353b2d4f03838db', class: "col-sm-12 col-md-8" }, index.h("ul", { key: 'a97e0dab39d2fd9b40c8c23baeb2cf4d511e714e', class: "xv-footer-categories" }, categories === null || categories === void 0 ? void 0 : categories.map((category) => (index.h("li", null, index.h("p", { class: "xv-label-02" }, category.label), index.h("ul", { class: "xv-footer-routes" }, category.routes.map((item) => (index.h("li", null, index.h("a", { class: "xv-body-compact-02", href: item.href, target: item.target }, item.label)))))))))), index.h("div", { key: '80f47e7e9fb09d46d7bcd21efde89a42b248e3d1', class: "col-sm-12 col-md-3 col-md-push-1" }, this._renderFooterList(partners, { label: 'crossvertise Partner' }), this._renderFooterList(payments, { label: 'Bequem und sicher bezahlen' }), this._renderFooterList(socials, { label: 'Folgen Sie uns', isRow: true }))))), (legalLinks === null || legalLinks === void 0 ? void 0 : legalLinks.length) > 0 && (index.h("div", { key: 'f6b494d14f9382ad4e11074abf3e5756925b54ac', class: "xv-footer-legal" }, index.h("div", { key: '2d06f9b114c13d67fcecc1e35d90cdbe3885e643', class: "container" }, index.h("div", { key: '09e6eda064f2ddeb41b68c598e22b2e93b25d367', class: "xv-footer-legal-row" }, logo && (index.h("a", { key: '34907aa59ea5ff8cb3e9427aad2028808e8dcd21', class: "xv-footer-logo", href: logo.href, target: logo.target }, logo.label && index.h("span", { key: 'e43431d7af0da9af5d8913ab3bab01159b902895', class: "xv-label-02" }, logo.label), index.h("img", { key: 'b9b388fcc577ab8d48f008c58aea37e7f0f83295', loading: "lazy", src: logo.image, alt: logo.label }))), index.h("ul", { key: 'e784f4e46ad7d95760c213c88f61f7637cdbede4' }, legalLinks.map((item) => index.h("li", null, index.h("a", { class: "xv-helper-text-02", href: item.href, target: item.target }, item.label))))))))));
77903
77903
  }
77904
77904
  _renderFooterList(items = [], opt) {
77905
77905
  if (!(items === null || items === void 0 ? void 0 : items.length))