@noldova/git.window 0.0.14 → 0.0.16

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.
Files changed (47) hide show
  1. package/package.json +11 -11
  2. package/src/api/index.d.ts +67 -1
  3. package/src/api/index.js +1 -0
  4. package/src/api/index.js.map +1 -1
  5. package/src/app/components/git-accounts/git-accounts.component.js +1 -1
  6. package/src/app/components/git-branch-card/git-branch-card.component.js +1 -1
  7. package/src/app/components/git-bulk-branch-dialog/git-bulk-branch-dialog.component.js +1 -1
  8. package/src/app/components/git-clone-dialog/git-clone-dialog.component.js +1 -1
  9. package/src/app/components/git-clone-dialog/git-clone-dialog.component.js.map +1 -1
  10. package/src/app/components/git-commit-card/git-commit-card.component.js +1 -1
  11. package/src/app/components/git-commit-detail/git-commit-detail.component.js +1 -1
  12. package/src/app/components/git-commit-detail/git-commit-detail.component.js.map +1 -1
  13. package/src/app/components/git-commit-document/git-commit-document.component.js +37 -0
  14. package/src/app/components/git-commit-document/git-commit-document.component.js.map +1 -0
  15. package/src/app/components/git-file-group/git-file-group.component.js +1 -1
  16. package/src/app/components/git-file-layout-button/git-file-layout-button.component.js +1 -1
  17. package/src/app/components/git-history/git-history.component.js +21 -15
  18. package/src/app/components/git-history/git-history.component.js.map +1 -1
  19. package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js +1 -1
  20. package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js.map +1 -1
  21. package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js +1 -1
  22. package/src/app/components/git-rebase/git-rebase.component.js +1 -1
  23. package/src/app/components/git-rebase/git-rebase.component.js.map +1 -1
  24. package/src/app/components/git-repository/git-repository.component.js +5 -2
  25. package/src/app/components/git-repository/git-repository.component.js.map +1 -1
  26. package/src/app/components/git-undo-menu/git-undo-menu.component.js +2 -2
  27. package/src/app/components/git-undo-menu/git-undo-menu.component.js.map +1 -1
  28. package/src/app/components/git-view/git-view.component.js +3 -2
  29. package/src/app/components/git-view/git-view.component.js.map +1 -1
  30. package/src/app/components/git-workspace/git-workspace.component.js +1 -1
  31. package/src/app/components/git-workspace/git-workspace.component.js.map +1 -1
  32. package/src/app/enums/git-part.js +16 -0
  33. package/src/app/enums/git-part.js.map +1 -0
  34. package/src/app/services/git-folder-looks.js +5 -2
  35. package/src/app/services/git-folder-looks.js.map +1 -1
  36. package/src/app/services/git-history-selection.js +5 -0
  37. package/src/app/services/git-history-selection.js.map +1 -1
  38. package/src/app/services/git-status-bar.js +3 -2
  39. package/src/app/services/git-status-bar.js.map +1 -1
  40. package/src/app/services/git-view-options.js +12 -0
  41. package/src/app/services/git-view-options.js.map +1 -1
  42. package/src/app/services/git-view-state.service.js +3 -3
  43. package/src/app/services/git-view-state.service.js.map +1 -1
  44. package/src/app/services/git-window-part.js +57 -30
  45. package/src/app/services/git-window-part.js.map +1 -1
  46. package/src/resources.js +8 -0
  47. package/src/resources.js.map +1 -1
@@ -212,7 +212,7 @@ export class GitPullRequestThreadsComponent {
212
212
  }
213
213
  }
214
214
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitPullRequestThreadsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
215
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitPullRequestThreadsComponent, isStandalone: true, selector: "nol-git-pull-request-threads", inputs: { host: { classPropertyName: "host", publicName: "host", isSignal: true, isRequired: true, transformFunction: null }, reference: { classPropertyName: "reference", publicName: "reference", isSignal: true, isRequired: true, transformFunction: null }, isAutoComplete: { classPropertyName: "isAutoComplete", publicName: "isAutoComplete", isSignal: true, isRequired: false, transformFunction: null }, references: { classPropertyName: "references", publicName: "references", isSignal: true, isRequired: false, transformFunction: null }, login: { classPropertyName: "login", publicName: "login", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { linkOpen: "linkOpen", goToLine: "goToLine" }, viewQueries: [{ propertyName: "draftFields", predicate: ["draft"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<section class=\"threads\" [attr.aria-label]=\"resources.commentsTitle\">\n <nol-section-header class=\"threads-head\" [label]=\"resources.commentsTitle\" [level]=\"2\">\n @if (threads().length > 0) {\n <span nolSectionHeaderDetail>{{ resources.formatOpenThreads(openCount()) }}</span>\n }\n </nol-section-header>\n @if (failure(); as failure) {\n <div class=\"threads-notice\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"grow\">{{ textOf(failure) }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n } @else if (isRead()) {\n @if (hasMore()) {\n <p class=\"small muted threads-more\">{{ resources.formatOlderComments(host().name) }}</p>\n }\n @for (thread of threads(); track thread.id) {\n <article class=\"thread\" [attr.aria-busy]=\"busy().has(thread.id)\">\n @if (thread.path !== null || thread.state !== none) {\n <div class=\"thread-head\">\n <span class=\"material-symbols-rounded thread-icon\" aria-hidden=\"true\">{{ resources.threadIcon }}</span>\n <span class=\"place\" [attr.title]=\"thread.path\">@if (thread.state !== none) {<span class=\"thread-state\" [class.open]=\"resources.openThreadStates.includes(thread.state)\">{{ resources.threadLabels[thread.state] }}</span>}{{ resources.formatThreadPlace(thread.state !== none, thread.path, thread.line) }}</span>\n @if (thread.path; as path) {\n @if (thread.line; as line) {\n <button type=\"button\" nol-button class=\"go-to-line\" [variant]=\"secondary\" [size]=\"compact\"\n (click)=\"goToLine.emit(lineOf(thread, path, line))\">{{ resources.goToLine }}</button>\n }\n }\n </div>\n }\n @if (isFolded(thread)) {\n @for (first of thread.comments.slice(0, 1); track first.id) {\n <button type=\"button\" class=\"fold\" aria-expanded=\"false\" (click)=\"unfold(thread)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.unfoldIcon }}</span>\n <span class=\"name\">{{ first.author.name ?? first.author.login }}</span>\n <span class=\"grow muted\">{{ first.body }}</span>\n <span class=\"small muted\">{{ resources.formatCommentCount(thread.comments.length) }}</span>\n </button>\n }\n } @else {\n @for (comment of thread.comments; track comment.id) {\n <div class=\"comment\" [class.reply]=\"comment.parent !== null\">\n <nol-git-person-avatar [host]=\"host()\" [reference]=\"reference()\" [login]=\"comment.author.login\" [image]=\"comment.author.avatar\" [size]=\"small\" />\n <div class=\"comment-main\">\n <div class=\"comment-meta\">\n <span class=\"name\">{{ comment.author.name ?? comment.author.login }}</span>\n <span class=\"small muted\">{{ dateOf(comment) }}</span>\n </div>\n <nol-markdown-view [text]=\"comment.body\" [references]=\"references()\" (linkOpen)=\"linkOpen.emit($event)\" />\n </div>\n </div>\n }\n @if (host().replyToThreadMethod !== null || host().changeThreadMethod !== null) {\n <div class=\"answer\">\n @if (host().replyToThreadMethod !== null && isReplying(thread)) {\n <textarea #draft nol-text-field rows=\"2\" class=\"draft\" [attr.data-thread]=\"thread.id\" [attr.aria-label]=\"resources.replyLabel\"\n [placeholder]=\"resources.replyPlaceholder\" [value]=\"draftOf(thread)\" [disabled]=\"busy().has(thread.id)\" (input)=\"noteDrafts()\"></textarea>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n @if (confirming() === thread.id) {\n <div class=\"change-confirm\" role=\"alert\">\n <span class=\"grow\">{{ resources.autoCompleteResolveConfirm }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" class=\"cancel\" (click)=\"cancelChange()\">{{ resources.cancelAction }}</button>\n <button type=\"button\" nol-button class=\"confirm\" (click)=\"confirmChange(thread, changeMethod)\">{{ resources.resolveAnyway }}</button>\n </div>\n }\n }\n <div class=\"answer-actions\">\n @if (writeFailures().get(thread.id); as writeFailure) {\n <span class=\"answer-failure\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>{{ textOf(writeFailure) }}\n </span>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n <button type=\"button\" nol-button class=\"change\" [variant]=\"secondary\" [disabled]=\"busy().has(thread.id)\" (click)=\"askChange(thread, changeMethod)\">\n {{ isOpen(thread) ? resources.resolveThread : resources.reactivateThread }}\n </button>\n }\n @if (host().replyToThreadMethod; as replyMethod) {\n @if (isReplying(thread)) {\n <button type=\"button\" nol-button class=\"send\" [disabled]=\"!canReply(thread)\" (click)=\"replyAsync(thread, replyMethod)\">{{ resources.replyAction }}</button>\n } @else {\n <button type=\"button\" nol-button class=\"start-reply\" [disabled]=\"busy().has(thread.id)\" (click)=\"startReply(thread)\">{{ resources.replyAction }}</button>\n }\n }\n </div>\n </div>\n }\n }\n </article>\n } @empty {\n <p class=\"muted\">{{ resources.noComments }}</p>\n }\n } @else {\n <div class=\"threads-notice\" role=\"status\">\n <nol-spinner />\n <span class=\"grow\">{{ resources.formatThreadsReading(host().name) }}</span>\n </div>\n }\n</section>\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 min-width: 0;\n}\n\n.threads {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.threads-head {\n margin-inline: calc(-1 * var(--nol-space-2));\n}\n\n.threads-notice,\n.thread-head,\n.fold,\n.comment-meta {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.threads-notice {\n color: var(--nol-text-muted);\n}\n\n.failed {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.thread {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.thread-icon {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.go-to-line {\n flex: none;\n}\n\n.place {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.thread-state {\n color: var(--nol-text-muted);\n}\n\n.thread-state.open {\n color: var(--nol-text);\n}\n\n.fold {\n min-height: var(--nol-button-height);\n margin-inline: calc(-1 * var(--nol-space-2));\n padding: 0 var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-medium);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.fold:hover {\n background-color: var(--nol-hover);\n}\n\n.comment {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\n min-width: 0;\n}\n\n.comment.reply {\n padding-inline-start: var(--nol-space-4);\n}\n\n.comment-main {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.answer {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding-inline-start: var(--nol-space-4);\n}\n\n.draft {\n box-sizing: border-box;\n width: 100%;\n resize: vertical;\n}\n\n.answer-actions {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n justify-content: flex-end;\n min-width: 0;\n}\n\n.change-confirm {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n font-size: var(--nol-text-label);\n}\n\n.answer-failure {\n display: inline-flex;\n flex: 1;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.name {\n flex: none;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-strong);\n}\n\n.grow {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.small {\n font-size: var(--nol-text-label);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\np {\n margin: 0;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GitPersonAvatarComponent, selector: "nol-git-person-avatar", inputs: ["host", "reference", "login", "image", "size"] }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "revealBurst", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { 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"] }] });
215
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitPullRequestThreadsComponent, isStandalone: true, selector: "nol-git-pull-request-threads", inputs: { host: { classPropertyName: "host", publicName: "host", isSignal: true, isRequired: true, transformFunction: null }, reference: { classPropertyName: "reference", publicName: "reference", isSignal: true, isRequired: true, transformFunction: null }, isAutoComplete: { classPropertyName: "isAutoComplete", publicName: "isAutoComplete", isSignal: true, isRequired: false, transformFunction: null }, references: { classPropertyName: "references", publicName: "references", isSignal: true, isRequired: false, transformFunction: null }, login: { classPropertyName: "login", publicName: "login", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { linkOpen: "linkOpen", goToLine: "goToLine" }, viewQueries: [{ propertyName: "draftFields", predicate: ["draft"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<section class=\"threads\" [attr.aria-label]=\"resources.commentsTitle\">\n <nol-section-header class=\"threads-head\" [label]=\"resources.commentsTitle\" [level]=\"2\">\n @if (threads().length > 0) {\n <span nolSectionHeaderDetail>{{ resources.formatOpenThreads(openCount()) }}</span>\n }\n </nol-section-header>\n @if (failure(); as failure) {\n <div class=\"threads-notice\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"grow\">{{ textOf(failure) }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n } @else if (isRead()) {\n @if (hasMore()) {\n <p class=\"small muted threads-more\">{{ resources.formatOlderComments(host().name) }}</p>\n }\n @for (thread of threads(); track thread.id) {\n <article class=\"thread\" [attr.aria-busy]=\"busy().has(thread.id)\">\n @if (thread.path !== null || thread.state !== none) {\n <div class=\"thread-head\">\n <span class=\"material-symbols-rounded thread-icon\" aria-hidden=\"true\">{{ resources.threadIcon }}</span>\n <span class=\"place\" [attr.title]=\"thread.path\">@if (thread.state !== none) {<span class=\"thread-state\" [class.open]=\"resources.openThreadStates.includes(thread.state)\">{{ resources.threadLabels[thread.state] }}</span>}{{ resources.formatThreadPlace(thread.state !== none, thread.path, thread.line) }}</span>\n @if (thread.path; as path) {\n @if (thread.line; as line) {\n <button type=\"button\" nol-button class=\"go-to-line\" [variant]=\"secondary\" [size]=\"compact\"\n (click)=\"goToLine.emit(lineOf(thread, path, line))\">{{ resources.goToLine }}</button>\n }\n }\n </div>\n }\n @if (isFolded(thread)) {\n @for (first of thread.comments.slice(0, 1); track first.id) {\n <button type=\"button\" class=\"fold\" aria-expanded=\"false\" (click)=\"unfold(thread)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.unfoldIcon }}</span>\n <span class=\"name\">{{ first.author.name ?? first.author.login }}</span>\n <span class=\"grow muted\">{{ first.body }}</span>\n <span class=\"small muted\">{{ resources.formatCommentCount(thread.comments.length) }}</span>\n </button>\n }\n } @else {\n @for (comment of thread.comments; track comment.id) {\n <div class=\"comment\" [class.reply]=\"comment.parent !== null\">\n <nol-git-person-avatar [host]=\"host()\" [reference]=\"reference()\" [login]=\"comment.author.login\" [image]=\"comment.author.avatar\" [size]=\"small\" />\n <div class=\"comment-main\">\n <div class=\"comment-meta\">\n <span class=\"name\">{{ comment.author.name ?? comment.author.login }}</span>\n <span class=\"small muted\">{{ dateOf(comment) }}</span>\n </div>\n <nol-markdown-view [text]=\"comment.body\" [references]=\"references()\" (linkOpen)=\"linkOpen.emit($event)\" />\n </div>\n </div>\n }\n @if (host().replyToThreadMethod !== null || host().changeThreadMethod !== null) {\n <div class=\"answer\">\n @if (host().replyToThreadMethod !== null && isReplying(thread)) {\n <textarea #draft nol-text-field rows=\"2\" class=\"draft\" [attr.data-thread]=\"thread.id\" [attr.aria-label]=\"resources.replyLabel\"\n [placeholder]=\"resources.replyPlaceholder\" [value]=\"draftOf(thread)\" [disabled]=\"busy().has(thread.id)\" (input)=\"noteDrafts()\"></textarea>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n @if (confirming() === thread.id) {\n <div class=\"change-confirm\" role=\"alert\">\n <span class=\"grow\">{{ resources.autoCompleteResolveConfirm }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" class=\"cancel\" (click)=\"cancelChange()\">{{ resources.cancelAction }}</button>\n <button type=\"button\" nol-button class=\"confirm\" (click)=\"confirmChange(thread, changeMethod)\">{{ resources.resolveAnyway }}</button>\n </div>\n }\n }\n <div class=\"answer-actions\">\n @if (writeFailures().get(thread.id); as writeFailure) {\n <span class=\"answer-failure\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>{{ textOf(writeFailure) }}\n </span>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n <button type=\"button\" nol-button class=\"change\" [variant]=\"secondary\" [disabled]=\"busy().has(thread.id)\" (click)=\"askChange(thread, changeMethod)\">\n {{ isOpen(thread) ? resources.resolveThread : resources.reactivateThread }}\n </button>\n }\n @if (host().replyToThreadMethod; as replyMethod) {\n @if (isReplying(thread)) {\n <button type=\"button\" nol-button class=\"send\" [disabled]=\"!canReply(thread)\" (click)=\"replyAsync(thread, replyMethod)\">{{ resources.replyAction }}</button>\n } @else {\n <button type=\"button\" nol-button class=\"start-reply\" [disabled]=\"busy().has(thread.id)\" (click)=\"startReply(thread)\">{{ resources.replyAction }}</button>\n }\n }\n </div>\n </div>\n }\n }\n </article>\n } @empty {\n <p class=\"muted\">{{ resources.noComments }}</p>\n }\n } @else {\n <div class=\"threads-notice\" role=\"status\">\n <nol-spinner />\n <span class=\"grow\">{{ resources.formatThreadsReading(host().name) }}</span>\n </div>\n }\n</section>\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 min-width: 0;\n}\n\n.threads {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.threads-head {\n margin-inline: calc(-1 * var(--nol-space-2));\n}\n\n.threads-notice,\n.thread-head,\n.fold,\n.comment-meta {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.threads-notice {\n color: var(--nol-text-muted);\n}\n\n.failed {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.thread {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.thread-icon {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.go-to-line {\n flex: none;\n}\n\n.place {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.thread-state {\n color: var(--nol-text-muted);\n}\n\n.thread-state.open {\n color: var(--nol-text);\n}\n\n.fold {\n min-height: var(--nol-button-height);\n margin-inline: calc(-1 * var(--nol-space-2));\n padding: 0 var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-medium);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.fold:hover {\n background-color: var(--nol-hover);\n}\n\n.comment {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\n min-width: 0;\n}\n\n.comment.reply {\n padding-inline-start: var(--nol-space-4);\n}\n\n.comment-main {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.answer {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding-inline-start: var(--nol-space-4);\n}\n\n.draft {\n box-sizing: border-box;\n width: 100%;\n resize: vertical;\n}\n\n.answer-actions {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n justify-content: flex-end;\n min-width: 0;\n}\n\n.change-confirm {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n font-size: var(--nol-text-label);\n}\n\n.answer-failure {\n display: inline-flex;\n flex: 1;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.name {\n flex: none;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-strong);\n}\n\n.grow {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.small {\n font-size: var(--nol-text-label);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\np {\n margin: 0;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GitPersonAvatarComponent, selector: "nol-git-person-avatar", inputs: ["host", "reference", "login", "image", "size"] }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "revealBurst", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { 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: ["large", "quiet"] }] });
216
216
  }
217
217
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitPullRequestThreadsComponent, decorators: [{
218
218
  type: Component,
@@ -383,7 +383,7 @@ export class GitRebaseComponent {
383
383
  void work.catch((error) => this.errors.handleError(error));
384
384
  }
385
385
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRebaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
386
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitRebaseComponent, isStandalone: true, selector: "nol-git-rebase", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, providers: [GitViewStateService], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"layout\">\n <main class=\"panel steps-panel\" [attr.aria-label]=\"resources.rebaseScreenLabel\">\n <header class=\"head\">\n <div class=\"title-row\">\n <span class=\"title-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.rebaseIcon }}</span>\n <h1 class=\"title strong\">{{ heading() }}</h1>\n @if (showsAiFeatures()) {\n <button nol-toolbar-button type=\"button\" class=\"tidy-up\" [icon]=\"resources.tidyUpIcon\" [label]=\"resources.tidyUpLabel\" [isShowingLabel]=\"true\" disabled\n [title]=\"resources.notBuiltYet\"></button>\n }\n </div>\n <p class=\"hint muted\">{{ resources.rebaseHint }}</p>\n </header>\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (target() === null) {\n <p class=\"note muted\" role=\"note\">{{ resources.rebaseNoTarget }}</p>\n } @else if (plan(); as plan) {\n @if (rows().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.emptyRebase }}</p>\n } @else {\n <div class=\"step columns muted\" aria-hidden=\"true\"><span></span><span>{{ resources.actionColumn }}</span><span>{{ resources.commitColumn }}</span><span>{{ resources.messageColumn }}</span><span>{{ resources.checkColumn }}</span></div>\n <div #steps class=\"steps\" role=\"list\" (dragover)=\"follow($event, steps)\" (drop)=\"drop($event)\">\n @for (item of items(); track item.row.commit.id; let index = $index) {\n @let row = item.row;\n @let check = item.check;\n @if (dropAt() === index) {\n <div class=\"drop-line\" aria-hidden=\"true\"></div>\n }\n <div #step class=\"step\" role=\"listitem\" tabindex=\"0\" draggable=\"true\" [attr.data-row]=\"index\" [attr.aria-current]=\"index === selected() ? 'true' : null\"\n [class.selected]=\"index === selected()\" [class.dropped]=\"row.action === 'Drop'\" [class.folded]=\"row.folds\" [class.lifted]=\"dragged() === index\"\n (focus)=\"select(index)\" (click)=\"select(index)\" (keydown)=\"keydown($event, index)\"\n (dragstart)=\"dragStart($event, index, step)\" (dragover)=\"dragOver($event, index)\" (dragend)=\"dragEnd()\">\n <span class=\"handle material-symbols-rounded\" aria-hidden=\"true\">{{ resources.dragIcon }}</span>\n <nol-select class=\"action\" [label]=\"resources.actionColumn\" [options]=\"actions\" [value]=\"row.action\" (valueChange)=\"setAction(index, $event)\" />\n <span class=\"id mono muted\">{{ shortOf(row.commit.id) }}</span>\n @if (row.takesMessage && index === selected()) {\n <input nol-text-field class=\"message-field\" type=\"text\" [attr.aria-label]=\"resources.rebaseMessageLabel\" [ngModel]=\"subjectOf(row.message ?? row.commit.message)\"\n (ngModelChange)=\"setSubject(index, $event)\" />\n } @else {\n <span class=\"message\" [title]=\"row.message ?? row.commit.message\"><nol-git-reference-text [text]=\"subjectOf(row.message ?? row.commit.message)\" [folder]=\"instance()\"\n [chipTabIndex]=\"-1\" /></span>\n }\n <span class=\"check\"><span class=\"check-icon material-symbols-rounded\" [class]=\"check.tone\" aria-hidden=\"true\">{{ check.icon }}</span><span class=\"check-text\">{{ check.text }}</span></span>\n </div>\n }\n @if (dropAt() === rows().length) {\n <div class=\"drop-line\" aria-hidden=\"true\"></div>\n }\n @for (item of lifted(); track item.row.commit.id) {\n <div class=\"step lift\" aria-hidden=\"true\" inert [class.dropped]=\"item.row.action === 'Drop'\" [style.top.px]=\"liftTop()\">\n <span class=\"handle material-symbols-rounded\">{{ resources.dragIcon }}</span>\n <nol-select class=\"action\" [label]=\"resources.actionColumn\" [options]=\"actions\" [value]=\"item.row.action\" />\n <span class=\"id mono muted\">{{ shortOf(item.row.commit.id) }}</span>\n <span class=\"message\"><nol-git-reference-text [text]=\"subjectOf(item.row.message ?? item.row.commit.message)\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span>\n <span class=\"check\"><span class=\"check-icon material-symbols-rounded\" [class]=\"item.check.tone\">{{ item.check.icon }}</span><span class=\"check-text\">{{ item.check.text\n }}</span></span>\n </div>\n }\n </div>\n }\n <div class=\"spacer\"></div>\n <footer class=\"options\">\n <div class=\"option\">\n <nol-checkbox class=\"move-stacked\" [checked]=\"moveStacked() && plan.stacked.length > 0\" [disabled]=\"plan.stacked.length === 0\" (checkedChange)=\"moveStacked.set($event)\">{{ resources.moveStackedLabel }}</nol-checkbox>\n @if (plan.stacked.length > 0) {\n <span class=\"option-note muted\">{{ resources.formatStackedFollow(plan.stacked) }}</span>\n }\n </div>\n <div class=\"option\">\n <nol-checkbox class=\"fold-fixups\" [checked]=\"foldFixups()\" (checkedChange)=\"setFold(plan, $event)\">{{ resources.foldFixupsLabel }}</nol-checkbox>\n </div>\n <div class=\"option\" [title]=\"resources.undoBackTitle\">\n <nol-checkbox class=\"undo-back\" [checked]=\"true\" [disabled]=\"true\">{{ resources.undoBackLabel }}</nol-checkbox>\n </div>\n <div class=\"option\" [title]=\"resources.notBuiltYet\">\n <nol-checkbox class=\"run-tests\" [checked]=\"false\" [disabled]=\"true\">{{ resources.runTestsLabel }}</nol-checkbox>\n <span class=\"option-note muted\">{{ resources.runTestsNote }}</span>\n </div>\n @if (!valid()) {\n <p class=\"note failure\" role=\"alert\">{{ resources.foldFirstRefusal }}</p>\n }\n @if (state.failure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"start-row\">\n <span class=\"summary muted\">{{ summary() }}</span>\n <button nol-button type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"cancel()\">{{ resources.cancelLabel }}</button>\n @if (start(); as ready) {\n <button nol-button type=\"button\" class=\"start\" (click)=\"startRebase(ready)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.startIcon }}</span>{{ resources.startRebaseLabel }}</button>\n } @else {\n <button nol-button type=\"button\" class=\"start\" disabled>\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.startIcon }}</span>{{ resources.startRebaseLabel }}</button>\n }\n </div>\n </footer>\n }\n </main>\n</div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container: rebase / size;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.layout {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n height: 100%;\n min-height: 0;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.head {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: 0.25rem;\n padding: 0.75rem 0.75rem 0.5rem;\n}\n\n.title-row {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n}\n\n.title-icon,\n.handle,\n.check-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.title-icon {\n color: var(--nol-icon-color);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n overflow: hidden;\n font-size: 0.9375rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.hint,\n.note {\n margin: 0;\n}\n\n.hint,\n.columns,\n.check-text,\n.option-note,\n.summary {\n font-size: 0.75rem;\n}\n\n.note {\n padding: 0.5rem 0.75rem;\n}\n\n.steps {\n position: relative;\n flex: 0 1 auto;\n min-height: 0;\n overflow: auto;\n}\n\n.step {\n display: grid;\n grid-template-columns: 1.25rem 7rem 4.5rem minmax(5.5rem, 1fr) minmax(0, 12rem);\n gap: 0.5rem;\n align-items: center;\n min-height: 2.25rem;\n padding: 0 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.step.columns {\n min-height: 1.75rem;\n}\n\n.step.columns > * {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.steps .step:hover {\n background-color: var(--nol-hover);\n}\n\n.steps .step.selected {\n background-color: var(--nol-selected);\n}\n\n.step.folded {\n padding-left: 2.5rem;\n}\n\n.step.lifted {\n opacity: 0.35;\n}\n\n.step.lift {\n position: absolute;\n right: 0;\n left: 0;\n z-index: 2;\n margin: 0 0.5rem;\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: 0.375rem;\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n transform: translate(0.75rem, 0.125rem) rotate(-0.4deg);\n pointer-events: none;\n}\n\n.step.dropped .message {\n color: var(--nol-text-muted);\n text-decoration: line-through;\n}\n\n.handle {\n color: var(--nol-text-muted);\n cursor: grab;\n}\n\n.message,\n.check-text {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.message-field {\n min-width: 0;\n}\n\n.check {\n display: inline-flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n overflow: hidden;\n}\n\n.drop-line {\n position: relative;\n height: 2px;\n margin: -1px 0.75rem;\n background-color: var(--nol-accent);\n}\n\n.drop-line::before {\n position: absolute;\n top: -3px;\n left: -4px;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background-color: var(--nol-accent);\n content: \"\";\n}\n\n.spacer {\n flex: 1 1 auto;\n}\n\n.options {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: 0.5rem;\n padding: 0.75rem;\n border-top: var(--nol-border-width) solid var(--nol-border);\n}\n\n.option {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.options .note {\n padding: 0;\n}\n\n.title-row > [nol-toolbar-button]:last-child {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.start-row {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n margin-top: 0.25rem;\n}\n\n.summary {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n@container rebase (height < 34rem) {\n .steps-panel {\n overflow-y: auto;\n }\n\n .steps {\n flex: none;\n overflow: visible;\n }\n}\n\n@container rebase (width < 40rem) {\n .title {\n white-space: normal;\n }\n}\n\n@container rebase (width < 45rem) {\n .check-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled", "label"], outputs: ["checkedChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "component", type: SelectComponent, selector: "nol-select", inputs: ["options", "value", "label", "describedBy", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }] });
386
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitRebaseComponent, isStandalone: true, selector: "nol-git-rebase", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, providers: [GitViewStateService], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"layout\">\n <main class=\"panel steps-panel\" [attr.aria-label]=\"resources.rebaseScreenLabel\">\n <header class=\"head\">\n <div class=\"title-row\">\n <span class=\"title-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.rebaseIcon }}</span>\n <h1 class=\"title strong\">{{ heading() }}</h1>\n @if (showsAiFeatures()) {\n <button nol-toolbar-button type=\"button\" class=\"tidy-up\" [icon]=\"resources.tidyUpIcon\" [label]=\"resources.tidyUpLabel\" [isShowingLabel]=\"true\" disabled\n [title]=\"resources.notBuiltYet\"></button>\n }\n </div>\n <p class=\"hint muted\">{{ resources.rebaseHint }}</p>\n </header>\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (target() === null) {\n <p class=\"note muted\" role=\"note\">{{ resources.rebaseNoTarget }}</p>\n } @else if (plan(); as plan) {\n @if (rows().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.emptyRebase }}</p>\n } @else {\n <div class=\"step columns muted\" aria-hidden=\"true\"><span></span><span>{{ resources.actionColumn }}</span><span>{{ resources.commitColumn }}</span><span>{{ resources.messageColumn }}</span><span>{{ resources.checkColumn }}</span></div>\n <div #steps class=\"steps\" role=\"list\" (dragover)=\"follow($event, steps)\" (drop)=\"drop($event)\">\n @for (item of items(); track item.row.commit.id; let index = $index) {\n @let row = item.row;\n @let check = item.check;\n @if (dropAt() === index) {\n <div class=\"drop-line\" aria-hidden=\"true\"></div>\n }\n <div #step class=\"step\" role=\"listitem\" tabindex=\"0\" draggable=\"true\" [attr.data-row]=\"index\" [attr.aria-current]=\"index === selected() ? 'true' : null\"\n [class.selected]=\"index === selected()\" [class.dropped]=\"row.action === 'Drop'\" [class.folded]=\"row.folds\" [class.lifted]=\"dragged() === index\"\n (focus)=\"select(index)\" (click)=\"select(index)\" (keydown)=\"keydown($event, index)\"\n (dragstart)=\"dragStart($event, index, step)\" (dragover)=\"dragOver($event, index)\" (dragend)=\"dragEnd()\">\n <span class=\"handle material-symbols-rounded\" aria-hidden=\"true\">{{ resources.dragIcon }}</span>\n <nol-select class=\"action\" [label]=\"resources.actionColumn\" [options]=\"actions\" [value]=\"row.action\" (valueChange)=\"setAction(index, $event)\" />\n <span class=\"id mono muted\">{{ shortOf(row.commit.id) }}</span>\n @if (row.takesMessage && index === selected()) {\n <input nol-text-field class=\"message-field\" type=\"text\" [attr.aria-label]=\"resources.rebaseMessageLabel\" [ngModel]=\"subjectOf(row.message ?? row.commit.message)\"\n (ngModelChange)=\"setSubject(index, $event)\" />\n } @else {\n <span class=\"message\" [title]=\"row.message ?? row.commit.message\"><nol-git-reference-text [text]=\"subjectOf(row.message ?? row.commit.message)\" [folder]=\"instance()\"\n [chipTabIndex]=\"-1\" /></span>\n }\n <span class=\"check\"><span class=\"check-icon material-symbols-rounded\" [class]=\"check.tone\" aria-hidden=\"true\">{{ check.icon }}</span><span class=\"check-text\">{{ check.text }}</span></span>\n </div>\n }\n @if (dropAt() === rows().length) {\n <div class=\"drop-line\" aria-hidden=\"true\"></div>\n }\n @for (item of lifted(); track item.row.commit.id) {\n <div class=\"step lift\" aria-hidden=\"true\" inert [class.dropped]=\"item.row.action === 'Drop'\" [style.top.px]=\"liftTop()\">\n <span class=\"handle material-symbols-rounded\">{{ resources.dragIcon }}</span>\n <nol-select class=\"action\" [label]=\"resources.actionColumn\" [options]=\"actions\" [value]=\"item.row.action\" />\n <span class=\"id mono muted\">{{ shortOf(item.row.commit.id) }}</span>\n <span class=\"message\"><nol-git-reference-text [text]=\"subjectOf(item.row.message ?? item.row.commit.message)\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span>\n <span class=\"check\"><span class=\"check-icon material-symbols-rounded\" [class]=\"item.check.tone\">{{ item.check.icon }}</span><span class=\"check-text\">{{ item.check.text\n }}</span></span>\n </div>\n }\n </div>\n }\n <div class=\"spacer\"></div>\n <footer class=\"options\">\n <div class=\"option\">\n <nol-checkbox class=\"move-stacked\" [checked]=\"moveStacked() && plan.stacked.length > 0\" [disabled]=\"plan.stacked.length === 0\" (checkedChange)=\"moveStacked.set($event)\">{{ resources.moveStackedLabel }}</nol-checkbox>\n @if (plan.stacked.length > 0) {\n <span class=\"option-note muted\">{{ resources.formatStackedFollow(plan.stacked) }}</span>\n }\n </div>\n <div class=\"option\">\n <nol-checkbox class=\"fold-fixups\" [checked]=\"foldFixups()\" (checkedChange)=\"setFold(plan, $event)\">{{ resources.foldFixupsLabel }}</nol-checkbox>\n </div>\n <div class=\"option\" [title]=\"resources.undoBackTitle\">\n <nol-checkbox class=\"undo-back\" [checked]=\"true\" [disabled]=\"true\">{{ resources.undoBackLabel }}</nol-checkbox>\n </div>\n <div class=\"option\" [title]=\"resources.notBuiltYet\">\n <nol-checkbox class=\"run-tests\" [checked]=\"false\" [disabled]=\"true\">{{ resources.runTestsLabel }}</nol-checkbox>\n <span class=\"option-note muted\">{{ resources.runTestsNote }}</span>\n </div>\n @if (!valid()) {\n <p class=\"note failure\" role=\"alert\">{{ resources.foldFirstRefusal }}</p>\n }\n @if (state.failure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"start-row\">\n <span class=\"summary muted\">{{ summary() }}</span>\n <button nol-button type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"cancel()\">{{ resources.cancelLabel }}</button>\n @if (start(); as ready) {\n <button nol-button type=\"button\" class=\"start\" (click)=\"startRebase(ready)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.startIcon }}</span>{{ resources.startRebaseLabel }}</button>\n } @else {\n <button nol-button type=\"button\" class=\"start\" disabled>\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.startIcon }}</span>{{ resources.startRebaseLabel }}</button>\n }\n </div>\n </footer>\n }\n </main>\n</div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container: rebase / size;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.layout {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n height: 100%;\n min-height: 0;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.head {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: 0.25rem;\n padding: 0.75rem 0.75rem 0.5rem;\n}\n\n.title-row {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n}\n\n.title-icon,\n.handle,\n.check-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.title-icon {\n color: var(--nol-icon-color);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n overflow: hidden;\n font-size: 0.9375rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.hint,\n.note {\n margin: 0;\n}\n\n.hint,\n.columns,\n.check-text,\n.option-note,\n.summary {\n font-size: 0.75rem;\n}\n\n.note {\n padding: 0.5rem 0.75rem;\n}\n\n.steps {\n position: relative;\n flex: 0 1 auto;\n min-height: 0;\n overflow: auto;\n}\n\n.step {\n display: grid;\n grid-template-columns: 1.25rem 7rem 4.5rem minmax(5.5rem, 1fr) minmax(0, 12rem);\n gap: 0.5rem;\n align-items: center;\n min-height: 2.25rem;\n padding: 0 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.step.columns {\n min-height: 1.75rem;\n}\n\n.step.columns > * {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.steps .step:hover {\n background-color: var(--nol-hover);\n}\n\n.steps .step.selected {\n background-color: var(--nol-selected);\n}\n\n.step.folded {\n padding-left: 2.5rem;\n}\n\n.step.lifted {\n opacity: 0.35;\n}\n\n.step.lift {\n position: absolute;\n right: 0;\n left: 0;\n z-index: 2;\n margin: 0 0.5rem;\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: 0.375rem;\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n transform: translate(0.75rem, 0.125rem) rotate(-0.4deg);\n pointer-events: none;\n}\n\n.step.dropped .message {\n color: var(--nol-text-muted);\n text-decoration: line-through;\n}\n\n.handle {\n color: var(--nol-text-muted);\n cursor: grab;\n}\n\n.message,\n.check-text {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.message-field {\n min-width: 0;\n}\n\n.check {\n display: inline-flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n overflow: hidden;\n}\n\n.drop-line {\n position: relative;\n height: 2px;\n margin: -1px 0.75rem;\n background-color: var(--nol-accent);\n}\n\n.drop-line::before {\n position: absolute;\n top: -3px;\n left: -4px;\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background-color: var(--nol-accent);\n content: \"\";\n}\n\n.spacer {\n flex: 1 1 auto;\n}\n\n.options {\n display: flex;\n flex: none;\n flex-direction: column;\n gap: 0.5rem;\n padding: 0.75rem;\n border-top: var(--nol-border-width) solid var(--nol-border);\n}\n\n.option {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.options .note {\n padding: 0;\n}\n\n.title-row > [nol-toolbar-button]:last-child {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.start-row {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n margin-top: 0.25rem;\n}\n\n.summary {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n@container rebase (height < 34rem) {\n .steps-panel {\n overflow-y: auto;\n }\n\n .steps {\n flex: none;\n overflow: visible;\n }\n}\n\n@container rebase (width < 40rem) {\n .title {\n white-space: normal;\n }\n}\n\n@container rebase (width < 45rem) {\n .check-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled", "label"], outputs: ["checkedChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "component", type: SelectComponent, selector: "nol-select", inputs: ["options", "value", "label", "describedBy", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["large", "quiet"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }] });
387
387
  }
388
388
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRebaseComponent, decorators: [{
389
389
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"git-rebase.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-rebase/git-rebase.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-rebase/git-rebase.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAiC,MAAM,EAAE,SAAS,EAAuB,MAAM,eAAe,CAAC;AACnN,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAA+D,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAmB,MAAM,uBAAuB,CAAC;AACtK,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,iBAAiB,EAAE,eAAe,EAAE,YAAY,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAE9K,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAuB,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,EAA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KAAK,CAAC,CAAC,CAAC,KAAK,CAAC;QACvF,CAAC;QACD,OAAO,KAAK,EAAE,CAAC;YACb,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,KAAK,CAAC;gBACpC,MAAM,KAAK,CAAC;YACd,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC;IAEO,GAAG,CAAC,IAAsB;QAChC,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;IACtE,CAAC;uGAzWU,kBAAkB;2FAAlB,kBAAkB,yMAJlB,CAAC,mBAAmB,CAAC,0BC5ClC,mgOA4GA,s0JDjEY,eAAe,oJAAE,iBAAiB,8HAAE,WAAW,ysBAAE,yBAAyB,gIAAE,eAAe,mJAAE,kBAAkB,+GAAE,sBAAsB;;2FAKtI,kBAAkB;kBAP9B,SAAS;+BACE,gBAAgB,WACjB,CAAC,eAAe,EAAE,iBAAiB,EAAE,WAAW,EAAE,yBAAyB,EAAE,eAAe,EAAE,kBAAkB,EAAE,sBAAsB,CAAC,aACvI,CAAC,mBAAmB,CAAC"}
1
+ {"version":3,"file":"git-rebase.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-rebase/git-rebase.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-rebase/git-rebase.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAiC,MAAM,EAAE,SAAS,EAAuB,MAAM,eAAe,CAAC;AACnN,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAA+D,aAAa,EAAE,YAAY,EAAE,kBAAkB,EA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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: ["large", "quiet"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
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