@slotted/angular 0.0.0-stage → 0.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +51 -2
- package/docs/AGENTS.snippet.md +10 -0
- package/docs/accordion.json +345 -0
- package/docs/accordion.md +207 -0
- package/docs/action-bar.json +421 -0
- package/docs/action-bar.md +364 -0
- package/docs/action-sheet.json +210 -0
- package/docs/action-sheet.md +19 -0
- package/docs/alert.json +407 -0
- package/docs/alert.md +239 -0
- package/docs/app-shell.examples.md +349 -0
- package/docs/app-shell.json +835 -0
- package/docs/app-shell.md +214 -0
- package/docs/aspect-ratio.json +159 -0
- package/docs/aspect-ratio.md +134 -0
- package/docs/attachment.json +486 -0
- package/docs/attachment.md +253 -0
- package/docs/avatar-group.json +208 -0
- package/docs/avatar-group.md +130 -0
- package/docs/avatar.json +342 -0
- package/docs/avatar.md +142 -0
- package/docs/badge.json +334 -0
- package/docs/badge.md +138 -0
- package/docs/breadcrumb.json +368 -0
- package/docs/breadcrumb.md +237 -0
- package/docs/button-group.json +158 -0
- package/docs/button-group.md +72 -0
- package/docs/button.examples.md +621 -0
- package/docs/button.json +977 -0
- package/docs/button.md +200 -0
- package/docs/calendar.json +592 -0
- package/docs/calendar.md +242 -0
- package/docs/card.json +283 -0
- package/docs/card.md +130 -0
- package/docs/carousel.json +560 -0
- package/docs/carousel.md +357 -0
- package/docs/cascader.json +933 -0
- package/docs/cascader.md +379 -0
- package/docs/chart.examples.md +582 -0
- package/docs/chart.json +1359 -0
- package/docs/chart.md +187 -0
- package/docs/checkbox-group.examples.md +612 -0
- package/docs/checkbox-group.json +395 -0
- package/docs/checkbox-group.md +106 -0
- package/docs/checkbox.examples.md +546 -0
- package/docs/checkbox.json +506 -0
- package/docs/checkbox.md +104 -0
- package/docs/code-block.json +616 -0
- package/docs/code-block.md +303 -0
- package/docs/collapsible.json +456 -0
- package/docs/collapsible.md +261 -0
- package/docs/color-picker.json +523 -0
- package/docs/color-picker.md +201 -0
- package/docs/column-manager.json +486 -0
- package/docs/column-manager.md +277 -0
- package/docs/combobox.examples.md +1732 -0
- package/docs/combobox.json +1250 -0
- package/docs/combobox.md +209 -0
- package/docs/command-palette.json +800 -0
- package/docs/command-palette.md +419 -0
- package/docs/container.json +156 -0
- package/docs/container.md +92 -0
- package/docs/context-menu.json +231 -0
- package/docs/context-menu.md +176 -0
- package/docs/currency-field.examples.md +321 -0
- package/docs/currency-field.json +649 -0
- package/docs/currency-field.md +128 -0
- package/docs/dashboard-grid.json +680 -0
- package/docs/dashboard-grid.md +265 -0
- package/docs/data-grid.examples.md +3064 -0
- package/docs/data-grid.json +1577 -0
- package/docs/data-grid.md +237 -0
- package/docs/data-grid.props.md +81 -0
- package/docs/data-list.json +685 -0
- package/docs/data-list.md +327 -0
- package/docs/date-field.json +490 -0
- package/docs/date-field.md +235 -0
- package/docs/date-picker.examples.md +1226 -0
- package/docs/date-picker.json +696 -0
- package/docs/date-picker.md +121 -0
- package/docs/date-range-picker.examples.md +1300 -0
- package/docs/date-range-picker.json +903 -0
- package/docs/date-range-picker.md +142 -0
- package/docs/datetime-field.json +665 -0
- package/docs/datetime-field.md +337 -0
- package/docs/datetime-picker.examples.md +1269 -0
- package/docs/datetime-picker.json +928 -0
- package/docs/datetime-picker.md +150 -0
- package/docs/datetime-range-picker.examples.md +225 -0
- package/docs/datetime-range-picker.json +1015 -0
- package/docs/datetime-range-picker.md +162 -0
- package/docs/description-list.json +471 -0
- package/docs/description-list.md +268 -0
- package/docs/detail-panel.json +530 -0
- package/docs/detail-panel.md +361 -0
- package/docs/dialog.examples.md +2467 -0
- package/docs/dialog.json +1141 -0
- package/docs/dialog.md +217 -0
- package/docs/dialog.props.md +63 -0
- package/docs/divider.json +148 -0
- package/docs/divider.md +83 -0
- package/docs/drawer.examples.md +1929 -0
- package/docs/drawer.json +753 -0
- package/docs/drawer.md +199 -0
- package/docs/entity-picker.json +946 -0
- package/docs/entity-picker.md +365 -0
- package/docs/event-calendar.examples.md +308 -0
- package/docs/event-calendar.json +1202 -0
- package/docs/event-calendar.md +201 -0
- package/docs/field-group.json +333 -0
- package/docs/field-group.md +181 -0
- package/docs/field.examples.md +676 -0
- package/docs/field.json +528 -0
- package/docs/field.md +127 -0
- package/docs/filter-bar.json +817 -0
- package/docs/filter-bar.md +380 -0
- package/docs/form.json +378 -0
- package/docs/form.md +235 -0
- package/docs/fullscreen.json +395 -0
- package/docs/fullscreen.md +225 -0
- package/docs/grid.json +176 -0
- package/docs/grid.md +74 -0
- package/docs/highlight.json +279 -0
- package/docs/highlight.md +210 -0
- package/docs/hover-card.json +254 -0
- package/docs/hover-card.md +213 -0
- package/docs/icon.json +173 -0
- package/docs/icon.md +101 -0
- package/docs/image.json +476 -0
- package/docs/image.md +254 -0
- package/docs/import-export-center.json +836 -0
- package/docs/import-export-center.md +345 -0
- package/docs/index.md +141 -0
- package/docs/inline-message.json +312 -0
- package/docs/inline-message.md +191 -0
- package/docs/inline.json +149 -0
- package/docs/inline.md +72 -0
- package/docs/kbd.json +350 -0
- package/docs/kbd.md +210 -0
- package/docs/link.json +264 -0
- package/docs/link.md +167 -0
- package/docs/list-item.json +463 -0
- package/docs/list-item.md +236 -0
- package/docs/list.json +321 -0
- package/docs/list.md +185 -0
- package/docs/listbox.json +807 -0
- package/docs/listbox.md +413 -0
- package/docs/loading-overlay.json +440 -0
- package/docs/loading-overlay.md +248 -0
- package/docs/markdown.json +461 -0
- package/docs/markdown.md +266 -0
- package/docs/menu.examples.md +1651 -0
- package/docs/menu.json +922 -0
- package/docs/menu.md +155 -0
- package/docs/menubar.json +292 -0
- package/docs/menubar.md +173 -0
- package/docs/message-scroller.json +401 -0
- package/docs/message-scroller.md +212 -0
- package/docs/message.json +862 -0
- package/docs/message.md +473 -0
- package/docs/multi-select.examples.md +1922 -0
- package/docs/multi-select.json +1314 -0
- package/docs/multi-select.md +213 -0
- package/docs/navigation-menu.json +529 -0
- package/docs/navigation-menu.md +329 -0
- package/docs/notification-center.json +664 -0
- package/docs/notification-center.md +372 -0
- package/docs/number-field.examples.md +1078 -0
- package/docs/number-field.json +668 -0
- package/docs/number-field.md +137 -0
- package/docs/otp-input.json +479 -0
- package/docs/otp-input.md +291 -0
- package/docs/page-header.json +574 -0
- package/docs/page-header.md +338 -0
- package/docs/page.json +332 -0
- package/docs/page.md +184 -0
- package/docs/pagination.json +434 -0
- package/docs/pagination.md +238 -0
- package/docs/popover.examples.md +1235 -0
- package/docs/popover.json +656 -0
- package/docs/popover.md +199 -0
- package/docs/progress-indicator.json +501 -0
- package/docs/progress-indicator.md +329 -0
- package/docs/prompt-composer.json +498 -0
- package/docs/prompt-composer.md +278 -0
- package/docs/prose.json +357 -0
- package/docs/prose.md +226 -0
- package/docs/radio-group.examples.md +626 -0
- package/docs/radio-group.json +541 -0
- package/docs/radio-group.md +112 -0
- package/docs/rating.json +1053 -0
- package/docs/rating.md +435 -0
- package/docs/result-state.json +376 -0
- package/docs/result-state.md +286 -0
- package/docs/saved-views.json +384 -0
- package/docs/saved-views.md +242 -0
- package/docs/scroll-area.json +120 -0
- package/docs/scroll-area.md +8 -0
- package/docs/section.json +344 -0
- package/docs/section.md +208 -0
- package/docs/segmented-control.json +429 -0
- package/docs/segmented-control.md +240 -0
- package/docs/select.examples.md +1214 -0
- package/docs/select.json +1147 -0
- package/docs/select.md +199 -0
- package/docs/side-navigation.json +632 -0
- package/docs/side-navigation.md +430 -0
- package/docs/skeleton.json +358 -0
- package/docs/skeleton.md +223 -0
- package/docs/slider.json +522 -0
- package/docs/slider.md +261 -0
- package/docs/sparkline.json +426 -0
- package/docs/sparkline.md +206 -0
- package/docs/split-button.json +361 -0
- package/docs/split-button.md +275 -0
- package/docs/splitter.json +142 -0
- package/docs/splitter.md +14 -0
- package/docs/stack.json +135 -0
- package/docs/stack.md +74 -0
- package/docs/stat-card.json +529 -0
- package/docs/stat-card.md +270 -0
- package/docs/status-indicator.json +314 -0
- package/docs/status-indicator.md +197 -0
- package/docs/stepper.json +451 -0
- package/docs/stepper.md +250 -0
- package/docs/switch.json +451 -0
- package/docs/switch.md +508 -0
- package/docs/table-of-contents.json +553 -0
- package/docs/table-of-contents.md +289 -0
- package/docs/table.examples.md +1981 -0
- package/docs/table.json +1059 -0
- package/docs/table.md +290 -0
- package/docs/tabs.examples.md +1370 -0
- package/docs/tabs.json +661 -0
- package/docs/tabs.md +211 -0
- package/docs/tag.json +813 -0
- package/docs/tag.md +241 -0
- package/docs/tags-input.json +771 -0
- package/docs/tags-input.md +361 -0
- package/docs/text-field.examples.md +821 -0
- package/docs/text-field.json +604 -0
- package/docs/text-field.md +125 -0
- package/docs/textarea.examples.md +612 -0
- package/docs/textarea.json +440 -0
- package/docs/textarea.md +98 -0
- package/docs/time-field.json +584 -0
- package/docs/time-field.md +291 -0
- package/docs/time-picker.json +679 -0
- package/docs/time-picker.md +315 -0
- package/docs/time-range-picker.examples.md +191 -0
- package/docs/time-range-picker.json +924 -0
- package/docs/time-range-picker.md +152 -0
- package/docs/timeline.json +839 -0
- package/docs/timeline.md +401 -0
- package/docs/toast.json +642 -0
- package/docs/toast.md +311 -0
- package/docs/toggle-group.json +417 -0
- package/docs/toggle-group.md +255 -0
- package/docs/toggle.json +326 -0
- package/docs/toggle.md +222 -0
- package/docs/toolbar.json +380 -0
- package/docs/toolbar.md +240 -0
- package/docs/tooltip.examples.md +664 -0
- package/docs/tooltip.json +604 -0
- package/docs/tooltip.md +146 -0
- package/docs/top-navigation.examples.md +287 -0
- package/docs/top-navigation.json +648 -0
- package/docs/top-navigation.md +138 -0
- package/docs/tour.json +759 -0
- package/docs/tour.md +337 -0
- package/docs/transfer.json +746 -0
- package/docs/transfer.md +273 -0
- package/docs/tree.json +918 -0
- package/docs/tree.md +397 -0
- package/docs/typography.json +317 -0
- package/docs/typography.md +107 -0
- package/docs/upload.examples.md +358 -0
- package/docs/upload.json +1103 -0
- package/docs/upload.md +166 -0
- package/docs/visually-hidden.json +71 -0
- package/docs/visually-hidden.md +42 -0
- package/docs/wizard.json +724 -0
- package/docs/wizard.md +295 -0
- package/fesm2022/slotted-angular-accordion.mjs +247 -0
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-bar.mjs +639 -0
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-sheet.mjs +749 -0
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -0
- package/fesm2022/slotted-angular-alert.mjs +427 -0
- package/fesm2022/slotted-angular-alert.mjs.map +1 -0
- package/fesm2022/slotted-angular-app-shell.mjs +1334 -0
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs +63 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -0
- package/fesm2022/slotted-angular-attachment.mjs +595 -0
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar-group.mjs +230 -0
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar.mjs +330 -0
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -0
- package/fesm2022/slotted-angular-badge.mjs +255 -0
- package/fesm2022/slotted-angular-badge.mjs.map +1 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs +544 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -0
- package/fesm2022/slotted-angular-button-group.mjs +146 -0
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-button.mjs +692 -0
- package/fesm2022/slotted-angular-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-calendar.mjs +916 -0
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-card.mjs +225 -0
- package/fesm2022/slotted-angular-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-carousel.mjs +840 -0
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -0
- package/fesm2022/slotted-angular-cascader.mjs +1839 -0
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -0
- package/fesm2022/slotted-angular-chart.mjs +974 -0
- package/fesm2022/slotted-angular-chart.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs +283 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox.mjs +468 -0
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-code-block.mjs +476 -0
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -0
- package/fesm2022/slotted-angular-collapsible.mjs +479 -0
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -0
- package/fesm2022/slotted-angular-color-picker.mjs +910 -0
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-column-manager.mjs +1037 -0
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -0
- package/fesm2022/slotted-angular-combobox.mjs +1480 -0
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -0
- package/fesm2022/slotted-angular-command-palette.mjs +1283 -0
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -0
- package/fesm2022/slotted-angular-container.mjs +105 -0
- package/fesm2022/slotted-angular-container.mjs.map +1 -0
- package/fesm2022/slotted-angular-context-menu.mjs +221 -0
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-currency-field.mjs +1131 -0
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs +1928 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-grid.mjs +6697 -0
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-list.mjs +1418 -0
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-field.mjs +772 -0
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-picker.mjs +690 -0
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs +1150 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-field.mjs +1058 -0
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs +1362 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +1872 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-description-list.mjs +545 -0
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-detail-panel.mjs +754 -0
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -0
- package/fesm2022/slotted-angular-dialog.mjs +980 -0
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -0
- package/fesm2022/slotted-angular-divider.mjs +76 -0
- package/fesm2022/slotted-angular-divider.mjs.map +1 -0
- package/fesm2022/slotted-angular-drawer.mjs +1397 -0
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -0
- package/fesm2022/slotted-angular-entity-picker.mjs +1987 -0
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-event-calendar.mjs +2934 -0
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-field-group.mjs +301 -0
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-field.mjs +928 -0
- package/fesm2022/slotted-angular-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-filter-bar.mjs +3107 -0
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-form.mjs +592 -0
- package/fesm2022/slotted-angular-form.mjs.map +1 -0
- package/fesm2022/slotted-angular-fullscreen.mjs +314 -0
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -0
- package/fesm2022/slotted-angular-grid.mjs +58 -0
- package/fesm2022/slotted-angular-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-highlight.mjs +123 -0
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -0
- package/fesm2022/slotted-angular-hover-card.mjs +326 -0
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-i18n.mjs +75 -0
- package/fesm2022/slotted-angular-i18n.mjs.map +1 -0
- package/fesm2022/slotted-angular-icon.mjs +232 -0
- package/fesm2022/slotted-angular-icon.mjs.map +1 -0
- package/fesm2022/slotted-angular-image.mjs +442 -0
- package/fesm2022/slotted-angular-image.mjs.map +1 -0
- package/fesm2022/slotted-angular-import-export-center.mjs +1792 -0
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline-message.mjs +280 -0
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline.mjs +52 -0
- package/fesm2022/slotted-angular-inline.mjs.map +1 -0
- package/fesm2022/slotted-angular-kbd.mjs +284 -0
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -0
- package/fesm2022/slotted-angular-link.mjs +182 -0
- package/fesm2022/slotted-angular-link.mjs.map +1 -0
- package/fesm2022/slotted-angular-list-item.mjs +367 -0
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -0
- package/fesm2022/slotted-angular-list.mjs +256 -0
- package/fesm2022/slotted-angular-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-listbox.mjs +1274 -0
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs +451 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -0
- package/fesm2022/slotted-angular-markdown.mjs +914 -0
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -0
- package/fesm2022/slotted-angular-menu.mjs +1211 -0
- package/fesm2022/slotted-angular-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-menubar.mjs +230 -0
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -0
- package/fesm2022/slotted-angular-message-scroller.mjs +378 -0
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -0
- package/fesm2022/slotted-angular-message.mjs +866 -0
- package/fesm2022/slotted-angular-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-multi-select.mjs +1939 -0
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs +770 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-notification-center.mjs +1172 -0
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-number-field.mjs +966 -0
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-otp-input.mjs +629 -0
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-page-header.mjs +788 -0
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -0
- package/fesm2022/slotted-angular-page.mjs +255 -0
- package/fesm2022/slotted-angular-page.mjs.map +1 -0
- package/fesm2022/slotted-angular-pagination.mjs +562 -0
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -0
- package/fesm2022/slotted-angular-popover.mjs +799 -0
- package/fesm2022/slotted-angular-popover.mjs.map +1 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs +572 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs +596 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -0
- package/fesm2022/slotted-angular-prose.mjs +314 -0
- package/fesm2022/slotted-angular-prose.mjs.map +1 -0
- package/fesm2022/slotted-angular-radio-group.mjs +469 -0
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-rating.mjs +1174 -0
- package/fesm2022/slotted-angular-rating.mjs.map +1 -0
- package/fesm2022/slotted-angular-result-state.mjs +330 -0
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -0
- package/fesm2022/slotted-angular-saved-views.mjs +877 -0
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -0
- package/fesm2022/slotted-angular-scroll-area.mjs +294 -0
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -0
- package/fesm2022/slotted-angular-section.mjs +266 -0
- package/fesm2022/slotted-angular-section.mjs.map +1 -0
- package/fesm2022/slotted-angular-segmented-control.mjs +454 -0
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -0
- package/fesm2022/slotted-angular-select.mjs +1899 -0
- package/fesm2022/slotted-angular-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-side-navigation.mjs +1042 -0
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-skeleton.mjs +316 -0
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -0
- package/fesm2022/slotted-angular-slider.mjs +586 -0
- package/fesm2022/slotted-angular-slider.mjs.map +1 -0
- package/fesm2022/slotted-angular-sparkline.mjs +235 -0
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -0
- package/fesm2022/slotted-angular-split-button.mjs +331 -0
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-splitter.mjs +516 -0
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -0
- package/fesm2022/slotted-angular-stack.mjs +48 -0
- package/fesm2022/slotted-angular-stack.mjs.map +1 -0
- package/fesm2022/slotted-angular-stat-card.mjs +478 -0
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-status-indicator.mjs +155 -0
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-stepper.mjs +536 -0
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -0
- package/fesm2022/slotted-angular-switch.mjs +447 -0
- package/fesm2022/slotted-angular-switch.mjs.map +1 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs +750 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -0
- package/fesm2022/slotted-angular-table.mjs +2518 -0
- package/fesm2022/slotted-angular-table.mjs.map +1 -0
- package/fesm2022/slotted-angular-tabs.mjs +829 -0
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -0
- package/fesm2022/slotted-angular-tag.mjs +595 -0
- package/fesm2022/slotted-angular-tag.mjs.map +1 -0
- package/fesm2022/slotted-angular-tags-input.mjs +1211 -0
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-text-field.mjs +674 -0
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-textarea.mjs +275 -0
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -0
- package/fesm2022/slotted-angular-theme.mjs +45 -0
- package/fesm2022/slotted-angular-theme.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-field.mjs +895 -0
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-picker.mjs +856 -0
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs +1534 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-timeline.mjs +928 -0
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -0
- package/fesm2022/slotted-angular-toast.mjs +917 -0
- package/fesm2022/slotted-angular-toast.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle-group.mjs +311 -0
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle.mjs +162 -0
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -0
- package/fesm2022/slotted-angular-toolbar.mjs +536 -0
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -0
- package/fesm2022/slotted-angular-tooltip.mjs +798 -0
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -0
- package/fesm2022/slotted-angular-top-navigation.mjs +1308 -0
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-tour.mjs +1330 -0
- package/fesm2022/slotted-angular-tour.mjs.map +1 -0
- package/fesm2022/slotted-angular-transfer.mjs +1406 -0
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -0
- package/fesm2022/slotted-angular-tree.mjs +1448 -0
- package/fesm2022/slotted-angular-tree.mjs.map +1 -0
- package/fesm2022/slotted-angular-typography.mjs +184 -0
- package/fesm2022/slotted-angular-typography.mjs.map +1 -0
- package/fesm2022/slotted-angular-upload.mjs +1523 -0
- package/fesm2022/slotted-angular-upload.mjs.map +1 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs +32 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -0
- package/fesm2022/slotted-angular-wizard.mjs +1715 -0
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -0
- package/fesm2022/slotted-angular.mjs +4 -0
- package/fesm2022/slotted-angular.mjs.map +1 -0
- package/package.json +537 -3
- package/types/slotted-angular-accordion.d.ts +156 -0
- package/types/slotted-angular-accordion.d.ts.map +1 -0
- package/types/slotted-angular-action-bar.d.ts +291 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -0
- package/types/slotted-angular-action-sheet.d.ts +294 -0
- package/types/slotted-angular-action-sheet.d.ts.map +1 -0
- package/types/slotted-angular-alert.d.ts +214 -0
- package/types/slotted-angular-alert.d.ts.map +1 -0
- package/types/slotted-angular-app-shell.d.ts +549 -0
- package/types/slotted-angular-app-shell.d.ts.map +1 -0
- package/types/slotted-angular-aspect-ratio.d.ts +57 -0
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -0
- package/types/slotted-angular-attachment.d.ts +294 -0
- package/types/slotted-angular-attachment.d.ts.map +1 -0
- package/types/slotted-angular-avatar-group.d.ts +119 -0
- package/types/slotted-angular-avatar-group.d.ts.map +1 -0
- package/types/slotted-angular-avatar.d.ts +202 -0
- package/types/slotted-angular-avatar.d.ts.map +1 -0
- package/types/slotted-angular-badge.d.ts +166 -0
- package/types/slotted-angular-badge.d.ts.map +1 -0
- package/types/slotted-angular-breadcrumb.d.ts +251 -0
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -0
- package/types/slotted-angular-button-group.d.ts +89 -0
- package/types/slotted-angular-button-group.d.ts.map +1 -0
- package/types/slotted-angular-button.d.ts +390 -0
- package/types/slotted-angular-button.d.ts.map +1 -0
- package/types/slotted-angular-calendar.d.ts +280 -0
- package/types/slotted-angular-calendar.d.ts.map +1 -0
- package/types/slotted-angular-card.d.ts +140 -0
- package/types/slotted-angular-card.d.ts.map +1 -0
- package/types/slotted-angular-carousel.d.ts +288 -0
- package/types/slotted-angular-carousel.d.ts.map +1 -0
- package/types/slotted-angular-cascader.d.ts +351 -0
- package/types/slotted-angular-cascader.d.ts.map +1 -0
- package/types/slotted-angular-chart.d.ts +319 -0
- package/types/slotted-angular-chart.d.ts.map +1 -0
- package/types/slotted-angular-checkbox-group.d.ts +156 -0
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -0
- package/types/slotted-angular-checkbox.d.ts +197 -0
- package/types/slotted-angular-checkbox.d.ts.map +1 -0
- package/types/slotted-angular-code-block.d.ts +158 -0
- package/types/slotted-angular-code-block.d.ts.map +1 -0
- package/types/slotted-angular-collapsible.d.ts +272 -0
- package/types/slotted-angular-collapsible.d.ts.map +1 -0
- package/types/slotted-angular-color-picker.d.ts +181 -0
- package/types/slotted-angular-color-picker.d.ts.map +1 -0
- package/types/slotted-angular-column-manager.d.ts +200 -0
- package/types/slotted-angular-column-manager.d.ts.map +1 -0
- package/types/slotted-angular-combobox.d.ts +449 -0
- package/types/slotted-angular-combobox.d.ts.map +1 -0
- package/types/slotted-angular-command-palette.d.ts +256 -0
- package/types/slotted-angular-command-palette.d.ts.map +1 -0
- package/types/slotted-angular-container.d.ts +84 -0
- package/types/slotted-angular-container.d.ts.map +1 -0
- package/types/slotted-angular-context-menu.d.ts +84 -0
- package/types/slotted-angular-context-menu.d.ts.map +1 -0
- package/types/slotted-angular-currency-field.d.ts +480 -0
- package/types/slotted-angular-currency-field.d.ts.map +1 -0
- package/types/slotted-angular-dashboard-grid.d.ts +341 -0
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-grid.d.ts +1077 -0
- package/types/slotted-angular-data-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-list.d.ts +272 -0
- package/types/slotted-angular-data-list.d.ts.map +1 -0
- package/types/slotted-angular-date-field.d.ts +320 -0
- package/types/slotted-angular-date-field.d.ts.map +1 -0
- package/types/slotted-angular-date-picker.d.ts +224 -0
- package/types/slotted-angular-date-picker.d.ts.map +1 -0
- package/types/slotted-angular-date-range-picker.d.ts +310 -0
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-field.d.ts +362 -0
- package/types/slotted-angular-datetime-field.d.ts.map +1 -0
- package/types/slotted-angular-datetime-picker.d.ts +370 -0
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-range-picker.d.ts +459 -0
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-description-list.d.ts +281 -0
- package/types/slotted-angular-description-list.d.ts.map +1 -0
- package/types/slotted-angular-detail-panel.d.ts +240 -0
- package/types/slotted-angular-detail-panel.d.ts.map +1 -0
- package/types/slotted-angular-dialog.d.ts +497 -0
- package/types/slotted-angular-dialog.d.ts.map +1 -0
- package/types/slotted-angular-divider.d.ts +40 -0
- package/types/slotted-angular-divider.d.ts.map +1 -0
- package/types/slotted-angular-drawer.d.ts +532 -0
- package/types/slotted-angular-drawer.d.ts.map +1 -0
- package/types/slotted-angular-entity-picker.d.ts +338 -0
- package/types/slotted-angular-entity-picker.d.ts.map +1 -0
- package/types/slotted-angular-event-calendar.d.ts +574 -0
- package/types/slotted-angular-event-calendar.d.ts.map +1 -0
- package/types/slotted-angular-field-group.d.ts +152 -0
- package/types/slotted-angular-field-group.d.ts.map +1 -0
- package/types/slotted-angular-field.d.ts +535 -0
- package/types/slotted-angular-field.d.ts.map +1 -0
- package/types/slotted-angular-filter-bar.d.ts +573 -0
- package/types/slotted-angular-filter-bar.d.ts.map +1 -0
- package/types/slotted-angular-form.d.ts +298 -0
- package/types/slotted-angular-form.d.ts.map +1 -0
- package/types/slotted-angular-fullscreen.d.ts +145 -0
- package/types/slotted-angular-fullscreen.d.ts.map +1 -0
- package/types/slotted-angular-grid.d.ts +50 -0
- package/types/slotted-angular-grid.d.ts.map +1 -0
- package/types/slotted-angular-highlight.d.ts +93 -0
- package/types/slotted-angular-highlight.d.ts.map +1 -0
- package/types/slotted-angular-hover-card.d.ts +140 -0
- package/types/slotted-angular-hover-card.d.ts.map +1 -0
- package/types/slotted-angular-i18n.d.ts +46 -0
- package/types/slotted-angular-i18n.d.ts.map +1 -0
- package/types/slotted-angular-icon.d.ts +94 -0
- package/types/slotted-angular-icon.d.ts.map +1 -0
- package/types/slotted-angular-image.d.ts +251 -0
- package/types/slotted-angular-image.d.ts.map +1 -0
- package/types/slotted-angular-import-export-center.d.ts +351 -0
- package/types/slotted-angular-import-export-center.d.ts.map +1 -0
- package/types/slotted-angular-inline-message.d.ts +195 -0
- package/types/slotted-angular-inline-message.d.ts.map +1 -0
- package/types/slotted-angular-inline.d.ts +41 -0
- package/types/slotted-angular-inline.d.ts.map +1 -0
- package/types/slotted-angular-kbd.d.ts +174 -0
- package/types/slotted-angular-kbd.d.ts.map +1 -0
- package/types/slotted-angular-link.d.ts +94 -0
- package/types/slotted-angular-link.d.ts.map +1 -0
- package/types/slotted-angular-list-item.d.ts +210 -0
- package/types/slotted-angular-list-item.d.ts.map +1 -0
- package/types/slotted-angular-list.d.ts +176 -0
- package/types/slotted-angular-list.d.ts.map +1 -0
- package/types/slotted-angular-listbox.d.ts +470 -0
- package/types/slotted-angular-listbox.d.ts.map +1 -0
- package/types/slotted-angular-loading-overlay.d.ts +219 -0
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -0
- package/types/slotted-angular-markdown.d.ts +172 -0
- package/types/slotted-angular-markdown.d.ts.map +1 -0
- package/types/slotted-angular-menu.d.ts +448 -0
- package/types/slotted-angular-menu.d.ts.map +1 -0
- package/types/slotted-angular-menubar.d.ts +90 -0
- package/types/slotted-angular-menubar.d.ts.map +1 -0
- package/types/slotted-angular-message-scroller.d.ts +151 -0
- package/types/slotted-angular-message-scroller.d.ts.map +1 -0
- package/types/slotted-angular-message.d.ts +348 -0
- package/types/slotted-angular-message.d.ts.map +1 -0
- package/types/slotted-angular-multi-select.d.ts +462 -0
- package/types/slotted-angular-multi-select.d.ts.map +1 -0
- package/types/slotted-angular-navigation-menu.d.ts +309 -0
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -0
- package/types/slotted-angular-notification-center.d.ts +318 -0
- package/types/slotted-angular-notification-center.d.ts.map +1 -0
- package/types/slotted-angular-number-field.d.ts +402 -0
- package/types/slotted-angular-number-field.d.ts.map +1 -0
- package/types/slotted-angular-otp-input.d.ts +286 -0
- package/types/slotted-angular-otp-input.d.ts.map +1 -0
- package/types/slotted-angular-page-header.d.ts +334 -0
- package/types/slotted-angular-page-header.d.ts.map +1 -0
- package/types/slotted-angular-page.d.ts +141 -0
- package/types/slotted-angular-page.d.ts.map +1 -0
- package/types/slotted-angular-pagination.d.ts +213 -0
- package/types/slotted-angular-pagination.d.ts.map +1 -0
- package/types/slotted-angular-popover.d.ts +366 -0
- package/types/slotted-angular-popover.d.ts.map +1 -0
- package/types/slotted-angular-progress-indicator.d.ts +312 -0
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -0
- package/types/slotted-angular-prompt-composer.d.ts +242 -0
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -0
- package/types/slotted-angular-prose.d.ts +171 -0
- package/types/slotted-angular-prose.d.ts.map +1 -0
- package/types/slotted-angular-radio-group.d.ts +268 -0
- package/types/slotted-angular-radio-group.d.ts.map +1 -0
- package/types/slotted-angular-rating.d.ts +374 -0
- package/types/slotted-angular-rating.d.ts.map +1 -0
- package/types/slotted-angular-result-state.d.ts +217 -0
- package/types/slotted-angular-result-state.d.ts.map +1 -0
- package/types/slotted-angular-saved-views.d.ts +198 -0
- package/types/slotted-angular-saved-views.d.ts.map +1 -0
- package/types/slotted-angular-scroll-area.d.ts +186 -0
- package/types/slotted-angular-scroll-area.d.ts.map +1 -0
- package/types/slotted-angular-section.d.ts +143 -0
- package/types/slotted-angular-section.d.ts.map +1 -0
- package/types/slotted-angular-segmented-control.d.ts +251 -0
- package/types/slotted-angular-segmented-control.d.ts.map +1 -0
- package/types/slotted-angular-select.d.ts +507 -0
- package/types/slotted-angular-select.d.ts.map +1 -0
- package/types/slotted-angular-side-navigation.d.ts +373 -0
- package/types/slotted-angular-side-navigation.d.ts.map +1 -0
- package/types/slotted-angular-skeleton.d.ts +198 -0
- package/types/slotted-angular-skeleton.d.ts.map +1 -0
- package/types/slotted-angular-slider.d.ts +216 -0
- package/types/slotted-angular-slider.d.ts.map +1 -0
- package/types/slotted-angular-sparkline.d.ts +106 -0
- package/types/slotted-angular-sparkline.d.ts.map +1 -0
- package/types/slotted-angular-split-button.d.ts +180 -0
- package/types/slotted-angular-split-button.d.ts.map +1 -0
- package/types/slotted-angular-splitter.d.ts +206 -0
- package/types/slotted-angular-splitter.d.ts.map +1 -0
- package/types/slotted-angular-stack.d.ts +38 -0
- package/types/slotted-angular-stack.d.ts.map +1 -0
- package/types/slotted-angular-stat-card.d.ts +232 -0
- package/types/slotted-angular-stat-card.d.ts.map +1 -0
- package/types/slotted-angular-status-indicator.d.ts +106 -0
- package/types/slotted-angular-status-indicator.d.ts.map +1 -0
- package/types/slotted-angular-stepper.d.ts +198 -0
- package/types/slotted-angular-stepper.d.ts.map +1 -0
- package/types/slotted-angular-switch.d.ts +243 -0
- package/types/slotted-angular-switch.d.ts.map +1 -0
- package/types/slotted-angular-table-of-contents.d.ts +210 -0
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -0
- package/types/slotted-angular-table.d.ts +888 -0
- package/types/slotted-angular-table.d.ts.map +1 -0
- package/types/slotted-angular-tabs.d.ts +340 -0
- package/types/slotted-angular-tabs.d.ts.map +1 -0
- package/types/slotted-angular-tag.d.ts +279 -0
- package/types/slotted-angular-tag.d.ts.map +1 -0
- package/types/slotted-angular-tags-input.d.ts +302 -0
- package/types/slotted-angular-tags-input.d.ts.map +1 -0
- package/types/slotted-angular-text-field.d.ts +334 -0
- package/types/slotted-angular-text-field.d.ts.map +1 -0
- package/types/slotted-angular-textarea.d.ts +150 -0
- package/types/slotted-angular-textarea.d.ts.map +1 -0
- package/types/slotted-angular-theme.d.ts +26 -0
- package/types/slotted-angular-theme.d.ts.map +1 -0
- package/types/slotted-angular-time-field.d.ts +300 -0
- package/types/slotted-angular-time-field.d.ts.map +1 -0
- package/types/slotted-angular-time-picker.d.ts +260 -0
- package/types/slotted-angular-time-picker.d.ts.map +1 -0
- package/types/slotted-angular-time-range-picker.d.ts +401 -0
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-timeline.d.ts +329 -0
- package/types/slotted-angular-timeline.d.ts.map +1 -0
- package/types/slotted-angular-toast.d.ts +340 -0
- package/types/slotted-angular-toast.d.ts.map +1 -0
- package/types/slotted-angular-toggle-group.d.ts +167 -0
- package/types/slotted-angular-toggle-group.d.ts.map +1 -0
- package/types/slotted-angular-toggle.d.ts +106 -0
- package/types/slotted-angular-toggle.d.ts.map +1 -0
- package/types/slotted-angular-toolbar.d.ts +252 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -0
- package/types/slotted-angular-tooltip.d.ts +388 -0
- package/types/slotted-angular-tooltip.d.ts.map +1 -0
- package/types/slotted-angular-top-navigation.d.ts +442 -0
- package/types/slotted-angular-top-navigation.d.ts.map +1 -0
- package/types/slotted-angular-tour.d.ts +440 -0
- package/types/slotted-angular-tour.d.ts.map +1 -0
- package/types/slotted-angular-transfer.d.ts +296 -0
- package/types/slotted-angular-transfer.d.ts.map +1 -0
- package/types/slotted-angular-tree.d.ts +499 -0
- package/types/slotted-angular-tree.d.ts.map +1 -0
- package/types/slotted-angular-typography.d.ts +89 -0
- package/types/slotted-angular-typography.d.ts.map +1 -0
- package/types/slotted-angular-upload.d.ts +365 -0
- package/types/slotted-angular-upload.d.ts.map +1 -0
- package/types/slotted-angular-visually-hidden.d.ts +19 -0
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -0
- package/types/slotted-angular-wizard.d.ts +441 -0
- package/types/slotted-angular-wizard.d.ts.map +1 -0
- package/types/slotted-angular.d.ts +3 -0
- package/types/slotted-angular.d.ts.map +1 -0
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import * as _slotted_core_date from '@slotted/core/date';
|
|
2
|
+
import { PlainDate, CalendarWeek, CalendarDay } from '@slotted/core/date';
|
|
3
|
+
import * as _slotted_core_i18n from '@slotted/core/i18n';
|
|
4
|
+
import { PartialMessages, CalendarMessages } from '@slotted/core/i18n';
|
|
5
|
+
import * as _angular_core from '@angular/core';
|
|
6
|
+
import { InjectionToken, OnInit } from '@angular/core';
|
|
7
|
+
import { ChangeRequest, ChangeReason } from '@slotted/core/state';
|
|
8
|
+
|
|
9
|
+
/** A run of days, either end of which may still be open while it is drawn. */
|
|
10
|
+
interface DateRange {
|
|
11
|
+
readonly start: PlainDate | null;
|
|
12
|
+
readonly end: PlainDate | null;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* What the calendar holds, which depends on what it was asked to collect: one
|
|
16
|
+
* date, a run of them, or a set.
|
|
17
|
+
*/
|
|
18
|
+
type CalendarValue = PlainDate | DateRange | PlainDate[] | null;
|
|
19
|
+
/** How many dates the reader may choose. */
|
|
20
|
+
type CalendarSelectionMode = 'single' | 'range' | 'multiple';
|
|
21
|
+
/** Which grid the calendar is showing. The heading walks up; Escape walks down. */
|
|
22
|
+
type CalendarView = 'day' | 'month' | 'year';
|
|
23
|
+
/** What happens to a day belonging to the month either side. */
|
|
24
|
+
type CalendarOutsideDays = 'shown' | 'selectable' | 'hidden';
|
|
25
|
+
/**
|
|
26
|
+
* The calendar system the value is written in. One value today, and an axis
|
|
27
|
+
* rather than a silence: a second calendar system is a second arithmetic, and
|
|
28
|
+
* declaring the axis now is what keeps its arrival from being a contract break.
|
|
29
|
+
*/
|
|
30
|
+
type CalendarCalendar = 'gregory';
|
|
31
|
+
interface CalendarDefaults {
|
|
32
|
+
calendar: CalendarCalendar;
|
|
33
|
+
firstDayOfWeek: number | undefined;
|
|
34
|
+
fixedWeeks: boolean;
|
|
35
|
+
months: number;
|
|
36
|
+
/**
|
|
37
|
+
* Unset is not `shown`: a calendar showing one month draws the days either
|
|
38
|
+
* side of it, and a calendar showing two would draw the same six days in
|
|
39
|
+
* both grids. See the resolution in `calendar.ts`.
|
|
40
|
+
*/
|
|
41
|
+
outsideDays: CalendarOutsideDays | undefined;
|
|
42
|
+
timeZone: string | undefined;
|
|
43
|
+
weekNumbers: boolean;
|
|
44
|
+
}
|
|
45
|
+
declare const CALENDAR_DEFAULTS: InjectionToken<CalendarDefaults>;
|
|
46
|
+
/**
|
|
47
|
+
* An application decides once which day its weeks start on, which zone answers
|
|
48
|
+
* "today" and whether its calendars keep a fixed six-row grid — rather than
|
|
49
|
+
* repeating the same inputs on every instance. Its words and the locale that
|
|
50
|
+
* writes its months come from the language in force (`provideSlotted`).
|
|
51
|
+
*
|
|
52
|
+
* `fixedWeeks` is the one worth setting where calendars live in popovers: a
|
|
53
|
+
* surface that grows a row between one press of "next" and the next moves the
|
|
54
|
+
* target the reader was aiming at.
|
|
55
|
+
*/
|
|
56
|
+
declare function provideCalendarDefaults(defaults: Partial<CalendarDefaults>): {
|
|
57
|
+
provide: InjectionToken<CalendarDefaults>;
|
|
58
|
+
useFactory: () => CalendarDefaults;
|
|
59
|
+
};
|
|
60
|
+
/** What a calendar renders as here, before it states anything of its own. */
|
|
61
|
+
declare function injectCalendarDefaults(): CalendarDefaults;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* A month grid, and the two pages above it.
|
|
65
|
+
*
|
|
66
|
+
* **It is a real `table` with the `grid` role on it.** The APG's own note is
|
|
67
|
+
* why nothing here writes `row`, `columnheader` or `gridcell`: those are
|
|
68
|
+
* implied by `tr`, `th` and `td`, and writing them again would duplicate
|
|
69
|
+
* semantics the platform already gives.
|
|
70
|
+
*
|
|
71
|
+
* **The date the reader is on and the date the reader has chosen are two
|
|
72
|
+
* values**, and each has a model of its own — a product that pages a calendar
|
|
73
|
+
* from outside it has nowhere else to say so.
|
|
74
|
+
*
|
|
75
|
+
* **A date the predicate refuses stays reachable.** It carries `aria-disabled`
|
|
76
|
+
* rather than being taken out of the grid, so a reader can arrow onto it, hear
|
|
77
|
+
* why it is out, and arrow past it.
|
|
78
|
+
*/
|
|
79
|
+
declare class SlCalendar implements OnInit {
|
|
80
|
+
/** Present means the consumer owns the value. */
|
|
81
|
+
readonly value: _angular_core.InputSignal<CalendarValue | undefined>;
|
|
82
|
+
readonly defaultValue: _angular_core.InputSignal<CalendarValue | undefined>;
|
|
83
|
+
/** The date the reader is on. Present means the consumer owns it. */
|
|
84
|
+
readonly focusedDate: _angular_core.InputSignal<PlainDate | undefined>;
|
|
85
|
+
readonly defaultFocusedDate: _angular_core.InputSignal<PlainDate | undefined>;
|
|
86
|
+
readonly min: _angular_core.InputSignal<PlainDate | undefined>;
|
|
87
|
+
readonly max: _angular_core.InputSignal<PlainDate | undefined>;
|
|
88
|
+
readonly isDateUnavailable: _angular_core.InputSignal<((date: PlainDate) => boolean) | undefined>;
|
|
89
|
+
readonly selectionMode: _angular_core.InputSignal<CalendarSelectionMode>;
|
|
90
|
+
readonly months: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
91
|
+
/** Present means the consumer owns which grid is showing. */
|
|
92
|
+
readonly view: _angular_core.InputSignal<CalendarView | undefined>;
|
|
93
|
+
readonly defaultView: _angular_core.InputSignal<CalendarView | undefined>;
|
|
94
|
+
readonly weekNumbers: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
95
|
+
readonly fixedWeeks: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
96
|
+
readonly outsideDays: _angular_core.InputSignal<CalendarOutsideDays | undefined>;
|
|
97
|
+
/** The locale that writes months and days. Unset, the language in force decides. */
|
|
98
|
+
readonly locale: _angular_core.InputSignal<string | undefined>;
|
|
99
|
+
readonly timeZone: _angular_core.InputSignal<string | undefined>;
|
|
100
|
+
readonly firstDayOfWeek: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
101
|
+
readonly calendar: _angular_core.InputSignal<"gregory" | undefined>;
|
|
102
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
103
|
+
readonly readOnly: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
104
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Words laid over the catalog of the language in force, key by key: the
|
|
107
|
+
* names of the previous and next triggers.
|
|
108
|
+
*/
|
|
109
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<CalendarMessages> | undefined>;
|
|
110
|
+
readonly valueChange: _angular_core.OutputEmitterRef<ChangeRequest<CalendarValue>>;
|
|
111
|
+
readonly focusedDateChange: _angular_core.OutputEmitterRef<ChangeRequest<PlainDate>>;
|
|
112
|
+
readonly viewChange: _angular_core.OutputEmitterRef<CalendarView>;
|
|
113
|
+
/**
|
|
114
|
+
* The pending end of an open run: the day under the pointer, or the focused
|
|
115
|
+
* day when no pointer is over the grid, and `null` while no run is open. A
|
|
116
|
+
* fact the grid states rather than a value the consumer owns, which is why
|
|
117
|
+
* it is an output and not a model — `date-range-picker` reads it to say how
|
|
118
|
+
* long the run would be.
|
|
119
|
+
*/
|
|
120
|
+
readonly previewChange: _angular_core.OutputEmitterRef<PlainDate | null>;
|
|
121
|
+
private readonly element;
|
|
122
|
+
private readonly injector;
|
|
123
|
+
private readonly defaults;
|
|
124
|
+
private readonly appLocale;
|
|
125
|
+
/** The family's words in the language in force, with this calendar's `messages` laid over them. */
|
|
126
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<CalendarMessages>;
|
|
127
|
+
protected readonly headingId: string;
|
|
128
|
+
private readonly ownValue;
|
|
129
|
+
private readonly ownFocused;
|
|
130
|
+
private readonly ownView;
|
|
131
|
+
/**
|
|
132
|
+
* The first month on screen, which is **not** the month the reader is on.
|
|
133
|
+
*
|
|
134
|
+
* Drawing two months from the focused date meant that choosing a day in the
|
|
135
|
+
* second one scrolled the pair: a reader looking at June and July who chose
|
|
136
|
+
* 9 June was shown July and August, with half of what they had just chosen
|
|
137
|
+
* off screen. The page moves only when the reader leaves it.
|
|
138
|
+
*/
|
|
139
|
+
private readonly page;
|
|
140
|
+
private readonly today;
|
|
141
|
+
/** Focus is only moved into the DOM after a key, never on a render. */
|
|
142
|
+
private restoreFocus;
|
|
143
|
+
protected readonly held: _angular_core.Signal<CalendarValue>;
|
|
144
|
+
protected readonly focused: _angular_core.Signal<PlainDate>;
|
|
145
|
+
/** Which grid is showing. Public, so a template reaches it through `exportAs`. */
|
|
146
|
+
readonly currentView: _angular_core.Signal<CalendarView>;
|
|
147
|
+
protected readonly resolvedMonths: _angular_core.Signal<number>;
|
|
148
|
+
protected readonly resolvedWeekNumbers: _angular_core.Signal<boolean>;
|
|
149
|
+
protected readonly resolvedFixedWeeks: _angular_core.Signal<boolean>;
|
|
150
|
+
/**
|
|
151
|
+
* One month draws the days either side of it, because a week that starts on
|
|
152
|
+
* the 30th of the month before has to say what that cell is. Two months
|
|
153
|
+
* cannot: September's grid ends with the first three days of October and
|
|
154
|
+
* October's begins with the last four of September, so a range across the
|
|
155
|
+
* boundary is painted twice and a reader sees an interval twice as long as
|
|
156
|
+
* the one chosen. Every surveyed multi-month calendar hides them, and so
|
|
157
|
+
* does this one — until the consumer says otherwise, on the instance or on
|
|
158
|
+
* the provider.
|
|
159
|
+
*/
|
|
160
|
+
protected readonly resolvedOutsideDays: _angular_core.Signal<CalendarOutsideDays>;
|
|
161
|
+
protected readonly resolvedCalendar: _angular_core.Signal<"gregory">;
|
|
162
|
+
protected readonly editable: _angular_core.Signal<boolean>;
|
|
163
|
+
protected readonly format: _angular_core.Signal<_slotted_core_date.DateFormat>;
|
|
164
|
+
protected readonly weekdayLong: _angular_core.Signal<string[]>;
|
|
165
|
+
protected readonly weekdayNarrow: _angular_core.Signal<string[]>;
|
|
166
|
+
protected readonly monthNames: _angular_core.Signal<string[]>;
|
|
167
|
+
protected readonly years: _angular_core.Signal<number[]>;
|
|
168
|
+
protected readonly shownMonths: _angular_core.Signal<{
|
|
169
|
+
year: number;
|
|
170
|
+
month: number;
|
|
171
|
+
}[]>;
|
|
172
|
+
protected readonly heading: _angular_core.Signal<string>;
|
|
173
|
+
constructor();
|
|
174
|
+
ngOnInit(): void;
|
|
175
|
+
/** Puts focus on the cell holding the roving tab stop. */
|
|
176
|
+
focus(): void;
|
|
177
|
+
/** Moves the reader to a date, paging the grid to reach it. */
|
|
178
|
+
focusDate(date: PlainDate): void;
|
|
179
|
+
/** The date, the run or the set the calendar holds. */
|
|
180
|
+
readonly selection: _angular_core.Signal<CalendarValue>;
|
|
181
|
+
protected captionOf(month: {
|
|
182
|
+
year: number;
|
|
183
|
+
month: number;
|
|
184
|
+
}): string;
|
|
185
|
+
protected weeksOf(month: {
|
|
186
|
+
year: number;
|
|
187
|
+
month: number;
|
|
188
|
+
}): CalendarWeek[];
|
|
189
|
+
protected unavailable(date: PlainDate): boolean;
|
|
190
|
+
/** Unavailable, or an outside day the axis says may not be chosen. */
|
|
191
|
+
/** Whether the cell carries a day at all, or stands empty to fill the row. */
|
|
192
|
+
protected drawn(day: CalendarDay): boolean;
|
|
193
|
+
/**
|
|
194
|
+
* The grid already knows which month a day belongs to, and asking the first
|
|
195
|
+
* shown month instead refused every day of the second one in a pair.
|
|
196
|
+
*/
|
|
197
|
+
protected refused(day: CalendarDay): boolean;
|
|
198
|
+
protected chosen(date: PlainDate): boolean;
|
|
199
|
+
/**
|
|
200
|
+
* The day under the pointer, held only to name the pending end of an open
|
|
201
|
+
* run. It never moves the roving focus: a pointer crossing the grid is not
|
|
202
|
+
* the reader choosing where they are.
|
|
203
|
+
*/
|
|
204
|
+
protected readonly hovered: _angular_core.WritableSignal<PlainDate | null>;
|
|
205
|
+
/** The run as it would close on the pending end; `null` while no run is open. */
|
|
206
|
+
private readonly pending;
|
|
207
|
+
private readonly previewEnd;
|
|
208
|
+
protected rangeState(date: PlainDate): "start" | "end" | "inside" | null;
|
|
209
|
+
/** Every cell of the pending band is a proposal except the start the reader chose. */
|
|
210
|
+
protected proposed(date: PlainDate): boolean;
|
|
211
|
+
protected isToday(date: PlainDate): boolean;
|
|
212
|
+
protected tabIndexOf(date: PlainDate): number;
|
|
213
|
+
protected select(date: PlainDate, reason: ChangeReason, source: Event | undefined): void;
|
|
214
|
+
/** The reader moves with the page rather than staying behind it. */
|
|
215
|
+
protected turnPage(direction: 1 | -1, source: Event): void;
|
|
216
|
+
protected walkUp(): void;
|
|
217
|
+
protected pickMonth(month: number, source: Event): void;
|
|
218
|
+
protected pickYear(year: number, source: Event): void;
|
|
219
|
+
protected onKeyDown(event: KeyboardEvent): void;
|
|
220
|
+
/**
|
|
221
|
+
* The first date the reader is put on: what a consumer said, then the value
|
|
222
|
+
* it holds, then today. A calendar that opened on an arbitrary month would
|
|
223
|
+
* make the reader page to now before doing anything at all.
|
|
224
|
+
*/
|
|
225
|
+
private startingDate;
|
|
226
|
+
private setView;
|
|
227
|
+
private requestValue;
|
|
228
|
+
private requestFocused;
|
|
229
|
+
/**
|
|
230
|
+
* Focus follows a key onto the cell that holds the roving tab stop, once the
|
|
231
|
+
* page holding it is rendered.
|
|
232
|
+
*
|
|
233
|
+
* A key that crosses the month edge lands on the old page's trailing day
|
|
234
|
+
* first, and the page follows one render later. Focused before that, the
|
|
235
|
+
* cell was replaced under the reader and focus fell to the document — which
|
|
236
|
+
* a consumer owning `focusedDate` met on every crossing. Focus is moved only
|
|
237
|
+
* while it is still in the calendar or was lost to the document, so a
|
|
238
|
+
* consumer that refused the move never has focus taken from elsewhere.
|
|
239
|
+
*/
|
|
240
|
+
private followFocus;
|
|
241
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlCalendar, never>;
|
|
242
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlCalendar, "[slCalendar]", ["slCalendar"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "focusedDate": { "alias": "focusedDate"; "required": false; "isSignal": true; }; "defaultFocusedDate": { "alias": "defaultFocusedDate"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "isDateUnavailable": { "alias": "isDateUnavailable"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "months": { "alias": "months"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "defaultView": { "alias": "defaultView"; "required": false; "isSignal": true; }; "weekNumbers": { "alias": "weekNumbers"; "required": false; "isSignal": true; }; "fixedWeeks": { "alias": "fixedWeeks"; "required": false; "isSignal": true; }; "outsideDays": { "alias": "outsideDays"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "timeZone": { "alias": "timeZone"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "calendar": { "alias": "calendar"; "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; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "focusedDateChange": "focusedDateChange"; "viewChange": "viewChange"; "previewChange": "previewChange"; }, never, never, true, never>;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* What choosing a date does to a value, in the three modes the family ships.
|
|
247
|
+
*
|
|
248
|
+
* It is separate from the component because none of it touches the DOM: a
|
|
249
|
+
* range that is completed, a range that is restarted, and a set that a second
|
|
250
|
+
* press takes a date back out of are all arithmetic over `PlainDate`, and the
|
|
251
|
+
* two bindings must not each decide them.
|
|
252
|
+
*/
|
|
253
|
+
|
|
254
|
+
declare function isRange(value: CalendarValue): value is DateRange;
|
|
255
|
+
declare function asDates(value: CalendarValue): PlainDate[];
|
|
256
|
+
/**
|
|
257
|
+
* Whether a date is one of the two ends of a run, inside it, or none of the
|
|
258
|
+
* three. A range with one end open has a start and no run, which is what the
|
|
259
|
+
* calendar draws while the reader is choosing the second date.
|
|
260
|
+
*/
|
|
261
|
+
declare function rangeStateOf(date: PlainDate, value: CalendarValue): 'start' | 'end' | 'inside' | null;
|
|
262
|
+
declare function isSelected(date: PlainDate, value: CalendarValue): boolean;
|
|
263
|
+
/**
|
|
264
|
+
* The value a press produces.
|
|
265
|
+
*
|
|
266
|
+
* A range takes two presses and the second one may come first: a reader who
|
|
267
|
+
* chooses the 11th and then the 7th means the 7th to the 11th, not a range
|
|
268
|
+
* that runs backwards. A third press starts again, because a range that grew
|
|
269
|
+
* on every press could never be narrowed.
|
|
270
|
+
*
|
|
271
|
+
* A set removes a date a second press lands on, which is the only way to take
|
|
272
|
+
* one back out without a second control.
|
|
273
|
+
*/
|
|
274
|
+
declare function nextValue(date: PlainDate, value: CalendarValue, mode: CalendarSelectionMode): CalendarValue;
|
|
275
|
+
/** Value equality, which `Object.is` cannot give for a run or a set. */
|
|
276
|
+
declare function isSameValue(a: CalendarValue, b: CalendarValue): boolean;
|
|
277
|
+
|
|
278
|
+
export { CALENDAR_DEFAULTS, SlCalendar, asDates, injectCalendarDefaults, isRange, isSameValue, isSelected, nextValue, provideCalendarDefaults, rangeStateOf };
|
|
279
|
+
export type { CalendarCalendar, CalendarDefaults, CalendarOutsideDays, CalendarSelectionMode, CalendarValue, CalendarView, DateRange };
|
|
280
|
+
//# sourceMappingURL=slotted-angular-calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-calendar.d.ts","sources":["../../calendar/src/calendar-defaults.ts","../../calendar/src/calendar.ts","../../calendar/src/calendar-selection.ts"],"mappings":";;;;;;;;AAGA;UACiB,SAAS;AACxB,oBAAgB,SAAS;AACzB,kBAAc,SAAS;AACxB;AAED;;;AAGG;AACG,KAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS;AAE7D;AACM,KAAM,qBAAqB;AAEjC;AACM,KAAM,YAAY;AAExB;AACM,KAAM,mBAAmB;AAE/B;;;;AAIG;AACG,KAAM,gBAAgB;UAEX,gBAAgB;cACrB,gBAAgB;AAC1B;;;AAGA;;;;AAIG;AACH,iBAAa,mBAAmB;AAChC;;AAED;AAYD,cAAa,iBAAiB,EAAA,cAAA,CAAA,gBAAA;AAK9B;;;;;;;;;AASG;AACH,iBAAgB,uBAAuB,WAAW,OAAO,CAAC,gBAAgB;;sBAGtD,gBAAgB;AAEnC;AAED;AACA,iBAAgB,sBAAsB,IAAI,gBAAgB;;ACjB1D;;;;;;;;;;;;;;;AAeG;AACH,cAwKa,UAAW,YAAW,MAAM;;oBAEzB,aAAA,CAAA,WAAA,CAAA,aAAA;2BACO,aAAA,CAAA,WAAA,CAAA,aAAA;;0BAED,aAAA,CAAA,WAAA,CAAA,SAAA;iCACO,aAAA,CAAA,WAAA,CAAA,SAAA;kBAEf,aAAA,CAAA,WAAA,CAAA,SAAA;kBACA,aAAA,CAAA,WAAA,CAAA,SAAA;AACZ,gCAA0B,aAAA,CAAA,WAAA,SAAiB,SAAS;4BAE9B,aAAA,CAAA,WAAA,CAAA,qBAAA;qBACP,aAAA,CAAA,wBAAA;;mBAKF,aAAA,CAAA,WAAA,CAAA,YAAA;0BACO,aAAA,CAAA,WAAA,CAAA,YAAA;0BAEA,aAAA,CAAA,wBAAA;yBAGD,aAAA,CAAA,wBAAA;0BAGC,aAAA,CAAA,WAAA,CAAA,mBAAA;;qBAGL,aAAA,CAAA,WAAA;uBACE,aAAA,CAAA,WAAA;6BACM,aAAA,CAAA,wBAAA;uBAIN,aAAA,CAAA,WAAA;uBAEA,aAAA,CAAA,wBAAA;uBAGA,aAAA,CAAA,wBAAA;sBAGD,aAAA,CAAA,wBAAA;AAIhB;;;AAGG;uBACc,aAAA,CAAA,WAAA,CAAA,eAAA,CAAA,gBAAA;0BAEG,aAAA,CAAA,gBAAA,CAAA,aAAA,CAAA,aAAA;gCACM,aAAA,CAAA,gBAAA,CAAA,aAAA,CAAA,SAAA;yBACP,aAAA,CAAA,gBAAA,CAAA,YAAA;AACnB;;;;;;AAMG;4BACmB,aAAA,CAAA,gBAAA,CAAA,SAAA;AAEtB;AACA;AACA;AACA;;gBAEU,kBAAA,CAAA,gBAAA,CAAA,gBAAA;AAEV;AAEA;AACA;AACA;AACA;;;;;;;AAOG;AACH;AACA;;;AAIA,6BAAuB,aAAA,CAAA,MAAA,CAAA,aAAA;AACvB,gCAA0B,aAAA,CAAA,MAAA,CAAA,SAAA;;0BAEN,aAAA,CAAA,MAAA,CAAA,YAAA;AAEpB,uCAAiC,aAAA,CAAA,MAAA;AAGjC,4CAAsC,aAAA,CAAA,MAAA;AAGtC,2CAAqC,aAAA,CAAA,MAAA;AAGrC;;;;;;;;;AASG;AACH,4CAAsC,aAAA,CAAA,MAAA,CAAA,mBAAA;AAMtC,yCAAmC,aAAA,CAAA,MAAA;AACnC,iCAA2B,aAAA,CAAA,MAAA;AAI3B,+BAAyB,aAAA,CAAA,MAAA,CAAA,kBAAA,CAAA,UAAA;AAOzB,oCAA8B,aAAA,CAAA,MAAA;AAC9B,sCAAgC,aAAA,CAAA,MAAA;AAChC,mCAA6B,aAAA,CAAA,MAAA;AAC7B,8BAAwB,aAAA,CAAA,MAAA;oCACM,aAAA,CAAA,MAAA;;;AAE5B;AAEF,gCAA0B,aAAA,CAAA,MAAA;;;;;;oBA6DV,SAAS;;wBAKP,aAAA,CAAA,MAAA,CAAA,aAAA;AAElB;;;AAA0D;AAI1D;;;AAAwD,QAAG,YAAY;AAQvE,gCAA4B,SAAS;;;AAOrC,yBAAqB,WAAW;AAIhC;;;AAGG;AACH,2BAAuB,WAAW;AAKlC,2BAAuB,SAAS;AAIhC;;;;AAIG;AACH,gCAA0B,aAAA,CAAA,cAAA,CAAA,SAAA;;AAG1B;AAMA;AASA,+BAA2B,SAAS;;AAKpC,6BAAyB,SAAS;AAIlC,4BAAwB,SAAS;AAKjC,+BAA2B,SAAS;AAIpC,2BAAuB,SAAS,UAAU,YAAY,UAAU,KAAK;;AAOrE,kDAA8C,KAAK;AAcnD;+CAI2C,KAAK;6CAKP,KAAK;AAK9C,+BAA2B,aAAa;AA4DxC;;;;AAIG;AACH;AAiBA;AAKA;AAUA;AAaA;;;;;;;;;;AAUG;AACH;oDA1bW,UAAU;sDAAV,UAAU;AAqdtB;;AC3sBD;;;;;;;AAOG;;AAOH,iBAAgB,OAAO,QAAQ,aAAa,YAAY,SAAS;AAIjE,iBAAgB,OAAO,QAAQ,aAAa,GAAG,SAAS;AAOxD;;;;AAIG;AACH,iBAAgB,YAAY,OACpB,SAAS,SACR,aAAa;AAUtB,iBAAgB,UAAU,OAAO,SAAS,SAAS,aAAa;AAQhE;;;;;;;;;;AAUG;AACH,iBAAgB,SAAS,OACjB,SAAS,SACR,aAAa,QACd,qBAAqB,GAC1B,aAAa;AAiChB;AACA,iBAAgB,WAAW,IAAI,aAAa,KAAK,aAAa;;","names":[]}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
type CardOrientation = 'vertical' | 'horizontal';
|
|
5
|
+
/** How the surface is bounded: by an edge, by elevation, or by a fill. */
|
|
6
|
+
type CardFill = 'outline' | 'elevated' | 'subtle';
|
|
7
|
+
/** The card's own inset. Density is the application's choice; this is not. */
|
|
8
|
+
type CardSize = 'sm' | 'md' | 'lg';
|
|
9
|
+
interface CardDefaults {
|
|
10
|
+
fill: CardFill;
|
|
11
|
+
orientation: CardOrientation;
|
|
12
|
+
size: CardSize;
|
|
13
|
+
}
|
|
14
|
+
declare const CARD_DEFAULTS: InjectionToken<CardDefaults>;
|
|
15
|
+
/**
|
|
16
|
+
* An application decides once how its cards are bounded and how far they are
|
|
17
|
+
* inset, rather than repeating two inputs on every card. A card that states
|
|
18
|
+
* either itself still wins: an explicit input is never overridden by the token.
|
|
19
|
+
*/
|
|
20
|
+
declare function provideCardDefaults(defaults: Partial<CardDefaults>): {
|
|
21
|
+
provide: InjectionToken<CardDefaults>;
|
|
22
|
+
useFactory: () => CardDefaults;
|
|
23
|
+
};
|
|
24
|
+
/** What a card renders as here, before it states anything of its own. */
|
|
25
|
+
declare function injectCardDefaults(): CardDefaults;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* A bounded surface that groups one subject. It claims nothing about what that
|
|
29
|
+
* subject is: the directive is written on the element the page chose, so an
|
|
30
|
+
* `article` with its own heading, the `li` of a list of results and the
|
|
31
|
+
* `label` of a chooser are all the same card.
|
|
32
|
+
*
|
|
33
|
+
* The card holds no state. `selected` and `disabled` mirror state that belongs
|
|
34
|
+
* to the control inside it, which is also what announces them.
|
|
35
|
+
*/
|
|
36
|
+
declare class SlCard {
|
|
37
|
+
/**
|
|
38
|
+
* `horizontal` puts the media beside the regions and answers the card's own
|
|
39
|
+
* inline size, returning the media to the top in a narrow container.
|
|
40
|
+
*/
|
|
41
|
+
readonly orientation: i0.InputSignal<CardOrientation | undefined>;
|
|
42
|
+
/** How the surface is bounded. Falls back to the injected default. */
|
|
43
|
+
readonly fill: i0.InputSignal<CardFill | undefined>;
|
|
44
|
+
/** The card's own inset. Falls back to the injected default. */
|
|
45
|
+
readonly size: i0.InputSignal<CardSize | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Mirrors a selection the page owns. The card paints it; the control inside
|
|
48
|
+
* announces it.
|
|
49
|
+
*/
|
|
50
|
+
readonly selected: i0.InputSignalWithTransform<boolean, unknown>;
|
|
51
|
+
/**
|
|
52
|
+
* Mirrors a control the page has disabled: the card dims, stops answering
|
|
53
|
+
* hover and withdraws the hit area it added. It disables nothing, because
|
|
54
|
+
* only the control inside can refuse an interaction.
|
|
55
|
+
*/
|
|
56
|
+
readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
57
|
+
private readonly defaults;
|
|
58
|
+
protected readonly resolvedOrientation: i0.Signal<CardOrientation>;
|
|
59
|
+
protected readonly resolvedFill: i0.Signal<CardFill>;
|
|
60
|
+
protected readonly resolvedSize: i0.Signal<CardSize>;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlCard, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SlCard, "[slCard]", ["slCard"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The corner of the header: a badge, a status, a menu button. It stays on the
|
|
67
|
+
* first row, so a title that wraps to two lines does not drag it down, and it
|
|
68
|
+
* sits above the hit area a card link stretches, so it stays operable.
|
|
69
|
+
*/
|
|
70
|
+
declare class SlCardActions {
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlCardActions, never>;
|
|
72
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlCardActions, "[slCardActions]", ["slCardActions"], {}, {}, never, never, true, never>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** The content. It takes whatever a card stretched to a row height has left. */
|
|
76
|
+
declare class SlCardBody {
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlCardBody, never>;
|
|
78
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlCardBody, "[slCardBody]", ["slCardBody"], {}, {}, never, never, true, never>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Actions and metadata. The footer sits above the hit area a card action
|
|
83
|
+
* stretches, so a secondary action inside it stays operable.
|
|
84
|
+
*/
|
|
85
|
+
declare class SlCardFooter {
|
|
86
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlCardFooter, never>;
|
|
87
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlCardFooter, "[slCardFooter]", ["slCardFooter"], {}, {}, never, never, true, never>;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/** A title and the line that supports it. Both of them are Typography. */
|
|
91
|
+
declare class SlCardHeader {
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlCardHeader, never>;
|
|
93
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlCardHeader, "[slCardHeader]", ["slCardHeader"], {}, {}, never, never, true, never>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The one destination a card resolves to, written on the anchor the page
|
|
98
|
+
* already has. Its hit area covers the whole surface, so the card is clickable
|
|
99
|
+
* without the root becoming a link: the accessible name stays the title rather
|
|
100
|
+
* than every string in the card, and Enter, the context menu and middle-click
|
|
101
|
+
* stay the platform's.
|
|
102
|
+
*
|
|
103
|
+
* A card carries at most one. Two would be two destinations for one surface.
|
|
104
|
+
*/
|
|
105
|
+
declare class SlCardLink {
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlCardLink, never>;
|
|
107
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlCardLink, "a[slCardLink]", ["slCardLink"], {}, {}, never, never, true, never>;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Media that bleeds to the card's edge and rounds the corners it touches. It
|
|
112
|
+
* clips itself, because a card that clipped its own content would cut off an
|
|
113
|
+
* overlay opened inside it.
|
|
114
|
+
*/
|
|
115
|
+
declare class SlCardMedia {
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlCardMedia, never>;
|
|
117
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlCardMedia, "[slCardMedia]", ["slCardMedia"], {}, {}, never, never, true, never>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* The place a choice card keeps for its control: a native checkbox or radio,
|
|
122
|
+
* and `slCheckbox` when the family that owns the check ships it.
|
|
123
|
+
*
|
|
124
|
+
* It is the slot and not the glyph. The card sizes the control from the icon
|
|
125
|
+
* scale density moves, tints the platform's own check with the accent, and
|
|
126
|
+
* centres it on the title's first row; what a check and a dot look like is one
|
|
127
|
+
* decision, and it belongs to `checkbox`.
|
|
128
|
+
*
|
|
129
|
+
* The control inside keeps its own `ControlValueAccessor`, so `[(ngModel)]` and
|
|
130
|
+
* a Reactive Form control both reach it untouched. The card is the `<label>`
|
|
131
|
+
* around it and holds no value of its own.
|
|
132
|
+
*/
|
|
133
|
+
declare class SlCardSelection {
|
|
134
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SlCardSelection, never>;
|
|
135
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SlCardSelection, "[slCardSelection]", ["slCardSelection"], {}, {}, never, never, true, never>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export { CARD_DEFAULTS, SlCard, SlCardActions, SlCardBody, SlCardFooter, SlCardHeader, SlCardLink, SlCardMedia, SlCardSelection, injectCardDefaults, provideCardDefaults };
|
|
139
|
+
export type { CardDefaults, CardFill, CardOrientation, CardSize };
|
|
140
|
+
//# sourceMappingURL=slotted-angular-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-card.d.ts","sources":["../../card/src/card-defaults.ts","../../card/src/card.ts","../../card/src/card-actions.ts","../../card/src/card-body.ts","../../card/src/card-footer.ts","../../card/src/card-header.ts","../../card/src/card-link.ts","../../card/src/card-media.ts","../../card/src/card-selection.ts"],"mappings":";;;KAEY,eAAe;AAE3B;AACM,KAAM,QAAQ;AAEpB;AACM,KAAM,QAAQ;UAEH,YAAY;UACrB,QAAQ;iBACD,eAAe;UACtB,QAAQ;AACf;AAED,cAAa,aAAa,EAAA,cAAA,CAAA,YAAA;AAK1B;;;;AAIG;AACH,iBAAgB,mBAAmB,WAAW,OAAO,CAAC,YAAY;;sBAG9C,YAAY;AAM/B;AAED;AACA,iBAAgB,kBAAkB,IAAI,YAAY;;ACxBlD;;;;;;;;AAQG;AACH,cAkBa,MAAM;AACjB;;;AAGG;0BACiBA,EAAA,CAAA,WAAA,CAAA,eAAA;;mBAEPA,EAAA,CAAA,WAAA,CAAA,QAAA;;mBAEAA,EAAA,CAAA,WAAA,CAAA,QAAA;AACb;;;AAGG;uBACcA,EAAA,CAAA,wBAAA;AACjB;;;;AAIG;uBACcA,EAAA,CAAA,wBAAA;AAEjB;AAEA,4CAAsCA,EAAA,CAAA,MAAA,CAAA,eAAA;AAGtC,qCAA+BA,EAAA,CAAA,MAAA,CAAA,QAAA;AAC/B,qCAA+BA,EAAA,CAAA,MAAA,CAAA,QAAA;yCA5BpB,MAAM;2CAAN,MAAM;AA6BlB;;ACpED;;;;AAIG;AACH,cAMa,aAAa;yCAAb,aAAa;2CAAb,aAAa;AAAG;;ACX7B;AACA,cAMa,UAAU;yCAAV,UAAU;2CAAV,UAAU;AAAG;;ACP1B;;;AAGG;AACH,cAMa,YAAY;yCAAZ,YAAY;2CAAZ,YAAY;AAAG;;ACV5B;AACA,cAMa,YAAY;yCAAZ,YAAY;2CAAZ,YAAY;AAAG;;ACP5B;;;;;;;;AAQG;AACH,cAMa,UAAU;yCAAV,UAAU;2CAAV,UAAU;AAAG;;ACf1B;;;;AAIG;AACH,cAMa,WAAW;yCAAX,WAAW;2CAAX,WAAW;AAAG;;ACX3B;;;;;;;;;;;;AAYG;AACH,cAMa,eAAe;yCAAf,eAAe;2CAAf,eAAe;AAAG;;","names":["_angular_core"]}
|