q2-tecton-elements 1.72.0 → 1.73.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle-report.json +39545 -34361
- package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
- package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
- package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
- package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
- package/dist/cjs/q2-avatar.cjs.entry.js +34 -1
- package/dist/cjs/q2-badge_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
- package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
- package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
- package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
- package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
- package/dist/cjs/q2-context.cjs.entry.js +4 -4
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
- package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
- package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
- 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 +3 -3
- package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
- 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 +20 -2
- 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-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +3 -3
- package/dist/cjs/q2-meter.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-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +5 -5
- package/dist/cjs/q2-pagination.cjs.entry.js +12 -6
- package/dist/cjs/q2-pill.cjs.entry.js +8 -5
- 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-search.cjs.entry.js +3 -3
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-select.cjs.entry.js +8 -4
- 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-surface.cjs.entry.js +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.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-sheet/q2-action-sheet.css +52 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
- package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
- package/dist/collection/components/q2-avatar/q2-avatar.js +34 -1
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +79 -4
- package/dist/collection/components/q2-btn/q2-btn.css +84 -136
- package/dist/collection/components/q2-btn/q2-btn.js +10 -4
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
- package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
- package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
- package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
- package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
- package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
- package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
- package/dist/collection/components/q2-context/q2-context.js +3 -3
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
- package/dist/collection/components/q2-currency/q2-currency.js +1 -1
- package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
- package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
- package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
- package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
- package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
- package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
- package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-input/formatting/phone-number-formats.js +1 -1
- package/dist/collection/components/q2-input/q2-input.js +6 -3
- package/dist/collection/components/q2-item/q2-item.js +19 -1
- package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
- 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.css +1 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-message/test/q2-message-test.vr.js +11 -2
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
- package/dist/collection/components/q2-otp/q2-otp.js +4 -4
- package/dist/collection/components/q2-pagination/q2-pagination.css +17 -0
- package/dist/collection/components/q2-pagination/q2-pagination.js +10 -4
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +39 -0
- package/dist/collection/components/q2-pill/q2-pill.css +14 -10
- package/dist/collection/components/q2-pill/q2-pill.js +6 -3
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +25 -0
- package/dist/collection/components/q2-popover/q2-popover.css +1 -0
- package/dist/collection/components/q2-popover/q2-popover.js +43 -8
- package/dist/collection/components/q2-radio/q2-radio.js +5 -2
- package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
- 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-search/q2-search.js +6 -3
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-select/q2-select.js +12 -5
- 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-surface/q2-surface.js +1 -1
- package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
- 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 +6 -3
- package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/chart-keyboard.js +76 -0
- package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
- package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
- package/dist/collection/utils/index.js +1 -1
- package/dist/components/charting.js +1603 -1532
- package/dist/components/dataSample.js +7 -7
- package/dist/components/index.js +57 -53
- package/dist/components/index2.js +2 -2
- package/dist/components/q2-action-sheet.js +224 -103
- package/dist/components/q2-avatar2.js +41 -27
- package/dist/components/q2-btn2.js +2 -2
- package/dist/components/q2-calendar.js +6 -3
- package/dist/components/q2-card-image.js +2 -2
- package/dist/components/q2-carousel-pane2.js +3 -3
- package/dist/components/q2-carousel.js +37 -24
- package/dist/components/q2-chart-area.js +415 -369
- package/dist/components/q2-chart-bar.js +193 -148
- package/dist/components/q2-chart-donut.js +185 -158
- package/dist/components/q2-checkbox-group.js +6 -6
- package/dist/components/q2-checkbox2.js +11 -11
- package/dist/components/q2-context.js +20 -20
- package/dist/components/q2-currency.js +9 -9
- package/dist/components/q2-data-table.js +111 -111
- package/dist/components/q2-date-calendar.d.ts +11 -0
- package/dist/components/q2-date-calendar.js +5 -0
- package/dist/components/q2-date-calendar2.js +678 -0
- package/dist/components/q2-date-picker.d.ts +11 -0
- package/dist/components/q2-date-picker.js +5 -0
- package/dist/components/q2-date-picker2.js +875 -0
- package/dist/components/q2-detail.js +3 -3
- package/dist/components/q2-dropdown.js +17 -17
- package/dist/components/q2-editable-field.js +16 -5
- package/dist/components/q2-example.js +11 -11
- package/dist/components/q2-file-picker.js +1 -1
- package/dist/components/q2-form.js +6 -6
- package/dist/components/q2-formatted-text.js +2 -2
- package/dist/components/q2-input2.js +6 -6
- package/dist/components/q2-item2.js +32 -22
- package/dist/components/q2-legend2.js +7 -7
- package/dist/components/q2-list2.js +6 -6
- package/dist/components/q2-message2.js +10 -10
- package/dist/components/q2-meter.js +7 -7
- package/dist/components/q2-modal.js +22 -22
- package/dist/components/q2-month-picker.js +17 -17
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +7 -7
- package/dist/components/q2-option-list2.js +55 -34
- package/dist/components/q2-otp.js +8 -8
- package/dist/components/q2-pagination.js +70 -68
- package/dist/components/q2-pill.js +51 -46
- package/dist/components/q2-popover2.js +70 -49
- package/dist/components/q2-radio-group.js +7 -7
- package/dist/components/q2-radio.js +6 -6
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-search.js +5 -5
- package/dist/components/q2-section.js +17 -17
- package/dist/components/q2-select2.js +2 -2
- package/dist/components/q2-stepper-pane.js +29 -29
- package/dist/components/q2-stepper-vertical.js +4 -4
- package/dist/components/q2-stepper.js +57 -57
- package/dist/components/q2-surface.js +3 -3
- package/dist/components/q2-tab-container.js +21 -21
- package/dist/components/q2-tab-pane.js +6 -6
- package/dist/components/q2-tag2.js +8 -6
- package/dist/components/q2-textarea.js +3 -3
- package/dist/components/sectorHelper.js +78 -78
- package/dist/components/tecton-tab-pane.js +10 -10
- package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
- package/dist/esm/click-elsewhere_3.entry.js +81 -14
- package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
- package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
- package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.entry.js +1 -1
- package/dist/esm/q2-action-sheet.entry.js +99 -19
- package/dist/esm/q2-avatar.entry.js +34 -1
- package/dist/esm/q2-badge_2.entry.js +3 -3
- package/dist/esm/q2-btn_2.entry.js +2 -2
- package/dist/esm/q2-calendar.entry.js +9 -4
- package/dist/esm/q2-card-image.entry.js +3 -3
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel.entry.js +20 -6
- package/dist/esm/q2-chart-area.entry.js +38 -7
- package/dist/esm/q2-chart-bar.entry.js +39 -8
- package/dist/esm/q2-chart-donut.entry.js +31 -13
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox_2.entry.js +8 -5
- package/dist/esm/q2-context.entry.js +4 -4
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +7 -7
- package/dist/esm/q2-date-calendar.entry.js +450 -0
- package/dist/esm/q2-date-picker_2.entry.js +965 -0
- 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 +3 -3
- package/dist/esm/q2-editable-field.entry.js +20 -7
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +2 -2
- 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 +20 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +3 -3
- package/dist/esm/q2-meter.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-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-option.entry.js +1 -1
- package/dist/esm/q2-otp.entry.js +5 -5
- package/dist/esm/q2-pagination.entry.js +12 -6
- package/dist/esm/q2-pill.entry.js +8 -5
- 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-search.entry.js +3 -3
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-select.entry.js +8 -4
- 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-surface.entry.js +1 -1
- package/dist/esm/q2-tab-container.entry.js +2 -2
- package/dist/esm/q2-tab-pane.entry.js +1 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-tooltip.entry.js +1 -1
- package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
- package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
- package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
- package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
- package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
- package/dist/q2-tecton-elements/q2-avatar.entry.js +24 -10
- package/dist/q2-tecton-elements/q2-badge_2.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
- package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
- package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
- package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
- package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
- 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 +16 -16
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
- package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +29 -29
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-pagination.entry.js +51 -49
- package/dist/q2-tecton-elements/q2-pill.entry.js +22 -17
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
- package/dist/q2-tecton-elements/q2-search.entry.js +31 -31
- package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
- package/dist/q2-tecton-elements/q2-surface.entry.js +15 -15
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
- package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
- package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
- package/dist/types/components/q2-avatar/q2-avatar.d.ts +5 -0
- package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
- package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
- package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
- package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
- package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
- package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
- package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
- package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
- package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
- package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
- package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
- package/dist/types/components/q2-input/q2-input.d.ts +4 -2
- package/dist/types/components/q2-item/q2-item.d.ts +3 -0
- package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
- package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
- package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
- package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
- package/dist/types/components/q2-search/q2-search.d.ts +3 -1
- package/dist/types/components/q2-select/q2-select.d.ts +4 -2
- package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
- package/dist/types/components.d.ts +858 -49
- package/dist/types/global.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/utils/chart-keyboard.d.ts +16 -0
- package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
- package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
- package/package.json +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
- package/dist/esm/q2-optgroup.entry.js +0 -68
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { X as a,
|
|
1
|
+
import { X as a, b$ as e, ba as t, bV as n, z as r, K as i, $ as o, c0 as s, aO as l, w as c, P as u, c1 as f, c2 as v, c3 as h, a2 as b, W as L, Y as M, E as d, a_ as g, d as p, bE as y, c4 as P, a7 as m, c5 as w, bU as A, c6 as S, J as T, c7 as x, I as R, i as k, aV as j, u as O, c8 as C, a1 as K, m as W, c9 as I } from "./charting.js";
|
|
2
2
|
|
|
3
|
-
var N = 2 * Math.PI,
|
|
3
|
+
var N = 2 * Math.PI, z = u.CMD, X = [ "top", "right", "bottom", "left" ];
|
|
4
4
|
|
|
5
5
|
function getCandidateAnchor(a, e, t, n, r) {
|
|
6
6
|
var i = t.width, o = t.height;
|
|
@@ -54,11 +54,11 @@ function projectPointToRect(a, e, t, n, r, i, o) {
|
|
|
54
54
|
return Math.sqrt((c - r) * (c - r) + (u - i) * (u - i));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
var
|
|
57
|
+
var Y = [];
|
|
58
58
|
|
|
59
59
|
function nearestPointOnRect(a, e, t) {
|
|
60
|
-
var n = projectPointToRect(e.x, e.y, e.width, e.height, a.x, a.y,
|
|
61
|
-
return t.set(
|
|
60
|
+
var n = projectPointToRect(e.x, e.y, e.width, e.height, a.x, a.y, Y);
|
|
61
|
+
return t.set(Y[0], Y[1]), n;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/**
|
|
@@ -70,54 +70,54 @@ function nearestPointOnRect(a, e, t) {
|
|
|
70
70
|
1 === L && (s = i = u[L], l = o = u[L + 1]);
|
|
71
71
|
var d = c;
|
|
72
72
|
switch (M) {
|
|
73
|
-
case
|
|
73
|
+
case z.M:
|
|
74
74
|
i =
|
|
75
75
|
// moveTo 命令重新创建一个新的 subpath, 并且更新新的起点
|
|
76
76
|
// 在 closePath 的时候使用
|
|
77
77
|
s = u[L++], o = l = u[L++];
|
|
78
78
|
break;
|
|
79
79
|
|
|
80
|
-
case
|
|
81
|
-
d = projectPointToLine(i, o, u[L], u[L + 1], h, b,
|
|
80
|
+
case z.L:
|
|
81
|
+
d = projectPointToLine(i, o, u[L], u[L + 1], h, b, Y, !0), i = u[L++], o = u[L++];
|
|
82
82
|
break;
|
|
83
83
|
|
|
84
|
-
case
|
|
85
|
-
d = v(i, o, u[L++], u[L++], u[L++], u[L++], u[L], u[L + 1], h, b,
|
|
84
|
+
case z.C:
|
|
85
|
+
d = v(i, o, u[L++], u[L++], u[L++], u[L++], u[L], u[L + 1], h, b, Y), i = u[L++],
|
|
86
86
|
o = u[L++];
|
|
87
87
|
break;
|
|
88
88
|
|
|
89
|
-
case
|
|
90
|
-
d = f(i, o, u[L++], u[L++], u[L], u[L + 1], h, b,
|
|
89
|
+
case z.Q:
|
|
90
|
+
d = f(i, o, u[L++], u[L++], u[L], u[L + 1], h, b, Y), i = u[L++], o = u[L++];
|
|
91
91
|
break;
|
|
92
92
|
|
|
93
|
-
case
|
|
93
|
+
case z.A:
|
|
94
94
|
// TODO Arc 判断的开销比较大
|
|
95
|
-
var g = u[L++], p = u[L++], y = u[L++], P = u[L++], m = u[L++],
|
|
95
|
+
var g = u[L++], p = u[L++], y = u[L++], P = u[L++], m = u[L++], w = u[L++];
|
|
96
96
|
// TODO Arc 旋转
|
|
97
97
|
L += 1;
|
|
98
|
-
var
|
|
98
|
+
var A = !!(1 - u[L++]);
|
|
99
99
|
n = Math.cos(m) * y + g, r = Math.sin(m) * P + p,
|
|
100
100
|
// 不是直接使用 arc 命令
|
|
101
101
|
L <= 1 && (
|
|
102
102
|
// 第一个命令起点还未定义
|
|
103
|
-
s = n, l = r), d = projectPointToArc(g, p, P, m, m +
|
|
104
|
-
i = Math.cos(m +
|
|
103
|
+
s = n, l = r), d = projectPointToArc(g, p, P, m, m + w, A, (h - g) * P / y + g, b, Y),
|
|
104
|
+
i = Math.cos(m + w) * y + g, o = Math.sin(m + w) * P + p;
|
|
105
105
|
break;
|
|
106
106
|
|
|
107
|
-
case
|
|
108
|
-
d = projectPointToRect(s = i = u[L++], l = o = u[L++], u[L++], u[L++], h, b,
|
|
107
|
+
case z.R:
|
|
108
|
+
d = projectPointToRect(s = i = u[L++], l = o = u[L++], u[L++], u[L++], h, b, Y);
|
|
109
109
|
break;
|
|
110
110
|
|
|
111
|
-
case
|
|
112
|
-
d = projectPointToLine(i, o, s, l, h, b,
|
|
111
|
+
case z.Z:
|
|
112
|
+
d = projectPointToLine(i, o, s, l, h, b, Y, !0), i = s, o = l;
|
|
113
113
|
}
|
|
114
|
-
d < c && (c = d, t.set(
|
|
114
|
+
d < c && (c = d, t.set(Y[0], Y[1]));
|
|
115
115
|
}
|
|
116
116
|
return c;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
// Temporal variable for intermediate usage.
|
|
120
|
-
var D = new a,
|
|
120
|
+
var D = new a, E = new a, H = new a, V = new a, $ = new a;
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* Calculate a proper guide line based on the label position and graphic element definition
|
|
@@ -131,20 +131,20 @@ function updateLabelLinePoints(e, t) {
|
|
|
131
131
|
var n = e.getTextGuideLine(), r = e.getTextContent();
|
|
132
132
|
// Needs to create text guide in each charts.
|
|
133
133
|
if (r && n) {
|
|
134
|
-
var i = e.textGuideLineConfig || {}, o = [ [ 0, 0 ], [ 0, 0 ], [ 0, 0 ] ], s = i.candidates ||
|
|
134
|
+
var i = e.textGuideLineConfig || {}, o = [ [ 0, 0 ], [ 0, 0 ], [ 0, 0 ] ], s = i.candidates || X, u = r.getBoundingRect().clone();
|
|
135
135
|
u.applyTransform(r.getComputedTransform());
|
|
136
136
|
var f = 1 / 0, v = i.anchor, h = e.getComputedTransform(), b = h && l([], h), L = t.get("length2") || 0;
|
|
137
|
-
v &&
|
|
137
|
+
v && H.copy(v);
|
|
138
138
|
for (var M = 0; M < s.length; M++) {
|
|
139
|
-
getCandidateAnchor(s[M], 0, u, D,
|
|
139
|
+
getCandidateAnchor(s[M], 0, u, D, V), a.scaleAndAdd(E, D, V, L),
|
|
140
140
|
// Transform to target coord space.
|
|
141
|
-
|
|
141
|
+
E.transform(b);
|
|
142
142
|
// Note: getBoundingRect will ensure the `path` being created.
|
|
143
|
-
var d = e.getBoundingRect(), g = v ? v.distance(
|
|
143
|
+
var d = e.getBoundingRect(), g = v ? v.distance(E) : e instanceof c ? nearestPointOnPath(E, e.path, H) : nearestPointOnRect(E, d, H);
|
|
144
144
|
// TODO pt2 is in the path
|
|
145
145
|
g < f && (f = g,
|
|
146
146
|
// Transform back to global space.
|
|
147
|
-
|
|
147
|
+
E.transform(h), H.transform(h), H.toArray(o[0]), E.toArray(o[1]), D.toArray(o[2]));
|
|
148
148
|
}
|
|
149
149
|
limitTurnAngle(o, t.get("minTurnAngle")), n.setShape({
|
|
150
150
|
points: o
|
|
@@ -154,7 +154,7 @@ function updateLabelLinePoints(e, t) {
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
// Temporal variable for the limitTurnAngle function
|
|
157
|
-
var
|
|
157
|
+
var G = [], J = new a;
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* Reduce the line segment attached to the label to limit the turn angle between two segments.
|
|
@@ -168,22 +168,22 @@ function limitTurnAngle(e, t) {
|
|
|
168
168
|
// /pt1----pt2 (label)
|
|
169
169
|
// /
|
|
170
170
|
// pt0/
|
|
171
|
-
D.fromArray(e[0]),
|
|
172
|
-
var n =
|
|
171
|
+
D.fromArray(e[0]), E.fromArray(e[1]), H.fromArray(e[2]), a.sub(V, D, E), a.sub($, H, E);
|
|
172
|
+
var n = V.len(), r = $.len();
|
|
173
173
|
if (!(n < .001 || r < .001)) {
|
|
174
|
-
|
|
175
|
-
var i =
|
|
174
|
+
V.scale(1 / n), $.scale(1 / r);
|
|
175
|
+
var i = V.dot($);
|
|
176
176
|
if (Math.cos(t) < i) {
|
|
177
177
|
// Smaller than minTurnAngle
|
|
178
178
|
// Calculate project point of pt0 on pt1-pt2
|
|
179
|
-
var o = projectPointToLine(
|
|
180
|
-
|
|
179
|
+
var o = projectPointToLine(E.x, E.y, H.x, H.y, D.x, D.y, G, !1);
|
|
180
|
+
J.fromArray(G),
|
|
181
181
|
// Calculate new projected length with limited minTurnAngle and get the new connect point
|
|
182
|
-
|
|
182
|
+
J.scaleAndAdd($, o / Math.tan(Math.PI - t));
|
|
183
183
|
// Limit the new calculated connect point between pt1 and pt2.
|
|
184
|
-
var s =
|
|
184
|
+
var s = H.x !== E.x ? (J.x - E.x) / (H.x - E.x) : (J.y - E.y) / (H.y - E.y);
|
|
185
185
|
if (isNaN(s)) return;
|
|
186
|
-
s < 0 ? a.copy(
|
|
186
|
+
s < 0 ? a.copy(J, E) : s > 1 && a.copy(J, H), J.toArray(e[1]);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}
|
|
@@ -194,25 +194,25 @@ function limitTurnAngle(e, t) {
|
|
|
194
194
|
* @param maxSurfaceAngle Radian of minimum turn angle. 0 - 180. 0 is same direction to normal. 180 is opposite
|
|
195
195
|
*/ function limitSurfaceAngle(e, t, n) {
|
|
196
196
|
if (n <= 180 && n > 0) {
|
|
197
|
-
n = n / 180 * Math.PI, D.fromArray(e[0]),
|
|
198
|
-
a.sub(
|
|
199
|
-
var r =
|
|
200
|
-
if (!(r < .001 || i < .001)) if (
|
|
197
|
+
n = n / 180 * Math.PI, D.fromArray(e[0]), E.fromArray(e[1]), H.fromArray(e[2]),
|
|
198
|
+
a.sub(V, E, D), a.sub($, H, E);
|
|
199
|
+
var r = V.len(), i = $.len();
|
|
200
|
+
if (!(r < .001 || i < .001)) if (V.scale(1 / r), $.scale(1 / i), V.dot(t) < Math.cos(n)) {
|
|
201
201
|
// Calculate project point of pt0 on pt1-pt2
|
|
202
|
-
var o = projectPointToLine(
|
|
203
|
-
|
|
204
|
-
var s = Math.PI / 2, l = s + Math.acos(
|
|
202
|
+
var o = projectPointToLine(E.x, E.y, H.x, H.y, D.x, D.y, G, !1);
|
|
203
|
+
J.fromArray(G);
|
|
204
|
+
var s = Math.PI / 2, l = s + Math.acos($.dot(t)) - n;
|
|
205
205
|
if (l >= s)
|
|
206
206
|
// parallel
|
|
207
|
-
a.copy(
|
|
207
|
+
a.copy(J, H); else {
|
|
208
208
|
// Calculate new projected length with limited minTurnAngle and get the new connect point
|
|
209
|
-
|
|
209
|
+
J.scaleAndAdd($, o / Math.tan(Math.PI / 2 - l));
|
|
210
210
|
// Limit the new calculated connect point between pt1 and pt2.
|
|
211
|
-
var c =
|
|
211
|
+
var c = H.x !== E.x ? (J.x - E.x) / (H.x - E.x) : (J.y - E.y) / (H.y - E.y);
|
|
212
212
|
if (isNaN(c)) return;
|
|
213
|
-
c < 0 ? a.copy(
|
|
213
|
+
c < 0 ? a.copy(J, E) : c > 1 && a.copy(J, H);
|
|
214
214
|
}
|
|
215
|
-
|
|
215
|
+
J.toArray(e[1]);
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
}
|
|
@@ -310,7 +310,7 @@ function prepareLayoutCallbackParams(a, e) {
|
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
var
|
|
313
|
+
var U = [ "align", "verticalAlign", "width", "height", "fontSize" ], _ = new M, q = b(), B = b();
|
|
314
314
|
|
|
315
315
|
function extendWithKeys(a, e, t) {
|
|
316
316
|
for (var n = 0; n < t.length; n++) {
|
|
@@ -319,7 +319,7 @@ function extendWithKeys(a, e, t) {
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
|
|
322
|
-
var
|
|
322
|
+
var F = [ "x", "y", "rotation" ], Q = /** @class */ function() {
|
|
323
323
|
function LabelManager() {
|
|
324
324
|
this._labelList = [], this._chartViewList = [];
|
|
325
325
|
}
|
|
@@ -331,9 +331,9 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
|
|
|
331
331
|
*/
|
|
332
332
|
LabelManager.prototype._addLabel = function(a, e, t, n, r) {
|
|
333
333
|
var i = n.style, o = n.__hostTarget.textConfig || {}, s = n.getComputedTransform(), l = n.getBoundingRect().plain();
|
|
334
|
-
L.applyTransform(l, l, s), s ?
|
|
334
|
+
L.applyTransform(l, l, s), s ? _.setLocalTransform(s) : (
|
|
335
335
|
// Identity transform.
|
|
336
|
-
|
|
336
|
+
_.x = _.y = _.rotation = _.originX = _.originY = 0, _.scaleX = _.scaleY = 1), _.rotation = h(_.rotation);
|
|
337
337
|
var c, u = n.__hostTarget;
|
|
338
338
|
if (u) {
|
|
339
339
|
c = u.getBoundingRect().plain();
|
|
@@ -359,11 +359,11 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
|
|
|
359
359
|
defaultAttr: {
|
|
360
360
|
ignore: n.ignore,
|
|
361
361
|
labelGuideIgnore: v && v.ignore,
|
|
362
|
-
x:
|
|
363
|
-
y:
|
|
364
|
-
scaleX:
|
|
365
|
-
scaleY:
|
|
366
|
-
rotation:
|
|
362
|
+
x: _.x,
|
|
363
|
+
y: _.y,
|
|
364
|
+
scaleX: _.scaleX,
|
|
365
|
+
scaleY: _.scaleY,
|
|
366
|
+
rotation: _.rotation,
|
|
367
367
|
style: {
|
|
368
368
|
x: i.x,
|
|
369
369
|
y: i.y,
|
|
@@ -432,10 +432,10 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
|
|
|
432
432
|
// Not update
|
|
433
433
|
u = !1);
|
|
434
434
|
}
|
|
435
|
-
|
|
435
|
+
q(i).needsUpdateLabelLine = u, i.rotation = null != l.rotate ? l.rotate * c : s.rotation,
|
|
436
436
|
i.scaleX = s.scaleX, i.scaleY = s.scaleY;
|
|
437
|
-
for (var v = 0; v <
|
|
438
|
-
var h =
|
|
437
|
+
for (var v = 0; v < U.length; v++) {
|
|
438
|
+
var h = U[v];
|
|
439
439
|
i.setStyle(h, null != l[h] ? l[h] : s.style[h]);
|
|
440
440
|
}
|
|
441
441
|
if (l.draggable) {
|
|
@@ -454,7 +454,7 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
|
|
|
454
454
|
})), i = m(n, (function(a) {
|
|
455
455
|
return "shiftY" === a.layoutOption.moveOverlap;
|
|
456
456
|
}));
|
|
457
|
-
|
|
457
|
+
w(r, 0, e), A(i, 0, t);
|
|
458
458
|
var o = m(n, (function(a) {
|
|
459
459
|
return a.layoutOption.hideOverlap;
|
|
460
460
|
}));
|
|
@@ -465,13 +465,13 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
|
|
|
465
465
|
*/
|
|
466
466
|
LabelManager.prototype.processLabelsOverall = function() {
|
|
467
467
|
var a = this;
|
|
468
|
-
|
|
468
|
+
T(this._chartViewList, (function(e) {
|
|
469
469
|
var t = e.__model, n = e.ignoreLabelLineUpdate, r = t.isAnimationEnabled();
|
|
470
470
|
e.group.traverse((function(e) {
|
|
471
471
|
if (e.ignore && !e.forceLabelAnimation) return !0;
|
|
472
472
|
// Stop traverse descendants.
|
|
473
473
|
var i = !n, o = e.getTextContent();
|
|
474
|
-
!i && o && (i =
|
|
474
|
+
!i && o && (i = q(o).needsUpdateLabelLine), i && a._updateLabelLine(e, t), r && a._animateLabels(e, t);
|
|
475
475
|
}));
|
|
476
476
|
}));
|
|
477
477
|
}, LabelManager.prototype._updateLabelLine = function(a, e) {
|
|
@@ -493,7 +493,7 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
|
|
|
493
493
|
var n = a.getTextContent(), r = a.getTextGuideLine();
|
|
494
494
|
// Animate
|
|
495
495
|
if (n && (a.forceLabelAnimation || !n.ignore && !n.invisible && !a.disableLabelAnimation && !x(a))) {
|
|
496
|
-
var i = (b =
|
|
496
|
+
var i = (b = q(n)).oldLayout, o = p(a), s = o.dataIndex, l = {
|
|
497
497
|
x: n.x,
|
|
498
498
|
y: n.y,
|
|
499
499
|
rotation: n.rotation
|
|
@@ -503,7 +503,7 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
|
|
|
503
503
|
// Make sure the animation from is in the right status.
|
|
504
504
|
var u = a.prevStates;
|
|
505
505
|
u && (j(u, "select") >= 0 && n.attr(b.oldLayoutSelect), j(u, "emphasis") >= 0 && n.attr(b.oldLayoutEmphasis)),
|
|
506
|
-
|
|
506
|
+
O(n, l, e, s);
|
|
507
507
|
} else
|
|
508
508
|
// Disable fade in animation if value animation is enabled.
|
|
509
509
|
if (n.attr(l), !R(n).valueAnimation) {
|
|
@@ -517,22 +517,22 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
|
|
|
517
517
|
}
|
|
518
518
|
if (b.oldLayout = l, n.states.select) {
|
|
519
519
|
var v = b.oldLayoutSelect = {};
|
|
520
|
-
extendWithKeys(v, l,
|
|
520
|
+
extendWithKeys(v, l, F), extendWithKeys(v, n.states.select, F);
|
|
521
521
|
}
|
|
522
522
|
if (n.states.emphasis) {
|
|
523
523
|
var h = b.oldLayoutEmphasis = {};
|
|
524
|
-
extendWithKeys(h, l,
|
|
524
|
+
extendWithKeys(h, l, F), extendWithKeys(h, n.states.emphasis, F);
|
|
525
525
|
}
|
|
526
|
-
|
|
526
|
+
C(n, s, c, e, e);
|
|
527
527
|
}
|
|
528
528
|
if (r && !r.ignore && !r.invisible) {
|
|
529
|
-
i = (b =
|
|
529
|
+
i = (b = B(r)).oldLayout;
|
|
530
530
|
var b, L = {
|
|
531
531
|
points: r.shape.points
|
|
532
532
|
};
|
|
533
533
|
i ? (r.attr({
|
|
534
534
|
shape: i
|
|
535
|
-
}),
|
|
535
|
+
}), O(r, {
|
|
536
536
|
shape: L
|
|
537
537
|
}, e)) : (r.setShape(L), r.style.strokePercent = 0, k(r, {
|
|
538
538
|
style: {
|
|
@@ -541,15 +541,15 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
|
|
|
541
541
|
}, e)), b.oldLayout = L;
|
|
542
542
|
}
|
|
543
543
|
}, LabelManager;
|
|
544
|
-
}(),
|
|
544
|
+
}(), Z = b();
|
|
545
545
|
|
|
546
546
|
function installLabelLayout(a) {
|
|
547
547
|
a.registerUpdateLifecycle("series:beforeupdate", (function(a, e, t) {
|
|
548
548
|
// TODO api provide an namespace that can save stuff per instance
|
|
549
|
-
var n =
|
|
550
|
-
n || (n =
|
|
549
|
+
var n = Z(e).labelManager;
|
|
550
|
+
n || (n = Z(e).labelManager = new Q), n.clearLabels();
|
|
551
551
|
})), a.registerUpdateLifecycle("series:layoutlabels", (function(a, e, t) {
|
|
552
|
-
var n =
|
|
552
|
+
var n = Z(e).labelManager;
|
|
553
553
|
t.updatedSeries.forEach((function(a) {
|
|
554
554
|
n.addLabelsOfSeries(e.getViewOfSeriesModel(a));
|
|
555
555
|
})), n.updateLayoutConfig(e), n.layout(e), n.processLabelsOverall();
|
|
@@ -561,7 +561,7 @@ function getSectorCornerRadius(a, e, t) {
|
|
|
561
561
|
if (null == n) return t ? {
|
|
562
562
|
cornerRadius: 0
|
|
563
563
|
} : null;
|
|
564
|
-
|
|
564
|
+
K(n) || (n = [ n, n, n, n ]);
|
|
565
565
|
var r = Math.abs(e.r || 0 - e.r0 || 0);
|
|
566
566
|
return {
|
|
567
567
|
cornerRadius: W(n, (function(a) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { proxyCustomElement as e, HTMLElement as t, createEvent as i, h as n, transformTag as
|
|
1
|
+
import { proxyCustomElement as e, HTMLElement as t, createEvent as i, h as n, transformTag as a } from "@stencil/core/internal/client";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const o = e(class extends t {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
super(), !1 !== e && this.__registerHost(), this.__attachShadow(), this.badge = i(this, "badge", 7),
|
|
6
6
|
this.onIFrameLoad = e => {
|
|
@@ -42,7 +42,7 @@ const a = e(class extends t {
|
|
|
42
42
|
// #region Render Methods
|
|
43
43
|
render() {
|
|
44
44
|
return n("div", {
|
|
45
|
-
key: "
|
|
45
|
+
key: "313fa13779cd8ecb5439b1a96cb7aaf17f6c871b",
|
|
46
46
|
id: `tab-pane-${this.guid}-${this.index}`,
|
|
47
47
|
class: "tab-pane" + (this.selected ? "" : " hidden"),
|
|
48
48
|
role: "tabpanel",
|
|
@@ -50,12 +50,12 @@ const a = e(class extends t {
|
|
|
50
50
|
"aria-hidden": "" + !this.selected,
|
|
51
51
|
"aria-labelledby": `tab-${this.guid}-${this.index}`
|
|
52
52
|
}, this.selected && void 0 !== this.provided && !this.provided && n("div", {
|
|
53
|
-
key: "
|
|
53
|
+
key: "5207414b205d1e9a25fb1455ca21ff7cc913a5fd"
|
|
54
54
|
}, n("slot", {
|
|
55
|
-
key: "
|
|
55
|
+
key: "d883e909e38981f315bc1cab9ef57957a616c0d5",
|
|
56
56
|
name: "loading-wrapper"
|
|
57
57
|
}), n("iframe", {
|
|
58
|
-
key: "
|
|
58
|
+
key: "2f0233d04d3c5be619cb54bfe637252a7ef42d77",
|
|
59
59
|
hidden: !0,
|
|
60
60
|
name: this.moduleId,
|
|
61
61
|
scrolling: "no",
|
|
@@ -78,11 +78,11 @@ const a = e(class extends t {
|
|
|
78
78
|
value: e.value,
|
|
79
79
|
name: e.key
|
|
80
80
|
})))) : ""), n("div", {
|
|
81
|
-
key: "
|
|
81
|
+
key: "ae5ee8d5a5a7d1b798f4111b33120d301b86a16b",
|
|
82
82
|
class: "slot-wrapper",
|
|
83
83
|
hidden: this.selected && void 0 !== this.provided && !this.provided
|
|
84
84
|
}, n("slot", {
|
|
85
|
-
key: "
|
|
85
|
+
key: "cb1057d2b6cb467a25da1577610bfcc5b6300047"
|
|
86
86
|
})));
|
|
87
87
|
}
|
|
88
88
|
get hostElement() {
|
|
@@ -146,10 +146,10 @@ const a = e(class extends t {
|
|
|
146
146
|
} ]
|
|
147
147
|
} ]);
|
|
148
148
|
|
|
149
|
-
const s =
|
|
149
|
+
const s = o, defineCustomElement = function() {
|
|
150
150
|
if ("undefined" == typeof customElements) return;
|
|
151
151
|
[ "tecton-tab-pane" ].forEach((e => {
|
|
152
|
-
if ("tecton-tab-pane" === e) customElements.get(
|
|
152
|
+
if ("tecton-tab-pane" === e) customElements.get(a(e)) || customElements.define(a(e), o);
|
|
153
153
|
}));
|
|
154
154
|
};
|
|
155
155
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { l as loc } from './index-CP8pXJ-l.js';
|
|
2
|
+
|
|
1
3
|
/*! *****************************************************************************
|
|
2
4
|
Copyright (c) Microsoft Corporation.
|
|
3
5
|
|
|
@@ -34224,6 +34226,82 @@ function install(registers) {
|
|
|
34224
34226
|
registers.registerPainter('canvas', CanvasPainter);
|
|
34225
34227
|
}
|
|
34226
34228
|
|
|
34229
|
+
/** Localized feedback shared by chart keyboard controls. */
|
|
34230
|
+
function chartPointDescription(name, value, index, count) {
|
|
34231
|
+
return loc('tecton.element.chart.pointDescription', [loc(name) || '', value, `${index + 1}`, `${count}`]);
|
|
34232
|
+
}
|
|
34233
|
+
/** Coordinates keyboard exploration with ECharts emphasis without changing chart data. */
|
|
34234
|
+
function createChartKeyboardNavigation(options) {
|
|
34235
|
+
let index = null;
|
|
34236
|
+
let focused = false;
|
|
34237
|
+
const clear = () => {
|
|
34238
|
+
var _a;
|
|
34239
|
+
if (index !== null) {
|
|
34240
|
+
(_a = options.getChart()) === null || _a === void 0 ? void 0 : _a.dispatchAction({ type: 'downplay', seriesIndex: 0, dataIndex: index });
|
|
34241
|
+
}
|
|
34242
|
+
index = null;
|
|
34243
|
+
options.onChange(null);
|
|
34244
|
+
};
|
|
34245
|
+
const select = (next) => {
|
|
34246
|
+
var _a;
|
|
34247
|
+
if (!options.getData()[next] || next === index)
|
|
34248
|
+
return;
|
|
34249
|
+
clear();
|
|
34250
|
+
index = next;
|
|
34251
|
+
(_a = options.getChart()) === null || _a === void 0 ? void 0 : _a.dispatchAction({ type: 'highlight', seriesIndex: 0, dataIndex: index });
|
|
34252
|
+
options.onChange(index);
|
|
34253
|
+
};
|
|
34254
|
+
const order = () => { var _a, _b; return (_b = (_a = options.getOrder) === null || _a === void 0 ? void 0 : _a.call(options)) !== null && _b !== void 0 ? _b : options.getData().map((_, i) => i); };
|
|
34255
|
+
return {
|
|
34256
|
+
onFocus: () => {
|
|
34257
|
+
focused = true;
|
|
34258
|
+
select(order()[0]);
|
|
34259
|
+
},
|
|
34260
|
+
onBlur: () => {
|
|
34261
|
+
focused = false;
|
|
34262
|
+
clear();
|
|
34263
|
+
},
|
|
34264
|
+
onKeyDown: (event) => {
|
|
34265
|
+
if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey)
|
|
34266
|
+
return;
|
|
34267
|
+
const indices = order();
|
|
34268
|
+
if (!indices.length)
|
|
34269
|
+
return;
|
|
34270
|
+
const position = index === null ? -1 : indices.indexOf(index);
|
|
34271
|
+
let next;
|
|
34272
|
+
switch (event.key) {
|
|
34273
|
+
case 'ArrowRight':
|
|
34274
|
+
case 'ArrowDown':
|
|
34275
|
+
next = Math.min(position + 1, indices.length - 1);
|
|
34276
|
+
break;
|
|
34277
|
+
case 'ArrowLeft':
|
|
34278
|
+
case 'ArrowUp':
|
|
34279
|
+
next = Math.max(position - 1, 0);
|
|
34280
|
+
break;
|
|
34281
|
+
case 'Home':
|
|
34282
|
+
next = 0;
|
|
34283
|
+
break;
|
|
34284
|
+
case 'End':
|
|
34285
|
+
next = indices.length - 1;
|
|
34286
|
+
break;
|
|
34287
|
+
case 'Escape':
|
|
34288
|
+
event.preventDefault();
|
|
34289
|
+
clear();
|
|
34290
|
+
return;
|
|
34291
|
+
default:
|
|
34292
|
+
return;
|
|
34293
|
+
}
|
|
34294
|
+
event.preventDefault();
|
|
34295
|
+
select(indices[next]);
|
|
34296
|
+
},
|
|
34297
|
+
refresh: () => {
|
|
34298
|
+
clear();
|
|
34299
|
+
if (focused)
|
|
34300
|
+
select(order()[0]);
|
|
34301
|
+
},
|
|
34302
|
+
};
|
|
34303
|
+
}
|
|
34304
|
+
|
|
34227
34305
|
var ValidColorNames;
|
|
34228
34306
|
(function (ValidColorNames) {
|
|
34229
34307
|
ValidColorNames[ValidColorNames["aliceblue"] = 0] = "aliceblue";
|
|
@@ -34407,4 +34485,4 @@ function formatValue(value, format) {
|
|
|
34407
34485
|
}
|
|
34408
34486
|
}
|
|
34409
34487
|
|
|
34410
|
-
export { setStatesStylesFromModel as $, updateProps$1 as A, BoundingRect as B, animateLabelValue as C, DISPLAY_STATES as D, isArray as E, map$1 as F, parsePercent$1 as G, SeriesModel as H, inheritDefaultOption as I, calculateTextPosition as J, isNumber as K, traverseElements as L, saveOldStyle as M, removeElementWithFadeOut as N, Group as O, Point as P, ChartView as Q, Sector as R, SPECIAL_STATES as S, Transformable as T, Rect as U, extend as V, getLabelStatesModels as W, setLabelStyle as X, setLabelValueAnimation as Y, toggleHoverEmphasis as Z, __extends as _, Polyline as a,
|
|
34488
|
+
export { setStatesStylesFromModel as $, updateProps$1 as A, BoundingRect as B, animateLabelValue as C, DISPLAY_STATES as D, isArray as E, map$1 as F, parsePercent$1 as G, SeriesModel as H, inheritDefaultOption as I, calculateTextPosition as J, isNumber as K, traverseElements as L, saveOldStyle as M, removeElementWithFadeOut as N, Group as O, Point as P, ChartView as Q, Sector as R, SPECIAL_STATES as S, Transformable as T, Rect as U, extend as V, getLabelStatesModels as W, setLabelStyle as X, setLabelValueAnimation as Y, toggleHoverEmphasis as Z, __extends as _, Polyline as a, merge as a$, throttle as a0, curry as a1, layout$1 as a2, createProgressiveLayout as a3, use as a4, install$1 as a5, install as a6, createChartKeyboardNavigation as a7, init as a8, chartPointDescription as a9, clonePath as aA, Polygon as aB, getAnimationConfig as aC, normalizeToArray as aD, SERIES_UNIVERSAL_TRANSITION_PROP as aE, createHashMap as aF, DataDiffer as aG, Displayable as aH, getOldStyle as aI, SINGLE_REFERRING as aJ, makeSeriesEncodeForAxisCoordSys as aK, prepareSeriesDataSchema as aL, enableDataStack as aM, SeriesData as aN, CoordinateSystemManager as aO, getDimensionTypeByAxis as aP, SOURCE_FORMAT_ORIGINAL as aQ, getDataItemValue as aR, makeLabelFormatter as aS, getBoundingRect as aT, getOptionCategoryInterval as aU, shouldShowAllLabels as aV, getPixelPrecision as aW, linearMap as aX, round$1 as aY, ComponentModel as aZ, mixin as a_, formatValue as aa, getCSSProperty as ab, isValidColor as ac, createSymbol as ad, enterEmphasis as ae, leaveEmphasis as af, normalizeSymbolOffset as ag, ZRImage as ah, removeElement as ai, normalizeSymbolSize as aj, isObject$2 as ak, isDimensionStacked as al, createFloat32Array as am, cubicRootAt as an, cubicAt as ao, bind$1 as ap, convertToColorString as aq, queryDataIndex as ar, setStatesFlag as as, ZRText as at, interpolateRawValues as au, LinearGradient as av, lerp as aw, createRenderPlanner as ax, cubicSubdivide as ay, fromPoints as az, dist$1 as b, setTooltipConfig as b$, getLayoutParams as b0, mergeLayoutParam as b1, fetchLayoutMode as b2, OrdinalMeta as b3, applyTransform$1 as b4, IntervalScale as b5, getScaleExtent as b6, increaseInterval as b7, getLayoutRect as b8, estimateLabelUnionRect as b9, throwError as bA, getTooltipRenderMode as bB, createOrUpdate as bC, clear as bD, register as bE, findPointFromSeries as bF, findEventDispatcher as bG, createTooltipMarkup as bH, getValueLabel as bI, trim as bJ, getAxisRawValue as bK, TooltipMarkupStyleCreator as bL, normalizeTooltipFormatResult as bM, buildTooltipMarkup as bN, clone$2 as bO, encodeHTML as bP, format as bQ, formatTpl as bR, unregister as bS, preParseFinder as bT, queryReferringComponents as bU, Model as bV, noop as bW, isNameSpecified as bX, parse as bY, stringify as bZ, enableHoverEmphasis as b_, createScaleByModel as ba, isCartesian2DSeries as bb, findAxisModels as bc, getDataDimensionsOnAxis as bd, isIntervalOrLogScale as be, niceScaleExtent as bf, ifAxisCrossZero as bg, layout as bh, AxisBuilder as bi, groupTransition as bj, AxisView as bk, Line as bl, subPixelOptimizeLine as bm, ComponentView as bn, install$2 as bo, createTextStyle as bp, windowOpen as bq, retrieveRawValue as br, isString as bs, normalizeCssArray as bt, toCamelCase as bu, env as bv, isDom as bw, normalizeEvent as bx, transformLocalCoord as by, getPaddingFromTooltipModel as bz, Path as c, box as c0, createOrUpdatePatternFromDecal as c1, hasOwn as c2, createIcon as c3, normalizeArcAngles as c4, retrieve3 as c5, makeSeriesEncodeForNameBased as c6, getPercentSeats as c7, defaultEmphasis as c8, createLegacyDataSelectAction as c9, defaults as d, PathProxy as e, cubicProjectPoint as f, isFunction as g, getECData as h, invert as i, prepareLayoutList as j, keys as k, lerp$1 as l, makeInner as m, normalizeRadian as n, filter as o, parsePercent as p, quadraticProjectPoint as q, retrieve2 as r, shiftLayoutOnX as s, shiftLayoutOnY as t, hideOverlap as u, each$3 as v, isElementRemoved as w, labelInner as x, initProps as y, indexOf as z };
|