@noldova/git.window 0.0.17 → 0.0.19

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 (84) hide show
  1. package/package.json +10 -10
  2. package/src/api/index.d.ts +53 -4
  3. package/src/api/index.js +1 -0
  4. package/src/api/index.js.map +1 -1
  5. package/src/app/components/git-account-dialog/git-account-dialog.component.js +3 -3
  6. package/src/app/components/git-accounts/git-accounts.component.js +3 -3
  7. package/src/app/components/git-agents/git-agents.component.js +3 -3
  8. package/src/app/components/git-branch-card/git-branch-card.component.js +3 -3
  9. package/src/app/components/git-branch-drop/git-branch-drop.component.js +3 -3
  10. package/src/app/components/git-bulk-branch-dialog/git-bulk-branch-dialog.component.js +3 -3
  11. package/src/app/components/git-bulk-push-dialog/git-bulk-push-dialog.component.js +3 -3
  12. package/src/app/components/git-clone-dialog/git-clone-dialog.component.js +6 -10
  13. package/src/app/components/git-clone-dialog/git-clone-dialog.component.js.map +1 -1
  14. package/src/app/components/git-command-log/git-command-log.component.js +3 -3
  15. package/src/app/components/git-commit-card/git-commit-card.component.js +3 -3
  16. package/src/app/components/git-commit-detail/git-commit-detail.component.js +3 -3
  17. package/src/app/components/git-commit-detail-view/git-commit-detail-view.component.js +3 -3
  18. package/src/app/components/git-commit-document/git-commit-document.component.js +3 -3
  19. package/src/app/components/git-conflict-detail/git-conflict-detail.component.js +3 -3
  20. package/src/app/components/git-conflicts/git-conflicts.component.js +5 -5
  21. package/src/app/components/git-conflicts/git-conflicts.component.js.map +1 -1
  22. package/src/app/components/git-dashboard/git-dashboard.component.js +3 -3
  23. package/src/app/components/git-diff-files/git-diff-files.component.js +3 -3
  24. package/src/app/components/git-discard-dialog/git-discard-dialog.component.js +3 -3
  25. package/src/app/components/git-file-group/git-file-group.component.js +3 -3
  26. package/src/app/components/git-file-layout-button/git-file-layout-button.component.js +3 -3
  27. package/src/app/components/git-force-push-dialog/git-force-push-dialog.component.js +3 -3
  28. package/src/app/components/git-history/git-history.component.js +29 -15
  29. package/src/app/components/git-history/git-history.component.js.map +1 -1
  30. package/src/app/components/git-host-row/git-host-row.component.js +3 -3
  31. package/src/app/components/git-person-avatar/git-person-avatar.component.js +3 -3
  32. package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js +3 -3
  33. package/src/app/components/git-pull-request-conflicts/git-pull-request-conflicts.component.js +3 -3
  34. package/src/app/components/git-pull-request-files/git-pull-request-files.component.js +3 -3
  35. package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js +11 -12
  36. package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js.map +1 -1
  37. package/src/app/components/git-pull-requests/git-pull-requests.component.js +3 -3
  38. package/src/app/components/git-rebase/git-rebase.component.js +3 -3
  39. package/src/app/components/git-rebase-preview/git-rebase-preview.component.js +3 -3
  40. package/src/app/components/git-reference-text/git-reference-text.component.js +3 -3
  41. package/src/app/components/git-repository/git-repository.component.js +19 -17
  42. package/src/app/components/git-repository/git-repository.component.js.map +1 -1
  43. package/src/app/components/git-repository-scan-dialog/git-repository-scan-dialog.component.js +3 -3
  44. package/src/app/components/git-switch-merge-dialog/git-switch-merge-dialog.component.js +3 -3
  45. package/src/app/components/git-undo-menu/git-undo-menu.component.js +3 -3
  46. package/src/app/components/git-view/git-view.component.js +4 -17
  47. package/src/app/components/git-view/git-view.component.js.map +1 -1
  48. package/src/app/components/git-workspace/git-visible.directive.js +3 -3
  49. package/src/app/components/git-workspace/git-workspace.component.js +59 -7
  50. package/src/app/components/git-workspace/git-workspace.component.js.map +1 -1
  51. package/src/app/components/git-workspace-across/git-workspace-across.component.js +3 -3
  52. package/src/app/components/git-workspace-across-view/git-workspace-across-view.component.js +3 -3
  53. package/src/app/components/git-workspaces/git-workspaces.component.js +4 -4
  54. package/src/app/enums/git-workspace-column.js +19 -0
  55. package/src/app/enums/git-workspace-column.js.map +1 -0
  56. package/src/app/models/git-force-push-offer.js +20 -3
  57. package/src/app/models/git-force-push-offer.js.map +1 -1
  58. package/src/app/models/git-workspace-header.js +31 -0
  59. package/src/app/models/git-workspace-header.js.map +1 -0
  60. package/src/app/models/git-workspace-overview.js +11 -0
  61. package/src/app/models/git-workspace-overview.js.map +1 -1
  62. package/src/app/models/git-workspace-page-sort.js +32 -0
  63. package/src/app/models/git-workspace-page-sort.js.map +1 -0
  64. package/src/app/models/git-workspace-row.js +7 -2
  65. package/src/app/models/git-workspace-row.js.map +1 -1
  66. package/src/app/models/git-workspace-sort.js +81 -0
  67. package/src/app/models/git-workspace-sort.js.map +1 -0
  68. package/src/app/services/git-action-notices.js +36 -0
  69. package/src/app/services/git-action-notices.js.map +1 -0
  70. package/src/app/services/git-code-colors.js +3 -3
  71. package/src/app/services/git-recent-repositories.js +18 -6
  72. package/src/app/services/git-recent-repositories.js.map +1 -1
  73. package/src/app/services/git-view-commands.js +46 -3
  74. package/src/app/services/git-view-commands.js.map +1 -1
  75. package/src/app/services/git-view-state.service.js +63 -75
  76. package/src/app/services/git-view-state.service.js.map +1 -1
  77. package/src/app/services/git-window-part.js +4 -1
  78. package/src/app/services/git-window-part.js.map +1 -1
  79. package/src/app/services/git-workspace-sorts.js +43 -0
  80. package/src/app/services/git-workspace-sorts.js.map +1 -0
  81. package/src/app/services/git-workspaces.js +3 -0
  82. package/src/app/services/git-workspaces.js.map +1 -1
  83. package/src/resources.js +49 -0
  84. package/src/resources.js.map +1 -1
@@ -24,10 +24,10 @@ export class GitRebasePreviewComponent {
24
24
  GitResolving.open(folder, path);
25
25
  this.context.openDocument(Resources.conflictsDocumentName, folder, Resources.formatConflictsTitle(folder));
26
26
  }
27
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRebasePreviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitRebasePreviewComponent, isStandalone: true, selector: "nol-git-rebase-preview", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (preview(); as preview) {\n <section class=\"preview\" [attr.aria-label]=\"resources.rebasePreviewLabel\">\n <section class=\"now\">\n <h3 class=\"caps\">{{ resources.nowLabel }}</h3>\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n <div class=\"node indented muted\">{{ resources.formatCommitsFrom(preview.count, preview.base) }}</div>\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ resources.formatAheadOfBase(preview.plan.ontoAhead) }}</span></div>\n </section>\n <section class=\"after\">\n <h3 class=\"caps\">{{ resources.afterLabel }}</h3>\n @for (name of preview.stacked; track name) {\n <div class=\"node\"><span class=\"dot stacked-dot\"></span><span class=\"chip\">{{ name }}</span><span class=\"muted\">{{ resources.movedTooLabel }}</span></div>\n }\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n @for (subject of preview.after; track $index) {\n <div class=\"node indented result\"><nol-git-reference-text [text]=\"subject\" [folder]=\"preview.folder\" /></div>\n }\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ preview.ontoCommit }}</span></div>\n </section>\n @if (preview.stop; as stop) {\n <div class=\"stop-card\" role=\"status\">\n <div class=\"stop-title\"><span class=\"check-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.warningIcon }}</span><span class=\"strong\">{{ resources.formatStepStops(stop.step) }}</span></div>\n <p class=\"stop-text\">{{ resources.formatStepStopsNote(stop.paths, preview.onto, stop.commit) }}</p>\n @let stoppedAt = preview.stopped;\n <div><button nol-button type=\"button\" class=\"show-conflict\" [variant]=\"secondary\" [disabled]=\"stoppedAt === null\"\n [title]=\"stoppedAt === null ? resources.showConflictWaits : resources.showConflictLabel\"\n (click)=\"stoppedAt !== null && showConflict(preview.folder, stoppedAt)\">{{ resources.showConflictLabel }}</button></div>\n </div>\n }\n <div class=\"spacer\"></div>\n @if (preview.plan.pushed) {\n <p class=\"pushed muted\">{{ resources.pushedNote }}</p>\n }\n </section>\n} @else {\n <p class=\"muted empty-view\">{{ resources.rebasePreviewEmpty }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n background-color: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.preview {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n box-sizing: border-box;\n min-height: 100%;\n padding: 0.75rem;\n}\n\n.empty-view {\n margin: 0.75rem;\n}\n\n.now,\n.after {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n}\n\n.caps,\n.node,\n.pushed,\n.stop-text {\n font-size: 0.75rem;\n}\n\n.caps {\n margin: 0 0 0.25rem;\n color: var(--nol-text-muted);\n font-weight: normal;\n letter-spacing: 0.02em;\n text-transform: uppercase;\n}\n\n.now {\n gap: 0.25rem;\n}\n\n.now .caps {\n margin: 0;\n}\n\n.node {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n height: 1.625rem;\n white-space: nowrap;\n}\n\n.node > .muted {\n flex: 0 100 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.node.indented {\n padding-left: 1.125rem;\n}\n\n.result {\n overflow: hidden;\n color: var(--nol-text);\n text-overflow: ellipsis;\n}\n\n.dot {\n flex: none;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n}\n\n.branch-dot {\n background-color: var(--nol-author-1);\n}\n\n.onto-dot {\n background-color: var(--nol-author-3);\n}\n\n.stacked-dot {\n background-color: var(--nol-author-2);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\n min-width: 0;\n height: 1.25rem;\n padding: 0 0.375rem;\n overflow: hidden;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.stop-card {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-raised);\n}\n\n.stop-title {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n}\n\n.check-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.stop-text,\n.pushed {\n margin: 0;\n line-height: 1.6;\n}\n\n.spacer {\n flex: 1 1 auto;\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }] });
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitRebasePreviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitRebasePreviewComponent, isStandalone: true, selector: "nol-git-rebase-preview", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (preview(); as preview) {\n <section class=\"preview\" [attr.aria-label]=\"resources.rebasePreviewLabel\">\n <section class=\"now\">\n <h3 class=\"caps\">{{ resources.nowLabel }}</h3>\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n <div class=\"node indented muted\">{{ resources.formatCommitsFrom(preview.count, preview.base) }}</div>\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ resources.formatAheadOfBase(preview.plan.ontoAhead) }}</span></div>\n </section>\n <section class=\"after\">\n <h3 class=\"caps\">{{ resources.afterLabel }}</h3>\n @for (name of preview.stacked; track name) {\n <div class=\"node\"><span class=\"dot stacked-dot\"></span><span class=\"chip\">{{ name }}</span><span class=\"muted\">{{ resources.movedTooLabel }}</span></div>\n }\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n @for (subject of preview.after; track $index) {\n <div class=\"node indented result\"><nol-git-reference-text [text]=\"subject\" [folder]=\"preview.folder\" /></div>\n }\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ preview.ontoCommit }}</span></div>\n </section>\n @if (preview.stop; as stop) {\n <div class=\"stop-card\" role=\"status\">\n <div class=\"stop-title\"><span class=\"check-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.warningIcon }}</span><span class=\"strong\">{{ resources.formatStepStops(stop.step) }}</span></div>\n <p class=\"stop-text\">{{ resources.formatStepStopsNote(stop.paths, preview.onto, stop.commit) }}</p>\n @let stoppedAt = preview.stopped;\n <div><button nol-button type=\"button\" class=\"show-conflict\" [variant]=\"secondary\" [disabled]=\"stoppedAt === null\"\n [title]=\"stoppedAt === null ? resources.showConflictWaits : resources.showConflictLabel\"\n (click)=\"stoppedAt !== null && showConflict(preview.folder, stoppedAt)\">{{ resources.showConflictLabel }}</button></div>\n </div>\n }\n <div class=\"spacer\"></div>\n @if (preview.plan.pushed) {\n <p class=\"pushed muted\">{{ resources.pushedNote }}</p>\n }\n </section>\n} @else {\n <p class=\"muted empty-view\">{{ resources.rebasePreviewEmpty }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n background-color: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.preview {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n box-sizing: border-box;\n min-height: 100%;\n padding: 0.75rem;\n}\n\n.empty-view {\n margin: 0.75rem;\n}\n\n.now,\n.after {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n}\n\n.caps,\n.node,\n.pushed,\n.stop-text {\n font-size: 0.75rem;\n}\n\n.caps {\n margin: 0 0 0.25rem;\n color: var(--nol-text-muted);\n font-weight: normal;\n letter-spacing: 0.02em;\n text-transform: uppercase;\n}\n\n.now {\n gap: 0.25rem;\n}\n\n.now .caps {\n margin: 0;\n}\n\n.node {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n height: 1.625rem;\n white-space: nowrap;\n}\n\n.node > .muted {\n flex: 0 100 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.node.indented {\n padding-left: 1.125rem;\n}\n\n.result {\n overflow: hidden;\n color: var(--nol-text);\n text-overflow: ellipsis;\n}\n\n.dot {\n flex: none;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n}\n\n.branch-dot {\n background-color: var(--nol-author-1);\n}\n\n.onto-dot {\n background-color: var(--nol-author-3);\n}\n\n.stacked-dot {\n background-color: var(--nol-author-2);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\n min-width: 0;\n height: 1.25rem;\n padding: 0 0.375rem;\n overflow: hidden;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.stop-card {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-raised);\n}\n\n.stop-title {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n}\n\n.check-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.stop-text,\n.pushed {\n margin: 0;\n line-height: 1.6;\n}\n\n.spacer {\n flex: 1 1 auto;\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }] });
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRebasePreviewComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitRebasePreviewComponent, decorators: [{
31
31
  type: Component,
32
32
  args: [{ selector: "nol-git-rebase-preview", imports: [ButtonComponent, GitReferenceTextComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (preview(); as preview) {\n <section class=\"preview\" [attr.aria-label]=\"resources.rebasePreviewLabel\">\n <section class=\"now\">\n <h3 class=\"caps\">{{ resources.nowLabel }}</h3>\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n <div class=\"node indented muted\">{{ resources.formatCommitsFrom(preview.count, preview.base) }}</div>\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ resources.formatAheadOfBase(preview.plan.ontoAhead) }}</span></div>\n </section>\n <section class=\"after\">\n <h3 class=\"caps\">{{ resources.afterLabel }}</h3>\n @for (name of preview.stacked; track name) {\n <div class=\"node\"><span class=\"dot stacked-dot\"></span><span class=\"chip\">{{ name }}</span><span class=\"muted\">{{ resources.movedTooLabel }}</span></div>\n }\n <div class=\"node\"><span class=\"dot branch-dot\"></span><span class=\"chip\">{{ preview.branch }}</span></div>\n @for (subject of preview.after; track $index) {\n <div class=\"node indented result\"><nol-git-reference-text [text]=\"subject\" [folder]=\"preview.folder\" /></div>\n }\n <div class=\"node\"><span class=\"dot onto-dot\"></span><span class=\"chip\">{{ preview.onto }}</span><span class=\"muted\">{{ preview.ontoCommit }}</span></div>\n </section>\n @if (preview.stop; as stop) {\n <div class=\"stop-card\" role=\"status\">\n <div class=\"stop-title\"><span class=\"check-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.warningIcon }}</span><span class=\"strong\">{{ resources.formatStepStops(stop.step) }}</span></div>\n <p class=\"stop-text\">{{ resources.formatStepStopsNote(stop.paths, preview.onto, stop.commit) }}</p>\n @let stoppedAt = preview.stopped;\n <div><button nol-button type=\"button\" class=\"show-conflict\" [variant]=\"secondary\" [disabled]=\"stoppedAt === null\"\n [title]=\"stoppedAt === null ? resources.showConflictWaits : resources.showConflictLabel\"\n (click)=\"stoppedAt !== null && showConflict(preview.folder, stoppedAt)\">{{ resources.showConflictLabel }}</button></div>\n </div>\n }\n <div class=\"spacer\"></div>\n @if (preview.plan.pushed) {\n <p class=\"pushed muted\">{{ resources.pushedNote }}</p>\n }\n </section>\n} @else {\n <p class=\"muted empty-view\">{{ resources.rebasePreviewEmpty }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n background-color: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.preview {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n box-sizing: border-box;\n min-height: 100%;\n padding: 0.75rem;\n}\n\n.empty-view {\n margin: 0.75rem;\n}\n\n.now,\n.after {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n}\n\n.caps,\n.node,\n.pushed,\n.stop-text {\n font-size: 0.75rem;\n}\n\n.caps {\n margin: 0 0 0.25rem;\n color: var(--nol-text-muted);\n font-weight: normal;\n letter-spacing: 0.02em;\n text-transform: uppercase;\n}\n\n.now {\n gap: 0.25rem;\n}\n\n.now .caps {\n margin: 0;\n}\n\n.node {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n height: 1.625rem;\n white-space: nowrap;\n}\n\n.node > .muted {\n flex: 0 100 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.node.indented {\n padding-left: 1.125rem;\n}\n\n.result {\n overflow: hidden;\n color: var(--nol-text);\n text-overflow: ellipsis;\n}\n\n.dot {\n flex: none;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n}\n\n.branch-dot {\n background-color: var(--nol-author-1);\n}\n\n.onto-dot {\n background-color: var(--nol-author-3);\n}\n\n.stacked-dot {\n background-color: var(--nol-author-2);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\n min-width: 0;\n height: 1.25rem;\n padding: 0 0.375rem;\n overflow: hidden;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.stop-card {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-raised);\n}\n\n.stop-title {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n}\n\n.check-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.stop-text,\n.pushed {\n margin: 0;\n line-height: 1.6;\n}\n\n.spacer {\n flex: 1 1 auto;\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
33
33
  }], propDecorators: { instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
@@ -46,10 +46,10 @@ export class GitReferenceTextComponent {
46
46
  if (!GitLinkReferences.opens(this.folder(), opened.url, this.injector))
47
47
  void this.context.openLinkAsync(opened.url, { gesture: opened.gesture }).catch((error) => this.errors.handleError(error));
48
48
  }
49
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitReferenceTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
50
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitReferenceTextComponent, isStandalone: true, selector: "nol-git-reference-text", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, chipTabIndex: { classPropertyName: "chipTabIndex", publicName: "chipTabIndex", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@for (part of parts(); track $index) {\n @if (part.url; as url) {\n @if (chipOf(part); as reference) {\n <a nol-link-reference-chip title=\"\" [reference]=\"reference\" [href]=\"url\" [attr.tabindex]=\"chipTabIndex()\" (click)=\"activate($event, url)\" (linkActivate)=\"open($event)\"></a>\n @if (reference.workItemState; as state) {{{ ' ' }}<nol-link-reference-work-item-state [state]=\"state\" />}\n @if (reference.title === null && title(); as words) {{{ ' ' }}<span [title]=\"words\">{{ words }}</span>}\n }\n @else {\n <a class=\"reference\" [class.linked]=\"link() !== null\" [href]=\"url\" [attr.tabindex]=\"chipTabIndex()\" (click)=\"activate($event, url)\">{{ part.reference?.()?.reference ?? part.text }}</a>\n @if (title(); as words) {{{ ' ' }}<span [title]=\"words\">{{ words }}</span>}\n }\n } @else {\n <span>{{ part.text }}</span>\n }\n}\n", styles: [".reference {\n color: var(--nol-link);\n text-decoration: none;\n}\n\n.reference:hover {\n text-decoration: underline;\n}\n\n.reference.linked {\n color: inherit;\n}\n\n:host(.line) {\n display: flex;\n align-items: baseline;\n min-width: 0;\n}\n\n:host(.line) > span,\n:host(.line) > .reference {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n}\n\n:host(.line) > a[nol-link-reference-chip],\n:host(.line) > a[nol-link-reference-chip] ~ * {\n flex-shrink: 1000;\n}\n\n:host(.line) > a[nol-link-reference-chip] {\n min-width: calc(var(--nol-reference-mark) + var(--nol-icon) + 2 * var(--nol-space-1) + 1em);\n}\n\n:host(.line) > a[nol-link-reference-chip] ~ nol-link-reference-work-item-state {\n flex: none;\n margin-inline-start: var(--nol-space-1);\n}\n"], dependencies: [{ kind: "component", type: LinkReferenceChipComponent, selector: "a[nol-link-reference-chip]", inputs: ["reference", "isInline"], outputs: ["linkActivate", "linkMenu"] }, { kind: "component", type: LinkReferenceWorkItemStateComponent, selector: "nol-link-reference-work-item-state", inputs: ["state"] }] });
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitReferenceTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
50
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitReferenceTextComponent, isStandalone: true, selector: "nol-git-reference-text", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, chipTabIndex: { classPropertyName: "chipTabIndex", publicName: "chipTabIndex", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@for (part of parts(); track $index) {\n @if (part.url; as url) {\n @if (chipOf(part); as reference) {\n <a nol-link-reference-chip title=\"\" [reference]=\"reference\" [href]=\"url\" [attr.tabindex]=\"chipTabIndex()\" (click)=\"activate($event, url)\" (linkActivate)=\"open($event)\"></a>\n @if (reference.workItemState; as state) {{{ ' ' }}<nol-link-reference-work-item-state [state]=\"state\" />}\n @if (reference.title === null && title(); as words) {{{ ' ' }}<span [title]=\"words\">{{ words }}</span>}\n }\n @else {\n <a class=\"reference\" [class.linked]=\"link() !== null\" [href]=\"url\" [attr.tabindex]=\"chipTabIndex()\" (click)=\"activate($event, url)\">{{ part.reference?.()?.reference ?? part.text }}</a>\n @if (title(); as words) {{{ ' ' }}<span [title]=\"words\">{{ words }}</span>}\n }\n } @else {\n <span>{{ part.text }}</span>\n }\n}\n", styles: [".reference {\n color: var(--nol-link);\n text-decoration: none;\n}\n\n.reference:hover {\n text-decoration: underline;\n}\n\n.reference.linked {\n color: inherit;\n}\n\n:host(.line) {\n display: flex;\n align-items: baseline;\n min-width: 0;\n}\n\n:host(.line) > span,\n:host(.line) > .reference {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n}\n\n:host(.line) > a[nol-link-reference-chip],\n:host(.line) > a[nol-link-reference-chip] ~ * {\n flex-shrink: 1000;\n}\n\n:host(.line) > a[nol-link-reference-chip] {\n min-width: calc(var(--nol-reference-mark) + var(--nol-icon) + 2 * var(--nol-space-1) + 1em);\n}\n\n:host(.line) > a[nol-link-reference-chip] ~ nol-link-reference-work-item-state {\n flex: none;\n margin-inline-start: var(--nol-space-1);\n}\n"], dependencies: [{ kind: "component", type: LinkReferenceChipComponent, selector: "a[nol-link-reference-chip]", inputs: ["reference", "isInline"], outputs: ["linkActivate", "linkMenu"] }, { kind: "component", type: LinkReferenceWorkItemStateComponent, selector: "nol-link-reference-work-item-state", inputs: ["state"] }] });
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitReferenceTextComponent, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitReferenceTextComponent, decorators: [{
53
53
  type: Component,
54
54
  args: [{ selector: "nol-git-reference-text", imports: [LinkReferenceChipComponent, LinkReferenceWorkItemStateComponent], template: "@for (part of parts(); track $index) {\n @if (part.url; as url) {\n @if (chipOf(part); as reference) {\n <a nol-link-reference-chip title=\"\" [reference]=\"reference\" [href]=\"url\" [attr.tabindex]=\"chipTabIndex()\" (click)=\"activate($event, url)\" (linkActivate)=\"open($event)\"></a>\n @if (reference.workItemState; as state) {{{ ' ' }}<nol-link-reference-work-item-state [state]=\"state\" />}\n @if (reference.title === null && title(); as words) {{{ ' ' }}<span [title]=\"words\">{{ words }}</span>}\n }\n @else {\n <a class=\"reference\" [class.linked]=\"link() !== null\" [href]=\"url\" [attr.tabindex]=\"chipTabIndex()\" (click)=\"activate($event, url)\">{{ part.reference?.()?.reference ?? part.text }}</a>\n @if (title(); as words) {{{ ' ' }}<span [title]=\"words\">{{ words }}</span>}\n }\n } @else {\n <span>{{ part.text }}</span>\n }\n}\n", styles: [".reference {\n color: var(--nol-link);\n text-decoration: none;\n}\n\n.reference:hover {\n text-decoration: underline;\n}\n\n.reference.linked {\n color: inherit;\n}\n\n:host(.line) {\n display: flex;\n align-items: baseline;\n min-width: 0;\n}\n\n:host(.line) > span,\n:host(.line) > .reference {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n}\n\n:host(.line) > a[nol-link-reference-chip],\n:host(.line) > a[nol-link-reference-chip] ~ * {\n flex-shrink: 1000;\n}\n\n:host(.line) > a[nol-link-reference-chip] {\n min-width: calc(var(--nol-reference-mark) + var(--nol-icon) + 2 * var(--nol-space-1) + 1em);\n}\n\n:host(.line) > a[nol-link-reference-chip] ~ nol-link-reference-work-item-state {\n flex: none;\n margin-inline-start: var(--nol-space-1);\n}\n"] }]
55
55
  }], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], folder: [{ type: i0.Input, args: [{ isSignal: true, alias: "folder", required: true }] }], link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], chipTabIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "chipTabIndex", required: false }] }] } });
@@ -15,6 +15,7 @@ import { GitBranchMenuItem } from "../../models/git-branch-menu-item.js";
15
15
  import { GitBranchView } from "../../models/git-branch-view.js";
16
16
  import { GitAgentsComponent } from "../git-agents/git-agents.component.js";
17
17
  import { GitPullRequestsComponent } from "../git-pull-requests/git-pull-requests.component.js";
18
+ import { GitActionNotices } from "../../services/git-action-notices.js";
18
19
  import { GitCommitDetails } from "../../services/git-commit-details.js";
19
20
  import { GitFolder } from "../../services/git-folder.js";
20
21
  import { GitNewBranch } from "../../services/git-new-branch.js";
@@ -32,6 +33,7 @@ import * as i0 from "@angular/core";
32
33
  import * as i1 from "@angular/forms";
33
34
  export class GitRepositoryComponent {
34
35
  context = inject(WindowPartTokens.context);
36
+ notices = new GitActionNotices(this.context, Resources.gitModule);
35
37
  client = new GitRuntimeClient(this.context);
36
38
  errors = inject(ErrorHandler);
37
39
  dialogs = inject(DialogService);
@@ -198,7 +200,7 @@ export class GitRepositoryComponent {
198
200
  void this.switchAsync(folder, name, status.fingerprint);
199
201
  }
200
202
  async switchAsync(folder, name, basedOn) {
201
- await GitPendingSwitch.runAsync(folder, name, async () => { await this.writeAsync(folder, () => this.client.switchBranchAsync(folder, name, basedOn)); });
203
+ await GitPendingSwitch.runAsync(folder, name, async () => { await this.writeAsync(folder, Resources.switchBranchTitle, () => this.client.switchBranchAsync(folder, name, basedOn)); });
202
204
  }
203
205
  startRename(branch) {
204
206
  this.failure.set(null);
@@ -217,39 +219,39 @@ export class GitRepositoryComponent {
217
219
  this.renaming.set(null);
218
220
  return;
219
221
  }
220
- if (await this.writeAsync(folder, () => this.client.renameBranchAsync(folder, branch, name, status.fingerprint)))
222
+ if (await this.writeAsync(folder, Resources.renameBranchTitle, () => this.client.renameBranchAsync(folder, branch, name, status.fingerprint)))
221
223
  this.renaming.set(null);
222
224
  }
223
225
  async newBranchAsync(folder, status) {
224
226
  const name = await GitNewBranch.askAsync(this.dialogs, Resources.formatHistoryTitle(folder));
225
227
  if (!Object.isNull(name))
226
- await this.writeAsync(folder, () => this.client.createBranchAsync(folder, name, status.fingerprint));
228
+ await this.writeAsync(folder, Resources.createBranchTitle, () => this.client.createBranchAsync(folder, name, status.fingerprint));
227
229
  }
228
230
  fetchAll(folder, status) {
229
- void this.writeAsync(folder, () => this.client.fetchAsync(folder, status.fingerprint, true));
231
+ void this.writeAsync(folder, Resources.fetchAllLabel, () => this.client.fetchAsync(folder, status.fingerprint, true));
230
232
  }
231
233
  deleteBranch(folder, branch, status) {
232
- void this.writeAsync(folder, () => this.client.deleteBranchAsync(folder, branch, status.fingerprint));
234
+ void this.writeAsync(folder, Resources.deleteBranchTitle, () => this.client.deleteBranchAsync(folder, branch, status.fingerprint));
233
235
  }
234
236
  deleteTag(folder, tag, status) {
235
- void this.writeAsync(folder, () => this.client.deleteTagAsync(folder, tag, status.fingerprint));
237
+ void this.writeAsync(folder, Resources.deleteTagTitle, () => this.client.deleteTagAsync(folder, tag, status.fingerprint));
236
238
  }
237
239
  applyStash(folder, id, status) {
238
- void this.unstashAsync(folder, () => this.client.applyStashAsync(folder, id, status.fingerprint));
240
+ void this.unstashAsync(folder, Resources.applyStashTitle, () => this.client.applyStashAsync(folder, id, status.fingerprint));
239
241
  }
240
242
  popStash(folder, id, status) {
241
- void this.unstashAsync(folder, () => this.client.popStashAsync(folder, id, status.fingerprint));
243
+ void this.unstashAsync(folder, Resources.popStashTitle, () => this.client.popStashAsync(folder, id, status.fingerprint));
242
244
  }
243
245
  dropStash(folder, id, status) {
244
- void this.writeAsync(folder, () => this.client.dropStashAsync(folder, id, status.fingerprint));
246
+ void this.writeAsync(folder, Resources.dropStashTitle, () => this.client.dropStashAsync(folder, id, status.fingerprint));
245
247
  }
246
- async unstashAsync(folder, write) {
247
- if (await this.writeAsync(folder, write) && folder === this.folder() && this.status()?.entries.some(t => !Object.isNull(t.conflict)) === true)
248
+ async unstashAsync(folder, action, write) {
249
+ if (await this.writeAsync(folder, action, write) && folder === this.folder() && this.status()?.entries.some(t => !Object.isNull(t.conflict)) === true)
248
250
  this.context.openDocument(Resources.conflictsDocumentName, folder, Resources.formatConflictsTitle(folder));
249
251
  }
250
- async writeAsync(folder, write) {
252
+ // Whether the write went through; a refusal or failure posts an error notification titled by the action.
253
+ async writeAsync(folder, action, write) {
251
254
  this.busy.set(true);
252
- this.failure.set(null);
253
255
  let done = false;
254
256
  try {
255
257
  await write();
@@ -258,7 +260,7 @@ export class GitRepositoryComponent {
258
260
  catch (error) {
259
261
  this.report(error);
260
262
  if (GitRuntimeClient.isFailure(error))
261
- this.failure.set(GitViewStateService.messageOf(error));
263
+ await this.notices.failAsync(action, GitViewStateService.messageOf(error)).catch((posting) => this.report(posting));
262
264
  }
263
265
  finally {
264
266
  this.busy.set(false);
@@ -308,10 +310,10 @@ export class GitRepositoryComponent {
308
310
  if (!GitRuntimeClient.isFailure(error))
309
311
  this.errors.handleError(error);
310
312
  }
311
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRepositoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
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"] }] });
313
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitRepositoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
314
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", 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"] }] });
313
315
  }
314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRepositoryComponent, decorators: [{
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitRepositoryComponent, decorators: [{
315
317
  type: Component,
316
318
  args: [{ selector: "nol-git-repository", imports: [ContextMenuTriggerDirective, FormsModule, GitAgentsComponent, GitPullRequestsComponent, IconButtonComponent, MenuComponent, MenuItemComponent, MenuSeparatorComponent,
317
319
  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"] }]
@@ -1 +1 @@
1
- {"version":3,"file":"git-repository.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-repository/git-repository.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-repository/git-repository.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAe,SAAS,EAAuB,MAAM,eAAe,CAAC;AACnJ,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,2BAA2B,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAA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,WACrB,CAAC,2BAA2B,EAAE,WAAW,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB;wBAC7K,4BAA4B,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,CAAC"}
1
+ {"version":3,"file":"git-repository.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-repository/git-repository.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-repository/git-repository.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAe,SAAS,EAAuB,MAAM,eAAe,CAAC;AACnJ,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,2BAA2B,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,4BAA4B,EAC9J,0BAA0B,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,kBAAkB,EACtH,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAGzE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,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B,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB;wBAC7K,4BAA4B,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,CAAC"}
@@ -52,10 +52,10 @@ export class GitRepositoryScanDialogComponent {
52
52
  unticked.add(repository);
53
53
  this.unticked.set(unticked);
54
54
  }
55
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRepositoryScanDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitRepositoryScanDialogComponent, isStandalone: true, selector: "nol-git-repository-scan-dialog", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, repositories: { classPropertyName: "repositories", publicName: "repositories", isSignal: true, isRequired: true, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { answered: "answered" }, 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<nol-dialog [title]=\"title()\" (dismissed)=\"answered.emit(null)\">\n @if (cut(); as text) {\n <p class=\"cut\">{{ text }}</p>\n }\n <p class=\"text\">{{ resources.scanText }}</p>\n <div class=\"all-row\"><nol-checkbox class=\"all\" [checked]=\"isAllTicked()\" (checkedChange)=\"tickAll($event)\">{{ resources.tickAllLabel }}</nol-checkbox></div>\n <ul class=\"repositories\">\n @for (repository of repositories(); track repository) {\n <li [title]=\"repository\">\n <nol-checkbox class=\"repository\" [checked]=\"!unticked().has(repository)\" (checkedChange)=\"tick(repository, $event)\">\n <span class=\"label\"><span class=\"name\">{{ nameOf(repository) }}</span>@if (placeOf(repository); as place) {<span class=\"place\">{{ place }}</span>}</span>\n </nol-checkbox>\n </li>\n }\n </ul>\n <button nol-button nolDialogAction type=\"button\" class=\"open\" [disabled]=\"ticked().length === 0\" (click)=\"answered.emit(ticked())\">{{ resources.openLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(null)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\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.cut {\n margin: 0 0 0.5rem;\n color: var(--nol-text-muted);\n}\n\n.text {\n margin: 0;\n}\n\n.all-row {\n display: flex;\n margin-top: 0.5rem;\n}\n\n.repositories {\n --rows: 12;\n display: grid;\n gap: 0.25rem;\n max-height: calc(var(--rows) * (1lh + 0.25rem) - 0.25rem);\n margin: 0.25rem 0 0;\n padding: 0;\n overflow-y: auto;\n list-style: none;\n container-type: inline-size;\n}\n\n.repositories li {\n display: flex;\n min-width: 0;\n}\n\n.repository {\n max-width: 100%;\n}\n\n.label {\n display: block;\n max-width: calc(100cqi - var(--nol-checkbox-size) - var(--nol-space-2));\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.place {\n margin-inline-start: 0.5rem;\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled", "label"], outputs: ["checkedChange"] }, { kind: "component", type: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }] });
55
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitRepositoryScanDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitRepositoryScanDialogComponent, isStandalone: true, selector: "nol-git-repository-scan-dialog", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, repositories: { classPropertyName: "repositories", publicName: "repositories", isSignal: true, isRequired: true, transformFunction: null }, end: { classPropertyName: "end", publicName: "end", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { answered: "answered" }, 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<nol-dialog [title]=\"title()\" (dismissed)=\"answered.emit(null)\">\n @if (cut(); as text) {\n <p class=\"cut\">{{ text }}</p>\n }\n <p class=\"text\">{{ resources.scanText }}</p>\n <div class=\"all-row\"><nol-checkbox class=\"all\" [checked]=\"isAllTicked()\" (checkedChange)=\"tickAll($event)\">{{ resources.tickAllLabel }}</nol-checkbox></div>\n <ul class=\"repositories\">\n @for (repository of repositories(); track repository) {\n <li [title]=\"repository\">\n <nol-checkbox class=\"repository\" [checked]=\"!unticked().has(repository)\" (checkedChange)=\"tick(repository, $event)\">\n <span class=\"label\"><span class=\"name\">{{ nameOf(repository) }}</span>@if (placeOf(repository); as place) {<span class=\"place\">{{ place }}</span>}</span>\n </nol-checkbox>\n </li>\n }\n </ul>\n <button nol-button nolDialogAction type=\"button\" class=\"open\" [disabled]=\"ticked().length === 0\" (click)=\"answered.emit(ticked())\">{{ resources.openLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(null)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\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.cut {\n margin: 0 0 0.5rem;\n color: var(--nol-text-muted);\n}\n\n.text {\n margin: 0;\n}\n\n.all-row {\n display: flex;\n margin-top: 0.5rem;\n}\n\n.repositories {\n --rows: 12;\n display: grid;\n gap: 0.25rem;\n max-height: calc(var(--rows) * (1lh + 0.25rem) - 0.25rem);\n margin: 0.25rem 0 0;\n padding: 0;\n overflow-y: auto;\n list-style: none;\n container-type: inline-size;\n}\n\n.repositories li {\n display: flex;\n min-width: 0;\n}\n\n.repository {\n max-width: 100%;\n}\n\n.label {\n display: block;\n max-width: calc(100cqi - var(--nol-checkbox-size) - var(--nol-space-2));\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.place {\n margin-inline-start: 0.5rem;\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled", "label"], outputs: ["checkedChange"] }, { kind: "component", type: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }] });
57
57
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitRepositoryScanDialogComponent, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitRepositoryScanDialogComponent, decorators: [{
59
59
  type: Component,
60
60
  args: [{ selector: "nol-git-repository-scan-dialog", imports: [ButtonComponent, CheckboxComponent, DialogComponent], 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<nol-dialog [title]=\"title()\" (dismissed)=\"answered.emit(null)\">\n @if (cut(); as text) {\n <p class=\"cut\">{{ text }}</p>\n }\n <p class=\"text\">{{ resources.scanText }}</p>\n <div class=\"all-row\"><nol-checkbox class=\"all\" [checked]=\"isAllTicked()\" (checkedChange)=\"tickAll($event)\">{{ resources.tickAllLabel }}</nol-checkbox></div>\n <ul class=\"repositories\">\n @for (repository of repositories(); track repository) {\n <li [title]=\"repository\">\n <nol-checkbox class=\"repository\" [checked]=\"!unticked().has(repository)\" (checkedChange)=\"tick(repository, $event)\">\n <span class=\"label\"><span class=\"name\">{{ nameOf(repository) }}</span>@if (placeOf(repository); as place) {<span class=\"place\">{{ place }}</span>}</span>\n </nol-checkbox>\n </li>\n }\n </ul>\n <button nol-button nolDialogAction type=\"button\" class=\"open\" [disabled]=\"ticked().length === 0\" (click)=\"answered.emit(ticked())\">{{ resources.openLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(null)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\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.cut {\n margin: 0 0 0.5rem;\n color: var(--nol-text-muted);\n}\n\n.text {\n margin: 0;\n}\n\n.all-row {\n display: flex;\n margin-top: 0.5rem;\n}\n\n.repositories {\n --rows: 12;\n display: grid;\n gap: 0.25rem;\n max-height: calc(var(--rows) * (1lh + 0.25rem) - 0.25rem);\n margin: 0.25rem 0 0;\n padding: 0;\n overflow-y: auto;\n list-style: none;\n container-type: inline-size;\n}\n\n.repositories li {\n display: flex;\n min-width: 0;\n}\n\n.repository {\n max-width: 100%;\n}\n\n.label {\n display: block;\n max-width: calc(100cqi - var(--nol-checkbox-size) - var(--nol-space-2));\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.place {\n margin-inline-start: 0.5rem;\n color: var(--nol-text-muted);\n}\n"] }]
61
61
  }], propDecorators: { folder: [{ type: i0.Input, args: [{ isSignal: true, alias: "folder", required: true }] }], repositories: [{ type: i0.Input, args: [{ isSignal: true, alias: "repositories", required: true }] }], end: [{ type: i0.Input, args: [{ isSignal: true, alias: "end", required: false }] }], answered: [{ type: i0.Output, args: ["answered"] }] } });
@@ -17,10 +17,10 @@ export class GitSwitchMergeDialogComponent {
17
17
  drop = input.required(/* @ts-ignore */
18
18
  ...(ngDevMode ? [{ debugName: "drop" }] : /* istanbul ignore next */ []));
19
19
  answered = output();
20
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitSwitchMergeDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.3.0", type: GitSwitchMergeDialogComponent, isStandalone: true, selector: "nol-git-switch-merge-dialog", inputs: { drop: { classPropertyName: "drop", publicName: "drop", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { answered: "answered" }, 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<nol-dialog [title]=\"resources.switchMergeTitle\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ text() }}</p>\n <button nol-button nolDialogAction type=\"button\" class=\"switch-merge\" (click)=\"answered.emit(true)\">{{ resources.switchMergeLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(false)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\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.text {\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: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }] });
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitSwitchMergeDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.3.2", type: GitSwitchMergeDialogComponent, isStandalone: true, selector: "nol-git-switch-merge-dialog", inputs: { drop: { classPropertyName: "drop", publicName: "drop", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { answered: "answered" }, 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<nol-dialog [title]=\"resources.switchMergeTitle\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ text() }}</p>\n <button nol-button nolDialogAction type=\"button\" class=\"switch-merge\" (click)=\"answered.emit(true)\">{{ resources.switchMergeLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(false)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\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.text {\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: DialogComponent, selector: "nol-dialog", inputs: ["title", "size"], outputs: ["dismissed"] }] });
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitSwitchMergeDialogComponent, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitSwitchMergeDialogComponent, decorators: [{
24
24
  type: Component,
25
25
  args: [{ selector: "nol-git-switch-merge-dialog", imports: [ButtonComponent, DialogComponent], 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<nol-dialog [title]=\"resources.switchMergeTitle\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ text() }}</p>\n <button nol-button nolDialogAction type=\"button\" class=\"switch-merge\" (click)=\"answered.emit(true)\">{{ resources.switchMergeLabel }}</button>\n <button nol-button nolDialogAction type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"answered.emit(false)\">{{ resources.cancelLabel }}</button>\n</nol-dialog>\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.text {\n margin: 0;\n}\n"] }]
26
26
  }], propDecorators: { drop: [{ type: i0.Input, args: [{ isSignal: true, alias: "drop", required: true }] }], answered: [{ type: i0.Output, args: ["answered"] }] } });
@@ -48,10 +48,10 @@ export class GitUndoMenuComponent {
48
48
  if (trigger.isOpen() && this.document.activeElement === this.document.body)
49
49
  trigger.openFocusing("mouse");
50
50
  }
51
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitUndoMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
52
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitUndoMenuComponent, isStandalone: true, selector: "nol-git-undo-menu", viewQueries: [{ propertyName: "trigger", first: true, predicate: MenuTriggerDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<button nol-icon-button type=\"button\" class=\"recent\" [icon]=\"resources.historyIcon\" [label]=\"resources.recentActionsLabel\"\n [nolTooltip]=\"resources.recentActionsLabel\" [nolMenuTriggerFor]=\"actions\" (cdkMenuOpened)=\"read()\"></button>\n<ng-template #actions>\n <nol-menu>\n @for (entry of state.recentActions(); track entry.id) {\n <button nol-menu-item [label]=\"labelOf(entry)\" [description]=\"timeOf(entry)\" [value]=\"canUndo(entry) ? resources.undoLabel : null\"\n [disabled]=\"!canUndo(entry) || state.busy()\" (triggered)=\"undo(entry)\"></button>\n } @empty {\n <button nol-menu-item [label]=\"resources.noRecentActions\" [disabled]=\"true\"></button>\n }\n </nol-menu>\n</ng-template>\n", dependencies: [{ 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: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitUndoMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
52
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitUndoMenuComponent, isStandalone: true, selector: "nol-git-undo-menu", viewQueries: [{ propertyName: "trigger", first: true, predicate: MenuTriggerDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<button nol-icon-button type=\"button\" class=\"recent\" [icon]=\"resources.historyIcon\" [label]=\"resources.recentActionsLabel\"\n [nolTooltip]=\"resources.recentActionsLabel\" [nolMenuTriggerFor]=\"actions\" (cdkMenuOpened)=\"read()\"></button>\n<ng-template #actions>\n <nol-menu>\n @for (entry of state.recentActions(); track entry.id) {\n <button nol-menu-item [label]=\"labelOf(entry)\" [description]=\"timeOf(entry)\" [value]=\"canUndo(entry) ? resources.undoLabel : null\"\n [disabled]=\"!canUndo(entry) || state.busy()\" (triggered)=\"undo(entry)\"></button>\n } @empty {\n <button nol-menu-item [label]=\"resources.noRecentActions\" [disabled]=\"true\"></button>\n }\n </nol-menu>\n</ng-template>\n", dependencies: [{ 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: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitUndoMenuComponent, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitUndoMenuComponent, decorators: [{
55
55
  type: Component,
56
56
  args: [{ selector: "nol-git-undo-menu", imports: [IconButtonComponent, MenuComponent, MenuItemComponent, MenuTriggerDirective, 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<button nol-icon-button type=\"button\" class=\"recent\" [icon]=\"resources.historyIcon\" [label]=\"resources.recentActionsLabel\"\n [nolTooltip]=\"resources.recentActionsLabel\" [nolMenuTriggerFor]=\"actions\" (cdkMenuOpened)=\"read()\"></button>\n<ng-template #actions>\n <nol-menu>\n @for (entry of state.recentActions(); track entry.id) {\n <button nol-menu-item [label]=\"labelOf(entry)\" [description]=\"timeOf(entry)\" [value]=\"canUndo(entry) ? resources.undoLabel : null\"\n [disabled]=\"!canUndo(entry) || state.busy()\" (triggered)=\"undo(entry)\"></button>\n } @empty {\n <button nol-menu-item [label]=\"resources.noRecentActions\" [disabled]=\"true\"></button>\n }\n </nol-menu>\n</ng-template>\n" }]
57
57
  }], ctorParameters: () => [], propDecorators: { trigger: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MenuTriggerDirective), { isSignal: true }] }] } });