@slotted/angular 0.0.0-stage → 0.1.0-beta.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/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,312 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import * as _slotted_angular_progress_indicator from '@slotted/angular/progress-indicator';
|
|
4
|
+
import { ProgressGeometry } from '@slotted/core/progress';
|
|
5
|
+
|
|
6
|
+
type ProgressSize = 'sm' | 'md' | 'lg';
|
|
7
|
+
type ProgressTone = 'accent' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
8
|
+
type ProgressPlacement = 'inline' | 'page' | 'edge-start' | 'edge-end';
|
|
9
|
+
/** The geometry a component draws. Written to `data-shape`, never chosen. */
|
|
10
|
+
type ProgressShape = 'linear' | 'circular' | 'morph';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Everything a bar, a ring and a loader answer the same way: the defaults, the
|
|
14
|
+
* timing, the geometry, the text and the identity in the DOM.
|
|
15
|
+
*
|
|
16
|
+
* It is a base class rather than three copies because the two answers easiest
|
|
17
|
+
* to get subtly wrong are the two no test can see from outside — which
|
|
18
|
+
* `aria-value*` attributes are absent while a wait is indeterminate, and
|
|
19
|
+
* whether the painted percentage came from the same call as the announced one.
|
|
20
|
+
* The host bindings stay with each component, because `host` metadata belongs
|
|
21
|
+
* to a decorator and a shape writes different attributes; the arithmetic
|
|
22
|
+
* behind them is here.
|
|
23
|
+
*
|
|
24
|
+
* `@Directive()` with no selector is what makes the inputs and the output
|
|
25
|
+
* inheritable: `input()` and `output()` are compiled rather than called, and
|
|
26
|
+
* the compiler refuses them in a class it has not been told is a directive.
|
|
27
|
+
*/
|
|
28
|
+
declare abstract class SlProgressIndicatorBase {
|
|
29
|
+
/** The geometry the component draws. Written by the component, never chosen. */
|
|
30
|
+
protected abstract readonly shape: ProgressShape;
|
|
31
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
32
|
+
readonly delay: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
33
|
+
readonly minDuration: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
34
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
35
|
+
readonly hideLabel: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
36
|
+
readonly decorative: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
37
|
+
readonly size: _angular_core.InputSignal<ProgressSize | undefined>;
|
|
38
|
+
readonly tone: _angular_core.InputSignal<ProgressTone | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The moment the indicator actually leaves the page, which is later than
|
|
41
|
+
* `loading` turning false whenever `minDuration` is holding it. An
|
|
42
|
+
* application unmounting on the input alone would take the indicator down
|
|
43
|
+
* mid-hold.
|
|
44
|
+
*/
|
|
45
|
+
readonly withdraw: _angular_core.OutputEmitterRef<void>;
|
|
46
|
+
protected readonly defaults: _slotted_angular_progress_indicator.ProgressIndicatorDefaults;
|
|
47
|
+
/**
|
|
48
|
+
* A name the consumer wrote on their own element is read once and kept, so
|
|
49
|
+
* the family never writes over it — the escape hatch `skeleton` established
|
|
50
|
+
* with the same token.
|
|
51
|
+
*/
|
|
52
|
+
protected readonly ownAriaLabel: string | null;
|
|
53
|
+
protected readonly ownAriaLabelledBy: string | null;
|
|
54
|
+
protected readonly ownAriaHidden: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* A stable id, and not `crypto.randomUUID()`: a server render and the
|
|
57
|
+
* hydration that follows it have to produce the same string, and a counter
|
|
58
|
+
* per document does while a random value does not.
|
|
59
|
+
*/
|
|
60
|
+
protected readonly labelId: string;
|
|
61
|
+
/** Whether anything is painted at all: `delay` may still be running. */
|
|
62
|
+
readonly painted: _angular_core.WritableSignal<boolean>;
|
|
63
|
+
readonly sizeValue: _angular_core.Signal<ProgressSize>;
|
|
64
|
+
readonly toneValue: _angular_core.Signal<ProgressTone>;
|
|
65
|
+
readonly labelText: _angular_core.Signal<string | undefined>;
|
|
66
|
+
readonly labelHidden: _angular_core.Signal<boolean>;
|
|
67
|
+
/** What the two measured components state, and the loader does not. */
|
|
68
|
+
protected measure(): {
|
|
69
|
+
value: number | null | undefined;
|
|
70
|
+
min: number | undefined;
|
|
71
|
+
max: number | undefined;
|
|
72
|
+
buffer: number | null | undefined;
|
|
73
|
+
format: Intl.NumberFormatOptions | undefined;
|
|
74
|
+
showValue: boolean | undefined;
|
|
75
|
+
valueText: string | undefined;
|
|
76
|
+
locale: string | undefined;
|
|
77
|
+
} | null;
|
|
78
|
+
/** Overridden by the bar, whose page placement has nowhere to put a name. */
|
|
79
|
+
protected hidesLabelByPlacement(): boolean;
|
|
80
|
+
readonly geometry: _angular_core.Signal<ProgressGeometry>;
|
|
81
|
+
readonly valueTextValue: _angular_core.Signal<string | undefined>;
|
|
82
|
+
readonly showValueValue: _angular_core.Signal<boolean>;
|
|
83
|
+
protected readonly named: _angular_core.Signal<boolean>;
|
|
84
|
+
protected readonly roleAttribute: _angular_core.Signal<"progressbar" | null>;
|
|
85
|
+
protected readonly labelledByAttribute: _angular_core.Signal<string | null>;
|
|
86
|
+
/**
|
|
87
|
+
* `decorative` is one switch and not two: it takes the role away as well as
|
|
88
|
+
* hiding the box, because an indicator a reader can reach and that announces
|
|
89
|
+
* nothing is worse than either half. A consumer's own `aria-hidden` is kept
|
|
90
|
+
* rather than overwritten.
|
|
91
|
+
*/
|
|
92
|
+
protected readonly hiddenFromTree: _angular_core.Signal<string | null>;
|
|
93
|
+
/**
|
|
94
|
+
* The range is written out even where it equals the ARIA default, so a reader
|
|
95
|
+
* is never told a number that depends on one. `aria-valuenow` is the one
|
|
96
|
+
* attribute that is absent rather than defaulted: ARIA 1.3 asks an author to
|
|
97
|
+
* omit it while the value is indeterminate, and the omission is what says
|
|
98
|
+
* "in progress, and nobody knows how far".
|
|
99
|
+
*/
|
|
100
|
+
protected readonly valueMinAttribute: _angular_core.Signal<number | null>;
|
|
101
|
+
protected readonly valueMaxAttribute: _angular_core.Signal<number | null>;
|
|
102
|
+
protected readonly valueNowAttribute: _angular_core.Signal<number | null>;
|
|
103
|
+
protected readonly valueTextAttribute: _angular_core.Signal<string | null>;
|
|
104
|
+
protected readonly indeterminateAttribute: _angular_core.Signal<"" | null>;
|
|
105
|
+
protected readonly completeAttribute: _angular_core.Signal<"" | null>;
|
|
106
|
+
protected readonly percentStyle: _angular_core.Signal<string>;
|
|
107
|
+
protected readonly bufferStyle: _angular_core.Signal<string | null>;
|
|
108
|
+
protected readonly bufferedAttribute: _angular_core.Signal<"" | null>;
|
|
109
|
+
private machine;
|
|
110
|
+
private timer;
|
|
111
|
+
constructor();
|
|
112
|
+
/**
|
|
113
|
+
* One step of the shared machine, plus at most one timer. The rule lives in
|
|
114
|
+
* `@slotted/core/loading` rather than here so React and Angular cannot
|
|
115
|
+
* disagree about when an indicator appears — a difference no test that looked
|
|
116
|
+
* at either binding alone would report.
|
|
117
|
+
*/
|
|
118
|
+
private settle;
|
|
119
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlProgressIndicatorBase, never>;
|
|
120
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlProgressIndicatorBase, never, never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "minDuration": { "alias": "minDuration"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "hideLabel": { "alias": "hideLabel"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; }, { "withdraw": "withdraw"; }, never, never, true, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The wait a shape keeps, rather than the wait a ring reports.
|
|
125
|
+
*
|
|
126
|
+
* It is M3 Expressive's loading indicator, which Google recommends *instead of*
|
|
127
|
+
* an indeterminate circular indicator for a wait under five seconds, and which
|
|
128
|
+
* no other design system and no headless library surveyed ships at all. A
|
|
129
|
+
* rounded shape morphs through a sequence — circle, clover, flower, trefoil,
|
|
130
|
+
* oval — while it turns, at two periods that do not divide into each other, so
|
|
131
|
+
* the sequence never shows the same shape in the same orientation twice.
|
|
132
|
+
*
|
|
133
|
+
* It measures nothing on purpose. A loader with a value would be a shape whose
|
|
134
|
+
* progress nobody could read off a morphing outline, and the family already
|
|
135
|
+
* has two shapes that report a number.
|
|
136
|
+
*
|
|
137
|
+
* `contained` draws M3's fully rounded container behind the shape, at M3's own
|
|
138
|
+
* 38:48 ratio. It is the form to reach for on a photograph or a coloured
|
|
139
|
+
* surface, where a bare shape has no ground to be seen against.
|
|
140
|
+
*
|
|
141
|
+
* Content after the label is projected, so a loader can stand in a sentence
|
|
142
|
+
* the consumer wrote rather than only beside a string it was given.
|
|
143
|
+
*/
|
|
144
|
+
declare class SlLoader extends SlProgressIndicatorBase {
|
|
145
|
+
protected readonly shape: ProgressShape;
|
|
146
|
+
/** M3's fully rounded container behind the morphing shape. */
|
|
147
|
+
readonly contained: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
148
|
+
protected readonly labelUi: _angular_core.Signal<"visually-hidden" | null>;
|
|
149
|
+
protected readonly containedAttribute: _angular_core.Signal<"" | null>;
|
|
150
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlLoader, never>;
|
|
151
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlLoader, "[slLoader]", ["slLoader"], { "contained": { "alias": "contained"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* The linear recipe: a quantity along a track, or a wait travelling it.
|
|
156
|
+
*
|
|
157
|
+
* The shape is M3's from 2024 onward — a fully rounded indicator, a gap of one
|
|
158
|
+
* thickness before the track it has not reached, and a stop indicator marking
|
|
159
|
+
* where the bar is going. The gap and the dot are what make a bar at four per
|
|
160
|
+
* cent read as four per cent of something rather than as a stray mark, and no
|
|
161
|
+
* other surveyed implementation draws either.
|
|
162
|
+
*
|
|
163
|
+
* `placement="page"` is the whole of what the deleted `loading-bar` family
|
|
164
|
+
* was: the same bar pinned to the top edge of the viewport, with no corner to
|
|
165
|
+
* round and a transparent track, because a permanent grey band across the top
|
|
166
|
+
* of a page reads as a rule under the header rather than as a wait.
|
|
167
|
+
* `edge-start` and `edge-end` are the same bar on an edge of the nearest
|
|
168
|
+
* positioned box, which is the frame `app-shell` and `page-header` render as
|
|
169
|
+
* their `progress` part.
|
|
170
|
+
*
|
|
171
|
+
* With `wave` the indicator is an `svg` over the whole track and one stroked
|
|
172
|
+
* path inside it; the stylesheet shows a window of it with a dash, so the bar
|
|
173
|
+
* ends in its own crest with a round cap. The path carries the `svg:` prefix
|
|
174
|
+
* for the reason the ring's shapes do: inside a control-flow block the parser
|
|
175
|
+
* decides the namespace, and an unprefixed `path` would be an unknown HTML
|
|
176
|
+
* element that draws nothing.
|
|
177
|
+
*
|
|
178
|
+
* The selector is a bare attribute, so the element stays the consumer's: a bar
|
|
179
|
+
* belongs in whatever already holds it — a table cell, a card's footer, a
|
|
180
|
+
* `header` — and wrapping it in a second element would change their layout to
|
|
181
|
+
* carry an attribute.
|
|
182
|
+
*/
|
|
183
|
+
declare class SlProgressBar extends SlProgressIndicatorBase {
|
|
184
|
+
protected readonly shape: ProgressShape;
|
|
185
|
+
readonly value: _angular_core.InputSignalWithTransform<number | null | undefined, unknown>;
|
|
186
|
+
readonly min: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
187
|
+
readonly max: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
188
|
+
/** A second, further quantity: received but not yet processed. */
|
|
189
|
+
readonly buffer: _angular_core.InputSignalWithTransform<number | null | undefined, unknown>;
|
|
190
|
+
readonly showValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
191
|
+
readonly valueText: _angular_core.InputSignal<string | undefined>;
|
|
192
|
+
readonly format: _angular_core.InputSignal<Intl.NumberFormatOptions | undefined>;
|
|
193
|
+
readonly locale: _angular_core.InputSignal<string | undefined>;
|
|
194
|
+
readonly wave: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
195
|
+
readonly placement: _angular_core.InputSignal<ProgressPlacement>;
|
|
196
|
+
protected readonly labelUi: _angular_core.Signal<"visually-hidden" | null>;
|
|
197
|
+
protected readonly placementAttribute: _angular_core.Signal<ProgressPlacement | null>;
|
|
198
|
+
protected readonly waveAttribute: _angular_core.Signal<"" | null>;
|
|
199
|
+
/**
|
|
200
|
+
* M3's sine from `@slotted/core/progress`, in a user space where one unit
|
|
201
|
+
* is one thickness, and the tighter wave M3 draws while the value is
|
|
202
|
+
* unknown. The viewBox and `pathLength` both state the path's reach, which
|
|
203
|
+
* is what makes a dash of one unit one thickness of travel at any amplitude.
|
|
204
|
+
*/
|
|
205
|
+
protected readonly waveReach = 1200;
|
|
206
|
+
protected readonly waveViewBox = "0 -1.25 1200 2.5";
|
|
207
|
+
protected readonly wavePath: _angular_core.Signal<string>;
|
|
208
|
+
/**
|
|
209
|
+
* A bar on an edge has no room for a visible name and still needs one, so the
|
|
210
|
+
* placement decides it — and a consumer who states `hideLabel` outright still
|
|
211
|
+
* wins, which is the rule the whole library follows.
|
|
212
|
+
*/
|
|
213
|
+
protected hidesLabelByPlacement(): boolean;
|
|
214
|
+
protected measure(): {
|
|
215
|
+
value: number | null | undefined;
|
|
216
|
+
min: number | undefined;
|
|
217
|
+
max: number | undefined;
|
|
218
|
+
buffer: number | null | undefined;
|
|
219
|
+
format: Intl.NumberFormatOptions | undefined;
|
|
220
|
+
showValue: boolean;
|
|
221
|
+
valueText: string | undefined;
|
|
222
|
+
locale: string | undefined;
|
|
223
|
+
};
|
|
224
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlProgressBar, never>;
|
|
225
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlProgressBar, "[slProgressBar]", ["slProgressBar"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "buffer": { "alias": "buffer"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "wave": { "alias": "wave"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* The circular recipe, and with no value the spinner every surveyed library
|
|
230
|
+
* ships under that name.
|
|
231
|
+
*
|
|
232
|
+
* Two concentric shapes in one `48 48` box, each carrying `pathLength="100"`
|
|
233
|
+
* so a dash length *is* the percentage and the stylesheet needs no arithmetic
|
|
234
|
+
* of its own. The stroke is stated in the viewBox's own units, which makes it
|
|
235
|
+
* one eighth of the diameter at every size — the ratio `button` derived for its
|
|
236
|
+
* own loading ring, so the ring in a button and this circle are the same
|
|
237
|
+
* object.
|
|
238
|
+
*
|
|
239
|
+
* The number sits beside the ring rather than inside it: the largest ring this
|
|
240
|
+
* family draws is 38 pixels across with a 4.75-pixel stroke, which leaves 28
|
|
241
|
+
* pixels of hole, and a percentage centred in it would be four-pixel type.
|
|
242
|
+
*
|
|
243
|
+
* With `wave` the indicator is M3's wavy ring from `@slotted/core/progress`
|
|
244
|
+
* and the track stays a circle, which is what `CircularWavyProgressModifiers`
|
|
245
|
+
* draws: only the active indicator morphs.
|
|
246
|
+
*
|
|
247
|
+
* The shapes carry the `svg:` prefix because a template's namespace is decided
|
|
248
|
+
* by the parser rather than by the parent element: inside a control-flow block
|
|
249
|
+
* an unprefixed `circle` is an unknown HTML element, and an unknown HTML
|
|
250
|
+
* element draws nothing at all.
|
|
251
|
+
*/
|
|
252
|
+
declare class SlProgressCircle extends SlProgressIndicatorBase {
|
|
253
|
+
protected readonly shape: ProgressShape;
|
|
254
|
+
protected readonly wavePath = "M45.6 24C45.6 26.83 41.92 28.82 41 31.04C40.08 33.27 41.27 37.27 39.27 39.27C37.27 41.27 33.27 40.08 31.04 41C28.82 41.92 26.83 45.6 24 45.6C21.17 45.6 19.18 41.92 16.96 41C14.73 40.08 10.73 41.27 8.73 39.27C6.73 37.27 7.92 33.27 7 31.04C6.08 28.82 2.4 26.83 2.4 24C2.4 21.17 6.08 19.18 7 16.96C7.92 14.73 6.73 10.73 8.73 8.73C10.73 6.73 14.73 7.92 16.96 7C19.18 6.08 21.17 2.4 24 2.4C26.83 2.4 28.82 6.08 31.04 7C33.27 7.92 37.27 6.73 39.27 8.73C41.27 10.73 40.08 14.73 41 16.96C41.92 19.18 45.6 21.17 45.6 24Z";
|
|
255
|
+
readonly value: _angular_core.InputSignalWithTransform<number | null | undefined, unknown>;
|
|
256
|
+
readonly min: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
257
|
+
readonly max: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
258
|
+
readonly showValue: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
259
|
+
readonly valueText: _angular_core.InputSignal<string | undefined>;
|
|
260
|
+
readonly format: _angular_core.InputSignal<Intl.NumberFormatOptions | undefined>;
|
|
261
|
+
readonly locale: _angular_core.InputSignal<string | undefined>;
|
|
262
|
+
readonly wave: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
263
|
+
protected readonly labelUi: _angular_core.Signal<"visually-hidden" | null>;
|
|
264
|
+
protected readonly waveAttribute: _angular_core.Signal<"" | null>;
|
|
265
|
+
protected measure(): {
|
|
266
|
+
value: number | null | undefined;
|
|
267
|
+
min: number | undefined;
|
|
268
|
+
max: number | undefined;
|
|
269
|
+
buffer: null;
|
|
270
|
+
format: Intl.NumberFormatOptions | undefined;
|
|
271
|
+
showValue: boolean;
|
|
272
|
+
valueText: string | undefined;
|
|
273
|
+
locale: string | undefined;
|
|
274
|
+
};
|
|
275
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlProgressCircle, never>;
|
|
276
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlProgressCircle, "[slProgressCircle]", ["slProgressCircle"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showValue": { "alias": "showValue"; "required": false; "isSignal": true; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "wave": { "alias": "wave"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* What every indicator in an application looks like, and how a wait is timed,
|
|
281
|
+
* before any of them states anything of its own.
|
|
282
|
+
*
|
|
283
|
+
* The two durations are here rather than on an indicator because the policy is
|
|
284
|
+
* an application's: a team decides once that a wait under two hundred
|
|
285
|
+
* milliseconds is not worth reporting, and every bar inherits it. `locale` is
|
|
286
|
+
* here for the same reason — the digits of a percentage belong to the
|
|
287
|
+
* application's language, not to one upload.
|
|
288
|
+
*/
|
|
289
|
+
interface ProgressIndicatorDefaults {
|
|
290
|
+
delay?: number;
|
|
291
|
+
label?: string;
|
|
292
|
+
locale?: string;
|
|
293
|
+
minDuration?: number;
|
|
294
|
+
size?: ProgressSize;
|
|
295
|
+
tone?: ProgressTone;
|
|
296
|
+
}
|
|
297
|
+
declare const PROGRESS_INDICATOR_DEFAULTS_TOKEN: InjectionToken<ProgressIndicatorDefaults>;
|
|
298
|
+
/**
|
|
299
|
+
* An application decides once how its indicators are sized and toned, how long
|
|
300
|
+
* a wait has to last before one appears, how long one is held once it has, and
|
|
301
|
+
* which language writes the digits. An indicator that states any of those still
|
|
302
|
+
* wins: an explicit input is never overridden by the token.
|
|
303
|
+
*/
|
|
304
|
+
declare function provideProgressIndicatorDefaults(defaults: ProgressIndicatorDefaults): {
|
|
305
|
+
provide: InjectionToken<ProgressIndicatorDefaults>;
|
|
306
|
+
useValue: ProgressIndicatorDefaults;
|
|
307
|
+
};
|
|
308
|
+
declare function injectProgressIndicatorDefaults(): ProgressIndicatorDefaults;
|
|
309
|
+
|
|
310
|
+
export { PROGRESS_INDICATOR_DEFAULTS_TOKEN, SlLoader, SlProgressBar, SlProgressCircle, injectProgressIndicatorDefaults, provideProgressIndicatorDefaults };
|
|
311
|
+
export type { ProgressIndicatorDefaults, ProgressPlacement, ProgressShape, ProgressSize, ProgressTone };
|
|
312
|
+
//# sourceMappingURL=slotted-angular-progress-indicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-progress-indicator.d.ts","sources":["../../progress-indicator/src/progress-indicator.constants.ts","../../progress-indicator/src/progress-indicator-base.ts","../../progress-indicator/src/loader.ts","../../progress-indicator/src/progress-bar.ts","../../progress-indicator/src/progress-circle.ts","../../progress-indicator/src/progress-indicator-defaults.ts"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import * as _slotted_core_i18n from '@slotted/core/i18n';
|
|
2
|
+
import { PartialMessages, PromptComposerMessages } from '@slotted/core/i18n';
|
|
3
|
+
import * as _slotted_angular_prompt_composer from '@slotted/angular/prompt-composer';
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
5
|
+
import { InjectionToken, Signal, OnInit } from '@angular/core';
|
|
6
|
+
import { ChangeRequest } from '@slotted/core/state';
|
|
7
|
+
import { UploadFile } from '@slotted/core/upload';
|
|
8
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
9
|
+
import { SlField } from '@slotted/angular/field';
|
|
10
|
+
|
|
11
|
+
type PromptComposerSize = 'sm' | 'md' | 'lg';
|
|
12
|
+
/**
|
|
13
|
+
* `raised` is the chat composer, a surface lifted off the page; `outline` and
|
|
14
|
+
* `subtle` are a composer inside a form, with a one-line control's geometry.
|
|
15
|
+
*/
|
|
16
|
+
type PromptComposerVariant = 'raised' | 'outline' | 'subtle';
|
|
17
|
+
/** Whether Enter sends, or only Mod+Enter does. Shift+Enter always breaks a line. */
|
|
18
|
+
type PromptComposerSubmitOn = 'enter' | 'mod-enter';
|
|
19
|
+
/** Where the request stands. The application owns it. */
|
|
20
|
+
type PromptComposerStatus = 'ready' | 'submitted' | 'streaming' | 'error';
|
|
21
|
+
type PromptComposerSubmitReason = 'keyboard' | 'pointer';
|
|
22
|
+
/** Files from the attach button, a paste or a drop, after the selection rules. */
|
|
23
|
+
interface PromptComposerAttachEvent {
|
|
24
|
+
files: File[];
|
|
25
|
+
reason: 'pointer' | 'paste' | 'drop';
|
|
26
|
+
rejected: UploadFile[];
|
|
27
|
+
source: Event;
|
|
28
|
+
}
|
|
29
|
+
interface PromptComposerStopEvent {
|
|
30
|
+
reason: PromptComposerSubmitReason;
|
|
31
|
+
source: Event;
|
|
32
|
+
}
|
|
33
|
+
interface PromptComposerDefaults {
|
|
34
|
+
size: PromptComposerSize;
|
|
35
|
+
submitOn: PromptComposerSubmitOn;
|
|
36
|
+
variant: PromptComposerVariant;
|
|
37
|
+
}
|
|
38
|
+
declare const PROMPT_COMPOSER_DEFAULTS: InjectionToken<PromptComposerDefaults>;
|
|
39
|
+
/**
|
|
40
|
+
* An application decides once how its composers look and which key sends. A
|
|
41
|
+
* composer that states any of them itself still wins. What the buttons say
|
|
42
|
+
* comes from the language in force (`provideSlotted`).
|
|
43
|
+
*/
|
|
44
|
+
declare function providePromptComposerDefaults(defaults: Partial<PromptComposerDefaults>): {
|
|
45
|
+
provide: InjectionToken<PromptComposerDefaults>;
|
|
46
|
+
useFactory: () => PromptComposerDefaults;
|
|
47
|
+
};
|
|
48
|
+
declare function injectPromptComposerDefaults(): PromptComposerDefaults;
|
|
49
|
+
/**
|
|
50
|
+
* What the composer needs of the textarea inside it. An abstract class rather
|
|
51
|
+
* than an import, so the two directives depend on each other without a cycle.
|
|
52
|
+
*/
|
|
53
|
+
declare abstract class SlPromptComposerControl {
|
|
54
|
+
/** What the element shows. */
|
|
55
|
+
abstract readonly current: Signal<string>;
|
|
56
|
+
abstract readonly resolvedDisabled: Signal<boolean | undefined>;
|
|
57
|
+
abstract readonly resolvedReadOnly: Signal<boolean | undefined>;
|
|
58
|
+
abstract readonly resolvedInvalid: Signal<boolean | undefined>;
|
|
59
|
+
/** Empties the value after an accepted send, with reason `submit`. */
|
|
60
|
+
abstract clearAfterSubmit(source: Event): void;
|
|
61
|
+
abstract focus(): void;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* A message being written: the consumer's own `form`, around a textarea, a
|
|
66
|
+
* band above for what the message carries and a band below for what it is
|
|
67
|
+
* sent with.
|
|
68
|
+
*
|
|
69
|
+
* The value is the textarea's, so a reactive form binds there; the status is
|
|
70
|
+
* the application's; the attachments are the application's too — the
|
|
71
|
+
* composer hands over the files after the selection rules `upload` applies,
|
|
72
|
+
* and draws nothing of them.
|
|
73
|
+
*/
|
|
74
|
+
declare class SlPromptComposer {
|
|
75
|
+
readonly size: _angular_core.InputSignal<PromptComposerSize | undefined>;
|
|
76
|
+
readonly variant: _angular_core.InputSignal<PromptComposerVariant | undefined>;
|
|
77
|
+
/** Where the request stands. The application owns it. */
|
|
78
|
+
readonly status: _angular_core.InputSignal<PromptComposerStatus>;
|
|
79
|
+
readonly submitOn: _angular_core.InputSignal<PromptComposerSubmitOn | undefined>;
|
|
80
|
+
/** Whether the send is available. Defaults to "the value has something besides white space". */
|
|
81
|
+
readonly canSubmit: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
82
|
+
/** The file types the attach button, a paste and a drop accept. */
|
|
83
|
+
readonly accept: _angular_core.InputSignal<string | undefined>;
|
|
84
|
+
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
85
|
+
readonly maxSize: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
86
|
+
readonly maxFiles: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
87
|
+
/**
|
|
88
|
+
* Words laid over the catalog of the language in force, key by key: the
|
|
89
|
+
* names of the attach and submit buttons for each status (`send`, `sending`,
|
|
90
|
+
* `stop`, `retry`), and the `sending` and `stopped` announcements.
|
|
91
|
+
*/
|
|
92
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<PromptComposerMessages> | undefined>;
|
|
93
|
+
/** Before the message is sent; `cancel()` keeps the value where it is. */
|
|
94
|
+
readonly valueSubmit: _angular_core.OutputEmitterRef<ChangeRequest<string>>;
|
|
95
|
+
/** The stop button, while the status is `streaming`. */
|
|
96
|
+
readonly stop: _angular_core.OutputEmitterRef<PromptComposerStopEvent>;
|
|
97
|
+
/** Files from the attach button, a paste or a drop, after the selection rules. */
|
|
98
|
+
readonly attach: _angular_core.OutputEmitterRef<PromptComposerAttachEvent>;
|
|
99
|
+
readonly defaults: _slotted_angular_prompt_composer.PromptComposerDefaults;
|
|
100
|
+
/** The family's words in the language in force, with this composer's `messages` laid over them. */
|
|
101
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<PromptComposerMessages>;
|
|
102
|
+
private readonly field;
|
|
103
|
+
private readonly element;
|
|
104
|
+
readonly control: _angular_core.Signal<SlPromptComposerControl | undefined>;
|
|
105
|
+
protected readonly dropTarget: _angular_core.WritableSignal<boolean>;
|
|
106
|
+
readonly resolvedSize: _angular_core.Signal<PromptComposerSize>;
|
|
107
|
+
readonly resolvedVariant: _angular_core.Signal<PromptComposerVariant>;
|
|
108
|
+
readonly resolvedSubmitOn: _angular_core.Signal<PromptComposerSubmitOn>;
|
|
109
|
+
readonly busy: _angular_core.Signal<boolean>;
|
|
110
|
+
readonly resolvedCanSubmit: _angular_core.Signal<boolean>;
|
|
111
|
+
readonly off: _angular_core.Signal<boolean>;
|
|
112
|
+
constructor();
|
|
113
|
+
private announce;
|
|
114
|
+
/** Sends what the textarea holds, unless the send is unavailable or refused. */
|
|
115
|
+
submitWith(reason: PromptComposerSubmitReason, source: Event): void;
|
|
116
|
+
stopWith(reason: PromptComposerSubmitReason, source: Event): void;
|
|
117
|
+
attachFiles(files: readonly File[], reason: PromptComposerAttachEvent['reason'], source: Event): void;
|
|
118
|
+
protected onSubmit(event: SubmitEvent): void;
|
|
119
|
+
/** A press on the frame's padding or a band's empty space puts the caret in the value. */
|
|
120
|
+
protected onMouseDown(event: MouseEvent): void;
|
|
121
|
+
protected onDragOver(event: DragEvent): void;
|
|
122
|
+
protected onDragLeave(event: DragEvent): void;
|
|
123
|
+
protected onDrop(event: DragEvent): void;
|
|
124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlPromptComposer, never>;
|
|
125
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlPromptComposer, "form[slPromptComposer]", ["slPromptComposer"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "submitOn": { "alias": "submitOn"; "required": false; "isSignal": true; }; "canSubmit": { "alias": "canSubmit"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "maxFiles": { "alias": "maxFiles"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; }, { "valueSubmit": "valueSubmit"; "stop": "stop"; "attach": "attach"; }, ["control"], ["*"], true, never>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The value. Enter sends unless the composer's `submitOn` is `mod-enter`;
|
|
130
|
+
* Mod+Enter always sends; Shift+Enter is the platform's line break; nothing is
|
|
131
|
+
* sent while an input method is composing, because there Enter confirms the
|
|
132
|
+
* composition. Files pasted with or without text go to the composer's
|
|
133
|
+
* `attach`.
|
|
134
|
+
*
|
|
135
|
+
* The element owns the characters, as in `text-field`: a form's `writeValue`
|
|
136
|
+
* and a `[value]` binding write the element, and the directive keeps a mirror
|
|
137
|
+
* for the send and the count.
|
|
138
|
+
*/
|
|
139
|
+
declare class SlPromptComposerInput implements ControlValueAccessor, OnInit, SlPromptComposerControl {
|
|
140
|
+
/** Present means the consumer owns the value. */
|
|
141
|
+
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
142
|
+
readonly defaultValue: _angular_core.InputSignal<string | undefined>;
|
|
143
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
144
|
+
readonly readOnly: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
145
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
146
|
+
/** The fewest lines the value shows. */
|
|
147
|
+
readonly rows: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
148
|
+
/** The most lines it grows to before it scrolls. */
|
|
149
|
+
readonly maxRows: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
150
|
+
/** Publishes the length of the value to the field, which draws the count. */
|
|
151
|
+
readonly showCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
152
|
+
/** Before the value moves: `keyboard` for an edit, `submit` for the clearing after a send. */
|
|
153
|
+
readonly valueChange: _angular_core.OutputEmitterRef<ChangeRequest<string>>;
|
|
154
|
+
private readonly element;
|
|
155
|
+
private readonly composer;
|
|
156
|
+
protected readonly field: SlField | null;
|
|
157
|
+
protected readonly writtenDir: string | null;
|
|
158
|
+
private readonly writtenId;
|
|
159
|
+
private readonly writtenMaxLength;
|
|
160
|
+
private readonly mirror;
|
|
161
|
+
private readonly formDisabled;
|
|
162
|
+
private onChangeFn;
|
|
163
|
+
protected onTouchedFn: () => void;
|
|
164
|
+
readonly current: _angular_core.Signal<string>;
|
|
165
|
+
readonly resolvedDisabled: _angular_core.Signal<boolean | undefined>;
|
|
166
|
+
readonly resolvedReadOnly: _angular_core.Signal<boolean | undefined>;
|
|
167
|
+
readonly resolvedInvalid: _angular_core.Signal<boolean | undefined>;
|
|
168
|
+
protected readonly controlId: _angular_core.Signal<string | null>;
|
|
169
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
170
|
+
constructor();
|
|
171
|
+
ngOnInit(): void;
|
|
172
|
+
/** The native element, for `focus()`, `select()` and `setSelectionRange()`. */
|
|
173
|
+
get inputElement(): HTMLTextAreaElement;
|
|
174
|
+
focus(): void;
|
|
175
|
+
writeValue(value: string | null | undefined): void;
|
|
176
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
177
|
+
registerOnTouched(fn: () => void): void;
|
|
178
|
+
setDisabledState(isDisabled: boolean): void;
|
|
179
|
+
clearAfterSubmit(source: Event): void;
|
|
180
|
+
protected onInput(event: Event): void;
|
|
181
|
+
protected onKeyDown(event: KeyboardEvent): void;
|
|
182
|
+
protected onPaste(event: ClipboardEvent): void;
|
|
183
|
+
private request;
|
|
184
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlPromptComposerInput, never>;
|
|
185
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlPromptComposerInput, "textarea[slPromptComposerInput]", ["slPromptComposerInput"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "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; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "showCount": { "alias": "showCount"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** The band above the value: attachments, a quoted reply, a context chip. */
|
|
189
|
+
declare class SlPromptComposerHeader {
|
|
190
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlPromptComposerHeader, never>;
|
|
191
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlPromptComposerHeader, "[slPromptComposerHeader]", never, {}, {}, never, never, true, never>;
|
|
192
|
+
}
|
|
193
|
+
/** The band below the value: tools on the start, the send at the end. */
|
|
194
|
+
declare class SlPromptComposerFooter {
|
|
195
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlPromptComposerFooter, never>;
|
|
196
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlPromptComposerFooter, "[slPromptComposerFooter]", never, {}, {}, never, never, true, never>;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* A button of the consumer's in a band: a model menu, a tool, Cancelar.
|
|
200
|
+
* `slMenuTriggerFor` on the same element binds `data-part` to `null`, and the
|
|
201
|
+
* binding is a constant, so the part is written back once after the first
|
|
202
|
+
* render — the rule `menu` records for its own trigger.
|
|
203
|
+
*/
|
|
204
|
+
declare class SlPromptComposerAction {
|
|
205
|
+
protected readonly type: string;
|
|
206
|
+
constructor();
|
|
207
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlPromptComposerAction, never>;
|
|
208
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlPromptComposerAction, "button[slPromptComposerAction]", ["slPromptComposerAction"], {}, {}, never, never, true, never>;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* The paperclip. It opens a file chooser it creates and never attaches to the
|
|
212
|
+
* page, with the composer's `accept` and `multiple`; content projected into
|
|
213
|
+
* the button replaces the mark.
|
|
214
|
+
*/
|
|
215
|
+
declare class SlPromptComposerAttach {
|
|
216
|
+
protected readonly composer: SlPromptComposer;
|
|
217
|
+
protected readonly label: string | null;
|
|
218
|
+
protected open(): void;
|
|
219
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlPromptComposerAttach, never>;
|
|
220
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlPromptComposerAttach, "button[slPromptComposerAttach]", never, {}, {}, never, ["*"], true, never>;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* The send. Round and named by the provider's label for its status; a padded
|
|
224
|
+
* word when given text, which then names it. It turns into a busy ring while
|
|
225
|
+
* the request travels, a stop inside the ring while the answer streams, and a
|
|
226
|
+
* retry after an error.
|
|
227
|
+
*/
|
|
228
|
+
declare class SlPromptComposerSubmit {
|
|
229
|
+
protected readonly composer: SlPromptComposer;
|
|
230
|
+
private readonly element;
|
|
231
|
+
/** Whether the consumer named the button with words of its own. */
|
|
232
|
+
protected readonly named: _angular_core.WritableSignal<boolean>;
|
|
233
|
+
protected readonly label: _angular_core.Signal<string>;
|
|
234
|
+
constructor();
|
|
235
|
+
protected activate(event: MouseEvent): void;
|
|
236
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlPromptComposerSubmit, never>;
|
|
237
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlPromptComposerSubmit, "button[slPromptComposerSubmit]", never, {}, {}, never, ["*"], true, never>;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export { PROMPT_COMPOSER_DEFAULTS, SlPromptComposer, SlPromptComposerAction, SlPromptComposerAttach, SlPromptComposerControl, SlPromptComposerFooter, SlPromptComposerHeader, SlPromptComposerInput, SlPromptComposerSubmit, injectPromptComposerDefaults, providePromptComposerDefaults };
|
|
241
|
+
export type { PromptComposerAttachEvent, PromptComposerDefaults, PromptComposerSize, PromptComposerStatus, PromptComposerStopEvent, PromptComposerSubmitOn, PromptComposerSubmitReason, PromptComposerVariant };
|
|
242
|
+
//# sourceMappingURL=slotted-angular-prompt-composer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-prompt-composer.d.ts","sources":["../../prompt-composer/src/prompt-composer-defaults.ts","../../prompt-composer/src/prompt-composer.ts","../../prompt-composer/src/prompt-composer-input.ts","../../prompt-composer/src/prompt-composer-parts.ts"],"mappings":"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","names":[]}
|