@itcenteratunihelsinki/huds-lib 0.6.1 → 0.6.4
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-accordion-container_89.cjs.entry.js +80 -50
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/hy-search-field/hy-search-field.js +1 -1
- package/dist/collection/components/hy-video/hy-video.css +54 -2
- package/dist/collection/components/hy-video/hy-video.js +119 -36
- package/dist/collection/components/person-profile/person-profile-listing/person-profile-listing.css +1 -1
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +37 -16
- package/dist/collection/components/person-profile/person-profile.css +51 -1
- package/dist/collection/components/person-profile/person-profile.js +72 -50
- package/dist/collection/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.js +6 -0
- package/dist/collection/components/site-header/site-header.js +4 -0
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/hy-accordion-container_89.entry.js +80 -50
- package/dist/esm/loader.js +1 -1
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/p-a0ae261f.entry.js +86 -0
- package/dist/types/components/hy-video/hy-video.d.ts +2 -0
- package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +1 -0
- package/dist/types/components/person-profile/person-profile.d.ts +2 -1
- package/dist/types/components/site-header/hy-desktop-menu-links/hy-desktop-menu-links.d.ts +1 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/huds-lib/p-152d3e8d.entry.js +0 -86
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -15,7 +15,7 @@ const patchEsm = () => {
|
|
|
15
15
|
const defineCustomElements = (win, options) => {
|
|
16
16
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
17
17
|
return patchEsm().then(() => {
|
|
18
|
-
return index.bootstrapLazy(JSON.parse("[[\"hy-accordion-container_89.cjs\",[[1,\"hy-site-header\",{\"isGroup\":[4,\"is-group\"],\"isLuomusGroup\":[4,\"is-luomus-group\"],\"isBetaGroup\":[4,\"is-beta-group\"],\"researchGroupLabel\":[1,\"research-group-label\"],\"groupType\":[1,\"group-type\"],\"groupLogoUrl\":[1,\"group-logo-url\"],\"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],\"isDesktopMenuDropdown\":[32],\"isTopMenuOpen\":[32],\"lastScrollTop\":[32],\"delta\":[32],\"navbarHeight\":[32]},[[0,\"mobileMenuToggle\",\"mobileMenuToggle\"],[0,\"mobileMenuTopToggle\",\"mobileMenuTopToggle\"],[9,\"scroll\",\"handleScroll\"]]],[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\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"groupLogoUrl\":[1,\"group-logo-url\"],\"isGroup\":[4,\"is-group\"],\"isLuomusGroup\":[4,\"is-luomus-group\"],\"dataFooterInfoLinks\":[1,\"data-footer-info-links\"],\"luomusFooterContent\":[1,\"luomus-footer-content\"],\"isMobile\":[32]}],[1,\"hy-person-profile\",{\"personDataJson\":[1,\"person-data-json\"],\"showFullAboutText\":[1,\"show-full-about-text\"],\"hideFullAboutText\":[1,\"hide-full-about-text\"],\"organizationItemsLabelText\":[1,\"organization-items-label-text\"],\"peopleFinderReturnLink\":[1,\"people-finder-return-link\"],\"isFullAboutTextHidden\":[32],\"viewportSize\":[32]}],[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\"],\"imageAlt\":[1,\"image-alt\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}],[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\"]}],[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\"]}],[1,\"hy-large-process-flow\",{\"headerstyle\":[1],\"dataItems\":[1,\"data-items\"]}],[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\"]}],[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],\"courseStateVariant\":[1,\"course-state-variant\"],\"courseRealisations\":[32]}],[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\"]]],[0,\"hy-filter-visibility-tool\",{\"filterVisibilityToolType\":[1,\"filter-visibility-tool-type\"]}],[0,\"hy-hero\",{\"heroType\":[1,\"hero-type\"],\"heroGroupType\":[1,\"hero-group-type\"],\"colorVariant\":[1,\"color-variant\"],\"sizeVariant\":[1,\"size-variant\"],\"image\":[1],\"imageAltText\":[1,\"image-alt-text\"],\"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\"],\"sourceSet\":[1,\"source-set\"]}],[0,\"hy-link-box-list\",{\"headerstyle\":[1],\"variant\":[1],\"readMoreLabel\":[1,\"read-more-label\"],\"dataItems\":[1,\"data-items\"]}],[4,\"hy-opening-hours\",{\"blockTitle\":[1,\"block-title\"],\"language\":[1],\"venueType\":[1,\"venue-type\"],\"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]}],[0,\"hy-shortcuts\",{\"dataItems\":[1,\"data-items\"],\"listHeading\":[1,\"list-heading\"],\"headerstyle\":[1]}],[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],\"showMoreLabel\":[1,\"show-more-label\"],\"showLessLabel\":[1,\"show-less-label\"],\"descCollapsed\":[32]}],[0,\"hy-filter-group\",{\"filterGroupLabel\":[1,\"filter-group-label\"],\"filterGroupFilters\":[1,\"filter-group-filters\"]}],[1,\"hy-general-list\",{\"type\":[1],\"blank\":[4],\"dataItems\":[1,\"data-items\"],\"truncateDescription\":[4,\"truncate-description\"],\"truncateLimit\":[2,\"truncate-limit\"],\"hasSidebar\":[32]}],[0,\"hy-key-figure-group\",{\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1]}],[0,\"hy-link-list\",{\"headerstyle\":[1],\"dataItems\":[1,\"data-items\"],\"listHeading\":[1,\"list-heading\"],\"variation\":[1],\"headingVariant\":[1,\"heading-variant\"]}],[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\"],\"dataSiteHeaderLabels\":[1,\"data-site-header-labels\"],\"breadcrumbs\":[32]},[[0,\"removeBreadcrumb\",\"removeBreadcrumb\"],[0,\"addBreadcrumb\",\"addBreadcrumb\"]]],[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\"]]],[1,\"hy-process\",{\"headerstyle\":[1],\"numberTerm\":[1,\"number-term\"],\"dataItems\":[1,\"data-items\"]}],[1,\"hy-prominent-image\",{\"textTitle\":[1,\"text-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}],[4,\"hy-user-login-form\",{\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"]}],[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\"]]],[0,\"hy-breadcrumbs\",{\"dataItems\":[1,\"data-items\"],\"variant\":[1],\"headerstyle\":[1],\"menuOpen\":[32]},[[0,\"click\",\"clickEventListener\"],[9,\"resize\",\"resizeEventListener\"]]],[0,\"hy-checkbox\",{\"checkboxId\":[8,\"checkbox-id\"],\"checkboxValue\":[8,\"checkbox-value\"],\"checkboxLabel\":[1,\"checkbox-label\"],\"checkboxChecked\":[4,\"checkbox-checked\"],\"variant\":[1]}],[1,\"hy-collaboration\",{\"textDescription\":[1,\"text-description\"],\"linkUrl\":[1,\"link-url\"],\"linkTitle\":[1,\"link-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"]}],[1,\"hy-crisis-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"bannerDescription\":[1,\"banner-description\"],\"linkTitle\":[1,\"link-title\"],\"linkUrl\":[1,\"link-url\"]}],[0,\"hy-filter-list-type\",{\"filterLabel\":[1,\"filter-label\"],\"filterValue\":[1,\"filter-value\"]}],[0,\"hy-footer-action\",{\"updatedText\":[1,\"updated-text\"],\"upButtonLabel\":[1,\"up-button-label\"]},[[2,\"scrollTop\",\"scrollTop\"]]],[1,\"hy-key-highlight-group\",{\"variant\":[1],\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1]}],[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\"],\"truncateDescription\":[4,\"truncate-description\"],\"truncateLimit\":[2,\"truncate-limit\"],\"isExpandedRelatedContent\":[32],\"_imageMinHeight\":[32],\"_imageMinWidth\":[32]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"click\",\"handleClick\"]]],[1,\"hy-mobile-menu-shortcuts\",{\"shortcutsLabel\":[1,\"shortcuts-label\"],\"dataShortcutLinks\":[1,\"data-shortcut-links\"]}],[1,\"hy-pager-item\",{\"variant\":[1],\"itemLabel\":[1,\"item-label\"],\"itemUrl\":[1,\"item-url\"],\"scAriaLabel\":[1,\"sc-aria-label\"]}],[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]}],[1,\"hy-quote\",{\"quoteSignature\":[1,\"quote-signature\"],\"headerstyle\":[1]}],[4,\"hy-table-container\"],[0,\"hy-twitter-feed\",{\"headingVariant\":[1,\"heading-variant\"],\"paragraphTitle\":[1,\"paragraph-title\"],\"twitterFeedKeyword\":[1,\"twitter-feed-keyword\"],\"tweetType\":[1,\"tweet-type\"],\"tweets\":[1]}],[1,\"hy-badge\",{\"variant\":[1]}],[4,\"hy-baseline\",{\"margin\":[2]}],[4,\"hy-box-container\",{\"wrap\":[4],\"maxWidth\":[4,\"max-width\"]}],[4,\"hy-footer\"],[4,\"hy-ingress\",{\"headerstyle\":[1]}],[1,\"hy-link\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"]}],[4,\"hy-logo-grid\",{\"headingVariant\":[1,\"heading-variant\"],\"logoGridTitle\":[1,\"logo-grid-title\"]}],[0,\"hy-logo-grid-item\",{\"link\":[1],\"image\":[1]}],[4,\"hy-main\",{\"hasSidebar\":[4,\"has-sidebar\"]}],[0,\"hy-opening-hours-content\",{\"multiple\":[4],\"selfServiceLabel\":[1,\"self-service-label\"],\"venueType\":[1,\"venue-type\"],\"dataItems\":[1,\"data-items\"]}],[1,\"hy-pager\"],[4,\"hy-row\",{\"justify\":[1],\"align\":[1],\"margin\":[2]}],[4,\"hy-two-columns\",{\"reversed\":[4]}],[1,\"hy-site-search\",{\"color\":[1],\"isAlternative\":[4,\"is-alternative\"],\"isGroup\":[4,\"is-group\"],\"isLuomusGroup\":[4,\"is-luomus-group\"],\"isBetaGroup\":[4,\"is-beta-group\"],\"searchLanguage\":[1,\"search-language\"],\"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\"],[8,\"click\",\"handleWindowClick\"]]],[1,\"hy-content-list-item\",{\"variant\":[1],\"stateVariant\":[1,\"state-variant\"],\"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\"]]],[1,\"hy-large-process-flow-phase\",{\"dataItems\":[1,\"data-items\"]}],[1,\"hy-menu-language\",{\"dataMenuLanguage\":[1,\"data-menu-language\"],\"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\"]]],[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\"]]],[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\"]]],[1,\"hy-desktop-menu-links\",{\"isGroup\":[4,\"is-group\"],\"isDropdown\":[4,\"is-dropdown\"],\"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\"]]],[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-filter-group-item\",{\"filterGroupItemId\":[8,\"filter-group-item-id\"],\"filterGroupItemLabel\":[1,\"filter-group-item-label\"]}],[0,\"hy-filter-visibility-tool-reset\"],[0,\"hy-filter-visibility-tool-toggle\"],[1,\"hy-link-box\",{\"variant\":[1],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"useSlot\":[4,\"use-slot\"],\"showLogo\":[4,\"show-logo\"],\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"scLabel\":[1,\"sc-label\"],\"readMoreLabel\":[1,\"read-more-label\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}],[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\"],\"isExternal\":[4,\"is-external\"],\"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\"]]],[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-person-profile-listing\",{\"items\":[16],\"col\":[1],\"inline\":[4],\"withoutIcons\":[4,\"without-icons\"],\"textSpacingTight\":[4,\"text-spacing-tight\"]}],[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\"]}],[4,\"hy-dropdown-panel\",{\"isHidden\":[4,\"is-hidden\"]}],[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]}],[1,\"hy-key-figure\",{\"variant\":[1],\"heading\":[1],\"description\":[1]}],[1,\"hy-key-highlight\",{\"variant\":[1],\"heading\":[1],\"description\":[1]}],[4,\"hy-tabs-item\",{\"tabTitle\":[1,\"tab-title\"]}],[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],\"isLuomusGroup\":[4,\"is-luomus-group\"]}],[4,\"hy-accordion-container\",{\"accordionid\":[1]}],[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\"]]],[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\"]}],[0,\"hy-search-field\",{\"label\":[1],\"isLabelBold\":[4,\"is-label-bold\"],\"isLuomusSearch\":[4,\"is-luomus-search\"],\"placeholder\":[1],\"isLabelHidden\":[4,\"is-label-hidden\"],\"inputId\":[1,\"input-id\"],\"prefillParameter\":[1,\"prefill-parameter\"],\"isInputValueEmpty\":[32]}],[4,\"hy-main-content-wrapper\"],[1,\"hy-menu-language-item\",{\"abbr\":[1],\"isActive\":[4,\"is-active\"],\"isDisabled\":[4,\"is-disabled\"],\"label\":[1],\"langCode\":[1,\"lang-code\"],\"url\":[1]}],[36,\"hy-paragraph-text\",{\"variant\":[1],\"placement\":[1],\"headerstyle\":[1]}],[1,\"hy-tag\"],[1,\"hy-cta-button\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1]}],[1,\"hy-cta-link\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"]}],[0,\"hy-site-logo\",{\"type\":[1],\"color\":[1],\"isGroup\":[4,\"is-group\"],\"isLuomusGroup\":[4,\"is-luomus-group\"],\"label\":[1],\"size\":[2],\"url\":[1]}],[36,\"hy-heading\",{\"heading\":[1],\"isSearch\":[4,\"is-search\"],\"section\":[1],\"negative\":[4],\"headerstyle\":[1],\"hyphenatedText\":[513,\"hyphenated-text\"],\"hasChildren\":[32]}],[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]}],[0,\"hy-icon\",{\"icon\":[1],\"fill\":[1],\"size\":[2]}]]],[\"color-box_8.cjs\",[[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\"],\"attrs\":[1]}],[1,\"color-box\"],[4,\"hy-docs-container\"],[4,\"hy-grid-container\"],[4,\"hy-grid-item\",{\"columns\":[1],\"columnssm\":[1],\"columnslg\":[1],\"contentalign\":[1]}],[4,\"hy-grid-row\"],[4,\"hy-section-container\"],[1,\"hy-tiny-text\"]]]]"), options);
|
|
18
|
+
return index.bootstrapLazy(JSON.parse("[[\"hy-accordion-container_89.cjs\",[[1,\"hy-site-header\",{\"isGroup\":[4,\"is-group\"],\"isLuomusGroup\":[4,\"is-luomus-group\"],\"isBetaGroup\":[4,\"is-beta-group\"],\"researchGroupLabel\":[1,\"research-group-label\"],\"groupType\":[1,\"group-type\"],\"groupLogoUrl\":[1,\"group-logo-url\"],\"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],\"isDesktopMenuDropdown\":[32],\"isTopMenuOpen\":[32],\"lastScrollTop\":[32],\"delta\":[32],\"navbarHeight\":[32]},[[0,\"mobileMenuToggle\",\"mobileMenuToggle\"],[0,\"mobileMenuTopToggle\",\"mobileMenuTopToggle\"],[9,\"scroll\",\"handleScroll\"]]],[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\"],\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"],\"groupLogoUrl\":[1,\"group-logo-url\"],\"isGroup\":[4,\"is-group\"],\"isLuomusGroup\":[4,\"is-luomus-group\"],\"dataFooterInfoLinks\":[1,\"data-footer-info-links\"],\"luomusFooterContent\":[1,\"luomus-footer-content\"],\"isMobile\":[32]}],[0,\"hy-person-profile\",{\"personDataJson\":[1,\"person-data-json\"],\"showFullAboutText\":[1,\"show-full-about-text\"],\"hideFullAboutText\":[1,\"hide-full-about-text\"],\"organizationItemsLabelText\":[1,\"organization-items-label-text\"],\"peopleFinderReturnLink\":[1,\"people-finder-return-link\"],\"peopleFinderReturnLabel\":[1,\"people-finder-return-label\"],\"isFullAboutTextHidden\":[32],\"viewportSize\":[32]}],[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\"],\"imageAlt\":[1,\"image-alt\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}],[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\"]}],[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\"]}],[1,\"hy-large-process-flow\",{\"headerstyle\":[1],\"dataItems\":[1,\"data-items\"]}],[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\"]}],[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],\"courseStateVariant\":[1,\"course-state-variant\"],\"courseRealisations\":[32]}],[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\"]]],[0,\"hy-filter-visibility-tool\",{\"filterVisibilityToolType\":[1,\"filter-visibility-tool-type\"]}],[0,\"hy-hero\",{\"heroType\":[1,\"hero-type\"],\"heroGroupType\":[1,\"hero-group-type\"],\"colorVariant\":[1,\"color-variant\"],\"sizeVariant\":[1,\"size-variant\"],\"image\":[1],\"imageAltText\":[1,\"image-alt-text\"],\"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\"],\"sourceSet\":[1,\"source-set\"]}],[0,\"hy-link-box-list\",{\"headerstyle\":[1],\"variant\":[1],\"readMoreLabel\":[1,\"read-more-label\"],\"dataItems\":[1,\"data-items\"]}],[4,\"hy-opening-hours\",{\"blockTitle\":[1,\"block-title\"],\"language\":[1],\"venueType\":[1,\"venue-type\"],\"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]}],[0,\"hy-shortcuts\",{\"dataItems\":[1,\"data-items\"],\"listHeading\":[1,\"list-heading\"],\"headerstyle\":[1]}],[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],\"showMoreLabel\":[1,\"show-more-label\"],\"showLessLabel\":[1,\"show-less-label\"],\"simplePlayButton\":[4,\"simple-play-button\"],\"styleList\":[4,\"style-list\"],\"descCollapsed\":[32]}],[0,\"hy-filter-group\",{\"filterGroupLabel\":[1,\"filter-group-label\"],\"filterGroupFilters\":[1,\"filter-group-filters\"]}],[1,\"hy-general-list\",{\"type\":[1],\"blank\":[4],\"dataItems\":[1,\"data-items\"],\"truncateDescription\":[4,\"truncate-description\"],\"truncateLimit\":[2,\"truncate-limit\"],\"hasSidebar\":[32]}],[0,\"hy-key-figure-group\",{\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1]}],[0,\"hy-link-list\",{\"headerstyle\":[1],\"dataItems\":[1,\"data-items\"],\"listHeading\":[1,\"list-heading\"],\"variation\":[1],\"headingVariant\":[1,\"heading-variant\"]}],[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\"],\"dataSiteHeaderLabels\":[1,\"data-site-header-labels\"],\"breadcrumbs\":[32]},[[0,\"removeBreadcrumb\",\"removeBreadcrumb\"],[0,\"addBreadcrumb\",\"addBreadcrumb\"]]],[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\"]]],[1,\"hy-process\",{\"headerstyle\":[1],\"numberTerm\":[1,\"number-term\"],\"dataItems\":[1,\"data-items\"]}],[1,\"hy-prominent-image\",{\"textTitle\":[1,\"text-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}],[4,\"hy-user-login-form\",{\"logoUrl\":[1,\"logo-url\"],\"logoLabel\":[1,\"logo-label\"]}],[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\"]]],[0,\"hy-breadcrumbs\",{\"dataItems\":[1,\"data-items\"],\"variant\":[1],\"headerstyle\":[1],\"menuOpen\":[32]},[[0,\"click\",\"clickEventListener\"],[9,\"resize\",\"resizeEventListener\"]]],[0,\"hy-checkbox\",{\"checkboxId\":[8,\"checkbox-id\"],\"checkboxValue\":[8,\"checkbox-value\"],\"checkboxLabel\":[1,\"checkbox-label\"],\"checkboxChecked\":[4,\"checkbox-checked\"],\"variant\":[1]}],[1,\"hy-collaboration\",{\"textDescription\":[1,\"text-description\"],\"linkUrl\":[1,\"link-url\"],\"linkTitle\":[1,\"link-title\"],\"imageUrl\":[1,\"image-url\"],\"imageAltText\":[1,\"image-alt-text\"]}],[1,\"hy-crisis-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"bannerDescription\":[1,\"banner-description\"],\"linkTitle\":[1,\"link-title\"],\"linkUrl\":[1,\"link-url\"]}],[0,\"hy-filter-list-type\",{\"filterLabel\":[1,\"filter-label\"],\"filterValue\":[1,\"filter-value\"]}],[0,\"hy-footer-action\",{\"updatedText\":[1,\"updated-text\"],\"upButtonLabel\":[1,\"up-button-label\"]},[[2,\"scrollTop\",\"scrollTop\"]]],[1,\"hy-key-highlight-group\",{\"variant\":[1],\"dataItems\":[1,\"data-items\"],\"headerstyle\":[1]}],[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\"],\"truncateDescription\":[4,\"truncate-description\"],\"truncateLimit\":[2,\"truncate-limit\"],\"isExpandedRelatedContent\":[32],\"_imageMinHeight\":[32],\"_imageMinWidth\":[32]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"click\",\"handleClick\"]]],[1,\"hy-mobile-menu-shortcuts\",{\"shortcutsLabel\":[1,\"shortcuts-label\"],\"dataShortcutLinks\":[1,\"data-shortcut-links\"]}],[1,\"hy-pager-item\",{\"variant\":[1],\"itemLabel\":[1,\"item-label\"],\"itemUrl\":[1,\"item-url\"],\"scAriaLabel\":[1,\"sc-aria-label\"]}],[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]}],[1,\"hy-quote\",{\"quoteSignature\":[1,\"quote-signature\"],\"headerstyle\":[1]}],[4,\"hy-table-container\"],[0,\"hy-twitter-feed\",{\"headingVariant\":[1,\"heading-variant\"],\"paragraphTitle\":[1,\"paragraph-title\"],\"twitterFeedKeyword\":[1,\"twitter-feed-keyword\"],\"tweetType\":[1,\"tweet-type\"],\"tweets\":[1]}],[1,\"hy-badge\",{\"variant\":[1]}],[4,\"hy-baseline\",{\"margin\":[2]}],[4,\"hy-box-container\",{\"wrap\":[4],\"maxWidth\":[4,\"max-width\"]}],[4,\"hy-footer\"],[4,\"hy-ingress\",{\"headerstyle\":[1]}],[1,\"hy-link\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"]}],[4,\"hy-logo-grid\",{\"headingVariant\":[1,\"heading-variant\"],\"logoGridTitle\":[1,\"logo-grid-title\"]}],[0,\"hy-logo-grid-item\",{\"link\":[1],\"image\":[1]}],[4,\"hy-main\",{\"hasSidebar\":[4,\"has-sidebar\"]}],[0,\"hy-opening-hours-content\",{\"multiple\":[4],\"selfServiceLabel\":[1,\"self-service-label\"],\"venueType\":[1,\"venue-type\"],\"dataItems\":[1,\"data-items\"]}],[1,\"hy-pager\"],[4,\"hy-row\",{\"justify\":[1],\"align\":[1],\"margin\":[2]}],[4,\"hy-two-columns\",{\"reversed\":[4]}],[1,\"hy-site-search\",{\"color\":[1],\"isAlternative\":[4,\"is-alternative\"],\"isGroup\":[4,\"is-group\"],\"isLuomusGroup\":[4,\"is-luomus-group\"],\"isBetaGroup\":[4,\"is-beta-group\"],\"searchLanguage\":[1,\"search-language\"],\"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\"],[8,\"click\",\"handleWindowClick\"]]],[1,\"hy-content-list-item\",{\"variant\":[1],\"stateVariant\":[1,\"state-variant\"],\"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\"]]],[1,\"hy-large-process-flow-phase\",{\"dataItems\":[1,\"data-items\"]}],[1,\"hy-menu-language\",{\"dataMenuLanguage\":[1,\"data-menu-language\"],\"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\"]]],[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\"]]],[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\"]]],[1,\"hy-desktop-menu-links\",{\"isGroup\":[4,\"is-group\"],\"isDropdown\":[4,\"is-dropdown\"],\"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\"]]],[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-filter-group-item\",{\"filterGroupItemId\":[8,\"filter-group-item-id\"],\"filterGroupItemLabel\":[1,\"filter-group-item-label\"]}],[0,\"hy-filter-visibility-tool-reset\"],[0,\"hy-filter-visibility-tool-toggle\"],[1,\"hy-link-box\",{\"variant\":[1],\"imageUrl\":[1,\"image-url\"],\"imageAlt\":[1,\"image-alt\"],\"disableLazy\":[4,\"disable-lazy\"],\"useSlot\":[4,\"use-slot\"],\"showLogo\":[4,\"show-logo\"],\"textTitle\":[1,\"text-title\"],\"textDescription\":[1,\"text-description\"],\"url\":[1],\"isExternal\":[4,\"is-external\"],\"scLabel\":[1,\"sc-label\"],\"readMoreLabel\":[1,\"read-more-label\"],\"headerstyle\":[1],\"sourceSet\":[1,\"source-set\"]}],[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\"],\"isExternal\":[4,\"is-external\"],\"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\"]]],[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-person-profile-listing\",{\"items\":[16],\"col\":[1],\"inline\":[4],\"withoutIcons\":[4,\"without-icons\"],\"textSpacingTight\":[4,\"text-spacing-tight\"],\"isResearch\":[4,\"is-research\"]}],[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\"]}],[4,\"hy-dropdown-panel\",{\"isHidden\":[4,\"is-hidden\"]}],[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]}],[1,\"hy-key-figure\",{\"variant\":[1],\"heading\":[1],\"description\":[1]}],[1,\"hy-key-highlight\",{\"variant\":[1],\"heading\":[1],\"description\":[1]}],[4,\"hy-tabs-item\",{\"tabTitle\":[1,\"tab-title\"]}],[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],\"isLuomusGroup\":[4,\"is-luomus-group\"]}],[4,\"hy-accordion-container\",{\"accordionid\":[1]}],[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\"]]],[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\"]}],[0,\"hy-search-field\",{\"label\":[1],\"isLabelBold\":[4,\"is-label-bold\"],\"isLuomusSearch\":[4,\"is-luomus-search\"],\"placeholder\":[1],\"isLabelHidden\":[4,\"is-label-hidden\"],\"inputId\":[1,\"input-id\"],\"prefillParameter\":[1,\"prefill-parameter\"],\"isInputValueEmpty\":[32]}],[4,\"hy-main-content-wrapper\"],[1,\"hy-menu-language-item\",{\"abbr\":[1],\"isActive\":[4,\"is-active\"],\"isDisabled\":[4,\"is-disabled\"],\"label\":[1],\"langCode\":[1,\"lang-code\"],\"url\":[1]}],[36,\"hy-paragraph-text\",{\"variant\":[1],\"placement\":[1],\"headerstyle\":[1]}],[1,\"hy-tag\"],[1,\"hy-cta-button\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"],\"headerstyle\":[1]}],[1,\"hy-cta-link\",{\"variant\":[1],\"linkContent\":[1,\"link-content\"],\"url\":[1],\"scLabel\":[1,\"sc-label\"],\"isExternal\":[4,\"is-external\"]}],[0,\"hy-site-logo\",{\"type\":[1],\"color\":[1],\"isGroup\":[4,\"is-group\"],\"isLuomusGroup\":[4,\"is-luomus-group\"],\"label\":[1],\"size\":[2],\"url\":[1]}],[36,\"hy-heading\",{\"heading\":[1],\"isSearch\":[4,\"is-search\"],\"section\":[1],\"negative\":[4],\"headerstyle\":[1],\"hyphenatedText\":[513,\"hyphenated-text\"],\"hasChildren\":[32]}],[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]}],[0,\"hy-icon\",{\"icon\":[1],\"fill\":[1],\"size\":[2]}]]],[\"color-box_8.cjs\",[[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\"],\"attrs\":[1]}],[1,\"color-box\"],[4,\"hy-docs-container\"],[4,\"hy-grid-container\"],[4,\"hy-grid-item\",{\"columns\":[1],\"columnssm\":[1],\"columnslg\":[1],\"contentalign\":[1]}],[4,\"hy-grid-row\"],[4,\"hy-section-container\"],[1,\"hy-tiny-text\"]]]]"), options);
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -21,7 +21,7 @@ export class HySearchField {
|
|
|
21
21
|
const urlParams = new URLSearchParams(window.location.search);
|
|
22
22
|
const searchValue = urlParams.get(`${this.prefillParameter}`);
|
|
23
23
|
const searchInput = this.el.querySelector('.search-field__input');
|
|
24
|
-
searchInput.value = searchValue.length > 0 ? searchValue : '';
|
|
24
|
+
searchInput.value = searchValue && searchValue.length > 0 ? searchValue : '';
|
|
25
25
|
this.isInputValueEmpty = false;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -60,6 +60,10 @@
|
|
|
60
60
|
display: block;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
a.hy-video {
|
|
64
|
+
text-decoration: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
63
67
|
.hy-video__video-container {
|
|
64
68
|
display: inline-block;
|
|
65
69
|
margin-bottom: 22px;
|
|
@@ -165,7 +169,51 @@
|
|
|
165
169
|
}
|
|
166
170
|
}
|
|
167
171
|
|
|
168
|
-
.hy-video__video-container
|
|
172
|
+
.hy-video__video-container .hy-video__play__simple {
|
|
173
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
174
|
+
position: absolute;
|
|
175
|
+
width: 100%;
|
|
176
|
+
height: 100%;
|
|
177
|
+
display: -webkit-box;
|
|
178
|
+
display: -ms-flexbox;
|
|
179
|
+
display: flex;
|
|
180
|
+
-webkit-box-align: center;
|
|
181
|
+
-ms-flex-align: center;
|
|
182
|
+
align-items: center;
|
|
183
|
+
-webkit-box-pack: center;
|
|
184
|
+
-ms-flex-pack: center;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.hy-video__video-container .hy-video__play__simple:hover {
|
|
189
|
+
cursor: pointer;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.hy-video__video-container .hy-video__play__simple button {
|
|
193
|
+
-webkit-box-align: center;
|
|
194
|
+
-ms-flex-align: center;
|
|
195
|
+
align-items: center;
|
|
196
|
+
background: transparent;
|
|
197
|
+
border: none;
|
|
198
|
+
display: -webkit-box;
|
|
199
|
+
display: -ms-flexbox;
|
|
200
|
+
display: flex;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.hy-video__video-container .hy-video__play__simple button svg {
|
|
204
|
+
fill: var(--grayscale-white);
|
|
205
|
+
height: 44px;
|
|
206
|
+
width: 44px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@media (min-width: 60rem) {
|
|
210
|
+
.hy-video__video-container .hy-video__play__simple button svg {
|
|
211
|
+
height: 80px;
|
|
212
|
+
width: 80px;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.hy-video__video-container > *:not(.hy-video__label, .hy-video__play, .hy-video__play__simple) {
|
|
169
217
|
bottom: 0;
|
|
170
218
|
left: 0;
|
|
171
219
|
position: absolute;
|
|
@@ -190,7 +238,7 @@
|
|
|
190
238
|
}
|
|
191
239
|
|
|
192
240
|
@media (min-width: 1601px) {
|
|
193
|
-
.hy-video:not(.hy-video--horizontal):not(.hy-video__default) {
|
|
241
|
+
.hy-video:not(.hy-video--horizontal):not(.hy-video__default, .hy-video--list) {
|
|
194
242
|
max-width: 66%;
|
|
195
243
|
}
|
|
196
244
|
}
|
|
@@ -246,6 +294,10 @@
|
|
|
246
294
|
.hy-video__meta__title h2.hy-heading {
|
|
247
295
|
border: none;
|
|
248
296
|
margin: 8px 0 12px 0 !important;
|
|
297
|
+
-webkit-hyphens: auto;
|
|
298
|
+
-ms-hyphens: auto;
|
|
299
|
+
hyphens: auto;
|
|
300
|
+
word-break: break-word;
|
|
249
301
|
padding: 0 !important;
|
|
250
302
|
}
|
|
251
303
|
|
|
@@ -12,16 +12,25 @@ export class HyVideo {
|
|
|
12
12
|
this.headerstyle = 'default';
|
|
13
13
|
this.showMoreLabel = 'Show more';
|
|
14
14
|
this.showLessLabel = 'Show less';
|
|
15
|
+
this.simplePlayButton = false;
|
|
16
|
+
this.styleList = false;
|
|
15
17
|
this.descCollapsed = false;
|
|
16
18
|
this.renderPreviewWithLink = () => {
|
|
17
19
|
return this.linkToVideo ? (h("a", { title: this.videoTitle, href: this.linkToVideo, class: "hy-video__link-to-video" },
|
|
18
20
|
h("img", { loading: this.disableLazy ? 'eager' : 'lazy', class: "hy-video__preview-image", src: this.previewImageUrl, alt: this.videoTitle }))) : (h("img", { loading: this.disableLazy ? 'eager' : 'lazy', class: "hy-video__preview-image", src: this.previewImageUrl, alt: this.videoTitle }));
|
|
19
21
|
};
|
|
20
22
|
this.renderPlayButton = () => {
|
|
21
|
-
|
|
22
|
-
h("
|
|
23
|
-
h("
|
|
24
|
-
|
|
23
|
+
if (this.simplePlayButton) {
|
|
24
|
+
return (h("span", { class: "hy-video__play__simple" },
|
|
25
|
+
h("button", { type: "button" },
|
|
26
|
+
h("hy-icon", { icon: 'hy-icon-video', class: 'hy-video__play-icon', size: 20 }))));
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
return (h("span", { class: "hy-video__play" },
|
|
30
|
+
h("button", { type: "button" },
|
|
31
|
+
h("hy-icon", { icon: 'hy-icon-video', class: 'hy-video__play-icon', size: 20 }),
|
|
32
|
+
h("span", { class: "hy-video__button-label" }, this.playButtonLabel))));
|
|
33
|
+
}
|
|
25
34
|
};
|
|
26
35
|
this.truncate = (str, n) => {
|
|
27
36
|
return str.length > n ? str.substr(0, n - 1) + '...' : str;
|
|
@@ -42,41 +51,79 @@ export class HyVideo {
|
|
|
42
51
|
const classAttributes = [
|
|
43
52
|
'hy-video',
|
|
44
53
|
this.horizontal ? 'hy-video--horizontal' : '',
|
|
45
|
-
`hy-video__${this.headerstyle}
|
|
54
|
+
!this.styleList ? `hy-video__${this.headerstyle}` : '',
|
|
55
|
+
this.styleList ? 'hy-video--list' : '',
|
|
46
56
|
].join(' ');
|
|
47
57
|
const maxChars = 255;
|
|
48
58
|
const charCount = this.videoDescription ? this.videoDescription.match(/\S/g).length : 0;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
this.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
this.
|
|
62
|
-
|
|
63
|
-
h("
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
h("
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
h("
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
59
|
+
if (this.linkToVideo && this.styleList) {
|
|
60
|
+
return [
|
|
61
|
+
h("a", { href: this.linkToVideo, class: classAttributes },
|
|
62
|
+
this.videoTitle && !this.horizontal && !this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h2 }, this.videoTitle)),
|
|
63
|
+
h("div", { class: "hy-video__video-container" },
|
|
64
|
+
this.previewImageUrl ? (h("div", null,
|
|
65
|
+
this.renderPreviewWithLink(),
|
|
66
|
+
h("slot", { name: "video" }))) : (h("slot", { name: "video" })),
|
|
67
|
+
this.playButtonVisible && this.renderPlayButton()),
|
|
68
|
+
h("div", { class: "hy-video__meta" },
|
|
69
|
+
(this.videoTitle && this.horizontal) ||
|
|
70
|
+
(this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h2 }, this.videoTitle))),
|
|
71
|
+
this.contextLabelVisible && h("span", { class: "hy-video__label" }, this.contextLabel),
|
|
72
|
+
(this.duration || this.views || this.dateAdded) && (h("div", { class: "hy-video__meta__details" },
|
|
73
|
+
this.duration && (h("div", { class: "hy-video__meta__details--item" },
|
|
74
|
+
h("span", { class: "hy-video__meta__label" }, this.durationLabel),
|
|
75
|
+
h("span", { class: "hy-video__meta__content" }, this.duration))),
|
|
76
|
+
this.views && (h("div", { class: "hy-video__meta__details--item" },
|
|
77
|
+
h("span", { class: "hy-video__meta__label" }, this.viewsLabel),
|
|
78
|
+
h("span", { class: "hy-video__meta__content" }, this.views))),
|
|
79
|
+
this.dateAdded && (h("div", { class: "hy-video__meta__details--item" },
|
|
80
|
+
h("span", { class: "hy-video__meta__label" }, this.dateAddedLabel),
|
|
81
|
+
h("span", { class: "hy-video__meta__content" }, this.dateAdded))))),
|
|
82
|
+
this.videoDescription && (h("div", { class: "hy-video__meta__description", "aria-expanded": this.descCollapsed ? 'false' : 'true' },
|
|
83
|
+
h("div", { class: "hy-video__meta__description__content" }, this.descCollapsed ? this.truncate(this.videoDescription, 255) : this.videoDescription),
|
|
84
|
+
charCount > maxChars && (h("span", { class: "hy-video__meta__description__more-button", role: "button", tabindex: "0", "aria-expanded": this.descCollapsed ? 'false' : 'true', onClick: () => (this.descCollapsed = !this.descCollapsed), onKeyDown: (e) => {
|
|
85
|
+
if (e.key != ' ')
|
|
86
|
+
return;
|
|
87
|
+
e.preventDefault();
|
|
88
|
+
this.descCollapsed = !this.descCollapsed;
|
|
89
|
+
} }, this.descCollapsed ? this.showMoreLabel : this.showLessLabel)))))),
|
|
90
|
+
h("hy-box", { mb: "1.75, 1.75, 2, 2.5" }),
|
|
91
|
+
];
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
return [
|
|
95
|
+
h("div", { class: classAttributes },
|
|
96
|
+
this.videoTitle && !this.horizontal && !this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h2 }, this.videoTitle)),
|
|
97
|
+
h("div", { class: "hy-video__video-container" },
|
|
98
|
+
this.previewImageUrl ? (h("div", null,
|
|
99
|
+
this.renderPreviewWithLink(),
|
|
100
|
+
h("slot", { name: "video" }))) : (h("slot", { name: "video" })),
|
|
101
|
+
this.playButtonVisible && this.renderPlayButton()),
|
|
102
|
+
h("div", { class: "hy-video__meta" },
|
|
103
|
+
(this.videoTitle && this.horizontal) ||
|
|
104
|
+
(this.styleList && (h("hy-heading", { class: "hy-video__meta__title", heading: HeadingVarians.h2 }, this.videoTitle))),
|
|
105
|
+
this.contextLabelVisible && h("span", { class: "hy-video__label" }, this.contextLabel),
|
|
106
|
+
(this.duration || this.views || this.dateAdded) && (h("div", { class: "hy-video__meta__details" },
|
|
107
|
+
this.duration && (h("div", { class: "hy-video__meta__details--item" },
|
|
108
|
+
h("span", { class: "hy-video__meta__label" }, this.durationLabel),
|
|
109
|
+
h("span", { class: "hy-video__meta__content" }, this.duration))),
|
|
110
|
+
this.views && (h("div", { class: "hy-video__meta__details--item" },
|
|
111
|
+
h("span", { class: "hy-video__meta__label" }, this.viewsLabel),
|
|
112
|
+
h("span", { class: "hy-video__meta__content" }, this.views))),
|
|
113
|
+
this.dateAdded && (h("div", { class: "hy-video__meta__details--item" },
|
|
114
|
+
h("span", { class: "hy-video__meta__label" }, this.dateAddedLabel),
|
|
115
|
+
h("span", { class: "hy-video__meta__content" }, this.dateAdded))))),
|
|
116
|
+
this.videoDescription && (h("div", { class: "hy-video__meta__description", "aria-expanded": this.descCollapsed ? 'false' : 'true' },
|
|
117
|
+
h("div", { class: "hy-video__meta__description__content" }, this.descCollapsed ? this.truncate(this.videoDescription, 255) : this.videoDescription),
|
|
118
|
+
charCount > maxChars && (h("span", { class: "hy-video__meta__description__more-button", role: "button", tabindex: "0", "aria-expanded": this.descCollapsed ? 'false' : 'true', onClick: () => (this.descCollapsed = !this.descCollapsed), onKeyDown: (e) => {
|
|
119
|
+
if (e.key != ' ')
|
|
120
|
+
return;
|
|
121
|
+
e.preventDefault();
|
|
122
|
+
this.descCollapsed = !this.descCollapsed;
|
|
123
|
+
} }, this.descCollapsed ? this.showMoreLabel : this.showLessLabel)))))),
|
|
124
|
+
h("hy-box", { mb: "1.75, 1.75, 2, 2.5" }),
|
|
125
|
+
];
|
|
126
|
+
}
|
|
80
127
|
}
|
|
81
128
|
static get is() { return "hy-video"; }
|
|
82
129
|
static get originalStyleUrls() { return {
|
|
@@ -415,6 +462,42 @@ export class HyVideo {
|
|
|
415
462
|
"attribute": "show-less-label",
|
|
416
463
|
"reflect": false,
|
|
417
464
|
"defaultValue": "'Show less'"
|
|
465
|
+
},
|
|
466
|
+
"simplePlayButton": {
|
|
467
|
+
"type": "boolean",
|
|
468
|
+
"mutable": false,
|
|
469
|
+
"complexType": {
|
|
470
|
+
"original": "boolean",
|
|
471
|
+
"resolved": "boolean",
|
|
472
|
+
"references": {}
|
|
473
|
+
},
|
|
474
|
+
"required": false,
|
|
475
|
+
"optional": false,
|
|
476
|
+
"docs": {
|
|
477
|
+
"tags": [],
|
|
478
|
+
"text": ""
|
|
479
|
+
},
|
|
480
|
+
"attribute": "simple-play-button",
|
|
481
|
+
"reflect": false,
|
|
482
|
+
"defaultValue": "false"
|
|
483
|
+
},
|
|
484
|
+
"styleList": {
|
|
485
|
+
"type": "boolean",
|
|
486
|
+
"mutable": false,
|
|
487
|
+
"complexType": {
|
|
488
|
+
"original": "boolean",
|
|
489
|
+
"resolved": "boolean",
|
|
490
|
+
"references": {}
|
|
491
|
+
},
|
|
492
|
+
"required": false,
|
|
493
|
+
"optional": false,
|
|
494
|
+
"docs": {
|
|
495
|
+
"tags": [],
|
|
496
|
+
"text": ""
|
|
497
|
+
},
|
|
498
|
+
"attribute": "style-list",
|
|
499
|
+
"reflect": false,
|
|
500
|
+
"defaultValue": "false"
|
|
418
501
|
}
|
|
419
502
|
}; }
|
|
420
503
|
static get states() { return {
|
package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js
CHANGED
|
@@ -2,26 +2,29 @@ import { Component, Host, h, Prop } from '@stencil/core';
|
|
|
2
2
|
export class PersonProfile {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.col = 'col-2';
|
|
5
|
+
this.isResearch = false;
|
|
5
6
|
}
|
|
6
7
|
render() {
|
|
7
8
|
return (h(Host, null,
|
|
8
|
-
h("ul", { class: `hy-person-profile-listing ${this.col} ${this.inline ? 'is-inline' : ''} ${this.withoutIcons ? 'without-icons' : ''} ${this.textSpacingTight ? 'text-tight' : ''}` },
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
h("
|
|
13
|
-
|
|
9
|
+
h("ul", { class: `hy-person-profile-listing ${this.col} ${this.inline ? 'is-inline' : ''} ${this.withoutIcons ? 'without-icons' : ''} ${this.textSpacingTight ? 'text-tight' : ''}` },
|
|
10
|
+
this.isResearch && h("h3", { class: "hy-person-profile-listing__label" }, this.items[0].label),
|
|
11
|
+
this.items.map(({ label, items }) => {
|
|
12
|
+
if (items.filter(({ label }) => label !== '').length > 0) {
|
|
13
|
+
return (h("li", null,
|
|
14
|
+
!this.isResearch && h("h3", { class: "hy-person-profile-listing__label" }, label),
|
|
15
|
+
h("ul", { class: "hy-person-profile-listing__items" }, items.map(({ label, url }, index) => {
|
|
16
|
+
if (url) {
|
|
17
|
+
return (h("li", { class: "hy-person-profile-listing__item" },
|
|
18
|
+
h("a", { href: url },
|
|
19
|
+
index !== 0 && h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }),
|
|
20
|
+
h("span", null, label))));
|
|
21
|
+
}
|
|
14
22
|
return (h("li", { class: "hy-person-profile-listing__item" },
|
|
15
|
-
h("
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
index !== 0 && h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }),
|
|
21
|
-
h("span", null, label)));
|
|
22
|
-
}))));
|
|
23
|
-
}
|
|
24
|
-
}))));
|
|
23
|
+
index !== 0 && h("hy-icon", { icon: 'hy-icon-caret-right', size: 10 }),
|
|
24
|
+
h("span", null, label)));
|
|
25
|
+
}))));
|
|
26
|
+
}
|
|
27
|
+
}))));
|
|
25
28
|
}
|
|
26
29
|
static get is() { return "hy-person-profile-listing"; }
|
|
27
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -119,6 +122,24 @@ export class PersonProfile {
|
|
|
119
122
|
},
|
|
120
123
|
"attribute": "text-spacing-tight",
|
|
121
124
|
"reflect": false
|
|
125
|
+
},
|
|
126
|
+
"isResearch": {
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "boolean",
|
|
131
|
+
"resolved": "boolean",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": ""
|
|
139
|
+
},
|
|
140
|
+
"attribute": "is-research",
|
|
141
|
+
"reflect": false,
|
|
142
|
+
"defaultValue": "false"
|
|
122
143
|
}
|
|
123
144
|
}; }
|
|
124
145
|
}
|
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
border-top: 1px solid var(--grayscale-medium);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
.hy-profile-page__section__research_title > h2,
|
|
104
105
|
.hy-profile-page__section > h2 {
|
|
105
106
|
font-size: 1.625rem;
|
|
106
107
|
line-height: 32px;
|
|
@@ -112,13 +113,39 @@
|
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
@media (min-width: 48rem) {
|
|
115
|
-
.hy-profile-
|
|
116
|
+
.hy-profile-page__section__research_title > h2,
|
|
117
|
+
.hy-profile-page__section > h2 {
|
|
116
118
|
font-size: 2.125rem;
|
|
117
119
|
line-height: 40px;
|
|
118
120
|
letter-spacing: -0.68px;
|
|
119
121
|
}
|
|
120
122
|
}
|
|
121
123
|
|
|
124
|
+
.hy-profile-page__section__research_title {
|
|
125
|
+
display: block;
|
|
126
|
+
-webkit-box-align: center;
|
|
127
|
+
-ms-flex-align: center;
|
|
128
|
+
align-items: center;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@media (min-width: 48rem) {
|
|
132
|
+
.hy-profile-page__section__research_title {
|
|
133
|
+
display: -webkit-box;
|
|
134
|
+
display: -ms-flexbox;
|
|
135
|
+
display: flex;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.hy-profile-page__section__research_title > hy-cta-button {
|
|
140
|
+
margin: 0 0 32px 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@media (min-width: 48rem) {
|
|
144
|
+
.hy-profile-page__section__research_title > hy-cta-button {
|
|
145
|
+
margin: 0 0 32px auto;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
122
149
|
.hy-profile-page__organization-units-section {
|
|
123
150
|
font-family: var(--main-font-family);
|
|
124
151
|
padding: 0;
|
|
@@ -153,6 +180,15 @@
|
|
|
153
180
|
}
|
|
154
181
|
}
|
|
155
182
|
|
|
183
|
+
.hy-profile-page__organization-units-section a {
|
|
184
|
+
text-decoration: none;
|
|
185
|
+
color: var(--link-blue);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.hy-profile-page__organization-units-section a:hover {
|
|
189
|
+
text-decoration: underline;
|
|
190
|
+
}
|
|
191
|
+
|
|
156
192
|
.hy-profile-page__organizations,
|
|
157
193
|
.hy-profile-page__organizations ul,
|
|
158
194
|
.hy-profile-page__research-organizations,
|
|
@@ -350,6 +386,7 @@
|
|
|
350
386
|
letter-spacing: -0.32px;
|
|
351
387
|
color: var(--grayscale-black);
|
|
352
388
|
margin: 0 0 4px;
|
|
389
|
+
text-transform: capitalize;
|
|
353
390
|
}
|
|
354
391
|
|
|
355
392
|
@media (min-width: 60rem) {
|
|
@@ -447,6 +484,14 @@
|
|
|
447
484
|
margin-top: 32px;
|
|
448
485
|
}
|
|
449
486
|
|
|
487
|
+
.hy-profile-page__loader.visible {
|
|
488
|
+
display: block;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.hy-profile-page__loader.hidden {
|
|
492
|
+
display: none;
|
|
493
|
+
}
|
|
494
|
+
|
|
450
495
|
@media (min-width: 48rem) {
|
|
451
496
|
.hy-profile-page__loader {
|
|
452
497
|
margin-top: 44px;
|
|
@@ -503,4 +548,9 @@
|
|
|
503
548
|
-webkit-transform: rotate(360deg);
|
|
504
549
|
transform: rotate(360deg);
|
|
505
550
|
}
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.hidden {
|
|
554
|
+
display: none;
|
|
555
|
+
visibility: hidden;
|
|
506
556
|
}
|