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,6 +1,6 @@
|
|
|
1
|
-
import { proxyCustomElement as t, HTMLElement as o, createEvent as
|
|
1
|
+
import { proxyCustomElement as t, HTMLElement as o, createEvent as a, h as i, transformTag as r } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { g as e, w as s, b as n } from "./index2.js";
|
|
4
4
|
|
|
5
5
|
import { s as c } from "./sanitize-html-string.js";
|
|
6
6
|
|
|
@@ -16,8 +16,9 @@ import { d as m } from "./q2-resize-observer2.js";
|
|
|
16
16
|
|
|
17
17
|
const b = t(class extends o {
|
|
18
18
|
constructor(t) {
|
|
19
|
-
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.
|
|
20
|
-
this.
|
|
19
|
+
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.tctBackdropClick = a(this, "tctBackdropClick", 7),
|
|
20
|
+
this.tctClick = a(this, "tctClick", 7), this.tctClose = a(this, "tctClose", 7),
|
|
21
|
+
this.tctOpen = a(this, "tctOpen", 7), this.tctReady = a(this, "tctReady", 3),
|
|
21
22
|
// #region Own Properties
|
|
22
23
|
// to prevent background scroll when modal scrolls
|
|
23
24
|
this.bodyOverflow = "", this.scheduledAfterRender = [],
|
|
@@ -27,11 +28,16 @@ const b = t(class extends o {
|
|
|
27
28
|
// #endregion
|
|
28
29
|
// #region Public Property API
|
|
29
30
|
/**
|
|
30
|
-
* Controls visibility of the close button
|
|
31
|
+
* Controls visibility of the close button and whether the modal can be dismissed with the backdrop or Escape key.
|
|
31
32
|
*/
|
|
32
33
|
this.closable = !0,
|
|
34
|
+
/**
|
|
35
|
+
* Whether the action buttons should take up the full width of the modal footer.
|
|
36
|
+
*/
|
|
37
|
+
this.fullWidthButton = !0,
|
|
33
38
|
// #endregion
|
|
34
39
|
// #region Local Methods
|
|
40
|
+
this.hasDialogTransition = () => (getComputedStyle(this.dialogElement).transitionDuration || "0s").split(",").some((t => parseFloat(t) > 0)),
|
|
35
41
|
this.initializeModal = () => {
|
|
36
42
|
// limits 4 buttons in action slot
|
|
37
43
|
this.hostElement.querySelectorAll('[slot="action"]').forEach(((t, o) => {
|
|
@@ -41,125 +47,136 @@ const b = t(class extends o {
|
|
|
41
47
|
top: 0
|
|
42
48
|
}), this.debouncedScroll();
|
|
43
49
|
}, this.onCancel = t => {
|
|
44
|
-
t.preventDefault(), this.closeModal();
|
|
50
|
+
t.preventDefault(), this.closable && this.closeModal();
|
|
45
51
|
}, this.onClick = t => {
|
|
46
52
|
t.stopPropagation();
|
|
47
|
-
const
|
|
48
|
-
if (!(
|
|
49
|
-
if ("action" ===
|
|
50
|
-
value:
|
|
51
|
-
}), this.
|
|
52
|
-
if (!!
|
|
53
|
+
const a = t.target;
|
|
54
|
+
if (!(a instanceof o)) return;
|
|
55
|
+
if ("action" === a.getAttribute("slot")) this.tctClick.emit({
|
|
56
|
+
value: a.dataset.value
|
|
57
|
+
}), t.preventDefault(), this.closeModal(); else {
|
|
58
|
+
if (!!a.closest(".interior , q2-modal")) return;
|
|
59
|
+
if (this.tctBackdropClick.emit(), !this.closable) return;
|
|
53
60
|
this.onCancel(t);
|
|
54
61
|
}
|
|
55
62
|
}, this.onContentScroll = () => {
|
|
56
63
|
var t;
|
|
57
|
-
const o = this.contentElement.scrollHeight,
|
|
64
|
+
const o = this.contentElement.scrollHeight, a = Math.ceil(this.contentElement.scrollTop), i = Math.ceil((null === (t = this.contentElement.getBoundingClientRect()) || void 0 === t ? void 0 : t.height) || 0);
|
|
58
65
|
// to show bottom gradient when more contents available
|
|
59
|
-
o >
|
|
66
|
+
o > i ? o <= i + a ? this.contentElement.classList.remove("more-gradient") : this.contentElement.classList.add("more-gradient") : this.contentElement.classList.remove("more-gradient");
|
|
60
67
|
};
|
|
61
68
|
}
|
|
62
69
|
// #endregion
|
|
63
70
|
// #region Component Lifecycle Events
|
|
64
71
|
disconnectedCallback() {
|
|
65
72
|
var t;
|
|
66
|
-
|
|
73
|
+
null === (t = this.contentElement) || void 0 === t || t.removeEventListener("scroll", this.debouncedScroll);
|
|
67
74
|
}
|
|
68
75
|
componentDidLoad() {
|
|
69
|
-
this.
|
|
70
|
-
this.bodyOverflow = document.body.style.overflow, this.debouncedScroll = r(this.onContentScroll, 100),
|
|
76
|
+
this.tctReady.emit(), this.bodyOverflow = document.body.style.overflow, this.debouncedScroll = e(this.onContentScroll, 100),
|
|
71
77
|
this.contentElement.addEventListener("scroll", this.debouncedScroll);
|
|
72
78
|
}
|
|
73
79
|
componentDidRender() {
|
|
74
|
-
var t;
|
|
75
|
-
null === (t = this.
|
|
80
|
+
var t, o;
|
|
81
|
+
null === (t = this.dialogElement) || void 0 === t || t.setAttribute("closedby", this.closable ? "closerequest" : "none"),
|
|
82
|
+
null === (o = this.scheduledAfterRender) || void 0 === o || o.forEach((t => t())),
|
|
76
83
|
this.scheduledAfterRender = [];
|
|
77
84
|
}
|
|
78
85
|
// #endregion
|
|
79
86
|
// #region Public Methods API
|
|
80
87
|
async closeModal(t) {
|
|
81
|
-
|
|
82
|
-
this.dialogElement.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
var o;
|
|
89
|
+
if (!(null === (o = this.dialogElement) || void 0 === o ? void 0 : o.open)) return;
|
|
90
|
+
const a = "is-open" === this.renderStatus && this.hasDialogTransition();
|
|
91
|
+
document.body.style.overflow = this.bodyOverflow;
|
|
92
|
+
const completeClose = () => {
|
|
93
|
+
"is-closing" === this.renderStatus && (this.dialogElement.removeEventListener("transitionend", onTransitionComplete),
|
|
94
|
+
this.dialogElement.removeEventListener("transitioncancel", onTransitionComplete),
|
|
95
|
+
this.dialogElement.close(), this.renderStatus = null, this.tctClose.emit(t));
|
|
96
|
+
}, onTransitionComplete = t => {
|
|
97
|
+
t.target === this.dialogElement && "transform" === t.propertyName && completeClose();
|
|
98
|
+
};
|
|
99
|
+
a && (this.dialogElement.addEventListener("transitionend", onTransitionComplete),
|
|
100
|
+
this.dialogElement.addEventListener("transitioncancel", onTransitionComplete)),
|
|
101
|
+
this.renderStatus = "is-closing", a || completeClose();
|
|
87
102
|
}
|
|
88
103
|
async openModal(t) {
|
|
89
104
|
var o;
|
|
90
|
-
(null === (o = this.dialogElement) || void 0 === o ? void 0 : o.open)
|
|
91
|
-
await s(),
|
|
105
|
+
if (null === (o = this.dialogElement) || void 0 === o ? void 0 : o.open) return;
|
|
106
|
+
if (this.tctOpen.emit(t), await s(),
|
|
92
107
|
// overwrite the properties if option provided
|
|
93
108
|
t && (this.title = (null == t ? void 0 : t.title) || this.title, this.description = (null == t ? void 0 : t.description) || this.description,
|
|
94
109
|
this.imageSrc = (null == t ? void 0 : t.imageSrc) || this.imageSrc, this.icon = (null == t ? void 0 : t.icon) || this.icon,
|
|
95
110
|
this.description = (null == t ? void 0 : t.description) || this.description), this.dialogElement.showModal(),
|
|
96
111
|
this.dialogElement.open = !0, document.body.style.overflow = "hidden", this.initializeModal(),
|
|
97
|
-
this.renderStatus = "is-opening", this.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
112
|
+
this.renderStatus = "is-opening", !this.hasDialogTransition()) return void (this.renderStatus = "is-open");
|
|
113
|
+
const completeOpen = t => {
|
|
114
|
+
t.target === this.dialogElement && "transform" === t.propertyName && (this.dialogElement.removeEventListener("transitionend", completeOpen),
|
|
115
|
+
this.dialogElement.removeEventListener("transitioncancel", completeOpen), "is-opening" === this.renderStatus && (this.renderStatus = "is-open"));
|
|
116
|
+
};
|
|
117
|
+
this.dialogElement.addEventListener("transitionend", completeOpen), this.dialogElement.addEventListener("transitioncancel", completeOpen);
|
|
102
118
|
}
|
|
103
119
|
// #endregion
|
|
104
120
|
// #region Render Methods
|
|
105
121
|
render() {
|
|
106
122
|
const t = "" + (this.renderStatus || "");
|
|
107
|
-
return
|
|
108
|
-
key: "
|
|
123
|
+
return i("dialog", {
|
|
124
|
+
key: "67c724b2e94aa823893cc3477ffa364bc07f3c91",
|
|
109
125
|
ref: t => this.dialogElement = t,
|
|
110
126
|
class: t,
|
|
127
|
+
onCancel: this.onCancel,
|
|
111
128
|
onClick: this.onClick
|
|
112
|
-
},
|
|
113
|
-
key: "
|
|
129
|
+
}, i("div", {
|
|
130
|
+
key: "67b97fe323985b56db793d1cf939192bbfbd424e",
|
|
114
131
|
class: "interior"
|
|
115
|
-
}, this.title &&
|
|
116
|
-
key: "
|
|
117
|
-
}, this.title &&
|
|
118
|
-
key: "
|
|
132
|
+
}, this.title && i("header", {
|
|
133
|
+
key: "ec0c82831007887e2baeddc50f2b8c0ec24b0d97"
|
|
134
|
+
}, this.title && i("h2", {
|
|
135
|
+
key: "10bbd7f9216ce221616acc4c77984aca582eba10",
|
|
119
136
|
class: "title"
|
|
120
|
-
}, this.title), !!this.closable &&
|
|
121
|
-
key: "
|
|
137
|
+
}, this.title), !!this.closable && i("q2-btn", {
|
|
138
|
+
key: "8f801bf013c9015c3ae50543067393b26941d3d4",
|
|
122
139
|
class: "btn-close",
|
|
123
140
|
"test-id": "btnClose",
|
|
124
141
|
onClick: this.onCancel,
|
|
125
142
|
label: "tecton.element.modal.close",
|
|
126
143
|
"hide-label": !0
|
|
127
|
-
},
|
|
128
|
-
key: "
|
|
144
|
+
}, i("q2-icon", {
|
|
145
|
+
key: "b546a86894aa6b5dd3576a33eadfa63e21a13590",
|
|
129
146
|
type: "close"
|
|
130
|
-
}))),
|
|
131
|
-
key: "
|
|
147
|
+
}))), i("div", {
|
|
148
|
+
key: "cdc674c3cee4bca6bda0c60ca2c9f08f83ab4440",
|
|
132
149
|
class: "content",
|
|
133
150
|
ref: t => this.contentElement = t
|
|
134
|
-
}, this.icon &&
|
|
135
|
-
key: "
|
|
151
|
+
}, this.icon && i("div", {
|
|
152
|
+
key: "8b8ffc983cecd2ddf1f912db7f00a6ed198a6b16",
|
|
136
153
|
class: "icon"
|
|
137
|
-
},
|
|
138
|
-
key: "
|
|
154
|
+
}, i("q2-icon", {
|
|
155
|
+
key: "cb3430c9216268ed7e8eeea85a83168b2d72ceb1",
|
|
139
156
|
type: this.icon
|
|
140
|
-
})), this.imageSrc &&
|
|
141
|
-
key: "
|
|
157
|
+
})), this.imageSrc && i("div", {
|
|
158
|
+
key: "eab34ebad157a6c81a0e24bc726505e3541eac05",
|
|
142
159
|
class: "image"
|
|
143
|
-
},
|
|
144
|
-
key: "
|
|
160
|
+
}, i("img", {
|
|
161
|
+
key: "cdf8e7a1c381a099d811241a410998e16405bda4",
|
|
145
162
|
src: this.imageSrc
|
|
146
|
-
})), n(this.hostElement, "content") &&
|
|
147
|
-
key: "
|
|
163
|
+
})), n(this.hostElement, "content") && i("slot", {
|
|
164
|
+
key: "2674f81de64e3d6069e043f4c0a0db39d70f466a",
|
|
148
165
|
name: "content"
|
|
149
|
-
}), this.description &&
|
|
150
|
-
key: "
|
|
166
|
+
}), this.description && i("p", {
|
|
167
|
+
key: "8dc2a0b031812a6e65012df8d78e5ff3373c117e",
|
|
151
168
|
class: "description"
|
|
152
|
-
}, this.description), this.customMarkup &&
|
|
153
|
-
key: "
|
|
169
|
+
}, this.description), this.customMarkup && i("p", {
|
|
170
|
+
key: "218d120d1109cff6a1aa79e5b76befbca0ca5857",
|
|
154
171
|
class: "customMarkup",
|
|
155
172
|
innerHTML: c(this.customMarkup)
|
|
156
|
-
})),
|
|
157
|
-
key: "
|
|
158
|
-
},
|
|
159
|
-
key: "
|
|
160
|
-
"full-width":
|
|
161
|
-
},
|
|
162
|
-
key: "
|
|
173
|
+
})), i("footer", {
|
|
174
|
+
key: "ffc5c49fbaabde579fda002a25ac893e798c07de"
|
|
175
|
+
}, i("q2-action-group", {
|
|
176
|
+
key: "295cde61c6e9851aab36f3903f892a5775aca76c",
|
|
177
|
+
"full-width": this.fullWidthButton
|
|
178
|
+
}, i("slot", {
|
|
179
|
+
key: "e8ece0f36c2647515d82e3cd21b9c36faf731fd2",
|
|
163
180
|
name: "action"
|
|
164
181
|
})))));
|
|
165
182
|
}
|
|
@@ -167,12 +184,13 @@ const b = t(class extends o {
|
|
|
167
184
|
return this;
|
|
168
185
|
}
|
|
169
186
|
static get style() {
|
|
170
|
-
return '*{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}}}@keyframes showBackdrop{from{opacity:0}}@keyframes hideBackdrop{to{opacity:0}}dialog{--comp-border-radius-default:var(--app-scale-3x, 15px);--comp-border-radius:var(--tct-modal-border-radius, var(--comp-border-radius-default));--comp-desktop-border-radius:var(--tct-modal-border-radius, var(--app-scale-3x, 15px));--comp-close-button-size:var(--tct-modal-close-button-size, var(--t-a11y-min-size, 44px));--comp-header-height:var(--tct-modal-header-height, var(--t-a11y-min-size, 44px));--comp-dialog-background:var(--tct-modal-background, var(--t-base, #ffffff));--comp-dialog-color:var(--tct-modal-color, inherit);--comp-dialog-padding:var(--tct-modal-padding, var(--app-scale-3x, 15px));--comp-content-gradient-height:var(--tct-modal-content-gradient-height, var(--app-scale-2x, 10px));--comp-dialog-gap:var(--tct-modal-gap, var(--app-scale-2x, 10px));--comp-dialog-max-width:var(--tct-modal-max-width, 600px);--comp-dialog-max-height:var(--tct-modal-max-height, 100vh);--comp-dialog-min-height:var(--tct-modal-min-height,
|
|
187
|
+
return '*{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}}}@keyframes showBackdrop{from{opacity:0}}@keyframes hideBackdrop{to{opacity:0}}dialog{--comp-border-radius-default:var(--app-scale-3x, 15px);--comp-border-radius:var(--tct-modal-border-radius, var(--comp-border-radius-default));--comp-desktop-border-radius:var(--tct-modal-border-radius, var(--app-scale-3x, 15px));--comp-close-button-size:var(--tct-modal-close-button-size, var(--t-a11y-min-size, 44px));--comp-header-height:var(--tct-modal-header-height, var(--t-a11y-min-size, 44px));--comp-dialog-background:var(--tct-modal-background, var(--t-base, #ffffff));--comp-dialog-color:var(--tct-modal-color, inherit);--comp-dialog-padding:var(--tct-modal-padding, var(--app-scale-3x, 15px));--comp-content-gradient-height:var(--tct-modal-content-gradient-height, var(--app-scale-2x, 10px));--comp-dialog-gap:var(--tct-modal-gap, var(--app-scale-2x, 10px));--comp-dialog-max-width:var(--tct-modal-max-width, 600px);--comp-dialog-max-height:var(--tct-modal-max-height, 100vh);--comp-dialog-min-height:var(--tct-modal-min-height, inherit);--comp-dialog-box-shadow:var(--tct-modal-box-shadow, var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14)));position:fixed;top:100%;bottom:unset;color:var(--comp-dialog-color);background:var(--comp-dialog-background);transition:transform var(--tct-modal-tween, var(--app-tween-2, 0.4s ease)), opacity var(--tct-modal-tween, var(--app-tween-2, 0.4s ease));width:100%;max-width:var(--comp-dialog-max-width);max-height:var(--comp-dialog-max-height);border:0;border-radius:var(--comp-border-radius);box-shadow:var(--comp-dialog-box-shadow);padding:0;height:auto;overflow:hidden}dialog::backdrop{opacity:0;background:var(--tct-modal-backdrop-background, var(--t-top-a2, rgba(13, 13, 13, 0.6)))}dialog[open]{border-radius:var(--comp-desktop-border-radius);top:0px;bottom:0px;height:fit-content;transform:translateY(10%);opacity:1}dialog[open].is-opening,dialog[open].is-open{opacity:1;transform:translateY(0)}dialog[open].is-opening::backdrop,dialog[open].is-open::backdrop{opacity:1;animation:showBackdrop var(--tct-modal-tween, var(--app-tween-2, 0.4s ease))}dialog[open].is-closing{transform:translateY(10%)}dialog[open].is-closing::backdrop{animation:hideBackdrop var(--tct-modal-tween, var(--app-tween-2, 0.4s ease))}.content{overflow-y:auto;--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}.content::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.content::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.content::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}.content .icon{height:var(--tct-modal-icon-size, var(--app-scale-9x, 45px));margin:var(--tct-modal-icon-margin, var(--app-scale-2x, 10px));display:flex;justify-content:center}.content .icon q2-icon{width:var(--tct-modal-icon-size, var(--app-scale-9x, 45px))}.content .image{display:flex;justify-content:center}.content .image img{width:100%;border-radius:var(--tct-modal-image-border-radius, var(--app-border-radius-2, 8px))}.content .description{font-size:var(--tct-modal-description-font-size, var(--const-px-14, 14px))}.content.more-gradient{-webkit-mask-image:linear-gradient(to bottom, red 85%, transparent 100%);mask-image:linear-gradient(to bottom, red 85%, transparent 100%)}.interior{box-sizing:border-box;display:grid;min-height:var(--comp-dialog-min-height);grid-template-rows:auto minmax(0, 1fr) auto;gap:var(--comp-dialog-gap);max-height:min(var(--comp-dialog-max-height), 100vh - 2 * var(--comp-dialog-padding));padding:var(--comp-dialog-padding)}.interior.is-list header,.interior.is-list footer{position:relative}.interior.is-list header:before,.interior.is-list footer:before{content:"";display:block;position:absolute;left:0;height:var(--comp-content-gradient-height);width:100%;z-index:1}header{display:flex;justify-content:space-between;align-items:center}header .title{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;text-align:left;font-weight:var(--tct-modal-title-font-weight, 400);margin:0}header .btn-close{grid-area:close;width:var(--comp-close-button-size);height:var(--comp-close-button-size)}footer{--tct-action-group-margin:var(--app-scale-2x, 10px) 0 0;align-self:end}@media screen and (max-height: 400px){.content{-webkit-mask-image:none;mask-image:none;overflow-y:visible}.interior{grid-template-rows:auto auto auto;overflow-y:auto;--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}.interior::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.interior::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.interior::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}}';
|
|
171
188
|
}
|
|
172
189
|
}, [ 257, "q2-modal", {
|
|
173
190
|
closable: [ 516 ],
|
|
174
191
|
customMarkup: [ 1, "custom-markup" ],
|
|
175
192
|
description: [ 1 ],
|
|
193
|
+
fullWidthButton: [ 516, "full-width-button" ],
|
|
176
194
|
icon: [ 1 ],
|
|
177
195
|
imageSrc: [ 513, "image-src" ],
|
|
178
196
|
title: [ 1537 ],
|
|
@@ -182,34 +200,34 @@ const b = t(class extends o {
|
|
|
182
200
|
openModal: [ 64 ]
|
|
183
201
|
} ]);
|
|
184
202
|
|
|
185
|
-
const
|
|
203
|
+
const g = b, defineCustomElement = function() {
|
|
186
204
|
if ("undefined" == typeof customElements) return;
|
|
187
205
|
[ "q2-modal", "q2-action-group", "q2-btn", "q2-icon", "q2-loading", "q2-resize-observer" ].forEach((t => {
|
|
188
206
|
switch (t) {
|
|
189
207
|
case "q2-modal":
|
|
190
|
-
customElements.get(
|
|
208
|
+
customElements.get(r(t)) || customElements.define(r(t), b);
|
|
191
209
|
break;
|
|
192
210
|
|
|
193
211
|
case "q2-action-group":
|
|
194
|
-
customElements.get(
|
|
212
|
+
customElements.get(r(t)) || d();
|
|
195
213
|
break;
|
|
196
214
|
|
|
197
215
|
case "q2-btn":
|
|
198
|
-
customElements.get(
|
|
216
|
+
customElements.get(r(t)) || l();
|
|
199
217
|
break;
|
|
200
218
|
|
|
201
219
|
case "q2-icon":
|
|
202
|
-
customElements.get(
|
|
220
|
+
customElements.get(r(t)) || p();
|
|
203
221
|
break;
|
|
204
222
|
|
|
205
223
|
case "q2-loading":
|
|
206
|
-
customElements.get(
|
|
224
|
+
customElements.get(r(t)) || h();
|
|
207
225
|
break;
|
|
208
226
|
|
|
209
227
|
case "q2-resize-observer":
|
|
210
|
-
customElements.get(
|
|
228
|
+
customElements.get(r(t)) || m();
|
|
211
229
|
}
|
|
212
230
|
}));
|
|
213
231
|
};
|
|
214
232
|
|
|
215
|
-
export {
|
|
233
|
+
export { g as Q2Modal, defineCustomElement }
|
|
@@ -2,9 +2,9 @@ import { proxyCustomElement as t, HTMLElement as e, createEvent as n, h as o, tr
|
|
|
2
2
|
|
|
3
3
|
import { l as i, o as r } from "./index2.js";
|
|
4
4
|
|
|
5
|
-
import { d as
|
|
5
|
+
import { d as c } from "./q2-btn2.js";
|
|
6
6
|
|
|
7
|
-
import { d as
|
|
7
|
+
import { d as s } from "./q2-icon2.js";
|
|
8
8
|
|
|
9
9
|
import { d } from "./q2-loading2.js";
|
|
10
10
|
|
|
@@ -81,54 +81,54 @@ const l = t(class extends e {
|
|
|
81
81
|
// #region Render Methods
|
|
82
82
|
render() {
|
|
83
83
|
return o("div", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "6e90b90e7720649681c2e95debe81d823095ccd0",
|
|
85
85
|
class: "month-container",
|
|
86
86
|
onKeyDown: this.onMonthKeydown
|
|
87
87
|
}, o("div", {
|
|
88
|
-
key: "
|
|
88
|
+
key: "d1b83fce67fec3beacb73004a02d566f77a5729f",
|
|
89
89
|
class: "navigation"
|
|
90
90
|
}, o("q2-btn", {
|
|
91
|
-
key: "
|
|
91
|
+
key: "0772d6553ee3a75ca829755b3abc7d75ac0fa1aa",
|
|
92
92
|
class: "year-btn",
|
|
93
93
|
onClick: () => this.viewChange.emit({
|
|
94
94
|
view: "year",
|
|
95
95
|
selectedYear: this.year
|
|
96
96
|
})
|
|
97
97
|
}, o("span", {
|
|
98
|
-
key: "
|
|
98
|
+
key: "689e2643923973447a38063260943bfaf98f673c",
|
|
99
99
|
class: "year"
|
|
100
100
|
}, this.year), o("q2-icon", {
|
|
101
|
-
key: "
|
|
101
|
+
key: "590dcf2cf06e4980d70644b5be9e448cfe72abdc",
|
|
102
102
|
class: "year-icon off",
|
|
103
103
|
type: "chevron-down"
|
|
104
104
|
})), o("div", {
|
|
105
|
-
key: "
|
|
105
|
+
key: "3001ad6ece1c302809e27df855c921698b840c56",
|
|
106
106
|
class: "month-controller"
|
|
107
107
|
}, o("div", {
|
|
108
|
-
key: "
|
|
108
|
+
key: "23397576c55f2f5ad32c248459ce986d38f25e5d",
|
|
109
109
|
class: "cal-year-prev-next"
|
|
110
110
|
}, o("q2-btn", {
|
|
111
|
-
key: "
|
|
111
|
+
key: "8d38dd1bc2986e6c43b66c5cf3538adea921b259",
|
|
112
112
|
label: i("tecton.element.calendar.previousYear"),
|
|
113
113
|
"hide-label": !0,
|
|
114
114
|
class: "cal-nav-btn prev-year",
|
|
115
115
|
"test-id": "previousYearButton",
|
|
116
116
|
onClick: () => this.selectYear(this.year - 1)
|
|
117
117
|
}, o("q2-icon", {
|
|
118
|
-
key: "
|
|
118
|
+
key: "55f8e258f83c0209b76efb3798478409ee246133",
|
|
119
119
|
type: "arrow-left"
|
|
120
120
|
})), o("q2-btn", {
|
|
121
|
-
key: "
|
|
121
|
+
key: "578e4c4cd87cf3e25a09d55cb2c20ef0967d44bb",
|
|
122
122
|
label: i("tecton.element.calendar.nextYear"),
|
|
123
123
|
"hide-label": !0,
|
|
124
124
|
class: "cal-nav-btn next-year",
|
|
125
125
|
"test-id": "nextYearButton",
|
|
126
126
|
onClick: () => this.selectYear(this.year + 1)
|
|
127
127
|
}, o("q2-icon", {
|
|
128
|
-
key: "
|
|
128
|
+
key: "f2814f78597a04fca5617b3b59271d6c11221a5c",
|
|
129
129
|
type: "arrow-right"
|
|
130
130
|
}))))), o("div", {
|
|
131
|
-
key: "
|
|
131
|
+
key: "7843d1db40f82116c3f82f544ad045a1f7dabadb",
|
|
132
132
|
class: "month-list",
|
|
133
133
|
onClick: this.onMonthSelection
|
|
134
134
|
}, this.months.map(((t, e) => o("div", {
|
|
@@ -140,7 +140,7 @@ const l = t(class extends e {
|
|
|
140
140
|
"aria-label": t.label,
|
|
141
141
|
tabindex: e === this.focusedIndex ? 0 : -1
|
|
142
142
|
}, t.abbr))))), this.today && o("div", {
|
|
143
|
-
key: "
|
|
143
|
+
key: "71675483d7a2d770ad8f76b3540d47c10ebb0325",
|
|
144
144
|
class: "today-label"
|
|
145
145
|
}, i("tecton.element.calendar.today"), ": ", this.today));
|
|
146
146
|
}
|
|
@@ -168,11 +168,11 @@ const h = l, defineCustomElement = function() {
|
|
|
168
168
|
break;
|
|
169
169
|
|
|
170
170
|
case "q2-btn":
|
|
171
|
-
customElements.get(a(t)) ||
|
|
171
|
+
customElements.get(a(t)) || c();
|
|
172
172
|
break;
|
|
173
173
|
|
|
174
174
|
case "q2-icon":
|
|
175
|
-
customElements.get(a(t)) ||
|
|
175
|
+
customElements.get(a(t)) || s();
|
|
176
176
|
break;
|
|
177
177
|
|
|
178
178
|
case "q2-loading":
|
|
@@ -2,13 +2,13 @@ import { proxyCustomElement as t, HTMLElement as e, h as o, transformTag as r }
|
|
|
2
2
|
|
|
3
3
|
import { b as i } from "./component.js";
|
|
4
4
|
|
|
5
|
-
import { c as
|
|
5
|
+
import { c as a, l as n } from "./index2.js";
|
|
6
6
|
|
|
7
7
|
const s = t(class extends e {
|
|
8
8
|
constructor(t) {
|
|
9
9
|
super(), !1 !== t && this.__registerHost(), this.__attachShadow(),
|
|
10
10
|
// #region Own Properties
|
|
11
|
-
this.guid =
|
|
11
|
+
this.guid = a(),
|
|
12
12
|
// #endregion
|
|
13
13
|
// #region State Properties
|
|
14
14
|
this.hidden = !1,
|
|
@@ -55,20 +55,20 @@ const s = t(class extends e {
|
|
|
55
55
|
// #region Render Methods
|
|
56
56
|
render() {
|
|
57
57
|
return o("div", {
|
|
58
|
-
key: "
|
|
58
|
+
key: "829ae5ebec150734128c98343ddb8112de0ee21e",
|
|
59
59
|
class: "q2-optgroup-container",
|
|
60
60
|
hidden: this.hidden,
|
|
61
61
|
"aria-labelledby": this.headerId,
|
|
62
62
|
role: "group"
|
|
63
63
|
}, o("div", {
|
|
64
|
-
key: "
|
|
64
|
+
key: "6683155f922a2d15349f885aabac0bf9ee6a4575",
|
|
65
65
|
class: "q2-optgroup-header",
|
|
66
66
|
id: this.headerId
|
|
67
|
-
}, this.label &&
|
|
68
|
-
key: "
|
|
67
|
+
}, this.label && n(this.label) || ""), o("div", {
|
|
68
|
+
key: "b974da306256b13283183fa03e4dc8bcc8be3f44",
|
|
69
69
|
class: "q2-optgroup-options"
|
|
70
70
|
}, o("slot", {
|
|
71
|
-
key: "
|
|
71
|
+
key: "2f0035aad12309be2c5c4ea3125077cc704e65e4"
|
|
72
72
|
})));
|
|
73
73
|
}
|
|
74
74
|
get hostElement() {
|