@noldova/git.window 0.0.6 → 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,392 @@
|
|
|
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 { afterNextRender, Component, computed, DestroyRef, effect, ElementRef, ErrorHandler, inject, Injector, input, signal, untracked } from "@angular/core";
|
|
9
|
+
import "@noldova/context.core";
|
|
10
|
+
import { WindowPartTokens } from "@noldova/desktop.window";
|
|
11
|
+
import { OperationKind, RebaseAction, RebaseCheckOutcome } from "@noldova/git.protocol";
|
|
12
|
+
import { FormsModule } from "@angular/forms";
|
|
13
|
+
import { ButtonComponent, ButtonVariant, CheckboxComponent, SelectComponent, SelectOption, TextFieldComponent, ToolbarButtonComponent } from "@noldova/ui.components.angular";
|
|
14
|
+
import { Resources } from "../../../resources.js";
|
|
15
|
+
import { GitRebaseLanding } from "../../models/git-rebase-landing.js";
|
|
16
|
+
import { GitRebasePreview } from "../../models/git-rebase-preview.js";
|
|
17
|
+
import { GitRebaseRow } from "../../models/git-rebase-row.js";
|
|
18
|
+
import { GitRebaseStart } from "../../models/git-rebase-start.js";
|
|
19
|
+
import { GitFolder } from "../../services/git-folder.js";
|
|
20
|
+
import { GitRebasePreviews } from "../../services/git-rebase-previews.js";
|
|
21
|
+
import { GitRebasing } from "../../services/git-rebasing.js";
|
|
22
|
+
import { GitRuntimeClient } from "../../services/git-runtime-client.js";
|
|
23
|
+
import { GitViewOptions } from "../../services/git-view-options.js";
|
|
24
|
+
import { GitViewStateService } from "../../services/git-view-state.service.js";
|
|
25
|
+
import { GitReferenceTextComponent } from "../git-reference-text/git-reference-text.component.js";
|
|
26
|
+
import * as i0 from "@angular/core";
|
|
27
|
+
import * as i1 from "@angular/forms";
|
|
28
|
+
export class GitRebaseComponent {
|
|
29
|
+
context = inject(WindowPartTokens.context);
|
|
30
|
+
client = new GitRuntimeClient(this.context);
|
|
31
|
+
host = inject(ElementRef).nativeElement;
|
|
32
|
+
errors = inject(ErrorHandler);
|
|
33
|
+
checks = 0;
|
|
34
|
+
injector = inject(Injector);
|
|
35
|
+
drops = 0;
|
|
36
|
+
advices = 0;
|
|
37
|
+
reads = 0;
|
|
38
|
+
blank = Object.assign(new Image(), { src: Resources.blankDragImage });
|
|
39
|
+
grab = 0;
|
|
40
|
+
resources = Resources;
|
|
41
|
+
showsAiFeatures = GitViewOptions.showsAiFeatures;
|
|
42
|
+
secondary = ButtonVariant.Secondary;
|
|
43
|
+
state = inject(GitViewStateService);
|
|
44
|
+
actions = Object.values(RebaseAction).map(t => new SelectOption(t, Resources.rebaseActionTitles[t]));
|
|
45
|
+
target = computed(() => GitRebasing.targetOf(this.instance()), /* @ts-ignore */
|
|
46
|
+
...(ngDevMode ? [{ debugName: "target" }] : /* istanbul ignore next */ []));
|
|
47
|
+
plan = signal(null, /* @ts-ignore */
|
|
48
|
+
...(ngDevMode ? [{ debugName: "plan" }] : /* istanbul ignore next */ []));
|
|
49
|
+
readFailure = signal(null, /* @ts-ignore */
|
|
50
|
+
...(ngDevMode ? [{ debugName: "readFailure" }] : /* istanbul ignore next */ []));
|
|
51
|
+
rows = signal([], /* @ts-ignore */
|
|
52
|
+
...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
53
|
+
selected = signal(0, /* @ts-ignore */
|
|
54
|
+
...(ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []));
|
|
55
|
+
dragged = signal(null, /* @ts-ignore */
|
|
56
|
+
...(ngDevMode ? [{ debugName: "dragged" }] : /* istanbul ignore next */ []));
|
|
57
|
+
dropAt = signal(null, /* @ts-ignore */
|
|
58
|
+
...(ngDevMode ? [{ debugName: "dropAt" }] : /* istanbul ignore next */ []));
|
|
59
|
+
liftTop = signal(null, /* @ts-ignore */
|
|
60
|
+
...(ngDevMode ? [{ debugName: "liftTop" }] : /* istanbul ignore next */ []));
|
|
61
|
+
landing = computed(() => {
|
|
62
|
+
const from = this.dragged();
|
|
63
|
+
const gap = this.dropAt();
|
|
64
|
+
if (Object.isNull(from))
|
|
65
|
+
return null;
|
|
66
|
+
const to = Object.isNull(gap) ? from : gap > from ? gap - 1 : gap;
|
|
67
|
+
return new GitRebaseLanding(to, to === from ? this.rows() : GitRebaseRow.move(this.rows(), from, to));
|
|
68
|
+
}, /* @ts-ignore */
|
|
69
|
+
...(ngDevMode ? [{ debugName: "landing" }] : /* istanbul ignore next */ []));
|
|
70
|
+
landedChecks = signal(null, /* @ts-ignore */
|
|
71
|
+
...(ngDevMode ? [{ debugName: "landedChecks" }] : /* istanbul ignore next */ []));
|
|
72
|
+
lifted = computed(() => {
|
|
73
|
+
const landing = this.landing();
|
|
74
|
+
if (Object.isNull(landing) || Object.isNull(this.liftTop()))
|
|
75
|
+
return [];
|
|
76
|
+
const items = GitRebaseRow.isValid(landing.rows)
|
|
77
|
+
? GitRebaseComponent.checksOf(landing.rows, landing.rows === this.rows() ? this.stepChecks() : this.landedChecks(), Resources.droppedClean)
|
|
78
|
+
: landing.rows.map(row => ({ row, check: { icon: Resources.checkIcons.Unavailable, tone: Resources.warningTone, text: Resources.droppedRefused } }));
|
|
79
|
+
return items.slice(landing.to, landing.to + 1).map(t => ({ row: t.row, check: { ...t.check, text: Resources.formatDroppedHere(t.check.text) } }));
|
|
80
|
+
}, /* @ts-ignore */
|
|
81
|
+
...(ngDevMode ? [{ debugName: "lifted" }] : /* istanbul ignore next */ []));
|
|
82
|
+
advice = signal(null, /* @ts-ignore */
|
|
83
|
+
...(ngDevMode ? [{ debugName: "advice" }] : /* istanbul ignore next */ []));
|
|
84
|
+
moveStacked = signal(true, /* @ts-ignore */
|
|
85
|
+
...(ngDevMode ? [{ debugName: "moveStacked" }] : /* istanbul ignore next */ []));
|
|
86
|
+
foldFixups = signal(true, /* @ts-ignore */
|
|
87
|
+
...(ngDevMode ? [{ debugName: "foldFixups" }] : /* istanbul ignore next */ []));
|
|
88
|
+
stepChecks = signal(null, /* @ts-ignore */
|
|
89
|
+
...(ngDevMode ? [{ debugName: "stepChecks" }] : /* istanbul ignore next */ []));
|
|
90
|
+
planned = computed(() => GitRebaseRow.planOf(this.rows()), /* @ts-ignore */
|
|
91
|
+
...(ngDevMode ? [{ debugName: "planned" }] : /* istanbul ignore next */ []));
|
|
92
|
+
valid = computed(() => GitRebaseRow.isValid(this.rows()), /* @ts-ignore */
|
|
93
|
+
...(ngDevMode ? [{ debugName: "valid" }] : /* istanbul ignore next */ []));
|
|
94
|
+
items = computed(() => GitRebaseComponent.checksOf(this.rows(), this.stepChecks(), Resources.appliesCleanly), /* @ts-ignore */
|
|
95
|
+
...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
96
|
+
stop = computed(() => {
|
|
97
|
+
const checks = this.stepChecks() ?? [];
|
|
98
|
+
const found = checks.find(t => t.outcome === RebaseCheckOutcome.Conflicts);
|
|
99
|
+
const index = Object.isUndefined(found) ? -1 : checks.indexOf(found);
|
|
100
|
+
const row = this.rows().at(index);
|
|
101
|
+
return Object.isUndefined(found) || Object.isUndefined(row) ? null : { step: index + 1, paths: found.paths, commit: GitRebaseComponent.shortOf(row.commit.id) };
|
|
102
|
+
}, /* @ts-ignore */
|
|
103
|
+
...(ngDevMode ? [{ debugName: "stop" }] : /* istanbul ignore next */ []));
|
|
104
|
+
status = computed(() => this.state.folder() === this.instance() ? this.state.status() : null, /* @ts-ignore */
|
|
105
|
+
...(ngDevMode ? [{ debugName: "status" }] : /* istanbul ignore next */ []));
|
|
106
|
+
checkedOut = computed(() => {
|
|
107
|
+
const status = this.status();
|
|
108
|
+
return Object.isNull(status) || !Object.isNull(status.operation) ? null : status;
|
|
109
|
+
}, /* @ts-ignore */
|
|
110
|
+
...(ngDevMode ? [{ debugName: "checkedOut" }] : /* istanbul ignore next */ []));
|
|
111
|
+
stopped = computed(() => {
|
|
112
|
+
const status = this.status();
|
|
113
|
+
if (status?.operation?.kind !== OperationKind.Rebase)
|
|
114
|
+
return null;
|
|
115
|
+
return status.entries.find(t => !Object.isNull(t.conflict))?.path ?? null;
|
|
116
|
+
}, /* @ts-ignore */
|
|
117
|
+
...(ngDevMode ? [{ debugName: "stopped" }] : /* istanbul ignore next */ []));
|
|
118
|
+
ontoName = computed(() => this.target()?.name ?? "", /* @ts-ignore */
|
|
119
|
+
...(ngDevMode ? [{ debugName: "ontoName" }] : /* istanbul ignore next */ []));
|
|
120
|
+
heading = computed(() => Resources.formatRebaseHeading(this.rows().length, this.plan()?.branch ?? null, this.ontoName()), /* @ts-ignore */
|
|
121
|
+
...(ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []));
|
|
122
|
+
after = computed(() => this.planned().results.toReversed(), /* @ts-ignore */
|
|
123
|
+
...(ngDevMode ? [{ debugName: "after" }] : /* istanbul ignore next */ []));
|
|
124
|
+
summary = computed(() => {
|
|
125
|
+
const summary = Resources.formatCommitsBecome(this.rows().length, this.planned().results.length);
|
|
126
|
+
const advice = this.advice();
|
|
127
|
+
return Object.isNull(advice) ? summary : Resources.formatWithAdvice(summary, advice);
|
|
128
|
+
}, /* @ts-ignore */
|
|
129
|
+
...(ngDevMode ? [{ debugName: "summary" }] : /* istanbul ignore next */ []));
|
|
130
|
+
preview = computed(() => {
|
|
131
|
+
const plan = this.plan();
|
|
132
|
+
return Object.isNull(plan) ? null : new GitRebasePreview(this.instance(), plan, this.ontoName(), this.rows().length, this.moveStacked() ? plan.stacked : [], this.after().map(t => this.subjectOf(t)), this.stop(), this.stopped());
|
|
133
|
+
}, /* @ts-ignore */
|
|
134
|
+
...(ngDevMode ? [{ debugName: "preview" }] : /* istanbul ignore next */ []));
|
|
135
|
+
start = computed(() => {
|
|
136
|
+
const target = this.target();
|
|
137
|
+
const plan = this.plan();
|
|
138
|
+
const status = this.status();
|
|
139
|
+
const ready = !this.state.busy() && this.rows().length > 0 && this.valid();
|
|
140
|
+
return !Object.isNull(status) && ready && !Object.isNull(target) && !Object.isNull(plan) && this.isCurrent(plan, status) ? new GitRebaseStart(target, plan) : null;
|
|
141
|
+
}, /* @ts-ignore */
|
|
142
|
+
...(ngDevMode ? [{ debugName: "start" }] : /* istanbul ignore next */ []));
|
|
143
|
+
instance = input.required(/* @ts-ignore */
|
|
144
|
+
...(ngDevMode ? [{ debugName: "instance" }] : /* istanbul ignore next */ []));
|
|
145
|
+
constructor() {
|
|
146
|
+
let readFor;
|
|
147
|
+
effect(() => {
|
|
148
|
+
const target = this.target();
|
|
149
|
+
const checkedOut = this.checkedOut();
|
|
150
|
+
untracked(() => {
|
|
151
|
+
const plan = this.plan();
|
|
152
|
+
if (target === readFor && (Object.isNull(checkedOut) || Object.isNull(plan) || this.isCurrent(plan, checkedOut)))
|
|
153
|
+
return;
|
|
154
|
+
readFor = target;
|
|
155
|
+
this.run(this.readAsync(target));
|
|
156
|
+
});
|
|
157
|
+
});
|
|
158
|
+
effect(() => {
|
|
159
|
+
const steps = this.planned().steps;
|
|
160
|
+
const target = this.target();
|
|
161
|
+
if (!Object.isNull(target) && steps.length > 0 && this.valid())
|
|
162
|
+
untracked(() => this.run(this.checkAsync(target, steps)));
|
|
163
|
+
});
|
|
164
|
+
effect(() => {
|
|
165
|
+
const landing = this.landing();
|
|
166
|
+
const target = this.target();
|
|
167
|
+
const drop = ++this.drops;
|
|
168
|
+
this.landedChecks.set(null);
|
|
169
|
+
if (!Object.isNull(landing) && !Object.isNull(target) && landing.rows !== untracked(this.rows) && GitRebaseRow.isValid(landing.rows))
|
|
170
|
+
untracked(() => this.run(this.checkDropAsync(drop, target, landing.rows)));
|
|
171
|
+
});
|
|
172
|
+
effect(() => {
|
|
173
|
+
const stop = this.stop();
|
|
174
|
+
const target = this.target();
|
|
175
|
+
const dragging = !Object.isNull(this.dragged());
|
|
176
|
+
const advice = ++this.advices;
|
|
177
|
+
this.advice.set(null);
|
|
178
|
+
if (!Object.isNull(stop) && !Object.isNull(target) && !dragging)
|
|
179
|
+
untracked(() => this.run(this.adviseAsync(advice, target, this.rows(), stop)));
|
|
180
|
+
});
|
|
181
|
+
const active = inject(WindowPartTokens.activeDocument);
|
|
182
|
+
inject(DestroyRef).onDestroy(GitFolder.follow(this.instance, active));
|
|
183
|
+
const previews = GitRebasePreviews.of(this.context);
|
|
184
|
+
previews.follow(this.preview, active, this.injector);
|
|
185
|
+
}
|
|
186
|
+
shortOf(id) {
|
|
187
|
+
return GitRebaseComponent.shortOf(id);
|
|
188
|
+
}
|
|
189
|
+
subjectOf(message) {
|
|
190
|
+
return message.split(Resources.messageLineEnd, 1).join("");
|
|
191
|
+
}
|
|
192
|
+
select(index) {
|
|
193
|
+
this.selected.set(index);
|
|
194
|
+
}
|
|
195
|
+
setAction(index, action) {
|
|
196
|
+
const chosen = Object.values(RebaseAction).find(t => t === action);
|
|
197
|
+
if (!Object.isUndefined(chosen))
|
|
198
|
+
this.rows.update(t => t.map((item, at) => at === index ? item.withAction(chosen) : item));
|
|
199
|
+
}
|
|
200
|
+
setSubject(index, subject) {
|
|
201
|
+
this.rows.update(t => t.map((item, at) => {
|
|
202
|
+
if (at !== index)
|
|
203
|
+
return item;
|
|
204
|
+
const [, ...body] = (item.message ?? item.commit.message).split(Resources.messageLineEnd);
|
|
205
|
+
return item.withMessage([subject, ...body].join(Resources.messageLineEnd));
|
|
206
|
+
}));
|
|
207
|
+
}
|
|
208
|
+
setFold(plan, fold) {
|
|
209
|
+
this.foldFixups.set(fold);
|
|
210
|
+
this.rows.set(GitRebaseRow.arrange(plan.commits, fold));
|
|
211
|
+
}
|
|
212
|
+
keydown(event, index) {
|
|
213
|
+
if (event.target instanceof HTMLInputElement)
|
|
214
|
+
return;
|
|
215
|
+
const step = event.key === Resources.arrowUpKey ? -1 : event.key === Resources.arrowDownKey ? 1 : 0;
|
|
216
|
+
const action = event.ctrlKey || event.metaKey || event.altKey ? undefined : Resources.rebaseActionKeys[event.key.toLowerCase()];
|
|
217
|
+
if (step !== 0 && event.altKey)
|
|
218
|
+
this.moveRow(index, index + step);
|
|
219
|
+
else if (step !== 0)
|
|
220
|
+
this.focusRow(Math.min(Math.max(index + step, 0), this.rows().length - 1));
|
|
221
|
+
else if (!Object.isUndefined(action))
|
|
222
|
+
this.setAction(index, action);
|
|
223
|
+
else
|
|
224
|
+
return;
|
|
225
|
+
event.preventDefault();
|
|
226
|
+
}
|
|
227
|
+
dragStart(event, index, row) {
|
|
228
|
+
this.dragged.set(index);
|
|
229
|
+
this.liftTop.set(null);
|
|
230
|
+
this.grab = event.clientY - row.getBoundingClientRect().top;
|
|
231
|
+
event.dataTransfer?.setData(Resources.dragType, String(index));
|
|
232
|
+
event.dataTransfer?.setDragImage(this.blank, 0, 0);
|
|
233
|
+
}
|
|
234
|
+
follow(event, steps) {
|
|
235
|
+
event.preventDefault();
|
|
236
|
+
if (!Object.isNull(this.dragged()))
|
|
237
|
+
this.liftTop.set(event.clientY - steps.getBoundingClientRect().top + steps.scrollTop - this.grab);
|
|
238
|
+
}
|
|
239
|
+
dragOver(event, index) {
|
|
240
|
+
if (Object.isNull(this.dragged()) || !(event.currentTarget instanceof HTMLElement))
|
|
241
|
+
return;
|
|
242
|
+
event.preventDefault();
|
|
243
|
+
const box = event.currentTarget.getBoundingClientRect();
|
|
244
|
+
this.dropAt.set(event.clientY < box.top + box.height / 2 ? index : index + 1);
|
|
245
|
+
}
|
|
246
|
+
drop(event) {
|
|
247
|
+
const from = this.dragged();
|
|
248
|
+
const gap = this.dropAt();
|
|
249
|
+
event.preventDefault();
|
|
250
|
+
this.dragEnd();
|
|
251
|
+
if (!Object.isNull(from) && !Object.isNull(gap))
|
|
252
|
+
this.moveRow(from, gap > from ? gap - 1 : gap);
|
|
253
|
+
}
|
|
254
|
+
dragEnd() {
|
|
255
|
+
this.dragged.set(null);
|
|
256
|
+
this.dropAt.set(null);
|
|
257
|
+
this.liftTop.set(null);
|
|
258
|
+
}
|
|
259
|
+
cancel() {
|
|
260
|
+
GitRebasing.forget(this.instance());
|
|
261
|
+
this.context.closeDocument(Resources.rebaseDocumentName, this.instance());
|
|
262
|
+
}
|
|
263
|
+
startRebase(start) {
|
|
264
|
+
const updateRefs = this.moveStacked() && start.plan.stacked.length > 0;
|
|
265
|
+
void this.state.rebaseAsync(start.target.id, this.planned().steps, updateRefs).then(ran => {
|
|
266
|
+
if (ran)
|
|
267
|
+
this.cancel();
|
|
268
|
+
}).catch((error) => this.errors.handleError(error));
|
|
269
|
+
}
|
|
270
|
+
moveRow(from, to) {
|
|
271
|
+
if (to < 0 || to >= this.rows().length || to === from)
|
|
272
|
+
return;
|
|
273
|
+
this.rows.update(t => GitRebaseRow.move(t, from, to));
|
|
274
|
+
this.focusRow(to);
|
|
275
|
+
}
|
|
276
|
+
focusRow(index) {
|
|
277
|
+
this.selected.set(index);
|
|
278
|
+
afterNextRender(() => this.host.querySelector(`[data-row="${index}"]`)?.focus(), { injector: this.injector });
|
|
279
|
+
}
|
|
280
|
+
static shortOf(id) {
|
|
281
|
+
return id.slice(0, Resources.shortIdLength);
|
|
282
|
+
}
|
|
283
|
+
static checksOf(rows, checks, clean) {
|
|
284
|
+
let leader = "";
|
|
285
|
+
return rows.map((row, index) => {
|
|
286
|
+
if (!row.folds && row.action !== RebaseAction.Drop)
|
|
287
|
+
leader = row.commit.id;
|
|
288
|
+
return { row, check: GitRebaseComponent.checkOf(row, Object.isNull(checks) ? undefined : checks[index], leader, clean) };
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
static nameOf(row) {
|
|
292
|
+
if (Object.isUndefined(row))
|
|
293
|
+
return null;
|
|
294
|
+
return row.folds ? Resources.formatTheFold(Resources.rebaseActionTitles[row.action]) : GitRebaseComponent.shortOf(row.commit.id);
|
|
295
|
+
}
|
|
296
|
+
static distanceOf(place, index) {
|
|
297
|
+
return Math.abs(place - index) * 2 + Number(place < index);
|
|
298
|
+
}
|
|
299
|
+
static changesFold(rows, from, to) {
|
|
300
|
+
return [...rows.slice(from, from + 2), ...GitRebaseRow.move(rows, from, to).slice(to + 1, to + 2)].some(t => t.folds);
|
|
301
|
+
}
|
|
302
|
+
static checkOf(row, check, leader, clean) {
|
|
303
|
+
if (row.action === RebaseAction.Drop)
|
|
304
|
+
return { icon: Resources.checkIcons.Dropped, tone: Resources.mutedTone, text: Resources.leftOut };
|
|
305
|
+
if (Object.isUndefined(check))
|
|
306
|
+
return { icon: Resources.checkingIcon, tone: Resources.mutedTone, text: Resources.checkingLabel };
|
|
307
|
+
switch (check.outcome) {
|
|
308
|
+
case RebaseCheckOutcome.Conflicts:
|
|
309
|
+
return { icon: Resources.checkIcons.Conflicts, tone: Resources.warningTone, text: Resources.formatConflictsIn(check.paths) };
|
|
310
|
+
case RebaseCheckOutcome.Folded:
|
|
311
|
+
return { icon: Resources.checkIcons.Folded, tone: Resources.mutedTone, text: Resources.formatFoldsInto(GitRebaseComponent.shortOf(leader)) };
|
|
312
|
+
case RebaseCheckOutcome.Unavailable:
|
|
313
|
+
return { icon: Resources.checkIcons.Unavailable, tone: Resources.mutedTone, text: Resources.notChecked };
|
|
314
|
+
default:
|
|
315
|
+
return { icon: Resources.checkIcons.Clean, tone: Resources.okTone, text: clean };
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
isCurrent(plan, status) {
|
|
319
|
+
return plan.branch === status.branch && plan.commits.findLast(t => t.id === status.head) === plan.commits.at(-1);
|
|
320
|
+
}
|
|
321
|
+
async readAsync(target) {
|
|
322
|
+
const read = ++this.reads;
|
|
323
|
+
this.plan.set(null);
|
|
324
|
+
this.rows.set([]);
|
|
325
|
+
this.readFailure.set(null);
|
|
326
|
+
if (Object.isNull(target))
|
|
327
|
+
return;
|
|
328
|
+
try {
|
|
329
|
+
const plan = await this.client.rebasePlanAsync(this.instance(), target.id);
|
|
330
|
+
if (read !== this.reads)
|
|
331
|
+
return;
|
|
332
|
+
this.plan.set(plan);
|
|
333
|
+
this.rows.set(GitRebaseRow.arrange(plan.commits, this.foldFixups()));
|
|
334
|
+
}
|
|
335
|
+
catch (error) {
|
|
336
|
+
if (!GitRuntimeClient.isFailure(error))
|
|
337
|
+
throw error;
|
|
338
|
+
if (read === this.reads)
|
|
339
|
+
this.readFailure.set(GitViewStateService.messageOf(error));
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
async checkDropAsync(drop, target, rows) {
|
|
343
|
+
const answer = await this.askAsync(target, GitRebaseRow.planOf(rows).steps);
|
|
344
|
+
if (drop === this.drops)
|
|
345
|
+
this.landedChecks.set(answer);
|
|
346
|
+
}
|
|
347
|
+
async adviseAsync(advice, target, rows, stop) {
|
|
348
|
+
const index = stop.step - 1;
|
|
349
|
+
const places = rows.map((_, to) => to).filter(t => t !== index)
|
|
350
|
+
.filter(t => GitRebaseRow.isValid(GitRebaseRow.move(rows, index, t)))
|
|
351
|
+
.filter(t => !GitRebaseComponent.changesFold(rows, index, t))
|
|
352
|
+
.sort((x, y) => GitRebaseComponent.distanceOf(x, index) - GitRebaseComponent.distanceOf(y, index))
|
|
353
|
+
.slice(0, Resources.advicePlaces);
|
|
354
|
+
for (const to of places) {
|
|
355
|
+
const moved = GitRebaseRow.move(rows, index, to);
|
|
356
|
+
const answer = await this.askAsync(target, GitRebaseRow.planOf(moved).steps);
|
|
357
|
+
if (advice !== this.advices || answer.length !== moved.length)
|
|
358
|
+
return;
|
|
359
|
+
if (answer.every(t => t.outcome !== RebaseCheckOutcome.Conflicts)) {
|
|
360
|
+
this.advice.set(Resources.formatDropAdvice(stop.commit, GitRebaseComponent.nameOf(moved[to - 1]), stop.paths));
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
async checkAsync(target, steps) {
|
|
366
|
+
const check = ++this.checks;
|
|
367
|
+
this.stepChecks.set(null);
|
|
368
|
+
const answer = await this.askAsync(target, steps);
|
|
369
|
+
if (check === this.checks)
|
|
370
|
+
this.stepChecks.set(answer);
|
|
371
|
+
}
|
|
372
|
+
async askAsync(target, steps) {
|
|
373
|
+
try {
|
|
374
|
+
return (await this.client.rebaseCheckAsync(this.instance(), target.id, steps)).steps;
|
|
375
|
+
}
|
|
376
|
+
catch (error) {
|
|
377
|
+
if (!GitRuntimeClient.isFailure(error))
|
|
378
|
+
throw error;
|
|
379
|
+
return [];
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
run(work) {
|
|
383
|
+
void work.catch((error) => this.errors.handleError(error));
|
|
384
|
+
}
|
|
385
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRebaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
386
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitRebaseComponent, isStandalone: true, selector: "nol-git-rebase", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, providers: [GitViewStateService], 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 class=\"layout\">\n <main class=\"panel steps-panel\" [attr.aria-label]=\"resources.rebaseScreenLabel\">\n <header class=\"head\">\n <div class=\"title-row\">\n <span class=\"title-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.rebaseIcon }}</span>\n <h1 class=\"title strong\">{{ heading() }}</h1>\n @if (showsAiFeatures()) {\n <button nol-toolbar-button type=\"button\" class=\"tidy-up\" [icon]=\"resources.tidyUpIcon\" [label]=\"resources.tidyUpLabel\" [isShowingLabel]=\"true\" disabled\n [title]=\"resources.notBuiltYet\"></button>\n }\n </div>\n <p class=\"hint muted\">{{ resources.rebaseHint }}</p>\n </header>\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (target() === null) {\n <p class=\"note muted\" role=\"note\">{{ resources.rebaseNoTarget }}</p>\n } @else if (plan(); as plan) {\n @if (rows().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.emptyRebase }}</p>\n } @else {\n <div class=\"step columns muted\" aria-hidden=\"true\"><span></span><span>{{ resources.actionColumn }}</span><span>{{ resources.commitColumn }}</span><span>{{ resources.messageColumn }}</span><span>{{ resources.checkColumn }}</span></div>\n <div #steps class=\"steps\" role=\"list\" (dragover)=\"follow($event, steps)\" (drop)=\"drop($event)\">\n @for (item of items(); track item.row.commit.id; let index = $index) {\n @let row = item.row;\n @let check = item.check;\n @if (dropAt() === index) {\n <div class=\"drop-line\" aria-hidden=\"true\"></div>\n }\n <div #step class=\"step\" role=\"listitem\" tabindex=\"0\" draggable=\"true\" [attr.data-row]=\"index\" [attr.aria-current]=\"index === selected() ? 'true' : null\"\n [class.selected]=\"index === selected()\" [class.dropped]=\"row.action === 'Drop'\" [class.folded]=\"row.folds\" [class.lifted]=\"dragged() === index\"\n (focus)=\"select(index)\" (click)=\"select(index)\" (keydown)=\"keydown($event, index)\"\n (dragstart)=\"dragStart($event, index, step)\" (dragover)=\"dragOver($event, index)\" (dragend)=\"dragEnd()\">\n <span class=\"handle material-symbols-rounded\" aria-hidden=\"true\">{{ resources.dragIcon }}</span>\n <nol-select class=\"action\" [label]=\"resources.actionColumn\" [options]=\"actions\" [value]=\"row.action\" (valueChange)=\"setAction(index, $event)\" />\n <span class=\"id mono muted\">{{ shortOf(row.commit.id) }}</span>\n @if (row.takesMessage && index === selected()) {\n <input nol-text-field class=\"message-field\" type=\"text\" [attr.aria-label]=\"resources.rebaseMessageLabel\" [ngModel]=\"subjectOf(row.message ?? row.commit.message)\"\n (ngModelChange)=\"setSubject(index, $event)\" />\n } @else {\n <span class=\"message\" [title]=\"row.message ?? row.commit.message\"><nol-git-reference-text [text]=\"subjectOf(row.message ?? row.commit.message)\" [folder]=\"instance()\"\n [chipTabIndex]=\"-1\" /></span>\n }\n <span class=\"check\"><span class=\"check-icon material-symbols-rounded\" [class]=\"check.tone\" aria-hidden=\"true\">{{ check.icon }}</span><span class=\"check-text\">{{ check.text }}</span></span>\n </div>\n }\n @if (dropAt() === rows().length) {\n <div class=\"drop-line\" aria-hidden=\"true\"></div>\n }\n @for (item of lifted(); track item.row.commit.id) {\n <div class=\"step lift\" aria-hidden=\"true\" inert [class.dropped]=\"item.row.action === 'Drop'\" [style.top.px]=\"liftTop()\">\n <span class=\"handle material-symbols-rounded\">{{ resources.dragIcon }}</span>\n <nol-select class=\"action\" [label]=\"resources.actionColumn\" [options]=\"actions\" [value]=\"item.row.action\" />\n <span class=\"id mono muted\">{{ shortOf(item.row.commit.id) }}</span>\n <span class=\"message\"><nol-git-reference-text [text]=\"subjectOf(item.row.message ?? item.row.commit.message)\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span>\n <span class=\"check\"><span class=\"check-icon material-symbols-rounded\" [class]=\"item.check.tone\">{{ item.check.icon }}</span><span class=\"check-text\">{{ item.check.text\n }}</span></span>\n </div>\n }\n </div>\n }\n <div class=\"spacer\"></div>\n <footer class=\"options\">\n <div class=\"option\">\n <nol-checkbox class=\"move-stacked\" [checked]=\"moveStacked() && plan.stacked.length > 0\" [disabled]=\"plan.stacked.length === 0\" (checkedChange)=\"moveStacked.set($event)\">{{ resources.moveStackedLabel }}</nol-checkbox>\n @if (plan.stacked.length > 0) {\n <span class=\"option-note muted\">{{ resources.formatStackedFollow(plan.stacked) }}</span>\n }\n </div>\n <div class=\"option\">\n <nol-checkbox class=\"fold-fixups\" [checked]=\"foldFixups()\" (checkedChange)=\"setFold(plan, $event)\">{{ resources.foldFixupsLabel }}</nol-checkbox>\n </div>\n <div class=\"option\" [title]=\"resources.undoBackTitle\">\n <nol-checkbox class=\"undo-back\" [checked]=\"true\" [disabled]=\"true\">{{ resources.undoBackLabel }}</nol-checkbox>\n </div>\n <div class=\"option\" [title]=\"resources.notBuiltYet\">\n <nol-checkbox class=\"run-tests\" [checked]=\"false\" [disabled]=\"true\">{{ resources.runTestsLabel }}</nol-checkbox>\n <span class=\"option-note muted\">{{ resources.runTestsNote }}</span>\n </div>\n @if (!valid()) {\n <p class=\"note failure\" role=\"alert\">{{ resources.foldFirstRefusal }}</p>\n }\n @if (state.failure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"start-row\">\n <span class=\"summary muted\">{{ summary() }}</span>\n <button nol-button type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"cancel()\">{{ resources.cancelLabel }}</button>\n @if (start(); as ready) {\n <button nol-button type=\"button\" class=\"start\" (click)=\"startRebase(ready)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.startIcon }}</span>{{ resources.startRebaseLabel }}</button>\n } @else {\n <button nol-button type=\"button\" class=\"start\" disabled>\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.startIcon }}</span>{{ resources.startRebaseLabel }}</button>\n }\n </div>\n </footer>\n }\n </main>\n</div>\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: block;\n container: rebase / size;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.layout {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n height: 100%;\n min-height: 0;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.head {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: 0.25rem;\n padding: 0.75rem 0.75rem 0.5rem;\n}\n\n.title-row {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n}\n\n.title-icon,\n.handle,\n.check-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.title-icon {\n color: var(--nol-icon-color);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n overflow: hidden;\n font-size: 0.9375rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.hint,\n.note {\n margin: 0;\n}\n\n.hint,\n.columns,\n.check-text,\n.option-note,\n.summary {\n font-size: 0.75rem;\n}\n\n.note {\n padding: 0.5rem 0.75rem;\n}\n\n.steps {\n position: relative;\n flex: 0 1 auto;\n min-height: 0;\n overflow: auto;\n}\n\n.step {\n display: grid;\n grid-template-columns: 1.25rem 7rem 4.5rem minmax(5.5rem, 1fr) minmax(0, 12rem);\n gap: 0.5rem;\n align-items: center;\n min-height: 2.25rem;\n padding: 0 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.step.columns {\n min-height: 1.75rem;\n}\n\n.step.columns > * {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.steps .step:hover {\n background-color: var(--nol-hover);\n}\n\n.steps .step.selected {\n background-color: var(--nol-selected);\n}\n\n.step.folded {\n padding-left: 2.5rem;\n}\n\n.step.lifted {\n opacity: 0.35;\n}\n\n.step.lift {\n position: absolute;\n right: 0;\n left: 0;\n z-index: 2;\n margin: 0 0.5rem;\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: 0.375rem;\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n transform: translate(0.75rem, 0.125rem) rotate(-0.4deg);\n pointer-events: none;\n}\n\n.step.dropped .message {\n color: var(--nol-text-muted);\n text-decoration: line-through;\n}\n\n.handle {\n color: var(--nol-text-muted);\n cursor: grab;\n}\n\n.message,\n.check-text {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.message-field {\n min-width: 0;\n}\n\n.check {\n display: inline-flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n overflow: hidden;\n}\n\n.drop-line {\n position: relative;\n height: 2px;\n margin: -1px 0.75rem;\n background-color: var(--nol-accent);\n}\n\n.drop-line::before {\n position: absolute;\n top: -3px;\n left: -4px;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background-color: var(--nol-accent);\n content: \"\";\n}\n\n.spacer {\n flex: 1 1 auto;\n}\n\n.options {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: 0.5rem;\n padding: 0.75rem;\n border-top: var(--nol-border-width) solid var(--nol-border);\n}\n\n.option {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.options .note {\n padding: 0;\n}\n\n.start-row {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n margin-top: 0.25rem;\n}\n\n.summary {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n@container rebase (height < 34rem) {\n .steps-panel {\n overflow-y: auto;\n }\n\n .steps {\n flex: none;\n overflow: visible;\n }\n}\n\n@container rebase (width < 40rem) {\n .title {\n white-space: normal;\n }\n}\n\n@container rebase (width < 45rem) {\n .check-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\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: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled", "label"], outputs: ["checkedChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "component", type: SelectComponent, selector: "nol-select", inputs: ["options", "value", "label", "describedBy", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }] });
|
|
387
|
+
}
|
|
388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRebaseComponent, decorators: [{
|
|
389
|
+
type: Component,
|
|
390
|
+
args: [{ selector: "nol-git-rebase", imports: [ButtonComponent, CheckboxComponent, FormsModule, GitReferenceTextComponent, SelectComponent, TextFieldComponent, ToolbarButtonComponent], providers: [GitViewStateService], 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 class=\"layout\">\n <main class=\"panel steps-panel\" [attr.aria-label]=\"resources.rebaseScreenLabel\">\n <header class=\"head\">\n <div class=\"title-row\">\n <span class=\"title-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.rebaseIcon }}</span>\n <h1 class=\"title strong\">{{ heading() }}</h1>\n @if (showsAiFeatures()) {\n <button nol-toolbar-button type=\"button\" class=\"tidy-up\" [icon]=\"resources.tidyUpIcon\" [label]=\"resources.tidyUpLabel\" [isShowingLabel]=\"true\" disabled\n [title]=\"resources.notBuiltYet\"></button>\n }\n </div>\n <p class=\"hint muted\">{{ resources.rebaseHint }}</p>\n </header>\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (target() === null) {\n <p class=\"note muted\" role=\"note\">{{ resources.rebaseNoTarget }}</p>\n } @else if (plan(); as plan) {\n @if (rows().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.emptyRebase }}</p>\n } @else {\n <div class=\"step columns muted\" aria-hidden=\"true\"><span></span><span>{{ resources.actionColumn }}</span><span>{{ resources.commitColumn }}</span><span>{{ resources.messageColumn }}</span><span>{{ resources.checkColumn }}</span></div>\n <div #steps class=\"steps\" role=\"list\" (dragover)=\"follow($event, steps)\" (drop)=\"drop($event)\">\n @for (item of items(); track item.row.commit.id; let index = $index) {\n @let row = item.row;\n @let check = item.check;\n @if (dropAt() === index) {\n <div class=\"drop-line\" aria-hidden=\"true\"></div>\n }\n <div #step class=\"step\" role=\"listitem\" tabindex=\"0\" draggable=\"true\" [attr.data-row]=\"index\" [attr.aria-current]=\"index === selected() ? 'true' : null\"\n [class.selected]=\"index === selected()\" [class.dropped]=\"row.action === 'Drop'\" [class.folded]=\"row.folds\" [class.lifted]=\"dragged() === index\"\n (focus)=\"select(index)\" (click)=\"select(index)\" (keydown)=\"keydown($event, index)\"\n (dragstart)=\"dragStart($event, index, step)\" (dragover)=\"dragOver($event, index)\" (dragend)=\"dragEnd()\">\n <span class=\"handle material-symbols-rounded\" aria-hidden=\"true\">{{ resources.dragIcon }}</span>\n <nol-select class=\"action\" [label]=\"resources.actionColumn\" [options]=\"actions\" [value]=\"row.action\" (valueChange)=\"setAction(index, $event)\" />\n <span class=\"id mono muted\">{{ shortOf(row.commit.id) }}</span>\n @if (row.takesMessage && index === selected()) {\n <input nol-text-field class=\"message-field\" type=\"text\" [attr.aria-label]=\"resources.rebaseMessageLabel\" [ngModel]=\"subjectOf(row.message ?? row.commit.message)\"\n (ngModelChange)=\"setSubject(index, $event)\" />\n } @else {\n <span class=\"message\" [title]=\"row.message ?? row.commit.message\"><nol-git-reference-text [text]=\"subjectOf(row.message ?? row.commit.message)\" [folder]=\"instance()\"\n [chipTabIndex]=\"-1\" /></span>\n }\n <span class=\"check\"><span class=\"check-icon material-symbols-rounded\" [class]=\"check.tone\" aria-hidden=\"true\">{{ check.icon }}</span><span class=\"check-text\">{{ check.text }}</span></span>\n </div>\n }\n @if (dropAt() === rows().length) {\n <div class=\"drop-line\" aria-hidden=\"true\"></div>\n }\n @for (item of lifted(); track item.row.commit.id) {\n <div class=\"step lift\" aria-hidden=\"true\" inert [class.dropped]=\"item.row.action === 'Drop'\" [style.top.px]=\"liftTop()\">\n <span class=\"handle material-symbols-rounded\">{{ resources.dragIcon }}</span>\n <nol-select class=\"action\" [label]=\"resources.actionColumn\" [options]=\"actions\" [value]=\"item.row.action\" />\n <span class=\"id mono muted\">{{ shortOf(item.row.commit.id) }}</span>\n <span class=\"message\"><nol-git-reference-text [text]=\"subjectOf(item.row.message ?? item.row.commit.message)\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span>\n <span class=\"check\"><span class=\"check-icon material-symbols-rounded\" [class]=\"item.check.tone\">{{ item.check.icon }}</span><span class=\"check-text\">{{ item.check.text\n }}</span></span>\n </div>\n }\n </div>\n }\n <div class=\"spacer\"></div>\n <footer class=\"options\">\n <div class=\"option\">\n <nol-checkbox class=\"move-stacked\" [checked]=\"moveStacked() && plan.stacked.length > 0\" [disabled]=\"plan.stacked.length === 0\" (checkedChange)=\"moveStacked.set($event)\">{{ resources.moveStackedLabel }}</nol-checkbox>\n @if (plan.stacked.length > 0) {\n <span class=\"option-note muted\">{{ resources.formatStackedFollow(plan.stacked) }}</span>\n }\n </div>\n <div class=\"option\">\n <nol-checkbox class=\"fold-fixups\" [checked]=\"foldFixups()\" (checkedChange)=\"setFold(plan, $event)\">{{ resources.foldFixupsLabel }}</nol-checkbox>\n </div>\n <div class=\"option\" [title]=\"resources.undoBackTitle\">\n <nol-checkbox class=\"undo-back\" [checked]=\"true\" [disabled]=\"true\">{{ resources.undoBackLabel }}</nol-checkbox>\n </div>\n <div class=\"option\" [title]=\"resources.notBuiltYet\">\n <nol-checkbox class=\"run-tests\" [checked]=\"false\" [disabled]=\"true\">{{ resources.runTestsLabel }}</nol-checkbox>\n <span class=\"option-note muted\">{{ resources.runTestsNote }}</span>\n </div>\n @if (!valid()) {\n <p class=\"note failure\" role=\"alert\">{{ resources.foldFirstRefusal }}</p>\n }\n @if (state.failure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"start-row\">\n <span class=\"summary muted\">{{ summary() }}</span>\n <button nol-button type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"cancel()\">{{ resources.cancelLabel }}</button>\n @if (start(); as ready) {\n <button nol-button type=\"button\" class=\"start\" (click)=\"startRebase(ready)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.startIcon }}</span>{{ resources.startRebaseLabel }}</button>\n } @else {\n <button nol-button type=\"button\" class=\"start\" disabled>\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.startIcon }}</span>{{ resources.startRebaseLabel }}</button>\n }\n </div>\n </footer>\n }\n </main>\n</div>\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: block;\n container: rebase / size;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.layout {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n height: 100%;\n min-height: 0;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.head {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: 0.25rem;\n padding: 0.75rem 0.75rem 0.5rem;\n}\n\n.title-row {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n}\n\n.title-icon,\n.handle,\n.check-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.title-icon {\n color: var(--nol-icon-color);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n overflow: hidden;\n font-size: 0.9375rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.hint,\n.note {\n margin: 0;\n}\n\n.hint,\n.columns,\n.check-text,\n.option-note,\n.summary {\n font-size: 0.75rem;\n}\n\n.note {\n padding: 0.5rem 0.75rem;\n}\n\n.steps {\n position: relative;\n flex: 0 1 auto;\n min-height: 0;\n overflow: auto;\n}\n\n.step {\n display: grid;\n grid-template-columns: 1.25rem 7rem 4.5rem minmax(5.5rem, 1fr) minmax(0, 12rem);\n gap: 0.5rem;\n align-items: center;\n min-height: 2.25rem;\n padding: 0 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.step.columns {\n min-height: 1.75rem;\n}\n\n.step.columns > * {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.steps .step:hover {\n background-color: var(--nol-hover);\n}\n\n.steps .step.selected {\n background-color: var(--nol-selected);\n}\n\n.step.folded {\n padding-left: 2.5rem;\n}\n\n.step.lifted {\n opacity: 0.35;\n}\n\n.step.lift {\n position: absolute;\n right: 0;\n left: 0;\n z-index: 2;\n margin: 0 0.5rem;\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: 0.375rem;\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n transform: translate(0.75rem, 0.125rem) rotate(-0.4deg);\n pointer-events: none;\n}\n\n.step.dropped .message {\n color: var(--nol-text-muted);\n text-decoration: line-through;\n}\n\n.handle {\n color: var(--nol-text-muted);\n cursor: grab;\n}\n\n.message,\n.check-text {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.message-field {\n min-width: 0;\n}\n\n.check {\n display: inline-flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n overflow: hidden;\n}\n\n.drop-line {\n position: relative;\n height: 2px;\n margin: -1px 0.75rem;\n background-color: var(--nol-accent);\n}\n\n.drop-line::before {\n position: absolute;\n top: -3px;\n left: -4px;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background-color: var(--nol-accent);\n content: \"\";\n}\n\n.spacer {\n flex: 1 1 auto;\n}\n\n.options {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: 0.5rem;\n padding: 0.75rem;\n border-top: var(--nol-border-width) solid var(--nol-border);\n}\n\n.option {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.options .note {\n padding: 0;\n}\n\n.start-row {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n margin-top: 0.25rem;\n}\n\n.summary {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n@container rebase (height < 34rem) {\n .steps-panel {\n overflow-y: auto;\n }\n\n .steps {\n flex: none;\n overflow: visible;\n }\n}\n\n@container rebase (width < 40rem) {\n .title {\n white-space: normal;\n }\n}\n\n@container rebase (width < 45rem) {\n .check-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n }\n}\n"] }]
|
|
391
|
+
}], ctorParameters: () => [], propDecorators: { instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
392
|
+
//# sourceMappingURL=git-rebase.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-rebase.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-rebase/git-rebase.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-rebase/git-rebase.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAiC,MAAM,EAAE,SAAS,EAAuB,MAAM,eAAe,CAAC;AACnN,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAA+D,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAmB,MAAM,uBAAuB,CAAC;AACtK,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,iBAAiB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
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Component, inject, input } from "@angular/core";
|
|
9
|
+
import { WindowPartTokens } from "@noldova/desktop.window";
|
|
10
|
+
import { ButtonComponent, ButtonVariant } from "@noldova/ui.components.angular";
|
|
11
|
+
import { Resources } from "../../../resources.js";
|
|
12
|
+
import { GitRebasePreviews } from "../../services/git-rebase-previews.js";
|
|
13
|
+
import { GitResolving } from "../../services/git-resolving.js";
|
|
14
|
+
import { GitReferenceTextComponent } from "../git-reference-text/git-reference-text.component.js";
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export class GitRebasePreviewComponent {
|
|
17
|
+
context = inject(WindowPartTokens.context);
|
|
18
|
+
resources = Resources;
|
|
19
|
+
secondary = ButtonVariant.Secondary;
|
|
20
|
+
preview = GitRebasePreviews.of(this.context).shown;
|
|
21
|
+
instance = input.required(/* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "instance" }] : /* istanbul ignore next */ []));
|
|
23
|
+
showConflict(folder, path) {
|
|
24
|
+
GitResolving.open(folder, path);
|
|
25
|
+
this.context.openDocument(Resources.conflictsDocumentName, folder, Resources.formatConflictsTitle(folder));
|
|
26
|
+
}
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRebasePreviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitRebasePreviewComponent, isStandalone: true, selector: "nol-git-rebase-preview", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, 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@if (preview(); as preview) {\n <section class=\"preview\" [attr.aria-label]=\"resources.rebasePreviewLabel\">\n <section class=\"now\">\n <h3 class=\"caps\">{{ resources.nowLabel }}</h3>\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n <div class=\"node indented muted\">{{ resources.formatCommitsFrom(preview.count, preview.base) }}</div>\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ resources.formatAheadOfBase(preview.plan.ontoAhead) }}</span></div>\n </section>\n <section class=\"after\">\n <h3 class=\"caps\">{{ resources.afterLabel }}</h3>\n @for (name of preview.stacked; track name) {\n <div class=\"node\"><span class=\"dot stacked-dot\"></span><span class=\"chip\">{{ name }}</span><span class=\"muted\">{{ resources.movedTooLabel }}</span></div>\n }\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n @for (subject of preview.after; track $index) {\n <div class=\"node indented result\"><nol-git-reference-text [text]=\"subject\" [folder]=\"preview.folder\" /></div>\n }\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ preview.ontoCommit }}</span></div>\n </section>\n @if (preview.stop; as stop) {\n <div class=\"stop-card\" role=\"status\">\n <div class=\"stop-title\"><span class=\"check-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.warningIcon }}</span><span class=\"strong\">{{ resources.formatStepStops(stop.step) }}</span></div>\n <p class=\"stop-text\">{{ resources.formatStepStopsNote(stop.paths, preview.onto, stop.commit) }}</p>\n @let stoppedAt = preview.stopped;\n <div><button nol-button type=\"button\" class=\"show-conflict\" [variant]=\"secondary\" [disabled]=\"stoppedAt === null\"\n [title]=\"stoppedAt === null ? resources.showConflictWaits : resources.showConflictLabel\"\n (click)=\"stoppedAt !== null && showConflict(preview.folder, stoppedAt)\">{{ resources.showConflictLabel }}</button></div>\n </div>\n }\n <div class=\"spacer\"></div>\n @if (preview.plan.pushed) {\n <p class=\"pushed muted\">{{ resources.pushedNote }}</p>\n }\n </section>\n} @else {\n <p class=\"muted empty-view\">{{ resources.rebasePreviewEmpty }}</p>\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: block;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n background-color: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.preview {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n box-sizing: border-box;\n min-height: 100%;\n padding: 0.75rem;\n}\n\n.empty-view {\n margin: 0.75rem;\n}\n\n.now,\n.after {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n}\n\n.caps,\n.node,\n.pushed,\n.stop-text {\n font-size: 0.75rem;\n}\n\n.caps {\n margin: 0 0 0.25rem;\n color: var(--nol-text-muted);\n font-weight: normal;\n letter-spacing: 0.02em;\n text-transform: uppercase;\n}\n\n.now {\n gap: 0.25rem;\n}\n\n.now .caps {\n margin: 0;\n}\n\n.node {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n height: 1.625rem;\n white-space: nowrap;\n}\n\n.node > .muted {\n flex: 0 100 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.node.indented {\n padding-left: 1.125rem;\n}\n\n.result {\n overflow: hidden;\n color: var(--nol-text);\n text-overflow: ellipsis;\n}\n\n.dot {\n flex: none;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n}\n\n.branch-dot {\n background-color: var(--nol-author-1);\n}\n\n.onto-dot {\n background-color: var(--nol-author-3);\n}\n\n.stacked-dot {\n background-color: var(--nol-author-2);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\n min-width: 0;\n height: 1.25rem;\n padding: 0 0.375rem;\n overflow: hidden;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.stop-card {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-raised);\n}\n\n.stop-title {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n}\n\n.check-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.stop-text,\n.pushed {\n margin: 0;\n line-height: 1.6;\n}\n\n.spacer {\n flex: 1 1 auto;\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }] });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRebasePreviewComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{ selector: "nol-git-rebase-preview", imports: [ButtonComponent, GitReferenceTextComponent], 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@if (preview(); as preview) {\n <section class=\"preview\" [attr.aria-label]=\"resources.rebasePreviewLabel\">\n <section class=\"now\">\n <h3 class=\"caps\">{{ resources.nowLabel }}</h3>\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n <div class=\"node indented muted\">{{ resources.formatCommitsFrom(preview.count, preview.base) }}</div>\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ resources.formatAheadOfBase(preview.plan.ontoAhead) }}</span></div>\n </section>\n <section class=\"after\">\n <h3 class=\"caps\">{{ resources.afterLabel }}</h3>\n @for (name of preview.stacked; track name) {\n <div class=\"node\"><span class=\"dot stacked-dot\"></span><span class=\"chip\">{{ name }}</span><span class=\"muted\">{{ resources.movedTooLabel }}</span></div>\n }\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n @for (subject of preview.after; track $index) {\n <div class=\"node indented result\"><nol-git-reference-text [text]=\"subject\" [folder]=\"preview.folder\" /></div>\n }\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ preview.ontoCommit }}</span></div>\n </section>\n @if (preview.stop; as stop) {\n <div class=\"stop-card\" role=\"status\">\n <div class=\"stop-title\"><span class=\"check-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.warningIcon }}</span><span class=\"strong\">{{ resources.formatStepStops(stop.step) }}</span></div>\n <p class=\"stop-text\">{{ resources.formatStepStopsNote(stop.paths, preview.onto, stop.commit) }}</p>\n @let stoppedAt = preview.stopped;\n <div><button nol-button type=\"button\" class=\"show-conflict\" [variant]=\"secondary\" [disabled]=\"stoppedAt === null\"\n [title]=\"stoppedAt === null ? resources.showConflictWaits : resources.showConflictLabel\"\n (click)=\"stoppedAt !== null && showConflict(preview.folder, stoppedAt)\">{{ resources.showConflictLabel }}</button></div>\n </div>\n }\n <div class=\"spacer\"></div>\n @if (preview.plan.pushed) {\n <p class=\"pushed muted\">{{ resources.pushedNote }}</p>\n }\n </section>\n} @else {\n <p class=\"muted empty-view\">{{ resources.rebasePreviewEmpty }}</p>\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: block;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n background-color: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.preview {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n box-sizing: border-box;\n min-height: 100%;\n padding: 0.75rem;\n}\n\n.empty-view {\n margin: 0.75rem;\n}\n\n.now,\n.after {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n}\n\n.caps,\n.node,\n.pushed,\n.stop-text {\n font-size: 0.75rem;\n}\n\n.caps {\n margin: 0 0 0.25rem;\n color: var(--nol-text-muted);\n font-weight: normal;\n letter-spacing: 0.02em;\n text-transform: uppercase;\n}\n\n.now {\n gap: 0.25rem;\n}\n\n.now .caps {\n margin: 0;\n}\n\n.node {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n height: 1.625rem;\n white-space: nowrap;\n}\n\n.node > .muted {\n flex: 0 100 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.node.indented {\n padding-left: 1.125rem;\n}\n\n.result {\n overflow: hidden;\n color: var(--nol-text);\n text-overflow: ellipsis;\n}\n\n.dot {\n flex: none;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n}\n\n.branch-dot {\n background-color: var(--nol-author-1);\n}\n\n.onto-dot {\n background-color: var(--nol-author-3);\n}\n\n.stacked-dot {\n background-color: var(--nol-author-2);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\n min-width: 0;\n height: 1.25rem;\n padding: 0 0.375rem;\n overflow: hidden;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.stop-card {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-raised);\n}\n\n.stop-title {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n}\n\n.check-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.stop-text,\n.pushed {\n margin: 0;\n line-height: 1.6;\n}\n\n.spacer {\n flex: 1 1 auto;\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
33
|
+
}], propDecorators: { instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
34
|
+
//# sourceMappingURL=git-rebase-preview.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-rebase-preview.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-rebase-preview/git-rebase-preview.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-rebase-preview/git-rebase-preview.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAiC,MAAM,eAAe,CAAC;AACxF,OAAO,EAA2B,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAGhF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;;AAQlG,MAAM,OAAO,yBAAyB;IACnB,OAAO,GAAuB,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAE7D,SAAS,GAAqB,SAAS,CAAC;IACxC,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACnD,OAAO,GAAoC,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC;IAEvF,QAAQ,GAAwB,KAAK,CAAC,QAAQ;iFAAU,CAAC;IAE/D,YAAY,CAAC,MAAc,EAAE,IAAY;QACjD,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;QAChC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,SAAS,CAAC,qBAAqB,EAAE,MAAM,EAAE,SAAS,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7G,CAAC;uGAZU,yBAAyB;2FAAzB,yBAAyB,8NCxBtC,oqFA6CA,qsFDzBY,eAAe,oJAAE,yBAAyB;;2FAIzC,yBAAyB;kBANrC,SAAS;+BACE,wBAAwB,WACzB,CAAC,eAAe,EAAE,yBAAyB,CAAC"}
|