q2-tecton-elements 1.72.0 → 1.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +39545 -34361
- package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
- package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
- package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
- package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
- package/dist/cjs/q2-avatar.cjs.entry.js +34 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
- package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
- package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
- package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
- package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
- package/dist/cjs/q2-context.cjs.entry.js +4 -4
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
- package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
- package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +20 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +3 -3
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +5 -5
- package/dist/cjs/q2-pagination.cjs.entry.js +12 -6
- package/dist/cjs/q2-pill.cjs.entry.js +8 -5
- package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-search.cjs.entry.js +3 -3
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +8 -4
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-surface.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
- package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
- package/dist/collection/components/q2-avatar/q2-avatar.js +34 -1
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +79 -4
- package/dist/collection/components/q2-btn/q2-btn.css +84 -136
- package/dist/collection/components/q2-btn/q2-btn.js +10 -4
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
- package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
- package/dist/collection/components/q2-context/q2-context.js +3 -3
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
- package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
- package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
- package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/formatting/phone-number-formats.js +1 -1
- package/dist/collection/components/q2-input/q2-input.js +6 -3
- package/dist/collection/components/q2-item/q2-item.js +19 -1
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.css +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-message/test/q2-message-test.vr.js +11 -2
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
- package/dist/collection/components/q2-otp/q2-otp.js +4 -4
- package/dist/collection/components/q2-pagination/q2-pagination.css +17 -0
- package/dist/collection/components/q2-pagination/q2-pagination.js +10 -4
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +39 -0
- package/dist/collection/components/q2-pill/q2-pill.css +14 -10
- package/dist/collection/components/q2-pill/q2-pill.js +6 -3
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +25 -0
- package/dist/collection/components/q2-popover/q2-popover.css +1 -0
- package/dist/collection/components/q2-popover/q2-popover.js +43 -8
- package/dist/collection/components/q2-radio/q2-radio.js +5 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.js +6 -3
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +12 -5
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-surface/q2-surface.js +1 -1
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +6 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/chart-keyboard.js +76 -0
- package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
- package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
- package/dist/collection/utils/index.js +1 -1
- package/dist/components/charting.js +1603 -1532
- package/dist/components/dataSample.js +7 -7
- package/dist/components/index.js +57 -53
- package/dist/components/index2.js +2 -2
- package/dist/components/q2-action-sheet.js +224 -103
- package/dist/components/q2-avatar2.js +41 -27
- package/dist/components/q2-btn2.js +2 -2
- package/dist/components/q2-calendar.js +6 -3
- package/dist/components/q2-card-image.js +2 -2
- package/dist/components/q2-carousel-pane2.js +3 -3
- package/dist/components/q2-carousel.js +37 -24
- package/dist/components/q2-chart-area.js +415 -369
- package/dist/components/q2-chart-bar.js +193 -148
- package/dist/components/q2-chart-donut.js +185 -158
- package/dist/components/q2-checkbox-group.js +6 -6
- package/dist/components/q2-checkbox2.js +11 -11
- package/dist/components/q2-context.js +20 -20
- package/dist/components/q2-currency.js +9 -9
- package/dist/components/q2-data-table.js +111 -111
- package/dist/components/q2-date-calendar.d.ts +11 -0
- package/dist/components/q2-date-calendar.js +5 -0
- package/dist/components/q2-date-calendar2.js +678 -0
- package/dist/components/q2-date-picker.d.ts +11 -0
- package/dist/components/q2-date-picker.js +5 -0
- package/dist/components/q2-date-picker2.js +875 -0
- package/dist/components/q2-detail.js +3 -3
- package/dist/components/q2-dropdown.js +17 -17
- package/dist/components/q2-editable-field.js +16 -5
- package/dist/components/q2-example.js +11 -11
- package/dist/components/q2-file-picker.js +1 -1
- package/dist/components/q2-form.js +6 -6
- package/dist/components/q2-formatted-text.js +2 -2
- package/dist/components/q2-input2.js +6 -6
- package/dist/components/q2-item2.js +32 -22
- package/dist/components/q2-legend2.js +7 -7
- package/dist/components/q2-list2.js +6 -6
- package/dist/components/q2-message2.js +10 -10
- package/dist/components/q2-meter.js +7 -7
- package/dist/components/q2-modal.js +22 -22
- package/dist/components/q2-month-picker.js +17 -17
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +55 -34
- package/dist/components/q2-otp.js +8 -8
- package/dist/components/q2-pagination.js +70 -68
- package/dist/components/q2-pill.js +51 -46
- package/dist/components/q2-popover2.js +70 -49
- package/dist/components/q2-radio-group.js +7 -7
- package/dist/components/q2-radio.js +6 -6
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +17 -17
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-pane.js +29 -29
- package/dist/components/q2-stepper-vertical.js +4 -4
- package/dist/components/q2-stepper.js +57 -57
- package/dist/components/q2-surface.js +3 -3
- package/dist/components/q2-tab-container.js +21 -21
- package/dist/components/q2-tab-pane.js +6 -6
- package/dist/components/q2-tag2.js +8 -6
- package/dist/components/q2-textarea.js +3 -3
- package/dist/components/sectorHelper.js +78 -78
- package/dist/components/tecton-tab-pane.js +10 -10
- package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
- package/dist/esm/click-elsewhere_3.entry.js +81 -14
- package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
- package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
- package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +99 -19
- package/dist/esm/q2-avatar.entry.js +34 -1
- package/dist/esm/q2-badge_2.entry.js +3 -3
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +9 -4
- package/dist/esm/q2-card-image.entry.js +3 -3
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +20 -6
- package/dist/esm/q2-chart-area.entry.js +38 -7
- package/dist/esm/q2-chart-bar.entry.js +39 -8
- package/dist/esm/q2-chart-donut.entry.js +31 -13
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox_2.entry.js +8 -5
- package/dist/esm/q2-context.entry.js +4 -4
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +7 -7
- package/dist/esm/q2-date-calendar.entry.js +450 -0
- package/dist/esm/q2-date-picker_2.entry.js +965 -0
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +3 -3
- package/dist/esm/q2-editable-field.entry.js +20 -7
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +2 -2
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +20 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +3 -3
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +5 -5
- package/dist/esm/q2-pagination.entry.js +12 -6
- package/dist/esm/q2-pill.entry.js +8 -5
- package/dist/esm/q2-radio-group.entry.js +2 -2
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-search.entry.js +3 -3
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +8 -4
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-surface.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +2 -2
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
- package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
- package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
- package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
- package/dist/q2-tecton-elements/q2-avatar.entry.js +24 -10
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
- package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
- package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
- package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
- package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +29 -29
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-pagination.entry.js +51 -49
- package/dist/q2-tecton-elements/q2-pill.entry.js +22 -17
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-search.entry.js +31 -31
- package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
- package/dist/q2-tecton-elements/q2-surface.entry.js +15 -15
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
- package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
- package/dist/types/components/q2-avatar/q2-avatar.d.ts +5 -0
- package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
- package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
- package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
- package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
- package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
- package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
- package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
- package/dist/types/components/q2-input/q2-input.d.ts +4 -2
- package/dist/types/components/q2-item/q2-item.d.ts +3 -0
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
- package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
- package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
- package/dist/types/components/q2-search/q2-search.d.ts +3 -1
- package/dist/types/components/q2-select/q2-select.d.ts +4 -2
- package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
- package/dist/types/components.d.ts +858 -49
- package/dist/types/global.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/chart-keyboard.d.ts +16 -0
- package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
- package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
- package/package.json +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
- package/dist/esm/q2-optgroup.entry.js +0 -68
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { proxyCustomElement as
|
|
1
|
+
import { proxyCustomElement as e, HTMLElement as t, createEvent as i, h as s, Host as n, Fragment as a, transformTag as o } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
3
|
import { b as r } from "./component.js";
|
|
4
4
|
|
|
5
|
-
import { c as d, n as
|
|
5
|
+
import { c as d, n as h, l as c } from "./index2.js";
|
|
6
6
|
|
|
7
7
|
import { m as l } from "./mirror-emit.js";
|
|
8
8
|
|
|
9
|
-
const p =
|
|
10
|
-
constructor(
|
|
11
|
-
super(), !1 !==
|
|
9
|
+
const p = e(class extends t {
|
|
10
|
+
constructor(e) {
|
|
11
|
+
super(), !1 !== e && this.__registerHost(), this.__attachShadow(), this.activeChange = i(this, "activeChange", 7),
|
|
12
12
|
this.contentChange = i(this, "contentChange", 7), this.statusChange = i(this, "statusChange", 7),
|
|
13
13
|
this.tctActiveChange = i(this, "tctActiveChange", 7), this.tctStatusChange = i(this, "tctStatusChange", 7),
|
|
14
14
|
// #endregion
|
|
@@ -21,45 +21,45 @@ const p = t(class extends e {
|
|
|
21
21
|
this.hostElement.id || (this.hostElement.id = "step-" + d());
|
|
22
22
|
}
|
|
23
23
|
disconnectedCallback() {
|
|
24
|
-
var
|
|
25
|
-
null === (
|
|
24
|
+
var e;
|
|
25
|
+
null === (e = this.mutationObserver) || void 0 === e || e.disconnect(), this.mutationObserver = null;
|
|
26
26
|
}
|
|
27
27
|
componentWillLoad() {
|
|
28
28
|
r(this.hostElement, "q2-stepper, q2-stepper-vertical"), this.checkForActiveChildren();
|
|
29
29
|
}
|
|
30
30
|
componentDidLoad() {
|
|
31
|
-
const
|
|
31
|
+
const e = new MutationObserver((() => {
|
|
32
32
|
this.contentChange.emit();
|
|
33
33
|
}));
|
|
34
|
-
|
|
34
|
+
e.observe(this.hostElement, {
|
|
35
35
|
childList: !0,
|
|
36
36
|
subtree: !0,
|
|
37
37
|
characterData: !0
|
|
38
|
-
}), this.mutationObserver =
|
|
38
|
+
}), this.mutationObserver = e;
|
|
39
39
|
}
|
|
40
40
|
// #endregion
|
|
41
41
|
// #region Watchers
|
|
42
42
|
labelOrDescriptionChanged() {
|
|
43
43
|
this.contentChange.emit();
|
|
44
44
|
}
|
|
45
|
-
isActiveChanged(
|
|
45
|
+
isActiveChanged(e) {
|
|
46
46
|
l(this, [ "activeChange", "tctActiveChange" ], {
|
|
47
47
|
status: this.status || "",
|
|
48
|
-
isActive:
|
|
48
|
+
isActive: e,
|
|
49
49
|
id: this.hostElement.id,
|
|
50
50
|
host: this.hostElement
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
checkForActiveChildren() {
|
|
54
|
-
this.showWithChildren &&
|
|
54
|
+
this.showWithChildren && h((() => {
|
|
55
55
|
setTimeout((() => {
|
|
56
56
|
this.isChildActive = !!this.hostElement.querySelector("[slot='children'] > q2-stepper-pane[is-active]");
|
|
57
57
|
}));
|
|
58
58
|
}));
|
|
59
59
|
}
|
|
60
|
-
statusChanged(
|
|
60
|
+
statusChanged(e) {
|
|
61
61
|
l(this, [ "statusChange", "tctStatusChange" ], {
|
|
62
|
-
status:
|
|
62
|
+
status: e,
|
|
63
63
|
isActive: !!this.isActive,
|
|
64
64
|
id: this.hostElement.id,
|
|
65
65
|
host: this.hostElement
|
|
@@ -68,36 +68,36 @@ const p = t(class extends e {
|
|
|
68
68
|
// #endregion
|
|
69
69
|
// #region Render Methods
|
|
70
70
|
render() {
|
|
71
|
-
const {label:
|
|
71
|
+
const {label: e, isActive: t} = this;
|
|
72
72
|
return s(n, {
|
|
73
|
-
key: "
|
|
73
|
+
key: "3929b6bdb716394892be2bcdd933864e43f0204e",
|
|
74
74
|
role: "listitem"
|
|
75
75
|
}, s(a, {
|
|
76
|
-
key: "
|
|
76
|
+
key: "d913741a6b71aebef92be14fd7ee541a3d5568da"
|
|
77
77
|
}, s("div", {
|
|
78
|
-
key: "
|
|
78
|
+
key: "038d29ac861f70ad15350da7733b39eece30e538",
|
|
79
79
|
role: "group",
|
|
80
80
|
"aria-labelledby": "pane-label",
|
|
81
81
|
tabindex: "0",
|
|
82
|
-
hidden: !(
|
|
82
|
+
hidden: !(t || this.isChildActive && this.showWithChildren)
|
|
83
83
|
}, s("slot", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "56f4c0d9edfe134886d46367f2c801348267b53d"
|
|
85
85
|
})), s("div", {
|
|
86
|
-
key: "
|
|
86
|
+
key: "88bf8a9e1a6124c39d9ac4ee8906f61ac026966a",
|
|
87
87
|
hidden: !0
|
|
88
88
|
}, s("span", {
|
|
89
|
-
key: "
|
|
89
|
+
key: "db485a5e84ab67fe714f0861fcd05c4b0bd7722f",
|
|
90
90
|
id: "pane-label"
|
|
91
91
|
}, s("slot", {
|
|
92
|
-
key: "
|
|
92
|
+
key: "940a9a3a8543fd4c64425db2b7ea7b9cf079c947",
|
|
93
93
|
name: "label",
|
|
94
94
|
onSlotchange: () => this.contentChange.emit()
|
|
95
|
-
},
|
|
96
|
-
key: "
|
|
95
|
+
}, e && c(e))), s("slot", {
|
|
96
|
+
key: "74a78697ed1aa85fca66743023d303c7abea0116",
|
|
97
97
|
name: "description",
|
|
98
98
|
onSlotchange: () => this.contentChange.emit()
|
|
99
99
|
})), s("slot", {
|
|
100
|
-
key: "
|
|
100
|
+
key: "4fb660b547a2da7dca37de9106b20b93b72aaf83",
|
|
101
101
|
name: "children"
|
|
102
102
|
})));
|
|
103
103
|
}
|
|
@@ -160,8 +160,8 @@ const p = t(class extends e {
|
|
|
160
160
|
|
|
161
161
|
const b = p, defineCustomElement = function() {
|
|
162
162
|
if ("undefined" == typeof customElements) return;
|
|
163
|
-
[ "q2-stepper-pane" ].forEach((
|
|
164
|
-
if ("q2-stepper-pane" ===
|
|
163
|
+
[ "q2-stepper-pane" ].forEach((e => {
|
|
164
|
+
if ("q2-stepper-pane" === e) customElements.get(o(e)) || customElements.define(o(e), p);
|
|
165
165
|
}));
|
|
166
166
|
};
|
|
167
167
|
|
|
@@ -301,15 +301,15 @@ const v = t(class extends e {
|
|
|
301
301
|
}
|
|
302
302
|
render() {
|
|
303
303
|
return r(i, {
|
|
304
|
-
key: "
|
|
304
|
+
key: "d2e82613e91ef3acf210781f807807b0fba8e7fc"
|
|
305
305
|
}, r("ul", {
|
|
306
|
-
key: "
|
|
306
|
+
key: "1ad1e36d0fca4b0c1cf793de43d9ea9ccb76974f",
|
|
307
307
|
role: "tablist"
|
|
308
308
|
}, this.structuredPanes.map(((t, e) => this.renderStepBtn(t, e)))), r("div", {
|
|
309
|
-
key: "
|
|
309
|
+
key: "ee710c6cb41011be7a8223ec817563cfeaeb6b71",
|
|
310
310
|
role: "list"
|
|
311
311
|
}, r("slot", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "0d1f6f53b73f72f163fc219de8db9736f669720d"
|
|
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: "423f7d50f787abf21c14730ae9cd50cd3638b17b"
|
|
253
|
+
}, a("div", {
|
|
254
|
+
key: "2ffacd2f9792075956748eb6960975d9aeda28ad",
|
|
255
255
|
class: s.join(" ")
|
|
256
|
-
}, e && o
|
|
257
|
-
key: "
|
|
258
|
-
},
|
|
259
|
-
key: "
|
|
256
|
+
}, e && a(o, {
|
|
257
|
+
key: "da90a671295ce6702c3bc6f1ab71f671cda2c9c8"
|
|
258
|
+
}, a("div", {
|
|
259
|
+
key: "319c4a75dfafd7b03d3f7f13156f24bd1ca7b0c3",
|
|
260
260
|
class: "gradient-left",
|
|
261
261
|
hidden: !r
|
|
262
|
-
}),
|
|
263
|
-
key: "
|
|
262
|
+
}), a("div", {
|
|
263
|
+
key: "80a08dc979685d94f6cfe20d66787d06e7d46014",
|
|
264
264
|
class: "gradient-right",
|
|
265
265
|
hidden: !i
|
|
266
|
-
}),
|
|
267
|
-
key: "
|
|
266
|
+
}), a("q2-btn", {
|
|
267
|
+
key: "43a71cb3212ddbe37c6e7d7051850efd49ced456",
|
|
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: "19ee5abc690bba84016fb8c692a74b5c233aa426",
|
|
275
275
|
type: "chevron-left"
|
|
276
|
-
})),
|
|
277
|
-
key: "
|
|
276
|
+
})), a("q2-btn", {
|
|
277
|
+
key: "f26bc502269a5d60308aba041a6d9a75efcf2573",
|
|
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: "7f35a54468433010427213e18d213b1c227413a6",
|
|
285
285
|
type: "chevron-right"
|
|
286
|
-
}))),
|
|
287
|
-
key: "
|
|
286
|
+
}))), a("ul", {
|
|
287
|
+
key: "0bc4eed617263c7e4a6138c3a884f6a1b8bc2ca6",
|
|
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: "87945c612fcaa70164faa50d78bb63c9b290e3f2",
|
|
293
293
|
role: "list"
|
|
294
|
-
},
|
|
295
|
-
key: "
|
|
294
|
+
}, a("slot", {
|
|
295
|
+
key: "4b55529f41b4731dc1424c8be4fcd941ff2c2f33",
|
|
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: "fba508447ca646c22aa4a14872d78e02294a2fa1"
|
|
73
73
|
}, t("div", {
|
|
74
|
-
key: "
|
|
74
|
+
key: "46ac755e4c071b2345be0ba4272f283ac2758a82",
|
|
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: "699fdd1427248cdff8ecf1b3b1ca1d4a892dd763"
|
|
80
80
|
})));
|
|
81
81
|
}
|
|
82
82
|
get hostElement() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement as t, HTMLElement as a, createEvent as e, h as i, Fragment as r, transformTag as o } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import { c as n, l as
|
|
3
|
+
import { c as n, l as c, o as s, i as l } from "./index2.js";
|
|
4
4
|
|
|
5
|
-
import { m as
|
|
5
|
+
import { m as b } from "./mirror-emit.js";
|
|
6
6
|
|
|
7
|
-
import { h as
|
|
7
|
+
import { h as d, f as h } from "./component.js";
|
|
8
8
|
|
|
9
9
|
import { d as v } from "./q2-badge2.js";
|
|
10
10
|
|
|
@@ -103,7 +103,7 @@ const f = t(class extends a {
|
|
|
103
103
|
this.checkScrollState();
|
|
104
104
|
}, this.onTabClick = t => {
|
|
105
105
|
const a = t.target.closest('button[role="tab"]').dataset.value;
|
|
106
|
-
this.value === a ||
|
|
106
|
+
this.value === a || b(this, [ "change", "tctChange" ], {
|
|
107
107
|
value: a
|
|
108
108
|
});
|
|
109
109
|
}, this.onTabKeyDown = t => {
|
|
@@ -139,13 +139,13 @@ const f = t(class extends a {
|
|
|
139
139
|
|
|
140
140
|
case "Space":
|
|
141
141
|
case "Enter":
|
|
142
|
-
t.preventDefault(),
|
|
142
|
+
t.preventDefault(), b(this, [ "change", "tctChange" ], {
|
|
143
143
|
value: a
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
}, this.setTabs = () => {
|
|
147
147
|
this.tabs = this.tabPanes.map((({label: t, value: a, badgeCount: e, badgeDescription: i, badgeTheme: r, badgeStatus: o}) => ({
|
|
148
|
-
label: t &&
|
|
148
|
+
label: t && c(t) || "",
|
|
149
149
|
value: a,
|
|
150
150
|
badgeCount: e,
|
|
151
151
|
badgeDescription: i,
|
|
@@ -174,7 +174,7 @@ const f = t(class extends a {
|
|
|
174
174
|
this.narrowViewportMedia && this.narrowViewportListener && this.narrowViewportMedia.removeEventListener("change", this.narrowViewportListener);
|
|
175
175
|
}
|
|
176
176
|
componentWillLoad() {
|
|
177
|
-
|
|
177
|
+
d(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]) || h(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]);
|
|
178
178
|
const t = new MutationObserver((() => this.updateTabs()));
|
|
179
179
|
t.observe(this.hostElement, {
|
|
180
180
|
childList: !0,
|
|
@@ -186,7 +186,7 @@ const f = t(class extends a {
|
|
|
186
186
|
componentDidLoad() {
|
|
187
187
|
var t;
|
|
188
188
|
null === (t = this.resizeObserver) || void 0 === t || t.observe(this.listElement),
|
|
189
|
-
this.checkScrollState(),
|
|
189
|
+
this.checkScrollState(), s(this.hostElement), this.scheduledAfterRender.push((() => this.determineTabMove())),
|
|
190
190
|
this.narrowViewportMedia && (this.narrowViewportListener = t => {
|
|
191
191
|
this.isNarrowViewport = t.matches;
|
|
192
192
|
}, this.narrowViewportMedia.addEventListener("change", this.narrowViewportListener));
|
|
@@ -274,7 +274,7 @@ const f = t(class extends a {
|
|
|
274
274
|
}
|
|
275
275
|
renderTabWithBadge(t, a) {
|
|
276
276
|
let e, r;
|
|
277
|
-
return !t.badgeStatus && a && (e = t.badgeTheme || "primary"), r = t.badgeDescription ?
|
|
277
|
+
return !t.badgeStatus && a && (e = t.badgeTheme || "primary"), r = t.badgeDescription ? c(t.badgeDescription) : t.badgeStatus ? c("tecton.element.tab.pane." + t.badgeStatus, [ t.badgeCount ]) : c("tecton.element.tab.pane.new"),
|
|
278
278
|
i("div", {
|
|
279
279
|
class: "tab-pane-badge",
|
|
280
280
|
"aria-label": `${t.label}, ${t.badgeCount} ${r}`
|
|
@@ -287,50 +287,50 @@ const f = t(class extends a {
|
|
|
287
287
|
render() {
|
|
288
288
|
const t = "vertical" === this.computedOrientation;
|
|
289
289
|
return i(r, {
|
|
290
|
-
key: "
|
|
290
|
+
key: "37c84e750a2494ea2b4302fd99e0cebc443d58ce"
|
|
291
291
|
}, i("div", {
|
|
292
|
-
key: "
|
|
292
|
+
key: "249effad5ab4e880c2c203ac0e4024557c310679",
|
|
293
293
|
class: "tab-container"
|
|
294
294
|
}, this.scrollEnabled && i(r, {
|
|
295
|
-
key: "
|
|
295
|
+
key: "10a7d53d5bde829e5897722cd924d40ce90a0b82"
|
|
296
296
|
}, i("div", {
|
|
297
|
-
key: "
|
|
297
|
+
key: "b2acc786c41a9d1a8d3e951fdc36ecea3a304664",
|
|
298
298
|
class: "gradient-left",
|
|
299
299
|
hidden: !this.showScrollBack
|
|
300
300
|
}), i("div", {
|
|
301
|
-
key: "
|
|
301
|
+
key: "fa70173c7d845f88417c6b6b6d54884ead80f34f",
|
|
302
302
|
class: "gradient-right",
|
|
303
303
|
hidden: !this.showScrollForward
|
|
304
304
|
}), i("q2-btn", {
|
|
305
|
-
key: "
|
|
305
|
+
key: "d953c160ff42503dce5bb7c60d8234bdd9196d73",
|
|
306
306
|
class: "btn-left",
|
|
307
307
|
hidden: !this.showScrollBack,
|
|
308
308
|
onTctClick: () => this.onScrollBtnClick("back")
|
|
309
309
|
}, i("q2-icon", {
|
|
310
|
-
key: "
|
|
310
|
+
key: "3980ef873b5d7ae6c50eb868455839344dda9701",
|
|
311
311
|
type: t ? "chevron-up" : "chevron-left",
|
|
312
312
|
label: t ? "scroll up" : "scroll left"
|
|
313
313
|
})), i("q2-btn", {
|
|
314
|
-
key: "
|
|
314
|
+
key: "a3b1f46355ab1de2f73ac7529b734b684194093f",
|
|
315
315
|
class: "btn-right",
|
|
316
316
|
hidden: !this.showScrollForward,
|
|
317
317
|
onTctClick: () => this.onScrollBtnClick("forward")
|
|
318
318
|
}, i("q2-icon", {
|
|
319
|
-
key: "
|
|
319
|
+
key: "a2ec50ff7e0cce3716ba890c626fa56e62ecddbb",
|
|
320
320
|
type: t ? "chevron-down" : "chevron-right",
|
|
321
321
|
label: t ? "scroll down" : "scroll right"
|
|
322
322
|
}))), i("ul", {
|
|
323
|
-
key: "
|
|
323
|
+
key: "e42bbb379d396a25b3af96985504a8f4bae1bba0",
|
|
324
324
|
onScroll: this.checkScrollState,
|
|
325
325
|
ref: t => this.listElement = t,
|
|
326
326
|
class: this.noPrint ? "no-print" : null,
|
|
327
327
|
role: "tablist",
|
|
328
328
|
"aria-orientation": this.computedOrientation
|
|
329
329
|
}, this.tabs.map(((t, a) => this.renderTab(t, a))))), i("div", {
|
|
330
|
-
key: "
|
|
330
|
+
key: "7d1f6ac5262cccb0b7087b3d93f33e46390814af",
|
|
331
331
|
class: "tab-content"
|
|
332
332
|
}, i("slot", {
|
|
333
|
-
key: "
|
|
333
|
+
key: "fa341fadca5ba04fe21ef7186cc0e15b5c7357db",
|
|
334
334
|
onSlotchange: () => this.onSlotChange()
|
|
335
335
|
})));
|
|
336
336
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement as e, HTMLElement as t, createEvent as n, h as
|
|
1
|
+
import { proxyCustomElement as e, HTMLElement as t, createEvent as n, h as a, transformTag as i } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
3
|
import { b as o } from "./component.js";
|
|
4
4
|
|
|
@@ -19,16 +19,16 @@ const r = e(class extends t {
|
|
|
19
19
|
// #endregion
|
|
20
20
|
// #region Render Methods
|
|
21
21
|
render() {
|
|
22
|
-
return
|
|
23
|
-
key: "
|
|
22
|
+
return a("div", {
|
|
23
|
+
key: "1a957a6a6fb4dee7e420d46ad5f576b5b25008c4",
|
|
24
24
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
25
25
|
class: "tab-pane" + (this.selected ? "" : " hidden"),
|
|
26
26
|
role: "tabpanel",
|
|
27
27
|
tabindex: "-1",
|
|
28
28
|
"aria-hidden": "" + !this.selected,
|
|
29
29
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
30
|
-
},
|
|
31
|
-
key: "
|
|
30
|
+
}, a("slot", {
|
|
31
|
+
key: "9c9dc847674f0a829feb822808f7e3dac9ac3263"
|
|
32
32
|
}));
|
|
33
33
|
}
|
|
34
34
|
get hostElement() {
|
|
@@ -82,7 +82,7 @@ const r = e(class extends t {
|
|
|
82
82
|
const s = r, defineCustomElement = function() {
|
|
83
83
|
if ("undefined" == typeof customElements) return;
|
|
84
84
|
[ "q2-tab-pane" ].forEach((e => {
|
|
85
|
-
if ("q2-tab-pane" === e) customElements.get(
|
|
85
|
+
if ("q2-tab-pane" === e) customElements.get(i(e)) || customElements.define(i(e), r);
|
|
86
86
|
}));
|
|
87
87
|
};
|
|
88
88
|
|
|
@@ -101,7 +101,9 @@ const f = t(class extends o {
|
|
|
101
101
|
c(t, this.hostElement) && this.optionCount && this.dropdownBtn.focus();
|
|
102
102
|
}
|
|
103
103
|
popoverStateHandler({detail: {open: t}}) {
|
|
104
|
-
|
|
104
|
+
var o;
|
|
105
|
+
this.open !== t && (this.open = t, t || (this.optionList.setActiveElement(null),
|
|
106
|
+
null === (o = this.dropdownBtn) || void 0 === o || o.focus()));
|
|
105
107
|
}
|
|
106
108
|
// #endregion
|
|
107
109
|
// #region Public Methods API
|
|
@@ -151,9 +153,9 @@ const f = t(class extends o {
|
|
|
151
153
|
this.optionCount && o.push("has-options");
|
|
152
154
|
const e = this.optionCount > 0;
|
|
153
155
|
return r(i, {
|
|
154
|
-
key: "
|
|
156
|
+
key: "a46abe562647fe64e55427bcc8284bbfc5f01e3f"
|
|
155
157
|
}, r("click-elsewhere", {
|
|
156
|
-
key: "
|
|
158
|
+
key: "667e76295c30be78462ee67128a8fb2c38c01285",
|
|
157
159
|
onChange: this.onClickElsewhere
|
|
158
160
|
}, e ? r(a, null, r("button", {
|
|
159
161
|
class: "tag-wrapper",
|
|
@@ -180,7 +182,7 @@ const f = t(class extends o {
|
|
|
180
182
|
}, r("slot", {
|
|
181
183
|
name: "decorator"
|
|
182
184
|
}), l(this.label))), e && r("q2-popover", {
|
|
183
|
-
key: "
|
|
185
|
+
key: "805e64b738fc5a0b1a73968636a8843af33834ef",
|
|
184
186
|
ref: t => this.popoverElement = t,
|
|
185
187
|
controlElement: this.dropdownBtn,
|
|
186
188
|
open: this.open,
|
|
@@ -189,7 +191,7 @@ const f = t(class extends o {
|
|
|
189
191
|
direction: this.popoverDirection,
|
|
190
192
|
align: this.popoverAlignment
|
|
191
193
|
}, r("q2-option-list", {
|
|
192
|
-
key: "
|
|
194
|
+
key: "1d037878cfcf4785439edb9a5693d4dba700e947",
|
|
193
195
|
id: "option-list",
|
|
194
196
|
ref: t => this.optionList = t,
|
|
195
197
|
onChange: this.handleChange,
|
|
@@ -198,7 +200,7 @@ const f = t(class extends o {
|
|
|
198
200
|
label: l("tecton.element.optionList.label", [ this.optionListLabel ]),
|
|
199
201
|
"no-select": !0
|
|
200
202
|
}, r("slot", {
|
|
201
|
-
key: "
|
|
203
|
+
key: "1039cd355f5b1a7ec7cab1eca80479042060fef4"
|
|
202
204
|
})))));
|
|
203
205
|
}
|
|
204
206
|
get hostElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement as t, HTMLElement as r, createEvent as a, h as e, Fragment as o, transformTag as i } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { g as s, c as n, s as c, o as l, i as h, l as d, r as v, j as x } from "./index2.js";
|
|
4
4
|
|
|
5
5
|
import { m as p } from "./mirror-emit.js";
|
|
6
6
|
|
|
@@ -255,10 +255,10 @@ const g = t(class extends r {
|
|
|
255
255
|
}
|
|
256
256
|
render() {
|
|
257
257
|
return e("div", {
|
|
258
|
-
key: "
|
|
258
|
+
key: "21a303feabd0c8fc09d9cc7f0de8b9b50081a56a",
|
|
259
259
|
class: this.wrapperClasses
|
|
260
260
|
}, v(this), e("div", {
|
|
261
|
-
key: "
|
|
261
|
+
key: "58b5be24312fe523d09efe176b1ecf42b884166a",
|
|
262
262
|
class: "content-container",
|
|
263
263
|
ref: t => this.contentContainer = t
|
|
264
264
|
}, this.renderInput(), this.maxlength ? this.renderMaxLength() : "", x(this)));
|