@dubai-design-system/components-js 3.12.16 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +95 -0
- package/dist/cjs/dda-accordion.cjs.entry.js +4 -4
- package/dist/cjs/dda-alert.cjs.entry.js +11 -4
- package/dist/cjs/dda-attach-file.cjs.entry.js +19 -4
- package/dist/cjs/dda-avatar.cjs.entry.js +12 -6
- package/dist/cjs/dda-banner.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/dda-chip.cjs.entry.js +4 -4
- package/dist/cjs/dda-credit-card.cjs.entry.js +3 -3
- package/dist/cjs/dda-creditcard-field.cjs.entry.js +22 -4
- package/dist/cjs/dda-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/dda-footer.cjs.entry.js +5 -3
- package/dist/cjs/dda-header.cjs.entry.js +3 -3
- package/dist/cjs/dda-home-banner.cjs.entry.js +172 -13
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +4 -4
- package/dist/cjs/dda-input.cjs.entry.js +21 -4
- package/dist/cjs/dda-link-button_2.cjs.entry.js +7 -7
- package/dist/cjs/dda-number-field.cjs.entry.js +19 -4
- package/dist/cjs/dda-pagination.cjs.entry.js +4 -4
- package/dist/cjs/dda-phonefield.cjs.entry.js +22 -4
- package/dist/cjs/dda-progressbar.cjs.entry.js +5 -4
- package/dist/cjs/dda-range-slider.cjs.entry.js +4 -4
- package/dist/cjs/dda-search-input.cjs.entry.js +23 -6
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js +30 -5
- package/dist/cjs/dda-select.cjs.entry.js +114 -5
- package/dist/cjs/dda-sticky-footer.cjs.entry.js +5 -3
- package/dist/cjs/dda-tabs.cjs.entry.js +3 -3
- package/dist/cjs/dda-textarea.cjs.entry.js +74 -5
- package/dist/cjs/dda-toggle.cjs.entry.js +3 -3
- package/dist/cjs/dda-tooltip.cjs.entry.js +29 -4
- 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 +3 -4
- package/dist/cjs/index-DGHrEPBX.js +1986 -0
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/collection/components/dda-accordion/dda-accordion.css +10 -0
- package/dist/collection/components/dda-accordion/dda-accordion.js +1 -1
- package/dist/collection/components/dda-alert/dda-alert.js +8 -1
- package/dist/collection/components/dda-attach-file/dda-attach-file.js +16 -1
- package/dist/collection/components/dda-avatar/dda-avatar.css +25 -1
- package/dist/collection/components/dda-avatar/dda-avatar.js +8 -2
- package/dist/collection/components/dda-chip/dda-chip.css +14 -1
- package/dist/collection/components/dda-chip/dda-chip.js +1 -1
- package/dist/collection/components/dda-credit-card/dda-credit-card.css +8 -2
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +39 -1
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js +9 -0
- package/dist/collection/components/dda-footer/dda-footer.js +3 -4
- package/dist/collection/components/dda-header/dda-header.css +36 -0
- package/dist/collection/components/dda-header/dda-header.js +1 -1
- package/dist/collection/components/dda-home-banner/dda-home-banner.js +358 -11
- package/dist/collection/components/dda-home-banner/dda-home-banner.stories.js +79 -49
- package/dist/collection/components/dda-home-banner/home-banner.css +45 -4
- package/dist/collection/components/dda-input/dda-input.js +18 -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 +16 -1
- package/dist/collection/components/dda-pagination/dda-pagination.css +9 -1
- package/dist/collection/components/dda-pagination/dda-pagination.js +1 -1
- package/dist/collection/components/dda-phonefield/dda-phonefield.js +39 -1
- package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js +11 -1
- package/dist/collection/components/dda-progressbar/dda-progressbar.css +4 -0
- package/dist/collection/components/dda-progressbar/dda-progressbar.js +22 -1
- package/dist/collection/components/dda-progressbar/dda-progressbar.stories.js +6 -0
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +26 -2
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +1 -1
- package/dist/collection/components/dda-range-slider/dda-range-slider.css +18 -2
- package/dist/collection/components/dda-range-slider/dda-range-slider.js +2 -2
- package/dist/collection/components/dda-search-input/dda-search-input.js +38 -2
- package/dist/collection/components/dda-search-input/dda-search-input.stories.js +9 -0
- package/dist/collection/components/dda-select/dda-select.js +113 -2
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +3 -4
- package/dist/collection/components/dda-tabs/dda-tabs.js +1 -1
- package/dist/collection/components/dda-textarea/dda-textarea.js +71 -2
- package/dist/collection/components/dda-toggle/dda-toggle.js +1 -1
- package/dist/collection/components/dda-tooltip/dda-tooltip.css +17 -1
- package/dist/collection/components/dda-tooltip/dda-tooltip.js +31 -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 +89 -3
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.js +21 -1
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.css +15 -3
- 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/dda-button.css +49 -18
- package/dist/collection/global/global.css +26 -2
- package/dist/collection/global/input.css +69 -8
- package/dist/collection/utils/contrast.js +38 -0
- 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.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-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-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-BaW1ewxd.js +1 -0
- package/dist/components/p-C2ufT7tL.js +1 -0
- package/dist/components/p-CbUih1OY.js +1 -0
- package/dist/components/p-Cgvws3Uk.js +1 -0
- package/dist/components/p-HakkUtRK.js +1 -0
- package/dist/dda/dda.css +20 -0
- package/dist/dda/dda.esm.js +1 -1
- package/dist/dda/p-0b56fbcb.entry.js +1 -0
- package/dist/dda/p-1df4494d.entry.js +1 -0
- package/dist/dda/p-207c4034.entry.js +1 -0
- package/dist/dda/p-23c6a709.entry.js +1 -0
- package/dist/dda/p-2c0f4e9e.entry.js +1 -0
- package/dist/dda/p-2e4e47ec.entry.js +1 -0
- package/dist/dda/p-3b9a784a.entry.js +1 -0
- package/dist/dda/p-4400194a.entry.js +1 -0
- package/dist/dda/p-48f14688.entry.js +1 -0
- package/dist/dda/p-4aef15b0.entry.js +1 -0
- package/dist/dda/{p-0db613dc.entry.js → p-5d0b1fea.entry.js} +1 -1
- package/dist/dda/p-6150d6ca.entry.js +1 -0
- package/dist/dda/p-6def14a1.entry.js +1 -0
- package/dist/dda/p-7c8b1191.entry.js +1 -0
- package/dist/dda/p-7eb8942f.entry.js +1 -0
- package/dist/dda/p-82dc3344.entry.js +1 -0
- package/dist/dda/p-88c5aa03.entry.js +1 -0
- package/dist/dda/{p-872e0f49.entry.js → p-8bbd3b3b.entry.js} +1 -1
- package/dist/dda/p-96aaf2c6.entry.js +1 -0
- package/dist/dda/p-99e59635.entry.js +1 -0
- package/dist/dda/p-CfK_KUZU.js +2 -0
- package/dist/dda/p-b6096645.entry.js +1 -0
- package/dist/dda/p-b68b2d3a.entry.js +1 -0
- package/dist/dda/p-c39fc443.entry.js +1 -0
- package/dist/dda/p-cf6c7bc5.entry.js +1 -0
- package/dist/dda/p-d096ea61.entry.js +1 -0
- package/dist/dda/p-d5274874.entry.js +1 -0
- package/dist/dda/p-d606adfc.entry.js +1 -0
- package/dist/dda/p-da82dc4c.entry.js +1 -0
- package/dist/dda/p-dc72bfd8.entry.js +1 -0
- package/dist/dda/p-dec1b61c.entry.js +1 -0
- package/dist/dda/p-eb2d0c46.entry.js +1 -0
- package/dist/dda/p-f9c681e4.entry.js +1 -0
- package/dist/dda/p-fd637136.entry.js +1 -0
- package/dist/esm/dda-accordion.entry.js +4 -4
- package/dist/esm/dda-alert.entry.js +11 -4
- package/dist/esm/dda-attach-file.entry.js +19 -4
- package/dist/esm/dda-avatar.entry.js +12 -6
- package/dist/esm/dda-banner.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/dda-chip.entry.js +4 -4
- package/dist/esm/dda-credit-card.entry.js +3 -3
- package/dist/esm/dda-creditcard-field.entry.js +22 -4
- package/dist/esm/dda-dropdown.entry.js +3 -3
- package/dist/esm/dda-footer.entry.js +5 -3
- package/dist/esm/dda-header.entry.js +3 -3
- package/dist/esm/dda-home-banner.entry.js +172 -13
- package/dist/esm/dda-horizontal-stepper.entry.js +4 -4
- package/dist/esm/dda-input.entry.js +21 -4
- package/dist/esm/dda-link-button_2.entry.js +7 -7
- package/dist/esm/dda-number-field.entry.js +19 -4
- package/dist/esm/dda-pagination.entry.js +4 -4
- package/dist/esm/dda-phonefield.entry.js +22 -4
- package/dist/esm/dda-progressbar.entry.js +5 -4
- package/dist/esm/dda-range-slider.entry.js +4 -4
- package/dist/esm/dda-search-input.entry.js +23 -6
- package/dist/esm/dda-segmented-tabs.entry.js +30 -5
- package/dist/esm/dda-select.entry.js +114 -5
- package/dist/esm/dda-sticky-footer.entry.js +5 -3
- package/dist/esm/dda-tabs.entry.js +3 -3
- package/dist/esm/dda-textarea.entry.js +74 -5
- package/dist/esm/dda-toggle.entry.js +3 -3
- package/dist/esm/dda-tooltip.entry.js +29 -4
- 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 -4
- package/dist/esm/index-CfK_KUZU.js +1976 -0
- package/dist/esm/loader.js +3 -4
- package/dist/types/components/dda-alert/dda-alert.d.ts +1 -0
- package/dist/types/components/dda-attach-file/dda-attach-file.d.ts +3 -0
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.d.ts +4 -0
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.stories.d.ts +6 -0
- package/dist/types/components/dda-home-banner/dda-home-banner.d.ts +46 -1
- package/dist/types/components/dda-home-banner/dda-home-banner.stories.d.ts +27 -3
- package/dist/types/components/dda-input/dda-input.d.ts +3 -0
- package/dist/types/components/dda-number-field/dda-number-field.d.ts +3 -0
- package/dist/types/components/dda-phonefield/dda-phonefield.d.ts +4 -0
- package/dist/types/components/dda-phonefield/dda-phonefield.stories.d.ts +6 -0
- package/dist/types/components/dda-progressbar/dda-progressbar.d.ts +1 -0
- package/dist/types/components/dda-progressbar/dda-progressbar.stories.d.ts +7 -0
- package/dist/types/components/dda-search-input/dda-search-input.d.ts +4 -0
- package/dist/types/components/dda-search-input/dda-search-input.stories.d.ts +6 -0
- package/dist/types/components/dda-select/dda-select.d.ts +13 -0
- package/dist/types/components/dda-textarea/dda-textarea.d.ts +6 -0
- package/dist/types/components/dda-tooltip/dda-tooltip.d.ts +6 -0
- package/dist/types/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.d.ts +12 -0
- package/dist/types/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.d.ts +12 -0
- package/dist/types/components.d.ts +171 -1
- package/dist/types/utils/contrast.d.ts +19 -0
- package/package.json +23 -6
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/index-B79qki6G.js +0 -1975
- package/dist/components/p-BId7flZ3.js +0 -1
- package/dist/components/p-BvP8lGT3.js +0 -1
- package/dist/components/p-CAZwi69K.js +0 -1
- package/dist/components/p-DlU_OvNg.js +0 -1
- package/dist/components/p-DywjKcXy.js +0 -1
- package/dist/dda/p-01b5288e.entry.js +0 -1
- package/dist/dda/p-05909550.entry.js +0 -1
- package/dist/dda/p-290878ba.entry.js +0 -1
- package/dist/dda/p-2a027297.entry.js +0 -1
- package/dist/dda/p-2be2258d.entry.js +0 -1
- package/dist/dda/p-320daf89.entry.js +0 -1
- package/dist/dda/p-3b5501d5.entry.js +0 -1
- package/dist/dda/p-41d48ef1.entry.js +0 -1
- package/dist/dda/p-49efa7b5.entry.js +0 -1
- package/dist/dda/p-4d544d34.entry.js +0 -1
- package/dist/dda/p-5a8d0718.entry.js +0 -1
- package/dist/dda/p-687993df.entry.js +0 -1
- package/dist/dda/p-72cf45ff.entry.js +0 -1
- package/dist/dda/p-74136148.entry.js +0 -1
- package/dist/dda/p-7b9a03b8.entry.js +0 -1
- package/dist/dda/p-813378ca.entry.js +0 -1
- package/dist/dda/p-81e2a31e.entry.js +0 -1
- package/dist/dda/p-9ada3a28.entry.js +0 -1
- package/dist/dda/p-9bb057e8.entry.js +0 -1
- package/dist/dda/p-9eb37a5b.entry.js +0 -1
- package/dist/dda/p-CnOk80gh.js +0 -2
- package/dist/dda/p-DQuL1Twl.js +0 -1
- package/dist/dda/p-ad2eb016.entry.js +0 -1
- package/dist/dda/p-bd34eb45.entry.js +0 -1
- package/dist/dda/p-d8b2f59d.entry.js +0 -1
- package/dist/dda/p-da8e1d19.entry.js +0 -1
- package/dist/dda/p-dd16275a.entry.js +0 -1
- package/dist/dda/p-de5a5f95.entry.js +0 -1
- package/dist/dda/p-e3c3c3c8.entry.js +0 -1
- package/dist/dda/p-ebaf8588.entry.js +0 -1
- package/dist/dda/p-efdf9aba.entry.js +0 -1
- package/dist/dda/p-f135fada.entry.js +0 -1
- package/dist/dda/p-f3a93726.entry.js +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/index-CnOk80gh.js +0 -1966
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
3
|
+
var index = require('./index-DGHrEPBX.js');
|
|
5
4
|
|
|
6
5
|
const defineCustomElements = async (win, options) => {
|
|
7
6
|
if (typeof window === 'undefined') return undefined;
|
|
8
|
-
await
|
|
9
|
-
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\"],\"secondLogoSrc\":[1,\"second-logo-src\"],\"secondLogoWhiteSrc\":[1,\"second-logo-white-src\"],\"secondLogoAlt\":[1,\"second-logo-alt\"],\"loginLink\":[1,\"login-link\"],\"sideMenuItems\":[1,\"side-menu-items\"],\"quickLinks\":[1,\"quick-links\"],\"readSpeakerLink\":[1,\"read-speaker-link\"],\"searchText\":[1,\"search-text\"],\"loginIcon\":[1,\"login-icon\"],\"loginText\":[1,\"login-text\"],\"language_text\":[1],\"hamburger_menu_button_name\":[1],\"accessibility_button_name\":[1],\"search_button_name\":[1],\"search_input_name\":[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],\"openMenus\":[32],\"activeMenuIndex\":[32]}]]],[\"dda-footer.cjs\",[[1,\"dda-footer\",{\"footerTitle\":[1,\"footer-title\"],\"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\"],\"footerSections\":[1,\"footer-sections\"],\"socialIcons\":[1,\"social-icons\"]}]]],[\"dda-sticky-footer.cjs\",[[1,\"dda-sticky-footer\",{\"happinessIconHref\":[1,\"happiness-icon-href\"],\"happinessIconSrc\":[1,\"happiness-icon-src\"],\"happinessIconAlt\":[1,\"happiness-icon-alt\"],\"happinessIconTooltip\":[1,\"happiness-icon-tooltip\"],\"accessibilityIconHref\":[1,\"accessibility-icon-href\"],\"accessibilityIconSrc\":[1,\"accessibility-icon-src\"],\"accessibilityIconAlt\":[1,\"accessibility-icon-alt\"],\"accessibilityIconTooltip\":[1,\"accessibility-icon-tooltip\"],\"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\"],\"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\"],\"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\"],\"chatIconHref\":[1,\"chat-icon-href\"],\"chatIconSrc\":[1,\"chat-icon-src\"],\"chatIconAlt\":[1,\"chat-icon-alt\"],\"chatIconTooltip\":[1,\"chat-icon-tooltip\"],\"hideMiddleSection\":[4,\"hide-middle-section\"],\"isHidden\":[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]}]]],[\"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\":[1],\"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],\"parsedSlides\":[32]}]]],[\"dda-breadcrumb.cjs\",[[0,\"dda-breadcrumb\",{\"design\":[1],\"separator\":[1],\"custom_class\":[1],\"component_mode\":[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],\"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\":[1],\"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],\"formattedValue\":[32]}]]],[\"dda-dropdown.cjs\",[[0,\"dda-dropdown\",{\"label\":[1],\"options\":[1],\"selected\":[1],\"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],\"isopen\":[32]}]]],[\"dda-home-banner.cjs\",[[260,\"dda-home-banner\",{\"currentSlide\":[32]}]]],[\"dda-horizontal-stepper.cjs\",[[0,\"dda-horizontal-stepper\",{\"steps\":[1],\"current_step\":[2],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]}]]],[\"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]}]]],[\"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],\"is_focused\":[32],\"isCurrencyDropdownOpen\":[32]}]]],[\"dda-pagination.cjs\",[[0,\"dda-pagination\",{\"total_pages\":[2],\"current_page\":[2],\"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]},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],\"phone_input_name\":[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]}]]],[\"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],\"aria_label\":[1],\"button_aria_label\":[1],\"search_input_name\":[1],\"close_button_name\":[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]}]]],[\"dda-select.cjs\",[[0,\"dda-select\",{\"label\":[1],\"options\":[1],\"selected\":[1],\"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]}]]],[\"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]}]]],[\"dda-ui-card.cjs\",[[260,\"dda-ui-card\",{\"type\":[1],\"icon\":[1],\"image\":[1],\"maintitle\":[1],\"subtitle\":[1],\"link\":[1],\"linktext\":[1],\"linkicon\":[1]}]]],[\"dda-vertical-stepper.cjs\",[[0,\"dda-vertical-stepper\",{\"steps\":[1],\"current_Step\":[2,\"current_-step\"],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]}]]],[\"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]}]]]]"), options);
|
|
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\"],\"secondLogoSrc\":[1,\"second-logo-src\"],\"secondLogoWhiteSrc\":[1,\"second-logo-white-src\"],\"secondLogoAlt\":[1,\"second-logo-alt\"],\"loginLink\":[1,\"login-link\"],\"sideMenuItems\":[1,\"side-menu-items\"],\"quickLinks\":[1,\"quick-links\"],\"readSpeakerLink\":[1,\"read-speaker-link\"],\"searchText\":[1,\"search-text\"],\"loginIcon\":[1,\"login-icon\"],\"loginText\":[1,\"login-text\"],\"language_text\":[1],\"hamburger_menu_button_name\":[1],\"accessibility_button_name\":[1],\"search_button_name\":[1],\"search_input_name\":[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],\"openMenus\":[32],\"activeMenuIndex\":[32]}]]],[\"dda-footer.cjs\",[[0,\"dda-footer\",{\"footerTitle\":[1,\"footer-title\"],\"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\"],\"footerSections\":[1,\"footer-sections\"],\"socialIcons\":[1,\"social-icons\"]}]]],[\"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\"],\"accessibilityIconHref\":[1,\"accessibility-icon-href\"],\"accessibilityIconSrc\":[1,\"accessibility-icon-src\"],\"accessibilityIconAlt\":[1,\"accessibility-icon-alt\"],\"accessibilityIconTooltip\":[1,\"accessibility-icon-tooltip\"],\"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\"],\"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\"],\"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\"],\"chatIconHref\":[1,\"chat-icon-href\"],\"chatIconSrc\":[1,\"chat-icon-src\"],\"chatIconAlt\":[1,\"chat-icon-alt\"],\"chatIconTooltip\":[1,\"chat-icon-tooltip\"],\"hideMiddleSection\":[4,\"hide-middle-section\"],\"isHidden\":[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]}]]],[\"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\":[1],\"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],\"parsedSlides\":[32]}]]],[\"dda-breadcrumb.cjs\",[[0,\"dda-breadcrumb\",{\"design\":[1],\"separator\":[1],\"custom_class\":[1],\"component_mode\":[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],\"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\":[1],\"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\":[1],\"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],\"isopen\":[32]}]]],[\"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]}]]],[\"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]}]]],[\"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],\"is_focused\":[32],\"isCurrencyDropdownOpen\":[32]}]]],[\"dda-pagination.cjs\",[[0,\"dda-pagination\",{\"total_pages\":[2],\"current_page\":[2],\"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]},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],\"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],\"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],\"active_index\":[32]}]]],[\"dda-select.cjs\",[[0,\"dda-select\",{\"label\":[1],\"options\":[1],\"selected\":[1],\"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]}]]],[\"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]}]]],[\"dda-ui-card.cjs\",[[260,\"dda-ui-card\",{\"type\":[1],\"icon\":[1],\"image\":[1],\"maintitle\":[1],\"subtitle\":[1],\"link\":[1],\"linktext\":[1],\"linkicon\":[1]}]]],[\"dda-vertical-stepper.cjs\",[[0,\"dda-vertical-stepper\",{\"steps\":[1],\"current_Step\":[2,\"current_-step\"],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]}]]],[\"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);
|
|
10
9
|
};
|
|
11
10
|
|
|
12
11
|
exports.setNonce = index.setNonce;
|
|
@@ -17,6 +17,16 @@
|
|
|
17
17
|
justify-content: space-between;
|
|
18
18
|
align-items: center;
|
|
19
19
|
cursor: pointer;
|
|
20
|
+
width: 100%;
|
|
21
|
+
border: none;
|
|
22
|
+
margin: 0;
|
|
23
|
+
padding: 0;
|
|
24
|
+
background: none;
|
|
25
|
+
font: inherit;
|
|
26
|
+
color: inherit;
|
|
27
|
+
text-align: left;
|
|
28
|
+
appearance: none;
|
|
29
|
+
-webkit-appearance: none;
|
|
20
30
|
}
|
|
21
31
|
.accordion-header .header-content {
|
|
22
32
|
display: flex;
|
|
@@ -12,7 +12,7 @@ export class DdaAccordion {
|
|
|
12
12
|
this.isOpen = !this.isOpen;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '08be09ae3f5cbbf82ea7f12bbf169356b887c273' }, h("div", { key: '2a4b699039058216b5dd80bd115ba2bc2b4fdc15', class: `accordion-container ${this.design} ${this.custom_class} ${this.component_mode}` }, h("
|
|
15
|
+
return (h(Host, { key: '08be09ae3f5cbbf82ea7f12bbf169356b887c273' }, h("div", { key: '2a4b699039058216b5dd80bd115ba2bc2b4fdc15', class: `accordion-container ${this.design} ${this.custom_class} ${this.component_mode}` }, h("button", { key: '783e3676ac9fb0a1c548c84ef9ac950349a2aabb', type: "button", class: "accordion-header", onClick: () => this.toggleAccordion(), "aria-expanded": this.isOpen ? 'true' : 'false' }, h("div", { key: '640508d74f4a2b4f17b14a7ec52476a1bb5247d1', class: "header-content" }, h("i", { key: '21353ceba5c415ad802d27d7c7cd8c084aeb4418', class: "material-icons material-symbols-outlined" }, this.accordion_icon), h("span", { key: '8dd2464046d54e74973a4e470318614be15f62c2', class: "header-text" }, this.header_text)), h("i", { key: '30be7c4b25ee370946e4c904d731493edb456fdc', class: `material-icons arrow-icon` }, this.isOpen ? 'keyboard_arrow_up' : 'keyboard_arrow_down')), h("div", { key: '9fcf7217e92e6371bf5a841ccd802e5d7bb186f3', class: this.isOpen ? 'accordion-body' : 'dda-d-none' }, h("p", { key: 'bd8bb3a34ffa0f8bc3cb59c3ba3fb38656b54176', class: "body-description" }, this.body_description), h("slot", { key: '8693cdbbc99671f1e16eb40a33a6b595d7ce37a3' })))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "dda-accordion"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -14,8 +14,15 @@ export class DdaAlert {
|
|
|
14
14
|
this.secondClick.emit();
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
+
// F-012: no role anywhere meant a screen reader user was never told an
|
|
18
|
+
// alert appeared. `error` is urgent enough to interrupt (role="alert",
|
|
19
|
+
// assertive); the rest are confirmations/notices that should announce
|
|
20
|
+
// politely (role="status") without stealing focus or cutting off speech.
|
|
21
|
+
get role() {
|
|
22
|
+
return this.variation === 'error' ? 'alert' : 'status';
|
|
23
|
+
}
|
|
17
24
|
render() {
|
|
18
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: '60117a2d214eb0ad0c93abd2754ccdb911d0cfe6', role: this.role, class: `dda-alert dda-alert-${this.type} dda-alert-${this.variation} ${this.custom_class} ${this.component_mode}` }, h("i", { key: '001fea32dfde3e298ebf380da19d2bb66fd41b4a', class: "material-icons material-symbols-outlined" }, "info"), h("div", { key: '1f354740327bc8c920bd061eb2c9d19d72b149a6', class: "alert-content" }, h("h4", { key: 'e964051c31405ab754ce11f0888c2745006d470e', class: "alert-title" }, this.title_text), h("p", { key: '452d099aab0de9dfdaedb7c8b2cf94253909fc79', class: "alert-description" }, this.description), h("div", { key: '0244d7586ee53984f8cc1c35131f99007f396db7', class: "alert-btn-wrap" }, !!this.first_button && (h("a", { key: 'e0f7093bfe15b7a145ec430376a90d1b8313d1ea', href: this.first_link, onClick: () => this.firstClickHandler() }, this.first_button)), !!this.second_button && (h("a", { key: '04c9b26544c6079f69f0e715123284cfcd6def11', href: this.second_link, onClick: () => this.secondClickHandler() }, this.second_button)))), h("button", { key: '2ee84dfbb52b2b9414d06ef5ddf674269ab16f25', name: this.button_name, class: "dda-alert-close", onClick: this.clickHandler }, h("i", { key: '7e8c774907624e7c86b1dfb3ef5b2a3b0d4883f6', class: "material-icons material-symbols-outlined" }, "close"))));
|
|
19
26
|
}
|
|
20
27
|
static get is() { return "dda-alert"; }
|
|
21
28
|
static get originalStyleUrls() {
|
|
@@ -41,6 +41,21 @@ export class DdaAttachFile {
|
|
|
41
41
|
const extension = fileName.split('.').pop().toLowerCase();
|
|
42
42
|
return this.fileIcons[extension] || 'path/to/default-icon.png';
|
|
43
43
|
}
|
|
44
|
+
// F-016: ids derived from the consumer-supplied input_id, same pattern as
|
|
45
|
+
// dda-input/dda-select.
|
|
46
|
+
get helperId() {
|
|
47
|
+
return this.input_id ? `${this.input_id}-helper` : undefined;
|
|
48
|
+
}
|
|
49
|
+
get errorId() {
|
|
50
|
+
return this.input_id ? `${this.input_id}-error` : undefined;
|
|
51
|
+
}
|
|
52
|
+
get describedBy() {
|
|
53
|
+
const ids = [
|
|
54
|
+
this.helper_text ? this.helperId : undefined,
|
|
55
|
+
this.error_message ? this.errorId : undefined,
|
|
56
|
+
].filter(Boolean);
|
|
57
|
+
return ids.length ? ids.join(' ') : undefined;
|
|
58
|
+
}
|
|
44
59
|
render() {
|
|
45
60
|
const inputClass = [
|
|
46
61
|
'dda-input-container',
|
|
@@ -50,7 +65,7 @@ export class DdaAttachFile {
|
|
|
50
65
|
this.custom_class,
|
|
51
66
|
this.component_mode,
|
|
52
67
|
].filter(Boolean).join(' ');
|
|
53
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '02b1e08ea2bf657fb54e1a7506852f696658eb4c' }, h("div", { key: 'ea657b0a3bc0196edb10dc22006f378df968e92e', class: inputClass }, this.label && h("label", { key: 'b21659aae1c9906c2a74603eeada8a329ebdbb81', htmlFor: this.input_id, class: "dda-input-label" }, this.label), h("div", { key: '907242aa03fa4723528545687a096e0224b34bc0', class: "dda-input-field-group dda-attach-file" }, 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", { id: this.button_id, name: this.button_name, "aria-label": this.button_aria_label, 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: this.input_id, class: "dda-file-choose" }, "Choose File", h("input", { id: this.input_id, name: this.input_name, "aria-label": this.aria_label, type: "file", onInput: (event) => { this.handleFileInput(event); }, "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined }))))), this.helper_text && h("span", { key: '14f2a6f6ed78d54b4edb2afe7057f5caf4127356', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '513cdbc27c0dc0ca1edf1026d4e6447090f5e2b6', id: this.errorId, class: "dda-error-message" }, this.error_message))));
|
|
54
69
|
}
|
|
55
70
|
static get is() { return "dda-attach-file"; }
|
|
56
71
|
static get originalStyleUrls() {
|
|
@@ -5,6 +5,24 @@
|
|
|
5
5
|
justify-content: center;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
.avatar-trigger {
|
|
9
|
+
display: inline-flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
border: none;
|
|
15
|
+
margin: 0;
|
|
16
|
+
padding: 0;
|
|
17
|
+
background: none;
|
|
18
|
+
font: inherit;
|
|
19
|
+
color: inherit;
|
|
20
|
+
cursor: default;
|
|
21
|
+
border-radius: inherit;
|
|
22
|
+
appearance: none;
|
|
23
|
+
-webkit-appearance: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
8
26
|
.avatar-shape-circle {
|
|
9
27
|
border-radius: 64px;
|
|
10
28
|
}
|
|
@@ -67,7 +85,13 @@
|
|
|
67
85
|
|
|
68
86
|
|
|
69
87
|
.avatar-type-text {
|
|
70
|
-
|
|
88
|
+
/* F-023 B2: was --dda-color-primary-40, a text-role alias, used here as a
|
|
89
|
+
background. It flips lighter in dark theme (fine for text, wrong for a
|
|
90
|
+
fill meant to hold fixed white text — 2.30:1). Use the raw ramp step
|
|
91
|
+
instead, matching what this same rule's own .light-mode override
|
|
92
|
+
already sets: a constant brand fill, so the white text stays legible in
|
|
93
|
+
both themes. */
|
|
94
|
+
background: var(--dda-primary-40);
|
|
71
95
|
text-align: center;
|
|
72
96
|
}
|
|
73
97
|
|
|
@@ -28,7 +28,13 @@ export class DdaAvatar {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
|
|
31
|
+
const hasOptions = this.parsedOptions.length > 0;
|
|
32
|
+
const avatarContent = [
|
|
33
|
+
this.type === 'photo' && h("img", { key: '5455ae34642a1a696172dcb9b6985f9b7fc88df2', src: this.src, alt: "Avatar" }),
|
|
34
|
+
this.type === 'icon' && h("i", { key: 'ada1e07644b9a96e36335a7490db0451099b6bd0', class: `${this.icon} dda-smile` }, "sentiment_satisfied"),
|
|
35
|
+
this.type === 'text' && h("span", { key: 'd7cb60a8861f09c69dbcdbca401331f57b0b8805', class: 'avatar-main-text' }, this.text),
|
|
36
|
+
];
|
|
37
|
+
return (h("div", { key: 'aad1a0787cae3bd4eb0db425f16e0c3403f306af', class: {
|
|
32
38
|
'dda-avatar': true,
|
|
33
39
|
[`avatar-type-${this.type}`]: true,
|
|
34
40
|
[`avatar-size-${this.size}`]: true,
|
|
@@ -37,7 +43,7 @@ export class DdaAvatar {
|
|
|
37
43
|
[`${this.custom_class}`]: true,
|
|
38
44
|
[`${this.component_mode}`]: true,
|
|
39
45
|
[`${this.button_name}`]: true,
|
|
40
|
-
} },
|
|
46
|
+
} }, 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: 'aad8ebd1a5df312d76d4051a92a3d2a3aa9e84e6', 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: '65373d337dd0c2265c8f787619ab14fdd8be2f53', class: "status-circle" }), this.design === 'verified' && h("div", { key: 'ee627f6d549434ec4faf03affbc14f2a8d1c4ab9', class: "verified-icon" }, h("span", { key: '43dc04d4dbe9ae6889a0a8552a04278ed078bcf2', class: "material-icons material-symbols-outlined" }, "verified")), this.design === 'notification' && h("div", { key: '35970e35388fbbd3ea4fe5887d7e84bdc2193209', class: "notification-circle" }, this.notification_number)));
|
|
41
47
|
}
|
|
42
48
|
static get is() { return "dda-avatar"; }
|
|
43
49
|
static get originalStyleUrls() {
|
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
font-size: 7px;
|
|
17
17
|
}
|
|
18
18
|
.dda-chip-grey{
|
|
19
|
-
|
|
19
|
+
/* F-023 B3: was raw, theme-invariant --dda-neutral-variant-94, paired
|
|
20
|
+
with the theme-flipping text alias --dda-on-surface-variant-30 (used
|
|
21
|
+
here for the icon glyphs). Swap to the theme-aware surface-variant
|
|
22
|
+
alias so the background flips with the text. */
|
|
23
|
+
background: var(--dda-surface-variant-90);
|
|
20
24
|
border: solid 1px var(--dda-neutral-90);
|
|
21
25
|
color: var(--dda-on-surface-variant-30);
|
|
22
26
|
}
|
|
@@ -95,6 +99,15 @@
|
|
|
95
99
|
|
|
96
100
|
.dda-chip .chip-close{
|
|
97
101
|
display: inline-flex;
|
|
102
|
+
align-items: center;
|
|
98
103
|
cursor: pointer;
|
|
104
|
+
border: none;
|
|
105
|
+
margin: 0;
|
|
106
|
+
padding: 0;
|
|
107
|
+
background: none;
|
|
108
|
+
font: inherit;
|
|
109
|
+
color: inherit;
|
|
110
|
+
appearance: none;
|
|
111
|
+
-webkit-appearance: none;
|
|
99
112
|
}
|
|
100
113
|
|
|
@@ -6,7 +6,7 @@ export class DdaChip {
|
|
|
6
6
|
this.show_close_icon = false;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '0aa34e124094cc16a3f8ee43c2af63310077c670' }, h("div", { key: 'e8c2758cd3f796f6970bbd520310f81752b3993f', 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" }, this.icon) : null, h("span", { key: 'a4145827380a4c7b02e972a2061fa657d409a354' }, h("slot", { key: '73ef803648455c6673d3ab23d5a89867550f0ecd' })), this.show_close_icon && (h("
|
|
9
|
+
return (h(Host, { key: '0aa34e124094cc16a3f8ee43c2af63310077c670' }, h("div", { key: 'e8c2758cd3f796f6970bbd520310f81752b3993f', 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" }, this.icon) : null, h("span", { key: 'a4145827380a4c7b02e972a2061fa657d409a354' }, h("slot", { key: '73ef803648455c6673d3ab23d5a89867550f0ecd' })), this.show_close_icon && (h("button", { key: '965754ae1ed1b9ddd44833724ceb636a506c94d5', type: "button", class: "chip-close", onClick: this.clickHandler, "aria-label": "Remove" }, h("i", { key: 'ead2026d342d304b4a59a2c27dd7604fdf20580b', class: "material-icons material-symbols-outlined" }, "close"))))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "dda-chip"; }
|
|
12
12
|
static get originalStyleUrls() {
|
|
@@ -74,14 +74,20 @@
|
|
|
74
74
|
.light-mode.dda-credit-card-default{
|
|
75
75
|
background: var(--dda-neutral-100);
|
|
76
76
|
}
|
|
77
|
+
/* F-023 B2: both fills below used a text-role alias (--dda-color-primary-40,
|
|
78
|
+
--dda-on-surface-variant-30) as a background. Both flip lighter in dark
|
|
79
|
+
theme, which is correct for text but wrong for a fill meant to hold fixed
|
|
80
|
+
white text (2.30:1 / 1.70:1). Use the raw ramp step instead, matching what
|
|
81
|
+
each rule's own .light-mode override already sets: a constant fill, so the
|
|
82
|
+
white text stays legible in both themes. */
|
|
77
83
|
.dda-credit-card-green{
|
|
78
|
-
background: var(--dda-
|
|
84
|
+
background: var(--dda-primary-40);
|
|
79
85
|
}
|
|
80
86
|
.light-mode.dda-credit-card-green{
|
|
81
87
|
background: var(--dda-primary-40);
|
|
82
88
|
}
|
|
83
89
|
.dda-credit-card-dark{
|
|
84
|
-
background: var(--dda-
|
|
90
|
+
background: var(--dda-neutral-variant-30);
|
|
85
91
|
}
|
|
86
92
|
.light-mode.dda-credit-card-dark{
|
|
87
93
|
background: var(--dda-neutral-variant-30);
|
|
@@ -5,8 +5,26 @@ export class DdaCreditCardField {
|
|
|
5
5
|
this.disabled = false;
|
|
6
6
|
this.custom_class = '';
|
|
7
7
|
this.restrict_input = false;
|
|
8
|
+
// F-018 (WCAG 1.3.5): card number is exactly the field type autocomplete
|
|
9
|
+
// exists for. Default to the correct token; still overridable.
|
|
10
|
+
this.autocomplete = 'cc-number';
|
|
8
11
|
this.formattedValue = '';
|
|
9
12
|
}
|
|
13
|
+
// F-016: ids derived from the consumer-supplied input_id, same pattern as
|
|
14
|
+
// dda-input/dda-select.
|
|
15
|
+
get helperId() {
|
|
16
|
+
return this.input_id ? `${this.input_id}-helper` : undefined;
|
|
17
|
+
}
|
|
18
|
+
get errorId() {
|
|
19
|
+
return this.input_id ? `${this.input_id}-error` : undefined;
|
|
20
|
+
}
|
|
21
|
+
get describedBy() {
|
|
22
|
+
const ids = [
|
|
23
|
+
this.helper_text ? this.helperId : undefined,
|
|
24
|
+
this.error_message ? this.errorId : undefined,
|
|
25
|
+
].filter(Boolean);
|
|
26
|
+
return ids.length ? ids.join(' ') : undefined;
|
|
27
|
+
}
|
|
10
28
|
handleInput(event) {
|
|
11
29
|
const inputElement = event.target;
|
|
12
30
|
const inputValue = inputElement.value.replace(/[^0-9-]/g, '');
|
|
@@ -44,7 +62,7 @@ export class DdaCreditCardField {
|
|
|
44
62
|
this.custom_class ? `${this.custom_class}` : '',
|
|
45
63
|
this.component_mode,
|
|
46
64
|
].filter(Boolean).join(' ');
|
|
47
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '640731f6a54bbae77a0a77c5dfb23e5a42a41d4f' }, h("div", { key: '402f8104c51e949a5e0fd5c9b458ee4a585c4ebd', class: inputClass }, this.label && h("label", { key: '9952ea7f684ac81c2f392b139f9c1b33cf68e923', htmlFor: this.input_id, class: "dda-input-label" }, this.label), h("div", { key: 'cbd8c3549328e6366d78a8713faffd69093688b3', class: "dda-input-field-wrapper" }, this.card_icon && h("img", { key: '3960616cd63f3368e678d6dd2a82adcb795f9f18', src: this.card_icon, alt: "Card Icon", class: "dda-creditcard-icon" }), h("input", { key: '9597182a7f98f68bf94465da894a669b95b81dc9', "aria-label": this.aria_label, id: this.input_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: 'ef7f3746abb8e205ee6b3be035ac9507318145b5', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '3f925024408b1ebdd4738a203ef00784efe5820f', id: this.errorId, class: "dda-error-message" }, this.error_message))));
|
|
48
66
|
}
|
|
49
67
|
static get is() { return "dda-creditcard-field"; }
|
|
50
68
|
static get originalStyleUrls() {
|
|
@@ -366,6 +384,26 @@ export class DdaCreditCardField {
|
|
|
366
384
|
"setter": false,
|
|
367
385
|
"reflect": false,
|
|
368
386
|
"attribute": "input_name"
|
|
387
|
+
},
|
|
388
|
+
"autocomplete": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"mutable": false,
|
|
391
|
+
"complexType": {
|
|
392
|
+
"original": "string",
|
|
393
|
+
"resolved": "string",
|
|
394
|
+
"references": {}
|
|
395
|
+
},
|
|
396
|
+
"required": false,
|
|
397
|
+
"optional": false,
|
|
398
|
+
"docs": {
|
|
399
|
+
"tags": [],
|
|
400
|
+
"text": ""
|
|
401
|
+
},
|
|
402
|
+
"getter": false,
|
|
403
|
+
"setter": false,
|
|
404
|
+
"reflect": false,
|
|
405
|
+
"attribute": "autocomplete",
|
|
406
|
+
"defaultValue": "'cc-number'"
|
|
369
407
|
}
|
|
370
408
|
};
|
|
371
409
|
}
|
|
@@ -73,6 +73,10 @@ export default {
|
|
|
73
73
|
input_name: {
|
|
74
74
|
control: { type: 'text' },
|
|
75
75
|
description: 'Name of the input field',
|
|
76
|
+
},
|
|
77
|
+
autocomplete: {
|
|
78
|
+
control: { type: 'text' },
|
|
79
|
+
description: 'Autocomplete token for the card number input (WCAG 1.3.5). Defaults to "cc-number".',
|
|
76
80
|
}
|
|
77
81
|
},
|
|
78
82
|
parameters: {
|
|
@@ -98,6 +102,7 @@ export default {
|
|
|
98
102
|
aria_label="credit-card-field"
|
|
99
103
|
onchange="console.log('changed')"
|
|
100
104
|
input_name="input"
|
|
105
|
+
autocomplete="cc-number"
|
|
101
106
|
></dda-creditcard-field>
|
|
102
107
|
\`\`\`
|
|
103
108
|
`,
|
|
@@ -129,6 +134,7 @@ Default.args = {
|
|
|
129
134
|
aria_label: 'credit-card-field',
|
|
130
135
|
onchange: '',
|
|
131
136
|
input_name: 'input',
|
|
137
|
+
autocomplete: 'cc-number',
|
|
132
138
|
};
|
|
133
139
|
export const SmallSize = Template.bind({});
|
|
134
140
|
SmallSize.args = {
|
|
@@ -147,6 +153,7 @@ SmallSize.args = {
|
|
|
147
153
|
aria_label: 'credit-card-field',
|
|
148
154
|
onchange: '',
|
|
149
155
|
input_name: 'input',
|
|
156
|
+
autocomplete: 'cc-number',
|
|
150
157
|
};
|
|
151
158
|
export const WithErrorMessage = Template.bind({});
|
|
152
159
|
WithErrorMessage.args = {
|
|
@@ -165,6 +172,7 @@ WithErrorMessage.args = {
|
|
|
165
172
|
aria_label: 'credit-card-field',
|
|
166
173
|
onchange: '',
|
|
167
174
|
input_name: 'input',
|
|
175
|
+
autocomplete: 'cc-number',
|
|
168
176
|
};
|
|
169
177
|
export const Disabled = Template.bind({});
|
|
170
178
|
Disabled.args = {
|
|
@@ -184,4 +192,5 @@ Disabled.args = {
|
|
|
184
192
|
aria_label: 'credit-card-field',
|
|
185
193
|
onchange: '',
|
|
186
194
|
input_name: 'input',
|
|
195
|
+
autocomplete: 'cc-number',
|
|
187
196
|
};
|
|
@@ -12,18 +12,17 @@ export class DdaFooter {
|
|
|
12
12
|
render() {
|
|
13
13
|
const sections = this.parseJsonArray(this.footerSections);
|
|
14
14
|
const icons = this.parseJsonArray(this.socialIcons);
|
|
15
|
-
return (h("footer", { key: '
|
|
15
|
+
return (h("footer", { key: '6657c50eff682e64e6b269d7a2cf0ffa2a1d21b5', class: "WB-footer" }, h("div", { key: 'be415ac4d6e483730df3314082d79af16857acce', class: "dda-container line-seperater" }, h("div", { key: '7558145a98fd1d3cc5ab1badd20b1679a5fade8e', class: "dda-flex dda-align-center flex-column dda-gap-5" }, h("h4", { key: 'f2a1dbf62ea90256ab9c466ddf464bf2db79b352', class: "dda-fs-display-sm dda-fw-700 dda-color-black" }, this.footerTitle), h("p", { key: '0e9fa41a059d08fb54781e1760756135512b203a', class: "dda-fs-title-sm dda-fw-400 mb-3" }, this.description), h("div", { key: '8451368d1bccd69eed276ca2e4b529bffce1bd1d', class: "dda-flex dda-gap-5" }, h("dda-button", { key: 'e4da885d7a0f53cdef66b147cebb018e639e2e2f', button_color: "default-primary", size: "lg" }, this.signUpButtonText), h("dda-button", { key: 'a95e98fa9d15b8daa7c42507e1d6d3d43cd1119b', button_color: "default-tertiary", size: "lg" }, this.loginButtonText)))), h("div", { key: 'f1e25c4c14f5337325f772b0a6cfaae38b696597', class: "dda-container line-seperater" }, h("div", { key: '3c6484c94ba27eff6407dc402761b40130089019', class: "dda-row" }, h("div", { key: '57303485ca96d8d69955296be8c3e13edb127186', class: "dda-col-lg-4 mb-3" }, h("div", { key: 'bb38dba4e7aa677b0dbd576235462e18630c721a', class: "text-center" }, h("img", { key: 'a0753f43dd43aa0f8762b44e08f27cb61ae2e90e', class: "entt-logo", src: this.logoSrc, alt: this.logoAlt }), h("p", { key: 'c085e81867a6c1479bb9dbbd447e27d603906240', class: "dda-fs-title-sm" }, "Design outstanding interfaces with advanced Figma features in a matter of minutes."))), h("div", { key: 'cfe1db4dff6209067c8c3d3b238539b0e05ca089', class: "dda-col-lg-8" }, h("div", { key: 'c8ca286ee2b2e57dac56a75224ecc52096e1995f', 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: '04db59e1c745c1f5c25f5f0e3de672370fbb9eb0', class: "dda-container pt-4" }, h("div", { key: '17f57c90b21973ebe0ec71e35e27af232875283f', class: "dda-flex dda-align-center dda-justify-space" }, h("p", { key: '4a70f6bc20d0e208b555bc381b6c47d1714bff74', class: "dda-fs-title-sm" }, this.copyrightText), h("ul", { key: 'dce8f8b9150f97b61e8c26363acdfff83009e609', 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 }))))))))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "dda-footer"; }
|
|
18
|
-
static get encapsulation() { return "shadow"; }
|
|
19
18
|
static get originalStyleUrls() {
|
|
20
19
|
return {
|
|
21
|
-
"$": ["dda-footer.css"]
|
|
20
|
+
"$": ["dda-footer.css", "../../global/global.css"]
|
|
22
21
|
};
|
|
23
22
|
}
|
|
24
23
|
static get styleUrls() {
|
|
25
24
|
return {
|
|
26
|
-
"$": ["dda-footer.css"]
|
|
25
|
+
"$": ["dda-footer.css", "../../global/global.css"]
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
static get properties() {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* F-009 (WCAG 2.4.11 - Focus Not Obscured): the header's own fixed
|
|
3
|
+
* positioning lives in global/templates/dda-header-main.css
|
|
4
|
+
* (`.dda-header { position: fixed; top: 0; z-index: 6; }`), with no
|
|
5
|
+
* scroll-padding/scroll-margin anywhere in the codebase. A keyboard user
|
|
6
|
+
* who lands on a focused element near the top of a scrolled page - by
|
|
7
|
+
* Tab, an in-page anchor, or a "skip to content" link - can have the
|
|
8
|
+
* browser scroll it flush under the fixed header, hiding what they just
|
|
9
|
+
* focused.
|
|
10
|
+
*
|
|
11
|
+
* scroll-padding-top on the root reserves that space for every scroll /
|
|
12
|
+
* scrollIntoView in the document. Sized to this header's real rendered
|
|
13
|
+
* height (measured against the live component, since `.dda-header`'s own
|
|
14
|
+
* CSS height is `auto`, driven entirely by its logo/nav children):
|
|
15
|
+
* ~158-162px from 768px up (the mega menu hides and `.dda-header` gains
|
|
16
|
+
* `padding: 10px 0` below 1024px, but the measured height stays in that
|
|
17
|
+
* range through 768px) and 80px at or below 767px
|
|
18
|
+
* (`.dda-menu-container { height: 80px }`, `.dda-head-logo { display:
|
|
19
|
+
* none }`). The transparent/white header variants only change colour, not
|
|
20
|
+
* box model, so they don't need a separate value.
|
|
21
|
+
*
|
|
22
|
+
* 170px / 100px match this codebase's own established convention for
|
|
23
|
+
* clearing this exact header - `.maincontent { padding-top: 170px }`
|
|
24
|
+
* (global/global.css), with the same 767px breakpoint dropping it to
|
|
25
|
+
* 100px - already relied on, in real page templates, to keep content clear
|
|
26
|
+
* of the header with a safety margin over the measured height above.
|
|
27
|
+
*/
|
|
28
|
+
:root {
|
|
29
|
+
scroll-padding-top: 170px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@media screen and (max-width: 767px) {
|
|
33
|
+
:root {
|
|
34
|
+
scroll-padding-top: 100px;
|
|
35
|
+
}
|
|
36
|
+
}
|