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,6 +1,6 @@
|
|
|
1
1
|
import { r, c as a, h as o, g as t } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { c as e, d as i, o as c, l as d } from "./index-
|
|
3
|
+
import { c as e, d as i, o as c, l as d } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as l } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -71,10 +71,10 @@ const n = class {
|
|
|
71
71
|
// #region Render Methods
|
|
72
72
|
render() {
|
|
73
73
|
return o("div", {
|
|
74
|
-
key: "
|
|
74
|
+
key: "1aafcfbdb7d6e2863618d6741bc12491a109ec80",
|
|
75
75
|
class: this.groupTileLayout ? "radio-tile" : "radio-container"
|
|
76
76
|
}, o("input", {
|
|
77
|
-
key: "
|
|
77
|
+
key: "1989707753be2d6b8bc8c69098a5c9bf27af99b7",
|
|
78
78
|
ref: r => this.inputField = r,
|
|
79
79
|
class: "sr",
|
|
80
80
|
id: this._id,
|
|
@@ -87,19 +87,19 @@ const n = class {
|
|
|
87
87
|
onChange: this.inputChange,
|
|
88
88
|
"test-id": "q2RadioInnerRadioBox"
|
|
89
89
|
}), o("label", {
|
|
90
|
-
key: "
|
|
90
|
+
key: "93a6f7f8d718c8070c4d4d88c3b48905f518e166",
|
|
91
91
|
htmlFor: this._id,
|
|
92
92
|
class: this.hideLabel ? "label-hidden" : void 0,
|
|
93
93
|
"test-id": "radioButton"
|
|
94
94
|
}, !this.groupTileLayout && o("span", {
|
|
95
|
-
key: "
|
|
95
|
+
key: "f351a1aef39845bbb1bbd360037d36486de27cd9",
|
|
96
96
|
class: "radio-mark",
|
|
97
97
|
"aria-hidden": "true"
|
|
98
98
|
}), !this.hideLabel && o("div", {
|
|
99
|
-
key: "
|
|
99
|
+
key: "c9cb25115cffc72dfbb52024b6343f16a0744fbc",
|
|
100
100
|
class: "label-content"
|
|
101
101
|
}, this.label && d(this.label) || "", o("slot", {
|
|
102
|
-
key: "
|
|
102
|
+
key: "8d63e148c83fb247b60b719d3de8627c327efaa4"
|
|
103
103
|
}))));
|
|
104
104
|
}
|
|
105
105
|
get hostElement() {
|
|
@@ -2,7 +2,7 @@ import { r as t, h as e, F as i, g as s } from "./index-Cqkz7Bnm.js";
|
|
|
2
2
|
|
|
3
3
|
import { d as n } from "./index-O1A-ZSZs.js";
|
|
4
4
|
|
|
5
|
-
import { l as a } from "./index-
|
|
5
|
+
import { l as a } from "./index-CP8pXJ-l.js";
|
|
6
6
|
|
|
7
7
|
const o = class {
|
|
8
8
|
constructor(e) {
|
|
@@ -63,14 +63,14 @@ const o = class {
|
|
|
63
63
|
// #endregion
|
|
64
64
|
// #region Watchers
|
|
65
65
|
updateMessage() {
|
|
66
|
-
const {isValidDate: t, isBaseDateProvided: e, isValidBaseDate: i, dateObject: s, baseDateObject: o, locale: r, handleNumeric: d, messageFormat:
|
|
66
|
+
const {isValidDate: t, isBaseDateProvided: e, isValidBaseDate: i, dateObject: s, baseDateObject: o, locale: r, handleNumeric: d, messageFormat: l, isValidUnit: h, unit: c, trimSuffix: u} = this;
|
|
67
67
|
if (!t || e && !i) return this.sync = !1, void (this.displayedMessage = a("tecton.element.relativeTime.invalidDate"));
|
|
68
68
|
const m = n.intlFormatDistance(new Date(s), new Date(o), {
|
|
69
69
|
locale: r || document.documentElement.lang || "en-US",
|
|
70
70
|
localeMatcher: "best fit",
|
|
71
71
|
numeric: d,
|
|
72
|
-
style:
|
|
73
|
-
unit:
|
|
72
|
+
style: l,
|
|
73
|
+
unit: h ? c : null
|
|
74
74
|
});
|
|
75
75
|
this.displayedMessage = u ? this.trimMessage(m) : m;
|
|
76
76
|
}
|
|
@@ -118,7 +118,7 @@ const o = class {
|
|
|
118
118
|
render() {
|
|
119
119
|
const {shouldShow: t, displayedMessage: s} = this;
|
|
120
120
|
return e(i, {
|
|
121
|
-
key: "
|
|
121
|
+
key: "c6d24ac6d794284c3f0ea654f1999ff6e201f8b1"
|
|
122
122
|
}, t ? e("time", {
|
|
123
123
|
dateTime: s
|
|
124
124
|
}, s) : null);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as t, c as
|
|
1
|
+
import { r as t, c as i, h as e, g as n } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
3
|
const o = class {
|
|
4
|
-
constructor(
|
|
5
|
-
t(this,
|
|
4
|
+
constructor(e) {
|
|
5
|
+
t(this, e), this.tctResize = i(this, "tctResize", 7), this.observedElements = [],
|
|
6
6
|
// #endregion
|
|
7
7
|
// #region Local Methods
|
|
8
8
|
this.handleSlotChange = () => {
|
|
@@ -35,21 +35,21 @@ const o = class {
|
|
|
35
35
|
t ? this.stopObserver() : this.startObserver();
|
|
36
36
|
}
|
|
37
37
|
startObserver() {
|
|
38
|
-
var t,
|
|
38
|
+
var t, i, e;
|
|
39
39
|
const n = this.hostElement.shadowRoot.querySelector("slot");
|
|
40
40
|
if (null === n) return;
|
|
41
|
-
const o = null !== (
|
|
41
|
+
const o = null !== (i = null === (t = n.assignedElements) || void 0 === t ? void 0 : t.call(n, {
|
|
42
42
|
flatten: !0
|
|
43
|
-
})) && void 0 !==
|
|
43
|
+
})) && void 0 !== i ? i : [];
|
|
44
44
|
// Unwatch previous elements
|
|
45
|
-
null === (
|
|
46
|
-
var
|
|
47
|
-
return null === (
|
|
45
|
+
null === (e = this.observedElements) || void 0 === e || e.forEach((t => {
|
|
46
|
+
var i;
|
|
47
|
+
return null === (i = this.resizeObserver) || void 0 === i ? void 0 : i.unobserve(t);
|
|
48
48
|
})), this.observedElements = [],
|
|
49
49
|
// Watch new elements
|
|
50
50
|
o.forEach((t => {
|
|
51
|
-
var
|
|
52
|
-
null === (
|
|
51
|
+
var i;
|
|
52
|
+
null === (i = this.resizeObserver) || void 0 === i || i.observe(t), this.observedElements.push(t);
|
|
53
53
|
}));
|
|
54
54
|
}
|
|
55
55
|
stopObserver() {
|
|
@@ -59,8 +59,8 @@ const o = class {
|
|
|
59
59
|
// #endregion
|
|
60
60
|
// #region Render Methods
|
|
61
61
|
render() {
|
|
62
|
-
return
|
|
63
|
-
key: "
|
|
62
|
+
return e("slot", {
|
|
63
|
+
key: "cd3c22934ee46501f6ab1dc317ab702ba97150f3",
|
|
64
64
|
onSlotchange: this.handleSlotChange
|
|
65
65
|
});
|
|
66
66
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as i, h as e, F as s, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { o as n, i as r, w as l, l as a } from "./index-
|
|
3
|
+
import { o as n, i as r, w as l, l as a } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const h = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -30,7 +30,7 @@ const h = class {
|
|
|
30
30
|
/**
|
|
31
31
|
* Hides the field's `<label>` element from view.
|
|
32
32
|
* @warning
|
|
33
|
-
*
|
|
33
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
34
34
|
*/
|
|
35
35
|
this.hideLabel = !1,
|
|
36
36
|
/**
|
|
@@ -601,20 +601,20 @@ const h = class {
|
|
|
601
601
|
}
|
|
602
602
|
render() {
|
|
603
603
|
return e(s, {
|
|
604
|
-
key: "
|
|
604
|
+
key: "282a0d7a6fc3199a2ae52a9a6f1c3ace8b58c00d"
|
|
605
605
|
}, e("div", {
|
|
606
|
-
key: "
|
|
606
|
+
key: "b45c3a05cfb004bf7dfbf266af0e983c9740f7e6",
|
|
607
607
|
"aria-live": "polite",
|
|
608
608
|
"aria-atomic": "true",
|
|
609
609
|
role: "status",
|
|
610
610
|
class: "sr"
|
|
611
611
|
}, this.statusMessage), e("click-elsewhere", {
|
|
612
|
-
key: "
|
|
612
|
+
key: "603d6b423bd6e2a6f3b90b85f13e744d157c7c61",
|
|
613
613
|
class: this.wrapperClasses,
|
|
614
614
|
role: "presentation",
|
|
615
615
|
onChange: this.onClickElsewhere
|
|
616
616
|
}, e("q2-input", {
|
|
617
|
-
key: "
|
|
617
|
+
key: "267c12c340e038bb5d10133d59955b4067699fbf",
|
|
618
618
|
ref: t => this.inputField = t,
|
|
619
619
|
class: "q2-search-input",
|
|
620
620
|
label: this.label && a(this.label) || "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as t, c as e, h as i, g as
|
|
1
|
+
import { r as t, c as e, h as i, g as n } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { a
|
|
3
|
+
import { a, h as r, o as s, i as o, n as c, l as d } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as h } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -9,8 +9,8 @@ const p = class {
|
|
|
9
9
|
t(this, i), this.change = e(this, "change", 7), this.tctChange = e(this, "tctChange", 7),
|
|
10
10
|
this.contentId = "content", this.titleId = "title", this.hasYieldedHeader = !1,
|
|
11
11
|
this.hideContent = !1, this.addContentSlotListener = () => {
|
|
12
|
-
if (this.contentSlot) return void this.contentSlot.addEventListener("slotchange",
|
|
13
|
-
const t = new MutationObserver(
|
|
12
|
+
if (this.contentSlot) return void this.contentSlot.addEventListener("slotchange", a);
|
|
13
|
+
const t = new MutationObserver(a);
|
|
14
14
|
t.observe(this.contentContainer, {
|
|
15
15
|
childList: !0,
|
|
16
16
|
subtree: !0
|
|
@@ -39,7 +39,7 @@ const p = class {
|
|
|
39
39
|
}), 1e3);
|
|
40
40
|
}, this.removeContentSlotListener = () => {
|
|
41
41
|
var t;
|
|
42
|
-
this.contentSlot ? this.contentSlot.removeEventListener("slotchange",
|
|
42
|
+
this.contentSlot ? this.contentSlot.removeEventListener("slotchange", a) : null === (t = this.contentSlotMutationObserver) || void 0 === t || t.disconnect();
|
|
43
43
|
}, this.removeHeaderSlotListener = () => {
|
|
44
44
|
var t;
|
|
45
45
|
this.headerSlot ? this.headerSlot.removeEventListener("slotchange", this.onHeaderSlotChange) : null === (t = this.headerSlotMutationObserver) || void 0 === t || t.disconnect();
|
|
@@ -93,7 +93,7 @@ const p = class {
|
|
|
93
93
|
this.contentHeight = this.currentHeight;
|
|
94
94
|
}
|
|
95
95
|
async expandedObserver(t) {
|
|
96
|
-
this.clearResizeInterval(), this.resizerFn = setInterval(
|
|
96
|
+
this.clearResizeInterval(), this.resizerFn = setInterval(a, 5), t ? this.expandSection() : this.collapseSection();
|
|
97
97
|
}
|
|
98
98
|
// #endregion
|
|
99
99
|
// #region Local Methods
|
|
@@ -117,33 +117,33 @@ const p = class {
|
|
|
117
117
|
// #endregion
|
|
118
118
|
// #region Render Methods
|
|
119
119
|
render() {
|
|
120
|
-
const t = this.label || this.hasYieldedHeader, e = [ "content-wrapper" ], {collapsible:
|
|
121
|
-
|
|
120
|
+
const t = this.label || this.hasYieldedHeader, e = [ "content-wrapper" ], {collapsible: n, hideContent: a, contentHeight: r} = this;
|
|
121
|
+
n && (a ? e.push("is-closed") : r && e.push("is-transitioning"));
|
|
122
122
|
const s = !this.hasYieldedHeader && !!this.label;
|
|
123
123
|
return i("section", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "671c4611adeaff5c3e53d05a43955851d682c792",
|
|
125
125
|
class: "wrapper"
|
|
126
126
|
}, i("header", {
|
|
127
|
-
key: "
|
|
127
|
+
key: "fb724579804c9c3dd4da39bbc45d6df5cfad3815",
|
|
128
128
|
class: t ? "has-header" : ""
|
|
129
129
|
}, i("div", {
|
|
130
|
-
key: "
|
|
130
|
+
key: "76ad513b058264c1dbbeac7732120fea97586e1f",
|
|
131
131
|
class: "header-content",
|
|
132
132
|
id: this.titleId,
|
|
133
133
|
onClick: this.collapsible && this.onHeaderClick
|
|
134
134
|
}, s && i("h2", {
|
|
135
|
-
key: "
|
|
135
|
+
key: "6717219e621e8b605e4cbc7fa4f1f84bd4b1f20a",
|
|
136
136
|
class: "title"
|
|
137
137
|
}, d(this.label)), i("div", {
|
|
138
|
-
key: "
|
|
138
|
+
key: "61acf1ce4b3281aed6f35571a62f4da58d692d10",
|
|
139
139
|
ref: t => this.headerSlotWrapper = t,
|
|
140
140
|
class: "header-slot-wrapper"
|
|
141
141
|
}, i("slot", {
|
|
142
|
-
key: "
|
|
142
|
+
key: "acd5b6f6337700edf60fd03ce3d35a634eb2f97c",
|
|
143
143
|
ref: t => this.headerSlot = t,
|
|
144
144
|
name: "q2-section-header"
|
|
145
145
|
}))), this.collapsible && !this.noCollapseIcon && i("q2-btn", {
|
|
146
|
-
key: "
|
|
146
|
+
key: "02543820b86cf3d8fd103e0384d283e130fc2212",
|
|
147
147
|
label: d(this.label || "tecton.element.section.defaultToggleLabel"),
|
|
148
148
|
ariaExpanded: `${!!this.expanded}`,
|
|
149
149
|
ariaControls: this.contentId,
|
|
@@ -151,10 +151,10 @@ const p = class {
|
|
|
151
151
|
"hide-label": !0,
|
|
152
152
|
onClick: this.onHeaderClick
|
|
153
153
|
}, i("q2-icon", {
|
|
154
|
-
key: "
|
|
154
|
+
key: "fc7484a585f815948d1bed037948f21e777336f5",
|
|
155
155
|
type: "chevron-up"
|
|
156
156
|
}))), i("div", {
|
|
157
|
-
key: "
|
|
157
|
+
key: "f57ce6b9a2e8f8ca589274d496362f106148b499",
|
|
158
158
|
class: e.join(" "),
|
|
159
159
|
id: this.contentId,
|
|
160
160
|
"aria-labelledby": this.titleId,
|
|
@@ -164,17 +164,17 @@ const p = class {
|
|
|
164
164
|
height: this.contentHeight
|
|
165
165
|
}
|
|
166
166
|
}, i("div", {
|
|
167
|
-
key: "
|
|
167
|
+
key: "e1473a0a5f86918df19119a62f99918e8f2203f2",
|
|
168
168
|
ref: t => this.contentContainer = t,
|
|
169
169
|
class: "content",
|
|
170
170
|
tabindex: "-1"
|
|
171
171
|
}, i("slot", {
|
|
172
|
-
key: "
|
|
172
|
+
key: "f4f92ebdb06b45be6d70759b6b59caf31f816b04",
|
|
173
173
|
ref: t => this.contentSlot = t
|
|
174
174
|
}))));
|
|
175
175
|
}
|
|
176
176
|
get hostElement() {
|
|
177
|
-
return
|
|
177
|
+
return n(this);
|
|
178
178
|
}
|
|
179
179
|
static get watchers() {
|
|
180
180
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, F as s, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { c as l, l as n, g as a, d as r, o as c, i as h, j as d, k as p, w as u } from "./index-
|
|
3
|
+
import { c as l, l as n, g as a, d as r, o as c, i as h, j as d, k as p, w as u } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as v } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -242,7 +242,7 @@ const g = class {
|
|
|
242
242
|
this.inputKeydownHandler(t);
|
|
243
243
|
}
|
|
244
244
|
popoverStateChanged({detail: {open: t}}) {
|
|
245
|
-
this.open !== t && (this.open = t);
|
|
245
|
+
this.open !== t && (this.open = t, t || this.focusInput());
|
|
246
246
|
}
|
|
247
247
|
handleTctClick() {
|
|
248
248
|
const {name: t, version: e} = p(), i = Number(e.split(".")[0]);
|
|
@@ -624,7 +624,7 @@ const g = class {
|
|
|
624
624
|
}
|
|
625
625
|
render() {
|
|
626
626
|
return i("click-elsewhere", {
|
|
627
|
-
key: "
|
|
627
|
+
key: "c5ee7401b7dc4350fb01992e9a8a76e6700cb63c",
|
|
628
628
|
class: this.wrapperClasses,
|
|
629
629
|
role: "presentation",
|
|
630
630
|
onChange: this.clickedElsewhere
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as t, c as e, h as i, F as
|
|
1
|
+
import { r as t, c as e, h as i, F as s, H as a, g as n } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
3
|
import { b as o } from "./component-DaQM9u3s.js";
|
|
4
4
|
|
|
5
|
-
import { c as r, n as d, l as h } from "./index-
|
|
5
|
+
import { c as r, n as d, l as h } from "./index-CP8pXJ-l.js";
|
|
6
6
|
|
|
7
7
|
import { m as c } from "./mirror-emit-DUjY_ucm.js";
|
|
8
8
|
|
|
@@ -69,35 +69,35 @@ const l = class {
|
|
|
69
69
|
// #region Render Methods
|
|
70
70
|
render() {
|
|
71
71
|
const {label: t, isActive: e} = this;
|
|
72
|
-
return i(
|
|
73
|
-
key: "
|
|
72
|
+
return i(a, {
|
|
73
|
+
key: "6cbcc9f6363bf6f60ff2d999b9317e32691168da",
|
|
74
74
|
role: "listitem"
|
|
75
|
-
}, i(
|
|
76
|
-
key: "
|
|
75
|
+
}, i(s, {
|
|
76
|
+
key: "f9b8d56b05e6d26978feab6386849498f797cca6"
|
|
77
77
|
}, i("div", {
|
|
78
|
-
key: "
|
|
78
|
+
key: "383a77ce1848255574680375e7df122bf4468f95",
|
|
79
79
|
role: "group",
|
|
80
80
|
"aria-labelledby": "pane-label",
|
|
81
81
|
tabindex: "0",
|
|
82
82
|
hidden: !(e || this.isChildActive && this.showWithChildren)
|
|
83
83
|
}, i("slot", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "9b9cf0bd60e23d9860174c5525c3f688c70411f4"
|
|
85
85
|
})), i("div", {
|
|
86
|
-
key: "
|
|
86
|
+
key: "8f628fe11acfc7a8df7c84013a7eaca9d5a1327a",
|
|
87
87
|
hidden: !0
|
|
88
88
|
}, i("span", {
|
|
89
|
-
key: "
|
|
89
|
+
key: "6c03721fb71d8e3c5c48a6af80ae8723575e0205",
|
|
90
90
|
id: "pane-label"
|
|
91
91
|
}, i("slot", {
|
|
92
|
-
key: "
|
|
92
|
+
key: "da9a253e3399d0552478a29c743fc4a73f432ddf",
|
|
93
93
|
name: "label",
|
|
94
94
|
onSlotchange: () => this.contentChange.emit()
|
|
95
95
|
}, t && h(t))), i("slot", {
|
|
96
|
-
key: "
|
|
96
|
+
key: "d7229f76aedb1c96623fac655982b88d2769b9ae",
|
|
97
97
|
name: "description",
|
|
98
98
|
onSlotchange: () => this.contentChange.emit()
|
|
99
99
|
})), i("slot", {
|
|
100
|
-
key: "
|
|
100
|
+
key: "7670d7b17b74732d0dd14198dd50560d005700d1",
|
|
101
101
|
name: "children"
|
|
102
102
|
})));
|
|
103
103
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as a, F as r, g as i } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { c as s, o as n, i as o, l as c } from "./index-
|
|
3
|
+
import { c as s, o as n, i as o, l as c } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as l } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -255,13 +255,13 @@ const d = class {
|
|
|
255
255
|
}), $ = this.getStatusLabel(z), S = l ? `${y} ${f} ${x}` : void 0, C = l ? void 0 : `${k}, ${$}`;
|
|
256
256
|
let q;
|
|
257
257
|
"complete" === b ? q = "success-filled" : "error" === b && (q = "warning-filled");
|
|
258
|
-
const
|
|
259
|
-
b &&
|
|
260
|
-
const
|
|
258
|
+
const P = [ "step-btn" ];
|
|
259
|
+
b && P.push(`status-${b}`), v && P.push("pane-disabled");
|
|
260
|
+
const A = t.children.map((t => t.id)), I = u || A.includes(i);
|
|
261
261
|
return a("li", {
|
|
262
262
|
role: "presentation"
|
|
263
263
|
}, a("button", {
|
|
264
|
-
class:
|
|
264
|
+
class: P.join(" "),
|
|
265
265
|
type: "button",
|
|
266
266
|
"aria-labelledby": S,
|
|
267
267
|
"aria-describedBy": w,
|
|
@@ -299,15 +299,15 @@ const d = class {
|
|
|
299
299
|
}
|
|
300
300
|
render() {
|
|
301
301
|
return a(r, {
|
|
302
|
-
key: "
|
|
302
|
+
key: "318ce778645240cfb969f39c7df5326691b6c5ed"
|
|
303
303
|
}, a("ul", {
|
|
304
|
-
key: "
|
|
304
|
+
key: "3af2a138e648b887b3d8f96cf2b06bb6f11d1159",
|
|
305
305
|
role: "tablist"
|
|
306
306
|
}, this.structuredPanes.map(((t, e) => this.renderStepBtn(t, e)))), a("div", {
|
|
307
|
-
key: "
|
|
307
|
+
key: "628d3fb7485c7648d31b7a4935476a61cdfef7b4",
|
|
308
308
|
role: "list"
|
|
309
309
|
}, a("slot", {
|
|
310
|
-
key: "
|
|
310
|
+
key: "9d616d4a7234dee7715a696d0a17d37914741b1a"
|
|
311
311
|
})));
|
|
312
312
|
}
|
|
313
313
|
get hostElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as t, c as e, h as r, F as i, g as
|
|
1
|
+
import { r as t, c as e, h as r, F as i, g as a } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as o, o as s, i as l, l as n } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as c } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ const d = class {
|
|
|
16
16
|
this.showScrollRight = !1, this.checkForPanes = () => {
|
|
17
17
|
const {allPanes: t} = this;
|
|
18
18
|
t.length && (t.forEach((t => {
|
|
19
|
-
t.id || (t.id = `step-${
|
|
19
|
+
t.id || (t.id = `step-${o()}`);
|
|
20
20
|
})), this.stepCount = t.length);
|
|
21
21
|
}, this.checkScrollState = () => {
|
|
22
22
|
if (!this.listElement) return;
|
|
@@ -32,33 +32,33 @@ const d = class {
|
|
|
32
32
|
this.checkForPanes(), this.checkScrollState();
|
|
33
33
|
}, this.onStepClick = (t, e) => {
|
|
34
34
|
t.stopPropagation();
|
|
35
|
-
const {currentStep: r, stepCount: i, lastEnabledStep:
|
|
36
|
-
e >
|
|
35
|
+
const {currentStep: r, stepCount: i, lastEnabledStep: a} = this;
|
|
36
|
+
e > a || e === r || c(this, [ "change", "tctChange" ], {
|
|
37
37
|
selectedStep: e,
|
|
38
|
-
lastEnabledStep:
|
|
38
|
+
lastEnabledStep: a,
|
|
39
39
|
currentStep: r,
|
|
40
40
|
stepCount: i
|
|
41
41
|
});
|
|
42
42
|
}, this.onStepKeyDown = (t, e) => {
|
|
43
|
-
const {lastEnabledStep: r, stepCount: i} = this, {key:
|
|
44
|
-
let
|
|
45
|
-
switch (
|
|
43
|
+
const {lastEnabledStep: r, stepCount: i} = this, {key: a} = t;
|
|
44
|
+
let o;
|
|
45
|
+
switch (a) {
|
|
46
46
|
case "ArrowLeft":
|
|
47
|
-
t.preventDefault(),
|
|
47
|
+
t.preventDefault(), o = Math.max(e - 1, 0);
|
|
48
48
|
break;
|
|
49
49
|
|
|
50
50
|
case "ArrowRight":
|
|
51
|
-
t.preventDefault(),
|
|
51
|
+
t.preventDefault(), o = Math.min(e + 1, i);
|
|
52
52
|
break;
|
|
53
53
|
|
|
54
54
|
case "Home":
|
|
55
|
-
t.preventDefault(),
|
|
55
|
+
t.preventDefault(), o = 1;
|
|
56
56
|
break;
|
|
57
57
|
|
|
58
58
|
case "End":
|
|
59
|
-
t.preventDefault(),
|
|
59
|
+
t.preventDefault(), o = r;
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
o && this.focusStep(o, !0);
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
// #endregion
|
|
@@ -116,11 +116,11 @@ const d = class {
|
|
|
116
116
|
break;
|
|
117
117
|
|
|
118
118
|
case "string":
|
|
119
|
-
const
|
|
120
|
-
if (!
|
|
121
|
-
const
|
|
122
|
-
if (
|
|
123
|
-
if (i = this.listElement.children[
|
|
119
|
+
const a = this.hostElement.querySelector(`#${t}`);
|
|
120
|
+
if (!a) break;
|
|
121
|
+
const o = this.allPanes.indexOf(a);
|
|
122
|
+
if (o + 1 > this.lastEnabledStep || o < 0) break;
|
|
123
|
+
if (i = this.listElement.children[o], !i) break;
|
|
124
124
|
null === (r = i.firstElementChild) || void 0 === r || r.click();
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -139,12 +139,12 @@ const d = class {
|
|
|
139
139
|
}
|
|
140
140
|
focusStep(t, e, r) {
|
|
141
141
|
var i;
|
|
142
|
-
const {listElement:
|
|
143
|
-
if (!
|
|
144
|
-
const
|
|
145
|
-
if (
|
|
142
|
+
const {listElement: a} = this;
|
|
143
|
+
if (!a) return;
|
|
144
|
+
const o = a.children[t - 1], s = document.activeElement === this.hostElement;
|
|
145
|
+
if (o && ((s || r) && (null === (i = o.firstElementChild) || void 0 === i || i.focus()),
|
|
146
146
|
e)) {
|
|
147
|
-
const t =
|
|
147
|
+
const t = o.offsetLeft - this.listElement.clientWidth / 2;
|
|
148
148
|
this.listElement.scrollTo({
|
|
149
149
|
left: t,
|
|
150
150
|
behavior: "smooth"
|
|
@@ -190,9 +190,9 @@ const d = class {
|
|
|
190
190
|
// #region Render Methods
|
|
191
191
|
renderStepBtn(t) {
|
|
192
192
|
var e;
|
|
193
|
-
const {allPanes:
|
|
193
|
+
const {allPanes: a, stepCount: o, lastEnabledStep: s, currentStep: l} = this, c = null !== (e = null == a ? void 0 : a[t]) && void 0 !== e ? e : null, {id: d, status: b} = c, h = this.getPaneSlotOrProperty(c, "label"), v = this.getPaneSlotOrProperty(c, "description"), u = t + 1, f = u === l, m = !!h && `label-${d}`, g = !!h && !!v && `description-${d}`, w = `position-${d}`, x = `status-${d}`, y = "complete" === b || "error" === b ? b : "pending", k = n("tecton.element.stepper.number", {
|
|
194
194
|
step: `${u}`,
|
|
195
|
-
total: `${
|
|
195
|
+
total: `${o}`
|
|
196
196
|
}), z = this.getStatusLabel(y), S = h ? `${w} ${m} ${x}` : void 0, C = h ? void 0 : `${k}, ${z}`;
|
|
197
197
|
let E;
|
|
198
198
|
"complete" === b ? E = "success-filled" : "error" === b && (E = "warning-filled");
|
|
@@ -200,7 +200,7 @@ const d = class {
|
|
|
200
200
|
b && $.push(`status-${b}`);
|
|
201
201
|
const q = "locked" === b, L = c.disabled;
|
|
202
202
|
L && $.push("pane-disabled");
|
|
203
|
-
const
|
|
203
|
+
const P = q || u > s;
|
|
204
204
|
return r("li", {
|
|
205
205
|
role: "presentation"
|
|
206
206
|
}, r("button", {
|
|
@@ -210,11 +210,11 @@ const d = class {
|
|
|
210
210
|
"aria-describedBy": g,
|
|
211
211
|
"aria-label": C,
|
|
212
212
|
"aria-selected": `${f}`,
|
|
213
|
-
"aria-disabled":
|
|
213
|
+
"aria-disabled": P ? "true" : void 0,
|
|
214
214
|
role: "tab",
|
|
215
215
|
tabIndex: f ? 0 : -1,
|
|
216
216
|
onKeyDown: t => this.onStepKeyDown(t, u),
|
|
217
|
-
onClick: t => !L && !
|
|
217
|
+
onClick: t => !L && !P && this.onStepClick(t, u)
|
|
218
218
|
}, r(i, null, h && r(i, null, r("span", {
|
|
219
219
|
class: "sr-only",
|
|
220
220
|
id: w
|
|
@@ -241,57 +241,57 @@ const d = class {
|
|
|
241
241
|
}) : "");
|
|
242
242
|
}
|
|
243
243
|
render() {
|
|
244
|
-
const {stepCount: t, scrollEnabled: e, showScrollLeft:
|
|
244
|
+
const {stepCount: t, scrollEnabled: e, showScrollLeft: a, showScrollRight: o} = this, s = [ "step-container" ];
|
|
245
245
|
return e && s.push("has-scroll"), r(i, {
|
|
246
|
-
key: "
|
|
246
|
+
key: "c9839ff458e2d71fb66c42cb5b4ae394c7ffb9ff"
|
|
247
247
|
}, r("div", {
|
|
248
|
-
key: "
|
|
248
|
+
key: "51d8a914662c2794e16928c971ef995bca933776",
|
|
249
249
|
class: s.join(" ")
|
|
250
250
|
}, e && r(i, {
|
|
251
|
-
key: "
|
|
251
|
+
key: "0b1d1dd0c973d2266a468a8f81d0c9bdd2a430cc"
|
|
252
252
|
}, r("div", {
|
|
253
|
-
key: "
|
|
253
|
+
key: "87b9ae7e5ab260ee8743e78302017389941c3ead",
|
|
254
254
|
class: "gradient-left",
|
|
255
|
-
hidden: !
|
|
255
|
+
hidden: !a
|
|
256
256
|
}), r("div", {
|
|
257
|
-
key: "
|
|
257
|
+
key: "a5d487517c497ae927a1fd05d7c4631aa00d76bf",
|
|
258
258
|
class: "gradient-right",
|
|
259
|
-
hidden: !
|
|
259
|
+
hidden: !o
|
|
260
260
|
}), r("q2-btn", {
|
|
261
|
-
key: "
|
|
261
|
+
key: "fe008283e673c2b51acf1cc654ed1c844a6d33bf",
|
|
262
262
|
class: "btn-left",
|
|
263
263
|
hideLabel: !0,
|
|
264
264
|
hidden: !this.showScrollLeft,
|
|
265
265
|
label: n("tecton.element.stepper.scrollLeft"),
|
|
266
266
|
onTctClick: () => this.onScrollBtnClick("left")
|
|
267
267
|
}, r("q2-icon", {
|
|
268
|
-
key: "
|
|
268
|
+
key: "7d83dfafb861da55085fa33a4aca620416849e27",
|
|
269
269
|
type: "chevron-left"
|
|
270
270
|
})), r("q2-btn", {
|
|
271
|
-
key: "
|
|
271
|
+
key: "c81adb720c387ddabb7eead010db863b0e295208",
|
|
272
272
|
class: "btn-right",
|
|
273
273
|
hideLabel: !0,
|
|
274
274
|
hidden: !this.showScrollRight,
|
|
275
275
|
label: n("tecton.element.stepper.scrollRight"),
|
|
276
276
|
onTctClick: () => this.onScrollBtnClick("right")
|
|
277
277
|
}, r("q2-icon", {
|
|
278
|
-
key: "
|
|
278
|
+
key: "c0d5939662d35c18ea9c486a1dc8da243b779ea2",
|
|
279
279
|
type: "chevron-right"
|
|
280
280
|
}))), r("ul", {
|
|
281
|
-
key: "
|
|
281
|
+
key: "07501b7abbe4e828686b87c057b79bae4059e826",
|
|
282
282
|
onScroll: this.checkScrollState,
|
|
283
283
|
ref: t => this.listElement = t,
|
|
284
284
|
role: "tablist"
|
|
285
285
|
}, t > 0 && [ ...Array(t).keys() ].map((t => this.renderStepBtn(t))))), r("div", {
|
|
286
|
-
key: "
|
|
286
|
+
key: "df8d51e7b40ee1999b0a280fa8524559accfec9a",
|
|
287
287
|
role: "list"
|
|
288
288
|
}, r("slot", {
|
|
289
|
-
key: "
|
|
289
|
+
key: "a8ce54b65b8c7d8542e60811a7215fed12400e38",
|
|
290
290
|
onSlotchange: () => this.onSlotChange()
|
|
291
291
|
})));
|
|
292
292
|
}
|
|
293
293
|
get hostElement() {
|
|
294
|
-
return
|
|
294
|
+
return a(this);
|
|
295
295
|
}
|
|
296
296
|
static get watchers() {
|
|
297
297
|
return {
|
|
@@ -69,14 +69,14 @@ const c = class {
|
|
|
69
69
|
// #region Render Methods
|
|
70
70
|
render() {
|
|
71
71
|
return o(e, {
|
|
72
|
-
key: "
|
|
72
|
+
key: "ee34e7472208140fc2203e0494140778c0c16756"
|
|
73
73
|
}, o("div", {
|
|
74
|
-
key: "
|
|
74
|
+
key: "0909c642dd27cbc96f7a8ea25f5d7f712395ed19",
|
|
75
75
|
class: "container",
|
|
76
76
|
role: this.clickable ? "button" : void 0,
|
|
77
77
|
tabIndex: this.clickable ? 0 : void 0
|
|
78
78
|
}, o("slot", {
|
|
79
|
-
key: "
|
|
79
|
+
key: "fbba5735e98b065121f0b73ef926b6546aeab82c"
|
|
80
80
|
})));
|
|
81
81
|
}
|
|
82
82
|
get hostElement() {
|