@noldova/git.window 0.0.18 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +11 -11
- package/src/app/components/git-account-dialog/git-account-dialog.component.js +3 -3
- package/src/app/components/git-accounts/git-accounts.component.js +3 -3
- package/src/app/components/git-accounts/git-accounts.component.js.map +1 -1
- package/src/app/components/git-agents/git-agents.component.js +3 -3
- package/src/app/components/git-branch-card/git-branch-card.component.js +6 -4
- package/src/app/components/git-branch-card/git-branch-card.component.js.map +1 -1
- package/src/app/components/git-branch-drop/git-branch-drop.component.js +3 -3
- package/src/app/components/git-bulk-branch-dialog/git-bulk-branch-dialog.component.js +3 -3
- package/src/app/components/git-bulk-push-dialog/git-bulk-push-dialog.component.js +3 -3
- package/src/app/components/git-clone-dialog/git-clone-dialog.component.js +3 -3
- package/src/app/components/git-command-log/git-command-log.component.js +3 -3
- package/src/app/components/git-commit-card/git-commit-card.component.js +3 -3
- package/src/app/components/git-commit-detail/git-commit-detail.component.js +3 -3
- package/src/app/components/git-commit-detail/git-commit-detail.component.js.map +1 -1
- package/src/app/components/git-commit-detail-view/git-commit-detail-view.component.js +3 -3
- package/src/app/components/git-commit-document/git-commit-document.component.js +3 -3
- package/src/app/components/git-conflict-detail/git-conflict-detail.component.js +3 -3
- package/src/app/components/git-conflicts/git-conflicts.component.js +3 -3
- package/src/app/components/git-dashboard/git-dashboard.component.js +3 -3
- package/src/app/components/git-diff-files/git-diff-files.component.js +3 -3
- package/src/app/components/git-discard-dialog/git-discard-dialog.component.js +3 -3
- package/src/app/components/git-file-group/git-file-group.component.js +3 -3
- package/src/app/components/git-file-layout-button/git-file-layout-button.component.js +3 -3
- package/src/app/components/git-file-layout-button/git-file-layout-button.component.js.map +1 -1
- package/src/app/components/git-force-push-dialog/git-force-push-dialog.component.js +3 -3
- package/src/app/components/git-history/git-history.component.js +3 -3
- package/src/app/components/git-history/git-history.component.js.map +1 -1
- package/src/app/components/git-host-row/git-host-row.component.js +3 -3
- package/src/app/components/git-person-avatar/git-person-avatar.component.js +3 -3
- package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js +3 -3
- package/src/app/components/git-pull-request-conflicts/git-pull-request-conflicts.component.js +3 -3
- package/src/app/components/git-pull-request-files/git-pull-request-files.component.js +3 -3
- package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js +3 -3
- package/src/app/components/git-pull-requests/git-pull-requests.component.js +3 -3
- package/src/app/components/git-pull-requests/git-pull-requests.component.js.map +1 -1
- package/src/app/components/git-rebase/git-rebase.component.js +3 -3
- package/src/app/components/git-rebase-preview/git-rebase-preview.component.js +3 -3
- package/src/app/components/git-reference-text/git-reference-text.component.js +3 -3
- package/src/app/components/git-repository/git-repository.component.js +3 -3
- package/src/app/components/git-repository/git-repository.component.js.map +1 -1
- package/src/app/components/git-repository-scan-dialog/git-repository-scan-dialog.component.js +3 -3
- package/src/app/components/git-switch-merge-dialog/git-switch-merge-dialog.component.js +3 -3
- package/src/app/components/git-undo-menu/git-undo-menu.component.js +3 -3
- package/src/app/components/git-undo-menu/git-undo-menu.component.js.map +1 -1
- package/src/app/components/git-view/git-view.component.js +3 -3
- package/src/app/components/git-workspace/git-visible.directive.js +3 -3
- package/src/app/components/git-workspace/git-workspace.component.js +3 -3
- package/src/app/components/git-workspace/git-workspace.component.js.map +1 -1
- package/src/app/components/git-workspace-across/git-workspace-across.component.js +3 -3
- package/src/app/components/git-workspace-across-view/git-workspace-across-view.component.js +3 -3
- package/src/app/components/git-workspaces/git-workspaces.component.js +3 -3
- package/src/app/services/git-code-colors.js +3 -3
- package/src/app/services/git-last-write-undo.js +10 -0
- package/src/app/services/git-last-write-undo.js.map +1 -1
- package/src/app/services/git-view-state.service.js +15 -4
- package/src/app/services/git-view-state.service.js.map +1 -1
- package/src/resources.js +3 -0
- package/src/resources.js.map +1 -1
|
@@ -58,10 +58,10 @@ export class GitCommitCardComponent {
|
|
|
58
58
|
commitAndPush() {
|
|
59
59
|
void this.state.commitAndPushAsync(this.message());
|
|
60
60
|
}
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.
|
|
62
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.
|
|
61
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitCommitCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
62
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitCommitCardComponent, isStandalone: true, selector: "nol-git-commit-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"heading\">\n <span class=\"heading-text\">{{ resources.messageLabel }}</span>\n @if (showsAiFeatures()) {\n <button type=\"button\" class=\"tb suggest\" disabled [title]=\"resources.notBuiltYet\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.suggestIcon }}</span>{{ resources.suggestLabel }}\n </button>\n }\n</div>\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<div class=\"amend-row\">\n <label class=\"amend\" [title]=\"amendTitle()\">\n <input #amendBox type=\"checkbox\" [disabled]=\"!canAmend() && !state.amending()\" [checked]=\"state.amending()\" (change)=\"toggleAmend(amendBox.checked)\" />\n <span class=\"amend-text\">{{ resources.amendLabel }}</span>\n </label>\n @if (signingNote(); as note) {\n <span class=\"signing\">{{ note }}</span>\n }\n</div>\n<div class=\"actions\">\n @if (canPush()) {\n <button nol-button type=\"button\" class=\"commit-push\" [variant]=\"secondary\" [disabled]=\"!canCommit()\" (click)=\"commitAndPush()\">{{ resources.commitAndPushLabel }}</button>\n }\n <button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">{{ label() }}</button>\n</div>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\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: grid;\n gap: 0.5rem;\n min-width: 0;\n}\n\n.heading,\n.amend-row,\n.amend,\n.actions {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.heading-text,\n.amend-text {\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.heading-text {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.tb {\n display: inline-flex;\n gap: 0.25rem;\n align-items: center;\n height: 1.5rem;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.suggest {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.tb:disabled {\n opacity: 0.5;\n}\n\n.tb .material-symbols-rounded {\n font-size: 1rem;\n}\n\n.field {\n box-sizing: border-box;\n width: 100%;\n min-height: 4.5rem;\n}\n\n.amend {\n flex: 1 1 auto;\n color: var(--nol-text);\n}\n\n.amend input {\n width: 1.125rem;\n height: 1.125rem;\n margin: 0;\n}\n\n.actions {\n justify-content: flex-end;\n}\n\n.signing,\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.signing {\n flex: none;\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["large", "quiet"] }] });
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitCommitCardComponent, decorators: [{
|
|
65
65
|
type: Component,
|
|
66
66
|
args: [{ selector: "nol-git-commit-card", imports: [ButtonComponent, FormsModule, 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<div class=\"heading\">\n <span class=\"heading-text\">{{ resources.messageLabel }}</span>\n @if (showsAiFeatures()) {\n <button type=\"button\" class=\"tb suggest\" disabled [title]=\"resources.notBuiltYet\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.suggestIcon }}</span>{{ resources.suggestLabel }}\n </button>\n }\n</div>\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<div class=\"amend-row\">\n <label class=\"amend\" [title]=\"amendTitle()\">\n <input #amendBox type=\"checkbox\" [disabled]=\"!canAmend() && !state.amending()\" [checked]=\"state.amending()\" (change)=\"toggleAmend(amendBox.checked)\" />\n <span class=\"amend-text\">{{ resources.amendLabel }}</span>\n </label>\n @if (signingNote(); as note) {\n <span class=\"signing\">{{ note }}</span>\n }\n</div>\n<div class=\"actions\">\n @if (canPush()) {\n <button nol-button type=\"button\" class=\"commit-push\" [variant]=\"secondary\" [disabled]=\"!canCommit()\" (click)=\"commitAndPush()\">{{ resources.commitAndPushLabel }}</button>\n }\n <button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">{{ label() }}</button>\n</div>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\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: grid;\n gap: 0.5rem;\n min-width: 0;\n}\n\n.heading,\n.amend-row,\n.amend,\n.actions {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.heading-text,\n.amend-text {\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.heading-text {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.tb {\n display: inline-flex;\n gap: 0.25rem;\n align-items: center;\n height: 1.5rem;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.suggest {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.tb:disabled {\n opacity: 0.5;\n}\n\n.tb .material-symbols-rounded {\n font-size: 1rem;\n}\n\n.field {\n box-sizing: border-box;\n width: 100%;\n min-height: 4.5rem;\n}\n\n.amend {\n flex: 1 1 auto;\n color: var(--nol-text);\n}\n\n.amend input {\n width: 1.125rem;\n height: 1.125rem;\n margin: 0;\n}\n\n.actions {\n justify-content: flex-end;\n}\n\n.signing,\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.signing {\n flex: none;\n white-space: nowrap;\n}\n"] }]
|
|
67
67
|
}], propDecorators: { status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: true }] }] } });
|
|
@@ -253,10 +253,10 @@ export class GitCommitDetailComponent {
|
|
|
253
253
|
return fallback;
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.
|
|
257
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitCommitDetailComponent, isStandalone: true, selector: "nol-git-commit-detail", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, commit: { classPropertyName: "commit", publicName: "commit", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "files", 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<section class=\"detail\" [attr.aria-label]=\"label()\">\n <div class=\"id-row\">\n <span class=\"mono muted grow\">{{ id() }}</span>\n <button nol-icon-button type=\"button\" [icon]=\"resources.copyIcon\" [label]=\"resources.copyIdLabel\" [nolTooltip]=\"resources.copyIdLabel\" (click)=\"copyId()\"></button>\n <button nol-icon-button type=\"button\" class=\"more\" [icon]=\"resources.moreIcon\" [label]=\"resources.moreActionsLabel\" [nolTooltip]=\"resources.moreActionsLabel\"\n [nolMenuTriggerFor]=\"moreActions\"></button>\n </div>\n <ng-template #moreActions>\n <nol-menu>\n <button nol-menu-item data-action=\"copy-id\" [label]=\"resources.copyIdLabel\" [icon]=\"resources.copyIcon\" (triggered)=\"copyId()\"></button>\n <button nol-menu-item data-action=\"branch-here\" [label]=\"resources.createBranchHereLabel\" [icon]=\"resources.branchMenuIcon\" [disabled]=\"!writable()\"\n (triggered)=\"startBranch(false)\"></button>\n <button nol-menu-item data-action=\"tag-here\" [label]=\"resources.createTagHereLabel\" [icon]=\"resources.tagIcon\" [disabled]=\"!writable()\"\n (triggered)=\"startBranch(true)\"></button>\n </nol-menu>\n </ng-template>\n <div class=\"subject\"><nol-git-reference-text [text]=\"commit().commit.subject\" [folder]=\"folder()\" /></div>\n @if (more(); as more) {\n @if (more.body.length > 0) {\n <div class=\"message\"><nol-markdown-view [text]=\"more.body\" [references]=\"references()\" (linkOpen)=\"openLink($event)\" />@if (more.truncated) {<span class=\"muted\">{{ resources.messageCut }}</span>}</div>\n }\n }\n <div class=\"people\">\n <div class=\"author\">\n @let picture = image();\n @if (picture !== null) {\n <img class=\"av\" [src]=\"picture\" alt=\"\" />\n } @else {\n <span class=\"av\" [class]=\"'av av-' + avatar()\">{{ initials() }}</span>\n }\n <div class=\"grow\">\n <div class=\"strong\">{{ commit().commit.author }}</div>\n <div class=\"small muted when\">{{ authored() }}@if (committed(); as committed) {{{ resources.peopleSeparator }}<span class=\"committed\">{{ committed }}</span>}</div>\n </div>\n </div>\n @if (signature(); as signature) {\n <div class=\"signature small\" [attr.data-state]=\"signature.state\" [attr.title]=\"signature.key\"><span class=\"ms signature-icon\">{{ resources.signatureIcons[signature.state]\n }}</span><span class=\"signature-text\">{{ signatureLineOf(signature) }}</span></div>\n }\n <div class=\"parents small\">\n <span class=\"muted\">{{ resources.parentLabel }}</span>\n @for (parent of commit().commit.parents; track parent) {\n @let short = parent.slice(0, resources.shortIdLength);\n <button type=\"button\" class=\"mono link\" [title]=\"resources.formatShowParent(short)\" (click)=\"showParent(parent)\">{{ short }}</button>\n } @empty {\n <span>{{ resources.noParent }}</span>\n }\n @if (chips().length > 0) {\n <span class=\"muted\">{{ resources.inLabel }}</span>\n @for (chip of chips(); track chip.name + chip.icon) {\n <span class=\"chip\" [class.current]=\"chip.isCurrent\" [title]=\"chip.title\"><span class=\"ellipsis\">{{ chip.name }}</span></span>\n }\n }\n </div>\n </div>\n <div class=\"actions\">\n @if (mergeable()) {\n <button nol-button type=\"button\" class=\"merge\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.mergeTitle\" (click)=\"mergeAsync()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>{{ resources.mergeLabel }}</button>\n }\n <button nol-button type=\"button\" class=\"cherry-pick\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.cherryPickTitle\" (click)=\"pickAsync(false)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.cherryPickIcon }}</span>{{ resources.cherryPickLabel }}</button>\n <button nol-button type=\"button\" class=\"revert\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.revertTitle\" (click)=\"pickAsync(true)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.revertIcon }}</span>{{ resources.revertLabel }}</button>\n <button nol-button type=\"button\" class=\"rebase-here\" [variant]=\"secondary\" [disabled]=\"state.busy()\" [title]=\"resources.rebaseHereTitle\" (click)=\"startRebase()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.rebaseIcon }}</span>{{ resources.rebaseHereLabel }}</button>\n <button nol-button type=\"button\" class=\"branch-here\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.branchHereTitle\" (click)=\"startBranch(false)\">\n <svg nolButtonIcon class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>{{ resources.branchHereLabel }}</button>\n <button nol-button type=\"button\" class=\"tag-here\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.tagHereTitle\" (click)=\"startBranch(true)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.tagIcon }}</span>{{ resources.tagHereLabel }}</button>\n @if (showsAiFeatures()) {\n <button nol-button type=\"button\" class=\"explain\" [variant]=\"secondary\" disabled [title]=\"resources.notBuiltYet\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.explainIcon }}</span>{{ resources.explainLabel }}</button>\n }\n </div>\n @if (predicted().length > 0) {\n <div class=\"predictions\" role=\"status\">\n @for (line of predicted(); track line.text) {\n <p class=\"prediction\">{{ line.text }}</p>\n @if (line.paths.length > 0) {\n <div class=\"prediction-files\">\n @for (path of line.paths; track path) {\n @let name = path.slice(path.lastIndexOf(resources.slash) + 1);\n @if (files().holds(path)) {\n <button type=\"button\" class=\"prediction-file\" [title]=\"path\" (click)=\"files().reveal(path)\"><nol-file-badge [fileName]=\"name\" /><span\n class=\"prediction-file-name\">{{ name }}</span></button>\n } @else {\n <span class=\"prediction-file\" [title]=\"path\"><nol-file-badge [fileName]=\"name\" /><span class=\"prediction-file-name\">{{ name }}</span></span>\n }\n }\n @if (line.more > 0) {\n <span class=\"prediction-more\">{{ resources.formatMorePaths(line.more) }}</span>\n }\n </div>\n }\n }\n </div>\n }\n @if (branchName() !== null) {\n <form class=\"branch-form\" (submit)=\"$event.preventDefault(); createBranchAsync(branchName() ?? '')\">\n @let nameLabel = tagging() ? resources.tagNameLabel : resources.branchNameLabel;\n <input nol-text-field class=\"branch-name\" type=\"text\" autofocus [attr.aria-label]=\"nameLabel\" [placeholder]=\"nameLabel\"\n [ngModel]=\"branchName()\" (ngModelChange)=\"branchName.set($event)\" name=\"branch\" (keydown.escape)=\"cancelBranch()\" />\n <button nol-button type=\"submit\" class=\"create\" [disabled]=\"!writable() || (branchName() ?? '').trim().length === 0\">{{ resources.createLabel }}</button>\n <button nol-button type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"cancelBranch()\">{{ resources.cancelLabel }}</button>\n </form>\n }\n @if (state.failure(); as refusal) {\n <p class=\"note error\" role=\"alert\">{{ refusal }}</p>\n }\n <nol-git-diff-files [folder]=\"folder()\" [scope]=\"scope()\" />\n @if (pullRequest(); as card) {\n @let found = comments();\n <div class=\"pull-request\" [attr.data-state]=\"card.state\" (click)=\"openPullRequest(card)\">\n <span class=\"pull-request-head\"><span class=\"ms pull-request-icon\">{{ resources.commitPullRequestIcon }}</span><span class=\"pull-request-title\"><nol-git-reference-text\n [text]=\"card.row.label\" [title]=\"card.row.title\" [folder]=\"folder()\" [link]=\"card.row.url\" /></span><span\n class=\"small pull-request-state\">{{ card.stateLabel }}</span></span>\n @if (card.note.length > 0 || found !== null) {\n <span class=\"small muted pull-request-note\">{{ card.note }}@if (found !== null) {@if (card.note.length > 0) {<span>{{ resources.peopleSeparator }}</span>}<button type=\"button\"\n class=\"pull-request-comments\" (click)=\"$event.stopPropagation(); openComments(found.url)\">{{ found.text }}</button>}</span>\n }\n </div>\n } @else if (comments(); as found) {\n <button type=\"button\" class=\"small link comments\" (click)=\"openComments(found.url)\"><span class=\"ms\">{{ resources.commitCommentsIcon }}</span><span>{{ found.text\n }}</span></button>\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: flex;\n flex: 1 0 auto;\n flex-direction: column;\n min-width: 0;\n}\n\n.detail {\n display: flex;\n flex: 1 0 auto;\n flex-direction: column;\n gap: 0.75rem;\n box-sizing: border-box;\n padding: 0.75rem;\n}\n\n.id-row,\n.author,\n.parents {\n display: flex;\n align-items: center;\n min-width: 0;\n}\n\n.id-row {\n gap: 0.25rem;\n}\n\n.id-row > [nol-icon-button]:last-child {\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.chip {\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n min-width: 0;\n overflow: hidden;\n gap: 0.25rem;\n height: 1.25rem;\n padding: 0 0.375rem;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.chip.current {\n font-weight: 500;\n}\n\n.subject {\n color: var(--nol-text-strong);\n font-size: 0.9375rem;\n font-weight: 500;\n line-height: 1.25rem;\n overflow-wrap: anywhere;\n}\n\n.message {\n color: var(--nol-text);\n font-size: 0.8125rem;\n line-height: 1.6;\n overflow-wrap: anywhere;\n}\n\n.branch-form {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n}\n\n.branch-name {\n flex: 1;\n min-width: 0;\n}\n\n.people {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.author {\n gap: 0.5rem;\n}\n\n.parents {\n flex-wrap: wrap;\n gap: 0.375rem;\n}\n\n.signature {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n}\n\n.ms.signature-icon {\n width: 0.875rem;\n height: 0.875rem;\n font-size: 0.875rem;\n}\n\n.signature[data-state=\"Verified\"] .signature-icon {\n color: var(--nol-status-ok);\n}\n\n.signature[data-state=\"Unverified\"] .signature-icon {\n color: var(--nol-warning);\n}\n\n.signature-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.actions {\n display: flex;\n flex-wrap: wrap;\n gap: 0.5rem;\n}\n\n.predictions {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.prediction {\n margin: 0;\n}\n\n.prediction-files {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 0.25rem;\n min-width: 0;\n}\n\n.prediction-file {\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n min-width: 0;\n box-sizing: border-box;\n gap: 0.25rem;\n height: 1.25rem;\n margin: 0;\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n background: transparent;\n color: var(--nol-text-strong);\n font: inherit;\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\nbutton.prediction-file {\n cursor: pointer;\n}\n\nbutton.prediction-file:hover {\n background: var(--nol-hover);\n}\n\n.prediction-file-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n text-align: start;\n}\n\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 500;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.link {\n color: var(--nol-link);\n}\n\nbutton.link {\n padding: 0;\n border: 0;\n background: none;\n font: inherit;\n cursor: pointer;\n}\n\nbutton.link:hover {\n text-decoration: underline;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.octicon {\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.note {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.av {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 50%;\n font-size: 0.6875rem;\n font-weight: 500;\n object-fit: cover;\n}\n.av-default {\n background: var(--nol-avatar-default);\n color: var(--nol-avatar-default-text);\n}\n\n.av-teal {\n background: var(--nol-avatar-teal);\n color: var(--nol-avatar-teal-text);\n}\n\n.av-amber {\n background: var(--nol-avatar-amber);\n color: var(--nol-avatar-amber-text);\n}\n\n.av-violet {\n background: var(--nol-avatar-violet);\n color: var(--nol-avatar-violet-text);\n}\n\n.av-green {\n background: var(--nol-avatar-green);\n color: var(--nol-avatar-green-text);\n}\n\n.av-pink {\n background: var(--nol-avatar-pink);\n color: var(--nol-avatar-pink-text);\n}\n\n.av-cyan {\n background: var(--nol-avatar-cyan);\n color: var(--nol-avatar-cyan-text);\n}\n\n.av-orange {\n background: var(--nol-avatar-orange);\n color: var(--nol-avatar-orange-text);\n}\n\n.comments {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.link.comments {\n font-size: 0.75rem;\n}\n\n.pull-request-comments {\n padding: 0;\n border: 0;\n background: none;\n color: inherit;\n font: inherit;\n cursor: pointer;\n}\n\n.pull-request-comments:hover {\n text-decoration: underline;\n}\n\n.pull-request {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n box-sizing: border-box;\n width: 100%;\n margin-top: auto;\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background: var(--nol-raised);\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.pull-request-head {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n}\n\n.pull-request-title {\n flex: 1 1 auto;\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: 500;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.pull-request[data-state=\"Merged\"] .pull-request-state {\n color: var(--nol-status-ok);\n}\n\n.pull-request[data-state=\"Closed\"] .pull-request-state {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: GitDiffFilesComponent, selector: "nol-git-diff-files", inputs: ["folder", "scope", "layout"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { 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: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["large", "quiet"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
|
|
256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitCommitDetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
257
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitCommitDetailComponent, isStandalone: true, selector: "nol-git-commit-detail", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null }, commit: { classPropertyName: "commit", publicName: "commit", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "files", 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<section class=\"detail\" [attr.aria-label]=\"label()\">\n <div class=\"id-row\">\n <span class=\"mono muted grow\">{{ id() }}</span>\n <button nol-icon-button type=\"button\" [icon]=\"resources.copyIcon\" [label]=\"resources.copyIdLabel\" [nolTooltip]=\"resources.copyIdLabel\" (click)=\"copyId()\"></button>\n <button nol-icon-button type=\"button\" class=\"more\" [icon]=\"resources.moreIcon\" [label]=\"resources.moreActionsLabel\" [nolTooltip]=\"resources.moreActionsLabel\"\n [nolMenuTriggerFor]=\"moreActions\"></button>\n </div>\n <ng-template #moreActions>\n <nol-menu>\n <button nol-menu-item data-action=\"copy-id\" [label]=\"resources.copyIdLabel\" [icon]=\"resources.copyIcon\" (triggered)=\"copyId()\"></button>\n <button nol-menu-item data-action=\"branch-here\" [label]=\"resources.createBranchHereLabel\" [icon]=\"resources.branchMenuIcon\" [disabled]=\"!writable()\"\n (triggered)=\"startBranch(false)\"></button>\n <button nol-menu-item data-action=\"tag-here\" [label]=\"resources.createTagHereLabel\" [icon]=\"resources.tagIcon\" [disabled]=\"!writable()\"\n (triggered)=\"startBranch(true)\"></button>\n </nol-menu>\n </ng-template>\n <div class=\"subject\"><nol-git-reference-text [text]=\"commit().commit.subject\" [folder]=\"folder()\" /></div>\n @if (more(); as more) {\n @if (more.body.length > 0) {\n <div class=\"message\"><nol-markdown-view [text]=\"more.body\" [references]=\"references()\" (linkOpen)=\"openLink($event)\" />@if (more.truncated) {<span class=\"muted\">{{ resources.messageCut }}</span>}</div>\n }\n }\n <div class=\"people\">\n <div class=\"author\">\n @let picture = image();\n @if (picture !== null) {\n <img class=\"av\" [src]=\"picture\" alt=\"\" />\n } @else {\n <span class=\"av\" [class]=\"'av av-' + avatar()\">{{ initials() }}</span>\n }\n <div class=\"grow\">\n <div class=\"strong\">{{ commit().commit.author }}</div>\n <div class=\"small muted when\">{{ authored() }}@if (committed(); as committed) {{{ resources.peopleSeparator }}<span class=\"committed\">{{ committed }}</span>}</div>\n </div>\n </div>\n @if (signature(); as signature) {\n <div class=\"signature small\" [attr.data-state]=\"signature.state\" [attr.title]=\"signature.key\"><span class=\"ms signature-icon\">{{ resources.signatureIcons[signature.state]\n }}</span><span class=\"signature-text\">{{ signatureLineOf(signature) }}</span></div>\n }\n <div class=\"parents small\">\n <span class=\"muted\">{{ resources.parentLabel }}</span>\n @for (parent of commit().commit.parents; track parent) {\n @let short = parent.slice(0, resources.shortIdLength);\n <button type=\"button\" class=\"mono link\" [title]=\"resources.formatShowParent(short)\" (click)=\"showParent(parent)\">{{ short }}</button>\n } @empty {\n <span>{{ resources.noParent }}</span>\n }\n @if (chips().length > 0) {\n <span class=\"muted\">{{ resources.inLabel }}</span>\n @for (chip of chips(); track chip.name + chip.icon) {\n <span class=\"chip\" [class.current]=\"chip.isCurrent\" [title]=\"chip.title\"><span class=\"ellipsis\">{{ chip.name }}</span></span>\n }\n }\n </div>\n </div>\n <div class=\"actions\">\n @if (mergeable()) {\n <button nol-button type=\"button\" class=\"merge\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.mergeTitle\" (click)=\"mergeAsync()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>{{ resources.mergeLabel }}</button>\n }\n <button nol-button type=\"button\" class=\"cherry-pick\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.cherryPickTitle\" (click)=\"pickAsync(false)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.cherryPickIcon }}</span>{{ resources.cherryPickLabel }}</button>\n <button nol-button type=\"button\" class=\"revert\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.revertTitle\" (click)=\"pickAsync(true)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.revertIcon }}</span>{{ resources.revertLabel }}</button>\n <button nol-button type=\"button\" class=\"rebase-here\" [variant]=\"secondary\" [disabled]=\"state.busy()\" [title]=\"resources.rebaseHereTitle\" (click)=\"startRebase()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.rebaseIcon }}</span>{{ resources.rebaseHereLabel }}</button>\n <button nol-button type=\"button\" class=\"branch-here\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.branchHereTitle\" (click)=\"startBranch(false)\">\n <svg nolButtonIcon class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>{{ resources.branchHereLabel }}</button>\n <button nol-button type=\"button\" class=\"tag-here\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.tagHereTitle\" (click)=\"startBranch(true)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.tagIcon }}</span>{{ resources.tagHereLabel }}</button>\n @if (showsAiFeatures()) {\n <button nol-button type=\"button\" class=\"explain\" [variant]=\"secondary\" disabled [title]=\"resources.notBuiltYet\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.explainIcon }}</span>{{ resources.explainLabel }}</button>\n }\n </div>\n @if (predicted().length > 0) {\n <div class=\"predictions\" role=\"status\">\n @for (line of predicted(); track line.text) {\n <p class=\"prediction\">{{ line.text }}</p>\n @if (line.paths.length > 0) {\n <div class=\"prediction-files\">\n @for (path of line.paths; track path) {\n @let name = path.slice(path.lastIndexOf(resources.slash) + 1);\n @if (files().holds(path)) {\n <button type=\"button\" class=\"prediction-file\" [title]=\"path\" (click)=\"files().reveal(path)\"><nol-file-badge [fileName]=\"name\" /><span\n class=\"prediction-file-name\">{{ name }}</span></button>\n } @else {\n <span class=\"prediction-file\" [title]=\"path\"><nol-file-badge [fileName]=\"name\" /><span class=\"prediction-file-name\">{{ name }}</span></span>\n }\n }\n @if (line.more > 0) {\n <span class=\"prediction-more\">{{ resources.formatMorePaths(line.more) }}</span>\n }\n </div>\n }\n }\n </div>\n }\n @if (branchName() !== null) {\n <form class=\"branch-form\" (submit)=\"$event.preventDefault(); createBranchAsync(branchName() ?? '')\">\n @let nameLabel = tagging() ? resources.tagNameLabel : resources.branchNameLabel;\n <input nol-text-field class=\"branch-name\" type=\"text\" autofocus [attr.aria-label]=\"nameLabel\" [placeholder]=\"nameLabel\"\n [ngModel]=\"branchName()\" (ngModelChange)=\"branchName.set($event)\" name=\"branch\" (keydown.escape)=\"cancelBranch()\" />\n <button nol-button type=\"submit\" class=\"create\" [disabled]=\"!writable() || (branchName() ?? '').trim().length === 0\">{{ resources.createLabel }}</button>\n <button nol-button type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"cancelBranch()\">{{ resources.cancelLabel }}</button>\n </form>\n }\n @if (state.failure(); as refusal) {\n <p class=\"note error\" role=\"alert\">{{ refusal }}</p>\n }\n <nol-git-diff-files [folder]=\"folder()\" [scope]=\"scope()\" />\n @if (pullRequest(); as card) {\n @let found = comments();\n <div class=\"pull-request\" [attr.data-state]=\"card.state\" (click)=\"openPullRequest(card)\">\n <span class=\"pull-request-head\"><span class=\"ms pull-request-icon\">{{ resources.commitPullRequestIcon }}</span><span class=\"pull-request-title\"><nol-git-reference-text\n [text]=\"card.row.label\" [title]=\"card.row.title\" [folder]=\"folder()\" [link]=\"card.row.url\" /></span><span\n class=\"small pull-request-state\">{{ card.stateLabel }}</span></span>\n @if (card.note.length > 0 || found !== null) {\n <span class=\"small muted pull-request-note\">{{ card.note }}@if (found !== null) {@if (card.note.length > 0) {<span>{{ resources.peopleSeparator }}</span>}<button type=\"button\"\n class=\"pull-request-comments\" (click)=\"$event.stopPropagation(); openComments(found.url)\">{{ found.text }}</button>}</span>\n }\n </div>\n } @else if (comments(); as found) {\n <button type=\"button\" class=\"small link comments\" (click)=\"openComments(found.url)\"><span class=\"ms\">{{ resources.commitCommentsIcon }}</span><span>{{ found.text\n }}</span></button>\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: flex;\n flex: 1 0 auto;\n flex-direction: column;\n min-width: 0;\n}\n\n.detail {\n display: flex;\n flex: 1 0 auto;\n flex-direction: column;\n gap: 0.75rem;\n box-sizing: border-box;\n padding: 0.75rem;\n}\n\n.id-row,\n.author,\n.parents {\n display: flex;\n align-items: center;\n min-width: 0;\n}\n\n.id-row {\n gap: 0.25rem;\n}\n\n.id-row > [nol-icon-button]:last-child {\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.chip {\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n min-width: 0;\n overflow: hidden;\n gap: 0.25rem;\n height: 1.25rem;\n padding: 0 0.375rem;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.chip.current {\n font-weight: 500;\n}\n\n.subject {\n color: var(--nol-text-strong);\n font-size: 0.9375rem;\n font-weight: 500;\n line-height: 1.25rem;\n overflow-wrap: anywhere;\n}\n\n.message {\n color: var(--nol-text);\n font-size: 0.8125rem;\n line-height: 1.6;\n overflow-wrap: anywhere;\n}\n\n.branch-form {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n}\n\n.branch-name {\n flex: 1;\n min-width: 0;\n}\n\n.people {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.author {\n gap: 0.5rem;\n}\n\n.parents {\n flex-wrap: wrap;\n gap: 0.375rem;\n}\n\n.signature {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n}\n\n.ms.signature-icon {\n width: 0.875rem;\n height: 0.875rem;\n font-size: 0.875rem;\n}\n\n.signature[data-state=\"Verified\"] .signature-icon {\n color: var(--nol-status-ok);\n}\n\n.signature[data-state=\"Unverified\"] .signature-icon {\n color: var(--nol-warning);\n}\n\n.signature-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.actions {\n display: flex;\n flex-wrap: wrap;\n gap: 0.5rem;\n}\n\n.predictions {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.prediction {\n margin: 0;\n}\n\n.prediction-files {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 0.25rem;\n min-width: 0;\n}\n\n.prediction-file {\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n min-width: 0;\n box-sizing: border-box;\n gap: 0.25rem;\n height: 1.25rem;\n margin: 0;\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n background: transparent;\n color: var(--nol-text-strong);\n font: inherit;\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\nbutton.prediction-file {\n cursor: pointer;\n}\n\nbutton.prediction-file:hover {\n background: var(--nol-hover);\n}\n\n.prediction-file-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n text-align: start;\n}\n\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 500;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.link {\n color: var(--nol-link);\n}\n\nbutton.link {\n padding: 0;\n border: 0;\n background: none;\n font: inherit;\n cursor: pointer;\n}\n\nbutton.link:hover {\n text-decoration: underline;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.octicon {\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.note {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.av {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 50%;\n font-size: 0.6875rem;\n font-weight: 500;\n object-fit: cover;\n}\n.av-default {\n background: var(--nol-avatar-default);\n color: var(--nol-avatar-default-text);\n}\n\n.av-teal {\n background: var(--nol-avatar-teal);\n color: var(--nol-avatar-teal-text);\n}\n\n.av-amber {\n background: var(--nol-avatar-amber);\n color: var(--nol-avatar-amber-text);\n}\n\n.av-violet {\n background: var(--nol-avatar-violet);\n color: var(--nol-avatar-violet-text);\n}\n\n.av-green {\n background: var(--nol-avatar-green);\n color: var(--nol-avatar-green-text);\n}\n\n.av-pink {\n background: var(--nol-avatar-pink);\n color: var(--nol-avatar-pink-text);\n}\n\n.av-cyan {\n background: var(--nol-avatar-cyan);\n color: var(--nol-avatar-cyan-text);\n}\n\n.av-orange {\n background: var(--nol-avatar-orange);\n color: var(--nol-avatar-orange-text);\n}\n\n.comments {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.link.comments {\n font-size: 0.75rem;\n}\n\n.pull-request-comments {\n padding: 0;\n border: 0;\n background: none;\n color: inherit;\n font: inherit;\n cursor: pointer;\n}\n\n.pull-request-comments:hover {\n text-decoration: underline;\n}\n\n.pull-request {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n box-sizing: border-box;\n width: 100%;\n margin-top: auto;\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background: var(--nol-raised);\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.pull-request-head {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n}\n\n.pull-request-title {\n flex: 1 1 auto;\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: 500;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.pull-request[data-state=\"Merged\"] .pull-request-state {\n color: var(--nol-status-ok);\n}\n\n.pull-request[data-state=\"Closed\"] .pull-request-state {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: GitDiffFilesComponent, selector: "nol-git-diff-files", inputs: ["folder", "scope", "layout"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { 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: MenuComponent, selector: "nol-menu", inputs: ["minWidth", "radius"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["large", "quiet"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside", "nolTooltipAnchor"] }] });
|
|
258
258
|
}
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.
|
|
259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitCommitDetailComponent, decorators: [{
|
|
260
260
|
type: Component,
|
|
261
261
|
args: [{ selector: "nol-git-commit-detail", imports: [ButtonComponent, FileBadgeComponent, FormsModule, GitDiffFilesComponent, GitReferenceTextComponent, IconButtonComponent, MarkdownViewComponent,
|
|
262
262
|
MenuComponent, MenuItemComponent, MenuTriggerDirective, TextFieldComponent, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<section class=\"detail\" [attr.aria-label]=\"label()\">\n <div class=\"id-row\">\n <span class=\"mono muted grow\">{{ id() }}</span>\n <button nol-icon-button type=\"button\" [icon]=\"resources.copyIcon\" [label]=\"resources.copyIdLabel\" [nolTooltip]=\"resources.copyIdLabel\" (click)=\"copyId()\"></button>\n <button nol-icon-button type=\"button\" class=\"more\" [icon]=\"resources.moreIcon\" [label]=\"resources.moreActionsLabel\" [nolTooltip]=\"resources.moreActionsLabel\"\n [nolMenuTriggerFor]=\"moreActions\"></button>\n </div>\n <ng-template #moreActions>\n <nol-menu>\n <button nol-menu-item data-action=\"copy-id\" [label]=\"resources.copyIdLabel\" [icon]=\"resources.copyIcon\" (triggered)=\"copyId()\"></button>\n <button nol-menu-item data-action=\"branch-here\" [label]=\"resources.createBranchHereLabel\" [icon]=\"resources.branchMenuIcon\" [disabled]=\"!writable()\"\n (triggered)=\"startBranch(false)\"></button>\n <button nol-menu-item data-action=\"tag-here\" [label]=\"resources.createTagHereLabel\" [icon]=\"resources.tagIcon\" [disabled]=\"!writable()\"\n (triggered)=\"startBranch(true)\"></button>\n </nol-menu>\n </ng-template>\n <div class=\"subject\"><nol-git-reference-text [text]=\"commit().commit.subject\" [folder]=\"folder()\" /></div>\n @if (more(); as more) {\n @if (more.body.length > 0) {\n <div class=\"message\"><nol-markdown-view [text]=\"more.body\" [references]=\"references()\" (linkOpen)=\"openLink($event)\" />@if (more.truncated) {<span class=\"muted\">{{ resources.messageCut }}</span>}</div>\n }\n }\n <div class=\"people\">\n <div class=\"author\">\n @let picture = image();\n @if (picture !== null) {\n <img class=\"av\" [src]=\"picture\" alt=\"\" />\n } @else {\n <span class=\"av\" [class]=\"'av av-' + avatar()\">{{ initials() }}</span>\n }\n <div class=\"grow\">\n <div class=\"strong\">{{ commit().commit.author }}</div>\n <div class=\"small muted when\">{{ authored() }}@if (committed(); as committed) {{{ resources.peopleSeparator }}<span class=\"committed\">{{ committed }}</span>}</div>\n </div>\n </div>\n @if (signature(); as signature) {\n <div class=\"signature small\" [attr.data-state]=\"signature.state\" [attr.title]=\"signature.key\"><span class=\"ms signature-icon\">{{ resources.signatureIcons[signature.state]\n }}</span><span class=\"signature-text\">{{ signatureLineOf(signature) }}</span></div>\n }\n <div class=\"parents small\">\n <span class=\"muted\">{{ resources.parentLabel }}</span>\n @for (parent of commit().commit.parents; track parent) {\n @let short = parent.slice(0, resources.shortIdLength);\n <button type=\"button\" class=\"mono link\" [title]=\"resources.formatShowParent(short)\" (click)=\"showParent(parent)\">{{ short }}</button>\n } @empty {\n <span>{{ resources.noParent }}</span>\n }\n @if (chips().length > 0) {\n <span class=\"muted\">{{ resources.inLabel }}</span>\n @for (chip of chips(); track chip.name + chip.icon) {\n <span class=\"chip\" [class.current]=\"chip.isCurrent\" [title]=\"chip.title\"><span class=\"ellipsis\">{{ chip.name }}</span></span>\n }\n }\n </div>\n </div>\n <div class=\"actions\">\n @if (mergeable()) {\n <button nol-button type=\"button\" class=\"merge\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.mergeTitle\" (click)=\"mergeAsync()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>{{ resources.mergeLabel }}</button>\n }\n <button nol-button type=\"button\" class=\"cherry-pick\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.cherryPickTitle\" (click)=\"pickAsync(false)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.cherryPickIcon }}</span>{{ resources.cherryPickLabel }}</button>\n <button nol-button type=\"button\" class=\"revert\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.revertTitle\" (click)=\"pickAsync(true)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.revertIcon }}</span>{{ resources.revertLabel }}</button>\n <button nol-button type=\"button\" class=\"rebase-here\" [variant]=\"secondary\" [disabled]=\"state.busy()\" [title]=\"resources.rebaseHereTitle\" (click)=\"startRebase()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.rebaseIcon }}</span>{{ resources.rebaseHereLabel }}</button>\n <button nol-button type=\"button\" class=\"branch-here\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.branchHereTitle\" (click)=\"startBranch(false)\">\n <svg nolButtonIcon class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>{{ resources.branchHereLabel }}</button>\n <button nol-button type=\"button\" class=\"tag-here\" [variant]=\"secondary\" [disabled]=\"!writable()\" [title]=\"resources.tagHereTitle\" (click)=\"startBranch(true)\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.tagIcon }}</span>{{ resources.tagHereLabel }}</button>\n @if (showsAiFeatures()) {\n <button nol-button type=\"button\" class=\"explain\" [variant]=\"secondary\" disabled [title]=\"resources.notBuiltYet\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.explainIcon }}</span>{{ resources.explainLabel }}</button>\n }\n </div>\n @if (predicted().length > 0) {\n <div class=\"predictions\" role=\"status\">\n @for (line of predicted(); track line.text) {\n <p class=\"prediction\">{{ line.text }}</p>\n @if (line.paths.length > 0) {\n <div class=\"prediction-files\">\n @for (path of line.paths; track path) {\n @let name = path.slice(path.lastIndexOf(resources.slash) + 1);\n @if (files().holds(path)) {\n <button type=\"button\" class=\"prediction-file\" [title]=\"path\" (click)=\"files().reveal(path)\"><nol-file-badge [fileName]=\"name\" /><span\n class=\"prediction-file-name\">{{ name }}</span></button>\n } @else {\n <span class=\"prediction-file\" [title]=\"path\"><nol-file-badge [fileName]=\"name\" /><span class=\"prediction-file-name\">{{ name }}</span></span>\n }\n }\n @if (line.more > 0) {\n <span class=\"prediction-more\">{{ resources.formatMorePaths(line.more) }}</span>\n }\n </div>\n }\n }\n </div>\n }\n @if (branchName() !== null) {\n <form class=\"branch-form\" (submit)=\"$event.preventDefault(); createBranchAsync(branchName() ?? '')\">\n @let nameLabel = tagging() ? resources.tagNameLabel : resources.branchNameLabel;\n <input nol-text-field class=\"branch-name\" type=\"text\" autofocus [attr.aria-label]=\"nameLabel\" [placeholder]=\"nameLabel\"\n [ngModel]=\"branchName()\" (ngModelChange)=\"branchName.set($event)\" name=\"branch\" (keydown.escape)=\"cancelBranch()\" />\n <button nol-button type=\"submit\" class=\"create\" [disabled]=\"!writable() || (branchName() ?? '').trim().length === 0\">{{ resources.createLabel }}</button>\n <button nol-button type=\"button\" class=\"cancel\" [variant]=\"secondary\" (click)=\"cancelBranch()\">{{ resources.cancelLabel }}</button>\n </form>\n }\n @if (state.failure(); as refusal) {\n <p class=\"note error\" role=\"alert\">{{ refusal }}</p>\n }\n <nol-git-diff-files [folder]=\"folder()\" [scope]=\"scope()\" />\n @if (pullRequest(); as card) {\n @let found = comments();\n <div class=\"pull-request\" [attr.data-state]=\"card.state\" (click)=\"openPullRequest(card)\">\n <span class=\"pull-request-head\"><span class=\"ms pull-request-icon\">{{ resources.commitPullRequestIcon }}</span><span class=\"pull-request-title\"><nol-git-reference-text\n [text]=\"card.row.label\" [title]=\"card.row.title\" [folder]=\"folder()\" [link]=\"card.row.url\" /></span><span\n class=\"small pull-request-state\">{{ card.stateLabel }}</span></span>\n @if (card.note.length > 0 || found !== null) {\n <span class=\"small muted pull-request-note\">{{ card.note }}@if (found !== null) {@if (card.note.length > 0) {<span>{{ resources.peopleSeparator }}</span>}<button type=\"button\"\n class=\"pull-request-comments\" (click)=\"$event.stopPropagation(); openComments(found.url)\">{{ found.text }}</button>}</span>\n }\n </div>\n } @else if (comments(); as found) {\n <button type=\"button\" class=\"small link comments\" (click)=\"openComments(found.url)\"><span class=\"ms\">{{ resources.commitCommentsIcon }}</span><span>{{ found.text\n }}</span></button>\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: flex;\n flex: 1 0 auto;\n flex-direction: column;\n min-width: 0;\n}\n\n.detail {\n display: flex;\n flex: 1 0 auto;\n flex-direction: column;\n gap: 0.75rem;\n box-sizing: border-box;\n padding: 0.75rem;\n}\n\n.id-row,\n.author,\n.parents {\n display: flex;\n align-items: center;\n min-width: 0;\n}\n\n.id-row {\n gap: 0.25rem;\n}\n\n.id-row > [nol-icon-button]:last-child {\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.chip {\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n min-width: 0;\n overflow: hidden;\n gap: 0.25rem;\n height: 1.25rem;\n padding: 0 0.375rem;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.chip.current {\n font-weight: 500;\n}\n\n.subject {\n color: var(--nol-text-strong);\n font-size: 0.9375rem;\n font-weight: 500;\n line-height: 1.25rem;\n overflow-wrap: anywhere;\n}\n\n.message {\n color: var(--nol-text);\n font-size: 0.8125rem;\n line-height: 1.6;\n overflow-wrap: anywhere;\n}\n\n.branch-form {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n}\n\n.branch-name {\n flex: 1;\n min-width: 0;\n}\n\n.people {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\n.author {\n gap: 0.5rem;\n}\n\n.parents {\n flex-wrap: wrap;\n gap: 0.375rem;\n}\n\n.signature {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n}\n\n.ms.signature-icon {\n width: 0.875rem;\n height: 0.875rem;\n font-size: 0.875rem;\n}\n\n.signature[data-state=\"Verified\"] .signature-icon {\n color: var(--nol-status-ok);\n}\n\n.signature[data-state=\"Unverified\"] .signature-icon {\n color: var(--nol-warning);\n}\n\n.signature-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.actions {\n display: flex;\n flex-wrap: wrap;\n gap: 0.5rem;\n}\n\n.predictions {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.prediction {\n margin: 0;\n}\n\n.prediction-files {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 0.25rem;\n min-width: 0;\n}\n\n.prediction-file {\n display: inline-flex;\n align-items: center;\n max-width: 100%;\n min-width: 0;\n box-sizing: border-box;\n gap: 0.25rem;\n height: 1.25rem;\n margin: 0;\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n box-shadow: inset 0 0 0 1px var(--nol-border);\n background: transparent;\n color: var(--nol-text-strong);\n font: inherit;\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\nbutton.prediction-file {\n cursor: pointer;\n}\n\nbutton.prediction-file:hover {\n background: var(--nol-hover);\n}\n\n.prediction-file-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n text-align: start;\n}\n\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: 500;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.link {\n color: var(--nol-link);\n}\n\nbutton.link {\n padding: 0;\n border: 0;\n background: none;\n font: inherit;\n cursor: pointer;\n}\n\nbutton.link:hover {\n text-decoration: underline;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.octicon {\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.note {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.av {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.5rem;\n height: 1.5rem;\n border-radius: 50%;\n font-size: 0.6875rem;\n font-weight: 500;\n object-fit: cover;\n}\n.av-default {\n background: var(--nol-avatar-default);\n color: var(--nol-avatar-default-text);\n}\n\n.av-teal {\n background: var(--nol-avatar-teal);\n color: var(--nol-avatar-teal-text);\n}\n\n.av-amber {\n background: var(--nol-avatar-amber);\n color: var(--nol-avatar-amber-text);\n}\n\n.av-violet {\n background: var(--nol-avatar-violet);\n color: var(--nol-avatar-violet-text);\n}\n\n.av-green {\n background: var(--nol-avatar-green);\n color: var(--nol-avatar-green-text);\n}\n\n.av-pink {\n background: var(--nol-avatar-pink);\n color: var(--nol-avatar-pink-text);\n}\n\n.av-cyan {\n background: var(--nol-avatar-cyan);\n color: var(--nol-avatar-cyan-text);\n}\n\n.av-orange {\n background: var(--nol-avatar-orange);\n color: var(--nol-avatar-orange-text);\n}\n\n.comments {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n align-self: flex-start;\n margin-top: auto;\n}\n\n.link.comments {\n font-size: 0.75rem;\n}\n\n.pull-request-comments {\n padding: 0;\n border: 0;\n background: none;\n color: inherit;\n font: inherit;\n cursor: pointer;\n}\n\n.pull-request-comments:hover {\n text-decoration: underline;\n}\n\n.pull-request {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n box-sizing: border-box;\n width: 100%;\n margin-top: auto;\n padding: 0.75rem;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: 0.375rem;\n background: var(--nol-raised);\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.pull-request-head {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-width: 0;\n}\n\n.pull-request-title {\n flex: 1 1 auto;\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: 500;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.pull-request[data-state=\"Merged\"] .pull-request-state {\n color: var(--nol-status-ok);\n}\n\n.pull-request[data-state=\"Closed\"] .pull-request-state {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-commit-detail.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-commit-detail/git-commit-detail.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-commit-detail/git-commit-detail.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EAAE,SAAS,EAC5I,MAAM,eAAe,CAAC;AACvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAClH,OAAO,EACL,SAAS,EAAE,aAAa,EAAsF,gBAAgB,EAAE,OAAO,EAAE,cAAc,EACxJ,MAAM,u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,SAAS,CAAC,KAAK,CAAC;gBACpC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACnC,CAAC;IACH,CAAC;IAEO,MAAM,CAAC,WAAW,CAAC,MAAwB;QACjD,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;IAChH,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;uGA3NU,wBAAwB;2FAAxB,wBAAwB,wXA2D0C,qBAAqB,gECjHpG,qgSAuIA,w3MDtFY,eAAe,oJAAE,kBAAkB,4FAAE,WAAW,+pCAAE,qBAAqB,sGAAE,yBAAyB,gIAAE,mBAAmB,2MAAE,qBAAqB,kXACtJ,aAAa,2EAAE,iBAAiB,6LAAE,oBAAoB,oJAAE,kBAAkB,wHAAE,gBAAgB;;2FAInF,wBAAwB;kBAPpC,SAAS;+BACE,uBAAuB,WACxB,CAAC,eAAe,EAAE,kBAAkB,EAAE,WAAW,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,qBAAqB;wBACtJ,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,CAAC;iHA+DlB,qBAAqB"}
|
|
1
|
+
{"version":3,"file":"git-commit-detail.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-commit-detail/git-commit-detail.component.ts","../../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B,2MAAE,qBAAqB,kXACtJ,aAAa,qFAAE,iBAAiB,6LAAE,oBAAoB,oJAAE,kBAAkB,wHAAE,gBAAgB;;2FAInF,wBAAwB;kBAPpC,SAAS;+BACE,uBAAuB,WACxB,CAAC,eAAe,EAAE,kBAAkB,EAAE,WAAW,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,qBAAqB;wBACtJ,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,CAAC;iHA+DlB,qBAAqB"}
|
|
@@ -15,10 +15,10 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
export class GitCommitDetailViewComponent {
|
|
16
16
|
resources = Resources;
|
|
17
17
|
shown = GitCommitDetails.of(inject(WindowPartTokens.context)).shown;
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.
|
|
19
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitCommitDetailViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitCommitDetailViewComponent, isStandalone: true, selector: "nol-git-commit-detail-view", providers: [GitViewStateService], ngImport: i0, template: "@if (shown(); as view) {\n <nol-git-commit-detail [folder]=\"view.folder\" [commit]=\"view.commit\" />\n} @else {\n <p class=\"muted empty-view\">{{ resources.commitDetailEmpty }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.empty-view {\n margin: var(--nol-space-3);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: GitCommitDetailComponent, selector: "nol-git-commit-detail", inputs: ["folder", "commit"] }] });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitCommitDetailViewComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{ selector: "nol-git-commit-detail-view", imports: [GitCommitDetailComponent], providers: [GitViewStateService], template: "@if (shown(); as view) {\n <nol-git-commit-detail [folder]=\"view.folder\" [commit]=\"view.commit\" />\n} @else {\n <p class=\"muted empty-view\">{{ resources.commitDetailEmpty }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.empty-view {\n margin: var(--nol-space-3);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
24
24
|
}] });
|
|
@@ -27,10 +27,10 @@ export class GitCommitDocumentComponent {
|
|
|
27
27
|
untracked(() => this.context.updateDocument(Resources.commitDocumentName, folder, { title }));
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.
|
|
31
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitCommitDocumentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitCommitDocumentComponent, isStandalone: true, selector: "nol-git-commit-document", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, providers: [GitViewStateService], ngImport: i0, template: "@if (shown(); as view) {\n <nol-git-commit-detail [folder]=\"view.folder\" [commit]=\"view.commit\" />\n} @else {\n <p class=\"muted empty-view\">{{ resources.commitDetailEmpty }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.empty-view {\n margin: var(--nol-space-3);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: GitCommitDetailComponent, selector: "nol-git-commit-detail", inputs: ["folder", "commit"] }] });
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitCommitDocumentComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
35
35
|
args: [{ selector: "nol-git-commit-document", imports: [GitCommitDetailComponent], providers: [GitViewStateService], template: "@if (shown(); as view) {\n <nol-git-commit-detail [folder]=\"view.folder\" [commit]=\"view.commit\" />\n} @else {\n <p class=\"muted empty-view\">{{ resources.commitDetailEmpty }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.empty-view {\n margin: var(--nol-space-3);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
36
36
|
}], ctorParameters: () => [], propDecorators: { instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
@@ -16,10 +16,10 @@ export class GitConflictDetailComponent {
|
|
|
16
16
|
detail = GitConflictDetails.of(inject(WindowPartTokens.context)).shown;
|
|
17
17
|
instance = input.required(/* @ts-ignore */
|
|
18
18
|
...(ngDevMode ? [{ debugName: "instance" }] : /* istanbul ignore next */ []));
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.
|
|
20
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitConflictDetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitConflictDetailComponent, isStandalone: true, selector: "nol-git-conflict-detail", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@if (detail(); as shown) {\n <section class=\"detail\" [attr.aria-label]=\"resources.conflictDetailLabel\">\n @if (shown.active; as active) {\n <div class=\"detail-head\">\n <h2 class=\"detail-title\">{{ resources.formatConflictTitle(active.index + 1, active.count) }}</h2>\n <span class=\"detail-lines\">{{ resources.formatConflictLines(active.firstLine + 1, active.lastLine + 1) }}</span>\n </div>\n <div class=\"base\">\n <h3 class=\"checklist-title\">{{ resources.baseTitle }}</h3>\n @if (active.base === null) {\n <p class=\"base-note\">{{ resources.noBaseNote }}</p>\n } @else {\n <noldova-code-text class=\"base-text\" [text]=\"active.base\" [language]=\"shown.language\" />\n }\n </div>\n }\n <div class=\"checklist\">\n <h2 class=\"checklist-title\">{{ resources.beforeCommitTitle }}</h2>\n @if (shown.leftoverMarkers; as leftover) {\n @if (leftover.length === 0) {\n <p class=\"check markers\"><span class=\"file-icon ok material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resolvedIcon }}</span><span class=\"check-text\">{{ resources.noMarkersLeft }}</span></p>\n } @else {\n <p class=\"check markers\"><span class=\"file-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.conflictIcon }}</span><span class=\"check-text\">{{\n resources.formatMarkersLeft(leftover) }}</span></p>\n }\n } @else if (shown.markerFailure; as failure) {\n <p class=\"check markers\"><span class=\"file-icon failure material-symbols-rounded\" aria-hidden=\"true\">{{ resources.failureIcon }}</span><span class=\"check-text\">{{\n resources.formatMarkerCheckFailed(failure) }}</span></p>\n }\n </div>\n <p class=\"detail-note\">{{ resources.rerereNote }}</p>\n </section>\n} @else {\n <p class=\"muted empty-view\">{{ resources.conflictDetailEmpty }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.detail {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n box-sizing: border-box;\n min-height: 100%;\n padding: 0.75rem;\n}\n\n.empty-view {\n margin: var(--nol-space-3);\n}\n\n.detail-head {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n}\n\n.detail-title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n color: var(--nol-text-strong);\n font-size: 0.9375rem;\n font-weight: var(--nol-weight-emphasis);\n}\n\n.detail-lines,\n.base-note {\n margin: 0;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.base,\n.checklist {\n display: flex;\n flex-direction: column;\n}\n\n.base {\n gap: 0.25rem;\n}\n\n.checklist {\n gap: 0.375rem;\n}\n\n.base-text {\n min-height: 1.25rem;\n margin: 0;\n padding: 0.25rem 0.5rem;\n overflow: auto;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background: var(--nol-code);\n color: var(--nol-text-code);\n font-family: var(--nol-font-mono);\n font-size: 0.8125rem;\n line-height: 1.25rem;\n white-space: pre;\n}\n\n.checklist-title {\n display: flex;\n align-items: center;\n height: 1.625rem;\n margin: 0;\n padding: 0;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n.check {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-height: 1.625rem;\n margin: 0;\n}\n\n.file-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.detail-note {\n margin: auto 0 0;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n line-height: 1.6;\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: CodeTextComponent, selector: "noldova-code-text", inputs: ["text", "language"] }] });
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitConflictDetailComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: "nol-git-conflict-detail", imports: [CodeTextComponent], template: "@if (detail(); as shown) {\n <section class=\"detail\" [attr.aria-label]=\"resources.conflictDetailLabel\">\n @if (shown.active; as active) {\n <div class=\"detail-head\">\n <h2 class=\"detail-title\">{{ resources.formatConflictTitle(active.index + 1, active.count) }}</h2>\n <span class=\"detail-lines\">{{ resources.formatConflictLines(active.firstLine + 1, active.lastLine + 1) }}</span>\n </div>\n <div class=\"base\">\n <h3 class=\"checklist-title\">{{ resources.baseTitle }}</h3>\n @if (active.base === null) {\n <p class=\"base-note\">{{ resources.noBaseNote }}</p>\n } @else {\n <noldova-code-text class=\"base-text\" [text]=\"active.base\" [language]=\"shown.language\" />\n }\n </div>\n }\n <div class=\"checklist\">\n <h2 class=\"checklist-title\">{{ resources.beforeCommitTitle }}</h2>\n @if (shown.leftoverMarkers; as leftover) {\n @if (leftover.length === 0) {\n <p class=\"check markers\"><span class=\"file-icon ok material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resolvedIcon }}</span><span class=\"check-text\">{{ resources.noMarkersLeft }}</span></p>\n } @else {\n <p class=\"check markers\"><span class=\"file-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.conflictIcon }}</span><span class=\"check-text\">{{\n resources.formatMarkersLeft(leftover) }}</span></p>\n }\n } @else if (shown.markerFailure; as failure) {\n <p class=\"check markers\"><span class=\"file-icon failure material-symbols-rounded\" aria-hidden=\"true\">{{ resources.failureIcon }}</span><span class=\"check-text\">{{\n resources.formatMarkerCheckFailed(failure) }}</span></p>\n }\n </div>\n <p class=\"detail-note\">{{ resources.rerereNote }}</p>\n </section>\n} @else {\n <p class=\"muted empty-view\">{{ resources.conflictDetailEmpty }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n box-sizing: border-box;\n height: 100%;\n min-width: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.detail {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n box-sizing: border-box;\n min-height: 100%;\n padding: 0.75rem;\n}\n\n.empty-view {\n margin: var(--nol-space-3);\n}\n\n.detail-head {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n}\n\n.detail-title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n color: var(--nol-text-strong);\n font-size: 0.9375rem;\n font-weight: var(--nol-weight-emphasis);\n}\n\n.detail-lines,\n.base-note {\n margin: 0;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.base,\n.checklist {\n display: flex;\n flex-direction: column;\n}\n\n.base {\n gap: 0.25rem;\n}\n\n.checklist {\n gap: 0.375rem;\n}\n\n.base-text {\n min-height: 1.25rem;\n margin: 0;\n padding: 0.25rem 0.5rem;\n overflow: auto;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background: var(--nol-code);\n color: var(--nol-text-code);\n font-family: var(--nol-font-mono);\n font-size: 0.8125rem;\n line-height: 1.25rem;\n white-space: pre;\n}\n\n.checklist-title {\n display: flex;\n align-items: center;\n height: 1.625rem;\n margin: 0;\n padding: 0;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n.check {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n min-height: 1.625rem;\n margin: 0;\n}\n\n.file-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.detail-note {\n margin: auto 0 0;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n line-height: 1.6;\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
25
25
|
}], propDecorators: { instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
@@ -241,10 +241,10 @@ export class GitConflictsComponent {
|
|
|
241
241
|
static lacks(conflict, kinds) {
|
|
242
242
|
return Object.isNull(conflict) || kinds.has(conflict.kind);
|
|
243
243
|
}
|
|
244
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.
|
|
245
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitConflictsComponent, isStandalone: true, selector: "nol-git-conflicts", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, providers: [GitViewStateService], viewQueries: [{ propertyName: "editor", first: true, predicate: MergeEditorComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (status(); as status) {\n @if (resolving()) {\n <div class=\"operation\" role=\"status\">\n <span class=\"operation-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n @if (status.operation; as operation) {\n <span class=\"operation-text\"><span class=\"strong\">{{ operationText(operation, status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n <span class=\"operation-actions\">\n <button nol-button type=\"button\" class=\"abort\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"abort()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.abortOperationIcon }}</span>{{ resources.abortLabels[operation.kind] }}</button>\n <button nol-button type=\"button\" class=\"continue\" [disabled]=\"state.busy() || conflicted().length > 0\" (click)=\"continue()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.continueOperationIcon }}</span>{{ resources.continueLabels[operation.kind] }}</button>\n </span>\n } @else {\n <span class=\"operation-text\"><span class=\"strong\">{{ resources.formatLooseConflicts(status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n }\n </div>\n @if (state.failure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"body\">\n <nav class=\"files\" [attr.aria-label]=\"resources.conflictFilesLabel\">\n <h2 class=\"group\"><span>{{ resources.groupTitles.Conflicts }}</span>&ngsp;<span class=\"count\">{{ conflicted().length }}</span></h2>\n @for (path of conflicted(); track path) {\n <button type=\"button\" class=\"file conflicted\" [class.selected]=\"path === current()\" [attr.aria-current]=\"path === current() ? 'true' : null\" [title]=\"path\"\n (click)=\"pick(path)\">\n <span class=\"file-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.conflictIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n @if (path === current() && fileProgress().length > 0) {\n <span class=\"note progress\">{{ fileProgress() }}</span>\n }\n </button>\n }\n @if (resolved().length > 0) {\n <h2 class=\"group\"><span>{{ resources.resolvedTitle }}</span>&ngsp;<span class=\"count\">{{ resolved().length }}</span></h2>\n @for (item of resolved(); track item.path) {\n <div class=\"file resolved\" [title]=\"item.path\">\n <span class=\"file-icon ok material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resolvedIcon }}</span><span class=\"name\">{{ nameOf(item.path) }}</span><span\n class=\"folder\">{{ folderOf(item.path) }}</span><span class=\"note\">{{ item.note }}</span>\n </div>\n }\n }\n @let clean = cleanOf(status);\n @if (clean.length > 0) {\n <h2 class=\"group\"><span>{{ resources.mergedCleanlyTitle }}</span>&ngsp;<span class=\"count\">{{ clean.length }}</span></h2>\n @let hidden = hiddenOf(clean);\n @for (path of clean.slice(0, clean.length - hidden); track path) {\n <div class=\"file clean\" [title]=\"path\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.cleanFileIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n </div>\n }\n @if (hidden > 0) {\n <button type=\"button\" class=\"file more\" (click)=\"showsAllClean.set(true)\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moreIcon }}</span><span class=\"name\">{{ resources.formatMoreCleanFiles(hidden) }}</span>\n </button>\n }\n }\n </nav>\n <main class=\"sides\" [attr.aria-label]=\"current() ?? resources.conflictsTitle\">\n @if (conflict(); as conflict) {\n @if (conflict.reused) {\n <p class=\"note-line\" role=\"note\">{{ resources.reusedNote }}</p>\n }\n @if (conflict.binary) {\n <p class=\"note-line\" role=\"note\">{{ resources.binaryNote }}</p>\n }\n @if (merges()) {\n <noldova-merge-editor #editor class=\"merge\" [base]=\"conflict.base\" [ours]=\"conflict.ours\" [theirs]=\"conflict.theirs\" [merged]=\"conflict.merged\"\n [oursLabel]=\"conflict.oursLabel\" [theirsLabel]=\"conflict.theirsLabel\" [readOnly]=\"state.busy()\" [toolbar]=\"false\" [panels]=\"true\" [showBase]=\"showsBase()\" [language]=\"language()\"\n (conflictsChange)=\"conflictStates.set($event.toArray()); conflictCount.set($event.count()); unresolved.set(editor.result() === null ? null : editor.unresolvedCount())\"\n (markersFailed)=\"unresolved.set(null)\">\n <div nolMergeOursHead class=\"pane-head ours\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n </div>\n <div nolMergeTheirsHead class=\"pane-head theirs\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n </div>\n <div nolMergeBaseHead class=\"pane-head base-pane\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.baseIcon }}</span><span class=\"strong\">{{ resources.baseTitle }}</span><span\n class=\"muted label\">{{ resources.baseNote }}</span>\n </div>\n <div nolMergeResultHead class=\"pane-head result\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resultIcon }}</span><span class=\"strong\">{{ resources.resultLabel }}</span><span\n class=\"muted label\">{{ resultNote() }}</span>\n <button nol-toolbar-button type=\"button\" class=\"show-base\" [label]=\"resources.showBaseLabel\" [pressed]=\"showsBase()\" (click)=\"showsBase.set(!showsBase())\"></button>\n <button nol-toolbar-button type=\"button\" class=\"previous\" [icon]=\"resources.previousConflictIcon\" [label]=\"resources.previousConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.previousConflict()\"></button>\n <button nol-toolbar-button type=\"button\" class=\"next\" [icon]=\"resources.nextConflictIcon\" [label]=\"resources.nextConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.nextConflict()\"></button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"state.busy() || unresolved() !== 0\"\n (click)=\"resolve(conflict, resolutions.Text, editor.result())\">{{ resources.markResolvedLabel }}</button>\n </div>\n </noldova-merge-editor>\n @if (markersUnreadable()) {\n <div class=\"merge-actions\">\n <button nol-button type=\"button\" class=\"take-ours\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\">{{ resources.takeOursLabel }}</button>\n <button nol-button type=\"button\" class=\"take-theirs\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\">{{ resources.takeTheirsLabel }}</button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"true\">{{ resources.markResolvedLabel }}</button>\n </div>\n }\n } @else {\n <div class=\"panes\">\n <section class=\"pane ours\" [attr.aria-label]=\"resources.oursLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasOurs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n }\n </div>\n @if (!hasOurs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.ours !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.ours\" [language]=\"language()\" />\n }\n </section>\n <section class=\"pane theirs\" [attr.aria-label]=\"resources.theirsLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasTheirs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n }\n </div>\n @if (!hasTheirs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.theirs !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.theirs\" [language]=\"language()\" />\n }\n </section>\n </div>\n @if (!hasOurs() || !hasTheirs()) {\n <div class=\"whole-file\">\n <button nol-button type=\"button\" class=\"delete\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Delete)\">{{ resources.deleteFileLabel }}</button>\n </div>\n }\n }\n } @else if (readFailure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n } @else if (conflicted().length === 0) {\n <p class=\"quiet\">{{ resources.formatConflictText(0) }}</p>\n }\n </main>\n </div>\n } @else {\n <p class=\"quiet\">{{ resources.noOperation }}</p>\n }\n} @else if (state.folder() !== instance()) {\n <p class=\"quiet\">{{ resources.otherFolderNote }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n --ours: var(--nol-author-3);\n --theirs: var(--nol-author-5);\n\n display: flex;\n container-type: inline-size;\n flex-direction: column;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.operation {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: 0.75rem;\n align-items: center;\n padding: 0.5rem 0.75rem;\n border: var(--nol-border-width) solid color-mix(in srgb, var(--nol-warning) 45%, transparent);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.operation-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n margin-left: auto;\n}\n\n.operation-icon,\n.file-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.clean .file-icon {\n color: var(--nol-icon-color);\n}\n\n.operation-text {\n flex: 1 1 10rem;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.body {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: 15rem minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.files,\n.pane {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: auto;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.files {\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.group {\n display: flex;\n align-items: center;\n height: 1.625rem;\n margin: 0;\n padding: 0 0.5rem;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n.group > .count {\n margin-inline-start: auto;\n}\n\n.group:not(:first-child) {\n margin-top: 0.5rem;\n}\n\n.file {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.file {\n cursor: pointer;\n}\n\nbutton.file:hover {\n background-color: var(--nol-hover);\n}\n\n.file.selected,\n.file.selected:hover {\n background-color: var(--nol-selected);\n}\n\n.name {\n flex: 0 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.folder {\n flex: 1 1 0;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-overflow: ellipsis;\n}\n\n.note {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.file.more,\n.file.more .file-icon {\n color: var(--nol-text-muted);\n}\n\n.sides {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n min-width: 0;\n min-height: 0;\n}\n\n.panes {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.pane-head {\n display: flex;\n box-sizing: border-box;\n flex: none;\n flex-wrap: wrap;\n gap: 0.25rem 0.5rem;\n align-items: center;\n min-height: 2rem;\n padding: 0.125rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.pane-head > [nol-toolbar-button]:last-child {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.bar {\n flex: none;\n width: 0.1875rem;\n height: 1rem;\n border-radius: 0.125rem;\n}\n\n.ours .bar {\n background-color: var(--ours);\n}\n\n.theirs .bar {\n background-color: var(--theirs);\n}\n\n.label {\n flex: 1 1 4rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label + * {\n margin-left: auto;\n}\n\n.side-label {\n display: flex;\n min-width: 5.5rem;\n}\n\n.side-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.side-commit {\n flex: none;\n white-space: pre;\n}\n\n.code {\n flex: 1 1 auto;\n margin: 0;\n padding: 0.25rem 0.75rem;\n overflow: auto;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: 0.8125rem;\n line-height: 1.25rem;\n}\n\n.pane-note,\n.note-line,\n.quiet,\n.failure {\n margin: 0;\n padding: 0.5rem 0.75rem;\n}\n\n.pane-note,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.note-line {\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n@container (max-width: 60rem) {\n .body {\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: max-content;\n overflow: auto;\n }\n\n .files {\n overflow: visible;\n }\n\n .sides {\n height: 22rem;\n }\n}\n\n.merge-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.merge {\n --nol-merge-editor-gap: 0.25rem;\n\n flex: 1 1 auto;\n order: 1;\n min-height: 0;\n}\n\n.pane-icon {\n flex: none;\n color: var(--nol-icon-color);\n font-size: 1rem;\n}\n\n.whole-file {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CodeTextComponent, selector: "noldova-code-text", inputs: ["text", "language"] }, { kind: "component", type: MergeEditorComponent, selector: "noldova-merge-editor", inputs: ["base", "ours", "theirs", "merged", "language", "oursLabel", "theirsLabel", "readOnly", "toolbar", "panels", "showBase"], outputs: ["resultChange", "conflictsChange", "activeConflictChange", "markersFailed", "keySequencePending"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }] });
|
|
244
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitConflictsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
245
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.2", type: GitConflictsComponent, isStandalone: true, selector: "nol-git-conflicts", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, providers: [GitViewStateService], viewQueries: [{ propertyName: "editor", first: true, predicate: MergeEditorComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (status(); as status) {\n @if (resolving()) {\n <div class=\"operation\" role=\"status\">\n <span class=\"operation-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n @if (status.operation; as operation) {\n <span class=\"operation-text\"><span class=\"strong\">{{ operationText(operation, status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n <span class=\"operation-actions\">\n <button nol-button type=\"button\" class=\"abort\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"abort()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.abortOperationIcon }}</span>{{ resources.abortLabels[operation.kind] }}</button>\n <button nol-button type=\"button\" class=\"continue\" [disabled]=\"state.busy() || conflicted().length > 0\" (click)=\"continue()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.continueOperationIcon }}</span>{{ resources.continueLabels[operation.kind] }}</button>\n </span>\n } @else {\n <span class=\"operation-text\"><span class=\"strong\">{{ resources.formatLooseConflicts(status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n }\n </div>\n @if (state.failure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"body\">\n <nav class=\"files\" [attr.aria-label]=\"resources.conflictFilesLabel\">\n <h2 class=\"group\"><span>{{ resources.groupTitles.Conflicts }}</span>&ngsp;<span class=\"count\">{{ conflicted().length }}</span></h2>\n @for (path of conflicted(); track path) {\n <button type=\"button\" class=\"file conflicted\" [class.selected]=\"path === current()\" [attr.aria-current]=\"path === current() ? 'true' : null\" [title]=\"path\"\n (click)=\"pick(path)\">\n <span class=\"file-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.conflictIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n @if (path === current() && fileProgress().length > 0) {\n <span class=\"note progress\">{{ fileProgress() }}</span>\n }\n </button>\n }\n @if (resolved().length > 0) {\n <h2 class=\"group\"><span>{{ resources.resolvedTitle }}</span>&ngsp;<span class=\"count\">{{ resolved().length }}</span></h2>\n @for (item of resolved(); track item.path) {\n <div class=\"file resolved\" [title]=\"item.path\">\n <span class=\"file-icon ok material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resolvedIcon }}</span><span class=\"name\">{{ nameOf(item.path) }}</span><span\n class=\"folder\">{{ folderOf(item.path) }}</span><span class=\"note\">{{ item.note }}</span>\n </div>\n }\n }\n @let clean = cleanOf(status);\n @if (clean.length > 0) {\n <h2 class=\"group\"><span>{{ resources.mergedCleanlyTitle }}</span>&ngsp;<span class=\"count\">{{ clean.length }}</span></h2>\n @let hidden = hiddenOf(clean);\n @for (path of clean.slice(0, clean.length - hidden); track path) {\n <div class=\"file clean\" [title]=\"path\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.cleanFileIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n </div>\n }\n @if (hidden > 0) {\n <button type=\"button\" class=\"file more\" (click)=\"showsAllClean.set(true)\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moreIcon }}</span><span class=\"name\">{{ resources.formatMoreCleanFiles(hidden) }}</span>\n </button>\n }\n }\n </nav>\n <main class=\"sides\" [attr.aria-label]=\"current() ?? resources.conflictsTitle\">\n @if (conflict(); as conflict) {\n @if (conflict.reused) {\n <p class=\"note-line\" role=\"note\">{{ resources.reusedNote }}</p>\n }\n @if (conflict.binary) {\n <p class=\"note-line\" role=\"note\">{{ resources.binaryNote }}</p>\n }\n @if (merges()) {\n <noldova-merge-editor #editor class=\"merge\" [base]=\"conflict.base\" [ours]=\"conflict.ours\" [theirs]=\"conflict.theirs\" [merged]=\"conflict.merged\"\n [oursLabel]=\"conflict.oursLabel\" [theirsLabel]=\"conflict.theirsLabel\" [readOnly]=\"state.busy()\" [toolbar]=\"false\" [panels]=\"true\" [showBase]=\"showsBase()\" [language]=\"language()\"\n (conflictsChange)=\"conflictStates.set($event.toArray()); conflictCount.set($event.count()); unresolved.set(editor.result() === null ? null : editor.unresolvedCount())\"\n (markersFailed)=\"unresolved.set(null)\">\n <div nolMergeOursHead class=\"pane-head ours\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n </div>\n <div nolMergeTheirsHead class=\"pane-head theirs\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n </div>\n <div nolMergeBaseHead class=\"pane-head base-pane\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.baseIcon }}</span><span class=\"strong\">{{ resources.baseTitle }}</span><span\n class=\"muted label\">{{ resources.baseNote }}</span>\n </div>\n <div nolMergeResultHead class=\"pane-head result\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resultIcon }}</span><span class=\"strong\">{{ resources.resultLabel }}</span><span\n class=\"muted label\">{{ resultNote() }}</span>\n <button nol-toolbar-button type=\"button\" class=\"show-base\" [label]=\"resources.showBaseLabel\" [pressed]=\"showsBase()\" (click)=\"showsBase.set(!showsBase())\"></button>\n <button nol-toolbar-button type=\"button\" class=\"previous\" [icon]=\"resources.previousConflictIcon\" [label]=\"resources.previousConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.previousConflict()\"></button>\n <button nol-toolbar-button type=\"button\" class=\"next\" [icon]=\"resources.nextConflictIcon\" [label]=\"resources.nextConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.nextConflict()\"></button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"state.busy() || unresolved() !== 0\"\n (click)=\"resolve(conflict, resolutions.Text, editor.result())\">{{ resources.markResolvedLabel }}</button>\n </div>\n </noldova-merge-editor>\n @if (markersUnreadable()) {\n <div class=\"merge-actions\">\n <button nol-button type=\"button\" class=\"take-ours\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\">{{ resources.takeOursLabel }}</button>\n <button nol-button type=\"button\" class=\"take-theirs\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\">{{ resources.takeTheirsLabel }}</button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"true\">{{ resources.markResolvedLabel }}</button>\n </div>\n }\n } @else {\n <div class=\"panes\">\n <section class=\"pane ours\" [attr.aria-label]=\"resources.oursLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasOurs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n }\n </div>\n @if (!hasOurs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.ours !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.ours\" [language]=\"language()\" />\n }\n </section>\n <section class=\"pane theirs\" [attr.aria-label]=\"resources.theirsLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasTheirs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n }\n </div>\n @if (!hasTheirs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.theirs !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.theirs\" [language]=\"language()\" />\n }\n </section>\n </div>\n @if (!hasOurs() || !hasTheirs()) {\n <div class=\"whole-file\">\n <button nol-button type=\"button\" class=\"delete\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Delete)\">{{ resources.deleteFileLabel }}</button>\n </div>\n }\n }\n } @else if (readFailure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n } @else if (conflicted().length === 0) {\n <p class=\"quiet\">{{ resources.formatConflictText(0) }}</p>\n }\n </main>\n </div>\n } @else {\n <p class=\"quiet\">{{ resources.noOperation }}</p>\n }\n} @else if (state.folder() !== instance()) {\n <p class=\"quiet\">{{ resources.otherFolderNote }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n --ours: var(--nol-author-3);\n --theirs: var(--nol-author-5);\n\n display: flex;\n container-type: inline-size;\n flex-direction: column;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.operation {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: 0.75rem;\n align-items: center;\n padding: 0.5rem 0.75rem;\n border: var(--nol-border-width) solid color-mix(in srgb, var(--nol-warning) 45%, transparent);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.operation-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n margin-left: auto;\n}\n\n.operation-icon,\n.file-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.clean .file-icon {\n color: var(--nol-icon-color);\n}\n\n.operation-text {\n flex: 1 1 10rem;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.body {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: 15rem minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.files,\n.pane {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: auto;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.files {\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.group {\n display: flex;\n align-items: center;\n height: 1.625rem;\n margin: 0;\n padding: 0 0.5rem;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n.group > .count {\n margin-inline-start: auto;\n}\n\n.group:not(:first-child) {\n margin-top: 0.5rem;\n}\n\n.file {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.file {\n cursor: pointer;\n}\n\nbutton.file:hover {\n background-color: var(--nol-hover);\n}\n\n.file.selected,\n.file.selected:hover {\n background-color: var(--nol-selected);\n}\n\n.name {\n flex: 0 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.folder {\n flex: 1 1 0;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-overflow: ellipsis;\n}\n\n.note {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.file.more,\n.file.more .file-icon {\n color: var(--nol-text-muted);\n}\n\n.sides {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n min-width: 0;\n min-height: 0;\n}\n\n.panes {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.pane-head {\n display: flex;\n box-sizing: border-box;\n flex: none;\n flex-wrap: wrap;\n gap: 0.25rem 0.5rem;\n align-items: center;\n min-height: 2rem;\n padding: 0.125rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.pane-head > [nol-toolbar-button]:last-child {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.bar {\n flex: none;\n width: 0.1875rem;\n height: 1rem;\n border-radius: 0.125rem;\n}\n\n.ours .bar {\n background-color: var(--ours);\n}\n\n.theirs .bar {\n background-color: var(--theirs);\n}\n\n.label {\n flex: 1 1 4rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label + * {\n margin-left: auto;\n}\n\n.side-label {\n display: flex;\n min-width: 5.5rem;\n}\n\n.side-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.side-commit {\n flex: none;\n white-space: pre;\n}\n\n.code {\n flex: 1 1 auto;\n margin: 0;\n padding: 0.25rem 0.75rem;\n overflow: auto;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: 0.8125rem;\n line-height: 1.25rem;\n}\n\n.pane-note,\n.note-line,\n.quiet,\n.failure {\n margin: 0;\n padding: 0.5rem 0.75rem;\n}\n\n.pane-note,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.note-line {\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n@container (max-width: 60rem) {\n .body {\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: max-content;\n overflow: auto;\n }\n\n .files {\n overflow: visible;\n }\n\n .sides {\n height: 22rem;\n }\n}\n\n.merge-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.merge {\n --nol-merge-editor-gap: 0.25rem;\n\n flex: 1 1 auto;\n order: 1;\n min-height: 0;\n}\n\n.pane-icon {\n flex: none;\n color: var(--nol-icon-color);\n font-size: 1rem;\n}\n\n.whole-file {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CodeTextComponent, selector: "noldova-code-text", inputs: ["text", "language"] }, { kind: "component", type: MergeEditorComponent, selector: "noldova-merge-editor", inputs: ["base", "ours", "theirs", "merged", "language", "oursLabel", "theirsLabel", "readOnly", "toolbar", "panels", "showBase"], outputs: ["resultChange", "conflictsChange", "activeConflictChange", "markersFailed", "keySequencePending"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }] });
|
|
246
246
|
}
|
|
247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitConflictsComponent, decorators: [{
|
|
248
248
|
type: Component,
|
|
249
249
|
args: [{ selector: "nol-git-conflicts", imports: [ButtonComponent, CodeTextComponent, MergeEditorComponent, ToolbarButtonComponent], providers: [GitViewStateService], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (status(); as status) {\n @if (resolving()) {\n <div class=\"operation\" role=\"status\">\n <span class=\"operation-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n @if (status.operation; as operation) {\n <span class=\"operation-text\"><span class=\"strong\">{{ operationText(operation, status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n <span class=\"operation-actions\">\n <button nol-button type=\"button\" class=\"abort\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"abort()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.abortOperationIcon }}</span>{{ resources.abortLabels[operation.kind] }}</button>\n <button nol-button type=\"button\" class=\"continue\" [disabled]=\"state.busy() || conflicted().length > 0\" (click)=\"continue()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.continueOperationIcon }}</span>{{ resources.continueLabels[operation.kind] }}</button>\n </span>\n } @else {\n <span class=\"operation-text\"><span class=\"strong\">{{ resources.formatLooseConflicts(status.branch) }}</span><span class=\"muted\"> \u00B7 {{ progress() }}</span></span>\n }\n </div>\n @if (state.failure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n }\n <div class=\"body\">\n <nav class=\"files\" [attr.aria-label]=\"resources.conflictFilesLabel\">\n <h2 class=\"group\"><span>{{ resources.groupTitles.Conflicts }}</span>&ngsp;<span class=\"count\">{{ conflicted().length }}</span></h2>\n @for (path of conflicted(); track path) {\n <button type=\"button\" class=\"file conflicted\" [class.selected]=\"path === current()\" [attr.aria-current]=\"path === current() ? 'true' : null\" [title]=\"path\"\n (click)=\"pick(path)\">\n <span class=\"file-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.conflictIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n @if (path === current() && fileProgress().length > 0) {\n <span class=\"note progress\">{{ fileProgress() }}</span>\n }\n </button>\n }\n @if (resolved().length > 0) {\n <h2 class=\"group\"><span>{{ resources.resolvedTitle }}</span>&ngsp;<span class=\"count\">{{ resolved().length }}</span></h2>\n @for (item of resolved(); track item.path) {\n <div class=\"file resolved\" [title]=\"item.path\">\n <span class=\"file-icon ok material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resolvedIcon }}</span><span class=\"name\">{{ nameOf(item.path) }}</span><span\n class=\"folder\">{{ folderOf(item.path) }}</span><span class=\"note\">{{ item.note }}</span>\n </div>\n }\n }\n @let clean = cleanOf(status);\n @if (clean.length > 0) {\n <h2 class=\"group\"><span>{{ resources.mergedCleanlyTitle }}</span>&ngsp;<span class=\"count\">{{ clean.length }}</span></h2>\n @let hidden = hiddenOf(clean);\n @for (path of clean.slice(0, clean.length - hidden); track path) {\n <div class=\"file clean\" [title]=\"path\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.cleanFileIcon }}</span><span class=\"name\">{{ nameOf(path) }}</span><span\n class=\"folder\">{{ folderOf(path) }}</span>\n </div>\n }\n @if (hidden > 0) {\n <button type=\"button\" class=\"file more\" (click)=\"showsAllClean.set(true)\">\n <span class=\"file-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.moreIcon }}</span><span class=\"name\">{{ resources.formatMoreCleanFiles(hidden) }}</span>\n </button>\n }\n }\n </nav>\n <main class=\"sides\" [attr.aria-label]=\"current() ?? resources.conflictsTitle\">\n @if (conflict(); as conflict) {\n @if (conflict.reused) {\n <p class=\"note-line\" role=\"note\">{{ resources.reusedNote }}</p>\n }\n @if (conflict.binary) {\n <p class=\"note-line\" role=\"note\">{{ resources.binaryNote }}</p>\n }\n @if (merges()) {\n <noldova-merge-editor #editor class=\"merge\" [base]=\"conflict.base\" [ours]=\"conflict.ours\" [theirs]=\"conflict.theirs\" [merged]=\"conflict.merged\"\n [oursLabel]=\"conflict.oursLabel\" [theirsLabel]=\"conflict.theirsLabel\" [readOnly]=\"state.busy()\" [toolbar]=\"false\" [panels]=\"true\" [showBase]=\"showsBase()\" [language]=\"language()\"\n (conflictsChange)=\"conflictStates.set($event.toArray()); conflictCount.set($event.count()); unresolved.set(editor.result() === null ? null : editor.unresolvedCount())\"\n (markersFailed)=\"unresolved.set(null)\">\n <div nolMergeOursHead class=\"pane-head ours\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n </div>\n <div nolMergeTheirsHead class=\"pane-head theirs\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n </div>\n <div nolMergeBaseHead class=\"pane-head base-pane\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.baseIcon }}</span><span class=\"strong\">{{ resources.baseTitle }}</span><span\n class=\"muted label\">{{ resources.baseNote }}</span>\n </div>\n <div nolMergeResultHead class=\"pane-head result\">\n <span class=\"pane-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.resultIcon }}</span><span class=\"strong\">{{ resources.resultLabel }}</span><span\n class=\"muted label\">{{ resultNote() }}</span>\n <button nol-toolbar-button type=\"button\" class=\"show-base\" [label]=\"resources.showBaseLabel\" [pressed]=\"showsBase()\" (click)=\"showsBase.set(!showsBase())\"></button>\n <button nol-toolbar-button type=\"button\" class=\"previous\" [icon]=\"resources.previousConflictIcon\" [label]=\"resources.previousConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.previousConflict()\"></button>\n <button nol-toolbar-button type=\"button\" class=\"next\" [icon]=\"resources.nextConflictIcon\" [label]=\"resources.nextConflictLabel\" [isShowingLabel]=\"true\"\n (click)=\"editor.nextConflict()\"></button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"state.busy() || unresolved() !== 0\"\n (click)=\"resolve(conflict, resolutions.Text, editor.result())\">{{ resources.markResolvedLabel }}</button>\n </div>\n </noldova-merge-editor>\n @if (markersUnreadable()) {\n <div class=\"merge-actions\">\n <button nol-button type=\"button\" class=\"take-ours\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\">{{ resources.takeOursLabel }}</button>\n <button nol-button type=\"button\" class=\"take-theirs\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\">{{ resources.takeTheirsLabel }}</button>\n <button nol-button type=\"button\" class=\"mark-resolved\" [disabled]=\"true\">{{ resources.markResolvedLabel }}</button>\n </div>\n }\n } @else {\n <div class=\"panes\">\n <section class=\"pane ours\" [attr.aria-label]=\"resources.oursLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.oursLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.oursLabel }}</span>@if (resources.formatSideCommit(conflict.oursLabel, conflict.oursCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasOurs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-ours\" [label]=\"resources.takeOursLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Ours)\"></button>\n }\n </div>\n @if (!hasOurs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.ours !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.ours\" [language]=\"language()\" />\n }\n </section>\n <section class=\"pane theirs\" [attr.aria-label]=\"resources.theirsLabel\">\n <div class=\"pane-head\">\n <span class=\"bar\" aria-hidden=\"true\"></span><span class=\"strong\">{{ resources.theirsLabel }}</span><span class=\"muted label side-label\"><span class=\"side-name\">{{ conflict.theirsLabel }}</span>@if (resources.formatSideCommit(conflict.theirsLabel, conflict.theirsCommit); as commit) {<span class=\"side-commit\">{{ commit }}</span>}</span>\n @if (hasTheirs()) {\n <button nol-toolbar-button type=\"button\" class=\"take-theirs\" [label]=\"resources.takeTheirsLabel\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Theirs)\"></button>\n }\n </div>\n @if (!hasTheirs()) {\n <p class=\"pane-note\">{{ resources.deletedOnThisSide }}</p>\n } @else if (conflict.theirs !== null) {\n <noldova-code-text class=\"code\" [text]=\"conflict.theirs\" [language]=\"language()\" />\n }\n </section>\n </div>\n @if (!hasOurs() || !hasTheirs()) {\n <div class=\"whole-file\">\n <button nol-button type=\"button\" class=\"delete\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"resolve(conflict, resolutions.Delete)\">{{ resources.deleteFileLabel }}</button>\n </div>\n }\n }\n } @else if (readFailure(); as failure) {\n <p class=\"failure\" role=\"alert\">{{ failure }}</p>\n } @else if (conflicted().length === 0) {\n <p class=\"quiet\">{{ resources.formatConflictText(0) }}</p>\n }\n </main>\n </div>\n } @else {\n <p class=\"quiet\">{{ resources.noOperation }}</p>\n }\n} @else if (state.folder() !== instance()) {\n <p class=\"quiet\">{{ resources.otherFolderNote }}</p>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n --ours: var(--nol-author-3);\n --theirs: var(--nol-author-5);\n\n display: flex;\n container-type: inline-size;\n flex-direction: column;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding: 0 0.25rem 0.25rem;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.operation {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: 0.75rem;\n align-items: center;\n padding: 0.5rem 0.75rem;\n border: var(--nol-border-width) solid color-mix(in srgb, var(--nol-warning) 45%, transparent);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.operation-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n margin-left: auto;\n}\n\n.operation-icon,\n.file-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.clean .file-icon {\n color: var(--nol-icon-color);\n}\n\n.operation-text {\n flex: 1 1 10rem;\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.body {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: 15rem minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.files,\n.pane {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: auto;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background-color: var(--nol-panel);\n}\n\n.files {\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.group {\n display: flex;\n align-items: center;\n height: 1.625rem;\n margin: 0;\n padding: 0 0.5rem;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n font-weight: normal;\n letter-spacing: var(--nol-letter-spacing-caps);\n text-transform: uppercase;\n}\n\n.group > .count {\n margin-inline-start: auto;\n}\n\n.group:not(:first-child) {\n margin-top: 0.5rem;\n}\n\n.file {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.file {\n cursor: pointer;\n}\n\nbutton.file:hover {\n background-color: var(--nol-hover);\n}\n\n.file.selected,\n.file.selected:hover {\n background-color: var(--nol-selected);\n}\n\n.name {\n flex: 0 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.folder {\n flex: 1 1 0;\n min-width: 0;\n overflow: hidden;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n text-overflow: ellipsis;\n}\n\n.note {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.file.more,\n.file.more .file-icon {\n color: var(--nol-text-muted);\n}\n\n.sides {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n min-width: 0;\n min-height: 0;\n}\n\n.panes {\n display: grid;\n flex: 1 1 auto;\n grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n gap: 0.25rem;\n min-height: 0;\n}\n\n.pane-head {\n display: flex;\n box-sizing: border-box;\n flex: none;\n flex-wrap: wrap;\n gap: 0.25rem 0.5rem;\n align-items: center;\n min-height: 2rem;\n padding: 0.125rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.pane-head > [nol-toolbar-button]:last-child {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.bar {\n flex: none;\n width: 0.1875rem;\n height: 1rem;\n border-radius: 0.125rem;\n}\n\n.ours .bar {\n background-color: var(--ours);\n}\n\n.theirs .bar {\n background-color: var(--theirs);\n}\n\n.label {\n flex: 1 1 4rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label + * {\n margin-left: auto;\n}\n\n.side-label {\n display: flex;\n min-width: 5.5rem;\n}\n\n.side-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.side-commit {\n flex: none;\n white-space: pre;\n}\n\n.code {\n flex: 1 1 auto;\n margin: 0;\n padding: 0.25rem 0.75rem;\n overflow: auto;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: 0.8125rem;\n line-height: 1.25rem;\n}\n\n.pane-note,\n.note-line,\n.quiet,\n.failure {\n margin: 0;\n padding: 0.5rem 0.75rem;\n}\n\n.pane-note,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.note-line {\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n@container (max-width: 60rem) {\n .body {\n grid-template-columns: minmax(0, 1fr);\n grid-auto-rows: max-content;\n overflow: auto;\n }\n\n .files {\n overflow: visible;\n }\n\n .sides {\n height: 22rem;\n }\n}\n\n.merge-actions {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.merge {\n --nol-merge-editor-gap: 0.25rem;\n\n flex: 1 1 auto;\n order: 1;\n min-height: 0;\n}\n\n.pane-icon {\n flex: none;\n color: var(--nol-icon-color);\n font-size: 1rem;\n}\n\n.whole-file {\n display: flex;\n flex: none;\n gap: 0.5rem;\n justify-content: flex-end;\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
250
250
|
}], ctorParameters: () => [], propDecorators: { editor: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MergeEditorComponent), { isSignal: true }] }], instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
@@ -14,13 +14,13 @@ import { GitWorkspaceComponent } from "../git-workspace/git-workspace.component.
|
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
export class GitDashboardComponent {
|
|
16
16
|
instance = Resources.openRepositoriesInstance;
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.
|
|
18
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.3.
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitDashboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.3.2", type: GitDashboardComponent, isStandalone: true, selector: "nol-git-dashboard", providers: [
|
|
19
19
|
{ provide: WindowPartTokens.context, useFactory: () => GitWindowContext.current() },
|
|
20
20
|
{ provide: WindowPartTokens.activeDocument, useValue: signal(true) }
|
|
21
21
|
], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-git-workspace [instance]=\"instance\" />\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n height: 100%;\n min-height: 0;\n}\n"], dependencies: [{ kind: "component", type: GitWorkspaceComponent, selector: "nol-git-workspace", inputs: ["instance"] }] });
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.2", ngImport: i0, type: GitDashboardComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: "nol-git-dashboard", imports: [GitWorkspaceComponent], providers: [
|
|
26
26
|
{ provide: WindowPartTokens.context, useFactory: () => GitWindowContext.current() },
|