q2-tecton-elements 1.72.0 → 1.73.1
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 +39545 -34361
- 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 +34 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +3 -3
- 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 +3 -3
- 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 +12 -6
- package/dist/cjs/q2-pill.cjs.entry.js +8 -5
- 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 +34 -1
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +79 -4
- 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/formatting/phone-number-formats.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.css +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-message/test/q2-message-test.vr.js +11 -2
- 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.css +17 -0
- package/dist/collection/components/q2-pagination/q2-pagination.js +10 -4
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +39 -0
- package/dist/collection/components/q2-pill/q2-pill.css +14 -10
- package/dist/collection/components/q2-pill/q2-pill.js +6 -3
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +25 -0
- 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 +41 -27
- 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 +6 -6
- 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 +10 -10
- 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 +70 -68
- package/dist/components/q2-pill.js +51 -46
- 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 +1 -1
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +17 -17
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-pane.js +29 -29
- 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 +21 -21
- package/dist/components/q2-tab-pane.js +6 -6
- 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 +34 -1
- package/dist/esm/q2-badge_2.entry.js +3 -3
- 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 +3 -3
- 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 +12 -6
- package/dist/esm/q2-pill.entry.js +8 -5
- 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 +24 -10
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +6 -6
- 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 +29 -29
- 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 +51 -49
- package/dist/q2-tecton-elements/q2-pill.entry.js +22 -17
- 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 +6 -6
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-search.entry.js +31 -31
- 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 +10 -10
- 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 +15 -15
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
- 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 +9 -9
- 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-avatar/q2-avatar.d.ts +5 -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,10 +1,10 @@
|
|
|
1
|
-
import { proxyCustomElement as o, HTMLElement as t, createEvent as i, h as e, transformTag as
|
|
1
|
+
import { proxyCustomElement as o, HTMLElement as t, createEvent as i, h as e, transformTag as n } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { f as r, w as s, u as p, v as a, d as l } from "./index2.js";
|
|
4
4
|
|
|
5
|
-
import { m as
|
|
5
|
+
import { m as h } from "./mirror-emit.js";
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const c = o(class extends t {
|
|
8
8
|
constructor(o) {
|
|
9
9
|
super(), !1 !== o && this.__registerHost(), this.__attachShadow(), this.popoverStateChanged = i(this, "popoverStateChanged", 7),
|
|
10
10
|
this.tctPopoverStateChanged = i(this, "tctPopoverStateChanged", 7),
|
|
@@ -12,6 +12,7 @@ const h = o(class extends t {
|
|
|
12
12
|
* The number of pixels to leave between the popover and the edge of the viewport
|
|
13
13
|
*/
|
|
14
14
|
this.displayBuffer = 10, this.orientationChanged = !1, this.pendingAnimationResolve = null,
|
|
15
|
+
this.platformScrollUnsubscribe = null,
|
|
15
16
|
// #endregion
|
|
16
17
|
// #region State Properties
|
|
17
18
|
this.animationState = "idle", this.currentDirection = void 0,
|
|
@@ -20,10 +21,17 @@ const h = o(class extends t {
|
|
|
20
21
|
// #endregion
|
|
21
22
|
// #region Public Property API
|
|
22
23
|
/** Aligns the popover to the left or right side of the control element. */
|
|
23
|
-
this.align = "left", this.mode = null, this.
|
|
24
|
-
|
|
24
|
+
this.align = "left", this.mode = null, this.handleInsideScroll = o => {
|
|
25
|
+
const {containerElement: t} = this;
|
|
26
|
+
t && (t.scrollHeight > t.clientHeight || o.preventDefault());
|
|
27
|
+
}, this.handleMinHeight = () => {
|
|
28
|
+
this.minHeight && r(this, "minHeight", "prop");
|
|
29
|
+
}, this.handleOutsideScroll = o => {
|
|
30
|
+
this.open && (o.composedPath().includes(this.hostElement) || (this.open = !1));
|
|
31
|
+
}, this.handlePlatformScroll = () => {
|
|
32
|
+
this.open && (this.open = !1);
|
|
25
33
|
}, this.handlePopoverToggleEvent = o => {
|
|
26
|
-
|
|
34
|
+
h(this, [ "popoverStateChanged", "tctPopoverStateChanged" ], {
|
|
27
35
|
open: "open" === o.newState
|
|
28
36
|
});
|
|
29
37
|
}, this.setAbsoluteCSSProperties = async () => {
|
|
@@ -36,26 +44,26 @@ const h = o(class extends t {
|
|
|
36
44
|
t.style.setProperty("--comp-pop-bottom", `${e}px`);
|
|
37
45
|
}
|
|
38
46
|
// Wait for one paint to prevent layout thrashing
|
|
39
|
-
await
|
|
47
|
+
await s(), this.containerElement && t.style.setProperty("--comp-pop-opacity", "1");
|
|
40
48
|
}
|
|
41
49
|
}, this.setPopoverAPICSSProperties = async () => {
|
|
42
50
|
var o, t, i;
|
|
43
|
-
const {controlElement: e, containerElement:
|
|
44
|
-
if (!
|
|
45
|
-
const {top:
|
|
51
|
+
const {controlElement: e, containerElement: n, currentDirection: r, isModule: l, align: h} = this;
|
|
52
|
+
if (!n) return;
|
|
53
|
+
const {top: c, bottom: d, left: m, right: v} = null !== (t = null === (o = null == e ? void 0 : e.getBoundingClientRect) || void 0 === o ? void 0 : o.call(e)) && void 0 !== t ? t : {
|
|
46
54
|
top: 0,
|
|
47
55
|
bottom: 0,
|
|
48
56
|
left: 0,
|
|
49
57
|
right: 0
|
|
50
|
-
}, u = m, w = (null === (i = null === window || void 0 === window ? void 0 : window.visualViewport) || void 0 === i ? void 0 : i.width) - v,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
}, u = m, w = (null === (i = null === window || void 0 === window ? void 0 : window.visualViewport) || void 0 === i ? void 0 : i.width) - v, b = p(e), g = b ? 0 : window.scrollX, f = b ? 0 : window.scrollY;
|
|
59
|
+
n.style.setProperty("--comp-pop-position", b ? "fixed" : "absolute"), "right" === h ? (n.style.setProperty("--comp-pop-right", w - g + "px"),
|
|
60
|
+
n.style.setProperty("--comp-pop-left", "unset")) : (n.style.setProperty("--comp-pop-left", `${u + g}px`),
|
|
61
|
+
n.style.setProperty("--comp-pop-right", "unset")), this.block && n.style.setProperty("--comp-pop-width", `${(null == e ? void 0 : e.offsetWidth) || 0}px`);
|
|
54
62
|
const x = l && a(this.hostElement);
|
|
55
|
-
"up" ===
|
|
56
|
-
"down" ===
|
|
63
|
+
"up" === r && (l && !x ? n.style.setProperty("--comp-pop-top", `${c}px`) : n.style.setProperty("--comp-pop-top", `${c + f}px`)),
|
|
64
|
+
"down" === r && (l && !x ? n.style.setProperty("--comp-pop-top", `${d}px`) : n.style.setProperty("--comp-pop-top", `${d + f}px`)),
|
|
57
65
|
// Wait for one paint to prevent layout thrashing
|
|
58
|
-
await
|
|
66
|
+
await s(), this.containerElement && n.style.setProperty("--comp-pop-opacity", "1");
|
|
59
67
|
}, this.viewPortChanged = () => {
|
|
60
68
|
this.open && this.determinePopDirection();
|
|
61
69
|
}, this.viewPortOrientationChanged = () => {
|
|
@@ -77,7 +85,7 @@ const h = o(class extends t {
|
|
|
77
85
|
componentDidLoad() {
|
|
78
86
|
var o;
|
|
79
87
|
this.handleMinHeight(), this.supportsPopoverAPI && (null === (o = this.containerElement) || void 0 === o || o.addEventListener("toggle", this.handlePopoverToggleEvent)),
|
|
80
|
-
this.open && this.determinePopDirection();
|
|
88
|
+
this.open && (this.addViewportListeners(), this.determinePopDirection());
|
|
81
89
|
}
|
|
82
90
|
// #endregion
|
|
83
91
|
// #region Listeners
|
|
@@ -101,7 +109,7 @@ const h = o(class extends t {
|
|
|
101
109
|
}
|
|
102
110
|
async openChanged(o) {
|
|
103
111
|
var t;
|
|
104
|
-
if (
|
|
112
|
+
if (h(this, [ "popoverStateChanged", "tctPopoverStateChanged" ], {
|
|
105
113
|
open: o
|
|
106
114
|
}), o) this.animationState = "opening", this.addViewportListeners(), this.determinePopDirection(); else {
|
|
107
115
|
if (this.animationState = "closing", this.removeViewportListeners(),
|
|
@@ -118,7 +126,7 @@ const h = o(class extends t {
|
|
|
118
126
|
if (!this.containerElement) return;
|
|
119
127
|
if (this.open) return;
|
|
120
128
|
this.currentDirection = void 0, this.animationState = "idle", "legacy" !== this.mode && this.supportsPopoverAPI ? null === (t = this.containerElement) || void 0 === t || t.hidePopover() : this.show = !1,
|
|
121
|
-
await
|
|
129
|
+
await s(), this.clearCSSProperties();
|
|
122
130
|
}
|
|
123
131
|
}
|
|
124
132
|
// #endregion
|
|
@@ -147,13 +155,21 @@ const h = o(class extends t {
|
|
|
147
155
|
return isNaN(o) ? void 0 : o;
|
|
148
156
|
}
|
|
149
157
|
addViewportListeners() {
|
|
150
|
-
var o;
|
|
151
|
-
window.addEventListener("resize", this.viewPortOrientationChanged), null === visualViewport || void 0 ===
|
|
158
|
+
var o, t, i, e, n, r, s, p, h, c, d;
|
|
159
|
+
window.addEventListener("resize", this.viewPortOrientationChanged), null === (t = null === (o = window.visualViewport) || void 0 === o ? void 0 : o.addEventListener) || void 0 === t || t.call(o, "resize", this.viewPortChanged),
|
|
152
160
|
a(this.hostElement) && !l() && window.addEventListener("scroll", this.viewPortChanged, {
|
|
153
161
|
passive: !0,
|
|
154
162
|
capture: !0
|
|
155
|
-
}), null === (
|
|
156
|
-
window.addEventListener("orientationchange", this.viewPortOrientationChanged)
|
|
163
|
+
}), null === (n = null === (e = null === (i = window.screen) || void 0 === i ? void 0 : i.orientation) || void 0 === e ? void 0 : e.addEventListener) || void 0 === n || n.call(e, "orientationchange", this.viewPortOrientationChanged),
|
|
164
|
+
window.addEventListener("orientationchange", this.viewPortOrientationChanged), l() || window.addEventListener("scroll", this.handleOutsideScroll, {
|
|
165
|
+
passive: !0,
|
|
166
|
+
capture: !0
|
|
167
|
+
}), null === (r = this.containerElement) || void 0 === r || r.addEventListener("wheel", this.handleInsideScroll, {
|
|
168
|
+
passive: !1
|
|
169
|
+
}), null === (s = this.containerElement) || void 0 === s || s.addEventListener("touchmove", this.handleInsideScroll, {
|
|
170
|
+
passive: !1
|
|
171
|
+
}), null === (p = this.platformScrollUnsubscribe) || void 0 === p || p.call(this),
|
|
172
|
+
this.platformScrollUnsubscribe = null !== (d = null === (c = null === (h = window.TectonElements) || void 0 === h ? void 0 : h.platformScrollChanged) || void 0 === c ? void 0 : c.call(h, this.handlePlatformScroll)) && void 0 !== d ? d : null;
|
|
157
173
|
}
|
|
158
174
|
clearCSSProperties() {
|
|
159
175
|
this.containerElement && (this.containerElement.style.removeProperty("--comp-pop-max-height"),
|
|
@@ -164,49 +180,54 @@ const h = o(class extends t {
|
|
|
164
180
|
}
|
|
165
181
|
async determinePopDirection() {
|
|
166
182
|
var o, t, i, e;
|
|
167
|
-
const {containerElement:
|
|
168
|
-
if (
|
|
169
|
-
const {isModule:
|
|
183
|
+
const {containerElement: n, controlElement: r, providedDirection: p, displayBuffer: l} = this;
|
|
184
|
+
if (n && (n.style.maxHeight = null), await s(), !this.containerElement) return;
|
|
185
|
+
const {isModule: h} = this, {top: c, bottom: d} = null !== (t = null === (o = null == r ? void 0 : r.getBoundingClientRect) || void 0 === o ? void 0 : o.call(r)) && void 0 !== t ? t : {
|
|
170
186
|
top: 0,
|
|
171
187
|
bottom: 0
|
|
172
188
|
};
|
|
173
189
|
let m, v, u;
|
|
174
|
-
const w =
|
|
175
|
-
if (
|
|
176
|
-
const {outletOffset: o = 0, innerHeight: t = window.innerHeight, top: e = 0, bottom:
|
|
177
|
-
v = (o > 0 ?
|
|
190
|
+
const w = h && a(this.hostElement);
|
|
191
|
+
if (h && !w) {
|
|
192
|
+
const {outletOffset: o = 0, innerHeight: t = window.innerHeight, top: e = 0, bottom: n = 0} = (null === (i = window.Tecton) || void 0 === i ? void 0 : i.platformDimensions) || {}, r = window.innerHeight - d, s = t - n - (o + d - e);
|
|
193
|
+
v = (o > 0 ? c : c + o - e) - l, u = r < s ? r - l : s - l;
|
|
178
194
|
} else {
|
|
179
195
|
const {height: o = window.innerHeight, offsetTop: t = 0} = null !== (e = window.visualViewport) && void 0 !== e ? e : {};
|
|
180
|
-
m = o, v =
|
|
196
|
+
m = o, v = c - t - l, u = t + m - d - l;
|
|
181
197
|
}
|
|
182
|
-
const
|
|
198
|
+
const b = v > u ? "up" : "down", g = !(null == n ? void 0 : n.style.getPropertyValue("--comp-pop-max-height")) || this.orientationChanged;
|
|
183
199
|
// We do not want to update the max height once the popover is open unless the page orientation shifts (resize or mobile use cases)
|
|
184
200
|
// we do not want to constantly update the max-height after an orientation change, so we switch this back to false
|
|
185
201
|
this.orientationChanged = !1;
|
|
186
|
-
switch (this.currentDirection ||
|
|
202
|
+
switch (this.currentDirection || p || b) {
|
|
187
203
|
case "up":
|
|
188
|
-
if (
|
|
204
|
+
if (g && n) {
|
|
189
205
|
const o = this.validatedMaxHeight || v, t = Math.min(v, o);
|
|
190
|
-
|
|
206
|
+
n.style.setProperty("--comp-pop-max-height", `${t}px`);
|
|
191
207
|
}
|
|
192
208
|
this.setDirectionAndShow("up");
|
|
193
209
|
break;
|
|
194
210
|
|
|
195
211
|
case "down":
|
|
196
|
-
if (
|
|
212
|
+
if (g && n) {
|
|
197
213
|
const o = this.validatedMaxHeight || u, t = Math.min(u, o);
|
|
198
|
-
|
|
214
|
+
n.style.setProperty("--comp-pop-max-height", `${t}px`);
|
|
199
215
|
}
|
|
200
216
|
this.setDirectionAndShow("down");
|
|
201
217
|
}
|
|
202
218
|
}
|
|
203
219
|
removeViewportListeners() {
|
|
204
|
-
var o;
|
|
205
|
-
window.removeEventListener("resize", this.viewPortOrientationChanged), null === visualViewport || void 0 ===
|
|
220
|
+
var o, t, i, e, n, r, s, p;
|
|
221
|
+
window.removeEventListener("resize", this.viewPortOrientationChanged), null === (t = null === (o = window.visualViewport) || void 0 === o ? void 0 : o.removeEventListener) || void 0 === t || t.call(o, "resize", this.viewPortChanged),
|
|
206
222
|
window.removeEventListener("scroll", this.viewPortChanged, {
|
|
207
223
|
capture: !0
|
|
208
|
-
}), null === (
|
|
209
|
-
window.removeEventListener("orientationchange", this.viewPortOrientationChanged)
|
|
224
|
+
}), null === (n = null === (e = null === (i = window.screen) || void 0 === i ? void 0 : i.orientation) || void 0 === e ? void 0 : e.removeEventListener) || void 0 === n || n.call(e, "orientationchange", this.viewPortOrientationChanged),
|
|
225
|
+
window.removeEventListener("orientationchange", this.viewPortOrientationChanged),
|
|
226
|
+
window.removeEventListener("scroll", this.handleOutsideScroll, {
|
|
227
|
+
capture: !0
|
|
228
|
+
}), null === (r = this.containerElement) || void 0 === r || r.removeEventListener("wheel", this.handleInsideScroll),
|
|
229
|
+
null === (s = this.containerElement) || void 0 === s || s.removeEventListener("touchmove", this.handleInsideScroll),
|
|
230
|
+
null === (p = this.platformScrollUnsubscribe) || void 0 === p || p.call(this), this.platformScrollUnsubscribe = null;
|
|
210
231
|
}
|
|
211
232
|
setDirectionAndShow(o) {
|
|
212
233
|
var t;
|
|
@@ -223,18 +244,18 @@ const h = o(class extends t {
|
|
|
223
244
|
return l() && o.push("mobile"), this.show && o.push("show"), this.block && o.push("block"),
|
|
224
245
|
"legacy" === this.mode && o.push("legacy"), "opening" === this.animationState && o.push("animating-open"),
|
|
225
246
|
"closing" === this.animationState && o.push("animating-close"), e("div", {
|
|
226
|
-
key: "
|
|
247
|
+
key: "f608766723c6ae6737181318b5baf8b52ed7fc0f",
|
|
227
248
|
ref: o => this.containerElement = o,
|
|
228
249
|
class: o.join(" "),
|
|
229
250
|
"test-id": "outerContainer",
|
|
230
251
|
tabIndex: -1,
|
|
231
252
|
popover: "manual"
|
|
232
253
|
}, e("div", {
|
|
233
|
-
key: "
|
|
254
|
+
key: "477f1a209cf4abc984a82324d0c6fc07ede82160",
|
|
234
255
|
ref: o => this.contentElement = o,
|
|
235
256
|
class: "content"
|
|
236
257
|
}, e("slot", {
|
|
237
|
-
key: "
|
|
258
|
+
key: "5b48ff13907b952a2cdcffc1b6e271e4982c78ad"
|
|
238
259
|
})));
|
|
239
260
|
}
|
|
240
261
|
get hostElement() {
|
|
@@ -251,7 +272,7 @@ const h = o(class extends t {
|
|
|
251
272
|
};
|
|
252
273
|
}
|
|
253
274
|
static get style() {
|
|
254
|
-
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}.legacy.container{display:none}.legacy.show{display:block;z-index:var(--tct-popover-z-index, 50)}@keyframes popoverOpen{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}@keyframes popoverClose{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}:popover-open,.show{position:var(--comp-pop-position, absolute);margin:0;padding:var(--tct-popover-padding, 0);overflow:auto;background:var(--tct-popover-background, var(--app-white, #ffffff));backdrop-filter:var(--tct-popover-backdrop-filter, none);color:var(--tct-popover-font-color, inherit);min-width:var(--tct-popover-min-width, 135px);width:var(--tct-popover-width, auto);margin-block:var(--tct-popover-margin-block, 0);box-shadow:var(--tct-popover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));border-width:var(--tct-popover-border-width, 0);border-style:solid;border-color:var(--tct-popover-border-color, transparent);border-radius:var(--tct-popover-border-radius, 0);max-height:var(--comp-pop-max-height);left:var(--comp-pop-left);opacity:var(--comp-pop-opacity, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}:popover-open.animating-open,.show.animating-open{animation-name:popoverOpen;animation-duration:var(--tct-popover-open-animation-duration, var(--t-tween-time-in-1, 150ms));animation-timing-function:var(--tct-popover-open-animation-timing-function, ease-out);animation-fill-mode:var(--tct-popover-open-animation-fill-mode, forwards)}:popover-open.animating-close,.show.animating-close{animation-name:popoverClose;animation-duration:var(--tct-popover-close-animation-duration, var(--t-tween-time-out-1, 100ms));animation-timing-function:var(--tct-popover-close-animation-timing-function, ease-in);animation-fill-mode:var(--tct-popover-close-animation-fill-mode, forwards)}:popover-open.block,.show.block{right:unset;width:var(--comp-pop-width);min-width:var(--tct-popover-min-width, unset)}:popover-open.left,.show.left{left:var(--comp-pop-left);right:unset}:popover-open.right,.show.right{right:var(--comp-pop-right);left:unset}:popover-open.down,.show.down{top:var(--tct-popover-top, var(--comp-pop-top));bottom:unset}:popover-open.up,.show.up{top:var(--comp-pop-top);bottom:unset;translate:0 calc(-100% - var(--app-scale-2x, 10px))}:popover-open.down.left:not(.mobile),.show.down.left:not(.mobile){transform-origin:top left}:popover-open.down.right:not(.mobile),.show.down.right:not(.mobile){transform-origin:top right}:popover-open.up.left:not(.mobile),.show.up.left:not(.mobile){transform-origin:bottom left}:popover-open.up.right:not(.mobile),.show.up.right:not(.mobile){transform-origin:bottom right}:popover-open.mobile.down,.show.mobile.down{transform-origin:center top}:popover-open.mobile.up,.show.mobile.up{transform-origin:center bottom}:popover-open::-webkit-scrollbar,.show::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}:popover-open::-webkit-scrollbar-thumb,.show::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}:popover-open::-webkit-scrollbar-track,.show::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}click-elsewhere{position:relative;display:block}';
|
|
275
|
+
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}.legacy.container{display:none}.legacy.show{display:block;z-index:var(--tct-popover-z-index, 50)}@keyframes popoverOpen{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}@keyframes popoverClose{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}:popover-open,.show{position:var(--comp-pop-position, absolute);margin:0;padding:var(--tct-popover-padding, 0);overflow:auto;overscroll-behavior:contain;background:var(--tct-popover-background, var(--app-white, #ffffff));backdrop-filter:var(--tct-popover-backdrop-filter, none);color:var(--tct-popover-font-color, inherit);min-width:var(--tct-popover-min-width, 135px);width:var(--tct-popover-width, auto);margin-block:var(--tct-popover-margin-block, 0);box-shadow:var(--tct-popover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));border-width:var(--tct-popover-border-width, 0);border-style:solid;border-color:var(--tct-popover-border-color, transparent);border-radius:var(--tct-popover-border-radius, 0);max-height:var(--comp-pop-max-height);left:var(--comp-pop-left);opacity:var(--comp-pop-opacity, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}:popover-open.animating-open,.show.animating-open{animation-name:popoverOpen;animation-duration:var(--tct-popover-open-animation-duration, var(--t-tween-time-in-1, 150ms));animation-timing-function:var(--tct-popover-open-animation-timing-function, ease-out);animation-fill-mode:var(--tct-popover-open-animation-fill-mode, forwards)}:popover-open.animating-close,.show.animating-close{animation-name:popoverClose;animation-duration:var(--tct-popover-close-animation-duration, var(--t-tween-time-out-1, 100ms));animation-timing-function:var(--tct-popover-close-animation-timing-function, ease-in);animation-fill-mode:var(--tct-popover-close-animation-fill-mode, forwards)}:popover-open.block,.show.block{right:unset;width:var(--comp-pop-width);min-width:var(--tct-popover-min-width, unset)}:popover-open.left,.show.left{left:var(--comp-pop-left);right:unset}:popover-open.right,.show.right{right:var(--comp-pop-right);left:unset}:popover-open.down,.show.down{top:var(--tct-popover-top, var(--comp-pop-top));bottom:unset}:popover-open.up,.show.up{top:var(--comp-pop-top);bottom:unset;translate:0 calc(-100% - var(--app-scale-2x, 10px))}:popover-open.down.left:not(.mobile),.show.down.left:not(.mobile){transform-origin:top left}:popover-open.down.right:not(.mobile),.show.down.right:not(.mobile){transform-origin:top right}:popover-open.up.left:not(.mobile),.show.up.left:not(.mobile){transform-origin:bottom left}:popover-open.up.right:not(.mobile),.show.up.right:not(.mobile){transform-origin:bottom right}:popover-open.mobile.down,.show.mobile.down{transform-origin:center top}:popover-open.mobile.up,.show.mobile.up{transform-origin:center bottom}:popover-open::-webkit-scrollbar,.show::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}:popover-open::-webkit-scrollbar-thumb,.show::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}:popover-open::-webkit-scrollbar-track,.show::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}click-elsewhere{position:relative;display:block}';
|
|
255
276
|
}
|
|
256
277
|
}, [ 257, "q2-popover", {
|
|
257
278
|
align: [ 513 ],
|
|
@@ -279,8 +300,8 @@ const h = o(class extends t {
|
|
|
279
300
|
function defineCustomElement() {
|
|
280
301
|
if ("undefined" == typeof customElements) return;
|
|
281
302
|
[ "q2-popover" ].forEach((o => {
|
|
282
|
-
if ("q2-popover" === o) customElements.get(
|
|
303
|
+
if ("q2-popover" === o) customElements.get(n(o)) || customElements.define(n(o), c);
|
|
283
304
|
}));
|
|
284
305
|
}
|
|
285
306
|
|
|
286
|
-
export {
|
|
307
|
+
export { c as Q, defineCustomElement as d }
|
|
@@ -161,26 +161,26 @@ const u = t(class extends o {
|
|
|
161
161
|
render() {
|
|
162
162
|
const t = this.label || this.optional || this.readonly, {hasError: o} = this, r = t && !this.hideLabel || o;
|
|
163
163
|
return e(i, {
|
|
164
|
-
key: "
|
|
164
|
+
key: "0503a52d9cb4715cba418f445b708ad650aa5f1f"
|
|
165
165
|
}, r && e("div", {
|
|
166
|
-
key: "
|
|
166
|
+
key: "7236b03ea65a44bbfacf57944370236c9653d69c",
|
|
167
167
|
class: "label-row"
|
|
168
168
|
}, t && !this.hideLabel && e("div", {
|
|
169
|
-
key: "
|
|
169
|
+
key: "fbede7f7cfbd2c0fe8364a77966009a2e14ede37",
|
|
170
170
|
class: "group-legend"
|
|
171
171
|
}, l(this)), o && e("q2-icon", {
|
|
172
|
-
key: "
|
|
172
|
+
key: "b7d7456a6fd1e673d5799748a727db2babc3d2bf",
|
|
173
173
|
type: "error",
|
|
174
174
|
"test-id": "iconError"
|
|
175
175
|
})), e("fieldset", {
|
|
176
|
-
key: "
|
|
176
|
+
key: "cba87bdefb32eaa0cd6cc1760d874fd622146b5e",
|
|
177
177
|
onChange: this.onInnerRadioChange,
|
|
178
178
|
"aria-invalid": o ? "" + o : void 0
|
|
179
179
|
}, t && e("legend", {
|
|
180
|
-
key: "
|
|
180
|
+
key: "c4ff0e86435564ece7e468ecd7b0e373ae9fc078",
|
|
181
181
|
class: "sr-only"
|
|
182
182
|
}, l(this)), e("q2-resize-observer", {
|
|
183
|
-
key: "
|
|
183
|
+
key: "f3bfe6941b46da58433ed959017a4383c07ce16d",
|
|
184
184
|
onTctResize: this.handleResize,
|
|
185
185
|
disabled: this.tileLayout || "horizontal" !== this.orientation
|
|
186
186
|
}, this.inputDom())));
|
|
@@ -72,10 +72,10 @@ const s = r(class extends a {
|
|
|
72
72
|
// #region Render Methods
|
|
73
73
|
render() {
|
|
74
74
|
return t("div", {
|
|
75
|
-
key: "
|
|
75
|
+
key: "1aafcfbdb7d6e2863618d6741bc12491a109ec80",
|
|
76
76
|
class: this.groupTileLayout ? "radio-tile" : "radio-container"
|
|
77
77
|
}, t("input", {
|
|
78
|
-
key: "
|
|
78
|
+
key: "1989707753be2d6b8bc8c69098a5c9bf27af99b7",
|
|
79
79
|
ref: r => this.inputField = r,
|
|
80
80
|
class: "sr",
|
|
81
81
|
id: this._id,
|
|
@@ -88,19 +88,19 @@ const s = r(class extends a {
|
|
|
88
88
|
onChange: this.inputChange,
|
|
89
89
|
"test-id": "q2RadioInnerRadioBox"
|
|
90
90
|
}), t("label", {
|
|
91
|
-
key: "
|
|
91
|
+
key: "93a6f7f8d718c8070c4d4d88c3b48905f518e166",
|
|
92
92
|
htmlFor: this._id,
|
|
93
93
|
class: this.hideLabel ? "label-hidden" : void 0,
|
|
94
94
|
"test-id": "radioButton"
|
|
95
95
|
}, !this.groupTileLayout && t("span", {
|
|
96
|
-
key: "
|
|
96
|
+
key: "f351a1aef39845bbb1bbd360037d36486de27cd9",
|
|
97
97
|
class: "radio-mark",
|
|
98
98
|
"aria-hidden": "true"
|
|
99
99
|
}), !this.hideLabel && t("div", {
|
|
100
|
-
key: "
|
|
100
|
+
key: "c9cb25115cffc72dfbb52024b6343f16a0744fbc",
|
|
101
101
|
class: "label-content"
|
|
102
102
|
}, this.label && l(this.label) || "", t("slot", {
|
|
103
|
-
key: "
|
|
103
|
+
key: "8d63e148c83fb247b60b719d3de8627c327efaa4"
|
|
104
104
|
}))));
|
|
105
105
|
}
|
|
106
106
|
get hostElement() {
|
|
@@ -118,7 +118,7 @@ const r = e(class extends t {
|
|
|
118
118
|
render() {
|
|
119
119
|
const {shouldShow: e, displayedMessage: t} = this;
|
|
120
120
|
return i(s, {
|
|
121
|
-
key: "
|
|
121
|
+
key: "e32fc9201354f10456368f47c0a7b6e50fd3eeb2"
|
|
122
122
|
}, e ? i("time", {
|
|
123
123
|
dateTime: t
|
|
124
124
|
}, t) : null);
|
|
@@ -47,7 +47,7 @@ const f = t(class extends e {
|
|
|
47
47
|
/**
|
|
48
48
|
* Hides the field's `<label>` element from view.
|
|
49
49
|
* @warning
|
|
50
|
-
*
|
|
50
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
51
51
|
*/
|
|
52
52
|
this.hideLabel = !1,
|
|
53
53
|
/**
|
|
@@ -618,20 +618,20 @@ const f = t(class extends e {
|
|
|
618
618
|
}
|
|
619
619
|
render() {
|
|
620
620
|
return s(o, {
|
|
621
|
-
key: "
|
|
621
|
+
key: "4b3787554c37521bc3467345cdd1d733cffba3a5"
|
|
622
622
|
}, s("div", {
|
|
623
|
-
key: "
|
|
623
|
+
key: "696caa142cffecf1e0d62afafd826dce37f75512",
|
|
624
624
|
"aria-live": "polite",
|
|
625
625
|
"aria-atomic": "true",
|
|
626
626
|
role: "status",
|
|
627
627
|
class: "sr"
|
|
628
628
|
}, this.statusMessage), s("click-elsewhere", {
|
|
629
|
-
key: "
|
|
629
|
+
key: "f8b493ec8f7da09fad48f9fa30f0e9be7fbaedf4",
|
|
630
630
|
class: this.wrapperClasses,
|
|
631
631
|
role: "presentation",
|
|
632
632
|
onChange: this.onClickElsewhere
|
|
633
633
|
}, s("q2-input", {
|
|
634
|
-
key: "
|
|
634
|
+
key: "44e0ad4b7825ac319dd4277ccb93d4dd66acef12",
|
|
635
635
|
ref: t => this.inputField = t,
|
|
636
636
|
class: "q2-search-input",
|
|
637
637
|
label: this.label && h(this.label) || "",
|
|
@@ -8,9 +8,9 @@ import { d as l } from "./q2-btn2.js";
|
|
|
8
8
|
|
|
9
9
|
import { d as b } from "./q2-icon2.js";
|
|
10
10
|
|
|
11
|
-
import { d as
|
|
11
|
+
import { d as f } from "./q2-loading2.js";
|
|
12
12
|
|
|
13
|
-
const
|
|
13
|
+
const m = t(class extends e {
|
|
14
14
|
constructor(t) {
|
|
15
15
|
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.change = i(this, "change", 7),
|
|
16
16
|
this.tctChange = i(this, "tctChange", 7), this.contentId = "content", this.titleId = "title",
|
|
@@ -127,29 +127,29 @@ const v = t(class extends e {
|
|
|
127
127
|
i && (a ? e.push("is-closed") : s && e.push("is-transitioning"));
|
|
128
128
|
const o = !this.hasYieldedHeader && !!this.label;
|
|
129
129
|
return n("section", {
|
|
130
|
-
key: "
|
|
130
|
+
key: "5adb22a7e6cf098fa3cf2325c945c6aa1c20b2d5",
|
|
131
131
|
class: "wrapper"
|
|
132
132
|
}, n("header", {
|
|
133
|
-
key: "
|
|
133
|
+
key: "c04df6d07756c27374e4be85ad88848a0c1ac897",
|
|
134
134
|
class: t ? "has-header" : ""
|
|
135
135
|
}, n("div", {
|
|
136
|
-
key: "
|
|
136
|
+
key: "8cd09e8bf367a7510b91106b8ebd4f419faff861",
|
|
137
137
|
class: "header-content",
|
|
138
138
|
id: this.titleId,
|
|
139
139
|
onClick: this.collapsible && this.onHeaderClick
|
|
140
140
|
}, o && n("h2", {
|
|
141
|
-
key: "
|
|
141
|
+
key: "195e1523e68c83e294bd92d617b8c4d44e679494",
|
|
142
142
|
class: "title"
|
|
143
143
|
}, h(this.label)), n("div", {
|
|
144
|
-
key: "
|
|
144
|
+
key: "e493986ee113d44bf74b11116003939f3db24bd7",
|
|
145
145
|
ref: t => this.headerSlotWrapper = t,
|
|
146
146
|
class: "header-slot-wrapper"
|
|
147
147
|
}, n("slot", {
|
|
148
|
-
key: "
|
|
148
|
+
key: "44f2dc2ca76acfd800a1435608a75bf6e3258d37",
|
|
149
149
|
ref: t => this.headerSlot = t,
|
|
150
150
|
name: "q2-section-header"
|
|
151
151
|
}))), this.collapsible && !this.noCollapseIcon && n("q2-btn", {
|
|
152
|
-
key: "
|
|
152
|
+
key: "b2602555b9282c8149780f65d2fbaa65febc1f50",
|
|
153
153
|
label: h(this.label || "tecton.element.section.defaultToggleLabel"),
|
|
154
154
|
ariaExpanded: "" + !!this.expanded,
|
|
155
155
|
ariaControls: this.contentId,
|
|
@@ -157,10 +157,10 @@ const v = t(class extends e {
|
|
|
157
157
|
"hide-label": !0,
|
|
158
158
|
onClick: this.onHeaderClick
|
|
159
159
|
}, n("q2-icon", {
|
|
160
|
-
key: "
|
|
160
|
+
key: "62728524b58cf5cf7aa2531df1218d3bf0b40b0a",
|
|
161
161
|
type: "chevron-up"
|
|
162
162
|
}))), n("div", {
|
|
163
|
-
key: "
|
|
163
|
+
key: "13ef854a01937880007fb4021b1528c1b83fe937",
|
|
164
164
|
class: e.join(" "),
|
|
165
165
|
id: this.contentId,
|
|
166
166
|
"aria-labelledby": this.titleId,
|
|
@@ -170,12 +170,12 @@ const v = t(class extends e {
|
|
|
170
170
|
height: this.contentHeight
|
|
171
171
|
}
|
|
172
172
|
}, n("div", {
|
|
173
|
-
key: "
|
|
173
|
+
key: "866d8b0301a9c5979f5b3bd31086d25f73373709",
|
|
174
174
|
ref: t => this.contentContainer = t,
|
|
175
175
|
class: "content",
|
|
176
176
|
tabindex: "-1"
|
|
177
177
|
}, n("slot", {
|
|
178
|
-
key: "
|
|
178
|
+
key: "36c97155aa106dc1587537066e031c7d6c032295",
|
|
179
179
|
ref: t => this.contentSlot = t
|
|
180
180
|
}))));
|
|
181
181
|
}
|
|
@@ -214,12 +214,12 @@ const v = t(class extends e {
|
|
|
214
214
|
} ]
|
|
215
215
|
} ]);
|
|
216
216
|
|
|
217
|
-
const
|
|
217
|
+
const v = m, defineCustomElement = function() {
|
|
218
218
|
if ("undefined" == typeof customElements) return;
|
|
219
219
|
[ "q2-section", "q2-btn", "q2-icon", "q2-loading" ].forEach((t => {
|
|
220
220
|
switch (t) {
|
|
221
221
|
case "q2-section":
|
|
222
|
-
customElements.get(a(t)) || customElements.define(a(t),
|
|
222
|
+
customElements.get(a(t)) || customElements.define(a(t), m);
|
|
223
223
|
break;
|
|
224
224
|
|
|
225
225
|
case "q2-btn":
|
|
@@ -231,9 +231,9 @@ const f = v, defineCustomElement = function() {
|
|
|
231
231
|
break;
|
|
232
232
|
|
|
233
233
|
case "q2-loading":
|
|
234
|
-
customElements.get(a(t)) ||
|
|
234
|
+
customElements.get(a(t)) || f();
|
|
235
235
|
}
|
|
236
236
|
}));
|
|
237
237
|
};
|
|
238
238
|
|
|
239
|
-
export {
|
|
239
|
+
export { v as Q2Section, defineCustomElement }
|
|
@@ -258,7 +258,7 @@ const O = t(class extends e {
|
|
|
258
258
|
this.inputKeydownHandler(t);
|
|
259
259
|
}
|
|
260
260
|
popoverStateChanged({detail: {open: t}}) {
|
|
261
|
-
this.open !== t && (this.open = t);
|
|
261
|
+
this.open !== t && (this.open = t, t || this.focusInput());
|
|
262
262
|
}
|
|
263
263
|
handleTctClick() {
|
|
264
264
|
const {name: t, version: e} = u(), i = Number(e.split(".")[0]);
|
|
@@ -640,7 +640,7 @@ const O = t(class extends e {
|
|
|
640
640
|
}
|
|
641
641
|
render() {
|
|
642
642
|
return s("click-elsewhere", {
|
|
643
|
-
key: "
|
|
643
|
+
key: "c5ee7401b7dc4350fb01992e9a8a76e6700cb63c",
|
|
644
644
|
class: this.wrapperClasses,
|
|
645
645
|
role: "presentation",
|
|
646
646
|
onChange: this.clickedElsewhere
|