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,11 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { Component,
|
|
2
|
+
import { Component, ViewEncapsulation, computed, effect, input, isDevMode, linkedSignal, model, viewChild } from "@angular/core";
|
|
3
3
|
import { coerceBooleanProperty, coerceNumberProperty } from "@angular/cdk/coercion";
|
|
4
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
4
5
|
import { wrCheckStyles, wrClamp, wrRound } from "ngwr/utils";
|
|
5
6
|
import { useI18nText } from "ngwr/i18n";
|
|
6
7
|
import { WrChartLegend } from "ngwr/charts/chart-legend";
|
|
7
|
-
import { WrChartTable, useChartNumbers, wrChartAxis, wrChartColor, wrChartDash } from "ngwr/charts/core";
|
|
8
|
-
import { useChartTooltip } from "ngwr/popover";
|
|
8
|
+
import { WrChartState, WrChartTable, useChartHover, useChartNumbers, useChartSize, useChartState, wrChartAxis, wrChartColor, wrChartDash, wrChartRound } from "ngwr/charts/core";
|
|
9
|
+
import { useChartTooltip, wrCoerceChartTooltip } from "ngwr/popover";
|
|
9
10
|
/**
|
|
10
11
|
* @license
|
|
11
12
|
*
|
|
@@ -38,8 +39,10 @@ function fixedStep(max, rings) {
|
|
|
38
39
|
return best;
|
|
39
40
|
}
|
|
40
41
|
const fixed = (value) => value.toFixed(2);
|
|
41
|
-
const short = (value) =>
|
|
42
|
+
const short = (value) => wrChartRound(value, 4);
|
|
42
43
|
const at = (point) => `${fixed(point.x)} ${fixed(point.y)}`;
|
|
44
|
+
const dot = (point) => `M ${at(point)} h 0`;
|
|
45
|
+
const FREE_RAY = -Math.PI / 4;
|
|
43
46
|
const along = (axis, r) => ({
|
|
44
47
|
x: CENTRE + r * axis.cos,
|
|
45
48
|
y: CENTRE + r * axis.sin
|
|
@@ -117,10 +120,22 @@ var WrRadarChart = class WrRadarChart {
|
|
|
117
120
|
...ngDevMode ? { debugName: "showGrid" } : /* istanbul ignore next */ {},
|
|
118
121
|
transform: coerceBooleanProperty
|
|
119
122
|
});
|
|
120
|
-
showLegend = input(
|
|
123
|
+
showLegend = input("auto", {
|
|
121
124
|
...ngDevMode ? { debugName: "showLegend" } : /* istanbul ignore next */ {},
|
|
125
|
+
transform: (value) => value === "auto" ? "auto" : coerceBooleanProperty(value)
|
|
126
|
+
});
|
|
127
|
+
legendPosition = input("bottom", ...ngDevMode ? [{ debugName: "legendPosition" }] : /* istanbul ignore next */ []);
|
|
128
|
+
loading = input(false, {
|
|
129
|
+
...ngDevMode ? { debugName: "loading" } : /* istanbul ignore next */ {},
|
|
130
|
+
transform: coerceBooleanProperty
|
|
131
|
+
});
|
|
132
|
+
error = input(false, {
|
|
133
|
+
...ngDevMode ? { debugName: "error" } : /* istanbul ignore next */ {},
|
|
122
134
|
transform: coerceBooleanProperty
|
|
123
135
|
});
|
|
136
|
+
emptyLabel = input(null, ...ngDevMode ? [{ debugName: "emptyLabel" }] : /* istanbul ignore next */ []);
|
|
137
|
+
loadingLabel = input(null, ...ngDevMode ? [{ debugName: "loadingLabel" }] : /* istanbul ignore next */ []);
|
|
138
|
+
errorLabel = input(null, ...ngDevMode ? [{ debugName: "errorLabel" }] : /* istanbul ignore next */ []);
|
|
124
139
|
toggleableLegend = input(false, {
|
|
125
140
|
...ngDevMode ? { debugName: "toggleableLegend" } : /* istanbul ignore next */ {},
|
|
126
141
|
transform: coerceBooleanProperty
|
|
@@ -136,7 +151,7 @@ var WrRadarChart = class WrRadarChart {
|
|
|
136
151
|
});
|
|
137
152
|
tooltip = input(true, {
|
|
138
153
|
...ngDevMode ? { debugName: "tooltip" } : /* istanbul ignore next */ {},
|
|
139
|
-
transform:
|
|
154
|
+
transform: wrCoerceChartTooltip
|
|
140
155
|
});
|
|
141
156
|
valueFormat = input(null, ...ngDevMode ? [{ debugName: "valueFormat" }] : /* istanbul ignore next */ []);
|
|
142
157
|
dataTable = input(false, {
|
|
@@ -145,28 +160,30 @@ var WrRadarChart = class WrRadarChart {
|
|
|
145
160
|
});
|
|
146
161
|
numbers = useChartNumbers(this.valueFormat);
|
|
147
162
|
svg = viewChild("svg", ...ngDevMode ? [{ debugName: "svg" }] : /* istanbul ignore next */ []);
|
|
148
|
-
|
|
149
|
-
|
|
163
|
+
ringLabel = viewChild("ringLabel", ...ngDevMode ? [{ debugName: "ringLabel" }] : /* istanbul ignore next */ []);
|
|
164
|
+
drawingSize = useChartSize(this.svg);
|
|
165
|
+
ringLabelSize = useChartSize(this.ringLabel);
|
|
166
|
+
measured = linkedSignal({
|
|
167
|
+
...ngDevMode ? { debugName: "measured" } : /* istanbul ignore next */ {},
|
|
168
|
+
source: () => ({
|
|
169
|
+
width: this.drawingSize().width,
|
|
170
|
+
height: this.ringLabelSize().height
|
|
171
|
+
}),
|
|
172
|
+
computation: ({ width, height }, previous) => {
|
|
173
|
+
const last = previous?.value ?? null;
|
|
174
|
+
if (width <= 0) return last;
|
|
175
|
+
const line = height > 0 ? height : last?.line ?? LABEL_LINE;
|
|
176
|
+
return last?.width === width && last.line === line ? last : {
|
|
177
|
+
width,
|
|
178
|
+
line
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
});
|
|
150
182
|
constructor() {
|
|
151
183
|
if (typeof ngDevMode === "undefined" || ngDevMode) wrCheckStyles("charts/radar-chart");
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
if (!svg || typeof ResizeObserver === "undefined") return;
|
|
156
|
-
const observer = new ResizeObserver(([entry]) => {
|
|
157
|
-
const width = entry.contentRect.width;
|
|
158
|
-
if (width <= 0) return;
|
|
159
|
-
const height = this.host.nativeElement.querySelector(".wr-radar-chart__ring-label")?.getBoundingClientRect().height ?? 0;
|
|
160
|
-
const last = this.measured();
|
|
161
|
-
const line = height > 0 ? height : last?.line ?? LABEL_LINE;
|
|
162
|
-
if (last?.width === width && last.line === line) return;
|
|
163
|
-
this.measured.set({
|
|
164
|
-
width,
|
|
165
|
-
line
|
|
166
|
-
});
|
|
167
|
-
});
|
|
168
|
-
observer.observe(svg);
|
|
169
|
-
destroyRef.onDestroy(() => observer.disconnect());
|
|
184
|
+
useChartHover({
|
|
185
|
+
enter: () => void 0,
|
|
186
|
+
leave: () => void 0
|
|
170
187
|
});
|
|
171
188
|
if (isDevMode()) {
|
|
172
189
|
let warned = null;
|
|
@@ -222,14 +239,19 @@ var WrRadarChart = class WrRadarChart {
|
|
|
222
239
|
ticks: Array.from({ length: count + 1 }, (_, i) => wrRound(explicit - i * step, 6))
|
|
223
240
|
};
|
|
224
241
|
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
const
|
|
242
|
+
let low = Number.POSITIVE_INFINITY;
|
|
243
|
+
let peak = Number.NEGATIVE_INFINITY;
|
|
244
|
+
for (const s of this.visibleSeries()) for (const value of s.values) {
|
|
245
|
+
if (value === null) continue;
|
|
246
|
+
if (value < low) low = value;
|
|
247
|
+
if (value > peak) peak = value;
|
|
248
|
+
}
|
|
249
|
+
if (low > peak) return wrChartAxis(NaN, NaN);
|
|
228
250
|
if (this.polar()) return peak > 0 ? wrChartAxis(0, peak, {
|
|
229
251
|
includeZero: true,
|
|
230
252
|
tickCount: rings
|
|
231
253
|
}) : wrChartAxis(NaN, NaN);
|
|
232
|
-
return wrChartAxis(
|
|
254
|
+
return wrChartAxis(low, peak, {
|
|
233
255
|
includeZero: true,
|
|
234
256
|
tickCount: rings
|
|
235
257
|
});
|
|
@@ -254,7 +276,8 @@ var WrRadarChart = class WrRadarChart {
|
|
|
254
276
|
dash: s.dash,
|
|
255
277
|
points,
|
|
256
278
|
closed: polar || points.every((p) => p !== null),
|
|
257
|
-
d: polar ? silhouette(axes, half, radii) : outline(points)
|
|
279
|
+
d: polar ? silhouette(axes, half, radii) : outline(points),
|
|
280
|
+
dots: points.flatMap((p) => p ? [dot(p)] : []).join(" ")
|
|
258
281
|
}];
|
|
259
282
|
});
|
|
260
283
|
}, ...ngDevMode ? [{ debugName: "shapes" }] : /* istanbul ignore next */ []);
|
|
@@ -273,19 +296,38 @@ var WrRadarChart = class WrRadarChart {
|
|
|
273
296
|
const half = Math.PI / axes.length;
|
|
274
297
|
return axes.map((axis) => toward(axis.angle - half, RADIUS));
|
|
275
298
|
}, ...ngDevMode ? [{ debugName: "spokes" }] : /* istanbul ignore next */ []);
|
|
299
|
+
labelRay = computed(() => {
|
|
300
|
+
const count = this.axes().length;
|
|
301
|
+
if (count < 3) return {
|
|
302
|
+
angle: FREE_RAY,
|
|
303
|
+
reach: 1
|
|
304
|
+
};
|
|
305
|
+
const half = Math.PI / count;
|
|
306
|
+
if (this.polar()) return {
|
|
307
|
+
angle: -Math.PI / 2 + half / 2,
|
|
308
|
+
reach: 1
|
|
309
|
+
};
|
|
310
|
+
return {
|
|
311
|
+
angle: count % 2 === 1 ? Math.PI / 2 : -Math.PI / 2 + half,
|
|
312
|
+
reach: Math.cos(half)
|
|
313
|
+
};
|
|
314
|
+
}, ...ngDevMode ? [{ debugName: "labelRay" }] : /* istanbul ignore next */ []);
|
|
276
315
|
ringLabels = computed(() => {
|
|
277
316
|
const { min, ticks, step } = this.scale();
|
|
278
317
|
const texts = this.numbers.ticks(ticks, step);
|
|
318
|
+
const { angle, reach } = this.labelRay();
|
|
319
|
+
const cos = Math.cos(angle);
|
|
320
|
+
const sin = Math.sin(angle);
|
|
279
321
|
const labels = ticks.flatMap((tick, i) => {
|
|
280
322
|
if (tick <= min) return [];
|
|
281
|
-
const r = this.radius(tick);
|
|
323
|
+
const r = this.radius(tick) * reach;
|
|
282
324
|
return [{
|
|
283
325
|
text: texts[i],
|
|
284
326
|
r,
|
|
285
|
-
|
|
327
|
+
x: short(CENTRE + r * cos),
|
|
328
|
+
y: short(CENTRE + r * sin)
|
|
286
329
|
}];
|
|
287
330
|
});
|
|
288
|
-
if (!this.polar()) return labels;
|
|
289
331
|
const { width, line } = this.measured() ?? {
|
|
290
332
|
width: this.size(),
|
|
291
333
|
line: LABEL_LINE
|
|
@@ -310,6 +352,29 @@ var WrRadarChart = class WrRadarChart {
|
|
|
310
352
|
color,
|
|
311
353
|
dash
|
|
312
354
|
})), ...ngDevMode ? [{ debugName: "legendItems" }] : /* istanbul ignore next */ []);
|
|
355
|
+
legendShown = computed(() => {
|
|
356
|
+
const show = this.showLegend();
|
|
357
|
+
const rows = this.legendItems().length;
|
|
358
|
+
if (show === false || rows === 0 || this.legendPosition() === "none") return false;
|
|
359
|
+
return show === true || rows > 1;
|
|
360
|
+
}, ...ngDevMode ? [{ debugName: "legendShown" }] : /* istanbul ignore next */ []);
|
|
361
|
+
legendFirst = computed(() => {
|
|
362
|
+
const position = this.legendPosition();
|
|
363
|
+
return position === "top" || position === "start";
|
|
364
|
+
}, ...ngDevMode ? [{ debugName: "legendFirst" }] : /* istanbul ignore next */ []);
|
|
365
|
+
legendSide = computed(() => {
|
|
366
|
+
const position = this.legendPosition();
|
|
367
|
+
return position === "start" || position === "end";
|
|
368
|
+
}, ...ngDevMode ? [{ debugName: "legendSide" }] : /* istanbul ignore next */ []);
|
|
369
|
+
empty = computed(() => this.resolvedSeries().every((s) => s.values.every((v) => v === null)), ...ngDevMode ? [{ debugName: "empty" }] : /* istanbul ignore next */ []);
|
|
370
|
+
state = useChartState({
|
|
371
|
+
loading: this.loading,
|
|
372
|
+
error: this.error,
|
|
373
|
+
empty: this.empty,
|
|
374
|
+
emptyLabel: this.emptyLabel,
|
|
375
|
+
loadingLabel: this.loadingLabel,
|
|
376
|
+
errorLabel: this.errorLabel
|
|
377
|
+
});
|
|
313
378
|
tableData = computed(() => {
|
|
314
379
|
const series = this.visibleSeries();
|
|
315
380
|
const rows = series.length === 0 ? [] : this.axes().map((axis, a) => ({
|
|
@@ -328,7 +393,7 @@ var WrRadarChart = class WrRadarChart {
|
|
|
328
393
|
tip = useChartTooltip(this.tooltip, (index) => {
|
|
329
394
|
const axis = this.axisGeometry()[index];
|
|
330
395
|
const svg = this.svg()?.nativeElement;
|
|
331
|
-
if (!this.drawable() || !axis || !svg) return null;
|
|
396
|
+
if (!this.drawable() || !axis || !svg || this.state()) return null;
|
|
332
397
|
const box = svg.getBoundingClientRect();
|
|
333
398
|
const { cos, sin } = axis;
|
|
334
399
|
const side = Math.abs(cos) > Math.abs(sin) ? cos > 0 ? "right" : "left" : sin > 0 ? "bottom" : "top";
|
|
@@ -357,13 +422,13 @@ var WrRadarChart = class WrRadarChart {
|
|
|
357
422
|
hover = computed(() => {
|
|
358
423
|
const index = this.tip.active();
|
|
359
424
|
const axis = index === null ? void 0 : this.axisGeometry()[index];
|
|
360
|
-
if (index === null || !axis || !this.drawable()) return null;
|
|
425
|
+
if (index === null || !axis || !this.drawable() || this.state()) return null;
|
|
361
426
|
const points = this.shapes().flatMap((s) => {
|
|
362
427
|
const point = s.points[index];
|
|
363
428
|
return point ? [{
|
|
364
429
|
index: s.index,
|
|
365
430
|
color: s.color,
|
|
366
|
-
d:
|
|
431
|
+
d: dot(point)
|
|
367
432
|
}] : [];
|
|
368
433
|
});
|
|
369
434
|
if (points.length === 0) return null;
|
|
@@ -377,13 +442,10 @@ var WrRadarChart = class WrRadarChart {
|
|
|
377
442
|
if (index === null) this.tip.leave(event);
|
|
378
443
|
else this.tip.enter(index);
|
|
379
444
|
}
|
|
380
|
-
dotPath(point) {
|
|
381
|
-
return `M ${at(point)} h 0`;
|
|
382
|
-
}
|
|
383
445
|
axisAt(clientX, clientY) {
|
|
384
446
|
const count = this.axes().length;
|
|
385
447
|
const svg = this.svg()?.nativeElement;
|
|
386
|
-
if (!this.drawable() || !svg) return null;
|
|
448
|
+
if (!this.drawable() || !svg || this.state()) return null;
|
|
387
449
|
const box = svg.getBoundingClientRect();
|
|
388
450
|
if (box.width <= 0 || box.height <= 0) return null;
|
|
389
451
|
const dx = clientX - (box.left + box.width / 2);
|
|
@@ -471,6 +533,48 @@ var WrRadarChart = class WrRadarChart {
|
|
|
471
533
|
isRequired: false,
|
|
472
534
|
transformFunction: null
|
|
473
535
|
},
|
|
536
|
+
legendPosition: {
|
|
537
|
+
classPropertyName: "legendPosition",
|
|
538
|
+
publicName: "legendPosition",
|
|
539
|
+
isSignal: true,
|
|
540
|
+
isRequired: false,
|
|
541
|
+
transformFunction: null
|
|
542
|
+
},
|
|
543
|
+
loading: {
|
|
544
|
+
classPropertyName: "loading",
|
|
545
|
+
publicName: "loading",
|
|
546
|
+
isSignal: true,
|
|
547
|
+
isRequired: false,
|
|
548
|
+
transformFunction: null
|
|
549
|
+
},
|
|
550
|
+
error: {
|
|
551
|
+
classPropertyName: "error",
|
|
552
|
+
publicName: "error",
|
|
553
|
+
isSignal: true,
|
|
554
|
+
isRequired: false,
|
|
555
|
+
transformFunction: null
|
|
556
|
+
},
|
|
557
|
+
emptyLabel: {
|
|
558
|
+
classPropertyName: "emptyLabel",
|
|
559
|
+
publicName: "emptyLabel",
|
|
560
|
+
isSignal: true,
|
|
561
|
+
isRequired: false,
|
|
562
|
+
transformFunction: null
|
|
563
|
+
},
|
|
564
|
+
loadingLabel: {
|
|
565
|
+
classPropertyName: "loadingLabel",
|
|
566
|
+
publicName: "loadingLabel",
|
|
567
|
+
isSignal: true,
|
|
568
|
+
isRequired: false,
|
|
569
|
+
transformFunction: null
|
|
570
|
+
},
|
|
571
|
+
errorLabel: {
|
|
572
|
+
classPropertyName: "errorLabel",
|
|
573
|
+
publicName: "errorLabel",
|
|
574
|
+
isSignal: true,
|
|
575
|
+
isRequired: false,
|
|
576
|
+
transformFunction: null
|
|
577
|
+
},
|
|
474
578
|
toggleableLegend: {
|
|
475
579
|
classPropertyName: "toggleableLegend",
|
|
476
580
|
publicName: "toggleableLegend",
|
|
@@ -525,9 +629,10 @@ var WrRadarChart = class WrRadarChart {
|
|
|
525
629
|
host: {
|
|
526
630
|
properties: {
|
|
527
631
|
"class.wr-radar-chart--polygon": "!polar()",
|
|
528
|
-
"class.wr-radar-chart--polar-area": "polar()"
|
|
632
|
+
"class.wr-radar-chart--polar-area": "polar()",
|
|
633
|
+
"class.wr-chart--legend-side": "legendShown() && legendSide()"
|
|
529
634
|
},
|
|
530
|
-
classAttribute: "wr-radar-chart"
|
|
635
|
+
classAttribute: "wr-radar-chart wr-chart--legend"
|
|
531
636
|
},
|
|
532
637
|
viewQueries: [{
|
|
533
638
|
propertyName: "svg",
|
|
@@ -535,27 +640,53 @@ var WrRadarChart = class WrRadarChart {
|
|
|
535
640
|
predicate: ["svg"],
|
|
536
641
|
descendants: true,
|
|
537
642
|
isSignal: true
|
|
538
|
-
}],
|
|
539
|
-
ngImport: i0,
|
|
540
|
-
template: "@let hovered = hover();\n<!-- The drawing, with the axis names in a gutter round it. The surface is as wide as the\n drawing; the gutter is its padding, and both label layers cover the drawing exactly,\n so a percentage of either is a percentage of the drawing. -->\n<div class=\"wr-radar-chart__surface\" [style.width.px]=\"size()\">\n <!-- The name sits on the DRAWING, not on this wrapper: `img` is a children-presentational\n role, and WebKit drops the whole subtree of one, which would take the axis names\n beside the drawing down with it. -->\n <svg\n #svg\n class=\"wr-radar-chart__svg\"\n viewBox=\"0 0 100 100\"\n role=\"img\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n (mousemove)=\"onPointerMove($event)\"\n (mouseleave)=\"tip.leave($event)\"\n >\n @if (showGrid()) {\n @for (d of ringPaths(); track $index) {\n <path class=\"wr-radar-chart__ring\" [attr.d]=\"d\" fill=\"none\" vector-effect=\"non-scaling-stroke\" />\n }\n @for (end of spokes(); track $index) {\n <line\n class=\"wr-radar-chart__spoke\"\n x1=\"50\"\n y1=\"50\"\n [attr.x2]=\"end.x\"\n [attr.y2]=\"end.y\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n }\n\n <!-- Every fill under every outline, so the outlines and their dashes stay on top\n wherever two series overlap. An open outline is never filled: filling it would\n close it across a value the series does not have. A polar-area outline is the\n silhouette of the series' wedges, which always closes, so it always fills. -->\n @if (showArea()) {\n @for (s of shapes(); track s.index) {\n @if (s.closed) {\n <path class=\"wr-radar-chart__area\" [attr.d]=\"s.d\" [attr.fill]=\"s.color\" stroke=\"none\" />\n }\n }\n }\n <!-- By position, not by label: two series may share one. -->\n @for (s of shapes(); track s.index) {\n <path\n class=\"wr-radar-chart__line\"\n [attr.d]=\"s.d\"\n fill=\"none\"\n [attr.stroke]=\"s.color\"\n [attr.stroke-dasharray]=\"s.dash || null\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n @if (showDots()) {\n @for (s of shapes(); track s.index) {\n @for (point of s.points; track $index) {\n <!-- A missing value gets no dot. A dot is a zero-length line with a round cap and\n a non-scaling stroke, so it stays a circle of the same pixels at any size. -->\n @if (point) {\n <path\n class=\"wr-radar-chart__dot\"\n [attr.d]=\"dotPath(point)\"\n fill=\"none\"\n [attr.stroke]=\"s.color\"\n stroke-linecap=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n }\n }\n }\n\n @if (hovered) {\n <line\n class=\"wr-radar-chart__crosshair\"\n x1=\"50\"\n y1=\"50\"\n [attr.x2]=\"hovered.end.x\"\n [attr.y2]=\"hovered.end.y\"\n vector-effect=\"non-scaling-stroke\"\n />\n <!-- A ring of the series' colour round a surface-coloured centre, drawn the way a dot\n is and for the same reason. -->\n @for (p of hovered.points; track p.index) {\n <path\n class=\"wr-radar-chart__hover-dot\"\n [attr.d]=\"p.d\"\n fill=\"none\"\n [attr.stroke]=\"p.color\"\n stroke-linecap=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n <path\n class=\"wr-radar-chart__hover-dot-center\"\n [attr.d]=\"p.d\"\n fill=\"none\"\n stroke-linecap=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n }\n </svg>\n\n @if (showGrid() && ringLabels().length > 0) {\n <!-- Hidden, as an axis' ticks are on every chart: the drawing's name is what is\n announced, and the figures are in the data table. -->\n <div class=\"wr-radar-chart__ring-labels\" aria-hidden=\"true\">\n @for (ring of ringLabels(); track $index) {\n <span class=\"wr-radar-chart__ring-label\" [style.--wr-radar-chart-y]=\"ring.y\">{{ ring.text }}</span>\n }\n </div>\n }\n\n @if (axisLabels().length > 0) {\n <!-- Real text beside the drawing, as the line chart's x labels are: each hands the\n stylesheet the end of its spoke and the way it points. -->\n <div class=\"wr-radar-chart__axis-labels\">\n @for (axis of axisLabels(); track $index) {\n <span\n class=\"wr-radar-chart__axis-label\"\n [style.--wr-radar-chart-x]=\"axis.x\"\n [style.--wr-radar-chart-y]=\"axis.y\"\n [style.--wr-radar-chart-cos]=\"axis.cos\"\n [style.--wr-radar-chart-sin]=\"axis.sin\"\n >{{ axis.label }}</span\n >\n }\n </div>\n }\n</div>\n\n@if (dataTable()) {\n <!-- The figures for a screen reader, beside the drawing's `img` and never inside it:\n `img` makes everything it holds presentational. Clipped to nothing by its own\n stylesheet, so it takes no room and draws nothing. -->\n <wr-chart-table [data]=\"tableData()\" />\n}\n\n@if (showLegend() && legendItems().length > 0) {\n <!-- Every row keys its series by the series' own dash, as the outline is drawn. Rows are\n tracked by position, so two series that share a label are two rows. -->\n <ul\n wr-chart-legend\n class=\"wr-radar-chart__legend\"\n [items]=\"legendItems()\"\n [toggleable]=\"toggleableLegend()\"\n [(hiddenSeries)]=\"hiddenSeries\"\n ></ul>\n}\n",
|
|
541
|
-
dependencies: [{
|
|
542
|
-
kind: "component",
|
|
543
|
-
type: WrChartLegend,
|
|
544
|
-
selector: "ul[wr-chart-legend]",
|
|
545
|
-
inputs: [
|
|
546
|
-
"items",
|
|
547
|
-
"toggleable",
|
|
548
|
-
"hiddenSeries",
|
|
549
|
-
"ariaLabel",
|
|
550
|
-
"hiddenLabel"
|
|
551
|
-
],
|
|
552
|
-
outputs: ["hiddenSeriesChange", "toggled"]
|
|
553
643
|
}, {
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
644
|
+
propertyName: "ringLabel",
|
|
645
|
+
first: true,
|
|
646
|
+
predicate: ["ringLabel"],
|
|
647
|
+
descendants: true,
|
|
648
|
+
isSignal: true
|
|
558
649
|
}],
|
|
650
|
+
ngImport: i0,
|
|
651
|
+
template: "@let hovered = hover();\n@let shown = state();\n\n<!-- The legend, drawn before the drawing or after it so it is in the DOM where it is on\n screen: a toggleable legend's rows are tab stops, and their order follows it. Every\n row keys its series by the series' own dash, as the outline is drawn. Rows are\n tracked by position, so two series that share a label are two rows. -->\n<ng-template #legend>\n <ul\n wr-chart-legend\n class=\"wr-radar-chart__legend\"\n [items]=\"legendItems()\"\n [position]=\"legendPosition()\"\n [toggleable]=\"toggleableLegend()\"\n [(hiddenSeries)]=\"hiddenSeries\"\n ></ul>\n</ng-template>\n\n@if (legendShown() && legendFirst()) {\n <ng-container [ngTemplateOutlet]=\"legend\" />\n}\n\n<!-- The drawing, with the axis names in a gutter round it. The surface is as wide as the\n drawing; the gutter is its padding, and both label layers cover the drawing exactly,\n so a percentage of either is a percentage of the drawing. -->\n<div class=\"wr-radar-chart__surface\" [style.width.px]=\"size()\">\n <!-- The name sits on the DRAWING, not on this wrapper: `img` is a children-presentational\n role, and WebKit drops the whole subtree of one, which would take the axis names\n beside the drawing down with it. -->\n <svg\n #svg\n class=\"wr-radar-chart__svg\"\n viewBox=\"0 0 100 100\"\n role=\"img\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n (mousemove)=\"onPointerMove($event)\"\n (mouseleave)=\"tip.leave($event)\"\n >\n @if (showGrid()) {\n @for (d of ringPaths(); track $index) {\n <path class=\"wr-radar-chart__ring\" [attr.d]=\"d\" fill=\"none\" vector-effect=\"non-scaling-stroke\" />\n }\n @for (end of spokes(); track $index) {\n <line\n class=\"wr-radar-chart__spoke\"\n x1=\"50\"\n y1=\"50\"\n [attr.x2]=\"end.x\"\n [attr.y2]=\"end.y\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n }\n\n <!-- No series under a state: its message stands on the web the chart keeps.\n `data-wr-series` on every mark of a series is its legend row, which the hover\n dims by. -->\n @if (!shown) {\n <!-- Every fill under every outline, so the outlines and their dashes stay on top\n wherever two series overlap. An open outline is never filled: filling it would\n close it across a value the series does not have. A polar-area outline is the\n silhouette of the series' wedges, which always closes, so it always fills. The\n `fill` attribute is the series' colour, which forced colors keeps; the\n stylesheet paints the tint from the same colour, handed over as a property. -->\n @if (showArea()) {\n @for (s of shapes(); track s.index) {\n @if (s.closed) {\n <path\n class=\"wr-radar-chart__area\"\n [attr.d]=\"s.d\"\n [attr.fill]=\"s.color\"\n [attr.data-wr-series]=\"s.index\"\n [style.--wr-radar-chart-series-color]=\"s.color\"\n stroke=\"none\"\n />\n }\n }\n }\n <!-- By position, not by label: two series may share one. -->\n @for (s of shapes(); track s.index) {\n <path\n class=\"wr-radar-chart__line\"\n [attr.d]=\"s.d\"\n fill=\"none\"\n [attr.stroke]=\"s.color\"\n [attr.stroke-dasharray]=\"s.dash || null\"\n [attr.data-wr-series]=\"s.index\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n @if (showDots()) {\n @for (s of shapes(); track s.index) {\n <!-- Every dot of the series in one path, a subpath each, so a series costs one\n element rather than one per axis. A missing value gets no dot. A dot is a\n zero-length line with a round cap and a non-scaling stroke, so it stays a\n circle of the same pixels at any size. -->\n @if (s.dots) {\n <path\n class=\"wr-radar-chart__dot\"\n [attr.d]=\"s.dots\"\n fill=\"none\"\n [attr.stroke]=\"s.color\"\n [attr.data-wr-series]=\"s.index\"\n stroke-linecap=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n }\n }\n }\n\n @if (hovered) {\n <line\n class=\"wr-radar-chart__crosshair\"\n x1=\"50\"\n y1=\"50\"\n [attr.x2]=\"hovered.end.x\"\n [attr.y2]=\"hovered.end.y\"\n vector-effect=\"non-scaling-stroke\"\n />\n <!-- A larger dot of the series' colour inside a ring of the surface, which parts it\n from the outlines it sits on: the ring first, the dot over it, each drawn the\n way a dot is and for the same reason. The ring's colour is the stylesheet's. -->\n @for (p of hovered.points; track p.index) {\n <path\n class=\"wr-radar-chart__hover-dot\"\n [attr.d]=\"p.d\"\n fill=\"none\"\n stroke-linecap=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n <path\n class=\"wr-radar-chart__hover-dot-center\"\n [attr.d]=\"p.d\"\n fill=\"none\"\n [attr.stroke]=\"p.color\"\n stroke-linecap=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n }\n </svg>\n\n @if (showGrid() && !shown && ringLabels().length > 0) {\n <!-- Hidden, as an axis' ticks are on every chart: the drawing's name is what is\n announced, and the figures are in the data table. Each sits on its ring, between\n two spokes. Not under a state, whose message is centred over the same web. -->\n <div class=\"wr-radar-chart__ring-labels\" aria-hidden=\"true\">\n @for (ring of ringLabels(); track $index) {\n <span\n #ringLabel\n class=\"wr-radar-chart__ring-label\"\n [style.--wr-radar-chart-x]=\"ring.x\"\n [style.--wr-radar-chart-y]=\"ring.y\"\n >{{ ring.text }}</span\n >\n }\n </div>\n }\n\n @if (axisLabels().length > 0) {\n <!-- Real text beside the drawing, as the line chart's x labels are: each hands the\n stylesheet the end of its spoke and the way it points. -->\n <div class=\"wr-radar-chart__axis-labels\">\n @for (axis of axisLabels(); track $index) {\n <span\n class=\"wr-radar-chart__axis-label\"\n [style.--wr-radar-chart-x]=\"axis.x\"\n [style.--wr-radar-chart-y]=\"axis.y\"\n [style.--wr-radar-chart-cos]=\"axis.cos\"\n [style.--wr-radar-chart-sin]=\"axis.sin\"\n >{{ axis.label }}</span\n >\n }\n </div>\n }\n\n @if (shown) {\n <!-- Empty, loading or failed: the message, over the web and the axis names the chart keeps. -->\n <wr-chart-state [kind]=\"shown.kind\" [label]=\"shown.label\" />\n }\n</div>\n\n@if (dataTable() && !shown) {\n <!-- The figures for a screen reader, beside the drawing's `img` and never inside it:\n `img` makes everything it holds presentational. Clipped to nothing by its own\n stylesheet, so it takes no room and draws nothing. -->\n <wr-chart-table [data]=\"tableData()\" />\n}\n\n@if (legendShown() && !legendFirst()) {\n <ng-container [ngTemplateOutlet]=\"legend\" />\n}\n",
|
|
652
|
+
dependencies: [
|
|
653
|
+
{
|
|
654
|
+
kind: "directive",
|
|
655
|
+
type: NgTemplateOutlet,
|
|
656
|
+
selector: "[ngTemplateOutlet]",
|
|
657
|
+
inputs: [
|
|
658
|
+
"ngTemplateOutletContext",
|
|
659
|
+
"ngTemplateOutlet",
|
|
660
|
+
"ngTemplateOutletInjector"
|
|
661
|
+
]
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
kind: "component",
|
|
665
|
+
type: WrChartLegend,
|
|
666
|
+
selector: "ul[wr-chart-legend]",
|
|
667
|
+
inputs: [
|
|
668
|
+
"items",
|
|
669
|
+
"position",
|
|
670
|
+
"toggleable",
|
|
671
|
+
"hiddenSeries",
|
|
672
|
+
"ariaLabel",
|
|
673
|
+
"hiddenLabel"
|
|
674
|
+
],
|
|
675
|
+
outputs: ["hiddenSeriesChange", "toggled"]
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
kind: "component",
|
|
679
|
+
type: WrChartState,
|
|
680
|
+
selector: "wr-chart-state",
|
|
681
|
+
inputs: ["kind", "label"]
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
kind: "component",
|
|
685
|
+
type: WrChartTable,
|
|
686
|
+
selector: "wr-chart-table",
|
|
687
|
+
inputs: ["data"]
|
|
688
|
+
}
|
|
689
|
+
],
|
|
559
690
|
encapsulation: i0.ViewEncapsulation.None
|
|
560
691
|
});
|
|
561
692
|
};
|
|
@@ -570,12 +701,18 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
570
701
|
selector: "wr-radar-chart",
|
|
571
702
|
encapsulation: ViewEncapsulation.None,
|
|
572
703
|
host: {
|
|
573
|
-
class: "wr-radar-chart",
|
|
704
|
+
class: "wr-radar-chart wr-chart--legend",
|
|
574
705
|
"[class.wr-radar-chart--polygon]": "!polar()",
|
|
575
|
-
"[class.wr-radar-chart--polar-area]": "polar()"
|
|
706
|
+
"[class.wr-radar-chart--polar-area]": "polar()",
|
|
707
|
+
"[class.wr-chart--legend-side]": "legendShown() && legendSide()"
|
|
576
708
|
},
|
|
577
|
-
imports: [
|
|
578
|
-
|
|
709
|
+
imports: [
|
|
710
|
+
NgTemplateOutlet,
|
|
711
|
+
WrChartLegend,
|
|
712
|
+
WrChartState,
|
|
713
|
+
WrChartTable
|
|
714
|
+
],
|
|
715
|
+
template: "@let hovered = hover();\n@let shown = state();\n\n<!-- The legend, drawn before the drawing or after it so it is in the DOM where it is on\n screen: a toggleable legend's rows are tab stops, and their order follows it. Every\n row keys its series by the series' own dash, as the outline is drawn. Rows are\n tracked by position, so two series that share a label are two rows. -->\n<ng-template #legend>\n <ul\n wr-chart-legend\n class=\"wr-radar-chart__legend\"\n [items]=\"legendItems()\"\n [position]=\"legendPosition()\"\n [toggleable]=\"toggleableLegend()\"\n [(hiddenSeries)]=\"hiddenSeries\"\n ></ul>\n</ng-template>\n\n@if (legendShown() && legendFirst()) {\n <ng-container [ngTemplateOutlet]=\"legend\" />\n}\n\n<!-- The drawing, with the axis names in a gutter round it. The surface is as wide as the\n drawing; the gutter is its padding, and both label layers cover the drawing exactly,\n so a percentage of either is a percentage of the drawing. -->\n<div class=\"wr-radar-chart__surface\" [style.width.px]=\"size()\">\n <!-- The name sits on the DRAWING, not on this wrapper: `img` is a children-presentational\n role, and WebKit drops the whole subtree of one, which would take the axis names\n beside the drawing down with it. -->\n <svg\n #svg\n class=\"wr-radar-chart__svg\"\n viewBox=\"0 0 100 100\"\n role=\"img\"\n [attr.aria-label]=\"resolvedAriaLabel()\"\n (mousemove)=\"onPointerMove($event)\"\n (mouseleave)=\"tip.leave($event)\"\n >\n @if (showGrid()) {\n @for (d of ringPaths(); track $index) {\n <path class=\"wr-radar-chart__ring\" [attr.d]=\"d\" fill=\"none\" vector-effect=\"non-scaling-stroke\" />\n }\n @for (end of spokes(); track $index) {\n <line\n class=\"wr-radar-chart__spoke\"\n x1=\"50\"\n y1=\"50\"\n [attr.x2]=\"end.x\"\n [attr.y2]=\"end.y\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n }\n\n <!-- No series under a state: its message stands on the web the chart keeps.\n `data-wr-series` on every mark of a series is its legend row, which the hover\n dims by. -->\n @if (!shown) {\n <!-- Every fill under every outline, so the outlines and their dashes stay on top\n wherever two series overlap. An open outline is never filled: filling it would\n close it across a value the series does not have. A polar-area outline is the\n silhouette of the series' wedges, which always closes, so it always fills. The\n `fill` attribute is the series' colour, which forced colors keeps; the\n stylesheet paints the tint from the same colour, handed over as a property. -->\n @if (showArea()) {\n @for (s of shapes(); track s.index) {\n @if (s.closed) {\n <path\n class=\"wr-radar-chart__area\"\n [attr.d]=\"s.d\"\n [attr.fill]=\"s.color\"\n [attr.data-wr-series]=\"s.index\"\n [style.--wr-radar-chart-series-color]=\"s.color\"\n stroke=\"none\"\n />\n }\n }\n }\n <!-- By position, not by label: two series may share one. -->\n @for (s of shapes(); track s.index) {\n <path\n class=\"wr-radar-chart__line\"\n [attr.d]=\"s.d\"\n fill=\"none\"\n [attr.stroke]=\"s.color\"\n [attr.stroke-dasharray]=\"s.dash || null\"\n [attr.data-wr-series]=\"s.index\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n @if (showDots()) {\n @for (s of shapes(); track s.index) {\n <!-- Every dot of the series in one path, a subpath each, so a series costs one\n element rather than one per axis. A missing value gets no dot. A dot is a\n zero-length line with a round cap and a non-scaling stroke, so it stays a\n circle of the same pixels at any size. -->\n @if (s.dots) {\n <path\n class=\"wr-radar-chart__dot\"\n [attr.d]=\"s.dots\"\n fill=\"none\"\n [attr.stroke]=\"s.color\"\n [attr.data-wr-series]=\"s.index\"\n stroke-linecap=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n }\n }\n }\n\n @if (hovered) {\n <line\n class=\"wr-radar-chart__crosshair\"\n x1=\"50\"\n y1=\"50\"\n [attr.x2]=\"hovered.end.x\"\n [attr.y2]=\"hovered.end.y\"\n vector-effect=\"non-scaling-stroke\"\n />\n <!-- A larger dot of the series' colour inside a ring of the surface, which parts it\n from the outlines it sits on: the ring first, the dot over it, each drawn the\n way a dot is and for the same reason. The ring's colour is the stylesheet's. -->\n @for (p of hovered.points; track p.index) {\n <path\n class=\"wr-radar-chart__hover-dot\"\n [attr.d]=\"p.d\"\n fill=\"none\"\n stroke-linecap=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n <path\n class=\"wr-radar-chart__hover-dot-center\"\n [attr.d]=\"p.d\"\n fill=\"none\"\n [attr.stroke]=\"p.color\"\n stroke-linecap=\"round\"\n vector-effect=\"non-scaling-stroke\"\n />\n }\n }\n </svg>\n\n @if (showGrid() && !shown && ringLabels().length > 0) {\n <!-- Hidden, as an axis' ticks are on every chart: the drawing's name is what is\n announced, and the figures are in the data table. Each sits on its ring, between\n two spokes. Not under a state, whose message is centred over the same web. -->\n <div class=\"wr-radar-chart__ring-labels\" aria-hidden=\"true\">\n @for (ring of ringLabels(); track $index) {\n <span\n #ringLabel\n class=\"wr-radar-chart__ring-label\"\n [style.--wr-radar-chart-x]=\"ring.x\"\n [style.--wr-radar-chart-y]=\"ring.y\"\n >{{ ring.text }}</span\n >\n }\n </div>\n }\n\n @if (axisLabels().length > 0) {\n <!-- Real text beside the drawing, as the line chart's x labels are: each hands the\n stylesheet the end of its spoke and the way it points. -->\n <div class=\"wr-radar-chart__axis-labels\">\n @for (axis of axisLabels(); track $index) {\n <span\n class=\"wr-radar-chart__axis-label\"\n [style.--wr-radar-chart-x]=\"axis.x\"\n [style.--wr-radar-chart-y]=\"axis.y\"\n [style.--wr-radar-chart-cos]=\"axis.cos\"\n [style.--wr-radar-chart-sin]=\"axis.sin\"\n >{{ axis.label }}</span\n >\n }\n </div>\n }\n\n @if (shown) {\n <!-- Empty, loading or failed: the message, over the web and the axis names the chart keeps. -->\n <wr-chart-state [kind]=\"shown.kind\" [label]=\"shown.label\" />\n }\n</div>\n\n@if (dataTable() && !shown) {\n <!-- The figures for a screen reader, beside the drawing's `img` and never inside it:\n `img` makes everything it holds presentational. Clipped to nothing by its own\n stylesheet, so it takes no room and draws nothing. -->\n <wr-chart-table [data]=\"tableData()\" />\n}\n\n@if (legendShown() && !legendFirst()) {\n <ng-container [ngTemplateOutlet]=\"legend\" />\n}\n"
|
|
579
716
|
}]
|
|
580
717
|
}],
|
|
581
718
|
ctorParameters: () => [],
|
|
@@ -652,6 +789,54 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
652
789
|
required: false
|
|
653
790
|
}]
|
|
654
791
|
}],
|
|
792
|
+
legendPosition: [{
|
|
793
|
+
type: i0.Input,
|
|
794
|
+
args: [{
|
|
795
|
+
isSignal: true,
|
|
796
|
+
alias: "legendPosition",
|
|
797
|
+
required: false
|
|
798
|
+
}]
|
|
799
|
+
}],
|
|
800
|
+
loading: [{
|
|
801
|
+
type: i0.Input,
|
|
802
|
+
args: [{
|
|
803
|
+
isSignal: true,
|
|
804
|
+
alias: "loading",
|
|
805
|
+
required: false
|
|
806
|
+
}]
|
|
807
|
+
}],
|
|
808
|
+
error: [{
|
|
809
|
+
type: i0.Input,
|
|
810
|
+
args: [{
|
|
811
|
+
isSignal: true,
|
|
812
|
+
alias: "error",
|
|
813
|
+
required: false
|
|
814
|
+
}]
|
|
815
|
+
}],
|
|
816
|
+
emptyLabel: [{
|
|
817
|
+
type: i0.Input,
|
|
818
|
+
args: [{
|
|
819
|
+
isSignal: true,
|
|
820
|
+
alias: "emptyLabel",
|
|
821
|
+
required: false
|
|
822
|
+
}]
|
|
823
|
+
}],
|
|
824
|
+
loadingLabel: [{
|
|
825
|
+
type: i0.Input,
|
|
826
|
+
args: [{
|
|
827
|
+
isSignal: true,
|
|
828
|
+
alias: "loadingLabel",
|
|
829
|
+
required: false
|
|
830
|
+
}]
|
|
831
|
+
}],
|
|
832
|
+
errorLabel: [{
|
|
833
|
+
type: i0.Input,
|
|
834
|
+
args: [{
|
|
835
|
+
isSignal: true,
|
|
836
|
+
alias: "errorLabel",
|
|
837
|
+
required: false
|
|
838
|
+
}]
|
|
839
|
+
}],
|
|
655
840
|
toggleableLegend: [{
|
|
656
841
|
type: i0.Input,
|
|
657
842
|
args: [{
|
|
@@ -714,6 +899,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
714
899
|
svg: [{
|
|
715
900
|
type: i0.ViewChild,
|
|
716
901
|
args: ["svg", { isSignal: true }]
|
|
902
|
+
}],
|
|
903
|
+
ringLabel: [{
|
|
904
|
+
type: i0.ViewChild,
|
|
905
|
+
args: ["ringLabel", { isSignal: true }]
|
|
717
906
|
}]
|
|
718
907
|
}
|
|
719
908
|
});
|