ngwr 15.0.1 → 15.2.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/anchor/styles/_index.scss +13 -2
- package/bits/aurora/styles/_rules.scss +11 -0
- package/bits/dot-grid/dot-grid.scss +1 -0
- package/bits/dot-grid/styles/_index.scss +8 -0
- package/bits/dot-grid/styles/_rules.scss +54 -0
- package/bits/iridescence/iridescence.scss +1 -0
- package/bits/iridescence/styles/_index.scss +8 -0
- package/bits/iridescence/styles/_rules.scss +72 -0
- package/bits/marquee/styles/_rules.scss +7 -3
- package/bits/ripple-grid/ripple-grid.scss +1 -0
- package/bits/ripple-grid/styles/_index.scss +8 -0
- package/bits/ripple-grid/styles/_rules.scss +63 -0
- package/bits/spotlight-card/styles/_rules.scss +7 -4
- package/bits/star-border/styles/_rules.scss +5 -2
- package/bits/threads/styles/_index.scss +8 -0
- package/bits/threads/styles/_rules.scss +76 -0
- package/bits/threads/threads.scss +1 -0
- package/bits/waves/styles/_rules.scss +8 -1
- package/charts/bar-chart/styles/_index.scss +607 -7
- package/charts/boxplot-chart/styles/_index.scss +297 -0
- package/charts/bullet-chart/styles/_index.scss +268 -0
- package/charts/calendar-heatmap/styles/_index.scss +25 -3
- package/charts/candlestick-chart/styles/_index.scss +307 -0
- package/charts/chart-legend/styles/_index.scss +143 -0
- package/charts/core/styles/_index.scss +30 -0
- package/charts/donut-chart/styles/_index.scss +39 -3
- package/charts/funnel-chart/styles/_index.scss +237 -0
- package/charts/gauge/styles/_index.scss +4 -2
- package/charts/heatmap-chart/styles/_index.scss +329 -0
- package/charts/line-chart/styles/_index.scss +141 -8
- package/charts/meter-group/styles/_index.scss +44 -13
- package/charts/radar-chart/styles/_index.scss +206 -0
- package/charts/scatter-chart/styles/_index.scss +245 -0
- package/charts/sparkline/styles/_index.scss +10 -1
- package/charts/treemap-chart/styles/_index.scss +215 -0
- package/charts/waterfall-chart/styles/_index.scss +321 -0
- package/collapse/styles/_index.scss +6 -1
- package/fesm2022/ngwr-affix.mjs +3 -3
- package/fesm2022/ngwr-alert.mjs +3 -3
- package/fesm2022/ngwr-anchor.mjs +3 -3
- package/fesm2022/ngwr-avatar.mjs +3 -3
- package/fesm2022/ngwr-back-top.mjs +3 -3
- package/fesm2022/ngwr-badge.mjs +6 -6
- package/fesm2022/ngwr-bits-aurora.mjs +30 -38
- package/fesm2022/ngwr-bits-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-bits-blur-text.mjs +3 -3
- package/fesm2022/ngwr-bits-border-glow-testing.mjs.map +1 -1
- package/fesm2022/ngwr-bits-border-glow.mjs +11 -5
- package/fesm2022/ngwr-bits-border-glow.mjs.map +1 -1
- package/fesm2022/ngwr-bits-circular-text.mjs +3 -3
- package/fesm2022/ngwr-bits-click-spark.mjs +3 -3
- package/fesm2022/ngwr-bits-confetti.mjs +3 -3
- package/fesm2022/ngwr-bits-decrypt-text.mjs +3 -3
- package/fesm2022/ngwr-bits-dot-grid-testing.mjs +40 -0
- package/fesm2022/ngwr-bits-dot-grid-testing.mjs.map +1 -0
- package/fesm2022/ngwr-bits-dot-grid.mjs +482 -0
- package/fesm2022/ngwr-bits-dot-grid.mjs.map +1 -0
- package/fesm2022/ngwr-bits-falling-text.mjs +3 -3
- package/fesm2022/ngwr-bits-fuzzy-text.mjs +3 -3
- package/fesm2022/ngwr-bits-glitch-text.mjs +3 -3
- package/fesm2022/ngwr-bits-gradient-text.mjs +3 -3
- package/fesm2022/ngwr-bits-iridescence-testing.mjs +31 -0
- package/fesm2022/ngwr-bits-iridescence-testing.mjs.map +1 -0
- package/fesm2022/ngwr-bits-iridescence.mjs +591 -0
- package/fesm2022/ngwr-bits-iridescence.mjs.map +1 -0
- package/fesm2022/ngwr-bits-marquee-testing.mjs +1 -1
- package/fesm2022/ngwr-bits-marquee-testing.mjs.map +1 -1
- package/fesm2022/ngwr-bits-marquee.mjs +7 -7
- package/fesm2022/ngwr-bits-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-bits-ripple-grid-testing.mjs +40 -0
- package/fesm2022/ngwr-bits-ripple-grid-testing.mjs.map +1 -0
- package/fesm2022/ngwr-bits-ripple-grid.mjs +805 -0
- package/fesm2022/ngwr-bits-ripple-grid.mjs.map +1 -0
- package/fesm2022/ngwr-bits-rotating-text.mjs +3 -3
- package/fesm2022/ngwr-bits-shiny-text.mjs +6 -6
- package/fesm2022/ngwr-bits-splash-cursor.mjs +3 -3
- package/fesm2022/ngwr-bits-split-text.mjs +3 -3
- package/fesm2022/ngwr-bits-spotlight-card-testing.mjs +1 -1
- package/fesm2022/ngwr-bits-spotlight-card-testing.mjs.map +1 -1
- package/fesm2022/ngwr-bits-spotlight-card.mjs +10 -10
- package/fesm2022/ngwr-bits-spotlight-card.mjs.map +1 -1
- package/fesm2022/ngwr-bits-star-border-testing.mjs +1 -1
- package/fesm2022/ngwr-bits-star-border-testing.mjs.map +1 -1
- package/fesm2022/ngwr-bits-star-border.mjs +7 -7
- package/fesm2022/ngwr-bits-star-border.mjs.map +1 -1
- package/fesm2022/ngwr-bits-threads-testing.mjs +41 -0
- package/fesm2022/ngwr-bits-threads-testing.mjs.map +1 -0
- package/fesm2022/ngwr-bits-threads.mjs +482 -0
- package/fesm2022/ngwr-bits-threads.mjs.map +1 -0
- package/fesm2022/ngwr-bits-tilt-card.mjs +6 -6
- package/fesm2022/ngwr-bits-typewriter.mjs +3 -3
- package/fesm2022/ngwr-bits-waves-testing.mjs.map +1 -1
- package/fesm2022/ngwr-bits-waves.mjs +60 -41
- package/fesm2022/ngwr-bits-waves.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +3 -3
- package/fesm2022/ngwr-button.mjs +6 -6
- package/fesm2022/ngwr-calendar.mjs +3 -3
- package/fesm2022/ngwr-card.mjs +9 -9
- package/fesm2022/ngwr-carousel.mjs +6 -6
- package/fesm2022/ngwr-cascader.mjs +5 -5
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart-testing.mjs +127 -3
- package/fesm2022/ngwr-charts-bar-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +683 -49
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs +161 -0
- package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +517 -0
- package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -0
- package/fesm2022/ngwr-charts-bullet-chart-testing.mjs +68 -0
- package/fesm2022/ngwr-charts-bullet-chart-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-bullet-chart.mjs +459 -0
- package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -0
- package/fesm2022/ngwr-charts-calendar-heatmap-testing.mjs +27 -0
- package/fesm2022/ngwr-charts-calendar-heatmap-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +96 -17
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs +107 -0
- package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +508 -0
- package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -0
- package/fesm2022/ngwr-charts-chart-legend-testing.mjs +126 -0
- package/fesm2022/ngwr-charts-chart-legend-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-chart-legend.mjs +251 -0
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -0
- package/fesm2022/ngwr-charts-core.mjs +383 -0
- package/fesm2022/ngwr-charts-core.mjs.map +1 -0
- package/fesm2022/ngwr-charts-donut-chart-testing.mjs +10 -1
- package/fesm2022/ngwr-charts-donut-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart.mjs +187 -31
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart-testing.mjs +100 -0
- package/fesm2022/ngwr-charts-funnel-chart-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-funnel-chart.mjs +415 -0
- package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -0
- package/fesm2022/ngwr-charts-gauge-testing.mjs +9 -3
- package/fesm2022/ngwr-charts-gauge-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-gauge.mjs +9 -15
- package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
- package/fesm2022/ngwr-charts-heatmap-chart-testing.mjs +120 -0
- package/fesm2022/ngwr-charts-heatmap-chart-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +519 -0
- package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -0
- package/fesm2022/ngwr-charts-line-chart-testing.mjs +43 -1
- package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +436 -122
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group-testing.mjs +14 -2
- package/fesm2022/ngwr-charts-meter-group-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +101 -32
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart-testing.mjs +98 -0
- package/fesm2022/ngwr-charts-radar-chart-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-radar-chart.mjs +720 -0
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -0
- package/fesm2022/ngwr-charts-scatter-chart-testing.mjs +132 -0
- package/fesm2022/ngwr-charts-scatter-chart-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-scatter-chart.mjs +545 -0
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -0
- package/fesm2022/ngwr-charts-sparkline-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-sparkline.mjs +14 -16
- package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
- package/fesm2022/ngwr-charts-treemap-chart-testing.mjs +103 -0
- package/fesm2022/ngwr-charts-treemap-chart-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-treemap-chart.mjs +535 -0
- package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -0
- package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs +131 -0
- package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs.map +1 -0
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +462 -0
- package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -0
- package/fesm2022/ngwr-checkbox.mjs +6 -6
- package/fesm2022/ngwr-clipboard.mjs +3 -3
- package/fesm2022/ngwr-collapse.mjs +9 -9
- package/fesm2022/ngwr-color-picker.mjs +6 -6
- package/fesm2022/ngwr-command-palette.mjs +3 -3
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-context-menu.mjs +12 -12
- package/fesm2022/ngwr-cookie.mjs +3 -3
- package/fesm2022/ngwr-counter.mjs +6 -6
- package/fesm2022/ngwr-date-picker.mjs +21 -21
- package/fesm2022/ngwr-date.mjs +6 -6
- package/fesm2022/ngwr-density.mjs +6 -6
- package/fesm2022/ngwr-descriptions.mjs +6 -6
- package/fesm2022/ngwr-dialog.mjs +15 -15
- package/fesm2022/ngwr-directives.mjs +12 -12
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-drawer.mjs +18 -18
- package/fesm2022/ngwr-dropdown.mjs +9 -9
- package/fesm2022/ngwr-editor.mjs +3 -3
- package/fesm2022/ngwr-empty.mjs +3 -3
- package/fesm2022/ngwr-event-calendar.mjs +6 -6
- package/fesm2022/ngwr-file-upload.mjs +3 -3
- package/fesm2022/ngwr-form.mjs +9 -9
- package/fesm2022/ngwr-graph.mjs +6 -6
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +90 -4
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +90 -4
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +90 -4
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +90 -4
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +90 -4
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +90 -4
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +90 -4
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +90 -4
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +90 -4
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +90 -4
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +90 -4
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +90 -4
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +90 -4
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +90 -4
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +90 -4
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +90 -4
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +90 -4
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +90 -4
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +90 -4
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +90 -4
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +90 -4
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +90 -4
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +9 -9
- package/fesm2022/ngwr-icon.mjs +6 -6
- package/fesm2022/ngwr-image-cropper.mjs +3 -3
- package/fesm2022/ngwr-input-number.mjs +3 -3
- package/fesm2022/ngwr-input-otp.mjs +3 -3
- package/fesm2022/ngwr-input.mjs +15 -15
- package/fesm2022/ngwr-keyboard.mjs +3 -3
- package/fesm2022/ngwr-knob.mjs +3 -3
- package/fesm2022/ngwr-layout.mjs +15 -15
- package/fesm2022/ngwr-lightbox.mjs +5 -5
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +8 -8
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +6 -6
- package/fesm2022/ngwr-mention.mjs +6 -6
- package/fesm2022/ngwr-meta.mjs +6 -6
- package/fesm2022/ngwr-overlay.mjs +6 -6
- package/fesm2022/ngwr-page-header.mjs +3 -3
- package/fesm2022/ngwr-pagination.mjs +3 -3
- package/fesm2022/ngwr-pipes.mjs +21 -21
- package/fesm2022/ngwr-platform.mjs +6 -6
- package/fesm2022/ngwr-popconfirm.mjs +6 -6
- package/fesm2022/ngwr-popover.mjs +43 -20
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +3 -3
- package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
- package/fesm2022/ngwr-qr.mjs +4 -3
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +6 -6
- package/fesm2022/ngwr-rating.mjs +3 -3
- package/fesm2022/ngwr-result.mjs +12 -12
- package/fesm2022/ngwr-schema-form.mjs +3 -3
- package/fesm2022/ngwr-scroll.mjs +3 -3
- package/fesm2022/ngwr-segmented.mjs +3 -3
- package/fesm2022/ngwr-select.mjs +12 -12
- package/fesm2022/ngwr-sidebar.mjs +3 -3
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider.mjs +3 -3
- package/fesm2022/ngwr-sortable-list.mjs +11 -11
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +3 -3
- package/fesm2022/ngwr-spinner.mjs +3 -3
- package/fesm2022/ngwr-splitter.mjs +3 -3
- package/fesm2022/ngwr-statistic.mjs +9 -9
- package/fesm2022/ngwr-stepper.mjs +6 -6
- package/fesm2022/ngwr-storage.mjs +3 -3
- package/fesm2022/ngwr-switch.mjs +3 -3
- package/fesm2022/ngwr-table.mjs +18 -18
- package/fesm2022/ngwr-tabs-router.mjs +3 -3
- package/fesm2022/ngwr-tabs.mjs +6 -6
- package/fesm2022/ngwr-textarea.mjs +3 -3
- package/fesm2022/ngwr-theme.mjs +3 -3
- package/fesm2022/ngwr-timeline.mjs +6 -6
- package/fesm2022/ngwr-toast-testing.mjs +2 -1
- package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
- package/fesm2022/ngwr-toast.mjs +34 -15
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour.mjs +6 -6
- package/fesm2022/ngwr-transfer.mjs +3 -3
- package/fesm2022/ngwr-tree.mjs +3 -3
- package/fesm2022/ngwr-typography.mjs +3 -3
- package/fesm2022/ngwr-utils.mjs +31 -1
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
- package/fesm2022/ngwr-window-testing.mjs +61 -5
- package/fesm2022/ngwr-window-testing.mjs.map +1 -1
- package/fesm2022/ngwr-window.mjs +1538 -895
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/fesm2022/ngwr.mjs.map +1 -1
- package/i18n/ar.json +84 -4
- package/i18n/cs.json +84 -4
- package/i18n/de.json +84 -4
- package/i18n/en.json +84 -4
- package/i18n/es.json +84 -4
- package/i18n/fr.json +84 -4
- package/i18n/he.json +84 -4
- package/i18n/hi.json +84 -4
- package/i18n/id.json +84 -4
- package/i18n/it.json +84 -4
- package/i18n/ja.json +84 -4
- package/i18n/ko.json +84 -4
- package/i18n/nl.json +84 -4
- package/i18n/pl.json +84 -4
- package/i18n/pt.json +84 -4
- package/i18n/ru.json +84 -4
- package/i18n/sv.json +84 -4
- package/i18n/tr.json +84 -4
- package/i18n/uk.json +84 -4
- package/i18n/vi.json +84 -4
- package/i18n/zh-TW.json +84 -4
- package/i18n/zh.json +84 -4
- package/llms-full.txt +266 -9
- package/llms.txt +30 -7
- package/mcp/api.js +69 -1
- package/mcp/catalog.js +10 -1
- package/mcp/server.js +15 -1
- package/mcp/tools.js +122 -26
- package/package.json +132 -1
- package/popover/styles/_index.scss +75 -7
- package/schematics/component-style/index.js +3 -0
- package/schematics/migrations/v15/index.js +3 -26
- package/schematics/ng-add/index.js +2 -2
- package/schematics/use/symbol-map.json +14 -0
- package/schematics/utility/global-styles.js +19 -4
- package/schematics/utility/v15-moves.js +55 -0
- package/skills/ngwr/SKILL.md +8 -2
- package/skills/ngwr/references/catalog.md +28 -0
- package/skills/ngwr/references/setup.md +5 -4
- package/theme/styles/_focus.scss +8 -0
- package/toast/styles/_index.scss +103 -12
- package/types/ngwr-bits-aurora.d.ts +11 -0
- package/types/ngwr-bits-border-glow-testing.d.ts +5 -6
- package/types/ngwr-bits-border-glow.d.ts +5 -1
- package/types/ngwr-bits-dot-grid-testing.d.ts +92 -0
- package/types/ngwr-bits-dot-grid.d.ts +158 -0
- package/types/ngwr-bits-iridescence-testing.d.ts +85 -0
- package/types/ngwr-bits-iridescence.d.ts +244 -0
- package/types/ngwr-bits-ripple-grid-testing.d.ts +96 -0
- package/types/ngwr-bits-ripple-grid.d.ts +294 -0
- package/types/ngwr-bits-splash-cursor.d.ts +0 -1
- package/types/ngwr-bits-spotlight-card-testing.d.ts +3 -1
- package/types/ngwr-bits-star-border-testing.d.ts +7 -7
- package/types/ngwr-bits-threads-testing.d.ts +97 -0
- package/types/ngwr-bits-threads.d.ts +216 -0
- package/types/ngwr-bits-waves-testing.d.ts +1 -1
- package/types/ngwr-bits-waves.d.ts +20 -3
- package/types/ngwr-charts-bar-chart-testing.d.ts +193 -14
- package/types/ngwr-charts-bar-chart.d.ts +546 -38
- package/types/ngwr-charts-boxplot-chart-testing.d.ts +165 -0
- package/types/ngwr-charts-boxplot-chart.d.ts +308 -0
- package/types/ngwr-charts-bullet-chart-testing.d.ts +99 -0
- package/types/ngwr-charts-bullet-chart.d.ts +262 -0
- package/types/ngwr-charts-calendar-heatmap-testing.d.ts +32 -1
- package/types/ngwr-charts-calendar-heatmap.d.ts +55 -6
- package/types/ngwr-charts-candlestick-chart-testing.d.ts +135 -0
- package/types/ngwr-charts-candlestick-chart.d.ts +361 -0
- package/types/ngwr-charts-chart-legend-testing.d.ts +84 -0
- package/types/ngwr-charts-chart-legend.d.ts +178 -0
- package/types/ngwr-charts-core.d.ts +391 -0
- package/types/ngwr-charts-donut-chart-testing.d.ts +28 -5
- package/types/ngwr-charts-donut-chart.d.ts +124 -12
- package/types/ngwr-charts-funnel-chart-testing.d.ts +130 -0
- package/types/ngwr-charts-funnel-chart.d.ts +296 -0
- package/types/ngwr-charts-gauge-testing.d.ts +5 -0
- package/types/ngwr-charts-gauge.d.ts +6 -4
- package/types/ngwr-charts-heatmap-chart-testing.d.ts +148 -0
- package/types/ngwr-charts-heatmap-chart.d.ts +359 -0
- package/types/ngwr-charts-line-chart-testing.d.ts +72 -11
- package/types/ngwr-charts-line-chart.d.ts +291 -67
- package/types/ngwr-charts-meter-group-testing.d.ts +16 -2
- package/types/ngwr-charts-meter-group.d.ts +71 -11
- package/types/ngwr-charts-radar-chart-testing.d.ts +162 -0
- package/types/ngwr-charts-radar-chart.d.ts +461 -0
- package/types/ngwr-charts-scatter-chart-testing.d.ts +147 -0
- package/types/ngwr-charts-scatter-chart.d.ts +396 -0
- package/types/ngwr-charts-sparkline-testing.d.ts +4 -1
- package/types/ngwr-charts-sparkline.d.ts +8 -6
- package/types/ngwr-charts-treemap-chart-testing.d.ts +131 -0
- package/types/ngwr-charts-treemap-chart.d.ts +295 -0
- package/types/ngwr-charts-waterfall-chart-testing.d.ts +149 -0
- package/types/ngwr-charts-waterfall-chart.d.ts +338 -0
- package/types/ngwr-color-picker.d.ts +0 -21
- package/types/ngwr-dropdown.d.ts +0 -52
- package/types/ngwr-editor.d.ts +2 -84
- package/types/ngwr-i18n.d.ts +0 -15
- package/types/ngwr-mention.d.ts +0 -13
- package/types/ngwr-popconfirm.d.ts +0 -33
- package/types/ngwr-popover.d.ts +29 -53
- package/types/ngwr-toast-testing.d.ts +6 -1
- package/types/ngwr-tour.d.ts +0 -2
- package/types/ngwr-utils.d.ts +49 -7
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window-testing.d.ts +65 -7
- package/types/ngwr-window.d.ts +831 -207
- package/types/ngwr.d.ts +1 -0
- package/window/styles/_index.scss +528 -82
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import { WrChartLegendItem } from "ngwr/charts/chart-legend";
|
|
2
3
|
/**
|
|
3
4
|
* @license
|
|
4
5
|
*
|
|
@@ -9,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
9
10
|
interface WrMeterSegment {
|
|
10
11
|
/** Label shown in the legend. */
|
|
11
12
|
readonly label: string;
|
|
12
|
-
/**
|
|
13
|
+
/** Its share of the bar: of `max` when set, else of the sum of the segments shown. */
|
|
13
14
|
readonly value: number;
|
|
14
15
|
/** CSS color for the bar slice and legend swatch. Defaults to `--wr-color-primary` etc. */
|
|
15
16
|
readonly color?: string;
|
|
@@ -17,7 +18,8 @@ interface WrMeterSegment {
|
|
|
17
18
|
/**
|
|
18
19
|
* Stacked-segment progress bar. Visualises a breakdown of a total —
|
|
19
20
|
* disk usage, budget, vote share, etc. Each segment contributes a slice
|
|
20
|
-
* proportional to its `value` relative to the sum (or the
|
|
21
|
+
* proportional to its `value` relative to the sum of the segments shown (or the
|
|
22
|
+
* explicit `max`).
|
|
21
23
|
*
|
|
22
24
|
* @example
|
|
23
25
|
* ```html
|
|
@@ -30,6 +32,9 @@ interface WrMeterSegment {
|
|
|
30
32
|
* />
|
|
31
33
|
* ```
|
|
32
34
|
*
|
|
35
|
+
* The legend is a `ul[wr-chart-legend]` (`ngwr/charts/chart-legend`), and with
|
|
36
|
+
* `toggleableLegend` its rows show and hide their segments through `hiddenSegments`.
|
|
37
|
+
*
|
|
33
38
|
* @see https://ngwr.dev/charts/meter-group
|
|
34
39
|
*/
|
|
35
40
|
export declare class WrMeterGroup {
|
|
@@ -37,16 +42,41 @@ export declare class WrMeterGroup {
|
|
|
37
42
|
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
38
43
|
protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
|
|
39
44
|
/**
|
|
40
|
-
* The parts of the bar, in order.
|
|
41
|
-
*
|
|
45
|
+
* The parts of the bar, in order. Each segment is drawn as its share of `max` when
|
|
46
|
+
* set, else of the sum of the segments shown, so they need not add up to anything in
|
|
47
|
+
* particular.
|
|
42
48
|
*/
|
|
43
49
|
readonly segments: import("@angular/core").InputSignal<readonly WrMeterSegment[]>;
|
|
44
|
-
/** Explicit total.
|
|
50
|
+
/** Explicit total, a capacity the segments fill. `0` (default) uses the sum of the segments shown. @default 0 */
|
|
45
51
|
readonly max: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
46
52
|
/** Show the labelled legend under the bar. @default true */
|
|
47
53
|
readonly showLegend: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
48
54
|
/** Show each segment's value in the legend, next to its label. @default true */
|
|
49
55
|
readonly showValues: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
56
|
+
/**
|
|
57
|
+
* Make each legend row a toggle button that shows and hides its segment, through
|
|
58
|
+
* `hiddenSegments`. A row is a `<button aria-pressed>`, pressed while its segment is
|
|
59
|
+
* shown, so the legend becomes one tab stop per segment. @default false
|
|
60
|
+
*/
|
|
61
|
+
readonly toggleableLegend: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
62
|
+
/**
|
|
63
|
+
* The positions in `segments` of the segments that are hidden. Positions rather than
|
|
64
|
+
* labels, since two segments may share a label. A toggleable legend writes it, and a
|
|
65
|
+
* host may bind it with or without one: `[(hiddenSegments)]`.
|
|
66
|
+
*
|
|
67
|
+
* A hidden segment is left out of the bar and out of the sum. With no `max`, the
|
|
68
|
+
* segments still shown share the whole bar between them, each at its share of their
|
|
69
|
+
* own total, as `wr-donut-chart`'s slices do: the bar is the whole of what it draws.
|
|
70
|
+
* An explicit `max` is a capacity rather than a sum, so it stays, and the hidden
|
|
71
|
+
* segment's share becomes empty track. Either way the bar announces the total of the
|
|
72
|
+
* segments shown (`aria-valuenow`, `aria-valuetext`), since that is what it draws, and
|
|
73
|
+
* the tooltip cannot open on a segment that is not drawn. The legend keeps the hidden
|
|
74
|
+
* segment's row, struck through and with its own value, so it can be shown again; the
|
|
75
|
+
* row says "hidden" to a screen reader as well, through `aria-pressed` on a toggle and
|
|
76
|
+
* a visually hidden word otherwise. A position past the end of `segments` is kept and
|
|
77
|
+
* ignored.
|
|
78
|
+
*/
|
|
79
|
+
readonly hiddenSegments: import("@angular/core").ModelSignal<readonly number[]>;
|
|
50
80
|
/**
|
|
51
81
|
* Show a tooltip with the segment's label and value on hover. It replaces the
|
|
52
82
|
* band's `title`, which is written only while this is off — or the browser would
|
|
@@ -59,11 +89,8 @@ export declare class WrMeterGroup {
|
|
|
59
89
|
* `aria-valuenow` stays a number.
|
|
60
90
|
*/
|
|
61
91
|
readonly valueFormat: import("@angular/core").InputSignal<((value: number) => string) | null>;
|
|
62
|
-
|
|
92
|
+
/** Each value as the legend, the tooltip and the bar print it: never compact, in `LOCALE_ID` unless `valueFormat` is given. */
|
|
63
93
|
private readonly numbers;
|
|
64
|
-
/** Below one, by significant digits, which keep 0.0004 from rounding to `0`. */
|
|
65
|
-
private readonly smallNumbers;
|
|
66
|
-
private formatValue;
|
|
67
94
|
private readonly sliceEls;
|
|
68
95
|
/**
|
|
69
96
|
* A segment's contribution, floored at `0` and with anything non-finite read
|
|
@@ -72,6 +99,9 @@ export declare class WrMeterGroup {
|
|
|
72
99
|
* asked for a width of `value * 100`%, while `aria-valuenow` announced `NaN`.
|
|
73
100
|
*/
|
|
74
101
|
private static amount;
|
|
102
|
+
private readonly hidden;
|
|
103
|
+
/** What the segments still shown add up to (see `hiddenSegments`). */
|
|
104
|
+
private readonly shownSum;
|
|
75
105
|
protected readonly resolvedMax: import("@angular/core").Signal<number>;
|
|
76
106
|
/**
|
|
77
107
|
* Sum of the segments, for `aria-valuenow`. `role="progressbar"` without it
|
|
@@ -88,14 +118,32 @@ export declare class WrMeterGroup {
|
|
|
88
118
|
*/
|
|
89
119
|
protected readonly totalText: import("@angular/core").Signal<string>;
|
|
90
120
|
protected readonly slices: import("@angular/core").Signal<{
|
|
121
|
+
index: number;
|
|
91
122
|
label: string;
|
|
92
123
|
text: string;
|
|
93
124
|
color: string;
|
|
125
|
+
hidden: boolean;
|
|
94
126
|
percent: number;
|
|
95
127
|
}[]>;
|
|
128
|
+
/**
|
|
129
|
+
* The bands drawn, in order: every segment but the hidden ones. A hidden band is left
|
|
130
|
+
* out rather than drawn at zero width, since a zero band still lays its gap over the
|
|
131
|
+
* boundary and would leave a double one.
|
|
132
|
+
*/
|
|
133
|
+
protected readonly bands: import("@angular/core").Signal<{
|
|
134
|
+
index: number;
|
|
135
|
+
label: string;
|
|
136
|
+
text: string;
|
|
137
|
+
color: string;
|
|
138
|
+
hidden: boolean;
|
|
139
|
+
percent: number;
|
|
140
|
+
}[]>;
|
|
141
|
+
/** The legend's rows: every segment, hidden ones included, with its value unless `showValues` is off. */
|
|
142
|
+
protected readonly legendItems: import("@angular/core").Signal<readonly WrChartLegendItem[]>;
|
|
96
143
|
/**
|
|
97
144
|
* One tooltip for the whole bar, pointing at the hovered band, with the value as
|
|
98
|
-
* the legend prints it.
|
|
145
|
+
* the legend prints it. Asked by the segment's own position, and the drawn bands are
|
|
146
|
+
* only the shown ones, so the band is found among them by that position.
|
|
99
147
|
*/
|
|
100
148
|
protected readonly tip: import("ngwr/popover").WrChartTooltip;
|
|
101
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrMeterGroup, never>;
|
|
@@ -125,6 +173,16 @@ export declare class WrMeterGroup {
|
|
|
125
173
|
"required": false;
|
|
126
174
|
"isSignal": true;
|
|
127
175
|
};
|
|
176
|
+
"toggleableLegend": {
|
|
177
|
+
"alias": "toggleableLegend";
|
|
178
|
+
"required": false;
|
|
179
|
+
"isSignal": true;
|
|
180
|
+
};
|
|
181
|
+
"hiddenSegments": {
|
|
182
|
+
"alias": "hiddenSegments";
|
|
183
|
+
"required": false;
|
|
184
|
+
"isSignal": true;
|
|
185
|
+
};
|
|
128
186
|
"tooltip": {
|
|
129
187
|
"alias": "tooltip";
|
|
130
188
|
"required": false;
|
|
@@ -135,6 +193,8 @@ export declare class WrMeterGroup {
|
|
|
135
193
|
"required": false;
|
|
136
194
|
"isSignal": true;
|
|
137
195
|
};
|
|
138
|
-
}, {
|
|
196
|
+
}, {
|
|
197
|
+
"hiddenSegments": "hiddenSegmentsChange";
|
|
198
|
+
}, never, never, true, never>;
|
|
139
199
|
}
|
|
140
200
|
export type { WrMeterSegment };
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
|
|
2
|
+
import { WrChartLegendHarness } from "ngwr/charts/chart-legend/testing";
|
|
3
|
+
import { WrRadarVariant } from "ngwr/charts/radar-chart";
|
|
4
|
+
/** Narrows which `<wr-radar-chart>` a harness query matches. */
|
|
5
|
+
interface WrRadarChartHarnessFilters extends BaseHarnessFilters {
|
|
6
|
+
/** Match the drawing's accessible name. */
|
|
7
|
+
readonly ariaLabel?: string | RegExp;
|
|
8
|
+
/** Match a chart with an axis of this name. */
|
|
9
|
+
readonly axisLabel?: string | RegExp;
|
|
10
|
+
}
|
|
11
|
+
/** One series' outline as {@link WrRadarChartHarness.getPolygons} reads it, in the order drawn. */
|
|
12
|
+
interface WrRadarChartPolygon {
|
|
13
|
+
/** The stroke the component wrote: the series' colour. */
|
|
14
|
+
readonly color: string | null;
|
|
15
|
+
/** The outline's `stroke-dasharray`, `''` for a solid one. */
|
|
16
|
+
readonly dash: string;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the outline closes through every axis. A series with a missing value is
|
|
19
|
+
* drawn open, across the gap, and is never filled. In the polar-area variant the
|
|
20
|
+
* outline is the silhouette round the wedges, which always closes, so this is always
|
|
21
|
+
* `true` there.
|
|
22
|
+
*/
|
|
23
|
+
readonly closed: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* One row of the chart's data table (`dataTable`): the axis it reads, as its row header,
|
|
27
|
+
* and one cell per series shown, in the order of the table's columns.
|
|
28
|
+
*/
|
|
29
|
+
interface WrRadarChartTableRow {
|
|
30
|
+
/** The row header — the axis' name. */
|
|
31
|
+
readonly header: string;
|
|
32
|
+
/** Each series' own value on that axis, written as the tooltip writes it; `''` where it is missing. */
|
|
33
|
+
readonly cells: readonly string[];
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Test harness for `<wr-radar-chart>`.
|
|
37
|
+
*
|
|
38
|
+
* **The polygons' geometry is not read.** Where a vertex lands moves with the scale and
|
|
39
|
+
* the drawing's box, so this harness counts what was drawn and reads what is TEXT: the
|
|
40
|
+
* axis names, the ring values, the legend and the data table. Those are what a reader
|
|
41
|
+
* gets, and they are what breaks when the data wiring does. The one thing it does read off
|
|
42
|
+
* a path is whether the outline CLOSES ({@link getPolygons}): a series with a missing
|
|
43
|
+
* value is drawn open across the gap and never filled, and an outline closed across a
|
|
44
|
+
* value the series does not have is exactly the defect worth catching.
|
|
45
|
+
*
|
|
46
|
+
* **The tooltip cannot be opened from a spec.** It follows the pointer by its angle from
|
|
47
|
+
* the drawing's centre, measured off the drawing's box, which jsdom reports as 0×0 — so
|
|
48
|
+
* there is deliberately no `hoverAxis()`. The numbers it would show are in the data table
|
|
49
|
+
* (`dataTable`), which {@link getTableRows} reads, and which is where a screen reader
|
|
50
|
+
* finds them too.
|
|
51
|
+
*
|
|
52
|
+
* Labels are positioned by the stylesheet from numbers the component writes; with no
|
|
53
|
+
* layout in jsdom there is no method for where a label sits or whether it was ellipsised.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const chart = await loader.getHarness(WrRadarChartHarness);
|
|
58
|
+
*
|
|
59
|
+
* expect(await chart.getAxisLabels()).toEqual(['Speed', 'Power', 'Range']);
|
|
60
|
+
* expect(await chart.getPolygonCount()).toBe(2);
|
|
61
|
+
* expect((await chart.getPolygons()).every(p => p.closed)).toBe(true);
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @see https://ngwr.dev/guides/testing
|
|
65
|
+
*/
|
|
66
|
+
export declare class WrRadarChartHarness extends ComponentHarness {
|
|
67
|
+
static hostSelector: string;
|
|
68
|
+
/** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
|
|
69
|
+
static with(options?: WrRadarChartHarnessFilters): HarnessPredicate<WrRadarChartHarness>;
|
|
70
|
+
/**
|
|
71
|
+
* The drawing's accessible name — the only name it has. Read off the `<svg>`, which
|
|
72
|
+
* carries the `img` role, rather than off the surface round it: a name on the wrapper
|
|
73
|
+
* would take the axis names beside the drawing out of the accessibility tree.
|
|
74
|
+
*/
|
|
75
|
+
getAccessibleName(): Promise<string | null>;
|
|
76
|
+
/**
|
|
77
|
+
* How the chart draws its series (`variant`): `'polygon'` or `'polar-area'`, read off
|
|
78
|
+
* the host's BEM modifier, which the component writes for either one.
|
|
79
|
+
*
|
|
80
|
+
* Throws when the host carries neither modifier rather than answering `'polygon'` by
|
|
81
|
+
* default: a chart that lost its variant binding would otherwise read as the default
|
|
82
|
+
* exactly when the binding is what broke.
|
|
83
|
+
*/
|
|
84
|
+
getVariant(): Promise<WrRadarVariant>;
|
|
85
|
+
/** The axis names round the drawing, clockwise from twelve o'clock, as given — the full text, ellipsised or not. */
|
|
86
|
+
getAxisLabels(): Promise<string[]>;
|
|
87
|
+
/** The ring values beside the first axis, from the outer ring in. `[]` with `showGrid` off. */
|
|
88
|
+
getRingLabels(): Promise<string[]>;
|
|
89
|
+
/** Whether the web is drawn (`showGrid`): the rings and the spokes. */
|
|
90
|
+
hasGrid(): Promise<boolean>;
|
|
91
|
+
/**
|
|
92
|
+
* How many series outlines were drawn: one per series shown that has at least one
|
|
93
|
+
* value, and none at all with fewer than three axes. In the polar-area variant a
|
|
94
|
+
* series' outline is the one silhouette round its wedges, so this still counts series,
|
|
95
|
+
* not wedges.
|
|
96
|
+
*
|
|
97
|
+
* Worth comparing with the legend: both come from the same list, so a mismatch is a
|
|
98
|
+
* series filtered out of one of them. The difference by design is a series hidden
|
|
99
|
+
* through `hiddenSeries`, which keeps its legend row and draws no outline — the legend
|
|
100
|
+
* harness's `getHidden()` names those.
|
|
101
|
+
*/
|
|
102
|
+
getPolygonCount(): Promise<number>;
|
|
103
|
+
/**
|
|
104
|
+
* Every outline drawn, in order: the colour and dash the component wrote on it, and
|
|
105
|
+
* whether it closes. Closed is read off the path's own closing command, which is what
|
|
106
|
+
* makes a browser close the shape. In the polar-area variant the outline is the
|
|
107
|
+
* silhouette round the series' wedges, which always closes, and a missing value is a
|
|
108
|
+
* missing wedge — which {@link getDotCount} and the data table show instead.
|
|
109
|
+
*/
|
|
110
|
+
getPolygons(): Promise<WrRadarChartPolygon[]>;
|
|
111
|
+
/**
|
|
112
|
+
* How many polygons are filled (`fill`). Only a closed outline is ever filled, so with
|
|
113
|
+
* `fill` on this is the number of closed outlines in {@link getPolygons}; anything more
|
|
114
|
+
* is a fill drawn across a missing value. In the polar-area variant it is one per
|
|
115
|
+
* series drawn, each fill covering that series' wedges.
|
|
116
|
+
*/
|
|
117
|
+
getAreaCount(): Promise<number>;
|
|
118
|
+
/** How many value dots were drawn across every series (`showDots`). A missing value has none. */
|
|
119
|
+
getDotCount(): Promise<number>;
|
|
120
|
+
/** Whether the legend is rendered (`showLegend`, and at least one series). */
|
|
121
|
+
hasLegend(): Promise<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* The legend, as a {@link WrChartLegendHarness}: each row's name, its key and its hidden
|
|
124
|
+
* state and, with `toggleableLegend`, the toggles that show and hide a series.
|
|
125
|
+
*
|
|
126
|
+
* Throws when the chart draws no legend (`showLegend` off, or no series) rather than
|
|
127
|
+
* answering with an empty one: {@link hasLegend} is the question for that.
|
|
128
|
+
*/
|
|
129
|
+
getLegendHarness(): Promise<WrChartLegendHarness>;
|
|
130
|
+
/** Whether the hidden data table is rendered (`dataTable`). */
|
|
131
|
+
hasDataTable(): Promise<boolean>;
|
|
132
|
+
/**
|
|
133
|
+
* The data table's column headings: one per series shown, in order. Hidden series
|
|
134
|
+
* leave the table.
|
|
135
|
+
*
|
|
136
|
+
* Throws when the chart renders no table (`dataTable` off) rather than answering with
|
|
137
|
+
* no columns, which is also what a table of fully hidden series answers.
|
|
138
|
+
*/
|
|
139
|
+
getTableColumns(): Promise<string[]>;
|
|
140
|
+
/**
|
|
141
|
+
* The data table's rows, one per axis: its name and each series' own value, as a screen
|
|
142
|
+
* reader walks them. A value outside a fixed `max` is drawn on the edge and tabulated as
|
|
143
|
+
* itself, and a missing one is `''`.
|
|
144
|
+
*
|
|
145
|
+
* Throws when the chart renders no table (`dataTable` off), for the reason
|
|
146
|
+
* {@link getTableColumns} gives.
|
|
147
|
+
*/
|
|
148
|
+
getTableRows(): Promise<WrRadarChartTableRow[]>;
|
|
149
|
+
/**
|
|
150
|
+
* The drawing's diameter in pixels — `size` as the component wrote it — read off the
|
|
151
|
+
* `style` ATTRIBUTE of the surface.
|
|
152
|
+
*
|
|
153
|
+
* NOT `getCssValue()`, which is `getComputedStyle()`: a computed read answers from the
|
|
154
|
+
* LAID-OUT box, which agrees with the inline value in jsdom and disagrees in a browser,
|
|
155
|
+
* where the drawing shrinks in a narrow container and sub-pixel rounding moves the rest.
|
|
156
|
+
* A harness that answers differently in the two places it runs is worse than one that
|
|
157
|
+
* refuses.
|
|
158
|
+
*/
|
|
159
|
+
getSize(): Promise<number>;
|
|
160
|
+
private assertDataTable;
|
|
161
|
+
}
|
|
162
|
+
export type { WrRadarChartHarnessFilters, WrRadarChartPolygon, WrRadarChartTableRow };
|