ngwr 16.1.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 +108 -1
- package/dropdown/styles/_index.scss +40 -10
- 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 +48 -4
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker.mjs +492 -75
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp-testing.mjs.map +1 -1
- package/fesm2022/ngwr-date-stamp.mjs +76 -12
- package/fesm2022/ngwr-date-stamp.mjs.map +1 -1
- package/fesm2022/ngwr-date.mjs +144 -12
- 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 +48 -5
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown.mjs +407 -116
- 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 +26 -6
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +26 -6
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +26 -6
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +26 -6
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +26 -6
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +26 -6
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +26 -6
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +26 -6
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +26 -6
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +26 -6
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +26 -6
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +26 -6
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +26 -6
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +26 -6
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +26 -6
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +26 -6
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +26 -6
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +26 -6
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +26 -6
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +26 -6
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +26 -6
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +26 -6
- 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-testing.mjs +26 -0
- package/fesm2022/ngwr-lightbox-testing.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +249 -13
- 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 +57 -33
- 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 +418 -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 +23 -0
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -1
- package/fesm2022/ngwr-slider.mjs +108 -14
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sortable-list-testing.mjs +103 -0
- package/fesm2022/ngwr-sortable-list-testing.mjs.map +1 -0
- package/fesm2022/ngwr-sortable-list.mjs +284 -63
- 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 +28 -6
- package/i18n/cs.json +28 -6
- package/i18n/de.json +28 -6
- package/i18n/en.json +28 -6
- package/i18n/es.json +28 -6
- package/i18n/fr.json +28 -6
- package/i18n/he.json +28 -6
- package/i18n/hi.json +28 -6
- package/i18n/id.json +28 -6
- package/i18n/it.json +28 -6
- package/i18n/ja.json +28 -6
- package/i18n/ko.json +28 -6
- package/i18n/nl.json +28 -6
- package/i18n/pl.json +28 -6
- package/i18n/pt.json +28 -6
- package/i18n/ru.json +28 -6
- package/i18n/sv.json +28 -6
- package/i18n/tr.json +28 -6
- package/i18n/uk.json +28 -6
- package/i18n/vi.json +28 -6
- package/i18n/zh-TW.json +28 -6
- package/i18n/zh.json +28 -6
- package/input/styles/_index.scss +68 -1
- package/input-otp/styles/_index.scss +14 -0
- package/lightbox/styles/_rules.scss +96 -0
- package/llms-full.txt +61 -25
- package/llms.txt +12 -0
- package/overlay/styles/_arrow.scss +4 -4
- package/package.json +37 -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 +5 -0
- package/select/styles/_index.scss +114 -22
- package/skills/ngwr/SKILL.md +1 -1
- package/skills/ngwr/references/catalog.md +11 -2
- package/slider/styles/_index.scss +128 -0
- package/sortable-list/styles/_rules.scss +23 -1
- 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 +40 -8
- package/types/ngwr-date-picker.d.ts +178 -10
- package/types/ngwr-date-stamp-testing.d.ts +1 -1
- package/types/ngwr-date-stamp.d.ts +53 -7
- package/types/ngwr-date.d.ts +188 -15
- package/types/ngwr-drawer.d.ts +9 -0
- package/types/ngwr-dropdown-testing.d.ts +73 -5
- package/types/ngwr-dropdown.d.ts +124 -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-lightbox-testing.d.ts +27 -0
- package/types/ngwr-lightbox.d.ts +71 -6
- package/types/ngwr-overlay.d.ts +84 -5
- package/types/ngwr-pipes.d.ts +34 -13
- 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 +10 -1
- package/types/ngwr-slider.d.ts +109 -3
- package/types/ngwr-sortable-list-testing.d.ts +79 -0
- package/types/ngwr-sortable-list.d.ts +119 -10
- 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
|
@@ -52,7 +52,7 @@ var WrKbd = class WrKbd {
|
|
|
52
52
|
}
|
|
53
53
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
54
54
|
minVersion: "12.0.0",
|
|
55
|
-
version: "22.2.
|
|
55
|
+
version: "22.2.6",
|
|
56
56
|
ngImport: i0,
|
|
57
57
|
type: WrKbd,
|
|
58
58
|
deps: [],
|
|
@@ -60,7 +60,7 @@ var WrKbd = class WrKbd {
|
|
|
60
60
|
});
|
|
61
61
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
62
62
|
minVersion: "17.0.0",
|
|
63
|
-
version: "22.2.
|
|
63
|
+
version: "22.2.6",
|
|
64
64
|
type: WrKbd,
|
|
65
65
|
isStandalone: true,
|
|
66
66
|
selector: "wr-kbd",
|
|
@@ -92,7 +92,7 @@ var WrKbd = class WrKbd {
|
|
|
92
92
|
};
|
|
93
93
|
i0.ɵɵngDeclareClassMetadata({
|
|
94
94
|
minVersion: "12.0.0",
|
|
95
|
-
version: "22.2.
|
|
95
|
+
version: "22.2.6",
|
|
96
96
|
ngImport: i0,
|
|
97
97
|
type: WrKbd,
|
|
98
98
|
decorators: [{
|
package/fesm2022/ngwr-knob.mjs
CHANGED
|
@@ -176,7 +176,7 @@ var WrKnob = class WrKnob {
|
|
|
176
176
|
}
|
|
177
177
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
178
178
|
minVersion: "12.0.0",
|
|
179
|
-
version: "22.2.
|
|
179
|
+
version: "22.2.6",
|
|
180
180
|
ngImport: i0,
|
|
181
181
|
type: WrKnob,
|
|
182
182
|
deps: [],
|
|
@@ -184,7 +184,7 @@ var WrKnob = class WrKnob {
|
|
|
184
184
|
});
|
|
185
185
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
186
186
|
minVersion: "17.0.0",
|
|
187
|
-
version: "22.2.
|
|
187
|
+
version: "22.2.6",
|
|
188
188
|
type: WrKnob,
|
|
189
189
|
isStandalone: true,
|
|
190
190
|
selector: "wr-knob",
|
|
@@ -303,7 +303,7 @@ var WrKnob = class WrKnob {
|
|
|
303
303
|
};
|
|
304
304
|
i0.ɵɵngDeclareClassMetadata({
|
|
305
305
|
minVersion: "12.0.0",
|
|
306
|
-
version: "22.2.
|
|
306
|
+
version: "22.2.6",
|
|
307
307
|
ngImport: i0,
|
|
308
308
|
type: WrKnob,
|
|
309
309
|
decorators: [{
|
package/fesm2022/ngwr-layout.mjs
CHANGED
|
@@ -40,7 +40,7 @@ var WrLayoutSider = class WrLayoutSider {
|
|
|
40
40
|
}
|
|
41
41
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
42
42
|
minVersion: "12.0.0",
|
|
43
|
-
version: "22.2.
|
|
43
|
+
version: "22.2.6",
|
|
44
44
|
ngImport: i0,
|
|
45
45
|
type: WrLayoutSider,
|
|
46
46
|
deps: [],
|
|
@@ -48,7 +48,7 @@ var WrLayoutSider = class WrLayoutSider {
|
|
|
48
48
|
});
|
|
49
49
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
50
50
|
minVersion: "17.1.0",
|
|
51
|
-
version: "22.2.
|
|
51
|
+
version: "22.2.6",
|
|
52
52
|
type: WrLayoutSider,
|
|
53
53
|
isStandalone: true,
|
|
54
54
|
selector: "wr-layout-sider",
|
|
@@ -102,7 +102,7 @@ var WrLayoutSider = class WrLayoutSider {
|
|
|
102
102
|
};
|
|
103
103
|
i0.ɵɵngDeclareClassMetadata({
|
|
104
104
|
minVersion: "12.0.0",
|
|
105
|
-
version: "22.2.
|
|
105
|
+
version: "22.2.6",
|
|
106
106
|
ngImport: i0,
|
|
107
107
|
type: WrLayoutSider,
|
|
108
108
|
decorators: [{
|
|
@@ -180,7 +180,7 @@ var WrLayout = class WrLayout {
|
|
|
180
180
|
}, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
|
|
181
181
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
182
182
|
minVersion: "12.0.0",
|
|
183
|
-
version: "22.2.
|
|
183
|
+
version: "22.2.6",
|
|
184
184
|
ngImport: i0,
|
|
185
185
|
type: WrLayout,
|
|
186
186
|
deps: [],
|
|
@@ -188,7 +188,7 @@ var WrLayout = class WrLayout {
|
|
|
188
188
|
});
|
|
189
189
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
190
190
|
minVersion: "17.2.0",
|
|
191
|
-
version: "22.2.
|
|
191
|
+
version: "22.2.6",
|
|
192
192
|
type: WrLayout,
|
|
193
193
|
isStandalone: true,
|
|
194
194
|
selector: "wr-layout",
|
|
@@ -209,7 +209,7 @@ var WrLayout = class WrLayout {
|
|
|
209
209
|
};
|
|
210
210
|
i0.ɵɵngDeclareClassMetadata({
|
|
211
211
|
minVersion: "12.0.0",
|
|
212
|
-
version: "22.2.
|
|
212
|
+
version: "22.2.6",
|
|
213
213
|
ngImport: i0,
|
|
214
214
|
type: WrLayout,
|
|
215
215
|
decorators: [{
|
|
@@ -242,7 +242,7 @@ var WrLayoutHeader = class WrLayoutHeader {
|
|
|
242
242
|
}
|
|
243
243
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
244
244
|
minVersion: "12.0.0",
|
|
245
|
-
version: "22.2.
|
|
245
|
+
version: "22.2.6",
|
|
246
246
|
ngImport: i0,
|
|
247
247
|
type: WrLayoutHeader,
|
|
248
248
|
deps: [],
|
|
@@ -250,7 +250,7 @@ var WrLayoutHeader = class WrLayoutHeader {
|
|
|
250
250
|
});
|
|
251
251
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
252
252
|
minVersion: "14.0.0",
|
|
253
|
-
version: "22.2.
|
|
253
|
+
version: "22.2.6",
|
|
254
254
|
type: WrLayoutHeader,
|
|
255
255
|
isStandalone: true,
|
|
256
256
|
selector: "wr-layout-header",
|
|
@@ -266,7 +266,7 @@ var WrLayoutHeader = class WrLayoutHeader {
|
|
|
266
266
|
};
|
|
267
267
|
i0.ɵɵngDeclareClassMetadata({
|
|
268
268
|
minVersion: "12.0.0",
|
|
269
|
-
version: "22.2.
|
|
269
|
+
version: "22.2.6",
|
|
270
270
|
ngImport: i0,
|
|
271
271
|
type: WrLayoutHeader,
|
|
272
272
|
decorators: [{
|
|
@@ -295,7 +295,7 @@ var WrLayoutContent = class WrLayoutContent {
|
|
|
295
295
|
}
|
|
296
296
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
297
297
|
minVersion: "12.0.0",
|
|
298
|
-
version: "22.2.
|
|
298
|
+
version: "22.2.6",
|
|
299
299
|
ngImport: i0,
|
|
300
300
|
type: WrLayoutContent,
|
|
301
301
|
deps: [],
|
|
@@ -303,7 +303,7 @@ var WrLayoutContent = class WrLayoutContent {
|
|
|
303
303
|
});
|
|
304
304
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
305
305
|
minVersion: "14.0.0",
|
|
306
|
-
version: "22.2.
|
|
306
|
+
version: "22.2.6",
|
|
307
307
|
type: WrLayoutContent,
|
|
308
308
|
isStandalone: true,
|
|
309
309
|
selector: "wr-layout-content",
|
|
@@ -319,7 +319,7 @@ var WrLayoutContent = class WrLayoutContent {
|
|
|
319
319
|
};
|
|
320
320
|
i0.ɵɵngDeclareClassMetadata({
|
|
321
321
|
minVersion: "12.0.0",
|
|
322
|
-
version: "22.2.
|
|
322
|
+
version: "22.2.6",
|
|
323
323
|
ngImport: i0,
|
|
324
324
|
type: WrLayoutContent,
|
|
325
325
|
decorators: [{
|
|
@@ -348,7 +348,7 @@ var WrLayoutFooter = class WrLayoutFooter {
|
|
|
348
348
|
}
|
|
349
349
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
350
350
|
minVersion: "12.0.0",
|
|
351
|
-
version: "22.2.
|
|
351
|
+
version: "22.2.6",
|
|
352
352
|
ngImport: i0,
|
|
353
353
|
type: WrLayoutFooter,
|
|
354
354
|
deps: [],
|
|
@@ -356,7 +356,7 @@ var WrLayoutFooter = class WrLayoutFooter {
|
|
|
356
356
|
});
|
|
357
357
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
358
358
|
minVersion: "14.0.0",
|
|
359
|
-
version: "22.2.
|
|
359
|
+
version: "22.2.6",
|
|
360
360
|
type: WrLayoutFooter,
|
|
361
361
|
isStandalone: true,
|
|
362
362
|
selector: "wr-layout-footer",
|
|
@@ -372,7 +372,7 @@ var WrLayoutFooter = class WrLayoutFooter {
|
|
|
372
372
|
};
|
|
373
373
|
i0.ɵɵngDeclareClassMetadata({
|
|
374
374
|
minVersion: "12.0.0",
|
|
375
|
-
version: "22.2.
|
|
375
|
+
version: "22.2.6",
|
|
376
376
|
ngImport: i0,
|
|
377
377
|
type: WrLayoutFooter,
|
|
378
378
|
decorators: [{
|
|
@@ -50,6 +50,26 @@ var WrLightboxHarness = class WrLightboxHarness extends ComponentHarness {
|
|
|
50
50
|
async getFullSrc() {
|
|
51
51
|
return (await this.viewerPart(".wr-lightbox-viewer__full", "getFullSrc")).getProperty("src");
|
|
52
52
|
}
|
|
53
|
+
async getCurrentSrc() {
|
|
54
|
+
return this.getFullSrc();
|
|
55
|
+
}
|
|
56
|
+
async next() {
|
|
57
|
+
await (await this.navButton("next", "next")).click();
|
|
58
|
+
}
|
|
59
|
+
async previous() {
|
|
60
|
+
await (await this.navButton("previous", "previous")).click();
|
|
61
|
+
}
|
|
62
|
+
async isNextDisabled() {
|
|
63
|
+
return await (await this.navButton("next", "isNextDisabled")).getAttribute("aria-disabled") === "true";
|
|
64
|
+
}
|
|
65
|
+
async isPreviousDisabled() {
|
|
66
|
+
return await (await this.navButton("previous", "isPreviousDisabled")).getAttribute("aria-disabled") === "true";
|
|
67
|
+
}
|
|
68
|
+
async getCounter() {
|
|
69
|
+
const id = await (await this.requireViewer("getCounter")).getAttribute("id");
|
|
70
|
+
const counter = await this.documentRootLocatorFactory().locatorForOptional(`#${id} .wr-lightbox-viewer__counter`)();
|
|
71
|
+
return counter ? counter.text() : null;
|
|
72
|
+
}
|
|
53
73
|
async getCaption() {
|
|
54
74
|
await this.requireViewer("getCaption");
|
|
55
75
|
return this.readCaption();
|
|
@@ -90,6 +110,12 @@ var WrLightboxHarness = class WrLightboxHarness extends ComponentHarness {
|
|
|
90
110
|
if (!viewer) throw new Error(`WrLightboxHarness.${method}(): the viewer is not open. It is an overlay created on open and disposed on close, so there is nothing to read while the lightbox is shut — call open() first.`);
|
|
91
111
|
return viewer;
|
|
92
112
|
}
|
|
113
|
+
async navButton(side, method) {
|
|
114
|
+
const id = await (await this.requireViewer(method)).getAttribute("id");
|
|
115
|
+
const button = await this.documentRootLocatorFactory().locatorForOptional(`#${id} .wr-lightbox-viewer__nav--${side}`)();
|
|
116
|
+
if (!button) throw new Error(`WrLightboxHarness.${method}(): this lightbox is not in a gallery, so the viewer has no ${side} button. It needs a \`group\` shared with at least one other lightbox that can open.`);
|
|
117
|
+
return button;
|
|
118
|
+
}
|
|
93
119
|
async viewerPart(selector, method) {
|
|
94
120
|
const id = await (await this.requireViewer(method)).getAttribute("id");
|
|
95
121
|
const part = await this.documentRootLocatorFactory().locatorForOptional(`#${id} ${selector}`)();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngwr-lightbox-testing.mjs","names":[],"sources":["../../../projects/lib/lightbox/testing/wr-lightbox-harness.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { ComponentHarness, HarnessPredicate, TestKey, type TestElement } from '@angular/cdk/testing';\n\nimport type { WrLightboxHarnessFilters } from './types';\n\n/**\n * Test harness for `<wr-lightbox>` — the thumbnail, and the full-size viewer it\n * opens.\n *\n * The thumbnail is an element in your fixture and the viewer is a portal in the NGWR\n * overlay container, so this is loaded from the normal fixture loader and reaches\n * across for you — scoped by the id the trigger publishes as `aria-controls`, never\n * by `.wr-lightbox-viewer`, which would answer with whichever lightbox opened first.\n *\n * **A closed lightbox has no viewer at all**, unlike the collapse or the speed dial:\n * the overlay is created on open and disposed on close, so every viewer read here\n * throws while it is shut rather than answering about a stale element.\n *\n * **`disablePreview` removes the button, not just its behaviour.** The thumbnail is\n * then a bare `<img>` with nothing to click and nothing in the tab order, which is\n * why {@link isInteractive} exists and why {@link open} explains itself rather than\n * timing out on a missing element.\n *\n * @example\n * ```ts\n * const lightbox = await loader.getHarness(WrLightboxHarness.with({ alt: 'Mountain' }));\n *\n * await lightbox.open();\n * expect(await lightbox.getFullSrc()).toBe('/photo.jpg');\n *\n * await lightbox.sendEscape();\n * expect(await lightbox.isOpen()).toBe(false);\n * ```\n *\n * @see https://ngwr.dev/guides/testing\n */\nexport class WrLightboxHarness extends ComponentHarness {\n static hostSelector = 'wr-lightbox';\n\n /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */\n static with(options: WrLightboxHarnessFilters = {}): HarnessPredicate<WrLightboxHarness> {\n return new HarnessPredicate(WrLightboxHarness, options)\n .addOption('alt', options.alt, (harness, alt) => HarnessPredicate.stringMatches(harness.getAlt(), alt))\n .addOption('caption', options.caption, (harness, caption) =>\n HarnessPredicate.stringMatches(harness.readCaption(), caption)\n )\n .addOption('open', options.open, async (harness, open) => (await harness.isOpen()) === open);\n }\n\n private readonly thumb = this.locatorFor('.wr-lightbox__thumb');\n private readonly trigger = this.locatorForOptional('.wr-lightbox__trigger');\n\n /**\n * Whether the viewer is open, from the host's own modifier.\n *\n * The class rather than the overlay, because it is the answer that holds for a\n * harness you are HOLDING: the viewer is disposed on close, and a query for it\n * cannot tell \"shut\" apart from \"never opened\".\n */\n async isOpen(): Promise<boolean> {\n return (await this.host()).hasClass('wr-lightbox--open');\n }\n\n /**\n * Whether the thumbnail has settled — loaded OR failed.\n *\n * A failure counts on purpose: the loading state animates a shimmer and hides the\n * image, so a broken `src` with no error path would shimmer for ever instead of\n * falling back to its alt text. The two cases are deliberately not separated here,\n * because the DOM does not separate them either.\n */\n async isLoading(): Promise<boolean> {\n return (await this.host()).hasClass('wr-lightbox--loading');\n }\n\n /** The thumbnail's alt text — the same string the viewer takes its name from. */\n async getAlt(): Promise<string> {\n return (await this.thumb()).getProperty<string>('alt');\n }\n\n /**\n * What the THUMBNAIL is showing: `preview` when one was given, `src` otherwise.\n *\n * Worth its own method because the two images are different files by design — a\n * grid of thumbnails should not pull full-size originals — and because the\n * thumbnail never swaps to `src` later. Compare with {@link getFullSrc}.\n */\n async getThumbSrc(): Promise<string> {\n return (await this.thumb()).getProperty<string>('src');\n }\n\n /** Whether the thumbnail can be clicked open at all (`disablePreview` off). */\n async isInteractive(): Promise<boolean> {\n return (await this.trigger()) !== null;\n }\n\n /** The trigger's accessible name — falls back to the alt text, then to the catalog. */\n async getOpenLabel(): Promise<string | null> {\n const trigger = await this.trigger();\n return trigger ? trigger.getAttribute('aria-label') : null;\n }\n\n /** Open the viewer. An already-open one is left alone; a non-interactive one throws. */\n async open(): Promise<void> {\n if (await this.isOpen()) return;\n\n const trigger = await this.trigger();\n if (!trigger) {\n throw new Error(\n 'WrLightboxHarness.open(): this lightbox has `disablePreview` set, so there is no trigger — the ' +\n 'thumbnail renders as a bare <img> with nothing to click and nothing in the tab order.'\n );\n }\n await trigger.click();\n }\n\n /** Close the viewer through its ✕ button. An already-closed one is left alone. */\n async close(): Promise<void> {\n if (!(await this.isOpen())) return;\n await (await this.viewerPart('.wr-lightbox-viewer__close', 'close')).click();\n }\n\n /**\n * Click the full image — which closes the viewer.\n *\n * It looks like decoration and is not: the image is styled `cursor: zoom-out`, and\n * that is a promise. It is deliberately NOT in the tab order, since the ✕ button,\n * Escape, the backdrop and a swipe all do the same thing and all reach a keyboard —\n * so this is a mouse affordance, and the only way to assert it still works.\n */\n async clickImage(): Promise<void> {\n await (await this.viewerPart('.wr-lightbox-viewer__full', 'clickImage')).click();\n }\n\n /**\n * Press Escape.\n *\n * Sent to the viewer, though it would arrive from anywhere: the overlay is fed by\n * the CDK's keyboard dispatcher, which keeps one document listener and routes to\n * the top-most overlay.\n */\n async sendEscape(): Promise<void> {\n await (await this.requireViewer('sendEscape')).sendKeys(TestKey.ESCAPE);\n }\n\n /** The full-size image's `src`. Throws while the viewer is closed. */\n async getFullSrc(): Promise<string> {\n return (await this.viewerPart('.wr-lightbox-viewer__full', 'getFullSrc')).getProperty<string>('src');\n }\n\n /** The caption under the full image, or `null` when there is none. Throws while closed. */\n async getCaption(): Promise<string | null> {\n await this.requireViewer('getCaption');\n return this.readCaption();\n }\n\n /** The name the viewer dialog announces — its alt text, or the catalog's fallback. */\n async getViewerLabel(): Promise<string | null> {\n return (await this.requireViewer('getViewerLabel')).getAttribute('aria-label');\n }\n\n /** The ✕ button's accessible name. Throws while the viewer is closed. */\n async getCloseLabel(): Promise<string | null> {\n return (await this.viewerPart('.wr-lightbox-viewer__close', 'getCloseLabel')).getAttribute('aria-label');\n }\n\n /** Whether the viewer announces itself as a modal dialog. */\n async isModal(): Promise<boolean> {\n const viewer = await this.requireViewer('isModal');\n return (await viewer.getAttribute('role')) === 'dialog' && (await viewer.getAttribute('aria-modal')) === 'true';\n }\n\n /**\n * Whether focus is inside the viewer, where the trap should be holding it.\n *\n * `role=\"dialog\"` with `aria-modal` promises the page behind is out of reach, and a\n * missing trap makes that a lie — Tab walks straight through the backdrop. Note\n * that in a unit test the trap needs elements with a box to find anything tabbable,\n * so a spec asserting this has to hand the DOM some dimensions first.\n */\n async isFocusTrapped(): Promise<boolean> {\n return (await this.requireViewer('isFocusTrapped')).matchesSelector(':focus-within');\n }\n\n /**\n * Whether the trigger's `aria-controls` names THIS lightbox's viewer, and nothing\n * else on the page.\n *\n * The reference only exists while the viewer does — an id naming an element that is\n * not in the document is not a pairing, it is a dangling reference — so this is\n * `false` for a closed lightbox by construction. Counted across the document too,\n * because two viewers answering to one id hand every reference to the first.\n */\n async isViewerBound(): Promise<boolean> {\n const id = await this.viewerId();\n if (!id) return false;\n\n const matches = await this.documentRootLocatorFactory().locatorForAll(`.wr-lightbox-viewer#${id}`)();\n const everywhere = await this.documentRootLocatorFactory().locatorForAll(`[id=\"${id}\"]`)();\n return matches.length === 1 && everywhere.length === 1;\n }\n\n /** The caption without the open check — for filters, which must not throw. */\n private async readCaption(): Promise<string | null> {\n const id = await this.viewerId();\n if (!id) return null;\n\n const caption = await this.documentRootLocatorFactory().locatorForOptional(`#${id} .wr-lightbox-viewer__caption`)();\n return caption ? caption.text() : null;\n }\n\n /** The id the trigger currently points at, or `null` while the viewer is closed. */\n private async viewerId(): Promise<string | null> {\n const trigger = await this.trigger();\n return trigger ? trigger.getAttribute('aria-controls') : null;\n }\n\n private async requireViewer(method: string): Promise<TestElement> {\n const id = await this.viewerId();\n const viewer = id\n ? await this.documentRootLocatorFactory().locatorForOptional(`.wr-lightbox-viewer#${id}`)()\n : null;\n\n if (!viewer) {\n throw new Error(\n `WrLightboxHarness.${method}(): the viewer is not open. It is an overlay created on open and disposed ` +\n 'on close, so there is nothing to read while the lightbox is shut — call open() first.'\n );\n }\n return viewer;\n }\n\n private async viewerPart(selector: string, method: string): Promise<TestElement> {\n const viewer = await this.requireViewer(method);\n const id = await viewer.getAttribute('id');\n\n const part = await this.documentRootLocatorFactory().locatorForOptional(`#${id} ${selector}`)();\n if (!part) {\n throw new Error(`WrLightboxHarness.${method}(): the viewer has no \\`${selector}\\` element.`);\n }\n return part;\n }\n}\n"],"mappings":";;;;;;;AA0CA,IAAa,oBAAb,MAAa,0BAA0B,iBAAgB;CACrD,OAAO,eAAe;CAGtB,OAAO,KAAK,UAAoC,CAAA,GAAE;EAChD,OAAO,IAAI,iBAAiB,mBAAmB,OAAO,CAAC,CACpD,UAAU,OAAO,QAAQ,MAAM,SAAS,QAAQ,iBAAiB,cAAc,QAAQ,OAAM,GAAI,GAAG,CAAC,CAAC,CACtG,UAAU,WAAW,Q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,MAAM,KAAK,MAAM,KAAK,SAAQ;EAC9B,MAAM,SAAS,KACX,MAAM,KAAK,2BAA0B,CAAE,CAAC,mBAAmB,uBAAuB,IAAI,CAAC,CAAA,IACvF;EAEJ,IAAI,CAAC,QACH,MAAM,IAAI,MACR,qBAAqB,OAAM,gKAC8D;EAG7F,OAAO;CACT;CAEQ,MAAM,WAAW,UAAkB,QAAc;EAEvD,MAAM,KAAK,OAAM,MADI,KAAK,cAAc,MAAM,EAC7B,CAAO,aAAa,IAAI;EAEzC,MAAM,OAAO,MAAM,KAAK,2BAA0B,CAAE,CAAC,mBAAmB,IAAI,GAAE,GAAI,UAAU,CAAC,CAAA;EAC7F,IAAI,CAAC,MACH,MAAM,IAAI,MAAM,qBAAqB,OAAM,0BAA2B,SAAQ,YAAa;EAE7F,OAAO;CACT"}
|
|
1
|
+
{"version":3,"file":"ngwr-lightbox-testing.mjs","names":[],"sources":["../../../projects/lib/lightbox/testing/wr-lightbox-harness.ts"],"sourcesContent":["/**\n * @license\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE\n */\n\nimport { ComponentHarness, HarnessPredicate, TestKey, type TestElement } from '@angular/cdk/testing';\n\nimport type { WrLightboxHarnessFilters } from './types';\n\n/**\n * Test harness for `<wr-lightbox>` — the thumbnail, and the full-size viewer it\n * opens.\n *\n * The thumbnail is an element in your fixture and the viewer is a portal in the NGWR\n * overlay container, so this is loaded from the normal fixture loader and reaches\n * across for you — scoped by the id the trigger publishes as `aria-controls`, never\n * by `.wr-lightbox-viewer`, which would answer with whichever lightbox opened first.\n *\n * **A closed lightbox has no viewer at all**, unlike the collapse or the speed dial:\n * the overlay is created on open and disposed on close, so every viewer read here\n * throws while it is shut rather than answering about a stale element.\n *\n * **`disablePreview` removes the button, not just its behaviour.** The thumbnail is\n * then a bare `<img>` with nothing to click and nothing in the tab order, which is\n * why {@link isInteractive} exists and why {@link open} explains itself rather than\n * timing out on a missing element.\n *\n * @example\n * ```ts\n * const lightbox = await loader.getHarness(WrLightboxHarness.with({ alt: 'Mountain' }));\n *\n * await lightbox.open();\n * expect(await lightbox.getFullSrc()).toBe('/photo.jpg');\n *\n * await lightbox.sendEscape();\n * expect(await lightbox.isOpen()).toBe(false);\n * ```\n *\n * @see https://ngwr.dev/guides/testing\n */\nexport class WrLightboxHarness extends ComponentHarness {\n static hostSelector = 'wr-lightbox';\n\n /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */\n static with(options: WrLightboxHarnessFilters = {}): HarnessPredicate<WrLightboxHarness> {\n return new HarnessPredicate(WrLightboxHarness, options)\n .addOption('alt', options.alt, (harness, alt) => HarnessPredicate.stringMatches(harness.getAlt(), alt))\n .addOption('caption', options.caption, (harness, caption) =>\n HarnessPredicate.stringMatches(harness.readCaption(), caption)\n )\n .addOption('open', options.open, async (harness, open) => (await harness.isOpen()) === open);\n }\n\n private readonly thumb = this.locatorFor('.wr-lightbox__thumb');\n private readonly trigger = this.locatorForOptional('.wr-lightbox__trigger');\n\n /**\n * Whether the viewer is open, from the host's own modifier.\n *\n * The class rather than the overlay, because it is the answer that holds for a\n * harness you are HOLDING: the viewer is disposed on close, and a query for it\n * cannot tell \"shut\" apart from \"never opened\".\n */\n async isOpen(): Promise<boolean> {\n return (await this.host()).hasClass('wr-lightbox--open');\n }\n\n /**\n * Whether the thumbnail has settled — loaded OR failed.\n *\n * A failure counts on purpose: the loading state animates a shimmer and hides the\n * image, so a broken `src` with no error path would shimmer for ever instead of\n * falling back to its alt text. The two cases are deliberately not separated here,\n * because the DOM does not separate them either.\n */\n async isLoading(): Promise<boolean> {\n return (await this.host()).hasClass('wr-lightbox--loading');\n }\n\n /** The thumbnail's alt text — the same string the viewer takes its name from. */\n async getAlt(): Promise<string> {\n return (await this.thumb()).getProperty<string>('alt');\n }\n\n /**\n * What the THUMBNAIL is showing: `preview` when one was given, `src` otherwise.\n *\n * Worth its own method because the two images are different files by design — a\n * grid of thumbnails should not pull full-size originals — and because the\n * thumbnail never swaps to `src` later. Compare with {@link getFullSrc}.\n */\n async getThumbSrc(): Promise<string> {\n return (await this.thumb()).getProperty<string>('src');\n }\n\n /** Whether the thumbnail can be clicked open at all (`disablePreview` off). */\n async isInteractive(): Promise<boolean> {\n return (await this.trigger()) !== null;\n }\n\n /** The trigger's accessible name — falls back to the alt text, then to the catalog. */\n async getOpenLabel(): Promise<string | null> {\n const trigger = await this.trigger();\n return trigger ? trigger.getAttribute('aria-label') : null;\n }\n\n /** Open the viewer. An already-open one is left alone; a non-interactive one throws. */\n async open(): Promise<void> {\n if (await this.isOpen()) return;\n\n const trigger = await this.trigger();\n if (!trigger) {\n throw new Error(\n 'WrLightboxHarness.open(): this lightbox has `disablePreview` set, so there is no trigger — the ' +\n 'thumbnail renders as a bare <img> with nothing to click and nothing in the tab order.'\n );\n }\n await trigger.click();\n }\n\n /** Close the viewer through its ✕ button. An already-closed one is left alone. */\n async close(): Promise<void> {\n if (!(await this.isOpen())) return;\n await (await this.viewerPart('.wr-lightbox-viewer__close', 'close')).click();\n }\n\n /**\n * Click the full image — which closes the viewer.\n *\n * It looks like decoration and is not: the image is styled `cursor: zoom-out`, and\n * that is a promise. It is deliberately NOT in the tab order, since the ✕ button,\n * Escape, the backdrop and a swipe all do the same thing and all reach a keyboard —\n * so this is a mouse affordance, and the only way to assert it still works.\n */\n async clickImage(): Promise<void> {\n await (await this.viewerPart('.wr-lightbox-viewer__full', 'clickImage')).click();\n }\n\n /**\n * Press Escape.\n *\n * Sent to the viewer, though it would arrive from anywhere: the overlay is fed by\n * the CDK's keyboard dispatcher, which keeps one document listener and routes to\n * the top-most overlay.\n */\n async sendEscape(): Promise<void> {\n await (await this.requireViewer('sendEscape')).sendKeys(TestKey.ESCAPE);\n }\n\n /** The full-size image's `src`. Throws while the viewer is closed. */\n async getFullSrc(): Promise<string> {\n return (await this.viewerPart('.wr-lightbox-viewer__full', 'getFullSrc')).getProperty<string>('src');\n }\n\n /**\n * The image the viewer is showing right now.\n *\n * {@link getFullSrc} under the name a gallery spec reads better with: after\n * {@link next} it is another member's `src`, not this lightbox's own.\n */\n async getCurrentSrc(): Promise<string> {\n return this.getFullSrc();\n }\n\n /**\n * Go to the next image of the group through the viewer's button.\n *\n * At the last image without `loop` the button is `aria-disabled` and the click\n * lands on nothing — read {@link isNextDisabled} to tell the two apart. Throws on\n * a lightbox that is closed, or that has no gallery to move through.\n */\n async next(): Promise<void> {\n await (await this.navButton('next', 'next')).click();\n }\n\n /** Go to the previous image of the group. The mirror of {@link next}. */\n async previous(): Promise<void> {\n await (await this.navButton('previous', 'previous')).click();\n }\n\n /** Whether the next button reports the end of the group (`aria-disabled`). */\n async isNextDisabled(): Promise<boolean> {\n return (await (await this.navButton('next', 'isNextDisabled')).getAttribute('aria-disabled')) === 'true';\n }\n\n /** Whether the previous button reports the start of the group (`aria-disabled`). */\n async isPreviousDisabled(): Promise<boolean> {\n return (await (await this.navButton('previous', 'isPreviousDisabled')).getAttribute('aria-disabled')) === 'true';\n }\n\n /**\n * The counter as drawn, e.g. `2 / 3`, or `null` for a lightbox outside a gallery.\n * Throws while the viewer is closed.\n */\n async getCounter(): Promise<string | null> {\n const viewer = await this.requireViewer('getCounter');\n const id = await viewer.getAttribute('id');\n const counter = await this.documentRootLocatorFactory().locatorForOptional(`#${id} .wr-lightbox-viewer__counter`)();\n return counter ? counter.text() : null;\n }\n\n /** The caption under the full image, or `null` when there is none. Throws while closed. */\n async getCaption(): Promise<string | null> {\n await this.requireViewer('getCaption');\n return this.readCaption();\n }\n\n /** The name the viewer dialog announces — its alt text, or the catalog's fallback. */\n async getViewerLabel(): Promise<string | null> {\n return (await this.requireViewer('getViewerLabel')).getAttribute('aria-label');\n }\n\n /** The ✕ button's accessible name. Throws while the viewer is closed. */\n async getCloseLabel(): Promise<string | null> {\n return (await this.viewerPart('.wr-lightbox-viewer__close', 'getCloseLabel')).getAttribute('aria-label');\n }\n\n /** Whether the viewer announces itself as a modal dialog. */\n async isModal(): Promise<boolean> {\n const viewer = await this.requireViewer('isModal');\n return (await viewer.getAttribute('role')) === 'dialog' && (await viewer.getAttribute('aria-modal')) === 'true';\n }\n\n /**\n * Whether focus is inside the viewer, where the trap should be holding it.\n *\n * `role=\"dialog\"` with `aria-modal` promises the page behind is out of reach, and a\n * missing trap makes that a lie — Tab walks straight through the backdrop. Note\n * that in a unit test the trap needs elements with a box to find anything tabbable,\n * so a spec asserting this has to hand the DOM some dimensions first.\n */\n async isFocusTrapped(): Promise<boolean> {\n return (await this.requireViewer('isFocusTrapped')).matchesSelector(':focus-within');\n }\n\n /**\n * Whether the trigger's `aria-controls` names THIS lightbox's viewer, and nothing\n * else on the page.\n *\n * The reference only exists while the viewer does — an id naming an element that is\n * not in the document is not a pairing, it is a dangling reference — so this is\n * `false` for a closed lightbox by construction. Counted across the document too,\n * because two viewers answering to one id hand every reference to the first.\n */\n async isViewerBound(): Promise<boolean> {\n const id = await this.viewerId();\n if (!id) return false;\n\n const matches = await this.documentRootLocatorFactory().locatorForAll(`.wr-lightbox-viewer#${id}`)();\n const everywhere = await this.documentRootLocatorFactory().locatorForAll(`[id=\"${id}\"]`)();\n return matches.length === 1 && everywhere.length === 1;\n }\n\n /** The caption without the open check — for filters, which must not throw. */\n private async readCaption(): Promise<string | null> {\n const id = await this.viewerId();\n if (!id) return null;\n\n const caption = await this.documentRootLocatorFactory().locatorForOptional(`#${id} .wr-lightbox-viewer__caption`)();\n return caption ? caption.text() : null;\n }\n\n /** The id the trigger currently points at, or `null` while the viewer is closed. */\n private async viewerId(): Promise<string | null> {\n const trigger = await this.trigger();\n return trigger ? trigger.getAttribute('aria-controls') : null;\n }\n\n private async requireViewer(method: string): Promise<TestElement> {\n const id = await this.viewerId();\n const viewer = id\n ? await this.documentRootLocatorFactory().locatorForOptional(`.wr-lightbox-viewer#${id}`)()\n : null;\n\n if (!viewer) {\n throw new Error(\n `WrLightboxHarness.${method}(): the viewer is not open. It is an overlay created on open and disposed ` +\n 'on close, so there is nothing to read while the lightbox is shut — call open() first.'\n );\n }\n return viewer;\n }\n\n private async navButton(side: 'previous' | 'next', method: string): Promise<TestElement> {\n const viewer = await this.requireViewer(method);\n const id = await viewer.getAttribute('id');\n\n const button = await this.documentRootLocatorFactory().locatorForOptional(\n `#${id} .wr-lightbox-viewer__nav--${side}`\n )();\n if (!button) {\n throw new Error(\n `WrLightboxHarness.${method}(): this lightbox is not in a gallery, so the viewer has no ${side} button. ` +\n 'It needs a `group` shared with at least one other lightbox that can open.'\n );\n }\n return button;\n }\n\n private async viewerPart(selector: string, method: string): Promise<TestElement> {\n const viewer = await this.requireViewer(method);\n const id = await viewer.getAttribute('id');\n\n const part = await this.documentRootLocatorFactory().locatorForOptional(`#${id} ${selector}`)();\n if (!part) {\n throw new Error(`WrLightboxHarness.${method}(): the viewer has no \\`${selector}\\` element.`);\n }\n return part;\n }\n}\n"],"mappings":";;;;;;;AA0CA,IAAa,oBAAb,MAAa,0BAA0B,iBAAgB;CACrD,OAAO,eAAe;CAGtB,OAAO,KAAK,UAAoC,CAAA,GAAE;EAChD,OAAO,IAAI,iBAAiB,mBAAmB,OAAO,CAAC,CACpD,UAAU,OAAO,QAAQ,MAAM,SAAS,QAAQ,iBAAiB,cAAc,QAAQ,OAAM,GAAI,GAAG,CAAC,CAAC,CACtG,UAAU,WAAW,QAAQ,UAAU,SAAS,YAC/C,iBAAiB,cAAc,QAAQ,YAAW,GAAI,OAAO,CAAC,CAC/D,CACA,UAAU,QAAQ,QAAQ,MAAM,OAAO,SAAS,SAAU,MAAM,QAAQ,OAAM,MAAQ,IAAI;CAC/F;CAEiB,QAAQ,KAAK,WAAW,qBAAqB;CAC7C,UAAU,KAAK,mBAAmB,uBAAuB;CAS1E,MAAM,SAAM;EACV,QAAQ,MAAM,KAAK,KAAI,EAAA,CAAI,SAAS,mBAAmB;CACzD;CAUA,MAAM,YAAS;EACb,QAAQ,MAAM,KAAK,KAAI,EAAA,CAAI,SAAS,sBAAsB;CAC5D;CAG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