ngwr 16.4.0 → 16.6.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/back-top/styles/_index.scss +6 -0
- package/breadcrumbs/styles/_rules.scss +34 -0
- package/cascader/styles/_rules.scss +7 -0
- package/charts/bar-chart/styles/_index.scss +494 -305
- package/charts/boxplot-chart/styles/_index.scss +114 -48
- package/charts/bullet-chart/styles/_index.scss +113 -42
- package/charts/calendar-heatmap/styles/_index.scss +111 -20
- package/charts/candlestick-chart/styles/_index.scss +61 -26
- package/charts/chart-legend/styles/_index.scss +120 -10
- package/charts/core/styles/_index.scss +201 -5
- package/charts/donut-chart/styles/_index.scss +76 -21
- package/charts/funnel-chart/styles/_index.scss +66 -38
- package/charts/gauge/styles/_index.scss +12 -1
- package/charts/heatmap-chart/styles/_index.scss +90 -53
- package/charts/line-chart/styles/_index.scss +143 -139
- package/charts/meter-group/styles/_index.scss +87 -25
- package/charts/radar-chart/styles/_index.scss +82 -40
- package/charts/scatter-chart/styles/_index.scss +117 -44
- package/charts/sparkline/styles/_index.scss +7 -1
- package/charts/treemap-chart/styles/_index.scss +94 -42
- package/charts/waterfall-chart/styles/_index.scss +150 -87
- package/color-picker/styles/_index.scss +7 -3
- package/copy-value/styles/_index.scss +21 -2
- package/counter/styles/_index.scss +1 -8
- package/date-picker/styles/_index.scss +15 -9
- package/date-stamp/styles/_index.scss +2 -1
- package/dialog/styles/_index.scss +43 -0
- package/drawer/styles/_index.scss +5 -1
- package/editor/styles/_index.scss +1 -8
- package/event-calendar/styles/_index.scss +2 -6
- package/fesm2022/ngwr-affix.mjs +1 -1
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-anchor.mjs +9 -2
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
- package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
- package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
- package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
- package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
- package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glow-border.mjs.map +1 -1
- package/fesm2022/ngwr-animations-gradient-flow.mjs.map +1 -1
- package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
- package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
- package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
- package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-tilt.mjs +20 -13
- package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
- package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs.mjs +40 -7
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-button.mjs +12 -3
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-carousel-testing.mjs +4 -1
- package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
- package/fesm2022/ngwr-carousel.mjs +27 -2
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader-testing.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +72 -8
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart-testing.mjs +16 -14
- package/fesm2022/ngwr-charts-bar-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +399 -141
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs +19 -5
- package/fesm2022/ngwr-charts-boxplot-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +250 -56
- package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bullet-chart.mjs +118 -18
- package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +266 -46
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs +21 -10
- package/fesm2022/ngwr-charts-candlestick-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +319 -72
- package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-chart-legend.mjs +211 -9
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
- package/fesm2022/ngwr-charts-core.mjs +311 -23
- package/fesm2022/ngwr-charts-core.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart.mjs +206 -27
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart-testing.mjs +4 -4
- package/fesm2022/ngwr-charts-funnel-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart.mjs +113 -10
- package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-gauge-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-gauge.mjs +98 -12
- package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +226 -31
- package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart-testing.mjs +16 -4
- package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +407 -172
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group-testing.mjs +4 -4
- package/fesm2022/ngwr-charts-meter-group-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +225 -31
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart-testing.mjs +2 -1
- package/fesm2022/ngwr-charts-radar-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +255 -66
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart-testing.mjs +39 -18
- package/fesm2022/ngwr-charts-scatter-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs +431 -53
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-sparkline.mjs +19 -8
- package/fesm2022/ngwr-charts-sparkline.mjs.map +1 -1
- package/fesm2022/ngwr-charts-treemap-chart.mjs +253 -44
- package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs +15 -7
- package/fesm2022/ngwr-charts-waterfall-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +151 -23
- package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox.mjs +3 -2
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +65 -5
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu-testing.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu.mjs +51 -24
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-copy-value-testing.mjs +5 -1
- package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -1
- package/fesm2022/ngwr-copy-value.mjs +38 -2
- package/fesm2022/ngwr-copy-value.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +105 -9
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +29 -11
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +9 -6
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-drawer.mjs +19 -3
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +35 -6
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +1 -0
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +20 -9
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +170 -3
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +81 -13
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ar.mjs +20 -0
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +20 -0
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +20 -0
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +20 -0
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +20 -0
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +20 -0
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +20 -0
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +20 -0
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +20 -0
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +20 -0
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +20 -0
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +20 -0
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +20 -0
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +20 -0
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +20 -0
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +20 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +20 -0
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +20 -0
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +20 -0
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +20 -0
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +20 -0
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +20 -0
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +82 -11
- package/fesm2022/ngwr-i18n.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +24 -1
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +2 -2
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +10 -2
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +20 -3
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +1 -1
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar-router.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +2 -2
- package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
- package/fesm2022/ngwr-mention.mjs +8 -0
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +9 -6
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-overlay.mjs +21 -2
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +21 -0
- package/fesm2022/ngwr-page-header.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +2 -0
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +8 -1
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm-testing.mjs +4 -1
- package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +43 -6
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +114 -15
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-qr.mjs +6 -2
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +71 -5
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-schema-form.mjs +12 -1
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +1 -3
- package/fesm2022/ngwr-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +20 -0
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +80 -9
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +16 -4
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +1 -1
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +2 -2
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +43 -7
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +2 -2
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-toast.mjs +28 -0
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +16 -11
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +49 -16
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +20 -0
- package/fesm2022/ngwr-typography.mjs.map +1 -1
- package/fesm2022/ngwr-utils-router.mjs.map +1 -1
- package/fesm2022/ngwr-utils.mjs +46 -4
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-validators.mjs +33 -1
- package/fesm2022/ngwr-validators.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-window.mjs +16 -9
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/form/styles/_index.scss +37 -0
- package/graph/styles/_index.scss +1 -9
- package/i18n/ar.json +20 -0
- package/i18n/cs.json +20 -0
- package/i18n/de.json +20 -0
- package/i18n/en.json +20 -0
- package/i18n/es.json +20 -0
- package/i18n/fr.json +20 -0
- package/i18n/he.json +20 -0
- package/i18n/hi.json +20 -0
- package/i18n/id.json +20 -0
- package/i18n/it.json +20 -0
- package/i18n/ja.json +20 -0
- package/i18n/ko.json +20 -0
- package/i18n/nl.json +20 -0
- package/i18n/pl.json +20 -0
- package/i18n/pt.json +20 -0
- package/i18n/ru.json +20 -0
- package/i18n/sv.json +20 -0
- package/i18n/tr.json +20 -0
- package/i18n/uk.json +20 -0
- package/i18n/vi.json +20 -0
- package/i18n/zh-TW.json +20 -0
- package/i18n/zh.json +20 -0
- package/image-cropper/styles/_index.scss +1 -9
- package/input-number/styles/_index.scss +7 -0
- package/layout/styles/_index.scss +13 -1
- package/llms-full.txt +17 -17
- package/llms.txt +7 -3
- package/loading-bar/styles/_rules.scss +6 -0
- package/package.json +2 -2
- package/page-header/styles/_index.scss +18 -0
- package/popconfirm/styles/_index.scss +6 -0
- package/popover/styles/_index.scss +31 -13
- package/schematics/use/symbol-map.json +3 -0
- package/segmented/styles/_index.scss +7 -0
- package/select/styles/_index.scss +7 -0
- package/sidebar/styles/_index.scss +6 -0
- package/skills/ngwr/references/catalog.md +2 -2
- package/sortable-list/styles/_rules.scss +1 -9
- package/speed-dial/styles/_index.scss +6 -0
- package/stepper/styles/_index.scss +1 -9
- package/table/styles/_index.scss +49 -0
- package/theme/_index.scss +12 -1
- package/theme/styles/_colors.scss +11 -0
- package/theme/styles/_contrast.scss +6 -0
- package/theme/styles/_index.scss +1 -0
- package/theme/styles/_mixins.scss +45 -0
- package/theme/styles/_print.scss +17 -0
- package/toast/styles/_index.scss +7 -0
- package/tour/styles/_index.scss +14 -0
- package/tree/styles/_index.scss +1 -9
- package/types/ngwr-anchor.d.ts +3 -0
- package/types/ngwr-animations-aurora.d.ts +6 -0
- package/types/ngwr-animations-blur-reveal.d.ts +6 -0
- package/types/ngwr-animations-click-sparks.d.ts +6 -0
- package/types/ngwr-animations-confetti.d.ts +6 -0
- package/types/ngwr-animations-decode.d.ts +6 -0
- package/types/ngwr-animations-destruct.d.ts +6 -0
- package/types/ngwr-animations-dot-grid.d.ts +6 -0
- package/types/ngwr-animations-falling-letters.d.ts +6 -0
- package/types/ngwr-animations-flow-lines.d.ts +6 -0
- package/types/ngwr-animations-fluid-cursor.d.ts +6 -0
- package/types/ngwr-animations-glitch.d.ts +6 -0
- package/types/ngwr-animations-glow-border.d.ts +6 -0
- package/types/ngwr-animations-gradient-flow.d.ts +6 -0
- package/types/ngwr-animations-marquee.d.ts +6 -0
- package/types/ngwr-animations-orbit.d.ts +6 -0
- package/types/ngwr-animations-reveal.d.ts +6 -0
- package/types/ngwr-animations-ripple-grid.d.ts +6 -0
- package/types/ngwr-animations-rotate-reveal.d.ts +6 -0
- package/types/ngwr-animations-shimmer.d.ts +6 -0
- package/types/ngwr-animations-spotlight.d.ts +6 -0
- package/types/ngwr-animations-thread-lines.d.ts +6 -0
- package/types/ngwr-animations-tilt.d.ts +10 -0
- package/types/ngwr-animations-typewriter.d.ts +6 -0
- package/types/ngwr-breadcrumbs.d.ts +25 -0
- package/types/ngwr-button.d.ts +23 -3
- package/types/ngwr-carousel-testing.d.ts +6 -4
- package/types/ngwr-carousel.d.ts +16 -3
- package/types/ngwr-cascader-testing.d.ts +4 -3
- package/types/ngwr-cascader.d.ts +34 -3
- package/types/ngwr-charts-bar-chart-testing.d.ts +15 -13
- package/types/ngwr-charts-bar-chart.d.ts +220 -48
- package/types/ngwr-charts-boxplot-chart-testing.d.ts +9 -2
- package/types/ngwr-charts-boxplot-chart.d.ts +110 -19
- package/types/ngwr-charts-bullet-chart.d.ts +72 -12
- package/types/ngwr-charts-calendar-heatmap.d.ts +119 -15
- package/types/ngwr-charts-candlestick-chart-testing.d.ts +19 -9
- package/types/ngwr-charts-candlestick-chart.d.ts +195 -62
- package/types/ngwr-charts-chart-legend.d.ts +142 -5
- package/types/ngwr-charts-core.d.ts +275 -21
- package/types/ngwr-charts-donut-chart-testing.d.ts +11 -5
- package/types/ngwr-charts-donut-chart.d.ts +124 -16
- package/types/ngwr-charts-funnel-chart.d.ts +62 -6
- package/types/ngwr-charts-gauge-testing.d.ts +5 -1
- package/types/ngwr-charts-gauge.d.ts +72 -10
- package/types/ngwr-charts-heatmap-chart.d.ts +103 -20
- package/types/ngwr-charts-line-chart-testing.d.ts +16 -2
- package/types/ngwr-charts-line-chart.d.ts +215 -86
- package/types/ngwr-charts-meter-group.d.ts +98 -7
- package/types/ngwr-charts-radar-chart-testing.d.ts +14 -3
- package/types/ngwr-charts-radar-chart.d.ts +148 -28
- package/types/ngwr-charts-scatter-chart-testing.d.ts +22 -10
- package/types/ngwr-charts-scatter-chart.d.ts +188 -18
- package/types/ngwr-charts-sparkline.d.ts +26 -4
- package/types/ngwr-charts-treemap-chart.d.ts +121 -23
- package/types/ngwr-charts-waterfall-chart-testing.d.ts +8 -1
- package/types/ngwr-charts-waterfall-chart.d.ts +108 -21
- package/types/ngwr-checkbox.d.ts +1 -0
- package/types/ngwr-color-picker.d.ts +28 -0
- package/types/ngwr-context-menu-testing.d.ts +10 -9
- package/types/ngwr-context-menu.d.ts +18 -1
- package/types/ngwr-copy-value.d.ts +8 -0
- package/types/ngwr-date-picker.d.ts +53 -2
- package/types/ngwr-dialog.d.ts +64 -13
- package/types/ngwr-directives.d.ts +12 -4
- package/types/ngwr-drawer.d.ts +33 -2
- package/types/ngwr-dropdown-testing.d.ts +8 -5
- package/types/ngwr-dropdown.d.ts +29 -6
- package/types/ngwr-event-calendar.d.ts +4 -0
- package/types/ngwr-form.d.ts +85 -1
- package/types/ngwr-graph.d.ts +22 -6
- package/types/ngwr-i18n.d.ts +65 -5
- package/types/ngwr-input-number.d.ts +8 -0
- package/types/ngwr-input.d.ts +7 -0
- package/types/ngwr-layout.d.ts +1 -1
- package/types/ngwr-lightbox.d.ts +15 -0
- package/types/ngwr-loading-bar-router.d.ts +6 -0
- package/types/ngwr-overlay.d.ts +16 -1
- package/types/ngwr-page-header.d.ts +23 -1
- package/types/ngwr-popconfirm-testing.d.ts +11 -2
- package/types/ngwr-popconfirm.d.ts +29 -2
- package/types/ngwr-popover.d.ts +87 -13
- package/types/ngwr-radio.d.ts +47 -5
- package/types/ngwr-segmented.d.ts +7 -0
- package/types/ngwr-select.d.ts +57 -13
- package/types/ngwr-sortable-list.d.ts +20 -7
- package/types/ngwr-table.d.ts +59 -6
- package/types/ngwr-tabs-router.d.ts +6 -0
- package/types/ngwr-toast.d.ts +11 -0
- package/types/ngwr-tour.d.ts +21 -3
- package/types/ngwr-tree-testing.d.ts +1 -2
- package/types/ngwr-tree.d.ts +33 -2
- package/types/ngwr-typography.d.ts +7 -0
- package/types/ngwr-utils-router.d.ts +6 -0
- package/types/ngwr-utils.d.ts +56 -2
- package/types/ngwr-validators.d.ts +49 -1
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window.d.ts +14 -11
- package/typography/styles/_index.scss +4 -0
- package/window/styles/_index.scss +6 -19
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { WrChartLegendItem } from "ngwr/charts/chart-legend";
|
|
2
|
+
import { WrChartLegendItem, WrChartLegendPosition } from "ngwr/charts/chart-legend";
|
|
3
3
|
import { WrChartMarkerShape, WrChartTableData } from "ngwr/charts/core";
|
|
4
4
|
/** One bar's worth of data, for a `<wr-bar-chart>` drawn from `data`. */
|
|
5
5
|
interface WrBarChartDatum {
|
|
@@ -65,8 +65,14 @@ interface SeriesBar {
|
|
|
65
65
|
/** The series' position in `series`, which is what the bar is tracked by. */
|
|
66
66
|
readonly series: number;
|
|
67
67
|
readonly color: string;
|
|
68
|
-
/** The
|
|
68
|
+
/** The series' own dash, `''` for a solid one: the `stroke-dasharray` its key in the legend had before bars were solid. */
|
|
69
69
|
readonly dash: string;
|
|
70
|
+
/**
|
|
71
|
+
* Under `stacked`, how far down its side's paint order the bar sits, as a `z-index`: the
|
|
72
|
+
* bar nearest zero is on top, and each one past it under the one before, since every
|
|
73
|
+
* bar of a pile is drawn from zero to its own end. `null` side by side.
|
|
74
|
+
*/
|
|
75
|
+
readonly layer: number | null;
|
|
70
76
|
/** Where the bar starts along the value axis, as a share of it from its minimum. */
|
|
71
77
|
readonly start: number;
|
|
72
78
|
/** How much of the value axis the bar covers. */
|
|
@@ -93,13 +99,26 @@ interface EndLabel {
|
|
|
93
99
|
*/
|
|
94
100
|
interface Lane {
|
|
95
101
|
readonly key: number;
|
|
96
|
-
|
|
102
|
+
/** The bars that grow up from zero (or along from it), nearest zero first. */
|
|
103
|
+
readonly up: readonly SeriesBar[];
|
|
104
|
+
/** The bars that grow down from zero, nearest zero first. */
|
|
105
|
+
readonly down: readonly SeriesBar[];
|
|
97
106
|
readonly ends: readonly EndLabel[];
|
|
98
107
|
}
|
|
99
108
|
/** One category drawn from `series`: its name and its lanes. */
|
|
100
109
|
interface Category {
|
|
101
110
|
readonly label: string;
|
|
102
111
|
readonly lanes: readonly Lane[];
|
|
112
|
+
/** How far the category's bars reach along the value axis, as shares of it: what its tooltip points at. */
|
|
113
|
+
readonly from: number;
|
|
114
|
+
readonly to: number;
|
|
115
|
+
}
|
|
116
|
+
/** One tick of the value axis: its place, and the label printed beside it. */
|
|
117
|
+
interface Tick {
|
|
118
|
+
readonly value: number;
|
|
119
|
+
/** Where the tick is along the value axis, as a share of it from its minimum. */
|
|
120
|
+
readonly at: number;
|
|
121
|
+
readonly text: string;
|
|
103
122
|
}
|
|
104
123
|
/**
|
|
105
124
|
* Where something of a line sits in the line's own box, as percentages of it: `x` from
|
|
@@ -117,11 +136,6 @@ interface LinePoint extends LinePosition {
|
|
|
117
136
|
/** The category's name and the line's value there: the point's accessible name. */
|
|
118
137
|
readonly name: string;
|
|
119
138
|
}
|
|
120
|
-
/** One straight run of a line, between the points of two neighbouring categories. */
|
|
121
|
-
interface LineSegment {
|
|
122
|
-
readonly from: LinePosition;
|
|
123
|
-
readonly to: LinePosition;
|
|
124
|
-
}
|
|
125
139
|
/** One line of `lines`, as the chart draws it. */
|
|
126
140
|
interface LineLayer {
|
|
127
141
|
/** The line's position in `lines`, which is what it is tracked by. */
|
|
@@ -135,15 +149,25 @@ interface LineLayer {
|
|
|
135
149
|
readonly d: string;
|
|
136
150
|
/** How many categories the line's box spans, which the stylesheet sizes the box from. */
|
|
137
151
|
readonly count: number;
|
|
138
|
-
|
|
152
|
+
/**
|
|
153
|
+
* The whole line as one path, in the 0 to 100 box the stylesheet stretches over the
|
|
154
|
+
* line's own: a move to the first point of each run and a line to each one after it.
|
|
155
|
+
* `''` for a line of lone points.
|
|
156
|
+
*/
|
|
157
|
+
readonly path: string;
|
|
158
|
+
/** How many straight runs `path` holds: one fewer than its points, less one for each break. */
|
|
159
|
+
readonly segments: number;
|
|
139
160
|
readonly points: readonly LinePoint[];
|
|
161
|
+
/** The line's row in the legend, which is what the hover dims by. */
|
|
162
|
+
readonly key: number;
|
|
140
163
|
}
|
|
141
164
|
/**
|
|
142
165
|
* Bar chart. Pass `[data]` for one series — each datum becomes a bar — or `[series]`
|
|
143
166
|
* with `[categories]` for several, drawn side by side or, with `stacked`, piled on each
|
|
144
167
|
* other. Vertical by default; `orientation="horizontal"` lays the bars along the inline
|
|
145
|
-
* axis with the category names in a gutter beside them.
|
|
146
|
-
* printed at the bars
|
|
168
|
+
* axis with the category names in a gutter beside them. A grid and a value axis by
|
|
169
|
+
* default (`showGrid`, `showAxis`), and the values printed at the bars on request
|
|
170
|
+
* (`showValues`). No external dependency.
|
|
147
171
|
*
|
|
148
172
|
* @example
|
|
149
173
|
* ```html
|
|
@@ -166,11 +190,21 @@ interface LineLayer {
|
|
|
166
190
|
* **Several series.** Every category gets a bar per series shown, in series order —
|
|
167
191
|
* or, with `stacked`, one pile, positive values up from zero and negative ones down
|
|
168
192
|
* from it, each sign on its own, as `wr-line-chart` stacks. A negative value draws
|
|
169
|
-
* below the zero line, which `series` draws wherever zero falls. Each series
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
193
|
+
* below the zero line, which `series` draws wherever zero falls. Each series is a solid
|
|
194
|
+
* fill in the next colour of the chart palette (`--wr-chart-1` to `--wr-chart-8`), whose
|
|
195
|
+
* neighbours alternate between a deep and a mid tone, so two series side by side differ
|
|
196
|
+
* in lightness as well as in hue; the segments of a pile are parted by a 1px line in
|
|
197
|
+
* `--wr-chart-separator`. Hovering a bar or a legend row dims every other series.
|
|
198
|
+
*
|
|
199
|
+
* **Grid, axis and values.** The value axis is snapped to round numbers and drawn as
|
|
200
|
+
* gridlines across the plot (`showGrid`) with a scale beside it (`showAxis`), both on by
|
|
201
|
+
* default; `showValues` prints each value past the end of its bar, and is off by
|
|
202
|
+
* default, since the scale already reads them. With the grid and the axis both off the
|
|
203
|
+
* axis is fitted to the data instead, so the longest bar reaches the end of the plot.
|
|
204
|
+
*
|
|
205
|
+
* **Empty, loading, error.** With nothing to draw the chart keeps its frame and says
|
|
206
|
+
* "No data"; `loading` and `error` put their own message there in place of the bars.
|
|
207
|
+
* Each message has a `*Label` input over the catalog's `chart.*` keys.
|
|
174
208
|
*
|
|
175
209
|
* **`data` is unchanged**: one series, a bar per datum, a negative value drawn as an
|
|
176
210
|
* empty bar with its number still printed — except beside `lines`, whose axis can reach
|
|
@@ -292,14 +326,33 @@ export declare class WrBarChart {
|
|
|
292
326
|
private readonly datumText;
|
|
293
327
|
/** A category with no name of its own, by its position from 1 in the reader's own digits. */
|
|
294
328
|
private readonly ordinals;
|
|
295
|
-
/**
|
|
329
|
+
/**
|
|
330
|
+
* Default bar colour when a datum has none: the chart palette's first colour, which is
|
|
331
|
+
* the brand colour unless `--wr-chart-1` says otherwise. `data` only.
|
|
332
|
+
* @default 'var(--wr-chart-1)'
|
|
333
|
+
*/
|
|
296
334
|
readonly color: import("@angular/core").InputSignal<string>;
|
|
335
|
+
/**
|
|
336
|
+
* Draw the gridlines: one across the plot at every tick of the value axis, level
|
|
337
|
+
* standing up and upright lying down. Their colour is `--wr-bar-chart-grid-color`,
|
|
338
|
+
* which defaults to the chart theme's `--wr-chart-grid`. With the grid or the axis on,
|
|
339
|
+
* the value axis is snapped to round numbers; with both off it is fitted to the data.
|
|
340
|
+
* @default true
|
|
341
|
+
*/
|
|
342
|
+
readonly showGrid: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
343
|
+
/**
|
|
344
|
+
* Print the value axis' scale: a number at every tick, in a gutter at inline start
|
|
345
|
+
* standing up and under the plot lying down, written compact (`1.2K`) or through
|
|
346
|
+
* `valueFormat`. Decoration: the bars' names carry the values. @default true
|
|
347
|
+
*/
|
|
348
|
+
readonly showAxis: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
297
349
|
/**
|
|
298
350
|
* Show value labels at each bar, past its end: above a bar standing up, beyond its end
|
|
299
351
|
* lying down — below (or before) a negative `series` bar, and the pile's total for each
|
|
300
352
|
* sign with `stacked`. A value too wide for a `series` bar standing up is left out
|
|
301
353
|
* rather than cut, since a cut number reads as another one; the tooltip and each bar's
|
|
302
|
-
* name carry it whole.
|
|
354
|
+
* name carry it whole. Off by default, since the axis already reads the values.
|
|
355
|
+
* @default false
|
|
303
356
|
*/
|
|
304
357
|
readonly showValues: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
305
358
|
/**
|
|
@@ -317,11 +370,42 @@ export declare class WrBarChart {
|
|
|
317
370
|
/**
|
|
318
371
|
* Show a tooltip with the bar's label and value on hover — with `series`, the
|
|
319
372
|
* category's name and a row per series shown. Pointer only — the accessible names
|
|
320
|
-
* already carry every value.
|
|
373
|
+
* already carry every value.
|
|
374
|
+
*
|
|
375
|
+
* By default the pointer passes under the chip to the chart, so the next section
|
|
376
|
+
* answers at once and the chip closes off the chart; `'hoverable'` lets the pointer
|
|
377
|
+
* rest on the chip instead, as WCAG 1.4.13 asks of a hint. @default true
|
|
378
|
+
*/
|
|
379
|
+
readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean | "hoverable", unknown>;
|
|
380
|
+
/**
|
|
381
|
+
* Show the legend. With `series`, or beside `lines`, which it then lists. `'auto'`
|
|
382
|
+
* shows it when there is something to tell apart - two series or more, or any line -
|
|
383
|
+
* and leaves it out for a single series, which has nothing to key; `true` shows it
|
|
384
|
+
* for one series too. @default 'auto'
|
|
385
|
+
*/
|
|
386
|
+
readonly showLegend: import("@angular/core").InputSignalWithTransform<boolean | "auto", unknown>;
|
|
387
|
+
/**
|
|
388
|
+
* Where the legend sits: `bottom` or `top` of the chart as a wrapping row, `start` or
|
|
389
|
+
* `end` of it as a column, or `none` for no legend at all - `hiddenSeries` and
|
|
390
|
+
* `hiddenLines` still hide a series from outside. @default 'bottom'
|
|
321
391
|
*/
|
|
322
|
-
readonly
|
|
323
|
-
/**
|
|
324
|
-
|
|
392
|
+
readonly legendPosition: import("@angular/core").InputSignal<WrChartLegendPosition>;
|
|
393
|
+
/**
|
|
394
|
+
* A request for the chart's data is in flight: the bars give way to the loading
|
|
395
|
+
* message, over the grid and the axis the chart had. @default false
|
|
396
|
+
*/
|
|
397
|
+
readonly loading: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
398
|
+
/**
|
|
399
|
+
* The chart's data failed to load: the bars give way to the error message. `loading`
|
|
400
|
+
* wins while both are set. @default false
|
|
401
|
+
*/
|
|
402
|
+
readonly error: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
403
|
+
/** The message shown when there is nothing to draw. Falls back to `chart.empty`, then `'No data'`. */
|
|
404
|
+
readonly emptyLabel: import("@angular/core").InputSignal<string | null>;
|
|
405
|
+
/** The message shown while `loading`. Falls back to `chart.loading`, then `'Loading…'`. */
|
|
406
|
+
readonly loadingLabel: import("@angular/core").InputSignal<string | null>;
|
|
407
|
+
/** The message shown on `error`. Falls back to `chart.error`, then `'Could not load'`. */
|
|
408
|
+
readonly errorLabel: import("@angular/core").InputSignal<string | null>;
|
|
325
409
|
/**
|
|
326
410
|
* Make each legend row a toggle button that shows and hides its series, through
|
|
327
411
|
* `hiddenSeries` — or its line, through `hiddenLines`. A row is a
|
|
@@ -377,10 +461,15 @@ export declare class WrBarChart {
|
|
|
377
461
|
* abbreviate.
|
|
378
462
|
*/
|
|
379
463
|
private readonly numbers;
|
|
380
|
-
private readonly
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
464
|
+
private readonly host;
|
|
465
|
+
/** The track every bar, the grid and each line is drawn in: the box of the value axis. */
|
|
466
|
+
private readonly trackEl;
|
|
467
|
+
/** The row of category names under the bars, standing up: what the names are thinned against. */
|
|
468
|
+
private readonly labelsEl;
|
|
469
|
+
/** How wide the row of category names is, in px: 0 until it is laid out, and lying down. */
|
|
470
|
+
private readonly labelsSize;
|
|
471
|
+
/** How wide the longest category name is, in px: 0 until it is measured. */
|
|
472
|
+
private readonly labelWidth;
|
|
384
473
|
constructor();
|
|
385
474
|
/** Whether the chart draws `series` rather than `data`. */
|
|
386
475
|
protected readonly seriesMode: import("@angular/core").Signal<boolean>;
|
|
@@ -425,15 +514,15 @@ export declare class WrBarChart {
|
|
|
425
514
|
text: string;
|
|
426
515
|
color: string;
|
|
427
516
|
/**
|
|
428
|
-
*
|
|
429
|
-
* the
|
|
517
|
+
* How much of the value axis the bar covers, from 0 to 1. The stylesheet draws
|
|
518
|
+
* the bar from it and from `start`, as a transform.
|
|
430
519
|
*/
|
|
431
520
|
share: number;
|
|
432
521
|
/** Whether the bar hangs below zero, beside `lines`: its value is printed past its lower end. */
|
|
433
522
|
below: boolean;
|
|
434
523
|
/**
|
|
435
524
|
* Where the bar starts along the value axis, from its minimum: zero, or the bar's
|
|
436
|
-
* own end for one below it.
|
|
525
|
+
* own end for one below it.
|
|
437
526
|
*/
|
|
438
527
|
start: number;
|
|
439
528
|
/** Where the bar ends along the value axis, from its minimum: what the value printed past it is placed by. */
|
|
@@ -472,8 +561,23 @@ export declare class WrBarChart {
|
|
|
472
561
|
* to 1.
|
|
473
562
|
*/
|
|
474
563
|
private readonly seriesScale;
|
|
475
|
-
/**
|
|
564
|
+
/**
|
|
565
|
+
* The value axis the chart draws on: `series`' or `data`'s, and the ticks its grid and
|
|
566
|
+
* its scale are drawn at.
|
|
567
|
+
*
|
|
568
|
+
* With the grid or the axis shown, the ends are snapped outward to a round step (1, 2,
|
|
569
|
+
* 2.5 or 5 times a power of ten), so every gridline is a number a reader can do
|
|
570
|
+
* arithmetic against. The top stops at the data's peak when that is already a tick: a
|
|
571
|
+
* bar ending on the top gridline is not cut off, the way a line ending on the frame
|
|
572
|
+
* reads. An explicit `max` is the top as given, with the ticks that fit under it. With
|
|
573
|
+
* neither shown there is nothing to snap for, and the axis is the data's own extent,
|
|
574
|
+
* so the longest bar reaches the end of the plot.
|
|
575
|
+
*/
|
|
476
576
|
private readonly scale;
|
|
577
|
+
/** The ticks of the value axis, from the top down: where each is, and the label beside it. */
|
|
578
|
+
protected readonly ticks: import("@angular/core").Signal<readonly Tick[]>;
|
|
579
|
+
/** The longest tick labels, as hidden copies the axis gutter takes its width from. */
|
|
580
|
+
protected readonly tickProbes: import("@angular/core").Signal<string[]>;
|
|
477
581
|
/** A value's place along the value axis, as a share of it from its minimum, held to the axis. */
|
|
478
582
|
private at;
|
|
479
583
|
/**
|
|
@@ -492,14 +596,23 @@ export declare class WrBarChart {
|
|
|
492
596
|
*/
|
|
493
597
|
protected readonly zero: import("@angular/core").Signal<number>;
|
|
494
598
|
/**
|
|
495
|
-
* The values printed past
|
|
496
|
-
*
|
|
497
|
-
*
|
|
599
|
+
* The longest values printed past each end of the axis: the room the plot keeps beyond
|
|
600
|
+
* that end is a hidden copy of these, so it is as large as the largest, in the value's
|
|
601
|
+
* own font. The few longest by length, not every value: ten thousand bars used to
|
|
602
|
+
* keep ten thousand hidden copies to learn the width of one.
|
|
498
603
|
*/
|
|
499
604
|
protected readonly rooms: import("@angular/core").Signal<{
|
|
500
605
|
max: string[];
|
|
501
606
|
min: string[];
|
|
502
607
|
}>;
|
|
608
|
+
/** The longest category names, as hidden copies the label row is thinned against. */
|
|
609
|
+
protected readonly labelProbes: import("@angular/core").Signal<string[]>;
|
|
610
|
+
/**
|
|
611
|
+
* How many categories each printed name stands for, standing up: 1 while the longest
|
|
612
|
+
* name fits its own band, 2 to print every second one, and so on, so a long list
|
|
613
|
+
* keeps whole names rather than a row of ellipses. 1 until the row is measured.
|
|
614
|
+
*/
|
|
615
|
+
protected readonly labelStep: import("@angular/core").Signal<number>;
|
|
503
616
|
/**
|
|
504
617
|
* Every line shown, as the chart draws it: its segments and its points, placed in the
|
|
505
618
|
* line's own box. The box runs from the middle of the first category to the middle of
|
|
@@ -518,10 +631,24 @@ export declare class WrBarChart {
|
|
|
518
631
|
*/
|
|
519
632
|
protected readonly lineReach: import("@angular/core").Signal<number>;
|
|
520
633
|
/**
|
|
521
|
-
* The legend's rows: every series, keyed by its
|
|
522
|
-
* dash and its marker
|
|
634
|
+
* The legend's rows: every series, keyed by a dot in its colour, then every line, keyed
|
|
635
|
+
* by its dash and its marker - hidden ones included.
|
|
523
636
|
*/
|
|
524
637
|
protected readonly legendItems: import("@angular/core").Signal<readonly WrChartLegendItem[]>;
|
|
638
|
+
/**
|
|
639
|
+
* Whether the chart draws its legend: with `series` or beside `lines`, unless
|
|
640
|
+
* `legendPosition` is `none` or `showLegend` is off. Under `showLegend="auto"` a single
|
|
641
|
+
* series with no line has nothing to tell apart, and draws none.
|
|
642
|
+
*/
|
|
643
|
+
protected readonly legendShown: import("@angular/core").Signal<boolean>;
|
|
644
|
+
/** Whether the legend comes before the plot, in the DOM as on screen: above it, or at inline start. */
|
|
645
|
+
protected readonly legendFirst: import("@angular/core").Signal<boolean>;
|
|
646
|
+
/** Whether the legend sits beside the plot rather than above or below it. */
|
|
647
|
+
protected readonly legendSide: import("@angular/core").Signal<boolean>;
|
|
648
|
+
/** Whether the chart has nothing to draw: no datum, or no category. */
|
|
649
|
+
private readonly empty;
|
|
650
|
+
/** What the chart shows in place of its bars, or `null` while it draws them. */
|
|
651
|
+
protected readonly state: import("@angular/core").Signal<import("ngwr/charts/core").WrChartStateView | null>;
|
|
525
652
|
/**
|
|
526
653
|
* The legend's hidden rows. Its rows are the series and then the lines, so a hidden
|
|
527
654
|
* line is its position in `lines` past the series' count. A position `hiddenSeries`
|
|
@@ -544,30 +671,35 @@ export declare class WrBarChart {
|
|
|
544
671
|
* One tooltip for the whole chart, with the whole figure — the label above the bar
|
|
545
672
|
* may be compact, and the tooltip is where a reader goes for the exact one.
|
|
546
673
|
*
|
|
547
|
-
* With `data` it points at the
|
|
548
|
-
* no room
|
|
549
|
-
* would put the chip above every bar alike. A bar with nothing to draw (zero, or a
|
|
550
|
-
* negative value without `lines`)
|
|
551
|
-
*
|
|
552
|
-
* The bar is the anchor element itself, so an open chip follows it through the
|
|
553
|
-
* height transition a data change starts.
|
|
674
|
+
* With `data` it points at the END of the bar - above it standing up, below it when
|
|
675
|
+
* there is no room - rather than at the column, which is the full height of the plot
|
|
676
|
+
* and would put the chip above every bar alike. A bar with nothing to draw (zero, or a
|
|
677
|
+
* negative value without `lines`) points at the zero line; a missing value opens none,
|
|
678
|
+
* unless a line has a value in its category.
|
|
554
679
|
*
|
|
555
680
|
* With `series` it is one chip per category: the category's name and a row per series
|
|
556
|
-
* shown with a value there, pointing at the
|
|
557
|
-
*
|
|
681
|
+
* shown with a value there, pointing at the end of the longest of its bars. A category
|
|
682
|
+
* no series shown has a value in opens none.
|
|
558
683
|
*
|
|
559
684
|
* Each line shown with a value in the category adds a row after the bars', and the box
|
|
560
685
|
* the chip points at takes in the line's point too, so the chip covers neither. Beside
|
|
561
686
|
* `data`, the chip keeps the bar's label and value as its heading, over the lines' rows.
|
|
687
|
+
*
|
|
688
|
+
* The box is worked out from the shares the chart wrote and the track's own box, not
|
|
689
|
+
* read off the bars: a bar is moved by a transform, and its box mid-transition is not
|
|
690
|
+
* where it is going. Two measurements per hover, however many bars the category has.
|
|
562
691
|
*/
|
|
563
692
|
protected readonly tip: import("ngwr/popover").WrChartTooltip;
|
|
564
693
|
private barTip;
|
|
565
694
|
/** A row per line shown with a value in category `index`, after the bars' rows. */
|
|
566
695
|
private lineRows;
|
|
567
|
-
/**
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
696
|
+
/**
|
|
697
|
+
* The box round a stretch of the value axis in category `index`, in viewport px, as a
|
|
698
|
+
* tooltip anchor: across, the category's own box; along the value axis, from share
|
|
699
|
+
* `from` to share `to` of the track, widened to every line's point in the category and
|
|
700
|
+
* by how far a marker reaches past its point. `null` while the category is not drawn.
|
|
701
|
+
*/
|
|
702
|
+
private sectionBox;
|
|
571
703
|
private categoryTip;
|
|
572
704
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrBarChart, never>;
|
|
573
705
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrBarChart, "wr-bar-chart", never, {
|
|
@@ -611,6 +743,16 @@ export declare class WrBarChart {
|
|
|
611
743
|
"required": false;
|
|
612
744
|
"isSignal": true;
|
|
613
745
|
};
|
|
746
|
+
"showGrid": {
|
|
747
|
+
"alias": "showGrid";
|
|
748
|
+
"required": false;
|
|
749
|
+
"isSignal": true;
|
|
750
|
+
};
|
|
751
|
+
"showAxis": {
|
|
752
|
+
"alias": "showAxis";
|
|
753
|
+
"required": false;
|
|
754
|
+
"isSignal": true;
|
|
755
|
+
};
|
|
614
756
|
"showValues": {
|
|
615
757
|
"alias": "showValues";
|
|
616
758
|
"required": false;
|
|
@@ -636,6 +778,36 @@ export declare class WrBarChart {
|
|
|
636
778
|
"required": false;
|
|
637
779
|
"isSignal": true;
|
|
638
780
|
};
|
|
781
|
+
"legendPosition": {
|
|
782
|
+
"alias": "legendPosition";
|
|
783
|
+
"required": false;
|
|
784
|
+
"isSignal": true;
|
|
785
|
+
};
|
|
786
|
+
"loading": {
|
|
787
|
+
"alias": "loading";
|
|
788
|
+
"required": false;
|
|
789
|
+
"isSignal": true;
|
|
790
|
+
};
|
|
791
|
+
"error": {
|
|
792
|
+
"alias": "error";
|
|
793
|
+
"required": false;
|
|
794
|
+
"isSignal": true;
|
|
795
|
+
};
|
|
796
|
+
"emptyLabel": {
|
|
797
|
+
"alias": "emptyLabel";
|
|
798
|
+
"required": false;
|
|
799
|
+
"isSignal": true;
|
|
800
|
+
};
|
|
801
|
+
"loadingLabel": {
|
|
802
|
+
"alias": "loadingLabel";
|
|
803
|
+
"required": false;
|
|
804
|
+
"isSignal": true;
|
|
805
|
+
};
|
|
806
|
+
"errorLabel": {
|
|
807
|
+
"alias": "errorLabel";
|
|
808
|
+
"required": false;
|
|
809
|
+
"isSignal": true;
|
|
810
|
+
};
|
|
639
811
|
"toggleableLegend": {
|
|
640
812
|
"alias": "toggleableLegend";
|
|
641
813
|
"required": false;
|
|
@@ -15,7 +15,7 @@ interface WrBoxplotChartHarnessStats {
|
|
|
15
15
|
readonly q3: number;
|
|
16
16
|
/** Where the upper whisker ends. */
|
|
17
17
|
readonly max: number;
|
|
18
|
-
/** The outliers drawn, ascending. */
|
|
18
|
+
/** The outliers drawn, ascending: a group with more than a hundred on one side of its box draws a sample of them. */
|
|
19
19
|
readonly outliers: readonly number[];
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
@@ -128,7 +128,14 @@ export declare class WrBoxplotChartHarness extends ComponentHarness {
|
|
|
128
128
|
getGroups(): Promise<WrBoxplotChartHarnessGroup[]>;
|
|
129
129
|
/** Whether the gridlines are drawn (`showGrid`). */
|
|
130
130
|
hasGrid(): Promise<boolean>;
|
|
131
|
-
/**
|
|
131
|
+
/** Whether the value axis' scale is printed beside the plot (`showAxis`). */
|
|
132
|
+
hasAxis(): Promise<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* The message the chart shows in place of its boxes: "No data" with nothing to draw, or
|
|
135
|
+
* the loading or error message. `null` while it draws its boxes.
|
|
136
|
+
*/
|
|
137
|
+
getStateLabel(): Promise<string | null>;
|
|
138
|
+
/** The value axis' tick labels, top to bottom; `[]` with `showAxis` off. */
|
|
132
139
|
getYTicks(): Promise<string[]>;
|
|
133
140
|
/**
|
|
134
141
|
* The axes' names as drawn. The chart draws a name only when `xLabel` or `yLabel` is
|