ngwr 10.2.0 → 11.0.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/README.md +39 -19
- package/anchor/styles/_index.scss +4 -4
- package/back-top/styles/_index.scss +6 -1
- package/blur-text/styles/_index.scss +13 -0
- package/button/styles/_index.scss +11 -6
- package/carousel/styles/_index.scss +13 -2
- package/cascader/styles/_index.scss +2 -2
- package/circular-text/styles/_index.scss +2 -0
- package/collapse/styles/_index.scss +1 -1
- package/color-picker/styles/_index.scss +6 -1
- package/compare/styles/_index.scss +1 -2
- package/context-menu/styles/_index.scss +6 -1
- package/descriptions/styles/_index.scss +2 -2
- package/dialog/styles/_index.scss +38 -0
- package/drawer/styles/_index.scss +20 -1
- package/dropdown/styles/_index.scss +19 -5
- package/empty/styles/_index.scss +10 -0
- package/fesm2022/ngwr-action-sheet.mjs +15 -5
- package/fesm2022/ngwr-action-sheet.mjs.map +1 -1
- package/fesm2022/ngwr-affix.mjs +43 -16
- package/fesm2022/ngwr-affix.mjs.map +1 -1
- package/fesm2022/ngwr-alert.mjs +3 -3
- package/fesm2022/ngwr-anchor.mjs +20 -8
- package/fesm2022/ngwr-anchor.mjs.map +1 -1
- package/fesm2022/ngwr-aurora.mjs +4 -4
- package/fesm2022/ngwr-aurora.mjs.map +1 -1
- package/fesm2022/ngwr-avatar.mjs +33 -9
- package/fesm2022/ngwr-avatar.mjs.map +1 -1
- package/fesm2022/ngwr-back-top.mjs +8 -4
- package/fesm2022/ngwr-back-top.mjs.map +1 -1
- package/fesm2022/ngwr-badge.mjs +6 -6
- package/fesm2022/ngwr-badge.mjs.map +1 -1
- package/fesm2022/ngwr-bar-chart.mjs +32 -11
- package/fesm2022/ngwr-bar-chart.mjs.map +1 -1
- package/fesm2022/ngwr-blur-text.mjs +4 -4
- package/fesm2022/ngwr-blur-text.mjs.map +1 -1
- package/fesm2022/ngwr-border-glow.mjs +4 -4
- package/fesm2022/ngwr-border-glow.mjs.map +1 -1
- package/fesm2022/ngwr-breadcrumbs.mjs +9 -8
- package/fesm2022/ngwr-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ngwr-burger.mjs +11 -6
- package/fesm2022/ngwr-burger.mjs.map +1 -1
- package/fesm2022/ngwr-button-testing.mjs +96 -0
- package/fesm2022/ngwr-button-testing.mjs.map +1 -0
- package/fesm2022/ngwr-button.mjs +89 -24
- package/fesm2022/ngwr-button.mjs.map +1 -1
- package/fesm2022/ngwr-calendar-heatmap.mjs +42 -10
- package/fesm2022/ngwr-calendar-heatmap.mjs.map +1 -1
- package/fesm2022/ngwr-calendar.mjs +108 -9
- package/fesm2022/ngwr-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-card.mjs +10 -10
- package/fesm2022/ngwr-card.mjs.map +1 -1
- package/fesm2022/ngwr-carousel-testing.mjs +377 -0
- package/fesm2022/ngwr-carousel-testing.mjs.map +1 -0
- package/fesm2022/ngwr-carousel.mjs +72 -18
- package/fesm2022/ngwr-carousel.mjs.map +1 -1
- package/fesm2022/ngwr-cascader-testing.mjs +534 -0
- package/fesm2022/ngwr-cascader-testing.mjs.map +1 -0
- package/fesm2022/ngwr-cascader.mjs +4 -4
- package/fesm2022/ngwr-cascader.mjs.map +1 -1
- package/fesm2022/ngwr-checkbox-testing.mjs +90 -0
- package/fesm2022/ngwr-checkbox-testing.mjs.map +1 -0
- package/fesm2022/ngwr-checkbox.mjs +15 -9
- package/fesm2022/ngwr-checkbox.mjs.map +1 -1
- package/fesm2022/ngwr-circular-text.mjs +4 -4
- package/fesm2022/ngwr-circular-text.mjs.map +1 -1
- package/fesm2022/ngwr-click-spark.mjs +4 -4
- package/fesm2022/ngwr-click-spark.mjs.map +1 -1
- package/fesm2022/ngwr-clipboard.mjs +18 -4
- package/fesm2022/ngwr-clipboard.mjs.map +1 -1
- package/fesm2022/ngwr-collapse-testing.mjs +368 -0
- package/fesm2022/ngwr-collapse-testing.mjs.map +1 -0
- package/fesm2022/ngwr-collapse.mjs +9 -9
- package/fesm2022/ngwr-color-picker.mjs +139 -19
- package/fesm2022/ngwr-color-picker.mjs.map +1 -1
- package/fesm2022/ngwr-command-palette-testing.mjs +589 -0
- package/fesm2022/ngwr-command-palette-testing.mjs.map +1 -0
- package/fesm2022/ngwr-command-palette.mjs +60 -10
- package/fesm2022/ngwr-command-palette.mjs.map +1 -1
- package/fesm2022/ngwr-compare.mjs +105 -15
- package/fesm2022/ngwr-compare.mjs.map +1 -1
- package/fesm2022/ngwr-confetti.mjs +3 -3
- package/fesm2022/ngwr-config.mjs +106 -0
- package/fesm2022/ngwr-config.mjs.map +1 -0
- package/fesm2022/ngwr-context-menu-testing.mjs +631 -0
- package/fesm2022/ngwr-context-menu-testing.mjs.map +1 -0
- package/fesm2022/ngwr-context-menu.mjs +104 -18
- package/fesm2022/ngwr-context-menu.mjs.map +1 -1
- package/fesm2022/ngwr-cookie.mjs +8 -4
- package/fesm2022/ngwr-cookie.mjs.map +1 -1
- package/fesm2022/ngwr-counter.mjs +17 -9
- package/fesm2022/ngwr-counter.mjs.map +1 -1
- package/fesm2022/ngwr-date-adapter-fns.mjs +3 -3
- package/fesm2022/ngwr-date-adapter-luxon.mjs +55 -7
- package/fesm2022/ngwr-date-adapter-luxon.mjs.map +1 -1
- package/fesm2022/ngwr-date-adapter.mjs +57 -11
- package/fesm2022/ngwr-date-adapter.mjs.map +1 -1
- package/fesm2022/ngwr-date-picker-testing.mjs +766 -0
- package/fesm2022/ngwr-date-picker-testing.mjs.map +1 -0
- package/fesm2022/ngwr-date-picker.mjs +409 -57
- package/fesm2022/ngwr-date-picker.mjs.map +1 -1
- package/fesm2022/ngwr-decrypt-text.mjs +30 -12
- package/fesm2022/ngwr-decrypt-text.mjs.map +1 -1
- package/fesm2022/ngwr-density.mjs +6 -6
- package/fesm2022/ngwr-descriptions.mjs +6 -6
- package/fesm2022/ngwr-dialog-testing.mjs +89 -0
- package/fesm2022/ngwr-dialog-testing.mjs.map +1 -0
- package/fesm2022/ngwr-dialog.mjs +33 -17
- package/fesm2022/ngwr-dialog.mjs.map +1 -1
- package/fesm2022/ngwr-directives.mjs +48 -24
- package/fesm2022/ngwr-directives.mjs.map +1 -1
- package/fesm2022/ngwr-divider.mjs +3 -3
- package/fesm2022/ngwr-donut-chart.mjs +24 -7
- package/fesm2022/ngwr-donut-chart.mjs.map +1 -1
- package/fesm2022/ngwr-drag-drop.mjs +7 -7
- package/fesm2022/ngwr-drag-drop.mjs.map +1 -1
- package/fesm2022/ngwr-drawer-testing.mjs +250 -0
- package/fesm2022/ngwr-drawer-testing.mjs.map +1 -0
- package/fesm2022/ngwr-drawer.mjs +37 -19
- package/fesm2022/ngwr-drawer.mjs.map +1 -1
- package/fesm2022/ngwr-dropdown-testing.mjs +291 -0
- package/fesm2022/ngwr-dropdown-testing.mjs.map +1 -0
- package/fesm2022/ngwr-dropdown.mjs +19 -11
- package/fesm2022/ngwr-dropdown.mjs.map +1 -1
- package/fesm2022/ngwr-empty.mjs +26 -9
- package/fesm2022/ngwr-empty.mjs.map +1 -1
- package/fesm2022/ngwr-event-calendar.mjs +62 -15
- package/fesm2022/ngwr-event-calendar.mjs.map +1 -1
- package/fesm2022/ngwr-falling-text.mjs +4 -4
- package/fesm2022/ngwr-falling-text.mjs.map +1 -1
- package/fesm2022/ngwr-file-upload-testing.mjs +332 -0
- package/fesm2022/ngwr-file-upload-testing.mjs.map +1 -0
- package/fesm2022/ngwr-file-upload.mjs +3 -3
- package/fesm2022/ngwr-form-testing.mjs +451 -0
- package/fesm2022/ngwr-form-testing.mjs.map +1 -0
- package/fesm2022/ngwr-form.mjs +28 -12
- package/fesm2022/ngwr-form.mjs.map +1 -1
- package/fesm2022/ngwr-fuzzy-text.mjs +11 -4
- package/fesm2022/ngwr-fuzzy-text.mjs.map +1 -1
- package/fesm2022/ngwr-gauge.mjs +21 -7
- package/fesm2022/ngwr-gauge.mjs.map +1 -1
- package/fesm2022/ngwr-glitch-text.mjs +4 -4
- package/fesm2022/ngwr-glitch-text.mjs.map +1 -1
- package/fesm2022/ngwr-gradient-text.mjs +4 -4
- package/fesm2022/ngwr-gradient-text.mjs.map +1 -1
- package/fesm2022/ngwr-hotkey.mjs +31 -10
- package/fesm2022/ngwr-hotkey.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-en.mjs +61 -0
- package/fesm2022/ngwr-i18n-en.mjs.map +1 -1
- package/fesm2022/ngwr-i18n-ru.mjs +59 -0
- package/fesm2022/ngwr-i18n-ru.mjs.map +1 -1
- package/fesm2022/ngwr-i18n.mjs +9 -9
- package/fesm2022/ngwr-icon.mjs +6 -6
- package/fesm2022/ngwr-image-cropper.mjs +26 -3
- package/fesm2022/ngwr-image-cropper.mjs.map +1 -1
- package/fesm2022/ngwr-input-number-testing.mjs +306 -0
- package/fesm2022/ngwr-input-number-testing.mjs.map +1 -0
- package/fesm2022/ngwr-input-number.mjs +37 -5
- package/fesm2022/ngwr-input-number.mjs.map +1 -1
- package/fesm2022/ngwr-input-otp-testing.mjs +419 -0
- package/fesm2022/ngwr-input-otp-testing.mjs.map +1 -0
- package/fesm2022/ngwr-input-otp.mjs +39 -8
- package/fesm2022/ngwr-input-otp.mjs.map +1 -1
- package/fesm2022/ngwr-input-testing.mjs +102 -0
- package/fesm2022/ngwr-input-testing.mjs.map +1 -0
- package/fesm2022/ngwr-input.mjs +62 -25
- package/fesm2022/ngwr-input.mjs.map +1 -1
- package/fesm2022/ngwr-keyboard.mjs +3 -3
- package/fesm2022/ngwr-knob.mjs +46 -10
- package/fesm2022/ngwr-knob.mjs.map +1 -1
- package/fesm2022/ngwr-layout.mjs +36 -20
- package/fesm2022/ngwr-layout.mjs.map +1 -1
- package/fesm2022/ngwr-lightbox.mjs +35 -8
- package/fesm2022/ngwr-lightbox.mjs.map +1 -1
- package/fesm2022/ngwr-line-chart.mjs +19 -6
- package/fesm2022/ngwr-line-chart.mjs.map +1 -1
- package/fesm2022/ngwr-list.mjs +14 -9
- package/fesm2022/ngwr-list.mjs.map +1 -1
- package/fesm2022/ngwr-loading-bar.mjs +71 -31
- package/fesm2022/ngwr-loading-bar.mjs.map +1 -1
- package/fesm2022/ngwr-markdown-testing.mjs +516 -0
- package/fesm2022/ngwr-markdown-testing.mjs.map +1 -0
- package/fesm2022/ngwr-markdown.mjs +1492 -0
- package/fesm2022/ngwr-markdown.mjs.map +1 -0
- package/fesm2022/ngwr-marquee.mjs +19 -8
- package/fesm2022/ngwr-marquee.mjs.map +1 -1
- package/fesm2022/ngwr-media.mjs +3 -3
- package/fesm2022/ngwr-mention-testing.mjs +513 -0
- package/fesm2022/ngwr-mention-testing.mjs.map +1 -0
- package/fesm2022/ngwr-mention.mjs +16 -7
- package/fesm2022/ngwr-mention.mjs.map +1 -1
- package/fesm2022/ngwr-meta.mjs +28 -13
- package/fesm2022/ngwr-meta.mjs.map +1 -1
- package/fesm2022/ngwr-meter-group.mjs +22 -8
- package/fesm2022/ngwr-meter-group.mjs.map +1 -1
- package/fesm2022/ngwr-overlay.mjs +57 -8
- package/fesm2022/ngwr-overlay.mjs.map +1 -1
- package/fesm2022/ngwr-page-header.mjs +3 -3
- package/fesm2022/ngwr-pagination-testing.mjs +389 -0
- package/fesm2022/ngwr-pagination-testing.mjs.map +1 -0
- package/fesm2022/ngwr-pagination.mjs +27 -11
- package/fesm2022/ngwr-pagination.mjs.map +1 -1
- package/fesm2022/ngwr-pipes.mjs +21 -21
- package/fesm2022/ngwr-platform.mjs +9 -9
- package/fesm2022/ngwr-popconfirm-testing.mjs +309 -0
- package/fesm2022/ngwr-popconfirm-testing.mjs.map +1 -0
- package/fesm2022/ngwr-popconfirm.mjs +99 -21
- package/fesm2022/ngwr-popconfirm.mjs.map +1 -1
- package/fesm2022/ngwr-popover-testing.mjs +316 -0
- package/fesm2022/ngwr-popover-testing.mjs.map +1 -0
- package/fesm2022/ngwr-popover.mjs +48 -10
- package/fesm2022/ngwr-popover.mjs.map +1 -1
- package/fesm2022/ngwr-progress.mjs +3 -3
- package/fesm2022/ngwr-pull-to-refresh.mjs +19 -4
- package/fesm2022/ngwr-pull-to-refresh.mjs.map +1 -1
- package/fesm2022/ngwr-qr.mjs +15 -5
- package/fesm2022/ngwr-qr.mjs.map +1 -1
- package/fesm2022/ngwr-radio-testing.mjs +392 -0
- package/fesm2022/ngwr-radio-testing.mjs.map +1 -0
- package/fesm2022/ngwr-radio.mjs +16 -9
- package/fesm2022/ngwr-radio.mjs.map +1 -1
- package/fesm2022/ngwr-rating-testing.mjs +384 -0
- package/fesm2022/ngwr-rating-testing.mjs.map +1 -0
- package/fesm2022/ngwr-rating.mjs +40 -5
- package/fesm2022/ngwr-rating.mjs.map +1 -1
- package/fesm2022/ngwr-result.mjs +12 -12
- package/fesm2022/ngwr-rotating-text.mjs +3 -3
- package/fesm2022/ngwr-scroll.mjs +3 -3
- package/fesm2022/ngwr-segmented-testing.mjs +512 -0
- package/fesm2022/ngwr-segmented-testing.mjs.map +1 -0
- package/fesm2022/ngwr-segmented.mjs +3 -3
- package/fesm2022/ngwr-select-testing.mjs +268 -0
- package/fesm2022/ngwr-select-testing.mjs.map +1 -0
- package/fesm2022/ngwr-select.mjs +96 -25
- package/fesm2022/ngwr-select.mjs.map +1 -1
- package/fesm2022/ngwr-shiny-text.mjs +7 -7
- package/fesm2022/ngwr-shiny-text.mjs.map +1 -1
- package/fesm2022/ngwr-sidebar.mjs +67 -14
- package/fesm2022/ngwr-sidebar.mjs.map +1 -1
- package/fesm2022/ngwr-skeleton.mjs +3 -3
- package/fesm2022/ngwr-slider-testing.mjs +478 -0
- package/fesm2022/ngwr-slider-testing.mjs.map +1 -0
- package/fesm2022/ngwr-slider.mjs +59 -15
- package/fesm2022/ngwr-slider.mjs.map +1 -1
- package/fesm2022/ngwr-sparkline.mjs +28 -8
- package/fesm2022/ngwr-sparkline.mjs.map +1 -1
- package/fesm2022/ngwr-speed-dial.mjs +39 -6
- package/fesm2022/ngwr-speed-dial.mjs.map +1 -1
- package/fesm2022/ngwr-spinner.mjs +14 -5
- package/fesm2022/ngwr-spinner.mjs.map +1 -1
- package/fesm2022/ngwr-splash-cursor.mjs +4 -4
- package/fesm2022/ngwr-splash-cursor.mjs.map +1 -1
- package/fesm2022/ngwr-split-text.mjs +4 -4
- package/fesm2022/ngwr-split-text.mjs.map +1 -1
- package/fesm2022/ngwr-splitter.mjs +72 -11
- package/fesm2022/ngwr-splitter.mjs.map +1 -1
- package/fesm2022/ngwr-spotlight-card.mjs +7 -7
- package/fesm2022/ngwr-spotlight-card.mjs.map +1 -1
- package/fesm2022/ngwr-squircle.mjs +6 -6
- package/fesm2022/ngwr-star-border.mjs +4 -4
- package/fesm2022/ngwr-star-border.mjs.map +1 -1
- package/fesm2022/ngwr-statistic.mjs +33 -16
- package/fesm2022/ngwr-statistic.mjs.map +1 -1
- package/fesm2022/ngwr-stepper-testing.mjs +477 -0
- package/fesm2022/ngwr-stepper-testing.mjs.map +1 -0
- package/fesm2022/ngwr-stepper.mjs +6 -6
- package/fesm2022/ngwr-storage.mjs +27 -17
- package/fesm2022/ngwr-storage.mjs.map +1 -1
- package/fesm2022/ngwr-switch-testing.mjs +77 -0
- package/fesm2022/ngwr-switch-testing.mjs.map +1 -0
- package/fesm2022/ngwr-switch.mjs +12 -6
- package/fesm2022/ngwr-switch.mjs.map +1 -1
- package/fesm2022/ngwr-table-testing.mjs +580 -0
- package/fesm2022/ngwr-table-testing.mjs.map +1 -0
- package/fesm2022/ngwr-table.mjs +105 -44
- package/fesm2022/ngwr-table.mjs.map +1 -1
- package/fesm2022/ngwr-tabs-testing.mjs +617 -0
- package/fesm2022/ngwr-tabs-testing.mjs.map +1 -0
- package/fesm2022/ngwr-tabs.mjs +44 -12
- package/fesm2022/ngwr-tabs.mjs.map +1 -1
- package/fesm2022/ngwr-textarea-testing.mjs +238 -0
- package/fesm2022/ngwr-textarea-testing.mjs.map +1 -0
- package/fesm2022/ngwr-textarea.mjs +35 -7
- package/fesm2022/ngwr-textarea.mjs.map +1 -1
- package/fesm2022/ngwr-theme.mjs +3 -3
- package/fesm2022/ngwr-tilt-card.mjs +7 -7
- package/fesm2022/ngwr-tilt-card.mjs.map +1 -1
- package/fesm2022/ngwr-timeline.mjs +6 -6
- package/fesm2022/ngwr-toast-testing.mjs +101 -0
- package/fesm2022/ngwr-toast-testing.mjs.map +1 -0
- package/fesm2022/ngwr-toast.mjs +55 -21
- package/fesm2022/ngwr-toast.mjs.map +1 -1
- package/fesm2022/ngwr-toolbar.mjs +3 -3
- package/fesm2022/ngwr-tour.mjs +67 -15
- package/fesm2022/ngwr-tour.mjs.map +1 -1
- package/fesm2022/ngwr-transfer-testing.mjs +538 -0
- package/fesm2022/ngwr-transfer-testing.mjs.map +1 -0
- package/fesm2022/ngwr-transfer.mjs +47 -16
- package/fesm2022/ngwr-transfer.mjs.map +1 -1
- package/fesm2022/ngwr-tree-testing.mjs +734 -0
- package/fesm2022/ngwr-tree-testing.mjs.map +1 -0
- package/fesm2022/ngwr-tree.mjs +75 -9
- package/fesm2022/ngwr-tree.mjs.map +1 -1
- package/fesm2022/ngwr-typewriter.mjs +7 -5
- package/fesm2022/ngwr-typewriter.mjs.map +1 -1
- package/fesm2022/ngwr-typography.mjs +3 -3
- package/fesm2022/ngwr-version.mjs +1 -1
- package/fesm2022/ngwr-version.mjs.map +1 -1
- package/fesm2022/ngwr-virtual-scroll.mjs +33 -7
- package/fesm2022/ngwr-virtual-scroll.mjs.map +1 -1
- package/fesm2022/ngwr-waves.mjs +5 -5
- package/fesm2022/ngwr-waves.mjs.map +1 -1
- package/fesm2022/ngwr-window.mjs +88 -18
- package/fesm2022/ngwr-window.mjs.map +1 -1
- package/gauge/styles/_index.scss +1 -1
- package/glitch-text/styles/_index.scss +4 -0
- package/i18n/en.json +56 -0
- package/i18n/ru.json +56 -0
- package/image-cropper/styles/_index.scss +13 -1
- package/input/styles/_index.scss +2 -2
- package/input-number/styles/_index.scss +7 -2
- package/knob/styles/_index.scss +8 -1
- package/layout/styles/_index.scss +3 -3
- package/lightbox/styles/_index.scss +10 -2
- package/line-chart/styles/_index.scss +6 -0
- package/llms-full.txt +151 -4
- package/llms.txt +57 -8
- package/loading-bar/styles/_index.scss +1 -2
- package/markdown/styles/_index.scss +296 -0
- package/marquee/styles/_index.scss +12 -0
- package/mcp/api.js +512 -0
- package/mcp/catalog.js +157 -0
- package/mcp/server.js +273 -0
- package/mcp/tools.js +366 -0
- package/meter-group/styles/_index.scss +1 -1
- package/package.json +186 -35
- package/pagination/styles/_index.scss +6 -6
- package/popover/styles/_index.scss +37 -5
- package/rating/styles/_index.scss +10 -0
- package/schematics/use/symbol-map.json +2 -0
- package/segmented/styles/_index.scss +7 -0
- package/select/styles/_index.scss +29 -9
- package/sidebar/styles/_index.scss +30 -5
- package/slider/styles/_index.scss +15 -0
- package/speed-dial/styles/_index.scss +20 -0
- package/split-text/styles/_index.scss +13 -0
- package/star-border/styles/_index.scss +2 -0
- package/stepper/styles/_index.scss +1 -1
- package/styles/_grid.scss +4 -4
- package/styles.scss +1 -0
- package/switch/styles/_index.scss +5 -3
- package/table/styles/_index.scss +22 -11
- package/tabs/styles/_index.scss +11 -1
- package/textarea/styles/_index.scss +5 -0
- package/theme/styles/_colors.scss +29 -13
- package/theme/styles/_dark.scss +11 -3
- package/theme/styles/_mixins.scss +3 -0
- package/timeline/styles/_index.scss +2 -2
- package/toast/styles/_index.scss +17 -8
- package/toolbar/styles/_index.scss +3 -3
- package/tour/styles/_index.scss +7 -1
- package/tree/styles/_index.scss +5 -3
- package/types/ngwr-action-sheet.d.ts +9 -1
- package/types/ngwr-affix.d.ts +7 -1
- package/types/ngwr-anchor.d.ts +8 -1
- package/types/ngwr-avatar.d.ts +13 -3
- package/types/ngwr-bar-chart.d.ts +16 -0
- package/types/ngwr-burger.d.ts +6 -2
- package/types/ngwr-button-testing.d.ts +85 -0
- package/types/ngwr-button.d.ts +58 -10
- package/types/ngwr-calendar-heatmap.d.ts +16 -2
- package/types/ngwr-calendar.d.ts +37 -1
- package/types/ngwr-carousel-testing.d.ts +257 -0
- package/types/ngwr-carousel.d.ts +20 -4
- package/types/ngwr-cascader-testing.d.ts +392 -0
- package/types/ngwr-checkbox-testing.d.ts +77 -0
- package/types/ngwr-checkbox.d.ts +7 -2
- package/types/ngwr-clipboard.d.ts +8 -1
- package/types/ngwr-collapse-testing.d.ts +290 -0
- package/types/ngwr-color-picker.d.ts +20 -11
- package/types/ngwr-command-palette-testing.d.ts +437 -0
- package/types/ngwr-command-palette.d.ts +25 -2
- package/types/ngwr-compare.d.ts +50 -2
- package/types/ngwr-config.d.ts +176 -0
- package/types/ngwr-context-menu-testing.d.ts +401 -0
- package/types/ngwr-context-menu.d.ts +65 -17
- package/types/ngwr-counter.d.ts +6 -1
- package/types/ngwr-date-adapter-luxon.d.ts +26 -0
- package/types/ngwr-date-picker-testing.d.ts +518 -0
- package/types/ngwr-date-picker.d.ts +128 -8
- package/types/ngwr-dialog-testing.d.ts +79 -0
- package/types/ngwr-dialog.d.ts +13 -0
- package/types/ngwr-directives.d.ts +10 -1
- package/types/ngwr-donut-chart.d.ts +8 -1
- package/types/ngwr-drawer-testing.d.ts +196 -0
- package/types/ngwr-drawer.d.ts +15 -0
- package/types/ngwr-dropdown-testing.d.ts +202 -0
- package/types/ngwr-dropdown.d.ts +7 -1
- package/types/ngwr-empty.d.ts +19 -4
- package/types/ngwr-event-calendar.d.ts +26 -1
- package/types/ngwr-file-upload-testing.d.ts +194 -0
- package/types/ngwr-form-testing.d.ts +379 -0
- package/types/ngwr-form.d.ts +17 -0
- package/types/ngwr-gauge.d.ts +13 -1
- package/types/ngwr-hotkey.d.ts +2 -0
- package/types/ngwr-image-cropper.d.ts +10 -0
- package/types/ngwr-input-number-testing.d.ts +226 -0
- package/types/ngwr-input-number.d.ts +29 -1
- package/types/ngwr-input-otp-testing.d.ts +299 -0
- package/types/ngwr-input-otp.d.ts +23 -2
- package/types/ngwr-input-testing.d.ts +84 -0
- package/types/ngwr-input.d.ts +20 -6
- package/types/ngwr-knob.d.ts +18 -0
- package/types/ngwr-layout.d.ts +1 -0
- package/types/ngwr-lightbox.d.ts +17 -3
- package/types/ngwr-line-chart.d.ts +9 -2
- package/types/ngwr-list.d.ts +7 -2
- package/types/ngwr-loading-bar.d.ts +4 -7
- package/types/ngwr-markdown-testing.d.ts +462 -0
- package/types/ngwr-markdown.d.ts +534 -0
- package/types/ngwr-marquee.d.ts +12 -2
- package/types/ngwr-mention-testing.d.ts +359 -0
- package/types/ngwr-meta.d.ts +4 -2
- package/types/ngwr-meter-group.d.ts +11 -1
- package/types/ngwr-overlay.d.ts +33 -2
- package/types/ngwr-pagination-testing.d.ts +291 -0
- package/types/ngwr-pagination.d.ts +7 -1
- package/types/ngwr-popconfirm-testing.d.ts +235 -0
- package/types/ngwr-popconfirm.d.ts +31 -21
- package/types/ngwr-popover-testing.d.ts +221 -0
- package/types/ngwr-popover.d.ts +19 -2
- package/types/ngwr-pull-to-refresh.d.ts +7 -0
- package/types/ngwr-qr.d.ts +9 -1
- package/types/ngwr-radio-testing.d.ts +296 -0
- package/types/ngwr-radio.d.ts +8 -2
- package/types/ngwr-rating-testing.d.ts +291 -0
- package/types/ngwr-rating.d.ts +23 -0
- package/types/ngwr-segmented-testing.d.ts +401 -0
- package/types/ngwr-select-testing.d.ts +175 -0
- package/types/ngwr-select.d.ts +45 -4
- package/types/ngwr-sidebar.d.ts +17 -2
- package/types/ngwr-slider-testing.d.ts +329 -0
- package/types/ngwr-slider.d.ts +35 -1
- package/types/ngwr-sparkline.d.ts +12 -2
- package/types/ngwr-speed-dial.d.ts +17 -18
- package/types/ngwr-spinner.d.ts +8 -1
- package/types/ngwr-splitter.d.ts +24 -1
- package/types/ngwr-statistic.d.ts +12 -2
- package/types/ngwr-stepper-testing.d.ts +346 -0
- package/types/ngwr-storage.d.ts +10 -1
- package/types/ngwr-switch-testing.d.ts +66 -0
- package/types/ngwr-switch.d.ts +7 -2
- package/types/ngwr-table-testing.d.ts +423 -0
- package/types/ngwr-table.d.ts +42 -0
- package/types/ngwr-tabs-testing.d.ts +470 -0
- package/types/ngwr-tabs.d.ts +9 -0
- package/types/ngwr-textarea-testing.d.ts +184 -0
- package/types/ngwr-textarea.d.ts +7 -2
- package/types/ngwr-toast-testing.d.ts +80 -0
- package/types/ngwr-toast.d.ts +19 -4
- package/types/ngwr-tour.d.ts +27 -0
- package/types/ngwr-transfer-testing.d.ts +444 -0
- package/types/ngwr-transfer.d.ts +16 -1
- package/types/ngwr-tree-testing.d.ts +501 -0
- package/types/ngwr-tree.d.ts +33 -0
- package/types/ngwr-version.d.ts +1 -1
- package/types/ngwr-virtual-scroll.d.ts +13 -1
- package/types/ngwr-window.d.ts +23 -2
- package/typewriter/styles/_index.scss +1 -1
- package/typography/styles/_index.scss +1 -1
- package/window/styles/_index.scss +32 -9
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @license
|
|
5
|
+
*
|
|
6
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** Narrows which `<wr-carousel>` a harness query matches. */
|
|
11
|
+
interface WrCarouselHarnessFilters extends BaseHarnessFilters {
|
|
12
|
+
/**
|
|
13
|
+
* Match the carousel's accessible name — a string is an exact match, a RegExp
|
|
14
|
+
* is tested.
|
|
15
|
+
*
|
|
16
|
+
* This is the RESOLVED name, so it matches whatever the page announces: an
|
|
17
|
+
* `ariaLabel` the consumer passed, the `carousel.label` entry of the active
|
|
18
|
+
* `ngwr/i18n` catalog, or the built-in `'Carousel'` when a consumer named
|
|
19
|
+
* neither. A carousel is never nameless, so this option never excludes
|
|
20
|
+
* everything.
|
|
21
|
+
*/
|
|
22
|
+
readonly ariaLabel?: string | RegExp;
|
|
23
|
+
/** Match a carousel holding exactly this many `<wr-carousel-slide>` children. */
|
|
24
|
+
readonly slideCount?: number;
|
|
25
|
+
/** Match a carousel one of whose slides carries this text — exact for a string, tested for a RegExp. */
|
|
26
|
+
readonly slideText?: string | RegExp;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @license
|
|
31
|
+
*
|
|
32
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
33
|
+
* found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Test harness for `<wr-carousel>` — drive the strip the way someone on the page
|
|
38
|
+
* drives it.
|
|
39
|
+
*
|
|
40
|
+
* Everything it reads is public API: the `.wr-carousel__*` elements, the dots'
|
|
41
|
+
* `aria-current`, and the `aria-roledescription` the viewport and each slide
|
|
42
|
+
* publish. Two things are worth knowing before writing an assertion against it:
|
|
43
|
+
*
|
|
44
|
+
* - **The slides do not say which one is showing.** A `<wr-carousel-slide>` carries
|
|
45
|
+
* `role="group"` and `aria-roledescription="slide"` and nothing else — no
|
|
46
|
+
* `aria-current`, no `aria-hidden` on the ones off-screen. The current slide is
|
|
47
|
+
* published in exactly two places, the dot carrying `aria-current="true"` and the
|
|
48
|
+
* track's own offset, and {@link getActiveIndex} reads them in that order. There
|
|
49
|
+
* is likewise no live region: the component announces a move to nobody, so a
|
|
50
|
+
* harness cannot report one.
|
|
51
|
+
* - **It never drags.** The swipe the component supports is a touch gesture
|
|
52
|
+
* measured against the viewport's own width, and jsdom has no layout — that width
|
|
53
|
+
* is 0, so the "20% of the viewport" threshold is 0 too and EVERY drag clears it,
|
|
54
|
+
* a 1px twitch included. The result says nothing about a real finger, and the spec
|
|
55
|
+
* pins that artifact rather than pretending otherwise. Every move here goes
|
|
56
|
+
* through the arrow buttons and the dots instead, which is the accessible path
|
|
57
|
+
* anyway. `carousel.spec.ts` is where the gesture itself is pinned, by staging the
|
|
58
|
+
* touch events and declaring an `offsetWidth`.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* const loader = TestbedHarnessEnvironment.loader(fixture);
|
|
63
|
+
* const gallery = await loader.getHarness(WrCarouselHarness.with({ ariaLabel: 'Gallery' }));
|
|
64
|
+
*
|
|
65
|
+
* expect(await gallery.getSlideCount()).toBe(3);
|
|
66
|
+
* await gallery.next();
|
|
67
|
+
* expect(await gallery.getActiveIndex()).toBe(1);
|
|
68
|
+
*
|
|
69
|
+
* await gallery.goTo(2);
|
|
70
|
+
* expect(await gallery.getActiveSlideText()).toBe('Dunes');
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @see https://ngwr.dev/guides/testing
|
|
74
|
+
*/
|
|
75
|
+
declare class WrCarouselHarness extends ComponentHarness {
|
|
76
|
+
static hostSelector: string;
|
|
77
|
+
/** Build a predicate that narrows the query — pass to `getHarness` / `getAllHarnesses`. */
|
|
78
|
+
static with(options?: WrCarouselHarnessFilters): HarnessPredicate<WrCarouselHarness>;
|
|
79
|
+
/**
|
|
80
|
+
* The role the strip announces — `group`, which is what lets
|
|
81
|
+
* `aria-roledescription` mean anything.
|
|
82
|
+
*
|
|
83
|
+
* Read off the VIEWPORT rather than the host, and that is the whole point of the
|
|
84
|
+
* pairing: `aria-roledescription` is dropped on an element with no semantic role,
|
|
85
|
+
* and the host element (`<wr-carousel>`) has none.
|
|
86
|
+
*/
|
|
87
|
+
getRole(): Promise<string | null>;
|
|
88
|
+
/** How the strip describes itself to a screen reader — `carousel`. */
|
|
89
|
+
getRoleDescription(): Promise<string | null>;
|
|
90
|
+
/**
|
|
91
|
+
* The carousel's accessible name.
|
|
92
|
+
*
|
|
93
|
+
* The RESOLVED one, which is the only one the page has: the `ariaLabel` input
|
|
94
|
+
* defaults to `null` and the component runs it through the `ngwr/i18n` catalog
|
|
95
|
+
* (`carousel.label`, falling back to `'Carousel'`), so a consumer who passed
|
|
96
|
+
* nothing still gets a named group and this still answers. Reporting the raw
|
|
97
|
+
* input would say `null` about a carousel that announces itself perfectly well.
|
|
98
|
+
*/
|
|
99
|
+
getAccessibleName(): Promise<string | null>;
|
|
100
|
+
/** The accessible name of the previous-slide button. Throws when the arrows are not rendered. */
|
|
101
|
+
getPreviousLabel(): Promise<string | null>;
|
|
102
|
+
/** The accessible name of the next-slide button. Throws when the arrows are not rendered. */
|
|
103
|
+
getNextLabel(): Promise<string | null>;
|
|
104
|
+
/**
|
|
105
|
+
* The accessible name of the dot group — what names the row of dots as a set
|
|
106
|
+
* rather than leaving a screen reader with N unexplained buttons.
|
|
107
|
+
*
|
|
108
|
+
* Throws when the dots are not rendered: there is no group to name then, and a
|
|
109
|
+
* `null` would read like a group that lost its label.
|
|
110
|
+
*/
|
|
111
|
+
getPaginationLabel(): Promise<string | null>;
|
|
112
|
+
/**
|
|
113
|
+
* What each slide announces itself as — `slide`, on every one of them, in DOM
|
|
114
|
+
* order.
|
|
115
|
+
*
|
|
116
|
+
* The one piece of ARIA the slides carry, and the reason it is worth asking: it
|
|
117
|
+
* is set on the slide component's own host, so a slide reaching the page through
|
|
118
|
+
* some other element would come back `null` here while the carousel kept working.
|
|
119
|
+
*/
|
|
120
|
+
getSlideRoleDescriptions(): Promise<(string | null)[]>;
|
|
121
|
+
/** How many slides the carousel holds. */
|
|
122
|
+
getSlideCount(): Promise<number>;
|
|
123
|
+
/** The text of every slide, in DOM order. */
|
|
124
|
+
getSlideTexts(): Promise<string[]>;
|
|
125
|
+
/**
|
|
126
|
+
* Which slide is showing, as a zero-based index.
|
|
127
|
+
*
|
|
128
|
+
* Taken from the dot carrying `aria-current="true"` whenever the dots are
|
|
129
|
+
* rendered — that attribute is the only thing on the page that tells a screen
|
|
130
|
+
* reader where in the strip it has got to, so it is the answer that matters —
|
|
131
|
+
* and derived from the track's rendered offset when they are not, `[showDots]`
|
|
132
|
+
* being off and a single-slide carousel both dropping the strip entirely.
|
|
133
|
+
*
|
|
134
|
+
* That fallback takes the MAGNITUDE of the offset on purpose. The transform is
|
|
135
|
+
* physical while the slides sit on the inline axis, so a mirrored carousel paints
|
|
136
|
+
* `translateX(100%)` for the very slide an LTR one paints `translateX(-100%)`
|
|
137
|
+
* for; signed, this reported slide -1 for a perfectly healthy RTL carousel.
|
|
138
|
+
*
|
|
139
|
+
* Throws on a carousel with no slides at all — nothing is showing there, and `0`
|
|
140
|
+
* would read like the first slide.
|
|
141
|
+
*/
|
|
142
|
+
getActiveIndex(): Promise<number>;
|
|
143
|
+
/** The text of the slide that is showing. Throws on a carousel with no slides. */
|
|
144
|
+
getActiveSlideText(): Promise<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The track's rendered offset, as a percentage of one viewport: `-100` for the
|
|
147
|
+
* second slide of an LTR carousel, `+100` for the second slide of a mirrored one.
|
|
148
|
+
*
|
|
149
|
+
* Read off the inline `style` attribute rather than through `getCssValue()`,
|
|
150
|
+
* because the percentage only survives where the component wrote it. jsdom hands
|
|
151
|
+
* a declared `transform` straight back through `getComputedStyle`, so
|
|
152
|
+
* `getCssValue()` answers correctly HERE and would stop the moment the same
|
|
153
|
+
* harness ran against a real browser, which resolves the property to a pixel
|
|
154
|
+
* matrix — a green unit test would be hiding it. Mid-drag the component writes
|
|
155
|
+
* `translateX(calc(-100% + 12px))` and this reports the settled `-100`: the pixel
|
|
156
|
+
* half is the finger's own displacement, which is physical in both directions and
|
|
157
|
+
* belongs to no slide.
|
|
158
|
+
*
|
|
159
|
+
* Worth asserting next to {@link getActiveIndex}: it is the same fact painted
|
|
160
|
+
* instead of announced, and a carousel that lights the right dot while parking
|
|
161
|
+
* the track in blank space is exactly the failure nobody sees in a spec.
|
|
162
|
+
*/
|
|
163
|
+
getTrackOffsetPercent(): Promise<number>;
|
|
164
|
+
/** Whether the prev / next arrows are on the page. Both are dropped together. */
|
|
165
|
+
hasArrows(): Promise<boolean>;
|
|
166
|
+
/** Whether the dot strip is on the page. */
|
|
167
|
+
hasDots(): Promise<boolean>;
|
|
168
|
+
/** How many dots are rendered — one per slide, or `0` while the strip is hidden. */
|
|
169
|
+
getDotCount(): Promise<number>;
|
|
170
|
+
/**
|
|
171
|
+
* The accessible name of every dot, in order — `'Go to slide 1'`, … resolved
|
|
172
|
+
* through the `ngwr/i18n` catalog.
|
|
173
|
+
*
|
|
174
|
+
* A dot is a bare button with no text of its own, so this label is all a screen
|
|
175
|
+
* reader has to tell one from another. `[]` when the strip is hidden, matching
|
|
176
|
+
* {@link getDotCount}.
|
|
177
|
+
*/
|
|
178
|
+
getDotLabels(): Promise<(string | null)[]>;
|
|
179
|
+
/**
|
|
180
|
+
* Click the next-slide arrow.
|
|
181
|
+
*
|
|
182
|
+
* "Next" is the next SLIDE, not the next thing on the right: the buttons keep
|
|
183
|
+
* their semantics under `dir="rtl"` and only the travel under them turns around.
|
|
184
|
+
* At the last slide this wraps to the first one, unless `[loop]` is off — in
|
|
185
|
+
* which case it legitimately does nothing, so nothing is asserted about the move.
|
|
186
|
+
*/
|
|
187
|
+
next(): Promise<void>;
|
|
188
|
+
/** Click the previous-slide arrow. Wraps to the last slide unless `[loop]` is off. */
|
|
189
|
+
previous(): Promise<void>;
|
|
190
|
+
/**
|
|
191
|
+
* Jump to a slide by clicking its dot — the only way the page offers to reach a
|
|
192
|
+
* slide directly.
|
|
193
|
+
*
|
|
194
|
+
* Throws when the dots are hidden (the component's own `goTo()` is still there
|
|
195
|
+
* for a spec holding the instance, but nothing on the page can be clicked) and
|
|
196
|
+
* throws on an index no slide has, rather than clicking nothing and leaving the
|
|
197
|
+
* carousel where it was.
|
|
198
|
+
*/
|
|
199
|
+
goTo(index: number): Promise<void>;
|
|
200
|
+
/**
|
|
201
|
+
* Move the pointer onto the carousel, which is what HOLDS autoplay.
|
|
202
|
+
*
|
|
203
|
+
* Aimed at the host and not the viewport, deliberately: the arrows and the dots
|
|
204
|
+
* are the viewport's SIBLINGS, so a viewport-scoped hover would let a slide
|
|
205
|
+
* change under a cursor that is aiming at an arrow.
|
|
206
|
+
*/
|
|
207
|
+
hover(): Promise<void>;
|
|
208
|
+
/** Move the pointer away again, releasing the hold. */
|
|
209
|
+
mouseAway(): Promise<void>;
|
|
210
|
+
/**
|
|
211
|
+
* Put keyboard focus on the first control the carousel renders — the previous
|
|
212
|
+
* arrow, or the first dot when the arrows are hidden.
|
|
213
|
+
*
|
|
214
|
+
* This is the keyboard half of the autoplay hold: WCAG 2.2.2 wants a way to stop
|
|
215
|
+
* moving content, and hovering is not one for someone who never touches a mouse,
|
|
216
|
+
* so the component listens for `focusin` on its host as well. Focus lands on the
|
|
217
|
+
* carousel's OWN controls; anything focusable a slide happens to project is not
|
|
218
|
+
* this harness's business, though in a browser it would hold autoplay just the
|
|
219
|
+
* same.
|
|
220
|
+
*
|
|
221
|
+
* Note what this is NOT: the dot of the slide showing. The dots are ordinary
|
|
222
|
+
* buttons with no roving `tabindex`, so each of them is a tab stop of its own and
|
|
223
|
+
* the first one a Tab press meets is the prev arrow whatever slide is current —
|
|
224
|
+
* two different questions, answered here and by {@link getActiveIndex}.
|
|
225
|
+
*
|
|
226
|
+
* Throws when the carousel renders no controls at all, because then there is
|
|
227
|
+
* nothing for a Tab press to land on and no keyboard mechanism to assert.
|
|
228
|
+
*/
|
|
229
|
+
focus(): Promise<void>;
|
|
230
|
+
/**
|
|
231
|
+
* Take focus off whichever of the carousel's controls holds it, releasing the
|
|
232
|
+
* hold {@link focus} started.
|
|
233
|
+
*
|
|
234
|
+
* Throws when none of them is focused: `focusout` is what the component listens
|
|
235
|
+
* for, and blurring an element that never had focus fires nothing — a quiet
|
|
236
|
+
* no-op here surfaces as an autoplay assertion failing three lines later.
|
|
237
|
+
*/
|
|
238
|
+
blur(): Promise<void>;
|
|
239
|
+
/** Whether one of the carousel's own controls holds focus — which is what holds autoplay. */
|
|
240
|
+
isFocused(): Promise<boolean>;
|
|
241
|
+
/** The element that carries the carousel's role and name. */
|
|
242
|
+
private viewport;
|
|
243
|
+
/** The moving strip, whose inline transform is where the carousel IS. */
|
|
244
|
+
private track;
|
|
245
|
+
private slides;
|
|
246
|
+
private dots;
|
|
247
|
+
/**
|
|
248
|
+
* Every control the carousel renders itself, in the order a Tab press meets
|
|
249
|
+
* them: the two arrows, then the dots.
|
|
250
|
+
*/
|
|
251
|
+
private controls;
|
|
252
|
+
/** One arrow, or a failure naming both reasons it might not be there. */
|
|
253
|
+
private nav;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export { WrCarouselHarness };
|
|
257
|
+
export type { WrCarouselHarnessFilters };
|
package/types/ngwr-carousel.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as ngwr_i18n from 'ngwr/i18n';
|
|
1
2
|
import * as _angular_core from '@angular/core';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -25,7 +26,6 @@ declare class WrCarouselSlide {
|
|
|
25
26
|
* @see https://ngwr.dev/reference/components/carousel
|
|
26
27
|
*/
|
|
27
28
|
declare class WrCarousel {
|
|
28
|
-
/** Active slide index. Two-way bindable. @default 0 */
|
|
29
29
|
/** Accessible name of the previous-slide button. Falls back to `carousel.prev`. */
|
|
30
30
|
readonly prevLabel: _angular_core.InputSignal<string | null>;
|
|
31
31
|
/** Accessible name of the next-slide button. Falls back to `carousel.next`. */
|
|
@@ -35,6 +35,11 @@ declare class WrCarousel {
|
|
|
35
35
|
protected readonly resolvedPrevLabel: _angular_core.Signal<string>;
|
|
36
36
|
protected readonly resolvedNextLabel: _angular_core.Signal<string>;
|
|
37
37
|
protected readonly resolvedPaginationLabel: _angular_core.Signal<string>;
|
|
38
|
+
/** Accessible name of the carousel itself. Falls back to `carousel.label`. */
|
|
39
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
40
|
+
protected readonly resolvedAriaLabel: _angular_core.Signal<string>;
|
|
41
|
+
protected readonly slideLabel: (params?: ngwr_i18n.WrI18nParams) => string;
|
|
42
|
+
/** Active slide index. Two-way bindable. @default 0 */
|
|
38
43
|
readonly active: _angular_core.ModelSignal<number>;
|
|
39
44
|
/** Show prev / next arrow buttons. @default true */
|
|
40
45
|
readonly showArrows: _angular_core.InputSignalWithTransform<boolean, any>;
|
|
@@ -51,14 +56,25 @@ declare class WrCarousel {
|
|
|
51
56
|
/** Live horizontal drag offset (px) during a touch swipe. */
|
|
52
57
|
protected readonly dragX: _angular_core.WritableSignal<number>;
|
|
53
58
|
protected readonly dragging: _angular_core.WritableSignal<boolean>;
|
|
59
|
+
private readonly dir;
|
|
60
|
+
/**
|
|
61
|
+
* Reading direction of the track. `Directionality` is root-provided, so this
|
|
62
|
+
* always resolves — `optional` only guards a consumer who has deliberately
|
|
63
|
+
* torn the provider out. It reads the document once at construction; a
|
|
64
|
+
* subtree that overrides the direction does it with the CDK's `Dir`
|
|
65
|
+
* directive, which writes `valueSignal`, so `trackStyle` re-renders instead
|
|
66
|
+
* of leaving the track parked on the old side.
|
|
67
|
+
*/
|
|
68
|
+
private readonly isRtl;
|
|
54
69
|
/** CSS transform for the track — the per-slide offset plus any live drag. */
|
|
55
70
|
protected readonly trackStyle: _angular_core.Signal<string>;
|
|
56
71
|
private timer;
|
|
57
72
|
private readonly paused;
|
|
58
73
|
private readonly destroyRef;
|
|
74
|
+
private readonly isBrowser;
|
|
59
75
|
constructor();
|
|
60
|
-
protected
|
|
61
|
-
protected
|
|
76
|
+
protected onPauseIn(): void;
|
|
77
|
+
protected onPauseOut(): void;
|
|
62
78
|
goTo(index: number): void;
|
|
63
79
|
next(): void;
|
|
64
80
|
prev(): void;
|
|
@@ -67,7 +83,7 @@ declare class WrCarousel {
|
|
|
67
83
|
protected onSwipeMove(event: TouchEvent): void;
|
|
68
84
|
protected onSwipeEnd(event: TouchEvent, viewport: HTMLElement): void;
|
|
69
85
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WrCarousel, never>;
|
|
70
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrCarousel, "wr-carousel", never, { "prevLabel": { "alias": "prevLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "paginationLabel": { "alias": "paginationLabel"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "showArrows": { "alias": "showArrows"; "required": false; "isSignal": true; }; "showDots": { "alias": "showDots"; "required": false; "isSignal": true; }; "autoplay": { "alias": "autoplay"; "required": false; "isSignal": true; }; "intervalMs": { "alias": "intervalMs"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, ["slides"], ["*"], true, never>;
|
|
86
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WrCarousel, "wr-carousel", never, { "prevLabel": { "alias": "prevLabel"; "required": false; "isSignal": true; }; "nextLabel": { "alias": "nextLabel"; "required": false; "isSignal": true; }; "paginationLabel": { "alias": "paginationLabel"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "showArrows": { "alias": "showArrows"; "required": false; "isSignal": true; }; "showDots": { "alias": "showDots"; "required": false; "isSignal": true; }; "autoplay": { "alias": "autoplay"; "required": false; "isSignal": true; }; "intervalMs": { "alias": "intervalMs"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, ["slides"], ["*"], true, never>;
|
|
71
87
|
}
|
|
72
88
|
|
|
73
89
|
export { WrCarousel, WrCarouselSlide };
|