@noldova/git.window 0.0.5 → 0.0.7
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/package.json +34 -9
- package/src/api/index.d.ts +1593 -16
- package/src/api/index.js +33 -0
- package/src/api/index.js.map +1 -1
- package/src/app/components/git-account-dialog/git-account-dialog.component.js +29 -0
- package/src/app/components/git-account-dialog/git-account-dialog.component.js.map +1 -0
- package/src/app/components/git-accounts/git-accounts.component.js +44 -0
- package/src/app/components/git-accounts/git-accounts.component.js.map +1 -0
- package/src/app/components/git-agents/git-agents.component.js +54 -0
- package/src/app/components/git-agents/git-agents.component.js.map +1 -0
- package/src/app/components/git-branch-card/git-branch-card.component.js +6 -4
- package/src/app/components/git-branch-card/git-branch-card.component.js.map +1 -1
- package/src/app/components/git-branch-drop/git-branch-drop.component.js +84 -0
- package/src/app/components/git-branch-drop/git-branch-drop.component.js.map +1 -0
- package/src/app/components/git-bulk-branch-dialog/git-bulk-branch-dialog.component.js +38 -0
- package/src/app/components/git-bulk-branch-dialog/git-bulk-branch-dialog.component.js.map +1 -0
- package/src/app/components/git-bulk-push-dialog/git-bulk-push-dialog.component.js +34 -0
- package/src/app/components/git-bulk-push-dialog/git-bulk-push-dialog.component.js.map +1 -0
- package/src/app/components/git-command-log/git-command-log.component.js +91 -0
- package/src/app/components/git-command-log/git-command-log.component.js.map +1 -0
- package/src/app/components/git-commit-card/git-commit-card.component.js +41 -6
- package/src/app/components/git-commit-card/git-commit-card.component.js.map +1 -1
- package/src/app/components/git-commit-detail/git-commit-detail.component.js +263 -0
- package/src/app/components/git-commit-detail/git-commit-detail.component.js.map +1 -0
- package/src/app/components/git-commit-detail-view/git-commit-detail-view.component.js +27 -0
- package/src/app/components/git-commit-detail-view/git-commit-detail-view.component.js.map +1 -0
- package/src/app/components/git-conflict-detail/git-conflict-detail.component.js +26 -0
- package/src/app/components/git-conflict-detail/git-conflict-detail.component.js.map +1 -0
- package/src/app/components/git-conflicts/git-conflicts.component.js +251 -0
- package/src/app/components/git-conflicts/git-conflicts.component.js.map +1 -0
- package/src/app/components/git-diff-files/git-diff-files.component.js +178 -0
- package/src/app/components/git-diff-files/git-diff-files.component.js.map +1 -0
- package/src/app/components/git-discard-dialog/git-discard-dialog.component.js +29 -0
- package/src/app/components/git-discard-dialog/git-discard-dialog.component.js.map +1 -0
- package/src/app/components/git-file-group/git-file-group.component.js +78 -5
- package/src/app/components/git-file-group/git-file-group.component.js.map +1 -1
- package/src/app/components/git-file-layout-button/git-file-layout-button.component.js +23 -0
- package/src/app/components/git-file-layout-button/git-file-layout-button.component.js.map +1 -0
- package/src/app/components/git-force-push-dialog/git-force-push-dialog.component.js +30 -0
- package/src/app/components/git-force-push-dialog/git-force-push-dialog.component.js.map +1 -0
- package/src/app/components/git-history/git-history.component.js +480 -0
- package/src/app/components/git-history/git-history.component.js.map +1 -0
- package/src/app/components/git-host-row/git-host-row.component.js +3 -4
- package/src/app/components/git-host-row/git-host-row.component.js.map +1 -1
- package/src/app/components/git-person-avatar/git-person-avatar.component.js +44 -0
- package/src/app/components/git-person-avatar/git-person-avatar.component.js.map +1 -0
- package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js +118 -0
- package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js.map +1 -0
- package/src/app/components/git-pull-request-conflicts/git-pull-request-conflicts.component.js +123 -0
- package/src/app/components/git-pull-request-conflicts/git-pull-request-conflicts.component.js.map +1 -0
- package/src/app/components/git-pull-request-files/git-pull-request-files.component.js +228 -0
- package/src/app/components/git-pull-request-files/git-pull-request-files.component.js.map +1 -0
- package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js +211 -0
- package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js.map +1 -0
- package/src/app/components/git-pull-requests/git-pull-requests.component.js +100 -0
- package/src/app/components/git-pull-requests/git-pull-requests.component.js.map +1 -0
- package/src/app/components/git-rebase/git-rebase.component.js +392 -0
- package/src/app/components/git-rebase/git-rebase.component.js.map +1 -0
- package/src/app/components/git-rebase-preview/git-rebase-preview.component.js +34 -0
- package/src/app/components/git-rebase-preview/git-rebase-preview.component.js.map +1 -0
- package/src/app/components/git-reference-text/git-reference-text.component.js +56 -0
- package/src/app/components/git-reference-text/git-reference-text.component.js.map +1 -0
- package/src/app/components/git-repository/git-repository.component.js +289 -0
- package/src/app/components/git-repository/git-repository.component.js.map +1 -0
- package/src/app/components/git-switch-merge-dialog/git-switch-merge-dialog.component.js +27 -0
- package/src/app/components/git-switch-merge-dialog/git-switch-merge-dialog.component.js.map +1 -0
- package/src/app/components/git-undo-menu/git-undo-menu.component.js +40 -0
- package/src/app/components/git-undo-menu/git-undo-menu.component.js.map +1 -0
- package/src/app/components/git-view/git-view.component.js +62 -10
- package/src/app/components/git-view/git-view.component.js.map +1 -1
- package/src/app/components/git-workspace/git-visible.directive.js +27 -0
- package/src/app/components/git-workspace/git-visible.directive.js.map +1 -0
- package/src/app/components/git-workspace/git-workspace.component.js +301 -0
- package/src/app/components/git-workspace/git-workspace.component.js.map +1 -0
- package/src/app/components/git-workspace-across/git-workspace-across.component.js +128 -0
- package/src/app/components/git-workspace-across/git-workspace-across.component.js.map +1 -0
- package/src/app/components/git-workspace-across-view/git-workspace-across-view.component.js +32 -0
- package/src/app/components/git-workspace-across-view/git-workspace-across-view.component.js.map +1 -0
- package/src/app/components/git-workspaces/git-workspaces.component.js +55 -0
- package/src/app/components/git-workspaces/git-workspaces.component.js.map +1 -0
- package/src/app/enums/git-agent-state.js +15 -0
- package/src/app/enums/git-agent-state.js.map +1 -0
- package/src/app/enums/git-file-layout.js +14 -0
- package/src/app/enums/git-file-layout.js.map +1 -0
- package/src/app/enums/git-history-action.js +19 -0
- package/src/app/enums/git-history-action.js.map +1 -0
- package/src/app/enums/git-host-card-state.js +15 -0
- package/src/app/enums/git-host-card-state.js.map +1 -0
- package/src/app/enums/git-host-feature.js +17 -0
- package/src/app/enums/git-host-feature.js.map +1 -0
- package/src/app/enums/git-pull-request-state.js +15 -0
- package/src/app/enums/git-pull-request-state.js.map +1 -0
- package/src/app/enums/git-pull-requests-state.js +15 -0
- package/src/app/enums/git-pull-requests-state.js.map +1 -0
- package/src/app/enums/git-resolved-by.js +16 -0
- package/src/app/enums/git-resolved-by.js.map +1 -0
- package/src/app/enums/git-workspace-view.js +15 -0
- package/src/app/enums/git-workspace-view.js.map +1 -0
- package/src/app/interfaces/i-git-agents.js +8 -0
- package/src/app/interfaces/i-git-agents.js.map +1 -0
- package/src/app/interfaces/i-git-avatars.js +8 -0
- package/src/app/interfaces/i-git-avatars.js.map +1 -0
- package/src/app/interfaces/i-git-commit-prefixes.js +8 -0
- package/src/app/interfaces/i-git-commit-prefixes.js.map +1 -0
- package/src/app/interfaces/i-git-host-account.js +8 -0
- package/src/app/interfaces/i-git-host-account.js.map +1 -0
- package/src/app/interfaces/i-git-link-references.js +8 -0
- package/src/app/interfaces/i-git-link-references.js.map +1 -0
- package/src/app/interfaces/i-git-pull-request-host.js +8 -0
- package/src/app/interfaces/i-git-pull-request-host.js.map +1 -0
- package/src/app/interfaces/i-git-pull-requests.js +8 -0
- package/src/app/interfaces/i-git-pull-requests.js.map +1 -0
- package/src/app/interfaces/i-git-repository-links.js +8 -0
- package/src/app/interfaces/i-git-repository-links.js.map +1 -0
- package/src/app/interfaces/i-git-workspace-across-page.js +8 -0
- package/src/app/interfaces/i-git-workspace-across-page.js.map +1 -0
- package/src/app/interfaces/i-provided-git-commit-prefixes.js +8 -0
- package/src/app/interfaces/i-provided-git-commit-prefixes.js.map +1 -0
- package/src/app/interfaces/i-provided-git-host-account.js +8 -0
- package/src/app/interfaces/i-provided-git-host-account.js.map +1 -0
- package/src/app/models/focus-place.js +16 -0
- package/src/app/models/focus-place.js.map +1 -0
- package/src/app/models/focus-survivor.js +16 -0
- package/src/app/models/focus-survivor.js.map +1 -0
- package/src/app/models/git-agent-row.js +20 -0
- package/src/app/models/git-agent-row.js.map +1 -0
- package/src/app/models/git-branch-drop.js +40 -0
- package/src/app/models/git-branch-drop.js.map +1 -0
- package/src/app/models/git-branch-menu-item.js +3 -2
- package/src/app/models/git-branch-menu-item.js.map +1 -1
- package/src/app/models/git-branch-pull-request.js +49 -0
- package/src/app/models/git-branch-pull-request.js.map +1 -0
- package/src/app/models/git-branch-row.js +24 -0
- package/src/app/models/git-branch-row.js.map +1 -0
- package/src/app/models/git-branch-tree-node.js +16 -0
- package/src/app/models/git-branch-tree-node.js.map +1 -0
- package/src/app/models/git-branch-view.js +27 -0
- package/src/app/models/git-branch-view.js.map +1 -0
- package/src/app/models/git-bulk-outcome.js +16 -0
- package/src/app/models/git-bulk-outcome.js.map +1 -0
- package/src/app/models/git-bulk-result.js +18 -0
- package/src/app/models/git-bulk-result.js.map +1 -0
- package/src/app/models/git-bulk-target.js +22 -0
- package/src/app/models/git-bulk-target.js.map +1 -0
- package/src/app/models/git-check-counts.js +19 -0
- package/src/app/models/git-check-counts.js.map +1 -0
- package/src/app/models/git-chip-drag.js +20 -0
- package/src/app/models/git-chip-drag.js.map +1 -0
- package/src/app/models/git-chip-split.js +16 -0
- package/src/app/models/git-chip-split.js.map +1 -0
- package/src/app/models/git-code-span.js +54 -0
- package/src/app/models/git-code-span.js.map +1 -0
- package/src/app/models/git-comments-link.js +16 -0
- package/src/app/models/git-comments-link.js.map +1 -0
- package/src/app/models/git-commit-comments.js +18 -0
- package/src/app/models/git-commit-comments.js.map +1 -0
- package/src/app/models/git-commit-file-row.js +28 -0
- package/src/app/models/git-commit-file-row.js.map +1 -0
- package/src/app/models/git-commit-pull-request.js +28 -0
- package/src/app/models/git-commit-pull-request.js.map +1 -0
- package/src/app/models/git-commit-view.js +16 -0
- package/src/app/models/git-commit-view.js.map +1 -0
- package/src/app/models/git-conflict-detail.js +20 -0
- package/src/app/models/git-conflict-detail.js.map +1 -0
- package/src/app/models/git-detail-front.js +16 -0
- package/src/app/models/git-detail-front.js.map +1 -0
- package/src/app/models/git-detail-page.js +16 -0
- package/src/app/models/git-detail-page.js.map +1 -0
- package/src/app/models/git-diff-row.js +19 -8
- package/src/app/models/git-diff-row.js.map +1 -1
- package/src/app/models/git-file-group.js +2 -1
- package/src/app/models/git-file-group.js.map +1 -1
- package/src/app/models/git-file-item.js +22 -0
- package/src/app/models/git-file-item.js.map +1 -0
- package/src/app/models/git-file-line.js +16 -0
- package/src/app/models/git-file-line.js.map +1 -0
- package/src/app/models/git-file-row.js +4 -3
- package/src/app/models/git-file-row.js.map +1 -1
- package/src/app/models/git-first-conflicts-read.js +16 -0
- package/src/app/models/git-first-conflicts-read.js.map +1 -0
- package/src/app/models/git-folder-page.js +16 -0
- package/src/app/models/git-folder-page.js.map +1 -0
- package/src/app/models/git-force-push-offer.js +25 -0
- package/src/app/models/git-force-push-offer.js.map +1 -0
- package/src/app/models/git-graph-line.js +22 -0
- package/src/app/models/git-graph-line.js.map +1 -0
- package/src/app/models/git-graph-row.js +26 -0
- package/src/app/models/git-graph-row.js.map +1 -0
- package/src/app/models/git-history-ask.js +16 -0
- package/src/app/models/git-history-ask.js.map +1 -0
- package/src/app/models/git-history-row.js +39 -0
- package/src/app/models/git-history-row.js.map +1 -0
- package/src/app/models/git-history-toolbar.js +16 -0
- package/src/app/models/git-history-toolbar.js.map +1 -0
- package/src/app/models/git-host-card.js +24 -0
- package/src/app/models/git-host-card.js.map +1 -0
- package/src/app/models/git-host-row-view.js +9 -0
- package/src/app/models/git-host-row-view.js.map +1 -0
- package/src/app/models/git-host-tally.js +16 -0
- package/src/app/models/git-host-tally.js.map +1 -0
- package/src/app/models/git-labeled-prediction.js +16 -0
- package/src/app/models/git-labeled-prediction.js.map +1 -0
- package/src/app/models/git-lane-target.js +16 -0
- package/src/app/models/git-lane-target.js.map +1 -0
- package/src/app/models/git-lane.js +21 -0
- package/src/app/models/git-lane.js.map +1 -0
- package/src/app/models/git-last-write.js +18 -0
- package/src/app/models/git-last-write.js.map +1 -0
- package/src/app/models/git-line-counts.js +20 -0
- package/src/app/models/git-line-counts.js.map +1 -0
- package/src/app/models/git-marked-line.js +19 -0
- package/src/app/models/git-marked-line.js.map +1 -0
- package/src/app/models/git-moving-folder.js +16 -0
- package/src/app/models/git-moving-folder.js.map +1 -0
- package/src/app/models/git-operation-name.js +17 -0
- package/src/app/models/git-operation-name.js.map +1 -0
- package/src/app/models/git-path-entry.js +20 -0
- package/src/app/models/git-path-entry.js.map +1 -0
- package/src/app/models/git-predicted-line.js +18 -0
- package/src/app/models/git-predicted-line.js.map +1 -0
- package/src/app/models/git-prediction-ask.js +16 -0
- package/src/app/models/git-prediction-ask.js.map +1 -0
- package/src/app/models/git-provided-pull-requests.js +16 -0
- package/src/app/models/git-provided-pull-requests.js.map +1 -0
- package/src/app/models/git-pull-request-list.js +33 -0
- package/src/app/models/git-pull-request-list.js.map +1 -0
- package/src/app/models/git-pull-request-read.js +16 -0
- package/src/app/models/git-pull-request-read.js.map +1 -0
- package/src/app/models/git-pull-request-row.js +34 -0
- package/src/app/models/git-pull-request-row.js.map +1 -0
- package/src/app/models/git-pull-request-stack.js +18 -0
- package/src/app/models/git-pull-request-stack.js.map +1 -0
- package/src/app/models/git-rebase-landing.js +16 -0
- package/src/app/models/git-rebase-landing.js.map +1 -0
- package/src/app/models/git-rebase-preview.js +38 -0
- package/src/app/models/git-rebase-preview.js.map +1 -0
- package/src/app/models/git-rebase-row-plan.js +16 -0
- package/src/app/models/git-rebase-row-plan.js.map +1 -0
- package/src/app/models/git-rebase-row.js +82 -0
- package/src/app/models/git-rebase-row.js.map +1 -0
- package/src/app/models/git-rebase-start.js +16 -0
- package/src/app/models/git-rebase-start.js.map +1 -0
- package/src/app/models/git-ref-chip.js +75 -0
- package/src/app/models/git-ref-chip.js.map +1 -0
- package/src/app/models/git-reference-part.js +45 -0
- package/src/app/models/git-reference-part.js.map +1 -0
- package/src/app/models/git-repository-link.js +25 -0
- package/src/app/models/git-repository-link.js.map +1 -0
- package/src/app/models/git-repository-summary.js +60 -0
- package/src/app/models/git-repository-summary.js.map +1 -0
- package/src/app/models/git-resolved-file.js +16 -0
- package/src/app/models/git-resolved-file.js.map +1 -0
- package/src/app/models/git-reviews-read.js +18 -0
- package/src/app/models/git-reviews-read.js.map +1 -0
- package/src/app/models/git-row-pull-request.js +16 -0
- package/src/app/models/git-row-pull-request.js.map +1 -0
- package/src/app/models/git-shared-branch.js +16 -0
- package/src/app/models/git-shared-branch.js.map +1 -0
- package/src/app/models/git-signing-read.js +16 -0
- package/src/app/models/git-signing-read.js.map +1 -0
- package/src/app/models/git-status-bar-items.js +18 -0
- package/src/app/models/git-status-bar-items.js.map +1 -0
- package/src/app/models/git-switch-target.js +16 -0
- package/src/app/models/git-switch-target.js.map +1 -0
- package/src/app/models/git-text-around.js +18 -0
- package/src/app/models/git-text-around.js.map +1 -0
- package/src/app/models/git-track-counts.js +17 -0
- package/src/app/models/git-track-counts.js.map +1 -0
- package/src/app/models/git-workspace-across.js +22 -0
- package/src/app/models/git-workspace-across.js.map +1 -0
- package/src/app/models/git-workspace-host.js +55 -0
- package/src/app/models/git-workspace-host.js.map +1 -0
- package/src/app/models/git-workspace-overview.js +96 -0
- package/src/app/models/git-workspace-overview.js.map +1 -0
- package/src/app/models/git-workspace-review.js +20 -0
- package/src/app/models/git-workspace-review.js.map +1 -0
- package/src/app/models/git-workspace-reviews.js +16 -0
- package/src/app/models/git-workspace-reviews.js.map +1 -0
- package/src/app/models/git-workspace-row.js +185 -0
- package/src/app/models/git-workspace-row.js.map +1 -0
- package/src/app/models/git-workspace-run.js +23 -0
- package/src/app/models/git-workspace-run.js.map +1 -0
- package/src/app/models/git-workspace-side.js +25 -0
- package/src/app/models/git-workspace-side.js.map +1 -0
- package/src/app/models/git-workspace-view-count.js +16 -0
- package/src/app/models/git-workspace-view-count.js.map +1 -0
- package/src/app/models/git-workspace-view-label.js +16 -0
- package/src/app/models/git-workspace-view-label.js.map +1 -0
- package/src/app/models/git-workspace.js +47 -0
- package/src/app/models/git-workspace.js.map +1 -0
- package/src/app/models/thread-line.js +18 -0
- package/src/app/models/thread-line.js.map +1 -0
- package/src/app/services/commit-labels.js +44 -0
- package/src/app/services/commit-labels.js.map +1 -0
- package/src/app/services/focus-keeper.js +76 -0
- package/src/app/services/focus-keeper.js.map +1 -0
- package/src/app/services/git-agents.js +18 -0
- package/src/app/services/git-agents.js.map +1 -0
- package/src/app/services/git-avatars.js +34 -0
- package/src/app/services/git-avatars.js.map +1 -0
- package/src/app/services/git-branch-tree.js +50 -0
- package/src/app/services/git-branch-tree.js.map +1 -0
- package/src/app/services/git-code-colors.js +56 -0
- package/src/app/services/git-code-colors.js.map +1 -0
- package/src/app/services/git-command-logs.js +33 -0
- package/src/app/services/git-command-logs.js.map +1 -0
- package/src/app/services/git-commit-details.js +22 -0
- package/src/app/services/git-commit-details.js.map +1 -0
- package/src/app/services/git-commit-files.js +35 -0
- package/src/app/services/git-commit-files.js.map +1 -0
- package/src/app/services/git-commit-prefixes.js +32 -0
- package/src/app/services/git-commit-prefixes.js.map +1 -0
- package/src/app/services/git-conflict-details.js +22 -0
- package/src/app/services/git-conflict-details.js.map +1 -0
- package/src/app/services/git-counts.js +17 -0
- package/src/app/services/git-counts.js.map +1 -0
- package/src/app/services/git-detail-view.js +81 -0
- package/src/app/services/git-detail-view.js.map +1 -0
- package/src/app/services/git-file-tree.js +19 -0
- package/src/app/services/git-file-tree.js.map +1 -0
- package/src/app/services/git-folder.js +32 -6
- package/src/app/services/git-folder.js.map +1 -1
- package/src/app/services/git-graph-layout.js +80 -0
- package/src/app/services/git-graph-layout.js.map +1 -0
- package/src/app/services/git-gravatars.js +30 -0
- package/src/app/services/git-gravatars.js.map +1 -0
- package/src/app/services/git-history-asks.js +26 -0
- package/src/app/services/git-history-asks.js.map +1 -0
- package/src/app/services/git-history-rows.js +48 -0
- package/src/app/services/git-history-rows.js.map +1 -0
- package/src/app/services/git-history-selection.js +17 -0
- package/src/app/services/git-history-selection.js.map +1 -0
- package/src/app/services/git-host-accounts.js +33 -0
- package/src/app/services/git-host-accounts.js.map +1 -0
- package/src/app/services/git-last-write-undo.js +99 -0
- package/src/app/services/git-last-write-undo.js.map +1 -0
- package/src/app/services/git-link-reference-set.js +33 -0
- package/src/app/services/git-link-reference-set.js.map +1 -0
- package/src/app/services/git-link-references.js +31 -0
- package/src/app/services/git-link-references.js.map +1 -0
- package/src/app/services/git-new-branch.js +21 -0
- package/src/app/services/git-new-branch.js.map +1 -0
- package/src/app/services/git-path-layout.js +77 -0
- package/src/app/services/git-path-layout.js.map +1 -0
- package/src/app/services/git-pending-switch.js +30 -0
- package/src/app/services/git-pending-switch.js.map +1 -0
- package/src/app/services/git-pull-requests.js +43 -0
- package/src/app/services/git-pull-requests.js.map +1 -0
- package/src/app/services/git-rebase-previews.js +22 -0
- package/src/app/services/git-rebase-previews.js.map +1 -0
- package/src/app/services/git-rebasing.js +48 -0
- package/src/app/services/git-rebasing.js.map +1 -0
- package/src/app/services/git-recent-repositories.js +35 -0
- package/src/app/services/git-recent-repositories.js.map +1 -0
- package/src/app/services/git-repository-links.js +20 -0
- package/src/app/services/git-repository-links.js.map +1 -0
- package/src/app/services/git-repository-summaries.js +146 -0
- package/src/app/services/git-repository-summaries.js.map +1 -0
- package/src/app/services/git-resolving.js +32 -0
- package/src/app/services/git-resolving.js.map +1 -0
- package/src/app/services/git-runtime-client.js +112 -1
- package/src/app/services/git-runtime-client.js.map +1 -1
- package/src/app/services/git-status-bar.js +81 -0
- package/src/app/services/git-status-bar.js.map +1 -0
- package/src/app/services/git-status-follower.js +78 -0
- package/src/app/services/git-status-follower.js.map +1 -0
- package/src/app/services/git-view-options.js +15 -0
- package/src/app/services/git-view-options.js.map +1 -0
- package/src/app/services/git-view-state.service.js +232 -17
- package/src/app/services/git-view-state.service.js.map +1 -1
- package/src/app/services/git-viewing.js +31 -0
- package/src/app/services/git-viewing.js.map +1 -0
- package/src/app/services/git-window-part.js +93 -4
- package/src/app/services/git-window-part.js.map +1 -1
- package/src/app/services/git-window-storage.js +27 -0
- package/src/app/services/git-window-storage.js.map +1 -0
- package/src/app/services/git-workspace-across-views.js +22 -0
- package/src/app/services/git-workspace-across-views.js.map +1 -0
- package/src/app/services/git-workspace-bulk.js +81 -0
- package/src/app/services/git-workspace-bulk.js.map +1 -0
- package/src/app/services/git-workspace-pages.js +25 -0
- package/src/app/services/git-workspace-pages.js.map +1 -0
- package/src/app/services/git-workspace-pull-requests.js +199 -0
- package/src/app/services/git-workspace-pull-requests.js.map +1 -0
- package/src/app/services/git-workspace-sides.js +22 -0
- package/src/app/services/git-workspace-sides.js.map +1 -0
- package/src/app/services/git-workspaces.js +58 -0
- package/src/app/services/git-workspaces.js.map +1 -0
- package/src/resources.js +1153 -13
- package/src/resources.js.map +1 -1
|
@@ -0,0 +1,480 @@
|
|
|
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 { CdkVirtualScrollViewport, ScrollingModule } from "@angular/cdk/scrolling";
|
|
9
|
+
import { afterNextRender, Component, computed, DestroyRef, effect, ErrorHandler, inject, Injector, input, signal, untracked, viewChild } from "@angular/core";
|
|
10
|
+
import "@noldova/context.core";
|
|
11
|
+
import { LinkPlace, WindowPartTokens } from "@noldova/desktop.window";
|
|
12
|
+
import { PredictionAction } from "@noldova/git.protocol";
|
|
13
|
+
import { DialogService, MenuComponent, MenuItemComponent, MenuSeparatorComponent, MenuTriggerDirective, ToolbarButtonComponent, ToolbarDirective, ToolbarItemDirective, TooltipDirective } from "@noldova/ui.components.angular";
|
|
14
|
+
import { GitHistoryAction } from "../../enums/git-history-action.js";
|
|
15
|
+
import { GitBranchDrop } from "../../models/git-branch-drop.js";
|
|
16
|
+
import { GitBranchView } from "../../models/git-branch-view.js";
|
|
17
|
+
import { GitChipDrag } from "../../models/git-chip-drag.js";
|
|
18
|
+
import { GitCommitView } from "../../models/git-commit-view.js";
|
|
19
|
+
import { GitCommitDetails } from "../../services/git-commit-details.js";
|
|
20
|
+
import { GitFolder } from "../../services/git-folder.js";
|
|
21
|
+
import { GitPullRequests } from "../../services/git-pull-requests.js";
|
|
22
|
+
import { GitHistoryAsks } from "../../services/git-history-asks.js";
|
|
23
|
+
import { GitNewBranch } from "../../services/git-new-branch.js";
|
|
24
|
+
import { GitPendingSwitch } from "../../services/git-pending-switch.js";
|
|
25
|
+
import { GitRecentRepositories } from "../../services/git-recent-repositories.js";
|
|
26
|
+
import { GitRebaseTarget, GitRebasing } from "../../services/git-rebasing.js";
|
|
27
|
+
import { GitRuntimeClient } from "../../services/git-runtime-client.js";
|
|
28
|
+
import { GitHistoryRows } from "../../services/git-history-rows.js";
|
|
29
|
+
import { GitViewStateService } from "../../services/git-view-state.service.js";
|
|
30
|
+
import { GitViewing } from "../../services/git-viewing.js";
|
|
31
|
+
import { GitAvatars } from "../../services/git-avatars.js";
|
|
32
|
+
import { Resources } from "../../../resources.js";
|
|
33
|
+
import { GitBranchDropComponent } from "../git-branch-drop/git-branch-drop.component.js";
|
|
34
|
+
import { GitReferenceTextComponent } from "../git-reference-text/git-reference-text.component.js";
|
|
35
|
+
import { GitSwitchMergeDialogComponent } from "../git-switch-merge-dialog/git-switch-merge-dialog.component.js";
|
|
36
|
+
import * as i0 from "@angular/core";
|
|
37
|
+
import * as i1 from "@angular/cdk/scrolling";
|
|
38
|
+
export class GitHistoryComponent {
|
|
39
|
+
context = inject(WindowPartTokens.context);
|
|
40
|
+
client = new GitRuntimeClient(this.context);
|
|
41
|
+
errors = inject(ErrorHandler);
|
|
42
|
+
dialogs = inject(DialogService);
|
|
43
|
+
commits = signal([], /* @ts-ignore */
|
|
44
|
+
...(ngDevMode ? [{ debugName: "commits" }] : /* istanbul ignore next */ []));
|
|
45
|
+
loaded = signal(false, /* @ts-ignore */
|
|
46
|
+
...(ngDevMode ? [{ debugName: "loaded" }] : /* istanbul ignore next */ []));
|
|
47
|
+
hasMore = signal(false, /* @ts-ignore */
|
|
48
|
+
...(ngDevMode ? [{ debugName: "hasMore" }] : /* istanbul ignore next */ []));
|
|
49
|
+
status = signal(null, /* @ts-ignore */
|
|
50
|
+
...(ngDevMode ? [{ debugName: "status" }] : /* istanbul ignore next */ []));
|
|
51
|
+
held = signal(null, /* @ts-ignore */
|
|
52
|
+
...(ngDevMode ? [{ debugName: "held" }] : /* istanbul ignore next */ []));
|
|
53
|
+
viewport = viewChild.required(CdkVirtualScrollViewport, /* @ts-ignore */
|
|
54
|
+
...(ngDevMode ? [{ debugName: "viewport" }] : /* istanbul ignore next */ []));
|
|
55
|
+
row = viewChild.required("row", /* @ts-ignore */
|
|
56
|
+
...(ngDevMode ? [{ debugName: "row" }] : /* istanbul ignore next */ []));
|
|
57
|
+
actions = viewChild.required("actions", /* @ts-ignore */
|
|
58
|
+
...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
59
|
+
field = viewChild.required("field", /* @ts-ignore */
|
|
60
|
+
...(ngDevMode ? [{ debugName: "field" }] : /* istanbul ignore next */ []));
|
|
61
|
+
fitting = signal(Resources.historyToolbars.length, /* @ts-ignore */
|
|
62
|
+
...(ngDevMode ? [{ debugName: "fitting" }] : /* istanbul ignore next */ []));
|
|
63
|
+
injector = inject(Injector);
|
|
64
|
+
jumped = null;
|
|
65
|
+
dragged = null;
|
|
66
|
+
static lists = 0;
|
|
67
|
+
reading = 0;
|
|
68
|
+
list = ++GitHistoryComponent.lists;
|
|
69
|
+
activeOption = computed(() => {
|
|
70
|
+
const at = this.rows().findIndex(t => t.id === this.selectedId());
|
|
71
|
+
return at < 0 ? null : Resources.formatHistoryOptionId(this.list, at);
|
|
72
|
+
}, /* @ts-ignore */
|
|
73
|
+
...(ngDevMode ? [{ debugName: "activeOption" }] : /* istanbul ignore next */ []));
|
|
74
|
+
isPaging = false;
|
|
75
|
+
resources = Resources;
|
|
76
|
+
failure = signal(null, /* @ts-ignore */
|
|
77
|
+
...(ngDevMode ? [{ debugName: "failure" }] : /* istanbul ignore next */ []));
|
|
78
|
+
actionFailure = signal(null, /* @ts-ignore */
|
|
79
|
+
...(ngDevMode ? [{ debugName: "actionFailure" }] : /* istanbul ignore next */ []));
|
|
80
|
+
notLoaded = signal(null, /* @ts-ignore */
|
|
81
|
+
...(ngDevMode ? [{ debugName: "notLoaded" }] : /* istanbul ignore next */ []));
|
|
82
|
+
busy = signal(false, /* @ts-ignore */
|
|
83
|
+
...(ngDevMode ? [{ debugName: "busy" }] : /* istanbul ignore next */ []));
|
|
84
|
+
selectedId = signal(null, /* @ts-ignore */
|
|
85
|
+
...(ngDevMode ? [{ debugName: "selectedId" }] : /* istanbul ignore next */ []));
|
|
86
|
+
dropped = signal(null, /* @ts-ignore */
|
|
87
|
+
...(ngDevMode ? [{ debugName: "dropped" }] : /* istanbul ignore next */ []));
|
|
88
|
+
filter = signal("", /* @ts-ignore */
|
|
89
|
+
...(ngDevMode ? [{ debugName: "filter" }] : /* istanbul ignore next */ []));
|
|
90
|
+
isWide = signal(true, /* @ts-ignore */
|
|
91
|
+
...(ngDevMode ? [{ debugName: "isWide" }] : /* istanbul ignore next */ []));
|
|
92
|
+
chipLimit = signal(Resources.rowChipLimit, /* @ts-ignore */
|
|
93
|
+
...(ngDevMode ? [{ debugName: "chipLimit" }] : /* istanbul ignore next */ []));
|
|
94
|
+
shownToolbars = computed(() => Resources.historyToolbars.slice(0, this.fitting()), /* @ts-ignore */
|
|
95
|
+
...(ngDevMode ? [{ debugName: "shownToolbars" }] : /* istanbul ignore next */ []));
|
|
96
|
+
hiddenToolbars = computed(() => Resources.historyToolbars.slice(this.fitting()), /* @ts-ignore */
|
|
97
|
+
...(ngDevMode ? [{ debugName: "hiddenToolbars" }] : /* istanbul ignore next */ []));
|
|
98
|
+
rows = computed(() => GitHistoryRows.rowsOf(GitHistoryRows.switchedTo(this.commits(), this.held()), this.status()?.entries.length ?? 0, this.filter(), new Date()), /* @ts-ignore */
|
|
99
|
+
...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
100
|
+
lanes = computed(() => Math.min(Resources.graphMaximumLanes, Math.max(1, ...this.rows().map(t => t.graph.width))), /* @ts-ignore */
|
|
101
|
+
...(ngDevMode ? [{ debugName: "lanes" }] : /* istanbul ignore next */ []));
|
|
102
|
+
graphPixels = computed(() => Math.max(Resources.graphMinimumPixels, Resources.graphLaneOffsetPixels * 2 + (this.lanes() - 1) * Resources.graphLanePixels), /* @ts-ignore */
|
|
103
|
+
...(ngDevMode ? [{ debugName: "graphPixels" }] : /* istanbul ignore next */ []));
|
|
104
|
+
graphWidth = computed(() => `${this.graphPixels() / 16}rem`, /* @ts-ignore */
|
|
105
|
+
...(ngDevMode ? [{ debugName: "graphWidth" }] : /* istanbul ignore next */ []));
|
|
106
|
+
isLoading = computed(() => !this.loaded() && Object.isNull(this.failure()), /* @ts-ignore */
|
|
107
|
+
...(ngDevMode ? [{ debugName: "isLoading" }] : /* istanbul ignore next */ []));
|
|
108
|
+
ahead = computed(() => this.status()?.upstream?.ahead ?? 0, /* @ts-ignore */
|
|
109
|
+
...(ngDevMode ? [{ debugName: "ahead" }] : /* istanbul ignore next */ []));
|
|
110
|
+
writable = computed(() => this.busy() ? null : this.status(), /* @ts-ignore */
|
|
111
|
+
...(ngDevMode ? [{ debugName: "writable" }] : /* istanbul ignore next */ []));
|
|
112
|
+
instance = input.required(/* @ts-ignore */
|
|
113
|
+
...(ngDevMode ? [{ debugName: "instance" }] : /* istanbul ignore next */ []));
|
|
114
|
+
constructor() {
|
|
115
|
+
effect(onCleanup => {
|
|
116
|
+
const folder = this.instance();
|
|
117
|
+
untracked(() => {
|
|
118
|
+
GitRecentRepositories.remember(folder);
|
|
119
|
+
void this.readAsync(folder);
|
|
120
|
+
void this.client.watchAsync(folder).catch((error) => this.report(error));
|
|
121
|
+
});
|
|
122
|
+
onCleanup(() => void this.client.unwatchAsync(folder).catch((error) => this.report(error)));
|
|
123
|
+
});
|
|
124
|
+
effect(() => {
|
|
125
|
+
const folder = this.instance();
|
|
126
|
+
const branch = GitPendingSwitch.branchOf(folder);
|
|
127
|
+
untracked(() => {
|
|
128
|
+
if (!Object.isNull(branch))
|
|
129
|
+
this.held.set(branch);
|
|
130
|
+
else if (!Object.isNull(this.held()))
|
|
131
|
+
void this.readAsync(folder);
|
|
132
|
+
});
|
|
133
|
+
});
|
|
134
|
+
effect(() => {
|
|
135
|
+
const view = GitViewing.branchOf(this.instance());
|
|
136
|
+
const commits = this.loaded() ? this.commits() : null;
|
|
137
|
+
untracked(() => this.jump(view, commits));
|
|
138
|
+
});
|
|
139
|
+
effect(() => {
|
|
140
|
+
const ask = GitHistoryAsks.askedOf(this.instance());
|
|
141
|
+
const commits = this.loaded() ? this.commits() : null;
|
|
142
|
+
untracked(() => this.reveal(ask, commits));
|
|
143
|
+
});
|
|
144
|
+
effect(() => {
|
|
145
|
+
const shown = GitViewing.commitOf(this.instance());
|
|
146
|
+
untracked(() => {
|
|
147
|
+
if (Object.isNull(shown) && !Object.isNull(this.selectedId()))
|
|
148
|
+
this.selectedId.set(Resources.changesId);
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
const destroyed = inject(DestroyRef);
|
|
152
|
+
destroyed.onDestroy(this.client.onChanged(folder => {
|
|
153
|
+
if (folder === this.instance())
|
|
154
|
+
void this.readAsync(folder);
|
|
155
|
+
}));
|
|
156
|
+
const active = inject(WindowPartTokens.activeDocument);
|
|
157
|
+
destroyed.onDestroy(GitFolder.follow(this.instance, active));
|
|
158
|
+
effect(() => {
|
|
159
|
+
if (active())
|
|
160
|
+
untracked(() => this.context.showView(Resources.repositoryViewName));
|
|
161
|
+
});
|
|
162
|
+
const details = GitCommitDetails.of(inject(WindowPartTokens.context));
|
|
163
|
+
const chosen = computed(() => GitViewing.commitOf(this.instance()), /* @ts-ignore */
|
|
164
|
+
...(ngDevMode ? [{ debugName: "chosen" }] : /* istanbul ignore next */ []));
|
|
165
|
+
details.follow(chosen, active, inject(Injector));
|
|
166
|
+
afterNextRender(() => {
|
|
167
|
+
const row = this.row().nativeElement;
|
|
168
|
+
const observer = new ResizeObserver(() => this.fit(row));
|
|
169
|
+
observer.observe(row);
|
|
170
|
+
destroyed.onDestroy(() => observer.disconnect());
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
trackRow = (_index, row) => row.id;
|
|
174
|
+
imageOf(row) {
|
|
175
|
+
return GitAvatars.imageOf(this.instance(), row.graph.shown.email, row.graph.commit.id);
|
|
176
|
+
}
|
|
177
|
+
select(row) {
|
|
178
|
+
this.notLoaded.set(null);
|
|
179
|
+
GitViewing.branch.set(null);
|
|
180
|
+
this.show(row.id);
|
|
181
|
+
const shown = GitViewing.commitOf(this.instance());
|
|
182
|
+
if (Object.isNull(shown))
|
|
183
|
+
this.context.showView(Resources.viewName);
|
|
184
|
+
else
|
|
185
|
+
GitCommitDetails.of(this.context).showInFront(shown);
|
|
186
|
+
}
|
|
187
|
+
move(event) {
|
|
188
|
+
const rows = this.rows();
|
|
189
|
+
const at = rows.findIndex(t => t.id === this.selectedId());
|
|
190
|
+
const step = event.key === Resources.arrowDownKey ? 1 : event.key === Resources.arrowUpKey ? -1 : 0;
|
|
191
|
+
const next = rows[Math.min(rows.length - 1, Math.max(0, at + step))];
|
|
192
|
+
if (step === 0 || Object.isUndefined(next))
|
|
193
|
+
return;
|
|
194
|
+
event.preventDefault();
|
|
195
|
+
GitViewing.branch.set(null);
|
|
196
|
+
this.show(next.id);
|
|
197
|
+
this.keepInView(rows.indexOf(next));
|
|
198
|
+
}
|
|
199
|
+
keepInView(index) {
|
|
200
|
+
const viewport = this.viewport();
|
|
201
|
+
const shown = Math.max(1, Math.floor(viewport.getViewportSize() / Resources.graphRowPixels));
|
|
202
|
+
const first = Math.ceil(viewport.measureScrollOffset() / Resources.graphRowPixels);
|
|
203
|
+
if (index < first)
|
|
204
|
+
viewport.scrollToIndex(index);
|
|
205
|
+
else if (index >= first + shown)
|
|
206
|
+
viewport.scrollToIndex(index - shown + 1);
|
|
207
|
+
this.scrolled(index);
|
|
208
|
+
}
|
|
209
|
+
scrolled(index) {
|
|
210
|
+
if (this.hasMore() && !this.isPaging && index + Resources.graphLoadAhead >= this.rows().length)
|
|
211
|
+
void this.pageAsync(this.instance());
|
|
212
|
+
}
|
|
213
|
+
labelOf(action) {
|
|
214
|
+
return action === GitHistoryAction.Push ? Resources.formatPush(this.ahead()) : Resources.historyActionLabels[action];
|
|
215
|
+
}
|
|
216
|
+
canRun(action) {
|
|
217
|
+
if (action === GitHistoryAction.Terminal)
|
|
218
|
+
return true;
|
|
219
|
+
const status = this.writable();
|
|
220
|
+
return !Object.isNull(status) && (action !== GitHistoryAction.Stash || status.entries.length > 0);
|
|
221
|
+
}
|
|
222
|
+
run(action) {
|
|
223
|
+
if (action === GitHistoryAction.Terminal) {
|
|
224
|
+
this.context.runCommandAsync(Resources.newTerminalCommand, { [Resources.terminalFolderArgument]: this.instance() })
|
|
225
|
+
.catch((error) => this.errors.handleError(error));
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
if (action === GitHistoryAction.Branch) {
|
|
229
|
+
void this.newBranchAsync();
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
void this.writeAsync((folder, basedOn) => {
|
|
233
|
+
if (action === GitHistoryAction.UndoCommit)
|
|
234
|
+
return this.client.undoCommitAsync(folder, basedOn);
|
|
235
|
+
if (action === GitHistoryAction.Fetch)
|
|
236
|
+
return this.client.fetchAsync(folder, basedOn);
|
|
237
|
+
if (action === GitHistoryAction.Stash)
|
|
238
|
+
return this.client.stashAsync(folder, null, true, basedOn);
|
|
239
|
+
return action === GitHistoryAction.Pull ? this.client.pullAsync(folder, basedOn) : this.client.pushAsync(folder, basedOn);
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
moreTitle(chips) {
|
|
243
|
+
return Resources.formatMoreChipsTitle(chips.map(t => t.title));
|
|
244
|
+
}
|
|
245
|
+
dragBranch(chip, row) {
|
|
246
|
+
this.dragged = Object.isNull(chip.branch) ? null : new GitChipDrag(chip, row.chips, chip.branch, row.id);
|
|
247
|
+
}
|
|
248
|
+
overBranch(event, chip) {
|
|
249
|
+
if (!Object.isNull(this.dragged) && !Object.isNull(chip.branch) && chip.branch !== this.dragged.branch)
|
|
250
|
+
event.preventDefault();
|
|
251
|
+
}
|
|
252
|
+
dropBranch(event, chip, row) {
|
|
253
|
+
const dragged = this.dragged;
|
|
254
|
+
this.dragged = null;
|
|
255
|
+
const status = this.status();
|
|
256
|
+
if (Object.isNull(dragged) || Object.isNull(chip.branch) || chip.branch === dragged.branch || Object.isNull(status))
|
|
257
|
+
return;
|
|
258
|
+
event.preventDefault();
|
|
259
|
+
const drop = new GitBranchDrop(dragged.branch, dragged.id, chip.branch, row.id, status.branch, chip.isLocalBranch);
|
|
260
|
+
const predicted = drop.predicted;
|
|
261
|
+
const request = GitPullRequests.newPullRequestUrlOf(status.remote, dragged.chip, dragged.labels, chip);
|
|
262
|
+
this.dropped.set({ drop, prediction: null, checking: !Object.isNull(predicted), request, left: event.clientX, top: event.clientY });
|
|
263
|
+
if (!Object.isNull(predicted))
|
|
264
|
+
void this.predictDropAsync(drop, predicted);
|
|
265
|
+
}
|
|
266
|
+
endDrag() {
|
|
267
|
+
this.dragged = null;
|
|
268
|
+
}
|
|
269
|
+
mergeDropped(drop) {
|
|
270
|
+
this.dropped.set(null);
|
|
271
|
+
void this.writeAsync((folder, basedOn) => this.client.mergeAsync(folder, drop.sourceId, basedOn));
|
|
272
|
+
}
|
|
273
|
+
switchMergeDropped(drop) {
|
|
274
|
+
this.dropped.set(null);
|
|
275
|
+
const status = this.writable();
|
|
276
|
+
if (!Object.isNull(status) && status.entries.length > 0) {
|
|
277
|
+
this.actionFailure.set(Resources.formatSwitchMergeChanges(drop.target));
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
const dialog = this.dialogs.open(GitSwitchMergeDialogComponent, ".cancel");
|
|
281
|
+
dialog.componentRef?.setInput("drop", drop);
|
|
282
|
+
dialog.componentInstance?.answered.subscribe(isAccepted => {
|
|
283
|
+
dialog.close();
|
|
284
|
+
if (isAccepted)
|
|
285
|
+
void this.writeAsync(async (folder, basedOn) => {
|
|
286
|
+
await this.client.switchBranchAsync(folder, drop.target, basedOn);
|
|
287
|
+
const switched = await this.client.statusAsync(folder);
|
|
288
|
+
await this.client.mergeAsync(folder, drop.sourceId, switched.fingerprint);
|
|
289
|
+
});
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
requestDropped(url) {
|
|
293
|
+
this.dropped.set(null);
|
|
294
|
+
void this.context.openLinkAsync(url, { place: LinkPlace.System }).catch((error) => this.errors.handleError(error));
|
|
295
|
+
}
|
|
296
|
+
rebaseDropped(drop) {
|
|
297
|
+
const folder = this.instance();
|
|
298
|
+
this.dropped.set(null);
|
|
299
|
+
GitRebasing.open(folder, new GitRebaseTarget(drop.targetId, drop.target));
|
|
300
|
+
this.context.openDocument(Resources.rebaseDocumentName, folder, Resources.formatRebaseDocumentTitle(folder));
|
|
301
|
+
}
|
|
302
|
+
x(lane) {
|
|
303
|
+
return Resources.graphLaneOffsetPixels + lane * Resources.graphLanePixels;
|
|
304
|
+
}
|
|
305
|
+
path(line) {
|
|
306
|
+
const row = Resources.graphRowPixels;
|
|
307
|
+
const [x1, y1] = [this.x(line.fromLane), line.fromMiddle ? row / 2 : 0];
|
|
308
|
+
const [x2, y2] = [this.x(line.toLane), line.toMiddle ? row / 2 : row];
|
|
309
|
+
if (x1 === x2)
|
|
310
|
+
return `M${x1} ${y1}V${y2}`;
|
|
311
|
+
const middle = (y1 + y2) / 2;
|
|
312
|
+
return `M${x1} ${y1}C${x1} ${middle} ${x2} ${middle} ${x2} ${y2}`;
|
|
313
|
+
}
|
|
314
|
+
show(id) {
|
|
315
|
+
const commit = this.commits().find(t => t.commit.id === id);
|
|
316
|
+
this.selectedId.set(id);
|
|
317
|
+
if (Object.isUndefined(commit))
|
|
318
|
+
GitViewing.showChanges(this.instance());
|
|
319
|
+
else
|
|
320
|
+
GitViewing.show(new GitCommitView(this.instance(), commit));
|
|
321
|
+
}
|
|
322
|
+
jump(view, commits) {
|
|
323
|
+
if (Object.isNull(view) || view === this.jumped || Object.isNull(commits))
|
|
324
|
+
return;
|
|
325
|
+
const commit = commits.find(t => view.isAt(t));
|
|
326
|
+
if (Object.isUndefined(commit)) {
|
|
327
|
+
if (!this.hasMore())
|
|
328
|
+
this.jumped = view;
|
|
329
|
+
else if (!this.isPaging)
|
|
330
|
+
void this.pageAsync(view.folder);
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
this.jumped = view;
|
|
334
|
+
this.showCentred(commit.commit.id);
|
|
335
|
+
}
|
|
336
|
+
reveal(ask, commits) {
|
|
337
|
+
if (Object.isNull(ask) || Object.isNull(commits))
|
|
338
|
+
return;
|
|
339
|
+
GitHistoryAsks.take(ask);
|
|
340
|
+
if (!commits.some(t => t.commit.id === ask.commitId)) {
|
|
341
|
+
this.notLoaded.set(Resources.formatCommitNotLoaded(ask.commitId));
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
344
|
+
this.notLoaded.set(null);
|
|
345
|
+
GitViewing.branch.set(null);
|
|
346
|
+
this.showCentred(ask.commitId);
|
|
347
|
+
}
|
|
348
|
+
showCentred(id) {
|
|
349
|
+
this.show(id);
|
|
350
|
+
this.centre(id, Resources.centringRenders);
|
|
351
|
+
}
|
|
352
|
+
centre(id, renders) {
|
|
353
|
+
afterNextRender(() => {
|
|
354
|
+
const viewport = this.viewport();
|
|
355
|
+
const rows = this.rows();
|
|
356
|
+
if (viewport.elementRef.nativeElement.scrollHeight < rows.length * Resources.graphRowPixels) {
|
|
357
|
+
if (renders > 1)
|
|
358
|
+
queueMicrotask(() => this.centre(id, renders - 1));
|
|
359
|
+
return;
|
|
360
|
+
}
|
|
361
|
+
const index = rows.findIndex(t => t.id === id);
|
|
362
|
+
const shown = Math.floor(viewport.getViewportSize() / Resources.graphRowPixels);
|
|
363
|
+
viewport.scrollToIndex(Math.max(0, index - Math.floor(shown / 2)));
|
|
364
|
+
}, { injector: this.injector });
|
|
365
|
+
}
|
|
366
|
+
async readAsync(folder) {
|
|
367
|
+
const reading = ++this.reading;
|
|
368
|
+
const switched = Object.isNull(GitPendingSwitch.branchOf(folder));
|
|
369
|
+
const limit = Math.min(Math.max(Resources.graphPageSize, this.commits().length), 5000);
|
|
370
|
+
const status = this.client.statusAsync(folder);
|
|
371
|
+
void status.catch(() => undefined);
|
|
372
|
+
try {
|
|
373
|
+
const graph = await this.client.graphAsync(folder, limit, 0);
|
|
374
|
+
if (reading !== this.reading)
|
|
375
|
+
return;
|
|
376
|
+
this.commits.set(graph.commits);
|
|
377
|
+
this.loaded.set(true);
|
|
378
|
+
this.hasMore.set(graph.truncated);
|
|
379
|
+
this.failure.set(null);
|
|
380
|
+
if (switched)
|
|
381
|
+
this.held.set(null);
|
|
382
|
+
if (Object.isNull(this.selectedId()))
|
|
383
|
+
this.selectedId.set(this.rows()[0]?.id ?? null);
|
|
384
|
+
const read = await status;
|
|
385
|
+
if (reading !== this.reading)
|
|
386
|
+
return;
|
|
387
|
+
this.status.set(read);
|
|
388
|
+
}
|
|
389
|
+
catch (error) {
|
|
390
|
+
if (reading !== this.reading)
|
|
391
|
+
return;
|
|
392
|
+
if (switched)
|
|
393
|
+
this.held.set(null);
|
|
394
|
+
this.report(error);
|
|
395
|
+
if (GitRuntimeClient.isFailure(error))
|
|
396
|
+
this.failure.set(GitRuntimeClient.failureOf(error)?.message ?? Resources.historyFailed);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
async pageAsync(folder) {
|
|
400
|
+
const reading = this.reading;
|
|
401
|
+
const loaded = this.commits();
|
|
402
|
+
this.isPaging = true;
|
|
403
|
+
try {
|
|
404
|
+
const graph = await this.client.graphAsync(folder, Resources.graphPageSize, loaded.length);
|
|
405
|
+
if (reading !== this.reading)
|
|
406
|
+
return;
|
|
407
|
+
this.commits.set([...loaded, ...graph.commits]);
|
|
408
|
+
this.hasMore.set(graph.truncated);
|
|
409
|
+
}
|
|
410
|
+
catch (error) {
|
|
411
|
+
this.report(error);
|
|
412
|
+
}
|
|
413
|
+
finally {
|
|
414
|
+
this.isPaging = false;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
async newBranchAsync() {
|
|
418
|
+
const name = await GitNewBranch.askAsync(this.dialogs, Resources.formatHistoryTitle(this.instance()));
|
|
419
|
+
if (!Object.isNull(name))
|
|
420
|
+
await this.writeAsync((folder, basedOn) => this.client.createBranchAsync(folder, name, basedOn));
|
|
421
|
+
}
|
|
422
|
+
async writeAsync(write) {
|
|
423
|
+
const status = this.writable();
|
|
424
|
+
if (Object.isNull(status))
|
|
425
|
+
return;
|
|
426
|
+
this.busy.set(true);
|
|
427
|
+
this.actionFailure.set(null);
|
|
428
|
+
try {
|
|
429
|
+
await write(this.instance(), status.fingerprint);
|
|
430
|
+
}
|
|
431
|
+
catch (error) {
|
|
432
|
+
this.report(error);
|
|
433
|
+
if (GitRuntimeClient.isFailure(error))
|
|
434
|
+
this.actionFailure.set(GitViewStateService.messageOf(error));
|
|
435
|
+
}
|
|
436
|
+
finally {
|
|
437
|
+
this.busy.set(false);
|
|
438
|
+
void this.readAsync(this.instance());
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
fit(row) {
|
|
442
|
+
const rem = parseFloat(getComputedStyle(row).fontSize);
|
|
443
|
+
this.isWide.set(row.getBoundingClientRect().width >= Resources.historyLabelsRem * rem);
|
|
444
|
+
this.chipLimit.set(row.getBoundingClientRect().width < Resources.historyOneChipRem * rem ? 1 : Resources.rowChipLimit);
|
|
445
|
+
this.fitting.set(Resources.historyToolbars.length);
|
|
446
|
+
afterNextRender(() => {
|
|
447
|
+
const style = getComputedStyle(row);
|
|
448
|
+
const end = row.getBoundingClientRect().right - parseFloat(style.paddingRight) - parseFloat(getComputedStyle(this.field().nativeElement).minWidth)
|
|
449
|
+
- Resources.historyToolbarGapRem * rem;
|
|
450
|
+
const ends = [...this.actions().nativeElement.querySelectorAll(".group")].map(t => t.getBoundingClientRect().right);
|
|
451
|
+
this.fitting.set(ends.every(t => t <= end) ? ends.length : ends.filter(t => t <= end - Resources.historyMoreRem * rem).length);
|
|
452
|
+
}, { injector: this.injector });
|
|
453
|
+
}
|
|
454
|
+
async predictDropAsync(drop, id) {
|
|
455
|
+
let prediction = null;
|
|
456
|
+
try {
|
|
457
|
+
prediction = await this.client.predictAsync(this.instance(), id, PredictionAction.Merge);
|
|
458
|
+
}
|
|
459
|
+
catch (error) {
|
|
460
|
+
this.report(error);
|
|
461
|
+
}
|
|
462
|
+
const shown = this.dropped();
|
|
463
|
+
if (!Object.isNull(shown) && shown.drop === drop)
|
|
464
|
+
this.dropped.set({ ...shown, prediction, checking: false });
|
|
465
|
+
}
|
|
466
|
+
report(error) {
|
|
467
|
+
if (!GitRuntimeClient.isFailure(error))
|
|
468
|
+
this.errors.handleError(error);
|
|
469
|
+
}
|
|
470
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
471
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitHistoryComponent, isStandalone: true, selector: "nol-git-history", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "style.--graph-width": "graphWidth()" } }, viewQueries: [{ propertyName: "viewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true, isSignal: true }, { propertyName: "row", first: true, predicate: ["row"], descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: ["actions"], descendants: true, isSignal: true }, { propertyName: "field", first: true, predicate: ["field"], 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 #row class=\"toolbar\">\n <div #actions class=\"actions\" nolToolbar [nolToolbarLabel]=\"resources.toolbarLabel\">\n @for (toolbar of shownToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <span class=\"sep\" aria-hidden=\"true\"></span>\n }\n <div class=\"group\" role=\"group\" [attr.aria-label]=\"toolbar.title\">\n @for (action of toolbar.actions; track action) {\n @let label = labelOf(action);\n <button type=\"button\" nol-toolbar-button nolToolbarItem [attr.data-action]=\"action\" [label]=\"label\" [icon]=\"resources.historyActionIcons[action]\"\n [isShowingLabel]=\"isWide() && resources.labeledHistoryActions.includes(action)\" [isUnavailable]=\"!canRun(action)\"\n [nolTooltip]=\"label\" (click)=\"run(action)\"></button>\n }\n </div>\n }\n @if (hiddenToolbars().length > 0) {\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"more\" [label]=\"resources.moreActionsLabel\" [icon]=\"resources.moreIcon\" [hasMenu]=\"true\"\n [nolMenuTriggerFor]=\"more\" [nolTooltip]=\"resources.moreActionsLabel\"></button>\n }\n </div>\n <div class=\"spacer\"></div>\n <label #field class=\"field\">\n <span class=\"ms placeholder\">filter_list</span>\n <input #search type=\"search\" [placeholder]=\"resources.filterPlaceholder\" [value]=\"filter()\" (input)=\"filter.set(search.value)\" />\n </label>\n</div>\n<ng-template #more>\n <nol-menu>\n @for (toolbar of hiddenToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <nol-menu-separator />\n }\n @for (action of toolbar.actions; track action) {\n <button nol-menu-item [attr.data-action]=\"action\" [label]=\"labelOf(action)\" [icon]=\"resources.historyActionIcons[action]\" [disabled]=\"!canRun(action)\"\n (triggered)=\"run(action)\"></button>\n }\n }\n </nol-menu>\n</ng-template>\n@if (actionFailure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n}\n@if (notLoaded(); as message) {\n <p class=\"note not-loaded\" role=\"status\">{{ message }}</p>\n}\n<div class=\"grow-row header\">\n <span class=\"cell\">{{ resources.columnRefs }}</span><span class=\"cell\">{{ resources.columnGraph }}</span><span class=\"cell\">{{ resources.columnMessage }}</span>\n <span class=\"cell\">{{ resources.columnAuthor }}</span><span class=\"cell\">{{ resources.columnDate }}</span>\n</div>\n@if (isLoading()) {\n <p class=\"note\">{{ resources.historyLoading }}</p>\n} @else if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n} @else if (rows().length === 0) {\n <p class=\"note\">{{ resources.historyEmpty }}</p>\n} @else {\n <cdk-virtual-scroll-viewport class=\"list\" [itemSize]=\"resources.graphRowPixels\" [minBufferPx]=\"resources.graphBufferPixels\"\n [maxBufferPx]=\"resources.graphBufferPixels * 2\" role=\"listbox\" tabindex=\"0\" [attr.aria-label]=\"resources.historyListLabel\" [attr.aria-activedescendant]=\"activeOption()\"\n (keydown)=\"move($event)\" (scrolledIndexChange)=\"scrolled($event)\">\n <div *cdkVirtualFor=\"let row of rows(); let index = index; let count = count; trackBy: trackRow\" class=\"grow-row\" role=\"option\"\n [id]=\"resources.formatHistoryOptionId(list, index)\" [attr.aria-posinset]=\"index + 1\" [attr.aria-setsize]=\"hasMore() ? -1 : count\"\n [class.sel]=\"row.id === selectedId()\" [class.dim]=\"!row.matches\" [attr.aria-selected]=\"row.id === selectedId()\" (click)=\"select(row)\">\n <div class=\"cell\">\n @let split = row.chipsWithin(chipLimit());\n @for (chip of split.shown; track chip.title + chip.icon) {\n <span class=\"chip\" [class]=\"chip.isTag ? 'chip ltag' : 'chip l' + row.graph.color\" [class.current]=\"chip.isCurrent\" [title]=\"chip.title\"\n [attr.draggable]=\"chip.branch !== null\" (dragstart)=\"dragBranch(chip, row)\" (dragover)=\"overBranch($event, chip)\" (drop)=\"dropBranch($event, chip, row)\"\n (dragend)=\"endDrag()\">\n <span class=\"ms chip-icon\">{{ chip.icon }}</span><span class=\"ellipsis\">{{ chip.name }}</span>\n </span>\n }\n @if (split.hidden.length > 0) {\n <span class=\"chip ltag more\" [title]=\"moreTitle(split.hidden)\">{{ resources.formatMoreChips(split.hidden.length) }}</span>\n }\n </div>\n <svg class=\"graph\" aria-hidden=\"true\" [attr.width]=\"graphPixels()\" [attr.height]=\"resources.graphRowPixels\"\n [attr.viewBox]=\"'0 0 ' + graphPixels() + ' ' + resources.graphRowPixels\">\n @for (line of row.graph.lines; track $index) {\n <path [attr.d]=\"path(line)\" [attr.class]=\"'line lane-' + line.color\" />\n }\n @if (row.isChanges) {\n <circle class=\"changes\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'changes lane-' + row.graph.color\" />\n } @else if (row.isHead) {\n <circle class=\"ring\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadRingPixels\"\n [attr.class]=\"'ring lane-' + row.graph.color\" />\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadDotPixels\"\n [attr.class]=\"'fill lane-' + row.graph.color\" />\n } @else {\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'dot lane-' + row.graph.color\" />\n }\n </svg>\n <div class=\"cell\"><span class=\"message\" [class.italic]=\"row.isChanges\"><nol-git-reference-text class=\"line\" [text]=\"row.message\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span></div>\n <div class=\"cell\">\n @if (!row.isChanges) {\n @let picture = imageOf(row);\n @if (picture !== null) {\n <img class=\"av\" [src]=\"picture\" alt=\"\" />\n } @else {\n <span class=\"av\" [class]=\"'av av-' + row.avatar\">{{ row.initials }}</span>\n }\n <span class=\"ellipsis\">{{ row.author }}</span>\n }\n </div>\n <div class=\"cell muted\">{{ row.age }}</div>\n </div>\n </cdk-virtual-scroll-viewport>\n @if (dropped(); as shown) {\n <nol-git-branch-drop [drop]=\"shown.drop\" [prediction]=\"shown.prediction\" [checking]=\"shown.checking\" [busy]=\"writable() === null\" [request]=\"shown.request\"\n [left]=\"shown.left\" [top]=\"shown.top\" (requested)=\"requestDropped($event)\" (merged)=\"mergeDropped(shown.drop)\" (switchMerged)=\"switchMergeDropped(shown.drop)\" (rebased)=\"rebaseDropped(shown.drop)\" (closed)=\"dropped.set(null)\" />\n }\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 container: history / inline-size;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n background: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: 0.8125rem;\n line-height: 1.125rem;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.toolbar {\n display: flex;\n overflow: hidden;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 2.25rem;\n padding: 0 0.5rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.actions,\n.group {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n}\n\n.sep {\n width: 1px;\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.spacer {\n flex: 1;\n}\n\n.field {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n flex: 0 1 17rem;\n min-width: 7rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: 0.25rem;\n background: var(--nol-input);\n}\n\n.field input {\n flex: 1;\n min-width: 0;\n padding: 0;\n border: 0;\n outline: none;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n}\n\n.field input::placeholder,\n.placeholder {\n color: var(--nol-placeholder);\n}\n\n.grow-row {\n display: grid;\n grid-template-columns: 13rem var(--graph-width) minmax(0, 1fr) 9.5rem 5.5rem;\n align-items: center;\n box-sizing: border-box;\n height: 1.75rem;\n padding: 0 0.5rem;\n white-space: nowrap;\n}\n\n.header {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.list {\n flex: 1;\n min-height: 0;\n outline: none;\n}\n\n.list .grow-row:hover {\n background: var(--nol-hover);\n}\n\n.list .grow-row.sel,\n.list .grow-row.sel:hover {\n background: var(--nol-selected);\n}\n\n.grow-row.dim {\n opacity: 0.4;\n}\n\n.cell {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.message,\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.italic {\n font-style: italic;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\n min-width: 0;\n overflow: hidden;\n gap: 0.25rem;\n height: 1.25rem;\n padding: 0 0.375rem;\n border-radius: 0.25rem;\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.chip-icon {\n width: 0.875rem;\n height: 0.875rem;\n font-size: 0.875rem;\n}\n\n.chip.current {\n font-weight: 500;\n}\n\n.chip.more {\n flex: none;\n}\n\n.ltag {\n box-shadow: inset 0 0 0 1px var(--nol-border);\n}\n\n.graph {\n display: block;\n overflow: visible;\n}\n\n.line {\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n}\n\n.dot {\n stroke: var(--nol-panel);\n stroke-width: 2;\n}\n\n.ring,\n.changes {\n fill: var(--nol-panel);\n stroke-width: 2;\n}\n\n.changes {\n stroke-dasharray: 3 2;\n}\n\n.av {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.125rem;\n height: 1.125rem;\n border-radius: 50%;\n font-size: 0.625rem;\n font-weight: 500;\n object-fit: cover;\n}\n\n.note {\n margin: 0;\n padding: 0.5rem 0.75rem;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.line.lane-0,\n.ring.lane-0,\n.changes.lane-0 {\n stroke: var(--nol-author-1);\n}\n\n.dot.lane-0,\n.fill.lane-0 {\n fill: var(--nol-author-1);\n}\n\n.l0 {\n background: color-mix(in srgb, var(--nol-author-1) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-1) 55%, transparent);\n}\n\n.line.lane-1,\n.ring.lane-1,\n.changes.lane-1 {\n stroke: var(--nol-author-2);\n}\n\n.dot.lane-1,\n.fill.lane-1 {\n fill: var(--nol-author-2);\n}\n\n.l1 {\n background: color-mix(in srgb, var(--nol-author-2) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-2) 55%, transparent);\n}\n\n.line.lane-2,\n.ring.lane-2,\n.changes.lane-2 {\n stroke: var(--nol-author-3);\n}\n\n.dot.lane-2,\n.fill.lane-2 {\n fill: var(--nol-author-3);\n}\n\n.l2 {\n background: color-mix(in srgb, var(--nol-author-3) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-3) 55%, transparent);\n}\n\n.line.lane-3,\n.ring.lane-3,\n.changes.lane-3 {\n stroke: var(--nol-author-4);\n}\n\n.dot.lane-3,\n.fill.lane-3 {\n fill: var(--nol-author-4);\n}\n\n.l3 {\n background: color-mix(in srgb, var(--nol-author-4) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-4) 55%, transparent);\n}\n\n.line.lane-4,\n.ring.lane-4,\n.changes.lane-4 {\n stroke: var(--nol-author-5);\n}\n\n.dot.lane-4,\n.fill.lane-4 {\n fill: var(--nol-author-5);\n}\n\n.l4 {\n background: color-mix(in srgb, var(--nol-author-5) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-5) 55%, transparent);\n}\n\n.line.lane-5,\n.ring.lane-5,\n.changes.lane-5 {\n stroke: var(--nol-author-6);\n}\n\n.dot.lane-5,\n.fill.lane-5 {\n fill: var(--nol-author-6);\n}\n\n.l5 {\n background: color-mix(in srgb, var(--nol-author-6) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-6) 55%, transparent);\n}\n\n.line.lane-6,\n.ring.lane-6,\n.changes.lane-6 {\n stroke: var(--nol-author-7);\n}\n\n.dot.lane-6,\n.fill.lane-6 {\n fill: var(--nol-author-7);\n}\n\n.l6 {\n background: color-mix(in srgb, var(--nol-author-7) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-7) 55%, transparent);\n}\n\n.line.lane-7,\n.ring.lane-7,\n.changes.lane-7 {\n stroke: var(--nol-author-8);\n}\n\n.dot.lane-7,\n.fill.lane-7 {\n fill: var(--nol-author-8);\n}\n\n.l7 {\n background: color-mix(in srgb, var(--nol-author-8) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-8) 55%, transparent);\n}\n\n.av-default {\n background: var(--nol-avatar-default);\n color: var(--nol-avatar-default-text);\n}\n\n.av-teal {\n background: var(--nol-avatar-teal);\n color: var(--nol-avatar-teal-text);\n}\n\n.av-amber {\n background: var(--nol-avatar-amber);\n color: var(--nol-avatar-amber-text);\n}\n\n.av-violet {\n background: var(--nol-avatar-violet);\n color: var(--nol-avatar-violet-text);\n}\n\n.av-green {\n background: var(--nol-avatar-green);\n color: var(--nol-avatar-green-text);\n}\n\n.av-pink {\n background: var(--nol-avatar-pink);\n color: var(--nol-avatar-pink-text);\n}\n\n.av-cyan {\n background: var(--nol-avatar-cyan);\n color: var(--nol-avatar-cyan-text);\n}\n\n.av-orange {\n background: var(--nol-avatar-orange);\n color: var(--nol-avatar-orange-text);\n}\n\n@container history (width < 64rem) {\n .grow-row {\n grid-template-columns: 9rem var(--graph-width) minmax(0, 1fr) 8rem 5.5rem;\n }\n}\n\n@container history (width < 44rem) {\n .grow-row {\n grid-template-columns: 10rem var(--graph-width) minmax(0, 1fr);\n }\n\n .grow-row > :nth-child(n + 4) {\n display: none;\n }\n}\n"], dependencies: [{ kind: "component", type: GitBranchDropComponent, selector: "nol-git-branch-drop", inputs: ["drop", "prediction", "checking", "request", "busy", "left", "top"], outputs: ["merged", "switchMerged", "rebased", "requested", "closed"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "component", type: MenuSeparatorComponent, selector: "nol-menu-separator" }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "ngmodule", type: ScrollingModule }, { kind: "directive", type: i1.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i1.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i1.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
472
|
+
}
|
|
473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitHistoryComponent, decorators: [{
|
|
474
|
+
type: Component,
|
|
475
|
+
args: [{ selector: "nol-git-history", imports: [
|
|
476
|
+
GitBranchDropComponent, GitReferenceTextComponent, MenuComponent, MenuItemComponent, MenuSeparatorComponent, MenuTriggerDirective, ScrollingModule, ToolbarButtonComponent, ToolbarDirective,
|
|
477
|
+
ToolbarItemDirective, TooltipDirective
|
|
478
|
+
], host: { "[style.--graph-width]": "graphWidth()" }, 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 #row class=\"toolbar\">\n <div #actions class=\"actions\" nolToolbar [nolToolbarLabel]=\"resources.toolbarLabel\">\n @for (toolbar of shownToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <span class=\"sep\" aria-hidden=\"true\"></span>\n }\n <div class=\"group\" role=\"group\" [attr.aria-label]=\"toolbar.title\">\n @for (action of toolbar.actions; track action) {\n @let label = labelOf(action);\n <button type=\"button\" nol-toolbar-button nolToolbarItem [attr.data-action]=\"action\" [label]=\"label\" [icon]=\"resources.historyActionIcons[action]\"\n [isShowingLabel]=\"isWide() && resources.labeledHistoryActions.includes(action)\" [isUnavailable]=\"!canRun(action)\"\n [nolTooltip]=\"label\" (click)=\"run(action)\"></button>\n }\n </div>\n }\n @if (hiddenToolbars().length > 0) {\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"more\" [label]=\"resources.moreActionsLabel\" [icon]=\"resources.moreIcon\" [hasMenu]=\"true\"\n [nolMenuTriggerFor]=\"more\" [nolTooltip]=\"resources.moreActionsLabel\"></button>\n }\n </div>\n <div class=\"spacer\"></div>\n <label #field class=\"field\">\n <span class=\"ms placeholder\">filter_list</span>\n <input #search type=\"search\" [placeholder]=\"resources.filterPlaceholder\" [value]=\"filter()\" (input)=\"filter.set(search.value)\" />\n </label>\n</div>\n<ng-template #more>\n <nol-menu>\n @for (toolbar of hiddenToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <nol-menu-separator />\n }\n @for (action of toolbar.actions; track action) {\n <button nol-menu-item [attr.data-action]=\"action\" [label]=\"labelOf(action)\" [icon]=\"resources.historyActionIcons[action]\" [disabled]=\"!canRun(action)\"\n (triggered)=\"run(action)\"></button>\n }\n }\n </nol-menu>\n</ng-template>\n@if (actionFailure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n}\n@if (notLoaded(); as message) {\n <p class=\"note not-loaded\" role=\"status\">{{ message }}</p>\n}\n<div class=\"grow-row header\">\n <span class=\"cell\">{{ resources.columnRefs }}</span><span class=\"cell\">{{ resources.columnGraph }}</span><span class=\"cell\">{{ resources.columnMessage }}</span>\n <span class=\"cell\">{{ resources.columnAuthor }}</span><span class=\"cell\">{{ resources.columnDate }}</span>\n</div>\n@if (isLoading()) {\n <p class=\"note\">{{ resources.historyLoading }}</p>\n} @else if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n} @else if (rows().length === 0) {\n <p class=\"note\">{{ resources.historyEmpty }}</p>\n} @else {\n <cdk-virtual-scroll-viewport class=\"list\" [itemSize]=\"resources.graphRowPixels\" [minBufferPx]=\"resources.graphBufferPixels\"\n [maxBufferPx]=\"resources.graphBufferPixels * 2\" role=\"listbox\" tabindex=\"0\" [attr.aria-label]=\"resources.historyListLabel\" [attr.aria-activedescendant]=\"activeOption()\"\n (keydown)=\"move($event)\" (scrolledIndexChange)=\"scrolled($event)\">\n <div *cdkVirtualFor=\"let row of rows(); let index = index; let count = count; trackBy: trackRow\" class=\"grow-row\" role=\"option\"\n [id]=\"resources.formatHistoryOptionId(list, index)\" [attr.aria-posinset]=\"index + 1\" [attr.aria-setsize]=\"hasMore() ? -1 : count\"\n [class.sel]=\"row.id === selectedId()\" [class.dim]=\"!row.matches\" [attr.aria-selected]=\"row.id === selectedId()\" (click)=\"select(row)\">\n <div class=\"cell\">\n @let split = row.chipsWithin(chipLimit());\n @for (chip of split.shown; track chip.title + chip.icon) {\n <span class=\"chip\" [class]=\"chip.isTag ? 'chip ltag' : 'chip l' + row.graph.color\" [class.current]=\"chip.isCurrent\" [title]=\"chip.title\"\n [attr.draggable]=\"chip.branch !== null\" (dragstart)=\"dragBranch(chip, row)\" (dragover)=\"overBranch($event, chip)\" (drop)=\"dropBranch($event, chip, row)\"\n (dragend)=\"endDrag()\">\n <span class=\"ms chip-icon\">{{ chip.icon }}</span><span class=\"ellipsis\">{{ chip.name }}</span>\n </span>\n }\n @if (split.hidden.length > 0) {\n <span class=\"chip ltag more\" [title]=\"moreTitle(split.hidden)\">{{ resources.formatMoreChips(split.hidden.length) }}</span>\n }\n </div>\n <svg class=\"graph\" aria-hidden=\"true\" [attr.width]=\"graphPixels()\" [attr.height]=\"resources.graphRowPixels\"\n [attr.viewBox]=\"'0 0 ' + graphPixels() + ' ' + resources.graphRowPixels\">\n @for (line of row.graph.lines; track $index) {\n <path [attr.d]=\"path(line)\" [attr.class]=\"'line lane-' + line.color\" />\n }\n @if (row.isChanges) {\n <circle class=\"changes\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'changes lane-' + row.graph.color\" />\n } @else if (row.isHead) {\n <circle class=\"ring\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadRingPixels\"\n [attr.class]=\"'ring lane-' + row.graph.color\" />\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadDotPixels\"\n [attr.class]=\"'fill lane-' + row.graph.color\" />\n } @else {\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'dot lane-' + row.graph.color\" />\n }\n </svg>\n <div class=\"cell\"><span class=\"message\" [class.italic]=\"row.isChanges\"><nol-git-reference-text class=\"line\" [text]=\"row.message\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span></div>\n <div class=\"cell\">\n @if (!row.isChanges) {\n @let picture = imageOf(row);\n @if (picture !== null) {\n <img class=\"av\" [src]=\"picture\" alt=\"\" />\n } @else {\n <span class=\"av\" [class]=\"'av av-' + row.avatar\">{{ row.initials }}</span>\n }\n <span class=\"ellipsis\">{{ row.author }}</span>\n }\n </div>\n <div class=\"cell muted\">{{ row.age }}</div>\n </div>\n </cdk-virtual-scroll-viewport>\n @if (dropped(); as shown) {\n <nol-git-branch-drop [drop]=\"shown.drop\" [prediction]=\"shown.prediction\" [checking]=\"shown.checking\" [busy]=\"writable() === null\" [request]=\"shown.request\"\n [left]=\"shown.left\" [top]=\"shown.top\" (requested)=\"requestDropped($event)\" (merged)=\"mergeDropped(shown.drop)\" (switchMerged)=\"switchMergeDropped(shown.drop)\" (rebased)=\"rebaseDropped(shown.drop)\" (closed)=\"dropped.set(null)\" />\n }\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 container: history / inline-size;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n background: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: 0.8125rem;\n line-height: 1.125rem;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.toolbar {\n display: flex;\n overflow: hidden;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 2.25rem;\n padding: 0 0.5rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.actions,\n.group {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n}\n\n.sep {\n width: 1px;\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.spacer {\n flex: 1;\n}\n\n.field {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n flex: 0 1 17rem;\n min-width: 7rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: 0.25rem;\n background: var(--nol-input);\n}\n\n.field input {\n flex: 1;\n min-width: 0;\n padding: 0;\n border: 0;\n outline: none;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n}\n\n.field input::placeholder,\n.placeholder {\n color: var(--nol-placeholder);\n}\n\n.grow-row {\n display: grid;\n grid-template-columns: 13rem var(--graph-width) minmax(0, 1fr) 9.5rem 5.5rem;\n align-items: center;\n box-sizing: border-box;\n height: 1.75rem;\n padding: 0 0.5rem;\n white-space: nowrap;\n}\n\n.header {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.list {\n flex: 1;\n min-height: 0;\n outline: none;\n}\n\n.list .grow-row:hover {\n background: var(--nol-hover);\n}\n\n.list .grow-row.sel,\n.list .grow-row.sel:hover {\n background: var(--nol-selected);\n}\n\n.grow-row.dim {\n opacity: 0.4;\n}\n\n.cell {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.message,\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.italic {\n font-style: italic;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\n min-width: 0;\n overflow: hidden;\n gap: 0.25rem;\n height: 1.25rem;\n padding: 0 0.375rem;\n border-radius: 0.25rem;\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.chip-icon {\n width: 0.875rem;\n height: 0.875rem;\n font-size: 0.875rem;\n}\n\n.chip.current {\n font-weight: 500;\n}\n\n.chip.more {\n flex: none;\n}\n\n.ltag {\n box-shadow: inset 0 0 0 1px var(--nol-border);\n}\n\n.graph {\n display: block;\n overflow: visible;\n}\n\n.line {\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n}\n\n.dot {\n stroke: var(--nol-panel);\n stroke-width: 2;\n}\n\n.ring,\n.changes {\n fill: var(--nol-panel);\n stroke-width: 2;\n}\n\n.changes {\n stroke-dasharray: 3 2;\n}\n\n.av {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.125rem;\n height: 1.125rem;\n border-radius: 50%;\n font-size: 0.625rem;\n font-weight: 500;\n object-fit: cover;\n}\n\n.note {\n margin: 0;\n padding: 0.5rem 0.75rem;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.line.lane-0,\n.ring.lane-0,\n.changes.lane-0 {\n stroke: var(--nol-author-1);\n}\n\n.dot.lane-0,\n.fill.lane-0 {\n fill: var(--nol-author-1);\n}\n\n.l0 {\n background: color-mix(in srgb, var(--nol-author-1) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-1) 55%, transparent);\n}\n\n.line.lane-1,\n.ring.lane-1,\n.changes.lane-1 {\n stroke: var(--nol-author-2);\n}\n\n.dot.lane-1,\n.fill.lane-1 {\n fill: var(--nol-author-2);\n}\n\n.l1 {\n background: color-mix(in srgb, var(--nol-author-2) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-2) 55%, transparent);\n}\n\n.line.lane-2,\n.ring.lane-2,\n.changes.lane-2 {\n stroke: var(--nol-author-3);\n}\n\n.dot.lane-2,\n.fill.lane-2 {\n fill: var(--nol-author-3);\n}\n\n.l2 {\n background: color-mix(in srgb, var(--nol-author-3) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-3) 55%, transparent);\n}\n\n.line.lane-3,\n.ring.lane-3,\n.changes.lane-3 {\n stroke: var(--nol-author-4);\n}\n\n.dot.lane-3,\n.fill.lane-3 {\n fill: var(--nol-author-4);\n}\n\n.l3 {\n background: color-mix(in srgb, var(--nol-author-4) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-4) 55%, transparent);\n}\n\n.line.lane-4,\n.ring.lane-4,\n.changes.lane-4 {\n stroke: var(--nol-author-5);\n}\n\n.dot.lane-4,\n.fill.lane-4 {\n fill: var(--nol-author-5);\n}\n\n.l4 {\n background: color-mix(in srgb, var(--nol-author-5) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-5) 55%, transparent);\n}\n\n.line.lane-5,\n.ring.lane-5,\n.changes.lane-5 {\n stroke: var(--nol-author-6);\n}\n\n.dot.lane-5,\n.fill.lane-5 {\n fill: var(--nol-author-6);\n}\n\n.l5 {\n background: color-mix(in srgb, var(--nol-author-6) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-6) 55%, transparent);\n}\n\n.line.lane-6,\n.ring.lane-6,\n.changes.lane-6 {\n stroke: var(--nol-author-7);\n}\n\n.dot.lane-6,\n.fill.lane-6 {\n fill: var(--nol-author-7);\n}\n\n.l6 {\n background: color-mix(in srgb, var(--nol-author-7) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-7) 55%, transparent);\n}\n\n.line.lane-7,\n.ring.lane-7,\n.changes.lane-7 {\n stroke: var(--nol-author-8);\n}\n\n.dot.lane-7,\n.fill.lane-7 {\n fill: var(--nol-author-8);\n}\n\n.l7 {\n background: color-mix(in srgb, var(--nol-author-8) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-8) 55%, transparent);\n}\n\n.av-default {\n background: var(--nol-avatar-default);\n color: var(--nol-avatar-default-text);\n}\n\n.av-teal {\n background: var(--nol-avatar-teal);\n color: var(--nol-avatar-teal-text);\n}\n\n.av-amber {\n background: var(--nol-avatar-amber);\n color: var(--nol-avatar-amber-text);\n}\n\n.av-violet {\n background: var(--nol-avatar-violet);\n color: var(--nol-avatar-violet-text);\n}\n\n.av-green {\n background: var(--nol-avatar-green);\n color: var(--nol-avatar-green-text);\n}\n\n.av-pink {\n background: var(--nol-avatar-pink);\n color: var(--nol-avatar-pink-text);\n}\n\n.av-cyan {\n background: var(--nol-avatar-cyan);\n color: var(--nol-avatar-cyan-text);\n}\n\n.av-orange {\n background: var(--nol-avatar-orange);\n color: var(--nol-avatar-orange-text);\n}\n\n@container history (width < 64rem) {\n .grow-row {\n grid-template-columns: 9rem var(--graph-width) minmax(0, 1fr) 8rem 5.5rem;\n }\n}\n\n@container history (width < 44rem) {\n .grow-row {\n grid-template-columns: 10rem var(--graph-width) minmax(0, 1fr);\n }\n\n .grow-row > :nth-child(n + 4) {\n display: none;\n }\n}\n"] }]
|
|
479
|
+
}], ctorParameters: () => [], propDecorators: { viewport: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkVirtualScrollViewport), { isSignal: true }] }], row: [{ type: i0.ViewChild, args: ["row", { isSignal: true }] }], actions: [{ type: i0.ViewChild, args: ["actions", { isSignal: true }] }], field: [{ type: i0.ViewChild, args: ["field", { isSignal: true }] }], instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
480
|
+
//# sourceMappingURL=git-history.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-history.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-history/git-history.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-history/git-history.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACnF,OAAO,EACL,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAmB,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EAClK,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,SAAS,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC/F,OAAO,EAA0E,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACjI,OAAO,EACL,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,EAChL,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MA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E,KAAK,EAAE,CAAC,CAAC;IAChE,CAAC;IAEO,MAAM,CAAC,KAAc;QAC3B,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,KAAK,CAAC;YACpC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;uGAtbU,mBAAmB;2FAAnB,mBAAmB,kUAUmD,wBAAwB,mWC9E3G,m8NAyHA,olPD5DI,sBAAsB,qNAAE,yBAAyB,gIAAE,aAAa,2EAAE,iBAAiB,6LAAE,sBAAsB,+DAAE,oBAAoB,mJAAE,eAAe,4jBAAE,sBAAsB,yLAAE,gBAAgB,uKAC5L,oBAAoB,6DAAE,gBAAgB;;2FAM7B,mBAAmB;kBAV/B,SAAS;+BACE,iBAAiB,WAClB;wBACP,sBAAsB,EAAE,yBAAyB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,eAAe,EAAE,sBAAsB,EAAE,gBAAgB;wBAC5L,oBAAoB,EAAE,gBAAgB;qBACvC,QACK,EAAE,uBAAuB,EAAE,cAAc,EAAE;oHAcgC,wBAAwB,8DACL,KAAK,iEACD,SAAS,+DACX,OAAO"}
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { NgComponentOutlet } from "@angular/common";
|
|
9
9
|
import { Component, computed, inject, Injector, input } from "@angular/core";
|
|
10
|
+
import "@noldova/context.core";
|
|
10
11
|
import { WindowPartTokens } from "@noldova/desktop.window";
|
|
11
12
|
import { RemoteTransport } from "@noldova/git.protocol";
|
|
13
|
+
import { GitHostRowView } from "../../models/git-host-row-view.js";
|
|
12
14
|
import { Resources } from "../../../resources.js";
|
|
13
15
|
import { GitHostRows } from "../../services/git-host-rows.js";
|
|
14
16
|
import * as i0 from "@angular/core";
|
|
@@ -19,10 +21,7 @@ export class GitHostRowComponent {
|
|
|
19
21
|
resources = Resources;
|
|
20
22
|
row = computed(() => {
|
|
21
23
|
const provided = this.provided();
|
|
22
|
-
return provided
|
|
23
|
-
component: provided.row.component,
|
|
24
|
-
injector: Injector.create({ providers: [{ provide: WindowPartTokens.context, useValue: provided.context }], parent: this.injector })
|
|
25
|
-
};
|
|
24
|
+
return Object.isNull(provided) ? null : new GitHostRowView(provided.row.component, Injector.create({ providers: [{ provide: WindowPartTokens.context, useValue: provided.context }], parent: this.injector }));
|
|
26
25
|
}, /* @ts-ignore */
|
|
27
26
|
...(ngDevMode ? [{ debugName: "row" }] : /* istanbul ignore next */ []));
|
|
28
27
|
inputs = computed(() => ({
|