@noldova/git.window 0.0.9 → 0.0.11

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 (75) hide show
  1. package/package.json +10 -6
  2. package/src/api/index.d.ts +6 -1
  3. package/src/app/components/git-accounts/git-accounts.component.js +2 -2
  4. package/src/app/components/git-accounts/git-accounts.component.js.map +1 -1
  5. package/src/app/components/git-agents/git-agents.component.js +4 -5
  6. package/src/app/components/git-agents/git-agents.component.js.map +1 -1
  7. package/src/app/components/git-branch-card/git-branch-card.component.js +2 -2
  8. package/src/app/components/git-branch-card/git-branch-card.component.js.map +1 -1
  9. package/src/app/components/git-clone-dialog/git-clone-dialog.component.js +210 -0
  10. package/src/app/components/git-clone-dialog/git-clone-dialog.component.js.map +1 -0
  11. package/src/app/components/git-command-log/git-command-log.component.js +2 -2
  12. package/src/app/components/git-commit-card/git-commit-card.component.js +5 -15
  13. package/src/app/components/git-commit-card/git-commit-card.component.js.map +1 -1
  14. package/src/app/components/git-conflicts/git-conflicts.component.js +2 -2
  15. package/src/app/components/git-conflicts/git-conflicts.component.js.map +1 -1
  16. package/src/app/components/git-diff-files/git-diff-files.component.js +3 -3
  17. package/src/app/components/git-diff-files/git-diff-files.component.js.map +1 -1
  18. package/src/app/components/git-file-group/git-file-group.component.js +4 -3
  19. package/src/app/components/git-file-group/git-file-group.component.js.map +1 -1
  20. package/src/app/components/git-history/git-history.component.js +49 -9
  21. package/src/app/components/git-history/git-history.component.js.map +1 -1
  22. package/src/app/components/git-pull-request-files/git-pull-request-files.component.js +4 -3
  23. package/src/app/components/git-pull-request-files/git-pull-request-files.component.js.map +1 -1
  24. package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js +4 -3
  25. package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js.map +1 -1
  26. package/src/app/components/git-pull-requests/git-pull-requests.component.js +4 -6
  27. package/src/app/components/git-pull-requests/git-pull-requests.component.js.map +1 -1
  28. package/src/app/components/git-repository/git-repository.component.js +6 -4
  29. package/src/app/components/git-repository/git-repository.component.js.map +1 -1
  30. package/src/app/components/git-undo-menu/git-undo-menu.component.js +20 -4
  31. package/src/app/components/git-undo-menu/git-undo-menu.component.js.map +1 -1
  32. package/src/app/components/git-view/git-view.component.js +18 -3
  33. package/src/app/components/git-view/git-view.component.js.map +1 -1
  34. package/src/app/components/git-workspace/git-workspace.component.js +52 -4
  35. package/src/app/components/git-workspace/git-workspace.component.js.map +1 -1
  36. package/src/app/components/git-workspaces/git-workspaces.component.js +3 -3
  37. package/src/app/components/git-workspaces/git-workspaces.component.js.map +1 -1
  38. package/src/app/enums/git-add-kind.js +14 -0
  39. package/src/app/enums/git-add-kind.js.map +1 -0
  40. package/src/app/enums/git-host-feature.js +1 -0
  41. package/src/app/enums/git-host-feature.js.map +1 -1
  42. package/src/app/models/git-clone-source.js +29 -0
  43. package/src/app/models/git-clone-source.js.map +1 -0
  44. package/src/app/models/git-folder-look.js +6 -0
  45. package/src/app/models/git-folder-look.js.map +1 -1
  46. package/src/app/services/git-add-requests.js +20 -0
  47. package/src/app/services/git-add-requests.js.map +1 -0
  48. package/src/app/services/git-clone-folders.js +37 -0
  49. package/src/app/services/git-clone-folders.js.map +1 -0
  50. package/src/app/services/git-clone-sources.js +20 -0
  51. package/src/app/services/git-clone-sources.js.map +1 -0
  52. package/src/app/services/git-folder-keys.js +27 -0
  53. package/src/app/services/git-folder-keys.js.map +1 -0
  54. package/src/app/services/git-folder-looks.js +30 -1
  55. package/src/app/services/git-folder-looks.js.map +1 -1
  56. package/src/app/services/git-folder-watch.js +50 -0
  57. package/src/app/services/git-folder-watch.js.map +1 -0
  58. package/src/app/services/git-history-asks.js +2 -1
  59. package/src/app/services/git-history-asks.js.map +1 -1
  60. package/src/app/services/git-repository-scans.js +8 -3
  61. package/src/app/services/git-repository-scans.js.map +1 -1
  62. package/src/app/services/git-runtime-client.js +25 -1
  63. package/src/app/services/git-runtime-client.js.map +1 -1
  64. package/src/app/services/git-view-commands.js +46 -0
  65. package/src/app/services/git-view-commands.js.map +1 -0
  66. package/src/app/services/git-view-state.service.js +54 -2
  67. package/src/app/services/git-view-state.service.js.map +1 -1
  68. package/src/app/services/git-viewing.js +2 -1
  69. package/src/app/services/git-viewing.js.map +1 -1
  70. package/src/app/services/git-window-part.js +16 -2
  71. package/src/app/services/git-window-part.js.map +1 -1
  72. package/src/app/services/git-workspace-pages.js +14 -2
  73. package/src/app/services/git-workspace-pages.js.map +1 -1
  74. package/src/resources.js +91 -4
  75. package/src/resources.js.map +1 -1
@@ -10,7 +10,7 @@ import "@noldova/context.core";
10
10
  import { WindowException, WindowPartTokens } from "@noldova/desktop.window";
11
11
  import { HostPullRequestFiles } from "@noldova/git.hosting.protocol";
12
12
  import { DiffScope, DiffScopeKind, DiffTotals, GitCommitDetailParams, GitDiffParams, GitFetchParams, GitFolderParams, GitNames, GitStatus } from "@noldova/git.protocol";
13
- import { ButtonComponent, ButtonVariant, FileBadgeComponent, SpinnerComponent } from "@noldova/ui.components.angular";
13
+ import { ButtonComponent, ButtonVariant, FileBadgeComponent, SectionHeaderActionDirective, SectionHeaderComponent, SpinnerComponent } from "@noldova/ui.components.angular";
14
14
  import { GitFileLayout } from "../../enums/git-file-layout.js";
15
15
  import { GitFolder } from "../../services/git-folder.js";
16
16
  import { GitPathLayout } from "../../services/git-path-layout.js";
@@ -219,10 +219,11 @@ export class GitPullRequestFilesComponent {
219
219
  }
220
220
  }
221
221
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitPullRequestFilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
222
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitPullRequestFilesComponent, isStandalone: true, selector: "nol-git-pull-request-files", inputs: { host: { classPropertyName: "host", publicName: "host", isSignal: true, isRequired: true, transformFunction: null }, reference: { classPropertyName: "reference", publicName: "reference", isSignal: true, isRequired: true, transformFunction: null }, url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: true, transformFunction: null }, answer: { classPropertyName: "answer", publicName: "answer", isSignal: true, isRequired: false, transformFunction: null }, reveal: { classPropertyName: "reveal", publicName: "reveal", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { counted: "counted", unrevealed: "unrevealed" }, viewQueries: [{ propertyName: "diffFiles", first: true, predicate: GitDiffFilesComponent, 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 (failure(); as failure) {\n <div class=\"notice\" role=\"alert\">\n <span class=\"material-symbols-rounded notice-icon\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"notice-text\">{{ failure }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n} @else if (isReading()) {\n <div class=\"notice\" role=\"status\">\n <nol-spinner />\n <span class=\"notice-text\">{{ resources.formatPullRequestFilesReading(host().name) }}</span>\n </div>\n} @else if (list(); as list) {\n @let local = folder();\n @if (local !== null && scope(); as scope) {\n <section class=\"local\" [attr.aria-label]=\"resources.pullRequestFilesLabel\">\n <nol-git-diff-files [folder]=\"local\" [scope]=\"scope\" [layout]=\"layout\" />\n </section>\n } @else {\n <section class=\"list\" [attr.aria-label]=\"resources.pullRequestFilesLabel\">\n @if (list.files.length > 0) {\n @if (folder(); as folder) {\n @if (list.commonCommit !== null) {\n <div class=\"hint\">\n <span class=\"hint-text\">{{ fetchFailure() ?? resources.pullRequestFilesFetchHint }}</span>\n <button type=\"button\" nol-button class=\"fetch\" [variant]=\"secondary\" [disabled]=\"isFetching()\" (click)=\"fetch(folder)\">{{ resources.fetchOfferLabel }}</button>\n </div>\n }\n } @else {\n <p class=\"hint\"><span class=\"hint-text\">{{ resources.pullRequestFilesOpenHint }}</span></p>\n }\n }\n @if (list.files.length > 0) {\n <div class=\"files-header\">\n <span class=\"caps\">{{ resources.formatFilesChanged(list.files.length) }}</span>\n <nol-git-file-layout-button class=\"layout\" [layout]=\"layout\" />\n </div>\n } @else {\n <p class=\"empty\">{{ resources.pullRequestNoFiles }}</p>\n }\n @for (entry of rows(); track $index) {\n @if (entry.item; as file) {\n <div class=\"row\" [title]=\"file.path\" [style.padding-inline-start.rem]=\"insetOf(entry.depth)\">\n <nol-file-badge [fileName]=\"nameOf(file.path)\" />\n <span class=\"path\">{{ entry.name }}@if (file.previousPath; as previous) {<span class=\"from\">{{ resources.formatPullRequestFileMovedFrom(previous) }}</span>}</span>\n <span class=\"letter\">{{ letterOf(file) }}</span>\n </div>\n } @else {\n <button type=\"button\" class=\"row folder\" [title]=\"entry.folder\" [attr.aria-expanded]=\"!closed().has(entry.folder)\"\n [style.padding-inline-start.rem]=\"insetOf(entry.depth)\" (click)=\"toggle(entry.folder)\">\n <span class=\"ms\">{{ closed().has(entry.folder) ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"path\">{{ entry.name }}</span>\n </button>\n }\n }\n @if (list.hasMore) {\n <p class=\"cap\">{{ resources.formatPullRequestFilesCapped(list.files.length) }}</p>\n }\n </section>\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n min-width: 0;\n}\n\n.notice {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\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 color: var(--nol-text-muted);\n}\n\n.notice-text {\n flex: 1;\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.notice-icon {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.list {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.local {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.hint {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n margin: 0 0 var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-1);\n color: var(--nol-text-muted);\n}\n\n.hint-text {\n flex: 1;\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.files-header {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n justify-content: space-between;\n min-width: 0;\n padding: 0 var(--nol-space-1);\n}\n\n.caps {\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n letter-spacing: 0.02em;\n text-transform: uppercase;\n}\n\n.row {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n min-height: var(--nol-button-height);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.folder {\n cursor: pointer;\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.letter {\n flex: none;\n min-width: 1rem;\n color: var(--nol-text-muted);\n font-family: var(--nol-font-mono);\n text-align: center;\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.from {\n color: var(--nol-text-muted);\n}\n\n.empty,\n.cap {\n margin: 0;\n padding: var(--nol-space-1);\n color: var(--nol-text-muted);\n}\n\n.cap {\n font-size: var(--nol-text-label);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: GitDiffFilesComponent, selector: "nol-git-diff-files", inputs: ["folder", "scope", "layout"] }, { kind: "component", type: GitFileLayoutButtonComponent, selector: "nol-git-file-layout-button", inputs: ["layout"] }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }] });
222
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitPullRequestFilesComponent, isStandalone: true, selector: "nol-git-pull-request-files", inputs: { host: { classPropertyName: "host", publicName: "host", isSignal: true, isRequired: true, transformFunction: null }, reference: { classPropertyName: "reference", publicName: "reference", isSignal: true, isRequired: true, transformFunction: null }, url: { classPropertyName: "url", publicName: "url", isSignal: true, isRequired: true, transformFunction: null }, answer: { classPropertyName: "answer", publicName: "answer", isSignal: true, isRequired: false, transformFunction: null }, reveal: { classPropertyName: "reveal", publicName: "reveal", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { counted: "counted", unrevealed: "unrevealed" }, viewQueries: [{ propertyName: "diffFiles", first: true, predicate: GitDiffFilesComponent, 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 (failure(); as failure) {\n <div class=\"notice\" role=\"alert\">\n <span class=\"material-symbols-rounded notice-icon\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"notice-text\">{{ failure }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n} @else if (isReading()) {\n <div class=\"notice\" role=\"status\">\n <nol-spinner />\n <span class=\"notice-text\">{{ resources.formatPullRequestFilesReading(host().name) }}</span>\n </div>\n} @else if (list(); as list) {\n @let local = folder();\n @if (local !== null && scope(); as scope) {\n <section class=\"local\" [attr.aria-label]=\"resources.pullRequestFilesLabel\">\n <nol-git-diff-files [folder]=\"local\" [scope]=\"scope\" [layout]=\"layout\" />\n </section>\n } @else {\n <section class=\"list\" [attr.aria-label]=\"resources.pullRequestFilesLabel\">\n @if (list.files.length > 0) {\n @if (folder(); as folder) {\n @if (list.commonCommit !== null) {\n <div class=\"hint\">\n <span class=\"hint-text\">{{ fetchFailure() ?? resources.pullRequestFilesFetchHint }}</span>\n <button type=\"button\" nol-button class=\"fetch\" [variant]=\"secondary\" [disabled]=\"isFetching()\" (click)=\"fetch(folder)\">{{ resources.fetchOfferLabel }}</button>\n </div>\n }\n } @else {\n <p class=\"hint\"><span class=\"hint-text\">{{ resources.pullRequestFilesOpenHint }}</span></p>\n }\n }\n @if (list.files.length > 0) {\n <nol-section-header [label]=\"resources.formatFilesChanged(list.files.length)\" [level]=\"3\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <nol-git-file-layout-button nolSectionHeaderAction class=\"layout\" [layout]=\"layout\" />\n </nol-section-header>\n } @else {\n <p class=\"empty\">{{ resources.pullRequestNoFiles }}</p>\n }\n @for (entry of rows(); track $index) {\n @if (entry.item; as file) {\n <div class=\"row\" [title]=\"file.path\" [style.padding-inline-start.rem]=\"insetOf(entry.depth)\">\n <nol-file-badge [fileName]=\"nameOf(file.path)\" />\n <span class=\"path\">{{ entry.name }}@if (file.previousPath; as previous) {<span class=\"from\">{{ resources.formatPullRequestFileMovedFrom(previous) }}</span>}</span>\n <span class=\"letter\">{{ letterOf(file) }}</span>\n </div>\n } @else {\n <button type=\"button\" class=\"row folder\" [title]=\"entry.folder\" [attr.aria-expanded]=\"!closed().has(entry.folder)\"\n [style.padding-inline-start.rem]=\"insetOf(entry.depth)\" (click)=\"toggle(entry.folder)\">\n <span class=\"ms\">{{ closed().has(entry.folder) ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"path\">{{ entry.name }}</span>\n </button>\n }\n }\n @if (list.hasMore) {\n <p class=\"cap\">{{ resources.formatPullRequestFilesCapped(list.files.length) }}</p>\n }\n </section>\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n min-width: 0;\n}\n\n.notice {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\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 color: var(--nol-text-muted);\n}\n\n.notice-text {\n flex: 1;\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.notice-icon {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.list {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.local {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.hint {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n margin: 0 0 var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-1);\n color: var(--nol-text-muted);\n}\n\n.hint-text {\n flex: 1;\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\nnol-section-header {\n margin-inline: calc(-1 * var(--nol-space-1)) 0;\n}\n\nnol-git-file-layout-button {\n display: flex;\n}\n\n.row {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n min-height: var(--nol-button-height);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.folder {\n cursor: pointer;\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.letter {\n flex: none;\n min-width: 1rem;\n color: var(--nol-text-muted);\n font-family: var(--nol-font-mono);\n text-align: center;\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.from {\n color: var(--nol-text-muted);\n}\n\n.empty,\n.cap {\n margin: 0;\n padding: var(--nol-space-1);\n color: var(--nol-text-muted);\n}\n\n.cap {\n font-size: var(--nol-text-label);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: GitDiffFilesComponent, selector: "nol-git-diff-files", inputs: ["folder", "scope", "layout"] }, { 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: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }] });
223
223
  }
224
224
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitPullRequestFilesComponent, decorators: [{
225
225
  type: Component,
226
- args: [{ selector: "nol-git-pull-request-files", imports: [ButtonComponent, FileBadgeComponent, GitDiffFilesComponent, GitFileLayoutButtonComponent, SpinnerComponent], 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 failure) {\n <div class=\"notice\" role=\"alert\">\n <span class=\"material-symbols-rounded notice-icon\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"notice-text\">{{ failure }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n} @else if (isReading()) {\n <div class=\"notice\" role=\"status\">\n <nol-spinner />\n <span class=\"notice-text\">{{ resources.formatPullRequestFilesReading(host().name) }}</span>\n </div>\n} @else if (list(); as list) {\n @let local = folder();\n @if (local !== null && scope(); as scope) {\n <section class=\"local\" [attr.aria-label]=\"resources.pullRequestFilesLabel\">\n <nol-git-diff-files [folder]=\"local\" [scope]=\"scope\" [layout]=\"layout\" />\n </section>\n } @else {\n <section class=\"list\" [attr.aria-label]=\"resources.pullRequestFilesLabel\">\n @if (list.files.length > 0) {\n @if (folder(); as folder) {\n @if (list.commonCommit !== null) {\n <div class=\"hint\">\n <span class=\"hint-text\">{{ fetchFailure() ?? resources.pullRequestFilesFetchHint }}</span>\n <button type=\"button\" nol-button class=\"fetch\" [variant]=\"secondary\" [disabled]=\"isFetching()\" (click)=\"fetch(folder)\">{{ resources.fetchOfferLabel }}</button>\n </div>\n }\n } @else {\n <p class=\"hint\"><span class=\"hint-text\">{{ resources.pullRequestFilesOpenHint }}</span></p>\n }\n }\n @if (list.files.length > 0) {\n <div class=\"files-header\">\n <span class=\"caps\">{{ resources.formatFilesChanged(list.files.length) }}</span>\n <nol-git-file-layout-button class=\"layout\" [layout]=\"layout\" />\n </div>\n } @else {\n <p class=\"empty\">{{ resources.pullRequestNoFiles }}</p>\n }\n @for (entry of rows(); track $index) {\n @if (entry.item; as file) {\n <div class=\"row\" [title]=\"file.path\" [style.padding-inline-start.rem]=\"insetOf(entry.depth)\">\n <nol-file-badge [fileName]=\"nameOf(file.path)\" />\n <span class=\"path\">{{ entry.name }}@if (file.previousPath; as previous) {<span class=\"from\">{{ resources.formatPullRequestFileMovedFrom(previous) }}</span>}</span>\n <span class=\"letter\">{{ letterOf(file) }}</span>\n </div>\n } @else {\n <button type=\"button\" class=\"row folder\" [title]=\"entry.folder\" [attr.aria-expanded]=\"!closed().has(entry.folder)\"\n [style.padding-inline-start.rem]=\"insetOf(entry.depth)\" (click)=\"toggle(entry.folder)\">\n <span class=\"ms\">{{ closed().has(entry.folder) ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"path\">{{ entry.name }}</span>\n </button>\n }\n }\n @if (list.hasMore) {\n <p class=\"cap\">{{ resources.formatPullRequestFilesCapped(list.files.length) }}</p>\n }\n </section>\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n min-width: 0;\n}\n\n.notice {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\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 color: var(--nol-text-muted);\n}\n\n.notice-text {\n flex: 1;\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.notice-icon {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.list {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.local {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.hint {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n margin: 0 0 var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-1);\n color: var(--nol-text-muted);\n}\n\n.hint-text {\n flex: 1;\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.files-header {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n justify-content: space-between;\n min-width: 0;\n padding: 0 var(--nol-space-1);\n}\n\n.caps {\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n letter-spacing: 0.02em;\n text-transform: uppercase;\n}\n\n.row {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n min-height: var(--nol-button-height);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.folder {\n cursor: pointer;\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.letter {\n flex: none;\n min-width: 1rem;\n color: var(--nol-text-muted);\n font-family: var(--nol-font-mono);\n text-align: center;\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.from {\n color: var(--nol-text-muted);\n}\n\n.empty,\n.cap {\n margin: 0;\n padding: var(--nol-space-1);\n color: var(--nol-text-muted);\n}\n\n.cap {\n font-size: var(--nol-text-label);\n}\n"] }]
226
+ args: [{ selector: "nol-git-pull-request-files", imports: [ButtonComponent, FileBadgeComponent, GitDiffFilesComponent, GitFileLayoutButtonComponent, SectionHeaderActionDirective, SectionHeaderComponent,
227
+ SpinnerComponent], 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 failure) {\n <div class=\"notice\" role=\"alert\">\n <span class=\"material-symbols-rounded notice-icon\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"notice-text\">{{ failure }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n} @else if (isReading()) {\n <div class=\"notice\" role=\"status\">\n <nol-spinner />\n <span class=\"notice-text\">{{ resources.formatPullRequestFilesReading(host().name) }}</span>\n </div>\n} @else if (list(); as list) {\n @let local = folder();\n @if (local !== null && scope(); as scope) {\n <section class=\"local\" [attr.aria-label]=\"resources.pullRequestFilesLabel\">\n <nol-git-diff-files [folder]=\"local\" [scope]=\"scope\" [layout]=\"layout\" />\n </section>\n } @else {\n <section class=\"list\" [attr.aria-label]=\"resources.pullRequestFilesLabel\">\n @if (list.files.length > 0) {\n @if (folder(); as folder) {\n @if (list.commonCommit !== null) {\n <div class=\"hint\">\n <span class=\"hint-text\">{{ fetchFailure() ?? resources.pullRequestFilesFetchHint }}</span>\n <button type=\"button\" nol-button class=\"fetch\" [variant]=\"secondary\" [disabled]=\"isFetching()\" (click)=\"fetch(folder)\">{{ resources.fetchOfferLabel }}</button>\n </div>\n }\n } @else {\n <p class=\"hint\"><span class=\"hint-text\">{{ resources.pullRequestFilesOpenHint }}</span></p>\n }\n }\n @if (list.files.length > 0) {\n <nol-section-header [label]=\"resources.formatFilesChanged(list.files.length)\" [level]=\"3\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <nol-git-file-layout-button nolSectionHeaderAction class=\"layout\" [layout]=\"layout\" />\n </nol-section-header>\n } @else {\n <p class=\"empty\">{{ resources.pullRequestNoFiles }}</p>\n }\n @for (entry of rows(); track $index) {\n @if (entry.item; as file) {\n <div class=\"row\" [title]=\"file.path\" [style.padding-inline-start.rem]=\"insetOf(entry.depth)\">\n <nol-file-badge [fileName]=\"nameOf(file.path)\" />\n <span class=\"path\">{{ entry.name }}@if (file.previousPath; as previous) {<span class=\"from\">{{ resources.formatPullRequestFileMovedFrom(previous) }}</span>}</span>\n <span class=\"letter\">{{ letterOf(file) }}</span>\n </div>\n } @else {\n <button type=\"button\" class=\"row folder\" [title]=\"entry.folder\" [attr.aria-expanded]=\"!closed().has(entry.folder)\"\n [style.padding-inline-start.rem]=\"insetOf(entry.depth)\" (click)=\"toggle(entry.folder)\">\n <span class=\"ms\">{{ closed().has(entry.folder) ? resources.sectionClosedIcon : resources.sectionOpenIcon }}</span>\n <span class=\"ms\">{{ resources.folderIcon }}</span>\n <span class=\"path\">{{ entry.name }}</span>\n </button>\n }\n }\n @if (list.hasMore) {\n <p class=\"cap\">{{ resources.formatPullRequestFilesCapped(list.files.length) }}</p>\n }\n </section>\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n min-width: 0;\n}\n\n.notice {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\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 color: var(--nol-text-muted);\n}\n\n.notice-text {\n flex: 1;\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.notice-icon {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.list {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.local {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.hint {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n margin: 0 0 var(--nol-space-2);\n padding: var(--nol-space-1) var(--nol-space-1);\n color: var(--nol-text-muted);\n}\n\n.hint-text {\n flex: 1;\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\nnol-section-header {\n margin-inline: calc(-1 * var(--nol-space-1)) 0;\n}\n\nnol-git-file-layout-button {\n display: flex;\n}\n\n.row {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n min-height: var(--nol-button-height);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.folder {\n cursor: pointer;\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.letter {\n flex: none;\n min-width: 1rem;\n color: var(--nol-text-muted);\n font-family: var(--nol-font-mono);\n text-align: center;\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.from {\n color: var(--nol-text-muted);\n}\n\n.empty,\n.cap {\n margin: 0;\n padding: var(--nol-space-1);\n color: var(--nol-text-muted);\n}\n\n.cap {\n font-size: var(--nol-text-label);\n}\n"] }]
227
228
  }], ctorParameters: () => [], propDecorators: { diffFiles: [{ type: i0.ViewChild, args: [i0.forwardRef(() => GitDiffFilesComponent), { isSignal: true }] }], host: [{ type: i0.Input, args: [{ isSignal: true, alias: "host", required: true }] }], reference: [{ type: i0.Input, args: [{ isSignal: true, alias: "reference", required: true }] }], url: [{ type: i0.Input, args: [{ isSignal: true, alias: "url", required: true }] }], answer: [{ type: i0.Input, args: [{ isSignal: true, alias: "answer", required: false }] }], reveal: [{ type: i0.Input, args: [{ isSignal: true, alias: "reveal", required: false }] }], counted: [{ type: i0.Output, args: ["counted"] }], unrevealed: [{ type: i0.Output, args: ["unrevealed"] }] } });
228
229
  //# sourceMappingURL=git-pull-request-files.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-pull-request-files.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-pull-request-files/git-pull-request-files.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-pull-request-files/git-pull-request-files.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iBAAiB,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAyB,YAAY,EAAe,MAAM,EAAE,SAAS,EAAE,SAAS,EACpL,MAAM,eAAe,CAAC;AACvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,eAAe,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACrG,OAAO,EAA4B,oBAAoB,EAAsB,MAAM,+BAA+B,CAAC;AACnH,OAAO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-files.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-pull-request-files/git-pull-request-files.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-pull-request-files/git-pull-request-files.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iBAAiB,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAyB,YAAY,EAAe,MAAM,EAAE,SAAS,EAAE,SAAS,EACpL,MAAM,eAAe,CAAC;AACvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,eAAe,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACrG,OAAO,EAA4B,oBAAoB,EAAsB,MAAM,+BAA+B,CAAC;AACnH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,qBAAqB,EAAE,aAAa,EAAE,cAAc,EAAE,eAAe,EAAE,QAAQ,EAAE,SAAS,EAAE,MACpI,uBAAuB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,sBAAsB,EAC/G,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAI/D,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+DAA+D,CAAC;;AAS7G,MAAM,OAAO,4BAA4B;IACtB,OAAO,GAAuB,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;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AAS,CAAC,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;QAC5D,CAAC;QACD,OAAO,KAAK,EAAE,CAAC;YACb,IAAI,CAAC,CAAC,KAAK,YAAY,eAAe,CAAC;gBACrC,MAAM,KAAK,CAAC;YACd,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;uGA1MU,4BAA4B;2FAA5B,4BAA4B,syBAK2C,qBAAqB,gEC1CzG,w0GAoEA,y/EDlCY,eAAe,oJAAE,kBAAkB,6FAAE,qBAAqB,sGAAE,4BAA4B,2FAAE,4BAA4B,qEAAE,sBAAsB,8NACtJ,gBAAgB;;2FAEP,4BAA4B;kBAPxC,SAAS;+BACE,4BAA4B,WAG7B,CAAC,eAAe,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,sBAAsB;wBACtJ,gBAAgB,CAAC;qHAO+D,qBAAqB"}
@@ -9,7 +9,7 @@ import { afterNextRender, Component, computed, effect, ElementRef, inject, Injec
9
9
  import "@noldova/context.core";
10
10
  import { TimeFormatService, WindowException, WindowPartTokens } from "@noldova/desktop.window";
11
11
  import { HostComment, HostPullRequestThreads, HostThread, ThreadStatus } from "@noldova/git.hosting.protocol";
12
- import { AvatarSize, ButtonComponent, ButtonSize, ButtonVariant, SpinnerComponent, TextFieldComponent } from "@noldova/ui.components.angular";
12
+ import { AvatarSize, ButtonComponent, ButtonSize, ButtonVariant, SectionHeaderComponent, SectionHeaderDetailDirective, SpinnerComponent, TextFieldComponent } from "@noldova/ui.components.angular";
13
13
  import { MarkdownViewComponent } from "@noldova/ui.components.angular/markdown";
14
14
  import { GitHostFailure } from "../../models/git-host-failure.js";
15
15
  import { ThreadLine } from "../../models/thread-line.js";
@@ -212,10 +212,11 @@ export class GitPullRequestThreadsComponent {
212
212
  }
213
213
  }
214
214
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitPullRequestThreadsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
215
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitPullRequestThreadsComponent, isStandalone: true, selector: "nol-git-pull-request-threads", inputs: { host: { classPropertyName: "host", publicName: "host", isSignal: true, isRequired: true, transformFunction: null }, reference: { classPropertyName: "reference", publicName: "reference", isSignal: true, isRequired: true, transformFunction: null }, isAutoComplete: { classPropertyName: "isAutoComplete", publicName: "isAutoComplete", isSignal: true, isRequired: false, transformFunction: null }, references: { classPropertyName: "references", publicName: "references", isSignal: true, isRequired: false, transformFunction: null }, login: { classPropertyName: "login", publicName: "login", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { linkOpen: "linkOpen", goToLine: "goToLine" }, viewQueries: [{ propertyName: "draftFields", predicate: ["draft"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<section class=\"threads\" [attr.aria-label]=\"resources.commentsTitle\">\n <div class=\"threads-head\">\n <h2 class=\"threads-title\">{{ resources.commentsTitle }}</h2>\n @if (threads().length > 0) {\n <span class=\"small muted\">{{ resources.formatOpenThreads(openCount()) }}</span>\n }\n </div>\n @if (failure(); as failure) {\n <div class=\"threads-notice\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"grow\">{{ textOf(failure) }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n } @else if (isRead()) {\n @if (hasMore()) {\n <p class=\"small muted threads-more\">{{ resources.formatOlderComments(host().name) }}</p>\n }\n @for (thread of threads(); track thread.id) {\n <article class=\"thread\" [attr.aria-busy]=\"busy().has(thread.id)\">\n @if (thread.path !== null || thread.state !== none) {\n <div class=\"thread-head\">\n <span class=\"material-symbols-rounded thread-icon\" aria-hidden=\"true\">{{ resources.threadIcon }}</span>\n <span class=\"place\" [attr.title]=\"thread.path\">@if (thread.state !== none) {<span class=\"thread-state\" [class.open]=\"resources.openThreadStates.includes(thread.state)\">{{ resources.threadLabels[thread.state] }}</span>}{{ resources.formatThreadPlace(thread.state !== none, thread.path, thread.line) }}</span>\n @if (thread.path; as path) {\n @if (thread.line; as line) {\n <button type=\"button\" nol-button class=\"go-to-line\" [variant]=\"secondary\" [size]=\"compact\"\n (click)=\"goToLine.emit(lineOf(thread, path, line))\">{{ resources.goToLine }}</button>\n }\n }\n </div>\n }\n @if (isFolded(thread)) {\n @for (first of thread.comments.slice(0, 1); track first.id) {\n <button type=\"button\" class=\"fold\" aria-expanded=\"false\" (click)=\"unfold(thread)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.unfoldIcon }}</span>\n <span class=\"name\">{{ first.author.name ?? first.author.login }}</span>\n <span class=\"grow muted\">{{ first.body }}</span>\n <span class=\"small muted\">{{ resources.formatCommentCount(thread.comments.length) }}</span>\n </button>\n }\n } @else {\n @for (comment of thread.comments; track comment.id) {\n <div class=\"comment\" [class.reply]=\"comment.parent !== null\">\n <nol-git-person-avatar [host]=\"host()\" [reference]=\"reference()\" [login]=\"comment.author.login\" [image]=\"comment.author.avatar\" [size]=\"small\" />\n <div class=\"comment-main\">\n <div class=\"comment-meta\">\n <span class=\"name\">{{ comment.author.name ?? comment.author.login }}</span>\n <span class=\"small muted\">{{ dateOf(comment) }}</span>\n </div>\n <nol-markdown-view [text]=\"comment.body\" [references]=\"references()\" (linkOpen)=\"linkOpen.emit($event)\" />\n </div>\n </div>\n }\n @if (host().replyToThreadMethod !== null || host().changeThreadMethod !== null) {\n <div class=\"answer\">\n @if (host().replyToThreadMethod !== null && isReplying(thread)) {\n <textarea #draft nol-text-field rows=\"2\" class=\"draft\" [attr.data-thread]=\"thread.id\" [attr.aria-label]=\"resources.replyLabel\"\n [placeholder]=\"resources.replyPlaceholder\" [value]=\"draftOf(thread)\" [disabled]=\"busy().has(thread.id)\" (input)=\"noteDrafts()\"></textarea>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n @if (confirming() === thread.id) {\n <div class=\"change-confirm\" role=\"alert\">\n <span class=\"grow\">{{ resources.autoCompleteResolveConfirm }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" class=\"cancel\" (click)=\"cancelChange()\">{{ resources.cancelAction }}</button>\n <button type=\"button\" nol-button class=\"confirm\" (click)=\"confirmChange(thread, changeMethod)\">{{ resources.resolveAnyway }}</button>\n </div>\n }\n }\n <div class=\"answer-actions\">\n @if (writeFailures().get(thread.id); as writeFailure) {\n <span class=\"answer-failure\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>{{ textOf(writeFailure) }}\n </span>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n <button type=\"button\" nol-button class=\"change\" [variant]=\"secondary\" [disabled]=\"busy().has(thread.id)\" (click)=\"askChange(thread, changeMethod)\">\n {{ isOpen(thread) ? resources.resolveThread : resources.reactivateThread }}\n </button>\n }\n @if (host().replyToThreadMethod; as replyMethod) {\n @if (isReplying(thread)) {\n <button type=\"button\" nol-button class=\"send\" [disabled]=\"!canReply(thread)\" (click)=\"replyAsync(thread, replyMethod)\">{{ resources.replyAction }}</button>\n } @else {\n <button type=\"button\" nol-button class=\"start-reply\" [disabled]=\"busy().has(thread.id)\" (click)=\"startReply(thread)\">{{ resources.replyAction }}</button>\n }\n }\n </div>\n </div>\n }\n }\n </article>\n } @empty {\n <p class=\"muted\">{{ resources.noComments }}</p>\n }\n } @else {\n <div class=\"threads-notice\" role=\"status\">\n <nol-spinner />\n <span class=\"grow\">{{ resources.formatThreadsReading(host().name) }}</span>\n </div>\n }\n</section>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n min-width: 0;\n}\n\n.threads {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.threads-head,\n.threads-notice,\n.thread-head,\n.fold,\n.comment-meta {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.threads-title {\n flex: 1;\n margin: 0;\n color: var(--nol-text-strong);\n font-size: inherit;\n font-weight: var(--nol-weight-strong);\n}\n\n.threads-notice {\n color: var(--nol-text-muted);\n}\n\n.failed {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.thread {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.thread-icon {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.go-to-line {\n flex: none;\n}\n\n.place {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.thread-state {\n color: var(--nol-text-muted);\n}\n\n.thread-state.open {\n color: var(--nol-text);\n}\n\n.fold {\n min-height: var(--nol-button-height);\n margin-inline: calc(-1 * var(--nol-space-2));\n padding: 0 var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-medium);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.fold:hover {\n background-color: var(--nol-hover);\n}\n\n.comment {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\n min-width: 0;\n}\n\n.comment.reply {\n padding-inline-start: var(--nol-space-4);\n}\n\n.comment-main {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.answer {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding-inline-start: var(--nol-space-4);\n}\n\n.draft {\n box-sizing: border-box;\n width: 100%;\n resize: vertical;\n}\n\n.answer-actions {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n justify-content: flex-end;\n min-width: 0;\n}\n\n.change-confirm {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n font-size: var(--nol-text-label);\n}\n\n.answer-failure {\n display: inline-flex;\n flex: 1;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.name {\n flex: none;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-strong);\n}\n\n.grow {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.small {\n font-size: var(--nol-text-label);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\np {\n margin: 0;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GitPersonAvatarComponent, selector: "nol-git-person-avatar", inputs: ["host", "reference", "login", "image", "size"] }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "revealBurst", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }] });
215
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitPullRequestThreadsComponent, isStandalone: true, selector: "nol-git-pull-request-threads", inputs: { host: { classPropertyName: "host", publicName: "host", isSignal: true, isRequired: true, transformFunction: null }, reference: { classPropertyName: "reference", publicName: "reference", isSignal: true, isRequired: true, transformFunction: null }, isAutoComplete: { classPropertyName: "isAutoComplete", publicName: "isAutoComplete", isSignal: true, isRequired: false, transformFunction: null }, references: { classPropertyName: "references", publicName: "references", isSignal: true, isRequired: false, transformFunction: null }, login: { classPropertyName: "login", publicName: "login", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { linkOpen: "linkOpen", goToLine: "goToLine" }, viewQueries: [{ propertyName: "draftFields", predicate: ["draft"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<section class=\"threads\" [attr.aria-label]=\"resources.commentsTitle\">\n <nol-section-header class=\"threads-head\" [label]=\"resources.commentsTitle\" [level]=\"2\">\n @if (threads().length > 0) {\n <span nolSectionHeaderDetail>{{ resources.formatOpenThreads(openCount()) }}</span>\n }\n </nol-section-header>\n @if (failure(); as failure) {\n <div class=\"threads-notice\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"grow\">{{ textOf(failure) }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n } @else if (isRead()) {\n @if (hasMore()) {\n <p class=\"small muted threads-more\">{{ resources.formatOlderComments(host().name) }}</p>\n }\n @for (thread of threads(); track thread.id) {\n <article class=\"thread\" [attr.aria-busy]=\"busy().has(thread.id)\">\n @if (thread.path !== null || thread.state !== none) {\n <div class=\"thread-head\">\n <span class=\"material-symbols-rounded thread-icon\" aria-hidden=\"true\">{{ resources.threadIcon }}</span>\n <span class=\"place\" [attr.title]=\"thread.path\">@if (thread.state !== none) {<span class=\"thread-state\" [class.open]=\"resources.openThreadStates.includes(thread.state)\">{{ resources.threadLabels[thread.state] }}</span>}{{ resources.formatThreadPlace(thread.state !== none, thread.path, thread.line) }}</span>\n @if (thread.path; as path) {\n @if (thread.line; as line) {\n <button type=\"button\" nol-button class=\"go-to-line\" [variant]=\"secondary\" [size]=\"compact\"\n (click)=\"goToLine.emit(lineOf(thread, path, line))\">{{ resources.goToLine }}</button>\n }\n }\n </div>\n }\n @if (isFolded(thread)) {\n @for (first of thread.comments.slice(0, 1); track first.id) {\n <button type=\"button\" class=\"fold\" aria-expanded=\"false\" (click)=\"unfold(thread)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.unfoldIcon }}</span>\n <span class=\"name\">{{ first.author.name ?? first.author.login }}</span>\n <span class=\"grow muted\">{{ first.body }}</span>\n <span class=\"small muted\">{{ resources.formatCommentCount(thread.comments.length) }}</span>\n </button>\n }\n } @else {\n @for (comment of thread.comments; track comment.id) {\n <div class=\"comment\" [class.reply]=\"comment.parent !== null\">\n <nol-git-person-avatar [host]=\"host()\" [reference]=\"reference()\" [login]=\"comment.author.login\" [image]=\"comment.author.avatar\" [size]=\"small\" />\n <div class=\"comment-main\">\n <div class=\"comment-meta\">\n <span class=\"name\">{{ comment.author.name ?? comment.author.login }}</span>\n <span class=\"small muted\">{{ dateOf(comment) }}</span>\n </div>\n <nol-markdown-view [text]=\"comment.body\" [references]=\"references()\" (linkOpen)=\"linkOpen.emit($event)\" />\n </div>\n </div>\n }\n @if (host().replyToThreadMethod !== null || host().changeThreadMethod !== null) {\n <div class=\"answer\">\n @if (host().replyToThreadMethod !== null && isReplying(thread)) {\n <textarea #draft nol-text-field rows=\"2\" class=\"draft\" [attr.data-thread]=\"thread.id\" [attr.aria-label]=\"resources.replyLabel\"\n [placeholder]=\"resources.replyPlaceholder\" [value]=\"draftOf(thread)\" [disabled]=\"busy().has(thread.id)\" (input)=\"noteDrafts()\"></textarea>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n @if (confirming() === thread.id) {\n <div class=\"change-confirm\" role=\"alert\">\n <span class=\"grow\">{{ resources.autoCompleteResolveConfirm }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" class=\"cancel\" (click)=\"cancelChange()\">{{ resources.cancelAction }}</button>\n <button type=\"button\" nol-button class=\"confirm\" (click)=\"confirmChange(thread, changeMethod)\">{{ resources.resolveAnyway }}</button>\n </div>\n }\n }\n <div class=\"answer-actions\">\n @if (writeFailures().get(thread.id); as writeFailure) {\n <span class=\"answer-failure\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>{{ textOf(writeFailure) }}\n </span>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n <button type=\"button\" nol-button class=\"change\" [variant]=\"secondary\" [disabled]=\"busy().has(thread.id)\" (click)=\"askChange(thread, changeMethod)\">\n {{ isOpen(thread) ? resources.resolveThread : resources.reactivateThread }}\n </button>\n }\n @if (host().replyToThreadMethod; as replyMethod) {\n @if (isReplying(thread)) {\n <button type=\"button\" nol-button class=\"send\" [disabled]=\"!canReply(thread)\" (click)=\"replyAsync(thread, replyMethod)\">{{ resources.replyAction }}</button>\n } @else {\n <button type=\"button\" nol-button class=\"start-reply\" [disabled]=\"busy().has(thread.id)\" (click)=\"startReply(thread)\">{{ resources.replyAction }}</button>\n }\n }\n </div>\n </div>\n }\n }\n </article>\n } @empty {\n <p class=\"muted\">{{ resources.noComments }}</p>\n }\n } @else {\n <div class=\"threads-notice\" role=\"status\">\n <nol-spinner />\n <span class=\"grow\">{{ resources.formatThreadsReading(host().name) }}</span>\n </div>\n }\n</section>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n min-width: 0;\n}\n\n.threads {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.threads-head {\n margin-inline: calc(-1 * var(--nol-space-2));\n}\n\n.threads-notice,\n.thread-head,\n.fold,\n.comment-meta {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.threads-notice {\n color: var(--nol-text-muted);\n}\n\n.failed {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.thread {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.thread-icon {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.go-to-line {\n flex: none;\n}\n\n.place {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.thread-state {\n color: var(--nol-text-muted);\n}\n\n.thread-state.open {\n color: var(--nol-text);\n}\n\n.fold {\n min-height: var(--nol-button-height);\n margin-inline: calc(-1 * var(--nol-space-2));\n padding: 0 var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-medium);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.fold:hover {\n background-color: var(--nol-hover);\n}\n\n.comment {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\n min-width: 0;\n}\n\n.comment.reply {\n padding-inline-start: var(--nol-space-4);\n}\n\n.comment-main {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.answer {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding-inline-start: var(--nol-space-4);\n}\n\n.draft {\n box-sizing: border-box;\n width: 100%;\n resize: vertical;\n}\n\n.answer-actions {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n justify-content: flex-end;\n min-width: 0;\n}\n\n.change-confirm {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n font-size: var(--nol-text-label);\n}\n\n.answer-failure {\n display: inline-flex;\n flex: 1;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.name {\n flex: none;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-strong);\n}\n\n.grow {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.small {\n font-size: var(--nol-text-label);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\np {\n margin: 0;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GitPersonAvatarComponent, selector: "nol-git-person-avatar", inputs: ["host", "reference", "login", "image", "size"] }, { kind: "component", type: MarkdownViewComponent, selector: "nol-markdown-view", inputs: ["text", "streaming", "entering", "paced", "revealBurst", "mentions", "mentionNames", "fileLinks", "linkSchemes", "folderLinks", "references", "shellRuns", "math", "shellRunStates", "shellRunOutputs"], outputs: ["linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun"] }, { kind: "component", type: SectionHeaderComponent, selector: "nol-section-header", inputs: ["label", "level", "icon", "collapsible", "uppercase", "quiet", "controls", "actionsShown", "caretPosition", "expanded"], outputs: ["expandedChange"] }, { kind: "directive", type: SectionHeaderDetailDirective, selector: "[nolSectionHeaderDetail]" }, { kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }] });
216
216
  }
217
217
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitPullRequestThreadsComponent, decorators: [{
218
218
  type: Component,
219
- args: [{ selector: "nol-git-pull-request-threads", imports: [ButtonComponent, GitPersonAvatarComponent, MarkdownViewComponent, SpinnerComponent, TextFieldComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<section class=\"threads\" [attr.aria-label]=\"resources.commentsTitle\">\n <div class=\"threads-head\">\n <h2 class=\"threads-title\">{{ resources.commentsTitle }}</h2>\n @if (threads().length > 0) {\n <span class=\"small muted\">{{ resources.formatOpenThreads(openCount()) }}</span>\n }\n </div>\n @if (failure(); as failure) {\n <div class=\"threads-notice\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"grow\">{{ textOf(failure) }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n } @else if (isRead()) {\n @if (hasMore()) {\n <p class=\"small muted threads-more\">{{ resources.formatOlderComments(host().name) }}</p>\n }\n @for (thread of threads(); track thread.id) {\n <article class=\"thread\" [attr.aria-busy]=\"busy().has(thread.id)\">\n @if (thread.path !== null || thread.state !== none) {\n <div class=\"thread-head\">\n <span class=\"material-symbols-rounded thread-icon\" aria-hidden=\"true\">{{ resources.threadIcon }}</span>\n <span class=\"place\" [attr.title]=\"thread.path\">@if (thread.state !== none) {<span class=\"thread-state\" [class.open]=\"resources.openThreadStates.includes(thread.state)\">{{ resources.threadLabels[thread.state] }}</span>}{{ resources.formatThreadPlace(thread.state !== none, thread.path, thread.line) }}</span>\n @if (thread.path; as path) {\n @if (thread.line; as line) {\n <button type=\"button\" nol-button class=\"go-to-line\" [variant]=\"secondary\" [size]=\"compact\"\n (click)=\"goToLine.emit(lineOf(thread, path, line))\">{{ resources.goToLine }}</button>\n }\n }\n </div>\n }\n @if (isFolded(thread)) {\n @for (first of thread.comments.slice(0, 1); track first.id) {\n <button type=\"button\" class=\"fold\" aria-expanded=\"false\" (click)=\"unfold(thread)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.unfoldIcon }}</span>\n <span class=\"name\">{{ first.author.name ?? first.author.login }}</span>\n <span class=\"grow muted\">{{ first.body }}</span>\n <span class=\"small muted\">{{ resources.formatCommentCount(thread.comments.length) }}</span>\n </button>\n }\n } @else {\n @for (comment of thread.comments; track comment.id) {\n <div class=\"comment\" [class.reply]=\"comment.parent !== null\">\n <nol-git-person-avatar [host]=\"host()\" [reference]=\"reference()\" [login]=\"comment.author.login\" [image]=\"comment.author.avatar\" [size]=\"small\" />\n <div class=\"comment-main\">\n <div class=\"comment-meta\">\n <span class=\"name\">{{ comment.author.name ?? comment.author.login }}</span>\n <span class=\"small muted\">{{ dateOf(comment) }}</span>\n </div>\n <nol-markdown-view [text]=\"comment.body\" [references]=\"references()\" (linkOpen)=\"linkOpen.emit($event)\" />\n </div>\n </div>\n }\n @if (host().replyToThreadMethod !== null || host().changeThreadMethod !== null) {\n <div class=\"answer\">\n @if (host().replyToThreadMethod !== null && isReplying(thread)) {\n <textarea #draft nol-text-field rows=\"2\" class=\"draft\" [attr.data-thread]=\"thread.id\" [attr.aria-label]=\"resources.replyLabel\"\n [placeholder]=\"resources.replyPlaceholder\" [value]=\"draftOf(thread)\" [disabled]=\"busy().has(thread.id)\" (input)=\"noteDrafts()\"></textarea>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n @if (confirming() === thread.id) {\n <div class=\"change-confirm\" role=\"alert\">\n <span class=\"grow\">{{ resources.autoCompleteResolveConfirm }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" class=\"cancel\" (click)=\"cancelChange()\">{{ resources.cancelAction }}</button>\n <button type=\"button\" nol-button class=\"confirm\" (click)=\"confirmChange(thread, changeMethod)\">{{ resources.resolveAnyway }}</button>\n </div>\n }\n }\n <div class=\"answer-actions\">\n @if (writeFailures().get(thread.id); as writeFailure) {\n <span class=\"answer-failure\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>{{ textOf(writeFailure) }}\n </span>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n <button type=\"button\" nol-button class=\"change\" [variant]=\"secondary\" [disabled]=\"busy().has(thread.id)\" (click)=\"askChange(thread, changeMethod)\">\n {{ isOpen(thread) ? resources.resolveThread : resources.reactivateThread }}\n </button>\n }\n @if (host().replyToThreadMethod; as replyMethod) {\n @if (isReplying(thread)) {\n <button type=\"button\" nol-button class=\"send\" [disabled]=\"!canReply(thread)\" (click)=\"replyAsync(thread, replyMethod)\">{{ resources.replyAction }}</button>\n } @else {\n <button type=\"button\" nol-button class=\"start-reply\" [disabled]=\"busy().has(thread.id)\" (click)=\"startReply(thread)\">{{ resources.replyAction }}</button>\n }\n }\n </div>\n </div>\n }\n }\n </article>\n } @empty {\n <p class=\"muted\">{{ resources.noComments }}</p>\n }\n } @else {\n <div class=\"threads-notice\" role=\"status\">\n <nol-spinner />\n <span class=\"grow\">{{ resources.formatThreadsReading(host().name) }}</span>\n </div>\n }\n</section>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n min-width: 0;\n}\n\n.threads {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.threads-head,\n.threads-notice,\n.thread-head,\n.fold,\n.comment-meta {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.threads-title {\n flex: 1;\n margin: 0;\n color: var(--nol-text-strong);\n font-size: inherit;\n font-weight: var(--nol-weight-strong);\n}\n\n.threads-notice {\n color: var(--nol-text-muted);\n}\n\n.failed {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.thread {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.thread-icon {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.go-to-line {\n flex: none;\n}\n\n.place {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.thread-state {\n color: var(--nol-text-muted);\n}\n\n.thread-state.open {\n color: var(--nol-text);\n}\n\n.fold {\n min-height: var(--nol-button-height);\n margin-inline: calc(-1 * var(--nol-space-2));\n padding: 0 var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-medium);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.fold:hover {\n background-color: var(--nol-hover);\n}\n\n.comment {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\n min-width: 0;\n}\n\n.comment.reply {\n padding-inline-start: var(--nol-space-4);\n}\n\n.comment-main {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.answer {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding-inline-start: var(--nol-space-4);\n}\n\n.draft {\n box-sizing: border-box;\n width: 100%;\n resize: vertical;\n}\n\n.answer-actions {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n justify-content: flex-end;\n min-width: 0;\n}\n\n.change-confirm {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n font-size: var(--nol-text-label);\n}\n\n.answer-failure {\n display: inline-flex;\n flex: 1;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.name {\n flex: none;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-strong);\n}\n\n.grow {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.small {\n font-size: var(--nol-text-label);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\np {\n margin: 0;\n}\n"] }]
219
+ args: [{ selector: "nol-git-pull-request-threads", imports: [ButtonComponent, GitPersonAvatarComponent, MarkdownViewComponent, SectionHeaderComponent, SectionHeaderDetailDirective, SpinnerComponent,
220
+ TextFieldComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<section class=\"threads\" [attr.aria-label]=\"resources.commentsTitle\">\n <nol-section-header class=\"threads-head\" [label]=\"resources.commentsTitle\" [level]=\"2\">\n @if (threads().length > 0) {\n <span nolSectionHeaderDetail>{{ resources.formatOpenThreads(openCount()) }}</span>\n }\n </nol-section-header>\n @if (failure(); as failure) {\n <div class=\"threads-notice\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"grow\">{{ textOf(failure) }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"retry()\">{{ resources.tryAgainLabel }}</button>\n </div>\n } @else if (isRead()) {\n @if (hasMore()) {\n <p class=\"small muted threads-more\">{{ resources.formatOlderComments(host().name) }}</p>\n }\n @for (thread of threads(); track thread.id) {\n <article class=\"thread\" [attr.aria-busy]=\"busy().has(thread.id)\">\n @if (thread.path !== null || thread.state !== none) {\n <div class=\"thread-head\">\n <span class=\"material-symbols-rounded thread-icon\" aria-hidden=\"true\">{{ resources.threadIcon }}</span>\n <span class=\"place\" [attr.title]=\"thread.path\">@if (thread.state !== none) {<span class=\"thread-state\" [class.open]=\"resources.openThreadStates.includes(thread.state)\">{{ resources.threadLabels[thread.state] }}</span>}{{ resources.formatThreadPlace(thread.state !== none, thread.path, thread.line) }}</span>\n @if (thread.path; as path) {\n @if (thread.line; as line) {\n <button type=\"button\" nol-button class=\"go-to-line\" [variant]=\"secondary\" [size]=\"compact\"\n (click)=\"goToLine.emit(lineOf(thread, path, line))\">{{ resources.goToLine }}</button>\n }\n }\n </div>\n }\n @if (isFolded(thread)) {\n @for (first of thread.comments.slice(0, 1); track first.id) {\n <button type=\"button\" class=\"fold\" aria-expanded=\"false\" (click)=\"unfold(thread)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.unfoldIcon }}</span>\n <span class=\"name\">{{ first.author.name ?? first.author.login }}</span>\n <span class=\"grow muted\">{{ first.body }}</span>\n <span class=\"small muted\">{{ resources.formatCommentCount(thread.comments.length) }}</span>\n </button>\n }\n } @else {\n @for (comment of thread.comments; track comment.id) {\n <div class=\"comment\" [class.reply]=\"comment.parent !== null\">\n <nol-git-person-avatar [host]=\"host()\" [reference]=\"reference()\" [login]=\"comment.author.login\" [image]=\"comment.author.avatar\" [size]=\"small\" />\n <div class=\"comment-main\">\n <div class=\"comment-meta\">\n <span class=\"name\">{{ comment.author.name ?? comment.author.login }}</span>\n <span class=\"small muted\">{{ dateOf(comment) }}</span>\n </div>\n <nol-markdown-view [text]=\"comment.body\" [references]=\"references()\" (linkOpen)=\"linkOpen.emit($event)\" />\n </div>\n </div>\n }\n @if (host().replyToThreadMethod !== null || host().changeThreadMethod !== null) {\n <div class=\"answer\">\n @if (host().replyToThreadMethod !== null && isReplying(thread)) {\n <textarea #draft nol-text-field rows=\"2\" class=\"draft\" [attr.data-thread]=\"thread.id\" [attr.aria-label]=\"resources.replyLabel\"\n [placeholder]=\"resources.replyPlaceholder\" [value]=\"draftOf(thread)\" [disabled]=\"busy().has(thread.id)\" (input)=\"noteDrafts()\"></textarea>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n @if (confirming() === thread.id) {\n <div class=\"change-confirm\" role=\"alert\">\n <span class=\"grow\">{{ resources.autoCompleteResolveConfirm }}</span>\n <button type=\"button\" nol-button [variant]=\"secondary\" class=\"cancel\" (click)=\"cancelChange()\">{{ resources.cancelAction }}</button>\n <button type=\"button\" nol-button class=\"confirm\" (click)=\"confirmChange(thread, changeMethod)\">{{ resources.resolveAnyway }}</button>\n </div>\n }\n }\n <div class=\"answer-actions\">\n @if (writeFailures().get(thread.id); as writeFailure) {\n <span class=\"answer-failure\" role=\"alert\">\n <span class=\"material-symbols-rounded failed\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>{{ textOf(writeFailure) }}\n </span>\n }\n @if (host().changeThreadMethod; as changeMethod) {\n <button type=\"button\" nol-button class=\"change\" [variant]=\"secondary\" [disabled]=\"busy().has(thread.id)\" (click)=\"askChange(thread, changeMethod)\">\n {{ isOpen(thread) ? resources.resolveThread : resources.reactivateThread }}\n </button>\n }\n @if (host().replyToThreadMethod; as replyMethod) {\n @if (isReplying(thread)) {\n <button type=\"button\" nol-button class=\"send\" [disabled]=\"!canReply(thread)\" (click)=\"replyAsync(thread, replyMethod)\">{{ resources.replyAction }}</button>\n } @else {\n <button type=\"button\" nol-button class=\"start-reply\" [disabled]=\"busy().has(thread.id)\" (click)=\"startReply(thread)\">{{ resources.replyAction }}</button>\n }\n }\n </div>\n </div>\n }\n }\n </article>\n } @empty {\n <p class=\"muted\">{{ resources.noComments }}</p>\n }\n } @else {\n <div class=\"threads-notice\" role=\"status\">\n <nol-spinner />\n <span class=\"grow\">{{ resources.formatThreadsReading(host().name) }}</span>\n </div>\n }\n</section>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n min-width: 0;\n}\n\n.threads {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.threads-head {\n margin-inline: calc(-1 * var(--nol-space-2));\n}\n\n.threads-notice,\n.thread-head,\n.fold,\n.comment-meta {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.threads-notice {\n color: var(--nol-text-muted);\n}\n\n.failed {\n flex: none;\n color: var(--nol-status-failed);\n}\n\n.thread {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n}\n\n.thread-icon {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.go-to-line {\n flex: none;\n}\n\n.place {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.thread-state {\n color: var(--nol-text-muted);\n}\n\n.thread-state.open {\n color: var(--nol-text);\n}\n\n.fold {\n min-height: var(--nol-button-height);\n margin-inline: calc(-1 * var(--nol-space-2));\n padding: 0 var(--nol-space-2);\n border: 0;\n border-radius: var(--nol-radius-medium);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.fold:hover {\n background-color: var(--nol-hover);\n}\n\n.comment {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\n min-width: 0;\n}\n\n.comment.reply {\n padding-inline-start: var(--nol-space-4);\n}\n\n.comment-main {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.answer {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n padding-inline-start: var(--nol-space-4);\n}\n\n.draft {\n box-sizing: border-box;\n width: 100%;\n resize: vertical;\n}\n\n.answer-actions {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n justify-content: flex-end;\n min-width: 0;\n}\n\n.change-confirm {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n font-size: var(--nol-text-label);\n}\n\n.answer-failure {\n display: inline-flex;\n flex: 1;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n color: var(--nol-text-muted);\n overflow-wrap: anywhere;\n}\n\n.name {\n flex: none;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-strong);\n}\n\n.grow {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.small {\n font-size: var(--nol-text-label);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\np {\n margin: 0;\n}\n"] }]
220
221
  }], ctorParameters: () => [], propDecorators: { draftFields: [{ type: i0.ViewChildren, args: ["draft", { ...{ read: ElementRef }, isSignal: true }] }], host: [{ type: i0.Input, args: [{ isSignal: true, alias: "host", required: true }] }], reference: [{ type: i0.Input, args: [{ isSignal: true, alias: "reference", required: true }] }], isAutoComplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "isAutoComplete", required: false }] }], references: [{ type: i0.Input, args: [{ isSignal: true, alias: "references", required: false }] }], login: [{ type: i0.Input, args: [{ isSignal: true, alias: "login", required: false }] }], linkOpen: [{ type: i0.Output, args: ["linkOpen"] }], goToLine: [{ type: i0.Output, args: ["goToLine"] }] } });
221
222
  //# sourceMappingURL=git-pull-request-threads.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-pull-request-threads.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-pull-request-threads/git-pull-request-threads.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-pull-request-threads/git-pull-request-threads.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAoB,MAAM,EAAyB,YAAY,EACvJ,MAAM,EAAE,SAAS,EAAE,YAAY,EAAuB,MAAM,eAAe,CAAC;AAC9E,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAA2B,iBAAiB,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACxH,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAsB,UAAU,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClI,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,aAAa,EAAiD,gBAAgB,EAAE,kBAAkB,EAAE,MAC/I,gCAAgC,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGhF,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;;AAQ/F,MAAM,OAAO,8BAA8B;IACxB,OAAO,GAAuB,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC/D,KAAK,GAAiB,MAAM,CAAC,YAAY,CAAC,CAAC;IAC3C,QAAQ,GAAa,M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;QACT,CAAC;IACH,CAAC;uGAhNU,8BAA8B;2FAA9B,8BAA8B,02BAMwE,UAAU,6CCpC7H,gwMA6GA,8jGDjFY,eAAe,oJAAE,wBAAwB,2HAAE,qBAAqB,kXAAE,gBAAgB,2EAAE,kBAAkB;;2FAErG,8BAA8B;kBAN1C,SAAS;+BACE,8BAA8B,WAG/B,CAAC,eAAe,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,kBAAkB,CAAC;sGAQjB,OAAO,OAAE,EAAE,IAAI,EAAE,UAAU,EAAE"}
1
+ {"version":3,"file":"git-pull-request-threads.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-pull-request-threads/git-pull-request-threads.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-pull-request-threads/git-pull-request-threads.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAoB,MAAM,EAAyB,YAAY,EACvJ,MAAM,EAAE,SAAS,EAAE,YAAY,EAAuB,MAAM,eAAe,CAAC;AAC9E,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAA2B,iBAAiB,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACxH,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAsB,UAAU,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClI,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,aAAa,EAAiD,sBAAsB,EAAE,4BAA4B,EAClK,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGhF,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MA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IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACtG,IAAI,SAAS,EAAE;gBACb,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAC7F,CAAC;gBACO,CAAC;YACP,IAAI,EAAE,CAAC;QACT,CAAC;IACH,CAAC;uGAhNU,8BAA8B;2FAA9B,8BAA8B,02BAMwE,UAAU,6CCrC7H,6wMA4GA,i+FDhFY,eAAe,oJAAE,wBAAwB,2HAAE,qBAAqB,kXAAE,sBAAsB,8NAAE,4BAA4B,qEAAE,gBAAgB,2EAChJ,kBAAkB;;2FAET,8BAA8B;kBAP1C,SAAS;+BACE,8BAA8B,WAG/B,CAAC,eAAe,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,gBAAgB;wBAChJ,kBAAkB,CAAC;sGAQ2E,OAAO,OAAE,EAAE,IAAI,EAAE,UAAU,EAAE"}
@@ -8,7 +8,7 @@
8
8
  import { Component, computed, effect, ErrorHandler, inject, input, output, signal, untracked } from "@angular/core";
9
9
  import "@noldova/context.core";
10
10
  import { LinkPlace, TimeFormatService, WindowPartTokens } from "@noldova/desktop.window";
11
- import { ContextMenuTriggerDirective, MenuComponent, MenuItemComponent, MenuSeparatorComponent } from "@noldova/ui.components.angular";
11
+ import { ContextMenuTriggerDirective, MenuComponent, MenuItemComponent, MenuSeparatorComponent, SectionHeaderCaretPosition, SectionHeaderComponent, SectionHeaderDetailDirective } from "@noldova/ui.components.angular";
12
12
  import { GitPullRequestsState } from "../../enums/git-pull-requests-state.js";
13
13
  import { GitPullRequests } from "../../services/git-pull-requests.js";
14
14
  import { Resources } from "../../../resources.js";
@@ -30,6 +30,7 @@ export class GitPullRequestsComponent {
30
30
  states = GitPullRequestsState;
31
31
  isOpen = signal(true, /* @ts-ignore */
32
32
  ...(ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []));
33
+ caretStart = SectionHeaderCaretPosition.Start;
33
34
  shown = computed(() => this.remote(), { ...(ngDevMode ? { debugName: "shown" } : /* istanbul ignore next */ {}), equal: (a, b) => a.name === b.name && a.host === b.host && a.path === b.path && a.transport === b.transport });
34
35
  host = computed(() => GitPullRequests.of(this.shown()), /* @ts-ignore */
35
36
  ...(ngDevMode ? [{ debugName: "host" }] : /* istanbul ignore next */ []));
@@ -53,9 +54,6 @@ export class GitPullRequestsComponent {
53
54
  if (!Object.isNull(host))
54
55
  this.attempt(() => host.refresh(this.folder(), this.shown()), undefined);
55
56
  }
56
- toggle() {
57
- this.isOpen.update(t => !t);
58
- }
59
57
  toneOf(row) {
60
58
  if (row.failing > 0)
61
59
  return "failed";
@@ -95,10 +93,10 @@ export class GitPullRequestsComponent {
95
93
  }
96
94
  }
97
95
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitPullRequestsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
98
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitPullRequestsComponent, isStandalone: true, selector: "nol-git-pull-requests", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, remote: { classPropertyName: "remote", publicName: "remote", isSignal: true, isRequired: true, transformFunction: null }, current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null }, canSwitch: { classPropertyName: "canSwitch", publicName: "canSwitch", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { switchTo: "switchTo" }, host: { listeners: { "window:focus": "refresh()" } }, 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 (host(); as provider) {\n <div class=\"row section\">\n <button type=\"button\" class=\"toggle\" [attr.aria-expanded]=\"isOpen()\" (click)=\"toggle()\">\n <span class=\"ms\">{{ isOpen() ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"caps grow\">{{ resources.pullRequestsLabel }}</span>\n </button>\n <span class=\"small muted host\">{{ resources.formatPullRequestsHost(provider.hostName, list()?.rows?.length ?? 0) }}</span>\n </div>\n @if (isOpen()) {\n @switch (list()?.state ?? states.Reading) {\n @case (states.SignedOut) {\n <button type=\"button\" class=\"row link\" (click)=\"signIn(provider.signInPage)\">{{ resources.pullRequestsSignIn }}</button>\n }\n @case (states.Failed) {\n @let until = list()?.limitedUntil ?? null;\n @let failure = until === null ? list()?.failure ?? '' : limitedText(provider.hostName, until);\n <div class=\"row failure\" role=\"alert\">\n <span class=\"grow note\" [title]=\"failure\">{{ failure }}</span>\n <button type=\"button\" class=\"retry\" (click)=\"refresh()\">{{ resources.tryAgainLabel }}</button>\n </div>\n }\n @default {\n @for (row of rows(); track row.url) {\n <button type=\"button\" class=\"row pull-request\" [class.sel]=\"isShown(row)\" [attr.aria-current]=\"isShown(row) ? 'true' : null\" (click)=\"open(row)\"\n [nolContextMenuTriggerFor]=\"pullRequestMenu\">\n <span [class]=\"'dot ' + toneOf(row)\"></span>\n <span class=\"grow title\" [title]=\"row.title\">{{ resources.formatPullRequestRowText(row.label, row.title) }}</span>\n <span class=\"small muted\">{{ noteOf(row) }}</span>\n </button>\n <ng-template #pullRequestMenu>\n <nol-menu>\n <button nol-menu-item data-action=\"switch\" [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"!canSwitch() || row.headBranch === current()\"\n (triggered)=\"switchTo.emit(row.headBranch)\"></button>\n <nol-menu-separator />\n <button nol-menu-item data-action=\"open\" [label]=\"resources.openInBrowserLabel\" [icon]=\"resources.openLinkIcon\" (triggered)=\"openInBrowser(row)\"></button>\n <button nol-menu-item data-action=\"copy\" [label]=\"resources.copyLinkLabel\" [icon]=\"resources.copyLinkIcon\" (triggered)=\"copyLink(row)\"></button>\n </nol-menu>\n </ng-template>\n } @empty {\n <div class=\"row small muted note\">{{ list()?.state === states.Ready ? resources.pullRequestsEmpty : resources.pullRequestsReading }}</div>\n }\n }\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\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.row,\n.toggle {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n white-space: nowrap;\n}\n\n.row {\n box-sizing: border-box;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.sel,\n.row.sel:hover {\n background: var(--nol-selected);\n}\n\n.row:not(.section) {\n padding-left: 1.875rem;\n}\n\n.row.section:hover,\n.row.note:hover,\n.row.failure:hover {\n background: transparent;\n}\n\n.toggle {\n flex: 1 1 auto;\n height: 100%;\n padding: 0;\n border: 0;\n background: transparent;\n color: inherit;\n font: inherit;\n cursor: pointer;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.caps {\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-transform: uppercase;\n letter-spacing: 0.02em;\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n margin-inline: 0 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending {\n background-color: var(--nol-warning);\n}\n\n.link {\n color: var(--nol-link);\n}\n\n.failure .note {\n color: var(--nol-error);\n}\n\n.retry {\n flex: none;\n padding: 0;\n border: 0;\n background: transparent;\n color: var(--nol-link);\n font: inherit;\n cursor: pointer;\n}\n"], dependencies: [{ kind: "directive", type: ContextMenuTriggerDirective, selector: "[nolContextMenuTriggerFor]", inputs: ["nolContextMenuTriggerFor"], exportAs: ["nolContextMenuTriggerFor"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "component", type: MenuSeparatorComponent, selector: "nol-menu-separator" }] });
96
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitPullRequestsComponent, isStandalone: true, selector: "nol-git-pull-requests", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, remote: { classPropertyName: "remote", publicName: "remote", isSignal: true, isRequired: true, transformFunction: null }, current: { classPropertyName: "current", publicName: "current", isSignal: true, isRequired: false, transformFunction: null }, canSwitch: { classPropertyName: "canSwitch", publicName: "canSwitch", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { switchTo: "switchTo" }, host: { listeners: { "window:focus": "refresh()" } }, 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 (host(); as provider) {\n <nol-section-header [label]=\"resources.pullRequestsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [(expanded)]=\"isOpen\">\n <span nolSectionHeaderDetail class=\"host\">{{ resources.formatPullRequestsHost(provider.hostName, list()?.rows?.length ?? 0) }}</span>\n </nol-section-header>\n @if (isOpen()) {\n @switch (list()?.state ?? states.Reading) {\n @case (states.SignedOut) {\n <button type=\"button\" class=\"row link\" (click)=\"signIn(provider.signInPage)\">{{ resources.pullRequestsSignIn }}</button>\n }\n @case (states.Failed) {\n @let until = list()?.limitedUntil ?? null;\n @let failure = until === null ? list()?.failure ?? '' : limitedText(provider.hostName, until);\n <div class=\"row failure\" role=\"alert\">\n <span class=\"grow note\" [title]=\"failure\">{{ failure }}</span>\n <button type=\"button\" class=\"retry\" (click)=\"refresh()\">{{ resources.tryAgainLabel }}</button>\n </div>\n }\n @default {\n @for (row of rows(); track row.url) {\n <button type=\"button\" class=\"row pull-request\" [class.sel]=\"isShown(row)\" [attr.aria-current]=\"isShown(row) ? 'true' : null\" (click)=\"open(row)\"\n [nolContextMenuTriggerFor]=\"pullRequestMenu\">\n <span [class]=\"'dot ' + toneOf(row)\"></span>\n <span class=\"grow title\" [title]=\"row.title\">{{ resources.formatPullRequestRowText(row.label, row.title) }}</span>\n <span class=\"small muted\">{{ noteOf(row) }}</span>\n </button>\n <ng-template #pullRequestMenu>\n <nol-menu>\n <button nol-menu-item data-action=\"switch\" [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"!canSwitch() || row.headBranch === current()\"\n (triggered)=\"switchTo.emit(row.headBranch)\"></button>\n <nol-menu-separator />\n <button nol-menu-item data-action=\"open\" [label]=\"resources.openInBrowserLabel\" [icon]=\"resources.openLinkIcon\" (triggered)=\"openInBrowser(row)\"></button>\n <button nol-menu-item data-action=\"copy\" [label]=\"resources.copyLinkLabel\" [icon]=\"resources.copyLinkIcon\" (triggered)=\"copyLink(row)\"></button>\n </nol-menu>\n </ng-template>\n } @empty {\n <div class=\"row small muted note\">{{ list()?.state === states.Ready ? resources.pullRequestsEmpty : resources.pullRequestsReading }}</div>\n }\n }\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\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.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.sel,\n.row.sel:hover {\n background: var(--nol-selected);\n}\n\n.row {\n padding-left: 1.875rem;\n}\n\n.row.note:hover,\n.row.failure:hover {\n background: transparent;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n margin-inline: 0 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending {\n background-color: var(--nol-warning);\n}\n\n.link {\n color: var(--nol-link);\n}\n\n.failure .note {\n color: var(--nol-error);\n}\n\n.retry {\n flex: none;\n padding: 0;\n border: 0;\n background: transparent;\n color: var(--nol-link);\n font: inherit;\n cursor: pointer;\n}\n"], dependencies: [{ kind: "directive", type: ContextMenuTriggerDirective, selector: "[nolContextMenuTriggerFor]", inputs: ["nolContextMenuTriggerFor"], exportAs: ["nolContextMenuTriggerFor"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "component", type: MenuSeparatorComponent, selector: "nol-menu-separator" }, { kind: "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]" }] });
99
97
  }
100
98
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitPullRequestsComponent, decorators: [{
101
99
  type: Component,
102
- args: [{ selector: "nol-git-pull-requests", imports: [ContextMenuTriggerDirective, MenuComponent, MenuItemComponent, MenuSeparatorComponent], host: { "(window:focus)": "refresh()" }, 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 (host(); as provider) {\n <div class=\"row section\">\n <button type=\"button\" class=\"toggle\" [attr.aria-expanded]=\"isOpen()\" (click)=\"toggle()\">\n <span class=\"ms\">{{ isOpen() ? resources.sectionOpenIcon : resources.sectionClosedIcon }}</span>\n <span class=\"caps grow\">{{ resources.pullRequestsLabel }}</span>\n </button>\n <span class=\"small muted host\">{{ resources.formatPullRequestsHost(provider.hostName, list()?.rows?.length ?? 0) }}</span>\n </div>\n @if (isOpen()) {\n @switch (list()?.state ?? states.Reading) {\n @case (states.SignedOut) {\n <button type=\"button\" class=\"row link\" (click)=\"signIn(provider.signInPage)\">{{ resources.pullRequestsSignIn }}</button>\n }\n @case (states.Failed) {\n @let until = list()?.limitedUntil ?? null;\n @let failure = until === null ? list()?.failure ?? '' : limitedText(provider.hostName, until);\n <div class=\"row failure\" role=\"alert\">\n <span class=\"grow note\" [title]=\"failure\">{{ failure }}</span>\n <button type=\"button\" class=\"retry\" (click)=\"refresh()\">{{ resources.tryAgainLabel }}</button>\n </div>\n }\n @default {\n @for (row of rows(); track row.url) {\n <button type=\"button\" class=\"row pull-request\" [class.sel]=\"isShown(row)\" [attr.aria-current]=\"isShown(row) ? 'true' : null\" (click)=\"open(row)\"\n [nolContextMenuTriggerFor]=\"pullRequestMenu\">\n <span [class]=\"'dot ' + toneOf(row)\"></span>\n <span class=\"grow title\" [title]=\"row.title\">{{ resources.formatPullRequestRowText(row.label, row.title) }}</span>\n <span class=\"small muted\">{{ noteOf(row) }}</span>\n </button>\n <ng-template #pullRequestMenu>\n <nol-menu>\n <button nol-menu-item data-action=\"switch\" [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"!canSwitch() || row.headBranch === current()\"\n (triggered)=\"switchTo.emit(row.headBranch)\"></button>\n <nol-menu-separator />\n <button nol-menu-item data-action=\"open\" [label]=\"resources.openInBrowserLabel\" [icon]=\"resources.openLinkIcon\" (triggered)=\"openInBrowser(row)\"></button>\n <button nol-menu-item data-action=\"copy\" [label]=\"resources.copyLinkLabel\" [icon]=\"resources.copyLinkIcon\" (triggered)=\"copyLink(row)\"></button>\n </nol-menu>\n </ng-template>\n } @empty {\n <div class=\"row small muted note\">{{ list()?.state === states.Ready ? resources.pullRequestsEmpty : resources.pullRequestsReading }}</div>\n }\n }\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\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.row,\n.toggle {\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n white-space: nowrap;\n}\n\n.row {\n box-sizing: border-box;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.sel,\n.row.sel:hover {\n background: var(--nol-selected);\n}\n\n.row:not(.section) {\n padding-left: 1.875rem;\n}\n\n.row.section:hover,\n.row.note:hover,\n.row.failure:hover {\n background: transparent;\n}\n\n.toggle {\n flex: 1 1 auto;\n height: 100%;\n padding: 0;\n border: 0;\n background: transparent;\n color: inherit;\n font: inherit;\n cursor: pointer;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.caps {\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-transform: uppercase;\n letter-spacing: 0.02em;\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n margin-inline: 0 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending {\n background-color: var(--nol-warning);\n}\n\n.link {\n color: var(--nol-link);\n}\n\n.failure .note {\n color: var(--nol-error);\n}\n\n.retry {\n flex: none;\n padding: 0;\n border: 0;\n background: transparent;\n color: var(--nol-link);\n font: inherit;\n cursor: pointer;\n}\n"] }]
100
+ args: [{ selector: "nol-git-pull-requests", imports: [ContextMenuTriggerDirective, MenuComponent, MenuItemComponent, MenuSeparatorComponent, SectionHeaderComponent, SectionHeaderDetailDirective], host: { "(window:focus)": "refresh()" }, 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 (host(); as provider) {\n <nol-section-header [label]=\"resources.pullRequestsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [(expanded)]=\"isOpen\">\n <span nolSectionHeaderDetail class=\"host\">{{ resources.formatPullRequestsHost(provider.hostName, list()?.rows?.length ?? 0) }}</span>\n </nol-section-header>\n @if (isOpen()) {\n @switch (list()?.state ?? states.Reading) {\n @case (states.SignedOut) {\n <button type=\"button\" class=\"row link\" (click)=\"signIn(provider.signInPage)\">{{ resources.pullRequestsSignIn }}</button>\n }\n @case (states.Failed) {\n @let until = list()?.limitedUntil ?? null;\n @let failure = until === null ? list()?.failure ?? '' : limitedText(provider.hostName, until);\n <div class=\"row failure\" role=\"alert\">\n <span class=\"grow note\" [title]=\"failure\">{{ failure }}</span>\n <button type=\"button\" class=\"retry\" (click)=\"refresh()\">{{ resources.tryAgainLabel }}</button>\n </div>\n }\n @default {\n @for (row of rows(); track row.url) {\n <button type=\"button\" class=\"row pull-request\" [class.sel]=\"isShown(row)\" [attr.aria-current]=\"isShown(row) ? 'true' : null\" (click)=\"open(row)\"\n [nolContextMenuTriggerFor]=\"pullRequestMenu\">\n <span [class]=\"'dot ' + toneOf(row)\"></span>\n <span class=\"grow title\" [title]=\"row.title\">{{ resources.formatPullRequestRowText(row.label, row.title) }}</span>\n <span class=\"small muted\">{{ noteOf(row) }}</span>\n </button>\n <ng-template #pullRequestMenu>\n <nol-menu>\n <button nol-menu-item data-action=\"switch\" [label]=\"resources.switchLabel\" [icon]=\"resources.switchIcon\" [disabled]=\"!canSwitch() || row.headBranch === current()\"\n (triggered)=\"switchTo.emit(row.headBranch)\"></button>\n <nol-menu-separator />\n <button nol-menu-item data-action=\"open\" [label]=\"resources.openInBrowserLabel\" [icon]=\"resources.openLinkIcon\" (triggered)=\"openInBrowser(row)\"></button>\n <button nol-menu-item data-action=\"copy\" [label]=\"resources.copyLinkLabel\" [icon]=\"resources.copyLinkIcon\" (triggered)=\"copyLink(row)\"></button>\n </nol-menu>\n </ng-template>\n } @empty {\n <div class=\"row small muted note\">{{ list()?.state === states.Ready ? resources.pullRequestsEmpty : resources.pullRequestsReading }}</div>\n }\n }\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\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.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.sel,\n.row.sel:hover {\n background: var(--nol-selected);\n}\n\n.row {\n padding-left: 1.875rem;\n}\n\n.row.note:hover,\n.row.failure:hover {\n background: transparent;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n margin-inline: 0 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending {\n background-color: var(--nol-warning);\n}\n\n.link {\n color: var(--nol-link);\n}\n\n.failure .note {\n color: var(--nol-error);\n}\n\n.retry {\n flex: none;\n padding: 0;\n border: 0;\n background: transparent;\n color: var(--nol-link);\n font: inherit;\n cursor: pointer;\n}\n"] }]
103
101
  }], ctorParameters: () => [], propDecorators: { folder: [{ type: i0.Input, args: [{ isSignal: true, alias: "folder", required: true }] }], remote: [{ type: i0.Input, args: [{ isSignal: true, alias: "remote", required: true }] }], current: [{ type: i0.Input, args: [{ isSignal: true, alias: "current", required: false }] }], canSwitch: [{ type: i0.Input, args: [{ isSignal: true, alias: "canSwitch", required: false }] }], switchTo: [{ type: i0.Output, args: ["switchTo"] }] } });
104
102
  //# sourceMappingURL=git-pull-requests.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-pull-requests.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-pull-requests/git-pull-requests.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-pull-requests/git-pull-requests.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAyB,MAAM,EAAe,SAAS,EAAuB,MAAM,eAAe,CAAC;AAC/L,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAElH,OAAO,EAAE,2BAA2B,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEvI,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAI9E,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;;AASlD,MAAM,OAAO,wBAAwB;IAClB,OAAO,GAAuB,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC/D,MAAM,GAAiB,MAAM,CAAC,YAAY,CAAC,CAAC;IAC5C,KAAK,GAAsB,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAEt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e,CAAC,SAAS,CAAC,mBAAmB,EAAE,EAAE,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;IACzK,CAAC;IAEO,OAAO,CAAI,GAAY,EAAE,QAAW;QAC1C,IAAI,CAAC;YACH,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,OAAO,KAAK,EAAE,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YAC/B,OAAO,QAAQ,CAAC;QAClB,CAAC;IACH,CAAC;uGAzFU,wBAAwB;2FAAxB,wBAAwB,4qBC5BrC,01FAqDA,kzED9BY,2BAA2B,qJAAE,aAAa,2EAAE,iBAAiB,6LAAE,sBAAsB;;2FAKpF,wBAAwB;kBAPpC,SAAS;+BACE,uBAAuB,WACxB,CAAC,2BAA2B,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,CAAC,QAG1F,EAAE,gBAAgB,EAAE,WAAW,EAAE"}
1
+ {"version":3,"file":"git-pull-requests.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-pull-requests/git-pull-requests.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-pull-requests/git-pull-requests.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAyB,MAAM,EAAe,SAAS,EAAuB,MAAM,eAAe,CAAC;AAC/L,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAElH,OAAO,EAAE,2BAA2B,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB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