ngwr 16.2.0 → 16.4.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/carousel/styles/_index.scss +53 -1
- 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-testing.mjs +24 -1
- package/fesm2022/ngwr-carousel-testing.mjs.map +1 -1
- package/fesm2022/ngwr-carousel.mjs +73 -10
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader.mjs +45 -37
- 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 +28 -13
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- 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 +70 -99
- 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 +279 -16
- 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 +30 -0
- package/fesm2022/ngwr-graph-testing.mjs.map +1 -1
- package/fesm2022/ngwr-graph.mjs +664 -43
- package/fesm2022/ngwr-graph.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +6 -6
- package/fesm2022/ngwr-i18n-ar.mjs +27 -8
- package/fesm2022/ngwr-i18n-ar.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-cs.mjs +27 -8
- package/fesm2022/ngwr-i18n-cs.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-de.mjs +27 -8
- package/fesm2022/ngwr-i18n-de.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +27 -8
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-es.mjs +27 -8
- package/fesm2022/ngwr-i18n-es.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-fr.mjs +27 -8
- package/fesm2022/ngwr-i18n-fr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-he.mjs +27 -8
- package/fesm2022/ngwr-i18n-he.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-hi.mjs +27 -8
- package/fesm2022/ngwr-i18n-hi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-id.mjs +27 -8
- package/fesm2022/ngwr-i18n-id.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-it.mjs +27 -8
- package/fesm2022/ngwr-i18n-it.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ja.mjs +27 -8
- package/fesm2022/ngwr-i18n-ja.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ko.mjs +27 -8
- package/fesm2022/ngwr-i18n-ko.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-nl.mjs +27 -8
- package/fesm2022/ngwr-i18n-nl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pl.mjs +27 -8
- package/fesm2022/ngwr-i18n-pl.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-pt.mjs +27 -8
- package/fesm2022/ngwr-i18n-pt.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +27 -8
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-sv.mjs +27 -8
- package/fesm2022/ngwr-i18n-sv.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-tr.mjs +27 -8
- package/fesm2022/ngwr-i18n-tr.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-uk.mjs +27 -8
- package/fesm2022/ngwr-i18n-uk.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-vi.mjs +27 -8
- package/fesm2022/ngwr-i18n-vi.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh-tw.mjs +27 -8
- package/fesm2022/ngwr-i18n-zh-tw.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-zh.mjs +27 -8
- 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 +6 -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 +416 -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 +361 -84
- 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 +157 -3
- package/fesm2022/ngwr-table-testing.mjs.map +1 -1
- package/fesm2022/ngwr-table.mjs +1051 -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-testing.mjs +13 -1
- package/fesm2022/ngwr-tour-testing.mjs.map +1 -1
- package/fesm2022/ngwr-tour.mjs +19 -15
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- 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 +978 -79
- 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 +97 -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/graph/styles/_index.scss +87 -0
- package/i18n/ar.json +29 -8
- package/i18n/cs.json +29 -8
- package/i18n/de.json +29 -8
- package/i18n/en.json +29 -8
- package/i18n/es.json +29 -8
- package/i18n/fr.json +29 -8
- package/i18n/he.json +29 -8
- package/i18n/hi.json +29 -8
- package/i18n/id.json +29 -8
- package/i18n/it.json +29 -8
- package/i18n/ja.json +29 -8
- package/i18n/ko.json +29 -8
- package/i18n/nl.json +29 -8
- package/i18n/pl.json +29 -8
- package/i18n/pt.json +29 -8
- package/i18n/ru.json +29 -8
- package/i18n/sv.json +29 -8
- package/i18n/tr.json +29 -8
- package/i18n/uk.json +29 -8
- package/i18n/vi.json +29 -8
- package/i18n/zh-TW.json +29 -8
- package/i18n/zh.json +29 -8
- package/input/styles/_index.scss +68 -1
- package/input-otp/styles/_index.scss +14 -0
- package/llms-full.txt +53 -21
- package/llms.txt +57 -24
- 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/collection.json +5 -0
- package/schematics/eject/index.js +158 -0
- package/schematics/eject/schema.js +8 -0
- package/schematics/eject/schema.json +24 -0
- package/schematics/eject/source.js +295 -0
- package/schematics/use/rule.js +2 -0
- package/schematics/use/symbol-map.json +5 -0
- package/select/styles/_index.scss +127 -22
- package/skills/ngwr/SKILL.md +31 -4
- package/skills/ngwr/references/catalog.md +9 -1
- package/slider/styles/_index.scss +22 -0
- package/table/styles/_index.scss +191 -3
- package/textarea/styles/_index.scss +80 -0
- package/theme/styles/_focus.scss +16 -1
- 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-carousel-testing.d.ts +27 -6
- package/types/ngwr-carousel.d.ts +42 -6
- package/types/ngwr-cascader.d.ts +13 -6
- 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-context-menu.d.ts +2 -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 +26 -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 +156 -3
- package/types/ngwr-form.d.ts +47 -3
- package/types/ngwr-graph-testing.d.ts +36 -3
- package/types/ngwr-graph.d.ts +309 -13
- 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 +149 -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 +122 -7
- package/types/ngwr-table.d.ts +572 -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-tour-testing.d.ts +10 -0
- package/types/ngwr-tour.d.ts +11 -2
- 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 +335 -12
- package/types/ngwr-utils.d.ts +107 -1
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-window.d.ts +7 -4
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import { ComponentHarness, HarnessPredicate } from "@angular/cdk/testing";
|
|
2
|
+
import { WrSegmentedHarness } from "ngwr/segmented/testing";
|
|
3
|
+
import { WrTextareaHarness } from "ngwr/textarea/testing";
|
|
4
|
+
import { WrInputHarness } from "ngwr/input/testing";
|
|
5
|
+
import { WrSelectHarness } from "ngwr/select/testing";
|
|
6
|
+
import { WrCheckboxHarness } from "ngwr/checkbox/testing";
|
|
7
|
+
import { WrDatePickerHarness, WrDateRangePickerHarness } from "ngwr/date-picker/testing";
|
|
8
|
+
import { WrFileUploadHarness } from "ngwr/file-upload/testing";
|
|
9
|
+
import { WrFormFieldHarness } from "ngwr/form/testing";
|
|
10
|
+
import { WrInputNumberHarness } from "ngwr/input-number/testing";
|
|
11
|
+
import { WrRadioGroupHarness } from "ngwr/radio/testing";
|
|
12
|
+
import { WrRatingHarness } from "ngwr/rating/testing";
|
|
13
|
+
import { WrSliderHarness } from "ngwr/slider/testing";
|
|
14
|
+
import { WrSwitchHarness } from "ngwr/switch/testing";
|
|
15
|
+
/**
|
|
16
|
+
* @license
|
|
17
|
+
*
|
|
18
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
19
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
20
|
+
*/
|
|
21
|
+
const CONTROLS = [
|
|
22
|
+
[
|
|
23
|
+
"textarea",
|
|
24
|
+
"wr-textarea",
|
|
25
|
+
WrTextareaHarness
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
"number",
|
|
29
|
+
"wr-input-number",
|
|
30
|
+
WrInputNumberHarness
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
"multiselect",
|
|
34
|
+
"wr-select.wr-select--multi",
|
|
35
|
+
WrSelectHarness
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"tags",
|
|
39
|
+
"wr-select.wr-select--tag",
|
|
40
|
+
WrSelectHarness
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"select",
|
|
44
|
+
"wr-select",
|
|
45
|
+
WrSelectHarness
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
"checkbox",
|
|
49
|
+
"wr-checkbox",
|
|
50
|
+
WrCheckboxHarness
|
|
51
|
+
],
|
|
52
|
+
[
|
|
53
|
+
"switch",
|
|
54
|
+
"wr-switch",
|
|
55
|
+
WrSwitchHarness
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
"radio",
|
|
59
|
+
"wr-radio-group",
|
|
60
|
+
WrRadioGroupHarness
|
|
61
|
+
],
|
|
62
|
+
[
|
|
63
|
+
"segmented",
|
|
64
|
+
"wr-segmented",
|
|
65
|
+
WrSegmentedHarness
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
"date",
|
|
69
|
+
"wr-date-picker",
|
|
70
|
+
WrDatePickerHarness
|
|
71
|
+
],
|
|
72
|
+
[
|
|
73
|
+
"daterange",
|
|
74
|
+
"wr-date-range-picker",
|
|
75
|
+
WrDateRangePickerHarness
|
|
76
|
+
],
|
|
77
|
+
[
|
|
78
|
+
"slider",
|
|
79
|
+
"wr-slider",
|
|
80
|
+
WrSliderHarness
|
|
81
|
+
],
|
|
82
|
+
[
|
|
83
|
+
"rating",
|
|
84
|
+
"wr-rating",
|
|
85
|
+
WrRatingHarness
|
|
86
|
+
],
|
|
87
|
+
[
|
|
88
|
+
"file",
|
|
89
|
+
"wr-file-upload",
|
|
90
|
+
WrFileUploadHarness
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
"input",
|
|
94
|
+
"input[wrInput]",
|
|
95
|
+
WrInputHarness
|
|
96
|
+
]
|
|
97
|
+
];
|
|
98
|
+
var WrSchemaFormFieldHarness = class WrSchemaFormFieldHarness extends ComponentHarness {
|
|
99
|
+
static hostSelector = ".wr-schema-form__field";
|
|
100
|
+
static with(options = {}) {
|
|
101
|
+
return new HarnessPredicate(WrSchemaFormFieldHarness, options).addOption("label", options.label, (harness, label) => HarnessPredicate.stringMatches(harness.getLabel(), label)).addOption("kind", options.kind, async (harness, kind) => await harness.getKind() === kind).addOption("invalid", options.invalid, async (harness, invalid) => await harness.isInvalid() === invalid);
|
|
102
|
+
}
|
|
103
|
+
formField = this.locatorFor(WrFormFieldHarness);
|
|
104
|
+
async getLabel() {
|
|
105
|
+
const above = await (await this.formField()).getLabel();
|
|
106
|
+
if (above !== null) return above;
|
|
107
|
+
const kind = await this.getKind();
|
|
108
|
+
if (kind === "checkbox") return (await this.getControl("checkbox")).getLabel();
|
|
109
|
+
if (kind === "switch") return (await this.getControl("switch")).getLabel();
|
|
110
|
+
return "";
|
|
111
|
+
}
|
|
112
|
+
async getKind() {
|
|
113
|
+
for (const [kind, selector] of CONTROLS) if (await this.locatorForOptional(selector)()) return kind;
|
|
114
|
+
throw new Error(`WrSchemaFormFieldHarness.getKind(): the field draws no control this harness knows.`);
|
|
115
|
+
}
|
|
116
|
+
async getControl(kind) {
|
|
117
|
+
const drawn = await this.getKind();
|
|
118
|
+
if (drawn !== kind) throw new Error(`WrSchemaFormFieldHarness.getControl('${kind}'): "${await this.labelOrEmpty()}" draws a '${drawn}' control.`);
|
|
119
|
+
const query = CONTROLS.find(([each]) => each === kind)[2];
|
|
120
|
+
return await this.locatorFor(query)();
|
|
121
|
+
}
|
|
122
|
+
async getFormField() {
|
|
123
|
+
return this.formField();
|
|
124
|
+
}
|
|
125
|
+
async getHint() {
|
|
126
|
+
return (await this.formField()).getHint();
|
|
127
|
+
}
|
|
128
|
+
async isRequired() {
|
|
129
|
+
return (await this.formField()).isRequired();
|
|
130
|
+
}
|
|
131
|
+
async isInvalid() {
|
|
132
|
+
return (await this.formField()).isInvalid();
|
|
133
|
+
}
|
|
134
|
+
async getErrors() {
|
|
135
|
+
return (await this.formField()).getErrorTexts();
|
|
136
|
+
}
|
|
137
|
+
async getSpan() {
|
|
138
|
+
const style = await (await this.host()).getAttribute("style") ?? "";
|
|
139
|
+
return Number(/grid-column:\s*span\s+(\d+)/.exec(style)?.[1] ?? NaN);
|
|
140
|
+
}
|
|
141
|
+
async labelOrEmpty() {
|
|
142
|
+
return await (await this.formField()).getLabel() ?? "";
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @license
|
|
147
|
+
*
|
|
148
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
149
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
150
|
+
*/
|
|
151
|
+
var WrSchemaFormSectionHarness = class WrSchemaFormSectionHarness extends ComponentHarness {
|
|
152
|
+
static hostSelector = ".wr-schema-form__section";
|
|
153
|
+
static with(options = {}) {
|
|
154
|
+
return new HarnessPredicate(WrSchemaFormSectionHarness, options).addOption("title", options.title, (harness, title) => HarnessPredicate.stringMatches(harness.getTitle(), title));
|
|
155
|
+
}
|
|
156
|
+
async getTitle() {
|
|
157
|
+
return (await this.locatorFor(".wr-schema-form__legend")()).text();
|
|
158
|
+
}
|
|
159
|
+
async getDescription() {
|
|
160
|
+
const id = await (await this.host()).getAttribute("aria-describedby");
|
|
161
|
+
if (!id) return null;
|
|
162
|
+
const description = await this.locatorForOptional(`[id="${id}"]`)();
|
|
163
|
+
if (!description) throw new Error(`WrSchemaFormSectionHarness.getDescription(): the section's aria-describedby names "${id}", which is not an element inside it.`);
|
|
164
|
+
return description.text();
|
|
165
|
+
}
|
|
166
|
+
async getFields(filters = {}) {
|
|
167
|
+
return this.locatorForAll(WrSchemaFormFieldHarness.with(filters))();
|
|
168
|
+
}
|
|
169
|
+
async getLabels() {
|
|
170
|
+
const fields = await this.getFields();
|
|
171
|
+
return Promise.all(fields.map((field) => field.getLabel()));
|
|
172
|
+
}
|
|
173
|
+
async getColumns() {
|
|
174
|
+
const style = await (await this.locatorFor(".wr-schema-form__grid")()).getAttribute("style") ?? "";
|
|
175
|
+
return Number(/grid-template-columns:\s*repeat\(\s*(\d+)/.exec(style)?.[1] ?? NaN);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* @license
|
|
180
|
+
*
|
|
181
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
182
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
183
|
+
*/
|
|
184
|
+
var WrSchemaFormHarness = class WrSchemaFormHarness extends ComponentHarness {
|
|
185
|
+
static hostSelector = "wr-schema-form";
|
|
186
|
+
static with(options = {}) {
|
|
187
|
+
return new HarnessPredicate(WrSchemaFormHarness, options).addOption("fieldLabel", options.fieldLabel, async (harness, label) => (await harness.getFields({ label })).length > 0);
|
|
188
|
+
}
|
|
189
|
+
async getFields(filters = {}) {
|
|
190
|
+
return this.locatorForAll(WrSchemaFormFieldHarness.with(filters))();
|
|
191
|
+
}
|
|
192
|
+
async getLabels() {
|
|
193
|
+
const fields = await this.getFields();
|
|
194
|
+
return Promise.all(fields.map((field) => field.getLabel()));
|
|
195
|
+
}
|
|
196
|
+
async getField(label) {
|
|
197
|
+
const [field] = await this.getFields({ label });
|
|
198
|
+
if (!field) throw new Error(`WrSchemaFormHarness.getField(): no field is labelled ${String(label)}. A field is found by the label it draws, not by its key. This form draws: ${(await this.getLabels()).join(", ")}.`);
|
|
199
|
+
return field;
|
|
200
|
+
}
|
|
201
|
+
async getControl(label, kind) {
|
|
202
|
+
return (await this.getField(label)).getControl(kind);
|
|
203
|
+
}
|
|
204
|
+
async getErrors() {
|
|
205
|
+
const errors = await this.locatorForAll(".wr-form-field__error:not(.wr-form-field__error--hidden)")();
|
|
206
|
+
return Promise.all(errors.map((error) => error.text()));
|
|
207
|
+
}
|
|
208
|
+
async getSections(filters = {}) {
|
|
209
|
+
return this.locatorForAll(WrSchemaFormSectionHarness.with(filters))();
|
|
210
|
+
}
|
|
211
|
+
async getSection(title) {
|
|
212
|
+
const [section] = await this.getSections({ title });
|
|
213
|
+
if (!section) {
|
|
214
|
+
const drawn = await Promise.all((await this.getSections()).map((each) => each.getTitle()));
|
|
215
|
+
throw new Error(`WrSchemaFormHarness.getSection(): no section is titled ${String(title)}. This form draws: ${drawn.join(", ") || "no section"}.`);
|
|
216
|
+
}
|
|
217
|
+
return section;
|
|
218
|
+
}
|
|
219
|
+
async getArrays(filters = {}) {
|
|
220
|
+
return this.locatorForAll(WrSchemaFormArrayHarness.with(filters))();
|
|
221
|
+
}
|
|
222
|
+
async getArray(label) {
|
|
223
|
+
const [array] = await this.getArrays({ label });
|
|
224
|
+
if (!array) {
|
|
225
|
+
const drawn = await Promise.all((await this.getArrays()).map((each) => each.getLabel()));
|
|
226
|
+
throw new Error(`WrSchemaFormHarness.getArray(): no repeating group is labelled ${String(label)}. This form draws: ${drawn.join(", ") || "no repeating group"}.`);
|
|
227
|
+
}
|
|
228
|
+
return array;
|
|
229
|
+
}
|
|
230
|
+
async addItem(arrayLabel) {
|
|
231
|
+
return (await this.getArray(arrayLabel)).add();
|
|
232
|
+
}
|
|
233
|
+
async removeItem(arrayLabel, index) {
|
|
234
|
+
return (await this.getArray(arrayLabel)).remove(index);
|
|
235
|
+
}
|
|
236
|
+
async getItemCount(arrayLabel) {
|
|
237
|
+
return (await this.getArray(arrayLabel)).getItemCount();
|
|
238
|
+
}
|
|
239
|
+
async getItem(arrayLabel, index) {
|
|
240
|
+
return (await this.getArray(arrayLabel)).getItem(index);
|
|
241
|
+
}
|
|
242
|
+
async getColumns() {
|
|
243
|
+
const style = await (await this.host()).getAttribute("style") ?? "";
|
|
244
|
+
return Number(/grid-template-columns:\s*repeat\(\s*(\d+)/.exec(style)?.[1] ?? NaN);
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* @license
|
|
249
|
+
*
|
|
250
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
251
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
252
|
+
*/
|
|
253
|
+
var WrSchemaFormArrayHarness = class WrSchemaFormArrayHarness extends ComponentHarness {
|
|
254
|
+
static hostSelector = ".wr-schema-form__array";
|
|
255
|
+
static with(options = {}) {
|
|
256
|
+
return new HarnessPredicate(WrSchemaFormArrayHarness, options).addOption("label", options.label, (harness, label) => HarnessPredicate.stringMatches(harness.getLabel(), label));
|
|
257
|
+
}
|
|
258
|
+
async getLabel() {
|
|
259
|
+
return (await this.locatorFor(".wr-schema-form__legend")()).text({ exclude: ".wr-form-field__required" });
|
|
260
|
+
}
|
|
261
|
+
async isRequired() {
|
|
262
|
+
return await this.locatorForOptional(".wr-schema-form__legend .wr-form-field__required")() !== null;
|
|
263
|
+
}
|
|
264
|
+
async getItemCount() {
|
|
265
|
+
return (await this.locatorForAll(`${await this.list()} > .wr-schema-form__item`)()).length;
|
|
266
|
+
}
|
|
267
|
+
async getItemTitles() {
|
|
268
|
+
const titles = await this.locatorForAll(`${await this.list()} > .wr-schema-form__item > .wr-schema-form__item-head > .wr-schema-form__item-title`)();
|
|
269
|
+
return Promise.all(titles.map((title) => title.text()));
|
|
270
|
+
}
|
|
271
|
+
async getItems() {
|
|
272
|
+
return this.locatorForAll(WrSchemaFormHarness.with({ selector: `${await this.list()} > .wr-schema-form__item > wr-schema-form` }))();
|
|
273
|
+
}
|
|
274
|
+
async getItem(index) {
|
|
275
|
+
const items = await this.getItems();
|
|
276
|
+
const item = items[index];
|
|
277
|
+
if (!item) throw new Error(`WrSchemaFormArrayHarness.getItem(${index}): "${await this.getLabel()}" draws ${items.length} item(s).`);
|
|
278
|
+
return item;
|
|
279
|
+
}
|
|
280
|
+
async canAdd() {
|
|
281
|
+
const button = await this.addButton();
|
|
282
|
+
return button !== null && !await button.getProperty("disabled");
|
|
283
|
+
}
|
|
284
|
+
async canRemove() {
|
|
285
|
+
const [button] = await this.removeButtons();
|
|
286
|
+
return button !== void 0 && !await button.getProperty("disabled");
|
|
287
|
+
}
|
|
288
|
+
async add() {
|
|
289
|
+
const button = await this.addButton();
|
|
290
|
+
if (!button) throw new Error(`WrSchemaFormArrayHarness.add(): "${await this.getLabel()}" draws no Add button. The spec needs an \`item\` factory: { kind: 'array', item: () => ({ … }) }.`);
|
|
291
|
+
if (await button.getProperty("disabled")) throw new Error(`WrSchemaFormArrayHarness.add(): the Add button of "${await this.getLabel()}" is disabled. The list is at its maxLength, or the field is disabled or read-only.`);
|
|
292
|
+
await button.click();
|
|
293
|
+
}
|
|
294
|
+
async remove(index) {
|
|
295
|
+
const buttons = await this.removeButtons();
|
|
296
|
+
const button = buttons[index];
|
|
297
|
+
if (!button) throw new Error(`WrSchemaFormArrayHarness.remove(${index}): "${await this.getLabel()}" draws ${buttons.length} item(s).`);
|
|
298
|
+
if (await button.getProperty("disabled")) throw new Error(`WrSchemaFormArrayHarness.remove(${index}): the Remove buttons of "${await this.getLabel()}" are disabled. The list is at its minLength, or the field is disabled or read-only.`);
|
|
299
|
+
await button.click();
|
|
300
|
+
}
|
|
301
|
+
async getRemoveName(index) {
|
|
302
|
+
const button = (await this.removeButtons())[index];
|
|
303
|
+
if (!button) throw new Error(`WrSchemaFormArrayHarness.getRemoveName(${index}): there is no such item.`);
|
|
304
|
+
const ids = (await button.getAttribute("aria-labelledby") ?? "").split(/\s+/).filter(Boolean);
|
|
305
|
+
return (await Promise.all(ids.map(async (id) => {
|
|
306
|
+
const part = await this.locatorForOptional(`[id="${id}"]`)();
|
|
307
|
+
if (!part) throw new Error(`WrSchemaFormArrayHarness.getRemoveName(${index}): aria-labelledby names "${id}", which is not in the group.`);
|
|
308
|
+
return part.text();
|
|
309
|
+
}))).join(" ");
|
|
310
|
+
}
|
|
311
|
+
async isAddFocused() {
|
|
312
|
+
return await (await this.addButton())?.isFocused() ?? false;
|
|
313
|
+
}
|
|
314
|
+
async getErrors() {
|
|
315
|
+
const id = (await this.listId()).replace(/-items$/, "-errors");
|
|
316
|
+
const errors = await this.locatorForAll(`[id="${id}"] > .wr-form-field__error`)();
|
|
317
|
+
return Promise.all(errors.map((error) => error.text()));
|
|
318
|
+
}
|
|
319
|
+
async listId() {
|
|
320
|
+
const id = await (await this.locatorFor(".wr-schema-form__items")()).getAttribute("id");
|
|
321
|
+
if (!id) throw new Error("WrSchemaFormArrayHarness: the item list carries no id to scope a query by.");
|
|
322
|
+
return id;
|
|
323
|
+
}
|
|
324
|
+
async list() {
|
|
325
|
+
return `[id="${await this.listId()}"]`;
|
|
326
|
+
}
|
|
327
|
+
async addButton() {
|
|
328
|
+
return this.locatorForOptional(`${await this.list()} > .wr-schema-form__add`)();
|
|
329
|
+
}
|
|
330
|
+
async removeButtons() {
|
|
331
|
+
return this.locatorForAll(`${await this.list()} > .wr-schema-form__item > .wr-schema-form__item-head > .wr-schema-form__remove`)();
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
export { WrSchemaFormArrayHarness, WrSchemaFormFieldHarness, WrSchemaFormHarness, WrSchemaFormSectionHarness };
|
|
335
|
+
|
|
336
|
+
//# sourceMappingURL=ngwr-schema-form-testing.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngwr-schema-form-testing.mjs","names":[],"sources":["../../../projects/lib/schema-form/testing/wr-schema-form-field-harness.ts","../../../projects/lib/schema-form/testing/wr-schema-form-section-harness.ts","../../../projects/lib/schema-form/testing/wr-schema-form-harness.ts","../../../projects/lib/schema-form/testing/wr-schema-form-array-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, type HarnessQuery, HarnessPredicate } from '@angular/cdk/testing';\n\nimport { WrCheckboxHarness } from 'ngwr/checkbox/testing';\nimport { WrDatePickerHarness, WrDateRangePickerHarness } from 'ngwr/date-picker/testing';\nimport { WrFileUploadHarness } from 'ngwr/file-upload/testing';\nimport { WrFormFieldHarness } from 'ngwr/form/testing';\nimport { WrInputHarness } from 'ngwr/input/testing';\nimport { WrInputNumberHarness } from 'ngwr/input-number/testing';\nimport { WrRadioGroupHarness } from 'ngwr/radio/testing';\nimport { WrRatingHarness } from 'ngwr/rating/testing';\nimport { WrSegmentedHarness } from 'ngwr/segmented/testing';\nimport { WrSelectHarness } from 'ngwr/select/testing';\nimport { WrSliderHarness } from 'ngwr/slider/testing';\nimport { WrSwitchHarness } from 'ngwr/switch/testing';\nimport { WrTextareaHarness } from 'ngwr/textarea/testing';\n\nimport type { WrSchemaFormControlHarnesses, WrSchemaFormControlKind, WrSchemaFormFieldHarnessFilters } from './types';\n\n/**\n * The element each kind draws, and the harness that drives it. `input` is\n * last and has no element of its own to look for: it is the kind left when\n * none of the others matched, as it is in the component's template. The two\n * `wr-select` modes come before the plain one, which matches all three.\n */\nconst CONTROLS: readonly (readonly [WrSchemaFormControlKind, string, HarnessQuery<ComponentHarness>])[] = [\n ['textarea', 'wr-textarea', WrTextareaHarness],\n ['number', 'wr-input-number', WrInputNumberHarness],\n ['multiselect', 'wr-select.wr-select--multi', WrSelectHarness],\n ['tags', 'wr-select.wr-select--tag', WrSelectHarness],\n ['select', 'wr-select', WrSelectHarness],\n ['checkbox', 'wr-checkbox', WrCheckboxHarness],\n ['switch', 'wr-switch', WrSwitchHarness],\n ['radio', 'wr-radio-group', WrRadioGroupHarness],\n ['segmented', 'wr-segmented', WrSegmentedHarness],\n ['date', 'wr-date-picker', WrDatePickerHarness],\n ['daterange', 'wr-date-range-picker', WrDateRangePickerHarness],\n ['slider', 'wr-slider', WrSliderHarness],\n ['rating', 'wr-rating', WrRatingHarness],\n ['file', 'wr-file-upload', WrFileUploadHarness],\n ['input', 'input[wrInput]', WrInputHarness],\n];\n\n/**\n * Test harness for one field of a `<wr-schema-form>`: its label, its control\n * and its errors.\n *\n * It answers nothing about the control itself. {@link getControl} hands back\n * the harness that control already has, `WrSelectHarness` for a select and so\n * on, and {@link getFormField} the `WrFormFieldHarness` around it, so a value\n * is read and written in one place.\n *\n * @see https://ngwr.dev/guides/testing\n */\nexport class WrSchemaFormFieldHarness extends ComponentHarness {\n static hostSelector = '.wr-schema-form__field';\n\n /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */\n static with(options: WrSchemaFormFieldHarnessFilters = {}): HarnessPredicate<WrSchemaFormFieldHarness> {\n return new HarnessPredicate(WrSchemaFormFieldHarness, options)\n .addOption('label', options.label, (harness, label) => HarnessPredicate.stringMatches(harness.getLabel(), label))\n .addOption('kind', options.kind, async (harness, kind) => (await harness.getKind()) === kind)\n .addOption('invalid', options.invalid, async (harness, invalid) => (await harness.isInvalid()) === invalid);\n }\n\n private readonly formField = this.locatorFor(WrFormFieldHarness);\n\n /**\n * The field's label: the one above the control, or, for a checkbox and a\n * switch, the one they carry inside themselves.\n */\n async getLabel(): Promise<string> {\n const above = await (await this.formField()).getLabel();\n if (above !== null) return above;\n const kind = await this.getKind();\n if (kind === 'checkbox') return (await this.getControl('checkbox')).getLabel();\n if (kind === 'switch') return (await this.getControl('switch')).getLabel();\n return '';\n }\n\n /** The kind of control the field draws, from the element in it. */\n async getKind(): Promise<WrSchemaFormControlKind> {\n for (const [kind, selector] of CONTROLS) {\n if (await this.locatorForOptional(selector)()) return kind;\n }\n throw new Error(`WrSchemaFormFieldHarness.getKind(): the field draws no control this harness knows.`);\n }\n\n /**\n * The harness of the field's control. Name the kind and the result is typed:\n * `getControl('select')` is a `WrSelectHarness`. Throws when the field draws\n * another kind, and says which.\n */\n async getControl<K extends WrSchemaFormControlKind>(kind: K): Promise<WrSchemaFormControlHarnesses[K]> {\n const drawn = await this.getKind();\n if (drawn !== kind) {\n throw new Error(\n `WrSchemaFormFieldHarness.getControl('${kind}'): \"${await this.labelOrEmpty()}\" draws a '${drawn}' control.`\n );\n }\n const query = CONTROLS.find(([each]) => each === kind)![2];\n return await this.locatorFor(query)();\n }\n\n /** The `<wr-form-field>` around the control: label wiring, hint, required mark and errors. */\n async getFormField(): Promise<WrFormFieldHarness> {\n return this.formField();\n }\n\n /** The hint under the control, or `null`. */\n async getHint(): Promise<string | null> {\n return (await this.formField()).getHint();\n }\n\n /** Whether the field is marked required. */\n async isRequired(): Promise<boolean> {\n return (await this.formField()).isRequired();\n }\n\n /** Whether the field is showing an error. A field nobody touched shows none, valid or not. */\n async isInvalid(): Promise<boolean> {\n return (await this.formField()).isInvalid();\n }\n\n /** The error messages the field is showing, in order. */\n async getErrors(): Promise<string[]> {\n return (await this.formField()).getErrorTexts();\n }\n\n /**\n * How many grid columns the field spans, from the `grid-column` the\n * component wrote on it, already clamped to the form's `columns`.\n */\n async getSpan(): Promise<number> {\n const style = (await (await this.host()).getAttribute('style')) ?? '';\n return Number(/grid-column:\\s*span\\s+(\\d+)/.exec(style)?.[1] ?? Number.NaN);\n }\n\n /** The label for an error message, where a missing one must not throw a second error. */\n private async labelOrEmpty(): Promise<string> {\n return (await (await this.formField()).getLabel()) ?? '';\n }\n}\n","/**\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 } from '@angular/cdk/testing';\n\nimport type { WrSchemaFormFieldHarnessFilters, WrSchemaFormSectionHarnessFilters } from './types';\nimport { WrSchemaFormFieldHarness } from './wr-schema-form-field-harness';\n\n/**\n * Test harness for one section of a `<wr-schema-form>`: the `<fieldset>` the\n * fields naming one `section` are drawn in.\n *\n * A section whose every field the schema hides is not drawn, so it is not\n * found.\n *\n * @see https://ngwr.dev/guides/testing\n */\nexport class WrSchemaFormSectionHarness extends ComponentHarness {\n static hostSelector = '.wr-schema-form__section';\n\n /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */\n static with(options: WrSchemaFormSectionHarnessFilters = {}): HarnessPredicate<WrSchemaFormSectionHarness> {\n return new HarnessPredicate(WrSchemaFormSectionHarness, options).addOption(\n 'title',\n options.title,\n (harness, title) => HarnessPredicate.stringMatches(harness.getTitle(), title)\n );\n }\n\n /** The section's title: the text of its `<legend>`, which is also the group's accessible name. */\n async getTitle(): Promise<string> {\n return (await this.locatorFor('.wr-schema-form__legend')()).text();\n }\n\n /**\n * The line under the title, or `null`. Read through the fieldset's\n * `aria-describedby`, so a description the group does not announce reads as\n * none.\n */\n async getDescription(): Promise<string | null> {\n const id = await (await this.host()).getAttribute('aria-describedby');\n if (!id) return null;\n const description = await this.locatorForOptional(`[id=\"${id}\"]`)();\n if (!description) {\n throw new Error(\n `WrSchemaFormSectionHarness.getDescription(): the section's aria-describedby names \"${id}\", ` +\n 'which is not an element inside it.'\n );\n }\n return description.text();\n }\n\n /** The fields drawn in the section, in order. */\n async getFields(filters: WrSchemaFormFieldHarnessFilters = {}): Promise<WrSchemaFormFieldHarness[]> {\n return this.locatorForAll(WrSchemaFormFieldHarness.with(filters))();\n }\n\n /** The label of every field drawn in the section, in order. */\n async getLabels(): Promise<string[]> {\n const fields = await this.getFields();\n return Promise.all(fields.map(field => field.getLabel()));\n }\n\n /** The number of columns of the section's own grid, from the track list the component wrote on it. */\n async getColumns(): Promise<number> {\n const style = (await (await this.locatorFor('.wr-schema-form__grid')()).getAttribute('style')) ?? '';\n return Number(/grid-template-columns:\\s*repeat\\(\\s*(\\d+)/.exec(style)?.[1] ?? Number.NaN);\n }\n}\n","/**\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 } from '@angular/cdk/testing';\n\nimport type {\n WrSchemaFormArrayHarnessFilters,\n WrSchemaFormControlHarnesses,\n WrSchemaFormControlKind,\n WrSchemaFormFieldHarnessFilters,\n WrSchemaFormHarnessFilters,\n WrSchemaFormSectionHarnessFilters,\n} from './types';\nimport { WrSchemaFormArrayHarness } from './wr-schema-form-array-harness';\nimport { WrSchemaFormFieldHarness } from './wr-schema-form-field-harness';\nimport { WrSchemaFormSectionHarness } from './wr-schema-form-section-harness';\n\n/**\n * Test harness for `<wr-schema-form>`, the form drawn from a Signal Forms\n * schema.\n *\n * Fields are found by LABEL, not by their key in the model. The key never\n * reaches the page: the component draws `spec.label`, or the key\n * de-camel-cased when there is none, and that text is also what a user and a\n * screen reader find the field by.\n *\n * There is no `submit()`. The component renders fields and nothing else: no\n * `<form>` element and no button, so submitting belongs to the page around it.\n * A field hidden by the schema's `hidden()` is not drawn, so it is not found.\n *\n * A repeating group draws each item as a `<wr-schema-form>` of its own, inside\n * this one. {@link getFields} and {@link getErrors} read everything this form\n * draws, items included, so two items answer two fields labelled \"City\":\n * {@link getItem} is the form of one item alone.\n *\n * @example\n * ```ts\n * const form = await loader.getHarness(WrSchemaFormHarness);\n *\n * const role = await form.getControl('Role', 'select');\n * await role.selectOption({ text: 'Admin' });\n * expect(await form.getErrors()).toEqual([]);\n * ```\n *\n * @see https://ngwr.dev/guides/testing\n */\nexport class WrSchemaFormHarness extends ComponentHarness {\n static hostSelector = 'wr-schema-form';\n\n /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */\n static with(options: WrSchemaFormHarnessFilters = {}): HarnessPredicate<WrSchemaFormHarness> {\n return new HarnessPredicate(WrSchemaFormHarness, options).addOption(\n 'fieldLabel',\n options.fieldLabel,\n async (harness, label) => (await harness.getFields({ label })).length > 0\n );\n }\n\n /** The fields drawn, in the order they are drawn, with the fields of a repeating group's items among them. */\n async getFields(filters: WrSchemaFormFieldHarnessFilters = {}): Promise<WrSchemaFormFieldHarness[]> {\n return this.locatorForAll(WrSchemaFormFieldHarness.with(filters))();\n }\n\n /** The label of every field drawn, in order. */\n async getLabels(): Promise<string[]> {\n const fields = await this.getFields();\n return Promise.all(fields.map(field => field.getLabel()));\n }\n\n /** The first field with this label, or a failure naming the fields that are drawn. */\n async getField(label: string | RegExp): Promise<WrSchemaFormFieldHarness> {\n const [field] = await this.getFields({ label });\n if (!field) {\n throw new Error(\n `WrSchemaFormHarness.getField(): no field is labelled ${String(label)}. A field is found by the label ` +\n `it draws, not by its key. This form draws: ${(await this.getLabels()).join(', ')}.`\n );\n }\n return field;\n }\n\n /**\n * The harness of the control in the field with this label, typed by the kind\n * named: `getControl('Role', 'select')` is a `WrSelectHarness`. Throws when\n * the field draws another kind.\n */\n async getControl<K extends WrSchemaFormControlKind>(\n label: string | RegExp,\n kind: K\n ): Promise<WrSchemaFormControlHarnesses[K]> {\n return (await this.getField(label)).getControl(kind);\n }\n\n /** Every error message the form is showing, in the order drawn: each field's, and a repeating group's own. */\n async getErrors(): Promise<string[]> {\n const errors = await this.locatorForAll('.wr-form-field__error:not(.wr-form-field__error--hidden)')();\n return Promise.all(errors.map(error => error.text()));\n }\n\n /** The sections drawn, in order. */\n async getSections(filters: WrSchemaFormSectionHarnessFilters = {}): Promise<WrSchemaFormSectionHarness[]> {\n return this.locatorForAll(WrSchemaFormSectionHarness.with(filters))();\n }\n\n /** The first section with this title, or a failure naming the sections that are drawn. */\n async getSection(title: string | RegExp): Promise<WrSchemaFormSectionHarness> {\n const [section] = await this.getSections({ title });\n if (!section) {\n const drawn = await Promise.all((await this.getSections()).map(each => each.getTitle()));\n throw new Error(\n `WrSchemaFormHarness.getSection(): no section is titled ${String(title)}. ` +\n `This form draws: ${drawn.join(', ') || 'no section'}.`\n );\n }\n return section;\n }\n\n /** The repeating groups drawn, in order. */\n async getArrays(filters: WrSchemaFormArrayHarnessFilters = {}): Promise<WrSchemaFormArrayHarness[]> {\n return this.locatorForAll(WrSchemaFormArrayHarness.with(filters))();\n }\n\n /** The first repeating group with this label, or a failure naming the groups that are drawn. */\n async getArray(label: string | RegExp): Promise<WrSchemaFormArrayHarness> {\n const [array] = await this.getArrays({ label });\n if (!array) {\n const drawn = await Promise.all((await this.getArrays()).map(each => each.getLabel()));\n throw new Error(\n `WrSchemaFormHarness.getArray(): no repeating group is labelled ${String(label)}. ` +\n `This form draws: ${drawn.join(', ') || 'no repeating group'}.`\n );\n }\n return array;\n }\n\n /** Click Add on the repeating group with this label. Throws when it cannot take another item. */\n async addItem(arrayLabel: string | RegExp): Promise<void> {\n return (await this.getArray(arrayLabel)).add();\n }\n\n /** Click Remove on one item of the repeating group with this label. Throws when it cannot be removed. */\n async removeItem(arrayLabel: string | RegExp, index: number): Promise<void> {\n return (await this.getArray(arrayLabel)).remove(index);\n }\n\n /** The number of items the repeating group with this label draws. */\n async getItemCount(arrayLabel: string | RegExp): Promise<number> {\n return (await this.getArray(arrayLabel)).getItemCount();\n }\n\n /** The form of one item of the repeating group with this label: its fields, and nothing around them. */\n async getItem(arrayLabel: string | RegExp, index: number): Promise<WrSchemaFormHarness> {\n return (await this.getArray(arrayLabel)).getItem(index);\n }\n\n /**\n * The number of grid columns, from the track list the component wrote on the\n * host.\n */\n async getColumns(): Promise<number> {\n const style = (await (await this.host()).getAttribute('style')) ?? '';\n return Number(/grid-template-columns:\\s*repeat\\(\\s*(\\d+)/.exec(style)?.[1] ?? Number.NaN);\n }\n}\n","/**\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, type TestElement } from '@angular/cdk/testing';\n\nimport type { WrSchemaFormArrayHarnessFilters } from './types';\nimport { WrSchemaFormHarness } from './wr-schema-form-harness';\n\n/**\n * Test harness for a repeating group of a `<wr-schema-form>`: a field of\n * `kind: 'array'`, drawn as one group per item with an Add and a Remove\n * button.\n *\n * Each item is a `<wr-schema-form>` of its own, so {@link getItem} hands back a\n * `WrSchemaFormHarness` scoped to that item. Every query here is scoped by the\n * id the group publishes, never by class: an item may hold a repeating group\n * itself, and a class query would count its items too.\n *\n * @see https://ngwr.dev/guides/testing\n */\nexport class WrSchemaFormArrayHarness extends ComponentHarness {\n static hostSelector = '.wr-schema-form__array';\n\n /** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */\n static with(options: WrSchemaFormArrayHarnessFilters = {}): HarnessPredicate<WrSchemaFormArrayHarness> {\n return new HarnessPredicate(WrSchemaFormArrayHarness, options).addOption('label', options.label, (harness, label) =>\n HarnessPredicate.stringMatches(harness.getLabel(), label)\n );\n }\n\n /** The group's label: the text of its `<legend>`, without the required marker. */\n async getLabel(): Promise<string> {\n return (await this.locatorFor('.wr-schema-form__legend')()).text({ exclude: '.wr-form-field__required' });\n }\n\n /** Whether the group is marked required. */\n async isRequired(): Promise<boolean> {\n return (await this.locatorForOptional('.wr-schema-form__legend .wr-form-field__required')()) !== null;\n }\n\n /** The number of items drawn. */\n async getItemCount(): Promise<number> {\n return (await this.locatorForAll(`${await this.list()} > .wr-schema-form__item`)()).length;\n }\n\n /** The heading of every item, in order: \"Address 1\", \"Address 2\". */\n async getItemTitles(): Promise<string[]> {\n const titles = await this.locatorForAll(\n `${await this.list()} > .wr-schema-form__item > .wr-schema-form__item-head > .wr-schema-form__item-title`\n )();\n return Promise.all(titles.map(title => title.text()));\n }\n\n /** The form of every item, in order. */\n async getItems(): Promise<WrSchemaFormHarness[]> {\n return this.locatorForAll(\n WrSchemaFormHarness.with({ selector: `${await this.list()} > .wr-schema-form__item > wr-schema-form` })\n )();\n }\n\n /** The form of the item at this index, or a failure saying how many items there are. */\n async getItem(index: number): Promise<WrSchemaFormHarness> {\n const items = await this.getItems();\n const item = items[index];\n if (!item) {\n throw new Error(\n `WrSchemaFormArrayHarness.getItem(${index}): \"${await this.getLabel()}\" draws ${items.length} item(s).`\n );\n }\n return item;\n }\n\n /** Whether the Add button is drawn and enabled. It is not drawn when the spec has no `item`. */\n async canAdd(): Promise<boolean> {\n const button = await this.addButton();\n return button !== null && !(await button.getProperty<boolean>('disabled'));\n }\n\n /** Whether items can be removed: `false` at the schema's `minLength`, and with no item to remove. */\n async canRemove(): Promise<boolean> {\n const [button] = await this.removeButtons();\n return button !== undefined && !(await button.getProperty<boolean>('disabled'));\n }\n\n /** Click Add. Throws when the button is not drawn or is disabled, where a click would do nothing. */\n async add(): Promise<void> {\n const button = await this.addButton();\n if (!button) {\n throw new Error(\n `WrSchemaFormArrayHarness.add(): \"${await this.getLabel()}\" draws no Add button. ` +\n \"The spec needs an `item` factory: { kind: 'array', item: () => ({ … }) }.\"\n );\n }\n if (await button.getProperty<boolean>('disabled')) {\n throw new Error(\n `WrSchemaFormArrayHarness.add(): the Add button of \"${await this.getLabel()}\" is disabled. ` +\n 'The list is at its maxLength, or the field is disabled or read-only.'\n );\n }\n await button.click();\n }\n\n /** Click Remove on the item at this index. Throws when there is no such item or its button is disabled. */\n async remove(index: number): Promise<void> {\n const buttons = await this.removeButtons();\n const button = buttons[index];\n if (!button) {\n throw new Error(\n `WrSchemaFormArrayHarness.remove(${index}): \"${await this.getLabel()}\" draws ${buttons.length} item(s).`\n );\n }\n if (await button.getProperty<boolean>('disabled')) {\n throw new Error(\n `WrSchemaFormArrayHarness.remove(${index}): the Remove buttons of \"${await this.getLabel()}\" are disabled. ` +\n 'The list is at its minLength, or the field is disabled or read-only.'\n );\n }\n await button.click();\n }\n\n /**\n * The accessible name of the Remove button at this index, resolved through\n * its `aria-labelledby`: its own text and then the item's heading.\n */\n async getRemoveName(index: number): Promise<string> {\n const button = (await this.removeButtons())[index];\n if (!button) throw new Error(`WrSchemaFormArrayHarness.getRemoveName(${index}): there is no such item.`);\n const ids = ((await button.getAttribute('aria-labelledby')) ?? '').split(/\\s+/).filter(Boolean);\n const parts = await Promise.all(\n ids.map(async id => {\n const part = await this.locatorForOptional(`[id=\"${id}\"]`)();\n if (!part) {\n throw new Error(\n `WrSchemaFormArrayHarness.getRemoveName(${index}): aria-labelledby names \"${id}\", which is not in the group.`\n );\n }\n return part.text();\n })\n );\n return parts.join(' ');\n }\n\n /** Whether the Add button holds focus, which is where it goes when the last item is removed. */\n async isAddFocused(): Promise<boolean> {\n return (await (await this.addButton())?.isFocused()) ?? false;\n }\n\n /**\n * The group's OWN error messages, a `minLength` on the list for one. An\n * item's errors are its fields', read off {@link getItem}.\n */\n async getErrors(): Promise<string[]> {\n const id = (await this.listId()).replace(/-items$/, '-errors');\n const errors = await this.locatorForAll(`[id=\"${id}\"] > .wr-form-field__error`)();\n return Promise.all(errors.map(error => error.text()));\n }\n\n private async listId(): Promise<string> {\n const id = await (await this.locatorFor('.wr-schema-form__items')()).getAttribute('id');\n if (!id) throw new Error('WrSchemaFormArrayHarness: the item list carries no id to scope a query by.');\n return id;\n }\n\n private async list(): Promise<string> {\n return `[id=\"${await this.listId()}\"]`;\n }\n\n private async addButton(): Promise<TestElement | null> {\n return this.locatorForOptional(`${await this.list()} > .wr-schema-form__add`)();\n }\n\n private async removeButtons(): Promise<TestElement[]> {\n return this.locatorForAll(\n `${await this.list()} > .wr-schema-form__item > .wr-schema-form__item-head > .wr-schema-form__remove`\n )();\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA+BA,MAAM,WAAoG;CACxG;EAAC;EAAY;EAAe;CAAiB;CAC7C;EAAC;EAAU;EAAmB;CAAoB;CAClD;EAAC;EAAe;EAA8B;CAAe;CAC7D;EAAC;EAAQ;EAA4B;CAAe;CACpD;EAAC;EAAU;EAAa;CAAe;CACvC;EAAC;EAAY;EAAe;CAAiB;CAC7C;EAAC;EAAU;EAAa;CAAe;CACvC;EAAC;EAAS;EAAkB;CAAmB;CAC/C;EAAC;EAAa;EAAgB;CAAkB;CAChD;EAAC;EAAQ;EAAkB;CAAmB;CAC9C;EAAC;EAAa;EAAwB;CAAwB;CAC9D;EAAC;EAAU;EAAa;CAAe;CACvC;EAAC;EAAU;EAAa;CAAe;CACvC;EAAC;EAAQ;EAAkB;CAAmB;CAC9C;EAAC;EAAS;EAAkB;CAAc;AAC3C;AAaD,IAAa,2BAAb,MAA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