@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
@@ -166,8 +166,8 @@ export class GitConflictsComponent {
166
166
  }
167
167
  resolve(conflict, resolution, text = null) {
168
168
  const by = GitConflictsComponent.resolvedBy(resolution, this.conflictStates());
169
- void this.state.resolveConflictAsync(conflict.path, resolution, text).then(() => {
170
- if (Object.isNull(this.state.failure()))
169
+ void this.state.resolveConflictAsync(conflict.path, resolution, text).then(isResolved => {
170
+ if (isResolved)
171
171
  GitResolving.record(this.instance(), conflict.path, by);
172
172
  }).catch((error) => this.errors.handleError(error));
173
173
  }
@@ -241,10 +241,10 @@ export class GitConflictsComponent {
241
241
  static lacks(conflict, kinds) {
242
242
  return Object.isNull(conflict) || kinds.has(conflict.kind);
243
243
  }
244
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitConflictsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
245
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitConflictsComponent, isStandalone: true, selector: "nol-git-conflicts", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, providers: [GitViewStateService], viewQueries: [{ propertyName: "editor", first: true, predicate: MergeEditorComponent, 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@if (status(); as status) {\n @if (resolving()) {\n <div class=\"operation\" role=\"status\">\n <span class=\"operation-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n @if (status.operation; as operation) {\n <span class=\"operation-text\"><span class=\"strong\">{{ operationText(operation, status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n <span class=\"operation-actions\">\n <button nol-button type=\"button\" class=\"abort\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"abort()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.abortOperationIcon }}</span>{{ resources.abortLabels[operation.kind] }}</button>\n <button nol-button type=\"button\" class=\"continue\" [disabled]=\"state.busy() || conflicted().length > 0\" (click)=\"continue()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.continueOperationIcon }}</span>{{ resources.continueLabels[operation.kind] }}</button>\n </span>\n } @else {\n <span class=\"operation-text\"><span class=\"strong\">{{ resources.formatLooseConflicts(status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n }\n </div>\n @if (state.failure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"body\">\n <nav class=\"files\" [attr.aria-label]=\"resources.conflictFilesLabel\">\n <h2 class=\"group\"><span>{{ resources.groupTitles.Conflicts }}</span>&ngsp;<span class=\"count\">{{ conflicted().length }}</span></h2>\n @for (path of conflicted(); track path) {\n <button type=\"button\" class=\"file conflicted\" [class.selected]=\"path === current()\" [attr.aria-current]=\"path === current() ? 'true' : null\" [title]=\"path\"\n (click)=\"pick(path)\">\n <span class=\"file-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.conflictIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n @if (path === current() && fileProgress().length > 0) {\n <span class=\"note progress\">{{ fileProgress() }}</span>\n }\n </button>\n }\n @if (resolved().length > 0) {\n <h2 class=\"group\"><span>{{ resources.resolvedTitle }}</span>&ngsp;<span class=\"count\">{{ resolved().length }}</span></h2>\n @for (item of resolved(); track item.path) {\n <div class=\"file resolved\" [title]=\"item.path\">\n <span class=\"file-icon ok material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resolvedIcon }}</span><span class=\"name\">{{ nameOf(item.path) }}</span><span\n class=\"folder\">{{ folderOf(item.path) }}</span><span class=\"note\">{{ item.note }}</span>\n </div>\n }\n }\n @let clean = cleanOf(status);\n @if (clean.length > 0) {\n <h2 class=\"group\"><span>{{ resources.mergedCleanlyTitle }}</span>&ngsp;<span class=\"count\">{{ clean.length }}</span></h2>\n @let hidden = hiddenOf(clean);\n @for (path of clean.slice(0, clean.length - hidden); track path) {\n <div class=\"file clean\" [title]=\"path\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.cleanFileIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n </div>\n }\n @if (hidden > 0) {\n <button type=\"button\" class=\"file more\" (click)=\"showsAllClean.set(true)\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moreIcon }}</span><span class=\"name\">{{ resources.formatMoreCleanFiles(hidden) }}</span>\n </button>\n }\n }\n </nav>\n <main class=\"sides\" [attr.aria-label]=\"current() ?? resources.conflictsTitle\">\n @if (conflict(); as conflict) {\n @if (conflict.reused) {\n <p class=\"note-line\" role=\"note\">{{ resources.reusedNote }}</p>\n }\n @if (conflict.binary) {\n <p class=\"note-line\" role=\"note\">{{ resources.binaryNote }}</p>\n }\n @if (merges()) {\n <noldova-merge-editor #editor class=\"merge\" [base]=\"conflict.base\" [ours]=\"conflict.ours\" [theirs]=\"conflict.theirs\" [merged]=\"conflict.merged\"\n [oursLabel]=\"conflict.oursLabel\" [theirsLabel]=\"conflict.theirsLabel\" [readOnly]=\"state.busy()\" [toolbar]=\"false\" [panels]=\"true\" [showBase]=\"showsBase()\" [language]=\"language()\"\n (conflictsChange)=\"conflictStates.set($event.toArray()); conflictCount.set($event.count()); unresolved.set(editor.result() === null ? null : editor.unresolvedCount())\"\n (markersFailed)=\"unresolved.set(null)\">\n <div nolMergeOursHead class=\"pane-head ours\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n </div>\n <div nolMergeTheirsHead class=\"pane-head theirs\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n </div>\n <div nolMergeBaseHead class=\"pane-head base-pane\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.baseIcon }}</span><span class=\"strong\">{{ resources.baseTitle }}</span><span\n class=\"muted label\">{{ resources.baseNote }}</span>\n </div>\n <div nolMergeResultHead class=\"pane-head result\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resultIcon }}</span><span class=\"strong\">{{ resources.resultLabel }}</span><span\n class=\"muted label\">{{ resultNote() }}</span>\n <button nol-toolbar-button type=\"button\" class=\"show-base\" [label]=\"resources.showBaseLabel\" [pressed]=\"showsBase()\" (click)=\"showsBase.set(!showsBase())\"></button>\n <button nol-toolbar-button type=\"button\" class=\"previous\" [icon]=\"resources.previousConflictIcon\" [label]=\"resources.previousConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.previousConflict()\"></button>\n <button nol-toolbar-button type=\"button\" class=\"next\" [icon]=\"resources.nextConflictIcon\" [label]=\"resources.nextConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.nextConflict()\"></button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"state.busy() || unresolved() !== 0\"\n (click)=\"resolve(conflict, resolutions.Text, editor.result())\">{{ resources.markResolvedLabel }}</button>\n </div>\n </noldova-merge-editor>\n @if (markersUnreadable()) {\n <div class=\"merge-actions\">\n <button nol-button type=\"button\" class=\"take-ours\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\">{{ resources.takeOursLabel }}</button>\n <button nol-button type=\"button\" class=\"take-theirs\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\">{{ resources.takeTheirsLabel }}</button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"true\">{{ resources.markResolvedLabel }}</button>\n </div>\n }\n } @else {\n <div class=\"panes\">\n <section class=\"pane ours\" [attr.aria-label]=\"resources.oursLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasOurs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n }\n </div>\n @if (!hasOurs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.ours !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.ours\" [language]=\"language()\" />\n }\n </section>\n <section class=\"pane theirs\" [attr.aria-label]=\"resources.theirsLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasTheirs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n }\n </div>\n @if (!hasTheirs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.theirs !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.theirs\" [language]=\"language()\" />\n }\n </section>\n </div>\n @if (!hasOurs() || !hasTheirs()) {\n <div class=\"whole-file\">\n <button nol-button type=\"button\" class=\"delete\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Delete)\">{{ resources.deleteFileLabel }}</button>\n </div>\n }\n }\n } @else if (readFailure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n } @else if (conflicted().length === 0) {\n <p class=\"quiet\">{{ resources.formatConflictText(0) }}</p>\n }\n </main>\n </div>\n } @else {\n <p class=\"quiet\">{{ resources.noOperation }}</p>\n }\n} @else if (state.folder() !== instance()) {\n <p class=\"quiet\">{{ resources.otherFolderNote }}</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 --ours: var(--nol-author-3);\n --theirs: var(--nol-author-5);\n\n display: flex;\n container-type: inline-size;\n flex-direction: column;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.operation {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: 0.75rem;\n align-items: center;\n padding: 0.5rem 0.75rem;\n border: var(--nol-border-width) solid color-mix(in srgb, var(--nol-warning) 45%, transparent);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.operation-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n margin-left: auto;\n}\n\n.operation-icon,\n.file-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.clean .file-icon {\n color: var(--nol-icon-color);\n}\n\n.operation-text {\n flex: 1 1 10rem;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.body {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: 15rem minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.files,\n.pane {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: auto;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.files {\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.group {\n display: flex;\n align-items: center;\n height: 1.625rem;\n margin: 0;\n padding: 0 0.5rem;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n.group > .count {\n margin-inline-start: auto;\n}\n\n.group:not(:first-child) {\n margin-top: 0.5rem;\n}\n\n.file {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.file {\n cursor: pointer;\n}\n\nbutton.file:hover {\n background-color: var(--nol-hover);\n}\n\n.file.selected,\n.file.selected:hover {\n background-color: var(--nol-selected);\n}\n\n.name {\n flex: 0 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.folder {\n flex: 1 1 0;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-overflow: ellipsis;\n}\n\n.note {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.file.more,\n.file.more .file-icon {\n color: var(--nol-text-muted);\n}\n\n.sides {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n min-width: 0;\n min-height: 0;\n}\n\n.panes {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.pane-head {\n display: flex;\n box-sizing: border-box;\n flex: none;\n flex-wrap: wrap;\n gap: 0.25rem 0.5rem;\n align-items: center;\n min-height: 2rem;\n padding: 0.125rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.pane-head > [nol-toolbar-button]:last-child {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.bar {\n flex: none;\n width: 0.1875rem;\n height: 1rem;\n border-radius: 0.125rem;\n}\n\n.ours .bar {\n background-color: var(--ours);\n}\n\n.theirs .bar {\n background-color: var(--theirs);\n}\n\n.label {\n flex: 1 1 4rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label + * {\n margin-left: auto;\n}\n\n.side-label {\n display: flex;\n min-width: 5.5rem;\n}\n\n.side-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.side-commit {\n flex: none;\n white-space: pre;\n}\n\n.code {\n flex: 1 1 auto;\n margin: 0;\n padding: 0.25rem 0.75rem;\n overflow: auto;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: 0.8125rem;\n line-height: 1.25rem;\n}\n\n.pane-note,\n.note-line,\n.quiet,\n.failure {\n margin: 0;\n padding: 0.5rem 0.75rem;\n}\n\n.pane-note,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.note-line {\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n@container (max-width: 60rem) {\n .body {\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: max-content;\n overflow: auto;\n }\n\n .files {\n overflow: visible;\n }\n\n .sides {\n height: 22rem;\n }\n}\n\n.merge-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.merge {\n --nol-merge-editor-gap: 0.25rem;\n\n flex: 1 1 auto;\n order: 1;\n min-height: 0;\n}\n\n.pane-icon {\n flex: none;\n color: var(--nol-icon-color);\n font-size: 1rem;\n}\n\n.whole-file {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CodeTextComponent, selector: "noldova-code-text", inputs: ["text", "language"] }, { kind: "component", type: MergeEditorComponent, selector: "noldova-merge-editor", inputs: ["base", "ours", "theirs", "merged", "language", "oursLabel", "theirsLabel", "readOnly", "toolbar", "panels", "showBase"], outputs: ["resultChange", "conflictsChange", "activeConflictChange", "markersFailed", "keySequencePending"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }] });
244
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitConflictsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
245
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitConflictsComponent, isStandalone: true, selector: "nol-git-conflicts", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, providers: [GitViewStateService], viewQueries: [{ propertyName: "editor", first: true, predicate: MergeEditorComponent, 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@if (status(); as status) {\n @if (resolving()) {\n <div class=\"operation\" role=\"status\">\n <span class=\"operation-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n @if (status.operation; as operation) {\n <span class=\"operation-text\"><span class=\"strong\">{{ operationText(operation, status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n <span class=\"operation-actions\">\n <button nol-button type=\"button\" class=\"abort\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"abort()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.abortOperationIcon }}</span>{{ resources.abortLabels[operation.kind] }}</button>\n <button nol-button type=\"button\" class=\"continue\" [disabled]=\"state.busy() || conflicted().length > 0\" (click)=\"continue()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.continueOperationIcon }}</span>{{ resources.continueLabels[operation.kind] }}</button>\n </span>\n } @else {\n <span class=\"operation-text\"><span class=\"strong\">{{ resources.formatLooseConflicts(status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n }\n </div>\n @if (state.failure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"body\">\n <nav class=\"files\" [attr.aria-label]=\"resources.conflictFilesLabel\">\n <h2 class=\"group\"><span>{{ resources.groupTitles.Conflicts }}</span>&ngsp;<span class=\"count\">{{ conflicted().length }}</span></h2>\n @for (path of conflicted(); track path) {\n <button type=\"button\" class=\"file conflicted\" [class.selected]=\"path === current()\" [attr.aria-current]=\"path === current() ? 'true' : null\" [title]=\"path\"\n (click)=\"pick(path)\">\n <span class=\"file-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.conflictIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n @if (path === current() && fileProgress().length > 0) {\n <span class=\"note progress\">{{ fileProgress() }}</span>\n }\n </button>\n }\n @if (resolved().length > 0) {\n <h2 class=\"group\"><span>{{ resources.resolvedTitle }}</span>&ngsp;<span class=\"count\">{{ resolved().length }}</span></h2>\n @for (item of resolved(); track item.path) {\n <div class=\"file resolved\" [title]=\"item.path\">\n <span class=\"file-icon ok material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resolvedIcon }}</span><span class=\"name\">{{ nameOf(item.path) }}</span><span\n class=\"folder\">{{ folderOf(item.path) }}</span><span class=\"note\">{{ item.note }}</span>\n </div>\n }\n }\n @let clean = cleanOf(status);\n @if (clean.length > 0) {\n <h2 class=\"group\"><span>{{ resources.mergedCleanlyTitle }}</span>&ngsp;<span class=\"count\">{{ clean.length }}</span></h2>\n @let hidden = hiddenOf(clean);\n @for (path of clean.slice(0, clean.length - hidden); track path) {\n <div class=\"file clean\" [title]=\"path\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.cleanFileIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n </div>\n }\n @if (hidden > 0) {\n <button type=\"button\" class=\"file more\" (click)=\"showsAllClean.set(true)\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moreIcon }}</span><span class=\"name\">{{ resources.formatMoreCleanFiles(hidden) }}</span>\n </button>\n }\n }\n </nav>\n <main class=\"sides\" [attr.aria-label]=\"current() ?? resources.conflictsTitle\">\n @if (conflict(); as conflict) {\n @if (conflict.reused) {\n <p class=\"note-line\" role=\"note\">{{ resources.reusedNote }}</p>\n }\n @if (conflict.binary) {\n <p class=\"note-line\" role=\"note\">{{ resources.binaryNote }}</p>\n }\n @if (merges()) {\n <noldova-merge-editor #editor class=\"merge\" [base]=\"conflict.base\" [ours]=\"conflict.ours\" [theirs]=\"conflict.theirs\" [merged]=\"conflict.merged\"\n [oursLabel]=\"conflict.oursLabel\" [theirsLabel]=\"conflict.theirsLabel\" [readOnly]=\"state.busy()\" [toolbar]=\"false\" [panels]=\"true\" [showBase]=\"showsBase()\" [language]=\"language()\"\n (conflictsChange)=\"conflictStates.set($event.toArray()); conflictCount.set($event.count()); unresolved.set(editor.result() === null ? null : editor.unresolvedCount())\"\n (markersFailed)=\"unresolved.set(null)\">\n <div nolMergeOursHead class=\"pane-head ours\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n </div>\n <div nolMergeTheirsHead class=\"pane-head theirs\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n </div>\n <div nolMergeBaseHead class=\"pane-head base-pane\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.baseIcon }}</span><span class=\"strong\">{{ resources.baseTitle }}</span><span\n class=\"muted label\">{{ resources.baseNote }}</span>\n </div>\n <div nolMergeResultHead class=\"pane-head result\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resultIcon }}</span><span class=\"strong\">{{ resources.resultLabel }}</span><span\n class=\"muted label\">{{ resultNote() }}</span>\n <button nol-toolbar-button type=\"button\" class=\"show-base\" [label]=\"resources.showBaseLabel\" [pressed]=\"showsBase()\" (click)=\"showsBase.set(!showsBase())\"></button>\n <button nol-toolbar-button type=\"button\" class=\"previous\" [icon]=\"resources.previousConflictIcon\" [label]=\"resources.previousConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.previousConflict()\"></button>\n <button nol-toolbar-button type=\"button\" class=\"next\" [icon]=\"resources.nextConflictIcon\" [label]=\"resources.nextConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.nextConflict()\"></button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"state.busy() || unresolved() !== 0\"\n (click)=\"resolve(conflict, resolutions.Text, editor.result())\">{{ resources.markResolvedLabel }}</button>\n </div>\n </noldova-merge-editor>\n @if (markersUnreadable()) {\n <div class=\"merge-actions\">\n <button nol-button type=\"button\" class=\"take-ours\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\">{{ resources.takeOursLabel }}</button>\n <button nol-button type=\"button\" class=\"take-theirs\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\">{{ resources.takeTheirsLabel }}</button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"true\">{{ resources.markResolvedLabel }}</button>\n </div>\n }\n } @else {\n <div class=\"panes\">\n <section class=\"pane ours\" [attr.aria-label]=\"resources.oursLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasOurs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n }\n </div>\n @if (!hasOurs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.ours !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.ours\" [language]=\"language()\" />\n }\n </section>\n <section class=\"pane theirs\" [attr.aria-label]=\"resources.theirsLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasTheirs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n }\n </div>\n @if (!hasTheirs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.theirs !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.theirs\" [language]=\"language()\" />\n }\n </section>\n </div>\n @if (!hasOurs() || !hasTheirs()) {\n <div class=\"whole-file\">\n <button nol-button type=\"button\" class=\"delete\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Delete)\">{{ resources.deleteFileLabel }}</button>\n </div>\n }\n }\n } @else if (readFailure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n } @else if (conflicted().length === 0) {\n <p class=\"quiet\">{{ resources.formatConflictText(0) }}</p>\n }\n </main>\n </div>\n } @else {\n <p class=\"quiet\">{{ resources.noOperation }}</p>\n }\n} @else if (state.folder() !== instance()) {\n <p class=\"quiet\">{{ resources.otherFolderNote }}</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 --ours: var(--nol-author-3);\n --theirs: var(--nol-author-5);\n\n display: flex;\n container-type: inline-size;\n flex-direction: column;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.operation {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: 0.75rem;\n align-items: center;\n padding: 0.5rem 0.75rem;\n border: var(--nol-border-width) solid color-mix(in srgb, var(--nol-warning) 45%, transparent);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.operation-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n margin-left: auto;\n}\n\n.operation-icon,\n.file-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.clean .file-icon {\n color: var(--nol-icon-color);\n}\n\n.operation-text {\n flex: 1 1 10rem;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.body {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: 15rem minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.files,\n.pane {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: auto;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.files {\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.group {\n display: flex;\n align-items: center;\n height: 1.625rem;\n margin: 0;\n padding: 0 0.5rem;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n.group > .count {\n margin-inline-start: auto;\n}\n\n.group:not(:first-child) {\n margin-top: 0.5rem;\n}\n\n.file {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.file {\n cursor: pointer;\n}\n\nbutton.file:hover {\n background-color: var(--nol-hover);\n}\n\n.file.selected,\n.file.selected:hover {\n background-color: var(--nol-selected);\n}\n\n.name {\n flex: 0 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.folder {\n flex: 1 1 0;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-overflow: ellipsis;\n}\n\n.note {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.file.more,\n.file.more .file-icon {\n color: var(--nol-text-muted);\n}\n\n.sides {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n min-width: 0;\n min-height: 0;\n}\n\n.panes {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.pane-head {\n display: flex;\n box-sizing: border-box;\n flex: none;\n flex-wrap: wrap;\n gap: 0.25rem 0.5rem;\n align-items: center;\n min-height: 2rem;\n padding: 0.125rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.pane-head > [nol-toolbar-button]:last-child {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.bar {\n flex: none;\n width: 0.1875rem;\n height: 1rem;\n border-radius: 0.125rem;\n}\n\n.ours .bar {\n background-color: var(--ours);\n}\n\n.theirs .bar {\n background-color: var(--theirs);\n}\n\n.label {\n flex: 1 1 4rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label + * {\n margin-left: auto;\n}\n\n.side-label {\n display: flex;\n min-width: 5.5rem;\n}\n\n.side-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.side-commit {\n flex: none;\n white-space: pre;\n}\n\n.code {\n flex: 1 1 auto;\n margin: 0;\n padding: 0.25rem 0.75rem;\n overflow: auto;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: 0.8125rem;\n line-height: 1.25rem;\n}\n\n.pane-note,\n.note-line,\n.quiet,\n.failure {\n margin: 0;\n padding: 0.5rem 0.75rem;\n}\n\n.pane-note,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.note-line {\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n@container (max-width: 60rem) {\n .body {\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: max-content;\n overflow: auto;\n }\n\n .files {\n overflow: visible;\n }\n\n .sides {\n height: 22rem;\n }\n}\n\n.merge-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.merge {\n --nol-merge-editor-gap: 0.25rem;\n\n flex: 1 1 auto;\n order: 1;\n min-height: 0;\n}\n\n.pane-icon {\n flex: none;\n color: var(--nol-icon-color);\n font-size: 1rem;\n}\n\n.whole-file {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CodeTextComponent, selector: "noldova-code-text", inputs: ["text", "language"] }, { kind: "component", type: MergeEditorComponent, selector: "noldova-merge-editor", inputs: ["base", "ours", "theirs", "merged", "language", "oursLabel", "theirsLabel", "readOnly", "toolbar", "panels", "showBase"], outputs: ["resultChange", "conflictsChange", "activeConflictChange", "markersFailed", "keySequencePending"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }] });
246
246
  }
247
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitConflictsComponent, decorators: [{
247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitConflictsComponent, decorators: [{
248
248
  type: Component,
249
249
  args: [{ selector: "nol-git-conflicts", imports: [ButtonComponent, CodeTextComponent, MergeEditorComponent, ToolbarButtonComponent], providers: [GitViewStateService], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (status(); as status) {\n @if (resolving()) {\n <div class=\"operation\" role=\"status\">\n <span class=\"operation-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n @if (status.operation; as operation) {\n <span class=\"operation-text\"><span class=\"strong\">{{ operationText(operation, status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n <span class=\"operation-actions\">\n <button nol-button type=\"button\" class=\"abort\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"abort()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.abortOperationIcon }}</span>{{ resources.abortLabels[operation.kind] }}</button>\n <button nol-button type=\"button\" class=\"continue\" [disabled]=\"state.busy() || conflicted().length > 0\" (click)=\"continue()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.continueOperationIcon }}</span>{{ resources.continueLabels[operation.kind] }}</button>\n </span>\n } @else {\n <span class=\"operation-text\"><span class=\"strong\">{{ resources.formatLooseConflicts(status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n }\n </div>\n @if (state.failure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"body\">\n <nav class=\"files\" [attr.aria-label]=\"resources.conflictFilesLabel\">\n <h2 class=\"group\"><span>{{ resources.groupTitles.Conflicts }}</span>&ngsp;<span class=\"count\">{{ conflicted().length }}</span></h2>\n @for (path of conflicted(); track path) {\n <button type=\"button\" class=\"file conflicted\" [class.selected]=\"path === current()\" [attr.aria-current]=\"path === current() ? 'true' : null\" [title]=\"path\"\n (click)=\"pick(path)\">\n <span class=\"file-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.conflictIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n @if (path === current() && fileProgress().length > 0) {\n <span class=\"note progress\">{{ fileProgress() }}</span>\n }\n </button>\n }\n @if (resolved().length > 0) {\n <h2 class=\"group\"><span>{{ resources.resolvedTitle }}</span>&ngsp;<span class=\"count\">{{ resolved().length }}</span></h2>\n @for (item of resolved(); track item.path) {\n <div class=\"file resolved\" [title]=\"item.path\">\n <span class=\"file-icon ok material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resolvedIcon }}</span><span class=\"name\">{{ nameOf(item.path) }}</span><span\n class=\"folder\">{{ folderOf(item.path) }}</span><span class=\"note\">{{ item.note }}</span>\n </div>\n }\n }\n @let clean = cleanOf(status);\n @if (clean.length > 0) {\n <h2 class=\"group\"><span>{{ resources.mergedCleanlyTitle }}</span>&ngsp;<span class=\"count\">{{ clean.length }}</span></h2>\n @let hidden = hiddenOf(clean);\n @for (path of clean.slice(0, clean.length - hidden); track path) {\n <div class=\"file clean\" [title]=\"path\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.cleanFileIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n </div>\n }\n @if (hidden > 0) {\n <button type=\"button\" class=\"file more\" (click)=\"showsAllClean.set(true)\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moreIcon }}</span><span class=\"name\">{{ resources.formatMoreCleanFiles(hidden) }}</span>\n </button>\n }\n }\n </nav>\n <main class=\"sides\" [attr.aria-label]=\"current() ?? resources.conflictsTitle\">\n @if (conflict(); as conflict) {\n @if (conflict.reused) {\n <p class=\"note-line\" role=\"note\">{{ resources.reusedNote }}</p>\n }\n @if (conflict.binary) {\n <p class=\"note-line\" role=\"note\">{{ resources.binaryNote }}</p>\n }\n @if (merges()) {\n <noldova-merge-editor #editor class=\"merge\" [base]=\"conflict.base\" [ours]=\"conflict.ours\" [theirs]=\"conflict.theirs\" [merged]=\"conflict.merged\"\n [oursLabel]=\"conflict.oursLabel\" [theirsLabel]=\"conflict.theirsLabel\" [readOnly]=\"state.busy()\" [toolbar]=\"false\" [panels]=\"true\" [showBase]=\"showsBase()\" [language]=\"language()\"\n (conflictsChange)=\"conflictStates.set($event.toArray()); conflictCount.set($event.count()); unresolved.set(editor.result() === null ? null : editor.unresolvedCount())\"\n (markersFailed)=\"unresolved.set(null)\">\n <div nolMergeOursHead class=\"pane-head ours\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n </div>\n <div nolMergeTheirsHead class=\"pane-head theirs\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n </div>\n <div nolMergeBaseHead class=\"pane-head base-pane\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.baseIcon }}</span><span class=\"strong\">{{ resources.baseTitle }}</span><span\n class=\"muted label\">{{ resources.baseNote }}</span>\n </div>\n <div nolMergeResultHead class=\"pane-head result\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resultIcon }}</span><span class=\"strong\">{{ resources.resultLabel }}</span><span\n class=\"muted label\">{{ resultNote() }}</span>\n <button nol-toolbar-button type=\"button\" class=\"show-base\" [label]=\"resources.showBaseLabel\" [pressed]=\"showsBase()\" (click)=\"showsBase.set(!showsBase())\"></button>\n <button nol-toolbar-button type=\"button\" class=\"previous\" [icon]=\"resources.previousConflictIcon\" [label]=\"resources.previousConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.previousConflict()\"></button>\n <button nol-toolbar-button type=\"button\" class=\"next\" [icon]=\"resources.nextConflictIcon\" [label]=\"resources.nextConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.nextConflict()\"></button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"state.busy() || unresolved() !== 0\"\n (click)=\"resolve(conflict, resolutions.Text, editor.result())\">{{ resources.markResolvedLabel }}</button>\n </div>\n </noldova-merge-editor>\n @if (markersUnreadable()) {\n <div class=\"merge-actions\">\n <button nol-button type=\"button\" class=\"take-ours\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\">{{ resources.takeOursLabel }}</button>\n <button nol-button type=\"button\" class=\"take-theirs\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\">{{ resources.takeTheirsLabel }}</button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"true\">{{ resources.markResolvedLabel }}</button>\n </div>\n }\n } @else {\n <div class=\"panes\">\n <section class=\"pane ours\" [attr.aria-label]=\"resources.oursLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasOurs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n }\n </div>\n @if (!hasOurs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.ours !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.ours\" [language]=\"language()\" />\n }\n </section>\n <section class=\"pane theirs\" [attr.aria-label]=\"resources.theirsLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasTheirs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n }\n </div>\n @if (!hasTheirs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.theirs !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.theirs\" [language]=\"language()\" />\n }\n </section>\n </div>\n @if (!hasOurs() || !hasTheirs()) {\n <div class=\"whole-file\">\n <button nol-button type=\"button\" class=\"delete\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Delete)\">{{ resources.deleteFileLabel }}</button>\n </div>\n }\n }\n } @else if (readFailure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n } @else if (conflicted().length === 0) {\n <p class=\"quiet\">{{ resources.formatConflictText(0) }}</p>\n }\n </main>\n </div>\n } @else {\n <p class=\"quiet\">{{ resources.noOperation }}</p>\n }\n} @else if (state.folder() !== instance()) {\n <p class=\"quiet\">{{ resources.otherFolderNote }}</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 --ours: var(--nol-author-3);\n --theirs: var(--nol-author-5);\n\n display: flex;\n container-type: inline-size;\n flex-direction: column;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.operation {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: 0.75rem;\n align-items: center;\n padding: 0.5rem 0.75rem;\n border: var(--nol-border-width) solid color-mix(in srgb, var(--nol-warning) 45%, transparent);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.operation-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n margin-left: auto;\n}\n\n.operation-icon,\n.file-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.clean .file-icon {\n color: var(--nol-icon-color);\n}\n\n.operation-text {\n flex: 1 1 10rem;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.body {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: 15rem minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.files,\n.pane {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: auto;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.files {\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.group {\n display: flex;\n align-items: center;\n height: 1.625rem;\n margin: 0;\n padding: 0 0.5rem;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n.group > .count {\n margin-inline-start: auto;\n}\n\n.group:not(:first-child) {\n margin-top: 0.5rem;\n}\n\n.file {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.file {\n cursor: pointer;\n}\n\nbutton.file:hover {\n background-color: var(--nol-hover);\n}\n\n.file.selected,\n.file.selected:hover {\n background-color: var(--nol-selected);\n}\n\n.name {\n flex: 0 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.folder {\n flex: 1 1 0;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-overflow: ellipsis;\n}\n\n.note {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.file.more,\n.file.more .file-icon {\n color: var(--nol-text-muted);\n}\n\n.sides {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n min-width: 0;\n min-height: 0;\n}\n\n.panes {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.pane-head {\n display: flex;\n box-sizing: border-box;\n flex: none;\n flex-wrap: wrap;\n gap: 0.25rem 0.5rem;\n align-items: center;\n min-height: 2rem;\n padding: 0.125rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.pane-head > [nol-toolbar-button]:last-child {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.bar {\n flex: none;\n width: 0.1875rem;\n height: 1rem;\n border-radius: 0.125rem;\n}\n\n.ours .bar {\n background-color: var(--ours);\n}\n\n.theirs .bar {\n background-color: var(--theirs);\n}\n\n.label {\n flex: 1 1 4rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label + * {\n margin-left: auto;\n}\n\n.side-label {\n display: flex;\n min-width: 5.5rem;\n}\n\n.side-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.side-commit {\n flex: none;\n white-space: pre;\n}\n\n.code {\n flex: 1 1 auto;\n margin: 0;\n padding: 0.25rem 0.75rem;\n overflow: auto;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: 0.8125rem;\n line-height: 1.25rem;\n}\n\n.pane-note,\n.note-line,\n.quiet,\n.failure {\n margin: 0;\n padding: 0.5rem 0.75rem;\n}\n\n.pane-note,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.note-line {\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n@container (max-width: 60rem) {\n .body {\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: max-content;\n overflow: auto;\n }\n\n .files {\n overflow: visible;\n }\n\n .sides {\n height: 22rem;\n }\n}\n\n.merge-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.merge {\n --nol-merge-editor-gap: 0.25rem;\n\n flex: 1 1 auto;\n order: 1;\n min-height: 0;\n}\n\n.pane-icon {\n flex: none;\n color: var(--nol-icon-color);\n font-size: 1rem;\n}\n\n.whole-file {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
250
250
  }], ctorParameters: () => [], propDecorators: { editor: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MergeEditorComponent), { isSignal: true }] }], instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
@@ -1 +1 @@
1
- {"version":3,"file":"git-conflicts.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-conflicts/git-conflicts.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-conflicts/git-conflicts.component.html"],"names":[],"mappings":"AAAA;;;;;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IAAI,CAAC,KAAK,IAAI,CAAC,iBAAiB;YAChD,OAAO;QACT,IAAI,CAAC,iBAAiB,GAAG,IAAI,EAAE,GAAG,IAAI,IAAI,CAAC;QAC3C,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC5B,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;YACrB,OAAO;QACT,IAAI,CAAC;YACH,MAAM,UAAU,GAAkB,MAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YACrG,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,CAAC,iBAAiB;gBACrC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAC9C,CAAC;QACD,MAAM,CAAC;QACP,CAAC;IACH,CAAC;IAEO,MAAM,CAAC,KAAK,CAAC,QAA4B,EAAE,KAAgC;QACjF,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;uGAhNU,qBAAqB;2FAArB,qBAAqB,4MAJrB,CAAC,mBAAmB,CAAC,kEA8D8C,oBAAoB,gECjGpG,kxXA4JA,smLD1HY,eAAe,oJAAE,iBAAiB,4FAAE,oBAAoB,iTAAE,sBAAsB;;2FAK/E,qBAAqB;kBAPjC,SAAS;+BACE,mBAAmB,WACpB,CAAC,eAAe,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,sBAAsB,CAAC,aAChF,CAAC,mBAAmB,CAAC;kHA8D8C,oBAAoB"}
1
+ {"version":3,"file":"git-conflicts.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-conflicts/git-conflicts.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-conflicts/git-conflicts.component.html"],"names":[],"mapp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ChD,OAAO;QACT,IAAI,CAAC,iBAAiB,GAAG,IAAI,EAAE,GAAG,IAAI,IAAI,CAAC;QAC3C,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC5B,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;YACrB,OAAO;QACT,IAAI,CAAC;YACH,MAAM,UAAU,GAAkB,MAAM,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YACrG,IAAI,IAAI,CAAC,GAAG,KAAK,IAAI,CAAC,iBAAiB;gBACrC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAC9C,CAAC;QACD,MAAM,CAAC;QACP,CAAC;IACH,CAAC;IAEO,MAAM,CAAC,KAAK,CAAC,QAA4B,EAAE,KAAgC;QACjF,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;uGAhNU,qBAAqB;2FAArB,qBAAqB,4MAJrB,CAAC,mBAAmB,CAAC,kEA8D8C,oBAAoB,gECjGpG,kxXA4JA,smLD1HY,eAAe,oJAAE,iBAAiB,4FAAE,oBAAoB,iTAAE,sBAAsB;;2FAK/E,qBAAqB;kBAPjC,SAAS;+BACE,mBAAmB,WACpB,CAAC,eAAe,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,sBAAsB,CAAC,aAChF,CAAC,mBAAmB,CAAC;kHA8D8C,oBAAoB"}
@@ -14,13 +14,13 @@ import { GitWorkspaceComponent } from "../git-workspace/git-workspace.component.
14
14
  import * as i0 from "@angular/core";
15
15
  export class GitDashboardComponent {
16
16
  instance = Resources.openRepositoriesInstance;
17
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitDashboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.3.0", type: GitDashboardComponent, isStandalone: true, selector: "nol-git-dashboard", providers: [
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitDashboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.3.2", type: GitDashboardComponent, isStandalone: true, selector: "nol-git-dashboard", providers: [
19
19
  { provide: WindowPartTokens.context, useFactory: () => GitWindowContext.current() },
20
20
  { provide: WindowPartTokens.activeDocument, useValue: signal(true) }
21
21
  ], 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-git-workspace [instance]=\"instance\" />\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 height: 100%;\n min-height: 0;\n}\n"], dependencies: [{ kind: "component", type: GitWorkspaceComponent, selector: "nol-git-workspace", inputs: ["instance"] }] });
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitDashboardComponent, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitDashboardComponent, decorators: [{
24
24
  type: Component,
25
25
  args: [{ selector: "nol-git-dashboard", imports: [GitWorkspaceComponent], providers: [
26
26
  { provide: WindowPartTokens.context, useFactory: () => GitWindowContext.current() },
@@ -171,10 +171,10 @@ export class GitDiffFilesComponent {
171
171
  this.failure.set(GitRuntimeClient.failureOf(error)?.message ?? Resources.historyFailed);
172
172
  }
173
173
  }
174
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitDiffFilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
175
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitDiffFilesComponent, isStandalone: true, selector: "nol-git-diff-files", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, scope: { classPropertyName: "scope", publicName: "scope", isSignal: true, isRequired: true, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, 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 (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n} @else if (diff(); as diff) {\n <div class=\"files\">\n <nol-section-header [label]=\"resources.formatFilesChanged(totals().files)\" [level]=\"3\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <span nolSectionHeaderDetail class=\"totals\"><span class=\"added\">{{ resources.addedPrefix }}{{ totals().added }}</span>\n <span class=\"removed\">{{ resources.removedSign }}{{ totals().removed }}</span></span>\n @if (chosen(); as layout) {\n <nol-git-file-layout-button nolSectionHeaderAction class=\"layout\" [layout]=\"layout\" />\n }\n </nol-section-header>\n @for (row of rows(); track row.key + row.isFolder) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"file-row folder\" [title]=\"row.key\" [attr.aria-expanded]=\"!closed().has(row.key)\" [style.padding-inline-start.rem]=\"insetOf(row.depth)\"\n (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ closed().has(row.key) ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"grow ellipsis\">{{ row.name }}</span>\n </button>\n } @else {\n @let isOpen = open().has(row.key);\n <button type=\"button\" class=\"file-row\" [class.open]=\"isOpen\" [title]=\"titleOf(row)\" [attr.aria-expanded]=\"isOpen\" [style.padding-inline-start.rem]=\"insetOf(row.depth)\"\n (click)=\"toggleFile(row.key)\">\n <nol-file-badge [fileName]=\"row.name\" />\n <span class=\"grow ellipsis\">{{ row.name }}@if (row.from.length > 0) {<span class=\"muted\">{{ resources.formatMovedFrom(nameOf(row.from)) }}</span>}</span>\n @if (row.added !== null && row.added > 0) {\n <span class=\"small added\">{{ resources.addedPrefix }}{{ row.added }}</span>\n }\n @if (row.removed !== null && row.removed > 0) {\n <span class=\"small removed\">{{ resources.removedSign }}{{ row.removed }}</span>\n }\n <span class=\"small muted letter\">{{ row.letter }}</span>\n </button>\n @if (isOpen) {\n <div class=\"diff\" [style.margin-inline-start.rem]=\"diffInsetOf(row.depth)\">\n @let codes = openCodes().get(row.key) ?? [];\n @for (line of openLines().get(row.key) ?? []; track $index) {\n <div [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\"\n [class.meta-line]=\"line.kind === lineKinds.Meta\"\n [class.marked-line]=\"isMarked(row.key, $index)\">@for (span of codes[$index] ?? []; track $index) {@if (span.className === \"\") {{{ span.text }}} @else {<span [class]=\"span.className\">{{ span.text }}</span>}}</div>\n }\n </div>\n }\n }\n }\n @if (diff.truncated || diff.omittedFiles > 0) {\n <p class=\"note\">{{ resources.commitFilesCut }}</p>\n }\n </div>\n} @else {\n <p class=\"note\">{{ resources.commitFilesLoading }}</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 --git-row-outset: 0.5rem;\n\n display: contents;\n}\n\n.file-row {\n display: flex;\n align-items: center;\n min-width: 0;\n}\n\n.files {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n}\n\nnol-section-header {\n margin-inline: calc(-1 * var(--git-row-outset));\n}\n\nnol-git-file-layout-button {\n display: flex;\n}\n\n.totals {\n display: inline-flex;\n gap: 0.375rem;\n}\n\n.file-row {\n box-sizing: border-box;\n gap: 0.375rem;\n width: calc(100% + 2 * var(--git-row-outset));\n height: 1.625rem;\n margin-inline: calc(-1 * var(--git-row-outset));\n padding: 0 var(--git-row-outset);\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\n.file-row:hover {\n background: var(--nol-hover);\n}\n\n.folder {\n cursor: pointer;\n}\n\n.added {\n color: var(--nol-added);\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n color: var(--nol-removed);\n font-variant-numeric: tabular-nums;\n}\n\n.letter {\n flex: none;\n min-width: 1rem;\n text-align: end;\n white-space: nowrap;\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-diff-view-max-height);\n overflow: auto;\n margin: 0.25rem 0;\n padding: 0.25rem 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff > div {\n padding-inline: 0.5rem;\n}\n\n.added-line {\n background-color: var(--nol-added-background);\n}\n\n.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.token-comment {\n color: var(--nol-code-comment);\n}\n\n.token-keyword {\n color: var(--nol-code-keyword);\n}\n\n.token-keyword-control {\n color: var(--nol-code-control);\n}\n\n.token-string {\n color: var(--nol-code-string);\n}\n\n.token-number {\n color: var(--nol-code-number);\n}\n\n.token-type {\n color: var(--nol-code-type);\n}\n\n.token-function {\n color: var(--nol-code-function);\n}\n\n.token-variable {\n color: var(--nol-code-variable);\n}\n\n.token-string-regexp {\n color: var(--nol-code-regex);\n}\n\n.token-meta {\n color: var(--nol-code-meta);\n}\n\n.meta-line {\n background-color: var(--nol-code-header);\n color: var(--nol-text-muted);\n}\n\n.marked-line {\n box-shadow: inset 0.1875rem 0 0 var(--nol-accent);\n}\n\nbutton.file-row {\n cursor: pointer;\n}\n\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\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.note {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.file-row.open,\n.file-row.open:hover {\n background: var(--nol-selected);\n}\n\n@media (forced-colors: active) {\n .marked-line {\n outline: var(--nol-border-width) solid Highlight;\n outline-offset: calc(-1 * var(--nol-border-width));\n }\n}\n"], dependencies: [{ kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: GitFileLayoutButtonComponent, selector: "nol-git-file-layout-button", inputs: ["layout"] }, { 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]" }] });
174
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitDiffFilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
175
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitDiffFilesComponent, isStandalone: true, selector: "nol-git-diff-files", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, scope: { classPropertyName: "scope", publicName: "scope", isSignal: true, isRequired: true, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, 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 (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n} @else if (diff(); as diff) {\n <div class=\"files\">\n <nol-section-header [label]=\"resources.formatFilesChanged(totals().files)\" [level]=\"3\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <span nolSectionHeaderDetail class=\"totals\"><span class=\"added\">{{ resources.addedPrefix }}{{ totals().added }}</span>\n <span class=\"removed\">{{ resources.removedSign }}{{ totals().removed }}</span></span>\n @if (chosen(); as layout) {\n <nol-git-file-layout-button nolSectionHeaderAction class=\"layout\" [layout]=\"layout\" />\n }\n </nol-section-header>\n @for (row of rows(); track row.key + row.isFolder) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"file-row folder\" [title]=\"row.key\" [attr.aria-expanded]=\"!closed().has(row.key)\" [style.padding-inline-start.rem]=\"insetOf(row.depth)\"\n (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ closed().has(row.key) ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"grow ellipsis\">{{ row.name }}</span>\n </button>\n } @else {\n @let isOpen = open().has(row.key);\n <button type=\"button\" class=\"file-row\" [class.open]=\"isOpen\" [title]=\"titleOf(row)\" [attr.aria-expanded]=\"isOpen\" [style.padding-inline-start.rem]=\"insetOf(row.depth)\"\n (click)=\"toggleFile(row.key)\">\n <nol-file-badge [fileName]=\"row.name\" />\n <span class=\"grow ellipsis\">{{ row.name }}@if (row.from.length > 0) {<span class=\"muted\">{{ resources.formatMovedFrom(nameOf(row.from)) }}</span>}</span>\n @if (row.added !== null && row.added > 0) {\n <span class=\"small added\">{{ resources.addedPrefix }}{{ row.added }}</span>\n }\n @if (row.removed !== null && row.removed > 0) {\n <span class=\"small removed\">{{ resources.removedSign }}{{ row.removed }}</span>\n }\n <span class=\"small muted letter\">{{ row.letter }}</span>\n </button>\n @if (isOpen) {\n <div class=\"diff\" [style.margin-inline-start.rem]=\"diffInsetOf(row.depth)\">\n @let codes = openCodes().get(row.key) ?? [];\n @for (line of openLines().get(row.key) ?? []; track $index) {\n <div [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\"\n [class.meta-line]=\"line.kind === lineKinds.Meta\"\n [class.marked-line]=\"isMarked(row.key, $index)\">@for (span of codes[$index] ?? []; track $index) {@if (span.className === \"\") {{{ span.text }}} @else {<span [class]=\"span.className\">{{ span.text }}</span>}}</div>\n }\n </div>\n }\n }\n }\n @if (diff.truncated || diff.omittedFiles > 0) {\n <p class=\"note\">{{ resources.commitFilesCut }}</p>\n }\n </div>\n} @else {\n <p class=\"note\">{{ resources.commitFilesLoading }}</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 --git-row-outset: 0.5rem;\n\n display: contents;\n}\n\n.file-row {\n display: flex;\n align-items: center;\n min-width: 0;\n}\n\n.files {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n}\n\nnol-section-header {\n margin-inline: calc(-1 * var(--git-row-outset));\n}\n\nnol-git-file-layout-button {\n display: flex;\n}\n\n.totals {\n display: inline-flex;\n gap: 0.375rem;\n}\n\n.file-row {\n box-sizing: border-box;\n gap: 0.375rem;\n width: calc(100% + 2 * var(--git-row-outset));\n height: 1.625rem;\n margin-inline: calc(-1 * var(--git-row-outset));\n padding: 0 var(--git-row-outset);\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\n.file-row:hover {\n background: var(--nol-hover);\n}\n\n.folder {\n cursor: pointer;\n}\n\n.added {\n color: var(--nol-added);\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n color: var(--nol-removed);\n font-variant-numeric: tabular-nums;\n}\n\n.letter {\n flex: none;\n min-width: 1rem;\n text-align: end;\n white-space: nowrap;\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-diff-view-max-height);\n overflow: auto;\n margin: 0.25rem 0;\n padding: 0.25rem 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff > div {\n padding-inline: 0.5rem;\n}\n\n.added-line {\n background-color: var(--nol-added-background);\n}\n\n.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.token-comment {\n color: var(--nol-code-comment);\n}\n\n.token-keyword {\n color: var(--nol-code-keyword);\n}\n\n.token-keyword-control {\n color: var(--nol-code-control);\n}\n\n.token-string {\n color: var(--nol-code-string);\n}\n\n.token-number {\n color: var(--nol-code-number);\n}\n\n.token-type {\n color: var(--nol-code-type);\n}\n\n.token-function {\n color: var(--nol-code-function);\n}\n\n.token-variable {\n color: var(--nol-code-variable);\n}\n\n.token-string-regexp {\n color: var(--nol-code-regex);\n}\n\n.token-meta {\n color: var(--nol-code-meta);\n}\n\n.meta-line {\n background-color: var(--nol-code-header);\n color: var(--nol-text-muted);\n}\n\n.marked-line {\n box-shadow: inset 0.1875rem 0 0 var(--nol-accent);\n}\n\nbutton.file-row {\n cursor: pointer;\n}\n\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\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.note {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.file-row.open,\n.file-row.open:hover {\n background: var(--nol-selected);\n}\n\n@media (forced-colors: active) {\n .marked-line {\n outline: var(--nol-border-width) solid Highlight;\n outline-offset: calc(-1 * var(--nol-border-width));\n }\n}\n"], dependencies: [{ kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: GitFileLayoutButtonComponent, selector: "nol-git-file-layout-button", inputs: ["layout"] }, { 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]" }] });
176
176
  }
177
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitDiffFilesComponent, decorators: [{
177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitDiffFilesComponent, decorators: [{
178
178
  type: Component,
179
179
  args: [{ selector: "nol-git-diff-files", imports: [FileBadgeComponent, GitFileLayoutButtonComponent, SectionHeaderActionDirective, SectionHeaderComponent, SectionHeaderDetailDirective], 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 (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n} @else if (diff(); as diff) {\n <div class=\"files\">\n <nol-section-header [label]=\"resources.formatFilesChanged(totals().files)\" [level]=\"3\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <span nolSectionHeaderDetail class=\"totals\"><span class=\"added\">{{ resources.addedPrefix }}{{ totals().added }}</span>\n <span class=\"removed\">{{ resources.removedSign }}{{ totals().removed }}</span></span>\n @if (chosen(); as layout) {\n <nol-git-file-layout-button nolSectionHeaderAction class=\"layout\" [layout]=\"layout\" />\n }\n </nol-section-header>\n @for (row of rows(); track row.key + row.isFolder) {\n @if (row.isFolder) {\n <button type=\"button\" class=\"file-row folder\" [title]=\"row.key\" [attr.aria-expanded]=\"!closed().has(row.key)\" [style.padding-inline-start.rem]=\"insetOf(row.depth)\"\n (click)=\"toggle(row.key)\">\n <span class=\"ms\">{{ closed().has(row.key) ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"grow ellipsis\">{{ row.name }}</span>\n </button>\n } @else {\n @let isOpen = open().has(row.key);\n <button type=\"button\" class=\"file-row\" [class.open]=\"isOpen\" [title]=\"titleOf(row)\" [attr.aria-expanded]=\"isOpen\" [style.padding-inline-start.rem]=\"insetOf(row.depth)\"\n (click)=\"toggleFile(row.key)\">\n <nol-file-badge [fileName]=\"row.name\" />\n <span class=\"grow ellipsis\">{{ row.name }}@if (row.from.length > 0) {<span class=\"muted\">{{ resources.formatMovedFrom(nameOf(row.from)) }}</span>}</span>\n @if (row.added !== null && row.added > 0) {\n <span class=\"small added\">{{ resources.addedPrefix }}{{ row.added }}</span>\n }\n @if (row.removed !== null && row.removed > 0) {\n <span class=\"small removed\">{{ resources.removedSign }}{{ row.removed }}</span>\n }\n <span class=\"small muted letter\">{{ row.letter }}</span>\n </button>\n @if (isOpen) {\n <div class=\"diff\" [style.margin-inline-start.rem]=\"diffInsetOf(row.depth)\">\n @let codes = openCodes().get(row.key) ?? [];\n @for (line of openLines().get(row.key) ?? []; track $index) {\n <div [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\"\n [class.meta-line]=\"line.kind === lineKinds.Meta\"\n [class.marked-line]=\"isMarked(row.key, $index)\">@for (span of codes[$index] ?? []; track $index) {@if (span.className === \"\") {{{ span.text }}} @else {<span [class]=\"span.className\">{{ span.text }}</span>}}</div>\n }\n </div>\n }\n }\n }\n @if (diff.truncated || diff.omittedFiles > 0) {\n <p class=\"note\">{{ resources.commitFilesCut }}</p>\n }\n </div>\n} @else {\n <p class=\"note\">{{ resources.commitFilesLoading }}</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 --git-row-outset: 0.5rem;\n\n display: contents;\n}\n\n.file-row {\n display: flex;\n align-items: center;\n min-width: 0;\n}\n\n.files {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n}\n\nnol-section-header {\n margin-inline: calc(-1 * var(--git-row-outset));\n}\n\nnol-git-file-layout-button {\n display: flex;\n}\n\n.totals {\n display: inline-flex;\n gap: 0.375rem;\n}\n\n.file-row {\n box-sizing: border-box;\n gap: 0.375rem;\n width: calc(100% + 2 * var(--git-row-outset));\n height: 1.625rem;\n margin-inline: calc(-1 * var(--git-row-outset));\n padding: 0 var(--git-row-outset);\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n white-space: nowrap;\n}\n\n.file-row:hover {\n background: var(--nol-hover);\n}\n\n.folder {\n cursor: pointer;\n}\n\n.added {\n color: var(--nol-added);\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n color: var(--nol-removed);\n font-variant-numeric: tabular-nums;\n}\n\n.letter {\n flex: none;\n min-width: 1rem;\n text-align: end;\n white-space: nowrap;\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-diff-view-max-height);\n overflow: auto;\n margin: 0.25rem 0;\n padding: 0.25rem 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff > div {\n padding-inline: 0.5rem;\n}\n\n.added-line {\n background-color: var(--nol-added-background);\n}\n\n.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.token-comment {\n color: var(--nol-code-comment);\n}\n\n.token-keyword {\n color: var(--nol-code-keyword);\n}\n\n.token-keyword-control {\n color: var(--nol-code-control);\n}\n\n.token-string {\n color: var(--nol-code-string);\n}\n\n.token-number {\n color: var(--nol-code-number);\n}\n\n.token-type {\n color: var(--nol-code-type);\n}\n\n.token-function {\n color: var(--nol-code-function);\n}\n\n.token-variable {\n color: var(--nol-code-variable);\n}\n\n.token-string-regexp {\n color: var(--nol-code-regex);\n}\n\n.token-meta {\n color: var(--nol-code-meta);\n}\n\n.meta-line {\n background-color: var(--nol-code-header);\n color: var(--nol-text-muted);\n}\n\n.marked-line {\n box-shadow: inset 0.1875rem 0 0 var(--nol-accent);\n}\n\nbutton.file-row {\n cursor: pointer;\n}\n\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\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.note {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.file-row.open,\n.file-row.open:hover {\n background: var(--nol-selected);\n}\n\n@media (forced-colors: active) {\n .marked-line {\n outline: var(--nol-border-width) solid Highlight;\n outline-offset: calc(-1 * var(--nol-border-width));\n }\n}\n"] }]
180
180
  }], ctorParameters: () => [], propDecorators: { folder: [{ type: i0.Input, args: [{ isSignal: true, alias: "folder", required: true }] }], scope: [{ type: i0.Input, args: [{ isSignal: true, alias: "scope", required: true }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }] } });
@@ -19,10 +19,10 @@ export class GitDiscardDialogComponent {
19
19
  undoable = input.required(/* @ts-ignore */
20
20
  ...(ngDevMode ? [{ debugName: "undoable" }] : /* istanbul ignore next */ []));
21
21
  answered = output();
22
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitDiscardDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.3.0", type: GitDiscardDialogComponent, isStandalone: true, selector: "nol-git-discard-dialog", inputs: { path: { classPropertyName: "path", publicName: "path", isSignal: true, isRequired: true, transformFunction: null }, untracked: { classPropertyName: "untracked", publicName: "untracked", isSignal: true, isRequired: true, transformFunction: null }, undoable: { classPropertyName: "undoable", publicName: "undoable", 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.discardTitle\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ untracked() ? resources.formatDiscardUntracked(path(), undoable()) : resources.formatDiscardTracked(path(), undoable()) }}</p>\n <button nol-button nolDialogAction type=\"button\" class=\"discard\" (click)=\"answered.emit(true)\">{{ resources.discardLabel }}</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
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitDiscardDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.3.2", type: GitDiscardDialogComponent, isStandalone: true, selector: "nol-git-discard-dialog", inputs: { path: { classPropertyName: "path", publicName: "path", isSignal: true, isRequired: true, transformFunction: null }, untracked: { classPropertyName: "untracked", publicName: "untracked", isSignal: true, isRequired: true, transformFunction: null }, undoable: { classPropertyName: "undoable", publicName: "undoable", 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.discardTitle\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ untracked() ? resources.formatDiscardUntracked(path(), undoable()) : resources.formatDiscardTracked(path(), undoable()) }}</p>\n <button nol-button nolDialogAction type=\"button\" class=\"discard\" (click)=\"answered.emit(true)\">{{ resources.discardLabel }}</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"] }] });
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitDiscardDialogComponent, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitDiscardDialogComponent, decorators: [{
26
26
  type: Component,
27
27
  args: [{ selector: "nol-git-discard-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.discardTitle\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ untracked() ? resources.formatDiscardUntracked(path(), undoable()) : resources.formatDiscardTracked(path(), undoable()) }}</p>\n <button nol-button nolDialogAction type=\"button\" class=\"discard\" (click)=\"answered.emit(true)\">{{ resources.discardLabel }}</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"] }]
28
28
  }], propDecorators: { path: [{ type: i0.Input, args: [{ isSignal: true, alias: "path", required: true }] }], untracked: [{ type: i0.Input, args: [{ isSignal: true, alias: "untracked", required: true }] }], undoable: [{ type: i0.Input, args: [{ isSignal: true, alias: "undoable", required: true }] }], answered: [{ type: i0.Output, args: ["answered"] }] } });
@@ -170,10 +170,10 @@ export class GitFileGroupComponent {
170
170
  next.add(key);
171
171
  return next;
172
172
  }
173
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitFileGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
174
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitFileGroupComponent, isStandalone: true, selector: "nol-git-file-group", inputs: { group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { openConflict: "openConflict" }, 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-section-header [label]=\"resources.groupTitles[group().kind]\" [level]=\"3\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <span nolSectionHeaderDetail class=\"count\">{{ group().rows.length }}</span>\n <nol-git-file-layout-button nolSectionHeaderAction class=\"layout\" [layout]=\"state.fileLayout\" />\n @if (group().kind !== kinds.Conflicts) {\n <button nolSectionHeaderAction type=\"button\" class=\"move-all\" [disabled]=\"state.busy()\" (click)=\"moveAll()\">\n {{ group().kind === kinds.Staged ? resources.unstageAllLabel : resources.stageAllLabel }}\n </button>\n }\n</nol-section-header>\n<ul class=\"files\">\n @for (item of items(); track item.key) {\n @if (item.row; as row) {\n @let isOpen = open().has(row.key);\n @let moveLabel = row.group === kinds.Staged ? resources.formatUnstage(row.path) : resources.formatStage(row.path);\n <li>\n <div class=\"file\" [class.open]=\"isOpen\">\n @if (row.group === kinds.Conflicts) {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [style.padding-inline-start.rem]=\"insetOf(item.depth)\" (click)=\"openConflict.emit(row.path)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row, name: item.name }\" />\n </button>\n } @else {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [attr.aria-expanded]=\"isOpen\" [style.padding-inline-start.rem]=\"insetOf(item.depth)\"\n (click)=\"toggle(row)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row, name: item.name }\" />\n </button>\n }\n <span class=\"actions\">\n @if (isOpen) {\n @let wrapLabel = wrapped().has(row.key) ? resources.unwrapLinesLabel : resources.wrapLinesLabel;\n <button nol-icon-button type=\"button\" class=\"wrap\" [icon]=\"resources.wrapIcon\" [pressed]=\"wrapped().has(row.key)\" [label]=\"wrapLabel\" [nolTooltip]=\"wrapLabel\"\n (click)=\"toggleWrap(row)\"></button>\n }\n @if (row.group !== kinds.Conflicts) {\n @let diffLabel = isOpen ? resources.hideDiffLabel : resources.showDiffLabel;\n <button nol-icon-button type=\"button\" class=\"expand\" [icon]=\"isOpen ? resources.collapseIcon : resources.expandIcon\" [label]=\"diffLabel\" [nolTooltip]=\"diffLabel\"\n [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\"></button>\n }\n @if (row.group === kinds.Changes) {\n @let discardLabel = resources.formatDiscard(row.path);\n <button nol-icon-button type=\"button\" class=\"discard\" [icon]=\"resources.discardIcon\" [label]=\"discardLabel\" [nolTooltip]=\"discardLabel\"\n [disabled]=\"state.busy()\" (click)=\"discardAsync(row)\"></button>\n }\n <button nol-icon-button type=\"button\" class=\"move\" [icon]=\"row.group === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"moveLabel\"\n [nolTooltip]=\"moveLabel\" [disabled]=\"state.busy()\" (click)=\"move(row)\"></button>\n </span>\n </div>\n @if (isOpen) {\n <div class=\"diff\" [class.wrapped]=\"wrapped().has(row.key)\">\n @let chosenLines = chosenOf(row);\n @let codes = codesOf(row);\n @for (line of rowsOf(row); track $index) {\n @if (line.line !== null) {\n <button type=\"button\" class=\"line\" [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\"\n [class.chosen]=\"chosenLines.has(line.line)\" [attr.aria-pressed]=\"chosenLines.has(line.line)\" (click)=\"choose(row, line.line)\">@for (span of codes[$index] ?? []; track $index) {@if (span.className === \"\") {{{ span.text }}} @else {<span [class]=\"span.className\">{{ span.text }}</span>}}</button>\n } @else if (line.hunk.length > 0) {\n @let hunkLines = linesOf(row, line);\n @let hunkLabel = hunkLabelOf(row, line);\n <div class=\"line meta-line hunk\">\n <span class=\"hunk-text\" data-truncates [nolTooltip]=\"line.text\" [nolTooltipTruncated]=\"true\">{{ line.text }}</span>\n <button type=\"button\" class=\"hunk-action\" [disabled]=\"state.busy()\" (click)=\"stageLines(row, hunkLines)\">{{ hunkLabel }}</button>\n </div>\n } @else {\n <div class=\"line\" [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\"\n [class.meta-line]=\"line.kind === lineKinds.Meta\">@for (span of codes[$index] ?? []; track $index) {@if (span.className === \"\") {{{ span.text }}} @else {<span [class]=\"span.className\">{{ span.text }}</span>}}</div>\n }\n }\n </div>\n }\n </li>\n } @else {\n @let isClosed = closed().has(item.folder);\n <li>\n <button type=\"button\" class=\"folder\" [nolTooltip]=\"item.folder\" [attr.aria-expanded]=\"!isClosed\" [style.padding-inline-start.rem]=\"insetOf(item.depth)\"\n (click)=\"toggleFolder(item.folder)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isClosed ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.folderIcon }}</span>\n <span class=\"path\">{{ item.name }}</span>\n </button>\n </li>\n }\n }\n @if (hiddenCount() > 0) {\n <li>\n <button type=\"button\" class=\"more\" (click)=\"showsAll.set(true)\">{{ resources.formatMoreFiles(hiddenCount()) }}</button>\n </li>\n }\n</ul>\n\n<ng-template #nameOf let-row let-name=\"name\">\n <nol-file-badge [fileName]=\"row.fileName\" />\n <span class=\"path\">@if (name !== row.fileName) {<span class=\"directory\">{{ row.directory }}</span>}{{ row.fileName }}</span>\n @if (row.kind; as kind) {\n <span class=\"kind\">{{ kind }}</span>\n } @else if (row.counts; as counts) {\n <span class=\"counts\"><span class=\"added\">{{ resources.addedPrefix }}{{ counts.added }}</span>@if (row.tone !== tones.Untracked) {<span class=\"removed\">{{ resources.removedSign }}{{ counts.removed }}</span>}</span>\n }\n <span class=\"state\" [attr.data-tone]=\"row.tone\">{{ row.letter }}</span>\n</ng-template>\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 --git-row-outset: 0.5rem;\n\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0.125rem;\n min-width: 0;\n}\n\nnol-section-header {\n margin-inline: calc(-1 * var(--git-row-outset));\n}\n\nnol-git-file-layout-button {\n display: flex;\n}\n\n.move-all {\n height: 1.5rem;\n margin-inline-end: calc(var(--nol-space-1) - 0.375rem);\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n letter-spacing: 0;\n text-transform: none;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.move-all:hover:not(:disabled) {\n background-color: var(--nol-toolbar-hover);\n}\n\n.move-all:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.files {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0.125rem;\n margin: 0 calc(-1 * var(--git-row-outset));\n padding: 0;\n list-style: none;\n}\n\n.file {\n position: relative;\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-height: 1.625rem;\n padding: 0 var(--git-row-outset) 0 0;\n border-radius: 0.375rem;\n}\n\n.actions {\n position: absolute;\n inset-block: 0;\n inset-inline-end: calc(var(--git-row-outset) + (var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n display: flex;\n gap: 0.375rem;\n align-items: center;\n padding-inline-start: 0.375rem;\n border-radius: inherit;\n background-color: inherit;\n}\n\n.file:not(:hover, :focus-within, .open) > .actions {\n display: none;\n}\n\n.file.open {\n background-color: var(--nol-selected);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.file:is(:hover, :focus-within):not(.open) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.name {\n display: flex;\n flex: 1;\n gap: var(--nol-space-2);\n align-items: center;\n align-self: stretch;\n min-width: 0;\n padding: 0 0 0 0.5rem;\n border: 0;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.folder {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n box-sizing: border-box;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.25rem 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.folder:hover {\n background-color: var(--nol-hover);\n}\n\n.folder .material-symbols-rounded {\n flex: none;\n width: 1rem;\n color: var(--nol-icon-color);\n font-size: 1rem;\n}\n\n.more {\n display: block;\n width: 100%;\n min-height: var(--nol-section-header-height);\n padding: 0 0 0 var(--nol-nested-row-indent);\n border: 0;\n background: none;\n color: var(--nol-text-muted);\n font: inherit;\n text-align: start;\n}\n\n.more:hover {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.state {\n flex: none;\n width: var(--nol-icon);\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-align: end;\n}\n\n.added {\n color: var(--nol-added);\n}\n\n.state[data-tone=\"Removed\"],\n.removed {\n color: var(--nol-removed);\n}\n\n.state[data-tone=\"Conflict\"] {\n color: var(--nol-status-failed);\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.directory,\n.kind {\n color: var(--nol-text-muted);\n}\n\n.counts,\n.kind {\n flex: none;\n font-size: 0.75rem;\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n margin-inline-start: var(--nol-count-gap);\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-diff-view-max-height);\n overflow: auto;\n container-type: inline-size;\n margin: 0.25rem var(--git-row-outset);\n padding: 0.25rem 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff.wrapped {\n grid-template-columns: minmax(0, 1fr);\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.line {\n padding-inline: 0.5rem;\n}\n\nbutton.line {\n display: block;\n margin: 0;\n border: 0;\n background-color: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: inherit;\n cursor: pointer;\n}\n\n.line.chosen {\n box-shadow: inset 0.1875rem 0 0 var(--nol-accent);\n}\n\n.hunk {\n display: flex;\n position: sticky;\n inset-inline-start: 0;\n box-sizing: border-box;\n inline-size: 100cqi;\n align-items: center;\n gap: 0.5rem;\n}\n\n.hunk-text {\n flex: 0 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.hunk-action {\n flex: none;\n margin-inline: auto -0.375rem;\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.hunk-action:hover:not(:disabled) {\n background-color: var(--nol-toolbar-hover);\n}\n\n.hunk-action:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.line.added-line {\n background-color: var(--nol-added-background);\n}\n\n.line.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.token-comment {\n color: var(--nol-code-comment);\n}\n\n.token-keyword {\n color: var(--nol-code-keyword);\n}\n\n.token-keyword-control {\n color: var(--nol-code-control);\n}\n\n.token-string {\n color: var(--nol-code-string);\n}\n\n.token-number {\n color: var(--nol-code-number);\n}\n\n.token-type {\n color: var(--nol-code-type);\n}\n\n.token-function {\n color: var(--nol-code-function);\n}\n\n.token-variable {\n color: var(--nol-code-variable);\n}\n\n.token-string-regexp {\n color: var(--nol-code-regex);\n}\n\n.token-meta {\n color: var(--nol-code-meta);\n}\n\n.meta-line {\n background-color: var(--nol-code-header);\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: GitFileLayoutButtonComponent, selector: "nol-git-file-layout-button", inputs: ["layout"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
173
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitFileGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
174
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitFileGroupComponent, isStandalone: true, selector: "nol-git-file-group", inputs: { group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { openConflict: "openConflict" }, 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-section-header [label]=\"resources.groupTitles[group().kind]\" [level]=\"3\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <span nolSectionHeaderDetail class=\"count\">{{ group().rows.length }}</span>\n <nol-git-file-layout-button nolSectionHeaderAction class=\"layout\" [layout]=\"state.fileLayout\" />\n @if (group().kind !== kinds.Conflicts) {\n <button nolSectionHeaderAction type=\"button\" class=\"move-all\" [disabled]=\"state.busy()\" (click)=\"moveAll()\">\n {{ group().kind === kinds.Staged ? resources.unstageAllLabel : resources.stageAllLabel }}\n </button>\n }\n</nol-section-header>\n<ul class=\"files\">\n @for (item of items(); track item.key) {\n @if (item.row; as row) {\n @let isOpen = open().has(row.key);\n @let moveLabel = row.group === kinds.Staged ? resources.formatUnstage(row.path) : resources.formatStage(row.path);\n <li>\n <div class=\"file\" [class.open]=\"isOpen\">\n @if (row.group === kinds.Conflicts) {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [style.padding-inline-start.rem]=\"insetOf(item.depth)\" (click)=\"openConflict.emit(row.path)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row, name: item.name }\" />\n </button>\n } @else {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [attr.aria-expanded]=\"isOpen\" [style.padding-inline-start.rem]=\"insetOf(item.depth)\"\n (click)=\"toggle(row)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row, name: item.name }\" />\n </button>\n }\n <span class=\"actions\">\n @if (isOpen) {\n @let wrapLabel = wrapped().has(row.key) ? resources.unwrapLinesLabel : resources.wrapLinesLabel;\n <button nol-icon-button type=\"button\" class=\"wrap\" [icon]=\"resources.wrapIcon\" [pressed]=\"wrapped().has(row.key)\" [label]=\"wrapLabel\" [nolTooltip]=\"wrapLabel\"\n (click)=\"toggleWrap(row)\"></button>\n }\n @if (row.group !== kinds.Conflicts) {\n @let diffLabel = isOpen ? resources.hideDiffLabel : resources.showDiffLabel;\n <button nol-icon-button type=\"button\" class=\"expand\" [icon]=\"isOpen ? resources.collapseIcon : resources.expandIcon\" [label]=\"diffLabel\" [nolTooltip]=\"diffLabel\"\n [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\"></button>\n }\n @if (row.group === kinds.Changes) {\n @let discardLabel = resources.formatDiscard(row.path);\n <button nol-icon-button type=\"button\" class=\"discard\" [icon]=\"resources.discardIcon\" [label]=\"discardLabel\" [nolTooltip]=\"discardLabel\"\n [disabled]=\"state.busy()\" (click)=\"discardAsync(row)\"></button>\n }\n <button nol-icon-button type=\"button\" class=\"move\" [icon]=\"row.group === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"moveLabel\"\n [nolTooltip]=\"moveLabel\" [disabled]=\"state.busy()\" (click)=\"move(row)\"></button>\n </span>\n </div>\n @if (isOpen) {\n <div class=\"diff\" [class.wrapped]=\"wrapped().has(row.key)\">\n @let chosenLines = chosenOf(row);\n @let codes = codesOf(row);\n @for (line of rowsOf(row); track $index) {\n @if (line.line !== null) {\n <button type=\"button\" class=\"line\" [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\"\n [class.chosen]=\"chosenLines.has(line.line)\" [attr.aria-pressed]=\"chosenLines.has(line.line)\" (click)=\"choose(row, line.line)\">@for (span of codes[$index] ?? []; track $index) {@if (span.className === \"\") {{{ span.text }}} @else {<span [class]=\"span.className\">{{ span.text }}</span>}}</button>\n } @else if (line.hunk.length > 0) {\n @let hunkLines = linesOf(row, line);\n @let hunkLabel = hunkLabelOf(row, line);\n <div class=\"line meta-line hunk\">\n <span class=\"hunk-text\" data-truncates [nolTooltip]=\"line.text\" [nolTooltipTruncated]=\"true\">{{ line.text }}</span>\n <button type=\"button\" class=\"hunk-action\" [disabled]=\"state.busy()\" (click)=\"stageLines(row, hunkLines)\">{{ hunkLabel }}</button>\n </div>\n } @else {\n <div class=\"line\" [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\"\n [class.meta-line]=\"line.kind === lineKinds.Meta\">@for (span of codes[$index] ?? []; track $index) {@if (span.className === \"\") {{{ span.text }}} @else {<span [class]=\"span.className\">{{ span.text }}</span>}}</div>\n }\n }\n </div>\n }\n </li>\n } @else {\n @let isClosed = closed().has(item.folder);\n <li>\n <button type=\"button\" class=\"folder\" [nolTooltip]=\"item.folder\" [attr.aria-expanded]=\"!isClosed\" [style.padding-inline-start.rem]=\"insetOf(item.depth)\"\n (click)=\"toggleFolder(item.folder)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isClosed ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.folderIcon }}</span>\n <span class=\"path\">{{ item.name }}</span>\n </button>\n </li>\n }\n }\n @if (hiddenCount() > 0) {\n <li>\n <button type=\"button\" class=\"more\" (click)=\"showsAll.set(true)\">{{ resources.formatMoreFiles(hiddenCount()) }}</button>\n </li>\n }\n</ul>\n\n<ng-template #nameOf let-row let-name=\"name\">\n <nol-file-badge [fileName]=\"row.fileName\" />\n <span class=\"path\">@if (name !== row.fileName) {<span class=\"directory\">{{ row.directory }}</span>}{{ row.fileName }}</span>\n @if (row.kind; as kind) {\n <span class=\"kind\">{{ kind }}</span>\n } @else if (row.counts; as counts) {\n <span class=\"counts\"><span class=\"added\">{{ resources.addedPrefix }}{{ counts.added }}</span>@if (row.tone !== tones.Untracked) {<span class=\"removed\">{{ resources.removedSign }}{{ counts.removed }}</span>}</span>\n }\n <span class=\"state\" [attr.data-tone]=\"row.tone\">{{ row.letter }}</span>\n</ng-template>\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 --git-row-outset: 0.5rem;\n\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0.125rem;\n min-width: 0;\n}\n\nnol-section-header {\n margin-inline: calc(-1 * var(--git-row-outset));\n}\n\nnol-git-file-layout-button {\n display: flex;\n}\n\n.move-all {\n height: 1.5rem;\n margin-inline-end: calc(var(--nol-space-1) - 0.375rem);\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n letter-spacing: 0;\n text-transform: none;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.move-all:hover:not(:disabled) {\n background-color: var(--nol-toolbar-hover);\n}\n\n.move-all:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.files {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0.125rem;\n margin: 0 calc(-1 * var(--git-row-outset));\n padding: 0;\n list-style: none;\n}\n\n.file {\n position: relative;\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-height: 1.625rem;\n padding: 0 var(--git-row-outset) 0 0;\n border-radius: 0.375rem;\n}\n\n.actions {\n position: absolute;\n inset-block: 0;\n inset-inline-end: calc(var(--git-row-outset) + (var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n display: flex;\n gap: 0.375rem;\n align-items: center;\n padding-inline-start: 0.375rem;\n border-radius: inherit;\n background-color: inherit;\n}\n\n.file:not(:hover, :focus-within, .open) > .actions {\n display: none;\n}\n\n.file.open {\n background-color: var(--nol-selected);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.file:is(:hover, :focus-within):not(.open) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.name {\n display: flex;\n flex: 1;\n gap: var(--nol-space-2);\n align-items: center;\n align-self: stretch;\n min-width: 0;\n padding: 0 0 0 0.5rem;\n border: 0;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.folder {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n box-sizing: border-box;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.25rem 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.folder:hover {\n background-color: var(--nol-hover);\n}\n\n.folder .material-symbols-rounded {\n flex: none;\n width: 1rem;\n color: var(--nol-icon-color);\n font-size: 1rem;\n}\n\n.more {\n display: block;\n width: 100%;\n min-height: var(--nol-section-header-height);\n padding: 0 0 0 var(--nol-nested-row-indent);\n border: 0;\n background: none;\n color: var(--nol-text-muted);\n font: inherit;\n text-align: start;\n}\n\n.more:hover {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.state {\n flex: none;\n width: var(--nol-icon);\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-align: end;\n}\n\n.added {\n color: var(--nol-added);\n}\n\n.state[data-tone=\"Removed\"],\n.removed {\n color: var(--nol-removed);\n}\n\n.state[data-tone=\"Conflict\"] {\n color: var(--nol-status-failed);\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.directory,\n.kind {\n color: var(--nol-text-muted);\n}\n\n.counts,\n.kind {\n flex: none;\n font-size: 0.75rem;\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n margin-inline-start: var(--nol-count-gap);\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-diff-view-max-height);\n overflow: auto;\n container-type: inline-size;\n margin: 0.25rem var(--git-row-outset);\n padding: 0.25rem 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff.wrapped {\n grid-template-columns: minmax(0, 1fr);\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.line {\n padding-inline: 0.5rem;\n}\n\nbutton.line {\n display: block;\n margin: 0;\n border: 0;\n background-color: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: inherit;\n cursor: pointer;\n}\n\n.line.chosen {\n box-shadow: inset 0.1875rem 0 0 var(--nol-accent);\n}\n\n.hunk {\n display: flex;\n position: sticky;\n inset-inline-start: 0;\n box-sizing: border-box;\n inline-size: 100cqi;\n align-items: center;\n gap: 0.5rem;\n}\n\n.hunk-text {\n flex: 0 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.hunk-action {\n flex: none;\n margin-inline: auto -0.375rem;\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.hunk-action:hover:not(:disabled) {\n background-color: var(--nol-toolbar-hover);\n}\n\n.hunk-action:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.line.added-line {\n background-color: var(--nol-added-background);\n}\n\n.line.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.token-comment {\n color: var(--nol-code-comment);\n}\n\n.token-keyword {\n color: var(--nol-code-keyword);\n}\n\n.token-keyword-control {\n color: var(--nol-code-control);\n}\n\n.token-string {\n color: var(--nol-code-string);\n}\n\n.token-number {\n color: var(--nol-code-number);\n}\n\n.token-type {\n color: var(--nol-code-type);\n}\n\n.token-function {\n color: var(--nol-code-function);\n}\n\n.token-variable {\n color: var(--nol-code-variable);\n}\n\n.token-string-regexp {\n color: var(--nol-code-regex);\n}\n\n.token-meta {\n color: var(--nol-code-meta);\n}\n\n.meta-line {\n background-color: var(--nol-code-header);\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: GitFileLayoutButtonComponent, selector: "nol-git-file-layout-button", inputs: ["layout"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { 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: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
175
175
  }
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitFileGroupComponent, decorators: [{
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitFileGroupComponent, decorators: [{
177
177
  type: Component,
178
178
  args: [{ selector: "nol-git-file-group", imports: [FileBadgeComponent, GitFileLayoutButtonComponent, IconButtonComponent, NgTemplateOutlet, SectionHeaderActionDirective, SectionHeaderComponent,
179
179
  SectionHeaderDetailDirective, 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<nol-section-header [label]=\"resources.groupTitles[group().kind]\" [level]=\"3\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <span nolSectionHeaderDetail class=\"count\">{{ group().rows.length }}</span>\n <nol-git-file-layout-button nolSectionHeaderAction class=\"layout\" [layout]=\"state.fileLayout\" />\n @if (group().kind !== kinds.Conflicts) {\n <button nolSectionHeaderAction type=\"button\" class=\"move-all\" [disabled]=\"state.busy()\" (click)=\"moveAll()\">\n {{ group().kind === kinds.Staged ? resources.unstageAllLabel : resources.stageAllLabel }}\n </button>\n }\n</nol-section-header>\n<ul class=\"files\">\n @for (item of items(); track item.key) {\n @if (item.row; as row) {\n @let isOpen = open().has(row.key);\n @let moveLabel = row.group === kinds.Staged ? resources.formatUnstage(row.path) : resources.formatStage(row.path);\n <li>\n <div class=\"file\" [class.open]=\"isOpen\">\n @if (row.group === kinds.Conflicts) {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [style.padding-inline-start.rem]=\"insetOf(item.depth)\" (click)=\"openConflict.emit(row.path)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row, name: item.name }\" />\n </button>\n } @else {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [attr.aria-expanded]=\"isOpen\" [style.padding-inline-start.rem]=\"insetOf(item.depth)\"\n (click)=\"toggle(row)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row, name: item.name }\" />\n </button>\n }\n <span class=\"actions\">\n @if (isOpen) {\n @let wrapLabel = wrapped().has(row.key) ? resources.unwrapLinesLabel : resources.wrapLinesLabel;\n <button nol-icon-button type=\"button\" class=\"wrap\" [icon]=\"resources.wrapIcon\" [pressed]=\"wrapped().has(row.key)\" [label]=\"wrapLabel\" [nolTooltip]=\"wrapLabel\"\n (click)=\"toggleWrap(row)\"></button>\n }\n @if (row.group !== kinds.Conflicts) {\n @let diffLabel = isOpen ? resources.hideDiffLabel : resources.showDiffLabel;\n <button nol-icon-button type=\"button\" class=\"expand\" [icon]=\"isOpen ? resources.collapseIcon : resources.expandIcon\" [label]=\"diffLabel\" [nolTooltip]=\"diffLabel\"\n [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\"></button>\n }\n @if (row.group === kinds.Changes) {\n @let discardLabel = resources.formatDiscard(row.path);\n <button nol-icon-button type=\"button\" class=\"discard\" [icon]=\"resources.discardIcon\" [label]=\"discardLabel\" [nolTooltip]=\"discardLabel\"\n [disabled]=\"state.busy()\" (click)=\"discardAsync(row)\"></button>\n }\n <button nol-icon-button type=\"button\" class=\"move\" [icon]=\"row.group === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"moveLabel\"\n [nolTooltip]=\"moveLabel\" [disabled]=\"state.busy()\" (click)=\"move(row)\"></button>\n </span>\n </div>\n @if (isOpen) {\n <div class=\"diff\" [class.wrapped]=\"wrapped().has(row.key)\">\n @let chosenLines = chosenOf(row);\n @let codes = codesOf(row);\n @for (line of rowsOf(row); track $index) {\n @if (line.line !== null) {\n <button type=\"button\" class=\"line\" [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\"\n [class.chosen]=\"chosenLines.has(line.line)\" [attr.aria-pressed]=\"chosenLines.has(line.line)\" (click)=\"choose(row, line.line)\">@for (span of codes[$index] ?? []; track $index) {@if (span.className === \"\") {{{ span.text }}} @else {<span [class]=\"span.className\">{{ span.text }}</span>}}</button>\n } @else if (line.hunk.length > 0) {\n @let hunkLines = linesOf(row, line);\n @let hunkLabel = hunkLabelOf(row, line);\n <div class=\"line meta-line hunk\">\n <span class=\"hunk-text\" data-truncates [nolTooltip]=\"line.text\" [nolTooltipTruncated]=\"true\">{{ line.text }}</span>\n <button type=\"button\" class=\"hunk-action\" [disabled]=\"state.busy()\" (click)=\"stageLines(row, hunkLines)\">{{ hunkLabel }}</button>\n </div>\n } @else {\n <div class=\"line\" [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\"\n [class.meta-line]=\"line.kind === lineKinds.Meta\">@for (span of codes[$index] ?? []; track $index) {@if (span.className === \"\") {{{ span.text }}} @else {<span [class]=\"span.className\">{{ span.text }}</span>}}</div>\n }\n }\n </div>\n }\n </li>\n } @else {\n @let isClosed = closed().has(item.folder);\n <li>\n <button type=\"button\" class=\"folder\" [nolTooltip]=\"item.folder\" [attr.aria-expanded]=\"!isClosed\" [style.padding-inline-start.rem]=\"insetOf(item.depth)\"\n (click)=\"toggleFolder(item.folder)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isClosed ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.folderIcon }}</span>\n <span class=\"path\">{{ item.name }}</span>\n </button>\n </li>\n }\n }\n @if (hiddenCount() > 0) {\n <li>\n <button type=\"button\" class=\"more\" (click)=\"showsAll.set(true)\">{{ resources.formatMoreFiles(hiddenCount()) }}</button>\n </li>\n }\n</ul>\n\n<ng-template #nameOf let-row let-name=\"name\">\n <nol-file-badge [fileName]=\"row.fileName\" />\n <span class=\"path\">@if (name !== row.fileName) {<span class=\"directory\">{{ row.directory }}</span>}{{ row.fileName }}</span>\n @if (row.kind; as kind) {\n <span class=\"kind\">{{ kind }}</span>\n } @else if (row.counts; as counts) {\n <span class=\"counts\"><span class=\"added\">{{ resources.addedPrefix }}{{ counts.added }}</span>@if (row.tone !== tones.Untracked) {<span class=\"removed\">{{ resources.removedSign }}{{ counts.removed }}</span>}</span>\n }\n <span class=\"state\" [attr.data-tone]=\"row.tone\">{{ row.letter }}</span>\n</ng-template>\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 --git-row-outset: 0.5rem;\n\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0.125rem;\n min-width: 0;\n}\n\nnol-section-header {\n margin-inline: calc(-1 * var(--git-row-outset));\n}\n\nnol-git-file-layout-button {\n display: flex;\n}\n\n.move-all {\n height: 1.5rem;\n margin-inline-end: calc(var(--nol-space-1) - 0.375rem);\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n letter-spacing: 0;\n text-transform: none;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.move-all:hover:not(:disabled) {\n background-color: var(--nol-toolbar-hover);\n}\n\n.move-all:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.files {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: 0.125rem;\n margin: 0 calc(-1 * var(--git-row-outset));\n padding: 0;\n list-style: none;\n}\n\n.file {\n position: relative;\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-height: 1.625rem;\n padding: 0 var(--git-row-outset) 0 0;\n border-radius: 0.375rem;\n}\n\n.actions {\n position: absolute;\n inset-block: 0;\n inset-inline-end: calc(var(--git-row-outset) + (var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n display: flex;\n gap: 0.375rem;\n align-items: center;\n padding-inline-start: 0.375rem;\n border-radius: inherit;\n background-color: inherit;\n}\n\n.file:not(:hover, :focus-within, .open) > .actions {\n display: none;\n}\n\n.file.open {\n background-color: var(--nol-selected);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.file:is(:hover, :focus-within):not(.open) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.name {\n display: flex;\n flex: 1;\n gap: var(--nol-space-2);\n align-items: center;\n align-self: stretch;\n min-width: 0;\n padding: 0 0 0 0.5rem;\n border: 0;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.folder {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n box-sizing: border-box;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.25rem 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.folder:hover {\n background-color: var(--nol-hover);\n}\n\n.folder .material-symbols-rounded {\n flex: none;\n width: 1rem;\n color: var(--nol-icon-color);\n font-size: 1rem;\n}\n\n.more {\n display: block;\n width: 100%;\n min-height: var(--nol-section-header-height);\n padding: 0 0 0 var(--nol-nested-row-indent);\n border: 0;\n background: none;\n color: var(--nol-text-muted);\n font: inherit;\n text-align: start;\n}\n\n.more:hover {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.state {\n flex: none;\n width: var(--nol-icon);\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-align: end;\n}\n\n.added {\n color: var(--nol-added);\n}\n\n.state[data-tone=\"Removed\"],\n.removed {\n color: var(--nol-removed);\n}\n\n.state[data-tone=\"Conflict\"] {\n color: var(--nol-status-failed);\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.directory,\n.kind {\n color: var(--nol-text-muted);\n}\n\n.counts,\n.kind {\n flex: none;\n font-size: 0.75rem;\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n margin-inline-start: var(--nol-count-gap);\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-diff-view-max-height);\n overflow: auto;\n container-type: inline-size;\n margin: 0.25rem var(--git-row-outset);\n padding: 0.25rem 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff.wrapped {\n grid-template-columns: minmax(0, 1fr);\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.line {\n padding-inline: 0.5rem;\n}\n\nbutton.line {\n display: block;\n margin: 0;\n border: 0;\n background-color: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: inherit;\n cursor: pointer;\n}\n\n.line.chosen {\n box-shadow: inset 0.1875rem 0 0 var(--nol-accent);\n}\n\n.hunk {\n display: flex;\n position: sticky;\n inset-inline-start: 0;\n box-sizing: border-box;\n inline-size: 100cqi;\n align-items: center;\n gap: 0.5rem;\n}\n\n.hunk-text {\n flex: 0 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.hunk-action {\n flex: none;\n margin-inline: auto -0.375rem;\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.hunk-action:hover:not(:disabled) {\n background-color: var(--nol-toolbar-hover);\n}\n\n.hunk-action:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\n.line.added-line {\n background-color: var(--nol-added-background);\n}\n\n.line.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.token-comment {\n color: var(--nol-code-comment);\n}\n\n.token-keyword {\n color: var(--nol-code-keyword);\n}\n\n.token-keyword-control {\n color: var(--nol-code-control);\n}\n\n.token-string {\n color: var(--nol-code-string);\n}\n\n.token-number {\n color: var(--nol-code-number);\n}\n\n.token-type {\n color: var(--nol-code-type);\n}\n\n.token-function {\n color: var(--nol-code-function);\n}\n\n.token-variable {\n color: var(--nol-code-variable);\n}\n\n.token-string-regexp {\n color: var(--nol-code-regex);\n}\n\n.token-meta {\n color: var(--nol-code-meta);\n}\n\n.meta-line {\n background-color: var(--nol-code-header);\n color: var(--nol-text-muted);\n}\n"] }]
@@ -13,10 +13,10 @@ export class GitFileLayoutButtonComponent {
13
13
  resources = Resources;
14
14
  layout = input.required(/* @ts-ignore */
15
15
  ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitFileLayoutButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitFileLayoutButtonComponent, isStandalone: true, selector: "nol-git-file-layout-button", inputs: { layout: { classPropertyName: "layout", publicName: "layout", 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<button nol-icon-button type=\"button\" class=\"layout\" [icon]=\"resources.fileLayoutIcons[layout()()]\" [label]=\"resources.fileLayoutLabel\"\n [nolTooltip]=\"resources.fileLayoutLabel\" [nolMenuTriggerFor]=\"layouts\"></button>\n<ng-template #layouts>\n <nol-menu>\n @for (choice of resources.fileLayouts; track choice) {\n <button nol-menu-item [label]=\"resources.fileLayoutLabels[choice]\" [icon]=\"resources.fileLayoutIcons[choice]\" [checked]=\"layout()() === choice\"\n (triggered)=\"layout().set(choice)\"></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"] }] });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitFileLayoutButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitFileLayoutButtonComponent, isStandalone: true, selector: "nol-git-file-layout-button", inputs: { layout: { classPropertyName: "layout", publicName: "layout", 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<button nol-icon-button type=\"button\" class=\"layout\" [icon]=\"resources.fileLayoutIcons[layout()()]\" [label]=\"resources.fileLayoutLabel\"\n [nolTooltip]=\"resources.fileLayoutLabel\" [nolMenuTriggerFor]=\"layouts\"></button>\n<ng-template #layouts>\n <nol-menu>\n @for (choice of resources.fileLayouts; track choice) {\n <button nol-menu-item [label]=\"resources.fileLayoutLabels[choice]\" [icon]=\"resources.fileLayoutIcons[choice]\" [checked]=\"layout()() === choice\"\n (triggered)=\"layout().set(choice)\"></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"] }] });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitFileLayoutButtonComponent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitFileLayoutButtonComponent, decorators: [{
20
20
  type: Component,
21
21
  args: [{ selector: "nol-git-file-layout-button", 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=\"layout\" [icon]=\"resources.fileLayoutIcons[layout()()]\" [label]=\"resources.fileLayoutLabel\"\n [nolTooltip]=\"resources.fileLayoutLabel\" [nolMenuTriggerFor]=\"layouts\"></button>\n<ng-template #layouts>\n <nol-menu>\n @for (choice of resources.fileLayouts; track choice) {\n <button nol-menu-item [label]=\"resources.fileLayoutLabels[choice]\" [icon]=\"resources.fileLayoutIcons[choice]\" [checked]=\"layout()() === choice\"\n (triggered)=\"layout().set(choice)\"></button>\n }\n </nol-menu>\n</ng-template>\n" }]
22
22
  }], propDecorators: { layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: true }] }] } });
@@ -20,10 +20,10 @@ export class GitForcePushDialogComponent {
20
20
  offer = input.required(/* @ts-ignore */
21
21
  ...(ngDevMode ? [{ debugName: "offer" }] : /* istanbul ignore next */ []));
22
22
  answered = output();
23
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitForcePushDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.3.0", type: GitForcePushDialogComponent, isStandalone: true, selector: "nol-git-force-push-dialog", inputs: { offer: { classPropertyName: "offer", publicName: "offer", 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.forcePushTitle\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ text() }}</p>\n <button nol-button nolDialogAction type=\"button\" class=\"force\" (click)=\"answered.emit(true)\">{{ resources.forcePushLabel }}</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"] }] });
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitForcePushDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.3.2", type: GitForcePushDialogComponent, isStandalone: true, selector: "nol-git-force-push-dialog", inputs: { offer: { classPropertyName: "offer", publicName: "offer", 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.forcePushTitle\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ text() }}</p>\n <button nol-button nolDialogAction type=\"button\" class=\"force\" (click)=\"answered.emit(true)\">{{ resources.forcePushLabel }}</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"] }] });
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitForcePushDialogComponent, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitForcePushDialogComponent, decorators: [{
27
27
  type: Component,
28
28
  args: [{ selector: "nol-git-force-push-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.forcePushTitle\" (dismissed)=\"answered.emit(false)\">\n <p class=\"text\">{{ text() }}</p>\n <button nol-button nolDialogAction type=\"button\" class=\"force\" (click)=\"answered.emit(true)\">{{ resources.forcePushLabel }}</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"] }]
29
29
  }], propDecorators: { offer: [{ type: i0.Input, args: [{ isSignal: true, alias: "offer", required: true }] }], answered: [{ type: i0.Output, args: ["answered"] }] } });