@noldova/git.window 0.0.8 → 0.0.10
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 +9 -9
- package/src/api/index.d.ts +107 -13
- package/src/api/index.js +1 -0
- package/src/api/index.js.map +1 -1
- package/src/app/components/git-account-dialog/git-account-dialog.component.js +7 -3
- package/src/app/components/git-account-dialog/git-account-dialog.component.js.map +1 -1
- package/src/app/components/git-accounts/git-accounts.component.js +8 -4
- package/src/app/components/git-accounts/git-accounts.component.js.map +1 -1
- package/src/app/components/git-branch-card/git-branch-card.component.js +2 -2
- package/src/app/components/git-branch-card/git-branch-card.component.js.map +1 -1
- package/src/app/components/git-command-log/git-command-log.component.js +40 -7
- package/src/app/components/git-command-log/git-command-log.component.js.map +1 -1
- package/src/app/components/git-commit-card/git-commit-card.component.js +5 -15
- package/src/app/components/git-commit-card/git-commit-card.component.js.map +1 -1
- package/src/app/components/git-commit-detail/git-commit-detail.component.js +6 -5
- 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 -5
- package/src/app/components/git-commit-detail-view/git-commit-detail-view.component.js.map +1 -1
- package/src/app/components/git-conflicts/git-conflicts.component.js +2 -2
- package/src/app/components/git-conflicts/git-conflicts.component.js.map +1 -1
- package/src/app/components/git-dashboard/git-dashboard.component.js +30 -0
- package/src/app/components/git-dashboard/git-dashboard.component.js.map +1 -0
- package/src/app/components/git-diff-files/git-diff-files.component.js +6 -3
- package/src/app/components/git-diff-files/git-diff-files.component.js.map +1 -1
- package/src/app/components/git-file-group/git-file-group.component.js +3 -3
- package/src/app/components/git-file-group/git-file-group.component.js.map +1 -1
- package/src/app/components/git-history/git-history.component.js +116 -16
- package/src/app/components/git-history/git-history.component.js.map +1 -1
- package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js +3 -3
- package/src/app/components/git-pull-request-commits/git-pull-request-commits.component.js.map +1 -1
- package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js +21 -11
- package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js.map +1 -1
- package/src/app/components/git-pull-requests/git-pull-requests.component.js +7 -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 +2 -2
- package/src/app/components/git-rebase/git-rebase.component.js.map +1 -1
- package/src/app/components/git-repository/git-repository.component.js +16 -4
- 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 +62 -0
- package/src/app/components/git-repository-scan-dialog/git-repository-scan-dialog.component.js.map +1 -0
- package/src/app/components/git-undo-menu/git-undo-menu.component.js +23 -5
- 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 +39 -7
- package/src/app/components/git-view/git-view.component.js.map +1 -1
- package/src/app/components/git-workspace/git-workspace.component.js +65 -15
- 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 +2 -2
- package/src/app/components/git-workspace-across/git-workspace-across.component.js.map +1 -1
- package/src/app/components/git-workspaces/git-workspaces.component.js +2 -2
- package/src/app/components/git-workspaces/git-workspaces.component.js.map +1 -1
- package/src/app/exceptions/git-window-inactive.exception.js +16 -0
- package/src/app/exceptions/git-window-inactive.exception.js.map +1 -0
- package/src/app/models/git-branch-menu-item.js.map +1 -1
- package/src/app/models/git-detail-page.js +3 -1
- package/src/app/models/git-detail-page.js.map +1 -1
- package/src/app/models/git-folder-look.js +20 -0
- package/src/app/models/git-folder-look.js.map +1 -0
- package/src/app/models/git-host-card.js +5 -1
- package/src/app/models/git-host-card.js.map +1 -1
- package/src/app/models/git-host-failure.js +29 -0
- package/src/app/models/git-host-failure.js.map +1 -0
- package/src/app/models/git-pull-request-list.js +8 -1
- package/src/app/models/git-pull-request-list.js.map +1 -1
- package/src/app/models/git-pull-request-row.js +3 -1
- package/src/app/models/git-pull-request-row.js.map +1 -1
- package/src/app/models/git-repository-summary.js +3 -1
- package/src/app/models/git-repository-summary.js.map +1 -1
- package/src/app/models/git-status-bar-items.js +3 -1
- package/src/app/models/git-status-bar-items.js.map +1 -1
- package/src/app/models/git-workspace-overview.js +8 -0
- package/src/app/models/git-workspace-overview.js.map +1 -1
- package/src/app/models/git-workspace-row.js +5 -5
- package/src/app/models/git-workspace-row.js.map +1 -1
- package/src/app/services/commit-labels.js +2 -4
- package/src/app/services/commit-labels.js.map +1 -1
- package/src/app/services/git-commit-details.js +1 -1
- package/src/app/services/git-commit-details.js.map +1 -1
- package/src/app/services/git-detail-view.js +21 -7
- package/src/app/services/git-detail-view.js.map +1 -1
- package/src/app/services/git-folder-looks.js +44 -0
- package/src/app/services/git-folder-looks.js.map +1 -0
- package/src/app/services/git-history-rows.js +5 -4
- package/src/app/services/git-history-rows.js.map +1 -1
- package/src/app/services/git-host-accounts.js +2 -1
- package/src/app/services/git-host-accounts.js.map +1 -1
- package/src/app/services/git-repository-scans.js +41 -0
- package/src/app/services/git-repository-scans.js.map +1 -0
- package/src/app/services/git-repository-summaries.js +2 -1
- package/src/app/services/git-repository-summaries.js.map +1 -1
- package/src/app/services/git-runtime-client.js +13 -1
- package/src/app/services/git-runtime-client.js.map +1 -1
- package/src/app/services/git-status-bar.js +13 -7
- package/src/app/services/git-status-bar.js.map +1 -1
- package/src/app/services/git-view-commands.js +46 -0
- package/src/app/services/git-view-commands.js.map +1 -0
- package/src/app/services/git-view-state.service.js +53 -0
- package/src/app/services/git-view-state.service.js.map +1 -1
- package/src/app/services/git-window-context.js +25 -0
- package/src/app/services/git-window-context.js.map +1 -0
- package/src/app/services/git-window-part.js +16 -6
- package/src/app/services/git-window-part.js.map +1 -1
- package/src/app/services/git-workspace-across-views.js +4 -1
- package/src/app/services/git-workspace-across-views.js.map +1 -1
- package/src/app/services/git-workspace-pages.js +0 -2
- package/src/app/services/git-workspace-pages.js.map +1 -1
- package/src/resources.js +83 -17
- package/src/resources.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-branch-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EACzG,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;;;AAanF,MAAM,OAAO,sBAAsB;IAChB,OAAO,GAA4B,MAAM,CAAC,UAAU,CAAC,CAAC;IACtD,OAAO,GAA0C,SAAS,CAAC,QAAQ,CAAgC,SAAS;gFAAC,CAAC;IAC9G,MAAM,GAAqD,SAAS,CAA+B,QAAQ;+EAAC,CAAC;IAE3G,SAAS,GAAqB,SAAS,CAAC;IACxC,KAAK,GAA6B,iBAAiB,CAAC;IACpD,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACnD,KAAK,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACzD,MAAM,GAA4B,MAAM,CAAC,KAAK;+EAAC,CAAC;IAChD,KAAK,GAA2B,MAA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IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;uGAzGU,sBAAsB;2FAAtB,sBAAsB,6jBCjCnC,
|
|
1
|
+
{"version":3,"file":"git-branch-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EACzG,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;;;AAanF,MAAM,OAAO,sBAAsB;IAChB,OAAO,GAA4B,MAAM,CAAC,UAAU,CAAC,CAAC;IACtD,OAAO,GAA0C,SAAS,CAAC,QAAQ,CAAgC,SAAS;gFAAC,CAAC;IAC9G,MAAM,GAAqD,SAAS,CAA+B,QAAQ;+EAAC,CAAC;IAE3G,SAAS,GAAqB,SAAS,CAAC;IACxC,KAAK,GAA6B,iBAAiB,CAAC;IACpD,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACnD,KAAK,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACzD,MAAM,GAA4B,M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CAAC,KAAK,EAAE,CAAC;IACvC,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;uGAzGU,sBAAsB;2FAAtB,sBAAsB,6jBCjCnC,4yIAoEA,0tID5CY,eAAe,mJAAE,WAAW,ysBAAE,oBAAoB,8DAAE,gBAAgB;;2FASnE,sBAAsB;kBAXlC,SAAS;+BACE,qBAAqB,WACtB,CAAC,eAAe,EAAE,WAAW,EAAE,oBAAoB,EAAE,gBAAgB,CAAC,QAGzE;wBACJ,wBAAwB,EAAE,sBAAsB;wBAChD,YAAY,EAAE,sBAAsB;wBACpC,kBAAkB,EAAE,gBAAgB;qBACrC;+FAImH,SAAS,gEACT,QAAQ"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* This source code is licensed under the license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
-
import { Component, computed, DestroyRef, effect, ErrorHandler, inject, input, signal, untracked } from "@angular/core";
|
|
8
|
+
import { afterNextRender, Component, computed, DestroyRef, effect, ElementRef, ErrorHandler, inject, Injector, input, signal, untracked, viewChild } from "@angular/core";
|
|
9
9
|
import "@noldova/context.core";
|
|
10
|
-
import { WindowPartTokens } from "@noldova/desktop.window";
|
|
10
|
+
import { TimeFormatService, WindowPartTokens } from "@noldova/desktop.window";
|
|
11
11
|
import { Resources } from "../../../resources.js";
|
|
12
12
|
import { GitRuntimeClient } from "../../services/git-runtime-client.js";
|
|
13
13
|
import { GitViewStateService } from "../../services/git-view-state.service.js";
|
|
@@ -16,13 +16,18 @@ export class GitCommandLogComponent {
|
|
|
16
16
|
context = inject(WindowPartTokens.context);
|
|
17
17
|
client = new GitRuntimeClient(this.context);
|
|
18
18
|
errors = inject(ErrorHandler);
|
|
19
|
+
injector = inject(Injector);
|
|
20
|
+
times = inject(TimeFormatService);
|
|
21
|
+
list = viewChild("list", /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "list" }] : /* istanbul ignore next */ []));
|
|
19
23
|
reads = 0;
|
|
24
|
+
height = 0;
|
|
20
25
|
resources = Resources;
|
|
21
26
|
log = signal(null, /* @ts-ignore */
|
|
22
27
|
...(ngDevMode ? [{ debugName: "log" }] : /* istanbul ignore next */ []));
|
|
23
28
|
readFailure = signal(null, /* @ts-ignore */
|
|
24
29
|
...(ngDevMode ? [{ debugName: "readFailure" }] : /* istanbul ignore next */ []));
|
|
25
|
-
commands = computed(() =>
|
|
30
|
+
commands = computed(() => this.log()?.commands ?? [], /* @ts-ignore */
|
|
26
31
|
...(ngDevMode ? [{ debugName: "commands" }] : /* istanbul ignore next */ []));
|
|
27
32
|
instance = input.required(/* @ts-ignore */
|
|
28
33
|
...(ngDevMode ? [{ debugName: "instance" }] : /* istanbul ignore next */ []));
|
|
@@ -35,13 +40,30 @@ export class GitCommandLogComponent {
|
|
|
35
40
|
});
|
|
36
41
|
onCleanup(() => void this.unwatchAsync(folder));
|
|
37
42
|
});
|
|
43
|
+
effect(() => {
|
|
44
|
+
this.commands();
|
|
45
|
+
untracked(() => {
|
|
46
|
+
const list = this.list()?.nativeElement;
|
|
47
|
+
const atEnd = Object.isUndefined(list) || GitCommandLogComponent.endsIn(list, list.clientHeight);
|
|
48
|
+
afterNextRender(() => this.keepEnd(atEnd), { injector: this.injector });
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
effect(onCleanup => {
|
|
52
|
+
const list = this.list()?.nativeElement;
|
|
53
|
+
if (Object.isUndefined(list))
|
|
54
|
+
return;
|
|
55
|
+
this.height = list.clientHeight;
|
|
56
|
+
const observer = new ResizeObserver(() => this.keepEnd(GitCommandLogComponent.endsIn(list, this.height)));
|
|
57
|
+
observer.observe(list);
|
|
58
|
+
onCleanup(() => observer.disconnect());
|
|
59
|
+
});
|
|
38
60
|
inject(DestroyRef).onDestroy(this.client.onChanged(t => {
|
|
39
61
|
if (t === this.instance())
|
|
40
62
|
void this.readAsync(t);
|
|
41
63
|
}));
|
|
42
64
|
}
|
|
43
65
|
timeOf(command) {
|
|
44
|
-
return
|
|
66
|
+
return this.times.time(command.at);
|
|
45
67
|
}
|
|
46
68
|
iconOf(command) {
|
|
47
69
|
return Object.isNull(command.exitCode) ? Resources.commandStoppedIcon : command.exitCode === 0 ? Resources.commandDoneIcon : Resources.commandFailedIcon;
|
|
@@ -49,6 +71,17 @@ export class GitCommandLogComponent {
|
|
|
49
71
|
toneOf(command) {
|
|
50
72
|
return Object.isNull(command.exitCode) ? "muted" : command.exitCode === 0 ? "ok" : "failure";
|
|
51
73
|
}
|
|
74
|
+
static endsIn(list, height) {
|
|
75
|
+
return list.scrollTop + height >= list.scrollHeight - Resources.commandLogEndSlack;
|
|
76
|
+
}
|
|
77
|
+
keepEnd(atEnd) {
|
|
78
|
+
const list = this.list()?.nativeElement;
|
|
79
|
+
if (Object.isUndefined(list))
|
|
80
|
+
return;
|
|
81
|
+
if (atEnd)
|
|
82
|
+
list.scrollTop = list.scrollHeight;
|
|
83
|
+
this.height = list.clientHeight;
|
|
84
|
+
}
|
|
52
85
|
async watchAsync(folder) {
|
|
53
86
|
try {
|
|
54
87
|
await this.client.watchAsync(folder);
|
|
@@ -82,10 +115,10 @@ export class GitCommandLogComponent {
|
|
|
82
115
|
}
|
|
83
116
|
}
|
|
84
117
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommandLogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
85
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitCommandLogComponent, isStandalone: true, selector: "nol-git-command-log", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<main class=\"panel\" [attr.aria-label]=\"resources.commandLogLabel\">\n
|
|
118
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitCommandLogComponent, isStandalone: true, selector: "nol-git-command-log", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "list", first: true, predicate: ["list"], 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<main class=\"panel\" [attr.aria-label]=\"resources.commandLogLabel\">\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (log() !== null && commands().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.commandLogEmpty }}</p>\n } @else {\n <ol #list class=\"commands\">\n @for (command of commands(); track command.id) {\n <li class=\"command\">\n <span class=\"time muted\">{{ timeOf(command) }}</span>\n <span class=\"line mono\" [title]=\"command.line\">{{ command.line }}</span>\n <span class=\"exit\" [class]=\"'exit ' + toneOf(command)\" [title]=\"resources.formatCommandExit(command.exitCode)\">\n <span class=\"exit-icon material-symbols-rounded\" aria-hidden=\"true\">{{ iconOf(command) }}</span>\n <span class=\"exit-text\">{{ resources.formatCommandExit(command.exitCode) }}</span>\n </span>\n <span class=\"duration muted\">{{ resources.formatCommandDuration(command.milliseconds) }}</span>\n </li>\n }\n </ol>\n }\n</main>\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 box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding-block: var(--nol-view-padding-block);\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.panel {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n}\n\n.exit-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.note {\n margin: 0;\n}\n\n.time,\n.duration {\n font-size: 0.75rem;\n}\n\n.note {\n padding: var(--nol-view-padding-block) var(--nol-content-padding-inline);\n}\n\n.commands {\n flex: 1 1 auto;\n min-height: 0;\n margin: 0;\n padding: 0 var(--nol-content-padding-inline);\n overflow: auto;\n list-style: none;\n}\n\n.command {\n display: grid;\n grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 4rem;\n gap: 0.75rem;\n align-items: center;\n min-height: 1.75rem;\n}\n\n.line {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n user-select: text;\n}\n\n.exit {\n display: flex;\n gap: 0.25rem;\n align-items: center;\n min-width: 0;\n}\n\n.exit-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.duration {\n text-align: end;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] });
|
|
86
119
|
}
|
|
87
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommandLogComponent, decorators: [{
|
|
88
121
|
type: Component,
|
|
89
|
-
args: [{ selector: "nol-git-command-log", 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<main class=\"panel\" [attr.aria-label]=\"resources.commandLogLabel\">\n
|
|
90
|
-
}], ctorParameters: () => [], propDecorators: { instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
122
|
+
args: [{ selector: "nol-git-command-log", 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<main class=\"panel\" [attr.aria-label]=\"resources.commandLogLabel\">\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (log() !== null && commands().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.commandLogEmpty }}</p>\n } @else {\n <ol #list class=\"commands\">\n @for (command of commands(); track command.id) {\n <li class=\"command\">\n <span class=\"time muted\">{{ timeOf(command) }}</span>\n <span class=\"line mono\" [title]=\"command.line\">{{ command.line }}</span>\n <span class=\"exit\" [class]=\"'exit ' + toneOf(command)\" [title]=\"resources.formatCommandExit(command.exitCode)\">\n <span class=\"exit-icon material-symbols-rounded\" aria-hidden=\"true\">{{ iconOf(command) }}</span>\n <span class=\"exit-text\">{{ resources.formatCommandExit(command.exitCode) }}</span>\n </span>\n <span class=\"duration muted\">{{ resources.formatCommandDuration(command.milliseconds) }}</span>\n </li>\n }\n </ol>\n }\n</main>\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 box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding-block: var(--nol-view-padding-block);\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.panel {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n}\n\n.exit-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.note {\n margin: 0;\n}\n\n.time,\n.duration {\n font-size: 0.75rem;\n}\n\n.note {\n padding: var(--nol-view-padding-block) var(--nol-content-padding-inline);\n}\n\n.commands {\n flex: 1 1 auto;\n min-height: 0;\n margin: 0;\n padding: 0 var(--nol-content-padding-inline);\n overflow: auto;\n list-style: none;\n}\n\n.command {\n display: grid;\n grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 4rem;\n gap: 0.75rem;\n align-items: center;\n min-height: 1.75rem;\n}\n\n.line {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n user-select: text;\n}\n\n.exit {\n display: flex;\n gap: 0.25rem;\n align-items: center;\n min-width: 0;\n}\n\n.exit-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.duration {\n text-align: end;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
123
|
+
}], ctorParameters: () => [], propDecorators: { list: [{ type: i0.ViewChild, args: ["list", { isSignal: true }] }], instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
91
124
|
//# sourceMappingURL=git-command-log.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-command-log.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-command-log/git-command-log.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-command-log/git-command-log.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAiC,MAAM,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"git-command-log.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-command-log/git-command-log.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-command-log/git-command-log.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAiC,MAAM,EAAE,SAAS,EAAE,SAAS,EAC1J,MAAM,eAAe,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,iBAAiB,EA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AC,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC;uGA3GU,sBAAsB;2FAAtB,sBAAsB,yUCvBnC,0wCA6BA;;2FDNa,sBAAsB;kBALlC,SAAS;+BACE,qBAAqB;4FAUyE,MAAM"}
|
|
@@ -21,11 +21,7 @@ export class GitCommitCardComponent {
|
|
|
21
21
|
state = inject(GitViewStateService);
|
|
22
22
|
placeholder = computed(() => this.status().operation?.message ?? Resources.messagePlaceholder, /* @ts-ignore */
|
|
23
23
|
...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
24
|
-
canAmend =
|
|
25
|
-
const status = this.status();
|
|
26
|
-
return !Object.isNull(status.head) && Object.isNull(status.operation) && !(!Object.isNull(status.upstream) && !status.upstream.gone && status.upstream.ahead === 0);
|
|
27
|
-
}, /* @ts-ignore */
|
|
28
|
-
...(ngDevMode ? [{ debugName: "canAmend" }] : /* istanbul ignore next */ []));
|
|
24
|
+
canAmend = this.state.canAmend;
|
|
29
25
|
amendTitle = computed(() => this.canAmend() || this.state.amending() ? Resources.amendTitle : Resources.amendPushedTitle, /* @ts-ignore */
|
|
30
26
|
...(ngDevMode ? [{ debugName: "amendTitle" }] : /* istanbul ignore next */ []));
|
|
31
27
|
label = computed(() => {
|
|
@@ -42,14 +38,8 @@ export class GitCommitCardComponent {
|
|
|
42
38
|
return !Object.isNull(operation) && this.state.conflicts() > 0 ? Resources.formatConflictHint(this.state.conflicts(), operation.kind) : null;
|
|
43
39
|
}, /* @ts-ignore */
|
|
44
40
|
...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
|
|
45
|
-
message =
|
|
46
|
-
|
|
47
|
-
return typed.length > 0 ? typed : this.status().operation?.message ?? "";
|
|
48
|
-
}, /* @ts-ignore */
|
|
49
|
-
...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
|
|
50
|
-
canCommit = computed(() => !this.state.busy() && this.state.conflicts() === 0 && this.message().length > 0
|
|
51
|
-
&& (this.state.amending() ? this.canAmend() : this.state.staged() > 0 || !Object.isNull(this.status().operation)), /* @ts-ignore */
|
|
52
|
-
...(ngDevMode ? [{ debugName: "canCommit" }] : /* istanbul ignore next */ []));
|
|
41
|
+
message = this.state.commitMessage;
|
|
42
|
+
canCommit = this.state.canCommit;
|
|
53
43
|
canPush = computed(() => !this.state.amending() && Object.isNull(this.status().operation) && !Object.isNull(this.status().upstream), /* @ts-ignore */
|
|
54
44
|
...(ngDevMode ? [{ debugName: "canPush" }] : /* istanbul ignore next */ []));
|
|
55
45
|
signingNote = computed(() => {
|
|
@@ -69,10 +59,10 @@ export class GitCommitCardComponent {
|
|
|
69
59
|
void this.state.commitAndPushAsync(this.message());
|
|
70
60
|
}
|
|
71
61
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommitCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", 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
|
|
62
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", 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: ["quiet"] }] });
|
|
73
63
|
}
|
|
74
64
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommitCardComponent, decorators: [{
|
|
75
65
|
type: Component,
|
|
76
|
-
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
|
|
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"] }]
|
|
77
67
|
}], propDecorators: { status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: true }] }] } });
|
|
78
68
|
//# sourceMappingURL=git-commit-card.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-commit-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-commit-card/git-commit-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-commit-card/git-commit-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAiC,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;;;AAQ/E,MAAM,OAAO,sBAAsB;IACd,SAAS,GAAqB,SAAS,CAAC;IACxC,eAAe,GAAoB,cAAc,CAAC,eAAe,CAAC;IAClE,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACnD,KAAK,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACzD,WAAW,GAAmB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,IAAI,SAAS,CAAC,kBAAkB;oFAAC,CAAC;IAC/G,QAAQ,GAAoB,
|
|
1
|
+
{"version":3,"file":"git-commit-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-commit-card/git-commit-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-commit-card/git-commit-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAiC,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;;;AAQ/E,MAAM,OAAO,sBAAsB;IACd,SAAS,GAAqB,SAAS,CAAC;IACxC,eAAe,GAAoB,cAAc,CAAC,eAAe,CAAC;IAClE,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACn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uGA1CU,sBAAsB;2FAAtB,sBAAsB,qNCxBnC,wlDAoCA,08CDhBY,eAAe,mJAAE,WAAW,ysBAAE,kBAAkB;;2FAI/C,sBAAsB;kBANlC,SAAS;+BACE,qBAAqB,WACtB,CAAC,eAAe,EAAE,WAAW,EAAE,kBAAkB,CAAC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Component, computed, DestroyRef, effect, ErrorHandler, inject, Injector, input, signal, untracked, viewChild } from "@angular/core";
|
|
9
9
|
import "@noldova/context.core";
|
|
10
|
-
import { LinkPlace, WindowPartTokens } from "@noldova/desktop.window";
|
|
10
|
+
import { LinkPlace, TimeFormatService, WindowPartTokens } from "@noldova/desktop.window";
|
|
11
11
|
import { DiffScope, DiffScopeKind, PredictionAction, RefKind, SignatureState } from "@noldova/git.protocol";
|
|
12
12
|
import { FormsModule } from "@angular/forms";
|
|
13
13
|
import { ButtonComponent, ButtonVariant, FileBadgeComponent, IconButtonComponent, MenuComponent, MenuItemComponent, MenuTriggerDirective, TextFieldComponent, TooltipDirective } from "@noldova/ui.components.angular";
|
|
@@ -39,6 +39,7 @@ export class GitCommitDetailComponent {
|
|
|
39
39
|
client = new GitRuntimeClient(this.context);
|
|
40
40
|
errors = inject(ErrorHandler);
|
|
41
41
|
injector = inject(Injector);
|
|
42
|
+
dates = inject(TimeFormatService);
|
|
42
43
|
state = inject(GitViewStateService);
|
|
43
44
|
resources = Resources;
|
|
44
45
|
showsAiFeatures = GitViewOptions.showsAiFeatures;
|
|
@@ -115,13 +116,13 @@ export class GitCommitDetailComponent {
|
|
|
115
116
|
...(ngDevMode ? [{ debugName: "avatar" }] : /* istanbul ignore next */ []));
|
|
116
117
|
image = computed(() => GitAvatars.imageOf(this.folder(), this.commit().email, this.commit().commit.id), /* @ts-ignore */
|
|
117
118
|
...(ngDevMode ? [{ debugName: "image" }] : /* istanbul ignore next */ []));
|
|
118
|
-
authored = computed(() => Resources.formatAuthored(
|
|
119
|
+
authored = computed(() => Resources.formatAuthored(this.dates.shortDateTime(this.commit().commit.authoredAt)), /* @ts-ignore */
|
|
119
120
|
...(ngDevMode ? [{ debugName: "authored" }] : /* istanbul ignore next */ []));
|
|
120
121
|
committed = computed(() => {
|
|
121
122
|
const more = this.more();
|
|
122
123
|
if (Object.isNull(more) || more.committer === this.commit().commit.author)
|
|
123
124
|
return null;
|
|
124
|
-
return Resources.formatCommitted(more.committer,
|
|
125
|
+
return Resources.formatCommitted(more.committer, this.dates.shortDateTime(more.committedAt));
|
|
125
126
|
}, /* @ts-ignore */
|
|
126
127
|
...(ngDevMode ? [{ debugName: "committed" }] : /* istanbul ignore next */ []));
|
|
127
128
|
scope = computed(() => {
|
|
@@ -253,11 +254,11 @@ export class GitCommitDetailComponent {
|
|
|
253
254
|
}
|
|
254
255
|
}
|
|
255
256
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommitDetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
256
|
-
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.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: ["quiet"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
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: ["quiet"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
257
258
|
}
|
|
258
259
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommitDetailComponent, decorators: [{
|
|
259
260
|
type: Component,
|
|
260
261
|
args: [{ selector: "nol-git-commit-detail", imports: [ButtonComponent, FileBadgeComponent, FormsModule, GitDiffFilesComponent, GitReferenceTextComponent, IconButtonComponent, MarkdownViewComponent,
|
|
261
|
-
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.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"] }]
|
|
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"] }]
|
|
262
263
|
}], ctorParameters: () => [], propDecorators: { files: [{ type: i0.ViewChild, args: [i0.forwardRef(() => GitDiffFilesComponent), { isSignal: true }] }], folder: [{ type: i0.Input, args: [{ isSignal: true, alias: "folder", required: true }] }], commit: [{ type: i0.Input, args: [{ isSignal: true, alias: "commit", required: true }] }] } });
|
|
263
264
|
//# sourceMappingURL=git-commit-detail.component.js.map
|
|
@@ -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,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC/F,OAAO,EACL,SAAS,EAAE,aAAa,EAAsF,gBAAgB,EAAE,OAAO,EAAE,cAAc,EACxJ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,eAAe,EAAE,aAAa,EAAE,kBAAkB,EAAE,mBAAmB,EAAiD,aAAa,EAAE,iBAAiB,EACxJ,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,EAC3D,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAKhF,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAA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e,oJAAE,kBAAkB,4FAAE,WAAW,+pCAAE,qBAAqB,sGAAE,yBAAyB,gIAAE,mBAAmB,2MAAE,qBAAqB,kXACtJ,aAAa,2EAAE,iBAAiB,6LAAE,oBAAoB,oJAAE,kBAAkB,+GAAE,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;iHA8DlB,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","../../../../../../../../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,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EACL,eAAe,EAAE,aAAa,EAAE,kBAAkB,EAAE,mBAAmB,EAAiD,aAAa,EAAE,iBAAiB,EACxJ,oBAAoB,EAAE,kBAAkB,EAAE,gBAAgB,EAC3D,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,qB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