@dubai-design-system/components-js 5.0.3 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +198 -1
- package/MIGRATION.md +423 -0
- package/dist/cjs/dda-accordion.cjs.entry.js +12 -7
- package/dist/cjs/dda-alert.cjs.entry.js +20 -3
- package/dist/cjs/dda-attach-file.cjs.entry.js +24 -8
- package/dist/cjs/dda-avatar.cjs.entry.js +23 -12
- package/dist/cjs/dda-banner.cjs.entry.js +14 -5
- package/dist/cjs/dda-breadcrumb.cjs.entry.js +22 -10
- package/dist/cjs/dda-button.cjs.entry.js +16 -9
- package/dist/cjs/dda-checkbox.cjs.entry.js +5 -4
- package/dist/cjs/dda-chip.cjs.entry.js +8 -3
- package/dist/cjs/dda-credit-card.cjs.entry.js +5 -3
- package/dist/cjs/dda-creditcard-field.cjs.entry.js +26 -8
- package/dist/cjs/dda-dropdown.cjs.entry.js +31 -5
- package/dist/cjs/dda-footer.cjs.entry.js +9 -3
- package/dist/cjs/dda-header.cjs.entry.js +80 -8
- package/dist/cjs/dda-home-banner.cjs.entry.js +11 -5
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +22 -5
- package/dist/cjs/dda-input.cjs.entry.js +17 -10
- package/dist/cjs/dda-link-button_2.cjs.entry.js +21 -13
- package/dist/cjs/dda-number-field.cjs.entry.js +20 -8
- package/dist/cjs/dda-pagination.cjs.entry.js +21 -11
- package/dist/cjs/dda-phonefield.cjs.entry.js +27 -9
- package/dist/cjs/dda-progressbar.cjs.entry.js +8 -3
- package/dist/cjs/dda-range-slider.cjs.entry.js +15 -3
- package/dist/cjs/dda-search-input.cjs.entry.js +27 -12
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js +54 -6
- package/dist/cjs/dda-select.cjs.entry.js +40 -8
- package/dist/cjs/dda-sticky-footer.cjs.entry.js +20 -3
- package/dist/cjs/dda-tabs.cjs.entry.js +10 -4
- package/dist/cjs/dda-textarea.cjs.entry.js +22 -12
- package/dist/cjs/dda-toggle.cjs.entry.js +5 -4
- package/dist/cjs/dda-tooltip.cjs.entry.js +6 -4
- package/dist/cjs/dda-ui-card.cjs.entry.js +19 -2
- package/dist/cjs/dda-vertical-stepper.cjs.entry.js +23 -3
- package/dist/cjs/dda.cjs.js +2 -2
- package/dist/cjs/index-Dm7JbFAh.js +2116 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/unique-id-DahNGdQy.js +14 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/dda-accordion/dda-accordion.js +16 -11
- package/dist/collection/components/dda-alert/dda-alert.js +74 -17
- package/dist/collection/components/dda-alert/dda-alert.stories.js +2 -8
- package/dist/collection/components/dda-attach-file/dda-attach-file.js +35 -19
- package/dist/collection/components/dda-attach-file/dda-attach-file.stories.js +0 -9
- package/dist/collection/components/dda-avatar/dda-avatar.js +53 -25
- package/dist/collection/components/dda-avatar/dda-avatar.stories.js +1 -1
- package/dist/collection/components/dda-banner/dda-banner.css +35 -0
- package/dist/collection/components/dda-banner/dda-banner.js +34 -5
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.js +49 -12
- package/dist/collection/components/dda-button/dda-button.js +29 -22
- package/dist/collection/components/dda-checkbox/dda-checkbox.css +13 -0
- package/dist/collection/components/dda-checkbox/dda-checkbox.js +13 -12
- package/dist/collection/components/dda-checkbox/dda-checkbox.stories.js +0 -11
- package/dist/collection/components/dda-chip/dda-chip.js +34 -9
- package/dist/collection/components/dda-chip/dda-chip.stories.js +0 -11
- package/dist/collection/components/dda-credit-card/dda-credit-card.js +10 -8
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +58 -23
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js +1 -10
- package/dist/collection/components/dda-dropdown/dda-dropdown.js +90 -18
- package/dist/collection/components/dda-dropdown/dda-dropdown.stories.js +0 -4
- package/dist/collection/components/dda-footer/dda-footer.js +57 -10
- package/dist/collection/components/dda-footer/dda-footer.stories.js +5 -4
- package/dist/collection/components/dda-header/dda-header.css +11 -0
- package/dist/collection/components/dda-header/dda-header.js +224 -37
- package/dist/collection/components/dda-header/dda-header.stories.js +12 -21
- package/dist/collection/components/dda-home-banner/dda-home-banner.js +8 -2
- package/dist/collection/components/dda-home-banner/home-banner.css +21 -1
- package/dist/collection/components/dda-input/dda-input.js +28 -21
- package/dist/collection/components/dda-input/dda-input.stories.js +0 -13
- package/dist/collection/components/dda-link-button/dda-link-button.js +30 -23
- package/dist/collection/components/dda-number-field/dda-number-field.js +54 -22
- package/dist/collection/components/dda-number-field/dda-number-field.stories.js +0 -9
- package/dist/collection/components/dda-pagination/dda-pagination.js +95 -28
- package/dist/collection/components/dda-pagination/dda-pagination.stories.js +24 -24
- package/dist/collection/components/dda-phonefield/dda-phonefield.js +62 -24
- package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js +0 -13
- package/dist/collection/components/dda-progressbar/dda-progressbar.js +13 -8
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +121 -4
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +13 -12
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.stories.js +5 -16
- package/dist/collection/components/dda-range-slider/dda-range-slider.js +29 -17
- package/dist/collection/components/dda-search-input/dda-search-input.js +61 -26
- package/dist/collection/components/dda-search-input/dda-search-input.stories.js +0 -9
- package/dist/collection/components/dda-select/dda-select.js +78 -20
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +80 -43
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js +1 -1
- package/dist/collection/components/dda-tabs/dda-tabs.js +21 -15
- package/dist/collection/components/dda-tabs/dda-tabs.stories.js +3 -10
- package/dist/collection/components/dda-textarea/dda-textarea.js +33 -23
- package/dist/collection/components/dda-textarea/dda-textarea.stories.js +0 -9
- package/dist/collection/components/dda-toggle/dda-toggle.css +9 -0
- package/dist/collection/components/dda-toggle/dda-toggle.js +47 -8
- package/dist/collection/components/dda-toggle/dda-toggle.stories.js +10 -22
- package/dist/collection/components/dda-tooltip/dda-tooltip.js +9 -7
- package/dist/collection/components/dda-ui-card/dda-ui-card.js +55 -13
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +79 -11
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.css +4 -1
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +24 -6
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.stories.js +2 -2
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +49 -6
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.stories.js +2 -2
- package/dist/collection/global/global.css +117 -4
- package/dist/collection/global/input.css +56 -2
- package/dist/collection/storybook/component-api.js +15 -0
- package/dist/collection/utils/placeholder-color.js +89 -0
- package/dist/collection/utils/unique-id.js +10 -0
- package/dist/components/dda-accordion.js +1 -1
- package/dist/components/dda-alert.js +1 -1
- package/dist/components/dda-attach-file.js +1 -1
- package/dist/components/dda-avatar.js +1 -1
- package/dist/components/dda-banner.js +1 -1
- package/dist/components/dda-breadcrumb.js +1 -1
- package/dist/components/dda-button.js +1 -1
- package/dist/components/dda-checkbox.js +1 -1
- package/dist/components/dda-chip.js +1 -1
- package/dist/components/dda-credit-card.js +1 -1
- package/dist/components/dda-creditcard-field.js +1 -1
- package/dist/components/dda-dropdown.js +1 -1
- package/dist/components/dda-footer.js +1 -1
- package/dist/components/dda-header.js +1 -1
- package/dist/components/dda-home-banner.js +1 -1
- package/dist/components/dda-horizontal-stepper.js +1 -1
- package/dist/components/dda-input.js +1 -1
- package/dist/components/dda-link-button.js +1 -1
- package/dist/components/dda-number-field.js +1 -1
- package/dist/components/dda-pagination.js +1 -1
- package/dist/components/dda-phonefield.js +1 -1
- package/dist/components/dda-progressbar.js +1 -1
- package/dist/components/dda-radiobutton.js +1 -1
- package/dist/components/dda-range-slider.js +1 -1
- package/dist/components/dda-search-input.js +1 -1
- package/dist/components/dda-segmented-tabs.js +1 -1
- package/dist/components/dda-select.js +1 -1
- package/dist/components/dda-sticky-footer.js +1 -1
- package/dist/components/dda-tabs.js +1 -1
- package/dist/components/dda-textarea.js +1 -1
- package/dist/components/dda-toggle.js +1 -1
- package/dist/components/dda-tooltip.js +1 -1
- package/dist/components/dda-ui-card.js +1 -1
- package/dist/components/dda-vertical-stepper.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-B-I003EB.js +1 -0
- package/dist/components/p-B4nkZ15I.js +1 -0
- package/dist/components/p-Bk2uycTf.js +1 -0
- package/dist/components/p-C96R7OFb.js +1 -0
- package/dist/components/p-Ciz-pnTr.js +1 -0
- package/dist/components/p-CleacZFl.js +1 -0
- package/dist/dda/dda.css +2 -2
- package/dist/dda/dda.esm.js +1 -1
- package/dist/dda/p-0daa2a14.entry.js +1 -0
- package/dist/dda/p-1537b9dd.entry.js +1 -0
- package/dist/dda/p-175c52b8.entry.js +1 -0
- package/dist/dda/p-2b65a79a.entry.js +1 -0
- package/dist/dda/p-2d93b185.entry.js +1 -0
- package/dist/dda/p-30d3a014.entry.js +1 -0
- package/dist/dda/p-33b890a5.entry.js +1 -0
- package/dist/dda/p-64d90f29.entry.js +1 -0
- package/dist/dda/p-69bc04c1.entry.js +1 -0
- package/dist/dda/p-6daa282f.entry.js +1 -0
- package/dist/dda/p-72f22d1f.entry.js +1 -0
- package/dist/dda/p-7549868d.entry.js +1 -0
- package/dist/dda/p-7a51a946.entry.js +1 -0
- package/dist/dda/p-7b187e1f.entry.js +1 -0
- package/dist/dda/p-7b4d895e.entry.js +1 -0
- package/dist/dda/p-8f408141.entry.js +1 -0
- package/dist/dda/p-91341ca7.entry.js +1 -0
- package/dist/dda/p-9552def5.entry.js +1 -0
- package/dist/dda/p-9672af43.entry.js +1 -0
- package/dist/dda/p-98bba4dc.entry.js +1 -0
- package/dist/dda/p-B-I003EB.js +1 -0
- package/dist/dda/p-a0768b2f.entry.js +1 -0
- package/dist/dda/p-a5bd30ad.entry.js +1 -0
- package/dist/dda/p-a83f6267.entry.js +1 -0
- package/dist/dda/p-b17f79df.entry.js +1 -0
- package/dist/dda/p-b79505e1.entry.js +1 -0
- package/dist/dda/p-b8b98df2.entry.js +1 -0
- package/dist/dda/p-cc2cc09b.entry.js +1 -0
- package/dist/dda/p-ceee08fa.entry.js +1 -0
- package/dist/dda/p-d000e69d.entry.js +1 -0
- package/dist/dda/p-e3a65ceb.entry.js +1 -0
- package/dist/dda/p-e5b79469.entry.js +1 -0
- package/dist/dda/p-f2f3be5f.entry.js +1 -0
- package/dist/dda/p-f92e0a32.entry.js +1 -0
- package/dist/dda/p-o6021Dsk.js +2 -0
- package/dist/esm/dda-accordion.entry.js +12 -7
- package/dist/esm/dda-alert.entry.js +20 -3
- package/dist/esm/dda-attach-file.entry.js +24 -8
- package/dist/esm/dda-avatar.entry.js +23 -12
- package/dist/esm/dda-banner.entry.js +14 -5
- package/dist/esm/dda-breadcrumb.entry.js +22 -10
- package/dist/esm/dda-button.entry.js +16 -9
- package/dist/esm/dda-checkbox.entry.js +5 -4
- package/dist/esm/dda-chip.entry.js +8 -3
- package/dist/esm/dda-credit-card.entry.js +5 -3
- package/dist/esm/dda-creditcard-field.entry.js +26 -8
- package/dist/esm/dda-dropdown.entry.js +31 -5
- package/dist/esm/dda-footer.entry.js +9 -3
- package/dist/esm/dda-header.entry.js +80 -8
- package/dist/esm/dda-home-banner.entry.js +11 -5
- package/dist/esm/dda-horizontal-stepper.entry.js +22 -5
- package/dist/esm/dda-input.entry.js +17 -10
- package/dist/esm/dda-link-button_2.entry.js +21 -13
- package/dist/esm/dda-number-field.entry.js +20 -8
- package/dist/esm/dda-pagination.entry.js +21 -11
- package/dist/esm/dda-phonefield.entry.js +27 -9
- package/dist/esm/dda-progressbar.entry.js +8 -3
- package/dist/esm/dda-range-slider.entry.js +15 -3
- package/dist/esm/dda-search-input.entry.js +27 -12
- package/dist/esm/dda-segmented-tabs.entry.js +54 -6
- package/dist/esm/dda-select.entry.js +40 -8
- package/dist/esm/dda-sticky-footer.entry.js +20 -3
- package/dist/esm/dda-tabs.entry.js +10 -4
- package/dist/esm/dda-textarea.entry.js +22 -12
- package/dist/esm/dda-toggle.entry.js +5 -4
- package/dist/esm/dda-tooltip.entry.js +6 -4
- package/dist/esm/dda-ui-card.entry.js +19 -2
- package/dist/esm/dda-vertical-stepper.entry.js +23 -3
- package/dist/esm/dda.js +3 -3
- package/dist/esm/index-o6021Dsk.js +2106 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/unique-id-B-I003EB.js +12 -0
- package/dist/types/components/dda-accordion/dda-accordion.d.ts +6 -0
- package/dist/types/components/dda-alert/dda-alert.d.ts +21 -0
- package/dist/types/components/dda-attach-file/dda-attach-file.d.ts +17 -0
- package/dist/types/components/dda-attach-file/dda-attach-file.stories.d.ts +0 -4
- package/dist/types/components/dda-avatar/dda-avatar.d.ts +20 -0
- package/dist/types/components/dda-banner/dda-banner.d.ts +5 -0
- package/dist/types/components/dda-breadcrumb/dda-breadcrumb.d.ts +12 -6
- package/dist/types/components/dda-button/dda-button.d.ts +15 -4
- package/dist/types/components/dda-checkbox/dda-checkbox.d.ts +11 -0
- package/dist/types/components/dda-checkbox/dda-checkbox.stories.d.ts +0 -10
- package/dist/types/components/dda-chip/dda-chip.d.ts +10 -0
- package/dist/types/components/dda-chip/dda-chip.stories.d.ts +0 -6
- package/dist/types/components/dda-credit-card/dda-credit-card.d.ts +7 -0
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.d.ts +24 -0
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.stories.d.ts +0 -6
- package/dist/types/components/dda-dropdown/dda-dropdown.d.ts +25 -0
- package/dist/types/components/dda-dropdown/dda-dropdown.stories.d.ts +0 -4
- package/dist/types/components/dda-footer/dda-footer.d.ts +13 -0
- package/dist/types/components/dda-header/dda-header.d.ts +60 -0
- package/dist/types/components/dda-header/dda-header.stories.d.ts +6 -0
- package/dist/types/components/dda-home-banner/dda-home-banner.d.ts +1 -0
- package/dist/types/components/dda-input/dda-input.d.ts +16 -0
- package/dist/types/components/dda-input/dda-input.stories.d.ts +0 -6
- package/dist/types/components/dda-link-button/dda-link-button.d.ts +14 -3
- package/dist/types/components/dda-number-field/dda-number-field.d.ts +21 -0
- package/dist/types/components/dda-number-field/dda-number-field.stories.d.ts +0 -6
- package/dist/types/components/dda-pagination/dda-pagination.d.ts +26 -0
- package/dist/types/components/dda-phonefield/dda-phonefield.d.ts +21 -0
- package/dist/types/components/dda-phonefield/dda-phonefield.stories.d.ts +0 -6
- package/dist/types/components/dda-progressbar/dda-progressbar.d.ts +7 -0
- package/dist/types/components/dda-radiobutton/dda-radiobutton.d.ts +11 -0
- package/dist/types/components/dda-radiobutton/dda-radiobutton.stories.d.ts +5 -15
- package/dist/types/components/dda-range-slider/dda-range-slider.d.ts +16 -0
- package/dist/types/components/dda-search-input/dda-search-input.d.ts +21 -0
- package/dist/types/components/dda-search-input/dda-search-input.stories.d.ts +0 -6
- package/dist/types/components/dda-select/dda-select.d.ts +23 -0
- package/dist/types/components/dda-sticky-footer/dda-sticky-footer.d.ts +46 -3
- package/dist/types/components/dda-tabs/dda-tabs.d.ts +12 -1
- package/dist/types/components/dda-tabs/dda-tabs.stories.d.ts +0 -4
- package/dist/types/components/dda-textarea/dda-textarea.d.ts +16 -0
- package/dist/types/components/dda-textarea/dda-textarea.stories.d.ts +0 -6
- package/dist/types/components/dda-toggle/dda-toggle.d.ts +11 -0
- package/dist/types/components/dda-toggle/dda-toggle.stories.d.ts +2 -12
- package/dist/types/components/dda-tooltip/dda-tooltip.d.ts +5 -0
- package/dist/types/components/dda-ui-card/dda-ui-card.d.ts +13 -1
- package/dist/types/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.d.ts +19 -2
- package/dist/types/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.d.ts +6 -0
- package/dist/types/components/stepper/dda-vertical-stepper/dda-vertical-stepper.d.ts +8 -0
- package/dist/types/components.d.ts +2373 -47
- package/dist/types/utils/placeholder-color.d.ts +10 -0
- package/dist/types/utils/unique-id.d.ts +6 -0
- package/package.json +4 -3
- package/readme.md +6 -0
- package/dist/cjs/index-CDUC0Pdj.js +0 -1986
- package/dist/components/p-9UeqjDnY.js +0 -1
- package/dist/components/p-CrTEb7xH.js +0 -1
- package/dist/components/p-DldlmGnP.js +0 -1
- package/dist/components/p-NvTw9Mx1.js +0 -1
- package/dist/components/p-i15-_er0.js +0 -1
- package/dist/dda/p-016e4090.entry.js +0 -1
- package/dist/dda/p-0229b303.entry.js +0 -1
- package/dist/dda/p-05a6f90d.entry.js +0 -1
- package/dist/dda/p-1c9a6035.entry.js +0 -1
- package/dist/dda/p-2c313105.entry.js +0 -1
- package/dist/dda/p-2cec7be6.entry.js +0 -1
- package/dist/dda/p-2f4ace4c.entry.js +0 -1
- package/dist/dda/p-360a0577.entry.js +0 -1
- package/dist/dda/p-3e49128d.entry.js +0 -1
- package/dist/dda/p-3fa27728.entry.js +0 -1
- package/dist/dda/p-43e1c12f.entry.js +0 -1
- package/dist/dda/p-4428417d.entry.js +0 -1
- package/dist/dda/p-44ce832e.entry.js +0 -1
- package/dist/dda/p-560a3f0c.entry.js +0 -1
- package/dist/dda/p-5712bbd9.entry.js +0 -1
- package/dist/dda/p-626d7e7b.entry.js +0 -1
- package/dist/dda/p-68008c64.entry.js +0 -1
- package/dist/dda/p-6f3d9f78.entry.js +0 -1
- package/dist/dda/p-79db1218.entry.js +0 -1
- package/dist/dda/p-84911fab.entry.js +0 -1
- package/dist/dda/p-90d9648b.entry.js +0 -1
- package/dist/dda/p-91040abe.entry.js +0 -1
- package/dist/dda/p-Cq6A4mXg.js +0 -2
- package/dist/dda/p-a1421a54.entry.js +0 -1
- package/dist/dda/p-a22b1c56.entry.js +0 -1
- package/dist/dda/p-aa0e9035.entry.js +0 -1
- package/dist/dda/p-b2981646.entry.js +0 -1
- package/dist/dda/p-c1f45887.entry.js +0 -1
- package/dist/dda/p-c50e1141.entry.js +0 -1
- package/dist/dda/p-d8a9cab1.entry.js +0 -1
- package/dist/dda/p-dd966009.entry.js +0 -1
- package/dist/dda/p-ed099201.entry.js +0 -1
- package/dist/dda/p-f4bd2b2e.entry.js +0 -1
- package/dist/dda/p-fc30c60e.entry.js +0 -1
- package/dist/esm/index-Cq6A4mXg.js +0 -1976
package/dist/esm/loader.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as globalScripts, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { g as globalScripts, b as bootstrapLazy } from './index-o6021Dsk.js';
|
|
2
|
+
export { s as setNonce } from './index-o6021Dsk.js';
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = async (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
6
6
|
await globalScripts();
|
|
7
|
-
return bootstrapLazy(JSON.parse("[[\"dda-header\",[[0,\"dda-header\",{\"firstLogoSrc\":[1,\"first-logo-src\"],\"firstLogoWhiteSrc\":[1,\"first-logo-white-src\"],\"firstLogoAlt\":[1,\"first-logo-alt\"],\"secondLogoSrc\":[1,\"second-logo-src\"],\"secondLogoWhiteSrc\":[1,\"second-logo-white-src\"],\"secondLogoAlt\":[1,\"second-logo-alt\"],\"loginLink\":[1,\"login-link\"],\"sideMenuItems\":[1,\"side-menu-items\"],\"quickLinks\":[1,\"quick-links\"],\"readSpeakerLink\":[1,\"read-speaker-link\"],\"searchText\":[1,\"search-text\"],\"loginIcon\":[1,\"login-icon\"],\"loginText\":[1,\"login-text\"],\"language_text\":[1],\"hamburger_menu_button_name\":[1],\"accessibility_button_name\":[1],\"search_button_name\":[1],\"search_input_name\":[1],\"language_button_name\":[1],\"close_menu_button_name\":[1],\"close_accessibility_button_name\":[1],\"close_sidebar_button_name\":[1],\"toggle_accessibility_button_name\":[1],\"isMenuOpen\":[32],\"isSubMenuOpen\":[32],\"isSideSubMenuOpen\":[32],\"isAccessibiltyOpen\":[32],\"openMenus\":[32],\"activeMenuIndex\":[32]}]]],[\"dda-footer\",[[0,\"dda-footer\",{\"footerTitle\":[1,\"footer-title\"],\"description\":[1],\"signUpButtonText\":[1,\"sign-up-button-text\"],\"loginButtonText\":[1,\"login-button-text\"],\"logoSrc\":[1,\"logo-src\"],\"logoAlt\":[1,\"logo-alt\"],\"copyrightText\":[1,\"copyright-text\"],\"footerSections\":[1,\"footer-sections\"],\"socialIcons\":[1,\"social-icons\"]}]]],[\"dda-sticky-footer\",[[0,\"dda-sticky-footer\",{\"happinessIconHref\":[1,\"happiness-icon-href\"],\"happinessIconSrc\":[1,\"happiness-icon-src\"],\"happinessIconAlt\":[1,\"happiness-icon-alt\"],\"happinessIconTooltip\":[1,\"happiness-icon-tooltip\"],\"accessibilityIconHref\":[1,\"accessibility-icon-href\"],\"accessibilityIconSrc\":[1,\"accessibility-icon-src\"],\"accessibilityIconAlt\":[1,\"accessibility-icon-alt\"],\"accessibilityIconTooltip\":[1,\"accessibility-icon-tooltip\"],\"servicesIconHref\":[1,\"services-icon-href\"],\"servicesIconSrc\":[1,\"services-icon-src\"],\"servicesIconAlt\":[1,\"services-icon-alt\"],\"servicesIconTooltip\":[1,\"services-icon-tooltip\"],\"servicesIconText\":[1,\"services-icon-text\"],\"firstLogoHref\":[1,\"first-logo-href\"],\"firstLogoSrc\":[1,\"first-logo-src\"],\"firstLogoAlt\":[1,\"first-logo-alt\"],\"firstLogoTooltip\":[1,\"first-logo-tooltip\"],\"secondLogoHref\":[1,\"second-logo-href\"],\"secondLogoSrc\":[1,\"second-logo-src\"],\"secondLogoAlt\":[1,\"second-logo-alt\"],\"secondLogoTooltip\":[1,\"second-logo-tooltip\"],\"thirdLogoHref\":[1,\"third-logo-href\"],\"thirdLogoSrc\":[1,\"third-logo-src\"],\"thirdLogoAlt\":[1,\"third-logo-alt\"],\"thirdLogoTooltip\":[1,\"third-logo-tooltip\"],\"locationButtonHref\":[1,\"location-button-href\"],\"locationLogoSrc\":[1,\"location-logo-src\"],\"locationButtonText\":[1,\"location-button-text\"],\"locationButtonIcon\":[1,\"location-button-icon\"],\"newsButtonHref\":[1,\"news-button-href\"],\"newsButtonSrc\":[1,\"news-button-src\"],\"newsButtonText\":[1,\"news-button-text\"],\"newsButtonIcon\":[1,\"news-button-icon\"],\"aiIconHref\":[1,\"ai-icon-href\"],\"aiIconSrc\":[1,\"ai-icon-src\"],\"aiIconAlt\":[1,\"ai-icon-alt\"],\"aiIconTooltip\":[1,\"ai-icon-tooltip\"],\"chatIconHref\":[1,\"chat-icon-href\"],\"chatIconSrc\":[1,\"chat-icon-src\"],\"chatIconAlt\":[1,\"chat-icon-alt\"],\"chatIconTooltip\":[1,\"chat-icon-tooltip\"],\"hideMiddleSection\":[4,\"hide-middle-section\"],\"isHidden\":[32]}]]],[\"dda-accordion\",[[260,\"dda-accordion\",{\"design\":[1],\"header_text\":[1],\"body_description\":[1],\"custom_class\":[1],\"component_mode\":[1],\"accordion_icon\":[1],\"isOpen\":[32]}]]],[\"dda-alert\",[[0,\"dda-alert\",{\"type\":[1],\"variation\":[1],\"title_text\":[1],\"description\":[1],\"button_text\":[1],\"custom_class\":[1],\"component_mode\":[1],\"component_id\":[1],\"first_link\":[1],\"second_link\":[1],\"first_button\":[1],\"second_button\":[1],\"button_name\":[1],\"clickHandler\":[16]}]]],[\"dda-attach-file\",[[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\",[[0,\"dda-avatar\",{\"type\":[1],\"size\":[1],\"design\":[1],\"rounded\":[1],\"src\":[1],\"icon\":[1],\"text\":[1],\"notification_number\":[2],\"custom_class\":[1],\"selected\":[1],\"options\":[1],\"component_mode\":[1],\"aria_label\":[1],\"button_id\":[1],\"button_name\":[1],\"isOpen\":[32]}]]],[\"dda-banner\",[[1,\"dda-banner\",{\"slides\":[1],\"slider_width\":[1],\"slider_height\":[1],\"parsedSlides\":[32]}]]],[\"dda-breadcrumb\",[[0,\"dda-breadcrumb\",{\"design\":[1],\"separator\":[1],\"custom_class\":[1],\"component_mode\":[1]}]]],[\"dda-checkbox\",[[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\",[[260,\"dda-chip\",{\"bg_color\":[1],\"rounded\":[1],\"icon\":[1],\"show_close_icon\":[4],\"size\":[1],\"custom_class\":[1],\"component_mode\":[1],\"clickHandler\":[16]}]]],[\"dda-credit-card\",[[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\",[[0,\"dda-creditcard-field\",{\"placeholder\":[1],\"label\":[1],\"value\":[1],\"card_icon\":[1],\"error_message\":[1],\"validation_type\":[1],\"size\":[1],\"input_type\":[1],\"helper_text\":[1],\"disabled\":[4],\"custom_class\":[1],\"restrict_input\":[4],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"input_name\":[1],\"autocomplete\":[1],\"formattedValue\":[32]}]]],[\"dda-dropdown\",[[0,\"dda-dropdown\",{\"label\":[1],\"options\":[1],\"selected\":[1],\"disabled\":[4],\"error\":[1],\"helper_text\":[1],\"type\":[1],\"size\":[1],\"icon_mode\":[4],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"aria_label\":[1],\"arrow_button_name\":[1],\"dropdown_button_name\":[1],\"isopen\":[32]}]]],[\"dda-home-banner\",[[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\",[[0,\"dda-horizontal-stepper\",{\"steps\":[1],\"current_step\":[2],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]}]]],[\"dda-input\",[[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\",[[0,\"dda-number-field\",{\"placeholder\":[1],\"label\":[1],\"value\":[1],\"helper_text\":[1],\"error_message\":[1],\"validation_type\":[1],\"size\":[1],\"input_status\":[1],\"currencies\":[1],\"selected_currency\":[1],\"custom_class\":[1],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"input_name\":[1],\"toggle_button_name\":[1],\"currency_button_name\":[1],\"is_focused\":[32],\"isCurrencyDropdownOpen\":[32]}]]],[\"dda-pagination\",[[0,\"dda-pagination\",{\"total_pages\":[2],\"current_page\":[2],\"type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"simple_slider_prev_button\":[1],\"simple_slider_next_button\":[1],\"buttons_prev_button\":[1],\"buttons_next_button\":[1],\"text_prev_button\":[1],\"text_next_button\":[1],\"text_pages_prev_button\":[1],\"text_pages_next_button\":[1],\"button_text_prev_button\":[1],\"button_text_next_button\":[1],\"buttons_pages_prev_button\":[1],\"buttons_pages_next_button\":[1]},null,{\"total_pages\":[{\"validateTotalPages\":0}],\"current_page\":[{\"validateCurrentPage\":0}]}]]],[\"dda-phonefield\",[[0,\"dda-phonefield\",{\"label\":[1],\"placeholder\":[1],\"helper_text\":[1],\"validation_type\":[1],\"error_message\":[1],\"disabled\":[4],\"size\":[1],\"custom_class\":[1],\"component_mode\":[1],\"input_id\":[1],\"aria_label\":[1],\"button_id\":[1],\"button_aria_label\":[1],\"toggle_button_name\":[1],\"country_select_button_name\":[1],\"phone_input_name\":[1],\"autocomplete\":[1],\"country_code\":[32],\"country_flag\":[32],\"phone_number\":[32],\"is_focused\":[32],\"dropdown_open\":[32],\"countries\":[32]}]]],[\"dda-progressbar\",[[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\",[[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\",[[0,\"dda-search-input\",{\"placeholder\":[1],\"label\":[1],\"size\":[1],\"error_message\":[1],\"show_button\":[4],\"helper_text\":[1],\"input_status\":[1],\"has_error\":[4],\"custom_class\":[1],\"component_mode\":[1],\"button_id\":[1],\"input_id\":[1],\"aria_label\":[1],\"button_aria_label\":[1],\"search_input_name\":[1],\"close_button_name\":[1],\"search_button_name\":[1]}]]],[\"dda-segmented-tabs\",[[0,\"dda-segmented-tabs\",{\"items\":[1],\"radius_type\":[1],\"custom_class\":[1],\"component_mode\":[1],\"button_name\":[1],\"aria_label\":[1],\"selected_index\":[2],\"active_index\":[32]}]]],[\"dda-select\",[[0,\"dda-select\",{\"label\":[1],\"options\":[1],\"selected\":[1],\"disabled\":[4],\"error\":[1],\"error_message\":[1],\"helper_text\":[1],\"size\":[1],\"custom_class\":[1],\"component_mode\":[1],\"aria_label\":[1],\"button_id\":[1],\"toggle_button_name\":[1],\"option_select_button_name\":[1],\"is_open\":[32]}]]],[\"dda-tabs\",[[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\",[[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\",[[0,\"dda-toggle\",{\"checked\":[4],\"size\":[1],\"custom_class\":[1],\"group_name\":[1],\"input_id\":[1],\"component_mode\":[1],\"aria_label\":[1]}]]],[\"dda-ui-card\",[[260,\"dda-ui-card\",{\"type\":[1],\"icon\":[1],\"image\":[1],\"maintitle\":[1],\"subtitle\":[1],\"link\":[1],\"linktext\":[1],\"linkicon\":[1]}]]],[\"dda-vertical-stepper\",[[0,\"dda-vertical-stepper\",{\"steps\":[1],\"current_Step\":[2,\"current_-step\"],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]}]]],[\"dda-link-button_2\",[[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\",[[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\",[[260,\"dda-tooltip\",{\"title_text\":[1],\"description\":[1],\"position\":[1],\"custom_class\":[1],\"component_mode\":[1],\"dismissed\":[32]}]]]]"), options);
|
|
7
|
+
return bootstrapLazy(JSON.parse("[[\"dda-header\",[[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\",[[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\",[[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\",[[260,\"dda-accordion\",{\"design\":[1],\"header_text\":[1],\"body_description\":[1],\"custom_class\":[1],\"component_mode\":[1],\"accordion_icon\":[1],\"isOpen\":[32]}]]],[\"dda-alert\",[[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\",[[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\",[[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\",[[1,\"dda-banner\",{\"slides\":[1],\"slider_width\":[1],\"slider_height\":[1],\"aria_label\":[1],\"parsedSlides\":[32]}]]],[\"dda-breadcrumb\",[[0,\"dda-breadcrumb\",{\"design\":[1],\"separator\":[1],\"custom_class\":[1],\"component_mode\":[1],\"breadcrumbs\":[1]}]]],[\"dda-checkbox\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[0,\"dda-horizontal-stepper\",{\"steps\":[1],\"current_step\":[2],\"custom_class\":[1],\"component_mode\":[1],\"parsedSteps\":[32]},null,{\"steps\":[{\"parseSteps\":0}]}]]],[\"dda-input\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[260,\"dda-tooltip\",{\"title_text\":[1],\"description\":[1],\"position\":[1],\"custom_class\":[1],\"component_mode\":[1],\"dismissed\":[32]}]]]]"), options);
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { defineCustomElements };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
let counter = 0;
|
|
2
|
+
/**
|
|
3
|
+
* Returns an id that is unique on the page, for elements such as a label's input when the
|
|
4
|
+
* consumer did not pass one. Call it once per component instance (as a field initializer),
|
|
5
|
+
* so the id stays stable across renders.
|
|
6
|
+
*/
|
|
7
|
+
function uniqueId(prefix) {
|
|
8
|
+
counter += 1;
|
|
9
|
+
return `${prefix}-${counter}`;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { uniqueId as u };
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export declare class DdaAccordion {
|
|
2
|
+
/** Container style: `bg-border` (filled background with border) or `no-border` (no background or border). */
|
|
2
3
|
design: 'bg-border' | 'no-border';
|
|
4
|
+
/** Text shown in the header button that opens and closes the panel. */
|
|
3
5
|
header_text: string;
|
|
6
|
+
/** Paragraph text shown in the panel when it is open. Slotted content follows it. */
|
|
4
7
|
body_description: string;
|
|
8
|
+
/** Extra CSS classes added to the accordion container. */
|
|
5
9
|
custom_class?: string;
|
|
10
|
+
/** Theme override class for the container, e.g. `light-mode`. */
|
|
6
11
|
component_mode?: string;
|
|
12
|
+
/** Material Symbols icon name shown before the header text, e.g. `info`. */
|
|
7
13
|
accordion_icon: string;
|
|
8
14
|
isOpen: boolean;
|
|
9
15
|
toggleAccordion(): void;
|
|
@@ -1,23 +1,44 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
export declare class DdaAlert {
|
|
3
|
+
/** Style: `primary` uses a tinted background and border in the variation color; `secondary` uses a neutral surface and border. */
|
|
3
4
|
type: 'primary' | 'secondary';
|
|
5
|
+
/** Color and screen reader urgency: `info`, `warning`, `error` or `success`. `error` uses `role="alert"`; the others use `role="status"`. */
|
|
4
6
|
variation: 'info' | 'warning' | 'error' | 'success';
|
|
7
|
+
/** Heading text of the alert. */
|
|
5
8
|
title_text: string;
|
|
9
|
+
/** Body text shown below the heading. */
|
|
6
10
|
description: string;
|
|
11
|
+
/** Not used by the component; nothing is rendered from this value. */
|
|
7
12
|
button_text: string;
|
|
13
|
+
/** Extra CSS classes added to the alert container. */
|
|
8
14
|
custom_class?: string;
|
|
15
|
+
/** Theme override class for the alert, e.g. `light-mode`. */
|
|
9
16
|
component_mode?: string;
|
|
17
|
+
/** Not used by the component; it is not applied to any element. */
|
|
10
18
|
component_id?: string;
|
|
19
|
+
/** `href` of the first action link. */
|
|
11
20
|
first_link?: string;
|
|
21
|
+
/** `href` of the second action link. */
|
|
12
22
|
second_link?: string;
|
|
23
|
+
/** Label of the first action link. The link shows only when this is set. */
|
|
13
24
|
first_button?: string;
|
|
25
|
+
/** Label of the second action link. The link shows only when this is set. */
|
|
14
26
|
second_button?: string;
|
|
27
|
+
/** `name` of the close button. */
|
|
15
28
|
button_name?: string;
|
|
29
|
+
/** Click handler for the close button, set as a JavaScript property. The alert does not hide itself. */
|
|
16
30
|
clickHandler?: (event: MouseEvent) => void;
|
|
31
|
+
/** Accessible name of the close button, read by screen readers instead of the icon ligature. */
|
|
32
|
+
close_button_label: string;
|
|
33
|
+
/** Heading level (1–6) of the title; pick the level that fits the page outline. */
|
|
34
|
+
heading_level: number;
|
|
35
|
+
/** Fires when the first action link is clicked. No detail. */
|
|
17
36
|
firstClick?: EventEmitter<void>;
|
|
37
|
+
/** Fires when the second action link is clicked. No detail. */
|
|
18
38
|
secondClick?: EventEmitter<void>;
|
|
19
39
|
private firstClickHandler;
|
|
20
40
|
private secondClickHandler;
|
|
21
41
|
private get role();
|
|
42
|
+
private get headingTag();
|
|
22
43
|
render(): any;
|
|
23
44
|
}
|
|
@@ -1,23 +1,40 @@
|
|
|
1
1
|
export declare class DdaAttachFile {
|
|
2
|
+
/** Label text shown above the field. Linked to the file input through `input_id` (or a generated id). */
|
|
2
3
|
label: string;
|
|
4
|
+
/** Helper text shown below the field. Linked by `aria-describedby`. */
|
|
3
5
|
helper_text: string;
|
|
6
|
+
/** Error text shown below the field. Also sets `aria-invalid="true"` on the file input. */
|
|
4
7
|
error_message: string;
|
|
8
|
+
/** Size: `default` or `small`. */
|
|
5
9
|
size?: string;
|
|
10
|
+
/** Validation state: `error` applies the error colors. */
|
|
6
11
|
validation_type?: string;
|
|
12
|
+
/** Adds the class `dda-input-<value>`. `disabled` gives the disabled look only; it does not disable the file input. */
|
|
7
13
|
input_type?: string;
|
|
8
14
|
file: File | null;
|
|
15
|
+
/** Extra CSS classes added to the field container. */
|
|
9
16
|
custom_class?: string;
|
|
17
|
+
/** Theme override class for the field, e.g. `light-mode`. */
|
|
10
18
|
component_mode?: string;
|
|
19
|
+
/** Accessible name of the file input. Not rendered when empty. */
|
|
11
20
|
aria_label?: string;
|
|
21
|
+
/** Accessible name of the remove button shown after a file is chosen, e.g. `Remove file`. */
|
|
12
22
|
button_aria_label?: string;
|
|
23
|
+
/** `id` of the file input. Also used to link the label, helper text and error message. Optional: an id is generated when it is not set. */
|
|
13
24
|
input_id: string;
|
|
25
|
+
/** `id` of the remove button shown after a file is chosen. */
|
|
14
26
|
button_id: string;
|
|
27
|
+
/** `name` of the remove button shown after a file is chosen. */
|
|
15
28
|
button_name?: string;
|
|
29
|
+
/** `name` of the file input. */
|
|
16
30
|
input_name?: string;
|
|
17
31
|
private fileIcons;
|
|
18
32
|
handleFileInput(event: any): void;
|
|
19
33
|
removeFile(): void;
|
|
20
34
|
getFileIcon(fileName: string): any;
|
|
35
|
+
private fileInput?;
|
|
36
|
+
private readonly fallbackId;
|
|
37
|
+
private get inputId();
|
|
21
38
|
private get helperId();
|
|
22
39
|
private get errorId();
|
|
23
40
|
private get describedBy();
|
|
@@ -1,20 +1,40 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
export declare class DdaAvatar {
|
|
3
|
+
/** Content: `photo` shows the `src` image, `icon` shows a smiley icon, `text` shows `text` as initials. */
|
|
2
4
|
type: 'photo' | 'icon' | 'text';
|
|
5
|
+
/** Size: `xs` (24px), `sm` (32px), `md` (40px), `lg` (48px), `xl` (56px) or `xxl` (64px). */
|
|
3
6
|
size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
|
|
7
|
+
/** Badge: `default` (none), `status` (green dot), `verified` (check badge), `notification` (count from `notification_number`). `story` has no style yet. */
|
|
4
8
|
design: 'default' | 'status' | 'verified' | 'story' | 'notification';
|
|
9
|
+
/** Shape: `circle` or `square` (rounded corners). */
|
|
5
10
|
rounded: 'square' | 'circle';
|
|
11
|
+
/** Image URL shown when `type` is `photo`. */
|
|
6
12
|
src: string;
|
|
13
|
+
/** CSS class of the icon font used when `type` is `icon`, e.g. `material-icons`. The icon glyph is always `sentiment_satisfied`. */
|
|
7
14
|
icon: string;
|
|
15
|
+
/** Initials shown when `type` is `text`. */
|
|
8
16
|
text: string;
|
|
17
|
+
/** Count shown in the badge when `design` is `notification`. Hidden at sizes `xs` and `sm`. */
|
|
9
18
|
notification_number: number;
|
|
19
|
+
/** Extra CSS classes added to the avatar container. */
|
|
10
20
|
custom_class?: string;
|
|
11
21
|
isOpen: boolean;
|
|
22
|
+
/** The selected option. Matches one entry of `options`; updated when the user picks an option. Mutable: the component assigns it. */
|
|
12
23
|
selected: string;
|
|
24
|
+
/** Dropdown options as a JSON array of strings, e.g. `["Profile","Sign out"]`. When set, the avatar becomes a button that opens the list. */
|
|
13
25
|
options: string;
|
|
26
|
+
/** Theme override class for the avatar, e.g. `light-mode`. */
|
|
14
27
|
component_mode?: string;
|
|
28
|
+
/** Accessible name of the avatar button and of each option button. The avatar button falls back to `Avatar options`. */
|
|
15
29
|
aria_label: string;
|
|
30
|
+
/** `id` applied to each option button in the dropdown. */
|
|
16
31
|
button_id?: string;
|
|
32
|
+
/** `name` of each option button in the dropdown. Also added as a CSS class on the avatar container. */
|
|
17
33
|
button_name?: string;
|
|
34
|
+
/** Emitted every time the user picks an option from the dropdown, also when it is already selected. `detail.value` is the option. */
|
|
35
|
+
optionSelect: EventEmitter<{
|
|
36
|
+
value: string;
|
|
37
|
+
}>;
|
|
18
38
|
toggleDropdown(): void;
|
|
19
39
|
selectOption(option: string): void;
|
|
20
40
|
private get parsedOptions();
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
export declare class DdaBanner {
|
|
2
|
+
/** Slide images. JSON array of `{ image, title }`; `image` is the image URL and `title` its alternative text. Read once, when the component loads. */
|
|
2
3
|
slides: string;
|
|
4
|
+
/** CSS width of each slide image, e.g. `360px`. */
|
|
3
5
|
slider_width: string;
|
|
6
|
+
/** CSS height of each slide image, e.g. `220px`. */
|
|
4
7
|
slider_height: string;
|
|
8
|
+
/** Accessible name of the scrollable slide region that keyboard users focus to scroll. */
|
|
9
|
+
aria_label: string;
|
|
5
10
|
parsedSlides: {
|
|
6
11
|
image: string;
|
|
7
12
|
title: string;
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
+
export interface BreadcrumbItem {
|
|
2
|
+
text: string;
|
|
3
|
+
icon?: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
}
|
|
1
6
|
export declare class DdaBreadcrumb {
|
|
7
|
+
/** What each item shows: `text` (label only), `icon-text` (icon and label) or `icon` (icon only). */
|
|
2
8
|
design: 'text' | 'icon-text' | 'icon';
|
|
9
|
+
/** Material Symbols icon shown between items: `chevron_right` or `pen_size_2` (a slash). */
|
|
3
10
|
separator: 'chevron_right' | 'pen_size_2';
|
|
11
|
+
/** Extra CSS classes added to the inner `<nav>`. */
|
|
4
12
|
custom_class?: string;
|
|
13
|
+
/** Theme override class on the wrapper, e.g. `light-mode`. */
|
|
5
14
|
component_mode?: string;
|
|
15
|
+
/** The items, as an array or a JSON string of `{ text, icon?, url? }` objects. The last item is the current page. The `data-breadcrumbs` attribute is still read when this is not set. */
|
|
16
|
+
breadcrumbs?: string | BreadcrumbItem[];
|
|
6
17
|
el: HTMLElement;
|
|
7
|
-
|
|
8
|
-
text: string;
|
|
9
|
-
icon: string;
|
|
10
|
-
url: string;
|
|
11
|
-
}[];
|
|
12
|
-
componentWillLoad(): void;
|
|
18
|
+
private parseBreadcrumbs;
|
|
13
19
|
render(): any;
|
|
14
20
|
}
|
|
@@ -1,22 +1,33 @@
|
|
|
1
1
|
export declare class DdaButton {
|
|
2
|
-
/**
|
|
2
|
+
/** Native button type: `button`, `submit` or `reset`. */
|
|
3
3
|
type: string;
|
|
4
|
-
/**
|
|
4
|
+
/** Disables the button. */
|
|
5
5
|
disabled: boolean;
|
|
6
|
-
/**
|
|
6
|
+
/** Material Symbols icon name shown before the label, e.g. `arrow_back`. */
|
|
7
7
|
start_icon: string;
|
|
8
|
+
/** Material Symbols icon name shown after the label, e.g. `arrow_forward`. */
|
|
8
9
|
end_icon: string;
|
|
10
|
+
/** Accessible name. Required when the button shows only an icon. */
|
|
9
11
|
aria_label?: string;
|
|
12
|
+
/** Color variant, e.g. `default-primary`, `default-secondary`, `error-primary`, `onsurface-link`. */
|
|
10
13
|
button_color: string;
|
|
14
|
+
/** Size: `sm`, `md`, `lg` or `xl`. */
|
|
11
15
|
size?: string;
|
|
16
|
+
/** Shape: `default` or `circle`. */
|
|
12
17
|
button_shape?: string;
|
|
18
|
+
/** Shape of an icon-only button: `default` or `circle`. */
|
|
13
19
|
icon_button_shape?: string;
|
|
20
|
+
/** Gap between icon and label, as a spacing step: 1–6, 8, 10, 12 or 16. */
|
|
14
21
|
gap?: number;
|
|
22
|
+
/** Extra CSS classes added to the inner `<button>`. */
|
|
15
23
|
custom_class?: string;
|
|
24
|
+
/** Theme override class for the button, e.g. `light-mode`. */
|
|
16
25
|
component_mode?: string;
|
|
26
|
+
/** `id` of the inner `<button>`. */
|
|
17
27
|
button_id: string;
|
|
28
|
+
/** `name` of the inner `<button>`, submitted with its form. */
|
|
18
29
|
button_name?: string;
|
|
19
|
-
/**
|
|
30
|
+
/** Click handler, set as a JavaScript property. You can also listen for the native `click` event. */
|
|
20
31
|
clickHandler?: (event: MouseEvent) => void;
|
|
21
32
|
render(): any;
|
|
22
33
|
}
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
export declare class DdaCheckbox {
|
|
2
|
+
/** Label shown next to the checkbox. */
|
|
2
3
|
title_text: string;
|
|
4
|
+
/** Secondary text shown under the title. */
|
|
3
5
|
supporting?: string;
|
|
6
|
+
/** `name` of the inner checkbox input. */
|
|
4
7
|
group_name?: string;
|
|
8
|
+
/** `id` of the inner checkbox input. The label points to it, so set a unique value to make the label clickable. */
|
|
5
9
|
input_id?: string;
|
|
10
|
+
/** Checked state of the inner input. Read the current state from the input or its `change` event. */
|
|
6
11
|
checked: boolean;
|
|
12
|
+
/** Status: `disabled` shows the disabled style and blocks pointer clicks. */
|
|
7
13
|
checkbox_status?: string;
|
|
14
|
+
/** Size: `sm`, `md` or `lg`. */
|
|
8
15
|
size?: string;
|
|
16
|
+
/** Box shape: `square` or `rounded`. */
|
|
9
17
|
style_type?: string;
|
|
18
|
+
/** Extra CSS classes added to the checkbox container. */
|
|
10
19
|
custom_class?: string;
|
|
20
|
+
/** Theme override class for the checkbox, e.g. `light-mode`. */
|
|
11
21
|
component_mode?: string;
|
|
22
|
+
/** Accessible name of the inner checkbox input. */
|
|
12
23
|
aria_label?: string;
|
|
13
24
|
render(): any;
|
|
14
25
|
}
|
|
@@ -14,10 +14,6 @@ declare const _default: {
|
|
|
14
14
|
control: string;
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
|
-
labelfor: {
|
|
18
|
-
control: string;
|
|
19
|
-
description: string;
|
|
20
|
-
};
|
|
21
17
|
input_id: {
|
|
22
18
|
control: string;
|
|
23
19
|
description: string;
|
|
@@ -62,12 +58,6 @@ declare const _default: {
|
|
|
62
58
|
};
|
|
63
59
|
description: string;
|
|
64
60
|
};
|
|
65
|
-
onclick: {
|
|
66
|
-
control: {
|
|
67
|
-
type: string;
|
|
68
|
-
};
|
|
69
|
-
description: string;
|
|
70
|
-
};
|
|
71
61
|
};
|
|
72
62
|
parameters: {
|
|
73
63
|
docs: {
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
export declare class DdaChip {
|
|
2
|
+
/** Color: `grey`, `primary`, `green`, `yellow`, `red` or `purple`. Other values, including the default, use the base primary style. */
|
|
2
3
|
bg_color: string;
|
|
4
|
+
/** Corner radius: `sm`, `md`, `lg` or `circle`. */
|
|
3
5
|
rounded?: string;
|
|
6
|
+
/** Material Symbols icon name shown before the label, e.g. `check_circle`. */
|
|
4
7
|
icon: string;
|
|
8
|
+
/** Shows a close button after the label. Its accessible name comes from `close_button_label`. */
|
|
5
9
|
show_close_icon: boolean;
|
|
10
|
+
/** Accessible name of the icon-only close button. */
|
|
11
|
+
close_button_label: string;
|
|
12
|
+
/** Height: `sm` (24px), `md` (26px) or `lg` (32px). */
|
|
6
13
|
size?: string;
|
|
14
|
+
/** Extra CSS classes added to the chip container. */
|
|
7
15
|
custom_class?: string;
|
|
16
|
+
/** Theme override class for the chip, e.g. `light-mode`. */
|
|
8
17
|
component_mode?: string;
|
|
18
|
+
/** Click handler for the close button, set as a JavaScript property. The chip does not remove itself. */
|
|
9
19
|
clickHandler?: (event: MouseEvent) => void;
|
|
10
20
|
render(): any;
|
|
11
21
|
}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
export declare class DdaCreditCard {
|
|
2
|
+
/** Balance text shown under the fixed "Current Balance" label, e.g. `AED 5,750.20`. */
|
|
2
3
|
balance: string;
|
|
4
|
+
/** Card holder name. */
|
|
3
5
|
name: string;
|
|
6
|
+
/** Card number. Only the last four characters are shown, after `****`. When not set, only `****` is shown. */
|
|
4
7
|
card_number: string;
|
|
8
|
+
/** URL of the card type image (e.g. a card brand logo) shown at the bottom end of the card. When not set, no image is rendered. */
|
|
5
9
|
card_type: string;
|
|
10
|
+
/** Background design: `default`, `green` or `dark`. */
|
|
6
11
|
design: string;
|
|
12
|
+
/** Extra CSS classes added to the card container. */
|
|
7
13
|
custom_class?: string;
|
|
14
|
+
/** Theme override class for the card, e.g. `light-mode`. */
|
|
8
15
|
component_mode?: string;
|
|
9
16
|
render(): any;
|
|
10
17
|
}
|
|
@@ -1,22 +1,46 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
export declare class DdaCreditCardField {
|
|
3
|
+
/** Placeholder text of the input, e.g. `0000 - 0000 - 0000 - 0000`. */
|
|
2
4
|
placeholder: string;
|
|
5
|
+
/** Label text shown above the input. Linked to the input through `input_id` (or a generated id). */
|
|
3
6
|
label: string;
|
|
7
|
+
/** Card number. Shown as groups of four digits separated by ` - `; the component updates it as the user types. Mutable: the component assigns it. */
|
|
4
8
|
value: string;
|
|
9
|
+
/** URL of an image shown at the start of the input, e.g. a card brand logo. */
|
|
5
10
|
card_icon: string;
|
|
11
|
+
/** Error text shown below the input. Also sets `aria-invalid="true"` on the input. */
|
|
6
12
|
error_message: string;
|
|
13
|
+
/** Validation state: `error` applies the error colors. */
|
|
7
14
|
validation_type?: string;
|
|
15
|
+
/** Size: `default` or `small`. */
|
|
8
16
|
size?: string;
|
|
17
|
+
/** Adds the class `dda-input-<value>`. `disabled` gives only the disabled look; use `disabled` to disable the input. */
|
|
9
18
|
input_type?: string;
|
|
19
|
+
/** Helper text shown below the input. Linked by `aria-describedby`. */
|
|
10
20
|
helper_text: string;
|
|
21
|
+
/** Disables the input and applies the disabled look. */
|
|
11
22
|
disabled: boolean;
|
|
23
|
+
/** Extra CSS classes added to the field container. */
|
|
12
24
|
custom_class?: string;
|
|
25
|
+
/** Sets the input `maxlength`: 25 characters when `false` (16 digits with separators), 100 when `true`. */
|
|
13
26
|
restrict_input: boolean;
|
|
27
|
+
/** Theme override class for the field, e.g. `light-mode`. */
|
|
14
28
|
component_mode?: string;
|
|
29
|
+
/** `id` of the inner `<input>`. Also used to link the label, helper text and error message. Optional: an id is generated when it is not set. */
|
|
15
30
|
input_id: string;
|
|
31
|
+
/** Accessible name of the input. Use it when there is no visible `label`. */
|
|
16
32
|
aria_label?: string;
|
|
33
|
+
/** `name` of the inner `<input>`, submitted with its form. */
|
|
17
34
|
input_name?: string;
|
|
35
|
+
/** `autocomplete` token of the input. Defaults to `cc-number`. */
|
|
18
36
|
autocomplete: string;
|
|
37
|
+
/** Emitted when user input changes `value`, after the component removes characters other than digits and `-`. `detail.value` is the new `value`. */
|
|
38
|
+
valueChange: EventEmitter<{
|
|
39
|
+
value: string;
|
|
40
|
+
}>;
|
|
19
41
|
formattedValue: string;
|
|
42
|
+
private readonly fallbackId;
|
|
43
|
+
private get inputId();
|
|
20
44
|
private get helperId();
|
|
21
45
|
private get errorId();
|
|
22
46
|
private get describedBy();
|
|
@@ -1,22 +1,47 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
export declare class DdaDropdown {
|
|
3
|
+
/** Label shown above the dropdown. The dropdown button is named by the label and its current text. */
|
|
2
4
|
label: string;
|
|
5
|
+
/** Options as a JSON array string, e.g. `'["Edit","Download","Delete"]'`. Invalid JSON shows "No options available". */
|
|
3
6
|
options: string;
|
|
7
|
+
/** The selected option. Must match an entry in `options`. The button shows "Select an option" when it is empty. Updated when the user picks an option. Mutable: the component assigns it. */
|
|
4
8
|
selected: string;
|
|
9
|
+
/** Disables the dropdown: the list does not open and options cannot be picked. */
|
|
5
10
|
disabled: boolean;
|
|
11
|
+
/** Error text shown under the dropdown. */
|
|
6
12
|
error: string;
|
|
13
|
+
/** Helper text shown under the dropdown. */
|
|
7
14
|
helper_text: string;
|
|
15
|
+
/** Button background: `bg-white` (field style) or `bg-transparent` (no border, background or padding). */
|
|
8
16
|
type: 'bg-transparent' | 'bg-white';
|
|
17
|
+
/** Size: `medium` or `small`. */
|
|
9
18
|
size: 'small' | 'medium';
|
|
19
|
+
/** Shows only the three-dots icon, without the selected text and arrow. */
|
|
10
20
|
icon_mode: boolean;
|
|
21
|
+
/** Extra CSS classes added to the dropdown container. */
|
|
11
22
|
custom_class?: string;
|
|
23
|
+
/** Theme override class for the dropdown, e.g. `light-mode`. */
|
|
12
24
|
component_mode?: string;
|
|
25
|
+
/** `id` of the dropdown button. The label id is built from it. When it is not set, the component generates a unique id. */
|
|
13
26
|
button_id: string;
|
|
27
|
+
/** Accessible name of the dropdown button. Set it when `icon_mode` is on. */
|
|
14
28
|
aria_label?: string;
|
|
29
|
+
/** `name` of the dropdown button that opens the list. */
|
|
15
30
|
arrow_button_name?: string;
|
|
31
|
+
/** `name` of each option button in the list. */
|
|
16
32
|
dropdown_button_name?: string;
|
|
33
|
+
/** Accessible name of the dropdown button in `icon_mode` when `aria_label` and `label` are not set. */
|
|
34
|
+
toggle_button_label?: string;
|
|
35
|
+
/** Emitted every time the user picks an option, also when it is already selected, so the dropdown works as an action menu. `detail.value` is the option. */
|
|
36
|
+
optionSelect: EventEmitter<{
|
|
37
|
+
value: string;
|
|
38
|
+
}>;
|
|
17
39
|
isopen: boolean;
|
|
40
|
+
private readonly fallbackId;
|
|
41
|
+
private buttonEl?;
|
|
18
42
|
private get parsedOptions();
|
|
19
43
|
toggleDropdown(): void;
|
|
44
|
+
onHostClick(event: MouseEvent): void;
|
|
20
45
|
selectOption(option: string): void;
|
|
21
46
|
render(): any;
|
|
22
47
|
}
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
export declare class DdaFooter {
|
|
2
|
+
/** Heading of the call-to-action area at the top of the footer. */
|
|
2
3
|
footerTitle: string;
|
|
4
|
+
/** Heading level (1 to 6) of `footerTitle`, to fit the page's heading order. Default: `4`. */
|
|
5
|
+
heading_level: number;
|
|
6
|
+
/** Paragraph under `footerTitle`. */
|
|
3
7
|
description: string;
|
|
8
|
+
/** Label of the primary (Sign up) button. The button has no link or action. */
|
|
4
9
|
signUpButtonText: string;
|
|
10
|
+
/** Label of the tertiary (Login) button. The button has no link or action. */
|
|
5
11
|
loginButtonText: string;
|
|
12
|
+
/** Image URL of the footer logo. */
|
|
6
13
|
logoSrc: string;
|
|
14
|
+
/** Alternative text for the footer logo. */
|
|
7
15
|
logoAlt: string;
|
|
16
|
+
/** Copyright text in the bottom row. */
|
|
8
17
|
copyrightText: string;
|
|
18
|
+
/** Short text shown under the footer logo. Nothing is shown when it is not set. */
|
|
19
|
+
logoDescription: string;
|
|
20
|
+
/** Link columns. JSON array of `{ title, links: [{ label, href }] }`. */
|
|
9
21
|
footerSections: string;
|
|
22
|
+
/** Social links in the bottom row. JSON array of `{ href, src, alt }`, where `src` is an image URL. */
|
|
10
23
|
socialIcons: string;
|
|
11
24
|
private parseJsonArray;
|
|
12
25
|
render(): any;
|