q2-tecton-elements 1.72.0 → 1.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +39545 -34361
- package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
- package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
- package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
- package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
- package/dist/cjs/q2-avatar.cjs.entry.js +34 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
- package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
- package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
- package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
- package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
- package/dist/cjs/q2-context.cjs.entry.js +4 -4
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
- package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
- package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +20 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +3 -3
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +5 -5
- package/dist/cjs/q2-pagination.cjs.entry.js +12 -6
- package/dist/cjs/q2-pill.cjs.entry.js +8 -5
- package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-search.cjs.entry.js +3 -3
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +8 -4
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-surface.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
- package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
- package/dist/collection/components/q2-avatar/q2-avatar.js +34 -1
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +79 -4
- package/dist/collection/components/q2-btn/q2-btn.css +84 -136
- package/dist/collection/components/q2-btn/q2-btn.js +10 -4
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
- package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
- package/dist/collection/components/q2-context/q2-context.js +3 -3
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
- package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
- package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
- package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/formatting/phone-number-formats.js +1 -1
- package/dist/collection/components/q2-input/q2-input.js +6 -3
- package/dist/collection/components/q2-item/q2-item.js +19 -1
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.css +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-message/test/q2-message-test.vr.js +11 -2
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
- package/dist/collection/components/q2-otp/q2-otp.js +4 -4
- package/dist/collection/components/q2-pagination/q2-pagination.css +17 -0
- package/dist/collection/components/q2-pagination/q2-pagination.js +10 -4
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +39 -0
- package/dist/collection/components/q2-pill/q2-pill.css +14 -10
- package/dist/collection/components/q2-pill/q2-pill.js +6 -3
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +25 -0
- package/dist/collection/components/q2-popover/q2-popover.css +1 -0
- package/dist/collection/components/q2-popover/q2-popover.js +43 -8
- package/dist/collection/components/q2-radio/q2-radio.js +5 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.js +6 -3
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +12 -5
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-surface/q2-surface.js +1 -1
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +6 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/chart-keyboard.js +76 -0
- package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
- package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
- package/dist/collection/utils/index.js +1 -1
- package/dist/components/charting.js +1603 -1532
- package/dist/components/dataSample.js +7 -7
- package/dist/components/index.js +57 -53
- package/dist/components/index2.js +2 -2
- package/dist/components/q2-action-sheet.js +224 -103
- package/dist/components/q2-avatar2.js +41 -27
- package/dist/components/q2-btn2.js +2 -2
- package/dist/components/q2-calendar.js +6 -3
- package/dist/components/q2-card-image.js +2 -2
- package/dist/components/q2-carousel-pane2.js +3 -3
- package/dist/components/q2-carousel.js +37 -24
- package/dist/components/q2-chart-area.js +415 -369
- package/dist/components/q2-chart-bar.js +193 -148
- package/dist/components/q2-chart-donut.js +185 -158
- package/dist/components/q2-checkbox-group.js +6 -6
- package/dist/components/q2-checkbox2.js +11 -11
- package/dist/components/q2-context.js +20 -20
- package/dist/components/q2-currency.js +9 -9
- package/dist/components/q2-data-table.js +111 -111
- package/dist/components/q2-date-calendar.d.ts +11 -0
- package/dist/components/q2-date-calendar.js +5 -0
- package/dist/components/q2-date-calendar2.js +678 -0
- package/dist/components/q2-date-picker.d.ts +11 -0
- package/dist/components/q2-date-picker.js +5 -0
- package/dist/components/q2-date-picker2.js +875 -0
- package/dist/components/q2-detail.js +3 -3
- package/dist/components/q2-dropdown.js +17 -17
- package/dist/components/q2-editable-field.js +16 -5
- package/dist/components/q2-example.js +11 -11
- package/dist/components/q2-file-picker.js +1 -1
- package/dist/components/q2-form.js +6 -6
- package/dist/components/q2-formatted-text.js +2 -2
- package/dist/components/q2-input2.js +6 -6
- package/dist/components/q2-item2.js +32 -22
- package/dist/components/q2-legend2.js +7 -7
- package/dist/components/q2-list2.js +6 -6
- package/dist/components/q2-message2.js +10 -10
- package/dist/components/q2-meter.js +7 -7
- package/dist/components/q2-modal.js +22 -22
- package/dist/components/q2-month-picker.js +17 -17
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +55 -34
- package/dist/components/q2-otp.js +8 -8
- package/dist/components/q2-pagination.js +70 -68
- package/dist/components/q2-pill.js +51 -46
- package/dist/components/q2-popover2.js +70 -49
- package/dist/components/q2-radio-group.js +7 -7
- package/dist/components/q2-radio.js +6 -6
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +17 -17
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-pane.js +29 -29
- package/dist/components/q2-stepper-vertical.js +4 -4
- package/dist/components/q2-stepper.js +57 -57
- package/dist/components/q2-surface.js +3 -3
- package/dist/components/q2-tab-container.js +21 -21
- package/dist/components/q2-tab-pane.js +6 -6
- package/dist/components/q2-tag2.js +8 -6
- package/dist/components/q2-textarea.js +3 -3
- package/dist/components/sectorHelper.js +78 -78
- package/dist/components/tecton-tab-pane.js +10 -10
- package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
- package/dist/esm/click-elsewhere_3.entry.js +81 -14
- package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
- package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
- package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +99 -19
- package/dist/esm/q2-avatar.entry.js +34 -1
- package/dist/esm/q2-badge_2.entry.js +3 -3
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +9 -4
- package/dist/esm/q2-card-image.entry.js +3 -3
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +20 -6
- package/dist/esm/q2-chart-area.entry.js +38 -7
- package/dist/esm/q2-chart-bar.entry.js +39 -8
- package/dist/esm/q2-chart-donut.entry.js +31 -13
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox_2.entry.js +8 -5
- package/dist/esm/q2-context.entry.js +4 -4
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +7 -7
- package/dist/esm/q2-date-calendar.entry.js +450 -0
- package/dist/esm/q2-date-picker_2.entry.js +965 -0
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +3 -3
- package/dist/esm/q2-editable-field.entry.js +20 -7
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +2 -2
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +20 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +3 -3
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +5 -5
- package/dist/esm/q2-pagination.entry.js +12 -6
- package/dist/esm/q2-pill.entry.js +8 -5
- package/dist/esm/q2-radio-group.entry.js +2 -2
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-search.entry.js +3 -3
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +8 -4
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-surface.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +2 -2
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
- package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
- package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
- package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
- package/dist/q2-tecton-elements/q2-avatar.entry.js +24 -10
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
- package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
- package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
- package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
- package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +29 -29
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-pagination.entry.js +51 -49
- package/dist/q2-tecton-elements/q2-pill.entry.js +22 -17
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-search.entry.js +31 -31
- package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
- package/dist/q2-tecton-elements/q2-surface.entry.js +15 -15
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
- package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
- package/dist/types/components/q2-avatar/q2-avatar.d.ts +5 -0
- package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
- package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
- package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
- package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
- package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
- package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
- package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
- package/dist/types/components/q2-input/q2-input.d.ts +4 -2
- package/dist/types/components/q2-item/q2-item.d.ts +3 -0
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
- package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
- package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
- package/dist/types/components/q2-search/q2-search.d.ts +3 -1
- package/dist/types/components/q2-select/q2-select.d.ts +4 -2
- package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
- package/dist/types/components.d.ts +858 -49
- package/dist/types/global.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/chart-keyboard.d.ts +16 -0
- package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
- package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
- package/package.json +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
- package/dist/esm/q2-optgroup.entry.js +0 -68
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as a, h as o, g as i } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { e as r, w as e, h as s } from "./index-
|
|
3
|
+
import { e as r, w as e, h as s } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
import { s as n } from "./sanitize-html-string-DPHNpMWE.js";
|
|
6
6
|
|
|
@@ -110,62 +110,62 @@ const c = class {
|
|
|
110
110
|
render() {
|
|
111
111
|
const t = `${this.renderStatus || ""}`;
|
|
112
112
|
return o("dialog", {
|
|
113
|
-
key: "
|
|
113
|
+
key: "67c724b2e94aa823893cc3477ffa364bc07f3c91",
|
|
114
114
|
ref: t => this.dialogElement = t,
|
|
115
115
|
class: t,
|
|
116
116
|
onCancel: this.onCancel,
|
|
117
117
|
onClick: this.onClick
|
|
118
118
|
}, o("div", {
|
|
119
|
-
key: "
|
|
119
|
+
key: "67b97fe323985b56db793d1cf939192bbfbd424e",
|
|
120
120
|
class: "interior"
|
|
121
121
|
}, this.title && o("header", {
|
|
122
|
-
key: "
|
|
122
|
+
key: "ec0c82831007887e2baeddc50f2b8c0ec24b0d97"
|
|
123
123
|
}, this.title && o("h2", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "10bbd7f9216ce221616acc4c77984aca582eba10",
|
|
125
125
|
class: "title"
|
|
126
126
|
}, this.title), !!this.closable && o("q2-btn", {
|
|
127
|
-
key: "
|
|
127
|
+
key: "8f801bf013c9015c3ae50543067393b26941d3d4",
|
|
128
128
|
class: "btn-close",
|
|
129
129
|
"test-id": "btnClose",
|
|
130
130
|
onClick: this.onCancel,
|
|
131
131
|
label: "tecton.element.modal.close",
|
|
132
132
|
"hide-label": !0
|
|
133
133
|
}, o("q2-icon", {
|
|
134
|
-
key: "
|
|
134
|
+
key: "b546a86894aa6b5dd3576a33eadfa63e21a13590",
|
|
135
135
|
type: "close"
|
|
136
136
|
}))), o("div", {
|
|
137
|
-
key: "
|
|
137
|
+
key: "cdc674c3cee4bca6bda0c60ca2c9f08f83ab4440",
|
|
138
138
|
class: "content",
|
|
139
139
|
ref: t => this.contentElement = t
|
|
140
140
|
}, this.icon && o("div", {
|
|
141
|
-
key: "
|
|
141
|
+
key: "8b8ffc983cecd2ddf1f912db7f00a6ed198a6b16",
|
|
142
142
|
class: "icon"
|
|
143
143
|
}, o("q2-icon", {
|
|
144
|
-
key: "
|
|
144
|
+
key: "cb3430c9216268ed7e8eeea85a83168b2d72ceb1",
|
|
145
145
|
type: this.icon
|
|
146
146
|
})), this.imageSrc && o("div", {
|
|
147
|
-
key: "
|
|
147
|
+
key: "eab34ebad157a6c81a0e24bc726505e3541eac05",
|
|
148
148
|
class: "image"
|
|
149
149
|
}, o("img", {
|
|
150
|
-
key: "
|
|
150
|
+
key: "cdf8e7a1c381a099d811241a410998e16405bda4",
|
|
151
151
|
src: this.imageSrc
|
|
152
152
|
})), s(this.hostElement, "content") && o("slot", {
|
|
153
|
-
key: "
|
|
153
|
+
key: "2674f81de64e3d6069e043f4c0a0db39d70f466a",
|
|
154
154
|
name: "content"
|
|
155
155
|
}), this.description && o("p", {
|
|
156
|
-
key: "
|
|
156
|
+
key: "8dc2a0b031812a6e65012df8d78e5ff3373c117e",
|
|
157
157
|
class: "description"
|
|
158
158
|
}, this.description), this.customMarkup && o("p", {
|
|
159
|
-
key: "
|
|
159
|
+
key: "218d120d1109cff6a1aa79e5b76befbca0ca5857",
|
|
160
160
|
class: "customMarkup",
|
|
161
161
|
innerHTML: n(this.customMarkup)
|
|
162
162
|
})), o("footer", {
|
|
163
|
-
key: "
|
|
163
|
+
key: "ffc5c49fbaabde579fda002a25ac893e798c07de"
|
|
164
164
|
}, o("q2-action-group", {
|
|
165
|
-
key: "
|
|
165
|
+
key: "295cde61c6e9851aab36f3903f892a5775aca76c",
|
|
166
166
|
"full-width": this.fullWidthButton
|
|
167
167
|
}, o("slot", {
|
|
168
|
-
key: "
|
|
168
|
+
key: "e8ece0f36c2647515d82e3cd21b9c36faf731fd2",
|
|
169
169
|
name: "action"
|
|
170
170
|
})))));
|
|
171
171
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as n, h as e, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { l as a, o as i } from "./index-
|
|
3
|
+
import { l as a, o as i } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const r = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -74,54 +74,54 @@ const r = class {
|
|
|
74
74
|
// #region Render Methods
|
|
75
75
|
render() {
|
|
76
76
|
return e("div", {
|
|
77
|
-
key: "
|
|
77
|
+
key: "6e90b90e7720649681c2e95debe81d823095ccd0",
|
|
78
78
|
class: "month-container",
|
|
79
79
|
onKeyDown: this.onMonthKeydown
|
|
80
80
|
}, e("div", {
|
|
81
|
-
key: "
|
|
81
|
+
key: "d1b83fce67fec3beacb73004a02d566f77a5729f",
|
|
82
82
|
class: "navigation"
|
|
83
83
|
}, e("q2-btn", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "0772d6553ee3a75ca829755b3abc7d75ac0fa1aa",
|
|
85
85
|
class: "year-btn",
|
|
86
86
|
onClick: () => this.viewChange.emit({
|
|
87
87
|
view: "year",
|
|
88
88
|
selectedYear: this.year
|
|
89
89
|
})
|
|
90
90
|
}, e("span", {
|
|
91
|
-
key: "
|
|
91
|
+
key: "689e2643923973447a38063260943bfaf98f673c",
|
|
92
92
|
class: "year"
|
|
93
93
|
}, this.year), e("q2-icon", {
|
|
94
|
-
key: "
|
|
94
|
+
key: "590dcf2cf06e4980d70644b5be9e448cfe72abdc",
|
|
95
95
|
class: "year-icon off",
|
|
96
96
|
type: "chevron-down"
|
|
97
97
|
})), e("div", {
|
|
98
|
-
key: "
|
|
98
|
+
key: "3001ad6ece1c302809e27df855c921698b840c56",
|
|
99
99
|
class: "month-controller"
|
|
100
100
|
}, e("div", {
|
|
101
|
-
key: "
|
|
101
|
+
key: "23397576c55f2f5ad32c248459ce986d38f25e5d",
|
|
102
102
|
class: "cal-year-prev-next"
|
|
103
103
|
}, e("q2-btn", {
|
|
104
|
-
key: "
|
|
104
|
+
key: "8d38dd1bc2986e6c43b66c5cf3538adea921b259",
|
|
105
105
|
label: a("tecton.element.calendar.previousYear"),
|
|
106
106
|
"hide-label": !0,
|
|
107
107
|
class: "cal-nav-btn prev-year",
|
|
108
108
|
"test-id": "previousYearButton",
|
|
109
109
|
onClick: () => this.selectYear(this.year - 1)
|
|
110
110
|
}, e("q2-icon", {
|
|
111
|
-
key: "
|
|
111
|
+
key: "55f8e258f83c0209b76efb3798478409ee246133",
|
|
112
112
|
type: "arrow-left"
|
|
113
113
|
})), e("q2-btn", {
|
|
114
|
-
key: "
|
|
114
|
+
key: "578e4c4cd87cf3e25a09d55cb2c20ef0967d44bb",
|
|
115
115
|
label: a("tecton.element.calendar.nextYear"),
|
|
116
116
|
"hide-label": !0,
|
|
117
117
|
class: "cal-nav-btn next-year",
|
|
118
118
|
"test-id": "nextYearButton",
|
|
119
119
|
onClick: () => this.selectYear(this.year + 1)
|
|
120
120
|
}, e("q2-icon", {
|
|
121
|
-
key: "
|
|
121
|
+
key: "f2814f78597a04fca5617b3b59271d6c11221a5c",
|
|
122
122
|
type: "arrow-right"
|
|
123
123
|
}))))), e("div", {
|
|
124
|
-
key: "
|
|
124
|
+
key: "7843d1db40f82116c3f82f544ad045a1f7dabadb",
|
|
125
125
|
class: "month-list",
|
|
126
126
|
onClick: this.onMonthSelection
|
|
127
127
|
}, this.months.map(((t, n) => e("div", {
|
|
@@ -133,7 +133,7 @@ const r = class {
|
|
|
133
133
|
"aria-label": t.label,
|
|
134
134
|
tabindex: n === this.focusedIndex ? 0 : -1
|
|
135
135
|
}, t.abbr))))), this.today && e("div", {
|
|
136
|
-
key: "
|
|
136
|
+
key: "71675483d7a2d770ad8f76b3540d47c10ebb0325",
|
|
137
137
|
class: "today-label"
|
|
138
138
|
}, a("tecton.element.calendar.today"), ": ", this.today));
|
|
139
139
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, g as o } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { c as s, o as r, i as a, l as n } from "./index-
|
|
3
|
+
import { c as s, o as r, i as a, l as n } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
5
|
const c = class {
|
|
6
6
|
constructor(i) {
|
|
@@ -283,7 +283,7 @@ const c = class {
|
|
|
283
283
|
block: !0,
|
|
284
284
|
class: "send-code-button",
|
|
285
285
|
disabled: this.disabled,
|
|
286
|
-
intent: "
|
|
286
|
+
intent: "primary",
|
|
287
287
|
label: this.localizedSendCodeLabel,
|
|
288
288
|
onClick: this.handleSendCodeClick,
|
|
289
289
|
ref: t => this.sendCodeRef = t
|
|
@@ -301,7 +301,7 @@ const c = class {
|
|
|
301
301
|
block: !0,
|
|
302
302
|
class: "submit-button",
|
|
303
303
|
disabled: this.disabled || !this.isComplete,
|
|
304
|
-
intent: "
|
|
304
|
+
intent: "primary",
|
|
305
305
|
label: this.isVerifying ? this.localizedProcessingLabel : this.localizedSubmitLabel,
|
|
306
306
|
loading: this.isVerifying,
|
|
307
307
|
onClick: this.handleSubmitClick
|
|
@@ -309,7 +309,7 @@ const c = class {
|
|
|
309
309
|
}
|
|
310
310
|
render() {
|
|
311
311
|
return i("div", {
|
|
312
|
-
key: "
|
|
312
|
+
key: "8f4ada9f194f1b0995995e946097b3e24a11f605",
|
|
313
313
|
"aria-busy": this.isVerifying ? "true" : void 0,
|
|
314
314
|
"aria-labelledby": this.label ? this.labelId : void 0,
|
|
315
315
|
class: {
|
|
@@ -323,22 +323,22 @@ const c = class {
|
|
|
323
323
|
},
|
|
324
324
|
role: "group"
|
|
325
325
|
}, this.renderSendCodeButton(), i("div", {
|
|
326
|
-
key: "
|
|
326
|
+
key: "099e1ef5ccc09846faf9952772e61ff7644e5085",
|
|
327
327
|
class: {
|
|
328
328
|
"otp-content": !0,
|
|
329
329
|
"send-code-hidden": "ready" === this.state
|
|
330
330
|
}
|
|
331
331
|
}, this.renderLabel(), i("div", {
|
|
332
|
-
key: "
|
|
332
|
+
key: "5ad6ff061779de6562f523148459729d73bbf53a",
|
|
333
333
|
class: "otp-control-group"
|
|
334
334
|
}, i("div", {
|
|
335
|
-
key: "
|
|
335
|
+
key: "d60e93f2d79d0f4b0348a5b581647ece89e9973c",
|
|
336
336
|
class: "fields-shell"
|
|
337
337
|
}, i("div", {
|
|
338
|
-
key: "
|
|
338
|
+
key: "55b515c8a04e664024dcc66e4d894dcb0ddd4ca4",
|
|
339
339
|
class: "fields-container"
|
|
340
340
|
}, i("input", {
|
|
341
|
-
key: "
|
|
341
|
+
key: "b8319da6e91ea06ff5632c72326460c0e532393d",
|
|
342
342
|
"aria-describedby": this.describedBy,
|
|
343
343
|
"aria-invalid": "error" === this.state ? "true" : "false",
|
|
344
344
|
"aria-label": this.inputAriaLabel,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { r as t, c as e, h as i, g as
|
|
1
|
+
import { r as t, c as e, h as i, g as a } from "./index-Cqkz7Bnm.js";
|
|
2
2
|
|
|
3
|
-
import { n
|
|
3
|
+
import { n, o as s, i as o, b as r, l as c } from "./index-CP8pXJ-l.js";
|
|
4
4
|
|
|
5
|
-
import { m as
|
|
5
|
+
import { m as l } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
7
|
-
const
|
|
7
|
+
const h = class {
|
|
8
8
|
constructor(i) {
|
|
9
9
|
t(this, i), this.change = e(this, "change", 7), this.tctChange = e(this, "tctChange", 7),
|
|
10
10
|
/** Determines whether the component uses dynamic resizing behavior. This is disabled when `pagesOnly`, `recordsOnly`, or `stacked` is true. */
|
|
11
11
|
this.autoSize = !0,
|
|
12
12
|
/** Allows the component to be disabled should the state of the page require this */
|
|
13
13
|
this.disabled = !1, this.checkSize = () => {
|
|
14
|
-
const {hostElement: t, containerElement: e} = this, i = this.containerWidth > t.clientWidth;
|
|
15
|
-
this.isSmall =
|
|
14
|
+
const {hostElement: t, containerElement: e} = this, i = parseFloat(getComputedStyle(e).fontSize), a = this.containerWidth > t.clientWidth || t.clientWidth < 42 * i;
|
|
15
|
+
this.isSmall = a, n((() => {
|
|
16
16
|
const t = e.clientWidth, i = this.isSmall ? Math.max(this.containerWidth || 0, t) : t;
|
|
17
17
|
this.containerWidth === i || (this.containerWidth = i, this.checkSize());
|
|
18
18
|
}));
|
|
@@ -20,7 +20,7 @@ const l = class {
|
|
|
20
20
|
if (this.disabled) return;
|
|
21
21
|
const {totalPages: e, inputField: i} = this;
|
|
22
22
|
t = parseInt(`${t}`), isNaN(t) || t < 1 ? t = 1 : t > e && (t = e), i.value !== `${t}` && (i.value = `${t}`),
|
|
23
|
-
this.hostElement.onchange || (this.page = t),
|
|
23
|
+
this.hostElement.onchange || (this.page = t), l(this, [ "change", "tctChange" ], {
|
|
24
24
|
page: t,
|
|
25
25
|
perPage: this.perPageWithDefault
|
|
26
26
|
});
|
|
@@ -28,7 +28,7 @@ const l = class {
|
|
|
28
28
|
var e;
|
|
29
29
|
if (this.disabled) return;
|
|
30
30
|
const i = 1 * ((null === (e = t.detail) || void 0 === e ? void 0 : e.value) || this.perPage);
|
|
31
|
-
this.perPage = i,
|
|
31
|
+
this.perPage = i, l(this, [ "change", "tctChange" ], {
|
|
32
32
|
page: this.pageWithDefault,
|
|
33
33
|
perPage: i
|
|
34
34
|
});
|
|
@@ -44,7 +44,9 @@ const l = class {
|
|
|
44
44
|
this.align || (this.align = this.stacked ? "center" : "right");
|
|
45
45
|
}
|
|
46
46
|
componentDidLoad() {
|
|
47
|
-
|
|
47
|
+
var t;
|
|
48
|
+
this.containerWidth = this.containerElement.clientWidth, null === (t = this.resizeObserver) || void 0 === t || t.observe(this.containerElement),
|
|
49
|
+
s(this.hostElement);
|
|
48
50
|
}
|
|
49
51
|
// #endregion
|
|
50
52
|
// #region Listeners
|
|
@@ -52,8 +54,8 @@ const l = class {
|
|
|
52
54
|
var e;
|
|
53
55
|
if (this.disabled) return;
|
|
54
56
|
if (!o(t, this.hostElement)) return;
|
|
55
|
-
const {isFullViewHidden: i, containerElement:
|
|
56
|
-
i ? null === (e =
|
|
57
|
+
const {isFullViewHidden: i, containerElement: a, inputField: n} = this;
|
|
58
|
+
i ? null === (e = a.querySelector("q2-btn:not([disabled])")) || void 0 === e || e.focus() : n.focus();
|
|
57
59
|
}
|
|
58
60
|
// #endregion
|
|
59
61
|
// #region Public Methods API
|
|
@@ -141,7 +143,7 @@ const l = class {
|
|
|
141
143
|
// #region Local Methods
|
|
142
144
|
get containerClasses() {
|
|
143
145
|
const t = [ "container" ];
|
|
144
|
-
return this.stacked && t.push("stacked"), t;
|
|
146
|
+
return this.stacked && t.push("stacked"), this.isSmall && t.push("small"), t;
|
|
145
147
|
}
|
|
146
148
|
get currentRange() {
|
|
147
149
|
const {perPageWithDefault: t, totalWithDefault: e, pageWithDefault: i} = this;
|
|
@@ -175,8 +177,8 @@ const l = class {
|
|
|
175
177
|
return (null === (t = this.perPageIncrements) || void 0 === t ? void 0 : t.length) > 1;
|
|
176
178
|
}
|
|
177
179
|
get totalPages() {
|
|
178
|
-
const {pagesOnly: t, totalWithDefault: e, perPageWithDefault: i, pages:
|
|
179
|
-
return t &&
|
|
180
|
+
const {pagesOnly: t, totalWithDefault: e, perPageWithDefault: i, pages: a} = this;
|
|
181
|
+
return t && a && !isNaN(parseInt(`${a}`)) ? a : Math.ceil(e / i);
|
|
180
182
|
}
|
|
181
183
|
get totalWithDefault() {
|
|
182
184
|
return this.total || 0;
|
|
@@ -206,15 +208,15 @@ const l = class {
|
|
|
206
208
|
}
|
|
207
209
|
render() {
|
|
208
210
|
var t;
|
|
209
|
-
const {pagesOnly: e, recordsOnly:
|
|
211
|
+
const {pagesOnly: e, recordsOnly: a, isFullViewHidden: n, recordTypeWithDefault: s, totalPages: o, totalWithDefault: r, pageWithDefault: l, currentRange: h, nextRange: p, prevRange: d, showPerPageSelect: g, disabled: u} = this, f = l < 2, b = l === o;
|
|
210
212
|
let m = c("tecton.element.pagination.goToNext"), v = c("tecton.element.pagination.goToPrevious");
|
|
211
213
|
return e ? (v = c("tecton.element.pagination.goToPages", {
|
|
212
|
-
next:
|
|
214
|
+
next: l - 1,
|
|
213
215
|
total: o
|
|
214
216
|
}), m = c("tecton.element.pagination.goToPages", {
|
|
215
|
-
next:
|
|
217
|
+
next: l + 1,
|
|
216
218
|
total: o
|
|
217
|
-
})) :
|
|
219
|
+
})) : a && (v = c("tecton.element.pagination.goToRecords", {
|
|
218
220
|
range: d,
|
|
219
221
|
recordType: s.toLowerCase(),
|
|
220
222
|
total: r
|
|
@@ -223,66 +225,66 @@ const l = class {
|
|
|
223
225
|
recordType: s.toLowerCase(),
|
|
224
226
|
total: r
|
|
225
227
|
})), i("nav", {
|
|
226
|
-
key: "
|
|
228
|
+
key: "a427944d7134621fe5c1cc469d554cf60ea69271",
|
|
227
229
|
class: this.containerClasses.join(" "),
|
|
228
230
|
ref: t => this.containerElement = t,
|
|
229
231
|
"aria-label": c("tecton.element.pagination.title")
|
|
230
232
|
}, i("div", {
|
|
231
|
-
key: "
|
|
233
|
+
key: "ab5e3a0dc0a8c3ab99c8d6754097c37ae1c10193",
|
|
232
234
|
class: "description",
|
|
233
235
|
"test-id": "description"
|
|
234
236
|
}, e ? c("tecton.element.pagination.pages", {
|
|
235
|
-
current:
|
|
237
|
+
current: l,
|
|
236
238
|
total: o
|
|
237
239
|
}) : c("tecton.element.pagination.description", {
|
|
238
|
-
range:
|
|
240
|
+
range: h,
|
|
239
241
|
recordType: s.toLowerCase(),
|
|
240
242
|
total: r.toLocaleString()
|
|
241
243
|
})), i("div", {
|
|
242
|
-
key: "
|
|
244
|
+
key: "e84213e3dbeac1bb54fcd8244e486274869c5fa5",
|
|
243
245
|
class: "controls"
|
|
244
246
|
}, i("div", {
|
|
245
|
-
key: "
|
|
247
|
+
key: "f5a4cb3a4d467b2ce412afa2bb016e1843ccb364",
|
|
246
248
|
class: "btn-group"
|
|
247
249
|
}, i("q2-btn", {
|
|
248
|
-
key: "
|
|
250
|
+
key: "b4d315503de340e482ffb042d3cd4dbaff1aa3eb",
|
|
249
251
|
ref: t => this.firstPageBtn = t,
|
|
250
252
|
label: c("tecton.element.pagination.goToFirstPage"),
|
|
251
253
|
disabled: u || f,
|
|
252
|
-
hidden:
|
|
254
|
+
hidden: n,
|
|
253
255
|
onTctClick: () => this.handlePageChange(1),
|
|
254
256
|
"test-id": "firstPageBtn",
|
|
255
257
|
"hide-label": !0
|
|
256
258
|
}, i("q2-icon", {
|
|
257
|
-
key: "
|
|
259
|
+
key: "8d437e9a6b00999eee091accd8581b84a2dbe4fe",
|
|
258
260
|
type: "chevron-double-left"
|
|
259
261
|
})), i("q2-btn", {
|
|
260
|
-
key: "
|
|
262
|
+
key: "bd91788b84cbe8a55fb7e7b53342a6c9a75e3694",
|
|
261
263
|
ref: t => this.prevPageBtn = t,
|
|
262
264
|
label: v,
|
|
263
265
|
disabled: u || f,
|
|
264
|
-
onTctClick: () => this.handlePageChange(
|
|
266
|
+
onTctClick: () => this.handlePageChange(l - 1),
|
|
265
267
|
"test-id": "prevPageBtn",
|
|
266
268
|
"hide-label": !0
|
|
267
269
|
}, i("q2-icon", {
|
|
268
|
-
key: "
|
|
270
|
+
key: "bf9285d825da06e43e330b565ecf46f72a9ad930",
|
|
269
271
|
type: "chevron-left"
|
|
270
272
|
}))), i("div", {
|
|
271
|
-
key: "
|
|
273
|
+
key: "76ce1e31814ec56e7d060200ee8a87c720c5fc1e",
|
|
272
274
|
class: "input-display",
|
|
273
|
-
hidden:
|
|
275
|
+
hidden: n
|
|
274
276
|
}, i("span", {
|
|
275
|
-
key: "
|
|
277
|
+
key: "b1768b78ca08e2f76892823a165448c298d2a5b4",
|
|
276
278
|
"aria-hidden": "true"
|
|
277
279
|
}, c("tecton.element.pagination.page")), i("div", {
|
|
278
|
-
key: "
|
|
280
|
+
key: "8909fdeaf8832ec6a104ffad86258d0d3034fbb3",
|
|
279
281
|
class: "input-wrapper",
|
|
280
282
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
281
283
|
}, i("q2-input", {
|
|
282
|
-
key: "
|
|
284
|
+
key: "96e0ce1764dc542fcac5a516b608b379bd1453a9",
|
|
283
285
|
ref: t => this.inputField = t,
|
|
284
286
|
type: "number",
|
|
285
|
-
value: `${
|
|
287
|
+
value: `${l}`,
|
|
286
288
|
min: 1,
|
|
287
289
|
max: this.totalPages,
|
|
288
290
|
hideLabel: !0,
|
|
@@ -296,42 +298,42 @@ const l = class {
|
|
|
296
298
|
current: "page",
|
|
297
299
|
disabled: u
|
|
298
300
|
})), i("span", {
|
|
299
|
-
key: "
|
|
301
|
+
key: "3914f78404deab10b4173df5b16c205067c7e15e",
|
|
300
302
|
"aria-hidden": "true"
|
|
301
303
|
}, c("tecton.element.pagination.ofPages", [ o.toLocaleString() ]))), i("div", {
|
|
302
|
-
key: "
|
|
304
|
+
key: "b5b441d213d99d04b18c976628ba07142e00856f",
|
|
303
305
|
class: "btn-group"
|
|
304
306
|
}, i("q2-btn", {
|
|
305
|
-
key: "
|
|
307
|
+
key: "3299b27a7d24045f2258288e86702a4b7e6d1e37",
|
|
306
308
|
ref: t => this.nextPageBtn = t,
|
|
307
309
|
label: m,
|
|
308
310
|
disabled: u || b,
|
|
309
|
-
onTctClick: () => this.handlePageChange(
|
|
311
|
+
onTctClick: () => this.handlePageChange(l + 1),
|
|
310
312
|
"test-id": "nextPageBtn",
|
|
311
313
|
"hide-label": !0
|
|
312
314
|
}, i("q2-icon", {
|
|
313
|
-
key: "
|
|
315
|
+
key: "d63e7679e5087a1a03bb17fd0a7c24c0d07bdf87",
|
|
314
316
|
type: "chevron-right"
|
|
315
317
|
})), i("q2-btn", {
|
|
316
|
-
key: "
|
|
318
|
+
key: "f575528380b7d239db48f49353d71b88ba0e2d9e",
|
|
317
319
|
ref: t => this.lastPageBtn = t,
|
|
318
320
|
label: "tecton.element.pagination.goToLastPage",
|
|
319
321
|
disabled: u || b,
|
|
320
|
-
hidden:
|
|
322
|
+
hidden: n,
|
|
321
323
|
onTctClick: () => this.handlePageChange(o),
|
|
322
324
|
"test-id": "lastPageBtn",
|
|
323
325
|
"hide-label": !0
|
|
324
326
|
}, i("q2-icon", {
|
|
325
|
-
key: "
|
|
327
|
+
key: "c76d0fe0dff9095f893604fc41cd4d615075045e",
|
|
326
328
|
type: "chevron-double-right"
|
|
327
329
|
})))), i("div", {
|
|
328
|
-
key: "
|
|
330
|
+
key: "71ad1c246e16a1c84318d7ccf75d50a37246af12",
|
|
329
331
|
class: "per-page",
|
|
330
|
-
hidden:
|
|
332
|
+
hidden: n || !(null === (t = this.perPageIncrements) || void 0 === t ? void 0 : t.length)
|
|
331
333
|
}, g && this.renderPerPage()));
|
|
332
334
|
}
|
|
333
335
|
get hostElement() {
|
|
334
|
-
return
|
|
336
|
+
return a(this);
|
|
335
337
|
}
|
|
336
338
|
static get watchers() {
|
|
337
339
|
return {
|
|
@@ -354,6 +356,6 @@ const l = class {
|
|
|
354
356
|
}
|
|
355
357
|
};
|
|
356
358
|
|
|
357
|
-
|
|
359
|
+
h.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:flex;width:100%}:host([align=right]),:host([alignment=right]){justify-content:flex-end}:host([align=center]),:host([alignment=center]){justify-content:center}:host([align=left]),:host([alignment=left]){justify-content:flex-start}:host([hidden]){display:none}.container{display:inline-flex;column-gap:var(--tct-pagination-column-gap, var(--t-pagination-column-gap, var(--app-scale-2x, 10px)));align-items:center;height:var(--tct-pagination-height, var(--t-pagination-height, 44px));color:var(--tct-pagination-color, inherit);font-size:var(--tct-pagination-font-size, inherit);font-weight:var(--tct-pagination-font-weight, inherit)}.container.stacked{flex-direction:column;column-gap:0;row-gap:var(--tct-pagination-row-gap, var(--app-scale-2x, 10px));height:auto;align-items:stretch}.container.stacked .description{text-align:center}.container.stacked .controls{justify-content:center}.container.stacked .per-page{display:flex;justify-content:center}.container.stacked q2-select{--tct-select-margin:0;width:var(--tct-pagination-perpage-width, 60%)}.container.small{flex-wrap:wrap;row-gap:var(--tct-pagination-row-gap, var(--app-scale-2x, 10px));height:auto;max-width:100%}.container.small .description{flex-basis:100%;min-width:0;overflow-wrap:anywhere;text-align:center;white-space:normal;line-height:max(1.2em, var(--app-line-height, 1.428571429em))}.container.small .controls{margin-inline:auto}.controls{display:flex}.btn-group{display:flex;gap:var(--tct-pagination-btn-gap, var(--t-pagination-btn-gap, 0))}.description,.input-display{white-space:nowrap}.input-display{display:grid;grid-template-columns:auto var(--tct-pagination-input-width, 50px) auto;align-items:center;gap:var(--tct-pagination-controls-gap, var(--t-pagination-controls-gap, var(--app-scale-1x, 5px)))}.input-display[hidden]{display:none}.input-wrapper{height:var(--tct-pagination-height, var(--t-pagination-height, 44px));display:flex;align-items:center}q2-btn{--tct-btn-border-radius:var(--tct-pagination-btn-border-radius, var(--t-pagination-btn-border-radius));--tct-btn-border:var(--tct-pagination-btn-border, var(--t-pagination-btn-border));--tct-btn-icon-hover-background:var(--tct-pagination-btn-hover-background, var(--app-gray-l3, #f2f2f2));--tct-icon-stroke-primary:var(--tct-pagination-btn-icon-stroke-primary, var(--app-gray, #747474));--tct-icon-stroke-secondary:var(--tct-pagination-btn-icon-stroke-secondary, var(--app-gray, #747474))}q2-icon{--tct-icon-size:var(--tct-pagination-icon-size, var(--t-pagination-icon-size, 12px));color:var(--tct-pagination-icon-color, var(--t-pagination-icon-color, var(--t-text, #4d4d4d)))}q2-input{--tct-input-margin-top:0;--tct-input-margin-bottom:0;--tct-input-height:var(--tct-pagination-input-height, var(--t-pagination-input-height, 30px));--tct-input-min-height:var(--tct-input-height);--tct-input-align:center}q2-select{--tct-input-align:start;--tct-select-input-min-height:var(--tct-pagination-select-height, var(--t-pagination-select-height, 30px));--tct-select-input-max-height:var(--tct-pagination-select-height, var(--t-pagination-select-height, 30px));width:var(--tct-pagination-perpage-width, var(--t-pagination-perpage-width, 100%));min-width:var(--tct-pagination-perpage-min-width, var(--t-pagination-perpage-min-width, 110px))}';
|
|
358
360
|
|
|
359
|
-
export {
|
|
361
|
+
export { h as q2_pagination }
|