q2-tecton-elements 1.70.2 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +556 -231
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-action-sheet.cjs.entry.js +4 -3
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +17 -8
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +8 -6
- package/dist/cjs/q2-card-image.cjs.entry.js +1 -1
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel.cjs.entry.js +108 -74
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +3 -3
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-message.cjs.entry.js +1 -1
- package/dist/cjs/q2-meter.cjs.entry.js +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +1 -1
- package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +1 -1
- package/dist/cjs/q2-pagination.cjs.entry.js +1 -1
- package/dist/cjs/q2-pill.cjs.entry.js +18 -2
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-search.cjs.entry.js +2 -2
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +32 -9
- package/dist/cjs/q2-stepper.cjs.entry.js +18 -4
- package/dist/cjs/q2-surface.cjs.entry.js +3 -3
- package/dist/cjs/q2-tab-container.cjs.entry.js +89 -20
- package/dist/cjs/q2-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +3 -3
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +26 -15
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +3 -3
- package/dist/collection/components/q2-action-group/q2-action-group.css +22 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +24 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +3 -2
- package/dist/collection/components/q2-avatar/q2-avatar.css +23 -1
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +13 -1
- package/dist/collection/components/q2-badge/q2-badge.css +26 -4
- package/dist/collection/components/q2-badge/test/q2-badge-test.vr.js +13 -1
- package/dist/collection/components/q2-btn/q2-btn.css +53 -9
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +19 -1
- package/dist/collection/components/q2-calendar/q2-calendar.css +26 -4
- package/dist/collection/components/q2-calendar/q2-calendar.js +7 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.css +22 -0
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +34 -1
- package/dist/collection/components/q2-card/q2-card.css +23 -1
- package/dist/collection/components/q2-card/test/q2-card-test.vr.js +10 -1
- package/dist/collection/components/q2-card-image/q2-card-image.css +23 -1
- package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js +9 -1
- package/dist/collection/components/q2-carousel/q2-carousel.css +29 -39
- package/dist/collection/components/q2-carousel/q2-carousel.js +122 -69
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +5 -4
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.css +22 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +22 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +22 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.css +24 -2
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +13 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +23 -1
- package/dist/collection/components/q2-checkbox/test/q2-checkbox-test.vr.js +11 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +23 -1
- package/dist/collection/components/q2-checkbox-group/test/q2-checkbox-group-test.vr.js +11 -1
- package/dist/collection/components/q2-currency/q2-currency.css +25 -3
- package/dist/collection/components/q2-currency/test/q2-currency-test.vr.js +13 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +24 -2
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +11 -1
- package/dist/collection/components/q2-detail/q2-detail.css +32 -10
- package/dist/collection/components/q2-dropdown/q2-dropdown.css +22 -0
- package/dist/collection/components/q2-dropdown-item/q2-dropdown-item.css +22 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.css +22 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +2 -2
- package/dist/collection/components/q2-example/q2-example.css +23 -0
- package/dist/collection/components/q2-file-picker/q2-file-picker.css +57 -10
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js +14 -1
- package/dist/collection/components/q2-form/q2-form.css +22 -0
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.css +25 -3
- package/dist/collection/components/q2-formatted-text/test/q2-formatted-text-test.vr.js +13 -1
- package/dist/collection/components/q2-icon/assets/standard.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/q2-icon.css +22 -0
- package/dist/collection/components/q2-input/q2-input.css +26 -4
- package/dist/collection/components/q2-input/q2-input.js +39 -7
- package/dist/collection/components/q2-input/test/q2-input-test.vr.js +36 -1
- package/dist/collection/components/q2-item/q2-item.css +46 -2
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +12 -1
- package/dist/collection/components/q2-legend/q2-legend.css +24 -2
- package/dist/collection/components/q2-link/q2-link.css +22 -0
- package/dist/collection/components/q2-list/q2-list.css +46 -2
- package/dist/collection/components/q2-list/test/q2-list-test.vr.js +12 -1
- package/dist/collection/components/q2-loading/q2-loading.css +23 -0
- package/dist/collection/components/q2-message/q2-message.css +22 -0
- package/dist/collection/components/q2-meter/q2-meter.css +25 -3
- package/dist/collection/components/q2-meter/test/q2-meter-test.vr.js +12 -1
- package/dist/collection/components/q2-modal/q2-modal.css +23 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +12 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.css +23 -1
- package/dist/collection/components/q2-option/q2-option.css +22 -0
- package/dist/collection/components/q2-option-list/q2-option-list.css +22 -0
- package/dist/collection/components/q2-otp/q2-otp.css +27 -4
- package/dist/collection/components/q2-otp/test/q2-otp-test.vr.js +12 -1
- package/dist/collection/components/q2-pagination/q2-pagination.css +22 -0
- package/dist/collection/components/q2-pill/q2-pill.css +42 -2
- package/dist/collection/components/q2-pill/q2-pill.js +18 -1
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +27 -1
- package/dist/collection/components/q2-popover/q2-popover.css +22 -7
- package/dist/collection/components/q2-radio/q2-radio.css +24 -2
- package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js +12 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.css +23 -1
- package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js +11 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.css +22 -0
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.css +22 -0
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-search/q2-search.css +22 -0
- package/dist/collection/components/q2-search/q2-search.js +1 -1
- package/dist/collection/components/q2-section/q2-section.css +23 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-section/test/q2-section-test.vr.js +11 -1
- package/dist/collection/components/q2-select/q2-select.css +22 -0
- package/dist/collection/components/q2-stepper/q2-stepper.css +38 -4
- package/dist/collection/components/q2-stepper/q2-stepper.js +17 -3
- package/dist/collection/components/q2-stepper/test/q2-stepper-test.vr.js +12 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.css +22 -0
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.css +39 -5
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +31 -8
- package/dist/collection/components/q2-stepper-vertical/test/q2-stepper-vertical-test.vr.js +16 -1
- package/dist/collection/components/q2-surface/q2-surface.css +71 -32
- package/dist/collection/components/q2-surface/q2-surface.js +7 -7
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +54 -0
- package/dist/collection/components/q2-tab-container/q2-tab-container.css +112 -6
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +114 -21
- package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.vr.js +24 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.css +22 -0
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.css +25 -2
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-tag/test/q2-tag-test.vr.js +21 -1
- package/dist/collection/components/q2-textarea/q2-textarea.css +24 -2
- package/dist/collection/components/q2-textarea/q2-textarea.js +2 -2
- package/dist/collection/components/q2-textarea/test/q2-textarea-test.vr.js +16 -1
- package/dist/collection/components/q2-toast/q2-toast.css +22 -0
- package/dist/collection/components/q2-tooltip/q2-tooltip.css +27 -19
- package/dist/collection/components/q2-tooltip/q2-tooltip.js +32 -21
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +13 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.css +22 -0
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/helpers.js +29 -6
- package/dist/collection/utils/test/vr-helpers.js +7 -0
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +21 -18
- package/dist/components/q2-avatar2.js +1 -1
- package/dist/components/q2-badge2.js +1 -1
- package/dist/components/q2-btn2.js +15 -15
- package/dist/components/q2-calendar.js +306 -301
- package/dist/components/q2-card-image.js +6 -6
- package/dist/components/q2-card.js +14 -14
- package/dist/components/q2-carousel-pane2.js +1 -1
- package/dist/components/q2-carousel.js +633 -585
- package/dist/components/q2-chart-area.js +1 -1
- package/dist/components/q2-chart-bar.js +70 -70
- package/dist/components/q2-chart-donut.js +1 -1
- package/dist/components/q2-checkbox-group.js +42 -42
- package/dist/components/q2-checkbox2.js +1 -1
- package/dist/components/q2-currency.js +32 -32
- package/dist/components/q2-data-table.js +34 -34
- package/dist/components/q2-detail.js +5 -5
- package/dist/components/q2-dropdown-item2.js +11 -11
- package/dist/components/q2-dropdown.js +17 -17
- package/dist/components/q2-editable-field.js +12 -11
- package/dist/components/q2-example.js +15 -15
- package/dist/components/q2-file-picker.js +25 -25
- package/dist/components/q2-form.js +11 -11
- package/dist/components/q2-formatted-text.js +5 -5
- package/dist/components/q2-icon2.js +1 -1
- package/dist/components/q2-input2.js +24 -13
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-legend2.js +56 -56
- package/dist/components/q2-link2.js +6 -6
- package/dist/components/q2-list2.js +22 -22
- package/dist/components/q2-loading2.js +1 -1
- package/dist/components/q2-message2.js +20 -20
- package/dist/components/q2-meter.js +1 -1
- package/dist/components/q2-modal.js +3 -3
- package/dist/components/q2-month-picker.js +10 -10
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +34 -34
- package/dist/components/q2-option2.js +13 -13
- package/dist/components/q2-otp.js +5 -5
- package/dist/components/q2-pagination.js +58 -58
- package/dist/components/q2-pill.js +66 -54
- package/dist/components/q2-popover2.js +1 -1
- package/dist/components/q2-radio-group.js +5 -5
- package/dist/components/q2-radio.js +14 -14
- package/dist/components/q2-relative-time.js +10 -10
- package/dist/components/q2-resize-observer2.js +9 -9
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +22 -22
- package/dist/components/q2-select2.js +1 -1
- package/dist/components/q2-stepper-pane.js +33 -33
- package/dist/components/q2-stepper-vertical.js +84 -60
- package/dist/components/q2-stepper.js +79 -65
- package/dist/components/q2-surface.js +14 -14
- package/dist/components/q2-tab-container.js +110 -55
- package/dist/components/q2-tab-pane.js +7 -7
- package/dist/components/q2-tag2.js +39 -39
- package/dist/components/q2-textarea.js +16 -16
- package/dist/components/q2-toast.js +22 -22
- package/dist/components/q2-tooltip2.js +26 -25
- package/dist/components/tecton-tab-pane.js +11 -11
- package/dist/esm/click-elsewhere_3.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group_2.entry.js +3 -3
- package/dist/esm/q2-action-sheet.entry.js +4 -3
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_2.entry.js +17 -8
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +8 -6
- package/dist/esm/q2-card-image.entry.js +1 -1
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +1 -1
- package/dist/esm/q2-carousel.entry.js +104 -70
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +1 -1
- package/dist/esm/q2-checkbox_2.entry.js +3 -3
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +1 -1
- package/dist/esm/q2-detail.entry.js +1 -1
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js +3 -3
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +1 -1
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-message.entry.js +1 -1
- package/dist/esm/q2-meter.entry.js +1 -1
- package/dist/esm/q2-modal.entry.js +1 -1
- package/dist/esm/q2-month-picker.entry.js +1 -1
- package/dist/esm/q2-optgroup.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +1 -1
- package/dist/esm/q2-pagination.entry.js +1 -1
- package/dist/esm/q2-pill.entry.js +18 -2
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio.entry.js +1 -1
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-search.entry.js +2 -2
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +32 -9
- package/dist/esm/q2-stepper.entry.js +18 -4
- package/dist/esm/q2-surface.entry.js +3 -3
- package/dist/esm/q2-tab-container.entry.js +89 -20
- package/dist/esm/q2-tab-pane.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +3 -3
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +27 -16
- package/dist/esm/tecton-tab-pane.entry.js +3 -3
- package/dist/q2-tecton-elements/assets/standard.symbol.svg +1 -1
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +42 -42
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +21 -18
- package/dist/q2-tecton-elements/q2-avatar.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +25 -15
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-calendar.entry.js +120 -115
- package/dist/q2-tecton-elements/q2-card-image.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-carousel.entry.js +572 -540
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +166 -166
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +190 -190
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-currency.entry.js +40 -40
- package/dist/q2-tecton-elements/q2-data-table.entry.js +64 -64
- package/dist/q2-tecton-elements/q2-detail.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +18 -17
- package/dist/q2-tecton-elements/q2-example.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-form.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-link_2.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-message.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-meter.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-modal.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +39 -39
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-option.entry.js +22 -22
- package/dist/q2-tecton-elements/q2-otp.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +11 -11
- package/dist/q2-tecton-elements/q2-pill.entry.js +30 -18
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.js +24 -24
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-search.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-section.entry.js +25 -25
- package/dist/q2-tecton-elements/q2-select.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +16 -16
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +77 -53
- package/dist/q2-tecton-elements/q2-stepper.entry.js +44 -30
- package/dist/q2-tecton-elements/q2-surface.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +109 -56
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-toast.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +25 -24
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +11 -11
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +14 -0
- package/dist/types/components/q2-input/q2-input.d.ts +7 -1
- package/dist/types/components/q2-pill/q2-pill.d.ts +2 -0
- package/dist/types/components/q2-stepper/q2-stepper.d.ts +1 -0
- package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +3 -2
- package/dist/types/components/q2-surface/q2-surface.d.ts +3 -3
- package/dist/types/components/q2-tab-container/q2-tab-container.d.ts +17 -3
- package/dist/types/components/q2-tooltip/q2-tooltip.d.ts +2 -1
- package/dist/types/components.d.ts +50 -21
- package/dist/types/utils/helpers.d.ts +16 -1
- package/dist/types/utils/test/vr-helpers.d.ts +11 -0
- package/package.json +12 -5
|
@@ -2658,7 +2658,7 @@ const _t = t(class extends e {
|
|
|
2658
2658
|
};
|
|
2659
2659
|
}
|
|
2660
2660
|
static get style() {
|
|
2661
|
-
return
|
|
2661
|
+
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{width:var(--tct-area-chart-width, 100%);height:var(--tct-area-chart-height, 100%);display:block}.container{width:100%;height:100%}.chart-container{width:100%;height:100%}';
|
|
2662
2662
|
}
|
|
2663
2663
|
}, [ 1, "q2-chart-area", {
|
|
2664
2664
|
alignChartName: [ 513, "align-chart-name" ],
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement as t, HTMLElement as e, h as a, transformTag as r }
|
|
|
2
2
|
|
|
3
3
|
import { o as i, l as s } from "./index2.js";
|
|
4
4
|
|
|
5
|
-
import { _ as n, J as o, S as h, ah as d, w as l, ai as c, o as u, a1 as
|
|
5
|
+
import { _ as n, J as o, S as h, ah as d, w as l, ai as c, o as u, a1 as p, h as f, i as v, u as m, s as g, I as b, aj as w, G as y, m as B, d as A, C as S, U as M, V as x, a as k, g as N, b as V, ak as U, t as C, A as P, al as L, am as D, an as z, ao as j, aa as E, af as O, ag as T, ab as I, ac as R, ad as W, ae as X } from "./charting.js";
|
|
6
6
|
|
|
7
7
|
import { c as Y, j as _, i as q, g as H, a as F, e as G, f as J, h as K } from "./dataSample.js";
|
|
8
8
|
|
|
@@ -36,21 +36,21 @@ var $ = /** @class */ function(t) {
|
|
|
36
36
|
// value of the axis as the coord
|
|
37
37
|
return void (s[a] = t.toGlobalCoord(t.getExtent()[h ? 1 : 0]));
|
|
38
38
|
for (var d = void 0, l = void 0, c = 1, u = 0; u < r.length; u++) {
|
|
39
|
-
var
|
|
39
|
+
var p = r[u].coord, f = u === r.length - 1 ? r[u - 1].tickValue + c : r[u].tickValue;
|
|
40
40
|
// The last item of tickCoords doesn't contain
|
|
41
41
|
// tickValue
|
|
42
|
-
if (
|
|
43
|
-
l =
|
|
42
|
+
if (f === o) {
|
|
43
|
+
l = p;
|
|
44
44
|
break;
|
|
45
45
|
}
|
|
46
|
-
if (
|
|
47
|
-
l = (
|
|
46
|
+
if (f < o) d = p; else if (null != d && f > o) {
|
|
47
|
+
l = (p + d) / 2;
|
|
48
48
|
break;
|
|
49
49
|
}
|
|
50
50
|
1 === u && (
|
|
51
51
|
// Here we assume the step of category axes is
|
|
52
52
|
// the same
|
|
53
|
-
c =
|
|
53
|
+
c = f - r[0].tickValue);
|
|
54
54
|
}
|
|
55
55
|
null == l && (d ? d && (
|
|
56
56
|
// targetTickId is larger than all tick ids in the
|
|
@@ -156,9 +156,9 @@ var tt = /** @class */ function(t) {
|
|
|
156
156
|
u || (
|
|
157
157
|
// Normalize angles
|
|
158
158
|
h = d - (l ? c : -c));
|
|
159
|
-
var
|
|
160
|
-
u ? (t.moveTo(
|
|
161
|
-
t.arc(a, r, s, h, d, !l), t.arc(v * o + a,
|
|
159
|
+
var p = Math.cos(h), f = Math.sin(h), v = Math.cos(d), m = Math.sin(d);
|
|
160
|
+
u ? (t.moveTo(p * i + a, f * i + r), t.arc(p * o + a, f * o + r, n, -Math.PI + h, h, !l)) : t.moveTo(p * s + a, f * s + r),
|
|
161
|
+
t.arc(a, r, s, h, d, !l), t.arc(v * o + a, m * o + r, n, d - 2 * Math.PI, d - Math.PI, !l),
|
|
162
162
|
0 !== i && t.arc(a, r, i, d, h, l);
|
|
163
163
|
}, SausagePath;
|
|
164
164
|
}(l);
|
|
@@ -197,7 +197,7 @@ var it = /** @class */ function(t) {
|
|
|
197
197
|
// Do not support progressive in normal mode.
|
|
198
198
|
this._incrementalRenderLarge(t, e);
|
|
199
199
|
}, BarView.prototype.eachRendered = function(t) {
|
|
200
|
-
|
|
200
|
+
f(this._progressiveEls || this.group, t);
|
|
201
201
|
}, BarView.prototype._updateDrawMode = function(t) {
|
|
202
202
|
var e = t.pipelineContext.large;
|
|
203
203
|
null != this._isLargeDraw && e === this._isLargeDraw || (this._isLargeDraw = e,
|
|
@@ -213,7 +213,7 @@ var it = /** @class */ function(t) {
|
|
|
213
213
|
};
|
|
214
214
|
}(t, h);
|
|
215
215
|
c && this._enableRealtimeSort(c, n, a);
|
|
216
|
-
var u = t.get("clip", !0) || c,
|
|
216
|
+
var u = t.get("clip", !0) || c, p = function(t, e) {
|
|
217
217
|
var a = t.getArea && t.getArea();
|
|
218
218
|
if (q(t, "cartesian2d")) {
|
|
219
219
|
var r = t.getBaseAxis();
|
|
@@ -231,7 +231,7 @@ var it = /** @class */ function(t) {
|
|
|
231
231
|
s.removeClipPath();
|
|
232
232
|
// We don't use clipPath in normal mode because we needs a perfect animation
|
|
233
233
|
// And don't want the label are clipped.
|
|
234
|
-
var
|
|
234
|
+
var f = t.get("roundCap", !0), B = t.get("showBackground", !0), A = t.getModel("backgroundStyle"), S = A.get("borderRadius") || 0, k = [], N = this._backgroundEls, V = r && r.isInitSort, U = r && "changeAxisOrder" === r.type;
|
|
235
235
|
function createBackground(t) {
|
|
236
236
|
var e = lt[h.type](n, t), a = function(t, e, a) {
|
|
237
237
|
var r = "polar" === t.type ? M : x;
|
|
@@ -241,21 +241,21 @@ var it = /** @class */ function(t) {
|
|
|
241
241
|
z2: 0
|
|
242
242
|
});
|
|
243
243
|
}(h, i, e);
|
|
244
|
-
return a.useStyle(
|
|
244
|
+
return a.useStyle(A.getItemStyle()),
|
|
245
245
|
// Only cartesian2d support borderRadius.
|
|
246
|
-
"cartesian2d" === h.type ? a.setShape("r",
|
|
246
|
+
"cartesian2d" === h.type ? a.setShape("r", S) : a.setShape("cornerRadius", S), k[t] = a,
|
|
247
247
|
a;
|
|
248
248
|
}
|
|
249
249
|
n.diff(o).add((function(e) {
|
|
250
250
|
var a = n.getItemModel(e), r = lt[h.type](n, e, a);
|
|
251
251
|
// If dataZoom in filteMode: 'empty', the baseValue can be set as NaN in "axisProxy".
|
|
252
|
-
if (
|
|
252
|
+
if (B && createBackground(e), n.hasValue(e) && dt[h.type](r)) {
|
|
253
253
|
var o = !1;
|
|
254
254
|
u && (
|
|
255
255
|
// Clip will modify the layout params.
|
|
256
256
|
// And return a boolean to determine if the shape are fully clipped.
|
|
257
|
-
o = st[h.type](
|
|
258
|
-
var
|
|
257
|
+
o = st[h.type](p, r));
|
|
258
|
+
var m = nt[h.type](t, n, e, r, i, l, d.model, !1, f);
|
|
259
259
|
c && (
|
|
260
260
|
/**
|
|
261
261
|
* Force label animation because even if the element is
|
|
@@ -265,29 +265,29 @@ var it = /** @class */ function(t) {
|
|
|
265
265
|
* the label will be the final value and doesn't have label
|
|
266
266
|
* animation.
|
|
267
267
|
*/
|
|
268
|
-
|
|
269
|
-
V ?
|
|
268
|
+
m.forceLabelAnimation = !0), updateStyle(m, n, e, a, r, t, i, "polar" === h.type),
|
|
269
|
+
V ? m.attr({
|
|
270
270
|
shape: r
|
|
271
|
-
}) : c ? updateRealtimeAnimation(c, l,
|
|
271
|
+
}) : c ? updateRealtimeAnimation(c, l, m, r, e, i, !1, !1) : v(m, {
|
|
272
272
|
shape: r
|
|
273
|
-
}, t, e), n.setItemGraphicEl(e,
|
|
273
|
+
}, t, e), n.setItemGraphicEl(e, m), s.add(m), m.ignore = o;
|
|
274
274
|
}
|
|
275
275
|
})).update((function(e, a) {
|
|
276
276
|
var r = n.getItemModel(e), v = lt[h.type](n, e, r);
|
|
277
|
-
if (
|
|
277
|
+
if (B) {
|
|
278
278
|
var w = void 0;
|
|
279
|
-
0 === N.length ? w = createBackground(a) : ((w = N[a]).useStyle(
|
|
279
|
+
0 === N.length ? w = createBackground(a) : ((w = N[a]).useStyle(A.getItemStyle()),
|
|
280
280
|
// Only cartesian2d support borderRadius.
|
|
281
|
-
"cartesian2d" === h.type ? w.setShape("r",
|
|
282
|
-
var
|
|
283
|
-
|
|
281
|
+
"cartesian2d" === h.type ? w.setShape("r", S) : w.setShape("cornerRadius", S), k[e] = w);
|
|
282
|
+
var y = lt[h.type](n, e), M = createBackgroundShape(i, y, h);
|
|
283
|
+
m(w, {
|
|
284
284
|
shape: M
|
|
285
285
|
}, l, e);
|
|
286
286
|
}
|
|
287
287
|
var x = o.getItemGraphicEl(a);
|
|
288
288
|
if (n.hasValue(e) && dt[h.type](v)) {
|
|
289
289
|
var C = !1;
|
|
290
|
-
if (u && (C = st[h.type](
|
|
290
|
+
if (u && (C = st[h.type](p, v)) && s.remove(x), x ? g(x) : x = nt[h.type](t, n, e, v, i, l, d.model, !!x, f),
|
|
291
291
|
c && (x.forceLabelAnimation = !0), U) {
|
|
292
292
|
var P = x.getTextContent();
|
|
293
293
|
if (P) {
|
|
@@ -307,7 +307,7 @@ var it = /** @class */ function(t) {
|
|
|
307
307
|
else updateStyle(x, n, e, r, v, t, i, "polar" === h.type);
|
|
308
308
|
V ? x.attr({
|
|
309
309
|
shape: v
|
|
310
|
-
}) : c ? updateRealtimeAnimation(c, l, x, v, e, i, !0, U) :
|
|
310
|
+
}) : c ? updateRealtimeAnimation(c, l, x, v, e, i, !0, U) : m(x, {
|
|
311
311
|
shape: v
|
|
312
312
|
}, t, e, null), n.setItemGraphicEl(e, x), x.ignore = C, s.add(x);
|
|
313
313
|
} else s.remove(x);
|
|
@@ -315,7 +315,7 @@ var it = /** @class */ function(t) {
|
|
|
315
315
|
var a = o.getItemGraphicEl(e);
|
|
316
316
|
a && w(a, t, e);
|
|
317
317
|
})).execute();
|
|
318
|
-
var C = this._backgroundGroup || (this._backgroundGroup = new
|
|
318
|
+
var C = this._backgroundGroup || (this._backgroundGroup = new y);
|
|
319
319
|
C.removeAll();
|
|
320
320
|
for (var P = 0; P < k.length; ++P) C.add(k[P]);
|
|
321
321
|
s.add(C), this._backgroundEls = k, this._data = n;
|
|
@@ -358,7 +358,7 @@ var it = /** @class */ function(t) {
|
|
|
358
358
|
// If NaN, it will be treated as min val.
|
|
359
359
|
return e.mappedValue - t.mappedValue;
|
|
360
360
|
})), {
|
|
361
|
-
ordinalNumbers:
|
|
361
|
+
ordinalNumbers: B(r, (function(t) {
|
|
362
362
|
return t.ordinalNumber;
|
|
363
363
|
}))
|
|
364
364
|
};
|
|
@@ -408,12 +408,12 @@ var it = /** @class */ function(t) {
|
|
|
408
408
|
var e = this.group, a = this._data;
|
|
409
409
|
t && t.isAnimationEnabled() && a && !this._isLargeDraw ? (this._removeBackground(),
|
|
410
410
|
this._backgroundEls = [], a.eachItemGraphicEl((function(e) {
|
|
411
|
-
w(e, t,
|
|
411
|
+
w(e, t, A(e).dataIndex);
|
|
412
412
|
}))) : e.removeAll(), this._data = null, this._isFirstFrame = !0;
|
|
413
413
|
}, BarView.prototype._removeBackground = function() {
|
|
414
414
|
this.group.remove(this._backgroundGroup), this._backgroundGroup = null;
|
|
415
415
|
}, BarView.type = "bar", BarView;
|
|
416
|
-
}(
|
|
416
|
+
}(S), st = {
|
|
417
417
|
cartesian2d: function(t, e) {
|
|
418
418
|
var a = e.width < 0 ? -1 : 1, r = e.height < 0 ? -1 : 1;
|
|
419
419
|
// Needs positive width and height
|
|
@@ -468,59 +468,59 @@ var it = /** @class */ function(t) {
|
|
|
468
468
|
return function(e, r, i) {
|
|
469
469
|
var s = r.position;
|
|
470
470
|
if (!s || s instanceof Array) return c(e, r, i);
|
|
471
|
-
var n = t(s), o = null != r.distance ? r.distance : 5, h = this.shape, d = h.cx, l = h.cy, u = h.r,
|
|
471
|
+
var n = t(s), o = null != r.distance ? r.distance : 5, h = this.shape, d = h.cx, l = h.cy, u = h.r, p = h.r0, f = (u + p) / 2, v = h.startAngle, m = h.endAngle, g = (v + m) / 2, b = a ? Math.abs(u - p) / 2 : 0, w = Math.cos, y = Math.sin, B = d + u * w(v), A = l + u * y(v), S = "left", M = "top";
|
|
472
472
|
switch (n) {
|
|
473
473
|
case "startArc":
|
|
474
|
-
|
|
474
|
+
B = d + (p - o) * w(g), A = l + (p - o) * y(g), S = "center", M = "top";
|
|
475
475
|
break;
|
|
476
476
|
|
|
477
477
|
case "insideStartArc":
|
|
478
|
-
|
|
478
|
+
B = d + (p + o) * w(g), A = l + (p + o) * y(g), S = "center", M = "bottom";
|
|
479
479
|
break;
|
|
480
480
|
|
|
481
481
|
case "startAngle":
|
|
482
|
-
|
|
483
|
-
|
|
482
|
+
B = d + f * w(v) + adjustAngleDistanceX(v, o + b, !1), A = l + f * y(v) + adjustAngleDistanceY(v, o + b, !1),
|
|
483
|
+
S = "right", M = "middle";
|
|
484
484
|
break;
|
|
485
485
|
|
|
486
486
|
case "insideStartAngle":
|
|
487
|
-
|
|
488
|
-
|
|
487
|
+
B = d + f * w(v) + adjustAngleDistanceX(v, -o + b, !1), A = l + f * y(v) + adjustAngleDistanceY(v, -o + b, !1),
|
|
488
|
+
S = "left", M = "middle";
|
|
489
489
|
break;
|
|
490
490
|
|
|
491
491
|
case "middle":
|
|
492
|
-
|
|
492
|
+
B = d + f * w(g), A = l + f * y(g), S = "center", M = "middle";
|
|
493
493
|
break;
|
|
494
494
|
|
|
495
495
|
case "endArc":
|
|
496
|
-
|
|
496
|
+
B = d + (u + o) * w(g), A = l + (u + o) * y(g), S = "center", M = "bottom";
|
|
497
497
|
break;
|
|
498
498
|
|
|
499
499
|
case "insideEndArc":
|
|
500
|
-
|
|
500
|
+
B = d + (u - o) * w(g), A = l + (u - o) * y(g), S = "center", M = "top";
|
|
501
501
|
break;
|
|
502
502
|
|
|
503
503
|
case "endAngle":
|
|
504
|
-
|
|
505
|
-
|
|
504
|
+
B = d + f * w(m) + adjustAngleDistanceX(m, o + b, !0), A = l + f * y(m) + adjustAngleDistanceY(m, o + b, !0),
|
|
505
|
+
S = "left", M = "middle";
|
|
506
506
|
break;
|
|
507
507
|
|
|
508
508
|
case "insideEndAngle":
|
|
509
|
-
|
|
510
|
-
|
|
509
|
+
B = d + f * w(m) + adjustAngleDistanceX(m, -o + b, !0), A = l + f * y(m) + adjustAngleDistanceY(m, -o + b, !0),
|
|
510
|
+
S = "right", M = "middle";
|
|
511
511
|
break;
|
|
512
512
|
|
|
513
513
|
default:
|
|
514
514
|
return c(e, r, i);
|
|
515
515
|
}
|
|
516
|
-
return (e = e || {}).x =
|
|
516
|
+
return (e = e || {}).x = B, e.y = A, e.align = S, e.verticalAlign = M, e;
|
|
517
517
|
};
|
|
518
518
|
}(u, {
|
|
519
519
|
isRoundCap: d === et
|
|
520
520
|
}), s) {
|
|
521
|
-
var
|
|
522
|
-
l.shape[
|
|
523
|
-
shape:
|
|
521
|
+
var p = i ? "r" : "endAngle", f = {};
|
|
522
|
+
l.shape[p] = i ? r.r0 : r.startAngle, f[p] = r[p], (o ? m : v)(l, {
|
|
523
|
+
shape: f
|
|
524
524
|
}, s);
|
|
525
525
|
}
|
|
526
526
|
return l;
|
|
@@ -544,11 +544,11 @@ function updateRealtimeAnimation(t, e, a, r, i, s, n, o) {
|
|
|
544
544
|
}), o ||
|
|
545
545
|
// Keep the original growth animation if only axis order changed.
|
|
546
546
|
// Not start a new animation.
|
|
547
|
-
(n ?
|
|
547
|
+
(n ? m : v)(a, {
|
|
548
548
|
shape: h
|
|
549
549
|
}, e, i, null);
|
|
550
550
|
var l = e ? t.baseAxis.model : null;
|
|
551
|
-
(n ?
|
|
551
|
+
(n ? m : v)(a, {
|
|
552
552
|
shape: d
|
|
553
553
|
}, l, i);
|
|
554
554
|
}
|
|
@@ -626,20 +626,20 @@ function updateStyle(t, e, a, r, i, s, n, h) {
|
|
|
626
626
|
k(l, c), t.setShape(l);
|
|
627
627
|
}
|
|
628
628
|
} else {
|
|
629
|
-
var
|
|
630
|
-
t.setShape("r",
|
|
629
|
+
var f = r.get([ "itemStyle", "borderRadius" ]) || 0;
|
|
630
|
+
t.setShape("r", f);
|
|
631
631
|
}
|
|
632
632
|
t.useStyle(d);
|
|
633
633
|
var v = r.getShallow("cursor");
|
|
634
634
|
v && t.attr("cursor", v);
|
|
635
|
-
var
|
|
636
|
-
V(t,
|
|
635
|
+
var m = h ? n ? i.r >= i.r0 ? "endArc" : "startArc" : i.endAngle >= i.startAngle ? "endAngle" : "startAngle" : n ? i.height >= 0 ? "bottom" : "top" : i.width >= 0 ? "right" : "left", g = N(r);
|
|
636
|
+
V(t, g, {
|
|
637
637
|
labelFetcher: s,
|
|
638
638
|
labelDataIndex: a,
|
|
639
639
|
defaultText: H(s.getData(), a),
|
|
640
640
|
inheritColor: d.fill,
|
|
641
641
|
defaultOpacity: d.opacity,
|
|
642
|
-
defaultOutsidePosition:
|
|
642
|
+
defaultOutsidePosition: m
|
|
643
643
|
});
|
|
644
644
|
var b = t.getTextContent();
|
|
645
645
|
if (h && b) {
|
|
@@ -649,7 +649,7 @@ function updateStyle(t, e, a, r, i, s, n, h) {
|
|
|
649
649
|
// user-set rotation
|
|
650
650
|
t.setTextConfig({
|
|
651
651
|
rotation: r
|
|
652
|
-
}); else if (
|
|
652
|
+
}); else if (p(e))
|
|
653
653
|
// user-set position, use 0 as auto rotation
|
|
654
654
|
t.setTextConfig({
|
|
655
655
|
rotation: 0
|
|
@@ -690,13 +690,13 @@ function updateStyle(t, e, a, r, i, s, n, h) {
|
|
|
690
690
|
rotation: l
|
|
691
691
|
});
|
|
692
692
|
}
|
|
693
|
-
}(t, "outside" === w ?
|
|
693
|
+
}(t, "outside" === w ? m : w, createPolarPositionMapping(n), r.get([ "label", "rotate" ]));
|
|
694
694
|
}
|
|
695
|
-
U(b,
|
|
695
|
+
U(b, g, s.getRawValue(a), (function(t) {
|
|
696
696
|
return F(e, t);
|
|
697
697
|
}));
|
|
698
|
-
var
|
|
699
|
-
C(t,
|
|
698
|
+
var y = r.getModel([ "emphasis" ]);
|
|
699
|
+
C(t, y.get("focus"), y.get("blurScope"), y.get("disabled")), P(t, r), function(t) {
|
|
700
700
|
return null != t.startAngle && null != t.endAngle && t.startAngle === t.endAngle;
|
|
701
701
|
}(i) && (t.style.fill = "none", t.style.stroke = "none", o(t.states, (function(t) {
|
|
702
702
|
t.style && (t.style.fill = t.style.stroke = "none");
|
|
@@ -746,7 +746,7 @@ function createLarge(t, e, a, r) {
|
|
|
746
746
|
// Stroke is rendered first to avoid overlapping with fill
|
|
747
747
|
c.style.stroke = null,
|
|
748
748
|
// Enable tooltip and user mouse/touch event handlers.
|
|
749
|
-
|
|
749
|
+
A(c).seriesIndex = t.seriesIndex, t.get("silent") || (c.on("mousedown", ut), c.on("mousemove", ut)),
|
|
750
750
|
a && a.push(c);
|
|
751
751
|
}
|
|
752
752
|
|
|
@@ -760,7 +760,7 @@ var ut = L((function(t) {
|
|
|
760
760
|
}
|
|
761
761
|
return -1;
|
|
762
762
|
}(this, t.offsetX, t.offsetY);
|
|
763
|
-
|
|
763
|
+
A(this).dataIndex = e >= 0 ? e : null;
|
|
764
764
|
}), 30, !1);
|
|
765
765
|
|
|
766
766
|
function createBackgroundShape(t, e, a) {
|
|
@@ -814,7 +814,7 @@ E([ O, function(t) {
|
|
|
814
814
|
}));
|
|
815
815
|
}, T, Z, J, K ]);
|
|
816
816
|
|
|
817
|
-
const
|
|
817
|
+
const pt = t(class extends e {
|
|
818
818
|
constructor(t) {
|
|
819
819
|
super(), !1 !== t && this.__registerHost(), this.__attachShadow(),
|
|
820
820
|
/** An array of objects that contain the data to be displayed. */
|
|
@@ -1019,7 +1019,7 @@ const ft = t(class extends e {
|
|
|
1019
1019
|
};
|
|
1020
1020
|
}
|
|
1021
1021
|
static get style() {
|
|
1022
|
-
return
|
|
1022
|
+
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{width:var(--tct-bar-chart-width, 100%);height:var(--tct-bar-chart-height, 100%);display:block}.container{width:100%;height:100%}.chart-container{width:100%;height:100%}';
|
|
1023
1023
|
}
|
|
1024
1024
|
}, [ 1, "q2-chart-bar", {
|
|
1025
1025
|
alignChartName: [ 513, "align-chart-name" ],
|
|
@@ -1087,11 +1087,11 @@ const ft = t(class extends e {
|
|
|
1087
1087
|
} ]
|
|
1088
1088
|
} ]);
|
|
1089
1089
|
|
|
1090
|
-
const
|
|
1090
|
+
const ft = pt, defineCustomElement = function() {
|
|
1091
1091
|
if ("undefined" == typeof customElements) return;
|
|
1092
1092
|
[ "q2-chart-bar" ].forEach((t => {
|
|
1093
|
-
if ("q2-chart-bar" === t) customElements.get(r(t)) || customElements.define(r(t),
|
|
1093
|
+
if ("q2-chart-bar" === t) customElements.get(r(t)) || customElements.define(r(t), pt);
|
|
1094
1094
|
}));
|
|
1095
1095
|
};
|
|
1096
1096
|
|
|
1097
|
-
export {
|
|
1097
|
+
export { ft as Q2ChartBar, defineCustomElement }
|
|
@@ -3128,7 +3128,7 @@ const Be = t(class extends e {
|
|
|
3128
3128
|
};
|
|
3129
3129
|
}
|
|
3130
3130
|
static get style() {
|
|
3131
|
-
return
|
|
3131
|
+
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{position:relative;width:100%;display:block}.container{aspect-ratio:1/1;width:100%;display:flex;justify-content:center;align-items:center;position:relative}.chart-container{width:100%;height:100%;--comp-color-1:var(--tct-chart-donut-color-1, var(--t-chart-donut-color-1, var(--t-accent-1, #e05252)));--comp-color-2:var(--tct-chart-donut-color-2, var(--t-chart-donut-color-2, var(--t-accent-2, #e09952)));--comp-color-3:var(--tct-chart-donut-color-3, var(--t-chart-donut-color-3, var(--t-accent-3, #e0e052)));--comp-color-4:var(--tct-chart-donut-color-4, var(--t-chart-donut-color-4, var(--t-accent-4, #99e052)));--comp-color-5:var(--tct-chart-donut-color-5, var(--t-chart-donut-color-5, var(--t-accent-5, #52e052)));--comp-color-6:var(--tct-chart-donut-color-6, var(--t-chart-donut-color-6, var(--t-accent-6, #52e099)));--comp-color-7:var(--tct-chart-donut-color-7, var(--t-chart-donut-color-7, var(--t-accent-7, #52e0e0)));--comp-color-8:var(--tct-chart-donut-color-8, var(--t-chart-donut-color-8, var(--t-accent-8, #5299e0)));--comp-color-9:var(--tct-chart-donut-color-9, var(--t-chart-donut-color-9, var(--t-accent-9, #5252e0)));--comp-color-10:var(--tct-chart-donut-color-10, var(--t-chart-donut-color-10, var(--t-accent-10, #9952e0)));--comp-color-11:var(--tct-chart-donut-color-11, var(--t-chart-donut-color-11, var(--t-accent-11, #e052e0)));--comp-color-12:var(--tct-chart-donut-color-12, var(--t-chart-donut-color-12, var(--t-accent-12, #e05299)))}.chart-container:focus-visible{box-shadow:var(--tct-chart-donut-focus-visible-box-shadow, var(--const-double-focus-ring))}button{--comp-button-padding:var(--tct-chart-donut-button-padding, var(--tct-chart-donut-button-vertical-padding, var(--t-chart-donut-button-vertical-padding, var(--app-scale-1x, 5px))) 0);transition:box-shadow var(--tct-chart-donut-button-tween, var(--t-chart-donut-button-tween, var(--app-tween-1, 0.2s ease)));padding:var(--comp-button-padding)}button:active{box-shadow:var(--const-double-focus-ring), var(--tct-chart-donut-button-hover-box-shadow, var(--t-chart-donut-button-hover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}button:hover{box-shadow:var(--tct-chart-donut-button-hover-box-shadow, var(--t-chart-donut-button-hover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}button:focus-visible{box-shadow:var(--const-double-focus-ring), var(--tct-chart-donut-button-hover-box-shadow, var(--t-chart-donut-button-hover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}.center-card-container{position:absolute;top:50%;transform:translateY(-50%);padding:var(--tct-chart-donut-button-container-padding, var(--t-chart-donut-button-container-padding, var(--app-scale-1x, 5px)));border-radius:50%}.center-card{height:100%;width:100%;text-align:center;color:var(--tct-chart-donut-text-color, var(--t-chart-donut-text-color, inherit));margin-inline:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:50%}.center-card:is(button){cursor:pointer;background:var(--tct-chart-donut-button-background, transparent);border:0}.center-card:is(button):hover{background:var(--tct-chart-donut-button-hover-background, transparent)}.center-card:is(button):active{background:var(--tct-chart-donut-button-active-background, transparent)}.center-card:is(button):focus-visible{background:var(--tct-chart-donut-button-focus-background, transparent)}q2-icon{--tct-icon-size:var(--tct-chart-donut-icon-size, var(--t-chart-donut-icon-size, 26px));--comp-icon-margin:var(--tct-chart-donut-icon-margin, 0 0 var(--tct-chart-donut-icon-margin-bottom, var(--t-chart-donut-icon-margin-bottom, var(--app-scale-1x, 5px))));margin:var(--comp-icon-margin)}.name{font-size:var(--tct-chart-donut-name-font-size, var(--t-chart-donut-name-font-size, var(--const-px-14, 14px)))}.value{font-size:var(--tct-chart-donut-value-font-size, var(--t-chart-donut-value-font-size, var(--const-px-21, 21px)))}figure{margin:0}.legend{margin-top:var(--tct-chart-donut-legend-margin-top, var(--app-scale-0x, 0))}';
|
|
3132
3132
|
}
|
|
3133
3133
|
}, [ 1, "q2-chart-donut", {
|
|
3134
3134
|
chartName: [ 513, "chart-name" ],
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { proxyCustomElement as
|
|
1
|
+
import { proxyCustomElement as t, HTMLElement as e, createEvent as r, h as o, Fragment as a, transformTag as i } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
import { c as n, r as
|
|
3
|
+
import { c as n, r as s } from "./index2.js";
|
|
4
4
|
|
|
5
|
-
import { m as
|
|
5
|
+
import { m as c } from "./mirror-emit.js";
|
|
6
6
|
|
|
7
7
|
import { h as l } from "./component.js";
|
|
8
8
|
|
|
9
|
-
import { d
|
|
9
|
+
import { d } from "./q2-icon2.js";
|
|
10
10
|
|
|
11
|
-
const
|
|
12
|
-
constructor(
|
|
13
|
-
super(), !1 !==
|
|
11
|
+
const h = t(class extends e {
|
|
12
|
+
constructor(t) {
|
|
13
|
+
super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.change = r(this, "change", 7),
|
|
14
14
|
this.tctChange = r(this, "tctChange", 7),
|
|
15
15
|
// #region Own Properties
|
|
16
|
-
this._id = "checkbox-group-" + n(), this.onInnerCheckboxChange =
|
|
17
|
-
|
|
18
|
-
const
|
|
16
|
+
this._id = "checkbox-group-" + n(), this.onInnerCheckboxChange = t => {
|
|
17
|
+
t.stopImmediatePropagation();
|
|
18
|
+
const e = {};
|
|
19
19
|
setTimeout((() => {
|
|
20
|
-
this.checkboxElements.forEach((
|
|
21
|
-
t
|
|
22
|
-
})),
|
|
20
|
+
this.checkboxElements.forEach((t => {
|
|
21
|
+
e[t.value] = !!t.checked;
|
|
22
|
+
})), c(this, [ "change", "tctChange" ], e);
|
|
23
23
|
}), 0);
|
|
24
24
|
}, this.onMutationObserved = () => {
|
|
25
25
|
this.updateValue(), this.updateDisabled(), this.updateReadonly();
|
|
@@ -34,16 +34,16 @@ const d = e(class extends t {
|
|
|
34
34
|
this.updateReadonly(), l(this.hostElement, "q2-checkbox") || console.warn("q2-checkbox-group allows other elements as children but only expects and interacts with q2-checkbox", this);
|
|
35
35
|
}
|
|
36
36
|
componentDidLoad() {
|
|
37
|
-
const
|
|
38
|
-
|
|
37
|
+
const t = new MutationObserver(this.onMutationObserved);
|
|
38
|
+
t.observe(this.hostElement, {
|
|
39
39
|
childList: !0,
|
|
40
40
|
subtree: !0
|
|
41
|
-
}), this.mutationObserver =
|
|
41
|
+
}), this.mutationObserver = t, this.onMutationObserved();
|
|
42
42
|
}
|
|
43
43
|
// #endregion
|
|
44
44
|
// #region Listeners
|
|
45
|
-
onHostElementChange(
|
|
46
|
-
|
|
45
|
+
onHostElementChange(t) {
|
|
46
|
+
t.target !== this.hostElement || this.hostElement.onchange || (this.value = t.detail);
|
|
47
47
|
}
|
|
48
48
|
// #endregion
|
|
49
49
|
// #region Public Methods API
|
|
@@ -52,10 +52,10 @@ const d = e(class extends t {
|
|
|
52
52
|
*
|
|
53
53
|
* @testOnly
|
|
54
54
|
*/
|
|
55
|
-
setValue(
|
|
56
|
-
const
|
|
57
|
-
this.checkboxElements.forEach((
|
|
58
|
-
|
|
55
|
+
setValue(t) {
|
|
56
|
+
const e = new Set(Array.isArray(t) ? t : [ t ]);
|
|
57
|
+
this.checkboxElements.forEach((t => {
|
|
58
|
+
e.has(t.value) && t.click();
|
|
59
59
|
}));
|
|
60
60
|
}
|
|
61
61
|
// #endregion
|
|
@@ -86,35 +86,35 @@ const d = e(class extends t {
|
|
|
86
86
|
}, o("slot", null));
|
|
87
87
|
}
|
|
88
88
|
updateDisabled() {
|
|
89
|
-
const
|
|
90
|
-
this.checkboxElements.forEach((
|
|
91
|
-
|
|
89
|
+
const t = this.disabled;
|
|
90
|
+
this.checkboxElements.forEach((e => {
|
|
91
|
+
e.groupDisabled = t;
|
|
92
92
|
}));
|
|
93
93
|
}
|
|
94
94
|
updateReadonly() {
|
|
95
|
-
const
|
|
96
|
-
this.checkboxElements.forEach((
|
|
97
|
-
|
|
95
|
+
const t = this.readonly;
|
|
96
|
+
this.checkboxElements.forEach((e => {
|
|
97
|
+
e.slotReadonly = t;
|
|
98
98
|
}));
|
|
99
99
|
}
|
|
100
100
|
updateValue() {
|
|
101
|
-
this.readonly || this.checkboxElements.forEach((
|
|
102
|
-
this.protectedValue.hasOwnProperty(
|
|
101
|
+
this.readonly || this.checkboxElements.forEach((t => {
|
|
102
|
+
this.protectedValue.hasOwnProperty(t.value) && (t.checked = this.value[t.value]);
|
|
103
103
|
}));
|
|
104
104
|
}
|
|
105
105
|
// #endregion
|
|
106
106
|
// #region Render Methods
|
|
107
107
|
render() {
|
|
108
|
-
const
|
|
108
|
+
const t = this.label || this.optional || this.readonly, e = t && !this.hideLabel || this.hasError;
|
|
109
109
|
return o(a, {
|
|
110
110
|
key: "4e9159cc489b8c2ed9adf3c8263355994364780e"
|
|
111
|
-
},
|
|
111
|
+
}, e && o("div", {
|
|
112
112
|
key: "85c21ddc03d2abaf4e78b1922dcf3705ec673fc9",
|
|
113
113
|
class: "label-row"
|
|
114
|
-
},
|
|
114
|
+
}, t && !this.hideLabel && o("div", {
|
|
115
115
|
key: "071eb3359b048a5e7f89f7c525362e065707a8fe",
|
|
116
116
|
class: "group-legend"
|
|
117
|
-
},
|
|
117
|
+
}, s(this)), this.hasError && o("q2-icon", {
|
|
118
118
|
key: "76a591fb52671d43351322faa488608128320183",
|
|
119
119
|
type: "error",
|
|
120
120
|
"test-id": "iconError"
|
|
@@ -122,10 +122,10 @@ const d = e(class extends t {
|
|
|
122
122
|
key: "0bcc9a5419df7ab0bf2abfc6189983e6cf5bd779",
|
|
123
123
|
onChange: this.onInnerCheckboxChange,
|
|
124
124
|
"aria-invalid": this.hasError ? "" + this.hasError : void 0
|
|
125
|
-
},
|
|
125
|
+
}, t && o("legend", {
|
|
126
126
|
key: "c6a5f3ec8289091b6d113a36d2fed9b83a5c7088",
|
|
127
127
|
class: "sr-only"
|
|
128
|
-
},
|
|
128
|
+
}, s(this)), this.inputDom()));
|
|
129
129
|
}
|
|
130
130
|
get hostElement() {
|
|
131
131
|
return this;
|
|
@@ -144,7 +144,7 @@ const d = e(class extends t {
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
static get style() {
|
|
147
|
-
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{--comp-default-checkbox-group-margin:var(--tct-checkbox-group-margin-top, var(--t-checkbox-group-margin-top, var(--app-scale-5x, 25px))) 0 var(--tct-checkbox-group-margin-bottom, var(--t-checkbox-group-margin-bottom, var(--app-scale-5x, 25px)));display:block;margin:var(--tct-checkbox-group-margin, var(--comp-default-checkbox-group-margin))}fieldset{padding:var(--tct-checkbox-group-fieldset-padding, 0);margin:0;border:0;position:relative}.label-row{display:grid;grid-template-columns:1fr 24px;grid-template-areas:"label icon";column-gap:var(--tct-checkbox-group-label-column-gap, var(--app-scale-2x, 10px));color:var(--tct-checkbox-group-label-font-color, inherit);font-size:var(--tct-checkbox-group-label-font-size, inherit);font-weight:var(--tct-checkbox-group-label-font-weight, 600);text-transform:var(--tct-checkbox-group-label-text-transform, none);letter-spacing:var(--tct-checkbox-group-label-letter-spacing, inherit)}.label-row q2-icon{grid-area:icon;margin-top:-2px;margin-bottom:-2px}.group-legend{font-weight:600}legend.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}.slot-container{--comp-default-container-margin:var(--app-scale-1x, 5px) 0;margin:var(--tct-checkbox-group-container-margin, var(--comp-default-container-margin));padding:var(--tct-checkbox-group-container-padding, var(--app-scale-1x, 5px));border-width:var(--tct-checkbox-group-border-width, 1px);border-color:transparent;border-style:solid;border-radius:var(--tct-checkbox-group-border-radius, var(--app-border-radius-1, 4px))}:host([has-error]) .slot-container{border-color:var(--tct-checkbox-group-error-border-color, var(--const-stoplight-alert, #d20a0a))}:host([has-error=false]) .slot-container{border-color:transparent}.optional-tag{margin-left:var(--tct-checkbox-group-label-optional-margin-left, var(--app-scale-1x, 5px));color:var(--tct-checkbox-group-label-optional-color, var(--t-checkbox-group-label-optional-color, var(--tct-a11y-color, var(--t-a11y-color, var(--tct-a11y-gray-color, var(--t-a11y-gray-color, var(--tct-gray-7, var(--t-gray-7, var(--tct-gray-d1, var(--t-gray-d1, var(--app-gray-d1, rgba(77, 77, 77, 0.77))))))))))));font-size:var(--tct-checkbox-group-label-optional-font-size, 12px);font-weight:var(--tct-checkbox-group-label-optional-font-weight, 400)}.flexed{margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.flexed.left{justify-content:left}';
|
|
147
|
+
return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{--comp-default-checkbox-group-margin:var(--tct-checkbox-group-margin-top, var(--t-checkbox-group-margin-top, var(--app-scale-5x, 25px))) 0 var(--tct-checkbox-group-margin-bottom, var(--t-checkbox-group-margin-bottom, var(--app-scale-5x, 25px)));display:block;margin:var(--tct-checkbox-group-margin, var(--comp-default-checkbox-group-margin))}fieldset{padding:var(--tct-checkbox-group-fieldset-padding, 0);margin:0;border:0;position:relative}.label-row{display:grid;grid-template-columns:1fr 24px;grid-template-areas:"label icon";column-gap:var(--tct-checkbox-group-label-column-gap, var(--app-scale-2x, 10px));color:var(--tct-checkbox-group-label-font-color, inherit);font-size:var(--tct-checkbox-group-label-font-size, inherit);font-weight:var(--tct-checkbox-group-label-font-weight, 600);text-transform:var(--tct-checkbox-group-label-text-transform, none);letter-spacing:var(--tct-checkbox-group-label-letter-spacing, inherit)}.label-row q2-icon{grid-area:icon;margin-top:-2px;margin-bottom:-2px}.group-legend{font-weight:600}legend.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0}.slot-container{--comp-default-container-margin:var(--app-scale-1x, 5px) 0;margin:var(--tct-checkbox-group-container-margin, var(--comp-default-container-margin));padding:var(--tct-checkbox-group-container-padding, var(--app-scale-1x, 5px));border-width:var(--tct-checkbox-group-border-width, 1px);border-color:transparent;border-style:solid;border-radius:var(--tct-checkbox-group-border-radius, var(--app-border-radius-1, 4px))}:host([has-error]) .slot-container{border-color:var(--tct-checkbox-group-error-border-color, var(--const-stoplight-alert, #d20a0a))}:host([has-error=false]) .slot-container{border-color:transparent}.optional-tag{margin-left:var(--tct-checkbox-group-label-optional-margin-left, var(--app-scale-1x, 5px));color:var(--tct-checkbox-group-label-optional-color, var(--t-checkbox-group-label-optional-color, var(--tct-a11y-color, var(--t-a11y-color, var(--tct-a11y-gray-color, var(--t-a11y-gray-color, var(--tct-gray-7, var(--t-gray-7, var(--tct-gray-d1, var(--t-gray-d1, var(--app-gray-d1, rgba(77, 77, 77, 0.77))))))))))));font-size:var(--tct-checkbox-group-label-optional-font-size, var(--const-px-12, 12px));font-weight:var(--tct-checkbox-group-label-optional-font-weight, 400)}.flexed{margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.flexed.left{justify-content:left}';
|
|
148
148
|
}
|
|
149
149
|
}, [ 257, "q2-checkbox-group", {
|
|
150
150
|
disabled: [ 516 ],
|
|
@@ -167,16 +167,16 @@ const d = e(class extends t {
|
|
|
167
167
|
} ]
|
|
168
168
|
} ]);
|
|
169
169
|
|
|
170
|
-
const p =
|
|
170
|
+
const p = h, defineCustomElement = function() {
|
|
171
171
|
if ("undefined" == typeof customElements) return;
|
|
172
|
-
[ "q2-checkbox-group", "q2-icon" ].forEach((
|
|
173
|
-
switch (
|
|
172
|
+
[ "q2-checkbox-group", "q2-icon" ].forEach((t => {
|
|
173
|
+
switch (t) {
|
|
174
174
|
case "q2-checkbox-group":
|
|
175
|
-
customElements.get(i(
|
|
175
|
+
customElements.get(i(t)) || customElements.define(i(t), h);
|
|
176
176
|
break;
|
|
177
177
|
|
|
178
178
|
case "q2-icon":
|
|
179
|
-
customElements.get(i(
|
|
179
|
+
customElements.get(i(t)) || d();
|
|
180
180
|
}
|
|
181
181
|
}));
|
|
182
182
|
};
|