@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
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { CdkVirtualScrollViewport, ScrollingModule } from "@angular/cdk/scrolling";
|
|
9
9
|
import { afterNextRender, Component, computed, DestroyRef, effect, ErrorHandler, inject, Injector, input, signal, untracked, viewChild } from "@angular/core";
|
|
10
10
|
import "@noldova/context.core";
|
|
11
|
-
import { LinkPlace, WindowPartTokens } from "@noldova/desktop.window";
|
|
11
|
+
import { LinkPlace, TimeFormatService, WindowPartTokens } from "@noldova/desktop.window";
|
|
12
12
|
import { PredictionAction } from "@noldova/git.protocol";
|
|
13
13
|
import { DialogService, MenuComponent, MenuItemComponent, MenuSeparatorComponent, MenuTriggerDirective, ToolbarButtonComponent, ToolbarDirective, ToolbarItemDirective, TooltipDirective } from "@noldova/ui.components.angular";
|
|
14
14
|
import { GitHistoryAction } from "../../enums/git-history-action.js";
|
|
@@ -16,6 +16,7 @@ import { GitBranchDrop } from "../../models/git-branch-drop.js";
|
|
|
16
16
|
import { GitBranchView } from "../../models/git-branch-view.js";
|
|
17
17
|
import { GitChipDrag } from "../../models/git-chip-drag.js";
|
|
18
18
|
import { GitCommitView } from "../../models/git-commit-view.js";
|
|
19
|
+
import { GitHistoryToolbar } from "../../models/git-history-toolbar.js";
|
|
19
20
|
import { GitCommitDetails } from "../../services/git-commit-details.js";
|
|
20
21
|
import { GitFolder } from "../../services/git-folder.js";
|
|
21
22
|
import { GitPullRequests } from "../../services/git-pull-requests.js";
|
|
@@ -23,6 +24,8 @@ import { GitHistoryAsks } from "../../services/git-history-asks.js";
|
|
|
23
24
|
import { GitNewBranch } from "../../services/git-new-branch.js";
|
|
24
25
|
import { GitPendingSwitch } from "../../services/git-pending-switch.js";
|
|
25
26
|
import { GitRecentRepositories } from "../../services/git-recent-repositories.js";
|
|
27
|
+
import { GitRepositoryScans } from "../../services/git-repository-scans.js";
|
|
28
|
+
import { GitFolderLooks } from "../../services/git-folder-looks.js";
|
|
26
29
|
import { GitRebaseTarget, GitRebasing } from "../../services/git-rebasing.js";
|
|
27
30
|
import { GitRuntimeClient } from "../../services/git-runtime-client.js";
|
|
28
31
|
import { GitHistoryRows } from "../../services/git-history-rows.js";
|
|
@@ -50,8 +53,18 @@ export class GitHistoryComponent {
|
|
|
50
53
|
...(ngDevMode ? [{ debugName: "status" }] : /* istanbul ignore next */ []));
|
|
51
54
|
held = signal(null, /* @ts-ignore */
|
|
52
55
|
...(ngDevMode ? [{ debugName: "held" }] : /* istanbul ignore next */ []));
|
|
56
|
+
paths = signal(new Map(), /* @ts-ignore */
|
|
57
|
+
...(ngDevMode ? [{ debugName: "paths" }] : /* istanbul ignore next */ []));
|
|
58
|
+
pathsAsked = new Set();
|
|
59
|
+
pathsMissed = new Set();
|
|
53
60
|
viewport = viewChild.required(CdkVirtualScrollViewport, /* @ts-ignore */
|
|
54
61
|
...(ngDevMode ? [{ debugName: "viewport" }] : /* istanbul ignore next */ []));
|
|
62
|
+
scroller = viewChild(CdkVirtualScrollViewport, /* @ts-ignore */
|
|
63
|
+
...(ngDevMode ? [{ debugName: "scroller" }] : /* istanbul ignore next */ []));
|
|
64
|
+
scrollbar = signal(0, /* @ts-ignore */
|
|
65
|
+
...(ngDevMode ? [{ debugName: "scrollbar" }] : /* istanbul ignore next */ []));
|
|
66
|
+
scrollbarWidth = computed(() => `${String(this.scrollbar())}px`, /* @ts-ignore */
|
|
67
|
+
...(ngDevMode ? [{ debugName: "scrollbarWidth" }] : /* istanbul ignore next */ []));
|
|
55
68
|
row = viewChild.required("row", /* @ts-ignore */
|
|
56
69
|
...(ngDevMode ? [{ debugName: "row" }] : /* istanbul ignore next */ []));
|
|
57
70
|
actions = viewChild.required("actions", /* @ts-ignore */
|
|
@@ -61,10 +74,14 @@ export class GitHistoryComponent {
|
|
|
61
74
|
fitting = signal(Resources.historyToolbars.length, /* @ts-ignore */
|
|
62
75
|
...(ngDevMode ? [{ debugName: "fitting" }] : /* istanbul ignore next */ []));
|
|
63
76
|
injector = inject(Injector);
|
|
64
|
-
|
|
77
|
+
dates = inject(TimeFormatService);
|
|
78
|
+
jumped = signal(null, /* @ts-ignore */
|
|
79
|
+
...(ngDevMode ? [{ debugName: "jumped" }] : /* istanbul ignore next */ []));
|
|
65
80
|
dragged = null;
|
|
66
81
|
static lists = 0;
|
|
67
82
|
reading = 0;
|
|
83
|
+
remembered = false;
|
|
84
|
+
offer = (scan) => GitRepositoryScans.offerToDashboard(this.dialogs, this.context, this.instance(), scan);
|
|
68
85
|
list = ++GitHistoryComponent.lists;
|
|
69
86
|
activeOption = computed(() => {
|
|
70
87
|
const at = this.rows().findIndex(t => t.id === this.selectedId());
|
|
@@ -75,6 +92,8 @@ export class GitHistoryComponent {
|
|
|
75
92
|
resources = Resources;
|
|
76
93
|
failure = signal(null, /* @ts-ignore */
|
|
77
94
|
...(ngDevMode ? [{ debugName: "failure" }] : /* istanbul ignore next */ []));
|
|
95
|
+
notRepository = signal(null, /* @ts-ignore */
|
|
96
|
+
...(ngDevMode ? [{ debugName: "notRepository" }] : /* istanbul ignore next */ []));
|
|
78
97
|
actionFailure = signal(null, /* @ts-ignore */
|
|
79
98
|
...(ngDevMode ? [{ debugName: "actionFailure" }] : /* istanbul ignore next */ []));
|
|
80
99
|
notLoaded = signal(null, /* @ts-ignore */
|
|
@@ -91,11 +110,14 @@ export class GitHistoryComponent {
|
|
|
91
110
|
...(ngDevMode ? [{ debugName: "isWide" }] : /* istanbul ignore next */ []));
|
|
92
111
|
chipLimit = signal(Resources.rowChipLimit, /* @ts-ignore */
|
|
93
112
|
...(ngDevMode ? [{ debugName: "chipLimit" }] : /* istanbul ignore next */ []));
|
|
94
|
-
|
|
113
|
+
toolbars = computed(() => Object.isNull(this.notRepository()) ? Resources.historyToolbars
|
|
114
|
+
: Resources.historyToolbars.map(t => new GitHistoryToolbar(t.title, t.actions.filter(action => action === GitHistoryAction.Terminal))).filter(t => t.actions.length > 0), /* @ts-ignore */
|
|
115
|
+
...(ngDevMode ? [{ debugName: "toolbars" }] : /* istanbul ignore next */ []));
|
|
116
|
+
shownToolbars = computed(() => this.toolbars().slice(0, this.fitting()), /* @ts-ignore */
|
|
95
117
|
...(ngDevMode ? [{ debugName: "shownToolbars" }] : /* istanbul ignore next */ []));
|
|
96
|
-
hiddenToolbars = computed(() =>
|
|
118
|
+
hiddenToolbars = computed(() => this.toolbars().slice(this.fitting()), /* @ts-ignore */
|
|
97
119
|
...(ngDevMode ? [{ debugName: "hiddenToolbars" }] : /* istanbul ignore next */ []));
|
|
98
|
-
rows = computed(() => GitHistoryRows.rowsOf(GitHistoryRows.switchedTo(this.commits(), this.held()), this.status()?.entries.length ?? 0, this.filter(), new Date()), /* @ts-ignore */
|
|
120
|
+
rows = computed(() => GitHistoryRows.rowsOf(GitHistoryRows.switchedTo(this.commits(), this.held()), this.status()?.entries.length ?? 0, this.filter(), this.paths(), new Date(), this.dates), /* @ts-ignore */
|
|
99
121
|
...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
|
|
100
122
|
lanes = computed(() => Math.min(Resources.graphMaximumLanes, Math.max(1, ...this.rows().map(t => t.graph.width))), /* @ts-ignore */
|
|
101
123
|
...(ngDevMode ? [{ debugName: "lanes" }] : /* istanbul ignore next */ []));
|
|
@@ -115,7 +137,11 @@ export class GitHistoryComponent {
|
|
|
115
137
|
effect(onCleanup => {
|
|
116
138
|
const folder = this.instance();
|
|
117
139
|
untracked(() => {
|
|
118
|
-
|
|
140
|
+
this.remembered = false;
|
|
141
|
+
this.paths.set(new Map());
|
|
142
|
+
this.pathsAsked = new Set();
|
|
143
|
+
this.pathsMissed = new Set();
|
|
144
|
+
this.leaveLook();
|
|
119
145
|
void this.readAsync(folder);
|
|
120
146
|
void this.client.watchAsync(folder).catch((error) => this.report(error));
|
|
121
147
|
});
|
|
@@ -131,6 +157,19 @@ export class GitHistoryComponent {
|
|
|
131
157
|
void this.readAsync(folder);
|
|
132
158
|
});
|
|
133
159
|
});
|
|
160
|
+
effect(() => {
|
|
161
|
+
const folder = this.instance();
|
|
162
|
+
const commits = this.commits();
|
|
163
|
+
const known = this.paths();
|
|
164
|
+
if (this.filter().trim().length === 0)
|
|
165
|
+
return;
|
|
166
|
+
const skip = commits.findIndex(t => this.isUnread(known, t));
|
|
167
|
+
if (skip < 0)
|
|
168
|
+
return;
|
|
169
|
+
const run = commits.slice(skip).findIndex(t => !this.isUnread(known, t));
|
|
170
|
+
const ids = commits.slice(skip, run < 0 ? undefined : skip + run).slice(0, Resources.graphReadLimit).map(t => t.commit.id);
|
|
171
|
+
untracked(() => void this.readPathsAsync(folder, skip, ids));
|
|
172
|
+
});
|
|
134
173
|
effect(() => {
|
|
135
174
|
const view = GitViewing.branchOf(this.instance());
|
|
136
175
|
const commits = this.loaded() ? this.commits() : null;
|
|
@@ -149,6 +188,7 @@ export class GitHistoryComponent {
|
|
|
149
188
|
});
|
|
150
189
|
});
|
|
151
190
|
const destroyed = inject(DestroyRef);
|
|
191
|
+
destroyed.onDestroy(() => this.leaveLook());
|
|
152
192
|
destroyed.onDestroy(this.client.onChanged(folder => {
|
|
153
193
|
if (folder === this.instance())
|
|
154
194
|
void this.readAsync(folder);
|
|
@@ -162,13 +202,28 @@ export class GitHistoryComponent {
|
|
|
162
202
|
const details = GitCommitDetails.of(inject(WindowPartTokens.context));
|
|
163
203
|
const chosen = computed(() => GitViewing.commitOf(this.instance()), /* @ts-ignore */
|
|
164
204
|
...(ngDevMode ? [{ debugName: "chosen" }] : /* istanbul ignore next */ []));
|
|
165
|
-
|
|
205
|
+
const settled = computed(() => {
|
|
206
|
+
const view = GitViewing.branchOf(this.instance());
|
|
207
|
+
return !this.isLoading() && (Object.isNull(view) || view === this.jumped());
|
|
208
|
+
}, /* @ts-ignore */
|
|
209
|
+
...(ngDevMode ? [{ debugName: "settled" }] : /* istanbul ignore next */ []));
|
|
210
|
+
details.follow(chosen, active, inject(Injector), settled);
|
|
166
211
|
afterNextRender(() => {
|
|
167
212
|
const row = this.row().nativeElement;
|
|
168
213
|
const observer = new ResizeObserver(() => this.fit(row));
|
|
169
214
|
observer.observe(row);
|
|
170
215
|
destroyed.onDestroy(() => observer.disconnect());
|
|
171
216
|
});
|
|
217
|
+
effect(onCleanup => {
|
|
218
|
+
const list = this.scroller()?.elementRef.nativeElement;
|
|
219
|
+
if (Object.isUndefined(list)) {
|
|
220
|
+
this.scrollbar.set(0);
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
const observer = new ResizeObserver(() => this.scrollbar.set(list.offsetWidth - list.clientWidth));
|
|
224
|
+
observer.observe(list);
|
|
225
|
+
onCleanup(() => observer.disconnect());
|
|
226
|
+
});
|
|
172
227
|
}
|
|
173
228
|
trackRow = (_index, row) => row.id;
|
|
174
229
|
imageOf(row) {
|
|
@@ -320,17 +375,17 @@ export class GitHistoryComponent {
|
|
|
320
375
|
GitViewing.show(new GitCommitView(this.instance(), commit));
|
|
321
376
|
}
|
|
322
377
|
jump(view, commits) {
|
|
323
|
-
if (Object.isNull(view) || view === this.jumped || Object.isNull(commits))
|
|
378
|
+
if (Object.isNull(view) || view === this.jumped() || Object.isNull(commits))
|
|
324
379
|
return;
|
|
325
380
|
const commit = commits.find(t => view.isAt(t));
|
|
326
381
|
if (Object.isUndefined(commit)) {
|
|
327
382
|
if (!this.hasMore())
|
|
328
|
-
this.jumped
|
|
383
|
+
this.jumped.set(view);
|
|
329
384
|
else if (!this.isPaging)
|
|
330
385
|
void this.pageAsync(view.folder);
|
|
331
386
|
return;
|
|
332
387
|
}
|
|
333
|
-
this.jumped
|
|
388
|
+
this.jumped.set(view);
|
|
334
389
|
this.showCentred(commit.commit.id);
|
|
335
390
|
}
|
|
336
391
|
reveal(ask, commits) {
|
|
@@ -366,7 +421,7 @@ export class GitHistoryComponent {
|
|
|
366
421
|
async readAsync(folder) {
|
|
367
422
|
const reading = ++this.reading;
|
|
368
423
|
const switched = Object.isNull(GitPendingSwitch.branchOf(folder));
|
|
369
|
-
const limit = Math.min(Math.max(Resources.graphPageSize, this.commits().length),
|
|
424
|
+
const limit = Math.min(Math.max(Resources.graphPageSize, this.commits().length), Resources.graphReadLimit);
|
|
370
425
|
const status = this.client.statusAsync(folder);
|
|
371
426
|
void status.catch(() => undefined);
|
|
372
427
|
try {
|
|
@@ -377,6 +432,11 @@ export class GitHistoryComponent {
|
|
|
377
432
|
this.loaded.set(true);
|
|
378
433
|
this.hasMore.set(graph.truncated);
|
|
379
434
|
this.failure.set(null);
|
|
435
|
+
this.leaveLook();
|
|
436
|
+
if (!this.remembered) {
|
|
437
|
+
this.remembered = true;
|
|
438
|
+
GitRecentRepositories.remember(folder);
|
|
439
|
+
}
|
|
380
440
|
if (switched)
|
|
381
441
|
this.held.set(null);
|
|
382
442
|
if (Object.isNull(this.selectedId()))
|
|
@@ -392,10 +452,49 @@ export class GitHistoryComponent {
|
|
|
392
452
|
if (switched)
|
|
393
453
|
this.held.set(null);
|
|
394
454
|
this.report(error);
|
|
395
|
-
if (GitRuntimeClient.
|
|
455
|
+
if (GitRuntimeClient.isNotRepository(error))
|
|
456
|
+
this.lookBelow(folder);
|
|
457
|
+
else if (GitRuntimeClient.isFailure(error))
|
|
396
458
|
this.failure.set(GitRuntimeClient.failureOf(error)?.message ?? Resources.historyFailed);
|
|
397
459
|
}
|
|
398
460
|
}
|
|
461
|
+
lookBelow(folder) {
|
|
462
|
+
if (Object.isNull(this.notRepository()))
|
|
463
|
+
this.notRepository.set(GitFolderLooks.join(folder, this.client, this.offer, error => this.report(error)));
|
|
464
|
+
}
|
|
465
|
+
leaveLook() {
|
|
466
|
+
const look = this.notRepository();
|
|
467
|
+
if (!Object.isNull(look))
|
|
468
|
+
GitFolderLooks.leave(look, this.offer);
|
|
469
|
+
this.notRepository.set(null);
|
|
470
|
+
}
|
|
471
|
+
isUnread(known, commit) {
|
|
472
|
+
return !known.has(commit.commit.id) && !this.pathsAsked.has(commit.commit.id);
|
|
473
|
+
}
|
|
474
|
+
async readPathsAsync(folder, skip, ids) {
|
|
475
|
+
for (const id of ids)
|
|
476
|
+
this.pathsAsked.add(id);
|
|
477
|
+
const read = await this.client.commitPathsAsync(folder, ids.length, skip).catch((error) => {
|
|
478
|
+
this.report(error);
|
|
479
|
+
return null;
|
|
480
|
+
});
|
|
481
|
+
if (folder !== this.instance())
|
|
482
|
+
return;
|
|
483
|
+
const known = new Map(this.paths());
|
|
484
|
+
for (const commit of read?.commits ?? [])
|
|
485
|
+
known.set(commit.id, commit.paths);
|
|
486
|
+
for (const id of ids.filter(t => !known.has(t)))
|
|
487
|
+
this.markMissed(known, id, Object.isNull(read));
|
|
488
|
+
this.paths.set(known);
|
|
489
|
+
}
|
|
490
|
+
markMissed(known, id, failed) {
|
|
491
|
+
if (failed || this.pathsMissed.has(id))
|
|
492
|
+
known.set(id, []);
|
|
493
|
+
else {
|
|
494
|
+
this.pathsMissed.add(id);
|
|
495
|
+
this.pathsAsked.delete(id);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
399
498
|
async pageAsync(folder) {
|
|
400
499
|
const reading = this.reading;
|
|
401
500
|
const loaded = this.commits();
|
|
@@ -408,6 +507,7 @@ export class GitHistoryComponent {
|
|
|
408
507
|
this.hasMore.set(graph.truncated);
|
|
409
508
|
}
|
|
410
509
|
catch (error) {
|
|
510
|
+
this.jumped.set(GitViewing.branchOf(folder));
|
|
411
511
|
this.report(error);
|
|
412
512
|
}
|
|
413
513
|
finally {
|
|
@@ -442,7 +542,7 @@ export class GitHistoryComponent {
|
|
|
442
542
|
const rem = parseFloat(getComputedStyle(row).fontSize);
|
|
443
543
|
this.isWide.set(row.getBoundingClientRect().width >= Resources.historyLabelsRem * rem);
|
|
444
544
|
this.chipLimit.set(row.getBoundingClientRect().width < Resources.historyOneChipRem * rem ? 1 : Resources.rowChipLimit);
|
|
445
|
-
this.fitting.set(
|
|
545
|
+
this.fitting.set(this.toolbars().length);
|
|
446
546
|
afterNextRender(() => {
|
|
447
547
|
const style = getComputedStyle(row);
|
|
448
548
|
const end = row.getBoundingClientRect().right - parseFloat(style.paddingRight) - parseFloat(getComputedStyle(this.field().nativeElement).minWidth)
|
|
@@ -468,13 +568,13 @@ export class GitHistoryComponent {
|
|
|
468
568
|
this.errors.handleError(error);
|
|
469
569
|
}
|
|
470
570
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
471
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitHistoryComponent, isStandalone: true, selector: "nol-git-history", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "style.--graph-width": "graphWidth()" } }, viewQueries: [{ propertyName: "viewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true, isSignal: true }, { propertyName: "row", first: true, predicate: ["row"], descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: ["actions"], descendants: true, isSignal: true }, { propertyName: "field", first: true, predicate: ["field"], 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<div #row class=\"toolbar\">\n <div #actions class=\"actions\" nolToolbar [nolToolbarLabel]=\"resources.toolbarLabel\">\n @for (toolbar of shownToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <span class=\"sep\" aria-hidden=\"true\"></span>\n }\n <div class=\"group\" role=\"group\" [attr.aria-label]=\"toolbar.title\">\n @for (action of toolbar.actions; track action) {\n @let label = labelOf(action);\n <button type=\"button\" nol-toolbar-button nolToolbarItem [attr.data-action]=\"action\" [label]=\"label\" [icon]=\"resources.historyActionIcons[action]\"\n [isShowingLabel]=\"isWide() && resources.labeledHistoryActions.includes(action)\" [isUnavailable]=\"!canRun(action)\"\n [nolTooltip]=\"label\" (click)=\"run(action)\"></button>\n }\n </div>\n }\n @if (hiddenToolbars().length > 0) {\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"more\" [label]=\"resources.moreActionsLabel\" [icon]=\"resources.moreIcon\" [hasMenu]=\"true\"\n [nolMenuTriggerFor]=\"more\" [nolTooltip]=\"resources.moreActionsLabel\"></button>\n }\n </div>\n <div class=\"spacer\"></div>\n <label #field class=\"field\">\n <span class=\"ms placeholder\">filter_list</span>\n <input #search type=\"search\" [placeholder]=\"resources.filterPlaceholder\" [value]=\"filter()\" (input)=\"filter.set(search.value)\" />\n </label>\n</div>\n<ng-template #more>\n <nol-menu>\n @for (toolbar of hiddenToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <nol-menu-separator />\n }\n @for (action of toolbar.actions; track action) {\n <button nol-menu-item [attr.data-action]=\"action\" [label]=\"labelOf(action)\" [icon]=\"resources.historyActionIcons[action]\" [disabled]=\"!canRun(action)\"\n (triggered)=\"run(action)\"></button>\n }\n }\n </nol-menu>\n</ng-template>\n@if (actionFailure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n}\n@if (notLoaded(); as message) {\n <p class=\"note not-loaded\" role=\"status\">{{ message }}</p>\n}\n<div class=\"grow-row header\">\n <span class=\"cell\">{{ resources.columnRefs }}</span><span class=\"cell\">{{ resources.columnGraph }}</span><span class=\"cell\">{{ resources.columnMessage }}</span>\n <span class=\"cell\">{{ resources.columnAuthor }}</span><span class=\"cell\">{{ resources.columnDate }}</span>\n</div>\n@if (isLoading()) {\n <p class=\"note\">{{ resources.historyLoading }}</p>\n} @else if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n} @else if (rows().length === 0) {\n <p class=\"note\">{{ resources.historyEmpty }}</p>\n} @else {\n <cdk-virtual-scroll-viewport class=\"list\" [itemSize]=\"resources.graphRowPixels\" [minBufferPx]=\"resources.graphBufferPixels\"\n [maxBufferPx]=\"resources.graphBufferPixels * 2\" role=\"listbox\" tabindex=\"0\" [attr.aria-label]=\"resources.historyListLabel\" [attr.aria-activedescendant]=\"activeOption()\"\n (keydown)=\"move($event)\" (scrolledIndexChange)=\"scrolled($event)\">\n <div *cdkVirtualFor=\"let row of rows(); let index = index; let count = count; trackBy: trackRow\" class=\"grow-row\" role=\"option\"\n [id]=\"resources.formatHistoryOptionId(list, index)\" [attr.aria-posinset]=\"index + 1\" [attr.aria-setsize]=\"hasMore() ? -1 : count\"\n [class.sel]=\"row.id === selectedId()\" [class.dim]=\"!row.matches\" [attr.aria-selected]=\"row.id === selectedId()\" (click)=\"select(row)\">\n <div class=\"cell\">\n @let split = row.chipsWithin(chipLimit());\n @for (chip of split.shown; track chip.title + chip.icon) {\n <span class=\"chip\" [class]=\"chip.isTag ? 'chip ltag' : 'chip l' + row.graph.color\" [class.current]=\"chip.isCurrent\" [title]=\"chip.title\"\n [attr.draggable]=\"chip.branch !== null\" (dragstart)=\"dragBranch(chip, row)\" (dragover)=\"overBranch($event, chip)\" (drop)=\"dropBranch($event, chip, row)\"\n (dragend)=\"endDrag()\">\n <span class=\"ms chip-icon\">{{ chip.icon }}</span><span class=\"ellipsis\">{{ chip.name }}</span>\n </span>\n }\n @if (split.hidden.length > 0) {\n <span class=\"chip ltag more\" [title]=\"moreTitle(split.hidden)\">{{ resources.formatMoreChips(split.hidden.length) }}</span>\n }\n </div>\n <svg class=\"graph\" aria-hidden=\"true\" [attr.width]=\"graphPixels()\" [attr.height]=\"resources.graphRowPixels\"\n [attr.viewBox]=\"'0 0 ' + graphPixels() + ' ' + resources.graphRowPixels\">\n @for (line of row.graph.lines; track $index) {\n <path [attr.d]=\"path(line)\" [attr.class]=\"'line lane-' + line.color\" />\n }\n @if (row.isChanges) {\n <circle class=\"changes\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'changes lane-' + row.graph.color\" />\n } @else if (row.isHead) {\n <circle class=\"ring\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadRingPixels\"\n [attr.class]=\"'ring lane-' + row.graph.color\" />\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadDotPixels\"\n [attr.class]=\"'fill lane-' + row.graph.color\" />\n } @else {\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'dot lane-' + row.graph.color\" />\n }\n </svg>\n <div class=\"cell\"><span class=\"message\" [class.italic]=\"row.isChanges\"><nol-git-reference-text class=\"line\" [text]=\"row.message\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span></div>\n <div class=\"cell\">\n @if (!row.isChanges) {\n @let picture = imageOf(row);\n @if (picture !== null) {\n <img class=\"av\" [src]=\"picture\" alt=\"\" />\n } @else {\n <span class=\"av\" [class]=\"'av av-' + row.avatar\">{{ row.initials }}</span>\n }\n <span class=\"ellipsis\">{{ row.author }}</span>\n }\n </div>\n <div class=\"cell muted\">{{ row.age }}</div>\n </div>\n </cdk-virtual-scroll-viewport>\n @if (dropped(); as shown) {\n <nol-git-branch-drop [drop]=\"shown.drop\" [prediction]=\"shown.prediction\" [checking]=\"shown.checking\" [busy]=\"writable() === null\" [request]=\"shown.request\"\n [left]=\"shown.left\" [top]=\"shown.top\" (requested)=\"requestDropped($event)\" (merged)=\"mergeDropped(shown.drop)\" (switchMerged)=\"switchMergeDropped(shown.drop)\" (rebased)=\"rebaseDropped(shown.drop)\" (closed)=\"dropped.set(null)\" />\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n container: history / inline-size;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n background: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: 0.8125rem;\n line-height: 1.125rem;\n}\n\n.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.toolbar {\n display: flex;\n overflow: hidden;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 2.25rem;\n padding: 0 0.5rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.actions,\n.group {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n}\n\n.sep {\n width: 1px;\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.spacer {\n flex: 1;\n}\n\n.field {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n flex: 0 1 17rem;\n min-width: 7rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: 0.25rem;\n background: var(--nol-input);\n}\n\n.field input {\n flex: 1;\n min-width: 0;\n padding: 0;\n border: 0;\n outline: none;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n}\n\n.field input::placeholder,\n.placeholder {\n color: var(--nol-placeholder);\n}\n\n.grow-row {\n display: grid;\n grid-template-columns: 13rem var(--graph-width) minmax(0, 1fr) 9.5rem 5.5rem;\n align-items: center;\n box-sizing: border-box;\n height: 1.75rem;\n padding: 0 0.5rem;\n white-space: nowrap;\n}\n\n.header {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.list {\n flex: 1;\n min-height: 0;\n outline: none;\n}\n\n.list .grow-row:hover {\n background: var(--nol-hover);\n}\n\n.list .grow-row.sel,\n.list .grow-row.sel:hover {\n background: var(--nol-selected);\n}\n\n.grow-row.dim {\n opacity: 0.4;\n}\n\n.cell {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.message,\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.italic {\n font-style: italic;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\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 color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.chip-icon {\n width: 0.875rem;\n height: 0.875rem;\n font-size: 0.875rem;\n}\n\n.chip.current {\n font-weight: 500;\n}\n\n.chip.more {\n flex: none;\n}\n\n.ltag {\n box-shadow: inset 0 0 0 1px var(--nol-border);\n}\n\n.graph {\n display: block;\n overflow: visible;\n}\n\n.line {\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n}\n\n.dot {\n stroke: var(--nol-panel);\n stroke-width: 2;\n}\n\n.ring,\n.changes {\n fill: var(--nol-panel);\n stroke-width: 2;\n}\n\n.changes {\n stroke-dasharray: 3 2;\n}\n\n.av {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.125rem;\n height: 1.125rem;\n border-radius: 50%;\n font-size: 0.625rem;\n font-weight: 500;\n object-fit: cover;\n}\n\n.note {\n margin: 0;\n padding: 0.5rem 0.75rem;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.line.lane-0,\n.ring.lane-0,\n.changes.lane-0 {\n stroke: var(--nol-author-1);\n}\n\n.dot.lane-0,\n.fill.lane-0 {\n fill: var(--nol-author-1);\n}\n\n.l0 {\n background: color-mix(in srgb, var(--nol-author-1) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-1) 55%, transparent);\n}\n\n.line.lane-1,\n.ring.lane-1,\n.changes.lane-1 {\n stroke: var(--nol-author-2);\n}\n\n.dot.lane-1,\n.fill.lane-1 {\n fill: var(--nol-author-2);\n}\n\n.l1 {\n background: color-mix(in srgb, var(--nol-author-2) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-2) 55%, transparent);\n}\n\n.line.lane-2,\n.ring.lane-2,\n.changes.lane-2 {\n stroke: var(--nol-author-3);\n}\n\n.dot.lane-2,\n.fill.lane-2 {\n fill: var(--nol-author-3);\n}\n\n.l2 {\n background: color-mix(in srgb, var(--nol-author-3) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-3) 55%, transparent);\n}\n\n.line.lane-3,\n.ring.lane-3,\n.changes.lane-3 {\n stroke: var(--nol-author-4);\n}\n\n.dot.lane-3,\n.fill.lane-3 {\n fill: var(--nol-author-4);\n}\n\n.l3 {\n background: color-mix(in srgb, var(--nol-author-4) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-4) 55%, transparent);\n}\n\n.line.lane-4,\n.ring.lane-4,\n.changes.lane-4 {\n stroke: var(--nol-author-5);\n}\n\n.dot.lane-4,\n.fill.lane-4 {\n fill: var(--nol-author-5);\n}\n\n.l4 {\n background: color-mix(in srgb, var(--nol-author-5) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-5) 55%, transparent);\n}\n\n.line.lane-5,\n.ring.lane-5,\n.changes.lane-5 {\n stroke: var(--nol-author-6);\n}\n\n.dot.lane-5,\n.fill.lane-5 {\n fill: var(--nol-author-6);\n}\n\n.l5 {\n background: color-mix(in srgb, var(--nol-author-6) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-6) 55%, transparent);\n}\n\n.line.lane-6,\n.ring.lane-6,\n.changes.lane-6 {\n stroke: var(--nol-author-7);\n}\n\n.dot.lane-6,\n.fill.lane-6 {\n fill: var(--nol-author-7);\n}\n\n.l6 {\n background: color-mix(in srgb, var(--nol-author-7) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-7) 55%, transparent);\n}\n\n.line.lane-7,\n.ring.lane-7,\n.changes.lane-7 {\n stroke: var(--nol-author-8);\n}\n\n.dot.lane-7,\n.fill.lane-7 {\n fill: var(--nol-author-8);\n}\n\n.l7 {\n background: color-mix(in srgb, var(--nol-author-8) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-8) 55%, transparent);\n}\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@container history (width < 64rem) {\n .grow-row {\n grid-template-columns: 9rem var(--graph-width) minmax(0, 1fr) 8rem 5.5rem;\n }\n}\n\n@container history (width < 44rem) {\n .grow-row {\n grid-template-columns: 10rem var(--graph-width) minmax(0, 1fr);\n }\n\n .grow-row > :nth-child(n + 4) {\n display: none;\n }\n}\n"], dependencies: [{ kind: "component", type: GitBranchDropComponent, selector: "nol-git-branch-drop", inputs: ["drop", "prediction", "checking", "request", "busy", "left", "top"], outputs: ["merged", "switchMerged", "rebased", "requested", "closed"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "component", type: MenuSeparatorComponent, selector: "nol-menu-separator" }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "ngmodule", type: ScrollingModule }, { kind: "directive", type: i1.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i1.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i1.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
571
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitHistoryComponent, isStandalone: true, selector: "nol-git-history", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "style.--graph-width": "graphWidth()", "style.--git-history-scrollbar": "scrollbarWidth()" } }, viewQueries: [{ propertyName: "viewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true, isSignal: true }, { propertyName: "scroller", first: true, predicate: CdkVirtualScrollViewport, descendants: true, isSignal: true }, { propertyName: "row", first: true, predicate: ["row"], descendants: true, isSignal: true }, { propertyName: "actions", first: true, predicate: ["actions"], descendants: true, isSignal: true }, { propertyName: "field", first: true, predicate: ["field"], 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<div #row class=\"toolbar\">\n <div #actions class=\"actions\" nolToolbar [nolToolbarLabel]=\"resources.toolbarLabel\">\n @for (toolbar of shownToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <span class=\"sep\" aria-hidden=\"true\"></span>\n }\n <div class=\"group\" role=\"group\" [attr.aria-label]=\"toolbar.title\">\n @for (action of toolbar.actions; track action) {\n @let label = labelOf(action);\n <button type=\"button\" nol-toolbar-button nolToolbarItem [attr.data-action]=\"action\" [label]=\"label\" [icon]=\"resources.historyActionIcons[action]\"\n [isShowingLabel]=\"isWide() && resources.labeledHistoryActions.includes(action)\" [isUnavailable]=\"!canRun(action)\"\n [nolTooltip]=\"label\" (click)=\"run(action)\"></button>\n }\n </div>\n }\n @if (hiddenToolbars().length > 0) {\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"more\" [label]=\"resources.moreActionsLabel\" [icon]=\"resources.moreIcon\" [hasMenu]=\"true\"\n [nolMenuTriggerFor]=\"more\" [nolTooltip]=\"resources.moreActionsLabel\"></button>\n }\n </div>\n <div class=\"spacer\"></div>\n <label #field class=\"field\" [class.gone]=\"notRepository() !== null\">\n <span class=\"ms placeholder\">filter_list</span>\n <input #search type=\"search\" [placeholder]=\"resources.filterPlaceholder\" [value]=\"filter()\" (input)=\"filter.set(search.value)\" />\n </label>\n</div>\n<ng-template #more>\n <nol-menu>\n @for (toolbar of hiddenToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <nol-menu-separator />\n }\n @for (action of toolbar.actions; track action) {\n <button nol-menu-item [attr.data-action]=\"action\" [label]=\"labelOf(action)\" [icon]=\"resources.historyActionIcons[action]\" [disabled]=\"!canRun(action)\"\n (triggered)=\"run(action)\"></button>\n }\n }\n </nol-menu>\n</ng-template>\n@if (notRepository(); as look) {\n <div class=\"empty\">\n <span class=\"empty-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.noFolderIcon }}</span>\n <h2 class=\"heading\">{{ resources.notRepositoryHeading }}</h2>\n <p class=\"text\">{{ look.text() }}</p>\n </div>\n} @else {\n @if (actionFailure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n }\n @if (notLoaded(); as message) {\n <p class=\"note not-loaded\" role=\"status\">{{ message }}</p>\n }\n <div class=\"grow-row header\">\n <span class=\"cell\">{{ resources.columnRefs }}</span><span class=\"cell\">{{ resources.columnGraph }}</span><span class=\"cell\">{{ resources.columnMessage }}</span>\n <span class=\"cell\">{{ resources.columnAuthor }}</span><span class=\"cell\">{{ resources.columnDate }}</span>\n </div>\n @if (isLoading()) {\n <p class=\"note\">{{ resources.historyLoading }}</p>\n } @else if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n } @else if (rows().length === 0) {\n <p class=\"note\">{{ resources.historyEmpty }}</p>\n } @else {\n <cdk-virtual-scroll-viewport class=\"list\" [itemSize]=\"resources.graphRowPixels\" [minBufferPx]=\"resources.graphBufferPixels\"\n [maxBufferPx]=\"resources.graphBufferPixels * 2\" role=\"listbox\" tabindex=\"0\" [attr.aria-label]=\"resources.historyListLabel\" [attr.aria-activedescendant]=\"activeOption()\"\n (keydown)=\"move($event)\" (scrolledIndexChange)=\"scrolled($event)\">\n <div *cdkVirtualFor=\"let row of rows(); let index = index; let count = count; trackBy: trackRow\" class=\"grow-row\" role=\"option\"\n [id]=\"resources.formatHistoryOptionId(list, index)\" [attr.aria-posinset]=\"index + 1\" [attr.aria-setsize]=\"hasMore() ? -1 : count\"\n [class.sel]=\"row.id === selectedId()\" [class.dim]=\"!row.matches\" [attr.aria-selected]=\"row.id === selectedId()\" (click)=\"select(row)\">\n <div class=\"cell\">\n @let split = row.chipsWithin(chipLimit());\n @for (chip of split.shown; track chip.title + chip.icon) {\n <span class=\"chip\" [class]=\"chip.isTag ? 'chip ltag' : 'chip l' + row.graph.color\" [class.current]=\"chip.isCurrent\" [title]=\"chip.title\"\n [attr.draggable]=\"chip.branch !== null\" (dragstart)=\"dragBranch(chip, row)\" (dragover)=\"overBranch($event, chip)\" (drop)=\"dropBranch($event, chip, row)\"\n (dragend)=\"endDrag()\">\n <span class=\"ms chip-icon\">{{ chip.icon }}</span><span class=\"ellipsis\">{{ chip.name }}</span>\n </span>\n }\n @if (split.hidden.length > 0) {\n <span class=\"chip ltag more\" [title]=\"moreTitle(split.hidden)\">{{ resources.formatMoreChips(split.hidden.length) }}</span>\n }\n </div>\n <svg class=\"graph\" aria-hidden=\"true\" [attr.width]=\"graphPixels()\" [attr.height]=\"resources.graphRowPixels\"\n [attr.viewBox]=\"'0 0 ' + graphPixels() + ' ' + resources.graphRowPixels\">\n @for (line of row.graph.lines; track $index) {\n <path [attr.d]=\"path(line)\" [attr.class]=\"'line lane-' + line.color\" />\n }\n @if (row.isChanges) {\n <circle class=\"changes\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'changes lane-' + row.graph.color\" />\n } @else if (row.isHead) {\n <circle class=\"ring\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadRingPixels\"\n [attr.class]=\"'ring lane-' + row.graph.color\" />\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadDotPixels\"\n [attr.class]=\"'fill lane-' + row.graph.color\" />\n } @else {\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'dot lane-' + row.graph.color\" />\n }\n </svg>\n <div class=\"cell\"><span class=\"message\" [class.italic]=\"row.isChanges\"><nol-git-reference-text class=\"line\" [text]=\"row.message\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span></div>\n <div class=\"cell\">\n @if (!row.isChanges) {\n @let picture = imageOf(row);\n @if (picture !== null) {\n <img class=\"av\" [src]=\"picture\" alt=\"\" />\n } @else {\n <span class=\"av\" [class]=\"'av av-' + row.avatar\">{{ row.initials }}</span>\n }\n <span class=\"ellipsis\">{{ row.author }}</span>\n }\n </div>\n <div class=\"cell muted\">{{ row.age }}</div>\n </div>\n </cdk-virtual-scroll-viewport>\n @if (dropped(); as shown) {\n <nol-git-branch-drop [drop]=\"shown.drop\" [prediction]=\"shown.prediction\" [checking]=\"shown.checking\" [busy]=\"writable() === null\" [request]=\"shown.request\"\n [left]=\"shown.left\" [top]=\"shown.top\" (requested)=\"requestDropped($event)\" (merged)=\"mergeDropped(shown.drop)\" (switchMerged)=\"switchMergeDropped(shown.drop)\" (rebased)=\"rebaseDropped(shown.drop)\" (closed)=\"dropped.set(null)\" />\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n container: history / inline-size;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n background: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: 0.8125rem;\n line-height: 1.125rem;\n}\n\n.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.toolbar {\n display: flex;\n overflow: hidden;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 2.25rem;\n padding: 0 0.75rem 0 0.5rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.actions,\n.group {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n}\n\n.sep {\n width: 1px;\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.spacer {\n flex: 1;\n}\n\n.field {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n flex: 0 1 17rem;\n min-width: 7rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: 0.25rem;\n background: var(--nol-input);\n}\n\n.field input {\n flex: 1;\n min-width: 0;\n padding: 0;\n border: 0;\n outline: none;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n}\n\n.field input::placeholder,\n.placeholder {\n color: var(--nol-placeholder);\n}\n\n.grow-row {\n display: grid;\n grid-template-columns: 13rem var(--graph-width) minmax(0, 1fr) 9.5rem 5.5rem;\n align-items: center;\n box-sizing: border-box;\n height: 1.75rem;\n padding: 0 max(0px, calc(var(--nol-content-padding-inline) - var(--git-history-scrollbar))) 0 0.5rem;\n white-space: nowrap;\n}\n\n.grow-row > .cell:last-child {\n justify-content: flex-end;\n}\n\n.header {\n flex: none;\n padding-right: var(--nol-content-padding-inline);\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.list {\n flex: 1;\n min-height: 0;\n outline: none;\n}\n\n.list .grow-row:hover {\n background: var(--nol-hover);\n}\n\n.list .grow-row.sel,\n.list .grow-row.sel:hover {\n background: var(--nol-selected);\n}\n\n.grow-row.dim {\n opacity: 0.4;\n}\n\n.cell {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.message,\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.italic {\n font-style: italic;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\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 color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.chip-icon {\n width: 0.875rem;\n height: 0.875rem;\n font-size: 0.875rem;\n}\n\n.chip.current {\n font-weight: 500;\n}\n\n.chip.more {\n flex: none;\n}\n\n.ltag {\n box-shadow: inset 0 0 0 1px var(--nol-border);\n}\n\n.graph {\n display: block;\n overflow: visible;\n}\n\n.line {\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n}\n\n.dot {\n stroke: var(--nol-panel);\n stroke-width: 2;\n}\n\n.ring,\n.changes {\n fill: var(--nol-panel);\n stroke-width: 2;\n}\n\n.changes {\n stroke-dasharray: 3 2;\n}\n\n.av {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.125rem;\n height: 1.125rem;\n border-radius: 50%;\n font-size: 0.625rem;\n font-weight: 500;\n object-fit: cover;\n}\n\n.note {\n margin: 0;\n padding: 0.5rem 0.75rem;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.line.lane-0,\n.ring.lane-0,\n.changes.lane-0 {\n stroke: var(--nol-author-1);\n}\n\n.dot.lane-0,\n.fill.lane-0 {\n fill: var(--nol-author-1);\n}\n\n.l0 {\n background: color-mix(in srgb, var(--nol-author-1) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-1) 55%, transparent);\n}\n\n.line.lane-1,\n.ring.lane-1,\n.changes.lane-1 {\n stroke: var(--nol-author-2);\n}\n\n.dot.lane-1,\n.fill.lane-1 {\n fill: var(--nol-author-2);\n}\n\n.l1 {\n background: color-mix(in srgb, var(--nol-author-2) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-2) 55%, transparent);\n}\n\n.line.lane-2,\n.ring.lane-2,\n.changes.lane-2 {\n stroke: var(--nol-author-3);\n}\n\n.dot.lane-2,\n.fill.lane-2 {\n fill: var(--nol-author-3);\n}\n\n.l2 {\n background: color-mix(in srgb, var(--nol-author-3) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-3) 55%, transparent);\n}\n\n.line.lane-3,\n.ring.lane-3,\n.changes.lane-3 {\n stroke: var(--nol-author-4);\n}\n\n.dot.lane-3,\n.fill.lane-3 {\n fill: var(--nol-author-4);\n}\n\n.l3 {\n background: color-mix(in srgb, var(--nol-author-4) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-4) 55%, transparent);\n}\n\n.line.lane-4,\n.ring.lane-4,\n.changes.lane-4 {\n stroke: var(--nol-author-5);\n}\n\n.dot.lane-4,\n.fill.lane-4 {\n fill: var(--nol-author-5);\n}\n\n.l4 {\n background: color-mix(in srgb, var(--nol-author-5) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-5) 55%, transparent);\n}\n\n.line.lane-5,\n.ring.lane-5,\n.changes.lane-5 {\n stroke: var(--nol-author-6);\n}\n\n.dot.lane-5,\n.fill.lane-5 {\n fill: var(--nol-author-6);\n}\n\n.l5 {\n background: color-mix(in srgb, var(--nol-author-6) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-6) 55%, transparent);\n}\n\n.line.lane-6,\n.ring.lane-6,\n.changes.lane-6 {\n stroke: var(--nol-author-7);\n}\n\n.dot.lane-6,\n.fill.lane-6 {\n fill: var(--nol-author-7);\n}\n\n.l6 {\n background: color-mix(in srgb, var(--nol-author-7) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-7) 55%, transparent);\n}\n\n.line.lane-7,\n.ring.lane-7,\n.changes.lane-7 {\n stroke: var(--nol-author-8);\n}\n\n.dot.lane-7,\n.fill.lane-7 {\n fill: var(--nol-author-8);\n}\n\n.l7 {\n background: color-mix(in srgb, var(--nol-author-8) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-8) 55%, transparent);\n}\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@container history (width < 64rem) {\n .grow-row {\n grid-template-columns: 9rem var(--graph-width) minmax(0, 1fr) 8rem 5.5rem;\n }\n}\n\n@container history (width < 44rem) {\n .grow-row {\n grid-template-columns: 10rem var(--graph-width) minmax(0, 1fr);\n }\n\n .grow-row > :nth-child(n + 4) {\n display: none;\n }\n}\n\n.field.gone {\n display: none;\n}\n\n.empty {\n display: grid;\n gap: var(--nol-space-2);\n justify-items: start;\n padding: 0.5rem 0.75rem;\n}\n\n.empty-icon {\n width: var(--nol-empty-icon);\n height: var(--nol-empty-icon);\n color: var(--nol-text-muted);\n font-size: var(--nol-empty-icon);\n}\n\n.heading {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.text {\n margin: 0;\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: GitBranchDropComponent, selector: "nol-git-branch-drop", inputs: ["drop", "prediction", "checking", "request", "busy", "left", "top"], outputs: ["merged", "switchMerged", "rebased", "requested", "closed"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "component", type: MenuSeparatorComponent, selector: "nol-menu-separator" }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "ngmodule", type: ScrollingModule }, { kind: "directive", type: i1.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i1.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i1.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
472
572
|
}
|
|
473
573
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitHistoryComponent, decorators: [{
|
|
474
574
|
type: Component,
|
|
475
575
|
args: [{ selector: "nol-git-history", imports: [
|
|
476
576
|
GitBranchDropComponent, GitReferenceTextComponent, MenuComponent, MenuItemComponent, MenuSeparatorComponent, MenuTriggerDirective, ScrollingModule, ToolbarButtonComponent, ToolbarDirective,
|
|
477
577
|
ToolbarItemDirective, TooltipDirective
|
|
478
|
-
], host: { "[style.--graph-width]": "graphWidth()" }, 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 #row class=\"toolbar\">\n <div #actions class=\"actions\" nolToolbar [nolToolbarLabel]=\"resources.toolbarLabel\">\n @for (toolbar of shownToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <span class=\"sep\" aria-hidden=\"true\"></span>\n }\n <div class=\"group\" role=\"group\" [attr.aria-label]=\"toolbar.title\">\n @for (action of toolbar.actions; track action) {\n @let label = labelOf(action);\n <button type=\"button\" nol-toolbar-button nolToolbarItem [attr.data-action]=\"action\" [label]=\"label\" [icon]=\"resources.historyActionIcons[action]\"\n [isShowingLabel]=\"isWide() && resources.labeledHistoryActions.includes(action)\" [isUnavailable]=\"!canRun(action)\"\n [nolTooltip]=\"label\" (click)=\"run(action)\"></button>\n }\n </div>\n }\n @if (hiddenToolbars().length > 0) {\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"more\" [label]=\"resources.moreActionsLabel\" [icon]=\"resources.moreIcon\" [hasMenu]=\"true\"\n [nolMenuTriggerFor]=\"more\" [nolTooltip]=\"resources.moreActionsLabel\"></button>\n }\n </div>\n <div class=\"spacer\"></div>\n <label #field class=\"field\">\n <span class=\"ms placeholder\">filter_list</span>\n <input #search type=\"search\" [placeholder]=\"resources.filterPlaceholder\" [value]=\"filter()\" (input)=\"filter.set(search.value)\" />\n </label>\n</div>\n<ng-template #more>\n <nol-menu>\n @for (toolbar of hiddenToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <nol-menu-separator />\n }\n @for (action of toolbar.actions; track action) {\n <button nol-menu-item [attr.data-action]=\"action\" [label]=\"labelOf(action)\" [icon]=\"resources.historyActionIcons[action]\" [disabled]=\"!canRun(action)\"\n (triggered)=\"run(action)\"></button>\n }\n }\n </nol-menu>\n</ng-template>\n@if (actionFailure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n}\n@if (notLoaded(); as message) {\n <p class=\"note not-loaded\" role=\"status\">{{ message }}</p>\n}\n<div class=\"grow-row header\">\n <span class=\"cell\">{{ resources.columnRefs }}</span><span class=\"cell\">{{ resources.columnGraph }}</span><span class=\"cell\">{{ resources.columnMessage }}</span>\n <span class=\"cell\">{{ resources.columnAuthor }}</span><span class=\"cell\">{{ resources.columnDate }}</span>\n</div>\n@if (isLoading()) {\n <p class=\"note\">{{ resources.historyLoading }}</p>\n} @else if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n} @else if (rows().length === 0) {\n <p class=\"note\">{{ resources.historyEmpty }}</p>\n} @else {\n <cdk-virtual-scroll-viewport class=\"list\" [itemSize]=\"resources.graphRowPixels\" [minBufferPx]=\"resources.graphBufferPixels\"\n [maxBufferPx]=\"resources.graphBufferPixels * 2\" role=\"listbox\" tabindex=\"0\" [attr.aria-label]=\"resources.historyListLabel\" [attr.aria-activedescendant]=\"activeOption()\"\n (keydown)=\"move($event)\" (scrolledIndexChange)=\"scrolled($event)\">\n <div *cdkVirtualFor=\"let row of rows(); let index = index; let count = count; trackBy: trackRow\" class=\"grow-row\" role=\"option\"\n [id]=\"resources.formatHistoryOptionId(list, index)\" [attr.aria-posinset]=\"index + 1\" [attr.aria-setsize]=\"hasMore() ? -1 : count\"\n [class.sel]=\"row.id === selectedId()\" [class.dim]=\"!row.matches\" [attr.aria-selected]=\"row.id === selectedId()\" (click)=\"select(row)\">\n <div class=\"cell\">\n @let split = row.chipsWithin(chipLimit());\n @for (chip of split.shown; track chip.title + chip.icon) {\n <span class=\"chip\" [class]=\"chip.isTag ? 'chip ltag' : 'chip l' + row.graph.color\" [class.current]=\"chip.isCurrent\" [title]=\"chip.title\"\n [attr.draggable]=\"chip.branch !== null\" (dragstart)=\"dragBranch(chip, row)\" (dragover)=\"overBranch($event, chip)\" (drop)=\"dropBranch($event, chip, row)\"\n (dragend)=\"endDrag()\">\n <span class=\"ms chip-icon\">{{ chip.icon }}</span><span class=\"ellipsis\">{{ chip.name }}</span>\n </span>\n }\n @if (split.hidden.length > 0) {\n <span class=\"chip ltag more\" [title]=\"moreTitle(split.hidden)\">{{ resources.formatMoreChips(split.hidden.length) }}</span>\n }\n </div>\n <svg class=\"graph\" aria-hidden=\"true\" [attr.width]=\"graphPixels()\" [attr.height]=\"resources.graphRowPixels\"\n [attr.viewBox]=\"'0 0 ' + graphPixels() + ' ' + resources.graphRowPixels\">\n @for (line of row.graph.lines; track $index) {\n <path [attr.d]=\"path(line)\" [attr.class]=\"'line lane-' + line.color\" />\n }\n @if (row.isChanges) {\n <circle class=\"changes\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'changes lane-' + row.graph.color\" />\n } @else if (row.isHead) {\n <circle class=\"ring\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadRingPixels\"\n [attr.class]=\"'ring lane-' + row.graph.color\" />\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadDotPixels\"\n [attr.class]=\"'fill lane-' + row.graph.color\" />\n } @else {\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'dot lane-' + row.graph.color\" />\n }\n </svg>\n <div class=\"cell\"><span class=\"message\" [class.italic]=\"row.isChanges\"><nol-git-reference-text class=\"line\" [text]=\"row.message\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span></div>\n <div class=\"cell\">\n @if (!row.isChanges) {\n @let picture = imageOf(row);\n @if (picture !== null) {\n <img class=\"av\" [src]=\"picture\" alt=\"\" />\n } @else {\n <span class=\"av\" [class]=\"'av av-' + row.avatar\">{{ row.initials }}</span>\n }\n <span class=\"ellipsis\">{{ row.author }}</span>\n }\n </div>\n <div class=\"cell muted\">{{ row.age }}</div>\n </div>\n </cdk-virtual-scroll-viewport>\n @if (dropped(); as shown) {\n <nol-git-branch-drop [drop]=\"shown.drop\" [prediction]=\"shown.prediction\" [checking]=\"shown.checking\" [busy]=\"writable() === null\" [request]=\"shown.request\"\n [left]=\"shown.left\" [top]=\"shown.top\" (requested)=\"requestDropped($event)\" (merged)=\"mergeDropped(shown.drop)\" (switchMerged)=\"switchMergeDropped(shown.drop)\" (rebased)=\"rebaseDropped(shown.drop)\" (closed)=\"dropped.set(null)\" />\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n container: history / inline-size;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n background: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: 0.8125rem;\n line-height: 1.125rem;\n}\n\n.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.toolbar {\n display: flex;\n overflow: hidden;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 2.25rem;\n padding: 0 0.5rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.actions,\n.group {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n}\n\n.sep {\n width: 1px;\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.spacer {\n flex: 1;\n}\n\n.field {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n flex: 0 1 17rem;\n min-width: 7rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: 0.25rem;\n background: var(--nol-input);\n}\n\n.field input {\n flex: 1;\n min-width: 0;\n padding: 0;\n border: 0;\n outline: none;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n}\n\n.field input::placeholder,\n.placeholder {\n color: var(--nol-placeholder);\n}\n\n.grow-row {\n display: grid;\n grid-template-columns: 13rem var(--graph-width) minmax(0, 1fr) 9.5rem 5.5rem;\n align-items: center;\n box-sizing: border-box;\n height: 1.75rem;\n padding: 0 0.5rem;\n white-space: nowrap;\n}\n\n.header {\n flex: none;\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.list {\n flex: 1;\n min-height: 0;\n outline: none;\n}\n\n.list .grow-row:hover {\n background: var(--nol-hover);\n}\n\n.list .grow-row.sel,\n.list .grow-row.sel:hover {\n background: var(--nol-selected);\n}\n\n.grow-row.dim {\n opacity: 0.4;\n}\n\n.cell {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.message,\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.italic {\n font-style: italic;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\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 color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.chip-icon {\n width: 0.875rem;\n height: 0.875rem;\n font-size: 0.875rem;\n}\n\n.chip.current {\n font-weight: 500;\n}\n\n.chip.more {\n flex: none;\n}\n\n.ltag {\n box-shadow: inset 0 0 0 1px var(--nol-border);\n}\n\n.graph {\n display: block;\n overflow: visible;\n}\n\n.line {\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n}\n\n.dot {\n stroke: var(--nol-panel);\n stroke-width: 2;\n}\n\n.ring,\n.changes {\n fill: var(--nol-panel);\n stroke-width: 2;\n}\n\n.changes {\n stroke-dasharray: 3 2;\n}\n\n.av {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.125rem;\n height: 1.125rem;\n border-radius: 50%;\n font-size: 0.625rem;\n font-weight: 500;\n object-fit: cover;\n}\n\n.note {\n margin: 0;\n padding: 0.5rem 0.75rem;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.line.lane-0,\n.ring.lane-0,\n.changes.lane-0 {\n stroke: var(--nol-author-1);\n}\n\n.dot.lane-0,\n.fill.lane-0 {\n fill: var(--nol-author-1);\n}\n\n.l0 {\n background: color-mix(in srgb, var(--nol-author-1) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-1) 55%, transparent);\n}\n\n.line.lane-1,\n.ring.lane-1,\n.changes.lane-1 {\n stroke: var(--nol-author-2);\n}\n\n.dot.lane-1,\n.fill.lane-1 {\n fill: var(--nol-author-2);\n}\n\n.l1 {\n background: color-mix(in srgb, var(--nol-author-2) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-2) 55%, transparent);\n}\n\n.line.lane-2,\n.ring.lane-2,\n.changes.lane-2 {\n stroke: var(--nol-author-3);\n}\n\n.dot.lane-2,\n.fill.lane-2 {\n fill: var(--nol-author-3);\n}\n\n.l2 {\n background: color-mix(in srgb, var(--nol-author-3) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-3) 55%, transparent);\n}\n\n.line.lane-3,\n.ring.lane-3,\n.changes.lane-3 {\n stroke: var(--nol-author-4);\n}\n\n.dot.lane-3,\n.fill.lane-3 {\n fill: var(--nol-author-4);\n}\n\n.l3 {\n background: color-mix(in srgb, var(--nol-author-4) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-4) 55%, transparent);\n}\n\n.line.lane-4,\n.ring.lane-4,\n.changes.lane-4 {\n stroke: var(--nol-author-5);\n}\n\n.dot.lane-4,\n.fill.lane-4 {\n fill: var(--nol-author-5);\n}\n\n.l4 {\n background: color-mix(in srgb, var(--nol-author-5) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-5) 55%, transparent);\n}\n\n.line.lane-5,\n.ring.lane-5,\n.changes.lane-5 {\n stroke: var(--nol-author-6);\n}\n\n.dot.lane-5,\n.fill.lane-5 {\n fill: var(--nol-author-6);\n}\n\n.l5 {\n background: color-mix(in srgb, var(--nol-author-6) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-6) 55%, transparent);\n}\n\n.line.lane-6,\n.ring.lane-6,\n.changes.lane-6 {\n stroke: var(--nol-author-7);\n}\n\n.dot.lane-6,\n.fill.lane-6 {\n fill: var(--nol-author-7);\n}\n\n.l6 {\n background: color-mix(in srgb, var(--nol-author-7) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-7) 55%, transparent);\n}\n\n.line.lane-7,\n.ring.lane-7,\n.changes.lane-7 {\n stroke: var(--nol-author-8);\n}\n\n.dot.lane-7,\n.fill.lane-7 {\n fill: var(--nol-author-8);\n}\n\n.l7 {\n background: color-mix(in srgb, var(--nol-author-8) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-8) 55%, transparent);\n}\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@container history (width < 64rem) {\n .grow-row {\n grid-template-columns: 9rem var(--graph-width) minmax(0, 1fr) 8rem 5.5rem;\n }\n}\n\n@container history (width < 44rem) {\n .grow-row {\n grid-template-columns: 10rem var(--graph-width) minmax(0, 1fr);\n }\n\n .grow-row > :nth-child(n + 4) {\n display: none;\n }\n}\n"] }]
|
|
479
|
-
}], ctorParameters: () => [], propDecorators: { viewport: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkVirtualScrollViewport), { isSignal: true }] }], row: [{ type: i0.ViewChild, args: ["row", { isSignal: true }] }], actions: [{ type: i0.ViewChild, args: ["actions", { isSignal: true }] }], field: [{ type: i0.ViewChild, args: ["field", { isSignal: true }] }], instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
578
|
+
], host: { "[style.--graph-width]": "graphWidth()", "[style.--git-history-scrollbar]": "scrollbarWidth()" }, 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 #row class=\"toolbar\">\n <div #actions class=\"actions\" nolToolbar [nolToolbarLabel]=\"resources.toolbarLabel\">\n @for (toolbar of shownToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <span class=\"sep\" aria-hidden=\"true\"></span>\n }\n <div class=\"group\" role=\"group\" [attr.aria-label]=\"toolbar.title\">\n @for (action of toolbar.actions; track action) {\n @let label = labelOf(action);\n <button type=\"button\" nol-toolbar-button nolToolbarItem [attr.data-action]=\"action\" [label]=\"label\" [icon]=\"resources.historyActionIcons[action]\"\n [isShowingLabel]=\"isWide() && resources.labeledHistoryActions.includes(action)\" [isUnavailable]=\"!canRun(action)\"\n [nolTooltip]=\"label\" (click)=\"run(action)\"></button>\n }\n </div>\n }\n @if (hiddenToolbars().length > 0) {\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"more\" [label]=\"resources.moreActionsLabel\" [icon]=\"resources.moreIcon\" [hasMenu]=\"true\"\n [nolMenuTriggerFor]=\"more\" [nolTooltip]=\"resources.moreActionsLabel\"></button>\n }\n </div>\n <div class=\"spacer\"></div>\n <label #field class=\"field\" [class.gone]=\"notRepository() !== null\">\n <span class=\"ms placeholder\">filter_list</span>\n <input #search type=\"search\" [placeholder]=\"resources.filterPlaceholder\" [value]=\"filter()\" (input)=\"filter.set(search.value)\" />\n </label>\n</div>\n<ng-template #more>\n <nol-menu>\n @for (toolbar of hiddenToolbars(); track toolbar.title; let first = $first) {\n @if (!first) {\n <nol-menu-separator />\n }\n @for (action of toolbar.actions; track action) {\n <button nol-menu-item [attr.data-action]=\"action\" [label]=\"labelOf(action)\" [icon]=\"resources.historyActionIcons[action]\" [disabled]=\"!canRun(action)\"\n (triggered)=\"run(action)\"></button>\n }\n }\n </nol-menu>\n</ng-template>\n@if (notRepository(); as look) {\n <div class=\"empty\">\n <span class=\"empty-icon material-symbols-rounded\" aria-hidden=\"true\">{{ resources.noFolderIcon }}</span>\n <h2 class=\"heading\">{{ resources.notRepositoryHeading }}</h2>\n <p class=\"text\">{{ look.text() }}</p>\n </div>\n} @else {\n @if (actionFailure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n }\n @if (notLoaded(); as message) {\n <p class=\"note not-loaded\" role=\"status\">{{ message }}</p>\n }\n <div class=\"grow-row header\">\n <span class=\"cell\">{{ resources.columnRefs }}</span><span class=\"cell\">{{ resources.columnGraph }}</span><span class=\"cell\">{{ resources.columnMessage }}</span>\n <span class=\"cell\">{{ resources.columnAuthor }}</span><span class=\"cell\">{{ resources.columnDate }}</span>\n </div>\n @if (isLoading()) {\n <p class=\"note\">{{ resources.historyLoading }}</p>\n } @else if (failure(); as message) {\n <p class=\"note error\" role=\"alert\">{{ message }}</p>\n } @else if (rows().length === 0) {\n <p class=\"note\">{{ resources.historyEmpty }}</p>\n } @else {\n <cdk-virtual-scroll-viewport class=\"list\" [itemSize]=\"resources.graphRowPixels\" [minBufferPx]=\"resources.graphBufferPixels\"\n [maxBufferPx]=\"resources.graphBufferPixels * 2\" role=\"listbox\" tabindex=\"0\" [attr.aria-label]=\"resources.historyListLabel\" [attr.aria-activedescendant]=\"activeOption()\"\n (keydown)=\"move($event)\" (scrolledIndexChange)=\"scrolled($event)\">\n <div *cdkVirtualFor=\"let row of rows(); let index = index; let count = count; trackBy: trackRow\" class=\"grow-row\" role=\"option\"\n [id]=\"resources.formatHistoryOptionId(list, index)\" [attr.aria-posinset]=\"index + 1\" [attr.aria-setsize]=\"hasMore() ? -1 : count\"\n [class.sel]=\"row.id === selectedId()\" [class.dim]=\"!row.matches\" [attr.aria-selected]=\"row.id === selectedId()\" (click)=\"select(row)\">\n <div class=\"cell\">\n @let split = row.chipsWithin(chipLimit());\n @for (chip of split.shown; track chip.title + chip.icon) {\n <span class=\"chip\" [class]=\"chip.isTag ? 'chip ltag' : 'chip l' + row.graph.color\" [class.current]=\"chip.isCurrent\" [title]=\"chip.title\"\n [attr.draggable]=\"chip.branch !== null\" (dragstart)=\"dragBranch(chip, row)\" (dragover)=\"overBranch($event, chip)\" (drop)=\"dropBranch($event, chip, row)\"\n (dragend)=\"endDrag()\">\n <span class=\"ms chip-icon\">{{ chip.icon }}</span><span class=\"ellipsis\">{{ chip.name }}</span>\n </span>\n }\n @if (split.hidden.length > 0) {\n <span class=\"chip ltag more\" [title]=\"moreTitle(split.hidden)\">{{ resources.formatMoreChips(split.hidden.length) }}</span>\n }\n </div>\n <svg class=\"graph\" aria-hidden=\"true\" [attr.width]=\"graphPixels()\" [attr.height]=\"resources.graphRowPixels\"\n [attr.viewBox]=\"'0 0 ' + graphPixels() + ' ' + resources.graphRowPixels\">\n @for (line of row.graph.lines; track $index) {\n <path [attr.d]=\"path(line)\" [attr.class]=\"'line lane-' + line.color\" />\n }\n @if (row.isChanges) {\n <circle class=\"changes\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'changes lane-' + row.graph.color\" />\n } @else if (row.isHead) {\n <circle class=\"ring\" [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadRingPixels\"\n [attr.class]=\"'ring lane-' + row.graph.color\" />\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphHeadDotPixels\"\n [attr.class]=\"'fill lane-' + row.graph.color\" />\n } @else {\n <circle [attr.cx]=\"x(row.graph.lane)\" [attr.cy]=\"resources.graphRowPixels / 2\" [attr.r]=\"resources.graphDotPixels\"\n [attr.class]=\"'dot lane-' + row.graph.color\" />\n }\n </svg>\n <div class=\"cell\"><span class=\"message\" [class.italic]=\"row.isChanges\"><nol-git-reference-text class=\"line\" [text]=\"row.message\" [folder]=\"instance()\" [chipTabIndex]=\"-1\" /></span></div>\n <div class=\"cell\">\n @if (!row.isChanges) {\n @let picture = imageOf(row);\n @if (picture !== null) {\n <img class=\"av\" [src]=\"picture\" alt=\"\" />\n } @else {\n <span class=\"av\" [class]=\"'av av-' + row.avatar\">{{ row.initials }}</span>\n }\n <span class=\"ellipsis\">{{ row.author }}</span>\n }\n </div>\n <div class=\"cell muted\">{{ row.age }}</div>\n </div>\n </cdk-virtual-scroll-viewport>\n @if (dropped(); as shown) {\n <nol-git-branch-drop [drop]=\"shown.drop\" [prediction]=\"shown.prediction\" [checking]=\"shown.checking\" [busy]=\"writable() === null\" [request]=\"shown.request\"\n [left]=\"shown.left\" [top]=\"shown.top\" (requested)=\"requestDropped($event)\" (merged)=\"mergeDropped(shown.drop)\" (switchMerged)=\"switchMergeDropped(shown.drop)\" (rebased)=\"rebaseDropped(shown.drop)\" (closed)=\"dropped.set(null)\" />\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n container: history / inline-size;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n background: var(--nol-panel);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: 0.8125rem;\n line-height: 1.125rem;\n}\n\n.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.toolbar {\n display: flex;\n overflow: hidden;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n box-sizing: border-box;\n height: 2.25rem;\n padding: 0 0.75rem 0 0.5rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.actions,\n.group {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\n}\n\n.sep {\n width: 1px;\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.spacer {\n flex: 1;\n}\n\n.field {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n flex: 0 1 17rem;\n min-width: 7rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: 0.25rem;\n background: var(--nol-input);\n}\n\n.field input {\n flex: 1;\n min-width: 0;\n padding: 0;\n border: 0;\n outline: none;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n}\n\n.field input::placeholder,\n.placeholder {\n color: var(--nol-placeholder);\n}\n\n.grow-row {\n display: grid;\n grid-template-columns: 13rem var(--graph-width) minmax(0, 1fr) 9.5rem 5.5rem;\n align-items: center;\n box-sizing: border-box;\n height: 1.75rem;\n padding: 0 max(0px, calc(var(--nol-content-padding-inline) - var(--git-history-scrollbar))) 0 0.5rem;\n white-space: nowrap;\n}\n\n.grow-row > .cell:last-child {\n justify-content: flex-end;\n}\n\n.header {\n flex: none;\n padding-right: var(--nol-content-padding-inline);\n color: var(--nol-text-muted);\n font-size: 0.75rem;\n}\n\n.list {\n flex: 1;\n min-height: 0;\n outline: none;\n}\n\n.list .grow-row:hover {\n background: var(--nol-hover);\n}\n\n.list .grow-row.sel,\n.list .grow-row.sel:hover {\n background: var(--nol-selected);\n}\n\n.grow-row.dim {\n opacity: 0.4;\n}\n\n.cell {\n display: flex;\n align-items: center;\n gap: 0.25rem;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.message,\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.italic {\n font-style: italic;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.chip {\n display: inline-flex;\n flex: 0 1 auto;\n align-items: center;\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 color: var(--nol-text-strong);\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.chip-icon {\n width: 0.875rem;\n height: 0.875rem;\n font-size: 0.875rem;\n}\n\n.chip.current {\n font-weight: 500;\n}\n\n.chip.more {\n flex: none;\n}\n\n.ltag {\n box-shadow: inset 0 0 0 1px var(--nol-border);\n}\n\n.graph {\n display: block;\n overflow: visible;\n}\n\n.line {\n fill: none;\n stroke-width: 2;\n stroke-linecap: round;\n}\n\n.dot {\n stroke: var(--nol-panel);\n stroke-width: 2;\n}\n\n.ring,\n.changes {\n fill: var(--nol-panel);\n stroke-width: 2;\n}\n\n.changes {\n stroke-dasharray: 3 2;\n}\n\n.av {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.125rem;\n height: 1.125rem;\n border-radius: 50%;\n font-size: 0.625rem;\n font-weight: 500;\n object-fit: cover;\n}\n\n.note {\n margin: 0;\n padding: 0.5rem 0.75rem;\n color: var(--nol-text-muted);\n}\n\n.note.error {\n color: var(--nol-error);\n}\n\n.line.lane-0,\n.ring.lane-0,\n.changes.lane-0 {\n stroke: var(--nol-author-1);\n}\n\n.dot.lane-0,\n.fill.lane-0 {\n fill: var(--nol-author-1);\n}\n\n.l0 {\n background: color-mix(in srgb, var(--nol-author-1) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-1) 55%, transparent);\n}\n\n.line.lane-1,\n.ring.lane-1,\n.changes.lane-1 {\n stroke: var(--nol-author-2);\n}\n\n.dot.lane-1,\n.fill.lane-1 {\n fill: var(--nol-author-2);\n}\n\n.l1 {\n background: color-mix(in srgb, var(--nol-author-2) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-2) 55%, transparent);\n}\n\n.line.lane-2,\n.ring.lane-2,\n.changes.lane-2 {\n stroke: var(--nol-author-3);\n}\n\n.dot.lane-2,\n.fill.lane-2 {\n fill: var(--nol-author-3);\n}\n\n.l2 {\n background: color-mix(in srgb, var(--nol-author-3) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-3) 55%, transparent);\n}\n\n.line.lane-3,\n.ring.lane-3,\n.changes.lane-3 {\n stroke: var(--nol-author-4);\n}\n\n.dot.lane-3,\n.fill.lane-3 {\n fill: var(--nol-author-4);\n}\n\n.l3 {\n background: color-mix(in srgb, var(--nol-author-4) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-4) 55%, transparent);\n}\n\n.line.lane-4,\n.ring.lane-4,\n.changes.lane-4 {\n stroke: var(--nol-author-5);\n}\n\n.dot.lane-4,\n.fill.lane-4 {\n fill: var(--nol-author-5);\n}\n\n.l4 {\n background: color-mix(in srgb, var(--nol-author-5) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-5) 55%, transparent);\n}\n\n.line.lane-5,\n.ring.lane-5,\n.changes.lane-5 {\n stroke: var(--nol-author-6);\n}\n\n.dot.lane-5,\n.fill.lane-5 {\n fill: var(--nol-author-6);\n}\n\n.l5 {\n background: color-mix(in srgb, var(--nol-author-6) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-6) 55%, transparent);\n}\n\n.line.lane-6,\n.ring.lane-6,\n.changes.lane-6 {\n stroke: var(--nol-author-7);\n}\n\n.dot.lane-6,\n.fill.lane-6 {\n fill: var(--nol-author-7);\n}\n\n.l6 {\n background: color-mix(in srgb, var(--nol-author-7) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-7) 55%, transparent);\n}\n\n.line.lane-7,\n.ring.lane-7,\n.changes.lane-7 {\n stroke: var(--nol-author-8);\n}\n\n.dot.lane-7,\n.fill.lane-7 {\n fill: var(--nol-author-8);\n}\n\n.l7 {\n background: color-mix(in srgb, var(--nol-author-8) 18%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nol-author-8) 55%, transparent);\n}\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@container history (width < 64rem) {\n .grow-row {\n grid-template-columns: 9rem var(--graph-width) minmax(0, 1fr) 8rem 5.5rem;\n }\n}\n\n@container history (width < 44rem) {\n .grow-row {\n grid-template-columns: 10rem var(--graph-width) minmax(0, 1fr);\n }\n\n .grow-row > :nth-child(n + 4) {\n display: none;\n }\n}\n\n.field.gone {\n display: none;\n}\n\n.empty {\n display: grid;\n gap: var(--nol-space-2);\n justify-items: start;\n padding: 0.5rem 0.75rem;\n}\n\n.empty-icon {\n width: var(--nol-empty-icon);\n height: var(--nol-empty-icon);\n color: var(--nol-text-muted);\n font-size: var(--nol-empty-icon);\n}\n\n.heading {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.text {\n margin: 0;\n color: var(--nol-text-muted);\n}\n"] }]
|
|
579
|
+
}], ctorParameters: () => [], propDecorators: { viewport: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkVirtualScrollViewport), { isSignal: true }] }], scroller: [{ type: i0.ViewChild, args: [i0.forwardRef(() => CdkVirtualScrollViewport), { isSignal: true }] }], row: [{ type: i0.ViewChild, args: ["row", { isSignal: true }] }], actions: [{ type: i0.ViewChild, args: ["actions", { isSignal: true }] }], field: [{ type: i0.ViewChild, args: ["field", { isSignal: true }] }], instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
|
|
480
580
|
//# sourceMappingURL=git-history.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-history.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-history/git-history.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-history/git-history.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACnF,OAAO,EACL,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAmB,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EAClK,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,SAAS,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC/F,OAAO,EAA0E,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACjI,OAAO,EACL,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,EAChL,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAA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M,CAAC,KAAc;QAC3B,IAAI,CAAC,gBAAgB,CAAC,SAAS,CAAC,KAAK,CAAC;YACpC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;uGAtbU,mBAAmB;2FAAnB,mBAAmB,kUAUmD,wBAAwB,mWC9E3G,m8NAyHA,olPD5DI,sBAAsB,qNAAE,yBAAyB,gIAAE,aAAa,2EAAE,iBAAiB,6LAAE,sBAAsB,+DAAE,oBAAoB,mJAAE,eAAe,4jBAAE,sBAAsB,yLAAE,gBAAgB,uKAC5L,oBAAoB,6DAAE,gBAAgB;;2FAM7B,mBAAmB;kBAV/B,SAAS;+BACE,iBAAiB,WAClB;wBACP,sBAAsB,EAAE,yBAAyB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,eAAe,EAAE,sBAAsB,EAAE,gBAAgB;wBAC5L,oBAAoB,EAAE,gBAAgB;qBACvC,QACK,EAAE,uBAAuB,EAAE,cAAc,EAAE;oHAcgC,wBAAwB,8DACL,KAAK,iEACD,SAAS,+DACX,OAAO"}
|
|
1
|
+
{"version":3,"file":"git-history.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-history/git-history.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-history/git-history.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACnF,OAAO,EACL,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAmB,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EAClK,SAAS,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAClH,OAAO,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M7B,mBAAmB;kBAV/B,SAAS;+BACE,iBAAiB,WAClB;wBACP,sBAAsB,EAAE,yBAAyB,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,eAAe,EAAE,sBAAsB,EAAE,gBAAgB;wBAC5L,oBAAoB,EAAE,gBAAgB;qBACvC,QACK,EAAE,uBAAuB,EAAE,cAAc,EAAE,iCAAiC,EAAE,kBAAkB,EAAE;oHAiBvB,wBAAwB,uFACrB,wBAAwB,8DAGR,KAAK,iEACD,SAAS,+DACX,OAAO"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Component, effect, inject, input, output, PendingTasks, signal, untracked } from "@angular/core";
|
|
9
9
|
import "@noldova/context.core";
|
|
10
|
-
import { WindowException, WindowPartTokens } from "@noldova/desktop.window";
|
|
10
|
+
import { TimeFormatService, WindowException, WindowPartTokens } from "@noldova/desktop.window";
|
|
11
11
|
import { HostPullRequestCommits } from "@noldova/git.hosting.protocol";
|
|
12
12
|
import { ButtonComponent, ButtonVariant, SpinnerComponent } from "@noldova/ui.components.angular";
|
|
13
13
|
import { GitFolder } from "../../services/git-folder.js";
|
|
@@ -19,7 +19,7 @@ export class GitPullRequestCommitsComponent {
|
|
|
19
19
|
tasks = inject(PendingTasks);
|
|
20
20
|
attempt = signal(0, /* @ts-ignore */
|
|
21
21
|
...(ngDevMode ? [{ debugName: "attempt" }] : /* istanbul ignore next */ []));
|
|
22
|
-
dates =
|
|
22
|
+
dates = inject(TimeFormatService);
|
|
23
23
|
resources = Resources;
|
|
24
24
|
secondary = ButtonVariant.Secondary;
|
|
25
25
|
list = signal(null, /* @ts-ignore */
|
|
@@ -62,7 +62,7 @@ export class GitPullRequestCommitsComponent {
|
|
|
62
62
|
return commit.id.slice(0, Resources.shortIdLength);
|
|
63
63
|
}
|
|
64
64
|
ageOf(commit) {
|
|
65
|
-
return Resources.formatPullRequestCommitAge(Date.now() - commit.authoredAt) ?? this.dates.
|
|
65
|
+
return Resources.formatPullRequestCommitAge(Date.now() - commit.authoredAt) ?? this.dates.shortDate(commit.authoredAt);
|
|
66
66
|
}
|
|
67
67
|
open(commit) {
|
|
68
68
|
void this.openAsync(commit);
|