ngwr 16.2.0 → 16.3.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/badge/styles/_tag.scss +73 -1
- package/calendar/styles/_index.scss +22 -0
- package/cascader/styles/_rules.scss +7 -0
- package/color-picker/styles/_index.scss +21 -0
- package/date-picker/styles/_index.scss +19 -0
- package/dropdown/styles/_index.scss +13 -19
- package/fesm2022/ngwr-affix.mjs +3 -3
- package/fesm2022/ngwr-alert-testing.mjs +70 -0
- package/fesm2022/ngwr-alert-testing.mjs.map +1 -0
- package/fesm2022/ngwr-alert.mjs +3 -3
- package/fesm2022/ngwr-anchor.mjs +17 -6
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-animations-aurora.mjs +3 -3
- package/fesm2022/ngwr-animations-blur-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-click-sparks.mjs +3 -3
- package/fesm2022/ngwr-animations-confetti.mjs +3 -3
- package/fesm2022/ngwr-animations-decode.mjs +3 -3
- package/fesm2022/ngwr-animations-destruct.mjs +3 -3
- package/fesm2022/ngwr-animations-dot-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-falling-letters.mjs +3 -3
- package/fesm2022/ngwr-animations-flow-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-fluid-cursor.mjs +3 -3
- package/fesm2022/ngwr-animations-glitch.mjs +3 -3
- package/fesm2022/ngwr-animations-glow-border.mjs +3 -3
- package/fesm2022/ngwr-animations-gradient-flow.mjs +3 -3
- package/fesm2022/ngwr-animations-marquee.mjs +3 -3
- package/fesm2022/ngwr-animations-orbit.mjs +3 -3
- package/fesm2022/ngwr-animations-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-ripple-grid.mjs +3 -3
- package/fesm2022/ngwr-animations-rotate-reveal.mjs +3 -3
- package/fesm2022/ngwr-animations-shimmer.mjs +3 -3
- package/fesm2022/ngwr-animations-spotlight.mjs +3 -3
- package/fesm2022/ngwr-animations-thread-lines.mjs +3 -3
- package/fesm2022/ngwr-animations-tilt.mjs +3 -3
- package/fesm2022/ngwr-animations-typewriter.mjs +3 -3
- package/fesm2022/ngwr-avatar.mjs +3 -3
- package/fesm2022/ngwr-back-top.mjs +3 -3
- package/fesm2022/ngwr-badge.mjs +129 -11
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs-testing.mjs +83 -0
- package/fesm2022/ngwr-breadcrumbs-testing.mjs.map +1 -0
- package/fesm2022/ngwr-breadcrumbs.mjs +8 -8
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger-testing.mjs +45 -0
- package/fesm2022/ngwr-burger-testing.mjs.map +1 -0
- package/fesm2022/ngwr-burger.mjs +3 -3
- package/fesm2022/ngwr-button.mjs +6 -6
- package/fesm2022/ngwr-calendar-testing.mjs +18 -0
- package/fesm2022/ngwr-calendar-testing.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +500 -73
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +9 -9
- package/fesm2022/ngwr-carousel.mjs +6 -6
- package/fesm2022/ngwr-cascader.mjs +37 -16
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-charts-bar-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-boxplot-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-bullet-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-calendar-heatmap.mjs +3 -3
- package/fesm2022/ngwr-charts-candlestick-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-chart-legend.mjs +26 -11
- package/fesm2022/ngwr-charts-chart-legend.mjs.map +1 -1
- package/fesm2022/ngwr-charts-core.mjs +3 -3
- package/fesm2022/ngwr-charts-donut-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-funnel-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-gauge.mjs +3 -3
- package/fesm2022/ngwr-charts-heatmap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-line-chart-testing.mjs +3 -2
- package/fesm2022/ngwr-charts-line-chart-testing.mjs.map +1 -1
- package/fesm2022/ngwr-charts-line-chart.mjs +17 -7
- package/fesm2022/ngwr-charts-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-meter-group.mjs +5 -4
- package/fesm2022/ngwr-charts-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-charts-radar-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-radar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-scatter-chart.mjs +5 -4
- package/fesm2022/ngwr-charts-scatter-chart.mjs.map +1 -1
- package/fesm2022/ngwr-charts-sparkline.mjs +3 -3
- package/fesm2022/ngwr-charts-treemap-chart.mjs +3 -3
- package/fesm2022/ngwr-charts-waterfall-chart.mjs +3 -3
- package/fesm2022/ngwr-checkbox.mjs +6 -6
- package/fesm2022/ngwr-clipboard.mjs +3 -3
- package/fesm2022/ngwr-collapse.mjs +9 -9
- package/fesm2022/ngwr-color-picker-testing.mjs +11 -1
- package/fesm2022/ngwr-color-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-color-picker.mjs +153 -37
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette.mjs +3 -3
- package/fesm2022/ngwr-comment.mjs +10 -6
- package/fesm2022/ngwr-comment.mjs.map +1 -1
- package/fesm2022/ngwr-compare-testing.mjs +84 -0
- package/fesm2022/ngwr-compare-testing.mjs.map +1 -0
- package/fesm2022/ngwr-compare.mjs +3 -3
- package/fesm2022/ngwr-context-menu.mjs +12 -12
- package/fesm2022/ngwr-cookie.mjs +3 -3
- package/fesm2022/ngwr-copy-value.mjs +3 -3
- package/fesm2022/ngwr-counter.mjs +6 -6
- package/fesm2022/ngwr-date-picker-testing.mjs +30 -4
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +342 -69
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp.mjs +3 -3
- package/fesm2022/ngwr-date.mjs +59 -8
- package/fesm2022/ngwr-date.mjs.map +1 -1
- package/fesm2022/ngwr-density.mjs +6 -6
- package/fesm2022/ngwr-descriptions.mjs +6 -6
- package/fesm2022/ngwr-dialog.mjs +18 -18
- package/fesm2022/ngwr-directives.mjs +15 -15
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-drawer.mjs +51 -29
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown-testing.mjs +11 -3
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +52 -95
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-editor.mjs +4 -3
- package/fesm2022/ngwr-editor.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +3 -3
- package/fesm2022/ngwr-event-calendar.mjs +186 -33
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs +34 -2
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload.mjs +274 -15
- package/fesm2022/ngwr-file-upload.mjs.map +1 -1
- package/fesm2022/ngwr-form.mjs +9 -9
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-graph-testing.mjs +3 -0
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +102 -42
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +19 -4
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +19 -4
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +19 -4
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +19 -4
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +19 -4
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +19 -4
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +19 -4
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +19 -4
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +19 -4
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +19 -4
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +19 -4
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +19 -4
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +19 -4
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +19 -4
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +19 -4
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +19 -4
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +19 -4
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +19 -4
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +19 -4
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +19 -4
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +19 -4
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +19 -4
- package/fesm2022/ngwr-i18n-zh.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +9 -9
- package/fesm2022/ngwr-icon.mjs +6 -6
- package/fesm2022/ngwr-image-cropper.mjs +3 -3
- package/fesm2022/ngwr-input-number-testing.mjs +11 -0
- package/fesm2022/ngwr-input-number-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input-number.mjs +68 -7
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp.mjs +23 -3
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input-testing.mjs +24 -1
- package/fesm2022/ngwr-input-testing.mjs.map +1 -1
- package/fesm2022/ngwr-input.mjs +152 -36
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs +3 -3
- package/fesm2022/ngwr-knob.mjs +3 -3
- package/fesm2022/ngwr-layout.mjs +15 -15
- package/fesm2022/ngwr-lightbox.mjs +8 -8
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +8 -8
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-load-state.mjs +15 -15
- package/fesm2022/ngwr-loading-bar.mjs +6 -6
- package/fesm2022/ngwr-mention.mjs +6 -6
- package/fesm2022/ngwr-meta.mjs +6 -6
- package/fesm2022/ngwr-overlay.mjs +175 -13
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +3 -3
- package/fesm2022/ngwr-pagination.mjs +5 -3
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +31 -29
- package/fesm2022/ngwr-pipes.mjs.map +1 -1
- package/fesm2022/ngwr-platform.mjs +9 -9
- package/fesm2022/ngwr-popconfirm-testing.mjs +5 -2
- package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popconfirm.mjs +44 -63
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover-testing.mjs +7 -1
- package/fesm2022/ngwr-popover-testing.mjs.map +1 -1
- package/fesm2022/ngwr-popover.mjs +58 -156
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +50 -9
- package/fesm2022/ngwr-progress.mjs.map +1 -1
- package/fesm2022/ngwr-pull-to-refresh-testing.mjs +57 -0
- package/fesm2022/ngwr-pull-to-refresh-testing.mjs.map +1 -0
- package/fesm2022/ngwr-pull-to-refresh.mjs +3 -3
- package/fesm2022/ngwr-qr.mjs +3 -3
- package/fesm2022/ngwr-radio.mjs +6 -6
- package/fesm2022/ngwr-rating.mjs +3 -3
- package/fesm2022/ngwr-resizable-testing.mjs +113 -0
- package/fesm2022/ngwr-resizable-testing.mjs.map +1 -0
- package/fesm2022/ngwr-resizable.mjs +3 -3
- package/fesm2022/ngwr-result.mjs +12 -12
- package/fesm2022/ngwr-schema-form-testing.mjs +336 -0
- package/fesm2022/ngwr-schema-form-testing.mjs.map +1 -0
- package/fesm2022/ngwr-schema-form.mjs +415 -19
- package/fesm2022/ngwr-schema-form.mjs.map +1 -1
- package/fesm2022/ngwr-scroll.mjs +3 -3
- package/fesm2022/ngwr-segmented.mjs +3 -3
- package/fesm2022/ngwr-select-testing.mjs +19 -0
- package/fesm2022/ngwr-select-testing.mjs.map +1 -1
- package/fesm2022/ngwr-select.mjs +263 -83
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar-testing.mjs +176 -0
- package/fesm2022/ngwr-sidebar-testing.mjs.map +1 -0
- package/fesm2022/ngwr-sidebar.mjs +3 -3
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider-testing.mjs +6 -0
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +21 -3
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list.mjs +29 -12
- package/fesm2022/ngwr-sortable-list.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +3 -3
- package/fesm2022/ngwr-spinner.mjs +3 -3
- package/fesm2022/ngwr-splitter.mjs +3 -3
- package/fesm2022/ngwr-statistic.mjs +9 -9
- package/fesm2022/ngwr-stepper.mjs +42 -11
- package/fesm2022/ngwr-stepper.mjs.map +1 -1
- package/fesm2022/ngwr-storage.mjs +3 -3
- package/fesm2022/ngwr-switch.mjs +3 -3
- package/fesm2022/ngwr-table-testing.mjs +88 -2
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +891 -74
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-router.mjs +3 -3
- package/fesm2022/ngwr-tabs-testing.mjs +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tabs.mjs +15 -10
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea-testing.mjs +11 -0
- package/fesm2022/ngwr-textarea-testing.mjs.map +1 -1
- package/fesm2022/ngwr-textarea.mjs +128 -16
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-theme.mjs +3 -3
- package/fesm2022/ngwr-timeline.mjs +6 -6
- package/fesm2022/ngwr-toast.mjs +40 -19
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour.mjs +6 -6
- package/fesm2022/ngwr-transfer-testing.mjs +6 -0
- package/fesm2022/ngwr-transfer-testing.mjs.map +1 -1
- package/fesm2022/ngwr-transfer.mjs +24 -5
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs +62 -2
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tree.mjs +966 -78
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +3 -3
- package/fesm2022/ngwr-utils-router.mjs +3 -3
- package/fesm2022/ngwr-utils.mjs +34 -1
- package/fesm2022/ngwr-utils.mjs.map +1 -1
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-virtual-scroll.mjs +3 -3
- package/fesm2022/ngwr-window.mjs +33 -22
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/file-upload/styles/_index.scss +156 -0
- package/i18n/ar.json +21 -4
- package/i18n/cs.json +21 -4
- package/i18n/de.json +21 -4
- package/i18n/en.json +21 -4
- package/i18n/es.json +21 -4
- package/i18n/fr.json +21 -4
- package/i18n/he.json +21 -4
- package/i18n/hi.json +21 -4
- package/i18n/id.json +21 -4
- package/i18n/it.json +21 -4
- package/i18n/ja.json +21 -4
- package/i18n/ko.json +21 -4
- package/i18n/nl.json +21 -4
- package/i18n/pl.json +21 -4
- package/i18n/pt.json +21 -4
- package/i18n/ru.json +21 -4
- package/i18n/sv.json +21 -4
- package/i18n/tr.json +21 -4
- package/i18n/uk.json +21 -4
- package/i18n/vi.json +21 -4
- package/i18n/zh-TW.json +21 -4
- package/i18n/zh.json +21 -4
- package/input/styles/_index.scss +68 -1
- package/input-otp/styles/_index.scss +14 -0
- package/llms-full.txt +52 -20
- package/overlay/styles/_arrow.scss +4 -4
- package/package.json +33 -1
- package/popconfirm/styles/_index.scss +3 -11
- package/progress/styles/_index.scss +32 -0
- package/schema-form/styles/_index.scss +78 -0
- package/schematics/use/rule.js +2 -0
- package/schematics/use/symbol-map.json +4 -0
- package/select/styles/_index.scss +114 -22
- package/skills/ngwr/SKILL.md +1 -1
- package/skills/ngwr/references/catalog.md +9 -1
- package/slider/styles/_index.scss +22 -0
- package/table/styles/_index.scss +167 -3
- package/textarea/styles/_index.scss +80 -0
- package/theme/styles/_focus.scss +5 -0
- package/theme/styles/_motion.scss +5 -0
- package/transfer/styles/_index.scss +84 -0
- package/tree/styles/_index.scss +138 -5
- package/types/ngwr-alert-testing.d.ts +88 -0
- package/types/ngwr-badge.d.ts +72 -2
- package/types/ngwr-breadcrumbs-testing.d.ts +92 -0
- package/types/ngwr-burger-testing.d.ts +51 -0
- package/types/ngwr-calendar-testing.d.ts +18 -6
- package/types/ngwr-calendar.d.ts +272 -22
- package/types/ngwr-cascader.d.ts +10 -1
- package/types/ngwr-charts-chart-legend.d.ts +9 -4
- package/types/ngwr-charts-line-chart-testing.d.ts +4 -1
- package/types/ngwr-charts-line-chart.d.ts +7 -4
- package/types/ngwr-color-picker-testing.d.ts +15 -4
- package/types/ngwr-color-picker.d.ts +76 -6
- package/types/ngwr-compare-testing.d.ts +72 -0
- package/types/ngwr-date-picker-testing.d.ts +23 -8
- package/types/ngwr-date-picker.d.ts +100 -9
- package/types/ngwr-date.d.ts +71 -1
- package/types/ngwr-drawer.d.ts +9 -0
- package/types/ngwr-dropdown-testing.d.ts +20 -0
- package/types/ngwr-dropdown.d.ts +24 -6
- package/types/ngwr-event-calendar.d.ts +66 -8
- package/types/ngwr-file-upload-testing.d.ts +31 -2
- package/types/ngwr-file-upload.d.ts +148 -1
- package/types/ngwr-form.d.ts +47 -3
- package/types/ngwr-graph-testing.d.ts +8 -3
- package/types/ngwr-graph.d.ts +147 -7
- package/types/ngwr-input-number-testing.d.ts +10 -0
- package/types/ngwr-input-number.d.ts +30 -1
- package/types/ngwr-input-otp.d.ts +10 -0
- package/types/ngwr-input-testing.d.ts +30 -0
- package/types/ngwr-input.d.ts +54 -3
- package/types/ngwr-overlay.d.ts +84 -5
- package/types/ngwr-pipes.d.ts +2 -1
- package/types/ngwr-popconfirm-testing.d.ts +12 -3
- package/types/ngwr-popconfirm.d.ts +28 -3
- package/types/ngwr-popover-testing.d.ts +19 -2
- package/types/ngwr-popover.d.ts +22 -2
- package/types/ngwr-progress.d.ts +29 -1
- package/types/ngwr-pull-to-refresh-testing.d.ts +83 -0
- package/types/ngwr-resizable-testing.d.ts +116 -0
- package/types/ngwr-schema-form-testing.d.ts +260 -0
- package/types/ngwr-schema-form.d.ts +76 -6
- package/types/ngwr-select-testing.d.ts +20 -0
- package/types/ngwr-select.d.ts +112 -11
- package/types/ngwr-sidebar-testing.d.ts +176 -0
- package/types/ngwr-slider-testing.d.ts +3 -1
- package/types/ngwr-slider.d.ts +21 -1
- package/types/ngwr-sortable-list.d.ts +6 -0
- package/types/ngwr-stepper.d.ts +20 -11
- package/types/ngwr-table-testing.d.ts +70 -6
- package/types/ngwr-table.d.ts +480 -50
- package/types/ngwr-tabs-testing.d.ts +14 -17
- package/types/ngwr-tabs.d.ts +6 -0
- package/types/ngwr-textarea-testing.d.ts +10 -0
- package/types/ngwr-textarea.d.ts +48 -2
- package/types/ngwr-toast.d.ts +8 -1
- package/types/ngwr-transfer-testing.d.ts +3 -0
- package/types/ngwr-transfer.d.ts +24 -1
- package/types/ngwr-tree-testing.d.ts +65 -1
- package/types/ngwr-tree.d.ts +333 -12
- package/types/ngwr-utils.d.ts +28 -0
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window.d.ts +7 -4
package/types/ngwr-calendar.d.ts
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
+
import { FormValueControl } from "@angular/forms/signals";
|
|
3
|
+
import { WrDatePeriod } from "ngwr/date";
|
|
4
|
+
/**
|
|
5
|
+
* What one pick in `<wr-calendar>` names:
|
|
6
|
+
*
|
|
7
|
+
* - `day`: a day, on the day grid
|
|
8
|
+
* - `week`: a whole week, on the day grid
|
|
9
|
+
* - `month`, `quarter`, `year`: a period, on a view of its own
|
|
10
|
+
*
|
|
11
|
+
* A period is held as its first day, and in `range` mode the end is the last
|
|
12
|
+
* day of the end period.
|
|
13
|
+
*/
|
|
14
|
+
type WrCalendarGranularity = 'day' | WrDatePeriod;
|
|
2
15
|
/**
|
|
3
16
|
* @license
|
|
4
17
|
*
|
|
@@ -23,6 +36,16 @@ type WrCalendarMode = 'single' | 'range';
|
|
|
23
36
|
* may be `null` while the user is mid-selection (start picked, end pending).
|
|
24
37
|
*/
|
|
25
38
|
type WrCalendarRange = readonly [Date | null, Date | null];
|
|
39
|
+
/**
|
|
40
|
+
* What `<wr-calendar>` holds in its `value` model, the one `[formField]` binds:
|
|
41
|
+
*
|
|
42
|
+
* - a `Date` in `single` mode
|
|
43
|
+
* - a `[start, end]` tuple in `range` mode
|
|
44
|
+
* - `null` while nothing is picked, in either mode
|
|
45
|
+
*/
|
|
46
|
+
type WrCalendarValue = Date | WrCalendarRange | null;
|
|
47
|
+
/** The views behind the header. `quarter` is reached only under `granularity="quarter"`. */
|
|
48
|
+
type WrCalendarViewMode = 'day' | 'month' | 'quarter' | 'year';
|
|
26
49
|
/**
|
|
27
50
|
* Month-view calendar. Supports single-date selection (`mode="single"`) or
|
|
28
51
|
* date-range selection (`mode="range"`). Reusable on its own; consumed by
|
|
@@ -31,26 +54,57 @@ type WrCalendarRange = readonly [Date | null, Date | null];
|
|
|
31
54
|
* Uses {@link WrDateAdapter} for all date math and formatting — the native
|
|
32
55
|
* one unless `provideWr(withDates(...))` registers another.
|
|
33
56
|
*
|
|
57
|
+
* A signal-forms native control: it implements
|
|
58
|
+
* `FormValueControl<WrCalendarValue>`, so `[formField]` binds straight to its
|
|
59
|
+
* `value` model: a `Date | null` in `single` mode, a `[start, end]` tuple or
|
|
60
|
+
* `null` in `range` mode. `[(date)]` and `[(range)]` stay the standalone
|
|
61
|
+
* bindings, and each mirrors `value` in its own mode.
|
|
62
|
+
*
|
|
34
63
|
* @example
|
|
35
64
|
* ```html
|
|
36
65
|
* <wr-calendar [(date)]="picked" [min]="minDate" />
|
|
37
66
|
*
|
|
38
67
|
* <wr-calendar mode="range" [(range)]="[start, end]" />
|
|
68
|
+
*
|
|
69
|
+
* <!-- signal forms -->
|
|
70
|
+
* <wr-calendar [formField]="form.due" />
|
|
39
71
|
* ```
|
|
40
72
|
*
|
|
41
73
|
* @see https://ngwr.dev/reference/components/calendar
|
|
42
74
|
*/
|
|
43
|
-
export declare class WrCalendar {
|
|
75
|
+
export declare class WrCalendar implements FormValueControl<WrCalendarValue> {
|
|
44
76
|
/** Selection mode. @default 'single' */
|
|
45
77
|
readonly mode: import("@angular/core").InputSignal<WrCalendarMode>;
|
|
78
|
+
/**
|
|
79
|
+
* What one pick names. `'week'` keeps the day grid, where hovering and
|
|
80
|
+
* picking take the whole week; `'month'`, `'quarter'` and `'year'` open on
|
|
81
|
+
* that view and pick there, with no day grid to drop to.
|
|
82
|
+
*
|
|
83
|
+
* A period is held as its first day. In `range` mode the end is the last day
|
|
84
|
+
* of the end period, so the range stays an inclusive run of days. `min`,
|
|
85
|
+
* `max` and `dateFilter` close a period only when they close every day in it.
|
|
86
|
+
* A week starts on the adapter's first day of the week.
|
|
87
|
+
*
|
|
88
|
+
* @default 'day'
|
|
89
|
+
*/
|
|
90
|
+
readonly granularity: import("@angular/core").InputSignal<WrCalendarGranularity>;
|
|
46
91
|
/** Two-way bindable single value (used when `mode === 'single'`). */
|
|
47
92
|
readonly date: import("@angular/core").ModelSignal<Date | null>;
|
|
48
93
|
/** Two-way bindable `[start, end]` (used when `mode === 'range'`). */
|
|
49
94
|
readonly range: import("@angular/core").ModelSignal<WrCalendarRange>;
|
|
50
|
-
/**
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
95
|
+
/**
|
|
96
|
+
* The selection as one value, whatever the mode: a `Date` in `single` mode, a
|
|
97
|
+
* `[start, end]` tuple in `range` mode, `null` while nothing is picked. Bound
|
|
98
|
+
* by `[formField]`, or two-way via `[(value)]`. Kept in step with `date` and
|
|
99
|
+
* `range`: a write to either side reaches the other.
|
|
100
|
+
*/
|
|
101
|
+
readonly value: import("@angular/core").ModelSignal<WrCalendarValue>;
|
|
102
|
+
/** Emitted when focus leaves the calendar, so a bound field can mark itself touched. */
|
|
103
|
+
readonly touch: import("@angular/core").OutputEmitterRef<void>;
|
|
104
|
+
/** Min selectable date (inclusive). Takes a `Date`; `null` or `undefined` is no bound. */
|
|
105
|
+
readonly min: import("@angular/core").InputSignalWithTransform<NonNullable<WrCalendarValue> | undefined, unknown>;
|
|
106
|
+
/** Max selectable date (inclusive). Takes a `Date`; `null` or `undefined` is no bound. */
|
|
107
|
+
readonly max: import("@angular/core").InputSignalWithTransform<NonNullable<WrCalendarValue> | undefined, unknown>;
|
|
54
108
|
/** Predicate — return `false` to disable specific dates (e.g. weekends only). */
|
|
55
109
|
readonly dateFilter: import("@angular/core").InputSignal<((date: Date) => boolean) | null>;
|
|
56
110
|
/**
|
|
@@ -64,6 +118,15 @@ export declare class WrCalendar {
|
|
|
64
118
|
readonly autoFocus: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
65
119
|
/** Disable interaction entirely. @default false */
|
|
66
120
|
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
121
|
+
/**
|
|
122
|
+
* Read-only: the grid keeps its tab stop, the arrows still move the cursor and
|
|
123
|
+
* the header still pages through months and years, but picking a day writes
|
|
124
|
+
* nothing. Bound automatically from the field's readonly state when used with
|
|
125
|
+
* `[formField]`. Mirrored as `aria-readonly` on the day grid.
|
|
126
|
+
* @default false
|
|
127
|
+
*/
|
|
128
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
129
|
+
protected readonly fieldAria: import("ngwr/form").WrFormFieldAria;
|
|
67
130
|
private readonly adapter;
|
|
68
131
|
private readonly dir;
|
|
69
132
|
private readonly host;
|
|
@@ -80,7 +143,17 @@ export declare class WrCalendar {
|
|
|
80
143
|
/** Hovered date during range-mode end-pick — drives the preview highlight. */
|
|
81
144
|
protected readonly hoverDate: import("@angular/core").WritableSignal<Date | null>;
|
|
82
145
|
/** Which sub-view is currently shown. Cycles `day → month → year` on header click. */
|
|
83
|
-
protected readonly viewMode: import("@angular/core").WritableSignal<
|
|
146
|
+
protected readonly viewMode: import("@angular/core").WritableSignal<WrCalendarViewMode>;
|
|
147
|
+
/** The period a pick names, or `null` while a pick names a day. */
|
|
148
|
+
private readonly period;
|
|
149
|
+
/** The view a pick is made on: the one the calendar opens on and returns to. */
|
|
150
|
+
private readonly homeView;
|
|
151
|
+
/** Whether the chips on screen are what a click picks, rather than a step towards a finer view. */
|
|
152
|
+
private readonly picksChips;
|
|
153
|
+
/** The week a single `granularity="week"` calendar holds, as its first and last day. */
|
|
154
|
+
private readonly pickedWeek;
|
|
155
|
+
/** The week under the pointer, while `granularity="week"`. */
|
|
156
|
+
private readonly hoverWeek;
|
|
84
157
|
/**
|
|
85
158
|
* Chip the month / year listbox has moved its ring to, as an index into
|
|
86
159
|
* `monthsView()` / `yearsView()`. `null` means "nobody has pressed an arrow
|
|
@@ -91,14 +164,39 @@ export declare class WrCalendar {
|
|
|
91
164
|
* happened to leave the ring on.
|
|
92
165
|
*/
|
|
93
166
|
private readonly rovedChip;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
167
|
+
/**
|
|
168
|
+
* Accessible name of the day grid, for a calendar that stands alone: a
|
|
169
|
+
* `role="grid"` has no name of its own. Inside a `<wr-form-field>` the field's
|
|
170
|
+
* label names the grid instead.
|
|
171
|
+
*/
|
|
172
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
173
|
+
/** Accessible name of the back arrow on the day view. Falls back to `calendar.prevMonth`, then `'Previous month'`. */
|
|
174
|
+
readonly prevMonthLabel: import("@angular/core").InputSignal<string | null>;
|
|
175
|
+
/** Accessible name of the forward arrow on the day view. Falls back to `calendar.nextMonth`, then `'Next month'`. */
|
|
176
|
+
readonly nextMonthLabel: import("@angular/core").InputSignal<string | null>;
|
|
177
|
+
/** Accessible name of the month list. Falls back to `calendar.monthList`, then `'Months'`. */
|
|
178
|
+
readonly monthListLabel: import("@angular/core").InputSignal<string | null>;
|
|
179
|
+
/** Accessible name of the year list. Falls back to `calendar.yearList`, then `'Years'`. */
|
|
180
|
+
readonly yearListLabel: import("@angular/core").InputSignal<string | null>;
|
|
181
|
+
/** Accessible name of the quarter list. Falls back to `calendar.quarterList`, then `'Quarters'`. */
|
|
182
|
+
readonly quarterListLabel: import("@angular/core").InputSignal<string | null>;
|
|
183
|
+
/** Accessible name of the back arrow on the month view. Falls back to `calendar.prevYear`, then `'Previous year'`. */
|
|
184
|
+
readonly prevYearLabel: import("@angular/core").InputSignal<string | null>;
|
|
185
|
+
/** Accessible name of the forward arrow on the month view. Falls back to `calendar.nextYear`, then `'Next year'`. */
|
|
186
|
+
readonly nextYearLabel: import("@angular/core").InputSignal<string | null>;
|
|
187
|
+
/** Accessible name of the back arrow on the year view. Falls back to `calendar.prevYears`, then `'Previous 12 years'`. */
|
|
188
|
+
readonly prevYearsLabel: import("@angular/core").InputSignal<string | null>;
|
|
189
|
+
/** Accessible name of the forward arrow on the year view. Falls back to `calendar.nextYears`, then `'Next 12 years'`. */
|
|
190
|
+
readonly nextYearsLabel: import("@angular/core").InputSignal<string | null>;
|
|
191
|
+
private readonly resolvedPrevMonthLabel;
|
|
192
|
+
private readonly resolvedNextMonthLabel;
|
|
193
|
+
protected readonly resolvedMonthListLabel: import("@angular/core").Signal<string>;
|
|
194
|
+
protected readonly resolvedYearListLabel: import("@angular/core").Signal<string>;
|
|
195
|
+
protected readonly resolvedQuarterListLabel: import("@angular/core").Signal<string>;
|
|
196
|
+
private readonly resolvedPrevYearLabel;
|
|
197
|
+
private readonly resolvedNextYearLabel;
|
|
198
|
+
private readonly resolvedPrevYearsLabel;
|
|
199
|
+
private readonly resolvedNextYearsLabel;
|
|
102
200
|
/** What the ← button does from here — a month, a year, or a 12-year page. */
|
|
103
201
|
protected readonly prevLabel: import("@angular/core").Signal<string>;
|
|
104
202
|
/** What the → button does from here. */
|
|
@@ -122,6 +220,11 @@ export declare class WrCalendar {
|
|
|
122
220
|
private readonly headerText;
|
|
123
221
|
private readonly yearRangeText;
|
|
124
222
|
private readonly dayLabelText;
|
|
223
|
+
private readonly quarterText;
|
|
224
|
+
/** The four quarters of the year on screen, by number. */
|
|
225
|
+
protected readonly quartersView: readonly number[];
|
|
226
|
+
/** A quarter chip's text: the arrangement is the catalog's, as the header's is. */
|
|
227
|
+
protected quarterLabel(quarter: number): string;
|
|
125
228
|
/**
|
|
126
229
|
* Long weekday names for the cell names.
|
|
127
230
|
*
|
|
@@ -165,6 +268,9 @@ export declare class WrCalendar {
|
|
|
165
268
|
*/
|
|
166
269
|
protected readonly activeChip: import("@angular/core").Signal<number>;
|
|
167
270
|
protected readonly classes: import("@angular/core").Signal<string>;
|
|
271
|
+
/** What the sync effect last saw on each side, so it can tell which one was written. */
|
|
272
|
+
private seenValue;
|
|
273
|
+
private seenOwn;
|
|
168
274
|
constructor();
|
|
169
275
|
/** Header `‹` button — steps by month / year / decade based on the active view. */
|
|
170
276
|
protected prev(): void;
|
|
@@ -188,6 +294,16 @@ export declare class WrCalendar {
|
|
|
188
294
|
* other cursor write.
|
|
189
295
|
*/
|
|
190
296
|
private carryCursorIntoView;
|
|
297
|
+
/**
|
|
298
|
+
* Whether the month on screen already shows the selection. A week that
|
|
299
|
+
* straddles two months is on show in both, so picking it from the later one
|
|
300
|
+
* does not page the grid back to where its first day is.
|
|
301
|
+
*/
|
|
302
|
+
private isInViewMonth;
|
|
303
|
+
/** The first and last day of the week `date` is in. */
|
|
304
|
+
private weekOf;
|
|
305
|
+
/** Whether `date` is one of the 42 days the grid is showing. */
|
|
306
|
+
private isRendered;
|
|
191
307
|
/** Header label click — zooms out (`day → month → year`). No-op at year view. */
|
|
192
308
|
protected onLabelClick(): void;
|
|
193
309
|
/**
|
|
@@ -211,8 +327,19 @@ export declare class WrCalendar {
|
|
|
211
327
|
* first, which is where `viewDate` lands anyway.
|
|
212
328
|
*/
|
|
213
329
|
protected onMonthSelect(monthIdx: number): void;
|
|
214
|
-
/**
|
|
330
|
+
/**
|
|
331
|
+
* From the year view to the month view, with the same focus restoration; the landing view is chips.
|
|
332
|
+
* Under `granularity="quarter"` the landing view is the quarters, and under
|
|
333
|
+
* `granularity="year"` the year is the pick.
|
|
334
|
+
*/
|
|
215
335
|
protected onYearSelect(year: number): void;
|
|
336
|
+
/** A quarter chip, which only `granularity="quarter"` renders: always a pick. */
|
|
337
|
+
protected onQuarterSelect(index: number): void;
|
|
338
|
+
/**
|
|
339
|
+
* A chip that IS the pick. The view stays, so the chip keeps real focus, and
|
|
340
|
+
* the ring is moved onto it: a click is a navigation too.
|
|
341
|
+
*/
|
|
342
|
+
private pickChip;
|
|
216
343
|
/**
|
|
217
344
|
* Switch views and drop the chip ring with them.
|
|
218
345
|
*
|
|
@@ -227,19 +354,75 @@ export declare class WrCalendar {
|
|
|
227
354
|
protected isToday(date: Date): boolean;
|
|
228
355
|
protected isOutOfMonth(date: Date): boolean;
|
|
229
356
|
protected isSelected(date: Date): boolean;
|
|
357
|
+
/**
|
|
358
|
+
* What `aria-selected` says. Every day of a picked week is selected, though
|
|
359
|
+
* only its two ends are drawn filled.
|
|
360
|
+
*/
|
|
361
|
+
protected isAriaSelected(date: Date): boolean;
|
|
230
362
|
protected isInRange(date: Date): boolean;
|
|
231
363
|
protected isInRangePreview(date: Date): boolean;
|
|
232
364
|
protected isFocused(date: Date): boolean;
|
|
233
365
|
protected isDisabled(date: Date): boolean;
|
|
234
|
-
|
|
235
|
-
|
|
366
|
+
/**
|
|
367
|
+
* The first day of the period the chip at `index` names, in the view on
|
|
368
|
+
* screen: a month or a quarter of the year in the header, or a year of the
|
|
369
|
+
* twelve on the page.
|
|
370
|
+
*/
|
|
371
|
+
private chipStart;
|
|
372
|
+
/** Whether `date` falls in the period the chip at `index` names. */
|
|
373
|
+
private isInChip;
|
|
374
|
+
/** The chip the view itself points at: see {@link currentChip}. */
|
|
375
|
+
protected isChipCurrent(index: number): boolean;
|
|
376
|
+
/**
|
|
377
|
+
* Whether the chip holds the selection. On the way to a finer view it marks
|
|
378
|
+
* where the selection is; where the chip is the pick, both ends of a range
|
|
379
|
+
* count.
|
|
380
|
+
*/
|
|
381
|
+
protected isChipSelected(index: number): boolean;
|
|
382
|
+
/** A chip strictly between the two ends of a picked range of periods. */
|
|
383
|
+
protected isChipInRange(index: number): boolean;
|
|
384
|
+
/** A chip the range would take if the hovered one were clicked. */
|
|
385
|
+
protected isChipRangePreview(index: number): boolean;
|
|
386
|
+
protected onChipEnter(index: number): void;
|
|
387
|
+
/**
|
|
388
|
+
* Whether `min`, `max` or, where the span is what a click picks, `dateFilter`
|
|
389
|
+
* closes every day from `start` to `end`. A filter is asked only about a
|
|
390
|
+
* period that can be picked: on the way to the day grid a month stays open,
|
|
391
|
+
* as it always has, and its days say which of them are closed.
|
|
392
|
+
*/
|
|
393
|
+
private isSpanClosed;
|
|
236
394
|
protected isMonthDisabled(monthIdx: number): boolean;
|
|
237
|
-
protected
|
|
238
|
-
protected isYearSelected(year: number): boolean;
|
|
395
|
+
protected isQuarterDisabled(index: number): boolean;
|
|
239
396
|
protected isYearDisabled(year: number): boolean;
|
|
240
397
|
protected onCellClick(date: Date): void;
|
|
398
|
+
/**
|
|
399
|
+
* Writes a pick to the models: the day itself, or under a `granularity` the
|
|
400
|
+
* first day of the period it is in.
|
|
401
|
+
*/
|
|
402
|
+
private pick;
|
|
241
403
|
protected onCellEnter(date: Date): void;
|
|
404
|
+
/**
|
|
405
|
+
* Focus the calendar, which is what Signal Forms calls to focus this control.
|
|
406
|
+
* Focus goes where Tab would put it: the day or the chip holding the roving
|
|
407
|
+
* tab stop, since the host has none of its own.
|
|
408
|
+
*/
|
|
409
|
+
focus(options?: FocusOptions): void;
|
|
410
|
+
/**
|
|
411
|
+
* Leaving the calendar marks a bound field touched. A `relatedTarget` inside
|
|
412
|
+
* the host is focus moving between cells, chips and the header, which is not
|
|
413
|
+
* leaving.
|
|
414
|
+
*/
|
|
415
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
416
|
+
/** Mirrors the mode's own model onto `value`. An empty range is `null`, as a form reads "nothing picked". */
|
|
417
|
+
private mirrorToValue;
|
|
418
|
+
/** `value` as the `range` model holds it. A lone `Date` is not a range and reads as empty. */
|
|
419
|
+
private asRange;
|
|
242
420
|
protected onCellLeave(): void;
|
|
421
|
+
/**
|
|
422
|
+
* Under a `granularity` each end is widened to its period: the start to the
|
|
423
|
+
* period's first day and the end to its last, so the range is still an
|
|
424
|
+
* inclusive run of days.
|
|
425
|
+
*/
|
|
243
426
|
private applyRangeClick;
|
|
244
427
|
protected onKeyDown(event: KeyboardEvent): void;
|
|
245
428
|
/**
|
|
@@ -254,11 +437,11 @@ export declare class WrCalendar {
|
|
|
254
437
|
* button and to whatever owns the calendar.
|
|
255
438
|
*/
|
|
256
439
|
private onChipKeyDown;
|
|
257
|
-
/** How many chips the current view renders
|
|
440
|
+
/** How many chips the current view renders, read rather than assumed. */
|
|
258
441
|
private chipCount;
|
|
259
442
|
/** Whether the chip at `index` refuses selection in the current view. */
|
|
260
443
|
private isChipDisabled;
|
|
261
|
-
/** The chip the view itself points at: the month or year currently on screen. */
|
|
444
|
+
/** The chip the view itself points at: the month, quarter or year currently on screen. */
|
|
262
445
|
private currentChip;
|
|
263
446
|
/**
|
|
264
447
|
* The first selectable chip at or after `from`, else the first before it, else
|
|
@@ -309,6 +492,11 @@ export declare class WrCalendar {
|
|
|
309
492
|
"required": false;
|
|
310
493
|
"isSignal": true;
|
|
311
494
|
};
|
|
495
|
+
"granularity": {
|
|
496
|
+
"alias": "granularity";
|
|
497
|
+
"required": false;
|
|
498
|
+
"isSignal": true;
|
|
499
|
+
};
|
|
312
500
|
"date": {
|
|
313
501
|
"alias": "date";
|
|
314
502
|
"required": false;
|
|
@@ -319,6 +507,11 @@ export declare class WrCalendar {
|
|
|
319
507
|
"required": false;
|
|
320
508
|
"isSignal": true;
|
|
321
509
|
};
|
|
510
|
+
"value": {
|
|
511
|
+
"alias": "value";
|
|
512
|
+
"required": false;
|
|
513
|
+
"isSignal": true;
|
|
514
|
+
};
|
|
322
515
|
"min": {
|
|
323
516
|
"alias": "min";
|
|
324
517
|
"required": false;
|
|
@@ -344,9 +537,66 @@ export declare class WrCalendar {
|
|
|
344
537
|
"required": false;
|
|
345
538
|
"isSignal": true;
|
|
346
539
|
};
|
|
540
|
+
"readonly": {
|
|
541
|
+
"alias": "readonly";
|
|
542
|
+
"required": false;
|
|
543
|
+
"isSignal": true;
|
|
544
|
+
};
|
|
545
|
+
"ariaLabel": {
|
|
546
|
+
"alias": "ariaLabel";
|
|
547
|
+
"required": false;
|
|
548
|
+
"isSignal": true;
|
|
549
|
+
};
|
|
550
|
+
"prevMonthLabel": {
|
|
551
|
+
"alias": "prevMonthLabel";
|
|
552
|
+
"required": false;
|
|
553
|
+
"isSignal": true;
|
|
554
|
+
};
|
|
555
|
+
"nextMonthLabel": {
|
|
556
|
+
"alias": "nextMonthLabel";
|
|
557
|
+
"required": false;
|
|
558
|
+
"isSignal": true;
|
|
559
|
+
};
|
|
560
|
+
"monthListLabel": {
|
|
561
|
+
"alias": "monthListLabel";
|
|
562
|
+
"required": false;
|
|
563
|
+
"isSignal": true;
|
|
564
|
+
};
|
|
565
|
+
"yearListLabel": {
|
|
566
|
+
"alias": "yearListLabel";
|
|
567
|
+
"required": false;
|
|
568
|
+
"isSignal": true;
|
|
569
|
+
};
|
|
570
|
+
"quarterListLabel": {
|
|
571
|
+
"alias": "quarterListLabel";
|
|
572
|
+
"required": false;
|
|
573
|
+
"isSignal": true;
|
|
574
|
+
};
|
|
575
|
+
"prevYearLabel": {
|
|
576
|
+
"alias": "prevYearLabel";
|
|
577
|
+
"required": false;
|
|
578
|
+
"isSignal": true;
|
|
579
|
+
};
|
|
580
|
+
"nextYearLabel": {
|
|
581
|
+
"alias": "nextYearLabel";
|
|
582
|
+
"required": false;
|
|
583
|
+
"isSignal": true;
|
|
584
|
+
};
|
|
585
|
+
"prevYearsLabel": {
|
|
586
|
+
"alias": "prevYearsLabel";
|
|
587
|
+
"required": false;
|
|
588
|
+
"isSignal": true;
|
|
589
|
+
};
|
|
590
|
+
"nextYearsLabel": {
|
|
591
|
+
"alias": "nextYearsLabel";
|
|
592
|
+
"required": false;
|
|
593
|
+
"isSignal": true;
|
|
594
|
+
};
|
|
347
595
|
}, {
|
|
348
596
|
"date": "dateChange";
|
|
349
597
|
"range": "rangeChange";
|
|
598
|
+
"value": "valueChange";
|
|
599
|
+
"touch": "touch";
|
|
350
600
|
}, never, never, true, never>;
|
|
351
601
|
}
|
|
352
|
-
export type { WrCalendarMode, WrCalendarRange };
|
|
602
|
+
export type { WrCalendarGranularity, WrCalendarMode, WrCalendarRange, WrCalendarValue };
|
package/types/ngwr-cascader.d.ts
CHANGED
|
@@ -104,6 +104,8 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
104
104
|
protected readonly nameLabel: import("@angular/core").Signal<string | null>;
|
|
105
105
|
/** Control size — shares the `--wr-control-*` contract. @default 'md' */
|
|
106
106
|
readonly size: import("@angular/core").InputSignal<WrCascaderSize>;
|
|
107
|
+
/** Pill-shaped corners on the trigger. @default false */
|
|
108
|
+
readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
107
109
|
/** Show a clear-all (×) button on the trigger when a path is selected. @default true */
|
|
108
110
|
readonly clearable: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
109
111
|
/**
|
|
@@ -137,7 +139,9 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
137
139
|
protected readonly path: import("@angular/core").WritableSignal<readonly T[]>;
|
|
138
140
|
/** Currently-expanded column path — drives which columns the panel shows. @internal */
|
|
139
141
|
protected readonly activePath: import("@angular/core").WritableSignal<readonly T[]>;
|
|
140
|
-
|
|
142
|
+
private readonly openState;
|
|
143
|
+
/** Whether the panel is open. Read-only: `open()` and `close()` change it. */
|
|
144
|
+
readonly isOpen: import("@angular/core").Signal<boolean>;
|
|
141
145
|
/**
|
|
142
146
|
* The option the user last moved to inside the open panel — `null` until they
|
|
143
147
|
* move, and again on every open. Written by an option's `focus` event, so
|
|
@@ -315,6 +319,11 @@ export declare class WrCascader<T = string> implements FormValueControl<unknown>
|
|
|
315
319
|
"required": false;
|
|
316
320
|
"isSignal": true;
|
|
317
321
|
};
|
|
322
|
+
"rounded": {
|
|
323
|
+
"alias": "rounded";
|
|
324
|
+
"required": false;
|
|
325
|
+
"isSignal": true;
|
|
326
|
+
};
|
|
318
327
|
"clearable": {
|
|
319
328
|
"alias": "clearable";
|
|
320
329
|
"required": false;
|
|
@@ -117,11 +117,11 @@ export declare class WrChartLegend {
|
|
|
117
117
|
/**
|
|
118
118
|
* The word a hidden row of a legend that does not toggle carries after its name,
|
|
119
119
|
* visually hidden: the strike-through and the faded key are the eye's half of the
|
|
120
|
-
* state, and a toggle row's `aria-pressed` is the other half there.
|
|
121
|
-
*
|
|
122
|
-
* which an app rewords once in its catalog.
|
|
120
|
+
* state, and a toggle row's `aria-pressed` is the other half there. Falls back to
|
|
121
|
+
* `chartLegend.hidden`, then `'hidden'`.
|
|
123
122
|
*/
|
|
124
|
-
|
|
123
|
+
readonly hiddenLabel: import("@angular/core").InputSignal<string | null>;
|
|
124
|
+
protected readonly resolvedHiddenLabel: import("@angular/core").Signal<string>;
|
|
125
125
|
protected readonly label: import("@angular/core").Signal<string | null>;
|
|
126
126
|
private readonly block;
|
|
127
127
|
private readonly hidden;
|
|
@@ -155,6 +155,11 @@ export declare class WrChartLegend {
|
|
|
155
155
|
"required": false;
|
|
156
156
|
"isSignal": true;
|
|
157
157
|
};
|
|
158
|
+
"hiddenLabel": {
|
|
159
|
+
"alias": "hiddenLabel";
|
|
160
|
+
"required": false;
|
|
161
|
+
"isSignal": true;
|
|
162
|
+
};
|
|
158
163
|
}, {
|
|
159
164
|
"hiddenSeries": "hiddenSeriesChange";
|
|
160
165
|
"toggled": "toggled";
|
|
@@ -77,7 +77,10 @@ export declare class WrLineChartHarness extends ComponentHarness {
|
|
|
77
77
|
* legend row and draws no line — the legend harness's `getHidden()` names those.
|
|
78
78
|
*/
|
|
79
79
|
getLineCount(): Promise<number>;
|
|
80
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* How many point dots were drawn across every series (`showDots`). A series draws its
|
|
82
|
+
* dots as one path with a subpath each, so this counts subpaths, not elements.
|
|
83
|
+
*/
|
|
81
84
|
getDotCount(): Promise<number>;
|
|
82
85
|
/**
|
|
83
86
|
* Whether the chart is in area mode (`showArea`), read off its
|
|
@@ -273,17 +273,20 @@ export declare class WrLineChart {
|
|
|
273
273
|
*/
|
|
274
274
|
protected pathFor(values: readonly (number | null)[]): string;
|
|
275
275
|
/**
|
|
276
|
-
* Every series shown as the template draws it: its line's path, and with `showDots`
|
|
277
|
-
*
|
|
278
|
-
* moving the pointer from x to x, which re-renders the hover
|
|
276
|
+
* Every series shown as the template draws it: its line's path, and with `showDots` one
|
|
277
|
+
* path holding a subpath per dot, empty when there is none to draw. Built once per change
|
|
278
|
+
* to the data or the axis, so moving the pointer from x to x, which re-renders the hover
|
|
279
|
+
* layer, rebuilds no path.
|
|
279
280
|
*/
|
|
280
281
|
protected readonly drawn: import("@angular/core").Signal<{
|
|
281
282
|
index: number;
|
|
282
283
|
color: string;
|
|
283
284
|
dash: string;
|
|
284
285
|
d: string;
|
|
285
|
-
dots:
|
|
286
|
+
dots: string;
|
|
286
287
|
}[]>;
|
|
288
|
+
/** A series' dots as one path, a subpath each. A hole in the data gets none. */
|
|
289
|
+
private dotsFor;
|
|
287
290
|
/**
|
|
288
291
|
* The fills under the lines with `showArea`: one per unbroken run of two points or
|
|
289
292
|
* more, from the line down to zero, or down to the top of the band below under
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
|
|
2
|
+
import { WrColorPickerSize } from "ngwr/color-picker";
|
|
2
3
|
import { WrSegmentedHarness } from "ngwr/segmented/testing";
|
|
3
4
|
/** Which set of numeric fields the picker is showing. */
|
|
4
5
|
type WrColorPickerTab = 'hex' | 'rgb' | 'hsl';
|
|
@@ -164,16 +165,26 @@ export declare class WrColorPickerHarness extends ComponentHarness {
|
|
|
164
165
|
* same signal.
|
|
165
166
|
*/
|
|
166
167
|
isDisabled(): Promise<boolean>;
|
|
167
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* The preset colours offered under the fields: the string the consumer passed, or
|
|
170
|
+
* the `value` of a named preset.
|
|
171
|
+
*/
|
|
168
172
|
getSwatches(): Promise<string[]>;
|
|
173
|
+
/**
|
|
174
|
+
* What each preset button announces, in order: the `label` of a named preset, and
|
|
175
|
+
* the colour string itself for a bare one.
|
|
176
|
+
*/
|
|
177
|
+
getSwatchLabels(): Promise<string[]>;
|
|
169
178
|
/**
|
|
170
179
|
* Click a preset.
|
|
171
180
|
*
|
|
172
|
-
* Matched on the string the consumer passed,
|
|
173
|
-
*
|
|
174
|
-
*
|
|
181
|
+
* Matched on the colour string the consumer passed, or on a named preset's label —
|
|
182
|
+
* the rendered background is a CSS colour and would come back normalised and
|
|
183
|
+
* alpha-stripped. Throws when nothing matches, naming what is offered.
|
|
175
184
|
*/
|
|
176
185
|
pickSwatch(color: string): Promise<void>;
|
|
186
|
+
/** The panel size. `'md'` is the default and paints no modifier of its own. */
|
|
187
|
+
getSize(): Promise<WrColorPickerSize>;
|
|
177
188
|
/**
|
|
178
189
|
* Where the three thumbs sit, in percent along their surfaces.
|
|
179
190
|
*
|