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-toast.d.ts
CHANGED
|
@@ -15,6 +15,22 @@ type WrToastType = 'info' | 'success' | 'warning' | 'danger';
|
|
|
15
15
|
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
16
16
|
*/
|
|
17
17
|
type WrToastPosition = 'top-start' | 'top' | 'top-end' | 'bottom-start' | 'bottom' | 'bottom-end';
|
|
18
|
+
/**
|
|
19
|
+
* @license
|
|
20
|
+
*
|
|
21
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
22
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* A button on a toast: "Undo" on "Item deleted", "Retry" on "Upload failed".
|
|
26
|
+
* Pressing it closes the toast and calls `run`, once.
|
|
27
|
+
*/
|
|
28
|
+
interface WrToastAction {
|
|
29
|
+
/** The button's text. The app supplies it: the library ships no copy for it. */
|
|
30
|
+
readonly label: string;
|
|
31
|
+
/** Called once when the button is pressed, after the toast has closed. */
|
|
32
|
+
readonly run: () => void;
|
|
33
|
+
}
|
|
18
34
|
/**
|
|
19
35
|
* Per-toast options passed to {@link WrToast.show}. Any field
|
|
20
36
|
* omitted falls back to the global {@link WrToastConfig}.
|
|
@@ -28,14 +44,27 @@ interface WrToastOptions {
|
|
|
28
44
|
readonly message: string;
|
|
29
45
|
/** Auto-dismiss after N ms. `0` disables auto-dismiss. Default from global config. */
|
|
30
46
|
readonly duration?: number;
|
|
47
|
+
/**
|
|
48
|
+
* A text button beside the message, such as "Undo". Pressing it closes the
|
|
49
|
+
* toast and calls `run`. The countdown still runs, and holds while the pointer
|
|
50
|
+
* or focus is on the toast: pass a longer `duration` when the action matters.
|
|
51
|
+
*/
|
|
52
|
+
readonly action?: WrToastAction;
|
|
31
53
|
/** Show a close (×) button. @default true */
|
|
32
|
-
readonly
|
|
54
|
+
readonly closable?: boolean;
|
|
33
55
|
/**
|
|
34
56
|
* Corner this toast opens in. The whole stack shares one host, so this is
|
|
35
57
|
* not per-toast: passing a different corner relocates the toasts already on
|
|
36
58
|
* screen along with this one.
|
|
37
59
|
*/
|
|
38
60
|
readonly position?: WrToastPosition;
|
|
61
|
+
/**
|
|
62
|
+
* Name of the `<wr-toast-outlet>` that renders this toast in the page, in a
|
|
63
|
+
* stack of its own. Omitted, the toast goes to the global stack in the
|
|
64
|
+
* overlay. A toast sent before its outlet is in the page waits for it, and
|
|
65
|
+
* `position` is ignored: the outlet's own input places the stack.
|
|
66
|
+
*/
|
|
67
|
+
readonly outlet?: string;
|
|
39
68
|
/** Override the progress bar visibility for this toast only. */
|
|
40
69
|
readonly showProgress?: boolean;
|
|
41
70
|
/** Override the copy button visibility for this toast only. */
|
|
@@ -126,7 +155,8 @@ export declare class WrToastRef {
|
|
|
126
155
|
dismiss(): void;
|
|
127
156
|
}
|
|
128
157
|
/**
|
|
129
|
-
* Opens toast notifications in a single shared overlay
|
|
158
|
+
* Opens toast notifications in a single shared overlay, or in the page
|
|
159
|
+
* through a `<wr-toast-outlet>` when `show()` names one.
|
|
130
160
|
*
|
|
131
161
|
* Global defaults come from {@link WR_TOAST_CONFIG}; register
|
|
132
162
|
* `provideWr(withToast(...))` once at bootstrap to customise. Each
|
|
@@ -139,12 +169,15 @@ export declare class WrToastRef {
|
|
|
139
169
|
* toast.show({ type: 'success', title: 'Saved', message: 'Profile updated.' });
|
|
140
170
|
* toast.show({ type: 'danger', message: 'Network error', duration: 0 });
|
|
141
171
|
* toast.show({ message: 'Permalink copied', position: 'bottom', showCopy: true });
|
|
172
|
+
* toast.show({ message: 'Item deleted', action: { label: 'Undo', run: () => restore() } });
|
|
173
|
+
* toast.show({ type: 'danger', message: 'Door forced', outlet: 'alarms' });
|
|
142
174
|
* ```
|
|
143
175
|
*
|
|
144
176
|
* @see https://ngwr.dev/reference/components/toast
|
|
145
177
|
*/
|
|
146
178
|
export declare class WrToast {
|
|
147
179
|
private readonly overlay;
|
|
180
|
+
private readonly order;
|
|
148
181
|
private readonly config;
|
|
149
182
|
private readonly injector;
|
|
150
183
|
private readonly dir;
|
|
@@ -155,27 +188,29 @@ export declare class WrToast {
|
|
|
155
188
|
private currentPosition;
|
|
156
189
|
private currentMode;
|
|
157
190
|
private nextId;
|
|
158
|
-
/**
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
private queue;
|
|
163
|
-
/** The pointer or focus is inside the host: no countdown runs, a toast that
|
|
164
|
-
* arrives meanwhile included. See `WrToastHost.syncHold`. */
|
|
165
|
-
private held;
|
|
191
|
+
/** The stack in the overlay. Past `maxStack` the newest waits, so nothing is
|
|
192
|
+
* ever silently dropped. */
|
|
193
|
+
private readonly global;
|
|
194
|
+
private readonly outlets;
|
|
166
195
|
/** Open a toast. Returns a handle you can `dismiss()` early. */
|
|
167
196
|
show(options: WrToastOptions): WrToastRef;
|
|
168
|
-
/** Dismiss a single toast by id. */
|
|
197
|
+
/** Dismiss a single toast by id, in whichever stack holds it. */
|
|
169
198
|
dismiss(id: number): void;
|
|
170
|
-
/**
|
|
171
|
-
|
|
199
|
+
/**
|
|
200
|
+
* Closes first: a second press finds no entry, so `run` cannot fire twice,
|
|
201
|
+
* and a `run` that throws still leaves the toast closed.
|
|
202
|
+
*/
|
|
203
|
+
private runAction;
|
|
204
|
+
/**
|
|
205
|
+
* Dismiss every toast of one stack: the global one, or the named outlet's.
|
|
206
|
+
* The global "Close all" button calls it with no name, so it leaves the
|
|
207
|
+
* outlets alone.
|
|
208
|
+
*/
|
|
209
|
+
dismissAll(outlet?: string): void;
|
|
172
210
|
/** Change the corner the stack opens in. Affects future toasts. */
|
|
173
211
|
setPosition(position: WrToastPosition): void;
|
|
174
212
|
/** Switch the layout mode at runtime. Persists across host re-creation. */
|
|
175
213
|
setMode(mode: 'stack' | 'list'): void;
|
|
176
|
-
private startTimer;
|
|
177
|
-
private pauseTimer;
|
|
178
|
-
private setHeld;
|
|
179
214
|
private ensureHost;
|
|
180
215
|
/**
|
|
181
216
|
* Put the host back on top of the browser's top layer.
|
|
@@ -204,6 +239,11 @@ export declare class WrToast {
|
|
|
204
239
|
* previously focused element, and a host the user is already tabbing through
|
|
205
240
|
* is by definition reachable. In practice the two never coincide — a modal
|
|
206
241
|
* traps focus, so focus inside the host means nothing is above it to escape.
|
|
242
|
+
*
|
|
243
|
+
* `WrOverlayOrder` does the move, because "on top" has an exception: an
|
|
244
|
+
* overlay opened with `toasts: 'below'` stays over the host, so it leaves the
|
|
245
|
+
* host alone where it already sits under one and promotes those overlays
|
|
246
|
+
* again where it does not.
|
|
207
247
|
*/
|
|
208
248
|
private raiseHost;
|
|
209
249
|
/**
|
|
@@ -220,17 +260,202 @@ export declare class WrToast {
|
|
|
220
260
|
* popover moves nothing in the DOM, so this cannot re-trigger itself.
|
|
221
261
|
*/
|
|
222
262
|
private watchForNewerOverlays;
|
|
223
|
-
/** Fill any free stack slots from the queue (FIFO), starting each promoted
|
|
224
|
-
* toast's auto-dismiss timer only as it becomes visible. */
|
|
225
|
-
private promoteFromQueue;
|
|
226
263
|
private pushToHost;
|
|
227
264
|
private disposeHost;
|
|
228
265
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrToast, never>;
|
|
229
266
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
230
267
|
}
|
|
268
|
+
/** A toast in a channel, with the bookkeeping its countdown needs. */
|
|
269
|
+
type WrToastEntry = WrToastOptions & {
|
|
270
|
+
readonly id: number;
|
|
271
|
+
/** Auto-dismiss duration in ms after merging with the config. */
|
|
272
|
+
readonly resolvedDuration: number;
|
|
273
|
+
timer?: ReturnType<typeof setTimeout>;
|
|
274
|
+
/** Timestamp of the last timer (re)start, used to compute remaining on pause. */
|
|
275
|
+
startedAt?: number;
|
|
276
|
+
/** Milliseconds left when paused. */
|
|
277
|
+
remaining: number;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* One independent stack of toasts: the global one, or an outlet's.
|
|
281
|
+
*
|
|
282
|
+
* At most one pending timer per visible toast, and every operation is
|
|
283
|
+
* O(`maxStack`), however many toasts have passed through.
|
|
284
|
+
*
|
|
285
|
+
* @internal
|
|
286
|
+
*/
|
|
287
|
+
declare class WrToastChannel {
|
|
288
|
+
private readonly expire;
|
|
289
|
+
private readonly drops;
|
|
290
|
+
private live;
|
|
291
|
+
maxStack: number;
|
|
292
|
+
duration: number;
|
|
293
|
+
/** The rendered toasts, capped at `maxStack`. */
|
|
294
|
+
readonly toasts: import("@angular/core").WritableSignal<readonly WrToastEntry[]>;
|
|
295
|
+
/** How many wait behind the cap. */
|
|
296
|
+
readonly queued: import("@angular/core").WritableSignal<number>;
|
|
297
|
+
private queue;
|
|
298
|
+
/** The pointer or focus is inside the host: no countdown runs, a toast that
|
|
299
|
+
* arrives meanwhile included. See `WrToastHost.syncHold`. */
|
|
300
|
+
private held;
|
|
301
|
+
/** Outlets rendering this channel. */
|
|
302
|
+
private mounts;
|
|
303
|
+
/**
|
|
304
|
+
* @param expire called when a toast's countdown runs out
|
|
305
|
+
* @param drops past the cap the oldest toast is dropped; otherwise the newest waits in a queue
|
|
306
|
+
* @param live `false` until an outlet mounts: a toast nobody can see does not count down
|
|
307
|
+
*/
|
|
308
|
+
constructor(expire: (id: number) => void, drops: boolean, live: boolean, maxStack: number, duration: number);
|
|
309
|
+
get empty(): boolean;
|
|
310
|
+
find(id: number): WrToastEntry | undefined;
|
|
311
|
+
add(entry: WrToastEntry): void;
|
|
312
|
+
/** Whether the toast was in this channel, visible or queued. */
|
|
313
|
+
remove(id: number): boolean;
|
|
314
|
+
clear(): void;
|
|
315
|
+
pause(id: number): void;
|
|
316
|
+
resume(id: number): void;
|
|
317
|
+
setHeld(held: boolean): void;
|
|
318
|
+
/** An outlet's own cap and default duration. A lower cap drops the oldest at once. */
|
|
319
|
+
configure(maxStack: number, duration: number): void;
|
|
320
|
+
/** How many outlets render the channel after this one joined. */
|
|
321
|
+
mount(): number;
|
|
322
|
+
unmount(): void;
|
|
323
|
+
/** Let in what arrived during a hold, in arrival order, the oldest toasts making room. */
|
|
324
|
+
private release;
|
|
325
|
+
private syncTimers;
|
|
326
|
+
/** Fill free slots from the queue, FIFO; a countdown starts as its toast becomes visible. */
|
|
327
|
+
private promote;
|
|
328
|
+
private startTimer;
|
|
329
|
+
private pauseTimer;
|
|
330
|
+
private stopTimer;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Renders a toast stack inside the page instead of the browser's top layer.
|
|
334
|
+
*
|
|
335
|
+
* `WrToast.show({ outlet: 'alarms' })` sends a toast to the outlet of that
|
|
336
|
+
* name. Each name is a stack of its own: its cap, its countdown hold, its
|
|
337
|
+
* "Close all". The global stack is not affected.
|
|
338
|
+
*
|
|
339
|
+
* The outlet fills its nearest positioned ancestor, so give the container
|
|
340
|
+
* `position: relative`. It lets clicks through wherever no toast is, and it
|
|
341
|
+
* carries no `z-index`: order it against its siblings in your own CSS.
|
|
342
|
+
*
|
|
343
|
+
* Past `maxStack` the OLDEST toast is dropped, where the global stack queues
|
|
344
|
+
* the newest, so a busy stream stays at `maxStack` toasts and timers. While
|
|
345
|
+
* the pointer or focus is in the stack nothing shown is dropped: arrivals
|
|
346
|
+
* wait, at most `maxStack` of them, and enter when it leaves. A toast
|
|
347
|
+
* sent while no outlet of the name is in the page waits, without counting
|
|
348
|
+
* down, and shows when the outlet appears.
|
|
349
|
+
*
|
|
350
|
+
* @example
|
|
351
|
+
* ```html
|
|
352
|
+
* <div class="map" style="position: relative">
|
|
353
|
+
* <wr-toast-outlet name="alarms" position="top" [maxStack]="10" />
|
|
354
|
+
* </div>
|
|
355
|
+
* ```
|
|
356
|
+
*
|
|
357
|
+
* ```ts
|
|
358
|
+
* toast.show({ type: 'danger', message: 'Door forced', outlet: 'alarms' });
|
|
359
|
+
* toast.dismissAll('alarms');
|
|
360
|
+
* ```
|
|
361
|
+
*
|
|
362
|
+
* @see https://ngwr.dev/reference/components/toast
|
|
363
|
+
*/
|
|
364
|
+
export declare class WrToastOutlet {
|
|
365
|
+
private readonly config;
|
|
366
|
+
private readonly channels;
|
|
367
|
+
/** The channel this outlet renders: the `outlet` of `WrToast.show()`. */
|
|
368
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
369
|
+
/** Where the stack sits inside the outlet's box. @default the `withToast()` position */
|
|
370
|
+
readonly position: import("@angular/core").InputSignal<WrToastPosition>;
|
|
371
|
+
/** Layout for several toasts: a cascade or a column. @default the `withToast()` mode */
|
|
372
|
+
readonly mode: import("@angular/core").InputSignal<WrToastMode>;
|
|
373
|
+
/** Auto-dismiss in ms for a toast that sets none; `0` disables. @default the `withToast()` duration */
|
|
374
|
+
readonly duration: import("@angular/core").InputSignal<number>;
|
|
375
|
+
/** Render the countdown bar. @default the `withToast()` value */
|
|
376
|
+
readonly showProgress: import("@angular/core").InputSignal<boolean>;
|
|
377
|
+
/** Render a copy button on each toast. @default the `withToast()` value */
|
|
378
|
+
readonly showCopy: import("@angular/core").InputSignal<boolean>;
|
|
379
|
+
/** Render "Close all" once the stack reaches the threshold. @default the `withToast()` value */
|
|
380
|
+
readonly showCloseAll: import("@angular/core").InputSignal<boolean>;
|
|
381
|
+
/** Minimum stack size before "Close all" appears. @default the `withToast()` value */
|
|
382
|
+
readonly closeAllThreshold: import("@angular/core").InputSignal<number>;
|
|
383
|
+
/**
|
|
384
|
+
* Maximum toasts in the stack; `0` is unlimited. Past it the oldest toast is
|
|
385
|
+
* dropped to make room, once the pointer and focus are out of the stack.
|
|
386
|
+
*
|
|
387
|
+
* @default the `withToast()` value
|
|
388
|
+
*/
|
|
389
|
+
readonly maxStack: import("@angular/core").InputSignal<number>;
|
|
390
|
+
protected readonly channel: import("@angular/core").Signal<WrToastChannel>;
|
|
391
|
+
/** The app-wide config with this outlet's own inputs over it. */
|
|
392
|
+
protected readonly resolved: import("@angular/core").Signal<WrToastConfig>;
|
|
393
|
+
private readonly host;
|
|
394
|
+
constructor();
|
|
395
|
+
/** @internal */
|
|
396
|
+
protected onDismissed(id: number): void;
|
|
397
|
+
/** @internal Closes first, like the global stack: `run` cannot fire twice. */
|
|
398
|
+
protected onAction(id: number): void;
|
|
399
|
+
/** @internal */
|
|
400
|
+
protected onDismissAll(): void;
|
|
401
|
+
/**
|
|
402
|
+
* The host reads its list right after it asks for a removal, to decide where
|
|
403
|
+
* focus goes, so a removal it asked for is pushed at once and not on the next
|
|
404
|
+
* render.
|
|
405
|
+
*/
|
|
406
|
+
private push;
|
|
407
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WrToastOutlet, never>;
|
|
408
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WrToastOutlet, "wr-toast-outlet", never, {
|
|
409
|
+
"name": {
|
|
410
|
+
"alias": "name";
|
|
411
|
+
"required": true;
|
|
412
|
+
"isSignal": true;
|
|
413
|
+
};
|
|
414
|
+
"position": {
|
|
415
|
+
"alias": "position";
|
|
416
|
+
"required": false;
|
|
417
|
+
"isSignal": true;
|
|
418
|
+
};
|
|
419
|
+
"mode": {
|
|
420
|
+
"alias": "mode";
|
|
421
|
+
"required": false;
|
|
422
|
+
"isSignal": true;
|
|
423
|
+
};
|
|
424
|
+
"duration": {
|
|
425
|
+
"alias": "duration";
|
|
426
|
+
"required": false;
|
|
427
|
+
"isSignal": true;
|
|
428
|
+
};
|
|
429
|
+
"showProgress": {
|
|
430
|
+
"alias": "showProgress";
|
|
431
|
+
"required": false;
|
|
432
|
+
"isSignal": true;
|
|
433
|
+
};
|
|
434
|
+
"showCopy": {
|
|
435
|
+
"alias": "showCopy";
|
|
436
|
+
"required": false;
|
|
437
|
+
"isSignal": true;
|
|
438
|
+
};
|
|
439
|
+
"showCloseAll": {
|
|
440
|
+
"alias": "showCloseAll";
|
|
441
|
+
"required": false;
|
|
442
|
+
"isSignal": true;
|
|
443
|
+
};
|
|
444
|
+
"closeAllThreshold": {
|
|
445
|
+
"alias": "closeAllThreshold";
|
|
446
|
+
"required": false;
|
|
447
|
+
"isSignal": true;
|
|
448
|
+
};
|
|
449
|
+
"maxStack": {
|
|
450
|
+
"alias": "maxStack";
|
|
451
|
+
"required": false;
|
|
452
|
+
"isSignal": true;
|
|
453
|
+
};
|
|
454
|
+
}, {}, never, never, true, never>;
|
|
455
|
+
}
|
|
231
456
|
/**
|
|
232
457
|
* Registers a global {@link WrToastConfig} for {@link WrToast}, as a feature of
|
|
233
|
-
* `provideWr()`. Any field you omit falls back to {@link
|
|
458
|
+
* `provideWr()`. Any field you omit falls back to {@link DEFAULT_WR_TOAST_CONFIG};
|
|
234
459
|
* the `labels` sub-object is merged separately so you can override a single
|
|
235
460
|
* string at a time (useful for i18n).
|
|
236
461
|
*
|
|
@@ -268,11 +493,11 @@ export declare function withToast(config: Partial<Omit<WrToastConfig, 'labels'>>
|
|
|
268
493
|
* Merged shallowly with the consumer's overrides (the `labels` sub-object is
|
|
269
494
|
* merged separately so callers can override one string at a time).
|
|
270
495
|
*/
|
|
271
|
-
export declare const
|
|
496
|
+
export declare const DEFAULT_WR_TOAST_CONFIG: WrToastConfig;
|
|
272
497
|
/**
|
|
273
498
|
* Holds the global {@link WrToastConfig} used by {@link WrToast}.
|
|
274
|
-
* The default factory returns {@link
|
|
499
|
+
* The default factory returns {@link DEFAULT_WR_TOAST_CONFIG} so the service
|
|
275
500
|
* works out of the box; override via `provideWr(withToast(...))`.
|
|
276
501
|
*/
|
|
277
502
|
export declare const WR_TOAST_CONFIG: InjectionToken<WrToastConfig>;
|
|
278
|
-
export type { WrToastConfig, WrToastMode, WrToastOptions, WrToastPosition, WrToastType };
|
|
503
|
+
export type { WrToastAction, WrToastConfig, WrToastMode, WrToastOptions, WrToastPosition, WrToastType };
|
package/types/ngwr-transfer.d.ts
CHANGED
|
@@ -150,7 +150,12 @@ export declare class WrTransfer implements FormValueControl<readonly unknown[]>
|
|
|
150
150
|
private readonly selected;
|
|
151
151
|
private readonly valueSet;
|
|
152
152
|
protected readonly source: import("@angular/core").Signal<PaneState>;
|
|
153
|
+
/** The first item per value, which is the one a scan of `items` would find. */
|
|
154
|
+
private readonly itemByValue;
|
|
155
|
+
private readonly targetRows;
|
|
153
156
|
protected readonly target: import("@angular/core").Signal<PaneState>;
|
|
157
|
+
/** Values no item matches. Equal by content, so its reader runs once per distinct set. */
|
|
158
|
+
private readonly orphans;
|
|
154
159
|
/**
|
|
155
160
|
* Say something when `value` holds a value no `items` entry matches.
|
|
156
161
|
*
|
package/types/ngwr-tree.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ interface WrTreeNode<TId = string> {
|
|
|
15
15
|
readonly children?: readonly WrTreeNode<TId>[];
|
|
16
16
|
readonly disabled?: boolean;
|
|
17
17
|
}
|
|
18
|
+
/** Trigger size for an overlay {@link WrTree} — shares the `--wr-control-*` contract. */
|
|
19
|
+
type WrTreeSize = 'sm' | 'md' | 'lg';
|
|
18
20
|
/** Selection mode for {@link WrTree}. */
|
|
19
21
|
type WrTreeSelectionMode = 'none' | 'single' | 'multi';
|
|
20
22
|
interface FlatNode<TId> {
|
|
@@ -108,6 +110,8 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
108
110
|
protected readonly fieldAria: import("ngwr/form").WrFormFieldAria;
|
|
109
111
|
/** Render shape. @default 'inline' */
|
|
110
112
|
readonly openOn: import("@angular/core").InputSignal<"inline" | "overlay">;
|
|
113
|
+
/** Trigger size — shares the `--wr-control-*` contract. The panel keeps its size. @default 'md' */
|
|
114
|
+
readonly size: import("@angular/core").InputSignal<WrTreeSize>;
|
|
111
115
|
/** Placeholder shown on the trigger when no node is selected. */
|
|
112
116
|
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
113
117
|
/**
|
|
@@ -186,6 +190,10 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
186
190
|
readonly value: import("@angular/core").ModelSignal<unknown>;
|
|
187
191
|
/** Emitted on blur so a bound field can mark itself touched. */
|
|
188
192
|
readonly touch: import("@angular/core").OutputEmitterRef<void>;
|
|
193
|
+
/** Fires after the overlay panel opens. */
|
|
194
|
+
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
195
|
+
/** Fires after the overlay panel closes. */
|
|
196
|
+
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
189
197
|
private readonly host;
|
|
190
198
|
private readonly overlay;
|
|
191
199
|
private readonly outsideClick;
|
|
@@ -253,7 +261,7 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
253
261
|
protected readonly hiddenChipCount: import("@angular/core").Signal<number>;
|
|
254
262
|
protected readonly singleLabel: import("@angular/core").Signal<string | null>;
|
|
255
263
|
/** Overlay open state. Only meaningful when `openOn='overlay'`. */
|
|
256
|
-
protected readonly
|
|
264
|
+
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
257
265
|
/** Trigger / panel id for `aria-controls`. */
|
|
258
266
|
protected readonly panelId: string;
|
|
259
267
|
protected readonly classes: import("@angular/core").Signal<string>;
|
|
@@ -322,6 +330,10 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
322
330
|
* mode that is the trigger, and the panel stays shut.
|
|
323
331
|
*/
|
|
324
332
|
focus(options?: FocusOptions): void;
|
|
333
|
+
/** Open the overlay panel, as the trigger does. Refused inline, and while disabled or read-only. */
|
|
334
|
+
open(): void;
|
|
335
|
+
/** Close the overlay panel. */
|
|
336
|
+
close(): void;
|
|
325
337
|
protected onTriggerClick(): void;
|
|
326
338
|
/** Trigger blur — mark the bound field touched. */
|
|
327
339
|
/**
|
|
@@ -374,6 +386,7 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
374
386
|
private focusIndex;
|
|
375
387
|
private collectExpandableIds;
|
|
376
388
|
private openOverlay;
|
|
389
|
+
/** `notify: false` is the destroy path: an output cannot emit from a destroyed view. */
|
|
377
390
|
private closeOverlay;
|
|
378
391
|
static ɵfac: i0.ɵɵFactoryDeclaration<WrTree<any>, never>;
|
|
379
392
|
static ɵcmp: i0.ɵɵComponentDeclaration<WrTree<any>, "wr-tree", never, {
|
|
@@ -412,6 +425,11 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
412
425
|
"required": false;
|
|
413
426
|
"isSignal": true;
|
|
414
427
|
};
|
|
428
|
+
"size": {
|
|
429
|
+
"alias": "size";
|
|
430
|
+
"required": false;
|
|
431
|
+
"isSignal": true;
|
|
432
|
+
};
|
|
415
433
|
"placeholder": {
|
|
416
434
|
"alias": "placeholder";
|
|
417
435
|
"required": false;
|
|
@@ -472,6 +490,8 @@ export declare class WrTree<TId = string> implements FormValueControl<unknown> {
|
|
|
472
490
|
"expanded": "expandedChange";
|
|
473
491
|
"value": "valueChange";
|
|
474
492
|
"touch": "touch";
|
|
493
|
+
"opened": "opened";
|
|
494
|
+
"closed": "closed";
|
|
475
495
|
}, never, never, true, never>;
|
|
476
496
|
}
|
|
477
|
-
export type { WrTreeNode, WrTreeSelectionMode };
|
|
497
|
+
export type { WrTreeNode, WrTreeSelectionMode, WrTreeSize };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { WritableSignal } from "@angular/core";
|
|
2
|
+
import { WrFeature } from "ngwr/utils";
|
|
2
3
|
/**
|
|
3
4
|
* @license
|
|
4
5
|
*
|
|
@@ -92,4 +93,25 @@ interface WrQueryParamOptions<T> extends Omit<WrQueryParamStringOptions, 'defaul
|
|
|
92
93
|
*/
|
|
93
94
|
export declare function wrQueryParam(name: string, options?: WrQueryParamStringOptions): WritableSignal<string>;
|
|
94
95
|
export declare function wrQueryParam<T>(name: string, options: WrQueryParamOptions<T>): WritableSignal<T>;
|
|
96
|
+
/**
|
|
97
|
+
* `provideWr()` feature: render a routed page in the task that inserted it.
|
|
98
|
+
*
|
|
99
|
+
* Zoneless, the router inserts the new page into the DOM in one task and its
|
|
100
|
+
* first change detection runs in a later one (Angular schedules it as a
|
|
101
|
+
* macrotask, by design: angular/angular#57528). A browser that styles the page
|
|
102
|
+
* in between sees elements without their bound classes and attributes, and any
|
|
103
|
+
* CSS transition on them then fades from the browser's defaults to the app's
|
|
104
|
+
* look on every page switch. Ticking right after `NavigationEnd`, before the
|
|
105
|
+
* task ends, binds the page before the browser paints it. The scheduled tick is
|
|
106
|
+
* cancelled by this one, so nothing runs twice.
|
|
107
|
+
*
|
|
108
|
+
* ngwr's own components carry their base class statically and do not depend on
|
|
109
|
+
* this; it covers the app's own bindings on a routed page.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```ts
|
|
113
|
+
* provideWr(withRenderOnNavigation())
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
116
|
+
export declare function withRenderOnNavigation(): WrFeature<'render-on-navigation'>;
|
|
95
117
|
export type { WrQueryParamOptions, WrQueryParamStringOptions };
|