q2-tecton-elements 1.70.2 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +556 -231
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-action-sheet.cjs.entry.js +4 -3
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +17 -8
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +8 -6
- package/dist/cjs/q2-card-image.cjs.entry.js +1 -1
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel.cjs.entry.js +108 -74
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +3 -3
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +1 -1
- 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 +1 -1
- 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-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-meter.cjs.entry.js +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +1 -1
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +1 -1
- package/dist/cjs/q2-pill.cjs.entry.js +18 -2
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-search.cjs.entry.js +2 -2
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +32 -9
- package/dist/cjs/q2-stepper.cjs.entry.js +18 -4
- package/dist/cjs/q2-surface.cjs.entry.js +3 -3
- package/dist/cjs/q2-tab-container.cjs.entry.js +89 -20
- package/dist/cjs/q2-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +3 -3
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +26 -15
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +3 -3
- package/dist/collection/components/q2-action-group/q2-action-group.css +22 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +24 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +3 -2
- package/dist/collection/components/q2-avatar/q2-avatar.css +23 -1
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +13 -1
- package/dist/collection/components/q2-badge/q2-badge.css +26 -4
- package/dist/collection/components/q2-badge/test/q2-badge-test.vr.js +13 -1
- package/dist/collection/components/q2-btn/q2-btn.css +53 -9
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +19 -1
- package/dist/collection/components/q2-calendar/q2-calendar.css +26 -4
- package/dist/collection/components/q2-calendar/q2-calendar.js +7 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.css +22 -0
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +34 -1
- package/dist/collection/components/q2-card/q2-card.css +23 -1
- package/dist/collection/components/q2-card/test/q2-card-test.vr.js +10 -1
- package/dist/collection/components/q2-card-image/q2-card-image.css +23 -1
- package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js +9 -1
- package/dist/collection/components/q2-carousel/q2-carousel.css +29 -39
- package/dist/collection/components/q2-carousel/q2-carousel.js +122 -69
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +5 -4
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.css +22 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +22 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +22 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.css +24 -2
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +13 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +23 -1
- package/dist/collection/components/q2-checkbox/test/q2-checkbox-test.vr.js +11 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +23 -1
- package/dist/collection/components/q2-checkbox-group/test/q2-checkbox-group-test.vr.js +11 -1
- package/dist/collection/components/q2-currency/q2-currency.css +25 -3
- package/dist/collection/components/q2-currency/test/q2-currency-test.vr.js +13 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +24 -2
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +11 -1
- package/dist/collection/components/q2-detail/q2-detail.css +32 -10
- package/dist/collection/components/q2-dropdown/q2-dropdown.css +22 -0
- package/dist/collection/components/q2-dropdown-item/q2-dropdown-item.css +22 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.css +22 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +2 -2
- package/dist/collection/components/q2-example/q2-example.css +23 -0
- package/dist/collection/components/q2-file-picker/q2-file-picker.css +57 -10
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js +14 -1
- package/dist/collection/components/q2-form/q2-form.css +22 -0
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.css +25 -3
- package/dist/collection/components/q2-formatted-text/test/q2-formatted-text-test.vr.js +13 -1
- package/dist/collection/components/q2-icon/assets/standard.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/q2-icon.css +22 -0
- package/dist/collection/components/q2-input/q2-input.css +26 -4
- package/dist/collection/components/q2-input/q2-input.js +39 -7
- package/dist/collection/components/q2-input/test/q2-input-test.vr.js +36 -1
- package/dist/collection/components/q2-item/q2-item.css +46 -2
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +12 -1
- package/dist/collection/components/q2-legend/q2-legend.css +24 -2
- package/dist/collection/components/q2-link/q2-link.css +22 -0
- package/dist/collection/components/q2-list/q2-list.css +46 -2
- package/dist/collection/components/q2-list/test/q2-list-test.vr.js +12 -1
- package/dist/collection/components/q2-loading/q2-loading.css +23 -0
- package/dist/collection/components/q2-message/q2-message.css +22 -0
- package/dist/collection/components/q2-meter/q2-meter.css +25 -3
- package/dist/collection/components/q2-meter/test/q2-meter-test.vr.js +12 -1
- package/dist/collection/components/q2-modal/q2-modal.css +23 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +12 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.css +23 -1
- package/dist/collection/components/q2-option/q2-option.css +22 -0
- package/dist/collection/components/q2-option-list/q2-option-list.css +22 -0
- package/dist/collection/components/q2-otp/q2-otp.css +27 -4
- package/dist/collection/components/q2-otp/test/q2-otp-test.vr.js +12 -1
- package/dist/collection/components/q2-pagination/q2-pagination.css +22 -0
- package/dist/collection/components/q2-pill/q2-pill.css +42 -2
- package/dist/collection/components/q2-pill/q2-pill.js +18 -1
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +27 -1
- package/dist/collection/components/q2-popover/q2-popover.css +22 -7
- package/dist/collection/components/q2-radio/q2-radio.css +24 -2
- package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js +12 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.css +23 -1
- package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js +11 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.css +22 -0
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.css +22 -0
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.css +22 -0
- package/dist/collection/components/q2-search/q2-search.js +1 -1
- package/dist/collection/components/q2-section/q2-section.css +23 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-section/test/q2-section-test.vr.js +11 -1
- package/dist/collection/components/q2-select/q2-select.css +22 -0
- package/dist/collection/components/q2-stepper/q2-stepper.css +38 -4
- package/dist/collection/components/q2-stepper/q2-stepper.js +17 -3
- package/dist/collection/components/q2-stepper/test/q2-stepper-test.vr.js +12 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.css +22 -0
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.css +39 -5
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +31 -8
- package/dist/collection/components/q2-stepper-vertical/test/q2-stepper-vertical-test.vr.js +16 -1
- package/dist/collection/components/q2-surface/q2-surface.css +71 -32
- package/dist/collection/components/q2-surface/q2-surface.js +7 -7
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +54 -0
- package/dist/collection/components/q2-tab-container/q2-tab-container.css +112 -6
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +114 -21
- package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.vr.js +24 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.css +22 -0
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.css +25 -2
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-tag/test/q2-tag-test.vr.js +21 -1
- package/dist/collection/components/q2-textarea/q2-textarea.css +24 -2
- package/dist/collection/components/q2-textarea/q2-textarea.js +2 -2
- package/dist/collection/components/q2-textarea/test/q2-textarea-test.vr.js +16 -1
- package/dist/collection/components/q2-toast/q2-toast.css +22 -0
- package/dist/collection/components/q2-tooltip/q2-tooltip.css +27 -19
- package/dist/collection/components/q2-tooltip/q2-tooltip.js +32 -21
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +13 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.css +22 -0
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/helpers.js +29 -6
- package/dist/collection/utils/test/vr-helpers.js +7 -0
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +21 -18
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-badge2.js +1 -1
- package/dist/components/q2-btn2.js +15 -15
- package/dist/components/q2-calendar.js +306 -301
- package/dist/components/q2-card-image.js +6 -6
- package/dist/components/q2-card.js +14 -14
- package/dist/components/q2-carousel-pane2.js +1 -1
- package/dist/components/q2-carousel.js +633 -585
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +70 -70
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +42 -42
- package/dist/components/q2-checkbox2.js +1 -1
- package/dist/components/q2-currency.js +32 -32
- package/dist/components/q2-data-table.js +34 -34
- package/dist/components/q2-detail.js +5 -5
- package/dist/components/q2-dropdown-item2.js +11 -11
- package/dist/components/q2-dropdown.js +17 -17
- package/dist/components/q2-editable-field.js +12 -11
- package/dist/components/q2-example.js +15 -15
- package/dist/components/q2-file-picker.js +25 -25
- package/dist/components/q2-form.js +11 -11
- package/dist/components/q2-formatted-text.js +5 -5
- package/dist/components/q2-icon2.js +1 -1
- package/dist/components/q2-input2.js +24 -13
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +56 -56
- package/dist/components/q2-link2.js +6 -6
- package/dist/components/q2-list2.js +22 -22
- package/dist/components/q2-loading2.js +1 -1
- package/dist/components/q2-message2.js +20 -20
- package/dist/components/q2-meter.js +1 -1
- package/dist/components/q2-modal.js +3 -3
- package/dist/components/q2-month-picker.js +10 -10
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +34 -34
- package/dist/components/q2-option2.js +13 -13
- package/dist/components/q2-otp.js +5 -5
- package/dist/components/q2-pagination.js +58 -58
- package/dist/components/q2-pill.js +66 -54
- package/dist/components/q2-popover2.js +1 -1
- package/dist/components/q2-radio-group.js +5 -5
- package/dist/components/q2-radio.js +14 -14
- package/dist/components/q2-relative-time.js +10 -10
- package/dist/components/q2-resize-observer2.js +9 -9
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +22 -22
- package/dist/components/q2-select2.js +1 -1
- package/dist/components/q2-stepper-pane.js +33 -33
- package/dist/components/q2-stepper-vertical.js +84 -60
- package/dist/components/q2-stepper.js +79 -65
- package/dist/components/q2-surface.js +14 -14
- package/dist/components/q2-tab-container.js +110 -55
- package/dist/components/q2-tab-pane.js +7 -7
- package/dist/components/q2-tag2.js +39 -39
- package/dist/components/q2-textarea.js +16 -16
- package/dist/components/q2-toast.js +22 -22
- package/dist/components/q2-tooltip2.js +26 -25
- package/dist/components/tecton-tab-pane.js +11 -11
- package/dist/esm/click-elsewhere_3.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +3 -3
- package/dist/esm/q2-action-sheet.entry.js +4 -3
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_2.entry.js +17 -8
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +8 -6
- package/dist/esm/q2-card-image.entry.js +1 -1
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +1 -1
- package/dist/esm/q2-carousel.entry.js +104 -70
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox_2.entry.js +3 -3
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +3 -3
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-meter.entry.js +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +1 -1
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +1 -1
- package/dist/esm/q2-pill.entry.js +18 -2
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-search.entry.js +2 -2
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +32 -9
- package/dist/esm/q2-stepper.entry.js +18 -4
- package/dist/esm/q2-surface.entry.js +3 -3
- package/dist/esm/q2-tab-container.entry.js +89 -20
- package/dist/esm/q2-tab-pane.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +3 -3
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +27 -16
- package/dist/esm/tecton-tab-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/assets/standard.symbol.svg +1 -1
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +21 -18
- package/dist/q2-tecton-elements/q2-avatar.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +25 -15
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-calendar.entry.js +120 -115
- package/dist/q2-tecton-elements/q2-card-image.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-carousel.entry.js +572 -540
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +166 -166
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +190 -190
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-currency.entry.js +40 -40
- package/dist/q2-tecton-elements/q2-data-table.entry.js +64 -64
- package/dist/q2-tecton-elements/q2-detail.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +18 -17
- package/dist/q2-tecton-elements/q2-example.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-form.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-link_2.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-message.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-meter.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-modal.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +39 -39
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-option.entry.js +22 -22
- package/dist/q2-tecton-elements/q2-otp.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-pill.entry.js +30 -18
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.js +24 -24
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-search.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-section.entry.js +25 -25
- package/dist/q2-tecton-elements/q2-select.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +77 -53
- package/dist/q2-tecton-elements/q2-stepper.entry.js +44 -30
- package/dist/q2-tecton-elements/q2-surface.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +109 -56
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-toast.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +25 -24
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +11 -11
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +14 -0
- package/dist/types/components/q2-input/q2-input.d.ts +7 -1
- package/dist/types/components/q2-pill/q2-pill.d.ts +2 -0
- package/dist/types/components/q2-stepper/q2-stepper.d.ts +1 -0
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +3 -2
- package/dist/types/components/q2-surface/q2-surface.d.ts +3 -3
- package/dist/types/components/q2-tab-container/q2-tab-container.d.ts +17 -3
- package/dist/types/components/q2-tooltip/q2-tooltip.d.ts +2 -1
- package/dist/types/components.d.ts +50 -21
- package/dist/types/utils/helpers.d.ts +16 -1
- package/dist/types/utils/test/vr-helpers.d.ts +11 -0
- package/package.json +12 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as s, Host as n, transformTag as o } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import { b as
|
|
3
|
+
import { b as a } from "./component.js";
|
|
4
4
|
|
|
5
|
-
import { l as
|
|
5
|
+
import { l as h, n as r, o as c, i as l, w as d, t as p } from "./index2.js";
|
|
6
6
|
|
|
7
7
|
import { m as u } from "./mirror-emit.js";
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ const b = t(class extends e {
|
|
|
15
15
|
lastPressedAt: new Date
|
|
16
16
|
}, this.scheduledAfterRender = [],
|
|
17
17
|
/** Determines the label that is applied to the option list for accessibility purposes. */
|
|
18
|
-
this.label =
|
|
18
|
+
this.label = h("tecton.element.optionList.label"),
|
|
19
19
|
/** A list of the selected options on the element. */
|
|
20
20
|
this.selectedOptions = [],
|
|
21
21
|
/** Translates to the role of the option list */
|
|
@@ -42,7 +42,7 @@ const b = t(class extends e {
|
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
"menu" === this.type ? (this.activeIndex = 0, this.openDropdownWithActiveElement(0)) : (this.setDefaultActiveElement(),
|
|
45
|
-
|
|
45
|
+
r((() => this.popoverState.emit({
|
|
46
46
|
open: !0,
|
|
47
47
|
action: "open"
|
|
48
48
|
}))));
|
|
@@ -50,7 +50,7 @@ const b = t(class extends e {
|
|
|
50
50
|
|
|
51
51
|
case "Enter":
|
|
52
52
|
"menu" === this.type ? (this.activeIndex = 0, this.openDropdownWithActiveElement(0)) : (this.setDefaultActiveElement(),
|
|
53
|
-
|
|
53
|
+
r((() => this.popoverState.emit({
|
|
54
54
|
open: !0,
|
|
55
55
|
action: "open"
|
|
56
56
|
}))));
|
|
@@ -111,17 +111,17 @@ const b = t(class extends e {
|
|
|
111
111
|
(i || s) && t.stopPropagation();
|
|
112
112
|
}, this.internalKeydownHandler = t => {
|
|
113
113
|
t.stopPropagation();
|
|
114
|
-
const {activeIndex: e, customSearch: i, allOptions: s, allVisibleOptions: n, multiple: o} = this, {key:
|
|
115
|
-
let
|
|
116
|
-
switch (
|
|
114
|
+
const {activeIndex: e, customSearch: i, allOptions: s, allVisibleOptions: n, multiple: o} = this, {key: a, shiftKey: h} = t;
|
|
115
|
+
let r;
|
|
116
|
+
switch (a) {
|
|
117
117
|
case " ":
|
|
118
118
|
if (this.searchString && !this.multiple) {
|
|
119
119
|
if (i) break;
|
|
120
|
-
this.searchOptions(
|
|
120
|
+
this.searchOptions(a, !1);
|
|
121
121
|
break;
|
|
122
122
|
}
|
|
123
|
-
if (
|
|
124
|
-
if (this.selectOption(
|
|
123
|
+
if (r = s.find((t => t.active)), !r || r.disabled) break;
|
|
124
|
+
if (this.selectOption(r), o) break;
|
|
125
125
|
this.hostElement.addEventListener("tctClick", (() => {
|
|
126
126
|
this.popoverState.emit({
|
|
127
127
|
open: !1,
|
|
@@ -133,8 +133,8 @@ const b = t(class extends e {
|
|
|
133
133
|
break;
|
|
134
134
|
|
|
135
135
|
case "Enter":
|
|
136
|
-
if (
|
|
137
|
-
if (this.selectOption(
|
|
136
|
+
if (r = s.find((t => t.active)), !r || r.disabled) break;
|
|
137
|
+
if (this.selectOption(r), o) break;
|
|
138
138
|
this.hostElement.addEventListener("tctClick", (() => {
|
|
139
139
|
this.popoverState.emit({
|
|
140
140
|
open: !1,
|
|
@@ -148,9 +148,9 @@ const b = t(class extends e {
|
|
|
148
148
|
case "ArrowUp":
|
|
149
149
|
case "ArrowDown":
|
|
150
150
|
// Guard: only process if an option is currently focused
|
|
151
|
-
const
|
|
152
|
-
if (!this.allOptions.some((t => t ===
|
|
153
|
-
if (t.preventDefault(), "ArrowUp" ===
|
|
151
|
+
const c = document.activeElement;
|
|
152
|
+
if (!this.allOptions.some((t => t === c))) return;
|
|
153
|
+
if (t.preventDefault(), "ArrowUp" === a) {
|
|
154
154
|
if (n[0].active) break;
|
|
155
155
|
if (void 0 === e) {
|
|
156
156
|
this.setDefaultActiveElement();
|
|
@@ -192,7 +192,7 @@ const b = t(class extends e {
|
|
|
192
192
|
break;
|
|
193
193
|
|
|
194
194
|
case "Tab":
|
|
195
|
-
if (
|
|
195
|
+
if (h) break;
|
|
196
196
|
if (this.multiple && "listbox" === this.type) break;
|
|
197
197
|
if ("menu" === this.type) {
|
|
198
198
|
this.popoverState.emit({
|
|
@@ -201,8 +201,8 @@ const b = t(class extends e {
|
|
|
201
201
|
});
|
|
202
202
|
break;
|
|
203
203
|
}
|
|
204
|
-
if (
|
|
205
|
-
this.selectOption(
|
|
204
|
+
if (r = s.find((t => t.active)), !r || r.disabled) return;
|
|
205
|
+
this.selectOption(r);
|
|
206
206
|
break;
|
|
207
207
|
|
|
208
208
|
case "Esc":
|
|
@@ -215,8 +215,8 @@ const b = t(class extends e {
|
|
|
215
215
|
|
|
216
216
|
default:
|
|
217
217
|
if (i) break;
|
|
218
|
-
if (!
|
|
219
|
-
this.searchOptions(
|
|
218
|
+
if (!a.match(/^[\w]$/)) break;
|
|
219
|
+
this.searchOptions(a, !1);
|
|
220
220
|
}
|
|
221
221
|
}, this.searchAndFocus = (t, e) => {
|
|
222
222
|
// pseudo search in non-searchable select
|
|
@@ -253,11 +253,11 @@ const b = t(class extends e {
|
|
|
253
253
|
// #endregion
|
|
254
254
|
// #region Component Lifecycle Events
|
|
255
255
|
componentWillLoad() {
|
|
256
|
-
|
|
256
|
+
a(this.hostElement, "q2-select, q2-dropdown, q2-pill, q2-popover, q2-action-sheet"),
|
|
257
257
|
this.hasOptions = !!this.hostElement.querySelectorAll("q2-option:not([separator]):not([separator=true]), q2-dropdown-item:not([separator]):not([separator=true])").length;
|
|
258
258
|
}
|
|
259
259
|
componentDidLoad() {
|
|
260
|
-
|
|
260
|
+
c(this.hostElement), this.checkOptions(), this.selectedOptionsUpdated(), this.ready.emit();
|
|
261
261
|
}
|
|
262
262
|
componentDidRender() {
|
|
263
263
|
this.scheduledAfterRender.forEach((t => t())), this.scheduledAfterRender = [];
|
|
@@ -345,8 +345,8 @@ const b = t(class extends e {
|
|
|
345
345
|
const {allVisibleOptions: e, allOptions: i, activeIndex: s} = this, n = i[s];
|
|
346
346
|
let o = e.indexOf(n) + t;
|
|
347
347
|
o < 0 ? o = e.length - 1 : o > e.length - 1 && (o = 0);
|
|
348
|
-
const
|
|
349
|
-
return i.indexOf(
|
|
348
|
+
const a = e[o];
|
|
349
|
+
return i.indexOf(a);
|
|
350
350
|
}
|
|
351
351
|
getRootSlot(t) {
|
|
352
352
|
var e;
|
|
@@ -379,19 +379,19 @@ const b = t(class extends e {
|
|
|
379
379
|
selectOption(t) {
|
|
380
380
|
const {multiple: e, noSelect: i, showSelected: s} = this;
|
|
381
381
|
if (!t || t.disabled || "disabledGroup" in t && t.disabledGroup) return;
|
|
382
|
-
const n = t.value, o = "display" in t && t.display ? t.display : t.innerText.trim(),
|
|
382
|
+
const n = t.value, o = "display" in t && t.display ? t.display : t.innerText.trim(), a = {
|
|
383
383
|
value: n,
|
|
384
384
|
display: o
|
|
385
385
|
};
|
|
386
|
-
let
|
|
386
|
+
let h = [];
|
|
387
387
|
if (e) {
|
|
388
388
|
const {selectedOptions: e} = this;
|
|
389
|
-
|
|
389
|
+
h = e.find((t => t.value === n)) ? e.filter((({value: t}) => t !== n)) : [ ...e, a ],
|
|
390
390
|
s && this.focusSelectedSibling(t);
|
|
391
|
-
} else
|
|
392
|
-
i ? this.setActiveElement(null) : this.selectedOptions =
|
|
391
|
+
} else h = [ a ];
|
|
392
|
+
i ? this.setActiveElement(null) : this.selectedOptions = h, u(this, [ "change", "tctChange" ], {
|
|
393
393
|
value: n,
|
|
394
|
-
values:
|
|
394
|
+
values: h
|
|
395
395
|
});
|
|
396
396
|
}
|
|
397
397
|
setActiveOption() {
|
|
@@ -405,7 +405,7 @@ const b = t(class extends e {
|
|
|
405
405
|
if (!t) return;
|
|
406
406
|
p(t) ? t.focus({
|
|
407
407
|
preventScroll: !0
|
|
408
|
-
}) :
|
|
408
|
+
}) : r((() => t.focus({
|
|
409
409
|
preventScroll: !0
|
|
410
410
|
})));
|
|
411
411
|
}
|
|
@@ -435,7 +435,7 @@ const b = t(class extends e {
|
|
|
435
435
|
}, s("div", {
|
|
436
436
|
key: "28b5d0460ceca2f0b9a8fd4fa018f949d04154df",
|
|
437
437
|
class: "options",
|
|
438
|
-
"aria-label":
|
|
438
|
+
"aria-label": h("tecton.element.optionList.label", [ this.label ]),
|
|
439
439
|
"aria-multiselectable": "menu" === this.type ? void 0 : this.multiple ? "true" : void 0,
|
|
440
440
|
role: this.type || "listbox",
|
|
441
441
|
onKeyDown: this.internalKeydownHandler,
|
|
@@ -458,7 +458,7 @@ const b = t(class extends e {
|
|
|
458
458
|
};
|
|
459
459
|
}
|
|
460
460
|
static get style() {
|
|
461
|
-
return
|
|
461
|
+
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{position:relative;width:100%;display:block;line-height:var(--tct-option-list-line-height, var(--t-option-list-line-height, var(--app-line-height, 1.428571429em)))}.content{text-align:start}:host([is-sizeable]) .content{display:block;height:auto}';
|
|
462
462
|
}
|
|
463
463
|
}, [ 257, "q2-option-list", {
|
|
464
464
|
align: [ 513 ],
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as o, Host as
|
|
1
|
+
import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as o, Host as a, transformTag as s } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
3
|
import { q as n, l as r } from "./index2.js";
|
|
4
4
|
|
|
5
|
-
import { b as
|
|
5
|
+
import { b as d } from "./component.js";
|
|
6
6
|
|
|
7
|
-
import { d } from "./q2-icon2.js";
|
|
7
|
+
import { d as c } from "./q2-icon2.js";
|
|
8
8
|
|
|
9
9
|
const l = t(class extends e {
|
|
10
10
|
constructor(t) {
|
|
@@ -61,7 +61,7 @@ const l = t(class extends e {
|
|
|
61
61
|
this.separatorChangedHandler(this.separator), this.initDisplay();
|
|
62
62
|
}
|
|
63
63
|
componentDidLoad() {
|
|
64
|
-
|
|
64
|
+
d(this.hostElement, "q2-select, q2-option-list, q2-pill, q2-dropdown"), this.initMutationObserver();
|
|
65
65
|
}
|
|
66
66
|
// #endregion
|
|
67
67
|
// #region Watchers
|
|
@@ -77,21 +77,21 @@ const l = t(class extends e {
|
|
|
77
77
|
// #endregion
|
|
78
78
|
// #region Render Methods
|
|
79
79
|
renderOption() {
|
|
80
|
-
const {display: t, disabled: e, disabledGroup: i, selected:
|
|
81
|
-
return o(
|
|
80
|
+
const {display: t, disabled: e, disabledGroup: i, selected: s, _multiSelectHidden: n, role: d} = this, c = e || i;
|
|
81
|
+
return o(a, {
|
|
82
82
|
tabindex: "-1",
|
|
83
|
-
"aria-disabled":
|
|
84
|
-
"aria-selected": "menuitem" ===
|
|
83
|
+
"aria-disabled": c ? "true" : void 0,
|
|
84
|
+
"aria-selected": "menuitem" === d ? void 0 : `${!!s}`,
|
|
85
85
|
"aria-hidden": n ? "true" : void 0,
|
|
86
86
|
display: r(t),
|
|
87
87
|
onClick: () => {
|
|
88
|
-
|
|
88
|
+
c || this.tctClick.emit({
|
|
89
89
|
type: "select",
|
|
90
90
|
value: this.value
|
|
91
91
|
});
|
|
92
92
|
},
|
|
93
93
|
onKeydown: t => {
|
|
94
|
-
|
|
94
|
+
c || "Enter" !== t.key && " " !== t.key || (setTimeout((() => {
|
|
95
95
|
this.tctClick.emit({
|
|
96
96
|
type: "select",
|
|
97
97
|
value: this.value
|
|
@@ -126,7 +126,7 @@ const l = t(class extends e {
|
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
static get style() {
|
|
129
|
-
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host(:not([separator]):not([separator=false])){--comp-padding:0 var(--app-scale-2x, 10px);--comp-selected-icon-size:var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, var(--tct-scale-3, var(--app-scale-3x, 15px))));padding:var(--tct-option-padding, var(--t-option-padding, var(--comp-padding)));min-height:44px;align-items:center;cursor:pointer;align-items:center}:host(:focus),:host(:not([separator]):not([separator=false]):hover),:host([active]){position:relative;z-index:1}:host([multiline]){--comp-padding:var(--app-scale-2, 10px) var(--app-scale-2, 10px);--comp-selected-icon-size:var(--tct-option-selected-multiline-icon-size, var(--t-option-selected-multiline-icon-size, var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, 26px))))}:host([_hide-selected-block]:not([_hide-selected-block=false])){grid-template-columns:1fr;grid-template-areas:"content"}:host(:not([_hide-selected-block])){grid-template-areas:"icon content";grid-template-columns:var(--comp-selected-icon-size) 1fr;gap:var(--tct-scale-1, var(--app-scale-1x, 5px))}:host([aria-disabled]){cursor:not-allowed;opacity:var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4));pointer-events:none}:host([aria-hidden]){display:none}:host(:not([hidden]):not([aria-hidden])){display:grid}:host([separator]:not([separator=false])){display:block}:host(:not([aria-disabled]):not([separator]):not([separator=false]):hover),:host([active]),:host(:focus){background:var(--tct-option-active-background, var(--tct-option-active-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))))));color:var(--tct-option-active-color, inherit)}:host(:focus-visible){box-shadow:var(--tct-option-focus-box-shadow, var(--const-inset-double-focus-ring, inset var(--const-global-focus, 0 0 0 2px var(--const-focus-color, #0066CC)))) !important}q2-icon{grid-area:icon;--tct-icon-size:var(--comp-selected-icon-size)}::slotted(q2-item){padding:var(--app-scale-1x, 5px) 0}.content{display:block;grid-area:content;font-size:var(--tct-option-content-font-size, inherit)}:host(:not([multiline])) .content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.separator{--comp-default-separator-margin:0 var(--tct-scale-1, var(--app-scale-3x, 15px));margin:var(--tct-dropdown-separator-margin, var(--t-dropdown-separator-margin, var(--comp-default-separator-margin)));border-bottom:1px solid var(--tct-dropdown-item-separator-color, var(--t-gray-11, #cccccc))}';
|
|
129
|
+
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host(:not([separator]):not([separator=false])){--comp-padding:0 var(--app-scale-2x, 10px);--comp-selected-icon-size:var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, var(--tct-scale-3, var(--app-scale-3x, 15px))));padding:var(--tct-option-padding, var(--t-option-padding, var(--comp-padding)));min-height:44px;align-items:center;cursor:pointer;align-items:center}:host(:focus),:host(:not([separator]):not([separator=false]):hover),:host([active]){position:relative;z-index:1}:host([multiline]){--comp-padding:var(--app-scale-2, 10px) var(--app-scale-2, 10px);--comp-selected-icon-size:var(--tct-option-selected-multiline-icon-size, var(--t-option-selected-multiline-icon-size, var(--tct-option-selected-icon-size, var(--t-option-selected-icon-size, 26px))))}:host([_hide-selected-block]:not([_hide-selected-block=false])){grid-template-columns:1fr;grid-template-areas:"content"}:host(:not([_hide-selected-block])){grid-template-areas:"icon content";grid-template-columns:var(--comp-selected-icon-size) 1fr;gap:var(--tct-scale-1, var(--app-scale-1x, 5px))}:host([aria-disabled]){cursor:not-allowed;opacity:var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4));pointer-events:none}:host([aria-hidden]){display:none}:host(:not([hidden]):not([aria-hidden])){display:grid}:host([separator]:not([separator=false])){display:block}:host(:not([aria-disabled]):not([separator]):not([separator=false]):hover),:host([active]),:host(:focus){background:var(--tct-option-active-background, var(--tct-option-active-bg, var(--tct-gray-14, var(--t-gray-14, var(--tct-gray-l3, var(--app-gray-l3, #f2f2f2))))));color:var(--tct-option-active-color, inherit)}:host(:focus-visible){box-shadow:var(--tct-option-focus-box-shadow, var(--const-inset-double-focus-ring, inset var(--const-global-focus, 0 0 0 2px var(--const-focus-color, #0066CC)))) !important}q2-icon{grid-area:icon;--tct-icon-size:var(--comp-selected-icon-size)}::slotted(q2-item){padding:var(--app-scale-1x, 5px) 0}.content{display:block;grid-area:content;font-size:var(--tct-option-content-font-size, inherit)}:host(:not([multiline])) .content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.separator{--comp-default-separator-margin:0 var(--tct-scale-1, var(--app-scale-3x, 15px));margin:var(--tct-dropdown-separator-margin, var(--t-dropdown-separator-margin, var(--comp-default-separator-margin)));border-bottom:1px solid var(--tct-dropdown-item-separator-color, var(--t-gray-11, #cccccc))}';
|
|
130
130
|
}
|
|
131
131
|
}, [ 257, "q2-option", {
|
|
132
132
|
_hideSelectedBlock: [ 516, "_hide-selected-block" ],
|
|
@@ -154,11 +154,11 @@ function defineCustomElement() {
|
|
|
154
154
|
[ "q2-option", "q2-icon" ].forEach((t => {
|
|
155
155
|
switch (t) {
|
|
156
156
|
case "q2-option":
|
|
157
|
-
customElements.get(
|
|
157
|
+
customElements.get(s(t)) || customElements.define(s(t), l);
|
|
158
158
|
break;
|
|
159
159
|
|
|
160
160
|
case "q2-icon":
|
|
161
|
-
customElements.get(
|
|
161
|
+
customElements.get(s(t)) || c();
|
|
162
162
|
}
|
|
163
163
|
}));
|
|
164
164
|
}
|
|
@@ -6,9 +6,9 @@ import { d as l } from "./q2-btn2.js";
|
|
|
6
6
|
|
|
7
7
|
import { d as p } from "./q2-icon2.js";
|
|
8
8
|
|
|
9
|
-
import { d
|
|
9
|
+
import { d } from "./q2-loading2.js";
|
|
10
10
|
|
|
11
|
-
import { d } from "./q2-message2.js";
|
|
11
|
+
import { d as h } from "./q2-message2.js";
|
|
12
12
|
|
|
13
13
|
const f = t(class extends e {
|
|
14
14
|
constructor(t) {
|
|
@@ -385,7 +385,7 @@ const f = t(class extends e {
|
|
|
385
385
|
};
|
|
386
386
|
}
|
|
387
387
|
static get style() {
|
|
388
|
-
return
|
|
388
|
+
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:flex;justify-content:center;margin:var(--tct-otp-margin, var(--tct-otp-margin-top, var(--app-scale-5x, 25px)) 0 var(--tct-otp-margin-bottom, var(--app-scale-5x, 25px)));font-size:var(--tct-input-font-size, var(--app-font-size, inherit))}:host([hidden]){display:none}.otp-container{--comp-otp-tween:var(--tct-otp-tween, var(--tct-tween-2, var(--app-tween-2, 0.4s ease)));--comp-otp-vertical-gap:var(--tct-otp-vertical-gap, var(--app-scale-4x, 20px));--comp-otp-field-size:44px;--comp-otp-field-gap:var(--tct-otp-field-gap, var(--app-scale-2x, 10px));--comp-otp-field-background:var(--tct-otp-field-background, var(--t-base, #ffffff));--comp-otp-field-border-color:var(--tct-otp-field-border-color, var(--t-a11y-gray-color-AA, #404040));--comp-otp-field-border-radius:var(--tct-otp-field-border-radius, var(--tct-border-radius-2, var(--app-border-radius-2, 8px)));--comp-otp-field-border-width:var(--tct-otp-field-border-width, 1px);--comp-otp-field-font-color:var(--tct-otp-field-font-color, var(--t-text, inherit));--comp-otp-field-font-size:var(--tct-otp-field-font-size, var(--app-font-size, var(--const-px-16, 16px)));--comp-otp-field-masked-color:var(--tct-otp-field-masked-color, var(--tct-otp-field-font-color, var(--t-text, #1f1f1f)));--comp-otp-field-masked-size:var(--tct-otp-field-masked-size, var(--tct-otp-field-masked-font-size, var(--const-px-8, 8px)));--comp-otp-field-font-weight:var(--tct-otp-field-font-weight, 400);--comp-otp-field-focus-box-shadow:var(--tct-otp-field-focus-box-shadow, var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc));--comp-otp-field-error-border-color:var(--tct-otp-field-error-border-color, var(--const-stoplight-alert, #c30000));--comp-otp-field-error-focus-ring-color:var(--tct-otp-field-error-focus-ring-color, #c30000);--comp-otp-field-error-focus-box-shadow:var(--tct-otp-field-error-focus-box-shadow, 0 0 0 2px #ffffff, 0 0 0 4px var(--comp-otp-field-error-focus-ring-color));--comp-otp-field-success-border-color:var(--tct-otp-field-success-border-color, var(--const-stoplight-success, #0e8a00));--comp-otp-field-success-focus-ring-color:var(--tct-otp-field-success-focus-ring-color, #0e8a00);--comp-otp-field-success-focus-box-shadow:var(--tct-otp-field-success-focus-box-shadow, 0 0 0 2px #ffffff, 0 0 0 4px var(--comp-otp-field-success-focus-ring-color));--comp-otp-field-disabled-opacity:var(--tct-otp-field-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4)));--comp-otp-separator-color:var(--tct-otp-separator-color, var(--t-textA, var(--t-a11y-gray-color, #4d4d4d)));--comp-otp-separator-font-size:var(--tct-otp-separator-font-size, var(--const-px-20, 20px));--comp-otp-separator-font-weight:var(--tct-otp-separator-font-weight, 600);align-items:center;display:inline-flex;flex-direction:column;gap:var(--comp-otp-vertical-gap);max-width:100%}.otp-label{display:block;color:var(--tct-input-label-font-color, inherit);font-size:var(--tct-input-label-font-size, inherit);font-weight:var(--tct-input-label-font-weight, 600);letter-spacing:var(--tct-input-label-letter-spacing, inherit);line-height:var(--tct-input-label-line-height, inherit);text-align:center;text-transform:var(--tct-input-label-text-transform, none);transition:color var(--comp-otp-tween);width:100%}.helper-text{color:var(--tct-otp-helper-font-color, var(--t-textA, var(--t-a11y-gray-color, rgba(77, 77, 77, 0.77))));font-size:var(--tct-otp-helper-font-size, var(--app-font-size-small, var(--const-px-12, 12px)));text-align:center}.otp-content{align-items:center;display:inline-flex;flex-direction:column;gap:var(--comp-otp-vertical-gap);max-width:100%}.send-code-hidden{clip:rect(0, 0, 0, 0);height:1px;overflow:hidden;position:absolute;width:1px}.otp-control-group{align-items:center;display:flex;flex-direction:column;gap:var(--comp-otp-vertical-gap);max-width:100%;width:max-content}.fields-container{align-items:center;display:flex;flex-wrap:nowrap;gap:var(--comp-otp-field-gap);justify-content:center;pointer-events:none;position:relative;width:max-content}.fields-shell{max-width:100%;padding:4px;position:relative;width:max-content}.otp-hidden-input{appearance:none;-webkit-appearance:none;background:transparent;border:0;caret-color:transparent;color:transparent;cursor:text;font-size:16px;height:100%;inset:0;margin:0;opacity:1;outline:none;padding:0;pointer-events:auto;position:absolute;width:100%;z-index:1;-webkit-tap-highlight-color:transparent;-webkit-text-fill-color:transparent}.otp-hidden-input::selection{background:transparent;color:transparent}.otp-hidden-input:focus,.otp-hidden-input:focus-visible{outline:none;box-shadow:none}.otp-hidden-input:disabled{cursor:not-allowed}.otp-slot{align-items:center;background:var(--comp-otp-field-background);border-color:var(--comp-otp-field-border-color);border-radius:var(--comp-otp-field-border-radius);border-style:solid;border-width:var(--comp-otp-field-border-width);box-sizing:border-box;color:var(--comp-otp-field-font-color);display:flex;flex:0 0 var(--comp-otp-field-size);height:var(--comp-otp-field-size);justify-content:center;position:relative;transition:border-color var(--comp-otp-tween), box-shadow var(--comp-otp-tween), opacity var(--comp-otp-tween);width:var(--comp-otp-field-size)}.otp-slot.is-active{border-color:var(--tct-otp-field-focus-border-color, var(--comp-otp-field-border-color));box-shadow:var(--comp-otp-field-focus-box-shadow)}.otp-slot .otp-caret{animation:otp-caret-blink 1s step-end infinite;background:currentColor;display:block;height:50%;pointer-events:none;width:2px}.state-error .otp-slot{border-color:var(--comp-otp-field-error-border-color)}.state-error .otp-slot.is-active{box-shadow:var(--comp-otp-field-error-focus-box-shadow)}.state-success .otp-slot{border-color:var(--comp-otp-field-success-border-color)}.state-success .otp-slot.is-active{box-shadow:var(--comp-otp-field-success-focus-box-shadow)}:host([disabled]) .otp-slot{opacity:var(--comp-otp-field-disabled-opacity)}:host([disabled]) .otp-hidden-input{cursor:not-allowed}@keyframes otp-caret-blink{0%,100%{opacity:1}50%{opacity:0}}.otp-char{color:var(--comp-otp-field-font-color);font-family:inherit;font-size:var(--comp-otp-field-font-size);font-weight:var(--comp-otp-field-font-weight);line-height:1;pointer-events:none;user-select:none}.otp-dot{background:var(--comp-otp-field-masked-color);border-radius:50%;display:block;height:var(--comp-otp-field-masked-size);pointer-events:none;width:var(--comp-otp-field-masked-size)}.otp-separator{color:var(--comp-otp-separator-color);font-size:var(--comp-otp-separator-font-size);font-weight:var(--comp-otp-separator-font-weight)}.submit-button{width:100%}.processing-overlay{align-items:center;background:var(--tct-otp-processing-overlay-background, rgba(255, 255, 255, 0.72));border-radius:var(--comp-otp-field-border-radius);display:flex;inset:0;justify-content:center;pointer-events:auto;position:absolute;--tct-loading-spinner-size:var(--tct-otp-processing-spinner-size, 32px);z-index:1}.otp-message{margin:0;text-align:center;width:100%}';
|
|
389
389
|
}
|
|
390
390
|
}, [ 1, "q2-otp", {
|
|
391
391
|
autoFocus: [ 516, "auto-focus" ],
|
|
@@ -437,11 +437,11 @@ const u = f, defineCustomElement = function() {
|
|
|
437
437
|
break;
|
|
438
438
|
|
|
439
439
|
case "q2-loading":
|
|
440
|
-
customElements.get(s(t)) ||
|
|
440
|
+
customElements.get(s(t)) || d();
|
|
441
441
|
break;
|
|
442
442
|
|
|
443
443
|
case "q2-message":
|
|
444
|
-
customElements.get(s(t)) ||
|
|
444
|
+
customElements.get(s(t)) || h();
|
|
445
445
|
}
|
|
446
446
|
}));
|
|
447
447
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as
|
|
1
|
+
import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as n, transformTag as a } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
3
|
import { n as s, o, i as r, a as c, l } from "./index2.js";
|
|
4
4
|
|
|
@@ -6,17 +6,17 @@ import { m as p } from "./mirror-emit.js";
|
|
|
6
6
|
|
|
7
7
|
import { d as h } from "./click-elsewhere2.js";
|
|
8
8
|
|
|
9
|
-
import { d
|
|
9
|
+
import { d } from "./q2-badge2.js";
|
|
10
10
|
|
|
11
|
-
import { d } from "./q2-btn2.js";
|
|
11
|
+
import { d as g } from "./q2-btn2.js";
|
|
12
12
|
|
|
13
13
|
import { d as u } from "./q2-icon2.js";
|
|
14
14
|
|
|
15
|
-
import { d as
|
|
15
|
+
import { d as m } from "./q2-input2.js";
|
|
16
16
|
|
|
17
|
-
import { d as
|
|
17
|
+
import { d as f } from "./q2-loading2.js";
|
|
18
18
|
|
|
19
|
-
import { d as
|
|
19
|
+
import { d as b } from "./q2-option2.js";
|
|
20
20
|
|
|
21
21
|
import { d as v } from "./q2-option-list2.js";
|
|
22
22
|
|
|
@@ -73,8 +73,8 @@ const x = t(class extends e {
|
|
|
73
73
|
var e;
|
|
74
74
|
if (this.disabled) return;
|
|
75
75
|
if (!r(t, this.hostElement)) return;
|
|
76
|
-
const {isFullViewHidden: i, containerElement:
|
|
77
|
-
i ? null === (e =
|
|
76
|
+
const {isFullViewHidden: i, containerElement: n, inputField: a} = this;
|
|
77
|
+
i ? null === (e = n.querySelector("q2-btn:not([disabled])")) || void 0 === e || e.focus() : a.focus();
|
|
78
78
|
}
|
|
79
79
|
// #endregion
|
|
80
80
|
// #region Public Methods API
|
|
@@ -196,8 +196,8 @@ const x = t(class extends e {
|
|
|
196
196
|
return (null === (t = this.perPageIncrements) || void 0 === t ? void 0 : t.length) > 1;
|
|
197
197
|
}
|
|
198
198
|
get totalPages() {
|
|
199
|
-
const {pagesOnly: t, totalWithDefault: e, perPageWithDefault: i, pages:
|
|
200
|
-
return t &&
|
|
199
|
+
const {pagesOnly: t, totalWithDefault: e, perPageWithDefault: i, pages: n} = this;
|
|
200
|
+
return t && n && !isNaN(parseInt("" + n)) ? n : Math.ceil(e / i);
|
|
201
201
|
}
|
|
202
202
|
get totalWithDefault() {
|
|
203
203
|
return this.total || 0;
|
|
@@ -212,7 +212,7 @@ const x = t(class extends e {
|
|
|
212
212
|
renderPerPage() {
|
|
213
213
|
const t = this.perPageIncrementsArray.sort(((t, e) => t - e));
|
|
214
214
|
return (void 0 === this.perPage || isNaN(this.perPage)) && (this.perPage = t[0]),
|
|
215
|
-
this.perPageIncrements = `[${t.join(",")}]`,
|
|
215
|
+
this.perPageIncrements = `[${t.join(",")}]`, n("q2-select", {
|
|
216
216
|
ref: t => this.perPageSelect = t,
|
|
217
217
|
onChange: t => t.stopImmediatePropagation(),
|
|
218
218
|
onTctChange: t => {
|
|
@@ -220,35 +220,35 @@ const x = t(class extends e {
|
|
|
220
220
|
},
|
|
221
221
|
value: this.perPageIncrementsArray.includes(this.perPage) ? "" + this.perPage : void 0,
|
|
222
222
|
disabled: this.disabled
|
|
223
|
-
}, t.map((t =>
|
|
223
|
+
}, t.map((t => n("q2-option", {
|
|
224
224
|
value: "" + t,
|
|
225
225
|
display: `${l("tecton.element.pagination.view")} ${t}`
|
|
226
226
|
}, `${l("tecton.element.pagination.view")} ${t}`))));
|
|
227
227
|
}
|
|
228
228
|
render() {
|
|
229
229
|
var t;
|
|
230
|
-
const {pagesOnly: e, recordsOnly: i, isFullViewHidden:
|
|
231
|
-
let
|
|
230
|
+
const {pagesOnly: e, recordsOnly: i, isFullViewHidden: a, recordTypeWithDefault: s, totalPages: o, totalWithDefault: r, pageWithDefault: c, currentRange: p, nextRange: h, prevRange: d, showPerPageSelect: g, disabled: u} = this, m = c < 2, f = c === o;
|
|
231
|
+
let b = l("tecton.element.pagination.goToNext"), v = l("tecton.element.pagination.goToPrevious");
|
|
232
232
|
return e ? (v = l("tecton.element.pagination.goToPages", {
|
|
233
233
|
next: c - 1,
|
|
234
234
|
total: o
|
|
235
|
-
}),
|
|
235
|
+
}), b = l("tecton.element.pagination.goToPages", {
|
|
236
236
|
next: c + 1,
|
|
237
237
|
total: o
|
|
238
238
|
})) : i && (v = l("tecton.element.pagination.goToRecords", {
|
|
239
|
-
range:
|
|
239
|
+
range: d,
|
|
240
240
|
recordType: s.toLowerCase(),
|
|
241
241
|
total: r
|
|
242
|
-
}),
|
|
242
|
+
}), b = l("tecton.element.pagination.goToRecords", {
|
|
243
243
|
range: h,
|
|
244
244
|
recordType: s.toLowerCase(),
|
|
245
245
|
total: r
|
|
246
|
-
})),
|
|
246
|
+
})), n("nav", {
|
|
247
247
|
key: "c42b191eccb70b9e3c684843cebf9f6b06f3c3b3",
|
|
248
248
|
class: this.containerClasses.join(" "),
|
|
249
249
|
ref: t => this.containerElement = t,
|
|
250
250
|
"aria-label": l("tecton.element.pagination.title")
|
|
251
|
-
},
|
|
251
|
+
}, n("div", {
|
|
252
252
|
key: "eb03cdc19938adac4a5c44887fa7d9853c9b89ab",
|
|
253
253
|
class: "description",
|
|
254
254
|
"test-id": "description"
|
|
@@ -259,47 +259,47 @@ const x = t(class extends e {
|
|
|
259
259
|
range: p,
|
|
260
260
|
recordType: s.toLowerCase(),
|
|
261
261
|
total: r.toLocaleString()
|
|
262
|
-
})),
|
|
262
|
+
})), n("div", {
|
|
263
263
|
key: "0e9a0bcfa6545b08843423378066989cf96ad18e",
|
|
264
264
|
class: "controls"
|
|
265
|
-
},
|
|
265
|
+
}, n("div", {
|
|
266
266
|
key: "4ea3b0a64165885dfd1bd525527e2617e4f4d748",
|
|
267
267
|
class: "btn-group"
|
|
268
|
-
},
|
|
268
|
+
}, n("q2-btn", {
|
|
269
269
|
key: "72d72c7b974ecbca50c4259cca5028515786af5b",
|
|
270
270
|
ref: t => this.firstPageBtn = t,
|
|
271
271
|
label: l("tecton.element.pagination.goToFirstPage"),
|
|
272
|
-
disabled: u ||
|
|
273
|
-
hidden:
|
|
272
|
+
disabled: u || m,
|
|
273
|
+
hidden: a,
|
|
274
274
|
onTctClick: () => this.handlePageChange(1),
|
|
275
275
|
"test-id": "firstPageBtn",
|
|
276
276
|
"hide-label": !0
|
|
277
|
-
},
|
|
277
|
+
}, n("q2-icon", {
|
|
278
278
|
key: "26f5f8e8cf23a6d924b4a01796827fb62017809d",
|
|
279
279
|
type: "chevron-double-left"
|
|
280
|
-
})),
|
|
280
|
+
})), n("q2-btn", {
|
|
281
281
|
key: "5f7845c5917137131cc6703bb59d90c842e32a7e",
|
|
282
282
|
ref: t => this.prevPageBtn = t,
|
|
283
283
|
label: v,
|
|
284
|
-
disabled: u ||
|
|
284
|
+
disabled: u || m,
|
|
285
285
|
onTctClick: () => this.handlePageChange(c - 1),
|
|
286
286
|
"test-id": "prevPageBtn",
|
|
287
287
|
"hide-label": !0
|
|
288
|
-
},
|
|
288
|
+
}, n("q2-icon", {
|
|
289
289
|
key: "e02ccf51de21789099e2b254019f962dbb5011dc",
|
|
290
290
|
type: "chevron-left"
|
|
291
|
-
}))),
|
|
291
|
+
}))), n("div", {
|
|
292
292
|
key: "ca201f7a4382e7f3835093c4c3877f7e2a0b5150",
|
|
293
293
|
class: "input-display",
|
|
294
|
-
hidden:
|
|
295
|
-
},
|
|
294
|
+
hidden: a
|
|
295
|
+
}, n("span", {
|
|
296
296
|
key: "c690830341a15c25e4ad5a2d2a524d876c9f7cdb",
|
|
297
297
|
"aria-hidden": "true"
|
|
298
|
-
}, l("tecton.element.pagination.page")),
|
|
298
|
+
}, l("tecton.element.pagination.page")), n("div", {
|
|
299
299
|
key: "7d08062d6cd495d4025a82413b347ed87915cbce",
|
|
300
300
|
class: "input-wrapper",
|
|
301
301
|
onClick: () => this.inputField.dispatchEvent(new FocusEvent("focus"))
|
|
302
|
-
},
|
|
302
|
+
}, n("q2-input", {
|
|
303
303
|
key: "e30795721d66d75dd5f349ad4d6d3ffda6023820",
|
|
304
304
|
ref: t => this.inputField = t,
|
|
305
305
|
type: "number",
|
|
@@ -316,40 +316,40 @@ const x = t(class extends e {
|
|
|
316
316
|
"test-id": "pageInput",
|
|
317
317
|
current: "page",
|
|
318
318
|
disabled: u
|
|
319
|
-
})),
|
|
319
|
+
})), n("span", {
|
|
320
320
|
key: "e2f1e51306298ddf428fd4e9fa665b58b2535fc8",
|
|
321
321
|
"aria-hidden": "true"
|
|
322
|
-
}, l("tecton.element.pagination.ofPages", [ o.toLocaleString() ]))),
|
|
322
|
+
}, l("tecton.element.pagination.ofPages", [ o.toLocaleString() ]))), n("div", {
|
|
323
323
|
key: "c7a095aaa30743441c0c4d22f55e94801b3a823f",
|
|
324
324
|
class: "btn-group"
|
|
325
|
-
},
|
|
325
|
+
}, n("q2-btn", {
|
|
326
326
|
key: "c52d8837ec35b128a9d3f9c87766ed770edc9600",
|
|
327
327
|
ref: t => this.nextPageBtn = t,
|
|
328
|
-
label:
|
|
329
|
-
disabled: u ||
|
|
328
|
+
label: b,
|
|
329
|
+
disabled: u || f,
|
|
330
330
|
onTctClick: () => this.handlePageChange(c + 1),
|
|
331
331
|
"test-id": "nextPageBtn",
|
|
332
332
|
"hide-label": !0
|
|
333
|
-
},
|
|
333
|
+
}, n("q2-icon", {
|
|
334
334
|
key: "d1d802bddb426070fa1ca92a7937b8405949f01c",
|
|
335
335
|
type: "chevron-right"
|
|
336
|
-
})),
|
|
336
|
+
})), n("q2-btn", {
|
|
337
337
|
key: "357f5bf5426e6c0004b737238a3c66697fc6a672",
|
|
338
338
|
ref: t => this.lastPageBtn = t,
|
|
339
339
|
label: "tecton.element.pagination.goToLastPage",
|
|
340
|
-
disabled: u ||
|
|
341
|
-
hidden:
|
|
340
|
+
disabled: u || f,
|
|
341
|
+
hidden: a,
|
|
342
342
|
onTctClick: () => this.handlePageChange(o),
|
|
343
343
|
"test-id": "lastPageBtn",
|
|
344
344
|
"hide-label": !0
|
|
345
|
-
},
|
|
345
|
+
}, n("q2-icon", {
|
|
346
346
|
key: "1be92d6fa9252168baf63420271c8b8a77f41d92",
|
|
347
347
|
type: "chevron-double-right"
|
|
348
|
-
})))),
|
|
348
|
+
})))), n("div", {
|
|
349
349
|
key: "96ca4bc582b1dcb830bad146fbf1233f2549f256",
|
|
350
350
|
class: "per-page",
|
|
351
|
-
hidden:
|
|
352
|
-
},
|
|
351
|
+
hidden: a || !(null === (t = this.perPageIncrements) || void 0 === t ? void 0 : t.length)
|
|
352
|
+
}, g && this.renderPerPage()));
|
|
353
353
|
}
|
|
354
354
|
get hostElement() {
|
|
355
355
|
return this;
|
|
@@ -374,7 +374,7 @@ const x = t(class extends e {
|
|
|
374
374
|
};
|
|
375
375
|
}
|
|
376
376
|
static get style() {
|
|
377
|
-
return
|
|
377
|
+
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}: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%)}.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))}';
|
|
378
378
|
}
|
|
379
379
|
}, [ 1, "q2-pagination", {
|
|
380
380
|
align: [ 1537 ],
|
|
@@ -420,47 +420,47 @@ const q = x, defineCustomElement = function() {
|
|
|
420
420
|
[ "q2-pagination", "click-elsewhere", "q2-badge", "q2-btn", "q2-icon", "q2-input", "q2-loading", "q2-option", "q2-option-list", "q2-popover", "q2-select" ].forEach((t => {
|
|
421
421
|
switch (t) {
|
|
422
422
|
case "q2-pagination":
|
|
423
|
-
customElements.get(
|
|
423
|
+
customElements.get(a(t)) || customElements.define(a(t), x);
|
|
424
424
|
break;
|
|
425
425
|
|
|
426
426
|
case "click-elsewhere":
|
|
427
|
-
customElements.get(
|
|
427
|
+
customElements.get(a(t)) || h();
|
|
428
428
|
break;
|
|
429
429
|
|
|
430
430
|
case "q2-badge":
|
|
431
|
-
customElements.get(
|
|
431
|
+
customElements.get(a(t)) || d();
|
|
432
432
|
break;
|
|
433
433
|
|
|
434
434
|
case "q2-btn":
|
|
435
|
-
customElements.get(
|
|
435
|
+
customElements.get(a(t)) || g();
|
|
436
436
|
break;
|
|
437
437
|
|
|
438
438
|
case "q2-icon":
|
|
439
|
-
customElements.get(
|
|
439
|
+
customElements.get(a(t)) || u();
|
|
440
440
|
break;
|
|
441
441
|
|
|
442
442
|
case "q2-input":
|
|
443
|
-
customElements.get(
|
|
443
|
+
customElements.get(a(t)) || m();
|
|
444
444
|
break;
|
|
445
445
|
|
|
446
446
|
case "q2-loading":
|
|
447
|
-
customElements.get(
|
|
447
|
+
customElements.get(a(t)) || f();
|
|
448
448
|
break;
|
|
449
449
|
|
|
450
450
|
case "q2-option":
|
|
451
|
-
customElements.get(
|
|
451
|
+
customElements.get(a(t)) || b();
|
|
452
452
|
break;
|
|
453
453
|
|
|
454
454
|
case "q2-option-list":
|
|
455
|
-
customElements.get(
|
|
455
|
+
customElements.get(a(t)) || v();
|
|
456
456
|
break;
|
|
457
457
|
|
|
458
458
|
case "q2-popover":
|
|
459
|
-
customElements.get(
|
|
459
|
+
customElements.get(a(t)) || y();
|
|
460
460
|
break;
|
|
461
461
|
|
|
462
462
|
case "q2-select":
|
|
463
|
-
customElements.get(
|
|
463
|
+
customElements.get(a(t)) || k();
|
|
464
464
|
}
|
|
465
465
|
}));
|
|
466
466
|
};
|