q2-tecton-elements 1.72.0 → 1.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +39545 -34361
- package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
- package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
- package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
- package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
- package/dist/cjs/q2-avatar.cjs.entry.js +34 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
- package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
- package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
- package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
- package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
- package/dist/cjs/q2-context.cjs.entry.js +4 -4
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
- package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
- package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +20 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +3 -3
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +5 -5
- package/dist/cjs/q2-pagination.cjs.entry.js +12 -6
- package/dist/cjs/q2-pill.cjs.entry.js +8 -5
- package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-search.cjs.entry.js +3 -3
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +8 -4
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-surface.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
- package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
- package/dist/collection/components/q2-avatar/q2-avatar.js +34 -1
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +79 -4
- package/dist/collection/components/q2-btn/q2-btn.css +84 -136
- package/dist/collection/components/q2-btn/q2-btn.js +10 -4
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
- package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
- package/dist/collection/components/q2-context/q2-context.js +3 -3
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
- package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
- package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
- package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/formatting/phone-number-formats.js +1 -1
- package/dist/collection/components/q2-input/q2-input.js +6 -3
- package/dist/collection/components/q2-item/q2-item.js +19 -1
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.css +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-message/test/q2-message-test.vr.js +11 -2
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
- package/dist/collection/components/q2-otp/q2-otp.js +4 -4
- package/dist/collection/components/q2-pagination/q2-pagination.css +17 -0
- package/dist/collection/components/q2-pagination/q2-pagination.js +10 -4
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +39 -0
- package/dist/collection/components/q2-pill/q2-pill.css +14 -10
- package/dist/collection/components/q2-pill/q2-pill.js +6 -3
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +25 -0
- package/dist/collection/components/q2-popover/q2-popover.css +1 -0
- package/dist/collection/components/q2-popover/q2-popover.js +43 -8
- package/dist/collection/components/q2-radio/q2-radio.js +5 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.js +6 -3
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +12 -5
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-surface/q2-surface.js +1 -1
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +6 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/chart-keyboard.js +76 -0
- package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
- package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
- package/dist/collection/utils/index.js +1 -1
- package/dist/components/charting.js +1603 -1532
- package/dist/components/dataSample.js +7 -7
- package/dist/components/index.js +57 -53
- package/dist/components/index2.js +2 -2
- package/dist/components/q2-action-sheet.js +224 -103
- package/dist/components/q2-avatar2.js +41 -27
- package/dist/components/q2-btn2.js +2 -2
- package/dist/components/q2-calendar.js +6 -3
- package/dist/components/q2-card-image.js +2 -2
- package/dist/components/q2-carousel-pane2.js +3 -3
- package/dist/components/q2-carousel.js +37 -24
- package/dist/components/q2-chart-area.js +415 -369
- package/dist/components/q2-chart-bar.js +193 -148
- package/dist/components/q2-chart-donut.js +185 -158
- package/dist/components/q2-checkbox-group.js +6 -6
- package/dist/components/q2-checkbox2.js +11 -11
- package/dist/components/q2-context.js +20 -20
- package/dist/components/q2-currency.js +9 -9
- package/dist/components/q2-data-table.js +111 -111
- package/dist/components/q2-date-calendar.d.ts +11 -0
- package/dist/components/q2-date-calendar.js +5 -0
- package/dist/components/q2-date-calendar2.js +678 -0
- package/dist/components/q2-date-picker.d.ts +11 -0
- package/dist/components/q2-date-picker.js +5 -0
- package/dist/components/q2-date-picker2.js +875 -0
- package/dist/components/q2-detail.js +3 -3
- package/dist/components/q2-dropdown.js +17 -17
- package/dist/components/q2-editable-field.js +16 -5
- package/dist/components/q2-example.js +11 -11
- package/dist/components/q2-file-picker.js +1 -1
- package/dist/components/q2-form.js +6 -6
- package/dist/components/q2-formatted-text.js +2 -2
- package/dist/components/q2-input2.js +6 -6
- package/dist/components/q2-item2.js +32 -22
- package/dist/components/q2-legend2.js +7 -7
- package/dist/components/q2-list2.js +6 -6
- package/dist/components/q2-message2.js +10 -10
- package/dist/components/q2-meter.js +7 -7
- package/dist/components/q2-modal.js +22 -22
- package/dist/components/q2-month-picker.js +17 -17
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +55 -34
- package/dist/components/q2-otp.js +8 -8
- package/dist/components/q2-pagination.js +70 -68
- package/dist/components/q2-pill.js +51 -46
- package/dist/components/q2-popover2.js +70 -49
- package/dist/components/q2-radio-group.js +7 -7
- package/dist/components/q2-radio.js +6 -6
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +17 -17
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-pane.js +29 -29
- package/dist/components/q2-stepper-vertical.js +4 -4
- package/dist/components/q2-stepper.js +57 -57
- package/dist/components/q2-surface.js +3 -3
- package/dist/components/q2-tab-container.js +21 -21
- package/dist/components/q2-tab-pane.js +6 -6
- package/dist/components/q2-tag2.js +8 -6
- package/dist/components/q2-textarea.js +3 -3
- package/dist/components/sectorHelper.js +78 -78
- package/dist/components/tecton-tab-pane.js +10 -10
- package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
- package/dist/esm/click-elsewhere_3.entry.js +81 -14
- package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
- package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
- package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +99 -19
- package/dist/esm/q2-avatar.entry.js +34 -1
- package/dist/esm/q2-badge_2.entry.js +3 -3
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +9 -4
- package/dist/esm/q2-card-image.entry.js +3 -3
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +20 -6
- package/dist/esm/q2-chart-area.entry.js +38 -7
- package/dist/esm/q2-chart-bar.entry.js +39 -8
- package/dist/esm/q2-chart-donut.entry.js +31 -13
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox_2.entry.js +8 -5
- package/dist/esm/q2-context.entry.js +4 -4
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +7 -7
- package/dist/esm/q2-date-calendar.entry.js +450 -0
- package/dist/esm/q2-date-picker_2.entry.js +965 -0
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +3 -3
- package/dist/esm/q2-editable-field.entry.js +20 -7
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +2 -2
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +20 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +3 -3
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +5 -5
- package/dist/esm/q2-pagination.entry.js +12 -6
- package/dist/esm/q2-pill.entry.js +8 -5
- package/dist/esm/q2-radio-group.entry.js +2 -2
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-search.entry.js +3 -3
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +8 -4
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-surface.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +2 -2
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
- package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
- package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
- package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
- package/dist/q2-tecton-elements/q2-avatar.entry.js +24 -10
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
- package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
- package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
- package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
- package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +29 -29
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-pagination.entry.js +51 -49
- package/dist/q2-tecton-elements/q2-pill.entry.js +22 -17
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-search.entry.js +31 -31
- package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
- package/dist/q2-tecton-elements/q2-surface.entry.js +15 -15
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
- package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
- package/dist/types/components/q2-avatar/q2-avatar.d.ts +5 -0
- package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
- package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
- package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
- package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
- package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
- package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
- package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
- package/dist/types/components/q2-input/q2-input.d.ts +4 -2
- package/dist/types/components/q2-item/q2-item.d.ts +3 -0
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
- package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
- package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
- package/dist/types/components/q2-search/q2-search.d.ts +3 -1
- package/dist/types/components/q2-select/q2-select.d.ts +4 -2
- package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
- package/dist/types/components.d.ts +858 -49
- package/dist/types/global.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/chart-keyboard.d.ts +16 -0
- package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
- package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
- package/package.json +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
- package/dist/esm/q2-optgroup.entry.js +0 -68
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as a, D as e, r as t, a as n, d as r, S as i, l as o, b as s, i as l, c as u, e as c, q as f, f as v, n as h, m as L, B as b, T as M, g as d, k as g, h as p, p as y, j as P, o as m, s as w, t as A, u as S, v as T, w as x, x as k, y as R, z as j, A as C, C as O, E as K, F as W, G as D } from "./charting-
|
|
1
|
+
import { P as a, D as e, r as t, a as n, d as r, S as i, l as o, b as s, i as l, c as u, e as c, q as f, f as v, n as h, m as L, B as b, T as M, g as d, k as g, h as p, p as y, j as P, o as m, s as w, t as A, u as S, v as T, w as x, x as k, y as R, z as j, A as C, C as O, E as K, F as W, G as D } from "./charting-DFXJklqs.js";
|
|
2
2
|
|
|
3
3
|
var I = 2 * Math.PI, N = c.CMD, z = [ "top", "right", "bottom", "left" ];
|
|
4
4
|
|
|
@@ -54,11 +54,11 @@ function projectPointToRect(a, e, t, n, r, i, o) {
|
|
|
54
54
|
return Math.sqrt((u - r) * (u - r) + (c - i) * (c - i));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
var
|
|
57
|
+
var X = [];
|
|
58
58
|
|
|
59
59
|
function nearestPointOnRect(a, e, t) {
|
|
60
|
-
var n = projectPointToRect(e.x, e.y, e.width, e.height, a.x, a.y,
|
|
61
|
-
return t.set(
|
|
60
|
+
var n = projectPointToRect(e.x, e.y, e.width, e.height, a.x, a.y, X);
|
|
61
|
+
return t.set(X[0], X[1]), n;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/**
|
|
@@ -78,16 +78,16 @@ function nearestPointOnRect(a, e, t) {
|
|
|
78
78
|
break;
|
|
79
79
|
|
|
80
80
|
case N.L:
|
|
81
|
-
d = projectPointToLine(i, o, c[b], c[b + 1], h, L,
|
|
81
|
+
d = projectPointToLine(i, o, c[b], c[b + 1], h, L, X, !0), i = c[b++], o = c[b++];
|
|
82
82
|
break;
|
|
83
83
|
|
|
84
84
|
case N.C:
|
|
85
|
-
d = v(i, o, c[b++], c[b++], c[b++], c[b++], c[b], c[b + 1], h, L,
|
|
85
|
+
d = v(i, o, c[b++], c[b++], c[b++], c[b++], c[b], c[b + 1], h, L, X), i = c[b++],
|
|
86
86
|
o = c[b++];
|
|
87
87
|
break;
|
|
88
88
|
|
|
89
89
|
case N.Q:
|
|
90
|
-
d = f(i, o, c[b++], c[b++], c[b], c[b + 1], h, L,
|
|
90
|
+
d = f(i, o, c[b++], c[b++], c[b], c[b + 1], h, L, X), i = c[b++], o = c[b++];
|
|
91
91
|
break;
|
|
92
92
|
|
|
93
93
|
case N.A:
|
|
@@ -100,24 +100,24 @@ function nearestPointOnRect(a, e, t) {
|
|
|
100
100
|
// 不是直接使用 arc 命令
|
|
101
101
|
b <= 1 && (
|
|
102
102
|
// 第一个命令起点还未定义
|
|
103
|
-
s = n, l = r), d = projectPointToArc(g, p, P, m, m + w, A, (h - g) * P / y + g, L,
|
|
103
|
+
s = n, l = r), d = projectPointToArc(g, p, P, m, m + w, A, (h - g) * P / y + g, L, X),
|
|
104
104
|
i = Math.cos(m + w) * y + g, o = Math.sin(m + w) * P + p;
|
|
105
105
|
break;
|
|
106
106
|
|
|
107
107
|
case N.R:
|
|
108
|
-
d = projectPointToRect(s = i = c[b++], l = o = c[b++], c[b++], c[b++], h, L,
|
|
108
|
+
d = projectPointToRect(s = i = c[b++], l = o = c[b++], c[b++], c[b++], h, L, X);
|
|
109
109
|
break;
|
|
110
110
|
|
|
111
111
|
case N.Z:
|
|
112
|
-
d = projectPointToLine(i, o, s, l, h, L,
|
|
112
|
+
d = projectPointToLine(i, o, s, l, h, L, X, !0), i = s, o = l;
|
|
113
113
|
}
|
|
114
|
-
d < u && (u = d, t.set(
|
|
114
|
+
d < u && (u = d, t.set(X[0], X[1]));
|
|
115
115
|
}
|
|
116
116
|
return u;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
// Temporal variable for intermediate usage.
|
|
120
|
-
var
|
|
120
|
+
var q = new a, F = new a, G = new a, H = new a, Y = new a;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* Calculate a proper guide line based on the label position and graphic element definition
|
|
@@ -134,17 +134,17 @@ function updateLabelLinePoints(e, t) {
|
|
|
134
134
|
var i = e.textGuideLineConfig || {}, o = [ [ 0, 0 ], [ 0, 0 ], [ 0, 0 ] ], s = i.candidates || z, c = r.getBoundingRect().clone();
|
|
135
135
|
c.applyTransform(r.getComputedTransform());
|
|
136
136
|
var f = 1 / 0, v = i.anchor, h = e.getComputedTransform(), L = h && l([], h), b = t.get("length2") || 0;
|
|
137
|
-
v &&
|
|
137
|
+
v && G.copy(v);
|
|
138
138
|
for (var M = 0; M < s.length; M++) {
|
|
139
|
-
getCandidateAnchor(s[M], 0, c,
|
|
139
|
+
getCandidateAnchor(s[M], 0, c, q, H), a.scaleAndAdd(F, q, H, b),
|
|
140
140
|
// Transform to target coord space.
|
|
141
|
-
|
|
141
|
+
F.transform(L);
|
|
142
142
|
// Note: getBoundingRect will ensure the `path` being created.
|
|
143
|
-
var d = e.getBoundingRect(), g = v ? v.distance(
|
|
143
|
+
var d = e.getBoundingRect(), g = v ? v.distance(F) : e instanceof u ? nearestPointOnPath(F, e.path, G) : nearestPointOnRect(F, d, G);
|
|
144
144
|
// TODO pt2 is in the path
|
|
145
145
|
g < f && (f = g,
|
|
146
146
|
// Transform back to global space.
|
|
147
|
-
|
|
147
|
+
F.transform(h), G.transform(h), G.toArray(o[0]), F.toArray(o[1]), q.toArray(o[2]));
|
|
148
148
|
}
|
|
149
149
|
limitTurnAngle(o, t.get("minTurnAngle")), n.setShape({
|
|
150
150
|
points: o
|
|
@@ -154,7 +154,7 @@ function updateLabelLinePoints(e, t) {
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
// Temporal variable for the limitTurnAngle function
|
|
157
|
-
var
|
|
157
|
+
var B = [], E = new a;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* Reduce the line segment attached to the label to limit the turn angle between two segments.
|
|
@@ -168,22 +168,22 @@ function limitTurnAngle(e, t) {
|
|
|
168
168
|
// /pt1----pt2 (label)
|
|
169
169
|
// /
|
|
170
170
|
// pt0/
|
|
171
|
-
|
|
172
|
-
var n =
|
|
171
|
+
q.fromArray(e[0]), F.fromArray(e[1]), G.fromArray(e[2]), a.sub(H, q, F), a.sub(Y, G, F);
|
|
172
|
+
var n = H.len(), r = Y.len();
|
|
173
173
|
if (!(n < .001 || r < .001)) {
|
|
174
|
-
|
|
175
|
-
var i =
|
|
174
|
+
H.scale(1 / n), Y.scale(1 / r);
|
|
175
|
+
var i = H.dot(Y);
|
|
176
176
|
if (Math.cos(t) < i) {
|
|
177
177
|
// Smaller than minTurnAngle
|
|
178
178
|
// Calculate project point of pt0 on pt1-pt2
|
|
179
|
-
var o = projectPointToLine(
|
|
180
|
-
|
|
179
|
+
var o = projectPointToLine(F.x, F.y, G.x, G.y, q.x, q.y, B, !1);
|
|
180
|
+
E.fromArray(B),
|
|
181
181
|
// Calculate new projected length with limited minTurnAngle and get the new connect point
|
|
182
|
-
|
|
182
|
+
E.scaleAndAdd(Y, o / Math.tan(Math.PI - t));
|
|
183
183
|
// Limit the new calculated connect point between pt1 and pt2.
|
|
184
|
-
var s =
|
|
184
|
+
var s = G.x !== F.x ? (E.x - F.x) / (G.x - F.x) : (E.y - F.y) / (G.y - F.y);
|
|
185
185
|
if (isNaN(s)) return;
|
|
186
|
-
s < 0 ? a.copy(
|
|
186
|
+
s < 0 ? a.copy(E, F) : s > 1 && a.copy(E, G), E.toArray(e[1]);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}
|
|
@@ -194,25 +194,25 @@ function limitTurnAngle(e, t) {
|
|
|
194
194
|
* @param maxSurfaceAngle Radian of minimum turn angle. 0 - 180. 0 is same direction to normal. 180 is opposite
|
|
195
195
|
*/ function limitSurfaceAngle(e, t, n) {
|
|
196
196
|
if (n <= 180 && n > 0) {
|
|
197
|
-
n = n / 180 * Math.PI,
|
|
198
|
-
a.sub(
|
|
199
|
-
var r =
|
|
200
|
-
if (!(r < .001 || i < .001)) if (
|
|
197
|
+
n = n / 180 * Math.PI, q.fromArray(e[0]), F.fromArray(e[1]), G.fromArray(e[2]),
|
|
198
|
+
a.sub(H, F, q), a.sub(Y, G, F);
|
|
199
|
+
var r = H.len(), i = Y.len();
|
|
200
|
+
if (!(r < .001 || i < .001)) if (H.scale(1 / r), Y.scale(1 / i), H.dot(t) < Math.cos(n)) {
|
|
201
201
|
// Calculate project point of pt0 on pt1-pt2
|
|
202
|
-
var o = projectPointToLine(
|
|
203
|
-
|
|
204
|
-
var s = Math.PI / 2, l = s + Math.acos(
|
|
202
|
+
var o = projectPointToLine(F.x, F.y, G.x, G.y, q.x, q.y, B, !1);
|
|
203
|
+
E.fromArray(B);
|
|
204
|
+
var s = Math.PI / 2, l = s + Math.acos(Y.dot(t)) - n;
|
|
205
205
|
if (l >= s)
|
|
206
206
|
// parallel
|
|
207
|
-
a.copy(
|
|
207
|
+
a.copy(E, G); else {
|
|
208
208
|
// Calculate new projected length with limited minTurnAngle and get the new connect point
|
|
209
|
-
|
|
209
|
+
E.scaleAndAdd(Y, o / Math.tan(Math.PI / 2 - l));
|
|
210
210
|
// Limit the new calculated connect point between pt1 and pt2.
|
|
211
|
-
var u =
|
|
211
|
+
var u = G.x !== F.x ? (E.x - F.x) / (G.x - F.x) : (E.y - F.y) / (G.y - F.y);
|
|
212
212
|
if (isNaN(u)) return;
|
|
213
|
-
u < 0 ? a.copy(
|
|
213
|
+
u < 0 ? a.copy(E, F) : u > 1 && a.copy(E, G);
|
|
214
214
|
}
|
|
215
|
-
|
|
215
|
+
E.toArray(e[1]);
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
}
|
|
@@ -310,7 +310,7 @@ function prepareLayoutCallbackParams(a, e) {
|
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
var
|
|
313
|
+
var J = [ "align", "verticalAlign", "width", "height", "fontSize" ], Q = new M, U = L(), V = L();
|
|
314
314
|
|
|
315
315
|
function extendWithKeys(a, e, t) {
|
|
316
316
|
for (var n = 0; n < t.length; n++) {
|
|
@@ -319,7 +319,7 @@ function extendWithKeys(a, e, t) {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
var
|
|
322
|
+
var Z = [ "x", "y", "rotation" ], $ = /** @class */ function() {
|
|
323
323
|
function LabelManager() {
|
|
324
324
|
this._labelList = [], this._chartViewList = [];
|
|
325
325
|
}
|
|
@@ -331,9 +331,9 @@ var V = [ "x", "y", "rotation" ], $ = /** @class */ function() {
|
|
|
331
331
|
*/
|
|
332
332
|
LabelManager.prototype._addLabel = function(a, e, t, n, r) {
|
|
333
333
|
var i = n.style, o = n.__hostTarget.textConfig || {}, s = n.getComputedTransform(), l = n.getBoundingRect().plain();
|
|
334
|
-
b.applyTransform(l, l, s), s ?
|
|
334
|
+
b.applyTransform(l, l, s), s ? Q.setLocalTransform(s) : (
|
|
335
335
|
// Identity transform.
|
|
336
|
-
|
|
336
|
+
Q.x = Q.y = Q.rotation = Q.originX = Q.originY = 0, Q.scaleX = Q.scaleY = 1), Q.rotation = h(Q.rotation);
|
|
337
337
|
var u, c = n.__hostTarget;
|
|
338
338
|
if (c) {
|
|
339
339
|
u = c.getBoundingRect().plain();
|
|
@@ -359,11 +359,11 @@ var V = [ "x", "y", "rotation" ], $ = /** @class */ function() {
|
|
|
359
359
|
defaultAttr: {
|
|
360
360
|
ignore: n.ignore,
|
|
361
361
|
labelGuideIgnore: v && v.ignore,
|
|
362
|
-
x:
|
|
363
|
-
y:
|
|
364
|
-
scaleX:
|
|
365
|
-
scaleY:
|
|
366
|
-
rotation:
|
|
362
|
+
x: Q.x,
|
|
363
|
+
y: Q.y,
|
|
364
|
+
scaleX: Q.scaleX,
|
|
365
|
+
scaleY: Q.scaleY,
|
|
366
|
+
rotation: Q.rotation,
|
|
367
367
|
style: {
|
|
368
368
|
x: i.x,
|
|
369
369
|
y: i.y,
|
|
@@ -432,10 +432,10 @@ var V = [ "x", "y", "rotation" ], $ = /** @class */ function() {
|
|
|
432
432
|
// Not update
|
|
433
433
|
c = !1);
|
|
434
434
|
}
|
|
435
|
-
|
|
435
|
+
U(i).needsUpdateLabelLine = c, i.rotation = null != l.rotate ? l.rotate * u : s.rotation,
|
|
436
436
|
i.scaleX = s.scaleX, i.scaleY = s.scaleY;
|
|
437
|
-
for (var v = 0; v <
|
|
438
|
-
var h =
|
|
437
|
+
for (var v = 0; v < J.length; v++) {
|
|
438
|
+
var h = J[v];
|
|
439
439
|
i.setStyle(h, null != l[h] ? l[h] : s.style[h]);
|
|
440
440
|
}
|
|
441
441
|
if (l.draggable) {
|
|
@@ -471,7 +471,7 @@ var V = [ "x", "y", "rotation" ], $ = /** @class */ function() {
|
|
|
471
471
|
if (e.ignore && !e.forceLabelAnimation) return !0;
|
|
472
472
|
// Stop traverse descendants.
|
|
473
473
|
var i = !n, o = e.getTextContent();
|
|
474
|
-
!i && o && (i =
|
|
474
|
+
!i && o && (i = U(o).needsUpdateLabelLine), i && a._updateLabelLine(e, t), r && a._animateLabels(e, t);
|
|
475
475
|
}));
|
|
476
476
|
}));
|
|
477
477
|
}, LabelManager.prototype._updateLabelLine = function(a, e) {
|
|
@@ -493,7 +493,7 @@ var V = [ "x", "y", "rotation" ], $ = /** @class */ function() {
|
|
|
493
493
|
var n = a.getTextContent(), r = a.getTextGuideLine();
|
|
494
494
|
// Animate
|
|
495
495
|
if (n && (a.forceLabelAnimation || !n.ignore && !n.invisible && !a.disableLabelAnimation && !x(a))) {
|
|
496
|
-
var i = (L =
|
|
496
|
+
var i = (L = U(n)).oldLayout, o = p(a), s = o.dataIndex, l = {
|
|
497
497
|
x: n.x,
|
|
498
498
|
y: n.y,
|
|
499
499
|
rotation: n.rotation
|
|
@@ -517,16 +517,16 @@ var V = [ "x", "y", "rotation" ], $ = /** @class */ function() {
|
|
|
517
517
|
}
|
|
518
518
|
if (L.oldLayout = l, n.states.select) {
|
|
519
519
|
var v = L.oldLayoutSelect = {};
|
|
520
|
-
extendWithKeys(v, l,
|
|
520
|
+
extendWithKeys(v, l, Z), extendWithKeys(v, n.states.select, Z);
|
|
521
521
|
}
|
|
522
522
|
if (n.states.emphasis) {
|
|
523
523
|
var h = L.oldLayoutEmphasis = {};
|
|
524
|
-
extendWithKeys(h, l,
|
|
524
|
+
extendWithKeys(h, l, Z), extendWithKeys(h, n.states.emphasis, Z);
|
|
525
525
|
}
|
|
526
526
|
O(n, s, u, e, e);
|
|
527
527
|
}
|
|
528
528
|
if (r && !r.ignore && !r.invisible) {
|
|
529
|
-
i = (L =
|
|
529
|
+
i = (L = V(r)).oldLayout;
|
|
530
530
|
var L, b = {
|
|
531
531
|
points: r.shape.points
|
|
532
532
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e, c as t, h as i, g as n } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a = class {
|
|
4
4
|
constructor(i) {
|
|
5
5
|
e(this, i), this.badge = t(this, "badge", 7), this.onIFrameLoad = e => {
|
|
6
6
|
const t = e.target;
|
|
@@ -41,7 +41,7 @@ const o = class {
|
|
|
41
41
|
// #region Render Methods
|
|
42
42
|
render() {
|
|
43
43
|
return i("div", {
|
|
44
|
-
key: "
|
|
44
|
+
key: "313fa13779cd8ecb5439b1a96cb7aaf17f6c871b",
|
|
45
45
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
46
46
|
class: "tab-pane" + (this.selected ? "" : " hidden"),
|
|
47
47
|
role: "tabpanel",
|
|
@@ -49,12 +49,12 @@ const o = class {
|
|
|
49
49
|
"aria-hidden": `${!this.selected}`,
|
|
50
50
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
51
51
|
}, this.selected && void 0 !== this.provided && !this.provided && i("div", {
|
|
52
|
-
key: "
|
|
52
|
+
key: "5207414b205d1e9a25fb1455ca21ff7cc913a5fd"
|
|
53
53
|
}, i("slot", {
|
|
54
|
-
key: "
|
|
54
|
+
key: "d883e909e38981f315bc1cab9ef57957a616c0d5",
|
|
55
55
|
name: "loading-wrapper"
|
|
56
56
|
}), i("iframe", {
|
|
57
|
-
key: "
|
|
57
|
+
key: "2f0233d04d3c5be619cb54bfe637252a7ef42d77",
|
|
58
58
|
hidden: !0,
|
|
59
59
|
name: this.moduleId,
|
|
60
60
|
scrolling: "no",
|
|
@@ -77,11 +77,11 @@ const o = class {
|
|
|
77
77
|
value: e.value,
|
|
78
78
|
name: e.key
|
|
79
79
|
})))) : ""), i("div", {
|
|
80
|
-
key: "
|
|
80
|
+
key: "ae5ee8d5a5a7d1b798f4111b33120d301b86a16b",
|
|
81
81
|
class: "slot-wrapper",
|
|
82
82
|
hidden: this.selected && void 0 !== this.provided && !this.provided
|
|
83
83
|
}, i("slot", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "cb1057d2b6cb467a25da1577610bfcc5b6300047"
|
|
85
85
|
})));
|
|
86
86
|
}
|
|
87
87
|
get hostElement() {
|
|
@@ -108,6 +108,6 @@ const o = class {
|
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
a.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}.tab-pane[aria-hidden=true]{display:none}.tab-pane:focus{outline:none;box-shadow:none}.loading-wrapper{height:44px;width:100%;align-items:center;justify-content:center}.loading-wrapper:not([hidden]){display:flex}iframe{width:100%;height:auto;overflow-y:hidden;border:none}iframe:not([hidden]){display:inline-block}.slot-wrapper:focus-visible{outline:none;box-shadow:var(--const-global-focus)}';
|
|
112
112
|
|
|
113
|
-
export {
|
|
113
|
+
export { a as tecton_tab_pane }
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { Q2OptionListCustomEvent } from "../../components";
|
|
3
|
-
import type { ActionSheetListCloseData, ActionSheetData, ActionSheetListData, ActionSheetMessageData, ActionSheetSelectedOption, ActionSheetListOption, ActionSheetListOptgroup } from 'q2-tecton-common/lib/types/action-sheet';
|
|
3
|
+
import type { ActionSheetDatePickerData, ActionSheetListCloseData, ActionSheetData, ActionSheetListData, ActionSheetMessageData, ActionSheetSelectedOption, ActionSheetListOption, ActionSheetListOptgroup } from 'q2-tecton-common/lib/types/action-sheet';
|
|
4
|
+
import type { DatePickerCloseDetail } from "../../utils/date-picker/date-picker-types";
|
|
4
5
|
/**
|
|
5
6
|
* @name Action Sheet
|
|
6
7
|
* @category Display
|
|
7
8
|
* @summary Use for presenting a modal sheet.
|
|
8
9
|
*/
|
|
9
10
|
export declare class Q2ActionSheet implements ComponentInterface {
|
|
11
|
+
bodyOverflow: string;
|
|
10
12
|
closeButtonElement: HTMLQ2BtnElement;
|
|
11
13
|
contentElement: HTMLDivElement;
|
|
12
14
|
dialogElement: HTMLDialogElement;
|
|
@@ -15,6 +17,12 @@ export declare class Q2ActionSheet implements ComponentInterface {
|
|
|
15
17
|
maxHeight: number;
|
|
16
18
|
minHeight: number;
|
|
17
19
|
optionListElement: HTMLQ2OptionListElement;
|
|
20
|
+
rootOverflow: string;
|
|
21
|
+
selectedDate: {
|
|
22
|
+
rangeEnd?: string;
|
|
23
|
+
rangeStart?: string;
|
|
24
|
+
value?: string;
|
|
25
|
+
};
|
|
18
26
|
selectedOptions: {
|
|
19
27
|
values: ActionSheetSelectedOption[];
|
|
20
28
|
value: string;
|
|
@@ -69,6 +77,13 @@ export declare class Q2ActionSheet implements ComponentInterface {
|
|
|
69
77
|
hidePostHook(): void;
|
|
70
78
|
onCancel: (event: Event) => void;
|
|
71
79
|
onClick: (event: MouseEvent) => void;
|
|
80
|
+
onDatePickerCancel: (event: Event) => void;
|
|
81
|
+
onDatePickerChange: (event: CustomEvent<{
|
|
82
|
+
rangeEnd?: string;
|
|
83
|
+
rangeStart?: string;
|
|
84
|
+
value?: string;
|
|
85
|
+
}>) => void;
|
|
86
|
+
onDatePickerClose: (event: CustomEvent<DatePickerCloseDetail | void>) => void;
|
|
72
87
|
onListChange: (event: Q2OptionListCustomEvent<{
|
|
73
88
|
value: string;
|
|
74
89
|
values: ActionSheetSelectedOption[];
|
|
@@ -78,9 +93,14 @@ export declare class Q2ActionSheet implements ComponentInterface {
|
|
|
78
93
|
open: boolean;
|
|
79
94
|
action: "close" | "select" | "open";
|
|
80
95
|
}>) => void;
|
|
96
|
+
onViewportResize: () => void;
|
|
97
|
+
restorePageScroll(): void;
|
|
81
98
|
showPreHook(): void;
|
|
82
99
|
storeInitialValues(): void;
|
|
83
100
|
updateDialogMinMaxHeight(): void;
|
|
101
|
+
renderDatePicker: ({ data }: {
|
|
102
|
+
data: ActionSheetDatePickerData;
|
|
103
|
+
}) => any;
|
|
84
104
|
renderList: ({ data }: {
|
|
85
105
|
data: ActionSheetListData;
|
|
86
106
|
}) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,6 +8,9 @@ import { ComponentInterface } from '../../stencil-public-runtime';
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class Q2Avatar implements ComponentInterface {
|
|
10
10
|
private decoratorObserver;
|
|
11
|
+
private initialsFontScale;
|
|
12
|
+
private initialsResizeObserver;
|
|
13
|
+
private observedInitialsText;
|
|
11
14
|
el: HTMLElement;
|
|
12
15
|
badSrc: boolean;
|
|
13
16
|
hasDecorator: boolean;
|
|
@@ -31,9 +34,11 @@ export declare class Q2Avatar implements ComponentInterface {
|
|
|
31
34
|
disconnectedCallback(): void;
|
|
32
35
|
componentWillLoad(): void;
|
|
33
36
|
componentDidLoad(): void;
|
|
37
|
+
componentDidRender(): void;
|
|
34
38
|
srcDidUpdate(): void;
|
|
35
39
|
get computedInitials(): string;
|
|
36
40
|
checkDecorator(): void;
|
|
41
|
+
private fitInitials;
|
|
37
42
|
onError: () => void;
|
|
38
43
|
onLoad: () => void;
|
|
39
44
|
private setupDecoratorObserver;
|
|
@@ -53,16 +53,20 @@ export declare class Q2Btn implements ComponentInterface {
|
|
|
53
53
|
form: string;
|
|
54
54
|
/**
|
|
55
55
|
* Hides the `label`, and assigns its value to the `aria-label` attribute on the `<button>` element.
|
|
56
|
+
* @warning
|
|
57
|
+
* Hides the label visually. `label` text is still required for screenreader compliance. Use for icon-only buttons.
|
|
56
58
|
*/
|
|
57
59
|
hideLabel: boolean;
|
|
58
60
|
/**
|
|
59
|
-
* Indicates the
|
|
61
|
+
* Indicates the intended action type, which applies the appropriate styling.
|
|
62
|
+
* Use unprefixed values by default. The legacy `workflow-` prefix remains supported for backward compatibility.
|
|
60
63
|
*/
|
|
61
|
-
intent: 'coin' | 'neutral-text' | 'neutral' | 'workflow-destroy' | 'workflow-escape' | 'workflow-primary' | 'workflow-secondary';
|
|
64
|
+
intent: 'coin' | 'destroy' | 'escape' | 'neutral-text' | 'neutral' | 'primary' | 'secondary' | 'workflow-destroy' | 'workflow-escape' | 'workflow-primary' | 'workflow-secondary';
|
|
62
65
|
/**
|
|
63
66
|
* Defines the text content of the button if it is not provided in the `<slot>` of the element.
|
|
64
67
|
* Also used for the `aria-label` of the `<button>` element when only displaying an icon.
|
|
65
|
-
*
|
|
68
|
+
* @warning
|
|
69
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
66
70
|
* @localizable
|
|
67
71
|
*/
|
|
68
72
|
label: string;
|
|
@@ -106,7 +106,11 @@ export declare class Q2Calendar implements ComponentInterface {
|
|
|
106
106
|
* @localizable
|
|
107
107
|
*/
|
|
108
108
|
errors: string[];
|
|
109
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Hide the input field's ` <label> ` element from view.
|
|
111
|
+
* @warning
|
|
112
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
113
|
+
*/
|
|
110
114
|
hideLabel: boolean;
|
|
111
115
|
/**
|
|
112
116
|
* Each item in the `hints` array will appear below the input field when the field is focused and `typeable` is true.
|
|
@@ -125,7 +129,11 @@ export declare class Q2Calendar implements ComponentInterface {
|
|
|
125
129
|
* When explicit date definitions like `invalidDates` is used, other date validity methods like `daysOfWeekChecksum` are overriden.
|
|
126
130
|
*/
|
|
127
131
|
invalidDates: string[];
|
|
128
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* The visible label for the `q2-calendar` input field.
|
|
134
|
+
* @warning
|
|
135
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
136
|
+
*/
|
|
129
137
|
label: string;
|
|
130
138
|
/** @deprecated */
|
|
131
139
|
onsuccess: (e: CustomEvent) => void;
|
|
@@ -13,6 +13,10 @@ export declare class Q2Carousel implements ComponentInterface {
|
|
|
13
13
|
guid: number;
|
|
14
14
|
mutationObserver: MutationObserver;
|
|
15
15
|
paneResizeObserver?: ResizeObserver;
|
|
16
|
+
pendingPaginationFocus?: {
|
|
17
|
+
index: number;
|
|
18
|
+
source: Element;
|
|
19
|
+
};
|
|
16
20
|
swiper?: Swiper;
|
|
17
21
|
syncPaneHeightFrame?: number;
|
|
18
22
|
universalCarouselOptions: SwiperOptions;
|
|
@@ -78,6 +82,7 @@ export declare class Q2Carousel implements ComponentInterface {
|
|
|
78
82
|
disconnectedCallback(): void;
|
|
79
83
|
componentWillLoad(): void;
|
|
80
84
|
componentDidLoad(): void;
|
|
85
|
+
componentDidRender(): void;
|
|
81
86
|
carouselPaneClicked(event: any): void;
|
|
82
87
|
delegateFocus(event: FocusEvent): void;
|
|
83
88
|
/**
|
|
@@ -11,8 +11,15 @@ export declare class Q2ChartArea implements ComponentInterface {
|
|
|
11
11
|
chartContainer: HTMLDivElement;
|
|
12
12
|
chartContainerStyles: CSSStyleDeclaration;
|
|
13
13
|
hostElementStyles: CSSStyleDeclaration;
|
|
14
|
+
keyboard: {
|
|
15
|
+
onFocus: () => void;
|
|
16
|
+
onBlur: () => void;
|
|
17
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
18
|
+
refresh: () => void;
|
|
19
|
+
};
|
|
14
20
|
resizeEventListener: EventListener;
|
|
15
21
|
hostElement: HTMLElement;
|
|
22
|
+
keyboardIndex: number | null;
|
|
16
23
|
/** Controls alignment of the chart name when its visible. */
|
|
17
24
|
alignChartName: 'left' | 'right' | 'center';
|
|
18
25
|
/**
|
|
@@ -123,7 +130,7 @@ export declare class Q2ChartArea implements ComponentInterface {
|
|
|
123
130
|
/** Controls the yAxis min value. */
|
|
124
131
|
yMin: number;
|
|
125
132
|
/**
|
|
126
|
-
* Emitted when a data point is
|
|
133
|
+
* Emitted when a data point is explored using the chart pointer or keyboard.
|
|
127
134
|
* @deprecated Use 'tctChange' instead
|
|
128
135
|
*/
|
|
129
136
|
change: EventEmitter<{
|
|
@@ -131,7 +138,7 @@ export declare class Q2ChartArea implements ComponentInterface {
|
|
|
131
138
|
data: ChartData;
|
|
132
139
|
}>;
|
|
133
140
|
/**
|
|
134
|
-
* Emitted when a data point is
|
|
141
|
+
* Emitted when a data point is explored using the chart pointer or keyboard.
|
|
135
142
|
*/
|
|
136
143
|
tctChange: EventEmitter<{
|
|
137
144
|
index: number;
|
|
@@ -139,6 +146,7 @@ export declare class Q2ChartArea implements ComponentInterface {
|
|
|
139
146
|
}>;
|
|
140
147
|
disconnectedCallback(): void;
|
|
141
148
|
componentDidLoad(): void;
|
|
149
|
+
delegateFocus(event: FocusEvent): void;
|
|
142
150
|
/**
|
|
143
151
|
* A method to fire change event on hover on a point.
|
|
144
152
|
*
|
|
@@ -146,6 +154,7 @@ export declare class Q2ChartArea implements ComponentInterface {
|
|
|
146
154
|
*/
|
|
147
155
|
hoverDataPoint(index: number): Promise<void>;
|
|
148
156
|
propsUpdates(): void;
|
|
157
|
+
get keyboardDescription(): string;
|
|
149
158
|
cacheComputedStyles(): void;
|
|
150
159
|
getAreaFill(): any;
|
|
151
160
|
getColor(color: string): any;
|
|
@@ -12,8 +12,15 @@ export declare class Q2ChartBar implements ComponentInterface {
|
|
|
12
12
|
chartContainerStyles: CSSStyleDeclaration;
|
|
13
13
|
chartFinishedListener: () => void;
|
|
14
14
|
hostElementStyles: CSSStyleDeclaration;
|
|
15
|
+
keyboard: {
|
|
16
|
+
onFocus: () => void;
|
|
17
|
+
onBlur: () => void;
|
|
18
|
+
onKeyDown: (event: KeyboardEvent) => void;
|
|
19
|
+
refresh: () => void;
|
|
20
|
+
};
|
|
15
21
|
resizeEventListener: EventListener;
|
|
16
22
|
hostElement: HTMLElement;
|
|
23
|
+
keyboardIndex: number | null;
|
|
17
24
|
/** Controls alignment of the chart name when its visible. */
|
|
18
25
|
alignChartName: 'left' | 'right' | 'center';
|
|
19
26
|
/**
|
|
@@ -98,7 +105,9 @@ export declare class Q2ChartBar implements ComponentInterface {
|
|
|
98
105
|
sort: boolean;
|
|
99
106
|
disconnectedCallback(): void;
|
|
100
107
|
componentDidLoad(): void;
|
|
108
|
+
delegateFocus(event: FocusEvent): void;
|
|
101
109
|
propsUpdates(): void;
|
|
110
|
+
get keyboardDescription(): string;
|
|
102
111
|
cacheComputedStyles(): void;
|
|
103
112
|
getColor(color: string): any;
|
|
104
113
|
processData(data: ChartData[]): {
|
|
@@ -23,6 +23,7 @@ export declare class Q2ChartDonut implements ComponentInterface {
|
|
|
23
23
|
resizeObserver: ResizeObserver;
|
|
24
24
|
hostElement: HTMLElement;
|
|
25
25
|
hoveredId: string;
|
|
26
|
+
keyboardAnnouncement: string;
|
|
26
27
|
legendData: DonutChartData[];
|
|
27
28
|
/**
|
|
28
29
|
* The title of the chart. We recommend always including this for accessibility purposes.
|
|
@@ -44,10 +44,9 @@ export declare class Q2Checkbox implements ComponentInterface {
|
|
|
44
44
|
/** Determines if the component should display in an errant state. */
|
|
45
45
|
hasError: boolean;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
47
|
+
* Hides the field's `<label>` element from view.
|
|
49
48
|
* @warning
|
|
50
|
-
*
|
|
49
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
51
50
|
*/
|
|
52
51
|
hideLabel: boolean;
|
|
53
52
|
/**
|
|
@@ -60,6 +59,8 @@ export declare class Q2Checkbox implements ComponentInterface {
|
|
|
60
59
|
/**
|
|
61
60
|
* The visible label text for the checkbox. Appears to the right of the box for 'default' and 'favorite' checkboxes, and to the left for 'toggle' checkboxes.
|
|
62
61
|
* Yielded content will be adjacent to this text.
|
|
62
|
+
* @warning
|
|
63
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
63
64
|
* @localizable
|
|
64
65
|
*/
|
|
65
66
|
label: string;
|
|
@@ -14,13 +14,15 @@ export declare class Q2CheckboxGroup implements ComponentInterface {
|
|
|
14
14
|
/** Determines if the component should display in an errant state. */
|
|
15
15
|
hasError: boolean;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Hides the group's `<label>` element from view.
|
|
18
18
|
* @warning
|
|
19
|
-
*
|
|
19
|
+
* Hides the label visually. `label` text is still required for screenreader compliance.
|
|
20
20
|
*/
|
|
21
21
|
hideLabel: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* The label that displays above all the checkboxes.
|
|
24
|
+
* @warning
|
|
25
|
+
* Required for screen reader compliance even when `hideLabel` is `true`.
|
|
24
26
|
* @localizable
|
|
25
27
|
*/
|
|
26
28
|
label: string;
|