q2-tecton-elements 1.66.2 → 1.67.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 +3106 -2970
- package/dist/cjs/action-sheet-D71RSc-w.js.map +1 -1
- package/dist/cjs/click-elsewhere.q2-option-list.q2-popover.entry.cjs.js.map +1 -0
- package/dist/cjs/{q2-option-list_2.cjs.entry.js → click-elsewhere_3.cjs.entry.js} +168 -20
- package/dist/cjs/click-elsewhere_3.cjs.entry.js.map +1 -0
- package/dist/cjs/{index-DyAq0y0v.js → index-YvKoRT-t.js} +61 -21
- package/dist/cjs/index-YvKoRT-t.js.map +1 -0
- 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 +3 -3
- package/dist/cjs/q2-avatar.cjs.entry.js +33 -2
- package/dist/cjs/q2-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-badge.cjs.entry.js +1 -1
- package/dist/cjs/q2-btn.q2-loading.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-btn_2.cjs.entry.js +22 -8
- package/dist/cjs/q2-btn_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +3 -3
- package/dist/cjs/q2-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.entry.cjs.js.map +1 -1
- 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 +4 -4
- package/dist/cjs/q2-carousel-pane.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-carousel-pane.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-carousel.cjs.entry.js +67 -42
- package/dist/cjs/q2-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-carousel.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +4 -2
- package/dist/cjs/q2-chart-area.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-chart-area.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +4 -2
- package/dist/cjs/q2-chart-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-chart-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +7 -3
- package/dist/cjs/q2-chart-donut.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-chart-donut.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/q2-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-checkbox-group.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-checkbox.q2-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +322 -0
- package/dist/cjs/q2-checkbox_2.cjs.entry.js.map +1 -0
- package/dist/cjs/q2-context.cjs.entry.js +2 -2
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +13 -16
- package/dist/cjs/q2-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-data-table.entry.cjs.js.map +1 -1
- 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 +2 -2
- package/dist/cjs/q2-editable-field.cjs.entry.js +2 -2
- package/dist/cjs/q2-editable-field.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-editable-field.entry.cjs.js.map +1 -1
- 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-file-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-file-picker.entry.cjs.js.map +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-grid-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +11 -1
- package/dist/cjs/q2-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-input.cjs.entry.js +2 -2
- package/dist/cjs/q2-input.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-input.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +3 -3
- package/dist/cjs/q2-item.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-item.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +2 -2
- package/dist/cjs/q2-legend.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-legend.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-link.q2-list.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +14 -6
- package/dist/cjs/q2-link_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +3 -3
- package/dist/cjs/q2-message.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-message.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +4 -21
- package/dist/cjs/q2-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-modal.entry.cjs.js.map +1 -1
- 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-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +12 -7
- package/dist/cjs/q2-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-pill.cjs.entry.js +3 -3
- package/dist/cjs/q2-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-pill.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/q2-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-radio-group.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +3 -3
- package/dist/cjs/q2-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +22 -8
- package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-select.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +7 -6
- package/dist/cjs/q2-stepper-pane.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper-pane.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +16 -8
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper-vertical.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +7 -4
- package/dist/cjs/q2-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +3 -3
- package/dist/cjs/q2-tab-container.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-tab-container.entry.cjs.js.map +1 -1
- 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 +3 -3
- package/dist/cjs/q2-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +33 -3
- package/dist/cjs/q2-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/{sanitize-html-string-C2iwHNz5.js → sanitize-html-string-CW6y5624.js} +27 -17
- package/dist/cjs/sanitize-html-string-CW6y5624.js.map +1 -0
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/__mocks__/echarts.js +12 -0
- package/dist/collection/__mocks__/echarts.js.map +1 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.css +84 -89
- package/dist/collection/components/q2-avatar/q2-avatar.js +35 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js.map +1 -1
- package/dist/collection/components/q2-btn/q2-btn.css +10 -3
- package/dist/collection/components/q2-btn/q2-btn.js +42 -6
- package/dist/collection/components/q2-btn/q2-btn.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar-helpers.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar-types.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar-validation.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.css +4 -1
- package/dist/collection/components/q2-calendar/q2-calendar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.css +143 -13
- package/dist/collection/components/q2-carousel/q2-carousel.js +90 -42
- package/dist/collection/components/q2-carousel/q2-carousel.js.map +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.css +2 -11
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +18 -16
- package/dist/collection/components/q2-chart-area/q2-chart-area.js.map +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +8 -6
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js.map +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.css +4 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -26
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js.map +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +4 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +38 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js.map +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-context/q2-context.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +14 -0
- package/dist/collection/components/q2-data-table/q2-data-table.js +47 -50
- package/dist/collection/components/q2-data-table/q2-data-table.js.map +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +2 -2
- package/dist/collection/components/q2-editable-field/q2-editable-field.js.map +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +9 -9
- package/dist/collection/components/q2-file-picker/q2-file-picker.js.map +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-grid/q2-grid.js +1 -1
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +1 -1
- package/dist/collection/components/q2-icon/assets/brand.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/browsersos.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/cards.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/communication.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/currencies.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/devices.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/filetypes.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/gestures.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/icon-list.json +1 -1
- package/dist/collection/components/q2-icon/assets/icon-map.json +1 -1
- package/dist/collection/components/q2-icon/assets/legacy.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/mobile.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/standard.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/status.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/q2-icon.js +8 -0
- package/dist/collection/components/q2-icon/q2-icon.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/credit-card.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/currency.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/generic.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/number.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/numeric.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/phone.js.map +1 -1
- package/dist/collection/components/q2-input/q2-input-types.js.map +1 -1
- package/dist/collection/components/q2-input/q2-input.js +42 -42
- package/dist/collection/components/q2-input/q2-input.js.map +1 -1
- package/dist/collection/components/q2-item/q2-item.css +4 -0
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.css +3 -0
- package/dist/collection/components/q2-legend/q2-legend.js +36 -36
- package/dist/collection/components/q2-legend/q2-legend.js.map +1 -1
- package/dist/collection/components/q2-link/q2-link.css +5 -2
- package/dist/collection/components/q2-link/q2-link.js +33 -3
- package/dist/collection/components/q2-link/q2-link.js.map +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.css +19 -16
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js.map +1 -1
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.css +3 -3
- package/dist/collection/components/q2-modal/q2-modal.js +1 -94
- package/dist/collection/components/q2-modal/q2-modal.js.map +1 -1
- 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 +13 -13
- package/dist/collection/components/q2-option-list/q2-option-list.js.map +1 -1
- package/dist/collection/components/q2-pagination/q2-pagination.js +15 -10
- package/dist/collection/components/q2-pagination/q2-pagination.js.map +1 -1
- package/dist/collection/components/q2-pill/q2-pill.css +9 -0
- package/dist/collection/components/q2-pill/q2-pill.js +13 -13
- package/dist/collection/components/q2-pill/q2-pill.js.map +1 -1
- package/dist/collection/components/q2-popover/q2-popover.css +66 -1
- package/dist/collection/components/q2-popover/q2-popover.js +94 -14
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-radio/q2-radio.css +4 -3
- package/dist/collection/components/q2-radio/q2-radio.js +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.css +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +1 -1
- 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-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +23 -7
- package/dist/collection/components/q2-select/q2-select.js.map +1 -1
- package/dist/collection/components/q2-stepper/q2-stepper.css +9 -2
- package/dist/collection/components/q2-stepper/q2-stepper.js +5 -2
- package/dist/collection/components/q2-stepper/q2-stepper.js.map +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +52 -30
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js.map +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.css +11 -2
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +20 -6
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js.map +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.css +7 -1
- 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.css +3 -0
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.css +1 -0
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/q2-tooltip/q2-tooltip.css +1 -1
- package/dist/collection/components/q2-tooltip/q2-tooltip.js +34 -1
- package/dist/collection/components/q2-tooltip/q2-tooltip.js.map +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/utils/action-sheet.js.map +1 -1
- package/dist/collection/utils/index.js +59 -19
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/components/action-sheet.js.map +1 -1
- package/dist/components/index2.js +59 -19
- package/dist/components/index2.js.map +1 -1
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +34 -2
- package/dist/components/q2-avatar2.js.map +1 -1
- package/dist/components/q2-btn2.js +22 -7
- package/dist/components/q2-btn2.js.map +1 -1
- package/dist/components/q2-calendar.js +2 -2
- package/dist/components/q2-calendar.js.map +1 -1
- package/dist/components/q2-card-image.js +2 -2
- package/dist/components/q2-carousel-pane.js +3 -3
- package/dist/components/q2-carousel-pane.js.map +1 -1
- package/dist/components/q2-carousel.js +69 -55
- package/dist/components/q2-carousel.js.map +1 -1
- package/dist/components/q2-chart-area.js +3 -1
- package/dist/components/q2-chart-area.js.map +1 -1
- package/dist/components/q2-chart-bar.js +3 -1
- package/dist/components/q2-chart-bar.js.map +1 -1
- package/dist/components/q2-chart-donut.js +6 -2
- package/dist/components/q2-chart-donut.js.map +1 -1
- package/dist/components/q2-checkbox-group.js +2 -2
- package/dist/components/q2-checkbox-group.js.map +1 -1
- package/dist/components/q2-checkbox2.js +13 -2
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-data-table.js +46 -25
- package/dist/components/q2-data-table.js.map +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-editable-field.js.map +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-file-picker.js.map +1 -1
- package/dist/components/q2-form.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-grid-area.js +1 -1
- package/dist/components/q2-grid.js +1 -1
- package/dist/components/q2-icon2.js +10 -0
- package/dist/components/q2-icon2.js.map +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-input2.js.map +1 -1
- package/dist/components/q2-item2.js +2 -2
- package/dist/components/q2-item2.js.map +1 -1
- package/dist/components/q2-legend2.js +2 -2
- package/dist/components/q2-legend2.js.map +1 -1
- package/dist/components/q2-link2.js +13 -4
- package/dist/components/q2-link2.js.map +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +2 -2
- package/dist/components/q2-message2.js.map +1 -1
- package/dist/components/q2-meter.js +1 -1
- package/dist/components/q2-modal.js +2 -23
- package/dist/components/q2-modal.js.map +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-option-list2.js +1 -1
- package/dist/components/q2-option-list2.js.map +1 -1
- package/dist/components/q2-pagination.js +11 -6
- package/dist/components/q2-pagination.js.map +1 -1
- package/dist/components/q2-pill.js +2 -2
- package/dist/components/q2-pill.js.map +1 -1
- package/dist/components/q2-popover2.js +76 -15
- package/dist/components/q2-popover2.js.map +1 -1
- package/dist/components/q2-radio-group.js +2 -2
- package/dist/components/q2-radio-group.js.map +1 -1
- package/dist/components/q2-radio.js +2 -2
- package/dist/components/q2-radio.js.map +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-select2.js +23 -8
- package/dist/components/q2-select2.js.map +1 -1
- package/dist/components/q2-stepper-pane.js +9 -6
- package/dist/components/q2-stepper-pane.js.map +1 -1
- package/dist/components/q2-stepper-vertical.js +16 -8
- package/dist/components/q2-stepper-vertical.js.map +1 -1
- package/dist/components/q2-stepper.js +6 -3
- package/dist/components/q2-stepper.js.map +1 -1
- package/dist/components/q2-tab-container.js +2 -2
- package/dist/components/q2-tab-container.js.map +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag.js +1 -257
- package/dist/components/q2-tag.js.map +1 -1
- package/dist/{esm/q2-tag.entry.js → components/q2-tag2.js} +68 -15
- package/dist/components/q2-tag2.js.map +1 -0
- package/dist/components/q2-textarea.js +2 -2
- package/dist/components/q2-textarea.js.map +1 -1
- package/dist/components/q2-tooltip2.js +35 -3
- package/dist/components/q2-tooltip2.js.map +1 -1
- package/dist/components/sanitize-html-string.js +25 -15
- package/dist/components/sanitize-html-string.js.map +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/action-sheet-B7adb3xs.js.map +1 -1
- package/dist/esm/click-elsewhere.q2-option-list.q2-popover.entry.js.map +1 -0
- package/dist/esm/{q2-option-list_2.entry.js → click-elsewhere_3.entry.js} +169 -22
- package/dist/esm/click-elsewhere_3.entry.js.map +1 -0
- package/dist/esm/{index-B4WYBDS9.js → index-C4PILj1_.js} +61 -21
- package/dist/esm/index-C4PILj1_.js.map +1 -0
- 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 +3 -3
- package/dist/esm/q2-avatar.entry.js +33 -2
- package/dist/esm/q2-avatar.entry.js.map +1 -1
- package/dist/esm/q2-badge.entry.js +1 -1
- package/dist/esm/q2-btn.q2-loading.entry.js.map +1 -1
- package/dist/esm/q2-btn_2.entry.js +22 -8
- package/dist/esm/q2-btn_2.entry.js.map +1 -1
- package/dist/esm/q2-calendar.entry.js +3 -3
- package/dist/esm/q2-calendar.entry.js.map +1 -1
- 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 +4 -4
- package/dist/esm/q2-carousel-pane.entry.js.map +1 -1
- package/dist/esm/q2-carousel.entry.js +67 -42
- package/dist/esm/q2-carousel.entry.js.map +1 -1
- package/dist/esm/q2-chart-area.entry.js +4 -2
- package/dist/esm/q2-chart-area.entry.js.map +1 -1
- package/dist/esm/q2-chart-bar.entry.js +4 -2
- package/dist/esm/q2-chart-bar.entry.js.map +1 -1
- package/dist/esm/q2-chart-donut.entry.js +7 -3
- package/dist/esm/q2-chart-donut.entry.js.map +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +3 -3
- package/dist/esm/q2-checkbox-group.entry.js.map +1 -1
- package/dist/esm/q2-checkbox.q2-tag.entry.js.map +1 -0
- package/dist/esm/q2-checkbox_2.entry.js +319 -0
- package/dist/esm/q2-checkbox_2.entry.js.map +1 -0
- package/dist/esm/q2-context.entry.js +2 -2
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +13 -16
- package/dist/esm/q2-data-table.entry.js.map +1 -1
- 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 +2 -2
- package/dist/esm/q2-editable-field.entry.js +2 -2
- package/dist/esm/q2-editable-field.entry.js.map +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js.map +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-grid-area.entry.js +1 -1
- package/dist/esm/q2-grid.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +11 -1
- package/dist/esm/q2-icon.entry.js.map +1 -1
- package/dist/esm/q2-input.entry.js +2 -2
- package/dist/esm/q2-input.entry.js.map +1 -1
- package/dist/esm/q2-item.entry.js +3 -3
- package/dist/esm/q2-item.entry.js.map +1 -1
- package/dist/esm/q2-legend.entry.js +2 -2
- package/dist/esm/q2-legend.entry.js.map +1 -1
- package/dist/esm/q2-link.q2-list.entry.js.map +1 -1
- package/dist/esm/q2-link_2.entry.js +14 -6
- package/dist/esm/q2-link_2.entry.js.map +1 -1
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +3 -3
- package/dist/esm/q2-message.entry.js.map +1 -1
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +4 -21
- package/dist/esm/q2-modal.entry.js.map +1 -1
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +12 -7
- package/dist/esm/q2-pagination.entry.js.map +1 -1
- package/dist/esm/q2-pill.entry.js +3 -3
- package/dist/esm/q2-pill.entry.js.map +1 -1
- package/dist/esm/q2-radio-group.entry.js +3 -3
- package/dist/esm/q2-radio-group.entry.js.map +1 -1
- package/dist/esm/q2-radio.entry.js +3 -3
- package/dist/esm/q2-radio.entry.js.map +1 -1
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +22 -8
- package/dist/esm/q2-select.entry.js.map +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +7 -6
- package/dist/esm/q2-stepper-pane.entry.js.map +1 -1
- package/dist/esm/q2-stepper-vertical.entry.js +16 -8
- package/dist/esm/q2-stepper-vertical.entry.js.map +1 -1
- package/dist/esm/q2-stepper.entry.js +7 -4
- package/dist/esm/q2-stepper.entry.js.map +1 -1
- package/dist/esm/q2-tab-container.entry.js +3 -3
- package/dist/esm/q2-tab-container.entry.js.map +1 -1
- 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 +3 -3
- package/dist/esm/q2-textarea.entry.js.map +1 -1
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +33 -3
- package/dist/esm/q2-tooltip.entry.js.map +1 -1
- package/dist/esm/{sanitize-html-string-BPwFpYg-.js → sanitize-html-string-B35VmRc9.js} +27 -17
- package/dist/esm/sanitize-html-string-B35VmRc9.js.map +1 -0
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/action-sheet-B7adb3xs.js.map +1 -1
- package/dist/q2-tecton-elements/assets/brand.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/browsersos.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/cards.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/communication.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/currencies.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/devices.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/filetypes.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/gestures.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/icon-list.json +1 -1
- package/dist/q2-tecton-elements/assets/icon-map.json +1 -1
- package/dist/q2-tecton-elements/assets/legacy.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/mobile.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/standard.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/status.symbol.svg +1 -1
- package/dist/q2-tecton-elements/click-elsewhere.q2-option-list.q2-popover.entry.esm.js.map +1 -0
- package/dist/q2-tecton-elements/{q2-option-list_2.entry.js → click-elsewhere_3.entry.js} +357 -224
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js.map +1 -0
- package/dist/q2-tecton-elements/{index-B4WYBDS9.js → index-C4PILj1_.js} +53 -14
- package/dist/q2-tecton-elements/index-C4PILj1_.js.map +1 -0
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-avatar.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-avatar.entry.js +68 -30
- package/dist/q2-tecton-elements/q2-avatar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-badge.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-btn.q2-loading.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +30 -21
- package/dist/q2-tecton-elements/q2-btn_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-calendar.entry.js.map +1 -1
- 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.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel.entry.js +269 -242
- package/dist/q2-tecton-elements/q2-carousel.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +6 -5
- package/dist/q2-tecton-elements/q2-chart-area.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-bar.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +4 -3
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-donut.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +13 -11
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox.q2-tag.entry.esm.js.map +1 -0
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +482 -0
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js.map +1 -0
- package/dist/q2-tecton-elements/q2-context.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-currency.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-data-table.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-data-table.entry.js +26 -28
- package/dist/q2-tecton-elements/q2-data-table.entry.js.map +1 -1
- 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 +79 -79
- package/dist/q2-tecton-elements/q2-editable-field.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-editable-field.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js.map +1 -1
- 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-grid-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-icon.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-icon.entry.js +122 -111
- package/dist/q2-tecton-elements/q2-icon.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-input.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-input.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-input.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +40 -40
- package/dist/q2-tecton-elements/q2-item.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-legend.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-link.q2-list.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-link_2.entry.js +24 -18
- package/dist/q2-tecton-elements/q2-link_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +29 -25
- package/dist/q2-tecton-elements/q2-message.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-meter.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-modal.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-modal.entry.js +65 -79
- package/dist/q2-tecton-elements/q2-modal.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +30 -30
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +43 -32
- package/dist/q2-tecton-elements/q2-pagination.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-pill.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-pill.entry.js +40 -40
- package/dist/q2-tecton-elements/q2-pill.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-radio-group.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-radio-group.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-radio.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-section.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-select.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-select.entry.js +21 -8
- package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +16 -15
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +73 -67
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper.entry.js +38 -36
- package/dist/q2-tecton-elements/q2-stepper.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tab-container.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-tab-container.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-textarea.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +41 -5
- package/dist/q2-tecton-elements/q2-tooltip.entry.js.map +1 -1
- package/dist/q2-tecton-elements/{sanitize-html-string-BPwFpYg-.js → sanitize-html-string-B35VmRc9.js} +118 -109
- package/dist/q2-tecton-elements/sanitize-html-string-B35VmRc9.js.map +1 -0
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/scripts/docs-generator/index.js +1 -1
- package/dist/scripts/docs-generator/index.js.map +1 -1
- package/dist/types/__mocks__/echarts.d.ts +16 -0
- package/dist/types/components/q2-avatar/q2-avatar.d.ts +9 -0
- package/dist/types/components/q2-btn/q2-btn.d.ts +6 -0
- package/dist/types/components/q2-calendar/q2-calendar-helpers.d.ts +3 -3
- package/dist/types/components/q2-calendar/q2-calendar-types.d.ts +2 -2
- package/dist/types/components/q2-calendar/q2-calendar-validation.d.ts +5 -5
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +8 -8
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +6 -0
- package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +4 -4
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +3 -3
- package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +9 -9
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +11 -0
- package/dist/types/components/q2-data-table/q2-data-table.d.ts +8 -41
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +4 -4
- package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +1 -13
- package/dist/types/components/q2-input/formatting/alpha.d.ts +1 -1
- package/dist/types/components/q2-input/formatting/alphanumeric.d.ts +1 -1
- package/dist/types/components/q2-input/formatting/cif.d.ts +1 -1
- package/dist/types/components/q2-input/formatting/clabe.d.ts +1 -1
- package/dist/types/components/q2-input/formatting/credit-card.d.ts +2 -2
- package/dist/types/components/q2-input/formatting/currency.d.ts +2 -2
- package/dist/types/components/q2-input/formatting/generic.d.ts +2 -2
- package/dist/types/components/q2-input/formatting/iban.d.ts +1 -1
- package/dist/types/components/q2-input/formatting/number.d.ts +3 -2
- package/dist/types/components/q2-input/formatting/numeric.d.ts +2 -2
- package/dist/types/components/q2-input/formatting/phone.d.ts +2 -2
- package/dist/types/components/q2-input/formatting/postal.d.ts +1 -1
- package/dist/types/components/q2-input/formatting/routingnumber.d.ts +1 -1
- package/dist/types/components/q2-input/formatting/ssn.d.ts +1 -1
- package/dist/types/components/q2-input/formatting/swift.d.ts +1 -1
- package/dist/types/components/q2-input/formatting/tin.d.ts +1 -1
- package/dist/types/components/q2-input/q2-input-types.d.ts +2 -22
- package/dist/types/components/q2-input/q2-input.d.ts +16 -15
- package/dist/types/components/q2-legend/q2-legend.d.ts +11 -11
- package/dist/types/components/q2-link/q2-link.d.ts +6 -0
- package/dist/types/components/q2-modal/q2-modal.d.ts +0 -17
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +4 -4
- package/dist/types/components/q2-pagination/q2-pagination.d.ts +2 -0
- package/dist/types/components/q2-pill/q2-pill.d.ts +5 -5
- package/dist/types/components/q2-popover/q2-popover.d.ts +8 -0
- package/dist/types/components/q2-select/q2-select.d.ts +9 -6
- package/dist/types/components/q2-stepper-pane/q2-stepper-pane.d.ts +8 -11
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +10 -7
- package/dist/types/components/q2-tooltip/q2-tooltip.d.ts +4 -0
- package/dist/types/components.d.ts +148 -118
- package/dist/types/global.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/action-sheet.d.ts +5 -5
- package/dist/types/utils/index.d.ts +13 -0
- package/package.json +8 -9
- package/dist/cjs/click-elsewhere.cjs.entry.js +0 -97
- package/dist/cjs/click-elsewhere.cjs.entry.js.map +0 -1
- package/dist/cjs/click-elsewhere.entry.cjs.js.map +0 -1
- package/dist/cjs/index-DyAq0y0v.js.map +0 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +0 -110
- package/dist/cjs/q2-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/q2-checkbox.entry.cjs.js.map +0 -1
- package/dist/cjs/q2-option-list.q2-popover.entry.cjs.js.map +0 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js.map +0 -1
- package/dist/cjs/q2-tag.cjs.entry.js +0 -211
- package/dist/cjs/q2-tag.cjs.entry.js.map +0 -1
- package/dist/cjs/q2-tag.entry.cjs.js.map +0 -1
- package/dist/cjs/sanitize-html-string-C2iwHNz5.js.map +0 -1
- package/dist/esm/click-elsewhere.entry.js +0 -95
- package/dist/esm/click-elsewhere.entry.js.map +0 -1
- package/dist/esm/index-B4WYBDS9.js.map +0 -1
- package/dist/esm/q2-checkbox.entry.js +0 -108
- package/dist/esm/q2-checkbox.entry.js.map +0 -1
- package/dist/esm/q2-option-list.q2-popover.entry.js.map +0 -1
- package/dist/esm/q2-option-list_2.entry.js.map +0 -1
- package/dist/esm/q2-tag.entry.js.map +0 -1
- package/dist/esm/sanitize-html-string-BPwFpYg-.js.map +0 -1
- package/dist/q2-tecton-elements/click-elsewhere.entry.esm.js.map +0 -1
- package/dist/q2-tecton-elements/click-elsewhere.entry.js +0 -94
- package/dist/q2-tecton-elements/click-elsewhere.entry.js.map +0 -1
- package/dist/q2-tecton-elements/index-B4WYBDS9.js.map +0 -1
- package/dist/q2-tecton-elements/q2-checkbox.entry.esm.js.map +0 -1
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +0 -228
- package/dist/q2-tecton-elements/q2-checkbox.entry.js.map +0 -1
- package/dist/q2-tecton-elements/q2-option-list.q2-popover.entry.esm.js.map +0 -1
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +0 -1
- package/dist/q2-tecton-elements/q2-tag.entry.esm.js.map +0 -1
- package/dist/q2-tecton-elements/q2-tag.entry.js +0 -256
- package/dist/q2-tecton-elements/q2-tag.entry.js.map +0 -1
- package/dist/q2-tecton-elements/sanitize-html-string-BPwFpYg-.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e, c as t, h as i, F as n, H as s, g as r } from "./index-CGkHOjh1.js";
|
|
2
2
|
|
|
3
|
-
import { c as o, l as a, d as l, o as c, i as f } from "./index-
|
|
3
|
+
import { c as o, l as a, d as l, o as c, i as f } from "./index-C4PILj1_.js";
|
|
4
4
|
|
|
5
5
|
import { m as u } from "./mirror-emit-DUjY_ucm.js";
|
|
6
6
|
|
|
@@ -87,7 +87,7 @@ function getDocument() {
|
|
|
87
87
|
return e;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
const
|
|
90
|
+
const g = {
|
|
91
91
|
document: h,
|
|
92
92
|
navigator: {
|
|
93
93
|
userAgent: ""
|
|
@@ -145,7 +145,7 @@ const m = {
|
|
|
145
145
|
|
|
146
146
|
function getWindow() {
|
|
147
147
|
const e = typeof window !== "undefined" ? window : {};
|
|
148
|
-
extend$1(e,
|
|
148
|
+
extend$1(e, g);
|
|
149
149
|
return e;
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -437,7 +437,7 @@ function elementOuterSize(e, t, i) {
|
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
let
|
|
440
|
+
let v;
|
|
441
441
|
|
|
442
442
|
function calcSupport() {
|
|
443
443
|
const e = getWindow();
|
|
@@ -449,13 +449,13 @@ function calcSupport() {
|
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
function getSupport() {
|
|
452
|
-
if (!
|
|
453
|
-
|
|
452
|
+
if (!v) {
|
|
453
|
+
v = calcSupport();
|
|
454
454
|
}
|
|
455
|
-
return
|
|
455
|
+
return v;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
let
|
|
458
|
+
let m;
|
|
459
459
|
|
|
460
460
|
function calcDevice({userAgent: e} = {}) {
|
|
461
461
|
const t = getSupport();
|
|
@@ -496,10 +496,10 @@ function calcDevice({userAgent: e} = {}) {
|
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
function getDevice(e = {}) {
|
|
499
|
-
if (!
|
|
500
|
-
|
|
499
|
+
if (!m) {
|
|
500
|
+
m = calcDevice(e);
|
|
501
501
|
}
|
|
502
|
-
return
|
|
502
|
+
return m;
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
let w;
|
|
@@ -804,18 +804,18 @@ function updateSlides() {
|
|
|
804
804
|
if (typeof h === "function") {
|
|
805
805
|
h = t.slidesOffsetAfter.call(e);
|
|
806
806
|
}
|
|
807
|
-
const
|
|
808
|
-
const
|
|
809
|
-
const
|
|
807
|
+
const g = e.snapGrid.length;
|
|
808
|
+
const v = e.slidesGrid.length;
|
|
809
|
+
const m = e.size - p - h;
|
|
810
810
|
let w = t.spaceBetween;
|
|
811
811
|
let b = -p;
|
|
812
812
|
let y = 0;
|
|
813
813
|
let x = 0;
|
|
814
|
-
if (typeof
|
|
814
|
+
if (typeof m === "undefined") {
|
|
815
815
|
return;
|
|
816
816
|
}
|
|
817
817
|
if (typeof w === "string" && w.indexOf("%") >= 0) {
|
|
818
|
-
w = parseFloat(w.replace("%", "")) / 100 *
|
|
818
|
+
w = parseFloat(w.replace("%", "")) / 100 * m;
|
|
819
819
|
} else if (typeof w === "string") {
|
|
820
820
|
w = parseFloat(w);
|
|
821
821
|
}
|
|
@@ -905,7 +905,7 @@ function updateSlides() {
|
|
|
905
905
|
}
|
|
906
906
|
if (t.roundLengths) C = Math.floor(C);
|
|
907
907
|
} else {
|
|
908
|
-
C = (
|
|
908
|
+
C = (m - (t.slidesPerView - 1) * w) / t.slidesPerView;
|
|
909
909
|
if (t.roundLengths) C = Math.floor(C);
|
|
910
910
|
if (n) {
|
|
911
911
|
n.style[e.getDirectionLabel("width")] = `${C}px`;
|
|
@@ -917,8 +917,8 @@ function updateSlides() {
|
|
|
917
917
|
d.push(C);
|
|
918
918
|
if (t.centeredSlides) {
|
|
919
919
|
b = b + C / 2 + y / 2 + w;
|
|
920
|
-
if (y === 0 && i !== 0) b = b -
|
|
921
|
-
if (i === 0) b = b -
|
|
920
|
+
if (y === 0 && i !== 0) b = b - m / 2 - w;
|
|
921
|
+
if (i === 0) b = b - m / 2 - w;
|
|
922
922
|
if (Math.abs(b) < 1 / 1e3) b = 0;
|
|
923
923
|
if (t.roundLengths) b = Math.floor(b);
|
|
924
924
|
if (x % t.slidesPerGroup === 0) f.push(b);
|
|
@@ -933,7 +933,7 @@ function updateSlides() {
|
|
|
933
933
|
y = C;
|
|
934
934
|
x += 1;
|
|
935
935
|
}
|
|
936
|
-
e.virtualSize = Math.max(e.virtualSize,
|
|
936
|
+
e.virtualSize = Math.max(e.virtualSize, m) + h;
|
|
937
937
|
if (s && r && (t.effect === "slide" || t.effect === "coverflow")) {
|
|
938
938
|
i.style.width = `${e.virtualSize + w}px`;
|
|
939
939
|
}
|
|
@@ -959,7 +959,7 @@ function updateSlides() {
|
|
|
959
959
|
let t = 0;
|
|
960
960
|
for (let i = d.length - 1; i >= 0; i -= 1) {
|
|
961
961
|
t += d[i] + (i < d.length - 1 ? w : 0);
|
|
962
|
-
if (t <=
|
|
962
|
+
if (t <= m) {
|
|
963
963
|
e = d.length - i;
|
|
964
964
|
} else {
|
|
965
965
|
break;
|
|
@@ -979,16 +979,16 @@ function updateSlides() {
|
|
|
979
979
|
if (i <= s) {
|
|
980
980
|
r.push(o);
|
|
981
981
|
}
|
|
982
|
-
} else if (f[i] <= e.virtualSize -
|
|
982
|
+
} else if (f[i] <= e.virtualSize - m) {
|
|
983
983
|
// When snapToSlideEdge is disabled, keep snaps that fit within scrollable area
|
|
984
984
|
r.push(o);
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
987
|
f = r;
|
|
988
|
-
if (Math.floor(e.virtualSize -
|
|
988
|
+
if (Math.floor(e.virtualSize - m) - Math.floor(f[f.length - 1]) > 1) {
|
|
989
989
|
// Only add edge-aligned snap if snapToSlideEdge is not enabled
|
|
990
990
|
if (!n) {
|
|
991
|
-
f.push(e.virtualSize -
|
|
991
|
+
f.push(e.virtualSize - m);
|
|
992
992
|
}
|
|
993
993
|
}
|
|
994
994
|
}
|
|
@@ -1028,7 +1028,7 @@ function updateSlides() {
|
|
|
1028
1028
|
e += t + (w || 0);
|
|
1029
1029
|
}));
|
|
1030
1030
|
e -= w;
|
|
1031
|
-
const t = e >
|
|
1031
|
+
const t = e > m ? e - m : 0;
|
|
1032
1032
|
f = f.map((e => {
|
|
1033
1033
|
if (e <= 0) return -p;
|
|
1034
1034
|
if (e > t) return t + h;
|
|
@@ -1041,8 +1041,8 @@ function updateSlides() {
|
|
|
1041
1041
|
e += t + (w || 0);
|
|
1042
1042
|
}));
|
|
1043
1043
|
e -= w;
|
|
1044
|
-
if (e <
|
|
1045
|
-
const t = (
|
|
1044
|
+
if (e < m) {
|
|
1045
|
+
const t = (m - e) / 2;
|
|
1046
1046
|
f.forEach(((e, i) => {
|
|
1047
1047
|
f[i] = e - t;
|
|
1048
1048
|
}));
|
|
@@ -1068,11 +1068,11 @@ function updateSlides() {
|
|
|
1068
1068
|
if (c !== a) {
|
|
1069
1069
|
e.emit("slidesLengthChange");
|
|
1070
1070
|
}
|
|
1071
|
-
if (f.length !==
|
|
1071
|
+
if (f.length !== g) {
|
|
1072
1072
|
if (e.params.watchOverflow) e.checkOverflow();
|
|
1073
1073
|
e.emit("snapGridLengthChange");
|
|
1074
1074
|
}
|
|
1075
|
-
if (u.length !==
|
|
1075
|
+
if (u.length !== v) {
|
|
1076
1076
|
e.emit("slidesGridLengthChange");
|
|
1077
1077
|
}
|
|
1078
1078
|
if (t.watchSlidesProgress) {
|
|
@@ -1179,12 +1179,12 @@ function updateSlidesProgress(e = this && this.translate || 0) {
|
|
|
1179
1179
|
const d = -(o - c);
|
|
1180
1180
|
const p = d + t.slidesSizesGrid[e];
|
|
1181
1181
|
const h = d >= 0 && d <= t.size - t.slidesSizesGrid[e];
|
|
1182
|
-
const
|
|
1183
|
-
if (
|
|
1182
|
+
const g = d >= 0 && d < t.size - 1 || p > 1 && p <= t.size || d <= 0 && p >= t.size;
|
|
1183
|
+
if (g) {
|
|
1184
1184
|
t.visibleSlides.push(l);
|
|
1185
1185
|
t.visibleSlidesIndexes.push(e);
|
|
1186
1186
|
}
|
|
1187
|
-
toggleSlideClasses$1(l,
|
|
1187
|
+
toggleSlideClasses$1(l, g, i.slideVisibleClass);
|
|
1188
1188
|
toggleSlideClasses$1(l, h, i.slideFullyVisibleClass);
|
|
1189
1189
|
l.progress = s ? -f : f;
|
|
1190
1190
|
l.originalProgress = s ? -u : u;
|
|
@@ -1743,14 +1743,14 @@ function slideTo(e = 0, t, i = true, n, s) {
|
|
|
1743
1743
|
if (typeof t === "undefined") {
|
|
1744
1744
|
t = r.params.speed;
|
|
1745
1745
|
}
|
|
1746
|
-
const
|
|
1747
|
-
let
|
|
1748
|
-
if (
|
|
1749
|
-
const
|
|
1746
|
+
const g = Math.min(r.params.slidesPerGroupSkip, o);
|
|
1747
|
+
let v = g + Math.floor((o - g) / r.params.slidesPerGroup);
|
|
1748
|
+
if (v >= l.length) v = l.length - 1;
|
|
1749
|
+
const m = -l[v];
|
|
1750
1750
|
// Normalize slideIndex
|
|
1751
1751
|
if (a.normalizeSlideIndex) {
|
|
1752
1752
|
for (let e = 0; e < c.length; e += 1) {
|
|
1753
|
-
const t = -Math.floor(
|
|
1753
|
+
const t = -Math.floor(m * 100);
|
|
1754
1754
|
const i = Math.floor(c[e] * 100);
|
|
1755
1755
|
const n = Math.floor(c[e + 1] * 100);
|
|
1756
1756
|
if (typeof c[e + 1] !== "undefined") {
|
|
@@ -1766,10 +1766,10 @@ function slideTo(e = 0, t, i = true, n, s) {
|
|
|
1766
1766
|
}
|
|
1767
1767
|
// Directions locks
|
|
1768
1768
|
if (r.initialized && o !== u) {
|
|
1769
|
-
if (!r.allowSlideNext && (d ?
|
|
1769
|
+
if (!r.allowSlideNext && (d ? m > r.translate && m > r.minTranslate() : m < r.translate && m < r.minTranslate())) {
|
|
1770
1770
|
return false;
|
|
1771
1771
|
}
|
|
1772
|
-
if (!r.allowSlidePrev &&
|
|
1772
|
+
if (!r.allowSlidePrev && m > r.translate && m > r.maxTranslate()) {
|
|
1773
1773
|
if ((u || 0) !== o) {
|
|
1774
1774
|
return false;
|
|
1775
1775
|
}
|
|
@@ -1779,14 +1779,14 @@ function slideTo(e = 0, t, i = true, n, s) {
|
|
|
1779
1779
|
r.emit("beforeSlideChangeStart");
|
|
1780
1780
|
}
|
|
1781
1781
|
// Update progress
|
|
1782
|
-
r.updateProgress(
|
|
1782
|
+
r.updateProgress(m);
|
|
1783
1783
|
let w;
|
|
1784
1784
|
if (o > u) w = "next"; else if (o < u) w = "prev"; else w = "reset";
|
|
1785
1785
|
// initial virtual
|
|
1786
1786
|
const b = r.virtual && r.params.virtual.enabled;
|
|
1787
1787
|
const y = b && s;
|
|
1788
1788
|
// Update Index
|
|
1789
|
-
if (!y && (d && -
|
|
1789
|
+
if (!y && (d && -m === r.translate || !d && m === r.translate)) {
|
|
1790
1790
|
r.updateActiveIndex(o);
|
|
1791
1791
|
// Update Height
|
|
1792
1792
|
if (a.autoHeight) {
|
|
@@ -1794,7 +1794,7 @@ function slideTo(e = 0, t, i = true, n, s) {
|
|
|
1794
1794
|
}
|
|
1795
1795
|
r.updateSlidesClasses();
|
|
1796
1796
|
if (a.effect !== "slide") {
|
|
1797
|
-
r.setTranslate(
|
|
1797
|
+
r.setTranslate(m);
|
|
1798
1798
|
}
|
|
1799
1799
|
if (w !== "reset") {
|
|
1800
1800
|
r.transitionStart(i, w);
|
|
@@ -1804,7 +1804,7 @@ function slideTo(e = 0, t, i = true, n, s) {
|
|
|
1804
1804
|
}
|
|
1805
1805
|
if (a.cssMode) {
|
|
1806
1806
|
const e = r.isHorizontal();
|
|
1807
|
-
const i = d ?
|
|
1807
|
+
const i = d ? m : -m;
|
|
1808
1808
|
if (t === 0) {
|
|
1809
1809
|
if (b) {
|
|
1810
1810
|
r.wrapperEl.style.scrollSnapType = "none";
|
|
@@ -1846,7 +1846,7 @@ function slideTo(e = 0, t, i = true, n, s) {
|
|
|
1846
1846
|
r.virtual.update(false, false, o);
|
|
1847
1847
|
}
|
|
1848
1848
|
r.setTransition(t);
|
|
1849
|
-
r.setTranslate(
|
|
1849
|
+
r.setTranslate(m);
|
|
1850
1850
|
r.updateActiveIndex(o);
|
|
1851
1851
|
r.updateSlidesClasses();
|
|
1852
1852
|
r.emit("beforeTransitionStart", t, n);
|
|
@@ -1993,8 +1993,8 @@ function slideToLoop(e = 0, t, i = true, n) {
|
|
|
1993
1993
|
const d = normalize(u);
|
|
1994
1994
|
const p = r.map((e => normalize(e)));
|
|
1995
1995
|
const h = s.freeMode && s.freeMode.enabled;
|
|
1996
|
-
let
|
|
1997
|
-
if (typeof
|
|
1996
|
+
let g = r[p.indexOf(d) - 1];
|
|
1997
|
+
if (typeof g === "undefined" && (s.cssMode || h)) {
|
|
1998
1998
|
let e;
|
|
1999
1999
|
r.forEach(((t, i) => {
|
|
2000
2000
|
if (d >= t) {
|
|
@@ -2003,16 +2003,16 @@ function slideToLoop(e = 0, t, i = true, n) {
|
|
|
2003
2003
|
}
|
|
2004
2004
|
}));
|
|
2005
2005
|
if (typeof e !== "undefined") {
|
|
2006
|
-
|
|
2006
|
+
g = h ? r[e] : r[e > 0 ? e - 1 : e];
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
|
-
let
|
|
2010
|
-
if (typeof
|
|
2011
|
-
|
|
2012
|
-
if (
|
|
2009
|
+
let v = 0;
|
|
2010
|
+
if (typeof g !== "undefined") {
|
|
2011
|
+
v = o.indexOf(g);
|
|
2012
|
+
if (v < 0) v = n.activeIndex - 1;
|
|
2013
2013
|
if (s.slidesPerView === "auto" && s.slidesPerGroup === 1 && s.slidesPerGroupAuto) {
|
|
2014
|
-
|
|
2015
|
-
|
|
2014
|
+
v = v - n.slidesPerViewDynamic("previous", true) + 1;
|
|
2015
|
+
v = Math.max(v, 0);
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
2018
|
if (s.rewind && n.isBeginning) {
|
|
@@ -2020,11 +2020,11 @@ function slideToLoop(e = 0, t, i = true, n) {
|
|
|
2020
2020
|
return n.slideTo(s, e, t, i);
|
|
2021
2021
|
} else if (s.loop && n.activeIndex === 0 && s.cssMode) {
|
|
2022
2022
|
requestAnimationFrame((() => {
|
|
2023
|
-
n.slideTo(
|
|
2023
|
+
n.slideTo(v, e, t, i);
|
|
2024
2024
|
}));
|
|
2025
2025
|
return true;
|
|
2026
2026
|
}
|
|
2027
|
-
return n.slideTo(
|
|
2027
|
+
return n.slideTo(v, e, t, i);
|
|
2028
2028
|
}
|
|
2029
2029
|
|
|
2030
2030
|
/* eslint no-unused-vars: "off" */ function slideReset(e, t = true, i) {
|
|
@@ -2175,8 +2175,8 @@ function loopFix({slideRealIndex: e, slideTo: t = true, direction: i, setTransla
|
|
|
2175
2175
|
if (!l.params.loop) return;
|
|
2176
2176
|
l.emit("beforeLoopFix");
|
|
2177
2177
|
const {slides: c, allowSlidePrev: f, allowSlideNext: u, slidesEl: d, params: p} = l;
|
|
2178
|
-
const {centeredSlides: h, slidesOffsetBefore:
|
|
2179
|
-
const w = h || !!
|
|
2178
|
+
const {centeredSlides: h, slidesOffsetBefore: g, slidesOffsetAfter: v, initialSlide: m} = p;
|
|
2179
|
+
const w = h || !!g || !!v;
|
|
2180
2180
|
l.allowSlidePrev = true;
|
|
2181
2181
|
l.allowSlideNext = true;
|
|
2182
2182
|
if (l.virtual && p.virtual.enabled) {
|
|
@@ -2219,22 +2219,22 @@ function loopFix({slideRealIndex: e, slideTo: t = true, direction: i, setTransla
|
|
|
2219
2219
|
const C = [];
|
|
2220
2220
|
const T = [];
|
|
2221
2221
|
const M = S ? Math.ceil(c.length / p.grid.rows) : c.length;
|
|
2222
|
-
const k = r && M -
|
|
2223
|
-
let
|
|
2222
|
+
const k = r && M - m < b && !w;
|
|
2223
|
+
let E = k ? m : l.activeIndex;
|
|
2224
2224
|
if (typeof s === "undefined") {
|
|
2225
2225
|
s = l.getSlideIndex(c.find((e => e.classList.contains(p.slideActiveClass))));
|
|
2226
2226
|
} else {
|
|
2227
|
-
|
|
2227
|
+
E = s;
|
|
2228
2228
|
}
|
|
2229
|
-
const
|
|
2230
|
-
const
|
|
2229
|
+
const P = i === "next" || !i;
|
|
2230
|
+
const q = i === "prev" || !i;
|
|
2231
|
+
let O = 0;
|
|
2231
2232
|
let I = 0;
|
|
2232
|
-
let q = 0;
|
|
2233
2233
|
const $ = S ? c[s].column : s;
|
|
2234
2234
|
const A = $ + (w && typeof n === "undefined" ? -b / 2 + .5 : 0);
|
|
2235
2235
|
// prepend last slides before start
|
|
2236
2236
|
if (A < x) {
|
|
2237
|
-
|
|
2237
|
+
O = Math.max(x - A, y);
|
|
2238
2238
|
for (let e = 0; e < x - A; e += 1) {
|
|
2239
2239
|
const t = e - Math.floor(e / M) * M;
|
|
2240
2240
|
if (S) {
|
|
@@ -2250,11 +2250,11 @@ function loopFix({slideRealIndex: e, slideTo: t = true, direction: i, setTransla
|
|
|
2250
2250
|
}
|
|
2251
2251
|
}
|
|
2252
2252
|
} else if (A + b > M - x) {
|
|
2253
|
-
|
|
2253
|
+
I = Math.max(A - (M - x * 2), y);
|
|
2254
2254
|
if (k) {
|
|
2255
|
-
|
|
2255
|
+
I = Math.max(I, b - M + m + 1);
|
|
2256
2256
|
}
|
|
2257
|
-
for (let e = 0; e <
|
|
2257
|
+
for (let e = 0; e < I; e += 1) {
|
|
2258
2258
|
const t = e - Math.floor(e / M) * M;
|
|
2259
2259
|
if (S) {
|
|
2260
2260
|
c.forEach(((e, i) => {
|
|
@@ -2277,14 +2277,14 @@ function loopFix({slideRealIndex: e, slideTo: t = true, direction: i, setTransla
|
|
|
2277
2277
|
C.splice(C.indexOf(s), 1);
|
|
2278
2278
|
}
|
|
2279
2279
|
}
|
|
2280
|
-
if (
|
|
2280
|
+
if (q) {
|
|
2281
2281
|
C.forEach((e => {
|
|
2282
2282
|
c[e].swiperLoopMoveDOM = true;
|
|
2283
2283
|
d.prepend(c[e]);
|
|
2284
2284
|
c[e].swiperLoopMoveDOM = false;
|
|
2285
2285
|
}));
|
|
2286
2286
|
}
|
|
2287
|
-
if (
|
|
2287
|
+
if (P) {
|
|
2288
2288
|
T.forEach((e => {
|
|
2289
2289
|
c[e].swiperLoopMoveDOM = true;
|
|
2290
2290
|
d.append(c[e]);
|
|
@@ -2294,7 +2294,7 @@ function loopFix({slideRealIndex: e, slideTo: t = true, direction: i, setTransla
|
|
|
2294
2294
|
l.recalcSlides();
|
|
2295
2295
|
if (p.slidesPerView === "auto") {
|
|
2296
2296
|
l.updateSlides();
|
|
2297
|
-
} else if (S && (C.length > 0 &&
|
|
2297
|
+
} else if (S && (C.length > 0 && q || T.length > 0 && P)) {
|
|
2298
2298
|
l.slides.forEach(((e, t) => {
|
|
2299
2299
|
l.grid.updateSlide(t, e, l.slides);
|
|
2300
2300
|
}));
|
|
@@ -2303,15 +2303,15 @@ function loopFix({slideRealIndex: e, slideTo: t = true, direction: i, setTransla
|
|
|
2303
2303
|
l.updateSlidesOffset();
|
|
2304
2304
|
}
|
|
2305
2305
|
if (t) {
|
|
2306
|
-
if (C.length > 0 &&
|
|
2306
|
+
if (C.length > 0 && q) {
|
|
2307
2307
|
if (typeof e === "undefined") {
|
|
2308
|
-
const e = l.slidesGrid[
|
|
2309
|
-
const t = l.slidesGrid[
|
|
2308
|
+
const e = l.slidesGrid[E];
|
|
2309
|
+
const t = l.slidesGrid[E + O];
|
|
2310
2310
|
const i = t - e;
|
|
2311
2311
|
if (a) {
|
|
2312
2312
|
l.setTranslate(l.translate - i);
|
|
2313
2313
|
} else {
|
|
2314
|
-
l.slideTo(
|
|
2314
|
+
l.slideTo(E + Math.ceil(O), 0, false, true);
|
|
2315
2315
|
if (n) {
|
|
2316
2316
|
l.touchEventsData.startTranslate = l.touchEventsData.startTranslate - i;
|
|
2317
2317
|
l.touchEventsData.currentTranslate = l.touchEventsData.currentTranslate - i;
|
|
@@ -2324,15 +2324,15 @@ function loopFix({slideRealIndex: e, slideTo: t = true, direction: i, setTransla
|
|
|
2324
2324
|
l.touchEventsData.currentTranslate = l.translate;
|
|
2325
2325
|
}
|
|
2326
2326
|
}
|
|
2327
|
-
} else if (T.length > 0 &&
|
|
2327
|
+
} else if (T.length > 0 && P) {
|
|
2328
2328
|
if (typeof e === "undefined") {
|
|
2329
|
-
const e = l.slidesGrid[
|
|
2330
|
-
const t = l.slidesGrid[
|
|
2329
|
+
const e = l.slidesGrid[E];
|
|
2330
|
+
const t = l.slidesGrid[E - I];
|
|
2331
2331
|
const i = t - e;
|
|
2332
2332
|
if (a) {
|
|
2333
2333
|
l.setTranslate(l.translate - i);
|
|
2334
2334
|
} else {
|
|
2335
|
-
l.slideTo(
|
|
2335
|
+
l.slideTo(E - I, 0, false, true);
|
|
2336
2336
|
if (n) {
|
|
2337
2337
|
l.touchEventsData.startTranslate = l.touchEventsData.startTranslate - i;
|
|
2338
2338
|
l.touchEventsData.currentTranslate = l.touchEventsData.currentTranslate - i;
|
|
@@ -2537,9 +2537,9 @@ function onTouchStart(e) {
|
|
|
2537
2537
|
t.updateSize();
|
|
2538
2538
|
t.swipeDirection = undefined;
|
|
2539
2539
|
if (r.threshold > 0) s.allowThresholdMove = false;
|
|
2540
|
-
let
|
|
2540
|
+
let g = true;
|
|
2541
2541
|
if (l.matches(s.focusableElements)) {
|
|
2542
|
-
|
|
2542
|
+
g = false;
|
|
2543
2543
|
if (l.nodeName === "SELECT") {
|
|
2544
2544
|
s.isTouched = false;
|
|
2545
2545
|
}
|
|
@@ -2547,8 +2547,8 @@ function onTouchStart(e) {
|
|
|
2547
2547
|
if (i.activeElement && i.activeElement.matches(s.focusableElements) && i.activeElement !== l && (n.pointerType === "mouse" || n.pointerType !== "mouse" && !l.matches(s.focusableElements))) {
|
|
2548
2548
|
i.activeElement.blur();
|
|
2549
2549
|
}
|
|
2550
|
-
const
|
|
2551
|
-
if ((r.touchStartForcePreventDefault ||
|
|
2550
|
+
const v = g && t.allowTouchMove && r.touchStartPreventDefault;
|
|
2551
|
+
if ((r.touchStartForcePreventDefault || v) && !l.isContentEditable) {
|
|
2552
2552
|
n.preventDefault();
|
|
2553
2553
|
}
|
|
2554
2554
|
if (r.freeMode && r.freeMode.enabled && t.freeMode && t.animating && !r.cssMode) {
|
|
@@ -2676,24 +2676,24 @@ function onTouchMove(e) {
|
|
|
2676
2676
|
l.stopPropagation();
|
|
2677
2677
|
}
|
|
2678
2678
|
let h = i.isHorizontal() ? d : p;
|
|
2679
|
-
let
|
|
2679
|
+
let g = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
|
|
2680
2680
|
if (s.oneWayMovement) {
|
|
2681
2681
|
h = Math.abs(h) * (o ? 1 : -1);
|
|
2682
|
-
|
|
2682
|
+
g = Math.abs(g) * (o ? 1 : -1);
|
|
2683
2683
|
}
|
|
2684
2684
|
r.diff = h;
|
|
2685
2685
|
h *= s.touchRatio;
|
|
2686
2686
|
if (o) {
|
|
2687
2687
|
h = -h;
|
|
2688
|
-
|
|
2688
|
+
g = -g;
|
|
2689
2689
|
}
|
|
2690
|
-
const
|
|
2690
|
+
const v = i.touchesDirection;
|
|
2691
2691
|
i.swipeDirection = h > 0 ? "prev" : "next";
|
|
2692
|
-
i.touchesDirection =
|
|
2693
|
-
const
|
|
2692
|
+
i.touchesDirection = g > 0 ? "prev" : "next";
|
|
2693
|
+
const m = i.params.loop && !s.cssMode;
|
|
2694
2694
|
const w = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
|
|
2695
2695
|
if (!n.isMoved) {
|
|
2696
|
-
if (
|
|
2696
|
+
if (m && w) {
|
|
2697
2697
|
i.loopFix({
|
|
2698
2698
|
direction: i.swipeDirection
|
|
2699
2699
|
});
|
|
@@ -2718,7 +2718,7 @@ function onTouchMove(e) {
|
|
|
2718
2718
|
i.emit("sliderFirstMove", l);
|
|
2719
2719
|
}
|
|
2720
2720
|
(new Date).getTime();
|
|
2721
|
-
if (s._loopSwapReset !== false && n.isMoved && n.allowThresholdMove &&
|
|
2721
|
+
if (s._loopSwapReset !== false && n.isMoved && n.allowThresholdMove && v !== i.touchesDirection && m && w && Math.abs(h) >= 1) {
|
|
2722
2722
|
Object.assign(r, {
|
|
2723
2723
|
startX: f,
|
|
2724
2724
|
startY: u,
|
|
@@ -2739,7 +2739,7 @@ function onTouchMove(e) {
|
|
|
2739
2739
|
y = 0;
|
|
2740
2740
|
}
|
|
2741
2741
|
if (h > 0) {
|
|
2742
|
-
if (
|
|
2742
|
+
if (m && w && true && n.allowThresholdMove && n.currentTranslate > (s.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] - (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.activeIndex + 1] + i.params.spaceBetween : 0) - i.params.spaceBetween : i.minTranslate())) {
|
|
2743
2743
|
i.loopFix({
|
|
2744
2744
|
direction: "prev",
|
|
2745
2745
|
setTranslate: true,
|
|
@@ -2753,7 +2753,7 @@ function onTouchMove(e) {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
2755
2755
|
} else if (h < 0) {
|
|
2756
|
-
if (
|
|
2756
|
+
if (m && w && true && n.allowThresholdMove && n.currentTranslate < (s.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween + (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween : 0) : i.maxTranslate())) {
|
|
2757
2757
|
i.loopFix({
|
|
2758
2758
|
direction: "next",
|
|
2759
2759
|
setTranslate: true,
|
|
@@ -2896,32 +2896,32 @@ function onTouchEnd(e) {
|
|
|
2896
2896
|
}
|
|
2897
2897
|
// Find current slide
|
|
2898
2898
|
const h = p >= -t.maxTranslate() && !t.params.loop;
|
|
2899
|
-
let
|
|
2900
|
-
let
|
|
2899
|
+
let g = 0;
|
|
2900
|
+
let v = t.slidesSizesGrid[0];
|
|
2901
2901
|
for (let e = 0; e < c.length; e += e < o.slidesPerGroupSkip ? 1 : o.slidesPerGroup) {
|
|
2902
2902
|
const t = e < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
|
|
2903
2903
|
if (typeof c[e + t] !== "undefined") {
|
|
2904
2904
|
if (h || p >= c[e] && p < c[e + t]) {
|
|
2905
|
-
|
|
2906
|
-
|
|
2905
|
+
g = e;
|
|
2906
|
+
v = c[e + t] - c[e];
|
|
2907
2907
|
}
|
|
2908
2908
|
} else if (h || p >= c[e]) {
|
|
2909
|
-
|
|
2910
|
-
|
|
2909
|
+
g = e;
|
|
2910
|
+
v = c[c.length - 1] - c[c.length - 2];
|
|
2911
2911
|
}
|
|
2912
2912
|
}
|
|
2913
|
-
let
|
|
2913
|
+
let m = null;
|
|
2914
2914
|
let w = null;
|
|
2915
2915
|
if (o.rewind) {
|
|
2916
2916
|
if (t.isBeginning) {
|
|
2917
2917
|
w = o.virtual && o.virtual.enabled && t.virtual ? t.virtual.slides.length - 1 : t.slides.length - 1;
|
|
2918
2918
|
} else if (t.isEnd) {
|
|
2919
|
-
|
|
2919
|
+
m = 0;
|
|
2920
2920
|
}
|
|
2921
2921
|
}
|
|
2922
2922
|
// Find current slide size
|
|
2923
|
-
const b = (p - c[
|
|
2924
|
-
const y =
|
|
2923
|
+
const b = (p - c[g]) / v;
|
|
2924
|
+
const y = g < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
|
|
2925
2925
|
if (d > o.longSwipesMs) {
|
|
2926
2926
|
// Long touches
|
|
2927
2927
|
if (!o.longSwipes) {
|
|
@@ -2929,15 +2929,15 @@ function onTouchEnd(e) {
|
|
|
2929
2929
|
return;
|
|
2930
2930
|
}
|
|
2931
2931
|
if (t.swipeDirection === "next") {
|
|
2932
|
-
if (b >= o.longSwipesRatio) t.slideTo(o.rewind && t.isEnd ?
|
|
2932
|
+
if (b >= o.longSwipesRatio) t.slideTo(o.rewind && t.isEnd ? m : g + y); else t.slideTo(g);
|
|
2933
2933
|
}
|
|
2934
2934
|
if (t.swipeDirection === "prev") {
|
|
2935
2935
|
if (b > 1 - o.longSwipesRatio) {
|
|
2936
|
-
t.slideTo(
|
|
2936
|
+
t.slideTo(g + y);
|
|
2937
2937
|
} else if (w !== null && b < 0 && Math.abs(b) > o.longSwipesRatio) {
|
|
2938
2938
|
t.slideTo(w);
|
|
2939
2939
|
} else {
|
|
2940
|
-
t.slideTo(
|
|
2940
|
+
t.slideTo(g);
|
|
2941
2941
|
}
|
|
2942
2942
|
}
|
|
2943
2943
|
} else {
|
|
@@ -2949,15 +2949,15 @@ function onTouchEnd(e) {
|
|
|
2949
2949
|
const e = t.navigation && (n.target === t.navigation.nextEl || n.target === t.navigation.prevEl);
|
|
2950
2950
|
if (!e) {
|
|
2951
2951
|
if (t.swipeDirection === "next") {
|
|
2952
|
-
t.slideTo(
|
|
2952
|
+
t.slideTo(m !== null ? m : g + y);
|
|
2953
2953
|
}
|
|
2954
2954
|
if (t.swipeDirection === "prev") {
|
|
2955
|
-
t.slideTo(w !== null ? w :
|
|
2955
|
+
t.slideTo(w !== null ? w : g);
|
|
2956
2956
|
}
|
|
2957
2957
|
} else if (n.target === t.navigation.nextEl) {
|
|
2958
|
-
t.slideTo(
|
|
2958
|
+
t.slideTo(g + y);
|
|
2959
2959
|
} else {
|
|
2960
|
-
t.slideTo(
|
|
2960
|
+
t.slideTo(g);
|
|
2961
2961
|
}
|
|
2962
2962
|
}
|
|
2963
2963
|
}
|
|
@@ -3171,8 +3171,8 @@ function setBreakpoint() {
|
|
|
3171
3171
|
const d = isGridEnabled(e, n);
|
|
3172
3172
|
const p = isGridEnabled(e, u);
|
|
3173
3173
|
const h = e.params.grabCursor;
|
|
3174
|
-
const
|
|
3175
|
-
const
|
|
3174
|
+
const g = u.grabCursor;
|
|
3175
|
+
const v = n.enabled;
|
|
3176
3176
|
if (d && !p) {
|
|
3177
3177
|
s.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`);
|
|
3178
3178
|
e.emitContainerClasses();
|
|
@@ -3183,9 +3183,9 @@ function setBreakpoint() {
|
|
|
3183
3183
|
}
|
|
3184
3184
|
e.emitContainerClasses();
|
|
3185
3185
|
}
|
|
3186
|
-
if (h && !
|
|
3186
|
+
if (h && !g) {
|
|
3187
3187
|
e.unsetGrabCursor();
|
|
3188
|
-
} else if (!h &&
|
|
3188
|
+
} else if (!h && g) {
|
|
3189
3189
|
e.setGrabCursor();
|
|
3190
3190
|
}
|
|
3191
3191
|
// Toggle navigation, pagination, scrollbar
|
|
@@ -3200,10 +3200,10 @@ function setBreakpoint() {
|
|
|
3200
3200
|
e[t].enable();
|
|
3201
3201
|
}
|
|
3202
3202
|
}));
|
|
3203
|
-
const
|
|
3204
|
-
const w = n.loop && (u.slidesPerView !== n.slidesPerView ||
|
|
3203
|
+
const m = u.direction && u.direction !== n.direction;
|
|
3204
|
+
const w = n.loop && (u.slidesPerView !== n.slidesPerView || m);
|
|
3205
3205
|
const b = n.loop;
|
|
3206
|
-
if (
|
|
3206
|
+
if (m && i) {
|
|
3207
3207
|
e.changeDirection();
|
|
3208
3208
|
}
|
|
3209
3209
|
extend(e.params, u);
|
|
@@ -3214,9 +3214,9 @@ function setBreakpoint() {
|
|
|
3214
3214
|
allowSlideNext: e.params.allowSlideNext,
|
|
3215
3215
|
allowSlidePrev: e.params.allowSlidePrev
|
|
3216
3216
|
});
|
|
3217
|
-
if (
|
|
3217
|
+
if (v && !y) {
|
|
3218
3218
|
e.disable();
|
|
3219
|
-
} else if (!
|
|
3219
|
+
} else if (!v && y) {
|
|
3220
3220
|
e.enable();
|
|
3221
3221
|
}
|
|
3222
3222
|
e.currentBreakpoint = c;
|
|
@@ -3269,7 +3269,7 @@ function getBreakpoint(e, t = "window", i) {
|
|
|
3269
3269
|
return n || "max";
|
|
3270
3270
|
}
|
|
3271
3271
|
|
|
3272
|
-
var
|
|
3272
|
+
var E = {
|
|
3273
3273
|
setBreakpoint,
|
|
3274
3274
|
getBreakpoint
|
|
3275
3275
|
};
|
|
@@ -3328,7 +3328,7 @@ function removeClasses() {
|
|
|
3328
3328
|
e.emitContainerClasses();
|
|
3329
3329
|
}
|
|
3330
3330
|
|
|
3331
|
-
var
|
|
3331
|
+
var P = {
|
|
3332
3332
|
addClasses,
|
|
3333
3333
|
removeClasses
|
|
3334
3334
|
};
|
|
@@ -3358,11 +3358,11 @@ function checkOverflow() {
|
|
|
3358
3358
|
}
|
|
3359
3359
|
}
|
|
3360
3360
|
|
|
3361
|
-
var
|
|
3361
|
+
var q = {
|
|
3362
3362
|
checkOverflow
|
|
3363
3363
|
};
|
|
3364
3364
|
|
|
3365
|
-
var
|
|
3365
|
+
var O = {
|
|
3366
3366
|
init: true,
|
|
3367
3367
|
direction: "horizontal",
|
|
3368
3368
|
oneWayMovement: false,
|
|
@@ -3517,7 +3517,7 @@ function moduleExtendParams(e, t) {
|
|
|
3517
3517
|
};
|
|
3518
3518
|
}
|
|
3519
3519
|
|
|
3520
|
-
/* eslint no-param-reassign: "off" */ const
|
|
3520
|
+
/* eslint no-param-reassign: "off" */ const I = {
|
|
3521
3521
|
eventsEmitter: b,
|
|
3522
3522
|
update: y,
|
|
3523
3523
|
translate: x,
|
|
@@ -3526,9 +3526,9 @@ function moduleExtendParams(e, t) {
|
|
|
3526
3526
|
loop: T,
|
|
3527
3527
|
grabCursor: M,
|
|
3528
3528
|
events: k,
|
|
3529
|
-
breakpoints:
|
|
3530
|
-
checkOverflow:
|
|
3531
|
-
classes:
|
|
3529
|
+
breakpoints: E,
|
|
3530
|
+
checkOverflow: q,
|
|
3531
|
+
classes: P
|
|
3532
3532
|
};
|
|
3533
3533
|
|
|
3534
3534
|
const $ = {};
|
|
@@ -3588,7 +3588,7 @@ class A {
|
|
|
3588
3588
|
});
|
|
3589
3589
|
}));
|
|
3590
3590
|
// Extend defaults with modules params
|
|
3591
|
-
const o = extend({},
|
|
3591
|
+
const o = extend({}, O, r);
|
|
3592
3592
|
// Extend defaults with passed params
|
|
3593
3593
|
s.params = extend({}, o, $, i);
|
|
3594
3594
|
s.originalParams = extend({}, s.params);
|
|
@@ -4062,7 +4062,7 @@ class A {
|
|
|
4062
4062
|
return $;
|
|
4063
4063
|
}
|
|
4064
4064
|
static get defaults() {
|
|
4065
|
-
return
|
|
4065
|
+
return O;
|
|
4066
4066
|
}
|
|
4067
4067
|
static installModule(e) {
|
|
4068
4068
|
if (!A.prototype.__modules__) A.prototype.__modules__ = [];
|
|
@@ -4081,9 +4081,9 @@ class A {
|
|
|
4081
4081
|
}
|
|
4082
4082
|
}
|
|
4083
4083
|
|
|
4084
|
-
Object.keys(
|
|
4085
|
-
Object.keys(
|
|
4086
|
-
A.prototype[t] =
|
|
4084
|
+
Object.keys(I).forEach((e => {
|
|
4085
|
+
Object.keys(I[e]).forEach((t => {
|
|
4086
|
+
A.prototype[t] = I[e][t];
|
|
4087
4087
|
}));
|
|
4088
4088
|
}));
|
|
4089
4089
|
|
|
@@ -4117,13 +4117,13 @@ A.use([ Resize, Observer ]);
|
|
|
4117
4117
|
let d;
|
|
4118
4118
|
let p;
|
|
4119
4119
|
let h;
|
|
4120
|
-
let m;
|
|
4121
4120
|
let g;
|
|
4121
|
+
let v;
|
|
4122
4122
|
function onTransitionEnd(t) {
|
|
4123
4123
|
if (!e || e.destroyed || !e.wrapperEl) return;
|
|
4124
4124
|
if (t.target !== e.wrapperEl) return;
|
|
4125
4125
|
e.wrapperEl.removeEventListener("transitionend", onTransitionEnd);
|
|
4126
|
-
if (
|
|
4126
|
+
if (v || t.detail && t.detail.bySwiperTouchMove) {
|
|
4127
4127
|
return;
|
|
4128
4128
|
}
|
|
4129
4129
|
resume();
|
|
@@ -4229,7 +4229,7 @@ A.use([ Resize, Observer ]);
|
|
|
4229
4229
|
if (e.destroyed || !e.autoplay.running) return;
|
|
4230
4230
|
clearTimeout(r);
|
|
4231
4231
|
if (!t) {
|
|
4232
|
-
|
|
4232
|
+
g = true;
|
|
4233
4233
|
}
|
|
4234
4234
|
const proceed = () => {
|
|
4235
4235
|
n("autoplayPause");
|
|
@@ -4253,8 +4253,8 @@ A.use([ Resize, Observer ]);
|
|
|
4253
4253
|
const resume = () => {
|
|
4254
4254
|
if (e.isEnd && c < 0 && !e.params.loop || e.destroyed || !e.autoplay.running) return;
|
|
4255
4255
|
f = (new Date).getTime();
|
|
4256
|
-
if (
|
|
4257
|
-
|
|
4256
|
+
if (g) {
|
|
4257
|
+
g = false;
|
|
4258
4258
|
run(c);
|
|
4259
4259
|
} else {
|
|
4260
4260
|
run();
|
|
@@ -4266,7 +4266,7 @@ A.use([ Resize, Observer ]);
|
|
|
4266
4266
|
if (e.destroyed || !e.autoplay.running) return;
|
|
4267
4267
|
const t = getDocument();
|
|
4268
4268
|
if (t.visibilityState === "hidden") {
|
|
4269
|
-
|
|
4269
|
+
g = true;
|
|
4270
4270
|
pause(true);
|
|
4271
4271
|
}
|
|
4272
4272
|
if (t.visibilityState === "visible") {
|
|
@@ -4275,14 +4275,14 @@ A.use([ Resize, Observer ]);
|
|
|
4275
4275
|
};
|
|
4276
4276
|
const onPointerEnter = t => {
|
|
4277
4277
|
if (t.pointerType !== "mouse") return;
|
|
4278
|
-
m = true;
|
|
4279
4278
|
g = true;
|
|
4279
|
+
v = true;
|
|
4280
4280
|
if (e.animating || e.autoplay.paused) return;
|
|
4281
4281
|
pause(true);
|
|
4282
4282
|
};
|
|
4283
4283
|
const onPointerLeave = t => {
|
|
4284
4284
|
if (t.pointerType !== "mouse") return;
|
|
4285
|
-
|
|
4285
|
+
v = false;
|
|
4286
4286
|
if (e.autoplay.paused) {
|
|
4287
4287
|
resume();
|
|
4288
4288
|
}
|
|
@@ -4322,7 +4322,7 @@ A.use([ Resize, Observer ]);
|
|
|
4322
4322
|
}
|
|
4323
4323
|
}));
|
|
4324
4324
|
i("_freeModeStaticRelease", (() => {
|
|
4325
|
-
if (p ||
|
|
4325
|
+
if (p || g) {
|
|
4326
4326
|
resume();
|
|
4327
4327
|
}
|
|
4328
4328
|
}));
|
|
@@ -4349,9 +4349,9 @@ A.use([ Resize, Observer ]);
|
|
|
4349
4349
|
}
|
|
4350
4350
|
d = true;
|
|
4351
4351
|
p = false;
|
|
4352
|
-
|
|
4352
|
+
g = false;
|
|
4353
4353
|
h = setTimeout((() => {
|
|
4354
|
-
|
|
4354
|
+
g = true;
|
|
4355
4355
|
p = true;
|
|
4356
4356
|
pause(true);
|
|
4357
4357
|
}), 200);
|
|
@@ -4384,9 +4384,9 @@ A.use([ Resize, Observer ]);
|
|
|
4384
4384
|
});
|
|
4385
4385
|
}
|
|
4386
4386
|
|
|
4387
|
-
const
|
|
4387
|
+
const j = '*{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}q2-carousel{display:grid;grid-template-rows:repeat(2, auto);gap:var(--tct-carousel-gap, var(--app-scale-2x, 10px))}.swiper{--comp-container-padding:var(--app-scale-1x, 5px) 0 var(--app-scale-2x, 10px);display:block;width:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;padding:var(--tct-carousel-container-padding, var(--t-carousel-container-padding, var(--comp-container-padding, 5px 0 10px)))}.insufficient-pane-feedback{text-align:center;box-shadow:var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14));background:var(--tct-carousel-background, var(--tct-carousel-background-color, var(--t-carousel-background-color, var(--tct-white, var(--app-white, #ffffff)))));border:var(--tct-carousel-pane-border-width, var(--t-carousel-pane-border-width, 1px)) solid var(--tct-carousel-pane-border-color, var(--t-carousel-pane-border-color, var(--tct-gray-11, var(--t-gray-11, var(--tct-gray-l1, var(--app-gray-l1, #cccccc))))));border-radius:var(--tct-carousel-pane-border-radius, var(--t-carousel-pane-border-radius, 8px));padding:var(--tct-carousel-pane-padding, var(--t-carousel-pane-padding, 7px))}.insufficient-pane-feedback.content-peek-display{max-width:395px;margin:0 auto}.insufficient-pane-feedback .insufficient-panes-header,.insufficient-pane-feedback .insufficient-panes-body{text-align:center}.insufficient-pane-feedback .insufficient-panes-header strong{font-weight:600}.insufficient-pane-feedback .insufficient-panes-body{margin:0 auto 2rem auto;max-width:75%}.insufficient-pane-feedback .insufficient-panes-icon-wrapper{display:flex;justify-content:center;margin:1rem 0 2rem 0}.insufficient-pane-feedback .insufficient-panes-icon-wrapper q2-icon{width:38px}.q2-carousel-pagination-navigation-wrapper{grid-row:2;display:flex;justify-content:center;align-items:center;min-height:44px}.q2-carousel-pagination-navigation-wrapper.evenly-space{justify-content:space-between}.q2-carousel-pagination-navigation-wrapper.center-space{justify-content:center}.q2-carousel-pagination-navigation-wrapper.center-space .q2-carousel-control-center-tray{margin:var(--tct-carouse-pagination-center-tray-margin, 0 24px)}.q2-carousel-floating-arrow-wrapper{--comp-pagination-arrow-height:var(--tct-carousel-floating-nav-arrow-height, 44px);width:auto;z-index:2;display:flex;position:absolute;left:10px;right:10px;top:calc(50% - var(--comp-pagination-arrow-height) / 2);height:var(--comp-pagination-arrow-height);justify-content:space-between;align-items:center}.q2-carousel-control-center-tray{display:flex;align-items:center;gap:var(--tct-carousel-control-gap, 16px)}.q2-carousel-swiper-wrapper.compact{overflow:visible}.q2-carousel-swiper-wrapper.compact q2-btn{margin-top:4px}.q2-carousel-pagination{height:var(--tct-carousel-pagination-height, 12px);display:flex;align-content:center;justify-content:center;gap:0.5rem}.q2-carousel-pagination .q2-carousel-page-indicator{display:inline-block;height:var(--tct-carousel-page-indicator-size, 8px);width:var(--tct-carousel-page-indicator-size, 8px);border-radius:50%;background-color:var(--tct-carousel-page-indicator-inactive-color, var(--t-gray11, #CCCCCC));padding:0;border:0;transition:var(--tct-carouse-pagination-transition, all 0.5s)}.q2-carousel-pagination .q2-carousel-page-indicator:hover,.q2-carousel-pagination .q2-carousel-page-indicator.active-page{display:inline-block;background-color:var(--tct-carousel-indicator-active, var(--t-primary, #6A4A9E))}.q2-carousel-pagination.dynamic .q2-carousel-page-indicator{display:none}.q2-carousel-pagination.dynamic .q2-carousel-page-indicator.active-page,.q2-carousel-pagination.dynamic .q2-carousel-page-indicator.active-adjacent{display:inline-block;height:10px;width:10px}.q2-carousel-pagination.dynamic .q2-carousel-page-indicator.active-adjacent-adjacent{display:inline-block;height:8px;width:8px}.q2-carousel-pagination.autoplay{align-items:center;gap:var(--tct-carousel-pagination-gap, var(--app-scale-2x, 8px))}.q2-carousel-pagination.autoplay.autoplay-on{--comp-carousel-indicator-grow-animation:autoplay-progress 3s linear forwards}.q2-carousel-pagination.autoplay .q2-carousel-page-indicator{height:var(--tct-carousel-page-indicator-height, 8px);width:var(--tct-carousel-page-indicator-width, 8px);transition:none}.q2-carousel-pagination.autoplay .q2-carousel-page-indicator.active-page{width:var(--tct-carousel-active-page-indicator-width, 24px);border-radius:var(--tct-carousel-active-page-border-radius, 4px);background-color:var(--tct-carousel-indicator-inactive, var(--t-gray11, #CCCCCC));position:relative;overflow:hidden}.q2-carousel-pagination.autoplay .q2-carousel-page-indicator.active-page::after{content:"";position:absolute;top:0;left:0;height:100%;width:100%;border-radius:var(--tct-carousel-active-page-border-radius-pseudo, 4px);background-color:var(--tct-carousel-indicator-active, var(--t-primary, #6A4A9E));transform-origin:left;animation:var(--comp-carousel-indicator-grow-animation, none)}@keyframes autoplay-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}.q2-carousel-swiper-container{grid-row:1;}.q2-carousel-swiper-container .swiper-wrapper{position:relative;width:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.q2-carousel-swiper-container.content-peek-display .q2-carousel-pane:not(.swiper-slide-active){transform:scale(var(--tct-carousel-neighbor-pane-scale, 1))}.q2-carousel-swiper-container.frameless-display{padding:var(--tct-carousel-frameless-container-padding, var(--t-carousel-frameless-container-padding, 0))}.q2-carousel-swiper-container.full-width-display{--comp-container-padding:var(--app-scale-1x, 5px) var(--app-scale-2x, 10px) var(--app-scale-2x, 10px);padding:var(--tct-carousel-full-width-container-padding, var(--t-carousel-full-width-container-padding, var(--comp-container-padding, 5px 10px 10px)))}.q2-carousel-navigation-button{display:flex;align-items:center;justify-content:center;position:relative;width:44px;height:44px;padding:0;border:none;background:transparent;cursor:pointer;opacity:var(--tct-carousel-navigation-arrow-opacity, 1);-webkit-tap-highlight-color:transparent}.q2-carousel-navigation-button::before{content:"";position:absolute;width:32px;height:32px;border-radius:50%;background-color:var(--tct-carousel-navigation-arrow-background-color, var(--t-primary, #6A4A9E));transition:background-color var(--t-tween-time-in-2, 200ms) var(--t-tween-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))}.q2-carousel-navigation-button:hover::before,.q2-carousel-navigation-button:focus-visible::before{background-color:var(--tct-carousel-btn-hover-background, var(--t-primary-d1, #5F438E))}.q2-carousel-navigation-button:focus-visible{outline:none}.q2-carousel-navigation-button:focus-visible::before{outline:2px solid var(--const-focus-color, #1a73e8);outline-offset:2px}.q2-carousel-navigation-button q2-icon{position:relative;--tct-icon-size:16px;--tct-icon-stroke-primary:var(--tct-carousel-btn-icon-stroke-primary, var(--t-base));--tct-icon-stroke-secondary:var(--tct-carousel-btn-icon-stroke-secondary, var(--app-gray, #747474))}.q2-carousel-autoplay-control{display:flex;align-items:center;justify-content:center;position:relative;width:44px;height:44px;padding:0;border:none;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent}.q2-carousel-autoplay-control::before{content:"";position:absolute;width:32px;height:32px;border-radius:50%;background:transparent;transition:background-color var(--t-tween-time-in-2, 200ms) var(--t-tween-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))}.q2-carousel-autoplay-control:hover::before,.q2-carousel-autoplay-control:focus-visible::before{background-color:var(--tct-carousel-autoplay-hover-background, var(--t-gray13, #E6E6E6))}.q2-carousel-autoplay-control:focus-visible{outline:none}.q2-carousel-autoplay-control:focus-visible::before{outline:2px solid var(--const-focus-color, #1a73e8);outline-offset:2px}.q2-carousel-autoplay-control .autoplay-icon{position:relative;width:var(--tct-carousel-autoplay-icon-width, 16px);height:var(--tct-carousel-autoplay-icon-height, 16px);color:var(--tct-carousel-autoplay-icon-color, var(--t-gray6, #4D4D4D))}';
|
|
4388
4388
|
|
|
4389
|
-
const
|
|
4389
|
+
const D = 500;
|
|
4390
4390
|
|
|
4391
4391
|
/* width in px of this host element where the layout starts to get unruly */ const z = 1024;
|
|
4392
4392
|
|
|
@@ -4415,14 +4415,29 @@ const j = 500;
|
|
|
4415
4415
|
*/ this.label = "tecton.element.carousel.ariaLabel";
|
|
4416
4416
|
/** Display navigation arrow buttons as another way to navigate the carousel. */ this.showNavigationArrows = false;
|
|
4417
4417
|
this.configureCarousel = (e, t) => {
|
|
4418
|
-
var i, n;
|
|
4418
|
+
var i, n, s, r;
|
|
4419
|
+
// Disconnect observer to prevent infinite loop from Swiper's internal DOM changes (e.g. loop mode)
|
|
4420
|
+
(i = this.mutationObserver) === null || i === void 0 ? void 0 : i.disconnect();
|
|
4419
4421
|
if (!!this.swiper) {
|
|
4420
4422
|
this.tearDownCarousel();
|
|
4421
4423
|
}
|
|
4422
4424
|
this.autoPlayInProgress = this.autoPlay;
|
|
4425
|
+
// Save the target index before Swiper init — the realIndexChange callback
|
|
4426
|
+
// fires during construction and may overwrite this.index
|
|
4427
|
+
const o = this.realIndex;
|
|
4423
4428
|
new A(e, t);
|
|
4424
|
-
(
|
|
4425
|
-
|
|
4429
|
+
(n = this.swiper) === null || n === void 0 ? void 0 : n.slideToLoop(o, 0);
|
|
4430
|
+
// Ensure popover listener is on the active pane after initial positioning
|
|
4431
|
+
(s = this.activePane) === null || s === void 0 ? void 0 : s.addEventListener("popoverStateChanged", this.handlePopovers);
|
|
4432
|
+
if (this.autoPlayInProgress) (r = this.swiper) === null || r === void 0 ? void 0 : r.autoplay.start();
|
|
4433
|
+
// Re-observe after Swiper's DOM changes have settled
|
|
4434
|
+
requestAnimationFrame((() => {
|
|
4435
|
+
var e;
|
|
4436
|
+
(e = this.mutationObserver) === null || e === void 0 ? void 0 : e.observe(this.hostElement, {
|
|
4437
|
+
childList: true,
|
|
4438
|
+
subtree: true
|
|
4439
|
+
});
|
|
4440
|
+
}));
|
|
4426
4441
|
};
|
|
4427
4442
|
this.handleAutoPlayPause = e => {
|
|
4428
4443
|
var t;
|
|
@@ -4467,18 +4482,20 @@ const j = 500;
|
|
|
4467
4482
|
|
|
4468
4483
|
case "Home":
|
|
4469
4484
|
e.preventDefault();
|
|
4470
|
-
(n = this.swiper) === null || n === void 0 ? void 0 : n.
|
|
4485
|
+
(n = this.swiper) === null || n === void 0 ? void 0 : n.slideToLoop(0);
|
|
4471
4486
|
break;
|
|
4472
4487
|
|
|
4473
4488
|
case "End":
|
|
4474
4489
|
e.preventDefault();
|
|
4475
|
-
(s = this.swiper) === null || s === void 0 ? void 0 : s.
|
|
4490
|
+
(s = this.swiper) === null || s === void 0 ? void 0 : s.slideToLoop(this.paneCount - 1);
|
|
4476
4491
|
break;
|
|
4477
4492
|
}
|
|
4478
4493
|
};
|
|
4479
4494
|
this.onMutationObserved = () => {
|
|
4480
|
-
this.
|
|
4481
|
-
|
|
4495
|
+
if (this.paneCount !== this.currentPaneCount) {
|
|
4496
|
+
this.updateCarouselPaneProps();
|
|
4497
|
+
this.configureCarousel(this.carouselWrapper, this.activeCarouselOptions);
|
|
4498
|
+
}
|
|
4482
4499
|
};
|
|
4483
4500
|
this.setCarouselWrapperWidth = () => {
|
|
4484
4501
|
if (this.insufficientPanes) return;
|
|
@@ -4491,9 +4508,11 @@ const j = 500;
|
|
|
4491
4508
|
this.updateCarouselPaneProps = () => {
|
|
4492
4509
|
const {framelessPanes: e, paneCount: t, paneArray: i} = this;
|
|
4493
4510
|
i.forEach(((i, n) => {
|
|
4494
|
-
i.index
|
|
4511
|
+
const s = i.getAttribute("data-swiper-slide-index");
|
|
4512
|
+
const r = s !== null ? parseInt(s, 10) : n;
|
|
4513
|
+
i.index = r;
|
|
4495
4514
|
i.siblingCount = t;
|
|
4496
|
-
i.isActivePane =
|
|
4515
|
+
i.isActivePane = r === this.realIndex;
|
|
4497
4516
|
i.slotFrameless = e || undefined;
|
|
4498
4517
|
}));
|
|
4499
4518
|
this.currentPaneCount = t;
|
|
@@ -4502,15 +4521,22 @@ const j = 500;
|
|
|
4502
4521
|
// #region Render Methods
|
|
4503
4522
|
this.renderAutoPlayBtn = () => {
|
|
4504
4523
|
const {autoPlayInProgress: e} = this;
|
|
4505
|
-
return i("
|
|
4524
|
+
return i("button", {
|
|
4506
4525
|
type: "button",
|
|
4507
|
-
"hide-label": true,
|
|
4508
|
-
label: a(e ? "tecton.element.carousel.pausePlayLabel" : "tecton.element.carousel.resumePlayLabel"),
|
|
4509
4526
|
class: "q2-carousel-autoplay-control",
|
|
4527
|
+
"aria-label": a(e ? "tecton.element.carousel.pausePlayLabel" : "tecton.element.carousel.resumePlayLabel"),
|
|
4510
4528
|
onClick: () => this.handleAutoPlayPause(e ? "pause" : "play")
|
|
4511
|
-
}, i("
|
|
4512
|
-
|
|
4513
|
-
|
|
4529
|
+
}, i("svg", {
|
|
4530
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4531
|
+
viewBox: "0 0 24 24",
|
|
4532
|
+
fill: "currentColor",
|
|
4533
|
+
class: "autoplay-icon",
|
|
4534
|
+
"aria-hidden": "true"
|
|
4535
|
+
}, e ? i("path", {
|
|
4536
|
+
d: "M7.667 3.667h-2c-.737 0-1.334.597-1.334 1.333v14c0 .736.597 1.333 1.334 1.333h2C8.403 20.333 9 19.736 9 19V5c0-.736-.597-1.333-1.333-1.333Zm10.666 0h-2C15.597 3.667 15 4.264 15 5v14c0 .736.597 1.333 1.333 1.333h2c.737 0 1.334-.597 1.334-1.333V5c0-.736-.597-1.333-1.334-1.333Z"
|
|
4537
|
+
}) : i("path", {
|
|
4538
|
+
d: "m6.868 3.837 12.656 7.008a1.316 1.316 0 0 1 0 2.31L6.868 20.163c-.892.494-1.993-.144-1.993-1.155V4.992c0-1.01 1.1-1.65 1.993-1.155Z"
|
|
4539
|
+
})));
|
|
4514
4540
|
};
|
|
4515
4541
|
this.renderInsufficientPanesDisplay = () => {
|
|
4516
4542
|
let e = [ "insufficient-pane-feedback", this.fullWidthPanes ? "full-width-display" : "content-peek-display" ];
|
|
@@ -4527,69 +4553,67 @@ const j = 500;
|
|
|
4527
4553
|
class: "insufficient-panes-body"
|
|
4528
4554
|
}, a("tecton.element.carousel.insufficientPanesMessageBody")));
|
|
4529
4555
|
};
|
|
4530
|
-
this.renderNextNavBtn = () => {
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
type: "chevron-right"
|
|
4544
|
-
})));
|
|
4545
|
-
};
|
|
4556
|
+
this.renderNextNavBtn = () => i("div", {
|
|
4557
|
+
class: "next-btn"
|
|
4558
|
+
}, i("button", {
|
|
4559
|
+
type: "button",
|
|
4560
|
+
class: "q2-carousel-navigation-button q2-carousel-navigation-button-next",
|
|
4561
|
+
"aria-label": a("tecton.element.carousel.nextItemLabel"),
|
|
4562
|
+
onClick: () => {
|
|
4563
|
+
var e;
|
|
4564
|
+
return (e = this.swiper) === null || e === void 0 ? void 0 : e.slideNext();
|
|
4565
|
+
}
|
|
4566
|
+
}, i("q2-icon", {
|
|
4567
|
+
type: "arrow-right"
|
|
4568
|
+
})));
|
|
4546
4569
|
this.renderPaginationArea = () => {
|
|
4547
|
-
const {useDynamicPaginationDots: e, realIndex: t, paneCount: n
|
|
4548
|
-
|
|
4549
|
-
if (e)
|
|
4570
|
+
const {useDynamicPaginationDots: e, realIndex: t, paneCount: n} = this;
|
|
4571
|
+
const s = [ "q2-carousel-pagination", "autoplay" ];
|
|
4572
|
+
if (e) s.push("dynamic");
|
|
4573
|
+
if (this.autoPlayInProgress) s.push("autoplay-on");
|
|
4550
4574
|
return i("div", {
|
|
4551
|
-
class:
|
|
4575
|
+
class: s.join(" "),
|
|
4552
4576
|
role: "tablist",
|
|
4553
4577
|
"aria-label": a("tecton.element.carousel.tabWrapperLabel")
|
|
4554
|
-
},
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
if (
|
|
4560
|
-
|
|
4561
|
-
|
|
4578
|
+
}, Array.from({
|
|
4579
|
+
length: n
|
|
4580
|
+
}, ((e, t) => t)).map((s => {
|
|
4581
|
+
const r = s === t;
|
|
4582
|
+
let o = [ "q2-carousel-page-indicator", `q2-carousel-page-indicator-${s}` ];
|
|
4583
|
+
if (r) o = [ ...o, "active-page" ];
|
|
4584
|
+
if (e) o = [ ...o, "dynamic" ];
|
|
4585
|
+
const l = s === t + 1 || s === t - 1;
|
|
4586
|
+
if (l) o = [ ...o, "active-adjacent" ];
|
|
4587
|
+
const c = s === t + 2 || s === t - 2;
|
|
4588
|
+
if (c) o = [ ...o, "active-adjacent-adjacent" ];
|
|
4562
4589
|
return i("button", {
|
|
4563
4590
|
type: "button",
|
|
4564
4591
|
role: "tab",
|
|
4565
|
-
tabIndex:
|
|
4566
|
-
"aria-selected": `${
|
|
4567
|
-
class:
|
|
4592
|
+
tabIndex: r ? undefined : -1,
|
|
4593
|
+
"aria-selected": `${r}`,
|
|
4594
|
+
class: o.join(" "),
|
|
4568
4595
|
onClick: () => {
|
|
4569
4596
|
var e;
|
|
4570
|
-
return (e = this.swiper) === null || e === void 0 ? void 0 : e.
|
|
4597
|
+
return (e = this.swiper) === null || e === void 0 ? void 0 : e.slideToLoop(s);
|
|
4571
4598
|
},
|
|
4572
4599
|
onKeyDown: this.keydownHandler,
|
|
4573
|
-
"aria-label": a("tecton.element.carousel.itemDescription", [ (s
|
|
4600
|
+
"aria-label": a("tecton.element.carousel.itemDescription", [ (s + 1).toString(), n.toString() ])
|
|
4574
4601
|
});
|
|
4575
4602
|
})));
|
|
4576
4603
|
};
|
|
4577
|
-
this.renderPrevNavBtn = () => {
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
type: "chevron-left"
|
|
4591
|
-
})));
|
|
4592
|
-
};
|
|
4604
|
+
this.renderPrevNavBtn = () => i("div", {
|
|
4605
|
+
class: "prev-btn"
|
|
4606
|
+
}, i("button", {
|
|
4607
|
+
type: "button",
|
|
4608
|
+
class: "q2-carousel-navigation-button q2-carousel-navigation-button-prev",
|
|
4609
|
+
"aria-label": a("tecton.element.carousel.previousItemLabel"),
|
|
4610
|
+
onClick: () => {
|
|
4611
|
+
var e;
|
|
4612
|
+
return (e = this.swiper) === null || e === void 0 ? void 0 : e.slidePrev();
|
|
4613
|
+
}
|
|
4614
|
+
}, i("q2-icon", {
|
|
4615
|
+
type: "arrow-left"
|
|
4616
|
+
})));
|
|
4593
4617
|
}
|
|
4594
4618
|
// #endregion
|
|
4595
4619
|
// #region Component Lifecycle Events
|
|
@@ -4612,6 +4636,7 @@ const j = 500;
|
|
|
4612
4636
|
}
|
|
4613
4637
|
this.universalCarouselOptions = {
|
|
4614
4638
|
centeredSlides: true,
|
|
4639
|
+
loop: true,
|
|
4615
4640
|
focusableElements: "q2-btn, q2-dropdown, q2-item, q2-list, a, input, select, textarea, button, video, label, option",
|
|
4616
4641
|
autoplay: this.autoPlay,
|
|
4617
4642
|
modules: [ Autoplay ],
|
|
@@ -4630,7 +4655,7 @@ const j = 500;
|
|
|
4630
4655
|
this.paginationBtns[e.realIndex].focus({
|
|
4631
4656
|
preventScroll: true
|
|
4632
4657
|
});
|
|
4633
|
-
} else if (i) e.slides[e.
|
|
4658
|
+
} else if (i) e.slides[e.activeIndex].focus({
|
|
4634
4659
|
preventScroll: true
|
|
4635
4660
|
});
|
|
4636
4661
|
},
|
|
@@ -4671,11 +4696,8 @@ const j = 500;
|
|
|
4671
4696
|
// #endregion
|
|
4672
4697
|
// #region Listeners
|
|
4673
4698
|
carouselPaneClicked(e) {
|
|
4674
|
-
var t
|
|
4675
|
-
(t = this.swiper) === null || t === void 0 ? void 0 : t.
|
|
4676
|
-
((i = this.swiper) === null || i === void 0 ? void 0 : i.slides[e.detail.paneIndex]).focus({
|
|
4677
|
-
preventScroll: true
|
|
4678
|
-
});
|
|
4699
|
+
var t;
|
|
4700
|
+
(t = this.swiper) === null || t === void 0 ? void 0 : t.slideToLoop(e.detail.paneIndex);
|
|
4679
4701
|
}
|
|
4680
4702
|
delegateFocus(e) {
|
|
4681
4703
|
var t, i;
|
|
@@ -4692,11 +4714,12 @@ const j = 500;
|
|
|
4692
4714
|
* @testOnly
|
|
4693
4715
|
*/
|
|
4694
4716
|
async selectCarouselPane(e) {
|
|
4717
|
+
var t, i, n;
|
|
4695
4718
|
if (e > this.paneCount) return;
|
|
4696
|
-
const
|
|
4697
|
-
|
|
4698
|
-
i === null || i === void 0 ? void 0 : i.
|
|
4699
|
-
|
|
4719
|
+
const s = e > 0 ? e - 1 : 0;
|
|
4720
|
+
(t = this.swiper) === null || t === void 0 ? void 0 : t.slideToLoop(s);
|
|
4721
|
+
const r = (i = this.swiper) === null || i === void 0 ? void 0 : i.slides[(n = this.swiper) === null || n === void 0 ? void 0 : n.activeIndex];
|
|
4722
|
+
r === null || r === void 0 ? void 0 : r.focus({
|
|
4700
4723
|
preventScroll: true
|
|
4701
4724
|
});
|
|
4702
4725
|
}
|
|
@@ -4719,7 +4742,7 @@ const j = 500;
|
|
|
4719
4742
|
l(this);
|
|
4720
4743
|
}
|
|
4721
4744
|
carouselWrapperWidthChanged() {
|
|
4722
|
-
this.compactMode = this.carouselWrapperWidth <
|
|
4745
|
+
this.compactMode = this.carouselWrapperWidth < D;
|
|
4723
4746
|
}
|
|
4724
4747
|
framelessPanesChanged() {
|
|
4725
4748
|
this.updateCarouselPaneProps();
|
|
@@ -4732,8 +4755,9 @@ const j = 500;
|
|
|
4732
4755
|
var t, i;
|
|
4733
4756
|
// this allows the carousel to be swiped programmatically via the index prop
|
|
4734
4757
|
if (e !== ((t = this.swiper) === null || t === void 0 ? void 0 : t.realIndex) + 1) {
|
|
4735
|
-
(i = this.swiper) === null || i === void 0 ? void 0 : i.
|
|
4736
|
-
|
|
4758
|
+
(i = this.swiper) === null || i === void 0 ? void 0 : i.slideToLoop(this.realIndex);
|
|
4759
|
+
// this.swiper?.slideTo(this.realIndex);
|
|
4760
|
+
}
|
|
4737
4761
|
}
|
|
4738
4762
|
// #endregion
|
|
4739
4763
|
// #region Local Methods
|
|
@@ -4742,7 +4766,7 @@ const j = 500;
|
|
|
4742
4766
|
}
|
|
4743
4767
|
get activePane() {
|
|
4744
4768
|
var e, t, i;
|
|
4745
|
-
const n = (i = (e = this.swiper) === null || e === void 0 ? void 0 : e.slides[(t = this.swiper) === null || t === void 0 ? void 0 : t.
|
|
4769
|
+
const n = (i = (e = this.swiper) === null || e === void 0 ? void 0 : e.slides[(t = this.swiper) === null || t === void 0 ? void 0 : t.activeIndex]) !== null && i !== void 0 ? i : 0;
|
|
4746
4770
|
return n instanceof HTMLElement ? n : null;
|
|
4747
4771
|
}
|
|
4748
4772
|
get insufficientPanes() {
|
|
@@ -4760,11 +4784,11 @@ const j = 500;
|
|
|
4760
4784
|
get peekContentDisplayOptions() {
|
|
4761
4785
|
return {
|
|
4762
4786
|
slidesPerView: 2,
|
|
4763
|
-
spaceBetween: this.compactMode ? 0 :
|
|
4787
|
+
spaceBetween: this.compactMode ? 0 : 10,
|
|
4764
4788
|
centerInsufficientSlides: false,
|
|
4765
4789
|
breakpoints: {
|
|
4766
4790
|
[z]: {
|
|
4767
|
-
slidesPerView:
|
|
4791
|
+
slidesPerView: 2
|
|
4768
4792
|
}
|
|
4769
4793
|
},
|
|
4770
4794
|
...this.universalCarouselOptions
|
|
@@ -4785,33 +4809,36 @@ const j = 500;
|
|
|
4785
4809
|
}
|
|
4786
4810
|
}
|
|
4787
4811
|
render() {
|
|
4788
|
-
const {paneCount: e, fullWidthPanes: t, framelessPanes: r, compactMode: o, showNavigationArrows: l,
|
|
4789
|
-
let
|
|
4790
|
-
if (t)
|
|
4791
|
-
if (r)
|
|
4792
|
-
if (!t && !r)
|
|
4793
|
-
if (o)
|
|
4794
|
-
|
|
4795
|
-
if (l
|
|
4812
|
+
const {paneCount: e, fullWidthPanes: t, framelessPanes: r, compactMode: o, showNavigationArrows: l, arrowPosition: c = "bottom", insufficientPanes: f, autoPlay: u, hidePagination: d, ariaLiveValue: p, label: h} = this;
|
|
4813
|
+
let g = [ "q2-carousel-swiper-container", "swiper" ];
|
|
4814
|
+
if (t) g = [ ...g, "full-width-display" ];
|
|
4815
|
+
if (r) g = [ ...g, "frameless-display" ];
|
|
4816
|
+
if (!t && !r) g = [ ...g, "content-peek-display" ];
|
|
4817
|
+
if (o) g = [ ...g, "compact" ];
|
|
4818
|
+
const v = [ "q2-carousel-pagination-navigation-wrapper" ];
|
|
4819
|
+
if (l && c === "bottom") v.push("evenly-space");
|
|
4820
|
+
if (l && c === "hug") v.push("center-space");
|
|
4796
4821
|
return i(s, {
|
|
4797
|
-
key: "
|
|
4822
|
+
key: "7c8a2c87c41d8621971bff9a22ab8de2439276c5",
|
|
4798
4823
|
id: `q2-carousel-${this.guid}`,
|
|
4799
4824
|
class: "q2-carousel-instance"
|
|
4800
|
-
},
|
|
4801
|
-
class:
|
|
4802
|
-
}, l && this.renderPrevNavBtn(), i("div", {
|
|
4825
|
+
}, f ? this.renderInsufficientPanesDisplay() : i(n, null, e > 1 && i("div", {
|
|
4826
|
+
class: v.join(" ")
|
|
4827
|
+
}, l && [ "bottom", "hug" ].includes(c) && this.renderPrevNavBtn(), i("div", {
|
|
4803
4828
|
class: "q2-carousel-control-center-tray"
|
|
4804
|
-
}, !
|
|
4805
|
-
class:
|
|
4829
|
+
}, !d && this.renderPaginationArea(), u && this.renderAutoPlayBtn()), l && [ "bottom", "hug" ].includes(c) && this.renderNextNavBtn()), i("section", {
|
|
4830
|
+
class: g.join(" "),
|
|
4806
4831
|
ref: e => this.carouselWrapper = e,
|
|
4807
4832
|
"aria-roledescription": "carousel",
|
|
4808
|
-
"aria-label": a(
|
|
4833
|
+
"aria-label": a(h)
|
|
4809
4834
|
}, i("div", {
|
|
4810
4835
|
class: "q2-carousel-swiper-wrapper swiper-wrapper",
|
|
4811
4836
|
ref: e => this.carouselPaneWrapperElement = e,
|
|
4812
|
-
"aria-live":
|
|
4837
|
+
"aria-live": p,
|
|
4813
4838
|
onKeyDown: this.keydownHandler
|
|
4814
|
-
}, i("slot", null))
|
|
4839
|
+
}, i("slot", null)), l && c === "float" && i("div", {
|
|
4840
|
+
class: "q2-carousel-floating-arrow-wrapper"
|
|
4841
|
+
}, this.renderPrevNavBtn(), this.renderNextNavBtn()))));
|
|
4815
4842
|
}
|
|
4816
4843
|
get hostElement() {
|
|
4817
4844
|
return r(this);
|
|
@@ -4829,7 +4856,7 @@ const j = 500;
|
|
|
4829
4856
|
}
|
|
4830
4857
|
};
|
|
4831
4858
|
|
|
4832
|
-
L.style =
|
|
4859
|
+
L.style = j;
|
|
4833
4860
|
|
|
4834
4861
|
export { L as q2_carousel };
|
|
4835
4862
|
//# sourceMappingURL=q2-carousel.entry.esm.js.map
|