@noldova/ui.components.angular 0.0.0-stage → 0.0.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 +167 -2
- package/api/code-highlighting-worker.d.ts +9 -0
- package/api/code-highlighting-worker.js +2 -0
- package/api/code-highlighting-worker.js.map +1 -0
- package/api/code-highlighting.d.ts +11 -0
- package/api/code-highlighting.js +11 -0
- package/api/code-highlighting.js.map +1 -0
- package/api/gallery.d.ts +13 -0
- package/api/gallery.js +14 -0
- package/api/gallery.js.map +1 -0
- package/api/index.d.ts +240 -0
- package/api/index.js +230 -0
- package/api/index.js.map +1 -0
- package/api/markdown.d.ts +9 -0
- package/api/markdown.js +10 -0
- package/api/markdown.js.map +1 -0
- package/api/testing.d.ts +18 -0
- package/api/testing.js +19 -0
- package/api/testing.js.map +1 -0
- package/app/components/avatar/avatar-initials-fitter.d.ts +17 -0
- package/app/components/avatar/avatar-initials-fitter.js +65 -0
- package/app/components/avatar/avatar-initials-fitter.js.map +1 -0
- package/app/components/avatar/avatar.component.d.ts +143 -0
- package/app/components/avatar/avatar.component.js +125 -0
- package/app/components/avatar/avatar.component.js.map +1 -0
- package/app/components/avatar/avatar.resources.d.ts +17 -0
- package/app/components/avatar/avatar.resources.js +26 -0
- package/app/components/avatar/avatar.resources.js.map +1 -0
- package/app/components/button/button.component.d.ts +128 -0
- package/app/components/button/button.component.js +62 -0
- package/app/components/button/button.component.js.map +1 -0
- package/app/components/card/card.component.d.ts +24 -0
- package/app/components/card/card.component.js +18 -0
- package/app/components/card/card.component.js.map +1 -0
- package/app/components/checkbox/checkbox.component.d.ts +47 -0
- package/app/components/checkbox/checkbox.component.js +35 -0
- package/app/components/checkbox/checkbox.component.js.map +1 -0
- package/app/components/chip/chip.component.d.ts +76 -0
- package/app/components/chip/chip.component.js +84 -0
- package/app/components/chip/chip.component.js.map +1 -0
- package/app/components/chip/chip.resources.d.ts +13 -0
- package/app/components/chip/chip.resources.js +14 -0
- package/app/components/chip/chip.resources.js.map +1 -0
- package/app/components/choice-pills/choice-pills.component.d.ts +69 -0
- package/app/components/choice-pills/choice-pills.component.js +48 -0
- package/app/components/choice-pills/choice-pills.component.js.map +1 -0
- package/app/components/choice-pills/choice-pills.resources.d.ts +11 -0
- package/app/components/choice-pills/choice-pills.resources.js +19 -0
- package/app/components/choice-pills/choice-pills.resources.js.map +1 -0
- package/app/components/choice-row/choice-row.component.d.ts +71 -0
- package/app/components/choice-row/choice-row.component.js +40 -0
- package/app/components/choice-row/choice-row.component.js.map +1 -0
- package/app/components/code-block/code-block.component.d.ts +169 -0
- package/app/components/code-block/code-block.component.js +189 -0
- package/app/components/code-block/code-block.component.js.map +1 -0
- package/app/components/code-block/code-block.resources.d.ts +18 -0
- package/app/components/code-block/code-block.resources.js +25 -0
- package/app/components/code-block/code-block.resources.js.map +1 -0
- package/app/components/code-block/shell-run-output.component.d.ts +21 -0
- package/app/components/code-block/shell-run-output.component.js +75 -0
- package/app/components/code-block/shell-run-output.component.js.map +1 -0
- package/app/components/code-block/shell-run-output.directive.d.ts +59 -0
- package/app/components/code-block/shell-run-output.directive.js +22 -0
- package/app/components/code-block/shell-run-output.directive.js.map +1 -0
- package/app/components/configuration-table/configuration-table-action.directive.d.ts +31 -0
- package/app/components/configuration-table/configuration-table-action.directive.js +20 -0
- package/app/components/configuration-table/configuration-table-action.directive.js.map +1 -0
- package/app/components/configuration-table/configuration-table-component.resources.d.ts +10 -0
- package/app/components/configuration-table/configuration-table-component.resources.js +11 -0
- package/app/components/configuration-table/configuration-table-component.resources.js.map +1 -0
- package/app/components/configuration-table/configuration-table-directive.resources.d.ts +13 -0
- package/app/components/configuration-table/configuration-table-directive.resources.js +16 -0
- package/app/components/configuration-table/configuration-table-directive.resources.js.map +1 -0
- package/app/components/configuration-table/configuration-table-fill.directive.d.ts +75 -0
- package/app/components/configuration-table/configuration-table-fill.directive.js +31 -0
- package/app/components/configuration-table/configuration-table-fill.directive.js.map +1 -0
- package/app/components/configuration-table/configuration-table-row-actions.directive.d.ts +55 -0
- package/app/components/configuration-table/configuration-table-row-actions.directive.js +28 -0
- package/app/components/configuration-table/configuration-table-row-actions.directive.js.map +1 -0
- package/app/components/configuration-table/configuration-table-share.directive.d.ts +80 -0
- package/app/components/configuration-table/configuration-table-share.directive.js +32 -0
- package/app/components/configuration-table/configuration-table-share.directive.js.map +1 -0
- package/app/components/configuration-table/configuration-table.component.d.ts +91 -0
- package/app/components/configuration-table/configuration-table.component.js +37 -0
- package/app/components/configuration-table/configuration-table.component.js.map +1 -0
- package/app/components/configuration-table/configuration-table.directive.d.ts +90 -0
- package/app/components/configuration-table/configuration-table.directive.js +91 -0
- package/app/components/configuration-table/configuration-table.directive.js.map +1 -0
- package/app/components/dialog/dialog-component.resources.d.ts +16 -0
- package/app/components/dialog/dialog-component.resources.js +17 -0
- package/app/components/dialog/dialog-component.resources.js.map +1 -0
- package/app/components/dialog/dialog-description.directive.d.ts +60 -0
- package/app/components/dialog/dialog-description.directive.js +53 -0
- package/app/components/dialog/dialog-description.directive.js.map +1 -0
- package/app/components/dialog/dialog-description.resources.d.ts +12 -0
- package/app/components/dialog/dialog-description.resources.js +13 -0
- package/app/components/dialog/dialog-description.resources.js.map +1 -0
- package/app/components/dialog/dialog.component.d.ts +126 -0
- package/app/components/dialog/dialog.component.js +119 -0
- package/app/components/dialog/dialog.component.js.map +1 -0
- package/app/components/diff-view/diff-code.directive.d.ts +16 -0
- package/app/components/diff-view/diff-code.directive.js +45 -0
- package/app/components/diff-view/diff-code.directive.js.map +1 -0
- package/app/components/diff-view/diff-view.component.d.ts +376 -0
- package/app/components/diff-view/diff-view.component.js +386 -0
- package/app/components/diff-view/diff-view.component.js.map +1 -0
- package/app/components/diff-view/diff-view.resources.d.ts +56 -0
- package/app/components/diff-view/diff-view.resources.js +107 -0
- package/app/components/diff-view/diff-view.resources.js.map +1 -0
- package/app/components/docking-guide/docking-guide.component.d.ts +46 -0
- package/app/components/docking-guide/docking-guide.component.js +32 -0
- package/app/components/docking-guide/docking-guide.component.js.map +1 -0
- package/app/components/docking-guide/docking-guide.resources.d.ts +12 -0
- package/app/components/docking-guide/docking-guide.resources.js +25 -0
- package/app/components/docking-guide/docking-guide.resources.js.map +1 -0
- package/app/components/docking-plate/docking-plate.component.d.ts +32 -0
- package/app/components/docking-plate/docking-plate.component.js +29 -0
- package/app/components/docking-plate/docking-plate.component.js.map +1 -0
- package/app/components/field-message/field-message.component.d.ts +42 -0
- package/app/components/field-message/field-message.component.js +26 -0
- package/app/components/field-message/field-message.component.js.map +1 -0
- package/app/components/file-badge/file-badge.component.d.ts +58 -0
- package/app/components/file-badge/file-badge.component.js +43 -0
- package/app/components/file-badge/file-badge.component.js.map +1 -0
- package/app/components/file-badge/file-badge.resources.d.ts +12 -0
- package/app/components/file-badge/file-badge.resources.js +17 -0
- package/app/components/file-badge/file-badge.resources.js.map +1 -0
- package/app/components/gallery/gallery-avatar.component.d.ts +13 -0
- package/app/components/gallery/gallery-avatar.component.js +29 -0
- package/app/components/gallery/gallery-avatar.component.js.map +1 -0
- package/app/components/gallery/gallery-button.component.d.ts +11 -0
- package/app/components/gallery/gallery-button.component.js +30 -0
- package/app/components/gallery/gallery-button.component.js.map +1 -0
- package/app/components/gallery/gallery-card.component.d.ts +7 -0
- package/app/components/gallery/gallery-card.component.js +23 -0
- package/app/components/gallery/gallery-card.component.js.map +1 -0
- package/app/components/gallery/gallery-cell.component.d.ts +21 -0
- package/app/components/gallery/gallery-cell.component.js +26 -0
- package/app/components/gallery/gallery-cell.component.js.map +1 -0
- package/app/components/gallery/gallery-checkbox.component.d.ts +17 -0
- package/app/components/gallery/gallery-checkbox.component.js +27 -0
- package/app/components/gallery/gallery-checkbox.component.js.map +1 -0
- package/app/components/gallery/gallery-chip.component.d.ts +9 -0
- package/app/components/gallery/gallery-chip.component.js +25 -0
- package/app/components/gallery/gallery-chip.component.js.map +1 -0
- package/app/components/gallery/gallery-choice-pills.component.d.ts +23 -0
- package/app/components/gallery/gallery-choice-pills.component.js +33 -0
- package/app/components/gallery/gallery-choice-pills.component.js.map +1 -0
- package/app/components/gallery/gallery-choice-row.component.d.ts +21 -0
- package/app/components/gallery/gallery-choice-row.component.js +35 -0
- package/app/components/gallery/gallery-choice-row.component.js.map +1 -0
- package/app/components/gallery/gallery-code-block.component.d.ts +13 -0
- package/app/components/gallery/gallery-code-block.component.js +33 -0
- package/app/components/gallery/gallery-code-block.component.js.map +1 -0
- package/app/components/gallery/gallery-configuration-table.component.d.ts +14 -0
- package/app/components/gallery/gallery-configuration-table.component.js +40 -0
- package/app/components/gallery/gallery-configuration-table.component.js.map +1 -0
- package/app/components/gallery/gallery-content.component.d.ts +35 -0
- package/app/components/gallery/gallery-content.component.js +102 -0
- package/app/components/gallery/gallery-content.component.js.map +1 -0
- package/app/components/gallery/gallery-dialog.component.d.ts +21 -0
- package/app/components/gallery/gallery-dialog.component.js +46 -0
- package/app/components/gallery/gallery-dialog.component.js.map +1 -0
- package/app/components/gallery/gallery-feed-source.d.ts +29 -0
- package/app/components/gallery/gallery-feed-source.js +76 -0
- package/app/components/gallery/gallery-feed-source.js.map +1 -0
- package/app/components/gallery/gallery-feed.component.d.ts +59 -0
- package/app/components/gallery/gallery-feed.component.js +114 -0
- package/app/components/gallery/gallery-feed.component.js.map +1 -0
- package/app/components/gallery/gallery-file-badge.component.d.ts +7 -0
- package/app/components/gallery/gallery-file-badge.component.js +23 -0
- package/app/components/gallery/gallery-file-badge.component.js.map +1 -0
- package/app/components/gallery/gallery-forms.component.d.ts +7 -0
- package/app/components/gallery/gallery-forms.component.js +39 -0
- package/app/components/gallery/gallery-forms.component.js.map +1 -0
- package/app/components/gallery/gallery-group-header.component.d.ts +24 -0
- package/app/components/gallery/gallery-group-header.component.js +43 -0
- package/app/components/gallery/gallery-group-header.component.js.map +1 -0
- package/app/components/gallery/gallery-icon-button.component.d.ts +16 -0
- package/app/components/gallery/gallery-icon-button.component.js +26 -0
- package/app/components/gallery/gallery-icon-button.component.js.map +1 -0
- package/app/components/gallery/gallery-inline-code.component.d.ts +7 -0
- package/app/components/gallery/gallery-inline-code.component.js +23 -0
- package/app/components/gallery/gallery-inline-code.component.js.map +1 -0
- package/app/components/gallery/gallery-markdown-view.component.d.ts +9 -0
- package/app/components/gallery/gallery-markdown-view.component.js +28 -0
- package/app/components/gallery/gallery-markdown-view.component.js.map +1 -0
- package/app/components/gallery/gallery-menu.component.d.ts +22 -0
- package/app/components/gallery/gallery-menu.component.js +47 -0
- package/app/components/gallery/gallery-menu.component.js.map +1 -0
- package/app/components/gallery/gallery-message.component.d.ts +57 -0
- package/app/components/gallery/gallery-message.component.js +102 -0
- package/app/components/gallery/gallery-message.component.js.map +1 -0
- package/app/components/gallery/gallery-message.d.ts +19 -0
- package/app/components/gallery/gallery-message.js +25 -0
- package/app/components/gallery/gallery-message.js.map +1 -0
- package/app/components/gallery/gallery-meter.component.d.ts +7 -0
- package/app/components/gallery/gallery-meter.component.js +23 -0
- package/app/components/gallery/gallery-meter.component.js.map +1 -0
- package/app/components/gallery/gallery-navigation.component.d.ts +9 -0
- package/app/components/gallery/gallery-navigation.component.js +42 -0
- package/app/components/gallery/gallery-navigation.component.js.map +1 -0
- package/app/components/gallery/gallery-overlay-container.d.ts +13 -0
- package/app/components/gallery/gallery-overlay-container.js +23 -0
- package/app/components/gallery/gallery-overlay-container.js.map +1 -0
- package/app/components/gallery/gallery-overlays.component.d.ts +22 -0
- package/app/components/gallery/gallery-overlays.component.js +61 -0
- package/app/components/gallery/gallery-overlays.component.js.map +1 -0
- package/app/components/gallery/gallery-panel-card.component.d.ts +9 -0
- package/app/components/gallery/gallery-panel-card.component.js +25 -0
- package/app/components/gallery/gallery-panel-card.component.js.map +1 -0
- package/app/components/gallery/gallery-permission-cards.d.ts +30 -0
- package/app/components/gallery/gallery-permission-cards.js +77 -0
- package/app/components/gallery/gallery-permission-cards.js.map +1 -0
- package/app/components/gallery/gallery-plans.d.ts +15 -0
- package/app/components/gallery/gallery-plans.js +21 -0
- package/app/components/gallery/gallery-plans.js.map +1 -0
- package/app/components/gallery/gallery-press.directive.d.ts +9 -0
- package/app/components/gallery/gallery-press.directive.js +33 -0
- package/app/components/gallery/gallery-press.directive.js.map +1 -0
- package/app/components/gallery/gallery-progress.component.d.ts +7 -0
- package/app/components/gallery/gallery-progress.component.js +23 -0
- package/app/components/gallery/gallery-progress.component.js.map +1 -0
- package/app/components/gallery/gallery-quick-input.component.d.ts +13 -0
- package/app/components/gallery/gallery-quick-input.component.js +35 -0
- package/app/components/gallery/gallery-quick-input.component.js.map +1 -0
- package/app/components/gallery/gallery-radio.component.d.ts +17 -0
- package/app/components/gallery/gallery-radio.component.js +28 -0
- package/app/components/gallery/gallery-radio.component.js.map +1 -0
- package/app/components/gallery/gallery-references.d.ts +43 -0
- package/app/components/gallery/gallery-references.js +98 -0
- package/app/components/gallery/gallery-references.js.map +1 -0
- package/app/components/gallery/gallery-refusing-clipboard.d.ts +7 -0
- package/app/components/gallery/gallery-refusing-clipboard.directive.d.ts +5 -0
- package/app/components/gallery/gallery-refusing-clipboard.directive.js +23 -0
- package/app/components/gallery/gallery-refusing-clipboard.directive.js.map +1 -0
- package/app/components/gallery/gallery-refusing-clipboard.js +21 -0
- package/app/components/gallery/gallery-refusing-clipboard.js.map +1 -0
- package/app/components/gallery/gallery-resources.d.ts +1042 -0
- package/app/components/gallery/gallery-resources.js +842 -0
- package/app/components/gallery/gallery-resources.js.map +1 -0
- package/app/components/gallery/gallery-sash.component.d.ts +9 -0
- package/app/components/gallery/gallery-sash.component.js +26 -0
- package/app/components/gallery/gallery-sash.component.js.map +1 -0
- package/app/components/gallery/gallery-scope.directive.d.ts +13 -0
- package/app/components/gallery/gallery-scope.directive.js +35 -0
- package/app/components/gallery/gallery-scope.directive.js.map +1 -0
- package/app/components/gallery/gallery-section-header.component.d.ts +24 -0
- package/app/components/gallery/gallery-section-header.component.js +42 -0
- package/app/components/gallery/gallery-section-header.component.js.map +1 -0
- package/app/components/gallery/gallery-select.component.d.ts +23 -0
- package/app/components/gallery/gallery-select.component.js +33 -0
- package/app/components/gallery/gallery-select.component.js.map +1 -0
- package/app/components/gallery/gallery-specimen.component.d.ts +50 -0
- package/app/components/gallery/gallery-specimen.component.js +28 -0
- package/app/components/gallery/gallery-specimen.component.js.map +1 -0
- package/app/components/gallery/gallery-spinner.component.d.ts +7 -0
- package/app/components/gallery/gallery-spinner.component.js +23 -0
- package/app/components/gallery/gallery-spinner.component.js.map +1 -0
- package/app/components/gallery/gallery-split-button.component.d.ts +7 -0
- package/app/components/gallery/gallery-split-button.component.js +26 -0
- package/app/components/gallery/gallery-split-button.component.js.map +1 -0
- package/app/components/gallery/gallery-state.directive.d.ts +70 -0
- package/app/components/gallery/gallery-state.directive.js +47 -0
- package/app/components/gallery/gallery-state.directive.js.map +1 -0
- package/app/components/gallery/gallery-switch.component.d.ts +17 -0
- package/app/components/gallery/gallery-switch.component.js +27 -0
- package/app/components/gallery/gallery-switch.component.js.map +1 -0
- package/app/components/gallery/gallery-tab.component.d.ts +13 -0
- package/app/components/gallery/gallery-tab.component.js +31 -0
- package/app/components/gallery/gallery-tab.component.js.map +1 -0
- package/app/components/gallery/gallery-terminal-output.component.d.ts +11 -0
- package/app/components/gallery/gallery-terminal-output.component.js +27 -0
- package/app/components/gallery/gallery-terminal-output.component.js.map +1 -0
- package/app/components/gallery/gallery-terminal-outputs.d.ts +19 -0
- package/app/components/gallery/gallery-terminal-outputs.js +47 -0
- package/app/components/gallery/gallery-terminal-outputs.js.map +1 -0
- package/app/components/gallery/gallery-text-field.component.d.ts +13 -0
- package/app/components/gallery/gallery-text-field.component.js +34 -0
- package/app/components/gallery/gallery-text-field.component.js.map +1 -0
- package/app/components/gallery/gallery-tokens.d.ts +11 -0
- package/app/components/gallery/gallery-tokens.js +17 -0
- package/app/components/gallery/gallery-tokens.js.map +1 -0
- package/app/components/gallery/gallery-tool-calls.d.ts +37 -0
- package/app/components/gallery/gallery-tool-calls.js +83 -0
- package/app/components/gallery/gallery-tool-calls.js.map +1 -0
- package/app/components/gallery/gallery-toolbar-button.component.d.ts +7 -0
- package/app/components/gallery/gallery-toolbar-button.component.js +25 -0
- package/app/components/gallery/gallery-toolbar-button.component.js.map +1 -0
- package/app/components/gallery/gallery-tooltip.component.d.ts +11 -0
- package/app/components/gallery/gallery-tooltip.component.js +29 -0
- package/app/components/gallery/gallery-tooltip.component.js.map +1 -0
- package/app/components/gallery/gallery-tree.component.d.ts +24 -0
- package/app/components/gallery/gallery-tree.component.js +49 -0
- package/app/components/gallery/gallery-tree.component.js.map +1 -0
- package/app/components/gallery/gallery-view-badge.component.d.ts +7 -0
- package/app/components/gallery/gallery-view-badge.component.js +23 -0
- package/app/components/gallery/gallery-view-badge.component.js.map +1 -0
- package/app/components/gallery/gallery-virtual-list-source.d.ts +14 -0
- package/app/components/gallery/gallery-virtual-list-source.js +22 -0
- package/app/components/gallery/gallery-virtual-list-source.js.map +1 -0
- package/app/components/gallery/gallery-virtual-list.component.d.ts +25 -0
- package/app/components/gallery/gallery-virtual-list.component.js +37 -0
- package/app/components/gallery/gallery-virtual-list.component.js.map +1 -0
- package/app/components/gallery/gallery.component.d.ts +96 -0
- package/app/components/gallery/gallery.component.js +54 -0
- package/app/components/gallery/gallery.component.js.map +1 -0
- package/app/components/group-header/group-header.component.d.ts +84 -0
- package/app/components/group-header/group-header.component.js +46 -0
- package/app/components/group-header/group-header.component.js.map +1 -0
- package/app/components/group-header/group-header.resources.d.ts +11 -0
- package/app/components/group-header/group-header.resources.js +12 -0
- package/app/components/group-header/group-header.resources.js.map +1 -0
- package/app/components/icon-button/icon-button.component.d.ts +142 -0
- package/app/components/icon-button/icon-button.component.js +59 -0
- package/app/components/icon-button/icon-button.component.js.map +1 -0
- package/app/components/inline-code/inline-code.component.d.ts +27 -0
- package/app/components/inline-code/inline-code.component.js +18 -0
- package/app/components/inline-code/inline-code.component.js.map +1 -0
- package/app/components/link-reference/link-reference-card.component.d.ts +41 -0
- package/app/components/link-reference/link-reference-card.component.js +97 -0
- package/app/components/link-reference/link-reference-card.component.js.map +1 -0
- package/app/components/link-reference/link-reference-card.resources.d.ts +11 -0
- package/app/components/link-reference/link-reference-card.resources.js +12 -0
- package/app/components/link-reference/link-reference-card.resources.js.map +1 -0
- package/app/components/link-reference/link-reference-chip.component.d.ts +42 -0
- package/app/components/link-reference/link-reference-chip.component.js +220 -0
- package/app/components/link-reference/link-reference-chip.component.js.map +1 -0
- package/app/components/link-reference/link-reference-chip.resources.d.ts +14 -0
- package/app/components/link-reference/link-reference-chip.resources.js +15 -0
- package/app/components/link-reference/link-reference-chip.resources.js.map +1 -0
- package/app/components/link-reference/link-reference-image-component.resources.d.ts +10 -0
- package/app/components/link-reference/link-reference-image-component.resources.js +13 -0
- package/app/components/link-reference/link-reference-image-component.resources.js.map +1 -0
- package/app/components/link-reference/link-reference-image.component.d.ts +16 -0
- package/app/components/link-reference/link-reference-image.component.js +28 -0
- package/app/components/link-reference/link-reference-image.component.js.map +1 -0
- package/app/components/link-reference/link-reference-work-item-state.component.d.ts +16 -0
- package/app/components/link-reference/link-reference-work-item-state.component.js +26 -0
- package/app/components/link-reference/link-reference-work-item-state.component.js.map +1 -0
- package/app/components/markdown-view/markdown-math.component.d.ts +13 -0
- package/app/components/markdown-view/markdown-math.component.js +45 -0
- package/app/components/markdown-view/markdown-math.component.js.map +1 -0
- package/app/components/markdown-view/markdown-view-nodes.component.d.ts +49 -0
- package/app/components/markdown-view/markdown-view-nodes.component.js +109 -0
- package/app/components/markdown-view/markdown-view-nodes.component.js.map +1 -0
- package/app/components/markdown-view/markdown-view-nodes.resources.d.ts +12 -0
- package/app/components/markdown-view/markdown-view-nodes.resources.js +14 -0
- package/app/components/markdown-view/markdown-view-nodes.resources.js.map +1 -0
- package/app/components/markdown-view/markdown-view.component.d.ts +342 -0
- package/app/components/markdown-view/markdown-view.component.js +176 -0
- package/app/components/markdown-view/markdown-view.component.js.map +1 -0
- package/app/components/markdown-view/markdown-view.resources.d.ts +10 -0
- package/app/components/markdown-view/markdown-view.resources.js +11 -0
- package/app/components/markdown-view/markdown-view.resources.js.map +1 -0
- package/app/components/mention-field/mention-field.directive.d.ts +153 -0
- package/app/components/mention-field/mention-field.directive.js +302 -0
- package/app/components/mention-field/mention-field.directive.js.map +1 -0
- package/app/components/mention-field/mention-field.resources.d.ts +29 -0
- package/app/components/mention-field/mention-field.resources.js +36 -0
- package/app/components/mention-field/mention-field.resources.js.map +1 -0
- package/app/components/mention-field/mention-list.component.d.ts +27 -0
- package/app/components/mention-field/mention-list.component.js +65 -0
- package/app/components/mention-field/mention-list.component.js.map +1 -0
- package/app/components/mention-field/mention-list.resources.d.ts +12 -0
- package/app/components/mention-field/mention-list.resources.js +15 -0
- package/app/components/mention-field/mention-list.resources.js.map +1 -0
- package/app/components/menu/context-menu-trigger.directive.d.ts +220 -0
- package/app/components/menu/context-menu-trigger.directive.js +102 -0
- package/app/components/menu/context-menu-trigger.directive.js.map +1 -0
- package/app/components/menu/context-menu-trigger.resources.d.ts +10 -0
- package/app/components/menu/context-menu-trigger.resources.js +11 -0
- package/app/components/menu/context-menu-trigger.resources.js.map +1 -0
- package/app/components/menu/kept-open-menu-item.directive.d.ts +51 -0
- package/app/components/menu/kept-open-menu-item.directive.js +25 -0
- package/app/components/menu/kept-open-menu-item.directive.js.map +1 -0
- package/app/components/menu/menu-group-action.directive.d.ts +48 -0
- package/app/components/menu/menu-group-action.directive.js +30 -0
- package/app/components/menu/menu-group-action.directive.js.map +1 -0
- package/app/components/menu/menu-group.component.d.ts +106 -0
- package/app/components/menu/menu-group.component.js +86 -0
- package/app/components/menu/menu-group.component.js.map +1 -0
- package/app/components/menu/menu-group.resources.d.ts +12 -0
- package/app/components/menu/menu-group.resources.js +13 -0
- package/app/components/menu/menu-group.resources.js.map +1 -0
- package/app/components/menu/menu-item.component.d.ts +127 -0
- package/app/components/menu/menu-item.component.js +91 -0
- package/app/components/menu/menu-item.component.js.map +1 -0
- package/app/components/menu/menu-item.resources.d.ts +15 -0
- package/app/components/menu/menu-item.resources.js +16 -0
- package/app/components/menu/menu-item.resources.js.map +1 -0
- package/app/components/menu/menu-opens-on.directive.d.ts +62 -0
- package/app/components/menu/menu-opens-on.directive.js +23 -0
- package/app/components/menu/menu-opens-on.directive.js.map +1 -0
- package/app/components/menu/menu-separator.component.d.ts +32 -0
- package/app/components/menu/menu-separator.component.js +20 -0
- package/app/components/menu/menu-separator.component.js.map +1 -0
- package/app/components/menu/menu-trigger.directive.d.ts +176 -0
- package/app/components/menu/menu-trigger.directive.js +81 -0
- package/app/components/menu/menu-trigger.directive.js.map +1 -0
- package/app/components/menu/menu.component.d.ts +60 -0
- package/app/components/menu/menu.component.js +106 -0
- package/app/components/menu/menu.component.js.map +1 -0
- package/app/components/menu/menu.resources.d.ts +12 -0
- package/app/components/menu/menu.resources.js +15 -0
- package/app/components/menu/menu.resources.js.map +1 -0
- package/app/components/menu-bar/menu-bar-item.component.d.ts +62 -0
- package/app/components/menu-bar/menu-bar-item.component.js +29 -0
- package/app/components/menu-bar/menu-bar-item.component.js.map +1 -0
- package/app/components/menu-bar/menu-bar.component.d.ts +38 -0
- package/app/components/menu-bar/menu-bar.component.js +25 -0
- package/app/components/menu-bar/menu-bar.component.js.map +1 -0
- package/app/components/message/message-action.directive.d.ts +42 -0
- package/app/components/message/message-action.directive.js +24 -0
- package/app/components/message/message-action.directive.js.map +1 -0
- package/app/components/message/message-footer-end.directive.d.ts +52 -0
- package/app/components/message/message-footer-end.directive.js +25 -0
- package/app/components/message/message-footer-end.directive.js.map +1 -0
- package/app/components/message/message-image.directive.d.ts +78 -0
- package/app/components/message/message-image.directive.js +22 -0
- package/app/components/message/message-image.directive.js.map +1 -0
- package/app/components/message/message-run.component.d.ts +61 -0
- package/app/components/message/message-run.component.js +114 -0
- package/app/components/message/message-run.component.js.map +1 -0
- package/app/components/message/message-run.resources.d.ts +10 -0
- package/app/components/message/message-run.resources.js +11 -0
- package/app/components/message/message-run.resources.js.map +1 -0
- package/app/components/message/message-slot.directive.d.ts +42 -0
- package/app/components/message/message-slot.directive.js +20 -0
- package/app/components/message/message-slot.directive.js.map +1 -0
- package/app/components/message/message.component.d.ts +559 -0
- package/app/components/message/message.component.js +415 -0
- package/app/components/message/message.component.js.map +1 -0
- package/app/components/message/message.resources.d.ts +38 -0
- package/app/components/message/message.resources.js +52 -0
- package/app/components/message/message.resources.js.map +1 -0
- package/app/components/meter/meter.component.d.ts +81 -0
- package/app/components/meter/meter.component.js +57 -0
- package/app/components/meter/meter.component.js.map +1 -0
- package/app/components/meter/meter.resources.d.ts +11 -0
- package/app/components/meter/meter.resources.js +12 -0
- package/app/components/meter/meter.resources.js.map +1 -0
- package/app/components/panel-card/panel-card.component.d.ts +40 -0
- package/app/components/panel-card/panel-card.component.js +25 -0
- package/app/components/panel-card/panel-card.component.js.map +1 -0
- package/app/components/permission-card/permission-card.component.d.ts +170 -0
- package/app/components/permission-card/permission-card.component.js +213 -0
- package/app/components/permission-card/permission-card.component.js.map +1 -0
- package/app/components/permission-card/permission-card.resources.d.ts +42 -0
- package/app/components/permission-card/permission-card.resources.js +75 -0
- package/app/components/permission-card/permission-card.resources.js.map +1 -0
- package/app/components/plan/plan-component.resources.d.ts +18 -0
- package/app/components/plan/plan-component.resources.js +35 -0
- package/app/components/plan/plan-component.resources.js.map +1 -0
- package/app/components/plan/plan.component.d.ts +78 -0
- package/app/components/plan/plan.component.js +65 -0
- package/app/components/plan/plan.component.js.map +1 -0
- package/app/components/popover/popover-trigger.directive.d.ts +158 -0
- package/app/components/popover/popover-trigger.directive.js +96 -0
- package/app/components/popover/popover-trigger.directive.js.map +1 -0
- package/app/components/popover/popover-trigger.resources.d.ts +11 -0
- package/app/components/popover/popover-trigger.resources.js +12 -0
- package/app/components/popover/popover-trigger.resources.js.map +1 -0
- package/app/components/popover/popover.directive.d.ts +30 -0
- package/app/components/popover/popover.directive.js +28 -0
- package/app/components/popover/popover.directive.js.map +1 -0
- package/app/components/progress/progress.component.d.ts +49 -0
- package/app/components/progress/progress.component.js +42 -0
- package/app/components/progress/progress.component.js.map +1 -0
- package/app/components/progress/progress.resources.d.ts +11 -0
- package/app/components/progress/progress.resources.js +12 -0
- package/app/components/progress/progress.resources.js.map +1 -0
- package/app/components/progress/reveal-delay.directive.d.ts +61 -0
- package/app/components/progress/reveal-delay.directive.js +40 -0
- package/app/components/progress/reveal-delay.directive.js.map +1 -0
- package/app/components/progress/reveal-delay.resources.d.ts +10 -0
- package/app/components/progress/reveal-delay.resources.js +11 -0
- package/app/components/progress/reveal-delay.resources.js.map +1 -0
- package/app/components/quick-input/quick-input.component.d.ts +157 -0
- package/app/components/quick-input/quick-input.component.js +207 -0
- package/app/components/quick-input/quick-input.component.js.map +1 -0
- package/app/components/quick-input/quick-input.resources.d.ts +16 -0
- package/app/components/quick-input/quick-input.resources.js +21 -0
- package/app/components/quick-input/quick-input.resources.js.map +1 -0
- package/app/components/radio/radio-group.component.d.ts +41 -0
- package/app/components/radio/radio-group.component.js +41 -0
- package/app/components/radio/radio-group.component.js.map +1 -0
- package/app/components/radio/radio-group.resources.d.ts +10 -0
- package/app/components/radio/radio-group.resources.js +11 -0
- package/app/components/radio/radio-group.resources.js.map +1 -0
- package/app/components/radio/radio.component.d.ts +76 -0
- package/app/components/radio/radio.component.js +48 -0
- package/app/components/radio/radio.component.js.map +1 -0
- package/app/components/sash/sash.component.d.ts +105 -0
- package/app/components/sash/sash.component.js +119 -0
- package/app/components/sash/sash.component.js.map +1 -0
- package/app/components/sash/sash.resources.d.ts +14 -0
- package/app/components/sash/sash.resources.js +21 -0
- package/app/components/sash/sash.resources.js.map +1 -0
- package/app/components/section-header/section-header.component.d.ts +80 -0
- package/app/components/section-header/section-header.component.js +45 -0
- package/app/components/section-header/section-header.component.js.map +1 -0
- package/app/components/section-header/section-header.resources.d.ts +11 -0
- package/app/components/section-header/section-header.resources.js +12 -0
- package/app/components/section-header/section-header.resources.js.map +1 -0
- package/app/components/select/select.component.d.ts +150 -0
- package/app/components/select/select.component.js +162 -0
- package/app/components/select/select.component.js.map +1 -0
- package/app/components/select/select.resources.d.ts +15 -0
- package/app/components/select/select.resources.js +16 -0
- package/app/components/select/select.resources.js.map +1 -0
- package/app/components/spinner/spinner.component.d.ts +39 -0
- package/app/components/spinner/spinner.component.js +25 -0
- package/app/components/spinner/spinner.component.js.map +1 -0
- package/app/components/split-button/split-button.component.d.ts +129 -0
- package/app/components/split-button/split-button.component.js +57 -0
- package/app/components/split-button/split-button.component.js.map +1 -0
- package/app/components/split-button/split-button.resources.d.ts +10 -0
- package/app/components/split-button/split-button.resources.js +11 -0
- package/app/components/split-button/split-button.resources.js.map +1 -0
- package/app/components/switch/switch.component.d.ts +91 -0
- package/app/components/switch/switch.component.js +48 -0
- package/app/components/switch/switch.component.js.map +1 -0
- package/app/components/switch/switch.resources.d.ts +10 -0
- package/app/components/switch/switch.resources.js +11 -0
- package/app/components/switch/switch.resources.js.map +1 -0
- package/app/components/tab/tab.component.d.ts +237 -0
- package/app/components/tab/tab.component.js +162 -0
- package/app/components/tab/tab.component.js.map +1 -0
- package/app/components/tab/tab.resources.d.ts +17 -0
- package/app/components/tab/tab.resources.js +21 -0
- package/app/components/tab/tab.resources.js.map +1 -0
- package/app/components/terminal-output/terminal-output.component.d.ts +80 -0
- package/app/components/terminal-output/terminal-output.component.js +80 -0
- package/app/components/terminal-output/terminal-output.component.js.map +1 -0
- package/app/components/terminal-output/terminal-output.resources.d.ts +14 -0
- package/app/components/terminal-output/terminal-output.resources.js +15 -0
- package/app/components/terminal-output/terminal-output.resources.js.map +1 -0
- package/app/components/text-field/text-field-box.component.d.ts +81 -0
- package/app/components/text-field/text-field-box.component.js +40 -0
- package/app/components/text-field/text-field-box.component.js.map +1 -0
- package/app/components/text-field/text-field-box.resources.d.ts +10 -0
- package/app/components/text-field/text-field-box.resources.js +11 -0
- package/app/components/text-field/text-field-box.resources.js.map +1 -0
- package/app/components/text-field/text-field-end.directive.d.ts +37 -0
- package/app/components/text-field/text-field-end.directive.js +24 -0
- package/app/components/text-field/text-field-end.directive.js.map +1 -0
- package/app/components/text-field/text-field.component.d.ts +38 -0
- package/app/components/text-field/text-field.component.js +20 -0
- package/app/components/text-field/text-field.component.js.map +1 -0
- package/app/components/tool-call/tool-call-component.resources.d.ts +53 -0
- package/app/components/tool-call/tool-call-component.resources.js +115 -0
- package/app/components/tool-call/tool-call-component.resources.js.map +1 -0
- package/app/components/tool-call/tool-call-output.directive.d.ts +43 -0
- package/app/components/tool-call/tool-call-output.directive.js +22 -0
- package/app/components/tool-call/tool-call-output.directive.js.map +1 -0
- package/app/components/tool-call/tool-call.component.d.ts +216 -0
- package/app/components/tool-call/tool-call.component.js +345 -0
- package/app/components/tool-call/tool-call.component.js.map +1 -0
- package/app/components/toolbar/toolbar-item.directive.d.ts +55 -0
- package/app/components/toolbar/toolbar-item.directive.js +26 -0
- package/app/components/toolbar/toolbar-item.directive.js.map +1 -0
- package/app/components/toolbar/toolbar.directive.d.ts +73 -0
- package/app/components/toolbar/toolbar.directive.js +76 -0
- package/app/components/toolbar/toolbar.directive.js.map +1 -0
- package/app/components/toolbar/toolbar.resources.d.ts +12 -0
- package/app/components/toolbar/toolbar.resources.js +16 -0
- package/app/components/toolbar/toolbar.resources.js.map +1 -0
- package/app/components/toolbar-button/toolbar-button.component.d.ts +95 -0
- package/app/components/toolbar-button/toolbar-button.component.js +50 -0
- package/app/components/toolbar-button/toolbar-button.component.js.map +1 -0
- package/app/components/toolbar-button/toolbar-button.resources.d.ts +11 -0
- package/app/components/toolbar-button/toolbar-button.resources.js +12 -0
- package/app/components/toolbar-button/toolbar-button.resources.js.map +1 -0
- package/app/components/tooltip/tooltip-directive.resources.d.ts +19 -0
- package/app/components/tooltip/tooltip-directive.resources.js +20 -0
- package/app/components/tooltip/tooltip-directive.resources.js.map +1 -0
- package/app/components/tooltip/tooltip.component.d.ts +49 -0
- package/app/components/tooltip/tooltip.component.js +29 -0
- package/app/components/tooltip/tooltip.component.js.map +1 -0
- package/app/components/tooltip/tooltip.directive.d.ts +189 -0
- package/app/components/tooltip/tooltip.directive.js +275 -0
- package/app/components/tooltip/tooltip.directive.js.map +1 -0
- package/app/components/tree/tree-row.directive.d.ts +16 -0
- package/app/components/tree/tree-row.directive.js +21 -0
- package/app/components/tree/tree-row.directive.js.map +1 -0
- package/app/components/tree/tree.component.d.ts +152 -0
- package/app/components/tree/tree.component.js +173 -0
- package/app/components/tree/tree.component.js.map +1 -0
- package/app/components/tree/tree.resources.d.ts +17 -0
- package/app/components/tree/tree.resources.js +20 -0
- package/app/components/tree/tree.resources.js.map +1 -0
- package/app/components/view-badge/view-badge.component.d.ts +42 -0
- package/app/components/view-badge/view-badge.component.js +33 -0
- package/app/components/view-badge/view-badge.component.js.map +1 -0
- package/app/components/virtual-list/virtual-list.component.d.ts +435 -0
- package/app/components/virtual-list/virtual-list.component.js +1002 -0
- package/app/components/virtual-list/virtual-list.component.js.map +1 -0
- package/app/components/virtual-list/virtual-list.resources.d.ts +28 -0
- package/app/components/virtual-list/virtual-list.resources.js +31 -0
- package/app/components/virtual-list/virtual-list.resources.js.map +1 -0
- package/app/components/virtual-list/virtual-row.directive.d.ts +63 -0
- package/app/components/virtual-list/virtual-row.directive.js +26 -0
- package/app/components/virtual-list/virtual-row.directive.js.map +1 -0
- package/app/enums/announcement-politeness.d.ts +23 -0
- package/app/enums/announcement-politeness.js +13 -0
- package/app/enums/announcement-politeness.js.map +1 -0
- package/app/enums/avatar-color.d.ts +62 -0
- package/app/enums/avatar-color.js +23 -0
- package/app/enums/avatar-color.js.map +1 -0
- package/app/enums/avatar-size.d.ts +40 -0
- package/app/enums/avatar-size.js +16 -0
- package/app/enums/avatar-size.js.map +1 -0
- package/app/enums/button-size.d.ts +28 -0
- package/app/enums/button-size.js +13 -0
- package/app/enums/button-size.js.map +1 -0
- package/app/enums/button-variant.d.ts +36 -0
- package/app/enums/button-variant.js +15 -0
- package/app/enums/button-variant.js.map +1 -0
- package/app/enums/chip-kind.d.ts +52 -0
- package/app/enums/chip-kind.js +19 -0
- package/app/enums/chip-kind.js.map +1 -0
- package/app/enums/choice-row-type.d.ts +20 -0
- package/app/enums/choice-row-type.js +13 -0
- package/app/enums/choice-row-type.js.map +1 -0
- package/app/enums/code-token-kind.d.ts +19 -0
- package/app/enums/code-token-kind.js +21 -0
- package/app/enums/code-token-kind.js.map +1 -0
- package/app/enums/code-worker-message-kind.d.ts +16 -0
- package/app/enums/code-worker-message-kind.js +18 -0
- package/app/enums/code-worker-message-kind.js.map +1 -0
- package/app/enums/copy-state.d.ts +12 -0
- package/app/enums/copy-state.js +14 -0
- package/app/enums/copy-state.js.map +1 -0
- package/app/enums/dialog-size.d.ts +25 -0
- package/app/enums/dialog-size.js +13 -0
- package/app/enums/dialog-size.js.map +1 -0
- package/app/enums/diff-expand-direction.d.ts +21 -0
- package/app/enums/diff-expand-direction.js +13 -0
- package/app/enums/diff-expand-direction.js.map +1 -0
- package/app/enums/diff-file-status.d.ts +30 -0
- package/app/enums/diff-file-status.js +15 -0
- package/app/enums/diff-file-status.js.map +1 -0
- package/app/enums/diff-layout.d.ts +22 -0
- package/app/enums/diff-layout.js +13 -0
- package/app/enums/diff-layout.js.map +1 -0
- package/app/enums/diff-line-kind.d.ts +24 -0
- package/app/enums/diff-line-kind.js +14 -0
- package/app/enums/diff-line-kind.js.map +1 -0
- package/app/enums/diff-review-state.d.ts +24 -0
- package/app/enums/diff-review-state.js +14 -0
- package/app/enums/diff-review-state.js.map +1 -0
- package/app/enums/diff-side.d.ts +20 -0
- package/app/enums/diff-side.js +13 -0
- package/app/enums/diff-side.js.map +1 -0
- package/app/enums/docking-direction.d.ts +33 -0
- package/app/enums/docking-direction.js +16 -0
- package/app/enums/docking-direction.js.map +1 -0
- package/app/enums/field-message-kind.d.ts +26 -0
- package/app/enums/field-message-kind.js +13 -0
- package/app/enums/field-message-kind.js.map +1 -0
- package/app/enums/file-mark-shape.d.ts +13 -0
- package/app/enums/file-mark-shape.js +15 -0
- package/app/enums/file-mark-shape.js.map +1 -0
- package/app/enums/font-choice.d.ts +23 -0
- package/app/enums/font-choice.js +13 -0
- package/app/enums/font-choice.js.map +1 -0
- package/app/enums/gallery-size.d.ts +25 -0
- package/app/enums/gallery-size.js +14 -0
- package/app/enums/gallery-size.js.map +1 -0
- package/app/enums/gallery-state.d.ts +26 -0
- package/app/enums/gallery-state.js +13 -0
- package/app/enums/gallery-state.js.map +1 -0
- package/app/enums/link-gesture.d.ts +27 -0
- package/app/enums/link-gesture.js +14 -0
- package/app/enums/link-gesture.js.map +1 -0
- package/app/enums/markdown-node-kind.d.ts +36 -0
- package/app/enums/markdown-node-kind.js +38 -0
- package/app/enums/markdown-node-kind.js.map +1 -0
- package/app/enums/message-author-kind.d.ts +25 -0
- package/app/enums/message-author-kind.js +14 -0
- package/app/enums/message-author-kind.js.map +1 -0
- package/app/enums/message-block-kind.d.ts +28 -0
- package/app/enums/message-block-kind.js +15 -0
- package/app/enums/message-block-kind.js.map +1 -0
- package/app/enums/message-footer-placement.d.ts +24 -0
- package/app/enums/message-footer-placement.js +13 -0
- package/app/enums/message-footer-placement.js.map +1 -0
- package/app/enums/message-layout.d.ts +36 -0
- package/app/enums/message-layout.js +14 -0
- package/app/enums/message-layout.js.map +1 -0
- package/app/enums/message-selection-look.d.ts +29 -0
- package/app/enums/message-selection-look.js +13 -0
- package/app/enums/message-selection-look.js.map +1 -0
- package/app/enums/message-status.d.ts +28 -0
- package/app/enums/message-status.js +15 -0
- package/app/enums/message-status.js.map +1 -0
- package/app/enums/message-time-format.d.ts +23 -0
- package/app/enums/message-time-format.js +13 -0
- package/app/enums/message-time-format.js.map +1 -0
- package/app/enums/mode-preference.d.ts +26 -0
- package/app/enums/mode-preference.js +14 -0
- package/app/enums/mode-preference.js.map +1 -0
- package/app/enums/overlay-alignment.d.ts +31 -0
- package/app/enums/overlay-alignment.js +14 -0
- package/app/enums/overlay-alignment.js.map +1 -0
- package/app/enums/panel-surface.d.ts +22 -0
- package/app/enums/panel-surface.js +13 -0
- package/app/enums/panel-surface.js.map +1 -0
- package/app/enums/permission-effect.d.ts +20 -0
- package/app/enums/permission-effect.js +13 -0
- package/app/enums/permission-effect.js.map +1 -0
- package/app/enums/permission-risk.d.ts +27 -0
- package/app/enums/permission-risk.js +14 -0
- package/app/enums/permission-risk.js.map +1 -0
- package/app/enums/permission-scope.d.ts +21 -0
- package/app/enums/permission-scope.js +13 -0
- package/app/enums/permission-scope.js.map +1 -0
- package/app/enums/permission-status.d.ts +42 -0
- package/app/enums/permission-status.js +17 -0
- package/app/enums/permission-status.js.map +1 -0
- package/app/enums/plan-step-status.d.ts +26 -0
- package/app/enums/plan-step-status.js +14 -0
- package/app/enums/plan-step-status.js.map +1 -0
- package/app/enums/sash-orientation.d.ts +22 -0
- package/app/enums/sash-orientation.js +13 -0
- package/app/enums/sash-orientation.js.map +1 -0
- package/app/enums/shell-run-state.d.ts +31 -0
- package/app/enums/shell-run-state.js +14 -0
- package/app/enums/shell-run-state.js.map +1 -0
- package/app/enums/tab-tone.d.ts +24 -0
- package/app/enums/tab-tone.js +14 -0
- package/app/enums/tab-tone.js.map +1 -0
- package/app/enums/terminal-output-style.d.ts +55 -0
- package/app/enums/terminal-output-style.js +20 -0
- package/app/enums/terminal-output-style.js.map +1 -0
- package/app/enums/theme-mode.d.ts +22 -0
- package/app/enums/theme-mode.js +13 -0
- package/app/enums/theme-mode.js.map +1 -0
- package/app/enums/tool-call-kind.d.ts +41 -0
- package/app/enums/tool-call-kind.js +18 -0
- package/app/enums/tool-call-kind.js.map +1 -0
- package/app/enums/tool-call-output-state.d.ts +39 -0
- package/app/enums/tool-call-output-state.js +15 -0
- package/app/enums/tool-call-output-state.js.map +1 -0
- package/app/enums/tool-call-status.d.ts +47 -0
- package/app/enums/tool-call-status.js +19 -0
- package/app/enums/tool-call-status.js.map +1 -0
- package/app/enums/toolbar-orientation.d.ts +21 -0
- package/app/enums/toolbar-orientation.js +13 -0
- package/app/enums/toolbar-orientation.js.map +1 -0
- package/app/enums/tree-drop-place.d.ts +13 -0
- package/app/enums/tree-drop-place.js +15 -0
- package/app/enums/tree-drop-place.js.map +1 -0
- package/app/enums/tree-step.d.ts +13 -0
- package/app/enums/tree-step.js +15 -0
- package/app/enums/tree-step.js.map +1 -0
- package/app/enums/typography-sizing.d.ts +26 -0
- package/app/enums/typography-sizing.js +13 -0
- package/app/enums/typography-sizing.js.map +1 -0
- package/app/enums/virtual-list-align.d.ts +31 -0
- package/app/enums/virtual-list-align.js +15 -0
- package/app/enums/virtual-list-align.js.map +1 -0
- package/app/enums/virtual-list-edge.d.ts +24 -0
- package/app/enums/virtual-list-edge.js +13 -0
- package/app/enums/virtual-list-edge.js.map +1 -0
- package/app/enums/virtual-list-kind.d.ts +24 -0
- package/app/enums/virtual-list-kind.js +13 -0
- package/app/enums/virtual-list-kind.js.map +1 -0
- package/app/exceptions/code-highlighting.exception.d.ts +37 -0
- package/app/exceptions/code-highlighting.exception.js +15 -0
- package/app/exceptions/code-highlighting.exception.js.map +1 -0
- package/app/exceptions/diff.exception.d.ts +31 -0
- package/app/exceptions/diff.exception.js +15 -0
- package/app/exceptions/diff.exception.js.map +1 -0
- package/app/exceptions/link-reference.exception.d.ts +32 -0
- package/app/exceptions/link-reference.exception.js +15 -0
- package/app/exceptions/link-reference.exception.js.map +1 -0
- package/app/exceptions/markdown.exception.d.ts +31 -0
- package/app/exceptions/markdown.exception.js +15 -0
- package/app/exceptions/markdown.exception.js.map +1 -0
- package/app/exceptions/theme.exception.d.ts +36 -0
- package/app/exceptions/theme.exception.js +15 -0
- package/app/exceptions/theme.exception.js.map +1 -0
- package/app/exceptions/tree-move.exception.d.ts +32 -0
- package/app/exceptions/tree-move.exception.js +15 -0
- package/app/exceptions/tree-move.exception.js.map +1 -0
- package/app/exceptions/virtual-list.exception.d.ts +32 -0
- package/app/exceptions/virtual-list.exception.js +15 -0
- package/app/exceptions/virtual-list.exception.js.map +1 -0
- package/app/interfaces/i-announcement-options.d.ts +28 -0
- package/app/interfaces/i-announcement-options.js +8 -0
- package/app/interfaces/i-announcement-options.js.map +1 -0
- package/app/interfaces/i-code-highlighter.d.ts +14 -0
- package/app/interfaces/i-code-highlighter.js +8 -0
- package/app/interfaces/i-code-highlighter.js.map +1 -0
- package/app/interfaces/i-code-highlighting-options.d.ts +28 -0
- package/app/interfaces/i-code-highlighting-options.js +8 -0
- package/app/interfaces/i-code-highlighting-options.js.map +1 -0
- package/app/interfaces/i-code-highlighting-worker-scope.d.ts +26 -0
- package/app/interfaces/i-code-highlighting-worker-scope.js +8 -0
- package/app/interfaces/i-code-highlighting-worker-scope.js.map +1 -0
- package/app/interfaces/i-code-worker-answer.d.ts +15 -0
- package/app/interfaces/i-code-worker-answer.js +8 -0
- package/app/interfaces/i-code-worker-answer.js.map +1 -0
- package/app/interfaces/i-code-worker-request.d.ts +15 -0
- package/app/interfaces/i-code-worker-request.js +8 -0
- package/app/interfaces/i-code-worker-request.js.map +1 -0
- package/app/interfaces/i-code-worker.d.ts +9 -0
- package/app/interfaces/i-code-worker.js +8 -0
- package/app/interfaces/i-code-worker.js.map +1 -0
- package/app/interfaces/i-element-widths.d.ts +12 -0
- package/app/interfaces/i-element-widths.js +8 -0
- package/app/interfaces/i-element-widths.js.map +1 -0
- package/app/interfaces/i-gallery-scope.d.ts +15 -0
- package/app/interfaces/i-gallery-scope.js +8 -0
- package/app/interfaces/i-gallery-scope.js.map +1 -0
- package/app/interfaces/i-link-reference-options.d.ts +142 -0
- package/app/interfaces/i-link-reference-options.js +8 -0
- package/app/interfaces/i-link-reference-options.js.map +1 -0
- package/app/interfaces/i-link-reference-source.d.ts +82 -0
- package/app/interfaces/i-link-reference-source.js +8 -0
- package/app/interfaces/i-link-reference-source.js.map +1 -0
- package/app/interfaces/i-markdown-reference.d.ts +11 -0
- package/app/interfaces/i-markdown-reference.js +8 -0
- package/app/interfaces/i-markdown-reference.js.map +1 -0
- package/app/interfaces/i-markdown.parser.d.ts +12 -0
- package/app/interfaces/i-markdown.parser.js +8 -0
- package/app/interfaces/i-markdown.parser.js.map +1 -0
- package/app/interfaces/i-mention-candidate-options.d.ts +44 -0
- package/app/interfaces/i-mention-candidate-options.js +8 -0
- package/app/interfaces/i-mention-candidate-options.js.map +1 -0
- package/app/interfaces/i-message-image-context.d.ts +37 -0
- package/app/interfaces/i-message-image-context.js +8 -0
- package/app/interfaces/i-message-image-context.js.map +1 -0
- package/app/interfaces/i-permission-request-options.d.ts +68 -0
- package/app/interfaces/i-permission-request-options.js +8 -0
- package/app/interfaces/i-permission-request-options.js.map +1 -0
- package/app/interfaces/i-rendered-children.d.ts +12 -0
- package/app/interfaces/i-rendered-children.js +8 -0
- package/app/interfaces/i-rendered-children.js.map +1 -0
- package/app/interfaces/i-scrollbar-gutters.d.ts +10 -0
- package/app/interfaces/i-scrollbar-gutters.js +8 -0
- package/app/interfaces/i-scrollbar-gutters.js.map +1 -0
- package/app/interfaces/i-shell-run-output-context.d.ts +32 -0
- package/app/interfaces/i-shell-run-output-context.js +8 -0
- package/app/interfaces/i-shell-run-output-context.js.map +1 -0
- package/app/interfaces/i-time-source.d.ts +15 -0
- package/app/interfaces/i-time-source.js +8 -0
- package/app/interfaces/i-time-source.js.map +1 -0
- package/app/interfaces/i-tool-call-options.d.ts +69 -0
- package/app/interfaces/i-tool-call-options.js +8 -0
- package/app/interfaces/i-tool-call-options.js.map +1 -0
- package/app/interfaces/i-tool-call-output-context.d.ts +27 -0
- package/app/interfaces/i-tool-call-output-context.js +8 -0
- package/app/interfaces/i-tool-call-output-context.js.map +1 -0
- package/app/interfaces/i-virtual-list-observer.d.ts +97 -0
- package/app/interfaces/i-virtual-list-observer.js +8 -0
- package/app/interfaces/i-virtual-list-observer.js.map +1 -0
- package/app/interfaces/i-virtual-row-context.d.ts +52 -0
- package/app/interfaces/i-virtual-row-context.js +8 -0
- package/app/interfaces/i-virtual-row-context.js.map +1 -0
- package/app/models/announcement-burst.d.ts +16 -0
- package/app/models/announcement-burst.js +25 -0
- package/app/models/announcement-burst.js.map +1 -0
- package/app/models/announcement-burst.resources.d.ts +12 -0
- package/app/models/announcement-burst.resources.js +13 -0
- package/app/models/announcement-burst.resources.js.map +1 -0
- package/app/models/announcement-keys.d.ts +12 -0
- package/app/models/announcement-keys.js +25 -0
- package/app/models/announcement-keys.js.map +1 -0
- package/app/models/announcement-keys.resources.d.ts +10 -0
- package/app/models/announcement-keys.resources.js +11 -0
- package/app/models/announcement-keys.resources.js.map +1 -0
- package/app/models/announcement.d.ts +16 -0
- package/app/models/announcement.js +26 -0
- package/app/models/announcement.js.map +1 -0
- package/app/models/array-virtual-list-source.d.ts +132 -0
- package/app/models/array-virtual-list-source.js +39 -0
- package/app/models/array-virtual-list-source.js.map +1 -0
- package/app/models/avatar-colors.d.ts +43 -0
- package/app/models/avatar-colors.js +23 -0
- package/app/models/avatar-colors.js.map +1 -0
- package/app/models/avatar-colors.resources.d.ts +11 -0
- package/app/models/avatar-colors.resources.js +12 -0
- package/app/models/avatar-colors.resources.js.map +1 -0
- package/app/models/byte-size.d.ts +10 -0
- package/app/models/byte-size.js +16 -0
- package/app/models/byte-size.js.map +1 -0
- package/app/models/byte-size.resources.d.ts +11 -0
- package/app/models/byte-size.resources.js +12 -0
- package/app/models/byte-size.resources.js.map +1 -0
- package/app/models/clock-tokens.d.ts +12 -0
- package/app/models/clock-tokens.js +14 -0
- package/app/models/clock-tokens.js.map +1 -0
- package/app/models/clock-tokens.resources.d.ts +10 -0
- package/app/models/clock-tokens.resources.js +11 -0
- package/app/models/clock-tokens.resources.js.map +1 -0
- package/app/models/code-highlighter-tokens.d.ts +18 -0
- package/app/models/code-highlighter-tokens.js +17 -0
- package/app/models/code-highlighter-tokens.js.map +1 -0
- package/app/models/code-highlighter-tokens.resources.d.ts +16 -0
- package/app/models/code-highlighter-tokens.resources.js +17 -0
- package/app/models/code-highlighter-tokens.resources.js.map +1 -0
- package/app/models/code-language.d.ts +18 -0
- package/app/models/code-language.js +58 -0
- package/app/models/code-language.js.map +1 -0
- package/app/models/code-lines.d.ts +35 -0
- package/app/models/code-lines.js +186 -0
- package/app/models/code-lines.js.map +1 -0
- package/app/models/code-settled-lines.d.ts +17 -0
- package/app/models/code-settled-lines.js +24 -0
- package/app/models/code-settled-lines.js.map +1 -0
- package/app/models/code-token.d.ts +15 -0
- package/app/models/code-token.js +20 -0
- package/app/models/code-token.js.map +1 -0
- package/app/models/code-tokenizer.d.ts +28 -0
- package/app/models/code-tokenizer.js +87 -0
- package/app/models/code-tokenizer.js.map +1 -0
- package/app/models/code-tokenizer.resources.d.ts +17 -0
- package/app/models/code-tokenizer.resources.js +30 -0
- package/app/models/code-tokenizer.resources.js.map +1 -0
- package/app/models/code-worker-client.d.ts +33 -0
- package/app/models/code-worker-client.js +132 -0
- package/app/models/code-worker-client.js.map +1 -0
- package/app/models/code-worker-grammars.d.ts +11 -0
- package/app/models/code-worker-grammars.js +78 -0
- package/app/models/code-worker-grammars.js.map +1 -0
- package/app/models/code-worker-server.d.ts +27 -0
- package/app/models/code-worker-server.js +98 -0
- package/app/models/code-worker-server.js.map +1 -0
- package/app/models/code-worker-server.resources.d.ts +10 -0
- package/app/models/code-worker-server.resources.js +13 -0
- package/app/models/code-worker-server.resources.js.map +1 -0
- package/app/models/color-token.d.ts +65 -0
- package/app/models/color-token.js +25 -0
- package/app/models/color-token.js.map +1 -0
- package/app/models/configuration-table-fill-widths.d.ts +15 -0
- package/app/models/configuration-table-fill-widths.js +28 -0
- package/app/models/configuration-table-fill-widths.js.map +1 -0
- package/app/models/configuration-table-shares.d.ts +14 -0
- package/app/models/configuration-table-shares.js +22 -0
- package/app/models/configuration-table-shares.js.map +1 -0
- package/app/models/configuration-table-tokens.d.ts +12 -0
- package/app/models/configuration-table-tokens.js +14 -0
- package/app/models/configuration-table-tokens.js.map +1 -0
- package/app/models/configuration-table-tokens.resources.d.ts +10 -0
- package/app/models/configuration-table-tokens.resources.js +11 -0
- package/app/models/configuration-table-tokens.resources.js.map +1 -0
- package/app/models/default-theme.d.ts +19 -0
- package/app/models/default-theme.js +448 -0
- package/app/models/default-theme.js.map +1 -0
- package/app/models/default-theme.resources.d.ts +10 -0
- package/app/models/default-theme.resources.js +11 -0
- package/app/models/default-theme.resources.js.map +1 -0
- package/app/models/dialog-tokens.d.ts +32 -0
- package/app/models/dialog-tokens.js +13 -0
- package/app/models/dialog-tokens.js.map +1 -0
- package/app/models/dialog-tokens.resources.d.ts +10 -0
- package/app/models/dialog-tokens.resources.js +11 -0
- package/app/models/dialog-tokens.resources.js.map +1 -0
- package/app/models/diff-added-line.d.ts +38 -0
- package/app/models/diff-added-line.js +22 -0
- package/app/models/diff-added-line.js.map +1 -0
- package/app/models/diff-binary.d.ts +25 -0
- package/app/models/diff-binary.js +15 -0
- package/app/models/diff-binary.js.map +1 -0
- package/app/models/diff-binary.resources.d.ts +10 -0
- package/app/models/diff-binary.resources.js +11 -0
- package/app/models/diff-binary.resources.js.map +1 -0
- package/app/models/diff-change.d.ts +14 -0
- package/app/models/diff-change.js +18 -0
- package/app/models/diff-change.js.map +1 -0
- package/app/models/diff-collapse-limit.d.ts +59 -0
- package/app/models/diff-collapse-limit.js +26 -0
- package/app/models/diff-collapse-limit.js.map +1 -0
- package/app/models/diff-collapse-limit.resources.d.ts +13 -0
- package/app/models/diff-collapse-limit.resources.js +14 -0
- package/app/models/diff-collapse-limit.resources.js.map +1 -0
- package/app/models/diff-content.d.ts +37 -0
- package/app/models/diff-content.js +22 -0
- package/app/models/diff-content.js.map +1 -0
- package/app/models/diff-context-line.d.ts +39 -0
- package/app/models/diff-context-line.js +22 -0
- package/app/models/diff-context-line.js.map +1 -0
- package/app/models/diff-context-request.d.ts +41 -0
- package/app/models/diff-context-request.js +18 -0
- package/app/models/diff-context-request.js.map +1 -0
- package/app/models/diff-file-review.d.ts +97 -0
- package/app/models/diff-file-review.js +41 -0
- package/app/models/diff-file-review.js.map +1 -0
- package/app/models/diff-file.d.ts +75 -0
- package/app/models/diff-file.js +46 -0
- package/app/models/diff-file.js.map +1 -0
- package/app/models/diff-file.resources.d.ts +16 -0
- package/app/models/diff-file.resources.js +21 -0
- package/app/models/diff-file.resources.js.map +1 -0
- package/app/models/diff-hunk.d.ts +82 -0
- package/app/models/diff-hunk.js +46 -0
- package/app/models/diff-hunk.js.map +1 -0
- package/app/models/diff-hunk.resources.d.ts +12 -0
- package/app/models/diff-hunk.resources.js +13 -0
- package/app/models/diff-hunk.resources.js.map +1 -0
- package/app/models/diff-hunks.d.ts +29 -0
- package/app/models/diff-hunks.js +29 -0
- package/app/models/diff-hunks.js.map +1 -0
- package/app/models/diff-hunks.resources.d.ts +10 -0
- package/app/models/diff-hunks.resources.js +13 -0
- package/app/models/diff-hunks.resources.js.map +1 -0
- package/app/models/diff-line-pair.d.ts +13 -0
- package/app/models/diff-line-pair.js +16 -0
- package/app/models/diff-line-pair.js.map +1 -0
- package/app/models/diff-line-pairs.d.ts +16 -0
- package/app/models/diff-line-pairs.js +35 -0
- package/app/models/diff-line-pairs.js.map +1 -0
- package/app/models/diff-line-reference.d.ts +40 -0
- package/app/models/diff-line-reference.js +18 -0
- package/app/models/diff-line-reference.js.map +1 -0
- package/app/models/diff-line.d.ts +66 -0
- package/app/models/diff-line.js +38 -0
- package/app/models/diff-line.js.map +1 -0
- package/app/models/diff-line.resources.d.ts +11 -0
- package/app/models/diff-line.resources.js +14 -0
- package/app/models/diff-line.resources.js.map +1 -0
- package/app/models/diff-pending.d.ts +25 -0
- package/app/models/diff-pending.js +15 -0
- package/app/models/diff-pending.js.map +1 -0
- package/app/models/diff-pending.resources.d.ts +10 -0
- package/app/models/diff-pending.resources.js +11 -0
- package/app/models/diff-pending.resources.js.map +1 -0
- package/app/models/diff-read-failure.d.ts +31 -0
- package/app/models/diff-read-failure.js +22 -0
- package/app/models/diff-read-failure.js.map +1 -0
- package/app/models/diff-read-failure.resources.d.ts +10 -0
- package/app/models/diff-read-failure.resources.js +11 -0
- package/app/models/diff-read-failure.resources.js.map +1 -0
- package/app/models/diff-removed-line.d.ts +38 -0
- package/app/models/diff-removed-line.js +22 -0
- package/app/models/diff-removed-line.js.map +1 -0
- package/app/models/diff-review-request.d.ts +42 -0
- package/app/models/diff-review-request.js +18 -0
- package/app/models/diff-review-request.js.map +1 -0
- package/app/models/diff-shortcut.d.ts +34 -0
- package/app/models/diff-shortcut.js +16 -0
- package/app/models/diff-shortcut.js.map +1 -0
- package/app/models/diff-word-changes.d.ts +19 -0
- package/app/models/diff-word-changes.js +74 -0
- package/app/models/diff-word-changes.js.map +1 -0
- package/app/models/diff-word-changes.resources.d.ts +13 -0
- package/app/models/diff-word-changes.resources.js +14 -0
- package/app/models/diff-word-changes.resources.js.map +1 -0
- package/app/models/drag-gesture.d.ts +40 -0
- package/app/models/drag-gesture.js +14 -0
- package/app/models/drag-gesture.js.map +1 -0
- package/app/models/file-mark.d.ts +24 -0
- package/app/models/file-mark.js +67 -0
- package/app/models/file-mark.js.map +1 -0
- package/app/models/file-mark.resources.d.ts +18 -0
- package/app/models/file-mark.resources.js +19 -0
- package/app/models/file-mark.resources.js.map +1 -0
- package/app/models/grapheme-text.d.ts +52 -0
- package/app/models/grapheme-text.js +26 -0
- package/app/models/grapheme-text.js.map +1 -0
- package/app/models/height-ledger.d.ts +31 -0
- package/app/models/height-ledger.js +110 -0
- package/app/models/height-ledger.js.map +1 -0
- package/app/models/height-ledger.resources.d.ts +10 -0
- package/app/models/height-ledger.resources.js +13 -0
- package/app/models/height-ledger.resources.js.map +1 -0
- package/app/models/link-menu-event.d.ts +39 -0
- package/app/models/link-menu-event.js +16 -0
- package/app/models/link-menu-event.js.map +1 -0
- package/app/models/link-open-event.d.ts +45 -0
- package/app/models/link-open-event.js +25 -0
- package/app/models/link-open-event.js.map +1 -0
- package/app/models/link-reference-action.d.ts +43 -0
- package/app/models/link-reference-action.js +25 -0
- package/app/models/link-reference-action.js.map +1 -0
- package/app/models/link-reference-action.resources.d.ts +12 -0
- package/app/models/link-reference-action.resources.js +13 -0
- package/app/models/link-reference-action.resources.js.map +1 -0
- package/app/models/link-reference-author.d.ts +35 -0
- package/app/models/link-reference-author.js +16 -0
- package/app/models/link-reference-author.js.map +1 -0
- package/app/models/link-reference-color.d.ts +30 -0
- package/app/models/link-reference-color.js +25 -0
- package/app/models/link-reference-color.js.map +1 -0
- package/app/models/link-reference-color.resources.d.ts +11 -0
- package/app/models/link-reference-color.resources.js +12 -0
- package/app/models/link-reference-color.resources.js.map +1 -0
- package/app/models/link-reference-detail.d.ts +35 -0
- package/app/models/link-reference-detail.js +22 -0
- package/app/models/link-reference-detail.js.map +1 -0
- package/app/models/link-reference-detail.resources.d.ts +11 -0
- package/app/models/link-reference-detail.resources.js +12 -0
- package/app/models/link-reference-detail.resources.js.map +1 -0
- package/app/models/link-reference-diff.d.ts +40 -0
- package/app/models/link-reference-diff.js +18 -0
- package/app/models/link-reference-diff.js.map +1 -0
- package/app/models/link-reference-image.d.ts +38 -0
- package/app/models/link-reference-image.js +16 -0
- package/app/models/link-reference-image.js.map +1 -0
- package/app/models/link-reference-match.d.ts +41 -0
- package/app/models/link-reference-match.js +18 -0
- package/app/models/link-reference-match.js.map +1 -0
- package/app/models/link-reference-state.d.ts +43 -0
- package/app/models/link-reference-state.js +18 -0
- package/app/models/link-reference-state.js.map +1 -0
- package/app/models/link-reference-status.d.ts +46 -0
- package/app/models/link-reference-status.js +23 -0
- package/app/models/link-reference-status.js.map +1 -0
- package/app/models/link-reference-status.resources.d.ts +10 -0
- package/app/models/link-reference-status.resources.js +11 -0
- package/app/models/link-reference-status.resources.js.map +1 -0
- package/app/models/link-reference-tone.d.ts +35 -0
- package/app/models/link-reference-tone.js +23 -0
- package/app/models/link-reference-tone.js.map +1 -0
- package/app/models/link-reference-tone.resources.d.ts +11 -0
- package/app/models/link-reference-tone.resources.js +12 -0
- package/app/models/link-reference-tone.resources.js.map +1 -0
- package/app/models/link-reference-work-item-state.d.ts +37 -0
- package/app/models/link-reference-work-item-state.js +21 -0
- package/app/models/link-reference-work-item-state.js.map +1 -0
- package/app/models/link-reference-work-item-state.resources.d.ts +10 -0
- package/app/models/link-reference-work-item-state.resources.js +11 -0
- package/app/models/link-reference-work-item-state.resources.js.map +1 -0
- package/app/models/link-reference.d.ts +161 -0
- package/app/models/link-reference.js +93 -0
- package/app/models/link-reference.js.map +1 -0
- package/app/models/link-reference.resources.d.ts +32 -0
- package/app/models/link-reference.resources.js +37 -0
- package/app/models/link-reference.resources.js.map +1 -0
- package/app/models/listened-events.d.ts +15 -0
- package/app/models/listened-events.js +24 -0
- package/app/models/listened-events.js.map +1 -0
- package/app/models/load-once.d.ts +19 -0
- package/app/models/load-once.js +37 -0
- package/app/models/load-once.js.map +1 -0
- package/app/models/markdown-fence.d.ts +14 -0
- package/app/models/markdown-fence.js +29 -0
- package/app/models/markdown-fence.js.map +1 -0
- package/app/models/markdown-fence.resources.d.ts +10 -0
- package/app/models/markdown-fence.resources.js +11 -0
- package/app/models/markdown-fence.resources.js.map +1 -0
- package/app/models/markdown-file-paths.d.ts +15 -0
- package/app/models/markdown-file-paths.js +25 -0
- package/app/models/markdown-file-paths.js.map +1 -0
- package/app/models/markdown-frame.d.ts +29 -0
- package/app/models/markdown-frame.js +104 -0
- package/app/models/markdown-frame.js.map +1 -0
- package/app/models/markdown-frame.resources.d.ts +16 -0
- package/app/models/markdown-frame.resources.js +17 -0
- package/app/models/markdown-frame.resources.js.map +1 -0
- package/app/models/markdown-images.d.ts +14 -0
- package/app/models/markdown-images.js +18 -0
- package/app/models/markdown-images.js.map +1 -0
- package/app/models/markdown-link-schemes.d.ts +63 -0
- package/app/models/markdown-link-schemes.js +31 -0
- package/app/models/markdown-link-schemes.js.map +1 -0
- package/app/models/markdown-link-schemes.resources.d.ts +15 -0
- package/app/models/markdown-link-schemes.resources.js +23 -0
- package/app/models/markdown-link-schemes.resources.js.map +1 -0
- package/app/models/markdown-link.d.ts +19 -0
- package/app/models/markdown-link.js +60 -0
- package/app/models/markdown-link.js.map +1 -0
- package/app/models/markdown-link.resources.d.ts +20 -0
- package/app/models/markdown-link.resources.js +21 -0
- package/app/models/markdown-link.resources.js.map +1 -0
- package/app/models/markdown-math.d.ts +17 -0
- package/app/models/markdown-math.js +89 -0
- package/app/models/markdown-math.js.map +1 -0
- package/app/models/markdown-math.resources.d.ts +18 -0
- package/app/models/markdown-math.resources.js +20 -0
- package/app/models/markdown-math.resources.js.map +1 -0
- package/app/models/markdown-mention-part.d.ts +13 -0
- package/app/models/markdown-mention-part.js +16 -0
- package/app/models/markdown-mention-part.js.map +1 -0
- package/app/models/markdown-mentions.d.ts +22 -0
- package/app/models/markdown-mentions.js +47 -0
- package/app/models/markdown-mentions.js.map +1 -0
- package/app/models/markdown-open-list.d.ts +32 -0
- package/app/models/markdown-open-list.js +88 -0
- package/app/models/markdown-open-list.js.map +1 -0
- package/app/models/markdown-open-list.resources.d.ts +12 -0
- package/app/models/markdown-open-list.resources.js +13 -0
- package/app/models/markdown-open-list.resources.js.map +1 -0
- package/app/models/markdown-open-paragraph.d.ts +31 -0
- package/app/models/markdown-open-paragraph.js +74 -0
- package/app/models/markdown-open-paragraph.js.map +1 -0
- package/app/models/markdown-open-paragraph.resources.d.ts +11 -0
- package/app/models/markdown-open-paragraph.resources.js +12 -0
- package/app/models/markdown-open-paragraph.resources.js.map +1 -0
- package/app/models/markdown-reader.resources.d.ts +14 -0
- package/app/models/markdown-reader.resources.js +15 -0
- package/app/models/markdown-reader.resources.js.map +1 -0
- package/app/models/markdown-reveal.d.ts +32 -0
- package/app/models/markdown-reveal.js +106 -0
- package/app/models/markdown-reveal.js.map +1 -0
- package/app/models/markdown-reveal.resources.d.ts +10 -0
- package/app/models/markdown-reveal.resources.js +11 -0
- package/app/models/markdown-reveal.resources.js.map +1 -0
- package/app/models/markdown-runs.d.ts +12 -0
- package/app/models/markdown-runs.js +23 -0
- package/app/models/markdown-runs.js.map +1 -0
- package/app/models/markdown-shell-runner.d.ts +16 -0
- package/app/models/markdown-shell-runner.js +21 -0
- package/app/models/markdown-shell-runner.js.map +1 -0
- package/app/models/markdown-tail.d.ts +25 -0
- package/app/models/markdown-tail.js +171 -0
- package/app/models/markdown-tail.js.map +1 -0
- package/app/models/markdown-tail.resources.d.ts +30 -0
- package/app/models/markdown-tail.resources.js +31 -0
- package/app/models/markdown-tail.resources.js.map +1 -0
- package/app/models/markdown-text-references.d.ts +28 -0
- package/app/models/markdown-text-references.js +179 -0
- package/app/models/markdown-text-references.js.map +1 -0
- package/app/models/markdown-text-references.resources.d.ts +16 -0
- package/app/models/markdown-text-references.resources.js +24 -0
- package/app/models/markdown-text-references.resources.js.map +1 -0
- package/app/models/markdown-tree.d.ts +19 -0
- package/app/models/markdown-tree.js +83 -0
- package/app/models/markdown-tree.js.map +1 -0
- package/app/models/markdown-tree.resources.d.ts +18 -0
- package/app/models/markdown-tree.resources.js +30 -0
- package/app/models/markdown-tree.resources.js.map +1 -0
- package/app/models/markdown-view-tokens.d.ts +26 -0
- package/app/models/markdown-view-tokens.js +24 -0
- package/app/models/markdown-view-tokens.js.map +1 -0
- package/app/models/markdown-view-tokens.resources.d.ts +19 -0
- package/app/models/markdown-view-tokens.resources.js +20 -0
- package/app/models/markdown-view-tokens.resources.js.map +1 -0
- package/app/models/markdown.node.d.ts +30 -0
- package/app/models/markdown.node.js +67 -0
- package/app/models/markdown.node.js.map +1 -0
- package/app/models/markdown.reader.d.ts +46 -0
- package/app/models/markdown.reader.js +190 -0
- package/app/models/markdown.reader.js.map +1 -0
- package/app/models/mention-backdrop.d.ts +24 -0
- package/app/models/mention-backdrop.js +94 -0
- package/app/models/mention-backdrop.js.map +1 -0
- package/app/models/mention-backdrop.resources.d.ts +20 -0
- package/app/models/mention-backdrop.resources.js +24 -0
- package/app/models/mention-backdrop.resources.js.map +1 -0
- package/app/models/mention-candidate.d.ts +83 -0
- package/app/models/mention-candidate.js +43 -0
- package/app/models/mention-candidate.js.map +1 -0
- package/app/models/mention-candidate.resources.d.ts +13 -0
- package/app/models/mention-candidate.resources.js +16 -0
- package/app/models/mention-candidate.resources.js.map +1 -0
- package/app/models/mention-chip.d.ts +50 -0
- package/app/models/mention-chip.js +29 -0
- package/app/models/mention-chip.js.map +1 -0
- package/app/models/mention-chip.resources.d.ts +14 -0
- package/app/models/mention-chip.resources.js +19 -0
- package/app/models/mention-chip.resources.js.map +1 -0
- package/app/models/mention-chips.d.ts +16 -0
- package/app/models/mention-chips.js +51 -0
- package/app/models/mention-chips.js.map +1 -0
- package/app/models/mention-code-span.d.ts +17 -0
- package/app/models/mention-code-span.js +73 -0
- package/app/models/mention-code-span.js.map +1 -0
- package/app/models/mention-code-span.resources.d.ts +14 -0
- package/app/models/mention-code-span.resources.js +17 -0
- package/app/models/mention-code-span.resources.js.map +1 -0
- package/app/models/mention-completion.d.ts +17 -0
- package/app/models/mention-completion.js +41 -0
- package/app/models/mention-completion.js.map +1 -0
- package/app/models/mention-completion.resources.d.ts +11 -0
- package/app/models/mention-completion.resources.js +12 -0
- package/app/models/mention-completion.resources.js.map +1 -0
- package/app/models/mention-finder.d.ts +18 -0
- package/app/models/mention-finder.js +81 -0
- package/app/models/mention-finder.js.map +1 -0
- package/app/models/mention-finder.resources.d.ts +15 -0
- package/app/models/mention-finder.resources.js +16 -0
- package/app/models/mention-finder.resources.js.map +1 -0
- package/app/models/mention-overlay.d.ts +17 -0
- package/app/models/mention-overlay.js +18 -0
- package/app/models/mention-overlay.js.map +1 -0
- package/app/models/mention-row.d.ts +15 -0
- package/app/models/mention-row.js +20 -0
- package/app/models/mention-row.js.map +1 -0
- package/app/models/mention-span.d.ts +14 -0
- package/app/models/mention-span.js +18 -0
- package/app/models/mention-span.js.map +1 -0
- package/app/models/mention-value.d.ts +68 -0
- package/app/models/mention-value.js +85 -0
- package/app/models/mention-value.js.map +1 -0
- package/app/models/mention-value.resources.d.ts +14 -0
- package/app/models/mention-value.resources.js +20 -0
- package/app/models/mention-value.resources.js.map +1 -0
- package/app/models/message-attachment-picture.d.ts +47 -0
- package/app/models/message-attachment-picture.js +28 -0
- package/app/models/message-attachment-picture.js.map +1 -0
- package/app/models/message-attachment-picture.resources.d.ts +13 -0
- package/app/models/message-attachment-picture.resources.js +16 -0
- package/app/models/message-attachment-picture.resources.js.map +1 -0
- package/app/models/message-attachment.d.ts +90 -0
- package/app/models/message-attachment.js +33 -0
- package/app/models/message-attachment.js.map +1 -0
- package/app/models/message-author.d.ts +74 -0
- package/app/models/message-author.js +34 -0
- package/app/models/message-author.js.map +1 -0
- package/app/models/message-author.resources.d.ts +10 -0
- package/app/models/message-author.resources.js +11 -0
- package/app/models/message-author.resources.js.map +1 -0
- package/app/models/message-block.d.ts +23 -0
- package/app/models/message-block.js +10 -0
- package/app/models/message-block.js.map +1 -0
- package/app/models/message-code.d.ts +45 -0
- package/app/models/message-code.js +28 -0
- package/app/models/message-code.js.map +1 -0
- package/app/models/message-code.resources.d.ts +11 -0
- package/app/models/message-code.resources.js +12 -0
- package/app/models/message-code.resources.js.map +1 -0
- package/app/models/message-menu-request.d.ts +64 -0
- package/app/models/message-menu-request.js +22 -0
- package/app/models/message-menu-request.js.map +1 -0
- package/app/models/message-part.d.ts +15 -0
- package/app/models/message-part.js +43 -0
- package/app/models/message-part.js.map +1 -0
- package/app/models/message-part.resources.d.ts +14 -0
- package/app/models/message-part.resources.js +19 -0
- package/app/models/message-part.resources.js.map +1 -0
- package/app/models/message-slot.d.ts +41 -0
- package/app/models/message-slot.js +20 -0
- package/app/models/message-slot.js.map +1 -0
- package/app/models/message-text.d.ts +42 -0
- package/app/models/message-text.js +20 -0
- package/app/models/message-text.js.map +1 -0
- package/app/models/message-time-step.d.ts +13 -0
- package/app/models/message-time-step.js +18 -0
- package/app/models/message-time-step.js.map +1 -0
- package/app/models/message-time.d.ts +22 -0
- package/app/models/message-time.js +52 -0
- package/app/models/message-time.js.map +1 -0
- package/app/models/message-time.resources.d.ts +11 -0
- package/app/models/message-time.resources.js +19 -0
- package/app/models/message-time.resources.js.map +1 -0
- package/app/models/overlay-anchoring.d.ts +73 -0
- package/app/models/overlay-anchoring.js +22 -0
- package/app/models/overlay-anchoring.js.map +1 -0
- package/app/models/overlay-bounds.d.ts +106 -0
- package/app/models/overlay-bounds.js +69 -0
- package/app/models/overlay-bounds.js.map +1 -0
- package/app/models/overlay-bounds.resources.d.ts +11 -0
- package/app/models/overlay-bounds.resources.js +16 -0
- package/app/models/overlay-bounds.resources.js.map +1 -0
- package/app/models/overlay-placement.d.ts +50 -0
- package/app/models/overlay-placement.js +20 -0
- package/app/models/overlay-placement.js.map +1 -0
- package/app/models/overlay-side.d.ts +47 -0
- package/app/models/overlay-side.js +25 -0
- package/app/models/overlay-side.js.map +1 -0
- package/app/models/permission-decision.d.ts +41 -0
- package/app/models/permission-decision.js +21 -0
- package/app/models/permission-decision.js.map +1 -0
- package/app/models/permission-option.d.ts +76 -0
- package/app/models/permission-option.js +41 -0
- package/app/models/permission-option.js.map +1 -0
- package/app/models/permission-option.resources.d.ts +10 -0
- package/app/models/permission-option.resources.js +11 -0
- package/app/models/permission-option.resources.js.map +1 -0
- package/app/models/permission-request.d.ts +112 -0
- package/app/models/permission-request.js +82 -0
- package/app/models/permission-request.js.map +1 -0
- package/app/models/permission-request.resources.d.ts +14 -0
- package/app/models/permission-request.resources.js +19 -0
- package/app/models/permission-request.resources.js.map +1 -0
- package/app/models/permission-requester.d.ts +36 -0
- package/app/models/permission-requester.js +19 -0
- package/app/models/permission-requester.js.map +1 -0
- package/app/models/plan-step.d.ts +45 -0
- package/app/models/plan-step.js +23 -0
- package/app/models/plan-step.js.map +1 -0
- package/app/models/plan.d.ts +45 -0
- package/app/models/plan.js +23 -0
- package/app/models/plan.js.map +1 -0
- package/app/models/plan.resources.d.ts +10 -0
- package/app/models/plan.resources.js +11 -0
- package/app/models/plan.resources.js.map +1 -0
- package/app/models/pointer-grace-area.d.ts +16 -0
- package/app/models/pointer-grace-area.js +47 -0
- package/app/models/pointer-grace-area.js.map +1 -0
- package/app/models/query-matcher.d.ts +41 -0
- package/app/models/query-matcher.js +21 -0
- package/app/models/query-matcher.js.map +1 -0
- package/app/models/query-matcher.resources.d.ts +10 -0
- package/app/models/query-matcher.resources.js +11 -0
- package/app/models/query-matcher.resources.js.map +1 -0
- package/app/models/quick-input-group.d.ts +14 -0
- package/app/models/quick-input-group.js +18 -0
- package/app/models/quick-input-group.js.map +1 -0
- package/app/models/quick-input-item.d.ts +116 -0
- package/app/models/quick-input-item.js +61 -0
- package/app/models/quick-input-item.js.map +1 -0
- package/app/models/rendered-text.d.ts +54 -0
- package/app/models/rendered-text.js +320 -0
- package/app/models/rendered-text.js.map +1 -0
- package/app/models/rendered-text.resources.d.ts +14 -0
- package/app/models/rendered-text.resources.js +15 -0
- package/app/models/rendered-text.resources.js.map +1 -0
- package/app/models/scroll-end-follower.d.ts +63 -0
- package/app/models/scroll-end-follower.js +34 -0
- package/app/models/scroll-end-follower.js.map +1 -0
- package/app/models/select-group.d.ts +51 -0
- package/app/models/select-group.js +16 -0
- package/app/models/select-group.js.map +1 -0
- package/app/models/select-option.d.ts +69 -0
- package/app/models/select-option.js +20 -0
- package/app/models/select-option.js.map +1 -0
- package/app/models/select-section.d.ts +14 -0
- package/app/models/select-section.js +18 -0
- package/app/models/select-section.js.map +1 -0
- package/app/models/shell-run-blocks.d.ts +22 -0
- package/app/models/shell-run-blocks.js +40 -0
- package/app/models/shell-run-blocks.js.map +1 -0
- package/app/models/shell-run.d.ts +61 -0
- package/app/models/shell-run.js +24 -0
- package/app/models/shell-run.js.map +1 -0
- package/app/models/shell-run.resources.d.ts +12 -0
- package/app/models/shell-run.resources.js +15 -0
- package/app/models/shell-run.resources.js.map +1 -0
- package/app/models/tab-marker.d.ts +36 -0
- package/app/models/tab-marker.js +16 -0
- package/app/models/tab-marker.js.map +1 -0
- package/app/models/tab-status.d.ts +41 -0
- package/app/models/tab-status.js +19 -0
- package/app/models/tab-status.js.map +1 -0
- package/app/models/terminal-output-color.d.ts +22 -0
- package/app/models/terminal-output-color.js +67 -0
- package/app/models/terminal-output-color.js.map +1 -0
- package/app/models/terminal-output-color.resources.d.ts +11 -0
- package/app/models/terminal-output-color.resources.js +12 -0
- package/app/models/terminal-output-color.resources.js.map +1 -0
- package/app/models/terminal-output-line.d.ts +49 -0
- package/app/models/terminal-output-line.js +24 -0
- package/app/models/terminal-output-line.js.map +1 -0
- package/app/models/terminal-output-line.resources.d.ts +11 -0
- package/app/models/terminal-output-line.resources.js +14 -0
- package/app/models/terminal-output-line.resources.js.map +1 -0
- package/app/models/terminal-output-looks.d.ts +20 -0
- package/app/models/terminal-output-looks.js +95 -0
- package/app/models/terminal-output-looks.js.map +1 -0
- package/app/models/terminal-output-looks.resources.d.ts +21 -0
- package/app/models/terminal-output-looks.resources.js +22 -0
- package/app/models/terminal-output-looks.resources.js.map +1 -0
- package/app/models/terminal-output-palette.d.ts +16 -0
- package/app/models/terminal-output-palette.js +39 -0
- package/app/models/terminal-output-palette.js.map +1 -0
- package/app/models/terminal-output-run.d.ts +84 -0
- package/app/models/terminal-output-run.js +47 -0
- package/app/models/terminal-output-run.js.map +1 -0
- package/app/models/terminal-output-run.resources.d.ts +23 -0
- package/app/models/terminal-output-run.resources.js +32 -0
- package/app/models/terminal-output-run.resources.js.map +1 -0
- package/app/models/terminal-output-segment.d.ts +16 -0
- package/app/models/terminal-output-segment.js +35 -0
- package/app/models/terminal-output-segment.js.map +1 -0
- package/app/models/terminal-output-segment.resources.d.ts +10 -0
- package/app/models/terminal-output-segment.resources.js +11 -0
- package/app/models/terminal-output-segment.resources.js.map +1 -0
- package/app/models/text-cut.d.ts +15 -0
- package/app/models/text-cut.js +25 -0
- package/app/models/text-cut.js.map +1 -0
- package/app/models/text-cut.resources.d.ts +10 -0
- package/app/models/text-cut.resources.js +11 -0
- package/app/models/text-cut.resources.js.map +1 -0
- package/app/models/text-reveal.d.ts +102 -0
- package/app/models/text-reveal.js +65 -0
- package/app/models/text-reveal.js.map +1 -0
- package/app/models/text-reveal.resources.d.ts +13 -0
- package/app/models/text-reveal.resources.js +14 -0
- package/app/models/text-reveal.resources.js.map +1 -0
- package/app/models/theme.d.ts +99 -0
- package/app/models/theme.js +34 -0
- package/app/models/theme.js.map +1 -0
- package/app/models/time-format-tokens.d.ts +12 -0
- package/app/models/time-format-tokens.js +14 -0
- package/app/models/time-format-tokens.js.map +1 -0
- package/app/models/time-format-tokens.resources.d.ts +10 -0
- package/app/models/time-format-tokens.resources.js +11 -0
- package/app/models/time-format-tokens.resources.js.map +1 -0
- package/app/models/time-formats.d.ts +52 -0
- package/app/models/time-formats.js +17 -0
- package/app/models/time-formats.js.map +1 -0
- package/app/models/title-segment.d.ts +36 -0
- package/app/models/title-segment.js +16 -0
- package/app/models/title-segment.js.map +1 -0
- package/app/models/tool-call-field.d.ts +34 -0
- package/app/models/tool-call-field.js +18 -0
- package/app/models/tool-call-field.js.map +1 -0
- package/app/models/tool-call-input.d.ts +63 -0
- package/app/models/tool-call-input.js +35 -0
- package/app/models/tool-call-input.js.map +1 -0
- package/app/models/tool-call-input.resources.d.ts +11 -0
- package/app/models/tool-call-input.resources.js +14 -0
- package/app/models/tool-call-input.resources.js.map +1 -0
- package/app/models/tool-call-views.d.ts +122 -0
- package/app/models/tool-call-views.js +43 -0
- package/app/models/tool-call-views.js.map +1 -0
- package/app/models/tool-call-views.resources.d.ts +10 -0
- package/app/models/tool-call-views.resources.js +13 -0
- package/app/models/tool-call-views.resources.js.map +1 -0
- package/app/models/tool-call.d.ts +119 -0
- package/app/models/tool-call.js +77 -0
- package/app/models/tool-call.js.map +1 -0
- package/app/models/tool-call.resources.d.ts +12 -0
- package/app/models/tool-call.resources.js +15 -0
- package/app/models/tool-call.resources.js.map +1 -0
- package/app/models/tooltip-defaults.d.ts +14 -0
- package/app/models/tooltip-defaults.js +18 -0
- package/app/models/tooltip-defaults.js.map +1 -0
- package/app/models/tooltip-tokens.d.ts +11 -0
- package/app/models/tooltip-tokens.js +14 -0
- package/app/models/tooltip-tokens.js.map +1 -0
- package/app/models/tooltip-tokens.resources.d.ts +10 -0
- package/app/models/tooltip-tokens.resources.js +11 -0
- package/app/models/tooltip-tokens.resources.js.map +1 -0
- package/app/models/tree-drag-hooks.d.ts +18 -0
- package/app/models/tree-drag-hooks.js +24 -0
- package/app/models/tree-drag-hooks.js.map +1 -0
- package/app/models/tree-drop.d.ts +17 -0
- package/app/models/tree-drop.js +20 -0
- package/app/models/tree-drop.js.map +1 -0
- package/app/models/tree-ghost.d.ts +14 -0
- package/app/models/tree-ghost.js +20 -0
- package/app/models/tree-ghost.js.map +1 -0
- package/app/models/tree-line.d.ts +13 -0
- package/app/models/tree-line.js +18 -0
- package/app/models/tree-line.js.map +1 -0
- package/app/models/tree-move.d.ts +92 -0
- package/app/models/tree-move.js +36 -0
- package/app/models/tree-move.js.map +1 -0
- package/app/models/tree-move.resources.d.ts +10 -0
- package/app/models/tree-move.resources.js +13 -0
- package/app/models/tree-move.resources.js.map +1 -0
- package/app/models/tree-place.d.ts +18 -0
- package/app/models/tree-place.js +39 -0
- package/app/models/tree-place.js.map +1 -0
- package/app/models/tree-place.resources.d.ts +10 -0
- package/app/models/tree-place.resources.js +13 -0
- package/app/models/tree-place.resources.js.map +1 -0
- package/app/models/tree-plan.d.ts +18 -0
- package/app/models/tree-plan.js +50 -0
- package/app/models/tree-plan.js.map +1 -0
- package/app/models/tree-spot.d.ts +14 -0
- package/app/models/tree-spot.js +20 -0
- package/app/models/tree-spot.js.map +1 -0
- package/app/models/tree.node.d.ts +115 -0
- package/app/models/tree.node.js +37 -0
- package/app/models/tree.node.js.map +1 -0
- package/app/models/typography.d.ts +79 -0
- package/app/models/typography.js +36 -0
- package/app/models/typography.js.map +1 -0
- package/app/models/typography.resources.d.ts +12 -0
- package/app/models/typography.resources.js +13 -0
- package/app/models/typography.resources.js.map +1 -0
- package/app/models/virtual-list-anchor.d.ts +17 -0
- package/app/models/virtual-list-anchor.js +31 -0
- package/app/models/virtual-list-anchor.js.map +1 -0
- package/app/models/virtual-list-choice.d.ts +36 -0
- package/app/models/virtual-list-choice.js +16 -0
- package/app/models/virtual-list-choice.js.map +1 -0
- package/app/models/virtual-list-gap.d.ts +13 -0
- package/app/models/virtual-list-gap.js +18 -0
- package/app/models/virtual-list-gap.js.map +1 -0
- package/app/models/virtual-list-jump.d.ts +49 -0
- package/app/models/virtual-list-jump.js +24 -0
- package/app/models/virtual-list-jump.js.map +1 -0
- package/app/models/virtual-list-page-read.d.ts +14 -0
- package/app/models/virtual-list-page-read.js +19 -0
- package/app/models/virtual-list-page-read.js.map +1 -0
- package/app/models/virtual-list-position.d.ts +55 -0
- package/app/models/virtual-list-position.js +20 -0
- package/app/models/virtual-list-position.js.map +1 -0
- package/app/models/virtual-list-row.d.ts +22 -0
- package/app/models/virtual-list-row.js +34 -0
- package/app/models/virtual-list-row.js.map +1 -0
- package/app/models/virtual-list-row.resources.d.ts +11 -0
- package/app/models/virtual-list-row.resources.js +16 -0
- package/app/models/virtual-list-row.resources.js.map +1 -0
- package/app/models/virtual-list-source.d.ts +239 -0
- package/app/models/virtual-list-source.js +68 -0
- package/app/models/virtual-list-source.js.map +1 -0
- package/app/models/virtual-list-source.resources.d.ts +14 -0
- package/app/models/virtual-list-source.resources.js +23 -0
- package/app/models/virtual-list-source.resources.js.map +1 -0
- package/app/models/virtual-list-state.d.ts +17 -0
- package/app/models/virtual-list-state.js +20 -0
- package/app/models/virtual-list-state.js.map +1 -0
- package/app/models/virtual-range.d.ts +16 -0
- package/app/models/virtual-range.js +24 -0
- package/app/models/virtual-range.js.map +1 -0
- package/app/services/anchored-overlay.d.ts +259 -0
- package/app/services/anchored-overlay.js +192 -0
- package/app/services/anchored-overlay.js.map +1 -0
- package/app/services/anchored-overlay.resources.d.ts +11 -0
- package/app/services/anchored-overlay.resources.js +12 -0
- package/app/services/anchored-overlay.resources.js.map +1 -0
- package/app/services/announcer.d.ts +71 -0
- package/app/services/announcer.js +39 -0
- package/app/services/announcer.js.map +1 -0
- package/app/services/announcer.resources.d.ts +12 -0
- package/app/services/announcer.resources.js +15 -0
- package/app/services/announcer.resources.js.map +1 -0
- package/app/services/appearance.service.d.ts +132 -0
- package/app/services/appearance.service.js +78 -0
- package/app/services/appearance.service.js.map +1 -0
- package/app/services/busy-guard.d.ts +11 -0
- package/app/services/busy-guard.js +27 -0
- package/app/services/busy-guard.js.map +1 -0
- package/app/services/busy-guard.resources.d.ts +13 -0
- package/app/services/busy-guard.resources.js +14 -0
- package/app/services/busy-guard.resources.js.map +1 -0
- package/app/services/clipboard-writer.d.ts +55 -0
- package/app/services/clipboard-writer.js +13 -0
- package/app/services/clipboard-writer.js.map +1 -0
- package/app/services/clock-ticker.d.ts +22 -0
- package/app/services/clock-ticker.js +46 -0
- package/app/services/clock-ticker.js.map +1 -0
- package/app/services/code-highlighter.d.ts +43 -0
- package/app/services/code-highlighter.js +209 -0
- package/app/services/code-highlighter.js.map +1 -0
- package/app/services/code-highlighter.resources.d.ts +11 -0
- package/app/services/code-highlighter.resources.js +12 -0
- package/app/services/code-highlighter.resources.js.map +1 -0
- package/app/services/code-highlights.d.ts +13 -0
- package/app/services/code-highlights.js +79 -0
- package/app/services/code-highlights.js.map +1 -0
- package/app/services/code-highlights.resources.d.ts +10 -0
- package/app/services/code-highlights.resources.js +11 -0
- package/app/services/code-highlights.resources.js.map +1 -0
- package/app/services/dialog-service.resources.d.ts +25 -0
- package/app/services/dialog-service.resources.js +26 -0
- package/app/services/dialog-service.resources.js.map +1 -0
- package/app/services/dialog.service.d.ts +100 -0
- package/app/services/dialog.service.js +126 -0
- package/app/services/dialog.service.js.map +1 -0
- package/app/services/diff-highlights.d.ts +9 -0
- package/app/services/diff-highlights.js +47 -0
- package/app/services/diff-highlights.js.map +1 -0
- package/app/services/diff-highlights.resources.d.ts +12 -0
- package/app/services/diff-highlights.resources.js +16 -0
- package/app/services/diff-highlights.resources.js.map +1 -0
- package/app/services/dom-element-widths.d.ts +13 -0
- package/app/services/dom-element-widths.js +19 -0
- package/app/services/dom-element-widths.js.map +1 -0
- package/app/services/duration-formatter.d.ts +17 -0
- package/app/services/duration-formatter.js +43 -0
- package/app/services/duration-formatter.js.map +1 -0
- package/app/services/element-directionality.d.ts +14 -0
- package/app/services/element-directionality.js +20 -0
- package/app/services/element-directionality.js.map +1 -0
- package/app/services/markdown-math-renderer.resources.d.ts +12 -0
- package/app/services/markdown-math-renderer.resources.js +13 -0
- package/app/services/markdown-math-renderer.resources.js.map +1 -0
- package/app/services/markdown-math.renderer.d.ts +16 -0
- package/app/services/markdown-math.renderer.js +61 -0
- package/app/services/markdown-math.renderer.js.map +1 -0
- package/app/services/markdown-parser.resources.d.ts +26 -0
- package/app/services/markdown-parser.resources.js +27 -0
- package/app/services/markdown-parser.resources.js.map +1 -0
- package/app/services/markdown.parser.d.ts +16 -0
- package/app/services/markdown.parser.js +90 -0
- package/app/services/markdown.parser.js.map +1 -0
- package/app/services/measured-scrollbar-gutters.d.ts +15 -0
- package/app/services/measured-scrollbar-gutters.js +27 -0
- package/app/services/measured-scrollbar-gutters.js.map +1 -0
- package/app/services/measured-scrollbar-gutters.resources.d.ts +10 -0
- package/app/services/measured-scrollbar-gutters.resources.js +11 -0
- package/app/services/measured-scrollbar-gutters.resources.js.map +1 -0
- package/app/services/midnight-ticker.d.ts +23 -0
- package/app/services/midnight-ticker.js +55 -0
- package/app/services/midnight-ticker.js.map +1 -0
- package/app/services/midnight-ticker.resources.d.ts +10 -0
- package/app/services/midnight-ticker.resources.js +11 -0
- package/app/services/midnight-ticker.resources.js.map +1 -0
- package/app/services/overlay-bounds-service.resources.d.ts +17 -0
- package/app/services/overlay-bounds-service.resources.js +18 -0
- package/app/services/overlay-bounds-service.resources.js.map +1 -0
- package/app/services/overlay-bounds.service.d.ts +59 -0
- package/app/services/overlay-bounds.service.js +86 -0
- package/app/services/overlay-bounds.service.js.map +1 -0
- package/app/services/pending-permissions.d.ts +8 -0
- package/app/services/pending-permissions.js +32 -0
- package/app/services/pending-permissions.js.map +1 -0
- package/app/services/pointer-drag.d.ts +82 -0
- package/app/services/pointer-drag.js +72 -0
- package/app/services/pointer-drag.js.map +1 -0
- package/app/services/pointer-drag.resources.d.ts +13 -0
- package/app/services/pointer-drag.resources.js +14 -0
- package/app/services/pointer-drag.resources.js.map +1 -0
- package/app/services/provide-code-highlighting-worker.d.ts +47 -0
- package/app/services/provide-code-highlighting-worker.js +13 -0
- package/app/services/provide-code-highlighting-worker.js.map +1 -0
- package/app/services/provide-code-highlighting.d.ts +43 -0
- package/app/services/provide-code-highlighting.js +18 -0
- package/app/services/provide-code-highlighting.js.map +1 -0
- package/app/services/provide-markdown.d.ts +36 -0
- package/app/services/provide-markdown.js +14 -0
- package/app/services/provide-markdown.js.map +1 -0
- package/app/services/provide-time-formats.d.ts +52 -0
- package/app/services/provide-time-formats.js +13 -0
- package/app/services/provide-time-formats.js.map +1 -0
- package/app/services/scroll-reveal.resources.d.ts +11 -0
- package/app/services/scroll-reveal.resources.js +12 -0
- package/app/services/scroll-reveal.resources.js.map +1 -0
- package/app/services/scroll-reveal.service.d.ts +11 -0
- package/app/services/scroll-reveal.service.js +48 -0
- package/app/services/scroll-reveal.service.js.map +1 -0
- package/app/services/serve-code-highlighting.d.ts +31 -0
- package/app/services/serve-code-highlighting.js +6 -0
- package/app/services/serve-code-highlighting.js.map +1 -0
- package/app/services/shared-clock.d.ts +13 -0
- package/app/services/shared-clock.js +39 -0
- package/app/services/shared-clock.js.map +1 -0
- package/app/services/system-time-source.d.ts +16 -0
- package/app/services/system-time-source.js +35 -0
- package/app/services/system-time-source.js.map +1 -0
- package/app/services/system-time-source.resources.d.ts +10 -0
- package/app/services/system-time-source.resources.js +11 -0
- package/app/services/system-time-source.resources.js.map +1 -0
- package/app/services/theme-painter.d.ts +80 -0
- package/app/services/theme-painter.js +47 -0
- package/app/services/theme-painter.js.map +1 -0
- package/app/services/theme-painter.resources.d.ts +11 -0
- package/app/services/theme-painter.resources.js +12 -0
- package/app/services/theme-painter.resources.js.map +1 -0
- package/app/services/tooltip-pace.d.ts +15 -0
- package/app/services/tooltip-pace.js +53 -0
- package/app/services/tooltip-pace.js.map +1 -0
- package/app/services/tooltip-pace.resources.d.ts +10 -0
- package/app/services/tooltip-pace.resources.js +11 -0
- package/app/services/tooltip-pace.resources.js.map +1 -0
- package/app/services/tree-drag-session.d.ts +64 -0
- package/app/services/tree-drag-session.js +218 -0
- package/app/services/tree-drag-session.js.map +1 -0
- package/app/services/tree-drag-session.resources.d.ts +17 -0
- package/app/services/tree-drag-session.resources.js +18 -0
- package/app/services/tree-drag-session.resources.js.map +1 -0
- package/app/services/typography-painter.d.ts +65 -0
- package/app/services/typography-painter.js +37 -0
- package/app/services/typography-painter.js.map +1 -0
- package/app/services/typography-painter.resources.d.ts +15 -0
- package/app/services/typography-painter.resources.js +16 -0
- package/app/services/typography-painter.resources.js.map +1 -0
- package/app/services/virtual-list-cache.d.ts +52 -0
- package/app/services/virtual-list-cache.js +212 -0
- package/app/services/virtual-list-cache.js.map +1 -0
- package/app/services/virtual-list-cache.resources.d.ts +13 -0
- package/app/services/virtual-list-cache.resources.js +16 -0
- package/app/services/virtual-list-cache.resources.js.map +1 -0
- package/fonts/INCONSOLATA-OFL.txt +93 -0
- package/fonts/INTER-OFL.txt +92 -0
- package/fonts/noldova-mono-medium.woff2 +0 -0
- package/fonts/noldova-mono-semibold.woff2 +0 -0
- package/fonts/noldova-mono.woff2 +0 -0
- package/fonts/noldova-sans-italic.woff2 +0 -0
- package/fonts/noldova-sans-medium-italic.woff2 +0 -0
- package/fonts/noldova-sans-medium.woff2 +0 -0
- package/fonts/noldova-sans-semibold-italic.woff2 +0 -0
- package/fonts/noldova-sans-semibold.woff2 +0 -0
- package/fonts/noldova-sans.woff2 +0 -0
- package/package.json +72 -3
- package/resources.d.ts +181 -0
- package/resources.js +568 -0
- package/resources.js.map +1 -0
- package/styles/base.css +104 -0
- package/styles/drop-line.css +73 -0
- package/styles/fonts.css +79 -0
- package/styles/kit.css +20 -0
- package/styles/mention-field.css +84 -0
- package/styles/overlays.css +38 -0
- package/styles/popover.css +32 -0
- package/styles/scroll.css +67 -0
- package/styles/status.css +16 -0
- package/styles/terminal.css +34 -0
- package/styles/theme.css +595 -0
- package/testing/kit-test-providers.d.ts +25 -0
- package/testing/kit-test-providers.js +16 -0
- package/testing/kit-test-providers.js.map +1 -0
- package/testing/models/code-highlighting-fixture.d.ts +66 -0
- package/testing/models/code-highlighting-fixture.js +25 -0
- package/testing/models/code-highlighting-fixture.js.map +1 -0
- package/testing/models/fixture-theme.d.ts +40 -0
- package/testing/models/fixture-theme.js +457 -0
- package/testing/models/fixture-theme.js.map +1 -0
- package/testing/models/tooltip-fixture.d.ts +31 -0
- package/testing/models/tooltip-fixture.js +12 -0
- package/testing/models/tooltip-fixture.js.map +1 -0
- package/testing/services/appearance-fixture.d.ts +255 -0
- package/testing/services/appearance-fixture.js +129 -0
- package/testing/services/appearance-fixture.js.map +1 -0
- package/testing/services/browser-matchers-fixture.d.ts +38 -0
- package/testing/services/browser-matchers-fixture.js +25 -0
- package/testing/services/browser-matchers-fixture.js.map +1 -0
- package/testing/services/clipboard-writer-fixture.d.ts +61 -0
- package/testing/services/clipboard-writer-fixture.js +29 -0
- package/testing/services/clipboard-writer-fixture.js.map +1 -0
- package/testing/services/kit-stylesheet-fixture.d.ts +64 -0
- package/testing/services/kit-stylesheet-fixture.js +98 -0
- package/testing/services/kit-stylesheet-fixture.js.map +1 -0
- package/testing/services/markdown-fixture.d.ts +34 -0
- package/testing/services/markdown-fixture.js +25 -0
- package/testing/services/markdown-fixture.js.map +1 -0
- package/testing/services/pointer-fixture.d.ts +30 -0
- package/testing/services/pointer-fixture.js +25 -0
- package/testing/services/pointer-fixture.js.map +1 -0
- package/testing/services/throwing-error-handler.d.ts +29 -0
- package/testing/services/throwing-error-handler.js +14 -0
- package/testing/services/throwing-error-handler.js.map +1 -0
|
@@ -0,0 +1,1002 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
9
|
+
import { Component, DOCUMENT, DestroyRef, afterEveryRender, afterNextRender, computed, contentChild, effect, inject, input, output, signal, untracked, viewChild, viewChildren } from "@angular/core";
|
|
10
|
+
import "@noldova/context.core";
|
|
11
|
+
import { Resources } from "../../../resources.js";
|
|
12
|
+
import { AnnouncementPoliteness } from "../../enums/announcement-politeness.js";
|
|
13
|
+
import { ButtonVariant } from "../../enums/button-variant.js";
|
|
14
|
+
import { VirtualListAlign } from "../../enums/virtual-list-align.js";
|
|
15
|
+
import { VirtualListEdge } from "../../enums/virtual-list-edge.js";
|
|
16
|
+
import { VirtualListKind } from "../../enums/virtual-list-kind.js";
|
|
17
|
+
import { ClockTokens } from "../../models/clock-tokens.js";
|
|
18
|
+
import { VirtualListAnchor } from "../../models/virtual-list-anchor.js";
|
|
19
|
+
import { VirtualListChoice } from "../../models/virtual-list-choice.js";
|
|
20
|
+
import { VirtualListGap } from "../../models/virtual-list-gap.js";
|
|
21
|
+
import { VirtualListJump } from "../../models/virtual-list-jump.js";
|
|
22
|
+
import { VirtualListPosition } from "../../models/virtual-list-position.js";
|
|
23
|
+
import { VirtualListRow } from "../../models/virtual-list-row.js";
|
|
24
|
+
import { VirtualListState } from "../../models/virtual-list-state.js";
|
|
25
|
+
import { Announcer } from "../../services/announcer.js";
|
|
26
|
+
import { ButtonComponent } from "../button/button.component.js";
|
|
27
|
+
import { FieldMessageComponent } from "../field-message/field-message.component.js";
|
|
28
|
+
import { IconButtonComponent } from "../icon-button/icon-button.component.js";
|
|
29
|
+
import { TooltipDirective } from "../tooltip/tooltip.directive.js";
|
|
30
|
+
import { VirtualListResources } from "./virtual-list.resources.js";
|
|
31
|
+
import { VirtualRowDirective } from "./virtual-row.directive.js";
|
|
32
|
+
import * as i0 from "@angular/core";
|
|
33
|
+
export class VirtualListComponent {
|
|
34
|
+
static count = 0;
|
|
35
|
+
id = `${VirtualListResources.virtualListIdPrefix}${VirtualListComponent.count++}`;
|
|
36
|
+
document = inject(DOCUMENT);
|
|
37
|
+
announcer = inject(Announcer);
|
|
38
|
+
timeSource = inject(ClockTokens.timeSource);
|
|
39
|
+
viewport = viewChild.required("viewport", /* @ts-ignore */
|
|
40
|
+
...(ngDevMode ? [{ debugName: "viewport" }] : /* istanbul ignore next */ []));
|
|
41
|
+
list = viewChild.required("list", /* @ts-ignore */
|
|
42
|
+
...(ngDevMode ? [{ debugName: "list" }] : /* istanbul ignore next */ []));
|
|
43
|
+
slots = viewChildren("slot", /* @ts-ignore */
|
|
44
|
+
...(ngDevMode ? [{ debugName: "slots" }] : /* istanbul ignore next */ []));
|
|
45
|
+
observer = new ResizeObserver(t => this.measure(t));
|
|
46
|
+
checker = new ResizeObserver(() => this.keepClamp(this.viewport().nativeElement));
|
|
47
|
+
observed = new Set();
|
|
48
|
+
reserved = new WeakSet();
|
|
49
|
+
follower = {
|
|
50
|
+
onInserted: (at, count) => this.inserted(at, count),
|
|
51
|
+
onRemoved: (at, count) => this.removed(at, count),
|
|
52
|
+
onUpdated: () => this.updated()
|
|
53
|
+
};
|
|
54
|
+
layout = signal(0, /* @ts-ignore */
|
|
55
|
+
...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
|
|
56
|
+
scrollTop = signal(0, /* @ts-ignore */
|
|
57
|
+
...(ngDevMode ? [{ debugName: "scrollTop" }] : /* istanbul ignore next */ []));
|
|
58
|
+
viewHeight = signal(0, /* @ts-ignore */
|
|
59
|
+
...(ngDevMode ? [{ debugName: "viewHeight" }] : /* istanbul ignore next */ []));
|
|
60
|
+
focusIndex = signal(null, /* @ts-ignore */
|
|
61
|
+
...(ngDevMode ? [{ debugName: "focusIndex" }] : /* istanbul ignore next */ []));
|
|
62
|
+
partIndex = signal(null, /* @ts-ignore */
|
|
63
|
+
...(ngDevMode ? [{ debugName: "partIndex" }] : /* istanbul ignore next */ []));
|
|
64
|
+
isFocused = signal(false, /* @ts-ignore */
|
|
65
|
+
...(ngDevMode ? [{ debugName: "isFocused" }] : /* istanbul ignore next */ []));
|
|
66
|
+
isFailing = computed(() => this.gap()?.isFailed === true, /* @ts-ignore */
|
|
67
|
+
...(ngDevMode ? [{ debugName: "isFailing" }] : /* istanbul ignore next */ []));
|
|
68
|
+
isFocusWaiting = computed(() => {
|
|
69
|
+
const { cache } = this.state();
|
|
70
|
+
cache.revision();
|
|
71
|
+
const focus = this.focusIndex();
|
|
72
|
+
return this.isFocused() && !Object.isNull(focus) && Object.isUndefined(cache.itemAt(focus)) && cache.isSlow(focus);
|
|
73
|
+
}, /* @ts-ignore */
|
|
74
|
+
...(ngDevMode ? [{ debugName: "isFocusWaiting" }] : /* istanbul ignore next */ []));
|
|
75
|
+
hides = computed(() => this.isFeed() ? this.rowTemplate().hidden() : () => false, /* @ts-ignore */
|
|
76
|
+
...(ngDevMode ? [{ debugName: "hides" }] : /* istanbul ignore next */ []));
|
|
77
|
+
anchor = new VirtualListAnchor(0, 0);
|
|
78
|
+
clicked = null;
|
|
79
|
+
clickedUntil = 0;
|
|
80
|
+
isClickStopped = false;
|
|
81
|
+
isPlaced = false;
|
|
82
|
+
latestDistance = 0;
|
|
83
|
+
pendingTop = null;
|
|
84
|
+
part = null;
|
|
85
|
+
partGap = 0;
|
|
86
|
+
align = null;
|
|
87
|
+
domTop = 0;
|
|
88
|
+
toldFollowing = false;
|
|
89
|
+
arrived = 0;
|
|
90
|
+
isFocusPending = false;
|
|
91
|
+
isPointing = false;
|
|
92
|
+
isJumped = false;
|
|
93
|
+
heldJump = null;
|
|
94
|
+
pressing = new AbortController();
|
|
95
|
+
inputs = new AbortController();
|
|
96
|
+
hasPersonInput = false;
|
|
97
|
+
isGestureMoving = false;
|
|
98
|
+
partResources = VirtualListResources;
|
|
99
|
+
variants = ButtonVariant;
|
|
100
|
+
isFollowing = signal(false, /* @ts-ignore */
|
|
101
|
+
...(ngDevMode ? [{ debugName: "isFollowing" }] : /* istanbul ignore next */ []));
|
|
102
|
+
isJumpHeld = signal(false, /* @ts-ignore */
|
|
103
|
+
...(ngDevMode ? [{ debugName: "isJumpHeld" }] : /* istanbul ignore next */ []));
|
|
104
|
+
heldHeight = signal(null, /* @ts-ignore */
|
|
105
|
+
...(ngDevMode ? [{ debugName: "heldHeight" }] : /* istanbul ignore next */ []));
|
|
106
|
+
shift = signal(0, /* @ts-ignore */
|
|
107
|
+
...(ngDevMode ? [{ debugName: "shift" }] : /* istanbul ignore next */ []));
|
|
108
|
+
isPointerFocused = signal(false, /* @ts-ignore */
|
|
109
|
+
...(ngDevMode ? [{ debugName: "isPointerFocused" }] : /* istanbul ignore next */ []));
|
|
110
|
+
rowTemplate = contentChild.required(VirtualRowDirective, /* @ts-ignore */
|
|
111
|
+
...(ngDevMode ? [{ debugName: "rowTemplate" }] : /* istanbul ignore next */ []));
|
|
112
|
+
isFeed = computed(() => this.kind() === VirtualListKind.Feed, /* @ts-ignore */
|
|
113
|
+
...(ngDevMode ? [{ debugName: "isFeed" }] : /* istanbul ignore next */ []));
|
|
114
|
+
isLatestAtStart = computed(() => this.isFeed() && this.latest() === VirtualListEdge.Start, /* @ts-ignore */
|
|
115
|
+
...(ngDevMode ? [{ debugName: "isLatestAtStart" }] : /* istanbul ignore next */ []));
|
|
116
|
+
state = computed(() => {
|
|
117
|
+
const source = this.source();
|
|
118
|
+
return untracked(() => new VirtualListState(source, t => this.failed.emit(t), this.timeSource));
|
|
119
|
+
}, /* @ts-ignore */
|
|
120
|
+
...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
121
|
+
range = computed(() => this.rangeFor(VirtualListResources.virtualListOverscan), { ...(ngDevMode ? { debugName: "range" } : /* istanbul ignore next */ {}), equal: (a, b) => a.equals(b) });
|
|
122
|
+
heldTop = computed(() => Object.isNull(this.heldHeight()) ? null : this.range().top - this.shift(), /* @ts-ignore */
|
|
123
|
+
...(ngDevMode ? [{ debugName: "heldTop" }] : /* istanbul ignore next */ []));
|
|
124
|
+
stop = computed(() => {
|
|
125
|
+
const count = this.state().source.length();
|
|
126
|
+
const focus = this.focusIndex();
|
|
127
|
+
if (count === 0 || this.isFeed() && Object.isNull(focus))
|
|
128
|
+
return null;
|
|
129
|
+
return Math.min(focus ?? this.restingStop(count), count - 1);
|
|
130
|
+
}, /* @ts-ignore */
|
|
131
|
+
...(ngDevMode ? [{ debugName: "stop" }] : /* istanbul ignore next */ []));
|
|
132
|
+
rows = computed(() => {
|
|
133
|
+
const { source, ledger, cache } = this.state();
|
|
134
|
+
cache.revision();
|
|
135
|
+
this.layout();
|
|
136
|
+
const range = this.range();
|
|
137
|
+
const stop = this.stop();
|
|
138
|
+
const selected = this.selected();
|
|
139
|
+
const hides = this.hides();
|
|
140
|
+
const indexes = Array.from({ length: range.end - range.start }, (_, t) => range.start + t);
|
|
141
|
+
if (!Object.isNull(stop) && (stop < range.start || stop >= range.end))
|
|
142
|
+
indexes.push(stop);
|
|
143
|
+
const part = this.partIndex();
|
|
144
|
+
if (!Object.isNull(part) && part !== stop && (part < range.start || part >= range.end))
|
|
145
|
+
indexes.push(part);
|
|
146
|
+
return indexes.map(index => {
|
|
147
|
+
const item = cache.itemAt(index);
|
|
148
|
+
const key = Object.isUndefined(item) ? undefined : source.keyOf(item);
|
|
149
|
+
const top = index < range.start || index >= range.end ? ledger.offsetOf(index) : null;
|
|
150
|
+
return new VirtualListRow(this.id, index, item, key, top, ledger.heightOf(index), index === stop, index === selected, !Object.isUndefined(item) && hides(item));
|
|
151
|
+
});
|
|
152
|
+
}, /* @ts-ignore */
|
|
153
|
+
...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
154
|
+
gap = computed(() => {
|
|
155
|
+
const { cache } = this.state();
|
|
156
|
+
cache.revision();
|
|
157
|
+
const visible = this.rangeFor(0);
|
|
158
|
+
let first = null;
|
|
159
|
+
let isFailed = false;
|
|
160
|
+
let isSlow = false;
|
|
161
|
+
for (let index = visible.start; index < visible.end; index++)
|
|
162
|
+
if (Object.isUndefined(cache.itemAt(index))) {
|
|
163
|
+
first ??= index;
|
|
164
|
+
isFailed ||= cache.isFailed(index);
|
|
165
|
+
isSlow ||= cache.isSlow(index);
|
|
166
|
+
}
|
|
167
|
+
return Object.isNull(first) ? null : new VirtualListGap(isFailed, first === visible.start, isSlow);
|
|
168
|
+
}, /* @ts-ignore */
|
|
169
|
+
...(ngDevMode ? [{ debugName: "gap" }] : /* istanbul ignore next */ []));
|
|
170
|
+
isBusy = computed(() => this.busy() || this.gap()?.isFailed === false, /* @ts-ignore */
|
|
171
|
+
...(ngDevMode ? [{ debugName: "isBusy" }] : /* istanbul ignore next */ []));
|
|
172
|
+
source = input.required(/* @ts-ignore */
|
|
173
|
+
...(ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []));
|
|
174
|
+
label = input.required(/* @ts-ignore */
|
|
175
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
176
|
+
kind = input(VirtualListKind.Options, /* @ts-ignore */
|
|
177
|
+
...(ngDevMode ? [{ debugName: "kind" }] : /* istanbul ignore next */ []));
|
|
178
|
+
selected = input(null, /* @ts-ignore */
|
|
179
|
+
...(ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []));
|
|
180
|
+
position = input(null, /* @ts-ignore */
|
|
181
|
+
...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
|
|
182
|
+
busy = input(false, /* @ts-ignore */
|
|
183
|
+
...(ngDevMode ? [{ debugName: "busy" }] : /* istanbul ignore next */ []));
|
|
184
|
+
readAhead = input(VirtualListResources.virtualListReadAhead, /* @ts-ignore */
|
|
185
|
+
...(ngDevMode ? [{ debugName: "readAhead" }] : /* istanbul ignore next */ []));
|
|
186
|
+
latest = input(VirtualListEdge.End, /* @ts-ignore */
|
|
187
|
+
...(ngDevMode ? [{ debugName: "latest" }] : /* istanbul ignore next */ []));
|
|
188
|
+
activated = output();
|
|
189
|
+
positionChange = output();
|
|
190
|
+
jumped = output();
|
|
191
|
+
failed = output();
|
|
192
|
+
constructor() {
|
|
193
|
+
inject(DestroyRef).onDestroy(() => {
|
|
194
|
+
this.observer.disconnect();
|
|
195
|
+
this.checker.disconnect();
|
|
196
|
+
this.pressing.abort();
|
|
197
|
+
this.inputs.abort();
|
|
198
|
+
});
|
|
199
|
+
afterNextRender(() => {
|
|
200
|
+
for (const type of VirtualListResources.virtualListInputEvents)
|
|
201
|
+
this.viewport().nativeElement.addEventListener(type, () => {
|
|
202
|
+
this.hasPersonInput = true;
|
|
203
|
+
}, { capture: true, passive: true, signal: this.inputs.signal });
|
|
204
|
+
});
|
|
205
|
+
effect(onCleanup => {
|
|
206
|
+
const state = this.state();
|
|
207
|
+
state.cache.attach();
|
|
208
|
+
state.source.observe(this.follower);
|
|
209
|
+
untracked(() => this.reset());
|
|
210
|
+
onCleanup(() => {
|
|
211
|
+
state.cache.dispose();
|
|
212
|
+
state.source.unobserve(this.follower);
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
effect(() => {
|
|
216
|
+
const wanted = this.rangeFor(VirtualListResources.virtualListOverscan + Math.max(0, this.readAhead()));
|
|
217
|
+
const focus = this.focusIndex();
|
|
218
|
+
const part = this.partIndex();
|
|
219
|
+
untracked(() => {
|
|
220
|
+
const { cache } = this.state();
|
|
221
|
+
cache.keep(focus, part);
|
|
222
|
+
cache.request(wanted.start, wanted.end);
|
|
223
|
+
});
|
|
224
|
+
});
|
|
225
|
+
effect(() => {
|
|
226
|
+
if (this.isFollowing() !== this.toldFollowing)
|
|
227
|
+
untracked(() => this.tell());
|
|
228
|
+
});
|
|
229
|
+
effect(() => {
|
|
230
|
+
this.latest();
|
|
231
|
+
untracked(() => {
|
|
232
|
+
if (!this.isFollowing()) {
|
|
233
|
+
if (this.isDistanceKnown(this.scrollTop()))
|
|
234
|
+
this.follow(this.distanceOf(this.scrollTop()));
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
this.latestDistance = 0;
|
|
238
|
+
this.correct();
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
effect(() => {
|
|
242
|
+
this.state().cache.revision();
|
|
243
|
+
untracked(() => {
|
|
244
|
+
this.resolve();
|
|
245
|
+
const top = this.scrollTop();
|
|
246
|
+
if (!this.isFollowing() && this.isDistanceKnown(top))
|
|
247
|
+
this.follow(this.distanceOf(top));
|
|
248
|
+
});
|
|
249
|
+
});
|
|
250
|
+
effect(() => {
|
|
251
|
+
if (this.isFailing())
|
|
252
|
+
this.announcer.announce(VirtualListResources.virtualListFailed, AnnouncementPoliteness.Assertive);
|
|
253
|
+
});
|
|
254
|
+
effect(() => {
|
|
255
|
+
if (this.isFocusWaiting())
|
|
256
|
+
this.announcer.announce(VirtualListResources.virtualListLoading, AnnouncementPoliteness.Polite);
|
|
257
|
+
});
|
|
258
|
+
afterEveryRender({ write: () => this.settle() });
|
|
259
|
+
}
|
|
260
|
+
focus() {
|
|
261
|
+
if (this.isFeed()) {
|
|
262
|
+
this.viewport().nativeElement.focus({ preventScroll: true });
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
const stop = this.stop();
|
|
266
|
+
if (!Object.isNull(stop))
|
|
267
|
+
this.moveTo(stop);
|
|
268
|
+
}
|
|
269
|
+
reveal(index, align, part = null) {
|
|
270
|
+
const count = this.state().source.length();
|
|
271
|
+
if (count === 0)
|
|
272
|
+
return;
|
|
273
|
+
const at = this.shownNear(Math.min(Math.max(0, index), count - 1), count);
|
|
274
|
+
if (Object.isNull(part))
|
|
275
|
+
this.show(at, align);
|
|
276
|
+
else
|
|
277
|
+
this.showPart(at, align, part);
|
|
278
|
+
}
|
|
279
|
+
hold(index, part) {
|
|
280
|
+
const count = this.state().source.length();
|
|
281
|
+
if (count === 0 || this.isFollowing() || !Object.isNull(this.heldJump))
|
|
282
|
+
return;
|
|
283
|
+
const at = Math.min(Math.max(0, index), count - 1);
|
|
284
|
+
const box = this.partBox(at, part);
|
|
285
|
+
if (Object.isNull(box))
|
|
286
|
+
return;
|
|
287
|
+
const top = this.scrollTop();
|
|
288
|
+
const rowTop = this.state().ledger.offsetOf(at);
|
|
289
|
+
this.align = null;
|
|
290
|
+
this.isPlaced = true;
|
|
291
|
+
this.part = part;
|
|
292
|
+
this.partGap = top - rowTop - box[0];
|
|
293
|
+
this.partIndex.set(at);
|
|
294
|
+
this.anchor = new VirtualListAnchor(at, top - rowTop);
|
|
295
|
+
}
|
|
296
|
+
onScroll() {
|
|
297
|
+
const viewport = this.viewport().nativeElement;
|
|
298
|
+
this.keepClamp(viewport);
|
|
299
|
+
const top = viewport.scrollTop;
|
|
300
|
+
const moved = top - this.domTop;
|
|
301
|
+
this.domTop = top;
|
|
302
|
+
if (this.isUnprompted(moved)) {
|
|
303
|
+
this.correct();
|
|
304
|
+
return;
|
|
305
|
+
}
|
|
306
|
+
if (moved !== 0) {
|
|
307
|
+
this.isGestureMoving = this.hasPersonInput;
|
|
308
|
+
this.release();
|
|
309
|
+
}
|
|
310
|
+
const held = this.heldHeight();
|
|
311
|
+
if (!Object.isNull(held)) {
|
|
312
|
+
if (moved !== 0)
|
|
313
|
+
this.drag(top, moved, held);
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
316
|
+
if (!Object.isNull(this.pendingTop)) {
|
|
317
|
+
if (moved !== 0) {
|
|
318
|
+
const target = this.pendingTop + moved;
|
|
319
|
+
this.follow(this.distanceOf(target));
|
|
320
|
+
this.scrollTo(target);
|
|
321
|
+
this.tell();
|
|
322
|
+
}
|
|
323
|
+
return;
|
|
324
|
+
}
|
|
325
|
+
const at = top + this.shift();
|
|
326
|
+
if (Math.abs(at - this.scrollTop()) < 1)
|
|
327
|
+
return;
|
|
328
|
+
if (moved !== 0)
|
|
329
|
+
this.follow(this.distanceOf(at), true);
|
|
330
|
+
if (!this.isPlaced)
|
|
331
|
+
this.anchor = this.anchorAt(at);
|
|
332
|
+
this.scrollTop.set(at);
|
|
333
|
+
this.tell();
|
|
334
|
+
}
|
|
335
|
+
endScroll() {
|
|
336
|
+
if (!this.isGestureMoving)
|
|
337
|
+
return;
|
|
338
|
+
this.isGestureMoving = false;
|
|
339
|
+
this.hasPersonInput = false;
|
|
340
|
+
if (Object.isNull(this.heldHeight()) && this.shift() !== 0)
|
|
341
|
+
this.scrollTo(this.scrollTop());
|
|
342
|
+
}
|
|
343
|
+
enter(index) {
|
|
344
|
+
this.focusIndex.set(index);
|
|
345
|
+
this.isFocused.set(true);
|
|
346
|
+
}
|
|
347
|
+
point(event) {
|
|
348
|
+
this.isPointing = true;
|
|
349
|
+
this.pressing.abort();
|
|
350
|
+
const pressing = new AbortController();
|
|
351
|
+
const release = () => {
|
|
352
|
+
this.isPointing = false;
|
|
353
|
+
pressing.abort();
|
|
354
|
+
if (!Object.isNull(this.heldHeight()))
|
|
355
|
+
this.drop();
|
|
356
|
+
};
|
|
357
|
+
for (const type of VirtualListResources.virtualListPressEnds)
|
|
358
|
+
this.document.addEventListener(type, release, { capture: true, signal: pressing.signal });
|
|
359
|
+
window.addEventListener(Resources.blurEvent, release, { signal: pressing.signal });
|
|
360
|
+
this.pressing = pressing;
|
|
361
|
+
const viewport = this.viewport().nativeElement;
|
|
362
|
+
const x = event.clientX - viewport.getBoundingClientRect().left - viewport.clientLeft;
|
|
363
|
+
if (event.target !== viewport || x >= 0 && x < viewport.clientWidth)
|
|
364
|
+
return;
|
|
365
|
+
this.pendingTop = null;
|
|
366
|
+
this.domTop = viewport.scrollTop;
|
|
367
|
+
this.shift.set(Math.round(this.scrollTop() - this.domTop));
|
|
368
|
+
this.heldHeight.set(viewport.scrollHeight);
|
|
369
|
+
}
|
|
370
|
+
enterFeed(event) {
|
|
371
|
+
if (event.target === event.currentTarget) {
|
|
372
|
+
this.focusIndex.set(null);
|
|
373
|
+
this.isPointerFocused.set(this.isPointing);
|
|
374
|
+
}
|
|
375
|
+
this.isPointing = false;
|
|
376
|
+
}
|
|
377
|
+
leave(event) {
|
|
378
|
+
const { relatedTarget, target } = event;
|
|
379
|
+
if (relatedTarget instanceof Node && this.list().nativeElement.contains(relatedTarget))
|
|
380
|
+
return;
|
|
381
|
+
if (relatedTarget instanceof Node && relatedTarget.isConnected) {
|
|
382
|
+
this.isFocused.set(false);
|
|
383
|
+
return;
|
|
384
|
+
}
|
|
385
|
+
queueMicrotask(() => {
|
|
386
|
+
this.isFocused.set(target instanceof Node && !target.isConnected);
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
press(event, index) {
|
|
390
|
+
if (this.isFeed())
|
|
391
|
+
return;
|
|
392
|
+
const from = this.focusIndex() ?? index;
|
|
393
|
+
if (event.altKey || event.ctrlKey || event.metaKey || event.shiftKey)
|
|
394
|
+
return;
|
|
395
|
+
if (event.key === Resources.enterKey || event.key === Resources.spaceKey) {
|
|
396
|
+
event.preventDefault();
|
|
397
|
+
this.choose(from);
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
400
|
+
this.go(event, this.targetOf(event.key, from));
|
|
401
|
+
}
|
|
402
|
+
choose(index, target = null) {
|
|
403
|
+
const { ledger, cache } = this.state();
|
|
404
|
+
const item = cache.itemAt(index);
|
|
405
|
+
if (this.isFeed()) {
|
|
406
|
+
if (target instanceof Element && !Object.isNull(target.closest(VirtualListResources.virtualListResizesRowSelector))) {
|
|
407
|
+
this.clicked = new VirtualListAnchor(index, this.scrollTop() - ledger.offsetOf(index));
|
|
408
|
+
this.clickedUntil = this.timeSource.now() + VirtualListResources.virtualListClickHold;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
else if (!Object.isUndefined(item))
|
|
412
|
+
this.activated.emit(new VirtualListChoice(index, item));
|
|
413
|
+
}
|
|
414
|
+
retry() {
|
|
415
|
+
this.state().cache.retry();
|
|
416
|
+
}
|
|
417
|
+
jump(event) {
|
|
418
|
+
const jump = new VirtualListJump(() => this.releaseJump(jump));
|
|
419
|
+
this.jumped.emit(jump);
|
|
420
|
+
this.latestDistance = 0;
|
|
421
|
+
this.release();
|
|
422
|
+
this.isJumped = true;
|
|
423
|
+
this.focusIndex.set(null);
|
|
424
|
+
this.viewport().nativeElement.focus({ preventScroll: true });
|
|
425
|
+
this.isPointerFocused.set(event.detail > 0);
|
|
426
|
+
if (jump.isHeld) {
|
|
427
|
+
this.heldJump = jump;
|
|
428
|
+
this.isJumpHeld.set(true);
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
431
|
+
this.isFollowing.set(true);
|
|
432
|
+
this.scrollTo(this.targetTop());
|
|
433
|
+
}
|
|
434
|
+
pressInFeed(event) {
|
|
435
|
+
if (!this.isFeed() || event.defaultPrevented || event.altKey || event.metaKey || event.shiftKey)
|
|
436
|
+
return;
|
|
437
|
+
if (event.ctrlKey) {
|
|
438
|
+
if (event.key === Resources.homeKey || event.key === Resources.endKey) {
|
|
439
|
+
event.preventDefault();
|
|
440
|
+
this.focusBeside(event.key === Resources.endKey);
|
|
441
|
+
}
|
|
442
|
+
return;
|
|
443
|
+
}
|
|
444
|
+
const isPage = event.key === Resources.pageDownKey || event.key === Resources.pageUpKey;
|
|
445
|
+
const { target } = event;
|
|
446
|
+
const isOnList = target === event.currentTarget || target.matches(VirtualListResources.virtualListRowSelector);
|
|
447
|
+
const top = isPage || isOnList ? this.scrollTargetOf(event.key) : null;
|
|
448
|
+
if (Object.isNull(top))
|
|
449
|
+
return;
|
|
450
|
+
event.preventDefault();
|
|
451
|
+
const end = Math.max(0, Math.floor(this.state().ledger.total - this.viewHeight()));
|
|
452
|
+
const clamped = Math.min(Math.max(0, top), end);
|
|
453
|
+
if (Math.abs(clamped - this.scrollTop()) < 1)
|
|
454
|
+
return;
|
|
455
|
+
this.release();
|
|
456
|
+
this.follow(this.distanceOf(clamped));
|
|
457
|
+
this.scrollTo(clamped);
|
|
458
|
+
this.tell();
|
|
459
|
+
}
|
|
460
|
+
releaseJump(jump) {
|
|
461
|
+
if (jump !== this.heldJump)
|
|
462
|
+
return;
|
|
463
|
+
this.release();
|
|
464
|
+
this.isFollowing.set(true);
|
|
465
|
+
this.scrollTo(this.targetTop());
|
|
466
|
+
}
|
|
467
|
+
scrollTargetOf(key) {
|
|
468
|
+
const top = this.scrollTop();
|
|
469
|
+
const page = this.viewHeight() * VirtualListResources.virtualListPageFraction;
|
|
470
|
+
switch (key) {
|
|
471
|
+
case Resources.arrowDownKey:
|
|
472
|
+
return top + VirtualListResources.virtualListLineStep;
|
|
473
|
+
case Resources.arrowUpKey:
|
|
474
|
+
return top - VirtualListResources.virtualListLineStep;
|
|
475
|
+
case Resources.pageDownKey:
|
|
476
|
+
return top + page;
|
|
477
|
+
case Resources.pageUpKey:
|
|
478
|
+
return top - page;
|
|
479
|
+
case Resources.homeKey:
|
|
480
|
+
return 0;
|
|
481
|
+
case Resources.endKey:
|
|
482
|
+
return this.state().ledger.total;
|
|
483
|
+
default:
|
|
484
|
+
return null;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
go(event, to) {
|
|
488
|
+
if (Object.isNull(to))
|
|
489
|
+
return;
|
|
490
|
+
event.preventDefault();
|
|
491
|
+
this.moveTo(Math.min(Math.max(0, to), this.state().source.length() - 1));
|
|
492
|
+
}
|
|
493
|
+
focusBeside(isAfter) {
|
|
494
|
+
const feed = this.viewport().nativeElement;
|
|
495
|
+
const tabbable = [...this.document.querySelectorAll(Resources.focusableSelector)]
|
|
496
|
+
.filter(t => t.tabIndex >= 0 && !feed.contains(t) && !t.matches(":disabled") && t.checkVisibility({ visibilityProperty: true }));
|
|
497
|
+
const target = isAfter
|
|
498
|
+
? tabbable.find(t => (feed.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING) !== 0)
|
|
499
|
+
: tabbable.findLast(t => (feed.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_PRECEDING) !== 0);
|
|
500
|
+
target?.focus();
|
|
501
|
+
}
|
|
502
|
+
inserted(at, count) {
|
|
503
|
+
const { ledger } = this.state();
|
|
504
|
+
ledger.insert(at, count);
|
|
505
|
+
const isAtLatest = at === (this.isLatestAtStart() ? 0 : ledger.count - count);
|
|
506
|
+
this.anchor = this.anchor.afterInsert(at, count);
|
|
507
|
+
this.clicked = this.clicked?.afterInsert(at, count) ?? null;
|
|
508
|
+
if (!Object.isNull(this.partIndex()))
|
|
509
|
+
this.partIndex.set(this.anchor.index);
|
|
510
|
+
const focus = this.focusIndex();
|
|
511
|
+
if (!Object.isNull(focus) && focus >= at)
|
|
512
|
+
this.focusIndex.set(focus + count);
|
|
513
|
+
if (!Object.isNull(this.heldHeight()) && this.isFollowing() && isAtLatest)
|
|
514
|
+
this.arrived += count;
|
|
515
|
+
if (isAtLatest)
|
|
516
|
+
this.reachLatest();
|
|
517
|
+
this.correct();
|
|
518
|
+
}
|
|
519
|
+
updated() {
|
|
520
|
+
if (this.reachLatest())
|
|
521
|
+
this.correct();
|
|
522
|
+
}
|
|
523
|
+
reachLatest() {
|
|
524
|
+
if (!this.isFollowing() || this.isGestureMoving || !Object.isNull(this.heldHeight()))
|
|
525
|
+
return false;
|
|
526
|
+
this.latestDistance = 0;
|
|
527
|
+
return true;
|
|
528
|
+
}
|
|
529
|
+
removed(at, count) {
|
|
530
|
+
const { source, ledger } = this.state();
|
|
531
|
+
ledger.remove(at, count);
|
|
532
|
+
const isAtLatest = at === (this.isLatestAtStart() ? 0 : ledger.count);
|
|
533
|
+
const first = this.arrivedFirst(ledger.count + count);
|
|
534
|
+
this.arrived -= Math.max(0, Math.min(at + count, first + this.arrived) - Math.max(at, first));
|
|
535
|
+
const isRevealedRemoved = !Object.isNull(this.align) && this.anchor.index >= at && this.anchor.index < at + count;
|
|
536
|
+
this.anchor = this.anchor.afterRemove(at, count);
|
|
537
|
+
if (isRevealedRemoved) {
|
|
538
|
+
this.align = null;
|
|
539
|
+
this.anchor = new VirtualListAnchor(this.anchor.index, 0);
|
|
540
|
+
}
|
|
541
|
+
this.clicked = this.clicked?.afterRemove(at, count) ?? null;
|
|
542
|
+
const part = this.partIndex();
|
|
543
|
+
if (!Object.isNull(part) && part >= at && part < at + count) {
|
|
544
|
+
this.part = null;
|
|
545
|
+
this.partIndex.set(null);
|
|
546
|
+
}
|
|
547
|
+
else if (!Object.isNull(part))
|
|
548
|
+
this.partIndex.set(this.anchor.index);
|
|
549
|
+
const focus = this.focusIndex();
|
|
550
|
+
const length = source.length();
|
|
551
|
+
if (!Object.isNull(focus) && focus >= at)
|
|
552
|
+
this.focusIndex.set(length === 0 ? null : Math.min(Math.max(at, focus - count), length - 1));
|
|
553
|
+
if (isAtLatest)
|
|
554
|
+
this.reachLatest();
|
|
555
|
+
this.correct();
|
|
556
|
+
}
|
|
557
|
+
reset() {
|
|
558
|
+
const { source, ledger } = this.state();
|
|
559
|
+
const position = this.isFeed() ? this.position() : null;
|
|
560
|
+
const anchor = Object.isNull(position)
|
|
561
|
+
? new VirtualListAnchor(0, 0)
|
|
562
|
+
: new VirtualListAnchor(Math.min(Math.max(0, position.index), Math.max(0, source.length() - 1)), position.distance, position.key);
|
|
563
|
+
const isJumped = this.isJumped;
|
|
564
|
+
this.isFollowing.set(this.isFeed() && (Object.isNull(position) || position.isFollowing || isJumped));
|
|
565
|
+
this.toldFollowing = this.isFollowing();
|
|
566
|
+
this.release();
|
|
567
|
+
this.isPlaced = !Object.isNull(position) && !this.isFollowing();
|
|
568
|
+
this.latestDistance = 0;
|
|
569
|
+
this.arrived = 0;
|
|
570
|
+
this.focusIndex.set(null);
|
|
571
|
+
this.scrollTo(this.isFollowing() ? this.targetTop() : ledger.topOf(anchor));
|
|
572
|
+
this.anchor = anchor;
|
|
573
|
+
this.layout.update(t => t + 1);
|
|
574
|
+
if (isJumped)
|
|
575
|
+
this.tell();
|
|
576
|
+
}
|
|
577
|
+
resolve() {
|
|
578
|
+
const { source, cache } = this.state();
|
|
579
|
+
if (Object.isNull(this.anchor.key) || Object.isUndefined(cache.itemAt(this.anchor.index)))
|
|
580
|
+
return;
|
|
581
|
+
const { index, distance } = this.anchor.resolve(t => cache.findIndex(item => source.keyOf(item) === t));
|
|
582
|
+
const isMoved = index !== this.anchor.index;
|
|
583
|
+
this.anchor = new VirtualListAnchor(index, distance);
|
|
584
|
+
if (isMoved)
|
|
585
|
+
this.correct();
|
|
586
|
+
}
|
|
587
|
+
follow(distance, isOwn = false) {
|
|
588
|
+
if (!this.isFeed())
|
|
589
|
+
return;
|
|
590
|
+
const { source, cache } = this.state();
|
|
591
|
+
const isNear = this.isClickStopped ? distance < 1 : distance <= VirtualListResources.virtualListFollowDistance;
|
|
592
|
+
if (this.isFollowing() && !isNear)
|
|
593
|
+
this.isFollowing.set(false);
|
|
594
|
+
else if (!this.isFollowing() && isNear && !Object.isUndefined(cache.itemAt(this.isLatestAtStart() ? 0 : source.length() - 1))) {
|
|
595
|
+
this.isFollowing.set(true);
|
|
596
|
+
this.isClickStopped = false;
|
|
597
|
+
this.isPlaced = false;
|
|
598
|
+
}
|
|
599
|
+
if (this.isFollowing())
|
|
600
|
+
this.latestDistance = isOwn ? distance : Math.max(0, distance);
|
|
601
|
+
}
|
|
602
|
+
tell() {
|
|
603
|
+
const { source, cache } = this.state();
|
|
604
|
+
const item = cache.itemAt(this.anchor.index);
|
|
605
|
+
this.toldFollowing = this.isFollowing();
|
|
606
|
+
this.positionChange.emit(new VirtualListPosition(this.anchor.index, Object.isUndefined(item) ? null : source.keyOf(item), this.anchor.distance, this.isFollowing()));
|
|
607
|
+
}
|
|
608
|
+
rangeFor(margin) {
|
|
609
|
+
this.layout();
|
|
610
|
+
return this.state().ledger.rangeFor(this.scrollTop(), this.viewHeight(), margin);
|
|
611
|
+
}
|
|
612
|
+
targetOf(key, from) {
|
|
613
|
+
const { source, ledger } = this.state();
|
|
614
|
+
switch (key) {
|
|
615
|
+
case Resources.arrowDownKey:
|
|
616
|
+
return from + 1;
|
|
617
|
+
case Resources.arrowUpKey:
|
|
618
|
+
return from - 1;
|
|
619
|
+
case Resources.homeKey:
|
|
620
|
+
return 0;
|
|
621
|
+
case Resources.endKey:
|
|
622
|
+
return source.length() - 1;
|
|
623
|
+
case Resources.pageDownKey:
|
|
624
|
+
return ledger.indexAt(ledger.offsetOf(from) + this.viewHeight());
|
|
625
|
+
case Resources.pageUpKey:
|
|
626
|
+
return ledger.indexAt(Math.max(0, ledger.offsetOf(from) - this.viewHeight()));
|
|
627
|
+
default:
|
|
628
|
+
return null;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
targetTop() {
|
|
632
|
+
const { ledger } = this.state();
|
|
633
|
+
if (!this.isFeed() || !this.isFollowing())
|
|
634
|
+
return Math.max(0, ledger.topOf(this.anchor));
|
|
635
|
+
return Math.max(0, this.isLatestAtStart() ? this.arrivedHeight() + this.latestDistance : this.wholePixelEndTop() - this.latestDistance);
|
|
636
|
+
}
|
|
637
|
+
distanceOf(top) {
|
|
638
|
+
return this.isLatestAtStart() ? top - this.arrivedHeight() : this.wholePixelEndTop() - top;
|
|
639
|
+
}
|
|
640
|
+
wholePixelEndTop() {
|
|
641
|
+
return Math.floor(this.state().ledger.total - this.arrivedHeight() - this.viewHeight());
|
|
642
|
+
}
|
|
643
|
+
isDistanceKnown(top) {
|
|
644
|
+
if (!this.isPlaced || this.distanceOf(top) > VirtualListResources.virtualListFollowDistance)
|
|
645
|
+
return true;
|
|
646
|
+
const { ledger } = this.state();
|
|
647
|
+
const index = ledger.indexAt(top);
|
|
648
|
+
return this.isLatestAtStart() ? ledger.isMeasured(0, Math.max(index, this.anchor.index)) : ledger.isMeasured(Math.min(index, this.anchor.index), ledger.count);
|
|
649
|
+
}
|
|
650
|
+
alignedTop(index, align) {
|
|
651
|
+
const { ledger } = this.state();
|
|
652
|
+
return Math.min(Math.max(0, this.wantedTop(index, align)), Math.max(0, Math.floor(ledger.total - this.viewHeight())));
|
|
653
|
+
}
|
|
654
|
+
wantedTop(index, align) {
|
|
655
|
+
const { ledger } = this.state();
|
|
656
|
+
const top = ledger.offsetOf(index);
|
|
657
|
+
return this.alignTop(top, top + ledger.heightOf(index), align);
|
|
658
|
+
}
|
|
659
|
+
alignTop(top, bottom, align) {
|
|
660
|
+
const view = this.viewHeight();
|
|
661
|
+
const scrollTop = this.scrollTop();
|
|
662
|
+
switch (align) {
|
|
663
|
+
case VirtualListAlign.Start:
|
|
664
|
+
return top;
|
|
665
|
+
case VirtualListAlign.Center:
|
|
666
|
+
return (top + bottom - view) / 2;
|
|
667
|
+
case VirtualListAlign.End:
|
|
668
|
+
return bottom - view;
|
|
669
|
+
default:
|
|
670
|
+
return top < scrollTop ? top : Math.max(scrollTop, Math.min(top, bottom - view));
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
show(index, align) {
|
|
674
|
+
const { ledger } = this.state();
|
|
675
|
+
const top = this.alignedTop(index, align);
|
|
676
|
+
const held = this.heldAlign(index, align);
|
|
677
|
+
this.release();
|
|
678
|
+
this.follow(this.distanceOf(top));
|
|
679
|
+
this.isPlaced = !this.isFollowing();
|
|
680
|
+
this.align = held;
|
|
681
|
+
this.anchor = new VirtualListAnchor(index, top - ledger.offsetOf(index));
|
|
682
|
+
this.scrollTo(top);
|
|
683
|
+
}
|
|
684
|
+
heldAlign(index, align) {
|
|
685
|
+
if (align !== VirtualListAlign.Nearest)
|
|
686
|
+
return align;
|
|
687
|
+
const top = this.wantedTop(index, align);
|
|
688
|
+
if (Math.abs(top - this.scrollTop()) < 1)
|
|
689
|
+
return VirtualListAlign.Nearest;
|
|
690
|
+
return top === this.state().ledger.offsetOf(index) ? VirtualListAlign.Start : VirtualListAlign.End;
|
|
691
|
+
}
|
|
692
|
+
keepAlign() {
|
|
693
|
+
if (Object.isNull(this.align) || this.align === VirtualListAlign.Nearest || !this.isPlaced)
|
|
694
|
+
return;
|
|
695
|
+
const { index } = this.anchor;
|
|
696
|
+
this.anchor = new VirtualListAnchor(index, this.alignedTop(index, this.align) - this.state().ledger.offsetOf(index));
|
|
697
|
+
}
|
|
698
|
+
showPart(index, align, part) {
|
|
699
|
+
this.measureSlot(index);
|
|
700
|
+
const box = this.partBox(index, part);
|
|
701
|
+
if (Object.isNull(box)) {
|
|
702
|
+
this.show(index, align);
|
|
703
|
+
return;
|
|
704
|
+
}
|
|
705
|
+
const { ledger } = this.state();
|
|
706
|
+
const rowTop = ledger.offsetOf(index);
|
|
707
|
+
const top = Math.max(0, this.alignTop(rowTop + box[0], rowTop + box[1], align));
|
|
708
|
+
this.release();
|
|
709
|
+
this.follow(this.distanceOf(top));
|
|
710
|
+
this.isPlaced = !this.isFollowing();
|
|
711
|
+
if (this.isPlaced) {
|
|
712
|
+
this.part = part;
|
|
713
|
+
this.partGap = top - rowTop - box[0];
|
|
714
|
+
this.partIndex.set(index);
|
|
715
|
+
}
|
|
716
|
+
this.anchor = new VirtualListAnchor(index, top - rowTop);
|
|
717
|
+
this.scrollTo(Math.min(top, Math.max(0, Math.floor(ledger.total - this.viewHeight()))));
|
|
718
|
+
}
|
|
719
|
+
measureSlot(index) {
|
|
720
|
+
const slot = this.slotOf(index);
|
|
721
|
+
if (!Object.isUndefined(slot) && this.state().ledger.measure(index, slot.getBoundingClientRect().height))
|
|
722
|
+
this.layout.update(t => t + 1);
|
|
723
|
+
}
|
|
724
|
+
slotOf(index) {
|
|
725
|
+
return this.slots().find(t => t.nativeElement.getAttribute(Resources.virtualListRowAttribute) === String(index))?.nativeElement;
|
|
726
|
+
}
|
|
727
|
+
partBox(index, part) {
|
|
728
|
+
if (Object.isNumber(part))
|
|
729
|
+
return [part, part];
|
|
730
|
+
const slot = this.slotOf(index);
|
|
731
|
+
if (Object.isUndefined(slot) || !slot.contains(part))
|
|
732
|
+
return null;
|
|
733
|
+
const box = part.getBoundingClientRect();
|
|
734
|
+
const top = box.top - slot.getBoundingClientRect().top;
|
|
735
|
+
return [top, top + box.height];
|
|
736
|
+
}
|
|
737
|
+
keepPart() {
|
|
738
|
+
if (Object.isNull(this.part) || !this.isPlaced)
|
|
739
|
+
return null;
|
|
740
|
+
const box = this.partBox(this.anchor.index, this.part);
|
|
741
|
+
if (!Object.isNull(box))
|
|
742
|
+
this.anchor = new VirtualListAnchor(this.anchor.index, box[0] + this.partGap);
|
|
743
|
+
return box;
|
|
744
|
+
}
|
|
745
|
+
holdPartAt(top, box) {
|
|
746
|
+
const { index } = this.anchor;
|
|
747
|
+
const rowTop = this.state().ledger.offsetOf(index);
|
|
748
|
+
this.partGap = top - rowTop - box[0];
|
|
749
|
+
this.anchor = new VirtualListAnchor(index, top - rowTop);
|
|
750
|
+
}
|
|
751
|
+
moveTo(index) {
|
|
752
|
+
this.show(index, VirtualListAlign.Nearest);
|
|
753
|
+
this.focusIndex.set(index);
|
|
754
|
+
this.isFocusPending = true;
|
|
755
|
+
}
|
|
756
|
+
drag(top, moved, held) {
|
|
757
|
+
const arrived = this.arrivedHeight();
|
|
758
|
+
const start = this.isLatestAtStart() ? arrived : 0;
|
|
759
|
+
const end = Math.max(start, this.state().ledger.total - this.viewHeight() - arrived + start);
|
|
760
|
+
const from = Math.min(Math.max(this.scrollTop(), start), end);
|
|
761
|
+
const was = top - moved;
|
|
762
|
+
const step = moved > 0 ? moved * (end - from) / Math.max(held - this.viewHeight() - was, moved) : moved * (from - start) / Math.max(was, -moved);
|
|
763
|
+
const target = Math.min(Math.max(start, from + step), end);
|
|
764
|
+
this.follow(this.distanceOf(target));
|
|
765
|
+
this.scrollTo(target);
|
|
766
|
+
this.tell();
|
|
767
|
+
}
|
|
768
|
+
drop() {
|
|
769
|
+
this.heldHeight.set(null);
|
|
770
|
+
this.shift.set(0);
|
|
771
|
+
this.arrived = 0;
|
|
772
|
+
this.correct();
|
|
773
|
+
}
|
|
774
|
+
arrivedHeight() {
|
|
775
|
+
const { ledger } = this.state();
|
|
776
|
+
const first = this.arrivedFirst(ledger.count);
|
|
777
|
+
let height = 0;
|
|
778
|
+
for (let index = first; index < first + this.arrived; index++)
|
|
779
|
+
height += ledger.heightOf(index);
|
|
780
|
+
return height;
|
|
781
|
+
}
|
|
782
|
+
arrivedFirst(count) {
|
|
783
|
+
return this.isLatestAtStart() ? 0 : count - this.arrived;
|
|
784
|
+
}
|
|
785
|
+
scrollTo(top) {
|
|
786
|
+
if (Object.isNull(this.heldHeight())) {
|
|
787
|
+
this.pendingTop = top;
|
|
788
|
+
this.shift.set(0);
|
|
789
|
+
}
|
|
790
|
+
else
|
|
791
|
+
this.shift.set(Math.round(top - this.domTop));
|
|
792
|
+
if (!this.isPlaced)
|
|
793
|
+
this.anchor = this.anchorAt(top);
|
|
794
|
+
this.scrollTop.set(top);
|
|
795
|
+
this.rebaseClick(top);
|
|
796
|
+
}
|
|
797
|
+
rebaseClick(top) {
|
|
798
|
+
if (!Object.isNull(this.clicked))
|
|
799
|
+
this.clicked = new VirtualListAnchor(this.clicked.index, top - this.state().ledger.offsetOf(this.clicked.index));
|
|
800
|
+
}
|
|
801
|
+
isUnprompted(moved) {
|
|
802
|
+
return !this.hasPersonInput && (this.isLatestAtStart() ? moved > 0 : moved < 0) && this.isFeed() && this.isFollowing() && Object.isNull(this.heldHeight());
|
|
803
|
+
}
|
|
804
|
+
release() {
|
|
805
|
+
this.clicked = null;
|
|
806
|
+
this.part = null;
|
|
807
|
+
this.align = null;
|
|
808
|
+
this.partIndex.set(null);
|
|
809
|
+
this.isClickStopped = false;
|
|
810
|
+
this.isPlaced = false;
|
|
811
|
+
this.isJumped = false;
|
|
812
|
+
this.heldJump = null;
|
|
813
|
+
this.isJumpHeld.set(false);
|
|
814
|
+
}
|
|
815
|
+
shownNear(index, count) {
|
|
816
|
+
const { cache } = this.state();
|
|
817
|
+
const hides = this.hides();
|
|
818
|
+
const isHidden = (at) => {
|
|
819
|
+
const item = cache.itemAt(at);
|
|
820
|
+
return !Object.isUndefined(item) && hides(item);
|
|
821
|
+
};
|
|
822
|
+
let at = index;
|
|
823
|
+
while (at < count - 1 && isHidden(at))
|
|
824
|
+
at++;
|
|
825
|
+
return at;
|
|
826
|
+
}
|
|
827
|
+
restingStop(count) {
|
|
828
|
+
const selected = this.selected() ?? -1;
|
|
829
|
+
return selected >= 0 && selected < count ? selected : 0;
|
|
830
|
+
}
|
|
831
|
+
anchorAt(top) {
|
|
832
|
+
const { ledger, cache } = this.state();
|
|
833
|
+
const anchor = ledger.anchorAt(top);
|
|
834
|
+
const end = top + this.viewHeight();
|
|
835
|
+
for (let index = anchor.index; index < ledger.count && ledger.offsetOf(index) < end; index++)
|
|
836
|
+
if (!Object.isUndefined(cache.itemAt(index)))
|
|
837
|
+
return index === anchor.index ? anchor : new VirtualListAnchor(index, top - ledger.offsetOf(index));
|
|
838
|
+
return anchor;
|
|
839
|
+
}
|
|
840
|
+
isCarried(top, start) {
|
|
841
|
+
const { ledger } = this.state();
|
|
842
|
+
return this.isGestureMoving && Math.round(top - this.domTop) <= Math.min(ledger.offsetOf(start), ledger.rangeFor(top, this.viewHeight(), VirtualListResources.virtualListOverscan).top);
|
|
843
|
+
}
|
|
844
|
+
correct() {
|
|
845
|
+
this.scrollTo(this.targetTop());
|
|
846
|
+
this.layout.update(t => t + 1);
|
|
847
|
+
}
|
|
848
|
+
measure(entries) {
|
|
849
|
+
const { ledger, cache } = this.state();
|
|
850
|
+
const viewport = this.viewport().nativeElement;
|
|
851
|
+
if (viewport.getClientRects().length === 0)
|
|
852
|
+
return;
|
|
853
|
+
this.keepClamp(viewport);
|
|
854
|
+
const { start } = this.range();
|
|
855
|
+
if (this.isGestureMoving && Object.isNull(this.heldHeight()) && Math.abs(viewport.scrollTop - this.domTop) >= 1) {
|
|
856
|
+
this.domTop = viewport.scrollTop;
|
|
857
|
+
const at = this.domTop + this.shift();
|
|
858
|
+
this.release();
|
|
859
|
+
this.follow(this.distanceOf(at), true);
|
|
860
|
+
this.anchor = this.anchorAt(at);
|
|
861
|
+
this.scrollTop.set(at);
|
|
862
|
+
this.tell();
|
|
863
|
+
}
|
|
864
|
+
if (this.timeSource.now() > this.clickedUntil)
|
|
865
|
+
this.clicked = null;
|
|
866
|
+
const clicked = this.clicked;
|
|
867
|
+
let isChanged = false;
|
|
868
|
+
let kept = null;
|
|
869
|
+
for (const { target, contentRect } of entries) {
|
|
870
|
+
if (target === viewport) {
|
|
871
|
+
this.viewHeight.set(contentRect.height);
|
|
872
|
+
isChanged = true;
|
|
873
|
+
continue;
|
|
874
|
+
}
|
|
875
|
+
if (target === this.list().nativeElement)
|
|
876
|
+
continue;
|
|
877
|
+
const index = Number(target.getAttribute(Resources.virtualListRowAttribute));
|
|
878
|
+
if (!Object.isUndefined(cache.itemAt(index)) && ledger.measure(index, target.getBoundingClientRect().height)) {
|
|
879
|
+
isChanged = true;
|
|
880
|
+
if (clicked?.index === index)
|
|
881
|
+
kept = clicked;
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
if (!isChanged)
|
|
885
|
+
return;
|
|
886
|
+
if (this.wholePixelEndTop() - this.latestDistance > Math.round(ledger.total - this.arrivedHeight() - this.viewHeight()))
|
|
887
|
+
this.latestDistance = 0;
|
|
888
|
+
const part = this.keepPart();
|
|
889
|
+
this.keepAlign();
|
|
890
|
+
let top = this.targetTop();
|
|
891
|
+
if (!Object.isNull(kept)) {
|
|
892
|
+
top = Math.max(0, ledger.topOf(kept));
|
|
893
|
+
if (Object.isNull(part))
|
|
894
|
+
this.anchor = this.anchorAt(top);
|
|
895
|
+
else
|
|
896
|
+
this.holdPartAt(top, part);
|
|
897
|
+
this.clicked = null;
|
|
898
|
+
if (this.distanceOf(top) < 1)
|
|
899
|
+
this.follow(this.distanceOf(top));
|
|
900
|
+
else if (this.isFollowing()) {
|
|
901
|
+
this.isFollowing.set(false);
|
|
902
|
+
this.isClickStopped = true;
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
else if (!this.isFollowing() && this.isDistanceKnown(top))
|
|
906
|
+
this.follow(this.distanceOf(top));
|
|
907
|
+
let isClamped = false;
|
|
908
|
+
if (Object.isNull(this.heldHeight()) && !this.isCarried(top, start)) {
|
|
909
|
+
this.shift.set(0);
|
|
910
|
+
this.padRowsWithoutBinding(ledger.offsetOf(start));
|
|
911
|
+
viewport.scrollTop = top;
|
|
912
|
+
this.domTop = viewport.scrollTop;
|
|
913
|
+
isClamped = Math.abs(this.domTop - top) >= 1;
|
|
914
|
+
if (isClamped) {
|
|
915
|
+
top = this.domTop;
|
|
916
|
+
if (!this.isPlaced)
|
|
917
|
+
this.anchor = this.anchorAt(top);
|
|
918
|
+
}
|
|
919
|
+
this.pendingTop = top;
|
|
920
|
+
}
|
|
921
|
+
else {
|
|
922
|
+
this.shift.set(Math.round(top - this.domTop));
|
|
923
|
+
if (Object.isNull(this.heldHeight()))
|
|
924
|
+
this.padRowsWithoutBinding(ledger.offsetOf(start) - this.shift());
|
|
925
|
+
}
|
|
926
|
+
this.scrollTop.set(top);
|
|
927
|
+
this.layout.update(t => t + 1);
|
|
928
|
+
this.rebaseClick(top);
|
|
929
|
+
if (isClamped)
|
|
930
|
+
this.tell();
|
|
931
|
+
}
|
|
932
|
+
settle() {
|
|
933
|
+
const viewport = this.viewport().nativeElement;
|
|
934
|
+
this.isJumped &&= this.isJumpHeld();
|
|
935
|
+
this.padRowsWithoutBinding(Object.isNull(this.heldHeight()) ? this.range().top - this.shift() : 0);
|
|
936
|
+
if (this.viewHeight() === 0 && viewport.clientHeight > 0) {
|
|
937
|
+
this.viewHeight.set(viewport.getBoundingClientRect().height);
|
|
938
|
+
this.correct();
|
|
939
|
+
}
|
|
940
|
+
this.observe([viewport, this.list().nativeElement, ...this.slots().map(t => t.nativeElement)]);
|
|
941
|
+
this.reserve();
|
|
942
|
+
if (!Object.isNull(this.pendingTop)) {
|
|
943
|
+
viewport.scrollTop = this.pendingTop;
|
|
944
|
+
this.domTop = viewport.scrollTop;
|
|
945
|
+
this.pendingTop = null;
|
|
946
|
+
}
|
|
947
|
+
else {
|
|
948
|
+
this.checker.unobserve(viewport);
|
|
949
|
+
this.checker.observe(viewport);
|
|
950
|
+
}
|
|
951
|
+
const stop = this.stop();
|
|
952
|
+
if (Object.isNull(stop))
|
|
953
|
+
return;
|
|
954
|
+
const row = viewport.querySelector(VirtualListResources.formatVirtualListRowSelector(stop));
|
|
955
|
+
if (Object.isNull(row) || !(this.isFocusPending || this.isFocused() && !row.contains(this.document.activeElement)))
|
|
956
|
+
return;
|
|
957
|
+
this.isFocusPending = false;
|
|
958
|
+
row.focus({ preventScroll: true });
|
|
959
|
+
}
|
|
960
|
+
padRowsWithoutBinding(top) {
|
|
961
|
+
this.list().nativeElement.style.paddingTop = `${top}px`;
|
|
962
|
+
}
|
|
963
|
+
keepClamp(viewport) {
|
|
964
|
+
const top = viewport.scrollTop;
|
|
965
|
+
if (Object.isNull(this.pendingTop) && Object.isNull(this.heldHeight()) && this.domTop - top >= 1 && Math.abs(viewport.scrollHeight - viewport.clientHeight - top) < 1)
|
|
966
|
+
this.domTop = top;
|
|
967
|
+
}
|
|
968
|
+
reserve() {
|
|
969
|
+
const { ledger } = this.state();
|
|
970
|
+
for (const { nativeElement: slot } of this.slots()) {
|
|
971
|
+
const images = [...slot.getElementsByTagName(VirtualListResources.virtualListImageTag)].filter(t => !t.complete);
|
|
972
|
+
if (images.length === 0 || this.reserved.has(slot))
|
|
973
|
+
continue;
|
|
974
|
+
this.reserved.add(slot);
|
|
975
|
+
slot.style.minHeight = `${ledger.heightOf(Number(slot.getAttribute(Resources.virtualListRowAttribute)))}px`;
|
|
976
|
+
void Promise.allSettled(images.map(t => t.decode())).then(() => {
|
|
977
|
+
slot.style.minHeight = String.empty;
|
|
978
|
+
this.reserved.delete(slot);
|
|
979
|
+
});
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
observe(elements) {
|
|
983
|
+
const wanted = new Set(elements);
|
|
984
|
+
for (const element of this.observed)
|
|
985
|
+
if (!wanted.has(element)) {
|
|
986
|
+
this.observer.unobserve(element);
|
|
987
|
+
this.observed.delete(element);
|
|
988
|
+
}
|
|
989
|
+
for (const element of wanted)
|
|
990
|
+
if (!this.observed.has(element)) {
|
|
991
|
+
this.observer.observe(element);
|
|
992
|
+
this.observed.add(element);
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: VirtualListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
996
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.5", type: VirtualListComponent, isStandalone: true, selector: "nol-virtual-list", inputs: { source: { classPropertyName: "source", publicName: "source", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, kind: { classPropertyName: "kind", publicName: "kind", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null }, readAhead: { classPropertyName: "readAhead", publicName: "readAhead", isSignal: true, isRequired: false, transformFunction: null }, latest: { classPropertyName: "latest", publicName: "latest", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { activated: "activated", positionChange: "positionChange", jumped: "jumped", failed: "failed" }, queries: [{ propertyName: "rowTemplate", first: true, predicate: VirtualRowDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "viewport", first: true, predicate: ["viewport"], descendants: true, isSignal: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, isSignal: true }, { propertyName: "slots", predicate: ["slot"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div #viewport class=\"nol-virtual-list-viewport\" [class.nol-virtual-list-pointer-focus]=\"isPointerFocused()\" [attr.role]=\"isFeed() ? 'feed' : null\"\n [attr.aria-label]=\"isFeed() ? label() : null\" [attr.aria-busy]=\"isFeed() ? isBusy() : null\" [attr.tabindex]=\"isFeed() ? 0 : null\" (scroll)=\"onScroll()\" (scrollend)=\"endScroll()\"\n (pointerdown)=\"point($event)\" (focusin)=\"enterFeed($event)\" (keydown)=\"pressInFeed($event)\">\n <div #list class=\"nol-virtual-list-rows\" [attr.role]=\"isFeed() ? null : 'listbox'\" [attr.aria-label]=\"isFeed() ? null : label()\" [attr.aria-busy]=\"isFeed() ? null : isBusy()\"\n [class.nol-virtual-list-rows-held]=\"heldHeight() !== null\" [style.height.px]=\"heldHeight()\"\n [style.padding-bottom.px]=\"heldHeight() === null ? range().bottom : 0\" (focusout)=\"leave($event)\">\n @for (row of rows(); track row.track) {\n <div #slot class=\"nol-virtual-list-slot\" [attr.data-nol-row]=\"row.index\" [class.nol-virtual-list-slot-outside]=\"row.top !== null\" [class.nol-virtual-list-slot-hidden]=\"row.isHidden\" [style.top.px]=\"row.top === null ? heldTop() : row.top - shift()\"\n [style.height.px]=\"row.context || row.isHidden ? null : row.height\">\n <div class=\"nol-virtual-list-row\" [class.nol-virtual-list-option]=\"!isFeed()\" [class.nol-virtual-list-option-selected]=\"!isFeed() && row.isSelected\"\n [attr.role]=\"row.isHidden ? null : isFeed() ? 'article' : 'option'\" [attr.aria-selected]=\"isFeed() ? null : row.isSelected\"\n [attr.aria-labelledby]=\"isFeed() && row.context ? row.labelId : null\" [attr.aria-describedby]=\"isFeed() && row.context && rowTemplate().described() ? row.descriptionId : null\"\n [attr.aria-posinset]=\"row.index + 1\" [attr.aria-setsize]=\"state().source.length()\" [attr.aria-hidden]=\"row.context || row.isStop ? null : true\"\n [attr.tabindex]=\"row.isStop && !isFeed() ? 0 : row.context ? -1 : null\" (focusin)=\"enter(row.index)\" (keydown)=\"press($event, row.index)\"\n (click)=\"choose(row.index, $event.target)\">\n @if (row.context; as context) {\n <ng-container *ngTemplateOutlet=\"rowTemplate().template; context: context\" />\n }\n </div>\n </div>\n }\n </div>\n</div>\n<div class=\"nol-virtual-list-status\" [class.nol-virtual-list-edge-end]=\"gap()?.isAtStart === false\" [class.nol-virtual-list-status-shown]=\"gap()?.isFailed === false && gap()?.isSlow\">\n @if (gap()?.isFailed === false && gap()?.isSlow) {\n {{ partResources.virtualListLoading }}\n }\n</div>\n@if (gap()?.isFailed) {\n <div class=\"nol-virtual-list-failure\" [class.nol-virtual-list-edge-end]=\"gap()?.isAtStart === false\">\n <nol-field-message>{{ partResources.virtualListFailed }}</nol-field-message>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"retry()\">{{ partResources.virtualListRetry }}</button>\n </div>\n}\n@if (isFeed()) {\n <button type=\"button\" nol-icon-button class=\"nol-virtual-list-jump\" [class.nol-virtual-list-jump-shown]=\"!isFollowing() && !isJumpHeld()\" [class.nol-virtual-list-jump-start]=\"isLatestAtStart()\"\n [icon]=\"isLatestAtStart() ? partResources.virtualListJumpStartGlyph : partResources.virtualListJumpGlyph\"\n [label]=\"partResources.virtualListJumpLabel\" [nolTooltip]=\"partResources.virtualListJumpLabel\" (click)=\"jump($event)\"></button>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n grid-template: minmax(0, 1fr) / minmax(0, 1fr);\n min-height: 0;\n}\n\n.nol-virtual-list-viewport {\n grid-area: 1 / 1;\n overflow-x: hidden;\n overflow-y: auto;\n overflow-anchor: none;\n scrollbar-gutter: stable;\n}\n\n.nol-virtual-list-rows {\n position: relative;\n}\n\n.nol-virtual-list-slot {\n box-sizing: border-box;\n padding-block-end: var(--nol-space-1);\n}\n\n.nol-virtual-list-rows[role=\"listbox\"] > .nol-virtual-list-slot {\n padding-block-end: var(--nol-row-gap);\n}\n\n.nol-virtual-list-slot-hidden {\n padding-block-end: 0;\n}\n\n.nol-virtual-list-slot-outside {\n position: absolute;\n inset-inline: 0;\n}\n\n.nol-virtual-list-rows-held {\n overflow: clip;\n}\n\n.nol-virtual-list-rows-held > .nol-virtual-list-slot:not(.nol-virtual-list-slot-outside) {\n position: relative;\n}\n\n.nol-virtual-list-row {\n min-width: 0;\n}\n\n.nol-virtual-list-viewport[role=\"feed\"],\n.nol-virtual-list-row[role=\"article\"] {\n outline: none;\n}\n\n.nol-virtual-list-viewport[role=\"feed\"]:is(:focus-visible:not(.nol-virtual-list-pointer-focus), [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-virtual-list-option {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-height: var(--nol-tree-row-height);\n padding-inline: var(--nol-space-2);\n border-radius: var(--nol-radius-small);\n color: var(--nol-text);\n overflow-wrap: anywhere;\n}\n\n.nol-virtual-list-option:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-virtual-list-option-selected,\n.nol-virtual-list-option-selected:is(:hover, [data-nol-state=\"Hover\"]) {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n}\n\n@media (forced-colors: active) {\n .nol-virtual-list-option-selected,\n .nol-virtual-list-option-selected:is(:hover, [data-nol-state=\"Hover\"]) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-virtual-list-status,\n.nol-virtual-list-failure {\n z-index: 1;\n grid-area: 1 / 1;\n align-self: start;\n background-color: var(--nol-panel);\n}\n\n.nol-virtual-list-edge-end {\n align-self: end;\n}\n\n.nol-virtual-list-status-shown {\n padding: var(--nol-space-2);\n color: var(--nol-text-muted);\n}\n\n.nol-virtual-list-failure {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-2);\n\n nol-field-message {\n flex: 1 1 0;\n margin-top: 0;\n }\n}\n\n.nol-virtual-list-jump {\n z-index: 1;\n grid-area: 1 / 1;\n align-self: end;\n justify-self: center;\n min-width: max(var(--nol-icon-button-target), var(--nol-button-height));\n min-height: max(var(--nol-icon-button-target), var(--nol-button-height));\n margin-block-end: var(--nol-space-3);\n opacity: 0;\n visibility: hidden;\n transition: opacity 150ms linear, visibility 0s linear 150ms;\n}\n\n.nol-virtual-list-jump::before {\n box-sizing: border-box;\n width: var(--nol-button-height);\n height: var(--nol-button-height);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: 50%;\n background-color: var(--nol-raised);\n}\n\n.nol-virtual-list-jump:not(:disabled):is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-hover);\n}\n\n.nol-virtual-list-jump-start {\n align-self: start;\n margin-block: var(--nol-space-3) 0;\n}\n\n.nol-virtual-list-jump-shown {\n opacity: 1;\n visibility: visible;\n transition: opacity 150ms linear;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .nol-virtual-list-jump,\n .nol-virtual-list-jump-shown {\n transition: none;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: FieldMessageComponent, selector: "nol-field-message", inputs: ["kind"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
997
|
+
}
|
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.5", ngImport: i0, type: VirtualListComponent, decorators: [{
|
|
999
|
+
type: Component,
|
|
1000
|
+
args: [{ selector: "nol-virtual-list", imports: [ButtonComponent, FieldMessageComponent, IconButtonComponent, NgTemplateOutlet, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div #viewport class=\"nol-virtual-list-viewport\" [class.nol-virtual-list-pointer-focus]=\"isPointerFocused()\" [attr.role]=\"isFeed() ? 'feed' : null\"\n [attr.aria-label]=\"isFeed() ? label() : null\" [attr.aria-busy]=\"isFeed() ? isBusy() : null\" [attr.tabindex]=\"isFeed() ? 0 : null\" (scroll)=\"onScroll()\" (scrollend)=\"endScroll()\"\n (pointerdown)=\"point($event)\" (focusin)=\"enterFeed($event)\" (keydown)=\"pressInFeed($event)\">\n <div #list class=\"nol-virtual-list-rows\" [attr.role]=\"isFeed() ? null : 'listbox'\" [attr.aria-label]=\"isFeed() ? null : label()\" [attr.aria-busy]=\"isFeed() ? null : isBusy()\"\n [class.nol-virtual-list-rows-held]=\"heldHeight() !== null\" [style.height.px]=\"heldHeight()\"\n [style.padding-bottom.px]=\"heldHeight() === null ? range().bottom : 0\" (focusout)=\"leave($event)\">\n @for (row of rows(); track row.track) {\n <div #slot class=\"nol-virtual-list-slot\" [attr.data-nol-row]=\"row.index\" [class.nol-virtual-list-slot-outside]=\"row.top !== null\" [class.nol-virtual-list-slot-hidden]=\"row.isHidden\" [style.top.px]=\"row.top === null ? heldTop() : row.top - shift()\"\n [style.height.px]=\"row.context || row.isHidden ? null : row.height\">\n <div class=\"nol-virtual-list-row\" [class.nol-virtual-list-option]=\"!isFeed()\" [class.nol-virtual-list-option-selected]=\"!isFeed() && row.isSelected\"\n [attr.role]=\"row.isHidden ? null : isFeed() ? 'article' : 'option'\" [attr.aria-selected]=\"isFeed() ? null : row.isSelected\"\n [attr.aria-labelledby]=\"isFeed() && row.context ? row.labelId : null\" [attr.aria-describedby]=\"isFeed() && row.context && rowTemplate().described() ? row.descriptionId : null\"\n [attr.aria-posinset]=\"row.index + 1\" [attr.aria-setsize]=\"state().source.length()\" [attr.aria-hidden]=\"row.context || row.isStop ? null : true\"\n [attr.tabindex]=\"row.isStop && !isFeed() ? 0 : row.context ? -1 : null\" (focusin)=\"enter(row.index)\" (keydown)=\"press($event, row.index)\"\n (click)=\"choose(row.index, $event.target)\">\n @if (row.context; as context) {\n <ng-container *ngTemplateOutlet=\"rowTemplate().template; context: context\" />\n }\n </div>\n </div>\n }\n </div>\n</div>\n<div class=\"nol-virtual-list-status\" [class.nol-virtual-list-edge-end]=\"gap()?.isAtStart === false\" [class.nol-virtual-list-status-shown]=\"gap()?.isFailed === false && gap()?.isSlow\">\n @if (gap()?.isFailed === false && gap()?.isSlow) {\n {{ partResources.virtualListLoading }}\n }\n</div>\n@if (gap()?.isFailed) {\n <div class=\"nol-virtual-list-failure\" [class.nol-virtual-list-edge-end]=\"gap()?.isAtStart === false\">\n <nol-field-message>{{ partResources.virtualListFailed }}</nol-field-message>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"retry()\">{{ partResources.virtualListRetry }}</button>\n </div>\n}\n@if (isFeed()) {\n <button type=\"button\" nol-icon-button class=\"nol-virtual-list-jump\" [class.nol-virtual-list-jump-shown]=\"!isFollowing() && !isJumpHeld()\" [class.nol-virtual-list-jump-start]=\"isLatestAtStart()\"\n [icon]=\"isLatestAtStart() ? partResources.virtualListJumpStartGlyph : partResources.virtualListJumpGlyph\"\n [label]=\"partResources.virtualListJumpLabel\" [nolTooltip]=\"partResources.virtualListJumpLabel\" (click)=\"jump($event)\"></button>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n grid-template: minmax(0, 1fr) / minmax(0, 1fr);\n min-height: 0;\n}\n\n.nol-virtual-list-viewport {\n grid-area: 1 / 1;\n overflow-x: hidden;\n overflow-y: auto;\n overflow-anchor: none;\n scrollbar-gutter: stable;\n}\n\n.nol-virtual-list-rows {\n position: relative;\n}\n\n.nol-virtual-list-slot {\n box-sizing: border-box;\n padding-block-end: var(--nol-space-1);\n}\n\n.nol-virtual-list-rows[role=\"listbox\"] > .nol-virtual-list-slot {\n padding-block-end: var(--nol-row-gap);\n}\n\n.nol-virtual-list-slot-hidden {\n padding-block-end: 0;\n}\n\n.nol-virtual-list-slot-outside {\n position: absolute;\n inset-inline: 0;\n}\n\n.nol-virtual-list-rows-held {\n overflow: clip;\n}\n\n.nol-virtual-list-rows-held > .nol-virtual-list-slot:not(.nol-virtual-list-slot-outside) {\n position: relative;\n}\n\n.nol-virtual-list-row {\n min-width: 0;\n}\n\n.nol-virtual-list-viewport[role=\"feed\"],\n.nol-virtual-list-row[role=\"article\"] {\n outline: none;\n}\n\n.nol-virtual-list-viewport[role=\"feed\"]:is(:focus-visible:not(.nol-virtual-list-pointer-focus), [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-virtual-list-option {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-height: var(--nol-tree-row-height);\n padding-inline: var(--nol-space-2);\n border-radius: var(--nol-radius-small);\n color: var(--nol-text);\n overflow-wrap: anywhere;\n}\n\n.nol-virtual-list-option:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-virtual-list-option-selected,\n.nol-virtual-list-option-selected:is(:hover, [data-nol-state=\"Hover\"]) {\n --nol-text-muted: var(--nol-text);\n background-color: var(--nol-selected);\n}\n\n@media (forced-colors: active) {\n .nol-virtual-list-option-selected,\n .nol-virtual-list-option-selected:is(:hover, [data-nol-state=\"Hover\"]) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n.nol-virtual-list-status,\n.nol-virtual-list-failure {\n z-index: 1;\n grid-area: 1 / 1;\n align-self: start;\n background-color: var(--nol-panel);\n}\n\n.nol-virtual-list-edge-end {\n align-self: end;\n}\n\n.nol-virtual-list-status-shown {\n padding: var(--nol-space-2);\n color: var(--nol-text-muted);\n}\n\n.nol-virtual-list-failure {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n padding: var(--nol-space-2);\n\n nol-field-message {\n flex: 1 1 0;\n margin-top: 0;\n }\n}\n\n.nol-virtual-list-jump {\n z-index: 1;\n grid-area: 1 / 1;\n align-self: end;\n justify-self: center;\n min-width: max(var(--nol-icon-button-target), var(--nol-button-height));\n min-height: max(var(--nol-icon-button-target), var(--nol-button-height));\n margin-block-end: var(--nol-space-3);\n opacity: 0;\n visibility: hidden;\n transition: opacity 150ms linear, visibility 0s linear 150ms;\n}\n\n.nol-virtual-list-jump::before {\n box-sizing: border-box;\n width: var(--nol-button-height);\n height: var(--nol-button-height);\n border: var(--nol-border-width) solid var(--nol-border);\n border-radius: 50%;\n background-color: var(--nol-raised);\n}\n\n.nol-virtual-list-jump:not(:disabled):is(:hover, [data-nol-state=\"Hover\"])::before {\n background-color: var(--nol-hover);\n}\n\n.nol-virtual-list-jump-start {\n align-self: start;\n margin-block: var(--nol-space-3) 0;\n}\n\n.nol-virtual-list-jump-shown {\n opacity: 1;\n visibility: visible;\n transition: opacity 150ms linear;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .nol-virtual-list-jump,\n .nol-virtual-list-jump-shown {\n transition: none;\n }\n}\n"] }]
|
|
1001
|
+
}], ctorParameters: () => [], propDecorators: { viewport: [{ type: i0.ViewChild, args: ["viewport", { isSignal: true }] }], list: [{ type: i0.ViewChild, args: ["list", { isSignal: true }] }], slots: [{ type: i0.ViewChildren, args: ["slot", { isSignal: true }] }], rowTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => VirtualRowDirective), { isSignal: true }] }], source: [{ type: i0.Input, args: [{ isSignal: true, alias: "source", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], kind: [{ type: i0.Input, args: [{ isSignal: true, alias: "kind", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }], readAhead: [{ type: i0.Input, args: [{ isSignal: true, alias: "readAhead", required: false }] }], latest: [{ type: i0.Input, args: [{ isSignal: true, alias: "latest", required: false }] }], activated: [{ type: i0.Output, args: ["activated"] }], positionChange: [{ type: i0.Output, args: ["positionChange"] }], jumped: [{ type: i0.Output, args: ["jumped"] }], failed: [{ type: i0.Output, args: ["failed"] }] } });
|
|
1002
|
+
//# sourceMappingURL=virtual-list.component.js.map
|