@dubai-design-system/components-js 3.12.10 → 3.12.12
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 +29 -0
- package/LICENSE +21 -21
- package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -2
- package/dist/cjs/dda-accordion.cjs.entry.js +10 -36
- package/dist/cjs/dda-alert.cjs.entry.js +9 -14
- package/dist/cjs/dda-attach-file.cjs.entry.js +18 -62
- package/dist/cjs/dda-avatar.cjs.entry.js +9 -18
- package/dist/cjs/dda-banner.cjs.entry.js +23 -0
- package/dist/cjs/dda-breadcrumb.cjs.entry.js +5 -16
- package/dist/cjs/dda-button.cjs.entry.js +15 -33
- package/dist/cjs/dda-checkbox.cjs.entry.js +6 -14
- package/dist/cjs/dda-chip.cjs.entry.js +5 -9
- package/dist/cjs/dda-credit-card.cjs.entry.js +6 -5
- package/dist/cjs/dda-creditcard-field.cjs.entry.js +7 -46
- package/dist/cjs/dda-dropdown.cjs.entry.js +20 -41
- package/dist/cjs/dda-footer.cjs.entry.js +4 -5
- package/dist/cjs/dda-header.cjs.entry.js +44 -255
- package/dist/cjs/dda-home-banner.cjs.entry.js +10 -180
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js +5 -8
- package/dist/cjs/dda-input.cjs.entry.js +34 -0
- package/dist/cjs/dda-link-button_2.cjs.entry.js +66 -0
- package/dist/cjs/dda-number-field.cjs.entry.js +7 -33
- package/dist/cjs/dda-pagination.cjs.entry.js +17 -19
- package/dist/cjs/dda-phonefield.cjs.entry.js +197 -240
- package/dist/cjs/dda-progressbar.cjs.entry.js +5 -8
- package/dist/cjs/dda-range-slider.cjs.entry.js +5 -10
- package/dist/cjs/dda-search-input.cjs.entry.js +12 -103
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js +6 -9
- package/dist/cjs/dda-select.cjs.entry.js +9 -114
- package/dist/cjs/dda-sticky-footer.cjs.entry.js +4 -66
- package/dist/cjs/dda-tabs.cjs.entry.js +16 -43
- package/dist/cjs/dda-textarea.cjs.entry.js +6087 -6252
- package/dist/cjs/dda-toggle.cjs.entry.js +11 -16
- package/dist/cjs/dda-tooltip.cjs.entry.js +5 -8
- package/dist/cjs/dda-ui-card.cjs.entry.js +26 -0
- package/dist/cjs/dda-vertical-stepper.cjs.entry.js +4 -9
- package/dist/cjs/dda.cjs.js +7 -9
- package/dist/cjs/{index-39924b9e.js → index-B79qki6G.js} +790 -578
- package/dist/cjs/index.cjs.js +12 -16
- package/dist/cjs/loader.cjs.js +3 -7
- package/dist/collection/assets/countries.js +179 -179
- package/dist/collection/assets/digital-logo.svg +82 -82
- package/dist/collection/assets/fonts/dubai/DubaiBold.svg +5922 -5922
- package/dist/collection/assets/fonts/dubai/DubaiLight.svg +5935 -5935
- package/dist/collection/assets/fonts/dubai/DubaiMedium.svg +5926 -5926
- package/dist/collection/assets/fonts/dubai/DubaiRegular.svg +5925 -5925
- package/dist/collection/assets/img/dda-icon-logo.svg +4 -4
- package/dist/collection/assets/img/digital-logo-white.svg +82 -82
- package/dist/collection/assets/img/digital-logo.svg +82 -82
- package/dist/collection/assets/img/icn/DubaiAI.svg +267 -267
- package/dist/collection/assets/img/icn/icn-Excel.svg +9 -9
- package/dist/collection/assets/img/icn/icn-Image.svg +6 -6
- package/dist/collection/assets/img/icn/icn-OneNote.svg +6 -6
- package/dist/collection/assets/img/icn/icn-PDF.svg +7 -7
- package/dist/collection/assets/img/icn/icn-PowerPoint.svg +10 -10
- package/dist/collection/assets/img/icn/icn-Video.svg +5 -5
- package/dist/collection/assets/img/icn/icn-Word.svg +10 -10
- package/dist/collection/assets/img/icn/icn-accessibility-dark.svg +3 -3
- package/dist/collection/assets/img/icn/icn-apple-dark.svg +3 -3
- package/dist/collection/assets/img/icn/icn-apple.svg +3 -3
- package/dist/collection/assets/img/icn/icn-chat_bubble_outline.svg +3 -3
- package/dist/collection/assets/img/icn/icn-complaints.svg +28 -28
- package/dist/collection/assets/img/icn/icn-facebook-dark.svg +4 -4
- package/dist/collection/assets/img/icn/icn-facebook.svg +11 -11
- package/dist/collection/assets/img/icn/icn-google-dark.svg +13 -13
- package/dist/collection/assets/img/icn/icn-google.svg +13 -13
- package/dist/collection/assets/img/icn/icn-grid-view.svg +3 -3
- package/dist/collection/assets/img/icn/icn-happy.svg +3 -3
- package/dist/collection/assets/img/icn/icn-instagram-dark.svg +12 -12
- package/dist/collection/assets/img/icn/icn-instagram.svg +30 -30
- package/dist/collection/assets/img/icn/icn-search-dark.svg +3 -3
- package/dist/collection/assets/img/icn/icn-user-dark.svg +3 -3
- package/dist/collection/collection-manifest.json +5 -16
- package/dist/collection/components/dda-accordion/dda-accordion.css +72 -91
- package/dist/collection/components/dda-accordion/dda-accordion.js +16 -215
- package/dist/collection/components/dda-accordion/dda-accordion.stories.js +18 -58
- package/dist/collection/components/dda-alert/dda-alert.css +148 -133
- package/dist/collection/components/dda-alert/dda-alert.js +50 -47
- package/dist/collection/components/dda-alert/dda-alert.stories.js +58 -66
- package/dist/collection/components/dda-attach-file/dda-attach-file.js +41 -306
- package/dist/collection/components/dda-attach-file/dda-attach-file.stories.js +128 -84
- package/dist/collection/components/dda-avatar/dda-avatar.css +282 -282
- package/dist/collection/components/dda-avatar/dda-avatar.js +24 -73
- package/dist/collection/components/dda-avatar/dda-avatar.stories.js +76 -48
- package/dist/collection/components/dda-banner/dda-banner.css +3 -0
- package/dist/collection/components/dda-banner/dda-banner.js +90 -0
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.css +58 -61
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.js +7 -93
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.stories.js +14 -22
- package/dist/collection/components/dda-button/dda-button.js +54 -143
- package/dist/collection/components/dda-button/dda-button.stories.js +105 -118
- package/dist/collection/components/dda-checkbox/dda-checkbox.css +119 -126
- package/dist/collection/components/dda-checkbox/dda-checkbox.js +42 -46
- package/dist/collection/components/dda-checkbox/dda-checkbox.stories.js +56 -55
- package/dist/collection/components/dda-chip/dda-chip.css +100 -109
- package/dist/collection/components/dda-chip/dda-chip.js +15 -150
- package/dist/collection/components/dda-chip/dda-chip.stories.js +34 -60
- package/dist/collection/components/dda-credit-card/dda-credit-card.css +104 -0
- package/dist/collection/components/dda-credit-card/dda-credit-card.js +24 -15
- package/dist/collection/components/dda-credit-card/dda-credit-card.stories.js +17 -19
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js +39 -126
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js +30 -40
- package/dist/collection/components/dda-dropdown/dda-dropdown.js +63 -134
- package/dist/collection/components/dda-dropdown/dda-dropdown.stories.js +141 -85
- package/dist/collection/components/dda-footer/dda-footer.css +0 -0
- package/dist/collection/components/dda-footer/dda-footer.js +30 -20
- package/dist/collection/components/dda-footer/dda-footer.stories.js +29 -30
- package/dist/collection/components/dda-header/dda-header.css +0 -0
- package/dist/collection/components/dda-header/dda-header.js +179 -1169
- package/dist/collection/components/dda-header/dda-header.stories.js +118 -358
- package/dist/collection/components/dda-home-banner/dda-home-banner.js +9 -226
- package/dist/collection/components/dda-home-banner/dda-home-banner.stories.js +44 -37
- package/dist/collection/components/dda-home-banner/home-banner.css +153 -269
- package/dist/collection/components/dda-input/dda-input.js +41 -310
- package/dist/collection/components/dda-input/dda-input.stories.js +89 -127
- package/dist/collection/components/dda-link-button/dda-link-button.js +50 -192
- package/dist/collection/components/dda-link-button/dda-link-button.stories.js +40 -131
- package/dist/collection/components/dda-number-field/dda-number-field.js +44 -87
- package/dist/collection/components/dda-number-field/dda-number-field.stories.js +26 -27
- package/dist/collection/components/dda-pagination/dda-pagination.css +167 -167
- package/dist/collection/components/dda-pagination/dda-pagination.js +40 -80
- package/dist/collection/components/dda-pagination/dda-pagination.stories.js +24 -25
- package/dist/collection/components/dda-phonefield/dda-phonefield.js +54 -220
- package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js +59 -74
- package/dist/collection/components/dda-progressbar/dda-progressbar.css +94 -94
- package/dist/collection/components/dda-progressbar/dda-progressbar.js +11 -12
- package/dist/collection/components/dda-progressbar/dda-progressbar.stories.js +13 -14
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.css +3830 -125
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js +24 -146
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.stories.js +58 -64
- package/dist/collection/components/dda-range-slider/dda-range-slider.css +136 -143
- package/dist/collection/components/dda-range-slider/dda-range-slider.js +26 -27
- package/dist/collection/components/dda-range-slider/dda-range-slider.stories.js +20 -21
- package/dist/collection/components/dda-search-input/dda-search-input.js +42 -327
- package/dist/collection/components/dda-search-input/dda-search-input.stories.js +23 -51
- package/dist/collection/components/dda-select/dda-select.js +42 -325
- package/dist/collection/components/dda-select/dda-select.stories.js +113 -80
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.css +0 -225
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js +133 -230
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js +84 -100
- package/dist/collection/components/dda-tabs/dda-tabs.css +119 -164
- package/dist/collection/components/dda-tabs/dda-tabs.js +30 -96
- package/dist/collection/components/dda-tabs/dda-tabs.stories.js +34 -41
- package/dist/collection/components/dda-textarea/dda-textarea.js +83 -260
- package/dist/collection/components/dda-textarea/dda-textarea.stories.js +37 -63
- package/dist/collection/components/dda-toggle/dda-toggle.css +119 -129
- package/dist/collection/components/dda-toggle/dda-toggle.js +22 -56
- package/dist/collection/components/dda-toggle/dda-toggle.stories.js +17 -18
- package/dist/collection/components/dda-tooltip/dda-tooltip.css +130 -138
- package/dist/collection/components/dda-tooltip/dda-tooltip.js +11 -12
- package/dist/collection/components/dda-tooltip/dda-tooltip.stories.js +16 -17
- package/dist/collection/components/dda-ui-card/dda-ui-card.css +3 -0
- package/dist/collection/components/{dda-cards/dda-banner-card/dda-banner-card.js → dda-ui-card/dda-ui-card.js} +68 -95
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.css +51 -51
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js +14 -15
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.js +12 -13
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.css +108 -114
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js +10 -11
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.stories.js +19 -20
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.css +112 -112
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js +7 -8
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.stories.js +19 -20
- package/dist/collection/global/dda-button.css +580 -0
- package/dist/collection/global/global.css +3706 -0
- package/dist/collection/global/input.css +615 -688
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/applyTheme.js +12 -12
- package/dist/collection/utils/utils.js +0 -1
- package/dist/components/dda-accordion.js +1 -91
- package/dist/components/dda-alert.js +1 -74
- package/dist/components/dda-attach-file.js +1 -159
- package/dist/components/dda-avatar.js +1 -8
- package/dist/components/{dda-slider.d.ts → dda-banner.d.ts} +4 -4
- package/dist/components/dda-banner.js +1 -0
- package/dist/components/dda-breadcrumb.js +1 -63
- package/dist/components/dda-button.js +1 -8
- package/dist/components/dda-checkbox.js +1 -61
- package/dist/components/dda-chip.js +1 -8
- package/dist/components/dda-credit-card.js +1 -47
- package/dist/components/dda-creditcard-field.js +1 -132
- package/dist/components/dda-dropdown.js +1 -107
- package/dist/components/dda-footer.js +1 -59
- package/dist/components/dda-header.js +1 -534
- package/dist/components/dda-home-banner.js +1 -243
- package/dist/components/dda-horizontal-stepper.js +1 -47
- package/dist/components/dda-input.js +1 -8
- package/dist/components/dda-link-button.js +1 -8
- package/dist/components/dda-number-field.js +1 -122
- package/dist/components/dda-pagination.js +1 -116
- package/dist/components/dda-phonefield.js +1 -325
- package/dist/components/dda-progressbar.js +1 -50
- package/dist/components/dda-radiobutton.js +1 -8
- package/dist/components/dda-range-slider.js +1 -82
- package/dist/components/dda-search-input.js +1 -165
- package/dist/components/dda-segmented-tabs.js +1 -48
- package/dist/components/dda-select.js +1 -187
- package/dist/components/dda-sticky-footer.js +1 -161
- package/dist/components/dda-tabs.js +1 -110
- package/dist/components/dda-textarea.js +1 -16525
- package/dist/components/dda-toggle.js +1 -53
- package/dist/components/dda-tooltip.js +1 -8
- package/dist/components/{dda-image-card.d.ts → dda-ui-card.d.ts} +4 -4
- package/dist/components/dda-ui-card.js +1 -0
- package/dist/components/dda-vertical-stepper.js +1 -48
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -23
- package/dist/components/p-BKiP6sny.js +1 -0
- package/dist/components/p-Bm-EYFLN.js +1 -0
- package/dist/components/p-BvP8lGT3.js +1 -0
- package/dist/components/p-DRFUUPG3.js +1 -0
- package/dist/components/p-LJ4a_ueE.js +1 -0
- package/dist/dda/dda.esm.js +1 -2
- package/dist/dda/index.esm.js +1 -2
- package/dist/dda/p-040099d5.entry.js +1 -0
- package/dist/dda/p-0c6f89c6.entry.js +1 -0
- package/dist/dda/p-0db613dc.entry.js +1 -0
- package/dist/dda/p-11ce4cfd.entry.js +1 -0
- package/dist/dda/p-16ce89d0.entry.js +1 -0
- package/dist/dda/p-203ee4e1.entry.js +1 -0
- package/dist/dda/p-2a027297.entry.js +1 -0
- package/dist/dda/p-2e1d59b9.entry.js +1 -0
- package/dist/dda/p-3512c8ef.entry.js +1 -0
- package/dist/dda/p-35cdd0cf.entry.js +1 -0
- package/dist/dda/p-3a6f952a.entry.js +1 -0
- package/dist/dda/p-3af92bf3.entry.js +1 -0
- package/dist/dda/p-4805baa9.entry.js +1 -0
- package/dist/dda/p-4a846bcd.entry.js +1 -0
- package/dist/dda/p-5b978b8f.entry.js +1 -0
- package/dist/dda/p-5e0f4eaf.entry.js +1 -0
- package/dist/dda/p-6331f69d.entry.js +1 -0
- package/dist/dda/p-67284de0.entry.js +1 -0
- package/dist/dda/p-687993df.entry.js +1 -0
- package/dist/dda/p-716421b3.entry.js +1 -0
- package/dist/dda/p-975905db.entry.js +1 -0
- package/dist/dda/p-9f0045c4.entry.js +1 -0
- package/dist/dda/p-9f82d233.entry.js +1 -0
- package/dist/dda/p-CnOk80gh.js +2 -0
- package/dist/dda/p-DQuL1Twl.js +1 -0
- package/dist/dda/p-b06d31ec.entry.js +1 -0
- package/dist/dda/p-bbafe3f1.entry.js +1 -0
- package/dist/dda/p-d0afe841.entry.js +1 -0
- package/dist/dda/p-d1a52040.entry.js +1 -0
- package/dist/dda/p-dd16275a.entry.js +1 -0
- package/dist/dda/p-e4f05069.entry.js +1 -0
- package/dist/dda/p-ea3d4df8.entry.js +1 -0
- package/dist/dda/p-ebaf8588.entry.js +1 -0
- package/dist/dda/p-f135fada.entry.js +1 -0
- package/dist/dda/p-f8eeccb8.entry.js +1 -0
- package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -2
- package/dist/esm/dda-accordion.entry.js +11 -35
- package/dist/esm/dda-alert.entry.js +10 -13
- package/dist/esm/dda-attach-file.entry.js +18 -60
- package/dist/esm/dda-avatar.entry.js +10 -17
- package/dist/esm/dda-banner.entry.js +21 -0
- package/dist/esm/dda-breadcrumb.entry.js +6 -15
- package/dist/esm/dda-button.entry.js +16 -32
- package/dist/esm/dda-checkbox.entry.js +7 -13
- package/dist/esm/dda-chip.entry.js +6 -8
- package/dist/esm/dda-credit-card.entry.js +7 -4
- package/dist/esm/dda-creditcard-field.entry.js +8 -45
- package/dist/esm/dda-dropdown.entry.js +21 -40
- package/dist/esm/dda-footer.entry.js +5 -4
- package/dist/esm/dda-header.entry.js +44 -253
- package/dist/esm/dda-home-banner.entry.js +11 -179
- package/dist/esm/dda-horizontal-stepper.entry.js +6 -7
- package/dist/esm/dda-input.entry.js +32 -0
- package/dist/esm/dda-link-button_2.entry.js +63 -0
- package/dist/esm/dda-number-field.entry.js +8 -32
- package/dist/esm/dda-pagination.entry.js +18 -18
- package/dist/esm/dda-phonefield.entry.js +197 -238
- package/dist/esm/dda-progressbar.entry.js +6 -7
- package/dist/esm/dda-range-slider.entry.js +5 -8
- package/dist/esm/dda-search-input.entry.js +13 -102
- package/dist/esm/dda-segmented-tabs.entry.js +7 -8
- package/dist/esm/dda-select.entry.js +10 -113
- package/dist/esm/dda-sticky-footer.entry.js +4 -64
- package/dist/esm/dda-tabs.entry.js +17 -42
- package/dist/esm/dda-textarea.entry.js +6087 -6250
- package/dist/esm/dda-toggle.entry.js +12 -15
- package/dist/esm/dda-tooltip.entry.js +6 -7
- package/dist/esm/dda-ui-card.entry.js +24 -0
- package/dist/esm/dda-vertical-stepper.entry.js +4 -7
- package/dist/esm/dda.js +6 -7
- package/dist/esm/{index-52b38a93.js → index-CnOk80gh.js} +789 -557
- package/dist/esm/index.js +12 -14
- package/dist/esm/loader.js +4 -6
- package/dist/types/components/dda-accordion/dda-accordion.d.ts +1 -12
- package/dist/types/components/dda-accordion/dda-accordion.stories.d.ts +2 -32
- package/dist/types/components/dda-alert/dda-alert.d.ts +7 -8
- package/dist/types/components/dda-alert/dda-alert.stories.d.ts +9 -13
- package/dist/types/components/dda-attach-file/dda-attach-file.d.ts +3 -18
- package/dist/types/components/dda-attach-file/dda-attach-file.stories.d.ts +6 -32
- package/dist/types/components/dda-avatar/dda-avatar.d.ts +0 -2
- package/dist/types/components/dda-avatar/dda-avatar.stories.d.ts +0 -4
- package/dist/types/components/dda-banner/dda-banner.d.ts +13 -0
- package/dist/types/components/dda-breadcrumb/dda-breadcrumb.d.ts +0 -5
- package/dist/types/components/dda-breadcrumb/dda-breadcrumb.stories.d.ts +0 -5
- package/dist/types/components/dda-button/dda-button.d.ts +6 -13
- package/dist/types/components/dda-button/dda-button.stories.d.ts +27 -23
- package/dist/types/components/dda-checkbox/dda-checkbox.d.ts +1 -5
- package/dist/types/components/dda-checkbox/dda-checkbox.stories.d.ts +18 -4
- package/dist/types/components/dda-chip/dda-chip.d.ts +1 -8
- package/dist/types/components/dda-chip/dda-chip.stories.d.ts +5 -18
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.d.ts +0 -11
- package/dist/types/components/dda-creditcard-field/dda-creditcard-field.stories.d.ts +0 -4
- package/dist/types/components/dda-dropdown/dda-dropdown.d.ts +9 -27
- package/dist/types/components/dda-dropdown/dda-dropdown.stories.d.ts +36 -28
- package/dist/types/components/dda-header/dda-header.d.ts +9 -74
- package/dist/types/components/dda-header/dda-header.stories.d.ts +3 -108
- package/dist/types/components/dda-home-banner/dda-home-banner.d.ts +1 -18
- package/dist/types/components/dda-home-banner/dda-home-banner.stories.d.ts +3 -4
- package/dist/types/components/dda-input/dda-input.d.ts +1 -19
- package/dist/types/components/dda-input/dda-input.stories.d.ts +0 -12
- package/dist/types/components/dda-link-button/dda-link-button.d.ts +4 -9
- package/dist/types/components/dda-link-button/dda-link-button.stories.d.ts +0 -37
- package/dist/types/components/dda-number-field/dda-number-field.d.ts +0 -7
- package/dist/types/components/dda-pagination/dda-pagination.d.ts +0 -3
- package/dist/types/components/dda-phonefield/dda-phonefield.d.ts +9 -26
- package/dist/types/components/dda-phonefield/dda-phonefield.stories.d.ts +6 -8
- package/dist/types/components/dda-radiobutton/dda-radiobutton.d.ts +0 -14
- package/dist/types/components/dda-radiobutton/dda-radiobutton.stories.d.ts +18 -19
- package/dist/types/components/dda-search-input/dda-search-input.d.ts +0 -22
- package/dist/types/components/dda-search-input/dda-search-input.stories.d.ts +0 -16
- package/dist/types/components/dda-select/dda-select.d.ts +3 -35
- package/dist/types/components/dda-select/dda-select.stories.d.ts +18 -21
- package/dist/types/components/dda-sticky-footer/dda-sticky-footer.d.ts +25 -35
- package/dist/types/components/dda-sticky-footer/dda-sticky-footer.stories.d.ts +0 -6
- package/dist/types/components/dda-tabs/dda-tabs.d.ts +4 -7
- package/dist/types/components/dda-tabs/dda-tabs.stories.d.ts +2 -8
- package/dist/types/components/dda-textarea/dda-textarea.d.ts +8 -23
- package/dist/types/components/dda-textarea/dda-textarea.stories.d.ts +0 -4
- package/dist/types/components/dda-toggle/dda-toggle.d.ts +0 -3
- package/dist/types/components/dda-ui-card/dda-ui-card.d.ts +13 -0
- package/dist/types/components.d.ts +1365 -1285
- package/dist/types/stencil-public-runtime.d.ts +193 -12
- package/package.json +6 -5
- package/readme.md +78 -260
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/dda-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-attach-file.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-banner-card.cjs.entry.js +0 -28
- package/dist/cjs/dda-banner-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-breadcrumb.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-button.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-centered-image-card.cjs.entry.js +0 -40
- package/dist/cjs/dda-centered-image-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-credit-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-creditcard-field.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-custom-card.cjs.entry.js +0 -37
- package/dist/cjs/dda-custom-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-event-card.cjs.entry.js +0 -53
- package/dist/cjs/dda-event-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-footer.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-header-menu_3.cjs.entry.js +0 -271
- package/dist/cjs/dda-header-menu_3.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-header.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-home-banner.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-home-carousel.cjs.entry.js +0 -110
- package/dist/cjs/dda-home-carousel.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-horizontal-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-image-card.cjs.entry.js +0 -34
- package/dist/cjs/dda-image-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-information-card.cjs.entry.js +0 -32
- package/dist/cjs/dda-information-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-link-button.cjs.entry.js +0 -71
- package/dist/cjs/dda-link-button.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-number-field.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-phonefield.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-pricing-card.cjs.entry.js +0 -38
- package/dist/cjs/dda-pricing-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-progressbar.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-range-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-scroll-icon.cjs.entry.js +0 -32
- package/dist/cjs/dda-scroll-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-search-input.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-segmented-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-select.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-slider.cjs.entry.js +0 -256
- package/dist/cjs/dda-slider.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-split-button.cjs.entry.js +0 -104
- package/dist/cjs/dda-split-button.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-sticky-footer.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-tabs.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-team-member-card.cjs.entry.js +0 -29
- package/dist/cjs/dda-team-member-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-teamsection-card.cjs.entry.js +0 -90
- package/dist/cjs/dda-teamsection-card.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-textarea.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-toggle.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/dda-vertical-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/dda.cjs.js.map +0 -1
- package/dist/cjs/index-39924b9e.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/collection/assets/img/Team-Section-Card-1.svg +0 -9
- package/dist/collection/assets/img/icn/file_icons/icn-Excel.svg +0 -9
- package/dist/collection/assets/img/icn/file_icons/icn-Image.svg +0 -6
- package/dist/collection/assets/img/icn/file_icons/icn-OneNote.svg +0 -6
- package/dist/collection/assets/img/icn/file_icons/icn-PDF.svg +0 -7
- package/dist/collection/assets/img/icn/file_icons/icn-PowerPoint.svg +0 -10
- package/dist/collection/assets/img/icn/file_icons/icn-Video.svg +0 -5
- package/dist/collection/assets/img/icn/file_icons/icn-Word.svg +0 -10
- package/dist/collection/assets/img/icn/file_icons/icn-default.svg +0 -1
- package/dist/collection/assets/img/icn/icn-Config.svg +0 -9
- package/dist/collection/assets/img/icn/icn-card-facebook.svg +0 -11
- package/dist/collection/assets/img/icn/icn-card-linkdin.svg +0 -4
- package/dist/collection/assets/img/icn/icn-card-telegram.svg +0 -11
- package/dist/collection/assets/img/icn/icn-card-twitter-x.svg +0 -10
- package/dist/collection/assets/img/icn/icn-master-card.svg +0 -1
- package/dist/collection/components/cards/dda-centered-image-card/dda-centered-image-card.js +0 -268
- package/dist/collection/components/cards/dda-centered-image-card/dda-centered-image-card.js.map +0 -1
- package/dist/collection/components/cards/dda-centered-image-card/dda-centered-image-card.stories.js +0 -103
- package/dist/collection/components/cards/dda-centered-image-card/dda-centered-image-card.stories.js.map +0 -1
- package/dist/collection/components/cards/dda-image-card/dda-image-card.js +0 -589
- package/dist/collection/components/cards/dda-image-card/dda-image-card.js.map +0 -1
- package/dist/collection/components/cards/dda-image-card/dda-image-card.stories.js +0 -185
- package/dist/collection/components/cards/dda-image-card/dda-image-card.stories.js.map +0 -1
- package/dist/collection/components/cards/dda-information-card/dda-information-card.js +0 -509
- package/dist/collection/components/cards/dda-information-card/dda-information-card.js.map +0 -1
- package/dist/collection/components/cards/dda-information-card/dda-information-card.stories.js +0 -155
- package/dist/collection/components/cards/dda-information-card/dda-information-card.stories.js.map +0 -1
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.css +0 -47
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.js +0 -165
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.js.map +0 -1
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.stories.js +0 -85
- package/dist/collection/components/cards/dda-team-member-card/dda-team-member-card.stories.js.map +0 -1
- package/dist/collection/components/dda-accordion/dda-accordion.js.map +0 -1
- package/dist/collection/components/dda-accordion/dda-accordion.stories.js.map +0 -1
- package/dist/collection/components/dda-alert/dda-alert.js.map +0 -1
- package/dist/collection/components/dda-alert/dda-alert.stories.js.map +0 -1
- package/dist/collection/components/dda-attach-file/dda-attach-file.js.map +0 -1
- package/dist/collection/components/dda-attach-file/dda-attach-file.stories.js.map +0 -1
- package/dist/collection/components/dda-avatar/dda-avatar.js.map +0 -1
- package/dist/collection/components/dda-avatar/dda-avatar.stories.js.map +0 -1
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.js.map +0 -1
- package/dist/collection/components/dda-breadcrumb/dda-breadcrumb.stories.js.map +0 -1
- package/dist/collection/components/dda-button/dda-button.js.map +0 -1
- package/dist/collection/components/dda-button/dda-button.stories.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-banner-card/dda-banner-card.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-banner-card/dda-banner-card.stories.js +0 -123
- package/dist/collection/components/dda-cards/dda-banner-card/dda-banner-card.stories.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.css +0 -8
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.js +0 -157
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.stories.js +0 -53
- package/dist/collection/components/dda-cards/dda-custom-card/dda-custom-card.stories.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.js +0 -298
- package/dist/collection/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.stories.js +0 -87
- package/dist/collection/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.stories.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.js +0 -341
- package/dist/collection/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.stories.js +0 -80
- package/dist/collection/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.stories.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.js +0 -324
- package/dist/collection/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.js.map +0 -1
- package/dist/collection/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.stories.js +0 -232
- package/dist/collection/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.stories.js.map +0 -1
- package/dist/collection/components/dda-checkbox/dda-checkbox.js.map +0 -1
- package/dist/collection/components/dda-checkbox/dda-checkbox.stories.js.map +0 -1
- package/dist/collection/components/dda-chip/dda-chip.js.map +0 -1
- package/dist/collection/components/dda-chip/dda-chip.stories.js.map +0 -1
- package/dist/collection/components/dda-credit-card/dda-credit-card.js.map +0 -1
- package/dist/collection/components/dda-credit-card/dda-credit-card.stories.js.map +0 -1
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.js.map +0 -1
- package/dist/collection/components/dda-creditcard-field/dda-creditcard-field.stories.js.map +0 -1
- package/dist/collection/components/dda-dropdown/dda-dropdown.js.map +0 -1
- package/dist/collection/components/dda-dropdown/dda-dropdown.stories.js.map +0 -1
- package/dist/collection/components/dda-footer/dda-footer.js.map +0 -1
- package/dist/collection/components/dda-footer/dda-footer.stories.js.map +0 -1
- package/dist/collection/components/dda-header/dda-header-main.css +0 -1007
- package/dist/collection/components/dda-header/dda-header.js.map +0 -1
- package/dist/collection/components/dda-header/dda-header.stories.js.map +0 -1
- package/dist/collection/components/dda-header-menu/dda-header-menu.css +0 -295
- package/dist/collection/components/dda-header-menu/dda-header-menu.js +0 -222
- package/dist/collection/components/dda-header-menu/dda-header-menu.js.map +0 -1
- package/dist/collection/components/dda-header-menu/dda-header-menu.stories.js +0 -125
- package/dist/collection/components/dda-header-menu/dda-header-menu.stories.js.map +0 -1
- package/dist/collection/components/dda-home-banner/dda-home-banner.js.map +0 -1
- package/dist/collection/components/dda-home-banner/dda-home-banner.stories.js.map +0 -1
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.css +0 -126
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.js +0 -194
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.js.map +0 -1
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.stories.js +0 -138
- package/dist/collection/components/dda-home-carousel/dda-home-carousel.stories.js.map +0 -1
- package/dist/collection/components/dda-input/dda-input.js.map +0 -1
- package/dist/collection/components/dda-input/dda-input.stories.js.map +0 -1
- package/dist/collection/components/dda-link-button/dda-link-button.js.map +0 -1
- package/dist/collection/components/dda-link-button/dda-link-button.stories.js.map +0 -1
- package/dist/collection/components/dda-number-field/dda-number-field.js.map +0 -1
- package/dist/collection/components/dda-number-field/dda-number-field.stories.js.map +0 -1
- package/dist/collection/components/dda-pagination/dda-pagination.js.map +0 -1
- package/dist/collection/components/dda-pagination/dda-pagination.stories.js.map +0 -1
- package/dist/collection/components/dda-phonefield/dda-phonefield.js.map +0 -1
- package/dist/collection/components/dda-phonefield/dda-phonefield.stories.js.map +0 -1
- package/dist/collection/components/dda-progressbar/dda-progressbar.js.map +0 -1
- package/dist/collection/components/dda-progressbar/dda-progressbar.stories.js.map +0 -1
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.js.map +0 -1
- package/dist/collection/components/dda-radiobutton/dda-radiobutton.stories.js.map +0 -1
- package/dist/collection/components/dda-range-slider/dda-range-slider.js.map +0 -1
- package/dist/collection/components/dda-range-slider/dda-range-slider.stories.js.map +0 -1
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.css +0 -83
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.js +0 -115
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.js.map +0 -1
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.stories.js +0 -59
- package/dist/collection/components/dda-scroll-icon/dda-scroll-icon.stories.js.map +0 -1
- package/dist/collection/components/dda-search-input/dda-search-input.js.map +0 -1
- package/dist/collection/components/dda-search-input/dda-search-input.stories.js.map +0 -1
- package/dist/collection/components/dda-select/dda-select.js.map +0 -1
- package/dist/collection/components/dda-select/dda-select.stories.js.map +0 -1
- package/dist/collection/components/dda-slider/dda-slider.css +0 -156
- package/dist/collection/components/dda-slider/dda-slider.js +0 -332
- package/dist/collection/components/dda-slider/dda-slider.js.map +0 -1
- package/dist/collection/components/dda-slider/dda-slider.stories.js +0 -126
- package/dist/collection/components/dda-slider/dda-slider.stories.js.map +0 -1
- package/dist/collection/components/dda-split-button/dda-split-button.js +0 -442
- package/dist/collection/components/dda-split-button/dda-split-button.js.map +0 -1
- package/dist/collection/components/dda-split-button/dda-split-button.stories.js +0 -144
- package/dist/collection/components/dda-split-button/dda-split-button.stories.js.map +0 -1
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.js.map +0 -1
- package/dist/collection/components/dda-sticky-footer/dda-sticky-footer.stories.js.map +0 -1
- package/dist/collection/components/dda-tabs/dda-tabs.js.map +0 -1
- package/dist/collection/components/dda-tabs/dda-tabs.stories.js.map +0 -1
- package/dist/collection/components/dda-textarea/dda-textarea.js.map +0 -1
- package/dist/collection/components/dda-textarea/dda-textarea.stories.js.map +0 -1
- package/dist/collection/components/dda-toggle/dda-toggle.js.map +0 -1
- package/dist/collection/components/dda-toggle/dda-toggle.stories.js.map +0 -1
- package/dist/collection/components/dda-tooltip/dda-tooltip.js.map +0 -1
- package/dist/collection/components/dda-tooltip/dda-tooltip.stories.js.map +0 -1
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.js.map +0 -1
- package/dist/collection/components/segmented-groups/dda-segmented-tabs/dda-segmented-tabs.stories.js.map +0 -1
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.js.map +0 -1
- package/dist/collection/components/stepper/dda-horizontal-stepper/dda-horizontal-stepper.stories.js.map +0 -1
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.js.map +0 -1
- package/dist/collection/components/stepper/dda-vertical-stepper/dda-vertical-stepper.stories.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/dda-accordion.js.map +0 -1
- package/dist/components/dda-alert.js.map +0 -1
- package/dist/components/dda-attach-file.js.map +0 -1
- package/dist/components/dda-avatar.js.map +0 -1
- package/dist/components/dda-banner-card.d.ts +0 -11
- package/dist/components/dda-banner-card.js +0 -8
- package/dist/components/dda-banner-card.js.map +0 -1
- package/dist/components/dda-breadcrumb.js.map +0 -1
- package/dist/components/dda-button.js.map +0 -1
- package/dist/components/dda-centered-image-card.d.ts +0 -11
- package/dist/components/dda-centered-image-card.js +0 -73
- package/dist/components/dda-centered-image-card.js.map +0 -1
- package/dist/components/dda-checkbox.js.map +0 -1
- package/dist/components/dda-chip.js.map +0 -1
- package/dist/components/dda-credit-card.js.map +0 -1
- package/dist/components/dda-creditcard-field.js.map +0 -1
- package/dist/components/dda-custom-card.d.ts +0 -11
- package/dist/components/dda-custom-card.js +0 -64
- package/dist/components/dda-custom-card.js.map +0 -1
- package/dist/components/dda-dropdown.js.map +0 -1
- package/dist/components/dda-event-card.d.ts +0 -11
- package/dist/components/dda-event-card.js +0 -99
- package/dist/components/dda-event-card.js.map +0 -1
- package/dist/components/dda-footer.js.map +0 -1
- package/dist/components/dda-header-menu.d.ts +0 -11
- package/dist/components/dda-header-menu.js +0 -8
- package/dist/components/dda-header-menu.js.map +0 -1
- package/dist/components/dda-header.js.map +0 -1
- package/dist/components/dda-home-banner.js.map +0 -1
- package/dist/components/dda-home-carousel.d.ts +0 -11
- package/dist/components/dda-home-carousel.js +0 -137
- package/dist/components/dda-home-carousel.js.map +0 -1
- package/dist/components/dda-horizontal-stepper.js.map +0 -1
- package/dist/components/dda-image-card.js +0 -83
- package/dist/components/dda-image-card.js.map +0 -1
- package/dist/components/dda-information-card.d.ts +0 -11
- package/dist/components/dda-information-card.js +0 -77
- package/dist/components/dda-information-card.js.map +0 -1
- package/dist/components/dda-input.js.map +0 -1
- package/dist/components/dda-link-button.js.map +0 -1
- package/dist/components/dda-number-field.js.map +0 -1
- package/dist/components/dda-pagination.js.map +0 -1
- package/dist/components/dda-phonefield.js.map +0 -1
- package/dist/components/dda-pricing-card.d.ts +0 -11
- package/dist/components/dda-pricing-card.js +0 -81
- package/dist/components/dda-pricing-card.js.map +0 -1
- package/dist/components/dda-progressbar.js.map +0 -1
- package/dist/components/dda-radiobutton.js.map +0 -1
- package/dist/components/dda-range-slider.js.map +0 -1
- package/dist/components/dda-scroll-icon.d.ts +0 -11
- package/dist/components/dda-scroll-icon.js +0 -8
- package/dist/components/dda-scroll-icon.js.map +0 -1
- package/dist/components/dda-search-input.js.map +0 -1
- package/dist/components/dda-segmented-tabs.js.map +0 -1
- package/dist/components/dda-select.js.map +0 -1
- package/dist/components/dda-slider.js +0 -279
- package/dist/components/dda-slider.js.map +0 -1
- package/dist/components/dda-split-button.d.ts +0 -11
- package/dist/components/dda-split-button.js +0 -136
- package/dist/components/dda-split-button.js.map +0 -1
- package/dist/components/dda-sticky-footer.js.map +0 -1
- package/dist/components/dda-tabs.js.map +0 -1
- package/dist/components/dda-team-member-card.d.ts +0 -11
- package/dist/components/dda-team-member-card.js +0 -51
- package/dist/components/dda-team-member-card.js.map +0 -1
- package/dist/components/dda-teamsection-card.d.ts +0 -11
- package/dist/components/dda-teamsection-card.js +0 -119
- package/dist/components/dda-teamsection-card.js.map +0 -1
- package/dist/components/dda-textarea.js.map +0 -1
- package/dist/components/dda-toggle.js.map +0 -1
- package/dist/components/dda-tooltip.js.map +0 -1
- package/dist/components/dda-vertical-stepper.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-0bbf1225.js +0 -155
- package/dist/components/p-0bbf1225.js.map +0 -1
- package/dist/components/p-42b74b87.js +0 -102
- package/dist/components/p-42b74b87.js.map +0 -1
- package/dist/components/p-5e2018f2.js +0 -94
- package/dist/components/p-5e2018f2.js.map +0 -1
- package/dist/components/p-72204b95.js +0 -53
- package/dist/components/p-72204b95.js.map +0 -1
- package/dist/components/p-857c1ac9.js +0 -141
- package/dist/components/p-857c1ac9.js.map +0 -1
- package/dist/components/p-a29298cf.js +0 -51
- package/dist/components/p-a29298cf.js.map +0 -1
- package/dist/components/p-a7f02338.js +0 -90
- package/dist/components/p-a7f02338.js.map +0 -1
- package/dist/components/p-b7f0ebbb.js +0 -49
- package/dist/components/p-b7f0ebbb.js.map +0 -1
- package/dist/components/p-ba13ee0a.js +0 -41
- package/dist/components/p-ba13ee0a.js.map +0 -1
- package/dist/components/p-c30d0ada.js +0 -70
- package/dist/components/p-c30d0ada.js.map +0 -1
- package/dist/components/p-f6588843.js +0 -1535
- package/dist/components/p-f6588843.js.map +0 -1
- package/dist/dda/dda.css +0 -4
- package/dist/dda/dda.esm.js.map +0 -1
- package/dist/dda/index.esm.js.map +0 -1
- package/dist/dda/p-0905eb60.entry.js +0 -2
- package/dist/dda/p-0905eb60.entry.js.map +0 -1
- package/dist/dda/p-0bd5576f.entry.js +0 -2
- package/dist/dda/p-0bd5576f.entry.js.map +0 -1
- package/dist/dda/p-0ebdb27f.entry.js +0 -2
- package/dist/dda/p-0ebdb27f.entry.js.map +0 -1
- package/dist/dda/p-0fa24558.entry.js +0 -2
- package/dist/dda/p-0fa24558.entry.js.map +0 -1
- package/dist/dda/p-14d622c2.entry.js +0 -2
- package/dist/dda/p-14d622c2.entry.js.map +0 -1
- package/dist/dda/p-1b339a0a.js +0 -3
- package/dist/dda/p-1b339a0a.js.map +0 -1
- package/dist/dda/p-1fa27da3.entry.js +0 -2
- package/dist/dda/p-1fa27da3.entry.js.map +0 -1
- package/dist/dda/p-207203ae.entry.js +0 -2
- package/dist/dda/p-207203ae.entry.js.map +0 -1
- package/dist/dda/p-24489bc6.entry.js +0 -2
- package/dist/dda/p-24489bc6.entry.js.map +0 -1
- package/dist/dda/p-24da4601.entry.js +0 -2
- package/dist/dda/p-24da4601.entry.js.map +0 -1
- package/dist/dda/p-26bb8828.entry.js +0 -2
- package/dist/dda/p-26bb8828.entry.js.map +0 -1
- package/dist/dda/p-2821386c.entry.js +0 -2
- package/dist/dda/p-2821386c.entry.js.map +0 -1
- package/dist/dda/p-2d505693.entry.js +0 -2
- package/dist/dda/p-2d505693.entry.js.map +0 -1
- package/dist/dda/p-37dbab49.entry.js +0 -2
- package/dist/dda/p-37dbab49.entry.js.map +0 -1
- package/dist/dda/p-3fef96a8.entry.js +0 -2
- package/dist/dda/p-3fef96a8.entry.js.map +0 -1
- package/dist/dda/p-42c30672.entry.js +0 -2
- package/dist/dda/p-42c30672.entry.js.map +0 -1
- package/dist/dda/p-462f0128.entry.js +0 -2
- package/dist/dda/p-462f0128.entry.js.map +0 -1
- package/dist/dda/p-54c8ab80.entry.js +0 -2
- package/dist/dda/p-54c8ab80.entry.js.map +0 -1
- package/dist/dda/p-5695b505.entry.js +0 -2
- package/dist/dda/p-5695b505.entry.js.map +0 -1
- package/dist/dda/p-5bf0d4fe.entry.js +0 -2
- package/dist/dda/p-5bf0d4fe.entry.js.map +0 -1
- package/dist/dda/p-5d47716e.entry.js +0 -2
- package/dist/dda/p-5d47716e.entry.js.map +0 -1
- package/dist/dda/p-5f80ef51.entry.js +0 -2
- package/dist/dda/p-5f80ef51.entry.js.map +0 -1
- package/dist/dda/p-60d855a6.entry.js +0 -2
- package/dist/dda/p-60d855a6.entry.js.map +0 -1
- package/dist/dda/p-6151a1f2.entry.js +0 -2
- package/dist/dda/p-6151a1f2.entry.js.map +0 -1
- package/dist/dda/p-6842a5e5.entry.js +0 -2
- package/dist/dda/p-6842a5e5.entry.js.map +0 -1
- package/dist/dda/p-68c80bba.entry.js +0 -2
- package/dist/dda/p-68c80bba.entry.js.map +0 -1
- package/dist/dda/p-6aa213c1.entry.js +0 -2
- package/dist/dda/p-6aa213c1.entry.js.map +0 -1
- package/dist/dda/p-6d955874.entry.js +0 -2
- package/dist/dda/p-6d955874.entry.js.map +0 -1
- package/dist/dda/p-6fd79768.entry.js +0 -2
- package/dist/dda/p-6fd79768.entry.js.map +0 -1
- package/dist/dda/p-764d2be3.entry.js +0 -2
- package/dist/dda/p-764d2be3.entry.js.map +0 -1
- package/dist/dda/p-7caaf11f.entry.js +0 -2
- package/dist/dda/p-7caaf11f.entry.js.map +0 -1
- package/dist/dda/p-8c7d0c73.entry.js +0 -2
- package/dist/dda/p-8c7d0c73.entry.js.map +0 -1
- package/dist/dda/p-9636f669.entry.js +0 -2
- package/dist/dda/p-9636f669.entry.js.map +0 -1
- package/dist/dda/p-98021655.entry.js +0 -2
- package/dist/dda/p-98021655.entry.js.map +0 -1
- package/dist/dda/p-a3f284bc.entry.js +0 -2
- package/dist/dda/p-a3f284bc.entry.js.map +0 -1
- package/dist/dda/p-aefe49c4.entry.js +0 -2
- package/dist/dda/p-aefe49c4.entry.js.map +0 -1
- package/dist/dda/p-b48e061c.entry.js +0 -2
- package/dist/dda/p-b48e061c.entry.js.map +0 -1
- package/dist/dda/p-ba90f4be.entry.js +0 -2
- package/dist/dda/p-ba90f4be.entry.js.map +0 -1
- package/dist/dda/p-bd0d09ff.entry.js +0 -2
- package/dist/dda/p-bd0d09ff.entry.js.map +0 -1
- package/dist/dda/p-c766ae47.entry.js +0 -2
- package/dist/dda/p-c766ae47.entry.js.map +0 -1
- package/dist/dda/p-d7434fd9.entry.js +0 -2
- package/dist/dda/p-d7434fd9.entry.js.map +0 -1
- package/dist/dda/p-d93f2102.entry.js +0 -2
- package/dist/dda/p-d93f2102.entry.js.map +0 -1
- package/dist/dda/p-dca57f55.entry.js +0 -2
- package/dist/dda/p-dca57f55.entry.js.map +0 -1
- package/dist/dda/p-e1255160.js +0 -2
- package/dist/dda/p-e1255160.js.map +0 -1
- package/dist/dda/p-e808d48a.entry.js +0 -2
- package/dist/dda/p-e808d48a.entry.js.map +0 -1
- package/dist/dda/p-eb472057.entry.js +0 -2
- package/dist/dda/p-eb472057.entry.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/dda-accordion.entry.js.map +0 -1
- package/dist/esm/dda-alert.entry.js.map +0 -1
- package/dist/esm/dda-attach-file.entry.js.map +0 -1
- package/dist/esm/dda-avatar.entry.js.map +0 -1
- package/dist/esm/dda-banner-card.entry.js +0 -24
- package/dist/esm/dda-banner-card.entry.js.map +0 -1
- package/dist/esm/dda-breadcrumb.entry.js.map +0 -1
- package/dist/esm/dda-button.entry.js.map +0 -1
- package/dist/esm/dda-centered-image-card.entry.js +0 -36
- package/dist/esm/dda-centered-image-card.entry.js.map +0 -1
- package/dist/esm/dda-checkbox.entry.js.map +0 -1
- package/dist/esm/dda-chip.entry.js.map +0 -1
- package/dist/esm/dda-credit-card.entry.js.map +0 -1
- package/dist/esm/dda-creditcard-field.entry.js.map +0 -1
- package/dist/esm/dda-custom-card.entry.js +0 -33
- package/dist/esm/dda-custom-card.entry.js.map +0 -1
- package/dist/esm/dda-dropdown.entry.js.map +0 -1
- package/dist/esm/dda-event-card.entry.js +0 -49
- package/dist/esm/dda-event-card.entry.js.map +0 -1
- package/dist/esm/dda-footer.entry.js.map +0 -1
- package/dist/esm/dda-header-menu_3.entry.js +0 -265
- package/dist/esm/dda-header-menu_3.entry.js.map +0 -1
- package/dist/esm/dda-header.entry.js.map +0 -1
- package/dist/esm/dda-home-banner.entry.js.map +0 -1
- package/dist/esm/dda-home-carousel.entry.js +0 -106
- package/dist/esm/dda-home-carousel.entry.js.map +0 -1
- package/dist/esm/dda-horizontal-stepper.entry.js.map +0 -1
- package/dist/esm/dda-image-card.entry.js +0 -30
- package/dist/esm/dda-image-card.entry.js.map +0 -1
- package/dist/esm/dda-information-card.entry.js +0 -28
- package/dist/esm/dda-information-card.entry.js.map +0 -1
- package/dist/esm/dda-link-button.entry.js +0 -67
- package/dist/esm/dda-link-button.entry.js.map +0 -1
- package/dist/esm/dda-number-field.entry.js.map +0 -1
- package/dist/esm/dda-pagination.entry.js.map +0 -1
- package/dist/esm/dda-phonefield.entry.js.map +0 -1
- package/dist/esm/dda-pricing-card.entry.js +0 -34
- package/dist/esm/dda-pricing-card.entry.js.map +0 -1
- package/dist/esm/dda-progressbar.entry.js.map +0 -1
- package/dist/esm/dda-range-slider.entry.js.map +0 -1
- package/dist/esm/dda-scroll-icon.entry.js +0 -28
- package/dist/esm/dda-scroll-icon.entry.js.map +0 -1
- package/dist/esm/dda-search-input.entry.js.map +0 -1
- package/dist/esm/dda-segmented-tabs.entry.js.map +0 -1
- package/dist/esm/dda-select.entry.js.map +0 -1
- package/dist/esm/dda-slider.entry.js +0 -252
- package/dist/esm/dda-slider.entry.js.map +0 -1
- package/dist/esm/dda-split-button.entry.js +0 -100
- package/dist/esm/dda-split-button.entry.js.map +0 -1
- package/dist/esm/dda-sticky-footer.entry.js.map +0 -1
- package/dist/esm/dda-tabs.entry.js.map +0 -1
- package/dist/esm/dda-team-member-card.entry.js +0 -25
- package/dist/esm/dda-team-member-card.entry.js.map +0 -1
- package/dist/esm/dda-teamsection-card.entry.js +0 -86
- package/dist/esm/dda-teamsection-card.entry.js.map +0 -1
- package/dist/esm/dda-textarea.entry.js.map +0 -1
- package/dist/esm/dda-toggle.entry.js.map +0 -1
- package/dist/esm/dda-tooltip.entry.js.map +0 -1
- package/dist/esm/dda-vertical-stepper.entry.js.map +0 -1
- package/dist/esm/dda.js.map +0 -1
- package/dist/esm/index-52b38a93.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/types/components/cards/dda-centered-image-card/dda-centered-image-card.d.ts +0 -22
- package/dist/types/components/cards/dda-centered-image-card/dda-centered-image-card.stories.d.ts +0 -63
- package/dist/types/components/cards/dda-image-card/dda-image-card.d.ts +0 -33
- package/dist/types/components/cards/dda-image-card/dda-image-card.stories.d.ts +0 -132
- package/dist/types/components/cards/dda-information-card/dda-information-card.d.ts +0 -29
- package/dist/types/components/cards/dda-information-card/dda-information-card.stories.d.ts +0 -107
- package/dist/types/components/cards/dda-team-member-card/dda-team-member-card.d.ts +0 -10
- package/dist/types/components/cards/dda-team-member-card/dda-team-member-card.stories.d.ts +0 -51
- package/dist/types/components/dda-cards/dda-banner-card/dda-banner-card.d.ts +0 -14
- package/dist/types/components/dda-cards/dda-banner-card/dda-banner-card.stories.d.ts +0 -63
- package/dist/types/components/dda-cards/dda-custom-card/dda-custom-card.d.ts +0 -16
- package/dist/types/components/dda-cards/dda-custom-card/dda-custom-card.stories.d.ts +0 -37
- package/dist/types/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.d.ts +0 -25
- package/dist/types/components/dda-cards/dda-image-cards/dda-event-card/dda-event-card.stories.d.ts +0 -54
- package/dist/types/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.d.ts +0 -22
- package/dist/types/components/dda-cards/dda-image-cards/dda-pricing-card/dda-pricing-card.stories.d.ts +0 -63
- package/dist/types/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.d.ts +0 -26
- package/dist/types/components/dda-cards/dda-team-section-cards/dda-teamsection-card-variant-one/dda-teamsection-card-variant-one.stories.d.ts +0 -64
- package/dist/types/components/dda-header-menu/dda-header-menu.d.ts +0 -27
- package/dist/types/components/dda-header-menu/dda-header-menu.stories.d.ts +0 -19
- package/dist/types/components/dda-home-carousel/dda-home-carousel.d.ts +0 -17
- package/dist/types/components/dda-home-carousel/dda-home-carousel.stories.d.ts +0 -35
- package/dist/types/components/dda-scroll-icon/dda-scroll-icon.d.ts +0 -7
- package/dist/types/components/dda-scroll-icon/dda-scroll-icon.stories.d.ts +0 -39
- package/dist/types/components/dda-slider/dda-slider.d.ts +0 -30
- package/dist/types/components/dda-slider/dda-slider.stories.d.ts +0 -30
- package/dist/types/components/dda-split-button/dda-split-button.d.ts +0 -36
- package/dist/types/components/dda-split-button/dda-split-button.stories.d.ts +0 -79
- package/loader/package.json +0 -11
- package/www/build/dda.css +0 -4
- package/www/build/dda.esm.js +0 -2
- package/www/build/dda.esm.js.map +0 -1
- package/www/build/dda.js +0 -33
- package/www/build/index.esm.js +0 -2
- package/www/build/index.esm.js.map +0 -1
- package/www/build/p-0905eb60.entry.js +0 -2
- package/www/build/p-0905eb60.entry.js.map +0 -1
- package/www/build/p-0bd5576f.entry.js +0 -2
- package/www/build/p-0bd5576f.entry.js.map +0 -1
- package/www/build/p-0ebdb27f.entry.js +0 -2
- package/www/build/p-0ebdb27f.entry.js.map +0 -1
- package/www/build/p-0fa24558.entry.js +0 -2
- package/www/build/p-0fa24558.entry.js.map +0 -1
- package/www/build/p-14d622c2.entry.js +0 -2
- package/www/build/p-14d622c2.entry.js.map +0 -1
- package/www/build/p-1b339a0a.js +0 -3
- package/www/build/p-1b339a0a.js.map +0 -1
- package/www/build/p-1fa27da3.entry.js +0 -2
- package/www/build/p-1fa27da3.entry.js.map +0 -1
- package/www/build/p-207203ae.entry.js +0 -2
- package/www/build/p-207203ae.entry.js.map +0 -1
- package/www/build/p-24489bc6.entry.js +0 -2
- package/www/build/p-24489bc6.entry.js.map +0 -1
- package/www/build/p-24da4601.entry.js +0 -2
- package/www/build/p-24da4601.entry.js.map +0 -1
- package/www/build/p-26bb8828.entry.js +0 -2
- package/www/build/p-26bb8828.entry.js.map +0 -1
- package/www/build/p-2821386c.entry.js +0 -2
- package/www/build/p-2821386c.entry.js.map +0 -1
- package/www/build/p-2d505693.entry.js +0 -2
- package/www/build/p-2d505693.entry.js.map +0 -1
- package/www/build/p-37dbab49.entry.js +0 -2
- package/www/build/p-37dbab49.entry.js.map +0 -1
- package/www/build/p-3fef96a8.entry.js +0 -2
- package/www/build/p-3fef96a8.entry.js.map +0 -1
- package/www/build/p-42c30672.entry.js +0 -2
- package/www/build/p-42c30672.entry.js.map +0 -1
- package/www/build/p-462f0128.entry.js +0 -2
- package/www/build/p-462f0128.entry.js.map +0 -1
- package/www/build/p-54c8ab80.entry.js +0 -2
- package/www/build/p-54c8ab80.entry.js.map +0 -1
- package/www/build/p-5695b505.entry.js +0 -2
- package/www/build/p-5695b505.entry.js.map +0 -1
- package/www/build/p-5bf0d4fe.entry.js +0 -2
- package/www/build/p-5bf0d4fe.entry.js.map +0 -1
- package/www/build/p-5d47716e.entry.js +0 -2
- package/www/build/p-5d47716e.entry.js.map +0 -1
- package/www/build/p-5f80ef51.entry.js +0 -2
- package/www/build/p-5f80ef51.entry.js.map +0 -1
- package/www/build/p-60d855a6.entry.js +0 -2
- package/www/build/p-60d855a6.entry.js.map +0 -1
- package/www/build/p-6151a1f2.entry.js +0 -2
- package/www/build/p-6151a1f2.entry.js.map +0 -1
- package/www/build/p-6842a5e5.entry.js +0 -2
- package/www/build/p-6842a5e5.entry.js.map +0 -1
- package/www/build/p-68c80bba.entry.js +0 -2
- package/www/build/p-68c80bba.entry.js.map +0 -1
- package/www/build/p-6aa213c1.entry.js +0 -2
- package/www/build/p-6aa213c1.entry.js.map +0 -1
- package/www/build/p-6d955874.entry.js +0 -2
- package/www/build/p-6d955874.entry.js.map +0 -1
- package/www/build/p-6fd79768.entry.js +0 -2
- package/www/build/p-6fd79768.entry.js.map +0 -1
- package/www/build/p-764d2be3.entry.js +0 -2
- package/www/build/p-764d2be3.entry.js.map +0 -1
- package/www/build/p-7caaf11f.entry.js +0 -2
- package/www/build/p-7caaf11f.entry.js.map +0 -1
- package/www/build/p-898ec4a2.css +0 -4
- package/www/build/p-8c7d0c73.entry.js +0 -2
- package/www/build/p-8c7d0c73.entry.js.map +0 -1
- package/www/build/p-9636f669.entry.js +0 -2
- package/www/build/p-9636f669.entry.js.map +0 -1
- package/www/build/p-98021655.entry.js +0 -2
- package/www/build/p-98021655.entry.js.map +0 -1
- package/www/build/p-a3f284bc.entry.js +0 -2
- package/www/build/p-a3f284bc.entry.js.map +0 -1
- package/www/build/p-aefe49c4.entry.js +0 -2
- package/www/build/p-aefe49c4.entry.js.map +0 -1
- package/www/build/p-b48e061c.entry.js +0 -2
- package/www/build/p-b48e061c.entry.js.map +0 -1
- package/www/build/p-ba90f4be.entry.js +0 -2
- package/www/build/p-ba90f4be.entry.js.map +0 -1
- package/www/build/p-bd0d09ff.entry.js +0 -2
- package/www/build/p-bd0d09ff.entry.js.map +0 -1
- package/www/build/p-c766ae47.entry.js +0 -2
- package/www/build/p-c766ae47.entry.js.map +0 -1
- package/www/build/p-d7434fd9.entry.js +0 -2
- package/www/build/p-d7434fd9.entry.js.map +0 -1
- package/www/build/p-d93f2102.entry.js +0 -2
- package/www/build/p-d93f2102.entry.js.map +0 -1
- package/www/build/p-dca57f55.entry.js +0 -2
- package/www/build/p-dca57f55.entry.js.map +0 -1
- package/www/build/p-e1255160.js +0 -2
- package/www/build/p-e1255160.js.map +0 -1
- package/www/build/p-e808d48a.entry.js +0 -2
- package/www/build/p-e808d48a.entry.js.map +0 -1
- package/www/build/p-eb472057.entry.js +0 -2
- package/www/build/p-eb472057.entry.js.map +0 -1
|
@@ -1,24 +1,17 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import pdfIcon from "../../assets/img/icn/
|
|
3
|
-
import pptIcon from "../../assets/img/icn/
|
|
4
|
-
import wordIcon from "../../assets/img/icn/
|
|
5
|
-
import excelIcon from "../../assets/img/icn/
|
|
6
|
-
import imageIcon from "../../assets/img/icn/
|
|
7
|
-
import videoIcon from "../../assets/img/icn/
|
|
8
|
-
import onenoteIcon from "../../assets/img/icn/
|
|
9
|
-
import defaultIcon from "../../assets/img/icn/file_icons/icn-default.svg";
|
|
2
|
+
import pdfIcon from "../../assets/img/icn/icn-PDF.svg";
|
|
3
|
+
import pptIcon from "../../assets/img/icn/icn-PowerPoint.svg";
|
|
4
|
+
import wordIcon from "../../assets/img/icn/icn-Word.svg";
|
|
5
|
+
import excelIcon from "../../assets/img/icn/icn-Excel.svg";
|
|
6
|
+
import imageIcon from "../../assets/img/icn/icn-Image.svg";
|
|
7
|
+
import videoIcon from "../../assets/img/icn/icn-Video.svg";
|
|
8
|
+
import onenoteIcon from "../../assets/img/icn/icn-OneNote.svg";
|
|
10
9
|
export class DdaAttachFile {
|
|
11
10
|
constructor() {
|
|
12
|
-
this.
|
|
11
|
+
this.file = null;
|
|
13
12
|
this.custom_class = '';
|
|
14
13
|
this.aria_label = '';
|
|
15
14
|
this.button_aria_label = '';
|
|
16
|
-
this.disabled = false;
|
|
17
|
-
this.max_file_size = 5; // in MB
|
|
18
|
-
this.file_size_error_message = 'File size should not exceed {max} MB';
|
|
19
|
-
this.file = null;
|
|
20
|
-
this.isFileUploaded = false;
|
|
21
|
-
this.internalErrorMessage = '';
|
|
22
15
|
this.fileIcons = {
|
|
23
16
|
pdf: pdfIcon,
|
|
24
17
|
pptx: pptIcon,
|
|
@@ -32,52 +25,21 @@ export class DdaAttachFile {
|
|
|
32
25
|
one: onenoteIcon,
|
|
33
26
|
};
|
|
34
27
|
}
|
|
35
|
-
async getFile() {
|
|
36
|
-
return this.file;
|
|
37
|
-
}
|
|
38
28
|
handleFileInput(event) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
if (files && files.length > 0) {
|
|
43
|
-
const selectedFile = files[0];
|
|
44
|
-
const fileSizeInMB = selectedFile.size / (1024 * 1024);
|
|
45
|
-
if (this.max_file_size && fileSizeInMB > this.max_file_size) {
|
|
46
|
-
this.file = null;
|
|
47
|
-
this.isFileUploaded = false;
|
|
48
|
-
this.internalErrorMessage = this.file_size_error_message.replace('{max}', this.max_file_size.toString());
|
|
49
|
-
this.validation_type = 'error';
|
|
50
|
-
this.fileChanged.emit(null);
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
this.file = selectedFile;
|
|
54
|
-
this.isFileUploaded = true;
|
|
55
|
-
this.internalErrorMessage = '';
|
|
56
|
-
this.validation_type = 'normal';
|
|
57
|
-
this.fileChanged.emit(this.file);
|
|
29
|
+
const files = event.target.files;
|
|
30
|
+
if (files.length > 0) {
|
|
31
|
+
this.file = files[0];
|
|
58
32
|
}
|
|
59
33
|
else {
|
|
60
34
|
this.file = null;
|
|
61
|
-
this.isFileUploaded = false;
|
|
62
|
-
this.internalErrorMessage = '';
|
|
63
|
-
this.validation_type = 'normal';
|
|
64
|
-
this.fileChanged.emit(null);
|
|
65
35
|
}
|
|
66
36
|
}
|
|
67
37
|
removeFile() {
|
|
68
38
|
this.file = null;
|
|
69
|
-
this.isFileUploaded = false;
|
|
70
|
-
if (this.fileInputRef) {
|
|
71
|
-
this.fileInputRef.value = null;
|
|
72
|
-
}
|
|
73
|
-
this.internalErrorMessage = '';
|
|
74
|
-
this.validation_type = 'normal';
|
|
75
|
-
this.fileChanged.emit(null);
|
|
76
39
|
}
|
|
77
40
|
getFileIcon(fileName) {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
return this.fileIcons[extension] || defaultIcon;
|
|
41
|
+
const extension = fileName.split('.').pop().toLowerCase();
|
|
42
|
+
return this.fileIcons[extension] || 'path/to/default-icon.png';
|
|
81
43
|
}
|
|
82
44
|
render() {
|
|
83
45
|
const inputClass = [
|
|
@@ -88,18 +50,17 @@ export class DdaAttachFile {
|
|
|
88
50
|
this.custom_class,
|
|
89
51
|
this.component_mode,
|
|
90
52
|
].filter(Boolean).join(' ');
|
|
91
|
-
|
|
92
|
-
return (h(Host, { key: '8812bfa5646ae5d21174169a27875982bbe9ba0f' }, h("div", { key: 'b97d929e83b405979b6f4f2a546dc216a85a758c', class: inputClass }, this.label && (h("span", { key: '3b2e1d9567a3edff51e363854eecb5ed2279482f', class: "dda-input-label", id: `${this.input_id}-label` }, this.label)), h("div", { key: '593f8bf572c819b8ead52968cf878a49719fdb84', class: "dda-input-field-group dda-attach-file" }, this.file ? (h("div", { class: "dda-file-details" }, h("div", { class: "dda-items" }, h("img", { src: this.getFileIcon(this.file.name), alt: "File Icon", class: "dda-file-icon" }), h("span", { class: "dda-file-name", title: this.file.name }, this.file.name)), h("button", { type: "button", class: "remove-file", name: this.button_name, id: this.delete_button_id, role: "button", tabIndex: 0, "aria-label": this.button_aria_label || 'Remove file', onClick: () => this.removeFile(), disabled: this.disabled }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")))) : (h("div", { class: "dda-file-input" }, h("span", null, this.place_holder || 'No File Selected'), h("button", { type: "button", class: "dda-file-choose", name: this.button_name, id: this.button_id, tabIndex: 0, "aria-labelledby": `${this.button_id}-label`, onClick: () => { var _a; return (_a = this.fileInputRef) === null || _a === void 0 ? void 0 : _a.click(); }, disabled: this.disabled }, this.upload_button_text || 'Choose File'), h("span", { id: `${this.button_id}-label`, class: "visually-hidden" }, this.upload_button_text || 'Choose File'), h("label", { htmlFor: this.input_id, class: "visually-hidden" }, this.label), h("input", { id: this.input_id, name: this.input_name, type: "file", accept: this.accept, disabled: this.disabled, hidden: true, ref: (el) => (this.fileInputRef = el), onInput: (event) => this.handleFileInput(event) })))), shouldShowError ? (h("span", { class: "dda-error-message", id: this.validation_id, role: "alert", "aria-live": "assertive" }, h("span", { class: "dda-d-flex dda-align-items-start dda-gap-2" }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "info"), h("span", null, this.internalErrorMessage || this.error_message)))) : this.isFileUploaded && this.success_text ? (h("span", { class: "dda-success-text", id: this.validation_id, role: "status", "aria-live": "polite" }, h("span", { class: "dda-d-flex dda-align-items-start dda-gap-2" }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "check"), h("span", null, this.success_text)))) : this.helper_text ? (h("span", { class: "dda-helper-text", id: this.validation_id }, h("span", { class: "dda-d-flex dda-align-items-start dda-gap-2" }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "info"), h("span", null, this.helper_text)))) : null)));
|
|
53
|
+
return (h(Host, { key: 'e99c0412417098f3f3b89616d88fbd21f106b53d' }, h("div", { key: 'a624ffa2a996bab9e65f128b4134d3c3417ed5e6', class: inputClass }, this.label && h("label", { key: 'a49f5cd971e23383c9d860a9fd1bcc4097eade78', htmlFor: this.input_id, class: "dda-input-label" }, this.label), h("div", { key: 'd6ce6e37c515c6d89694934a3b1069d36601a46a', class: "dda-input-field-group dda-attach-file" }, this.file ? (h("div", { class: "dda-file-details" }, h("div", { class: "dda-items" }, h("img", { src: this.getFileIcon(this.file.name), alt: "File Icon", class: "dda-file-icon" }), h("span", { class: "dda-file-name" }, this.file.name)), h("button", { id: this.button_id, name: this.button_name, "aria-label": this.button_aria_label, class: "remove-file", onClick: () => this.removeFile() }, h("i", { class: "material-icons material-symbols-outlined", "aria-hidden": "true" }, "close")))) : (h("div", { class: "dda-file-input" }, h("span", null, "No File Selected"), h("label", { htmlFor: this.input_id, class: "dda-file-choose" }, "Choose File", h("input", { id: this.input_id, name: this.input_name, "aria-label": this.aria_label, type: "file", onInput: (event) => { this.handleFileInput(event); } }))))), this.helper_text && h("span", { key: '7fc5ff99d4c2c6722349ffe5af5f9b83af8ea981', class: "dda-helper-text" }, this.helper_text), this.error_message && h("span", { key: '094db0c139d6332b28ebb35bd4bb3d159b4da320', class: "dda-error-message" }, this.error_message))));
|
|
93
54
|
}
|
|
94
55
|
static get is() { return "dda-attach-file"; }
|
|
95
56
|
static get originalStyleUrls() {
|
|
96
57
|
return {
|
|
97
|
-
"$": ["../../global/input.css"]
|
|
58
|
+
"$": ["../../global/input.css", "../../global/global.css"]
|
|
98
59
|
};
|
|
99
60
|
}
|
|
100
61
|
static get styleUrls() {
|
|
101
62
|
return {
|
|
102
|
-
"$": ["../../global/input.css"]
|
|
63
|
+
"$": ["../../global/input.css", "../../global/global.css"]
|
|
103
64
|
};
|
|
104
65
|
}
|
|
105
66
|
static get properties() {
|
|
@@ -120,46 +81,8 @@ export class DdaAttachFile {
|
|
|
120
81
|
},
|
|
121
82
|
"getter": false,
|
|
122
83
|
"setter": false,
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
},
|
|
126
|
-
"place_holder": {
|
|
127
|
-
"type": "string",
|
|
128
|
-
"mutable": false,
|
|
129
|
-
"complexType": {
|
|
130
|
-
"original": "string",
|
|
131
|
-
"resolved": "string",
|
|
132
|
-
"references": {}
|
|
133
|
-
},
|
|
134
|
-
"required": false,
|
|
135
|
-
"optional": false,
|
|
136
|
-
"docs": {
|
|
137
|
-
"tags": [],
|
|
138
|
-
"text": ""
|
|
139
|
-
},
|
|
140
|
-
"getter": false,
|
|
141
|
-
"setter": false,
|
|
142
|
-
"attribute": "place_holder",
|
|
143
|
-
"reflect": false
|
|
144
|
-
},
|
|
145
|
-
"upload_button_text": {
|
|
146
|
-
"type": "string",
|
|
147
|
-
"mutable": false,
|
|
148
|
-
"complexType": {
|
|
149
|
-
"original": "string",
|
|
150
|
-
"resolved": "string",
|
|
151
|
-
"references": {}
|
|
152
|
-
},
|
|
153
|
-
"required": false,
|
|
154
|
-
"optional": false,
|
|
155
|
-
"docs": {
|
|
156
|
-
"tags": [],
|
|
157
|
-
"text": ""
|
|
158
|
-
},
|
|
159
|
-
"getter": false,
|
|
160
|
-
"setter": false,
|
|
161
|
-
"attribute": "upload_button_text",
|
|
162
|
-
"reflect": false
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"attribute": "label"
|
|
163
86
|
},
|
|
164
87
|
"helper_text": {
|
|
165
88
|
"type": "string",
|
|
@@ -177,27 +100,8 @@ export class DdaAttachFile {
|
|
|
177
100
|
},
|
|
178
101
|
"getter": false,
|
|
179
102
|
"setter": false,
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
},
|
|
183
|
-
"success_text": {
|
|
184
|
-
"type": "string",
|
|
185
|
-
"mutable": false,
|
|
186
|
-
"complexType": {
|
|
187
|
-
"original": "string",
|
|
188
|
-
"resolved": "string",
|
|
189
|
-
"references": {}
|
|
190
|
-
},
|
|
191
|
-
"required": false,
|
|
192
|
-
"optional": false,
|
|
193
|
-
"docs": {
|
|
194
|
-
"tags": [],
|
|
195
|
-
"text": ""
|
|
196
|
-
},
|
|
197
|
-
"getter": false,
|
|
198
|
-
"setter": false,
|
|
199
|
-
"attribute": "success_text",
|
|
200
|
-
"reflect": false
|
|
103
|
+
"reflect": false,
|
|
104
|
+
"attribute": "helper_text"
|
|
201
105
|
},
|
|
202
106
|
"error_message": {
|
|
203
107
|
"type": "string",
|
|
@@ -215,8 +119,8 @@ export class DdaAttachFile {
|
|
|
215
119
|
},
|
|
216
120
|
"getter": false,
|
|
217
121
|
"setter": false,
|
|
218
|
-
"
|
|
219
|
-
"
|
|
122
|
+
"reflect": false,
|
|
123
|
+
"attribute": "error_message"
|
|
220
124
|
},
|
|
221
125
|
"size": {
|
|
222
126
|
"type": "string",
|
|
@@ -234,8 +138,8 @@ export class DdaAttachFile {
|
|
|
234
138
|
},
|
|
235
139
|
"getter": false,
|
|
236
140
|
"setter": false,
|
|
237
|
-
"
|
|
238
|
-
"
|
|
141
|
+
"reflect": false,
|
|
142
|
+
"attribute": "size"
|
|
239
143
|
},
|
|
240
144
|
"validation_type": {
|
|
241
145
|
"type": "string",
|
|
@@ -253,28 +157,8 @@ export class DdaAttachFile {
|
|
|
253
157
|
},
|
|
254
158
|
"getter": false,
|
|
255
159
|
"setter": false,
|
|
256
|
-
"attribute": "validation_type",
|
|
257
|
-
"reflect": false
|
|
258
|
-
},
|
|
259
|
-
"validation_id": {
|
|
260
|
-
"type": "string",
|
|
261
|
-
"mutable": false,
|
|
262
|
-
"complexType": {
|
|
263
|
-
"original": "string",
|
|
264
|
-
"resolved": "string",
|
|
265
|
-
"references": {}
|
|
266
|
-
},
|
|
267
|
-
"required": false,
|
|
268
|
-
"optional": false,
|
|
269
|
-
"docs": {
|
|
270
|
-
"tags": [],
|
|
271
|
-
"text": ""
|
|
272
|
-
},
|
|
273
|
-
"getter": false,
|
|
274
|
-
"setter": false,
|
|
275
|
-
"attribute": "validation_id",
|
|
276
160
|
"reflect": false,
|
|
277
|
-
"
|
|
161
|
+
"attribute": "validation_type"
|
|
278
162
|
},
|
|
279
163
|
"input_type": {
|
|
280
164
|
"type": "string",
|
|
@@ -292,8 +176,8 @@ export class DdaAttachFile {
|
|
|
292
176
|
},
|
|
293
177
|
"getter": false,
|
|
294
178
|
"setter": false,
|
|
295
|
-
"
|
|
296
|
-
"
|
|
179
|
+
"reflect": false,
|
|
180
|
+
"attribute": "input_type"
|
|
297
181
|
},
|
|
298
182
|
"custom_class": {
|
|
299
183
|
"type": "string",
|
|
@@ -311,8 +195,8 @@ export class DdaAttachFile {
|
|
|
311
195
|
},
|
|
312
196
|
"getter": false,
|
|
313
197
|
"setter": false,
|
|
314
|
-
"attribute": "custom_class",
|
|
315
198
|
"reflect": false,
|
|
199
|
+
"attribute": "custom_class",
|
|
316
200
|
"defaultValue": "''"
|
|
317
201
|
},
|
|
318
202
|
"component_mode": {
|
|
@@ -331,8 +215,8 @@ export class DdaAttachFile {
|
|
|
331
215
|
},
|
|
332
216
|
"getter": false,
|
|
333
217
|
"setter": false,
|
|
334
|
-
"
|
|
335
|
-
"
|
|
218
|
+
"reflect": false,
|
|
219
|
+
"attribute": "component_mode"
|
|
336
220
|
},
|
|
337
221
|
"aria_label": {
|
|
338
222
|
"type": "string",
|
|
@@ -350,8 +234,8 @@ export class DdaAttachFile {
|
|
|
350
234
|
},
|
|
351
235
|
"getter": false,
|
|
352
236
|
"setter": false,
|
|
353
|
-
"attribute": "aria_label",
|
|
354
237
|
"reflect": false,
|
|
238
|
+
"attribute": "aria_label",
|
|
355
239
|
"defaultValue": "''"
|
|
356
240
|
},
|
|
357
241
|
"button_aria_label": {
|
|
@@ -370,8 +254,8 @@ export class DdaAttachFile {
|
|
|
370
254
|
},
|
|
371
255
|
"getter": false,
|
|
372
256
|
"setter": false,
|
|
373
|
-
"attribute": "button_aria_label",
|
|
374
257
|
"reflect": false,
|
|
258
|
+
"attribute": "button_aria_label",
|
|
375
259
|
"defaultValue": "''"
|
|
376
260
|
},
|
|
377
261
|
"input_id": {
|
|
@@ -390,27 +274,8 @@ export class DdaAttachFile {
|
|
|
390
274
|
},
|
|
391
275
|
"getter": false,
|
|
392
276
|
"setter": false,
|
|
393
|
-
"
|
|
394
|
-
"
|
|
395
|
-
},
|
|
396
|
-
"input_name": {
|
|
397
|
-
"type": "string",
|
|
398
|
-
"mutable": false,
|
|
399
|
-
"complexType": {
|
|
400
|
-
"original": "string",
|
|
401
|
-
"resolved": "string",
|
|
402
|
-
"references": {}
|
|
403
|
-
},
|
|
404
|
-
"required": false,
|
|
405
|
-
"optional": true,
|
|
406
|
-
"docs": {
|
|
407
|
-
"tags": [],
|
|
408
|
-
"text": ""
|
|
409
|
-
},
|
|
410
|
-
"getter": false,
|
|
411
|
-
"setter": false,
|
|
412
|
-
"attribute": "input_name",
|
|
413
|
-
"reflect": false
|
|
277
|
+
"reflect": false,
|
|
278
|
+
"attribute": "input_id"
|
|
414
279
|
},
|
|
415
280
|
"button_id": {
|
|
416
281
|
"type": "string",
|
|
@@ -428,27 +293,8 @@ export class DdaAttachFile {
|
|
|
428
293
|
},
|
|
429
294
|
"getter": false,
|
|
430
295
|
"setter": false,
|
|
431
|
-
"
|
|
432
|
-
"
|
|
433
|
-
},
|
|
434
|
-
"delete_button_id": {
|
|
435
|
-
"type": "string",
|
|
436
|
-
"mutable": false,
|
|
437
|
-
"complexType": {
|
|
438
|
-
"original": "string",
|
|
439
|
-
"resolved": "string",
|
|
440
|
-
"references": {}
|
|
441
|
-
},
|
|
442
|
-
"required": false,
|
|
443
|
-
"optional": false,
|
|
444
|
-
"docs": {
|
|
445
|
-
"tags": [],
|
|
446
|
-
"text": ""
|
|
447
|
-
},
|
|
448
|
-
"getter": false,
|
|
449
|
-
"setter": false,
|
|
450
|
-
"attribute": "delete_button_id",
|
|
451
|
-
"reflect": false
|
|
296
|
+
"reflect": false,
|
|
297
|
+
"attribute": "button_id"
|
|
452
298
|
},
|
|
453
299
|
"button_name": {
|
|
454
300
|
"type": "string",
|
|
@@ -466,69 +312,10 @@ export class DdaAttachFile {
|
|
|
466
312
|
},
|
|
467
313
|
"getter": false,
|
|
468
314
|
"setter": false,
|
|
469
|
-
"attribute": "button_name",
|
|
470
|
-
"reflect": false
|
|
471
|
-
},
|
|
472
|
-
"accept": {
|
|
473
|
-
"type": "string",
|
|
474
|
-
"mutable": false,
|
|
475
|
-
"complexType": {
|
|
476
|
-
"original": "string",
|
|
477
|
-
"resolved": "string",
|
|
478
|
-
"references": {}
|
|
479
|
-
},
|
|
480
|
-
"required": false,
|
|
481
|
-
"optional": true,
|
|
482
|
-
"docs": {
|
|
483
|
-
"tags": [],
|
|
484
|
-
"text": ""
|
|
485
|
-
},
|
|
486
|
-
"getter": false,
|
|
487
|
-
"setter": false,
|
|
488
|
-
"attribute": "accept",
|
|
489
|
-
"reflect": false
|
|
490
|
-
},
|
|
491
|
-
"disabled": {
|
|
492
|
-
"type": "boolean",
|
|
493
|
-
"mutable": false,
|
|
494
|
-
"complexType": {
|
|
495
|
-
"original": "boolean",
|
|
496
|
-
"resolved": "boolean",
|
|
497
|
-
"references": {}
|
|
498
|
-
},
|
|
499
|
-
"required": false,
|
|
500
|
-
"optional": false,
|
|
501
|
-
"docs": {
|
|
502
|
-
"tags": [],
|
|
503
|
-
"text": ""
|
|
504
|
-
},
|
|
505
|
-
"getter": false,
|
|
506
|
-
"setter": false,
|
|
507
|
-
"attribute": "disabled",
|
|
508
315
|
"reflect": false,
|
|
509
|
-
"
|
|
316
|
+
"attribute": "button_name"
|
|
510
317
|
},
|
|
511
|
-
"
|
|
512
|
-
"type": "number",
|
|
513
|
-
"mutable": false,
|
|
514
|
-
"complexType": {
|
|
515
|
-
"original": "number",
|
|
516
|
-
"resolved": "number",
|
|
517
|
-
"references": {}
|
|
518
|
-
},
|
|
519
|
-
"required": false,
|
|
520
|
-
"optional": false,
|
|
521
|
-
"docs": {
|
|
522
|
-
"tags": [],
|
|
523
|
-
"text": ""
|
|
524
|
-
},
|
|
525
|
-
"getter": false,
|
|
526
|
-
"setter": false,
|
|
527
|
-
"attribute": "max_file_size",
|
|
528
|
-
"reflect": false,
|
|
529
|
-
"defaultValue": "5"
|
|
530
|
-
},
|
|
531
|
-
"file_size_error_message": {
|
|
318
|
+
"input_name": {
|
|
532
319
|
"type": "string",
|
|
533
320
|
"mutable": false,
|
|
534
321
|
"complexType": {
|
|
@@ -537,73 +324,21 @@ export class DdaAttachFile {
|
|
|
537
324
|
"references": {}
|
|
538
325
|
},
|
|
539
326
|
"required": false,
|
|
540
|
-
"optional":
|
|
327
|
+
"optional": true,
|
|
541
328
|
"docs": {
|
|
542
329
|
"tags": [],
|
|
543
330
|
"text": ""
|
|
544
331
|
},
|
|
545
332
|
"getter": false,
|
|
546
333
|
"setter": false,
|
|
547
|
-
"attribute": "file_size_error_message",
|
|
548
334
|
"reflect": false,
|
|
549
|
-
"
|
|
335
|
+
"attribute": "input_name"
|
|
550
336
|
}
|
|
551
337
|
};
|
|
552
338
|
}
|
|
553
339
|
static get states() {
|
|
554
340
|
return {
|
|
555
|
-
"file": {}
|
|
556
|
-
"isFileUploaded": {},
|
|
557
|
-
"internalErrorMessage": {}
|
|
558
|
-
};
|
|
559
|
-
}
|
|
560
|
-
static get events() {
|
|
561
|
-
return [{
|
|
562
|
-
"method": "fileChanged",
|
|
563
|
-
"name": "fileChanged",
|
|
564
|
-
"bubbles": true,
|
|
565
|
-
"cancelable": true,
|
|
566
|
-
"composed": true,
|
|
567
|
-
"docs": {
|
|
568
|
-
"tags": [],
|
|
569
|
-
"text": ""
|
|
570
|
-
},
|
|
571
|
-
"complexType": {
|
|
572
|
-
"original": "File | null",
|
|
573
|
-
"resolved": "File",
|
|
574
|
-
"references": {
|
|
575
|
-
"File": {
|
|
576
|
-
"location": "global",
|
|
577
|
-
"id": "global::File"
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
}];
|
|
582
|
-
}
|
|
583
|
-
static get methods() {
|
|
584
|
-
return {
|
|
585
|
-
"getFile": {
|
|
586
|
-
"complexType": {
|
|
587
|
-
"signature": "() => Promise<File | null>",
|
|
588
|
-
"parameters": [],
|
|
589
|
-
"references": {
|
|
590
|
-
"Promise": {
|
|
591
|
-
"location": "global",
|
|
592
|
-
"id": "global::Promise"
|
|
593
|
-
},
|
|
594
|
-
"File": {
|
|
595
|
-
"location": "global",
|
|
596
|
-
"id": "global::File"
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
"return": "Promise<File>"
|
|
600
|
-
},
|
|
601
|
-
"docs": {
|
|
602
|
-
"text": "",
|
|
603
|
-
"tags": []
|
|
604
|
-
}
|
|
605
|
-
}
|
|
341
|
+
"file": {}
|
|
606
342
|
};
|
|
607
343
|
}
|
|
608
344
|
}
|
|
609
|
-
//# sourceMappingURL=dda-attach-file.js.map
|