@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,286 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken, Signal, OnInit } from '@angular/core';
|
|
3
|
+
import { OtpType, OtpSelection } from '@slotted/core/otp';
|
|
4
|
+
export { OtpType as OtpInputType } from '@slotted/core/otp';
|
|
5
|
+
import { ChangeRequest } from '@slotted/core/state';
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
|
|
8
|
+
/** The type step the control sits at, matching the field around it. */
|
|
9
|
+
type OtpInputSize = 'sm' | 'md' | 'lg';
|
|
10
|
+
/**
|
|
11
|
+
* How much frame each box shows. `outline` takes the ground it is placed on
|
|
12
|
+
* and `subtle` sinks into the page — the two steps `text-field` draws. There
|
|
13
|
+
* is no `plain`: a code is never a cell.
|
|
14
|
+
*/
|
|
15
|
+
type OtpInputVariant = 'outline' | 'subtle';
|
|
16
|
+
|
|
17
|
+
interface OtpInputDefaults {
|
|
18
|
+
attached: boolean;
|
|
19
|
+
length: number;
|
|
20
|
+
placeholder: string;
|
|
21
|
+
size: OtpInputSize;
|
|
22
|
+
type: OtpType;
|
|
23
|
+
variant: OtpInputVariant;
|
|
24
|
+
}
|
|
25
|
+
declare const OTP_INPUT_DEFAULTS: InjectionToken<OtpInputDefaults>;
|
|
26
|
+
/**
|
|
27
|
+
* An application decides once what its code fields look like — and how long
|
|
28
|
+
* its codes are — rather than repeating the same inputs on every verification
|
|
29
|
+
* screen. A control that states any of them itself still wins.
|
|
30
|
+
*
|
|
31
|
+
* `size` is the one the field outranks: a control inside a field takes the
|
|
32
|
+
* field's step and this token answers only outside one.
|
|
33
|
+
*/
|
|
34
|
+
declare function provideOtpInputDefaults(defaults: Partial<OtpInputDefaults>): {
|
|
35
|
+
provide: InjectionToken<OtpInputDefaults>;
|
|
36
|
+
useFactory: () => OtpInputDefaults;
|
|
37
|
+
};
|
|
38
|
+
/** What a code field renders as here, before it states anything of its own. */
|
|
39
|
+
declare function injectOtpInputDefaults(): OtpInputDefaults;
|
|
40
|
+
/**
|
|
41
|
+
* What the frame needs to know about the control inside it, and what the
|
|
42
|
+
* control needs the frame to call.
|
|
43
|
+
*
|
|
44
|
+
* It is an abstract class rather than an import so the two directives can
|
|
45
|
+
* depend on each other without a cycle — the shape `text-field` already has.
|
|
46
|
+
* The control provides itself as this, and the frame queries for it.
|
|
47
|
+
*/
|
|
48
|
+
declare abstract class SlOtpInputState {
|
|
49
|
+
/** The characters the element holds, cut to the code. */
|
|
50
|
+
abstract readonly code: Signal<string>;
|
|
51
|
+
/** Where the cursor or the selection is, while the control has focus. */
|
|
52
|
+
abstract readonly selection: Signal<OtpSelection | null>;
|
|
53
|
+
abstract readonly focused: Signal<boolean>;
|
|
54
|
+
abstract readonly resolvedDisabled: Signal<boolean | undefined>;
|
|
55
|
+
abstract readonly resolvedReadOnly: Signal<boolean | undefined>;
|
|
56
|
+
abstract readonly resolvedInvalid: Signal<boolean | undefined>;
|
|
57
|
+
/** Puts the cursor in the box at `index`, clamped to the value. */
|
|
58
|
+
abstract pressAt(index: number): void;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface Slot {
|
|
62
|
+
readonly index: number;
|
|
63
|
+
readonly shown: string;
|
|
64
|
+
readonly placeholder: string;
|
|
65
|
+
readonly current: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The frame: N painted boxes around one real input.
|
|
69
|
+
*
|
|
70
|
+
* **It is not the control.** The element carrying `data-ui` is the consumer's
|
|
71
|
+
* own box with no role; the `input` inside it holds the value, the identifier
|
|
72
|
+
* and every native attribute, and lies over the boxes, transparent. The boxes
|
|
73
|
+
* are drawn here from what the control reports, and are hidden from assistive
|
|
74
|
+
* technology.
|
|
75
|
+
*
|
|
76
|
+
* **Angular pays one element for that frame, and React pays none.** React can
|
|
77
|
+
* render a wrapper from inside a component; an Angular directive cannot create
|
|
78
|
+
* a box around its own host. `slOtpInputControl` injects this class, so a
|
|
79
|
+
* control written without the frame is a compile-time failure rather than a
|
|
80
|
+
* silent one.
|
|
81
|
+
*/
|
|
82
|
+
declare class SlOtpInput {
|
|
83
|
+
/** Defaults to the field, then to the token, then to `md`. */
|
|
84
|
+
readonly size: _angular_core.InputSignal<OtpInputSize | undefined>;
|
|
85
|
+
/** Defaults to the token, then to `outline`. */
|
|
86
|
+
readonly variant: _angular_core.InputSignal<OtpInputVariant | undefined>;
|
|
87
|
+
/** Joins the boxes of a group along one seam. Defaults to the token's. */
|
|
88
|
+
readonly attached: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
89
|
+
/** How many characters the code has. Defaults to the token's, then 6. */
|
|
90
|
+
readonly length: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
91
|
+
/**
|
|
92
|
+
* How the boxes are partitioned: `[3, 3]` draws two groups of three with a
|
|
93
|
+
* separator between them. The sum has to be `length`; a partition that does
|
|
94
|
+
* not add up draws one group.
|
|
95
|
+
*/
|
|
96
|
+
readonly groupsInput: _angular_core.InputSignal<readonly number[] | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* What an empty box shows: one character repeats over every box, and a
|
|
99
|
+
* string as long as the code distributes. Defaults to the token's.
|
|
100
|
+
*/
|
|
101
|
+
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Hides the characters: the control becomes `type="password"`, so the
|
|
104
|
+
* platform treats the value as a secret, and each filled box shows a bullet.
|
|
105
|
+
*/
|
|
106
|
+
readonly mask: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
107
|
+
private readonly defaults;
|
|
108
|
+
private readonly field;
|
|
109
|
+
/**
|
|
110
|
+
* The control inside. It provides itself as `SlOtpInputState`, so the frame
|
|
111
|
+
* can paint the value and the cursor without either directive importing the
|
|
112
|
+
* other.
|
|
113
|
+
*/
|
|
114
|
+
readonly control: _angular_core.Signal<SlOtpInputState | undefined>;
|
|
115
|
+
readonly resolvedSize: _angular_core.Signal<OtpInputSize>;
|
|
116
|
+
readonly resolvedVariant: _angular_core.Signal<OtpInputVariant>;
|
|
117
|
+
readonly resolvedAttached: _angular_core.Signal<boolean>;
|
|
118
|
+
readonly resolvedLength: _angular_core.Signal<number>;
|
|
119
|
+
readonly resolvedPlaceholder: _angular_core.Signal<string>;
|
|
120
|
+
readonly complete: _angular_core.Signal<boolean>;
|
|
121
|
+
protected readonly groups: _angular_core.Signal<Slot[][]>;
|
|
122
|
+
/**
|
|
123
|
+
* A press on a box puts the cursor in that box. The input lies over the
|
|
124
|
+
* boxes and would otherwise place its caret by the x of transparent text;
|
|
125
|
+
* the box under the pointer is what the reader meant, so it is found from
|
|
126
|
+
* the point and handed to the control.
|
|
127
|
+
*/
|
|
128
|
+
protected onPointerDown(event: PointerEvent): void;
|
|
129
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlOtpInput, never>;
|
|
130
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlOtpInput, "[slOtpInput]", ["slOtpInput"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "attached": { "alias": "attached"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; "groupsInput": { "alias": "groups"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; }, {}, ["control"], ["*"], true, never>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** What an edit lost to the filter, and the event that carried it. */
|
|
134
|
+
interface OtpInputRejection {
|
|
135
|
+
readonly text: string;
|
|
136
|
+
readonly source: Event;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* The control itself: the value, the identifier, and everything the field
|
|
140
|
+
* around it says. `dragstart` is refused: a press on a selected character
|
|
141
|
+
* would otherwise drag that text, with a ghost of the character floating
|
|
142
|
+
* under the pointer, and in a full code a character is selected at every
|
|
143
|
+
* press.
|
|
144
|
+
*
|
|
145
|
+
* **The element owns the characters, and the directive keeps a copy.** The
|
|
146
|
+
* frame paints every character, so unlike `text-field` this mirror is the
|
|
147
|
+
* value and not only its length. `writeValue` from a form and a `[value]`
|
|
148
|
+
* binding both write the element; typing writes it directly, and the copy
|
|
149
|
+
* follows — which is what Angular's own `DefaultValueAccessor` does.
|
|
150
|
+
*
|
|
151
|
+
* **The selection is normalised, not the keys.** Every key is the browser's.
|
|
152
|
+
* After each change the directive makes sure a cursor inside the value has
|
|
153
|
+
* one character selected, so typing replaces it instead of being refused by
|
|
154
|
+
* `maxlength` — the rule `@slotted/core/otp` holds.
|
|
155
|
+
*
|
|
156
|
+
* **Unset means ask the field.** `disabled`, `readOnly` and `invalid` default
|
|
157
|
+
* to `undefined` rather than `false`. A value the consumer wrote as a static
|
|
158
|
+
* attribute is read before the host binding computes, so the binding never
|
|
159
|
+
* writes over it.
|
|
160
|
+
*/
|
|
161
|
+
declare class SlOtpInputControl implements ControlValueAccessor, OnInit, SlOtpInputState {
|
|
162
|
+
/** Present means the consumer owns the value. */
|
|
163
|
+
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
164
|
+
/** The value the control starts from when nobody else writes one. */
|
|
165
|
+
readonly defaultValue: _angular_core.InputSignal<string | undefined>;
|
|
166
|
+
/** Which characters the code takes. Defaults to the token's, then `numeric`. */
|
|
167
|
+
readonly type: _angular_core.InputSignal<OtpType | undefined>;
|
|
168
|
+
/** Tested against each character; outranks `type` in what is accepted. */
|
|
169
|
+
readonly pattern: _angular_core.InputSignal<RegExp | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* Run over every edit before the filter: strip a `G-` prefix, uppercase a
|
|
172
|
+
* code the reader typed in lowercase.
|
|
173
|
+
*/
|
|
174
|
+
readonly transform: _angular_core.InputSignal<((text: string) => string) | undefined>;
|
|
175
|
+
/** Unstated rather than `false`, so the control defers to the field. */
|
|
176
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
177
|
+
/** Unstated rather than `false`. Reaches the element as the native `readonly`. */
|
|
178
|
+
readonly readOnly: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
179
|
+
/** Unstated rather than `false`. Reaches the element as `aria-invalid`. */
|
|
180
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
181
|
+
/** Submits the owning form when the code is complete. */
|
|
182
|
+
readonly autoSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
183
|
+
/**
|
|
184
|
+
* Asks the platform for the code the moment an SMS arrives, where the
|
|
185
|
+
* WebOTP API exists. The request is abandoned when the form submits or the
|
|
186
|
+
* control is destroyed.
|
|
187
|
+
*/
|
|
188
|
+
readonly webOtp: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
189
|
+
/**
|
|
190
|
+
* One output for one transition, carrying the value, the value it replaces,
|
|
191
|
+
* the reason, the originating event and `cancel()`. There is no `[(value)]`,
|
|
192
|
+
* because a two-way binding has one slot and can carry none of those; a form
|
|
193
|
+
* gets the same movement through `ControlValueAccessor`.
|
|
194
|
+
*/
|
|
195
|
+
readonly valueChange: _angular_core.OutputEmitterRef<ChangeRequest<string>>;
|
|
196
|
+
/** The value, the moment it reaches `length` characters. */
|
|
197
|
+
readonly complete: _angular_core.OutputEmitterRef<string>;
|
|
198
|
+
/** What an edit lost to the filter, before the value moves. */
|
|
199
|
+
readonly rejected: _angular_core.OutputEmitterRef<OtpInputRejection>;
|
|
200
|
+
private readonly element;
|
|
201
|
+
private readonly destroyRef;
|
|
202
|
+
/**
|
|
203
|
+
* The frame around the control. Injected without `optional`, so an `input`
|
|
204
|
+
* written without it fails at construction rather than silently losing its
|
|
205
|
+
* boxes. It is public because the host bindings read its length and mask.
|
|
206
|
+
*/
|
|
207
|
+
readonly frame: SlOtpInput;
|
|
208
|
+
private readonly field;
|
|
209
|
+
private readonly defaults;
|
|
210
|
+
private readonly writtenId;
|
|
211
|
+
private readonly writtenType;
|
|
212
|
+
private readonly writtenAutocomplete;
|
|
213
|
+
private readonly writtenInputMode;
|
|
214
|
+
private readonly writtenSpellcheck;
|
|
215
|
+
private readonly writtenDescribedBy;
|
|
216
|
+
private readonly writtenInvalid;
|
|
217
|
+
private readonly writtenRequired;
|
|
218
|
+
private readonly writtenReadonly;
|
|
219
|
+
/** What the element is showing, cut to the code. */
|
|
220
|
+
private readonly mirror;
|
|
221
|
+
readonly code: _angular_core.Signal<string>;
|
|
222
|
+
private readonly ownSelection;
|
|
223
|
+
readonly selection: _angular_core.Signal<OtpSelection | null>;
|
|
224
|
+
private readonly ownFocused;
|
|
225
|
+
readonly focused: _angular_core.Signal<boolean>;
|
|
226
|
+
private previousSelection;
|
|
227
|
+
private reported;
|
|
228
|
+
private readonly formDisabled;
|
|
229
|
+
private onChangeFn;
|
|
230
|
+
private onTouchedFn;
|
|
231
|
+
readonly resolvedType: _angular_core.Signal<string>;
|
|
232
|
+
/** Which characters the code takes, stated here or by the token. */
|
|
233
|
+
readonly codeType: _angular_core.Signal<OtpType>;
|
|
234
|
+
readonly resolvedDisabled: _angular_core.Signal<boolean | undefined>;
|
|
235
|
+
readonly resolvedReadOnly: _angular_core.Signal<boolean | undefined>;
|
|
236
|
+
readonly resolvedInvalid: _angular_core.Signal<boolean | undefined>;
|
|
237
|
+
protected readonly controlId: _angular_core.Signal<string | null>;
|
|
238
|
+
protected readonly resolvedAutocomplete: _angular_core.Signal<string>;
|
|
239
|
+
protected readonly resolvedInputMode: _angular_core.Signal<string>;
|
|
240
|
+
protected readonly resolvedSpellcheck: _angular_core.Signal<string>;
|
|
241
|
+
/** Merged after the consumer's own, so a tour step is read before the help. */
|
|
242
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
243
|
+
protected readonly ariaInvalid: _angular_core.Signal<string | null>;
|
|
244
|
+
protected readonly ariaRequired: _angular_core.Signal<string | null>;
|
|
245
|
+
protected readonly disabledAttribute: _angular_core.Signal<"" | null>;
|
|
246
|
+
protected readonly readonlyAttribute: _angular_core.Signal<"" | null>;
|
|
247
|
+
constructor();
|
|
248
|
+
/**
|
|
249
|
+
* Angular creates every directive in a template before it binds any input,
|
|
250
|
+
* so the starting value is read here rather than in the constructor.
|
|
251
|
+
*/
|
|
252
|
+
ngOnInit(): void;
|
|
253
|
+
/** The native element, for `focus()`, `select()` and `setSelectionRange()`. */
|
|
254
|
+
get inputElement(): HTMLInputElement;
|
|
255
|
+
writeValue(value: string | null | undefined): void;
|
|
256
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
257
|
+
registerOnTouched(fn: () => void): void;
|
|
258
|
+
setDisabledState(isDisabled: boolean): void;
|
|
259
|
+
pressAt(index: number): void;
|
|
260
|
+
protected onInput(event: Event): void;
|
|
261
|
+
protected onFocus(): void;
|
|
262
|
+
protected onBlur(): void;
|
|
263
|
+
private sanitize;
|
|
264
|
+
/** Reads the element's selection, corrects it, and paints the current box. */
|
|
265
|
+
private syncSelection;
|
|
266
|
+
/**
|
|
267
|
+
* Completion is a fact about the value, reported once per value: a full
|
|
268
|
+
* code edited into another full code reports again, and a code emptied and
|
|
269
|
+
* retyped reports again.
|
|
270
|
+
*/
|
|
271
|
+
private reportCompletion;
|
|
272
|
+
/**
|
|
273
|
+
* The WebOTP API: where it exists, the platform hands over the code the
|
|
274
|
+
* moment the SMS arrives. Abandoned when the form submits on its own or the
|
|
275
|
+
* directive is destroyed, which is the shape MDN's example takes.
|
|
276
|
+
*/
|
|
277
|
+
private requestWebOtp;
|
|
278
|
+
/** Emits the request and says whether anything may commit. */
|
|
279
|
+
private request;
|
|
280
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlOtpInputControl, never>;
|
|
281
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlOtpInputControl, "input[slOtpInputControl]", ["slOtpInputControl"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "transform": { "alias": "transform"; "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; }; "autoSubmit": { "alias": "autoSubmit"; "required": false; "isSignal": true; }; "webOtp": { "alias": "webOtp"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "complete": "complete"; "rejected": "rejected"; }, never, never, true, never>;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export { OTP_INPUT_DEFAULTS, SlOtpInput, SlOtpInputControl, SlOtpInputState, injectOtpInputDefaults, provideOtpInputDefaults };
|
|
285
|
+
export type { OtpInputDefaults, OtpInputRejection, OtpInputSize, OtpInputVariant };
|
|
286
|
+
//# sourceMappingURL=slotted-angular-otp-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-otp-input.d.ts","sources":["../../otp-input/src/otp-input-defaults.ts","../../otp-input/src/otp-input.ts","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gBAAgB;AAIpC;;AAWA;;;AAiBA,6BAAyB,KAAK;AA2B9B;AASA;AAOA;;AAUA;AAmBA;;;;AAIG;AACH;AAYA;;;;AAIG;AACH;;AA0BA;oDAvVW,iBAAiB;sDAAjB,iBAAiB;AAsW7B;;","names":[]}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import * as _slotted_angular_page from '@slotted/angular/page';
|
|
2
|
+
import * as _slotted_core_i18n from '@slotted/core/i18n';
|
|
3
|
+
import { PartialMessages, PageHeaderMessages } from '@slotted/core/i18n';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { InjectionToken } from '@angular/core';
|
|
6
|
+
import { ChangeRequest } from '@slotted/core/state';
|
|
7
|
+
import * as _slotted_angular_progress_indicator from '@slotted/angular/progress-indicator';
|
|
8
|
+
import { ProgressTone, ProgressSize } from '@slotted/angular/progress-indicator';
|
|
9
|
+
import * as _slotted_angular_page_header from '@slotted/angular/page-header';
|
|
10
|
+
|
|
11
|
+
/** The type step the title sits at. The snapped title takes the step below it. */
|
|
12
|
+
type PageHeaderSize = 'sm' | 'md' | 'lg';
|
|
13
|
+
/** The rank of the heading. A page's own header is `1`. */
|
|
14
|
+
type PageHeaderLevel = '1' | '2' | '3';
|
|
15
|
+
/**
|
|
16
|
+
* What collapses the header area. `scroll` collapses it when it leaves the
|
|
17
|
+
* scrollport and re-opens it when it returns; `manual` leaves it to the toggle,
|
|
18
|
+
* the pin and the application, and the whole header stays while the page
|
|
19
|
+
* scrolls.
|
|
20
|
+
*/
|
|
21
|
+
type PageHeaderCollapse = 'scroll' | 'manual';
|
|
22
|
+
/**
|
|
23
|
+
* The ground and the frame. `band` is a strip of the surface with a hairline
|
|
24
|
+
* under it; `plain` paints no ground at rest and takes the surface back once
|
|
25
|
+
* content passes under it; `floating` is a box of its own, rounded, that
|
|
26
|
+
* slides to an inset below the scroller's edge once stuck.
|
|
27
|
+
*/
|
|
28
|
+
type PageHeaderVariant = 'band' | 'plain' | 'floating';
|
|
29
|
+
/** Why the header area opened or closed. */
|
|
30
|
+
type PageHeaderExpandedReason = 'pointer' | 'keyboard' | 'scroll' | 'programmatic';
|
|
31
|
+
/** Why the pin took hold or let go. */
|
|
32
|
+
type PageHeaderPinnedReason = 'pointer' | 'keyboard' | 'programmatic';
|
|
33
|
+
interface PageHeaderDefaults {
|
|
34
|
+
collapse: PageHeaderCollapse;
|
|
35
|
+
level: PageHeaderLevel;
|
|
36
|
+
size: PageHeaderSize;
|
|
37
|
+
variant: PageHeaderVariant;
|
|
38
|
+
}
|
|
39
|
+
declare const PAGE_HEADER_DEFAULTS: InjectionToken<PageHeaderDefaults>;
|
|
40
|
+
/**
|
|
41
|
+
* An application decides once how its page headers behave — the size, the
|
|
42
|
+
* rank, whether a scroll collapses the area — rather than repeating them on
|
|
43
|
+
* every screen. A header that states any of them itself still wins. Its words
|
|
44
|
+
* come from the language in force (`provideSlotted`).
|
|
45
|
+
*/
|
|
46
|
+
declare function providePageHeaderDefaults(defaults: Partial<PageHeaderDefaults>): {
|
|
47
|
+
provide: InjectionToken<PageHeaderDefaults>;
|
|
48
|
+
useFactory: () => PageHeaderDefaults;
|
|
49
|
+
};
|
|
50
|
+
/** What a page header renders as here, before it states anything of its own. */
|
|
51
|
+
declare function injectPageHeaderDefaults(): PageHeaderDefaults;
|
|
52
|
+
/**
|
|
53
|
+
* Application-scoped rather than module-scoped, for the reason `field`
|
|
54
|
+
* records: a module-level counter produces colliding sequences when two
|
|
55
|
+
* applications render in one server process, and the server and the client
|
|
56
|
+
* sequences must match for hydration.
|
|
57
|
+
*/
|
|
58
|
+
declare class SlPageHeaderIdFactory {
|
|
59
|
+
private count;
|
|
60
|
+
next(): string;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderIdFactory, never>;
|
|
62
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The shell of a screen's top: a title area that never leaves, a header area
|
|
67
|
+
* that scrolls away under it and comes back, a pill of controls on the
|
|
68
|
+
* chrome's edge, and a slot for tabs. SAP Fiori's Dynamic Page, rebuilt on one
|
|
69
|
+
* sticky root.
|
|
70
|
+
*
|
|
71
|
+
* **The stylesheet does the moving.** The root is `position: sticky` with a
|
|
72
|
+
* negative offset the size of the header area, measured into
|
|
73
|
+
* `--slotted-page-header-collapse` by `@slotted/core/sticky-header`, which
|
|
74
|
+
* the React binding drives the same way. Scrolling takes the area under the
|
|
75
|
+
* title and leaves the title where it is.
|
|
76
|
+
*
|
|
77
|
+
* **Two values a template may bind.** `expanded` moves by the toggle, by the
|
|
78
|
+
* pin, by the application and by the scroll; `pinned` by the pin and the
|
|
79
|
+
* application. Each move is first a request on `expandedRequest` or
|
|
80
|
+
* `pinnedRequest`, carrying the reason — `scroll` is a reason of its own — and
|
|
81
|
+
* `cancel()`.
|
|
82
|
+
*/
|
|
83
|
+
declare class SlPageHeader {
|
|
84
|
+
/** Whether the header area is open. Two-way, so a template may bind it directly. */
|
|
85
|
+
readonly expanded: i0.ModelSignal<boolean>;
|
|
86
|
+
/** Whether the pin holds the area open. Two-way. */
|
|
87
|
+
readonly pinned: i0.ModelSignal<boolean>;
|
|
88
|
+
readonly variant: i0.InputSignal<PageHeaderVariant | undefined>;
|
|
89
|
+
readonly size: i0.InputSignal<PageHeaderSize | undefined>;
|
|
90
|
+
readonly level: i0.InputSignal<PageHeaderLevel | undefined>;
|
|
91
|
+
readonly collapse: i0.InputSignal<PageHeaderCollapse | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Whether the title has not arrived yet. The heading, the subheading and the
|
|
94
|
+
* description render `slSkeletonText` in place of their words; the actions
|
|
95
|
+
* stay operable; the root carries `aria-busy`.
|
|
96
|
+
*/
|
|
97
|
+
readonly loading: i0.InputSignalWithTransform<boolean, unknown>;
|
|
98
|
+
/**
|
|
99
|
+
* Words laid over the catalog of the language in force, key by key: the
|
|
100
|
+
* toggle, the pin and the header area's name. A static `aria-label` on a
|
|
101
|
+
* part still wins.
|
|
102
|
+
*/
|
|
103
|
+
readonly messages: i0.InputSignal<PartialMessages<PageHeaderMessages> | undefined>;
|
|
104
|
+
/** One output for one transition of the header area, carrying the reason and the event. */
|
|
105
|
+
readonly expandedRequest: i0.OutputEmitterRef<ChangeRequest<boolean>>;
|
|
106
|
+
/** One output for one transition of the pin, carrying the reason and the event. */
|
|
107
|
+
readonly pinnedRequest: i0.OutputEmitterRef<ChangeRequest<boolean>>;
|
|
108
|
+
private readonly defaults;
|
|
109
|
+
private readonly page;
|
|
110
|
+
private readonly native;
|
|
111
|
+
private readonly generated;
|
|
112
|
+
readonly resolvedVariant: i0.Signal<PageHeaderVariant>;
|
|
113
|
+
readonly resolvedSize: i0.Signal<PageHeaderSize>;
|
|
114
|
+
readonly resolvedLevel: i0.Signal<PageHeaderLevel>;
|
|
115
|
+
readonly resolvedCollapse: i0.Signal<PageHeaderCollapse>;
|
|
116
|
+
/** The family's words in the language in force, with this header's `messages` laid over them. */
|
|
117
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<PageHeaderMessages>;
|
|
118
|
+
protected readonly containerSize: i0.Signal<_slotted_angular_page.PageWidth>;
|
|
119
|
+
protected readonly containerInset: i0.Signal<_slotted_angular_page.PageInset | undefined>;
|
|
120
|
+
/** Whether the scroll has passed the area — a measured fact. */
|
|
121
|
+
readonly scrolled: i0.WritableSignal<boolean>;
|
|
122
|
+
/** The header is too much of the screen to hold; the pin is hidden and a held header let go. */
|
|
123
|
+
readonly tall: i0.WritableSignal<boolean>;
|
|
124
|
+
/** The header is narrower than the compact size class; it is in the flow and nothing condenses it. */
|
|
125
|
+
readonly compact: i0.WritableSignal<boolean>;
|
|
126
|
+
/** Whether the area is shown whole in place although the scroll has passed it. */
|
|
127
|
+
readonly revealed: i0.WritableSignal<boolean>;
|
|
128
|
+
/** Whether content passes under the chrome — a measured fact `plain` and `floating` read. */
|
|
129
|
+
readonly stuck: i0.WritableSignal<boolean>;
|
|
130
|
+
private engine;
|
|
131
|
+
/** Who asked for the move the next change detection will show. */
|
|
132
|
+
private expandedBy;
|
|
133
|
+
/** The identifiers that wire the toggle to the area and the root to its heading. */
|
|
134
|
+
ids(): {
|
|
135
|
+
areaId: string;
|
|
136
|
+
headingId: string;
|
|
137
|
+
};
|
|
138
|
+
constructor();
|
|
139
|
+
/**
|
|
140
|
+
* The body of the page this header heads, while that page fills: nothing
|
|
141
|
+
* scrolls outside it there, so its principal scroller is what snaps the area.
|
|
142
|
+
* Read from the DOM on every scroll, so a page that turns `fill` on or off
|
|
143
|
+
* is followed without rebuilding the engine.
|
|
144
|
+
*/
|
|
145
|
+
private filledBody;
|
|
146
|
+
private request;
|
|
147
|
+
private requestPinned;
|
|
148
|
+
/** Asks the header area to open or close, carrying the reason and the originating event. */
|
|
149
|
+
setExpanded(next: boolean, reason: PageHeaderExpandedReason, source?: Event): void;
|
|
150
|
+
/** Asks the pin to take hold or let go, carrying the reason and the originating event. */
|
|
151
|
+
setPinned(next: boolean, reason: PageHeaderPinnedReason, source?: Event): void;
|
|
152
|
+
/** Opens the header area, carrying `programmatic`. Scrolled past, it reveals it in place. */
|
|
153
|
+
expand(): void;
|
|
154
|
+
/** Closes the header area, carrying `programmatic`. */
|
|
155
|
+
collapseArea(): void;
|
|
156
|
+
/** Takes hold, carrying `programmatic`; a collapsed area opens with it. */
|
|
157
|
+
pin(): void;
|
|
158
|
+
/** Lets go, carrying `programmatic`. */
|
|
159
|
+
unpin(): void;
|
|
160
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeader, never>;
|
|
161
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlPageHeader, "[slPageHeader]", ["slPageHeader"], { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "level": { "alias": "level"; "required": false; "isSignal": true; }; "collapse": { "alias": "collapse"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "pinned": "pinnedChange"; "expandedRequest": "expandedRequest"; "pinnedRequest": "pinnedRequest"; }, never, ["*"], true, never>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/** The strip that never leaves: nav, title row and controls. Sticky at 0 inside the root. */
|
|
165
|
+
declare class SlPageHeaderTitleArea {
|
|
166
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderTitleArea, never>;
|
|
167
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderTitleArea, "[slPageHeaderTitleArea]", never, {}, {}, never, never, true, never>;
|
|
168
|
+
}
|
|
169
|
+
/** The row above the title: the way back, then the breadcrumbs. */
|
|
170
|
+
declare class SlPageHeaderNav {
|
|
171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderNav, never>;
|
|
172
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderNav, "[slPageHeaderNav]", never, {}, {}, never, never, true, never>;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* The way back: the consumer's own link or button, with the arrow the family
|
|
176
|
+
* draws before it. The arrow points along the reading direction and mirrors
|
|
177
|
+
* with it.
|
|
178
|
+
*/
|
|
179
|
+
declare class SlPageHeaderBack {
|
|
180
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderBack, never>;
|
|
181
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlPageHeaderBack, "[slPageHeaderBack]", never, {}, {}, never, ["*"], true, never>;
|
|
182
|
+
}
|
|
183
|
+
/** The slot a breadcrumb sits in. Hidden below 600 pixels. */
|
|
184
|
+
declare class SlPageHeaderBreadcrumbs {
|
|
185
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderBreadcrumbs, never>;
|
|
186
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderBreadcrumbs, "[slPageHeaderBreadcrumbs]", never, {}, {}, never, never, true, never>;
|
|
187
|
+
}
|
|
188
|
+
/** Visual, title, actions and navigation, on one row that wraps. */
|
|
189
|
+
declare class SlPageHeaderTitleRow {
|
|
190
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderTitleRow, never>;
|
|
191
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderTitleRow, "[slPageHeaderTitleRow]", never, {}, {}, never, never, true, never>;
|
|
192
|
+
}
|
|
193
|
+
/** The mark before the heading: an avatar, an icon, an image. */
|
|
194
|
+
declare class SlPageHeaderVisual {
|
|
195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderVisual, never>;
|
|
196
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderVisual, "[slPageHeaderVisual]", never, {}, {}, never, never, true, never>;
|
|
197
|
+
}
|
|
198
|
+
/** The column of heading, marks and subheading. */
|
|
199
|
+
declare class SlPageHeaderTitle {
|
|
200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderTitle, never>;
|
|
201
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderTitle, "[slPageHeaderTitle]", never, {}, {}, never, never, true, never>;
|
|
202
|
+
}
|
|
203
|
+
/** The status beside the heading: a tag, a badge, a status indicator. */
|
|
204
|
+
declare class SlPageHeaderMarks {
|
|
205
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderMarks, never>;
|
|
206
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderMarks, "[slPageHeaderMarks]", never, {}, {}, never, never, true, never>;
|
|
207
|
+
}
|
|
208
|
+
/** The slot a toolbar sits in, pushed to the end of the title row. */
|
|
209
|
+
declare class SlPageHeaderActions {
|
|
210
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderActions, never>;
|
|
211
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderActions, "[slPageHeaderActions]", never, {}, {}, never, never, true, never>;
|
|
212
|
+
}
|
|
213
|
+
/** The previous and next record, at the far end of the title row. */
|
|
214
|
+
declare class SlPageHeaderNavigation {
|
|
215
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderNavigation, never>;
|
|
216
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderNavigation, "[slPageHeaderNavigation]", never, {}, {}, never, never, true, never>;
|
|
217
|
+
}
|
|
218
|
+
/** The picture of the record, a column before the content of the header area. */
|
|
219
|
+
declare class SlPageHeaderFigure {
|
|
220
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderFigure, never>;
|
|
221
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderFigure, "[slPageHeaderFigure]", never, {}, {}, never, never, true, never>;
|
|
222
|
+
}
|
|
223
|
+
/** A column of whatever only makes sense at rest. */
|
|
224
|
+
declare class SlPageHeaderContent {
|
|
225
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderContent, never>;
|
|
226
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderContent, "[slPageHeaderContent]", never, {}, {}, never, never, true, never>;
|
|
227
|
+
}
|
|
228
|
+
/** The slot a tabs family sits in, last in the root. */
|
|
229
|
+
declare class SlPageHeaderTabs {
|
|
230
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderTabs, never>;
|
|
231
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderTabs, "[slPageHeaderTabs]", never, {}, {}, never, never, true, never>;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* The heading. The element is the consumer's own: `<h1 slPageHeaderHeading>`
|
|
235
|
+
* is a native heading and this adds nothing to it, while a `div` or an
|
|
236
|
+
* `input` gets `role="heading"` and the level the header resolved. While
|
|
237
|
+
* loading it renders `slSkeletonText` in place of its words.
|
|
238
|
+
*/
|
|
239
|
+
declare class SlPageHeaderHeading {
|
|
240
|
+
protected readonly header: SlPageHeader;
|
|
241
|
+
private readonly native;
|
|
242
|
+
private readonly isNativeHeading;
|
|
243
|
+
protected readonly ariaRole: i0.Signal<"heading" | null>;
|
|
244
|
+
protected readonly ariaLevel: i0.Signal<_slotted_angular_page_header.PageHeaderLevel | null>;
|
|
245
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderHeading, never>;
|
|
246
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlPageHeaderHeading, "[slPageHeaderHeading]", ["slPageHeaderHeading"], {}, {}, never, ["*"], true, never>;
|
|
247
|
+
}
|
|
248
|
+
/** One line under the heading, in the muted text, part of what stays visible. */
|
|
249
|
+
declare class SlPageHeaderSubheading {
|
|
250
|
+
protected readonly header: SlPageHeader;
|
|
251
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderSubheading, never>;
|
|
252
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlPageHeaderSubheading, "[slPageHeaderSubheading]", never, {}, {}, never, ["*"], true, never>;
|
|
253
|
+
}
|
|
254
|
+
/** A paragraph with a measure, inside the header area's content. */
|
|
255
|
+
declare class SlPageHeaderDescription {
|
|
256
|
+
protected readonly header: SlPageHeader;
|
|
257
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderDescription, never>;
|
|
258
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlPageHeaderDescription, "[slPageHeaderDescription]", never, {}, {}, never, ["*"], true, never>;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* The region that collapses. Collapsed by the control it is `inert` and
|
|
262
|
+
* hidden from assistive technology; scrolled past it is neither, so a control
|
|
263
|
+
* inside it that receives focus is scrolled back into view and the header
|
|
264
|
+
* re-opens with the reason `scroll`.
|
|
265
|
+
*/
|
|
266
|
+
declare class SlPageHeaderArea {
|
|
267
|
+
protected readonly header: SlPageHeader;
|
|
268
|
+
private readonly written;
|
|
269
|
+
private readonly native;
|
|
270
|
+
protected readonly label: i0.Signal<string>;
|
|
271
|
+
constructor();
|
|
272
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderArea, never>;
|
|
273
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlPageHeaderArea, "[slPageHeaderArea]", ["slPageHeaderArea"], {}, {}, never, never, true, never>;
|
|
274
|
+
}
|
|
275
|
+
/** The zero-height row on the chrome's edge; the pill is its only child. */
|
|
276
|
+
declare class SlPageHeaderControls {
|
|
277
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderControls, never>;
|
|
278
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlPageHeaderControls, "[slPageHeaderControls]", never, {}, {}, never, ["*"], true, never>;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* The disclosure control: the consumer's own `button`, so `Enter` and `Space`
|
|
282
|
+
* are the platform's. `aria-expanded` and `aria-controls` are the pattern's
|
|
283
|
+
* two properties.
|
|
284
|
+
*/
|
|
285
|
+
declare class SlPageHeaderToggle {
|
|
286
|
+
protected readonly header: SlPageHeader;
|
|
287
|
+
private readonly written;
|
|
288
|
+
protected readonly label: i0.Signal<string>;
|
|
289
|
+
protected onClick(event: MouseEvent): void;
|
|
290
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderToggle, never>;
|
|
291
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlPageHeaderToggle, "button[slPageHeaderToggle]", ["slPageHeaderToggle"], {}, {}, never, ["*"], true, never>;
|
|
292
|
+
}
|
|
293
|
+
/** The pin: a toggle button with `aria-pressed`, which is the `pressed` state the vocabulary has. */
|
|
294
|
+
declare class SlPageHeaderPin {
|
|
295
|
+
protected readonly header: SlPageHeader;
|
|
296
|
+
private readonly written;
|
|
297
|
+
protected readonly label: i0.Signal<string>;
|
|
298
|
+
protected onClick(event: MouseEvent): void;
|
|
299
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderPin, never>;
|
|
300
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlPageHeaderPin, "button[slPageHeaderPin]", ["slPageHeaderPin"], {}, {}, never, ["*"], true, never>;
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* A refresh of what is already on screen, drawn over the line where the chrome
|
|
304
|
+
* ends. Written after the controls and before the tabs, as the controls are:
|
|
305
|
+
* there it is the line the pill straddles, and with no tabs it is the root's
|
|
306
|
+
* own hairline. The frame is a row of the container one hairline tall; the
|
|
307
|
+
* stylesheet gives the bar the header's width and draws nothing while the
|
|
308
|
+
* title is still loading or while a region around the header is busy. `size`
|
|
309
|
+
* defaults to `sm`, `delay` to 200 and `minDuration` to 400 milliseconds; an
|
|
310
|
+
* input, then `provideProgressIndicatorDefaults()`, wins.
|
|
311
|
+
*/
|
|
312
|
+
declare class SlPageHeaderProgress {
|
|
313
|
+
protected readonly header: SlPageHeader;
|
|
314
|
+
protected readonly defaults: _slotted_angular_progress_indicator.ProgressIndicatorDefaults;
|
|
315
|
+
readonly loading: i0.InputSignalWithTransform<boolean, unknown>;
|
|
316
|
+
readonly value: i0.InputSignal<number | null | undefined>;
|
|
317
|
+
readonly min: i0.InputSignal<number | undefined>;
|
|
318
|
+
readonly max: i0.InputSignal<number | undefined>;
|
|
319
|
+
readonly buffer: i0.InputSignal<number | null | undefined>;
|
|
320
|
+
readonly valueText: i0.InputSignal<string | undefined>;
|
|
321
|
+
readonly label: i0.InputSignal<string | undefined>;
|
|
322
|
+
readonly tone: i0.InputSignal<ProgressTone | undefined>;
|
|
323
|
+
readonly size: i0.InputSignal<ProgressSize | undefined>;
|
|
324
|
+
readonly delay: i0.InputSignal<number | undefined>;
|
|
325
|
+
readonly minDuration: i0.InputSignal<number | undefined>;
|
|
326
|
+
/** The bar was painted and has been withdrawn. */
|
|
327
|
+
readonly withdraw: i0.OutputEmitterRef<void>;
|
|
328
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlPageHeaderProgress, never>;
|
|
329
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlPageHeaderProgress, "[slPageHeaderProgress]", ["slPageHeaderProgress"], { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "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; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "minDuration": { "alias": "minDuration"; "required": false; "isSignal": true; }; }, { "withdraw": "withdraw"; }, never, never, true, never>;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export { PAGE_HEADER_DEFAULTS, SlPageHeader, SlPageHeaderActions, SlPageHeaderArea, SlPageHeaderBack, SlPageHeaderBreadcrumbs, SlPageHeaderContent, SlPageHeaderControls, SlPageHeaderDescription, SlPageHeaderFigure, SlPageHeaderHeading, SlPageHeaderIdFactory, SlPageHeaderMarks, SlPageHeaderNav, SlPageHeaderNavigation, SlPageHeaderPin, SlPageHeaderProgress, SlPageHeaderSubheading, SlPageHeaderTabs, SlPageHeaderTitle, SlPageHeaderTitleArea, SlPageHeaderTitleRow, SlPageHeaderToggle, SlPageHeaderVisual, injectPageHeaderDefaults, providePageHeaderDefaults };
|
|
333
|
+
export type { PageHeaderCollapse, PageHeaderDefaults, PageHeaderExpandedReason, PageHeaderLevel, PageHeaderPinnedReason, PageHeaderSize, PageHeaderVariant };
|
|
334
|
+
//# sourceMappingURL=slotted-angular-page-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-page-header.d.ts","sources":["../../page-header/src/page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