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
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import type { ActionSheetDatePickerData } from 'q2-tecton-common/lib/types/action-sheet';
|
|
3
|
+
import type { DatePickerChangeDetail, DatePickerCloseDetail, DatePickerDisplayFormat, DatePickerErrorDetail, DatePickerMode, DatePickerMomentLike, DatePickerSuccessDetail, DatePickerValue } from "../../utils/date-picker/date-picker-types";
|
|
4
|
+
type DatePickerStandaloneElement = HTMLElement & {
|
|
5
|
+
focusDate: (value: string | Date) => Promise<void>;
|
|
6
|
+
setValue: (value: string | Date) => Promise<void>;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @name Date Picker
|
|
10
|
+
* @category Forms
|
|
11
|
+
* @summary Use for selecting a date or date range with an input and calendar popup.
|
|
12
|
+
* @slot label - Custom content for the input label.
|
|
13
|
+
*/
|
|
14
|
+
export declare class Q2DatePicker implements ComponentInterface {
|
|
15
|
+
calendarElement: DatePickerStandaloneElement;
|
|
16
|
+
closeTimeout: ReturnType<typeof setTimeout>;
|
|
17
|
+
committingValue: boolean;
|
|
18
|
+
controlElement: HTMLQ2InputElement;
|
|
19
|
+
normalizedDateLists: WeakMap<string[], string[]>;
|
|
20
|
+
popoverElement: HTMLQ2PopoverElement;
|
|
21
|
+
hostElement: HTMLElement;
|
|
22
|
+
activePopoverDirection: 'up' | 'down';
|
|
23
|
+
calendarError: string;
|
|
24
|
+
typeableError: string;
|
|
25
|
+
typeableValue: string;
|
|
26
|
+
/**
|
|
27
|
+
* Renders the calendar panel inline with behavior specific to being hosted by `q2-action-sheet`.
|
|
28
|
+
* @private
|
|
29
|
+
*/
|
|
30
|
+
_actionSheet: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Determines the year for a committed month/day typeable date with no year.
|
|
33
|
+
* `future` selects the next year for dates before today, while `past` selects the prior year for dates after today.
|
|
34
|
+
* Only applies to `single-typeable` mode with a month-first or day-first display format.
|
|
35
|
+
*/
|
|
36
|
+
assume: 'current' | 'future' | 'past';
|
|
37
|
+
/** A label shown above the date picker navigation. */
|
|
38
|
+
calendarLabel: string;
|
|
39
|
+
/** Displays a button in the input field allowing the user to clear the selected date or range. */
|
|
40
|
+
clearable: boolean;
|
|
41
|
+
/** Delay in milliseconds before the popover closes after selection. Explicitly undefined or non-positive values close immediately. */
|
|
42
|
+
closeDelay: number | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Specifies a time of day after which a date is no longer valid.
|
|
45
|
+
*
|
|
46
|
+
* @warning
|
|
47
|
+
* Must be a valid ISO date string.
|
|
48
|
+
*/
|
|
49
|
+
cutoffTime: string;
|
|
50
|
+
/**
|
|
51
|
+
* Defines valid days of the week using the calendar checksum values.
|
|
52
|
+
*
|
|
53
|
+
* Sunday begins at `1` and each following day doubles through Saturday at `64`.
|
|
54
|
+
*/
|
|
55
|
+
daysOfWeekChecksum: number;
|
|
56
|
+
/** Indicates the date picker cannot be focused or interacted with. */
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
/** Text displayed as the input placeholder when the field is disabled. */
|
|
59
|
+
disabledMsg: string;
|
|
60
|
+
/** Text shown below the date grid. */
|
|
61
|
+
disclaimer: string;
|
|
62
|
+
/**
|
|
63
|
+
* Formats the displayed date using legacy Moment-style tokens. Typeable modes support the numeric formats defined
|
|
64
|
+
* by `DatePickerDisplayFormat` and fall back to `MM/DD/YYYY` for other formats.
|
|
65
|
+
*/
|
|
66
|
+
displayFormat?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Defines the last selectable date. ISO date strings are preferred; legacy date strings and
|
|
69
|
+
* timestamps are normalized to their calendar date, without shifting timestamp time zones.
|
|
70
|
+
*/
|
|
71
|
+
endDate: string;
|
|
72
|
+
/** Consumer-provided error messages displayed below the input field. */
|
|
73
|
+
errors: string[];
|
|
74
|
+
/**
|
|
75
|
+
* Hides the input field's visible label while retaining its accessible name.
|
|
76
|
+
* @warning
|
|
77
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
78
|
+
*/
|
|
79
|
+
hideLabel: boolean;
|
|
80
|
+
/** Consumer-provided hint messages displayed below the input field. */
|
|
81
|
+
hints: string[];
|
|
82
|
+
/**
|
|
83
|
+
* Instructs the component to use the action sheet workflow for displaying its calendar.
|
|
84
|
+
*
|
|
85
|
+
* For more information, see [Action Sheets](https://tecton.q2developer.com/guides/action-sheets/).
|
|
86
|
+
*/
|
|
87
|
+
hoist: boolean | undefined;
|
|
88
|
+
/** Shows the input field's error visual state. */
|
|
89
|
+
invalid: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Defines an explicit date blacklist. ISO dates, legacy date strings, and timestamps are normalized to calendar dates.
|
|
92
|
+
*
|
|
93
|
+
* Assign a new array when changing this property. Mutating the existing array does not trigger validation updates.
|
|
94
|
+
*/
|
|
95
|
+
invalidDates: string[];
|
|
96
|
+
/**
|
|
97
|
+
* The visible label for the date picker input field.
|
|
98
|
+
* @warning
|
|
99
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
100
|
+
*/
|
|
101
|
+
label: string;
|
|
102
|
+
/** Formats selected dates using the provided locale. Accepts multiple locales in an array as sequential fallbacks. */
|
|
103
|
+
locale: string | string[];
|
|
104
|
+
/**
|
|
105
|
+
* Selects calendar or typeable behavior for a single date or date range.
|
|
106
|
+
* Enabling the legacy `typeable` prop uses `single-typeable` when `mode` is left at its default; an explicit mode takes precedence.
|
|
107
|
+
*/
|
|
108
|
+
mode: DatePickerMode;
|
|
109
|
+
/** Controls whether the date picker popover is open or closed. */
|
|
110
|
+
open: boolean;
|
|
111
|
+
/** Appends "(optional)" to the input label and marks the field as not required. */
|
|
112
|
+
optional: boolean;
|
|
113
|
+
/** Text shown in the input field when no date is selected. */
|
|
114
|
+
placeholder: string;
|
|
115
|
+
/**
|
|
116
|
+
* Forces the direction of the popover when it opens.
|
|
117
|
+
* @deprecated Use `popoverDirection` instead.
|
|
118
|
+
*/
|
|
119
|
+
popDirection: 'up' | 'down';
|
|
120
|
+
/** Aligns the calendar popover to the left or right side of the input field. */
|
|
121
|
+
popoverAlignment: 'left' | 'right';
|
|
122
|
+
/**
|
|
123
|
+
* Forces the direction of the popover when it opens.
|
|
124
|
+
*
|
|
125
|
+
* If no value is passed, the popover automatically selects a direction based on available space.
|
|
126
|
+
* Use `up` to place navigation below the date grid.
|
|
127
|
+
*/
|
|
128
|
+
popoverDirection: 'up' | 'down';
|
|
129
|
+
/** @deprecated Retained for compatibility with `q2-date-picker`. */
|
|
130
|
+
popoverMinHeight: number;
|
|
131
|
+
/**
|
|
132
|
+
* Uses absolute positioning for the popover when set to `legacy`.
|
|
133
|
+
*
|
|
134
|
+
* This compatibility option supports layouts where transformed ancestors interfere with fixed positioning.
|
|
135
|
+
*/
|
|
136
|
+
popoverMode: 'legacy';
|
|
137
|
+
/** The selected range end. ISO dates, legacy date strings, and timestamps are accepted. */
|
|
138
|
+
rangeEnd: string;
|
|
139
|
+
/** The selected range start. ISO dates, legacy date strings, and timestamps are accepted. */
|
|
140
|
+
rangeStart: string;
|
|
141
|
+
/**
|
|
142
|
+
* The field's content is not editable, but the field remains focusable.
|
|
143
|
+
*
|
|
144
|
+
* Appends "(read only)" to the field label.
|
|
145
|
+
*/
|
|
146
|
+
readonly: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Defines the first selectable date. ISO date strings are preferred; legacy date strings and
|
|
149
|
+
* timestamps are normalized to their calendar date, without shifting timestamp time zones.
|
|
150
|
+
*/
|
|
151
|
+
startDate: string;
|
|
152
|
+
/** Enables the legacy single-date typeable input behavior. */
|
|
153
|
+
typeable: boolean;
|
|
154
|
+
/** Shows the input field's success visual state when no errors are active. */
|
|
155
|
+
valid: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Defines an explicit date whitelist. ISO dates, legacy date strings, and timestamps are normalized to calendar dates.
|
|
158
|
+
*
|
|
159
|
+
* Assign a new array when changing this property. Mutating the existing array does not trigger validation updates.
|
|
160
|
+
*/
|
|
161
|
+
validDates: string[];
|
|
162
|
+
/**
|
|
163
|
+
* The selected date. ISO date strings are preferred; legacy date strings and Moment-like values are normalized to
|
|
164
|
+
* an ISO date string.
|
|
165
|
+
*/
|
|
166
|
+
value: DatePickerValue;
|
|
167
|
+
/**
|
|
168
|
+
* Emitted when a date is selected.
|
|
169
|
+
* @legacyEvent
|
|
170
|
+
* @deprecated Use `tctChange` instead.
|
|
171
|
+
*/
|
|
172
|
+
change: EventEmitter<DatePickerChangeDetail>;
|
|
173
|
+
/**
|
|
174
|
+
* Emitted when an invalid single date is entered or assigned.
|
|
175
|
+
* @deprecated Use `tctError` instead.
|
|
176
|
+
*/
|
|
177
|
+
error: EventEmitter<DatePickerErrorDetail>;
|
|
178
|
+
/**
|
|
179
|
+
* Emitted when a valid single date is entered, selected, or assigned.
|
|
180
|
+
* @deprecated Use `tctSuccess` instead.
|
|
181
|
+
*/
|
|
182
|
+
success: EventEmitter<DatePickerSuccessDetail>;
|
|
183
|
+
/** Emitted when an action-sheet date range is cancelled. */
|
|
184
|
+
tctCancel: EventEmitter<void>;
|
|
185
|
+
/** Emitted when a date is selected. */
|
|
186
|
+
tctChange: EventEmitter<DatePickerChangeDetail>;
|
|
187
|
+
/** Emitted when the picker closes after confirmation. Includes validation details when confirmation fails. */
|
|
188
|
+
tctClose: EventEmitter<DatePickerCloseDetail | void>;
|
|
189
|
+
/** Emitted when an invalid single date is entered or assigned. */
|
|
190
|
+
tctError: EventEmitter<DatePickerErrorDetail>;
|
|
191
|
+
/** Emitted when a valid single date is entered, selected, or assigned. */
|
|
192
|
+
tctSuccess: EventEmitter<DatePickerSuccessDetail>;
|
|
193
|
+
connectedCallback(): void;
|
|
194
|
+
disconnectedCallback(): void;
|
|
195
|
+
componentWillLoad(): void;
|
|
196
|
+
componentDidLoad(): void;
|
|
197
|
+
componentDidRender(): void;
|
|
198
|
+
beforeInputHandler(event: InputEvent): void;
|
|
199
|
+
delegateFocus(event: FocusEvent): void;
|
|
200
|
+
popoverStateHandler({ detail: { open } }: CustomEvent<{
|
|
201
|
+
open: boolean;
|
|
202
|
+
}>): void;
|
|
203
|
+
/** Closes the calendar popover if it is open. */
|
|
204
|
+
closePopover(): Promise<void>;
|
|
205
|
+
/** Moves the visible month to the provided date and focuses that day. */
|
|
206
|
+
focusDate(date: Date): Promise<void>;
|
|
207
|
+
/** Opens the calendar popover if it is closed. */
|
|
208
|
+
openPopover(): Promise<void>;
|
|
209
|
+
/** Clears selected values, uncommitted typeable input, and error state without changing configuration props. */
|
|
210
|
+
reset(): Promise<void>;
|
|
211
|
+
/** Opens the calendar and selects the provided date when it is valid. */
|
|
212
|
+
setValue(value: string | Date | DatePickerMomentLike): Promise<void>;
|
|
213
|
+
/**
|
|
214
|
+
* Focuses the single typeable input and stages a valid date without committing it.
|
|
215
|
+
*
|
|
216
|
+
* @warning
|
|
217
|
+
* Only applicable when the effective mode is `single-typeable`.
|
|
218
|
+
*/
|
|
219
|
+
typeValue(value: string | Date): Promise<void>;
|
|
220
|
+
constraintsChanged(): void;
|
|
221
|
+
disabledChanged(disabled: boolean): void;
|
|
222
|
+
displayFormatChanged(): void;
|
|
223
|
+
modeChanged(): void;
|
|
224
|
+
openChanged(open: boolean): void;
|
|
225
|
+
popDirectionChanged(): void;
|
|
226
|
+
popoverDirectionChanged(): void;
|
|
227
|
+
rangeEndChanged(): void;
|
|
228
|
+
rangeStartChanged(): void;
|
|
229
|
+
readonlyChanged(readonly: boolean): void;
|
|
230
|
+
valueChanged(value: DatePickerValue): void;
|
|
231
|
+
get acceptsTypeableInput(): boolean;
|
|
232
|
+
get actionSheetData(): ActionSheetDatePickerData;
|
|
233
|
+
get automaticPopoverDirection(): 'up' | 'down';
|
|
234
|
+
get canClear(): boolean;
|
|
235
|
+
get computedErrors(): string[] | undefined;
|
|
236
|
+
get computedPlaceholder(): string;
|
|
237
|
+
get dateFormatValidationError(): string;
|
|
238
|
+
get effectiveMode(): DatePickerMode;
|
|
239
|
+
get effectivePopoverDirection(): 'up' | 'down' | undefined;
|
|
240
|
+
get formattedTypeableValue(): string;
|
|
241
|
+
get formattedValue(): string;
|
|
242
|
+
get isRangeMode(): boolean;
|
|
243
|
+
get isRangeTypeable(): boolean;
|
|
244
|
+
get isSingleTypeable(): boolean;
|
|
245
|
+
get normalizedDisplayFormat(): DatePickerDisplayFormat;
|
|
246
|
+
get normalizedInvalidDates(): string[] | undefined;
|
|
247
|
+
get normalizedValidDates(): string[] | undefined;
|
|
248
|
+
get normalizedValue(): string | undefined;
|
|
249
|
+
get rangeEndDate(): Date | undefined;
|
|
250
|
+
get rangeFormatValidationError(): string;
|
|
251
|
+
get rangeOrderValidationError(): string;
|
|
252
|
+
get rangeTypeableFormat(): string;
|
|
253
|
+
get rangeValidationError(): string;
|
|
254
|
+
get selectedDate(): Date | undefined;
|
|
255
|
+
get typeableAllowedCharacters(): RegExp;
|
|
256
|
+
closeAfterSelection(): void;
|
|
257
|
+
closeCalendar(returnFocus?: boolean, emitClose?: boolean): void;
|
|
258
|
+
commitSingleValue(value: string): void;
|
|
259
|
+
emitValidationError(message: string): void;
|
|
260
|
+
emitValidationSuccess(value: string): void;
|
|
261
|
+
focusRenderedDate(value?: string): void;
|
|
262
|
+
formatDateWithModifier(date: Date): string;
|
|
263
|
+
formatLongDate(date: Date): string;
|
|
264
|
+
formatTypeableDate(value: string): string;
|
|
265
|
+
isDateValid(date: Date): boolean;
|
|
266
|
+
isRangeValid(start: Date, end: Date): boolean;
|
|
267
|
+
isTypeableDatePrefixInvalid(digits: string): boolean;
|
|
268
|
+
localizeForLocale(value: string, substitutions?: Record<string, string>): string;
|
|
269
|
+
normalizeDateList(values?: string[]): string[] | undefined;
|
|
270
|
+
onCalendarCancel: (event: CustomEvent<void>) => void;
|
|
271
|
+
onCalendarCommit: (event: CustomEvent<DatePickerChangeDetail | void>) => void;
|
|
272
|
+
onCalendarDismiss: (event: CustomEvent<void>) => void;
|
|
273
|
+
onCalendarError: (event: CustomEvent<string>) => void;
|
|
274
|
+
onCalendarToggleClick: (event: MouseEvent) => void;
|
|
275
|
+
onClear: () => void;
|
|
276
|
+
onClickElsewhere: (event: CustomEvent) => void;
|
|
277
|
+
onInputClick: () => void;
|
|
278
|
+
onInputKeydown: (event: KeyboardEvent) => void;
|
|
279
|
+
onTypeableChange: (event: CustomEvent<{
|
|
280
|
+
value: string;
|
|
281
|
+
}>) => void;
|
|
282
|
+
onTypeableInput: (event: CustomEvent<{
|
|
283
|
+
value: string;
|
|
284
|
+
}>) => void;
|
|
285
|
+
parseTypeableDate(value: string): Date | undefined;
|
|
286
|
+
/**
|
|
287
|
+
* Recomputes the typeable error from the current `typeableValue`, applying the same range checks the commit path
|
|
288
|
+
* uses so a stale error cannot outlive the text that produced it.
|
|
289
|
+
*/
|
|
290
|
+
revalidateTypeableValue(): void;
|
|
291
|
+
scrollDownCalendarToTop(): Promise<void>;
|
|
292
|
+
scrollUpCalendarToBottom(): Promise<void>;
|
|
293
|
+
setActivePopoverDirection(): void;
|
|
294
|
+
setTypeableError(error: string): void;
|
|
295
|
+
showActionSheet(): Promise<void>;
|
|
296
|
+
syncTypeableValue(): void;
|
|
297
|
+
toggleCalendar(): void;
|
|
298
|
+
typeableRangeError(start: Date, end: Date): string;
|
|
299
|
+
validateCurrentValue(value?: DatePickerValue): void;
|
|
300
|
+
validateTypeableValue(): void;
|
|
301
|
+
renderCalendar(): any;
|
|
302
|
+
render(): any;
|
|
303
|
+
}
|
|
304
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -41,9 +41,9 @@ export declare class Q2Dropdown implements ComponentInterface {
|
|
|
41
41
|
/** If `true`, it takes up 100% width. */
|
|
42
42
|
fullWidth: boolean;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Hides the dropdown's label text from view.
|
|
45
45
|
* @warning
|
|
46
|
-
*
|
|
46
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
47
47
|
*/
|
|
48
48
|
hideLabel: boolean;
|
|
49
49
|
/**
|
|
@@ -57,7 +57,7 @@ export declare class Q2Dropdown implements ComponentInterface {
|
|
|
57
57
|
/**
|
|
58
58
|
* The text that appears within the button.
|
|
59
59
|
* @warning
|
|
60
|
-
*
|
|
60
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
61
61
|
* @localizable
|
|
62
62
|
*/
|
|
63
63
|
label: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -39,7 +39,11 @@ export declare class Q2EditableField {
|
|
|
39
39
|
* See [q2-input](https://tecton.q2developer.com/design-system/q2-input/) for more information.
|
|
40
40
|
*/
|
|
41
41
|
formatModifier: string;
|
|
42
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Hides the field's `<label>` element from view.
|
|
44
|
+
* @warning
|
|
45
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
46
|
+
*/
|
|
43
47
|
hideLabel: boolean;
|
|
44
48
|
/**
|
|
45
49
|
* Determines the `hints` applied to the `q2-input` element.
|
|
@@ -50,6 +54,8 @@ export declare class Q2EditableField {
|
|
|
50
54
|
/**
|
|
51
55
|
* The visible descriptor for the element.
|
|
52
56
|
* Serves as the input label while in the edit state and as a decorative label for the read state when `persistentLabel` is `true`.
|
|
57
|
+
* @warning
|
|
58
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
53
59
|
* @localizable
|
|
54
60
|
*/
|
|
55
61
|
label: string;
|
|
@@ -75,6 +81,8 @@ export declare class Q2EditableField {
|
|
|
75
81
|
* Emitted when the 'Edit', 'Cancel', or 'Save' buttons are clicked.
|
|
76
82
|
*
|
|
77
83
|
* The event detail will not include a `value` or `formattedValue` if the event name is 'edit' or 'cancel'.
|
|
84
|
+
*
|
|
85
|
+
* Call `event.preventDefault()` to prevent the default behavior (the component's internal `editing` and `value` updates).
|
|
78
86
|
*@info
|
|
79
87
|
* If you are utilizing events to provide input validation, it is recommended you use the `input` event, not the `change` event.
|
|
80
88
|
* @deprecated Use 'tctChange' instead
|
|
@@ -98,6 +106,8 @@ export declare class Q2EditableField {
|
|
|
98
106
|
*
|
|
99
107
|
* The event detail will not include a `value` or `formattedValue` if the event name is 'edit' or 'cancel'.
|
|
100
108
|
*
|
|
109
|
+
* Call `event.preventDefault()` to prevent the default behavior (the component's internal `editing` and `value` updates).
|
|
110
|
+
*
|
|
101
111
|
* @info
|
|
102
112
|
* If you are utilizing events to provide input validation, it is recommended you use the `input` event, not the `change` event.
|
|
103
113
|
*/
|
|
@@ -117,7 +127,6 @@ export declare class Q2EditableField {
|
|
|
117
127
|
componentWillLoad(): void;
|
|
118
128
|
componentDidLoad(): void;
|
|
119
129
|
componentDidRender(): void;
|
|
120
|
-
onHostElementChange(event: CustomEvent): void;
|
|
121
130
|
delegateFocus(event: FocusEvent): void;
|
|
122
131
|
inputFormatted(event: CustomEvent<FormatterValueObject>): void;
|
|
123
132
|
/**
|
|
@@ -158,13 +167,22 @@ export declare class Q2EditableField {
|
|
|
158
167
|
get locLabel(): string;
|
|
159
168
|
get wrapperClass(): string;
|
|
160
169
|
cancelClick: (event?: CustomEvent) => void;
|
|
170
|
+
/**
|
|
171
|
+
* Drops the in-progress draft and re-syncs the input and the read state display from `value`.
|
|
172
|
+
*
|
|
173
|
+
* Runs whenever the field leaves the edit state, including when a consumer drives `editing` itself, so the
|
|
174
|
+
* read state never renders a discarded draft.
|
|
175
|
+
*/
|
|
176
|
+
discardDraft(): void;
|
|
161
177
|
editClick: (event: CustomEvent) => void;
|
|
178
|
+
private emitChangeEvents;
|
|
162
179
|
generateEditStateDOM(): any;
|
|
163
180
|
generateReadStateDOM(): any;
|
|
164
181
|
inputChange: (e: CustomEvent) => void;
|
|
165
182
|
inputClick: (event: MouseEvent) => void;
|
|
166
183
|
inputInput: (event: Q2InputCustomEvent<EventDetail> & InputEvent) => void;
|
|
167
184
|
inputKeyDown: (e: KeyboardEvent) => void;
|
|
185
|
+
private isDefaultPrevented;
|
|
168
186
|
saveClick: (event?: CustomEvent) => void;
|
|
169
187
|
render(): any;
|
|
170
188
|
}
|
|
@@ -20,6 +20,9 @@ export declare class Q2FilePicker implements ComponentInterface {
|
|
|
20
20
|
browseButtonInput: HTMLElement;
|
|
21
21
|
dropZone: HTMLElement;
|
|
22
22
|
fileItemsToBeDeleted: any;
|
|
23
|
+
fileList: HTMLElement;
|
|
24
|
+
fileListContainer: HTMLElement;
|
|
25
|
+
fileListResizeObserver: ResizeObserver;
|
|
23
26
|
queuedFiles: File[];
|
|
24
27
|
el: HTMLElement;
|
|
25
28
|
areFilesUploading: boolean;
|
|
@@ -39,6 +42,12 @@ export declare class Q2FilePicker implements ComponentInterface {
|
|
|
39
42
|
* Disables the file picker, preventing user interaction.
|
|
40
43
|
*/
|
|
41
44
|
disabled: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* When `false`, the file name renders as-is and may wrap. Otherwise, long
|
|
47
|
+
* file names are middle-ellipsized so the beginning and end of the name
|
|
48
|
+
* remain visible.
|
|
49
|
+
*/
|
|
50
|
+
ellipsizeFileName: boolean;
|
|
42
51
|
/**
|
|
43
52
|
* Allowed file types based on extensions (e.g., ['jpg', 'png', 'pdf'] or
|
|
44
53
|
* 'jpg, png, pdf'). When using the attribute, provide a comma-separated
|
|
@@ -59,6 +68,10 @@ export declare class Q2FilePicker implements ComponentInterface {
|
|
|
59
68
|
* The maximum size (in bytes) of any file that can be selected.
|
|
60
69
|
*/
|
|
61
70
|
maxFileSize: number;
|
|
71
|
+
/**
|
|
72
|
+
* Shows a gradient at the bottom of the file list when more files are available below the visible area.
|
|
73
|
+
*/
|
|
74
|
+
showGradient: boolean;
|
|
62
75
|
/**
|
|
63
76
|
* An array of `ValidFileStatus` objects representing the upload status of
|
|
64
77
|
* files. Each `ValidFileStatus` object contains the following properties:
|
|
@@ -109,6 +122,10 @@ export declare class Q2FilePicker implements ComponentInterface {
|
|
|
109
122
|
* `"over-max-files-limit"` (total exceeds the max files limit).
|
|
110
123
|
*/
|
|
111
124
|
tctChange: EventEmitter<FilesObject>;
|
|
125
|
+
disconnectedCallback(): void;
|
|
126
|
+
componentDidLoad(): void;
|
|
127
|
+
componentDidRender(): void;
|
|
128
|
+
updateGradientVisibility(): void;
|
|
112
129
|
updateFileList(newValue: ValidFileStatus[]): void;
|
|
113
130
|
get actualButtonSize(): "small" | "medium" | "large";
|
|
114
131
|
get dropZoneClasses(): string;
|
|
@@ -117,6 +134,7 @@ export declare class Q2FilePicker implements ComponentInterface {
|
|
|
117
134
|
get hasDescriptionSlotContent(): boolean;
|
|
118
135
|
get hasLabel(): boolean;
|
|
119
136
|
get hasLabelSlotContent(): boolean;
|
|
137
|
+
get isMobileViewport(): boolean;
|
|
120
138
|
buildFilesObject(filesToUpload: File[]): FilesObject;
|
|
121
139
|
dimDropZone: (e: DragEvent) => void;
|
|
122
140
|
disableEvent(event: Event): void;
|
|
@@ -135,6 +153,8 @@ export declare class Q2FilePicker implements ComponentInterface {
|
|
|
135
153
|
grabSelectedFiles: (e: Event) => void;
|
|
136
154
|
highlightDropZone: (e: DragEvent) => void;
|
|
137
155
|
launchFileBrowser(): void;
|
|
156
|
+
observeFileListContent(): void;
|
|
157
|
+
updateFileListGradient: () => void;
|
|
138
158
|
render: () => any;
|
|
139
159
|
}
|
|
140
160
|
export {};
|
|
@@ -47,11 +47,17 @@ export declare class Q2Input {
|
|
|
47
47
|
scheduledAfterRender: (() => void)[];
|
|
48
48
|
textSelectedForDeletion: boolean;
|
|
49
49
|
valueOnFocus: string;
|
|
50
|
+
visibleLastContentRef: HTMLSpanElement;
|
|
50
51
|
hostElement: HTMLElement;
|
|
51
52
|
checkSlotCount: number;
|
|
52
53
|
formattedValueObject: FormatterValueObject;
|
|
53
54
|
hasFocus: boolean;
|
|
54
55
|
isSmall: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Provides additional descriptive text for the native input.
|
|
58
|
+
* @private
|
|
59
|
+
*/
|
|
60
|
+
_ariaDescription: string;
|
|
55
61
|
/**
|
|
56
62
|
* Sets readonly to true on the input without adding the "read only" label.
|
|
57
63
|
*
|
|
@@ -129,9 +135,9 @@ export declare class Q2Input {
|
|
|
129
135
|
*/
|
|
130
136
|
formatModifier: string;
|
|
131
137
|
/**
|
|
132
|
-
*
|
|
138
|
+
* Hides the field's `<label>` element from view.
|
|
133
139
|
* @warning
|
|
134
|
-
*
|
|
140
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
135
141
|
*/
|
|
136
142
|
hideLabel: boolean;
|
|
137
143
|
/**
|
|
@@ -153,6 +159,8 @@ export declare class Q2Input {
|
|
|
153
159
|
iconRight: Q2Icon['type'];
|
|
154
160
|
/**
|
|
155
161
|
* The label that appears above the field. This is announced by screen readers when the field is focused.
|
|
162
|
+
* @warning
|
|
163
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
156
164
|
* @localizable
|
|
157
165
|
*/
|
|
158
166
|
label: string;
|
|
@@ -215,7 +223,7 @@ export declare class Q2Input {
|
|
|
215
223
|
/**
|
|
216
224
|
* Displays a toggle button at the end of the input field which shows or hides the actual value.
|
|
217
225
|
* @info
|
|
218
|
-
*
|
|
226
|
+
* Applicable when `type` is `text`, `password`, `ssn`, or `tin`, or when `visibleLastCount` is set.
|
|
219
227
|
*/
|
|
220
228
|
showVisibilityToggle: boolean;
|
|
221
229
|
/**
|
|
@@ -225,7 +233,8 @@ export declare class Q2Input {
|
|
|
225
233
|
*/
|
|
226
234
|
step: number;
|
|
227
235
|
/**
|
|
228
|
-
* Controls visibility of the value
|
|
236
|
+
* Controls visibility of the value. When `visibleLastCount` is set, hidden values keep the specified number of
|
|
237
|
+
* trailing characters visible.
|
|
229
238
|
* When the input type is `password`, it will default to `true`, hiding the text.
|
|
230
239
|
*/
|
|
231
240
|
textHidden: boolean;
|
|
@@ -251,6 +260,11 @@ export declare class Q2Input {
|
|
|
251
260
|
*
|
|
252
261
|
*/
|
|
253
262
|
value: string;
|
|
263
|
+
/**
|
|
264
|
+
* Controls the number of trailing characters that remain visible when the field value is masked by `textHidden`
|
|
265
|
+
* or the visibility toggle. The element's `value` and emitted event details remain unmasked.
|
|
266
|
+
*/
|
|
267
|
+
visibleLastCount: number;
|
|
254
268
|
/**
|
|
255
269
|
* Emitted when the field loses focus after the value has been changed.
|
|
256
270
|
* @deprecated Use 'tctChange' instead
|
|
@@ -342,6 +356,7 @@ export declare class Q2Input {
|
|
|
342
356
|
formatModifierObserver(): void;
|
|
343
357
|
formattedValueObjectObserver(): void;
|
|
344
358
|
hintsObserver(): void;
|
|
359
|
+
textHiddenObserver(): void;
|
|
345
360
|
typeObserver(): void;
|
|
346
361
|
valueObserver(): void;
|
|
347
362
|
get ariaAttributes(): {
|
|
@@ -357,6 +372,9 @@ export declare class Q2Input {
|
|
|
357
372
|
get computedClassForIconLeft(): string | undefined;
|
|
358
373
|
get computedIconLeft(): string | undefined;
|
|
359
374
|
get computedType(): string;
|
|
375
|
+
get currencyCode(): string | undefined;
|
|
376
|
+
get currencyDescription(): string | undefined;
|
|
377
|
+
get currencyDescriptionId(): string;
|
|
360
378
|
get hasCustomDisplaySlot(): boolean;
|
|
361
379
|
get hasError(): boolean;
|
|
362
380
|
get hasInputLeftSlot(): boolean;
|
|
@@ -367,11 +385,18 @@ export declare class Q2Input {
|
|
|
367
385
|
get inputId(): string;
|
|
368
386
|
get inputMode(): any;
|
|
369
387
|
get isMaskedType(): boolean;
|
|
388
|
+
get maskedDisplayParts(): {
|
|
389
|
+
maskedCharacters: string[];
|
|
390
|
+
visibleValue: string;
|
|
391
|
+
};
|
|
392
|
+
get maskedDisplayValue(): string;
|
|
370
393
|
get messages(): string[];
|
|
394
|
+
get normalizedVisibleLastCount(): number | undefined;
|
|
371
395
|
get shouldCursorStartAtEnd(): boolean;
|
|
372
396
|
get shouldCursorStayAtEnd(): boolean;
|
|
373
397
|
get showIconSeparator(): boolean;
|
|
374
398
|
get showMessages(): boolean;
|
|
399
|
+
get showVisibilityToggleButton(): boolean;
|
|
375
400
|
get stringValue(): string;
|
|
376
401
|
get visibilityToggleAriaLabel(): string;
|
|
377
402
|
get visibilityToggleText(): string;
|
|
@@ -397,11 +422,14 @@ export declare class Q2Input {
|
|
|
397
422
|
onInputKeydown: (event: KeyboardEvent) => void;
|
|
398
423
|
onInputMousedown: () => void;
|
|
399
424
|
onInputPaste: (event: ClipboardEvent) => void;
|
|
425
|
+
onInputScroll: () => void;
|
|
400
426
|
onMutationObserved: () => void;
|
|
401
427
|
onRefocusInput: () => void;
|
|
402
428
|
onToggleVisibility: () => void;
|
|
403
429
|
placeCursorAtEnd(): void;
|
|
430
|
+
scheduleVisibleLastScrollSync(): void;
|
|
404
431
|
setCursorPosition(cursorData: CursorData): void;
|
|
432
|
+
syncVisibleLastScroll: () => void;
|
|
405
433
|
validateInput: () => boolean;
|
|
406
434
|
renderCountDOM(): any;
|
|
407
435
|
renderInputContainerDOM(): any;
|
|
@@ -40,5 +40,8 @@ export declare class Q2Item {
|
|
|
40
40
|
get itemClasses(): string;
|
|
41
41
|
get mainClasses(): string;
|
|
42
42
|
get shouldAlignSingleContentSlot(): boolean;
|
|
43
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
44
|
+
handleKeyup: (event: KeyboardEvent) => void;
|
|
45
|
+
isSpaceKey(event: KeyboardEvent): boolean;
|
|
43
46
|
render(): any;
|
|
44
47
|
}
|
|
@@ -17,7 +17,7 @@ export declare class Q2Modal implements ComponentInterface {
|
|
|
17
17
|
maxActionButtons: number;
|
|
18
18
|
renderStatus: 'is-open' | 'is-closing' | 'is-opening';
|
|
19
19
|
/**
|
|
20
|
-
* Controls visibility of the close button
|
|
20
|
+
* Controls visibility of the close button and whether the modal can be dismissed with the backdrop or Escape key.
|
|
21
21
|
*/
|
|
22
22
|
closable: boolean;
|
|
23
23
|
/**
|
|
@@ -28,6 +28,10 @@ export declare class Q2Modal implements ComponentInterface {
|
|
|
28
28
|
* A plain text description of the modal. Use this to provide context or information to the user.
|
|
29
29
|
*/
|
|
30
30
|
description: string;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the action buttons should take up the full width of the modal footer.
|
|
33
|
+
*/
|
|
34
|
+
fullWidthButton: boolean;
|
|
31
35
|
/**
|
|
32
36
|
* The icon to display at the top of the modal. [See Icon documentation](https://tecton.q2developer.com/design-system/q2-icon).
|
|
33
37
|
*/
|
|
@@ -40,6 +44,10 @@ export declare class Q2Modal implements ComponentInterface {
|
|
|
40
44
|
* A plain text title of the modal displayed at the top.
|
|
41
45
|
*/
|
|
42
46
|
title: string;
|
|
47
|
+
/**
|
|
48
|
+
* Emitted when the modal backdrop is clicked.
|
|
49
|
+
*/
|
|
50
|
+
tctBackdropClick: EventEmitter<undefined>;
|
|
43
51
|
/**
|
|
44
52
|
* Emitted when one of action buttons is clicked.
|
|
45
53
|
*/
|
|
@@ -62,6 +70,7 @@ export declare class Q2Modal implements ComponentInterface {
|
|
|
62
70
|
componentDidRender(): void;
|
|
63
71
|
closeModal(data?: ModalResponse): Promise<void>;
|
|
64
72
|
openModal(option?: ModalOption): Promise<void>;
|
|
73
|
+
hasDialogTransition: () => boolean;
|
|
65
74
|
initializeModal: () => void;
|
|
66
75
|
onCancel: (event: Event) => void;
|
|
67
76
|
onClick: (event: MouseEvent) => void;
|
|
@@ -96,6 +96,7 @@ export declare class Q2OptionList implements ComponentInterface {
|
|
|
96
96
|
checkOptions(): void;
|
|
97
97
|
clickHandler: (event: Event) => void;
|
|
98
98
|
externalKeydownHandler: (event: KeyboardEvent) => void;
|
|
99
|
+
findScrollableAncestor(node: Node): HTMLElement | null;
|
|
99
100
|
focusoutHandler: (event: FocusEvent) => void;
|
|
100
101
|
focusSelectedSibling(option: ValidOptionElements): void;
|
|
101
102
|
getDefaultActiveIndex(): number;
|
|
@@ -40,6 +40,7 @@ export declare class Q2Popover implements ComponentInterface {
|
|
|
40
40
|
displayBuffer: number;
|
|
41
41
|
orientationChanged: boolean;
|
|
42
42
|
pendingAnimationResolve: (() => void) | null;
|
|
43
|
+
platformScrollUnsubscribe: (() => void) | null;
|
|
43
44
|
hostElement: HTMLElement;
|
|
44
45
|
animationState: 'idle' | 'opening' | 'closing';
|
|
45
46
|
currentDirection: 'down' | 'up';
|
|
@@ -95,7 +96,10 @@ export declare class Q2Popover implements ComponentInterface {
|
|
|
95
96
|
addViewportListeners(): void;
|
|
96
97
|
clearCSSProperties(): void;
|
|
97
98
|
determinePopDirection(): Promise<void>;
|
|
99
|
+
handleInsideScroll: (event: WheelEvent | TouchEvent) => void;
|
|
98
100
|
handleMinHeight: () => void;
|
|
101
|
+
handleOutsideScroll: (event: Event) => void;
|
|
102
|
+
handlePlatformScroll: () => void;
|
|
99
103
|
handlePopoverToggleEvent: (event: ToggleEvent) => void;
|
|
100
104
|
removeViewportListeners(): void;
|
|
101
105
|
setAbsoluteCSSProperties: () => Promise<void>;
|
|
@@ -32,13 +32,14 @@ export declare class Q2Radio implements ComponentInterface {
|
|
|
32
32
|
groupTileLayout: boolean;
|
|
33
33
|
/**
|
|
34
34
|
* Hides the field's `<label>` element from view.
|
|
35
|
-
*
|
|
36
35
|
* @warning
|
|
37
|
-
*
|
|
36
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
38
37
|
*/
|
|
39
38
|
hideLabel: boolean;
|
|
40
39
|
/**
|
|
41
40
|
* The text that describes the individual radio option.
|
|
41
|
+
* @warning
|
|
42
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
42
43
|
* @localizable
|
|
43
44
|
*/
|
|
44
45
|
label: string;
|