q2-tecton-elements 1.71.4 → 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 +32564 -26687
- package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +85 -20
- 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-SpDCZABA.js → index-BqyWHpNu.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{q2-action-group_2.cjs.entry.js → q2-action-group.cjs.entry.js} +1 -89
- 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 +113 -12
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +14 -7
- package/dist/cjs/q2-card-image.cjs.entry.js +4 -4
- 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 +3 -3
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +9 -6
- package/dist/cjs/q2-context.cjs.entry.js +6 -5
- 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 +4 -4
- package/dist/cjs/q2-editable-field.cjs.entry.js +51 -37
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +60 -4
- 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 +21 -3
- 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 +59 -17
- 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 +8 -5
- package/dist/cjs/q2-radio-group.cjs.entry.js +22 -4
- package/dist/cjs/q2-radio.cjs.entry.js +3 -3
- package/dist/cjs/q2-relative-time.cjs.entry.js +3 -3
- package/dist/cjs/q2-resize-observer.cjs.entry.js +92 -0
- package/dist/cjs/q2-search.cjs.entry.js +4 -4
- package/dist/cjs/q2-section.cjs.entry.js +7 -7
- package/dist/cjs/q2-select.cjs.entry.js +41 -21
- 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 +5 -3
- 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 +152 -146
- package/dist/collection/components/q2-btn/q2-btn.js +10 -4
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +229 -20
- package/dist/collection/components/q2-calendar/q2-calendar.css +3 -0
- package/dist/collection/components/q2-calendar/q2-calendar.js +20 -7
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +26 -15
- package/dist/collection/components/q2-card/test/q2-card-test.vr.js +4 -0
- package/dist/collection/components/q2-card-image/q2-card-image.css +89 -134
- package/dist/collection/components/q2-card-image/q2-card-image.js +4 -4
- package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js +4 -0
- package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +45 -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.css +2 -2
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +2 -0
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
- package/dist/collection/components/q2-context/q2-context.css +5 -0
- package/dist/collection/components/q2-context/q2-context.js +4 -3
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +14 -4
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +6 -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 +52 -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.css +2 -0
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
- package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.vr.js +30 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.css +2 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +59 -45
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.css +27 -0
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +98 -2
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js +22 -0
- 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.css +67 -1
- package/dist/collection/components/q2-input/q2-input.js +160 -15
- package/dist/collection/components/q2-input/test/q2-input-test.vr.js +35 -0
- package/dist/collection/components/q2-item/q2-item.css +3 -1
- package/dist/collection/components/q2-item/q2-item.js +19 -1
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +8 -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 +5 -5
- 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.css +40 -3
- package/dist/collection/components/q2-modal/q2-modal.js +100 -16
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +32 -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 +33 -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.css +2 -2
- package/dist/collection/components/q2-pill/q2-pill.js +6 -3
- package/dist/collection/components/q2-popover/q2-popover.css +4 -2
- package/dist/collection/components/q2-popover/q2-popover.js +50 -14
- package/dist/collection/components/q2-radio/q2-radio.css +158 -104
- package/dist/collection/components/q2-radio/q2-radio.js +5 -2
- package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js +25 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.css +39 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +73 -4
- package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js +43 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +2 -2
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.css +2 -0
- package/dist/collection/components/q2-search/q2-search.js +6 -3
- package/dist/collection/components/q2-section/q2-section.css +2 -0
- package/dist/collection/components/q2-section/q2-section.js +6 -6
- package/dist/collection/components/q2-select/q2-select.css +3 -0
- package/dist/collection/components/q2-select/q2-select.js +48 -22
- package/dist/collection/components/q2-select/test/q2-select-test.vr.js +13 -0
- 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 +5 -3
- 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 +2 -2
- package/dist/collection/utils/test/vr-helpers.js +16 -2
- 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 +3 -3
- 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 +15 -10
- package/dist/components/q2-card-image.js +24 -24
- 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 +12 -12
- package/dist/components/q2-checkbox2.js +12 -12
- package/dist/components/q2-context.js +30 -29
- 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 +13 -13
- package/dist/components/q2-editable-field.js +45 -36
- package/dist/components/q2-example.js +11 -11
- package/dist/components/q2-file-picker.js +71 -11
- package/dist/components/q2-form.js +6 -6
- package/dist/components/q2-formatted-text.js +2 -2
- package/dist/components/q2-input2.js +268 -163
- package/dist/components/q2-item2.js +33 -23
- package/dist/components/q2-legend2.js +7 -7
- package/dist/components/q2-list2.js +6 -6
- package/dist/components/q2-message2.js +29 -29
- package/dist/components/q2-meter.js +7 -7
- package/dist/components/q2-modal.js +94 -76
- 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 +52 -32
- package/dist/components/q2-otp.js +8 -8
- package/dist/components/q2-pagination.js +67 -67
- package/dist/components/q2-pill.js +17 -15
- package/dist/components/q2-popover2.js +77 -53
- package/dist/components/q2-radio-group.js +70 -40
- package/dist/components/q2-radio.js +40 -55
- package/dist/components/q2-relative-time.js +5 -5
- package/dist/components/q2-resize-observer2.js +23 -23
- package/dist/components/q2-search.js +6 -6
- package/dist/components/q2-section.js +33 -33
- package/dist/components/q2-select2.js +47 -40
- package/dist/components/q2-stepper-pane.js +17 -13
- 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 +18 -18
- 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 +12 -11
- package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
- package/dist/esm/click-elsewhere_3.entry.js +85 -20
- 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-Cps4jSQM.js → index-CP8pXJ-l.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{q2-action-group_2.entry.js → q2-action-group.entry.js} +3 -90
- 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 +113 -12
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +14 -7
- package/dist/esm/q2-card-image.entry.js +4 -4
- 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 +3 -3
- package/dist/esm/q2-checkbox_2.entry.js +9 -6
- package/dist/esm/q2-context.entry.js +6 -5
- 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 +4 -4
- package/dist/esm/q2-editable-field.entry.js +51 -37
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +60 -4
- 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 +21 -3
- 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 +59 -17
- 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 +8 -5
- package/dist/esm/q2-radio-group.entry.js +22 -4
- package/dist/esm/q2-radio.entry.js +3 -3
- package/dist/esm/q2-relative-time.entry.js +3 -3
- package/dist/esm/q2-resize-observer.entry.js +90 -0
- package/dist/esm/q2-search.entry.js +4 -4
- package/dist/esm/q2-section.entry.js +7 -7
- package/dist/esm/q2-select.entry.js +41 -21
- 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 +5 -3
- package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +98 -54
- 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-Cps4jSQM.js → index-CP8pXJ-l.js} +2 -2
- package/dist/q2-tecton-elements/{q2-action-group_2.entry.js → q2-action-group.entry.js} +35 -113
- 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 +240 -140
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-calendar.entry.js +18 -13
- package/dist/q2-tecton-elements/q2-card-image.entry.js +9 -9
- 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 +190 -144
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +382 -338
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +186 -160
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +21 -19
- package/dist/q2-tecton-elements/q2-context.entry.js +18 -17
- package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-data-table.entry.js +38 -38
- 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 +10 -10
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +50 -41
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +62 -7
- 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 +27 -17
- 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 +30 -30
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-modal.entry.js +61 -45
- 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 +43 -41
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +55 -34
- package/dist/q2-tecton-elements/q2-radio.entry.js +38 -53
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +81 -0
- package/dist/q2-tecton-elements/q2-search.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-section.entry.js +25 -25
- package/dist/q2-tecton-elements/q2-select.entry.js +28 -21
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +19 -15
- 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 +15 -15
- 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 +8 -7
- 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-card-image/q2-card-image.d.ts +1 -1
- 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-dropdown/test/q2-dropdown-test.vr.d.ts +1 -0
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +20 -2
- package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +20 -0
- package/dist/types/components/q2-input/q2-input.d.ts +32 -4
- package/dist/types/components/q2-item/q2-item.d.ts +3 -0
- package/dist/types/components/q2-modal/q2-modal.d.ts +10 -1
- 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 +18 -2
- package/dist/types/components/q2-search/q2-search.d.ts +3 -1
- package/dist/types/components/q2-select/q2-select.d.ts +12 -4
- package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
- package/dist/types/components.d.ts +1112 -195
- 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/dist/types/utils/test/vr-helpers.d.ts +2 -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,20 +1,31 @@
|
|
|
1
|
-
import { r as t, c as r, h as
|
|
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
|
|
|
7
|
-
const
|
|
8
|
-
constructor(
|
|
9
|
-
t(this,
|
|
7
|
+
const c = class {
|
|
8
|
+
constructor(o) {
|
|
9
|
+
t(this, o), this.change = r(this, "change", 7), this.tctChange = r(this, "tctChange", 7),
|
|
10
10
|
// #region Own Properties
|
|
11
11
|
this._id = `radio-group-${e()}`,
|
|
12
12
|
// #endregion
|
|
13
|
+
// #region State Properties
|
|
14
|
+
this.responsiveOrientation = "vertical",
|
|
15
|
+
// #endregion
|
|
13
16
|
// #region Public Property API
|
|
14
17
|
/** Determines if all radios in the group are put into a `disabled` state. */
|
|
15
18
|
this.disabled = !1,
|
|
16
19
|
/** Determines if the component should display in an errant state. */
|
|
17
20
|
this.hasError = !1,
|
|
21
|
+
/** The layout direction of radio options when `tileLayout` is not enabled. */
|
|
22
|
+
this.orientation = "vertical",
|
|
23
|
+
/**
|
|
24
|
+
* The width, in pixels, below which a horizontal non-tile layout displays vertically.
|
|
25
|
+
*
|
|
26
|
+
* @info The component determines this based on its own width, not the browser window.
|
|
27
|
+
*/
|
|
28
|
+
this.orientationThreshold = 440,
|
|
18
29
|
/** Provides alignment direction for tile-style radio group. */
|
|
19
30
|
this.tileAlignment = "center", this.checkedRadioExists = () => {
|
|
20
31
|
// Returns first checked individual q2-radio or undefined if none are set to checked={true}
|
|
@@ -23,6 +34,9 @@ const p = class {
|
|
|
23
34
|
!this.value && t ? this.value = t.value : this.value || t ||
|
|
24
35
|
// if no radios are meant to be checked, then assign first radio tabIndex of 0
|
|
25
36
|
this.radioElements.length && (this.radioElements[0].tabIndex = 0);
|
|
37
|
+
}, this.handleResize = t => {
|
|
38
|
+
const r = t.detail.entries[0].contentRect.width;
|
|
39
|
+
this.responsiveOrientation = r < this.orientationThreshold ? "vertical" : "horizontal";
|
|
26
40
|
}, this.onInnerRadioChange = t => {
|
|
27
41
|
t.stopImmediatePropagation(), this.readonly || l(this, [ "change", "tctChange" ], {
|
|
28
42
|
value: t.detail.value
|
|
@@ -55,20 +69,20 @@ const p = class {
|
|
|
55
69
|
}
|
|
56
70
|
keydownHandler(t) {
|
|
57
71
|
const r = t.target.getAttribute("value") || this.value;
|
|
58
|
-
let
|
|
72
|
+
let o = this.radioElements.findIndex((o => o === t.target || o.getAttribute("value") === r)), i = 0;
|
|
59
73
|
switch (t.key) {
|
|
60
74
|
case "ArrowLeft":
|
|
61
75
|
case "ArrowUp":
|
|
62
|
-
|
|
76
|
+
i = -1;
|
|
63
77
|
break;
|
|
64
78
|
|
|
65
79
|
case "ArrowRight":
|
|
66
80
|
case "ArrowDown":
|
|
67
|
-
|
|
81
|
+
i = 1;
|
|
68
82
|
}
|
|
69
|
-
-1 !==
|
|
70
|
-
t.preventDefault(), this.readonly || (this.value = this.radioElements[
|
|
71
|
-
this.radioElements[
|
|
83
|
+
-1 !== o && 0 !== i && (o += i, o = i < 0 ? Math.max(0, o) : Math.min(this.radioElements.length - 1, o),
|
|
84
|
+
t.preventDefault(), this.readonly || (this.value = this.radioElements[o].value),
|
|
85
|
+
this.radioElements[o].dispatchEvent(new FocusEvent("focus")));
|
|
72
86
|
}
|
|
73
87
|
// #endregion
|
|
74
88
|
// #region Public Methods API
|
|
@@ -115,6 +129,9 @@ const p = class {
|
|
|
115
129
|
}
|
|
116
130
|
// #endregion
|
|
117
131
|
// #region Local Methods
|
|
132
|
+
get computedOrientation() {
|
|
133
|
+
return "horizontal" === this.orientation ? this.responsiveOrientation : "vertical";
|
|
134
|
+
}
|
|
118
135
|
get inputId() {
|
|
119
136
|
return this._id;
|
|
120
137
|
}
|
|
@@ -124,43 +141,47 @@ const p = class {
|
|
|
124
141
|
inputDom() {
|
|
125
142
|
if (this.tileLayout) {
|
|
126
143
|
const {tileAlignment: t} = this, r = [ "left", "center", "right" ].includes(t) ? t : "center";
|
|
127
|
-
return
|
|
144
|
+
return o("div", {
|
|
128
145
|
class: `tile-container ${r}`
|
|
129
|
-
},
|
|
146
|
+
}, o("div", {
|
|
130
147
|
class: "options-container"
|
|
131
|
-
},
|
|
148
|
+
}, o("slot", null)));
|
|
132
149
|
}
|
|
133
|
-
return
|
|
134
|
-
class:
|
|
135
|
-
},
|
|
150
|
+
return o("div", {
|
|
151
|
+
class: `options-container ${this.computedOrientation}`
|
|
152
|
+
}, o("slot", null));
|
|
136
153
|
}
|
|
137
154
|
// #endregion
|
|
138
155
|
// #region Render Methods
|
|
139
156
|
render() {
|
|
140
|
-
const t = this.label || this.optional || this.readonly, {hasError: r} = this,
|
|
141
|
-
return
|
|
142
|
-
key: "
|
|
143
|
-
},
|
|
144
|
-
key: "
|
|
157
|
+
const t = this.label || this.optional || this.readonly, {hasError: r} = this, a = t && !this.hideLabel || r;
|
|
158
|
+
return o(i, {
|
|
159
|
+
key: "0503a52d9cb4715cba418f445b708ad650aa5f1f"
|
|
160
|
+
}, a && o("div", {
|
|
161
|
+
key: "7236b03ea65a44bbfacf57944370236c9653d69c",
|
|
145
162
|
class: "label-row"
|
|
146
|
-
}, t && !this.hideLabel &&
|
|
147
|
-
key: "
|
|
163
|
+
}, t && !this.hideLabel && o("div", {
|
|
164
|
+
key: "fbede7f7cfbd2c0fe8364a77966009a2e14ede37",
|
|
148
165
|
class: "group-legend"
|
|
149
|
-
}, d(this)), r &&
|
|
150
|
-
key: "
|
|
166
|
+
}, d(this)), r && o("q2-icon", {
|
|
167
|
+
key: "b7d7456a6fd1e673d5799748a727db2babc3d2bf",
|
|
151
168
|
type: "error",
|
|
152
169
|
"test-id": "iconError"
|
|
153
|
-
})),
|
|
154
|
-
key: "
|
|
170
|
+
})), o("fieldset", {
|
|
171
|
+
key: "cba87bdefb32eaa0cd6cc1760d874fd622146b5e",
|
|
155
172
|
onChange: this.onInnerRadioChange,
|
|
156
173
|
"aria-invalid": r ? `${r}` : void 0
|
|
157
|
-
}, t &&
|
|
158
|
-
key: "
|
|
174
|
+
}, t && o("legend", {
|
|
175
|
+
key: "c4ff0e86435564ece7e468ecd7b0e373ae9fc078",
|
|
159
176
|
class: "sr-only"
|
|
160
|
-
}, d(this)),
|
|
177
|
+
}, d(this)), o("q2-resize-observer", {
|
|
178
|
+
key: "f3bfe6941b46da58433ed959017a4383c07ce16d",
|
|
179
|
+
onTctResize: this.handleResize,
|
|
180
|
+
disabled: this.tileLayout || "horizontal" !== this.orientation
|
|
181
|
+
}, this.inputDom())));
|
|
161
182
|
}
|
|
162
183
|
get hostElement() {
|
|
163
|
-
return
|
|
184
|
+
return a(this);
|
|
164
185
|
}
|
|
165
186
|
static get watchers() {
|
|
166
187
|
return {
|
|
@@ -186,6 +207,6 @@ const p = class {
|
|
|
186
207
|
}
|
|
187
208
|
};
|
|
188
209
|
|
|
189
|
-
|
|
210
|
+
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{--comp-default-radio-group-margin:var(--tct-radio-group-margin-top, var(--t-radio-group-margin-top, var(--app-scale-5x, 25px))) 0 var(--tct-radio-group-margin-bottom, var(--t-radio-group-margin-bottom, var(--app-scale-5x, 25px)));display:block;margin:var(--tct-radio-group-margin, var(--comp-default-radio-group-margin))}fieldset{padding:var(--tct-radio-group-fieldset-padding, 0);margin:0;border:0;position:relative}.label-row{display:grid;grid-template-columns:1fr 24px;grid-template-areas:"label icon";column-gap:var(--tct-radio-group-label-column-gap, var(--app-scale-2x, 10px));color:var(--tct-radio-group-label-font-color, inherit);font-size:var(--tct-radio-group-label-font-size, inherit);font-weight:var(--tct-radio-group-label-font-weight, 600);text-transform:var(--tct-radio-group-label-text-transform, none);letter-spacing:var(--tct-radio-group-label-letter-spacing, inherit);line-height:var(--tct-radio-group-label-line-height, inherit)}.label-row q2-icon{grid-area:icon;margin-top:-2px;margin-bottom:-2px}.group-legend{font-weight:600}legend.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}.optional-tag{margin-left:var(--tct-radio-group-label-optional-margin-left, var(--app-scale-1x, 5px));color:var(--tct-radio-group-label-optional-color, var(--t-radio-group-label-optional-color, var(--tct-a11y-color, var(--t-a11y-color, var(--tct-a11y-gray-color, var(--t-a11y-gray-color, var(--tct-gray-7, var(--t-gray-7, var(--tct-gray-d1, var(--t-gray-d1, var(--app-gray-d1, rgba(77, 77, 77, 0.77))))))))))));font-size:var(--tct-radio-group-label-optional-font-size, var(--t-radio-group-label-optional-font-size, var(--const-px-12, 12px)));font-weight:var(--tct-radio-group-label-optional-font-weight, var(--t-radio-group-label-optional-font-weight, 400))}.tile-container,.tile-container .options-container{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;flex-grow:1}.options-container{--comp-default-margin:var(--app-scale-1x, 5px) 0;--comp-options-margin:var(--tct-radio-group-options-margin, var(--t-radio-group-options-margin, var(--comp-default-margin, 5px 0)));margin:var(--comp-options-margin);padding:var(--tct-radio-group-options-padding, var(--t-radio-group-options-padding, var(--app-scale-0x, 0px)));border-width:var(--tct-radio-group-border-width, 1px);border-color:transparent;border-style:solid;border-radius:var(--tct-radio-group-border-radius, var(--app-border-radius-1, 4px))}:host([has-error]) .options-container{border-color:var(--tct-radio-group-error-border-color, var(--const-stoplight-alert, #d20a0a))}:host([has-error=false]) .options-container{border-color:transparent}.options-container.horizontal,.options-container.vertical{display:flex;flex-wrap:wrap;justify-content:var(--tct-radio-group-justify-content, start)}.options-container.horizontal{flex-direction:row;column-gap:var(--tct-radio-group-horizontal-gap, var(--app-scale-4x, 20px))}.options-container.vertical{flex-direction:column}.options-container.vertical ::slotted(q2-radio:not(:first-child)){position:relative}.options-container.vertical ::slotted(q2-radio:not(:first-child))::before{border-block-start:var(--tct-radio-group-separator-width, 0) solid var(--tct-radio-group-separator-color, var(--t-gray-12, #d9d9d9));content:"";inset-block-start:calc(var(--tct-radio-group-separator-width, 0) / -2);inset-inline:0;pointer-events:none;position:absolute}.tile-container.left{justify-content:start}.tile-container.right{justify-content:end}.tile-container .options-container{border-color:var(--tct-radio-group-tile-border-color, var(--t-gray-13, #e6e6e6));border-radius:var(--tct-radio-group-tile-border-radius, var(--app-border-radius-2, 8px));flex-grow:0;flex-wrap:nowrap;justify-content:inherit;overflow:visible}:host([has-error]) .tile-container .options-container{border-color:var(--tct-radio-group-error-border-color, var(--const-stoplight-alert, #d20a0a))}';
|
|
190
211
|
|
|
191
|
-
export {
|
|
212
|
+
export { c as q2_radio_group }
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r
|
|
1
|
+
import { r, c as a, h as o, g as t } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { c, d as
|
|
3
|
+
import { c as e, d as i, o as c, l as d } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
|
-
import { m as
|
|
5
|
+
import { m as l } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
7
|
-
const
|
|
8
|
-
constructor(
|
|
9
|
-
|
|
7
|
+
const n = class {
|
|
8
|
+
constructor(o) {
|
|
9
|
+
r(this, o), this.change = a(this, "change", 7), this.tctChange = a(this, "tctChange", 7),
|
|
10
10
|
// #region Own Properties
|
|
11
|
-
this._id = `radio-${
|
|
11
|
+
this._id = `radio-${e()}`, this.isLoaded = !1,
|
|
12
12
|
/** The state of the radio. This modifies the visual appearance of the element. */
|
|
13
13
|
this.checked = !1,
|
|
14
14
|
/** Disables the radio and prevents interaction. */
|
|
@@ -32,50 +32,50 @@ const s = class {
|
|
|
32
32
|
this.tabIndex = 0,
|
|
33
33
|
// #endregion
|
|
34
34
|
// #region Local Methods
|
|
35
|
-
this.inputChange =
|
|
36
|
-
if (
|
|
35
|
+
this.inputChange = r => {
|
|
36
|
+
if (r.stopPropagation(), this.disabled || this.readonly || this.groupReadonly || this.groupDisabled) return r.preventDefault(),
|
|
37
37
|
!1;
|
|
38
|
-
|
|
38
|
+
r.target instanceof HTMLInputElement && (this.checked = r.target.checked);
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
// #endregion
|
|
42
42
|
// #region Component Lifecycle Events
|
|
43
43
|
componentWillLoad() {
|
|
44
|
-
|
|
44
|
+
i(this);
|
|
45
45
|
}
|
|
46
46
|
componentDidLoad() {
|
|
47
|
-
this.isLoaded = !0,
|
|
47
|
+
this.isLoaded = !0, c(this.hostElement), this.hostElement.click = () => {
|
|
48
48
|
this.inputField.focus(), this.inputField.click();
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
// #endregion
|
|
52
52
|
// #region Listeners
|
|
53
|
-
onHostClick(
|
|
54
|
-
this.disabled ?
|
|
55
|
-
|
|
53
|
+
onHostClick(r) {
|
|
54
|
+
this.disabled ? r.stopImmediatePropagation() : this.groupReadonly && (r.preventDefault(),
|
|
55
|
+
r.stopImmediatePropagation(), this.inputField.focus());
|
|
56
56
|
}
|
|
57
|
-
delegateFocus(
|
|
58
|
-
|
|
57
|
+
delegateFocus(r) {
|
|
58
|
+
r.target === this.hostElement && this.inputField.focus();
|
|
59
59
|
}
|
|
60
60
|
// #endregion
|
|
61
61
|
// #region Watchers
|
|
62
62
|
ariaLabelObserver() {
|
|
63
|
-
|
|
63
|
+
i(this);
|
|
64
64
|
}
|
|
65
65
|
checkedObserver() {
|
|
66
|
-
this.isLoaded && this.checked &&
|
|
66
|
+
this.isLoaded && this.checked && l(this, [ "change", "tctChange" ], {
|
|
67
67
|
value: this.value
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
// #endregion
|
|
71
71
|
// #region Render Methods
|
|
72
72
|
render() {
|
|
73
|
-
return
|
|
74
|
-
key: "
|
|
73
|
+
return o("div", {
|
|
74
|
+
key: "1aafcfbdb7d6e2863618d6741bc12491a109ec80",
|
|
75
75
|
class: this.groupTileLayout ? "radio-tile" : "radio-container"
|
|
76
|
-
},
|
|
77
|
-
key: "
|
|
78
|
-
ref:
|
|
76
|
+
}, o("input", {
|
|
77
|
+
key: "1989707753be2d6b8bc8c69098a5c9bf27af99b7",
|
|
78
|
+
ref: r => this.inputField = r,
|
|
79
79
|
class: "sr",
|
|
80
80
|
id: this._id,
|
|
81
81
|
type: "radio",
|
|
@@ -83,42 +83,27 @@ const s = class {
|
|
|
83
83
|
value: this.value,
|
|
84
84
|
disabled: this.disabled || this.groupDisabled,
|
|
85
85
|
checked: this.checked,
|
|
86
|
-
"aria-label": this.label && this.hideLabel ?
|
|
86
|
+
"aria-label": this.label && this.hideLabel ? d(this.label) : void 0,
|
|
87
87
|
onChange: this.inputChange,
|
|
88
88
|
"test-id": "q2RadioInnerRadioBox"
|
|
89
|
-
}),
|
|
90
|
-
key: "
|
|
89
|
+
}), o("label", {
|
|
90
|
+
key: "93a6f7f8d718c8070c4d4d88c3b48905f518e166",
|
|
91
91
|
htmlFor: this._id,
|
|
92
92
|
class: this.hideLabel ? "label-hidden" : void 0,
|
|
93
93
|
"test-id": "radioButton"
|
|
94
|
-
}, !this.groupTileLayout &&
|
|
95
|
-
key: "
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
stroke: "none",
|
|
101
|
-
fill: "none",
|
|
102
|
-
cx: "9",
|
|
103
|
-
cy: "9",
|
|
104
|
-
r: "8"
|
|
105
|
-
}), e("circle", {
|
|
106
|
-
key: "4c4daede7d3414b1e7a9c037ba4d9e919300a9ca",
|
|
107
|
-
class: "small-circle",
|
|
108
|
-
stroke: "none",
|
|
109
|
-
fill: "none",
|
|
110
|
-
cx: "9",
|
|
111
|
-
cy: "9",
|
|
112
|
-
r: "4"
|
|
113
|
-
})), !this.hideLabel && e("div", {
|
|
114
|
-
key: "e9b3ba9aceb316988bf570a3dd50cf99166fb248",
|
|
94
|
+
}, !this.groupTileLayout && o("span", {
|
|
95
|
+
key: "f351a1aef39845bbb1bbd360037d36486de27cd9",
|
|
96
|
+
class: "radio-mark",
|
|
97
|
+
"aria-hidden": "true"
|
|
98
|
+
}), !this.hideLabel && o("div", {
|
|
99
|
+
key: "c9cb25115cffc72dfbb52024b6343f16a0744fbc",
|
|
115
100
|
class: "label-content"
|
|
116
|
-
}, this.label &&
|
|
117
|
-
key: "
|
|
101
|
+
}, this.label && d(this.label) || "", o("slot", {
|
|
102
|
+
key: "8d63e148c83fb247b60b719d3de8627c327efaa4"
|
|
118
103
|
}))));
|
|
119
104
|
}
|
|
120
105
|
get hostElement() {
|
|
121
|
-
return
|
|
106
|
+
return t(this);
|
|
122
107
|
}
|
|
123
108
|
static get watchers() {
|
|
124
109
|
return {
|
|
@@ -132,6 +117,6 @@ const s = class {
|
|
|
132
117
|
}
|
|
133
118
|
};
|
|
134
119
|
|
|
135
|
-
s.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}.radio-container{--comp-radio-margin:var(--tct-radio-margin, var(--tct-radio-margin-vertical, var(--tct-scale-2, 10px)) var(--tct-radio-margin-horizontal, var(--tct-scale-3, 15px)));--comp-big-circle-fill:var(--tct-radio-background-fill, transparent);--comp-big-circle-stroke:var(--tct-radio-background-stroke, var(--tct-radio-stroke-color, var(--t-a11y-gray-color-AA, #949494)));--comp-big-circle-stroke-width:var(--tct-radio-background-stroke-width, var(--tct-radio-stroke-width, 2));--comp-big-circle-transition:fill var(--tct-radio-background-transition, var(--tct-checkbox-tween, var(--app-tween-2, 0.4s ease)));--comp-small-circle-fill:var(--tct-radio-select-fill-default, transparent);--comp-label-content-color:var(--tct-radio-label-color, inherit);--comp-label-content-font-weight:var(--tct-radio-label-font-weight, var(--tct-radio-font-weight, var(--tct-checkbox-font-weight, 400)));--comp-label-content-letter-spacing:var(--tct-radio-label-letter-spacing, 0.25);--comp-label-content-margin-right:var(--tct-radio-label-margin-right, 1rem);--comp-label-content-gap:var(--tct-radio-label-gap, var(--tct-scale-1, var(--app-scale-1x, 5px)));--comp-label-hidden-columns:var(--tct-radio-hidden-columns, var(--tct-radio-label-hidden-columns, 18px 1fr));--comp-svg-transition:box-shadow var(--tct-radio-transition, var(--tct-tween-1, var(--app-tween-1, 0.2s ease)));--comp-svg-box-shadow:var(--tct-radio-box-shadow, none);--comp-big-circle-fill-checked:var(--tct-radio-checked-background-fill, var(--comp-big-circle-fill));--comp-big-circle-stroke-checked:var(--tct-radio-checked-stroke-color, var(--comp-big-circle-stroke));--comp-small-circle-fill-checked:var(--tct-radio-select-fill-checked, var(--tct-radio-checked-fill, var(--tct-checkbox-check-stroke-color, var(--t-checkbox-fill, #2e2e2e))));--comp-label-content-font-weight-checked:var(--tct-radio-label-font-weight-checked, var(--tct-radio-checked-label-font-weight, var(--tct-checkbox-selected-font-weight, 600)));--comp-label-content-letter-spacing-checked:var(--tct-radio-label-letter-spacing-checked, var(--tct-radio-checked-label-letter-spacing, var(--tct-checkbox-selected-letter-spacing, var(--comp-label-content-letter-spacing))));--comp-label-content-color-checked:var(--tct-radio-label-font-color-checked, var(--tct-radio-checked-label-font-color, var(--tct-radio-checked-label-color, inherit)));--comp-big-circle-fill-active:var(--tct-radio-background-fill-active, var(--comp-big-circle-fill));--comp-big-circle-stroke-active:var(--tct-radio-background-stroke-active, var(--comp-big-circle-stroke));--comp-small-circle-fill-active:var(--tct-radio-selected-fill-active, var(--comp-small-circle-fill-checked));--comp-label-content-font-weight-active:var(--tct-radio-label-font-weight-active, var(--comp-label-content-font-weight));--comp-label-content-letter-spacing-active:var(--tct-radio-label-letter-spacing-active, var(--comp-label-content-letter-spacing));--comp-label-content-color-active:var(--tct-radio-label-color-active, var(--comp-label-content-color));--comp-big-circle-fill-hover:var(--tct-radio-hover-background-fill, var(--comp-big-circle-fill));--comp-big-circle-stroke-hover:var(--tct-radio-hover-stroke-color, var(--comp-big-circle-stroke));--comp-label-content-color-hover:var(--tct-radio-hover-label-color, var(--comp-label-content-color));--comp-big-circle-fill-focus:var(--tct-radio-focus-background-fill, var(--comp-big-circle-fill));--comp-big-circle-stroke-focus:var(--tct-radio-focus-stroke-color, var(--comp-big-circle-stroke));--comp-label-content-color-focus:var(--tct-radio-focus-label-color, var(--comp-label-content-color));--comp-svg-box-shadow-focus-visible:var(--tct-radio-box-shadow-focus-visible, var(--tct-radio-focus-box-shadow, var(--const-double-focus-ring)));margin:var(--comp-radio-margin)}.radio-container label[for]{color:var(---comp-label-content-color);font-weight:var(---comp-label-content-font-weight);font-size:var(--tct-radio-label-font-size, var(--const-px-14, 14px));align-items:start;cursor:pointer;margin-right:var(---comp-label-content-margin-right);display:grid;grid-template-columns:18px 1fr;gap:var(--comp-label-content-gap);letter-spacing:var(--comp-label-content-letter-spacing)}.radio-container label[for].label-hidden{grid-template-columns:var(--comp-label-hidden-columns)}.radio-container label[for] .description-content{grid-column:2}.radio-container svg{border-radius:50%;transition:var(--comp-svg-transition);outline:0;width:100%;box-shadow:var(--comp-svg-box-shadow)}.radio-container .big-circle{fill:var(--comp-big-circle-fill);stroke:var(--comp-big-circle-stroke);stroke-width:var(--comp-big-circle-stroke-width);transition:var(--comp-big-circle-transition)}.radio-container .small-circle{fill:var(--comp-small-circle-fill)}.radio-container input:checked+label .big-circle{fill:var(--comp-big-circle-fill-checked);stroke:var(--comp-big-circle-stroke-checked)}.radio-container input:checked+label .small-circle{fill:var(--comp-small-circle-fill-checked)}.radio-container input:checked+label .label-content{font-weight:var(--comp-label-content-font-weight-checked);letter-spacing:var(--comp-label-content-letter-spacing-checked);color:var(--comp-label-content-color-checked)}.radio-container input:hover+label .big-circle{fill:var(--comp-big-circle-fill-hover);stroke:var(--comp-big-circle-stroke-hover)}.radio-container input:hover+label .label-content{color:var(--comp-label-content-color-hover)}.radio-container input:active+label .big-circle{fill:var(--comp-big-circle-fill-active);stroke:var(--comp-big-circle-stroke-active)}.radio-container input:active+label .small-circle{fill:var(--comp-small-circle-fill-active)}.radio-container input:active+label .label-content{font-weight:var(--comp-label-content-font-weight-active);letter-spacing:var(--comp-label-content-letter-spacing-active);color:var(--comp-label-content-color-active)}.radio-container input:focus+label .big-circle{fill:var(--comp-big-circle-fill-focus);stroke:var(--comp-big-circle-stroke-focus)}.radio-container input:focus+label .label-content{color:var(--comp-label-content-color-focus)}.radio-tile{flex-basis:100px;flex-grow:0;flex-wrap:wrap}.radio-tile label[for]{color:var(--tct-radio-label-font-color, var(--tct-radio-label-color, inherit));align-items:center;border-radius:var(--tct-radio-tile-border-radius, var(--app-border-radius-1, 3px));border:2px solid var(--tct-radio-stroke-color, var(--t-a11y-gray-color-AA, #949494));background:var(--tct-radio-background-fill, transparent);cursor:pointer;display:block;font-size:var(--tct-radio-tile-label-font-size, var(--tct-radio-label-font-size, var(--const-px-14, 14px)));padding:10px;position:relative;text-align:center;transition:border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));white-space:nowrap}.radio-tile input:checked+label{border-color:var(--tct-radio-tile-checked-stroke-color, var(--tct-radio-checked-stroke-color, var(--tct-checkbox-check-stroke-color, var(--t-checkbox-check-stroke-color, var(--t-checkbox-fill, #2e2e2e)))));box-shadow:inset 0 0 0 2px #ffffff;background:var(--tct-radio-checked-background-fill, transparent);color:var(--tct-radio-checked-label-color, inherit)}.radio-tile input:checked+label:after{border-bottom-width:3px;border-bottom:5px solid var(--tct-radio-tile-checked-stroke-color, var(--tct-radio-checked-stroke-color, var(--tct-checkbox-check-stroke-color, var(--t-checkbox-check-stroke-color, var(--t-checkbox-fill, #2e2e2e)))));border-left-width:5px;border-left:8px solid transparent;border-right-width:5px;border-right:8px solid transparent;bottom:0;content:"";height:0;left:50%;margin-left:-5px;position:absolute;width:0}.radio-tile input:hover+label{border-color:var(--tct-radio-hover-stroke-color, var(--tct-radio-stroke-color, var(--t-a11y-gray-color-AA, #949494)));background:var(--tct-radio-hover-background-fill, transparent);color:var(--tct-radio-hover-label-color, var(--tct-radio-label-color, inherit))}.radio-tile input:focus+label,.radio-tile input:focus:checked+label{--comp-radio-tile-focus-box-shadow-fallback:var(--const-double-focus-ring), var(--tct-global-focus, 0 0 0 2px #33b4ff);border-color:var(--tct-radio-tile-focus-stroke-color, var(--tct-radio-focus-stroke-color, var(--tct-checkbox-check-stroke-color, var(--t-checkbox-check-stroke-color, var(--t-checkbox-fill, #2e2e2e)))));background:var(--tct-radio-focus-background-fill, transparent);box-shadow:var(--tct-radio-tile-focus-box-shadow, var(--comp-radio-tile-focus-box-shadow-fallback));color:var(--tct-radio-focus-label-color, var(--tct-radio-checked-label-color, inherit))}.radio-tile input:focus:checked+label:after{border-bottom:5px solid var(--tct-radio-tile-focus-stroke-color, var(--tct-radio-focus-stroke-color, #2e2e2e))}input:disabled+label[for]{cursor:not-allowed;opacity:var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))}';
|
|
120
|
+
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;letter-spacing:var(--tct-radio-label-letter-spacing, inherit)}:host([checked]:not([checked=false])){letter-spacing:var(--tct-radio-label-letter-spacing-checked, var(--tct-radio-checked-label-letter-spacing, var(--tct-checkbox-selected-letter-spacing, var(--tct-radio-label-letter-spacing, inherit))))}:host(:active){letter-spacing:var(--tct-radio-label-letter-spacing-active, var(--tct-radio-label-letter-spacing, inherit))}.radio-container{--comp-radio-mark-track-size:36px;--comp-radio-mark-size:var(--tct-radio-mark-size, 20px);--comp-radio-mark-fill:var(--tct-radio-background-fill, transparent);--comp-radio-mark-stroke:var(--tct-radio-background-stroke, var(--tct-radio-stroke-color, var(--t-a11y-gray-color-AA, #949494)));--comp-radio-mark-stroke-width:var(--tct-radio-background-stroke-width, var(--tct-radio-stroke-width, 2));--comp-radio-mark-color-transition:background-color var(--tct-radio-background-transition, var(--tct-checkbox-tween, var(--app-tween-1, 0.15s ease))), border-color var(--tct-radio-background-transition, var(--tct-checkbox-tween, var(--app-tween-1, 0.15s ease)));--comp-radio-mark-dot-fill:var(--tct-radio-select-fill-default, transparent);--comp-label-content-color:var(--tct-radio-label-color, inherit);--comp-label-content-font-weight:var(--tct-radio-label-font-weight, var(--tct-radio-font-weight, var(--tct-checkbox-font-weight, 400)));--comp-label-content-margin-right:var(--tct-radio-label-margin-right, 0);--comp-label-content-gap:var(--tct-radio-label-gap, 0);--comp-label-hidden-columns:var(--tct-radio-hidden-columns, var(--tct-radio-label-hidden-columns, var(--comp-radio-mark-track-size) 1fr));--comp-radio-mark-transition:box-shadow var(--tct-radio-transition, var(--tct-tween-1, var(--app-tween-1, 0.15s ease))), transform var(--tct-radio-transition, var(--tct-tween-1, var(--app-tween-1, 0.15s ease)));--comp-radio-mark-box-shadow:var(--tct-radio-box-shadow, none);--comp-radio-mark-fill-checked:var(--tct-radio-checked-background-fill, var(--t-base, #ffffff));--comp-radio-mark-stroke-checked:var(--tct-radio-checked-stroke-color, var(--t-primary, #6a4a9e));--comp-radio-mark-dot-fill-checked:var(--tct-radio-select-fill-checked, var(--tct-radio-checked-fill, var(--tct-checkbox-check-stroke-color, var(--t-checkbox-fill, var(--t-primary, #6a4a9e)))));--comp-label-content-font-weight-checked:var(--tct-radio-label-font-weight-checked, var(--tct-radio-checked-label-font-weight, var(--tct-checkbox-selected-font-weight, var(--comp-label-content-font-weight))));--comp-label-content-color-checked:var(--tct-radio-label-font-color-checked, var(--tct-radio-checked-label-font-color, var(--tct-radio-checked-label-color, inherit)));--comp-radio-mark-fill-active:var(--tct-radio-background-fill-active, #e8ddef);--comp-radio-mark-stroke-active:var(--tct-radio-background-stroke-active, var(--t-primary-d2, #553b7e));--comp-radio-mark-dot-fill-active:var(--tct-radio-selected-fill-active, var(--comp-radio-mark-dot-fill-checked));--comp-label-content-font-weight-active:var(--tct-radio-label-font-weight-active, var(--comp-label-content-font-weight));--comp-label-content-color-active:var(--tct-radio-label-color-active, var(--comp-label-content-color));--comp-radio-mark-fill-hover:var(--tct-radio-hover-background-fill, #f3eefa);--comp-radio-mark-stroke-hover:var(--tct-radio-hover-stroke-color, var(--t-primary, #6a4a9e));--comp-radio-mark-stroke-checked-hover:var(--tct-radio-checked-hover-stroke-color, var(--t-primary-d2, #553b7e));--comp-label-content-color-hover:var(--tct-radio-hover-label-color, var(--comp-label-content-color));--comp-radio-mark-fill-focus:var(--tct-radio-focus-background-fill, var(--comp-radio-mark-fill));--comp-radio-mark-stroke-focus:var(--tct-radio-focus-stroke-color, var(--comp-radio-mark-stroke));--comp-label-content-color-focus:var(--tct-radio-focus-label-color, var(--comp-label-content-color));--comp-radio-mark-box-shadow-focus-visible:var(--tct-radio-box-shadow-focus-visible, var(--tct-radio-focus-box-shadow, var(--const-double-focus-ring)))}.radio-container label[for]{color:var(--comp-label-content-color);font-weight:var(--comp-label-content-font-weight);font-size:var(--tct-radio-label-font-size, var(--const-px-14, 14px));align-items:center;cursor:pointer;margin-right:var(--comp-label-content-margin-right);display:grid;grid-template-columns:var(--comp-radio-mark-track-size) 1fr;gap:var(--comp-label-content-gap);min-height:var(--tct-radio-min-height, var(--comp-radio-mark-track-size));user-select:none}.radio-container label[for].label-hidden{grid-template-columns:var(--comp-label-hidden-columns)}.radio-container label[for] .description-content{grid-column:2}.radio-container .radio-mark{--comp-radio-mark-current-fill:var(--comp-radio-mark-fill);--comp-radio-mark-current-stroke:var(--comp-radio-mark-stroke);border-radius:50%;box-shadow:var(--comp-radio-mark-box-shadow);height:var(--comp-radio-mark-size);justify-self:center;overflow:hidden;position:relative;transition:var(--comp-radio-mark-transition);width:var(--comp-radio-mark-size)}.radio-container .radio-mark::before{background:var(--comp-radio-mark-current-fill);border-color:var(--comp-radio-mark-current-stroke);border-radius:50%;border-style:solid;border-width:calc(var(--comp-radio-mark-stroke-width) * 1px);box-sizing:border-box;content:"";height:calc(var(--comp-radio-mark-size) - 2px + var(--comp-radio-mark-stroke-width) * 1px);left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);transition:var(--comp-radio-mark-color-transition);width:calc(var(--comp-radio-mark-size) - 2px + var(--comp-radio-mark-stroke-width) * 1px)}.radio-container .radio-mark::after{background:var(--comp-radio-mark-dot-fill);border-radius:50%;content:"";height:calc(var(--comp-radio-mark-size) / 2);left:50%;position:absolute;top:50%;transform:translate(-50%, -50%) scale(0);transition:transform var(--tct-radio-transition, var(--tct-tween-1, var(--app-tween-1, 0.15s ease)));width:calc(var(--comp-radio-mark-size) / 2)}.radio-container input:focus-visible{box-shadow:none}.radio-container input:checked+label .radio-mark{--comp-radio-mark-current-fill:var(--comp-radio-mark-fill-checked);--comp-radio-mark-current-stroke:var(--comp-radio-mark-stroke-checked)}.radio-container input:checked+label .radio-mark::after{background:var(--comp-radio-mark-dot-fill-checked);transform:translate(-50%, -50%) scale(1)}.radio-container input:checked+label .label-content{font-weight:var(--comp-label-content-font-weight-checked);color:var(--comp-label-content-color-checked)}.radio-container input:hover:not(:disabled)+label .radio-mark{--comp-radio-mark-current-fill:var(--comp-radio-mark-fill-hover);--comp-radio-mark-current-stroke:var(--comp-radio-mark-stroke-hover)}.radio-container input:hover:not(:disabled)+label .label-content{color:var(--comp-label-content-color-hover)}.radio-container input:active:not(:disabled)+label .radio-mark{--comp-radio-mark-current-fill:var(--comp-radio-mark-fill-active);--comp-radio-mark-current-stroke:var(--comp-radio-mark-stroke-active);transform:scale(0.9)}.radio-container input:active:not(:disabled)+label .radio-mark::after{background:var(--comp-radio-mark-dot-fill-active)}.radio-container input:active:not(:disabled)+label .label-content{font-weight:var(--comp-label-content-font-weight-active);color:var(--comp-label-content-color-active)}.radio-container input:focus+label .radio-mark{--comp-radio-mark-current-fill:var(--comp-radio-mark-fill-focus);--comp-radio-mark-current-stroke:var(--comp-radio-mark-stroke-focus)}.radio-container input:focus+label .label-content{color:var(--comp-label-content-color-focus)}.radio-container input:focus-visible+label .radio-mark{box-shadow:var(--comp-radio-mark-box-shadow-focus-visible)}.radio-container input:checked:hover:not(:disabled)+label .radio-mark{--comp-radio-mark-current-stroke:var(--comp-radio-mark-stroke-checked-hover)}.radio-tile label[for]{color:var(--tct-radio-label-font-color, var(--tct-radio-label-color, inherit));align-items:center;border:0;background:var(--tct-radio-background-fill, var(--t-base, #ffffff));cursor:pointer;display:block;font-size:var(--tct-radio-tile-label-font-size, var(--tct-radio-label-font-size, var(--const-px-14, 14px)));overflow:hidden;padding:var(--tct-radio-tile-padding, 10px 20px);position:relative;text-align:center;transition:background var(--tct-tween-1, var(--app-tween-1, 0.15s ease)), color var(--tct-tween-1, var(--app-tween-1, 0.15s ease)), box-shadow var(--tct-tween-1, var(--app-tween-1, 0.15s ease));white-space:nowrap;user-select:none}.radio-tile input:focus-visible{box-shadow:none}.radio-tile input:checked+label{background:var(--tct-radio-tile-checked-background-fill, var(--tct-radio-checked-background-fill, #f3eefa));color:var(--tct-radio-tile-checked-label-color, var(--tct-radio-checked-label-color, var(--t-primary, #6a4a9e)))}.radio-tile input:checked+label:after{background:var(--tct-radio-tile-checked-stroke-color, var(--t-primary, #6a4a9e));border-radius:var(--tct-radio-tile-indicator-border-radius, 9999px 9999px 0 0);bottom:0;content:"";height:var(--tct-radio-tile-indicator-height, 2px);left:0;position:absolute;right:0}.radio-tile input:not(:checked):hover:not(:disabled)+label{background:var(--tct-radio-tile-hover-background-fill, #fafafa);color:var(--tct-radio-hover-label-color, var(--tct-radio-label-color, inherit))}.radio-tile input:not(:checked):active:not(:disabled)+label{background:var(--tct-radio-tile-active-background-fill, var(--t-gray-14, #f2f2f2))}.radio-tile input:focus-visible+label{z-index:1;box-shadow:var(--tct-radio-tile-focus-box-shadow, var(--const-double-focus-ring))}:host(:not(:first-child)) .radio-tile label[for]{border-left:var(--tct-radio-tile-divider-width, 1px) solid var(--tct-radio-tile-divider-color, var(--t-gray-13, #e6e6e6))}:host(:first-child) .radio-tile label[for]{border-radius:var(--tct-radio-group-tile-border-radius, var(--app-border-radius-2, 8px)) 0 0 var(--tct-radio-group-tile-border-radius, var(--app-border-radius-2, 8px))}:host(:last-child) .radio-tile label[for]{border-radius:0 var(--tct-radio-group-tile-border-radius, var(--app-border-radius-2, 8px)) var(--tct-radio-group-tile-border-radius, var(--app-border-radius-2, 8px)) 0}:host(:only-child) .radio-tile label[for]{border-radius:var(--tct-radio-group-tile-border-radius, var(--app-border-radius-2, 8px))}input:disabled+label[for]{cursor:not-allowed;opacity:var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))}';
|
|
136
121
|
|
|
137
|
-
export {
|
|
122
|
+
export { n as q2_radio }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as t, h as e, F as i, g as s } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { d as
|
|
3
|
+
import { d as n } from "./index-O1A-ZSZs.js";
|
|
4
4
|
|
|
5
|
-
import { l as
|
|
5
|
+
import { l as a } from "./index-CP8pXJ-l.js";
|
|
6
6
|
|
|
7
7
|
const o = class {
|
|
8
8
|
constructor(e) {
|
|
@@ -63,16 +63,16 @@ const o = class {
|
|
|
63
63
|
// #endregion
|
|
64
64
|
// #region Watchers
|
|
65
65
|
updateMessage() {
|
|
66
|
-
const {isValidDate: t, isBaseDateProvided: e, isValidBaseDate: i, dateObject: s, baseDateObject: o, locale: r, handleNumeric: d, messageFormat: l, isValidUnit: h, unit:
|
|
67
|
-
if (!t || e && !i) return this.sync = !1, void (this.displayedMessage =
|
|
68
|
-
const m =
|
|
69
|
-
locale: r,
|
|
66
|
+
const {isValidDate: t, isBaseDateProvided: e, isValidBaseDate: i, dateObject: s, baseDateObject: o, locale: r, handleNumeric: d, messageFormat: l, isValidUnit: h, unit: c, trimSuffix: u} = this;
|
|
67
|
+
if (!t || e && !i) return this.sync = !1, void (this.displayedMessage = a("tecton.element.relativeTime.invalidDate"));
|
|
68
|
+
const m = n.intlFormatDistance(new Date(s), new Date(o), {
|
|
69
|
+
locale: r || document.documentElement.lang || "en-US",
|
|
70
70
|
localeMatcher: "best fit",
|
|
71
71
|
numeric: d,
|
|
72
72
|
style: l,
|
|
73
|
-
unit: h ?
|
|
73
|
+
unit: h ? c : null
|
|
74
74
|
});
|
|
75
|
-
this.displayedMessage =
|
|
75
|
+
this.displayedMessage = u ? this.trimMessage(m) : m;
|
|
76
76
|
}
|
|
77
77
|
syncUpdated() {
|
|
78
78
|
this.sync ? this.syncTimer = window.setInterval((() => {
|
|
@@ -96,12 +96,12 @@ const o = class {
|
|
|
96
96
|
return void 0 !== this.baseDate;
|
|
97
97
|
}
|
|
98
98
|
get isValidBaseDate() {
|
|
99
|
-
const t = new Date(this.baseDate), e =
|
|
99
|
+
const t = new Date(this.baseDate), e = n.isValid(t);
|
|
100
100
|
return !e && this.isBaseDateProvided && console.warn("Error: Invalid baseDate provided to q2-relative-time."),
|
|
101
101
|
e;
|
|
102
102
|
}
|
|
103
103
|
get isValidDate() {
|
|
104
|
-
const t = new Date(this.date), e =
|
|
104
|
+
const t = new Date(this.date), e = n.isValid(t);
|
|
105
105
|
return e || console.warn("Error: Invalid date provided to q2-relative-time."), e;
|
|
106
106
|
}
|
|
107
107
|
get isValidUnit() {
|
|
@@ -118,7 +118,7 @@ const o = class {
|
|
|
118
118
|
render() {
|
|
119
119
|
const {shouldShow: t, displayedMessage: s} = this;
|
|
120
120
|
return e(i, {
|
|
121
|
-
key: "
|
|
121
|
+
key: "c6d24ac6d794284c3f0ea654f1999ff6e201f8b1"
|
|
122
122
|
}, t ? e("time", {
|
|
123
123
|
dateTime: s
|
|
124
124
|
}, s) : null);
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { r as t, c as i, h as e, g as n } from "./index-Cqkz7Bnm.js";
|
|
2
|
+
|
|
3
|
+
const o = class {
|
|
4
|
+
constructor(e) {
|
|
5
|
+
t(this, e), this.tctResize = i(this, "tctResize", 7), this.observedElements = [],
|
|
6
|
+
// #endregion
|
|
7
|
+
// #region Local Methods
|
|
8
|
+
this.handleSlotChange = () => {
|
|
9
|
+
this.disabled || this.startObserver();
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
// #endregion
|
|
13
|
+
// #region Component Lifecycle Events
|
|
14
|
+
disconnectedCallback() {
|
|
15
|
+
this.stopObserver(), this.resizeObserver = null;
|
|
16
|
+
}
|
|
17
|
+
componentDidLoad() {
|
|
18
|
+
"undefined" != typeof ResizeObserver ? this.resizeObserver = new ResizeObserver((t => {
|
|
19
|
+
this.tctResize.emit({
|
|
20
|
+
entries: t
|
|
21
|
+
}), this.currentResizeObserverEntries = t;
|
|
22
|
+
})) : console.warn("ResizeObserver is not defined."), this.disabled || this.startObserver();
|
|
23
|
+
}
|
|
24
|
+
// #endregion
|
|
25
|
+
// #region Public Methods API
|
|
26
|
+
/**
|
|
27
|
+
* Returns the latest entries reported by the component.
|
|
28
|
+
*/
|
|
29
|
+
async getCurrentResizeEntries() {
|
|
30
|
+
return this.currentResizeObserverEntries || [];
|
|
31
|
+
}
|
|
32
|
+
// #endregion
|
|
33
|
+
// #region Watchers
|
|
34
|
+
disabledUpdated(t) {
|
|
35
|
+
t ? this.stopObserver() : this.startObserver();
|
|
36
|
+
}
|
|
37
|
+
startObserver() {
|
|
38
|
+
var t, i, e;
|
|
39
|
+
const n = this.hostElement.shadowRoot.querySelector("slot");
|
|
40
|
+
if (null === n) return;
|
|
41
|
+
const o = null !== (i = null === (t = n.assignedElements) || void 0 === t ? void 0 : t.call(n, {
|
|
42
|
+
flatten: !0
|
|
43
|
+
})) && void 0 !== i ? i : [];
|
|
44
|
+
// Unwatch previous elements
|
|
45
|
+
null === (e = this.observedElements) || void 0 === e || e.forEach((t => {
|
|
46
|
+
var i;
|
|
47
|
+
return null === (i = this.resizeObserver) || void 0 === i ? void 0 : i.unobserve(t);
|
|
48
|
+
})), this.observedElements = [],
|
|
49
|
+
// Watch new elements
|
|
50
|
+
o.forEach((t => {
|
|
51
|
+
var i;
|
|
52
|
+
null === (i = this.resizeObserver) || void 0 === i || i.observe(t), this.observedElements.push(t);
|
|
53
|
+
}));
|
|
54
|
+
}
|
|
55
|
+
stopObserver() {
|
|
56
|
+
var t;
|
|
57
|
+
null === (t = this.resizeObserver) || void 0 === t || t.disconnect();
|
|
58
|
+
}
|
|
59
|
+
// #endregion
|
|
60
|
+
// #region Render Methods
|
|
61
|
+
render() {
|
|
62
|
+
return e("slot", {
|
|
63
|
+
key: "cd3c22934ee46501f6ab1dc317ab702ba97150f3",
|
|
64
|
+
onSlotchange: this.handleSlotChange
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
get hostElement() {
|
|
68
|
+
return n(this);
|
|
69
|
+
}
|
|
70
|
+
static get watchers() {
|
|
71
|
+
return {
|
|
72
|
+
disabled: [ {
|
|
73
|
+
disabledUpdated: 0
|
|
74
|
+
} ]
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
o.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(:not([hidden])){display:block;width:100%}';
|
|
80
|
+
|
|
81
|
+
export { o as q2_resize_observer }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as i, h as e, F as s, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { o as n, i as r, w as l, l as a } from "./index-
|
|
3
|
+
import { o as n, i as r, w as l, l as a } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const h = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -30,7 +30,7 @@ const h = class {
|
|
|
30
30
|
/**
|
|
31
31
|
* Hides the field's `<label>` element from view.
|
|
32
32
|
* @warning
|
|
33
|
-
*
|
|
33
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
34
34
|
*/
|
|
35
35
|
this.hideLabel = !1,
|
|
36
36
|
/**
|
|
@@ -601,20 +601,20 @@ const h = class {
|
|
|
601
601
|
}
|
|
602
602
|
render() {
|
|
603
603
|
return e(s, {
|
|
604
|
-
key: "
|
|
604
|
+
key: "282a0d7a6fc3199a2ae52a9a6f1c3ace8b58c00d"
|
|
605
605
|
}, e("div", {
|
|
606
|
-
key: "
|
|
606
|
+
key: "b45c3a05cfb004bf7dfbf266af0e983c9740f7e6",
|
|
607
607
|
"aria-live": "polite",
|
|
608
608
|
"aria-atomic": "true",
|
|
609
609
|
role: "status",
|
|
610
610
|
class: "sr"
|
|
611
611
|
}, this.statusMessage), e("click-elsewhere", {
|
|
612
|
-
key: "
|
|
612
|
+
key: "603d6b423bd6e2a6f3b90b85f13e744d157c7c61",
|
|
613
613
|
class: this.wrapperClasses,
|
|
614
614
|
role: "presentation",
|
|
615
615
|
onChange: this.onClickElsewhere
|
|
616
616
|
}, e("q2-input", {
|
|
617
|
-
key: "
|
|
617
|
+
key: "267c12c340e038bb5d10133d59955b4067699fbf",
|
|
618
618
|
ref: t => this.inputField = t,
|
|
619
619
|
class: "q2-search-input",
|
|
620
620
|
label: this.label && a(this.label) || "",
|
|
@@ -666,6 +666,6 @@ const h = class {
|
|
|
666
666
|
}
|
|
667
667
|
};
|
|
668
668
|
|
|
669
|
-
h.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}}}.q2-element-dropdown{display:none;position:absolute;background-color:var(--app-white, #ffffff);color:var(--t-text, #4d4d4d);left:0;width:100%;z-index:100;margin-top:1px;box-shadow:var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14));height:0;overflow:hidden;opacity:0;visibility:hidden;transition:opacity var(--app-tween-1, 0.2s ease);border-radius:var(--tct-dropdown-border-radius, --t-dropdown-border-radius, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}.q2-element-dropdown::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.q2-element-dropdown::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.q2-element-dropdown::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}.q2-element-dropdown.sizable{display:block;height:auto}.dropdown-open .q2-element-dropdown{display:block;height:auto;overflow:auto;opacity:1;visibility:visible}:host([alignment=right]) .q2-element-dropdown{left:auto;right:0}:host([block]) q2-btn,:host([block]){display:block}:host{display:block;margin:var(--tct-search-margin, var(--tct-search-margin-top, var(--app-scale-5x, 25px)) 0 var(--tct-search-margin-bottom, var(--app-scale-5x, 25px)))}::slotted([slot=_selected-display]){width:100%;min-height:var(--comp-selected-display-height, 44px)}.q2-search-container{display:block;position:relative}.q2-search-input{margin:0;--tct-input-min-height:var(--tct-search-input-min-height, initial);--tct-input-max-height:var(--tct-search-input-max-height, none);--tct-input-horizontal-gap:var(--tct-search-input-horizontal-gap, var(--app-scale-2x, 10px));--tct-input-icon-container-icon-min-width:var(--tct-search-icon-min-width, fit-content)}.popover-content{display:flex;flex-direction:column}.popover-content[data-loading=true]{min-height:var(--tct-search-loading-popover-height, var(--app-scale-12x, 60px));position:relative}.popover-content[data-loading=true] .loading-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.popover-content[data-loading=true] .loading-overlay q2-loading{--tct-loading-spinner-size:var(--tct-search-loading-spinner-size, var(--app-scale-8x, 40px));width:1em;height:1em}.popover-top-container[hidden],.popover-bottom-container[hidden]{display:none}.popover-top-container{position:sticky;top:0;z-index:5}.popover-top-container .multi-select-header{padding:var(--tct-search-multi-select-header-padding, var(--app-scale-2x, 10px));background:var(--tct-search-multi-select-header-background, var(--t-base, #ffffff));display:flex;gap:var(--app-scale-2x, 10px);align-items:center}.popover-top-container .multi-select-header fieldset{margin:0;padding:0;border:0;display:flex;gap:var(--app-scale-2x, 10px)}.popover-top-container .multi-select-header legend{padding:0;float:left}.popover-top-container .multi-select-header label{cursor:pointer;padding:var(--tct-search-multi-select-option-padding, 2px 5px);font-size:var(--tct-search-multi-select-option-font-size, inherit);border-radius:var(--tct-search-multi-select-option-border-radius, var(--app-border-radius-1, 4px));background:var(--tct-search-multi-select-option-background, transparent);color:var(--tct-search-multi-select-option-font-color, inherit)}.popover-top-container .multi-select-header label:hover{background:var(--tct-search-multi-select-option-hover-background, var(--t-gray-14, #f2f2f2));color:var(--tct-search-multi-select-option-hover-font-color, var(--t-gray-5, #404040))}.popover-top-container .multi-select-header input:checked+label,.popover-top-container .multi-select-header input:checked+label:enabled:hover{background:var(--tct-search-multi-select-option-active-background, var(--t-gray-4, #333333));color:var(--tct-search-multi-select-option-active-font-color, var(--t-base, #ffffff))}.popover-top-container .multi-select-header input:disabled+label{opacity:var(--tct-search-multi-select-option-disabled-opacity, var(--app-disabled-opacity, 0.4));cursor:not-allowed}.popover-top-container .multi-select-header input:focus-visible+label{box-shadow:var(--const-double-focus-ring)}.no-results{padding:var(--tct-search-no-results-padding, var(--app-scale-3x, 15px));color:var(--tct-search-no-results-font-color, var(--t-textA, rgba(77, 77, 77, 0.77)));text-align:center}';
|
|
669
|
+
h.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}}}.q2-element-dropdown{display:none;position:absolute;background-color:var(--app-white, #ffffff);color:var(--t-text, #4d4d4d);left:0;width:100%;z-index:100;margin-top:1px;box-shadow:var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14));height:0;overflow:hidden;opacity:0;visibility:hidden;transition:opacity var(--app-tween-1, 0.2s ease);border-radius:var(--tct-dropdown-border-radius, --t-dropdown-border-radius, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}.q2-element-dropdown::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.q2-element-dropdown::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.q2-element-dropdown::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}.q2-element-dropdown.sizable{display:block;height:auto}.dropdown-open .q2-element-dropdown{display:block;height:auto;overflow:auto;opacity:1;visibility:visible}:host([alignment=right]) .q2-element-dropdown{left:auto;right:0}:host([block]) q2-btn,:host([block]){display:block}:host{display:block;margin:var(--tct-search-margin, var(--tct-search-margin-top, var(--app-scale-5x, 25px)) 0 var(--tct-search-margin-bottom, var(--app-scale-5x, 25px)))}::slotted([slot=_selected-display]){width:100%;min-height:var(--comp-selected-display-height, 44px)}.q2-search-container{display:block;position:relative}.q2-search-input{--tct-input-icon-size:var(--tct-search-icon-size, var(--const-px-18, 18px));margin:0;--tct-input-min-height:var(--tct-search-input-min-height, initial);--tct-input-max-height:var(--tct-search-input-max-height, none);--tct-input-horizontal-gap:var(--tct-search-input-horizontal-gap, var(--app-scale-2x, 10px));--tct-input-icon-container-icon-min-width:var(--tct-search-icon-min-width, fit-content)}.popover-content{display:flex;flex-direction:column}.popover-content[data-loading=true]{min-height:var(--tct-search-loading-popover-height, var(--app-scale-12x, 60px));position:relative}.popover-content[data-loading=true] .loading-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.popover-content[data-loading=true] .loading-overlay q2-loading{--tct-loading-spinner-size:var(--tct-search-loading-spinner-size, var(--app-scale-8x, 40px));width:1em;height:1em}.popover-top-container[hidden],.popover-bottom-container[hidden]{display:none}.popover-top-container{position:sticky;top:0;z-index:5}.popover-top-container .multi-select-header{padding:var(--tct-search-multi-select-header-padding, var(--app-scale-2x, 10px));background:var(--tct-search-multi-select-header-background, var(--t-base, #ffffff));display:flex;gap:var(--app-scale-2x, 10px);align-items:center}.popover-top-container .multi-select-header fieldset{margin:0;padding:0;border:0;display:flex;gap:var(--app-scale-2x, 10px)}.popover-top-container .multi-select-header legend{padding:0;float:left}.popover-top-container .multi-select-header label{cursor:pointer;padding:var(--tct-search-multi-select-option-padding, 2px 5px);font-size:var(--tct-search-multi-select-option-font-size, inherit);border-radius:var(--tct-search-multi-select-option-border-radius, var(--app-border-radius-1, 4px));background:var(--tct-search-multi-select-option-background, transparent);color:var(--tct-search-multi-select-option-font-color, inherit)}.popover-top-container .multi-select-header label:hover{background:var(--tct-search-multi-select-option-hover-background, var(--t-gray-14, #f2f2f2));color:var(--tct-search-multi-select-option-hover-font-color, var(--t-gray-5, #404040))}.popover-top-container .multi-select-header input:checked+label,.popover-top-container .multi-select-header input:checked+label:enabled:hover{background:var(--tct-search-multi-select-option-active-background, var(--t-gray-4, #333333));color:var(--tct-search-multi-select-option-active-font-color, var(--t-base, #ffffff))}.popover-top-container .multi-select-header input:disabled+label{opacity:var(--tct-search-multi-select-option-disabled-opacity, var(--app-disabled-opacity, 0.4));cursor:not-allowed}.popover-top-container .multi-select-header input:focus-visible+label{box-shadow:var(--const-double-focus-ring)}.no-results{padding:var(--tct-search-no-results-padding, var(--app-scale-3x, 15px));color:var(--tct-search-no-results-font-color, var(--t-textA, rgba(77, 77, 77, 0.77)));text-align:center}';
|
|
670
670
|
|
|
671
671
|
export { h as q2_search }
|