@dubai-design-system/components-js 5.1.0 → 5.2.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.
Files changed (262) hide show
  1. package/CHANGELOG.md +83 -0
  2. package/MIGRATION.md +76 -15
  3. package/dist/cjs/dda-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/dda-alert.cjs.entry.js +4 -4
  5. package/dist/cjs/dda-attach-file.cjs.entry.js +2 -2
  6. package/dist/cjs/dda-avatar.cjs.entry.js +3 -3
  7. package/dist/cjs/dda-banner.cjs.entry.js +2 -2
  8. package/dist/cjs/dda-breadcrumb.cjs.entry.js +2 -2
  9. package/dist/cjs/dda-button.cjs.entry.js +2 -2
  10. package/dist/cjs/dda-checkbox.cjs.entry.js +2 -2
  11. package/dist/cjs/dda-chip.cjs.entry.js +2 -2
  12. package/dist/cjs/dda-credit-card.cjs.entry.js +2 -2
  13. package/dist/cjs/dda-creditcard-field.cjs.entry.js +3 -3
  14. package/dist/cjs/dda-dropdown.cjs.entry.js +3 -3
  15. package/dist/cjs/dda-footer.cjs.entry.js +2 -2
  16. package/dist/cjs/dda-header.cjs.entry.js +22 -12
  17. package/dist/cjs/dda-home-banner.cjs.entry.js +3 -3
  18. package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +3 -3
  19. package/dist/cjs/dda-input.cjs.entry.js +3 -3
  20. package/dist/cjs/dda-link-button.cjs.entry.js +51 -0
  21. package/dist/cjs/dda-link-button_2.cjs.entry.js +3 -3
  22. package/dist/cjs/dda-number-field.cjs.entry.js +2 -2
  23. package/dist/cjs/dda-pagination.cjs.entry.js +3 -3
  24. package/dist/cjs/dda-phonefield.cjs.entry.js +2 -2
  25. package/dist/cjs/dda-progressbar.cjs.entry.js +2 -2
  26. package/dist/cjs/dda-radiobutton.cjs.entry.js +27 -0
  27. package/dist/cjs/dda-range-slider.cjs.entry.js +1 -1
  28. package/dist/cjs/dda-search-input.cjs.entry.js +2 -2
  29. package/dist/cjs/dda-segmented-tabs.cjs.entry.js +4 -4
  30. package/dist/cjs/dda-select.cjs.entry.js +5 -3
  31. package/dist/cjs/dda-sticky-footer.cjs.entry.js +14 -3
  32. package/dist/cjs/dda-tabs.cjs.entry.js +4 -4
  33. package/dist/cjs/dda-textarea.cjs.entry.js +16239 -1401
  34. package/dist/cjs/dda-toggle.cjs.entry.js +3 -3
  35. package/dist/cjs/dda-tooltip.cjs.entry.js +3 -3
  36. package/dist/cjs/dda-ui-card.cjs.entry.js +3 -3
  37. package/dist/cjs/dda-vertical-stepper.cjs.entry.js +2 -2
  38. package/dist/cjs/dda.cjs.js +30 -3
  39. package/dist/cjs/index-DXyiIgGK.js +4637 -0
  40. package/dist/cjs/{index-Dm7JbFAh.js → index-Na_7EWDR.js} +1 -1
  41. package/dist/cjs/index.cjs.js +10 -0
  42. package/dist/cjs/loader.cjs.js +2 -2
  43. package/dist/collection/components/dda-alert/dda-alert.stories.js +27 -20
  44. package/dist/collection/components/dda-header/dda-header.js +34 -4
  45. package/dist/collection/components/dda-header/dda-header.stories.js +21 -0
  46. package/dist/collection/components/dda-home-banner/home-banner.css +14 -3
  47. package/dist/collection/components/dda-input/dda-input.js +20 -1
  48. package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +165 -27
  49. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +16 -5
  50. package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js +12 -1
  51. package/dist/collection/components/dda-tabs/dda-tabs.js +1 -1
  52. package/dist/collection/components/dda-textarea/dda-textarea.js +2 -2
  53. package/dist/collection/components/dda-toggle/dda-toggle.js +1 -1
  54. package/dist/collection/components/dda-tooltip/dda-tooltip.js +1 -1
  55. package/dist/collection/components/dda-ui-card/dda-ui-card.js +1 -1
  56. package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +1 -1
  57. package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +1 -1
  58. package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +1 -1
  59. package/dist/collection/global/global.css +165 -27
  60. package/dist/components/dda-accordion.js +59 -1
  61. package/dist/components/dda-alert.js +94 -1
  62. package/dist/components/dda-attach-file.js +138 -1
  63. package/dist/components/dda-avatar.js +107 -1
  64. package/dist/components/dda-banner.js +57 -1
  65. package/dist/components/dda-breadcrumb.js +66 -1
  66. package/dist/components/dda-button.js +6 -1
  67. package/dist/components/dda-button2.js +80 -0
  68. package/dist/components/dda-checkbox.js +59 -1
  69. package/dist/components/dda-chip.js +55 -1
  70. package/dist/components/dda-credit-card.js +54 -1
  71. package/dist/components/dda-creditcard-field.js +133 -1
  72. package/dist/components/dda-dropdown.js +113 -1
  73. package/dist/components/dda-footer.js +72 -1
  74. package/dist/components/dda-header.js +367 -1
  75. package/dist/components/dda-home-banner.js +249 -1
  76. package/dist/components/dda-horizontal-stepper.js +69 -1
  77. package/dist/components/dda-input.js +92 -1
  78. package/dist/components/dda-link-button.js +6 -1
  79. package/dist/components/dda-link-button2.js +81 -0
  80. package/dist/components/dda-number-field.js +127 -1
  81. package/dist/components/dda-pagination.js +133 -1
  82. package/dist/components/dda-phonefield.js +316 -1
  83. package/dist/components/dda-progressbar.js +58 -1
  84. package/dist/components/dda-radiobutton.js +6 -1
  85. package/dist/components/dda-radiobutton2.js +54 -0
  86. package/dist/components/dda-range-slider.js +93 -1
  87. package/dist/components/dda-search-input.js +102 -1
  88. package/dist/components/dda-segmented-tabs.js +133 -1
  89. package/dist/components/dda-select.js +219 -1
  90. package/dist/components/dda-sticky-footer.js +132 -1
  91. package/dist/components/dda-tabs.js +91 -1
  92. package/dist/components/dda-textarea.js +31277 -1
  93. package/dist/components/dda-toggle.js +55 -1
  94. package/dist/components/dda-tooltip.js +6 -1
  95. package/dist/components/dda-tooltip2.js +70 -0
  96. package/dist/components/dda-ui-card.js +71 -1
  97. package/dist/components/dda-vertical-stepper.js +72 -1
  98. package/dist/components/index.js +34 -1
  99. package/dist/components/index2.js +4622 -0
  100. package/dist/components/p-C2Cs3ruo.js +1 -0
  101. package/dist/components/p-C520q-ka.js +1 -0
  102. package/dist/components/p-CZO9Eawo.js +1 -0
  103. package/dist/components/p-D7sJgBDk.js +1 -0
  104. package/dist/components/p-_-I_65FG.js +1 -0
  105. package/dist/components/unique-id.js +12 -0
  106. package/dist/dda/dda-accordion.entry.js +31 -0
  107. package/dist/dda/dda-alert.entry.js +57 -0
  108. package/dist/dda/dda-attach-file.entry.js +102 -0
  109. package/dist/dda/dda-avatar.entry.js +70 -0
  110. package/dist/dda/dda-banner.entry.js +30 -0
  111. package/dist/dda/dda-breadcrumb.entry.js +40 -0
  112. package/dist/dda/dda-button.entry.js +47 -0
  113. package/dist/dda/dda-checkbox.entry.js +27 -0
  114. package/dist/dda/dda-chip.entry.js +25 -0
  115. package/dist/dda/dda-credit-card.entry.js +26 -0
  116. package/dist/dda/dda-creditcard-field.entry.js +94 -0
  117. package/dist/dda/dda-dropdown.entry.js +75 -0
  118. package/dist/dda/dda-footer.entry.js +34 -0
  119. package/dist/dda/dda-header.entry.js +282 -0
  120. package/dist/dda/dda-home-banner.entry.js +208 -0
  121. package/dist/dda/dda-horizontal-stepper.entry.js +39 -0
  122. package/dist/dda/dda-input.entry.js +56 -0
  123. package/dist/dda/dda-link-button.entry.js +49 -0
  124. package/dist/dda/dda-number-field.entry.js +86 -0
  125. package/dist/dda/dda-pagination.entry.js +86 -0
  126. package/dist/dda/dda-phonefield.entry.js +271 -0
  127. package/dist/dda/dda-progressbar.entry.js +30 -0
  128. package/dist/dda/dda-radiobutton.entry.js +25 -0
  129. package/dist/dda/dda-range-slider.entry.js +55 -0
  130. package/dist/dda/dda-search-input.entry.js +63 -0
  131. package/dist/dda/dda-segmented-tabs.entry.js +96 -0
  132. package/dist/dda/dda-select.entry.js +183 -0
  133. package/dist/dda/dda-sticky-footer.entry.js +61 -0
  134. package/dist/dda/dda-tabs.entry.js +59 -0
  135. package/dist/dda/dda-textarea.entry.js +31241 -0
  136. package/dist/dda/dda-toggle.entry.js +25 -0
  137. package/dist/dda/dda-tooltip.entry.js +46 -0
  138. package/dist/dda/dda-ui-card.entry.js +41 -0
  139. package/dist/dda/dda-vertical-stepper.entry.js +41 -0
  140. package/dist/dda/dda.css +6385 -46
  141. package/dist/dda/dda.esm.js +47 -1
  142. package/dist/dda/index-CFIwfRqf.js +4622 -0
  143. package/dist/dda/index.esm.js +29 -1
  144. package/dist/dda/p-0574c9df.entry.js +1 -0
  145. package/dist/dda/p-0a86a74c.entry.js +1 -0
  146. package/dist/dda/p-16f94322.entry.js +1 -0
  147. package/dist/dda/p-1acc0fda.entry.js +1 -0
  148. package/dist/dda/p-2630152f.entry.js +1 -0
  149. package/dist/dda/p-271c5f91.entry.js +1 -0
  150. package/dist/dda/{p-e3a65ceb.entry.js → p-32746429.entry.js} +1 -1
  151. package/dist/dda/p-3835f3b7.entry.js +1 -0
  152. package/dist/dda/p-3d57e957.entry.js +1 -0
  153. package/dist/dda/{p-9672af43.entry.js → p-489a3711.entry.js} +1 -1
  154. package/dist/dda/p-58de747b.entry.js +1 -0
  155. package/dist/dda/p-63754a93.entry.js +1 -0
  156. package/dist/dda/p-87d647e7.entry.js +1 -0
  157. package/dist/dda/p-8de4f35e.entry.js +1 -0
  158. package/dist/dda/p-9416d8ec.entry.js +1 -0
  159. package/dist/dda/p-9541e108.entry.js +1 -0
  160. package/dist/dda/p-95b87c55.entry.js +1 -0
  161. package/dist/dda/{p-6daa282f.entry.js → p-95e1a389.entry.js} +1 -1
  162. package/dist/dda/p-96741f45.entry.js +1 -0
  163. package/dist/dda/p-98c59aa8.entry.js +1 -0
  164. package/dist/dda/p-9c86dc30.entry.js +1 -0
  165. package/dist/dda/p-CI_UcUy5.js +2 -0
  166. package/dist/dda/p-b6190656.entry.js +1 -0
  167. package/dist/dda/p-c0da1e14.entry.js +1 -0
  168. package/dist/dda/p-c39d196d.entry.js +1 -0
  169. package/dist/dda/p-c5ebf7df.entry.js +1 -0
  170. package/dist/dda/p-d06c5daf.entry.js +1 -0
  171. package/dist/dda/p-d8fd3f73.entry.js +1 -0
  172. package/dist/dda/p-e660a594.entry.js +1 -0
  173. package/dist/dda/p-e8ca224f.entry.js +1 -0
  174. package/dist/dda/p-ea1720d2.entry.js +1 -0
  175. package/dist/dda/p-ee6d56fc.entry.js +1 -0
  176. package/dist/dda/p-eecfe091.entry.js +1 -0
  177. package/dist/dda/p-eed4a104.entry.js +1 -0
  178. package/dist/dda/unique-id-B-I003EB.js +12 -0
  179. package/dist/esm/dda-accordion.entry.js +2 -2
  180. package/dist/esm/dda-alert.entry.js +4 -4
  181. package/dist/esm/dda-attach-file.entry.js +2 -2
  182. package/dist/esm/dda-avatar.entry.js +3 -3
  183. package/dist/esm/dda-banner.entry.js +2 -2
  184. package/dist/esm/dda-breadcrumb.entry.js +2 -2
  185. package/dist/esm/dda-button.entry.js +2 -2
  186. package/dist/esm/dda-checkbox.entry.js +2 -2
  187. package/dist/esm/dda-chip.entry.js +2 -2
  188. package/dist/esm/dda-credit-card.entry.js +2 -2
  189. package/dist/esm/dda-creditcard-field.entry.js +3 -3
  190. package/dist/esm/dda-dropdown.entry.js +3 -3
  191. package/dist/esm/dda-footer.entry.js +2 -2
  192. package/dist/esm/dda-header.entry.js +22 -12
  193. package/dist/esm/dda-home-banner.entry.js +3 -3
  194. package/dist/esm/dda-horizontal-stepper.entry.js +3 -3
  195. package/dist/esm/dda-input.entry.js +3 -3
  196. package/dist/esm/dda-link-button.entry.js +49 -0
  197. package/dist/esm/dda-link-button_2.entry.js +3 -3
  198. package/dist/esm/dda-number-field.entry.js +2 -2
  199. package/dist/esm/dda-pagination.entry.js +3 -3
  200. package/dist/esm/dda-phonefield.entry.js +2 -2
  201. package/dist/esm/dda-progressbar.entry.js +2 -2
  202. package/dist/esm/dda-radiobutton.entry.js +25 -0
  203. package/dist/esm/dda-range-slider.entry.js +1 -1
  204. package/dist/esm/dda-search-input.entry.js +2 -2
  205. package/dist/esm/dda-segmented-tabs.entry.js +4 -4
  206. package/dist/esm/dda-select.entry.js +5 -3
  207. package/dist/esm/dda-sticky-footer.entry.js +14 -3
  208. package/dist/esm/dda-tabs.entry.js +4 -4
  209. package/dist/esm/dda-textarea.entry.js +16239 -1401
  210. package/dist/esm/dda-toggle.entry.js +3 -3
  211. package/dist/esm/dda-tooltip.entry.js +3 -3
  212. package/dist/esm/dda-ui-card.entry.js +3 -3
  213. package/dist/esm/dda-vertical-stepper.entry.js +2 -2
  214. package/dist/esm/dda.js +31 -4
  215. package/dist/esm/index-CFIwfRqf.js +4622 -0
  216. package/dist/esm/{index-o6021Dsk.js → index-CI_UcUy5.js} +1 -1
  217. package/dist/esm/index.js +10 -0
  218. package/dist/esm/loader.js +3 -3
  219. package/dist/types/components/dda-alert/dda-alert.stories.d.ts +5 -1
  220. package/dist/types/components/dda-header/dda-header.d.ts +6 -2
  221. package/dist/types/components/dda-header/dda-header.stories.d.ts +19 -0
  222. package/dist/types/components/dda-input/dda-input.d.ts +2 -0
  223. package/dist/types/components/dda-sticky-footer/dda-sticky-footer.d.ts +5 -4
  224. package/dist/types/components/dda-sticky-footer/dda-sticky-footer.stories.d.ts +13 -0
  225. package/dist/types/components.d.ts +32 -12
  226. package/package.json +2 -2
  227. package/dist/components/p-B4nkZ15I.js +0 -1
  228. package/dist/components/p-Bk2uycTf.js +0 -1
  229. package/dist/components/p-C96R7OFb.js +0 -1
  230. package/dist/components/p-Ciz-pnTr.js +0 -1
  231. package/dist/components/p-CleacZFl.js +0 -1
  232. package/dist/dda/p-0daa2a14.entry.js +0 -1
  233. package/dist/dda/p-1537b9dd.entry.js +0 -1
  234. package/dist/dda/p-175c52b8.entry.js +0 -1
  235. package/dist/dda/p-2b65a79a.entry.js +0 -1
  236. package/dist/dda/p-2d93b185.entry.js +0 -1
  237. package/dist/dda/p-30d3a014.entry.js +0 -1
  238. package/dist/dda/p-33b890a5.entry.js +0 -1
  239. package/dist/dda/p-64d90f29.entry.js +0 -1
  240. package/dist/dda/p-69bc04c1.entry.js +0 -1
  241. package/dist/dda/p-72f22d1f.entry.js +0 -1
  242. package/dist/dda/p-7549868d.entry.js +0 -1
  243. package/dist/dda/p-7a51a946.entry.js +0 -1
  244. package/dist/dda/p-7b187e1f.entry.js +0 -1
  245. package/dist/dda/p-7b4d895e.entry.js +0 -1
  246. package/dist/dda/p-8f408141.entry.js +0 -1
  247. package/dist/dda/p-91341ca7.entry.js +0 -1
  248. package/dist/dda/p-9552def5.entry.js +0 -1
  249. package/dist/dda/p-98bba4dc.entry.js +0 -1
  250. package/dist/dda/p-a0768b2f.entry.js +0 -1
  251. package/dist/dda/p-a5bd30ad.entry.js +0 -1
  252. package/dist/dda/p-a83f6267.entry.js +0 -1
  253. package/dist/dda/p-b17f79df.entry.js +0 -1
  254. package/dist/dda/p-b79505e1.entry.js +0 -1
  255. package/dist/dda/p-b8b98df2.entry.js +0 -1
  256. package/dist/dda/p-cc2cc09b.entry.js +0 -1
  257. package/dist/dda/p-ceee08fa.entry.js +0 -1
  258. package/dist/dda/p-d000e69d.entry.js +0 -1
  259. package/dist/dda/p-e5b79469.entry.js +0 -1
  260. package/dist/dda/p-f2f3be5f.entry.js +0 -1
  261. package/dist/dda/p-f92e0a32.entry.js +0 -1
  262. package/dist/dda/p-o6021Dsk.js +0 -2
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Dm7JbFAh.js');
3
+ var index = require('./index-DXyiIgGK.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\"],\"quickLinks\":[1,\"quick-links\"],\"readSpeakerLink\":[1,\"read-speaker-link\"],\"searchText\":[1,\"search-text\"],\"loginIcon\":[1,\"login-icon\"],\"loginText\":[1,\"login-text\"],\"language_text\":[1],\"language_lang\":[1],\"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]},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-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\"],\"aria_label\":[1],\"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],\"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]}]]],[\"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-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\"],\"quickLinks\":[1,\"quick-links\"],\"readSpeakerLink\":[1,\"read-speaker-link\"],\"searchText\":[1,\"search-text\"],\"loginIcon\":[1,\"login-icon\"],\"loginText\":[1,\"login-text\"],\"hide_login\":[4],\"language_text\":[1],\"language_lang\":[1],\"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]},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-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\"],\"aria_label\":[1],\"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],\"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-link-button.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]}]]],[\"dda-radiobutton.cjs\",[[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;
@@ -15,11 +15,12 @@ To use the \`dda-alert\` component, pass the following props:
15
15
  variation="info"
16
16
  title_text="Alert Title"
17
17
  description="This is an informational alert."
18
- button_text="Learn more"
18
+ first_button="Learn more"
19
+ first_link="#"
20
+ second_button="Dismiss"
21
+ second_link="#"
19
22
  custom_class=""
20
23
  component_mode=""
21
- first_link=""
22
- second_link=""
23
24
  button_name="">
24
25
  </dda-alert>
25
26
  \`\`\`
@@ -40,9 +41,10 @@ To use the \`dda-alert\` component, pass the following props:
40
41
  },
41
42
  title_text: { control: 'text', description: 'Title text' },
42
43
  description: { control: 'text', description: 'Description' },
43
- button_text: { control: 'text', description: 'Button text' },
44
- first_link: { control: 'text', description: 'link' },
45
- second_link: { control: 'text', description: 'link' },
44
+ first_button: { control: 'text', description: 'Label of the first action link. The link shows only when this is set.' },
45
+ first_link: { control: 'text', description: '`href` of the first action link' },
46
+ second_button: { control: 'text', description: 'Label of the second action link. The link shows only when this is set.' },
47
+ second_link: { control: 'text', description: '`href` of the second action link' },
46
48
  button_name: { control: 'text', description: 'Button name' },
47
49
  custom_class: {
48
50
  control: { type: 'text' },
@@ -55,13 +57,14 @@ To use the \`dda-alert\` component, pass the following props:
55
57
  },
56
58
  },
57
59
  };
58
- const Template = ({ type, variation, title_text, description, button_text, button_name, custom_class, component_mode, first_link, second_link }) => html `
60
+ const Template = ({ type, variation, title_text, description, first_button, second_button, button_name, custom_class, component_mode, first_link, second_link }) => html `
59
61
  <dda-alert
60
62
  type=${type}
61
63
  variation=${variation}
62
64
  title_text=${title_text}
63
65
  description=${description}
64
- button_text=${button_text}
66
+ first_button=${first_button}
67
+ second_button=${second_button}
65
68
  custom_class=${custom_class}
66
69
  component_mode=${component_mode}
67
70
  first_link=${first_link}
@@ -76,12 +79,13 @@ AlertInfo.args = {
76
79
  variation: 'info',
77
80
  title_text: 'Alert Title',
78
81
  description: 'This is an informational alert.',
79
- button_text: 'Learn more',
82
+ first_button: 'Learn more',
83
+ second_button: 'Dismiss',
80
84
  button_name: 'button',
81
85
  custom_class: '',
82
86
  component_mode: '',
83
- first_link: '',
84
- second_link: '',
87
+ first_link: '#',
88
+ second_link: '#',
85
89
  };
86
90
  export const AlertWarning = Template.bind({});
87
91
  AlertWarning.args = {
@@ -89,12 +93,13 @@ AlertWarning.args = {
89
93
  variation: 'warning',
90
94
  title_text: 'Alert Title',
91
95
  description: 'This is an informational alert.',
92
- button_text: 'Learn more',
96
+ first_button: 'Learn more',
97
+ second_button: 'Dismiss',
93
98
  button_name: 'button',
94
99
  custom_class: '',
95
100
  component_mode: '',
96
- first_link: '',
97
- second_link: '',
101
+ first_link: '#',
102
+ second_link: '#',
98
103
  };
99
104
  export const AlertError = Template.bind({});
100
105
  AlertError.args = {
@@ -102,12 +107,13 @@ AlertError.args = {
102
107
  variation: 'error',
103
108
  title_text: 'Alert Title',
104
109
  description: 'This is an informational alert.',
105
- button_text: 'Learn more',
110
+ first_button: 'Learn more',
111
+ second_button: 'Dismiss',
106
112
  button_name: 'button',
107
113
  custom_class: '',
108
114
  component_mode: '',
109
- first_link: '',
110
- second_link: '',
115
+ first_link: '#',
116
+ second_link: '#',
111
117
  };
112
118
  export const AlertSuccess = Template.bind({});
113
119
  AlertSuccess.args = {
@@ -115,10 +121,11 @@ AlertSuccess.args = {
115
121
  variation: 'success',
116
122
  title_text: 'Alert Title',
117
123
  description: 'This is an informational alert.',
118
- button_text: 'Learn more',
124
+ first_button: 'Learn more',
125
+ second_button: 'Dismiss',
119
126
  button_name: 'button',
120
127
  custom_class: '',
121
128
  component_mode: '',
122
- first_link: '',
123
- second_link: '',
129
+ first_link: '#',
130
+ second_link: '#',
124
131
  };
@@ -7,6 +7,8 @@ export class DdaHeader {
7
7
  this.firstLogoHref = '/';
8
8
  /** Link URL of the second logo on desktop and mobile. Default: `/`. */
9
9
  this.secondLogoHref = '/';
10
+ /** Hides the Login link in the desktop toolbar and the side menu. */
11
+ this.hide_login = false;
10
12
  /** `lang` attribute of the language buttons, the language of `language_text`. Default: `ar`. */
11
13
  this.language_lang = 'ar';
12
14
  this.isMenuOpen = false;
@@ -89,6 +91,7 @@ export class DdaHeader {
89
91
  }
90
92
  };
91
93
  this.handleScroll = () => {
94
+ this.updateScrolled();
92
95
  const scrollTop = window.scrollY;
93
96
  const menuContainer = document.querySelector('.dda-menu-container');
94
97
  const logoContainer = document.querySelector('.dda-header');
@@ -185,6 +188,7 @@ export class DdaHeader {
185
188
  this.openMenus = newOpenMenus;
186
189
  }
187
190
  componentDidLoad() {
191
+ this.updateScrolled();
188
192
  window.addEventListener('scroll', this.handleScroll);
189
193
  document.addEventListener('click', this.handleOutsideClick);
190
194
  document.addEventListener('keydown', this.toggleEscapeKey);
@@ -221,6 +225,11 @@ export class DdaHeader {
221
225
  h("input", { name: this.search_input_name || 'q', type: "text", id: id, placeholder: this.searchText || 'Search', enterkeyhint: "search", autocomplete: "off", ref: ref }),
222
226
  ];
223
227
  }
228
+ // The transparent style (<body class="transparent">) shows only at the top of the page.
229
+ // Below the top, `dda-scrolled` turns it off in CSS and the header uses the standard style.
230
+ updateScrolled() {
231
+ this.el.classList.toggle('dda-scrolled', window.scrollY > 0);
232
+ }
224
233
  parseJsonArray(jsonString) {
225
234
  try {
226
235
  return JSON.parse(jsonString);
@@ -238,7 +247,7 @@ export class DdaHeader {
238
247
  };
239
248
  // The transparent style is opt-in at page level (<body class="transparent">);
240
249
  // CSS shows the white or colored logo to match.
241
- return (h("header", { key: '5617e75cb1b7a6916489add8d13013e7a78d8003', class: "dda-header" }, h("div", { key: '6c754408f196dff3bf03ad29f73df82720a34f6b', class: "dda-head-logo" }, h("a", { key: '1ede6b0599b4e18480db07cb2bd177444a1c5eae', href: this.firstLogoHref, class: "govt-logo" }, h("img", { key: 'c3c9886bedb03b07d01af67dde4a38d9e854c633', class: "logo-colored", src: this.firstLogoSrc, alt: this.firstLogoAlt }), h("img", { key: 'e4782885df69730b6417bdf2314c88961267aea6', class: "logo-white", src: this.firstLogoWhiteSrc || this.firstLogoSrc, alt: this.firstLogoAlt })), h("a", { key: 'b5d4b7f9aaa29c967ca155b1e2ea627ade4abe6e', href: this.secondLogoHref, class: "entt-logo" }, h("img", { key: 'e872873935c144d7f015231c7edf13d4067c72b5', class: "logo-colored", src: this.secondLogoSrc, alt: this.secondLogoAlt }), h("img", { key: '92bf0d43b46ca6a982870cd68e22f81b49a73f38', class: "logo-white", src: this.secondLogoWhiteSrc || this.secondLogoSrc, alt: this.secondLogoAlt }))), h("div", { key: '2cb68cecee71b84aacdbe9d67551b6f1b68890e6', class: "dda-menu-container" }, h("div", { key: 'b242deccd799326ebce68a1f6e542ac52c0fe4b1', class: "dda-main-navigation" }, h("div", { key: 'decd94df7f45dea67ddf405f181610d1d2e5d6db', class: `dda-menu-overley ${this.isMenuOpen ? 'show-overley' : ''}`, onClick: this.toggleMenu }), h("div", { key: '8943c8638809b290e899f2249bdda554ccda5155', class: "hamburger-menu", onClick: this.toggleMenu }, h("dda-tooltip", { key: '883aedd8114871b1edd63db702553a79d57c5b1f', title_text: "Menu", position: "top", class: "d-block" }, h("button", { key: 'd3af0e0157f5438cd16a4f1b0408c7dacdb3e249', type: "button", class: "hamburger-menu-btn", name: this.hamburger_menu_button_name }, h("span", { key: '7c498376a214b30c49248e3f773aa1b1099b5e10', class: "hamburger-line" }), h("span", { key: '61e67708e555988524be0d53d9c3b0332a13d22f', class: "hamburger-menu-text" }, this.menu_button_label)))), h("div", { key: '79f69bcacfd69b1eba9398a7872b0220054484bc', class: "dda-sidemenu", style: { display: this.isMenuOpen ? 'block' : '', insetInlineStart: this.isMenuOpen ? '0px' : '' } }, h("div", { key: '2a2805146eab6d4cf7d7b1daa3ca419a90b74c45', class: "dda-sidemenu-content" }, h("p", { key: '9d7c6613497a7fd8d1ba5d0a3bf29353e95555d6', class: "dda-side-nav-title" }, "Quick Links"), h("ul", { key: 'bb7cf7d44fa6e394fc3dcdc4102aa9dd7f57afed', class: "main_side_menu" }, sideMenuItems.map((menu, index) => {
250
+ return (h("header", { key: '43166a6b01154f028167b441653d529995f70ddf', class: "dda-header" }, h("div", { key: 'a297117e6057f9629884c39db1c3babdeabf542d', class: "dda-head-logo" }, h("a", { key: '0214471f1b3afbf9ddac97790d36e224430d9f29', href: this.firstLogoHref, class: "govt-logo" }, h("img", { key: '14fc6908a033e635f12f678b0cf3f0eb57656da2', class: "logo-colored", src: this.firstLogoSrc, alt: this.firstLogoAlt }), h("img", { key: 'f44df6db1a4c24ade54f38bda4e693007ba32643', class: "logo-white", src: this.firstLogoWhiteSrc || this.firstLogoSrc, alt: this.firstLogoAlt })), h("a", { key: '875d0b2b37fd65c239e8727b95b8e430d578146c', href: this.secondLogoHref, class: "entt-logo" }, h("img", { key: '65e49ed851a16be54d97827f7086f04939508b68', class: "logo-colored", src: this.secondLogoSrc, alt: this.secondLogoAlt }), h("img", { key: '2fdd1ec129ab3d3c2647ae009f3573140bf5b642', class: "logo-white", src: this.secondLogoWhiteSrc || this.secondLogoSrc, alt: this.secondLogoAlt }))), h("div", { key: 'b8b18a8497c6942697876b7ca0d6d00de58bc9c5', class: "dda-menu-container" }, h("div", { key: 'b43c4406281640978e3396c91cd6de75122eeb5a', class: "dda-main-navigation" }, h("div", { key: 'b1209cd2a8d120e996d69069985ba30c800c2097', class: `dda-menu-overley ${this.isMenuOpen ? 'show-overley' : ''}`, onClick: this.toggleMenu }), h("div", { key: '175e76801f7075751034c57b686957f830920858', class: "hamburger-menu", onClick: this.toggleMenu }, h("dda-tooltip", { key: '789d7b7454d9efc21daf581c4c925dc5c4cf5d56', title_text: "Menu", position: "top", class: "d-block" }, h("button", { key: '0fadce5552c1b6887485f79141579f03addbeeff', type: "button", class: "hamburger-menu-btn", name: this.hamburger_menu_button_name }, h("span", { key: 'da32b9b73992ddf8b628ff5a59c0983ea232e168', class: "hamburger-line" }), h("span", { key: 'dd5183d61830656cfbb62d153601c9f1b9ce3e27', class: "hamburger-menu-text" }, this.menu_button_label)))), h("div", { key: '35bb4d17184d78cc82f10575c405671d2399c083', class: "dda-sidemenu", style: { display: this.isMenuOpen ? 'block' : '', insetInlineStart: this.isMenuOpen ? '0px' : '' } }, h("div", { key: '8b872eedae11463b79109b86aaebe79049417a0a', class: "dda-sidemenu-content" }, h("p", { key: 'b60ca2503ec258a0a2c929e58a2b60ad6a66be28', class: "dda-side-nav-title" }, "Quick Links"), h("ul", { key: '97a5b237524a897a1dd27cc35dc82f2978b7f88c', class: "main_side_menu" }, sideMenuItems.map((menu, index) => {
242
251
  const currentIndex = `menu-${index}`;
243
252
  return (h("li", { key: currentIndex }, h("a", { href: menu.href, class: menu.subMenu && menu.subMenu.length > 0 ? 'showSub' : '', onClick: (e) => {
244
253
  if (menu.subMenu && menu.subMenu.length > 0) {
@@ -246,7 +255,7 @@ export class DdaHeader {
246
255
  this.toggleSidebarSubMenu(currentIndex);
247
256
  }
248
257
  } }, menu.label), this.renderSubMenu(menu.subMenu, currentIndex)));
249
- }))), h("div", { key: '8918ba48501fea98f9f5e23af9f713fc18f5b2fa', class: "dda-sidemenu-bottom" }, h("div", { key: 'bf7c8da56914f16adaecfae48a917024262210fc', class: "dda-sidemenu-gov-logo" }, h("a", { key: '05e08f19dbf828be8d5fdaf729b84d8589acd6db', href: this.firstLogoHref, class: "govt-logo mb-2" }, h("img", { key: '1591daf173408ad72f6a507979c193aaaaad21fc', class: "", src: this.firstLogoSrc, alt: this.firstLogoAlt }))), h("div", { key: 'a0bb20f356d5decd533dd9f3b0706c51c241538d', class: "dda-toolbar-menu-sidemenu" }, h("ul", { key: 'e6d2fb2115a0e8963916b099d60c06926cf26ad5' }, h("li", { key: 'f7fe790e3220687654de22cc711fb240f87017e8' }, h("button", { key: 'b52e9db9bd0b34801a3717076c8d7ef177b33986', name: this.accessibility_button_name, class: "tool-btn accessibility-btn", type: "button", "aria-expanded": this.isAccessibiltyOpen ? 'true' : 'false', onClick: this.toggleAccessibilty }, h("i", { key: '897d71b977998376caf248f87f4dc249703aff91', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "accessibility"), h("span", { key: 'd309456157ac6c8d87e860a653ddfac117ee4516', class: "visually-hidden" }, "Accessibility"))), h("li", { key: '9c7ef14184ae74fa09b0a693f90dd6705ebb8732' }, h("button", { key: '84a78e8b4c0be986dd354c38e02e32a120011806', name: this.language_button_name, class: "tool-btn", type: "button", lang: this.language_lang, onClick: this.languagehandler }, this.language_text || 'العربية')), h("li", { key: 'fa0ac482c0b7e3edd7f30241b3648a4f98847a3d' }, h("dda-link-button", { key: '1d88d266fd04291570e9a0994aabb8773fce08a1', button_color: "onsurface-secondary", start_icon: this.loginIcon || "sentiment_satisfied", custom_class: "tool-btn", href: this.loginLink, button_shape: "circle", size: "sm" }, this.loginText || "Login"))))), h("button", { key: 'd3f3f54406605a0679d08402349aae5e5404ea92', name: this.close_menu_button_name, class: "close-btn side-nav-close-btn", "aria-label": "Close Sidebar", onClick: this.toggleMenu }, h("i", { key: '451bb4d3ea3ff94789a5674e3d9e28d74c504f28', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")), h("div", { key: 'ba9e85dcff48925774524946cbae874ebf5737c5', class: "dda-accessibility hide-accessibility mobile-accessibility", style: { display: this.isAccessibiltyOpen ? 'block' : 'none' } }, h("div", { key: '9e0cd822507f0ac783fb7e20e56659aadfb26c52', class: "dda-row" }, h("div", { key: '89090d09f1a6d453a020e87953e5e4fcdc1ea79d', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: 'f9aab7d329ee8fbc0fb6b0b16e7a739a18d65626', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Contrast"), h("form", { key: '909a9703e875474a9329fa6dae67130db37bf4df' }, h("fieldset", { key: '4bf7fbd0a6426f6a87398041f82905d98072ab58', class: "dda-theme-list" }, h("legend", { key: '38070112c6469825d8cf3b10c4775a0b93f217ee' }, h("p", { key: 'd6a7a89edd69a544a26e2d50e651e6b219230d50', class: "mb-3" }, "Select your preferred contrast setting ")), h("dda-radiobutton", { key: 'b19ac1061d3391ea8939211dfdc5cf50936ddd12', title_text: "Normal", checked: true, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "NormalMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.normalContrasthandler }), h("dda-radiobutton", { key: '3179c8a860a5f7fee67a914c2f84195346ce504e', title_text: "Colours Blind", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "ColoursBlindMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.blindContrasthandler }), h("dda-radiobutton", { key: '64042da98d51444cee218759d888711bca7baa3c', title_text: "Red Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "RedWeaknessMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.redContrasthandler }), h("dda-radiobutton", { key: 'c61599e3ece634ec5e7c68b231ed81b70cfbc6de', title_text: "Green Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "GreenWeaknessMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.greenContrasthandler })))), this.readSpeakerLink && (h("div", { key: 'cd24593029e6e55698cad2fe02912d067cf24221', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '04355bd5ee7ffa5fbb0e9c135f192c402158d579', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Screen Reader"), h("p", { key: '70637dd80d0c35edde54a21127ccd90d6c807b79', class: "mb-3" }, "Listen to the content of the page by clicking play or listen"), h("div", { key: 'b54c48192cfb5d8a5a5f727c0df34f3901f2c1b6', class: "rs_skip rsbtn rs_preserve", id: "readspeaker_button1" }, h("a", { key: '476e196b15f445aa9d4880776a7f9e21c11fdba1', href: this.readSpeakerLink, rel: "nofollow", class: "rsbtn_play circle readspeaker", accessKey: "L", "aria-label": "Listen to this page using ReadSpeaker" }, h("i", { key: 'd07a9c81088aeaabd72cc39ae7745e60e1649331', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "volume_up"))))), h("div", { key: 'e6de843ff3b400036388213b217d5e0feb9e5cdb', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '5bd754cc6513104ba219c5f6d49afa112a8339c4', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Text Size"), h("p", { key: '16d78ac06802779a4f94389b63fbc2d785f163b4', class: "mb-3" }, "Use the buttons below to increase or decrease the text size"), h("div", { key: 'bf9eb9e678400e18a4a8af011ca49fe004bf5d57', class: "d-flex dda-gap-4" }, h("dda-button", { key: '170670dff71878e0415a87bb10d30feca0882320', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.baseTexthandler }, "A"), h("dda-button", { key: '491359c422a1f35860aa852d6b2184eb44ce325e', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.lgTexthandler }, "A+"), h("dda-button", { key: 'c26cd22de75e41fd77eb256d3819c2c712524333', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.smTexthandler }, "A-")))), h("button", { key: '815ffae8bef58e2070da4a2904676382ce73bd94', name: this.close_accessibility_button_name, class: "close-btn close_accessibility", "aria-label": "Close Accessibility", onClick: this.toggleAccessibilty }, h("i", { key: '5999be01eadcd79247ed45659863b90d016b0d91', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")))), h("div", { key: 'e0f34268e188c541e3b787640fa48b52b97522f5' }, h("ul", { key: '72ee4d360600d817ceb45f4440c2f52f15e73ba3', class: "dda-mega-menu" }, quickLinks.map((link, index) => (h("li", { key: index }, h("a", { href: link.subMenu && link.subMenu.length > 0 ? '#' : link.href, onClick: link.subMenu && link.subMenu.length > 0 ? (e) => this.toggleSubMenu(index, e) : undefined, class: link.subMenu && link.subMenu.length > 0 ? `showSub ${this.activeMenuIndex === index ? 'icon_arrow' : ''}` : '' }, link.label), link.subMenu && link.subMenu.length > 0 && (h("div", { class: `megamenu-content ${this.activeMenuIndex === index ? 'showSubMenu' : ''}`, style: { display: this.activeMenuIndex === index ? 'block' : 'none' } }, h("div", { class: "megamenu-item dda-container" }, h("div", { class: "dda-row" }, h("div", { class: "dda-col-md-3" }, h("h3", { class: "mega-menu-title" }, link.menuLabel), h("ul", null, link.subMenu.map((subItem, subIndex) => (h("li", { key: subIndex }, h("a", { class: "megamenu-link", href: subItem.href }, h("span", { class: "dda-btn btn-color-onsurface-secondary btn-size-sm icon-btn-default" }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, subItem.icon)), h("span", { class: "text-wrap" }, h("span", { class: "title-text dda-fs-body-lg dda-fw-700" }, subItem.title), h("span", { class: "dda-fs-tagline-lg dda-fw-400" }, subItem.description))))))))), h("button", { name: "close-mega-menu", class: "close-btn close_mega-menu", "aria-label": "Close Sidebar", onClick: () => setActiveMenuIndex(null) }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))))))))))), h("div", { key: '35e72dd6dc7bbd27571565d7fbef85f03c8ff78c', class: "dda-mobile-entt-logo" }, h("a", { key: '7e4b9b3f9111d21c158b1a3bbe0b05f0f0f6fd70', href: this.secondLogoHref, class: "entt-logo" }, h("img", { key: '1e5d1d48cd749d447d190d7faff5d6eea3848530', class: "logo-colored", src: this.secondLogoSrc, alt: this.secondLogoAlt }), h("img", { key: 'ae611112d7530157542b8b61f75735963bc915cf', class: "logo-white", src: this.secondLogoWhiteSrc, alt: this.secondLogoAlt }))), h("div", { key: 'd0094b35cbe783e3fb25c193416fbf1ab93d8556', class: "dda-mobile-search" }, h("button", { key: '870ffde548bc9e25fbbe49a38555f37537a7a9e0', 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", { key: '60e517bc5a3fc426481849e016c30ee8c2ac3557', class: "visually-hidden" }, "Search"), h("i", { key: 'b7ecd241524fa2accb5a6237fd5d9d7077251794', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "search"))), h("div", { key: '902c3ea25f85ba68256b74d7056bad3ba4cc0387', id: `${this.searchId}-mobile-panel`, class: "dda-mobile-search-panel", hidden: !this.isSearchOpen }, h("form", { key: '148f3c496aded74efa2e64a4d54eddcd14760bf3', 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: '751a5b0c40ee046038926b194749556a769c7a36', type: "button", class: "dda-mobile-search-close", "aria-label": "Close search", onClick: this.closeMobileSearch }, h("i", { key: '0037d13333ea93db8b3be2d3a4d296129e84c39f', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")))), h("div", { key: '70850e651e4de663dfa28e3b5938ff1051407219', class: "dda-toolbar-menu" }, h("ul", { key: 'b5668caf22cb9f01ac050df816c43603c30a544c' }, h("li", { key: 'f0210f077b513a749e87053138ecc63a35e87399' }, h("dda-tooltip", { key: 'b3b772f6e089c28ab37f31d85daacd06c26e92e0', title_text: "Search", description: "", position: "top" }, h("form", { key: '4c3ff26b350bbe4f0e91d6699c8417c6f21f9b2a', 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: 'f7a33d69d11ba0ba1fe8dd958e7981ec59bb7470' }, h("dda-tooltip", { key: 'bb3e72c4603885e1d870ed429c1d93d636f0aef9', title_text: "Accessibility", position: "top" }, h("button", { key: '8caf228694a60516971d87d77a483994100110ca', name: this.toggle_accessibility_button_name, class: "tool-btn dda-btn btn-color-onsurface-secondary btn-size-sm btn-shape-circle accessibility-btn", type: "button", "aria-expanded": this.isAccessibiltyOpen ? 'true' : 'false', onClick: this.toggleAccessibilty }, h("i", { key: 'bc60fb676a6d22f3be5ab28935a0c06fb408a379', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "accessibility"), h("span", { key: '34589aa010f144b9da00368693777cc6fdabd2a9', class: "visually-hidden" }, "Accessibility"))), h("div", { key: '78f53b78fde1d12c59b9ba0d3357fcc03fb928a6', class: "dda-accessibility-wrap" }, h("div", { key: '588b4667aa0f6bbec2e3f3b5234313f4fe650deb', class: "dda-accessibility hide-accessibility", style: { display: this.isAccessibiltyOpen ? 'block' : 'none' } }, h("div", { key: '7a9ac838daab93bdd46019fdc0f9af53dbc37b5a', class: "dda-row" }, h("div", { key: 'e7631c2ec8d84fef789e1534e46122654bba0ff1', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '17241511306c659d5f02220f7a4851dc1d07de39', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Contrast"), h("form", { key: 'bf235a989d6d2fb4ad6e3cd53696aae01fe7160d' }, h("fieldset", { key: '87d0b964ab7362848b3d88a4c22fa98e51ba7f22', class: "dda-theme-list" }, h("legend", { key: '829f6447739ff0141e7f27e1b31ab3ba95d05d1d' }, h("p", { key: '0656f06018cd9647cd7412f97e9b7455540746da', class: "mb-3" }, "Select your preferred contrast setting ")), h("dda-radiobutton", { key: 'fa7c4e55de7e627de03a040133af2a66b9016f23', title_text: "Normal", checked: true, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "Normal", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.normalContrasthandler }), h("dda-radiobutton", { key: '1d64b10b2510379c4d3c3b592eb9941fab857a6f', title_text: "Colours Blind", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "ColoursBlind", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.blindContrasthandler }), h("dda-radiobutton", { key: 'bbb494fa57baadbcba5e2e54cc5f39828960383b', title_text: "Red Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "RedWeakness", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.redContrasthandler }), h("dda-radiobutton", { key: '508e8a52a44b4c35ba4bd14a7e5ba5db039c082a', title_text: "Green Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "GreenWeakness", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.greenContrasthandler })))), this.readSpeakerLink && (h("div", { key: 'dca16a90b508423c45583a796d9cdb9b66a23e99', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '57fc7d68dac68f8526792b1bab4ba85f914c95aa', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Screen Reader"), h("p", { key: '7c74e9c2ea106f0df88cd2a7a1f0ba8a1064a896', class: "mb-3" }, "Listen to the content of the page by clicking play or listen"), h("div", { key: '68dba92e3b0a42b1eaf4b2cb1e2ebea3c911840f', class: "rs_skip rsbtn rs_preserve", id: "readspeaker_button1" }, h("a", { key: '838e196441241bda861519b11a4667c8572fe7ac', href: this.readSpeakerLink, rel: "nofollow", class: "rsbtn_play circle readspeaker", accessKey: "L", "aria-label": "Listen to this page using ReadSpeaker" }, h("i", { key: '5fb81726c2db586b924c01f7ae81b7c6448ba4b8', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "volume_up"))))), h("div", { key: '66b59708e2560b0d9d3ba396eae9c3e723031fee', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '34d37007a38a8370435afc88775a7b12850d5721', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Text Size"), h("p", { key: '53f129ab0195fa104583252b2d8cf9eb91780915', class: "mb-3" }, "Use the buttons below to increase or decrease the text size"), h("div", { key: 'f40d4b1c573384afe021859bb5bfb63a2e2a5303', class: "d-flex dda-gap-4" }, h("dda-button", { key: '1ab2cecc2e94a665cc1941360f9482beebf811e9', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.baseTexthandler }, "A"), h("dda-button", { key: '9b7029f2c49c381d2fc3620f064076c9bd608fd2', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.lgTexthandler }, "A+"), h("dda-button", { key: '5a8a41bd805857f41eed3ded0afcb99806f9c762', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.smTexthandler }, "A-")))), h("button", { key: '47520c3b263c79bfec9d67c11aad5e3e4e8fa065', name: this.close_accessibility_button_name, class: "close-btn close_accessibility", "aria-label": "Close Sidebar", onClick: this.toggleAccessibilty }, h("i", { key: '636a4616485c0d9edce9695253675546420986e9', class: "materinal-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))))), h("li", { key: '2d4754cef9515792efc86758bd8a9b9483ffefe8' }, h("dda-tooltip", { key: '5cfd884e2e77576e589864a69ae338d49b40b6cc', title_text: "Language", position: "top" }, h("dda-button", { key: 'b19beaea25bd008192fed7ded713709f9100f347', button_color: "onsurface-secondary", custom_class: "tool-btn", button_shape: "circle", size: "sm", lang: this.language_lang, onClick: this.languagehandler }, this.language_text || 'العربية'))), h("li", { key: '4b5f8597a4bc3e0994da33bd126db45d8017f440' }, h("dda-tooltip", { key: '22f6b1d7d3197367eb2f5c7395999438977abcba', title_text: "Login", position: "top" }, h("dda-link-button", { key: 'ff0683afe8e9999cbdf086a7464d1271a99e5ad0', button_color: "onsurface-secondary", start_icon: "sentiment_satisfied", custom_class: "tool-btn", href: this.loginLink, button_shape: "circle", size: "sm" }, "Login"))))))));
258
+ }))), h("div", { key: '2068b95884e81e7d45fa6d172bceaf8e9fcf3a5f', class: "dda-sidemenu-bottom" }, h("div", { key: 'f8fad40c7a6bcd89445caff8312b1d75446a2c39', class: "dda-sidemenu-gov-logo" }, h("a", { key: 'fd3cf7324d60503323536756c46a3e2269dd76be', href: this.firstLogoHref, class: "govt-logo mb-2" }, h("img", { key: '0c072aea99471241c4beed44aa45a783487109d1', class: "", src: this.firstLogoSrc, alt: this.firstLogoAlt }))), h("div", { key: 'd5229b78918d3f5141bdd6508bc9290dd82cff2e', class: "dda-toolbar-menu-sidemenu" }, h("ul", { key: 'c3a5fea233575cc41086f006d83c121637249ffa' }, h("li", { key: '05b8380b1bc2904dde6325c75e505c791d80d3b9' }, h("button", { key: '77bf98403406f1805e7c124868697ce93fa909c1', name: this.accessibility_button_name, class: "tool-btn accessibility-btn", type: "button", "aria-expanded": this.isAccessibiltyOpen ? 'true' : 'false', onClick: this.toggleAccessibilty }, h("i", { key: 'ba8ac2e906459c4f1146b8914fee17bd1e61bd31', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "accessibility"), h("span", { key: '40fdbbf2e61ab20d38b7393367b0307dbc79f653', class: "visually-hidden" }, "Accessibility"))), h("li", { key: 'e0967bfcee2d3cfced038afcd8d71f9b68b1c6c2' }, h("button", { key: '15b7f3fd0f8a88bf1e5b55c9193af6ce2f562766', name: this.language_button_name, class: "tool-btn", type: "button", lang: this.language_lang, onClick: this.languagehandler }, this.language_text || 'العربية')), !this.hide_login && (h("li", { key: '344c7ea8f9f39fc6b9186fae9f9d0e2a29812bd0' }, h("dda-link-button", { key: 'ddd23793936494095f92199ca8aa3b6542e057ee', button_color: "onsurface-secondary", start_icon: this.loginIcon || "sentiment_satisfied", custom_class: "tool-btn", href: this.loginLink, button_shape: "circle", size: "sm" }, this.loginText || "Login")))))), h("button", { key: 'c98eded45379cc3a5329754dbc20ee60b6b25613', name: this.close_menu_button_name, class: "close-btn side-nav-close-btn", "aria-label": "Close Sidebar", onClick: this.toggleMenu }, h("i", { key: '4e9757b2a1de7194d952caffefdf312a05b71f32', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")), h("div", { key: 'b0469e9a46224bfcd216cff235fead2897f50d2b', class: "dda-accessibility hide-accessibility mobile-accessibility", style: { display: this.isAccessibiltyOpen ? 'block' : 'none' } }, h("div", { key: '93defee85dde89cfa6e67e6b3ca370353c5e6222', class: "dda-row" }, h("div", { key: 'c481f64ad8865cfca1f5b0bc0354172aeedaabcd', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '73937142ec896b3f45dad228c2877835162b79ac', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Contrast"), h("form", { key: '16ff3eb668308d3de610b7d31fe09703f80fdf92' }, h("fieldset", { key: 'e60d6ee03d81c4227083d0af770a169612f287d3', class: "dda-theme-list" }, h("legend", { key: '5e3bc4f036fd51720049c5f0443ae63717b6f8dc' }, h("p", { key: '374381cf5812b6f71abba5ff320b061b80a3f62d', class: "mb-3" }, "Select your preferred contrast setting ")), h("dda-radiobutton", { key: 'f51398e186eec4a8e432d54fa04b56768614889e', title_text: "Normal", checked: true, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "NormalMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.normalContrasthandler }), h("dda-radiobutton", { key: '0903e68c4d56436e1375d11eace6012b0abdc056', title_text: "Colours Blind", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "ColoursBlindMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.blindContrasthandler }), h("dda-radiobutton", { key: '654338fbc2ea136382ba8317a25860e1c6ef035c', title_text: "Red Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "RedWeaknessMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.redContrasthandler }), h("dda-radiobutton", { key: '7fcb7c39b886f225ded3dfb785ef64a8a96cd3cd', title_text: "Green Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselectionmobile", input_id: "GreenWeaknessMobile", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.greenContrasthandler })))), this.readSpeakerLink && (h("div", { key: '670590bb033f934dd1c2a0ff2389852bdf6f6361', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: 'bae3c03019f94931a0b2916e2b0a27c4451fd73c', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Screen Reader"), h("p", { key: '5b76889779669cabb33daee5dc521365c69ad96f', class: "mb-3" }, "Listen to the content of the page by clicking play or listen"), h("div", { key: '47c3a9f7d45b9a126906eb096eac60bede592c4a', class: "rs_skip rsbtn rs_preserve", id: "readspeaker_button1" }, h("a", { key: 'b2ebbc608601aa1fe5820b3fe87f9666ff0fb93d', href: this.readSpeakerLink, rel: "nofollow", class: "rsbtn_play circle readspeaker", accessKey: "L", "aria-label": "Listen to this page using ReadSpeaker" }, h("i", { key: 'c3b834ef498cde814d013761d3a37aecb5b4098b', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "volume_up"))))), h("div", { key: 'f24c9312dddde483e7ca60ed25c9627b179e6982', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '22f54cd6e591377091ec8af31428ae53a5e0d4c8', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Text Size"), h("p", { key: 'ae950393bfe69fdbff4b858cf293e1add02e5e66', class: "mb-3" }, "Use the buttons below to increase or decrease the text size"), h("div", { key: '09bf848262d342e678c6801eec642260226b60ad', class: "d-flex dda-gap-4" }, h("dda-button", { key: 'd5c3e531d557d74bb976b8fa35a1b228798b9b6f', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.baseTexthandler }, "A"), h("dda-button", { key: '7ed5564d6d99ace659b878510b412e0028a21b97', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.lgTexthandler }, "A+"), h("dda-button", { key: 'fbcd2b704dbddbd85c022210cd85824b67fe1bc1', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.smTexthandler }, "A-")))), h("button", { key: '0354ef95cce6976ea90307fa3e23a959b91136bf', name: this.close_accessibility_button_name, class: "close-btn close_accessibility", "aria-label": "Close Accessibility", onClick: this.toggleAccessibilty }, h("i", { key: 'f4f26c5ff5dafb974c1f0325ae04f235f9eb9bc2', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")))), h("div", { key: '3555e5a4a533f570fc36408d45bba80c23645886' }, h("ul", { key: 'ebadb135c7a33a8969fce9c1459f0ae7d9014f43', class: "dda-mega-menu" }, quickLinks.map((link, index) => (h("li", { key: index }, h("a", { href: link.subMenu && link.subMenu.length > 0 ? '#' : link.href, onClick: link.subMenu && link.subMenu.length > 0 ? (e) => this.toggleSubMenu(index, e) : undefined, class: link.subMenu && link.subMenu.length > 0 ? `showSub ${this.activeMenuIndex === index ? 'icon_arrow' : ''}` : '' }, link.label), link.subMenu && link.subMenu.length > 0 && (h("div", { class: `megamenu-content ${this.activeMenuIndex === index ? 'showSubMenu' : ''}`, style: { display: this.activeMenuIndex === index ? 'block' : 'none' } }, h("div", { class: "megamenu-item dda-container" }, h("div", { class: "dda-row" }, h("div", { class: "dda-col-md-3" }, h("h3", { class: "mega-menu-title" }, link.menuLabel), h("ul", null, link.subMenu.map((subItem, subIndex) => (h("li", { key: subIndex }, h("a", { class: "megamenu-link", href: subItem.href }, h("span", { class: "dda-btn btn-color-onsurface-secondary btn-size-sm icon-btn-default" }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, subItem.icon)), h("span", { class: "text-wrap" }, h("span", { class: "title-text dda-fs-body-lg dda-fw-700" }, subItem.title), h("span", { class: "dda-fs-tagline-lg dda-fw-400" }, subItem.description))))))))), h("button", { name: "close-mega-menu", class: "close-btn close_mega-menu", "aria-label": "Close Sidebar", onClick: () => setActiveMenuIndex(null) }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))))))))))), h("div", { key: '854e24db6dbec2bac0853d6071d46b7e5c221b35', class: "dda-mobile-entt-logo" }, h("a", { key: 'cd70858d48dc1d480e50bfa33b5f306cbdad6f4c', href: this.secondLogoHref, class: "entt-logo" }, h("img", { key: 'f43c2a7dbf7b67ba9b498eeece2ebe9467883fb6', class: "logo-colored", src: this.secondLogoSrc, alt: this.secondLogoAlt }), h("img", { key: '0e89c9bec4ff2f1d9ef2d1eda15ebe3b7c676446', class: "logo-white", src: this.secondLogoWhiteSrc, alt: this.secondLogoAlt }))), h("div", { key: 'a5474b5c7addd4133551987abe5df14306e343c2', class: "dda-mobile-search" }, h("button", { key: 'a36f8468c93b5c8510311683bf7215c7d9bebb23', 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", { key: '402360581f2bae5f39d1ae869692933e702ffd3a', class: "visually-hidden" }, "Search"), h("i", { key: '7c14bb124fed07e91007fe3e6d4218490cc650e4', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "search"))), h("div", { key: 'b7ed041b502925f0637e1e0ed541c0b730430a22', id: `${this.searchId}-mobile-panel`, class: "dda-mobile-search-panel", hidden: !this.isSearchOpen }, h("form", { key: '62d1886a6b174d0d20a2d4e49242cff4e3b858e2', 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: '70ccebc977fbeba61428f2c5198f113bc2957df5', type: "button", class: "dda-mobile-search-close", "aria-label": "Close search", onClick: this.closeMobileSearch }, h("i", { key: '057723af96658930cc885323288117d8c0c54fe2', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")))), h("div", { key: '2ab48d0aac2875a2ed5930a10fdd79ec0943b216', class: "dda-toolbar-menu" }, h("ul", { key: 'c3d6e3416dde1ea5a6cf62d01de97b7c0323c957' }, h("li", { key: 'efdcdf6436d2a6646f3eeaacd34f1078196b10a1' }, h("dda-tooltip", { key: '8ccd71882a96427444ed789ad9eca0e489b99892', title_text: "Search", description: "", position: "top" }, h("form", { key: '25dbdf52a3cbfad3fca2f81c07f6ba02042bd4e4', 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: '1a5b626026b141cd806fdfa8d88c16f6d08491b0' }, h("dda-tooltip", { key: '614f5af0b5193f9b170530249328b5414a4e25bb', title_text: "Accessibility", position: "top" }, h("button", { key: '73c599b295f27b8171f5b7765dd60b321e874d1c', name: this.toggle_accessibility_button_name, class: "tool-btn dda-btn btn-color-onsurface-secondary btn-size-sm btn-shape-circle accessibility-btn", type: "button", "aria-expanded": this.isAccessibiltyOpen ? 'true' : 'false', onClick: this.toggleAccessibilty }, h("i", { key: 'a0d66112601707ac140afe1ac81f985b78c76365', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "accessibility"), h("span", { key: 'f25a594c8ee3f0e292aa2647a892b2f5f6b87af7', class: "visually-hidden" }, "Accessibility"))), h("div", { key: '5750bf8f5a0a14bad32bb2bf1da8f0b89a97d333', class: "dda-accessibility-wrap" }, h("div", { key: '737965b7dd14b33a84c1c8dd0fd2cad3a7141b2b', class: "dda-accessibility hide-accessibility", style: { display: this.isAccessibiltyOpen ? 'block' : 'none' } }, h("div", { key: '1aaffffa4c83f9ee065bc8398c0aeba88afb76af', class: "dda-row" }, h("div", { key: 'e8337c48645661d2d381b367a8a4fe3c9564dad6', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '0a0ef35d619401eb9e7a9094dbd6481066862bcd', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Contrast"), h("form", { key: '693850d5a96f978d7ae350c2fa7c71d1b23fe114' }, h("fieldset", { key: '15ec283264f3505b50251a148f256810f398f3ff', class: "dda-theme-list" }, h("legend", { key: '3b35f9bef60a82c89b75df5c0f02828671625d34' }, h("p", { key: '75898cdac310529ad1e3c838995385c53b7d62ab', class: "mb-3" }, "Select your preferred contrast setting ")), h("dda-radiobutton", { key: '2d720c4f9c5bd3e4c784040eb35bd5ce54a08d1c', title_text: "Normal", checked: true, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "Normal", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.normalContrasthandler }), h("dda-radiobutton", { key: '1ba2595eacc84a62581722388a2995acd69181b5', title_text: "Colours Blind", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "ColoursBlind", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.blindContrasthandler }), h("dda-radiobutton", { key: '529da9f6cea575e7d7f2aaee681b025de4216200', title_text: "Red Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "RedWeakness", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.redContrasthandler }), h("dda-radiobutton", { key: 'a7893807dbea15a170bdc28be26f279ffa9b0735', title_text: "Green Weakness", checked: false, size: "sm", variants: "normal", supporting: "", group_name: "themeselection", input_id: "GreenWeakness", custom_class: "", component_mode: "", aria_label: "radio-button", onClick: this.greenContrasthandler })))), this.readSpeakerLink && (h("div", { key: '771a1c410dd2d23369dd9288d92cdca8fe668d7d', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: 'eb442afea6c3c89a0889199ed2456610a4317be6', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Screen Reader"), h("p", { key: 'b44535f044e585f9fc866a0f9bfb8ff18891ad25', class: "mb-3" }, "Listen to the content of the page by clicking play or listen"), h("div", { key: '597d520cb2cae3c04579cbc5c3dd4c64bde439d0', class: "rs_skip rsbtn rs_preserve", id: "readspeaker_button1" }, h("a", { key: 'a477ebdd7ea39a8375797aaedb8fa3fbb63b5bb2', href: this.readSpeakerLink, rel: "nofollow", class: "rsbtn_play circle readspeaker", accessKey: "L", "aria-label": "Listen to this page using ReadSpeaker" }, h("i", { key: '6e0a70c58ab21cfe2e51dd5cde2b3d1e0d5567fe', class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "volume_up"))))), h("div", { key: '569ee1ca086374701b87b831a282237aaee89696', class: "dda-col-md-4 dda-accessibility-item" }, h("h2", { key: '8011557e79f3b2a2cc9ae9204558d4f342857b72', class: "dda-fs-body-lg dda-fw-700 mb-1" }, "Text Size"), h("p", { key: '412bc7065a2d767b05e045fc008fbbb7c2415193', class: "mb-3" }, "Use the buttons below to increase or decrease the text size"), h("div", { key: '863736e26da3cfd0250953f3477d9dcc630bba09', class: "d-flex dda-gap-4" }, h("dda-button", { key: '3bed6701006f848c1a398cfebc09887b5708b9b9', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.baseTexthandler }, "A"), h("dda-button", { key: '6b0c58960dfc0ef027cde9f23aa2e4604e5ae82b', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.lgTexthandler }, "A+"), h("dda-button", { key: '36859719ec855a9c820ee785f835babe53d66a13', button_color: "default-secondary", icon_button_shape: "circle", custom_class: "", size: "lg", onClick: this.smTexthandler }, "A-")))), h("button", { key: '5eeb28eeff4092f5276c7ad5799b97016921298d', name: this.close_accessibility_button_name, class: "close-btn close_accessibility", "aria-label": "Close Sidebar", onClick: this.toggleAccessibilty }, h("i", { key: 'f304a9d206b14774ed885524ad870e410cd838a9', class: "materinal-icons material-symbols-outlined", "aria-hidden": "true" }, "close"))))), h("li", { key: '4afaf5c712bf481eb733c43cedaefc85ae3d5868' }, h("dda-tooltip", { key: '09c796a5ca271097549e63c124ebaa3a3c0a65f6', title_text: "Language", position: "top" }, h("dda-button", { key: '36a733b9fce2fe1e9690bcb46280c29aba29030b', button_color: "onsurface-secondary", custom_class: "tool-btn", button_shape: "circle", size: "sm", lang: this.language_lang, onClick: this.languagehandler }, this.language_text || 'العربية'))), !this.hide_login && (h("li", { key: 'ea2b5b451cc255cfe85b594f689d7fdd858c04c4' }, h("dda-tooltip", { key: '7ec58a5f79d2c7001b05aa682c63256eb4e7686f', title_text: this.loginText || "Login", position: "top" }, h("dda-link-button", { key: 'eac673f812227a6878fd1efba63ec1cd4adfacd5', button_color: "onsurface-secondary", start_icon: this.loginIcon || "sentiment_satisfied", custom_class: "tool-btn", href: this.loginLink, button_shape: "circle", size: "sm" }, this.loginText || "Login")))))))));
250
259
  }
251
260
  static get is() { return "dda-header"; }
252
261
  static get originalStyleUrls() {
@@ -522,7 +531,7 @@ export class DdaHeader {
522
531
  "optional": false,
523
532
  "docs": {
524
533
  "tags": [],
525
- "text": "Material Symbols icon name of the Login link in the side menu. Default: `sentiment_satisfied`."
534
+ "text": "Material Symbols icon name of the Login link in the desktop toolbar and the side menu. Default: `sentiment_satisfied`."
526
535
  },
527
536
  "getter": false,
528
537
  "setter": false,
@@ -541,13 +550,33 @@ export class DdaHeader {
541
550
  "optional": false,
542
551
  "docs": {
543
552
  "tags": [],
544
- "text": "Label of the Login link in the side menu. Default: `Login`."
553
+ "text": "Label of the Login link in the desktop toolbar and the side menu. Default: `Login`."
545
554
  },
546
555
  "getter": false,
547
556
  "setter": false,
548
557
  "reflect": false,
549
558
  "attribute": "login-text"
550
559
  },
560
+ "hide_login": {
561
+ "type": "boolean",
562
+ "mutable": false,
563
+ "complexType": {
564
+ "original": "boolean",
565
+ "resolved": "boolean",
566
+ "references": {}
567
+ },
568
+ "required": false,
569
+ "optional": false,
570
+ "docs": {
571
+ "tags": [],
572
+ "text": "Hides the Login link in the desktop toolbar and the side menu."
573
+ },
574
+ "getter": false,
575
+ "setter": false,
576
+ "reflect": false,
577
+ "attribute": "hide_login",
578
+ "defaultValue": "false"
579
+ },
551
580
  "language_text": {
552
581
  "type": "string",
553
582
  "mutable": false,
@@ -948,6 +977,7 @@ export class DdaHeader {
948
977
  }
949
978
  }];
950
979
  }
980
+ static get elementRef() { return "el"; }
951
981
  static get watchers() {
952
982
  return [{
953
983
  "propName": "isMenuOpen",
@@ -3,6 +3,18 @@ export default {
3
3
  tags: ['autodocs'],
4
4
  component: 'dda-header',
5
5
  argTypes: {
6
+ loginText: {
7
+ control: { type: 'text' },
8
+ description: 'Label of the Login link in the desktop toolbar and the side menu (default Login)',
9
+ },
10
+ loginIcon: {
11
+ control: { type: 'text' },
12
+ description: 'Material Symbols icon name of the Login link (default sentiment_satisfied)',
13
+ },
14
+ hide_login: {
15
+ control: { type: 'boolean' },
16
+ description: 'Removes the Login link from the desktop toolbar and the side menu',
17
+ },
6
18
  hamburger_menu_button_name: {
7
19
  control: { type: 'text' },
8
20
  description: 'Name for the hamburger menu button',
@@ -90,6 +102,9 @@ const Template = args => `
90
102
  second-logo-white-src="${args.secondLogoWhiteSrc}"
91
103
  second-logo-alt="${args.secondLogoAlt}"
92
104
  login-link="${args.loginLink}"
105
+ login-text="${args.loginText}"
106
+ login-icon="${args.loginIcon}"
107
+ ${args.hide_login ? 'hide_login' : ''}
93
108
  language_text="${args.language_text}"
94
109
  hamburger_menu_button_name="${args.hamburger_menu_button_name}"
95
110
  accessibility_button_name="${args.accessibility_button_name}"
@@ -127,6 +142,9 @@ Default.args = {
127
142
  secondLogoWhiteSrc: "https://www.digitaldubai.ae/ResourcePackages/Theme/assets/dist/images/logo.svg",
128
143
  secondLogoAlt: "Dubai-Digital-Authority",
129
144
  loginLink: "/login",
145
+ loginText: "Login",
146
+ loginIcon: "sentiment_satisfied",
147
+ hide_login: false,
130
148
  language_text: "العربية",
131
149
  hamburger_menu_button_name: "hamburger_menu_button_name",
132
150
  accessibility_button_name: "accessibility_button_name",
@@ -193,3 +211,6 @@ Default.args = {
193
211
  { label: 'Contact Us', href: '#', subMenu: [] },
194
212
  ],
195
213
  };
214
+ // A site without sign-in: hide_login removes the Login link from the toolbar and the side menu.
215
+ export const WithoutLogin = Template.bind({});
216
+ WithoutLogin.args = Object.assign(Object.assign({}, Default.args), { hide_login: true });
@@ -16,7 +16,8 @@
16
16
  z-index: 1;
17
17
  }
18
18
 
19
- .home-slider img {
19
+ .home-slider img,
20
+ .home-slider video {
20
21
  width: 100%;
21
22
  height: 100%;
22
23
  object-fit: cover;
@@ -105,8 +106,9 @@
105
106
  width: 100%;
106
107
  text-align: center;
107
108
  position: absolute;
108
- /* The quick-link cards over the banner rise by the sticky footer height, so the controls do too. */
109
- bottom: calc(250px + var(--dda-sticky-footer-height, 0px));
109
+ /* The quick-link cards over the banner rise by the sticky footer height, so the controls do too.
110
+ 274px keeps the controls above the cards, which sit at 69px (.quick-links-wrap in dda.css). */
111
+ bottom: calc(274px + var(--dda-sticky-footer-height, 0px));
110
112
  left: 0;
111
113
  display: flex;
112
114
  justify-content: center;
@@ -206,6 +208,15 @@
206
208
  .slider-nav {
207
209
  bottom: 100px;
208
210
  }
211
+ }
212
+ /* On taller small screens the quick-link cards sit on the banner (dda.css), so the controls sit
213
+ 16px above them. The two custom properties are the cards' gap above the bar and their height. */
214
+ @media screen and (max-width:992px) and (min-height:601px) {
215
+ .slider-nav {
216
+ bottom: calc(var(--dda-sticky-footer-height, 0px) + var(--dda-quick-links-gap-sm, 12px) + var(--dda-quick-links-card-height-sm, 112px) + 16px);
217
+ }
218
+ }
219
+ @media screen and (max-width:992px) {
209
220
  /* Below 992px the text runs the full width, so the scrim must too. */
210
221
  .home-slider .slide-wrap,
211
222
  [dir='rtl'] .home-slider .slide-wrap,
@@ -42,7 +42,7 @@ export class DdaInput {
42
42
  this.input_name,
43
43
  ].filter(Boolean).join(' ');
44
44
  const id = this.inputId;
45
- return (h(Host, { key: 'fb19ff41ee2bb68694a569d5f9176e91976ff1bd' }, h("div", { key: 'a0e88b035e84a2bb843c16c133b1c42d9920cbb9', class: inputClass }, this.label && h("label", { key: '13b74df04c3afefc4467e8661a7b39531405283c', htmlFor: id, class: "dda-input-label" }, this.label), h("input", { key: 'e9b9b54145cd7ae6e0784f2fa314fcd214c5e5d4', "aria-label": this.aria_label, id: id, name: this.input_name, type: this.type, placeholder: this.placeholder, value: this.value, onInput: (event) => this.handleInput(event), class: "dda-input-field dda-input-text", "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined }), this.helper_text && h("span", { key: '2c3f4562423f05642eefd37e333720f15aa920e5', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: 'cc986bf0d4c49550937ff23d82ec8f4548d890a7', id: this.errorId, class: "dda-error-message" }, this.error_message))));
45
+ return (h(Host, { key: '98dd445b764af2df20af7e95dbc49ef74013e312' }, h("div", { key: '7a83ce0abcd733095f27d5c3275d31548acff4ae', class: inputClass }, this.label && h("label", { key: 'ddea5a3451bf37ce1c753d4bddb32cef4a2baa2e', htmlFor: id, class: "dda-input-label" }, this.label), h("input", { key: 'b8c1062b1609e72c4b87f43c4ead4b63ce35262a', "aria-label": this.aria_label, id: id, name: this.input_name, type: this.type, autocomplete: this.autocomplete, placeholder: this.placeholder, value: this.value, onInput: (event) => this.handleInput(event), class: "dda-input-field dda-input-text", "aria-describedby": this.describedBy, "aria-invalid": this.error_message ? 'true' : undefined }), this.helper_text && h("span", { key: 'af728d433f267c7e8c81e8b5894df4a17154faa7', id: this.helperId, class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '94ad0af0de6d1d02860e6432684b79ca137b61ad', id: this.errorId, class: "dda-error-message" }, this.error_message))));
46
46
  }
47
47
  static get is() { return "dda-input"; }
48
48
  static get originalStyleUrls() {
@@ -323,6 +323,25 @@ export class DdaInput {
323
323
  "setter": false,
324
324
  "reflect": false,
325
325
  "attribute": "input_name"
326
+ },
327
+ "autocomplete": {
328
+ "type": "string",
329
+ "mutable": false,
330
+ "complexType": {
331
+ "original": "string",
332
+ "resolved": "string",
333
+ "references": {}
334
+ },
335
+ "required": false,
336
+ "optional": true,
337
+ "docs": {
338
+ "tags": [],
339
+ "text": "`autocomplete` token of the inner `<input>`, e.g. `name`, `email` or `tel`. Set it on fields that ask about the user (WCAG 1.3.5)."
340
+ },
341
+ "getter": false,
342
+ "setter": false,
343
+ "reflect": false,
344
+ "attribute": "autocomplete"
326
345
  }
327
346
  };
328
347
  }