xv-webcomponents 1.23.1 → 1.24.3-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.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/xv-accordion-v2_49.cjs.entry.js +116 -50
- 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/components/xv-data-table/xv-data-table.css +4 -4
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.css +39 -1
- package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +57 -7
- package/dist/collection/components/xv-footer/xv-footer.js +1 -1
- package/dist/collection/components/xv-geo-map/xv-geo-map.js +125 -9
- 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/xv-accordion-v2_49.entry.js +116 -50
- 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-file-uploader/xv-file-uploader.d.ts +3 -0
- package/dist/types/components/xv-geo-map/xv-geo-map.d.ts +20 -3
- package/dist/types/components.d.ts +36 -2
- package/dist/xv-webcomponents/{p-9e3130ff.entry.js → p-71205fad.entry.js} +1 -1
- package/dist/xv-webcomponents/{p-93bd2dca.entry.js → p-9bd6edd0.entry.js} +1 -1
- package/dist/xv-webcomponents/p-9e14474e.entry.js +8 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/xv-webcomponents/p-77bd6e1f.entry.js +0 -8
|
@@ -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: '3ce22e5ac6a503cc2d5203caac98774a19940c4d', class: "header" }, index.h("div", { key: '7524845f6ed009954c530a13eb5e23959c5d1b62', class: "header-wrapper" }, index.h("div", { key: 'e01589d618f94e4bfdd98f8580b6d28329ff55e7', class: "xv-container" }, index.h("div", { key: '4a15a3011f3a734a1fc8c9c64a35995af618edda', class: "header-top" }, index.h("div", { key: '38fc90be0f0fe9b63056e1a822d328519cc1e75a', class: "header-top--left" }, index.h("xv-button-v2", { key: '7714201ec6296cc604a1ac9c1b121160051444fa', class: "menu-btn", variant: "ghost", onClick: this.toggleMobMenu }, index.h("i", { key: '146c5de746ec9fde3ec2f49ec0e50be889ae6dc5', slot: "icon-left", class: { 'fa': true, 'fa-times': this.mobMenuOpen, 'fa-bars': !this.mobMenuOpen } })), this.metaNav && (index.h("a", { key: '5651aee1e355f0e4c236f5e3ef44e2e4ec56568c', href: `${window.location.origin}/` }, index.h("picture", { key: 'b78f2094409b9e616679987900f26770641f953b' }, index.h("source", { key: '8f5a99cabafa9a94d4f909a24d63b6655d676db1', 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: '64cede3a766a58ef39e114fa9b21a213c2e29f9f', 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: 'c0feb6380a84fa5ad25e5bf536e61d4220c501c5', class: "header-top--orgUnit", variant: "standalone", href: "/de-de/mycrossvertise" }, this.orgUnit))), index.h("ul", { key: 'b13f59d7b1fe071b4abe380965b10f8a9113b3d2', 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: '41868a1b7ae6bb9bd12f16581be4833fee401c4f' }, index.h("xv-link-v2", { key: '99ace90fca7c6b330fd94614b27cda3e19b63feb', variant: "ghost", href: "https://www.crossvertise.com/ueber-uns/kontakt" }, index.h("xv-button-v2", { key: '4b6bddb61ef9f7190e57bce68120cc5e29961aa8', variant: "ghost", size: _vars.SIZE_VAR.MD }, index.h("i", { key: '8a8d38266cdb4633048769361e3fef968d44a823', class: "header-icon far fa-envelope" }), index.h("span", { key: 'bdad48f2ee1116c5d379c58b4a1dd72e3b4bf00c', 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: '7fee56ad89be500eafdc73d4ab18348a4dbbdf23' }, index.h("xv-link-v2", { key: '9a99ad943b55f34df2a77cc67a88fb0618c6723a', variant: "ghost", href: "https://help.crossvertise.com" }, index.h("xv-button-v2", { key: '31d7842667d82b7a4d99c3d21dab8fb5696cec14', variant: "ghost", size: _vars.SIZE_VAR.MD }, index.h("i", { key: 'b65f8c7ab3e3f4e8bcbab5730e22db41d119e3bf', class: "header-icon far fa-question-circle" }), index.h("span", { key: 'b173ada235a5a9854a54c5298d10a1c825ea1be6', class: "header-label xv-body-02" }, "Hilfe"))))), this._renderShoppingCart()))), index.h("div", { key: '532945bf298ebdbb9621caa98251d3794cc1f4d8', class: "header-wrapper--bg" }, index.h("div", { key: 'e934060e938a584e1f1d06489b68352702aaf5e2', class: "xv-container" }, index.h("xv-mega-menu-next", { key: '991183bddf0ae396c21d7cd742e7a01d6b525d0b', open: this.mobMenuOpen, onOpenChange: this.closeMobMenu, menuData: this.menuData })))), index.h("xv-login-modal", { key: '42e86a3f3978effd828f83eb4af228121276c5ea', 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: '582e407f764c3fd2c891f6a11c609339cc6041e8' }, index.h("nav", { key: 'ac9bb0396cd9527a39c2d246fb76809f7c6b1514', class: { 'xv-menu': true, open: this.open } }, this.menuLoading && (index.h("div", { key: '7ef0e72a46a9e4fa04b3826cc8933b3c54c78ad1', class: { 'xv-menu-loader': true, open: this.open } }, index.h("xv-loader-v2", { key: 'edc6050149e7bec3226e702e90495158fcfa5042' }))), index.h("ul", { key: '1ee4e69bafa8c3b347a2644c78635e79a28af97e', 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: 'f1df8c416d8fdfcde763a060673d4b9501ac1b09', class: "menu--right" }, index.h("slot", { key: '995dfd2a30b0bbea7b776cf6664f67ce6940ae43', name: "menu-right" })), this.open && (index.h("li", { key: 'b030b2e68463a51b7ac287b9a8b8475a0051ca15', 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(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\"],\"workerUrl\":[1,\"worker-url\"],\"lazy\":[4],\"ready\":[32],\"loadError\":[32],\"zoomGated\":[32],\"searchResults\":[32],\"searchQuery\":[32],\"selectByRadius\":[64],\"selectPostalCodes\":[64],\"clearSelection\":[64],\"previewByRadius\":[64],\"clearPreview\":[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);
|
|
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],\"warning\":[8],\"helper\":[1],\"errors\":[1040],\"dragActive\":[32],\"errorMessages\":[32],\"internalError\":[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],\"styleUrl\":[1,\"style-url\"],\"language\":[1],\"tiles\":[1],\"attribution\":[1],\"centerLng\":[2,\"center-lng\"],\"centerLat\":[2,\"center-lat\"],\"zoom\":[2],\"selectZoom\":[2,\"select-zoom\"],\"workerUrl\":[1,\"worker-url\"],\"lazy\":[4],\"showSearch\":[4,\"show-search\"],\"ready\":[32],\"loadError\":[32],\"zoomGated\":[32],\"searchResults\":[32],\"searchQuery\":[32],\"selectByRadius\":[64],\"selectPostalCodes\":[64],\"clearSelection\":[64],\"previewByRadius\":[64],\"clearPreview\":[64]},null,{\"level\":[{\"levelChanged\":0}],\"selectZoom\":[{\"selectZoomChanged\":0}],\"showSearch\":[{\"showSearchChanged\":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;
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
:host ::slotted([slot=title]) {
|
|
52
52
|
margin: 0 !important;
|
|
53
53
|
color: var(--text-primary, #333) !important;
|
|
54
|
-
font-family: var(--ff-heading, "Gill Sans")
|
|
55
|
-
font-size:
|
|
54
|
+
font-family: var(--ff-heading, "Gill Sans"), sans-serif;
|
|
55
|
+
font-size: 20px;
|
|
56
56
|
text-align: left;
|
|
57
57
|
font-style: normal !important;
|
|
58
|
-
font-weight: 400
|
|
59
|
-
line-height: normal
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
line-height: normal;
|
|
60
60
|
padding: var(--spacing-05) var(--spacing-05) var(--spacing-06) !important;
|
|
61
61
|
}
|
|
62
62
|
:host ::slotted([slot=toolbar]) {
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
font-size: 1em;
|
|
15
15
|
margin: 0;
|
|
16
16
|
color: var(--text-secondary);
|
|
17
|
+
white-space: pre-line;
|
|
17
18
|
}
|
|
18
19
|
:host .upload-btn {
|
|
19
20
|
padding: 0 1.14em;
|
|
@@ -33,6 +34,7 @@
|
|
|
33
34
|
min-height: 90px;
|
|
34
35
|
border: 1px dashed var(--border-strong-01);
|
|
35
36
|
background-color: transparent;
|
|
37
|
+
color: var(--link-primary, #346800);
|
|
36
38
|
padding: 1.14em;
|
|
37
39
|
border-radius: 0.285em;
|
|
38
40
|
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
@@ -100,15 +102,43 @@
|
|
|
100
102
|
color: var(--text-secondary, #515151);
|
|
101
103
|
white-space: pre-line;
|
|
102
104
|
}
|
|
103
|
-
:host .
|
|
105
|
+
:host .message {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
gap: var(--spacing-03);
|
|
104
109
|
text-align: left;
|
|
105
110
|
margin: 0;
|
|
106
111
|
padding: 0 var(--spacing-05);
|
|
107
112
|
font-size: 0.858em;
|
|
108
113
|
font-style: normal;
|
|
109
114
|
font-weight: 400;
|
|
115
|
+
color: var(--text-helper, #646464);
|
|
116
|
+
}
|
|
117
|
+
:host .message.error {
|
|
110
118
|
color: var(--text-error);
|
|
111
119
|
}
|
|
120
|
+
:host .message.warning {
|
|
121
|
+
color: var(--text-secondary, #515151);
|
|
122
|
+
}
|
|
123
|
+
:host .message .status-icon {
|
|
124
|
+
display: inline-flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
flex: none;
|
|
128
|
+
}
|
|
129
|
+
:host .message .status-icon.error {
|
|
130
|
+
width: 16px;
|
|
131
|
+
height: 16px;
|
|
132
|
+
border-radius: 8px;
|
|
133
|
+
background-color: var(--support-error);
|
|
134
|
+
color: white;
|
|
135
|
+
font-size: 12px;
|
|
136
|
+
font-weight: bold;
|
|
137
|
+
}
|
|
138
|
+
:host .message .status-icon.warning {
|
|
139
|
+
color: var(--support-warning, #FF7F04);
|
|
140
|
+
font-size: 1.15em;
|
|
141
|
+
}
|
|
112
142
|
|
|
113
143
|
:host(.disabled) {
|
|
114
144
|
pointer-events: none;
|
|
@@ -133,6 +163,14 @@
|
|
|
133
163
|
border-color: var(--support-error);
|
|
134
164
|
}
|
|
135
165
|
|
|
166
|
+
:host(.warning) .uploadBtn {
|
|
167
|
+
outline: 1px solid var(--support-warning, #FF7F04);
|
|
168
|
+
border-radius: 0.285em;
|
|
169
|
+
}
|
|
170
|
+
:host(.warning) .drop-zone {
|
|
171
|
+
border-color: var(--support-warning, #FF7F04);
|
|
172
|
+
}
|
|
173
|
+
|
|
136
174
|
:host([size=xs]) {
|
|
137
175
|
font-size: 10px;
|
|
138
176
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h, Host, Fragment } from "@stencil/core";
|
|
2
2
|
import { SIZE_VAR } from "../../types/enum";
|
|
3
3
|
import { XvFileUploaderVariants } from "./_vars";
|
|
4
|
+
import { resolveFieldMessage } from "../../utils/utils";
|
|
4
5
|
export class XvFileUploader {
|
|
5
6
|
constructor() {
|
|
6
7
|
this.variant = XvFileUploaderVariants.BUTTON;
|
|
@@ -15,6 +16,8 @@ export class XvFileUploader {
|
|
|
15
16
|
this.errors = [];
|
|
16
17
|
this.dragActive = false;
|
|
17
18
|
this.errorMessages = [];
|
|
19
|
+
// Kept apart from `error` so a consumer-supplied message survives the next pick.
|
|
20
|
+
this.internalError = null;
|
|
18
21
|
this.onFileSelect = (event) => {
|
|
19
22
|
const input = event.target;
|
|
20
23
|
const selectedFiles = Array.from(input.files || []);
|
|
@@ -53,10 +56,10 @@ export class XvFileUploader {
|
|
|
53
56
|
const uniqueFiles = [];
|
|
54
57
|
for (const file of files) {
|
|
55
58
|
let error = null;
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
if (seenFileNames.has(file.name))
|
|
60
|
+
continue;
|
|
61
|
+
seenFileNames.add(file.name);
|
|
62
|
+
uniqueFiles.push(file);
|
|
60
63
|
const dotIndex = file.name.lastIndexOf('.');
|
|
61
64
|
const extension = file.name.substring(dotIndex).toLowerCase();
|
|
62
65
|
const isAccepted = this.accept.length === 0 || this.accept.some(type => type.toLowerCase() === extension);
|
|
@@ -68,7 +71,7 @@ export class XvFileUploader {
|
|
|
68
71
|
}
|
|
69
72
|
errorMessages.push(error);
|
|
70
73
|
}
|
|
71
|
-
this.
|
|
74
|
+
this.internalError = uniqueFiles.length > this.maxFiles
|
|
72
75
|
? `Only ${this.maxFiles} file(s) allowed.`
|
|
73
76
|
: null;
|
|
74
77
|
this.errorMessages = errorMessages;
|
|
@@ -84,7 +87,15 @@ export class XvFileUploader {
|
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
render() {
|
|
87
|
-
|
|
90
|
+
const error = this.error || this.internalError;
|
|
91
|
+
const message = resolveFieldMessage({ error, warning: this.warning, helper: this.helper });
|
|
92
|
+
return (h(Host, { key: '04568eba6facb5a18a4b4bc9ae6de9ce0f3e3db7', class: {
|
|
93
|
+
'upload-wrapper': true,
|
|
94
|
+
[`uploader-${this.size}`]: true,
|
|
95
|
+
disabled: !!this.disabled,
|
|
96
|
+
error: !!error,
|
|
97
|
+
warning: !!this.warning && !error,
|
|
98
|
+
} }, this.label && h("label", { key: '5c5861bee814ecacdd43fd92dcb47240869f895b', class: "label" }, this.label), this.description && h("p", { key: 'd4a5de6bb093e02010ba98031dd5eda4c748ec9f', 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: '08df6268214165b3b40ae177de230eae800d1a23', ref: el => (this.fileInput = el), type: "file", hidden: true, onChange: this.onFileSelect, multiple: this.multiple, accept: this.accept.join(',') }), message && (h("p", { key: '8f777fdc47a98f8ff9be67fafb8b1da79eabad09', class: { message: true, [message.level]: true } }, message.level === 'error' && h("span", { key: '4c550a739de39651a8326569546162b08555ef63', class: "status-icon error", "aria-hidden": "true" }, "!"), message.level === 'warning' && h("span", { key: 'b8a8229a57c053f94b691d86404313677b1f26ca', class: "status-icon warning", "aria-hidden": "true" }, "\u26A0"), message.text)), h("ul", { key: '6d82ac56ab535618bc958068c06ff987bdab1022', class: "file-list" }, this.files.map((file, index) => {
|
|
88
99
|
var _a, _b;
|
|
89
100
|
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
101
|
}))));
|
|
@@ -416,6 +427,44 @@ export class XvFileUploader {
|
|
|
416
427
|
"reflect": true,
|
|
417
428
|
"attribute": "error"
|
|
418
429
|
},
|
|
430
|
+
"warning": {
|
|
431
|
+
"type": "any",
|
|
432
|
+
"mutable": false,
|
|
433
|
+
"complexType": {
|
|
434
|
+
"original": "string | boolean",
|
|
435
|
+
"resolved": "boolean | string",
|
|
436
|
+
"references": {}
|
|
437
|
+
},
|
|
438
|
+
"required": false,
|
|
439
|
+
"optional": true,
|
|
440
|
+
"docs": {
|
|
441
|
+
"tags": [],
|
|
442
|
+
"text": ""
|
|
443
|
+
},
|
|
444
|
+
"getter": false,
|
|
445
|
+
"setter": false,
|
|
446
|
+
"reflect": false,
|
|
447
|
+
"attribute": "warning"
|
|
448
|
+
},
|
|
449
|
+
"helper": {
|
|
450
|
+
"type": "string",
|
|
451
|
+
"mutable": false,
|
|
452
|
+
"complexType": {
|
|
453
|
+
"original": "string",
|
|
454
|
+
"resolved": "string",
|
|
455
|
+
"references": {}
|
|
456
|
+
},
|
|
457
|
+
"required": false,
|
|
458
|
+
"optional": true,
|
|
459
|
+
"docs": {
|
|
460
|
+
"tags": [],
|
|
461
|
+
"text": ""
|
|
462
|
+
},
|
|
463
|
+
"getter": false,
|
|
464
|
+
"setter": false,
|
|
465
|
+
"reflect": false,
|
|
466
|
+
"attribute": "helper"
|
|
467
|
+
},
|
|
419
468
|
"errors": {
|
|
420
469
|
"type": "unknown",
|
|
421
470
|
"mutable": true,
|
|
@@ -439,7 +488,8 @@ export class XvFileUploader {
|
|
|
439
488
|
static get states() {
|
|
440
489
|
return {
|
|
441
490
|
"dragActive": {},
|
|
442
|
-
"errorMessages": {}
|
|
491
|
+
"errorMessages": {},
|
|
492
|
+
"internalError": {}
|
|
443
493
|
};
|
|
444
494
|
}
|
|
445
495
|
static get events() {
|
|
@@ -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: '726a05b831d337bdef052ca16b478a85ef5dfd9b', class: "xv-footer" }, (advantages === null || advantages === void 0 ? void 0 : advantages.length) > 0 && (h("div", { key: '22a41f8bd514f4b61bc62df31ddcabc5de7b7bc6', class: "xv-footer-advantages" }, h("div", { key: '5e4035e086ad3bd7987ff802736096c4364f8530', class: "xv-container" }, this._renderFooterList(advantages, { itemWithLabel: true })))), hasDataLength && (h("div", { key: '003822874e51506b991f76e92c4f5d8c96073f99', class: "xv-container" }, h("div", { key: '4e09e7f929eff1a781d6d64120915ca4d30f5d86', class: "xv-footer__grid xv-footer-y-spacing" }, h("div", { key: 'ebd4fd1e5e72fd08f9c49c10bf0e760fb644864f', class: "xv-footer__col-main" }, h("ul", { key: 'bdfa7fc3986ea83b3b3514ae61e0c463f1070f3c', 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: 'f912a89f9b8132ae932a12ab3ff844e4781ecd48', 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: '0ab1803fd376c5f10be8b0e664d81dd8158577de', class: "xv-footer-legal" }, h("div", { key: 'b755d56da4c5ce178a1b3b0e1883e3444144b54b', class: "xv-container" }, h("div", { key: '356cc0b19cccf1e69b5531ff580a6c63274c0783', class: "xv-footer-legal-row" }, logo && (h("a", { key: '325a93b944d086c42565bdf6b973301f25fbd778', class: "xv-footer-logo", href: logo.href, target: logo.target }, logo.label && h("span", { key: '6292ac8dc8630818902d96da3b275e1e3f763281', class: "xv-label-02" }, logo.label), h("img", { key: '847e90de5ebb14fdf255c7c37ad1f90c99424f02', loading: "lazy", src: logo.image, alt: logo.label }))), h("ul", { key: 'd692fb126d2e382fe142fd3b033f794fc38f66fd' }, 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
|
}
|
|
@@ -29,9 +29,20 @@ export class XvGeoMap {
|
|
|
29
29
|
/** Shape resolution: medium = simplified geometry (snappy), high = originals */
|
|
30
30
|
this.resolution = 'medium';
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* data
|
|
34
|
-
*
|
|
32
|
+
* MapLibre style URL for the vector basemap. Default: OpenFreeMap Positron — the same
|
|
33
|
+
* pale data-overlay look as the previous CARTO light, free for commercial use, no API
|
|
34
|
+
* key (openfreemap.org). Set to an empty string to fall back to the raster `tiles` path.
|
|
35
|
+
*/
|
|
36
|
+
this.styleUrl = 'https://tiles.openfreemap.org/styles/positron';
|
|
37
|
+
/**
|
|
38
|
+
* Label language for the vector basemap (OpenMapTiles `name:{lang}` attribute, falling
|
|
39
|
+
* back to the place's local name). Empty string keeps the style's own labels.
|
|
40
|
+
*/
|
|
41
|
+
this.language = 'de';
|
|
42
|
+
/**
|
|
43
|
+
* Raster tile URL template, used only when `style-url` is empty. The former CARTO
|
|
44
|
+
* default now watermarks keyless traffic ("API KEY REQUIRED"), so this path needs a
|
|
45
|
+
* keyed/licensed tile URL.
|
|
35
46
|
*/
|
|
36
47
|
this.tiles = 'https://basemaps.cartocdn.com/rastertiles/light_all/{z}/{x}/{y}@2x.png';
|
|
37
48
|
this.attribution = '© CARTO, © OpenStreetMap contributors';
|
|
@@ -43,6 +54,8 @@ export class XvGeoMap {
|
|
|
43
54
|
this.selectZoom = 9;
|
|
44
55
|
/** Load the map bundle only when scrolled near the viewport (default: true) */
|
|
45
56
|
this.lazy = true;
|
|
57
|
+
/** Show the search box over the map (default: true) */
|
|
58
|
+
this.showSearch = true;
|
|
46
59
|
this.ready = false;
|
|
47
60
|
this.loadError = false;
|
|
48
61
|
this.zoomGated = true;
|
|
@@ -86,6 +99,10 @@ export class XvGeoMap {
|
|
|
86
99
|
['units-fill', 'units-hover', 'units-line'].forEach(l => this.map.setLayerZoomRange(l, this.selectZoom, 24));
|
|
87
100
|
this.refreshUnits();
|
|
88
101
|
}
|
|
102
|
+
showSearchChanged(value) {
|
|
103
|
+
if (!value)
|
|
104
|
+
this.resetSearch();
|
|
105
|
+
}
|
|
89
106
|
componentDidLoad() {
|
|
90
107
|
if (!this.lazy || !('IntersectionObserver' in window)) {
|
|
91
108
|
this.initMap();
|
|
@@ -116,7 +133,7 @@ export class XvGeoMap {
|
|
|
116
133
|
}
|
|
117
134
|
const map = new maplibregl.Map({
|
|
118
135
|
container: this.mapContainer,
|
|
119
|
-
style: {
|
|
136
|
+
style: this.styleUrl || {
|
|
120
137
|
version: 8,
|
|
121
138
|
sources: {
|
|
122
139
|
basemap: {
|
|
@@ -138,6 +155,23 @@ export class XvGeoMap {
|
|
|
138
155
|
this.el._map = map; // e2e/test handle
|
|
139
156
|
map.addControl(new maplibregl.NavigationControl({ showCompass: false }));
|
|
140
157
|
map.on('load', () => {
|
|
158
|
+
// The hosted style labels in international/English names ("Rhineland Palatinate"),
|
|
159
|
+
// mixed with local ones. The tile data carries per-language names, so rewrite every
|
|
160
|
+
// name-based label layer to prefer the configured language over the style default.
|
|
161
|
+
if (this.styleUrl && this.language) {
|
|
162
|
+
for (const layer of map.getStyle().layers) {
|
|
163
|
+
if (layer.type !== 'symbol')
|
|
164
|
+
continue;
|
|
165
|
+
const textField = map.getLayoutProperty(layer.id, 'text-field');
|
|
166
|
+
if (textField && JSON.stringify(textField).includes('name')) {
|
|
167
|
+
map.setLayoutProperty(layer.id, 'text-field', [
|
|
168
|
+
'coalesce',
|
|
169
|
+
['get', `name:${this.language}`],
|
|
170
|
+
['get', 'name'],
|
|
171
|
+
]);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
141
175
|
// Design tokens (Masha, MAR-15783): selection = highlight-01 fill / interactive-02
|
|
142
176
|
// outline; optimizer preview = highlight-02 fill / interactive-01 outline. Fallbacks
|
|
143
177
|
// keep the previous XV green/amber where the host page lacks the tokens.
|
|
@@ -470,11 +504,30 @@ export class XvGeoMap {
|
|
|
470
504
|
}
|
|
471
505
|
}, 300);
|
|
472
506
|
}
|
|
473
|
-
|
|
507
|
+
resetSearch() {
|
|
508
|
+
clearTimeout(this.searchDebounce);
|
|
509
|
+
this.searchSeq++;
|
|
474
510
|
this.searchQuery = '';
|
|
475
511
|
this.searchResults = [];
|
|
476
|
-
|
|
477
|
-
|
|
512
|
+
}
|
|
513
|
+
pickSearchResult(result) {
|
|
514
|
+
this.resetSearch();
|
|
515
|
+
// navigate only (QA, 28.08): finding an area means SHOWING it — selecting stays a
|
|
516
|
+
// deliberate click on the map. Applies to every level (PLZ, Landkreis, Bundesland).
|
|
517
|
+
void this.flyToUnit(result.code).catch(() => undefined);
|
|
518
|
+
}
|
|
519
|
+
/** Pan/zoom to a unit without touching the selection. */
|
|
520
|
+
async flyToUnit(code) {
|
|
521
|
+
var _a;
|
|
522
|
+
await this.ensureReady();
|
|
523
|
+
const res = await fetch(`${this.apiBase}/geo-units/${encodeURIComponent(this.level)}/lookup?resolution=${this.resolution}`, {
|
|
524
|
+
method: 'POST',
|
|
525
|
+
headers: { 'Content-Type': 'application/json' },
|
|
526
|
+
body: JSON.stringify({ codes: [code] }),
|
|
527
|
+
});
|
|
528
|
+
if (!res.ok)
|
|
529
|
+
return; // search already found it; a failed lookup just means no jump
|
|
530
|
+
this.fitTo((_a = unwrap(await res.json())) !== null && _a !== void 0 ? _a : []);
|
|
478
531
|
}
|
|
479
532
|
/** A method call means the map is needed now — start loading even if it hasn't scrolled into view. */
|
|
480
533
|
ensureReady() {
|
|
@@ -515,7 +568,7 @@ export class XvGeoMap {
|
|
|
515
568
|
this.map.fitBounds([[minX, minY], [maxX, maxY]], { padding: 48, maxZoom: 12, duration: 800 });
|
|
516
569
|
}
|
|
517
570
|
render() {
|
|
518
|
-
return (h(Host, { key: '
|
|
571
|
+
return (h(Host, { key: '5e284532eaaf73fac04321672fd135a5fdfd1055' }, h("div", { key: 'b9334d39245fde17f998d0ad2557fe0a1fd09394', class: "container" }, h("div", { key: '8de6c78a3fb0907c9aac53f4543e3c0e85fbef73', class: "map", ref: el => (this.mapContainer = el) }), this.ready && this.showSearch && (h("div", { key: 'e65a447aa5fbebd4c95681c23ffa944d58d43c04', class: "search" }, h("input", { key: 'a33e4ccc1eaa2c8bd303126de72bcf0ce8a667ab', type: "search", placeholder: "Ort oder PLZ suchen", value: this.searchQuery, onInput: e => this.onSearchInput(e.target.value) }), this.searchResults.length > 0 && (h("ul", { key: 'd1debbd7d31a7a2048b109ba2e29fa4362e8a1a0', class: "search-results" }, this.searchResults.map(r => (h("li", { key: r.code, onClick: () => this.pickSearchResult(r) }, h("strong", null, r.code), " ", r.name))))))), this.ready && this.zoomGated && (h("div", { key: 'ecfe1655f20432ef5f1941bfe46b21eedfe24ee1', class: "hint" }, "Reinzoomen, um PLZ-Gebiete zu laden")), !this.ready && !this.loadError && (h("div", { key: 'c55d03375b737d2d9eaf27cd77f1e5a1156e6f90', class: "skeleton", "aria-busy": "true" }, h("xv-loader-v2", { key: '3ec94850cae9e4660110c809d39bab2625e79137', variant: "vertical" }, "Karte wird geladen \u2026"))), this.loadError && h("div", { key: '0fe30d566b83e27deff3367e2200b1142bdfa5ec', class: "skeleton error" }, "Karte konnte nicht geladen werden."))));
|
|
519
572
|
}
|
|
520
573
|
static get is() { return "xv-geo-map-v2"; }
|
|
521
574
|
static get encapsulation() { return "shadow"; }
|
|
@@ -631,6 +684,46 @@ export class XvGeoMap {
|
|
|
631
684
|
"attribute": "resolution",
|
|
632
685
|
"defaultValue": "'medium'"
|
|
633
686
|
},
|
|
687
|
+
"styleUrl": {
|
|
688
|
+
"type": "string",
|
|
689
|
+
"mutable": false,
|
|
690
|
+
"complexType": {
|
|
691
|
+
"original": "string",
|
|
692
|
+
"resolved": "string",
|
|
693
|
+
"references": {}
|
|
694
|
+
},
|
|
695
|
+
"required": false,
|
|
696
|
+
"optional": false,
|
|
697
|
+
"docs": {
|
|
698
|
+
"tags": [],
|
|
699
|
+
"text": "MapLibre style URL for the vector basemap. Default: OpenFreeMap Positron \u2014 the same\npale data-overlay look as the previous CARTO light, free for commercial use, no API\nkey (openfreemap.org). Set to an empty string to fall back to the raster `tiles` path."
|
|
700
|
+
},
|
|
701
|
+
"getter": false,
|
|
702
|
+
"setter": false,
|
|
703
|
+
"reflect": false,
|
|
704
|
+
"attribute": "style-url",
|
|
705
|
+
"defaultValue": "'https://tiles.openfreemap.org/styles/positron'"
|
|
706
|
+
},
|
|
707
|
+
"language": {
|
|
708
|
+
"type": "string",
|
|
709
|
+
"mutable": false,
|
|
710
|
+
"complexType": {
|
|
711
|
+
"original": "string",
|
|
712
|
+
"resolved": "string",
|
|
713
|
+
"references": {}
|
|
714
|
+
},
|
|
715
|
+
"required": false,
|
|
716
|
+
"optional": false,
|
|
717
|
+
"docs": {
|
|
718
|
+
"tags": [],
|
|
719
|
+
"text": "Label language for the vector basemap (OpenMapTiles `name:{lang}` attribute, falling\nback to the place's local name). Empty string keeps the style's own labels."
|
|
720
|
+
},
|
|
721
|
+
"getter": false,
|
|
722
|
+
"setter": false,
|
|
723
|
+
"reflect": false,
|
|
724
|
+
"attribute": "language",
|
|
725
|
+
"defaultValue": "'de'"
|
|
726
|
+
},
|
|
634
727
|
"tiles": {
|
|
635
728
|
"type": "string",
|
|
636
729
|
"mutable": false,
|
|
@@ -643,7 +736,7 @@ export class XvGeoMap {
|
|
|
643
736
|
"optional": false,
|
|
644
737
|
"docs": {
|
|
645
738
|
"tags": [],
|
|
646
|
-
"text": "Raster tile URL template
|
|
739
|
+
"text": "Raster tile URL template, used only when `style-url` is empty. The former CARTO\ndefault now watermarks keyless traffic (\"API KEY REQUIRED\"), so this path needs a\nkeyed/licensed tile URL."
|
|
647
740
|
},
|
|
648
741
|
"getter": false,
|
|
649
742
|
"setter": false,
|
|
@@ -789,6 +882,26 @@ export class XvGeoMap {
|
|
|
789
882
|
"reflect": false,
|
|
790
883
|
"attribute": "lazy",
|
|
791
884
|
"defaultValue": "true"
|
|
885
|
+
},
|
|
886
|
+
"showSearch": {
|
|
887
|
+
"type": "boolean",
|
|
888
|
+
"mutable": false,
|
|
889
|
+
"complexType": {
|
|
890
|
+
"original": "boolean",
|
|
891
|
+
"resolved": "boolean",
|
|
892
|
+
"references": {}
|
|
893
|
+
},
|
|
894
|
+
"required": false,
|
|
895
|
+
"optional": false,
|
|
896
|
+
"docs": {
|
|
897
|
+
"tags": [],
|
|
898
|
+
"text": "Show the search box over the map (default: true)"
|
|
899
|
+
},
|
|
900
|
+
"getter": false,
|
|
901
|
+
"setter": false,
|
|
902
|
+
"reflect": false,
|
|
903
|
+
"attribute": "show-search",
|
|
904
|
+
"defaultValue": "true"
|
|
792
905
|
}
|
|
793
906
|
};
|
|
794
907
|
}
|
|
@@ -979,6 +1092,9 @@ export class XvGeoMap {
|
|
|
979
1092
|
}, {
|
|
980
1093
|
"propName": "selectZoom",
|
|
981
1094
|
"methodName": "selectZoomChanged"
|
|
1095
|
+
}, {
|
|
1096
|
+
"propName": "showSearch",
|
|
1097
|
+
"methodName": "showSearchChanged"
|
|
982
1098
|
}];
|
|
983
1099
|
}
|
|
984
1100
|
}
|
|
@@ -173,7 +173,7 @@ export class XvHeader {
|
|
|
173
173
|
render() {
|
|
174
174
|
var _a, _b, _c, _d, _e;
|
|
175
175
|
const isXvBrand = (((_a = this.metaNav) === null || _a === void 0 ? void 0 : _a['WhitelabelName']) || 'Xv') === 'Xv';
|
|
176
|
-
return (h("header", { key: '
|
|
176
|
+
return (h("header", { key: '5683344a3c1c65652aafefcd39a29cfb52b39630', class: "header" }, h("div", { key: '51a5be7406c30c5eb21612e253f6f816c07c2474', class: "header-wrapper" }, h("div", { key: '355678ae2ea723877995820902a7ecc831b24e25', class: "xv-container" }, h("div", { key: 'b204f994a41175f413fc11a4b4501ea36d83c49a', class: "header-top" }, h("div", { key: '58e62438aaf3568986422eadd60abc27242ee0e2', class: "header-top--left" }, h("xv-button-v2", { key: 'c2bd1f89d10a2d6a4468a4eb84b0a305afe130e6', class: "menu-btn", variant: "ghost", onClick: this.toggleMobMenu }, h("i", { key: 'f6299023fffc108aa30edadd662f1c9cac20a444', slot: "icon-left", class: { 'fa': true, 'fa-times': this.mobMenuOpen, 'fa-bars': !this.mobMenuOpen } })), this.metaNav && (h("a", { key: '9a3187c7a0a0f5bc824e5aa5e4f885509e4cff06', href: `${window.location.origin}/` }, h("picture", { key: '53a3940f8a98f039a5750b42f1b9848e5a0e5dcd' }, h("source", { key: '95dbb7a4837d25c488d5a588da905793e81706e9', 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)" }), h("img", { key: 'bd94249dc77e9b9767b4d5eb899acce398085e93', 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 && (h("xv-link-v2", { key: 'e8ea29d1d86816d48b0a21433fb0bb56609e2a43', class: "header-top--orgUnit", variant: "standalone", href: "/de-de/mycrossvertise" }, this.orgUnit))), h("ul", { key: '0faa215cd3ff434bb57992e3d683ba5365b2434a', class: "header-top--right" }, this._renderSearch(), this._renderImpersonationInfo(), !((_d = this.metaNav) === null || _d === void 0 ? void 0 : _d.IsManager) && isXvBrand && (h("li", { key: '33e91f13c12e158bbab3021fdeabde589ba8d811' }, h("xv-link-v2", { key: 'cf6abae927469bf5d11d664c2b55bfa690712b7c', variant: "ghost", href: "https://www.crossvertise.com/ueber-uns/kontakt" }, h("xv-button-v2", { key: 'cccb09642e193457f8a8ed76852051f66e35e267', variant: "ghost", size: SIZE_VAR.MD }, h("i", { key: '865a8a9b71566c9e12767f1f816baf6b81b38881', class: "header-icon far fa-envelope" }), h("span", { key: '33917225be2b21427dfe26029acd3e95b88ced96', class: "header-label xv-body-02" }, "Kontakt"))))), this._renderNotifications(), this._renderAccount(), !((_e = this.metaNav) === null || _e === void 0 ? void 0 : _e.IsManager) && isXvBrand && (h("li", { key: '4493c9258b480c76150dfa1e6a166625ccc53f3d' }, h("xv-link-v2", { key: '15165cd18bf8c6df2fa0a01a04060b8ec3e8d7c9', variant: "ghost", href: "https://help.crossvertise.com" }, h("xv-button-v2", { key: 'c57fbe7a136ea7a3b7156b676aeb9de9563f7641', variant: "ghost", size: SIZE_VAR.MD }, h("i", { key: '6299e5025daf1eb965a391f22b16c36d121446f6', class: "header-icon far fa-question-circle" }), h("span", { key: 'c12f1fd242b0139f6bf36a91ff4783ba0ee8311e', class: "header-label xv-body-02" }, "Hilfe"))))), this._renderShoppingCart()))), h("div", { key: 'a811e4d9776a559a0514614a5af21b1df291b58f', class: "header-wrapper--bg" }, h("div", { key: 'ac5415351936518dbfb37bd2bc0a8ef507779ca9', class: "xv-container" }, h("xv-mega-menu", { key: '3a261a18a1fea02ae336975e0699b4d80bf2b4ed', open: this.mobMenuOpen, onOpenChange: this.closeMobMenu })))), h("xv-login-modal", { key: '2958a0ed0091eb1f88337aa6ed4d88d8fa7f3e02', visible: this.showLoginModal, onClose: () => this.showLoginModal = false })));
|
|
177
177
|
}
|
|
178
178
|
static get is() { return "xv-header"; }
|
|
179
179
|
static get originalStyleUrls() {
|