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,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as e, g as i } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { b as l, h as a, l as o } from "./index-
|
|
3
|
+
import { b as l, h as a, l as o } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const n = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -76,16 +76,16 @@ const n = class {
|
|
|
76
76
|
// #region Render Methods
|
|
77
77
|
render() {
|
|
78
78
|
return e("div", {
|
|
79
|
-
key: "
|
|
79
|
+
key: "18da4ca97fe076c40a3d6ef95b73b570cee07649",
|
|
80
80
|
class: this.detailClasses
|
|
81
81
|
}, this.hasLabel && e("div", {
|
|
82
|
-
key: "
|
|
82
|
+
key: "7b88ffdd3e42abb1313d729874d198642a83e66d",
|
|
83
83
|
class: this.labelClasses,
|
|
84
84
|
"aria-describedby": this.description ? "label-description" : void 0
|
|
85
85
|
}, this.label ? o(this.label) : this.hasLabelSlotContent ? e("slot", {
|
|
86
86
|
name: "label"
|
|
87
87
|
}) : ""), this.hasDescripiton && e("div", {
|
|
88
|
-
key: "
|
|
88
|
+
key: "9eecdbf3aa2519da9508f1c210d3b3a9129824ce",
|
|
89
89
|
id: "label-description",
|
|
90
90
|
class: this.descriptionClasses
|
|
91
91
|
}, this.description ? o(this.description) : this.hasDefaultSlotContent ? e("slot", null) : ""));
|
|
@@ -2,9 +2,9 @@ import { r as t, h as o, F as e, g as i } from "./index-Cqkz7Bnm.js";
|
|
|
2
2
|
|
|
3
3
|
import { s as n, a as s } from "./action-sheet-DuQ7VZ08.js";
|
|
4
4
|
|
|
5
|
-
import { o as a, i as r, w as d, b as l, d as h, l as
|
|
5
|
+
import { o as a, i as r, w as d, b as l, d as h, l as p } from "./index-CP8pXJ-l.js";
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const c = class {
|
|
8
8
|
constructor(o) {
|
|
9
9
|
var e;
|
|
10
10
|
t(this, o), this.dropdownItemSelector = "q2-dropdown-item:not([disabled]):not([separator])",
|
|
@@ -174,7 +174,7 @@ const p = class {
|
|
|
174
174
|
get toggleButtonProps() {
|
|
175
175
|
const t = [ "primary", "secondary", "neutral" ], o = [ "icon", "fab", "custom", ...t ].includes(this.type) ? this.type : "", e = "icon" === o, i = "fab" === o, n = "custom" === o;
|
|
176
176
|
let s;
|
|
177
|
-
t.includes(o) && (s =
|
|
177
|
+
t.includes(o) && (s = o);
|
|
178
178
|
return {
|
|
179
179
|
icon: e,
|
|
180
180
|
fab: i,
|
|
@@ -250,12 +250,12 @@ const p = class {
|
|
|
250
250
|
render() {
|
|
251
251
|
const t = this.toggleButtonProps;
|
|
252
252
|
return o("click-elsewhere", {
|
|
253
|
-
key: "
|
|
253
|
+
key: "45129d88765c097736a818c203418921bc669d2f",
|
|
254
254
|
class: this.open ? "dropdown-open" : "",
|
|
255
255
|
onChange: this.onClickElsewhere,
|
|
256
256
|
"test-id": "dropdownContainer"
|
|
257
257
|
}, o("q2-btn", {
|
|
258
|
-
key: "
|
|
258
|
+
key: "cb76fe56a37af0909e06f267969c0f6605be318d",
|
|
259
259
|
tabIndex: 0,
|
|
260
260
|
ref: t => this.controlElement = t,
|
|
261
261
|
class: t.className,
|
|
@@ -267,12 +267,12 @@ const p = class {
|
|
|
267
267
|
active: t.active,
|
|
268
268
|
disabled: t.disabled,
|
|
269
269
|
ariaExpanded: `${!!t.ariaExpanded}`,
|
|
270
|
-
label: this.hideLabel && this.label ?
|
|
270
|
+
label: this.hideLabel && this.label ? p(this.label) : void 0,
|
|
271
271
|
hideLabel: this.hideLabel,
|
|
272
272
|
ariaHasPopup: "menu",
|
|
273
273
|
"test-id": "dropdownButton",
|
|
274
274
|
block: this.block,
|
|
275
|
-
description:
|
|
275
|
+
description: p("tecton.element.dropdown.itemCount", [ this.determineDropdownItemCount ])
|
|
276
276
|
}, this.hasCustomControl ? o("div", {
|
|
277
277
|
"test-id": "dropdownControl",
|
|
278
278
|
class: t.custom ? "" : "hidden"
|
|
@@ -280,10 +280,10 @@ const p = class {
|
|
|
280
280
|
name: "control"
|
|
281
281
|
})) : o(e, null, this.label && !this.hideLabel && o("span", {
|
|
282
282
|
class: "dropdown-button-text"
|
|
283
|
-
},
|
|
283
|
+
}, p(this.label)), this.icon ? o("q2-icon", {
|
|
284
284
|
type: this.icon
|
|
285
285
|
}) : " ")), o("q2-popover", {
|
|
286
|
-
key: "
|
|
286
|
+
key: "73bb8792c03313ae6074299d431d913435e95707",
|
|
287
287
|
ref: t => this.popoverElement = t,
|
|
288
288
|
controlElement: this.controlElement,
|
|
289
289
|
open: this.open,
|
|
@@ -295,20 +295,20 @@ const p = class {
|
|
|
295
295
|
mode: this.popoverMode || void 0,
|
|
296
296
|
block: this.block
|
|
297
297
|
}, o("slot", {
|
|
298
|
-
key: "
|
|
298
|
+
key: "05fa5e37195ce747ac4e801e1decf55838d9c752",
|
|
299
299
|
name: "popover-top"
|
|
300
300
|
}), o("q2-option-list", {
|
|
301
|
-
key: "
|
|
301
|
+
key: "534b2dfaf2616937933aa2377d1a647688c679c9",
|
|
302
302
|
onPopoverState: this.onPopoverState,
|
|
303
303
|
id: "option-list",
|
|
304
304
|
ref: t => this.optionList = t,
|
|
305
305
|
type: "menu",
|
|
306
|
-
label:
|
|
306
|
+
label: p("tecton.element.optionList.label", [ this.optionListLabel ]),
|
|
307
307
|
"no-select": !0
|
|
308
308
|
}, o("slot", {
|
|
309
|
-
key: "
|
|
309
|
+
key: "686b6b14ebc67aad7707e6dc0c0170b117afde4e"
|
|
310
310
|
})), o("slot", {
|
|
311
|
-
key: "
|
|
311
|
+
key: "43b916294d33ac547efc6eeed2b2fc1c87085ad3",
|
|
312
312
|
name: "popover-bottom"
|
|
313
313
|
})));
|
|
314
314
|
}
|
|
@@ -345,6 +345,6 @@ const p = class {
|
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
347
|
|
|
348
|
-
|
|
348
|
+
c.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:inline-flex}:host([block]){display:block}:host([full-width]:not([full-width=false])){display:inline-flex;justify-content:center;width:100%}::slotted([slot=popover-top]){padding:var(--tct-dropdown-popover-top-slot-padding, 0);border-bottom:var(--tct-dropdown-slot-border-top)}::slotted([slot=popover-bottom]){padding:var(--tct-dropdown-popover-bottom-slot-padding, 0);border-top:var(--tct-dropdown-slot-border-bottom)}q2-icon{pointer-events:none;margin-block:-100px;--tct-icon-size:var(--tct-dropdown-icon-size, var(--const-px-18, 18px))}click-elsewhere{position:relative;display:block}q2-popover{--tct-popover-min-width:var(--tct-dropdown-width, var(--t-dropdown-width));--tct-popover-padding:var(--tct-dropdown-content-padding)}';
|
|
349
349
|
|
|
350
|
-
export {
|
|
350
|
+
export { c as q2_dropdown }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as i, h as e, g as s } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { d as a, o as n, i as r, w as o, l } from "./index-
|
|
3
|
+
import { d as a, o as n, i as r, w as o, l } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { m as d } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -14,6 +14,8 @@ const h = class {
|
|
|
14
14
|
/**
|
|
15
15
|
* The visible descriptor for the element.
|
|
16
16
|
* Serves as the input label while in the edit state and as a decorative label for the read state when `persistentLabel` is `true`.
|
|
17
|
+
* @warning
|
|
18
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
17
19
|
* @localizable
|
|
18
20
|
*/
|
|
19
21
|
this.label = "",
|
|
@@ -25,9 +27,7 @@ const h = class {
|
|
|
25
27
|
name: "cancel"
|
|
26
28
|
});
|
|
27
29
|
queueMicrotask((() => {
|
|
28
|
-
this.isDefaultPrevented(i) || (this.
|
|
29
|
-
this.inputElement.value = "", this.inputElement.value = this.defaultValue, this.inputElement.value = this.value,
|
|
30
|
-
this.editing = !1);
|
|
30
|
+
this.isDefaultPrevented(i) || (this.editing = !1);
|
|
31
31
|
}));
|
|
32
32
|
}, this.editClick = t => {
|
|
33
33
|
null == t || t.stopPropagation();
|
|
@@ -126,7 +126,7 @@ const h = class {
|
|
|
126
126
|
a(this);
|
|
127
127
|
}
|
|
128
128
|
observesEditing(t, i) {
|
|
129
|
-
t !== i && this.scheduledAfterRender.push(this.hostElement.focus);
|
|
129
|
+
t !== i && (t || this.discardDraft(), this.scheduledAfterRender.push(this.hostElement.focus));
|
|
130
130
|
}
|
|
131
131
|
errorsObserver() {
|
|
132
132
|
const {editing: t, hasErrors: i} = this, e = this.hostElement.shadowRoot.activeElement;
|
|
@@ -149,6 +149,17 @@ const h = class {
|
|
|
149
149
|
get wrapperClass() {
|
|
150
150
|
return "q2-editable-field-wrapper " + (this.editing ? "editing" : "");
|
|
151
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* Drops the in-progress draft and re-syncs the input and the read state display from `value`.
|
|
154
|
+
*
|
|
155
|
+
* Runs whenever the field leaves the edit state, including when a consumer drives `editing` itself, so the
|
|
156
|
+
* read state never renders a discarded draft.
|
|
157
|
+
*/ discardDraft() {
|
|
158
|
+
this.innerValue = void 0, this.formattedValue = void 0,
|
|
159
|
+
// `q2-input` only drops its own draft when its `value` prop actually changes, so bounce through a
|
|
160
|
+
// throwaway value that is guaranteed to differ from `value` before restoring it.
|
|
161
|
+
this.inputElement.value = "" === this.value ? " " : "", this.inputElement.value = this.value;
|
|
162
|
+
}
|
|
152
163
|
emitChangeEvents(t) {
|
|
153
164
|
return [ this.change.emit(t), this.tctChange.emit(t) ];
|
|
154
165
|
}
|
|
@@ -241,7 +252,7 @@ const h = class {
|
|
|
241
252
|
// #region Render Methods
|
|
242
253
|
render() {
|
|
243
254
|
return e("div", {
|
|
244
|
-
key: "
|
|
255
|
+
key: "38f7c5b55e8b6f0590c72ab81a4bb26c93506249"
|
|
245
256
|
}, this.generateEditStateDOM(), this.generateReadStateDOM());
|
|
246
257
|
}
|
|
247
258
|
get hostElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, F as r, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { l as a, h as n } from "./index-
|
|
3
|
+
import { l as a, h as n } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const s = class {
|
|
6
6
|
constructor(o) {
|
|
@@ -130,7 +130,7 @@ const s = class {
|
|
|
130
130
|
}, i("q2-btn", {
|
|
131
131
|
block: this.isMobileViewport,
|
|
132
132
|
disabled: t || this.areFilesUploading,
|
|
133
|
-
intent: "
|
|
133
|
+
intent: "primary",
|
|
134
134
|
loading: this.areFilesUploading,
|
|
135
135
|
onClick: () => this.launchFileBrowser(),
|
|
136
136
|
size: this.actualButtonSize,
|
|
@@ -11,10 +11,10 @@ const t = class {
|
|
|
11
11
|
// #region Render Methods
|
|
12
12
|
render() {
|
|
13
13
|
return n("div", {
|
|
14
|
-
key: "
|
|
14
|
+
key: "e4a4cee5eb8e69c9fe81423d3942a6299b4d1462",
|
|
15
15
|
class: "container"
|
|
16
16
|
}, n("slot", {
|
|
17
|
-
key: "
|
|
17
|
+
key: "1d729b1c93148f0a12954688cd33266b24f40f67"
|
|
18
18
|
}));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
@@ -63,11 +63,11 @@ const o = class {
|
|
|
63
63
|
render() {
|
|
64
64
|
const {formattedTextClasses: t} = this;
|
|
65
65
|
return e("div", {
|
|
66
|
-
key: "
|
|
66
|
+
key: "bb6f08a7fd5801e7527624b766061019ce931ac5",
|
|
67
67
|
class: t,
|
|
68
68
|
"aria-label": this.formattedValue
|
|
69
69
|
}, e("span", {
|
|
70
|
-
key: "
|
|
70
|
+
key: "44808806b71f4b3783fa38806789bbc91956bdcd"
|
|
71
71
|
}, this.formattedValue));
|
|
72
72
|
}
|
|
73
73
|
static get watchers() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as e, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { o as i, h as a } from "./index-
|
|
3
|
+
import { o as i, h as a } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const r = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -9,7 +9,12 @@ const r = class {
|
|
|
9
9
|
// #region State Properties
|
|
10
10
|
this.renderTrigger = 0,
|
|
11
11
|
/** Controls the vertical alignment of the item decorator and single content slot. */
|
|
12
|
-
this.verticalAlign = "top"
|
|
12
|
+
this.verticalAlign = "top", this.handleKeydown = t => {
|
|
13
|
+
this.clickable && t.target === this.itemElement && ("Enter" === t.key || this.isSpaceKey(t)) && t.preventDefault();
|
|
14
|
+
}, this.handleKeyup = t => {
|
|
15
|
+
this.clickable && t.target === this.itemElement && ("Enter" === t.key || this.isSpaceKey(t)) && (t.preventDefault(),
|
|
16
|
+
this.itemElement.click());
|
|
17
|
+
};
|
|
13
18
|
}
|
|
14
19
|
// #endregion
|
|
15
20
|
// #region Component Lifecycle Events
|
|
@@ -79,52 +84,57 @@ const r = class {
|
|
|
79
84
|
const t = [ this.hasHeaderSlotContent, this.hasBodySlotContent, this.hasFooterSlotContent ].filter(Boolean).length;
|
|
80
85
|
return "top" !== this.verticalAlign && 1 === t;
|
|
81
86
|
}
|
|
87
|
+
isSpaceKey(t) {
|
|
88
|
+
return "Space" === t.code || " " === t.key || "Space" === t.key || "Spacebar" === t.key;
|
|
89
|
+
}
|
|
82
90
|
// #endregion
|
|
83
91
|
// #region Render Methods
|
|
84
92
|
render() {
|
|
85
93
|
const {clickable: t} = this;
|
|
86
94
|
return e("div", {
|
|
87
|
-
key: "
|
|
95
|
+
key: "42ea022dfbebe50fc94e275c95f83f7cc3bbc3fd",
|
|
88
96
|
"test-id": "itemContainer",
|
|
89
97
|
class: this.itemClasses,
|
|
90
98
|
ref: t => this.itemElement = t,
|
|
91
99
|
role: t ? "button" : void 0,
|
|
92
|
-
tabIndex: t ? 0 : void 0
|
|
100
|
+
tabIndex: t ? 0 : void 0,
|
|
101
|
+
onKeyDown: this.handleKeydown,
|
|
102
|
+
onKeyUp: this.handleKeyup
|
|
93
103
|
}, this.hasDecoratorSlotContent && e("div", {
|
|
94
|
-
key: "
|
|
104
|
+
key: "5ea5749d40d3fe53b28278272160e093cab9a7f6",
|
|
95
105
|
class: this.decoratorClasses
|
|
96
106
|
}, e("slot", {
|
|
97
|
-
key: "
|
|
107
|
+
key: "f69f67d5fd71dc36fab1e9a7014dd05c89a4250f",
|
|
98
108
|
name: "decorator"
|
|
99
109
|
}, e("slot", {
|
|
100
|
-
key: "
|
|
110
|
+
key: "12e97e5492803c40e7e56785f69e18e8d27aa099",
|
|
101
111
|
name: "bullet"
|
|
102
112
|
}))), e("div", {
|
|
103
|
-
key: "
|
|
113
|
+
key: "6a58cdcfba08332b36317fa072be51f90a24b03b",
|
|
104
114
|
class: this.mainClasses
|
|
105
115
|
}, this.hasHeaderSlotContent && e("div", {
|
|
106
|
-
key: "
|
|
116
|
+
key: "557085b4064d2ef20db3cb0f91388feb5737f83a",
|
|
107
117
|
class: "header"
|
|
108
118
|
}, e("slot", {
|
|
109
|
-
key: "
|
|
119
|
+
key: "455ae71c71174ff1591e7ce5e83c1c6104261e81",
|
|
110
120
|
name: "header"
|
|
111
121
|
})), this.hasBodySlotContent && e("div", {
|
|
112
|
-
key: "
|
|
122
|
+
key: "e003fa668b6640cebd7c0faaca2eb740a77944fc",
|
|
113
123
|
class: "body"
|
|
114
124
|
}, e("slot", {
|
|
115
|
-
key: "
|
|
125
|
+
key: "aa0d5b552db0d4e3ca1692c7798feade76e0e89d",
|
|
116
126
|
name: "body"
|
|
117
127
|
}))), this.hasActionSlotContent && e("div", {
|
|
118
|
-
key: "
|
|
128
|
+
key: "7c606e2cb0593b03844e2ddb48cbd9c4225f4d8d",
|
|
119
129
|
class: this.actionClasses
|
|
120
130
|
}, e("slot", {
|
|
121
|
-
key: "
|
|
131
|
+
key: "9fb61fea2a775d011c3185d403a19877e8b558ba",
|
|
122
132
|
name: "action"
|
|
123
133
|
})), this.hasFooterSlotContent && e("div", {
|
|
124
|
-
key: "
|
|
134
|
+
key: "2cab76f4d546f73365dcc7e1a5ea773b933e355e",
|
|
125
135
|
class: this.footerClasses
|
|
126
136
|
}, e("slot", {
|
|
127
|
-
key: "
|
|
137
|
+
key: "c7b603097d0272199604ec53dce5c99caf37a3d5",
|
|
128
138
|
name: "footer"
|
|
129
139
|
})));
|
|
130
140
|
}
|
|
@@ -90,10 +90,10 @@ const s = class {
|
|
|
90
90
|
// #region Render Methods
|
|
91
91
|
render() {
|
|
92
92
|
return i("click-elsewhere", {
|
|
93
|
-
key: "
|
|
93
|
+
key: "4072c6510e6d0820051d31eb2e031f05b6f4b71e",
|
|
94
94
|
onChange: () => this.onClickElsewhere(this)
|
|
95
95
|
}, i("ul", {
|
|
96
|
-
key: "
|
|
96
|
+
key: "d823017f42f22efe3fdedbb1484b0a7f749022ae"
|
|
97
97
|
}, this.dataWithClasses.map((t => i("li", {
|
|
98
98
|
class: "item"
|
|
99
99
|
}, i("button", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as i, h as e, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { h as n } from "./index-
|
|
3
|
+
import { h as n } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const r = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -132,23 +132,23 @@ const a = class {
|
|
|
132
132
|
// #region Render Methods
|
|
133
133
|
render() {
|
|
134
134
|
return e("div", {
|
|
135
|
-
key: "
|
|
135
|
+
key: "83755626545a0f51c29343772b4ac3bfe3affb44",
|
|
136
136
|
class: this.listClasses,
|
|
137
137
|
ref: t => this.listElement = t
|
|
138
138
|
}, (this.hasFilterSlot || this.hasLabelContent) && e("div", {
|
|
139
|
-
key: "
|
|
139
|
+
key: "ac297dfd9016aa8c7e3ee7664cf82bfbdbb1a18c",
|
|
140
140
|
class: this.headerClasses
|
|
141
141
|
}, e("div", {
|
|
142
|
-
key: "
|
|
142
|
+
key: "bce3d15f585ce2ab6d1db0d1e17d95018dc237cd",
|
|
143
143
|
class: "label"
|
|
144
144
|
}, this.label), this.hasFilterSlot && e("slot", {
|
|
145
|
-
key: "
|
|
145
|
+
key: "373811d46b5adbc711017b816147c12008f142d4",
|
|
146
146
|
name: "filter"
|
|
147
147
|
})), e("div", {
|
|
148
|
-
key: "
|
|
148
|
+
key: "47818e442a69e5d3af55730b51c8aa2d73cc26b8",
|
|
149
149
|
role: "list"
|
|
150
150
|
}, e("slot", {
|
|
151
|
-
key: "
|
|
151
|
+
key: "b0061fb86511665ecf5217f817135bc1533608ae"
|
|
152
152
|
})));
|
|
153
153
|
}
|
|
154
154
|
get hostElement() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as a, h as
|
|
1
|
+
import { r as a, h as e, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { o as
|
|
3
|
+
import { o as t, i as r, n as s, p as i, l as c } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const n = class {
|
|
6
|
-
constructor(
|
|
7
|
-
a(this,
|
|
6
|
+
constructor(e) {
|
|
7
|
+
a(this, e),
|
|
8
8
|
// #endregion
|
|
9
9
|
// #region Public Property API
|
|
10
10
|
/** The visual style of the message. The minimal style is for use cases where you have less space to display information. */
|
|
@@ -17,12 +17,12 @@ const n = class {
|
|
|
17
17
|
// #endregion
|
|
18
18
|
// #region Component Lifecycle Events
|
|
19
19
|
componentDidLoad() {
|
|
20
|
-
|
|
20
|
+
t(this.hostElement);
|
|
21
21
|
}
|
|
22
22
|
// #endregion
|
|
23
23
|
// #region Listeners
|
|
24
24
|
delegateFocus(a) {
|
|
25
|
-
|
|
25
|
+
r(a, this.hostElement) && this.hostElement.shadowRoot.querySelector(".message").focus();
|
|
26
26
|
}
|
|
27
27
|
// #endregion
|
|
28
28
|
// #region Public Methods API
|
|
@@ -41,54 +41,54 @@ const n = class {
|
|
|
41
41
|
return i();
|
|
42
42
|
}
|
|
43
43
|
messageIcon(a) {
|
|
44
|
-
const
|
|
44
|
+
const o = {
|
|
45
45
|
success: "success-filled",
|
|
46
46
|
warning: "warning-filled",
|
|
47
47
|
danger: "error-filled",
|
|
48
48
|
error: "error-filled",
|
|
49
49
|
info: "info-filled"
|
|
50
50
|
};
|
|
51
|
-
return
|
|
52
|
-
type:
|
|
51
|
+
return e("q2-icon", {
|
|
52
|
+
type: o[a] || o.info,
|
|
53
53
|
class: "message-icon"
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
// #endregion
|
|
57
57
|
// #region Render Methods
|
|
58
58
|
render() {
|
|
59
|
-
const {isFirefox: a} = this,
|
|
60
|
-
return
|
|
61
|
-
key: "
|
|
59
|
+
const {isFirefox: a} = this, o = a && this.presentToggle, t = !a && this.presentToggle, {description: r} = this, s = c(`tecton.element.message.type.${this.type ? this.type : "info"}`);
|
|
60
|
+
return e("div", {
|
|
61
|
+
key: "eb6b6c3d9ae10d3f87a9c7be63780f582216ded1",
|
|
62
62
|
tabindex: "-1",
|
|
63
63
|
class: "message",
|
|
64
|
-
role:
|
|
65
|
-
"aria-live":
|
|
66
|
-
"aria-atomic":
|
|
67
|
-
"aria-relevant":
|
|
64
|
+
role: r ? void 0 : "alert",
|
|
65
|
+
"aria-live": r ? void 0 : "assertive",
|
|
66
|
+
"aria-atomic": r ? void 0 : "true",
|
|
67
|
+
"aria-relevant": r && o ? void 0 : "all",
|
|
68
68
|
"test-id": "messageContainer"
|
|
69
|
-
},
|
|
70
|
-
key: "
|
|
69
|
+
}, e("div", {
|
|
70
|
+
key: "e2dc68dc1da013553997ee459dede038f773a5e6",
|
|
71
71
|
class: "bar",
|
|
72
72
|
"test-id": "bar"
|
|
73
|
-
}), "standard" === this.appearance ? this.messageIcon(this.type) : "",
|
|
74
|
-
key: "
|
|
73
|
+
}), "standard" === this.appearance ? this.messageIcon(this.type) : "", t && e("div", {
|
|
74
|
+
key: "cc73afe11cda6117a222a15f3977152e2d22228e",
|
|
75
75
|
class: "sr"
|
|
76
|
-
}),
|
|
77
|
-
key: "
|
|
76
|
+
}), e("div", {
|
|
77
|
+
key: "e92d1fff9c917176b2aded0fc9198fe819e4496c",
|
|
78
78
|
class: "sr message-label"
|
|
79
|
-
}, s),
|
|
80
|
-
key: "
|
|
79
|
+
}, s), e("div", {
|
|
80
|
+
key: "f5ee65aa207ccf68b7cb3abda8ffed78b39937f8",
|
|
81
81
|
class: "message-content",
|
|
82
|
-
"aria-hidden":
|
|
83
|
-
},
|
|
84
|
-
key: "
|
|
82
|
+
"aria-hidden": o ? "true" : void 0
|
|
83
|
+
}, e("slot", {
|
|
84
|
+
key: "493608040edc25dbccfe63c2907a42dc43c023a9"
|
|
85
85
|
})));
|
|
86
86
|
}
|
|
87
87
|
get hostElement() {
|
|
88
|
-
return
|
|
88
|
+
return o(this);
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
n.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:block}:host([hidden]){display:none}.message{--comp-line-height:var(--tct-message-line-height, var(--t-message-line-height, var(--app-line-height, 1.428571429em)));border-width:var(--tct-message-border-width, 0);border-style:var(--tct-message-border-style, solid);border-color:var(--tct-message-border-color, transparent);position:relative;display:grid;gap:var(--tct-message-gap, 8px);align-items:flex-start;background:var(--comp-message-background);color:var(--tct-message-font-color, var(--t-message-font-color, inherit));box-shadow:var(--tct-message-box-shadow, var(--t-message-box-shadow, var(--app-shadow-1, inherit)));border-radius:var(--tct-message-border-radius, var(--t-message-border-radius, var(--app-border-radius-1, inherit)))}.message:focus{box-shadow:var(--const-global-focus)}.bar{position:absolute;left:0;top:0;bottom:0;height:100%;background:var(--comp-bar-color);width:var(--tct-message-bar-width, var(--t-message-bar-width, 4px));border-radius:var(--tct-message-bar-border-radius, var(--app-border-radius-1) 0 0 var(--app-border-radius-1))}.message-icon{--comp-top-offset:calc(calc(var(--comp-line-height) - var(--comp-icon-size)) / 2);--tct-icon-size:var(--comp-icon-size);top:var(--comp-top-offset);margin-bottom:calc(var(--comp-top-offset) * -1)}.message-content{flex:1;
|
|
92
|
+
n.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:block}:host([hidden]){display:none}.message{--comp-line-height:var(--tct-message-line-height, var(--t-message-line-height, var(--app-line-height, 1.428571429em)));border-width:var(--tct-message-border-width, 0);border-style:var(--tct-message-border-style, solid);border-color:var(--tct-message-border-color, transparent);position:relative;display:grid;gap:var(--tct-message-gap, 8px);align-items:flex-start;background:var(--comp-message-background);color:var(--tct-message-font-color, var(--t-message-font-color, inherit));box-shadow:var(--tct-message-box-shadow, var(--t-message-box-shadow, var(--app-shadow-1, inherit)));border-radius:var(--tct-message-border-radius, var(--t-message-border-radius, var(--app-border-radius-1, inherit)))}.message:focus{box-shadow:var(--const-global-focus)}.bar{position:absolute;left:0;top:0;bottom:0;height:100%;background:var(--comp-bar-color);width:var(--tct-message-bar-width, var(--t-message-bar-width, 4px));border-radius:var(--tct-message-bar-border-radius, var(--app-border-radius-1) 0 0 var(--app-border-radius-1))}.message-icon{--comp-top-offset:calc(calc(var(--comp-line-height) - var(--comp-icon-size)) / 2);--tct-icon-size:var(--comp-icon-size);top:var(--comp-top-offset);margin-bottom:calc(var(--comp-top-offset) * -1)}.message-content{flex:1;font-size:var(--tct-message-font-size, inherit);line-height:max(1.2em, var(--comp-line-height))}::slotted(ul){--comp-list-default-padding:0 0 0 var(--app-scale-3x, 15px);padding:var(--tct-message-list-padding, var(--comp-list-default-padding))}:host(:not([appearance])),:host([appearance=standard]){--comp-default-margin:var(--app-scale-3x, 5px) 0;margin:var(--tct-message-margin, var(--comp-default-margin))}:host(:not([appearance])) .message,:host([appearance=standard]) .message{--comp-icon-size:var(--tct-message-icon-size, var(--t-message-icon-size, 24px));--comp-padding:var(--tct-message-padding, var(--t-message-padding, var(--app-scale-3x, 15px)));grid-template-columns:var(--comp-icon-size) 1fr;padding:var(--comp-padding);padding-bottom:calc(var(--comp-padding) - var(--tct-scale-1, var(--app-scale-1x, 5px)))}:host(:not([appearance])) ::slotted(ul),:host([appearance=standard]) ::slotted(ul){--comp-list-default-margin:var(--app-scale-3x, 15px) 0;margin:var(--tct-message-list-margin, var(--comp-list-default-margin))}:host([appearance=minimal]){margin:0}:host([appearance=minimal]) .message{padding:var(--tct-message-minimal-padding, var(--t-message-minimal-padding, var(--app-scale-2x, 10px)));grid-template-columns:1fr}:host([appearance=minimal]) ::slotted(ul){margin:var(--tct-scale-1, var(--app-scale-1x, 5px)) 0}:host(:not([type])),:host([type=info]){--comp-info-color:#0079c1;--comp-bar-color:var(--tct-message-info-bar-color, var(--const-stoplight-info, var(--comp-info-color)));--comp-message-background:var(--tct-message-info-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host(:not([type])) .message-icon,:host([type=info]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-info, var(--const-stoplight-info, var(--comp-info-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-info, var(--const-stoplight-info, var(--comp-info-color)))}:host([type=success]){--comp-success-color:#0e8a00;--comp-bar-color:var(--tct-message-success-bar-color, var(--const-stoplight-success, var(--comp-success-color)));--comp-message-background:var(--tct-message-success-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host([type=success]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-success, var(--const-stoplight-success, var(--comp-success-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-success, var(--const-stoplight-success, var(--comp-success-color)))}:host([type=warning]){--comp-warning-color:#c35500;--comp-bar-color:var(--tct-message-warning-bar-color, var(--const-stoplight-warning, var(--comp-warning-color)));--comp-message-background:var(--tct-message-warning-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host([type=warning]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-warning, var(--const-stoplight-warning, var(--comp-warning-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-warning, var(--const-stoplight-warning, var(--comp-warning-color)))}:host([type=error]),:host([type=danger]){--comp-error-color:#d20a0a;--comp-bar-color:var(--tct-message-error-bar-color, var(--const-stoplight-alert, var(--comp-error-color)));--comp-message-background:var(--tct-message-error-background, var(--tct-message-background, color-mix(in srgb, var(--t-base, #FFFFFF), var(--comp-bar-color) 10%)))}:host([type=error]) .message-icon,:host([type=danger]) .message-icon{--tct-icon-stroke-primary:var(--tct-stoplight-error, var(--const-stoplight-alert, var(--comp-error-color)));--tct-icon-stroke-secondary:var(--tct-stoplight-error, var(--const-stoplight-alert, var(--comp-error-color)))}';
|
|
93
93
|
|
|
94
94
|
export { n as q2_message }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as e, g as r } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { l as i } from "./index-
|
|
3
|
+
import { l as i } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const o = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -110,23 +110,23 @@ const o = class {
|
|
|
110
110
|
render() {
|
|
111
111
|
const [t, r] = this.convertToPercentage(this.completedValue, this.suggestedValue, this.maxValue);
|
|
112
112
|
return e("div", {
|
|
113
|
-
key: "
|
|
113
|
+
key: "046777b3fb3bbfe58ad5ff97878d9c37008dd68d",
|
|
114
114
|
class: "meter-container",
|
|
115
115
|
"aria-label": this.ariaLabel,
|
|
116
116
|
role: "group"
|
|
117
117
|
}, this.label && e("div", {
|
|
118
|
-
key: "
|
|
118
|
+
key: "8b4b84a18e9b91b72cf0b5135136f09e6327fa27",
|
|
119
119
|
class: "label",
|
|
120
120
|
"aria-label": i(this.label)
|
|
121
121
|
}, i(this.label)), this.description && e("div", {
|
|
122
|
-
key: "
|
|
122
|
+
key: "85019eed37e6f346846e71bab7351460f5549bd0",
|
|
123
123
|
class: "description",
|
|
124
124
|
"aria-label": i(this.description)
|
|
125
125
|
}, i(this.description)), this.renderBar(t, r), e("div", {
|
|
126
|
-
key: "
|
|
126
|
+
key: "c6f111962764a49032e645cab917f11ccc2b3cea",
|
|
127
127
|
class: "legends"
|
|
128
128
|
}, e("div", {
|
|
129
|
-
key: "
|
|
129
|
+
key: "c63885e8690d61355867a6d9dc64575dc43bd22b",
|
|
130
130
|
class: "left"
|
|
131
131
|
}, this.completedValue || this.completedLabel ? e("div", {
|
|
132
132
|
class: "completed"
|
|
@@ -141,10 +141,10 @@ const o = class {
|
|
|
141
141
|
}), e("div", {
|
|
142
142
|
class: "legend-label"
|
|
143
143
|
}, this.suggestedValue, " ", i(this.suggestedLabel))) : ""), e("div", {
|
|
144
|
-
key: "
|
|
144
|
+
key: "fd33a6d780d62b72081006d2bc81bce5942cfac7",
|
|
145
145
|
class: "right"
|
|
146
146
|
}, e("div", {
|
|
147
|
-
key: "
|
|
147
|
+
key: "02fa74993895707294400edf76cc9a4882c9b55d",
|
|
148
148
|
class: "max"
|
|
149
149
|
}, this.maxValue, " ", i(this.maxLabel)))));
|
|
150
150
|
}
|