q2-tecton-elements 1.53.1 → 1.53.3
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/cjs/click-elsewhere_2.cjs.entry.js +73 -69
- package/dist/cjs/click-elsewhere_2.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-07285783.js → index-7aecfed8.js} +30 -18
- package/dist/cjs/index-7aecfed8.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +4 -4
- package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-bar.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-donut.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +4 -2
- package/dist/cjs/q2-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +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-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-item_3.cjs.entry.js +3 -3
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-loc.cjs.entry.js +2 -2
- package/dist/cjs/q2-message.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +2 -2
- package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
- package/dist/cjs/q2-pill.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +130 -14
- package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-tag.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/components/click-elsewhere/click-elsewhere.js.map +1 -1
- package/dist/collection/components/click-elsewhere/test/click-elsewhere-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-group/q2-action-group.js.map +1 -1
- package/dist/collection/components/q2-action-group/test/q2-action-group.e2e.js.map +1 -1
- package/dist/collection/components/q2-action-group/test/q2-action-group.spec.js.map +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js.map +1 -1
- package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.js.map +1 -1
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-badge/q2-badge.js.map +1 -1
- package/dist/collection/components/q2-badge/test/q2-badge-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-btn/q2-btn.js.map +1 -1
- package/dist/collection/components/q2-btn/test/q2-btn-test.e2e.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.js.map +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/q2-month-picker.js.map +1 -1
- package/dist/collection/components/q2-calendar/test/helpers-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-calendar/test/q2-calendar-month-picker-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-calendar/test/validation-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-card/q2-card.js.map +1 -1
- package/dist/collection/components/q2-card/test/q2-card-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-carousel/q2-carousel.js.map +1 -1
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js.map +1 -1
- package/dist/collection/components/q2-carousel-pane/test/q2-carousel-pane-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-carousel-pane/test/q2-carousel-pane-test.spec.js.map +1 -1
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-area/q2-chart-area.js.map +1 -1
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js.map +1 -1
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js.map +1 -1
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.js.map +1 -1
- package/dist/collection/components/q2-checkbox/test/q2-checkbox-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js.map +1 -1
- package/dist/collection/components/q2-checkbox-group/test/q2-checkbox-group-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.js.map +1 -1
- package/dist/collection/components/q2-currency/test/q2-currency-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.js.map +1 -1
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-detail/q2-detail.js.map +1 -1
- package/dist/collection/components/q2-detail/test/q2-detail-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +3 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js.map +1 -1
- package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js +5 -17
- package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-dropdown-item/q2-dropdown-item.js.map +1 -1
- package/dist/collection/components/q2-dropdown-item/test/q2-dropdown-item-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js.map +1 -1
- package/dist/collection/components/q2-editable-field/test/q2-editable-field-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js.map +1 -1
- package/dist/collection/components/q2-example/test/q2-example.e2e.js.map +1 -1
- package/dist/collection/components/q2-example/test/q2-example.spec.js.map +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js.map +1 -1
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.spec.js.map +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js.map +1 -1
- package/dist/collection/components/q2-formatted-text/test/q2-formatted-text-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-icon/q2-icon-types.js.map +1 -1
- package/dist/collection/components/q2-icon/q2-icon.js.map +1 -1
- package/dist/collection/components/q2-icon/test/q2-icon-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/alpha.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/alpha.spec.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/alphanumeric.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/alphanumeric.spec.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/credit-card.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/credit-card.spec.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/currency.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/currency.spec.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/date.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/date.spec.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/numeric.spec.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/phone.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/phone.spec.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/postal.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/postal.spec.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/ssn.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/ssn.spec.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/tin.js.map +1 -1
- package/dist/collection/components/q2-input/formatting/tin.spec.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 +1 -1
- package/dist/collection/components/q2-input/q2-input.js.map +1 -1
- package/dist/collection/components/q2-input/test/q2-input-credit-card-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-input/test/q2-input-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-input/test/q2-input-test.spec.js.map +1 -1
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-item/q2-item.js.map +1 -1
- package/dist/collection/components/q2-item/test/q2-item-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-item/test/q2-item-test.spec.js.map +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js.map +1 -1
- package/dist/collection/components/q2-legend/test/q2-legend-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-legend/test/q2-legend-test.spec.js.map +1 -1
- package/dist/collection/components/q2-link/q2-link.js.map +1 -1
- package/dist/collection/components/q2-link/test/q2-link-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js.map +1 -1
- package/dist/collection/components/q2-list/test/q2-list-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-loading/q2-loading.js.map +1 -1
- package/dist/collection/components/q2-loading/skeleton/q2-loading-element/index.js.map +1 -1
- package/dist/collection/components/q2-loading/skeleton/shapes.js.map +1 -1
- package/dist/collection/components/q2-loading/test/q2-loading-element-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-loading/test/q2-loading-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-loc/q2-loc.js +1 -1
- package/dist/collection/components/q2-loc/q2-loc.js.map +1 -1
- package/dist/collection/components/q2-loc/test/q2-loc-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-loc/test/q2-loc-test.spec.js.map +1 -1
- 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-message/test/q2-message-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js.map +1 -1
- package/dist/collection/components/q2-optgroup/test/q2-optgroup-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-option/q2-option.js +1 -1
- package/dist/collection/components/q2-option/q2-option.js.map +1 -1
- package/dist/collection/components/q2-option/test/q2-option-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-option/test/q2-option-test.spec.js.map +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js.map +1 -1
- package/dist/collection/components/q2-option-list/test/q2-option-list-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pagination/q2-pagination.js.map +1 -1
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.e2e.js +1 -0
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-pill/q2-pill.js.map +1 -1
- package/dist/collection/components/q2-pill/test/q2-pill-test.e2e.js +2 -2
- package/dist/collection/components/q2-pill/test/q2-pill-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-popover/q2-popover.css +18 -10
- package/dist/collection/components/q2-popover/q2-popover.js +74 -69
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js +1 -34
- package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js +902 -511
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js.map +1 -1
- package/dist/collection/components/q2-radio/q2-radio.js.map +1 -1
- package/dist/collection/components/q2-radio/test/q2-radio-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js.map +1 -1
- package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js.map +1 -1
- package/dist/collection/components/q2-relative-time/test/q2-relative-time-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js.map +1 -1
- package/dist/collection/components/q2-resize-observer/test/q2-resize-observer.e2e.js.map +1 -1
- package/dist/collection/components/q2-resize-observer/test/q2-resize-observer.spec.js.map +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-section/q2-section.js.map +1 -1
- package/dist/collection/components/q2-section/test/q2-section-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-select/q2-select.js +151 -16
- package/dist/collection/components/q2-select/q2-select.js.map +1 -1
- package/dist/collection/components/q2-select/test/q2-select-test.e2e.js +1 -1
- package/dist/collection/components/q2-select/test/q2-select-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-select/test/q2-select-test.spec.js +552 -0
- package/dist/collection/components/q2-select/test/q2-select-test.spec.js.map +1 -0
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper/q2-stepper.js.map +1 -1
- package/dist/collection/components/q2-stepper/test/q2-stepper-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js.map +1 -1
- package/dist/collection/components/q2-stepper-pane/test/q2-stepper-pane-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js.map +1 -1
- package/dist/collection/components/q2-stepper-vertical/test/q2-stepper-vertical-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js.map +1 -1
- package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.spec.js.map +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js.map +1 -1
- package/dist/collection/components/q2-tab-pane/test/q2-tab-pane-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js.map +1 -1
- package/dist/collection/components/q2-tag/test/q2-tag-test.e2e.js +6 -1
- package/dist/collection/components/q2-tag/test/q2-tag-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js.map +1 -1
- package/dist/collection/components/q2-textarea/test/q2-textarea-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-tooltip/q2-tooltip.js.map +1 -1
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.e2e.js.map +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane-types.js.map +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js.map +1 -1
- package/dist/collection/components/tecton-tab-pane/test/tecton-tab-pane-test.e2e.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/utils/action-sheet.js.map +1 -1
- package/dist/collection/utils/charting.js.map +1 -1
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/index.js +37 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/collection/utils/sanitize-html-string.js.map +1 -1
- package/dist/collection/utils/sanitize-regex-string.js.map +1 -1
- package/dist/collection/utils/test/action-sheet-test.e2e.js.map +1 -1
- package/dist/collection/utils/test/index.spec.js.map +1 -1
- package/dist/components/index2.js +29 -17
- package/dist/components/index2.js.map +1 -1
- package/dist/components/q2-action-group.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +1 -1
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-currency.js +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +3 -1
- package/dist/components/q2-dropdown.js.map +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-loc.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-option2.js +1 -1
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pill.js +1 -1
- package/dist/components/q2-popover2.js +73 -69
- package/dist/components/q2-popover2.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 +133 -17
- package/dist/components/q2-select2.js.map +1 -1
- package/dist/components/q2-stepper-vertical.js +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-tab-container.js +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag.js +1 -1
- package/dist/components/q2-textarea.js +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/click-elsewhere_2.entry.js +73 -69
- package/dist/esm/click-elsewhere_2.entry.js.map +1 -1
- package/dist/esm/{index-d18e2a20.js → index-99c46474.js} +30 -18
- package/dist/esm/index-99c46474.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +2 -2
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +4 -4
- package/dist/esm/q2-calendar.entry.js +1 -1
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +1 -1
- package/dist/esm/q2-chart-area.entry.js +2 -2
- package/dist/esm/q2-chart-bar.entry.js +2 -2
- package/dist/esm/q2-chart-donut.entry.js +2 -2
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox.entry.js +1 -1
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +4 -2
- package/dist/esm/q2-dropdown.entry.js.map +1 -1
- package/dist/esm/q2-editable-field.entry.js +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-formatted-text.entry.js +1 -1
- package/dist/esm/q2-item_3.entry.js +3 -3
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-loc.entry.js +2 -2
- package/dist/esm/q2-message.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option-list.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +2 -2
- package/dist/esm/q2-pagination.entry.js +4 -4
- package/dist/esm/q2-pill.entry.js +2 -2
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +131 -15
- package/dist/esm/q2-select.entry.js.map +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +1 -1
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-tag.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/jest.setup.js +33 -0
- package/dist/jest.setup.js.map +1 -0
- package/dist/q2-tecton-elements/click-elsewhere_2.entry.js +103 -92
- package/dist/q2-tecton-elements/click-elsewhere_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/{index-d18e2a20.js → index-99c46474.js} +24 -17
- package/dist/q2-tecton-elements/index-99c46474.js.map +1 -0
- package/dist/q2-tecton-elements/q2-action-group.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +34 -34
- package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +17 -17
- package/dist/q2-tecton-elements/q2-calendar.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +80 -80
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +101 -101
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-data-table.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-detail.entry.js +39 -39
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +13 -11
- package/dist/q2-tecton-elements/q2-dropdown.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-item_3.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-loc.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-message.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-option-list.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-pagination.entry.js +34 -34
- package/dist/q2-tecton-elements/q2-pill.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-radio.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +19 -19
- package/dist/q2-tecton-elements/q2-select.entry.js +196 -93
- package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +37 -37
- package/dist/q2-tecton-elements/q2-stepper.entry.js +29 -29
- package/dist/q2-tecton-elements/q2-tag.entry.js +25 -25
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/builds/q2e/development/tecton/tecton/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +10 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -4
- package/dist/types/components/q2-select/q2-select.d.ts +23 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cjs/index-07285783.js.map +0 -1
- package/dist/esm/index-d18e2a20.js.map +0 -1
- package/dist/q2-tecton-elements/index-d18e2a20.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["debounce","fn","delay","timeout","args","clearTimeout","setTimeout","isMobile","test","navigator","userAgent","isInScrollableContainer","element","current","document","body","documentElement","parentElement","root","getRootNode","host","style","window","getComputedStyle","hasScrollableOverflow","overflow","overflowX","overflowY","hasOverflowingContent","scrollHeight","clientHeight","scrollWidth","clientWidth","isRelatedTargetWithinHost","event","relatedTarget","contains","isEventFromElement","_a","composedPath","call","overrideFocus","hostElement","focus","dispatchEvent","FocusEvent","bubbles","isFirefox","toLowerCase","includes","isTouchDevice","maxTouchPoints","getAriaValueFromProp","prop","validValues","undefined","guid","createGuid","nextPaint","requestAnimationFrame","isVisible","offsetWidth","offsetHeight","getClientRects","length","waitForNextPaint","Promise","resolve","loc","key","subs","Tecton","noStrings","_c","_b","TectonElements","renderLabel","target","label","hideLabel","optional","readonly","labelClasses","helpText","shouldHideLabel","labelSlotElements","querySelectorAll","hasSlotContent","hasLabel","push","h","class","htmlFor","inputId","join","name","slotName","querySelector","handleAriaLabel","ariaLabel","FW_WRAPPERS_EMPTY_PROP","Symbol","toString","handleRenamedProp","oldProp","newProp","removeOldProp","handleDeprecationWarning","deprecatedItemName","deprecatedItemType","location","hostname","componentName","constructor","slice","console","warn","error","renderMessages","type","hasError","appearance","description","id","inputDescribedBy","messages","map","message","setMessageHeight","messageContainer","shadowRoot","q2Message","height","showMessages","hasFocus","getBoundingClientRect","getPropertyValue","classList","add","removeProperty","remove","setProperty","resizeIframe","handleColor","intent","color","getAllText","async","options","opts","Object","assign","trim","normalizeWhitespace","skipComponentReady","nodesToSkip","Set","processedNodes","WeakSet","result","processNode","node","has","nodeName","nodeType","Node","TEXT_NODE","text","textContent","endsWith","startsWith","ELEMENT_NODE","isStencilComponent","componentOnReady","child","childNodes","shadowChild","assignedNodes","assigned","fallback","replace"],"sources":["src/utils/index.tsx"],"sourcesContent":["import { h } from '@stencil/core';\nimport { Q2Btn } from 'src/components/q2-btn/q2-btn';\nimport { Q2Calendar } from 'src/components/q2-calendar/q2-calendar';\nimport { Q2Carousel } from 'src/components/q2-carousel/q2-carousel';\nimport { Q2Checkbox } from 'src/components/q2-checkbox/q2-checkbox';\nimport { Q2CheckboxGroup } from 'src/components/q2-checkbox-group/q2-checkbox-group';\nimport { Q2RadioGroup } from 'src/components/q2-radio-group/q2-radio-group';\nimport { Q2Dropdown } from 'src/components/q2-dropdown/q2-dropdown';\nimport { Q2DropdownItem } from 'src/components/q2-dropdown-item/q2-dropdown-item';\nimport { Q2EditableField } from 'src/components/q2-editable-field/q2-editable-field';\nimport { Q2Input } from 'src/components/q2-input/q2-input';\nimport { Q2Loading } from 'src/components/q2-loading/q2-loading';\nimport { Q2Radio } from 'src/components/q2-radio/q2-radio';\nimport { Q2Select } from 'src/components/q2-select/q2-select';\nimport { FormFieldTypes, IDict } from 'src/util';\n\nexport const debounce = <F extends (...args: Parameters<F>) => ReturnType<F>>(fn: F, delay: number = 300) => {\n let timeout: ReturnType<typeof setTimeout>;\n return function (...args: Parameters<F>) {\n clearTimeout(timeout);\n timeout = setTimeout(() => {\n fn(...args);\n }, delay);\n };\n};\n\nexport function isAndroid(): boolean {\n return /Android/i.test(navigator.userAgent);\n}\n\nexport function isIOS(): boolean {\n return /iPad|iPhone|iPod/.test(navigator.userAgent);\n}\n\nexport function isMobile(): boolean {\n return /Android|webOS|iPhone|iPad|iPod|BlackBerry|Mobile|IEMobile|Windows Phone|Opera Mini/i.test(\n navigator.userAgent\n );\n}\n\nexport function isInScrollableContainer(element) {\n let current = element;\n\n while (current && current !== document.body && current !== document.documentElement) {\n // Move to parent\n if (current.parentElement) {\n current = current.parentElement;\n } else {\n // Try to cross shadow DOM boundary\n const root = current.getRootNode();\n if (root && root.host) {\n current = root.host;\n } else {\n break;\n }\n }\n\n const style = window.getComputedStyle(current);\n const hasScrollableOverflow =\n style.overflow === 'scroll' ||\n style.overflow === 'auto' ||\n style.overflowX === 'scroll' ||\n style.overflowX === 'auto' ||\n style.overflowY === 'scroll' ||\n style.overflowY === 'auto';\n\n const hasOverflowingContent =\n current.scrollHeight > current.clientHeight || current.scrollWidth > current.clientWidth;\n\n if (hasScrollableOverflow && hasOverflowingContent) {\n return true;\n }\n }\n\n return false;\n}\n\nexport function isHostLosingFocus(event: FocusEvent, hostElement: HTMLElement) {\n const type = event.type;\n const focusInTypes = ['focusin', 'focus'];\n const isFocusIn = focusInTypes.includes(type);\n\n // on focusin: `target` is element losing focus, `relatedTarget` is element gaining focus\n // on focusout: `target` is element gaining focus, `relatedTarget` is element losing focus\n const elementGainingFocus = isFocusIn ? event.target : event.relatedTarget;\n\n const isElementNestedInHostElement = (element: HTMLElement) => {\n if (element === hostElement) return true;\n if (element.parentElement) {\n return isElementNestedInHostElement(element.parentElement);\n }\n return false;\n };\n\n if (!(elementGainingFocus instanceof HTMLElement)) return true;\n return !isElementNestedInHostElement(elementGainingFocus);\n}\n\nexport function isRelatedTargetWithinHost(event: FocusEvent, element: HTMLElement) {\n return event.relatedTarget !== element && !element.contains(event.relatedTarget as Node);\n}\n\nexport function isEventFromElement(event: Event, element: HTMLElement): boolean {\n return event.composedPath?.()[0] === element;\n}\n\nexport function overrideFocus(hostElement: HTMLElement) {\n hostElement.focus = () => hostElement?.dispatchEvent(new FocusEvent('focus', { bubbles: false }));\n}\n\nexport function isFirefox() {\n const userAgent = navigator.userAgent.toLowerCase();\n return userAgent.includes('firefox');\n}\n\nexport function isTouchDevice() {\n return 'ontouchstart' in window || navigator.maxTouchPoints > 0;\n}\n\nexport function isSafari() {\n const userAgent = navigator.userAgent.toLowerCase();\n return userAgent.includes('safari') && !userAgent.includes('chrome');\n}\n\n/**\n * Returns the value of a prop if it is defined and included in the `validValues`\n * array. This is used primarily to prevent Vue wrappers from setting aria props\n * to \"Symbol()\" when the prop is not set.\n */\nexport function getAriaValueFromProp(prop: string, validValues?: string[]) {\n if (prop === undefined) return prop;\n if (!validValues) return prop !== 'Symbol()' ? prop : undefined;\n return validValues.includes(prop) || prop === '' ? prop : undefined;\n}\n\nlet guid: number = 1000;\nexport function createGuid(): number {\n return guid++;\n}\n\nexport function nextPaint(fn: (value?: unknown) => void) {\n requestAnimationFrame(() => {\n requestAnimationFrame(fn);\n });\n}\n\nexport function isVisible(element: HTMLElement) {\n return element.offsetWidth > 0 || element.offsetHeight > 0 || element.getClientRects().length > 0;\n}\n\nexport function waitForNextPaint() {\n return new Promise(resolve => nextPaint(resolve));\n}\n\nexport function capitalize(value: string) {\n return `${value.charAt(0).toUpperCase()}${value.slice(1)}`;\n}\n\nexport function pick(props: string[]): (obj: object) => object {\n return obj => {\n return props.reduce((memo, prop) => {\n return {\n ...memo,\n [prop]: obj[prop],\n };\n }, {});\n };\n}\n\nexport function loc(key: string, subs?: IDict<any> | string[]) {\n if (!key) return '';\n if (window.Tecton?.noStrings === true) {\n return key;\n }\n return window?.TectonElements?.loc(key, subs) ?? key;\n}\n\nexport function renderLabel(target: FormFieldTypes | Q2RadioGroup | Q2CheckboxGroup) {\n const { label, hideLabel, optional, readonly } = target;\n const labelClasses: string[] = ['input-label'];\n let helpText = '';\n\n let shouldHideLabel = hideLabel;\n if (!shouldHideLabel) {\n const labelSlotElements = target.hostElement.querySelectorAll<HTMLSlotElement>('[slot=\"label\"]');\n const hasSlotContent = labelSlotElements.length > 0;\n const hasLabel = !!label;\n\n shouldHideLabel = hasLabel || hasSlotContent ? false : true;\n }\n\n if (shouldHideLabel) labelClasses.push('sr');\n if (optional) {\n helpText = <span class=\"optional-tag\">{loc('tecton.element.input.optional')}</span>;\n }\n if (readonly) {\n helpText = <span class=\"optional-tag\">{loc('tecton.element.input.readonly')}</span>;\n labelClasses.push('readonly-field');\n }\n return (\n <label\n htmlFor={target.inputId}\n class={labelClasses.join(' ')}\n >\n <slot name=\"label\">\n {label ? loc(label) : undefined}\n {helpText}\n </slot>\n </label>\n );\n}\n\nexport function hasSlotContent(target: HTMLElement, slotName: string) {\n return target.querySelector(`[slot=\"${slotName}\"]`) !== null;\n}\n\nexport function handleAriaLabel(\n target:\n | Q2Input\n | Q2Select\n | Q2Radio\n | Q2Checkbox\n | Q2EditableField\n | Q2Dropdown\n | Q2DropdownItem\n | Q2Loading\n | Q2Carousel\n | Q2Calendar\n | Q2Btn\n) {\n const { ariaLabel } = target;\n if (!ariaLabel) return;\n\n // If empty ariaLabel prop is set to primitive symbol by framework wrapper, set ariaLabel to undefined and return\n const FW_WRAPPERS_EMPTY_PROP = Symbol().toString();\n if (ariaLabel === FW_WRAPPERS_EMPTY_PROP) {\n target.ariaLabel = undefined;\n return;\n }\n\n // If ariaLabel is set, set hideLabel to true and set label to ariaLabel\n if ('hideLabel' in target) target.hideLabel = true;\n target.label = loc(ariaLabel);\n target.ariaLabel = undefined;\n}\n\n/**\n * Handles when a prop has been renamed on a component without introducing a breaking change.\n */\nexport function handleRenamedProp(target: object, oldProp: string, newProp: string, removeOldProp?: boolean) {\n if (typeof target[oldProp] === 'undefined') return;\n\n // If old prop has value, aka set in component, call handleDeprecationWarning()\n if (target[oldProp]) {\n handleDeprecationWarning(target, oldProp, 'prop');\n }\n\n target[newProp] = target[oldProp];\n\n if (removeOldProp) {\n delete target[oldProp];\n }\n}\n\nexport function handleDeprecationWarning(\n target: object,\n deprecatedItemName: string,\n deprecatedItemType: 'function' | 'prop' | 'method' | 'event'\n) {\n if (window.location.hostname === 'localhost' || window.location.host === 'stack.q2developer.com') {\n if (target[deprecatedItemName] === 'undefined') return;\n\n const componentName = target.constructor.name.toLowerCase().slice(2);\n\n switch (deprecatedItemType) {\n case 'prop':\n if (deprecatedItemName === 'size' && componentName === 'btn') {\n console.warn(\n `The property of size in q2-btn should not be typeof number, or typeof string containing a number. This functionality will be deprecated in an upcoming release. Instead, please use the value 'undefined', or typeof string with any of the following values: \"small\" / \"medium\" / \"large\" `\n );\n } else {\n console.warn(\n `The property ${deprecatedItemName} in q2-${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n }\n break;\n\n case 'function':\n console.warn(\n `The function ${deprecatedItemName} in ${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n break;\n\n case 'method':\n console.warn(\n `The method ${deprecatedItemName} in ${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n break;\n\n case 'event':\n console.warn(\n `The event ${deprecatedItemName} in ${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n break;\n\n default:\n console.error(\n `handleDeprecationWarning --> No type found for desired deprecation: ${deprecatedItemName} in q2-${componentName}: deprecatedItemType = ${deprecatedItemName}`\n );\n }\n }\n}\n\nexport function renderMessages(target: FormFieldTypes) {\n const type = target.hasError ? 'danger' : 'info';\n\n return (\n <div class=\"messages-container\">\n <q2-message\n appearance=\"minimal\"\n description\n type={type}\n test-id=\"message\"\n >\n <ul id={target.inputDescribedBy}>\n {target.messages.map(message => (\n <li test-id=\"messageListItem\">{loc(message)}</li>\n ))}\n </ul>\n </q2-message>\n </div>\n );\n}\n\nexport function setMessageHeight(target: FormFieldTypes) {\n const messageContainer = (target.hostElement.shadowRoot as ShadowRoot).querySelector<HTMLDivElement>(\n '.messages-container'\n );\n const q2Message = messageContainer.querySelector('q2-message');\n nextPaint(() => {\n const height = target.showMessages && target.hasFocus ? q2Message.getBoundingClientRect().height : 0;\n\n if (messageContainer.style.getPropertyValue('height') === `${height}px`) return;\n\n if (height === 0) {\n q2Message.classList.add('invisible');\n messageContainer.style.removeProperty('height');\n } else {\n q2Message.classList.remove('invisible');\n messageContainer.style.setProperty('height', `${height}px`);\n }\n });\n}\n\nexport const resizeIframe = () => {\n return window.TectonElements?.resizeIframe?.();\n};\n\n// Handling color attribute (deprecated)\nexport const handleColor = (target: Q2Btn) => {\n if (!target.intent && ['primary', 'secondary'].includes(target.color)) {\n target.intent = `workflow-${target.color}` as HTMLQ2BtnElement['intent'];\n target.color = undefined;\n }\n};\n\n/**\n * Gets all translated text content from an element, including shadow DOM content\n *\n * @param {Element} element - The element to extract text from\n * @param {Object} options - Configuration options\n * @param {boolean} [options.trim=true] - Whether to trim whitespace\n * @param {boolean} [options.normalizeWhitespace=false] - Whether to normalize whitespace\n * @param {boolean} [options.skipComponentReady=false] - Skip waiting for components (for test environments)\n * @return {Promise<string>} All translated text content in DOM order\n */\nexport const getAllText = async (element, options = {}) => {\n if (!element) return '';\n\n const opts = {\n trim: true,\n normalizeWhitespace: false,\n skipComponentReady: false,\n ...options,\n };\n\n const nodesToSkip = new Set(['STYLE', 'SCRIPT', 'NOSCRIPT', 'TEMPLATE', '#comment']);\n const processedNodes = new WeakSet();\n let result = '';\n\n async function processNode(node) {\n if (processedNodes.has(node) || nodesToSkip.has(node.nodeName)) return;\n\n processedNodes.add(node);\n\n // Handle text nodes\n if (node.nodeType === Node.TEXT_NODE) {\n const text = opts.trim ? node.textContent.trim() : node.textContent;\n\n if (text) {\n // Add space between adjacent text nodes if needed\n if (result && !result.endsWith(' ') && !text.startsWith(' ')) {\n result += ' ';\n }\n\n // Translate the text\n result += opts.skipComponentReady ? window.TectonElements?.loc(text) : loc(text);\n }\n return;\n }\n\n // Handle element nodes\n if (node.nodeType === Node.ELEMENT_NODE) {\n // Wait for Stencil component if needed\n const isStencilComponent = node.nodeName.startsWith('Q2-') && typeof node.componentOnReady === 'function';\n\n if (isStencilComponent && !opts.skipComponentReady) {\n await node.componentOnReady();\n }\n\n // Process children in light DOM\n for (const child of node.childNodes) {\n await processNode(child);\n }\n\n // Process shadow DOM if present\n if (node.shadowRoot) {\n for (const shadowChild of node.shadowRoot.childNodes) {\n await processNode(shadowChild);\n }\n }\n\n // Handle slot elements with assigned nodes\n if (node.nodeName === 'SLOT' && typeof node.assignedNodes === 'function') {\n const assignedNodes = node.assignedNodes();\n\n if (assignedNodes.length > 0) {\n for (const assigned of assignedNodes) {\n if (!processedNodes.has(assigned)) {\n await processNode(assigned);\n }\n }\n } else {\n // Process slot fallback content\n for (const fallback of node.childNodes) {\n if (!processedNodes.has(fallback)) {\n await processNode(fallback);\n }\n }\n }\n }\n }\n }\n\n await processNode(element);\n\n // Apply final formatting\n if (opts.trim) {\n result = result.trim();\n }\n\n if (opts.normalizeWhitespace) {\n result = result.replace(/\\s+/g, ' ');\n }\n\n return result;\n};\n"],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as e } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { n as i } from "./index-
|
|
3
|
+
import { n as i } from "./index-99c46474.js";
|
|
4
4
|
|
|
5
5
|
const o = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host(:not([hidden])){display:block;width:100%;--comp-default-btn-group-margin:var(--app-scale-5x, 25px) 0;margin:var(--tct-btn-group-margin, var(--comp-default-btn-group-margin))}.container{width:100%;display:flex;gap:var(--tct-btn-group-gap, var(--app-scale-2x, 10px))}.container.vertical{flex-direction:var(--tct-btn-group-vertical-flex-direction, column)}.container.vertical ::slotted(q2-btn){display:block;width:100%}.container.horizontal{justify-content:var(--tct-btn-group-horizontal-justify-content, flex-start);flex-direction:var(--tct-btn-group-horizontal-flex-direction, row-reverse);align-items:var(--tct-btn-group-horizontal-align-items, center);flex-wrap:var(--tct-btn-group-horizontal-flex-wrap, wrap)}.container.horizontal.full-width{flex-wrap:nowrap}.container.vertical ::slotted(q2-btn),.container.horizontal.full-width ::slotted(q2-btn){display:block;width:100%}";
|
|
6
6
|
|
|
@@ -57,16 +57,16 @@ const r = class {
|
|
|
57
57
|
if (o && i === "horizontal") n.push("full-width");
|
|
58
58
|
n.push(i);
|
|
59
59
|
return e("q2-resize-observer", {
|
|
60
|
-
key: "
|
|
60
|
+
key: "a2147fc3406a4f50f3103642bc8b41dd40cd51ce",
|
|
61
61
|
onTctResize: this.handleResize,
|
|
62
62
|
disabled: t
|
|
63
63
|
}, e("div", {
|
|
64
|
-
key: "
|
|
64
|
+
key: "0504420fa85e810ef70cf87a3e17abf9771ac9f4",
|
|
65
65
|
ref: t => this.container = t,
|
|
66
66
|
class: n.join(" "),
|
|
67
67
|
role: "group"
|
|
68
68
|
}, e("slot", {
|
|
69
|
-
key: "
|
|
69
|
+
key: "5a75ed7cf1b5e58034fe09895ec6a057787ff350"
|
|
70
70
|
})));
|
|
71
71
|
}
|
|
72
72
|
static get watchers() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e, c as t, h as n, F as o, g as i } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as a, w as r } from "./index-
|
|
3
|
+
import { l as a, w as r } from "./index-99c46474.js";
|
|
4
4
|
|
|
5
5
|
var s = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
6
6
|
|
|
@@ -37,8 +37,8 @@ var l = {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
const d = unapply(Array.prototype.forEach);
|
|
40
|
-
const
|
|
41
|
-
const
|
|
40
|
+
const f = unapply(Array.prototype.lastIndexOf);
|
|
41
|
+
const u = unapply(Array.prototype.pop);
|
|
42
42
|
const p = unapply(Array.prototype.push);
|
|
43
43
|
const h = unapply(Array.prototype.splice);
|
|
44
44
|
const m = unapply(String.prototype.toLowerCase);
|
|
@@ -324,7 +324,7 @@ var l = {
|
|
|
324
324
|
/**
|
|
325
325
|
* Expose whether this browser supports running the full DOMPurify.
|
|
326
326
|
*/ DOMPurify.isSupported = typeof e === "function" && typeof Z === "function" && ne && ne.createHTMLDocument !== undefined;
|
|
327
|
-
const {MUSTACHE_EXPR: le, ERB_EXPR: ce, TMPLIT_EXPR: de, DATA_ATTR:
|
|
327
|
+
const {MUSTACHE_EXPR: le, ERB_EXPR: ce, TMPLIT_EXPR: de, DATA_ATTR: fe, ARIA_ATTR: ue, IS_SCRIPT_OR_DATA: pe, ATTR_WHITESPACE: he, CUSTOM_ELEMENT: me} = W;
|
|
328
328
|
let {IS_ALLOWED_URI: ge} = W;
|
|
329
329
|
/**
|
|
330
330
|
* We consider the elements and attributes below to be safe. Ideally
|
|
@@ -441,7 +441,7 @@ var l = {
|
|
|
441
441
|
* @param cfg optional config literal
|
|
442
442
|
*/
|
|
443
443
|
// eslint-disable-next-line complexity
|
|
444
|
-
const
|
|
444
|
+
const ft = function _parseConfig() {
|
|
445
445
|
let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
446
446
|
if (lt && lt === e) {
|
|
447
447
|
return;
|
|
@@ -598,7 +598,7 @@ var l = {
|
|
|
598
598
|
};
|
|
599
599
|
/* Keep track of all possible SVG and MathML tags
|
|
600
600
|
* so that we can perform the namespace checks
|
|
601
|
-
* correctly. */ const
|
|
601
|
+
* correctly. */ const ut = addToSet({}, [ ..._, ...A, ...E ]);
|
|
602
602
|
const pt = addToSet({}, [ ...z, ...R ]);
|
|
603
603
|
/**
|
|
604
604
|
* @param element a DOM element whose namespace is being checked
|
|
@@ -635,7 +635,7 @@ var l = {
|
|
|
635
635
|
}
|
|
636
636
|
// We only allow elements that are defined in SVG
|
|
637
637
|
// spec. All others are disallowed in SVG namespace.
|
|
638
|
-
return Boolean(
|
|
638
|
+
return Boolean(ut[n]);
|
|
639
639
|
}
|
|
640
640
|
if (e.namespaceURI === Ve) {
|
|
641
641
|
// The only way to switch from HTML namespace to MathML
|
|
@@ -665,7 +665,7 @@ var l = {
|
|
|
665
665
|
}
|
|
666
666
|
// We disallow tags that are specific for MathML
|
|
667
667
|
// or SVG and should never appear in HTML namespace
|
|
668
|
-
return !pt[n] && (ot[n] || !
|
|
668
|
+
return !pt[n] && (ot[n] || !ut[n]);
|
|
669
669
|
}
|
|
670
670
|
// For XHTML and XML documents that support custom namespaces
|
|
671
671
|
if (it === "application/xhtml+xml" && Ze[e.namespaceURI]) {
|
|
@@ -898,7 +898,7 @@ var l = {
|
|
|
898
898
|
/* Allow valid data-* attributes: At least one character after "-"
|
|
899
899
|
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
|
900
900
|
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
|
901
|
-
We don't need to check the value; it's always URI safe. */ if (_e && !Te[t] && k(
|
|
901
|
+
We don't need to check the value; it's always URI safe. */ if (_e && !Te[t] && k(fe, t)) ; else if (Se && k(ue, t)) ; else if (!ve[t] || Te[t]) {
|
|
902
902
|
if (
|
|
903
903
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
904
904
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -988,13 +988,13 @@ var l = {
|
|
|
988
988
|
c = y(c, e, " ");
|
|
989
989
|
}));
|
|
990
990
|
}
|
|
991
|
-
/* Is `value` valid for this attribute? */ const
|
|
992
|
-
if (!kt(
|
|
991
|
+
/* Is `value` valid for this attribute? */ const f = st(e.nodeName);
|
|
992
|
+
if (!kt(f, l, c)) {
|
|
993
993
|
continue;
|
|
994
994
|
}
|
|
995
995
|
/* Handle attributes that require Trusted Types */ if (ee && typeof B === "object" && typeof B.getAttributeType === "function") {
|
|
996
996
|
if (r) ; else {
|
|
997
|
-
switch (B.getAttributeType(
|
|
997
|
+
switch (B.getAttributeType(f, l)) {
|
|
998
998
|
case "TrustedHTML":
|
|
999
999
|
{
|
|
1000
1000
|
c = ee.createHTML(c);
|
|
@@ -1019,7 +1019,7 @@ var l = {
|
|
|
1019
1019
|
if (vt(e)) {
|
|
1020
1020
|
mt(e);
|
|
1021
1021
|
} else {
|
|
1022
|
-
|
|
1022
|
+
u(DOMPurify.removed);
|
|
1023
1023
|
}
|
|
1024
1024
|
} catch (e) {}
|
|
1025
1025
|
}
|
|
@@ -1071,7 +1071,7 @@ var l = {
|
|
|
1071
1071
|
return e;
|
|
1072
1072
|
}
|
|
1073
1073
|
/* Assign config vars */ if (!Me) {
|
|
1074
|
-
|
|
1074
|
+
ft(t);
|
|
1075
1075
|
}
|
|
1076
1076
|
/* Clean up removed elements */ DOMPurify.removed = [];
|
|
1077
1077
|
/* Check if dirty is correctly typed for IN_PLACE */ if (typeof e === "string") {
|
|
@@ -1148,20 +1148,20 @@ var l = {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
return s;
|
|
1150
1150
|
}
|
|
1151
|
-
let
|
|
1151
|
+
let f = Oe ? n.outerHTML : n.innerHTML;
|
|
1152
1152
|
/* Serialize doctype if allowed */ if (Oe && be["!doctype"] && n.ownerDocument && n.ownerDocument.doctype && n.ownerDocument.doctype.name && k(U, n.ownerDocument.doctype.name)) {
|
|
1153
|
-
|
|
1153
|
+
f = "<!DOCTYPE " + n.ownerDocument.doctype.name + ">\n" + f;
|
|
1154
1154
|
}
|
|
1155
1155
|
/* Sanitize final string template-safe */ if (ze) {
|
|
1156
1156
|
d([ le, ce, de ], (e => {
|
|
1157
|
-
|
|
1157
|
+
f = y(f, e, " ");
|
|
1158
1158
|
}));
|
|
1159
1159
|
}
|
|
1160
|
-
return ee && Pe ? ee.createHTML(
|
|
1160
|
+
return ee && Pe ? ee.createHTML(f) : f;
|
|
1161
1161
|
};
|
|
1162
1162
|
DOMPurify.setConfig = function() {
|
|
1163
1163
|
let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1164
|
-
|
|
1164
|
+
ft(e);
|
|
1165
1165
|
Me = true;
|
|
1166
1166
|
};
|
|
1167
1167
|
DOMPurify.clearConfig = function() {
|
|
@@ -1171,7 +1171,7 @@ var l = {
|
|
|
1171
1171
|
DOMPurify.isValidAttribute = function(e, t, n) {
|
|
1172
1172
|
/* Initialize shared config vars if necessary. */
|
|
1173
1173
|
if (!lt) {
|
|
1174
|
-
|
|
1174
|
+
ft({});
|
|
1175
1175
|
}
|
|
1176
1176
|
const o = st(e);
|
|
1177
1177
|
const i = st(t);
|
|
@@ -1185,10 +1185,10 @@ var l = {
|
|
|
1185
1185
|
};
|
|
1186
1186
|
DOMPurify.removeHook = function(e, t) {
|
|
1187
1187
|
if (t !== undefined) {
|
|
1188
|
-
const n =
|
|
1188
|
+
const n = f(se[e], t);
|
|
1189
1189
|
return n === -1 ? undefined : h(se[e], n, 1)[0];
|
|
1190
1190
|
}
|
|
1191
|
-
return
|
|
1191
|
+
return u(se[e]);
|
|
1192
1192
|
};
|
|
1193
1193
|
DOMPurify.removeHooks = function(e) {
|
|
1194
1194
|
se[e] = [];
|
|
@@ -1216,9 +1216,9 @@ function sanitizeHTMLString(e) {
|
|
|
1216
1216
|
|
|
1217
1217
|
const d = '*{box-sizing:border-box}*:active{outline:none}*:focus{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}@keyframes showBackdrop{from{opacity:0}}@keyframes hideBackdrop{to{opacity:0}}dialog{--comp-border-radius-default:var(--app-scale-3x, 15px) var(--app-scale-3x, 15px) 0 0;--comp-border-radius:var(--tct-action-sheet-border-radius, var(--comp-border-radius-default));--comp-desktop-border-radius:var(--tct-action-sheet-border-radius, var(--app-scale-3x, 15px));--comp-close-button-size:var(--tct-action-sheet-close-button-size, var(--t-a11y-min-size, 44px));--comp-header-height:var(--tct-action-sheet-header-height, var(--t-a11y-min-size, 44px));--comp-dialog-background:var(--tct-action-sheet-background, var(--t-base, #ffffff));--comp-dialog-color:var(--tct-action-sheet-color, var(--t-text, #4d4d4d));--comp-dialog-padding:var(--tct-action-sheet-padding, var(--app-scale-3x, 15px));--comp-content-gradient-height:var(--tct-action-sheet-content-gradient-height, var(--app-scale-2x, 10px));--comp-dialog-gap:var(--tct-action-sheet-gap, var(--app-scale-2x, 10px));--comp-dialog-max-width:var(--tct-action-sheet-max-width, 400px);--comp-dialog-max-height:var(--tct-action-sheet-max-height, var(--comp-action-sheet-computed-max-height, 75vh));--comp-dialog-min-height:var(--tct-action-sheet-min-height, var(--comp-action-sheet-computed-min-height, 20vh));--comp-dialog-box-shadow:var(--tct-action-sheet-box-shadow, var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14)));position:fixed;top:100%;bottom:unset;color:var(--comp-dialog-color);background:var(--comp-dialog-background);transition:transform var(--tct-action-sheet-tween, var(--app-tween-2, 0.4s ease)), opacity var(--tct-action-sheet-tween, var(--app-tween-2, 0.4s ease));width:100%;max-width:var(--comp-dialog-max-width);border:0;border-radius:var(--comp-border-radius);box-shadow:var(--comp-dialog-box-shadow);padding:0;height:auto;overflow:hidden;min-height:var(--comp-dialog-min-height);max-height:var(--comp-dialog-max-height)}dialog::backdrop{opacity:0;background:var(--tct-action-sheet-backdrop-background, var(--t-top-a2, rgba(13, 13, 13, 0.6)))}dialog[open].is-opening,dialog[open].is-open{transform:translateY(-100%)}@media screen and (min-width: 1200px){dialog[open].is-opening,dialog[open].is-open{opacity:1;transform:translateY(0)}}dialog[open].is-opening::backdrop,dialog[open].is-open::backdrop{opacity:1;animation:showBackdrop var(--tct-action-sheet-tween, var(--app-tween-2, 0.4s ease))}dialog[open].is-closing{transform:translateY(10%)}dialog[open].is-closing::backdrop{animation:hideBackdrop var(--tct-action-sheet-tween, var(--app-tween-2, 0.4s ease))}@media screen and (min-width: 1200px){dialog{border-radius:var(--comp-desktop-border-radius);top:0px;bottom:0px;height:fit-content;transform:translateY(10%);opacity:0}}.content{overflow-y:auto;--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}.content::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.content::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.content::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}.interior{display:grid;grid-template-rows:44px 1fr auto;gap:var(--comp-dialog-gap);max-height:calc(var(--comp-dialog-max-height) - var(--comp-dialog-padding));padding:var(--comp-dialog-padding)}.interior.is-list header,.interior.is-list footer{position:relative}.interior.is-list header:before,.interior.is-list footer:before{content:"";display:block;position:absolute;left:0;height:var(--comp-content-gradient-height);width:100%;z-index:1}header{display:grid;grid-template-columns:var(--comp-close-button-size) 1fr var(--comp-close-button-size);grid-template-areas:". title close";gap:var(--comp-dialog-gap)}header .title{grid-area:title;text-align:center;line-height:var(--comp-header-height)}header .btn-close{grid-area:close;width:var(--comp-close-button-size);height:var(--comp-close-button-size)}footer{display:flex;justify-content:end}';
|
|
1218
1218
|
|
|
1219
|
-
const
|
|
1219
|
+
const f = d;
|
|
1220
1220
|
|
|
1221
|
-
var
|
|
1221
|
+
var u = undefined && undefined.__rest || function(e, t) {
|
|
1222
1222
|
var n = {};
|
|
1223
1223
|
for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0) n[o] = e[o];
|
|
1224
1224
|
if (e != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, o = Object.getOwnPropertySymbols(e); i < o.length; i++) {
|
|
@@ -1248,7 +1248,7 @@ const p = class {
|
|
|
1248
1248
|
};
|
|
1249
1249
|
this.generateOption = e => {
|
|
1250
1250
|
const t = document.createElement("q2-option");
|
|
1251
|
-
const {innerHTML: n} = e, o =
|
|
1251
|
+
const {innerHTML: n} = e, o = u(e, [ "innerHTML" ]);
|
|
1252
1252
|
if (n) t.innerHTML = sanitizeHTMLString(n);
|
|
1253
1253
|
Object.entries(o).forEach((([e, n]) => {
|
|
1254
1254
|
if (n === undefined) return;
|
|
@@ -1440,32 +1440,32 @@ const p = class {
|
|
|
1440
1440
|
const r = (t === null || t === void 0 ? void 0 : t.appearance) || "slot";
|
|
1441
1441
|
const s = `interior is-${r}`;
|
|
1442
1442
|
return n("dialog", {
|
|
1443
|
-
key: "
|
|
1443
|
+
key: "b108b17a4ba3a4e08acc15001e627ea861447357",
|
|
1444
1444
|
ref: e => this.dialogElement = e,
|
|
1445
1445
|
class: i,
|
|
1446
1446
|
onClick: this.onClick
|
|
1447
1447
|
}, n("div", {
|
|
1448
|
-
key: "
|
|
1448
|
+
key: "bca59c1c6dc53949091e98fd5495952571fe184e",
|
|
1449
1449
|
class: s
|
|
1450
1450
|
}, o && n("header", {
|
|
1451
|
-
key: "
|
|
1451
|
+
key: "7b7d0e2a7182f4848485d478e3f47f5f29d309e7"
|
|
1452
1452
|
}, n("div", {
|
|
1453
|
-
key: "
|
|
1453
|
+
key: "0f6612d2eec2b65c9bf56c4cc56f748ede27b0d1",
|
|
1454
1454
|
class: "title"
|
|
1455
1455
|
}, (t === null || t === void 0 ? void 0 : t.title) || this.title), !this.hideClose && n("q2-btn", {
|
|
1456
|
-
key: "
|
|
1456
|
+
key: "dee03828d0810b4e9cd9767053f63e60f6af4c9d",
|
|
1457
1457
|
class: "btn-close",
|
|
1458
1458
|
"test-id": "btnClose",
|
|
1459
1459
|
onClick: this.onCancel,
|
|
1460
1460
|
label: "tecton.element.actionSheet.close",
|
|
1461
1461
|
"hide-label": true
|
|
1462
1462
|
}, n("q2-icon", {
|
|
1463
|
-
key: "
|
|
1463
|
+
key: "a625a61f60e023f3aae7800e6a645c41e2d9a71e",
|
|
1464
1464
|
type: "close"
|
|
1465
1465
|
}))), ((e = this.data) === null || e === void 0 ? void 0 : e.description) && n("p", {
|
|
1466
|
-
key: "
|
|
1466
|
+
key: "2da7e20b0b2095049ed834147e14d46fcefecfc4"
|
|
1467
1467
|
}, t.description), a && n(a, {
|
|
1468
|
-
key: "
|
|
1468
|
+
key: "40f00574f58afd907c4f1f59ff14cdd4db2b853c",
|
|
1469
1469
|
data: this.data
|
|
1470
1470
|
})));
|
|
1471
1471
|
}
|
|
@@ -1474,7 +1474,7 @@ const p = class {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
};
|
|
1476
1476
|
|
|
1477
|
-
p.style =
|
|
1477
|
+
p.style = f;
|
|
1478
1478
|
|
|
1479
1479
|
export { p as q2_action_sheet };
|
|
1480
1480
|
//# sourceMappingURL=q2-action-sheet.entry.js.map
|
|
@@ -52,9 +52,9 @@ const c = class {
|
|
|
52
52
|
const e = (this.name || this.initials) && (!this.src || this.badSrc);
|
|
53
53
|
const c = !this.name && !this.initials && (!this.src || this.badSrc);
|
|
54
54
|
return t("div", {
|
|
55
|
-
key: "
|
|
55
|
+
key: "fb5f6b225de751e0d0aeb5b9e2d92128f184c899"
|
|
56
56
|
}, r && t("img", {
|
|
57
|
-
key: "
|
|
57
|
+
key: "093ecb0b7e608589fda969b54ef3d5bc072ce245",
|
|
58
58
|
class: i ? "avatar-img" : "avatar-img-default",
|
|
59
59
|
"test-id": "userImage",
|
|
60
60
|
src: this.src,
|
|
@@ -62,7 +62,7 @@ const c = class {
|
|
|
62
62
|
onLoad: this.onLoad,
|
|
63
63
|
alt: this.name || ""
|
|
64
64
|
}), e && t("svg", {
|
|
65
|
-
key: "
|
|
65
|
+
key: "dac89c0aca1a250d5d15b8536d323cf1b4bbe616",
|
|
66
66
|
viewBox: "0 0 100 100",
|
|
67
67
|
preserveAspectRatio: "xMidYMid meet",
|
|
68
68
|
"test-id": "userInitials",
|
|
@@ -70,18 +70,18 @@ const c = class {
|
|
|
70
70
|
"aria-label": this.name,
|
|
71
71
|
"aria-hidden": !this.name && "true"
|
|
72
72
|
}, t("text", {
|
|
73
|
-
key: "
|
|
73
|
+
key: "85cdca32e6172a0f9c3b590a277a056fbec6c8ae",
|
|
74
74
|
x: "50",
|
|
75
75
|
y: "50",
|
|
76
76
|
"dominant-baseline": "central",
|
|
77
77
|
"text-anchor": "middle",
|
|
78
78
|
"aria-hidden": "true"
|
|
79
79
|
}, a)), c && t("div", {
|
|
80
|
-
key: "
|
|
80
|
+
key: "2a8e7bb8d8d7f25b7df61f162b0adc362a6dbbb6",
|
|
81
81
|
"test-id": "fallbackIcon",
|
|
82
82
|
class: "fallback"
|
|
83
83
|
}, t("q2-icon", {
|
|
84
|
-
key: "
|
|
84
|
+
key: "ddb717e672bc21ce35823e69255d4fda8c50dc61",
|
|
85
85
|
type: this.icon
|
|
86
86
|
})));
|
|
87
87
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, h as r, g as o, F as a, a as e, c as i } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { h as n, l as c, a as s, b as d, o as l, i as p, g as b, c as u, d as f, s as h, e as v, n as m, r as x, f as g } from "./index-
|
|
3
|
+
import { h as n, l as c, a as s, b as d, o as l, i as p, g as b, c as u, d as f, s as h, e as v, n as m, r as x, f as g } from "./index-99c46474.js";
|
|
4
4
|
|
|
5
5
|
import { s as k } from "./shapes-c7e1a3fa.js";
|
|
6
6
|
|
|
@@ -4940,10 +4940,10 @@ const Io = class {
|
|
|
4940
4940
|
}
|
|
4941
4941
|
render() {
|
|
4942
4942
|
return r("div", {
|
|
4943
|
-
key: "
|
|
4943
|
+
key: "9a08088086f92f1577313e57a8791cc31b51b2ab",
|
|
4944
4944
|
class: this.wrapperClasses
|
|
4945
4945
|
}, r("div", {
|
|
4946
|
-
key: "
|
|
4946
|
+
key: "e01d82bf1041e00b7642e28d86d2949338ab434e",
|
|
4947
4947
|
class: "label-wrapper"
|
|
4948
4948
|
}, g(this), this.renderCountDOM()), this.renderInputContainerDOM(), x(this));
|
|
4949
4949
|
}
|
|
@@ -5343,49 +5343,49 @@ const Po = class {
|
|
|
5343
5343
|
}
|
|
5344
5344
|
render() {
|
|
5345
5345
|
return r(a, {
|
|
5346
|
-
key: "
|
|
5346
|
+
key: "2d794d68260d0aa72fb4a83325a02cf017c0df53"
|
|
5347
5347
|
}, r("div", {
|
|
5348
|
-
key: "
|
|
5348
|
+
key: "1871102e424cea364c952f4bcd35501cdb726a5e",
|
|
5349
5349
|
class: "tab-container"
|
|
5350
5350
|
}, this.scrollEnabled && r(a, {
|
|
5351
|
-
key: "
|
|
5351
|
+
key: "f405b7f15194484a139fed6cac31e0852bcfc082"
|
|
5352
5352
|
}, r("div", {
|
|
5353
|
-
key: "
|
|
5353
|
+
key: "62876ad768eafddcf5a4dc2d024b3adb0a697367",
|
|
5354
5354
|
class: "gradient-left",
|
|
5355
5355
|
hidden: !this.showScrollLeft
|
|
5356
5356
|
}), r("div", {
|
|
5357
|
-
key: "
|
|
5357
|
+
key: "5b9565a25ea4affded8e8238c0f7cd03867ae171",
|
|
5358
5358
|
class: "gradient-right",
|
|
5359
5359
|
hidden: !this.showScrollRight
|
|
5360
5360
|
}), r("q2-btn", {
|
|
5361
|
-
key: "
|
|
5361
|
+
key: "5c07ca74064f710613266fbcff482681d7949543",
|
|
5362
5362
|
class: "btn-left",
|
|
5363
5363
|
hidden: !this.showScrollLeft,
|
|
5364
5364
|
onClick: () => this.onScrollBtnClick("left")
|
|
5365
5365
|
}, r("q2-icon", {
|
|
5366
|
-
key: "
|
|
5366
|
+
key: "eb08818f8ca406ab5a2dbd9dec91b101f5ebe234",
|
|
5367
5367
|
type: "chevron-left",
|
|
5368
5368
|
label: "scroll left"
|
|
5369
5369
|
})), r("q2-btn", {
|
|
5370
|
-
key: "
|
|
5370
|
+
key: "7e2986967d788f95f464e0ab5041a593496dfa32",
|
|
5371
5371
|
class: "btn-right",
|
|
5372
5372
|
hidden: !this.showScrollRight,
|
|
5373
5373
|
onClick: () => this.onScrollBtnClick("right")
|
|
5374
5374
|
}, r("q2-icon", {
|
|
5375
|
-
key: "
|
|
5375
|
+
key: "e2a28fead80ab1cc13b478425b20a5a874770112",
|
|
5376
5376
|
type: "chevron-right",
|
|
5377
5377
|
label: "scroll right"
|
|
5378
5378
|
}))), r("ul", {
|
|
5379
|
-
key: "
|
|
5379
|
+
key: "5da35b86ffeda0115d7c09598f7a8bec5915c844",
|
|
5380
5380
|
onScroll: this.checkScrollState,
|
|
5381
5381
|
ref: t => this.listElement = t,
|
|
5382
5382
|
class: this.noPrint ? "no-print" : null,
|
|
5383
5383
|
role: "tablist"
|
|
5384
5384
|
}, this.tabs.map(((t, r) => this.renderTab(t, r))))), r("div", {
|
|
5385
|
-
key: "
|
|
5385
|
+
key: "7c4ffcf2c6e0092c9024069596179ee8a9a3e497",
|
|
5386
5386
|
class: "tab-content"
|
|
5387
5387
|
}, r("slot", {
|
|
5388
|
-
key: "
|
|
5388
|
+
key: "25c8cfe8a3dc31b9236fb5ef1569eb3955d8449e",
|
|
5389
5389
|
onSlotchange: () => this.onSlotChange()
|
|
5390
5390
|
})));
|
|
5391
5391
|
}
|
|
@@ -5430,7 +5430,7 @@ const Go = class {
|
|
|
5430
5430
|
// #region Render Methods
|
|
5431
5431
|
render() {
|
|
5432
5432
|
return r("div", {
|
|
5433
|
-
key: "
|
|
5433
|
+
key: "3cd86f02e748fc4e77059cb31b5e478acf22d27a",
|
|
5434
5434
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
5435
5435
|
class: `tab-pane${this.selected ? "" : " hidden"}`,
|
|
5436
5436
|
role: "tabpanel",
|
|
@@ -5438,7 +5438,7 @@ const Go = class {
|
|
|
5438
5438
|
"aria-hidden": `${!this.selected}`,
|
|
5439
5439
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
5440
5440
|
}, r("slot", {
|
|
5441
|
-
key: "
|
|
5441
|
+
key: "b5d23f0194a61be45bc488480e0c9047ac07f367"
|
|
5442
5442
|
}));
|
|
5443
5443
|
}
|
|
5444
5444
|
static get watchers() {
|
|
@@ -2,7 +2,7 @@ import { r as e, c as t, h as i, g as a } from "./index-7a5365e2.js";
|
|
|
2
2
|
|
|
3
3
|
import { d as n } from "./index-3184c760.js";
|
|
4
4
|
|
|
5
|
-
import { l as s, a as r, o, i as d, w as l, j as c } from "./index-
|
|
5
|
+
import { l as s, a as r, o, i as d, w as l, j as c } from "./index-99c46474.js";
|
|
6
6
|
|
|
7
7
|
function formatDateISO(e) {
|
|
8
8
|
const t = new Date(e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as t, c as a, h as r, F as c, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { k as e, o as i, i as s } from "./index-
|
|
3
|
+
import { k as e, o as i, i as s } from "./index-99c46474.js";
|
|
4
4
|
|
|
5
5
|
const n = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{display:block}.container{position:relative;width:100%;text-align:start;height:100%;display:grid;gap:var(--tct-card-gap, var(--t-card-gap, var(--app-scale-3x, 15px)));margin:0;color:var(--tct-card-color, var(--t-card-color, var(--t-text, #4d4d4d)));--comp-avatar-size:var(--tct-card-avatar-size, var(--t-card-avatar-size, 44px));--comp-chevron-size:0;--comp-bar-width:var(--tct-card-bar-width, var(--t-card-bar-width, var(--app-scale-2x, 10px)));--comp-card-padding:var(--tct-card-padding, var(--t-card-padding, var(--app-scale-4x, 20px)))}.container.is-small{--comp-avatar-size:var(--tct-card-avatar-size, var(--t-card-avatar-size, 26px))}.container.has-avatar{grid-template-columns:var(--comp-avatar-size) 1fr;--tct-avatar-width:var(--comp-avatar-size);--tct-avatar-height:var(--comp-avatar-size);--tct-icon-size:var(--comp-avatar-size)}:host([bar][is-static]) .container{padding-left:var(--comp-card-padding)}:host(:not([is-static])) .container{--comp-border-radius:var(--tct-card-border-radius, var(--t-card-border-radius, var(--app-border-radius-1, 4px)));--comp-border-width:var(--tct-card-border-width, var(--t-card-border-width, 0px));border:none;background:var(--tct-card-background, var(--t-card-background, var(--t-base, #ffffff)));padding:var(--comp-card-padding);text-decoration:none;border-width:var(--comp-border-width);border-color:var(--tct-card-border-color, var(--t-card-border-color, transparent));border-style:var(--tct-card-border-style, solid);border-radius:var(--comp-border-radius);transition:box-shadow var(--tct-tween-1, var(--app-tween-1, 0.2s ease));box-shadow:var(--tct-card-box-shadow, var(--t-card-box-shadow, var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14))))}:host(:not([is-static])) .container.clickable{cursor:pointer}@media (hover: hover){:host(:not([is-static])) .container.clickable{--comp-card-hover-box-shadow:var(--tct-card-hover-box-shadow, var(--t-card-hover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 8px 16px rgba(0, 0, 0, 0.14))))}:host(:not([is-static])) .container.clickable:hover,:host(:not([is-static])) .container.clickable:active,:host(:not([is-static])) .container.clickable:focus{color:var(--tct-card-color, var(--t-card-color, var(--t-text, #4d4d4d)));box-shadow:var(--const-double-focus-ring)}:host(:not([is-static])) .container.clickable:hover{box-shadow:var(--comp-card-hover-box-shadow)}:host(:not([is-static])) .container.clickable:focus:hover{box-shadow:var(--const-double-focus-ring), var(--comp-card-hover-box-shadow)}:host(:not([is-static])) .container.clickable:active{box-shadow:var(--tct-card-active-box-shadow, var(--t-card-active-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}}:host(:not([is-static])) .container.is-touch{--comp-chevron-size:var(--tct-card-chevron-size, var(--t-card-chevron-size, 26px));grid-template-columns:1fr var(--comp-chevron-size)}:host(:not([is-static])) .container.has-avatar.is-touch{grid-template-columns:var(--comp-avatar-size) 1fr var(--comp-chevron-size)}.content{overflow:hidden;display:grid;gap:var(--tct-card-content-gap, var(--t-card-content-gap, var(--app-scale-1x, 5px)));align-content:start}h3,p{margin:0;padding:0;line-height:var(--tct-card-font-height, var(--t-card-font-height, 20px))}h3{font-weight:var(--tct-card-font-weight, var(--t-card-font-weight, 600));font-size:var(--tct-card-font-size, var(--t-card-font-size, 17px));text-overflow:ellipsis;overflow:hidden;white-space:nowrap}p{text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.bar{--comp-bar-border-radius:calc(var(--comp-border-radius) - var(--comp-border-width));border-radius:var(--comp-bar-border-radius) 0 0 var(--comp-bar-border-radius);position:absolute;inset:0 auto auto 0;width:var(--comp-bar-width);background:var(--comp-bar-color);height:100%}.bar.color-primary{--comp-bar-color:var(--tct-card-bar-color-primary, var(--t-primary, #5446a4))}.bar.color-secondary{--comp-bar-color:var(--tct-card-bar-color-secondary, var(--t-secondary, #b6b3cc))}.bar.color-tertiary{--comp-bar-color:var(--tct-card-bar-color-tertiary, var(--t-tertiary, #ebe8fc))}.bar.color-info{--comp-bar-color:var(--tct-card-bar-color-info, var(--const-stoplight-info, #0079c1))}.bar.color-success{--comp-bar-color:var(--tct-card-bar-color-success, var(--const-stoplight-success, #0e8a00))}.bar.color-warning{--comp-bar-color:var(--tct-card-bar-color-warning, var(--const-stoplight-warning, #c35500))}.bar.color-alert{--comp-bar-color:var(--tct-card-bar-color-alert, var(--const-stoplight-alert, #c35500))}.bar.color-accent-1{--comp-bar-color:var(--tct-card-bar-color-accent-1, var(--t-accent-1, #e05252))}.bar.color-accent-2{--comp-bar-color:var(--tct-card-bar-color-accent-2, var(--t-accent-2, #e09952))}.bar.color-accent-3{--comp-bar-color:var(--tct-card-bar-color-accent-3, var(--t-accent-3, #e0e052))}.bar.color-accent-4{--comp-bar-color:var(--tct-card-bar-color-accent-4, var(--t-accent-4, #99e052))}.bar.color-accent-5{--comp-bar-color:var(--tct-card-bar-color-accent-5, var(--t-accent-5, #52e052))}.bar.color-accent-6{--comp-bar-color:var(--tct-card-bar-color-accent-6, var(--t-accent-6, #52e099))}.bar.color-accent-7{--comp-bar-color:var(--tct-card-bar-color-accent-7, var(--t-accent-7, #52e0e0))}.bar.color-accent-8{--comp-bar-color:var(--tct-card-bar-color-accent-8, var(--t-accent-8, #5299e0))}.bar.color-accent-9{--comp-bar-color:var(--tct-card-bar-color-accent-9, var(--t-accent-9, #5252e0))}.bar.color-accent-10{--comp-bar-color:var(--tct-card-bar-color-accent-10, var(--t-accent-10, #9952e0))}.bar.color-accent-11{--comp-bar-color:var(--tct-card-bar-color-accent-11, var(--t-accent-11, #e052e0))}.bar.color-accent-12{--comp-bar-color:var(--tct-card-bar-color-accent-12, var(--t-accent-12, #e05299))}.touch-indicator{align-self:center;--tct-icon-size:var(--comp-chevron-size)}";
|
|
6
6
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { r as e, c as
|
|
1
|
+
import { r as e, c as a, h as t, H as r, g as o } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { l as n } from "./index-
|
|
3
|
+
import { l as n } from "./index-99c46474.js";
|
|
4
4
|
|
|
5
5
|
const s = "*{box-sizing:border-box}*:active{outline:none}*:focus{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 .swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;transition:all 0.2s}q2-carousel-pane.q2-carousel-pane{--comp-carousel-pane-tween:var(--tct-tween-1, var(--app-tween-1, 0.2s ease));--comp-carousel-shadow:var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14));cursor:grab}q2-carousel-pane.q2-carousel-pane:not([is-active-pane]) *{cursor:pointer}q2-carousel-pane.q2-carousel-pane:focus{box-shadow:none}q2-carousel-pane.q2-carousel-pane:focus .q2-carousel-pane-main-content{outline:none;box-shadow:var(--const-double-focus-ring)}q2-carousel-pane.q2-carousel-pane button{border:0;background:transparent;transition:all 0.2s;opacity:0.3;cursor:pointer}q2-carousel-pane.q2-carousel-pane button:hover{opacity:0.7}q2-carousel-pane.q2-carousel-pane .q2-carousel-pane-main-content{box-shadow:var(--comp-carousel-shadow);transition:var(--comp-carousel-pane-tween);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, 0px)) 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));height:var(--tct-carousel-pane-height, var(--t-carousel-pane-height, 10em))}q2-carousel-pane.q2-carousel-pane .q2-carousel-pane-main-content:hover{box-shadow:var(--const-double-focus-ring), var(--comp-carousel-shadow)}q2-carousel-pane.q2-carousel-pane[slot-frameless]:not([slot-frameless=false]) .q2-carousel-pane-main-content{box-shadow:none;border:0;border-radius:0;padding:0}";
|
|
6
6
|
|
|
7
7
|
const i = s;
|
|
8
8
|
|
|
9
9
|
const c = class {
|
|
10
|
-
constructor(
|
|
11
|
-
e(this,
|
|
12
|
-
this.clickCarouselPane =
|
|
10
|
+
constructor(t) {
|
|
11
|
+
e(this, t);
|
|
12
|
+
this.clickCarouselPane = a(this, "clickCarouselPane", 7);
|
|
13
13
|
// #region Own Properties
|
|
14
14
|
this.disabledElements = [];
|
|
15
15
|
this.generatePaneClass = e => `q2-carousel-pane swiper-slide q2-carousel-pane-${e}`;
|
|
@@ -59,21 +59,21 @@ const c = class {
|
|
|
59
59
|
// #region Watchers
|
|
60
60
|
determineDisabledContent() {
|
|
61
61
|
const {isActivePane: e} = this;
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
const
|
|
65
|
-
if (
|
|
66
|
-
|
|
62
|
+
const a = this.hostElement.querySelectorAll('q2-btn, q2-dropdown, q2-item, q2-chart-donut, a[href], button, [tabindex]:not([tabindex="-1"])');
|
|
63
|
+
a.forEach((a => {
|
|
64
|
+
const t = a.hasAttribute("tabindex") && parseInt(a.getAttribute("tabindex")) >= 0;
|
|
65
|
+
if (t) {
|
|
66
|
+
a.setAttribute("data-q2-tabindex", `${a.tabIndex}`);
|
|
67
67
|
}
|
|
68
68
|
if (e) {
|
|
69
|
-
if (
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
if (a.hasAttribute("data-q2-tabindex")) {
|
|
70
|
+
a.tabIndex = parseInt(a.getAttribute("data-q2-tabindex"));
|
|
71
|
+
a.removeAttribute("data-q2-tabindex");
|
|
72
72
|
} else {
|
|
73
|
-
|
|
73
|
+
a.removeAttribute("tabindex");
|
|
74
74
|
}
|
|
75
75
|
} else {
|
|
76
|
-
|
|
76
|
+
a.tabIndex = -1;
|
|
77
77
|
}
|
|
78
78
|
}));
|
|
79
79
|
}
|
|
@@ -98,8 +98,8 @@ const c = class {
|
|
|
98
98
|
// #region Render Methods
|
|
99
99
|
render() {
|
|
100
100
|
const {label: e} = this;
|
|
101
|
-
return
|
|
102
|
-
key: "
|
|
101
|
+
return t(r, {
|
|
102
|
+
key: "239d0f41d084152697a3e8e06edf3fa468e23b87",
|
|
103
103
|
class: this.generatePaneClass(this.currentPaneIndex),
|
|
104
104
|
tabIndex: this.isActivePane ? 0 : -1,
|
|
105
105
|
role: "group",
|
|
@@ -107,11 +107,11 @@ const c = class {
|
|
|
107
107
|
"aria-hidden": this.isActivePane ? undefined : "true",
|
|
108
108
|
"aria-label": e ? n(e) : n("tecton.element.carousel.itemDescription", [ (this.currentPaneIndex + 1).toString(), (this.siblingCount || 0).toString() ]),
|
|
109
109
|
onClick: this.paneClicked
|
|
110
|
-
},
|
|
111
|
-
key: "
|
|
110
|
+
}, t("article", {
|
|
111
|
+
key: "0c39569fc1a50f72186a3578c2d43efb80b15d9e",
|
|
112
112
|
class: "q2-carousel-pane-main-content"
|
|
113
|
-
},
|
|
114
|
-
key: "
|
|
113
|
+
}, t("slot", {
|
|
114
|
+
key: "d0a86e4f641c97723a42541fa3053d243a81d5c3"
|
|
115
115
|
})));
|
|
116
116
|
}
|
|
117
117
|
get hostElement() {
|
|
@@ -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-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { c as o, l as a, a as l, o as c, i as f } from "./index-
|
|
3
|
+
import { c as o, l as a, a as l, o as c, i as f } from "./index-99c46474.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* SSR Window 4.0.2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r, c as a, h as t, g as e } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { o as i, l as n } from "./index-
|
|
3
|
+
import { o as i, l as n } from "./index-99c46474.js";
|
|
4
4
|
|
|
5
5
|
import { _ as o, c as s, e as v, l as f, u, s as l, i as h, g as d, n as c, Z as p, a as m, b as y, t as b, d as S, r as g, f as P, G as w, h as M, j as I, S as D, m as L, k as x, o as N, p as T, q as k, P as C, v as A, w as E, x as O, y as B, z as F, A as z, C as G, B as U, D as V, E as R, F as q, H as K, I as j, L as _, J as Z, K as $, M as X, N as Y, O as H, Q as J, R as W, T as Q, U as rr, V as ar, W as tr, X as er, Y as ir, $ as nr, a0 as or, a1 as sr, a2 as vr, a3 as fr, a4 as ur, a5 as lr, a6 as hr, a7 as dr, a8 as cr, a9 as pr, aa as mr, ab as yr, ac as br, ad as Sr, ae as gr, af as Pr } from "./charting-1abfb877.js";
|
|
6
6
|
|
|
@@ -4284,10 +4284,10 @@ const aa = class {
|
|
|
4284
4284
|
// #region Render Methods
|
|
4285
4285
|
render() {
|
|
4286
4286
|
return t("div", {
|
|
4287
|
-
key: "
|
|
4287
|
+
key: "def52250043e30ff84063a2fb709f968bf73edd2",
|
|
4288
4288
|
class: "container"
|
|
4289
4289
|
}, t("div", {
|
|
4290
|
-
key: "
|
|
4290
|
+
key: "fb4ed567e0cd828a56ae38f727b09b658a890623",
|
|
4291
4291
|
ref: r => this.chartContainer = r,
|
|
4292
4292
|
class: "chart-container",
|
|
4293
4293
|
role: "img",
|