@slotted/angular 0.0.0-stage → 0.1.0-beta.1
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/LICENSE +21 -0
- package/README.md +51 -2
- package/docs/AGENTS.snippet.md +10 -0
- package/docs/accordion.json +345 -0
- package/docs/accordion.md +207 -0
- package/docs/action-bar.json +421 -0
- package/docs/action-bar.md +364 -0
- package/docs/action-sheet.json +210 -0
- package/docs/action-sheet.md +19 -0
- package/docs/alert.json +407 -0
- package/docs/alert.md +239 -0
- package/docs/app-shell.examples.md +349 -0
- package/docs/app-shell.json +835 -0
- package/docs/app-shell.md +214 -0
- package/docs/aspect-ratio.json +159 -0
- package/docs/aspect-ratio.md +134 -0
- package/docs/attachment.json +486 -0
- package/docs/attachment.md +253 -0
- package/docs/avatar-group.json +208 -0
- package/docs/avatar-group.md +130 -0
- package/docs/avatar.json +342 -0
- package/docs/avatar.md +142 -0
- package/docs/badge.json +334 -0
- package/docs/badge.md +138 -0
- package/docs/breadcrumb.json +368 -0
- package/docs/breadcrumb.md +237 -0
- package/docs/button-group.json +158 -0
- package/docs/button-group.md +72 -0
- package/docs/button.examples.md +621 -0
- package/docs/button.json +977 -0
- package/docs/button.md +200 -0
- package/docs/calendar.json +592 -0
- package/docs/calendar.md +242 -0
- package/docs/card.json +283 -0
- package/docs/card.md +130 -0
- package/docs/carousel.json +560 -0
- package/docs/carousel.md +357 -0
- package/docs/cascader.json +933 -0
- package/docs/cascader.md +379 -0
- package/docs/chart.examples.md +582 -0
- package/docs/chart.json +1359 -0
- package/docs/chart.md +187 -0
- package/docs/checkbox-group.examples.md +612 -0
- package/docs/checkbox-group.json +395 -0
- package/docs/checkbox-group.md +106 -0
- package/docs/checkbox.examples.md +546 -0
- package/docs/checkbox.json +506 -0
- package/docs/checkbox.md +104 -0
- package/docs/code-block.json +616 -0
- package/docs/code-block.md +303 -0
- package/docs/collapsible.json +456 -0
- package/docs/collapsible.md +261 -0
- package/docs/color-picker.json +523 -0
- package/docs/color-picker.md +201 -0
- package/docs/column-manager.json +486 -0
- package/docs/column-manager.md +277 -0
- package/docs/combobox.examples.md +1732 -0
- package/docs/combobox.json +1250 -0
- package/docs/combobox.md +209 -0
- package/docs/command-palette.json +800 -0
- package/docs/command-palette.md +419 -0
- package/docs/container.json +156 -0
- package/docs/container.md +92 -0
- package/docs/context-menu.json +231 -0
- package/docs/context-menu.md +176 -0
- package/docs/currency-field.examples.md +321 -0
- package/docs/currency-field.json +649 -0
- package/docs/currency-field.md +128 -0
- package/docs/dashboard-grid.json +680 -0
- package/docs/dashboard-grid.md +265 -0
- package/docs/data-grid.examples.md +3064 -0
- package/docs/data-grid.json +1577 -0
- package/docs/data-grid.md +237 -0
- package/docs/data-grid.props.md +81 -0
- package/docs/data-list.json +685 -0
- package/docs/data-list.md +327 -0
- package/docs/date-field.json +490 -0
- package/docs/date-field.md +235 -0
- package/docs/date-picker.examples.md +1226 -0
- package/docs/date-picker.json +696 -0
- package/docs/date-picker.md +121 -0
- package/docs/date-range-picker.examples.md +1300 -0
- package/docs/date-range-picker.json +903 -0
- package/docs/date-range-picker.md +142 -0
- package/docs/datetime-field.json +665 -0
- package/docs/datetime-field.md +337 -0
- package/docs/datetime-picker.examples.md +1269 -0
- package/docs/datetime-picker.json +928 -0
- package/docs/datetime-picker.md +150 -0
- package/docs/datetime-range-picker.examples.md +225 -0
- package/docs/datetime-range-picker.json +1015 -0
- package/docs/datetime-range-picker.md +162 -0
- package/docs/description-list.json +471 -0
- package/docs/description-list.md +268 -0
- package/docs/detail-panel.json +530 -0
- package/docs/detail-panel.md +361 -0
- package/docs/dialog.examples.md +2467 -0
- package/docs/dialog.json +1141 -0
- package/docs/dialog.md +217 -0
- package/docs/dialog.props.md +63 -0
- package/docs/divider.json +148 -0
- package/docs/divider.md +83 -0
- package/docs/drawer.examples.md +1929 -0
- package/docs/drawer.json +753 -0
- package/docs/drawer.md +199 -0
- package/docs/entity-picker.json +946 -0
- package/docs/entity-picker.md +365 -0
- package/docs/event-calendar.examples.md +308 -0
- package/docs/event-calendar.json +1202 -0
- package/docs/event-calendar.md +201 -0
- package/docs/field-group.json +333 -0
- package/docs/field-group.md +181 -0
- package/docs/field.examples.md +676 -0
- package/docs/field.json +528 -0
- package/docs/field.md +127 -0
- package/docs/filter-bar.json +817 -0
- package/docs/filter-bar.md +380 -0
- package/docs/form.json +378 -0
- package/docs/form.md +235 -0
- package/docs/fullscreen.json +395 -0
- package/docs/fullscreen.md +225 -0
- package/docs/grid.json +176 -0
- package/docs/grid.md +74 -0
- package/docs/highlight.json +279 -0
- package/docs/highlight.md +210 -0
- package/docs/hover-card.json +254 -0
- package/docs/hover-card.md +213 -0
- package/docs/icon.json +173 -0
- package/docs/icon.md +101 -0
- package/docs/image.json +476 -0
- package/docs/image.md +254 -0
- package/docs/import-export-center.json +836 -0
- package/docs/import-export-center.md +345 -0
- package/docs/index.md +141 -0
- package/docs/inline-message.json +312 -0
- package/docs/inline-message.md +191 -0
- package/docs/inline.json +149 -0
- package/docs/inline.md +72 -0
- package/docs/kbd.json +350 -0
- package/docs/kbd.md +210 -0
- package/docs/link.json +264 -0
- package/docs/link.md +167 -0
- package/docs/list-item.json +463 -0
- package/docs/list-item.md +236 -0
- package/docs/list.json +321 -0
- package/docs/list.md +185 -0
- package/docs/listbox.json +807 -0
- package/docs/listbox.md +413 -0
- package/docs/loading-overlay.json +440 -0
- package/docs/loading-overlay.md +248 -0
- package/docs/markdown.json +461 -0
- package/docs/markdown.md +266 -0
- package/docs/menu.examples.md +1651 -0
- package/docs/menu.json +922 -0
- package/docs/menu.md +155 -0
- package/docs/menubar.json +292 -0
- package/docs/menubar.md +173 -0
- package/docs/message-scroller.json +401 -0
- package/docs/message-scroller.md +212 -0
- package/docs/message.json +862 -0
- package/docs/message.md +473 -0
- package/docs/multi-select.examples.md +1922 -0
- package/docs/multi-select.json +1314 -0
- package/docs/multi-select.md +213 -0
- package/docs/navigation-menu.json +529 -0
- package/docs/navigation-menu.md +329 -0
- package/docs/notification-center.json +664 -0
- package/docs/notification-center.md +372 -0
- package/docs/number-field.examples.md +1078 -0
- package/docs/number-field.json +668 -0
- package/docs/number-field.md +137 -0
- package/docs/otp-input.json +479 -0
- package/docs/otp-input.md +291 -0
- package/docs/page-header.json +574 -0
- package/docs/page-header.md +338 -0
- package/docs/page.json +332 -0
- package/docs/page.md +184 -0
- package/docs/pagination.json +434 -0
- package/docs/pagination.md +238 -0
- package/docs/popover.examples.md +1235 -0
- package/docs/popover.json +656 -0
- package/docs/popover.md +199 -0
- package/docs/progress-indicator.json +501 -0
- package/docs/progress-indicator.md +329 -0
- package/docs/prompt-composer.json +498 -0
- package/docs/prompt-composer.md +278 -0
- package/docs/prose.json +357 -0
- package/docs/prose.md +226 -0
- package/docs/radio-group.examples.md +626 -0
- package/docs/radio-group.json +541 -0
- package/docs/radio-group.md +112 -0
- package/docs/rating.json +1053 -0
- package/docs/rating.md +435 -0
- package/docs/result-state.json +376 -0
- package/docs/result-state.md +286 -0
- package/docs/saved-views.json +384 -0
- package/docs/saved-views.md +242 -0
- package/docs/scroll-area.json +120 -0
- package/docs/scroll-area.md +8 -0
- package/docs/section.json +344 -0
- package/docs/section.md +208 -0
- package/docs/segmented-control.json +429 -0
- package/docs/segmented-control.md +240 -0
- package/docs/select.examples.md +1214 -0
- package/docs/select.json +1147 -0
- package/docs/select.md +199 -0
- package/docs/side-navigation.json +632 -0
- package/docs/side-navigation.md +430 -0
- package/docs/skeleton.json +358 -0
- package/docs/skeleton.md +223 -0
- package/docs/slider.json +522 -0
- package/docs/slider.md +261 -0
- package/docs/sparkline.json +426 -0
- package/docs/sparkline.md +206 -0
- package/docs/split-button.json +361 -0
- package/docs/split-button.md +275 -0
- package/docs/splitter.json +142 -0
- package/docs/splitter.md +14 -0
- package/docs/stack.json +135 -0
- package/docs/stack.md +74 -0
- package/docs/stat-card.json +529 -0
- package/docs/stat-card.md +270 -0
- package/docs/status-indicator.json +314 -0
- package/docs/status-indicator.md +197 -0
- package/docs/stepper.json +451 -0
- package/docs/stepper.md +250 -0
- package/docs/switch.json +451 -0
- package/docs/switch.md +508 -0
- package/docs/table-of-contents.json +553 -0
- package/docs/table-of-contents.md +289 -0
- package/docs/table.examples.md +1981 -0
- package/docs/table.json +1059 -0
- package/docs/table.md +290 -0
- package/docs/tabs.examples.md +1370 -0
- package/docs/tabs.json +661 -0
- package/docs/tabs.md +211 -0
- package/docs/tag.json +813 -0
- package/docs/tag.md +241 -0
- package/docs/tags-input.json +771 -0
- package/docs/tags-input.md +361 -0
- package/docs/text-field.examples.md +821 -0
- package/docs/text-field.json +604 -0
- package/docs/text-field.md +125 -0
- package/docs/textarea.examples.md +612 -0
- package/docs/textarea.json +440 -0
- package/docs/textarea.md +98 -0
- package/docs/time-field.json +584 -0
- package/docs/time-field.md +291 -0
- package/docs/time-picker.json +679 -0
- package/docs/time-picker.md +315 -0
- package/docs/time-range-picker.examples.md +191 -0
- package/docs/time-range-picker.json +924 -0
- package/docs/time-range-picker.md +152 -0
- package/docs/timeline.json +839 -0
- package/docs/timeline.md +401 -0
- package/docs/toast.json +642 -0
- package/docs/toast.md +311 -0
- package/docs/toggle-group.json +417 -0
- package/docs/toggle-group.md +255 -0
- package/docs/toggle.json +326 -0
- package/docs/toggle.md +222 -0
- package/docs/toolbar.json +380 -0
- package/docs/toolbar.md +240 -0
- package/docs/tooltip.examples.md +664 -0
- package/docs/tooltip.json +604 -0
- package/docs/tooltip.md +146 -0
- package/docs/top-navigation.examples.md +287 -0
- package/docs/top-navigation.json +648 -0
- package/docs/top-navigation.md +138 -0
- package/docs/tour.json +759 -0
- package/docs/tour.md +337 -0
- package/docs/transfer.json +746 -0
- package/docs/transfer.md +273 -0
- package/docs/tree.json +918 -0
- package/docs/tree.md +397 -0
- package/docs/typography.json +317 -0
- package/docs/typography.md +107 -0
- package/docs/upload.examples.md +358 -0
- package/docs/upload.json +1103 -0
- package/docs/upload.md +166 -0
- package/docs/visually-hidden.json +71 -0
- package/docs/visually-hidden.md +42 -0
- package/docs/wizard.json +724 -0
- package/docs/wizard.md +295 -0
- package/fesm2022/slotted-angular-accordion.mjs +247 -0
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-bar.mjs +639 -0
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-sheet.mjs +749 -0
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -0
- package/fesm2022/slotted-angular-alert.mjs +427 -0
- package/fesm2022/slotted-angular-alert.mjs.map +1 -0
- package/fesm2022/slotted-angular-app-shell.mjs +1334 -0
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs +63 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -0
- package/fesm2022/slotted-angular-attachment.mjs +595 -0
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar-group.mjs +230 -0
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar.mjs +330 -0
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -0
- package/fesm2022/slotted-angular-badge.mjs +255 -0
- package/fesm2022/slotted-angular-badge.mjs.map +1 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs +544 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -0
- package/fesm2022/slotted-angular-button-group.mjs +146 -0
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-button.mjs +692 -0
- package/fesm2022/slotted-angular-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-calendar.mjs +916 -0
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-card.mjs +225 -0
- package/fesm2022/slotted-angular-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-carousel.mjs +840 -0
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -0
- package/fesm2022/slotted-angular-cascader.mjs +1839 -0
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -0
- package/fesm2022/slotted-angular-chart.mjs +974 -0
- package/fesm2022/slotted-angular-chart.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs +283 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox.mjs +468 -0
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-code-block.mjs +476 -0
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -0
- package/fesm2022/slotted-angular-collapsible.mjs +479 -0
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -0
- package/fesm2022/slotted-angular-color-picker.mjs +910 -0
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-column-manager.mjs +1037 -0
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -0
- package/fesm2022/slotted-angular-combobox.mjs +1480 -0
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -0
- package/fesm2022/slotted-angular-command-palette.mjs +1283 -0
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -0
- package/fesm2022/slotted-angular-container.mjs +105 -0
- package/fesm2022/slotted-angular-container.mjs.map +1 -0
- package/fesm2022/slotted-angular-context-menu.mjs +221 -0
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-currency-field.mjs +1131 -0
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs +1928 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-grid.mjs +6697 -0
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-list.mjs +1418 -0
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-field.mjs +772 -0
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-picker.mjs +690 -0
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs +1150 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-field.mjs +1058 -0
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs +1362 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +1872 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-description-list.mjs +545 -0
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-detail-panel.mjs +754 -0
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -0
- package/fesm2022/slotted-angular-dialog.mjs +980 -0
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -0
- package/fesm2022/slotted-angular-divider.mjs +76 -0
- package/fesm2022/slotted-angular-divider.mjs.map +1 -0
- package/fesm2022/slotted-angular-drawer.mjs +1397 -0
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -0
- package/fesm2022/slotted-angular-entity-picker.mjs +1987 -0
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-event-calendar.mjs +2934 -0
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-field-group.mjs +301 -0
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-field.mjs +928 -0
- package/fesm2022/slotted-angular-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-filter-bar.mjs +3107 -0
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-form.mjs +592 -0
- package/fesm2022/slotted-angular-form.mjs.map +1 -0
- package/fesm2022/slotted-angular-fullscreen.mjs +314 -0
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -0
- package/fesm2022/slotted-angular-grid.mjs +58 -0
- package/fesm2022/slotted-angular-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-highlight.mjs +123 -0
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -0
- package/fesm2022/slotted-angular-hover-card.mjs +326 -0
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-i18n.mjs +75 -0
- package/fesm2022/slotted-angular-i18n.mjs.map +1 -0
- package/fesm2022/slotted-angular-icon.mjs +232 -0
- package/fesm2022/slotted-angular-icon.mjs.map +1 -0
- package/fesm2022/slotted-angular-image.mjs +442 -0
- package/fesm2022/slotted-angular-image.mjs.map +1 -0
- package/fesm2022/slotted-angular-import-export-center.mjs +1792 -0
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline-message.mjs +280 -0
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline.mjs +52 -0
- package/fesm2022/slotted-angular-inline.mjs.map +1 -0
- package/fesm2022/slotted-angular-kbd.mjs +284 -0
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -0
- package/fesm2022/slotted-angular-link.mjs +182 -0
- package/fesm2022/slotted-angular-link.mjs.map +1 -0
- package/fesm2022/slotted-angular-list-item.mjs +367 -0
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -0
- package/fesm2022/slotted-angular-list.mjs +256 -0
- package/fesm2022/slotted-angular-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-listbox.mjs +1274 -0
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs +451 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -0
- package/fesm2022/slotted-angular-markdown.mjs +914 -0
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -0
- package/fesm2022/slotted-angular-menu.mjs +1211 -0
- package/fesm2022/slotted-angular-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-menubar.mjs +230 -0
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -0
- package/fesm2022/slotted-angular-message-scroller.mjs +378 -0
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -0
- package/fesm2022/slotted-angular-message.mjs +866 -0
- package/fesm2022/slotted-angular-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-multi-select.mjs +1939 -0
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs +770 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-notification-center.mjs +1172 -0
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-number-field.mjs +966 -0
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-otp-input.mjs +629 -0
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-page-header.mjs +788 -0
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -0
- package/fesm2022/slotted-angular-page.mjs +255 -0
- package/fesm2022/slotted-angular-page.mjs.map +1 -0
- package/fesm2022/slotted-angular-pagination.mjs +562 -0
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -0
- package/fesm2022/slotted-angular-popover.mjs +799 -0
- package/fesm2022/slotted-angular-popover.mjs.map +1 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs +572 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs +596 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -0
- package/fesm2022/slotted-angular-prose.mjs +314 -0
- package/fesm2022/slotted-angular-prose.mjs.map +1 -0
- package/fesm2022/slotted-angular-radio-group.mjs +469 -0
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-rating.mjs +1174 -0
- package/fesm2022/slotted-angular-rating.mjs.map +1 -0
- package/fesm2022/slotted-angular-result-state.mjs +330 -0
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -0
- package/fesm2022/slotted-angular-saved-views.mjs +877 -0
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -0
- package/fesm2022/slotted-angular-scroll-area.mjs +294 -0
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -0
- package/fesm2022/slotted-angular-section.mjs +266 -0
- package/fesm2022/slotted-angular-section.mjs.map +1 -0
- package/fesm2022/slotted-angular-segmented-control.mjs +454 -0
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -0
- package/fesm2022/slotted-angular-select.mjs +1899 -0
- package/fesm2022/slotted-angular-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-side-navigation.mjs +1042 -0
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-skeleton.mjs +316 -0
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -0
- package/fesm2022/slotted-angular-slider.mjs +586 -0
- package/fesm2022/slotted-angular-slider.mjs.map +1 -0
- package/fesm2022/slotted-angular-sparkline.mjs +235 -0
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -0
- package/fesm2022/slotted-angular-split-button.mjs +331 -0
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-splitter.mjs +516 -0
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -0
- package/fesm2022/slotted-angular-stack.mjs +48 -0
- package/fesm2022/slotted-angular-stack.mjs.map +1 -0
- package/fesm2022/slotted-angular-stat-card.mjs +478 -0
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-status-indicator.mjs +155 -0
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-stepper.mjs +536 -0
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -0
- package/fesm2022/slotted-angular-switch.mjs +447 -0
- package/fesm2022/slotted-angular-switch.mjs.map +1 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs +750 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -0
- package/fesm2022/slotted-angular-table.mjs +2518 -0
- package/fesm2022/slotted-angular-table.mjs.map +1 -0
- package/fesm2022/slotted-angular-tabs.mjs +829 -0
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -0
- package/fesm2022/slotted-angular-tag.mjs +595 -0
- package/fesm2022/slotted-angular-tag.mjs.map +1 -0
- package/fesm2022/slotted-angular-tags-input.mjs +1211 -0
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-text-field.mjs +674 -0
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-textarea.mjs +275 -0
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -0
- package/fesm2022/slotted-angular-theme.mjs +45 -0
- package/fesm2022/slotted-angular-theme.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-field.mjs +895 -0
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-picker.mjs +856 -0
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs +1534 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-timeline.mjs +928 -0
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -0
- package/fesm2022/slotted-angular-toast.mjs +917 -0
- package/fesm2022/slotted-angular-toast.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle-group.mjs +311 -0
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle.mjs +162 -0
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -0
- package/fesm2022/slotted-angular-toolbar.mjs +536 -0
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -0
- package/fesm2022/slotted-angular-tooltip.mjs +798 -0
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -0
- package/fesm2022/slotted-angular-top-navigation.mjs +1308 -0
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-tour.mjs +1330 -0
- package/fesm2022/slotted-angular-tour.mjs.map +1 -0
- package/fesm2022/slotted-angular-transfer.mjs +1406 -0
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -0
- package/fesm2022/slotted-angular-tree.mjs +1448 -0
- package/fesm2022/slotted-angular-tree.mjs.map +1 -0
- package/fesm2022/slotted-angular-typography.mjs +184 -0
- package/fesm2022/slotted-angular-typography.mjs.map +1 -0
- package/fesm2022/slotted-angular-upload.mjs +1523 -0
- package/fesm2022/slotted-angular-upload.mjs.map +1 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs +32 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -0
- package/fesm2022/slotted-angular-wizard.mjs +1715 -0
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -0
- package/fesm2022/slotted-angular.mjs +4 -0
- package/fesm2022/slotted-angular.mjs.map +1 -0
- package/package.json +537 -3
- package/types/slotted-angular-accordion.d.ts +156 -0
- package/types/slotted-angular-accordion.d.ts.map +1 -0
- package/types/slotted-angular-action-bar.d.ts +291 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -0
- package/types/slotted-angular-action-sheet.d.ts +294 -0
- package/types/slotted-angular-action-sheet.d.ts.map +1 -0
- package/types/slotted-angular-alert.d.ts +214 -0
- package/types/slotted-angular-alert.d.ts.map +1 -0
- package/types/slotted-angular-app-shell.d.ts +549 -0
- package/types/slotted-angular-app-shell.d.ts.map +1 -0
- package/types/slotted-angular-aspect-ratio.d.ts +57 -0
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -0
- package/types/slotted-angular-attachment.d.ts +294 -0
- package/types/slotted-angular-attachment.d.ts.map +1 -0
- package/types/slotted-angular-avatar-group.d.ts +119 -0
- package/types/slotted-angular-avatar-group.d.ts.map +1 -0
- package/types/slotted-angular-avatar.d.ts +202 -0
- package/types/slotted-angular-avatar.d.ts.map +1 -0
- package/types/slotted-angular-badge.d.ts +166 -0
- package/types/slotted-angular-badge.d.ts.map +1 -0
- package/types/slotted-angular-breadcrumb.d.ts +251 -0
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -0
- package/types/slotted-angular-button-group.d.ts +89 -0
- package/types/slotted-angular-button-group.d.ts.map +1 -0
- package/types/slotted-angular-button.d.ts +390 -0
- package/types/slotted-angular-button.d.ts.map +1 -0
- package/types/slotted-angular-calendar.d.ts +280 -0
- package/types/slotted-angular-calendar.d.ts.map +1 -0
- package/types/slotted-angular-card.d.ts +140 -0
- package/types/slotted-angular-card.d.ts.map +1 -0
- package/types/slotted-angular-carousel.d.ts +288 -0
- package/types/slotted-angular-carousel.d.ts.map +1 -0
- package/types/slotted-angular-cascader.d.ts +351 -0
- package/types/slotted-angular-cascader.d.ts.map +1 -0
- package/types/slotted-angular-chart.d.ts +319 -0
- package/types/slotted-angular-chart.d.ts.map +1 -0
- package/types/slotted-angular-checkbox-group.d.ts +156 -0
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -0
- package/types/slotted-angular-checkbox.d.ts +197 -0
- package/types/slotted-angular-checkbox.d.ts.map +1 -0
- package/types/slotted-angular-code-block.d.ts +158 -0
- package/types/slotted-angular-code-block.d.ts.map +1 -0
- package/types/slotted-angular-collapsible.d.ts +272 -0
- package/types/slotted-angular-collapsible.d.ts.map +1 -0
- package/types/slotted-angular-color-picker.d.ts +181 -0
- package/types/slotted-angular-color-picker.d.ts.map +1 -0
- package/types/slotted-angular-column-manager.d.ts +200 -0
- package/types/slotted-angular-column-manager.d.ts.map +1 -0
- package/types/slotted-angular-combobox.d.ts +449 -0
- package/types/slotted-angular-combobox.d.ts.map +1 -0
- package/types/slotted-angular-command-palette.d.ts +256 -0
- package/types/slotted-angular-command-palette.d.ts.map +1 -0
- package/types/slotted-angular-container.d.ts +84 -0
- package/types/slotted-angular-container.d.ts.map +1 -0
- package/types/slotted-angular-context-menu.d.ts +84 -0
- package/types/slotted-angular-context-menu.d.ts.map +1 -0
- package/types/slotted-angular-currency-field.d.ts +480 -0
- package/types/slotted-angular-currency-field.d.ts.map +1 -0
- package/types/slotted-angular-dashboard-grid.d.ts +341 -0
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-grid.d.ts +1077 -0
- package/types/slotted-angular-data-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-list.d.ts +272 -0
- package/types/slotted-angular-data-list.d.ts.map +1 -0
- package/types/slotted-angular-date-field.d.ts +320 -0
- package/types/slotted-angular-date-field.d.ts.map +1 -0
- package/types/slotted-angular-date-picker.d.ts +224 -0
- package/types/slotted-angular-date-picker.d.ts.map +1 -0
- package/types/slotted-angular-date-range-picker.d.ts +310 -0
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-field.d.ts +362 -0
- package/types/slotted-angular-datetime-field.d.ts.map +1 -0
- package/types/slotted-angular-datetime-picker.d.ts +370 -0
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-range-picker.d.ts +459 -0
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-description-list.d.ts +281 -0
- package/types/slotted-angular-description-list.d.ts.map +1 -0
- package/types/slotted-angular-detail-panel.d.ts +240 -0
- package/types/slotted-angular-detail-panel.d.ts.map +1 -0
- package/types/slotted-angular-dialog.d.ts +497 -0
- package/types/slotted-angular-dialog.d.ts.map +1 -0
- package/types/slotted-angular-divider.d.ts +40 -0
- package/types/slotted-angular-divider.d.ts.map +1 -0
- package/types/slotted-angular-drawer.d.ts +532 -0
- package/types/slotted-angular-drawer.d.ts.map +1 -0
- package/types/slotted-angular-entity-picker.d.ts +338 -0
- package/types/slotted-angular-entity-picker.d.ts.map +1 -0
- package/types/slotted-angular-event-calendar.d.ts +574 -0
- package/types/slotted-angular-event-calendar.d.ts.map +1 -0
- package/types/slotted-angular-field-group.d.ts +152 -0
- package/types/slotted-angular-field-group.d.ts.map +1 -0
- package/types/slotted-angular-field.d.ts +535 -0
- package/types/slotted-angular-field.d.ts.map +1 -0
- package/types/slotted-angular-filter-bar.d.ts +573 -0
- package/types/slotted-angular-filter-bar.d.ts.map +1 -0
- package/types/slotted-angular-form.d.ts +298 -0
- package/types/slotted-angular-form.d.ts.map +1 -0
- package/types/slotted-angular-fullscreen.d.ts +145 -0
- package/types/slotted-angular-fullscreen.d.ts.map +1 -0
- package/types/slotted-angular-grid.d.ts +50 -0
- package/types/slotted-angular-grid.d.ts.map +1 -0
- package/types/slotted-angular-highlight.d.ts +93 -0
- package/types/slotted-angular-highlight.d.ts.map +1 -0
- package/types/slotted-angular-hover-card.d.ts +140 -0
- package/types/slotted-angular-hover-card.d.ts.map +1 -0
- package/types/slotted-angular-i18n.d.ts +46 -0
- package/types/slotted-angular-i18n.d.ts.map +1 -0
- package/types/slotted-angular-icon.d.ts +94 -0
- package/types/slotted-angular-icon.d.ts.map +1 -0
- package/types/slotted-angular-image.d.ts +251 -0
- package/types/slotted-angular-image.d.ts.map +1 -0
- package/types/slotted-angular-import-export-center.d.ts +351 -0
- package/types/slotted-angular-import-export-center.d.ts.map +1 -0
- package/types/slotted-angular-inline-message.d.ts +195 -0
- package/types/slotted-angular-inline-message.d.ts.map +1 -0
- package/types/slotted-angular-inline.d.ts +41 -0
- package/types/slotted-angular-inline.d.ts.map +1 -0
- package/types/slotted-angular-kbd.d.ts +174 -0
- package/types/slotted-angular-kbd.d.ts.map +1 -0
- package/types/slotted-angular-link.d.ts +94 -0
- package/types/slotted-angular-link.d.ts.map +1 -0
- package/types/slotted-angular-list-item.d.ts +210 -0
- package/types/slotted-angular-list-item.d.ts.map +1 -0
- package/types/slotted-angular-list.d.ts +176 -0
- package/types/slotted-angular-list.d.ts.map +1 -0
- package/types/slotted-angular-listbox.d.ts +470 -0
- package/types/slotted-angular-listbox.d.ts.map +1 -0
- package/types/slotted-angular-loading-overlay.d.ts +219 -0
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -0
- package/types/slotted-angular-markdown.d.ts +172 -0
- package/types/slotted-angular-markdown.d.ts.map +1 -0
- package/types/slotted-angular-menu.d.ts +448 -0
- package/types/slotted-angular-menu.d.ts.map +1 -0
- package/types/slotted-angular-menubar.d.ts +90 -0
- package/types/slotted-angular-menubar.d.ts.map +1 -0
- package/types/slotted-angular-message-scroller.d.ts +151 -0
- package/types/slotted-angular-message-scroller.d.ts.map +1 -0
- package/types/slotted-angular-message.d.ts +348 -0
- package/types/slotted-angular-message.d.ts.map +1 -0
- package/types/slotted-angular-multi-select.d.ts +462 -0
- package/types/slotted-angular-multi-select.d.ts.map +1 -0
- package/types/slotted-angular-navigation-menu.d.ts +309 -0
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -0
- package/types/slotted-angular-notification-center.d.ts +318 -0
- package/types/slotted-angular-notification-center.d.ts.map +1 -0
- package/types/slotted-angular-number-field.d.ts +402 -0
- package/types/slotted-angular-number-field.d.ts.map +1 -0
- package/types/slotted-angular-otp-input.d.ts +286 -0
- package/types/slotted-angular-otp-input.d.ts.map +1 -0
- package/types/slotted-angular-page-header.d.ts +334 -0
- package/types/slotted-angular-page-header.d.ts.map +1 -0
- package/types/slotted-angular-page.d.ts +141 -0
- package/types/slotted-angular-page.d.ts.map +1 -0
- package/types/slotted-angular-pagination.d.ts +213 -0
- package/types/slotted-angular-pagination.d.ts.map +1 -0
- package/types/slotted-angular-popover.d.ts +366 -0
- package/types/slotted-angular-popover.d.ts.map +1 -0
- package/types/slotted-angular-progress-indicator.d.ts +312 -0
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -0
- package/types/slotted-angular-prompt-composer.d.ts +242 -0
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -0
- package/types/slotted-angular-prose.d.ts +171 -0
- package/types/slotted-angular-prose.d.ts.map +1 -0
- package/types/slotted-angular-radio-group.d.ts +268 -0
- package/types/slotted-angular-radio-group.d.ts.map +1 -0
- package/types/slotted-angular-rating.d.ts +374 -0
- package/types/slotted-angular-rating.d.ts.map +1 -0
- package/types/slotted-angular-result-state.d.ts +217 -0
- package/types/slotted-angular-result-state.d.ts.map +1 -0
- package/types/slotted-angular-saved-views.d.ts +198 -0
- package/types/slotted-angular-saved-views.d.ts.map +1 -0
- package/types/slotted-angular-scroll-area.d.ts +186 -0
- package/types/slotted-angular-scroll-area.d.ts.map +1 -0
- package/types/slotted-angular-section.d.ts +143 -0
- package/types/slotted-angular-section.d.ts.map +1 -0
- package/types/slotted-angular-segmented-control.d.ts +251 -0
- package/types/slotted-angular-segmented-control.d.ts.map +1 -0
- package/types/slotted-angular-select.d.ts +507 -0
- package/types/slotted-angular-select.d.ts.map +1 -0
- package/types/slotted-angular-side-navigation.d.ts +373 -0
- package/types/slotted-angular-side-navigation.d.ts.map +1 -0
- package/types/slotted-angular-skeleton.d.ts +198 -0
- package/types/slotted-angular-skeleton.d.ts.map +1 -0
- package/types/slotted-angular-slider.d.ts +216 -0
- package/types/slotted-angular-slider.d.ts.map +1 -0
- package/types/slotted-angular-sparkline.d.ts +106 -0
- package/types/slotted-angular-sparkline.d.ts.map +1 -0
- package/types/slotted-angular-split-button.d.ts +180 -0
- package/types/slotted-angular-split-button.d.ts.map +1 -0
- package/types/slotted-angular-splitter.d.ts +206 -0
- package/types/slotted-angular-splitter.d.ts.map +1 -0
- package/types/slotted-angular-stack.d.ts +38 -0
- package/types/slotted-angular-stack.d.ts.map +1 -0
- package/types/slotted-angular-stat-card.d.ts +232 -0
- package/types/slotted-angular-stat-card.d.ts.map +1 -0
- package/types/slotted-angular-status-indicator.d.ts +106 -0
- package/types/slotted-angular-status-indicator.d.ts.map +1 -0
- package/types/slotted-angular-stepper.d.ts +198 -0
- package/types/slotted-angular-stepper.d.ts.map +1 -0
- package/types/slotted-angular-switch.d.ts +243 -0
- package/types/slotted-angular-switch.d.ts.map +1 -0
- package/types/slotted-angular-table-of-contents.d.ts +210 -0
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -0
- package/types/slotted-angular-table.d.ts +888 -0
- package/types/slotted-angular-table.d.ts.map +1 -0
- package/types/slotted-angular-tabs.d.ts +340 -0
- package/types/slotted-angular-tabs.d.ts.map +1 -0
- package/types/slotted-angular-tag.d.ts +279 -0
- package/types/slotted-angular-tag.d.ts.map +1 -0
- package/types/slotted-angular-tags-input.d.ts +302 -0
- package/types/slotted-angular-tags-input.d.ts.map +1 -0
- package/types/slotted-angular-text-field.d.ts +334 -0
- package/types/slotted-angular-text-field.d.ts.map +1 -0
- package/types/slotted-angular-textarea.d.ts +150 -0
- package/types/slotted-angular-textarea.d.ts.map +1 -0
- package/types/slotted-angular-theme.d.ts +26 -0
- package/types/slotted-angular-theme.d.ts.map +1 -0
- package/types/slotted-angular-time-field.d.ts +300 -0
- package/types/slotted-angular-time-field.d.ts.map +1 -0
- package/types/slotted-angular-time-picker.d.ts +260 -0
- package/types/slotted-angular-time-picker.d.ts.map +1 -0
- package/types/slotted-angular-time-range-picker.d.ts +401 -0
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-timeline.d.ts +329 -0
- package/types/slotted-angular-timeline.d.ts.map +1 -0
- package/types/slotted-angular-toast.d.ts +340 -0
- package/types/slotted-angular-toast.d.ts.map +1 -0
- package/types/slotted-angular-toggle-group.d.ts +167 -0
- package/types/slotted-angular-toggle-group.d.ts.map +1 -0
- package/types/slotted-angular-toggle.d.ts +106 -0
- package/types/slotted-angular-toggle.d.ts.map +1 -0
- package/types/slotted-angular-toolbar.d.ts +252 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -0
- package/types/slotted-angular-tooltip.d.ts +388 -0
- package/types/slotted-angular-tooltip.d.ts.map +1 -0
- package/types/slotted-angular-top-navigation.d.ts +442 -0
- package/types/slotted-angular-top-navigation.d.ts.map +1 -0
- package/types/slotted-angular-tour.d.ts +440 -0
- package/types/slotted-angular-tour.d.ts.map +1 -0
- package/types/slotted-angular-transfer.d.ts +296 -0
- package/types/slotted-angular-transfer.d.ts.map +1 -0
- package/types/slotted-angular-tree.d.ts +499 -0
- package/types/slotted-angular-tree.d.ts.map +1 -0
- package/types/slotted-angular-typography.d.ts +89 -0
- package/types/slotted-angular-typography.d.ts.map +1 -0
- package/types/slotted-angular-upload.d.ts +365 -0
- package/types/slotted-angular-upload.d.ts.map +1 -0
- package/types/slotted-angular-visually-hidden.d.ts +19 -0
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -0
- package/types/slotted-angular-wizard.d.ts +441 -0
- package/types/slotted-angular-wizard.d.ts.map +1 -0
- package/types/slotted-angular.d.ts +3 -0
- package/types/slotted-angular.d.ts.map +1 -0
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import * as _slotted_core_i18n from '@slotted/core/i18n';
|
|
2
|
+
import { PartialMessages, StepperMessages } from '@slotted/core/i18n';
|
|
3
|
+
import * as _slotted_core_steps from '@slotted/core/steps';
|
|
4
|
+
import { StepOrientation } from '@slotted/core/steps';
|
|
5
|
+
import * as _angular_core from '@angular/core';
|
|
6
|
+
import { InjectionToken } from '@angular/core';
|
|
7
|
+
import { ChangeRequest } from '@slotted/core/state';
|
|
8
|
+
|
|
9
|
+
type StepperOrientation = StepOrientation;
|
|
10
|
+
type StepperLabelPlacement = 'end' | 'bottom';
|
|
11
|
+
/** What a step header is: a control, a destination, or neither. */
|
|
12
|
+
type StepperNavigation = 'button' | 'link' | 'none';
|
|
13
|
+
type StepperStepReason = 'pointer' | 'keyboard' | 'programmatic';
|
|
14
|
+
declare const STEPPER_DEFAULT_ORIENTATION: StepperOrientation;
|
|
15
|
+
declare const STEPPER_DEFAULT_LABEL_PLACEMENT: StepperLabelPlacement;
|
|
16
|
+
declare const STEPPER_DEFAULT_NAVIGATION: StepperNavigation;
|
|
17
|
+
interface StepperDefaults {
|
|
18
|
+
labelPlacement?: StepperLabelPlacement;
|
|
19
|
+
linear?: boolean;
|
|
20
|
+
navigation?: StepperNavigation;
|
|
21
|
+
orientation?: StepperOrientation;
|
|
22
|
+
}
|
|
23
|
+
declare const STEPPER_DEFAULTS_TOKEN: InjectionToken<StepperDefaults>;
|
|
24
|
+
/**
|
|
25
|
+
* An application decides once which way its flows run, where the labels sit,
|
|
26
|
+
* whether a header can be pressed, and whether the order is enforced. A
|
|
27
|
+
* stepper that states any of those itself still wins: an explicit input is
|
|
28
|
+
* never overridden by the token. Its words come from the language in force
|
|
29
|
+
* (`provideSlotted`).
|
|
30
|
+
*/
|
|
31
|
+
declare function provideStepperDefaults(defaults: StepperDefaults): {
|
|
32
|
+
provide: InjectionToken<StepperDefaults>;
|
|
33
|
+
useValue: StepperDefaults;
|
|
34
|
+
};
|
|
35
|
+
declare function injectStepperDefaults(): StepperDefaults;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Where the reader is in a sequence of steps, which steps they may reach, and
|
|
39
|
+
* the panel belonging to the step they are on.
|
|
40
|
+
*
|
|
41
|
+
* **It refuses the tab role.** Angular Material gives a horizontal stepper
|
|
42
|
+
* `role="tablist"`; section 7 of the feature guide forbids it in the Tabs entry
|
|
43
|
+
* itself — tabs are for peer views in one context, not for the steps of a
|
|
44
|
+
* process. What replaces it is `ol` and `li` for the sequence,
|
|
45
|
+
* `aria-current="step"` for where the reader is, and a visually hidden status
|
|
46
|
+
* inside each header so a reader hears "Step 2 of 5, completed" rather than
|
|
47
|
+
* "2".
|
|
48
|
+
*
|
|
49
|
+
* **It validates nothing.** A consumer refuses a move by cancelling the change
|
|
50
|
+
* request, which every mutable value in this library already carries. Zag ships
|
|
51
|
+
* `isStepValid` and `onStepInvalid` for that job; this family needs neither.
|
|
52
|
+
*
|
|
53
|
+
* **It never claims completion.** `complete` is the consumer's fact about one
|
|
54
|
+
* step; `autoComplete` is the shorthand for the flow where reaching step three
|
|
55
|
+
* does mean the first two are done, and it is off.
|
|
56
|
+
*/
|
|
57
|
+
declare class SlStepper {
|
|
58
|
+
/** Present means controlled, for the life of the component. */
|
|
59
|
+
readonly stepValue: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
60
|
+
/** What an uncontrolled stepper starts from, read once. */
|
|
61
|
+
readonly defaultStep: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
62
|
+
/**
|
|
63
|
+
* Words laid over the catalog of the language in force, key by key: the
|
|
64
|
+
* list's name (`label`), the position, and the status each step announces.
|
|
65
|
+
*/
|
|
66
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<StepperMessages> | undefined>;
|
|
67
|
+
readonly orientation: _angular_core.InputSignal<_slotted_core_steps.StepOrientation | undefined>;
|
|
68
|
+
readonly labelPlacement: _angular_core.InputSignal<StepperLabelPlacement | undefined>;
|
|
69
|
+
readonly navigation: _angular_core.InputSignal<StepperNavigation | undefined>;
|
|
70
|
+
readonly linear: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
71
|
+
readonly autoComplete: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
72
|
+
/**
|
|
73
|
+
* Emitted before the step moves, carrying what it replaces, the reason and
|
|
74
|
+
* the event. It is not the second half of a two-way binding: one slot can
|
|
75
|
+
* carry none of those, and cancelling the request is how a consumer refuses
|
|
76
|
+
* a move.
|
|
77
|
+
*/
|
|
78
|
+
readonly stepChange: _angular_core.OutputEmitterRef<ChangeRequest<number>>;
|
|
79
|
+
private readonly defaults;
|
|
80
|
+
private readonly own;
|
|
81
|
+
private readonly steps;
|
|
82
|
+
readonly id: string;
|
|
83
|
+
readonly step: _angular_core.Signal<number>;
|
|
84
|
+
readonly count: _angular_core.Signal<number>;
|
|
85
|
+
readonly orientationValue: _angular_core.Signal<_slotted_core_steps.StepOrientation>;
|
|
86
|
+
readonly labelPlacementValue: _angular_core.Signal<StepperLabelPlacement>;
|
|
87
|
+
readonly navigationValue: _angular_core.Signal<StepperNavigation>;
|
|
88
|
+
readonly linearValue: _angular_core.Signal<boolean>;
|
|
89
|
+
/** The family's words in the language in force, with this stepper's `messages` laid over them. */
|
|
90
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<StepperMessages>;
|
|
91
|
+
/** The locale in force: what the descriptors a step announces are listed in. */
|
|
92
|
+
readonly locale: _angular_core.Signal<string>;
|
|
93
|
+
/** How far along the row the reader has travelled, nought to a hundred. */
|
|
94
|
+
readonly percent: _angular_core.Signal<number>;
|
|
95
|
+
readonly canGoPrevious: _angular_core.Signal<boolean>;
|
|
96
|
+
readonly canGoNext: _angular_core.Signal<boolean>;
|
|
97
|
+
register(steps: readonly SlStepperStep[]): void;
|
|
98
|
+
statusOf(index: number): _slotted_core_steps.StepStatus;
|
|
99
|
+
reachable(index: number): boolean;
|
|
100
|
+
goToStep(next: number, reason?: StepperStepReason, source?: Event): void;
|
|
101
|
+
next(reason?: StepperStepReason, source?: Event): void;
|
|
102
|
+
previous(reason?: StepperStepReason, source?: Event): void;
|
|
103
|
+
reset(source?: Event): void;
|
|
104
|
+
triggerId(index: number): string;
|
|
105
|
+
panelId(index: number): string;
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlStepper, never>;
|
|
107
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlStepper, "[slStepper]", ["slStepper"], { "stepValue": { "alias": "step"; "required": false; "isSignal": true; }; "defaultStep": { "alias": "defaultStep"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; "isSignal": true; }; "navigation": { "alias": "navigation"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "autoComplete": { "alias": "autoComplete"; "required": false; "isSignal": true; }; }, { "stepChange": "stepChange"; }, never, ["*"], true, never>;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The ordered list, and the one part that knows how many steps there are.
|
|
111
|
+
*
|
|
112
|
+
* The keyboard is handled here rather than on each header, because the
|
|
113
|
+
* destination of an arrow is another header and only the list knows them all.
|
|
114
|
+
* Every header stays in the tab sequence: the arrows are added on top of it
|
|
115
|
+
* rather than replacing it with a roving tab stop, which is the model a
|
|
116
|
+
* `tablist` has and the model this family declined.
|
|
117
|
+
*/
|
|
118
|
+
declare class SlStepperList {
|
|
119
|
+
private readonly stepper;
|
|
120
|
+
private readonly items;
|
|
121
|
+
private readonly element;
|
|
122
|
+
private readonly ownLabel;
|
|
123
|
+
readonly accessibleLabel: _angular_core.Signal<string>;
|
|
124
|
+
constructor();
|
|
125
|
+
onKeydown(event: KeyboardEvent): void;
|
|
126
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlStepperList, never>;
|
|
127
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlStepperList, "ol[slStepperList]", ["slStepperList"], {}, {}, ["items"], never, true, never>;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* One step: its marker, its name, the second line under it, and the connector
|
|
131
|
+
* that runs to the next one.
|
|
132
|
+
*
|
|
133
|
+
* A step a linear flow has not reached carries `aria-disabled` rather than
|
|
134
|
+
* `disabled`, so it stays in the tab sequence: a reader can find out the step
|
|
135
|
+
* exists and that it is not yet available.
|
|
136
|
+
*/
|
|
137
|
+
declare class SlStepperStep {
|
|
138
|
+
readonly stepper: SlStepper;
|
|
139
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
140
|
+
readonly description: _angular_core.InputSignal<string | undefined>;
|
|
141
|
+
readonly complete: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
142
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
143
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
144
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
145
|
+
readonly href: _angular_core.InputSignal<string | undefined>;
|
|
146
|
+
/** Written by the list, the only part that can see the whole sequence. */
|
|
147
|
+
readonly index: _angular_core.WritableSignal<number>;
|
|
148
|
+
readonly last: _angular_core.WritableSignal<boolean>;
|
|
149
|
+
readonly current: _angular_core.Signal<boolean>;
|
|
150
|
+
readonly travelled: _angular_core.Signal<boolean>;
|
|
151
|
+
readonly status: _angular_core.Signal<_slotted_core_steps.StepStatus>;
|
|
152
|
+
readonly unreachable: _angular_core.Signal<boolean>;
|
|
153
|
+
/**
|
|
154
|
+
* The glyph drawn over the number: a cross for a step in error, a check for
|
|
155
|
+
* a finished one the reader has left. The current step keeps its number
|
|
156
|
+
* even when it is also complete, because the number is what says where the
|
|
157
|
+
* reader is.
|
|
158
|
+
*/
|
|
159
|
+
readonly mark: _angular_core.Signal<"calendar" | "upload" | "search" | "circle" | "stop" | "check" | "minus" | "plus" | "dot" | "x" | "ellipsis" | "copy" | "eye" | "eye-off" | "chevron-right" | "chevron-down" | "chevrons-right" | "panel-open" | "panel-close" | "arrow-left" | "pin" | "pin-off" | "external" | "clock" | "person" | "circle-info" | "circle-check" | "triangle-alert" | "circle-alert" | "circle-x" | "circle-question" | "inbox" | "search-x" | "lock" | "caps-lock" | "arrow-up" | "paperclip" | "pipette" | "cloud-off" | "loader-circle" | "maximize" | "minimize" | "file" | "trash" | "play" | "pause" | "rotate-ccw" | "file-image" | "file-text" | "file-spreadsheet" | "file-audio" | "file-video" | "file-archive" | "file-type" | "presentation" | "text-wrap" | "bell" | "trending-up" | "image-off" | "funnel" | "grip-vertical" | "grip-horizontal" | "star" | "check-check" | null>;
|
|
160
|
+
/** A list of descriptors, written the way the locale in force lists them. */
|
|
161
|
+
readonly announced: _angular_core.Signal<string>;
|
|
162
|
+
activate(event: Event): void;
|
|
163
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlStepperStep, never>;
|
|
164
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlStepperStep, "li[slStepperStep]", ["slStepperStep"], { "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "complete": { "alias": "complete"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* The content of the step it is written inside. It is a `group` labelled by its
|
|
168
|
+
* own header rather than a `tabpanel`, for the reason the root refuses the tab
|
|
169
|
+
* role, and it is focusable so a consumer moving focus after a step change has
|
|
170
|
+
* somewhere to put it.
|
|
171
|
+
*/
|
|
172
|
+
declare class SlStepperPanel {
|
|
173
|
+
readonly stepper: SlStepper;
|
|
174
|
+
readonly step: SlStepperStep;
|
|
175
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlStepperPanel, never>;
|
|
176
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlStepperPanel, "[slStepperPanel]", ["slStepperPanel"], {}, {}, never, never, true, never>;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* The two directives that move the flow, on the consumer's own button.
|
|
180
|
+
*
|
|
181
|
+
* Angular Material reaches the same shape with `matStepperNext`: a family that
|
|
182
|
+
* shipped its own advance button would ship a second button nobody could theme
|
|
183
|
+
* with the first.
|
|
184
|
+
*/
|
|
185
|
+
declare class SlStepperNext {
|
|
186
|
+
readonly stepper: SlStepper;
|
|
187
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlStepperNext, never>;
|
|
188
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlStepperNext, "button[slStepperNext]", ["slStepperNext"], {}, {}, never, never, true, never>;
|
|
189
|
+
}
|
|
190
|
+
declare class SlStepperPrevious {
|
|
191
|
+
readonly stepper: SlStepper;
|
|
192
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlStepperPrevious, never>;
|
|
193
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlStepperPrevious, "button[slStepperPrevious]", ["slStepperPrevious"], {}, {}, never, never, true, never>;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export { STEPPER_DEFAULTS_TOKEN, STEPPER_DEFAULT_LABEL_PLACEMENT, STEPPER_DEFAULT_NAVIGATION, STEPPER_DEFAULT_ORIENTATION, SlStepper, SlStepperList, SlStepperNext, SlStepperPanel, SlStepperPrevious, SlStepperStep, injectStepperDefaults, provideStepperDefaults };
|
|
197
|
+
export type { StepperDefaults, StepperLabelPlacement, StepperNavigation, StepperOrientation, StepperStepReason };
|
|
198
|
+
//# sourceMappingURL=slotted-angular-stepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-stepper.d.ts","sources":["../../stepper/src/stepper.constants.ts","../../stepper/src/stepper.ts"],"mappings":";;;;;;;;AAGM,KAAM,kBAAkB,GAAG,eAAe;KACpC,qBAAqB;AACjC;AACM,KAAM,iBAAiB;AACvB,KAAM,iBAAiB;AAE7B,cAAa,2BAA2B,EAAE,kBAAiC;AAC3E,cAAa,+BAA+B,EAAE,qBAA6B;AAC3E,cAAa,0BAA0B,EAAE,iBAA4B;UAEpD,eAAe;qBACb,qBAAqB;;iBAEzB,iBAAiB;kBAChB,kBAAkB;AACjC;AAED,cAAa,sBAAsB,EAAA,cAAA,CAAA,eAAA;AAKnC;;;;;;AAMG;AACH,iBAAgB,sBAAsB,WAAW,eAAe;;;AAE/D;AAED,iBAAgB,qBAAqB,IAAI,eAAe;;ACKxD;;;;;;;;;;;;;;;;;;;AAmBG;AACH,cAmBa,SAAS;;wBAEF,aAAA,CAAA,wBAAA;;0BAEE,aAAA,CAAA,wBAAA;AACpB;;;AAGG;uBACc,aAAA,CAAA,WAAA,CAAA,eAAA,CAAA,eAAA;0BACG,aAAA,CAAA,WAAA,CAAA,mBAAA,CAAA,eAAA;6BACG,aAAA,CAAA,WAAA,CAAA,qBAAA;yBACJ,aAAA,CAAA,WAAA,CAAA,iBAAA;qBACJ,aAAA,CAAA,wBAAA;2BACM,aAAA,CAAA,wBAAA;AAErB;;;;;AAKG;yBACgB,aAAA,CAAA,gBAAA,CAAA,aAAA;AAEnB;AACA;AACA;;mBAGa,aAAA,CAAA,MAAA;oBACC,aAAA,CAAA,MAAA;+BAEW,aAAA,CAAA,MAAA,CAAA,mBAAA,CAAA,eAAA;kCAGG,aAAA,CAAA,MAAA,CAAA,qBAAA;8BAGJ,aAAA,CAAA,MAAA,CAAA,iBAAA;0BAGJ,aAAA,CAAA,MAAA;;gBAEV,kBAAA,CAAA,gBAAA,CAAA,eAAA;;qBAEK,aAAA,CAAA,MAAA;;sBAGC,aAAA,CAAA,MAAA;4BACM,aAAA,CAAA,MAAA;wBACJ,aAAA,CAAA,MAAA;AAIlB,6BAAyB,aAAa;6BAIhB,mBAAA,CAAA,UAAA;;AAsBtB,oCAA+B,iBAA6B,WAAW,KAAK;kBAU/D,iBAA6B,WAAW,KAAK;sBAIzC,iBAA6B,WAAW,KAAK;AAI9D,mBAAe,KAAK;;;oDAlGT,SAAS;sDAAT,SAAS;AA6GrB;AAED;;;;;;;;AAQG;AACH,cAUa,aAAa;AACxB;AAIA;AACA;AACA;8BAEwB,aAAA,CAAA,MAAA;;qBAaP,aAAa;oDAtBnB,aAAa;sDAAb,aAAa;AAgDzB;AAED;;;;;;;AAOG;AACH,cAyFa,aAAa;sBACR,SAAA;oBAEF,aAAA,CAAA,WAAA;0BACM,aAAA,CAAA,WAAA;uBACH,aAAA,CAAA,wBAAA;uBACA,aAAA,CAAA,wBAAA;sBACD,aAAA,CAAA,wBAAA;sBACA,aAAA,CAAA,wBAAA;mBACH,aAAA,CAAA,WAAA;;oBAGC,aAAA,CAAA,cAAA;mBACD,aAAA,CAAA,cAAA;sBAEG,aAAA,CAAA,MAAA;wBACE,aAAA,CAAA,MAAA;qBACH,aAAA,CAAA,MAAA,CAAA,mBAAA,CAAA,UAAA;0BACK,aAAA,CAAA,MAAA;AAGpB;;;;;AAKG;mBACU,aAAA,CAAA,MAAA;;wBAKK,aAAA,CAAA,MAAA;oBAmBF,KAAK;oDAnDV,aAAa;sDAAb,aAAa;AAuDzB;AAED;;;;;AAKG;AACH,cAaa,cAAc;sBACT,SAAA;mBACH,aAAA;oDAFF,cAAc;sDAAd,cAAc;AAG1B;AAED;;;;;;AAMG;AACH,cASa,aAAa;sBACR,SAAA;oDADL,aAAa;sDAAb,aAAa;AAEzB;AAED,cASa,iBAAiB;sBACZ,SAAA;oDADL,iBAAiB;sDAAjB,iBAAiB;AAE7B;;","names":[]}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import * as _slotted_core_i18n from '@slotted/core/i18n';
|
|
2
|
+
import { PartialMessages, SwitchMessages } from '@slotted/core/i18n';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { InjectionToken, OnInit } from '@angular/core';
|
|
5
|
+
import { ChangeRequest, ChangeReason } from '@slotted/core/state';
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
|
|
8
|
+
/** The step the control sits at, matching the field around it. */
|
|
9
|
+
type SwitchSize = 'sm' | 'md' | 'lg';
|
|
10
|
+
/**
|
|
11
|
+
* What the thumb carries. `mark` draws a check when the switch is on and
|
|
12
|
+
* nothing when it is off, which is what makes the state readable beyond colour
|
|
13
|
+
* and beyond position. `none` withdraws it, and is only correct where
|
|
14
|
+
* something else carries the state.
|
|
15
|
+
*/
|
|
16
|
+
type SwitchIndicator = 'mark' | 'none';
|
|
17
|
+
/**
|
|
18
|
+
* Which side of its label the pill sits on. `start` is the settings row every
|
|
19
|
+
* product writes: the label takes the free width and the control sits at the
|
|
20
|
+
* end of it.
|
|
21
|
+
*/
|
|
22
|
+
type SwitchLabelPlacement = 'end' | 'start';
|
|
23
|
+
/**
|
|
24
|
+
* How long a pending switch stays silent. A save that returns in two hundred
|
|
25
|
+
* milliseconds should say nothing at all, and a live region that spoke on
|
|
26
|
+
* every toggle would make a settings page unusable with a screen reader.
|
|
27
|
+
* Primer measured the same number against the same problem.
|
|
28
|
+
*
|
|
29
|
+
* It is a constant of the family rather than an input: an application that
|
|
30
|
+
* needs longer sets a `loading` message a reader can wait for.
|
|
31
|
+
*/
|
|
32
|
+
declare const SWITCH_LOADING_ANNOUNCE_DELAY = 2000;
|
|
33
|
+
interface SwitchDefaults {
|
|
34
|
+
indicator: SwitchIndicator;
|
|
35
|
+
labelPlacement: SwitchLabelPlacement;
|
|
36
|
+
size: SwitchSize;
|
|
37
|
+
}
|
|
38
|
+
declare const SWITCH_DEFAULTS: InjectionToken<SwitchDefaults>;
|
|
39
|
+
/**
|
|
40
|
+
* An application decides once what its switches look like, rather than
|
|
41
|
+
* repeating the same inputs on every row of a settings page. A switch that
|
|
42
|
+
* states any of them itself still wins. What a pending switch announces comes
|
|
43
|
+
* from the language in force (`provideSlotted`).
|
|
44
|
+
*
|
|
45
|
+
* `size` is the one the field outranks: a `size="sm"` field holding an `md`
|
|
46
|
+
* control is a field and a control disagreeing about one row, so a switch
|
|
47
|
+
* inside a field takes the field's step and this token answers only outside
|
|
48
|
+
* one.
|
|
49
|
+
*/
|
|
50
|
+
declare function provideSwitchDefaults(defaults: Partial<SwitchDefaults>): {
|
|
51
|
+
provide: InjectionToken<SwitchDefaults>;
|
|
52
|
+
useFactory: () => SwitchDefaults;
|
|
53
|
+
};
|
|
54
|
+
/** What a switch renders as here, before it states anything of its own. */
|
|
55
|
+
declare function injectSwitchDefaults(): SwitchDefaults;
|
|
56
|
+
/**
|
|
57
|
+
* Application-scoped rather than module-scoped, for the reason `field` and
|
|
58
|
+
* `checkbox` both record: a module-level counter produces colliding sequences
|
|
59
|
+
* when two applications render in one server process, and the server and the
|
|
60
|
+
* client sequences must match for hydration.
|
|
61
|
+
*/
|
|
62
|
+
declare class SlSwitchIdFactory {
|
|
63
|
+
private count;
|
|
64
|
+
next(): string;
|
|
65
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlSwitchIdFactory, never>;
|
|
66
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Why the switch moved, read from the event rather than guessed. A pointer
|
|
71
|
+
* press reports a click count; Space on a checkbox reports none but is
|
|
72
|
+
* trusted; `element.click()` reports neither, and calling that `keyboard`
|
|
73
|
+
* would tell a consumer a person pressed a key nobody pressed.
|
|
74
|
+
*/
|
|
75
|
+
declare function activationReason(activation: {
|
|
76
|
+
detail: number;
|
|
77
|
+
isTrusted: boolean;
|
|
78
|
+
}): ChangeReason;
|
|
79
|
+
/**
|
|
80
|
+
* A binary setting that takes effect immediately.
|
|
81
|
+
*
|
|
82
|
+
* **The control is a checkbox with the switch role.** Space toggles it, the
|
|
83
|
+
* label names it and doubles the target, `name` and `value` are submitted,
|
|
84
|
+
* `form.reset()` restores it, and a disabled `fieldset` disables it — none of
|
|
85
|
+
* which the `button` this family shipped on before gave. ARIA 1.2 declares the
|
|
86
|
+
* `switch` role Children Presentational, so the role goes on the void `input`
|
|
87
|
+
* and never on the host: a host carrying it would fold the label and the
|
|
88
|
+
* description beside it into the control's own accessible name.
|
|
89
|
+
*
|
|
90
|
+
* **Angular pays one element and renders the control itself**, which is the
|
|
91
|
+
* shape `checkbox` settled one item earlier in this wave. `formControlName`,
|
|
92
|
+
* `ngModel`, `id` and `aria-*` sit on the host, and the label is the
|
|
93
|
+
* consumer's own content projected into a `label` that points at the control.
|
|
94
|
+
*
|
|
95
|
+
* **The click is the request.** It is the one event that fires for a pointer,
|
|
96
|
+
* for Space and for `click()`, and the one that can be refused before the
|
|
97
|
+
* element moves.
|
|
98
|
+
*
|
|
99
|
+
* **Unset means ask the field.** `disabled`, `readOnly` and `invalid` default
|
|
100
|
+
* to `undefined` rather than `false`, which is what makes "not disabled" and
|
|
101
|
+
* "said nothing" different answers.
|
|
102
|
+
*/
|
|
103
|
+
declare class SlSwitch implements ControlValueAccessor, OnInit {
|
|
104
|
+
/** Present means the consumer owns the state, for the life of the component. */
|
|
105
|
+
readonly checkedValue: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
106
|
+
/** What an uncontrolled switch starts from, read once. A form reset restores it. */
|
|
107
|
+
readonly defaultChecked: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
108
|
+
/** What this switch submits when it is on. Nothing is submitted when it is off. */
|
|
109
|
+
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
110
|
+
readonly name: _angular_core.InputSignal<string | undefined>;
|
|
111
|
+
readonly size: _angular_core.InputSignal<SwitchSize | undefined>;
|
|
112
|
+
readonly indicator: _angular_core.InputSignal<SwitchIndicator | undefined>;
|
|
113
|
+
readonly labelPlacement: _angular_core.InputSignal<SwitchLabelPlacement | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* The value is not settled yet. Activation is refused, the geometry does not
|
|
116
|
+
* change, and the pending label is announced politely once the wait is worth
|
|
117
|
+
* announcing.
|
|
118
|
+
*/
|
|
119
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
120
|
+
/**
|
|
121
|
+
* Words laid over the catalog of the language in force, key by key:
|
|
122
|
+
* `loading` is what a reader hears while the switch is pending.
|
|
123
|
+
*/
|
|
124
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<SwitchMessages> | undefined>;
|
|
125
|
+
/** Unstated rather than `false`, so the switch defers to its field. */
|
|
126
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* Unstated rather than `false`. The native `readonly` attribute does nothing
|
|
129
|
+
* on a checkbox, so this is `aria-readonly` plus a refused activation.
|
|
130
|
+
*/
|
|
131
|
+
readonly readOnly: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
132
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* One output for one transition, carrying the new state, the state it
|
|
135
|
+
* replaces, the reason, the originating event and `cancel()`. There is no
|
|
136
|
+
* `[(checked)]`, because a two-way binding has one slot and can carry none of
|
|
137
|
+
* those; a form gets the same movement through `ControlValueAccessor`.
|
|
138
|
+
*/
|
|
139
|
+
readonly checkedChange: _angular_core.OutputEmitterRef<ChangeRequest<boolean>>;
|
|
140
|
+
private readonly field;
|
|
141
|
+
private readonly defaults;
|
|
142
|
+
private readonly destroyRef;
|
|
143
|
+
private readonly writtenId;
|
|
144
|
+
private readonly writtenDescribedBy;
|
|
145
|
+
private readonly writtenRequired;
|
|
146
|
+
/** Read here so a consumer's own name survives the host binding. */
|
|
147
|
+
protected readonly writtenAriaLabel: string | null;
|
|
148
|
+
private readonly control;
|
|
149
|
+
private readonly description;
|
|
150
|
+
private readonly own;
|
|
151
|
+
private readonly announced;
|
|
152
|
+
private readonly formDisabled;
|
|
153
|
+
private onChangeFn;
|
|
154
|
+
private onTouchedFn;
|
|
155
|
+
/** A form model owns the value, so a native reset takes the model's value. */
|
|
156
|
+
private formBound;
|
|
157
|
+
/**
|
|
158
|
+
* The identifier the label points at. A consumer's own wins, then the
|
|
159
|
+
* field's: a field writes `for` at its label whether or not the control it
|
|
160
|
+
* holds draws one, so a switch that kept its own identifier inside a field
|
|
161
|
+
* would leave that label pointing at nothing.
|
|
162
|
+
*/
|
|
163
|
+
readonly controlId: string;
|
|
164
|
+
/** The region the pending label is written into. */
|
|
165
|
+
readonly pendingId: string;
|
|
166
|
+
readonly checked: _angular_core.Signal<boolean>;
|
|
167
|
+
readonly resolvedSize: _angular_core.Signal<SwitchSize>;
|
|
168
|
+
readonly resolvedIndicator: _angular_core.Signal<SwitchIndicator>;
|
|
169
|
+
readonly resolvedLabelPlacement: _angular_core.Signal<SwitchLabelPlacement>;
|
|
170
|
+
readonly resolvedDisabled: _angular_core.Signal<boolean | undefined>;
|
|
171
|
+
readonly resolvedReadOnly: _angular_core.Signal<boolean | undefined>;
|
|
172
|
+
readonly resolvedInvalid: _angular_core.Signal<boolean | undefined>;
|
|
173
|
+
/** The family's words in the language in force, with this switch's `messages` laid over them. */
|
|
174
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<SwitchMessages>;
|
|
175
|
+
/** Merged after the consumer's own, and the pending region last. */
|
|
176
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
177
|
+
protected readonly ariaInvalid: _angular_core.Signal<"true" | null>;
|
|
178
|
+
protected readonly ariaReadOnly: _angular_core.Signal<"true" | null>;
|
|
179
|
+
protected readonly ariaRequired: _angular_core.Signal<"true" | null>;
|
|
180
|
+
protected readonly ariaBusy: _angular_core.Signal<"true" | null>;
|
|
181
|
+
protected readonly disabledAttribute: _angular_core.Signal<"" | null>;
|
|
182
|
+
/** The element's own attribute, passed through and never written by the family. */
|
|
183
|
+
protected readonly requiredAttribute: _angular_core.Signal<string | null>;
|
|
184
|
+
/** Silence first, and the pending label only if the write is slow enough to notice. */
|
|
185
|
+
protected readonly announcement: _angular_core.Signal<string>;
|
|
186
|
+
constructor();
|
|
187
|
+
/**
|
|
188
|
+
* Angular creates every directive before it binds any input, so the starting
|
|
189
|
+
* state is read here rather than in the constructor: read there,
|
|
190
|
+
* `defaultChecked` is always `false` and an uncontrolled switch would start
|
|
191
|
+
* off however it was written.
|
|
192
|
+
*/
|
|
193
|
+
ngOnInit(): void;
|
|
194
|
+
/** The native element, for `focus()` and anything else the platform ships. */
|
|
195
|
+
get inputElement(): HTMLInputElement;
|
|
196
|
+
/**
|
|
197
|
+
* Toggles the switch the way the platform does. The click it fires is
|
|
198
|
+
* untrusted and carries no detail, so the request reports itself as
|
|
199
|
+
* `programmatic` rather than as a key press nobody pressed.
|
|
200
|
+
*/
|
|
201
|
+
toggle(): void;
|
|
202
|
+
writeValue(value: boolean | null | undefined): void;
|
|
203
|
+
registerOnChange(fn: (checked: boolean) => void): void;
|
|
204
|
+
registerOnTouched(fn: () => void): void;
|
|
205
|
+
setDisabledState(isDisabled: boolean): void;
|
|
206
|
+
protected onClick(event: MouseEvent): void;
|
|
207
|
+
protected onBlur(): void;
|
|
208
|
+
/**
|
|
209
|
+
* Cancelling the click is what the platform offers — a checkbox reverts its
|
|
210
|
+
* own checkedness when its activation is cancelled — and the element is put
|
|
211
|
+
* back beside it, because that revert is the one part of the mechanism an
|
|
212
|
+
* environment can get wrong. A switch showing a state nobody committed is
|
|
213
|
+
* the whole defect this path exists to prevent.
|
|
214
|
+
*
|
|
215
|
+
* The restore is a microtask rather than a line here: the revert the
|
|
216
|
+
* platform does perform happens after the dispatch returns, so a value
|
|
217
|
+
* written now would be the one overwritten. It reads the state again at that
|
|
218
|
+
* point, so a consumer who accepted the move in the same tick keeps their
|
|
219
|
+
* answer.
|
|
220
|
+
*/
|
|
221
|
+
private refuse;
|
|
222
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlSwitch, never>;
|
|
223
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlSwitch, "[slSwitch]", ["slSwitch"], { "checkedValue": { "alias": "checked"; "required": false; "isSignal": true; }; "defaultChecked": { "alias": "defaultChecked"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; }, ["description"], ["*", "[slSwitchDescription]"], true, never>;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Help text under a switch's label.
|
|
228
|
+
*
|
|
229
|
+
* It is a directive on the consumer's own element, so a `p`, a `span` or an
|
|
230
|
+
* `inline-message` all work and none of them loses its own semantics. It
|
|
231
|
+
* carries an identifier the switch points `aria-describedby` at, which is what
|
|
232
|
+
* makes the sentence a description rather than part of the name — and it is
|
|
233
|
+
* projected outside the `label` for the same reason.
|
|
234
|
+
*/
|
|
235
|
+
declare class SlSwitchDescription {
|
|
236
|
+
readonly id: string;
|
|
237
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlSwitchDescription, never>;
|
|
238
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlSwitchDescription, "[slSwitchDescription]", ["slSwitchDescription"], {}, {}, never, never, true, never>;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export { SWITCH_DEFAULTS, SWITCH_LOADING_ANNOUNCE_DELAY, SlSwitch, SlSwitchDescription, SlSwitchIdFactory, activationReason, injectSwitchDefaults, provideSwitchDefaults };
|
|
242
|
+
export type { SwitchDefaults, SwitchIndicator, SwitchLabelPlacement, SwitchSize };
|
|
243
|
+
//# sourceMappingURL=slotted-angular-switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-switch.d.ts","sources":["../../switch/src/switch-defaults.ts","../../switch/src/switch.ts","../../switch/src/switch-parts.ts"],"mappings":";;;;;;;AAEA;AACM,KAAM,UAAU;AAEtB;;;;;AAKG;KACS,eAAe;AAE3B;;;;AAIG;KACS,oBAAoB;AAEhC;;;;;;;;AAQG;AACH,cAAa,6BAA6B;UAEzB,cAAc;eAClB,eAAe;oBACV,oBAAoB;UAC9B,UAAU;AACjB;AAQD,cAAa,eAAe,EAAA,cAAA,CAAA,cAAA;AAK5B;;;;;;;;;;AAUG;AACH,iBAAgB,qBAAqB,WAAW,OAAO,CAAC,cAAc;;sBAGlD,cAAc;AAEjC;AAED;AACA,iBAAgB,oBAAoB,IAAI,cAAc;AAItD;;;;;AAKG;AACH,cACa,iBAAiB;;;oDAAjB,iBAAiB;;AAO7B;;AC9CD;;;;;AAKG;AACH,iBAAgB,gBAAgB;;;AAAmD,IAAG,YAAY;AAKlG;;;;;;;;;;;;;;;;;;;;;;;AAuBG;AACH,cAmDa,QAAS,YAAW,oBAAoB,EAAE,MAAM;;2BAEtC,aAAA,CAAA,wBAAA;;6BAKE,aAAA,CAAA,wBAAA;;oBAET,aAAA,CAAA,WAAA;mBACD,aAAA,CAAA,WAAA;mBACA,aAAA,CAAA,WAAA,CAAA,UAAA;wBACK,aAAA,CAAA,WAAA,CAAA,eAAA;6BACK,aAAA,CAAA,WAAA,CAAA,oBAAA;AACvB;;;;AAIG;sBACa,aAAA,CAAA,wBAAA;AAChB;;;AAGG;uBACc,aAAA,CAAA,WAAA,CAAA,eAAA,CAAA,cAAA;;uBAEA,aAAA,CAAA,wBAAA;AAGjB;;;AAGG;uBACc,aAAA,CAAA,wBAAA;sBAGD,aAAA,CAAA,wBAAA;AAIhB;;;;;AAKG;4BACmB,aAAA,CAAA,gBAAA,CAAA,aAAA;AAEtB;AACA;AACA;AACA;AACA;AAGA;;AAEA;AAIA;AACA;AAEA;AACA;AACA;;;;;AAMA;;;;;AAKG;;;;sBAMa,aAAA,CAAA,MAAA;2BAEK,aAAA,CAAA,MAAA,CAAA,UAAA;gCAGK,aAAA,CAAA,MAAA,CAAA,eAAA;qCACK,aAAA,CAAA,MAAA,CAAA,oBAAA;+BAGN,aAAA,CAAA,MAAA;+BAGA,aAAA,CAAA,MAAA;8BACD,aAAA,CAAA,MAAA;;gBAEd,kBAAA,CAAA,gBAAA,CAAA,cAAA;;AAGV,oCAA8B,aAAA,CAAA,MAAA;AAS9B,oCAA8B,aAAA,CAAA,MAAA;AAG9B,qCAA+B,aAAA,CAAA,MAAA;AAG/B,qCAA+B,aAAA,CAAA,MAAA;AAG/B,iCAA2B,aAAA,CAAA,MAAA;AAC3B,0CAAoC,aAAA,CAAA,MAAA;;AAIpC,0CAAoC,aAAA,CAAA,MAAA;;AAEpC,qCAA+B,aAAA,CAAA,MAAA;;AAe/B;;;;;AAKG;;;wBA0BiB,gBAAgB;AAIpC;;;;AAIG;;AAKH;;AASA;;AAQA,6BAAyB,UAAU;AA6BnC;AAIA;;;;;;;;;;;;AAYG;AACH;oDAxPW,QAAQ;sDAAR,QAAQ;AA+PpB;;ACxXD;;;;;;;;AAQG;AACH,cASa,mBAAmB;;oDAAnB,mBAAmB;sDAAnB,mBAAmB;AAE/B;;","names":[]}
|