q2-tecton-elements 1.55.3 → 1.56.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 +15910 -11843
- package/dist/cjs/{index-905f4c87.js → index-99667782.js} +5 -1
- package/dist/cjs/index-99667782.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 +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +56 -55
- package/dist/cjs/q2-badge_7.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/cjs/q2-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/q2-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +2 -2
- package/dist/cjs/q2-currency.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +2 -2
- package/dist/cjs/q2-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/q2-editable-field.cjs.entry.js +2 -2
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +20 -7
- package/dist/cjs/q2-file-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +2 -2
- package/dist/cjs/q2-form.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid-area.cjs.entry.js +133 -0
- package/dist/cjs/q2-grid-area.cjs.entry.js.map +1 -0
- package/dist/cjs/q2-grid.cjs.entry.js +109 -0
- package/dist/cjs/q2-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/q2-item_3.cjs.entry.js +4 -4
- package/dist/cjs/q2-item_3.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list_2.cjs.entry.js +18 -6
- package/dist/cjs/q2-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +3 -3
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-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/collection-manifest.json +2 -0
- package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.css +8 -8
- package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-calendar.js +1 -1
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +1 -1
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +7 -3
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +1 -1
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +0 -5
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +1 -1
- package/dist/collection/components/q2-currency/q2-currency.css +2 -2
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +1 -2
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +1 -1
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +1 -1
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.css +11 -2
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +52 -12
- 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 +25 -0
- 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 +107 -18
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.spec.js.map +1 -1
- package/dist/collection/components/q2-form/q2-form.css +0 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-form/test/q2-form-test.e2e.js +24 -4
- package/dist/collection/components/q2-form/test/q2-form-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-grid/q2-grid.css +98 -0
- package/dist/collection/components/q2-grid/q2-grid.js +807 -0
- package/dist/collection/components/q2-grid/q2-grid.js.map +1 -0
- package/dist/collection/components/q2-grid/test/q2-grid.e2e.js +218 -0
- package/dist/collection/components/q2-grid/test/q2-grid.e2e.js.map +1 -0
- package/dist/collection/components/q2-grid-area/q2-grid-area.css +110 -0
- package/dist/collection/components/q2-grid-area/q2-grid-area.js +1109 -0
- package/dist/collection/components/q2-grid-area/q2-grid-area.js.map +1 -0
- package/dist/collection/components/q2-grid-area/test/q2-grid-area.e2e.js +196 -0
- package/dist/collection/components/q2-grid-area/test/q2-grid-area.e2e.js.map +1 -0
- package/dist/collection/components/q2-icon/assets/brand.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/browsersos.symbol.svg +1 -0
- package/dist/collection/components/q2-icon/assets/cards.symbol.svg +1 -1
- package/dist/{q2-tecton-elements/assets/system.symbol.svg → collection/components/q2-icon/assets/devices.symbol.svg} +1 -1
- package/dist/collection/components/q2-icon/assets/icon-file-list.json +1 -1
- package/dist/collection/components/q2-icon/assets/icon-map.json +1 -1
- package/dist/collection/components/q2-icon/assets/legacy.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/assets/mobile.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/q2-icon.css +7 -1
- package/dist/collection/components/q2-icon/q2-icon.js +3 -2
- package/dist/collection/components/q2-icon/q2-icon.js.map +1 -1
- package/dist/collection/components/q2-icon/test/q2-icon-test.spec.js +3 -3
- package/dist/collection/components/q2-icon/test/q2-icon-test.spec.js.map +1 -1
- package/dist/collection/components/q2-input/q2-input.js +1 -1
- package/dist/collection/components/q2-input/test/q2-input-test.e2e.js +5 -3
- package/dist/collection/components/q2-input/test/q2-input-test.e2e.js.map +1 -1
- package/dist/collection/components/q2-item/q2-item.css +3 -3
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.js +1 -1
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +1 -1
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pill/q2-pill.js +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +40 -5
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js +2 -2
- package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js.map +1 -1
- package/dist/collection/components/q2-radio/q2-radio.js +1 -1
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +1 -1
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +2 -2
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/helpers.js +15 -0
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/index.js +3 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +4 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/q2-action-group2.js +1 -1
- package/dist/components/q2-action-sheet.js +1 -1
- package/dist/components/q2-avatar2.js +2 -2
- package/dist/components/q2-avatar2.js.map +1 -1
- package/dist/components/q2-calendar.js +1 -1
- package/dist/components/q2-carousel-pane.js +2 -2
- package/dist/components/q2-carousel.js +1 -1
- 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-checkbox-group.js +2 -2
- package/dist/components/q2-checkbox-group.js.map +1 -1
- package/dist/components/q2-checkbox2.js +2 -2
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-currency.js +2 -2
- package/dist/components/q2-currency.js.map +1 -1
- package/dist/components/q2-data-table.js +1 -1
- package/dist/components/q2-data-table.js.map +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-dropdown.js +1 -1
- package/dist/components/q2-editable-field.js +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-file-picker.js +20 -6
- package/dist/components/q2-file-picker.js.map +1 -1
- package/dist/components/q2-form.js +2 -2
- package/dist/components/q2-form.js.map +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-grid-area.d.ts +11 -0
- package/dist/components/q2-grid-area.js +190 -0
- package/dist/components/q2-grid-area.js.map +1 -0
- package/dist/components/q2-grid.d.ts +11 -0
- package/dist/components/q2-grid.js +154 -0
- package/dist/components/q2-grid.js.map +1 -0
- package/dist/components/q2-icon2.js +52 -51
- package/dist/components/q2-icon2.js.map +1 -1
- package/dist/components/q2-input2.js +1 -1
- package/dist/components/q2-item2.js +2 -2
- package/dist/components/q2-item2.js.map +1 -1
- package/dist/components/q2-legend2.js +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-message2.js +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-month-picker.js +2 -2
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-option-list2.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 +17 -5
- package/dist/components/q2-popover2.js.map +1 -1
- package/dist/components/q2-radio-group.js +1 -1
- package/dist/components/q2-radio.js +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 +3 -3
- package/dist/components/q2-stepper-pane.js +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/{index-f2a66217.js → index-c215e8ef.js} +5 -2
- package/dist/esm/index-c215e8ef.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 +2 -2
- package/dist/esm/q2-avatar.entry.js.map +1 -1
- package/dist/esm/q2-badge_7.entry.js +56 -55
- package/dist/esm/q2-badge_7.entry.js.map +1 -1
- package/dist/esm/q2-calendar.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/esm/q2-checkbox-group.entry.js.map +1 -1
- package/dist/esm/q2-checkbox.entry.js +3 -3
- package/dist/esm/q2-checkbox.entry.js.map +1 -1
- package/dist/esm/q2-currency.entry.js +2 -2
- package/dist/esm/q2-currency.entry.js.map +1 -1
- package/dist/esm/q2-data-table.entry.js +2 -2
- package/dist/esm/q2-data-table.entry.js.map +1 -1
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +1 -1
- package/dist/esm/q2-dropdown.entry.js +2 -2
- package/dist/esm/q2-editable-field.entry.js +2 -2
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +20 -7
- package/dist/esm/q2-file-picker.entry.js.map +1 -1
- package/dist/esm/q2-form.entry.js +2 -2
- package/dist/esm/q2-form.entry.js.map +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-grid-area.entry.js +129 -0
- package/dist/esm/q2-grid-area.entry.js.map +1 -0
- package/dist/esm/q2-grid.entry.js +105 -0
- package/dist/esm/q2-grid.entry.js.map +1 -0
- package/dist/esm/q2-item_3.entry.js +4 -4
- package/dist/esm/q2-item_3.entry.js.map +1 -1
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +3 -3
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option-list_2.entry.js +18 -6
- package/dist/esm/q2-option-list_2.entry.js.map +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-resize-observer.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +3 -3
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-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/q2-tecton-elements/assets/brand.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/browsersos.symbol.svg +1 -0
- package/dist/q2-tecton-elements/assets/cards.symbol.svg +1 -1
- package/dist/{collection/components/q2-icon/assets/system.symbol.svg → q2-tecton-elements/assets/devices.symbol.svg} +1 -1
- package/dist/q2-tecton-elements/assets/icon-file-list.json +1 -1
- package/dist/q2-tecton-elements/assets/icon-map.json +1 -1
- package/dist/q2-tecton-elements/assets/legacy.symbol.svg +1 -1
- package/dist/q2-tecton-elements/assets/mobile.symbol.svg +1 -1
- package/dist/q2-tecton-elements/{index-f2a66217.js → index-c215e8ef.js} +6 -2
- package/dist/q2-tecton-elements/index-c215e8ef.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 +9 -9
- package/dist/q2-tecton-elements/q2-avatar.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-avatar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +70 -68
- package/dist/q2-tecton-elements/q2-badge_7.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-carousel.entry.js +2 -2
- 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 +11 -11
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-checkbox.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-currency.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-data-table.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-data-table.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +31 -20
- package/dist/q2-tecton-elements/q2-file-picker.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-form.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +135 -0
- package/dist/q2-tecton-elements/q2-grid-area.entry.js.map +1 -0
- package/dist/q2-tecton-elements/q2-grid.entry.js +114 -0
- package/dist/q2-tecton-elements/q2-grid.entry.js.map +1 -0
- package/dist/q2-tecton-elements/q2-item_3.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-item_3.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +30 -30
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +41 -31
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +25 -25
- package/dist/q2-tecton-elements/q2-pill.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +32 -32
- package/dist/q2-tecton-elements/q2-radio.entry.js +9 -9
- 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 +6 -6
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +12 -12
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +37 -37
- package/dist/q2-tecton-elements/q2-stepper.entry.js +22 -22
- package/dist/q2-tecton-elements/q2-tag.entry.js +6 -6
- 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/components/q2-file-picker/q2-file-picker.d.ts +31 -17
- package/dist/types/components/q2-grid/q2-grid.d.ts +157 -0
- package/dist/types/components/q2-grid-area/q2-grid-area.d.ts +168 -0
- package/dist/types/components/q2-icon/q2-icon.d.ts +1 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +23 -0
- package/dist/types/components.d.ts +698 -6
- package/dist/types/util.d.ts +2 -2
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cjs/index-905f4c87.js.map +0 -1
- package/dist/esm/index-f2a66217.js.map +0 -1
- package/dist/q2-tecton-elements/index-f2a66217.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as t, c as e, h as i, g as r } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { o as a, i as n, l as o, d as s } from "./index-
|
|
3
|
+
import { o as a, i as n, l as o, d as s } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
5
|
-
import { br as l, W as c, _ as h, ay as u, bs as v, bt as d, b5 as f, bu as p, D as g, bv as
|
|
5
|
+
import { br as l, W as c, _ as h, ay as u, bs as v, bt as d, b5 as f, bu as p, D as g, bv as m, x as b, a0 as w, I as y, bw as x, aM as S, bx as T, by as M, j as L, bz as C, E as I, bA as A, bB as P, bC as k, bD as V, d as D, bE as z, bF as O, bG as N, bH as R, bI as B, bJ as H, bK as W, bL as U, a as F, bM as j, bN as $, bO as X, bP as G, bQ as Y, bj as E, aK as _, bR as K, a$ as q, bS as J, bT as Z, bU as Q, a9 as tt, b0 as et, bV as it, aA as rt, bW as at, a4 as nt, m as ot, a6 as st, o as lt, y as ct, bX as ht, bY as ut, b as vt, bZ as dt, b2 as ft, b_ as pt, b$ as gt, c0 as mt, c as bt, ai as wt, G as yt, aB as xt, b6 as St, aC as Tt, c1 as Mt, b1 as Lt, u as Ct, c2 as It, aw as At, a3 as Pt, R as kt, bm as Vt, i as Dt, s as zt, z as Ot, t as Nt, g as Rt, be as Bt, c3 as Ht, V as Wt, b8 as Ut, C as Ft, ak as jt, am as $t, c4 as Xt, c5 as Gt, c6 as Yt, S as Et, c7 as _t, ab as Kt, aa as qt, ac as Jt, ad as Zt } from "./charting-1abfb877.js";
|
|
6
6
|
|
|
7
7
|
import { l as Qt, a as te, g as ee, s as ie, b as re, i as ae } from "./sectorHelper-183cedd0.js";
|
|
8
8
|
|
|
@@ -162,7 +162,7 @@ function assembleArrow(t, e, i) {
|
|
|
162
162
|
}
|
|
163
163
|
var r = t.get("backgroundColor");
|
|
164
164
|
var a = t.get("borderWidth");
|
|
165
|
-
e =
|
|
165
|
+
e = b(e);
|
|
166
166
|
var n = mirrorPos(i);
|
|
167
167
|
var o = Math.max(Math.round(a) * 1.5, 6);
|
|
168
168
|
var s = "";
|
|
@@ -337,7 +337,7 @@ var ve = /** @class */ function() {
|
|
|
337
337
|
// in and out shape too frequently
|
|
338
338
|
var e = r.handler;
|
|
339
339
|
var i = r.painter.getViewportRoot();
|
|
340
|
-
|
|
340
|
+
m(i, t, true);
|
|
341
341
|
e.dispatch("mousemove", t);
|
|
342
342
|
}
|
|
343
343
|
};
|
|
@@ -384,7 +384,7 @@ var ve = /** @class */ function() {
|
|
|
384
384
|
if (!i.innerHTML) {
|
|
385
385
|
r.display = "none";
|
|
386
386
|
} else {
|
|
387
|
-
r.cssText = ue + assembleCssText(t, !this._firstShow, this._longHide) + assembleTransform(a[0], a[1], true) + ("border-color:" +
|
|
387
|
+
r.cssText = ue + assembleCssText(t, !this._firstShow, this._longHide) + assembleTransform(a[0], a[1], true) + ("border-color:" + b(e) + ";") + (t.get("extraCssText") || "") + (";pointer-events:" + (this._enterable ? "auto" : "none"));
|
|
388
388
|
}
|
|
389
389
|
this._show = true;
|
|
390
390
|
this._firstShow = false;
|
|
@@ -662,7 +662,7 @@ var ge = new c({
|
|
|
662
662
|
}
|
|
663
663
|
});
|
|
664
664
|
|
|
665
|
-
var
|
|
665
|
+
var me = /** @class */ function(t) {
|
|
666
666
|
h(TooltipView, t);
|
|
667
667
|
function TooltipView() {
|
|
668
668
|
var e = t !== null && t.apply(this, arguments) || this;
|
|
@@ -974,13 +974,13 @@ var be = /** @class */ function(t) {
|
|
|
974
974
|
f.axisValueLabel = n;
|
|
975
975
|
// Pre-create marker style for makers. Users can assemble richText
|
|
976
976
|
// text in `formatter` callback and use those markers style.
|
|
977
|
-
f.marker = h.makeTooltipMarker("item",
|
|
977
|
+
f.marker = h.makeTooltipMarker("item", b(f.color), o);
|
|
978
978
|
var p = U(v.formatTooltip(d, true, null));
|
|
979
979
|
var g = p.frag;
|
|
980
980
|
if (g) {
|
|
981
|
-
var
|
|
982
|
-
u.blocks.push(
|
|
983
|
-
valueFormatter:
|
|
981
|
+
var m = buildTooltipModel([ v ], r).get("valueFormatter");
|
|
982
|
+
u.blocks.push(m ? F({
|
|
983
|
+
valueFormatter: m
|
|
984
984
|
}, g) : g);
|
|
985
985
|
}
|
|
986
986
|
if (p.text) {
|
|
@@ -1036,14 +1036,14 @@ var be = /** @class */ function(t) {
|
|
|
1036
1036
|
var g = new R;
|
|
1037
1037
|
// Pre-create marker style for makers. Users can assemble richText
|
|
1038
1038
|
// text in `formatter` callback and use those markers style.
|
|
1039
|
-
p.marker = g.makeTooltipMarker("item",
|
|
1040
|
-
var
|
|
1039
|
+
p.marker = g.makeTooltipMarker("item", b(p.color), u);
|
|
1040
|
+
var m = U(s.formatTooltip(l, false, c));
|
|
1041
1041
|
var w = d.get("order");
|
|
1042
1042
|
var y = d.get("valueFormatter");
|
|
1043
|
-
var x =
|
|
1043
|
+
var x = m.frag;
|
|
1044
1044
|
var S = x ? j(y ? F({
|
|
1045
1045
|
valueFormatter: y
|
|
1046
|
-
}, x) : x, g, u, w, r.get("useUTC"), d.get("textStyle")) :
|
|
1046
|
+
}, x) : x, g, u, w, r.get("useUTC"), d.get("textStyle")) : m.text;
|
|
1047
1047
|
var T = "item_" + s.name + "_" + l;
|
|
1048
1048
|
this._showOrMove(d, (function() {
|
|
1049
1049
|
this._showTooltipContent(d, S, p, T, t.offsetX, t.offsetY, t.position, t.target, g);
|
|
@@ -1134,11 +1134,11 @@ var be = /** @class */ function(t) {
|
|
|
1134
1134
|
if (h) {
|
|
1135
1135
|
if (f(h)) {
|
|
1136
1136
|
var p = t.ecModel.get("useUTC");
|
|
1137
|
-
var
|
|
1138
|
-
var
|
|
1137
|
+
var m = w(i) ? i[0] : i;
|
|
1138
|
+
var b = m && m.axisType && m.axisType.indexOf("time") >= 0;
|
|
1139
1139
|
u = h;
|
|
1140
|
-
if (
|
|
1141
|
-
u = G(
|
|
1140
|
+
if (b) {
|
|
1141
|
+
u = G(m.axisValue, u, p);
|
|
1142
1142
|
}
|
|
1143
1143
|
u = Y(u, i, true);
|
|
1144
1144
|
} else if (g(h)) {
|
|
@@ -1210,20 +1210,20 @@ var be = /** @class */ function(t) {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
// Specify tooltip position by string 'top' 'bottom' 'left' 'right' around graphic element
|
|
1212
1212
|
else if (f(e) && o) {
|
|
1213
|
-
var
|
|
1214
|
-
i =
|
|
1215
|
-
r =
|
|
1213
|
+
var m = calcTooltipPosition(e, v, c, t.get("borderWidth"));
|
|
1214
|
+
i = m[0];
|
|
1215
|
+
r = m[1];
|
|
1216
1216
|
} else {
|
|
1217
|
-
var
|
|
1218
|
-
i =
|
|
1219
|
-
r =
|
|
1217
|
+
var m = refixTooltipPosition(i, r, a, s, l, h ? null : 20, u ? null : 20);
|
|
1218
|
+
i = m[0];
|
|
1219
|
+
r = m[1];
|
|
1220
1220
|
}
|
|
1221
1221
|
h && (i -= isCenterAlign(h) ? c[0] / 2 : h === "right" ? c[0] : 0);
|
|
1222
1222
|
u && (r -= isCenterAlign(u) ? c[1] / 2 : u === "bottom" ? c[1] : 0);
|
|
1223
1223
|
if (shouldTooltipConfine(t)) {
|
|
1224
|
-
var
|
|
1225
|
-
i =
|
|
1226
|
-
r =
|
|
1224
|
+
var m = confineTooltipPosition(i, r, a, s, l);
|
|
1225
|
+
i = m[0];
|
|
1226
|
+
r = m[1];
|
|
1227
1227
|
}
|
|
1228
1228
|
a.moveTo(i, r);
|
|
1229
1229
|
};
|
|
@@ -1445,12 +1445,12 @@ function isCenterAlign(t) {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
|
-
const
|
|
1448
|
+
const be = me;
|
|
1449
1449
|
|
|
1450
1450
|
function install$4(t) {
|
|
1451
1451
|
tt(et);
|
|
1452
1452
|
t.registerComponentModel(oe);
|
|
1453
|
-
t.registerComponentView(
|
|
1453
|
+
t.registerComponentView(be);
|
|
1454
1454
|
/**
|
|
1455
1455
|
* @action
|
|
1456
1456
|
* @property {string} type
|
|
@@ -1848,10 +1848,10 @@ var Me = /** @class */ function(t) {
|
|
|
1848
1848
|
* `data.getVisual('style')` may be the color from the register
|
|
1849
1849
|
* in series. For example, for line series,
|
|
1850
1850
|
*/ var g = d.getVisual("style");
|
|
1851
|
-
var
|
|
1852
|
-
|
|
1851
|
+
var m = this._createItem(v, o, n, a, e, t, f, g, p, c, r);
|
|
1852
|
+
m.on("click", xe(dispatchSelectAction, o, null, r, h)).on("mouseover", xe(dispatchHighlightAction, v.name, null, r, h)).on("mouseout", xe(dispatchDownplayAction, v.name, null, r, h));
|
|
1853
1853
|
if (i.ssr) {
|
|
1854
|
-
|
|
1854
|
+
m.eachChild((function(t) {
|
|
1855
1855
|
var e = D(t);
|
|
1856
1856
|
e.seriesIndex = v.seriesIndex;
|
|
1857
1857
|
e.dataIndex = n;
|
|
@@ -1937,12 +1937,12 @@ var Me = /** @class */ function(t) {
|
|
|
1937
1937
|
var v = t.visualDrawType;
|
|
1938
1938
|
var d = a.get("itemWidth");
|
|
1939
1939
|
var p = a.get("itemHeight");
|
|
1940
|
-
var
|
|
1941
|
-
var
|
|
1940
|
+
var m = a.isSelected(e);
|
|
1941
|
+
var b = r.get("symbolRotate");
|
|
1942
1942
|
var w = r.get("symbolKeepAspect");
|
|
1943
1943
|
var y = r.get("icon");
|
|
1944
1944
|
l = y || l || "roundRect";
|
|
1945
|
-
var x = getLegendStyle(l, r, o, s, v,
|
|
1945
|
+
var x = getLegendStyle(l, r, o, s, v, m, u);
|
|
1946
1946
|
var S = new Te;
|
|
1947
1947
|
var T = r.getModel("textStyle");
|
|
1948
1948
|
if (g(t.getLegendIcon) && (!y || y === "inherit")) {
|
|
@@ -1951,14 +1951,14 @@ var Me = /** @class */ function(t) {
|
|
|
1951
1951
|
itemWidth: d,
|
|
1952
1952
|
itemHeight: p,
|
|
1953
1953
|
icon: l,
|
|
1954
|
-
iconRotate:
|
|
1954
|
+
iconRotate: b,
|
|
1955
1955
|
itemStyle: x.itemStyle,
|
|
1956
1956
|
lineStyle: x.lineStyle,
|
|
1957
1957
|
symbolKeepAspect: w
|
|
1958
1958
|
}));
|
|
1959
1959
|
} else {
|
|
1960
1960
|
// Use default legend icon policy for most series
|
|
1961
|
-
var M = y === "inherit" && t.getData().getVisual("symbol") ?
|
|
1961
|
+
var M = y === "inherit" && t.getData().getVisual("symbol") ? b === "inherit" ? t.getData().getVisual("symbolRotate") : b : 0;
|
|
1962
1962
|
// No rotation for no icon
|
|
1963
1963
|
S.add(getDefaultLegendIcon({
|
|
1964
1964
|
itemWidth: d,
|
|
@@ -1979,7 +1979,7 @@ var Me = /** @class */ function(t) {
|
|
|
1979
1979
|
} else if (g(A)) {
|
|
1980
1980
|
P = A(e);
|
|
1981
1981
|
}
|
|
1982
|
-
var k =
|
|
1982
|
+
var k = m ? T.getTextColor() : r.get("inactiveColor");
|
|
1983
1983
|
S.add(new I({
|
|
1984
1984
|
style: ft(T, {
|
|
1985
1985
|
text: P,
|
|
@@ -2052,14 +2052,14 @@ var Me = /** @class */ function(t) {
|
|
|
2052
2052
|
s.y = u[1];
|
|
2053
2053
|
o.x = c[0];
|
|
2054
2054
|
o.y = c[1];
|
|
2055
|
-
var
|
|
2055
|
+
var m = {
|
|
2056
2056
|
x: 0,
|
|
2057
2057
|
y: 0
|
|
2058
2058
|
};
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
return
|
|
2059
|
+
m[f] = l[f] + v + h[f];
|
|
2060
|
+
m[p] = Math.max(l[p], h[p]);
|
|
2061
|
+
m[g] = Math.min(0, h[g] + u[1 - d]);
|
|
2062
|
+
return m;
|
|
2063
2063
|
} else {
|
|
2064
2064
|
o.x = c[0];
|
|
2065
2065
|
o.y = c[1];
|
|
@@ -2095,7 +2095,7 @@ function getLegendStyle(t, e, i, r, a, n, o) {
|
|
|
2095
2095
|
var l = s.getItemStyle();
|
|
2096
2096
|
var c = t.lastIndexOf("empty", 0) === 0 ? "fill" : "stroke";
|
|
2097
2097
|
var h = s.getShallow("decal");
|
|
2098
|
-
l.decal = !h || h === "inherit" ? r.decal :
|
|
2098
|
+
l.decal = !h || h === "inherit" ? r.decal : mt(h, o);
|
|
2099
2099
|
if (l.fill === "inherit") {
|
|
2100
2100
|
/**
|
|
2101
2101
|
* Series with visualDrawType as 'stroke' should have
|
|
@@ -2146,7 +2146,7 @@ function getLegendStyle(t, e, i, r, a, n, o) {
|
|
|
2146
2146
|
|
|
2147
2147
|
function getDefaultLegendIcon(t) {
|
|
2148
2148
|
var e = t.icon || "roundRect";
|
|
2149
|
-
var i =
|
|
2149
|
+
var i = bt(e, 0, 0, t.itemWidth, t.itemHeight, t.itemStyle.fill, t.symbolKeepAspect);
|
|
2150
2150
|
i.setStyle(t.itemStyle);
|
|
2151
2151
|
i.rotation = (t.iconRotate || 0) * Math.PI / 180;
|
|
2152
2152
|
i.setOrigin([ t.itemWidth / 2, t.itemHeight / 2 ]);
|
|
@@ -2492,9 +2492,9 @@ var Ve = /** @class */ function(t) {
|
|
|
2492
2492
|
if (n === "end") {
|
|
2493
2493
|
f[s] += g[l] + v;
|
|
2494
2494
|
} else {
|
|
2495
|
-
var
|
|
2496
|
-
f[s] -=
|
|
2497
|
-
g[c] -=
|
|
2495
|
+
var m = d[l] + v;
|
|
2496
|
+
f[s] -= m;
|
|
2497
|
+
g[c] -= m;
|
|
2498
2498
|
}
|
|
2499
2499
|
g[l] += d[l] + v;
|
|
2500
2500
|
f[1 - s] += g[u] + g[h] / 2 - d[h] / 2;
|
|
@@ -2528,25 +2528,25 @@ var Ve = /** @class */ function(t) {
|
|
|
2528
2528
|
}
|
|
2529
2529
|
// Layout container group based on 0.
|
|
2530
2530
|
var g = [ 0, 0 ];
|
|
2531
|
-
var
|
|
2532
|
-
var
|
|
2531
|
+
var m = [ -d.x, -d.y ];
|
|
2532
|
+
var b = Lt(t.get("pageButtonGap", true), t.get("itemGap", true));
|
|
2533
2533
|
// Place containerGroup and controllerGroup and contentGroup.
|
|
2534
2534
|
if (f) {
|
|
2535
2535
|
var w = t.get("pageButtonPosition", true);
|
|
2536
2536
|
// controller is on the right / bottom.
|
|
2537
2537
|
if (w === "end") {
|
|
2538
|
-
|
|
2538
|
+
m[r] += i[a] - d[a];
|
|
2539
2539
|
}
|
|
2540
2540
|
// controller is on the left / top.
|
|
2541
2541
|
else {
|
|
2542
|
-
g[r] += d[a] +
|
|
2542
|
+
g[r] += d[a] + b;
|
|
2543
2543
|
}
|
|
2544
2544
|
}
|
|
2545
2545
|
// Always align controller to content as 'middle'.
|
|
2546
|
-
|
|
2546
|
+
m[1 - r] += v[n] / 2 - d[n] / 2;
|
|
2547
2547
|
l.setPosition(p);
|
|
2548
2548
|
h.setPosition(g);
|
|
2549
|
-
u.setPosition(
|
|
2549
|
+
u.setPosition(m);
|
|
2550
2550
|
// Calculate `mainRect` and set `clipPath`.
|
|
2551
2551
|
// mainRect should not be calculated by `this.group.getBoundingRect()`
|
|
2552
2552
|
// for sake of the overflow.
|
|
@@ -2558,14 +2558,14 @@ var Ve = /** @class */ function(t) {
|
|
|
2558
2558
|
y[a] = f ? i[a] : v[a];
|
|
2559
2559
|
y[n] = Math.max(v[n], d[n]);
|
|
2560
2560
|
// `containerRect[yx] + containerPos[1 - orientIdx]` is 0.
|
|
2561
|
-
y[o] = Math.min(0, d[o] +
|
|
2561
|
+
y[o] = Math.min(0, d[o] + m[1 - r]);
|
|
2562
2562
|
h.__rectSize = i[a];
|
|
2563
2563
|
if (f) {
|
|
2564
2564
|
var x = {
|
|
2565
2565
|
x: 0,
|
|
2566
2566
|
y: 0
|
|
2567
2567
|
};
|
|
2568
|
-
x[a] = Math.max(i[a] - d[a] -
|
|
2568
|
+
x[a] = Math.max(i[a] - d[a] - b, 0);
|
|
2569
2569
|
x[n] = y[n];
|
|
2570
2570
|
h.setClipPath(new c({
|
|
2571
2571
|
shape: x
|
|
@@ -2665,16 +2665,16 @@ var Ve = /** @class */ function(t) {
|
|
|
2665
2665
|
// and we can not get page index directly by division.
|
|
2666
2666
|
// (4) The window is to narrow to contain more than
|
|
2667
2667
|
// one item, we should make sure that the page can be fliped.
|
|
2668
|
-
for (var f = s + 1, p = d, g = d,
|
|
2669
|
-
|
|
2668
|
+
for (var f = s + 1, p = d, g = d, m = null; f <= h; ++f) {
|
|
2669
|
+
m = getItemInfo(l[f]);
|
|
2670
2670
|
if (
|
|
2671
2671
|
// Half of the last item is out of the window.
|
|
2672
|
-
!
|
|
2672
|
+
!m && g.e > p.s + r || m && !intersect(m, p.s)) {
|
|
2673
2673
|
if (g.i > p.i) {
|
|
2674
2674
|
p = g;
|
|
2675
2675
|
} else {
|
|
2676
2676
|
// e.g., when page size is smaller than item size.
|
|
2677
|
-
p =
|
|
2677
|
+
p = m;
|
|
2678
2678
|
}
|
|
2679
2679
|
if (p) {
|
|
2680
2680
|
if (v.pageNextDataIndex == null) {
|
|
@@ -2683,14 +2683,14 @@ var Ve = /** @class */ function(t) {
|
|
|
2683
2683
|
++v.pageCount;
|
|
2684
2684
|
}
|
|
2685
2685
|
}
|
|
2686
|
-
g =
|
|
2686
|
+
g = m;
|
|
2687
2687
|
}
|
|
2688
|
-
for (var f = s - 1, p = d, g = d,
|
|
2689
|
-
|
|
2688
|
+
for (var f = s - 1, p = d, g = d, m = null; f >= -1; --f) {
|
|
2689
|
+
m = getItemInfo(l[f]);
|
|
2690
2690
|
if (
|
|
2691
2691
|
// If the the end item does not intersect with the window started
|
|
2692
2692
|
// from the current item, a page can be settled.
|
|
2693
|
-
(!
|
|
2693
|
+
(!m || !intersect(g, m.s)) && p.i < g.i) {
|
|
2694
2694
|
g = p;
|
|
2695
2695
|
if (v.pagePrevDataIndex == null) {
|
|
2696
2696
|
v.pagePrevDataIndex = p.i;
|
|
@@ -2698,7 +2698,7 @@ var Ve = /** @class */ function(t) {
|
|
|
2698
2698
|
++v.pageCount;
|
|
2699
2699
|
++v.pageIndex;
|
|
2700
2700
|
}
|
|
2701
|
-
p =
|
|
2701
|
+
p = m;
|
|
2702
2702
|
}
|
|
2703
2703
|
return v;
|
|
2704
2704
|
function getItemInfo(t) {
|
|
@@ -2879,22 +2879,22 @@ function pieLayout(t, e, i) {
|
|
|
2879
2879
|
}));
|
|
2880
2880
|
var g = e.getSum(r);
|
|
2881
2881
|
// Sum may be 0
|
|
2882
|
-
var
|
|
2883
|
-
var
|
|
2882
|
+
var m = Math.PI / (g || p) * 2;
|
|
2883
|
+
var b = t.get("clockwise");
|
|
2884
2884
|
var w = t.get("roseType");
|
|
2885
2885
|
var y = t.get("stillShowZeroSum");
|
|
2886
2886
|
// [0...max]
|
|
2887
2887
|
var x = e.getDataExtent(r);
|
|
2888
2888
|
x[0] = 0;
|
|
2889
|
-
var S =
|
|
2889
|
+
var S = b ? 1 : -1;
|
|
2890
2890
|
var T = [ h, u ];
|
|
2891
2891
|
var M = S * v / 2;
|
|
2892
|
-
It(T, !
|
|
2892
|
+
It(T, !b);
|
|
2893
2893
|
h = T[0], u = T[1];
|
|
2894
2894
|
var L = Ne(t);
|
|
2895
2895
|
L.startAngle = h;
|
|
2896
2896
|
L.endAngle = u;
|
|
2897
|
-
L.clockwise =
|
|
2897
|
+
L.clockwise = b;
|
|
2898
2898
|
var C = Math.abs(u - h);
|
|
2899
2899
|
// In the case some sector angle is smaller than minAngle
|
|
2900
2900
|
var I = C;
|
|
@@ -2911,7 +2911,7 @@ function pieLayout(t, e, i) {
|
|
|
2911
2911
|
angle: NaN,
|
|
2912
2912
|
startAngle: NaN,
|
|
2913
2913
|
endAngle: NaN,
|
|
2914
|
-
clockwise:
|
|
2914
|
+
clockwise: b,
|
|
2915
2915
|
cx: o,
|
|
2916
2916
|
cy: s,
|
|
2917
2917
|
r0: c,
|
|
@@ -2921,7 +2921,7 @@ function pieLayout(t, e, i) {
|
|
|
2921
2921
|
}
|
|
2922
2922
|
// FIXME 兼容 2.0 但是 roseType 是 area 的时候才是这样?
|
|
2923
2923
|
if (w !== "area") {
|
|
2924
|
-
r = g === 0 && y ?
|
|
2924
|
+
r = g === 0 && y ? m : t * m;
|
|
2925
2925
|
} else {
|
|
2926
2926
|
r = C / p;
|
|
2927
2927
|
}
|
|
@@ -2946,7 +2946,7 @@ function pieLayout(t, e, i) {
|
|
|
2946
2946
|
angle: r,
|
|
2947
2947
|
startAngle: n,
|
|
2948
2948
|
endAngle: h,
|
|
2949
|
-
clockwise:
|
|
2949
|
+
clockwise: b,
|
|
2950
2950
|
cx: o,
|
|
2951
2951
|
cy: s,
|
|
2952
2952
|
r0: c,
|
|
@@ -2979,12 +2979,12 @@ function pieLayout(t, e, i) {
|
|
|
2979
2979
|
}
|
|
2980
2980
|
}));
|
|
2981
2981
|
} else {
|
|
2982
|
-
|
|
2982
|
+
m = I / A;
|
|
2983
2983
|
P = h;
|
|
2984
2984
|
e.each(r, (function(t, i) {
|
|
2985
2985
|
if (!isNaN(t)) {
|
|
2986
2986
|
var r = e.getItemLayout(i);
|
|
2987
|
-
var a = r.angle === f ? f : t *
|
|
2987
|
+
var a = r.angle === f ? f : t * m;
|
|
2988
2988
|
var n = 0;
|
|
2989
2989
|
var o = 0;
|
|
2990
2990
|
if (a < v) {
|
|
@@ -3197,14 +3197,14 @@ function avoidOverlap(t, e, i, r, a, n, o, s) {
|
|
|
3197
3197
|
if (!isPositionCenter(f) && f.linePoints) {
|
|
3198
3198
|
var d = f.label;
|
|
3199
3199
|
var p = f.linePoints;
|
|
3200
|
-
var
|
|
3201
|
-
var
|
|
3202
|
-
var w =
|
|
3200
|
+
var m = f.labelAlignTo === "edge";
|
|
3201
|
+
var b = d.style.padding;
|
|
3202
|
+
var w = b ? b[1] + b[3] : 0;
|
|
3203
3203
|
// textRect.width already contains paddingH if bgColor is set
|
|
3204
3204
|
var y = d.style.backgroundColor ? 0 : w;
|
|
3205
3205
|
var x = f.rect.width + y;
|
|
3206
3206
|
var S = p[1][0] - p[2][0];
|
|
3207
|
-
if (
|
|
3207
|
+
if (m) {
|
|
3208
3208
|
if (d.x < e) {
|
|
3209
3209
|
p[2][0] = o + f.edgeDistance + x + f.labelDistance;
|
|
3210
3210
|
} else {
|
|
@@ -3318,8 +3318,8 @@ function pieLabelLayout(t) {
|
|
|
3318
3318
|
var p = f.getModel("label");
|
|
3319
3319
|
// Use position in normal or emphasis
|
|
3320
3320
|
var g = p.get("position") || f.get([ "emphasis", "label", "position" ]);
|
|
3321
|
-
var
|
|
3322
|
-
var
|
|
3321
|
+
var m = p.get("distanceToLabelLine");
|
|
3322
|
+
var b = p.get("alignTo");
|
|
3323
3323
|
var w = E(p.get("edgeDistance"), c);
|
|
3324
3324
|
var x = p.get("bleedMargin");
|
|
3325
3325
|
var S = f.getModel("labelLine");
|
|
@@ -3364,16 +3364,16 @@ function pieLabelLayout(t) {
|
|
|
3364
3364
|
var R = O + I * (T + l - u.r);
|
|
3365
3365
|
var B = N + (C < 0 ? -1 : 1) * M;
|
|
3366
3366
|
var H = R;
|
|
3367
|
-
if (
|
|
3367
|
+
if (b === "edge") {
|
|
3368
3368
|
// Adjust textX because text align of edge is opposite
|
|
3369
3369
|
A = C < 0 ? h + w : h + c - w;
|
|
3370
3370
|
} else {
|
|
3371
|
-
A = B + (C < 0 ? -
|
|
3371
|
+
A = B + (C < 0 ? -m : m);
|
|
3372
3372
|
}
|
|
3373
3373
|
P = H;
|
|
3374
3374
|
k = [ [ z, O ], [ N, R ], [ B, H ] ];
|
|
3375
3375
|
}
|
|
3376
|
-
V = D ? "center" :
|
|
3376
|
+
V = D ? "center" : b === "edge" ? C > 0 ? "right" : "left" : C > 0 ? "left" : "right";
|
|
3377
3377
|
}
|
|
3378
3378
|
var W = Math.PI;
|
|
3379
3379
|
var U = 0;
|
|
@@ -3422,8 +3422,8 @@ function pieLabelLayout(t) {
|
|
|
3422
3422
|
surfaceNormal: new kt(C, I),
|
|
3423
3423
|
linePoints: k,
|
|
3424
3424
|
textAlign: V,
|
|
3425
|
-
labelDistance:
|
|
3426
|
-
labelAlignTo:
|
|
3425
|
+
labelDistance: m,
|
|
3426
|
+
labelAlignTo: b,
|
|
3427
3427
|
edgeDistance: w,
|
|
3428
3428
|
bleedMargin: x,
|
|
3429
3429
|
rect: G,
|
|
@@ -3451,24 +3451,24 @@ function pieLabelLayout(t) {
|
|
|
3451
3451
|
var f = i[d];
|
|
3452
3452
|
var p = f.label;
|
|
3453
3453
|
var g = f.labelLine;
|
|
3454
|
-
var
|
|
3454
|
+
var m = isNaN(p.x) || isNaN(p.y);
|
|
3455
3455
|
if (p) {
|
|
3456
3456
|
p.setStyle({
|
|
3457
3457
|
align: f.textAlign
|
|
3458
3458
|
});
|
|
3459
|
-
if (
|
|
3459
|
+
if (m) {
|
|
3460
3460
|
y(p.states, setNotShow);
|
|
3461
3461
|
p.ignore = true;
|
|
3462
3462
|
}
|
|
3463
|
-
var
|
|
3464
|
-
if (
|
|
3465
|
-
|
|
3466
|
-
|
|
3463
|
+
var b = p.states.select;
|
|
3464
|
+
if (b) {
|
|
3465
|
+
b.x += p.x;
|
|
3466
|
+
b.y += p.y;
|
|
3467
3467
|
}
|
|
3468
3468
|
}
|
|
3469
3469
|
if (g) {
|
|
3470
3470
|
var w = f.linePoints;
|
|
3471
|
-
if (
|
|
3471
|
+
if (m || !w) {
|
|
3472
3472
|
y(g.states, setNotShow);
|
|
3473
3473
|
g.ignore = true;
|
|
3474
3474
|
} else {
|
|
@@ -3586,13 +3586,13 @@ function pieLabelLayout(t) {
|
|
|
3586
3586
|
shape: ee(o.getModel([ "blur", "itemStyle" ]), l)
|
|
3587
3587
|
});
|
|
3588
3588
|
var g = a.getTextGuideLine();
|
|
3589
|
-
var
|
|
3589
|
+
var m = a.getTextContent();
|
|
3590
3590
|
g && F(g.ensureState("select"), {
|
|
3591
3591
|
x: d,
|
|
3592
3592
|
y: f
|
|
3593
3593
|
});
|
|
3594
3594
|
// TODO: needs dx, dy in zrender?
|
|
3595
|
-
F(
|
|
3595
|
+
F(m.ensureState("select"), {
|
|
3596
3596
|
x: d,
|
|
3597
3597
|
y: f
|
|
3598
3598
|
});
|
|
@@ -4483,15 +4483,15 @@ const Ee = class {
|
|
|
4483
4483
|
}
|
|
4484
4484
|
render() {
|
|
4485
4485
|
return i("click-elsewhere", {
|
|
4486
|
-
key: "
|
|
4486
|
+
key: "3d18832c2e83de45c3d6d3334aea24c9766b1f58",
|
|
4487
4487
|
onChange: this.onClickElsewhere
|
|
4488
4488
|
}, i("figure", {
|
|
4489
|
-
key: "
|
|
4489
|
+
key: "4608be26e3d64a551e8c1c5cca4202254d67c9e9"
|
|
4490
4490
|
}, i("div", {
|
|
4491
|
-
key: "
|
|
4491
|
+
key: "6a38081d203e899ffdc5b4a653bc2c1910c7d659",
|
|
4492
4492
|
class: "container"
|
|
4493
4493
|
}, i("div", {
|
|
4494
|
-
key: "
|
|
4494
|
+
key: "5a178c6445cc16594141dcbfd45d27b1da2e9671",
|
|
4495
4495
|
ref: t => this.chartContainer = t,
|
|
4496
4496
|
"aria-describedby": !this.isClickable ? "center-card-description" : undefined,
|
|
4497
4497
|
class: "chart-container",
|
|
@@ -4501,9 +4501,9 @@ const Ee = class {
|
|
|
4501
4501
|
tabIndex: !this.isClickable ? 0 : undefined,
|
|
4502
4502
|
onKeyDown: !this.isClickable ? this.onButtonKeyDown : undefined
|
|
4503
4503
|
}), this.renderCenterBlock()), this.showLegend && i("figcaption", {
|
|
4504
|
-
key: "
|
|
4504
|
+
key: "a693203a46b943ad7d11ccf348b8f5a8c65ef760"
|
|
4505
4505
|
}, i("q2-legend", {
|
|
4506
|
-
key: "
|
|
4506
|
+
key: "060b76987bb07d35eb41b7c8b822b0114d708b01",
|
|
4507
4507
|
class: "legend",
|
|
4508
4508
|
data: this.legendData,
|
|
4509
4509
|
format: this.format,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as t, c as e, h as r, F as o, g as
|
|
1
|
+
import { r as t, c as e, h as r, F as o, g as i } from "./index-7a5365e2.js";
|
|
2
2
|
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as a, f as s } from "./index-c215e8ef.js";
|
|
4
4
|
|
|
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{--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))}
|
|
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{--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))}.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{margin:var(--app-scale-1x, 5px) 0;padding:var(--app-scale-1x, 5px);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}';
|
|
6
6
|
|
|
7
7
|
const c = n;
|
|
8
8
|
|
|
@@ -11,7 +11,7 @@ const d = class {
|
|
|
11
11
|
t(this, r);
|
|
12
12
|
this.change = e(this, "change", 7);
|
|
13
13
|
// #region Own Properties
|
|
14
|
-
this._id = `checkbox-group-${
|
|
14
|
+
this._id = `checkbox-group-${a()}`;
|
|
15
15
|
this.onInnerCheckboxChange = t => {
|
|
16
16
|
t.stopImmediatePropagation();
|
|
17
17
|
const e = {};
|
|
@@ -128,28 +128,28 @@ const d = class {
|
|
|
128
128
|
const t = this.label || this.optional || this.readonly;
|
|
129
129
|
const e = t && !this.hideLabel || this.hasError;
|
|
130
130
|
return r(o, {
|
|
131
|
-
key: "
|
|
131
|
+
key: "3f4b8e424ccc5b26c36ea7e9b6667717eb29cefa"
|
|
132
132
|
}, e && r("div", {
|
|
133
|
-
key: "
|
|
133
|
+
key: "54720ecb444c3bd5acc66210d4a6b9a84dfeb2e4",
|
|
134
134
|
class: "label-row"
|
|
135
135
|
}, t && !this.hideLabel && r("div", {
|
|
136
|
-
key: "
|
|
136
|
+
key: "9c28cc5c09c498af64ed9a10e13318c9266c7cc1",
|
|
137
137
|
class: "group-legend"
|
|
138
138
|
}, s(this)), this.hasError && r("q2-icon", {
|
|
139
|
-
key: "
|
|
139
|
+
key: "6d82ea53d7a8e7993b2494281ba2bb87fd1fcfb4",
|
|
140
140
|
type: "error",
|
|
141
141
|
"test-id": "iconError"
|
|
142
142
|
})), r("fieldset", {
|
|
143
|
-
key: "
|
|
143
|
+
key: "31b7e3a9b3df1c8804609f40a0bbc498c7c98755",
|
|
144
144
|
onChange: this.onInnerCheckboxChange,
|
|
145
145
|
"aria-invalid": this.hasError ? `${this.hasError}` : undefined
|
|
146
146
|
}, t && r("legend", {
|
|
147
|
-
key: "
|
|
147
|
+
key: "d76d87da51444be5b57b9f1197f15264583ba0a7",
|
|
148
148
|
class: "sr-only"
|
|
149
149
|
}, s(this)), this.inputDom()));
|
|
150
150
|
}
|
|
151
151
|
get hostElement() {
|
|
152
|
-
return
|
|
152
|
+
return i(this);
|
|
153
153
|
}
|
|
154
154
|
static get watchers() {
|
|
155
155
|
return {
|