@noldova/git.window 0.0.13 → 0.0.15
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 +4 -4
- package/src/api/index.d.ts +56 -1
- package/src/api/index.js +1 -0
- package/src/api/index.js.map +1 -1
- package/src/app/components/git-history/git-history.component.js +7 -5
- package/src/app/components/git-history/git-history.component.js.map +1 -1
- package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js +1 -1
- package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js.map +1 -1
- package/src/app/components/git-repository/git-repository.component.js +5 -2
- package/src/app/components/git-repository/git-repository.component.js.map +1 -1
- package/src/app/components/git-undo-menu/git-undo-menu.component.js +1 -1
- package/src/app/components/git-undo-menu/git-undo-menu.component.js.map +1 -1
- package/src/app/components/git-view/git-view.component.js +3 -2
- package/src/app/components/git-view/git-view.component.js.map +1 -1
- package/src/app/enums/git-part.js +15 -0
- package/src/app/enums/git-part.js.map +1 -0
- package/src/app/services/git-folder-looks.js +5 -2
- package/src/app/services/git-folder-looks.js.map +1 -1
- package/src/app/services/git-history-selection.js +5 -0
- package/src/app/services/git-history-selection.js.map +1 -1
- package/src/app/services/git-status-bar.js +3 -2
- package/src/app/services/git-status-bar.js.map +1 -1
- package/src/app/services/git-view-options.js +9 -0
- package/src/app/services/git-view-options.js.map +1 -1
- package/src/app/services/git-view-state.service.js +3 -3
- package/src/app/services/git-view-state.service.js.map +1 -1
- package/src/app/services/git-window-part.js +53 -30
- package/src/app/services/git-window-part.js.map +1 -1
- package/src/resources.js +3 -0
- package/src/resources.js.map +1 -1
|
@@ -10,6 +10,7 @@ import "@noldova/context.core";
|
|
|
10
10
|
import { WindowPartTokens } from "@noldova/desktop.window";
|
|
11
11
|
import { ContextMenuTriggerDirective, DialogService, IconButtonComponent, MenuComponent, MenuItemComponent, MenuSeparatorComponent, SectionHeaderActionDirective, SectionHeaderCaretPosition, SectionHeaderComponent, SectionHeaderDetailDirective, SpinnerComponent, TextFieldComponent, TooltipDirective } from "@noldova/ui.components.angular";
|
|
12
12
|
import { FormsModule } from "@angular/forms";
|
|
13
|
+
import { GitPart } from "../../enums/git-part.js";
|
|
13
14
|
import { GitBranchMenuItem } from "../../models/git-branch-menu-item.js";
|
|
14
15
|
import { GitBranchView } from "../../models/git-branch-view.js";
|
|
15
16
|
import { GitAgentsComponent } from "../git-agents/git-agents.component.js";
|
|
@@ -21,6 +22,7 @@ import { GitPendingSwitch } from "../../services/git-pending-switch.js";
|
|
|
21
22
|
import { GitRepositoryLinks } from "../../services/git-repository-links.js";
|
|
22
23
|
import { GitBranchTree } from "../../services/git-branch-tree.js";
|
|
23
24
|
import { GitRuntimeClient } from "../../services/git-runtime-client.js";
|
|
25
|
+
import { GitViewOptions } from "../../services/git-view-options.js";
|
|
24
26
|
import { GitViewStateService } from "../../services/git-view-state.service.js";
|
|
25
27
|
import { GitViewing } from "../../services/git-viewing.js";
|
|
26
28
|
import { GitWorkspacePages } from "../../services/git-workspace-pages.js";
|
|
@@ -51,6 +53,7 @@ export class GitRepositoryComponent {
|
|
|
51
53
|
newName = signal("", /* @ts-ignore */
|
|
52
54
|
...(ngDevMode ? [{ debugName: "newName" }] : /* istanbul ignore next */ []));
|
|
53
55
|
resources = Resources;
|
|
56
|
+
takesView = GitViewOptions.takes(GitPart.View);
|
|
54
57
|
caretStart = SectionHeaderCaretPosition.Start;
|
|
55
58
|
folder = GitFolder.folder;
|
|
56
59
|
failure = signal(null, /* @ts-ignore */
|
|
@@ -306,11 +309,11 @@ export class GitRepositoryComponent {
|
|
|
306
309
|
this.errors.handleError(error);
|
|
307
310
|
}
|
|
308
311
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRepositoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
309
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitRepositoryComponent, isStandalone: true, selector: "nol-git-repository", 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 (folder(); as path) {\n @let writableStatus = switchable();\n <nav class=\"panel\" [attr.aria-label]=\"resources.repositoryLabel\">\n <div class=\"row head\">\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <div class=\"strong grow name\">{{ resources.formatHistoryTitle(path) }}</div>\n @if (isRepository()) {\n <button type=\"button\" nol-icon-button class=\"fetch-all\" [icon]=\"resources.syncIcon\" [label]=\"resources.fetchAllLabel\" [nolTooltip]=\"resources.fetchAllRemotesTitle\"\n [disabled]=\"writableStatus === null\" (click)=\"writableStatus !== null && fetchAll(path, writableStatus)\"></button>\n }\n <div class=\"small muted grow path\" [title]=\"path\">{{ path }}</div>\n </div>\n @if (isRepository()) {\n @if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n }\n @let changesSelected = !showsLink() && !showsCommit();\n @let historySelected = !showsLink() && showsCommit();\n <button type=\"button\" class=\"row changes\" [class.sel]=\"changesSelected\" [attr.aria-current]=\"changesSelected ? 'true' : null\" (click)=\"showChanges()\">\n <span class=\"ms\">{{ resources.changesIcon }}</span><span class=\"grow\">{{ resources.changesLabel }}</span>\n @if (changes() > 0) {\n <span class=\"badge\">{{ changes() }}</span>\n }\n </button>\n <button type=\"button\" class=\"row history\" [class.sel]=\"historySelected\" [attr.aria-current]=\"historySelected ? 'true' : null\" (click)=\"showHistory(path)\">\n <span class=\"ms\">{{ resources.historyIcon }}</span><span class=\"grow\">{{ resources.historyLabel }}</span>\n </button>\n @for (link of links(); track link.key) {\n <button type=\"button\" class=\"row link\" [class.sel]=\"link.isActive()\" [attr.aria-current]=\"link.isActive() ? 'true' : null\" (click)=\"link.open()\">\n <span class=\"ms\">{{ link.icon }}</span><span class=\"grow\">{{ link.label }}</span>\n </button>\n }\n\n <nol-section-header class=\"branches\" [label]=\"resources.branchesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.branchesLabel)\"\n (expandedChange)=\"toggle(resources.branchesLabel)\" [actionsShown]=\"true\">\n <button nolSectionHeaderAction type=\"button\" nol-icon-button class=\"new-branch\" [icon]=\"resources.createBranchIcon\" [label]=\"resources.newBranchLabel\"\n [nolTooltip]=\"resources.newBranchLabel\" [disabled]=\"writableStatus === null\" (click)=\"writableStatus !== null && newBranchAsync(path, writableStatus)\"></button>\n </nol-section-header>\n @if (isOpen(resources.branchesLabel)) {\n @if (isReading()) {\n <div class=\"row reading\" [style.padding-left.rem]=\"readingIndent\"><nol-spinner [label]=\"resources.readingBranches\" [isDelayed]=\"true\" /></div>\n }\n @for (row of localRows(); track row.key) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"row\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key.slice(resources.localTreeKey.length)\" [attr.aria-expanded]=\"isOpen(row.key)\" (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ isOpen(row.key) ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"grow\">{{ row.name }}</span>\n </button>\n } @else {\n @let isCurrent = row.branch === current();\n @if (renaming() === row.branch) {\n <form class=\"row rename\" [style.padding-left.rem]=\"indentOf(row)\" (submit)=\"$event.preventDefault(); renameAsync(path, row.branch, newName())\">\n <input nol-text-field class=\"grow\" type=\"text\" autofocus name=\"newName\" [attr.aria-label]=\"resources.formatRenameLabel(row.branch)\"\n [ngModel]=\"newName()\" (ngModelChange)=\"newName.set($event)\" (keydown.escape)=\"cancelRename()\" (blur)=\"cancelRename()\" />\n </form>\n } @else {\n <button type=\"button\" class=\"row\" [class.sel]=\"isViewed(row.branch, false)\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.branch\"\n [disabled]=\"busy() && !isCurrent\" (click)=\"view(path, row.branch, false)\" (dblclick)=\"switchTo(path, row.branch)\"\n [nolContextMenuTriggerFor]=\"branchMenu\">\n @if (!isCurrent) {\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n } @else if (switching() === null) {\n <span class=\"ms current\">{{ resources.currentBranchIcon }}</span>\n } @else {\n <span class=\"ms current spin\" role=\"status\" [attr.aria-label]=\"resources.switchingLabel\">{{ resources.switchingIcon }}</span>\n }\n <span class=\"grow\" [class.strong]=\"isCurrent\">{{ row.name }}</span>\n @let counts = countsOf(row.branch, isCurrent);\n @if (counts.ahead > 0) {\n <span class=\"small count ahead\" [title]=\"resources.formatAheadTitle(counts.ahead)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.aheadArrow }}</span>{{ counts.ahead }}</span>\n }\n @if (counts.behind > 0) {\n <span class=\"small count behind\" [title]=\"resources.formatBehindTitle(counts.behind)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.behindArrow }}</span>{{ counts.behind }}</span>\n }\n </button>\n <ng-template #branchMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"isCurrent\" (triggered)=\"switchTo(path, row.branch)\"></button>\n <nol-menu-separator />\n <button nol-menu-item [label]=\"resources.renameLabel\" [icon]=\"resources.renameIcon\" (triggered)=\"startRename(row.branch)\"></button>\n <button nol-menu-item [label]=\"resources.deleteLabel\" [icon]=\"resources.deleteIcon\" [disabled]=\"isCurrent\" (triggered)=\"deleteBranch(path, row.branch, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n }\n }\n\n <nol-git-agents [folder]=\"path\" />\n\n @if (status()?.remote; as remote) {\n <nol-git-pull-requests [folder]=\"path\" [remote]=\"remote\" [current]=\"current()\" [canSwitch]=\"switchable() !== null\" (switchTo)=\"switchTo(path, $event)\" />\n }\n\n <nol-section-header [label]=\"resources.remotesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.remotesLabel)\"\n (expandedChange)=\"toggle(resources.remotesLabel)\">\n <span nolSectionHeaderDetail>{{ remotes().join(\", \") }}</span>\n </nol-section-header>\n @if (isOpen(resources.remotesLabel)) {\n @for (row of remoteRows(); track row.key) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"row\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key\" [attr.aria-expanded]=\"isOpen(row.key)\" (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ isOpen(row.key) ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"ms\">{{ row.depth === 1 ? resources.remoteIcon : resources.folderIcon }}</span>\n <span class=\"grow\">{{ row.name }}</span>\n @if (row.depth === 1) {\n <span class=\"small muted\">{{ row.count }}</span>\n }\n </button>\n } @else {\n @let local = localNameOf(row.branch);\n <div class=\"remote\">\n <button type=\"button\" class=\"row\" [class.sel]=\"isViewed(row.branch, true)\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key\" (click)=\"view(path, row.branch, true)\"\n (dblclick)=\"switchTo(path, local)\" [nolContextMenuTriggerFor]=\"remoteMenu\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg><span class=\"grow\">{{ row.name }}</span>\n @let remoteCounts = remoteCountsOf(row.branch);\n @if (remoteCounts.ahead > 0) {\n <span class=\"small count ahead\" [title]=\"resources.formatRemoteAheadTitle(remoteCounts.ahead)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.aheadArrow }}</span>{{ remoteCounts.ahead }}</span>\n }\n @if (remoteCounts.behind > 0) {\n <span class=\"small count behind\" [title]=\"resources.formatRemoteBehindTitle(remoteCounts.behind)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.behindArrow }}</span>{{ remoteCounts.behind }}</span>\n }\n </button>\n <span class=\"actions\">\n <button type=\"button\" nol-icon-button class=\"switch\" [icon]=\"resources.switchIcon\" [label]=\"resources.formatSwitchToBranch(local)\" [nolTooltip]=\"resources.switchLabel\"\n [disabled]=\"switchable() === null || local === current()\" (click)=\"switchTo(path, local)\"></button>\n </span>\n </div>\n <ng-template #remoteMenu>\n <nol-menu>\n <button nol-menu-item [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"switchable() === null || local === current()\" (triggered)=\"switchTo(path, local)\"></button>\n </nol-menu>\n </ng-template>\n }\n }\n }\n\n <nol-section-header [label]=\"resources.tagsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.tagsLabel)\"\n (expandedChange)=\"toggle(resources.tagsLabel)\">\n @if ((items()?.tags ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.tags ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.tagsLabel)) {\n @for (tag of items()?.tags ?? []; track tag.name) {\n <button type=\"button\" class=\"row nested\" [class.sel]=\"isTagViewed(tag)\" [attr.aria-current]=\"isTagViewed(tag) ? 'true' : null\" [title]=\"tag.name\"\n (click)=\"viewTag(path, tag)\" [nolContextMenuTriggerFor]=\"tagMenu\"><span class=\"ms\">{{ resources.tagIcon }}</span><span class=\"grow\">{{ tag.name }}</span></button>\n <ng-template #tagMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.deleteLabel\" [icon]=\"resources.deleteIcon\" (triggered)=\"deleteTag(path, tag.name, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n\n <nol-section-header [label]=\"resources.stashesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.stashesLabel)\"\n (expandedChange)=\"toggle(resources.stashesLabel)\">\n @if ((items()?.stashes ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.stashes ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.stashesLabel)) {\n @for (stash of items()?.stashes ?? []; track stash.id) {\n <button type=\"button\" class=\"row nested stash\" [title]=\"stash.message\" [nolContextMenuTriggerFor]=\"stashMenu\"><span class=\"ms\">{{ resources.stashIcon }}</span><span\n class=\"grow\">{{ stash.message }}</span></button>\n <ng-template #stashMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.applyStashLabel\" [icon]=\"resources.applyStashIcon\" (triggered)=\"applyStash(path, stash.id, status)\"></button>\n <button nol-menu-item [label]=\"resources.popStashLabel\" [icon]=\"resources.popStashIcon\" (triggered)=\"popStash(path, stash.id, status)\"></button>\n <nol-menu-separator />\n <button nol-menu-item [label]=\"resources.dropStashLabel\" [icon]=\"resources.deleteIcon\" (triggered)=\"dropStash(path, stash.id, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n\n <nol-section-header [label]=\"resources.worktreesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.worktreesLabel)\"\n (expandedChange)=\"toggle(resources.worktreesLabel)\">\n @if (worktreeFolders().length > 0) {\n <span nolSectionHeaderDetail>{{ worktreeFolders().length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.worktreesLabel)) {\n @for (worktree of worktreeFolders(); track worktree) {\n <div class=\"row nested\" [title]=\"worktree\"><span class=\"ms\">{{ resources.worktreeIcon }}</span><span class=\"grow\">{{ worktree }}</span></div>\n }\n }\n\n\n <nol-section-header [label]=\"resources.submodulesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.submodulesLabel)\"\n (expandedChange)=\"toggle(resources.submodulesLabel)\">\n @if ((items()?.submodules ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.submodules ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.submodulesLabel)) {\n @for (submodule of items()?.submodules ?? []; track submodule.path) {\n <div class=\"row nested\" [title]=\"submodule.path\"><span class=\"ms\">{{ resources.submoduleIcon }}</span><span class=\"grow\">{{ submodule.path }}</span></div>\n }\n }\n }\n </nav>\n} @else {\n <p class=\"note\">{{ resources.noFolderText }}</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 overflow: auto;\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.panel {\n --nol-section-header-space-above: 0;\n --nol-section-header-caret: calc(var(--nol-icon) + 0.125rem);\n\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.branches {\n --nol-section-header-space-above: 0.5rem;\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.octicon {\n flex: none;\n box-sizing: border-box;\n width: 1rem;\n height: 1rem;\n padding: 0.09375rem;\n fill: var(--nol-icon-color);\n}\n\n.ms.current {\n color: var(--nol-author-1);\n}\n\n.ms.spin {\n animation: spin 1s linear infinite;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n@keyframes spin {\n to {\n transform: rotate(1turn);\n }\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row.rename {\n height: auto;\n padding-block: 0.125rem;\n}\n\n.rename input {\n min-width: 0;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.sel,\n.row.sel:hover {\n background: var(--nol-selected);\n}\n\n.row.head {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n grid-template-rows: 1.625rem auto;\n column-gap: 0.375rem;\n row-gap: 0;\n height: auto;\n padding-bottom: 0.25rem;\n}\n\n.row.head .path {\n grid-column: 2 / 4;\n}\n\n.row.head:hover {\n background: transparent;\n}\n\n.head > .fetch-all {\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.remote {\n position: relative;\n}\n\n.remote > .actions {\n position: absolute;\n inset-block: 0;\n inset-inline-end: calc(0.5rem + (var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n display: flex;\n align-items: center;\n padding-inline-start: 0.375rem;\n border-radius: 0.375rem;\n background-color: var(--nol-hover);\n}\n\n.remote:not(:hover, :focus-within) > .actions {\n display: none;\n}\n\n.remote:is(:hover, :focus-within) > .row:not(.sel) {\n background: var(--nol-hover);\n}\n\n.remote:is(:hover, :focus-within) > .row > .count {\n visibility: hidden;\n}\n\n.remote:has(> .row.sel) > .actions {\n background-color: var(--nol-selected);\n}\n\n.row.nested {\n padding-left: 1.75rem;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 500;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.badge {\n min-width: 1rem;\n height: 1rem;\n padding: 0 0.25rem;\n box-sizing: border-box;\n border-radius: 0.5rem;\n background: var(--nol-badge);\n color: var(--nol-badge-text);\n font-size: 0.6875rem;\n line-height: 1rem;\n text-align: center;\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.count.ahead {\n color: var(--nol-status-ok);\n}\n\n.count.behind {\n color: var(--nol-accent);\n}\n"], dependencies: [{ kind: "directive", type: ContextMenuTriggerDirective, selector: "[nolContextMenuTriggerFor]", inputs: ["nolContextMenuTriggerFor"], exportAs: ["nolContextMenuTriggerFor"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { 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.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: GitAgentsComponent, selector: "nol-git-agents", inputs: ["folder"] }, { kind: "component", type: GitPullRequestsComponent, selector: "nol-git-pull-requests", inputs: ["folder", "remote", "current", "canSwitch"], outputs: ["switchTo"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { 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: SectionHeaderActionDirective, selector: "[nolSectionHeaderAction]" }, { kind: "component", type: SectionHeaderComponent, selector: "nol-section-header", inputs: ["label", "level", "icon", "collapsible", "uppercase", "quiet", "controls", "actionsShown", "caretPosition", "expanded"], outputs: ["expandedChange"] }, { kind: "directive", type: SectionHeaderDetailDirective, selector: "[nolSectionHeaderDetail]" }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitRepositoryComponent, isStandalone: true, selector: "nol-git-repository", 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 (folder(); as path) {\n @let writableStatus = switchable();\n <nav class=\"panel\" [attr.aria-label]=\"resources.repositoryLabel\">\n <div class=\"row head\">\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <div class=\"strong grow name\">{{ resources.formatHistoryTitle(path) }}</div>\n @if (isRepository()) {\n <button type=\"button\" nol-icon-button class=\"fetch-all\" [icon]=\"resources.syncIcon\" [label]=\"resources.fetchAllLabel\" [nolTooltip]=\"resources.fetchAllRemotesTitle\"\n [disabled]=\"writableStatus === null\" (click)=\"writableStatus !== null && fetchAll(path, writableStatus)\"></button>\n }\n <div class=\"small muted grow path\" [title]=\"path\">{{ path }}</div>\n </div>\n @if (isRepository()) {\n @if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n }\n @let changesSelected = !showsLink() && !showsCommit();\n @let historySelected = !showsLink() && showsCommit();\n @if (takesView) {\n <button type=\"button\" class=\"row changes\" [class.sel]=\"changesSelected\" [attr.aria-current]=\"changesSelected ? 'true' : null\" (click)=\"showChanges()\">\n <span class=\"ms\">{{ resources.changesIcon }}</span><span class=\"grow\">{{ resources.changesLabel }}</span>\n @if (changes() > 0) {\n <span class=\"badge\">{{ changes() }}</span>\n }\n </button>\n }\n <button type=\"button\" class=\"row history\" [class.sel]=\"historySelected\" [attr.aria-current]=\"historySelected ? 'true' : null\" (click)=\"showHistory(path)\">\n <span class=\"ms\">{{ resources.historyIcon }}</span><span class=\"grow\">{{ resources.historyLabel }}</span>\n </button>\n @for (link of links(); track link.key) {\n <button type=\"button\" class=\"row link\" [class.sel]=\"link.isActive()\" [attr.aria-current]=\"link.isActive() ? 'true' : null\" (click)=\"link.open()\">\n <span class=\"ms\">{{ link.icon }}</span><span class=\"grow\">{{ link.label }}</span>\n </button>\n }\n\n <nol-section-header class=\"branches\" [label]=\"resources.branchesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.branchesLabel)\"\n (expandedChange)=\"toggle(resources.branchesLabel)\" [actionsShown]=\"true\">\n <button nolSectionHeaderAction type=\"button\" nol-icon-button class=\"new-branch\" [icon]=\"resources.createBranchIcon\" [label]=\"resources.newBranchLabel\"\n [nolTooltip]=\"resources.newBranchLabel\" [disabled]=\"writableStatus === null\" (click)=\"writableStatus !== null && newBranchAsync(path, writableStatus)\"></button>\n </nol-section-header>\n @if (isOpen(resources.branchesLabel)) {\n @if (isReading()) {\n <div class=\"row reading\" [style.padding-left.rem]=\"readingIndent\"><nol-spinner [label]=\"resources.readingBranches\" [isDelayed]=\"true\" /></div>\n }\n @for (row of localRows(); track row.key) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"row\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key.slice(resources.localTreeKey.length)\" [attr.aria-expanded]=\"isOpen(row.key)\" (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ isOpen(row.key) ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"grow\">{{ row.name }}</span>\n </button>\n } @else {\n @let isCurrent = row.branch === current();\n @if (renaming() === row.branch) {\n <form class=\"row rename\" [style.padding-left.rem]=\"indentOf(row)\" (submit)=\"$event.preventDefault(); renameAsync(path, row.branch, newName())\">\n <input nol-text-field class=\"grow\" type=\"text\" autofocus name=\"newName\" [attr.aria-label]=\"resources.formatRenameLabel(row.branch)\"\n [ngModel]=\"newName()\" (ngModelChange)=\"newName.set($event)\" (keydown.escape)=\"cancelRename()\" (blur)=\"cancelRename()\" />\n </form>\n } @else {\n <button type=\"button\" class=\"row\" [class.sel]=\"isViewed(row.branch, false)\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.branch\"\n [disabled]=\"busy() && !isCurrent\" (click)=\"view(path, row.branch, false)\" (dblclick)=\"switchTo(path, row.branch)\"\n [nolContextMenuTriggerFor]=\"branchMenu\">\n @if (!isCurrent) {\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n } @else if (switching() === null) {\n <span class=\"ms current\">{{ resources.currentBranchIcon }}</span>\n } @else {\n <span class=\"ms current spin\" role=\"status\" [attr.aria-label]=\"resources.switchingLabel\">{{ resources.switchingIcon }}</span>\n }\n <span class=\"grow\" [class.strong]=\"isCurrent\">{{ row.name }}</span>\n @let counts = countsOf(row.branch, isCurrent);\n @if (counts.ahead > 0) {\n <span class=\"small count ahead\" [title]=\"resources.formatAheadTitle(counts.ahead)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.aheadArrow }}</span>{{ counts.ahead }}</span>\n }\n @if (counts.behind > 0) {\n <span class=\"small count behind\" [title]=\"resources.formatBehindTitle(counts.behind)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.behindArrow }}</span>{{ counts.behind }}</span>\n }\n </button>\n <ng-template #branchMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"isCurrent\" (triggered)=\"switchTo(path, row.branch)\"></button>\n <nol-menu-separator />\n <button nol-menu-item [label]=\"resources.renameLabel\" [icon]=\"resources.renameIcon\" (triggered)=\"startRename(row.branch)\"></button>\n <button nol-menu-item [label]=\"resources.deleteLabel\" [icon]=\"resources.deleteIcon\" [disabled]=\"isCurrent\" (triggered)=\"deleteBranch(path, row.branch, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n }\n }\n\n <nol-git-agents [folder]=\"path\" />\n\n @if (status()?.remote; as remote) {\n <nol-git-pull-requests [folder]=\"path\" [remote]=\"remote\" [current]=\"current()\" [canSwitch]=\"switchable() !== null\" (switchTo)=\"switchTo(path, $event)\" />\n }\n\n <nol-section-header [label]=\"resources.remotesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.remotesLabel)\"\n (expandedChange)=\"toggle(resources.remotesLabel)\">\n <span nolSectionHeaderDetail>{{ remotes().join(\", \") }}</span>\n </nol-section-header>\n @if (isOpen(resources.remotesLabel)) {\n @for (row of remoteRows(); track row.key) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"row\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key\" [attr.aria-expanded]=\"isOpen(row.key)\" (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ isOpen(row.key) ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"ms\">{{ row.depth === 1 ? resources.remoteIcon : resources.folderIcon }}</span>\n <span class=\"grow\">{{ row.name }}</span>\n @if (row.depth === 1) {\n <span class=\"small muted\">{{ row.count }}</span>\n }\n </button>\n } @else {\n @let local = localNameOf(row.branch);\n <div class=\"remote\">\n <button type=\"button\" class=\"row\" [class.sel]=\"isViewed(row.branch, true)\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key\" (click)=\"view(path, row.branch, true)\"\n (dblclick)=\"switchTo(path, local)\" [nolContextMenuTriggerFor]=\"remoteMenu\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg><span class=\"grow\">{{ row.name }}</span>\n @let remoteCounts = remoteCountsOf(row.branch);\n @if (remoteCounts.ahead > 0) {\n <span class=\"small count ahead\" [title]=\"resources.formatRemoteAheadTitle(remoteCounts.ahead)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.aheadArrow }}</span>{{ remoteCounts.ahead }}</span>\n }\n @if (remoteCounts.behind > 0) {\n <span class=\"small count behind\" [title]=\"resources.formatRemoteBehindTitle(remoteCounts.behind)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.behindArrow }}</span>{{ remoteCounts.behind }}</span>\n }\n </button>\n <span class=\"actions\">\n <button type=\"button\" nol-icon-button class=\"switch\" [icon]=\"resources.switchIcon\" [label]=\"resources.formatSwitchToBranch(local)\" [nolTooltip]=\"resources.switchLabel\"\n [disabled]=\"switchable() === null || local === current()\" (click)=\"switchTo(path, local)\"></button>\n </span>\n </div>\n <ng-template #remoteMenu>\n <nol-menu>\n <button nol-menu-item [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"switchable() === null || local === current()\" (triggered)=\"switchTo(path, local)\"></button>\n </nol-menu>\n </ng-template>\n }\n }\n }\n\n <nol-section-header [label]=\"resources.tagsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.tagsLabel)\"\n (expandedChange)=\"toggle(resources.tagsLabel)\">\n @if ((items()?.tags ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.tags ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.tagsLabel)) {\n @for (tag of items()?.tags ?? []; track tag.name) {\n <button type=\"button\" class=\"row nested\" [class.sel]=\"isTagViewed(tag)\" [attr.aria-current]=\"isTagViewed(tag) ? 'true' : null\" [title]=\"tag.name\"\n (click)=\"viewTag(path, tag)\" [nolContextMenuTriggerFor]=\"tagMenu\"><span class=\"ms\">{{ resources.tagIcon }}</span><span class=\"grow\">{{ tag.name }}</span></button>\n <ng-template #tagMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.deleteLabel\" [icon]=\"resources.deleteIcon\" (triggered)=\"deleteTag(path, tag.name, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n\n <nol-section-header [label]=\"resources.stashesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.stashesLabel)\"\n (expandedChange)=\"toggle(resources.stashesLabel)\">\n @if ((items()?.stashes ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.stashes ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.stashesLabel)) {\n @for (stash of items()?.stashes ?? []; track stash.id) {\n <button type=\"button\" class=\"row nested stash\" [title]=\"stash.message\" [nolContextMenuTriggerFor]=\"stashMenu\"><span class=\"ms\">{{ resources.stashIcon }}</span><span\n class=\"grow\">{{ stash.message }}</span></button>\n <ng-template #stashMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.applyStashLabel\" [icon]=\"resources.applyStashIcon\" (triggered)=\"applyStash(path, stash.id, status)\"></button>\n <button nol-menu-item [label]=\"resources.popStashLabel\" [icon]=\"resources.popStashIcon\" (triggered)=\"popStash(path, stash.id, status)\"></button>\n <nol-menu-separator />\n <button nol-menu-item [label]=\"resources.dropStashLabel\" [icon]=\"resources.deleteIcon\" (triggered)=\"dropStash(path, stash.id, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n\n <nol-section-header [label]=\"resources.worktreesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.worktreesLabel)\"\n (expandedChange)=\"toggle(resources.worktreesLabel)\">\n @if (worktreeFolders().length > 0) {\n <span nolSectionHeaderDetail>{{ worktreeFolders().length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.worktreesLabel)) {\n @for (worktree of worktreeFolders(); track worktree) {\n <div class=\"row nested\" [title]=\"worktree\"><span class=\"ms\">{{ resources.worktreeIcon }}</span><span class=\"grow\">{{ worktree }}</span></div>\n }\n }\n\n\n <nol-section-header [label]=\"resources.submodulesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.submodulesLabel)\"\n (expandedChange)=\"toggle(resources.submodulesLabel)\">\n @if ((items()?.submodules ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.submodules ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.submodulesLabel)) {\n @for (submodule of items()?.submodules ?? []; track submodule.path) {\n <div class=\"row nested\" [title]=\"submodule.path\"><span class=\"ms\">{{ resources.submoduleIcon }}</span><span class=\"grow\">{{ submodule.path }}</span></div>\n }\n }\n }\n </nav>\n} @else {\n <p class=\"note\">{{ resources.noFolderText }}</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 overflow: auto;\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.panel {\n --nol-section-header-space-above: 0;\n --nol-section-header-caret: calc(var(--nol-icon) + 0.125rem);\n\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.branches {\n --nol-section-header-space-above: 0.5rem;\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.octicon {\n flex: none;\n box-sizing: border-box;\n width: 1rem;\n height: 1rem;\n padding: 0.09375rem;\n fill: var(--nol-icon-color);\n}\n\n.ms.current {\n color: var(--nol-author-1);\n}\n\n.ms.spin {\n animation: spin 1s linear infinite;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n@keyframes spin {\n to {\n transform: rotate(1turn);\n }\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row.rename {\n height: auto;\n padding-block: 0.125rem;\n}\n\n.rename input {\n min-width: 0;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.sel,\n.row.sel:hover {\n background: var(--nol-selected);\n}\n\n.row.head {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n grid-template-rows: 1.625rem auto;\n column-gap: 0.375rem;\n row-gap: 0;\n height: auto;\n padding-bottom: 0.25rem;\n}\n\n.row.head .path {\n grid-column: 2 / 4;\n}\n\n.row.head:hover {\n background: transparent;\n}\n\n.head > .fetch-all {\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.remote {\n position: relative;\n}\n\n.remote > .actions {\n position: absolute;\n inset-block: 0;\n inset-inline-end: calc(0.5rem + (var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n display: flex;\n align-items: center;\n padding-inline-start: 0.375rem;\n border-radius: 0.375rem;\n background-color: var(--nol-hover);\n}\n\n.remote:not(:hover, :focus-within) > .actions {\n display: none;\n}\n\n.remote:is(:hover, :focus-within) > .row:not(.sel) {\n background: var(--nol-hover);\n}\n\n.remote:is(:hover, :focus-within) > .row > .count {\n visibility: hidden;\n}\n\n.remote:has(> .row.sel) > .actions {\n background-color: var(--nol-selected);\n}\n\n.row.nested {\n padding-left: 1.75rem;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 500;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.badge {\n min-width: 1rem;\n height: 1rem;\n padding: 0 0.25rem;\n box-sizing: border-box;\n border-radius: 0.5rem;\n background: var(--nol-badge);\n color: var(--nol-badge-text);\n font-size: 0.6875rem;\n line-height: 1rem;\n text-align: center;\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.count.ahead {\n color: var(--nol-status-ok);\n}\n\n.count.behind {\n color: var(--nol-accent);\n}\n"], dependencies: [{ kind: "directive", type: ContextMenuTriggerDirective, selector: "[nolContextMenuTriggerFor]", inputs: ["nolContextMenuTriggerFor"], exportAs: ["nolContextMenuTriggerFor"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { 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.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: GitAgentsComponent, selector: "nol-git-agents", inputs: ["folder"] }, { kind: "component", type: GitPullRequestsComponent, selector: "nol-git-pull-requests", inputs: ["folder", "remote", "current", "canSwitch"], outputs: ["switchTo"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { 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: SectionHeaderActionDirective, selector: "[nolSectionHeaderAction]" }, { kind: "component", type: SectionHeaderComponent, selector: "nol-section-header", inputs: ["label", "level", "icon", "collapsible", "uppercase", "quiet", "controls", "actionsShown", "caretPosition", "expanded"], outputs: ["expandedChange"] }, { kind: "directive", type: SectionHeaderDetailDirective, selector: "[nolSectionHeaderDetail]" }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
310
313
|
}
|
|
311
314
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRepositoryComponent, decorators: [{
|
|
312
315
|
type: Component,
|
|
313
316
|
args: [{ selector: "nol-git-repository", imports: [ContextMenuTriggerDirective, FormsModule, GitAgentsComponent, GitPullRequestsComponent, IconButtonComponent, MenuComponent, MenuItemComponent, MenuSeparatorComponent,
|
|
314
|
-
SectionHeaderActionDirective, SectionHeaderComponent, SectionHeaderDetailDirective, SpinnerComponent, TextFieldComponent, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (folder(); as path) {\n @let writableStatus = switchable();\n <nav class=\"panel\" [attr.aria-label]=\"resources.repositoryLabel\">\n <div class=\"row head\">\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <div class=\"strong grow name\">{{ resources.formatHistoryTitle(path) }}</div>\n @if (isRepository()) {\n <button type=\"button\" nol-icon-button class=\"fetch-all\" [icon]=\"resources.syncIcon\" [label]=\"resources.fetchAllLabel\" [nolTooltip]=\"resources.fetchAllRemotesTitle\"\n [disabled]=\"writableStatus === null\" (click)=\"writableStatus !== null && fetchAll(path, writableStatus)\"></button>\n }\n <div class=\"small muted grow path\" [title]=\"path\">{{ path }}</div>\n </div>\n @if (isRepository()) {\n @if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n }\n @let changesSelected = !showsLink() && !showsCommit();\n @let historySelected = !showsLink() && showsCommit();\n <button type=\"button\" class=\"row changes\" [class.sel]=\"changesSelected\" [attr.aria-current]=\"changesSelected ? 'true' : null\" (click)=\"showChanges()\">\n <span class=\"ms\">{{ resources.changesIcon }}</span><span class=\"grow\">{{ resources.changesLabel }}</span>\n @if (changes() > 0) {\n <span class=\"badge\">{{ changes() }}</span>\n }\n </button>\n <button type=\"button\" class=\"row history\" [class.sel]=\"historySelected\" [attr.aria-current]=\"historySelected ? 'true' : null\" (click)=\"showHistory(path)\">\n <span class=\"ms\">{{ resources.historyIcon }}</span><span class=\"grow\">{{ resources.historyLabel }}</span>\n </button>\n @for (link of links(); track link.key) {\n <button type=\"button\" class=\"row link\" [class.sel]=\"link.isActive()\" [attr.aria-current]=\"link.isActive() ? 'true' : null\" (click)=\"link.open()\">\n <span class=\"ms\">{{ link.icon }}</span><span class=\"grow\">{{ link.label }}</span>\n </button>\n }\n\n <nol-section-header class=\"branches\" [label]=\"resources.branchesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.branchesLabel)\"\n (expandedChange)=\"toggle(resources.branchesLabel)\" [actionsShown]=\"true\">\n <button nolSectionHeaderAction type=\"button\" nol-icon-button class=\"new-branch\" [icon]=\"resources.createBranchIcon\" [label]=\"resources.newBranchLabel\"\n [nolTooltip]=\"resources.newBranchLabel\" [disabled]=\"writableStatus === null\" (click)=\"writableStatus !== null && newBranchAsync(path, writableStatus)\"></button>\n </nol-section-header>\n @if (isOpen(resources.branchesLabel)) {\n @if (isReading()) {\n <div class=\"row reading\" [style.padding-left.rem]=\"readingIndent\"><nol-spinner [label]=\"resources.readingBranches\" [isDelayed]=\"true\" /></div>\n }\n @for (row of localRows(); track row.key) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"row\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key.slice(resources.localTreeKey.length)\" [attr.aria-expanded]=\"isOpen(row.key)\" (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ isOpen(row.key) ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"grow\">{{ row.name }}</span>\n </button>\n } @else {\n @let isCurrent = row.branch === current();\n @if (renaming() === row.branch) {\n <form class=\"row rename\" [style.padding-left.rem]=\"indentOf(row)\" (submit)=\"$event.preventDefault(); renameAsync(path, row.branch, newName())\">\n <input nol-text-field class=\"grow\" type=\"text\" autofocus name=\"newName\" [attr.aria-label]=\"resources.formatRenameLabel(row.branch)\"\n [ngModel]=\"newName()\" (ngModelChange)=\"newName.set($event)\" (keydown.escape)=\"cancelRename()\" (blur)=\"cancelRename()\" />\n </form>\n } @else {\n <button type=\"button\" class=\"row\" [class.sel]=\"isViewed(row.branch, false)\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.branch\"\n [disabled]=\"busy() && !isCurrent\" (click)=\"view(path, row.branch, false)\" (dblclick)=\"switchTo(path, row.branch)\"\n [nolContextMenuTriggerFor]=\"branchMenu\">\n @if (!isCurrent) {\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n } @else if (switching() === null) {\n <span class=\"ms current\">{{ resources.currentBranchIcon }}</span>\n } @else {\n <span class=\"ms current spin\" role=\"status\" [attr.aria-label]=\"resources.switchingLabel\">{{ resources.switchingIcon }}</span>\n }\n <span class=\"grow\" [class.strong]=\"isCurrent\">{{ row.name }}</span>\n @let counts = countsOf(row.branch, isCurrent);\n @if (counts.ahead > 0) {\n <span class=\"small count ahead\" [title]=\"resources.formatAheadTitle(counts.ahead)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.aheadArrow }}</span>{{ counts.ahead }}</span>\n }\n @if (counts.behind > 0) {\n <span class=\"small count behind\" [title]=\"resources.formatBehindTitle(counts.behind)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.behindArrow }}</span>{{ counts.behind }}</span>\n }\n </button>\n <ng-template #branchMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"isCurrent\" (triggered)=\"switchTo(path, row.branch)\"></button>\n <nol-menu-separator />\n <button nol-menu-item [label]=\"resources.renameLabel\" [icon]=\"resources.renameIcon\" (triggered)=\"startRename(row.branch)\"></button>\n <button nol-menu-item [label]=\"resources.deleteLabel\" [icon]=\"resources.deleteIcon\" [disabled]=\"isCurrent\" (triggered)=\"deleteBranch(path, row.branch, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n }\n }\n\n <nol-git-agents [folder]=\"path\" />\n\n @if (status()?.remote; as remote) {\n <nol-git-pull-requests [folder]=\"path\" [remote]=\"remote\" [current]=\"current()\" [canSwitch]=\"switchable() !== null\" (switchTo)=\"switchTo(path, $event)\" />\n }\n\n <nol-section-header [label]=\"resources.remotesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.remotesLabel)\"\n (expandedChange)=\"toggle(resources.remotesLabel)\">\n <span nolSectionHeaderDetail>{{ remotes().join(\", \") }}</span>\n </nol-section-header>\n @if (isOpen(resources.remotesLabel)) {\n @for (row of remoteRows(); track row.key) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"row\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key\" [attr.aria-expanded]=\"isOpen(row.key)\" (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ isOpen(row.key) ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"ms\">{{ row.depth === 1 ? resources.remoteIcon : resources.folderIcon }}</span>\n <span class=\"grow\">{{ row.name }}</span>\n @if (row.depth === 1) {\n <span class=\"small muted\">{{ row.count }}</span>\n }\n </button>\n } @else {\n @let local = localNameOf(row.branch);\n <div class=\"remote\">\n <button type=\"button\" class=\"row\" [class.sel]=\"isViewed(row.branch, true)\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key\" (click)=\"view(path, row.branch, true)\"\n (dblclick)=\"switchTo(path, local)\" [nolContextMenuTriggerFor]=\"remoteMenu\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg><span class=\"grow\">{{ row.name }}</span>\n @let remoteCounts = remoteCountsOf(row.branch);\n @if (remoteCounts.ahead > 0) {\n <span class=\"small count ahead\" [title]=\"resources.formatRemoteAheadTitle(remoteCounts.ahead)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.aheadArrow }}</span>{{ remoteCounts.ahead }}</span>\n }\n @if (remoteCounts.behind > 0) {\n <span class=\"small count behind\" [title]=\"resources.formatRemoteBehindTitle(remoteCounts.behind)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.behindArrow }}</span>{{ remoteCounts.behind }}</span>\n }\n </button>\n <span class=\"actions\">\n <button type=\"button\" nol-icon-button class=\"switch\" [icon]=\"resources.switchIcon\" [label]=\"resources.formatSwitchToBranch(local)\" [nolTooltip]=\"resources.switchLabel\"\n [disabled]=\"switchable() === null || local === current()\" (click)=\"switchTo(path, local)\"></button>\n </span>\n </div>\n <ng-template #remoteMenu>\n <nol-menu>\n <button nol-menu-item [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"switchable() === null || local === current()\" (triggered)=\"switchTo(path, local)\"></button>\n </nol-menu>\n </ng-template>\n }\n }\n }\n\n <nol-section-header [label]=\"resources.tagsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.tagsLabel)\"\n (expandedChange)=\"toggle(resources.tagsLabel)\">\n @if ((items()?.tags ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.tags ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.tagsLabel)) {\n @for (tag of items()?.tags ?? []; track tag.name) {\n <button type=\"button\" class=\"row nested\" [class.sel]=\"isTagViewed(tag)\" [attr.aria-current]=\"isTagViewed(tag) ? 'true' : null\" [title]=\"tag.name\"\n (click)=\"viewTag(path, tag)\" [nolContextMenuTriggerFor]=\"tagMenu\"><span class=\"ms\">{{ resources.tagIcon }}</span><span class=\"grow\">{{ tag.name }}</span></button>\n <ng-template #tagMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.deleteLabel\" [icon]=\"resources.deleteIcon\" (triggered)=\"deleteTag(path, tag.name, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n\n <nol-section-header [label]=\"resources.stashesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.stashesLabel)\"\n (expandedChange)=\"toggle(resources.stashesLabel)\">\n @if ((items()?.stashes ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.stashes ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.stashesLabel)) {\n @for (stash of items()?.stashes ?? []; track stash.id) {\n <button type=\"button\" class=\"row nested stash\" [title]=\"stash.message\" [nolContextMenuTriggerFor]=\"stashMenu\"><span class=\"ms\">{{ resources.stashIcon }}</span><span\n class=\"grow\">{{ stash.message }}</span></button>\n <ng-template #stashMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.applyStashLabel\" [icon]=\"resources.applyStashIcon\" (triggered)=\"applyStash(path, stash.id, status)\"></button>\n <button nol-menu-item [label]=\"resources.popStashLabel\" [icon]=\"resources.popStashIcon\" (triggered)=\"popStash(path, stash.id, status)\"></button>\n <nol-menu-separator />\n <button nol-menu-item [label]=\"resources.dropStashLabel\" [icon]=\"resources.deleteIcon\" (triggered)=\"dropStash(path, stash.id, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n\n <nol-section-header [label]=\"resources.worktreesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.worktreesLabel)\"\n (expandedChange)=\"toggle(resources.worktreesLabel)\">\n @if (worktreeFolders().length > 0) {\n <span nolSectionHeaderDetail>{{ worktreeFolders().length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.worktreesLabel)) {\n @for (worktree of worktreeFolders(); track worktree) {\n <div class=\"row nested\" [title]=\"worktree\"><span class=\"ms\">{{ resources.worktreeIcon }}</span><span class=\"grow\">{{ worktree }}</span></div>\n }\n }\n\n\n <nol-section-header [label]=\"resources.submodulesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.submodulesLabel)\"\n (expandedChange)=\"toggle(resources.submodulesLabel)\">\n @if ((items()?.submodules ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.submodules ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.submodulesLabel)) {\n @for (submodule of items()?.submodules ?? []; track submodule.path) {\n <div class=\"row nested\" [title]=\"submodule.path\"><span class=\"ms\">{{ resources.submoduleIcon }}</span><span class=\"grow\">{{ submodule.path }}</span></div>\n }\n }\n }\n </nav>\n} @else {\n <p class=\"note\">{{ resources.noFolderText }}</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 overflow: auto;\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.panel {\n --nol-section-header-space-above: 0;\n --nol-section-header-caret: calc(var(--nol-icon) + 0.125rem);\n\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.branches {\n --nol-section-header-space-above: 0.5rem;\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.octicon {\n flex: none;\n box-sizing: border-box;\n width: 1rem;\n height: 1rem;\n padding: 0.09375rem;\n fill: var(--nol-icon-color);\n}\n\n.ms.current {\n color: var(--nol-author-1);\n}\n\n.ms.spin {\n animation: spin 1s linear infinite;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n@keyframes spin {\n to {\n transform: rotate(1turn);\n }\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row.rename {\n height: auto;\n padding-block: 0.125rem;\n}\n\n.rename input {\n min-width: 0;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.sel,\n.row.sel:hover {\n background: var(--nol-selected);\n}\n\n.row.head {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n grid-template-rows: 1.625rem auto;\n column-gap: 0.375rem;\n row-gap: 0;\n height: auto;\n padding-bottom: 0.25rem;\n}\n\n.row.head .path {\n grid-column: 2 / 4;\n}\n\n.row.head:hover {\n background: transparent;\n}\n\n.head > .fetch-all {\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.remote {\n position: relative;\n}\n\n.remote > .actions {\n position: absolute;\n inset-block: 0;\n inset-inline-end: calc(0.5rem + (var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n display: flex;\n align-items: center;\n padding-inline-start: 0.375rem;\n border-radius: 0.375rem;\n background-color: var(--nol-hover);\n}\n\n.remote:not(:hover, :focus-within) > .actions {\n display: none;\n}\n\n.remote:is(:hover, :focus-within) > .row:not(.sel) {\n background: var(--nol-hover);\n}\n\n.remote:is(:hover, :focus-within) > .row > .count {\n visibility: hidden;\n}\n\n.remote:has(> .row.sel) > .actions {\n background-color: var(--nol-selected);\n}\n\n.row.nested {\n padding-left: 1.75rem;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 500;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.badge {\n min-width: 1rem;\n height: 1rem;\n padding: 0 0.25rem;\n box-sizing: border-box;\n border-radius: 0.5rem;\n background: var(--nol-badge);\n color: var(--nol-badge-text);\n font-size: 0.6875rem;\n line-height: 1rem;\n text-align: center;\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.count.ahead {\n color: var(--nol-status-ok);\n}\n\n.count.behind {\n color: var(--nol-accent);\n}\n"] }]
|
|
317
|
+
SectionHeaderActionDirective, SectionHeaderComponent, SectionHeaderDetailDirective, SpinnerComponent, TextFieldComponent, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (folder(); as path) {\n @let writableStatus = switchable();\n <nav class=\"panel\" [attr.aria-label]=\"resources.repositoryLabel\">\n <div class=\"row head\">\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <div class=\"strong grow name\">{{ resources.formatHistoryTitle(path) }}</div>\n @if (isRepository()) {\n <button type=\"button\" nol-icon-button class=\"fetch-all\" [icon]=\"resources.syncIcon\" [label]=\"resources.fetchAllLabel\" [nolTooltip]=\"resources.fetchAllRemotesTitle\"\n [disabled]=\"writableStatus === null\" (click)=\"writableStatus !== null && fetchAll(path, writableStatus)\"></button>\n }\n <div class=\"small muted grow path\" [title]=\"path\">{{ path }}</div>\n </div>\n @if (isRepository()) {\n @if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n }\n @let changesSelected = !showsLink() && !showsCommit();\n @let historySelected = !showsLink() && showsCommit();\n @if (takesView) {\n <button type=\"button\" class=\"row changes\" [class.sel]=\"changesSelected\" [attr.aria-current]=\"changesSelected ? 'true' : null\" (click)=\"showChanges()\">\n <span class=\"ms\">{{ resources.changesIcon }}</span><span class=\"grow\">{{ resources.changesLabel }}</span>\n @if (changes() > 0) {\n <span class=\"badge\">{{ changes() }}</span>\n }\n </button>\n }\n <button type=\"button\" class=\"row history\" [class.sel]=\"historySelected\" [attr.aria-current]=\"historySelected ? 'true' : null\" (click)=\"showHistory(path)\">\n <span class=\"ms\">{{ resources.historyIcon }}</span><span class=\"grow\">{{ resources.historyLabel }}</span>\n </button>\n @for (link of links(); track link.key) {\n <button type=\"button\" class=\"row link\" [class.sel]=\"link.isActive()\" [attr.aria-current]=\"link.isActive() ? 'true' : null\" (click)=\"link.open()\">\n <span class=\"ms\">{{ link.icon }}</span><span class=\"grow\">{{ link.label }}</span>\n </button>\n }\n\n <nol-section-header class=\"branches\" [label]=\"resources.branchesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.branchesLabel)\"\n (expandedChange)=\"toggle(resources.branchesLabel)\" [actionsShown]=\"true\">\n <button nolSectionHeaderAction type=\"button\" nol-icon-button class=\"new-branch\" [icon]=\"resources.createBranchIcon\" [label]=\"resources.newBranchLabel\"\n [nolTooltip]=\"resources.newBranchLabel\" [disabled]=\"writableStatus === null\" (click)=\"writableStatus !== null && newBranchAsync(path, writableStatus)\"></button>\n </nol-section-header>\n @if (isOpen(resources.branchesLabel)) {\n @if (isReading()) {\n <div class=\"row reading\" [style.padding-left.rem]=\"readingIndent\"><nol-spinner [label]=\"resources.readingBranches\" [isDelayed]=\"true\" /></div>\n }\n @for (row of localRows(); track row.key) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"row\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key.slice(resources.localTreeKey.length)\" [attr.aria-expanded]=\"isOpen(row.key)\" (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ isOpen(row.key) ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"grow\">{{ row.name }}</span>\n </button>\n } @else {\n @let isCurrent = row.branch === current();\n @if (renaming() === row.branch) {\n <form class=\"row rename\" [style.padding-left.rem]=\"indentOf(row)\" (submit)=\"$event.preventDefault(); renameAsync(path, row.branch, newName())\">\n <input nol-text-field class=\"grow\" type=\"text\" autofocus name=\"newName\" [attr.aria-label]=\"resources.formatRenameLabel(row.branch)\"\n [ngModel]=\"newName()\" (ngModelChange)=\"newName.set($event)\" (keydown.escape)=\"cancelRename()\" (blur)=\"cancelRename()\" />\n </form>\n } @else {\n <button type=\"button\" class=\"row\" [class.sel]=\"isViewed(row.branch, false)\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.branch\"\n [disabled]=\"busy() && !isCurrent\" (click)=\"view(path, row.branch, false)\" (dblclick)=\"switchTo(path, row.branch)\"\n [nolContextMenuTriggerFor]=\"branchMenu\">\n @if (!isCurrent) {\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n } @else if (switching() === null) {\n <span class=\"ms current\">{{ resources.currentBranchIcon }}</span>\n } @else {\n <span class=\"ms current spin\" role=\"status\" [attr.aria-label]=\"resources.switchingLabel\">{{ resources.switchingIcon }}</span>\n }\n <span class=\"grow\" [class.strong]=\"isCurrent\">{{ row.name }}</span>\n @let counts = countsOf(row.branch, isCurrent);\n @if (counts.ahead > 0) {\n <span class=\"small count ahead\" [title]=\"resources.formatAheadTitle(counts.ahead)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.aheadArrow }}</span>{{ counts.ahead }}</span>\n }\n @if (counts.behind > 0) {\n <span class=\"small count behind\" [title]=\"resources.formatBehindTitle(counts.behind)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.behindArrow }}</span>{{ counts.behind }}</span>\n }\n </button>\n <ng-template #branchMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"isCurrent\" (triggered)=\"switchTo(path, row.branch)\"></button>\n <nol-menu-separator />\n <button nol-menu-item [label]=\"resources.renameLabel\" [icon]=\"resources.renameIcon\" (triggered)=\"startRename(row.branch)\"></button>\n <button nol-menu-item [label]=\"resources.deleteLabel\" [icon]=\"resources.deleteIcon\" [disabled]=\"isCurrent\" (triggered)=\"deleteBranch(path, row.branch, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n }\n }\n\n <nol-git-agents [folder]=\"path\" />\n\n @if (status()?.remote; as remote) {\n <nol-git-pull-requests [folder]=\"path\" [remote]=\"remote\" [current]=\"current()\" [canSwitch]=\"switchable() !== null\" (switchTo)=\"switchTo(path, $event)\" />\n }\n\n <nol-section-header [label]=\"resources.remotesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.remotesLabel)\"\n (expandedChange)=\"toggle(resources.remotesLabel)\">\n <span nolSectionHeaderDetail>{{ remotes().join(\", \") }}</span>\n </nol-section-header>\n @if (isOpen(resources.remotesLabel)) {\n @for (row of remoteRows(); track row.key) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"row\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key\" [attr.aria-expanded]=\"isOpen(row.key)\" (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ isOpen(row.key) ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"ms\">{{ row.depth === 1 ? resources.remoteIcon : resources.folderIcon }}</span>\n <span class=\"grow\">{{ row.name }}</span>\n @if (row.depth === 1) {\n <span class=\"small muted\">{{ row.count }}</span>\n }\n </button>\n } @else {\n @let local = localNameOf(row.branch);\n <div class=\"remote\">\n <button type=\"button\" class=\"row\" [class.sel]=\"isViewed(row.branch, true)\" [style.padding-left.rem]=\"indentOf(row)\" [title]=\"row.key\" (click)=\"view(path, row.branch, true)\"\n (dblclick)=\"switchTo(path, local)\" [nolContextMenuTriggerFor]=\"remoteMenu\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg><span class=\"grow\">{{ row.name }}</span>\n @let remoteCounts = remoteCountsOf(row.branch);\n @if (remoteCounts.ahead > 0) {\n <span class=\"small count ahead\" [title]=\"resources.formatRemoteAheadTitle(remoteCounts.ahead)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.aheadArrow }}</span>{{ remoteCounts.ahead }}</span>\n }\n @if (remoteCounts.behind > 0) {\n <span class=\"small count behind\" [title]=\"resources.formatRemoteBehindTitle(remoteCounts.behind)\"><span class=\"arrow\" aria-hidden=\"true\">{{ resources.behindArrow }}</span>{{ remoteCounts.behind }}</span>\n }\n </button>\n <span class=\"actions\">\n <button type=\"button\" nol-icon-button class=\"switch\" [icon]=\"resources.switchIcon\" [label]=\"resources.formatSwitchToBranch(local)\" [nolTooltip]=\"resources.switchLabel\"\n [disabled]=\"switchable() === null || local === current()\" (click)=\"switchTo(path, local)\"></button>\n </span>\n </div>\n <ng-template #remoteMenu>\n <nol-menu>\n <button nol-menu-item [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"switchable() === null || local === current()\" (triggered)=\"switchTo(path, local)\"></button>\n </nol-menu>\n </ng-template>\n }\n }\n }\n\n <nol-section-header [label]=\"resources.tagsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.tagsLabel)\"\n (expandedChange)=\"toggle(resources.tagsLabel)\">\n @if ((items()?.tags ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.tags ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.tagsLabel)) {\n @for (tag of items()?.tags ?? []; track tag.name) {\n <button type=\"button\" class=\"row nested\" [class.sel]=\"isTagViewed(tag)\" [attr.aria-current]=\"isTagViewed(tag) ? 'true' : null\" [title]=\"tag.name\"\n (click)=\"viewTag(path, tag)\" [nolContextMenuTriggerFor]=\"tagMenu\"><span class=\"ms\">{{ resources.tagIcon }}</span><span class=\"grow\">{{ tag.name }}</span></button>\n <ng-template #tagMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.deleteLabel\" [icon]=\"resources.deleteIcon\" (triggered)=\"deleteTag(path, tag.name, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n\n <nol-section-header [label]=\"resources.stashesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.stashesLabel)\"\n (expandedChange)=\"toggle(resources.stashesLabel)\">\n @if ((items()?.stashes ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.stashes ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.stashesLabel)) {\n @for (stash of items()?.stashes ?? []; track stash.id) {\n <button type=\"button\" class=\"row nested stash\" [title]=\"stash.message\" [nolContextMenuTriggerFor]=\"stashMenu\"><span class=\"ms\">{{ resources.stashIcon }}</span><span\n class=\"grow\">{{ stash.message }}</span></button>\n <ng-template #stashMenu>\n @if (switchable(); as status) {\n <nol-menu>\n <button nol-menu-item [label]=\"resources.applyStashLabel\" [icon]=\"resources.applyStashIcon\" (triggered)=\"applyStash(path, stash.id, status)\"></button>\n <button nol-menu-item [label]=\"resources.popStashLabel\" [icon]=\"resources.popStashIcon\" (triggered)=\"popStash(path, stash.id, status)\"></button>\n <nol-menu-separator />\n <button nol-menu-item [label]=\"resources.dropStashLabel\" [icon]=\"resources.deleteIcon\" (triggered)=\"dropStash(path, stash.id, status)\"></button>\n </nol-menu>\n }\n </ng-template>\n }\n }\n\n <nol-section-header [label]=\"resources.worktreesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.worktreesLabel)\"\n (expandedChange)=\"toggle(resources.worktreesLabel)\">\n @if (worktreeFolders().length > 0) {\n <span nolSectionHeaderDetail>{{ worktreeFolders().length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.worktreesLabel)) {\n @for (worktree of worktreeFolders(); track worktree) {\n <div class=\"row nested\" [title]=\"worktree\"><span class=\"ms\">{{ resources.worktreeIcon }}</span><span class=\"grow\">{{ worktree }}</span></div>\n }\n }\n\n\n <nol-section-header [label]=\"resources.submodulesLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [expanded]=\"isOpen(resources.submodulesLabel)\"\n (expandedChange)=\"toggle(resources.submodulesLabel)\">\n @if ((items()?.submodules ?? []).length > 0) {\n <span nolSectionHeaderDetail>{{ (items()?.submodules ?? []).length }}</span>\n }\n </nol-section-header>\n @if (isOpen(resources.submodulesLabel)) {\n @for (submodule of items()?.submodules ?? []; track submodule.path) {\n <div class=\"row nested\" [title]=\"submodule.path\"><span class=\"ms\">{{ resources.submoduleIcon }}</span><span class=\"grow\">{{ submodule.path }}</span></div>\n }\n }\n }\n </nav>\n} @else {\n <p class=\"note\">{{ resources.noFolderText }}</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 overflow: auto;\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.panel {\n --nol-section-header-space-above: 0;\n --nol-section-header-caret: calc(var(--nol-icon) + 0.125rem);\n\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.branches {\n --nol-section-header-space-above: 0.5rem;\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.octicon {\n flex: none;\n box-sizing: border-box;\n width: 1rem;\n height: 1rem;\n padding: 0.09375rem;\n fill: var(--nol-icon-color);\n}\n\n.ms.current {\n color: var(--nol-author-1);\n}\n\n.ms.spin {\n animation: spin 1s linear infinite;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n@keyframes spin {\n to {\n transform: rotate(1turn);\n }\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row.rename {\n height: auto;\n padding-block: 0.125rem;\n}\n\n.rename input {\n min-width: 0;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.sel,\n.row.sel:hover {\n background: var(--nol-selected);\n}\n\n.row.head {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr) auto;\n grid-template-rows: 1.625rem auto;\n column-gap: 0.375rem;\n row-gap: 0;\n height: auto;\n padding-bottom: 0.25rem;\n}\n\n.row.head .path {\n grid-column: 2 / 4;\n}\n\n.row.head:hover {\n background: transparent;\n}\n\n.head > .fetch-all {\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.remote {\n position: relative;\n}\n\n.remote > .actions {\n position: absolute;\n inset-block: 0;\n inset-inline-end: calc(0.5rem + (var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n display: flex;\n align-items: center;\n padding-inline-start: 0.375rem;\n border-radius: 0.375rem;\n background-color: var(--nol-hover);\n}\n\n.remote:not(:hover, :focus-within) > .actions {\n display: none;\n}\n\n.remote:is(:hover, :focus-within) > .row:not(.sel) {\n background: var(--nol-hover);\n}\n\n.remote:is(:hover, :focus-within) > .row > .count {\n visibility: hidden;\n}\n\n.remote:has(> .row.sel) > .actions {\n background-color: var(--nol-selected);\n}\n\n.row.nested {\n padding-left: 1.75rem;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 500;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.badge {\n min-width: 1rem;\n height: 1rem;\n padding: 0 0.25rem;\n box-sizing: border-box;\n border-radius: 0.5rem;\n background: var(--nol-badge);\n color: var(--nol-badge-text);\n font-size: 0.6875rem;\n line-height: 1rem;\n text-align: center;\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.count.ahead {\n color: var(--nol-status-ok);\n}\n\n.count.behind {\n color: var(--nol-accent);\n}\n"] }]
|
|
315
318
|
}], ctorParameters: () => [] });
|
|
316
319
|
//# sourceMappingURL=git-repository.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-repository.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-repository/git-repository.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-repository/git-repository.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAe,SAAS,EAAuB,MAAM,eAAe,CAAC;AACnJ,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,2BAA2B,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,4BAA4B,EAC9J,0BAA0B,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,kBAAkB,EACtH,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAA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C,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1E,CAAC;QACD,OAAO,KAAK,EAAE,CAAC;YACb,IAAI,OAAO,KAAK,IAAI,CAAC,aAAa;gBAChC,OAAO;YACT,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,CAAC;YACjC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,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;uGA1RU,sBAAsB;2FAAtB,sBAAsB,8EC3CnC,4ncA4NA,83HDtLY,2BAA2B,oJAAE,WAAW,+pCAAE,kBAAkB,+EAAE,wBAAwB,+IAAE,mBAAmB,2MAAE,aAAa,2EAAE,iBAAiB,6LAAE,sBAAsB,+DAC7K,4BAA4B,qEAAE,sBAAsB,8NAAE,4BAA4B,qEAAE,gBAAgB,2EAAE,kBAAkB,+GAAE,gBAAgB;;2FAIjI,sBAAsB;kBAPlC,SAAS;+BACE,oBAAoB,WACrB,CAAC,2BAA2B,EAAE,WAAW,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB;wBAC7K,4BAA4B,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"git-repository.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-repository/git-repository.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-repository/git-repository.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAE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RU,sBAAsB;2FAAtB,sBAAsB,8EC7CnC,0qcA8NA,83HDtLY,2BAA2B,oJAAE,WAAW,+pCAAE,kBAAkB,+EAAE,wBAAwB,+IAAE,mBAAmB,2MAAE,aAAa,2EAAE,iBAAiB,6LAAE,sBAAsB,+DAC7K,4BAA4B,qEAAE,sBAAsB,8NAAE,4BAA4B,qEAAE,gBAAgB,2EAAE,kBAAkB,+GAAE,gBAAgB;;2FAIjI,sBAAsB;kBAPlC,SAAS;+BACE,oBAAoB,WACrB,CAAC,2BAA2B,EAAE,WAAW,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB;wBAC7K,4BAA4B,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,CAAC"}
|
|
@@ -41,7 +41,7 @@ export class GitUndoMenuComponent {
|
|
|
41
41
|
return entry.undo !== UndoMode.None;
|
|
42
42
|
}
|
|
43
43
|
undo(entry) {
|
|
44
|
-
void this.state.undoEntryAsync(entry);
|
|
44
|
+
void this.state.undoEntryAsync(entry).catch((error) => this.errors.handleError(error));
|
|
45
45
|
}
|
|
46
46
|
keepFocus() {
|
|
47
47
|
const trigger = this.trigger();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-undo-menu.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-undo-menu/git-undo-menu.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-undo-menu/git-undo-menu.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AACrH,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAwB,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACvE,O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AAC;IAES,IAAI,CAAC,KAAsB;QACnC,KAAK,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"git-undo-menu.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-undo-menu/git-undo-menu.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-undo-menu/git-undo-menu.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAe,SAAS,EAAE,MAAM,eAAe,CAAC;AACrH,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAwB,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAE/I,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;;AAO/E,MAAM,OAAO,oBAAoB;IACd,MAAM,GAAiB,MAAM,CAAC,YAAY,CAAC,CAAC;IAC5C,KAAK,GAAsB,MAAM,CAAC,iBAAiB,CAAC,CAAC;IACrD,QAAQ,GAAa,MAAM,CAAC,QAAQ,CAAC,CAAC;IACtC,OAAO,GAAiC,SAAS,CAAC,QAAQ,CAAC,oBAAoB;gFAAC,CAAC;IAE/E,SAAS,GAAqB,SAAS,CAAC;IACxC,KAAK,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;IAE5E;QACE,iBAAiB,CAAC;YAChB,KAAK,EAAE,GAAG,EAAE;gBACV,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;gBAC3B,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,CAAC;SACF,CAAC,CAAC;IACL,CA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mHAO5B,oBAAoB"}
|
|
@@ -9,6 +9,7 @@ import { Component, computed, DestroyRef, effect, ElementRef, ErrorHandler, inje
|
|
|
9
9
|
import { WindowException, WindowPartTokens } from "@noldova/desktop.window";
|
|
10
10
|
import { ButtonComponent, ButtonVariant, DialogService, SpinnerComponent } from "@noldova/ui.components.angular";
|
|
11
11
|
import { GitFileGroupKind } from "../../enums/git-file-group-kind.js";
|
|
12
|
+
import { GitPart } from "../../enums/git-part.js";
|
|
12
13
|
import { GitViewPhase } from "../../enums/git-view-phase.js";
|
|
13
14
|
import { GitEmptyState } from "../../models/git-empty-state.js";
|
|
14
15
|
import { GitOperationName } from "../../models/git-operation-name.js";
|
|
@@ -88,7 +89,7 @@ export class GitViewComponent {
|
|
|
88
89
|
this.context.openDocument(Resources.conflictsDocumentName, folder, Resources.formatConflictsTitle(folder));
|
|
89
90
|
}
|
|
90
91
|
undoDiscard() {
|
|
91
|
-
void this.state.undoDiscardAsync();
|
|
92
|
+
void this.state.undoDiscardAsync().catch((error) => this.errors.handleError(error));
|
|
92
93
|
}
|
|
93
94
|
forcePush(offer) {
|
|
94
95
|
const dialog = this.dialogs.open(GitForcePushDialogComponent, ".cancel");
|
|
@@ -136,7 +137,7 @@ export class GitViewComponent {
|
|
|
136
137
|
this.look.set(Object.isNull(folder) ? null : GitFolderLooks.join(folder, new GitRuntimeClient(this.context), this.offer, error => {
|
|
137
138
|
if (!GitRuntimeClient.isFailure(error))
|
|
138
139
|
this.errors.handleError(error);
|
|
139
|
-
}));
|
|
140
|
+
}, GitViewOptions.takes(GitPart.History)));
|
|
140
141
|
}
|
|
141
142
|
emptyOf(phase, lookText) {
|
|
142
143
|
switch (phase) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-view.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-view/git-view.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-view/git-view.component.html"],"names":[],"mappings":"AAAA;;;;;;GA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AE,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;IAClD,CAAC;IAES,KAAK,CAAC,WAAW;QACzB,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QAC3B,IAAI,CAAC;YACH,MAAM,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;QAC5D,CAAC;QACD,OAAO,KAAK,EAAE,CAAC;YACb,IAAI,CAAC,CAAC,KAAK,YAAY,eAAe,CAAC;gBACrC,MAAM,KAAK,CAAC;YACd,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACrF,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC;IAES,UAAU;QAClB,KAAK,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE,CAAC;IACjC,CAAC;IAES,WAAW;QACnB,KAAK,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE,CAAC;IACrC,CAAC;IAES,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;IAES,WAAW;QACnB,KAAK,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"git-view.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-view/git-view.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-view/git-view.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE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AAC,CAAC;YAC3G;gBACE,OAAO,IAAI,CAAC;QAChB,CAAC;IACH,CAAC;uGA7IU,gBAAgB;2FAAhB,gBAAgB,2DAJhB,CAAC,mBAAmB,CAAC,0BCzClC,0yNAoHA,80GD7EY,eAAe,oJAAE,sBAAsB,oFAAE,sBAAsB,oFAAE,qBAAqB,6GAAE,mBAAmB,qGAAE,oBAAoB,8DACzI,gBAAgB;;2FAKP,gBAAgB;kBAR5B,SAAS;+BACE,cAAc,WACf,CAAC,eAAe,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB;wBACzI,gBAAgB,CAAC,aACR,CAAC,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
export var GitPart;
|
|
9
|
+
(function (GitPart) {
|
|
10
|
+
GitPart["View"] = "View";
|
|
11
|
+
GitPart["History"] = "History";
|
|
12
|
+
GitPart["Repository"] = "Repository";
|
|
13
|
+
GitPart["Workspaces"] = "Workspaces";
|
|
14
|
+
})(GitPart || (GitPart = {}));
|
|
15
|
+
//# sourceMappingURL=git-part.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-part.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/enums/git-part.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAN,IAAY,OAKX;AALD,WAAY,OAAO;IACjB,wBAAa,CAAA;IACb,8BAAmB,CAAA;IACnB,oCAAyB,CAAA;IACzB,oCAAyB,CAAA;AAC3B,CAAC,EALW,OAAO,KAAP,OAAO,QAKlB"}
|
|
@@ -12,12 +12,15 @@ import { GitRepositoryScans } from "./git-repository-scans.js";
|
|
|
12
12
|
import { GitRuntimeClient } from "./git-runtime-client.js";
|
|
13
13
|
export class GitFolderLooks {
|
|
14
14
|
static looks = new Map();
|
|
15
|
-
static join(folder, client, offer, report) {
|
|
15
|
+
static join(folder, client, offer, report, looksBelow) {
|
|
16
16
|
let look = GitFolderLooks.looks.get(folder);
|
|
17
17
|
if (Object.isUndefined(look)) {
|
|
18
18
|
look = new GitFolderLook(folder);
|
|
19
19
|
GitFolderLooks.looks.set(folder, look);
|
|
20
|
-
|
|
20
|
+
if (looksBelow)
|
|
21
|
+
void GitFolderLooks.lookAsync(look, client, report);
|
|
22
|
+
else
|
|
23
|
+
look.text.set(Resources.formatNotInside(folder));
|
|
21
24
|
}
|
|
22
25
|
look.offers.add(offer);
|
|
23
26
|
return look;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-folder-looks.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/services/git-folder-looks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,OAAO,cAAc;IACjB,MAAM,CAAU,KAAK,GAA+B,IAAI,GAAG,EAAE,CAAC;IAE/D,MAAM,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"git-folder-looks.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/services/git-folder-looks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAA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C;YAC5D,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC"}
|
|
@@ -6,9 +6,14 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
import { GitFolderParams } from "@noldova/git.protocol";
|
|
9
|
+
import { GitPart } from "../enums/git-part.js";
|
|
9
10
|
import { Resources } from "../../resources.js";
|
|
10
11
|
import { GitHistoryAsks } from "./git-history-asks.js";
|
|
12
|
+
import { GitViewOptions } from "./git-view-options.js";
|
|
11
13
|
export class GitHistorySelection {
|
|
14
|
+
static isAvailable() {
|
|
15
|
+
return GitViewOptions.takes(GitPart.History);
|
|
16
|
+
}
|
|
12
17
|
static async selectAsync(context, folder, commitId) {
|
|
13
18
|
GitHistoryAsks.ask(folder, commitId);
|
|
14
19
|
await context.runCommandAsync(Resources.openHistoryCommand, new GitFolderParams(folder).toJson());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-history-selection.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/services/git-history-selection.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,OAAO,mBAAmB;IACvB,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,OAA2B,EAAE,MAAc,EAAE,QAAgB;QAC3F,cAAc,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACrC,MAAM,OAAO,CAAC,eAAe,CAAC,SAAS,CAAC,kBAAkB,EAAE,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACpG,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"git-history-selection.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/services/git-history-selection.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,OAAO,mBAAmB;IACvB,MAAM,CAAC,WAAW;QACvB,OAAO,cAAc,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;IAC/C,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,OAA2B,EAAE,MAAc,EAAE,QAAgB;QAC3F,cAAc,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACrC,MAAM,OAAO,CAAC,eAAe,CAAC,SAAS,CAAC,kBAAkB,EAAE,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACpG,CAAC;CACF"}
|
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
import "@noldova/context.core";
|
|
9
9
|
import { StatusBarItemState } from "@noldova/desktop.window";
|
|
10
10
|
import { GitFolderParams } from "@noldova/git.protocol";
|
|
11
|
+
import { GitPart } from "../enums/git-part.js";
|
|
11
12
|
import { Resources } from "../../resources.js";
|
|
12
13
|
import { GitStatusBarItems } from "../models/git-status-bar-items.js";
|
|
14
|
+
import { GitViewOptions } from "./git-view-options.js";
|
|
13
15
|
export class GitStatusBar {
|
|
14
16
|
static HIDDEN = new StatusBarItemState("", { isHidden: true });
|
|
15
17
|
static MINUTE = 60_000;
|
|
@@ -62,8 +64,7 @@ export class GitStatusBar {
|
|
|
62
64
|
return new StatusBarItemState(text, {
|
|
63
65
|
icon: Object.isNull(status.branch) ? Resources.detachedHeadIcon : Resources.statusBarBranchIcon,
|
|
64
66
|
tooltip: Resources.formatStatusBarTooltip(name, upstream?.name ?? null, upstream?.ahead ?? 0, upstream?.behind ?? 0),
|
|
65
|
-
command: Resources.openHistoryCommand,
|
|
66
|
-
commandArguments: new GitFolderParams(folder).toJson()
|
|
67
|
+
...(GitViewOptions.takes(GitPart.History) ? { command: Resources.openHistoryCommand, commandArguments: new GitFolderParams(folder).toJson() } : {})
|
|
67
68
|
});
|
|
68
69
|
}
|
|
69
70
|
static fetchedStateOf(folder, status, now, dates) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-status-bar.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/services/git-status-bar.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA+C,kBAAkB,EAA0B,MAAM,yBAAyB,CAAC;AAClI,OAAO,EAAmB,eAAe,EAAkB,MAAM,uBAAuB,CAAC;AAEzF,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"git-status-bar.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/services/git-status-bar.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA+C,kBAAkB,EAA0B,MAAM,yBAAyB,CAAC;AAClI,OAAO,EAAmB,eAAe,EAAkB,MAAM,uBAAuB,CAAC;AAEzF,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,OAAO,YAAY;IACf,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AC,CAAC,CAAC;IACtG,CAAC"}
|
|
@@ -6,10 +6,19 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
import { signal } from "@angular/core";
|
|
9
|
+
import { GitPart } from "../enums/git-part.js";
|
|
9
10
|
export class GitViewOptions {
|
|
10
11
|
static showsBranch = signal(true, /* @ts-ignore */
|
|
11
12
|
...(ngDevMode ? [{ debugName: "showsBranch" }] : /* istanbul ignore next */ []));
|
|
12
13
|
static showsAiFeatures = signal(false, /* @ts-ignore */
|
|
13
14
|
...(ngDevMode ? [{ debugName: "showsAiFeatures" }] : /* istanbul ignore next */ []));
|
|
15
|
+
static parts = signal(null, /* @ts-ignore */
|
|
16
|
+
...(ngDevMode ? [{ debugName: "parts" }] : /* istanbul ignore next */ []));
|
|
17
|
+
static takes(part) {
|
|
18
|
+
const parts = GitViewOptions.parts();
|
|
19
|
+
if (Object.isNull(parts) || parts.includes(part))
|
|
20
|
+
return true;
|
|
21
|
+
return part === GitPart.History && (parts.includes(GitPart.Repository) || parts.includes(GitPart.Workspaces));
|
|
22
|
+
}
|
|
14
23
|
}
|
|
15
24
|
//# sourceMappingURL=git-view-options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-view-options.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/services/git-view-options.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAuB,MAAM,eAAe,CAAC;AAE5D,MAAM,OAAO,cAAc;IAClB,MAAM,CAAU,WAAW,GAA4B,MAAM,CAAC,IAAI;oFAAC,CAAC;IACpE,MAAM,CAAU,eAAe,GAA4B,MAAM,CAAC,KAAK;wFAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"git-view-options.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/services/git-view-options.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAuB,MAAM,eAAe,CAAC;AAE5D,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,MAAM,OAAO,cAAc;IAClB,MAAM,CAAU,WAAW,GAA4B,MAAM,CAAC,IAAI;oFAAC,CAAC;IACpE,MAAM,CAAU,eAAe,GAA4B,MAAM,CAAC,KAAK;wFAAC,CAAC;IACzE,MAAM,CAAU,KAAK,GAA8C,MAAM,CAAC,IAAI;8EAAC,CAAC;IAEhF,MAAM,CAAC,KAAK,CAAC,IAAa;QAC/B,MAAM,KAAK,GAA8B,cAAc,CAAC,KAAK,EAAE,CAAC;QAChE,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC9C,OAAO,IAAI,CAAC;QACd,OAAO,IAAI,KAAK,OAAO,CAAC,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;IAChH,CAAC"}
|