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
|
@@ -38,17 +38,17 @@ interface WrCandlestickDatum {
|
|
|
38
38
|
*/
|
|
39
39
|
readonly close: number;
|
|
40
40
|
}
|
|
41
|
-
/** One candle as the chart draws it:
|
|
41
|
+
/** One candle as the chart draws it: where it sits, and what it stands for. */
|
|
42
42
|
interface DrawnCandle {
|
|
43
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* The position in `data` of its period, or of the first of the periods merged into it:
|
|
45
|
+
* its slot on the x axis and what it is tracked by.
|
|
46
|
+
*/
|
|
44
47
|
readonly index: number;
|
|
45
|
-
|
|
46
|
-
readonly
|
|
47
|
-
|
|
48
|
-
readonly
|
|
49
|
-
readonly close: number;
|
|
50
|
-
/** Whether it closed at or above its open: drawn hollow in the increase colour, else filled in the decrease one. */
|
|
51
|
-
readonly increase: boolean;
|
|
48
|
+
/** Its classes, by its direction: the increase colour for a close at or above the open, else the decrease one. */
|
|
49
|
+
readonly classes: string;
|
|
50
|
+
/** Its position and its four prices, `index open high low close`: what the test harness reads. */
|
|
51
|
+
readonly figures: string;
|
|
52
52
|
/** Its centre, as a percentage of the drawing's width from the left. */
|
|
53
53
|
readonly left: number;
|
|
54
54
|
/** Its top — the higher of the high and the body — as a percentage of the drawing's height from the top. */
|
|
@@ -77,28 +77,34 @@ interface DrawnCandle {
|
|
|
77
77
|
* />
|
|
78
78
|
* ```
|
|
79
79
|
*
|
|
80
|
-
* **A rise and a fall
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* rather than as a line whose direction only its colour would tell.
|
|
80
|
+
* **A rise and a fall.** A rising candle, one that closed at or above its open, is drawn
|
|
81
|
+
* in the increase colour, success by default; a falling one in the decrease colour,
|
|
82
|
+
* danger by default - the words, the modifiers and the hooks the waterfall chart uses
|
|
83
|
+
* for a change up and a change down. Both bodies are SOLID: a hollow rising body was two
|
|
84
|
+
* 1px edges, which read thin beside every other chart's marks. The two intents sit
|
|
85
|
+
* within 1.004:1 of each other in luminance, so on the drawing alone the direction is
|
|
86
|
+
* colour; the tooltip gives the open and the close, `dataTable` gives every price, and
|
|
87
|
+
* `hollow` draws a rising body as an outline again, the cue that survives greyscale and
|
|
88
|
+
* print. `increaseColor` and `decreaseColor` swap the colours, for a market that draws
|
|
89
|
+
* rises in red. Every body is drawn at least 4px tall (5px while dense), growing into its
|
|
90
|
+
* own wicks, so the high and the low stay put and a candle that barely moved is still a
|
|
91
|
+
* body rather than a line.
|
|
93
92
|
*
|
|
94
93
|
* **Many candles thin out rather than pile up.** A body takes 70% of its slot, between
|
|
95
94
|
* 1px and `--wr-candlestick-chart-body-max-width`, so the gaps close as the candles
|
|
96
|
-
* crowd. Once a body is under 4px wide
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
95
|
+
* crowd. Once a body is under 4px wide the chart is drawn `--dense`, which under
|
|
96
|
+
* `hollow` dots a rising body rather than outlining it. Past two candles a pixel the
|
|
97
|
+
* periods are merged (`decimate`, on by default): each drawn candle then stands for a
|
|
98
|
+
* run of periods - the open of the first, the close of the last, the highest high and
|
|
99
|
+
* the lowest low - one every two pixels, while the tooltip and the data table keep every
|
|
100
|
+
* period. The x labels are thinned to every n-th, the smallest n that keeps the widest
|
|
101
|
+
* label clear of its neighbours. All of it is decided on the drawing's measured width,
|
|
102
|
+
* after render, so the server and the first paint assume a 560px drawing.
|
|
103
|
+
*
|
|
104
|
+
* **Grid, axis and states.** Gridlines cross the plot at every tick of the price axis
|
|
105
|
+
* (`showGrid`) with the scale beside it (`showAxis`), both on by default. With nothing
|
|
106
|
+
* to draw the chart keeps that frame and says "No data"; `loading` and `error` put
|
|
107
|
+
* their own message there in place of the candles.
|
|
102
108
|
*
|
|
103
109
|
* The y axis is fitted to the lows and highs shown with no zero forced in, since a price
|
|
104
110
|
* has no baseline, and snapped outward to a readable step, so no wick ends on the frame.
|
|
@@ -125,14 +131,14 @@ export declare class WrCandlestickChart {
|
|
|
125
131
|
protected readonly resolvedAriaLabel: import("@angular/core").Signal<string>;
|
|
126
132
|
/**
|
|
127
133
|
* The colour of a rising candle, any CSS colour. `null` keeps
|
|
128
|
-
* `--wr-candlestick-chart-increase-color`, which is `var(--wr-color-success)`.
|
|
129
|
-
*
|
|
134
|
+
* `--wr-candlestick-chart-increase-color`, which is `var(--wr-color-success)`.
|
|
135
|
+
* @default null
|
|
130
136
|
*/
|
|
131
137
|
readonly increaseColor: import("@angular/core").InputSignal<string | null>;
|
|
132
138
|
/**
|
|
133
139
|
* The colour of a falling candle, any CSS colour. `null` keeps
|
|
134
|
-
* `--wr-candlestick-chart-decrease-color`, which is `var(--wr-color-danger)`.
|
|
135
|
-
*
|
|
140
|
+
* `--wr-candlestick-chart-decrease-color`, which is `var(--wr-color-danger)`.
|
|
141
|
+
* @default null
|
|
136
142
|
*/
|
|
137
143
|
readonly decreaseColor: import("@angular/core").InputSignal<string | null>;
|
|
138
144
|
/**
|
|
@@ -149,12 +155,59 @@ export declare class WrCandlestickChart {
|
|
|
149
155
|
/** The plot's height in px, at least 80. @default 240 */
|
|
150
156
|
readonly height: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
151
157
|
/**
|
|
152
|
-
*
|
|
153
|
-
*
|
|
158
|
+
* Draw the gridlines: one across the plot at every tick of the price axis. Their colour
|
|
159
|
+
* is `--wr-candlestick-chart-grid-color`, which defaults to the chart theme's
|
|
160
|
+
* `--wr-chart-grid`. @default true
|
|
154
161
|
*/
|
|
155
162
|
readonly showGrid: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
156
|
-
/**
|
|
157
|
-
|
|
163
|
+
/**
|
|
164
|
+
* Draw the price axis' scale: a number beside the plot at every tick. The period labels
|
|
165
|
+
* under the candles are the time axis, so they stay either way, as the line chart's
|
|
166
|
+
* `xLabels` do. @default true
|
|
167
|
+
*/
|
|
168
|
+
readonly showAxis: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
169
|
+
/**
|
|
170
|
+
* Draw a rising body as an outline rather than solid, so a rise and a fall are told
|
|
171
|
+
* apart by fill as well as by colour: the cue that survives greyscale, print and
|
|
172
|
+
* red-green colour blindness. A body too narrow to show an inside (under 4px) is dotted
|
|
173
|
+
* instead. A falling body is solid either way. @default false
|
|
174
|
+
*/
|
|
175
|
+
readonly hollow: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
176
|
+
/**
|
|
177
|
+
* Merge the periods once there are more than two a pixel of the drawing: each drawn
|
|
178
|
+
* candle then stands for a run of them, with the open of the first, the close of the
|
|
179
|
+
* last, the highest high and the lowest low, so the chart's extremes, its first open
|
|
180
|
+
* and its last close are all still drawn, at one candle every two pixels instead of
|
|
181
|
+
* two elements a period. The tooltip reads the period under the pointer and the data
|
|
182
|
+
* table lists every one, merged or not. Off draws a candle per period whatever their
|
|
183
|
+
* number. @default true
|
|
184
|
+
*/
|
|
185
|
+
readonly decimate: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
186
|
+
/**
|
|
187
|
+
* A request for the chart's data is in flight: the candles give way to the loading
|
|
188
|
+
* message, over the grid and the axis the chart keeps. @default false
|
|
189
|
+
*/
|
|
190
|
+
readonly loading: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
191
|
+
/**
|
|
192
|
+
* The chart's data failed to load: the candles give way to the error message. `loading`
|
|
193
|
+
* comes first when both are set. @default false
|
|
194
|
+
*/
|
|
195
|
+
readonly error: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
196
|
+
/** The message shown with nothing to draw. Falls back to `chart.empty`, then `'No data'`. */
|
|
197
|
+
readonly emptyLabel: import("@angular/core").InputSignal<string | null>;
|
|
198
|
+
/** The message shown while `loading`. Falls back to `chart.loading`, then `'Loading…'`. */
|
|
199
|
+
readonly loadingLabel: import("@angular/core").InputSignal<string | null>;
|
|
200
|
+
/** The message shown on `error`. Falls back to `chart.error`, then `'Could not load'`. */
|
|
201
|
+
readonly errorLabel: import("@angular/core").InputSignal<string | null>;
|
|
202
|
+
/**
|
|
203
|
+
* Show a tooltip with the period's open, high, low and close under the pointer.
|
|
204
|
+
* Pointer only.
|
|
205
|
+
*
|
|
206
|
+
* By default the pointer passes under the chip to the chart, so the next section
|
|
207
|
+
* answers at once and the chip closes off the chart; `'hoverable'` lets the pointer
|
|
208
|
+
* rest on the chip instead, as WCAG 1.4.13 asks of a hint. @default true
|
|
209
|
+
*/
|
|
210
|
+
readonly tooltip: import("@angular/core").InputSignalWithTransform<boolean | "hoverable", unknown>;
|
|
158
211
|
/**
|
|
159
212
|
* Render every period's prices as a table only assistive technology reaches, beside
|
|
160
213
|
* the drawing: a row per period, headed by its label, and a column each for the open,
|
|
@@ -177,10 +230,25 @@ export declare class WrCandlestickChart {
|
|
|
177
230
|
* render, which decide against {@link ASSUMED_WIDTH} instead.
|
|
178
231
|
*/
|
|
179
232
|
private readonly measured;
|
|
233
|
+
/** The drawing's box, on the observer every chart shares: what a resize re-measures on. */
|
|
234
|
+
private readonly drawingSize;
|
|
180
235
|
constructor();
|
|
181
236
|
/** How many slots the x axis has: one per period, drawn or not. */
|
|
182
237
|
protected readonly slots: import("@angular/core").Signal<number>;
|
|
183
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* How many periods one drawn candle stands for: 1 until there are more than two a pixel
|
|
240
|
+
* of the drawing, measured or assumed, and `decimate` is on. A number of periods rather
|
|
241
|
+
* than the width, so a resize that leaves it alone rebuilds no candle.
|
|
242
|
+
*/
|
|
243
|
+
private readonly per;
|
|
244
|
+
/** The candles to draw, each one period or a run of `per` merged: every one whose prices are finite. */
|
|
245
|
+
private readonly merged;
|
|
246
|
+
/** How many slots the candles drawn share the axis among: the periods, or the runs they are merged into. */
|
|
247
|
+
private readonly drawnSlots;
|
|
248
|
+
/**
|
|
249
|
+
* One drawn candle's share of the drawing's width, in percent: what the stylesheet sizes
|
|
250
|
+
* a body and the hover band against.
|
|
251
|
+
*/
|
|
184
252
|
protected readonly slot: import("@angular/core").Signal<number>;
|
|
185
253
|
/**
|
|
186
254
|
* The y axis, from `wrChartAxis` over every candle drawn: fitted from the lowest of the
|
|
@@ -190,35 +258,44 @@ export declare class WrCandlestickChart {
|
|
|
190
258
|
* nothing to draw, the 0 to 1 frame.
|
|
191
259
|
*
|
|
192
260
|
* A high below the body or a low above it counts as the body's edge, so nothing is
|
|
193
|
-
* drawn outside the frame.
|
|
261
|
+
* drawn outside the frame. Read off the merged candles, which keep the data's extremes.
|
|
194
262
|
*/
|
|
195
263
|
protected readonly axis: import("@angular/core").Signal<import("ngwr/charts/core").WrChartAxis>;
|
|
196
264
|
/**
|
|
197
|
-
* The candles as drawn:
|
|
198
|
-
*
|
|
199
|
-
*
|
|
265
|
+
* The candles as drawn: placed on the middle of the slots each stands for and on the
|
|
266
|
+
* axis, with its wicks as shares of its own height so the stylesheet can draw both and
|
|
267
|
+
* the body between them.
|
|
200
268
|
*/
|
|
201
269
|
protected readonly candles: import("@angular/core").Signal<readonly DrawnCandle[]>;
|
|
202
|
-
/**
|
|
270
|
+
/**
|
|
271
|
+
* Where the candle of each drawn slot is in {@link candles}, or -1 for a slot that draws
|
|
272
|
+
* none: how the tooltip finds the element of the candle a period is drawn in.
|
|
273
|
+
*/
|
|
203
274
|
private readonly positions;
|
|
204
|
-
/**
|
|
275
|
+
/** The position in {@link candles} of the candle period `index` is drawn in, or -1 where it has none of its own. */
|
|
276
|
+
private drawnAt;
|
|
277
|
+
/** One drawn slot's width in px: measured, or against the assumed drawing. */
|
|
205
278
|
private readonly slotPx;
|
|
279
|
+
/** One period's width in px, merged or not: what the x labels are spaced against. */
|
|
280
|
+
private readonly periodPx;
|
|
206
281
|
/**
|
|
207
|
-
* Whether a body is too narrow to
|
|
282
|
+
* Whether a body is too narrow to show an inside - under 4px wide, measured off the
|
|
208
283
|
* first candle, or worked out from the assumed drawing before a browser has measured
|
|
209
|
-
* it.
|
|
210
|
-
* no candle is never dense.
|
|
284
|
+
* it. Under `hollow` a dense chart dots its rising bodies instead (see the stylesheet).
|
|
285
|
+
* A chart with no candle is never dense.
|
|
211
286
|
*/
|
|
212
287
|
protected readonly dense: import("@angular/core").Signal<boolean>;
|
|
213
288
|
/** The longest period label, by its characters: what the room for the x labels is estimated from before a browser has measured. */
|
|
214
289
|
private readonly longestLabel;
|
|
215
290
|
/**
|
|
216
|
-
*
|
|
217
|
-
* against. Laid out as wide as its widest line, so
|
|
218
|
-
* than the one with the most characters
|
|
219
|
-
*
|
|
291
|
+
* The longest few period labels, a line each: the hidden copy the x labels' room is
|
|
292
|
+
* measured against. Laid out as wide as its widest line, so among those few it measures
|
|
293
|
+
* the widest rather than the one with the most characters - `WWWWWWW` is wider than
|
|
294
|
+
* `iiiiiiii`. A few and not every label: ten thousand periods were ten thousand lines
|
|
295
|
+
* to shape on every change to the labels. A line break inside a label is a space here,
|
|
296
|
+
* as the printed label shows it.
|
|
220
297
|
*/
|
|
221
|
-
protected readonly
|
|
298
|
+
protected readonly probes: import("@angular/core").Signal<string>;
|
|
222
299
|
/**
|
|
223
300
|
* How wide a period label is taken to be, in px: the widest one as a browser measured
|
|
224
301
|
* it, or seven pixels a character of the longest before it has. Every label is spaced as
|
|
@@ -250,11 +327,18 @@ export declare class WrCandlestickChart {
|
|
|
250
327
|
}[]>;
|
|
251
328
|
/** The room each printed label has, as a percentage of the drawing's width: `labelEvery` slots, at most all of it. */
|
|
252
329
|
protected readonly xSlot: import("@angular/core").Signal<number>;
|
|
253
|
-
/**
|
|
330
|
+
/**
|
|
331
|
+
* The y ticks, top to bottom: each value's label, its gridline's distance from the top
|
|
332
|
+
* in percent, and whether it is zero, whose line is drawn stronger. The labels are
|
|
333
|
+
* written only for the scale: with `showAxis` off nothing prints them.
|
|
334
|
+
*/
|
|
254
335
|
protected readonly yTicks: import("@angular/core").Signal<{
|
|
255
336
|
label: string;
|
|
256
337
|
top: number;
|
|
338
|
+
zero: boolean;
|
|
257
339
|
}[]>;
|
|
340
|
+
/** How many fraction digits the axis step is written with. */
|
|
341
|
+
private readonly stepDigits;
|
|
258
342
|
/**
|
|
259
343
|
* How many fraction digits an exact price is written with, at most: as many as the
|
|
260
344
|
* most precise finite price in `data` has, and at least as many as the axis step,
|
|
@@ -277,10 +361,17 @@ export declare class WrCandlestickChart {
|
|
|
277
361
|
* be reached by moving onto it.
|
|
278
362
|
*/
|
|
279
363
|
protected readonly tip: import("ngwr/popover").WrChartTooltip;
|
|
280
|
-
/**
|
|
364
|
+
/**
|
|
365
|
+
* The slot the tooltip is reading, marked by a band behind its candle: the period's
|
|
366
|
+
* own slot, or the whole of the run it is merged into.
|
|
367
|
+
*/
|
|
281
368
|
protected readonly activeSlot: import("@angular/core").Signal<{
|
|
282
369
|
left: number;
|
|
283
370
|
} | null>;
|
|
371
|
+
/** Whether the chart has nothing to draw: no period, or none whose four prices are finite. */
|
|
372
|
+
private readonly empty;
|
|
373
|
+
/** What the chart shows in place of its candles, or `null` while it draws them. */
|
|
374
|
+
protected readonly state: import("@angular/core").Signal<import("ngwr/charts/core").WrChartStateView | null>;
|
|
284
375
|
/**
|
|
285
376
|
* The figures for `dataTable`: the chart's name as the caption, a row per period headed
|
|
286
377
|
* by its label, and the open, high, low and close written as the tooltip writes them.
|
|
@@ -289,22 +380,24 @@ export declare class WrCandlestickChart {
|
|
|
289
380
|
*/
|
|
290
381
|
protected readonly tableData: import("@angular/core").Signal<WrChartTableData>;
|
|
291
382
|
/**
|
|
292
|
-
* The
|
|
293
|
-
*
|
|
294
|
-
*
|
|
383
|
+
* The pointer over the plot, while no chip is up: an open chip follows the pointer by
|
|
384
|
+
* itself, through `slotAt`, so each move is measured once. A MOUSE event, as every
|
|
385
|
+
* chart's is: a tap fires the compatibility `mousemove` and no `pointermove`. Over a
|
|
386
|
+
* slot with no candle, the open tooltip starts its grace period.
|
|
295
387
|
*/
|
|
296
|
-
|
|
388
|
+
private onPointerMove;
|
|
297
389
|
/**
|
|
298
390
|
* The slot under a viewport position, if a candle is drawn there: across the drawing's
|
|
299
391
|
* width, and anywhere down the plot, its padding included. A drawing with no box
|
|
300
|
-
* (nothing laid out yet) answers nothing.
|
|
392
|
+
* (nothing laid out yet) answers nothing. One layout read: the plot's box is the
|
|
393
|
+
* drawing's, taller by the padding last measured.
|
|
301
394
|
*/
|
|
302
395
|
private slotAt;
|
|
303
396
|
/**
|
|
304
|
-
* Read the drawing's width, the widest label's
|
|
305
|
-
* hidden chart measures 0 and keeps its last reading rather than thin to
|
|
306
|
-
* label or a body with nothing to measure
|
|
307
|
-
* the estimate in charge of what it decides.
|
|
397
|
+
* Read the drawing's width, the widest label's, one body's and the plot's padding off
|
|
398
|
+
* the layout. A hidden chart measures 0 and keeps its last reading rather than thin to
|
|
399
|
+
* nothing; a label or a body with nothing to measure - no period, no candle - reads 0
|
|
400
|
+
* and leaves the estimate in charge of what it decides.
|
|
308
401
|
*/
|
|
309
402
|
private measure;
|
|
310
403
|
/** Whether a period can be drawn: all four prices finite. */
|
|
@@ -346,6 +439,46 @@ export declare class WrCandlestickChart {
|
|
|
346
439
|
"required": false;
|
|
347
440
|
"isSignal": true;
|
|
348
441
|
};
|
|
442
|
+
"showAxis": {
|
|
443
|
+
"alias": "showAxis";
|
|
444
|
+
"required": false;
|
|
445
|
+
"isSignal": true;
|
|
446
|
+
};
|
|
447
|
+
"hollow": {
|
|
448
|
+
"alias": "hollow";
|
|
449
|
+
"required": false;
|
|
450
|
+
"isSignal": true;
|
|
451
|
+
};
|
|
452
|
+
"decimate": {
|
|
453
|
+
"alias": "decimate";
|
|
454
|
+
"required": false;
|
|
455
|
+
"isSignal": true;
|
|
456
|
+
};
|
|
457
|
+
"loading": {
|
|
458
|
+
"alias": "loading";
|
|
459
|
+
"required": false;
|
|
460
|
+
"isSignal": true;
|
|
461
|
+
};
|
|
462
|
+
"error": {
|
|
463
|
+
"alias": "error";
|
|
464
|
+
"required": false;
|
|
465
|
+
"isSignal": true;
|
|
466
|
+
};
|
|
467
|
+
"emptyLabel": {
|
|
468
|
+
"alias": "emptyLabel";
|
|
469
|
+
"required": false;
|
|
470
|
+
"isSignal": true;
|
|
471
|
+
};
|
|
472
|
+
"loadingLabel": {
|
|
473
|
+
"alias": "loadingLabel";
|
|
474
|
+
"required": false;
|
|
475
|
+
"isSignal": true;
|
|
476
|
+
};
|
|
477
|
+
"errorLabel": {
|
|
478
|
+
"alias": "errorLabel";
|
|
479
|
+
"required": false;
|
|
480
|
+
"isSignal": true;
|
|
481
|
+
};
|
|
349
482
|
"tooltip": {
|
|
350
483
|
"alias": "tooltip";
|
|
351
484
|
"required": false;
|
|
@@ -11,6 +11,11 @@ import { InjectionToken } from "@angular/core";
|
|
|
11
11
|
* Every shape has the area of the circle at the same size, so none reads heavier.
|
|
12
12
|
*/
|
|
13
13
|
type WrChartMarker = 'circle' | 'square' | 'triangle' | 'diamond' | 'cross' | 'triangle-down';
|
|
14
|
+
/**
|
|
15
|
+
* Where a legend sits beside its chart: above or below it as a wrapping row, at inline
|
|
16
|
+
* start or end as a column, or `none` to draw nothing.
|
|
17
|
+
*/
|
|
18
|
+
type WrChartLegendPosition = 'top' | 'bottom' | 'start' | 'end' | 'none';
|
|
14
19
|
/** One row of a `ul[wr-chart-legend]`: the key, the name, and optionally a value. */
|
|
15
20
|
interface WrChartLegendItem {
|
|
16
21
|
/** The series' name. Printed as the row's text, and the toggle's name when the legend is `toggleable`. */
|
|
@@ -42,6 +47,24 @@ interface WrChartLegendToggle {
|
|
|
42
47
|
/** Whether the series is hidden now. */
|
|
43
48
|
readonly hidden: boolean;
|
|
44
49
|
}
|
|
50
|
+
/** Which of the three keys a row draws. */
|
|
51
|
+
type Key = 'line' | 'marker' | 'dot';
|
|
52
|
+
/**
|
|
53
|
+
* One row as the template draws it: everything it binds, worked out once per change of
|
|
54
|
+
* `items`. The template reads nothing off the item itself.
|
|
55
|
+
*/
|
|
56
|
+
interface Row {
|
|
57
|
+
readonly label: string;
|
|
58
|
+
readonly color: string;
|
|
59
|
+
readonly key: Key;
|
|
60
|
+
/** The dash of a line key, `null` for a solid line or another key. */
|
|
61
|
+
readonly dash: string | null;
|
|
62
|
+
readonly marker: WrChartMarker | null;
|
|
63
|
+
/** The marker's path at the size its key draws it, `null` with no marker. */
|
|
64
|
+
readonly path: string | null;
|
|
65
|
+
/** The value printed after the label, `null` for none. */
|
|
66
|
+
readonly value: string | null;
|
|
67
|
+
}
|
|
45
68
|
/**
|
|
46
69
|
* A chart's key: one row per series, each a swatch, a name and an optional value.
|
|
47
70
|
* It stands on its own for a key that several charts share — one legend above a row
|
|
@@ -55,6 +78,16 @@ interface WrChartLegendToggle {
|
|
|
55
78
|
* inline background, a line or a marker is an SVG, and every key is `aria-hidden`:
|
|
56
79
|
* the row's text is its name.
|
|
57
80
|
*
|
|
81
|
+
* **`position` says where the legend sits beside its chart**: `top`, `bottom`, `start`
|
|
82
|
+
* or `end`, or `none` to draw nothing. Above and below it is a wrapping row; at inline
|
|
83
|
+
* start or end it is a column. A chart that draws its own legend forwards its
|
|
84
|
+
* `legendPosition` here and places the list; a legend that stands alone is placed by
|
|
85
|
+
* the app, and `position` only picks the row or the column.
|
|
86
|
+
*
|
|
87
|
+
* **Hovering a row dims the rest of its chart.** Every row carries `data-wr-series`
|
|
88
|
+
* with its position, the attribute a chart puts on that series' marks, so the chart's
|
|
89
|
+
* hover fades every other series while the pointer is on a row.
|
|
90
|
+
*
|
|
58
91
|
* **Toggling is opt-in.** With `toggleable`, every row is a
|
|
59
92
|
* `<button type="button" aria-pressed>` that shows and hides its series: pressed
|
|
60
93
|
* means shown, and `hiddenSeries` holds the positions of the hidden ones. The rows
|
|
@@ -90,6 +123,13 @@ export declare class WrChartLegend {
|
|
|
90
123
|
constructor();
|
|
91
124
|
/** One row per series, in the chart's order. */
|
|
92
125
|
readonly items: import("@angular/core").InputSignal<readonly WrChartLegendItem[]>;
|
|
126
|
+
/**
|
|
127
|
+
* Where the legend sits beside its chart. `top` and `bottom` lay the rows out in a
|
|
128
|
+
* wrapping line, `start` and `end` in a column, and `none` draws nothing - the
|
|
129
|
+
* list stays in the DOM, hidden, so `hiddenSeries` keeps working from outside.
|
|
130
|
+
* @default 'bottom'
|
|
131
|
+
*/
|
|
132
|
+
readonly position: import("@angular/core").InputSignal<WrChartLegendPosition>;
|
|
93
133
|
/**
|
|
94
134
|
* Make each row a toggle button that shows and hides its series, through
|
|
95
135
|
* `hiddenSeries` and `toggled`. @default false
|
|
@@ -127,10 +167,24 @@ export declare class WrChartLegend {
|
|
|
127
167
|
private readonly hidden;
|
|
128
168
|
/** Whether the series at `index` is hidden. */
|
|
129
169
|
protected isHidden(index: number): boolean;
|
|
130
|
-
/**
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
170
|
+
/**
|
|
171
|
+
* The host chart's own class for each part of a row, or nothing outside a chart. Fixed
|
|
172
|
+
* for the legend's life, so they are written once: asked for in the template, each was
|
|
173
|
+
* built again for every part of every row on every pass over the chart, which a chart
|
|
174
|
+
* makes whenever its own view is checked.
|
|
175
|
+
*/
|
|
176
|
+
protected readonly parts: {
|
|
177
|
+
item: string;
|
|
178
|
+
swatch: string;
|
|
179
|
+
label: string;
|
|
180
|
+
value: string;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* The rows as drawn, one per item: which key each draws and its marker's path, built
|
|
184
|
+
* when `items` changes rather than on every pass. A path is a string of a dozen
|
|
185
|
+
* numbers, and fifty series built fifty of them for every hover of their chart.
|
|
186
|
+
*/
|
|
187
|
+
protected readonly rows: import("@angular/core").Signal<readonly Row[]>;
|
|
134
188
|
/** Shows or hides the series at `index`, then says so. */
|
|
135
189
|
protected toggle(index: number): void;
|
|
136
190
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrChartLegend, never>;
|
|
@@ -140,6 +194,11 @@ export declare class WrChartLegend {
|
|
|
140
194
|
"required": false;
|
|
141
195
|
"isSignal": true;
|
|
142
196
|
};
|
|
197
|
+
"position": {
|
|
198
|
+
"alias": "position";
|
|
199
|
+
"required": false;
|
|
200
|
+
"isSignal": true;
|
|
201
|
+
};
|
|
143
202
|
"toggleable": {
|
|
144
203
|
"alias": "toggleable";
|
|
145
204
|
"required": false;
|
|
@@ -165,6 +224,84 @@ export declare class WrChartLegend {
|
|
|
165
224
|
"toggled": "toggled";
|
|
166
225
|
}, never, never, true, never>;
|
|
167
226
|
}
|
|
227
|
+
/**
|
|
228
|
+
* The key of a colour scale: its steps side by side, lowest first, between the labels of
|
|
229
|
+
* its two ends. What a heatmap and a calendar heatmap draw where a categorical chart
|
|
230
|
+
* draws `ul[wr-chart-legend]`, and it stands on its own for a key several charts share.
|
|
231
|
+
*
|
|
232
|
+
* Not a mode of the legend: a legend is a list of series, each a row a reader can name,
|
|
233
|
+
* hover and toggle, and a scale is one ramp with two ends and no rows. It lives beside
|
|
234
|
+
* the legend because it takes the legend's place: the same `position`, the same room
|
|
235
|
+
* from its chart (`--wr-chart-legend-space`), the same type.
|
|
236
|
+
*
|
|
237
|
+
* Each step is painted by an inline background, any CSS colour, so a chart hands over the
|
|
238
|
+
* paints it draws its own cells with. Whatever the chart projects into it follows the
|
|
239
|
+
* ramp: a heatmap adds the key of an empty cell there.
|
|
240
|
+
*
|
|
241
|
+
* `block` adds the host chart's own classes to the parts, as `WR_CHART_LEGEND_BLOCK`
|
|
242
|
+
* does for a legend: `<block>__legend-label`, `<block>__scale` and `<block>__swatch`,
|
|
243
|
+
* the classes the heatmap drew its key with before it drew it through this.
|
|
244
|
+
*
|
|
245
|
+
* It announces nothing of its own: where the figures it keys are in text elsewhere, as a
|
|
246
|
+
* chart's are in its data table, hide it with `aria-hidden`.
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
* ```html
|
|
250
|
+
* <wr-chart-scale aria-hidden="true" minLabel="0" maxLabel="120" [steps]="paints" />
|
|
251
|
+
* ```
|
|
252
|
+
*
|
|
253
|
+
* @see https://ngwr.dev/charts/chart-legend
|
|
254
|
+
*/
|
|
255
|
+
export declare class WrChartScale {
|
|
256
|
+
constructor();
|
|
257
|
+
/** The paint of each step, lowest first: any CSS colour, `var(--wr-…)` included. */
|
|
258
|
+
readonly steps: import("@angular/core").InputSignal<readonly string[]>;
|
|
259
|
+
/** What the lowest step stands for, written before the ramp. `null` writes nothing. */
|
|
260
|
+
readonly minLabel: import("@angular/core").InputSignal<string | null>;
|
|
261
|
+
/** What the highest step stands for, written after the ramp. `null` writes nothing. */
|
|
262
|
+
readonly maxLabel: import("@angular/core").InputSignal<string | null>;
|
|
263
|
+
/**
|
|
264
|
+
* Where the key sits beside its chart, as a legend's `position`: it picks the margin
|
|
265
|
+
* that keeps it off the chart, and `none` draws nothing. @default 'bottom'
|
|
266
|
+
*/
|
|
267
|
+
readonly position: import("@angular/core").InputSignal<WrChartLegendPosition>;
|
|
268
|
+
/** The host chart's block, for its own class on each part. `null` adds none. */
|
|
269
|
+
readonly block: import("@angular/core").InputSignal<string | null>;
|
|
270
|
+
/** The host chart's own class for each part, or nothing outside a chart. */
|
|
271
|
+
protected readonly parts: import("@angular/core").Signal<{
|
|
272
|
+
label: string;
|
|
273
|
+
ramp: string;
|
|
274
|
+
step: string;
|
|
275
|
+
}>;
|
|
276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrChartScale, never>;
|
|
277
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrChartScale, "wr-chart-scale", never, {
|
|
278
|
+
"steps": {
|
|
279
|
+
"alias": "steps";
|
|
280
|
+
"required": false;
|
|
281
|
+
"isSignal": true;
|
|
282
|
+
};
|
|
283
|
+
"minLabel": {
|
|
284
|
+
"alias": "minLabel";
|
|
285
|
+
"required": false;
|
|
286
|
+
"isSignal": true;
|
|
287
|
+
};
|
|
288
|
+
"maxLabel": {
|
|
289
|
+
"alias": "maxLabel";
|
|
290
|
+
"required": false;
|
|
291
|
+
"isSignal": true;
|
|
292
|
+
};
|
|
293
|
+
"position": {
|
|
294
|
+
"alias": "position";
|
|
295
|
+
"required": false;
|
|
296
|
+
"isSignal": true;
|
|
297
|
+
};
|
|
298
|
+
"block": {
|
|
299
|
+
"alias": "block";
|
|
300
|
+
"required": false;
|
|
301
|
+
"isSignal": true;
|
|
302
|
+
};
|
|
303
|
+
}, {}, never, ["*"], true, never>;
|
|
304
|
+
}
|
|
168
305
|
/**
|
|
169
306
|
* The BEM block of the chart a legend is drawn inside, provided by that chart:
|
|
170
307
|
* `'wr-donut-chart'` makes every row also carry `.wr-donut-chart__legend-item`,
|
|
@@ -181,4 +318,4 @@ export declare class WrChartLegend {
|
|
|
181
318
|
* @internal
|
|
182
319
|
*/
|
|
183
320
|
export declare const WR_CHART_LEGEND_BLOCK: InjectionToken<string>;
|
|
184
|
-
export type { WrChartLegendItem, WrChartLegendToggle, WrChartMarker };
|
|
321
|
+
export type { WrChartLegendItem, WrChartLegendPosition, WrChartLegendToggle, WrChartMarker };
|