@noldova/ui.components.angular 0.0.11 → 0.0.12

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 (76) hide show
  1. package/README.md +4 -2
  2. package/api/testing.d.ts +1 -0
  3. package/api/testing.js.map +1 -1
  4. package/app/components/diff-view/diff-view.component.d.ts +1 -0
  5. package/app/components/diff-view/diff-view.component.js +10 -3
  6. package/app/components/diff-view/diff-view.component.js.map +1 -1
  7. package/app/components/gallery/gallery-content.component.d.ts +0 -30
  8. package/app/components/gallery/gallery-content.component.js +10 -79
  9. package/app/components/gallery/gallery-content.component.js.map +1 -1
  10. package/app/components/gallery/gallery-diff-view.component.d.ts +23 -0
  11. package/app/components/gallery/gallery-diff-view.component.js +74 -0
  12. package/app/components/gallery/gallery-diff-view.component.js.map +1 -0
  13. package/app/components/gallery/gallery-mention-field.component.d.ts +18 -0
  14. package/app/components/gallery/gallery-mention-field.component.js +45 -0
  15. package/app/components/gallery/gallery-mention-field.component.js.map +1 -0
  16. package/app/components/gallery/gallery-navigation.component.d.ts +0 -4
  17. package/app/components/gallery/gallery-navigation.component.js +4 -16
  18. package/app/components/gallery/gallery-navigation.component.js.map +1 -1
  19. package/app/components/gallery/gallery-overlays.component.d.ts +0 -13
  20. package/app/components/gallery/gallery-overlays.component.js +6 -32
  21. package/app/components/gallery/gallery-overlays.component.js.map +1 -1
  22. package/app/components/gallery/gallery-permission-card.component.d.ts +13 -0
  23. package/app/components/gallery/gallery-permission-card.component.js +31 -0
  24. package/app/components/gallery/gallery-permission-card.component.js.map +1 -0
  25. package/app/components/gallery/gallery-plan.component.d.ts +11 -0
  26. package/app/components/gallery/gallery-plan.component.js +28 -0
  27. package/app/components/gallery/gallery-plan.component.js.map +1 -0
  28. package/app/components/gallery/gallery-popover.component.d.ts +11 -0
  29. package/app/components/gallery/gallery-popover.component.js +30 -0
  30. package/app/components/gallery/gallery-popover.component.js.map +1 -0
  31. package/app/components/gallery/gallery-status-colors.component.d.ts +8 -0
  32. package/app/components/gallery/gallery-status-colors.component.js +23 -0
  33. package/app/components/gallery/gallery-status-colors.component.js.map +1 -0
  34. package/app/components/gallery/gallery-terminal-colors.component.d.ts +11 -0
  35. package/app/components/gallery/gallery-terminal-colors.component.js +26 -0
  36. package/app/components/gallery/gallery-terminal-colors.component.js.map +1 -0
  37. package/app/components/gallery/gallery-tool-call.component.d.ts +12 -0
  38. package/app/components/gallery/gallery-tool-call.component.js +31 -0
  39. package/app/components/gallery/gallery-tool-call.component.js.map +1 -0
  40. package/app/components/gallery/gallery-toolbar.component.d.ts +9 -0
  41. package/app/components/gallery/gallery-toolbar.component.js +30 -0
  42. package/app/components/gallery/gallery-toolbar.component.js.map +1 -0
  43. package/app/components/tool-call/tool-call.component.d.ts +2 -0
  44. package/app/components/tool-call/tool-call.component.js +15 -4
  45. package/app/components/tool-call/tool-call.component.js.map +1 -1
  46. package/app/components/virtual-list/virtual-list.component.d.ts +3 -1
  47. package/app/components/virtual-list/virtual-list.component.js +21 -4
  48. package/app/components/virtual-list/virtual-list.component.js.map +1 -1
  49. package/app/components/virtual-list/virtual-list.resources.d.ts +1 -1
  50. package/app/components/virtual-list/virtual-list.resources.js +2 -1
  51. package/app/components/virtual-list/virtual-list.resources.js.map +1 -1
  52. package/app/models/code-tokenizer.d.ts +1 -0
  53. package/app/models/code-tokenizer.js +2 -1
  54. package/app/models/code-tokenizer.js.map +1 -1
  55. package/app/models/default-theme.js +10 -0
  56. package/app/models/default-theme.js.map +1 -1
  57. package/app/models/row-answer.d.ts +16 -0
  58. package/app/models/row-answer.js +28 -0
  59. package/app/models/row-answer.js.map +1 -0
  60. package/package.json +4 -4
  61. package/resources.d.ts +2 -0
  62. package/resources.js +12 -0
  63. package/resources.js.map +1 -1
  64. package/styles/base.css +2 -0
  65. package/styles/theme.css +10 -0
  66. package/testing/interfaces/i-pointer-hover-options.d.ts +18 -0
  67. package/testing/interfaces/i-pointer-hover-options.js +8 -0
  68. package/testing/interfaces/i-pointer-hover-options.js.map +1 -0
  69. package/testing/models/fixture-theme.js +10 -0
  70. package/testing/models/fixture-theme.js.map +1 -1
  71. package/testing/services/appearance-fixture.d.ts +6 -2
  72. package/testing/services/appearance-fixture.js +39 -3
  73. package/testing/services/appearance-fixture.js.map +1 -1
  74. package/testing/services/pointer-fixture.d.ts +4 -1
  75. package/testing/services/pointer-fixture.js +2 -2
  76. package/testing/services/pointer-fixture.js.map +1 -1
package/README.md CHANGED
@@ -26,7 +26,7 @@ Its type declarations carry the documentation of every export and public member,
26
26
  A kit version is released only while its Angular is Angular's newest patch: its release adds the build tools at the kit's version to a fresh install of the kit, and stops when they don't resolve.
27
27
  - Exactly one copy each of `@noldova/context.core` and `@noldova/context.exceptions`, within the ranges the kit names, from npm, `https://registry.npmjs.org`.
28
28
  They are the kit's peer dependencies, which npm installs beside it.
29
- Each is a range from the version the kit builds and tests with to the next minor, `>=0.0.7 <0.1.0` today; from 1.0 it ends at the next major.
29
+ Each is a range from the version the kit builds and tests with to the next minor, `>=0.0.8 <0.1.0` today; from 1.0 it ends at the next major.
30
30
  So an app moves to a newer context release within the range without waiting for a kit release, while a release that may break the kit, the next minor below 1.0, stays outside it.
31
31
  Each night the repository builds and tests the kit with the newest context release inside the range.
32
32
  A second copy of the core fails when it loads, since both install the same members on `Object` and `String`, and a second copy of the exceptions splits `instanceof` checks between the two.
@@ -54,6 +54,8 @@ An app that streams code names its common languages in `preload`, as `provideCod
54
54
  Once the app's injector is created, the highlighter and then each of them load one by one, a step per idle callback of the browser, or every 100 milliseconds where there is none.
55
55
  A step still runs on the main thread, so input that arrives during one waits for it; a language not named still loads on first use, as before.
56
56
  The step that compiles a grammar, by tokenizing a short sample, still holds up one frame, since a grammar's first use costs far more than any later one: 150 milliseconds or more for TypeScript's, measured on Linux, of which the sample's first line alone takes 110 to 167, so no split of the sample brings each part under 34 milliseconds.
57
+ The engines of a page share the regular expressions they compile from the grammars, so a later highlighter, such as one a new view provides, compiles a grammar the page has already compiled in 2 to 3 milliseconds, against 39 to 47 for compiling it again, measured on Linux, Windows and macOS.
58
+ The page keeps every pattern its highlighters compiled for as long as it lives, a highlighter that is disposed of included, so a grammar is compiled once a page.
57
59
  An app whose page must keep every frame short provides a highlighting worker, as below: `preload` then loads and compiles each grammar in the worker, and the page holds no frame for it while the worker runs.
58
60
 
59
61
  An app can move the highlighting off the main thread into a worker of its own.
@@ -151,7 +153,7 @@ Each helper's type declarations document it.
151
153
  - `KitStylesheetFixture`: loads the kit's stylesheet into the test page in a setup file and waits for its fonts; a face that fails to load fails it with the face, its source URL and the server's answer.
152
154
  - `MarkdownFixture`: loads the kit's Markdown parser into the test page in a setup file, so the first spec that shows Markdown doesn't wait for its import.
153
155
  - `CodeHighlightingFixture`: for tests only, a provider, `sharedShiki`, that gives every `TestBed` of a test file one Shiki, so each grammar a code highlighter loads or preloads compiles once in the file, not in every test; and `isLanguageLoaded(injector, name)`, which tells whether the highlighter the injector's `provideCodeHighlighting` sets up has loaded a language, by any name or alias a code block takes, without loading anything, so a spec can check what it preloads.
154
- - `PointerFixture`: hovers an element with the real pointer, finding it by a test id, which costs the same on a page of any size; hovering the element itself makes Vitest build a selector for it from the page around it, which takes seconds on a page as large as the Gallery.
156
+ - `PointerFixture`: hovers an element with the real pointer, finding it by a test id, which costs the same on a page of any size; hovering the element itself makes Vitest build a selector for it from the page around it, which takes seconds on a page as large as the Gallery. With `{ isForced: true }` it moves the pointer at once, without waiting for the element to be visible, still and enabled, about half of a move's time, for an element the test knows is laid out and still.
155
157
  - `TooltipFixture`: a provider, `atOnce`, that opens a hovered anchor's tooltip, and a hovered link reference chip's card, at once, without the 500ms rest the pointer otherwise waits on its anchor, for tests that check what a tooltip shows rather than when.
156
158
  - `ClipboardWriterFixture` and `ThrowingErrorHandler`: the clipboard double and the error handler that `kitTestProviders` provides.
157
159
 
package/api/testing.d.ts CHANGED
@@ -15,4 +15,5 @@ export { ClipboardWriterFixture } from "../testing/services/clipboard-writer-fix
15
15
  export { KitStylesheetFixture } from "../testing/services/kit-stylesheet-fixture.js";
16
16
  export { MarkdownFixture } from "../testing/services/markdown-fixture.js";
17
17
  export { PointerFixture } from "../testing/services/pointer-fixture.js";
18
+ export type { IPointerHoverOptions } from "../testing/interfaces/i-pointer-hover-options.js";
18
19
  export { ThrowingErrorHandler } from "../testing/services/throwing-error-handler.js";
@@ -1 +1 @@
1
- {"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../../src/noldova.ui.components.angular/src/api/testing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC"}
1
+ {"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../../src/noldova.ui.components.angular/src/api/testing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iDAAiD,CAAC;AACzF,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAExE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC"}
@@ -95,6 +95,7 @@ export declare class DiffViewComponent {
95
95
  private static readonly noChanges;
96
96
  private static nextId;
97
97
  private readonly host;
98
+ private readonly answer;
98
99
  private readonly announcer;
99
100
  private readonly highlighter;
100
101
  private readonly errors;
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
8
  import { NgTemplateOutlet } from "@angular/common";
9
- import { Component, DestroyRef, ElementRef, ErrorHandler, ViewEncapsulation, afterRenderEffect, computed, effect, inject, input, model, output, signal } from "@angular/core";
9
+ import { Component, DestroyRef, ElementRef, ErrorHandler, Injector, ViewEncapsulation, afterRenderEffect, computed, effect, inject, input, model, output, signal, untracked } from "@angular/core";
10
10
  import "@noldova/context.core";
11
11
  import { AnnouncementPoliteness } from "../../enums/announcement-politeness.js";
12
12
  import { ButtonVariant } from "../../enums/button-variant.js";
@@ -25,6 +25,7 @@ import { DiffLinePairs } from "../../models/diff-line-pairs.js";
25
25
  import { DiffLineReference } from "../../models/diff-line-reference.js";
26
26
  import { DiffReviewRequest } from "../../models/diff-review-request.js";
27
27
  import { DiffWordChanges } from "../../models/diff-word-changes.js";
28
+ import { RowAnswer } from "../../models/row-answer.js";
28
29
  import { Announcer } from "../../services/announcer.js";
29
30
  import { Resources } from "../../../resources.js";
30
31
  import { ButtonComponent } from "../button/button.component.js";
@@ -43,6 +44,7 @@ export class DiffViewComponent {
43
44
  static noChanges = [];
44
45
  static nextId = 0;
45
46
  host = inject(ElementRef).nativeElement;
47
+ answer = new RowAnswer(this.host, inject(Injector));
46
48
  announcer = inject(Announcer);
47
49
  highlighter = inject(CodeHighlighterTokens.highlighter);
48
50
  errors = inject(ErrorHandler);
@@ -111,6 +113,10 @@ export class DiffViewComponent {
111
113
  ...(ngDevMode ? [{ debugName: "lineKeys" }] : /* istanbul ignore next */ []));
112
114
  constructor() {
113
115
  inject(DestroyRef).onDestroy(() => this.tokenizing.forEach(t => t.abort()));
116
+ effect(() => {
117
+ this.files();
118
+ untracked(() => this.answer.arrive());
119
+ });
114
120
  effect(() => {
115
121
  const highlighter = this.highlighter;
116
122
  if (Object.isNull(highlighter))
@@ -241,6 +247,7 @@ export class DiffViewComponent {
241
247
  this.lineCommentRequested.emit(new DiffLineReference(file.id, line.numberOn(side), side));
242
248
  }
243
249
  expand(file, hunk, direction) {
250
+ this.answer.await();
244
251
  this.contextRequested.emit(new DiffContextRequest(file.id, hunk.id, direction));
245
252
  }
246
253
  activate(event, lines) {
@@ -368,7 +375,7 @@ export class DiffViewComponent {
368
375
  return next;
369
376
  }
370
377
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: DiffViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
371
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: DiffViewComponent, isStandalone: true, selector: "nol-diff-view", inputs: { files: { classPropertyName: "files", publicName: "files", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, wrapped: { classPropertyName: "wrapped", publicName: "wrapped", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, canOpenFiles: { classPropertyName: "canOpenFiles", publicName: "canOpenFiles", isSignal: true, isRequired: false, transformFunction: null }, reviews: { classPropertyName: "reviews", publicName: "reviews", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, revealed: { classPropertyName: "revealed", publicName: "revealed", isSignal: true, isRequired: false, transformFunction: null }, collapseLimit: { classPropertyName: "collapseLimit", publicName: "collapseLimit", isSignal: true, isRequired: false, transformFunction: null }, hasShortcuts: { classPropertyName: "hasShortcuts", publicName: "hasShortcuts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layout: "layoutChange", wrapped: "wrappedChange", collapsed: "collapsedChange", revealed: "revealedChange", reviewRequested: "reviewRequested", fileOpenRequested: "fileOpenRequested", contextRequested: "contextRequested", fileExpanded: "fileExpanded", lineCommentRequested: "lineCommentRequested" }, host: { attributes: { "role": "region" }, listeners: { "keydown": "runShortcut($event)" }, properties: { "attr.aria-label": "label()", "attr.aria-keyshortcuts": "hasShortcuts() ? keyShortcuts : null", "class.nol-diff-view-wrapped": "wrapped()", "class.nol-diff-view-side-by-side": "isSideBySide()", "class.nol-diff-view-opens-files": "canOpenFiles()" }, classAttribute: "nol-diff-view" }, 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=\"nol-diff-view-bar\" nolToolbar [nolToolbarLabel]=\"partResources.diffViewActionsLabel\">\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-layout\" data-nol-resizes-row [icon]=\"partResources.diffSideBySideGlyph\" [label]=\"partResources.diffSideBySideLabel\" [pressed]=\"isSideBySide()\"\n [nolTooltip]=\"partResources.diffSideBySideLabel\" (click)=\"toggleLayout()\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-wrap\" data-nol-resizes-row [icon]=\"resources.wordWrapGlyph\" [label]=\"resources.wordWrapLabel\" [pressed]=\"wrapped()\"\n [nolTooltip]=\"resources.wordWrapLabel\" (click)=\"toggleWrap()\"></button>\n</div>\n@for (file of files(); track file.id; let fileIndex = $index) {\n @let isOpen = !collapsed().has(file.id);\n @let fileState = fileStateOf(file);\n <section class=\"nol-diff-file\" [attr.aria-labelledby]=\"id + '-file-' + fileIndex\">\n <div class=\"nol-diff-file-header\">\n <button type=\"button\" class=\"nol-diff-file-toggle\" data-nol-resizes-row [id]=\"id + '-file-' + fileIndex\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggleFile(file)\">\n <span class=\"nol-diff-file-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-diff-file-path\" data-truncates>{{ file.oldPath === null ? file.path : partResources.formatDiffRename(file.oldPath, file.path) }}</span>\n <span class=\"nol-diff-file-status\">{{ partResources.diffStatusTexts[file.status] }}</span>\n <span class=\"nol-diff-file-counts\" aria-hidden=\"true\">\n <nol-chip [kind]=\"chipKinds.Added\" [count]=\"file.additions\" />\n <nol-chip [kind]=\"chipKinds.Removed\" [count]=\"file.deletions\" />\n </span>\n <span class=\"nol-diff-hidden\">{{ partResources.formatDiffCounts(file.additions, file.deletions) }}</span>\n </button>\n @if (fileState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.formatDiffReviewText(fileState) }}</span>\n }\n @if (canOpenFiles()) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-file-open\" [icon]=\"partResources.diffOpenFileGlyph\" [label]=\"partResources.diffOpenFileLabel\" [nolTooltip]=\"partResources.diffOpenFileLabel\"\n (click)=\"openFile(file)\"></button>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk: null, subject: file.path }\"></ng-container>\n }\n </div>\n @if (isOpen) {\n <div class=\"nol-diff-file-body\">\n @if (file.content.stateText; as text) {\n <p class=\"nol-diff-note\" [class.nol-diff-note-pending]=\"file.content.isPending\">{{ text }}</p>\n }\n @if (isHeld(file)) {\n <div class=\"nol-diff-held\">\n <p class=\"nol-diff-note\">{{ partResources.diffHeldText }}</p>\n <button type=\"button\" nol-button class=\"nol-diff-load\" data-nol-resizes-row [variant]=\"secondary\" (click)=\"reveal(file)\">{{ partResources.diffLoadLabel }}</button>\n </div>\n } @else {\n @for (hunk of file.content.hunks; track hunk.id; let hunkIndex = $index, isLast = $last) {\n @let hunkLabel = partResources.formatDiffHunkLabel(hunkIndex + 1, file.content.hunks.length);\n @let hunkState = reviewOf(file).hunkState(hunk.id);\n <div class=\"nol-diff-hunk\" role=\"group\" [attr.aria-label]=\"hunkLabel\">\n <div class=\"nol-diff-hunk-header\">\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand\" data-nol-resizes-row [icon]=\"partResources.diffExpandGlyphs[directions.Up]\" [label]=\"partResources.diffExpandLabels[directions.Up]\"\n [nolTooltip]=\"partResources.diffExpandLabels[directions.Up]\" (click)=\"expand(file, hunk, directions.Up)\"></button>\n <span class=\"nol-diff-hunk-range\" aria-hidden=\"true\">{{ partResources.formatDiffHunkRange(hunk.oldStart, hunk.oldLength, hunk.newStart, hunk.newLength) }} {{ hunk.section }}</span>\n @if (hunkState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.diffReviewTexts[hunkState] }}</span>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk, subject: hunkLabel }\"></ng-container>\n }\n </div>\n <div class=\"nol-diff-hunk-lines\" #lines [attr.aria-keyshortcuts]=\"lineKeys()\">\n @if (isSideBySide()) {\n @for (pair of pairsOf(hunk); track $index) {\n <div class=\"nol-diff-pair\">\n @if (pair.oldLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.Old, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n @if (pair.newLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.New, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n </div>\n }\n } @else {\n @for (line of hunk.lines; track $index) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: line.side, file, hunk, lines }\"></ng-container>\n }\n }\n </div>\n @if (isLast) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand nol-diff-expand-down\" data-nol-resizes-row [icon]=\"partResources.diffExpandGlyphs[directions.Down]\"\n [label]=\"partResources.diffExpandLabels[directions.Down]\" [nolTooltip]=\"partResources.diffExpandLabels[directions.Down]\" (click)=\"expand(file, hunk, directions.Down)\"></button>\n }\n </div>\n }\n }\n </div>\n }\n </section>\n} @empty {\n <p class=\"nol-diff-note nol-diff-empty\">{{ partResources.diffEmptyText }}</p>\n}\n\n<ng-template #reviewActions let-file let-hunk=\"hunk\" let-subject=\"subject\">\n <div class=\"nol-diff-actions\" nolToolbar [nolToolbarLabel]=\"partResources.formatDiffActionsLabel(subject)\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffAcceptLabel\" [icon]=\"partResources.diffAcceptGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Accepted)\"></button>\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffRejectLabel\" [icon]=\"partResources.diffRejectGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Rejected)\"></button>\n </div>\n</ng-template>\n\n<ng-template #cell let-line let-side=\"side\" let-file=\"file\" let-hunk=\"hunk\" let-lines=\"lines\">\n <div class=\"nol-diff-cell\" [class]=\"kindClassOf(line)\" [class.nol-diff-cell-changed]=\"line.kind !== contextKind\"\n (focusin)=\"activate($event, lines)\" (keydown)=\"handleCellKey($event, lines, file, line, side)\">\n <button type=\"button\" class=\"nol-diff-comment material-symbols-rounded\" tabindex=\"-1\" aria-hidden=\"true\" [nolTooltip]=\"partResources.diffCommentLabel\"\n (click)=\"comment(file, line, side)\"><span>{{ partResources.diffCommentGlyph }}</span></button>\n @if (isSideBySide()) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, side)\">{{ line.numberOn(side) }}</span>\n } @else {\n @for (numberSide of numberSides; track numberSide) {\n @if (line.hasNumberOn(numberSide)) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, numberSide)\">{{ line.numberOn(numberSide) }}</span>\n } @else {\n <span class=\"nol-diff-number\" aria-hidden=\"true\"></span>\n }\n }\n }\n <span class=\"nol-diff-sign\" aria-hidden=\"true\">{{ signOf(line) }}</span>\n <span class=\"nol-diff-text\"><span class=\"nol-diff-hidden\">{{ nameOf(line, side) }} </span><span class=\"nol-diff-code\" [nolDiffCode]=\"tokensOf(line, side)\" [nolDiffCodeText]=\"line.text\" [nolDiffCodeChanges]=\"changesOf(hunk, line)\"></span></span>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-diff-view {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n color: var(--nol-text);\n}\n\n.nol-diff-view-bar {\n display: flex;\n justify-content: flex-end;\n}\n\n.nol-diff-file {\n min-width: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-code);\n}\n\n.nol-diff-file-header,\n.nol-diff-hunk-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-2);\n background-color: var(--nol-code-header);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-diff-file-toggle {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.nol-diff-file-toggle:is(:focus-visible, [data-nol-state=\"Focus\"]),\n.nol-diff-cell:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(0px - var(--nol-border-width));\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-diff-file-twistie {\n flex: none;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-diff-file-toggle[aria-expanded=\"true\"] .nol-diff-file-twistie {\n rotate: 90deg;\n}\n\n.nol-diff-file-toggle:dir(rtl)[aria-expanded=\"false\"] .nol-diff-file-twistie {\n rotate: 180deg;\n}\n\n.nol-diff-file-path {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-file-status,\n.nol-diff-hunk-range,\n.nol-diff-review {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-diff-file-counts {\n display: flex;\n flex: none;\n gap: var(--nol-space-1);\n}\n\n.nol-diff-hunk-range {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n font-family: var(--nol-font-mono);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-actions {\n display: flex;\n flex: none;\n}\n\n.nol-diff-file-body {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-hunk + .nol-diff-hunk {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-note {\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n color: var(--nol-text-muted);\n}\n\n.nol-diff-held {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n padding-inline-end: var(--nol-space-3);\n}\n\n.nol-diff-hunk-lines {\n --nol-diff-gutter: max(1.5rem, var(--nol-pointer-target));\n\n display: grid;\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(max-content, 1fr);\n padding-block: max(0px, (var(--nol-pointer-target) - 1lh) / 2);\n overflow-x: auto;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n}\n\n.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(max-content, 1fr) var(--nol-diff-gutter) auto auto minmax(max-content, 1fr);\n}\n\n.nol-diff-view-wrapped .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(0, 1fr);\n}\n\n.nol-diff-view-wrapped.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(0, 1fr) var(--nol-diff-gutter) auto auto minmax(0, 1fr);\n}\n\n.nol-diff-pair {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-cell {\n position: relative;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-pair > .nol-diff-cell,\n.nol-diff-filler {\n grid-column: span 4;\n}\n\n.nol-diff-cell-added {\n background-color: var(--nol-added-background);\n}\n\n.nol-diff-cell-removed {\n background-color: var(--nol-removed-background);\n}\n\n.nol-diff-number {\n min-width: 2ch;\n padding-inline: var(--nol-space-2) var(--nol-space-1);\n color: var(--nol-text-muted);\n text-align: end;\n user-select: none;\n}\n\n.nol-diff-view-opens-files .nol-diff-number:not(:empty) {\n cursor: pointer;\n}\n\n.nol-diff-sign {\n padding-inline-end: var(--nol-space-1);\n white-space: pre;\n user-select: none;\n}\n\n.nol-diff-cell-added .nol-diff-sign {\n color: var(--nol-added);\n}\n\n.nol-diff-cell-removed .nol-diff-sign {\n color: var(--nol-removed);\n}\n\n.nol-diff-text {\n padding-inline-end: var(--nol-space-3);\n white-space: pre;\n}\n\n.nol-diff-view-wrapped .nol-diff-text {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-diff-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n user-select: none;\n}\n\n.nol-diff-comment {\n position: relative;\n z-index: 1;\n display: grid;\n place-items: center;\n align-self: start;\n box-sizing: border-box;\n width: 100%;\n height: var(--nol-pointer-target);\n margin-block: calc((1lh - var(--nol-pointer-target)) / 2);\n padding: 0;\n border: none;\n background: none;\n color: var(--nol-button-text);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n cursor: pointer;\n visibility: hidden;\n user-select: none;\n}\n\n.nol-diff-comment::before {\n content: \"\";\n grid-area: 1 / 1;\n width: 1lh;\n height: 1lh;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n}\n\n.nol-diff-comment > span {\n grid-area: 1 / 1;\n}\n\n.nol-diff-cell:is(:hover, [data-nol-state=\"Hover\"], :focus-visible, [data-nol-state=\"Focus\"]) > .nol-diff-comment {\n visibility: visible;\n}\n\n.nol-diff-code::highlight(nol-code-comment) {\n color: var(--nol-code-comment);\n}\n\n.nol-diff-code::highlight(nol-code-keyword) {\n color: var(--nol-code-keyword);\n}\n\n.nol-diff-code::highlight(nol-code-control) {\n color: var(--nol-code-control);\n}\n\n.nol-diff-code::highlight(nol-code-string) {\n color: var(--nol-code-string);\n}\n\n.nol-diff-code::highlight(nol-code-number) {\n color: var(--nol-code-number);\n}\n\n.nol-diff-code::highlight(nol-code-type) {\n color: var(--nol-code-type);\n}\n\n.nol-diff-code::highlight(nol-code-function) {\n color: var(--nol-code-function);\n}\n\n.nol-diff-code::highlight(nol-code-variable) {\n color: var(--nol-code-variable);\n}\n\n.nol-diff-code::highlight(nol-code-regex) {\n color: var(--nol-code-regex);\n}\n\n.nol-diff-code::highlight(nol-code-meta) {\n color: var(--nol-code-meta);\n}\n\n.nol-diff-code::highlight(nol-diff-added-change) {\n background-color: var(--nol-added-change);\n}\n\n.nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: var(--nol-removed-change);\n}\n\n@media (forced-colors: active) {\n .nol-diff-cell-added,\n .nol-diff-cell-removed {\n background-color: Canvas;\n }\n\n .nol-diff-code {\n color: CanvasText;\n forced-color-adjust: none;\n }\n\n .nol-diff-code::selection {\n background-color: Highlight;\n color: HighlightText;\n }\n\n .nol-diff-code::highlight(nol-code-comment),\n .nol-diff-code::highlight(nol-code-keyword),\n .nol-diff-code::highlight(nol-code-control),\n .nol-diff-code::highlight(nol-code-string),\n .nol-diff-code::highlight(nol-code-number),\n .nol-diff-code::highlight(nol-code-type),\n .nol-diff-code::highlight(nol-code-function),\n .nol-diff-code::highlight(nol-code-variable),\n .nol-diff-code::highlight(nol-code-regex),\n .nol-diff-code::highlight(nol-code-meta) {\n color: CanvasText;\n }\n\n .nol-diff-code::highlight(nol-diff-added-change),\n .nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: Canvas;\n text-decoration: underline solid 2px Highlight;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "directive", type: DiffCodeDirective, selector: "[nolDiffCode]", inputs: ["nolDiffCode", "nolDiffCodeText", "nolDiffCodeChanges"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }], encapsulation: i0.ViewEncapsulation.None });
378
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: DiffViewComponent, isStandalone: true, selector: "nol-diff-view", inputs: { files: { classPropertyName: "files", publicName: "files", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, wrapped: { classPropertyName: "wrapped", publicName: "wrapped", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, canOpenFiles: { classPropertyName: "canOpenFiles", publicName: "canOpenFiles", isSignal: true, isRequired: false, transformFunction: null }, reviews: { classPropertyName: "reviews", publicName: "reviews", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, revealed: { classPropertyName: "revealed", publicName: "revealed", isSignal: true, isRequired: false, transformFunction: null }, collapseLimit: { classPropertyName: "collapseLimit", publicName: "collapseLimit", isSignal: true, isRequired: false, transformFunction: null }, hasShortcuts: { classPropertyName: "hasShortcuts", publicName: "hasShortcuts", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { layout: "layoutChange", wrapped: "wrappedChange", collapsed: "collapsedChange", revealed: "revealedChange", reviewRequested: "reviewRequested", fileOpenRequested: "fileOpenRequested", contextRequested: "contextRequested", fileExpanded: "fileExpanded", lineCommentRequested: "lineCommentRequested" }, host: { attributes: { "role": "region" }, listeners: { "keydown": "runShortcut($event)" }, properties: { "attr.aria-label": "label()", "attr.aria-keyshortcuts": "hasShortcuts() ? keyShortcuts : null", "class.nol-diff-view-wrapped": "wrapped()", "class.nol-diff-view-side-by-side": "isSideBySide()", "class.nol-diff-view-opens-files": "canOpenFiles()" }, classAttribute: "nol-diff-view" }, 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=\"nol-diff-view-bar\" nolToolbar [nolToolbarLabel]=\"partResources.diffViewActionsLabel\">\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-layout\" data-nol-resizes-row [icon]=\"partResources.diffSideBySideGlyph\" [label]=\"partResources.diffSideBySideLabel\" [pressed]=\"isSideBySide()\"\n [nolTooltip]=\"partResources.diffSideBySideLabel\" (click)=\"toggleLayout()\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-wrap\" data-nol-resizes-row [icon]=\"resources.wordWrapGlyph\" [label]=\"resources.wordWrapLabel\" [pressed]=\"wrapped()\"\n [nolTooltip]=\"resources.wordWrapLabel\" (click)=\"toggleWrap()\"></button>\n</div>\n@for (file of files(); track file.id; let fileIndex = $index) {\n @let isOpen = !collapsed().has(file.id);\n @let fileState = fileStateOf(file);\n <section class=\"nol-diff-file\" [attr.aria-labelledby]=\"id + '-file-' + fileIndex\">\n <div class=\"nol-diff-file-header\">\n <button type=\"button\" class=\"nol-diff-file-toggle\" data-nol-resizes-row [id]=\"id + '-file-' + fileIndex\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggleFile(file)\">\n <span class=\"nol-diff-file-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-diff-file-path\" data-truncates>{{ file.oldPath === null ? file.path : partResources.formatDiffRename(file.oldPath, file.path) }}</span>\n <span class=\"nol-diff-file-status\">{{ partResources.diffStatusTexts[file.status] }}</span>\n <span class=\"nol-diff-file-counts\" aria-hidden=\"true\">\n <nol-chip [kind]=\"chipKinds.Added\" [count]=\"file.additions\" />\n <nol-chip [kind]=\"chipKinds.Removed\" [count]=\"file.deletions\" />\n </span>\n <span class=\"nol-diff-hidden\">{{ partResources.formatDiffCounts(file.additions, file.deletions) }}</span>\n </button>\n @if (fileState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.formatDiffReviewText(fileState) }}</span>\n }\n @if (canOpenFiles()) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-file-open\" [icon]=\"partResources.diffOpenFileGlyph\" [label]=\"partResources.diffOpenFileLabel\" [nolTooltip]=\"partResources.diffOpenFileLabel\"\n (click)=\"openFile(file)\"></button>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk: null, subject: file.path }\"></ng-container>\n }\n </div>\n @if (isOpen) {\n <div class=\"nol-diff-file-body\">\n @if (file.content.stateText; as text) {\n <p class=\"nol-diff-note\" [class.nol-diff-note-pending]=\"file.content.isPending\">{{ text }}</p>\n }\n @if (isHeld(file)) {\n <div class=\"nol-diff-held\">\n <p class=\"nol-diff-note\">{{ partResources.diffHeldText }}</p>\n <button type=\"button\" nol-button class=\"nol-diff-load\" data-nol-resizes-row [variant]=\"secondary\" (click)=\"reveal(file)\">{{ partResources.diffLoadLabel }}</button>\n </div>\n } @else {\n @for (hunk of file.content.hunks; track hunk.id; let hunkIndex = $index, isLast = $last) {\n @let hunkLabel = partResources.formatDiffHunkLabel(hunkIndex + 1, file.content.hunks.length);\n @let hunkState = reviewOf(file).hunkState(hunk.id);\n <div class=\"nol-diff-hunk\" role=\"group\" [attr.aria-label]=\"hunkLabel\">\n <div class=\"nol-diff-hunk-header\">\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand\" data-nol-resizes-row=\"later\" [icon]=\"partResources.diffExpandGlyphs[directions.Up]\" [label]=\"partResources.diffExpandLabels[directions.Up]\"\n [nolTooltip]=\"partResources.diffExpandLabels[directions.Up]\" (click)=\"expand(file, hunk, directions.Up)\"></button>\n <span class=\"nol-diff-hunk-range\" aria-hidden=\"true\">{{ partResources.formatDiffHunkRange(hunk.oldStart, hunk.oldLength, hunk.newStart, hunk.newLength) }} {{ hunk.section }}</span>\n @if (hunkState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.diffReviewTexts[hunkState] }}</span>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk, subject: hunkLabel }\"></ng-container>\n }\n </div>\n <div class=\"nol-diff-hunk-lines\" #lines [attr.aria-keyshortcuts]=\"lineKeys()\">\n @if (isSideBySide()) {\n @for (pair of pairsOf(hunk); track $index) {\n <div class=\"nol-diff-pair\">\n @if (pair.oldLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.Old, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n @if (pair.newLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.New, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n </div>\n }\n } @else {\n @for (line of hunk.lines; track $index) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: line.side, file, hunk, lines }\"></ng-container>\n }\n }\n </div>\n @if (isLast) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand nol-diff-expand-down\" data-nol-resizes-row=\"later\" [icon]=\"partResources.diffExpandGlyphs[directions.Down]\"\n [label]=\"partResources.diffExpandLabels[directions.Down]\" [nolTooltip]=\"partResources.diffExpandLabels[directions.Down]\" (click)=\"expand(file, hunk, directions.Down)\"></button>\n }\n </div>\n }\n }\n </div>\n }\n </section>\n} @empty {\n <p class=\"nol-diff-note nol-diff-empty\">{{ partResources.diffEmptyText }}</p>\n}\n\n<ng-template #reviewActions let-file let-hunk=\"hunk\" let-subject=\"subject\">\n <div class=\"nol-diff-actions\" nolToolbar [nolToolbarLabel]=\"partResources.formatDiffActionsLabel(subject)\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffAcceptLabel\" [icon]=\"partResources.diffAcceptGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Accepted)\"></button>\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffRejectLabel\" [icon]=\"partResources.diffRejectGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Rejected)\"></button>\n </div>\n</ng-template>\n\n<ng-template #cell let-line let-side=\"side\" let-file=\"file\" let-hunk=\"hunk\" let-lines=\"lines\">\n <div class=\"nol-diff-cell\" [class]=\"kindClassOf(line)\" [class.nol-diff-cell-changed]=\"line.kind !== contextKind\"\n (focusin)=\"activate($event, lines)\" (keydown)=\"handleCellKey($event, lines, file, line, side)\">\n <button type=\"button\" class=\"nol-diff-comment material-symbols-rounded\" tabindex=\"-1\" aria-hidden=\"true\" [nolTooltip]=\"partResources.diffCommentLabel\"\n (click)=\"comment(file, line, side)\"><span>{{ partResources.diffCommentGlyph }}</span></button>\n @if (isSideBySide()) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, side)\">{{ line.numberOn(side) }}</span>\n } @else {\n @for (numberSide of numberSides; track numberSide) {\n @if (line.hasNumberOn(numberSide)) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, numberSide)\">{{ line.numberOn(numberSide) }}</span>\n } @else {\n <span class=\"nol-diff-number\" aria-hidden=\"true\"></span>\n }\n }\n }\n <span class=\"nol-diff-sign\" aria-hidden=\"true\">{{ signOf(line) }}</span>\n <span class=\"nol-diff-text\"><span class=\"nol-diff-hidden\">{{ nameOf(line, side) }} </span><span class=\"nol-diff-code\" [nolDiffCode]=\"tokensOf(line, side)\" [nolDiffCodeText]=\"line.text\" [nolDiffCodeChanges]=\"changesOf(hunk, line)\"></span></span>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-diff-view {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n color: var(--nol-text);\n}\n\n.nol-diff-view-bar {\n display: flex;\n justify-content: flex-end;\n}\n\n.nol-diff-file {\n min-width: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-code);\n}\n\n.nol-diff-file-header,\n.nol-diff-hunk-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-2);\n background-color: var(--nol-code-header);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-diff-file-toggle {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.nol-diff-file-toggle:is(:focus-visible, [data-nol-state=\"Focus\"]),\n.nol-diff-cell:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(0px - var(--nol-border-width));\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-diff-file-twistie {\n flex: none;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-diff-file-toggle[aria-expanded=\"true\"] .nol-diff-file-twistie {\n rotate: 90deg;\n}\n\n.nol-diff-file-toggle:dir(rtl)[aria-expanded=\"false\"] .nol-diff-file-twistie {\n rotate: 180deg;\n}\n\n.nol-diff-file-path {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-file-status,\n.nol-diff-hunk-range,\n.nol-diff-review {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-diff-file-counts {\n display: flex;\n flex: none;\n gap: var(--nol-space-1);\n}\n\n.nol-diff-hunk-range {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n font-family: var(--nol-font-mono);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-actions {\n display: flex;\n flex: none;\n}\n\n.nol-diff-file-body {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-hunk + .nol-diff-hunk {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-note {\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n color: var(--nol-text-muted);\n}\n\n.nol-diff-held {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n padding-inline-end: var(--nol-space-3);\n}\n\n.nol-diff-hunk-lines {\n --nol-diff-gutter: max(1.5rem, var(--nol-pointer-target));\n\n display: grid;\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(max-content, 1fr);\n padding-block: max(0px, (var(--nol-pointer-target) - 1lh) / 2);\n overflow-x: auto;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n}\n\n.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(max-content, 1fr) var(--nol-diff-gutter) auto auto minmax(max-content, 1fr);\n}\n\n.nol-diff-view-wrapped .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(0, 1fr);\n}\n\n.nol-diff-view-wrapped.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(0, 1fr) var(--nol-diff-gutter) auto auto minmax(0, 1fr);\n}\n\n.nol-diff-pair {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-cell {\n position: relative;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-pair > .nol-diff-cell,\n.nol-diff-filler {\n grid-column: span 4;\n}\n\n.nol-diff-cell-added {\n background-color: var(--nol-added-background);\n}\n\n.nol-diff-cell-removed {\n background-color: var(--nol-removed-background);\n}\n\n.nol-diff-number {\n min-width: 2ch;\n padding-inline: var(--nol-space-2) var(--nol-space-1);\n color: var(--nol-text-muted);\n text-align: end;\n user-select: none;\n}\n\n.nol-diff-view-opens-files .nol-diff-number:not(:empty) {\n cursor: pointer;\n}\n\n.nol-diff-sign {\n padding-inline-end: var(--nol-space-1);\n white-space: pre;\n user-select: none;\n}\n\n.nol-diff-cell-added .nol-diff-sign {\n color: var(--nol-added);\n}\n\n.nol-diff-cell-removed .nol-diff-sign {\n color: var(--nol-removed);\n}\n\n.nol-diff-text {\n padding-inline-end: var(--nol-space-3);\n white-space: pre;\n}\n\n.nol-diff-view-wrapped .nol-diff-text {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-diff-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n user-select: none;\n}\n\n.nol-diff-comment {\n position: relative;\n z-index: 1;\n display: grid;\n place-items: center;\n align-self: start;\n box-sizing: border-box;\n width: 100%;\n height: var(--nol-pointer-target);\n margin-block: calc((1lh - var(--nol-pointer-target)) / 2);\n padding: 0;\n border: none;\n background: none;\n color: var(--nol-button-text);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n cursor: pointer;\n visibility: hidden;\n user-select: none;\n}\n\n.nol-diff-comment::before {\n content: \"\";\n grid-area: 1 / 1;\n width: 1lh;\n height: 1lh;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n}\n\n.nol-diff-comment > span {\n grid-area: 1 / 1;\n}\n\n.nol-diff-cell:is(:hover, [data-nol-state=\"Hover\"], :focus-visible, [data-nol-state=\"Focus\"]) > .nol-diff-comment {\n visibility: visible;\n}\n\n.nol-diff-code::highlight(nol-code-comment) {\n color: var(--nol-code-comment);\n}\n\n.nol-diff-code::highlight(nol-code-keyword) {\n color: var(--nol-code-keyword);\n}\n\n.nol-diff-code::highlight(nol-code-control) {\n color: var(--nol-code-control);\n}\n\n.nol-diff-code::highlight(nol-code-string) {\n color: var(--nol-code-string);\n}\n\n.nol-diff-code::highlight(nol-code-number) {\n color: var(--nol-code-number);\n}\n\n.nol-diff-code::highlight(nol-code-type) {\n color: var(--nol-code-type);\n}\n\n.nol-diff-code::highlight(nol-code-function) {\n color: var(--nol-code-function);\n}\n\n.nol-diff-code::highlight(nol-code-variable) {\n color: var(--nol-code-variable);\n}\n\n.nol-diff-code::highlight(nol-code-regex) {\n color: var(--nol-code-regex);\n}\n\n.nol-diff-code::highlight(nol-code-meta) {\n color: var(--nol-code-meta);\n}\n\n.nol-diff-code::highlight(nol-diff-added-change) {\n background-color: var(--nol-added-change);\n}\n\n.nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: var(--nol-removed-change);\n}\n\n@media (forced-colors: active) {\n .nol-diff-cell-added,\n .nol-diff-cell-removed {\n background-color: Canvas;\n }\n\n .nol-diff-code {\n color: CanvasText;\n forced-color-adjust: none;\n }\n\n .nol-diff-code::selection {\n background-color: Highlight;\n color: HighlightText;\n }\n\n .nol-diff-code::highlight(nol-code-comment),\n .nol-diff-code::highlight(nol-code-keyword),\n .nol-diff-code::highlight(nol-code-control),\n .nol-diff-code::highlight(nol-code-string),\n .nol-diff-code::highlight(nol-code-number),\n .nol-diff-code::highlight(nol-code-type),\n .nol-diff-code::highlight(nol-code-function),\n .nol-diff-code::highlight(nol-code-variable),\n .nol-diff-code::highlight(nol-code-regex),\n .nol-diff-code::highlight(nol-code-meta) {\n color: CanvasText;\n }\n\n .nol-diff-code::highlight(nol-diff-added-change),\n .nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: Canvas;\n text-decoration: underline solid 2px Highlight;\n }\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { kind: "component", type: ChipComponent, selector: "nol-chip", inputs: ["kind", "count"] }, { kind: "directive", type: DiffCodeDirective, selector: "[nolDiffCode]", inputs: ["nolDiffCode", "nolDiffCodeText", "nolDiffCodeChanges"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ToolbarButtonComponent, selector: "button[nol-toolbar-button]", inputs: ["label", "icon", "isShowingLabel", "pressed", "hasMenu", "isUnavailable", "isPressedWhileOpen", "busy"] }, { kind: "directive", type: ToolbarDirective, selector: "[nolToolbar]", inputs: ["nolToolbarOrientation", "nolToolbarLabel", "nolToolbarWrap", "nolToolbarStart", "nolToolbarItems"] }, { kind: "directive", type: ToolbarItemDirective, selector: "[nolToolbarItem]" }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }], encapsulation: i0.ViewEncapsulation.None });
372
379
  }
373
380
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: DiffViewComponent, decorators: [{
374
381
  type: Component,
@@ -381,6 +388,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
381
388
  "[class.nol-diff-view-side-by-side]": "isSideBySide()",
382
389
  "[class.nol-diff-view-opens-files]": "canOpenFiles()",
383
390
  "(keydown)": "runShortcut($event)"
384
- }, 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=\"nol-diff-view-bar\" nolToolbar [nolToolbarLabel]=\"partResources.diffViewActionsLabel\">\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-layout\" data-nol-resizes-row [icon]=\"partResources.diffSideBySideGlyph\" [label]=\"partResources.diffSideBySideLabel\" [pressed]=\"isSideBySide()\"\n [nolTooltip]=\"partResources.diffSideBySideLabel\" (click)=\"toggleLayout()\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-wrap\" data-nol-resizes-row [icon]=\"resources.wordWrapGlyph\" [label]=\"resources.wordWrapLabel\" [pressed]=\"wrapped()\"\n [nolTooltip]=\"resources.wordWrapLabel\" (click)=\"toggleWrap()\"></button>\n</div>\n@for (file of files(); track file.id; let fileIndex = $index) {\n @let isOpen = !collapsed().has(file.id);\n @let fileState = fileStateOf(file);\n <section class=\"nol-diff-file\" [attr.aria-labelledby]=\"id + '-file-' + fileIndex\">\n <div class=\"nol-diff-file-header\">\n <button type=\"button\" class=\"nol-diff-file-toggle\" data-nol-resizes-row [id]=\"id + '-file-' + fileIndex\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggleFile(file)\">\n <span class=\"nol-diff-file-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-diff-file-path\" data-truncates>{{ file.oldPath === null ? file.path : partResources.formatDiffRename(file.oldPath, file.path) }}</span>\n <span class=\"nol-diff-file-status\">{{ partResources.diffStatusTexts[file.status] }}</span>\n <span class=\"nol-diff-file-counts\" aria-hidden=\"true\">\n <nol-chip [kind]=\"chipKinds.Added\" [count]=\"file.additions\" />\n <nol-chip [kind]=\"chipKinds.Removed\" [count]=\"file.deletions\" />\n </span>\n <span class=\"nol-diff-hidden\">{{ partResources.formatDiffCounts(file.additions, file.deletions) }}</span>\n </button>\n @if (fileState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.formatDiffReviewText(fileState) }}</span>\n }\n @if (canOpenFiles()) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-file-open\" [icon]=\"partResources.diffOpenFileGlyph\" [label]=\"partResources.diffOpenFileLabel\" [nolTooltip]=\"partResources.diffOpenFileLabel\"\n (click)=\"openFile(file)\"></button>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk: null, subject: file.path }\"></ng-container>\n }\n </div>\n @if (isOpen) {\n <div class=\"nol-diff-file-body\">\n @if (file.content.stateText; as text) {\n <p class=\"nol-diff-note\" [class.nol-diff-note-pending]=\"file.content.isPending\">{{ text }}</p>\n }\n @if (isHeld(file)) {\n <div class=\"nol-diff-held\">\n <p class=\"nol-diff-note\">{{ partResources.diffHeldText }}</p>\n <button type=\"button\" nol-button class=\"nol-diff-load\" data-nol-resizes-row [variant]=\"secondary\" (click)=\"reveal(file)\">{{ partResources.diffLoadLabel }}</button>\n </div>\n } @else {\n @for (hunk of file.content.hunks; track hunk.id; let hunkIndex = $index, isLast = $last) {\n @let hunkLabel = partResources.formatDiffHunkLabel(hunkIndex + 1, file.content.hunks.length);\n @let hunkState = reviewOf(file).hunkState(hunk.id);\n <div class=\"nol-diff-hunk\" role=\"group\" [attr.aria-label]=\"hunkLabel\">\n <div class=\"nol-diff-hunk-header\">\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand\" data-nol-resizes-row [icon]=\"partResources.diffExpandGlyphs[directions.Up]\" [label]=\"partResources.diffExpandLabels[directions.Up]\"\n [nolTooltip]=\"partResources.diffExpandLabels[directions.Up]\" (click)=\"expand(file, hunk, directions.Up)\"></button>\n <span class=\"nol-diff-hunk-range\" aria-hidden=\"true\">{{ partResources.formatDiffHunkRange(hunk.oldStart, hunk.oldLength, hunk.newStart, hunk.newLength) }} {{ hunk.section }}</span>\n @if (hunkState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.diffReviewTexts[hunkState] }}</span>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk, subject: hunkLabel }\"></ng-container>\n }\n </div>\n <div class=\"nol-diff-hunk-lines\" #lines [attr.aria-keyshortcuts]=\"lineKeys()\">\n @if (isSideBySide()) {\n @for (pair of pairsOf(hunk); track $index) {\n <div class=\"nol-diff-pair\">\n @if (pair.oldLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.Old, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n @if (pair.newLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.New, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n </div>\n }\n } @else {\n @for (line of hunk.lines; track $index) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: line.side, file, hunk, lines }\"></ng-container>\n }\n }\n </div>\n @if (isLast) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand nol-diff-expand-down\" data-nol-resizes-row [icon]=\"partResources.diffExpandGlyphs[directions.Down]\"\n [label]=\"partResources.diffExpandLabels[directions.Down]\" [nolTooltip]=\"partResources.diffExpandLabels[directions.Down]\" (click)=\"expand(file, hunk, directions.Down)\"></button>\n }\n </div>\n }\n }\n </div>\n }\n </section>\n} @empty {\n <p class=\"nol-diff-note nol-diff-empty\">{{ partResources.diffEmptyText }}</p>\n}\n\n<ng-template #reviewActions let-file let-hunk=\"hunk\" let-subject=\"subject\">\n <div class=\"nol-diff-actions\" nolToolbar [nolToolbarLabel]=\"partResources.formatDiffActionsLabel(subject)\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffAcceptLabel\" [icon]=\"partResources.diffAcceptGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Accepted)\"></button>\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffRejectLabel\" [icon]=\"partResources.diffRejectGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Rejected)\"></button>\n </div>\n</ng-template>\n\n<ng-template #cell let-line let-side=\"side\" let-file=\"file\" let-hunk=\"hunk\" let-lines=\"lines\">\n <div class=\"nol-diff-cell\" [class]=\"kindClassOf(line)\" [class.nol-diff-cell-changed]=\"line.kind !== contextKind\"\n (focusin)=\"activate($event, lines)\" (keydown)=\"handleCellKey($event, lines, file, line, side)\">\n <button type=\"button\" class=\"nol-diff-comment material-symbols-rounded\" tabindex=\"-1\" aria-hidden=\"true\" [nolTooltip]=\"partResources.diffCommentLabel\"\n (click)=\"comment(file, line, side)\"><span>{{ partResources.diffCommentGlyph }}</span></button>\n @if (isSideBySide()) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, side)\">{{ line.numberOn(side) }}</span>\n } @else {\n @for (numberSide of numberSides; track numberSide) {\n @if (line.hasNumberOn(numberSide)) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, numberSide)\">{{ line.numberOn(numberSide) }}</span>\n } @else {\n <span class=\"nol-diff-number\" aria-hidden=\"true\"></span>\n }\n }\n }\n <span class=\"nol-diff-sign\" aria-hidden=\"true\">{{ signOf(line) }}</span>\n <span class=\"nol-diff-text\"><span class=\"nol-diff-hidden\">{{ nameOf(line, side) }} </span><span class=\"nol-diff-code\" [nolDiffCode]=\"tokensOf(line, side)\" [nolDiffCodeText]=\"line.text\" [nolDiffCodeChanges]=\"changesOf(hunk, line)\"></span></span>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-diff-view {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n color: var(--nol-text);\n}\n\n.nol-diff-view-bar {\n display: flex;\n justify-content: flex-end;\n}\n\n.nol-diff-file {\n min-width: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-code);\n}\n\n.nol-diff-file-header,\n.nol-diff-hunk-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-2);\n background-color: var(--nol-code-header);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-diff-file-toggle {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.nol-diff-file-toggle:is(:focus-visible, [data-nol-state=\"Focus\"]),\n.nol-diff-cell:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(0px - var(--nol-border-width));\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-diff-file-twistie {\n flex: none;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-diff-file-toggle[aria-expanded=\"true\"] .nol-diff-file-twistie {\n rotate: 90deg;\n}\n\n.nol-diff-file-toggle:dir(rtl)[aria-expanded=\"false\"] .nol-diff-file-twistie {\n rotate: 180deg;\n}\n\n.nol-diff-file-path {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-file-status,\n.nol-diff-hunk-range,\n.nol-diff-review {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-diff-file-counts {\n display: flex;\n flex: none;\n gap: var(--nol-space-1);\n}\n\n.nol-diff-hunk-range {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n font-family: var(--nol-font-mono);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-actions {\n display: flex;\n flex: none;\n}\n\n.nol-diff-file-body {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-hunk + .nol-diff-hunk {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-note {\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n color: var(--nol-text-muted);\n}\n\n.nol-diff-held {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n padding-inline-end: var(--nol-space-3);\n}\n\n.nol-diff-hunk-lines {\n --nol-diff-gutter: max(1.5rem, var(--nol-pointer-target));\n\n display: grid;\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(max-content, 1fr);\n padding-block: max(0px, (var(--nol-pointer-target) - 1lh) / 2);\n overflow-x: auto;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n}\n\n.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(max-content, 1fr) var(--nol-diff-gutter) auto auto minmax(max-content, 1fr);\n}\n\n.nol-diff-view-wrapped .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(0, 1fr);\n}\n\n.nol-diff-view-wrapped.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(0, 1fr) var(--nol-diff-gutter) auto auto minmax(0, 1fr);\n}\n\n.nol-diff-pair {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-cell {\n position: relative;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-pair > .nol-diff-cell,\n.nol-diff-filler {\n grid-column: span 4;\n}\n\n.nol-diff-cell-added {\n background-color: var(--nol-added-background);\n}\n\n.nol-diff-cell-removed {\n background-color: var(--nol-removed-background);\n}\n\n.nol-diff-number {\n min-width: 2ch;\n padding-inline: var(--nol-space-2) var(--nol-space-1);\n color: var(--nol-text-muted);\n text-align: end;\n user-select: none;\n}\n\n.nol-diff-view-opens-files .nol-diff-number:not(:empty) {\n cursor: pointer;\n}\n\n.nol-diff-sign {\n padding-inline-end: var(--nol-space-1);\n white-space: pre;\n user-select: none;\n}\n\n.nol-diff-cell-added .nol-diff-sign {\n color: var(--nol-added);\n}\n\n.nol-diff-cell-removed .nol-diff-sign {\n color: var(--nol-removed);\n}\n\n.nol-diff-text {\n padding-inline-end: var(--nol-space-3);\n white-space: pre;\n}\n\n.nol-diff-view-wrapped .nol-diff-text {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-diff-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n user-select: none;\n}\n\n.nol-diff-comment {\n position: relative;\n z-index: 1;\n display: grid;\n place-items: center;\n align-self: start;\n box-sizing: border-box;\n width: 100%;\n height: var(--nol-pointer-target);\n margin-block: calc((1lh - var(--nol-pointer-target)) / 2);\n padding: 0;\n border: none;\n background: none;\n color: var(--nol-button-text);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n cursor: pointer;\n visibility: hidden;\n user-select: none;\n}\n\n.nol-diff-comment::before {\n content: \"\";\n grid-area: 1 / 1;\n width: 1lh;\n height: 1lh;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n}\n\n.nol-diff-comment > span {\n grid-area: 1 / 1;\n}\n\n.nol-diff-cell:is(:hover, [data-nol-state=\"Hover\"], :focus-visible, [data-nol-state=\"Focus\"]) > .nol-diff-comment {\n visibility: visible;\n}\n\n.nol-diff-code::highlight(nol-code-comment) {\n color: var(--nol-code-comment);\n}\n\n.nol-diff-code::highlight(nol-code-keyword) {\n color: var(--nol-code-keyword);\n}\n\n.nol-diff-code::highlight(nol-code-control) {\n color: var(--nol-code-control);\n}\n\n.nol-diff-code::highlight(nol-code-string) {\n color: var(--nol-code-string);\n}\n\n.nol-diff-code::highlight(nol-code-number) {\n color: var(--nol-code-number);\n}\n\n.nol-diff-code::highlight(nol-code-type) {\n color: var(--nol-code-type);\n}\n\n.nol-diff-code::highlight(nol-code-function) {\n color: var(--nol-code-function);\n}\n\n.nol-diff-code::highlight(nol-code-variable) {\n color: var(--nol-code-variable);\n}\n\n.nol-diff-code::highlight(nol-code-regex) {\n color: var(--nol-code-regex);\n}\n\n.nol-diff-code::highlight(nol-code-meta) {\n color: var(--nol-code-meta);\n}\n\n.nol-diff-code::highlight(nol-diff-added-change) {\n background-color: var(--nol-added-change);\n}\n\n.nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: var(--nol-removed-change);\n}\n\n@media (forced-colors: active) {\n .nol-diff-cell-added,\n .nol-diff-cell-removed {\n background-color: Canvas;\n }\n\n .nol-diff-code {\n color: CanvasText;\n forced-color-adjust: none;\n }\n\n .nol-diff-code::selection {\n background-color: Highlight;\n color: HighlightText;\n }\n\n .nol-diff-code::highlight(nol-code-comment),\n .nol-diff-code::highlight(nol-code-keyword),\n .nol-diff-code::highlight(nol-code-control),\n .nol-diff-code::highlight(nol-code-string),\n .nol-diff-code::highlight(nol-code-number),\n .nol-diff-code::highlight(nol-code-type),\n .nol-diff-code::highlight(nol-code-function),\n .nol-diff-code::highlight(nol-code-variable),\n .nol-diff-code::highlight(nol-code-regex),\n .nol-diff-code::highlight(nol-code-meta) {\n color: CanvasText;\n }\n\n .nol-diff-code::highlight(nol-diff-added-change),\n .nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: Canvas;\n text-decoration: underline solid 2px Highlight;\n }\n}\n"] }]
391
+ }, 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=\"nol-diff-view-bar\" nolToolbar [nolToolbarLabel]=\"partResources.diffViewActionsLabel\">\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-layout\" data-nol-resizes-row [icon]=\"partResources.diffSideBySideGlyph\" [label]=\"partResources.diffSideBySideLabel\" [pressed]=\"isSideBySide()\"\n [nolTooltip]=\"partResources.diffSideBySideLabel\" (click)=\"toggleLayout()\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem class=\"nol-diff-view-wrap\" data-nol-resizes-row [icon]=\"resources.wordWrapGlyph\" [label]=\"resources.wordWrapLabel\" [pressed]=\"wrapped()\"\n [nolTooltip]=\"resources.wordWrapLabel\" (click)=\"toggleWrap()\"></button>\n</div>\n@for (file of files(); track file.id; let fileIndex = $index) {\n @let isOpen = !collapsed().has(file.id);\n @let fileState = fileStateOf(file);\n <section class=\"nol-diff-file\" [attr.aria-labelledby]=\"id + '-file-' + fileIndex\">\n <div class=\"nol-diff-file-header\">\n <button type=\"button\" class=\"nol-diff-file-toggle\" data-nol-resizes-row [id]=\"id + '-file-' + fileIndex\" [attr.aria-expanded]=\"isOpen\" (click)=\"toggleFile(file)\">\n <span class=\"nol-diff-file-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-diff-file-path\" data-truncates>{{ file.oldPath === null ? file.path : partResources.formatDiffRename(file.oldPath, file.path) }}</span>\n <span class=\"nol-diff-file-status\">{{ partResources.diffStatusTexts[file.status] }}</span>\n <span class=\"nol-diff-file-counts\" aria-hidden=\"true\">\n <nol-chip [kind]=\"chipKinds.Added\" [count]=\"file.additions\" />\n <nol-chip [kind]=\"chipKinds.Removed\" [count]=\"file.deletions\" />\n </span>\n <span class=\"nol-diff-hidden\">{{ partResources.formatDiffCounts(file.additions, file.deletions) }}</span>\n </button>\n @if (fileState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.formatDiffReviewText(fileState) }}</span>\n }\n @if (canOpenFiles()) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-file-open\" [icon]=\"partResources.diffOpenFileGlyph\" [label]=\"partResources.diffOpenFileLabel\" [nolTooltip]=\"partResources.diffOpenFileLabel\"\n (click)=\"openFile(file)\"></button>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk: null, subject: file.path }\"></ng-container>\n }\n </div>\n @if (isOpen) {\n <div class=\"nol-diff-file-body\">\n @if (file.content.stateText; as text) {\n <p class=\"nol-diff-note\" [class.nol-diff-note-pending]=\"file.content.isPending\">{{ text }}</p>\n }\n @if (isHeld(file)) {\n <div class=\"nol-diff-held\">\n <p class=\"nol-diff-note\">{{ partResources.diffHeldText }}</p>\n <button type=\"button\" nol-button class=\"nol-diff-load\" data-nol-resizes-row [variant]=\"secondary\" (click)=\"reveal(file)\">{{ partResources.diffLoadLabel }}</button>\n </div>\n } @else {\n @for (hunk of file.content.hunks; track hunk.id; let hunkIndex = $index, isLast = $last) {\n @let hunkLabel = partResources.formatDiffHunkLabel(hunkIndex + 1, file.content.hunks.length);\n @let hunkState = reviewOf(file).hunkState(hunk.id);\n <div class=\"nol-diff-hunk\" role=\"group\" [attr.aria-label]=\"hunkLabel\">\n <div class=\"nol-diff-hunk-header\">\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand\" data-nol-resizes-row=\"later\" [icon]=\"partResources.diffExpandGlyphs[directions.Up]\" [label]=\"partResources.diffExpandLabels[directions.Up]\"\n [nolTooltip]=\"partResources.diffExpandLabels[directions.Up]\" (click)=\"expand(file, hunk, directions.Up)\"></button>\n <span class=\"nol-diff-hunk-range\" aria-hidden=\"true\">{{ partResources.formatDiffHunkRange(hunk.oldStart, hunk.oldLength, hunk.newStart, hunk.newLength) }} {{ hunk.section }}</span>\n @if (hunkState !== undecided) {\n <span class=\"nol-diff-review\">{{ partResources.diffReviewTexts[hunkState] }}</span>\n }\n @if (!readOnly()) {\n <ng-container *ngTemplateOutlet=\"reviewActions; context: { $implicit: file, hunk, subject: hunkLabel }\"></ng-container>\n }\n </div>\n <div class=\"nol-diff-hunk-lines\" #lines [attr.aria-keyshortcuts]=\"lineKeys()\">\n @if (isSideBySide()) {\n @for (pair of pairsOf(hunk); track $index) {\n <div class=\"nol-diff-pair\">\n @if (pair.oldLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.Old, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n @if (pair.newLine; as line) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: sides.New, file, hunk, lines }\"></ng-container>\n } @else {\n <div class=\"nol-diff-filler\"></div>\n }\n </div>\n }\n } @else {\n @for (line of hunk.lines; track $index) {\n <ng-container *ngTemplateOutlet=\"cell; context: { $implicit: line, side: line.side, file, hunk, lines }\"></ng-container>\n }\n }\n </div>\n @if (isLast) {\n <button type=\"button\" nol-icon-button class=\"nol-diff-expand nol-diff-expand-down\" data-nol-resizes-row=\"later\" [icon]=\"partResources.diffExpandGlyphs[directions.Down]\"\n [label]=\"partResources.diffExpandLabels[directions.Down]\" [nolTooltip]=\"partResources.diffExpandLabels[directions.Down]\" (click)=\"expand(file, hunk, directions.Down)\"></button>\n }\n </div>\n }\n }\n </div>\n }\n </section>\n} @empty {\n <p class=\"nol-diff-note nol-diff-empty\">{{ partResources.diffEmptyText }}</p>\n}\n\n<ng-template #reviewActions let-file let-hunk=\"hunk\" let-subject=\"subject\">\n <div class=\"nol-diff-actions\" nolToolbar [nolToolbarLabel]=\"partResources.formatDiffActionsLabel(subject)\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffAcceptLabel\" [icon]=\"partResources.diffAcceptGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Accepted)\"></button>\n <button type=\"button\" nol-toolbar-button nolToolbarItem class=\"nol-diff-action\" [label]=\"partResources.diffRejectLabel\" [icon]=\"partResources.diffRejectGlyph\" [isShowingLabel]=\"true\"\n (click)=\"review(file, hunk, states.Rejected)\"></button>\n </div>\n</ng-template>\n\n<ng-template #cell let-line let-side=\"side\" let-file=\"file\" let-hunk=\"hunk\" let-lines=\"lines\">\n <div class=\"nol-diff-cell\" [class]=\"kindClassOf(line)\" [class.nol-diff-cell-changed]=\"line.kind !== contextKind\"\n (focusin)=\"activate($event, lines)\" (keydown)=\"handleCellKey($event, lines, file, line, side)\">\n <button type=\"button\" class=\"nol-diff-comment material-symbols-rounded\" tabindex=\"-1\" aria-hidden=\"true\" [nolTooltip]=\"partResources.diffCommentLabel\"\n (click)=\"comment(file, line, side)\"><span>{{ partResources.diffCommentGlyph }}</span></button>\n @if (isSideBySide()) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, side)\">{{ line.numberOn(side) }}</span>\n } @else {\n @for (numberSide of numberSides; track numberSide) {\n @if (line.hasNumberOn(numberSide)) {\n <span class=\"nol-diff-number\" aria-hidden=\"true\" (click)=\"openLine(file, line, numberSide)\">{{ line.numberOn(numberSide) }}</span>\n } @else {\n <span class=\"nol-diff-number\" aria-hidden=\"true\"></span>\n }\n }\n }\n <span class=\"nol-diff-sign\" aria-hidden=\"true\">{{ signOf(line) }}</span>\n <span class=\"nol-diff-text\"><span class=\"nol-diff-hidden\">{{ nameOf(line, side) }} </span><span class=\"nol-diff-code\" [nolDiffCode]=\"tokensOf(line, side)\" [nolDiffCodeText]=\"line.text\" [nolDiffCodeChanges]=\"changesOf(hunk, line)\"></span></span>\n </div>\n</ng-template>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-diff-view {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n color: var(--nol-text);\n}\n\n.nol-diff-view-bar {\n display: flex;\n justify-content: flex-end;\n}\n\n.nol-diff-file {\n min-width: 0;\n overflow: hidden;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n background-color: var(--nol-code);\n}\n\n.nol-diff-file-header,\n.nol-diff-hunk-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-2);\n background-color: var(--nol-code-header);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-diff-file-toggle {\n display: flex;\n flex: 1 1 auto;\n align-items: center;\n gap: var(--nol-space-2);\n min-width: 0;\n padding: 0;\n border: none;\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n cursor: pointer;\n}\n\n.nol-diff-file-toggle:is(:focus-visible, [data-nol-state=\"Focus\"]),\n.nol-diff-cell:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(0px - var(--nol-border-width));\n\n @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-diff-file-twistie {\n flex: none;\n color: var(--nol-icon-color);\n font-size: var(--nol-icon);\n}\n\n.nol-diff-file-toggle[aria-expanded=\"true\"] .nol-diff-file-twistie {\n rotate: 90deg;\n}\n\n.nol-diff-file-toggle:dir(rtl)[aria-expanded=\"false\"] .nol-diff-file-twistie {\n rotate: 180deg;\n}\n\n.nol-diff-file-path {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-file-status,\n.nol-diff-hunk-range,\n.nol-diff-review {\n flex: none;\n color: var(--nol-text-muted);\n}\n\n.nol-diff-file-counts {\n display: flex;\n flex: none;\n gap: var(--nol-space-1);\n}\n\n.nol-diff-hunk-range {\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n font-family: var(--nol-font-mono);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-diff-actions {\n display: flex;\n flex: none;\n}\n\n.nol-diff-file-body {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-hunk + .nol-diff-hunk {\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-diff-note {\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n color: var(--nol-text-muted);\n}\n\n.nol-diff-held {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--nol-space-2);\n padding-inline-end: var(--nol-space-3);\n}\n\n.nol-diff-hunk-lines {\n --nol-diff-gutter: max(1.5rem, var(--nol-pointer-target));\n\n display: grid;\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(max-content, 1fr);\n padding-block: max(0px, (var(--nol-pointer-target) - 1lh) / 2);\n overflow-x: auto;\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n}\n\n.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(max-content, 1fr) var(--nol-diff-gutter) auto auto minmax(max-content, 1fr);\n}\n\n.nol-diff-view-wrapped .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto auto minmax(0, 1fr);\n}\n\n.nol-diff-view-wrapped.nol-diff-view-side-by-side .nol-diff-hunk-lines {\n grid-template-columns: var(--nol-diff-gutter) auto auto minmax(0, 1fr) var(--nol-diff-gutter) auto auto minmax(0, 1fr);\n}\n\n.nol-diff-pair {\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-cell {\n position: relative;\n display: grid;\n grid-column: 1 / -1;\n grid-template-columns: subgrid;\n}\n\n.nol-diff-pair > .nol-diff-cell,\n.nol-diff-filler {\n grid-column: span 4;\n}\n\n.nol-diff-cell-added {\n background-color: var(--nol-added-background);\n}\n\n.nol-diff-cell-removed {\n background-color: var(--nol-removed-background);\n}\n\n.nol-diff-number {\n min-width: 2ch;\n padding-inline: var(--nol-space-2) var(--nol-space-1);\n color: var(--nol-text-muted);\n text-align: end;\n user-select: none;\n}\n\n.nol-diff-view-opens-files .nol-diff-number:not(:empty) {\n cursor: pointer;\n}\n\n.nol-diff-sign {\n padding-inline-end: var(--nol-space-1);\n white-space: pre;\n user-select: none;\n}\n\n.nol-diff-cell-added .nol-diff-sign {\n color: var(--nol-added);\n}\n\n.nol-diff-cell-removed .nol-diff-sign {\n color: var(--nol-removed);\n}\n\n.nol-diff-text {\n padding-inline-end: var(--nol-space-3);\n white-space: pre;\n}\n\n.nol-diff-view-wrapped .nol-diff-text {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-diff-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n user-select: none;\n}\n\n.nol-diff-comment {\n position: relative;\n z-index: 1;\n display: grid;\n place-items: center;\n align-self: start;\n box-sizing: border-box;\n width: 100%;\n height: var(--nol-pointer-target);\n margin-block: calc((1lh - var(--nol-pointer-target)) / 2);\n padding: 0;\n border: none;\n background: none;\n color: var(--nol-button-text);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n cursor: pointer;\n visibility: hidden;\n user-select: none;\n}\n\n.nol-diff-comment::before {\n content: \"\";\n grid-area: 1 / 1;\n width: 1lh;\n height: 1lh;\n border-radius: var(--nol-radius-small);\n background-color: var(--nol-button);\n}\n\n.nol-diff-comment > span {\n grid-area: 1 / 1;\n}\n\n.nol-diff-cell:is(:hover, [data-nol-state=\"Hover\"], :focus-visible, [data-nol-state=\"Focus\"]) > .nol-diff-comment {\n visibility: visible;\n}\n\n.nol-diff-code::highlight(nol-code-comment) {\n color: var(--nol-code-comment);\n}\n\n.nol-diff-code::highlight(nol-code-keyword) {\n color: var(--nol-code-keyword);\n}\n\n.nol-diff-code::highlight(nol-code-control) {\n color: var(--nol-code-control);\n}\n\n.nol-diff-code::highlight(nol-code-string) {\n color: var(--nol-code-string);\n}\n\n.nol-diff-code::highlight(nol-code-number) {\n color: var(--nol-code-number);\n}\n\n.nol-diff-code::highlight(nol-code-type) {\n color: var(--nol-code-type);\n}\n\n.nol-diff-code::highlight(nol-code-function) {\n color: var(--nol-code-function);\n}\n\n.nol-diff-code::highlight(nol-code-variable) {\n color: var(--nol-code-variable);\n}\n\n.nol-diff-code::highlight(nol-code-regex) {\n color: var(--nol-code-regex);\n}\n\n.nol-diff-code::highlight(nol-code-meta) {\n color: var(--nol-code-meta);\n}\n\n.nol-diff-code::highlight(nol-diff-added-change) {\n background-color: var(--nol-added-change);\n}\n\n.nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: var(--nol-removed-change);\n}\n\n@media (forced-colors: active) {\n .nol-diff-cell-added,\n .nol-diff-cell-removed {\n background-color: Canvas;\n }\n\n .nol-diff-code {\n color: CanvasText;\n forced-color-adjust: none;\n }\n\n .nol-diff-code::selection {\n background-color: Highlight;\n color: HighlightText;\n }\n\n .nol-diff-code::highlight(nol-code-comment),\n .nol-diff-code::highlight(nol-code-keyword),\n .nol-diff-code::highlight(nol-code-control),\n .nol-diff-code::highlight(nol-code-string),\n .nol-diff-code::highlight(nol-code-number),\n .nol-diff-code::highlight(nol-code-type),\n .nol-diff-code::highlight(nol-code-function),\n .nol-diff-code::highlight(nol-code-variable),\n .nol-diff-code::highlight(nol-code-regex),\n .nol-diff-code::highlight(nol-code-meta) {\n color: CanvasText;\n }\n\n .nol-diff-code::highlight(nol-diff-added-change),\n .nol-diff-code::highlight(nol-diff-removed-change) {\n background-color: Canvas;\n text-decoration: underline solid 2px Highlight;\n }\n}\n"] }]
385
392
  }], ctorParameters: () => [], propDecorators: { files: [{ type: i0.Input, args: [{ isSignal: true, alias: "files", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }, { type: i0.Output, args: ["layoutChange"] }], wrapped: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrapped", required: false }] }, { type: i0.Output, args: ["wrappedChange"] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], canOpenFiles: [{ type: i0.Input, args: [{ isSignal: true, alias: "canOpenFiles", required: false }] }], reviews: [{ type: i0.Input, args: [{ isSignal: true, alias: "reviews", required: false }] }], collapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapsed", required: false }] }, { type: i0.Output, args: ["collapsedChange"] }], revealed: [{ type: i0.Input, args: [{ isSignal: true, alias: "revealed", required: false }] }, { type: i0.Output, args: ["revealedChange"] }], collapseLimit: [{ type: i0.Input, args: [{ isSignal: true, alias: "collapseLimit", required: false }] }], hasShortcuts: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasShortcuts", required: false }] }], reviewRequested: [{ type: i0.Output, args: ["reviewRequested"] }], fileOpenRequested: [{ type: i0.Output, args: ["fileOpenRequested"] }], contextRequested: [{ type: i0.Output, args: ["contextRequested"] }], fileExpanded: [{ type: i0.Output, args: ["fileExpanded"] }], lineCommentRequested: [{ type: i0.Output, args: ["lineCommentRequested"] }] } });
386
393
  //# sourceMappingURL=diff-view.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"diff-view.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/diff-view/diff-view.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/diff-view/diff-view.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAe,iBAAiB,EAAuB,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EACvK,MAAM,EACP,MAAM,eAAe,CAAC;AAEvB,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,+B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CAAC,eAAe,EAAE,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC,iBAGtK,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,OAAO,EAAE,eAAe;wBACxB,MAAM,EAAE,QAAQ;wBAChB,mBAAmB,EAAE,SAAS;wBAC9B,0BAA0B,EAAE,sCAAsC;wBAClE,+BAA+B,EAAE,WAAW;wBAC5C,oCAAoC,EAAE,gBAAgB;wBACtD,mCAAmC,EAAE,gBAAgB;wBACrD,WAAW,EAAE,qBAAqB;qBACnC"}
1
+ {"version":3,"file":"diff-view.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/diff-view/diff-view.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/diff-view/diff-view.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAe,iBAAiB,EAAuB,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EACzK,MAAM,EAAE,MAAM,EAAE,SAAS,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM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B,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACf,OAAO,IAAI,CAAC;IACd,CAAC;uGAxWU,iBAAiB;2FAAjB,iBAAiB,sqECvE9B,8pRAmIA,wlQD3EY,eAAe,oJAAE,aAAa,gFAAE,iBAAiB,4HAAE,mBAAmB,2MAAE,gBAAgB,oJAAE,sBAAsB,yLAAE,gBAAgB,uKAAE,oBAAoB,6DAAE,gBAAgB;;2FAezK,iBAAiB;kBAjB7B,SAAS;+BACE,eAAe,WAChB,CAAC,eAAe,EAAE,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC,iBAGtK,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,OAAO,EAAE,eAAe;wBACxB,MAAM,EAAE,QAAQ;wBAChB,mBAAmB,EAAE,SAAS;wBAC9B,0BAA0B,EAAE,sCAAsC;wBAClE,+BAA+B,EAAE,WAAW;wBAC5C,oCAAoC,EAAE,gBAAgB;wBACtD,mCAAmC,EAAE,gBAAgB;wBACrD,WAAW,EAAE,qBAAqB;qBACnC"}
@@ -1,35 +1,5 @@
1
- import { DiffLayout } from "../../enums/diff-layout.js";
2
- import { GallerySize } from "../../enums/gallery-size.js";
3
- import { DiffCollapseLimit } from "../../models/diff-collapse-limit.js";
4
- import { DiffFile } from "../../models/diff-file.js";
5
- import { DiffFileReview } from "../../models/diff-file-review.js";
6
- import { GalleryPermissionCards } from "./gallery-permission-cards.js";
7
- import { GalleryPlans } from "./gallery-plans.js";
8
- import { GalleryResources } from "./gallery-resources.js";
9
- import { GalleryToolCalls } from "./gallery-tool-calls.js";
10
1
  import * as i0 from "@angular/core";
11
2
  export declare class GalleryContentComponent {
12
- private static readonly text;
13
- private static readonly service;
14
- protected readonly text: typeof GalleryResources.text;
15
- protected readonly sizes: typeof GallerySize;
16
- protected readonly calls: GalleryToolCalls;
17
- protected readonly toggle: string;
18
- protected readonly terminalColors: readonly string[];
19
- protected readonly terminalSurfaces: readonly (readonly [string, string])[];
20
- protected readonly statusSurfaces: readonly (readonly [string, string])[];
21
- protected readonly plans: GalleryPlans;
22
- protected readonly permissions: GalleryPermissionCards;
23
- protected readonly option: string;
24
- protected readonly alwaysAllow: string;
25
- protected readonly sideBySide: DiffLayout;
26
- protected readonly diffFiles: readonly DiffFile[];
27
- protected readonly diffStates: readonly DiffFile[];
28
- protected readonly diffLong: readonly DiffFile[];
29
- protected readonly diffReviews: ReadonlyMap<string, DiffFileReview>;
30
- protected readonly diffHeldLimit: DiffCollapseLimit;
31
- protected readonly diffPartial: readonly DiffFile[];
32
- protected readonly diffCollapsed: ReadonlySet<string>;
33
3
  static ɵfac: i0.ɵɵFactoryDeclaration<GalleryContentComponent, never>;
34
4
  static ɵcmp: i0.ɵɵComponentDeclaration<GalleryContentComponent, "nol-gallery-content", never, {}, {}, never, never, true, never>;
35
5
  }