xv-webcomponents 1.24.14-qa.0 → 1.24.18
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/{index-DpLAFt0R.js → index-CsKqwBc1.js} +644 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/xv-accordion-v2_50.cjs.entry.js +55 -36
- package/dist/cjs/xv-footer-next.cjs.entry.js +122 -0
- package/dist/cjs/xv-header-next.cjs.entry.js +2 -2
- package/dist/cjs/xv-mega-menu-next.cjs.entry.js +7 -7
- package/dist/cjs/xv-webcomponents.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.css +2 -1
- package/dist/collection/components/xv-footer-next/xv-footer-next.css +486 -0
- package/dist/collection/components/xv-footer-next/xv-footer-next.js +167 -0
- package/dist/collection/components/xv-footer-next/xv-footer-next.model.js +17 -0
- package/dist/collection/components/xv-geo-map/xv-geo-map.js +41 -1
- 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.css +42 -2
- package/dist/collection/components/xv-mega-menu-next/xv-mega-menu-next.js +20 -6
- 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/{index-CQm2sRKT.js → index-D0yFoU2h.js} +1 -1
- package/dist/esm/{index-DmxA2ysB.js → index-Owr_mJOX.js} +644 -7
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/xv-accordion-v2_50.entry.js +56 -37
- package/dist/esm/xv-footer-next.entry.js +120 -0
- package/dist/esm/xv-header-next.entry.js +3 -3
- package/dist/esm/xv-mega-menu-next.entry.js +8 -8
- package/dist/esm/xv-webcomponents.js +3 -3
- package/dist/types/components/xv-footer-next/xv-footer-next.d.ts +42 -0
- package/dist/types/components/xv-footer-next/xv-footer-next.model.d.ts +43 -0
- package/dist/types/components/xv-geo-map/xv-geo-map.d.ts +7 -0
- package/dist/types/components/xv-mega-menu-next/xv-mega-menu-next.d.ts +14 -0
- package/dist/types/components.d.ts +131 -0
- package/dist/xv-webcomponents/index.esm.js +1 -1
- package/dist/xv-webcomponents/p-3dd10203.entry.js +1 -0
- package/dist/xv-webcomponents/p-76cf729b.entry.js +8 -0
- package/dist/xv-webcomponents/{p-CQm2sRKT.js → p-D0yFoU2h.js} +1 -1
- package/dist/xv-webcomponents/p-Owr_mJOX.js +2 -0
- package/dist/xv-webcomponents/p-ec19bcc7.entry.js +1 -0
- package/dist/xv-webcomponents/{p-f46bb687.entry.js → p-fbd8ca68.entry.js} +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/hydrate/index.d.ts +287 -0
- package/hydrate/index.js +113808 -0
- package/hydrate/index.mjs +113798 -0
- package/hydrate/package.json +12 -0
- package/package.json +8 -2
- package/dist/xv-webcomponents/p-88185dc3.entry.js +0 -8
- package/dist/xv-webcomponents/p-DmxA2ysB.js +0 -2
- package/dist/xv-webcomponents/p-fe9b38f8.entry.js +0 -1
|
@@ -10,6 +10,7 @@ import { XvDataTableCheck, XvDataTableReorder } from "./components/xv-data-table
|
|
|
10
10
|
import { XvDateInput, XvDatePrecision, XvDateSelection, XvWeekStart } from "./components/xv-date-picker/xv-date-picker.model";
|
|
11
11
|
import { DropdownItemData } from "./components/xv-dropdown/_vars";
|
|
12
12
|
import { XvFileUploaderVariants } from "./components/xv-file-uploader/_vars";
|
|
13
|
+
import { FooterDataModel } from "./components/xv-footer-next/xv-footer-next.model";
|
|
13
14
|
import { GeoMapSelection } from "./components/xv-geo-map/xv-geo-map";
|
|
14
15
|
import { MenuItem } from "./components/xv-mega-menu-next/xv-mega-menu-next.model";
|
|
15
16
|
import { NOTIFICATION_VARIANTS_STR } from "./components/xv-notification/_vars";
|
|
@@ -25,6 +26,7 @@ export { XvDataTableCheck, XvDataTableReorder } from "./components/xv-data-table
|
|
|
25
26
|
export { XvDateInput, XvDatePrecision, XvDateSelection, XvWeekStart } from "./components/xv-date-picker/xv-date-picker.model";
|
|
26
27
|
export { DropdownItemData } from "./components/xv-dropdown/_vars";
|
|
27
28
|
export { XvFileUploaderVariants } from "./components/xv-file-uploader/_vars";
|
|
29
|
+
export { FooterDataModel } from "./components/xv-footer-next/xv-footer-next.model";
|
|
28
30
|
export { GeoMapSelection } from "./components/xv-geo-map/xv-geo-map";
|
|
29
31
|
export { MenuItem } from "./components/xv-mega-menu-next/xv-mega-menu-next.model";
|
|
30
32
|
export { NOTIFICATION_VARIANTS_STR } from "./components/xv-notification/_vars";
|
|
@@ -597,6 +599,26 @@ export namespace Components {
|
|
|
597
599
|
}
|
|
598
600
|
interface XvFooter {
|
|
599
601
|
}
|
|
602
|
+
/**
|
|
603
|
+
* Drop-in successor of `xv-footer` for the new headless CMS.
|
|
604
|
+
* Identical to the original except:
|
|
605
|
+
* 1. Tag is `xv-footer-next`
|
|
606
|
+
* 2. Accepts a `footer-data` prop so the consumer can pre-render the
|
|
607
|
+
* content instead of the component fetching it at runtime. The CMS
|
|
608
|
+
* stores one document per language, which is what makes a translated
|
|
609
|
+
* footer possible at all.
|
|
610
|
+
* 3. The three sidebar headings come from `labels` in that data instead of
|
|
611
|
+
* being hardcoded German strings. Missing keys fall back to the old
|
|
612
|
+
* wording, so a V1 payload renders exactly as before.
|
|
613
|
+
* Without the prop it behaves like V1: it fetches the whitelabel JSON from
|
|
614
|
+
* blob storage on load, so it stays a drop-in replacement.
|
|
615
|
+
*/
|
|
616
|
+
interface XvFooterNext {
|
|
617
|
+
/**
|
|
618
|
+
* Footer content, either as a JSON string (HTML attribute) or as an object (JS property). When set, no network request is made.
|
|
619
|
+
*/
|
|
620
|
+
"footerData"?: string | FooterDataModel;
|
|
621
|
+
}
|
|
600
622
|
/**
|
|
601
623
|
* Minimal ATV planner map: MapLibre + PLZ boundaries from the XvGeoTool API.
|
|
602
624
|
* Click a PLZ to (de)select it. No further UI — selection state and reach
|
|
@@ -660,6 +682,10 @@ export namespace Components {
|
|
|
660
682
|
* Highlight what a radius extension would ADD (optimizer proposal): the units within `km` that are not part of the selection render in the preview color. Visual only — the selection and its change events stay untouched. Returns the number of added units.
|
|
661
683
|
*/
|
|
662
684
|
"previewByRadius": (startPlz: string, km: number) => Promise<number>;
|
|
685
|
+
/**
|
|
686
|
+
* Highlight already-loaded units by code in the preview color — the ATV optimizer's region-reduction proposal marks the units it would DROP from the selection (MAR-15968). Visual only, like previewByRadius: the selection and its events stay untouched. Unknown codes are skipped (they cannot be painted without geometry). Returns the count shown.
|
|
687
|
+
*/
|
|
688
|
+
"previewPostalCodes": (codes: string[]) => Promise<number>;
|
|
663
689
|
/**
|
|
664
690
|
* Shape resolution: medium = simplified geometry (snappy), high = originals
|
|
665
691
|
* @default 'medium'
|
|
@@ -798,6 +824,18 @@ export namespace Components {
|
|
|
798
824
|
* static HTML at build time.
|
|
799
825
|
* If `menu-data` is not provided, it falls back to the original
|
|
800
826
|
* `/api-fd/v1/home/menu` fetch so it remains a drop-in replacement.
|
|
827
|
+
* **Crawlability** — same treatment `xv-mega-menu` received in MAR-15972,
|
|
828
|
+
* ported here because the `-next` variant had been left behind:
|
|
829
|
+
* - `scoped` instead of `shadow`, so the nav lives in the light DOM;
|
|
830
|
+
* - plain `<a>` instead of `xv-link-v2` inside the menu, because that
|
|
831
|
+
* component puts the anchor in its own shadow root while the label stays
|
|
832
|
+
* slotted one boundary up — every `<a>` ended up with empty textContent.
|
|
833
|
+
* The shared component is untouched; its other usages are unaffected.
|
|
834
|
+
* - the ghost/standalone styles live in this stylesheet as `.route-link`
|
|
835
|
+
* and `.action-link`.
|
|
836
|
+
* Note this makes the menu readable to crawlers that execute JavaScript. It
|
|
837
|
+
* does not put anything in the server-rendered HTML — the consumer has to
|
|
838
|
+
* emit a light-DOM fallback for that (xv-content-next does).
|
|
801
839
|
*/
|
|
802
840
|
interface XvMegaMenuNext {
|
|
803
841
|
/**
|
|
@@ -1828,6 +1866,26 @@ declare global {
|
|
|
1828
1866
|
prototype: HTMLXvFooterElement;
|
|
1829
1867
|
new (): HTMLXvFooterElement;
|
|
1830
1868
|
};
|
|
1869
|
+
/**
|
|
1870
|
+
* Drop-in successor of `xv-footer` for the new headless CMS.
|
|
1871
|
+
* Identical to the original except:
|
|
1872
|
+
* 1. Tag is `xv-footer-next`
|
|
1873
|
+
* 2. Accepts a `footer-data` prop so the consumer can pre-render the
|
|
1874
|
+
* content instead of the component fetching it at runtime. The CMS
|
|
1875
|
+
* stores one document per language, which is what makes a translated
|
|
1876
|
+
* footer possible at all.
|
|
1877
|
+
* 3. The three sidebar headings come from `labels` in that data instead of
|
|
1878
|
+
* being hardcoded German strings. Missing keys fall back to the old
|
|
1879
|
+
* wording, so a V1 payload renders exactly as before.
|
|
1880
|
+
* Without the prop it behaves like V1: it fetches the whitelabel JSON from
|
|
1881
|
+
* blob storage on load, so it stays a drop-in replacement.
|
|
1882
|
+
*/
|
|
1883
|
+
interface HTMLXvFooterNextElement extends Components.XvFooterNext, HTMLStencilElement {
|
|
1884
|
+
}
|
|
1885
|
+
var HTMLXvFooterNextElement: {
|
|
1886
|
+
prototype: HTMLXvFooterNextElement;
|
|
1887
|
+
new (): HTMLXvFooterNextElement;
|
|
1888
|
+
};
|
|
1831
1889
|
interface HTMLXvGeoMapV2ElementEventMap {
|
|
1832
1890
|
"changeSelection": GeoMapSelection;
|
|
1833
1891
|
"mapReady": void;
|
|
@@ -1972,6 +2030,18 @@ declare global {
|
|
|
1972
2030
|
* static HTML at build time.
|
|
1973
2031
|
* If `menu-data` is not provided, it falls back to the original
|
|
1974
2032
|
* `/api-fd/v1/home/menu` fetch so it remains a drop-in replacement.
|
|
2033
|
+
* **Crawlability** — same treatment `xv-mega-menu` received in MAR-15972,
|
|
2034
|
+
* ported here because the `-next` variant had been left behind:
|
|
2035
|
+
* - `scoped` instead of `shadow`, so the nav lives in the light DOM;
|
|
2036
|
+
* - plain `<a>` instead of `xv-link-v2` inside the menu, because that
|
|
2037
|
+
* component puts the anchor in its own shadow root while the label stays
|
|
2038
|
+
* slotted one boundary up — every `<a>` ended up with empty textContent.
|
|
2039
|
+
* The shared component is untouched; its other usages are unaffected.
|
|
2040
|
+
* - the ghost/standalone styles live in this stylesheet as `.route-link`
|
|
2041
|
+
* and `.action-link`.
|
|
2042
|
+
* Note this makes the menu readable to crawlers that execute JavaScript. It
|
|
2043
|
+
* does not put anything in the server-rendered HTML — the consumer has to
|
|
2044
|
+
* emit a light-DOM fallback for that (xv-content-next does).
|
|
1975
2045
|
*/
|
|
1976
2046
|
interface HTMLXvMegaMenuNextElement extends Components.XvMegaMenuNext, HTMLStencilElement {
|
|
1977
2047
|
addEventListener<K extends keyof HTMLXvMegaMenuNextElementEventMap>(type: K, listener: (this: HTMLXvMegaMenuNextElement, ev: XvMegaMenuNextCustomEvent<HTMLXvMegaMenuNextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2346,6 +2416,7 @@ declare global {
|
|
|
2346
2416
|
"xv-dropdown-v2-item": HTMLXvDropdownV2ItemElement;
|
|
2347
2417
|
"xv-file-uploader": HTMLXvFileUploaderElement;
|
|
2348
2418
|
"xv-footer": HTMLXvFooterElement;
|
|
2419
|
+
"xv-footer-next": HTMLXvFooterNextElement;
|
|
2349
2420
|
"xv-geo-map-v2": HTMLXvGeoMapV2Element;
|
|
2350
2421
|
"xv-header": HTMLXvHeaderElement;
|
|
2351
2422
|
"xv-header-next": HTMLXvHeaderNextElement;
|
|
@@ -2979,6 +3050,26 @@ declare namespace LocalJSX {
|
|
|
2979
3050
|
}
|
|
2980
3051
|
interface XvFooter {
|
|
2981
3052
|
}
|
|
3053
|
+
/**
|
|
3054
|
+
* Drop-in successor of `xv-footer` for the new headless CMS.
|
|
3055
|
+
* Identical to the original except:
|
|
3056
|
+
* 1. Tag is `xv-footer-next`
|
|
3057
|
+
* 2. Accepts a `footer-data` prop so the consumer can pre-render the
|
|
3058
|
+
* content instead of the component fetching it at runtime. The CMS
|
|
3059
|
+
* stores one document per language, which is what makes a translated
|
|
3060
|
+
* footer possible at all.
|
|
3061
|
+
* 3. The three sidebar headings come from `labels` in that data instead of
|
|
3062
|
+
* being hardcoded German strings. Missing keys fall back to the old
|
|
3063
|
+
* wording, so a V1 payload renders exactly as before.
|
|
3064
|
+
* Without the prop it behaves like V1: it fetches the whitelabel JSON from
|
|
3065
|
+
* blob storage on load, so it stays a drop-in replacement.
|
|
3066
|
+
*/
|
|
3067
|
+
interface XvFooterNext {
|
|
3068
|
+
/**
|
|
3069
|
+
* Footer content, either as a JSON string (HTML attribute) or as an object (JS property). When set, no network request is made.
|
|
3070
|
+
*/
|
|
3071
|
+
"footerData"?: string | FooterDataModel;
|
|
3072
|
+
}
|
|
2982
3073
|
/**
|
|
2983
3074
|
* Minimal ATV planner map: MapLibre + PLZ boundaries from the XvGeoTool API.
|
|
2984
3075
|
* Click a PLZ to (de)select it. No further UI — selection state and reach
|
|
@@ -3176,6 +3267,18 @@ declare namespace LocalJSX {
|
|
|
3176
3267
|
* static HTML at build time.
|
|
3177
3268
|
* If `menu-data` is not provided, it falls back to the original
|
|
3178
3269
|
* `/api-fd/v1/home/menu` fetch so it remains a drop-in replacement.
|
|
3270
|
+
* **Crawlability** — same treatment `xv-mega-menu` received in MAR-15972,
|
|
3271
|
+
* ported here because the `-next` variant had been left behind:
|
|
3272
|
+
* - `scoped` instead of `shadow`, so the nav lives in the light DOM;
|
|
3273
|
+
* - plain `<a>` instead of `xv-link-v2` inside the menu, because that
|
|
3274
|
+
* component puts the anchor in its own shadow root while the label stays
|
|
3275
|
+
* slotted one boundary up — every `<a>` ended up with empty textContent.
|
|
3276
|
+
* The shared component is untouched; its other usages are unaffected.
|
|
3277
|
+
* - the ghost/standalone styles live in this stylesheet as `.route-link`
|
|
3278
|
+
* and `.action-link`.
|
|
3279
|
+
* Note this makes the menu readable to crawlers that execute JavaScript. It
|
|
3280
|
+
* does not put anything in the server-rendered HTML — the consumer has to
|
|
3281
|
+
* emit a light-DOM fallback for that (xv-content-next does).
|
|
3179
3282
|
*/
|
|
3180
3283
|
interface XvMegaMenuNext {
|
|
3181
3284
|
/**
|
|
@@ -3767,6 +3870,7 @@ declare namespace LocalJSX {
|
|
|
3767
3870
|
"xv-dropdown-v2-item": XvDropdownV2Item;
|
|
3768
3871
|
"xv-file-uploader": XvFileUploader;
|
|
3769
3872
|
"xv-footer": XvFooter;
|
|
3873
|
+
"xv-footer-next": XvFooterNext;
|
|
3770
3874
|
"xv-geo-map-v2": XvGeoMapV2;
|
|
3771
3875
|
"xv-header": XvHeader;
|
|
3772
3876
|
"xv-header-next": XvHeaderNext;
|
|
@@ -3870,6 +3974,21 @@ declare module "@stencil/core" {
|
|
|
3870
3974
|
"xv-dropdown-v2-item": LocalJSX.XvDropdownV2Item & JSXBase.HTMLAttributes<HTMLXvDropdownV2ItemElement>;
|
|
3871
3975
|
"xv-file-uploader": LocalJSX.XvFileUploader & JSXBase.HTMLAttributes<HTMLXvFileUploaderElement>;
|
|
3872
3976
|
"xv-footer": LocalJSX.XvFooter & JSXBase.HTMLAttributes<HTMLXvFooterElement>;
|
|
3977
|
+
/**
|
|
3978
|
+
* Drop-in successor of `xv-footer` for the new headless CMS.
|
|
3979
|
+
* Identical to the original except:
|
|
3980
|
+
* 1. Tag is `xv-footer-next`
|
|
3981
|
+
* 2. Accepts a `footer-data` prop so the consumer can pre-render the
|
|
3982
|
+
* content instead of the component fetching it at runtime. The CMS
|
|
3983
|
+
* stores one document per language, which is what makes a translated
|
|
3984
|
+
* footer possible at all.
|
|
3985
|
+
* 3. The three sidebar headings come from `labels` in that data instead of
|
|
3986
|
+
* being hardcoded German strings. Missing keys fall back to the old
|
|
3987
|
+
* wording, so a V1 payload renders exactly as before.
|
|
3988
|
+
* Without the prop it behaves like V1: it fetches the whitelabel JSON from
|
|
3989
|
+
* blob storage on load, so it stays a drop-in replacement.
|
|
3990
|
+
*/
|
|
3991
|
+
"xv-footer-next": LocalJSX.XvFooterNext & JSXBase.HTMLAttributes<HTMLXvFooterNextElement>;
|
|
3873
3992
|
/**
|
|
3874
3993
|
* Minimal ATV planner map: MapLibre + PLZ boundaries from the XvGeoTool API.
|
|
3875
3994
|
* Click a PLZ to (de)select it. No further UI — selection state and reach
|
|
@@ -3904,6 +4023,18 @@ declare module "@stencil/core" {
|
|
|
3904
4023
|
* static HTML at build time.
|
|
3905
4024
|
* If `menu-data` is not provided, it falls back to the original
|
|
3906
4025
|
* `/api-fd/v1/home/menu` fetch so it remains a drop-in replacement.
|
|
4026
|
+
* **Crawlability** — same treatment `xv-mega-menu` received in MAR-15972,
|
|
4027
|
+
* ported here because the `-next` variant had been left behind:
|
|
4028
|
+
* - `scoped` instead of `shadow`, so the nav lives in the light DOM;
|
|
4029
|
+
* - plain `<a>` instead of `xv-link-v2` inside the menu, because that
|
|
4030
|
+
* component puts the anchor in its own shadow root while the label stays
|
|
4031
|
+
* slotted one boundary up — every `<a>` ended up with empty textContent.
|
|
4032
|
+
* The shared component is untouched; its other usages are unaffected.
|
|
4033
|
+
* - the ghost/standalone styles live in this stylesheet as `.route-link`
|
|
4034
|
+
* and `.action-link`.
|
|
4035
|
+
* Note this makes the menu readable to crawlers that execute JavaScript. It
|
|
4036
|
+
* does not put anything in the server-rendered HTML — the consumer has to
|
|
4037
|
+
* emit a light-DOM fallback for that (xv-content-next does).
|
|
3907
4038
|
*/
|
|
3908
4039
|
"xv-mega-menu-next": LocalJSX.XvMegaMenuNext & JSXBase.HTMLAttributes<HTMLXvMegaMenuNextElement>;
|
|
3909
4040
|
"xv-modal-v2": LocalJSX.XvModalV2 & JSXBase.HTMLAttributes<HTMLXvModalV2Element>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{e as format}from"./p-
|
|
1
|
+
export{e as format}from"./p-D0yFoU2h.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t}from"./p-Owr_mJOX.js";import{r as i,a as s}from"./p-D0yFoU2h.js";const o={partners:"crossvertise Partner",payments:"Bequem und sicher bezahlen",socials:"Folgen Sie uns"},r=class{constructor(t){e(this,t),this.openCookieSettings=e=>{var t;e.preventDefault(),null===(t=window.__cmp)||void 0===t||t.call(window,"showScreenAdvanced")}}onFooterDataChange(e){const t=this.parseFooterData(e);t&&(this.data=t)}componentWillLoad(){const e=this.parseFooterData(this.footerData);e?this.data=e:this.handleLoadData()}parseFooterData(e){if(!e)return null;if("string"!=typeof e)return e;try{const t=JSON.parse(e);return t&&"object"==typeof t&&!Array.isArray(t)?t:null}catch(e){return console.warn("xv-footer-next: invalid footer-data JSON",e),null}}async handleLoadData(){if(this.parseFooterData(this.footerData))return;const e="https://xvsitefinitystorage.blob.core.windows.net/production/components/xv-footer/",t=i()||"Xv";try{return void(this.data=await s.get(`${e}xv-footer.data.${t}.json`,{raw:!0}))}catch(e){if(console.warn(`Failed to fetch footer data for ${t}, using fallback:`,e),"Xv"===t)return}try{this.data=await s.get(`${e}xv-footer.data.Xv.json`,{raw:!0})}catch(e){console.error("Fallback footer load failed:",e)}}get labels(){var e,t;return Object.assign(Object.assign({},o),null!==(t=null===(e=this.data)||void 0===e?void 0:e.labels)&&void 0!==t?t:{})}render(){const{categories:e,socials:i,logo:s,legalLinks:o,payments:r,partners:a,advantages:n}=this.data||{},p=(null==e?void 0:e.length)||(null==a?void 0:a.length)||(null==r?void 0:r.length)||(null==i?void 0:i.length),c=this.labels;return t("footer",{key:"1ea7f6ae925210666aff8e7a7bafba8f5f05a7db",class:"xv-footer"},(null==n?void 0:n.length)>0&&t("div",{key:"c277df0213caffc9b4a4947fd859244a97abafb7",class:"xv-footer-advantages"},t("div",{key:"fc0b0f42df35e9eb708554b12dfd89b03e359f92",class:"xv-container"},this._renderFooterList(n,{itemWithLabel:!0}))),p&&t("div",{key:"f3180c517955d4fc49e77b489b3e64c88947772b",class:"xv-container"},t("div",{key:"af4029318be8be0aba367eee734208afaff3d081",class:"xv-footer__grid xv-footer-y-spacing"},t("div",{key:"d517532894a4a6f4a94814b0bcc5218fb0a7652d",class:"xv-footer__col-main"},t("ul",{key:"311115f6991c58455e87d571dc280da7e3546a79",class:"xv-footer-categories"},null==e?void 0:e.map((e=>{var i;return t("li",null,t("p",{class:"xv-label-02"},e.label),t("ul",{class:"xv-footer-routes"},null===(i=e.routes)||void 0===i?void 0:i.map((e=>t("li",null,t("a",{class:"xv-body-compact-02",href:e.href,target:e.target},e.label))))))})))),t("div",{key:"2993c8863d750877ad4da0506703c00e737bb12b",class:"xv-footer__col-sidebar"},this._renderFooterList(a,{label:c.partners}),this._renderFooterList(r,{label:c.payments}),this._renderFooterList(i,{label:c.socials,isRow:!0})))),(null==o?void 0:o.length)>0&&t("div",{key:"fa0ca088a3167599bd97b7a0627dfae3f64a3c21",class:"xv-footer-legal"},t("div",{key:"cd82873c4cfbaf6e65137c6ccbd029697f4e1bfc",class:"xv-container"},t("div",{key:"8b0a4353501acafcd3df520ac2c9964f316cd5d0",class:"xv-footer-legal-row"},s&&t("a",{key:"080237964fd922700bc70695c120e3ecb22bae68",class:"xv-footer-logo",href:s.href,target:s.target},s.label&&t("span",{key:"b6278d014c8846318818f85e021130f7675c2503",class:"xv-label-02"},s.label),t("img",{key:"f0a71927ad8ea50da5c6cdfc3ab956b3c867c10a",loading:"lazy",src:s.image,alt:s.label})),t("ul",{key:"527b84cafd5a4c436b41d3c47bb67c1ea875f24e"},o.map((e=>t("li",null,t("a",e.href?{class:"xv-helper-text-02",href:e.href,target:e.target}:{class:"xv-helper-text-02",href:"#",onClick:this.openCookieSettings},e.label)))))))))}_renderFooterList(e=[],i){if(!(null==e?void 0:e.length))return null;const s=t("ul",null,e.map((e=>t("li",null,t("a",{href:null==e?void 0:e.href,target:e.target},e.icon&&t("i",{class:{fa:!0,[e.icon]:!0}}),e.image&&t("img",{src:e.image,alt:e.label}),(null==i?void 0:i.itemWithLabel)&&e.label&&t("span",{class:"xv-body-02"},e.label))))));return(null==i?void 0:i.label)?t("div",{class:{"footer-grid":!0,"footer-grid--row":!!(null==i?void 0:i.isRow)}},t("p",{class:"xv-heading-compact-02"},i.label),s):s}static get watchers(){return{footerData:[{onFooterDataChange:0}]}}};r.style='.xv-container{width:100%;max-width:1170px;margin-inline:auto}@media (min-width: 576px){.xv-container{max-width:540px}}@media (min-width: 768px){.xv-container{max-width:720px}}@media (min-width: 992px){.xv-container{max-width:960px;padding-inline:var(--bs-gutter-x, 0.75rem)}}@media (min-width: 1200px){.xv-container{max-width:1140px}}@media (min-width: 1400px){.xv-container{max-width:1320px}}.svg-assets--src--project--images--svg-sprite--youtube,.svg-assets--src--project--images--svg-sprite--xing,.svg-assets--src--project--images--svg-sprite--vorkasse,.svg-assets--src--project--images--svg-sprite--visa,.svg-assets--src--project--images--svg-sprite--sepa,.svg-assets--src--project--images--svg-sprite--paypal,.svg-assets--src--project--images--svg-sprite--mastercard,.svg-assets--src--project--images--svg-sprite--linkedin,.svg-assets--src--project--images--svg-sprite--kauf-auf-rechnung,.svg-assets--src--project--images--svg-sprite--instagram,.svg-assets--src--project--images--svg-sprite--facebook{background:url("https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.svg") no-repeat}.svg-assets--src--project--images--svg-sprite--facebook{background-position:0 100%;width:32px;height:32px}.svg-assets--src--project--images--svg-sprite--instagram{background-position:14.5454545455% 100%;width:32px;height:32px}.svg-assets--src--project--images--svg-sprite--kauf-auf-rechnung{background-position:0 0;width:84px;height:58px}.svg-assets--src--project--images--svg-sprite--linkedin{background-position:29.0909090909% 100%;width:32px;height:32px}.svg-assets--src--project--images--svg-sprite--mastercard{background-position:50% 0;width:84px;height:58px}.svg-assets--src--project--images--svg-sprite--paypal{background-position:0 64.4444444444%;width:84px;height:58px}.svg-assets--src--project--images--svg-sprite--sepa{background-position:50% 64.4444444444%;width:84px;height:58px}.svg-assets--src--project--images--svg-sprite--visa{background-position:100% 0;width:84px;height:58px}.svg-assets--src--project--images--svg-sprite--vorkasse{background-position:100% 64.4444444444%;width:84px;height:58px}.svg-assets--src--project--images--svg-sprite--xing{background-position:43.6363636364% 100%;width:32px;height:32px}.svg-assets--src--project--images--svg-sprite--youtube{background-position:58.1818181818% 100%;width:32px;height:32px}.sprite-icon-beachten{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-90px 0px;width:80px;height:80px}.sprite-icon-buchen{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:0px -82px;width:80px;height:80px}.sprite-icon-direct{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-284px -99px;width:21px;height:21px}.sprite-icon-downloads{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-80px -82px;width:80px;height:80px}.sprite-icon-kino{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-305px -99px;width:21px;height:21px}.sprite-icon-kosten{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-170px 0px;width:80px;height:80px}.sprite-icon-kreation{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-170px -80px;width:80px;height:80px}.sprite-icon-logo-full{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:0px -242px;width:189px;height:32px}.sprite-icon-logo-small{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-250px -99px;width:34px;height:34px}.sprite-icon-mobile{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-326px -99px;width:21px;height:21px}.sprite-icon-online{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-347px -99px;width:21px;height:21px}.sprite-icon-partner-agma{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-250px -66px;width:88px;height:33px}.sprite-icon-partner-bvdw{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-338px -66px;width:88px;height:33px}.sprite-icon-partner-climate{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-250px 0px;width:186px;height:33px}.sprite-icon-partner-google{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:0 0;width:90px;height:82px}.sprite-icon-partner-microsoft{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-250px -33px;width:186px;height:33px}.sprite-icon-plakat{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-368px -99px;width:21px;height:21px}.sprite-icon-print{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-389px -99px;width:21px;height:21px}.sprite-icon-radio{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-410px -99px;width:21px;height:21px}.sprite-icon-services{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-250px -133px;width:21px;height:21px}.sprite-icon-topangebote{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-271px -133px;width:21px;height:21px}.sprite-icon-tv{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:-292px -133px;width:21px;height:21px}.sprite-icon-werbeformen{background-image:url(https://crossvertise.blob.core.windows.net/assets/images/xv-sprite.png?1739974291120);background-position:0px -162px;width:80px;height:80px}.container-footer{min-height:75px}.footer-static{border-top:solid 1px #eaeaea;padding-top:30px}.xv-footer__grid{display:grid;grid-template-columns:1fr}@media (min-width: 768px){.xv-footer__grid{grid-template-columns:8fr 3fr;column-gap:var(--spacing-07, 32px)}}.xv-footer{display:block;border-top:1px solid var(--layer-01, #F7F7F7) !important;background:var(--layer-01, #F7F7F7) !important;--ff-body:var(--ff-work-sans)}.xv-footer-advantages{border-bottom:1px solid var(--border-subtle-01, #D1D1D1);background:var(--highlight-01, #CEDE94);display:block}.xv-footer-advantages ul{margin:0;padding:var(--spacing-05, 16px);gap:var(--spacing-05, 16px);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;list-style:none}@media (max-width: 991px){.xv-footer-advantages ul{display:grid;grid-template-columns:repeat(2, 1fr);justify-items:center}}.xv-footer-advantages ul>li>a{display:flex;flex-direction:column;align-items:center;justify-content:center;row-gap:var(--spacing-06, 24px);min-width:min(182px, 40vw);width:min(182px, 40vw);text-align:center;text-decoration:none}.xv-footer-advantages ul>li>a>img,.xv-footer-advantages ul>li>a>i{width:32px;font-size:32px;block-size:32px;color:var(--icon-primary);object-fit:contain}.xv-footer-advantages ul>li>a>img{font-size:var(--fz-sm, 12px)}.xv-footer-advantages ul>li>a>span{color:var(--text-primary, #333);font-feature-settings:"liga" off, "clig" off}.xv-footer-categories{list-style:none;padding:0;margin:0 0 var(--spacing-06, 24px);display:flex;flex:1;justify-content:space-between;row-gap:var(--spacing-06, 24px);column-gap:var(--spacing-09)}@media (max-width: 768px){.xv-footer-categories{display:grid;grid-template-columns:repeat(2, 1fr)}}.xv-footer-categories>li{display:flex;flex-direction:column;row-gap:var(--sapcing-05, 16px);max-width:203px}.xv-footer-routes{list-style:none;margin:0;padding:0;display:flex;row-gap:var(--spacing-05, 16px);flex-direction:column}.xv-footer-routes a{color:var(--interactive-01, #273435)}.xv-footer-legal{background:var(--layer-accent-02, #E3E3E3)}.xv-footer-legal-row{display:flex;align-items:center;text-align:center;gap:var(--spacing-05);padding:var(--spacing-09) var(--spacing-05)}@media (max-width: 768px){.xv-footer-legal-row{padding-block:var(--spacing-05);flex-direction:column;justify-content:center}}.xv-footer-legal-row a.xv-helper-text-02{cursor:pointer}.xv-footer-legal-row .xv-footer-logo{text-decoration:none;display:inline-flex;align-items:center;gap:var(--spacing-03);color:var(--text-primary)}.xv-footer-legal-row .xv-footer-logo>img{width:160px}.xv-footer-legal ul{flex:1;padding:0;margin:0 auto;list-style:none;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;max-width:600px;align-self:center}.xv-footer-legal ul>li{display:inline-flex;align-items:center;color:var(--text-secondary, #515151)}.xv-footer-legal ul>li:not(:last-child):after{display:inline-flex;margin-inline:var(--spacing-02);content:"|"}.xv-footer-legal ul>li>*{color:inherit}.xv-footer .footer-grid{display:flex;flex-direction:column;row-gap:var(--spacing-05, 16px)}.xv-footer .footer-grid:not(:last-child){margin-block-end:var(--spacing-06, 24px)}.xv-footer .footer-grid>ul{list-style:none;margin:0;padding:0;display:grid;gap:var(--spacing-05);grid-template-columns:repeat(3, 1fr);justify-items:center}.xv-footer .footer-grid>ul>li{display:flex;align-items:center;justify-content:center;flex-direction:column;width:60px;font-size:60px;block-size:60px}.xv-footer .footer-grid>ul>li>a,.xv-footer .footer-grid>ul>li>a>img,.xv-footer .footer-grid>ul>li>a>i,.xv-footer .footer-grid>ul>li>img,.xv-footer .footer-grid>ul>li>i{text-decoration:none;display:block;width:inherit;font-size:inherit;block-size:inherit;color:var(--icon-primary);object-fit:contain}.xv-footer .footer-grid>ul>li>a>img,.xv-footer .footer-grid>ul>li>img{font-size:var(--fz-sm, 12px);text-align:center}.xv-footer .footer-grid>ul>li>span{color:var(--text-primary, #333);font-feature-settings:"liga" off, "clig" off}.xv-footer .footer-grid--row>ul{display:flex;flex-direction:row;justify-content:space-between;flex:1}.xv-footer .footer-grid--row>ul>li{width:24px;block-size:24px;font-size:24px}.xv-footer-y-spacing{margin-block:var(--spacing-07, 32px) var(--spacing-10, 64px)}.xv-footer .xv-label-02,.xv-footer .xv-heading-compact-02{margin:0;color:var(--text-secondary, #515151)}';export{r as xv_footer_next}
|