@dubai-design-system/components-js 5.3.0 → 5.3.2
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/CHANGELOG.md +32 -0
- package/MIGRATION.md +16 -1
- package/dist/cjs/dda-accordion.cjs.entry.js +3 -3
- package/dist/cjs/dda-alert.cjs.entry.js +3 -3
- package/dist/cjs/dda-attach-file.cjs.entry.js +3 -3
- package/dist/cjs/dda-avatar.cjs.entry.js +7 -7
- package/dist/cjs/dda-banner-card.cjs.entry.js +5 -5
- package/dist/cjs/dda-banner.cjs.entry.js +3 -3
- package/dist/cjs/dda-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/dda-button.cjs.entry.js +3 -3
- package/dist/cjs/dda-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/dda-chip.cjs.entry.js +3 -3
- package/dist/cjs/dda-credit-card.cjs.entry.js +3 -3
- package/dist/cjs/dda-creditcard-field.cjs.entry.js +3 -3
- package/dist/cjs/dda-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/dda-footer.cjs.entry.js +3 -3
- package/dist/cjs/dda-header.cjs.entry.js +33 -6
- package/dist/cjs/dda-home-banner.cjs.entry.js +9 -5
- package/dist/cjs/dda-home-carousel.cjs.entry.js +2 -2
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +3 -3
- package/dist/cjs/dda-input.cjs.entry.js +3 -3
- package/dist/cjs/dda-link-button_2.cjs.entry.js +6 -6
- package/dist/cjs/dda-number-field.cjs.entry.js +3 -3
- package/dist/cjs/dda-pagination.cjs.entry.js +3 -3
- package/dist/cjs/dda-phonefield.cjs.entry.js +3 -3
- package/dist/cjs/dda-progressbar.cjs.entry.js +3 -3
- package/dist/cjs/dda-range-slider.cjs.entry.js +3 -3
- package/dist/cjs/dda-scroll-icon.cjs.entry.js +32 -0
- package/dist/cjs/dda-search-input.cjs.entry.js +3 -3
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js +3 -3
- package/dist/cjs/dda-select.cjs.entry.js +83 -12
- package/dist/cjs/dda-sticky-footer.cjs.entry.js +4 -4
- package/dist/cjs/dda-tabs.cjs.entry.js +3 -3
- package/dist/cjs/dda-textarea.cjs.entry.js +4 -4
- package/dist/cjs/dda-toggle.cjs.entry.js +3 -3
- package/dist/cjs/dda-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/dda-ui-card.cjs.entry.js +2 -2
- package/dist/cjs/dda-vertical-stepper.cjs.entry.js +2 -2
- package/dist/cjs/dda.cjs.js +2 -2
- package/dist/cjs/{index-DD8fdSxb.js → index-dmQf0qrn.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/dda-accordion/dda-accordion.js +1 -1
- package/dist/collection/components/dda-alert/dda-alert.js +1 -1
- package/dist/collection/components/dda-attach-file/dda-attach-file.js +1 -1
- package/dist/collection/components/dda-avatar/dda-avatar.js +5 -5
- package/dist/collection/components/dda-banner/dda-banner.js +1 -1
- package/dist/collection/components/dda-banner-card/dda-banner-card.js +3 -3
- package/dist/collection/components/dda-button/dda-button.js +1 -1
- package/dist/collection/components/dda-checkbox/dda-checkbox.js +1 -1
- package/dist/collection/components/dda-chip/dda-chip.js +1 -1
- package/dist/collection/components/dda-credit-card/dda-credit-card.js +1 -1
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +1 -1
- package/dist/collection/components/dda-dropdown/dda-dropdown.js +1 -1
- package/dist/collection/components/dda-footer/dda-footer.js +1 -1
- package/dist/collection/components/dda-header/dda-header.js +32 -5
- package/dist/collection/components/dda-home-banner/dda-home-banner.js +46 -2
- package/dist/collection/components/dda-home-banner/dda-home-banner.stories.js +6 -0
- package/dist/collection/components/dda-home-banner/home-banner.css +10 -0
- package/dist/collection/components/dda-input/dda-input.js +1 -1
- package/dist/collection/components/dda-link-button/dda-link-button.js +2 -2
- package/dist/collection/components/dda-number-field/dda-number-field.js +1 -1
- package/dist/collection/components/dda-pagination/dda-pagination.js +1 -1
- package/dist/collection/components/dda-phonefield/dda-phonefield.js +1 -1
- package/dist/collection/components/dda-progressbar/dda-progressbar.js +1 -1
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +31 -6
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +1 -1
- package/dist/collection/components/dda-range-slider/dda-range-slider.js +2 -2
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.css +72 -0
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.js +120 -0
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.stories.js +17 -0
- package/dist/collection/components/dda-search-input/dda-search-input.js +1 -1
- package/dist/collection/components/dda-select/dda-select.js +209 -18
- package/dist/collection/components/dda-select/dda-select.stories.js +68 -10
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +2 -2
- package/dist/collection/components/dda-tabs/dda-tabs.js +1 -1
- package/dist/collection/components/dda-textarea/dda-textarea.js +2 -2
- package/dist/collection/components/dda-toggle/dda-toggle.js +1 -1
- package/dist/collection/components/dda-tooltip/dda-tooltip.js +1 -1
- package/dist/collection/components/dda-ui-card/dda-ui-card.js +1 -1
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +1 -1
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +1 -1
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +1 -1
- package/dist/collection/global/global.css +31 -6
- package/dist/components/dda-accordion.js +1 -1
- package/dist/components/dda-alert.js +1 -1
- package/dist/components/dda-attach-file.js +1 -1
- package/dist/components/dda-avatar.js +1 -1
- package/dist/components/dda-banner-card.js +1 -1
- package/dist/components/dda-banner.js +1 -1
- package/dist/components/dda-breadcrumb.js +1 -1
- package/dist/components/dda-button.js +1 -1
- package/dist/components/dda-checkbox.js +1 -1
- package/dist/components/dda-chip.js +1 -1
- package/dist/components/dda-credit-card.js +1 -1
- package/dist/components/dda-creditcard-field.js +1 -1
- package/dist/components/dda-dropdown.js +1 -1
- package/dist/components/dda-footer.js +1 -1
- package/dist/components/dda-header.js +1 -1
- package/dist/components/dda-home-banner.js +1 -1
- package/dist/components/dda-home-carousel.js +1 -1
- package/dist/components/dda-horizontal-stepper.js +1 -1
- package/dist/components/dda-input.js +1 -1
- package/dist/components/dda-link-button.js +1 -1
- package/dist/components/dda-number-field.js +1 -1
- package/dist/components/dda-pagination.js +1 -1
- package/dist/components/dda-phonefield.js +1 -1
- package/dist/components/dda-progressbar.js +1 -1
- package/dist/components/dda-radiobutton.js +1 -1
- package/dist/components/dda-range-slider.js +1 -1
- package/dist/components/dda-scroll-icon.d.ts +11 -0
- package/dist/components/dda-scroll-icon.js +1 -0
- package/dist/components/dda-search-input.js +1 -1
- package/dist/components/dda-segmented-tabs.js +1 -1
- package/dist/components/dda-select.js +1 -1
- package/dist/components/dda-sticky-footer.js +1 -1
- package/dist/components/dda-tabs.js +1 -1
- package/dist/components/dda-textarea.js +1 -1
- package/dist/components/dda-toggle.js +1 -1
- package/dist/components/dda-tooltip.js +1 -1
- package/dist/components/dda-ui-card.js +1 -1
- package/dist/components/dda-vertical-stepper.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-D3e_hki9.js → p-515Iolds.js} +1 -1
- package/dist/components/p-BoRFp_3l.js +1 -0
- package/dist/components/{p-BCtBptNq.js → p-BsuxUhYp.js} +1 -1
- package/dist/components/{p-BZzFtOHg.js → p-CdwbDBBx.js} +1 -1
- package/dist/components/{p-DCwxgkNU.js → p-D6rCOerj.js} +1 -1
- package/dist/components/{p-BP6BxgDV.js → p-DCJtRqay.js} +1 -1
- package/dist/components/{p-R9p4F9Pi.js → p-DW6Q9LDq.js} +1 -1
- package/dist/dda/dda.css +53 -1
- package/dist/dda/dda.esm.js +1 -1
- package/dist/dda/{p-06188c4c.entry.js → p-024607f9.entry.js} +1 -1
- package/dist/dda/{p-faed59dd.entry.js → p-08e196c8.entry.js} +1 -1
- package/dist/dda/p-11264464.entry.js +1 -0
- package/dist/dda/p-1ae9ad19.entry.js +1 -0
- package/dist/dda/{p-10c5a752.entry.js → p-1d7eadd0.entry.js} +1 -1
- package/dist/dda/p-29d227c2.entry.js +1 -0
- package/dist/dda/{p-95100f73.entry.js → p-3220de7f.entry.js} +1 -1
- package/dist/dda/{p-4e717a2e.entry.js → p-3a130316.entry.js} +1 -1
- package/dist/dda/{p-8852dafb.entry.js → p-4d16c67a.entry.js} +1 -1
- package/dist/dda/{p-0480f0a9.entry.js → p-55033258.entry.js} +1 -1
- package/dist/dda/{p-7ffce954.entry.js → p-5fe4825e.entry.js} +1 -1
- package/dist/dda/{p-6d4f5672.entry.js → p-60a61479.entry.js} +1 -1
- package/dist/dda/{p-47322b02.entry.js → p-67ce47e5.entry.js} +1 -1
- package/dist/dda/{p-8108c4ed.entry.js → p-6cb8fead.entry.js} +1 -1
- package/dist/dda/{p-9ff8dc84.entry.js → p-6d1699c0.entry.js} +1 -1
- package/dist/dda/{p-b37f40a9.entry.js → p-6f2aebb1.entry.js} +1 -1
- package/dist/dda/{p-333205aa.entry.js → p-7df6794e.entry.js} +1 -1
- package/dist/dda/{p-9f01cb56.entry.js → p-854fd7d4.entry.js} +1 -1
- package/dist/dda/{p-8dbbc0ca.entry.js → p-8c1f5a63.entry.js} +1 -1
- package/dist/dda/{p-46df4933.entry.js → p-8d7f6793.entry.js} +1 -1
- package/dist/dda/{p-a8a1ee5d.entry.js → p-9062f90c.entry.js} +1 -1
- package/dist/dda/p-91f8c78c.entry.js +1 -0
- package/dist/dda/p-92d77aa7.entry.js +1 -0
- package/dist/dda/p-96080710.entry.js +1 -0
- package/dist/dda/{p-BnrqwGTj.js → p-BJtZ8AZm.js} +1 -1
- package/dist/dda/{p-76859bf8.entry.js → p-abae3f8a.entry.js} +1 -1
- package/dist/dda/{p-32a7c588.entry.js → p-af5d9ca7.entry.js} +1 -1
- package/dist/dda/{p-25058697.entry.js → p-b0eaaa1a.entry.js} +1 -1
- package/dist/dda/p-b29a3530.entry.js +1 -0
- package/dist/dda/{p-7c1abbd2.entry.js → p-b367e773.entry.js} +1 -1
- package/dist/dda/{p-f2efc121.entry.js → p-b3af8eec.entry.js} +1 -1
- package/dist/dda/{p-08e1892a.entry.js → p-b6c5c050.entry.js} +1 -1
- package/dist/dda/{p-169ba650.entry.js → p-bf1cd0fd.entry.js} +1 -1
- package/dist/dda/{p-6430c363.entry.js → p-c0f0d5e5.entry.js} +1 -1
- package/dist/dda/{p-fb00dec4.entry.js → p-cfffa1b4.entry.js} +1 -1
- package/dist/dda/{p-6db5588a.entry.js → p-e545b6ff.entry.js} +1 -1
- package/dist/dda/{p-9d9834ff.entry.js → p-f649bd48.entry.js} +1 -1
- package/dist/esm/dda-accordion.entry.js +3 -3
- package/dist/esm/dda-alert.entry.js +3 -3
- package/dist/esm/dda-attach-file.entry.js +3 -3
- package/dist/esm/dda-avatar.entry.js +7 -7
- package/dist/esm/dda-banner-card.entry.js +5 -5
- package/dist/esm/dda-banner.entry.js +3 -3
- package/dist/esm/dda-breadcrumb.entry.js +2 -2
- package/dist/esm/dda-button.entry.js +3 -3
- package/dist/esm/dda-checkbox.entry.js +3 -3
- package/dist/esm/dda-chip.entry.js +3 -3
- package/dist/esm/dda-credit-card.entry.js +3 -3
- package/dist/esm/dda-creditcard-field.entry.js +3 -3
- package/dist/esm/dda-dropdown.entry.js +3 -3
- package/dist/esm/dda-footer.entry.js +3 -3
- package/dist/esm/dda-header.entry.js +33 -6
- package/dist/esm/dda-home-banner.entry.js +9 -5
- package/dist/esm/dda-home-carousel.entry.js +2 -2
- package/dist/esm/dda-horizontal-stepper.entry.js +3 -3
- package/dist/esm/dda-input.entry.js +3 -3
- package/dist/esm/dda-link-button_2.entry.js +6 -6
- package/dist/esm/dda-number-field.entry.js +3 -3
- package/dist/esm/dda-pagination.entry.js +3 -3
- package/dist/esm/dda-phonefield.entry.js +3 -3
- package/dist/esm/dda-progressbar.entry.js +3 -3
- package/dist/esm/dda-range-slider.entry.js +3 -3
- package/dist/esm/dda-scroll-icon.entry.js +30 -0
- package/dist/esm/dda-search-input.entry.js +3 -3
- package/dist/esm/dda-segmented-tabs.entry.js +3 -3
- package/dist/esm/dda-select.entry.js +83 -12
- package/dist/esm/dda-sticky-footer.entry.js +4 -4
- package/dist/esm/dda-tabs.entry.js +3 -3
- package/dist/esm/dda-textarea.entry.js +4 -4
- package/dist/esm/dda-toggle.entry.js +3 -3
- package/dist/esm/dda-tooltip.entry.js +3 -3
- package/dist/esm/dda-ui-card.entry.js +2 -2
- package/dist/esm/dda-vertical-stepper.entry.js +2 -2
- package/dist/esm/dda.js +3 -3
- package/dist/esm/{index-BnrqwGTj.js → index-BJtZ8AZm.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/dda-header/dda-header.d.ts +2 -0
- package/dist/types/components/dda-home-banner/dda-home-banner.d.ts +4 -0
- package/dist/types/components/dda-home-banner/dda-home-banner.stories.d.ts +8 -0
- package/dist/types/components/dda-scroll-icon/dda-scroll-icon.d.ts +11 -0
- package/dist/types/components/dda-scroll-icon/dda-scroll-icon.stories.d.ts +20 -0
- package/dist/types/components/dda-select/dda-select.d.ts +40 -5
- package/dist/types/components/dda-select/dda-select.stories.d.ts +25 -0
- package/dist/types/components.d.ts +137 -10
- package/package.json +1 -1
- package/dist/dda/p-5840fad9.entry.js +0 -1
- package/dist/dda/p-5bb62ef7.entry.js +0 -1
- package/dist/dda/p-5e757702.entry.js +0 -1
- package/dist/dda/p-9a4e34d1.entry.js +0 -1
- package/dist/dda/p-9b234635.entry.js +0 -1
- package/dist/dda/p-eaffd32d.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-dmQf0qrn.js');
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await index.globalScripts();
|
|
8
|
-
return index.bootstrapLazy(JSON.parse("[[\"dda-header.cjs\",[[0,\"dda-header\",{\"firstLogoSrc\":[1,\"first-logo-src\"],\"firstLogoWhiteSrc\":[1,\"first-logo-white-src\"],\"firstLogoAlt\":[1,\"first-logo-alt\"],\"firstLogoHref\":[1,\"first-logo-href\"],\"secondLogoSrc\":[1,\"second-logo-src\"],\"secondLogoWhiteSrc\":[1,\"second-logo-white-src\"],\"secondLogoAlt\":[1,\"second-logo-alt\"],\"secondLogoHref\":[1,\"second-logo-href\"],\"loginLink\":[1,\"login-link\"],\"sideMenuItems\":[1,\"side-menu-items\"],\"sideMainMenuTitle\":[1,\"side-main-menu-title\"],\"sideOtherMenuTitle\":[1,\"side-other-menu-title\"],\"otherMenuItems\":[1,\"other-menu-items\"],\"hideOtherMenu\":[4,\"hide-other-menu\"],\"mobileMenuSearchId\":[1,\"mobile-menu-search-id\"],\"mobileMenuSearchUrl\":[1,\"mobile-menu-search-url\"],\"quickLinks\":[1,\"quick-links\"],\"readSpeakerLink\":[1,\"read-speaker-link\"],\"read_speaker_link\":[1],\"contrast_title\":[1],\"contrast_description\":[1],\"contrast_normal_text\":[1],\"contrast_noraml_text\":[1],\"contrast_color_blind_text\":[1],\"contrast_red_weakness_text\":[1],\"contrast_green_weakness_text\":[1],\"screen_reader_title\":[1],\"screen_reader_description\":[1],\"screen_reader_link_label\":[1],\"text_size_title\":[1],\"text_size_description\":[1],\"selected_contrast\":[1025],\"selected_text_size\":[1025],\"searchText\":[1,\"search-text\"],\"loginIcon\":[1,\"login-icon\"],\"loginText\":[1,\"login-text\"],\"hide_login\":[4],\"language_text\":[1],\"language_lang\":[1],\"accessibility_tooltip\":[1],\"accessibility_button_text\":[1],\"accessibility_button_id\":[1],\"accessibility_button_icon_family\":[1],\"accessibility_button_icon_name\":[1],\"search_tooltip\":[1],\"search_input_placeholder\":[1],\"language_tooltip\":[1],\"login_tooltip\":[1],\"usePredesignedAccessibilityMenu\":[4,\"use-predesigned-accessibility-menu\"],\"hamburger_menu_button_name\":[1],\"menu_button_label\":[1],\"accessibility_button_name\":[1],\"search_button_name\":[1],\"search_input_name\":[1],\"search_action\":[1],\"language_button_name\":[1],\"close_menu_button_name\":[1],\"close_accessibility_button_name\":[1],\"close_sidebar_button_name\":[1],\"toggle_accessibility_button_name\":[1],\"isMenuOpen\":[32],\"isSubMenuOpen\":[32],\"isSideSubMenuOpen\":[32],\"isAccessibiltyOpen\":[32],\"isSearchOpen\":[32],\"openMenus\":[32],\"activeMenuIndex\":[32],\"activeSubIndex\":[32],\"activeSubTop\":[32]},null,{\"isMenuOpen\":[{\"onMenuOpenChange\":0}]}]]],[\"dda-footer.cjs\",[[0,\"dda-footer\",{\"footerTitle\":[1,\"footer-title\"],\"heading_level\":[2],\"description\":[1],\"signUpButtonText\":[1,\"sign-up-button-text\"],\"loginButtonText\":[1,\"login-button-text\"],\"logoSrc\":[1,\"logo-src\"],\"logoAlt\":[1,\"logo-alt\"],\"copyrightText\":[1,\"copyright-text\"],\"logoDescription\":[1,\"logo-description\"],\"footerSections\":[1,\"footer-sections\"],\"socialIcons\":[1,\"social-icons\"]}]]],[\"dda-home-carousel.cjs\",[[0,\"dda-home-carousel\",{\"bannercardlist\":[1],\"items_in_view\":[2],\"aria_label\":[1],\"custom_class\":[1],\"component_mode\":[1]}]]],[\"dda-sticky-footer.cjs\",[[0,\"dda-sticky-footer\",{\"happinessIconHref\":[1,\"happiness-icon-href\"],\"happinessIconSrc\":[1,\"happiness-icon-src\"],\"happinessIconAlt\":[1,\"happiness-icon-alt\"],\"happinessIconTooltip\":[1,\"happiness-icon-tooltip\"],\"happinessIconId\":[1,\"happiness-icon-id\"],\"happinessIconSrcDark\":[1,\"happiness-icon-src-dark\"],\"accessibilityIconHref\":[1,\"accessibility-icon-href\"],\"accessibilityIconSrc\":[1,\"accessibility-icon-src\"],\"accessibilityIconAlt\":[1,\"accessibility-icon-alt\"],\"accessibilityIconTooltip\":[1,\"accessibility-icon-tooltip\"],\"accessibilityIconId\":[1,\"accessibility-icon-id\"],\"accessibilityIconSrcDark\":[1,\"accessibility-icon-src-dark\"],\"servicesIconHref\":[1,\"services-icon-href\"],\"servicesIconSrc\":[1,\"services-icon-src\"],\"servicesIconAlt\":[1,\"services-icon-alt\"],\"servicesIconTooltip\":[1,\"services-icon-tooltip\"],\"servicesIconText\":[1,\"services-icon-text\"],\"servicesIconId\":[1,\"services-icon-id\"],\"servicesIconSrcDark\":[1,\"services-icon-src-dark\"],\"firstLogoHref\":[1,\"first-logo-href\"],\"firstLogoSrc\":[1,\"first-logo-src\"],\"firstLogoAlt\":[1,\"first-logo-alt\"],\"firstLogoTooltip\":[1,\"first-logo-tooltip\"],\"secondLogoHref\":[1,\"second-logo-href\"],\"secondLogoSrc\":[1,\"second-logo-src\"],\"secondLogoAlt\":[1,\"second-logo-alt\"],\"secondLogoTooltip\":[1,\"second-logo-tooltip\"],\"thirdLogoHref\":[1,\"third-logo-href\"],\"thirdLogoSrc\":[1,\"third-logo-src\"],\"thirdLogoAlt\":[1,\"third-logo-alt\"],\"thirdLogoTooltip\":[1,\"third-logo-tooltip\"],\"middleLink\":[1,\"middle-link\"],\"locationButtonHref\":[1,\"location-button-href\"],\"locationLogoSrc\":[1,\"location-logo-src\"],\"locationButtonText\":[1,\"location-button-text\"],\"locationButtonIcon\":[1,\"location-button-icon\"],\"newsButtonHref\":[1,\"news-button-href\"],\"newsButtonSrc\":[1,\"news-button-src\"],\"newsButtonText\":[1,\"news-button-text\"],\"newsButtonIcon\":[1,\"news-button-icon\"],\"aiIconHref\":[1,\"ai-icon-href\"],\"aiIconSrc\":[1,\"ai-icon-src\"],\"aiIconAlt\":[1,\"ai-icon-alt\"],\"aiIconTooltip\":[1,\"ai-icon-tooltip\"],\"aiIconId\":[1,\"ai-icon-id\"],\"aiIconSrcDark\":[1,\"ai-icon-src-dark\"],\"chatIconHref\":[1,\"chat-icon-href\"],\"chatIconSrc\":[1,\"chat-icon-src\"],\"chatIconAlt\":[1,\"chat-icon-alt\"],\"chatIconTooltip\":[1,\"chat-icon-tooltip\"],\"chatIconId\":[1,\"chat-icon-id\"],\"chatIconSrcDark\":[1,\"chat-icon-src-dark\"],\"rightLink\":[1,\"right-link\"],\"dubaiaeIconHref\":[1,\"dubaiae-icon-href\"],\"dubaiaeIconId\":[1,\"dubaiae-icon-id\"],\"dubaiaeIconSrc\":[1,\"dubaiae-icon-src\"],\"dubaiaeIconSrcDark\":[1,\"dubaiae-icon-src-dark\"],\"dubaiaeIconSmallSrc\":[1,\"dubaiae-icon-small-src\"],\"dubaiaeIconAlt\":[1,\"dubaiae-icon-alt\"],\"dubaiaeIconTooltip\":[1,\"dubaiae-icon-tooltip\"],\"moreIcon\":[1,\"more-icon\"],\"moreIconFamily\":[1,\"more-icon-family\"],\"more_button_label\":[1],\"colorTheme\":[1,\"color-theme\"],\"aria_label\":[1],\"hideMiddleSection\":[4,\"hide-middle-section\"],\"isHidden\":[32],\"rightOpen\":[32],\"isMobile\":[32]}]]],[\"dda-accordion.cjs\",[[260,\"dda-accordion\",{\"design\":[1],\"header_text\":[1],\"body_description\":[1],\"custom_class\":[1],\"component_mode\":[1],\"accordion_icon\":[1],\"isOpen\":[32]}]]],[\"dda-alert.cjs\",[[0,\"dda-alert\",{\"type\":[1],\"variation\":[1],\"title_text\":[1],\"description\":[1],\"button_text\":[1],\"custom_class\":[1],\"component_mode\":[1],\"component_id\":[1],\"first_link\":[1],\"second_link\":[1],\"first_button\":[1],\"second_button\":[1],\"button_name\":[1],\"clickHandler\":[16],\"close_button_label\":[1],\"heading_level\":[2]}]]],[\"dda-attach-file.cjs\",[[0,\"dda-attach-file\",{\"label\":[1],\"helper_text\":[1],\"error_message\":[1],\"size\":[1],\"validation_type\":[1],\"input_type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1],\"button_aria_label\":[1],\"input_id\":[1],\"button_id\":[1],\"button_name\":[1],\"input_name\":[1],\"file\":[32]}]]],[\"dda-avatar.cjs\",[[0,\"dda-avatar\",{\"type\":[1],\"size\":[1],\"design\":[1],\"rounded\":[1],\"src\":[1],\"icon\":[1],\"text\":[1],\"notification_number\":[2],\"custom_class\":[1],\"selected\":[1025],\"options\":[1],\"component_mode\":[1],\"aria_label\":[1],\"button_id\":[1],\"button_name\":[1],\"isOpen\":[32]}]]],[\"dda-banner.cjs\",[[1,\"dda-banner\",{\"slides\":[1],\"slider_width\":[1],\"slider_height\":[1],\"aria_label\":[1],\"parsedSlides\":[32]}]]],[\"dda-breadcrumb.cjs\",[[0,\"dda-breadcrumb\",{\"design\":[1],\"separator\":[1],\"custom_class\":[1],\"component_mode\":[1],\"breadcrumbs\":[1]}]]],[\"dda-checkbox.cjs\",[[0,\"dda-checkbox\",{\"title_text\":[1],\"supporting\":[1],\"group_name\":[1],\"input_id\":[1],\"checked\":[4],\"checkbox_status\":[1],\"size\":[1],\"style_type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1]}]]],[\"dda-chip.cjs\",[[260,\"dda-chip\",{\"bg_color\":[1],\"rounded\":[1],\"icon\":[1],\"show_close_icon\":[4],\"close_button_label\":[1],\"size\":[1],\"custom_class\":[1],\"component_mode\":[1],\"clickHandler\":[16]}]]],[\"dda-credit-card.cjs\",[[0,\"dda-credit-card\",{\"balance\":[1],\"name\":[1],\"card_number\":[1],\"card_type\":[1],\"design\":[1],\"custom_class\":[1],\"component_mode\":[1]}]]],[\"dda-creditcard-field.cjs\",[[0,\"dda-creditcard-field\",{\"placeholder\":[1],\"label\":[1],\"value\":[1025],\"card_icon\":[1],\"error_message\":[1],\"validation_type\":[1],\"size\":[1],\"input_type\":[1],\"helper_text\":[1],\"disabled\":[4],\"custom_class\":[1],\"restrict_input\":[4],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"input_name\":[1],\"autocomplete\":[1],\"formattedValue\":[32]}]]],[\"dda-dropdown.cjs\",[[0,\"dda-dropdown\",{\"label\":[1],\"options\":[1],\"selected\":[1025],\"disabled\":[4],\"error\":[1],\"helper_text\":[1],\"type\":[1],\"size\":[1],\"icon_mode\":[4],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"aria_label\":[1],\"arrow_button_name\":[1],\"dropdown_button_name\":[1],\"toggle_button_label\":[1],\"isopen\":[32]},[[0,\"click\",\"onHostClick\"]]]]],[\"dda-home-banner.cjs\",[[260,\"dda-home-banner\",{\"autoplay\":[4],\"interval\":[2],\"aria_label\":[1],\"previous_button_label\":[1],\"next_button_label\":[1],\"pause_button_label\":[1],\"play_button_label\":[1],\"slide_button_label\":[1],\"slide_status_label\":[1],\"currentSlide\":[32],\"slides\":[32],\"isPaused\":[32],\"reducedMotion\":[32]},null,{\"autoplay\":[{\"autoplayChanged\":0}],\"interval\":[{\"autoplayChanged\":0}]}]]],[\"dda-horizontal-stepper.cjs\",[[0,\"dda-horizontal-stepper\",{\"steps\":[1],\"current_step\":[2],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]},null,{\"steps\":[{\"parseSteps\":0}]}]]],[\"dda-input.cjs\",[[0,\"dda-input\",{\"label\":[1],\"placeholder\":[1],\"value\":[1],\"type\":[1],\"helper_text\":[1],\"error_message\":[1],\"validation_type\":[1],\"size\":[1],\"input_status\":[1],\"custom_class\":[1],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"input_name\":[1],\"autocomplete\":[1]}]]],[\"dda-number-field.cjs\",[[0,\"dda-number-field\",{\"placeholder\":[1],\"label\":[1],\"value\":[1],\"helper_text\":[1],\"error_message\":[1],\"validation_type\":[1],\"size\":[1],\"input_status\":[1],\"currencies\":[1],\"selected_currency\":[1],\"custom_class\":[1],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"input_name\":[1],\"toggle_button_name\":[1],\"currency_button_name\":[1],\"toggle_button_label\":[1],\"is_focused\":[32],\"isCurrencyDropdownOpen\":[32]}]]],[\"dda-pagination.cjs\",[[0,\"dda-pagination\",{\"total_pages\":[1026],\"current_page\":[1026],\"type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"simple_slider_prev_button\":[1],\"simple_slider_next_button\":[1],\"buttons_prev_button\":[1],\"buttons_next_button\":[1],\"text_prev_button\":[1],\"text_next_button\":[1],\"text_pages_prev_button\":[1],\"text_pages_next_button\":[1],\"button_text_prev_button\":[1],\"button_text_next_button\":[1],\"buttons_pages_prev_button\":[1],\"buttons_pages_next_button\":[1],\"previous_button_label\":[1],\"next_button_label\":[1]},null,{\"total_pages\":[{\"validateTotalPages\":0}],\"current_page\":[{\"validateCurrentPage\":0}]}]]],[\"dda-phonefield.cjs\",[[0,\"dda-phonefield\",{\"label\":[1],\"placeholder\":[1],\"helper_text\":[1],\"validation_type\":[1],\"error_message\":[1],\"disabled\":[4],\"size\":[1],\"custom_class\":[1],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"button_id\":[1],\"button_aria_label\":[1],\"toggle_button_name\":[1],\"country_select_button_name\":[1],\"toggle_button_label\":[1],\"phone_input_name\":[1],\"autocomplete\":[1],\"country_code\":[32],\"country_flag\":[32],\"phone_number\":[32],\"is_focused\":[32],\"dropdown_open\":[32],\"countries\":[32]}]]],[\"dda-progressbar.cjs\",[[0,\"dda-progressbar\",{\"progress\":[2],\"tooltip\":[4],\"tooltip_position\":[1],\"show_percentage_text\":[4],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1]}]]],[\"dda-range-slider.cjs\",[[0,\"dda-range-slider\",{\"min\":[2],\"max\":[2],\"step\":[2],\"initial_min\":[2],\"initial_max\":[2],\"size\":[1],\"tooltip_position\":[1],\"custom_class\":[1],\"component_mode\":[1],\"left_input_id\":[1],\"right_input_id\":[1],\"left_aria_label\":[1],\"right_aria_label\":[1],\"left_input_name\":[1],\"right_input_name\":[1],\"min_value\":[32],\"max_value\":[32]}]]],[\"dda-search-input.cjs\",[[0,\"dda-search-input\",{\"placeholder\":[1],\"label\":[1],\"size\":[1],\"error_message\":[1],\"show_button\":[4],\"helper_text\":[1],\"input_status\":[1],\"has_error\":[4],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"input_id\":[1],\"aria_label\":[1],\"button_aria_label\":[1],\"search_input_name\":[1],\"close_button_name\":[1],\"clear_button_label\":[1],\"search_button_name\":[1]}]]],[\"dda-segmented-tabs.cjs\",[[0,\"dda-segmented-tabs\",{\"items\":[1],\"radius_type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"button_name\":[1],\"aria_label\":[1],\"selected_index\":[2],\"icon_labels\":[1],\"active_index\":[32]},null,{\"items\":[{\"itemsChanged\":0}],\"selected_index\":[{\"selectedIndexChanged\":0}]}]]],[\"dda-select.cjs\",[[0,\"dda-select\",{\"label\":[1],\"options\":[1],\"selected\":[1025],\"disabled\":[4],\"error\":[1],\"error_message\":[1],\"helper_text\":[1],\"size\":[1],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1],\"button_id\":[1],\"toggle_button_name\":[1],\"option_select_button_name\":[1],\"is_open\":[32]},[[0,\"click\",\"onHostClick\"]]]]],[\"dda-tabs.cjs\",[[0,\"dda-tabs\",{\"type\":[1],\"hover_style\":[1],\"border_bottom\":[4],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"aria_label\":[1],\"tab_texts\":[1],\"tab_icons\":[1],\"button_name\":[1],\"active_tab\":[32]}]]],[\"dda-textarea.cjs\",[[0,\"dda-textarea\",{\"placeholder\":[1],\"label\":[1],\"value\":[1],\"error_message\":[1],\"validation_type\":[1],\"input_status\":[1],\"helper_text\":[1],\"custom_class\":[1],\"enable_rich_editor\":[4],\"max_characters\":[2],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"textarea_name\":[1],\"characterCount\":[32]}]]],[\"dda-toggle.cjs\",[[0,\"dda-toggle\",{\"checked\":[4],\"size\":[1],\"custom_class\":[1],\"group_name\":[1],\"input_id\":[1],\"component_mode\":[1],\"aria_label\":[1],\"title_text\":[1],\"supporting\":[1]}]]],[\"dda-ui-card.cjs\",[[260,\"dda-ui-card\",{\"type\":[1],\"icon\":[1],\"image\":[1],\"maintitle\":[1],\"subtitle\":[1],\"link\":[1],\"linktext\":[1],\"linkicon\":[1],\"heading_level\":[2]}]]],[\"dda-vertical-stepper.cjs\",[[0,\"dda-vertical-stepper\",{\"steps\":[1],\"current_step\":[2],\"current_Step\":[2,\"current_-step\"],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]},null,{\"steps\":[{\"parseSteps\":0}]}]]],[\"dda-banner-card.cjs\",[[0,\"dda-banner-card\",{\"banner_card_href\":[1],\"banner_card_url\":[1],\"banner_card_id\":[1],\"image_src\":[1],\"image_alt\":[1],\"banner_card_title\":[1],\"banner_card_description\":[1],\"banner_card_value\":[1],\"banner_card_name\":[1],\"custom_class\":[1],\"component_mode\":[1]}]]],[\"dda-link-button_2.cjs\",[[260,\"dda-link-button\",{\"type\":[1],\"disabled\":[4],\"start_icon\":[1],\"end_icon\":[1],\"aria_label\":[1],\"button_color\":[1],\"size\":[1],\"button_shape\":[1],\"icon_button_shape\":[1],\"gap\":[2],\"custom_class\":[1],\"href\":[1],\"component_mode\":[1],\"button_id\":[1]}],[0,\"dda-radiobutton\",{\"title_text\":[1],\"supporting\":[1],\"group_name\":[1],\"input_id\":[1],\"checked\":[4],\"radio_status\":[1],\"size\":[1],\"variants\":[1],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1]}]]],[\"dda-button.cjs\",[[260,\"dda-button\",{\"type\":[1],\"disabled\":[4],\"start_icon\":[1],\"end_icon\":[1],\"aria_label\":[1],\"button_color\":[1],\"size\":[1],\"button_shape\":[1],\"icon_button_shape\":[1],\"gap\":[2],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"button_name\":[1],\"clickHandler\":[16]}]]],[\"dda-tooltip.cjs\",[[260,\"dda-tooltip\",{\"title_text\":[1],\"description\":[1],\"position\":[1],\"custom_class\":[1],\"component_mode\":[1],\"dismissed\":[32]}]]]]"), options);
|
|
8
|
+
return index.bootstrapLazy(JSON.parse("[[\"dda-header.cjs\",[[0,\"dda-header\",{\"firstLogoSrc\":[1,\"first-logo-src\"],\"firstLogoWhiteSrc\":[1,\"first-logo-white-src\"],\"firstLogoAlt\":[1,\"first-logo-alt\"],\"firstLogoHref\":[1,\"first-logo-href\"],\"secondLogoSrc\":[1,\"second-logo-src\"],\"secondLogoWhiteSrc\":[1,\"second-logo-white-src\"],\"secondLogoAlt\":[1,\"second-logo-alt\"],\"secondLogoHref\":[1,\"second-logo-href\"],\"loginLink\":[1,\"login-link\"],\"sideMenuItems\":[1,\"side-menu-items\"],\"sideMainMenuTitle\":[1,\"side-main-menu-title\"],\"sideOtherMenuTitle\":[1,\"side-other-menu-title\"],\"otherMenuItems\":[1,\"other-menu-items\"],\"hideOtherMenu\":[4,\"hide-other-menu\"],\"mobileMenuSearchId\":[1,\"mobile-menu-search-id\"],\"mobileMenuSearchUrl\":[1,\"mobile-menu-search-url\"],\"quickLinks\":[1,\"quick-links\"],\"readSpeakerLink\":[1,\"read-speaker-link\"],\"read_speaker_link\":[1],\"contrast_title\":[1],\"contrast_description\":[1],\"contrast_normal_text\":[1],\"contrast_noraml_text\":[1],\"contrast_color_blind_text\":[1],\"contrast_red_weakness_text\":[1],\"contrast_green_weakness_text\":[1],\"screen_reader_title\":[1],\"screen_reader_description\":[1],\"screen_reader_link_label\":[1],\"text_size_title\":[1],\"text_size_description\":[1],\"selected_contrast\":[1025],\"selected_text_size\":[1025],\"searchText\":[1,\"search-text\"],\"loginIcon\":[1,\"login-icon\"],\"loginText\":[1,\"login-text\"],\"hide_login\":[4],\"language_text\":[1],\"language_lang\":[1],\"accessibility_tooltip\":[1],\"accessibility_button_text\":[1],\"accessibility_button_id\":[1],\"accessibility_button_icon_family\":[1],\"accessibility_button_icon_name\":[1],\"search_tooltip\":[1],\"search_input_placeholder\":[1],\"language_tooltip\":[1],\"login_tooltip\":[1],\"usePredesignedAccessibilityMenu\":[4,\"use-predesigned-accessibility-menu\"],\"hamburger_menu_button_name\":[1],\"menu_button_label\":[1],\"accessibility_button_name\":[1],\"search_button_name\":[1],\"search_input_name\":[1],\"search_action\":[1],\"language_button_name\":[1],\"close_menu_button_name\":[1],\"close_accessibility_button_name\":[1],\"close_sidebar_button_name\":[1],\"toggle_accessibility_button_name\":[1],\"isMenuOpen\":[32],\"isSubMenuOpen\":[32],\"isSideSubMenuOpen\":[32],\"isAccessibiltyOpen\":[32],\"isSearchOpen\":[32],\"openMenus\":[32],\"activeMenuIndex\":[32],\"activeSubIndex\":[32],\"activeSubTop\":[32]},null,{\"isMenuOpen\":[{\"onMenuOpenChange\":0}]}]]],[\"dda-footer.cjs\",[[0,\"dda-footer\",{\"footerTitle\":[1,\"footer-title\"],\"heading_level\":[2],\"description\":[1],\"signUpButtonText\":[1,\"sign-up-button-text\"],\"loginButtonText\":[1,\"login-button-text\"],\"logoSrc\":[1,\"logo-src\"],\"logoAlt\":[1,\"logo-alt\"],\"copyrightText\":[1,\"copyright-text\"],\"logoDescription\":[1,\"logo-description\"],\"footerSections\":[1,\"footer-sections\"],\"socialIcons\":[1,\"social-icons\"]}]]],[\"dda-home-banner.cjs\",[[260,\"dda-home-banner\",{\"autoplay\":[4],\"interval\":[2],\"aria_label\":[1],\"previous_button_label\":[1],\"next_button_label\":[1],\"pause_button_label\":[1],\"play_button_label\":[1],\"slide_button_label\":[1],\"slide_status_label\":[1],\"show_scroll_icon\":[4],\"show_scroll_icon_mobile\":[4],\"currentSlide\":[32],\"slides\":[32],\"isPaused\":[32],\"reducedMotion\":[32]},null,{\"autoplay\":[{\"autoplayChanged\":0}],\"interval\":[{\"autoplayChanged\":0}]}]]],[\"dda-home-carousel.cjs\",[[0,\"dda-home-carousel\",{\"bannercardlist\":[1],\"items_in_view\":[2],\"aria_label\":[1],\"custom_class\":[1],\"component_mode\":[1]}]]],[\"dda-sticky-footer.cjs\",[[0,\"dda-sticky-footer\",{\"happinessIconHref\":[1,\"happiness-icon-href\"],\"happinessIconSrc\":[1,\"happiness-icon-src\"],\"happinessIconAlt\":[1,\"happiness-icon-alt\"],\"happinessIconTooltip\":[1,\"happiness-icon-tooltip\"],\"happinessIconId\":[1,\"happiness-icon-id\"],\"happinessIconSrcDark\":[1,\"happiness-icon-src-dark\"],\"accessibilityIconHref\":[1,\"accessibility-icon-href\"],\"accessibilityIconSrc\":[1,\"accessibility-icon-src\"],\"accessibilityIconAlt\":[1,\"accessibility-icon-alt\"],\"accessibilityIconTooltip\":[1,\"accessibility-icon-tooltip\"],\"accessibilityIconId\":[1,\"accessibility-icon-id\"],\"accessibilityIconSrcDark\":[1,\"accessibility-icon-src-dark\"],\"servicesIconHref\":[1,\"services-icon-href\"],\"servicesIconSrc\":[1,\"services-icon-src\"],\"servicesIconAlt\":[1,\"services-icon-alt\"],\"servicesIconTooltip\":[1,\"services-icon-tooltip\"],\"servicesIconText\":[1,\"services-icon-text\"],\"servicesIconId\":[1,\"services-icon-id\"],\"servicesIconSrcDark\":[1,\"services-icon-src-dark\"],\"firstLogoHref\":[1,\"first-logo-href\"],\"firstLogoSrc\":[1,\"first-logo-src\"],\"firstLogoAlt\":[1,\"first-logo-alt\"],\"firstLogoTooltip\":[1,\"first-logo-tooltip\"],\"secondLogoHref\":[1,\"second-logo-href\"],\"secondLogoSrc\":[1,\"second-logo-src\"],\"secondLogoAlt\":[1,\"second-logo-alt\"],\"secondLogoTooltip\":[1,\"second-logo-tooltip\"],\"thirdLogoHref\":[1,\"third-logo-href\"],\"thirdLogoSrc\":[1,\"third-logo-src\"],\"thirdLogoAlt\":[1,\"third-logo-alt\"],\"thirdLogoTooltip\":[1,\"third-logo-tooltip\"],\"middleLink\":[1,\"middle-link\"],\"locationButtonHref\":[1,\"location-button-href\"],\"locationLogoSrc\":[1,\"location-logo-src\"],\"locationButtonText\":[1,\"location-button-text\"],\"locationButtonIcon\":[1,\"location-button-icon\"],\"newsButtonHref\":[1,\"news-button-href\"],\"newsButtonSrc\":[1,\"news-button-src\"],\"newsButtonText\":[1,\"news-button-text\"],\"newsButtonIcon\":[1,\"news-button-icon\"],\"aiIconHref\":[1,\"ai-icon-href\"],\"aiIconSrc\":[1,\"ai-icon-src\"],\"aiIconAlt\":[1,\"ai-icon-alt\"],\"aiIconTooltip\":[1,\"ai-icon-tooltip\"],\"aiIconId\":[1,\"ai-icon-id\"],\"aiIconSrcDark\":[1,\"ai-icon-src-dark\"],\"chatIconHref\":[1,\"chat-icon-href\"],\"chatIconSrc\":[1,\"chat-icon-src\"],\"chatIconAlt\":[1,\"chat-icon-alt\"],\"chatIconTooltip\":[1,\"chat-icon-tooltip\"],\"chatIconId\":[1,\"chat-icon-id\"],\"chatIconSrcDark\":[1,\"chat-icon-src-dark\"],\"rightLink\":[1,\"right-link\"],\"dubaiaeIconHref\":[1,\"dubaiae-icon-href\"],\"dubaiaeIconId\":[1,\"dubaiae-icon-id\"],\"dubaiaeIconSrc\":[1,\"dubaiae-icon-src\"],\"dubaiaeIconSrcDark\":[1,\"dubaiae-icon-src-dark\"],\"dubaiaeIconSmallSrc\":[1,\"dubaiae-icon-small-src\"],\"dubaiaeIconAlt\":[1,\"dubaiae-icon-alt\"],\"dubaiaeIconTooltip\":[1,\"dubaiae-icon-tooltip\"],\"moreIcon\":[1,\"more-icon\"],\"moreIconFamily\":[1,\"more-icon-family\"],\"more_button_label\":[1],\"colorTheme\":[1,\"color-theme\"],\"aria_label\":[1],\"hideMiddleSection\":[4,\"hide-middle-section\"],\"isHidden\":[32],\"rightOpen\":[32],\"isMobile\":[32]}]]],[\"dda-accordion.cjs\",[[260,\"dda-accordion\",{\"design\":[1],\"header_text\":[1],\"body_description\":[1],\"custom_class\":[1],\"component_mode\":[1],\"accordion_icon\":[1],\"isOpen\":[32]}]]],[\"dda-alert.cjs\",[[0,\"dda-alert\",{\"type\":[1],\"variation\":[1],\"title_text\":[1],\"description\":[1],\"button_text\":[1],\"custom_class\":[1],\"component_mode\":[1],\"component_id\":[1],\"first_link\":[1],\"second_link\":[1],\"first_button\":[1],\"second_button\":[1],\"button_name\":[1],\"clickHandler\":[16],\"close_button_label\":[1],\"heading_level\":[2]}]]],[\"dda-attach-file.cjs\",[[0,\"dda-attach-file\",{\"label\":[1],\"helper_text\":[1],\"error_message\":[1],\"size\":[1],\"validation_type\":[1],\"input_type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1],\"button_aria_label\":[1],\"input_id\":[1],\"button_id\":[1],\"button_name\":[1],\"input_name\":[1],\"file\":[32]}]]],[\"dda-avatar.cjs\",[[0,\"dda-avatar\",{\"type\":[1],\"size\":[1],\"design\":[1],\"rounded\":[1],\"src\":[1],\"icon\":[1],\"text\":[1],\"notification_number\":[2],\"custom_class\":[1],\"selected\":[1025],\"options\":[1],\"component_mode\":[1],\"aria_label\":[1],\"button_id\":[1],\"button_name\":[1],\"isOpen\":[32]}]]],[\"dda-banner.cjs\",[[1,\"dda-banner\",{\"slides\":[1],\"slider_width\":[1],\"slider_height\":[1],\"aria_label\":[1],\"parsedSlides\":[32]}]]],[\"dda-breadcrumb.cjs\",[[0,\"dda-breadcrumb\",{\"design\":[1],\"separator\":[1],\"custom_class\":[1],\"component_mode\":[1],\"breadcrumbs\":[1]}]]],[\"dda-checkbox.cjs\",[[0,\"dda-checkbox\",{\"title_text\":[1],\"supporting\":[1],\"group_name\":[1],\"input_id\":[1],\"checked\":[4],\"checkbox_status\":[1],\"size\":[1],\"style_type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1]}]]],[\"dda-chip.cjs\",[[260,\"dda-chip\",{\"bg_color\":[1],\"rounded\":[1],\"icon\":[1],\"show_close_icon\":[4],\"close_button_label\":[1],\"size\":[1],\"custom_class\":[1],\"component_mode\":[1],\"clickHandler\":[16]}]]],[\"dda-credit-card.cjs\",[[0,\"dda-credit-card\",{\"balance\":[1],\"name\":[1],\"card_number\":[1],\"card_type\":[1],\"design\":[1],\"custom_class\":[1],\"component_mode\":[1]}]]],[\"dda-creditcard-field.cjs\",[[0,\"dda-creditcard-field\",{\"placeholder\":[1],\"label\":[1],\"value\":[1025],\"card_icon\":[1],\"error_message\":[1],\"validation_type\":[1],\"size\":[1],\"input_type\":[1],\"helper_text\":[1],\"disabled\":[4],\"custom_class\":[1],\"restrict_input\":[4],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"input_name\":[1],\"autocomplete\":[1],\"formattedValue\":[32]}]]],[\"dda-dropdown.cjs\",[[0,\"dda-dropdown\",{\"label\":[1],\"options\":[1],\"selected\":[1025],\"disabled\":[4],\"error\":[1],\"helper_text\":[1],\"type\":[1],\"size\":[1],\"icon_mode\":[4],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"aria_label\":[1],\"arrow_button_name\":[1],\"dropdown_button_name\":[1],\"toggle_button_label\":[1],\"isopen\":[32]},[[0,\"click\",\"onHostClick\"]]]]],[\"dda-horizontal-stepper.cjs\",[[0,\"dda-horizontal-stepper\",{\"steps\":[1],\"current_step\":[2],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]},null,{\"steps\":[{\"parseSteps\":0}]}]]],[\"dda-input.cjs\",[[0,\"dda-input\",{\"label\":[1],\"placeholder\":[1],\"value\":[1],\"type\":[1],\"helper_text\":[1],\"error_message\":[1],\"validation_type\":[1],\"size\":[1],\"input_status\":[1],\"custom_class\":[1],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"input_name\":[1],\"autocomplete\":[1]}]]],[\"dda-number-field.cjs\",[[0,\"dda-number-field\",{\"placeholder\":[1],\"label\":[1],\"value\":[1],\"helper_text\":[1],\"error_message\":[1],\"validation_type\":[1],\"size\":[1],\"input_status\":[1],\"currencies\":[1],\"selected_currency\":[1],\"custom_class\":[1],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"input_name\":[1],\"toggle_button_name\":[1],\"currency_button_name\":[1],\"toggle_button_label\":[1],\"is_focused\":[32],\"isCurrencyDropdownOpen\":[32]}]]],[\"dda-pagination.cjs\",[[0,\"dda-pagination\",{\"total_pages\":[1026],\"current_page\":[1026],\"type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"simple_slider_prev_button\":[1],\"simple_slider_next_button\":[1],\"buttons_prev_button\":[1],\"buttons_next_button\":[1],\"text_prev_button\":[1],\"text_next_button\":[1],\"text_pages_prev_button\":[1],\"text_pages_next_button\":[1],\"button_text_prev_button\":[1],\"button_text_next_button\":[1],\"buttons_pages_prev_button\":[1],\"buttons_pages_next_button\":[1],\"previous_button_label\":[1],\"next_button_label\":[1]},null,{\"total_pages\":[{\"validateTotalPages\":0}],\"current_page\":[{\"validateCurrentPage\":0}]}]]],[\"dda-phonefield.cjs\",[[0,\"dda-phonefield\",{\"label\":[1],\"placeholder\":[1],\"helper_text\":[1],\"validation_type\":[1],\"error_message\":[1],\"disabled\":[4],\"size\":[1],\"custom_class\":[1],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"button_id\":[1],\"button_aria_label\":[1],\"toggle_button_name\":[1],\"country_select_button_name\":[1],\"toggle_button_label\":[1],\"phone_input_name\":[1],\"autocomplete\":[1],\"country_code\":[32],\"country_flag\":[32],\"phone_number\":[32],\"is_focused\":[32],\"dropdown_open\":[32],\"countries\":[32]}]]],[\"dda-progressbar.cjs\",[[0,\"dda-progressbar\",{\"progress\":[2],\"tooltip\":[4],\"tooltip_position\":[1],\"show_percentage_text\":[4],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1]}]]],[\"dda-range-slider.cjs\",[[0,\"dda-range-slider\",{\"min\":[2],\"max\":[2],\"step\":[2],\"initial_min\":[2],\"initial_max\":[2],\"size\":[1],\"tooltip_position\":[1],\"custom_class\":[1],\"component_mode\":[1],\"left_input_id\":[1],\"right_input_id\":[1],\"left_aria_label\":[1],\"right_aria_label\":[1],\"left_input_name\":[1],\"right_input_name\":[1],\"min_value\":[32],\"max_value\":[32]}]]],[\"dda-search-input.cjs\",[[0,\"dda-search-input\",{\"placeholder\":[1],\"label\":[1],\"size\":[1],\"error_message\":[1],\"show_button\":[4],\"helper_text\":[1],\"input_status\":[1],\"has_error\":[4],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"input_id\":[1],\"aria_label\":[1],\"button_aria_label\":[1],\"search_input_name\":[1],\"close_button_name\":[1],\"clear_button_label\":[1],\"search_button_name\":[1]}]]],[\"dda-segmented-tabs.cjs\",[[0,\"dda-segmented-tabs\",{\"items\":[1],\"radius_type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"button_name\":[1],\"aria_label\":[1],\"selected_index\":[2],\"icon_labels\":[1],\"active_index\":[32]},null,{\"items\":[{\"itemsChanged\":0}],\"selected_index\":[{\"selectedIndexChanged\":0}]}]]],[\"dda-select.cjs\",[[0,\"dda-select\",{\"label\":[1],\"options\":[1],\"selected\":[1025],\"disabled\":[4],\"error\":[1],\"error_message\":[1],\"helper_text\":[1],\"size\":[1],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1],\"button_id\":[1],\"toggle_button_name\":[1],\"option_select_button_name\":[1],\"placeholder\":[1],\"input_name\":[1],\"main_aria_label\":[1],\"validation_type\":[1],\"is_open\":[32]},[[0,\"click\",\"onHostClick\"]]]]],[\"dda-tabs.cjs\",[[0,\"dda-tabs\",{\"type\":[1],\"hover_style\":[1],\"border_bottom\":[4],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"aria_label\":[1],\"tab_texts\":[1],\"tab_icons\":[1],\"button_name\":[1],\"active_tab\":[32]}]]],[\"dda-textarea.cjs\",[[0,\"dda-textarea\",{\"placeholder\":[1],\"label\":[1],\"value\":[1],\"error_message\":[1],\"validation_type\":[1],\"input_status\":[1],\"helper_text\":[1],\"custom_class\":[1],\"enable_rich_editor\":[4],\"max_characters\":[2],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"textarea_name\":[1],\"characterCount\":[32]}]]],[\"dda-toggle.cjs\",[[0,\"dda-toggle\",{\"checked\":[4],\"size\":[1],\"custom_class\":[1],\"group_name\":[1],\"input_id\":[1],\"component_mode\":[1],\"aria_label\":[1],\"title_text\":[1],\"supporting\":[1]}]]],[\"dda-ui-card.cjs\",[[260,\"dda-ui-card\",{\"type\":[1],\"icon\":[1],\"image\":[1],\"maintitle\":[1],\"subtitle\":[1],\"link\":[1],\"linktext\":[1],\"linkicon\":[1],\"heading_level\":[2]}]]],[\"dda-vertical-stepper.cjs\",[[0,\"dda-vertical-stepper\",{\"steps\":[1],\"current_step\":[2],\"current_Step\":[2,\"current_-step\"],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]},null,{\"steps\":[{\"parseSteps\":0}]}]]],[\"dda-banner-card.cjs\",[[0,\"dda-banner-card\",{\"banner_card_href\":[1],\"banner_card_url\":[1],\"banner_card_id\":[1],\"image_src\":[1],\"image_alt\":[1],\"banner_card_title\":[1],\"banner_card_description\":[1],\"banner_card_value\":[1],\"banner_card_name\":[1],\"custom_class\":[1],\"component_mode\":[1]}]]],[\"dda-scroll-icon.cjs\",[[0,\"dda-scroll-icon\",{\"scroll_icon_size\":[1],\"scroll_icon_color\":[1],\"custom_class\":[1],\"component_mode\":[1]}]]],[\"dda-link-button_2.cjs\",[[260,\"dda-link-button\",{\"type\":[1],\"disabled\":[4],\"start_icon\":[1],\"end_icon\":[1],\"aria_label\":[1],\"button_color\":[1],\"size\":[1],\"button_shape\":[1],\"icon_button_shape\":[1],\"gap\":[2],\"custom_class\":[1],\"href\":[1],\"component_mode\":[1],\"button_id\":[1]}],[0,\"dda-radiobutton\",{\"title_text\":[1],\"supporting\":[1],\"group_name\":[1],\"input_id\":[1],\"checked\":[4],\"radio_status\":[1],\"size\":[1],\"variants\":[1],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1]}]]],[\"dda-button.cjs\",[[260,\"dda-button\",{\"type\":[1],\"disabled\":[4],\"start_icon\":[1],\"end_icon\":[1],\"aria_label\":[1],\"button_color\":[1],\"size\":[1],\"button_shape\":[1],\"icon_button_shape\":[1],\"gap\":[2],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"button_name\":[1],\"clickHandler\":[16]}]]],[\"dda-tooltip.cjs\",[[260,\"dda-tooltip\",{\"title_text\":[1],\"description\":[1],\"position\":[1],\"custom_class\":[1],\"component_mode\":[1],\"dismissed\":[32]}]]]]"), options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
exports.setNonce = index.setNonce;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"components/dda-breadcrumb/dda-breadcrumb.js",
|
|
4
4
|
"components/dda-header/dda-header.js",
|
|
5
5
|
"components/dda-home-carousel/dda-home-carousel.js",
|
|
6
|
+
"components/dda-select/dda-select.js",
|
|
6
7
|
"components/dda-sticky-footer/dda-sticky-footer.js",
|
|
7
8
|
"components/dda-accordion/dda-accordion.js",
|
|
8
9
|
"components/dda-alert/dda-alert.js",
|
|
@@ -26,8 +27,8 @@
|
|
|
26
27
|
"components/dda-phonefield/dda-phonefield.js",
|
|
27
28
|
"components/dda-progressbar/dda-progressbar.js",
|
|
28
29
|
"components/dda-range-slider/dda-range-slider.js",
|
|
30
|
+
"components/dda-scroll-icon/dda-scroll-icon.js",
|
|
29
31
|
"components/dda-search-input/dda-search-input.js",
|
|
30
|
-
"components/dda-select/dda-select.js",
|
|
31
32
|
"components/dda-tabs/dda-tabs.js",
|
|
32
33
|
"components/dda-textarea/dda-textarea.js",
|
|
33
34
|
"components/dda-toggle/dda-toggle.js",
|
|
@@ -17,7 +17,7 @@ export class DdaAccordion {
|
|
|
17
17
|
this.isOpen = !this.isOpen;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'c24b7d89095940b9dc40c42973fb8b9ecb62834b' }, h("div", { key: 'a8067c27b250a36f25f0a2f3e020b0e7478d8c89', class: `accordion-container ${this.design} ${this.custom_class} ${this.component_mode}` }, h("button", { key: '5fb1f3fa593e3de9ed60132d8d3ab0c8f8996356', type: "button", class: "accordion-header", onClick: () => this.toggleAccordion(), "aria-expanded": this.isOpen ? 'true' : 'false' }, h("div", { key: '834103ae1b95cd7fdb977ae5f122064b7498930f', class: "header-content" }, h("i", { key: 'db4c66caa66395c0bf310509fc9494dfa8e9c54d', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, this.accordion_icon), h("span", { key: 'dfdf5509d8ef0137d4d8ec673739bce83c932ca0', class: "header-text" }, this.header_text)), h("i", { key: '7e0dc5ec88d0a0a53731d8304a7eb1d71d04514e', class: `material-icons arrow-icon`, "aria-hidden": "true" }, this.isOpen ? 'keyboard_arrow_up' : 'keyboard_arrow_down')), h("div", { key: '9c59776afd0419bfe386f8f4cc4a48d4e987e4b6', class: this.isOpen ? 'accordion-body' : 'dda-d-none' }, h("p", { key: '93fd862caa1b04f3e1426c3097d2dbf2847104cd', class: "body-description" }, this.body_description), h("slot", { key: '63d194b917d897348586532525586f8e033d87b6' })))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "dda-accordion"; }
|
|
23
23
|
static get originalStyleUrls() {
|
|
@@ -39,7 +39,7 @@ export class DdaAlert {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const HeadingTag = this.headingTag;
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '197e3cec1cd2a250bf87f7fbedcb3282ae1a3294', role: this.role, class: `dda-alert dda-alert-${this.type} dda-alert-${this.variation} ${this.custom_class} ${this.component_mode}` }, h("i", { key: '7e4d4e0f2bf53ce8b4ad61b58e5c3ef9852a62d4', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "info"), h("div", { key: 'ef0f2257ca087c520c7963167d32f7f6fa63292b', class: "alert-content" }, h(HeadingTag, { key: '87d1abc4c3d3dadc93c7712d119b23a57fc62af3', class: "alert-title" }, this.title_text), h("p", { key: '001d80cfc05df11f14813d96024e9386f6b1b9a3', class: "alert-description" }, this.description), h("div", { key: '55d82602626911094059952226a89977639b0640', class: "alert-btn-wrap" }, !!this.first_button && (h("a", { key: 'fa5e831f0803c5a01ba33dd08295d1a04a119db0', href: this.first_link, onClick: () => this.firstClickHandler() }, this.first_button)), !!this.second_button && (h("a", { key: '512d36980c00931fc715e51366a696c78bf26174', href: this.second_link, onClick: () => this.secondClickHandler() }, this.second_button)))), h("button", { key: 'c22ed4dc2c79c18578126a64081f74978d45591d', name: this.button_name, class: "dda-alert-close", "aria-label": this.close_button_label, onClick: this.clickHandler }, h("i", { key: 'be69df027367824c8d924284e64537ca88eff78f', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "dda-alert"; }
|
|
45
45
|
static get originalStyleUrls() {
|
|
@@ -81,7 +81,7 @@ export class DdaAttachFile {
|
|
|
81
81
|
this.component_mode,
|
|
82
82
|
].filter(Boolean).join(' ');
|
|
83
83
|
const id = this.inputId;
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '83df039613f891dbf503d7895b6c3ee42bec4d6d' }, h("div", { key: 'aa33eacc2a0f72f515708dbc0ab1667e33dd22eb', class: inputClass }, this.label && h("label", { key: '07d4a259147e1d1f6dc780bf2f7b0f59c3f3278a', htmlFor: id, class: "dda-input-label" }, this.label), h("div", { key: '1bfc08d11a585c58c66607bfe85049e589d2978e', class: "dda-input-field-group dda-attach-file" }, h("input", { key: '11dba4d4391b7d486c1e283c3ccdc9ae8f7f3315', ref: (el) => (this.fileInput = el), id: id, name: this.input_name, "aria-label": this.aria_label || (this.label ? undefined : 'Choose file'), type: "file", onInput: (event) => { this.handleFileInput(event); }, "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined }), this.file ? (h("div", { class: "dda-file-details" }, h("div", { class: "dda-items" }, h("img", { src: this.getFileIcon(this.file.name), alt: "File Icon", class: "dda-file-icon" }), h("span", { class: "dda-file-name" }, this.file.name)), h("button", { type: "button", id: this.button_id, name: this.button_name, "aria-label": this.button_aria_label || `Remove ${this.file.name}`, class: "remove-file", onClick: () => this.removeFile() }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")))) : (h("div", { class: "dda-file-input" }, h("span", null, "No File Selected"), h("label", { htmlFor: id, class: "dda-file-choose" }, "Choose File")))), this.helper_text && h("span", { key: 'ac2811107d823bababfb3954225dd91846c5d095', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: 'caafcfb509812c1bb32a937bd2336f23e3a2407f', id: this.errorId, class: "dda-error-message" }, this.error_message))));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "dda-attach-file"; }
|
|
87
87
|
static get originalStyleUrls() {
|
|
@@ -40,11 +40,11 @@ export class DdaAvatar {
|
|
|
40
40
|
render() {
|
|
41
41
|
const hasOptions = this.parsedOptions.length > 0;
|
|
42
42
|
const avatarContent = [
|
|
43
|
-
this.type === 'photo' && h("img", { key: '
|
|
44
|
-
this.type === 'icon' && h("i", { key: '
|
|
45
|
-
this.type === 'text' && h("span", { key: '
|
|
43
|
+
this.type === 'photo' && h("img", { key: '95ea4d02281118674716f373ddb7fb7c9cd42a0f', src: this.src, alt: "Avatar" }),
|
|
44
|
+
this.type === 'icon' && h("i", { key: 'f13ac27be5530c92c0050831963181d0bb4746e2', class: `${this.icon} dda-smile` }, "sentiment_satisfied"),
|
|
45
|
+
this.type === 'text' && h("span", { key: 'a3909c0f19bc7e916165aaf5746f78409f0e6d2f', class: 'avatar-main-text' }, this.text),
|
|
46
46
|
];
|
|
47
|
-
return (h("div", { key: '
|
|
47
|
+
return (h("div", { key: 'e2321458bd1c947f4c23a2c1083d18ba3e7fa249', class: {
|
|
48
48
|
'dda-avatar': true,
|
|
49
49
|
[`avatar-type-${this.type}`]: true,
|
|
50
50
|
[`avatar-size-${this.size}`]: true,
|
|
@@ -53,7 +53,7 @@ export class DdaAvatar {
|
|
|
53
53
|
[`${this.custom_class}`]: true,
|
|
54
54
|
[`${this.component_mode}`]: true,
|
|
55
55
|
[`${this.button_name}`]: true,
|
|
56
|
-
} }, hasOptions ? (h("button", { type: "button", class: "avatar-trigger", onClick: () => this.toggleDropdown(), "aria-expanded": this.isOpen ? 'true' : 'false', "aria-label": this.aria_label || 'Avatar options' }, avatarContent)) : (h("div", { class: "avatar-trigger" }, avatarContent)), hasOptions && this.isOpen && (h("div", { key: '
|
|
56
|
+
} }, hasOptions ? (h("button", { type: "button", class: "avatar-trigger", onClick: () => this.toggleDropdown(), "aria-expanded": this.isOpen ? 'true' : 'false', "aria-label": this.aria_label || 'Avatar options' }, avatarContent)) : (h("div", { class: "avatar-trigger" }, avatarContent)), hasOptions && this.isOpen && (h("div", { key: '9fd2fd168e0390c7c3eb28b74eb617e2d579f84a', class: "dda-input-dropdown-list" }, this.parsedOptions.map(option => (h("button", { id: this.button_id, name: this.button_name, "aria-label": this.aria_label, type: "button", class: `dda-input-dropdown-item ${this.selected === option ? 'selected' : ''}`, onClick: () => { this.selectOption(option); } }, option))))), this.design === 'status' && h("div", { key: 'f1ec52168f298d984f5870b8eba4fe73a52e2a1a', class: "status-circle" }), this.design === 'verified' && h("div", { key: '8964727fb28120e77e3851b440a37ff9ebabdec3', class: "verified-icon" }, h("span", { key: 'fe247d0249e4a47817ff5f4ebf920623407fd51c', class: "material-icons material-symbols-outlined" }, "verified")), this.design === 'notification' && h("div", { key: 'ad6cb3fabc183ba2f18b319c0ecd35b5810dee70', class: "notification-circle" }, this.notification_number)));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "dda-avatar"; }
|
|
59
59
|
static get originalStyleUrls() {
|
|
@@ -16,7 +16,7 @@ export class DdaBanner {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '26d1e4a4b4e879d333c652dc12e1feb7785e830f' }, h("div", { key: '2eb1e1c18f45a824779b7b3288b2d2432f22941b', class: 'dda-banner-slider', tabIndex: 0, role: "region", "aria-label": this.aria_label }, this.parsedSlides.map((slide) => (h("div", { class: 'dda-banner-slide' }, h("img", { src: slide.image, alt: slide.title, style: { width: this.slider_width, height: this.slider_height } })))))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "dda-banner"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,9 +9,9 @@ export class DdaBannerCard {
|
|
|
9
9
|
const href = this.banner_card_href || this.banner_card_url;
|
|
10
10
|
const className = ['link-item', 'dda-banner-card', this.custom_class, this.component_mode].filter(Boolean).join(' ');
|
|
11
11
|
const content = [
|
|
12
|
-
this.image_src && h("img", { key: '
|
|
13
|
-
h("span", { key: '
|
|
14
|
-
this.banner_card_description && h("span", { key: '
|
|
12
|
+
this.image_src && h("img", { key: '2c3b6cfadb9691eb79289dff0eb86786bd725c17', class: "dda-banner-card-icon", src: this.image_src, alt: "", "aria-hidden": "true" }),
|
|
13
|
+
h("span", { key: '5fb842d427e7d730eba011b47b4856c94c4f3b2f', class: "title" }, this.banner_card_title),
|
|
14
|
+
this.banner_card_description && h("span", { key: '0d9ac8e794ad3eede10717619156b123e98eff1d', class: "subtitle" }, this.banner_card_description),
|
|
15
15
|
];
|
|
16
16
|
return href ? (h("a", { id: this.banner_card_id, class: className, href: href }, content)) : (h("button", { id: this.banner_card_id, class: className, type: "button", name: this.banner_card_name, value: this.banner_card_value }, content));
|
|
17
17
|
}
|
|
@@ -33,7 +33,7 @@ export class DdaButton {
|
|
|
33
33
|
this.custom_class, // Include custom class
|
|
34
34
|
this.component_mode,
|
|
35
35
|
].filter(Boolean).join(' ');
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'aba3822861858fe0530f56b93bea7268c77c1c14' }, h("button", { key: 'e4562fcab178114ad8c627176ec950cc3e8736ee', id: this.button_id, type: this.type, class: buttonClass, disabled: this.disabled, "aria-label": this.aria_label, onClick: this.clickHandler, name: this.button_name }, this.start_icon && h("i", { key: 'ac2bf1669d6b212fe5c3145f80a4eb744ccb60fc', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, this.start_icon), h("slot", { key: 'd9ca7dc9e3ad3be8bcaf3b4bf406464c1348c085' }), this.end_icon && h("i", { key: 'e1c5c9a89e360d475fba8032a4d8c1ec572ecc07', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, this.end_icon))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "dda-button"; }
|
|
39
39
|
static get originalStyleUrls() {
|
|
@@ -13,7 +13,7 @@ export class DdaCheckbox {
|
|
|
13
13
|
this.checkbox_status ? `dda-checkbox-${this.checkbox_status}` : '',
|
|
14
14
|
this.component_mode,
|
|
15
15
|
].filter(Boolean).join(' ');
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '8849a8e657a8cf2e5395cc5be17f3037ba21f5fa' }, h("div", { key: '8c5a967d5d549de0269be7a7d6c7d07100dcff1a', class: checkboxClass }, h("input", { key: 'd4d2e713f122ecf16a956e97949f3f0e1359a37e', "aria-label": this.aria_label, type: "checkbox", id: this.input_id, name: this.group_name, checked: this.checked }), h("label", { key: '794b9ff5bbd1c8e45db5a7a1dc2160b8f671728f', htmlFor: this.input_id }, h("i", { key: '175434893e5b611a61c7a2999746ce28d831aa58', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "check"), h("p", { key: '4541058a6b6eef95e0e05d513d704600b022ab39' }, h("span", { key: '264248098c78f8dc25ec23463b34baea48faeca8', class: "dda-checkbox-title" }, this.title_text), this.supporting && h("span", { key: 'ddfe553d6924594d9a9848a795b55e64b68c42ed', class: "dda-checkbox-supporting" }, this.supporting))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "dda-checkbox"; }
|
|
19
19
|
static get originalStyleUrls() {
|
|
@@ -11,7 +11,7 @@ export class DdaChip {
|
|
|
11
11
|
this.close_button_label = 'Remove';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '085ae48a72370f2de745aef9ce7b2d275066bbfa' }, h("div", { key: '35f856d036a7cf711c8cd2754bc79832412a13cb', class: `dda-chip dda-chip-${this.bg_color} dda-chip-${this.size} dda-rounded-${this.rounded} ${this.custom_class} ${this.component_mode}` }, this.icon ? h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, this.icon) : null, h("span", { key: 'df88d661c9e39b2a026f7bcaed06d08f4032f7b5' }, h("slot", { key: '833cbcd82641d4020c5a1f2d2a4524e4d5640a2c' })), this.show_close_icon && (h("button", { key: '02354c1edb9bd78dfc39f9d8ab34fa80d5903558', type: "button", class: "chip-close", onClick: this.clickHandler, "aria-label": this.close_button_label }, h("i", { key: 'c49f36b252c722839d2a45a2eda61dcfa3ac4250', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "dda-chip"; }
|
|
17
17
|
static get originalStyleUrls() {
|
|
@@ -12,7 +12,7 @@ export class DdaCreditCard {
|
|
|
12
12
|
this.custom_class ? `${this.custom_class}` : "",
|
|
13
13
|
this.component_mode,
|
|
14
14
|
].filter(Boolean).join(' ');
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'b646972242d38553dc0c031cda64d175eb9c407a' }, h("div", { key: 'fedbb88c9ea01e108c5d38adbd8510f0f6c37de7', class: cardClass }, h("div", { key: 'b95527448369a90e49ce3ae20b230f59a0bfe143', class: "dda-credit-card-header" }, h("div", { key: 'ec9a46349b141344ca510d23bc8fe20dc76ca239', class: "card-balance-info" }, h("span", { key: '20ec0cfe3c5632a86cbe5279193ff1a338f2cc71', class: "card-balance-label" }, "Current Balance"), h("span", { key: '72395c8bb1a449eec58ba776696604f8700202d0', class: "card-balance" }, this.balance)), h("i", { key: '78eba439883cf31e1f8b65a62977ffa9cd122467', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "wifi")), h("div", { key: '2ba10f73e74dfc20659a99ae73530e357d4b9764', class: "dda-credit-card-body" }, h("div", { key: 'eca3df7e4bdfc03fee7183693c02aef965574c6b', class: "card-userinfo" }, h("span", { key: 'efa1777768b14632c520b919da127e764465851b', class: "dda-card-name" }, this.name), h("span", { key: 'ba98a3d9ee62cafb66c25668976af26f369cd47f', class: "dda-card-number" }, "**** ", String((_a = this.card_number) !== null && _a !== void 0 ? _a : '').slice(-4))), h("div", { key: '5c0de737e1cec7035b4d5277edc17444e9f51a1d' }, this.card_type && h("img", { key: '820ce244814bd327ba4637fa1ebcc9e1e78d7c01', src: this.card_type, alt: "Card Type", class: "card-type-icon" }))))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "dda-credit-card"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -79,7 +79,7 @@ export class DdaCreditCardField {
|
|
|
79
79
|
this.component_mode,
|
|
80
80
|
].filter(Boolean).join(' ');
|
|
81
81
|
const id = this.inputId;
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '70d7ef0a32780bc78e52b90a37689b575afb07cc' }, h("div", { key: 'e1d3d0e93cf36c2e022f4d546b37cfd964316751', class: inputClass }, this.label && h("label", { key: 'c435513b6b3d41a2d81195b2a5ed7c08580a3d09', htmlFor: id, class: "dda-input-label" }, this.label), h("div", { key: 'f1bbf1a7a64b573c5bb06bcde34e9e14b3d195c4', class: "dda-input-field-wrapper" }, this.card_icon && h("img", { key: '836acc54c3b3d69e7cd5c9d05aabbb77095fe5c5', src: this.card_icon, alt: "Card Icon", class: "dda-creditcard-icon" }), h("input", { key: '6ecf43eb6a00e317c45ef3ecf4247d333e46eb72', "aria-label": this.aria_label, id: id, name: this.input_name, type: "text", inputmode: "numeric", autocomplete: this.autocomplete, placeholder: this.placeholder, value: this.formattedValue, onInput: (event) => this.handleInput(event), class: "dda-input-field", disabled: this.disabled, maxlength: this.restrict_input ? 100 : 25, "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined })), this.helper_text && h("span", { key: '912e11401f1ca55296cd79481cf1847a766b14cd', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '3eafbf43553d3e44800ac6fef42ad16986384c48', id: this.errorId, class: "dda-error-message" }, this.error_message))));
|
|
83
83
|
}
|
|
84
84
|
static get is() { return "dda-creditcard-field"; }
|
|
85
85
|
static get originalStyleUrls() {
|
|
@@ -60,7 +60,7 @@ export class DdaDropdown {
|
|
|
60
60
|
this.custom_class ? `${this.custom_class}` : '',
|
|
61
61
|
this.component_mode,
|
|
62
62
|
].filter(Boolean).join(' ');
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '77d1b1b916aaaadf2ff92126b25dccb1072fe48e' }, h("div", { key: '902ded214f7bb1e78902e3e25461027b841af961', class: containerClass }, this.label && h("label", { key: '85ac790ba72417659c59dbdb0fb49124cfcc7dd4', id: labelId, class: "dda-input-label" }, this.label), h("div", { key: '0d8c2ec2da2cca450a852c3ab52ddacb172150e4', class: `dda-dropdown-container ${this.type}` }, h("button", { key: 'd00ad376439c9e8373e8149f079599a95056a86f', ref: el => (this.buttonEl = el), id: id, name: this.arrow_button_name, "aria-label": this.aria_label || (this.icon_mode && !this.label ? this.toggle_button_label : undefined), "aria-labelledby": this.label && !this.aria_label ? `${labelId} ${id}` : undefined, "aria-expanded": this.isopen ? 'true' : 'false', type: "button", class: "dda-input-field dda-dropdown-header", onClick: () => this.toggleDropdown() }, h("i", { key: '4932ba8011fd286910494d3d85ed14102ff754dc', class: `three-dots material-icons`, "aria-hidden": "true" }, this.isopen ? 'more_vert' : 'more_vert'), !this.icon_mode && h("span", { key: '8ee2ae007163a745859aeb5a5e7c5b781ac7bbf4', class: "dda-dropdown-text" }, h("span", { key: '482bc804a255ac6a78e600a246d2a8fe604a24c4' }, this.selected || 'Select an option'), " ", h("i", { key: '2b2ed4a9aeaccecc1c22ff2ebedbf6f98187a970', class: `material-icons`, "aria-hidden": "true" }, this.isopen ? 'keyboard_arrow_up' : 'keyboard_arrow_down'))), this.isopen && (h("div", { key: '5e377bc659a93a171fc043437513e55d5e54ae21', class: "dda-input-dropdown-list" }, this.parsedOptions.length > 0 ? (this.parsedOptions.map(option => (h("button", { type: "button", name: this.dropdown_button_name, class: `dda-input-dropdown-item ${this.selected === option ? 'selected' : ''}`, onClick: () => { this.selectOption(option); } }, option)))) : (h("div", { class: "dda-input-dropdown-item" }, "No options available"))))), this.helper_text && h("span", { key: '7685c00cc94c917b06171dec096bdffa46b889b5', class: "dda-helper-text" }, this.helper_text), this.error && h("span", { key: '6bd3d7def60fdeefd511c71dc96ea1afe2026156', class: "dda-error-message" }, this.error))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "dda-dropdown"; }
|
|
66
66
|
static get originalStyleUrls() {
|
|
@@ -20,7 +20,7 @@ export class DdaFooter {
|
|
|
20
20
|
const requestedLevel = Math.round(Number(this.heading_level));
|
|
21
21
|
const level = Number.isNaN(requestedLevel) ? 4 : Math.min(6, Math.max(1, requestedLevel));
|
|
22
22
|
const TitleTag = `h${level}`;
|
|
23
|
-
return (h("footer", { key: '
|
|
23
|
+
return (h("footer", { key: '1abdfbf6fa643e0546541c55654dcde80a467898', class: "WB-footer" }, h("div", { key: '103d42221da8df817f792c1440dfa2c50d52dc1f', class: "dda-container line-seperater" }, h("div", { key: 'ae29a2d9cac64b8ae3c159c3e37bc2958972fa37', class: "dda-flex dda-align-center flex-column dda-gap-5" }, h(TitleTag, { key: '12a9567ca4efe84c161354afaa79f47991507089', class: "dda-fs-display-sm dda-fw-700 dda-color-black" }, this.footerTitle), h("p", { key: '759ed3d7604e9affd9c9f40bb54bb6087b34d1f2', class: "dda-fs-title-sm dda-fw-400 mb-3" }, this.description), h("div", { key: '80acb5435bf5ee1610946722b92c26a0a0d4b455', class: "dda-flex dda-gap-5" }, h("dda-button", { key: '932a9230d89fbb60fd09cffda1b8f96e90fb3180', button_color: "default-primary", size: "lg" }, this.signUpButtonText), h("dda-button", { key: '89f9f4662e624118d90b2e6ff3269eb19cf6e558', button_color: "default-tertiary", size: "lg" }, this.loginButtonText)))), h("div", { key: 'e88d58858c83644dd426f696e6810c6c695b668e', class: "dda-container line-seperater" }, h("div", { key: 'cc9786e8c534394b24dab8d1f5c3cecc7918574d', class: "dda-row" }, h("div", { key: 'f8c064e0e5cfe52c520cc690b47f9c34abf1d26f', class: "dda-col-lg-4 mb-3" }, h("div", { key: '4490571be75b98a1ea323bc03cafa1f4dec310dc', class: "text-center" }, h("img", { key: '204f1601e852db0cdbd3517148b92a7dac564709', class: "entt-logo", src: this.logoSrc, alt: this.logoAlt }), this.logoDescription && h("p", { key: '85452c22300d9afc47b66033fc032fac50349c64', class: "dda-fs-title-sm" }, this.logoDescription))), h("div", { key: 'bf8ec88258036115c69dbe43d6b8e0a41ca5b33e', class: "dda-col-lg-8" }, h("div", { key: '32bcf400716b8442f74dcabb69c291c1c496f8e3', class: "dda-row" }, sections.map((section) => (h("div", { class: "dda-col-6 dda-col-sm-6 dda-col-md-3 mb-3" }, h("p", { class: "dda-fs-title-sm dda-fw-700 dda-color-black mb-3" }, section.title), h("ul", { class: "footer-menu" }, section.links.map((link) => (h("li", null, h("a", { class: "dda-fs-title-sm dda-fw-400", href: link.href }, link.label)))))))))))), h("div", { key: 'e11731999d9f0d4ee1aee961c6f21ea457821b57', class: "dda-container pt-4" }, h("div", { key: '214bd4622a14a9495eeb9cec34d4de7933fb7ada', class: "dda-flex dda-align-center dda-justify-space" }, h("p", { key: 'd63056c0dfe45922f1ddac4710e318263dd442ab', class: "dda-fs-title-sm" }, this.copyrightText), h("ul", { key: 'dc189cb2d7909aec14239cd86bb8ba4f602761eb', class: "dda-flex dda-align-center dda-gap-4" }, icons.map((icon) => (h("li", null, h("a", { href: icon.href }, h("img", { class: "footer-social-icn", src: icon.src, alt: icon.alt }))))))))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "dda-footer"; }
|
|
26
26
|
static get originalStyleUrls() {
|
|
@@ -47,6 +47,28 @@ export class DdaHeader {
|
|
|
47
47
|
this.activeSubIndex = null;
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
+
// Places an open mega menu panel. It starts under its link (CSS). When it does not fit there, it
|
|
51
|
+
// flips so that its far edge meets the far edge of the link, and it opens back toward the start of
|
|
52
|
+
// the nav. Only when it still does not fit is it clamped, 16px inside the screen. All positions are
|
|
53
|
+
// measured from the inline start, so the same code works in RTL.
|
|
54
|
+
this.alignMegaPanel = () => {
|
|
55
|
+
const panel = this.el.querySelector('.megamenu-content.showSubMenu');
|
|
56
|
+
const link = panel === null || panel === void 0 ? void 0 : panel.parentElement;
|
|
57
|
+
if (!panel || !link)
|
|
58
|
+
return;
|
|
59
|
+
panel.style.removeProperty('--dda-mega-shift');
|
|
60
|
+
const gutter = 16;
|
|
61
|
+
const viewport = document.documentElement.clientWidth;
|
|
62
|
+
const rtl = getComputedStyle(panel).direction === 'rtl';
|
|
63
|
+
const fromStart = (rect) => (rtl ? { start: viewport - rect.right, end: viewport - rect.left } : { start: rect.left, end: rect.right });
|
|
64
|
+
const linkEdges = fromStart(link.getBoundingClientRect());
|
|
65
|
+
const width = panel.getBoundingClientRect().width;
|
|
66
|
+
const lastStart = viewport - gutter - width;
|
|
67
|
+
if (linkEdges.start <= lastStart)
|
|
68
|
+
return;
|
|
69
|
+
const start = Math.max(gutter, linkEdges.end - width);
|
|
70
|
+
panel.style.setProperty('--dda-mega-shift', `${start - linkEdges.start}px`);
|
|
71
|
+
};
|
|
50
72
|
this.handleSearchSubmit = (event) => {
|
|
51
73
|
const input = event.currentTarget.querySelector('input');
|
|
52
74
|
const query = input.value.trim();
|
|
@@ -221,6 +243,10 @@ export class DdaHeader {
|
|
|
221
243
|
document.addEventListener('keydown', this.toggleEscapeKey);
|
|
222
244
|
document.addEventListener('click', this.handleOutsideAccessibilityClick);
|
|
223
245
|
document.addEventListener('click', this.handleOutsideMegaMenuClick);
|
|
246
|
+
window.addEventListener('resize', this.alignMegaPanel);
|
|
247
|
+
}
|
|
248
|
+
componentDidRender() {
|
|
249
|
+
this.alignMegaPanel();
|
|
224
250
|
}
|
|
225
251
|
disconnectedCallback() {
|
|
226
252
|
window.removeEventListener('scroll', this.handleScroll);
|
|
@@ -228,6 +254,7 @@ export class DdaHeader {
|
|
|
228
254
|
document.removeEventListener('keydown', this.toggleEscapeKey);
|
|
229
255
|
document.removeEventListener('click', this.handleOutsideAccessibilityClick);
|
|
230
256
|
document.removeEventListener('click', this.handleOutsideMegaMenuClick);
|
|
257
|
+
window.removeEventListener('resize', this.alignMegaPanel);
|
|
231
258
|
this.lockPageScroll(false);
|
|
232
259
|
}
|
|
233
260
|
// While the side menu is open, the page underneath must not scroll; the menu itself still does.
|
|
@@ -355,7 +382,7 @@ export class DdaHeader {
|
|
|
355
382
|
const otherMenuItems = parseJsonProp(this.otherMenuItems, 'other-menu-items');
|
|
356
383
|
// The transparent style is opt-in at page level (<body class="transparent">);
|
|
357
384
|
// CSS shows the white or colored logo to match.
|
|
358
|
-
return (h("header", { key: '
|
|
385
|
+
return (h("header", { key: '4166148b638b5e2fad023bc731a70604948c076a', class: "dda-header" }, h("div", { key: '33a4187257a199a0f672be54eabba721a11c2b6c', class: "dda-head-logo" }, h("a", { key: '24df0280d4d187cc7e565af5241ac1890281ab17', href: this.firstLogoHref, class: "govt-logo" }, h("img", { key: 'a84d3ea3e314193e1e66b5fd7acf36feab7b4924', class: "logo-colored", src: this.firstLogoSrc, alt: this.firstLogoAlt }), h("img", { key: '185e938575df4a929ff0086465a3b900843ad9f6', class: "logo-white", src: this.firstLogoWhiteSrc || this.firstLogoSrc, alt: this.firstLogoAlt })), h("a", { key: '2a2b95b90b716f6779245674c886929cd83071bf', href: this.secondLogoHref, class: "entt-logo" }, h("img", { key: '49d7c852579fc7571a50df0681d8c53ae1d0748b', class: "logo-colored", src: this.secondLogoSrc, alt: this.secondLogoAlt }), h("img", { key: '0d2d25164e78d0dd1e68a6815286eea306c9a1ef', class: "logo-white", src: this.secondLogoWhiteSrc || this.secondLogoSrc, alt: this.secondLogoAlt }))), h("div", { key: '04ff40fc463d14575a7fbccaeb694a530e9910b3', class: "dda-menu-container" }, h("div", { key: '9ddb1a5f1fe4ed9d2fa2cbb4840f021edc4740f7', class: "dda-main-navigation" }, h("div", { key: '064e5cb5dbefedfd96d11e857a901cb8fda6642a', class: `dda-menu-overley ${this.isMenuOpen ? 'show-overley' : ''}`, onClick: this.toggleMenu }), h("div", { key: '8dfcf407630d14c48dad691bed1aea6e43d13b27', class: "hamburger-menu", onClick: this.toggleMenu }, h("dda-tooltip", { key: 'bb377ca55af9ae590276751820e2c6d8222728fb', title_text: this.tooltip(this.menu_button_label, 'Menu'), position: "top", class: "d-block" }, h("button", { key: '7eb8a8e5e90524906f0a6cdbf99454a603e6e98a', type: "button", class: "hamburger-menu-btn", name: this.hamburger_menu_button_name }, h("span", { key: 'cf71b54086338b74b6a379df7ea8ad089133a569', class: "hamburger-line" }), h("span", { key: '84bbc56525b10766c668d9d575b3cd5e0f997e3d', class: "hamburger-menu-text" }, this.menu_button_label)))), h("div", { key: 'ac7f002f66078d11502cd2a32123df76921edb0a', class: "dda-sidemenu", style: { display: this.isMenuOpen ? 'block' : '', insetInlineStart: this.isMenuOpen ? '0px' : '' } }, h("div", { key: 'c1ed9de410c09168662a7849d1ce5c75f30fdc28', class: "dda-sidemenu-content" }, this.text(this.sideMainMenuTitle, 'Quick Links') && h("p", { key: 'b0180f6687c4d4230ca7c652c6432235ff0e4ae8', class: "dda-side-nav-title" }, this.text(this.sideMainMenuTitle, 'Quick Links')), h("ul", { key: 'bc1c2890d58bf2b6e19f3bb7a6a448bd1b384695', class: "main_side_menu" }, sideMenuItems.map((menu, index) => {
|
|
359
386
|
const currentIndex = `menu-${index}`;
|
|
360
387
|
return (h("li", { key: currentIndex }, h("a", { href: menu.href, class: menu.subMenu && menu.subMenu.length > 0 ? 'showSub' : '', onClick: (e) => {
|
|
361
388
|
if (menu.subMenu && menu.subMenu.length > 0) {
|
|
@@ -364,13 +391,13 @@ export class DdaHeader {
|
|
|
364
391
|
}
|
|
365
392
|
} }, menu.label), this.renderSubMenu(menu.subMenu, currentIndex)));
|
|
366
393
|
})), !this.hideOtherMenu && otherMenuItems.length > 0 && [
|
|
367
|
-
this.sideOtherMenuTitle && h("p", { key: '
|
|
368
|
-
h("ul", { key: '
|
|
369
|
-
]), h("div", { key: '
|
|
394
|
+
this.sideOtherMenuTitle && h("p", { key: 'ce9d65d46e2680c739e1c21be91ebcb8e6be9e0c', class: "dda-side-nav-title" }, this.sideOtherMenuTitle),
|
|
395
|
+
h("ul", { key: '371f96c1c9d932c4a8422788fe6f17001e69ce91', class: "main_side_menu" }, otherMenuItems.map((item, index) => (h("li", { key: `other-${index}` }, h("a", { href: item.href, class: item.active === 'true' ? 'active' : '', "aria-current": item.active === 'true' ? 'page' : undefined }, item.label))))),
|
|
396
|
+
]), h("div", { key: '707b9ab4590de4b4c3f74e753f83814f7a10122d', class: "dda-sidemenu-bottom" }, h("div", { key: '0c3e44aa26db13ef7119d0aee454509e0222c619', class: "dda-sidemenu-gov-logo" }, h("a", { key: '0310a980def79ca8653d1874d8e4c55f1e127e21', href: this.firstLogoHref, class: "govt-logo mb-2" }, h("img", { key: '0e8ab18254b13924c1189e34f5c28c922263f7ab', class: "", src: this.firstLogoSrc, alt: this.firstLogoAlt }))), h("div", { key: '4882ea55c0bf86829e16815cd67c9639183df336', class: "dda-toolbar-menu-sidemenu" }, h("ul", { key: '150138beb313bcf1b32a9be2eb2efd7523b05336' }, h("li", { key: '774a7192032f2dbc79688cd0cf2a471f1caabd4b' }, this.renderAccessibilityButton('mobile')), this.languageLabel && (h("li", { key: '77fed83ba8e7673cd2bb98ab3d789bde40741c4b' }, h("button", { key: '8723a033a5ba3381726ef2ad4a9236010f9e4262', name: this.language_button_name, class: "tool-btn", type: "button", lang: this.language_lang, onClick: this.languagehandler }, this.languageLabel))), this.showLogin && (h("li", { key: 'af3a5442a79a0bcece9abc6138261d3cf1cf703f' }, h("dda-link-button", { key: '96830280e4b5a17c63d35ef2c82ad74141e826e8', button_color: "onsurface-secondary", start_icon: this.loginIcon || 'sentiment_satisfied', custom_class: "tool-btn", href: this.loginLink, button_shape: "circle", size: "sm" }, this.loginLabel)))))), h("button", { key: '1a8ce373845ab777d12a6a2c2e1d31a04f6a482e', name: this.close_menu_button_name, class: "close-btn side-nav-close-btn", "aria-label": "Close Sidebar", onClick: this.toggleMenu }, h("i", { key: 'fe0f3f9f2b039c404fe1d8068aebad8850fc06ed', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")), this.usePredesignedAccessibilityMenu && (h("div", { key: '6e4a8d9683b4345b0f340cb8e5e4180e039e9b3e', class: "dda-accessibility hide-accessibility mobile-accessibility", style: { display: this.isAccessibiltyOpen ? 'block' : 'none' } }, this.renderAccessibilityColumns('mobile'), h("button", { key: '4701a3079d5931aeaf412467e15c498f147cfde8', name: this.close_accessibility_button_name, class: "close-btn close_accessibility", "aria-label": "Close Accessibility", onClick: this.toggleAccessibilty }, h("i", { key: '4933e3b8cea897e00f44429af1f640e3480deae4', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))))), h("div", { key: '75207755ba8dd832cc51da56c3ea07fede500616' }, h("ul", { key: '028adefe1f14c5864d356ad74db76eeecece4815', class: "dda-mega-menu" }, quickLinks.map((link, index) => {
|
|
370
397
|
const hasSub = link.kind !== 'link';
|
|
371
398
|
const isOpen = this.activeMenuIndex === index;
|
|
372
399
|
return (h("li", { key: index }, h("a", { href: hasSub ? '#' : link.href, onClick: hasSub ? (e) => this.toggleSubMenu(index, e) : undefined, class: { showSub: hasSub, icon_arrow: hasSub && isOpen, active: link.active }, "aria-expanded": hasSub ? String(isOpen) : undefined, "aria-controls": hasSub ? this.menuPanelId(index) : undefined, "aria-current": link.active && !hasSub ? 'page' : undefined }, link.label), link.kind === 'dropdown' && this.renderDropdown(link, index), link.kind === 'mega' && this.renderMega(link, index)));
|
|
373
|
-
})))), h("div", { key: '
|
|
400
|
+
})))), h("div", { key: '892a88e0724582f68b4ea5aaf2f88352a8c221a1', class: "dda-mobile-entt-logo" }, h("a", { key: '46629528362e6f6112f3dd56e54963aac26fad82', href: this.secondLogoHref, class: "entt-logo" }, h("img", { key: 'ffa24d5faa94113acdd50111112c39cd52d51de2', class: "logo-colored", src: this.secondLogoSrc, alt: this.secondLogoAlt }), h("img", { key: '00526a25974848a3d6bd9d77e9dd5210ccf8e4ec', class: "logo-white", src: this.secondLogoWhiteSrc, alt: this.secondLogoAlt }))), h("div", { key: '3dadd96ef14174424239d959826dc337eebec640', class: "dda-mobile-search" }, this.mobileMenuSearchUrl ? (h("a", { id: this.mobileMenuSearchId, href: this.mobileMenuSearchUrl, class: "tool-btn" }, h("span", { class: "visually-hidden" }, this.searchText || 'Search'), h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "search"))) : (h("button", { id: this.mobileMenuSearchId, name: this.search_button_name, class: "tool-btn", type: "button", "aria-expanded": this.isSearchOpen ? 'true' : 'false', "aria-controls": `${this.searchId}-mobile-panel`, onClick: this.isSearchOpen ? this.closeMobileSearch : this.openMobileSearch, ref: el => (this.mobileSearchButton = el) }, h("span", { class: "visually-hidden" }, this.searchText || 'Search'), h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "search")))), !this.mobileMenuSearchUrl && (h("div", { key: '968504d4e7fc5c79aeea8e560fff1eb6630cfe72', id: `${this.searchId}-mobile-panel`, class: "dda-mobile-search-panel", hidden: !this.isSearchOpen }, h("form", { key: '97d4feea2bdc9d72519063feade0a5d27a0b00fe', class: "dda-mobile-search-form", role: "search", method: "get", action: this.search_action, onSubmit: this.handleSearchSubmit }, this.renderSearchInput(`${this.searchId}-mobile`, el => (this.mobileSearchInput = el)), h("button", { key: 'd2a7313b24f8a0d3b7a181ef0c7cfa523159ed22', type: "button", class: "dda-mobile-search-close", "aria-label": "Close search", onClick: this.closeMobileSearch }, h("i", { key: '23ac9dc97a7159c5b766569f1835b9be4a154584', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))))), h("div", { key: '7490ae072c72e6e1812c595db4c0042c6d1937a4', class: "dda-toolbar-menu" }, h("ul", { key: '04e81796f843405257ccdf66f9c0f0ebf9437240' }, h("li", { key: 'bfad5cd33d52c682a47f8d7b884b4c4a2dbf2cf9' }, h("dda-tooltip", { key: '8d666df946e9b10247bb7a708ffa76e884b7ff1c', title_text: this.tooltip(this.search_tooltip, 'Search'), description: "", position: "top" }, h("form", { key: '63922844ea9bd96c9f8ecd2315c593791e3a772d', class: "dda-search dda-btn btn-color-onsurface-secondary btn-size-sm btn-shape-circle tool-btn", role: "search", method: "get", action: this.search_action, onSubmit: this.handleSearchSubmit }, this.renderSearchInput(this.searchId)))), h("li", { key: 'b45a3fd50ea3c079623e7290ac18b8efa48a739c' }, h("dda-tooltip", { key: 'f49df6bfa02fd5008f4d63b7efd6ad3c71c775ee', title_text: this.tooltip(this.accessibility_tooltip, 'Accessibility'), position: "top" }, this.renderAccessibilityButton('desktop')), this.usePredesignedAccessibilityMenu && (h("div", { key: '621db009c536e2f413bfdd30b881e6b1cc15cbc5', class: "dda-accessibility-wrap" }, h("div", { key: '31bf4e453eabec70901eb2ee2d45f80ce6b2ce14', class: "dda-accessibility hide-accessibility", style: { display: this.isAccessibiltyOpen ? 'block' : 'none' } }, this.renderAccessibilityColumns('desktop'), h("button", { key: 'e3928960e4689ee79a606ea63ee30ed5c51b310f', name: this.close_accessibility_button_name, class: "close-btn close_accessibility", "aria-label": "Close Sidebar", onClick: this.toggleAccessibilty }, h("i", { key: 'd527f84c3e2b272700799f74ec42d48bf4e17fbd', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")))))), this.languageLabel && (h("li", { key: 'b6238dd093ba9f8365bc2fe5f12e276299d996fb' }, h("dda-tooltip", { key: '7e4414627a4a0ec4bdf865f8f15508fb691617ab', title_text: this.tooltip(this.language_tooltip, 'Language'), position: "top" }, h("dda-button", { key: '55f0a11dd28e5f53f01301a50bfb137951252d53', button_color: "onsurface-secondary", custom_class: "tool-btn", button_shape: "circle", size: "sm", lang: this.language_lang, onClick: this.languagehandler }, this.languageLabel)))), this.showLogin && (h("li", { key: '044694bac69173a3528f3adbb486c137c8931d27' }, h("dda-tooltip", { key: '9ca59e7d94954523494e25384f02affc9bcbcac0', title_text: this.tooltip(this.login_tooltip, this.loginLabel), position: "top" }, h("dda-link-button", { key: 'cb69533de8ef0cfcc19afcf998829c989b75e662', button_color: "onsurface-secondary", start_icon: this.loginIcon || 'sentiment_satisfied', custom_class: "tool-btn", href: this.loginLink, button_shape: "circle", size: "sm" }, this.loginLabel)))))))));
|
|
374
401
|
}
|
|
375
402
|
static get is() { return "dda-header"; }
|
|
376
403
|
static get originalStyleUrls() {
|
|
@@ -20,6 +20,10 @@ export class DdaHomeBanner {
|
|
|
20
20
|
this.slide_button_label = 'Go to slide';
|
|
21
21
|
/** Template for the screen-reader slide announcement. `{current}` and `{total}` are substituted. */
|
|
22
22
|
this.slide_status_label = 'Slide {current} of {total}';
|
|
23
|
+
/** Shows the decorative scroll icon at the end of the slide controls (hidden at 992px and below unless `show_scroll_icon_mobile` is set). Default: `true`. */
|
|
24
|
+
this.show_scroll_icon = true;
|
|
25
|
+
/** Also shows the scroll icon at 992px and below. Default: `false`. */
|
|
26
|
+
this.show_scroll_icon_mobile = false;
|
|
23
27
|
this.currentSlide = 0;
|
|
24
28
|
this.slides = [];
|
|
25
29
|
this.isPaused = false;
|
|
@@ -182,10 +186,10 @@ export class DdaHomeBanner {
|
|
|
182
186
|
render() {
|
|
183
187
|
const total = this.slides.length;
|
|
184
188
|
const showAutoplayToggle = this.autoplay && !this.reducedMotion;
|
|
185
|
-
return (h(Host, { key: '
|
|
189
|
+
return (h(Host, { key: '44c4c55938a8ba6d6974780e92cfdc02479afb8a', class: "home-slider", role: "region", "aria-roledescription": "carousel", "aria-label": this.aria_label }, h("div", { key: '18314d56093e75acab6394769984de61cc133e4c', class: "dda-slider-container" }, h("div", { key: '6dca34903300349e02527a809be5cae94878831d', class: "dda-slides", style: { width: total * 100 + 'vw', left: this.currentSlide * -100 + '%' } }, h("slot", { key: 'a9df2fcbbcdaba8f79f29fa8ff3cbcd163eaa9d4' })), h("div", { key: '37a9054da4e5dcad38d83a8decd80635ef26cdf2', class: 'slider-nav' }, showAutoplayToggle && (h("button", { key: '94718488655c71f3a38baabadb3bfe945cf1e7ca', class: "pause", type: "button", "aria-label": this.isPaused ? this.play_button_label : this.pause_button_label, onClick: this.togglePause }, h("i", { key: 'ff629d0378a36110f00bb8f17f358a37dd3cd7d0', class: "material-icons", "aria-hidden": "true" }, this.isPaused ? 'play_arrow' : 'pause'))), h("button", { key: '76227e52e94f08a416b56680f61ac5a76c6ef1ba', class: "prev", type: "button", "aria-label": this.previous_button_label, onClick: () => this.prevSlide() }, h("i", { key: '19f8f4da320613319482f4da4e4367a0ff1ea887', class: "material-icons", "aria-hidden": "true" }, "chevron_left")), h("ul", { key: '32ae627535ab523d85ad33d658523095f9ff9e45' }, this.slides.map((_, index) => {
|
|
186
190
|
const isCurrent = this.currentSlide === index;
|
|
187
191
|
return (h("li", null, h("button", { type: "button", class: isCurrent ? 'dots active' : 'dots', "aria-label": `${this.slide_button_label} ${index + 1}`, "aria-current": isCurrent ? 'true' : null, onClick: () => this.setSlide(index) })));
|
|
188
|
-
})), h("button", { key: '
|
|
192
|
+
})), h("button", { key: '60ce3c8766da6e41c43fed8b2896289592b2b21f', class: "next", type: "button", "aria-label": this.next_button_label, onClick: () => this.nextSlide() }, h("i", { key: 'ce7a17d796ae162e53b3ed26aea0b48a3be907f1', class: "material-icons", "aria-hidden": "true" }, "chevron_right")), this.show_scroll_icon && (h("div", { key: '2280a7a5818da850449da17792d5d6d9fd5740fe', class: { 'dda-mouse-scroll': true, 'dda-mouse-scroll-mobile': this.show_scroll_icon_mobile }, "aria-hidden": "true" }, h("dda-scroll-icon", { key: 'd0f4be0b232c881c71c2c3469c47c019de021acf', scroll_icon_size: "sm", scroll_icon_color: "white" })))), h("div", { key: '1438d05ca350cd7a98c343bd6dd3b549fbfa75f3', class: "visually-hidden", role: "status", "aria-live": this.isRotating ? 'off' : 'polite' }, total ? this.statusText(this.currentSlide + 1, total) : ''))));
|
|
189
193
|
}
|
|
190
194
|
static get is() { return "dda-home-banner"; }
|
|
191
195
|
static get originalStyleUrls() {
|
|
@@ -379,6 +383,46 @@ export class DdaHomeBanner {
|
|
|
379
383
|
"reflect": false,
|
|
380
384
|
"attribute": "slide_status_label",
|
|
381
385
|
"defaultValue": "'Slide {current} of {total}'"
|
|
386
|
+
},
|
|
387
|
+
"show_scroll_icon": {
|
|
388
|
+
"type": "boolean",
|
|
389
|
+
"mutable": false,
|
|
390
|
+
"complexType": {
|
|
391
|
+
"original": "boolean",
|
|
392
|
+
"resolved": "boolean",
|
|
393
|
+
"references": {}
|
|
394
|
+
},
|
|
395
|
+
"required": false,
|
|
396
|
+
"optional": false,
|
|
397
|
+
"docs": {
|
|
398
|
+
"tags": [],
|
|
399
|
+
"text": "Shows the decorative scroll icon at the end of the slide controls (hidden at 992px and below unless `show_scroll_icon_mobile` is set). Default: `true`."
|
|
400
|
+
},
|
|
401
|
+
"getter": false,
|
|
402
|
+
"setter": false,
|
|
403
|
+
"reflect": false,
|
|
404
|
+
"attribute": "show_scroll_icon",
|
|
405
|
+
"defaultValue": "true"
|
|
406
|
+
},
|
|
407
|
+
"show_scroll_icon_mobile": {
|
|
408
|
+
"type": "boolean",
|
|
409
|
+
"mutable": false,
|
|
410
|
+
"complexType": {
|
|
411
|
+
"original": "boolean",
|
|
412
|
+
"resolved": "boolean",
|
|
413
|
+
"references": {}
|
|
414
|
+
},
|
|
415
|
+
"required": false,
|
|
416
|
+
"optional": false,
|
|
417
|
+
"docs": {
|
|
418
|
+
"tags": [],
|
|
419
|
+
"text": "Also shows the scroll icon at 992px and below. Default: `false`."
|
|
420
|
+
},
|
|
421
|
+
"getter": false,
|
|
422
|
+
"setter": false,
|
|
423
|
+
"reflect": false,
|
|
424
|
+
"attribute": "show_scroll_icon_mobile",
|
|
425
|
+
"defaultValue": "false"
|
|
382
426
|
}
|
|
383
427
|
};
|
|
384
428
|
}
|