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
package/types/ngwr-select.d.ts
CHANGED
|
@@ -242,11 +242,12 @@ interface SelectedChip {
|
|
|
242
242
|
* `ControlValueAccessor` in between. `[(value)]` works standalone, and classic
|
|
243
243
|
* `[(ngModel)]` / reactive forms keep working through Angular's bridge.
|
|
244
244
|
*
|
|
245
|
-
* `T` is an
|
|
246
|
-
* value
|
|
245
|
+
* `T` is an item of `[options]` or of what `[loader]` returns, and `V` is an
|
|
246
|
+
* option's value: the return type of `[valueWith]`, or else the type of the
|
|
247
|
+
* value binding. `value` is `V | readonly V[] | null`: one `V` in single and
|
|
247
248
|
* search mode, an array of them in multi and tag mode. The mode is a runtime
|
|
248
|
-
* input, so the type cannot pick one shape; narrow in the handler, or leave
|
|
249
|
-
* at
|
|
249
|
+
* input, so the type cannot pick one shape; narrow in the handler, or leave
|
|
250
|
+
* both at their default `unknown`.
|
|
250
251
|
*
|
|
251
252
|
* @example
|
|
252
253
|
* ```html
|
|
@@ -272,12 +273,15 @@ interface SelectedChip {
|
|
|
272
273
|
* [(value)]="categories"
|
|
273
274
|
* (searchChange)="store.search($event)"
|
|
274
275
|
* />
|
|
276
|
+
*
|
|
277
|
+
* <!-- Options of objects, the id in the model -->
|
|
278
|
+
* <wr-select [options]="people()" [displayWith]="personName" [valueWith]="personId" [(value)]="assigneeId" />
|
|
275
279
|
* ```
|
|
276
280
|
*
|
|
277
281
|
*
|
|
278
282
|
* @see https://ngwr.dev/reference/components/select
|
|
279
283
|
*/
|
|
280
|
-
export declare class WrSelect<T = unknown> implements FormValueControl<
|
|
284
|
+
export declare class WrSelect<T = unknown, V = T> implements FormValueControl<V | readonly V[] | null>, WrSelectContext {
|
|
281
285
|
/** Placeholder shown when no option is selected. Falls back to `select.placeholder`. */
|
|
282
286
|
readonly placeholder: import("@angular/core").InputSignal<string | null>;
|
|
283
287
|
/** Clear-selection (×) button aria-label. Falls back to `select.clearSelection`. */
|
|
@@ -352,6 +356,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
352
356
|
private readonly fieldAria;
|
|
353
357
|
protected readonly describedBy: import("@angular/core").Signal<string | null>;
|
|
354
358
|
protected readonly ariaInvalid: import("@angular/core").Signal<"true" | null>;
|
|
359
|
+
protected readonly ariaRequired: import("@angular/core").Signal<"true" | null>;
|
|
355
360
|
/**
|
|
356
361
|
* Disable the select. Bound automatically from the field's disabled state
|
|
357
362
|
* when used with `[formField]`.
|
|
@@ -373,6 +378,8 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
373
378
|
* @default false
|
|
374
379
|
*/
|
|
375
380
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
381
|
+
/** Stretch the select to fill its parent's width. @default false */
|
|
382
|
+
readonly block: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
376
383
|
/** Pill-shaped corners on the trigger. @default false */
|
|
377
384
|
readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
378
385
|
/**
|
|
@@ -440,13 +447,15 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
440
447
|
readonly searchQuery: import("@angular/core").ModelSignal<string>;
|
|
441
448
|
/**
|
|
442
449
|
* Option array, in every mode with a panel. Each item is rendered as a
|
|
443
|
-
* `<wr-option>` whose value is the item
|
|
444
|
-
* `[displayWith]`, before any projected `<wr-option>`
|
|
445
|
-
* query filters both lists alike. Ignored in `tag` mode,
|
|
450
|
+
* `<wr-option>` whose value is the item, or `[valueWith]` of it, and whose
|
|
451
|
+
* label comes from `[displayWith]`, before any projected `<wr-option>`
|
|
452
|
+
* children; a search query filters both lists alike. Ignored in `tag` mode,
|
|
453
|
+
* which has no panel.
|
|
446
454
|
*
|
|
447
455
|
* @example
|
|
448
456
|
* ```html
|
|
449
457
|
* <wr-select [options]="countries" [displayWith]="countryName" [(value)]="country" />
|
|
458
|
+
* <wr-select [options]="countries" [displayWith]="countryName" [valueWith]="countryCode" [(value)]="code" />
|
|
450
459
|
* <wr-select mode="multi" [options]="tags" [(value)]="picked" />
|
|
451
460
|
* ```
|
|
452
461
|
*/
|
|
@@ -456,6 +465,19 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
456
465
|
* selected, on its chip in multi mode. @default String
|
|
457
466
|
*/
|
|
458
467
|
readonly displayWith: import("@angular/core").InputSignal<(item: T) => string>;
|
|
468
|
+
/**
|
|
469
|
+
* Maps an `[options]` item, or a `[loader]` result, to the value the model
|
|
470
|
+
* holds, so a list of objects can bind an id. The trigger and the chips show
|
|
471
|
+
* the label of the item whose value matches. Values are compared with `===`.
|
|
472
|
+
* Without it an item is its own value. Not read by `freeText`, which commits
|
|
473
|
+
* the typed string, or by `tag` mode, which has no options.
|
|
474
|
+
*
|
|
475
|
+
* @example
|
|
476
|
+
* ```html
|
|
477
|
+
* <wr-select [options]="people()" [displayWith]="personName" [valueWith]="personId" [(value)]="assigneeId" />
|
|
478
|
+
* ```
|
|
479
|
+
*/
|
|
480
|
+
readonly valueWith: import("@angular/core").InputSignal<((item: T) => V) | null>;
|
|
459
481
|
/**
|
|
460
482
|
* Search mode: async loader. When set, the loader is called on every
|
|
461
483
|
* (debounced) keystroke and its result replaces `[options]`. Supports
|
|
@@ -671,10 +693,10 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
671
693
|
readonly maxTagCount: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
672
694
|
/**
|
|
673
695
|
* Unified value. Single mode holds a scalar (or `null`); multi / tag
|
|
674
|
-
* mode holds `readonly
|
|
696
|
+
* mode holds `readonly V[]`. Bound by `[formField]`, or two-way
|
|
675
697
|
* via `[(value)]`.
|
|
676
698
|
*/
|
|
677
|
-
readonly value: import("@angular/core").ModelSignal<
|
|
699
|
+
readonly value: import("@angular/core").ModelSignal<V | readonly V[] | null>;
|
|
678
700
|
/** Emitted on blur / commit so a bound field can mark itself touched. */
|
|
679
701
|
readonly touch: import("@angular/core").OutputEmitterRef<void>;
|
|
680
702
|
/** Fires after the panel opens. */
|
|
@@ -817,7 +839,18 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
817
839
|
* `<wr-option>` in the panel, in every mode that has one.
|
|
818
840
|
*/
|
|
819
841
|
protected readonly dynamicOptions: import("@angular/core").Signal<readonly T[]>;
|
|
820
|
-
|
|
842
|
+
/** An item's value: `valueWith` of it, or the item itself. */
|
|
843
|
+
protected valueOf(item: T): V;
|
|
844
|
+
/** The first of `dynamicOptions()` carrying each value. */
|
|
845
|
+
private readonly itemsByValue;
|
|
846
|
+
/**
|
|
847
|
+
* Under `valueWith`, the item behind each selected value. An item stays here
|
|
848
|
+
* after a loader or a server search has dropped its row, so the label of an
|
|
849
|
+
* id outlives the query it was picked under.
|
|
850
|
+
*/
|
|
851
|
+
private readonly selectedItems;
|
|
852
|
+
/** A chip's label under `valueWith`: its item's, or the value as text while no item carries it. */
|
|
853
|
+
private itemLabel;
|
|
821
854
|
/** Lowercased labels of `dynamicOptions()`, by index: a query reads them, and never `displayWith`. */
|
|
822
855
|
private readonly dynamicSearchLabels;
|
|
823
856
|
private static readonly FALLBACK_ROW_PX;
|
|
@@ -874,6 +907,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
874
907
|
/** The windowed slice of options, each carrying its absolute index. */
|
|
875
908
|
protected readonly windowOptions: import("@angular/core").Signal<readonly {
|
|
876
909
|
item: T;
|
|
910
|
+
value: V;
|
|
877
911
|
index: number;
|
|
878
912
|
}[]>;
|
|
879
913
|
/** Stable id for a virtual option row at filtered index `i`. */
|
|
@@ -1197,8 +1231,8 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
1197
1231
|
private panelPositions;
|
|
1198
1232
|
/** `notify: false` is the destroy path: an output cannot emit from a destroyed view. */
|
|
1199
1233
|
private closeOverlay;
|
|
1200
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WrSelect<any>, never>;
|
|
1201
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WrSelect<any>, "wr-select", never, {
|
|
1234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrSelect<any, any>, never>;
|
|
1235
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrSelect<any, any>, "wr-select", never, {
|
|
1202
1236
|
"placeholder": {
|
|
1203
1237
|
"alias": "placeholder";
|
|
1204
1238
|
"required": false;
|
|
@@ -1224,6 +1258,11 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
1224
1258
|
"required": false;
|
|
1225
1259
|
"isSignal": true;
|
|
1226
1260
|
};
|
|
1261
|
+
"block": {
|
|
1262
|
+
"alias": "block";
|
|
1263
|
+
"required": false;
|
|
1264
|
+
"isSignal": true;
|
|
1265
|
+
};
|
|
1227
1266
|
"rounded": {
|
|
1228
1267
|
"alias": "rounded";
|
|
1229
1268
|
"required": false;
|
|
@@ -1259,6 +1298,11 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
1259
1298
|
"required": false;
|
|
1260
1299
|
"isSignal": true;
|
|
1261
1300
|
};
|
|
1301
|
+
"valueWith": {
|
|
1302
|
+
"alias": "valueWith";
|
|
1303
|
+
"required": false;
|
|
1304
|
+
"isSignal": true;
|
|
1305
|
+
};
|
|
1262
1306
|
"loader": {
|
|
1263
1307
|
"alias": "loader";
|
|
1264
1308
|
"required": false;
|
|
@@ -44,6 +44,10 @@ interface WrSortableListContext {
|
|
|
44
44
|
indexOf(item: {
|
|
45
45
|
readonly host: ElementRef<HTMLElement>;
|
|
46
46
|
}): number;
|
|
47
|
+
/** Same as `indexOf`, cached per `items` array and row count; reads `items`. */
|
|
48
|
+
positionOf(item: {
|
|
49
|
+
readonly host: ElementRef<HTMLElement>;
|
|
50
|
+
}): number;
|
|
47
51
|
/** Key handling for a row — pick up, move, drop, cancel. */
|
|
48
52
|
onRowKeydown(event: KeyboardEvent, index: number): void;
|
|
49
53
|
/** A held row losing focus ends the gesture as a drop. */
|
|
@@ -211,6 +215,8 @@ export declare class WrSortableList<T = unknown> implements WrSortableListContex
|
|
|
211
215
|
* the DOM, so `indexOf` cannot find it and the stale entry is swept then.
|
|
212
216
|
*/
|
|
213
217
|
private readonly rows;
|
|
218
|
+
/** Row positions for one `items` array and row count, so a change sorts once however many rows ask. */
|
|
219
|
+
private positions;
|
|
214
220
|
/** Index of the row the keyboard is holding, or `null` when nothing is held. */
|
|
215
221
|
readonly grabbedIndex: WritableSignal<number | null>;
|
|
216
222
|
/** Live-region text. Written by the keyboard path only. */
|
|
@@ -262,6 +268,14 @@ export declare class WrSortableList<T = unknown> implements WrSortableListContex
|
|
|
262
268
|
indexOf(item: {
|
|
263
269
|
readonly host: ElementRef<HTMLElement>;
|
|
264
270
|
}): number;
|
|
271
|
+
/**
|
|
272
|
+
* @internal The same answer as `indexOf`, served from a map that is rebuilt
|
|
273
|
+
* only when `items` or the number of rows changes. Reads `items`, so a
|
|
274
|
+
* `computed` that calls it follows every reorder.
|
|
275
|
+
*/
|
|
276
|
+
positionOf(item: {
|
|
277
|
+
readonly host: ElementRef<HTMLElement>;
|
|
278
|
+
}): number;
|
|
265
279
|
/**
|
|
266
280
|
* Drops rows whose element has left the document and puts the rest into
|
|
267
281
|
* document order.
|
|
@@ -399,13 +413,12 @@ export declare class WrSortableItem {
|
|
|
399
413
|
* Position among the list's rows, which IS the index into `items()`: the
|
|
400
414
|
* consumer's own loop renders them in that order.
|
|
401
415
|
*
|
|
402
|
-
* `
|
|
403
|
-
*
|
|
404
|
-
*
|
|
405
|
-
*
|
|
406
|
-
*
|
|
407
|
-
*
|
|
408
|
-
* has moved the nodes, so the recomputation reads the new order.
|
|
416
|
+
* `positionOf` resolves by DOCUMENT ORDER and is keyed on the `items` ARRAY,
|
|
417
|
+
* not its length: a reorder keeps the count, so a length-keyed index stayed
|
|
418
|
+
* on the slot the row had left, the highlight stayed behind with it, and a
|
|
419
|
+
* second pick-up of the same row moved its old neighbour instead. Host
|
|
420
|
+
* bindings run after the consumer's `@for` has moved the nodes, so the
|
|
421
|
+
* recomputation reads the new order.
|
|
409
422
|
*/
|
|
410
423
|
protected readonly index: import("@angular/core").Signal<number>;
|
|
411
424
|
protected readonly grabbed: import("@angular/core").Signal<boolean>;
|
package/types/ngwr-table.d.ts
CHANGED
|
@@ -299,6 +299,14 @@ interface WrTableColumn<T extends WrTableRow = WrTableRow> {
|
|
|
299
299
|
* the column cannot grow: give it a `width`.
|
|
300
300
|
*/
|
|
301
301
|
readonly truncate?: WrTableTruncate | null;
|
|
302
|
+
/**
|
|
303
|
+
* A column of row actions. Its `[wrTableCell]` template renders inside
|
|
304
|
+
* `.wr-table__actions`, a single row with a gap at the end of the cell, for
|
|
305
|
+
* icon-only `wr-btn`s. The column shrinks to its buttons
|
|
306
|
+
* (`.wr-table__th--actions`, `.wr-table__td--actions`); under
|
|
307
|
+
* `layout="fixed"` give it a `width`. `toCsv()` leaves it out.
|
|
308
|
+
*/
|
|
309
|
+
readonly actions?: boolean;
|
|
302
310
|
/**
|
|
303
311
|
* Extra CSS classes for this column's header cell AND every body cell under
|
|
304
312
|
* it - the one place to set a monospace face or any other treatment of your
|
|
@@ -448,6 +456,19 @@ interface WrTableExpandContext {
|
|
|
448
456
|
/** The expanded row (alias of `$implicit`). */
|
|
449
457
|
readonly row: Record<string, unknown>;
|
|
450
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* @license
|
|
461
|
+
*
|
|
462
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
463
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
464
|
+
*/
|
|
465
|
+
/**
|
|
466
|
+
* How `<wr-table>` sizes its columns.
|
|
467
|
+
*
|
|
468
|
+
* - `'auto'` - the browser sizes each column to its content
|
|
469
|
+
* - `'fixed'` - a column keeps its `width`, the rest share what is left, and text wraps
|
|
470
|
+
*/
|
|
471
|
+
type WrTableLayout = 'auto' | 'fixed';
|
|
451
472
|
/**
|
|
452
473
|
* @license
|
|
453
474
|
*
|
|
@@ -552,6 +573,8 @@ interface CellColumn<T extends WrTableRow> {
|
|
|
552
573
|
readonly width: number | null;
|
|
553
574
|
/** The `width` a truncated column's cells are capped at. */
|
|
554
575
|
readonly maxWidth: number | null;
|
|
576
|
+
/** Whether its template renders inside `.wr-table__actions`. */
|
|
577
|
+
readonly actions: boolean;
|
|
555
578
|
/** Whether its cell names the row (see `labelColumnKey`). */
|
|
556
579
|
readonly label: boolean;
|
|
557
580
|
/** Whether its cell carries the tree indent and toggle. */
|
|
@@ -631,7 +654,7 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
|
|
|
631
654
|
*/
|
|
632
655
|
readonly loadingMode: import("@angular/core").InputSignal<WrTableLoadingMode>;
|
|
633
656
|
/** The form `loading` takes right now, `null` while nothing loads. */
|
|
634
|
-
protected readonly loadingForm: import("@angular/core").Signal<"
|
|
657
|
+
protected readonly loadingForm: import("@angular/core").Signal<"bar" | "overlay" | null>;
|
|
635
658
|
/**
|
|
636
659
|
* Collapse each row to a labelled card when the table's own box is too narrow
|
|
637
660
|
* for columns (a container query on its own width, not the viewport). Every
|
|
@@ -1028,6 +1051,14 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
|
|
|
1028
1051
|
readonly overscan: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
1029
1052
|
/** Total row count derived for the pager (server-mode wins). */
|
|
1030
1053
|
protected readonly resolvedTotal: import("@angular/core").Signal<number>;
|
|
1054
|
+
/**
|
|
1055
|
+
* The page the table shows. Clamped at BOTH ends, because `page` is a model the
|
|
1056
|
+
* host owns (a `model()` takes no transform) and the data can shrink under it,
|
|
1057
|
+
* which used to leave an empty slice with no way back except paging by hand.
|
|
1058
|
+
* Below 1 the offset goes negative and `Array.slice` reads a negative start
|
|
1059
|
+
* from the END; `|| 1` folds `0` and `NaN` in.
|
|
1060
|
+
*/
|
|
1061
|
+
protected readonly shownPage: import("@angular/core").Signal<number>;
|
|
1031
1062
|
/** Items visible on the current page (client mode slices; server mode passes through). */
|
|
1032
1063
|
protected readonly visibleItems: import("@angular/core").Signal<readonly Record<string, unknown>[] | null | undefined>;
|
|
1033
1064
|
/** Show the pager footer only when paging is enabled and rows overflow. */
|
|
@@ -1151,11 +1182,21 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
|
|
|
1151
1182
|
* cut cell's full text in a tooltip on hover and focus; a cell that fits
|
|
1152
1183
|
* shows none. A column's own `truncate` wins, and `null` there turns it off
|
|
1153
1184
|
* for that column. A cell is cut only where its column cannot grow: give the
|
|
1154
|
-
* column a `width`, or the table a fixed layout (
|
|
1155
|
-
* one has it).
|
|
1185
|
+
* column a `width`, or the table a fixed layout (`layout="fixed"`, and a
|
|
1186
|
+
* resized or virtualized one has it).
|
|
1156
1187
|
* @default null
|
|
1157
1188
|
*/
|
|
1158
1189
|
readonly truncate: import("@angular/core").InputSignal<"tooltip" | null>;
|
|
1190
|
+
/**
|
|
1191
|
+
* How the columns are sized. `'auto'` lets the browser size each column to
|
|
1192
|
+
* its content. `'fixed'` keeps every column at its `width`, shares what is
|
|
1193
|
+
* left between the columns without one, and wraps the text of the header and
|
|
1194
|
+
* body cells: sorting or paging never moves a column. A column's
|
|
1195
|
+
* `truncate` still cuts its cells to one line. Resizing works in both; a
|
|
1196
|
+
* virtualized table keeps its one-line rows.
|
|
1197
|
+
* @default 'auto'
|
|
1198
|
+
*/
|
|
1199
|
+
readonly layout: import("@angular/core").InputSignal<WrTableLayout>;
|
|
1159
1200
|
/**
|
|
1160
1201
|
* A column's name for its controls: the title, the hint after it, or the hint
|
|
1161
1202
|
* alone under an empty title.
|
|
@@ -1252,8 +1293,14 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
|
|
|
1252
1293
|
protected readonly windowStart: import("@angular/core").Signal<number>;
|
|
1253
1294
|
/** Rows placed in `<tbody>`. SAME array instance as `renderRows()` when off → byte-identical DOM. */
|
|
1254
1295
|
protected readonly windowRows: import("@angular/core").Signal<readonly RenderRow[]>;
|
|
1255
|
-
/**
|
|
1296
|
+
/** Whether the columns hold their widths: `layout="fixed"`, a resize latch, virtualization or an edit hold. */
|
|
1256
1297
|
protected readonly fixedLayoutActive: import("@angular/core").Signal<boolean>;
|
|
1298
|
+
/**
|
|
1299
|
+
* The fixed layout that also cuts every cell to one line, `.wr-table__table--fixed`.
|
|
1300
|
+
* A virtualized body needs it for its row height. A resize or an edit hold
|
|
1301
|
+
* takes it only over `layout="auto"`, where the cells did not wrap before.
|
|
1302
|
+
*/
|
|
1303
|
+
protected readonly clippedLayout: import("@angular/core").Signal<boolean>;
|
|
1257
1304
|
/** Scroll a flat row index to the top of the virtual viewport. No-op on the server / when not virtual. */
|
|
1258
1305
|
scrollToRow(index: number, behavior?: ScrollBehavior): void;
|
|
1259
1306
|
protected onColumnDrop(event: CdkDragDrop<unknown>): void;
|
|
@@ -1522,7 +1569,8 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
|
|
|
1522
1569
|
* titles, then one row per item in the current column order. A cell is what
|
|
1523
1570
|
* the plain cell shows: the column's `empty` for a missing value, its
|
|
1524
1571
|
* `format` over the value, else the raw value. A `[wrTableCell]` template is
|
|
1525
|
-
* not run, so a column drawn by one exports its `format` or its data.
|
|
1572
|
+
* not run, so a column drawn by one exports its `format` or its data. An
|
|
1573
|
+
* `actions` column has no data and is left out.
|
|
1526
1574
|
*
|
|
1527
1575
|
* Covers the current `items`, so in server-side mode (`total` set) it
|
|
1528
1576
|
* exports the current page, while client-side pagination exports every page.
|
|
@@ -1808,6 +1856,11 @@ export declare class WrTable<T extends WrTableRow = WrTableRow> {
|
|
|
1808
1856
|
"required": false;
|
|
1809
1857
|
"isSignal": true;
|
|
1810
1858
|
};
|
|
1859
|
+
"layout": {
|
|
1860
|
+
"alias": "layout";
|
|
1861
|
+
"required": false;
|
|
1862
|
+
"isSignal": true;
|
|
1863
|
+
};
|
|
1811
1864
|
"editable": {
|
|
1812
1865
|
"alias": "editable";
|
|
1813
1866
|
"required": false;
|
|
@@ -2245,4 +2298,4 @@ export declare function wrReadField<T>(item: T, key: string): string | number;
|
|
|
2245
2298
|
* @param accessor Reads the value of a key; defaults to `wrReadField`.
|
|
2246
2299
|
*/
|
|
2247
2300
|
export declare function wrSortRows<T>(rows: readonly T[], sort: readonly WrTableSortState[], accessor?: WrTableSortAccessor<T>): readonly T[];
|
|
2248
|
-
export type { WrTableCellContext, WrTableCellEdit, WrTableChooserColumn, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableEditCellContext, WrTableEditable, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableLoadingMode, WrTableRow, WrTableRowClass, WrTableRowClick, WrTableSelectionContext, WrTableSortAccessor, WrTableSortDirection, WrTableSortState, WrTableState, WrTableSummary, WrTableSummaryContext, WrTableTruncate };
|
|
2301
|
+
export type { WrTableCellContext, WrTableCellEdit, WrTableChooserColumn, WrTableColumn, WrTableColumnAlign, WrTableColumns, WrTableCsvOptions, WrTableEditCellContext, WrTableEditable, WrTableExpandContext, WrTableFilterChange, WrTableFilterItem, WrTableGroupContext, WrTableLayout, WrTableLoadingMode, WrTableRow, WrTableRowClass, WrTableRowClick, WrTableSelectionContext, WrTableSortAccessor, WrTableSortDirection, WrTableSortState, WrTableState, WrTableSummary, WrTableSummaryContext, WrTableTruncate };
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import * as i0 from "@angular/core";
|
|
2
8
|
import { WrTabsRoutingAdapter } from "ngwr/tabs";
|
|
3
9
|
/**
|
package/types/ngwr-toast.d.ts
CHANGED
|
@@ -161,6 +161,8 @@ export declare class WrToastRef {
|
|
|
161
161
|
* Global defaults come from {@link WR_TOAST_CONFIG}; register
|
|
162
162
|
* `provideWr(withToast(...))` once at bootstrap to customise. Each
|
|
163
163
|
* `show()` call accepts per-toast overrides via {@link WrToastOptions}.
|
|
164
|
+
* `info()`, `success()`, `warning()` and `danger()` are `show()` with the
|
|
165
|
+
* type set and the message first.
|
|
164
166
|
*
|
|
165
167
|
* @example
|
|
166
168
|
* ```ts
|
|
@@ -171,6 +173,7 @@ export declare class WrToastRef {
|
|
|
171
173
|
* toast.show({ message: 'Permalink copied', position: 'bottom', showCopy: true });
|
|
172
174
|
* toast.show({ message: 'Item deleted', action: { label: 'Undo', run: () => restore() } });
|
|
173
175
|
* toast.show({ type: 'danger', message: 'Door forced', outlet: 'alarms' });
|
|
176
|
+
* toast.success('Profile updated.', { title: 'Saved' });
|
|
174
177
|
* ```
|
|
175
178
|
*
|
|
176
179
|
* @see https://ngwr.dev/reference/components/toast
|
|
@@ -197,6 +200,14 @@ export declare class WrToast {
|
|
|
197
200
|
private readonly outlets;
|
|
198
201
|
/** Open a toast. Returns a handle you can `dismiss()` early. */
|
|
199
202
|
show(options: WrToastOptions): WrToastRef;
|
|
203
|
+
/** An `info` toast: `show({ ...options, message, type: 'info' })`. */
|
|
204
|
+
info(message: string, options?: Omit<WrToastOptions, 'message' | 'type'>): WrToastRef;
|
|
205
|
+
/** A `success` toast: `show({ ...options, message, type: 'success' })`. */
|
|
206
|
+
success(message: string, options?: Omit<WrToastOptions, 'message' | 'type'>): WrToastRef;
|
|
207
|
+
/** A `warning` toast: `show({ ...options, message, type: 'warning' })`. */
|
|
208
|
+
warning(message: string, options?: Omit<WrToastOptions, 'message' | 'type'>): WrToastRef;
|
|
209
|
+
/** A `danger` toast: `show({ ...options, message, type: 'danger' })`. */
|
|
210
|
+
danger(message: string, options?: Omit<WrToastOptions, 'message' | 'type'>): WrToastRef;
|
|
200
211
|
/** Dismiss a single toast by id, in whichever stack holds it. */
|
|
201
212
|
dismiss(id: number): void;
|
|
202
213
|
/**
|
package/types/ngwr-tour.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { InjectionToken } from "@angular/core";
|
|
3
2
|
import { WrClassInput } from "ngwr/utils";
|
|
3
|
+
import { WrOverlayAutoFocus } from "ngwr/overlay";
|
|
4
4
|
/** Where the step popup sits relative to its target. */
|
|
5
5
|
type WrTourPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
6
6
|
/** One stop on a tour. */
|
|
@@ -25,6 +25,19 @@ interface WrTourStep {
|
|
|
25
25
|
*/
|
|
26
26
|
readonly panelClass?: WrClassInput;
|
|
27
27
|
}
|
|
28
|
+
/** Options for a whole tour, the second argument of `WrTour.start()`. */
|
|
29
|
+
interface WrTourOptions {
|
|
30
|
+
/**
|
|
31
|
+
* Where focus goes when a step's card opens. `'dialog'` puts it on the card
|
|
32
|
+
* itself, with no ring, so the keyboard is inside the tour and no button is
|
|
33
|
+
* lit; `'first-tabbable'` puts it on Next (Done on the last step); `false`
|
|
34
|
+
* leaves it where it is on the first step, and on the card once it has been
|
|
35
|
+
* inside one. The card traps Tab in every mode, and ending the tour returns
|
|
36
|
+
* focus to where it was when the tour started.
|
|
37
|
+
* @default 'dialog'
|
|
38
|
+
*/
|
|
39
|
+
readonly autoFocus?: WrOverlayAutoFocus;
|
|
40
|
+
}
|
|
28
41
|
/**
|
|
29
42
|
* Guided product tour: a spotlight over one element at a time plus a popup
|
|
30
43
|
* explaining it.
|
|
@@ -65,6 +78,9 @@ export declare class WrTour {
|
|
|
65
78
|
private detachKeydown;
|
|
66
79
|
private detachReposition;
|
|
67
80
|
private restoreFocus;
|
|
81
|
+
private autoFocus;
|
|
82
|
+
/** `focusNext` for the card, see {@link WrTourController}. */
|
|
83
|
+
readonly focusNext: () => boolean;
|
|
68
84
|
private stopWatchingUrl;
|
|
69
85
|
/** Whether a tour is running. */
|
|
70
86
|
readonly active: import("@angular/core").Signal<boolean>;
|
|
@@ -98,7 +114,7 @@ export declare class WrTour {
|
|
|
98
114
|
* tour is a client-side affordance and there is nothing to spotlight on the
|
|
99
115
|
* server.
|
|
100
116
|
*/
|
|
101
|
-
start(steps: readonly WrTourStep[]): void;
|
|
117
|
+
start(steps: readonly WrTourStep[], options?: WrTourOptions): void;
|
|
102
118
|
/** Advance; finishes the tour past the last step. */
|
|
103
119
|
next(): void;
|
|
104
120
|
/** Go back; stays put on the first step. */
|
|
@@ -154,6 +170,8 @@ interface WrTourController {
|
|
|
154
170
|
* would put a Back button on the very first card.
|
|
155
171
|
*/
|
|
156
172
|
readonly isFirst: () => boolean;
|
|
173
|
+
/** Whether the card opens with focus on Next: the tour's `autoFocus` is `'first-tabbable'`. */
|
|
174
|
+
readonly focusNext: () => boolean;
|
|
157
175
|
next(): void;
|
|
158
176
|
prev(): void;
|
|
159
177
|
stop(): void;
|
|
@@ -189,4 +207,4 @@ export declare class WrTourPopup {
|
|
|
189
207
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrTourPopup, never>;
|
|
190
208
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrTourPopup, "wr-tour-popup", never, {}, {}, never, never, true, never>;
|
|
191
209
|
}
|
|
192
|
-
export type { WrTourPlacement, WrTourStep };
|
|
210
|
+
export type { WrTourOptions, WrTourPlacement, WrTourStep };
|
|
@@ -368,8 +368,7 @@ export declare class WrTreeHarness extends ContentContainerComponentHarness {
|
|
|
368
368
|
* prove the pointer path and nothing more.
|
|
369
369
|
*
|
|
370
370
|
* The key is honoured only on the CLOSED trigger, so an open panel is closed
|
|
371
|
-
* first with Escape — the step a keyboard user takes too
|
|
372
|
-
* the panel while it is up.
|
|
371
|
+
* first with Escape — the step a keyboard user takes too.
|
|
373
372
|
*
|
|
374
373
|
* Does nothing, rather than throwing, where the component does nothing —
|
|
375
374
|
* nothing selected, disabled or read-only — so a spec asserts the outcome on
|
package/types/ngwr-tree.d.ts
CHANGED
|
@@ -216,6 +216,15 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
216
216
|
readonly viewportHeight: import("@angular/core").InputSignal<string | number>;
|
|
217
217
|
/** Extra rows kept rendered above and below the viewport as scroll headroom. @default 6 */
|
|
218
218
|
readonly overscan: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
219
|
+
/**
|
|
220
|
+
* `openOn="overlay"` only: focus the cursor row when the panel opens (the
|
|
221
|
+
* list itself in a virtual tree). Off, focus stays on the trigger:
|
|
222
|
+
* ArrowDown, ArrowUp or Tab there move into the panel, and a letter jumps to
|
|
223
|
+
* the row it starts.
|
|
224
|
+
*
|
|
225
|
+
* @default false
|
|
226
|
+
*/
|
|
227
|
+
readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
219
228
|
/**
|
|
220
229
|
* Extra CSS classes for the overlay pane, when `openOn` puts the tree in one.
|
|
221
230
|
*
|
|
@@ -544,10 +553,21 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
544
553
|
* The same key and the same split `wr-select` uses, so the two read alike:
|
|
545
554
|
* in MULTI mode Backspace drops the last chip — chip removal is its own
|
|
546
555
|
* control, not gated on `clearable()` — and in SINGLE mode it clears, gated on
|
|
547
|
-
* `clearable()`, because that input IS the clear control. Only while closed
|
|
548
|
-
*
|
|
556
|
+
* `clearable()`, because that input IS the clear control. Only while closed.
|
|
557
|
+
*
|
|
558
|
+
* While the panel is open the trigger is the way into it, since opening
|
|
559
|
+
* leaves focus here unless `autoFocus` asks: the arrows and Tab move to the
|
|
560
|
+
* cursor row, and a letter to the row it starts. The pane sits at the end of
|
|
561
|
+
* `<body>`, where the browser's own Tab would not find it.
|
|
549
562
|
*/
|
|
550
563
|
protected onTriggerKey(event: KeyboardEvent): void;
|
|
564
|
+
/**
|
|
565
|
+
* Type-ahead: move the cursor to the next visible row after `from` that
|
|
566
|
+
* starts with the letters typed so far.
|
|
567
|
+
*
|
|
568
|
+
* @returns whether the key was a type-ahead key.
|
|
569
|
+
*/
|
|
570
|
+
private typeTo;
|
|
551
571
|
protected removeChip(id: TId, event: Event): void;
|
|
552
572
|
protected clearSelection(event: Event): void;
|
|
553
573
|
private toggleExpanded;
|
|
@@ -619,6 +639,12 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
619
639
|
private focusIndex;
|
|
620
640
|
private collectExpandableIds;
|
|
621
641
|
private openOverlay;
|
|
642
|
+
/**
|
|
643
|
+
* Move focus into the open panel. Virtual mode focuses the LIST (managed
|
|
644
|
+
* focus via `aria-activedescendant`); the non-virtual shape focuses the
|
|
645
|
+
* roving row, which carries the tab stop.
|
|
646
|
+
*/
|
|
647
|
+
private focusPanel;
|
|
622
648
|
/** `notify: false` is the destroy path: an output cannot emit from a destroyed view. */
|
|
623
649
|
private closeOverlay;
|
|
624
650
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrTree<any>, never>;
|
|
@@ -713,6 +739,11 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
713
739
|
"required": false;
|
|
714
740
|
"isSignal": true;
|
|
715
741
|
};
|
|
742
|
+
"autoFocus": {
|
|
743
|
+
"alias": "autoFocus";
|
|
744
|
+
"required": false;
|
|
745
|
+
"isSignal": true;
|
|
746
|
+
};
|
|
716
747
|
"panelClass": {
|
|
717
748
|
"alias": "panelClass";
|
|
718
749
|
"required": false;
|
|
@@ -66,6 +66,8 @@ export declare class WrTypography {
|
|
|
66
66
|
readonly truncate: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
67
67
|
/** Render with monospace font. @default false (auto-true for `code`) */
|
|
68
68
|
readonly mono: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
69
|
+
/** Tabular digits: every digit takes the same width, so amounts line up in a column. @default false */
|
|
70
|
+
readonly numeric: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
69
71
|
protected readonly classes: import("@angular/core").Signal<string>;
|
|
70
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrTypography, never>;
|
|
71
73
|
static ɵdir: i0.ɵɵDirectiveDeclaration<WrTypography, "[wrTypography]", never, {
|
|
@@ -94,6 +96,11 @@ export declare class WrTypography {
|
|
|
94
96
|
"required": false;
|
|
95
97
|
"isSignal": true;
|
|
96
98
|
};
|
|
99
|
+
"numeric": {
|
|
100
|
+
"alias": "numeric";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
97
104
|
}, {}, never, never, true, never>;
|
|
98
105
|
}
|
|
99
106
|
export type { WrTypographyAlign, WrTypographyTone, WrTypographyVariant };
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
5
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
6
|
+
*/
|
|
1
7
|
import { WritableSignal } from "@angular/core";
|
|
2
8
|
import { WrFeature } from "ngwr/utils";
|
|
3
9
|
/**
|