@noldova/git.window 0.0.1 → 0.0.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noldova/git.window",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
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",
@@ -34,13 +34,13 @@
34
34
  "@angular/common": ">=22.2.6 <23.0.0",
35
35
  "@angular/core": ">=22.2.6 <23.0.0",
36
36
  "@angular/forms": ">=22.2.6 <23.0.0",
37
- "@noldova/context.exceptions": ">=0.0.7 <0.1.0",
38
- "@noldova/context.json": ">=0.0.7 <0.1.0",
39
- "@noldova/desktop.window": ">=0.0.1 <0.1.0",
40
- "@noldova/ui.components.angular": ">=0.0.5 <0.1.0"
37
+ "@noldova/context.exceptions": ">=0.0.8 <0.1.0",
38
+ "@noldova/context.json": ">=0.0.8 <0.1.0",
39
+ "@noldova/desktop.window": ">=0.0.5 <0.1.0",
40
+ "@noldova/ui.components.angular": ">=0.0.12 <0.1.0"
41
41
  },
42
42
  "dependencies": {
43
- "@noldova/git.protocol": "0.0.1"
43
+ "@noldova/git.protocol": "0.0.3"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "@angular/common": {
@@ -65,5 +65,5 @@
65
65
  "optional": true
66
66
  }
67
67
  },
68
- "gitHead": "9edb99d8feb37b29af7995d8b4717514fb242e5c"
68
+ "gitHead": "b3192b0ae956e0a48d04631448b20b3925feec8a"
69
69
  }
@@ -116,7 +116,7 @@ export class GitBranchCardComponent {
116
116
  this.isOpen.set(false);
117
117
  }
118
118
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitBranchCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
119
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", 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 <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 --nol-git-branch-list-height: 18rem;\n\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-git-card-padding);\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.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-git-branch-list-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: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
119
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", 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 <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.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: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
120
120
  }
121
121
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitBranchCardComponent, decorators: [{
122
122
  type: Component,
@@ -124,6 +124,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
124
124
  "(document:pointerdown)": "closeOutside($event)",
125
125
  "(focusout)": "closeOnLeave($event)",
126
126
  "(keydown.escape)": "escape($event)"
127
- }, 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 <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 --nol-git-branch-list-height: 18rem;\n\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-git-card-padding);\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.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-git-branch-list-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"] }]
127
+ }, 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 <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.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"] }]
128
128
  }], 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 }] }] } });
129
129
  //# 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;AAE7C,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,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AK,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAES,IAAI;QACZ,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9B,CAAC;IAES,aAAa;QACrB,KAAK,IAAI,CAAC,KAAK,CAAC,kBAAkB,EAAE,CAAC;IACvC,CAAC;IAES,IAAI;QACZ,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9B,CAAC;IAEO,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,6jBC/BnC,uxIAmEA,+sID7CY,eAAe,mJAAE,WAAW,ysBAAE,gBAAgB;;2FAS7C,sBAAsB;kBAXlC,SAAS;+BACE,qBAAqB,WACtB,CAAC,eAAe,EAAE,WAAW,EAAE,gBAAgB,CAAC,QAGnD;wBACJ,wBAAwB,EAAE,sBAAsB;wBAChD,YAAY,EAAE,sBAAsB;wBACpC,kBAAkB,EAAE,gBAAgB;qBACrC;+FAImH,SAAS,gEACT,QAAQ"}
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;AAE7C,OAAO,EAAE,eAAe,EAAE,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AC,OAAO,EAAE,CAAC;QACf,IAAI,IAAI,CAAC,IAAI,KAAK,iBAAiB,CAAC,MAAM;YACxC,KAAK,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aAC1C,IAAI,CAAC,IAAI,CAAC,SAAS;YACtB,KAAK,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAES,IAAI;QACZ,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9B,CAAC;IAES,aAAa;QACrB,KAAK,IAAI,CAAC,KAAK,CAAC,kBAAkB,EAAE,CAAC;IACvC,CAAC;IAES,IAAI;QACZ,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9B,CAAC;IAEO,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,6jBC/BnC,uxIAmEA,iqID7CY,eAAe,mJAAE,WAAW,ysBAAE,gBAAgB;;2FAS7C,sBAAsB;kBAXlC,SAAS;+BACE,qBAAqB,WACtB,CAAC,eAAe,EAAE,WAAW,EAAE,gBAAgB,CAAC,QAGnD;wBACJ,wBAAwB,EAAE,sBAAsB;wBAChD,YAAY,EAAE,sBAAsB;wBACpC,kBAAkB,EAAE,gBAAgB;qBACrC;+FAImH,SAAS,gEACT,QAAQ"}
@@ -34,10 +34,10 @@ export class GitCommitCardComponent {
34
34
  void this.state.commitAsync(this.message());
35
35
  }
36
36
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitCommitCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GitCommitCardComponent, isStandalone: true, selector: "nol-git-commit-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.commitIcon }}</span>{{ label() }}\n</button>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n --nol-git-message-height: 4.25rem;\n\n display: grid;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-2);\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.field {\n box-sizing: border-box;\n width: 100%;\n min-height: var(--nol-git-message-height);\n}\n\n.commit {\n width: 100%;\n}\n\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]" }] });
37
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GitCommitCardComponent, isStandalone: true, selector: "nol-git-commit-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.commitIcon }}</span>{{ label() }}\n</button>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-2);\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.field {\n box-sizing: border-box;\n width: 100%;\n min-height: var(--nol-text-area-min-height);\n}\n\n.commit {\n width: 100%;\n}\n\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]" }] });
38
38
  }
39
39
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitCommitCardComponent, decorators: [{
40
40
  type: Component,
41
- args: [{ selector: "nol-git-commit-card", imports: [ButtonComponent, FormsModule, TextFieldComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.commitIcon }}</span>{{ label() }}\n</button>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n --nol-git-message-height: 4.25rem;\n\n display: grid;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-2);\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.field {\n box-sizing: border-box;\n width: 100%;\n min-height: var(--nol-git-message-height);\n}\n\n.commit {\n width: 100%;\n}\n\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n"] }]
41
+ args: [{ selector: "nol-git-commit-card", imports: [ButtonComponent, FormsModule, TextFieldComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.commitIcon }}</span>{{ label() }}\n</button>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: var(--nol-space-2);\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.field {\n box-sizing: border-box;\n width: 100%;\n min-height: var(--nol-text-area-min-height);\n}\n\n.commit {\n width: 100%;\n}\n\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n"] }]
42
42
  }], propDecorators: { status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: true }] }] } });
43
43
  //# sourceMappingURL=git-commit-card.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-commit-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-commit-card/git-commit-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-commit-card/git-commit-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAiC,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAErF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;;;AAQ/E,MAAM,OAAO,sBAAsB;IACd,SAAS,GAAqB,SAAS,CAAC;IACxC,KAAK,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACzD,WAAW,GAAmB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,IAAI,SAAS,CAAC,kBAAkB;oFAAC,CAAC;IAC/G,KAAK,GAAmB,QAAQ,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,WAAW;8EAAC,CAAC;IAC9I,IAAI,GAA0B,QAAQ,CAAC,GAAG,EAAE,CAC7D,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI;6EAAC,CAAC;IAC7G,OAAO,GAAmB,QAAQ,CAAC,GAAG,EAAE;QACzD,MAAM,KAAK,GAAW,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC;QAClD,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,IAAI,EAAE,CAAC;IAC3E,CAAC;gFAAC,CAAC;IACgB,SAAS,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAC5D,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,KAAK,IAAI,CAAC;kFAAC,CAAC;IAEpI,MAAM,GAA2B,KAAK,CAAC,QAAQ;+EAAa,CAAC;IAEnE,MAAM;QACd,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IAC9C,CAAC;uGAnBU,sBAAsB;2FAAtB,sBAAsB,qNCtBnC,4rBAgBA,kvBDEY,eAAe,mJAAE,WAAW,ysBAAE,kBAAkB;;2FAI/C,sBAAsB;kBANlC,SAAS;+BACE,qBAAqB,WACtB,CAAC,eAAe,EAAE,WAAW,EAAE,kBAAkB,CAAC"}
1
+ {"version":3,"file":"git-commit-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-commit-card/git-commit-card.component.ts","../../../../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C,IAAI;6EAAC,CAAC;IAC7G,OAAO,GAAmB,QAAQ,CAAC,GAAG,EAAE;QACzD,MAAM,KAAK,GAAW,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC;QAClD,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,IAAI,EAAE,CAAC;IAC3E,CAAC;gFAAC,CAAC;IACgB,SAAS,GAAoB,QAAQ,CAAC,GAAG,EAAE,CAC5D,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,KAAK,IAAI,CAAC;kFAAC,CAAC;IAEpI,MAAM,GAA2B,KAAK,CAAC,QAAQ;+EAAa,CAAC;IAEnE,MAAM;QACd,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IAC9C,CAAC;uGAnBU,sBAAsB;2FAAtB,sBAAsB,qNCtBnC,4rBAgBA,4sBDEY,eAAe,mJAAE,WAAW,ysBAAE,kBAAkB;;2FAI/C,sBAAsB;kBANlC,SAAS;+BACE,qBAAqB,WACtB,CAAC,eAAe,EAAE,WAAW,EAAE,kBAAkB,CAAC"}
@@ -98,10 +98,10 @@ export class GitFileGroupComponent {
98
98
  return next;
99
99
  }
100
100
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitFileGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
101
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GitFileGroupComponent, isStandalone: true, selector: "nol-git-file-group", inputs: { group: { classPropertyName: "group", publicName: "group", 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<h3 class=\"header\">\n <span class=\"title\">{{ resources.groupTitles[group().kind] }}</span>\n <span class=\"count\">{{ group().rows.length }}</span>\n <span class=\"spacer\"></span>\n @if (group().kind !== kinds.Conflicts) {\n @let label = group().kind === kinds.Staged ? resources.unstageAllLabel : resources.stageAllLabel;\n <button nol-icon-button type=\"button\" class=\"move-all\" [icon]=\"group().kind === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"label\"\n [nolTooltip]=\"label\" [disabled]=\"state.busy()\" (click)=\"moveAll()\"></button>\n }\n</h3>\n<ul class=\"files\">\n @for (row of shownRows(); track row.key) {\n @let isOpen = open().has(row.key);\n @let moveLabel = row.group === kinds.Staged ? resources.formatUnstage(row.path) : resources.formatStage(row.path);\n <li>\n <div class=\"file\" [class.open]=\"isOpen\">\n @if (row.group === kinds.Conflicts) {\n <div class=\"name\" [nolTooltip]=\"row.path\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </div>\n } @else {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </button>\n }\n @if (isOpen) {\n @let wrapLabel = wrapped().has(row.key) ? resources.unwrapLinesLabel : resources.wrapLinesLabel;\n <button nol-icon-button type=\"button\" class=\"wrap\" [icon]=\"resources.wrapIcon\" [pressed]=\"wrapped().has(row.key)\" [label]=\"wrapLabel\" [nolTooltip]=\"wrapLabel\"\n (click)=\"toggleWrap(row)\"></button>\n }\n @if (row.group !== kinds.Conflicts) {\n @let diffLabel = isOpen ? resources.hideDiffLabel : resources.showDiffLabel;\n <button nol-icon-button type=\"button\" class=\"expand\" [icon]=\"isOpen ? resources.collapseIcon : resources.expandIcon\" [label]=\"diffLabel\" [nolTooltip]=\"diffLabel\"\n [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\"></button>\n }\n <button nol-icon-button type=\"button\" class=\"move\" [icon]=\"row.group === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"moveLabel\"\n [nolTooltip]=\"moveLabel\" [disabled]=\"state.busy()\" (click)=\"move(row)\"></button>\n </div>\n @if (isOpen) {\n <div class=\"diff\" [class.wrapped]=\"wrapped().has(row.key)\">\n @for (line of rowsOf(row); track $index) {\n <div [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\" [class.meta-line]=\"line.kind === lineKinds.Meta\">{{ line.text }}</div>\n }\n </div>\n }\n </li>\n }\n @if (hiddenCount() > 0) {\n <li>\n <button type=\"button\" class=\"more\" (click)=\"showsAll.set(true)\">{{ resources.formatMoreFiles(hiddenCount()) }}</button>\n </li>\n }\n</ul>\n\n<ng-template #nameOf let-row>\n <span class=\"state\" [attr.data-tone]=\"row.tone\">{{ row.letter }}</span>\n <nol-file-badge [fileName]=\"row.fileName\" />\n <span class=\"path\"><span class=\"directory\">{{ row.directory }}</span>{{ row.fileName }}</span>\n @if (row.kind; as kind) {\n <span class=\"kind\">{{ kind }}</span>\n } @else if (row.counts; as counts) {\n <span class=\"counts\"><span class=\"added\">{{ resources.addedPrefix }}{{ counts.added }}</span>@if (row.tone !== tones.Untracked) {<span class=\"removed\">{{ resources.removedPrefix }}{{ counts.removed }}</span>}</span>\n }\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 --nol-git-more-indent: 2.25rem;\n --nol-git-count-gap: 0.25em;\n --nol-git-diff-height: 24rem;\n --nol-git-diff-padding: 0.375rem;\n\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n min-width: 0;\n overflow: hidden;\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.header {\n display: flex;\n gap: var(--nol-tab-part-gap);\n align-items: center;\n height: var(--nol-section-header-height);\n margin: 0;\n padding: 0 var(--nol-space-1) 0 var(--nol-space-2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n letter-spacing: var(--nol-letter-spacing-caps);\n line-height: inherit;\n text-transform: uppercase;\n}\n\n.count {\n font-weight: normal;\n letter-spacing: 0;\n}\n\n.spacer {\n flex: 1;\n}\n\n.files {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.files > li + li {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.file {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-height: var(--nol-section-header-height);\n padding: 0 var(--nol-space-1) 0 0;\n}\n\n.file.open,\n.file:hover {\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.name {\n display: flex;\n flex: 1;\n gap: var(--nol-space-2);\n align-items: center;\n align-self: stretch;\n min-width: 0;\n padding: 0 0 0 var(--nol-git-card-padding);\n border: 0;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.more {\n display: block;\n width: 100%;\n min-height: var(--nol-section-header-height);\n padding: 0 0 0 var(--nol-git-more-indent);\n border: 0;\n background: none;\n color: var(--nol-text-muted);\n font: inherit;\n text-align: start;\n}\n\n.more:hover {\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.state {\n flex: none;\n width: var(--nol-icon);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-strong);\n text-align: center;\n}\n\n.state[data-tone=\"Modified\"] {\n color: var(--nol-warning);\n}\n\n.state[data-tone=\"Added\"],\n.state[data-tone=\"Untracked\"],\n.added {\n color: var(--nol-added);\n}\n\n.state[data-tone=\"Removed\"],\n.removed {\n color: var(--nol-removed);\n}\n\n.state[data-tone=\"Conflict\"] {\n color: var(--nol-status-failed);\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.directory,\n.kind {\n color: var(--nol-text-muted);\n}\n\n.counts,\n.kind {\n flex: none;\n font-size: var(--nol-text-label);\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n margin-inline-start: var(--nol-git-count-gap);\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-git-diff-height);\n overflow: auto;\n padding: var(--nol-git-diff-padding) 0;\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff.wrapped {\n grid-template-columns: minmax(0, 1fr);\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.diff > div {\n padding-inline: var(--nol-space-3);\n}\n\n.added-line {\n background-color: var(--nol-added-background);\n}\n\n.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.meta-line {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
101
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GitFileGroupComponent, isStandalone: true, selector: "nol-git-file-group", inputs: { group: { classPropertyName: "group", publicName: "group", 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<h3 class=\"header\">\n <span class=\"title\">{{ resources.groupTitles[group().kind] }}</span>\n <span class=\"count\">{{ group().rows.length }}</span>\n <span class=\"spacer\"></span>\n @if (group().kind !== kinds.Conflicts) {\n @let label = group().kind === kinds.Staged ? resources.unstageAllLabel : resources.stageAllLabel;\n <button nol-icon-button type=\"button\" class=\"move-all\" [icon]=\"group().kind === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"label\"\n [nolTooltip]=\"label\" [disabled]=\"state.busy()\" (click)=\"moveAll()\"></button>\n }\n</h3>\n<ul class=\"files\">\n @for (row of shownRows(); track row.key) {\n @let isOpen = open().has(row.key);\n @let moveLabel = row.group === kinds.Staged ? resources.formatUnstage(row.path) : resources.formatStage(row.path);\n <li>\n <div class=\"file\" [class.open]=\"isOpen\">\n @if (row.group === kinds.Conflicts) {\n <div class=\"name\" [nolTooltip]=\"row.path\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </div>\n } @else {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </button>\n }\n @if (isOpen) {\n @let wrapLabel = wrapped().has(row.key) ? resources.unwrapLinesLabel : resources.wrapLinesLabel;\n <button nol-icon-button type=\"button\" class=\"wrap\" [icon]=\"resources.wrapIcon\" [pressed]=\"wrapped().has(row.key)\" [label]=\"wrapLabel\" [nolTooltip]=\"wrapLabel\"\n (click)=\"toggleWrap(row)\"></button>\n }\n @if (row.group !== kinds.Conflicts) {\n @let diffLabel = isOpen ? resources.hideDiffLabel : resources.showDiffLabel;\n <button nol-icon-button type=\"button\" class=\"expand\" [icon]=\"isOpen ? resources.collapseIcon : resources.expandIcon\" [label]=\"diffLabel\" [nolTooltip]=\"diffLabel\"\n [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\"></button>\n }\n <button nol-icon-button type=\"button\" class=\"move\" [icon]=\"row.group === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"moveLabel\"\n [nolTooltip]=\"moveLabel\" [disabled]=\"state.busy()\" (click)=\"move(row)\"></button>\n </div>\n @if (isOpen) {\n <div class=\"diff\" [class.wrapped]=\"wrapped().has(row.key)\">\n @for (line of rowsOf(row); track $index) {\n <div [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\" [class.meta-line]=\"line.kind === lineKinds.Meta\">{{ line.text }}</div>\n }\n </div>\n }\n </li>\n }\n @if (hiddenCount() > 0) {\n <li>\n <button type=\"button\" class=\"more\" (click)=\"showsAll.set(true)\">{{ resources.formatMoreFiles(hiddenCount()) }}</button>\n </li>\n }\n</ul>\n\n<ng-template #nameOf let-row>\n <span class=\"state\" [attr.data-tone]=\"row.tone\">{{ row.letter }}</span>\n <nol-file-badge [fileName]=\"row.fileName\" />\n <span class=\"path\"><span class=\"directory\">{{ row.directory }}</span>{{ row.fileName }}</span>\n @if (row.kind; as kind) {\n <span class=\"kind\">{{ kind }}</span>\n } @else if (row.counts; as counts) {\n <span class=\"counts\"><span class=\"added\">{{ resources.addedPrefix }}{{ counts.added }}</span>@if (row.tone !== tones.Untracked) {<span class=\"removed\">{{ resources.removedPrefix }}{{ counts.removed }}</span>}</span>\n }\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: grid;\n grid-template-columns: minmax(0, 1fr);\n min-width: 0;\n overflow: hidden;\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.header {\n display: flex;\n gap: var(--nol-tab-part-gap);\n align-items: center;\n height: var(--nol-section-header-height);\n margin: 0;\n padding: 0 var(--nol-space-1) 0 var(--nol-space-2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n letter-spacing: var(--nol-letter-spacing-caps);\n line-height: inherit;\n text-transform: uppercase;\n}\n\n.count {\n font-weight: normal;\n letter-spacing: 0;\n}\n\n.spacer {\n flex: 1;\n}\n\n.files {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.files > li + li {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.file {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-height: var(--nol-section-header-height);\n padding: 0 var(--nol-space-1) 0 0;\n}\n\n.file.open,\n.file:hover {\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.name {\n display: flex;\n flex: 1;\n gap: var(--nol-space-2);\n align-items: center;\n align-self: stretch;\n min-width: 0;\n padding: 0 0 0 var(--nol-view-padding-inline);\n border: 0;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.more {\n display: block;\n width: 100%;\n min-height: var(--nol-section-header-height);\n padding: 0 0 0 var(--nol-nested-row-indent);\n border: 0;\n background: none;\n color: var(--nol-text-muted);\n font: inherit;\n text-align: start;\n}\n\n.more:hover {\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.state {\n flex: none;\n width: var(--nol-icon);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-strong);\n text-align: center;\n}\n\n.state[data-tone=\"Modified\"] {\n color: var(--nol-warning);\n}\n\n.state[data-tone=\"Added\"],\n.state[data-tone=\"Untracked\"],\n.added {\n color: var(--nol-added);\n}\n\n.state[data-tone=\"Removed\"],\n.removed {\n color: var(--nol-removed);\n}\n\n.state[data-tone=\"Conflict\"] {\n color: var(--nol-status-failed);\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.directory,\n.kind {\n color: var(--nol-text-muted);\n}\n\n.counts,\n.kind {\n flex: none;\n font-size: var(--nol-text-label);\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n margin-inline-start: var(--nol-count-gap);\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-diff-view-max-height);\n overflow: auto;\n padding: var(--nol-diff-view-padding-block) 0;\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff.wrapped {\n grid-template-columns: minmax(0, 1fr);\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.diff > div {\n padding-inline: var(--nol-space-3);\n}\n\n.added-line {\n background-color: var(--nol-added-background);\n}\n\n.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.meta-line {\n color: var(--nol-text-muted);\n}\n"], dependencies: [{ kind: "component", type: FileBadgeComponent, selector: "nol-file-badge", inputs: ["fileName", "isFolder"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
102
102
  }
103
103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitFileGroupComponent, decorators: [{
104
104
  type: Component,
105
- args: [{ selector: "nol-git-file-group", imports: [FileBadgeComponent, IconButtonComponent, NgTemplateOutlet, 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<h3 class=\"header\">\n <span class=\"title\">{{ resources.groupTitles[group().kind] }}</span>\n <span class=\"count\">{{ group().rows.length }}</span>\n <span class=\"spacer\"></span>\n @if (group().kind !== kinds.Conflicts) {\n @let label = group().kind === kinds.Staged ? resources.unstageAllLabel : resources.stageAllLabel;\n <button nol-icon-button type=\"button\" class=\"move-all\" [icon]=\"group().kind === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"label\"\n [nolTooltip]=\"label\" [disabled]=\"state.busy()\" (click)=\"moveAll()\"></button>\n }\n</h3>\n<ul class=\"files\">\n @for (row of shownRows(); track row.key) {\n @let isOpen = open().has(row.key);\n @let moveLabel = row.group === kinds.Staged ? resources.formatUnstage(row.path) : resources.formatStage(row.path);\n <li>\n <div class=\"file\" [class.open]=\"isOpen\">\n @if (row.group === kinds.Conflicts) {\n <div class=\"name\" [nolTooltip]=\"row.path\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </div>\n } @else {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </button>\n }\n @if (isOpen) {\n @let wrapLabel = wrapped().has(row.key) ? resources.unwrapLinesLabel : resources.wrapLinesLabel;\n <button nol-icon-button type=\"button\" class=\"wrap\" [icon]=\"resources.wrapIcon\" [pressed]=\"wrapped().has(row.key)\" [label]=\"wrapLabel\" [nolTooltip]=\"wrapLabel\"\n (click)=\"toggleWrap(row)\"></button>\n }\n @if (row.group !== kinds.Conflicts) {\n @let diffLabel = isOpen ? resources.hideDiffLabel : resources.showDiffLabel;\n <button nol-icon-button type=\"button\" class=\"expand\" [icon]=\"isOpen ? resources.collapseIcon : resources.expandIcon\" [label]=\"diffLabel\" [nolTooltip]=\"diffLabel\"\n [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\"></button>\n }\n <button nol-icon-button type=\"button\" class=\"move\" [icon]=\"row.group === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"moveLabel\"\n [nolTooltip]=\"moveLabel\" [disabled]=\"state.busy()\" (click)=\"move(row)\"></button>\n </div>\n @if (isOpen) {\n <div class=\"diff\" [class.wrapped]=\"wrapped().has(row.key)\">\n @for (line of rowsOf(row); track $index) {\n <div [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\" [class.meta-line]=\"line.kind === lineKinds.Meta\">{{ line.text }}</div>\n }\n </div>\n }\n </li>\n }\n @if (hiddenCount() > 0) {\n <li>\n <button type=\"button\" class=\"more\" (click)=\"showsAll.set(true)\">{{ resources.formatMoreFiles(hiddenCount()) }}</button>\n </li>\n }\n</ul>\n\n<ng-template #nameOf let-row>\n <span class=\"state\" [attr.data-tone]=\"row.tone\">{{ row.letter }}</span>\n <nol-file-badge [fileName]=\"row.fileName\" />\n <span class=\"path\"><span class=\"directory\">{{ row.directory }}</span>{{ row.fileName }}</span>\n @if (row.kind; as kind) {\n <span class=\"kind\">{{ kind }}</span>\n } @else if (row.counts; as counts) {\n <span class=\"counts\"><span class=\"added\">{{ resources.addedPrefix }}{{ counts.added }}</span>@if (row.tone !== tones.Untracked) {<span class=\"removed\">{{ resources.removedPrefix }}{{ counts.removed }}</span>}</span>\n }\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 --nol-git-more-indent: 2.25rem;\n --nol-git-count-gap: 0.25em;\n --nol-git-diff-height: 24rem;\n --nol-git-diff-padding: 0.375rem;\n\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n min-width: 0;\n overflow: hidden;\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.header {\n display: flex;\n gap: var(--nol-tab-part-gap);\n align-items: center;\n height: var(--nol-section-header-height);\n margin: 0;\n padding: 0 var(--nol-space-1) 0 var(--nol-space-2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n letter-spacing: var(--nol-letter-spacing-caps);\n line-height: inherit;\n text-transform: uppercase;\n}\n\n.count {\n font-weight: normal;\n letter-spacing: 0;\n}\n\n.spacer {\n flex: 1;\n}\n\n.files {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.files > li + li {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.file {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-height: var(--nol-section-header-height);\n padding: 0 var(--nol-space-1) 0 0;\n}\n\n.file.open,\n.file:hover {\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.name {\n display: flex;\n flex: 1;\n gap: var(--nol-space-2);\n align-items: center;\n align-self: stretch;\n min-width: 0;\n padding: 0 0 0 var(--nol-git-card-padding);\n border: 0;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.more {\n display: block;\n width: 100%;\n min-height: var(--nol-section-header-height);\n padding: 0 0 0 var(--nol-git-more-indent);\n border: 0;\n background: none;\n color: var(--nol-text-muted);\n font: inherit;\n text-align: start;\n}\n\n.more:hover {\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.state {\n flex: none;\n width: var(--nol-icon);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-strong);\n text-align: center;\n}\n\n.state[data-tone=\"Modified\"] {\n color: var(--nol-warning);\n}\n\n.state[data-tone=\"Added\"],\n.state[data-tone=\"Untracked\"],\n.added {\n color: var(--nol-added);\n}\n\n.state[data-tone=\"Removed\"],\n.removed {\n color: var(--nol-removed);\n}\n\n.state[data-tone=\"Conflict\"] {\n color: var(--nol-status-failed);\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.directory,\n.kind {\n color: var(--nol-text-muted);\n}\n\n.counts,\n.kind {\n flex: none;\n font-size: var(--nol-text-label);\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n margin-inline-start: var(--nol-git-count-gap);\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-git-diff-height);\n overflow: auto;\n padding: var(--nol-git-diff-padding) 0;\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff.wrapped {\n grid-template-columns: minmax(0, 1fr);\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.diff > div {\n padding-inline: var(--nol-space-3);\n}\n\n.added-line {\n background-color: var(--nol-added-background);\n}\n\n.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.meta-line {\n color: var(--nol-text-muted);\n}\n"] }]
105
+ args: [{ selector: "nol-git-file-group", imports: [FileBadgeComponent, IconButtonComponent, NgTemplateOutlet, 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<h3 class=\"header\">\n <span class=\"title\">{{ resources.groupTitles[group().kind] }}</span>\n <span class=\"count\">{{ group().rows.length }}</span>\n <span class=\"spacer\"></span>\n @if (group().kind !== kinds.Conflicts) {\n @let label = group().kind === kinds.Staged ? resources.unstageAllLabel : resources.stageAllLabel;\n <button nol-icon-button type=\"button\" class=\"move-all\" [icon]=\"group().kind === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"label\"\n [nolTooltip]=\"label\" [disabled]=\"state.busy()\" (click)=\"moveAll()\"></button>\n }\n</h3>\n<ul class=\"files\">\n @for (row of shownRows(); track row.key) {\n @let isOpen = open().has(row.key);\n @let moveLabel = row.group === kinds.Staged ? resources.formatUnstage(row.path) : resources.formatStage(row.path);\n <li>\n <div class=\"file\" [class.open]=\"isOpen\">\n @if (row.group === kinds.Conflicts) {\n <div class=\"name\" [nolTooltip]=\"row.path\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </div>\n } @else {\n <button type=\"button\" class=\"name\" [nolTooltip]=\"row.path\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\">\n <ng-container [ngTemplateOutlet]=\"nameOf\" [ngTemplateOutletContext]=\"{ $implicit: row }\" />\n </button>\n }\n @if (isOpen) {\n @let wrapLabel = wrapped().has(row.key) ? resources.unwrapLinesLabel : resources.wrapLinesLabel;\n <button nol-icon-button type=\"button\" class=\"wrap\" [icon]=\"resources.wrapIcon\" [pressed]=\"wrapped().has(row.key)\" [label]=\"wrapLabel\" [nolTooltip]=\"wrapLabel\"\n (click)=\"toggleWrap(row)\"></button>\n }\n @if (row.group !== kinds.Conflicts) {\n @let diffLabel = isOpen ? resources.hideDiffLabel : resources.showDiffLabel;\n <button nol-icon-button type=\"button\" class=\"expand\" [icon]=\"isOpen ? resources.collapseIcon : resources.expandIcon\" [label]=\"diffLabel\" [nolTooltip]=\"diffLabel\"\n [attr.aria-expanded]=\"isOpen\" (click)=\"toggle(row)\"></button>\n }\n <button nol-icon-button type=\"button\" class=\"move\" [icon]=\"row.group === kinds.Staged ? resources.unstageIcon : resources.stageIcon\" [label]=\"moveLabel\"\n [nolTooltip]=\"moveLabel\" [disabled]=\"state.busy()\" (click)=\"move(row)\"></button>\n </div>\n @if (isOpen) {\n <div class=\"diff\" [class.wrapped]=\"wrapped().has(row.key)\">\n @for (line of rowsOf(row); track $index) {\n <div [class.added-line]=\"line.kind === lineKinds.Added\" [class.removed-line]=\"line.kind === lineKinds.Removed\" [class.meta-line]=\"line.kind === lineKinds.Meta\">{{ line.text }}</div>\n }\n </div>\n }\n </li>\n }\n @if (hiddenCount() > 0) {\n <li>\n <button type=\"button\" class=\"more\" (click)=\"showsAll.set(true)\">{{ resources.formatMoreFiles(hiddenCount()) }}</button>\n </li>\n }\n</ul>\n\n<ng-template #nameOf let-row>\n <span class=\"state\" [attr.data-tone]=\"row.tone\">{{ row.letter }}</span>\n <nol-file-badge [fileName]=\"row.fileName\" />\n <span class=\"path\"><span class=\"directory\">{{ row.directory }}</span>{{ row.fileName }}</span>\n @if (row.kind; as kind) {\n <span class=\"kind\">{{ kind }}</span>\n } @else if (row.counts; as counts) {\n <span class=\"counts\"><span class=\"added\">{{ resources.addedPrefix }}{{ counts.added }}</span>@if (row.tone !== tones.Untracked) {<span class=\"removed\">{{ resources.removedPrefix }}{{ counts.removed }}</span>}</span>\n }\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: grid;\n grid-template-columns: minmax(0, 1fr);\n min-width: 0;\n overflow: hidden;\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.header {\n display: flex;\n gap: var(--nol-tab-part-gap);\n align-items: center;\n height: var(--nol-section-header-height);\n margin: 0;\n padding: 0 var(--nol-space-1) 0 var(--nol-space-2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-emphasis);\n letter-spacing: var(--nol-letter-spacing-caps);\n line-height: inherit;\n text-transform: uppercase;\n}\n\n.count {\n font-weight: normal;\n letter-spacing: 0;\n}\n\n.spacer {\n flex: 1;\n}\n\n.files {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.files > li + li {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.file {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-height: var(--nol-section-header-height);\n padding: 0 var(--nol-space-1) 0 0;\n}\n\n.file.open,\n.file:hover {\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.name {\n display: flex;\n flex: 1;\n gap: var(--nol-space-2);\n align-items: center;\n align-self: stretch;\n min-width: 0;\n padding: 0 0 0 var(--nol-view-padding-inline);\n border: 0;\n background: none;\n color: var(--nol-text);\n font: inherit;\n text-align: start;\n}\n\n.more {\n display: block;\n width: 100%;\n min-height: var(--nol-section-header-height);\n padding: 0 0 0 var(--nol-nested-row-indent);\n border: 0;\n background: none;\n color: var(--nol-text-muted);\n font: inherit;\n text-align: start;\n}\n\n.more:hover {\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.state {\n flex: none;\n width: var(--nol-icon);\n font-size: var(--nol-text-label);\n font-weight: var(--nol-weight-strong);\n text-align: center;\n}\n\n.state[data-tone=\"Modified\"] {\n color: var(--nol-warning);\n}\n\n.state[data-tone=\"Added\"],\n.state[data-tone=\"Untracked\"],\n.added {\n color: var(--nol-added);\n}\n\n.state[data-tone=\"Removed\"],\n.removed {\n color: var(--nol-removed);\n}\n\n.state[data-tone=\"Conflict\"] {\n color: var(--nol-status-failed);\n}\n\n.path {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.directory,\n.kind {\n color: var(--nol-text-muted);\n}\n\n.counts,\n.kind {\n flex: none;\n font-size: var(--nol-text-label);\n font-variant-numeric: tabular-nums;\n}\n\n.removed {\n margin-inline-start: var(--nol-count-gap);\n}\n\n.diff {\n display: grid;\n grid-template-columns: minmax(max-content, 1fr);\n max-height: var(--nol-diff-view-max-height);\n overflow: auto;\n padding: var(--nol-diff-view-padding-block) 0;\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n white-space: pre;\n}\n\n.diff.wrapped {\n grid-template-columns: minmax(0, 1fr);\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.diff > div {\n padding-inline: var(--nol-space-3);\n}\n\n.added-line {\n background-color: var(--nol-added-background);\n}\n\n.removed-line {\n background-color: var(--nol-removed-background);\n}\n\n.meta-line {\n color: var(--nol-text-muted);\n}\n"] }]
106
106
  }], ctorParameters: () => [], propDecorators: { group: [{ type: i0.Input, args: [{ isSignal: true, alias: "group", required: true }] }] } });
107
107
  //# sourceMappingURL=git-file-group.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-file-group.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-file-group/git-file-group.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-file-group/git-file-group.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE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B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAChB,OAAO,IAAI,CAAC;IACd,CAAC;uGApFU,qBAAqB;2FAArB,qBAAqB,iNC7BlC,yyHAwEA,sjID/CY,kBAAkB,6FAAE,mBAAmB,2MAAE,gBAAgB,oJAAE,gBAAgB;;2FAI1E,qBAAqB;kBANjC,SAAS;+BACE,oBAAoB,WACrB,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,CAAC"}
1
+ {"version":3,"file":"git-file-group.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-file-group/git-file-group.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-file-group/git-file-group.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAiC,MAAM,EAAE,SAAS,EAAuB,MAAM,eAAe,CAAC;AAEhK,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAE3G,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAG1D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;;AAQ/E,MAAM,OAAO,qBAAqB;IACf,QAAQ,GAAwB,IAAI,GAAG,EAAE,CAAC;IAC1C,MAAM,GAAiB,MAAM,CAAC,YAA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AU,CAAC,cAAc,CAAC,IAAI,EAAE,mBAAmB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACrF,CAAC;QACD,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,OAAO;YACxC,OAAO;QACT,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3D,CAAC;IAEO,MAAM,CAAC,OAAO,CAAC,OAA4B,EAAE,GAAW;QAC9D,MAAM,IAAI,GAAgB,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;QAC3C,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAChB,OAAO,IAAI,CAAC;IACd,CAAC;uGApFU,qBAAqB;2FAArB,qBAAqB,iNC7BlC,yyHAwEA,w7HD/CY,kBAAkB,6FAAE,mBAAmB,2MAAE,gBAAgB,oJAAE,gBAAgB;;2FAI1E,qBAAqB;kBANjC,SAAS;+BACE,oBAAoB,WACrB,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,CAAC"}
@@ -53,10 +53,10 @@ export class GitHostRowComponent {
53
53
  }
54
54
  }
55
55
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitHostRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
56
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GitHostRowComponent, isStandalone: true, selector: "nol-git-host-row", inputs: { remote: { classPropertyName: "remote", publicName: "remote", isSignal: true, isRequired: true, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null }, 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 (row(); as row) {\n <ng-container *ngComponentOutlet=\"row.component; inputs: inputs(); injector: row.injector\" />\n} @else {\n <div class=\"plain\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.plainRemoteIcon }}</span>\n <span class=\"plain-text\">{{ plainLine() }}</span>\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 display: block;\n min-width: 0;\n}\n\n.plain {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n padding: var(--nol-space-2) var(--nol-git-card-padding);\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 color: var(--nol-text-muted);\n}\n\n.plain-text {\n flex: 1;\n min-width: 0;\n font-size: var(--nol-text-label);\n overflow-wrap: anywhere;\n}\n"], dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] });
56
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GitHostRowComponent, isStandalone: true, selector: "nol-git-host-row", inputs: { remote: { classPropertyName: "remote", publicName: "remote", isSignal: true, isRequired: true, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null }, 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 (row(); as row) {\n <ng-container *ngComponentOutlet=\"row.component; inputs: inputs(); injector: row.injector\" />\n} @else {\n <div class=\"plain\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.plainRemoteIcon }}</span>\n <span class=\"plain-text\">{{ plainLine() }}</span>\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 display: block;\n min-width: 0;\n}\n\n.plain {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\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 color: var(--nol-text-muted);\n}\n\n.plain-text {\n flex: 1;\n min-width: 0;\n font-size: var(--nol-text-label);\n overflow-wrap: anywhere;\n}\n"], dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] });
57
57
  }
58
58
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitHostRowComponent, decorators: [{
59
59
  type: Component,
60
- args: [{ selector: "nol-git-host-row", imports: [NgComponentOutlet], 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 (row(); as row) {\n <ng-container *ngComponentOutlet=\"row.component; inputs: inputs(); injector: row.injector\" />\n} @else {\n <div class=\"plain\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.plainRemoteIcon }}</span>\n <span class=\"plain-text\">{{ plainLine() }}</span>\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 display: block;\n min-width: 0;\n}\n\n.plain {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n padding: var(--nol-space-2) var(--nol-git-card-padding);\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 color: var(--nol-text-muted);\n}\n\n.plain-text {\n flex: 1;\n min-width: 0;\n font-size: var(--nol-text-label);\n overflow-wrap: anywhere;\n}\n"] }]
60
+ args: [{ selector: "nol-git-host-row", imports: [NgComponentOutlet], 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 (row(); as row) {\n <ng-container *ngComponentOutlet=\"row.component; inputs: inputs(); injector: row.injector\" />\n} @else {\n <div class=\"plain\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.plainRemoteIcon }}</span>\n <span class=\"plain-text\">{{ plainLine() }}</span>\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 display: block;\n min-width: 0;\n}\n\n.plain {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\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 color: var(--nol-text-muted);\n}\n\n.plain-text {\n flex: 1;\n min-width: 0;\n font-size: var(--nol-text-label);\n overflow-wrap: anywhere;\n}\n"] }]
61
61
  }], propDecorators: { remote: [{ type: i0.Input, args: [{ isSignal: true, alias: "remote", required: true }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: true }] }], folder: [{ type: i0.Input, args: [{ isSignal: true, alias: "folder", required: true }] }] } });
62
62
  //# sourceMappingURL=git-host-row.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-host-row.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-host-row/git-host-row.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-host-row/git-host-row.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAA4C,MAAM,eAAe,CAAC;AACvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAkC,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;;AAQ9D,MAAM,OAAO,mBAAmB;IACb,QAAQ,GAAa,MAAM,CAAC,QAAQ,CAAC,CAAC;IACtC,QAAQ,GAAuC,QAAQ,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;iFAAC,CAAC;IAE/F,SAAS,GAAqB,SAAS,CAAC;IACxC,GAAG,GAAsF,QAAQ,CAAC,GAAG,EAAE;QACxH,MAAM,QAAQ,GAA+B,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC7D,OAAO,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YAChC,SAAS,EAAE,QAAQ,CAAC,GAAG,CAAC,SAAS;YACjC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;SACrI,CAAC;IACJ,C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CAAC,iBAAiB,CAAC"}
1
+ {"version":3,"file":"git-host-row.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-host-row/git-host-row.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-host-row/git-host-row.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAA4C,MAAM,eAAe,CAAC;AACvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAkC,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxF,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;;AAQ9D,MAAM,OAAO,mBAAmB;IACb,QAAQ,GAAa,MAAM,CAAC,QAAQ,CAAC,CAAC;IACtC,QAAQ,GAAuC,QAAQ,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;iFAAC,CAAC;IAE/F,SAAS,GAAqB,SAAS,CAAC;IACxC,GAAG,GAAsF,QAAQ,CAAC,GAAG,EAAE;QACxH,MAAM,QAAQ,GAA+B,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC7D,OAAO,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YAChC,SAAS,EAAE,QAAQ,CAAC,GAAG,CAAC,SAAS;YACjC,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;SACrI,CAA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AkB,WACnB,CAAC,iBAAiB,CAAC"}
@@ -63,10 +63,10 @@ export class GitViewComponent {
63
63
  }
64
64
  }
65
65
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
66
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GitViewComponent, isStandalone: true, selector: "nol-git-view", providers: [GitViewStateService], 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 (empty(); as empty) {\n <div class=\"empty\">\n <span class=\"empty-icon material-symbols-rounded\" aria-hidden=\"true\">{{ empty.icon }}</span>\n <h2 class=\"heading\">{{ empty.heading }}</h2>\n <p class=\"text\">{{ empty.text }}</p>\n @if (offersGit()) {\n <span class=\"actions\">\n <button nol-button type=\"button\" (click)=\"getGit()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.openLinkIcon }}</span>{{ resources.getGitLabel }}</button>\n <button nol-button type=\"button\" [variant]=\"secondary\" (click)=\"checkAgain()\">{{ resources.checkAgainLabel }}</button>\n </span>\n }\n </div>\n} @else if (state.status(); as status) {\n <div class=\"body\">\n <nol-git-branch-card [status]=\"status\" />\n @if (status.remote; as remote) {\n <nol-git-host-row [remote]=\"remote\" [status]=\"status\" [folder]=\"state.folder() ?? ''\" />\n }\n @if (operationOf(status.operation); as operation) {\n <div class=\"banner\" role=\"status\">\n <span class=\"banner-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n <span class=\"banner-text\"><span class=\"strong\">{{ operation }}</span><span class=\"muted\">{{ resources.formatConflictText(state.conflicts()) }}</span></span>\n </div>\n }\n @if (state.watchFailure(); as watchFailure) {\n <div class=\"banner\" role=\"status\">\n <span class=\"banner-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.watchFailedIcon }}</span>\n <span class=\"banner-text\">{{ watchFailure }}</span>\n <button nol-button type=\"button\" class=\"banner-action\" [variant]=\"secondary\" (click)=\"followAgain()\">{{ resources.checkAgainLabel }}</button>\n </div>\n }\n @if (state.failure(); as failure) {\n <div class=\"banner\" role=\"alert\">\n <span class=\"banner-icon failed material-symbols-rounded\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"banner-text\">{{ failure }}</span>\n <button nol-button type=\"button\" class=\"banner-action\" [variant]=\"secondary\" (click)=\"dismissFailure()\">{{ resources.dismissLabel }}</button>\n </div>\n }\n @for (group of state.groups(); track group.kind) {\n <nol-git-file-group [group]=\"group\" />\n } @empty {\n <p class=\"quiet\">{{ resources.noChanges }}</p>\n }\n @if (status.truncated) {\n <p class=\"quiet\">{{ resources.listCut }}</p>\n }\n <nol-git-commit-card [status]=\"status\" />\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 --nol-git-card-padding: 0.625rem;\n --nol-git-empty-icon: 1.25rem;\n\n position: relative;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.body {\n display: grid;\n gap: var(--nol-space-2);\n align-content: start;\n padding: var(--nol-space-1) var(--nol-space-2) var(--nol-space-3);\n}\n\n.banner {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\n padding: var(--nol-space-2) var(--nol-git-card-padding);\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.banner-icon {\n flex: none;\n margin-top: var(--nol-tab-inset);\n font-size: var(--nol-icon);\n}\n\n.banner-text {\n display: grid;\n flex: 1;\n gap: var(--nol-tab-inset);\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.banner-action {\n flex: none;\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.failed {\n color: var(--nol-status-failed);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.quiet {\n margin: 0;\n padding: 0 var(--nol-git-card-padding);\n}\n\n.empty {\n display: grid;\n gap: var(--nol-space-2);\n justify-items: start;\n padding: var(--nol-space-3) var(--nol-space-4);\n}\n\n.empty-icon {\n width: var(--nol-git-empty-icon);\n height: var(--nol-git-empty-icon);\n color: var(--nol-text-muted);\n font-size: var(--nol-git-empty-icon);\n}\n\n.heading {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.text {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.actions {\n display: flex;\n gap: var(--nol-space-2);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GitBranchCardComponent, selector: "nol-git-branch-card", inputs: ["status"] }, { kind: "component", type: GitCommitCardComponent, selector: "nol-git-commit-card", inputs: ["status"] }, { kind: "component", type: GitFileGroupComponent, selector: "nol-git-file-group", inputs: ["group"] }, { kind: "component", type: GitHostRowComponent, selector: "nol-git-host-row", inputs: ["remote", "status", "folder"] }] });
66
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: GitViewComponent, isStandalone: true, selector: "nol-git-view", providers: [GitViewStateService], 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 (empty(); as empty) {\n <div class=\"empty\">\n <span class=\"empty-icon material-symbols-rounded\" aria-hidden=\"true\">{{ empty.icon }}</span>\n <h2 class=\"heading\">{{ empty.heading }}</h2>\n <p class=\"text\">{{ empty.text }}</p>\n @if (offersGit()) {\n <span class=\"actions\">\n <button nol-button type=\"button\" (click)=\"getGit()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.openLinkIcon }}</span>{{ resources.getGitLabel }}</button>\n <button nol-button type=\"button\" [variant]=\"secondary\" (click)=\"checkAgain()\">{{ resources.checkAgainLabel }}</button>\n </span>\n }\n </div>\n} @else if (state.status(); as status) {\n <div class=\"body\">\n <nol-git-branch-card [status]=\"status\" />\n @if (status.remote; as remote) {\n <nol-git-host-row [remote]=\"remote\" [status]=\"status\" [folder]=\"state.folder() ?? ''\" />\n }\n @if (operationOf(status.operation); as operation) {\n <div class=\"banner\" role=\"status\">\n <span class=\"banner-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n <span class=\"banner-text\"><span class=\"strong\">{{ operation }}</span><span class=\"muted\">{{ resources.formatConflictText(state.conflicts()) }}</span></span>\n </div>\n }\n @if (state.watchFailure(); as watchFailure) {\n <div class=\"banner\" role=\"status\">\n <span class=\"banner-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.watchFailedIcon }}</span>\n <span class=\"banner-text\">{{ watchFailure }}</span>\n <button nol-button type=\"button\" class=\"banner-action\" [variant]=\"secondary\" (click)=\"followAgain()\">{{ resources.checkAgainLabel }}</button>\n </div>\n }\n @if (state.failure(); as failure) {\n <div class=\"banner\" role=\"alert\">\n <span class=\"banner-icon failed material-symbols-rounded\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"banner-text\">{{ failure }}</span>\n <button nol-button type=\"button\" class=\"banner-action\" [variant]=\"secondary\" (click)=\"dismissFailure()\">{{ resources.dismissLabel }}</button>\n </div>\n }\n @for (group of state.groups(); track group.kind) {\n <nol-git-file-group [group]=\"group\" />\n } @empty {\n <p class=\"quiet\">{{ resources.noChanges }}</p>\n }\n @if (status.truncated) {\n <p class=\"quiet\">{{ resources.listCut }}</p>\n }\n <nol-git-commit-card [status]=\"status\" />\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: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.body {\n display: grid;\n gap: var(--nol-space-2);\n align-content: start;\n padding: var(--nol-space-1) var(--nol-space-2) var(--nol-space-3);\n}\n\n.banner {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\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.banner-icon {\n flex: none;\n margin-top: var(--nol-tab-inset);\n font-size: var(--nol-icon);\n}\n\n.banner-text {\n display: grid;\n flex: 1;\n gap: var(--nol-tab-inset);\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.banner-action {\n flex: none;\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.failed {\n color: var(--nol-status-failed);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.quiet {\n margin: 0;\n padding: 0 var(--nol-view-padding-inline);\n}\n\n.empty {\n display: grid;\n gap: var(--nol-space-2);\n justify-items: start;\n padding: var(--nol-space-3) var(--nol-space-4);\n}\n\n.empty-icon {\n width: var(--nol-empty-icon);\n height: var(--nol-empty-icon);\n color: var(--nol-text-muted);\n font-size: var(--nol-empty-icon);\n}\n\n.heading {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.text {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.actions {\n display: flex;\n gap: var(--nol-space-2);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: GitBranchCardComponent, selector: "nol-git-branch-card", inputs: ["status"] }, { kind: "component", type: GitCommitCardComponent, selector: "nol-git-commit-card", inputs: ["status"] }, { kind: "component", type: GitFileGroupComponent, selector: "nol-git-file-group", inputs: ["group"] }, { kind: "component", type: GitHostRowComponent, selector: "nol-git-host-row", inputs: ["remote", "status", "folder"] }] });
67
67
  }
68
68
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GitViewComponent, decorators: [{
69
69
  type: Component,
70
- args: [{ selector: "nol-git-view", imports: [ButtonComponent, GitBranchCardComponent, GitCommitCardComponent, GitFileGroupComponent, GitHostRowComponent], providers: [GitViewStateService], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (empty(); as empty) {\n <div class=\"empty\">\n <span class=\"empty-icon material-symbols-rounded\" aria-hidden=\"true\">{{ empty.icon }}</span>\n <h2 class=\"heading\">{{ empty.heading }}</h2>\n <p class=\"text\">{{ empty.text }}</p>\n @if (offersGit()) {\n <span class=\"actions\">\n <button nol-button type=\"button\" (click)=\"getGit()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.openLinkIcon }}</span>{{ resources.getGitLabel }}</button>\n <button nol-button type=\"button\" [variant]=\"secondary\" (click)=\"checkAgain()\">{{ resources.checkAgainLabel }}</button>\n </span>\n }\n </div>\n} @else if (state.status(); as status) {\n <div class=\"body\">\n <nol-git-branch-card [status]=\"status\" />\n @if (status.remote; as remote) {\n <nol-git-host-row [remote]=\"remote\" [status]=\"status\" [folder]=\"state.folder() ?? ''\" />\n }\n @if (operationOf(status.operation); as operation) {\n <div class=\"banner\" role=\"status\">\n <span class=\"banner-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n <span class=\"banner-text\"><span class=\"strong\">{{ operation }}</span><span class=\"muted\">{{ resources.formatConflictText(state.conflicts()) }}</span></span>\n </div>\n }\n @if (state.watchFailure(); as watchFailure) {\n <div class=\"banner\" role=\"status\">\n <span class=\"banner-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.watchFailedIcon }}</span>\n <span class=\"banner-text\">{{ watchFailure }}</span>\n <button nol-button type=\"button\" class=\"banner-action\" [variant]=\"secondary\" (click)=\"followAgain()\">{{ resources.checkAgainLabel }}</button>\n </div>\n }\n @if (state.failure(); as failure) {\n <div class=\"banner\" role=\"alert\">\n <span class=\"banner-icon failed material-symbols-rounded\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"banner-text\">{{ failure }}</span>\n <button nol-button type=\"button\" class=\"banner-action\" [variant]=\"secondary\" (click)=\"dismissFailure()\">{{ resources.dismissLabel }}</button>\n </div>\n }\n @for (group of state.groups(); track group.kind) {\n <nol-git-file-group [group]=\"group\" />\n } @empty {\n <p class=\"quiet\">{{ resources.noChanges }}</p>\n }\n @if (status.truncated) {\n <p class=\"quiet\">{{ resources.listCut }}</p>\n }\n <nol-git-commit-card [status]=\"status\" />\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 --nol-git-card-padding: 0.625rem;\n --nol-git-empty-icon: 1.25rem;\n\n position: relative;\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.body {\n display: grid;\n gap: var(--nol-space-2);\n align-content: start;\n padding: var(--nol-space-1) var(--nol-space-2) var(--nol-space-3);\n}\n\n.banner {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\n padding: var(--nol-space-2) var(--nol-git-card-padding);\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.banner-icon {\n flex: none;\n margin-top: var(--nol-tab-inset);\n font-size: var(--nol-icon);\n}\n\n.banner-text {\n display: grid;\n flex: 1;\n gap: var(--nol-tab-inset);\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.banner-action {\n flex: none;\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.failed {\n color: var(--nol-status-failed);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.quiet {\n margin: 0;\n padding: 0 var(--nol-git-card-padding);\n}\n\n.empty {\n display: grid;\n gap: var(--nol-space-2);\n justify-items: start;\n padding: var(--nol-space-3) var(--nol-space-4);\n}\n\n.empty-icon {\n width: var(--nol-git-empty-icon);\n height: var(--nol-git-empty-icon);\n color: var(--nol-text-muted);\n font-size: var(--nol-git-empty-icon);\n}\n\n.heading {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.text {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.actions {\n display: flex;\n gap: var(--nol-space-2);\n}\n"] }]
70
+ args: [{ selector: "nol-git-view", imports: [ButtonComponent, GitBranchCardComponent, GitCommitCardComponent, GitFileGroupComponent, GitHostRowComponent], providers: [GitViewStateService], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (empty(); as empty) {\n <div class=\"empty\">\n <span class=\"empty-icon material-symbols-rounded\" aria-hidden=\"true\">{{ empty.icon }}</span>\n <h2 class=\"heading\">{{ empty.heading }}</h2>\n <p class=\"text\">{{ empty.text }}</p>\n @if (offersGit()) {\n <span class=\"actions\">\n <button nol-button type=\"button\" (click)=\"getGit()\"><span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.openLinkIcon }}</span>{{ resources.getGitLabel }}</button>\n <button nol-button type=\"button\" [variant]=\"secondary\" (click)=\"checkAgain()\">{{ resources.checkAgainLabel }}</button>\n </span>\n }\n </div>\n} @else if (state.status(); as status) {\n <div class=\"body\">\n <nol-git-branch-card [status]=\"status\" />\n @if (status.remote; as remote) {\n <nol-git-host-row [remote]=\"remote\" [status]=\"status\" [folder]=\"state.folder() ?? ''\" />\n }\n @if (operationOf(status.operation); as operation) {\n <div class=\"banner\" role=\"status\">\n <span class=\"banner-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.mergeIcon }}</span>\n <span class=\"banner-text\"><span class=\"strong\">{{ operation }}</span><span class=\"muted\">{{ resources.formatConflictText(state.conflicts()) }}</span></span>\n </div>\n }\n @if (state.watchFailure(); as watchFailure) {\n <div class=\"banner\" role=\"status\">\n <span class=\"banner-icon warning material-symbols-rounded\" aria-hidden=\"true\">{{ resources.watchFailedIcon }}</span>\n <span class=\"banner-text\">{{ watchFailure }}</span>\n <button nol-button type=\"button\" class=\"banner-action\" [variant]=\"secondary\" (click)=\"followAgain()\">{{ resources.checkAgainLabel }}</button>\n </div>\n }\n @if (state.failure(); as failure) {\n <div class=\"banner\" role=\"alert\">\n <span class=\"banner-icon failed material-symbols-rounded\" aria-hidden=\"true\">{{ resources.failureIcon }}</span>\n <span class=\"banner-text\">{{ failure }}</span>\n <button nol-button type=\"button\" class=\"banner-action\" [variant]=\"secondary\" (click)=\"dismissFailure()\">{{ resources.dismissLabel }}</button>\n </div>\n }\n @for (group of state.groups(); track group.kind) {\n <nol-git-file-group [group]=\"group\" />\n } @empty {\n <p class=\"quiet\">{{ resources.noChanges }}</p>\n }\n @if (status.truncated) {\n <p class=\"quiet\">{{ resources.listCut }}</p>\n }\n <nol-git-commit-card [status]=\"status\" />\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: flex;\n flex-direction: column;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n overflow: auto;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.body {\n display: grid;\n gap: var(--nol-space-2);\n align-content: start;\n padding: var(--nol-space-1) var(--nol-space-2) var(--nol-space-3);\n}\n\n.banner {\n display: flex;\n gap: var(--nol-space-2);\n align-items: flex-start;\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.banner-icon {\n flex: none;\n margin-top: var(--nol-tab-inset);\n font-size: var(--nol-icon);\n}\n\n.banner-text {\n display: grid;\n flex: 1;\n gap: var(--nol-tab-inset);\n min-width: 0;\n overflow-wrap: anywhere;\n}\n\n.banner-action {\n flex: none;\n}\n\n.warning {\n color: var(--nol-warning);\n}\n\n.failed {\n color: var(--nol-status-failed);\n}\n\n.strong {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.muted,\n.quiet {\n color: var(--nol-text-muted);\n}\n\n.quiet {\n margin: 0;\n padding: 0 var(--nol-view-padding-inline);\n}\n\n.empty {\n display: grid;\n gap: var(--nol-space-2);\n justify-items: start;\n padding: var(--nol-space-3) var(--nol-space-4);\n}\n\n.empty-icon {\n width: var(--nol-empty-icon);\n height: var(--nol-empty-icon);\n color: var(--nol-text-muted);\n font-size: var(--nol-empty-icon);\n}\n\n.heading {\n margin: 0;\n color: var(--nol-text-strong);\n font-size: inherit;\n font-weight: var(--nol-weight-emphasis);\n line-height: inherit;\n}\n\n.text {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.actions {\n display: flex;\n gap: var(--nol-space-2);\n}\n"] }]
71
71
  }] });
72
72
  //# sourceMappingURL=git-view.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-view.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-view/git-view.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-view/git-view.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAe,MAAM,eAAe,CAAC;AACzE,OAAO,EAA2B,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEpF,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAEhF,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;;AAShF,MAAM,OAAO,gBAAgB;IACV,OAAO,GAAuB,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAE7D,SAAS,GAAqB,SAAS,CAAC;IACxC,MAAM,GAAwB,YAAY,CAAC;IAC3C,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACnD,KAAK,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACzD,KAAK,GAAiC,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;8EAAC,CAAC;IACvF,SAAS,GAAoB,QAAQ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,uBAAuB,EAAE,SAAS,CAAC,0BAA0B,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;YAC7J,KAAK,YAAY,CAAC,UAAU;gBAC1B,OAAO,IAAI,aAAa,CAAC,SAAS,CAAC,cAAc,EAAE,SAAS,CAAC,iBAAiB,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;YAC5G,KAAK,YAAY,CAAC,SAAS;gBACzB,OAAO,IAAI,aAAa,CAAC,SAAS,CAAC,aAAa,EAAE,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;YACxI,KAAK,YAAY,CAAC,MAAM;gBACtB,OAAO,IAAI,aAAa,CAAC,SAAS,CAAC,WAAW,EAAE,SAAS,CAAC,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC;YACrG,KAAK,YAAY,CAAC,YAAY;gBAC5B,OAAO,IAAI,aAAa,CAAC,SAAS,CAAC,WAAW,EAAE,SAAS,CAAC,mBAAmB,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC;YAC3G;gBACE,OAAO,IAAI,CAAC;QAChB,CAAC;IACH,CAAC;uGAjDU,gBAAgB;2FAAhB,gBAAgB,2DAJhB,CAAC,mBAAmB,CAAC,0BCzBlC,wuFAyDA,osEDjCY,eAAe,oJAAE,sBAAsB,oFAAE,sBAAsB,oFAAE,qBAAqB,kFAAE,mBAAmB;;2FAK1G,gBAAgB;kBAP5B,SAAS;+BACE,cAAc,WACf,CAAC,eAAe,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,mBAAmB,CAAC,aAC3G,CAAC,mBAAmB,CAAC"}
1
+ {"version":3,"file":"git-view.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-view/git-view.component.ts","../../../../../../../../src/noldova.git.window/src/app/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