@noldova/git.window 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/package.json +5 -5
  2. package/src/app/components/git-accounts/git-accounts.component.js +2 -2
  3. package/src/app/components/git-accounts/git-accounts.component.js.map +1 -1
  4. package/src/app/components/git-branch-card/git-branch-card.component.js +2 -2
  5. package/src/app/components/git-branch-card/git-branch-card.component.js.map +1 -1
  6. package/src/app/components/git-command-log/git-command-log.component.js +2 -2
  7. package/src/app/components/git-commit-card/git-commit-card.component.js +5 -15
  8. package/src/app/components/git-commit-card/git-commit-card.component.js.map +1 -1
  9. package/src/app/components/git-conflicts/git-conflicts.component.js +2 -2
  10. package/src/app/components/git-conflicts/git-conflicts.component.js.map +1 -1
  11. package/src/app/components/git-history/git-history.component.js +19 -3
  12. package/src/app/components/git-history/git-history.component.js.map +1 -1
  13. package/src/app/components/git-undo-menu/git-undo-menu.component.js +20 -4
  14. package/src/app/components/git-undo-menu/git-undo-menu.component.js.map +1 -1
  15. package/src/app/components/git-view/git-view.component.js +4 -2
  16. package/src/app/components/git-view/git-view.component.js.map +1 -1
  17. package/src/app/services/git-view-commands.js +46 -0
  18. package/src/app/services/git-view-commands.js.map +1 -0
  19. package/src/app/services/git-view-state.service.js +50 -0
  20. package/src/app/services/git-view-state.service.js.map +1 -1
  21. package/src/app/services/git-window-part.js +4 -1
  22. package/src/app/services/git-window-part.js.map +1 -1
  23. package/src/resources.js +17 -0
  24. package/src/resources.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noldova/git.window",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "The Git module's window part: the Git view of a folder's branch, changes and commit.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  "@noldova/context.core": ">=0.0.18 <0.1.0",
43
43
  "@noldova/context.exceptions": ">=0.0.18 <0.1.0",
44
44
  "@noldova/context.json": ">=0.0.18 <0.1.0",
45
- "@noldova/desktop.window": ">=0.0.18 <0.1.0",
45
+ "@noldova/desktop.window": ">=0.0.19 <0.1.0",
46
46
  "@noldova/ui.components.angular": ">=0.0.44 <0.1.0"
47
47
  },
48
48
  "peerDependenciesMeta": {
@@ -87,8 +87,8 @@
87
87
  }
88
88
  },
89
89
  "dependencies": {
90
- "@noldova/git.hosting.protocol": "0.0.9",
91
- "@noldova/git.protocol": "0.0.9"
90
+ "@noldova/git.hosting.protocol": "0.0.10",
91
+ "@noldova/git.protocol": "0.0.10"
92
92
  },
93
- "gitHead": "9f5500a19b8eb3c3a4da847dc487d553243402f3"
93
+ "gitHead": "eedb612e4e62dc05d714de998def800b222028a3"
94
94
  }
@@ -39,10 +39,10 @@ export class GitAccountsComponent {
39
39
  });
40
40
  }
41
41
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAccountsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitAccountsComponent, isStandalone: true, selector: "nol-git-accounts", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\n</div>\n", styles: ["/*\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
42
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitAccountsComponent, isStandalone: true, selector: "nol-git-accounts", ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\n</div>\n", styles: ["/*\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "component", type: AvatarComponent, selector: "nol-avatar", inputs: ["name", "image", "initials", "color", "colorKey", "size", "label", "decorative", "unavailable", "filled", "filledColor"] }, { kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "component", type: MenuComponent, selector: "nol-menu", inputs: ["minWidth"] }, { kind: "component", type: MenuItemComponent, selector: "button[nol-menu-item]", inputs: ["label", "icon", "checked", "checkbox", "shortcut", "description", "value", "tag", "danger", "isShowingChevron"] }, { kind: "directive", type: MenuTriggerDirective, selector: "[nolMenuTriggerFor]", inputs: ["nolMenuTriggerFor", "nolMenuAlignment"], exportAs: ["nolMenuTriggerFor"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
43
43
  }
44
44
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitAccountsComponent, decorators: [{
45
45
  type: Component,
46
- args: [{ selector: "nol-git-accounts", imports: [AvatarComponent, ButtonComponent, ChipComponent, IconButtonComponent, MenuComponent, MenuItemComponent, MenuTriggerDirective, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\n</div>\n", styles: ["/*\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"] }]
46
+ args: [{ selector: "nol-git-accounts", imports: [AvatarComponent, ButtonComponent, ChipComponent, IconButtonComponent, MenuComponent, MenuItemComponent, MenuTriggerDirective, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"page\">\n <section class=\"accounts\" [attr.aria-label]=\"resources.accountsTitle\">\n <div class=\"head\">\n <h2 class=\"title\">{{ resources.accountsTitle }}</h2>\n <button type=\"button\" nol-button class=\"add\" [disabled]=\"accounts().length === 0\" [nolMenuTriggerFor]=\"hosts\">\n <span class=\"material-symbols-rounded\" nolButtonIcon aria-hidden=\"true\">{{ resources.addAccountIcon }}</span>{{ resources.addAccount }}\n </button>\n <ng-template #hosts>\n <nol-menu>\n @for (provided of accounts(); track provided) {\n <button nol-menu-item [label]=\"provided.account.host\" (triggered)=\"open(provided, resources.formatSignInTitle(provided.account.host))\"></button>\n }\n </nol-menu>\n </ng-template>\n </div>\n <p class=\"intro\">{{ resources.accountsIntro }}</p>\n @for (provided of accounts(); track provided) {\n <div class=\"host\" [attr.data-setting]=\"rowOf(provided)\">\n @for (card of provided.account.cards(); track $index) {\n <div class=\"card\">\n @if (card.person; as person) {\n <span class=\"mark person\" aria-hidden=\"true\">\n <nol-avatar [name]=\"person.login\" [image]=\"person.avatar\" [initials]=\"initialOf(person)\" [colorKey]=\"person.login\" [decorative]=\"true\" />\n </span>\n } @else {\n <span class=\"mark\" [style.background-color]=\"provided.account.markColor\" aria-hidden=\"true\">{{ provided.account.mark }}</span>\n }\n <span class=\"text\">\n <span class=\"card-title\">{{ card.title }}</span>\n <span class=\"detail\">{{ card.detail }}</span>\n </span>\n @if (card.asksToSignIn) {\n <button type=\"button\" nol-button [variant]=\"secondary\" (click)=\"open(provided, resources.formatSignInTitle(provided.account.host), card.account)\">{{ card.label }}</button>\n } @else {\n <span class=\"end\">\n <nol-chip [kind]=\"chipOf(card)\">{{ card.label }}</nol-chip>\n <button type=\"button\" nol-icon-button [icon]=\"resources.manageAccountIcon\" [label]=\"resources.formatManageAccount(provided.account.host)\"\n [nolTooltip]=\"resources.formatManageAccount(provided.account.host)\"\n (click)=\"open(provided, resources.formatAccountRowTitle(provided.account.host), card.account)\"></button>\n </span>\n }\n </div>\n }\n </div>\n } @empty {\n <p class=\"intro\">{{ resources.noHosts }}</p>\n }\n </section>\n <section class=\"features\" [attr.aria-label]=\"resources.featuresTitle\">\n <h2 class=\"title\">{{ resources.featuresTitle }}</h2>\n <div class=\"matrix\" role=\"table\" [attr.aria-label]=\"resources.featuresTitle\" [style.--git-host-columns]=\"accounts().length\">\n <div class=\"matrix-row caps\" role=\"row\">\n <span role=\"columnheader\"></span>\n @for (provided of accounts(); track provided) {\n <span role=\"columnheader\">{{ provided.account.column }}</span>\n }\n </div>\n @for (feature of resources.hostFeatures; track feature) {\n <div class=\"matrix-row\" role=\"row\">\n <span role=\"rowheader\">{{ resources.hostFeatureTitles[feature] }}</span>\n @for (provided of accounts(); track provided) {\n <span role=\"cell\" class=\"answer\" [class.yes]=\"has(provided, feature)\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ has(provided, feature) ? resources.featureYesIcon : resources.featureNoIcon }}</span>\n <span class=\"answer-text\">{{ has(provided, feature) ? resources.featureYes : resources.featureNo }}</span>\n </span>\n }\n </div>\n }\n </div>\n </section>\n</div>\n", styles: ["/*\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n container-type: inline-size;\n}\n\n.page {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n gap: var(--nol-space-4);\n align-items: start;\n}\n\n@container (min-width: 48rem) {\n .page {\n grid-template-columns: minmax(0, 1fr) 26rem;\n }\n}\n\n.accounts,\n.features {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.accounts {\n gap: var(--nol-space-3);\n}\n\n.features {\n gap: var(--nol-space-2);\n}\n\n.head {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n}\n\n.title {\n flex: 1 1 auto;\n min-width: 0;\n margin: 0;\n font-size: var(--nol-text-title);\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.intro {\n margin: 0;\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.host {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-3);\n}\n\n.card {\n display: grid;\n grid-template-columns: 2rem minmax(0, 1fr) auto;\n gap: var(--nol-space-3);\n align-items: center;\n padding: var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-large);\n background: var(--nol-panel);\n}\n\n.mark {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: var(--nol-radius-medium);\n color: var(--nol-button-text);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.mark.person {\n flex-shrink: 0;\n}\n\n.text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n\n.card-title,\n.detail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.card-title {\n font-weight: var(--nol-weight-emphasis);\n color: var(--nol-text-strong);\n}\n\n.detail {\n font-size: var(--nol-text-small);\n color: var(--nol-text-muted);\n}\n\n.end {\n display: flex;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-end: calc((var(--nol-icon) - var(--nol-icon-button-target)) / 2);\n}\n\n.matrix {\n display: flex;\n flex-direction: column;\n}\n\n.matrix-row {\n display: grid;\n grid-template-columns: minmax(0, 1fr) repeat(var(--git-host-columns), 4.75rem);\n gap: var(--nol-space-1);\n align-items: center;\n min-height: 1.625rem;\n border-bottom: var(--nol-border-width) solid var(--nol-border);\n font-size: var(--nol-text-small);\n}\n\n.caps {\n font-size: 0.625rem;\n text-transform: uppercase;\n letter-spacing: var(--nol-letter-spacing-caps);\n color: var(--nol-text-muted);\n}\n\n.matrix-row > :not(:first-child) {\n text-align: center;\n}\n\n.answer {\n display: flex;\n justify-content: center;\n color: var(--nol-text-muted);\n}\n\n.answer.yes {\n color: var(--nol-status-ok);\n}\n\n.answer .material-symbols-rounded {\n font-size: 1rem;\n color: inherit;\n}\n\n.answer-text {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n"] }]
47
47
  }] });
48
48
  //# sourceMappingURL=git-accounts.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-accounts.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-accounts/git-accounts.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-accounts/git-accounts.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAe,MAAM,eAAe,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAC3K,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAE3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAItE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,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M,CAAC,iBAAiB,EAAE,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE;YAC9C,MAAM,CAAC,KAAK,EAAE,CAAC;QACjB,CAAC,CAAC,CAAC;IACL,CAAC;uGA/BU,oBAAoB;2FAApB,oBAAoB,4EC3BjC,+gIA+EA,8kGDxDY,eAAe,0LAAE,eAAe,oJAAE,aAAa,gFAAE,mBAAmB,2MAAE,aAAa,2EAAE,iBAAiB,6LAAE,oBAAoB,oJAAE,gBAAgB;;2FAI7I,oBAAoB;kBANhC,SAAS;+BACE,kBAAkB,WACnB,CAAC,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC"}
1
+ {"version":3,"file":"git-accounts.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-accounts/git-accounts.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-accounts/git-accounts.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAe,MAAM,eAAe,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAC3K,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAE3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAItE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;;AAQlG,MAAM,OAAO,oBAAoB;IACd,OAAO,GAAkB,MAAM,CAAC,aAAa,CAAC,CAAC;IAE7C,SAAS,GAAqB,SAAS,CAAC;IACxC,SAAS,GAAkB,aAAa,CAA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eAAe,oJAAE,aAAa,gFAAE,mBAAmB,2MAAE,aAAa,2EAAE,iBAAiB,6LAAE,oBAAoB,oJAAE,gBAAgB;;2FAI7I,oBAAoB;kBANhC,SAAS;+BACE,kBAAkB,WACnB,CAAC,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC"}
@@ -118,7 +118,7 @@ export class GitBranchCardComponent {
118
118
  this.isOpen.set(false);
119
119
  }
120
120
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBranchCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
121
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitBranchCardComponent, isStandalone: true, selector: "nol-git-branch-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "document:pointerdown": "closeOutside($event)", "focusout": "closeOnLeave($event)", "keydown.escape": "escape($event)" } }, viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "filter", first: true, predicate: ["filter"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"upstream.gone || state.busy()\"\n [nolTooltip]=\"resources.formatPullHooks(state.pullHooks())\" (pointerenter)=\"loadPullHooks()\" (focus)=\"loadPullHooks()\" (click)=\"pull()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pullIcon }}</span>{{ resources.formatPull(upstream.behind) }}\n </button>\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"upstream.ahead === 0 || state.busy()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pushIcon }}</span>{{ resources.formatPush(upstream.ahead) }}\n </button>\n } @else {\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.publishIcon }}</span>{{ resources.publishLabel }}\n </button>\n }\n }\n</div>\n<div class=\"upstream\">\n @if (upstream(); as upstream) {\n @if (upstream.gone) {\n <span>{{ resources.formatUpstreamGone(upstream.name) }}</span>\n } @else {\n <span>{{ upstream.name }}</span>\n <span>{{ resources.formatAheadBehind(upstream.ahead, upstream.behind) }}</span>\n }\n } @else {\n <span>{{ resources.noUpstream }}</span>\n }\n</div>\n@if (isOpen()) {\n <div class=\"menu\">\n <input #filter class=\"filter\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" aria-controls=\"git-branch-list\"\n [attr.aria-label]=\"resources.branchPickerLabel\" [attr.aria-activedescendant]=\"items().length > 0 ? resources.formatBranchOptionId(active()) : null\"\n [placeholder]=\"resources.branchPickerLabel\" [ngModel]=\"query()\" (ngModelChange)=\"find($event)\" (keydown)=\"onKey($event)\" />\n <div id=\"git-branch-list\" class=\"list\" role=\"listbox\" [attr.aria-label]=\"resources.branchPickerLabel\">\n @for (item of items(); track resources.formatBranchItemKey(item.kind, item.title); let index = $index) {\n @let previous = items()[index - 1];\n @if (item.kind !== kinds.Create && previous?.kind !== item.kind) {\n @if (previous?.kind === kinds.Create) {\n <div class=\"separator\" role=\"presentation\"></div>\n }\n <div class=\"label\" role=\"presentation\">{{ item.kind === kinds.Local ? resources.localBranchesLabel : resources.remoteBranchesLabel }}</div>\n }\n <div [id]=\"resources.formatBranchOptionId(index)\" class=\"item\" role=\"option\" [class.active]=\"index === active()\" [class.current]=\"item.isCurrent\"\n [attr.aria-selected]=\"index === active()\" (pointerdown)=\"$event.preventDefault()\" (pointerenter)=\"chosen.set(index)\" (click)=\"choose(item)\">\n <span class=\"material-symbols-rounded\" [class.hidden]=\"item.kind !== kinds.Create && !item.isCurrent\" aria-hidden=\"true\">{{ item.kind === kinds.Create ? resources.createBranchIcon : resources.currentBranchIcon }}</span>\n <span class=\"title\" data-truncates [nolTooltip]=\"item.title\" [nolTooltipTruncated]=\"true\">{{ item.title }}</span>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n position: relative;\n display: grid;\n gap: var(--nol-tab-part-gap);\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.line {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.name {\n display: inline-flex;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n margin-left: calc(var(--nol-space-1) * -1);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text);\n font: inherit;\n}\n\n.name:hover:not([aria-disabled=\"true\"]),\n.name.open {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.branch {\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.recent-actions {\n display: flex;\n flex: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.pull,\n.push {\n flex: none;\n}\n\n.upstream {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n align-items: center;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.octicon {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.menu {\n position: absolute;\n z-index: 2;\n top: calc(var(--nol-space-2) + var(--nol-button-height) + var(--nol-tab-part-gap));\n right: var(--nol-space-1);\n left: var(--nol-space-1);\n padding: var(--nol-menu-padding);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n}\n\n.filter {\n box-sizing: border-box;\n width: calc(100% - var(--nol-space-1));\n height: var(--nol-field-height);\n margin: var(--nol-tab-inset) var(--nol-tab-inset) var(--nol-space-1);\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-accent);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-input);\n color: var(--nol-text);\n font: inherit;\n}\n\n.filter::placeholder {\n color: var(--nol-placeholder);\n}\n\n.list {\n max-height: var(--nol-list-max-height);\n overflow-y: auto;\n}\n\n.item {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n height: var(--nol-menu-item-height);\n padding: 0 var(--nol-menu-item-padding);\n border-radius: var(--nol-radius-small);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.item:hover:not(.active) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.item.current,\n.item.active {\n --nol-text-muted: var(--nol-list-active-text);\n\n background-color: var(--nol-list-active);\n color: var(--nol-list-active-text);\n}\n\n.item.active {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-active-text: HighlightText;\n\n background-color: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n}\n\n.item .hidden {\n visibility: hidden;\n}\n\n.item .title {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label {\n padding: var(--nol-menu-label-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.separator {\n height: var(--nol-border-width);\n margin: var(--nol-menu-separator-spacing) 0;\n background-color: var(--nol-menu-separator);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitUndoMenuComponent, selector: "nol-git-undo-menu" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
121
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitBranchCardComponent, isStandalone: true, selector: "nol-git-branch-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "document:pointerdown": "closeOutside($event)", "focusout": "closeOnLeave($event)", "keydown.escape": "escape($event)" } }, viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true, isSignal: true }, { propertyName: "filter", first: true, predicate: ["filter"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"!state.canPull()\"\n [nolTooltip]=\"resources.formatPullHooks(state.pullHooks())\" (pointerenter)=\"loadPullHooks()\" (focus)=\"loadPullHooks()\" (click)=\"pull()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pullIcon }}</span>{{ resources.formatPull(upstream.behind) }}\n </button>\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pushIcon }}</span>{{ resources.formatPush(upstream.ahead) }}\n </button>\n } @else {\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.publishIcon }}</span>{{ resources.publishLabel }}\n </button>\n }\n }\n</div>\n<div class=\"upstream\">\n @if (upstream(); as upstream) {\n @if (upstream.gone) {\n <span>{{ resources.formatUpstreamGone(upstream.name) }}</span>\n } @else {\n <span>{{ upstream.name }}</span>\n <span>{{ resources.formatAheadBehind(upstream.ahead, upstream.behind) }}</span>\n }\n } @else {\n <span>{{ resources.noUpstream }}</span>\n }\n</div>\n@if (isOpen()) {\n <div class=\"menu\">\n <input #filter class=\"filter\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" aria-controls=\"git-branch-list\"\n [attr.aria-label]=\"resources.branchPickerLabel\" [attr.aria-activedescendant]=\"items().length > 0 ? resources.formatBranchOptionId(active()) : null\"\n [placeholder]=\"resources.branchPickerLabel\" [ngModel]=\"query()\" (ngModelChange)=\"find($event)\" (keydown)=\"onKey($event)\" />\n <div id=\"git-branch-list\" class=\"list\" role=\"listbox\" [attr.aria-label]=\"resources.branchPickerLabel\">\n @for (item of items(); track resources.formatBranchItemKey(item.kind, item.title); let index = $index) {\n @let previous = items()[index - 1];\n @if (item.kind !== kinds.Create && previous?.kind !== item.kind) {\n @if (previous?.kind === kinds.Create) {\n <div class=\"separator\" role=\"presentation\"></div>\n }\n <div class=\"label\" role=\"presentation\">{{ item.kind === kinds.Local ? resources.localBranchesLabel : resources.remoteBranchesLabel }}</div>\n }\n <div [id]=\"resources.formatBranchOptionId(index)\" class=\"item\" role=\"option\" [class.active]=\"index === active()\" [class.current]=\"item.isCurrent\"\n [attr.aria-selected]=\"index === active()\" (pointerdown)=\"$event.preventDefault()\" (pointerenter)=\"chosen.set(index)\" (click)=\"choose(item)\">\n <span class=\"material-symbols-rounded\" [class.hidden]=\"item.kind !== kinds.Create && !item.isCurrent\" aria-hidden=\"true\">{{ item.kind === kinds.Create ? resources.createBranchIcon : resources.currentBranchIcon }}</span>\n <span class=\"title\" data-truncates [nolTooltip]=\"item.title\" [nolTooltipTruncated]=\"true\">{{ item.title }}</span>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n position: relative;\n display: grid;\n gap: var(--nol-tab-part-gap);\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.line {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.name {\n display: inline-flex;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n margin-left: calc(var(--nol-space-1) * -1);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text);\n font: inherit;\n}\n\n.name:hover:not([aria-disabled=\"true\"]),\n.name.open {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.branch {\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.recent-actions {\n display: flex;\n flex: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.pull,\n.push {\n flex: none;\n}\n\n.upstream {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n align-items: center;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.octicon {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.menu {\n position: absolute;\n z-index: 2;\n top: calc(var(--nol-space-2) + var(--nol-button-height) + var(--nol-tab-part-gap));\n right: var(--nol-space-1);\n left: var(--nol-space-1);\n padding: var(--nol-menu-padding);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n}\n\n.filter {\n box-sizing: border-box;\n width: calc(100% - var(--nol-space-1));\n height: var(--nol-field-height);\n margin: var(--nol-tab-inset) var(--nol-tab-inset) var(--nol-space-1);\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-accent);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-input);\n color: var(--nol-text);\n font: inherit;\n}\n\n.filter::placeholder {\n color: var(--nol-placeholder);\n}\n\n.list {\n max-height: var(--nol-list-max-height);\n overflow-y: auto;\n}\n\n.item {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n height: var(--nol-menu-item-height);\n padding: 0 var(--nol-menu-item-padding);\n border-radius: var(--nol-radius-small);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.item:hover:not(.active) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.item.current,\n.item.active {\n --nol-text-muted: var(--nol-list-active-text);\n\n background-color: var(--nol-list-active);\n color: var(--nol-list-active-text);\n}\n\n.item.active {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-active-text: HighlightText;\n\n background-color: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n}\n\n.item .hidden {\n visibility: hidden;\n}\n\n.item .title {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label {\n padding: var(--nol-menu-label-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.separator {\n height: var(--nol-border-width);\n margin: var(--nol-menu-separator-spacing) 0;\n background-color: var(--nol-menu-separator);\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: GitUndoMenuComponent, selector: "nol-git-undo-menu" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }] });
122
122
  }
123
123
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitBranchCardComponent, decorators: [{
124
124
  type: Component,
@@ -126,6 +126,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImpor
126
126
  "(document:pointerdown)": "closeOutside($event)",
127
127
  "(focusout)": "closeOnLeave($event)",
128
128
  "(keydown.escape)": "escape($event)"
129
- }, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"upstream.gone || state.busy()\"\n [nolTooltip]=\"resources.formatPullHooks(state.pullHooks())\" (pointerenter)=\"loadPullHooks()\" (focus)=\"loadPullHooks()\" (click)=\"pull()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pullIcon }}</span>{{ resources.formatPull(upstream.behind) }}\n </button>\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"upstream.ahead === 0 || state.busy()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pushIcon }}</span>{{ resources.formatPush(upstream.ahead) }}\n </button>\n } @else {\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"state.busy()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.publishIcon }}</span>{{ resources.publishLabel }}\n </button>\n }\n }\n</div>\n<div class=\"upstream\">\n @if (upstream(); as upstream) {\n @if (upstream.gone) {\n <span>{{ resources.formatUpstreamGone(upstream.name) }}</span>\n } @else {\n <span>{{ upstream.name }}</span>\n <span>{{ resources.formatAheadBehind(upstream.ahead, upstream.behind) }}</span>\n }\n } @else {\n <span>{{ resources.noUpstream }}</span>\n }\n</div>\n@if (isOpen()) {\n <div class=\"menu\">\n <input #filter class=\"filter\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" aria-controls=\"git-branch-list\"\n [attr.aria-label]=\"resources.branchPickerLabel\" [attr.aria-activedescendant]=\"items().length > 0 ? resources.formatBranchOptionId(active()) : null\"\n [placeholder]=\"resources.branchPickerLabel\" [ngModel]=\"query()\" (ngModelChange)=\"find($event)\" (keydown)=\"onKey($event)\" />\n <div id=\"git-branch-list\" class=\"list\" role=\"listbox\" [attr.aria-label]=\"resources.branchPickerLabel\">\n @for (item of items(); track resources.formatBranchItemKey(item.kind, item.title); let index = $index) {\n @let previous = items()[index - 1];\n @if (item.kind !== kinds.Create && previous?.kind !== item.kind) {\n @if (previous?.kind === kinds.Create) {\n <div class=\"separator\" role=\"presentation\"></div>\n }\n <div class=\"label\" role=\"presentation\">{{ item.kind === kinds.Local ? resources.localBranchesLabel : resources.remoteBranchesLabel }}</div>\n }\n <div [id]=\"resources.formatBranchOptionId(index)\" class=\"item\" role=\"option\" [class.active]=\"index === active()\" [class.current]=\"item.isCurrent\"\n [attr.aria-selected]=\"index === active()\" (pointerdown)=\"$event.preventDefault()\" (pointerenter)=\"chosen.set(index)\" (click)=\"choose(item)\">\n <span class=\"material-symbols-rounded\" [class.hidden]=\"item.kind !== kinds.Create && !item.isCurrent\" aria-hidden=\"true\">{{ item.kind === kinds.Create ? resources.createBranchIcon : resources.currentBranchIcon }}</span>\n <span class=\"title\" data-truncates [nolTooltip]=\"item.title\" [nolTooltipTruncated]=\"true\">{{ item.title }}</span>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n position: relative;\n display: grid;\n gap: var(--nol-tab-part-gap);\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.line {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.name {\n display: inline-flex;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n margin-left: calc(var(--nol-space-1) * -1);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text);\n font: inherit;\n}\n\n.name:hover:not([aria-disabled=\"true\"]),\n.name.open {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.branch {\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.recent-actions {\n display: flex;\n flex: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.pull,\n.push {\n flex: none;\n}\n\n.upstream {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n align-items: center;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.octicon {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.menu {\n position: absolute;\n z-index: 2;\n top: calc(var(--nol-space-2) + var(--nol-button-height) + var(--nol-tab-part-gap));\n right: var(--nol-space-1);\n left: var(--nol-space-1);\n padding: var(--nol-menu-padding);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n}\n\n.filter {\n box-sizing: border-box;\n width: calc(100% - var(--nol-space-1));\n height: var(--nol-field-height);\n margin: var(--nol-tab-inset) var(--nol-tab-inset) var(--nol-space-1);\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-accent);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-input);\n color: var(--nol-text);\n font: inherit;\n}\n\n.filter::placeholder {\n color: var(--nol-placeholder);\n}\n\n.list {\n max-height: var(--nol-list-max-height);\n overflow-y: auto;\n}\n\n.item {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n height: var(--nol-menu-item-height);\n padding: 0 var(--nol-menu-item-padding);\n border-radius: var(--nol-radius-small);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.item:hover:not(.active) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.item.current,\n.item.active {\n --nol-text-muted: var(--nol-list-active-text);\n\n background-color: var(--nol-list-active);\n color: var(--nol-list-active-text);\n}\n\n.item.active {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-active-text: HighlightText;\n\n background-color: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n}\n\n.item .hidden {\n visibility: hidden;\n}\n\n.item .title {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label {\n padding: var(--nol-menu-label-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.separator {\n height: var(--nol-border-width);\n margin: var(--nol-menu-separator-spacing) 0;\n background-color: var(--nol-menu-separator);\n}\n"] }]
129
+ }, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"line\">\n <button #trigger type=\"button\" class=\"name\" [class.open]=\"isOpen()\" [attr.aria-expanded]=\"isOpen()\" aria-haspopup=\"listbox\" [attr.aria-label]=\"resources.formatSwitchBranch(name())\"\n [nolTooltip]=\"resources.switchBranchLabel\" [attr.aria-disabled]=\"state.busy()\" (click)=\"toggle()\">\n <svg class=\"octicon\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path [attr.d]=\"resources.branchIconPath\" /></svg>\n <span class=\"branch\" data-truncates [nolTooltip]=\"name()\" [nolTooltipTruncated]=\"true\">{{ name() }}</span>\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ isOpen() ? resources.menuOpenIcon : resources.menuClosedIcon }}</span>\n </button>\n <nol-git-undo-menu class=\"recent-actions\" />\n <span class=\"spacer\"></span>\n @if (status().branch !== null) {\n @if (upstream(); as upstream) {\n <button nol-button type=\"button\" class=\"pull\" [variant]=\"secondary\" [disabled]=\"!state.canPull()\"\n [nolTooltip]=\"resources.formatPullHooks(state.pullHooks())\" (pointerenter)=\"loadPullHooks()\" (focus)=\"loadPullHooks()\" (click)=\"pull()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pullIcon }}</span>{{ resources.formatPull(upstream.behind) }}\n </button>\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.pushIcon }}</span>{{ resources.formatPush(upstream.ahead) }}\n </button>\n } @else {\n <button nol-button type=\"button\" class=\"push\" [variant]=\"secondary\" [disabled]=\"!state.canPush()\" (click)=\"push()\">\n <span nolButtonIcon class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.publishIcon }}</span>{{ resources.publishLabel }}\n </button>\n }\n }\n</div>\n<div class=\"upstream\">\n @if (upstream(); as upstream) {\n @if (upstream.gone) {\n <span>{{ resources.formatUpstreamGone(upstream.name) }}</span>\n } @else {\n <span>{{ upstream.name }}</span>\n <span>{{ resources.formatAheadBehind(upstream.ahead, upstream.behind) }}</span>\n }\n } @else {\n <span>{{ resources.noUpstream }}</span>\n }\n</div>\n@if (isOpen()) {\n <div class=\"menu\">\n <input #filter class=\"filter\" type=\"text\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" aria-controls=\"git-branch-list\"\n [attr.aria-label]=\"resources.branchPickerLabel\" [attr.aria-activedescendant]=\"items().length > 0 ? resources.formatBranchOptionId(active()) : null\"\n [placeholder]=\"resources.branchPickerLabel\" [ngModel]=\"query()\" (ngModelChange)=\"find($event)\" (keydown)=\"onKey($event)\" />\n <div id=\"git-branch-list\" class=\"list\" role=\"listbox\" [attr.aria-label]=\"resources.branchPickerLabel\">\n @for (item of items(); track resources.formatBranchItemKey(item.kind, item.title); let index = $index) {\n @let previous = items()[index - 1];\n @if (item.kind !== kinds.Create && previous?.kind !== item.kind) {\n @if (previous?.kind === kinds.Create) {\n <div class=\"separator\" role=\"presentation\"></div>\n }\n <div class=\"label\" role=\"presentation\">{{ item.kind === kinds.Local ? resources.localBranchesLabel : resources.remoteBranchesLabel }}</div>\n }\n <div [id]=\"resources.formatBranchOptionId(index)\" class=\"item\" role=\"option\" [class.active]=\"index === active()\" [class.current]=\"item.isCurrent\"\n [attr.aria-selected]=\"index === active()\" (pointerdown)=\"$event.preventDefault()\" (pointerenter)=\"chosen.set(index)\" (click)=\"choose(item)\">\n <span class=\"material-symbols-rounded\" [class.hidden]=\"item.kind !== kinds.Create && !item.isCurrent\" aria-hidden=\"true\">{{ item.kind === kinds.Create ? resources.createBranchIcon : resources.currentBranchIcon }}</span>\n <span class=\"title\" data-truncates [nolTooltip]=\"item.title\" [nolTooltipTruncated]=\"true\">{{ item.title }}</span>\n </div>\n }\n </div>\n </div>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n position: relative;\n display: grid;\n gap: var(--nol-tab-part-gap);\n min-width: 0;\n padding: var(--nol-space-2) var(--nol-view-padding-inline);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-raised);\n}\n\n.line {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n min-width: 0;\n}\n\n.name {\n display: inline-flex;\n gap: var(--nol-space-1);\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n margin-left: calc(var(--nol-space-1) * -1);\n padding: 0 var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-text);\n font: inherit;\n}\n\n.name:hover:not([aria-disabled=\"true\"]),\n.name.open {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n &:not(:focus-visible) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n }\n}\n\n.branch {\n overflow: hidden;\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.recent-actions {\n display: flex;\n flex: none;\n}\n\n.spacer {\n flex: 1;\n}\n\n.pull,\n.push {\n flex: none;\n}\n\n.upstream {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-2);\n align-items: center;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.octicon {\n flex: none;\n width: var(--nol-icon);\n height: var(--nol-icon);\n fill: currentcolor;\n}\n\n.menu {\n position: absolute;\n z-index: 2;\n top: calc(var(--nol-space-2) + var(--nol-button-height) + var(--nol-tab-part-gap));\n right: var(--nol-space-1);\n left: var(--nol-space-1);\n padding: var(--nol-menu-padding);\n border: var(--nol-border-width) solid var(--nol-menu-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-menu);\n box-shadow: var(--nol-shadow-large);\n color: var(--nol-menu-text);\n}\n\n.filter {\n box-sizing: border-box;\n width: calc(100% - var(--nol-space-1));\n height: var(--nol-field-height);\n margin: var(--nol-tab-inset) var(--nol-tab-inset) var(--nol-space-1);\n padding: 0 var(--nol-field-padding);\n border: var(--nol-border-width) solid var(--nol-accent);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-input);\n color: var(--nol-text);\n font: inherit;\n}\n\n.filter::placeholder {\n color: var(--nol-placeholder);\n}\n\n.list {\n max-height: var(--nol-list-max-height);\n overflow-y: auto;\n}\n\n.item {\n display: flex;\n gap: var(--nol-space-2);\n align-items: center;\n height: var(--nol-menu-item-height);\n padding: 0 var(--nol-menu-item-padding);\n border-radius: var(--nol-radius-small);\n white-space: nowrap;\n cursor: pointer;\n}\n\n.item:hover:not(.active) {\n background-color: var(--nol-hover);\n\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.item.current,\n.item.active {\n --nol-text-muted: var(--nol-list-active-text);\n\n background-color: var(--nol-list-active);\n color: var(--nol-list-active-text);\n}\n\n.item.active {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-active-text: HighlightText;\n\n background-color: Highlight;\n color: HighlightText;\n forced-color-adjust: none;\n }\n}\n\n.item .hidden {\n visibility: hidden;\n}\n\n.item .title {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.label {\n padding: var(--nol-menu-label-padding);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.separator {\n height: var(--nol-border-width);\n margin: var(--nol-menu-separator-spacing) 0;\n background-color: var(--nol-menu-separator);\n}\n"] }]
130
130
  }], ctorParameters: () => [], propDecorators: { trigger: [{ type: i0.ViewChild, args: ["trigger", { isSignal: true }] }], filter: [{ type: i0.ViewChild, args: ["filter", { isSignal: true }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: true }] }] } });
131
131
  //# sourceMappingURL=git-branch-card.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-branch-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EACzG,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;;;AAanF,MAAM,OAAO,sBAAsB;IAChB,OAAO,GAA4B,MAAM,CAAC,UAAU,CAAC,CAAC;IACtD,OAAO,GAA0C,SAAS,CAAC,QAAQ,CAAgC,SAAS;gFAAC,CAAC;IAC9G,MAAM,GAAqD,SAAS,CAA+B,QAAQ;+EAAC,CAAC;IAE3G,SAAS,GAAqB,SAAS,CAAC;IACxC,KAAK,GAA6B,iBAAiB,CAAC;IACpD,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACnD,KAAK,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACzD,MAA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AAC,aAAa,CAAC,KAAK,EAAE,CAAC;IACvC,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;uGAzGU,sBAAsB;2FAAtB,sBAAsB,6jBCjCnC,y0IAoEA,0tID5CY,eAAe,mJAAE,WAAW,ysBAAE,oBAAoB,8DAAE,gBAAgB;;2FASnE,sBAAsB;kBAXlC,SAAS;+BACE,qBAAqB,WACtB,CAAC,eAAe,EAAE,WAAW,EAAE,oBAAoB,EAAE,gBAAgB,CAAC,QAGzE;wBACJ,wBAAwB,EAAE,sBAAsB;wBAChD,YAAY,EAAE,sBAAsB;wBACpC,kBAAkB,EAAE,gBAAgB;qBACrC;+FAImH,SAAS,gEACT,QAAQ"}
1
+ {"version":3,"file":"git-branch-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-branch-card/git-branch-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAoB,MAAM,EAAe,SAAS,EACzG,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElG,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;;;AAanF,MAA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,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,6jBCjCnC,4yIAoEA,0tID5CY,eAAe,mJAAE,WAAW,ysBAAE,oBAAoB,8DAAE,gBAAgB;;2FASnE,sBAAsB;kBAXlC,SAAS;+BACE,qBAAqB,WACtB,CAAC,eAAe,EAAE,WAAW,EAAE,oBAAoB,EAAE,gBAAgB,CAAC,QAGzE;wBACJ,wBAAwB,EAAE,sBAAsB;wBAChD,YAAY,EAAE,sBAAsB;wBACpC,kBAAkB,EAAE,gBAAgB;qBACrC;+FAImH,SAAS,gEACT,QAAQ"}
@@ -115,10 +115,10 @@ export class GitCommandLogComponent {
115
115
  }
116
116
  }
117
117
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommandLogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
118
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitCommandLogComponent, isStandalone: true, selector: "nol-git-command-log", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "list", first: true, predicate: ["list"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<main class=\"panel\" [attr.aria-label]=\"resources.commandLogLabel\">\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (log() !== null && commands().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.commandLogEmpty }}</p>\n } @else {\n <ol #list class=\"commands\">\n @for (command of commands(); track command.id) {\n <li class=\"command\">\n <span class=\"time muted\">{{ timeOf(command) }}</span>\n <span class=\"line mono\" [title]=\"command.line\">{{ command.line }}</span>\n <span class=\"exit\" [class]=\"'exit ' + toneOf(command)\" [title]=\"resources.formatCommandExit(command.exitCode)\">\n <span class=\"exit-icon material-symbols-rounded\" aria-hidden=\"true\">{{ iconOf(command) }}</span>\n <span class=\"exit-text\">{{ resources.formatCommandExit(command.exitCode) }}</span>\n </span>\n <span class=\"duration muted\">{{ resources.formatCommandDuration(command.milliseconds) }}</span>\n </li>\n }\n </ol>\n }\n</main>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.panel {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n}\n\n.exit-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.note {\n margin: 0;\n}\n\n.time,\n.duration {\n font-size: 0.75rem;\n}\n\n.note {\n padding: 0.5rem 0;\n}\n\n.commands {\n flex: 1 1 auto;\n min-height: 0;\n margin: 0;\n padding: 0;\n overflow: auto;\n list-style: none;\n}\n\n.command {\n display: grid;\n grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 4rem;\n gap: 0.75rem;\n align-items: center;\n min-height: 1.75rem;\n}\n\n.line {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n user-select: text;\n}\n\n.exit {\n display: flex;\n gap: 0.25rem;\n align-items: center;\n min-width: 0;\n}\n\n.exit-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.duration {\n text-align: end;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] });
118
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitCommandLogComponent, isStandalone: true, selector: "nol-git-command-log", inputs: { instance: { classPropertyName: "instance", publicName: "instance", isSignal: true, isRequired: true, transformFunction: null } }, viewQueries: [{ propertyName: "list", first: true, predicate: ["list"], descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<main class=\"panel\" [attr.aria-label]=\"resources.commandLogLabel\">\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (log() !== null && commands().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.commandLogEmpty }}</p>\n } @else {\n <ol #list class=\"commands\">\n @for (command of commands(); track command.id) {\n <li class=\"command\">\n <span class=\"time muted\">{{ timeOf(command) }}</span>\n <span class=\"line mono\" [title]=\"command.line\">{{ command.line }}</span>\n <span class=\"exit\" [class]=\"'exit ' + toneOf(command)\" [title]=\"resources.formatCommandExit(command.exitCode)\">\n <span class=\"exit-icon material-symbols-rounded\" aria-hidden=\"true\">{{ iconOf(command) }}</span>\n <span class=\"exit-text\">{{ resources.formatCommandExit(command.exitCode) }}</span>\n </span>\n <span class=\"duration muted\">{{ resources.formatCommandDuration(command.milliseconds) }}</span>\n </li>\n }\n </ol>\n }\n</main>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding-block: var(--nol-view-padding-block);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.panel {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n}\n\n.exit-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.note {\n margin: 0;\n}\n\n.time,\n.duration {\n font-size: 0.75rem;\n}\n\n.note {\n padding: var(--nol-view-padding-block) var(--nol-content-padding-inline);\n}\n\n.commands {\n flex: 1 1 auto;\n min-height: 0;\n margin: 0;\n padding: 0 var(--nol-content-padding-inline);\n overflow: auto;\n list-style: none;\n}\n\n.command {\n display: grid;\n grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 4rem;\n gap: 0.75rem;\n align-items: center;\n min-height: 1.75rem;\n}\n\n.line {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n user-select: text;\n}\n\n.exit {\n display: flex;\n gap: 0.25rem;\n align-items: center;\n min-width: 0;\n}\n\n.exit-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.duration {\n text-align: end;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] });
119
119
  }
120
120
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommandLogComponent, decorators: [{
121
121
  type: Component,
122
- args: [{ selector: "nol-git-command-log", template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<main class=\"panel\" [attr.aria-label]=\"resources.commandLogLabel\">\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (log() !== null && commands().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.commandLogEmpty }}</p>\n } @else {\n <ol #list class=\"commands\">\n @for (command of commands(); track command.id) {\n <li class=\"command\">\n <span class=\"time muted\">{{ timeOf(command) }}</span>\n <span class=\"line mono\" [title]=\"command.line\">{{ command.line }}</span>\n <span class=\"exit\" [class]=\"'exit ' + toneOf(command)\" [title]=\"resources.formatCommandExit(command.exitCode)\">\n <span class=\"exit-icon material-symbols-rounded\" aria-hidden=\"true\">{{ iconOf(command) }}</span>\n <span class=\"exit-text\">{{ resources.formatCommandExit(command.exitCode) }}</span>\n </span>\n <span class=\"duration muted\">{{ resources.formatCommandDuration(command.milliseconds) }}</span>\n </li>\n }\n </ol>\n }\n</main>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.panel {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n}\n\n.exit-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.note {\n margin: 0;\n}\n\n.time,\n.duration {\n font-size: 0.75rem;\n}\n\n.note {\n padding: 0.5rem 0;\n}\n\n.commands {\n flex: 1 1 auto;\n min-height: 0;\n margin: 0;\n padding: 0;\n overflow: auto;\n list-style: none;\n}\n\n.command {\n display: grid;\n grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 4rem;\n gap: 0.75rem;\n align-items: center;\n min-height: 1.75rem;\n}\n\n.line {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n user-select: text;\n}\n\n.exit {\n display: flex;\n gap: 0.25rem;\n align-items: center;\n min-width: 0;\n}\n\n.exit-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.duration {\n text-align: end;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
122
+ args: [{ selector: "nol-git-command-log", template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<main class=\"panel\" [attr.aria-label]=\"resources.commandLogLabel\">\n @if (readFailure(); as failure) {\n <p class=\"note failure\" role=\"alert\">{{ failure }}</p>\n } @else if (log() !== null && commands().length === 0) {\n <p class=\"note muted\" role=\"note\">{{ resources.commandLogEmpty }}</p>\n } @else {\n <ol #list class=\"commands\">\n @for (command of commands(); track command.id) {\n <li class=\"command\">\n <span class=\"time muted\">{{ timeOf(command) }}</span>\n <span class=\"line mono\" [title]=\"command.line\">{{ command.line }}</span>\n <span class=\"exit\" [class]=\"'exit ' + toneOf(command)\" [title]=\"resources.formatCommandExit(command.exitCode)\">\n <span class=\"exit-icon material-symbols-rounded\" aria-hidden=\"true\">{{ iconOf(command) }}</span>\n <span class=\"exit-text\">{{ resources.formatCommandExit(command.exitCode) }}</span>\n </span>\n <span class=\"duration muted\">{{ resources.formatCommandDuration(command.milliseconds) }}</span>\n </li>\n }\n </ol>\n }\n</main>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: flex;\n box-sizing: border-box;\n height: 100%;\n min-height: 0;\n padding-block: var(--nol-view-padding-block);\n color: var(--nol-text);\n font-family: var(--nol-font-sans);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.panel {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow: hidden;\n}\n\n.exit-icon {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.note {\n margin: 0;\n}\n\n.time,\n.duration {\n font-size: 0.75rem;\n}\n\n.note {\n padding: var(--nol-view-padding-block) var(--nol-content-padding-inline);\n}\n\n.commands {\n flex: 1 1 auto;\n min-height: 0;\n margin: 0;\n padding: 0 var(--nol-content-padding-inline);\n overflow: auto;\n list-style: none;\n}\n\n.command {\n display: grid;\n grid-template-columns: 5.5rem minmax(0, 1fr) 8rem 4rem;\n gap: 0.75rem;\n align-items: center;\n min-height: 1.75rem;\n}\n\n.line {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n user-select: text;\n}\n\n.exit {\n display: flex;\n gap: 0.25rem;\n align-items: center;\n min-width: 0;\n}\n\n.exit-text {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.duration {\n text-align: end;\n}\n\n.mono {\n font-family: var(--nol-font-mono);\n}\n\n.failure {\n color: var(--nol-status-failed);\n}\n\n.ok {\n color: var(--nol-status-ok);\n}\n\n.muted {\n color: var(--nol-text-muted);\n}\n"] }]
123
123
  }], ctorParameters: () => [], propDecorators: { list: [{ type: i0.ViewChild, args: ["list", { isSignal: true }] }], instance: [{ type: i0.Input, args: [{ isSignal: true, alias: "instance", required: true }] }] } });
124
124
  //# sourceMappingURL=git-command-log.component.js.map
@@ -21,11 +21,7 @@ export class GitCommitCardComponent {
21
21
  state = inject(GitViewStateService);
22
22
  placeholder = computed(() => this.status().operation?.message ?? Resources.messagePlaceholder, /* @ts-ignore */
23
23
  ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
24
- canAmend = computed(() => {
25
- const status = this.status();
26
- return !Object.isNull(status.head) && Object.isNull(status.operation) && !(!Object.isNull(status.upstream) && !status.upstream.gone && status.upstream.ahead === 0);
27
- }, /* @ts-ignore */
28
- ...(ngDevMode ? [{ debugName: "canAmend" }] : /* istanbul ignore next */ []));
24
+ canAmend = this.state.canAmend;
29
25
  amendTitle = computed(() => this.canAmend() || this.state.amending() ? Resources.amendTitle : Resources.amendPushedTitle, /* @ts-ignore */
30
26
  ...(ngDevMode ? [{ debugName: "amendTitle" }] : /* istanbul ignore next */ []));
31
27
  label = computed(() => {
@@ -42,14 +38,8 @@ export class GitCommitCardComponent {
42
38
  return !Object.isNull(operation) && this.state.conflicts() > 0 ? Resources.formatConflictHint(this.state.conflicts(), operation.kind) : null;
43
39
  }, /* @ts-ignore */
44
40
  ...(ngDevMode ? [{ debugName: "hint" }] : /* istanbul ignore next */ []));
45
- message = computed(() => {
46
- const typed = this.state.message().trim();
47
- return typed.length > 0 ? typed : this.status().operation?.message ?? "";
48
- }, /* @ts-ignore */
49
- ...(ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []));
50
- canCommit = computed(() => !this.state.busy() && this.state.conflicts() === 0 && this.message().length > 0
51
- && (this.state.amending() ? this.canAmend() : this.state.staged() > 0 || !Object.isNull(this.status().operation)), /* @ts-ignore */
52
- ...(ngDevMode ? [{ debugName: "canCommit" }] : /* istanbul ignore next */ []));
41
+ message = this.state.commitMessage;
42
+ canCommit = this.state.canCommit;
53
43
  canPush = computed(() => !this.state.amending() && Object.isNull(this.status().operation) && !Object.isNull(this.status().upstream), /* @ts-ignore */
54
44
  ...(ngDevMode ? [{ debugName: "canPush" }] : /* istanbul ignore next */ []));
55
45
  signingNote = computed(() => {
@@ -69,10 +59,10 @@ export class GitCommitCardComponent {
69
59
  void this.state.commitAndPushAsync(this.message());
70
60
  }
71
61
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommitCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
72
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitCommitCardComponent, isStandalone: true, selector: "nol-git-commit-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"heading\">\n <span class=\"heading-text\">{{ resources.messageLabel }}</span>\n @if (showsAiFeatures()) {\n <button type=\"button\" class=\"tb suggest\" disabled [title]=\"resources.notBuiltYet\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.suggestIcon }}</span>{{ resources.suggestLabel }}\n </button>\n }\n</div>\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<div class=\"amend-row\">\n <label class=\"amend\" [title]=\"amendTitle()\">\n <input #amendBox type=\"checkbox\" [disabled]=\"!canAmend() && !state.amending()\" [checked]=\"state.amending()\" (change)=\"toggleAmend(amendBox.checked)\" />\n <span class=\"amend-text\">{{ resources.amendLabel }}</span>\n </label>\n @if (signingNote(); as note) {\n <span class=\"signing\">{{ note }}</span>\n }\n</div>\n<div class=\"actions\">\n @if (canPush()) {\n <button nol-button type=\"button\" class=\"commit-push\" [variant]=\"secondary\" [disabled]=\"!canCommit()\" (click)=\"commitAndPush()\">{{ resources.commitAndPushLabel }}</button>\n }\n <button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">{{ label() }}</button>\n</div>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: 0.5rem;\n min-width: 0;\n}\n\n.heading,\n.amend-row,\n.amend,\n.actions {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.heading-text,\n.amend-text {\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.heading-text {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.tb {\n display: inline-flex;\n gap: 0.25rem;\n align-items: center;\n height: 1.5rem;\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.tb:disabled {\n opacity: 0.5;\n}\n\n.tb .material-symbols-rounded {\n font-size: 1rem;\n}\n\n.field {\n box-sizing: border-box;\n width: 100%;\n min-height: 4.5rem;\n}\n\n.amend {\n flex: 1 1 auto;\n color: var(--nol-text);\n}\n\n.amend input {\n width: 1.125rem;\n height: 1.125rem;\n margin: 0;\n}\n\n.actions {\n justify-content: flex-end;\n}\n\n.signing,\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.signing {\n flex: none;\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }] });
62
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.3.0", type: GitCommitCardComponent, isStandalone: true, selector: "nol-git-commit-card", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"heading\">\n <span class=\"heading-text\">{{ resources.messageLabel }}</span>\n @if (showsAiFeatures()) {\n <button type=\"button\" class=\"tb suggest\" disabled [title]=\"resources.notBuiltYet\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.suggestIcon }}</span>{{ resources.suggestLabel }}\n </button>\n }\n</div>\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<div class=\"amend-row\">\n <label class=\"amend\" [title]=\"amendTitle()\">\n <input #amendBox type=\"checkbox\" [disabled]=\"!canAmend() && !state.amending()\" [checked]=\"state.amending()\" (change)=\"toggleAmend(amendBox.checked)\" />\n <span class=\"amend-text\">{{ resources.amendLabel }}</span>\n </label>\n @if (signingNote(); as note) {\n <span class=\"signing\">{{ note }}</span>\n }\n</div>\n<div class=\"actions\">\n @if (canPush()) {\n <button nol-button type=\"button\" class=\"commit-push\" [variant]=\"secondary\" [disabled]=\"!canCommit()\" (click)=\"commitAndPush()\">{{ resources.commitAndPushLabel }}</button>\n }\n <button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">{{ label() }}</button>\n</div>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: 0.5rem;\n min-width: 0;\n}\n\n.heading,\n.amend-row,\n.amend,\n.actions {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.heading-text,\n.amend-text {\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.heading-text {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.tb {\n display: inline-flex;\n gap: 0.25rem;\n align-items: center;\n height: 1.5rem;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.suggest {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.tb:disabled {\n opacity: 0.5;\n}\n\n.tb .material-symbols-rounded {\n font-size: 1rem;\n}\n\n.field {\n box-sizing: border-box;\n width: 100%;\n min-height: 4.5rem;\n}\n\n.amend {\n flex: 1 1 auto;\n color: var(--nol-text);\n}\n\n.amend input {\n width: 1.125rem;\n height: 1.125rem;\n margin: 0;\n}\n\n.actions {\n justify-content: flex-end;\n}\n\n.signing,\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.signing {\n flex: none;\n white-space: nowrap;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: TextFieldComponent, selector: "input[nol-text-field], textarea[nol-text-field]", inputs: ["quiet"] }] });
73
63
  }
74
64
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.3.0", ngImport: i0, type: GitCommitCardComponent, decorators: [{
75
65
  type: Component,
76
- args: [{ selector: "nol-git-commit-card", imports: [ButtonComponent, FormsModule, TextFieldComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"heading\">\n <span class=\"heading-text\">{{ resources.messageLabel }}</span>\n @if (showsAiFeatures()) {\n <button type=\"button\" class=\"tb suggest\" disabled [title]=\"resources.notBuiltYet\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.suggestIcon }}</span>{{ resources.suggestLabel }}\n </button>\n }\n</div>\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<div class=\"amend-row\">\n <label class=\"amend\" [title]=\"amendTitle()\">\n <input #amendBox type=\"checkbox\" [disabled]=\"!canAmend() && !state.amending()\" [checked]=\"state.amending()\" (change)=\"toggleAmend(amendBox.checked)\" />\n <span class=\"amend-text\">{{ resources.amendLabel }}</span>\n </label>\n @if (signingNote(); as note) {\n <span class=\"signing\">{{ note }}</span>\n }\n</div>\n<div class=\"actions\">\n @if (canPush()) {\n <button nol-button type=\"button\" class=\"commit-push\" [variant]=\"secondary\" [disabled]=\"!canCommit()\" (click)=\"commitAndPush()\">{{ resources.commitAndPushLabel }}</button>\n }\n <button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">{{ label() }}</button>\n</div>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: 0.5rem;\n min-width: 0;\n}\n\n.heading,\n.amend-row,\n.amend,\n.actions {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.heading-text,\n.amend-text {\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.heading-text {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.tb {\n display: inline-flex;\n gap: 0.25rem;\n align-items: center;\n height: 1.5rem;\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.tb:disabled {\n opacity: 0.5;\n}\n\n.tb .material-symbols-rounded {\n font-size: 1rem;\n}\n\n.field {\n box-sizing: border-box;\n width: 100%;\n min-height: 4.5rem;\n}\n\n.amend {\n flex: 1 1 auto;\n color: var(--nol-text);\n}\n\n.amend input {\n width: 1.125rem;\n height: 1.125rem;\n margin: 0;\n}\n\n.actions {\n justify-content: flex-end;\n}\n\n.signing,\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.signing {\n flex: none;\n white-space: nowrap;\n}\n"] }]
66
+ args: [{ selector: "nol-git-commit-card", imports: [ButtonComponent, FormsModule, TextFieldComponent], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div class=\"heading\">\n <span class=\"heading-text\">{{ resources.messageLabel }}</span>\n @if (showsAiFeatures()) {\n <button type=\"button\" class=\"tb suggest\" disabled [title]=\"resources.notBuiltYet\">\n <span class=\"material-symbols-rounded\" aria-hidden=\"true\">{{ resources.suggestIcon }}</span>{{ resources.suggestLabel }}\n </button>\n }\n</div>\n<textarea nol-text-field class=\"field\" rows=\"3\" [attr.aria-label]=\"resources.messageLabel\" [placeholder]=\"placeholder()\" [ngModel]=\"state.message()\"\n (ngModelChange)=\"state.message.set($event)\"></textarea>\n<div class=\"amend-row\">\n <label class=\"amend\" [title]=\"amendTitle()\">\n <input #amendBox type=\"checkbox\" [disabled]=\"!canAmend() && !state.amending()\" [checked]=\"state.amending()\" (change)=\"toggleAmend(amendBox.checked)\" />\n <span class=\"amend-text\">{{ resources.amendLabel }}</span>\n </label>\n @if (signingNote(); as note) {\n <span class=\"signing\">{{ note }}</span>\n }\n</div>\n<div class=\"actions\">\n @if (canPush()) {\n <button nol-button type=\"button\" class=\"commit-push\" [variant]=\"secondary\" [disabled]=\"!canCommit()\" (click)=\"commitAndPush()\">{{ resources.commitAndPushLabel }}</button>\n }\n <button nol-button type=\"button\" class=\"commit\" [disabled]=\"!canCommit()\" (click)=\"commit()\">{{ label() }}</button>\n</div>\n@if (hint(); as hint) {\n <span class=\"hint\">{{ hint }}</span>\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: 0.5rem;\n min-width: 0;\n}\n\n.heading,\n.amend-row,\n.amend,\n.actions {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n}\n\n.heading-text,\n.amend-text {\n flex: 1 1 auto;\n min-width: 0;\n}\n\n.heading-text {\n color: var(--nol-text-strong);\n font-weight: var(--nol-weight-emphasis);\n}\n\n.tb {\n display: inline-flex;\n gap: 0.25rem;\n align-items: center;\n height: 1.5rem;\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: 0.25rem;\n background: transparent;\n color: var(--nol-text);\n font: inherit;\n font-size: 0.75rem;\n white-space: nowrap;\n}\n\n.suggest {\n margin-inline-end: calc(-1 * var(--nol-pill-padding));\n}\n\n.tb:disabled {\n opacity: 0.5;\n}\n\n.tb .material-symbols-rounded {\n font-size: 1rem;\n}\n\n.field {\n box-sizing: border-box;\n width: 100%;\n min-height: 4.5rem;\n}\n\n.amend {\n flex: 1 1 auto;\n color: var(--nol-text);\n}\n\n.amend input {\n width: 1.125rem;\n height: 1.125rem;\n margin: 0;\n}\n\n.actions {\n justify-content: flex-end;\n}\n\n.signing,\n.hint {\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n}\n\n.signing {\n flex: none;\n white-space: nowrap;\n}\n"] }]
77
67
  }], propDecorators: { status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: true }] }] } });
78
68
  //# sourceMappingURL=git-commit-card.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"git-commit-card.component.js","sourceRoot":"","sources":["../../../../../../../../src/noldova.git.window/src/app/components/git-commit-card/git-commit-card.component.ts","../../../../../../../../src/noldova.git.window/src/app/components/git-commit-card/git-commit-card.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAiC,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;;;AAQ/E,MAAM,OAAO,sBAAsB;IACd,SAAS,GAAqB,SAAS,CAAC;IACxC,eAAe,GAAoB,cAAc,CAAC,eAAe,CAAC;IAClE,SAAS,GAAkB,aAAa,CAAC,SAAS,CAAC;IACnD,KAAK,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;IACzD,WAAW,GAAmB,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,OAAO,IAAI,SAAS,CAAC,kBAAkB;oFAAC,CAAC;IAC/G,QAAQ,GAAoB,QAAQ,CAAC,GAAG,EAAE;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AAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;gFAAC,CAAC;IAEtJ,WAAW,GAA0B,QAAQ,CAAC,GAAG,EAAE;QACpE,MAAM,OAAO,GAA4B,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;QACpE,OAAO,OAAO,EAAE,KAAK,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACnH,CAAC;oFAAC,CAAC;IAEa,MAAM,GAA2B,KAAK,CAAC,QAAQ;+EAAa,CAAC;IAEnE,WAAW,CAAC,OAAgB;QACpC,KAAK,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;IAES,MAAM;QACd,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IAC9C,CAAC;IAES,aAAa;QACrB,KAAK,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IACrD,CAAC;uGAlDU,sBAAsB;2FAAtB,sBAAsB,qNCxBnC,wlDAoCA,g3CDhBY,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","../../../../../../../../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,EAAi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