@itcenteratunihelsinki/huds-lib 0.3.9 → 0.4.3
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/huds-lib.cjs.js +1 -1
- package/dist/cjs/hy-collaboration.cjs.entry.js +19 -0
- package/dist/cjs/hy-footer_5.cjs.entry.js +2 -2
- package/dist/cjs/hy-logo-grid.cjs.entry.js +24 -0
- package/dist/cjs/hy-site-header_3.cjs.entry.js +8 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.css +2 -2
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +2 -1
- package/dist/collection/components/hy-collaboration/hy-collaboration.css +166 -0
- package/dist/collection/components/hy-collaboration/hy-collaboration.js +109 -0
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.css +151 -0
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +77 -0
- package/dist/collection/components/site-header/site-header.js +44 -6
- package/dist/collection/components/site-header/site-search/site-search.js +1 -1
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/hy-collaboration.entry.js +15 -0
- package/dist/esm/hy-footer_5.entry.js +2 -2
- package/dist/esm/hy-logo-grid.entry.js +20 -0
- package/dist/esm/hy-site-header_3.entry.js +8 -6
- package/dist/esm/loader.js +1 -1
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/p-1d2e96ef.entry.js +1 -0
- package/dist/huds-lib/p-3de303ab.entry.js +1 -0
- package/dist/huds-lib/p-4c672f6e.entry.js +1 -0
- package/dist/huds-lib/{p-2d7b3abb.entry.js → p-4e509573.entry.js} +1 -1
- package/dist/types/components/hy-collaboration/hy-collaboration.d.ts +8 -0
- package/dist/types/components/hy-logo-grid/hy-logo-grid.d.ts +6 -0
- package/dist/types/components/site-header/site-header.d.ts +2 -0
- package/dist/types/components.d.ts +46 -0
- package/package.json +5 -5
- package/dist/huds-lib/p-801fe5b5.entry.js +0 -1
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--brand-main: #0e688b;
|
|
3
|
+
--brand-main-light: #107eab;
|
|
4
|
+
--brand-main-active: #005379;
|
|
5
|
+
--brand-main-dark: #003146;
|
|
6
|
+
--brand-main-nearly-black: #000222;
|
|
7
|
+
--link-blue: #0479a4;
|
|
8
|
+
--link-disabled: #767676;
|
|
9
|
+
--grayscale-white: #fff;
|
|
10
|
+
--grayscale-slightly-gray: #fefefe;
|
|
11
|
+
--grayscale-light: #f8f8f8;
|
|
12
|
+
--grayscale-medium: #d2d2d2;
|
|
13
|
+
--grayscale-background-box: #f5f5f5;
|
|
14
|
+
--grayscale-tabs-border: #e6e6e6;
|
|
15
|
+
--grayscale-background-arrow: #dfdfdf;
|
|
16
|
+
--grayscale-medium-dark: #979797;
|
|
17
|
+
--grayscale-dark: #555555;
|
|
18
|
+
--grayscale-dark-text: #222222;
|
|
19
|
+
--grayscale-black: #000000;
|
|
20
|
+
--additional-red-light: #e5053a;
|
|
21
|
+
--additional-red-dark: #a31621;
|
|
22
|
+
--additional-purple-light: #420039;
|
|
23
|
+
--additional-yellow: #f9a21a;
|
|
24
|
+
--additional-skyblue: #48c5f8;
|
|
25
|
+
--additional-orange: #d14600;
|
|
26
|
+
--additional-green-light: #96ba3c;
|
|
27
|
+
--additional-green-dark: #006400;
|
|
28
|
+
--hover-gray: #eaeaea;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
* {
|
|
32
|
+
-webkit-box-sizing: border-box;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:root {
|
|
37
|
+
--gutter-mobile: 16px;
|
|
38
|
+
--gutter-narrow: 24px;
|
|
39
|
+
--gutter-medium: 24px;
|
|
40
|
+
--gutter-wide: 24px;
|
|
41
|
+
--gutter-extrawide: 32px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Mixin for fluid type.
|
|
46
|
+
* Example usage: @include fluid-type(font-size, 320px, 1600px, 32px, 80px);
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
:root {
|
|
50
|
+
--breakpoint-extrawide: 75.0625rem;
|
|
51
|
+
--breakpoint-max-width: 75.0625rem;
|
|
52
|
+
--breakpoint-medium: 48rem;
|
|
53
|
+
--breakpoint-narrow: 30rem;
|
|
54
|
+
--breakpoint-wide: 60rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.hy-logo-grid {
|
|
58
|
+
padding: 78px 0 92px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.hy-logo-grid__title {
|
|
62
|
+
font-size: 1.75rem;
|
|
63
|
+
line-height: 32px;
|
|
64
|
+
letter-spacing: -0.7px;
|
|
65
|
+
font-family: var(--main-font-family);
|
|
66
|
+
margin: 0 0 24px;
|
|
67
|
+
text-transform: uppercase;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (min-width: 30rem) {
|
|
71
|
+
.hy-logo-grid__title {
|
|
72
|
+
font-size: 2.125rem;
|
|
73
|
+
line-height: 40px;
|
|
74
|
+
letter-spacing: -0.85px;
|
|
75
|
+
margin: 0 0 32px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@media (min-width: 1601px) {
|
|
80
|
+
.without-sidebar .hy-logo-grid__title {
|
|
81
|
+
font-size: 2.625rem;
|
|
82
|
+
line-height: 48px;
|
|
83
|
+
letter-spacing: -1.05px;
|
|
84
|
+
margin: 0 0 40px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media (min-width: 75.0625rem) {
|
|
89
|
+
.with-sidebar .hy-logo-grid__title {
|
|
90
|
+
font-size: 2.625rem;
|
|
91
|
+
line-height: 48px;
|
|
92
|
+
letter-spacing: -1.05px;
|
|
93
|
+
margin: 0 0 40px;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.hy-logo-grid__images {
|
|
98
|
+
display: grid;
|
|
99
|
+
gap: 24px 36px;
|
|
100
|
+
grid-template-columns: repeat(2, 1fr);
|
|
101
|
+
padding: 0 8px;
|
|
102
|
+
-webkit-box-pack: justify;
|
|
103
|
+
-ms-flex-pack: justify;
|
|
104
|
+
justify-content: space-between;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@media (min-width: 30rem) {
|
|
108
|
+
.hy-logo-grid__images {
|
|
109
|
+
grid-template-columns: repeat(3, 25%);
|
|
110
|
+
padding: 0;
|
|
111
|
+
gap: 28px 0;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@media (min-width: 60rem) {
|
|
116
|
+
.without-sidebar .hy-logo-grid__images {
|
|
117
|
+
grid-template-columns: repeat(4, 20%);
|
|
118
|
+
gap: 32px 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media (min-width: 75.0625rem) {
|
|
123
|
+
.without-sidebar .hy-logo-grid__images {
|
|
124
|
+
gap: 40px 0;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@media (min-width: 75.0625rem) {
|
|
129
|
+
.with-sidebar .hy-logo-grid__images {
|
|
130
|
+
grid-template-columns: repeat(4, 20%);
|
|
131
|
+
gap: 32px 0;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (min-width: 1601px) {
|
|
136
|
+
.with-sidebar .hy-logo-grid__images {
|
|
137
|
+
gap: 40px 0;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.hy-logo-grid__figure {
|
|
142
|
+
padding: 0;
|
|
143
|
+
margin: 0;
|
|
144
|
+
display: -webkit-inline-box;
|
|
145
|
+
display: -ms-inline-flexbox;
|
|
146
|
+
display: inline-flex;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.hy-logo-grid__figure img {
|
|
150
|
+
width: 100%;
|
|
151
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Component, h, Prop } from '@stencil/core';
|
|
2
|
+
export class HyCollaboration {
|
|
3
|
+
render() {
|
|
4
|
+
const parsedLogoImages = JSON.parse(this.logoImages);
|
|
5
|
+
const HeadingVariant = this.headingVariant;
|
|
6
|
+
return (h("div", { class: "hy-logo-grid", role: "complementary" },
|
|
7
|
+
this.logoGridTitle && h(HeadingVariant, { class: "hy-logo-grid__title" }, this.logoGridTitle),
|
|
8
|
+
h("div", { class: "hy-logo-grid__images" }, parsedLogoImages.map(({ image_sources: sources, image_url: fallback_url, image_alt: alt }) => {
|
|
9
|
+
const parsedSources = JSON.parse(sources);
|
|
10
|
+
return (h("figure", { class: "hy-logo-grid__figure" },
|
|
11
|
+
parsedSources && (h("picture", null,
|
|
12
|
+
parsedSources.map(({ src, media, type, sizes }) => (h("source", { srcSet: src, media: media, type: type, sizes: sizes ? sizes : '' }))),
|
|
13
|
+
h("img", { alt: alt, src: fallback_url }))),
|
|
14
|
+
!parsedSources && h("img", { alt: alt, src: fallback_url })));
|
|
15
|
+
}))));
|
|
16
|
+
}
|
|
17
|
+
static get is() { return "hy-logo-grid"; }
|
|
18
|
+
static get originalStyleUrls() { return {
|
|
19
|
+
"$": ["hy-logo-grid.scss"]
|
|
20
|
+
}; }
|
|
21
|
+
static get styleUrls() { return {
|
|
22
|
+
"$": ["hy-logo-grid.css"]
|
|
23
|
+
}; }
|
|
24
|
+
static get properties() { return {
|
|
25
|
+
"headingVariant": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"mutable": false,
|
|
28
|
+
"complexType": {
|
|
29
|
+
"original": "string",
|
|
30
|
+
"resolved": "string",
|
|
31
|
+
"references": {}
|
|
32
|
+
},
|
|
33
|
+
"required": false,
|
|
34
|
+
"optional": true,
|
|
35
|
+
"docs": {
|
|
36
|
+
"tags": [],
|
|
37
|
+
"text": ""
|
|
38
|
+
},
|
|
39
|
+
"attribute": "heading-variant",
|
|
40
|
+
"reflect": false
|
|
41
|
+
},
|
|
42
|
+
"logoGridTitle": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"mutable": false,
|
|
45
|
+
"complexType": {
|
|
46
|
+
"original": "string",
|
|
47
|
+
"resolved": "string",
|
|
48
|
+
"references": {}
|
|
49
|
+
},
|
|
50
|
+
"required": false,
|
|
51
|
+
"optional": true,
|
|
52
|
+
"docs": {
|
|
53
|
+
"tags": [],
|
|
54
|
+
"text": ""
|
|
55
|
+
},
|
|
56
|
+
"attribute": "logo-grid-title",
|
|
57
|
+
"reflect": false
|
|
58
|
+
},
|
|
59
|
+
"logoImages": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"mutable": false,
|
|
62
|
+
"complexType": {
|
|
63
|
+
"original": "string",
|
|
64
|
+
"resolved": "string",
|
|
65
|
+
"references": {}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": false,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": ""
|
|
72
|
+
},
|
|
73
|
+
"attribute": "logo-images",
|
|
74
|
+
"reflect": false
|
|
75
|
+
}
|
|
76
|
+
}; }
|
|
77
|
+
}
|
|
@@ -7,6 +7,8 @@ export class SiteHeader {
|
|
|
7
7
|
this.isGroup = false;
|
|
8
8
|
this.researchGroupLabel = '';
|
|
9
9
|
this.groupType = '';
|
|
10
|
+
this.showSearchLabel = true;
|
|
11
|
+
this.noSearch = false;
|
|
10
12
|
this.menuLabel = 'Menu';
|
|
11
13
|
this.menuType = null;
|
|
12
14
|
this.isMenuOpen = false;
|
|
@@ -183,7 +185,7 @@ export class SiteHeader {
|
|
|
183
185
|
h("hy-menu-main-group", { tabindex: "0", "is-mobile": false, "menu-label": (_a = this.groupPages['university_main_menu']) !== null && _a !== void 0 ? _a : null, "data-main-menu": this.dataMainMenuLinks })),
|
|
184
186
|
h("div", { class: 'menu--secondary menu--secondary--group' },
|
|
185
187
|
h("hy-menu-language", { class: 'menu--secondary__item is-first group', "is-group": true, "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }),
|
|
186
|
-
h("hy-site-search", { class: 'menu--secondary__item group', size: 16, color: logoColorGroup, "is-group": true, "show-label":
|
|
188
|
+
!this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 16, color: logoColorGroup, "is-group": true, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
|
|
187
189
|
this.donateLink.map((i) => {
|
|
188
190
|
return (h("a", { class: 'menu--secondary__item hy-link__donate group', href: i.url },
|
|
189
191
|
h("hy-icon", { icon: 'hy-icon-heart-support', size: 16, fill: logoColorGroup }),
|
|
@@ -196,7 +198,7 @@ export class SiteHeader {
|
|
|
196
198
|
this.groupType != 'research_group_menu' && (h("hy-desktop-menu-links", { "data-desktop-links": this.dataDesktopLinks })),
|
|
197
199
|
!this.isGroup && (h("div", { class: 'menu--secondary' },
|
|
198
200
|
h("hy-menu-language", { class: 'menu--secondary__item is-first', "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }),
|
|
199
|
-
h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label":
|
|
201
|
+
!this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
|
|
200
202
|
this.donateLink.map((i) => {
|
|
201
203
|
return (h("a", { class: 'menu--secondary__item hy-link__donate', href: i.url },
|
|
202
204
|
h("hy-icon", { icon: 'hy-icon-heart-support', size: 14, fill: ColorVariant.black }),
|
|
@@ -213,7 +215,7 @@ export class SiteHeader {
|
|
|
213
215
|
h("hy-menu-main-group", { "is-mobile": false, "menu-label": (_b = this.groupPages['university_main_menu']) !== null && _b !== void 0 ? _b : '', "data-main-menu": this.dataMainMenuLinks })),
|
|
214
216
|
h("div", { class: 'menu--secondary menu--secondary--group' },
|
|
215
217
|
h("hy-menu-language", { class: 'menu--secondary__item is-first group', "is-group": true, "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }),
|
|
216
|
-
h("hy-site-search", { class: 'menu--secondary__item group', size: 16, color: logoColorGroup, "show-label":
|
|
218
|
+
!this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 16, color: logoColorGroup, "show-label": this.showSearchLabel, "is-group": true, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
|
|
217
219
|
this.donateLink.map((i) => {
|
|
218
220
|
return (h("a", { class: 'menu--secondary__item hy-link__donate group', href: i.url },
|
|
219
221
|
h("hy-icon", { icon: 'hy-icon-heart-support', size: 16, fill: logoColorGroup }),
|
|
@@ -225,7 +227,7 @@ export class SiteHeader {
|
|
|
225
227
|
this.isGroup ? (h("a", { class: 'group', href: this.logoUrl }, this.logoLabel)) : (h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel }))),
|
|
226
228
|
!this.isGroup && (h("div", { class: 'menu--secondary' },
|
|
227
229
|
h("hy-menu-language", { class: 'menu--secondary__item is-first', "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }),
|
|
228
|
-
h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label":
|
|
230
|
+
!this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
|
|
229
231
|
this.donateLink.map((i) => {
|
|
230
232
|
return (h("a", { class: 'menu--secondary__item hy-link__donate', href: i.url },
|
|
231
233
|
h("hy-icon", { icon: 'hy-icon-heart-support', size: 14, fill: ColorVariant.black }),
|
|
@@ -258,14 +260,14 @@ export class SiteHeader {
|
|
|
258
260
|
h("div", { class: 'hy-site-header__logo-container group ' },
|
|
259
261
|
h("hy-site-logo", { "is-group": true, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel })),
|
|
260
262
|
h("div", { class: 'menu--secondary menu--secondary--group' },
|
|
261
|
-
h("hy-site-search", { class: 'menu--secondary__item group', size: 18, color: logoColorGroup, "is-group": true, "show-label":
|
|
263
|
+
!this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 18, color: logoColorGroup, "is-group": true, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
|
|
262
264
|
h("hy-menu-main-group", { "site-label": this.siteLabel, "site-url": this.siteUrl, "logo-label": this.logoLabel, "logo-url": this.logoUrl, "is-mobile": true, donate: this.donateLink, "data-main-menu": this.dataMainMenuLinks })))),
|
|
263
265
|
h("div", { class: { 'hy-site-header__content': true, group: this.isGroup } },
|
|
264
266
|
h("div", { class: 'hy-site-header__logo-container' },
|
|
265
267
|
this.groupType == 'research_group_menu' && (h("div", { class: 'hy-site-header__logo-container__group_label' }, this.researchGroupLabel)),
|
|
266
268
|
this.isGroup ? (h("a", { class: 'group', href: this.logoUrl }, this.logoLabel)) : (h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel }))),
|
|
267
269
|
h("div", { class: { 'hy-site-header__menu-container': true, 'is-open': this.isMenuOpen } },
|
|
268
|
-
!this.isGroup && (h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label":
|
|
270
|
+
!this.isGroup && !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })),
|
|
269
271
|
h("span", { class: {
|
|
270
272
|
'hy-site-header__menu-label': true,
|
|
271
273
|
'is-visible': this.isMenuOpen,
|
|
@@ -484,6 +486,42 @@ export class SiteHeader {
|
|
|
484
486
|
"attribute": "site-url",
|
|
485
487
|
"reflect": false
|
|
486
488
|
},
|
|
489
|
+
"showSearchLabel": {
|
|
490
|
+
"type": "boolean",
|
|
491
|
+
"mutable": false,
|
|
492
|
+
"complexType": {
|
|
493
|
+
"original": "boolean",
|
|
494
|
+
"resolved": "boolean",
|
|
495
|
+
"references": {}
|
|
496
|
+
},
|
|
497
|
+
"required": false,
|
|
498
|
+
"optional": false,
|
|
499
|
+
"docs": {
|
|
500
|
+
"tags": [],
|
|
501
|
+
"text": ""
|
|
502
|
+
},
|
|
503
|
+
"attribute": "show-search-label",
|
|
504
|
+
"reflect": false,
|
|
505
|
+
"defaultValue": "true"
|
|
506
|
+
},
|
|
507
|
+
"noSearch": {
|
|
508
|
+
"type": "boolean",
|
|
509
|
+
"mutable": false,
|
|
510
|
+
"complexType": {
|
|
511
|
+
"original": "boolean",
|
|
512
|
+
"resolved": "boolean",
|
|
513
|
+
"references": {}
|
|
514
|
+
},
|
|
515
|
+
"required": false,
|
|
516
|
+
"optional": false,
|
|
517
|
+
"docs": {
|
|
518
|
+
"tags": [],
|
|
519
|
+
"text": ""
|
|
520
|
+
},
|
|
521
|
+
"attribute": "no-search",
|
|
522
|
+
"reflect": false,
|
|
523
|
+
"defaultValue": "false"
|
|
524
|
+
},
|
|
487
525
|
"menuLabel": {
|
|
488
526
|
"type": "string",
|
|
489
527
|
"mutable": false,
|
|
@@ -132,7 +132,7 @@ export class SiteSearch {
|
|
|
132
132
|
'site-search': true,
|
|
133
133
|
'site-search__is-open': this.isSearchPanelOpen,
|
|
134
134
|
} },
|
|
135
|
-
h("button", { "aria-label": this._labels['open'], "aria-expanded": `${this.isSearchPanelOpen}`, class: {
|
|
135
|
+
h("button", { "aria-label": this.showLabel ? this._labels['open'] : '', "aria-expanded": `${this.isSearchPanelOpen}`, class: {
|
|
136
136
|
'button--search': true,
|
|
137
137
|
group: this.isGroup,
|
|
138
138
|
'is-open--menu': this.isAlternative,
|
package/dist/esm/huds-lib.js
CHANGED
|
@@ -14,5 +14,5 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy(JSON.parse("[[\"hy-introduction\",[[0,\"hy-introduction\",{\"variant\":[1],\"reversed\":[4],\"limitContentWidth\":[4,\"limit-content-width\"],\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"urlTitle\":[1,\"url-title\"],\"imageUrl\":[1,\"image-url\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}]]],[\"hy-menu\",[[1,\"hy-menu\",{\"dataMenuDonate\":[1,\"data-menu-donate\"],\"dataMenuLanguage\":[1,\"data-menu-language\"],\"isGroup\":[4,\"is-group\"],\"isDemo\":[4,\"is-demo\"],\"labelFrontPage\":[1,\"label-front-page\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"menuIsOpen\":[4,\"menu-is-open\"],\"menuType\":[1,\"menu-type\"],\"menuButtonSubmenuExpand\":[1,\"menu-button-submenu-expand\"],\"menuButtonBreadcrumbReturn\":[1,\"menu-button-breadcrumb-return\"],\"menuButtonBreadcrumbHome\":[1,\"menu-button-breadcrumb-home\"],\"menuButtonBreadcrumbMain\":[1,\"menu-button-breadcrumb-main\"],\"menuButtonBreadcrumbLogourl\":[1,\"menu-button-breadcrumb-logourl\"],\"breadcrumbs\":[32]},[[0,\"removeBreadcrumb\",\"removeBreadcrumb\"],[0,\"addBreadcrumb\",\"addBreadcrumb\"]]]]],[\"hy-banner\",[[0,\"hy-banner\",{\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"urlTitle\":[1,\"url-title\"],\"headerstyle\":[1],\"isExternal\":[4,\"is-external\"]}]]],[\"hy-hero\",[[0,\"hy-hero\",{\"heroType\":[1,\"hero-type\"],\"heroGroupType\":[1,\"hero-group-type\"],\"colorVariant\":[1,\"color-variant\"],\"image\":[1],\"disableLazy\":[4,\"disable-lazy\"],\"hasShortcuts\":[4,\"has-shortcuts\"],\"heading\":[1],\"description\":[1],\"url\":[1],\"urlTitle\":[1,\"url-title\"],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]},[[9,\"resize\",\"resizeEventListener\"]]]]],[\"hy-large-process-flow\",[[1,\"hy-large-process-flow\",{\"headerstyle\":[1],\"dataItems\":[1,\"data-items\"]}]]],[\"hy-adjacent-image-text\",[[0,\"hy-adjacent-image-text\",{\"headerstyle\":[1],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"mainUrl\":[1,\"main-url\"],\"mainUrlTitle\":[1,\"main-url-title\"],\"mainUrlAriaLabel\":[1,\"main-url-aria-label\"],\"mainUrlIsExternal\":[4,\"main-url-is-external\"],\"mainUrl2\":[1,\"main-url-2\"],\"mainUrlTitle2\":[1,\"main-url-title-2\"],\"mainUrlAriaLabel2\":[1,\"main-url-aria-label-2\"],\"mainUrlIsExternal2\":[4,\"main-url-is-external-2\"],\"sourceSet\":[1,\"source-set\"]}]]],[\"hy-content-list\",[[1,\"hy-content-list\",{\"linkLabel\":[1,\"link-label\"],\"noResultLabel\":[1,\"no-result-label\"],\"creditsLabel\":[1,\"credits-label\"],\"cancelledLabel\":[1,\"cancelled-label\"],\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1],\"courseRealisations\":[32]}]]],[\"hy-dropdown\",[[0,\"hy-dropdown\",{\"single\":[4],\"dropdownLabel\":[1,\"dropdown-label\"],\"dropdownId\":[1,\"dropdown-id\"],\"dropdownOptions\":[1,\"dropdown-options\"],\"defaultLabel\":[1,\"default-label\"],\"defaultOption\":[1032,\"default-option\"],\"isPanelOpen\":[32],\"isChecked\":[32],\"currentSingle\":[32]},[[8,\"click\",\"handleClick\"],[2,\"click\",\"handleSingleClick\"]]]]],[\"hy-filter-visibility-tool\",[[0,\"hy-filter-visibility-tool\",{\"filterVisibilityToolType\":[1,\"filter-visibility-tool-type\"]}]]],[\"hy-link-box-list\",[[0,\"hy-link-box-list\",{\"headerstyle\":[1],\"variant\":[1],\"dataItems\":[1,\"data-items\"]}]]],[\"hy-opening-hours\",[[4,\"hy-opening-hours\",{\"blockTitle\":[1,\"block-title\"],\"language\":[1],\"blockId\":[1,\"block-id\"],\"nextLabel\":[1,\"next-label\"],\"prevLabel\":[1,\"prev-label\"],\"listLabel\":[1,\"list-label\"],\"buildingLabel\":[1,\"building-label\"],\"customerServiceLabel\":[1,\"customer-service-label\"],\"date\":[1],\"dateTitle\":[1,\"date-title\"],\"dateType\":[1,\"date-type\"],\"multiple\":[4],\"customLinkTitle\":[1,\"custom-link-title\"],\"customLink\":[1,\"custom-link\"],\"exceptional\":[4]}]]],[\"hy-shortcuts\",[[0,\"hy-shortcuts\",{\"dataItems\":[1,\"data-items\"],\"listHeading\":[1,\"list-heading\"],\"headerstyle\":[1]}]]],[\"hy-video\",[[4,\"hy-video\",{\"videoTitle\":[1,\"video-title\"],\"videoDescription\":[1,\"video-description\"],\"contextLabel\":[1,\"context-label\"],\"contextLabelVisible\":[4,\"context-label-visible\"],\"previewImageUrl\":[1,\"preview-image-url\"],\"linkToVideo\":[1,\"link-to-video\"],\"playButtonLabel\":[1,\"play-button-label\"],\"playButtonVisible\":[4,\"play-button-visible\"],\"views\":[1],\"viewsLabel\":[1,\"views-label\"],\"duration\":[1],\"durationLabel\":[1,\"duration-label\"],\"dateAdded\":[1,\"date-added\"],\"dateAddedLabel\":[1,\"date-added-label\"],\"horizontal\":[4],\"disableLazy\":[4,\"disable-lazy\"],\"headerstyle\":[1]}]]],[\"hy-filter-group\",[[0,\"hy-filter-group\",{\"filterGroupLabel\":[1,\"filter-group-label\"],\"filterGroupFilters\":[1,\"filter-group-filters\"]}]]],[\"hy-key-figure-group\",[[0,\"hy-key-figure-group\",{\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1]}]]],[\"hy-link-list\",[[1,\"hy-link-list\",{\"headerstyle\":[1],\"dataItems\":[1,\"data-items\"],\"listHeading\":[1,\"list-heading\"]}]]],[\"hy-menu-level-container\",[[4,\"hy-menu-level-container\",{\"labelFrontPage\":[1,\"label-front-page\"],\"menuButtonSubmenuExpand\":[1,\"menu-button-submenu-expand\"],\"menuLevel\":[2,\"menu-level\"],\"menuType\":[1,\"menu-type\"],\"activeTrailTriggered\":[516,\"active-trail-triggered\"],\"depth\":[1026],\"headingItem\":[1032,\"heading-item\"],\"triggerItem\":[1537,\"trigger-item\"],\"frontUrl\":[1,\"front-url\"],\"frontLabel\":[1,\"front-label\"],\"menuIsOpen\":[32]},[[6,\"menuContainerActiveTrail\",\"menuContainerActiveTrail\"],[6,\"menuContainerToggled\",\"menuContainerToggled\"]]]]],[\"hy-menu-sidebar\",[[4,\"hy-menu-sidebar\",{\"menuIsOpen\":[4,\"menu-is-open\"],\"menuType\":[1,\"menu-type\"],\"pageSize\":[1,\"page-size\"],\"panelOpen\":[4,\"panel-open\"],\"panelToggleLabel\":[1,\"panel-toggle-label\"],\"panelToggleAriaLabel\":[1,\"panel-toggle-aria-label\"],\"panelToggleCloseLabel\":[1,\"panel-toggle-close-label\"],\"panelToggleCloseAriaLabel\":[1,\"panel-toggle-close-aria-label\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"size\":[2],\"isDemo\":[4,\"is-demo\"],\"noChildren\":[4,\"no-children\"],\"frontUrl\":[1,\"front-url\"],\"frontLabel\":[1,\"front-label\"],\"minHeight\":[1032,\"min-height\"],\"previousPanel\":[32],\"previousItem\":[32]},[[0,\"panelToggle\",\"panelToggle\"],[0,\"click\",\"handlePanel\"]]]]],[\"hy-process\",[[1,\"hy-process\",{\"headerstyle\":[1],\"numberTerm\":[1,\"number-term\"],\"dataItems\":[1,\"data-items\"]}]]],[\"hy-prominent-image\",[[1,\"hy-prominent-image\",{\"textTitle\":[1,\"text-title\"],\"imageUrl\":[1,\"image-url\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}]]],[\"hy-tabs\",[[4,\"hy-tabs\",{\"tabId\":[1,\"tab-id\"],\"tabListLabel\":[1,\"tab-list-label\"],\"headerstyle\":[1],\"focusTimeoutCleared\":[32],\"tabButtonTitles\":[32],\"tabPanelsState\":[32],\"tabButtons\":[32],\"tabList\":[32]},[[0,\"click\",\"clickEventListener\"],[0,\"keydown\",\"keydownEventListener\"],[0,\"keydown\",\"keyupEventListener\"],[0,\"focus\",\"focusEventHandler\"]]]]],[\"hy-user-login-form\",[[4,\"hy-user-login-form\",{\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"]}]]],[\"hy-anchor-link-list\",[[1,\"hy-anchor-link-list\",{\"listTitle\":[1,\"list-title\"],\"openLabel\":[1,\"open-label\"],\"closeLabel\":[1,\"close-label\"],\"anchorItems\":[1,\"anchor-items\"],\"isOpen\":[32]},[[0,\"handleLinkClick\",\"handleLinkClick\"]]]]],[\"hy-breadcrumbs\",[[0,\"hy-breadcrumbs\",{\"dataItems\":[1,\"data-items\"],\"variant\":[1],\"headerstyle\":[1],\"menuOpen\":[32]},[[0,\"click\",\"clickEventListener\"],[9,\"resize\",\"resizeEventListener\"]]]]],[\"hy-button\",[[4,\"hy-button\",{\"buttonType\":[1,\"button-type\"],\"buttonClasses\":[1,\"button-classes\"],\"variant\":[1],\"state\":[1],\"size\":[1],\"disabled\":[4],\"url\":[1],\"ariaLabel\":[1,\"aria-label\"],\"isExternal\":[4,\"is-external\"],\"icon\":[1],\"iconRight\":[1,\"icon-right\"]}]]],[\"hy-checkbox\",[[0,\"hy-checkbox\",{\"checkboxId\":[8,\"checkbox-id\"],\"checkboxValue\":[8,\"checkbox-value\"],\"checkboxLabel\":[1,\"checkbox-label\"],\"checkboxChecked\":[4,\"checkbox-checked\"],\"variant\":[1]}]]],[\"hy-crisis-banner\",[[1,\"hy-crisis-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"bannerDescription\":[1,\"banner-description\"],\"linkTitle\":[1,\"link-title\"],\"linkUrl\":[1,\"link-url\"]}]]],[\"hy-filter-list-type\",[[0,\"hy-filter-list-type\",{\"filterLabel\":[1,\"filter-label\"],\"filterValue\":[1,\"filter-value\"]}]]],[\"hy-key-highlight-group\",[[1,\"hy-key-highlight-group\",{\"variant\":[1],\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1]}]]],[\"hy-list-item\",[[0,\"hy-list-item\",{\"variant\":[1],\"itemType\":[1,\"item-type\"],\"itemTitle\":[1,\"item-title\"],\"itemDescription\":[8,\"item-description\"],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"scLabel\":[1,\"sc-label\"],\"itemImageUrl\":[1,\"item-image-url\"],\"itemImageAlt\":[1,\"item-image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"relatedLinksBlockTitle\":[1,\"related-links-block-title\"],\"relatedLinks\":[1,\"related-links\"],\"imageLabel\":[1,\"image-label\"],\"outGoingUrlLabel\":[1,\"out-going-url-label\"],\"additionalInfo\":[1,\"additional-info\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"],\"isExpandedRelatedContent\":[32],\"_imageMinHeight\":[32],\"_imageMinWidth\":[32]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"click\",\"handleClick\"]]]]],[\"hy-menu-item-sidebar\",[[4,\"hy-menu-item-sidebar\",{\"inActiveTrail\":[4,\"in-active-trail\"],\"isActive\":[4,\"is-active\"],\"isActiveChild\":[4,\"is-active-child\"],\"isHeading\":[4,\"is-heading\"],\"isParent\":[4,\"is-parent\"],\"isDemo\":[4,\"is-demo\"],\"menuItemAlternative\":[4,\"menu-item-alternative\"],\"menuLinkId\":[1,\"menu-link-id\"],\"menuType\":[1,\"menu-type\"],\"pageSize\":[1,\"page-size\"],\"menuButtonSubmenuExpand\":[1,\"menu-button-submenu-expand\"],\"menuIsOpen\":[4,\"menu-is-open\"],\"ariaExpanded\":[1028,\"aria-expanded\"],\"depth\":[1538],\"hasChildren\":[1028,\"has-children\"],\"label\":[1025],\"parentAsHeading\":[1025,\"parent-as-heading\"],\"parentExpanded\":[1540,\"parent-expanded\"],\"url\":[1025]},[[0,\"sidebarTopLevelToggle\",\"sidebarTopLevelToggle\"]]]]],[\"hy-pager-item\",[[1,\"hy-pager-item\",{\"variant\":[1],\"itemLabel\":[1,\"item-label\"],\"itemUrl\":[1,\"item-url\"],\"scAriaLabel\":[1,\"sc-aria-label\"]}]]],[\"hy-person-card\",[[0,\"hy-person-card\",{\"variant\":[1],\"categoryTitle\":[1,\"category-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"firstName\":[1,\"first-name\"],\"lastName\":[1,\"last-name\"],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"scLabel\":[1,\"sc-label\"],\"positionTitle\":[1,\"position-title\"],\"department\":[1],\"field\":[1],\"email\":[1],\"phone\":[1],\"aboutInfo\":[1,\"about-info\"],\"researchNetworks\":[1,\"research-networks\"],\"studyProgramme\":[1,\"study-programme\"],\"aboutInfoLabel\":[1,\"about-info-label\"],\"researchNetworksLabel\":[1,\"research-networks-label\"],\"studyProgrammeLabel\":[1,\"study-programme-label\"],\"isMobile\":[32]}]]],[\"hy-quote\",[[1,\"hy-quote\",{\"quoteSignature\":[1,\"quote-signature\"],\"headerstyle\":[1]}]]],[\"hy-table-container\",[[4,\"hy-table-container\"]]],[\"color-box\",[[1,\"color-box\"]]],[\"hy-badge\",[[1,\"hy-badge\",{\"variant\":[1]}]]],[\"hy-baseline\",[[4,\"hy-baseline\",{\"margin\":[2]}]]],[\"hy-box-container\",[[4,\"hy-box-container\",{\"wrap\":[4],\"maxWidth\":[4,\"max-width\"]}]]],[\"hy-docs-container\",[[4,\"hy-docs-container\"]]],[\"hy-grid-container\",[[4,\"hy-grid-container\"]]],[\"hy-grid-item\",[[4,\"hy-grid-item\",{\"columns\":[1],\"columnssm\":[1],\"columnslg\":[1],\"contentalign\":[1]}]]],[\"hy-grid-row\",[[4,\"hy-grid-row\"]]],[\"hy-ingress\",[[4,\"hy-ingress\",{\"headerstyle\":[1]}]]],[\"hy-link\",[[1,\"hy-link\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"]}]]],[\"hy-main\",[[4,\"hy-main\",{\"hasSidebar\":[4,\"has-sidebar\"]}]]],[\"hy-opening-hours-content\",[[0,\"hy-opening-hours-content\",{\"multiple\":[4],\"selfServiceLabel\":[1,\"self-service-label\"],\"dataItems\":[1,\"data-items\"]}]]],[\"hy-pager\",[[1,\"hy-pager\"]]],[\"hy-row\",[[4,\"hy-row\",{\"justify\":[1],\"align\":[1],\"margin\":[2]}]]],[\"hy-section-container\",[[4,\"hy-section-container\"]]],[\"hy-tabs-item\",[[4,\"hy-tabs-item\",{\"tabTitle\":[1,\"tab-title\"]}]]],[\"hy-tiny-text\",[[1,\"hy-tiny-text\"]]],[\"hy-two-columns\",[[4,\"hy-two-columns\",{\"reversed\":[4]}]]],[\"hy-general-list_2\",[[1,\"hy-general-list\",{\"type\":[1],\"blank\":[4],\"dataItems\":[1,\"data-items\"],\"truncateDescription\":[4,\"truncate-description\"],\"truncateLimit\":[2,\"truncate-limit\"],\"hasSidebar\":[32]}],[1,\"hy-general-list-item\",{\"hasSidebar\":[4,\"has-sidebar\"],\"description\":[1],\"imageAlt\":[1,\"image-alt\"],\"imageUrl\":[1,\"image-url\"],\"disableLazy\":[4,\"disable-lazy\"],\"itemTitle\":[1,\"item-title\"],\"label\":[1],\"subLabel\":[1,\"sub-label\"],\"date\":[1],\"tag\":[1],\"type\":[1],\"url\":[1],\"listStyle\":[1,\"list-style\"],\"target\":[4]}]]],[\"hy-icon\",[[0,\"hy-icon\",{\"icon\":[1],\"fill\":[1],\"size\":[2]}]]],[\"hy-content-list-item\",[[1,\"hy-content-list-item\",{\"variant\":[1],\"courseCode\":[1,\"course-code\"],\"courseName\":[1,\"course-name\"],\"isCancelled\":[4,\"is-cancelled\"],\"cancelledLabel\":[1,\"cancelled-label\"],\"courseCredits\":[1,\"course-credits\"],\"courseTags\":[1,\"course-tags\"],\"courseStartDate\":[1,\"course-start-date\"],\"courseEndDate\":[1,\"course-end-date\"],\"courseStudyFormat\":[1,\"course-study-format\"],\"courseOrganisation\":[1,\"course-organisation\"],\"courseEnrollmentLink\":[1,\"course-enrollment-link\"],\"courseTeachingLanguage\":[1,\"course-teaching-language\"],\"courseLinkLabel\":[1,\"course-link-label\"]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"hy-large-process-flow-phase\",[[1,\"hy-large-process-flow-phase\",{\"dataItems\":[1,\"data-items\"]}]]],[\"hy-site-header_3\",[[1,\"hy-site-header\",{\"isGroup\":[4,\"is-group\"],\"researchGroupLabel\":[1,\"research-group-label\"],\"groupType\":[1,\"group-type\"],\"dataMenuLanguage\":[1,\"data-menu-language\"],\"dataMenuDonate\":[1,\"data-menu-donate\"],\"dataSiteHeaderLabels\":[1,\"data-site-header-labels\"],\"dataSiteSearchLabels\":[1,\"data-site-search-labels\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"siteLabel\":[1,\"site-label\"],\"siteUrl\":[1,\"site-url\"],\"menuLabel\":[1,\"menu-label\"],\"menuLabelOpen\":[1,\"menu-label-open\"],\"menuLabelClose\":[1,\"menu-label-close\"],\"menuType\":[513,\"menu-type\"],\"dataDesktopLinks\":[1,\"data-desktop-links\"],\"dataMainMenuLinks\":[1,\"data-main-menu-links\"],\"dataSearchTools\":[1,\"data-search-tools\"],\"isMobile\":[32],\"isMenuOpen\":[32],\"isDesktopMenuOpen\":[32],\"isTopMenuOpen\":[32],\"lastScrollTop\":[32],\"delta\":[32],\"navbarHeight\":[32]},[[0,\"mobileMenuToggle\",\"mobileMenuToggle\"],[0,\"mobileMenuTopToggle\",\"mobileMenuTopToggle\"],[9,\"scroll\",\"handleScroll\"]]],[1,\"hy-site-search\",{\"color\":[1],\"isAlternative\":[4,\"is-alternative\"],\"isGroup\":[4,\"is-group\"],\"labels\":[1],\"searchLabels\":[1,\"search-labels\"],\"searchTools\":[1,\"search-tools\"],\"showLabel\":[4,\"show-label\"],\"size\":[2],\"dataSearchSpecialTools\":[1,\"data-search-special-tools\"],\"isSearchPanelOpen\":[32]},[[4,\"menuDesktopToggled\",\"desktopMenuToggled\"],[4,\"menuMobileToggled\",\"mobileMenuToggled\"],[4,\"menuLanguageToggled\",\"menuLanguageToggled\"],[4,\"universityMainMenuToggled\",\"universityMainMenuPanelToggled\"],[4,\"headerScrollDown\",\"headerScrollDown\"]]],[0,\"hy-site-logo\",{\"type\":[1],\"color\":[1],\"isGroup\":[4,\"is-group\"],\"label\":[1],\"size\":[2],\"url\":[1]}]]],[\"hy-menu-main-group\",[[1,\"hy-menu-main-group\",{\"menuLabel\":[1,\"menu-label\"],\"dataMainMenu\":[1,\"data-main-menu\"],\"isMobile\":[4,\"is-mobile\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"siteLabel\":[1,\"site-label\"],\"siteUrl\":[1,\"site-url\"],\"donate\":[16],\"isMenuOpen\":[32]},[[2,\"click\",\"handleComponentClick\"],[0,\"keydown\",\"handleComponentKeyDown\"],[8,\"click\",\"handleOutsideMenuClick\"],[4,\"menuDesktopToggled\",\"desktopMenuToggled\"],[4,\"searchPanelToggled\",\"searchPanelToggled\"],[4,\"menuLanguageToggled\",\"languageMenuToggled\"]]]]],[\"hy-accordion-container\",[[4,\"hy-accordion-container\",{\"accordionid\":[1]}]]],[\"hy-accordion-item\",[[4,\"hy-accordion-item\",{\"accordiontitle\":[1],\"variant\":[1],\"headerstyle\":[1],\"showOpen\":[4,\"show-open\"],\"ready\":[32]},[[8,\"hashchange\",\"onHashChange\"],[0,\"keydown\",\"handleKeyDown\"],[0,\"click\",\"handleClick\"]]]]],[\"hy-desktop-menu-links\",[[1,\"hy-desktop-menu-links\",{\"dataDesktopLinks\":[1,\"data-desktop-links\"],\"firstLevelLinksList\":[32],\"menuLinkItems\":[32],\"hasToolbar\":[32],\"isDesktopMenuOpen\":[32],\"currenOpenMenuId\":[32],\"isNewMenuIdOnHover\":[32]},[[4,\"menuLanguageToggled\",\"menuLanguageToggled\"],[4,\"universityMainMenuToggled\",\"universityMainMenuPanelToggled\"],[4,\"searchPanelToggled\",\"searchPanelToggled\"],[4,\"headerScrollUp\",\"headerScrollUp\"],[8,\"click\",\"handleWindowClick\"]]]]],[\"hy-filter-group-item\",[[4,\"hy-filter-group-item\",{\"filterGroupItemId\":[8,\"filter-group-item-id\"],\"filterGroupItemLabel\":[1,\"filter-group-item-label\"]}]]],[\"hy-link-box\",[[1,\"hy-link-box\",{\"variant\":[1],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"useSlot\":[4,\"use-slot\"],\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"scLabel\":[1,\"sc-label\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]},[[0,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeyDown\"],[1,\"mouseenter\",\"handleMouseEnter\"],[1,\"mouseleave\",\"handleMouseLeave\"],[0,\"focusin\",\"handleOnFocusIn\"],[0,\"focusout\",\"handleOnFocusOut\"]]]]],[\"hy-menu-item\",[[1,\"hy-menu-item\",{\"inActiveTrail\":[4,\"in-active-trail\"],\"isActive\":[4,\"is-active\"],\"isActiveChild\":[4,\"is-active-child\"],\"isHeading\":[4,\"is-heading\"],\"isParent\":[4,\"is-parent\"],\"isDemo\":[4,\"is-demo\"],\"menuItemAlternative\":[4,\"menu-item-alternative\"],\"menuLinkId\":[1,\"menu-link-id\"],\"menuType\":[1,\"menu-type\"],\"menuButtonSubmenuExpand\":[1,\"menu-button-submenu-expand\"],\"menuButtonBreadcrumbMain\":[1,\"menu-button-breadcrumb-main\"],\"ariaExpanded\":[1028,\"aria-expanded\"],\"depth\":[1538],\"hasChildren\":[1028,\"has-children\"],\"label\":[1025],\"parentAsHeading\":[1025,\"parent-as-heading\"],\"parentExpanded\":[1540,\"parent-expanded\"],\"url\":[1025]},[[2,\"handleClick\",\"handleClick\"]]]]],[\"hy-box\",[[4,\"hy-box\",{\"headerstyle\":[1],\"p\":[1],\"pl\":[1],\"pr\":[1],\"pb\":[1],\"pt\":[1],\"m\":[1],\"ml\":[1],\"mr\":[1],\"mb\":[1],\"mt\":[1],\"justify\":[1],\"align\":[1],\"h\":[2],\"bg\":[1],\"width\":[1]}]]],[\"hy-process-flow-box\",[[1,\"hy-process-flow-box\",{\"variant\":[1],\"boxNumber\":[1,\"box-number\"],\"boxTitle\":[1,\"box-title\"],\"boxDescription\":[1,\"box-description\"],\"intermediateStepTitle\":[1,\"intermediate-step-title\"],\"stepState\":[1,\"step-state\"],\"numberTerm\":[1,\"number-term\"]}]]],[\"hy-key-figure\",[[1,\"hy-key-figure\",{\"variant\":[1],\"heading\":[1],\"description\":[1]}]]],[\"hy-key-highlight\",[[1,\"hy-key-highlight\",{\"variant\":[1],\"heading\":[1],\"description\":[1]}]]],[\"hy-filter-visibility-tool-reset_2\",[[0,\"hy-filter-visibility-tool-reset\"],[0,\"hy-filter-visibility-tool-toggle\"]]],[\"hy-dropdown-panel_2\",[[0,\"hy-dropdown-panel-item\",{\"isLast\":[4,\"is-last\"],\"dropdownItemId\":[8,\"dropdown-item-id\"],\"dropdownItemValue\":[8,\"dropdown-item-value\"],\"dropdownItemLabel\":[1,\"dropdown-item-label\"]}],[4,\"hy-dropdown-panel\",{\"isHidden\":[4,\"is-hidden\"]}]]],[\"hy-image\",[[0,\"hy-image\",{\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"caption\":[1],\"aspectRatioWidth\":[2,\"aspect-ratio-width\"],\"aspectRatioHeight\":[2,\"aspect-ratio-height\"],\"sourceSet\":[1,\"source-set\"]}]]],[\"hy-paragraph-text\",[[36,\"hy-paragraph-text\",{\"variant\":[1],\"placement\":[1],\"headerstyle\":[1]}]]],[\"hy-search-field\",[[0,\"hy-search-field\",{\"label\":[1],\"isLabelBold\":[4,\"is-label-bold\"],\"placeholder\":[1],\"isLabelHidden\":[4,\"is-label-hidden\"],\"inputId\":[1,\"input-id\"],\"isInputValueEmpty\":[32]}]]],[\"hy-main-content-wrapper\",[[4,\"hy-main-content-wrapper\"]]],[\"hy-tag\",[[1,\"hy-tag\"]]],[\"hy-menu-language-item\",[[1,\"hy-menu-language-item\",{\"abbr\":[1],\"isActive\":[4,\"is-active\"],\"isDisabled\":[4,\"is-disabled\"],\"isMobile\":[4,\"is-mobile\"],\"label\":[1],\"langCode\":[1,\"lang-code\"],\"url\":[1]}]]],[\"hy-menu-language_2\",[[0,\"hy-menu-mobile-breadcrumb\",{\"bid\":[1],\"isFirst\":[4,\"is-first\"],\"label\":[1],\"labelBack\":[1,\"label-back\"],\"labelFrontPage\":[1,\"label-front-page\"],\"logoUrl\":[1,\"logo-url\"]},[[2,\"handleClick\",\"handleClick\"]]],[1,\"hy-menu-language\",{\"dataMenuLanguage\":[1,\"data-menu-language\"],\"isMobile\":[4,\"is-mobile\"],\"isGroup\":[4,\"is-group\"],\"labels\":[1],\"isMenuOpen\":[32]},[[8,\"click\",\"handleOutsideMenuClick\"],[4,\"menuDesktopToggled\",\"desktopMenuToggled\"],[4,\"searchPanelToggled\",\"searchPanelToggled\"],[4,\"universityMainMenuToggled\",\"universityMainMenuPanelToggled\"],[0,\"focus\",\"handleComponentFocus\"],[0,\"click\",\"handleComponentClick\"]]]]],[\"hy-cta-button\",[[1,\"hy-cta-button\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1]}]]],[\"hy-cta-link\",[[1,\"hy-cta-link\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1],\"fullWidth\":[4,\"full-width\"]}]]],[\"hy-heading\",[[38,\"hy-heading\",{\"heading\":[1],\"isSearch\":[4,\"is-search\"],\"section\":[1],\"negative\":[4],\"headerstyle\":[1]}]]],[\"hy-footer_5\",[[0,\"hy-footer-info\",{\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"linkText\":[1,\"link-text\"],\"linkUrl\":[1,\"link-url\"],\"linkIsExternal\":[4,\"link-is-external\"],\"linkScLabel\":[1,\"link-sc-label\"],\"isGroup\":[4,\"is-group\"],\"dataFooterInfoLinks\":[1,\"data-footer-info-links\"],\"isMobile\":[32]}],[4,\"hy-footer-base\",{\"color\":[1],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"size\":[2],\"someLabel\":[1,\"some-label\"],\"copyrightText\":[1,\"copyright-text\"],\"dataFooterBaseLinks\":[1,\"data-footer-base-links\"],\"dataFooterBaseSome\":[1,\"data-footer-base-some\"]}],[0,\"hy-footer-action\",{\"updatedText\":[1,\"updated-text\"],\"upButtonLabel\":[1,\"up-button-label\"]},[[2,\"scrollTop\",\"scrollTop\"]]],[4,\"hy-footer\"],[0,\"hy-footer-link-item\",{\"label\":[1],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"mainLink\":[4,\"main-link\"],\"items\":[16],\"color\":[1],\"isMobile\":[4,\"is-mobile\"],\"variant\":[1]}]]]]"), options);
|
|
17
|
+
return bootstrapLazy(JSON.parse("[[\"hy-introduction\",[[0,\"hy-introduction\",{\"variant\":[1],\"reversed\":[4],\"limitContentWidth\":[4,\"limit-content-width\"],\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"urlTitle\":[1,\"url-title\"],\"imageUrl\":[1,\"image-url\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}]]],[\"hy-menu\",[[1,\"hy-menu\",{\"dataMenuDonate\":[1,\"data-menu-donate\"],\"dataMenuLanguage\":[1,\"data-menu-language\"],\"isGroup\":[4,\"is-group\"],\"isDemo\":[4,\"is-demo\"],\"labelFrontPage\":[1,\"label-front-page\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"menuIsOpen\":[4,\"menu-is-open\"],\"menuType\":[1,\"menu-type\"],\"menuButtonSubmenuExpand\":[1,\"menu-button-submenu-expand\"],\"menuButtonBreadcrumbReturn\":[1,\"menu-button-breadcrumb-return\"],\"menuButtonBreadcrumbHome\":[1,\"menu-button-breadcrumb-home\"],\"menuButtonBreadcrumbMain\":[1,\"menu-button-breadcrumb-main\"],\"menuButtonBreadcrumbLogourl\":[1,\"menu-button-breadcrumb-logourl\"],\"breadcrumbs\":[32]},[[0,\"removeBreadcrumb\",\"removeBreadcrumb\"],[0,\"addBreadcrumb\",\"addBreadcrumb\"]]]]],[\"hy-banner\",[[0,\"hy-banner\",{\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"urlTitle\":[1,\"url-title\"],\"headerstyle\":[1],\"isExternal\":[4,\"is-external\"]}]]],[\"hy-hero\",[[0,\"hy-hero\",{\"heroType\":[1,\"hero-type\"],\"heroGroupType\":[1,\"hero-group-type\"],\"colorVariant\":[1,\"color-variant\"],\"image\":[1],\"disableLazy\":[4,\"disable-lazy\"],\"hasShortcuts\":[4,\"has-shortcuts\"],\"heading\":[1],\"description\":[1],\"url\":[1],\"urlTitle\":[1,\"url-title\"],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]},[[9,\"resize\",\"resizeEventListener\"]]]]],[\"hy-large-process-flow\",[[1,\"hy-large-process-flow\",{\"headerstyle\":[1],\"dataItems\":[1,\"data-items\"]}]]],[\"hy-adjacent-image-text\",[[0,\"hy-adjacent-image-text\",{\"headerstyle\":[1],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"mainUrl\":[1,\"main-url\"],\"mainUrlTitle\":[1,\"main-url-title\"],\"mainUrlAriaLabel\":[1,\"main-url-aria-label\"],\"mainUrlIsExternal\":[4,\"main-url-is-external\"],\"mainUrl2\":[1,\"main-url-2\"],\"mainUrlTitle2\":[1,\"main-url-title-2\"],\"mainUrlAriaLabel2\":[1,\"main-url-aria-label-2\"],\"mainUrlIsExternal2\":[4,\"main-url-is-external-2\"],\"sourceSet\":[1,\"source-set\"]}]]],[\"hy-content-list\",[[1,\"hy-content-list\",{\"linkLabel\":[1,\"link-label\"],\"noResultLabel\":[1,\"no-result-label\"],\"creditsLabel\":[1,\"credits-label\"],\"cancelledLabel\":[1,\"cancelled-label\"],\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1],\"courseRealisations\":[32]}]]],[\"hy-dropdown\",[[0,\"hy-dropdown\",{\"single\":[4],\"dropdownLabel\":[1,\"dropdown-label\"],\"dropdownId\":[1,\"dropdown-id\"],\"dropdownOptions\":[1,\"dropdown-options\"],\"defaultLabel\":[1,\"default-label\"],\"defaultOption\":[1032,\"default-option\"],\"isPanelOpen\":[32],\"isChecked\":[32],\"currentSingle\":[32]},[[8,\"click\",\"handleClick\"],[2,\"click\",\"handleSingleClick\"]]]]],[\"hy-filter-visibility-tool\",[[0,\"hy-filter-visibility-tool\",{\"filterVisibilityToolType\":[1,\"filter-visibility-tool-type\"]}]]],[\"hy-link-box-list\",[[0,\"hy-link-box-list\",{\"headerstyle\":[1],\"variant\":[1],\"dataItems\":[1,\"data-items\"]}]]],[\"hy-opening-hours\",[[4,\"hy-opening-hours\",{\"blockTitle\":[1,\"block-title\"],\"language\":[1],\"blockId\":[1,\"block-id\"],\"nextLabel\":[1,\"next-label\"],\"prevLabel\":[1,\"prev-label\"],\"listLabel\":[1,\"list-label\"],\"buildingLabel\":[1,\"building-label\"],\"customerServiceLabel\":[1,\"customer-service-label\"],\"date\":[1],\"dateTitle\":[1,\"date-title\"],\"dateType\":[1,\"date-type\"],\"multiple\":[4],\"customLinkTitle\":[1,\"custom-link-title\"],\"customLink\":[1,\"custom-link\"],\"exceptional\":[4]}]]],[\"hy-shortcuts\",[[0,\"hy-shortcuts\",{\"dataItems\":[1,\"data-items\"],\"listHeading\":[1,\"list-heading\"],\"headerstyle\":[1]}]]],[\"hy-video\",[[4,\"hy-video\",{\"videoTitle\":[1,\"video-title\"],\"videoDescription\":[1,\"video-description\"],\"contextLabel\":[1,\"context-label\"],\"contextLabelVisible\":[4,\"context-label-visible\"],\"previewImageUrl\":[1,\"preview-image-url\"],\"linkToVideo\":[1,\"link-to-video\"],\"playButtonLabel\":[1,\"play-button-label\"],\"playButtonVisible\":[4,\"play-button-visible\"],\"views\":[1],\"viewsLabel\":[1,\"views-label\"],\"duration\":[1],\"durationLabel\":[1,\"duration-label\"],\"dateAdded\":[1,\"date-added\"],\"dateAddedLabel\":[1,\"date-added-label\"],\"horizontal\":[4],\"disableLazy\":[4,\"disable-lazy\"],\"headerstyle\":[1]}]]],[\"hy-filter-group\",[[0,\"hy-filter-group\",{\"filterGroupLabel\":[1,\"filter-group-label\"],\"filterGroupFilters\":[1,\"filter-group-filters\"]}]]],[\"hy-key-figure-group\",[[0,\"hy-key-figure-group\",{\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1]}]]],[\"hy-link-list\",[[1,\"hy-link-list\",{\"headerstyle\":[1],\"dataItems\":[1,\"data-items\"],\"listHeading\":[1,\"list-heading\"]}]]],[\"hy-menu-level-container\",[[4,\"hy-menu-level-container\",{\"labelFrontPage\":[1,\"label-front-page\"],\"menuButtonSubmenuExpand\":[1,\"menu-button-submenu-expand\"],\"menuLevel\":[2,\"menu-level\"],\"menuType\":[1,\"menu-type\"],\"activeTrailTriggered\":[516,\"active-trail-triggered\"],\"depth\":[1026],\"headingItem\":[1032,\"heading-item\"],\"triggerItem\":[1537,\"trigger-item\"],\"frontUrl\":[1,\"front-url\"],\"frontLabel\":[1,\"front-label\"],\"menuIsOpen\":[32]},[[6,\"menuContainerActiveTrail\",\"menuContainerActiveTrail\"],[6,\"menuContainerToggled\",\"menuContainerToggled\"]]]]],[\"hy-menu-sidebar\",[[4,\"hy-menu-sidebar\",{\"menuIsOpen\":[4,\"menu-is-open\"],\"menuType\":[1,\"menu-type\"],\"pageSize\":[1,\"page-size\"],\"panelOpen\":[4,\"panel-open\"],\"panelToggleLabel\":[1,\"panel-toggle-label\"],\"panelToggleAriaLabel\":[1,\"panel-toggle-aria-label\"],\"panelToggleCloseLabel\":[1,\"panel-toggle-close-label\"],\"panelToggleCloseAriaLabel\":[1,\"panel-toggle-close-aria-label\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"size\":[2],\"isDemo\":[4,\"is-demo\"],\"noChildren\":[4,\"no-children\"],\"frontUrl\":[1,\"front-url\"],\"frontLabel\":[1,\"front-label\"],\"minHeight\":[1032,\"min-height\"],\"previousPanel\":[32],\"previousItem\":[32]},[[0,\"panelToggle\",\"panelToggle\"],[0,\"click\",\"handlePanel\"]]]]],[\"hy-process\",[[1,\"hy-process\",{\"headerstyle\":[1],\"numberTerm\":[1,\"number-term\"],\"dataItems\":[1,\"data-items\"]}]]],[\"hy-prominent-image\",[[1,\"hy-prominent-image\",{\"textTitle\":[1,\"text-title\"],\"imageUrl\":[1,\"image-url\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}]]],[\"hy-tabs\",[[4,\"hy-tabs\",{\"tabId\":[1,\"tab-id\"],\"tabListLabel\":[1,\"tab-list-label\"],\"headerstyle\":[1],\"focusTimeoutCleared\":[32],\"tabButtonTitles\":[32],\"tabPanelsState\":[32],\"tabButtons\":[32],\"tabList\":[32]},[[0,\"click\",\"clickEventListener\"],[0,\"keydown\",\"keydownEventListener\"],[0,\"keydown\",\"keyupEventListener\"],[0,\"focus\",\"focusEventHandler\"]]]]],[\"hy-user-login-form\",[[4,\"hy-user-login-form\",{\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"]}]]],[\"hy-anchor-link-list\",[[1,\"hy-anchor-link-list\",{\"listTitle\":[1,\"list-title\"],\"openLabel\":[1,\"open-label\"],\"closeLabel\":[1,\"close-label\"],\"anchorItems\":[1,\"anchor-items\"],\"isOpen\":[32]},[[0,\"handleLinkClick\",\"handleLinkClick\"]]]]],[\"hy-breadcrumbs\",[[0,\"hy-breadcrumbs\",{\"dataItems\":[1,\"data-items\"],\"variant\":[1],\"headerstyle\":[1],\"menuOpen\":[32]},[[0,\"click\",\"clickEventListener\"],[9,\"resize\",\"resizeEventListener\"]]]]],[\"hy-button\",[[4,\"hy-button\",{\"buttonType\":[1,\"button-type\"],\"buttonClasses\":[1,\"button-classes\"],\"variant\":[1],\"state\":[1],\"size\":[1],\"disabled\":[4],\"url\":[1],\"ariaLabel\":[1,\"aria-label\"],\"isExternal\":[4,\"is-external\"],\"icon\":[1],\"iconRight\":[1,\"icon-right\"]}]]],[\"hy-checkbox\",[[0,\"hy-checkbox\",{\"checkboxId\":[8,\"checkbox-id\"],\"checkboxValue\":[8,\"checkbox-value\"],\"checkboxLabel\":[1,\"checkbox-label\"],\"checkboxChecked\":[4,\"checkbox-checked\"],\"variant\":[1]}]]],[\"hy-collaboration\",[[1,\"hy-collaboration\",{\"textDescription\":[1,\"text-description\"],\"linkUrl\":[1,\"link-url\"],\"linkTitle\":[1,\"link-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"]}]]],[\"hy-crisis-banner\",[[1,\"hy-crisis-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"bannerDescription\":[1,\"banner-description\"],\"linkTitle\":[1,\"link-title\"],\"linkUrl\":[1,\"link-url\"]}]]],[\"hy-filter-list-type\",[[0,\"hy-filter-list-type\",{\"filterLabel\":[1,\"filter-label\"],\"filterValue\":[1,\"filter-value\"]}]]],[\"hy-key-highlight-group\",[[1,\"hy-key-highlight-group\",{\"variant\":[1],\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1]}]]],[\"hy-list-item\",[[0,\"hy-list-item\",{\"variant\":[1],\"itemType\":[1,\"item-type\"],\"itemTitle\":[1,\"item-title\"],\"itemDescription\":[8,\"item-description\"],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"scLabel\":[1,\"sc-label\"],\"itemImageUrl\":[1,\"item-image-url\"],\"itemImageAlt\":[1,\"item-image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"relatedLinksBlockTitle\":[1,\"related-links-block-title\"],\"relatedLinks\":[1,\"related-links\"],\"imageLabel\":[1,\"image-label\"],\"outGoingUrlLabel\":[1,\"out-going-url-label\"],\"additionalInfo\":[1,\"additional-info\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"],\"isExpandedRelatedContent\":[32],\"_imageMinHeight\":[32],\"_imageMinWidth\":[32]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"click\",\"handleClick\"]]]]],[\"hy-menu-item-sidebar\",[[4,\"hy-menu-item-sidebar\",{\"inActiveTrail\":[4,\"in-active-trail\"],\"isActive\":[4,\"is-active\"],\"isActiveChild\":[4,\"is-active-child\"],\"isHeading\":[4,\"is-heading\"],\"isParent\":[4,\"is-parent\"],\"isDemo\":[4,\"is-demo\"],\"menuItemAlternative\":[4,\"menu-item-alternative\"],\"menuLinkId\":[1,\"menu-link-id\"],\"menuType\":[1,\"menu-type\"],\"pageSize\":[1,\"page-size\"],\"menuButtonSubmenuExpand\":[1,\"menu-button-submenu-expand\"],\"menuIsOpen\":[4,\"menu-is-open\"],\"ariaExpanded\":[1028,\"aria-expanded\"],\"depth\":[1538],\"hasChildren\":[1028,\"has-children\"],\"label\":[1025],\"parentAsHeading\":[1025,\"parent-as-heading\"],\"parentExpanded\":[1540,\"parent-expanded\"],\"url\":[1025]},[[0,\"sidebarTopLevelToggle\",\"sidebarTopLevelToggle\"]]]]],[\"hy-pager-item\",[[1,\"hy-pager-item\",{\"variant\":[1],\"itemLabel\":[1,\"item-label\"],\"itemUrl\":[1,\"item-url\"],\"scAriaLabel\":[1,\"sc-aria-label\"]}]]],[\"hy-person-card\",[[0,\"hy-person-card\",{\"variant\":[1],\"categoryTitle\":[1,\"category-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"firstName\":[1,\"first-name\"],\"lastName\":[1,\"last-name\"],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"scLabel\":[1,\"sc-label\"],\"positionTitle\":[1,\"position-title\"],\"department\":[1],\"field\":[1],\"email\":[1],\"phone\":[1],\"aboutInfo\":[1,\"about-info\"],\"researchNetworks\":[1,\"research-networks\"],\"studyProgramme\":[1,\"study-programme\"],\"aboutInfoLabel\":[1,\"about-info-label\"],\"researchNetworksLabel\":[1,\"research-networks-label\"],\"studyProgrammeLabel\":[1,\"study-programme-label\"],\"isMobile\":[32]}]]],[\"hy-quote\",[[1,\"hy-quote\",{\"quoteSignature\":[1,\"quote-signature\"],\"headerstyle\":[1]}]]],[\"hy-table-container\",[[4,\"hy-table-container\"]]],[\"color-box\",[[1,\"color-box\"]]],[\"hy-badge\",[[1,\"hy-badge\",{\"variant\":[1]}]]],[\"hy-baseline\",[[4,\"hy-baseline\",{\"margin\":[2]}]]],[\"hy-box-container\",[[4,\"hy-box-container\",{\"wrap\":[4],\"maxWidth\":[4,\"max-width\"]}]]],[\"hy-docs-container\",[[4,\"hy-docs-container\"]]],[\"hy-grid-container\",[[4,\"hy-grid-container\"]]],[\"hy-grid-item\",[[4,\"hy-grid-item\",{\"columns\":[1],\"columnssm\":[1],\"columnslg\":[1],\"contentalign\":[1]}]]],[\"hy-grid-row\",[[4,\"hy-grid-row\"]]],[\"hy-ingress\",[[4,\"hy-ingress\",{\"headerstyle\":[1]}]]],[\"hy-link\",[[1,\"hy-link\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"]}]]],[\"hy-logo-grid\",[[0,\"hy-logo-grid\",{\"headingVariant\":[1,\"heading-variant\"],\"logoGridTitle\":[1,\"logo-grid-title\"],\"logoImages\":[1,\"logo-images\"]}]]],[\"hy-main\",[[4,\"hy-main\",{\"hasSidebar\":[4,\"has-sidebar\"]}]]],[\"hy-opening-hours-content\",[[0,\"hy-opening-hours-content\",{\"multiple\":[4],\"selfServiceLabel\":[1,\"self-service-label\"],\"dataItems\":[1,\"data-items\"]}]]],[\"hy-pager\",[[1,\"hy-pager\"]]],[\"hy-row\",[[4,\"hy-row\",{\"justify\":[1],\"align\":[1],\"margin\":[2]}]]],[\"hy-section-container\",[[4,\"hy-section-container\"]]],[\"hy-tabs-item\",[[4,\"hy-tabs-item\",{\"tabTitle\":[1,\"tab-title\"]}]]],[\"hy-tiny-text\",[[1,\"hy-tiny-text\"]]],[\"hy-two-columns\",[[4,\"hy-two-columns\",{\"reversed\":[4]}]]],[\"hy-general-list_2\",[[1,\"hy-general-list\",{\"type\":[1],\"blank\":[4],\"dataItems\":[1,\"data-items\"],\"truncateDescription\":[4,\"truncate-description\"],\"truncateLimit\":[2,\"truncate-limit\"],\"hasSidebar\":[32]}],[1,\"hy-general-list-item\",{\"hasSidebar\":[4,\"has-sidebar\"],\"description\":[1],\"imageAlt\":[1,\"image-alt\"],\"imageUrl\":[1,\"image-url\"],\"disableLazy\":[4,\"disable-lazy\"],\"itemTitle\":[1,\"item-title\"],\"label\":[1],\"subLabel\":[1,\"sub-label\"],\"date\":[1],\"tag\":[1],\"type\":[1],\"url\":[1],\"listStyle\":[1,\"list-style\"],\"target\":[4]}]]],[\"hy-icon\",[[0,\"hy-icon\",{\"icon\":[1],\"fill\":[1],\"size\":[2]}]]],[\"hy-content-list-item\",[[1,\"hy-content-list-item\",{\"variant\":[1],\"courseCode\":[1,\"course-code\"],\"courseName\":[1,\"course-name\"],\"isCancelled\":[4,\"is-cancelled\"],\"cancelledLabel\":[1,\"cancelled-label\"],\"courseCredits\":[1,\"course-credits\"],\"courseTags\":[1,\"course-tags\"],\"courseStartDate\":[1,\"course-start-date\"],\"courseEndDate\":[1,\"course-end-date\"],\"courseStudyFormat\":[1,\"course-study-format\"],\"courseOrganisation\":[1,\"course-organisation\"],\"courseEnrollmentLink\":[1,\"course-enrollment-link\"],\"courseTeachingLanguage\":[1,\"course-teaching-language\"],\"courseLinkLabel\":[1,\"course-link-label\"]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"hy-large-process-flow-phase\",[[1,\"hy-large-process-flow-phase\",{\"dataItems\":[1,\"data-items\"]}]]],[\"hy-site-header_3\",[[1,\"hy-site-header\",{\"isGroup\":[4,\"is-group\"],\"researchGroupLabel\":[1,\"research-group-label\"],\"groupType\":[1,\"group-type\"],\"dataMenuLanguage\":[1,\"data-menu-language\"],\"dataMenuDonate\":[1,\"data-menu-donate\"],\"dataSiteHeaderLabels\":[1,\"data-site-header-labels\"],\"dataSiteSearchLabels\":[1,\"data-site-search-labels\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"siteLabel\":[1,\"site-label\"],\"siteUrl\":[1,\"site-url\"],\"showSearchLabel\":[4,\"show-search-label\"],\"noSearch\":[4,\"no-search\"],\"menuLabel\":[1,\"menu-label\"],\"menuLabelOpen\":[1,\"menu-label-open\"],\"menuLabelClose\":[1,\"menu-label-close\"],\"menuType\":[513,\"menu-type\"],\"dataDesktopLinks\":[1,\"data-desktop-links\"],\"dataMainMenuLinks\":[1,\"data-main-menu-links\"],\"dataSearchTools\":[1,\"data-search-tools\"],\"isMobile\":[32],\"isMenuOpen\":[32],\"isDesktopMenuOpen\":[32],\"isTopMenuOpen\":[32],\"lastScrollTop\":[32],\"delta\":[32],\"navbarHeight\":[32]},[[0,\"mobileMenuToggle\",\"mobileMenuToggle\"],[0,\"mobileMenuTopToggle\",\"mobileMenuTopToggle\"],[9,\"scroll\",\"handleScroll\"]]],[1,\"hy-site-search\",{\"color\":[1],\"isAlternative\":[4,\"is-alternative\"],\"isGroup\":[4,\"is-group\"],\"labels\":[1],\"searchLabels\":[1,\"search-labels\"],\"searchTools\":[1,\"search-tools\"],\"showLabel\":[4,\"show-label\"],\"size\":[2],\"dataSearchSpecialTools\":[1,\"data-search-special-tools\"],\"isSearchPanelOpen\":[32]},[[4,\"menuDesktopToggled\",\"desktopMenuToggled\"],[4,\"menuMobileToggled\",\"mobileMenuToggled\"],[4,\"menuLanguageToggled\",\"menuLanguageToggled\"],[4,\"universityMainMenuToggled\",\"universityMainMenuPanelToggled\"],[4,\"headerScrollDown\",\"headerScrollDown\"]]],[0,\"hy-site-logo\",{\"type\":[1],\"color\":[1],\"isGroup\":[4,\"is-group\"],\"label\":[1],\"size\":[2],\"url\":[1]}]]],[\"hy-menu-main-group\",[[1,\"hy-menu-main-group\",{\"menuLabel\":[1,\"menu-label\"],\"dataMainMenu\":[1,\"data-main-menu\"],\"isMobile\":[4,\"is-mobile\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"siteLabel\":[1,\"site-label\"],\"siteUrl\":[1,\"site-url\"],\"donate\":[16],\"isMenuOpen\":[32]},[[2,\"click\",\"handleComponentClick\"],[0,\"keydown\",\"handleComponentKeyDown\"],[8,\"click\",\"handleOutsideMenuClick\"],[4,\"menuDesktopToggled\",\"desktopMenuToggled\"],[4,\"searchPanelToggled\",\"searchPanelToggled\"],[4,\"menuLanguageToggled\",\"languageMenuToggled\"]]]]],[\"hy-accordion-container\",[[4,\"hy-accordion-container\",{\"accordionid\":[1]}]]],[\"hy-accordion-item\",[[4,\"hy-accordion-item\",{\"accordiontitle\":[1],\"variant\":[1],\"headerstyle\":[1],\"showOpen\":[4,\"show-open\"],\"ready\":[32]},[[8,\"hashchange\",\"onHashChange\"],[0,\"keydown\",\"handleKeyDown\"],[0,\"click\",\"handleClick\"]]]]],[\"hy-desktop-menu-links\",[[1,\"hy-desktop-menu-links\",{\"dataDesktopLinks\":[1,\"data-desktop-links\"],\"firstLevelLinksList\":[32],\"menuLinkItems\":[32],\"hasToolbar\":[32],\"isDesktopMenuOpen\":[32],\"currenOpenMenuId\":[32],\"isNewMenuIdOnHover\":[32]},[[4,\"menuLanguageToggled\",\"menuLanguageToggled\"],[4,\"universityMainMenuToggled\",\"universityMainMenuPanelToggled\"],[4,\"searchPanelToggled\",\"searchPanelToggled\"],[4,\"headerScrollUp\",\"headerScrollUp\"],[8,\"click\",\"handleWindowClick\"]]]]],[\"hy-filter-group-item\",[[4,\"hy-filter-group-item\",{\"filterGroupItemId\":[8,\"filter-group-item-id\"],\"filterGroupItemLabel\":[1,\"filter-group-item-label\"]}]]],[\"hy-link-box\",[[1,\"hy-link-box\",{\"variant\":[1],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"useSlot\":[4,\"use-slot\"],\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"scLabel\":[1,\"sc-label\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]},[[0,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeyDown\"],[1,\"mouseenter\",\"handleMouseEnter\"],[1,\"mouseleave\",\"handleMouseLeave\"],[0,\"focusin\",\"handleOnFocusIn\"],[0,\"focusout\",\"handleOnFocusOut\"]]]]],[\"hy-menu-item\",[[1,\"hy-menu-item\",{\"inActiveTrail\":[4,\"in-active-trail\"],\"isActive\":[4,\"is-active\"],\"isActiveChild\":[4,\"is-active-child\"],\"isHeading\":[4,\"is-heading\"],\"isParent\":[4,\"is-parent\"],\"isDemo\":[4,\"is-demo\"],\"menuItemAlternative\":[4,\"menu-item-alternative\"],\"menuLinkId\":[1,\"menu-link-id\"],\"menuType\":[1,\"menu-type\"],\"menuButtonSubmenuExpand\":[1,\"menu-button-submenu-expand\"],\"menuButtonBreadcrumbMain\":[1,\"menu-button-breadcrumb-main\"],\"ariaExpanded\":[1028,\"aria-expanded\"],\"depth\":[1538],\"hasChildren\":[1028,\"has-children\"],\"label\":[1025],\"parentAsHeading\":[1025,\"parent-as-heading\"],\"parentExpanded\":[1540,\"parent-expanded\"],\"url\":[1025]},[[2,\"handleClick\",\"handleClick\"]]]]],[\"hy-box\",[[4,\"hy-box\",{\"headerstyle\":[1],\"p\":[1],\"pl\":[1],\"pr\":[1],\"pb\":[1],\"pt\":[1],\"m\":[1],\"ml\":[1],\"mr\":[1],\"mb\":[1],\"mt\":[1],\"justify\":[1],\"align\":[1],\"h\":[2],\"bg\":[1],\"width\":[1]}]]],[\"hy-process-flow-box\",[[1,\"hy-process-flow-box\",{\"variant\":[1],\"boxNumber\":[1,\"box-number\"],\"boxTitle\":[1,\"box-title\"],\"boxDescription\":[1,\"box-description\"],\"intermediateStepTitle\":[1,\"intermediate-step-title\"],\"stepState\":[1,\"step-state\"],\"numberTerm\":[1,\"number-term\"]}]]],[\"hy-key-figure\",[[1,\"hy-key-figure\",{\"variant\":[1],\"heading\":[1],\"description\":[1]}]]],[\"hy-key-highlight\",[[1,\"hy-key-highlight\",{\"variant\":[1],\"heading\":[1],\"description\":[1]}]]],[\"hy-filter-visibility-tool-reset_2\",[[0,\"hy-filter-visibility-tool-reset\"],[0,\"hy-filter-visibility-tool-toggle\"]]],[\"hy-dropdown-panel_2\",[[0,\"hy-dropdown-panel-item\",{\"isLast\":[4,\"is-last\"],\"dropdownItemId\":[8,\"dropdown-item-id\"],\"dropdownItemValue\":[8,\"dropdown-item-value\"],\"dropdownItemLabel\":[1,\"dropdown-item-label\"]}],[4,\"hy-dropdown-panel\",{\"isHidden\":[4,\"is-hidden\"]}]]],[\"hy-image\",[[0,\"hy-image\",{\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"caption\":[1],\"aspectRatioWidth\":[2,\"aspect-ratio-width\"],\"aspectRatioHeight\":[2,\"aspect-ratio-height\"],\"sourceSet\":[1,\"source-set\"]}]]],[\"hy-paragraph-text\",[[36,\"hy-paragraph-text\",{\"variant\":[1],\"placement\":[1],\"headerstyle\":[1]}]]],[\"hy-search-field\",[[0,\"hy-search-field\",{\"label\":[1],\"isLabelBold\":[4,\"is-label-bold\"],\"placeholder\":[1],\"isLabelHidden\":[4,\"is-label-hidden\"],\"inputId\":[1,\"input-id\"],\"isInputValueEmpty\":[32]}]]],[\"hy-main-content-wrapper\",[[4,\"hy-main-content-wrapper\"]]],[\"hy-tag\",[[1,\"hy-tag\"]]],[\"hy-menu-language-item\",[[1,\"hy-menu-language-item\",{\"abbr\":[1],\"isActive\":[4,\"is-active\"],\"isDisabled\":[4,\"is-disabled\"],\"isMobile\":[4,\"is-mobile\"],\"label\":[1],\"langCode\":[1,\"lang-code\"],\"url\":[1]}]]],[\"hy-menu-language_2\",[[0,\"hy-menu-mobile-breadcrumb\",{\"bid\":[1],\"isFirst\":[4,\"is-first\"],\"label\":[1],\"labelBack\":[1,\"label-back\"],\"labelFrontPage\":[1,\"label-front-page\"],\"logoUrl\":[1,\"logo-url\"]},[[2,\"handleClick\",\"handleClick\"]]],[1,\"hy-menu-language\",{\"dataMenuLanguage\":[1,\"data-menu-language\"],\"isMobile\":[4,\"is-mobile\"],\"isGroup\":[4,\"is-group\"],\"labels\":[1],\"isMenuOpen\":[32]},[[8,\"click\",\"handleOutsideMenuClick\"],[4,\"menuDesktopToggled\",\"desktopMenuToggled\"],[4,\"searchPanelToggled\",\"searchPanelToggled\"],[4,\"universityMainMenuToggled\",\"universityMainMenuPanelToggled\"],[0,\"focus\",\"handleComponentFocus\"],[0,\"click\",\"handleComponentClick\"]]]]],[\"hy-cta-button\",[[1,\"hy-cta-button\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1]}]]],[\"hy-cta-link\",[[1,\"hy-cta-link\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1],\"fullWidth\":[4,\"full-width\"]}]]],[\"hy-heading\",[[38,\"hy-heading\",{\"heading\":[1],\"isSearch\":[4,\"is-search\"],\"section\":[1],\"negative\":[4],\"headerstyle\":[1]}]]],[\"hy-footer_5\",[[0,\"hy-footer-info\",{\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"linkText\":[1,\"link-text\"],\"linkUrl\":[1,\"link-url\"],\"linkIsExternal\":[4,\"link-is-external\"],\"linkScLabel\":[1,\"link-sc-label\"],\"isGroup\":[4,\"is-group\"],\"dataFooterInfoLinks\":[1,\"data-footer-info-links\"],\"isMobile\":[32]}],[4,\"hy-footer-base\",{\"color\":[1],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"size\":[2],\"someLabel\":[1,\"some-label\"],\"copyrightText\":[1,\"copyright-text\"],\"dataFooterBaseLinks\":[1,\"data-footer-base-links\"],\"dataFooterBaseSome\":[1,\"data-footer-base-some\"]}],[0,\"hy-footer-action\",{\"updatedText\":[1,\"updated-text\"],\"upButtonLabel\":[1,\"up-button-label\"]},[[2,\"scrollTop\",\"scrollTop\"]]],[4,\"hy-footer\"],[0,\"hy-footer-link-item\",{\"label\":[1],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"mainLink\":[4,\"main-link\"],\"items\":[16],\"color\":[1],\"isMobile\":[4,\"is-mobile\"],\"variant\":[1]}]]]]"), options);
|
|
18
18
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-fbbc09ec.js';
|
|
2
|
+
|
|
3
|
+
const hyCollaborationCss = ":root{--brand-main:#0e688b;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-collaboration{border-bottom:1px solid var(--grayscale-dark);padding:32px 0}@media (min-width: 60rem){.hy-collaboration{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:grid;gap:82px;grid-template-columns:305px 500px}}@media (min-width: 75.0625rem){.hy-collaboration{gap:120px;grid-template-columns:410px 650px;padding:40px 0}}@media (min-width: 120.0625rem){.hy-collaboration{gap:80px;grid-template-columns:410px 625px}}.hy-collaboration__logo{margin:0 0 32px;padding:0}@media (min-width: 60rem){.hy-collaboration__logo{margin:0}}.hy-collaboration__logo img{width:auto;height:100%;max-height:48px}@media (min-width: 75.0625rem){.hy-collaboration__logo img{max-height:64px}}.hy-collaboration__description{font-size:0.9375rem;line-height:22px;font-family:var(--main-font-family);margin:0 0 12px}@media (min-width: 30rem){.hy-collaboration__description{font-size:1rem;line-height:24px}}@media (min-width: 75.0625rem){.hy-collaboration__description{font-size:1.0625rem;line-height:26px}}.hy-collaboration__link{font-size:0.9375rem;line-height:22px;font-weight:600;font-family:var(--main-font-family);color:var(--link-blue);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}@media (min-width: 30rem){.hy-collaboration__link{font-size:1rem;line-height:24px}}@media (min-width: 75.0625rem){.hy-collaboration__link{font-size:1.0625rem;line-height:26px}}.hy-collaboration__link span{margin-left:4px}.hy-collaboration__link span svg{fill:var(--link-blue)}";
|
|
4
|
+
|
|
5
|
+
const HyCollaboration = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h("div", { class: "hy-collaboration" }, h("figure", { class: "hy-collaboration__logo", role: "complementary" }, h("img", { src: this.imageUrl, alt: this.imageAltText })), h("div", { class: "hy-collaboration__content" }, h("p", { class: "hy-collaboration__description" }, this.textDescription), this.linkUrl && (h("a", { href: this.linkUrl, class: "hy-collaboration__link" }, this.linkTitle, h("span", { "aria-hidden": "true" }, h("hy-icon", { icon: 'hy-icon-arrow-right', size: 10 })))))));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
HyCollaboration.style = hyCollaborationCss;
|
|
14
|
+
|
|
15
|
+
export { HyCollaboration as hy_collaboration };
|
|
@@ -122,7 +122,7 @@ const HyFooterInfo = class {
|
|
|
122
122
|
};
|
|
123
123
|
HyFooterInfo.style = hyFooterInfoCss;
|
|
124
124
|
|
|
125
|
-
const hyFooterLinkItemCss = ":root{--brand-main:#0e688b;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}hy-footer-link-item:not([main-link]){width:100%}@media (min-width: 30rem){hy-footer-link-item:not([main-link]){width:50%}}hy-footer-link-item[main-link]{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;min-width:200px;width:100%}@media (min-width: 30rem){hy-footer-link-item[main-link]{width:50%}}hy-footer-link-item.group[main-link]{-ms-flex-preferred-size:100%;flex-basis:100%;margin-top:1rem}@media (min-width: 30rem){hy-footer-link-item.group[main-link]{-ms-flex-preferred-size:50%;flex-basis:50%;margin:0}}.hy-footer-link-item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-footer-link-item--container .hy-footer-link-item:last-child{margin-bottom:16px}.hy-footer-link-item{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);margin-left:0;margin-right:0;position:relative;text-decoration:none}@media (min-width: 30rem){.hy-footer-link-item{margin-left:0;margin-right:24px}}@media (min-width: 60rem){.hy-footer-link-item{margin-left:32px;margin-right:0}}@media (min-width: 1601px){.hy-footer-link-item{margin-left:48px}}.hy-footer-link-item__color-white{font-size:0.875rem;line-height:18px;font-weight:600;border-bottom:1px solid var(--grayscale-white);color:var(--grayscale-white);letter-spacing:-0.5px;padding:15px 20px 15px 0}.hy-footer-link-item__color-white .hy-footer-link-item__icon svg{fill:var(--grayscale-white)}.hy-footer-link-item__color-white:hover{color:var(--grayscale-medium) !important}.hy-footer-link-item__color-white:hover svg{fill:var(--grayscale-medium)}.hy-footer-link-item__color-black{font-size:0.875rem;line-height:18px;font-weight:400;border-bottom:1px solid var(--grayscale-black);color:var(--grayscale-black);letter-spacing:-0.5px;padding:16px 20px 14px 0}.hy-footer-link-item__color-black .hy-footer-link-item__icon svg{fill:var(--brand-main-nearly-black);height:12px;margin-right:2px;width:12px}.hy-footer-link-item__color-
|
|
125
|
+
const hyFooterLinkItemCss = ":root{--brand-main:#0e688b;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}hy-footer-link-item:not([main-link]){width:100%}@media (min-width: 30rem){hy-footer-link-item:not([main-link]){width:50%}}hy-footer-link-item[main-link]{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;min-width:200px;width:100%}@media (min-width: 30rem){hy-footer-link-item[main-link]{width:50%}}hy-footer-link-item.group[main-link]{-ms-flex-preferred-size:100%;flex-basis:100%;margin-top:1rem}@media (min-width: 30rem){hy-footer-link-item.group[main-link]{-ms-flex-preferred-size:50%;flex-basis:50%;margin:0}}.hy-footer-link-item--container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-footer-link-item--container .hy-footer-link-item:last-child{margin-bottom:16px}.hy-footer-link-item{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--main-font-family);margin-left:0;margin-right:0;position:relative;text-decoration:none}@media (min-width: 30rem){.hy-footer-link-item{margin-left:0;margin-right:24px}}@media (min-width: 60rem){.hy-footer-link-item{margin-left:32px;margin-right:0}}@media (min-width: 1601px){.hy-footer-link-item{margin-left:48px}}.hy-footer-link-item__color-white{font-size:0.875rem;line-height:18px;font-weight:600;border-bottom:1px solid var(--grayscale-white);color:var(--grayscale-white);letter-spacing:-0.5px;padding:15px 20px 15px 0}.hy-footer-link-item__color-white .hy-footer-link-item__icon svg{fill:var(--grayscale-white)}.hy-footer-link-item__color-white:hover{color:var(--grayscale-medium) !important}.hy-footer-link-item__color-white:hover svg{fill:var(--grayscale-medium)}.hy-footer-link-item__color-black{font-size:0.875rem;line-height:18px;font-weight:400;border-bottom:1px solid var(--grayscale-black);color:var(--grayscale-black);letter-spacing:-0.5px;padding:16px 20px 14px 0}.hy-footer-link-item__color-black .hy-footer-link-item__icon svg{fill:var(--brand-main-nearly-black);height:12px;margin-right:2px;width:12px}.hy-footer-link-item__color-blacka:hover{color:var(--brand-main) !important;text-decoration:underline}.hy-footer-link-item__color-blacka:hover svg{fill:var(--brand-main)}.hy-footer-link-item__main{border:0;padding:0;margin-right:-32px}.hy-footer-link-item__main .hy-heading__container>h3.hy-heading{font-size:1.125rem;line-height:22px;letter-spacing:-0.45px;padding:0 0 1px 0 !important}@media (min-width: 30rem){.hy-footer-link-item__main .hy-heading__container>h3.hy-heading{font-size:1.375rem;line-height:28px;letter-spacing:-0.44px}}.hy-footer-link-item__main .hy-heading__container>h3.hy-heading .hy-footer-link-item__link{color:var(--grayscale-black);font-family:var(--main-font-family);text-decoration:none;margin-bottom:12px}.hy-footer-link-item__icon{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.hy-footer-link-item:hover h3 a{color:var(--brand-main) !important}";
|
|
126
126
|
|
|
127
127
|
const HyFooterLinkItem = class {
|
|
128
128
|
constructor(hostRef) {
|
|
@@ -151,7 +151,7 @@ const HyFooterLinkItem = class {
|
|
|
151
151
|
})));
|
|
152
152
|
}
|
|
153
153
|
else {
|
|
154
|
-
return (h("div", { class: containerClassAttributes }, h("hy-heading", { class: classAttributes, heading: HeadingVarians.h3 }, h("a", { class: 'hy-footer-link-item__link', href: this.url, style: { color: this.color } }, this.label)), this.items.map((item) => {
|
|
154
|
+
return (h("div", { class: containerClassAttributes }, h("hy-heading", { class: classAttributes, heading: HeadingVarians.h3 }, this.url.length > 0 && (h("a", { class: 'hy-footer-link-item__link', href: this.url, style: { color: this.color } }, this.label)), this.url.length == 0 && h("div", { class: 'hy-footer-link-item__link' }, this.label)), this.items.map((item) => {
|
|
155
155
|
const target = item.isExternal === 'external' ? '_blank' : '_self';
|
|
156
156
|
return (h("a", { class: `hy-footer-link-item hy-footer-link-item__color-${this.color}`, href: item.url, target: target, style: { color: this.color } }, item.label, h("hy-icon", { class: 'hy-footer-link-item__icon', icon: 'hy-icon-arrow-right', size: 16 })));
|
|
157
157
|
})));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-fbbc09ec.js';
|
|
2
|
+
|
|
3
|
+
const hyLogoGridCss = ":root{--brand-main:#0e688b;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow:#f9a21a;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-logo-grid{padding:78px 0 92px}.hy-logo-grid__title{font-size:1.75rem;line-height:32px;letter-spacing:-0.7px;font-family:var(--main-font-family);margin:0 0 24px;text-transform:uppercase}@media (min-width: 30rem){.hy-logo-grid__title{font-size:2.125rem;line-height:40px;letter-spacing:-0.85px;margin:0 0 32px}}@media (min-width: 1601px){.without-sidebar .hy-logo-grid__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px;margin:0 0 40px}}@media (min-width: 75.0625rem){.with-sidebar .hy-logo-grid__title{font-size:2.625rem;line-height:48px;letter-spacing:-1.05px;margin:0 0 40px}}.hy-logo-grid__images{display:grid;gap:24px 36px;grid-template-columns:repeat(2, 1fr);padding:0 8px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 30rem){.hy-logo-grid__images{grid-template-columns:repeat(3, 25%);padding:0;gap:28px 0}}@media (min-width: 60rem){.without-sidebar .hy-logo-grid__images{grid-template-columns:repeat(4, 20%);gap:32px 0}}@media (min-width: 75.0625rem){.without-sidebar .hy-logo-grid__images{gap:40px 0}}@media (min-width: 75.0625rem){.with-sidebar .hy-logo-grid__images{grid-template-columns:repeat(4, 20%);gap:32px 0}}@media (min-width: 1601px){.with-sidebar .hy-logo-grid__images{gap:40px 0}}.hy-logo-grid__figure{padding:0;margin:0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.hy-logo-grid__figure img{width:100%}";
|
|
4
|
+
|
|
5
|
+
const HyCollaboration = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const parsedLogoImages = JSON.parse(this.logoImages);
|
|
11
|
+
const HeadingVariant = this.headingVariant;
|
|
12
|
+
return (h("div", { class: "hy-logo-grid", role: "complementary" }, this.logoGridTitle && h(HeadingVariant, { class: "hy-logo-grid__title" }, this.logoGridTitle), h("div", { class: "hy-logo-grid__images" }, parsedLogoImages.map(({ image_sources: sources, image_url: fallback_url, image_alt: alt }) => {
|
|
13
|
+
const parsedSources = JSON.parse(sources);
|
|
14
|
+
return (h("figure", { class: "hy-logo-grid__figure" }, parsedSources && (h("picture", null, parsedSources.map(({ src, media, type, sizes }) => (h("source", { srcSet: src, media: media, type: type, sizes: sizes ? sizes : '' }))), h("img", { alt: alt, src: fallback_url }))), !parsedSources && h("img", { alt: alt, src: fallback_url })));
|
|
15
|
+
}))));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
HyCollaboration.style = hyLogoGridCss;
|
|
19
|
+
|
|
20
|
+
export { HyCollaboration as hy_logo_grid };
|
|
@@ -15,6 +15,8 @@ const SiteHeader = class {
|
|
|
15
15
|
this.isGroup = false;
|
|
16
16
|
this.researchGroupLabel = '';
|
|
17
17
|
this.groupType = '';
|
|
18
|
+
this.showSearchLabel = true;
|
|
19
|
+
this.noSearch = false;
|
|
18
20
|
this.menuLabel = 'Menu';
|
|
19
21
|
this.menuType = null;
|
|
20
22
|
this.isMenuOpen = false;
|
|
@@ -183,17 +185,17 @@ const SiteHeader = class {
|
|
|
183
185
|
case MenuType.desktop:
|
|
184
186
|
// Larger than 1200px screens
|
|
185
187
|
return [
|
|
186
|
-
h("header", { class: classAttributes.join(' ') }, h("div", { class: { 'hy-backdrop': true, 'is-active': this.isMenuOpen || this.isTopMenuOpen } }), this.isGroup && (h("div", { class: "hy-site-header__content-top" }, h("div", { class: 'hy-site-header__logo-container group ', role: "navigation" }, h("hy-site-logo", { "is-group": true, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel }), h("hy-menu-main-group", { tabindex: "0", "is-mobile": false, "menu-label": (_a = this.groupPages['university_main_menu']) !== null && _a !== void 0 ? _a : null, "data-main-menu": this.dataMainMenuLinks })), h("div", { class: 'menu--secondary menu--secondary--group' }, h("hy-menu-language", { class: 'menu--secondary__item is-first group', "is-group": true, "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }), h("hy-site-search", { class: 'menu--secondary__item group', size: 16, color: logoColorGroup, "is-group": true, "show-label":
|
|
188
|
+
h("header", { class: classAttributes.join(' ') }, h("div", { class: { 'hy-backdrop': true, 'is-active': this.isMenuOpen || this.isTopMenuOpen } }), this.isGroup && (h("div", { class: "hy-site-header__content-top" }, h("div", { class: 'hy-site-header__logo-container group ', role: "navigation" }, h("hy-site-logo", { "is-group": true, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel }), h("hy-menu-main-group", { tabindex: "0", "is-mobile": false, "menu-label": (_a = this.groupPages['university_main_menu']) !== null && _a !== void 0 ? _a : null, "data-main-menu": this.dataMainMenuLinks })), h("div", { class: 'menu--secondary menu--secondary--group' }, h("hy-menu-language", { class: 'menu--secondary__item is-first group', "is-group": true, "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }), !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 16, color: logoColorGroup, "is-group": true, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })), this.donateLink.map((i) => {
|
|
187
189
|
return (h("a", { class: 'menu--secondary__item hy-link__donate group', href: i.url }, h("hy-icon", { icon: 'hy-icon-heart-support', size: 16, fill: logoColorGroup }), h("span", { class: 'hy-link__donate__label group' }, i.label)));
|
|
188
|
-
})))), h("div", { class: { 'hy-site-header__content': true, group: this.isGroup } }, h("div", { class: 'hy-site-header__logo-container' }, this.isGroup && this.groupType == 'research_group_menu' && (h("div", { class: 'hy-site-header__logo-container__group_label' }, this.researchGroupLabel)), this.isGroup ? (h("a", { class: 'group', href: this.logoUrl }, this.logoLabel)) : (h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel }))), this.groupType != 'research_group_menu' && (h("hy-desktop-menu-links", { "data-desktop-links": this.dataDesktopLinks })), !this.isGroup && (h("div", { class: 'menu--secondary' }, h("hy-menu-language", { class: 'menu--secondary__item is-first', "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }), h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label":
|
|
190
|
+
})))), h("div", { class: { 'hy-site-header__content': true, group: this.isGroup } }, h("div", { class: 'hy-site-header__logo-container' }, this.isGroup && this.groupType == 'research_group_menu' && (h("div", { class: 'hy-site-header__logo-container__group_label' }, this.researchGroupLabel)), this.isGroup ? (h("a", { class: 'group', href: this.logoUrl }, this.logoLabel)) : (h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel }))), this.groupType != 'research_group_menu' && (h("hy-desktop-menu-links", { "data-desktop-links": this.dataDesktopLinks })), !this.isGroup && (h("div", { class: 'menu--secondary' }, h("hy-menu-language", { class: 'menu--secondary__item is-first', "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }), !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })), this.donateLink.map((i) => {
|
|
189
191
|
return (h("a", { class: 'menu--secondary__item hy-link__donate', href: i.url }, h("hy-icon", { icon: 'hy-icon-heart-support', size: 14, fill: ColorVariant.black }), h("span", { class: 'hy-link__donate__label' }, i.label)));
|
|
190
192
|
}))))),
|
|
191
193
|
];
|
|
192
194
|
case MenuType.tablet:
|
|
193
195
|
// 960px-1200px screens
|
|
194
|
-
return (h("header", { class: classAttributes.join(' ') }, h("div", { class: { 'hy-backdrop': true, 'is-active': this.isMenuOpen } }), this.isGroup && (h("div", { class: "hy-site-header__content-top" }, h("div", { class: 'hy-site-header__logo-container group ', role: "navigation" }, h("hy-site-logo", { "is-group": 'true', size: logoSize, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel }), h("hy-menu-main-group", { "is-mobile": false, "menu-label": (_b = this.groupPages['university_main_menu']) !== null && _b !== void 0 ? _b : '', "data-main-menu": this.dataMainMenuLinks })), h("div", { class: 'menu--secondary menu--secondary--group' }, h("hy-menu-language", { class: 'menu--secondary__item is-first group', "is-group": true, "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }), h("hy-site-search", { class: 'menu--secondary__item group', size: 16, color: logoColorGroup, "show-label":
|
|
196
|
+
return (h("header", { class: classAttributes.join(' ') }, h("div", { class: { 'hy-backdrop': true, 'is-active': this.isMenuOpen } }), this.isGroup && (h("div", { class: "hy-site-header__content-top" }, h("div", { class: 'hy-site-header__logo-container group ', role: "navigation" }, h("hy-site-logo", { "is-group": 'true', size: logoSize, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel }), h("hy-menu-main-group", { "is-mobile": false, "menu-label": (_b = this.groupPages['university_main_menu']) !== null && _b !== void 0 ? _b : '', "data-main-menu": this.dataMainMenuLinks })), h("div", { class: 'menu--secondary menu--secondary--group' }, h("hy-menu-language", { class: 'menu--secondary__item is-first group', "is-group": true, "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }), !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 16, color: logoColorGroup, "show-label": this.showSearchLabel, "is-group": true, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })), this.donateLink.map((i) => {
|
|
195
197
|
return (h("a", { class: 'menu--secondary__item hy-link__donate group', href: i.url }, h("hy-icon", { icon: 'hy-icon-heart-support', size: 16, fill: logoColorGroup }), h("span", { class: 'hy-link__donate__label group' }, i.label)));
|
|
196
|
-
})))), h("div", { class: { 'hy-site-header__content': true, group: this.isGroup } }, h("div", { class: 'hy-site-header__logo-container' }, this.isGroup && this.groupType == 'research_group_menu' && (h("div", { class: 'hy-site-header__logo-container__group_label' }, this.researchGroupLabel)), this.isGroup ? (h("a", { class: 'group', href: this.logoUrl }, this.logoLabel)) : (h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel }))), !this.isGroup && (h("div", { class: 'menu--secondary' }, h("hy-menu-language", { class: 'menu--secondary__item is-first', "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }), h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label":
|
|
198
|
+
})))), h("div", { class: { 'hy-site-header__content': true, group: this.isGroup } }, h("div", { class: 'hy-site-header__logo-container' }, this.isGroup && this.groupType == 'research_group_menu' && (h("div", { class: 'hy-site-header__logo-container__group_label' }, this.researchGroupLabel)), this.isGroup ? (h("a", { class: 'group', href: this.logoUrl }, this.logoLabel)) : (h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel }))), !this.isGroup && (h("div", { class: 'menu--secondary' }, h("hy-menu-language", { class: 'menu--secondary__item is-first', "is-mobile": false, "data-menu-language": this.dataMenuLanguage, labels: this.languageLabels }), !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })), this.donateLink.map((i) => {
|
|
197
199
|
return (h("a", { class: 'menu--secondary__item hy-link__donate', href: i.url }, h("hy-icon", { icon: 'hy-icon-heart-support', size: 14, fill: ColorVariant.black }), h("span", { class: 'hy-link__donate__label' }, i.label)));
|
|
198
200
|
}))), h("div", { class: 'hy-site-header__menu-container' }, h("span", { class: {
|
|
199
201
|
'hy-site-header__menu-label': true,
|
|
@@ -207,7 +209,7 @@ const SiteHeader = class {
|
|
|
207
209
|
} }, h("slot", { name: 'menu' }))))));
|
|
208
210
|
case MenuType.mobile:
|
|
209
211
|
// Smaller than 960px screens
|
|
210
|
-
return (h("header", { class: classAttributes.join(' ') }, h("div", { class: { 'hy-backdrop': true, 'is-active': this.isMenuOpen } }), h("div", { class: { 'hy-backdrop': true, 'is-active-top': this.isTopMenuOpen } }), this.isGroup && (h("div", { class: { 'hy-site-header__content-top': true, 'is-open': this.isTopMenuOpen }, "is-mobile": true }, h("div", { class: 'hy-site-header__logo-container group ' }, h("hy-site-logo", { "is-group": true, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel })), h("div", { class: 'menu--secondary menu--secondary--group' }, h("hy-site-search", { class: 'menu--secondary__item group', size: 18, color: logoColorGroup, "is-group": true, "show-label":
|
|
212
|
+
return (h("header", { class: classAttributes.join(' ') }, h("div", { class: { 'hy-backdrop': true, 'is-active': this.isMenuOpen } }), h("div", { class: { 'hy-backdrop': true, 'is-active-top': this.isTopMenuOpen } }), this.isGroup && (h("div", { class: { 'hy-site-header__content-top': true, 'is-open': this.isTopMenuOpen }, "is-mobile": true }, h("div", { class: 'hy-site-header__logo-container group ' }, h("hy-site-logo", { "is-group": true, size: logoSizeGroup, color: logoColorGroup, url: this.siteUrl, label: this.siteLabel })), h("div", { class: 'menu--secondary menu--secondary--group' }, !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item group', size: 18, color: logoColorGroup, "is-group": true, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })), h("hy-menu-main-group", { "site-label": this.siteLabel, "site-url": this.siteUrl, "logo-label": this.logoLabel, "logo-url": this.logoUrl, "is-mobile": true, donate: this.donateLink, "data-main-menu": this.dataMainMenuLinks })))), h("div", { class: { 'hy-site-header__content': true, group: this.isGroup } }, h("div", { class: 'hy-site-header__logo-container' }, this.groupType == 'research_group_menu' && (h("div", { class: 'hy-site-header__logo-container__group_label' }, this.researchGroupLabel)), this.isGroup ? (h("a", { class: 'group', href: this.logoUrl }, this.logoLabel)) : (h("hy-site-logo", { size: logoSize, color: logoColor, url: this.logoUrl, label: this.logoLabel }))), h("div", { class: { 'hy-site-header__menu-container': true, 'is-open': this.isMenuOpen } }, !this.isGroup && !this.noSearch && (h("hy-site-search", { class: 'menu--secondary__item', size: 14, color: ColorVariant.black, "show-label": this.showSearchLabel, labels: this.searchLabels, "search-labels": this.dataSiteSearchLabels, "search-tools": this.dataSearchTools })), h("span", { class: {
|
|
211
213
|
'hy-site-header__menu-label': true,
|
|
212
214
|
'is-visible': this.isMenuOpen,
|
|
213
215
|
} }, this.menuLabel), h("button", { onClick: () => toggleMenuMobileAndRemoveListener(), class: {
|
|
@@ -379,7 +381,7 @@ const SiteSearch = class {
|
|
|
379
381
|
return (h(Host, { class: {
|
|
380
382
|
'site-search': true,
|
|
381
383
|
'site-search__is-open': this.isSearchPanelOpen,
|
|
382
|
-
} }, h("button", { "aria-label": this._labels['open'], "aria-expanded": `${this.isSearchPanelOpen}`, class: {
|
|
384
|
+
} }, h("button", { "aria-label": this.showLabel ? this._labels['open'] : '', "aria-expanded": `${this.isSearchPanelOpen}`, class: {
|
|
383
385
|
'button--search': true,
|
|
384
386
|
group: this.isGroup,
|
|
385
387
|
'is-open--menu': this.isAlternative,
|