xv-webcomponents 1.3.13-qa.0 → 1.3.16-qa.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.
- package/dist/cjs/xv-accordion-v2_45.cjs.entry.js +5 -5
- package/dist/cjs/xv-accordion-v2_45.cjs.entry.js.map +1 -1
- package/dist/collection/components/xv-login-modal/xv-login-modal.js +2 -2
- package/dist/collection/components/xv-login-modal/xv-login-modal.js.map +1 -1
- package/dist/collection/components/xv-mega-menu/xv-mega-menu.js +3 -3
- package/dist/collection/components/xv-mega-menu/xv-mega-menu.js.map +1 -1
- package/dist/esm/xv-accordion-v2_45.entry.js +5 -5
- package/dist/esm/xv-accordion-v2_45.entry.js.map +1 -1
- package/dist/xv-webcomponents/{p-a62b5888.entry.js → p-a9d8d442.entry.js} +2 -2
- package/dist/xv-webcomponents/{p-a62b5888.entry.js.map → p-a9d8d442.entry.js.map} +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/package.json +1 -1
|
@@ -78447,7 +78447,7 @@ const XvLoginModal = class {
|
|
|
78447
78447
|
renderPasswordLogin() {
|
|
78448
78448
|
if (!this.passwordLoginEnabled)
|
|
78449
78449
|
return null;
|
|
78450
|
-
return (index.h("label", { class: "pull-right spacer" }, index.h("a", { href:
|
|
78450
|
+
return (index.h("label", { class: "pull-right spacer" }, index.h("a", { href: `${this.getBaseUrl()}/de-de/mycrossvertise/account/lostpassword` }, "Passwort vergessen?")));
|
|
78451
78451
|
}
|
|
78452
78452
|
renderOAuthProviders() {
|
|
78453
78453
|
return (index.h("div", { class: "row" }, index.h("div", { class: "col-xs-12" }, index.h("div", { class: "col-xs-12" }, index.h("div", { class: "row spacer spacer-bottom" }, index.h("div", { class: "col-xs-5" }, index.h("hr", null)), index.h("div", { class: "col-xs-2 text-center placeholder" }, "oder"), index.h("div", { class: "col-xs-5" }, index.h("hr", null)), index.h("div", { class: "col-xs-12" }, index.h("span", null, "Alternative Anmeldung:")))), index.h("div", { class: "col-sm-12" }, index.h("div", { class: "col-xs-12 no-padding-right" }, index.h("form", { method: "POST", action: `${this.getBaseUrl()}/de-de/mycrossvertise/account/externallogin` }, index.h("div", { class: "row" }, index.h("div", { class: "col-xs-6 col-sm-3 no-padding-left padding-bottom-10 center-cell" }, index.h("button", { type: "submit", style: { maxWidth: '125px' }, name: "provider", class: `cell-content btn btn-primary btn btn-block btn-google-primary btn-primary btn-block`, value: "Google", title: `Mit Google anmelden` }, index.h("i", { class: `fab fa-google pull-left` }), index.h("span", { style: { marginLeft: '5px;' } }, "Google")))), index.h("input", { type: "hidden", name: "BookNow", value: this.bookNow.toString() })))), index.h("div", { class: "col-xs-12" }, index.h("hr", null)), index.h("div", { class: "col-sm-12 text-left" }, index.h("div", { class: "" }, "Neuer Kunde? ", index.h("a", { href: `${this.getBaseUrl()}/de-de/mycrossvertise/account/register` }, "Jetzt kostenlos registrieren!"))))));
|
|
@@ -78464,7 +78464,7 @@ const XvLoginModal = class {
|
|
|
78464
78464
|
return 'https://market.crossvertise.com';
|
|
78465
78465
|
}
|
|
78466
78466
|
else if (hostname.includes('sitefinity-staging.crossvertise.com')) {
|
|
78467
|
-
return 'https://staging
|
|
78467
|
+
return 'https://staging.crossvertise.com';
|
|
78468
78468
|
}
|
|
78469
78469
|
else {
|
|
78470
78470
|
// fallback for local dev or default prod
|
|
@@ -78550,7 +78550,7 @@ const XvMegaMenu = class {
|
|
|
78550
78550
|
const matchedKey = Object.keys(envMap).find(h => hostname.includes(h));
|
|
78551
78551
|
const env = matchedKey ? envMap[matchedKey] : 'qa';
|
|
78552
78552
|
const subdomain = hostname.split('.')[0];
|
|
78553
|
-
const shouldUseBlob = subdomain === 'www' ||
|
|
78553
|
+
const shouldUseBlob = subdomain === 'www' || subdomain === 'sitefinity-qa' || subdomain === 'sitefinity-staging' ||
|
|
78554
78554
|
subdomain === 'market' ||
|
|
78555
78555
|
(['qa', 'staging'].includes(env) && ((_a = index$1.getMetaNav()) === null || _a === void 0 ? void 0 : _a.WhitelabelName) === 'Xv');
|
|
78556
78556
|
let dataUrl = '';
|
|
@@ -78586,13 +78586,13 @@ const XvMegaMenu = class {
|
|
|
78586
78586
|
}
|
|
78587
78587
|
}
|
|
78588
78588
|
render() {
|
|
78589
|
-
return (index.h(index.Host, { key: '
|
|
78589
|
+
return (index.h(index.Host, { key: '4791b480070f8a742fab7a505e915b1f656d4769' }, index.h("nav", { key: 'cb379e25f82998cb1095f3a340f245717e0311e6', class: { 'xv-menu': true, open: this.open } }, this.loading && (index.h("div", { key: '93b079873b7afaf237e185ec7db3f58c075de9c8', class: { 'xv-menu-loader': true, open: this.open } }, index.h("xv-loader-v2", { key: '2a4e3927b78d46081cde1ec06642a8be72bf2324' }))), index.h("ul", { key: 'd21e0a55bc2a369e76215566f626854b3918df04', class: { menu: true, open: this.open } }, this.menuItems.map((menuItem) => {
|
|
78590
78590
|
var _a;
|
|
78591
78591
|
return (index.h("li", { class: { 'menu-item': true, active: menuItem.id === ((_a = this.activeItem) === null || _a === void 0 ? void 0 : _a.id) } }, index.h("p", { class: "menu-item-label", onClick: () => this.setActiveItem(menuItem) }, menuItem === null || menuItem === void 0 ? void 0 : menuItem.label), index.h("ul", { class: "menu-item-groups" }, menuItem.groups.map((group) => {
|
|
78592
78592
|
var _a, _b;
|
|
78593
78593
|
return (index.h("li", { class: { group: true, active: ((_a = this.activeGroup) === null || _a === void 0 ? void 0 : _a.id) === group.id } }, group.label && (index.h("div", { class: "group-label", onClick: () => this.setActiveGroup(group) }, index.h("span", { class: "group-label-text" }, group.label), index.h("span", { class: "group-label-icon" }))), index.h("div", { class: "group-container" }, index.h("div", { class: { 'group-container-absolute': true, noLabel: !group.label && (((_b = menuItem.groups) === null || _b === void 0 ? void 0 : _b.length) || 0) < 2 } }, index.h("div", { class: "group-menus" }, index.h("ul", { class: { 'group-menus-categories': true, inline: group.layout === 'inline' } }, group.categories.map((category) => (index.h("li", { class: "category" }, index.h("p", { class: "category-label" }, category.label), index.h("ul", { class: "category-routes" }, category.routes.map((route) => (index.h("li", { class: "route" }, index.h("xv-link-v2", { size: "lg", variant: "ghost", href: route.route || '#' }, route.label), route.tag && (index.h("xv-tag-v2", { class: "route-tag", size: "sm", color: "#161616", bg: "#E0E0E0" }, route.tag)))))))))), index.h("ul", { class: "group-menus-actions" }, group.actions.map((action) => (index.h("li", { class: "action" }, action.type === 'link' && (index.h("xv-link-v2", { variant: "standalone", href: action === null || action === void 0 ? void 0 : action.url }, action.label, index.h("span", { class: "link-chevron", slot: "icon-right" }, "\u2192"))), action.type === 'button' && index.h("xv-button-v2", { onClick: () => this.navActionClick(action), block: true, variant: "tertiary" }, action.label)))))), (group === null || group === void 0 ? void 0 : group.card) && (index.h("div", { class: "group-card" }, index.h("xv-card-v2", { media: group.card.image, variant: this.isMobile ? 'horizontal' : 'vertical' }, index.h("h5", { slot: "header", class: "group-card-title" }, group.card.title), index.h("p", { slot: "body", class: "group-card-desc" }, group.card.description), group.card.linkLabel && (index.h("xv-link-v2", { slot: "footer", variant: "standalone", href: group.card.linkUrl || '#' }, group.card.linkLabel, index.h("span", { class: "link-chevron", slot: "icon-right" }, "\u2192"))))))))));
|
|
78594
78594
|
}))));
|
|
78595
|
-
}), index.h("li", { key: '
|
|
78595
|
+
}), index.h("li", { key: '21d41fe2afe85673de6540a710f4a07fd7e42df6', class: "menu--right" }, index.h("slot", { key: 'd59ac8d2ffc69ff651e9457282ea5b85bc37495f', name: "menu-right" })), this.open && (index.h("li", { key: 'c867b105c4313934e2331e8f4c9b390ceb746f6e', class: "menu--backdrop", onClick: () => this.handleClose() }))))));
|
|
78596
78596
|
}
|
|
78597
78597
|
get el() { return index.getElement(this); }
|
|
78598
78598
|
};
|