xv-webcomponents 1.17.19-dev.0 → 1.17.21-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/loader.cjs.js +1 -1
- package/dist/cjs/maplibre-gl-MCSOKSuo.js +870 -0
- package/dist/cjs/{xv-accordion-v2_48.cjs.entry.js → xv-accordion-v2_49.cjs.entry.js} +457 -56
- package/dist/cjs/xv-header-next.cjs.entry.js +1 -1
- package/dist/cjs/xv-mega-menu-next.cjs.entry.js +2 -2
- package/dist/cjs/xv-webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/xv-accordion/xv-accordion.js +1 -1
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +1 -1
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +1 -1
- package/dist/collection/components/xv-button/xv-button.js +2 -2
- package/dist/collection/components/xv-button-group/xv-button-group.js +1 -1
- package/dist/collection/components/xv-card/xv-card.js +1 -1
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +2 -2
- package/dist/collection/components/xv-content-switcher/xv-content-switcher-item/xv-content-switcher-item.js +1 -1
- package/dist/collection/components/xv-content-switcher/xv-content-switcher.js +2 -2
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +1 -1
- package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.js +1 -1
- package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js +2 -2
- package/dist/collection/components/xv-data-table/xv-data-table.js +1 -1
- package/dist/collection/components/xv-datepicker/xv-datepicker.js +2 -2
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +1 -1
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +1 -1
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +1 -1
- package/dist/collection/components/xv-footer/xv-footer.js +1 -1
- package/dist/collection/components/xv-geo-map/xv-geo-map.css +866 -0
- package/dist/collection/components/xv-geo-map/xv-geo-map.js +790 -0
- package/dist/collection/components/xv-header/xv-header.js +1 -1
- package/dist/collection/components/xv-header-next/xv-header-next.js +1 -1
- package/dist/collection/components/xv-image-viewer/xv-image-viewer.js +1 -1
- package/dist/collection/components/xv-link/xv-link.js +1 -1
- package/dist/collection/components/xv-mega-menu/xv-mega-menu.js +2 -2
- package/dist/collection/components/xv-mega-menu-next/xv-mega-menu-next.js +2 -2
- package/dist/collection/components/xv-modal/xv-modal.js +1 -1
- package/dist/collection/components/xv-notification/xv-notification.js +1 -1
- package/dist/collection/components/xv-number-input/xv-number-input.js +2 -2
- package/dist/collection/components/xv-pagination/xv-pagination.js +1 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +1 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +1 -1
- package/dist/collection/components/xv-radio/xv-radio.js +2 -2
- package/dist/collection/components/xv-slider/xv-slider.js +1 -1
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +1 -1
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +1 -1
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +1 -1
- package/dist/collection/components/xv-table/xv-table.js +1 -1
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +1 -1
- package/dist/collection/components/xv-tag/xv-tag.js +1 -1
- package/dist/collection/components/xv-tag-combobox/xv-tag-combobox.js +2 -2
- package/dist/collection/components/xv-text-input/xv-text-input.js +2 -2
- package/dist/collection/components/xv-textarea/xv-textarea.js +2 -2
- package/dist/collection/components/xv-tile/xv-tile.js +2 -2
- package/dist/collection/components/xv-toggle/xv-toggle.js +1 -1
- package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +1 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/maplibre-gl-CT7CGYe6.js +813 -0
- package/dist/esm/maplibre-gl-shared.mjs +6 -0
- package/dist/esm/maplibre-gl-worker.mjs +6 -0
- package/dist/esm/{xv-accordion-v2_48.entry.js → xv-accordion-v2_49.entry.js} +457 -57
- package/dist/esm/xv-header-next.entry.js +1 -1
- package/dist/esm/xv-mega-menu-next.entry.js +2 -2
- package/dist/esm/xv-webcomponents.js +1 -1
- package/dist/types/components/xv-geo-map/xv-geo-map.d.ts +90 -0
- package/dist/types/components.d.ts +193 -0
- package/dist/xv-webcomponents/{p-6d4d397f.entry.js → p-3c3179fb.entry.js} +2 -2
- package/dist/xv-webcomponents/{p-38e5f1e1.entry.js → p-597b353d.entry.js} +1 -1
- package/dist/xv-webcomponents/p-CT7CGYe6.js +9 -0
- package/dist/xv-webcomponents/{p-7e05cb50.entry.js → p-ef3c818d.entry.js} +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/package.json +2 -1
|
@@ -199,7 +199,7 @@ const XvHeaderNext = class {
|
|
|
199
199
|
render() {
|
|
200
200
|
var _a, _b, _c, _d, _e;
|
|
201
201
|
const isXvBrand = (((_a = this.metaNav) === null || _a === void 0 ? void 0 : _a['WhitelabelName']) || 'Xv') === 'Xv';
|
|
202
|
-
return (index.h("header", { key: '
|
|
202
|
+
return (index.h("header", { key: 'b48d214490edf361f6b220fc090f8e6c2b99c884', class: "header" }, index.h("div", { key: 'e6d9650216645d75192afe10b51ba5e69d2c1f9d', class: "header-wrapper" }, index.h("div", { key: '7ab68479cdbd55d094ea69a1bbe9b51ae6127d00', class: "xv-container" }, index.h("div", { key: '556084e4d6872c1509a6ba18ca681e7a6e6a9c2d', class: "header-top" }, index.h("div", { key: '1384409e66e06ece431f3007368aa9aef540e379', class: "header-top--left" }, index.h("xv-button-v2", { key: 'f61b2d4889ebd8b4018280b061d22114127ffb4b', class: "menu-btn", variant: "ghost", onClick: this.toggleMobMenu }, index.h("i", { key: '549dae7f03a491d3943bd6dc1a72951fd59ac05c', slot: "icon-left", class: { 'fa': true, 'fa-times': this.mobMenuOpen, 'fa-bars': !this.mobMenuOpen } })), this.metaNav && (index.h("a", { key: 'c0c7242adb9062f294d430be652da3a7b37bd720', href: `${window.location.origin}/` }, index.h("picture", { key: '3ac09f13010be81b9f129611f58fa350aae2f2af' }, index.h("source", { key: 'cf8ad754d3252932ffd1d440c67aa2d66db3f549', 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: 'a06b1a3166a14611bc57644f15fd05a0f2ea0f0d', 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: '0d6aad9664a46cc81e4cd42bc106bd6e888384d1', class: "header-top--orgUnit", variant: "standalone", href: "/de-de/mycrossvertise" }, this.orgUnit))), index.h("ul", { key: '6f26891bc4b4129c6e6d9e382f536bed2f2dd3c5', class: "header-top--right" }, this._renderLocaleSwitcher(), this._renderSearch(), this._renderImpersonationInfo(), !((_d = this.metaNav) === null || _d === void 0 ? void 0 : _d.IsManager) && isXvBrand && (index.h("li", { key: '277dff306742d2f6ea5b7b7cee18e11d62d709e7' }, index.h("xv-link-v2", { key: '3c89ce7a5b8cf42198095fddf93ea460ca988133', variant: "ghost", href: "https://www.crossvertise.com/ueber-uns/kontakt" }, index.h("xv-button-v2", { key: 'a0db3b7ced4bbddb3adb088b7de4500fc0921ac6', variant: "ghost", size: _vars.SIZE_VAR.MD }, index.h("i", { key: '0f53ebb374def8c4c5c165e05ed813c38f2f699d', class: "header-icon far fa-envelope" }), index.h("span", { key: '67a185f4b3c8857e0622854f334850e243848ac4', class: "header-label xv-body-02" }, "Kontakt"))))), this._renderNotifications(), this._renderAccount(), !((_e = this.metaNav) === null || _e === void 0 ? void 0 : _e.IsManager) && isXvBrand && (index.h("li", { key: '29df440d481a46a48a4cc3e4b70f69a8c19343e0' }, index.h("xv-link-v2", { key: 'fa87f67701f3a0993ef500faf47e2a9cc461da2b', variant: "ghost", href: "https://help.crossvertise.com" }, index.h("xv-button-v2", { key: '77ec0195733c7b667b3d9bd7d0d626a0398dc1da', variant: "ghost", size: _vars.SIZE_VAR.MD }, index.h("i", { key: '47bed8e829f09b4c42be180a1af6cfa90c69e101', class: "header-icon far fa-question-circle" }), index.h("span", { key: '159caad49c07fc597869aa7a9fc6dd6f2412e75f', class: "header-label xv-body-02" }, "Hilfe"))))), this._renderShoppingCart()))), index.h("div", { key: 'd3ca6bb6db99be78d201c9661e144050673aeae8', class: "header-wrapper--bg" }, index.h("div", { key: '91f9ed0d8d7b4ffd00f0930b4b475a2c205b385a', class: "xv-container" }, index.h("xv-mega-menu-next", { key: '3d0de4a89e30fbc2f0179cab5cad1e9168ad4c09', open: this.mobMenuOpen, onOpenChange: this.closeMobMenu, menuData: this.menuData })))), index.h("xv-login-modal", { key: 'b643719acdc9d2b0c6ca854af2b329eb134fd4b9', visible: this.showLoginModal, onClose: () => this.showLoginModal = false })));
|
|
203
203
|
}
|
|
204
204
|
get el() { return index.getElement(this); }
|
|
205
205
|
};
|
|
@@ -90,7 +90,7 @@ const XvMegaMenuNext = class {
|
|
|
90
90
|
void this.fetchMenuData();
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (index.h(index.Host, { key: '
|
|
93
|
+
return (index.h(index.Host, { key: '7512e8b076400cb8163521fc52d1a49d59f8e89a' }, index.h("nav", { key: '1d815a36703d31151cb8f5a3e0842d18292b4d07', class: { 'xv-menu': true, open: this.open } }, this.menuLoading && (index.h("div", { key: '0124dc0c4a86e598e0c0e0bb37eccbbaa85cfc23', class: { 'xv-menu-loader': true, open: this.open } }, index.h("xv-loader-v2", { key: 'cff56f8f8afc4c1cfad991bbb2f7ca607f8a1980' }))), index.h("ul", { key: 'aa95a547fd396875b8c5019aaa31f7bc3c309bec', class: { menu: true, open: this.open } }, this.menuItems.map((menuItem) => {
|
|
94
94
|
var _a, _b;
|
|
95
95
|
return (index.h("li", { class: { 'menu-item': true, active: menuItem.id === ((_a = this.activeItem) === null || _a === void 0 ? void 0 : _a.id) } }, menuItem.route ? (index.h("xv-link-v2", { variant: "ghost", href: menuItem.route.route }, index.h("p", { class: "menu-item-label" }, (_b = menuItem.route) === null || _b === void 0 ? void 0 : _b.label))) : (index.h(index.Fragment, null, 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) => {
|
|
96
96
|
var _a;
|
|
@@ -100,7 +100,7 @@ const XvMegaMenuNext = class {
|
|
|
100
100
|
} }, 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' &&
|
|
101
101
|
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: this.applicationContext !== 'Komsa' ? group.card.image : undefined, 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"))))))))));
|
|
102
102
|
}))))));
|
|
103
|
-
}), index.h("li", { key: '
|
|
103
|
+
}), index.h("li", { key: 'af4f90f476c9802a95ec3c3bd46f3bdbe07ea03b', class: "menu--right" }, index.h("slot", { key: '0647716dc6c564cd3b1d3a7558f91cf88216d587', name: "menu-right" })), this.open && (index.h("li", { key: '4c2e4d8e40dec525c15e51a5c85ed080499329e2', class: "menu--backdrop", onClick: () => this.handleClose() }))))));
|
|
104
104
|
}
|
|
105
105
|
get el() { return index.getElement(this); }
|
|
106
106
|
static get watchers() { return {
|
|
@@ -18,7 +18,7 @@ var patchBrowser = () => {
|
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(async (options) => {
|
|
20
20
|
await index.globalScripts();
|
|
21
|
-
return index.bootstrapLazy([["xv-accordion-v2_48.cjs",[[0,"xv-header",{"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]],[257,"xv-dropdown-v2",{"search":[516],"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"readonly":[516],"open":[1540],"error":[520],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"info":[1],"searchPlaceholder":[1,"search-placeholder"],"size":[1],"defaultValue":[8,"default-value"],"value":[1032],"variant":[1],"position":[1],"selected":[32],"selectedMap":[32],"resolvedPosition":[32]},[[0,"itemSelected","handleItemSelected"],[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}],"multiple":[{"multipleChangeHandle":0}],"value":[{"valueChange":1}]}],[257,"xv-data-table-row",{"variant":[1],"name":[1025],"collapse":[1],"collapsable":[516],"checked":[1028],"partial":[1028],"hover":[1028],"group":[4],"header":[4],"footer":[4],"disabled":[4],"readonly":[4],"required":[4],"value":[8],"collapsed":[32],"reorderable":[32],"reorderHandleMode":[32],"close":[64]}],[65,"xv-datepicker",{"value":[1040],"variant":[1],"label":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[4],"size":[513],"min":[1],"max":[1],"disabledDates":[16],"month":[32],"days":[32],"open":[32],"localError":[32]},[[4,"click","handleClickOutside"]],{"open":[{"openChange":0}],"month":[{"getCalendarGrid":0}],"min":[{"getCalendarGrid":0}],"max":[{"getCalendarGrid":0}],"disabledDates":[{"getCalendarGrid":0}],"value":[{"handleValueChange":0}]}],[1,"xv-file-uploader",{"label":[1],"description":[1],"addText":[1,"add-text"],"variant":[1],"size":[1],"accept":[16],"buttonVariant":[1,"button-variant"],"maxFileSizeMB":[2,"max-file-size-mb"],"maxFiles":[2,"max-files"],"multiple":[4],"disabled":[516],"files":[1040],"loadingStates":[1040],"error":[1537],"errors":[1040],"dragActive":[32],"errorMessages":[32],"clearFiles":[64]}],[65,"xv-number-input-v2",{"label":[1],"placeholder":[513],"name":[513],"value":[1538],"helper":[1],"error":[8],"warning":[8],"step":[2],"max":[2],"min":[2],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"size":[513]}],[1,"xv-pagination",{"itemsPerPage":[1026,"items-per-page"],"itemsPerPageOptions":[1,"items-per-page-options"],"total":[2],"page":[1026],"size":[1],"block":[4],"variant":[1],"responsiveVariant":[16],"totalItems":[2,"total-items"],"currentVariant":[32]}],[257,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":[{"checkedChangeHandle":0}]}],[1,"xv-tag-combobox",{"options":[16],"label":[1],"size":[1],"placeholder":[1],"allowCreate":[4,"allow-create"],"maxSuggestions":[2,"max-suggestions"],"disabled":[4],"loading":[4],"readonly":[4],"error":[8],"warning":[8],"helper":[1],"value":[16],"normalizedOptions":[32],"selected":[32],"inputValue":[32],"open":[32],"filtered":[32],"highlighted":[32],"focusInput":[64],"clear":[64]},null,{"options":[{"watchOptions":0}],"value":[{"watchValue":0}]}],[65,"xv-textarea",{"value":[1025],"name":[1],"label":[1],"placeholder":[1],"helper":[1],"info":[1],"error":[8],"warning":[8],"disabled":[4],"readonly":[4],"block":[4],"counterHide":[4,"counter-hide"],"noResize":[4,"no-resize"],"loading":[4],"max":[2],"rows":[2],"size":[513]}],[257,"xv-data-table",{"size":[1],"block":[520],"loading":[4],"columnWidths":[16],"multiple":[516],"hover":[4],"reorderable":[516],"reorderHandle":[513,"reorder-handle"]},null,{"reorderable":[{"reorderableChanged":0}],"reorderHandle":[{"reorderHandleChanged":0}]}],[257,"xv-dropdown-v2-item",{"disabled":[4],"value":[1544],"selected":[1540],"multiple":[516],"size":[513]},[[0,"click","handleClick"]]],[257,"xv-image-viewer",{"src":[1],"fullscreenSrc":[1,"fullscreen-src"],"alt":[1],"placeholder":[1],"lazy":[4],"isFullscreen":[32],"loaded":[32],"fullscreenLoaded":[32],"errored":[32]}],[257,"xv-tab-v2",{"label":[513],"disabled":[516],"loading":[516],"name":[8]}],[257,"xv-table-v2",{"size":[513],"hover":[516],"loading":[516],"colsSize":[16],"selected":[32],"selectedCount":[32]},[[0,"checkedChange","handleCheckedChange"]],{"colsSize":[{"setColsSizeTemplate":0}]}],[257,"xv-tabs-v2",{"active":[1544],"loading":[516],"variant":[1],"emptyMessage":[1,"empty-message"],"hideSingleTab":[4,"hide-single-tab"],"tabElements":[32],"showArrows":[32]},[[9,"resize","updateArrowVisibility"]]],[257,"xv-accordion-v2",{"multiple":[4],"xvId":[1,"xv-id"],"value":[1025],"opened":[32],"toggleItem":[64]},null,{"value":[{"onValueChange":0}]}],[257,"xv-accordion-v2-item",{"disabled":[4],"label":[1],"value":[1],"isOpen":[32]},[[16,"accordionChange","handleAccordionChange"]]],[260,"xv-breadcrumbs-v2"],[257,"xv-button-group-v2",{"variant":[513],"multiple":[516],"value":[1025]},[[0,"click","handleClick"]],{"value":[{"onSelectionInputChange":0}],"multiple":[{"onSelectionInputChange":0}]}],[257,"xv-content-switcher-item-v2",{"value":[520],"label":[513],"icon":[513],"disabled":[516]}],[257,"xv-content-switcher-v2",{"selected":[1544],"size":[513],"iconOnly":[516,"icon-only"],"disabled":[516],"block":[516],"controlled":[516],"items":[32]}],[257,"xv-data-table-collapse",{"collapsed":[1540],"setCollapsed":[64]}],[0,"xv-footer",{"data":[32]},[[8,"xv:metaNav-update","handleLoadData"]]],[257,"xv-progress-indicator-v2",{"progress":[514],"variant":[1],"size":[1]},null,{"progress":[{"updateChildItems":0}]}],[257,"xv-progress-indicator-v2-item",{"status":[1]}],[324,"xv-radio-v2",{"name":[1],"value":[1],"label":[1],"checked":[1028],"indeterminate":[4],"block":[4],"disabled":[4],"required":[4],"reverse":[4],"readonly":[4],"error":[8],"warning":[520],"helper":[1],"size":[1]},null,{"checked":[{"onCheckedChange":0}]}],[65,"xv-slider-v2",{"label":[1],"name":[1],"min":[2],"max":[2],"value":[1026],"step":[2],"disabled":[4],"readonly":[4],"notEditable":[4,"not-editable"]}],[257,"xv-table-v2-expand",{"open":[1540],"disabled":[516]}],[260,"xv-tile",{"variant":[513],"label":[1],"error":[4],"multiple":[4],"disabled":[4],"block":[4],"name":[1],"message":[513],"value":[1025],"checked":[1028],"readonly":[1028]},[[4,"tileChange","tileChangeHandle"],[0,"click","handleClick"]]],[321,"xv-toggle",{"label":[1],"value":[1],"name":[1],"checked":[1540],"disabled":[4],"readonly":[4],"size":[513],"block":[4]}],[257,"xv-mega-menu",{"open":[1540],"activeItem":[32],"activeGroup":[32],"menuItems":[32],"applicationContext":[32],"menuLoading":[32]},[[4,"click","handleClickOutside"]]],[257,"xv-data-table-cell",{"name":[1025],"sort":[1537],"multiline":[520],"width":[1],"align":[1],"tooltip":[1]},[[0,"click","handleSort"]]],[257,"xv-table-v2-cell",{"multiline":[516],"name":[1537],"align":[513],"sort":[1537]},[[0,"click","handleSort"]]],[2,"xv-login-modal",{"visible":[4],"urls":[32],"loading":[32],"errorMessage":[32]}],[257,"xv-overflow-menu-v2",{"open":[1540],"disabled":[516],"position":[1],"alignment":[1],"size":[1],"tooltip":[1],"anchor":[1],"activeId":[32],"openMenu":[64],"closeMenu":[64],"toggleMenu":[64]},[[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}],"anchor":[{"anchorChangeHandle":0}]}],[257,"xv-overflow-menu-v2-item",{"disabled":[516],"value":[520],"variant":[513],"clickable":[4],"href":[1],"target":[1],"divider":[516],"hasIcon":[32],"hasIconEnd":[32]},[[0,"click","handleClick"]]],[257,"xv-toggle-tip",{"open":[1540],"autoSize":[516,"auto-size"],"block":[4],"position":[1],"setPopover":[64]},[[4,"click","handleClickOutside"],[0,"keydown","handleKeyDown"]],{"open":[{"openChangeHandle":0}]}],[257,"xv-modal-v2",{"open":[1540],"permanent":[516],"size":[513],"overflow":[516],"loading":[4],"openModal":[64],"closeModal":[64]}],[257,"xv-notification-v2",{"variant":[513],"dismissible":[516]}],[65,"xv-text-input-v2",{"type":[1],"label":[1],"placeholder":[513],"name":[513],"value":[1025],"autocomplete":[1],"helper":[1],"error":[8],"warning":[8],"readonly":[4],"disabled":[4],"loading":[4],"block":[516],"clearable":[516],"size":[513],"isPasswordVisible":[32]}],[257,"xv-card-v2",{"variant":[1],"media":[1],"header":[1],"body":[1],"footer":[1]}],[257,"xv-link-v2",{"href":[1],"target":[1],"disabled":[4],"size":[1],"variant":[1]}],[321,"xv-checkbox-v2",{"checked":[1540],"indeterminate":[516],"disabled":[516],"name":[513],"value":[513],"readonly":[516],"required":[516],"partial":[516],"label":[1],"size":[513],"error":[520],"align":[513],"hasFocus":[32]},null,{"checked":[{"onCheckedChange":0}]}],[257,"xv-tag-v2",{"size":[1],"color":[1],"bg":[1],"disabled":[4],"closeable":[4]}],[260,"xv-tooltip-v2",{"message":[1],"position":[1],"block":[4],"dashed":[4]},[[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]],[321,"xv-button-v2",{"value":[513],"name":[1],"label":[513],"variant":[513],"size":[513],"disabled":[516],"loading":[516],"block":[516],"type":[513],"active":[516],"hasLeftIcon":[32],"hasRightIcon":[32],"hasContent":[32]}],[257,"xv-loader-v2",{"show":[4],"variant":[1],"size":[1]}]]],["xv-mega-menu-next.cjs",[[257,"xv-mega-menu-next",{"open":[1540],"menuData":[1,"menu-data"],"activeItem":[32],"activeGroup":[32],"menuItems":[32],"applicationContext":[32],"menuLoading":[32]},[[4,"click","handleClickOutside"]],{"menuData":[{"onMenuDataChange":0}]}]]],["xv-header-next.cjs",[[0,"xv-header-next",{"menuData":[1,"menu-data"],"currentLocale":[1,"current-locale"],"locales":[1],"metaNav":[32],"orgUnit":[32],"baseUrl":[32],"loading":[32],"mobMenuOpen":[32],"suggestions":[32],"suggestionsLoading":[32],"notifications":[32],"showLoginModal":[32]},[[8,"xv:orgUnitChange","handleOrgUnitChange"],[8,"xv:metaNav-update","metaNavUpdate"]]]]]], options);
|
|
21
|
+
return index.bootstrapLazy(JSON.parse("[[\"xv-accordion-v2_49.cjs\",[[0,\"xv-header\",{\"metaNav\":[32],\"orgUnit\":[32],\"baseUrl\":[32],\"loading\":[32],\"mobMenuOpen\":[32],\"suggestions\":[32],\"suggestionsLoading\":[32],\"notifications\":[32],\"showLoginModal\":[32]},[[8,\"xv:orgUnitChange\",\"handleOrgUnitChange\"],[8,\"xv:metaNav-update\",\"metaNavUpdate\"]]],[257,\"xv-dropdown-v2\",{\"search\":[516],\"disabled\":[516],\"multiple\":[516],\"required\":[516],\"loading\":[516],\"readonly\":[516],\"open\":[1540],\"error\":[520],\"label\":[513],\"helper\":[513],\"warning\":[513],\"placeholder\":[513],\"info\":[1],\"searchPlaceholder\":[1,\"search-placeholder\"],\"size\":[1],\"defaultValue\":[8,\"default-value\"],\"value\":[1032],\"variant\":[1],\"position\":[1],\"selected\":[32],\"selectedMap\":[32],\"resolvedPosition\":[32]},[[0,\"itemSelected\",\"handleItemSelected\"],[0,\"keydown\",\"handleKeyDown\"]],{\"open\":[{\"openChangeHandle\":0}],\"multiple\":[{\"multipleChangeHandle\":0}],\"value\":[{\"valueChange\":1}]}],[257,\"xv-data-table-row\",{\"variant\":[1],\"name\":[1025],\"collapse\":[1],\"collapsable\":[516],\"checked\":[1028],\"partial\":[1028],\"hover\":[1028],\"group\":[4],\"header\":[4],\"footer\":[4],\"disabled\":[4],\"readonly\":[4],\"required\":[4],\"value\":[8],\"collapsed\":[32],\"reorderable\":[32],\"reorderHandleMode\":[32],\"close\":[64]}],[65,\"xv-datepicker\",{\"value\":[1040],\"variant\":[1],\"label\":[1],\"helper\":[1],\"error\":[8],\"warning\":[8],\"readonly\":[4],\"disabled\":[4],\"loading\":[4],\"block\":[4],\"size\":[513],\"min\":[1],\"max\":[1],\"disabledDates\":[16],\"month\":[32],\"days\":[32],\"open\":[32],\"localError\":[32]},[[4,\"click\",\"handleClickOutside\"]],{\"open\":[{\"openChange\":0}],\"month\":[{\"getCalendarGrid\":0}],\"min\":[{\"getCalendarGrid\":0}],\"max\":[{\"getCalendarGrid\":0}],\"disabledDates\":[{\"getCalendarGrid\":0}],\"value\":[{\"handleValueChange\":0}]}],[1,\"xv-file-uploader\",{\"label\":[1],\"description\":[1],\"addText\":[1,\"add-text\"],\"variant\":[1],\"size\":[1],\"accept\":[16],\"buttonVariant\":[1,\"button-variant\"],\"maxFileSizeMB\":[2,\"max-file-size-mb\"],\"maxFiles\":[2,\"max-files\"],\"multiple\":[4],\"disabled\":[516],\"files\":[1040],\"loadingStates\":[1040],\"error\":[1537],\"errors\":[1040],\"dragActive\":[32],\"errorMessages\":[32],\"clearFiles\":[64]}],[65,\"xv-number-input-v2\",{\"label\":[1],\"placeholder\":[513],\"name\":[513],\"value\":[1538],\"helper\":[1],\"error\":[8],\"warning\":[8],\"step\":[2],\"max\":[2],\"min\":[2],\"readonly\":[4],\"disabled\":[4],\"loading\":[4],\"block\":[516],\"size\":[513]}],[1,\"xv-pagination\",{\"itemsPerPage\":[1026,\"items-per-page\"],\"itemsPerPageOptions\":[1,\"items-per-page-options\"],\"total\":[2],\"page\":[1026],\"size\":[1],\"block\":[4],\"variant\":[1],\"responsiveVariant\":[16],\"totalItems\":[2,\"total-items\"],\"currentVariant\":[32]}],[257,\"xv-table-v2-row\",{\"checked\":[1540],\"partial\":[1540],\"name\":[1537],\"value\":[520],\"hover\":[1540],\"readonly\":[516],\"required\":[516],\"disabled\":[516],\"header\":[516],\"variant\":[1537]},null,{\"checked\":[{\"checkedChangeHandle\":0}]}],[1,\"xv-tag-combobox\",{\"options\":[16],\"label\":[1],\"size\":[1],\"placeholder\":[1],\"allowCreate\":[4,\"allow-create\"],\"maxSuggestions\":[2,\"max-suggestions\"],\"disabled\":[4],\"loading\":[4],\"readonly\":[4],\"error\":[8],\"warning\":[8],\"helper\":[1],\"value\":[16],\"normalizedOptions\":[32],\"selected\":[32],\"inputValue\":[32],\"open\":[32],\"filtered\":[32],\"highlighted\":[32],\"focusInput\":[64],\"clear\":[64]},null,{\"options\":[{\"watchOptions\":0}],\"value\":[{\"watchValue\":0}]}],[65,\"xv-textarea\",{\"value\":[1025],\"name\":[1],\"label\":[1],\"placeholder\":[1],\"helper\":[1],\"info\":[1],\"error\":[8],\"warning\":[8],\"disabled\":[4],\"readonly\":[4],\"block\":[4],\"counterHide\":[4,\"counter-hide\"],\"noResize\":[4,\"no-resize\"],\"loading\":[4],\"max\":[2],\"rows\":[2],\"size\":[513]}],[257,\"xv-data-table\",{\"size\":[1],\"block\":[520],\"loading\":[4],\"columnWidths\":[16],\"multiple\":[516],\"hover\":[4],\"reorderable\":[516],\"reorderHandle\":[513,\"reorder-handle\"]},null,{\"reorderable\":[{\"reorderableChanged\":0}],\"reorderHandle\":[{\"reorderHandleChanged\":0}]}],[257,\"xv-dropdown-v2-item\",{\"disabled\":[4],\"value\":[1544],\"selected\":[1540],\"multiple\":[516],\"size\":[513]},[[0,\"click\",\"handleClick\"]]],[1,\"xv-geo-map-v2\",{\"apiBase\":[1,\"api-base\"],\"indicator\":[1],\"indicatorLabel\":[1,\"indicator-label\"],\"level\":[1],\"resolution\":[1],\"tiles\":[1],\"attribution\":[1],\"centerLng\":[2,\"center-lng\"],\"centerLat\":[2,\"center-lat\"],\"zoom\":[2],\"selectZoom\":[2,\"select-zoom\"],\"lazy\":[4],\"ready\":[32],\"loadError\":[32],\"zoomGated\":[32],\"selectByRadius\":[64],\"selectPostalCodes\":[64],\"clearSelection\":[64]},null,{\"level\":[{\"levelChanged\":0}],\"selectZoom\":[{\"selectZoomChanged\":0}]}],[257,\"xv-image-viewer\",{\"src\":[1],\"fullscreenSrc\":[1,\"fullscreen-src\"],\"alt\":[1],\"placeholder\":[1],\"lazy\":[4],\"isFullscreen\":[32],\"loaded\":[32],\"fullscreenLoaded\":[32],\"errored\":[32]}],[257,\"xv-tab-v2\",{\"label\":[513],\"disabled\":[516],\"loading\":[516],\"name\":[8]}],[257,\"xv-table-v2\",{\"size\":[513],\"hover\":[516],\"loading\":[516],\"colsSize\":[16],\"selected\":[32],\"selectedCount\":[32]},[[0,\"checkedChange\",\"handleCheckedChange\"]],{\"colsSize\":[{\"setColsSizeTemplate\":0}]}],[257,\"xv-tabs-v2\",{\"active\":[1544],\"loading\":[516],\"variant\":[1],\"emptyMessage\":[1,\"empty-message\"],\"hideSingleTab\":[4,\"hide-single-tab\"],\"tabElements\":[32],\"showArrows\":[32]},[[9,\"resize\",\"updateArrowVisibility\"]]],[257,\"xv-accordion-v2\",{\"multiple\":[4],\"xvId\":[1,\"xv-id\"],\"value\":[1025],\"opened\":[32],\"toggleItem\":[64]},null,{\"value\":[{\"onValueChange\":0}]}],[257,\"xv-accordion-v2-item\",{\"disabled\":[4],\"label\":[1],\"value\":[1],\"isOpen\":[32]},[[16,\"accordionChange\",\"handleAccordionChange\"]]],[260,\"xv-breadcrumbs-v2\"],[257,\"xv-button-group-v2\",{\"variant\":[513],\"multiple\":[516],\"value\":[1025]},[[0,\"click\",\"handleClick\"]],{\"value\":[{\"onSelectionInputChange\":0}],\"multiple\":[{\"onSelectionInputChange\":0}]}],[257,\"xv-content-switcher-item-v2\",{\"value\":[520],\"label\":[513],\"icon\":[513],\"disabled\":[516]}],[257,\"xv-content-switcher-v2\",{\"selected\":[1544],\"size\":[513],\"iconOnly\":[516,\"icon-only\"],\"disabled\":[516],\"block\":[516],\"controlled\":[516],\"items\":[32]}],[257,\"xv-data-table-collapse\",{\"collapsed\":[1540],\"setCollapsed\":[64]}],[0,\"xv-footer\",{\"data\":[32]},[[8,\"xv:metaNav-update\",\"handleLoadData\"]]],[257,\"xv-progress-indicator-v2\",{\"progress\":[514],\"variant\":[1],\"size\":[1]},null,{\"progress\":[{\"updateChildItems\":0}]}],[257,\"xv-progress-indicator-v2-item\",{\"status\":[1]}],[324,\"xv-radio-v2\",{\"name\":[1],\"value\":[1],\"label\":[1],\"checked\":[1028],\"indeterminate\":[4],\"block\":[4],\"disabled\":[4],\"required\":[4],\"reverse\":[4],\"readonly\":[4],\"error\":[8],\"warning\":[520],\"helper\":[1],\"size\":[1]},null,{\"checked\":[{\"onCheckedChange\":0}]}],[65,\"xv-slider-v2\",{\"label\":[1],\"name\":[1],\"min\":[2],\"max\":[2],\"value\":[1026],\"step\":[2],\"disabled\":[4],\"readonly\":[4],\"notEditable\":[4,\"not-editable\"]}],[257,\"xv-table-v2-expand\",{\"open\":[1540],\"disabled\":[516]}],[260,\"xv-tile\",{\"variant\":[513],\"label\":[1],\"error\":[4],\"multiple\":[4],\"disabled\":[4],\"block\":[4],\"name\":[1],\"message\":[513],\"value\":[1025],\"checked\":[1028],\"readonly\":[1028]},[[4,\"tileChange\",\"tileChangeHandle\"],[0,\"click\",\"handleClick\"]]],[321,\"xv-toggle\",{\"label\":[1],\"value\":[1],\"name\":[1],\"checked\":[1540],\"disabled\":[4],\"readonly\":[4],\"size\":[513],\"block\":[4]}],[257,\"xv-mega-menu\",{\"open\":[1540],\"activeItem\":[32],\"activeGroup\":[32],\"menuItems\":[32],\"applicationContext\":[32],\"menuLoading\":[32]},[[4,\"click\",\"handleClickOutside\"]]],[257,\"xv-data-table-cell\",{\"name\":[1025],\"sort\":[1537],\"multiline\":[520],\"width\":[1],\"align\":[1],\"tooltip\":[1]},[[0,\"click\",\"handleSort\"]]],[257,\"xv-table-v2-cell\",{\"multiline\":[516],\"name\":[1537],\"align\":[513],\"sort\":[1537]},[[0,\"click\",\"handleSort\"]]],[2,\"xv-login-modal\",{\"visible\":[4],\"urls\":[32],\"loading\":[32],\"errorMessage\":[32]}],[257,\"xv-overflow-menu-v2\",{\"open\":[1540],\"disabled\":[516],\"position\":[1],\"alignment\":[1],\"size\":[1],\"tooltip\":[1],\"anchor\":[1],\"activeId\":[32],\"openMenu\":[64],\"closeMenu\":[64],\"toggleMenu\":[64]},[[0,\"keydown\",\"handleKeyDown\"]],{\"open\":[{\"openChangeHandle\":0}],\"anchor\":[{\"anchorChangeHandle\":0}]}],[257,\"xv-overflow-menu-v2-item\",{\"disabled\":[516],\"value\":[520],\"variant\":[513],\"clickable\":[4],\"href\":[1],\"target\":[1],\"divider\":[516],\"hasIcon\":[32],\"hasIconEnd\":[32]},[[0,\"click\",\"handleClick\"]]],[257,\"xv-toggle-tip\",{\"open\":[1540],\"autoSize\":[516,\"auto-size\"],\"block\":[4],\"position\":[1],\"setPopover\":[64]},[[4,\"click\",\"handleClickOutside\"],[0,\"keydown\",\"handleKeyDown\"]],{\"open\":[{\"openChangeHandle\":0}]}],[257,\"xv-modal-v2\",{\"open\":[1540],\"permanent\":[516],\"size\":[513],\"overflow\":[516],\"loading\":[4],\"openModal\":[64],\"closeModal\":[64]}],[257,\"xv-notification-v2\",{\"variant\":[513],\"dismissible\":[516]}],[65,\"xv-text-input-v2\",{\"type\":[1],\"label\":[1],\"placeholder\":[513],\"name\":[513],\"value\":[1025],\"autocomplete\":[1],\"helper\":[1],\"error\":[8],\"warning\":[8],\"readonly\":[4],\"disabled\":[4],\"loading\":[4],\"block\":[516],\"clearable\":[516],\"size\":[513],\"isPasswordVisible\":[32]}],[257,\"xv-card-v2\",{\"variant\":[1],\"media\":[1],\"header\":[1],\"body\":[1],\"footer\":[1]}],[257,\"xv-link-v2\",{\"href\":[1],\"target\":[1],\"disabled\":[4],\"size\":[1],\"variant\":[1]}],[321,\"xv-checkbox-v2\",{\"checked\":[1540],\"indeterminate\":[516],\"disabled\":[516],\"name\":[513],\"value\":[513],\"readonly\":[516],\"required\":[516],\"partial\":[516],\"label\":[1],\"size\":[513],\"error\":[520],\"align\":[513],\"hasFocus\":[32]},null,{\"checked\":[{\"onCheckedChange\":0}]}],[257,\"xv-tag-v2\",{\"size\":[1],\"color\":[1],\"bg\":[1],\"disabled\":[4],\"closeable\":[4]}],[260,\"xv-tooltip-v2\",{\"message\":[1],\"position\":[1],\"block\":[4],\"dashed\":[4]},[[1,\"mouseenter\",\"onMouseEnter\"],[1,\"mouseleave\",\"onMouseLeave\"]]],[321,\"xv-button-v2\",{\"value\":[513],\"name\":[1],\"label\":[513],\"variant\":[513],\"size\":[513],\"disabled\":[516],\"loading\":[516],\"block\":[516],\"type\":[513],\"active\":[516],\"hasLeftIcon\":[32],\"hasRightIcon\":[32],\"hasContent\":[32]}],[257,\"xv-loader-v2\",{\"show\":[4],\"variant\":[1],\"size\":[1]}]]],[\"xv-mega-menu-next.cjs\",[[257,\"xv-mega-menu-next\",{\"open\":[1540],\"menuData\":[1,\"menu-data\"],\"activeItem\":[32],\"activeGroup\":[32],\"menuItems\":[32],\"applicationContext\":[32],\"menuLoading\":[32]},[[4,\"click\",\"handleClickOutside\"]],{\"menuData\":[{\"onMenuDataChange\":0}]}]]],[\"xv-header-next.cjs\",[[0,\"xv-header-next\",{\"menuData\":[1,\"menu-data\"],\"currentLocale\":[1,\"current-locale\"],\"locales\":[1],\"metaNav\":[32],\"orgUnit\":[32],\"baseUrl\":[32],\"loading\":[32],\"mobMenuOpen\":[32],\"suggestions\":[32],\"suggestionsLoading\":[32],\"notifications\":[32],\"showLoginModal\":[32]},[[8,\"xv:orgUnitChange\",\"handleOrgUnitChange\"],[8,\"xv:metaNav-update\",\"metaNavUpdate\"]]]]]]"), options);
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
exports.setNonce = index.setNonce;
|
|
@@ -39,7 +39,7 @@ export class XvAccordion {
|
|
|
39
39
|
this.onValueChange(this.value);
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '831216797b414db9f8ab58cf2c5cb44cfc720cfc', class: "xv-accordion", "data-id": this.xvId }, h("slot", { key: 'fbd4ed377edacbedc695f66e96377f4f680bee69' })));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "xv-accordion-v2"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class XvAccordionItem {
|
|
|
25
25
|
return this.el.closest('xv-accordion-v2');
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'd8ef13a637ce8d000221b3e009c5cbadcec28fc5', class: `${this.disabled ? 'disabled' : ''}` }, h("label", { key: '8c3e6e94437c58a67f5acc5c9cb207e3e29721c8', class: `label ${this.isOpen ? 'opened' : 'closed'}`, onClick: this.toggle }, h("span", { key: '04806a73da5b2d125bc135b28d1edc2cfff0d3a8' }, this.label)), h("div", { key: '3325babf6644e132c9609a08907ccd25fc336d63', class: `content ${this.isOpen ? 'opened' : 'closed'}` }, h("slot", { key: '5a7dcae2e2b9891d677c31d30e9cb523eab5842e' }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "xv-accordion-v2-item"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class XvBreadcrumbs {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: '896c9ca2ce496dac1f3b86d7e1dd777c1afa4a40', class: "xv-breadcrumbs" }, h("div", { key: '22ea0492894a5dd948b9d78657a35d2fea6caa9c', class: "xv-breadcrumbs__container" }, h("slot", { key: '2c2b21a13e0008d8ccfe4d3ec3d6feecf6d3d9d5' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "xv-breadcrumbs-v2"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
@@ -44,7 +44,7 @@ export class XvButton {
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
var _a, _b;
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'a8f3aa5ef479c66a580ce73f4f923512dd011dd4' }, h("button", { key: 'f634294185fa82d55649586cadf57dc9c909a7ea', class: {
|
|
48
48
|
'xv-button': true,
|
|
49
49
|
'xv-button--active': this.active,
|
|
50
50
|
[`xv-button--${this.variant}`]: !!this.variant,
|
|
@@ -55,7 +55,7 @@ export class XvButton {
|
|
|
55
55
|
'xv-button--icon-left': this.hasLeftIcon,
|
|
56
56
|
'xv-button--icon-right': this.hasRightIcon,
|
|
57
57
|
'xv-button--icon-only': !this.hasContent,
|
|
58
|
-
}, part: "button", title: (_a = this.el) === null || _a === void 0 ? void 0 : _a.title, value: this.value, name: this.name, onClick: this.handleClick, type: this.type, disabled: this.disabled || this.loading, "aria-disabled": this.disabled ? 'true' : undefined, "aria-pressed": this.active ? 'true' : undefined, "aria-label": ((_b = this.el) === null || _b === void 0 ? void 0 : _b.ariaLabel) || 'XV button' }, this.loading && (h("xv-loader-v2", { key: '
|
|
58
|
+
}, part: "button", title: (_a = this.el) === null || _a === void 0 ? void 0 : _a.title, value: this.value, name: this.name, onClick: this.handleClick, type: this.type, disabled: this.disabled || this.loading, "aria-disabled": this.disabled ? 'true' : undefined, "aria-pressed": this.active ? 'true' : undefined, "aria-label": ((_b = this.el) === null || _b === void 0 ? void 0 : _b.ariaLabel) || 'XV button' }, this.loading && (h("xv-loader-v2", { key: 'd5444149f9b1b7ce37f790d8b17eff321080aefe', class: "xv-button__loader", size: this.size !== SIZE_VAR.XL ? this.size : SIZE_VAR.LG })), h("span", { key: '294f6cc236fef714edd02b7df86666865876bb05', class: "xv-button__icon xv-button__icon--left" }, h("slot", { key: '035953d42328f533901c0747162e1b7e8ba29e2f', name: "icon-left", onSlotchange: this.handleSlotChangeLeft })), h("span", { key: '1c1f48f53ce8343d64c68d196ce5c9157cb6bb3e', class: "xv-button__label" }, h("slot", { key: '83bd267101008e93dc86b7cad34c846222b69a09', onSlotchange: this.handleSlotChangeContent }, this.label)), h("span", { key: '824f1007e3e697ddecc9e656141370429cc8deeb', class: "xv-button__icon xv-button__icon--right" }, h("slot", { key: 'ff52299ec233493569b61fbca65a0807332be92c', name: "icon-right", onSlotchange: this.handleSlotChangeRight })))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "xv-button-v2"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -89,7 +89,7 @@ export class XvButtonGroup {
|
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: '284beb5b2d9b60eff8795185d0686f3d47898a91', role: "group" }, h("slot", { key: '40e6008a937179066db86322b6c982cf37d01eee', onSlotchange: () => this.syncActive() })));
|
|
93
93
|
}
|
|
94
94
|
static get is() { return "xv-button-group-v2"; }
|
|
95
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class XvCard {
|
|
|
4
4
|
this.variant = 'vertical';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'd7c0ac593ef7118c51e048196bc0d3891fa4a8ce', class: `xv-card xv-card_${this.variant}`, part: this.variant }, h("div", { key: 'd3fb600a1924d7949fc751f23886158349a1d268', class: "xv-card_media" }, h("slot", { key: '1ad79a25819ae600b4329b928838e2fb6fccfb40', name: "media" }, this.media && h("img", { key: '9d8bc056d81cfde145e41465d10c51880d9f5626', class: "xv-card_media__content", src: this.media, alt: this.header }))), h("div", { key: 'fee7c35de336e28ca9ef94d0f6728a3f89ab168c', class: "xv-card_content" }, h("div", { key: '4d798d6664a516d2eb5bc1c91844a404cef2e7b6', class: "xv-card_header" }, h("slot", { key: 'e81a2c60e77576aa7559d3ff4143307838ffcb5c', name: "header" }, this.header && h("p", { key: '77af2a28e2b7d4cb06ec5051e9acdd8011cbb885', class: "xv-card_header__content" }, this.header))), h("div", { key: 'b156510851e6015fff489302b8dad51feb603b96', class: "xv-card_body" }, h("slot", { key: 'ca43f3aeea50b2a8bcc11067b0b8e5a2007a7323', name: "body" }, this.body && h("p", { key: '90587e7b3a837a13f805c8f5cc34f062b8ba1828', class: "xv-card_body__content" }, this.header))), h("div", { key: '2911e89fba2e27e4a0489ab58ae5ae7863bf5770', class: "xv-card_footer" }, h("slot", { key: 'f8bbbc38fc17206dbb18c013b52eba10ff84b1ca', name: "footer" }, this.footer)))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "xv-card-v2"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -69,12 +69,12 @@ export class XvCheckbox {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'b140c747ebecfc5a11754a7309ede9c0a5775772' }, h("label", { key: '486e76450ac01266cd458ce10e276d01f0c8a06f', class: {
|
|
73
73
|
'xv-checkbox': true,
|
|
74
74
|
disabled: this.disabled,
|
|
75
75
|
readonly: this.readonly,
|
|
76
76
|
[`xv-checkbox--align-${this.align}`]: !!this.align,
|
|
77
|
-
} }, h("input", { key: '
|
|
77
|
+
} }, h("input", { key: '1fdfec4357aecc26321b47166981bf52c60b6116', ref: el => (this.inputEl = el), type: "checkbox", readonly: this.readonly, name: this.name, value: this.value, checked: this.checked, disabled: this.disabled || this.readonly, required: this.required, indeterminate: this.indeterminate, onInput: this.onInput, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }), h("span", { key: '3478fb0f4fcff4e9b6dfbcd87d93314e5fa4379c', class: `checkmark ${this.partial ? 'checkmark-partial' : ''}` }), h("div", { key: '0a21ac48e9a1ea8e7735e03e47af190a0bf694d1', class: "label" }, h("slot", { key: 'bf8f18d0fb08467eb6ffd7a5ba1f08d5e68cd91f' }, this.label && h("span", { key: '1142c9542093bd7a1bb9c8eeac85b2194de35701', class: "label_str" }, this.label)))), h("slot", { key: '312031caac8f3e1b8820e48979f4f8debbf1360b', name: "info" }), !!this.error && h("span", { key: '22de99f9ccf76db1bf3a72a36c6078d21da7a3a9', class: "error" }, this.error)));
|
|
78
78
|
}
|
|
79
79
|
componentDidLoad() {
|
|
80
80
|
if (this.indeterminate) {
|
|
@@ -20,7 +20,7 @@ export class XvContentSwitcherItem {
|
|
|
20
20
|
this.disabled = false;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '5483c54fcb416adb9849db838152b13e4d26f3c9' }, h("slot", { key: '7bfbe3d05f8020b45e53d0e11e1b4d1848e041e0' })));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "xv-content-switcher-item-v2"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -133,14 +133,14 @@ export class XvContentSwitcher {
|
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: '9d3d6ab8c8690b664be568c5f121d86f4926329b' }, h("div", { key: '619faef7fec822e3c014aba003c68b46e9d1ef6c', class: "switcher", role: "tablist", "aria-orientation": "horizontal" }, this.items.map((item, index) => {
|
|
137
137
|
const key = this.getItemKey(item, index);
|
|
138
138
|
const selected = this.isSelected(item, index);
|
|
139
139
|
const itemDisabled = this.isItemDisabled(item);
|
|
140
140
|
const label = item.getAttribute('label') || '';
|
|
141
141
|
const icon = item.getAttribute('icon');
|
|
142
142
|
return (h("button", { type: "button", role: "tab", class: { switcher_item: true, selected }, "aria-selected": selected ? 'true' : 'false', "aria-label": this.iconOnly ? label || undefined : undefined, title: this.iconOnly ? label || undefined : undefined, disabled: itemDisabled, tabIndex: selected ? 0 : -1, onClick: () => this.select(key), onKeyDown: (event) => this.handleKeyDown(event, index) }, icon && h("i", { class: `switcher_item-icon ${icon}`, "aria-hidden": "true" }), !this.iconOnly && label && h("span", { class: "switcher_item-label" }, label)));
|
|
143
|
-
})), h("div", { key: '
|
|
143
|
+
})), h("div", { key: '2e972a241d8cccd4799adee09a4201cea3614b3a', class: "switcher_content", role: "tabpanel", tabindex: -1 }, h("slot", { key: '39e2eb9646ae317e78089bf1aff3fa999cb65cd2', onSlotchange: this.collectItems }))));
|
|
144
144
|
}
|
|
145
145
|
static get is() { return "xv-content-switcher-v2"; }
|
|
146
146
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,7 +22,7 @@ export class XvDataTableCell {
|
|
|
22
22
|
}
|
|
23
23
|
;
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '43ce8590db4f8f07a5ca8f0f19b7f661426deb1d', role: "cell", style: { width: this.width }, class: {
|
|
26
26
|
multiline: this.multiline !== undefined,
|
|
27
27
|
[`align--${this.align}`]: !!this.align
|
|
28
28
|
} }, !this.multiline || isNaN(this.multiline) ? this.__renderWithTooltip() : (h("div", { class: "line-clamp", style: { ['-webkit-line-clamp']: `${this.multiline}` } }, this.__renderWithTooltip()))));
|
package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.js
CHANGED
|
@@ -15,7 +15,7 @@ export class XvDataTableCollapse {
|
|
|
15
15
|
rows.forEach((row) => row === null || row === void 0 ? void 0 : row.setAttribute('collapsable', ''));
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '8d6e36f1ace43057bb177210f137e02284b8284a', id: this.el.id, part: "xv-collapse", class: this.el.className, collapsed: this.collapsed, expanded: !this.collapsed }, h("slot", { key: '29f310a9f12cc2518d7cd2360215d0f594c17861' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "xv-data-table-collapse"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -74,7 +74,7 @@ export class XvDataTableRow {
|
|
|
74
74
|
const isGroup = !!this.collapse || !!this.group;
|
|
75
75
|
const isDraggableRow = this.reorderable && !isHeader && !isFooter && !this.group;
|
|
76
76
|
const showHandleCell = this.reorderable && this.reorderHandleMode === 'icon';
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'c5d8d00e23831fe25c46bed77f16eb77ef68063b', role: "row", part: "xv-row", class: {
|
|
78
78
|
checked: this.checked,
|
|
79
79
|
hover: this.hover,
|
|
80
80
|
disabled: this.disabled,
|
|
@@ -82,7 +82,7 @@ export class XvDataTableRow {
|
|
|
82
82
|
header: isHeader,
|
|
83
83
|
footer: isFooter,
|
|
84
84
|
'reorder-row': isDraggableRow && this.reorderHandleMode === 'row',
|
|
85
|
-
} }, showHandleCell && (h("xv-data-table-cell", { key: '
|
|
85
|
+
} }, showHandleCell && (h("xv-data-table-cell", { key: '4d128ed1390821808d63f57ed3dd3d16037f9d1a', width: "16px", class: "cell-control cell-control--drag" }, isDraggableRow && (h("span", { key: 'deb9c03cf920be629e66950e59eee22f206c14c9', class: `cell-control_drag ${XV_ROW_DRAG_HANDLE_CLASS}`, "aria-label": "Drag to reorder" }, h("svg", { key: '2820f9409439439f5f5998341ceb4ce1dded7970', viewBox: "0 0 8 14", width: "8", height: "14", fill: "currentColor", "aria-hidden": "true" }, h("circle", { key: '296d710fbeadc63fed1ff447392dc5f56c1ea4cf', cx: "2", cy: "2", r: "1.2" }), h("circle", { key: '0c09e4ad045513c7519b56849867c6b0d17db586', cx: "6", cy: "2", r: "1.2" }), h("circle", { key: '56817e20c35a3aa404568878c229650824a6e224', cx: "2", cy: "7", r: "1.2" }), h("circle", { key: '3de7d973eb126ba97c08acaf33975b22834d8173', cx: "6", cy: "7", r: "1.2" }), h("circle", { key: 'f99ceb778604fdd6bd860de81b3264c498e9e208', cx: "2", cy: "12", r: "1.2" }), h("circle", { key: '00bc822ebcbf2e7332d864e4c94511fe2aaad4cd', cx: "6", cy: "12", r: "1.2" })))))), (!!this.variant || this.collapsable) && (h("xv-data-table-cell", { key: 'f332f7829c200d46024fe3449572f45c224c61d0', width: !!this.variant ? '16px' : '0', class: "cell-control" }, !!this.collapse && (h("button", { key: 'f76934314898f4d840c0337884cf2f04bfdd03fe', class: { 'cell-control_collapse': true, open: !this.collapsed }, onClick: this.collapseClick })), this.variant === 'checkbox' && (h("xv-checkbox-v2", { key: 'a9f626b101e612f5da9521611aa514782810f36d', name: this.name, partial: this.partial, checked: this.checked || this.partial, disabled: this.disabled, readonly: this.readonly, required: this.required, onEventChange: this.checkedChangeHandle, class: "cell-control_checkbox" })))), h("slot", { key: '4f010aef31b46664b7b1f25d3add2092cf301dd0', onSlotchange: this.setInitialState })));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "xv-data-table-row"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -104,7 +104,7 @@ export class XvDataTable {
|
|
|
104
104
|
this.initSortable();
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
|
-
return (h(Host, { key: '
|
|
107
|
+
return (h(Host, { key: 'b17a3ca4eb1da8e28cfb3b199c96c65ad9a574ef', class: "xv-data-table" }, h("caption", { key: '371be79db740dee2012959b6fae0552b690d26fd' }, h("slot", { key: 'a1762118ed8254c42d09747fb0b8b126a326b4b6', name: "title" })), h("div", { key: '71b664e5f3fd41cf0dff496f48ed608e7d26fc72', class: "bar" }, h("div", { key: 'ed472d36307be892d8e2c85bbf02d4c743fde9cf', class: "bar_batch" }, h("slot", { key: '4792893a6fcda66ee002e3a465ae8482ddd6e922', name: "batch" })), h("div", { key: 'bd489fb1332f7b19bab7a810c6fcac8611b2061d', class: "bar_toolbar" }, h("slot", { key: '08f5728c5116db96efd4b37eacd37cb1140d04b1', name: "toolbar" }))), h("table", { key: '87a97a5c8760042d40f50ce95e4199a606331afd', role: "table" }, this.columnWidths.length > 0 && (h("colgroup", { key: '0b0f9f9895dae3aa4515d5ff4708f7d9604899a3' }, this.columnWidths.map((width = 'auto') => h("col", { style: { width } })))), h("thead", { key: '7ead3b6b03b82b625a84b8b31dfa877237cff80e' }, h("slot", { key: 'd8e658b1c371aba43c08dd7f5b88f596f31f7aef', name: "header" })), h("tbody", { key: '619674b295865f75e328527667d5df3e325b86cc' }, h("slot", { key: 'e7b0bd7a386de2d4704199c0fc4bb0c8ec4bfd31' })), h("tfoot", { key: 'a93f7c5bcabf23788ab40a61bbc1ec3e237aa71e' }, h("slot", { key: 'fa7c705dcb6900e866ebb7f0e25904810cc5092d', name: "footer" }))), !!this.loading && (h("div", { key: 'a8ff0e389b852782561400214e8ac2b8dff95264', class: "loading" }, h("xv-loader-v2", { key: 'e80a9efbe6f58c956dee766bc547b3d261dc65e9', size: SIZE_VAR.LG })))));
|
|
108
108
|
}
|
|
109
109
|
static get is() { return "xv-data-table"; }
|
|
110
110
|
static get encapsulation() { return "shadow"; }
|
|
@@ -261,12 +261,12 @@ export class XvDatepicker {
|
|
|
261
261
|
warning: this.warning,
|
|
262
262
|
helper: this.helper,
|
|
263
263
|
});
|
|
264
|
-
return (h(Host, { key: '
|
|
264
|
+
return (h(Host, { key: '3fabbd15e88692caf90c7b068ab56399c9377a48', class: { disabled: !!this.disabled }, tabindex: this.disabled ? '-1' : undefined }, h("div", { key: '5eaaa34151e08f852fe77deec0f03b636cc944d3', "aria-controls": "popover", class: "control" }, this.label && h("label", { key: 'cf86fe31a24babe47c4f417a23695a664b10dc7c', class: "control_label" }, this.label), h("div", { key: '29bde29354f05ba336dfe59fcd7e61ab24826025', class: {
|
|
265
265
|
'control_field': true,
|
|
266
266
|
loading: this.loading,
|
|
267
267
|
error: !!this.error || !!this.localError,
|
|
268
268
|
warning: this.warning !== undefined,
|
|
269
|
-
}, onClick: this.handleOpen, ref: (el) => (this.controlEl = el) }, h("input", { key: '
|
|
269
|
+
}, onClick: this.handleOpen, ref: (el) => (this.controlEl = el) }, h("input", { key: 'aa95eb4b6ac0fc7ea9ce910b6e949a4ed433369d', lang: "de", type: "date", name: "start", disabled: this.loading || this.disabled, readonly: this.readonly || this.variant === 'range', min: this.min, max: this.max, value: start ? dateFns.format(start, DEF_FORMAT) : '', onChange: (e) => this.handleChange(e, 'start'), onBlur: (e) => this.handleBlur(e, 'start'), onKeyDown: (e) => this.handleKeydown(e, 'start') }), this.variant === 'range' && (h("input", { key: '78953c503d8fdddfb1413aafd5554d60f317808e', lang: "de", type: "date", name: "end", disabled: this.loading || this.disabled, readonly: this.readonly || this.variant === 'range', min: this.min, max: this.max, value: end ? dateFns.format(end, DEF_FORMAT) : '', onChange: (e) => this.handleChange(e, 'end'), onBlur: (e) => this.handleBlur(e, 'end'), onKeyDown: (e) => this.handleKeydown(e, 'end') }))), message && (h("p", { key: '5f31708826725c1f6a0ab8e5937520cfde0c6f4a', class: { control_message: true, [message.level]: true } }, message.text))), h("div", { key: '8063d7defb088e2acca1bac80b482f232ab942cc', role: "dialog", class: { popover: true, open: this.open }, ref: (el) => (this.popoverEl = el) }, h("div", { key: '6e916703b06bd69e90833ab63b0329dfafda59bd', class: "header" }, h("xv-button-v2", { key: '397223d5fc89654b6ccb76d115ccf3dcd4d85d31', tabindex: this.open ? undefined : '-1', disabled: this.isPrevDisabled, variant: "ghost", onClick: this.prevMonth }, h("span", { key: 'a348ea216037e0d86f45a51772d968d2dbd51f1d', slot: "icon-left", class: "header_icon prev" })), h("p", { key: '5db3bb19fb85934424f564d155d562fd98ed6fee', class: "header_date" }, dateFns.format(this.month, 'LLLL', { locale: de }), h("input", { key: '8af75823835acb29f3e1429c086b7d90959ff387', tabindex: this.open ? undefined : '-1', type: "number", value: this.month.getFullYear(), onInput: this.handleYearChange, onBlur: this.handleYearBlur })), h("xv-button-v2", { key: '2cdc139db44426a66f4f51e06f1c91ce5ba30fdf', tabindex: this.open ? undefined : '-1', disabled: this.isNextDisabled, variant: "ghost", onClick: this.nextMonth }, h("span", { key: '5fe52874e05c2dcc272817a78cc28c94e940382b', slot: "icon-left", class: "header_icon next" }))), h("div", { key: '6011bdca7b3bd2a59420e542cb80b89747f7d604', class: "week" }, h("p", { key: '314078ead83298e599ad6acf79991b1d0b1fa995', class: "week_day" }), WEEK.map((day) => h("p", { class: "week_day" }, day, "."))), h("div", { key: 'b447902cfdda9bf9ba5020895bcf8373ef7c97ae', class: "week" }, this.days.map((day, idx) => (h(Fragment, null, idx % 7 === 0 && (h("button", { tabindex: this.open ? undefined : '-1', disabled: true, class: "week_day disabled" }, day.week)), h("button", { tabindex: this.open ? undefined : '-1', onClick: () => this.handleSetDate(day), disabled: day.disabled, class: {
|
|
270
270
|
'week_day': true,
|
|
271
271
|
inRange: this.variant === 'range' && dateFns.isWithinInterval(day.date, { start, end }),
|
|
272
272
|
isToday: day.isToday,
|
|
@@ -24,7 +24,7 @@ export class XvDropdownItem {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '7fda94c8af1a3b2a708284178eedbc9c63c0f3e3', class: "xv-dropdown-item", value: this.value, role: "option", tabindex: this.disabled ? -1 : false }, this.multiple && (h("xv-checkbox-v2", { key: 'a7aeba94fddc8b69d85a025302fdae3a829f215b', class: "multiple-check", size: this.size, checked: this.selected, disabled: this.disabled })), h("slot", { key: 'f3b48aa55a1ac0e091031abf8520f03b318c8e82' }), (!this.multiple && this.selected) && h("span", { key: '005c2f6122773ffd4f7388a9eb099bd993bb3595', class: "checkmark far fa-check" })));
|
|
28
28
|
}
|
|
29
29
|
componentWillLoad() {
|
|
30
30
|
if (!this.value)
|
|
@@ -282,7 +282,7 @@ export class XvDropdown {
|
|
|
282
282
|
/* endregion Search methods */
|
|
283
283
|
render() {
|
|
284
284
|
const message = resolveFieldMessage({ error: this.error, warning: this.warning, helper: this.helper });
|
|
285
|
-
return (h(Host, { key: '
|
|
285
|
+
return (h(Host, { key: 'da08a20a8ad6106f2bbe25d177ee791bd0450b09', class: { 'xv-dropdown': true, [this.variant]: !!this.variant }, role: "combobox", "aria-haspopup": "listbox", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": this.open ? this.listboxId : null, size: this.size, open: this.open, error: !!this.error, disabled: this.disabled, tabindex: (this.disabled || this.readonly) ? -1 : 0 }, (this.label || this.info) && (h("label", { key: 'da9145ccf72182b79b4aa056db08191b355b69c8', class: "label" }, h("slot", { key: '8f868ae46b82f741a2afc4e700a43b571f518f91', name: "label" }, this.label), this.info && h("xv-tooltip-v2", { key: '08de6097de00067eecfe8e29ffaa6c63a5a975cb', class: "label_info", message: this.info }))), h("div", { key: '5f1462ccb428a3199ee3f8b174ff11f44a381311', class: { "xv-dropdown-control control": true, readonly: !!this.readonly }, onClick: this.handleOpen }, (this.multiple && this.selectedMap.size > 0) && (h("xv-tag-v2", { key: '76016b692e647878e9fccba9480e79493eaee13e', class: "control_count", onClick: (e) => e.stopPropagation(), onCloseClick: this.clearHandle, closeable: !this.required, bg: "var(--background-inverse)", color: "var(--icon-inverse)" }, this.selectedMap.size)), this.selected.length ? (h("p", { class: "control_value" }, this.selected.join(', '))) : (h("p", { class: "control_placeholder" }, this.placeholder || '')), this._renderIcon(), h("svg", { key: '1f633a4a97532fa6f1f317c03d90963f739deeaf', class: "control_arrow", focusable: "false", preserveAspectRatio: "xMidYMid meet", xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", "aria-hidden": "true", width: "16", height: "16", viewBox: "0 0 448 512" }, h("path", { key: '399773919a69ab161430e9624e657bc7c034e034', d: "M441.9 167.3l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17z" }))), this.open && h("div", { key: '1ade27989987b358171b9c8cd2a24ec197784d48', ref: (el) => (this.optionsEl = el), id: this.listboxId, role: "listbox", "aria-multiselectable": this.multiple ? 'true' : null, class: { options: true, right: this._appliedPosition() === 'right', search: !!this.search } }, this.search && (h("div", { key: 'b414ff8b4aa0e62c8493f66accdcd28df50aafbc', class: "options_search" }, h("xv-text-input-v2", { key: 'ed5f1090f777928ce5aa6d609c4888f1fa35f84a', type: "search", ref: (el) => (this.searchInputEl = el), block: true, autocomplete: "off", size: this.size, value: this.searchQuery, placeholder: this.searchPlaceholder, onValueChange: this.handleSearchInput }))), h("slot", { key: "xv-dropdown-options" })), message && h("p", { key: '9d760dab6c6f1842ec31d46f88239e747bb30209', class: "helper" }, message.text)));
|
|
286
286
|
}
|
|
287
287
|
componentDidLoad() {
|
|
288
288
|
this.syncOpenState();
|
|
@@ -84,7 +84,7 @@ export class XvFileUploader {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: 'df32ae55ee27dd38b3958fc3a81791633aa60a25', class: { 'upload-wrapper': true, [`uploader-${this.size}`]: true, disabled: !!this.disabled, error: !!this.error } }, this.label && h("label", { key: '8d84fbb689c4149b558c9f750ed4e6000a6878de', class: "label" }, this.label), this.description && h("p", { key: '0a1313df3ec76d2019fcfbce7fdf2a73f029feb8', class: "description" }, this.description), this.variant === 'button' ? (h("xv-button-v2", { class: "uploadBtn", variant: this.buttonVariant, disabled: this.disabled, onClick: () => this.fileInput.click() }, this.addText || 'Dateien auswählen')) : (h("div", { class: { 'drop-zone': true, active: this.dragActive }, onDrop: this.onDrop, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onClick: () => this.fileInput.click() }, this.addText || 'Dateien hierher ziehen oder darauf klicken, um eine Datei auszuwählen.')), h("input", { key: 'e9db912c9c624d3222efc0bdf7ef6f8d93315584', ref: el => (this.fileInput = el), type: "file", hidden: true, onChange: this.onFileSelect, multiple: this.multiple, accept: this.accept.join(',') }), this.error && h("p", { key: '48dbeeecad8112f69dff354273cf5a3f1a1f5258', class: "global-error" }, this.error), h("ul", { key: 'ee61328ee6ff0c819ddcbefa9ade9319ae51ae51', class: "file-list" }, this.files.map((file, index) => {
|
|
88
88
|
var _a, _b;
|
|
89
89
|
return (h("li", { class: { file: true, withError: !!(((_a = this.errors) === null || _a === void 0 ? void 0 : _a[index]) || ((_b = this.errorMessages) === null || _b === void 0 ? void 0 : _b[index])) } }, h("div", { class: "file_container" }, h("span", { class: "file_container_name" }, file.name), this._renderLoaderState(index)), this._renderError(index)));
|
|
90
90
|
}))));
|
|
@@ -34,7 +34,7 @@ export class Xvfooter {
|
|
|
34
34
|
render() {
|
|
35
35
|
const { categories, socials, logo, legalLinks, payments, partners, advantages } = this.data || {};
|
|
36
36
|
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));
|
|
37
|
-
return (h("footer", { key: '
|
|
37
|
+
return (h("footer", { key: '8e5b7acd41d5d7e6c3eedbc95b879fbf0eef2841', class: "xv-footer" }, (advantages === null || advantages === void 0 ? void 0 : advantages.length) > 0 && (h("div", { key: '898f781461a83e3d49e9a79cca1019c0fde6263b', class: "xv-footer-advantages" }, h("div", { key: '7d86d7e5a3c4fc51dc429ade9cb380184531b187', class: "xv-container" }, this._renderFooterList(advantages, { itemWithLabel: true })))), hasDataLength && (h("div", { key: '31ec62b2515f0a09dcb35ca4d41132cf6ad21293', class: "xv-container" }, h("div", { key: '98072a5ea7418a03e1c58f3dfe35ba40336a89c1', class: "xv-footer__grid xv-footer-y-spacing" }, h("div", { key: '7ab1d0a0037c396ae0bce06abb07ac9138d090a2', class: "xv-footer__col-main" }, h("ul", { key: '5a3946a2d923121e688ca0c81f417a766539ad71', class: "xv-footer-categories" }, categories === null || categories === void 0 ? void 0 : categories.map((category) => (h("li", null, h("p", { class: "xv-label-02" }, category.label), h("ul", { class: "xv-footer-routes" }, category.routes.map((item) => (h("li", null, h("a", { class: "xv-body-compact-02", href: item.href, target: item.target }, item.label)))))))))), h("div", { key: '9d3330eecef3986ecb56845670d67704c69f97b7', class: "xv-footer__col-sidebar" }, 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 && (h("div", { key: 'a6ec4ac8cd0a199470e33bbcd402c6b448e53172', class: "xv-footer-legal" }, h("div", { key: 'd66814d563e737c4299f173416eb0c2093d180bd', class: "xv-container" }, h("div", { key: '11d0ac4bf54f79160c8f00dab285909ef1c197ec', class: "xv-footer-legal-row" }, logo && (h("a", { key: 'ad885b8f004304778e10369f2f37b80cfe048f52', class: "xv-footer-logo", href: logo.href, target: logo.target }, logo.label && h("span", { key: 'a2d9f30d7726acbbfdcf1642cc8856a748008f05', class: "xv-label-02" }, logo.label), h("img", { key: '80ca224a3d374f5294305d5763350cbdf09b23bf', loading: "lazy", src: logo.image, alt: logo.label }))), h("ul", { key: '94ebb868d85e7f184f9431836b15337b5b37b5de' }, legalLinks.map((item) => {
|
|
38
38
|
if (item.label === 'Cookie Einstellungen') {
|
|
39
39
|
return h("li", null, h("a", { class: "xv-helper-text-02", onClick: this.openCookieSettings }, item.label));
|
|
40
40
|
}
|