@noldova/git.window 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -6
- package/src/api/index.d.ts +6 -1
- package/src/app/components/git-accounts/git-accounts.component.js +2 -2
- package/src/app/components/git-accounts/git-accounts.component.js.map +1 -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-branch-card/git-branch-card.component.js +2 -2
- package/src/app/components/git-branch-card/git-branch-card.component.js.map +1 -1
- package/src/app/components/git-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-command-log/git-command-log.component.js +2 -2
- package/src/app/components/git-commit-card/git-commit-card.component.js +5 -15
- package/src/app/components/git-commit-card/git-commit-card.component.js.map +1 -1
- package/src/app/components/git-conflicts/git-conflicts.component.js +2 -2
- package/src/app/components/git-conflicts/git-conflicts.component.js.map +1 -1
- package/src/app/components/git-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 +49 -9
- 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-undo-menu/git-undo-menu.component.js +20 -4
- package/src/app/components/git-undo-menu/git-undo-menu.component.js.map +1 -1
- package/src/app/components/git-view/git-view.component.js +18 -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-commands.js +46 -0
- package/src/app/services/git-view-commands.js.map +1 -0
- package/src/app/services/git-view-state.service.js +54 -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 +16 -2
- 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 +91 -4
- package/src/resources.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noldova/git.window",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "The Git module's window part: the Git view of a folder's branch, changes and commit.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,8 +42,9 @@
|
|
|
42
42
|
"@noldova/context.core": ">=0.0.18 <0.1.0",
|
|
43
43
|
"@noldova/context.exceptions": ">=0.0.18 <0.1.0",
|
|
44
44
|
"@noldova/context.json": ">=0.0.18 <0.1.0",
|
|
45
|
-
"@noldova/desktop.
|
|
46
|
-
"@noldova/
|
|
45
|
+
"@noldova/desktop.protocol": ">=0.0.20 <0.1.0",
|
|
46
|
+
"@noldova/desktop.window": ">=0.0.20 <0.1.0",
|
|
47
|
+
"@noldova/ui.components.angular": ">=0.0.47 <0.1.0"
|
|
47
48
|
},
|
|
48
49
|
"peerDependenciesMeta": {
|
|
49
50
|
"@angular/cdk": {
|
|
@@ -79,6 +80,9 @@
|
|
|
79
80
|
"@noldova/context.json": {
|
|
80
81
|
"optional": true
|
|
81
82
|
},
|
|
83
|
+
"@noldova/desktop.protocol": {
|
|
84
|
+
"optional": true
|
|
85
|
+
},
|
|
82
86
|
"@noldova/desktop.window": {
|
|
83
87
|
"optional": true
|
|
84
88
|
},
|
|
@@ -87,8 +91,8 @@
|
|
|
87
91
|
}
|
|
88
92
|
},
|
|
89
93
|
"dependencies": {
|
|
90
|
-
"@noldova/git.hosting.protocol": "0.0.
|
|
91
|
-
"@noldova/git.protocol": "0.0.
|
|
94
|
+
"@noldova/git.hosting.protocol": "0.0.11",
|
|
95
|
+
"@noldova/git.protocol": "0.0.11"
|
|
92
96
|
},
|
|
93
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "747f8d7d5643e472496a423fe756322dad2ce808"
|
|
94
98
|
}
|
package/src/api/index.d.ts
CHANGED
|
@@ -638,7 +638,12 @@ export declare enum GitHostFeature {
|
|
|
638
638
|
/** Creating a branch from a work item. */
|
|
639
639
|
BranchFromItem = "BranchFromItem",
|
|
640
640
|
/** Completing a pull request by itself once its policies pass. */
|
|
641
|
-
AutoComplete = "AutoComplete"
|
|
641
|
+
AutoComplete = "AutoComplete",
|
|
642
|
+
/**
|
|
643
|
+
* Listing a signed-in account's repositories in the Clone dialog: the host's module, the part of its {@link IGitHostAccount.id} before the dot, answers
|
|
644
|
+
* `<module id>.readRepositories` from the hosting protocol for an account id its cards name.
|
|
645
|
+
*/
|
|
646
|
+
CloneList = "CloneList"
|
|
642
647
|
}
|
|
643
648
|
|
|
644
649
|
/**
|
|
@@ -39,10 +39,10 @@ export class GitAccountsComponent {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAccountsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitAccountsComponent, isStandalone: true, selector: "nol-git-accounts", 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 <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\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}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { 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: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
42
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitAccountsComponent, isStandalone: true, selector: "nol-git-accounts", 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 <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\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}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { 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: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
43
43
|
}
|
|
44
44
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAccountsComponent, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
|
-
args: [{ selector: "nol-git-accounts", imports: [AvatarComponent, ButtonComponent, ChipComponent, IconButtonComponent, MenuComponent, MenuItemComponent, MenuTriggerDirective, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\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}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"] }]
|
|
46
|
+
args: [{ selector: "nol-git-accounts", imports: [AvatarComponent, ButtonComponent, ChipComponent, IconButtonComponent, MenuComponent, MenuItemComponent, MenuTriggerDirective, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\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}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"] }]
|
|
47
47
|
}] });
|
|
48
48
|
//# sourceMappingURL=git-accounts.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-accounts.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-accounts/git-accounts.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-accounts/git-accounts.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAe,MAAM,eAAe,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB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AChE,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAC,SAAS,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;QACjE,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAC,SAAS,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QACpE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE;YAC9C,MAAM,CAAC,KAAK,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC;uGA/BU,oBAAoB;2FAApB,oBAAoB,4EC3BjC,+gIA+EA,
|
|
1
|
+
{"version":3,"file":"git-accounts.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-accounts/git-accounts.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-accounts/git-accounts.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAe,MAAM,eAAe,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAC3K,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAE3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAItE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;;AAQlG,MAAM,OAAO,oBAAoB;IACd,OAAO,GAAkB,MAAM,CAAC,aAAa,CAAC,CAAC;IAE7C,SAAS,GAAqB,SAAS,CAAC;IACxC,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACnD,QAAQ,GAA+C,eAAe,CAAC,QAAQ,CAAC;IAEzF,KAAK,CAAC,QAAiC;QAC/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gB;;2FAI7I,oBAAoB;kBANhC,SAAS;+BACE,kBAAkB,WACnB,CAAC,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC"}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
import { Component, computed, ErrorHandler, inject, input, signal } from "@angular/core";
|
|
9
|
+
import { SectionHeaderCaretPosition, SectionHeaderComponent, SectionHeaderDetailDirective } from "@noldova/ui.components.angular";
|
|
9
10
|
import { GitAgentState } from "../../enums/git-agent-state.js";
|
|
10
11
|
import { GitAgents } from "../../services/git-agents.js";
|
|
11
12
|
import { Resources } from "../../../resources.js";
|
|
@@ -17,15 +18,13 @@ export class GitAgentsComponent {
|
|
|
17
18
|
resources = Resources;
|
|
18
19
|
isOpen = signal(true, /* @ts-ignore */
|
|
19
20
|
...(ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []));
|
|
21
|
+
caretStart = SectionHeaderCaretPosition.Start;
|
|
20
22
|
hasProvider = computed(() => GitAgents.all().length > 0, /* @ts-ignore */
|
|
21
23
|
...(ngDevMode ? [{ debugName: "hasProvider" }] : /* istanbul ignore next */ []));
|
|
22
24
|
runs = computed(() => GitAgents.all().flatMap(provider => this.attempt(() => provider.listFor(this.folder())() ?? [], []).map(row => ({ provider, row }))), /* @ts-ignore */
|
|
23
25
|
...(ngDevMode ? [{ debugName: "runs" }] : /* istanbul ignore next */ []));
|
|
24
26
|
worktrees = computed(() => new Set(this.runs().map(t => t.row.worktree)).size, /* @ts-ignore */
|
|
25
27
|
...(ngDevMode ? [{ debugName: "worktrees" }] : /* istanbul ignore next */ []));
|
|
26
|
-
toggle() {
|
|
27
|
-
this.isOpen.update(t => !t);
|
|
28
|
-
}
|
|
29
28
|
iconOf(state) {
|
|
30
29
|
return Resources.agentStateIcons[state];
|
|
31
30
|
}
|
|
@@ -45,10 +44,10 @@ export class GitAgentsComponent {
|
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAgentsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitAgentsComponent, isStandalone: true, selector: "nol-git-agents", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasProvider()) {\n <
|
|
47
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitAgentsComponent, isStandalone: true, selector: "nol-git-agents", inputs: { folder: { classPropertyName: "folder", publicName: "folder", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasProvider()) {\n <nol-section-header [label]=\"resources.agentsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [(expanded)]=\"isOpen\">\n @if (worktrees() > 0) {\n <span nolSectionHeaderDetail class=\"worktrees\">{{ resources.formatAgentWorktrees(worktrees()) }}</span>\n }\n </nol-section-header>\n @if (isOpen()) {\n @for (run of runs(); track run.row.key) {\n <button type=\"button\" class=\"row run\" [title]=\"run.row.worktree\" (click)=\"open(run)\">\n <span class=\"ms agent\">{{ resources.agentIcon }}</span>\n <span class=\"grow name\">{{ run.row.name }}</span>\n <span [class]=\"'ms state ' + run.row.state\" role=\"img\" [attr.aria-label]=\"labelOf(run.row.state)\">{{ iconOf(run.row.state) }}</span>\n </button>\n } @empty {\n <div class=\"row small muted note\">{{ resources.agentsEmpty }}</div>\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.note:hover {\n background: transparent;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.agent {\n color: var(--nol-author-8);\n}\n\n.state.WaitingForYou {\n color: var(--nol-warning);\n}\n\n.state.Done {\n color: var(--nol-status-ok);\n}\n\n.state.Failed {\n color: var(--nol-status-failed);\n}\n\n.state.Working {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: SectionHeaderComponent, selector: "nol-section-header", inputs: ["label", "level", "icon", "collapsible", "uppercase", "quiet", "controls", "actionsShown", "caretPosition", "expanded"], outputs: ["expandedChange"] }, { kind: "directive", type: SectionHeaderDetailDirective, selector: "[nolSectionHeaderDetail]" }] });
|
|
49
48
|
}
|
|
50
49
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAgentsComponent, decorators: [{
|
|
51
50
|
type: Component,
|
|
52
|
-
args: [{ selector: "nol-git-agents", template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasProvider()) {\n <
|
|
51
|
+
args: [{ selector: "nol-git-agents", imports: [SectionHeaderComponent, SectionHeaderDetailDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (hasProvider()) {\n <nol-section-header [label]=\"resources.agentsLabel\" [uppercase]=\"true\" [collapsible]=\"true\" [caretPosition]=\"caretStart\" [(expanded)]=\"isOpen\">\n @if (worktrees() > 0) {\n <span nolSectionHeaderDetail class=\"worktrees\">{{ resources.formatAgentWorktrees(worktrees()) }}</span>\n }\n </nol-section-header>\n @if (isOpen()) {\n @for (run of runs(); track run.row.key) {\n <button type=\"button\" class=\"row run\" [title]=\"run.row.worktree\" (click)=\"open(run)\">\n <span class=\"ms agent\">{{ resources.agentIcon }}</span>\n <span class=\"grow name\">{{ run.row.name }}</span>\n <span [class]=\"'ms state ' + run.row.state\" role=\"img\" [attr.aria-label]=\"labelOf(run.row.state)\">{{ iconOf(run.row.state) }}</span>\n </button>\n } @empty {\n <div class=\"row small muted note\">{{ resources.agentsEmpty }}</div>\n }\n }\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: contents;\n}\n\n.ms {\n display: inline-block;\n flex: none;\n overflow: hidden;\n width: 1rem;\n height: 1rem;\n color: var(--nol-icon-color);\n font-family: \"Material Symbols Rounded\";\n font-size: 1rem;\n font-weight: 400;\n font-style: normal;\n line-height: 1;\n white-space: nowrap;\n font-feature-settings: \"liga\";\n}\n\n.row {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n gap: 0.375rem;\n min-width: 0;\n width: 100%;\n height: 1.625rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.375rem;\n background: transparent;\n color: inherit;\n font: inherit;\n text-align: start;\n white-space: nowrap;\n}\n\nbutton.row {\n cursor: pointer;\n}\n\n.row:hover {\n background: var(--nol-hover);\n}\n\n.row.note:hover {\n background: transparent;\n}\n\n.grow {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: start;\n}\n\n.small {\n font-size: 0.75rem;\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n\n.agent {\n color: var(--nol-author-8);\n}\n\n.state.WaitingForYou {\n color: var(--nol-warning);\n}\n\n.state.Done {\n color: var(--nol-status-ok);\n}\n\n.state.Failed {\n color: var(--nol-status-failed);\n}\n\n.state.Working {\n color: var(--nol-text-muted);\n}\n"] }]
|
|
53
52
|
}], propDecorators: { folder: [{ type: i0.Input, args: [{ isSignal: true, alias: "folder", required: true }] }] } });
|
|
54
53
|
//# sourceMappingURL=git-agents.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-agents.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-agents/git-agents.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-agents/git-agents.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAoC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"git-agents.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-agents/git-agents.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-agents/git-agents.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAoC,MAAM,eAAe,CAAC;AAC7I,OAAO,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,4BAA4B,EAAE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ACpC,OAAO,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAES,IAAI,CAAC,GAAe;QAC5B,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,GAAG,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,CAAC;IAC3E,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;uGAjCU,kBAAkB;2FAAlB,kBAAkB,gNC5B/B,okCA0BA,+gDDFY,sBAAsB,8NAAE,4BAA4B;;2FAInD,kBAAkB;kBAN9B,SAAS;+BACE,gBAAgB,WACjB,CAAC,sBAAsB,EAAE,4BAA4B,CAAC"}
|
|
@@ -118,7 +118,7 @@ export class GitBranchCardComponent {
|
|
|
118
118
|
this.isOpen.set(false);
|
|
119
119
|
}
|
|
120
120
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBranchCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
121
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitBranchCardComponent, isStandalone: true, selector: "nol-git-branch-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "document:pointerdown": "closeOutside($event)", "focusout": "closeOnLeave($event)", "keydown.escape": "escape($event)" } }, viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "filter", first: true, predicate: ["filter"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"upstream.gone || state.busy()\"\n [nolTooltip]=\"resources.formatPullHooks(state.pullHooks())\" (pointerenter)=\"loadPullHooks()\" (focus)=\"loadPullHooks()\" (click)=\"pull()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pullIcon }}</span>{{ resources.formatPull(upstream.behind) }}\n </button>\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"upstream.ahead === 0 || state.busy()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pushIcon }}</span>{{ resources.formatPush(upstream.ahead) }}\n </button>\n } @else {\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.publishIcon }}</span>{{ resources.publishLabel }}\n </button>\n }\n }\n</div>\n<div class=\"upstream\">\n @if (upstream(); as upstream) {\n @if (upstream.gone) {\n <span>{{ resources.formatUpstreamGone(upstream.name) }}</span>\n } @else {\n <span>{{ upstream.name }}</span>\n <span>{{ resources.formatAheadBehind(upstream.ahead, upstream.behind) }}</span>\n }\n } @else {\n <span>{{ resources.noUpstream }}</span>\n }\n</div>\n@if (isOpen()) {\n <div class=\"menu\">\n <input #filter class=\"filter\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" aria-controls=\"git-branch-list\"\n [attr.aria-label]=\"resources.branchPickerLabel\" [attr.aria-activedescendant]=\"items().length > 0 ? resources.formatBranchOptionId(active()) : null\"\n [placeholder]=\"resources.branchPickerLabel\" [ngModel]=\"query()\" (ngModelChange)=\"find($event)\" (keydown)=\"onKey($event)\" />\n <div id=\"git-branch-list\" class=\"list\" role=\"listbox\" [attr.aria-label]=\"resources.branchPickerLabel\">\n @for (item of items(); track resources.formatBranchItemKey(item.kind, item.title); let index = $index) {\n @let previous = items()[index - 1];\n @if (item.kind !== kinds.Create && previous?.kind !== item.kind) {\n @if (previous?.kind === kinds.Create) {\n <div class=\"separator\" role=\"presentation\"></div>\n }\n <div class=\"label\" role=\"presentation\">{{ item.kind === kinds.Local ? resources.localBranchesLabel : resources.remoteBranchesLabel }}</div>\n }\n <div [id]=\"resources.formatBranchOptionId(index)\" class=\"item\" role=\"option\" [class.active]=\"index === active()\" [class.current]=\"item.isCurrent\"\n [attr.aria-selected]=\"index === active()\" (pointerdown)=\"$event.preventDefault()\" (pointerenter)=\"chosen.set(index)\" (click)=\"choose(item)\">\n <span class=\"material-symbols-rounded\" [class.hidden]=\"item.kind !== kinds.Create && !item.isCurrent\" aria-hidden=\"true\">{{ item.kind === kinds.Create ? resources.createBranchIcon : resources.currentBranchIcon }}</span>\n <span class=\"title\" data-truncates [nolTooltip]=\"item.title\" [nolTooltipTruncated]=\"true\">{{ item.title }}</span>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n position: relative;\n display: grid;\n gap: var(--nol-tab-part-gap);\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.line {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.name {\n display: inline-flex;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n margin-left: calc(var(--nol-space-1) * -1);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text);\n font: inherit;\n}\n\n.name:hover:not([aria-disabled=\"true\"]),\n.name.open {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.branch {\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.recent-actions {\n display: flex;\n flex: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.pull,\n.push {\n flex: none;\n}\n\n.upstream {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n align-items: center;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.octicon {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.menu {\n position: absolute;\n z-index: 2;\n top: calc(var(--nol-space-2) + var(--nol-button-height) + var(--nol-tab-part-gap));\n right: var(--nol-space-1);\n left: var(--nol-space-1);\n padding: var(--nol-menu-padding);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n}\n\n.filter {\n box-sizing: border-box;\n width: calc(100% - var(--nol-space-1));\n height: var(--nol-field-height);\n margin: var(--nol-tab-inset) var(--nol-tab-inset) var(--nol-space-1);\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-accent);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-input);\n color: var(--nol-text);\n font: inherit;\n}\n\n.filter::placeholder {\n color: var(--nol-placeholder);\n}\n\n.list {\n max-height: var(--nol-list-max-height);\n overflow-y: auto;\n}\n\n.item {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n height: var(--nol-menu-item-height);\n padding: 0 var(--nol-menu-item-padding);\n border-radius: var(--nol-radius-small);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.item:hover:not(.active) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.item.current,\n.item.active {\n --nol-text-muted: var(--nol-list-active-text);\n\n background-color: var(--nol-list-active);\n color: var(--nol-list-active-text);\n}\n\n.item.active {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-active-text: HighlightText;\n\n background-color: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n}\n\n.item .hidden {\n visibility: hidden;\n}\n\n.item .title {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label {\n padding: var(--nol-menu-label-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.separator {\n height: var(--nol-border-width);\n margin: var(--nol-menu-separator-spacing) 0;\n background-color: var(--nol-menu-separator);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitUndoMenuComponent, selector: "nol-git-undo-menu" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
121
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitBranchCardComponent, isStandalone: true, selector: "nol-git-branch-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "document:pointerdown": "closeOutside($event)", "focusout": "closeOnLeave($event)", "keydown.escape": "escape($event)" } }, viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "filter", first: true, predicate: ["filter"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"!state.canPull()\"\n [nolTooltip]=\"resources.formatPullHooks(state.pullHooks())\" (pointerenter)=\"loadPullHooks()\" (focus)=\"loadPullHooks()\" (click)=\"pull()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pullIcon }}</span>{{ resources.formatPull(upstream.behind) }}\n </button>\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pushIcon }}</span>{{ resources.formatPush(upstream.ahead) }}\n </button>\n } @else {\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.publishIcon }}</span>{{ resources.publishLabel }}\n </button>\n }\n }\n</div>\n<div class=\"upstream\">\n @if (upstream(); as upstream) {\n @if (upstream.gone) {\n <span>{{ resources.formatUpstreamGone(upstream.name) }}</span>\n } @else {\n <span>{{ upstream.name }}</span>\n <span>{{ resources.formatAheadBehind(upstream.ahead, upstream.behind) }}</span>\n }\n } @else {\n <span>{{ resources.noUpstream }}</span>\n }\n</div>\n@if (isOpen()) {\n <div class=\"menu\">\n <input #filter class=\"filter\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" aria-controls=\"git-branch-list\"\n [attr.aria-label]=\"resources.branchPickerLabel\" [attr.aria-activedescendant]=\"items().length > 0 ? resources.formatBranchOptionId(active()) : null\"\n [placeholder]=\"resources.branchPickerLabel\" [ngModel]=\"query()\" (ngModelChange)=\"find($event)\" (keydown)=\"onKey($event)\" />\n <div id=\"git-branch-list\" class=\"list\" role=\"listbox\" [attr.aria-label]=\"resources.branchPickerLabel\">\n @for (item of items(); track resources.formatBranchItemKey(item.kind, item.title); let index = $index) {\n @let previous = items()[index - 1];\n @if (item.kind !== kinds.Create && previous?.kind !== item.kind) {\n @if (previous?.kind === kinds.Create) {\n <div class=\"separator\" role=\"presentation\"></div>\n }\n <div class=\"label\" role=\"presentation\">{{ item.kind === kinds.Local ? resources.localBranchesLabel : resources.remoteBranchesLabel }}</div>\n }\n <div [id]=\"resources.formatBranchOptionId(index)\" class=\"item\" role=\"option\" [class.active]=\"index === active()\" [class.current]=\"item.isCurrent\"\n [attr.aria-selected]=\"index === active()\" (pointerdown)=\"$event.preventDefault()\" (pointerenter)=\"chosen.set(index)\" (click)=\"choose(item)\">\n <span class=\"material-symbols-rounded\" [class.hidden]=\"item.kind !== kinds.Create && !item.isCurrent\" aria-hidden=\"true\">{{ item.kind === kinds.Create ? resources.createBranchIcon : resources.currentBranchIcon }}</span>\n <span class=\"title\" data-truncates [nolTooltip]=\"item.title\" [nolTooltipTruncated]=\"true\">{{ item.title }}</span>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n position: relative;\n display: grid;\n gap: var(--nol-tab-part-gap);\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.line {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.name {\n display: inline-flex;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n margin-left: calc(var(--nol-space-1) * -1);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text);\n font: inherit;\n}\n\n.name:hover:not([aria-disabled=\"true\"]),\n.name.open {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.branch {\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.recent-actions {\n display: flex;\n flex: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.pull,\n.push {\n flex: none;\n}\n\n.upstream {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n align-items: center;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.octicon {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.menu {\n position: absolute;\n z-index: 2;\n top: calc(var(--nol-space-2) + var(--nol-button-height) + var(--nol-tab-part-gap));\n right: var(--nol-space-1);\n left: var(--nol-space-1);\n padding: var(--nol-menu-padding);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n}\n\n.filter {\n box-sizing: border-box;\n width: calc(100% - var(--nol-space-1));\n height: var(--nol-field-height);\n margin: var(--nol-tab-inset) var(--nol-tab-inset) var(--nol-space-1);\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-accent);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-input);\n color: var(--nol-text);\n font: inherit;\n}\n\n.filter::placeholder {\n color: var(--nol-placeholder);\n}\n\n.list {\n max-height: var(--nol-list-max-height);\n overflow-y: auto;\n}\n\n.item {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n height: var(--nol-menu-item-height);\n padding: 0 var(--nol-menu-item-padding);\n border-radius: var(--nol-radius-small);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.item:hover:not(.active) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.item.current,\n.item.active {\n --nol-text-muted: var(--nol-list-active-text);\n\n background-color: var(--nol-list-active);\n color: var(--nol-list-active-text);\n}\n\n.item.active {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-active-text: HighlightText;\n\n background-color: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n}\n\n.item .hidden {\n visibility: hidden;\n}\n\n.item .title {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label {\n padding: var(--nol-menu-label-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.separator {\n height: var(--nol-border-width);\n margin: var(--nol-menu-separator-spacing) 0;\n background-color: var(--nol-menu-separator);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitUndoMenuComponent, selector: "nol-git-undo-menu" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
|
|
122
122
|
}
|
|
123
123
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBranchCardComponent, decorators: [{
|
|
124
124
|
type: Component,
|
|
@@ -126,6 +126,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImpor
|
|
|
126
126
|
"(document:pointerdown)": "closeOutside($event)",
|
|
127
127
|
"(focusout)": "closeOnLeave($event)",
|
|
128
128
|
"(keydown.escape)": "escape($event)"
|
|
129
|
-
}, 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=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"
|
|
129
|
+
}, 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=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"!state.canPull()\"\n [nolTooltip]=\"resources.formatPullHooks(state.pullHooks())\" (pointerenter)=\"loadPullHooks()\" (focus)=\"loadPullHooks()\" (click)=\"pull()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pullIcon }}</span>{{ resources.formatPull(upstream.behind) }}\n </button>\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pushIcon }}</span>{{ resources.formatPush(upstream.ahead) }}\n </button>\n } @else {\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.publishIcon }}</span>{{ resources.publishLabel }}\n </button>\n }\n }\n</div>\n<div class=\"upstream\">\n @if (upstream(); as upstream) {\n @if (upstream.gone) {\n <span>{{ resources.formatUpstreamGone(upstream.name) }}</span>\n } @else {\n <span>{{ upstream.name }}</span>\n <span>{{ resources.formatAheadBehind(upstream.ahead, upstream.behind) }}</span>\n }\n } @else {\n <span>{{ resources.noUpstream }}</span>\n }\n</div>\n@if (isOpen()) {\n <div class=\"menu\">\n <input #filter class=\"filter\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" aria-controls=\"git-branch-list\"\n [attr.aria-label]=\"resources.branchPickerLabel\" [attr.aria-activedescendant]=\"items().length > 0 ? resources.formatBranchOptionId(active()) : null\"\n [placeholder]=\"resources.branchPickerLabel\" [ngModel]=\"query()\" (ngModelChange)=\"find($event)\" (keydown)=\"onKey($event)\" />\n <div id=\"git-branch-list\" class=\"list\" role=\"listbox\" [attr.aria-label]=\"resources.branchPickerLabel\">\n @for (item of items(); track resources.formatBranchItemKey(item.kind, item.title); let index = $index) {\n @let previous = items()[index - 1];\n @if (item.kind !== kinds.Create && previous?.kind !== item.kind) {\n @if (previous?.kind === kinds.Create) {\n <div class=\"separator\" role=\"presentation\"></div>\n }\n <div class=\"label\" role=\"presentation\">{{ item.kind === kinds.Local ? resources.localBranchesLabel : resources.remoteBranchesLabel }}</div>\n }\n <div [id]=\"resources.formatBranchOptionId(index)\" class=\"item\" role=\"option\" [class.active]=\"index === active()\" [class.current]=\"item.isCurrent\"\n [attr.aria-selected]=\"index === active()\" (pointerdown)=\"$event.preventDefault()\" (pointerenter)=\"chosen.set(index)\" (click)=\"choose(item)\">\n <span class=\"material-symbols-rounded\" [class.hidden]=\"item.kind !== kinds.Create && !item.isCurrent\" aria-hidden=\"true\">{{ item.kind === kinds.Create ? resources.createBranchIcon : resources.currentBranchIcon }}</span>\n <span class=\"title\" data-truncates [nolTooltip]=\"item.title\" [nolTooltipTruncated]=\"true\">{{ item.title }}</span>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n position: relative;\n display: grid;\n gap: var(--nol-tab-part-gap);\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.line {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.name {\n display: inline-flex;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n margin-left: calc(var(--nol-space-1) * -1);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text);\n font: inherit;\n}\n\n.name:hover:not([aria-disabled=\"true\"]),\n.name.open {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.branch {\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.recent-actions {\n display: flex;\n flex: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.pull,\n.push {\n flex: none;\n}\n\n.upstream {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n align-items: center;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.octicon {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.menu {\n position: absolute;\n z-index: 2;\n top: calc(var(--nol-space-2) + var(--nol-button-height) + var(--nol-tab-part-gap));\n right: var(--nol-space-1);\n left: var(--nol-space-1);\n padding: var(--nol-menu-padding);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n}\n\n.filter {\n box-sizing: border-box;\n width: calc(100% - var(--nol-space-1));\n height: var(--nol-field-height);\n margin: var(--nol-tab-inset) var(--nol-tab-inset) var(--nol-space-1);\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-accent);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-input);\n color: var(--nol-text);\n font: inherit;\n}\n\n.filter::placeholder {\n color: var(--nol-placeholder);\n}\n\n.list {\n max-height: var(--nol-list-max-height);\n overflow-y: auto;\n}\n\n.item {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n height: var(--nol-menu-item-height);\n padding: 0 var(--nol-menu-item-padding);\n border-radius: var(--nol-radius-small);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.item:hover:not(.active) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.item.current,\n.item.active {\n --nol-text-muted: var(--nol-list-active-text);\n\n background-color: var(--nol-list-active);\n color: var(--nol-list-active-text);\n}\n\n.item.active {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-active-text: HighlightText;\n\n background-color: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n}\n\n.item .hidden {\n visibility: hidden;\n}\n\n.item .title {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label {\n padding: var(--nol-menu-label-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.separator {\n height: var(--nol-border-width);\n margin: var(--nol-menu-separator-spacing) 0;\n background-color: var(--nol-menu-separator);\n}\n"] }]
|
|
130
130
|
}], ctorParameters: () => [], propDecorators: { trigger: [{ type: i0.ViewChild, args: ["trigger", { isSignal: true }] }], filter: [{ type: i0.ViewChild, args: ["filter", { isSignal: true }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: true }] }] } });
|
|
131
131
|
//# sourceMappingURL=git-branch-card.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-branch-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EACzG,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;;;AAanF,MAAM,OAAO,sBAAsB;IAChB,OAAO,GAA4B,MAAM,CAAC,UAAU,CAAC,CAAC;IACtD,OAAO,GAA0C,SAAS,CAAC,QAAQ,CAAgC,SAAS;gFAAC,CAAC;IAC9G,MAAM,GAAqD,SAAS,CAA+B,QAAQ;+EAAC,CAAC;IAE3G,SAAS,GAAqB,SAAS,CAAC;IACxC,KAAK,GAA6B,iBAAiB,CAAC;IACpD,SAAS,GAAkB,aAAa,CAAC,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O,OAAO;QACb,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,IAAI,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC;IACvC,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;uGAzGU,sBAAsB;2FAAtB,sBAAsB,6jBCjCnC,
|
|
1
|
+
{"version":3,"file":"git-branch-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EACzG,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;;;AAanF,MAAM,OAAO,sBAAsB;IAChB,OAAO,GAA4B,MAAM,CAAC,UAAU,CAAC,CAAC;IACtD,OAAO,GAA0C,SAAS,CAAC,QAAQ,CAAgC,SAAS;gFAAC,CAAC;IAC9G,MAAM,GAAqD,SAAS,CAA+B,QAAQ;+EAAC,CAAC;IAE3G,SAAS,GAAqB,SAAS,CAAC;IACxC,KAAK,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