@noldova/git.window 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -6
- package/src/api/index.d.ts +6 -1
- package/src/app/components/git-agents/git-agents.component.js +4 -5
- package/src/app/components/git-agents/git-agents.component.js.map +1 -1
- package/src/app/components/git-clone-dialog/git-clone-dialog.component.js +210 -0
- package/src/app/components/git-clone-dialog/git-clone-dialog.component.js.map +1 -0
- package/src/app/components/git-diff-files/git-diff-files.component.js +3 -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 +4 -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 +32 -8
- package/src/app/components/git-history/git-history.component.js.map +1 -1
- package/src/app/components/git-pull-request-files/git-pull-request-files.component.js +4 -3
- package/src/app/components/git-pull-request-files/git-pull-request-files.component.js.map +1 -1
- package/src/app/components/git-pull-request-threads/git-pull-request-threads.component.js +4 -3
- 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 +4 -6
- package/src/app/components/git-pull-requests/git-pull-requests.component.js.map +1 -1
- package/src/app/components/git-repository/git-repository.component.js +6 -4
- package/src/app/components/git-repository/git-repository.component.js.map +1 -1
- package/src/app/components/git-view/git-view.component.js +16 -3
- package/src/app/components/git-view/git-view.component.js.map +1 -1
- package/src/app/components/git-workspace/git-workspace.component.js +52 -4
- package/src/app/components/git-workspace/git-workspace.component.js.map +1 -1
- package/src/app/components/git-workspaces/git-workspaces.component.js +3 -3
- package/src/app/components/git-workspaces/git-workspaces.component.js.map +1 -1
- package/src/app/enums/git-add-kind.js +14 -0
- package/src/app/enums/git-add-kind.js.map +1 -0
- package/src/app/enums/git-host-feature.js +1 -0
- package/src/app/enums/git-host-feature.js.map +1 -1
- package/src/app/models/git-clone-source.js +29 -0
- package/src/app/models/git-clone-source.js.map +1 -0
- package/src/app/models/git-folder-look.js +6 -0
- package/src/app/models/git-folder-look.js.map +1 -1
- package/src/app/services/git-add-requests.js +20 -0
- package/src/app/services/git-add-requests.js.map +1 -0
- package/src/app/services/git-clone-folders.js +37 -0
- package/src/app/services/git-clone-folders.js.map +1 -0
- package/src/app/services/git-clone-sources.js +20 -0
- package/src/app/services/git-clone-sources.js.map +1 -0
- package/src/app/services/git-folder-keys.js +27 -0
- package/src/app/services/git-folder-keys.js.map +1 -0
- package/src/app/services/git-folder-looks.js +30 -1
- package/src/app/services/git-folder-looks.js.map +1 -1
- package/src/app/services/git-folder-watch.js +50 -0
- package/src/app/services/git-folder-watch.js.map +1 -0
- package/src/app/services/git-history-asks.js +2 -1
- package/src/app/services/git-history-asks.js.map +1 -1
- package/src/app/services/git-repository-scans.js +8 -3
- package/src/app/services/git-repository-scans.js.map +1 -1
- package/src/app/services/git-runtime-client.js +25 -1
- package/src/app/services/git-runtime-client.js.map +1 -1
- package/src/app/services/git-view-state.service.js +4 -2
- package/src/app/services/git-view-state.service.js.map +1 -1
- package/src/app/services/git-viewing.js +2 -1
- package/src/app/services/git-viewing.js.map +1 -1
- package/src/app/services/git-window-part.js +12 -1
- package/src/app/services/git-window-part.js.map +1 -1
- package/src/app/services/git-workspace-pages.js +14 -2
- package/src/app/services/git-workspace-pages.js.map +1 -1
- package/src/resources.js +74 -4
- package/src/resources.js.map +1 -1
|
@@ -10,8 +10,9 @@ import { FormsModule } from "@angular/forms";
|
|
|
10
10
|
import "@noldova/context.core";
|
|
11
11
|
import { LinkPlace, TimeFormatService, WindowPartTokens } from "@noldova/desktop.window";
|
|
12
12
|
import { ScanEnd } from "@noldova/git.protocol";
|
|
13
|
-
import { ButtonComponent, CheckboxComponent, DialogService, IconButtonComponent, TextFieldComponent, ToolbarButtonComponent } from "@noldova/ui.components.angular";
|
|
13
|
+
import { ButtonComponent, ButtonVariant, CheckboxComponent, DialogService, IconButtonComponent, MenuComponent, MenuItemComponent, MenuTriggerDirective, TextFieldComponent, ToolbarButtonComponent } from "@noldova/ui.components.angular";
|
|
14
14
|
import { Resources } from "../../../resources.js";
|
|
15
|
+
import { GitAddKind } from "../../enums/git-add-kind.js";
|
|
15
16
|
import { GitAgentState } from "../../enums/git-agent-state.js";
|
|
16
17
|
import { GitWorkspaceView } from "../../enums/git-workspace-view.js";
|
|
17
18
|
import { GitReferencePart } from "../../models/git-reference-part.js";
|
|
@@ -21,6 +22,7 @@ import { GitWorkspaceOverview } from "../../models/git-workspace-overview.js";
|
|
|
21
22
|
import { GitWorkspaceRow } from "../../models/git-workspace-row.js";
|
|
22
23
|
import { GitWorkspaceRun } from "../../models/git-workspace-run.js";
|
|
23
24
|
import { GitWorkspaceSide } from "../../models/git-workspace-side.js";
|
|
25
|
+
import { GitAddRequests } from "../../services/git-add-requests.js";
|
|
24
26
|
import { GitAgents } from "../../services/git-agents.js";
|
|
25
27
|
import { GitPullRequests } from "../../services/git-pull-requests.js";
|
|
26
28
|
import { GitRecentRepositories } from "../../services/git-recent-repositories.js";
|
|
@@ -34,6 +36,7 @@ import { GitWorkspacePullRequests } from "../../services/git-workspace-pull-requ
|
|
|
34
36
|
import { GitWorkspaces } from "../../services/git-workspaces.js";
|
|
35
37
|
import { GitWorkspaceSides } from "../../services/git-workspace-sides.js";
|
|
36
38
|
import { GitBulkBranchDialogComponent } from "../git-bulk-branch-dialog/git-bulk-branch-dialog.component.js";
|
|
39
|
+
import { GitCloneDialogComponent } from "../git-clone-dialog/git-clone-dialog.component.js";
|
|
37
40
|
import { GitReferenceTextComponent } from "../git-reference-text/git-reference-text.component.js";
|
|
38
41
|
import { GitVisibleDirective } from "./git-visible.directive.js";
|
|
39
42
|
import { GitWorkspaceViewCount } from "../../models/git-workspace-view-count.js";
|
|
@@ -43,6 +46,8 @@ export class GitWorkspaceComponent {
|
|
|
43
46
|
instance = input.required(/* @ts-ignore */
|
|
44
47
|
...(ngDevMode ? [{ debugName: "instance" }] : /* istanbul ignore next */ []));
|
|
45
48
|
resources = Resources;
|
|
49
|
+
addKinds = GitAddKind;
|
|
50
|
+
secondary = ButtonVariant.Secondary;
|
|
46
51
|
around = GitReferencePart.around;
|
|
47
52
|
filter = signal("", /* @ts-ignore */
|
|
48
53
|
...(ngDevMode ? [{ debugName: "filter" }] : /* istanbul ignore next */ []));
|
|
@@ -123,6 +128,15 @@ export class GitWorkspaceComponent {
|
|
|
123
128
|
...(ngDevMode ? [{ debugName: "across" }] : /* istanbul ignore next */ []));
|
|
124
129
|
nameField = viewChild("nameField", { ...(ngDevMode ? { debugName: "nameField" } : /* istanbul ignore next */ {}), read: (ElementRef) });
|
|
125
130
|
constructor() {
|
|
131
|
+
effect(() => {
|
|
132
|
+
const kind = GitAddRequests.asked();
|
|
133
|
+
if (Object.isNull(kind) || this.instance() !== Resources.openRepositoriesInstance)
|
|
134
|
+
return;
|
|
135
|
+
untracked(() => {
|
|
136
|
+
GitAddRequests.clear();
|
|
137
|
+
this.add(kind);
|
|
138
|
+
});
|
|
139
|
+
});
|
|
126
140
|
effect(() => {
|
|
127
141
|
const field = this.nameField()?.nativeElement;
|
|
128
142
|
field?.focus();
|
|
@@ -193,6 +207,39 @@ export class GitWorkspaceComponent {
|
|
|
193
207
|
void this.writeAsync(Resources.formatBranchedVerb(name), targets, () => this.bulk.createBranchAsync(targets, name));
|
|
194
208
|
});
|
|
195
209
|
}
|
|
210
|
+
add(kind) {
|
|
211
|
+
if (kind === GitAddKind.Clone)
|
|
212
|
+
this.clone();
|
|
213
|
+
else if (kind === GitAddKind.Init)
|
|
214
|
+
void this.initAsync();
|
|
215
|
+
else
|
|
216
|
+
void this.addRepositoryAsync();
|
|
217
|
+
}
|
|
218
|
+
clone() {
|
|
219
|
+
const dialog = this.dialogs.open(GitCloneDialogComponent, ".url");
|
|
220
|
+
dialog.componentInstance?.answered.subscribe(folder => {
|
|
221
|
+
dialog.close();
|
|
222
|
+
if (!Object.isNull(folder))
|
|
223
|
+
this.addAndOpen(folder);
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
async initAsync() {
|
|
227
|
+
const folder = await this.context.chooseFolderAsync();
|
|
228
|
+
if (Object.isNull(folder))
|
|
229
|
+
return;
|
|
230
|
+
try {
|
|
231
|
+
await this.client.initAsync(folder);
|
|
232
|
+
}
|
|
233
|
+
catch (error) {
|
|
234
|
+
this.errors.handleError(error);
|
|
235
|
+
return;
|
|
236
|
+
}
|
|
237
|
+
this.addAndOpen(folder);
|
|
238
|
+
}
|
|
239
|
+
addAndOpen(folder) {
|
|
240
|
+
this.addFolders([folder]);
|
|
241
|
+
GitWorkspacePages.openRepository(this.context, folder, this.errors);
|
|
242
|
+
}
|
|
196
243
|
async addRepositoryAsync() {
|
|
197
244
|
const folder = await this.context.chooseFolderAsync();
|
|
198
245
|
if (Object.isNull(folder))
|
|
@@ -251,7 +298,7 @@ export class GitWorkspaceComponent {
|
|
|
251
298
|
GitWorkspaces.moveFolders(workspace.id, this.chosen(), by);
|
|
252
299
|
}
|
|
253
300
|
open(folder) {
|
|
254
|
-
GitWorkspacePages.openRepository(this.context, folder);
|
|
301
|
+
GitWorkspacePages.openRepository(this.context, folder, this.errors);
|
|
255
302
|
}
|
|
256
303
|
fetchedOf(row) {
|
|
257
304
|
return GitWorkspaceRow.fetchedOf(row.summary(), new Date(), this.dates);
|
|
@@ -342,10 +389,11 @@ export class GitWorkspaceComponent {
|
|
|
342
389
|
}
|
|
343
390
|
}
|
|
344
391
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitWorkspaceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
345
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitWorkspaceComponent, isStandalone: true, selector: "nol-git-workspace", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "nameField", first: true, predicate: ["nameField"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <main class=\"panel\" [attr.aria-label]=\"title()\">\n <div class=\"toolbar\">\n @if (renaming(); as name) {\n @if (workspace(); as current) {\n <input #nameField nol-text-field class=\"name-field\" type=\"text\" name=\"workspaceName\" [attr.aria-label]=\"resources.workspaceNameLabel\" [ngModel]=\"name\"\n (ngModelChange)=\"renaming.set($event)\" (keydown.enter)=\"rename(current)\" (keydown.escape)=\"renaming.set(null)\" (blur)=\"rename(current)\" />\n }\n }\n @else {\n <span class=\"name\">{{ title() }}</span>\n }\n <span class=\"small muted count-text\">{{ resources.formatRepositoryCount(folders().length, chosen().size) }}</span>\n <span class=\"separator\" aria-hidden=\"true\"></span>\n <button type=\"button\" nol-toolbar-button class=\"fetch-all\" [icon]=\"resources.fetchAllIcon\" [label]=\"resources.fetchAllTitle\" [isShowingLabel]=\"true\"\n [isUnavailable]=\"isFetching() || folders().length === 0\" (click)=\"fetchAllAsync()\"></button>\n @if (chosen().size > 0) {\n <button type=\"button\" nol-toolbar-button class=\"pull-chosen\" [icon]=\"resources.pullIcon\" [label]=\"resources.formatPullChosen(chosenBehind().length)\"\n [isShowingLabel]=\"true\" [isUnavailable]=\"isWriting() || chosenBehind().length === 0\" (click)=\"pullChosenAsync()\"></button>\n <button type=\"button\" nol-toolbar-button class=\"new-branch\" [icon]=\"resources.newBranchIcon\" [label]=\"resources.formatNewBranchIn(chosen().size)\"\n [isShowingLabel]=\"true\" [isUnavailable]=\"isWriting()\" (click)=\"newBranchInChosen()\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"add\" [icon]=\"resources.addIcon\" [label]=\"resources.addRepositoryTitle\" [isShowingLabel]=\"true\"\n [isUnavailable]=\"isScanning()\" (click)=\"addRepositoryAsync()\"></button>\n @if (chosen().size > 0) {\n @if (workspace(); as current) {\n <button type=\"button\" nol-toolbar-button class=\"move-up\" [icon]=\"resources.moveUpIcon\" [label]=\"resources.moveUpTitle\" (click)=\"moveChosen(current, -1)\"></button>\n <button type=\"button\" nol-toolbar-button class=\"move-down\" [icon]=\"resources.moveDownIcon\" [label]=\"resources.moveDownTitle\" (click)=\"moveChosen(current, 1)\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"remove\" [icon]=\"resources.removeIcon\" [label]=\"resources.formatRemoveRepositories(chosen().size)\" [isShowingLabel]=\"true\"\n (click)=\"removeChosen()\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"open-across\" [icon]=\"resources.workspaceAcrossIcon\" [label]=\"resources.acrossHeading\" [isShowingLabel]=\"true\"\n (click)=\"openAcross()\"></button>\n <span class=\"grow\"></span>\n @if (workspace(); as current) {\n <button nol-icon-button type=\"button\" class=\"rename\" [icon]=\"resources.renameIcon\" [label]=\"resources.renameWorkspaceTitle\" (click)=\"renaming.set(current.name)\"></button>\n <button nol-icon-button type=\"button\" class=\"remove-workspace\" [icon]=\"resources.deleteIcon\" [label]=\"resources.removeWorkspaceTitle\" (click)=\"removeWorkspace(current)\"></button>\n }\n <label class=\"filter\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.filterIcon }}</span>\n <input #filterField type=\"search\" [placeholder]=\"resources.filterRepositoriesLabel\" [attr.aria-label]=\"resources.filterRepositoriesLabel\" [value]=\"filter()\"\n (input)=\"filter.set(filterField.value)\" />\n </label>\n </div>\n @if (result().length > 0) {\n <div class=\"small result\" role=\"status\">\n @for (line of result(); track $index) {\n <p>{{ line }}</p>\n }\n </div>\n }\n <div class=\"table\" role=\"table\" [attr.aria-label]=\"title()\">\n <div class=\"tr th\" role=\"row\">\n <span role=\"columnheader\"><span class=\"visually-hidden\">{{ resources.selectRepositoryLabel }}</span></span>\n <span role=\"columnheader\">{{ resources.repositoryColumn }}</span>\n <span role=\"columnheader\">{{ resources.branchColumn }}</span>\n <span role=\"columnheader\" class=\"sync-head\">{{ resources.syncColumn }}</span>\n <span role=\"columnheader\" class=\"changes-head\">{{ resources.changesColumn }}</span>\n <span role=\"columnheader\" class=\"pull-request-head\">{{ resources.pullRequestColumn }}</span>\n <span role=\"columnheader\">{{ resources.checksColumn }}</span>\n <span role=\"columnheader\" class=\"open-head\">{{ resources.openColumn }}</span>\n <span role=\"columnheader\" class=\"fetched-head\">{{ resources.fetchedColumn }}</span>\n </div>\n @for (row of rows(); track row.folder) {\n @let isChosen = chosen().has(row.folder);\n <div nolGitVisible class=\"tr\" role=\"row\" [class.selected]=\"isChosen\" [title]=\"row.folder\" (visibleChange)=\"follow(row.folder, $event)\">\n <span role=\"cell\">\n <nol-checkbox class=\"select\" [checked]=\"isChosen\" (checkedChange)=\"select(row.folder, $event)\"><span class=\"visually-hidden\">{{ row.name }}</span></nol-checkbox>\n </span>\n <span role=\"cell\" class=\"ic\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.folderIcon }}</span>\n <button type=\"button\" class=\"link name-cell\" [title]=\"row.name\" (click)=\"open(row.folder)\">{{ row.name }}</button>\n </span>\n @if (!row.isRepository()) {\n <span role=\"cell\" class=\"not-repository small\">\n <span class=\"muted\">{{ resources.notRepositoryHeading }}</span>\n <button type=\"button\" class=\"link remove-one\" (click)=\"remove(only(row.folder))\">{{ resources.removeLabel }}</button>\n </span>\n }\n @else if (row.failure(); as failure) {\n <span role=\"cell\" class=\"failure small\" [title]=\"failure\">{{ failure }}</span>\n }\n @else {\n <span role=\"cell\" class=\"ic branch\">\n @if (row.branch().length > 0) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.statusBarBranchIcon }}</span>\n }\n <span class=\"ellipsis\" [title]=\"row.branch()\">{{ row.branch() }}</span>\n </span>\n <span role=\"cell\" class=\"small sync\">{{ row.sync() }}</span>\n }\n <span role=\"cell\" class=\"small changes\" [class.conflicts]=\"row.hasConflicts()\">{{ row.changes() }}</span>\n <span role=\"cell\" class=\"small pull-request\">\n @if (row.pullRequest(); as pullRequest) {\n @let words = around(row.pullRequestText(), pullRequest.label);\n @let linkTitle = resources.formatPullRequestLinkTitle(row.pullRequestText(), pullRequest.title);\n <span class=\"link\" (click)=\"openPullRequest(row, pullRequest)\"><span [title]=\"linkTitle\">{{ words.before }}</span><nol-git-reference-text [text]=\"words.linked\" [folder]=\"row.folder\" [link]=\"pullRequest.url\" /><span [title]=\"linkTitle\">{{ words.after }}</span></span>\n }\n @else {\n {{ row.pullRequestText() }}\n }\n </span>\n <span role=\"cell\" class=\"ic small checks\">\n @if (row.checksTone().length > 0) {\n <span [class]=\"'dot ' + row.checksTone()\" aria-hidden=\"true\"></span>\n }\n {{ row.checks() }}\n </span>\n <span role=\"cell\" class=\"small open\" [title]=\"row.openTitle()\">{{ row.open() }}</span>\n <span role=\"cell\" class=\"small muted fetched\">{{ fetchedOf(row) }}</span>\n </div>\n }\n @empty {\n <div class=\"empty\">\n <p>{{ folders().length === 0 ? resources.noRepositories : resources.noRepositoryMatches }}</p>\n @if (folders().length === 0) {\n <button nol-button type=\"button\" [disabled]=\"isScanning()\" (click)=\"addRepositoryAsync()\">{{ resources.addRepositoryTitle }}</button>\n }\n </div>\n }\n </div>\n </main>\n</div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.material-symbols-rounded {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n overflow: hidden;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n line-height: 1;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n height: 100%;\n min-height: 0;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n background: var(--nol-panel);\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.toolbar {\n box-sizing: border-box;\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\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.result {\n flex: none;\n padding: 0.375rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.result p {\n margin: 0;\n line-height: var(--nol-line-message);\n}\n\n.name {\n padding: 0 0.25rem;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n white-space: nowrap;\n}\n\n.name-field {\n width: 14rem;\n}\n\n.count-text {\n white-space: nowrap;\n}\n\n.separator {\n flex: none;\n width: var(--nol-border-width);\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.filter {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n width: 14rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n background: var(--nol-input);\n}\n\n.filter .material-symbols-rounded {\n color: var(--nol-placeholder);\n}\n\n.filter 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.filter input::placeholder {\n color: var(--nol-placeholder);\n}\n\n.filter:focus-within {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(-1 * var(--nol-border-width));\n}\n\n.table {\n display: grid;\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 8.5rem 5rem 6.5rem 6.25rem;\n align-content: start;\n column-gap: 0.5rem;\n min-height: 0;\n overflow: auto;\n}\n\n.tr {\n --row-fill: transparent;\n\n box-sizing: border-box;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n align-items: center;\n height: 2rem;\n padding: 0 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.tr > * {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.tr:not(.th):hover {\n --row-fill: var(--nol-hover);\n\n background: var(--nol-hover);\n}\n\n.tr.selected,\n.tr.selected:hover {\n --row-fill: var(--nol-selected);\n\n background: var(--nol-selected);\n}\n\n.tr > :nth-child(2) {\n position: sticky;\n left: 0;\n z-index: 1;\n margin-inline-start: -0.75rem;\n padding-inline-start: 0.75rem;\n background: linear-gradient(var(--row-fill), var(--row-fill)), var(--nol-panel);\n}\n\n.fetched-head,\n.fetched {\n text-align: end;\n}\n\n.th {\n height: 1.75rem;\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n font-weight: var(--nol-weight-emphasis);\n}\n\n.ic {\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n}\n\n.link {\n min-width: 0;\n overflow: hidden;\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-text-strong);\n font: inherit;\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n cursor: pointer;\n}\n\n.link:hover {\n color: var(--nol-link);\n text-decoration: underline;\n}\n\n.ellipsis {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.failure {\n grid-column: span 2;\n color: var(--nol-error);\n}\n\n.not-repository {\n display: flex;\n grid-column: span 2;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.remove-one {\n font-weight: inherit;\n}\n\n.conflicts {\n color: var(--nol-warning);\n}\n\n.pull-request .link {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n vertical-align: bottom;\n color: inherit;\n font-weight: inherit;\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending {\n background-color: var(--nol-warning);\n}\n\n.dot.signed-out {\n background-color: var(--nol-warning);\n}\n\n.empty {\n display: grid;\n grid-column: 1 / -1;\n gap: 0.5rem;\n justify-items: center;\n padding: 1.5rem;\n color: var(--nol-text-muted);\n}\n\n.empty p {\n margin: 0;\n}\n\n.visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n@container (width < 59rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 8.5rem 5rem 6.25rem;\n }\n\n .open,\n .open-head {\n display: none;\n }\n}\n\n@container (width < 52rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 5rem 6.25rem;\n }\n\n .pull-request,\n .pull-request-head {\n display: none;\n }\n}\n\n@container (width < 43rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 6.25rem;\n }\n\n .changes,\n .changes-head {\n display: none;\n }\n}\n\n@container (width < 37.5rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5rem 6.25rem;\n }\n\n .sync,\n .sync-head {\n display: none;\n }\n\n .failure,\n .not-repository {\n grid-column: span 1;\n }\n}\n\n@container (width < 31.5rem) {\n .table {\n grid-template-columns: 2.125rem 6.5rem minmax(6rem, 1fr) 5rem 6.25rem;\n }\n}\n\n@container (max-width: 46.75rem) {\n .toolbar {\n flex-wrap: wrap;\n height: auto;\n min-height: 2.25rem;\n padding-block: 0.25rem;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled", "label"], outputs: ["checkedChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "directive", type: GitVisibleDirective, selector: "[nolGitVisible]", outputs: ["visibleChange"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }] });
|
|
392
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitWorkspaceComponent, isStandalone: true, selector: "nol-git-workspace", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "nameField", first: true, predicate: ["nameField"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <main class=\"panel\" [attr.aria-label]=\"title()\">\n <div class=\"toolbar\">\n @if (renaming(); as name) {\n @if (workspace(); as current) {\n <input #nameField nol-text-field class=\"name-field\" type=\"text\" name=\"workspaceName\" [attr.aria-label]=\"resources.workspaceNameLabel\" [ngModel]=\"name\"\n (ngModelChange)=\"renaming.set($event)\" (keydown.enter)=\"rename(current)\" (keydown.escape)=\"renaming.set(null)\" (blur)=\"rename(current)\" />\n }\n }\n @else {\n <span class=\"name\">{{ title() }}</span>\n }\n <span class=\"small muted count-text\">{{ resources.formatRepositoryCount(folders().length, chosen().size) }}</span>\n <span class=\"separator\" aria-hidden=\"true\"></span>\n <button type=\"button\" nol-toolbar-button class=\"fetch-all\" [icon]=\"resources.fetchAllIcon\" [label]=\"resources.fetchAllTitle\" [isShowingLabel]=\"true\"\n [isUnavailable]=\"isFetching() || folders().length === 0\" (click)=\"fetchAllAsync()\"></button>\n @if (chosen().size > 0) {\n <button type=\"button\" nol-toolbar-button class=\"pull-chosen\" [icon]=\"resources.pullIcon\" [label]=\"resources.formatPullChosen(chosenBehind().length)\"\n [isShowingLabel]=\"true\" [isUnavailable]=\"isWriting() || chosenBehind().length === 0\" (click)=\"pullChosenAsync()\"></button>\n <button type=\"button\" nol-toolbar-button class=\"new-branch\" [icon]=\"resources.newBranchIcon\" [label]=\"resources.formatNewBranchIn(chosen().size)\"\n [isShowingLabel]=\"true\" [isUnavailable]=\"isWriting()\" (click)=\"newBranchInChosen()\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"add\" [icon]=\"resources.addIcon\" [label]=\"resources.addMenuTitle\" [isShowingLabel]=\"true\" [hasMenu]=\"true\"\n [isUnavailable]=\"isScanning()\" [nolMenuTriggerFor]=\"addMenu\"></button>\n @if (chosen().size > 0) {\n @if (workspace(); as current) {\n <button type=\"button\" nol-toolbar-button class=\"move-up\" [icon]=\"resources.moveUpIcon\" [label]=\"resources.moveUpTitle\" (click)=\"moveChosen(current, -1)\"></button>\n <button type=\"button\" nol-toolbar-button class=\"move-down\" [icon]=\"resources.moveDownIcon\" [label]=\"resources.moveDownTitle\" (click)=\"moveChosen(current, 1)\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"remove\" [icon]=\"resources.removeIcon\" [label]=\"resources.formatRemoveRepositories(chosen().size)\" [isShowingLabel]=\"true\"\n (click)=\"removeChosen()\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"open-across\" [icon]=\"resources.workspaceAcrossIcon\" [label]=\"resources.acrossHeading\" [isShowingLabel]=\"true\"\n (click)=\"openAcross()\"></button>\n <span class=\"grow\"></span>\n @if (workspace(); as current) {\n <button nol-icon-button type=\"button\" class=\"rename\" [icon]=\"resources.renameIcon\" [label]=\"resources.renameWorkspaceTitle\" (click)=\"renaming.set(current.name)\"></button>\n <button nol-icon-button type=\"button\" class=\"remove-workspace\" [icon]=\"resources.deleteIcon\" [label]=\"resources.removeWorkspaceTitle\" (click)=\"removeWorkspace(current)\"></button>\n }\n <label class=\"filter\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.filterIcon }}</span>\n <input #filterField type=\"search\" [placeholder]=\"resources.filterRepositoriesLabel\" [attr.aria-label]=\"resources.filterRepositoriesLabel\" [value]=\"filter()\"\n (input)=\"filter.set(filterField.value)\" />\n </label>\n </div>\n @if (result().length > 0) {\n <div class=\"small result\" role=\"status\">\n @for (line of result(); track $index) {\n <p>{{ line }}</p>\n }\n </div>\n }\n <div class=\"table\" role=\"table\" [attr.aria-label]=\"title()\">\n <div class=\"tr th\" role=\"row\">\n <span role=\"columnheader\"><span class=\"visually-hidden\">{{ resources.selectRepositoryLabel }}</span></span>\n <span role=\"columnheader\">{{ resources.repositoryColumn }}</span>\n <span role=\"columnheader\">{{ resources.branchColumn }}</span>\n <span role=\"columnheader\" class=\"sync-head\">{{ resources.syncColumn }}</span>\n <span role=\"columnheader\" class=\"changes-head\">{{ resources.changesColumn }}</span>\n <span role=\"columnheader\" class=\"pull-request-head\">{{ resources.pullRequestColumn }}</span>\n <span role=\"columnheader\">{{ resources.checksColumn }}</span>\n <span role=\"columnheader\" class=\"open-head\">{{ resources.openColumn }}</span>\n <span role=\"columnheader\" class=\"fetched-head\">{{ resources.fetchedColumn }}</span>\n </div>\n @for (row of rows(); track row.folder) {\n @let isChosen = chosen().has(row.folder);\n <div nolGitVisible class=\"tr\" role=\"row\" [class.selected]=\"isChosen\" [title]=\"row.folder\" (visibleChange)=\"follow(row.folder, $event)\">\n <span role=\"cell\">\n <nol-checkbox class=\"select\" [checked]=\"isChosen\" (checkedChange)=\"select(row.folder, $event)\"><span class=\"visually-hidden\">{{ row.name }}</span></nol-checkbox>\n </span>\n <span role=\"cell\" class=\"ic\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.folderIcon }}</span>\n <button type=\"button\" class=\"link name-cell\" [title]=\"row.name\" (click)=\"open(row.folder)\">{{ row.name }}</button>\n </span>\n @if (!row.isRepository()) {\n <span role=\"cell\" class=\"not-repository small\">\n <span class=\"muted\">{{ resources.notRepositoryHeading }}</span>\n <button type=\"button\" class=\"link remove-one\" (click)=\"remove(only(row.folder))\">{{ resources.removeLabel }}</button>\n </span>\n }\n @else if (row.failure(); as failure) {\n <span role=\"cell\" class=\"failure small\" [title]=\"failure\">{{ failure }}</span>\n }\n @else {\n <span role=\"cell\" class=\"ic branch\">\n @if (row.branch().length > 0) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.statusBarBranchIcon }}</span>\n }\n <span class=\"ellipsis\" [title]=\"row.branch()\">{{ row.branch() }}</span>\n </span>\n <span role=\"cell\" class=\"small sync\">{{ row.sync() }}</span>\n }\n <span role=\"cell\" class=\"small changes\" [class.conflicts]=\"row.hasConflicts()\">{{ row.changes() }}</span>\n <span role=\"cell\" class=\"small pull-request\">\n @if (row.pullRequest(); as pullRequest) {\n @let words = around(row.pullRequestText(), pullRequest.label);\n @let linkTitle = resources.formatPullRequestLinkTitle(row.pullRequestText(), pullRequest.title);\n <span class=\"link\" (click)=\"openPullRequest(row, pullRequest)\"><span [title]=\"linkTitle\">{{ words.before }}</span><nol-git-reference-text [text]=\"words.linked\" [folder]=\"row.folder\" [link]=\"pullRequest.url\" /><span [title]=\"linkTitle\">{{ words.after }}</span></span>\n }\n @else {\n {{ row.pullRequestText() }}\n }\n </span>\n <span role=\"cell\" class=\"ic small checks\">\n @if (row.checksTone().length > 0) {\n <span [class]=\"'dot ' + row.checksTone()\" aria-hidden=\"true\"></span>\n }\n {{ row.checks() }}\n </span>\n <span role=\"cell\" class=\"small open\" [title]=\"row.openTitle()\">{{ row.open() }}</span>\n <span role=\"cell\" class=\"small muted fetched\">{{ fetchedOf(row) }}</span>\n </div>\n }\n @empty {\n <div class=\"empty\">\n <p>{{ folders().length === 0 ? resources.noRepositories : resources.noRepositoryMatches }}</p>\n @if (folders().length === 0) {\n <div class=\"empty-actions\">\n <button nol-button type=\"button\" class=\"empty-add\" [disabled]=\"isScanning()\" (click)=\"add(addKinds.Local)\">{{ resources.addLocalTitle }}</button>\n <button nol-button type=\"button\" class=\"empty-clone\" [variant]=\"secondary\" (click)=\"add(addKinds.Clone)\">{{ resources.cloneRepositoryTitle }}</button>\n <button nol-button type=\"button\" class=\"empty-init\" [variant]=\"secondary\" (click)=\"add(addKinds.Init)\">{{ resources.initRepositoryTitle }}</button>\n </div>\n }\n </div>\n }\n </div>\n </main>\n</div>\n<ng-template #addMenu>\n <nol-menu>\n <button nol-menu-item class=\"add-local\" [label]=\"resources.addLocalTitle\" [icon]=\"resources.addIcon\" (triggered)=\"add(addKinds.Local)\"></button>\n <button nol-menu-item class=\"add-clone\" [label]=\"resources.cloneRepositoryTitle\" [icon]=\"resources.cloneIcon\" (triggered)=\"add(addKinds.Clone)\"></button>\n <button nol-menu-item class=\"add-init\" [label]=\"resources.initRepositoryTitle\" [icon]=\"resources.initIcon\" (triggered)=\"add(addKinds.Init)\"></button>\n </nol-menu>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.material-symbols-rounded {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n overflow: hidden;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n line-height: 1;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n height: 100%;\n min-height: 0;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n background: var(--nol-panel);\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.toolbar {\n box-sizing: border-box;\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\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.result {\n flex: none;\n padding: 0.375rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.result p {\n margin: 0;\n line-height: var(--nol-line-message);\n}\n\n.name {\n padding: 0 0.25rem;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n white-space: nowrap;\n}\n\n.name-field {\n width: 14rem;\n}\n\n.count-text {\n white-space: nowrap;\n}\n\n.separator {\n flex: none;\n width: var(--nol-border-width);\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.filter {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n width: 14rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n background: var(--nol-input);\n}\n\n.filter .material-symbols-rounded {\n color: var(--nol-placeholder);\n}\n\n.filter 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.filter input::placeholder {\n color: var(--nol-placeholder);\n}\n\n.filter:focus-within {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(-1 * var(--nol-border-width));\n}\n\n.table {\n display: grid;\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 8.5rem 5rem 6.5rem 6.25rem;\n align-content: start;\n column-gap: 0.5rem;\n min-height: 0;\n overflow: auto;\n}\n\n.tr {\n --row-fill: transparent;\n\n box-sizing: border-box;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n align-items: center;\n height: 2rem;\n padding: 0 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.tr > * {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.tr:not(.th):hover {\n --row-fill: var(--nol-hover);\n\n background: var(--nol-hover);\n}\n\n.tr.selected,\n.tr.selected:hover {\n --row-fill: var(--nol-selected);\n\n background: var(--nol-selected);\n}\n\n.tr > :nth-child(2) {\n position: sticky;\n left: 0;\n z-index: 1;\n margin-inline-start: -0.75rem;\n padding-inline-start: 0.75rem;\n background: linear-gradient(var(--row-fill), var(--row-fill)), var(--nol-panel);\n}\n\n.fetched-head,\n.fetched {\n text-align: end;\n}\n\n.th {\n height: 1.75rem;\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n font-weight: var(--nol-weight-emphasis);\n}\n\n.ic {\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n}\n\n.link {\n min-width: 0;\n overflow: hidden;\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-text-strong);\n font: inherit;\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n cursor: pointer;\n}\n\n.link:hover {\n color: var(--nol-link);\n text-decoration: underline;\n}\n\n.ellipsis {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.failure {\n grid-column: span 2;\n color: var(--nol-error);\n}\n\n.not-repository {\n display: flex;\n grid-column: span 2;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.remove-one {\n font-weight: inherit;\n}\n\n.conflicts {\n color: var(--nol-warning);\n}\n\n.pull-request .link {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n vertical-align: bottom;\n color: inherit;\n font-weight: inherit;\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending {\n background-color: var(--nol-warning);\n}\n\n.dot.signed-out {\n background-color: var(--nol-warning);\n}\n\n.empty {\n display: grid;\n grid-column: 1 / -1;\n gap: 0.5rem;\n justify-items: center;\n padding: 1.5rem;\n color: var(--nol-text-muted);\n}\n\n.empty p {\n margin: 0;\n}\n\n.empty-actions {\n display: flex;\n flex-wrap: wrap;\n gap: 0.5rem;\n justify-content: center;\n}\n\n.visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n@container (width < 59rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 8.5rem 5rem 6.25rem;\n }\n\n .open,\n .open-head {\n display: none;\n }\n}\n\n@container (width < 52rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 5rem 6.25rem;\n }\n\n .pull-request,\n .pull-request-head {\n display: none;\n }\n}\n\n@container (width < 43rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 6.25rem;\n }\n\n .changes,\n .changes-head {\n display: none;\n }\n}\n\n@container (width < 37.5rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5rem 6.25rem;\n }\n\n .sync,\n .sync-head {\n display: none;\n }\n\n .failure,\n .not-repository {\n grid-column: span 1;\n }\n}\n\n@container (width < 31.5rem) {\n .table {\n grid-template-columns: 2.125rem 6.5rem minmax(6rem, 1fr) 5rem 6.25rem;\n }\n}\n\n@container (max-width: 46.75rem) {\n .toolbar {\n flex-wrap: wrap;\n height: auto;\n min-height: 2.25rem;\n padding-block: 0.25rem;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: CheckboxComponent, selector: "nol-checkbox", inputs: ["checked", "disabled", "label"], outputs: ["checkedChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitReferenceTextComponent, selector: "nol-git-reference-text", inputs: ["text", "folder", "link", "title", "chipTabIndex"] }, { kind: "directive", type: GitVisibleDirective, selector: "[nolGitVisible]", outputs: ["visibleChange"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }] });
|
|
346
393
|
}
|
|
347
394
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitWorkspaceComponent, decorators: [{
|
|
348
395
|
type: Component,
|
|
349
|
-
args: [{ selector: "nol-git-workspace", imports: [ButtonComponent, CheckboxComponent, FormsModule, GitReferenceTextComponent, GitVisibleDirective, IconButtonComponent, TextFieldComponent, ToolbarButtonComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <main class=\"panel\" [attr.aria-label]=\"title()\">\n <div class=\"toolbar\">\n @if (renaming(); as name) {\n @if (workspace(); as current) {\n <input #nameField nol-text-field class=\"name-field\" type=\"text\" name=\"workspaceName\" [attr.aria-label]=\"resources.workspaceNameLabel\" [ngModel]=\"name\"\n (ngModelChange)=\"renaming.set($event)\" (keydown.enter)=\"rename(current)\" (keydown.escape)=\"renaming.set(null)\" (blur)=\"rename(current)\" />\n }\n }\n @else {\n <span class=\"name\">{{ title() }}</span>\n }\n <span class=\"small muted count-text\">{{ resources.formatRepositoryCount(folders().length, chosen().size) }}</span>\n <span class=\"separator\" aria-hidden=\"true\"></span>\n <button type=\"button\" nol-toolbar-button class=\"fetch-all\" [icon]=\"resources.fetchAllIcon\" [label]=\"resources.fetchAllTitle\" [isShowingLabel]=\"true\"\n [isUnavailable]=\"isFetching() || folders().length === 0\" (click)=\"fetchAllAsync()\"></button>\n @if (chosen().size > 0) {\n <button type=\"button\" nol-toolbar-button class=\"pull-chosen\" [icon]=\"resources.pullIcon\" [label]=\"resources.formatPullChosen(chosenBehind().length)\"\n [isShowingLabel]=\"true\" [isUnavailable]=\"isWriting() || chosenBehind().length === 0\" (click)=\"pullChosenAsync()\"></button>\n <button type=\"button\" nol-toolbar-button class=\"new-branch\" [icon]=\"resources.newBranchIcon\" [label]=\"resources.formatNewBranchIn(chosen().size)\"\n [isShowingLabel]=\"true\" [isUnavailable]=\"isWriting()\" (click)=\"newBranchInChosen()\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"add\" [icon]=\"resources.addIcon\" [label]=\"resources.addRepositoryTitle\" [isShowingLabel]=\"true\"\n [isUnavailable]=\"isScanning()\" (click)=\"addRepositoryAsync()\"></button>\n @if (chosen().size > 0) {\n @if (workspace(); as current) {\n <button type=\"button\" nol-toolbar-button class=\"move-up\" [icon]=\"resources.moveUpIcon\" [label]=\"resources.moveUpTitle\" (click)=\"moveChosen(current, -1)\"></button>\n <button type=\"button\" nol-toolbar-button class=\"move-down\" [icon]=\"resources.moveDownIcon\" [label]=\"resources.moveDownTitle\" (click)=\"moveChosen(current, 1)\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"remove\" [icon]=\"resources.removeIcon\" [label]=\"resources.formatRemoveRepositories(chosen().size)\" [isShowingLabel]=\"true\"\n (click)=\"removeChosen()\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"open-across\" [icon]=\"resources.workspaceAcrossIcon\" [label]=\"resources.acrossHeading\" [isShowingLabel]=\"true\"\n (click)=\"openAcross()\"></button>\n <span class=\"grow\"></span>\n @if (workspace(); as current) {\n <button nol-icon-button type=\"button\" class=\"rename\" [icon]=\"resources.renameIcon\" [label]=\"resources.renameWorkspaceTitle\" (click)=\"renaming.set(current.name)\"></button>\n <button nol-icon-button type=\"button\" class=\"remove-workspace\" [icon]=\"resources.deleteIcon\" [label]=\"resources.removeWorkspaceTitle\" (click)=\"removeWorkspace(current)\"></button>\n }\n <label class=\"filter\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.filterIcon }}</span>\n <input #filterField type=\"search\" [placeholder]=\"resources.filterRepositoriesLabel\" [attr.aria-label]=\"resources.filterRepositoriesLabel\" [value]=\"filter()\"\n (input)=\"filter.set(filterField.value)\" />\n </label>\n </div>\n @if (result().length > 0) {\n <div class=\"small result\" role=\"status\">\n @for (line of result(); track $index) {\n <p>{{ line }}</p>\n }\n </div>\n }\n <div class=\"table\" role=\"table\" [attr.aria-label]=\"title()\">\n <div class=\"tr th\" role=\"row\">\n <span role=\"columnheader\"><span class=\"visually-hidden\">{{ resources.selectRepositoryLabel }}</span></span>\n <span role=\"columnheader\">{{ resources.repositoryColumn }}</span>\n <span role=\"columnheader\">{{ resources.branchColumn }}</span>\n <span role=\"columnheader\" class=\"sync-head\">{{ resources.syncColumn }}</span>\n <span role=\"columnheader\" class=\"changes-head\">{{ resources.changesColumn }}</span>\n <span role=\"columnheader\" class=\"pull-request-head\">{{ resources.pullRequestColumn }}</span>\n <span role=\"columnheader\">{{ resources.checksColumn }}</span>\n <span role=\"columnheader\" class=\"open-head\">{{ resources.openColumn }}</span>\n <span role=\"columnheader\" class=\"fetched-head\">{{ resources.fetchedColumn }}</span>\n </div>\n @for (row of rows(); track row.folder) {\n @let isChosen = chosen().has(row.folder);\n <div nolGitVisible class=\"tr\" role=\"row\" [class.selected]=\"isChosen\" [title]=\"row.folder\" (visibleChange)=\"follow(row.folder, $event)\">\n <span role=\"cell\">\n <nol-checkbox class=\"select\" [checked]=\"isChosen\" (checkedChange)=\"select(row.folder, $event)\"><span class=\"visually-hidden\">{{ row.name }}</span></nol-checkbox>\n </span>\n <span role=\"cell\" class=\"ic\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.folderIcon }}</span>\n <button type=\"button\" class=\"link name-cell\" [title]=\"row.name\" (click)=\"open(row.folder)\">{{ row.name }}</button>\n </span>\n @if (!row.isRepository()) {\n <span role=\"cell\" class=\"not-repository small\">\n <span class=\"muted\">{{ resources.notRepositoryHeading }}</span>\n <button type=\"button\" class=\"link remove-one\" (click)=\"remove(only(row.folder))\">{{ resources.removeLabel }}</button>\n </span>\n }\n @else if (row.failure(); as failure) {\n <span role=\"cell\" class=\"failure small\" [title]=\"failure\">{{ failure }}</span>\n }\n @else {\n <span role=\"cell\" class=\"ic branch\">\n @if (row.branch().length > 0) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.statusBarBranchIcon }}</span>\n }\n <span class=\"ellipsis\" [title]=\"row.branch()\">{{ row.branch() }}</span>\n </span>\n <span role=\"cell\" class=\"small sync\">{{ row.sync() }}</span>\n }\n <span role=\"cell\" class=\"small changes\" [class.conflicts]=\"row.hasConflicts()\">{{ row.changes() }}</span>\n <span role=\"cell\" class=\"small pull-request\">\n @if (row.pullRequest(); as pullRequest) {\n @let words = around(row.pullRequestText(), pullRequest.label);\n @let linkTitle = resources.formatPullRequestLinkTitle(row.pullRequestText(), pullRequest.title);\n <span class=\"link\" (click)=\"openPullRequest(row, pullRequest)\"><span [title]=\"linkTitle\">{{ words.before }}</span><nol-git-reference-text [text]=\"words.linked\" [folder]=\"row.folder\" [link]=\"pullRequest.url\" /><span [title]=\"linkTitle\">{{ words.after }}</span></span>\n }\n @else {\n {{ row.pullRequestText() }}\n }\n </span>\n <span role=\"cell\" class=\"ic small checks\">\n @if (row.checksTone().length > 0) {\n <span [class]=\"'dot ' + row.checksTone()\" aria-hidden=\"true\"></span>\n }\n {{ row.checks() }}\n </span>\n <span role=\"cell\" class=\"small open\" [title]=\"row.openTitle()\">{{ row.open() }}</span>\n <span role=\"cell\" class=\"small muted fetched\">{{ fetchedOf(row) }}</span>\n </div>\n }\n @empty {\n <div class=\"empty\">\n <p>{{ folders().length === 0 ? resources.noRepositories : resources.noRepositoryMatches }}</p>\n @if (folders().length === 0) {\n <button nol-button type=\"button\" [disabled]=\"isScanning()\" (click)=\"addRepositoryAsync()\">{{ resources.addRepositoryTitle }}</button>\n }\n </div>\n }\n </div>\n </main>\n</div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.material-symbols-rounded {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n overflow: hidden;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n line-height: 1;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n height: 100%;\n min-height: 0;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n background: var(--nol-panel);\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.toolbar {\n box-sizing: border-box;\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\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.result {\n flex: none;\n padding: 0.375rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.result p {\n margin: 0;\n line-height: var(--nol-line-message);\n}\n\n.name {\n padding: 0 0.25rem;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n white-space: nowrap;\n}\n\n.name-field {\n width: 14rem;\n}\n\n.count-text {\n white-space: nowrap;\n}\n\n.separator {\n flex: none;\n width: var(--nol-border-width);\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.filter {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n width: 14rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n background: var(--nol-input);\n}\n\n.filter .material-symbols-rounded {\n color: var(--nol-placeholder);\n}\n\n.filter 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.filter input::placeholder {\n color: var(--nol-placeholder);\n}\n\n.filter:focus-within {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(-1 * var(--nol-border-width));\n}\n\n.table {\n display: grid;\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 8.5rem 5rem 6.5rem 6.25rem;\n align-content: start;\n column-gap: 0.5rem;\n min-height: 0;\n overflow: auto;\n}\n\n.tr {\n --row-fill: transparent;\n\n box-sizing: border-box;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n align-items: center;\n height: 2rem;\n padding: 0 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.tr > * {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.tr:not(.th):hover {\n --row-fill: var(--nol-hover);\n\n background: var(--nol-hover);\n}\n\n.tr.selected,\n.tr.selected:hover {\n --row-fill: var(--nol-selected);\n\n background: var(--nol-selected);\n}\n\n.tr > :nth-child(2) {\n position: sticky;\n left: 0;\n z-index: 1;\n margin-inline-start: -0.75rem;\n padding-inline-start: 0.75rem;\n background: linear-gradient(var(--row-fill), var(--row-fill)), var(--nol-panel);\n}\n\n.fetched-head,\n.fetched {\n text-align: end;\n}\n\n.th {\n height: 1.75rem;\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n font-weight: var(--nol-weight-emphasis);\n}\n\n.ic {\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n}\n\n.link {\n min-width: 0;\n overflow: hidden;\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-text-strong);\n font: inherit;\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n cursor: pointer;\n}\n\n.link:hover {\n color: var(--nol-link);\n text-decoration: underline;\n}\n\n.ellipsis {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.failure {\n grid-column: span 2;\n color: var(--nol-error);\n}\n\n.not-repository {\n display: flex;\n grid-column: span 2;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.remove-one {\n font-weight: inherit;\n}\n\n.conflicts {\n color: var(--nol-warning);\n}\n\n.pull-request .link {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n vertical-align: bottom;\n color: inherit;\n font-weight: inherit;\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending {\n background-color: var(--nol-warning);\n}\n\n.dot.signed-out {\n background-color: var(--nol-warning);\n}\n\n.empty {\n display: grid;\n grid-column: 1 / -1;\n gap: 0.5rem;\n justify-items: center;\n padding: 1.5rem;\n color: var(--nol-text-muted);\n}\n\n.empty p {\n margin: 0;\n}\n\n.visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n@container (width < 59rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 8.5rem 5rem 6.25rem;\n }\n\n .open,\n .open-head {\n display: none;\n }\n}\n\n@container (width < 52rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 5rem 6.25rem;\n }\n\n .pull-request,\n .pull-request-head {\n display: none;\n }\n}\n\n@container (width < 43rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 6.25rem;\n }\n\n .changes,\n .changes-head {\n display: none;\n }\n}\n\n@container (width < 37.5rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5rem 6.25rem;\n }\n\n .sync,\n .sync-head {\n display: none;\n }\n\n .failure,\n .not-repository {\n grid-column: span 1;\n }\n}\n\n@container (width < 31.5rem) {\n .table {\n grid-template-columns: 2.125rem 6.5rem minmax(6rem, 1fr) 5rem 6.25rem;\n }\n}\n\n@container (max-width: 46.75rem) {\n .toolbar {\n flex-wrap: wrap;\n height: auto;\n min-height: 2.25rem;\n padding-block: 0.25rem;\n }\n}\n"] }]
|
|
396
|
+
args: [{ selector: "nol-git-workspace", imports: [ButtonComponent, CheckboxComponent, FormsModule, GitReferenceTextComponent, GitVisibleDirective, IconButtonComponent, MenuComponent, MenuItemComponent,
|
|
397
|
+
MenuTriggerDirective, TextFieldComponent, ToolbarButtonComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <main class=\"panel\" [attr.aria-label]=\"title()\">\n <div class=\"toolbar\">\n @if (renaming(); as name) {\n @if (workspace(); as current) {\n <input #nameField nol-text-field class=\"name-field\" type=\"text\" name=\"workspaceName\" [attr.aria-label]=\"resources.workspaceNameLabel\" [ngModel]=\"name\"\n (ngModelChange)=\"renaming.set($event)\" (keydown.enter)=\"rename(current)\" (keydown.escape)=\"renaming.set(null)\" (blur)=\"rename(current)\" />\n }\n }\n @else {\n <span class=\"name\">{{ title() }}</span>\n }\n <span class=\"small muted count-text\">{{ resources.formatRepositoryCount(folders().length, chosen().size) }}</span>\n <span class=\"separator\" aria-hidden=\"true\"></span>\n <button type=\"button\" nol-toolbar-button class=\"fetch-all\" [icon]=\"resources.fetchAllIcon\" [label]=\"resources.fetchAllTitle\" [isShowingLabel]=\"true\"\n [isUnavailable]=\"isFetching() || folders().length === 0\" (click)=\"fetchAllAsync()\"></button>\n @if (chosen().size > 0) {\n <button type=\"button\" nol-toolbar-button class=\"pull-chosen\" [icon]=\"resources.pullIcon\" [label]=\"resources.formatPullChosen(chosenBehind().length)\"\n [isShowingLabel]=\"true\" [isUnavailable]=\"isWriting() || chosenBehind().length === 0\" (click)=\"pullChosenAsync()\"></button>\n <button type=\"button\" nol-toolbar-button class=\"new-branch\" [icon]=\"resources.newBranchIcon\" [label]=\"resources.formatNewBranchIn(chosen().size)\"\n [isShowingLabel]=\"true\" [isUnavailable]=\"isWriting()\" (click)=\"newBranchInChosen()\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"add\" [icon]=\"resources.addIcon\" [label]=\"resources.addMenuTitle\" [isShowingLabel]=\"true\" [hasMenu]=\"true\"\n [isUnavailable]=\"isScanning()\" [nolMenuTriggerFor]=\"addMenu\"></button>\n @if (chosen().size > 0) {\n @if (workspace(); as current) {\n <button type=\"button\" nol-toolbar-button class=\"move-up\" [icon]=\"resources.moveUpIcon\" [label]=\"resources.moveUpTitle\" (click)=\"moveChosen(current, -1)\"></button>\n <button type=\"button\" nol-toolbar-button class=\"move-down\" [icon]=\"resources.moveDownIcon\" [label]=\"resources.moveDownTitle\" (click)=\"moveChosen(current, 1)\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"remove\" [icon]=\"resources.removeIcon\" [label]=\"resources.formatRemoveRepositories(chosen().size)\" [isShowingLabel]=\"true\"\n (click)=\"removeChosen()\"></button>\n }\n <button type=\"button\" nol-toolbar-button class=\"open-across\" [icon]=\"resources.workspaceAcrossIcon\" [label]=\"resources.acrossHeading\" [isShowingLabel]=\"true\"\n (click)=\"openAcross()\"></button>\n <span class=\"grow\"></span>\n @if (workspace(); as current) {\n <button nol-icon-button type=\"button\" class=\"rename\" [icon]=\"resources.renameIcon\" [label]=\"resources.renameWorkspaceTitle\" (click)=\"renaming.set(current.name)\"></button>\n <button nol-icon-button type=\"button\" class=\"remove-workspace\" [icon]=\"resources.deleteIcon\" [label]=\"resources.removeWorkspaceTitle\" (click)=\"removeWorkspace(current)\"></button>\n }\n <label class=\"filter\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.filterIcon }}</span>\n <input #filterField type=\"search\" [placeholder]=\"resources.filterRepositoriesLabel\" [attr.aria-label]=\"resources.filterRepositoriesLabel\" [value]=\"filter()\"\n (input)=\"filter.set(filterField.value)\" />\n </label>\n </div>\n @if (result().length > 0) {\n <div class=\"small result\" role=\"status\">\n @for (line of result(); track $index) {\n <p>{{ line }}</p>\n }\n </div>\n }\n <div class=\"table\" role=\"table\" [attr.aria-label]=\"title()\">\n <div class=\"tr th\" role=\"row\">\n <span role=\"columnheader\"><span class=\"visually-hidden\">{{ resources.selectRepositoryLabel }}</span></span>\n <span role=\"columnheader\">{{ resources.repositoryColumn }}</span>\n <span role=\"columnheader\">{{ resources.branchColumn }}</span>\n <span role=\"columnheader\" class=\"sync-head\">{{ resources.syncColumn }}</span>\n <span role=\"columnheader\" class=\"changes-head\">{{ resources.changesColumn }}</span>\n <span role=\"columnheader\" class=\"pull-request-head\">{{ resources.pullRequestColumn }}</span>\n <span role=\"columnheader\">{{ resources.checksColumn }}</span>\n <span role=\"columnheader\" class=\"open-head\">{{ resources.openColumn }}</span>\n <span role=\"columnheader\" class=\"fetched-head\">{{ resources.fetchedColumn }}</span>\n </div>\n @for (row of rows(); track row.folder) {\n @let isChosen = chosen().has(row.folder);\n <div nolGitVisible class=\"tr\" role=\"row\" [class.selected]=\"isChosen\" [title]=\"row.folder\" (visibleChange)=\"follow(row.folder, $event)\">\n <span role=\"cell\">\n <nol-checkbox class=\"select\" [checked]=\"isChosen\" (checkedChange)=\"select(row.folder, $event)\"><span class=\"visually-hidden\">{{ row.name }}</span></nol-checkbox>\n </span>\n <span role=\"cell\" class=\"ic\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.folderIcon }}</span>\n <button type=\"button\" class=\"link name-cell\" [title]=\"row.name\" (click)=\"open(row.folder)\">{{ row.name }}</button>\n </span>\n @if (!row.isRepository()) {\n <span role=\"cell\" class=\"not-repository small\">\n <span class=\"muted\">{{ resources.notRepositoryHeading }}</span>\n <button type=\"button\" class=\"link remove-one\" (click)=\"remove(only(row.folder))\">{{ resources.removeLabel }}</button>\n </span>\n }\n @else if (row.failure(); as failure) {\n <span role=\"cell\" class=\"failure small\" [title]=\"failure\">{{ failure }}</span>\n }\n @else {\n <span role=\"cell\" class=\"ic branch\">\n @if (row.branch().length > 0) {\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.statusBarBranchIcon }}</span>\n }\n <span class=\"ellipsis\" [title]=\"row.branch()\">{{ row.branch() }}</span>\n </span>\n <span role=\"cell\" class=\"small sync\">{{ row.sync() }}</span>\n }\n <span role=\"cell\" class=\"small changes\" [class.conflicts]=\"row.hasConflicts()\">{{ row.changes() }}</span>\n <span role=\"cell\" class=\"small pull-request\">\n @if (row.pullRequest(); as pullRequest) {\n @let words = around(row.pullRequestText(), pullRequest.label);\n @let linkTitle = resources.formatPullRequestLinkTitle(row.pullRequestText(), pullRequest.title);\n <span class=\"link\" (click)=\"openPullRequest(row, pullRequest)\"><span [title]=\"linkTitle\">{{ words.before }}</span><nol-git-reference-text [text]=\"words.linked\" [folder]=\"row.folder\" [link]=\"pullRequest.url\" /><span [title]=\"linkTitle\">{{ words.after }}</span></span>\n }\n @else {\n {{ row.pullRequestText() }}\n }\n </span>\n <span role=\"cell\" class=\"ic small checks\">\n @if (row.checksTone().length > 0) {\n <span [class]=\"'dot ' + row.checksTone()\" aria-hidden=\"true\"></span>\n }\n {{ row.checks() }}\n </span>\n <span role=\"cell\" class=\"small open\" [title]=\"row.openTitle()\">{{ row.open() }}</span>\n <span role=\"cell\" class=\"small muted fetched\">{{ fetchedOf(row) }}</span>\n </div>\n }\n @empty {\n <div class=\"empty\">\n <p>{{ folders().length === 0 ? resources.noRepositories : resources.noRepositoryMatches }}</p>\n @if (folders().length === 0) {\n <div class=\"empty-actions\">\n <button nol-button type=\"button\" class=\"empty-add\" [disabled]=\"isScanning()\" (click)=\"add(addKinds.Local)\">{{ resources.addLocalTitle }}</button>\n <button nol-button type=\"button\" class=\"empty-clone\" [variant]=\"secondary\" (click)=\"add(addKinds.Clone)\">{{ resources.cloneRepositoryTitle }}</button>\n <button nol-button type=\"button\" class=\"empty-init\" [variant]=\"secondary\" (click)=\"add(addKinds.Init)\">{{ resources.initRepositoryTitle }}</button>\n </div>\n }\n </div>\n }\n </div>\n </main>\n</div>\n<ng-template #addMenu>\n <nol-menu>\n <button nol-menu-item class=\"add-local\" [label]=\"resources.addLocalTitle\" [icon]=\"resources.addIcon\" (triggered)=\"add(addKinds.Local)\"></button>\n <button nol-menu-item class=\"add-clone\" [label]=\"resources.cloneRepositoryTitle\" [icon]=\"resources.cloneIcon\" (triggered)=\"add(addKinds.Clone)\"></button>\n <button nol-menu-item class=\"add-init\" [label]=\"resources.initRepositoryTitle\" [icon]=\"resources.initIcon\" (triggered)=\"add(addKinds.Init)\"></button>\n </nol-menu>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.material-symbols-rounded {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n overflow: hidden;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n line-height: 1;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n height: 100%;\n min-height: 0;\n}\n\n.panel {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n background: var(--nol-panel);\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.toolbar {\n box-sizing: border-box;\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.25rem;\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.result {\n flex: none;\n padding: 0.375rem 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n}\n\n.result p {\n margin: 0;\n line-height: var(--nol-line-message);\n}\n\n.name {\n padding: 0 0.25rem;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n white-space: nowrap;\n}\n\n.name-field {\n width: 14rem;\n}\n\n.count-text {\n white-space: nowrap;\n}\n\n.separator {\n flex: none;\n width: var(--nol-border-width);\n height: 1rem;\n margin: 0 0.25rem;\n background: var(--nol-border);\n}\n\n.filter {\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.5rem;\n box-sizing: border-box;\n width: 14rem;\n height: 1.625rem;\n padding: 0 0.375rem;\n border: var(--nol-border-width) solid var(--nol-input-border);\n border-radius: var(--nol-radius-small);\n background: var(--nol-input);\n}\n\n.filter .material-symbols-rounded {\n color: var(--nol-placeholder);\n}\n\n.filter 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.filter input::placeholder {\n color: var(--nol-placeholder);\n}\n\n.filter:focus-within {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(-1 * var(--nol-border-width));\n}\n\n.table {\n display: grid;\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 8.5rem 5rem 6.5rem 6.25rem;\n align-content: start;\n column-gap: 0.5rem;\n min-height: 0;\n overflow: auto;\n}\n\n.tr {\n --row-fill: transparent;\n\n box-sizing: border-box;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n align-items: center;\n height: 2rem;\n padding: 0 0.75rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n white-space: nowrap;\n}\n\n.tr > * {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.tr:not(.th):hover {\n --row-fill: var(--nol-hover);\n\n background: var(--nol-hover);\n}\n\n.tr.selected,\n.tr.selected:hover {\n --row-fill: var(--nol-selected);\n\n background: var(--nol-selected);\n}\n\n.tr > :nth-child(2) {\n position: sticky;\n left: 0;\n z-index: 1;\n margin-inline-start: -0.75rem;\n padding-inline-start: 0.75rem;\n background: linear-gradient(var(--row-fill), var(--row-fill)), var(--nol-panel);\n}\n\n.fetched-head,\n.fetched {\n text-align: end;\n}\n\n.th {\n height: 1.75rem;\n color: var(--nol-text-strong);\n font-size: 0.75rem;\n font-weight: var(--nol-weight-emphasis);\n}\n\n.ic {\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n}\n\n.link {\n min-width: 0;\n overflow: hidden;\n padding: 0;\n border: 0;\n background: none;\n color: var(--nol-text-strong);\n font: inherit;\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n cursor: pointer;\n}\n\n.link:hover {\n color: var(--nol-link);\n text-decoration: underline;\n}\n\n.ellipsis {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.failure {\n grid-column: span 2;\n color: var(--nol-error);\n}\n\n.not-repository {\n display: flex;\n grid-column: span 2;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.remove-one {\n font-weight: inherit;\n}\n\n.conflicts {\n color: var(--nol-warning);\n}\n\n.pull-request .link {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n vertical-align: bottom;\n color: inherit;\n font-weight: inherit;\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending {\n background-color: var(--nol-warning);\n}\n\n.dot.signed-out {\n background-color: var(--nol-warning);\n}\n\n.empty {\n display: grid;\n grid-column: 1 / -1;\n gap: 0.5rem;\n justify-items: center;\n padding: 1.5rem;\n color: var(--nol-text-muted);\n}\n\n.empty p {\n margin: 0;\n}\n\n.empty-actions {\n display: flex;\n flex-wrap: wrap;\n gap: 0.5rem;\n justify-content: center;\n}\n\n.visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n@container (width < 59rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 8.5rem 5rem 6.25rem;\n }\n\n .open,\n .open-head {\n display: none;\n }\n}\n\n@container (width < 52rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 5rem 6.25rem;\n }\n\n .pull-request,\n .pull-request-head {\n display: none;\n }\n}\n\n@container (width < 43rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5.5rem 5rem 6.25rem;\n }\n\n .changes,\n .changes-head {\n display: none;\n }\n}\n\n@container (width < 37.5rem) {\n .table {\n grid-template-columns: 2.125rem 8rem minmax(8rem, 1fr) 5rem 6.25rem;\n }\n\n .sync,\n .sync-head {\n display: none;\n }\n\n .failure,\n .not-repository {\n grid-column: span 1;\n }\n}\n\n@container (width < 31.5rem) {\n .table {\n grid-template-columns: 2.125rem 6.5rem minmax(6rem, 1fr) 5rem 6.25rem;\n }\n}\n\n@container (max-width: 46.75rem) {\n .toolbar {\n flex-wrap: wrap;\n height: auto;\n min-height: 2.25rem;\n padding-block: 0.25rem;\n }\n}\n"] }]
|
|
350
398
|
}], ctorParameters: () => [], propDecorators: { instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }], nameField: [{ type: i0.ViewChild, args: ["nameField", { ...{ read: (ElementRef) }, isSignal: true }] }] } });
|
|
351
399
|
//# sourceMappingURL=git-workspace.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-workspace.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-workspace/git-workspace.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-workspace/git-workspace.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EAAE,SAAS,EACzI,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAClH,OAAO,EAA0B,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,aAAa,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEpK,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAOrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAGtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAG9E,OAAO,EAAE,eAAe,EAAE,MAA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Q,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,EACzI,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACzG,CAAC;IAEO,OAAO,CAAI,GAAY,EAAE,QAAW;QAC1C,IAAI,CAAC;YACH,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,OAAO,KAAK,EAAE,CAAC;YACb,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YAC/B,OAAO,QAAQ,CAAC;QAClB,CAAC;IACH,CAAC;uGAtTU,qBAAqB;2FAArB,qBAAqB,4SA+D8E,UAAU,6CC3H1H,22QAoIA,0mND5EY,eAAe,oJAAE,iBAAiB,8HAAE,WAAW,ysBAAE,yBAAyB,gIAAE,mBAAmB,wFAAE,mBAAmB,2MAAE,kBAAkB,+GAAE,sBAAsB;;2FAI/J,qBAAqB;kBANjC,SAAS;+BACE,mBAAmB,WACpB,CAAC,eAAe,EAAE,iBAAiB,EAAE,WAAW,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC;gMAmElF,WAAW,OAAE,EAAE,IAAI,EAAE,CAAA,UAA4B,CAAA,EAAE"}
|
|
1
|
+
{"version":3,"file":"git-workspace.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-workspace/git-workspace.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-workspace/git-workspace.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAA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MAqEsB,WAAW,OAAE,EAAE,IAAI,EAAE,CAAA,UAA4B,CAAA,EAAE"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { Component, computed, ErrorHandler, inject } from "@angular/core";
|
|
9
9
|
import "@noldova/context.core";
|
|
10
10
|
import { WindowPartTokens } from "@noldova/desktop.window";
|
|
11
|
-
import { IconButtonComponent } from "@noldova/ui.components.angular";
|
|
11
|
+
import { IconButtonComponent, SectionHeaderActionDirective, SectionHeaderComponent } from "@noldova/ui.components.angular";
|
|
12
12
|
import { Resources } from "../../../resources.js";
|
|
13
13
|
import { GitRecentRepositories } from "../../services/git-recent-repositories.js";
|
|
14
14
|
import { GitWorkspacePages } from "../../services/git-workspace-pages.js";
|
|
@@ -46,10 +46,10 @@ export class GitWorkspacesComponent {
|
|
|
46
46
|
.catch((error) => this.errors.handleError(error));
|
|
47
47
|
}
|
|
48
48
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitWorkspacesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitWorkspacesComponent, isStandalone: true, selector: "nol-git-workspaces", 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<nav class=\"panel side\" [attr.aria-label]=\"resources.workspacesHeading\">\n @let page = chosenPage();\n <button type=\"button\" class=\"row open-repositories\" [class.selected]=\"page === null\" [attr.aria-current]=\"page === null ? 'page' : null\"\n (click)=\"openWorkspace(null)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.dashboardIcon }}</span>\n <span class=\"grow\">{{ resources.dashboardTitle }}</span>\n <span class=\"count\">{{ recentCount() }}</span>\n </button>\n <
|
|
49
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitWorkspacesComponent, isStandalone: true, selector: "nol-git-workspaces", 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<nav class=\"panel side\" [attr.aria-label]=\"resources.workspacesHeading\">\n @let page = chosenPage();\n <button type=\"button\" class=\"row open-repositories\" [class.selected]=\"page === null\" [attr.aria-current]=\"page === null ? 'page' : null\"\n (click)=\"openWorkspace(null)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.dashboardIcon }}</span>\n <span class=\"grow\">{{ resources.dashboardTitle }}</span>\n <span class=\"count\">{{ recentCount() }}</span>\n </button>\n <nol-section-header [label]=\"resources.workspacesHeading\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <button nolSectionHeaderAction nol-icon-button type=\"button\" class=\"new\" [icon]=\"resources.addIcon\" [label]=\"resources.newWorkspaceTitle\" (click)=\"newWorkspace()\"></button>\n </nol-section-header>\n @for (item of workspaces(); track item.id) {\n @let isChosen = item.id === page;\n <button type=\"button\" class=\"row workspace\" [class.selected]=\"isChosen\" [attr.aria-current]=\"isChosen ? 'page' : null\" (click)=\"openWorkspace(item.id)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.workspaceIcon }}</span>\n <span class=\"grow\">{{ item.name }}</span>\n <span class=\"count\">{{ item.folders.length }}</span>\n </button>\n }\n @if (side(); as front) {\n <nol-section-header [label]=\"resources.workspaceViewsHeading\" [uppercase]=\"true\" />\n @for (item of front.views(); track item.view) {\n @let isShown = front.view() === item.view;\n <button type=\"button\" class=\"row view\" [class.selected]=\"isShown\" [attr.aria-current]=\"isShown ? 'page' : null\" (click)=\"chooseView(front, item.view)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.workspaceViews[item.view].icon }}</span>\n <span class=\"grow\">{{ resources.workspaceViews[item.view].name }}</span>\n @if (item.count > 0) {\n <span class=\"badge\">{{ item.count }}</span>\n }\n </button>\n }\n @if (front.hosts().length > 0) {\n <nol-section-header [label]=\"resources.workspaceHostsHeading\" [uppercase]=\"true\" />\n @for (item of front.hosts(); track item.key) {\n @if (item.host; as host) {\n <button type=\"button\" class=\"row host\" [title]=\"resources.formatHostSettings(item.name)\" (click)=\"openHost(host)\">\n <span [class]=\"'dot ' + item.tone\" aria-hidden=\"true\"></span>\n <span class=\"grow\">{{ item.name }}</span>\n <span class=\"small muted\">{{ item.detail }}</span>\n </button>\n }\n @else {\n <div class=\"row host\">\n <span [class]=\"'dot ' + item.tone\" aria-hidden=\"true\"></span>\n <span class=\"grow\">{{ item.name }}</span>\n <span class=\"small muted\">{{ item.detail }}</span>\n </div>\n }\n }\n }\n }\n</nav>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n box-sizing: border-box;\n height: 100%;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.panel {\n --nol-section-header-space-above: 0.5rem;\n\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.material-symbols-rounded {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n overflow: hidden;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n line-height: 1;\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: var(--nol-radius-medium);\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\nbutton.row:hover {\n background: var(--nol-hover);\n}\n\n.row.selected,\n.row.selected:hover {\n background: var(--nol-selected);\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.count,\n.muted {\n color: var(--nol-text-muted);\n}\n\n.count,\n.small {\n font-size: 0.75rem;\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending,\n.dot.signed-out {\n background-color: var(--nol-warning);\n}\n\n.badge {\n box-sizing: border-box;\n min-width: 1rem;\n height: 1rem;\n padding: 0 0.25rem;\n border-radius: 0.5rem;\n background: var(--nol-badge);\n color: var(--nol-badge-text);\n font-size: 0.6875rem;\n line-height: 1rem;\n text-align: center;\n}\n"], dependencies: [{ kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: SectionHeaderActionDirective, selector: "[nolSectionHeaderAction]" }, { kind: "component", type: SectionHeaderComponent, selector: "nol-section-header", inputs: ["label", "level", "icon", "collapsible", "uppercase", "quiet", "controls", "actionsShown", "caretPosition", "expanded"], outputs: ["expandedChange"] }] });
|
|
50
50
|
}
|
|
51
51
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitWorkspacesComponent, decorators: [{
|
|
52
52
|
type: Component,
|
|
53
|
-
args: [{ selector: "nol-git-workspaces", imports: [IconButtonComponent], 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<nav class=\"panel side\" [attr.aria-label]=\"resources.workspacesHeading\">\n @let page = chosenPage();\n <button type=\"button\" class=\"row open-repositories\" [class.selected]=\"page === null\" [attr.aria-current]=\"page === null ? 'page' : null\"\n (click)=\"openWorkspace(null)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.dashboardIcon }}</span>\n <span class=\"grow\">{{ resources.dashboardTitle }}</span>\n <span class=\"count\">{{ recentCount() }}</span>\n </button>\n <
|
|
53
|
+
args: [{ selector: "nol-git-workspaces", imports: [IconButtonComponent, SectionHeaderActionDirective, SectionHeaderComponent], 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<nav class=\"panel side\" [attr.aria-label]=\"resources.workspacesHeading\">\n @let page = chosenPage();\n <button type=\"button\" class=\"row open-repositories\" [class.selected]=\"page === null\" [attr.aria-current]=\"page === null ? 'page' : null\"\n (click)=\"openWorkspace(null)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.dashboardIcon }}</span>\n <span class=\"grow\">{{ resources.dashboardTitle }}</span>\n <span class=\"count\">{{ recentCount() }}</span>\n </button>\n <nol-section-header [label]=\"resources.workspacesHeading\" [uppercase]=\"true\" [actionsShown]=\"true\">\n <button nolSectionHeaderAction nol-icon-button type=\"button\" class=\"new\" [icon]=\"resources.addIcon\" [label]=\"resources.newWorkspaceTitle\" (click)=\"newWorkspace()\"></button>\n </nol-section-header>\n @for (item of workspaces(); track item.id) {\n @let isChosen = item.id === page;\n <button type=\"button\" class=\"row workspace\" [class.selected]=\"isChosen\" [attr.aria-current]=\"isChosen ? 'page' : null\" (click)=\"openWorkspace(item.id)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.workspaceIcon }}</span>\n <span class=\"grow\">{{ item.name }}</span>\n <span class=\"count\">{{ item.folders.length }}</span>\n </button>\n }\n @if (side(); as front) {\n <nol-section-header [label]=\"resources.workspaceViewsHeading\" [uppercase]=\"true\" />\n @for (item of front.views(); track item.view) {\n @let isShown = front.view() === item.view;\n <button type=\"button\" class=\"row view\" [class.selected]=\"isShown\" [attr.aria-current]=\"isShown ? 'page' : null\" (click)=\"chooseView(front, item.view)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.workspaceViews[item.view].icon }}</span>\n <span class=\"grow\">{{ resources.workspaceViews[item.view].name }}</span>\n @if (item.count > 0) {\n <span class=\"badge\">{{ item.count }}</span>\n }\n </button>\n }\n @if (front.hosts().length > 0) {\n <nol-section-header [label]=\"resources.workspaceHostsHeading\" [uppercase]=\"true\" />\n @for (item of front.hosts(); track item.key) {\n @if (item.host; as host) {\n <button type=\"button\" class=\"row host\" [title]=\"resources.formatHostSettings(item.name)\" (click)=\"openHost(host)\">\n <span [class]=\"'dot ' + item.tone\" aria-hidden=\"true\"></span>\n <span class=\"grow\">{{ item.name }}</span>\n <span class=\"small muted\">{{ item.detail }}</span>\n </button>\n }\n @else {\n <div class=\"row host\">\n <span [class]=\"'dot ' + item.tone\" aria-hidden=\"true\"></span>\n <span class=\"grow\">{{ item.name }}</span>\n <span class=\"small muted\">{{ item.detail }}</span>\n </div>\n }\n }\n }\n }\n</nav>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n box-sizing: border-box;\n height: 100%;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.panel {\n --nol-section-header-space-above: 0.5rem;\n\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.25rem;\n}\n\n.material-symbols-rounded {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n overflow: hidden;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n line-height: 1;\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: var(--nol-radius-medium);\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\nbutton.row:hover {\n background: var(--nol-hover);\n}\n\n.row.selected,\n.row.selected:hover {\n background: var(--nol-selected);\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.count,\n.muted {\n color: var(--nol-text-muted);\n}\n\n.count,\n.small {\n font-size: 0.75rem;\n}\n\n.dot {\n flex: none;\n width: 0.5rem;\n height: 0.5rem;\n border-radius: 50%;\n background-color: var(--nol-text-muted);\n}\n\n.dot.ok {\n background-color: var(--nol-status-ok);\n}\n\n.dot.failed {\n background-color: var(--nol-status-failed);\n}\n\n.dot.pending,\n.dot.signed-out {\n background-color: var(--nol-warning);\n}\n\n.badge {\n box-sizing: border-box;\n min-width: 1rem;\n height: 1rem;\n padding: 0 0.25rem;\n border-radius: 0.5rem;\n background: var(--nol-badge);\n color: var(--nol-badge-text);\n font-size: 0.6875rem;\n line-height: 1rem;\n text-align: center;\n}\n"] }]
|
|
54
54
|
}] });
|
|
55
55
|
//# sourceMappingURL=git-workspaces.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-workspaces.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-workspaces/git-workspaces.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-workspaces/git-workspaces.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAe,MAAM,eAAe,CAAC;AACvF,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAA2B,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"git-workspaces.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-workspaces/git-workspaces.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-workspaces/git-workspaces.component.html"],"names":[],"mappings":"AAAA;;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+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export var GitAddKind;
|
|
9
|
+
(function (GitAddKind) {
|
|
10
|
+
GitAddKind["Local"] = "Local";
|
|
11
|
+
GitAddKind["Clone"] = "Clone";
|
|
12
|
+
GitAddKind["Init"] = "Init";
|
|
13
|
+
})(GitAddKind || (GitAddKind = {}));
|
|
14
|
+
//# sourceMappingURL=git-add-kind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-add-kind.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/enums/git-add-kind.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,6BAAe,CAAA;IACf,2BAAa,CAAA;AACf,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB"}
|
|
@@ -13,5 +13,6 @@ export var GitHostFeature;
|
|
|
13
13
|
GitHostFeature["WorkItems"] = "WorkItems";
|
|
14
14
|
GitHostFeature["BranchFromItem"] = "BranchFromItem";
|
|
15
15
|
GitHostFeature["AutoComplete"] = "AutoComplete";
|
|
16
|
+
GitHostFeature["CloneList"] = "CloneList";
|
|
16
17
|
})(GitHostFeature || (GitHostFeature = {}));
|
|
17
18
|
//# sourceMappingURL=git-host-feature.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-host-feature.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/enums/git-host-feature.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"git-host-feature.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/enums/git-host-feature.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAN,IAAY,cAQX;AARD,WAAY,cAAc;IACxB,+CAA6B,CAAA;IAC7B,uDAAqC,CAAA;IACrC,qDAAmC,CAAA;IACnC,yCAAuB,CAAA;IACvB,mDAAiC,CAAA;IACjC,+CAA6B,CAAA;IAC7B,yCAAuB,CAAA;AACzB,CAAC,EARW,cAAc,KAAd,cAAc,QAQzB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { AccountQuery, HostingNames, HostRepositoryList } from "@noldova/git.hosting.protocol";
|
|
9
|
+
import { Resources } from "../../resources.js";
|
|
10
|
+
export class GitCloneSource {
|
|
11
|
+
key;
|
|
12
|
+
label;
|
|
13
|
+
host;
|
|
14
|
+
provided;
|
|
15
|
+
account;
|
|
16
|
+
constructor(provided, account, login) {
|
|
17
|
+
this.key = `${provided.account.id}${Resources.cloneSourceSeparator}${account}`;
|
|
18
|
+
this.label = Resources.formatCloneSource(login, provided.account.column);
|
|
19
|
+
this.host = provided.account.host;
|
|
20
|
+
this.provided = provided;
|
|
21
|
+
this.account = account;
|
|
22
|
+
}
|
|
23
|
+
async readAsync() {
|
|
24
|
+
const id = this.provided.account.id;
|
|
25
|
+
const method = HostingNames.nameOf(id.slice(0, id.indexOf(Resources.hostIdSeparator)), HostingNames.readRepositoriesMethod);
|
|
26
|
+
return HostRepositoryList.fromJson(await this.provided.context.requestAsync(method, new AccountQuery(this.account).toJson()));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=git-clone-source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-clone-source.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/models/git-clone-source.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,k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13
|
+
scan = signal(null, /* @ts-ignore */
|
|
14
|
+
...(ngDevMode ? [{ debugName: "scan" }] : /* istanbul ignore next */ []));
|
|
15
|
+
checking = signal(false, /* @ts-ignore */
|
|
16
|
+
...(ngDevMode ? [{ debugName: "checking" }] : /* istanbul ignore next */ []));
|
|
17
|
+
initializing = signal(false, /* @ts-ignore */
|
|
18
|
+
...(ngDevMode ? [{ debugName: "initializing" }] : /* istanbul ignore next */ []));
|
|
13
19
|
offers = new Set();
|
|
14
20
|
constructor(folder) {
|
|
15
21
|
this.folder = folder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-folder-look.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/models/git-folder-look.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAuB,MAAM,eAAe,CAAC;AAG5D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,aAAa;IACR,MAAM,CAAS;IACf,IAAI,CAAyB;IAC7B,MAAM,
|
|
1
|
+
{"version":3,"file":"git-folder-look.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/models/git-folder-look.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,MAAM,EAAuB,MAAM,eAAe,CAAC;AAG5D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,OAAO,aAAa;IACR,MAAM,CAAS;IACf,IAAI,CAAyB;IAC7B,IAAI,GAA6C,MAAM,CAA2B,IAAI;6EAAC,CAAC;IACxF,QAAQ,GAA4B,MAAM,CAAC,KAAK;iFAAC,CAAC;IAClD,YAAY,GAA4B,MAAM,CAAC,KAAK;qFAAC,CAAC;IACtD,MAAM,GAA2D,IAAI,GAAG,EAAE,CAAC;IAE3F,YAAmB,MAAc;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,kBAAkB,CAAC,MAAM,CAAC;iFAAC,CAAC;IAC3D,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { signal } from "@angular/core";
|
|
9
|
+
export class GitAddRequests {
|
|
10
|
+
static pending = signal(null, /* @ts-ignore */
|
|
11
|
+
...(ngDevMode ? [{ debugName: "pending" }] : /* istanbul ignore next */ []));
|
|
12
|
+
static asked = GitAddRequests.pending.asReadonly();
|
|
13
|
+
static ask(kind) {
|
|
14
|
+
GitAddRequests.pending.set(kind);
|
|
15
|
+
}
|
|
16
|
+
static clear() {
|
|
17
|
+
GitAddRequests.pending.set(null);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=git-add-requests.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"git-add-requests.js","sourceRoot":"","sources":["../../../../../../../src/noldova.git.window/src/app/services/git-add-requests.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAe,MAAM,EAAuB,MAAM,eAAe,CAAC;AAIzE,MAAM,OAAO,cAAc;IACjB,MAAM,CAAU,OAAO,GAAsC,MAAM,CAAoB,IAAI;gFAAC,CAAC;IAE9F,MAAM,CAAU,KAAK,GAA8B,cAAc,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;IAEvF,MAAM,CAAC,GAAG,CAAC,IAAgB;QAChC,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IAEM,MAAM,CAAC,KAAK;QACjB,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC"}
|