@quartzds/core 1.0.0-beta.13 → 1.0.0-beta.130
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 +2145 -0
- package/README.md +23 -23
- package/components/index.d.ts +52 -0
- package/components/index.js +63 -28
- package/components/index.js.map +1 -1
- package/components/p-B9xuNEzc.js +438 -0
- package/components/p-B9xuNEzc.js.map +1 -0
- package/components/p-BHBodFuD.js +200 -0
- package/components/p-BHBodFuD.js.map +1 -0
- package/components/p-BLA62eFO.js +513 -0
- package/components/p-BLA62eFO.js.map +1 -0
- package/components/p-Bn9o5Um2.js +91 -0
- package/components/p-Bn9o5Um2.js.map +1 -0
- package/components/{floating-ui.dom.esm.js → p-Bv2vPjgL.js} +557 -345
- package/components/p-Bv2vPjgL.js.map +1 -0
- package/components/p-C-pZcrGt.js +357 -0
- package/components/p-C-pZcrGt.js.map +1 -0
- package/components/p-CZRW1LV_.js +28 -0
- package/components/p-CZRW1LV_.js.map +1 -0
- package/components/p-Cb4tcewD.js +281 -0
- package/components/p-Cb4tcewD.js.map +1 -0
- package/components/p-Cb5Tgh-o.js +102 -0
- package/components/p-Cb5Tgh-o.js.map +1 -0
- package/components/p-D2489VzR.js +2133 -0
- package/components/p-D2489VzR.js.map +1 -0
- package/components/p-D2BuSQre.js +160 -0
- package/components/p-D2BuSQre.js.map +1 -0
- package/components/p-DL21f4D7.js +149 -0
- package/components/p-DL21f4D7.js.map +1 -0
- package/components/p-DOqfdgQA.js +124 -0
- package/components/p-DOqfdgQA.js.map +1 -0
- package/components/p-Do46q_Gd.js +135 -0
- package/components/p-Do46q_Gd.js.map +1 -0
- package/components/p-XP2CY_fo.js +105 -0
- package/components/p-XP2CY_fo.js.map +1 -0
- package/components/p-eUDNu0SE.js +3561 -0
- package/components/p-eUDNu0SE.js.map +1 -0
- package/components/p-fKK7EmM2.js +256 -0
- package/components/p-fKK7EmM2.js.map +1 -0
- package/components/qds-action-item.d.ts +11 -0
- package/components/qds-action-item.js +204 -0
- package/components/qds-action-item.js.map +1 -0
- package/components/qds-avatar-media.d.ts +11 -0
- package/components/qds-avatar-media.js +14 -0
- package/components/qds-avatar-media.js.map +1 -0
- package/components/qds-avatar.d.ts +11 -0
- package/components/qds-avatar.js +120 -0
- package/components/qds-avatar.js.map +1 -0
- package/components/qds-badge-counter.d.ts +11 -0
- package/components/qds-badge-counter.js +14 -0
- package/components/qds-badge-counter.js.map +1 -0
- package/components/qds-badge-indicator.d.ts +11 -0
- package/components/qds-badge-indicator.js +14 -0
- package/components/qds-badge-indicator.js.map +1 -0
- package/components/qds-breadcrumb-item.d.ts +11 -0
- package/components/qds-breadcrumb-item.js +174 -0
- package/components/qds-breadcrumb-item.js.map +1 -0
- package/components/qds-button.d.ts +2 -2
- package/components/qds-button.js +475 -129
- package/components/qds-button.js.map +1 -1
- package/components/qds-checkbox.d.ts +2 -2
- package/components/qds-checkbox.js +4 -146
- package/components/qds-checkbox.js.map +1 -1
- package/components/qds-chip.d.ts +11 -0
- package/components/qds-chip.js +337 -0
- package/components/qds-chip.js.map +1 -0
- package/components/qds-dialog.d.ts +2 -2
- package/components/qds-dialog.js +179 -93
- package/components/qds-dialog.js.map +1 -1
- package/components/qds-divider.d.ts +2 -2
- package/components/qds-divider.js +4 -39
- package/components/qds-divider.js.map +1 -1
- package/components/qds-dropdown.d.ts +2 -2
- package/components/qds-dropdown.js +4 -249
- package/components/qds-dropdown.js.map +1 -1
- package/components/qds-form-message.d.ts +2 -2
- package/components/qds-form-message.js +106 -50
- package/components/qds-form-message.js.map +1 -1
- package/components/qds-icon-button.d.ts +11 -0
- package/components/qds-icon-button.js +14 -0
- package/components/qds-icon-button.js.map +1 -0
- package/components/qds-icon-tab.d.ts +11 -0
- package/components/qds-icon-tab.js +312 -0
- package/components/qds-icon-tab.js.map +1 -0
- package/components/qds-icon.d.ts +2 -2
- package/components/qds-icon.js +4 -3
- package/components/qds-inline-link.d.ts +2 -2
- package/components/qds-inline-link.js +173 -74
- package/components/qds-inline-link.js.map +1 -1
- package/components/qds-input.d.ts +2 -2
- package/components/qds-input.js +579 -230
- package/components/qds-input.js.map +1 -1
- package/components/qds-label.d.ts +2 -2
- package/components/qds-label.js +156 -3
- package/components/qds-label.js.map +1 -1
- package/components/qds-list-item.d.ts +11 -0
- package/components/qds-list-item.js +430 -0
- package/components/qds-list-item.js.map +1 -0
- package/components/qds-loader.d.ts +11 -0
- package/components/qds-loader.js +152 -0
- package/components/qds-loader.js.map +1 -0
- package/components/qds-menu-item.d.ts +11 -0
- package/components/qds-menu-item.js +263 -0
- package/components/qds-menu-item.js.map +1 -0
- package/components/qds-mini-button.d.ts +11 -0
- package/components/qds-mini-button.js +14 -0
- package/components/qds-mini-button.js.map +1 -0
- package/components/qds-progress-bar.d.ts +11 -0
- package/components/qds-progress-bar.js +155 -0
- package/components/qds-progress-bar.js.map +1 -0
- package/components/qds-radio.d.ts +2 -2
- package/components/qds-radio.js +4 -99
- package/components/qds-radio.js.map +1 -1
- package/components/qds-select.d.ts +11 -0
- package/components/qds-select.js +377 -0
- package/components/qds-select.js.map +1 -0
- package/components/qds-standalone-link.d.ts +11 -0
- package/components/qds-standalone-link.js +210 -0
- package/components/qds-standalone-link.js.map +1 -0
- package/components/qds-switch.d.ts +2 -2
- package/components/qds-switch.js +257 -105
- package/components/qds-switch.js.map +1 -1
- package/components/qds-tab.d.ts +11 -0
- package/components/qds-tab.js +354 -0
- package/components/qds-tab.js.map +1 -0
- package/components/qds-tabbar.d.ts +11 -0
- package/components/qds-tabbar.js +599 -0
- package/components/qds-tabbar.js.map +1 -0
- package/components/qds-table-cell.d.ts +11 -0
- package/components/qds-table-cell.js +109 -0
- package/components/qds-table-cell.js.map +1 -0
- package/components/qds-table-head-cell.d.ts +11 -0
- package/components/qds-table-head-cell.js +115 -0
- package/components/qds-table-head-cell.js.map +1 -0
- package/components/qds-table-row.d.ts +11 -0
- package/components/qds-table-row.js +48 -0
- package/components/qds-table-row.js.map +1 -0
- package/components/qds-table.d.ts +11 -0
- package/components/qds-table.js +48 -0
- package/components/qds-table.js.map +1 -0
- package/components/qds-tag.d.ts +11 -0
- package/components/qds-tag.js +14 -0
- package/components/qds-tag.js.map +1 -0
- package/components/qds-textarea.d.ts +2 -2
- package/components/qds-textarea.js +352 -193
- package/components/qds-textarea.js.map +1 -1
- package/components/qds-title.d.ts +2 -2
- package/components/qds-title.js +4 -84
- package/components/qds-title.js.map +1 -1
- package/components/qds-tooltip.d.ts +2 -2
- package/components/qds-tooltip.js +4 -315
- package/components/qds-tooltip.js.map +1 -1
- package/dist/cjs/app-globals-CLoao1by.js +13 -0
- package/dist/cjs/app-globals-CLoao1by.js.map +1 -0
- package/dist/cjs/controls-DKGeNyr5.js +32 -0
- package/dist/cjs/controls-DKGeNyr5.js.map +1 -0
- package/dist/cjs/{floating-ui.dom.esm-7f1cac3e.js → floating-ui.dom-Bvzubd50.js} +557 -345
- package/dist/cjs/floating-ui.dom-Bvzubd50.js.map +1 -0
- package/dist/cjs/helpers-D6srVOLt.js +3584 -0
- package/dist/cjs/helpers-D6srVOLt.js.map +1 -0
- package/dist/cjs/index-DIY7gpXM.js +2376 -0
- package/dist/cjs/index-DIY7gpXM.js.map +1 -0
- package/dist/cjs/index.cjs.js +40 -31
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/library-CeKRI2f2.js +142 -0
- package/dist/cjs/library-CeKRI2f2.js.map +1 -0
- package/dist/cjs/loader.cjs.js +9 -10
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/qds-action-item.cjs.entry.js +165 -0
- package/dist/cjs/qds-action-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-avatar-media.cjs.entry.js +105 -0
- package/dist/cjs/qds-avatar-media.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-avatar.cjs.entry.js +70 -0
- package/dist/cjs/qds-avatar.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-badge-counter.qds-badge-indicator.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-badge-counter_2.cjs.entry.js +168 -0
- package/dist/cjs/qds-breadcrumb-item.cjs.entry.js +134 -0
- package/dist/cjs/qds-breadcrumb-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-button.cjs.entry.js +402 -93
- package/dist/cjs/qds-button.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-checkbox.qds-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-checkbox_2.cjs.entry.js +456 -0
- package/dist/cjs/qds-chip.cjs.entry.js +285 -0
- package/dist/cjs/qds-chip.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-dialog.cjs.entry.js +124 -77
- package/dist/cjs/qds-dialog.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-divider.qds-icon-button.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-divider_2.cjs.entry.js +291 -0
- package/dist/cjs/qds-dropdown.cjs.entry.js +461 -213
- package/dist/cjs/qds-dropdown.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-form-message.cjs.entry.js +80 -27
- package/dist/cjs/qds-form-message.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-icon-tab.cjs.entry.js +244 -0
- package/dist/cjs/qds-icon-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-icon.cjs.entry.js +92 -93
- package/dist/cjs/qds-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-inline-link.cjs.entry.js +139 -49
- package/dist/cjs/qds-inline-link.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-input.cjs.entry.js +503 -188
- package/dist/cjs/qds-input.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-label.cjs.entry.js +118 -27
- package/dist/cjs/qds-label.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-list-item.cjs.entry.js +328 -0
- package/dist/cjs/qds-list-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-loader.cjs.entry.js +126 -0
- package/dist/cjs/qds-loader.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-menu-item.cjs.entry.js +214 -0
- package/dist/cjs/qds-menu-item.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-mini-button.cjs.entry.js +130 -0
- package/dist/cjs/qds-mini-button.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-progress-bar.cjs.entry.js +131 -0
- package/dist/cjs/qds-progress-bar.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-select.cjs.entry.js +331 -0
- package/dist/cjs/qds-select.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-standalone-link.cjs.entry.js +171 -0
- package/dist/cjs/qds-standalone-link.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-switch.cjs.entry.js +221 -67
- package/dist/cjs/qds-switch.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-tab.cjs.entry.js +280 -0
- package/dist/cjs/qds-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-tabbar.cjs.entry.js +528 -0
- package/dist/cjs/qds-tabbar.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table-cell.cjs.entry.js +88 -0
- package/dist/cjs/qds-table-cell.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table-head-cell.cjs.entry.js +92 -0
- package/dist/cjs/qds-table-head-cell.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table-row.cjs.entry.js +34 -0
- package/dist/cjs/qds-table-row.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-table.cjs.entry.js +34 -0
- package/dist/cjs/qds-table.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-tag.cjs.entry.js +110 -0
- package/dist/cjs/qds-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-textarea.cjs.entry.js +303 -156
- package/dist/cjs/qds-textarea.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-title.cjs.entry.js +61 -52
- package/dist/cjs/qds-title.entry.cjs.js.map +1 -0
- package/dist/cjs/qds-tooltip.cjs.entry.js +380 -264
- package/dist/cjs/qds-tooltip.entry.cjs.js.map +1 -0
- package/dist/cjs/qds.cjs.js +18 -17
- package/dist/cjs/qds.cjs.js.map +1 -1
- package/dist/custom-elements.json +13254 -2143
- package/dist/docs.d.ts +344 -240
- package/dist/docs.json +13958 -3308
- package/dist/esm/app-globals-WylVyaRG.js +11 -0
- package/dist/esm/app-globals-WylVyaRG.js.map +1 -0
- package/dist/esm/controls-CZRW1LV_.js +28 -0
- package/dist/esm/controls-CZRW1LV_.js.map +1 -0
- package/dist/esm/{floating-ui.dom.esm-c2f3e549.js → floating-ui.dom-Bv2vPjgL.js} +557 -345
- package/dist/esm/floating-ui.dom-Bv2vPjgL.js.map +1 -0
- package/dist/esm/helpers-BIo9VDPx.js +3561 -0
- package/dist/esm/helpers-BIo9VDPx.js.map +1 -0
- package/dist/esm/index-Hg1Liloy.js +2364 -0
- package/dist/esm/index-Hg1Liloy.js.map +1 -0
- package/dist/esm/index.js +40 -30
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/library-CBfntPWH.js +138 -0
- package/dist/esm/library-CBfntPWH.js.map +1 -0
- package/dist/esm/loader.js +10 -9
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/qds-action-item.entry.js +163 -0
- package/dist/esm/qds-action-item.entry.js.map +1 -0
- package/dist/esm/qds-avatar-media.entry.js +103 -0
- package/dist/esm/qds-avatar-media.entry.js.map +1 -0
- package/dist/esm/qds-avatar.entry.js +68 -0
- package/dist/esm/qds-avatar.entry.js.map +1 -0
- package/dist/esm/qds-badge-counter.qds-badge-indicator.entry.js.map +1 -0
- package/dist/esm/qds-badge-counter_2.entry.js +165 -0
- package/dist/esm/qds-breadcrumb-item.entry.js +132 -0
- package/dist/esm/qds-breadcrumb-item.entry.js.map +1 -0
- package/dist/esm/qds-button.entry.js +402 -91
- package/dist/esm/qds-button.entry.js.map +1 -1
- package/dist/esm/qds-checkbox.qds-radio.entry.js.map +1 -0
- package/dist/esm/qds-checkbox_2.entry.js +453 -0
- package/dist/esm/qds-chip.entry.js +283 -0
- package/dist/esm/qds-chip.entry.js.map +1 -0
- package/dist/esm/qds-dialog.entry.js +124 -75
- package/dist/esm/qds-dialog.entry.js.map +1 -1
- package/dist/esm/qds-divider.qds-icon-button.entry.js.map +1 -0
- package/dist/esm/qds-divider_2.entry.js +288 -0
- package/dist/esm/qds-dropdown.entry.js +461 -211
- package/dist/esm/qds-dropdown.entry.js.map +1 -1
- package/dist/esm/qds-form-message.entry.js +80 -25
- package/dist/esm/qds-form-message.entry.js.map +1 -1
- package/dist/esm/qds-icon-tab.entry.js +242 -0
- package/dist/esm/qds-icon-tab.entry.js.map +1 -0
- package/dist/esm/qds-icon.entry.js +92 -91
- package/dist/esm/qds-icon.entry.js.map +1 -1
- package/dist/esm/qds-inline-link.entry.js +139 -47
- package/dist/esm/qds-inline-link.entry.js.map +1 -1
- package/dist/esm/qds-input.entry.js +503 -186
- package/dist/esm/qds-input.entry.js.map +1 -1
- package/dist/esm/qds-label.entry.js +118 -25
- package/dist/esm/qds-label.entry.js.map +1 -1
- package/dist/esm/qds-list-item.entry.js +326 -0
- package/dist/esm/qds-list-item.entry.js.map +1 -0
- package/dist/esm/qds-loader.entry.js +124 -0
- package/dist/esm/qds-loader.entry.js.map +1 -0
- package/dist/esm/qds-menu-item.entry.js +212 -0
- package/dist/esm/qds-menu-item.entry.js.map +1 -0
- package/dist/esm/qds-mini-button.entry.js +128 -0
- package/dist/esm/qds-mini-button.entry.js.map +1 -0
- package/dist/esm/qds-progress-bar.entry.js +129 -0
- package/dist/esm/qds-progress-bar.entry.js.map +1 -0
- package/dist/esm/qds-select.entry.js +329 -0
- package/dist/esm/qds-select.entry.js.map +1 -0
- package/dist/esm/qds-standalone-link.entry.js +169 -0
- package/dist/esm/qds-standalone-link.entry.js.map +1 -0
- package/dist/esm/qds-switch.entry.js +221 -65
- package/dist/esm/qds-switch.entry.js.map +1 -1
- package/dist/esm/qds-tab.entry.js +278 -0
- package/dist/esm/qds-tab.entry.js.map +1 -0
- package/dist/esm/qds-tabbar.entry.js +526 -0
- package/dist/esm/qds-tabbar.entry.js.map +1 -0
- package/dist/esm/qds-table-cell.entry.js +86 -0
- package/dist/esm/qds-table-cell.entry.js.map +1 -0
- package/dist/esm/qds-table-head-cell.entry.js +90 -0
- package/dist/esm/qds-table-head-cell.entry.js.map +1 -0
- package/dist/esm/qds-table-row.entry.js +32 -0
- package/dist/esm/qds-table-row.entry.js.map +1 -0
- package/dist/esm/qds-table.entry.js +32 -0
- package/dist/esm/qds-table.entry.js.map +1 -0
- package/dist/esm/qds-tag.entry.js +108 -0
- package/dist/esm/qds-tag.entry.js.map +1 -0
- package/dist/esm/qds-textarea.entry.js +303 -154
- package/dist/esm/qds-textarea.entry.js.map +1 -1
- package/dist/esm/qds-title.entry.js +61 -50
- package/dist/esm/qds-title.entry.js.map +1 -1
- package/dist/esm/qds-tooltip.entry.js +380 -262
- package/dist/esm/qds-tooltip.entry.js.map +1 -1
- package/dist/esm/qds.js +18 -16
- package/dist/esm/qds.js.map +1 -1
- package/dist/types/components/action-item/action-item.d.ts +70 -0
- package/dist/types/components/avatar/avatar.d.ts +61 -0
- package/dist/types/components/avatar-media/avatar-media.d.ts +47 -0
- package/dist/types/components/badge-counter/badge-counter.d.ts +40 -0
- package/dist/types/components/badge-indicator/badge-indicator.d.ts +36 -0
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +178 -0
- package/dist/types/components/button/button.d.ts +283 -198
- package/dist/types/components/checkbox/checkbox.d.ts +142 -124
- package/dist/types/components/chip/chip.d.ts +111 -0
- package/dist/types/components/controls.d.ts +4 -1
- package/dist/types/components/dialog/dialog.d.ts +32 -41
- package/dist/types/components/divider/divider.d.ts +14 -9
- package/dist/types/components/dropdown/dropdown.d.ts +117 -125
- package/dist/types/components/form-message/form-message.d.ts +35 -25
- package/dist/types/components/icon/icon.d.ts +23 -24
- package/dist/types/components/icon/library.d.ts +3 -3
- package/dist/types/components/icon/request.d.ts +5 -9
- package/dist/types/components/icon-button/icon-button.d.ts +122 -0
- package/dist/types/components/icon-tab/icon-tab.d.ts +112 -0
- package/dist/types/components/inline-link/inline-link.d.ts +209 -191
- package/dist/types/components/input/input.d.ts +441 -368
- package/dist/types/components/label/label.d.ts +37 -24
- package/dist/types/components/list-item/list-item.d.ts +122 -0
- package/dist/types/components/loader/loader.d.ts +32 -0
- package/dist/types/components/menu-item/menu-item.d.ts +75 -0
- package/dist/types/components/mini-button/mini-button.d.ts +82 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +60 -0
- package/dist/types/components/radio/radio.d.ts +94 -95
- package/dist/types/components/select/select.d.ts +209 -0
- package/dist/types/components/shared.d.ts +6 -0
- package/dist/types/components/standalone-link/standalone-link.d.ts +234 -0
- package/dist/types/components/switch/switch.d.ts +122 -107
- package/dist/types/components/tab/tab.d.ts +157 -0
- package/dist/types/components/tabbar/tabbar.d.ts +91 -0
- package/dist/types/components/table/table.d.ts +14 -0
- package/dist/types/components/table-cell/table-cell.d.ts +39 -0
- package/dist/types/components/table-head-cell/table-head-cell.d.ts +56 -0
- package/dist/types/components/table-row/table-row.d.ts +14 -0
- package/dist/types/components/tag/tag.d.ts +55 -0
- package/dist/types/components/textarea/textarea.d.ts +295 -300
- package/dist/types/components/title/title.d.ts +39 -32
- package/dist/types/components/tooltip/tooltip.d.ts +111 -136
- package/dist/types/components.d.ts +4590 -929
- package/dist/types/helpers.d.ts +46 -19
- package/dist/types/index.d.ts +2 -1
- package/dist/types/interface-overrides.d.ts +215 -0
- package/dist/types/qds-test.d.ts +22 -11
- package/dist/types/stencil-public-runtime.d.ts +109 -17
- package/dist/types/utils.d.ts +11 -4
- package/dist/vscode.html-custom-data.json +2543 -426
- package/hydrate/index.d.ts +73 -18
- package/hydrate/index.js +32000 -9062
- package/hydrate/index.mjs +33081 -0
- package/hydrate/package.json +7 -1
- package/loader/cdn.js +3 -4
- package/loader/index.cjs.js +3 -4
- package/loader/index.d.ts +4 -1
- package/loader/index.es2017.js +3 -4
- package/loader/index.js +3 -4
- package/package.json +23 -180
- package/styles/core.css +156 -38
- package/components/floating-ui.dom.esm.js.map +0 -1
- package/components/helpers.js +0 -175
- package/components/helpers.js.map +0 -1
- package/components/icon.js +0 -185
- package/components/icon.js.map +0 -1
- package/components/label.js +0 -55
- package/components/label.js.map +0 -1
- package/dist/cjs/floating-ui.dom.esm-7f1cac3e.js.map +0 -1
- package/dist/cjs/helpers-452256e8.js +0 -185
- package/dist/cjs/helpers-452256e8.js.map +0 -1
- package/dist/cjs/index-d181f952.js +0 -2039
- package/dist/cjs/index-d181f952.js.map +0 -1
- package/dist/cjs/library-ad8d9466.js +0 -72
- package/dist/cjs/library-ad8d9466.js.map +0 -1
- package/dist/cjs/qds-button.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-checkbox.cjs.entry.js +0 -116
- package/dist/cjs/qds-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-dialog.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-divider.cjs.entry.js +0 -33
- package/dist/cjs/qds-divider.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-form-message.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-inline-link.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-input.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-label.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-radio.cjs.entry.js +0 -74
- package/dist/cjs/qds-radio.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-textarea.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-title.cjs.entry.js.map +0 -1
- package/dist/cjs/qds-tooltip.cjs.entry.js.map +0 -1
- package/dist/esm/floating-ui.dom.esm-c2f3e549.js.map +0 -1
- package/dist/esm/helpers-76b84f45.js +0 -175
- package/dist/esm/helpers-76b84f45.js.map +0 -1
- package/dist/esm/index-d7183092.js +0 -2009
- package/dist/esm/index-d7183092.js.map +0 -1
- package/dist/esm/library-f36d7d09.js +0 -68
- package/dist/esm/library-f36d7d09.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/qds-checkbox.entry.js +0 -112
- package/dist/esm/qds-checkbox.entry.js.map +0 -1
- package/dist/esm/qds-divider.entry.js +0 -29
- package/dist/esm/qds-divider.entry.js.map +0 -1
- package/dist/esm/qds-radio.entry.js +0 -70
- package/dist/esm/qds-radio.entry.js.map +0 -1
- package/dist/types/components/create-story.d.ts +0 -5
- package/loader/package.json +0 -11
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SPDX-FileCopyrightText: © 2026 Schneider Electric
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './p-D2489VzR.js';
|
|
7
|
+
import { a as invariant, V as VERTICAL_MOVE_KEYS, H as HORIZONTAL_MOVE_KEYS, q as resolvePanelElement, s as componentOnReady } from './p-eUDNu0SE.js';
|
|
8
|
+
import { d as defineCustomElement$7 } from './p-XP2CY_fo.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './p-DOqfdgQA.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './p-Bn9o5Um2.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-fKK7EmM2.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-Cb4tcewD.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-B9xuNEzc.js';
|
|
14
|
+
|
|
15
|
+
const tabbarCss = ":host([hidden]){display:none!important}:host{display:block}.qds-tabbar,.qds-tabs,.qds-vertical,.qds-vertical-divider{display:flex}.qds-tabbar,.qds-vertical-divider{width:inherit}.qds-arrow-start{transform:scaleX(var(--qds-direction-factor,1)) rotate(180deg)}.qds-align-center{align-content:center}.qds-hidden{display:none}.qds-centered{justify-content:center}.qds-tabs{flex:1;margin-block:0;overflow:auto;padding-inline-start:0;scroll-behavior:smooth;scrollbar-width:none}.qds-vertical{flex-direction:column}.qds-vertical-divider{flex-direction:row}[data-size=small]{gap:var(--qds-control-small-gap-siblings-related)}[data-size=standard]{gap:var(--qds-control-standard-gap-siblings-related)}[data-layer=main][data-level=root] .qds-tabs,[data-size=large]{gap:var(--qds-control-large-gap-siblings-related)}[data-layer=main][data-level=section] .qds-tabs{gap:var(--qds-control-standard-gap-siblings-related)}[data-layer=main][data-level=subsection] .qds-tabs{gap:var(--qds-control-small-gap-siblings-related)}[data-layer=popup][data-level=root] .qds-tabs{gap:var(--qds-control-standard-gap-siblings-related)}[data-layer=popup][data-level=section] .qds-tabs{gap:var(--qds-control-small-gap-siblings-related)}:is([data-layer=panel],[data-layer=accessory])[data-level=root] .qds-tabs{gap:var(--qds-control-small-gap-siblings-related)}.qds-sr-only{clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}";
|
|
16
|
+
|
|
17
|
+
// SPDX-FileCopyrightText: © 2024 Schneider Electric
|
|
18
|
+
//
|
|
19
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
20
|
+
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
21
|
+
if (kind === "a" && !f)
|
|
22
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
23
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
24
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
25
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
26
|
+
};
|
|
27
|
+
var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
28
|
+
if (kind === "m")
|
|
29
|
+
throw new TypeError("Private method is not writable");
|
|
30
|
+
if (kind === "a" && !f)
|
|
31
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
32
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
33
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
34
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
35
|
+
};
|
|
36
|
+
var _Tabbar_instances, _Tabbar_tabs, _Tabbar_ro, _Tabbar_mutationObserver, _Tabbar_tabbar, _Tabbar_toggleAnnouncement, _Tabbar_scrollStartButton, _Tabbar_scrollEndButton, _Tabbar_pendingArrowFocus, _Tabbar_isInternallySettingActive, _Tabbar_computedImportance_get, _Tabbar_computedSize_get, _Tabbar_computedPlacement_get, _Tabbar_computeDividerVisible_get, _Tabbar_computedAriaOrientation_get, _Tabbar_getTabItems, _Tabbar_announceScroll, _Tabbar_scrollToStart, _Tabbar_scrollToEnd, _Tabbar_setActiveTab, _Tabbar_handleTabMutation, _Tabbar_activateTab, _Tabbar_switchTabPanel, _Tabbar_getCurrentTab, _Tabbar_setCurrentTab, _Tabbar_isVerticalPlacement, _Tabbar_isHorizontalPlacement, _Tabbar_isEndOrBottomPlacement, _Tabbar_onClick, _Tabbar_onKeyDown, _Tabbar_onMouseDown, _Tabbar_onScroll, _Tabbar_onViewportCrop, _Tabbar_syncInternalsAccessibility, _Tabbar_updateTabsCache, _Tabbar_setTabSettings, _Tabbar_onSlotchange, _Tabbar_scrollEndButtonRef, _Tabbar_scrollStartButtonRef;
|
|
37
|
+
const TAB_ITEM_SELECTOR = 'qds-icon-tab, qds-tab';
|
|
38
|
+
const TAB_SETTINGS = {
|
|
39
|
+
'main-root': {
|
|
40
|
+
importance: 'standard',
|
|
41
|
+
size: 'large',
|
|
42
|
+
indicatorPosition: 'block-end',
|
|
43
|
+
},
|
|
44
|
+
'main-section': {
|
|
45
|
+
importance: 'standard',
|
|
46
|
+
size: 'standard',
|
|
47
|
+
indicatorPosition: 'block-end',
|
|
48
|
+
},
|
|
49
|
+
'popup-root': {
|
|
50
|
+
importance: 'standard',
|
|
51
|
+
size: 'standard',
|
|
52
|
+
indicatorPosition: 'block-end',
|
|
53
|
+
},
|
|
54
|
+
'main-subsection': {
|
|
55
|
+
importance: 'subdued',
|
|
56
|
+
size: 'small',
|
|
57
|
+
indicatorPosition: 'block-start',
|
|
58
|
+
},
|
|
59
|
+
'popup-section': {
|
|
60
|
+
importance: 'subdued',
|
|
61
|
+
size: 'small',
|
|
62
|
+
indicatorPosition: 'inline-start',
|
|
63
|
+
},
|
|
64
|
+
'panel-root': {
|
|
65
|
+
importance: 'standard',
|
|
66
|
+
size: 'small',
|
|
67
|
+
indicatorPosition: 'block-start',
|
|
68
|
+
},
|
|
69
|
+
'accessory-root': {
|
|
70
|
+
importance: 'subdued',
|
|
71
|
+
size: 'small',
|
|
72
|
+
indicatorPosition: 'block-end',
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
const isTabItem = (item) => {
|
|
76
|
+
if (!(item instanceof H))
|
|
77
|
+
return false;
|
|
78
|
+
const tagName = item.tagName.toLowerCase();
|
|
79
|
+
return tagName === 'qds-tab' || tagName === 'qds-icon-tab';
|
|
80
|
+
};
|
|
81
|
+
const isEnabledTabItem = (item) => isTabItem(item) && !item.inert && item.disabled !== true;
|
|
82
|
+
const isTabActive = (tab) => tab.selected;
|
|
83
|
+
const getTabTrigger = (tab) => tab.tab;
|
|
84
|
+
const getPanelId = (tab) => {
|
|
85
|
+
const panelElement = resolvePanelElement(tab);
|
|
86
|
+
return panelElement?.id ?? '';
|
|
87
|
+
};
|
|
88
|
+
const Tabbar = /*@__PURE__*/ proxyCustomElement(class Tabbar extends H {
|
|
89
|
+
constructor(registerHost) {
|
|
90
|
+
super();
|
|
91
|
+
if (registerHost !== false) {
|
|
92
|
+
this.__registerHost();
|
|
93
|
+
}
|
|
94
|
+
this.__attachShadow();
|
|
95
|
+
this.showEmitter = createEvent(this, "qdsTabShow", 6);
|
|
96
|
+
this.hideEmitter = createEvent(this, "qdsTabHide", 6);
|
|
97
|
+
this.internals = this.attachInternals();
|
|
98
|
+
_Tabbar_instances.add(this);
|
|
99
|
+
/**
|
|
100
|
+
* The tabbar's layer.
|
|
101
|
+
*
|
|
102
|
+
* @deprecated The property layer is deprecated. Please use `size` property instead.
|
|
103
|
+
* Please do not use `layer` and `size` at the same time.
|
|
104
|
+
*/
|
|
105
|
+
this.layer = 'main';
|
|
106
|
+
/**
|
|
107
|
+
* The tabbar's level.
|
|
108
|
+
*
|
|
109
|
+
* @deprecated The property level is deprecated. Please use `size` property instead.
|
|
110
|
+
* Please do not use `level` and `size` at the same time.
|
|
111
|
+
*/
|
|
112
|
+
this.level = 'root';
|
|
113
|
+
/**
|
|
114
|
+
* The tabbar's size. This controls the size of the tabs within the tabbar.
|
|
115
|
+
*/
|
|
116
|
+
this.size = 'standard';
|
|
117
|
+
/**
|
|
118
|
+
* The tabbar's orientation.
|
|
119
|
+
*
|
|
120
|
+
* @deprecated Please use the `placement` property instead. Do not use
|
|
121
|
+
* `orientation` and `placement` at the same time.
|
|
122
|
+
*/
|
|
123
|
+
this.orientation = 'horizontal';
|
|
124
|
+
/**
|
|
125
|
+
* The tabbar's placement.
|
|
126
|
+
*/
|
|
127
|
+
this.placement = 'top';
|
|
128
|
+
/**
|
|
129
|
+
* Displays a divider line.
|
|
130
|
+
*/
|
|
131
|
+
this.showDivider = false;
|
|
132
|
+
/**
|
|
133
|
+
* The alignment of tabs. Only applicable for horizontal orientation.
|
|
134
|
+
*/
|
|
135
|
+
this.alignment = 'start';
|
|
136
|
+
this.disableEndArrow = false;
|
|
137
|
+
this.disableStartArrow = false;
|
|
138
|
+
this.scrollAnnouncement = '';
|
|
139
|
+
_Tabbar_tabs.set(this, []);
|
|
140
|
+
_Tabbar_ro.set(this, void 0);
|
|
141
|
+
_Tabbar_mutationObserver.set(this, void 0);
|
|
142
|
+
_Tabbar_tabbar.set(this, void 0);
|
|
143
|
+
_Tabbar_toggleAnnouncement.set(this, false);
|
|
144
|
+
_Tabbar_scrollStartButton.set(this, void 0);
|
|
145
|
+
_Tabbar_scrollEndButton.set(this, void 0);
|
|
146
|
+
_Tabbar_pendingArrowFocus.set(this, void 0);
|
|
147
|
+
_Tabbar_isInternallySettingActive.set(this, false);
|
|
148
|
+
_Tabbar_scrollToStart.set(this, () => {
|
|
149
|
+
invariant(__classPrivateFieldGet(this, _Tabbar_tabbar, "f"));
|
|
150
|
+
const isRTL = globalThis.getComputedStyle(this.host).direction === 'rtl';
|
|
151
|
+
__classPrivateFieldSet(this, _Tabbar_pendingArrowFocus, 'end', "f");
|
|
152
|
+
__classPrivateFieldGet(this, _Tabbar_tabbar, "f").scroll({
|
|
153
|
+
left: isRTL
|
|
154
|
+
? __classPrivateFieldGet(this, _Tabbar_tabbar, "f").scrollLeft + __classPrivateFieldGet(this, _Tabbar_tabbar, "f").clientWidth
|
|
155
|
+
: __classPrivateFieldGet(this, _Tabbar_tabbar, "f").scrollLeft - __classPrivateFieldGet(this, _Tabbar_tabbar, "f").clientWidth,
|
|
156
|
+
});
|
|
157
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_announceScroll).call(this, 'previous');
|
|
158
|
+
});
|
|
159
|
+
_Tabbar_scrollToEnd.set(this, () => {
|
|
160
|
+
invariant(__classPrivateFieldGet(this, _Tabbar_tabbar, "f"));
|
|
161
|
+
const isRTL = globalThis.getComputedStyle(this.host).direction === 'rtl';
|
|
162
|
+
__classPrivateFieldSet(this, _Tabbar_pendingArrowFocus, 'start', "f");
|
|
163
|
+
__classPrivateFieldGet(this, _Tabbar_tabbar, "f").scroll({
|
|
164
|
+
left: isRTL
|
|
165
|
+
? __classPrivateFieldGet(this, _Tabbar_tabbar, "f").scrollLeft - __classPrivateFieldGet(this, _Tabbar_tabbar, "f").clientWidth
|
|
166
|
+
: __classPrivateFieldGet(this, _Tabbar_tabbar, "f").scrollLeft + __classPrivateFieldGet(this, _Tabbar_tabbar, "f").clientWidth,
|
|
167
|
+
});
|
|
168
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_announceScroll).call(this, 'next');
|
|
169
|
+
});
|
|
170
|
+
_Tabbar_isVerticalPlacement.set(this, () => this.placement === 'start' || this.placement === 'end');
|
|
171
|
+
_Tabbar_isHorizontalPlacement.set(this, () => this.placement === 'top' || this.placement === 'bottom');
|
|
172
|
+
_Tabbar_isEndOrBottomPlacement.set(this, () => this.placement === 'end' || this.placement === 'bottom');
|
|
173
|
+
_Tabbar_onClick.set(this, (event) => {
|
|
174
|
+
const { target } = event;
|
|
175
|
+
if (!(target instanceof H))
|
|
176
|
+
return;
|
|
177
|
+
const tab = target.closest(TAB_ITEM_SELECTOR);
|
|
178
|
+
if (!isEnabledTabItem(tab))
|
|
179
|
+
return;
|
|
180
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_activateTab).call(this, tab);
|
|
181
|
+
});
|
|
182
|
+
_Tabbar_onKeyDown.set(this, (event) => {
|
|
183
|
+
const isVertical = this.orientation === 'vertical' || __classPrivateFieldGet(this, _Tabbar_isVerticalPlacement, "f").call(this);
|
|
184
|
+
const MOVE_SELECTION_KEYS = isVertical
|
|
185
|
+
? VERTICAL_MOVE_KEYS
|
|
186
|
+
: HORIZONTAL_MOVE_KEYS;
|
|
187
|
+
if (!MOVE_SELECTION_KEYS.has(event.key))
|
|
188
|
+
return;
|
|
189
|
+
const tabs = __classPrivateFieldGet(this, _Tabbar_tabs, "f");
|
|
190
|
+
if (tabs.length === 0)
|
|
191
|
+
return;
|
|
192
|
+
event.preventDefault();
|
|
193
|
+
event.stopPropagation();
|
|
194
|
+
const activeTab = __classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_getCurrentTab).call(this);
|
|
195
|
+
let index = activeTab ? tabs.indexOf(activeTab) : 0;
|
|
196
|
+
const isRTL = globalThis.getComputedStyle(this.host).direction === 'rtl';
|
|
197
|
+
let nextTab;
|
|
198
|
+
do {
|
|
199
|
+
switch (event.key) {
|
|
200
|
+
case 'ArrowLeft':
|
|
201
|
+
case 'ArrowUp': {
|
|
202
|
+
index = (isRTL ? index < tabs.length - 1 : index > 0)
|
|
203
|
+
? index - (isRTL ? -1 : 1)
|
|
204
|
+
: isRTL
|
|
205
|
+
? 0
|
|
206
|
+
: tabs.length - 1;
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
case 'ArrowRight':
|
|
210
|
+
case 'ArrowDown': {
|
|
211
|
+
index = (isRTL ? index > 0 : index < tabs.length - 1)
|
|
212
|
+
? index + (isRTL ? -1 : 1)
|
|
213
|
+
: isRTL
|
|
214
|
+
? tabs.length - 1
|
|
215
|
+
: 0;
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
case 'Home': {
|
|
219
|
+
index = isRTL ? tabs.length - 1 : 0;
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
case 'End': {
|
|
223
|
+
index = isRTL ? 0 : tabs.length - 1;
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
nextTab = tabs[index];
|
|
228
|
+
} while (nextTab.disabled === true);
|
|
229
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_setCurrentTab).call(this, nextTab);
|
|
230
|
+
const target = getTabTrigger(nextTab);
|
|
231
|
+
target.focus({ preventScroll: true });
|
|
232
|
+
if (!isVertical)
|
|
233
|
+
target.scrollIntoView();
|
|
234
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_activateTab).call(this, nextTab);
|
|
235
|
+
});
|
|
236
|
+
_Tabbar_onMouseDown.set(this, (event) => {
|
|
237
|
+
const { target } = event;
|
|
238
|
+
if (!(target instanceof H))
|
|
239
|
+
return;
|
|
240
|
+
const tab = target.closest(TAB_ITEM_SELECTOR);
|
|
241
|
+
if (isEnabledTabItem(tab))
|
|
242
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_setCurrentTab).call(this, tab);
|
|
243
|
+
});
|
|
244
|
+
_Tabbar_onScroll.set(this, () => {
|
|
245
|
+
if (!__classPrivateFieldGet(this, _Tabbar_tabbar, "f"))
|
|
246
|
+
return;
|
|
247
|
+
const { clientWidth, scrollWidth, scrollLeft } = __classPrivateFieldGet(this, _Tabbar_tabbar, "f");
|
|
248
|
+
const isRTL = globalThis.getComputedStyle(this.host).direction === 'rtl';
|
|
249
|
+
this.disableStartArrow = scrollLeft === 0;
|
|
250
|
+
this.disableEndArrow = isRTL
|
|
251
|
+
? scrollWidth + scrollLeft <= clientWidth
|
|
252
|
+
: scrollWidth - clientWidth - scrollLeft <= 1;
|
|
253
|
+
});
|
|
254
|
+
_Tabbar_onViewportCrop.set(this, () => {
|
|
255
|
+
if (!__classPrivateFieldGet(this, _Tabbar_tabbar, "f"))
|
|
256
|
+
return;
|
|
257
|
+
const { scrollWidth, clientWidth } = __classPrivateFieldGet(this, _Tabbar_tabbar, "f");
|
|
258
|
+
if (scrollWidth > clientWidth) {
|
|
259
|
+
__classPrivateFieldGet(this, _Tabbar_onScroll, "f").call(this);
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
_Tabbar_onSlotchange.set(this, () => {
|
|
263
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_updateTabsCache).call(this);
|
|
264
|
+
if (__classPrivateFieldGet(this, _Tabbar_tabs, "f").length > 0)
|
|
265
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_setCurrentTab).call(this, __classPrivateFieldGet(this, _Tabbar_tabs, "f")[0]);
|
|
266
|
+
__classPrivateFieldGet(this, _Tabbar_onViewportCrop, "f").call(this);
|
|
267
|
+
});
|
|
268
|
+
_Tabbar_scrollEndButtonRef.set(this, (button) => {
|
|
269
|
+
__classPrivateFieldSet(this, _Tabbar_scrollEndButton, button, "f");
|
|
270
|
+
});
|
|
271
|
+
_Tabbar_scrollStartButtonRef.set(this, (button) => {
|
|
272
|
+
__classPrivateFieldSet(this, _Tabbar_scrollStartButton, button, "f");
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
settingChanged() {
|
|
276
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_setTabSettings).call(this);
|
|
277
|
+
}
|
|
278
|
+
accessibilityChanged() {
|
|
279
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_syncInternalsAccessibility).call(this);
|
|
280
|
+
}
|
|
281
|
+
windowResize() {
|
|
282
|
+
__classPrivateFieldGet(this, _Tabbar_onViewportCrop, "f").call(this);
|
|
283
|
+
}
|
|
284
|
+
activeChanged() {
|
|
285
|
+
if (__classPrivateFieldGet(this, _Tabbar_isInternallySettingActive, "f"))
|
|
286
|
+
return;
|
|
287
|
+
if (this.active === undefined || this.active === '')
|
|
288
|
+
return;
|
|
289
|
+
const tabs = __classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_getTabItems).call(this);
|
|
290
|
+
const nextTab = tabs.find((tab) => {
|
|
291
|
+
const panelId = getPanelId(tab);
|
|
292
|
+
return panelId === this.active;
|
|
293
|
+
});
|
|
294
|
+
if (!nextTab || nextTab.disabled === true)
|
|
295
|
+
return;
|
|
296
|
+
const previousTab = this.activeTab;
|
|
297
|
+
if (previousTab === nextTab && this.active === getPanelId(nextTab))
|
|
298
|
+
return;
|
|
299
|
+
this.activeTab = nextTab;
|
|
300
|
+
if (previousTab && previousTab !== nextTab) {
|
|
301
|
+
this.hideEmitter.emit(previousTab);
|
|
302
|
+
}
|
|
303
|
+
if (previousTab !== nextTab) {
|
|
304
|
+
this.showEmitter.emit(nextTab);
|
|
305
|
+
}
|
|
306
|
+
// Update tab states without triggering mutation observer
|
|
307
|
+
__classPrivateFieldSet(this, _Tabbar_isInternallySettingActive, true, "f");
|
|
308
|
+
for (const t of tabs) {
|
|
309
|
+
const target = getTabTrigger(t);
|
|
310
|
+
const isSelected = t === nextTab;
|
|
311
|
+
t.selected = isSelected;
|
|
312
|
+
if (target instanceof globalThis.Element)
|
|
313
|
+
target.ariaSelected = isSelected.toString();
|
|
314
|
+
}
|
|
315
|
+
__classPrivateFieldSet(this, _Tabbar_isInternallySettingActive, false, "f");
|
|
316
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_switchTabPanel).call(this, nextTab);
|
|
317
|
+
}
|
|
318
|
+
componentWillLoad() {
|
|
319
|
+
this.settingChanged();
|
|
320
|
+
this.internals.role = 'tablist';
|
|
321
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_syncInternalsAccessibility).call(this);
|
|
322
|
+
const tabs = __classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_getTabItems).call(this);
|
|
323
|
+
const preselectedTab = tabs.find((tab) => isTabActive(tab));
|
|
324
|
+
if (preselectedTab)
|
|
325
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_setActiveTab).call(this, preselectedTab);
|
|
326
|
+
else if (tabs.length > 0)
|
|
327
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_setActiveTab).call(this, tabs[0]);
|
|
328
|
+
}
|
|
329
|
+
componentDidRender() {
|
|
330
|
+
if (this.activeTab)
|
|
331
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_switchTabPanel).call(this, this.activeTab);
|
|
332
|
+
if (__classPrivateFieldGet(this, _Tabbar_pendingArrowFocus, "f") === 'start' && this.disableEndArrow) {
|
|
333
|
+
__classPrivateFieldSet(this, _Tabbar_pendingArrowFocus, undefined, "f");
|
|
334
|
+
__classPrivateFieldGet(this, _Tabbar_scrollStartButton, "f")?.focus();
|
|
335
|
+
}
|
|
336
|
+
else if (__classPrivateFieldGet(this, _Tabbar_pendingArrowFocus, "f") === 'end' && this.disableStartArrow) {
|
|
337
|
+
__classPrivateFieldSet(this, _Tabbar_pendingArrowFocus, undefined, "f");
|
|
338
|
+
__classPrivateFieldGet(this, _Tabbar_scrollEndButton, "f")?.focus();
|
|
339
|
+
}
|
|
340
|
+
this.settingChanged();
|
|
341
|
+
}
|
|
342
|
+
componentDidLoad() {
|
|
343
|
+
invariant(__classPrivateFieldGet(this, _Tabbar_tabbar, "f"));
|
|
344
|
+
__classPrivateFieldSet(this, _Tabbar_ro, new ResizeObserver(__classPrivateFieldGet(this, _Tabbar_onScroll, "f")), "f");
|
|
345
|
+
__classPrivateFieldGet(this, _Tabbar_ro, "f").observe(__classPrivateFieldGet(this, _Tabbar_tabbar, "f"));
|
|
346
|
+
__classPrivateFieldSet(this, _Tabbar_mutationObserver, new MutationObserver((mutations) => {
|
|
347
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_handleTabMutation).call(this, mutations);
|
|
348
|
+
}), "f");
|
|
349
|
+
__classPrivateFieldGet(this, _Tabbar_mutationObserver, "f").observe(this.host, {
|
|
350
|
+
attributes: true,
|
|
351
|
+
attributeFilter: ['active'],
|
|
352
|
+
childList: true,
|
|
353
|
+
subtree: true,
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
disconnectedCallback() {
|
|
357
|
+
__classPrivateFieldGet(this, _Tabbar_ro, "f")?.disconnect();
|
|
358
|
+
__classPrivateFieldGet(this, _Tabbar_mutationObserver, "f")?.disconnect();
|
|
359
|
+
}
|
|
360
|
+
render() {
|
|
361
|
+
return (h("div", { key: '43a1bae6bd980854ec8cbc786be30d3c4dae4ae9', class: {
|
|
362
|
+
'qds-vertical-divider': this.orientation === 'vertical' || __classPrivateFieldGet(this, _Tabbar_isVerticalPlacement, "f").call(this),
|
|
363
|
+
}, "data-layer": this.layer, "data-level": this.level, "data-importance": __classPrivateFieldGet(this, _Tabbar_instances, "a", _Tabbar_computedImportance_get) }, h("span", { key: '6c81132bbb30f3c5813186bd9a2e6c4715b208c5', class: "qds-sr-only", "aria-live": "polite" }, this.scrollAnnouncement), __classPrivateFieldGet(this, _Tabbar_instances, "a", _Tabbar_computeDividerVisible_get) && __classPrivateFieldGet(this, _Tabbar_isEndOrBottomPlacement, "f").call(this) && (h("qds-divider", { key: '147475632fc9fd2d8f859240dfa71e45058c4d78', vertical: this.orientation === 'vertical' || __classPrivateFieldGet(this, _Tabbar_isVerticalPlacement, "f").call(this) })), h("div", { key: '51a0179675663618453b54d25bda6054e3f91321', class: "qds-tabbar" }, h("div", { key: '44f0167da0d5b5d682f86c57a0a7b347e51e0fca', class: {
|
|
364
|
+
'qds-align-center': true,
|
|
365
|
+
'qds-hidden': (this.disableEndArrow && this.disableStartArrow) ||
|
|
366
|
+
this.orientation === 'vertical' ||
|
|
367
|
+
__classPrivateFieldGet(this, _Tabbar_isVerticalPlacement, "f").call(this),
|
|
368
|
+
} }, h("qds-icon-button", { key: '22a512257855b48e1b50f9b48d06017c756a58ea', "aria-label": "show previous tab", importance: "subdued", iconName: "next", iconLibrary: "core", class: "qds-arrow-start", onClick: __classPrivateFieldGet(this, _Tabbar_scrollToStart, "f"), disabled: this.disableStartArrow, ref: __classPrivateFieldGet(this, _Tabbar_scrollStartButtonRef, "f") })), h("div", { key: '4e1a36aaf66917a57bf64618fa675e91db34e555', class: {
|
|
369
|
+
'qds-tabs': true,
|
|
370
|
+
'qds-vertical': this.orientation === 'vertical' || __classPrivateFieldGet(this, _Tabbar_isVerticalPlacement, "f").call(this),
|
|
371
|
+
'qds-centered': this.alignment === 'center' &&
|
|
372
|
+
(this.orientation === 'horizontal' ||
|
|
373
|
+
__classPrivateFieldGet(this, _Tabbar_isHorizontalPlacement, "f").call(this)) &&
|
|
374
|
+
this.disableEndArrow &&
|
|
375
|
+
this.disableStartArrow,
|
|
376
|
+
}, ref: (element) => {
|
|
377
|
+
__classPrivateFieldSet(this, _Tabbar_tabbar, element, "f");
|
|
378
|
+
}, onClick: __classPrivateFieldGet(this, _Tabbar_onClick, "f"), onKeyDown: __classPrivateFieldGet(this, _Tabbar_onKeyDown, "f"), onMouseDown: __classPrivateFieldGet(this, _Tabbar_onMouseDown, "f"), onScroll: __classPrivateFieldGet(this, _Tabbar_onScroll, "f") }, h("slot", { key: '0ae4c49fd815426bd78962526f5fce946d0688a1', onSlotchange: __classPrivateFieldGet(this, _Tabbar_onSlotchange, "f") })), h("div", { key: 'c4fc6997f1430efe4975c8ed1ad723fa6d906d79', class: {
|
|
379
|
+
'qds-align-center': true,
|
|
380
|
+
'qds-hidden': (this.disableEndArrow && this.disableStartArrow) ||
|
|
381
|
+
this.orientation === 'vertical' ||
|
|
382
|
+
__classPrivateFieldGet(this, _Tabbar_isVerticalPlacement, "f").call(this),
|
|
383
|
+
} }, h("qds-icon-button", { key: '87973e92e8ad9e40a2ba6a2a7ade1040c6e46fde', "aria-label": "show next tab", iconName: "next", iconLibrary: "core", importance: "subdued", onClick: __classPrivateFieldGet(this, _Tabbar_scrollToEnd, "f"), disabled: this.disableEndArrow, ref: __classPrivateFieldGet(this, _Tabbar_scrollEndButtonRef, "f") }))), __classPrivateFieldGet(this, _Tabbar_instances, "a", _Tabbar_computeDividerVisible_get) && !__classPrivateFieldGet(this, _Tabbar_isEndOrBottomPlacement, "f").call(this) && (h("qds-divider", { key: '9c7748c515f2f86c4065b90929dbe7d8f19b377b', vertical: this.orientation === 'vertical' || __classPrivateFieldGet(this, _Tabbar_isVerticalPlacement, "f").call(this) }))));
|
|
384
|
+
}
|
|
385
|
+
static get delegatesFocus() { return true; }
|
|
386
|
+
get host() { return this; }
|
|
387
|
+
static get watchers() { return {
|
|
388
|
+
"importance": ["settingChanged"],
|
|
389
|
+
"orientation": ["accessibilityChanged"],
|
|
390
|
+
"placement": ["accessibilityChanged"],
|
|
391
|
+
"tablistDescription": ["accessibilityChanged"],
|
|
392
|
+
"active": ["activeChanged"]
|
|
393
|
+
}; }
|
|
394
|
+
static get style() { return tabbarCss; }
|
|
395
|
+
}, [273, "qds-tabbar", {
|
|
396
|
+
"layer": [1],
|
|
397
|
+
"level": [1],
|
|
398
|
+
"size": [1],
|
|
399
|
+
"orientation": [1],
|
|
400
|
+
"placement": [1],
|
|
401
|
+
"tablistDescription": [1, "tablist-description"],
|
|
402
|
+
"showDivider": [4, "show-divider"],
|
|
403
|
+
"alignment": [1],
|
|
404
|
+
"importance": [1],
|
|
405
|
+
"active": [1],
|
|
406
|
+
"disableEndArrow": [32],
|
|
407
|
+
"disableStartArrow": [32],
|
|
408
|
+
"activeTab": [32],
|
|
409
|
+
"scrollAnnouncement": [32]
|
|
410
|
+
}, [[9, "resize", "windowResize"]], {
|
|
411
|
+
"importance": ["settingChanged"],
|
|
412
|
+
"orientation": ["accessibilityChanged"],
|
|
413
|
+
"placement": ["accessibilityChanged"],
|
|
414
|
+
"tablistDescription": ["accessibilityChanged"],
|
|
415
|
+
"active": ["activeChanged"]
|
|
416
|
+
}]);
|
|
417
|
+
_Tabbar_tabs = new WeakMap(), _Tabbar_ro = new WeakMap(), _Tabbar_mutationObserver = new WeakMap(), _Tabbar_tabbar = new WeakMap(), _Tabbar_toggleAnnouncement = new WeakMap(), _Tabbar_scrollStartButton = new WeakMap(), _Tabbar_scrollEndButton = new WeakMap(), _Tabbar_pendingArrowFocus = new WeakMap(), _Tabbar_isInternallySettingActive = new WeakMap(), _Tabbar_scrollToStart = new WeakMap(), _Tabbar_scrollToEnd = new WeakMap(), _Tabbar_isVerticalPlacement = new WeakMap(), _Tabbar_isHorizontalPlacement = new WeakMap(), _Tabbar_isEndOrBottomPlacement = new WeakMap(), _Tabbar_onClick = new WeakMap(), _Tabbar_onKeyDown = new WeakMap(), _Tabbar_onMouseDown = new WeakMap(), _Tabbar_onScroll = new WeakMap(), _Tabbar_onViewportCrop = new WeakMap(), _Tabbar_onSlotchange = new WeakMap(), _Tabbar_scrollEndButtonRef = new WeakMap(), _Tabbar_scrollStartButtonRef = new WeakMap(), _Tabbar_instances = new WeakSet(), _Tabbar_computedImportance_get = function _Tabbar_computedImportance_get() {
|
|
418
|
+
return this.importance;
|
|
419
|
+
}, _Tabbar_computedSize_get = function _Tabbar_computedSize_get() {
|
|
420
|
+
return this.size ?? undefined;
|
|
421
|
+
}, _Tabbar_computedPlacement_get = function _Tabbar_computedPlacement_get() {
|
|
422
|
+
switch (this.placement) {
|
|
423
|
+
case 'top': {
|
|
424
|
+
return 'block-end';
|
|
425
|
+
}
|
|
426
|
+
case 'end': {
|
|
427
|
+
return 'inline-start';
|
|
428
|
+
}
|
|
429
|
+
case 'bottom': {
|
|
430
|
+
return 'block-start';
|
|
431
|
+
}
|
|
432
|
+
case 'start': {
|
|
433
|
+
return 'inline-end';
|
|
434
|
+
}
|
|
435
|
+
default: {
|
|
436
|
+
return undefined;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}, _Tabbar_computeDividerVisible_get = function _Tabbar_computeDividerVisible_get() {
|
|
440
|
+
if (this.layer === 'panel')
|
|
441
|
+
return false;
|
|
442
|
+
if (this.layer === 'main' &&
|
|
443
|
+
this.level === 'subsection' &&
|
|
444
|
+
(this.orientation === 'horizontal' || __classPrivateFieldGet(this, _Tabbar_isVerticalPlacement, "f").call(this)))
|
|
445
|
+
return false;
|
|
446
|
+
return this.showDivider === true;
|
|
447
|
+
}, _Tabbar_computedAriaOrientation_get = function _Tabbar_computedAriaOrientation_get() {
|
|
448
|
+
return this.orientation === 'vertical' || __classPrivateFieldGet(this, _Tabbar_isVerticalPlacement, "f").call(this)
|
|
449
|
+
? 'vertical'
|
|
450
|
+
: 'horizontal';
|
|
451
|
+
}, _Tabbar_getTabItems = function _Tabbar_getTabItems() {
|
|
452
|
+
return [
|
|
453
|
+
...this.host.querySelectorAll(TAB_ITEM_SELECTOR),
|
|
454
|
+
].filter((element) => isTabItem(element));
|
|
455
|
+
}, _Tabbar_announceScroll = function _Tabbar_announceScroll(direction) {
|
|
456
|
+
const text = direction === 'next' ? 'Next tabs showed' : 'Previous tabs showed';
|
|
457
|
+
__classPrivateFieldSet(this, _Tabbar_toggleAnnouncement, !__classPrivateFieldGet(this, _Tabbar_toggleAnnouncement, "f"), "f");
|
|
458
|
+
this.scrollAnnouncement = text + (__classPrivateFieldGet(this, _Tabbar_toggleAnnouncement, "f") ? '' : '.');
|
|
459
|
+
}, _Tabbar_setActiveTab = function _Tabbar_setActiveTab(tab) {
|
|
460
|
+
this.activeTab = tab;
|
|
461
|
+
const panelId = getPanelId(tab);
|
|
462
|
+
__classPrivateFieldSet(this, _Tabbar_isInternallySettingActive, true, "f");
|
|
463
|
+
this.active = panelId;
|
|
464
|
+
for (const t of __classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_getTabItems).call(this)) {
|
|
465
|
+
const target = getTabTrigger(t);
|
|
466
|
+
const isSelected = t === tab;
|
|
467
|
+
t.selected = isSelected;
|
|
468
|
+
if (target instanceof globalThis.Element)
|
|
469
|
+
target.ariaSelected = isSelected.toString();
|
|
470
|
+
}
|
|
471
|
+
__classPrivateFieldSet(this, _Tabbar_isInternallySettingActive, false, "f");
|
|
472
|
+
}, _Tabbar_handleTabMutation = function _Tabbar_handleTabMutation(mutations) {
|
|
473
|
+
if (__classPrivateFieldGet(this, _Tabbar_isInternallySettingActive, "f"))
|
|
474
|
+
return;
|
|
475
|
+
const activeTab = mutations
|
|
476
|
+
.map((m) => m.target)
|
|
477
|
+
.find((target) => target instanceof H && isTabItem(target) && target.selected);
|
|
478
|
+
if (activeTab) {
|
|
479
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_setActiveTab).call(this, activeTab);
|
|
480
|
+
}
|
|
481
|
+
}, _Tabbar_activateTab = function _Tabbar_activateTab(tab) {
|
|
482
|
+
const previousTab = this.activeTab;
|
|
483
|
+
if (previousTab === tab)
|
|
484
|
+
return;
|
|
485
|
+
this.activeTab = tab;
|
|
486
|
+
const panelId = getPanelId(tab);
|
|
487
|
+
if (previousTab) {
|
|
488
|
+
this.hideEmitter.emit(previousTab);
|
|
489
|
+
}
|
|
490
|
+
this.showEmitter.emit(tab);
|
|
491
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_setCurrentTab).call(this, tab);
|
|
492
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_switchTabPanel).call(this, tab);
|
|
493
|
+
// Set active property without triggering watcher events again
|
|
494
|
+
__classPrivateFieldSet(this, _Tabbar_isInternallySettingActive, true, "f");
|
|
495
|
+
this.active = panelId;
|
|
496
|
+
__classPrivateFieldSet(this, _Tabbar_isInternallySettingActive, false, "f");
|
|
497
|
+
for (const t of __classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_getTabItems).call(this)) {
|
|
498
|
+
const target = getTabTrigger(t);
|
|
499
|
+
const isSelected = t === tab;
|
|
500
|
+
t.selected = isSelected;
|
|
501
|
+
if (target instanceof globalThis.Element)
|
|
502
|
+
target.ariaSelected = isSelected.toString();
|
|
503
|
+
}
|
|
504
|
+
}, _Tabbar_switchTabPanel = function _Tabbar_switchTabPanel(activeTab) {
|
|
505
|
+
for (const tab of __classPrivateFieldGet(this, _Tabbar_tabs, "f")) {
|
|
506
|
+
const panel = resolvePanelElement(tab);
|
|
507
|
+
if (panel) {
|
|
508
|
+
panel.hidden = tab !== activeTab;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}, _Tabbar_getCurrentTab = function _Tabbar_getCurrentTab() {
|
|
512
|
+
return __classPrivateFieldGet(this, _Tabbar_tabs, "f").find((tab) => getTabTrigger(tab).getAttribute('tabindex') === '0');
|
|
513
|
+
}, _Tabbar_setCurrentTab = function _Tabbar_setCurrentTab(tab) {
|
|
514
|
+
for (const t of __classPrivateFieldGet(this, _Tabbar_tabs, "f")) {
|
|
515
|
+
const isCurrent = t === tab;
|
|
516
|
+
componentOnReady(t, (element) => {
|
|
517
|
+
const target = element ? getTabTrigger(element) : undefined;
|
|
518
|
+
if (target === undefined)
|
|
519
|
+
return;
|
|
520
|
+
const isDisabled = target.getAttribute('aria-disabled') === 'true';
|
|
521
|
+
const shouldActivateTab = isCurrent && !isDisabled;
|
|
522
|
+
const tabindex = shouldActivateTab ? '0' : '-1';
|
|
523
|
+
target.setAttribute('tabindex', tabindex);
|
|
524
|
+
if (shouldActivateTab)
|
|
525
|
+
__classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_activateTab).call(this, t);
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
}, _Tabbar_syncInternalsAccessibility = function _Tabbar_syncInternalsAccessibility() {
|
|
529
|
+
this.internals.ariaOrientation = __classPrivateFieldGet(this, _Tabbar_instances, "a", _Tabbar_computedAriaOrientation_get);
|
|
530
|
+
this.internals.ariaLabel = this.tablistDescription ?? '';
|
|
531
|
+
}, _Tabbar_updateTabsCache = function _Tabbar_updateTabsCache() {
|
|
532
|
+
const slot = this.host.shadowRoot?.querySelector('slot');
|
|
533
|
+
__classPrivateFieldSet(this, _Tabbar_tabs, slot
|
|
534
|
+
? [...slot.assignedElements({ flatten: true })].filter((element) => isEnabledTabItem(element))
|
|
535
|
+
: [], "f");
|
|
536
|
+
}, _Tabbar_setTabSettings = function _Tabbar_setTabSettings() {
|
|
537
|
+
const settings = TAB_SETTINGS[`${this.layer}-${this.level}`];
|
|
538
|
+
if (!settings)
|
|
539
|
+
return;
|
|
540
|
+
for (const tab of __classPrivateFieldGet(this, _Tabbar_instances, "m", _Tabbar_getTabItems).call(this)) {
|
|
541
|
+
tab.importance = __classPrivateFieldGet(this, _Tabbar_instances, "a", _Tabbar_computedImportance_get) ?? settings.importance;
|
|
542
|
+
tab.size = __classPrivateFieldGet(this, _Tabbar_instances, "a", _Tabbar_computedSize_get) ?? settings.size;
|
|
543
|
+
tab.indicatorPosition =
|
|
544
|
+
this.orientation === 'vertical'
|
|
545
|
+
? 'inline-end'
|
|
546
|
+
: (__classPrivateFieldGet(this, _Tabbar_instances, "a", _Tabbar_computedPlacement_get) ?? settings.indicatorPosition);
|
|
547
|
+
}
|
|
548
|
+
};
|
|
549
|
+
function defineCustomElement$1() {
|
|
550
|
+
if (typeof customElements === "undefined") {
|
|
551
|
+
return;
|
|
552
|
+
}
|
|
553
|
+
const components = ["qds-tabbar", "qds-badge-counter", "qds-badge-indicator", "qds-divider", "qds-icon", "qds-icon-button", "qds-tooltip"];
|
|
554
|
+
components.forEach(tagName => { switch (tagName) {
|
|
555
|
+
case "qds-tabbar":
|
|
556
|
+
if (!customElements.get(tagName)) {
|
|
557
|
+
customElements.define(tagName, Tabbar);
|
|
558
|
+
}
|
|
559
|
+
break;
|
|
560
|
+
case "qds-badge-counter":
|
|
561
|
+
if (!customElements.get(tagName)) {
|
|
562
|
+
defineCustomElement$7();
|
|
563
|
+
}
|
|
564
|
+
break;
|
|
565
|
+
case "qds-badge-indicator":
|
|
566
|
+
if (!customElements.get(tagName)) {
|
|
567
|
+
defineCustomElement$6();
|
|
568
|
+
}
|
|
569
|
+
break;
|
|
570
|
+
case "qds-divider":
|
|
571
|
+
if (!customElements.get(tagName)) {
|
|
572
|
+
defineCustomElement$5();
|
|
573
|
+
}
|
|
574
|
+
break;
|
|
575
|
+
case "qds-icon":
|
|
576
|
+
if (!customElements.get(tagName)) {
|
|
577
|
+
defineCustomElement$4();
|
|
578
|
+
}
|
|
579
|
+
break;
|
|
580
|
+
case "qds-icon-button":
|
|
581
|
+
if (!customElements.get(tagName)) {
|
|
582
|
+
defineCustomElement$3();
|
|
583
|
+
}
|
|
584
|
+
break;
|
|
585
|
+
case "qds-tooltip":
|
|
586
|
+
if (!customElements.get(tagName)) {
|
|
587
|
+
defineCustomElement$2();
|
|
588
|
+
}
|
|
589
|
+
break;
|
|
590
|
+
} });
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
const QdsTabbar = Tabbar;
|
|
594
|
+
const defineCustomElement = defineCustomElement$1;
|
|
595
|
+
|
|
596
|
+
export { QdsTabbar, defineCustomElement };
|
|
597
|
+
//# sourceMappingURL=qds-tabbar.js.map
|
|
598
|
+
|
|
599
|
+
//# sourceMappingURL=qds-tabbar.js.map
|