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
|
@@ -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: "c6d24ac6d794284c3f0ea654f1999ff6e201f8b1"
|
|
122
122
|
}, e ? i("time", {
|
|
123
123
|
dateTime: t
|
|
124
124
|
}, t) : null);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { proxyCustomElement as
|
|
1
|
+
import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as n, transformTag as s } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
const o =
|
|
4
|
-
constructor(
|
|
5
|
-
super(), !1 !==
|
|
3
|
+
const o = t(class extends e {
|
|
4
|
+
constructor(t) {
|
|
5
|
+
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.tctResize = i(this, "tctResize", 7),
|
|
6
6
|
this.observedElements = [],
|
|
7
7
|
// #endregion
|
|
8
8
|
// #region Local Methods
|
|
@@ -16,10 +16,10 @@ const o = e(class extends t {
|
|
|
16
16
|
this.stopObserver(), this.resizeObserver = null;
|
|
17
17
|
}
|
|
18
18
|
componentDidLoad() {
|
|
19
|
-
"undefined" != typeof ResizeObserver ? this.resizeObserver = new ResizeObserver((
|
|
19
|
+
"undefined" != typeof ResizeObserver ? this.resizeObserver = new ResizeObserver((t => {
|
|
20
20
|
this.tctResize.emit({
|
|
21
|
-
entries:
|
|
22
|
-
}), this.currentResizeObserverEntries =
|
|
21
|
+
entries: t
|
|
22
|
+
}), this.currentResizeObserverEntries = t;
|
|
23
23
|
})) : console.warn("ResizeObserver is not defined."), this.disabled || this.startObserver();
|
|
24
24
|
}
|
|
25
25
|
// #endregion
|
|
@@ -32,36 +32,36 @@ const o = e(class extends t {
|
|
|
32
32
|
}
|
|
33
33
|
// #endregion
|
|
34
34
|
// #region Watchers
|
|
35
|
-
disabledUpdated(
|
|
36
|
-
|
|
35
|
+
disabledUpdated(t) {
|
|
36
|
+
t ? this.stopObserver() : this.startObserver();
|
|
37
37
|
}
|
|
38
38
|
startObserver() {
|
|
39
|
-
var
|
|
39
|
+
var t, e, i;
|
|
40
40
|
const n = this.hostElement.shadowRoot.querySelector("slot");
|
|
41
41
|
if (null === n) return;
|
|
42
|
-
const s = null !== (
|
|
42
|
+
const s = null !== (e = null === (t = n.assignedElements) || void 0 === t ? void 0 : t.call(n, {
|
|
43
43
|
flatten: !0
|
|
44
|
-
})) && void 0 !==
|
|
44
|
+
})) && void 0 !== e ? e : [];
|
|
45
45
|
// Unwatch previous elements
|
|
46
|
-
null === (i = this.observedElements) || void 0 === i || i.forEach((
|
|
47
|
-
var
|
|
48
|
-
return null === (
|
|
46
|
+
null === (i = this.observedElements) || void 0 === i || i.forEach((t => {
|
|
47
|
+
var e;
|
|
48
|
+
return null === (e = this.resizeObserver) || void 0 === e ? void 0 : e.unobserve(t);
|
|
49
49
|
})), this.observedElements = [],
|
|
50
50
|
// Watch new elements
|
|
51
|
-
s.forEach((
|
|
52
|
-
var
|
|
53
|
-
null === (
|
|
51
|
+
s.forEach((t => {
|
|
52
|
+
var e;
|
|
53
|
+
null === (e = this.resizeObserver) || void 0 === e || e.observe(t), this.observedElements.push(t);
|
|
54
54
|
}));
|
|
55
55
|
}
|
|
56
56
|
stopObserver() {
|
|
57
|
-
var
|
|
58
|
-
null === (
|
|
57
|
+
var t;
|
|
58
|
+
null === (t = this.resizeObserver) || void 0 === t || t.disconnect();
|
|
59
59
|
}
|
|
60
60
|
// #endregion
|
|
61
61
|
// #region Render Methods
|
|
62
62
|
render() {
|
|
63
63
|
return n("slot", {
|
|
64
|
-
key: "
|
|
64
|
+
key: "cd3c22934ee46501f6ab1dc317ab702ba97150f3",
|
|
65
65
|
onSlotchange: this.handleSlotChange
|
|
66
66
|
});
|
|
67
67
|
}
|
|
@@ -89,8 +89,8 @@ const o = e(class extends t {
|
|
|
89
89
|
|
|
90
90
|
function defineCustomElement() {
|
|
91
91
|
if ("undefined" == typeof customElements) return;
|
|
92
|
-
[ "q2-resize-observer" ].forEach((
|
|
93
|
-
if ("q2-resize-observer" ===
|
|
92
|
+
[ "q2-resize-observer" ].forEach((t => {
|
|
93
|
+
if ("q2-resize-observer" === t) customElements.get(s(t)) || customElements.define(s(t), o);
|
|
94
94
|
}));
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -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: "282a0d7a6fc3199a2ae52a9a6f1c3ace8b58c00d"
|
|
622
622
|
}, s("div", {
|
|
623
|
-
key: "
|
|
623
|
+
key: "b45c3a05cfb004bf7dfbf266af0e983c9740f7e6",
|
|
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: "603d6b423bd6e2a6f3b90b85f13e744d157c7c61",
|
|
630
630
|
class: this.wrapperClasses,
|
|
631
631
|
role: "presentation",
|
|
632
632
|
onChange: this.onClickElsewhere
|
|
633
633
|
}, s("q2-input", {
|
|
634
|
-
key: "
|
|
634
|
+
key: "267c12c340e038bb5d10133d59955b4067699fbf",
|
|
635
635
|
ref: t => this.inputField = t,
|
|
636
636
|
class: "q2-search-input",
|
|
637
637
|
label: this.label && h(this.label) || "",
|
|
@@ -6,11 +6,11 @@ import { m as p } from "./mirror-emit.js";
|
|
|
6
6
|
|
|
7
7
|
import { d as l } from "./q2-btn2.js";
|
|
8
8
|
|
|
9
|
-
import { d as
|
|
9
|
+
import { d as f } from "./q2-icon2.js";
|
|
10
10
|
|
|
11
|
-
import { d as
|
|
11
|
+
import { d as b } 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: "671c4611adeaff5c3e53d05a43955851d682c792",
|
|
131
131
|
class: "wrapper"
|
|
132
132
|
}, n("header", {
|
|
133
|
-
key: "
|
|
133
|
+
key: "fb724579804c9c3dd4da39bbc45d6df5cfad3815",
|
|
134
134
|
class: t ? "has-header" : ""
|
|
135
135
|
}, n("div", {
|
|
136
|
-
key: "
|
|
136
|
+
key: "76ad513b058264c1dbbeac7732120fea97586e1f",
|
|
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: "6717219e621e8b605e4cbc7fa4f1f84bd4b1f20a",
|
|
142
142
|
class: "title"
|
|
143
143
|
}, h(this.label)), n("div", {
|
|
144
|
-
key: "
|
|
144
|
+
key: "61acf1ce4b3281aed6f35571a62f4da58d692d10",
|
|
145
145
|
ref: t => this.headerSlotWrapper = t,
|
|
146
146
|
class: "header-slot-wrapper"
|
|
147
147
|
}, n("slot", {
|
|
148
|
-
key: "
|
|
148
|
+
key: "acd5b6f6337700edf60fd03ce3d35a634eb2f97c",
|
|
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: "02543820b86cf3d8fd103e0384d283e130fc2212",
|
|
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: "fc7484a585f815948d1bed037948f21e777336f5",
|
|
161
161
|
type: "chevron-up"
|
|
162
162
|
}))), n("div", {
|
|
163
|
-
key: "
|
|
163
|
+
key: "f57ce6b9a2e8f8ca589274d496362f106148b499",
|
|
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: "e1473a0a5f86918df19119a62f99918e8f2203f2",
|
|
174
174
|
ref: t => this.contentContainer = t,
|
|
175
175
|
class: "content",
|
|
176
176
|
tabindex: "-1"
|
|
177
177
|
}, n("slot", {
|
|
178
|
-
key: "
|
|
178
|
+
key: "f4f92ebdb06b45be6d70759b6b59caf31f816b04",
|
|
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":
|
|
@@ -227,13 +227,13 @@ const f = v, defineCustomElement = function() {
|
|
|
227
227
|
break;
|
|
228
228
|
|
|
229
229
|
case "q2-icon":
|
|
230
|
-
customElements.get(a(t)) ||
|
|
230
|
+
customElements.get(a(t)) || f();
|
|
231
231
|
break;
|
|
232
232
|
|
|
233
233
|
case "q2-loading":
|
|
234
|
-
customElements.get(a(t)) ||
|
|
234
|
+
customElements.get(a(t)) || b();
|
|
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
|
|
@@ -70,34 +70,34 @@ const p = t(class extends e {
|
|
|
70
70
|
render() {
|
|
71
71
|
const {label: t, isActive: e} = this;
|
|
72
72
|
return s(n, {
|
|
73
|
-
key: "
|
|
73
|
+
key: "6cbcc9f6363bf6f60ff2d999b9317e32691168da",
|
|
74
74
|
role: "listitem"
|
|
75
75
|
}, s(a, {
|
|
76
|
-
key: "
|
|
76
|
+
key: "f9b8d56b05e6d26978feab6386849498f797cca6"
|
|
77
77
|
}, s("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
|
}, s("slot", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "9b9cf0bd60e23d9860174c5525c3f688c70411f4"
|
|
85
85
|
})), s("div", {
|
|
86
|
-
key: "
|
|
86
|
+
key: "8f628fe11acfc7a8df7c84013a7eaca9d5a1327a",
|
|
87
87
|
hidden: !0
|
|
88
88
|
}, s("span", {
|
|
89
|
-
key: "
|
|
89
|
+
key: "6c03721fb71d8e3c5c48a6af80ae8723575e0205",
|
|
90
90
|
id: "pane-label"
|
|
91
91
|
}, s("slot", {
|
|
92
|
-
key: "
|
|
92
|
+
key: "da9a253e3399d0552478a29c743fc4a73f432ddf",
|
|
93
93
|
name: "label",
|
|
94
94
|
onSlotchange: () => this.contentChange.emit()
|
|
95
95
|
}, t && h(t))), s("slot", {
|
|
96
|
-
key: "
|
|
96
|
+
key: "d7229f76aedb1c96623fac655982b88d2769b9ae",
|
|
97
97
|
name: "description",
|
|
98
98
|
onSlotchange: () => this.contentChange.emit()
|
|
99
99
|
})), s("slot", {
|
|
100
|
-
key: "
|
|
100
|
+
key: "7670d7b17b74732d0dd14198dd50560d005700d1",
|
|
101
101
|
name: "children"
|
|
102
102
|
})));
|
|
103
103
|
}
|
|
@@ -301,15 +301,15 @@ const v = t(class extends e {
|
|
|
301
301
|
}
|
|
302
302
|
render() {
|
|
303
303
|
return r(i, {
|
|
304
|
-
key: "
|
|
304
|
+
key: "318ce778645240cfb969f39c7df5326691b6c5ed"
|
|
305
305
|
}, r("ul", {
|
|
306
|
-
key: "
|
|
306
|
+
key: "3af2a138e648b887b3d8f96cf2b06bb6f11d1159",
|
|
307
307
|
role: "tablist"
|
|
308
308
|
}, this.structuredPanes.map(((t, e) => this.renderStepBtn(t, e)))), r("div", {
|
|
309
|
-
key: "
|
|
309
|
+
key: "628d3fb7485c7648d31b7a4935476a61cdfef7b4",
|
|
310
310
|
role: "list"
|
|
311
311
|
}, r("slot", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "9d616d4a7234dee7715a696d0a17d37914741b1a"
|
|
313
313
|
})));
|
|
314
314
|
}
|
|
315
315
|
get hostElement() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement as t, HTMLElement as e, createEvent as r, h as
|
|
1
|
+
import { proxyCustomElement as t, HTMLElement as e, createEvent as r, h as a, Fragment as o, transformTag as i } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
3
|
import { c as s, o as n, i as l, l as c } from "./index2.js";
|
|
4
4
|
|
|
@@ -38,23 +38,23 @@ const u = t(class extends e {
|
|
|
38
38
|
this.checkForPanes(), this.checkScrollState();
|
|
39
39
|
}, this.onStepClick = (t, e) => {
|
|
40
40
|
t.stopPropagation();
|
|
41
|
-
const {currentStep: r, stepCount:
|
|
42
|
-
e >
|
|
41
|
+
const {currentStep: r, stepCount: a, lastEnabledStep: o} = this;
|
|
42
|
+
e > o || e === r || p(this, [ "change", "tctChange" ], {
|
|
43
43
|
selectedStep: e,
|
|
44
|
-
lastEnabledStep:
|
|
44
|
+
lastEnabledStep: o,
|
|
45
45
|
currentStep: r,
|
|
46
|
-
stepCount:
|
|
46
|
+
stepCount: a
|
|
47
47
|
});
|
|
48
48
|
}, this.onStepKeyDown = (t, e) => {
|
|
49
|
-
const {lastEnabledStep: r, stepCount:
|
|
49
|
+
const {lastEnabledStep: r, stepCount: a} = this, {key: o} = t;
|
|
50
50
|
let i;
|
|
51
|
-
switch (
|
|
51
|
+
switch (o) {
|
|
52
52
|
case "ArrowLeft":
|
|
53
53
|
t.preventDefault(), i = Math.max(e - 1, 0);
|
|
54
54
|
break;
|
|
55
55
|
|
|
56
56
|
case "ArrowRight":
|
|
57
|
-
t.preventDefault(), i = Math.min(e + 1,
|
|
57
|
+
t.preventDefault(), i = Math.min(e + 1, a);
|
|
58
58
|
break;
|
|
59
59
|
|
|
60
60
|
case "Home":
|
|
@@ -113,21 +113,21 @@ const u = t(class extends e {
|
|
|
113
113
|
*/
|
|
114
114
|
async selectStep(t) {
|
|
115
115
|
var e, r;
|
|
116
|
-
let
|
|
116
|
+
let a;
|
|
117
117
|
switch (typeof t) {
|
|
118
118
|
case "number":
|
|
119
119
|
if (t > this.lastEnabledStep || t < 1) break;
|
|
120
|
-
if (
|
|
121
|
-
null === (e =
|
|
120
|
+
if (a = this.listElement.children[t - 1], !a) return;
|
|
121
|
+
null === (e = a.firstElementChild) || void 0 === e || e.click();
|
|
122
122
|
break;
|
|
123
123
|
|
|
124
124
|
case "string":
|
|
125
|
-
const
|
|
126
|
-
if (!
|
|
127
|
-
const i = this.allPanes.indexOf(
|
|
125
|
+
const o = this.hostElement.querySelector("#" + t);
|
|
126
|
+
if (!o) break;
|
|
127
|
+
const i = this.allPanes.indexOf(o);
|
|
128
128
|
if (i + 1 > this.lastEnabledStep || i < 0) break;
|
|
129
|
-
if (
|
|
130
|
-
null === (r =
|
|
129
|
+
if (a = this.listElement.children[i], !a) break;
|
|
130
|
+
null === (r = a.firstElementChild) || void 0 === r || r.click();
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
// #endregion
|
|
@@ -144,11 +144,11 @@ const u = t(class extends e {
|
|
|
144
144
|
return Array.from(this.hostElement.querySelectorAll("q2-stepper-pane"));
|
|
145
145
|
}
|
|
146
146
|
focusStep(t, e, r) {
|
|
147
|
-
var
|
|
148
|
-
const {listElement:
|
|
149
|
-
if (!
|
|
150
|
-
const i =
|
|
151
|
-
if (i && ((s || r) && (null === (
|
|
147
|
+
var a;
|
|
148
|
+
const {listElement: o} = this;
|
|
149
|
+
if (!o) return;
|
|
150
|
+
const i = o.children[t - 1], s = document.activeElement === this.hostElement;
|
|
151
|
+
if (i && ((s || r) && (null === (a = i.firstElementChild) || void 0 === a || a.focus()),
|
|
152
152
|
e)) {
|
|
153
153
|
const t = i.offsetLeft - this.listElement.clientWidth / 2;
|
|
154
154
|
this.listElement.scrollTo({
|
|
@@ -159,8 +159,8 @@ const u = t(class extends e {
|
|
|
159
159
|
}
|
|
160
160
|
getPaneSlotOrProperty(t, e) {
|
|
161
161
|
var r;
|
|
162
|
-
const
|
|
163
|
-
return null !== (r = null ==
|
|
162
|
+
const a = Array.from(t.children).find((t => t.getAttribute("slot") === e));
|
|
163
|
+
return null !== (r = null == a ? void 0 : a.outerHTML) && void 0 !== r ? r : c(t[e]);
|
|
164
164
|
}
|
|
165
165
|
getStatusLabel(t) {
|
|
166
166
|
const e = "tecton.element.stepper.status." + t, r = c(e);
|
|
@@ -207,9 +207,9 @@ const u = t(class extends e {
|
|
|
207
207
|
const L = "locked" === b, j = l.disabled;
|
|
208
208
|
j && q.push("pane-disabled");
|
|
209
209
|
const H = L || u > s;
|
|
210
|
-
return
|
|
210
|
+
return a("li", {
|
|
211
211
|
role: "presentation"
|
|
212
|
-
},
|
|
212
|
+
}, a("button", {
|
|
213
213
|
class: q.join(" "),
|
|
214
214
|
type: "button",
|
|
215
215
|
"aria-labelledby": S,
|
|
@@ -221,78 +221,78 @@ const u = t(class extends e {
|
|
|
221
221
|
tabIndex: f ? 0 : -1,
|
|
222
222
|
onKeyDown: t => this.onStepKeyDown(t, u),
|
|
223
223
|
onClick: t => !j && !H && this.onStepClick(t, u)
|
|
224
|
-
}, o
|
|
224
|
+
}, a(o, null, h && a(o, null, a("span", {
|
|
225
225
|
class: "sr-only",
|
|
226
226
|
id: w
|
|
227
|
-
}, k),
|
|
227
|
+
}, k), a("span", {
|
|
228
228
|
class: "sr-only",
|
|
229
229
|
id: x
|
|
230
|
-
}, z)), E ?
|
|
230
|
+
}, z)), E ? a("div", {
|
|
231
231
|
class: "step-icon"
|
|
232
|
-
},
|
|
232
|
+
}, a("q2-icon", {
|
|
233
233
|
"aria-hidden": "true",
|
|
234
234
|
type: E
|
|
235
|
-
})) :
|
|
235
|
+
})) : a("div", {
|
|
236
236
|
class: "step-bubble"
|
|
237
|
-
}, u), m &&
|
|
237
|
+
}, u), m && a("div", {
|
|
238
238
|
class: "step-label",
|
|
239
239
|
id: m,
|
|
240
240
|
innerHTML: d(h)
|
|
241
|
-
}), m && g &&
|
|
241
|
+
}), m && g && a("div", {
|
|
242
242
|
class: "step-description",
|
|
243
243
|
id: g,
|
|
244
244
|
innerHTML: d(v)
|
|
245
|
-
}))), t ?
|
|
245
|
+
}))), t ? a("div", {
|
|
246
246
|
class: "step-divider"
|
|
247
247
|
}) : "");
|
|
248
248
|
}
|
|
249
249
|
render() {
|
|
250
250
|
const {stepCount: t, scrollEnabled: e, showScrollLeft: r, showScrollRight: i} = this, s = [ "step-container" ];
|
|
251
|
-
return e && s.push("has-scroll"), o
|
|
252
|
-
key: "
|
|
253
|
-
},
|
|
254
|
-
key: "
|
|
251
|
+
return e && s.push("has-scroll"), a(o, {
|
|
252
|
+
key: "c9839ff458e2d71fb66c42cb5b4ae394c7ffb9ff"
|
|
253
|
+
}, a("div", {
|
|
254
|
+
key: "51d8a914662c2794e16928c971ef995bca933776",
|
|
255
255
|
class: s.join(" ")
|
|
256
|
-
}, e && o
|
|
257
|
-
key: "
|
|
258
|
-
},
|
|
259
|
-
key: "
|
|
256
|
+
}, e && a(o, {
|
|
257
|
+
key: "0b1d1dd0c973d2266a468a8f81d0c9bdd2a430cc"
|
|
258
|
+
}, a("div", {
|
|
259
|
+
key: "87b9ae7e5ab260ee8743e78302017389941c3ead",
|
|
260
260
|
class: "gradient-left",
|
|
261
261
|
hidden: !r
|
|
262
|
-
}),
|
|
263
|
-
key: "
|
|
262
|
+
}), a("div", {
|
|
263
|
+
key: "a5d487517c497ae927a1fd05d7c4631aa00d76bf",
|
|
264
264
|
class: "gradient-right",
|
|
265
265
|
hidden: !i
|
|
266
|
-
}),
|
|
267
|
-
key: "
|
|
266
|
+
}), a("q2-btn", {
|
|
267
|
+
key: "fe008283e673c2b51acf1cc654ed1c844a6d33bf",
|
|
268
268
|
class: "btn-left",
|
|
269
269
|
hideLabel: !0,
|
|
270
270
|
hidden: !this.showScrollLeft,
|
|
271
271
|
label: c("tecton.element.stepper.scrollLeft"),
|
|
272
272
|
onTctClick: () => this.onScrollBtnClick("left")
|
|
273
|
-
},
|
|
274
|
-
key: "
|
|
273
|
+
}, a("q2-icon", {
|
|
274
|
+
key: "7d83dfafb861da55085fa33a4aca620416849e27",
|
|
275
275
|
type: "chevron-left"
|
|
276
|
-
})),
|
|
277
|
-
key: "
|
|
276
|
+
})), a("q2-btn", {
|
|
277
|
+
key: "c81adb720c387ddabb7eead010db863b0e295208",
|
|
278
278
|
class: "btn-right",
|
|
279
279
|
hideLabel: !0,
|
|
280
280
|
hidden: !this.showScrollRight,
|
|
281
281
|
label: c("tecton.element.stepper.scrollRight"),
|
|
282
282
|
onTctClick: () => this.onScrollBtnClick("right")
|
|
283
|
-
},
|
|
284
|
-
key: "
|
|
283
|
+
}, a("q2-icon", {
|
|
284
|
+
key: "c0d5939662d35c18ea9c486a1dc8da243b779ea2",
|
|
285
285
|
type: "chevron-right"
|
|
286
|
-
}))),
|
|
287
|
-
key: "
|
|
286
|
+
}))), a("ul", {
|
|
287
|
+
key: "07501b7abbe4e828686b87c057b79bae4059e826",
|
|
288
288
|
onScroll: this.checkScrollState,
|
|
289
289
|
ref: t => this.listElement = t,
|
|
290
290
|
role: "tablist"
|
|
291
|
-
}, t > 0 && [ ...Array(t).keys() ].map((t => this.renderStepBtn(t))))),
|
|
292
|
-
key: "
|
|
291
|
+
}, t > 0 && [ ...Array(t).keys() ].map((t => this.renderStepBtn(t))))), a("div", {
|
|
292
|
+
key: "df8d51e7b40ee1999b0a280fa8524559accfec9a",
|
|
293
293
|
role: "list"
|
|
294
|
-
},
|
|
295
|
-
key: "
|
|
294
|
+
}, a("slot", {
|
|
295
|
+
key: "a8ce54b65b8c7d8542e60811a7215fed12400e38",
|
|
296
296
|
onSlotchange: () => this.onSlotChange()
|
|
297
297
|
})));
|
|
298
298
|
}
|
|
@@ -69,14 +69,14 @@ const n = r(class extends a {
|
|
|
69
69
|
// #region Render Methods
|
|
70
70
|
render() {
|
|
71
71
|
return t(o, {
|
|
72
|
-
key: "
|
|
72
|
+
key: "ee34e7472208140fc2203e0494140778c0c16756"
|
|
73
73
|
}, t("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
|
}, t("slot", {
|
|
79
|
-
key: "
|
|
79
|
+
key: "fbba5735e98b065121f0b73ef926b6546aeab82c"
|
|
80
80
|
})));
|
|
81
81
|
}
|
|
82
82
|
get hostElement() {
|