ngwr 15.9.0 → 16.1.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/animations/aurora/styles/_index.scss +1 -1
- package/animations/blur-reveal/styles/_index.scss +1 -1
- package/animations/decode/styles/_index.scss +1 -1
- package/animations/dot-grid/styles/_index.scss +1 -1
- package/animations/flow-lines/styles/_index.scss +1 -1
- package/animations/fluid-cursor/styles/_index.scss +1 -1
- package/animations/{core → internal}/styles/_mixins.scss +1 -1
- package/animations/reveal/styles/_index.scss +1 -1
- package/animations/ripple-grid/styles/_index.scss +1 -1
- package/animations/rotate-reveal/styles/_index.scss +1 -1
- package/animations/thread-lines/styles/_index.scss +1 -1
- package/animations/typewriter/styles/_index.scss +1 -1
- package/badge/styles/_tag.scss +8 -4
- package/button/styles/_index.scss +13 -7
- package/cascader/styles/_rules.scss +4 -2
- package/checkbox/styles/_index.scss +4 -2
- package/copy-value/styles/_index.scss +104 -0
- package/date-picker/styles/_index.scss +121 -0
- package/date-stamp/styles/_index.scss +38 -0
- package/dialog/styles/_index.scss +38 -0
- package/fesm2022/{ngwr-animations-core.mjs → internal-BaQU4t_0.mjs} +6 -49
- package/fesm2022/internal-BaQU4t_0.mjs.map +1 -0
- package/fesm2022/internal-CVLvP9b_.mjs +33 -0
- package/fesm2022/internal-CVLvP9b_.mjs.map +1 -0
- package/fesm2022/ngwr-alert.mjs +13 -9
- package/fesm2022/ngwr-alert.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs +21 -21
- package/fesm2022/ngwr-animations-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-blur-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-click-sparks.mjs +2 -2
- package/fesm2022/ngwr-animations-click-sparks.mjs.map +1 -1
- package/fesm2022/ngwr-animations-confetti.mjs +5 -5
- package/fesm2022/ngwr-animations-confetti.mjs.map +1 -1
- package/fesm2022/ngwr-animations-decode.mjs +4 -4
- package/fesm2022/ngwr-animations-decode.mjs.map +1 -1
- package/fesm2022/ngwr-animations-destruct.mjs +5 -5
- package/fesm2022/ngwr-animations-destruct.mjs.map +1 -1
- package/fesm2022/ngwr-animations-dot-grid.mjs +7 -7
- package/fesm2022/ngwr-animations-dot-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
- package/fesm2022/ngwr-animations-falling-letters.mjs.map +1 -1
- package/fesm2022/ngwr-animations-flow-lines.mjs +17 -17
- package/fesm2022/ngwr-animations-flow-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-fluid-cursor.mjs +12 -12
- package/fesm2022/ngwr-animations-fluid-cursor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-glitch.mjs +2 -2
- package/fesm2022/ngwr-animations-glitch.mjs.map +1 -1
- package/fesm2022/ngwr-animations-marquee.mjs +2 -2
- package/fesm2022/ngwr-animations-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-animations-orbit.mjs +7 -7
- package/fesm2022/ngwr-animations-orbit.mjs.map +1 -1
- package/fesm2022/ngwr-animations-reveal.mjs +4 -4
- package/fesm2022/ngwr-animations-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-ripple-grid.mjs +5 -5
- package/fesm2022/ngwr-animations-ripple-grid.mjs.map +1 -1
- package/fesm2022/ngwr-animations-rotate-reveal.mjs +4 -4
- package/fesm2022/ngwr-animations-rotate-reveal.mjs.map +1 -1
- package/fesm2022/ngwr-animations-shimmer.mjs +2 -2
- package/fesm2022/ngwr-animations-shimmer.mjs.map +1 -1
- package/fesm2022/ngwr-animations-spotlight.mjs +1 -1
- package/fesm2022/ngwr-animations-spotlight.mjs.map +1 -1
- package/fesm2022/ngwr-animations-thread-lines.mjs +16 -16
- package/fesm2022/ngwr-animations-thread-lines.mjs.map +1 -1
- package/fesm2022/ngwr-animations-tilt.mjs +3 -3
- package/fesm2022/ngwr-animations-tilt.mjs.map +1 -1
- package/fesm2022/ngwr-animations-typewriter.mjs +4 -4
- package/fesm2022/ngwr-animations-typewriter.mjs.map +1 -1
- package/fesm2022/ngwr-avatar.mjs +14 -10
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-back-top.mjs +10 -6
- package/fesm2022/ngwr-back-top.mjs.map +1 -1
- package/fesm2022/ngwr-badge.mjs +18 -6
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +9 -6
- package/fesm2022/ngwr-burger.mjs.map +1 -1
- package/fesm2022/ngwr-button.mjs +8 -4
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +19 -8
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +9 -5
- package/fesm2022/ngwr-card.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +54 -25
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +13 -13
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +9 -9
- package/fesm2022/ngwr-charts-boxplot-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bullet-chart.mjs +8 -8
- package/fesm2022/ngwr-charts-bullet-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +5 -2
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +11 -11
- package/fesm2022/ngwr-charts-candlestick-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-chart-legend.mjs +2 -2
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
- package/fesm2022/ngwr-charts-core.mjs +20 -20
- package/fesm2022/ngwr-charts-core.mjs.map +1 -1
- package/fesm2022/ngwr-charts-donut-chart.mjs +2 -2
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart.mjs +6 -6
- package/fesm2022/ngwr-charts-funnel-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-gauge.mjs +3 -3
- package/fesm2022/ngwr-charts-gauge.mjs.map +1 -1
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +10 -10
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +2 -2
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +11 -11
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs +10 -10
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-treemap-chart.mjs +4 -4
- package/fesm2022/ngwr-charts-treemap-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +7 -7
- package/fesm2022/ngwr-charts-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox.mjs +12 -8
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-clipboard.mjs +2 -1
- package/fesm2022/ngwr-clipboard.mjs.map +1 -1
- package/fesm2022/ngwr-collapse.mjs +11 -7
- package/fesm2022/ngwr-collapse.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +56 -54
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +4 -4
- package/fesm2022/ngwr-command-palette.mjs.map +1 -1
- package/fesm2022/ngwr-comment.mjs +15 -9
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +15 -9
- package/fesm2022/ngwr-compare.mjs.map +1 -1
- package/fesm2022/ngwr-context-menu.mjs +8 -6
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-copy-value-testing.mjs +58 -0
- package/fesm2022/ngwr-copy-value-testing.mjs.map +1 -0
- package/fesm2022/ngwr-copy-value.mjs +201 -0
- package/fesm2022/ngwr-copy-value.mjs.map +1 -0
- package/fesm2022/ngwr-counter.mjs +3 -3
- package/fesm2022/ngwr-counter.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +303 -70
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp-testing.mjs +34 -0
- package/fesm2022/ngwr-date-stamp-testing.mjs.map +1 -0
- package/fesm2022/ngwr-date-stamp.mjs +149 -0
- package/fesm2022/ngwr-date-stamp.mjs.map +1 -0
- package/fesm2022/ngwr-date.mjs +304 -53
- package/fesm2022/ngwr-date.mjs.map +1 -1
- package/fesm2022/ngwr-descriptions.mjs +9 -5
- package/fesm2022/ngwr-descriptions.mjs.map +1 -1
- package/fesm2022/ngwr-dialog-testing.mjs +23 -2
- package/fesm2022/ngwr-dialog-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dialog.mjs +77 -19
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +218 -12
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +4 -2
- package/fesm2022/ngwr-divider.mjs.map +1 -1
- package/fesm2022/ngwr-drawer.mjs +32 -6
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +17 -14
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +33 -30
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +9 -7
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +17 -11
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +18 -6
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +3 -3
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +22 -22
- package/fesm2022/ngwr-hotkey.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ar.mjs +7 -0
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +7 -0
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +7 -0
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +7 -0
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +7 -0
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +7 -0
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +7 -0
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +7 -0
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +7 -0
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +7 -0
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +7 -0
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +7 -0
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +7 -0
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +7 -0
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +7 -0
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +7 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +7 -0
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +7 -0
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +7 -0
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +7 -0
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +7 -0
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +7 -0
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +36 -10
- package/fesm2022/ngwr-i18n.mjs.map +1 -1
- package/fesm2022/ngwr-icon.mjs +5 -5
- package/fesm2022/ngwr-icon.mjs.map +1 -1
- package/fesm2022/ngwr-image-cropper.mjs +11 -11
- package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +13 -7
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +6 -4
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +35 -25
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs +37 -31
- package/fesm2022/ngwr-keyboard.mjs.map +1 -1
- package/fesm2022/ngwr-knob.mjs +13 -7
- package/fesm2022/ngwr-knob.mjs.map +1 -1
- package/fesm2022/ngwr-layout.mjs +13 -5
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +11 -7
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +13 -5
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-load-state.mjs +11 -7
- package/fesm2022/ngwr-load-state.mjs.map +1 -1
- package/fesm2022/ngwr-mention.mjs +6 -6
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +19 -3
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-overlay.mjs +87 -4
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-pagination.mjs +10 -7
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +22 -8
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +4 -1
- package/fesm2022/ngwr-platform.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +6 -5
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +124 -34
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +4 -2
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh.mjs +2 -2
- package/fesm2022/ngwr-pull-to-refresh.mjs.map +1 -1
- package/fesm2022/ngwr-qr.mjs +6 -6
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio.mjs +12 -8
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-rating.mjs +19 -13
- package/fesm2022/ngwr-rating.mjs.map +1 -1
- package/fesm2022/ngwr-resizable.mjs +503 -0
- package/fesm2022/ngwr-resizable.mjs.map +1 -0
- package/fesm2022/ngwr-result.mjs +9 -5
- package/fesm2022/ngwr-result.mjs.map +1 -1
- package/fesm2022/ngwr-schema-form.mjs +15 -5
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-segmented.mjs +4 -2
- package/fesm2022/ngwr-segmented.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +70 -39
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +3 -3
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-skeleton.mjs +6 -4
- package/fesm2022/ngwr-skeleton.mjs.map +1 -1
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +17 -15
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +3 -3
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +4 -2
- package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
- package/fesm2022/ngwr-spinner.mjs +4 -2
- package/fesm2022/ngwr-spinner.mjs.map +1 -1
- package/fesm2022/ngwr-splitter.mjs +21 -25
- package/fesm2022/ngwr-splitter.mjs.map +1 -1
- package/fesm2022/ngwr-statistic.mjs +5 -3
- package/fesm2022/ngwr-statistic.mjs.map +1 -1
- package/fesm2022/ngwr-stepper.mjs +9 -3
- package/fesm2022/ngwr-stepper.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +6 -4
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch.mjs +11 -7
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table-testing.mjs +5 -1
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +396 -35
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +2 -2
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +9 -3
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-timeline.mjs +18 -8
- package/fesm2022/ngwr-timeline.mjs.map +1 -1
- package/fesm2022/ngwr-toast-testing.mjs +14 -2
- package/fesm2022/ngwr-toast-testing.mjs.map +1 -1
- package/fesm2022/ngwr-toast.mjs +588 -120
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +7 -7
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +24 -11
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +68 -26
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +9 -3
- package/fesm2022/ngwr-typography.mjs.map +1 -1
- package/fesm2022/ngwr-utils-router.mjs +18 -2
- package/fesm2022/ngwr-utils-router.mjs.map +1 -1
- package/fesm2022/ngwr-utils.mjs +106 -56
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-validators.mjs +2 -2
- 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 +33 -30
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/fesm2022/ngwr.mjs.map +1 -1
- package/i18n/ar.json +11 -0
- package/i18n/cs.json +11 -0
- package/i18n/de.json +11 -0
- package/i18n/en.json +11 -0
- package/i18n/es.json +11 -0
- package/i18n/fr.json +11 -0
- package/i18n/he.json +11 -0
- package/i18n/hi.json +11 -0
- package/i18n/id.json +11 -0
- package/i18n/it.json +11 -0
- package/i18n/ja.json +11 -0
- package/i18n/ko.json +11 -0
- package/i18n/nl.json +11 -0
- package/i18n/pl.json +11 -0
- package/i18n/pt.json +11 -0
- package/i18n/ru.json +11 -0
- package/i18n/sv.json +11 -0
- package/i18n/tr.json +11 -0
- package/i18n/uk.json +11 -0
- package/i18n/vi.json +11 -0
- package/i18n/zh-TW.json +11 -0
- package/i18n/zh.json +11 -0
- package/input/styles/_index.scss +10 -5
- package/input-number/styles/_index.scss +12 -3
- package/input-otp/styles/_index.scss +4 -2
- package/llms-full.txt +54 -23
- package/llms.txt +45 -23
- package/mcp/providers.js +1 -1
- package/package.json +29 -10
- package/radio/styles/_index.scss +4 -2
- package/resizable/styles/_index.scss +154 -0
- package/schematics/icon-set/index.js +3 -3
- package/schematics/migrations/v16/index.js +742 -0
- package/schematics/migrations.json +5 -0
- package/schematics/ng-add/index.js +4 -4
- package/schematics/provider/index.js +4 -4
- package/schematics/use/rule.js +1 -0
- package/schematics/use/symbol-map.json +6 -0
- package/select/styles/_index.scss +7 -4
- package/skills/ngwr/SKILL.md +6 -4
- package/skills/ngwr/references/catalog.md +8 -3
- package/skills/ngwr/references/setup.md +13 -9
- package/switch/styles/_index.scss +4 -2
- package/table/styles/_index.scss +138 -29
- package/textarea/styles/_index.scss +4 -2
- package/theme/styles/_motion.scss +6 -0
- package/toast/styles/_index.scss +49 -0
- package/tree/styles/_index.scss +17 -0
- package/types/index-CXbgza47.d.ts +13 -0
- package/types/ngwr-animations-aurora.d.ts +1 -1
- package/types/ngwr-animations-blur-reveal.d.ts +2 -2
- package/types/ngwr-animations-dot-grid.d.ts +1 -2
- package/types/ngwr-animations-flow-lines.d.ts +1 -1
- package/types/ngwr-animations-fluid-cursor.d.ts +1 -1
- package/types/ngwr-animations-reveal.d.ts +4 -8
- package/types/ngwr-animations-ripple-grid.d.ts +1 -1
- package/types/ngwr-animations-spotlight.d.ts +1 -1
- package/types/ngwr-animations-thread-lines.d.ts +1 -1
- package/types/ngwr-animations-tilt.d.ts +1 -1
- package/types/ngwr-avatar.d.ts +2 -2
- package/types/ngwr-badge.d.ts +1 -1
- package/types/ngwr-burger.d.ts +0 -1
- package/types/ngwr-calendar.d.ts +7 -0
- package/types/ngwr-cascader.d.ts +12 -1
- package/types/ngwr-charts-boxplot-chart.d.ts +1 -1
- package/types/ngwr-charts-bullet-chart.d.ts +2 -2
- package/types/ngwr-charts-calendar-heatmap.d.ts +2 -1
- package/types/ngwr-charts-candlestick-chart.d.ts +1 -1
- package/types/ngwr-charts-core.d.ts +12 -12
- package/types/ngwr-charts-line-chart.d.ts +2 -2
- package/types/ngwr-charts-radar-chart.d.ts +1 -1
- package/types/ngwr-charts-scatter-chart.d.ts +2 -2
- package/types/ngwr-charts-waterfall-chart.d.ts +1 -1
- package/types/ngwr-clipboard.d.ts +7 -0
- package/types/ngwr-color-picker.d.ts +12 -12
- package/types/ngwr-copy-value-testing.d.ts +87 -0
- package/types/ngwr-copy-value.d.ts +95 -0
- package/types/ngwr-date-picker-testing.d.ts +3 -3
- package/types/ngwr-date-picker.d.ts +106 -3
- package/types/ngwr-date-stamp-testing.d.ts +47 -0
- package/types/ngwr-date-stamp.d.ts +81 -0
- package/types/ngwr-date.d.ts +179 -27
- package/types/ngwr-dialog-testing.d.ts +10 -0
- package/types/ngwr-dialog.d.ts +120 -5
- package/types/ngwr-directives.d.ts +76 -1
- package/types/ngwr-drawer.d.ts +22 -1
- package/types/ngwr-dropdown.d.ts +3 -2
- package/types/ngwr-hotkey.d.ts +5 -5
- package/types/ngwr-i18n.d.ts +47 -17
- package/types/ngwr-icon.d.ts +26 -26
- package/types/ngwr-input-number.d.ts +2 -2
- package/types/ngwr-input.d.ts +8 -8
- package/types/ngwr-load-state.d.ts +6 -6
- package/types/ngwr-meta.d.ts +18 -0
- package/types/ngwr-overlay.d.ts +36 -0
- package/types/ngwr-pipes.d.ts +21 -4
- package/types/ngwr-platform.d.ts +2 -1
- package/types/ngwr-popconfirm.d.ts +3 -2
- package/types/ngwr-popover.d.ts +43 -4
- package/types/ngwr-resizable.d.ts +228 -0
- package/types/ngwr-select.d.ts +33 -18
- package/types/ngwr-slider-testing.d.ts +2 -2
- package/types/ngwr-slider.d.ts +3 -3
- package/types/ngwr-statistic.d.ts +5 -1
- package/types/ngwr-storage.d.ts +1 -1
- package/types/ngwr-table-testing.d.ts +5 -2
- package/types/ngwr-table.d.ts +255 -14
- package/types/ngwr-tabs.d.ts +10 -2
- package/types/ngwr-toast-testing.d.ts +18 -3
- package/types/ngwr-toast.d.ts +248 -23
- package/types/ngwr-transfer.d.ts +5 -0
- package/types/ngwr-tree.d.ts +22 -2
- package/types/ngwr-utils-router.d.ts +22 -0
- package/types/ngwr-utils.d.ts +165 -83
- package/types/ngwr-validators.d.ts +4 -2
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr.d.ts +2 -0
- package/types/pointer-tracker-D7fXxLQL.d.ts +24 -0
- package/fesm2022/ngwr-animations-core.mjs.map +0 -1
- package/types/ngwr-animations-core.d.ts +0 -294
package/types/ngwr-platform.d.ts
CHANGED
|
@@ -154,7 +154,8 @@ export declare class WrHaptics {
|
|
|
154
154
|
* ```
|
|
155
155
|
*
|
|
156
156
|
* @param resource - The resource to reload.
|
|
157
|
-
* @param intervalMs - How often, in ms. Must be positive
|
|
157
|
+
* @param intervalMs - How often, in ms. Must be positive and finite: anything
|
|
158
|
+
* else throws in dev mode and polls nothing in production.
|
|
158
159
|
*/
|
|
159
160
|
export declare function wrPoll<T>(resource: WritableResource<T>, intervalMs: number): void;
|
|
160
161
|
export type { WrHapticImpact, WrReturnOptions };
|
|
@@ -45,8 +45,9 @@ export declare class WrPopconfirm {
|
|
|
45
45
|
private readonly scrollStrategies;
|
|
46
46
|
private readonly injector;
|
|
47
47
|
private readonly destroyRef;
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
private readonly openState;
|
|
49
|
+
/** Whether the popconfirm is open. Read-only: `open()` and `close()` change it. */
|
|
50
|
+
readonly isOpen: import("@angular/core").Signal<boolean>;
|
|
50
51
|
private overlayRef;
|
|
51
52
|
private readonly uid;
|
|
52
53
|
/** @internal Public so the host binding can read it. */
|
package/types/ngwr-popover.d.ts
CHANGED
|
@@ -194,6 +194,19 @@ export declare class WrPopover {
|
|
|
194
194
|
readonly showDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
195
195
|
/** Tooltip only — delay before hiding, in ms. @default 60 */
|
|
196
196
|
readonly hideDelay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
197
|
+
/**
|
|
198
|
+
* Tooltip only — the element the tooltip is for, when that is not the host.
|
|
199
|
+
* The panel is placed against it, and its hover and focus show and hide the
|
|
200
|
+
* tooltip the way the host's do. Setting it shows the tooltip after
|
|
201
|
+
* `showDelay`: name the element once the pointer or the focus is on it.
|
|
202
|
+
*
|
|
203
|
+
* It lets one tooltip serve many elements, as `wr-table` does for its header
|
|
204
|
+
* hints and truncated cells: the owner listens once, and binds this to the
|
|
205
|
+
* element under the pointer and `wrPopover` to its text. `aria-describedby`
|
|
206
|
+
* stays on the host, so the owner names or describes the element itself.
|
|
207
|
+
* @default null
|
|
208
|
+
*/
|
|
209
|
+
readonly origin: import("@angular/core").InputSignal<HTMLElement | null>;
|
|
197
210
|
/**
|
|
198
211
|
* Popover mode only — accessible name of the panel. `role="dialog"` with no
|
|
199
212
|
* name announces as a bare "dialog", so the catalog's `popover.label` is used
|
|
@@ -224,8 +237,9 @@ export declare class WrPopover {
|
|
|
224
237
|
private readonly scrollStrategies;
|
|
225
238
|
private readonly destroyRef;
|
|
226
239
|
private readonly injector;
|
|
227
|
-
|
|
228
|
-
|
|
240
|
+
private readonly openState;
|
|
241
|
+
/** Whether the popover is open. Read-only: `open()` and `close()` change it. */
|
|
242
|
+
readonly isOpen: import("@angular/core").Signal<boolean>;
|
|
229
243
|
/** @internal */
|
|
230
244
|
protected readonly isTooltip: import("@angular/core").Signal<boolean>;
|
|
231
245
|
/** Auto-generated id for `aria-controls` / `aria-describedby`. */
|
|
@@ -233,6 +247,7 @@ export declare class WrPopover {
|
|
|
233
247
|
private readonly resolvedAriaLabel;
|
|
234
248
|
private readonly resolvedPosition;
|
|
235
249
|
private overlayRef;
|
|
250
|
+
private connected;
|
|
236
251
|
private textPanelRef;
|
|
237
252
|
/** Whether the HOST itself holds focus — not a descendant of it. */
|
|
238
253
|
private hostFocused;
|
|
@@ -333,7 +348,7 @@ export declare class WrPopover {
|
|
|
333
348
|
* the browser's Tab, and a trigger that is the last stop before the overlay
|
|
334
349
|
* container would send that Tab straight back into the still-attached pane.
|
|
335
350
|
*
|
|
336
|
-
* Stops are told by `tabIndex`, because `
|
|
351
|
+
* Stops are told by `tabIndex`, because `wrGetFocusableElements` lists every
|
|
337
352
|
* focusable element and a roving composite parks its other items at -1. What
|
|
338
353
|
* that misreads — a native radio group, one stop that lists as several —
|
|
339
354
|
* falls through to `onPaneFocusOut`, which still closes the panel; it just
|
|
@@ -371,6 +386,8 @@ export declare class WrPopover {
|
|
|
371
386
|
* an app — but a bare `TestBed` that provides nothing should still get a
|
|
372
387
|
* component that works, and defaulting to LTR is the honest fallback.
|
|
373
388
|
*/
|
|
389
|
+
/** Whether a node is in the host or in the element a shared tooltip is for. */
|
|
390
|
+
private isTrigger;
|
|
374
391
|
private isRtl;
|
|
375
392
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrPopover, never>;
|
|
376
393
|
static ɵdir: i0.ɵɵDirectiveDeclaration<WrPopover, "[wrPopover]", ["wrPopover"], {
|
|
@@ -404,6 +421,11 @@ export declare class WrPopover {
|
|
|
404
421
|
"required": false;
|
|
405
422
|
"isSignal": true;
|
|
406
423
|
};
|
|
424
|
+
"origin": {
|
|
425
|
+
"alias": "wrPopoverOrigin";
|
|
426
|
+
"required": false;
|
|
427
|
+
"isSignal": true;
|
|
428
|
+
};
|
|
407
429
|
"ariaLabel": {
|
|
408
430
|
"alias": "ariaLabel";
|
|
409
431
|
"required": false;
|
|
@@ -419,4 +441,21 @@ export declare class WrPopover {
|
|
|
419
441
|
"closed": "closed";
|
|
420
442
|
}, never, never, true, never>;
|
|
421
443
|
}
|
|
422
|
-
|
|
444
|
+
/** @internal */
|
|
445
|
+
interface WrTextTooltip {
|
|
446
|
+
/** Show `text` over the host, replacing what this handle showed before. */
|
|
447
|
+
show(text: string): void;
|
|
448
|
+
hide(): void;
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* The `[wrPopover] mode="tooltip"` panel, opened from code over the host of the
|
|
452
|
+
* directive or component that calls this in its injection context.
|
|
453
|
+
*
|
|
454
|
+
* For feedback a pointer did not ask for, such as "Copied" after a click. It
|
|
455
|
+
* has no hover or focus wiring and sets no `aria-describedby`: the caller
|
|
456
|
+
* announces the text. A hint that describes the host is `[wrPopover]`.
|
|
457
|
+
*
|
|
458
|
+
* @internal
|
|
459
|
+
*/
|
|
460
|
+
export declare function wrUseTextTooltip(position?: WrPopoverPosition): WrTextTooltip;
|
|
461
|
+
export type { WrChartTooltip, WrChartTooltipDatum, WrChartTooltipRow, WrChartTooltipTarget, WrPopoverPosition, WrTextTooltip };
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The edge of the element that drags. `start` and `end` are logical, so they
|
|
10
|
+
* swap sides under `dir="rtl"`; `top` and `bottom` never move.
|
|
11
|
+
*/
|
|
12
|
+
type WrResizableEdge = 'start' | 'end' | 'top' | 'bottom';
|
|
13
|
+
/**
|
|
14
|
+
* @license
|
|
15
|
+
*
|
|
16
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
17
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* A limit on the size: pixels as a number, or a percentage of the parent's
|
|
21
|
+
* matching dimension as a string (`'40%'`).
|
|
22
|
+
*/
|
|
23
|
+
type WrResizableLimit = number | `${number}%`;
|
|
24
|
+
/**
|
|
25
|
+
* Lets one element be resized by dragging one of its edges. It writes the
|
|
26
|
+
* element's own `width` (`start` / `end`) or `height` (`top` / `bottom`) in
|
|
27
|
+
* pixels and touches nothing else, so the element can lie over other content.
|
|
28
|
+
* To share space between two panes, use `wr-splitter`.
|
|
29
|
+
*
|
|
30
|
+
* The handle is an element the directive adds inside the host, over the edge.
|
|
31
|
+
* It needs a positioning context: a host whose computed `position` is `static`
|
|
32
|
+
* is given `position: relative`.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```html
|
|
36
|
+
* <aside wrResizable [(size)]="width" minSize="240" maxSize="60%" persistKey="side-panel">…</aside>
|
|
37
|
+
*
|
|
38
|
+
* <footer wrResizable edge="top" [collapsed]="!open()">…</footer>
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* @see https://ngwr.dev/reference/components/resizable
|
|
42
|
+
*/
|
|
43
|
+
export declare class WrResizable {
|
|
44
|
+
/**
|
|
45
|
+
* The edge that drags. `start` and `end` resize the width and mirror under
|
|
46
|
+
* RTL; `top` and `bottom` resize the height.
|
|
47
|
+
* @default 'end'
|
|
48
|
+
*/
|
|
49
|
+
readonly edge: import("@angular/core").InputSignal<WrResizableEdge>;
|
|
50
|
+
/**
|
|
51
|
+
* The size in pixels. Two-way bindable. `null` means not set yet: the
|
|
52
|
+
* element keeps the size its CSS gives it until the first resize.
|
|
53
|
+
* `sizeChange` fires when a drag is released, on each key and on a reset,
|
|
54
|
+
* never during a drag: bind `resizing` for that.
|
|
55
|
+
* @default null
|
|
56
|
+
*/
|
|
57
|
+
readonly size: import("@angular/core").ModelSignal<number | null>;
|
|
58
|
+
/**
|
|
59
|
+
* Smallest size: pixels, or a percentage of the parent's matching dimension
|
|
60
|
+
* (`'20%'`). `null` for none.
|
|
61
|
+
* @default 0
|
|
62
|
+
*/
|
|
63
|
+
readonly minSize: import("@angular/core").InputSignalWithTransform<WrResizableLimit | null, unknown>;
|
|
64
|
+
/**
|
|
65
|
+
* Largest size: pixels, or a percentage of the parent's matching dimension.
|
|
66
|
+
* `null` for none.
|
|
67
|
+
* @default '100%'
|
|
68
|
+
*/
|
|
69
|
+
readonly maxSize: import("@angular/core").InputSignalWithTransform<WrResizableLimit | null, unknown>;
|
|
70
|
+
/**
|
|
71
|
+
* The size Enter and a double click on the handle go back to. `null` goes
|
|
72
|
+
* back to what the element started with: the `size` bound at creation, or its
|
|
73
|
+
* CSS size when there was none.
|
|
74
|
+
* @default null
|
|
75
|
+
*/
|
|
76
|
+
readonly defaultSize: import("@angular/core").InputSignalWithTransform<number | null, unknown>;
|
|
77
|
+
/** Pixels an arrow key moves the edge. Shift moves it ten times as far. @default 10 */
|
|
78
|
+
readonly step: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
79
|
+
/**
|
|
80
|
+
* Saves the size under this key through `WrStorage` (which adds the app's
|
|
81
|
+
* prefix) when a resize ends, and restores it on creation.
|
|
82
|
+
* @default null
|
|
83
|
+
*/
|
|
84
|
+
readonly persistKey: import("@angular/core").InputSignal<string | null>;
|
|
85
|
+
/**
|
|
86
|
+
* Shrinks the element to zero and hides the handle. `size` is left alone, so
|
|
87
|
+
* the element is back at its size when this turns off.
|
|
88
|
+
* @default false
|
|
89
|
+
*/
|
|
90
|
+
readonly collapsed: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
91
|
+
/** Keeps the size and stops the handle. @default false */
|
|
92
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
93
|
+
/**
|
|
94
|
+
* Accessible name of the handle. A focusable `role="separator"` is an
|
|
95
|
+
* interactive widget, so it needs one. Falls back to `resizable.handle`.
|
|
96
|
+
* @default null
|
|
97
|
+
*/
|
|
98
|
+
readonly resizeLabel: import("@angular/core").InputSignal<string | null>;
|
|
99
|
+
/** The size in pixels on every move of a drag, before `sizeChange` settles it on release. */
|
|
100
|
+
readonly resizing: import("@angular/core").OutputEmitterRef<number>;
|
|
101
|
+
private readonly resolvedLabel;
|
|
102
|
+
private readonly host;
|
|
103
|
+
private readonly renderer;
|
|
104
|
+
private readonly doc;
|
|
105
|
+
private readonly destroyRef;
|
|
106
|
+
private readonly storage;
|
|
107
|
+
private readonly dir;
|
|
108
|
+
/** The handle, once the browser has rendered the host. Never on the server. */
|
|
109
|
+
private readonly handle;
|
|
110
|
+
/** The size a drag in progress has reached. The model takes it on release. */
|
|
111
|
+
private readonly draft;
|
|
112
|
+
/** The parent's inner size on the resize axis, which percentages are of. */
|
|
113
|
+
private readonly parentExtent;
|
|
114
|
+
/** The host's rendered size, for `aria-valuenow` while `size` is `null`. */
|
|
115
|
+
private readonly measured;
|
|
116
|
+
private drag;
|
|
117
|
+
/** What a reset goes back to without `defaultSize`: the model as it was created. */
|
|
118
|
+
private origin;
|
|
119
|
+
private originRead;
|
|
120
|
+
protected readonly axis: import("@angular/core").Signal<"block" | "inline">;
|
|
121
|
+
private readonly min;
|
|
122
|
+
private readonly max;
|
|
123
|
+
/**
|
|
124
|
+
* The size in force, clamped at the point of use and not in the model: a
|
|
125
|
+
* percentage limit moves with the parent, and a window narrowed for a moment
|
|
126
|
+
* must not cost the user the width they chose.
|
|
127
|
+
*/
|
|
128
|
+
private readonly current;
|
|
129
|
+
/** What the host's inline style carries: nothing until a size is set. */
|
|
130
|
+
protected readonly shown: import("@angular/core").Signal<number | null>;
|
|
131
|
+
private readonly inactive;
|
|
132
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
133
|
+
constructor();
|
|
134
|
+
/** Browser only: the handle, its listeners and the two size observers. */
|
|
135
|
+
private mount;
|
|
136
|
+
/** Everything the handle says about itself, rewritten when a signal behind it moves. */
|
|
137
|
+
private syncHandle;
|
|
138
|
+
private attr;
|
|
139
|
+
private onPointerDown;
|
|
140
|
+
private onPointerMove;
|
|
141
|
+
private onPointerUp;
|
|
142
|
+
/** Idempotent: releasing the capture fires `lostpointercapture`, which lands here again. */
|
|
143
|
+
private endDrag;
|
|
144
|
+
/**
|
|
145
|
+
* No text selection and one cursor for the whole page while the drag runs,
|
|
146
|
+
* on the root element so the rest of the time selection inside the element
|
|
147
|
+
* works as usual. Returns the undo, which puts back what was inline before.
|
|
148
|
+
*/
|
|
149
|
+
private lockPage;
|
|
150
|
+
private onKeydown;
|
|
151
|
+
private onReset;
|
|
152
|
+
/** A size the user settled on: into the model, and into storage when there is a key. */
|
|
153
|
+
private commit;
|
|
154
|
+
private clamp;
|
|
155
|
+
private resolve;
|
|
156
|
+
/**
|
|
157
|
+
* `1` when dragging toward higher coordinates grows the element. Read per
|
|
158
|
+
* gesture rather than cached, like the splitter: nothing rendered depends on
|
|
159
|
+
* the direction, since the handle sits on a logical edge.
|
|
160
|
+
*/
|
|
161
|
+
private growSign;
|
|
162
|
+
private isRtl;
|
|
163
|
+
/**
|
|
164
|
+
* The host's size as its `width` / `height` property means it, so writing the
|
|
165
|
+
* number back changes nothing whatever the `box-sizing`. The computed value
|
|
166
|
+
* is that; the rect is the fallback where there is no computed size.
|
|
167
|
+
*/
|
|
168
|
+
private measure;
|
|
169
|
+
private remeasure;
|
|
170
|
+
private measureParent;
|
|
171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrResizable, never>;
|
|
172
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WrResizable, "[wrResizable]", ["wrResizable"], {
|
|
173
|
+
"edge": {
|
|
174
|
+
"alias": "edge";
|
|
175
|
+
"required": false;
|
|
176
|
+
"isSignal": true;
|
|
177
|
+
};
|
|
178
|
+
"size": {
|
|
179
|
+
"alias": "size";
|
|
180
|
+
"required": false;
|
|
181
|
+
"isSignal": true;
|
|
182
|
+
};
|
|
183
|
+
"minSize": {
|
|
184
|
+
"alias": "minSize";
|
|
185
|
+
"required": false;
|
|
186
|
+
"isSignal": true;
|
|
187
|
+
};
|
|
188
|
+
"maxSize": {
|
|
189
|
+
"alias": "maxSize";
|
|
190
|
+
"required": false;
|
|
191
|
+
"isSignal": true;
|
|
192
|
+
};
|
|
193
|
+
"defaultSize": {
|
|
194
|
+
"alias": "defaultSize";
|
|
195
|
+
"required": false;
|
|
196
|
+
"isSignal": true;
|
|
197
|
+
};
|
|
198
|
+
"step": {
|
|
199
|
+
"alias": "step";
|
|
200
|
+
"required": false;
|
|
201
|
+
"isSignal": true;
|
|
202
|
+
};
|
|
203
|
+
"persistKey": {
|
|
204
|
+
"alias": "persistKey";
|
|
205
|
+
"required": false;
|
|
206
|
+
"isSignal": true;
|
|
207
|
+
};
|
|
208
|
+
"collapsed": {
|
|
209
|
+
"alias": "collapsed";
|
|
210
|
+
"required": false;
|
|
211
|
+
"isSignal": true;
|
|
212
|
+
};
|
|
213
|
+
"disabled": {
|
|
214
|
+
"alias": "disabled";
|
|
215
|
+
"required": false;
|
|
216
|
+
"isSignal": true;
|
|
217
|
+
};
|
|
218
|
+
"resizeLabel": {
|
|
219
|
+
"alias": "resizeLabel";
|
|
220
|
+
"required": false;
|
|
221
|
+
"isSignal": true;
|
|
222
|
+
};
|
|
223
|
+
}, {
|
|
224
|
+
"size": "sizeChange";
|
|
225
|
+
"resizing": "resizing";
|
|
226
|
+
}, never, never, true, never>;
|
|
227
|
+
}
|
|
228
|
+
export type { WrResizableEdge, WrResizableLimit };
|
package/types/ngwr-select.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { ElementRef, InjectionToken, Signal, TemplateRef } from "@angular/core";
|
|
3
|
-
import {
|
|
3
|
+
import { WrClassInput, WrSafeAny } from "ngwr/utils";
|
|
4
4
|
import { FormValueControl } from "@angular/forms/signals";
|
|
5
5
|
import { Observable } from "rxjs";
|
|
6
6
|
/**
|
|
@@ -197,11 +197,11 @@ type WrSelectPosition = 'bottom' | 'top';
|
|
|
197
197
|
* </wr-select>
|
|
198
198
|
* ```
|
|
199
199
|
*/
|
|
200
|
-
export declare class WrSelectLoadError<E =
|
|
200
|
+
export declare class WrSelectLoadError<E = WrSafeAny> {
|
|
201
201
|
readonly template: TemplateRef<WrSelectLoadErrorContext<E>>;
|
|
202
202
|
/**
|
|
203
203
|
* Types the template's `let-` variables under `strictTemplates`. `E` defaults
|
|
204
|
-
* to `
|
|
204
|
+
* to `WrSafeAny` for the reason `WrOptionLeading` gives: nothing infers the error
|
|
205
205
|
* type, and narrowed to `unknown`, `error.message` would not compile.
|
|
206
206
|
*/
|
|
207
207
|
static ngTemplateContextGuard<E>(_dir: WrSelectLoadError<E>, _ctx: unknown): _ctx is WrSelectLoadErrorContext<E>;
|
|
@@ -407,7 +407,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
407
407
|
* On `multi` the trigger keeps its chips and grows an inline text field (the
|
|
408
408
|
* shape `tag` mode already uses); on `single` it is equivalent to
|
|
409
409
|
* `mode="search"`. Every search input (`[loader]`, `[debounceMs]`,
|
|
410
|
-
* `[minChars]`,
|
|
410
|
+
* `[minChars]`, the `(searchChange)` output, …) applies
|
|
411
411
|
* either way. Ignored in `tag` mode, which owns its own input.
|
|
412
412
|
* @default false
|
|
413
413
|
*/
|
|
@@ -486,26 +486,26 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
486
486
|
*/
|
|
487
487
|
readonly freeText: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
488
488
|
/**
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
* the pure data-array
|
|
492
|
-
* when static `<wr-option>` children are projected
|
|
493
|
-
*
|
|
494
|
-
*
|
|
489
|
+
* Window the option panel so thousands of `[options]` keep only ~one viewport
|
|
490
|
+
* of rows in the DOM, with or without search (`tag` mode has no panel). Opt-in and OFF by
|
|
491
|
+
* default. Engages ONLY on the pure data-array tier — it silently falls back
|
|
492
|
+
* to the full render when static `<wr-option>` children are projected. While
|
|
493
|
+
* on, rows are plain `role="option"` elements (no `<wr-option>`), navigated
|
|
494
|
+
* via `aria-activedescendant`, selected by value. @default false
|
|
495
495
|
*/
|
|
496
496
|
readonly virtualScroll: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
497
497
|
/**
|
|
498
|
-
*
|
|
498
|
+
* Uniform option-row height in px for the virtual window. `0`
|
|
499
499
|
* (default) measures the first rendered row once and reuses it, so it adapts
|
|
500
500
|
* to the control size. Read only when `virtualScroll` engages. @default 0
|
|
501
501
|
*/
|
|
502
502
|
readonly rowHeight: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
503
503
|
/**
|
|
504
|
-
*
|
|
504
|
+
* Height of the virtual scroll viewport — a number (px) or any
|
|
505
505
|
* CSS length. @default 256
|
|
506
506
|
*/
|
|
507
507
|
readonly viewportHeight: import("@angular/core").InputSignal<string | number>;
|
|
508
|
-
/**
|
|
508
|
+
/** Extra rows kept above/below the virtual viewport. @default 6 */
|
|
509
509
|
readonly overscan: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
510
510
|
/** Search mode: text shown when the filter / loader returns nothing. Falls back to `select.noResults`. */
|
|
511
511
|
readonly noResultsText: import("@angular/core").InputSignal<string | null>;
|
|
@@ -649,6 +649,10 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
649
649
|
readonly value: import("@angular/core").ModelSignal<T | readonly T[] | null>;
|
|
650
650
|
/** Emitted on blur / commit so a bound field can mark itself touched. */
|
|
651
651
|
readonly touch: import("@angular/core").OutputEmitterRef<void>;
|
|
652
|
+
/** Fires after the panel opens. */
|
|
653
|
+
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
654
|
+
/** Fires after the panel closes. */
|
|
655
|
+
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
652
656
|
/** Listbox id used by the trigger's `aria-controls`. */
|
|
653
657
|
protected readonly listboxId: string;
|
|
654
658
|
/** Registered options (insertion order). Internal — distinct from the public `[options]` input. */
|
|
@@ -668,7 +672,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
668
672
|
protected readonly activeIndex: import("@angular/core").WritableSignal<number>;
|
|
669
673
|
/** Id of the active option (for `aria-activedescendant`). */
|
|
670
674
|
readonly activeOptionId: import("@angular/core").Signal<string | null>;
|
|
671
|
-
protected readonly
|
|
675
|
+
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
672
676
|
/** WrSelectContext — whether the panel is open. Options gate their leading visual on it. */
|
|
673
677
|
readonly panelOpen: import("@angular/core").Signal<boolean>;
|
|
674
678
|
/**
|
|
@@ -779,7 +783,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
779
783
|
*/
|
|
780
784
|
protected readonly filteredDynamicOptions: import("@angular/core").Signal<readonly T[]>;
|
|
781
785
|
/**
|
|
782
|
-
* Virtualization engaged: opt-in,
|
|
786
|
+
* Virtualization engaged: opt-in, a mode with a panel, and NO projected `<wr-option>`
|
|
783
787
|
* children — grouped ones included (those keep the full-render registry path so
|
|
784
788
|
* their DOM-derived labels / selection still work).
|
|
785
789
|
*
|
|
@@ -945,7 +949,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
945
949
|
*
|
|
946
950
|
* FOCUS as well as open, and that second term is the whole `[minChars]` story.
|
|
947
951
|
* Backspacing under the threshold closes the panel, and falling back to the
|
|
948
|
-
* selected label the moment `
|
|
952
|
+
* selected label the moment `isOpen()` goes false rewrote the field out from
|
|
949
953
|
* under someone who was still typing — "sma" -> "sm" showed an empty box.
|
|
950
954
|
*
|
|
951
955
|
* A NON-EMPTY query, though: picking an option clears it and leaves focus in
|
|
@@ -989,6 +993,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
989
993
|
private readonly dir;
|
|
990
994
|
private overlayRef;
|
|
991
995
|
constructor();
|
|
996
|
+
private readonly selectedSet;
|
|
992
997
|
isSelected(value: unknown): boolean;
|
|
993
998
|
/** Runs the loader again for the query that failed, unless a retry is already in flight. @internal */
|
|
994
999
|
private retryLoad;
|
|
@@ -1031,6 +1036,13 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
1031
1036
|
protected onTagBlur(): void;
|
|
1032
1037
|
private commitDraft;
|
|
1033
1038
|
private tryAddTag;
|
|
1039
|
+
/**
|
|
1040
|
+
* Open the panel, as the trigger does. Refused while disabled or read-only, in
|
|
1041
|
+
* `tag` mode, which has no panel, and below `minChars`.
|
|
1042
|
+
*/
|
|
1043
|
+
open(): void;
|
|
1044
|
+
/** Close the panel. */
|
|
1045
|
+
close(): void;
|
|
1034
1046
|
protected onTriggerClick(): void;
|
|
1035
1047
|
protected onTriggerKey(event: KeyboardEvent): void;
|
|
1036
1048
|
/**
|
|
@@ -1061,6 +1073,7 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
1061
1073
|
private openOverlay;
|
|
1062
1074
|
/** The preferred side first, the other as the fallback. Start-aligned either way. */
|
|
1063
1075
|
private panelPositions;
|
|
1076
|
+
/** `notify: false` is the destroy path: an output cannot emit from a destroyed view. */
|
|
1064
1077
|
private closeOverlay;
|
|
1065
1078
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrSelect<any>, never>;
|
|
1066
1079
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrSelect<any>, "wr-select", never, {
|
|
@@ -1249,6 +1262,8 @@ export declare class WrSelect<T = unknown> implements FormValueControl<T | reado
|
|
|
1249
1262
|
"searchChange": "searchChange";
|
|
1250
1263
|
"value": "valueChange";
|
|
1251
1264
|
"touch": "touch";
|
|
1265
|
+
"opened": "opened";
|
|
1266
|
+
"closed": "closed";
|
|
1252
1267
|
}, ["defaultLeading", "projectedOptions", "loadErrorTpl"], ["*"], true, never>;
|
|
1253
1268
|
}
|
|
1254
1269
|
/**
|
|
@@ -1468,14 +1483,14 @@ export declare class WrOptionGroup {
|
|
|
1468
1483
|
* </wr-select>
|
|
1469
1484
|
* ```
|
|
1470
1485
|
*/
|
|
1471
|
-
export declare class WrOptionLeading<T =
|
|
1486
|
+
export declare class WrOptionLeading<T = WrSafeAny> {
|
|
1472
1487
|
readonly template: TemplateRef<WrOptionLeadingContext<T>>;
|
|
1473
1488
|
/**
|
|
1474
1489
|
* Types the template's `let-` variables under `strictTemplates`. Without it
|
|
1475
1490
|
* `let-placement` is `any`, and indexing a `Record<WrOptionLeadingPlacement, …>`
|
|
1476
1491
|
* with it — the obvious way to size one visual per surface — does not compile.
|
|
1477
1492
|
*
|
|
1478
|
-
* **`T` defaults to `
|
|
1493
|
+
* **`T` defaults to `WrSafeAny`, and that is the whole reason this is generic.**
|
|
1479
1494
|
* The guard used to narrow to a bare `WrOptionLeadingContext`, which is
|
|
1480
1495
|
* `WrOptionLeadingContext<unknown>` — so `let-value` came out `unknown` and
|
|
1481
1496
|
* every use of it was a compile error under `strictTemplates`, which made the
|
|
@@ -17,7 +17,7 @@ interface WrSliderHarnessFilters extends BaseHarnessFilters {
|
|
|
17
17
|
readonly disabled?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* Match the text the slider prints under its track — a string is an exact
|
|
20
|
-
* match, a RegExp is tested. A slider with `
|
|
20
|
+
* match, a RegExp is tested. A slider with `showValue="false"` prints none and
|
|
21
21
|
* never matches.
|
|
22
22
|
*/
|
|
23
23
|
readonly labelText?: string | RegExp;
|
|
@@ -246,7 +246,7 @@ export declare class WrSliderHarness extends ComponentHarness {
|
|
|
246
246
|
*/
|
|
247
247
|
getMax(): Promise<number>;
|
|
248
248
|
/**
|
|
249
|
-
* The text the slider prints under the track, or `null` when `
|
|
249
|
+
* The text the slider prints under the track, or `null` when `showValue` is
|
|
250
250
|
* off.
|
|
251
251
|
*
|
|
252
252
|
* A range slider joins its ends with an EN DASH — `'20 – 80'`, U+2013 — so an
|
package/types/ngwr-slider.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ export declare class WrSlider implements FormValueControl<WrSliderValue> {
|
|
|
79
79
|
*/
|
|
80
80
|
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
81
81
|
/** Render the current value below the track. @default true */
|
|
82
|
-
readonly
|
|
82
|
+
readonly showValue: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
83
83
|
/**
|
|
84
84
|
* Maps a value to the text of the value label, and to `aria-valuetext` on
|
|
85
85
|
* the thumb, so a screen reader hears what the label shows. In range mode
|
|
@@ -296,8 +296,8 @@ export declare class WrSlider implements FormValueControl<WrSliderValue> {
|
|
|
296
296
|
"required": false;
|
|
297
297
|
"isSignal": true;
|
|
298
298
|
};
|
|
299
|
-
"
|
|
300
|
-
"alias": "
|
|
299
|
+
"showValue": {
|
|
300
|
+
"alias": "showValue";
|
|
301
301
|
"required": false;
|
|
302
302
|
"isSignal": true;
|
|
303
303
|
};
|
|
@@ -176,7 +176,11 @@ export declare class WrStatisticCountdown {
|
|
|
176
176
|
* @default 1000
|
|
177
177
|
*/
|
|
178
178
|
readonly tickMs: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
179
|
-
/**
|
|
179
|
+
/**
|
|
180
|
+
* Fires once for each target that is reached, or that has already passed when
|
|
181
|
+
* it is set, mount included, so an app reloaded after expiry still hears it.
|
|
182
|
+
* A new future target counts down again and fires again.
|
|
183
|
+
*/
|
|
180
184
|
readonly countdownEnd: import("@angular/core").OutputEmitterRef<void>;
|
|
181
185
|
private readonly isBrowser;
|
|
182
186
|
private readonly targetMs;
|
package/types/ngwr-storage.d.ts
CHANGED
|
@@ -232,7 +232,7 @@ export declare const WR_STORAGE_CONFIG: InjectionToken<Required<WrStorageConfig>
|
|
|
232
232
|
* In-memory implementation of `Storage`. Used as the SSR / private-mode
|
|
233
233
|
* fallback. Exported so consumers can opt into it explicitly for tests.
|
|
234
234
|
*/
|
|
235
|
-
export declare function
|
|
235
|
+
export declare function wrCreateMemoryStorage(): WrStorageEngine;
|
|
236
236
|
/**
|
|
237
237
|
* Injection token for the active storage engine. Provide it at BOOTSTRAP to
|
|
238
238
|
* swap engines (e.g. `sessionStorage` for a tab-only app):
|
|
@@ -290,8 +290,10 @@ export declare class WrTableHarness extends ComponentHarness {
|
|
|
290
290
|
* actually happened.
|
|
291
291
|
*/
|
|
292
292
|
isVirtual(): Promise<boolean>;
|
|
293
|
-
/** Whether the loading
|
|
293
|
+
/** Whether the table is loading, as the overlay or as the bar: the host's `aria-busy`. */
|
|
294
294
|
isLoading(): Promise<boolean>;
|
|
295
|
+
/** Which form `loading` takes: the overlay with the spinner, the bar, or `null` while idle. */
|
|
296
|
+
getLoadingForm(): Promise<'overlay' | 'bar' | null>;
|
|
295
297
|
/** The column headers, in render order — which `columnOrder` and a drag can change. */
|
|
296
298
|
getHeaderCells(filters?: WrTableHeaderCellHarnessFilters): Promise<WrTableHeaderCellHarness[]>;
|
|
297
299
|
/**
|
|
@@ -371,7 +373,8 @@ export declare class WrTableHarness extends ComponentHarness {
|
|
|
371
373
|
/**
|
|
372
374
|
* Click the select-all box, once.
|
|
373
375
|
*
|
|
374
|
-
*
|
|
376
|
+
* Under `selectAllScope="all"` its scope is every page of `items`. Otherwise
|
|
377
|
+
* its scope is the rows the table RENDERS — the current page, and a collapsed
|
|
375
378
|
* group's rows are out because collapsing drops them from that list. A
|
|
376
379
|
* virtualized table's off-window rows are IN, though: the window is a slice
|
|
377
380
|
* taken after the list is built, so one click selects the whole dataset and not
|