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,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { Component, DestroyRef, Directive, ElementRef, Injector, PLATFORM_ID, Service, ViewContainerRef, ViewEncapsulation, afterNextRender, afterRenderEffect, computed, effect, inject, input, output, signal, untracked } from "@angular/core";
|
|
3
3
|
import { coerceBooleanProperty } from "@angular/cdk/coercion";
|
|
4
|
-
import { DOCUMENT as DOCUMENT$1, NgTemplateOutlet, isPlatformBrowser } from "@angular/common";
|
|
4
|
+
import { DOCUMENT as DOCUMENT$1, NgTemplateOutlet, isPlatformBrowser, isPlatformServer } from "@angular/common";
|
|
5
5
|
import { WR_KEYS, wrCheckStyles, wrGetFocusableElements, wrNumAttr, wrRestoreFocus, wrToClassList } from "ngwr/utils";
|
|
6
6
|
import { useI18nText } from "ngwr/i18n";
|
|
7
7
|
import { Directionality } from "@angular/cdk/bidi";
|
|
8
8
|
import { ScrollStrategyOptions } from "@angular/cdk/overlay";
|
|
9
9
|
import { ComponentPortal, TemplatePortal } from "@angular/cdk/portal";
|
|
10
10
|
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
11
|
-
import { WR_OVERLAY, WrOutsideClick, wrAnchoredPositions, wrFollowDirection, wrMirrorOffsets } from "ngwr/overlay";
|
|
12
|
-
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
11
|
+
import { WR_OVERLAY, WrOutsideClick, wrAnchoredPositions, wrFocusOverlay, wrFollowDirection, wrMirrorOffsets } from "ngwr/overlay";
|
|
12
|
+
import { FocusMonitor, FocusTrapFactory } from "@angular/cdk/a11y";
|
|
13
13
|
import { ViewportRuler } from "@angular/cdk/scrolling";
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
@@ -45,7 +45,10 @@ var WrChartTooltipPanel = class WrChartTooltipPanel {
|
|
|
45
45
|
transformFunction: null
|
|
46
46
|
} },
|
|
47
47
|
host: {
|
|
48
|
-
properties: {
|
|
48
|
+
properties: {
|
|
49
|
+
"class.wr-chart-tooltip--rows": "rows().length > 0",
|
|
50
|
+
"class": "datum().className"
|
|
51
|
+
},
|
|
49
52
|
classAttribute: "wr-tooltip wr-chart-tooltip"
|
|
50
53
|
},
|
|
51
54
|
ngImport: i0,
|
|
@@ -75,7 +78,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
75
78
|
encapsulation: ViewEncapsulation.None,
|
|
76
79
|
host: {
|
|
77
80
|
class: "wr-tooltip wr-chart-tooltip",
|
|
78
|
-
"[class.wr-chart-tooltip--rows]": "rows().length > 0"
|
|
81
|
+
"[class.wr-chart-tooltip--rows]": "rows().length > 0",
|
|
82
|
+
"[class]": "datum().className"
|
|
79
83
|
},
|
|
80
84
|
imports: [NgTemplateOutlet],
|
|
81
85
|
template: "@let d = datum();\n<!-- The heading: the section's swatch, name and value. An empty value draws nothing,\n since a heading over rows usually has none of its own. -->\n<ng-template #head>\n @if (d.color) {\n <span class=\"wr-chart-tooltip__swatch\" [style.background]=\"d.color\"></span>\n }\n @if (d.label) {\n <span class=\"wr-chart-tooltip__label\">{{ d.label }}</span>\n }\n @if (d.value) {\n <span class=\"wr-chart-tooltip__value\">{{ d.value }}</span>\n }\n</ng-template>\n\n@if (rows().length > 0) {\n <!-- Wrapped only here, so a chip with no rows keeps the DOM every chart drew before. -->\n @if (d.color || d.label || d.value) {\n <span class=\"wr-chart-tooltip__head\"><ng-container [ngTemplateOutlet]=\"head\" /></span>\n }\n @for (row of rows(); track $index) {\n <span class=\"wr-chart-tooltip__row\">\n @if (row.color) {\n <span class=\"wr-chart-tooltip__row-swatch\" [style.background]=\"row.color\"></span>\n }\n <span class=\"wr-chart-tooltip__row-label\">{{ row.label }}</span>\n <span class=\"wr-chart-tooltip__row-value\">{{ row.value }}</span>\n </span>\n }\n} @else {\n <ng-container [ngTemplateOutlet]=\"head\" />\n}\n"
|
|
@@ -208,6 +212,7 @@ function useChartTooltip(enabled, resolve, sectionAt) {
|
|
|
208
212
|
const injector = inject(Injector);
|
|
209
213
|
const hovered = signal(null, ...ngDevMode ? [{ debugName: "hovered" }] : /* istanbul ignore next */ []);
|
|
210
214
|
const active = computed(() => enabled() ? hovered() : null, ...ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []);
|
|
215
|
+
const hoverable = () => untracked(enabled) === "hoverable";
|
|
211
216
|
let dismissed = null;
|
|
212
217
|
let overlayRef = null;
|
|
213
218
|
let strategy = null;
|
|
@@ -278,7 +283,7 @@ function useChartTooltip(enabled, resolve, sectionAt) {
|
|
|
278
283
|
cancelGrace();
|
|
279
284
|
return;
|
|
280
285
|
}
|
|
281
|
-
if (showing !== null && inBridge()) {
|
|
286
|
+
if (showing !== null && hoverable() && inBridge()) {
|
|
282
287
|
defer(index);
|
|
283
288
|
return;
|
|
284
289
|
}
|
|
@@ -334,6 +339,10 @@ function useChartTooltip(enabled, resolve, sectionAt) {
|
|
|
334
339
|
enter(scrubbed);
|
|
335
340
|
return;
|
|
336
341
|
}
|
|
342
|
+
if (!hoverable()) {
|
|
343
|
+
if (sectionAt && graceTimer === null) defer(null);
|
|
344
|
+
return;
|
|
345
|
+
}
|
|
337
346
|
const chip = chipBox();
|
|
338
347
|
const onChip = chip !== null && x >= chip.left && x <= chip.right && y >= chip.top && y <= chip.bottom;
|
|
339
348
|
if (sectionAt && !onChip && graceTimer === null) defer(null);
|
|
@@ -398,8 +407,10 @@ function useChartTooltip(enabled, resolve, sectionAt) {
|
|
|
398
407
|
wrFollowDirection(overlayRef, dir, injector, (direction) => strategy?.withPositions(chartTooltipPositions(side, direction === "rtl")));
|
|
399
408
|
const pane = overlayRef.overlayElement;
|
|
400
409
|
pane.setAttribute("aria-hidden", "true");
|
|
401
|
-
|
|
402
|
-
|
|
410
|
+
if (hoverable()) {
|
|
411
|
+
pane.addEventListener("mouseenter", cancelGrace);
|
|
412
|
+
pane.addEventListener("mouseleave", () => defer(null));
|
|
413
|
+
}
|
|
403
414
|
overlayRef.keydownEvents().subscribe((event) => {
|
|
404
415
|
if (event.key !== "Escape") return;
|
|
405
416
|
dismissed = hovered();
|
|
@@ -407,6 +418,7 @@ function useChartTooltip(enabled, resolve, sectionAt) {
|
|
|
407
418
|
hovered.set(null);
|
|
408
419
|
});
|
|
409
420
|
panel = overlayRef.attach(new ComponentPortal(WrChartTooltipPanel, null, injector));
|
|
421
|
+
if (!hoverable()) pane.style.pointerEvents = "none";
|
|
410
422
|
} else if (wanted !== side) {
|
|
411
423
|
side = wanted;
|
|
412
424
|
strategy?.withPositions(chartTooltipPositions(side, overlayRef.getDirection() === "rtl"));
|
|
@@ -437,11 +449,14 @@ function useChartTooltip(enabled, resolve, sectionAt) {
|
|
|
437
449
|
leave(event) {
|
|
438
450
|
dismissed = null;
|
|
439
451
|
const to = event?.relatedTarget;
|
|
440
|
-
if (to instanceof Node && overlayRef?.overlayElement.contains(to)) return;
|
|
452
|
+
if (hoverable() && to instanceof Node && overlayRef?.overlayElement.contains(to)) return;
|
|
441
453
|
defer(null);
|
|
442
454
|
}
|
|
443
455
|
};
|
|
444
456
|
}
|
|
457
|
+
function wrCoerceChartTooltip(value) {
|
|
458
|
+
return value === "hoverable" ? "hoverable" : coerceBooleanProperty(value);
|
|
459
|
+
}
|
|
445
460
|
/**
|
|
446
461
|
* @license
|
|
447
462
|
*
|
|
@@ -578,6 +593,19 @@ function wrPopoverPositions(position, paneClass) {
|
|
|
578
593
|
* Use of this source code is governed by an MIT-style license that can be
|
|
579
594
|
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
580
595
|
*/
|
|
596
|
+
const NAMEABLE = "button, a[href], [role=\"button\"], [role=\"link\"]";
|
|
597
|
+
const SERVER_NAMED = "data-wr-named";
|
|
598
|
+
function hasNamingContent(el) {
|
|
599
|
+
for (const node of Array.from(el.childNodes)) if (node.nodeType === node.TEXT_NODE) {
|
|
600
|
+
if (node.textContent?.trim()) return true;
|
|
601
|
+
} else if (node.nodeType === node.ELEMENT_NODE) {
|
|
602
|
+
const child = node;
|
|
603
|
+
if (child.getAttribute("aria-hidden") === "true") continue;
|
|
604
|
+
if (child.matches("[aria-label], [aria-labelledby], [title], img[alt]:not([alt=\"\"])")) return true;
|
|
605
|
+
if (hasNamingContent(child)) return true;
|
|
606
|
+
}
|
|
607
|
+
return false;
|
|
608
|
+
}
|
|
581
609
|
const NAVIGATION_KEYS = /* @__PURE__ */ new Set([
|
|
582
610
|
WR_KEYS.TAB,
|
|
583
611
|
WR_KEYS.ARROW_UP,
|
|
@@ -616,11 +644,16 @@ var WrPopover = class WrPopover {
|
|
|
616
644
|
transform: coerceBooleanProperty
|
|
617
645
|
});
|
|
618
646
|
ariaLabel = input(null, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
|
|
647
|
+
autoFocus = input(false, {
|
|
648
|
+
...ngDevMode ? { debugName: "autoFocus" } : /* istanbul ignore next */ {},
|
|
649
|
+
alias: "wrPopoverAutoFocus"
|
|
650
|
+
});
|
|
619
651
|
panelClass = input(null, ...ngDevMode ? [{ debugName: "panelClass" }] : /* istanbul ignore next */ []);
|
|
620
652
|
opened = output();
|
|
621
653
|
closed = output();
|
|
622
654
|
host = inject(ElementRef);
|
|
623
655
|
focusMonitor = inject(FocusMonitor);
|
|
656
|
+
focusTraps = inject(FocusTrapFactory);
|
|
624
657
|
keystroke = inject(WrCurrentKeystroke);
|
|
625
658
|
overlay = inject(WR_OVERLAY);
|
|
626
659
|
dir = inject(Directionality, { optional: true });
|
|
@@ -638,11 +671,15 @@ var WrPopover = class WrPopover {
|
|
|
638
671
|
overlayRef = null;
|
|
639
672
|
connected = null;
|
|
640
673
|
textPanelRef = null;
|
|
674
|
+
finder = null;
|
|
641
675
|
hostFocused = false;
|
|
642
676
|
hoverCloseTimer = null;
|
|
643
677
|
openedByKeyboard = false;
|
|
644
678
|
showTimer = null;
|
|
645
679
|
hideTimer = null;
|
|
680
|
+
writtenName = null;
|
|
681
|
+
namesHost = signal(false, ...ngDevMode ? [{ debugName: "namesHost" }] : /* istanbul ignore next */ []);
|
|
682
|
+
onServer = isPlatformServer(inject(PLATFORM_ID));
|
|
646
683
|
constructor() {
|
|
647
684
|
if (typeof ngDevMode === "undefined" || ngDevMode) wrCheckStyles("popover");
|
|
648
685
|
effect(() => {
|
|
@@ -685,6 +722,7 @@ var WrPopover = class WrPopover {
|
|
|
685
722
|
if (!this.destroyRef.destroyed) this.scheduleHide();
|
|
686
723
|
});
|
|
687
724
|
});
|
|
725
|
+
afterRenderEffect(() => this.syncName());
|
|
688
726
|
afterNextRender(() => {
|
|
689
727
|
this.focusMonitor.monitor(this.host).pipe(takeUntilDestroyed(this.destroyRef)).subscribe((origin) => {
|
|
690
728
|
if (origin) {
|
|
@@ -703,6 +741,9 @@ var WrPopover = class WrPopover {
|
|
|
703
741
|
this.focusMonitor.stopMonitoring(this.host);
|
|
704
742
|
});
|
|
705
743
|
}
|
|
744
|
+
ngAfterViewInit() {
|
|
745
|
+
this.syncName();
|
|
746
|
+
}
|
|
706
747
|
open() {
|
|
707
748
|
if (this.disabled()) return;
|
|
708
749
|
this.openState.set(true);
|
|
@@ -745,6 +786,20 @@ var WrPopover = class WrPopover {
|
|
|
745
786
|
this.openedByKeyboard = true;
|
|
746
787
|
this.openState.set(true);
|
|
747
788
|
}
|
|
789
|
+
onTriggerTab(event) {
|
|
790
|
+
const pane = this.overlayRef?.overlayElement;
|
|
791
|
+
if (!pane || this.isTooltip() || event.shiftKey || event.defaultPrevented) return;
|
|
792
|
+
if (event.target !== this.host.nativeElement) return;
|
|
793
|
+
if (this.trigger() !== "click" && !this.openedByKeyboard) return;
|
|
794
|
+
const first = wrGetFocusableElements(pane).find((el) => el.tabIndex >= 0);
|
|
795
|
+
if (!first) {
|
|
796
|
+
this.closeOverlay();
|
|
797
|
+
this.openState.set(false);
|
|
798
|
+
return;
|
|
799
|
+
}
|
|
800
|
+
event.preventDefault();
|
|
801
|
+
first.focus();
|
|
802
|
+
}
|
|
748
803
|
onEscape() {
|
|
749
804
|
if (!this.isTooltip()) return;
|
|
750
805
|
this.clearTimers();
|
|
@@ -754,6 +809,29 @@ var WrPopover = class WrPopover {
|
|
|
754
809
|
const key = this.keystroke.key;
|
|
755
810
|
return key === null || NAVIGATION_KEYS.has(key);
|
|
756
811
|
}
|
|
812
|
+
syncName() {
|
|
813
|
+
const el = this.host.nativeElement;
|
|
814
|
+
const content = this.content();
|
|
815
|
+
const text = this.isTooltip() && !this.origin() && typeof content === "string" ? content.trim() : "";
|
|
816
|
+
const current = el.getAttribute("aria-label");
|
|
817
|
+
if (this.writtenName === null && el.hasAttribute(SERVER_NAMED)) {
|
|
818
|
+
this.writtenName = current;
|
|
819
|
+
el.removeAttribute(SERVER_NAMED);
|
|
820
|
+
}
|
|
821
|
+
const mine = this.writtenName !== null && current === this.writtenName;
|
|
822
|
+
const unnamed = (current === null || mine) && el.matches(NAMEABLE) && !el.hasAttribute("aria-labelledby") && !el.hasAttribute("title") && !hasNamingContent(el);
|
|
823
|
+
if (text && unnamed) {
|
|
824
|
+
if (current !== text) el.setAttribute("aria-label", text);
|
|
825
|
+
if (this.onServer) el.setAttribute(SERVER_NAMED, "");
|
|
826
|
+
this.writtenName = text;
|
|
827
|
+
this.namesHost.set(true);
|
|
828
|
+
return;
|
|
829
|
+
}
|
|
830
|
+
if (mine) el.removeAttribute("aria-label");
|
|
831
|
+
if (this.onServer) el.removeAttribute(SERVER_NAMED);
|
|
832
|
+
this.writtenName = null;
|
|
833
|
+
this.namesHost.set(!!text && !mine && current?.trim() === text);
|
|
834
|
+
}
|
|
757
835
|
scheduleShow() {
|
|
758
836
|
if (this.disabled()) return;
|
|
759
837
|
if (this.isOpen()) {
|
|
@@ -783,6 +861,7 @@ var WrPopover = class WrPopover {
|
|
|
783
861
|
if (this.overlayRef) return;
|
|
784
862
|
const tooltip = this.isTooltip();
|
|
785
863
|
const position = this.resolvedPosition();
|
|
864
|
+
if (tooltip) untracked(() => this.syncName());
|
|
786
865
|
const paneClass = tooltip ? "wr-tooltip-overlay" : "wr-popover-overlay";
|
|
787
866
|
const connected = this.overlay.position().flexibleConnectedTo((tooltip ? this.origin() : null) ?? this.host).withPositions(wrMirrorOffsets(wrPopoverPositions(position, paneClass), this.isRtl())).withPush(true).withViewportMargin(8);
|
|
788
867
|
this.connected = connected;
|
|
@@ -809,7 +888,8 @@ var WrPopover = class WrPopover {
|
|
|
809
888
|
if (this.trigger() === "click" || this.openedByKeyboard) {
|
|
810
889
|
view.detectChanges();
|
|
811
890
|
pane.tabIndex = -1;
|
|
812
|
-
|
|
891
|
+
this.finder = this.focusTraps.create(pane, true);
|
|
892
|
+
wrFocusOverlay(pane, this.finder, this.autoFocus(), this.injector);
|
|
813
893
|
pane.addEventListener("keydown", this.onPaneKeydown);
|
|
814
894
|
pane.addEventListener("focusout", this.onPaneFocusOut);
|
|
815
895
|
}
|
|
@@ -843,6 +923,8 @@ var WrPopover = class WrPopover {
|
|
|
843
923
|
const focusWasInside = pane.contains(this.host.nativeElement.ownerDocument.activeElement);
|
|
844
924
|
pane.removeEventListener("keydown", this.onPaneKeydown);
|
|
845
925
|
pane.removeEventListener("focusout", this.onPaneFocusOut);
|
|
926
|
+
this.finder?.destroy();
|
|
927
|
+
this.finder = null;
|
|
846
928
|
this.overlayRef.dispose();
|
|
847
929
|
this.overlayRef = null;
|
|
848
930
|
this.connected = null;
|
|
@@ -981,6 +1063,13 @@ var WrPopover = class WrPopover {
|
|
|
981
1063
|
isRequired: false,
|
|
982
1064
|
transformFunction: null
|
|
983
1065
|
},
|
|
1066
|
+
autoFocus: {
|
|
1067
|
+
classPropertyName: "autoFocus",
|
|
1068
|
+
publicName: "wrPopoverAutoFocus",
|
|
1069
|
+
isSignal: true,
|
|
1070
|
+
isRequired: false,
|
|
1071
|
+
transformFunction: null
|
|
1072
|
+
},
|
|
984
1073
|
panelClass: {
|
|
985
1074
|
classPropertyName: "panelClass",
|
|
986
1075
|
publicName: "panelClass",
|
|
@@ -1000,14 +1089,15 @@ var WrPopover = class WrPopover {
|
|
|
1000
1089
|
"mouseleave": "onMouseLeave($event)",
|
|
1001
1090
|
"keydown.escape": "onEscape()",
|
|
1002
1091
|
"keydown.enter": "onActivateKey($event)",
|
|
1003
|
-
"keydown.space": "onActivateKey($event)"
|
|
1092
|
+
"keydown.space": "onActivateKey($event)",
|
|
1093
|
+
"keydown.tab": "onTriggerTab($event)"
|
|
1004
1094
|
},
|
|
1005
1095
|
properties: {
|
|
1006
1096
|
"class.wr-popover-trigger--disabled": "disabled()",
|
|
1007
1097
|
"attr.aria-haspopup": "isTooltip() || disabled() ? null : \"dialog\"",
|
|
1008
1098
|
"attr.aria-expanded": "isTooltip() || disabled() ? null : isOpen()",
|
|
1009
1099
|
"attr.aria-controls": "!isTooltip() && isOpen() ? panelId : null",
|
|
1010
|
-
"attr.aria-describedby": "isTooltip() && isOpen() ? panelId : null"
|
|
1100
|
+
"attr.aria-describedby": "isTooltip() && isOpen() && !namesHost() ? panelId : null"
|
|
1011
1101
|
},
|
|
1012
1102
|
classAttribute: "wr-popover-trigger"
|
|
1013
1103
|
},
|
|
@@ -1031,13 +1121,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1031
1121
|
"[attr.aria-haspopup]": "isTooltip() || disabled() ? null : \"dialog\"",
|
|
1032
1122
|
"[attr.aria-expanded]": "isTooltip() || disabled() ? null : isOpen()",
|
|
1033
1123
|
"[attr.aria-controls]": "!isTooltip() && isOpen() ? panelId : null",
|
|
1034
|
-
"[attr.aria-describedby]": "isTooltip() && isOpen() ? panelId : null",
|
|
1124
|
+
"[attr.aria-describedby]": "isTooltip() && isOpen() && !namesHost() ? panelId : null",
|
|
1035
1125
|
"(click)": "onClick($event)",
|
|
1036
1126
|
"(mouseenter)": "onMouseEnter()",
|
|
1037
1127
|
"(mouseleave)": "onMouseLeave($event)",
|
|
1038
1128
|
"(keydown.escape)": "onEscape()",
|
|
1039
1129
|
"(keydown.enter)": "onActivateKey($event)",
|
|
1040
|
-
"(keydown.space)": "onActivateKey($event)"
|
|
1130
|
+
"(keydown.space)": "onActivateKey($event)",
|
|
1131
|
+
"(keydown.tab)": "onTriggerTab($event)"
|
|
1041
1132
|
}
|
|
1042
1133
|
}]
|
|
1043
1134
|
}],
|
|
@@ -1115,6 +1206,14 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1115
1206
|
required: false
|
|
1116
1207
|
}]
|
|
1117
1208
|
}],
|
|
1209
|
+
autoFocus: [{
|
|
1210
|
+
type: i0.Input,
|
|
1211
|
+
args: [{
|
|
1212
|
+
isSignal: true,
|
|
1213
|
+
alias: "wrPopoverAutoFocus",
|
|
1214
|
+
required: false
|
|
1215
|
+
}]
|
|
1216
|
+
}],
|
|
1118
1217
|
panelClass: [{
|
|
1119
1218
|
type: i0.Input,
|
|
1120
1219
|
args: [{
|
|
@@ -1171,6 +1270,6 @@ function wrUseTextTooltip(position = "top") {
|
|
|
1171
1270
|
hide
|
|
1172
1271
|
};
|
|
1173
1272
|
}
|
|
1174
|
-
export { WrPopover, useChartTooltip, wrUseTextTooltip };
|
|
1273
|
+
export { WrPopover, useChartTooltip, wrCoerceChartTooltip, wrUseTextTooltip };
|
|
1175
1274
|
|
|
1176
1275
|
//# sourceMappingURL=ngwr-popover.mjs.map
|