q2-tecton-elements 1.72.0 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +38990 -33801
- package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
- package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
- package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
- package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
- package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
- package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
- package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
- package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
- package/dist/cjs/q2-context.cjs.entry.js +4 -4
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
- package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
- package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +20 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +2 -2
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +5 -5
- package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
- package/dist/cjs/q2-pill.cjs.entry.js +7 -4
- package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-search.cjs.entry.js +3 -3
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +8 -4
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-surface.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
- package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-btn/q2-btn.css +84 -136
- package/dist/collection/components/q2-btn/q2-btn.js +10 -4
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
- package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
- package/dist/collection/components/q2-context/q2-context.js +3 -3
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
- package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
- package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
- package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/q2-input.js +6 -3
- package/dist/collection/components/q2-item/q2-item.js +19 -1
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
- package/dist/collection/components/q2-otp/q2-otp.js +4 -4
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +6 -3
- package/dist/collection/components/q2-popover/q2-popover.css +1 -0
- package/dist/collection/components/q2-popover/q2-popover.js +43 -8
- package/dist/collection/components/q2-radio/q2-radio.js +5 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.js +6 -3
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +12 -5
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-surface/q2-surface.js +1 -1
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +6 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/chart-keyboard.js +76 -0
- package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
- package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
- package/dist/collection/utils/index.js +1 -1
- package/dist/components/charting.js +1603 -1532
- package/dist/components/dataSample.js +7 -7
- package/dist/components/index.js +57 -53
- package/dist/components/index2.js +2 -2
- package/dist/components/q2-action-sheet.js +224 -103
- package/dist/components/q2-avatar2.js +8 -8
- package/dist/components/q2-btn2.js +2 -2
- package/dist/components/q2-calendar.js +6 -3
- package/dist/components/q2-card-image.js +2 -2
- package/dist/components/q2-carousel-pane2.js +3 -3
- package/dist/components/q2-carousel.js +37 -24
- package/dist/components/q2-chart-area.js +415 -369
- package/dist/components/q2-chart-bar.js +193 -148
- package/dist/components/q2-chart-donut.js +185 -158
- package/dist/components/q2-checkbox-group.js +6 -6
- package/dist/components/q2-checkbox2.js +11 -11
- package/dist/components/q2-context.js +20 -20
- package/dist/components/q2-currency.js +9 -9
- package/dist/components/q2-data-table.js +111 -111
- package/dist/components/q2-date-calendar.d.ts +11 -0
- package/dist/components/q2-date-calendar.js +5 -0
- package/dist/components/q2-date-calendar2.js +678 -0
- package/dist/components/q2-date-picker.d.ts +11 -0
- package/dist/components/q2-date-picker.js +5 -0
- package/dist/components/q2-date-picker2.js +875 -0
- package/dist/components/q2-detail.js +3 -3
- package/dist/components/q2-dropdown.js +17 -17
- package/dist/components/q2-editable-field.js +16 -5
- package/dist/components/q2-example.js +11 -11
- package/dist/components/q2-file-picker.js +1 -1
- package/dist/components/q2-form.js +6 -6
- package/dist/components/q2-formatted-text.js +2 -2
- package/dist/components/q2-input2.js +5 -5
- package/dist/components/q2-item2.js +32 -22
- package/dist/components/q2-legend2.js +7 -7
- package/dist/components/q2-list2.js +6 -6
- package/dist/components/q2-message2.js +9 -9
- package/dist/components/q2-meter.js +7 -7
- package/dist/components/q2-modal.js +22 -22
- package/dist/components/q2-month-picker.js +17 -17
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +55 -34
- package/dist/components/q2-otp.js +8 -8
- package/dist/components/q2-pagination.js +67 -67
- package/dist/components/q2-pill.js +16 -14
- package/dist/components/q2-popover2.js +70 -49
- package/dist/components/q2-radio-group.js +7 -7
- package/dist/components/q2-radio.js +6 -6
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +23 -23
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +19 -19
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-pane.js +9 -9
- package/dist/components/q2-stepper-vertical.js +4 -4
- package/dist/components/q2-stepper.js +57 -57
- package/dist/components/q2-surface.js +3 -3
- package/dist/components/q2-tab-container.js +17 -17
- package/dist/components/q2-tab-pane.js +2 -2
- package/dist/components/q2-tag2.js +8 -6
- package/dist/components/q2-textarea.js +3 -3
- package/dist/components/sectorHelper.js +78 -78
- package/dist/components/tecton-tab-pane.js +10 -10
- package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
- package/dist/esm/click-elsewhere_3.entry.js +81 -14
- package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
- package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
- package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +99 -19
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_2.entry.js +2 -2
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +9 -4
- package/dist/esm/q2-card-image.entry.js +3 -3
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +20 -6
- package/dist/esm/q2-chart-area.entry.js +38 -7
- package/dist/esm/q2-chart-bar.entry.js +39 -8
- package/dist/esm/q2-chart-donut.entry.js +31 -13
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox_2.entry.js +8 -5
- package/dist/esm/q2-context.entry.js +4 -4
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +7 -7
- package/dist/esm/q2-date-calendar.entry.js +450 -0
- package/dist/esm/q2-date-picker_2.entry.js +965 -0
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +3 -3
- package/dist/esm/q2-editable-field.entry.js +20 -7
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +2 -2
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +20 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +2 -2
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +5 -5
- package/dist/esm/q2-pagination.entry.js +4 -4
- package/dist/esm/q2-pill.entry.js +7 -4
- package/dist/esm/q2-radio-group.entry.js +2 -2
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-search.entry.js +3 -3
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +8 -4
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-surface.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +2 -2
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
- package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
- package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
- package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
- package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
- package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
- package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
- package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
- package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +28 -28
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-pagination.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-pill.entry.js +42 -40
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-search.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
- package/dist/q2-tecton-elements/q2-surface.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
- package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
- package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
- package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
- package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
- package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
- package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
- package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
- package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
- package/dist/types/components/q2-input/q2-input.d.ts +4 -2
- package/dist/types/components/q2-item/q2-item.d.ts +3 -0
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
- package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
- package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
- package/dist/types/components/q2-search/q2-search.d.ts +3 -1
- package/dist/types/components/q2-select/q2-select.d.ts +4 -2
- package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
- package/dist/types/components.d.ts +858 -49
- package/dist/types/global.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/chart-keyboard.d.ts +16 -0
- package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
- package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
- package/package.json +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
- package/dist/esm/q2-optgroup.entry.js +0 -68
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { proxyCustomElement as t, HTMLElement as o, createEvent as a, h as i, transformTag as r } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { g as e, w as s, b as n } from "./index2.js";
|
|
4
4
|
|
|
5
5
|
import { s as c } from "./sanitize-html-string.js";
|
|
6
6
|
|
|
7
|
-
import { d
|
|
7
|
+
import { d } from "./q2-action-group2.js";
|
|
8
8
|
|
|
9
|
-
import { d } from "./q2-btn2.js";
|
|
9
|
+
import { d as l } from "./q2-btn2.js";
|
|
10
10
|
|
|
11
11
|
import { d as p } from "./q2-icon2.js";
|
|
12
12
|
|
|
@@ -121,62 +121,62 @@ const b = t(class extends o {
|
|
|
121
121
|
render() {
|
|
122
122
|
const t = "" + (this.renderStatus || "");
|
|
123
123
|
return i("dialog", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "67c724b2e94aa823893cc3477ffa364bc07f3c91",
|
|
125
125
|
ref: t => this.dialogElement = t,
|
|
126
126
|
class: t,
|
|
127
127
|
onCancel: this.onCancel,
|
|
128
128
|
onClick: this.onClick
|
|
129
129
|
}, i("div", {
|
|
130
|
-
key: "
|
|
130
|
+
key: "67b97fe323985b56db793d1cf939192bbfbd424e",
|
|
131
131
|
class: "interior"
|
|
132
132
|
}, this.title && i("header", {
|
|
133
|
-
key: "
|
|
133
|
+
key: "ec0c82831007887e2baeddc50f2b8c0ec24b0d97"
|
|
134
134
|
}, this.title && i("h2", {
|
|
135
|
-
key: "
|
|
135
|
+
key: "10bbd7f9216ce221616acc4c77984aca582eba10",
|
|
136
136
|
class: "title"
|
|
137
137
|
}, this.title), !!this.closable && i("q2-btn", {
|
|
138
|
-
key: "
|
|
138
|
+
key: "8f801bf013c9015c3ae50543067393b26941d3d4",
|
|
139
139
|
class: "btn-close",
|
|
140
140
|
"test-id": "btnClose",
|
|
141
141
|
onClick: this.onCancel,
|
|
142
142
|
label: "tecton.element.modal.close",
|
|
143
143
|
"hide-label": !0
|
|
144
144
|
}, i("q2-icon", {
|
|
145
|
-
key: "
|
|
145
|
+
key: "b546a86894aa6b5dd3576a33eadfa63e21a13590",
|
|
146
146
|
type: "close"
|
|
147
147
|
}))), i("div", {
|
|
148
|
-
key: "
|
|
148
|
+
key: "cdc674c3cee4bca6bda0c60ca2c9f08f83ab4440",
|
|
149
149
|
class: "content",
|
|
150
150
|
ref: t => this.contentElement = t
|
|
151
151
|
}, this.icon && i("div", {
|
|
152
|
-
key: "
|
|
152
|
+
key: "8b8ffc983cecd2ddf1f912db7f00a6ed198a6b16",
|
|
153
153
|
class: "icon"
|
|
154
154
|
}, i("q2-icon", {
|
|
155
|
-
key: "
|
|
155
|
+
key: "cb3430c9216268ed7e8eeea85a83168b2d72ceb1",
|
|
156
156
|
type: this.icon
|
|
157
157
|
})), this.imageSrc && i("div", {
|
|
158
|
-
key: "
|
|
158
|
+
key: "eab34ebad157a6c81a0e24bc726505e3541eac05",
|
|
159
159
|
class: "image"
|
|
160
160
|
}, i("img", {
|
|
161
|
-
key: "
|
|
161
|
+
key: "cdf8e7a1c381a099d811241a410998e16405bda4",
|
|
162
162
|
src: this.imageSrc
|
|
163
163
|
})), n(this.hostElement, "content") && i("slot", {
|
|
164
|
-
key: "
|
|
164
|
+
key: "2674f81de64e3d6069e043f4c0a0db39d70f466a",
|
|
165
165
|
name: "content"
|
|
166
166
|
}), this.description && i("p", {
|
|
167
|
-
key: "
|
|
167
|
+
key: "8dc2a0b031812a6e65012df8d78e5ff3373c117e",
|
|
168
168
|
class: "description"
|
|
169
169
|
}, this.description), this.customMarkup && i("p", {
|
|
170
|
-
key: "
|
|
170
|
+
key: "218d120d1109cff6a1aa79e5b76befbca0ca5857",
|
|
171
171
|
class: "customMarkup",
|
|
172
172
|
innerHTML: c(this.customMarkup)
|
|
173
173
|
})), i("footer", {
|
|
174
|
-
key: "
|
|
174
|
+
key: "ffc5c49fbaabde579fda002a25ac893e798c07de"
|
|
175
175
|
}, i("q2-action-group", {
|
|
176
|
-
key: "
|
|
176
|
+
key: "295cde61c6e9851aab36f3903f892a5775aca76c",
|
|
177
177
|
"full-width": this.fullWidthButton
|
|
178
178
|
}, i("slot", {
|
|
179
|
-
key: "
|
|
179
|
+
key: "e8ece0f36c2647515d82e3cd21b9c36faf731fd2",
|
|
180
180
|
name: "action"
|
|
181
181
|
})))));
|
|
182
182
|
}
|
|
@@ -209,11 +209,11 @@ const g = b, defineCustomElement = function() {
|
|
|
209
209
|
break;
|
|
210
210
|
|
|
211
211
|
case "q2-action-group":
|
|
212
|
-
customElements.get(r(t)) ||
|
|
212
|
+
customElements.get(r(t)) || d();
|
|
213
213
|
break;
|
|
214
214
|
|
|
215
215
|
case "q2-btn":
|
|
216
|
-
customElements.get(r(t)) ||
|
|
216
|
+
customElements.get(r(t)) || l();
|
|
217
217
|
break;
|
|
218
218
|
|
|
219
219
|
case "q2-icon":
|
|
@@ -2,9 +2,9 @@ import { proxyCustomElement as t, HTMLElement as e, createEvent as n, h as o, tr
|
|
|
2
2
|
|
|
3
3
|
import { l as i, o as r } from "./index2.js";
|
|
4
4
|
|
|
5
|
-
import { d as
|
|
5
|
+
import { d as c } from "./q2-btn2.js";
|
|
6
6
|
|
|
7
|
-
import { d as
|
|
7
|
+
import { d as s } from "./q2-icon2.js";
|
|
8
8
|
|
|
9
9
|
import { d } from "./q2-loading2.js";
|
|
10
10
|
|
|
@@ -81,54 +81,54 @@ const l = t(class extends e {
|
|
|
81
81
|
// #region Render Methods
|
|
82
82
|
render() {
|
|
83
83
|
return o("div", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "6e90b90e7720649681c2e95debe81d823095ccd0",
|
|
85
85
|
class: "month-container",
|
|
86
86
|
onKeyDown: this.onMonthKeydown
|
|
87
87
|
}, o("div", {
|
|
88
|
-
key: "
|
|
88
|
+
key: "d1b83fce67fec3beacb73004a02d566f77a5729f",
|
|
89
89
|
class: "navigation"
|
|
90
90
|
}, o("q2-btn", {
|
|
91
|
-
key: "
|
|
91
|
+
key: "0772d6553ee3a75ca829755b3abc7d75ac0fa1aa",
|
|
92
92
|
class: "year-btn",
|
|
93
93
|
onClick: () => this.viewChange.emit({
|
|
94
94
|
view: "year",
|
|
95
95
|
selectedYear: this.year
|
|
96
96
|
})
|
|
97
97
|
}, o("span", {
|
|
98
|
-
key: "
|
|
98
|
+
key: "689e2643923973447a38063260943bfaf98f673c",
|
|
99
99
|
class: "year"
|
|
100
100
|
}, this.year), o("q2-icon", {
|
|
101
|
-
key: "
|
|
101
|
+
key: "590dcf2cf06e4980d70644b5be9e448cfe72abdc",
|
|
102
102
|
class: "year-icon off",
|
|
103
103
|
type: "chevron-down"
|
|
104
104
|
})), o("div", {
|
|
105
|
-
key: "
|
|
105
|
+
key: "3001ad6ece1c302809e27df855c921698b840c56",
|
|
106
106
|
class: "month-controller"
|
|
107
107
|
}, o("div", {
|
|
108
|
-
key: "
|
|
108
|
+
key: "23397576c55f2f5ad32c248459ce986d38f25e5d",
|
|
109
109
|
class: "cal-year-prev-next"
|
|
110
110
|
}, o("q2-btn", {
|
|
111
|
-
key: "
|
|
111
|
+
key: "8d38dd1bc2986e6c43b66c5cf3538adea921b259",
|
|
112
112
|
label: i("tecton.element.calendar.previousYear"),
|
|
113
113
|
"hide-label": !0,
|
|
114
114
|
class: "cal-nav-btn prev-year",
|
|
115
115
|
"test-id": "previousYearButton",
|
|
116
116
|
onClick: () => this.selectYear(this.year - 1)
|
|
117
117
|
}, o("q2-icon", {
|
|
118
|
-
key: "
|
|
118
|
+
key: "55f8e258f83c0209b76efb3798478409ee246133",
|
|
119
119
|
type: "arrow-left"
|
|
120
120
|
})), o("q2-btn", {
|
|
121
|
-
key: "
|
|
121
|
+
key: "578e4c4cd87cf3e25a09d55cb2c20ef0967d44bb",
|
|
122
122
|
label: i("tecton.element.calendar.nextYear"),
|
|
123
123
|
"hide-label": !0,
|
|
124
124
|
class: "cal-nav-btn next-year",
|
|
125
125
|
"test-id": "nextYearButton",
|
|
126
126
|
onClick: () => this.selectYear(this.year + 1)
|
|
127
127
|
}, o("q2-icon", {
|
|
128
|
-
key: "
|
|
128
|
+
key: "f2814f78597a04fca5617b3b59271d6c11221a5c",
|
|
129
129
|
type: "arrow-right"
|
|
130
130
|
}))))), o("div", {
|
|
131
|
-
key: "
|
|
131
|
+
key: "7843d1db40f82116c3f82f544ad045a1f7dabadb",
|
|
132
132
|
class: "month-list",
|
|
133
133
|
onClick: this.onMonthSelection
|
|
134
134
|
}, this.months.map(((t, e) => o("div", {
|
|
@@ -140,7 +140,7 @@ const l = t(class extends e {
|
|
|
140
140
|
"aria-label": t.label,
|
|
141
141
|
tabindex: e === this.focusedIndex ? 0 : -1
|
|
142
142
|
}, t.abbr))))), this.today && o("div", {
|
|
143
|
-
key: "
|
|
143
|
+
key: "71675483d7a2d770ad8f76b3540d47c10ebb0325",
|
|
144
144
|
class: "today-label"
|
|
145
145
|
}, i("tecton.element.calendar.today"), ": ", this.today));
|
|
146
146
|
}
|
|
@@ -168,11 +168,11 @@ const h = l, defineCustomElement = function() {
|
|
|
168
168
|
break;
|
|
169
169
|
|
|
170
170
|
case "q2-btn":
|
|
171
|
-
customElements.get(a(t)) ||
|
|
171
|
+
customElements.get(a(t)) || c();
|
|
172
172
|
break;
|
|
173
173
|
|
|
174
174
|
case "q2-icon":
|
|
175
|
-
customElements.get(a(t)) ||
|
|
175
|
+
customElements.get(a(t)) || s();
|
|
176
176
|
break;
|
|
177
177
|
|
|
178
178
|
case "q2-loading":
|
|
@@ -2,13 +2,13 @@ import { proxyCustomElement as t, HTMLElement as e, h as o, transformTag as r }
|
|
|
2
2
|
|
|
3
3
|
import { b as i } from "./component.js";
|
|
4
4
|
|
|
5
|
-
import { c as
|
|
5
|
+
import { c as a, l as n } from "./index2.js";
|
|
6
6
|
|
|
7
7
|
const s = t(class extends e {
|
|
8
8
|
constructor(t) {
|
|
9
9
|
super(), !1 !== t && this.__registerHost(), this.__attachShadow(),
|
|
10
10
|
// #region Own Properties
|
|
11
|
-
this.guid =
|
|
11
|
+
this.guid = a(),
|
|
12
12
|
// #endregion
|
|
13
13
|
// #region State Properties
|
|
14
14
|
this.hidden = !1,
|
|
@@ -55,20 +55,20 @@ const s = t(class extends e {
|
|
|
55
55
|
// #region Render Methods
|
|
56
56
|
render() {
|
|
57
57
|
return o("div", {
|
|
58
|
-
key: "
|
|
58
|
+
key: "829ae5ebec150734128c98343ddb8112de0ee21e",
|
|
59
59
|
class: "q2-optgroup-container",
|
|
60
60
|
hidden: this.hidden,
|
|
61
61
|
"aria-labelledby": this.headerId,
|
|
62
62
|
role: "group"
|
|
63
63
|
}, o("div", {
|
|
64
|
-
key: "
|
|
64
|
+
key: "6683155f922a2d15349f885aabac0bf9ee6a4575",
|
|
65
65
|
class: "q2-optgroup-header",
|
|
66
66
|
id: this.headerId
|
|
67
|
-
}, this.label &&
|
|
68
|
-
key: "
|
|
67
|
+
}, this.label && n(this.label) || ""), o("div", {
|
|
68
|
+
key: "b974da306256b13283183fa03e4dc8bcc8be3f44",
|
|
69
69
|
class: "q2-optgroup-options"
|
|
70
70
|
}, o("slot", {
|
|
71
|
-
key: "
|
|
71
|
+
key: "2f0035aad12309be2c5c4ea3125077cc704e65e4"
|
|
72
72
|
})));
|
|
73
73
|
}
|
|
74
74
|
get hostElement() {
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as s, Ho
|
|
|
2
2
|
|
|
3
3
|
import { b as a } from "./component.js";
|
|
4
4
|
|
|
5
|
-
import { l as
|
|
5
|
+
import { l as r, n as h, o as l, i as c, w as d, t as p } from "./index2.js";
|
|
6
6
|
|
|
7
7
|
import { m as u } from "./mirror-emit.js";
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ const b = t(class extends e {
|
|
|
15
15
|
lastPressedAt: new Date
|
|
16
16
|
}, this.scheduledAfterRender = [],
|
|
17
17
|
/** Determines the label that is applied to the option list for accessibility purposes. */
|
|
18
|
-
this.label =
|
|
18
|
+
this.label = r("tecton.element.optionList.label"),
|
|
19
19
|
/** A list of the selected options on the element. */
|
|
20
20
|
this.selectedOptions = [],
|
|
21
21
|
/** Translates to the role of the option list */
|
|
@@ -42,7 +42,7 @@ const b = t(class extends e {
|
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
"menu" === this.type ? (this.activeIndex = 0, this.openDropdownWithActiveElement(0)) : (this.setDefaultActiveElement(),
|
|
45
|
-
|
|
45
|
+
h((() => this.popoverState.emit({
|
|
46
46
|
open: !0,
|
|
47
47
|
action: "open"
|
|
48
48
|
}))));
|
|
@@ -50,7 +50,7 @@ const b = t(class extends e {
|
|
|
50
50
|
|
|
51
51
|
case "Enter":
|
|
52
52
|
"menu" === this.type ? (this.activeIndex = 0, this.openDropdownWithActiveElement(0)) : (this.setDefaultActiveElement(),
|
|
53
|
-
|
|
53
|
+
h((() => this.popoverState.emit({
|
|
54
54
|
open: !0,
|
|
55
55
|
action: "open"
|
|
56
56
|
}))));
|
|
@@ -111,8 +111,8 @@ const b = t(class extends e {
|
|
|
111
111
|
(i || s) && t.stopPropagation();
|
|
112
112
|
}, this.internalKeydownHandler = t => {
|
|
113
113
|
t.stopPropagation();
|
|
114
|
-
const {activeIndex: e, customSearch: i, allOptions: s, allVisibleOptions: n, multiple: o} = this, {key: a, shiftKey:
|
|
115
|
-
let
|
|
114
|
+
const {activeIndex: e, customSearch: i, allOptions: s, allVisibleOptions: n, multiple: o} = this, {key: a, shiftKey: r} = t;
|
|
115
|
+
let h;
|
|
116
116
|
switch (a) {
|
|
117
117
|
case " ":
|
|
118
118
|
if (this.searchString && !this.multiple) {
|
|
@@ -120,8 +120,8 @@ const b = t(class extends e {
|
|
|
120
120
|
this.searchOptions(a, !1);
|
|
121
121
|
break;
|
|
122
122
|
}
|
|
123
|
-
if (
|
|
124
|
-
if (this.selectOption(
|
|
123
|
+
if (h = s.find((t => t.active)), !h || h.disabled) break;
|
|
124
|
+
if (this.selectOption(h), o) break;
|
|
125
125
|
this.hostElement.addEventListener("tctClick", (() => {
|
|
126
126
|
this.popoverState.emit({
|
|
127
127
|
open: !1,
|
|
@@ -133,8 +133,8 @@ const b = t(class extends e {
|
|
|
133
133
|
break;
|
|
134
134
|
|
|
135
135
|
case "Enter":
|
|
136
|
-
if (
|
|
137
|
-
if (this.selectOption(
|
|
136
|
+
if (h = s.find((t => t.active)), !h || h.disabled) break;
|
|
137
|
+
if (this.selectOption(h), o) break;
|
|
138
138
|
this.hostElement.addEventListener("tctClick", (() => {
|
|
139
139
|
this.popoverState.emit({
|
|
140
140
|
open: !1,
|
|
@@ -148,8 +148,8 @@ const b = t(class extends e {
|
|
|
148
148
|
case "ArrowUp":
|
|
149
149
|
case "ArrowDown":
|
|
150
150
|
// Guard: only process if an option is currently focused
|
|
151
|
-
const
|
|
152
|
-
if (!this.allOptions.some((t => t ===
|
|
151
|
+
const l = document.activeElement;
|
|
152
|
+
if (!this.allOptions.some((t => t === l))) return;
|
|
153
153
|
if (t.preventDefault(), "ArrowUp" === a) {
|
|
154
154
|
if (n[0].active) break;
|
|
155
155
|
if (void 0 === e) {
|
|
@@ -192,7 +192,7 @@ const b = t(class extends e {
|
|
|
192
192
|
break;
|
|
193
193
|
|
|
194
194
|
case "Tab":
|
|
195
|
-
if (
|
|
195
|
+
if (r) break;
|
|
196
196
|
if (this.multiple && "listbox" === this.type) break;
|
|
197
197
|
if ("menu" === this.type) {
|
|
198
198
|
this.popoverState.emit({
|
|
@@ -201,8 +201,8 @@ const b = t(class extends e {
|
|
|
201
201
|
});
|
|
202
202
|
break;
|
|
203
203
|
}
|
|
204
|
-
if (
|
|
205
|
-
this.selectOption(
|
|
204
|
+
if (h = s.find((t => t.active)), !h || h.disabled) return;
|
|
205
|
+
this.selectOption(h);
|
|
206
206
|
break;
|
|
207
207
|
|
|
208
208
|
case "Esc":
|
|
@@ -257,7 +257,7 @@ const b = t(class extends e {
|
|
|
257
257
|
this.hasOptions = !!this.hostElement.querySelectorAll("q2-option:not([separator]):not([separator=true]), q2-dropdown-item:not([separator]):not([separator=true])").length;
|
|
258
258
|
}
|
|
259
259
|
componentDidLoad() {
|
|
260
|
-
|
|
260
|
+
l(this.hostElement), this.checkOptions(), this.selectedOptionsUpdated(), this.ready.emit();
|
|
261
261
|
}
|
|
262
262
|
componentDidRender() {
|
|
263
263
|
this.scheduledAfterRender.forEach((t => t())), this.scheduledAfterRender = [];
|
|
@@ -268,7 +268,7 @@ const b = t(class extends e {
|
|
|
268
268
|
t.stopPropagation();
|
|
269
269
|
}
|
|
270
270
|
delegateFocus(t) {
|
|
271
|
-
if (!
|
|
271
|
+
if (!c(t, this.hostElement)) return;
|
|
272
272
|
this.popoverState.emit({
|
|
273
273
|
open: !0,
|
|
274
274
|
action: "open"
|
|
@@ -323,10 +323,25 @@ const b = t(class extends e {
|
|
|
323
323
|
const {type: t} = this;
|
|
324
324
|
if (!t) return;
|
|
325
325
|
const e = "menu" === t ? "menuitem" : "option";
|
|
326
|
-
this.allOptions.forEach((
|
|
327
|
-
|
|
326
|
+
this.allOptions.forEach((i => {
|
|
327
|
+
// iOS 26 bug: setting role="menuitem" on the q2-dropdown-item host prevents VoiceOver from announcing the option name.
|
|
328
|
+
"menu" === t && "q2-dropdown-item" === i.tagName.toLowerCase() || (i.role = e);
|
|
328
329
|
}));
|
|
329
330
|
}
|
|
331
|
+
findScrollableAncestor(t) {
|
|
332
|
+
var i, s;
|
|
333
|
+
let n = t;
|
|
334
|
+
for (;n; ) {
|
|
335
|
+
if (n instanceof e && n !== t) {
|
|
336
|
+
const t = getComputedStyle(n).overflowY;
|
|
337
|
+
// Skip html/body so page-level scroll isn't treated as our container.
|
|
338
|
+
if (("auto" === t || "scroll" === t) && n !== document.documentElement && n !== document.body) return n;
|
|
339
|
+
}
|
|
340
|
+
const o = n.assignedSlot, a = n.parentNode, r = n.host;
|
|
341
|
+
n = null !== (s = null !== (i = null != o ? o : a) && void 0 !== i ? i : r) && void 0 !== s ? s : null;
|
|
342
|
+
}
|
|
343
|
+
return null;
|
|
344
|
+
}
|
|
330
345
|
focusSelectedSibling(t) {
|
|
331
346
|
const {allVisibleOptions: e, allOptions: i} = this;
|
|
332
347
|
if (e.length < 2) return void (this.showSelected = !1);
|
|
@@ -368,10 +383,16 @@ const b = t(class extends e {
|
|
|
368
383
|
scrollToActiveOption() {
|
|
369
384
|
const t = this.allOptions[this.activeIndex];
|
|
370
385
|
if (!t) return;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
386
|
+
// Do our own scroll math so `scrollIntoView` doesn't cascade to the parent window in an SDK iframe.
|
|
387
|
+
const e = this.findScrollableAncestor(t);
|
|
388
|
+
if (e) {
|
|
389
|
+
if (e.scrollHeight > e.clientHeight) {
|
|
390
|
+
const i = t.getBoundingClientRect(), s = e.getBoundingClientRect(), n = i.top - s.top + i.height / 2;
|
|
391
|
+
e.scrollTop += n - s.height / 2;
|
|
392
|
+
}
|
|
393
|
+
} else t.scrollIntoView({
|
|
394
|
+
block: "nearest"
|
|
395
|
+
});
|
|
375
396
|
}
|
|
376
397
|
searchOptions(t, e) {
|
|
377
398
|
this.searchString = t, this.searchAndFocus(t, e);
|
|
@@ -383,15 +404,15 @@ const b = t(class extends e {
|
|
|
383
404
|
value: n,
|
|
384
405
|
display: o
|
|
385
406
|
};
|
|
386
|
-
let
|
|
407
|
+
let r = [];
|
|
387
408
|
if (e) {
|
|
388
409
|
const {selectedOptions: e} = this;
|
|
389
|
-
|
|
410
|
+
r = e.find((t => t.value === n)) ? e.filter((({value: t}) => t !== n)) : [ ...e, a ],
|
|
390
411
|
s && this.focusSelectedSibling(t);
|
|
391
|
-
} else
|
|
392
|
-
i ? this.setActiveElement(null) : this.selectedOptions =
|
|
412
|
+
} else r = [ a ];
|
|
413
|
+
i ? this.setActiveElement(null) : this.selectedOptions = r, u(this, [ "change", "tctChange" ], {
|
|
393
414
|
value: n,
|
|
394
|
-
values:
|
|
415
|
+
values: r
|
|
395
416
|
});
|
|
396
417
|
}
|
|
397
418
|
setActiveOption() {
|
|
@@ -405,7 +426,7 @@ const b = t(class extends e {
|
|
|
405
426
|
if (!t) return;
|
|
406
427
|
p(t) ? t.focus({
|
|
407
428
|
preventScroll: !0
|
|
408
|
-
}) :
|
|
429
|
+
}) : h((() => t.focus({
|
|
409
430
|
preventScroll: !0
|
|
410
431
|
})));
|
|
411
432
|
}
|
|
@@ -426,22 +447,22 @@ const b = t(class extends e {
|
|
|
426
447
|
// #region Render Methods
|
|
427
448
|
render() {
|
|
428
449
|
return s(n, {
|
|
429
|
-
key: "
|
|
450
|
+
key: "19cadb5668db33a912951df4ec0e81a74b2b78ce"
|
|
430
451
|
}, s("div", {
|
|
431
|
-
key: "
|
|
452
|
+
key: "1d5a8f310ee97bc2189b839ee3d87e08bf0fa269",
|
|
432
453
|
class: "content",
|
|
433
454
|
ref: t => this.contentElement = t,
|
|
434
455
|
onFocusout: this.focusoutHandler
|
|
435
456
|
}, s("div", {
|
|
436
|
-
key: "
|
|
457
|
+
key: "24b1616962a9b544fb6215acc1e6edb4f12a5a03",
|
|
437
458
|
class: "options",
|
|
438
|
-
"aria-label":
|
|
459
|
+
"aria-label": r("tecton.element.optionList.label", [ this.label ]),
|
|
439
460
|
"aria-multiselectable": "menu" === this.type ? void 0 : this.multiple ? "true" : void 0,
|
|
440
461
|
role: this.type || "listbox",
|
|
441
462
|
onKeyDown: this.internalKeydownHandler,
|
|
442
463
|
onClick: this.clickHandler
|
|
443
464
|
}, s("slot", {
|
|
444
|
-
key: "
|
|
465
|
+
key: "eeb0342b7c319f5f5af95daa54dcaa732c3159d9"
|
|
445
466
|
}))));
|
|
446
467
|
}
|
|
447
468
|
get hostElement() {
|
|
@@ -291,7 +291,7 @@ const f = t(class extends e {
|
|
|
291
291
|
block: !0,
|
|
292
292
|
class: "send-code-button",
|
|
293
293
|
disabled: this.disabled,
|
|
294
|
-
intent: "
|
|
294
|
+
intent: "primary",
|
|
295
295
|
label: this.localizedSendCodeLabel,
|
|
296
296
|
onClick: this.handleSendCodeClick,
|
|
297
297
|
ref: t => this.sendCodeRef = t
|
|
@@ -309,7 +309,7 @@ const f = t(class extends e {
|
|
|
309
309
|
block: !0,
|
|
310
310
|
class: "submit-button",
|
|
311
311
|
disabled: this.disabled || !this.isComplete,
|
|
312
|
-
intent: "
|
|
312
|
+
intent: "primary",
|
|
313
313
|
label: this.isVerifying ? this.localizedProcessingLabel : this.localizedSubmitLabel,
|
|
314
314
|
loading: this.isVerifying,
|
|
315
315
|
onClick: this.handleSubmitClick
|
|
@@ -317,7 +317,7 @@ const f = t(class extends e {
|
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
319
|
return i("div", {
|
|
320
|
-
key: "
|
|
320
|
+
key: "8f4ada9f194f1b0995995e946097b3e24a11f605",
|
|
321
321
|
"aria-busy": this.isVerifying ? "true" : void 0,
|
|
322
322
|
"aria-labelledby": this.label ? this.labelId : void 0,
|
|
323
323
|
class: {
|
|
@@ -331,22 +331,22 @@ const f = t(class extends e {
|
|
|
331
331
|
},
|
|
332
332
|
role: "group"
|
|
333
333
|
}, this.renderSendCodeButton(), i("div", {
|
|
334
|
-
key: "
|
|
334
|
+
key: "099e1ef5ccc09846faf9952772e61ff7644e5085",
|
|
335
335
|
class: {
|
|
336
336
|
"otp-content": !0,
|
|
337
337
|
"send-code-hidden": "ready" === this.state
|
|
338
338
|
}
|
|
339
339
|
}, this.renderLabel(), i("div", {
|
|
340
|
-
key: "
|
|
340
|
+
key: "5ad6ff061779de6562f523148459729d73bbf53a",
|
|
341
341
|
class: "otp-control-group"
|
|
342
342
|
}, i("div", {
|
|
343
|
-
key: "
|
|
343
|
+
key: "d60e93f2d79d0f4b0348a5b581647ece89e9973c",
|
|
344
344
|
class: "fields-shell"
|
|
345
345
|
}, i("div", {
|
|
346
|
-
key: "
|
|
346
|
+
key: "55b515c8a04e664024dcc66e4d894dcb0ddd4ca4",
|
|
347
347
|
class: "fields-container"
|
|
348
348
|
}, i("input", {
|
|
349
|
-
key: "
|
|
349
|
+
key: "b8319da6e91ea06ff5632c72326460c0e532393d",
|
|
350
350
|
"aria-describedby": this.describedBy,
|
|
351
351
|
"aria-invalid": "error" === this.state ? "true" : "false",
|
|
352
352
|
"aria-label": this.inputAriaLabel,
|