q2-tecton-elements 1.72.0 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +38990 -33801
- package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
- package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
- package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
- package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
- package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
- package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
- package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
- package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
- package/dist/cjs/q2-context.cjs.entry.js +4 -4
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
- package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
- package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +20 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +2 -2
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +5 -5
- package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
- package/dist/cjs/q2-pill.cjs.entry.js +7 -4
- package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-search.cjs.entry.js +3 -3
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +8 -4
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-surface.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
- package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-btn/q2-btn.css +84 -136
- package/dist/collection/components/q2-btn/q2-btn.js +10 -4
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
- package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
- package/dist/collection/components/q2-context/q2-context.js +3 -3
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
- package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
- package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
- package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/q2-input.js +6 -3
- package/dist/collection/components/q2-item/q2-item.js +19 -1
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
- package/dist/collection/components/q2-otp/q2-otp.js +4 -4
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +6 -3
- package/dist/collection/components/q2-popover/q2-popover.css +1 -0
- package/dist/collection/components/q2-popover/q2-popover.js +43 -8
- package/dist/collection/components/q2-radio/q2-radio.js +5 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.js +6 -3
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +12 -5
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-surface/q2-surface.js +1 -1
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +6 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/chart-keyboard.js +76 -0
- package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
- package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
- package/dist/collection/utils/index.js +1 -1
- package/dist/components/charting.js +1603 -1532
- package/dist/components/dataSample.js +7 -7
- package/dist/components/index.js +57 -53
- package/dist/components/index2.js +2 -2
- package/dist/components/q2-action-sheet.js +224 -103
- package/dist/components/q2-avatar2.js +8 -8
- package/dist/components/q2-btn2.js +2 -2
- package/dist/components/q2-calendar.js +6 -3
- package/dist/components/q2-card-image.js +2 -2
- package/dist/components/q2-carousel-pane2.js +3 -3
- package/dist/components/q2-carousel.js +37 -24
- package/dist/components/q2-chart-area.js +415 -369
- package/dist/components/q2-chart-bar.js +193 -148
- package/dist/components/q2-chart-donut.js +185 -158
- package/dist/components/q2-checkbox-group.js +6 -6
- package/dist/components/q2-checkbox2.js +11 -11
- package/dist/components/q2-context.js +20 -20
- package/dist/components/q2-currency.js +9 -9
- package/dist/components/q2-data-table.js +111 -111
- package/dist/components/q2-date-calendar.d.ts +11 -0
- package/dist/components/q2-date-calendar.js +5 -0
- package/dist/components/q2-date-calendar2.js +678 -0
- package/dist/components/q2-date-picker.d.ts +11 -0
- package/dist/components/q2-date-picker.js +5 -0
- package/dist/components/q2-date-picker2.js +875 -0
- package/dist/components/q2-detail.js +3 -3
- package/dist/components/q2-dropdown.js +17 -17
- package/dist/components/q2-editable-field.js +16 -5
- package/dist/components/q2-example.js +11 -11
- package/dist/components/q2-file-picker.js +1 -1
- package/dist/components/q2-form.js +6 -6
- package/dist/components/q2-formatted-text.js +2 -2
- package/dist/components/q2-input2.js +5 -5
- package/dist/components/q2-item2.js +32 -22
- package/dist/components/q2-legend2.js +7 -7
- package/dist/components/q2-list2.js +6 -6
- package/dist/components/q2-message2.js +9 -9
- package/dist/components/q2-meter.js +7 -7
- package/dist/components/q2-modal.js +22 -22
- package/dist/components/q2-month-picker.js +17 -17
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +55 -34
- package/dist/components/q2-otp.js +8 -8
- package/dist/components/q2-pagination.js +67 -67
- package/dist/components/q2-pill.js +16 -14
- package/dist/components/q2-popover2.js +70 -49
- package/dist/components/q2-radio-group.js +7 -7
- package/dist/components/q2-radio.js +6 -6
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +23 -23
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +19 -19
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-pane.js +9 -9
- package/dist/components/q2-stepper-vertical.js +4 -4
- package/dist/components/q2-stepper.js +57 -57
- package/dist/components/q2-surface.js +3 -3
- package/dist/components/q2-tab-container.js +17 -17
- package/dist/components/q2-tab-pane.js +2 -2
- package/dist/components/q2-tag2.js +8 -6
- package/dist/components/q2-textarea.js +3 -3
- package/dist/components/sectorHelper.js +78 -78
- package/dist/components/tecton-tab-pane.js +10 -10
- package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
- package/dist/esm/click-elsewhere_3.entry.js +81 -14
- package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
- package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
- package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +99 -19
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_2.entry.js +2 -2
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +9 -4
- package/dist/esm/q2-card-image.entry.js +3 -3
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +20 -6
- package/dist/esm/q2-chart-area.entry.js +38 -7
- package/dist/esm/q2-chart-bar.entry.js +39 -8
- package/dist/esm/q2-chart-donut.entry.js +31 -13
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox_2.entry.js +8 -5
- package/dist/esm/q2-context.entry.js +4 -4
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +7 -7
- package/dist/esm/q2-date-calendar.entry.js +450 -0
- package/dist/esm/q2-date-picker_2.entry.js +965 -0
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +3 -3
- package/dist/esm/q2-editable-field.entry.js +20 -7
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +2 -2
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +20 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +2 -2
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +5 -5
- package/dist/esm/q2-pagination.entry.js +4 -4
- package/dist/esm/q2-pill.entry.js +7 -4
- package/dist/esm/q2-radio-group.entry.js +2 -2
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-search.entry.js +3 -3
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +8 -4
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-surface.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +2 -2
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
- package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
- package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
- package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
- package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
- package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
- package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
- package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
- package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +28 -28
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-pagination.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-pill.entry.js +42 -40
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-search.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
- package/dist/q2-tecton-elements/q2-surface.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
- package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
- package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
- package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
- package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
- package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
- package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
- package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
- package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
- package/dist/types/components/q2-input/q2-input.d.ts +4 -2
- package/dist/types/components/q2-item/q2-item.d.ts +3 -0
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
- package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
- package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
- package/dist/types/components/q2-search/q2-search.d.ts +3 -1
- package/dist/types/components/q2-select/q2-select.d.ts +4 -2
- package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
- package/dist/types/components.d.ts +858 -49
- package/dist/types/global.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/chart-keyboard.d.ts +16 -0
- package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
- package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
- package/package.json +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
- package/dist/esm/q2-optgroup.entry.js +0 -68
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as a, h as o, g as i } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { e as r, w as e, h as s } from "./index-
|
|
3
|
+
import { e as r, w as e, h as s } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { s as n } from "./sanitize-html-string-DPHNpMWE.js";
|
|
6
6
|
|
|
@@ -110,62 +110,62 @@ const c = class {
|
|
|
110
110
|
render() {
|
|
111
111
|
const t = `${this.renderStatus || ""}`;
|
|
112
112
|
return o("dialog", {
|
|
113
|
-
key: "
|
|
113
|
+
key: "67c724b2e94aa823893cc3477ffa364bc07f3c91",
|
|
114
114
|
ref: t => this.dialogElement = t,
|
|
115
115
|
class: t,
|
|
116
116
|
onCancel: this.onCancel,
|
|
117
117
|
onClick: this.onClick
|
|
118
118
|
}, o("div", {
|
|
119
|
-
key: "
|
|
119
|
+
key: "67b97fe323985b56db793d1cf939192bbfbd424e",
|
|
120
120
|
class: "interior"
|
|
121
121
|
}, this.title && o("header", {
|
|
122
|
-
key: "
|
|
122
|
+
key: "ec0c82831007887e2baeddc50f2b8c0ec24b0d97"
|
|
123
123
|
}, this.title && o("h2", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "10bbd7f9216ce221616acc4c77984aca582eba10",
|
|
125
125
|
class: "title"
|
|
126
126
|
}, this.title), !!this.closable && o("q2-btn", {
|
|
127
|
-
key: "
|
|
127
|
+
key: "8f801bf013c9015c3ae50543067393b26941d3d4",
|
|
128
128
|
class: "btn-close",
|
|
129
129
|
"test-id": "btnClose",
|
|
130
130
|
onClick: this.onCancel,
|
|
131
131
|
label: "tecton.element.modal.close",
|
|
132
132
|
"hide-label": !0
|
|
133
133
|
}, o("q2-icon", {
|
|
134
|
-
key: "
|
|
134
|
+
key: "b546a86894aa6b5dd3576a33eadfa63e21a13590",
|
|
135
135
|
type: "close"
|
|
136
136
|
}))), o("div", {
|
|
137
|
-
key: "
|
|
137
|
+
key: "cdc674c3cee4bca6bda0c60ca2c9f08f83ab4440",
|
|
138
138
|
class: "content",
|
|
139
139
|
ref: t => this.contentElement = t
|
|
140
140
|
}, this.icon && o("div", {
|
|
141
|
-
key: "
|
|
141
|
+
key: "8b8ffc983cecd2ddf1f912db7f00a6ed198a6b16",
|
|
142
142
|
class: "icon"
|
|
143
143
|
}, o("q2-icon", {
|
|
144
|
-
key: "
|
|
144
|
+
key: "cb3430c9216268ed7e8eeea85a83168b2d72ceb1",
|
|
145
145
|
type: this.icon
|
|
146
146
|
})), this.imageSrc && o("div", {
|
|
147
|
-
key: "
|
|
147
|
+
key: "eab34ebad157a6c81a0e24bc726505e3541eac05",
|
|
148
148
|
class: "image"
|
|
149
149
|
}, o("img", {
|
|
150
|
-
key: "
|
|
150
|
+
key: "cdf8e7a1c381a099d811241a410998e16405bda4",
|
|
151
151
|
src: this.imageSrc
|
|
152
152
|
})), s(this.hostElement, "content") && o("slot", {
|
|
153
|
-
key: "
|
|
153
|
+
key: "2674f81de64e3d6069e043f4c0a0db39d70f466a",
|
|
154
154
|
name: "content"
|
|
155
155
|
}), this.description && o("p", {
|
|
156
|
-
key: "
|
|
156
|
+
key: "8dc2a0b031812a6e65012df8d78e5ff3373c117e",
|
|
157
157
|
class: "description"
|
|
158
158
|
}, this.description), this.customMarkup && o("p", {
|
|
159
|
-
key: "
|
|
159
|
+
key: "218d120d1109cff6a1aa79e5b76befbca0ca5857",
|
|
160
160
|
class: "customMarkup",
|
|
161
161
|
innerHTML: n(this.customMarkup)
|
|
162
162
|
})), o("footer", {
|
|
163
|
-
key: "
|
|
163
|
+
key: "ffc5c49fbaabde579fda002a25ac893e798c07de"
|
|
164
164
|
}, o("q2-action-group", {
|
|
165
|
-
key: "
|
|
165
|
+
key: "295cde61c6e9851aab36f3903f892a5775aca76c",
|
|
166
166
|
"full-width": this.fullWidthButton
|
|
167
167
|
}, o("slot", {
|
|
168
|
-
key: "
|
|
168
|
+
key: "e8ece0f36c2647515d82e3cd21b9c36faf731fd2",
|
|
169
169
|
name: "action"
|
|
170
170
|
})))));
|
|
171
171
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as n, h as e, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { l as a, o as i } from "./index-
|
|
3
|
+
import { l as a, o as i } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const r = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -74,54 +74,54 @@ const r = class {
|
|
|
74
74
|
// #region Render Methods
|
|
75
75
|
render() {
|
|
76
76
|
return e("div", {
|
|
77
|
-
key: "
|
|
77
|
+
key: "6e90b90e7720649681c2e95debe81d823095ccd0",
|
|
78
78
|
class: "month-container",
|
|
79
79
|
onKeyDown: this.onMonthKeydown
|
|
80
80
|
}, e("div", {
|
|
81
|
-
key: "
|
|
81
|
+
key: "d1b83fce67fec3beacb73004a02d566f77a5729f",
|
|
82
82
|
class: "navigation"
|
|
83
83
|
}, e("q2-btn", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "0772d6553ee3a75ca829755b3abc7d75ac0fa1aa",
|
|
85
85
|
class: "year-btn",
|
|
86
86
|
onClick: () => this.viewChange.emit({
|
|
87
87
|
view: "year",
|
|
88
88
|
selectedYear: this.year
|
|
89
89
|
})
|
|
90
90
|
}, e("span", {
|
|
91
|
-
key: "
|
|
91
|
+
key: "689e2643923973447a38063260943bfaf98f673c",
|
|
92
92
|
class: "year"
|
|
93
93
|
}, this.year), e("q2-icon", {
|
|
94
|
-
key: "
|
|
94
|
+
key: "590dcf2cf06e4980d70644b5be9e448cfe72abdc",
|
|
95
95
|
class: "year-icon off",
|
|
96
96
|
type: "chevron-down"
|
|
97
97
|
})), e("div", {
|
|
98
|
-
key: "
|
|
98
|
+
key: "3001ad6ece1c302809e27df855c921698b840c56",
|
|
99
99
|
class: "month-controller"
|
|
100
100
|
}, e("div", {
|
|
101
|
-
key: "
|
|
101
|
+
key: "23397576c55f2f5ad32c248459ce986d38f25e5d",
|
|
102
102
|
class: "cal-year-prev-next"
|
|
103
103
|
}, e("q2-btn", {
|
|
104
|
-
key: "
|
|
104
|
+
key: "8d38dd1bc2986e6c43b66c5cf3538adea921b259",
|
|
105
105
|
label: a("tecton.element.calendar.previousYear"),
|
|
106
106
|
"hide-label": !0,
|
|
107
107
|
class: "cal-nav-btn prev-year",
|
|
108
108
|
"test-id": "previousYearButton",
|
|
109
109
|
onClick: () => this.selectYear(this.year - 1)
|
|
110
110
|
}, e("q2-icon", {
|
|
111
|
-
key: "
|
|
111
|
+
key: "55f8e258f83c0209b76efb3798478409ee246133",
|
|
112
112
|
type: "arrow-left"
|
|
113
113
|
})), e("q2-btn", {
|
|
114
|
-
key: "
|
|
114
|
+
key: "578e4c4cd87cf3e25a09d55cb2c20ef0967d44bb",
|
|
115
115
|
label: a("tecton.element.calendar.nextYear"),
|
|
116
116
|
"hide-label": !0,
|
|
117
117
|
class: "cal-nav-btn next-year",
|
|
118
118
|
"test-id": "nextYearButton",
|
|
119
119
|
onClick: () => this.selectYear(this.year + 1)
|
|
120
120
|
}, e("q2-icon", {
|
|
121
|
-
key: "
|
|
121
|
+
key: "f2814f78597a04fca5617b3b59271d6c11221a5c",
|
|
122
122
|
type: "arrow-right"
|
|
123
123
|
}))))), e("div", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "7843d1db40f82116c3f82f544ad045a1f7dabadb",
|
|
125
125
|
class: "month-list",
|
|
126
126
|
onClick: this.onMonthSelection
|
|
127
127
|
}, this.months.map(((t, n) => e("div", {
|
|
@@ -133,7 +133,7 @@ const r = class {
|
|
|
133
133
|
"aria-label": t.label,
|
|
134
134
|
tabindex: n === this.focusedIndex ? 0 : -1
|
|
135
135
|
}, t.abbr))))), this.today && e("div", {
|
|
136
|
-
key: "
|
|
136
|
+
key: "71675483d7a2d770ad8f76b3540d47c10ebb0325",
|
|
137
137
|
class: "today-label"
|
|
138
138
|
}, a("tecton.element.calendar.today"), ": ", this.today));
|
|
139
139
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { c as s, o as r, i as a, l as n } from "./index-
|
|
3
|
+
import { c as s, o as r, i as a, l as n } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const c = class {
|
|
6
6
|
constructor(i) {
|
|
@@ -283,7 +283,7 @@ const c = class {
|
|
|
283
283
|
block: !0,
|
|
284
284
|
class: "send-code-button",
|
|
285
285
|
disabled: this.disabled,
|
|
286
|
-
intent: "
|
|
286
|
+
intent: "primary",
|
|
287
287
|
label: this.localizedSendCodeLabel,
|
|
288
288
|
onClick: this.handleSendCodeClick,
|
|
289
289
|
ref: t => this.sendCodeRef = t
|
|
@@ -301,7 +301,7 @@ const c = class {
|
|
|
301
301
|
block: !0,
|
|
302
302
|
class: "submit-button",
|
|
303
303
|
disabled: this.disabled || !this.isComplete,
|
|
304
|
-
intent: "
|
|
304
|
+
intent: "primary",
|
|
305
305
|
label: this.isVerifying ? this.localizedProcessingLabel : this.localizedSubmitLabel,
|
|
306
306
|
loading: this.isVerifying,
|
|
307
307
|
onClick: this.handleSubmitClick
|
|
@@ -309,7 +309,7 @@ const c = class {
|
|
|
309
309
|
}
|
|
310
310
|
render() {
|
|
311
311
|
return i("div", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "8f4ada9f194f1b0995995e946097b3e24a11f605",
|
|
313
313
|
"aria-busy": this.isVerifying ? "true" : void 0,
|
|
314
314
|
"aria-labelledby": this.label ? this.labelId : void 0,
|
|
315
315
|
class: {
|
|
@@ -323,22 +323,22 @@ const c = class {
|
|
|
323
323
|
},
|
|
324
324
|
role: "group"
|
|
325
325
|
}, this.renderSendCodeButton(), i("div", {
|
|
326
|
-
key: "
|
|
326
|
+
key: "099e1ef5ccc09846faf9952772e61ff7644e5085",
|
|
327
327
|
class: {
|
|
328
328
|
"otp-content": !0,
|
|
329
329
|
"send-code-hidden": "ready" === this.state
|
|
330
330
|
}
|
|
331
331
|
}, this.renderLabel(), i("div", {
|
|
332
|
-
key: "
|
|
332
|
+
key: "5ad6ff061779de6562f523148459729d73bbf53a",
|
|
333
333
|
class: "otp-control-group"
|
|
334
334
|
}, i("div", {
|
|
335
|
-
key: "
|
|
335
|
+
key: "d60e93f2d79d0f4b0348a5b581647ece89e9973c",
|
|
336
336
|
class: "fields-shell"
|
|
337
337
|
}, i("div", {
|
|
338
|
-
key: "
|
|
338
|
+
key: "55b515c8a04e664024dcc66e4d894dcb0ddd4ca4",
|
|
339
339
|
class: "fields-container"
|
|
340
340
|
}, i("input", {
|
|
341
|
-
key: "
|
|
341
|
+
key: "b8319da6e91ea06ff5632c72326460c0e532393d",
|
|
342
342
|
"aria-describedby": this.describedBy,
|
|
343
343
|
"aria-invalid": "error" === this.state ? "true" : "false",
|
|
344
344
|
"aria-label": this.inputAriaLabel,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, g as n } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { n as a, o as s, i as o, b as r, l as c } from "./index-
|
|
3
|
+
import { n as a, o as s, i as o, b as r, l as c } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as h } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -223,12 +223,12 @@ const l = class {
|
|
|
223
223
|
recordType: s.toLowerCase(),
|
|
224
224
|
total: r
|
|
225
225
|
})), i("nav", {
|
|
226
|
-
key: "
|
|
226
|
+
key: "647c141a9df399b3764fdc90c5ae05f113e0019d",
|
|
227
227
|
class: this.containerClasses.join(" "),
|
|
228
228
|
ref: t => this.containerElement = t,
|
|
229
229
|
"aria-label": c("tecton.element.pagination.title")
|
|
230
230
|
}, i("div", {
|
|
231
|
-
key: "
|
|
231
|
+
key: "fd595002af27dd639391665573433783342d2aee",
|
|
232
232
|
class: "description",
|
|
233
233
|
"test-id": "description"
|
|
234
234
|
}, e ? c("tecton.element.pagination.pages", {
|
|
@@ -239,13 +239,13 @@ const l = class {
|
|
|
239
239
|
recordType: s.toLowerCase(),
|
|
240
240
|
total: r.toLocaleString()
|
|
241
241
|
})), i("div", {
|
|
242
|
-
key: "
|
|
242
|
+
key: "da4c7137ed566532a9471a7b83a63c49c51c8e82",
|
|
243
243
|
class: "controls"
|
|
244
244
|
}, i("div", {
|
|
245
|
-
key: "
|
|
245
|
+
key: "ef59aadb7b6cfb82707ffb1ee9e1626428a84801",
|
|
246
246
|
class: "btn-group"
|
|
247
247
|
}, i("q2-btn", {
|
|
248
|
-
key: "
|
|
248
|
+
key: "e5d551764bec56fed3dc34684c4ff2cdfadd95ea",
|
|
249
249
|
ref: t => this.firstPageBtn = t,
|
|
250
250
|
label: c("tecton.element.pagination.goToFirstPage"),
|
|
251
251
|
disabled: u || f,
|
|
@@ -254,10 +254,10 @@ const l = class {
|
|
|
254
254
|
"test-id": "firstPageBtn",
|
|
255
255
|
"hide-label": !0
|
|
256
256
|
}, i("q2-icon", {
|
|
257
|
-
key: "
|
|
257
|
+
key: "7423721c4c3082b8f0fdea5d6bde9fc62640fa24",
|
|
258
258
|
type: "chevron-double-left"
|
|
259
259
|
})), i("q2-btn", {
|
|
260
|
-
key: "
|
|
260
|
+
key: "90b3544e9983fa652f225eda9d18d08883b31c39",
|
|
261
261
|
ref: t => this.prevPageBtn = t,
|
|
262
262
|
label: v,
|
|
263
263
|
disabled: u || f,
|
|
@@ -265,21 +265,21 @@ const l = class {
|
|
|
265
265
|
"test-id": "prevPageBtn",
|
|
266
266
|
"hide-label": !0
|
|
267
267
|
}, i("q2-icon", {
|
|
268
|
-
key: "
|
|
268
|
+
key: "6535f2c3745421cbf1dd5750e3ab8d08288bc148",
|
|
269
269
|
type: "chevron-left"
|
|
270
270
|
}))), i("div", {
|
|
271
|
-
key: "
|
|
271
|
+
key: "d4a581982a62f360e5b693a110a7d75eaf0ba24c",
|
|
272
272
|
class: "input-display",
|
|
273
273
|
hidden: a
|
|
274
274
|
}, i("span", {
|
|
275
|
-
key: "
|
|
275
|
+
key: "45a28afc71ee038d829cbe64550bf929210002a9",
|
|
276
276
|
"aria-hidden": "true"
|
|
277
277
|
}, c("tecton.element.pagination.page")), i("div", {
|
|
278
|
-
key: "
|
|
278
|
+
key: "ba5df7f89aed5be2f882057d8cf344981e3f1127",
|
|
279
279
|
class: "input-wrapper",
|
|
280
280
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
281
281
|
}, i("q2-input", {
|
|
282
|
-
key: "
|
|
282
|
+
key: "686c5c8891bd64a40ba9abe8436475bf3ef8fd38",
|
|
283
283
|
ref: t => this.inputField = t,
|
|
284
284
|
type: "number",
|
|
285
285
|
value: `${h}`,
|
|
@@ -296,13 +296,13 @@ const l = class {
|
|
|
296
296
|
current: "page",
|
|
297
297
|
disabled: u
|
|
298
298
|
})), i("span", {
|
|
299
|
-
key: "
|
|
299
|
+
key: "59853a0308d1f97b6722f40c29219d887842c54c",
|
|
300
300
|
"aria-hidden": "true"
|
|
301
301
|
}, c("tecton.element.pagination.ofPages", [ o.toLocaleString() ]))), i("div", {
|
|
302
|
-
key: "
|
|
302
|
+
key: "17fa28deff49d5a3a28b6d66b5639428a309057a",
|
|
303
303
|
class: "btn-group"
|
|
304
304
|
}, i("q2-btn", {
|
|
305
|
-
key: "
|
|
305
|
+
key: "0e5eca8dc228a8285015d5941d9c4e44af5e5353",
|
|
306
306
|
ref: t => this.nextPageBtn = t,
|
|
307
307
|
label: m,
|
|
308
308
|
disabled: u || b,
|
|
@@ -310,10 +310,10 @@ const l = class {
|
|
|
310
310
|
"test-id": "nextPageBtn",
|
|
311
311
|
"hide-label": !0
|
|
312
312
|
}, i("q2-icon", {
|
|
313
|
-
key: "
|
|
313
|
+
key: "9a42a4961ac7efd40c176145a39f0c63540daf14",
|
|
314
314
|
type: "chevron-right"
|
|
315
315
|
})), i("q2-btn", {
|
|
316
|
-
key: "
|
|
316
|
+
key: "fe0c41536c25d7deffa26fdab4f91405e5b197d6",
|
|
317
317
|
ref: t => this.lastPageBtn = t,
|
|
318
318
|
label: "tecton.element.pagination.goToLastPage",
|
|
319
319
|
disabled: u || b,
|
|
@@ -322,10 +322,10 @@ const l = class {
|
|
|
322
322
|
"test-id": "lastPageBtn",
|
|
323
323
|
"hide-label": !0
|
|
324
324
|
}, i("q2-icon", {
|
|
325
|
-
key: "
|
|
325
|
+
key: "5beccc87ad5ef95350cb21d969b15c0996911126",
|
|
326
326
|
type: "chevron-double-right"
|
|
327
327
|
})))), i("div", {
|
|
328
|
-
key: "
|
|
328
|
+
key: "d60b56b2f8173ea2a6fcf3cf4fd1b5f2807fbc5c",
|
|
329
329
|
class: "per-page",
|
|
330
330
|
hidden: a || !(null === (t = this.perPageIncrements) || void 0 === t ? void 0 : t.length)
|
|
331
331
|
}, g && this.renderPerPage()));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as o, h as i, g as e } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { a, o as
|
|
3
|
+
import { a as r, o as a, i as n, w as c, l as s } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as l } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -31,7 +31,7 @@ const v = class {
|
|
|
31
31
|
value: null,
|
|
32
32
|
values: [],
|
|
33
33
|
active: !1
|
|
34
|
-
}), this.scheduledAfterRender.push(
|
|
34
|
+
}), this.scheduledAfterRender.push(r);
|
|
35
35
|
}, this.determineOptionCount = async () => {
|
|
36
36
|
if (this.optionList) {
|
|
37
37
|
const t = await this.getOptionListOptions();
|
|
@@ -92,7 +92,7 @@ const v = class {
|
|
|
92
92
|
var o;
|
|
93
93
|
await (null === (o = this.optionList) || void 0 === o ? void 0 : o.handleExternalKeydown(t));
|
|
94
94
|
}, this.handleSelectionChanges = async t => {
|
|
95
|
-
const {multiple: o} = this, {value: i = "", values: e = []} = t,
|
|
95
|
+
const {multiple: o} = this, {value: i = "", values: e = []} = t, r = o ? !!e.length : !!i;
|
|
96
96
|
if (!this.hostElement.onchange) if (o) this.selectedOptions = e, this.value = void 0; else {
|
|
97
97
|
const t = await this.getOption(i);
|
|
98
98
|
this.selectedOptions = t ? [ {
|
|
@@ -103,7 +103,7 @@ const v = class {
|
|
|
103
103
|
l(this, [ "change", "tctChange" ], {
|
|
104
104
|
value: o ? void 0 : i,
|
|
105
105
|
values: e,
|
|
106
|
-
active:
|
|
106
|
+
active: r
|
|
107
107
|
});
|
|
108
108
|
}, this.handleSlotKeydown = t => {
|
|
109
109
|
var o;
|
|
@@ -143,8 +143,8 @@ const v = class {
|
|
|
143
143
|
const {selectedOptions: t = []} = this, o = t.map((t => t.value)), i = await this.getOptionListOptions();
|
|
144
144
|
this.optionCount && (this.active = !!o.length), this.selectedOptionElements = (null == i ? void 0 : i.filter((t => o.includes(t.value)))) || [];
|
|
145
145
|
}, this.updateSlotState = () => {
|
|
146
|
-
const {hostElement: t, hasPopoverTop: o, hasPopoverBottom: i} = this, e = t.shadowRoot.querySelector('slot[name="popover-top"]'),
|
|
147
|
-
o !==
|
|
146
|
+
const {hostElement: t, hasPopoverTop: o, hasPopoverBottom: i} = this, e = t.shadowRoot.querySelector('slot[name="popover-top"]'), r = t.shadowRoot.querySelector('slot[name="popover-bottom"]'), a = (null == e ? void 0 : e.assignedNodes().length) > 0, n = (null == r ? void 0 : r.assignedNodes().length) > 0;
|
|
147
|
+
o !== a && (this.hasPopoverTop = a), i !== n && (this.hasPopoverBottom = n);
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
// #endregion
|
|
@@ -161,7 +161,7 @@ const v = class {
|
|
|
161
161
|
}), this.mutationObserver = t;
|
|
162
162
|
}
|
|
163
163
|
componentDidLoad() {
|
|
164
|
-
|
|
164
|
+
a(this.hostElement), this.syncValueProperties(), this.filterSlottedElements();
|
|
165
165
|
}
|
|
166
166
|
componentDidRender() {
|
|
167
167
|
this.scheduledAfterRender.forEach((t => t())), this.scheduledAfterRender = [];
|
|
@@ -175,7 +175,9 @@ const v = class {
|
|
|
175
175
|
n(t, this.hostElement) && this.primaryBtn.focus();
|
|
176
176
|
}
|
|
177
177
|
async popoverStateHandler({detail: {open: t}}) {
|
|
178
|
-
|
|
178
|
+
var o;
|
|
179
|
+
this.open !== t && (this.open = t, t || (this.setOptionListActiveElement(null),
|
|
180
|
+
null === (o = this.primaryBtn) || void 0 === o || o.focus()));
|
|
179
181
|
}
|
|
180
182
|
// #endregion
|
|
181
183
|
// #region Public Methods API
|
|
@@ -214,14 +216,14 @@ const v = class {
|
|
|
214
216
|
// #region Watchers
|
|
215
217
|
selectedOptionsChanged(t) {
|
|
216
218
|
var o, i;
|
|
217
|
-
const {multiple: e} = this,
|
|
218
|
-
e ? (this.value && (this.value = null), this.updateSelectedOptionElements()) : this.value ===
|
|
219
|
+
const {multiple: e} = this, r = null !== (i = null === (o = null == t ? void 0 : t[0]) || void 0 === o ? void 0 : o.value) && void 0 !== i ? i : null;
|
|
220
|
+
e ? (this.value && (this.value = null), this.updateSelectedOptionElements()) : this.value === r ? this.updateSelectedOptionElements() : this.value = r;
|
|
219
221
|
}
|
|
220
222
|
async valueChanged(t, o, i) {
|
|
221
|
-
var e,
|
|
222
|
-
const {label:
|
|
223
|
+
var e, r;
|
|
224
|
+
const {label: a, multiple: n, selectedOptions: c, value: s} = this, l = "value" === i ? t : s, p = "label" === i ? t : a;
|
|
223
225
|
if (n) return;
|
|
224
|
-
const d = null !== (
|
|
226
|
+
const d = null !== (r = null === (e = null == c ? void 0 : c[0]) || void 0 === e ? void 0 : e.value) && void 0 !== r ? r : null;
|
|
225
227
|
if ("value" === i && t === d) this.updateSelectedOptionElements(); else {
|
|
226
228
|
const o = await this.getOption(t), {value: i, display: e} = o || {
|
|
227
229
|
value: l,
|
|
@@ -236,21 +238,21 @@ const v = class {
|
|
|
236
238
|
// #endregion
|
|
237
239
|
// #region Local Methods
|
|
238
240
|
get buttonContent() {
|
|
239
|
-
const {label: t, selectedOptionElements: o, optionCount: i, maxLength: e} = this,
|
|
240
|
-
let
|
|
241
|
-
if (i && 0 !==
|
|
242
|
-
if (1 !==
|
|
243
|
-
const t = s(o[0].display), i = " +" + (
|
|
241
|
+
const {label: t, selectedOptionElements: o, optionCount: i, maxLength: e} = this, r = o.length;
|
|
242
|
+
let a;
|
|
243
|
+
if (i && 0 !== r) {
|
|
244
|
+
if (1 !== r) {
|
|
245
|
+
const t = s(o[0].display), i = " +" + (r - 1);
|
|
244
246
|
return {
|
|
245
247
|
text: `${t}${i}`,
|
|
246
248
|
truncatedText: `${this._truncate(t, e)}${i}`
|
|
247
249
|
};
|
|
248
250
|
}
|
|
249
|
-
|
|
250
|
-
} else
|
|
251
|
+
a = s(o[0].display);
|
|
252
|
+
} else a = s(t);
|
|
251
253
|
return {
|
|
252
|
-
text:
|
|
253
|
-
truncatedText: this._truncate(
|
|
254
|
+
text: a,
|
|
255
|
+
truncatedText: this._truncate(a, e)
|
|
254
256
|
};
|
|
255
257
|
}
|
|
256
258
|
_togglePopover() {
|
|
@@ -270,7 +272,7 @@ const v = class {
|
|
|
270
272
|
}, s("tecton.element.optionList.optionCount", [ this.optionCount ]));
|
|
271
273
|
}
|
|
272
274
|
renderIcon() {
|
|
273
|
-
const {optionCount: t, active: o} = this, e = t && o,
|
|
275
|
+
const {optionCount: t, active: o} = this, e = t && o, r = e || !t ? "close" : "chevron-down";
|
|
274
276
|
return i(e ? "button" : "div", {
|
|
275
277
|
class: "btn-close",
|
|
276
278
|
onClick: e && this.clearSelectedOptions || void 0,
|
|
@@ -278,25 +280,25 @@ const v = class {
|
|
|
278
280
|
"aria-label": e && s("tecton.element.pill.clearSelection") || void 0,
|
|
279
281
|
type: e ? "button" : void 0
|
|
280
282
|
}, i("q2-icon", {
|
|
281
|
-
type:
|
|
283
|
+
type: r
|
|
282
284
|
}));
|
|
283
285
|
}
|
|
284
286
|
render() {
|
|
285
|
-
const {optionCount: t, active: o, open: e} = this, {text:
|
|
287
|
+
const {optionCount: t, active: o, open: e} = this, {text: r, truncatedText: a} = this.buttonContent, n = [ "btn-wrapper" ];
|
|
286
288
|
return (t || o) && n.push("has-icon"), t && n.push("has-options"), i("click-elsewhere", {
|
|
287
|
-
key: "
|
|
289
|
+
key: "8cba59cde3746d0397305512334eb56357e9e5d4",
|
|
288
290
|
onChange: this.onClickElsewhere
|
|
289
291
|
}, i("div", {
|
|
290
|
-
key: "
|
|
292
|
+
key: "391da54f9fd870e223765e6266291dff9775abe6",
|
|
291
293
|
class: n.join(" ")
|
|
292
294
|
}, i("div", {
|
|
293
|
-
key: "
|
|
295
|
+
key: "06431fd76c0a9d30833756407c89ff59609bc3a3",
|
|
294
296
|
class: "btn-height-wrapper",
|
|
295
297
|
ref: t => this.primaryBtnWrapper = t,
|
|
296
298
|
onClick: this.handleWrapperClick,
|
|
297
299
|
tabIndex: -1
|
|
298
300
|
}, i("button", {
|
|
299
|
-
key: "
|
|
301
|
+
key: "609557b9206c91511e78e26c990230e61f7e5c19",
|
|
300
302
|
class: "btn-primary",
|
|
301
303
|
"test-id": "btn-control",
|
|
302
304
|
type: "button",
|
|
@@ -309,14 +311,14 @@ const v = class {
|
|
|
309
311
|
"aria-roledescription": !t && "filter",
|
|
310
312
|
"aria-controls": t ? "option-list" : void 0,
|
|
311
313
|
"aria-expanded": t && `${!!e}` || void 0,
|
|
312
|
-
"aria-label":
|
|
314
|
+
"aria-label": r,
|
|
313
315
|
"aria-pressed": t ? void 0 : `${!!o}`,
|
|
314
316
|
"aria-describedby": t ? "option-description" : void 0
|
|
315
317
|
}, i("slot", {
|
|
316
|
-
key: "
|
|
318
|
+
key: "e1f4c57b7526f714cf0242e101ec0f5c39ebafa5",
|
|
317
319
|
name: "decorator"
|
|
318
|
-
}),
|
|
319
|
-
key: "
|
|
320
|
+
}), a)), this.renderIcon(), !!t && this.renderHiddenElement()), this.optionCount > 0 && i("q2-popover", {
|
|
321
|
+
key: "2777b45efbd94516a633ca4ff1e2d6a452ecbd81",
|
|
320
322
|
ref: t => this.popoverElement = t,
|
|
321
323
|
controlElement: this.primaryBtn,
|
|
322
324
|
open: this.open,
|
|
@@ -326,20 +328,20 @@ const v = class {
|
|
|
326
328
|
align: this.popoverAlignment,
|
|
327
329
|
onFocusout: this.handleFocusOut
|
|
328
330
|
}, i("div", {
|
|
329
|
-
key: "
|
|
331
|
+
key: "54d2c1c8814be9265b4ed8092bd3360da76cc2b0",
|
|
330
332
|
class: "popover-content"
|
|
331
333
|
}, i("div", {
|
|
332
|
-
key: "
|
|
334
|
+
key: "fb95b6f0ab78119f0bf944fa67ec0bcf391088dc",
|
|
333
335
|
ref: t => this.popoverTopContainer = t,
|
|
334
336
|
class: "popover-top-container",
|
|
335
337
|
tabindex: "-1",
|
|
336
338
|
hidden: !this.hasPopoverTop,
|
|
337
339
|
onKeyDown: this.handleSlotKeydown
|
|
338
340
|
}, i("slot", {
|
|
339
|
-
key: "
|
|
341
|
+
key: "8e522c96fa1241e7c05fbc989d59f71ec2bc1d98",
|
|
340
342
|
name: "popover-top"
|
|
341
343
|
})), i("q2-option-list", {
|
|
342
|
-
key: "
|
|
344
|
+
key: "5e7a827ac08395399e0b04fa9074f5b6a3fa1c48",
|
|
343
345
|
type: "listbox",
|
|
344
346
|
ref: t => this.optionList = t,
|
|
345
347
|
id: "option-list",
|
|
@@ -350,16 +352,16 @@ const v = class {
|
|
|
350
352
|
onPopoverState: this.onPopoverState,
|
|
351
353
|
label: s("tecton.element.optionList.label", [ this.optionListLabel ])
|
|
352
354
|
}, i("slot", {
|
|
353
|
-
key: "
|
|
355
|
+
key: "4197780a058b3937ac748b53aef6afc5eabd8c7a"
|
|
354
356
|
})), i("div", {
|
|
355
|
-
key: "
|
|
357
|
+
key: "78992c83515dcfe6acbf7e09a5efced2d65c1903",
|
|
356
358
|
ref: t => this.popoverBottomContainer = t,
|
|
357
359
|
class: "popover-bottom-container",
|
|
358
360
|
tabindex: "-1",
|
|
359
361
|
hidden: !this.hasPopoverBottom,
|
|
360
362
|
onKeyDown: this.handleSlotKeydown
|
|
361
363
|
}, i("slot", {
|
|
362
|
-
key: "
|
|
364
|
+
key: "553f959ec8b866111b2e5c5f9090d8ddee5fd208",
|
|
363
365
|
name: "popover-bottom"
|
|
364
366
|
})))));
|
|
365
367
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as r, h as o, F as i, g as a } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { c as e, o as n, i as s, r as d } from "./index-
|
|
3
|
+
import { c as e, o as n, i as s, r as d } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as l } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -156,26 +156,26 @@ const c = class {
|
|
|
156
156
|
render() {
|
|
157
157
|
const t = this.label || this.optional || this.readonly, {hasError: r} = this, a = t && !this.hideLabel || r;
|
|
158
158
|
return o(i, {
|
|
159
|
-
key: "
|
|
159
|
+
key: "0503a52d9cb4715cba418f445b708ad650aa5f1f"
|
|
160
160
|
}, a && o("div", {
|
|
161
|
-
key: "
|
|
161
|
+
key: "7236b03ea65a44bbfacf57944370236c9653d69c",
|
|
162
162
|
class: "label-row"
|
|
163
163
|
}, t && !this.hideLabel && o("div", {
|
|
164
|
-
key: "
|
|
164
|
+
key: "fbede7f7cfbd2c0fe8364a77966009a2e14ede37",
|
|
165
165
|
class: "group-legend"
|
|
166
166
|
}, d(this)), r && o("q2-icon", {
|
|
167
|
-
key: "
|
|
167
|
+
key: "b7d7456a6fd1e673d5799748a727db2babc3d2bf",
|
|
168
168
|
type: "error",
|
|
169
169
|
"test-id": "iconError"
|
|
170
170
|
})), o("fieldset", {
|
|
171
|
-
key: "
|
|
171
|
+
key: "cba87bdefb32eaa0cd6cc1760d874fd622146b5e",
|
|
172
172
|
onChange: this.onInnerRadioChange,
|
|
173
173
|
"aria-invalid": r ? `${r}` : void 0
|
|
174
174
|
}, t && o("legend", {
|
|
175
|
-
key: "
|
|
175
|
+
key: "c4ff0e86435564ece7e468ecd7b0e373ae9fc078",
|
|
176
176
|
class: "sr-only"
|
|
177
177
|
}, d(this)), o("q2-resize-observer", {
|
|
178
|
-
key: "
|
|
178
|
+
key: "f3bfe6941b46da58433ed959017a4383c07ce16d",
|
|
179
179
|
onTctResize: this.handleResize,
|
|
180
180
|
disabled: this.tileLayout || "horizontal" !== this.orientation
|
|
181
181
|
}, this.inputDom())));
|