@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
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Component } from "@angular/core";
9
+ import { GallerySize } from "../../enums/gallery-size.js";
10
+ import { IconButtonComponent } from "../icon-button/icon-button.component.js";
11
+ import { ToolbarButtonComponent } from "../toolbar-button/toolbar-button.component.js";
12
+ import { ToolbarItemDirective } from "../toolbar/toolbar-item.directive.js";
13
+ import { ToolbarDirective } from "../toolbar/toolbar.directive.js";
14
+ import { TooltipDirective } from "../tooltip/tooltip.directive.js";
15
+ import { GalleryCellComponent } from "./gallery-cell.component.js";
16
+ import { GalleryResources } from "./gallery-resources.js";
17
+ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
18
+ import { GalleryStateDirective } from "./gallery-state.directive.js";
19
+ import * as i0 from "@angular/core";
20
+ export class GalleryToolbarComponent {
21
+ text = GalleryResources.text;
22
+ sizes = GallerySize;
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryToolbarComponent, isStandalone: true, selector: "nol-gallery-toolbar", 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<nol-gallery-specimen [name]=\"text.toolbar\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.iconGlyph\" [label]=\"text.disabled\" aria-disabled=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\" nolGalleryFocus=\"button\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar nol-gallery-narrow\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.longText\" [isShowingLabel]=\"true\" [nolTooltip]=\"text.longText\"\n [nolTooltipTruncated]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"], dependencies: [{ kind: "component", type: GalleryCellComponent, selector: "nol-gallery-cell", inputs: ["caption"] }, { kind: "component", type: GallerySpecimenComponent, selector: "nol-gallery-specimen", inputs: ["name", "size"] }, { kind: "directive", type: GalleryStateDirective, selector: "[nolGalleryHover], [nolGalleryFocus]", inputs: ["nolGalleryHover", "nolGalleryFocus"] }, { kind: "component", type: IconButtonComponent, selector: "button[nol-icon-button]", inputs: ["icon", "label", "pressed", "filled", "overlay", "backdrop", "buttonHeight", "danger", "tabAction", "busy", "busyPressable"] }, { 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"] }] });
25
+ }
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryToolbarComponent, decorators: [{
27
+ type: Component,
28
+ args: [{ selector: "nol-gallery-toolbar", imports: [GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, IconButtonComponent, ToolbarButtonComponent, ToolbarDirective, ToolbarItemDirective, TooltipDirective], template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<nol-gallery-specimen [name]=\"text.toolbar\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.iconGlyph\" [label]=\"text.disabled\" aria-disabled=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar\" nolGalleryFocus=\"button\">\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphAdd\" [label]=\"text.button\"></button>\n <button type=\"button\" nol-icon-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.pressed\" [pressed]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <div nolToolbar [nolToolbarLabel]=\"text.toolbarLabel\" class=\"nol-gallery-toolbar nol-gallery-narrow\">\n <button type=\"button\" nol-toolbar-button nolToolbarItem [icon]=\"text.glyphSave\" [label]=\"text.longText\" [isShowingLabel]=\"true\" [nolTooltip]=\"text.longText\"\n [nolTooltipTruncated]=\"true\"></button>\n </div>\n </nol-gallery-cell>\n</nol-gallery-specimen>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: grid;\n gap: var(--nol-space-6);\n}\n\n.nol-gallery-strip {\n display: flex;\n flex-wrap: wrap;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n\n.nol-gallery-tree,\n.nol-gallery-sections {\n width: 16rem;\n}\n\n.nol-gallery-list {\n width: 16rem;\n height: 12rem;\n}\n\n.nol-gallery-toolbar {\n display: flex;\n gap: var(--nol-space-1);\n}\n\n.nol-gallery-sash-box {\n display: flex;\n align-items: stretch;\n width: 12.5rem;\n height: 4rem;\n}\n\n.nol-gallery-sash-box-column {\n flex-direction: column;\n height: 8rem;\n}\n\n.nol-gallery-pane {\n flex: 1 1 0;\n background-color: var(--nol-raised);\n}\n\n.nol-gallery-card {\n width: 12.5rem;\n padding: var(--nol-space-3);\n box-sizing: border-box;\n}\n"] }]
29
+ }] });
30
+ //# sourceMappingURL=gallery-toolbar.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery-toolbar.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-toolbar.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-toolbar.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;;AAQrE,MAAM,OAAO,uBAAuB;IACf,IAAI,GAAiC,gBAAgB,CAAC,IAAI,CAAC;IAC3D,KAAK,GAAuB,WAAW,CAAC;uGAFhD,uBAAuB;2FAAvB,uBAAuB,+EC3BpC,2tDA6BA,y/BDNY,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,mBAAmB,2MAAE,sBAAsB,yLAAE,gBAAgB,uKAAE,oBAAoB,6DAAE,gBAAgB;;2FAI3K,uBAAuB;kBANnC,SAAS;+BACE,qBAAqB,WACtB,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,CAAC"}
@@ -67,6 +67,7 @@ export declare class ToolCallComponent {
67
67
  private readonly copyTimers;
68
68
  private lastCall;
69
69
  private isRetryingFromFocus;
70
+ private readonly answer;
70
71
  private isRetryLoading;
71
72
  private readonly follower;
72
73
  protected readonly resources: typeof Resources;
@@ -83,6 +84,7 @@ export declare class ToolCallComponent {
83
84
  protected readonly outputTemplate: Signal<TemplateRef<IToolCallOutputContext> | null>;
84
85
  protected readonly control: Signal<TemplateRef<IToolCallOutputContext> | null>;
85
86
  protected readonly isExpanded: Signal<boolean>;
87
+ protected readonly toggleResizesRow: Signal<string>;
86
88
  protected readonly isRunning: Signal<boolean>;
87
89
  protected readonly target: Signal<TextCut | null>;
88
90
  protected readonly durationText: Signal<string | null>;
@@ -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, Injector, ViewEncapsulation, afterNextRender, afterRenderEffect, computed, contentChild, effect, inject, input, model, output, signal, viewChild, viewChildren } from "@angular/core";
9
+ import { Component, DestroyRef, ElementRef, ErrorHandler, Injector, ViewEncapsulation, afterNextRender, afterRenderEffect, computed, contentChild, effect, inject, input, model, output, signal, untracked, viewChild, viewChildren } from "@angular/core";
10
10
  import "@noldova/context.core";
11
11
  import { Resources } from "../../../resources.js";
12
12
  import { AnnouncementPoliteness } from "../../enums/announcement-politeness.js";
@@ -15,6 +15,7 @@ import { ToolCallOutputState } from "../../enums/tool-call-output-state.js";
15
15
  import { ToolCallStatus } from "../../enums/tool-call-status.js";
16
16
  import { ClockTokens } from "../../models/clock-tokens.js";
17
17
  import { OverlaySide } from "../../models/overlay-side.js";
18
+ import { RowAnswer } from "../../models/row-answer.js";
18
19
  import { ScrollEndFollower } from "../../models/scroll-end-follower.js";
19
20
  import { TextCut } from "../../models/text-cut.js";
20
21
  import { ToolCallViews } from "../../models/tool-call-views.js";
@@ -71,6 +72,7 @@ export class ToolCallComponent {
71
72
  copyTimers = new Map();
72
73
  lastCall = null;
73
74
  isRetryingFromFocus = false;
75
+ answer = new RowAnswer(this.host, this.injector);
74
76
  isRetryLoading = false;
75
77
  follower = new ScrollEndFollower(ToolCallComponentResources.toolCallFollowDistance);
76
78
  resources = Resources;
@@ -95,6 +97,8 @@ export class ToolCallComponent {
95
97
  ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
96
98
  isExpanded = computed(() => this.views().isExpanded(this.call()), /* @ts-ignore */
97
99
  ...(ngDevMode ? [{ debugName: "isExpanded" }] : /* istanbul ignore next */ []));
100
+ toggleResizesRow = computed(() => !this.isExpanded() && this.lacksOutput(this.call()) ? Resources.resizesRowLater : String.empty, /* @ts-ignore */
101
+ ...(ngDevMode ? [{ debugName: "toggleResizesRow" }] : /* istanbul ignore next */ []));
98
102
  isRunning = computed(() => this.call().status === ToolCallStatus.Running, /* @ts-ignore */
99
103
  ...(ngDevMode ? [{ debugName: "isRunning" }] : /* istanbul ignore next */ []));
100
104
  target = computed(() => {
@@ -209,6 +213,10 @@ export class ToolCallComponent {
209
213
  if (call.hasEnded && last?.id === call.id && !last.hasEnded)
210
214
  this.announcer.announce(ToolCallComponentResources.formatToolCallEnded(call.title, ToolCallComponentResources.toolCallStatusLabels[call.status]), AnnouncementPoliteness.Polite, { key: ToolCallComponentResources.formatToolCallEndedKey(call.id, call.status) });
211
215
  });
216
+ effect(() => {
217
+ this.call();
218
+ untracked(() => this.answer.arrive());
219
+ });
212
220
  afterNextRender(() => {
213
221
  const call = this.call();
214
222
  if (this.isExpanded() && this.lacksOutput(call))
@@ -225,14 +233,17 @@ export class ToolCallComponent {
225
233
  const call = this.call();
226
234
  const isExpanding = !this.isExpanded();
227
235
  this.views.update(t => t.withExpanded(call, isExpanding));
228
- if (isExpanding && this.lacksOutput(call))
236
+ if (isExpanding && this.lacksOutput(call)) {
237
+ this.answer.await();
229
238
  this.outputRequest.emit(call);
239
+ }
230
240
  }
231
241
  retry(button) {
232
242
  if (button.ownerDocument.activeElement === button) {
233
243
  this.toggleButton().focus({ preventScroll: true });
234
244
  this.isRetryingFromFocus = true;
235
245
  }
246
+ this.answer.await();
236
247
  this.outputRequest.emit(this.call());
237
248
  }
238
249
  showAllLines() {
@@ -330,7 +341,7 @@ export class ToolCallComponent {
330
341
  return state === ToolCallOutputState.Loading || state === ToolCallOutputState.Failed;
331
342
  }
332
343
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ToolCallComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
333
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ToolCallComponent, isStandalone: true, selector: "nol-tool-call", inputs: { call: { classPropertyName: "call", publicName: "call", isSignal: true, isRequired: true, transformFunction: null }, views: { classPropertyName: "views", publicName: "views", isSignal: true, isRequired: false, transformFunction: null }, outputLines: { classPropertyName: "outputLines", publicName: "outputLines", isSignal: true, isRequired: false, transformFunction: null }, childrenStep: { classPropertyName: "childrenStep", publicName: "childrenStep", isSignal: true, isRequired: false, transformFunction: null }, titleTooltip: { classPropertyName: "titleTooltip", publicName: "titleTooltip", isSignal: true, isRequired: false, transformFunction: null }, cancelLabel: { classPropertyName: "cancelLabel", publicName: "cancelLabel", isSignal: true, isRequired: false, transformFunction: null }, shownTitles: { classPropertyName: "shownTitles", publicName: "shownTitles", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { views: "viewsChange", cancel: "cancel", openTarget: "openTarget", outputRequest: "outputRequest" }, host: { properties: { "class.nol-tool-call-expanded": "isExpanded() && !isStatic()", "class.nol-tool-call-static": "isStatic()", "class.nol-tool-call-fold-extras": "fit() >= 1", "class.nol-tool-call-fold-status": "fit() >= 2", "class.nol-tool-call-fold-kind": "fit() >= 3", "class.nol-tool-call-unindented": "isCapped()" }, classAttribute: "nol-tool-call" }, queries: [{ propertyName: "ownOutput", first: true, predicate: ToolCallOutputDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "outputArea", first: true, predicate: ["output"], descendants: true, isSignal: true }, { propertyName: "retryButton", first: true, predicate: ["retryButton"], descendants: true, isSignal: true }, { propertyName: "childList", first: true, predicate: ["children"], descendants: true, isSignal: true }, { propertyName: "titleText", first: true, predicate: ["title"], descendants: true, isSignal: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "nestedCards", predicate: ToolCallComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div #header class=\"nol-tool-call-header\">\n @if (isStatic()) {\n <span class=\"nol-tool-call-toggle\" tabindex=\"-1\" [id]=\"id + '-toggle'\" [attr.aria-describedby]=\"id + '-state'\" [nolTooltip]=\"titleTip()\" [nolTooltipTruncated]=\"true\" [nolTooltipDisabled]=\"titleTooltip() === null\"\n [nolTooltipSide]=\"titleSide()\" [nolTooltipBeside]=\"titleBeside()\">\n <ng-container [ngTemplateOutlet]=\"heading\" />\n </span>\n } @else {\n <button type=\"button\" class=\"nol-tool-call-toggle\" data-nol-resizes-row [id]=\"id + '-toggle'\" [attr.aria-expanded]=\"isExpanded()\" [attr.aria-controls]=\"id + '-body'\" [attr.aria-describedby]=\"id + '-state'\"\n [nolTooltip]=\"titleTip()\" [nolTooltipTruncated]=\"true\" [nolTooltipDisabled]=\"titleTooltip() === null\" [nolTooltipSide]=\"titleSide()\"\n [nolTooltipBeside]=\"titleBeside()\" (click)=\"toggle()\">\n <ng-container [ngTemplateOutlet]=\"heading\" />\n </button>\n }\n <ng-template #heading>\n <span class=\"nol-tool-call-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-tool-call-kind material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallKindGlyphs[call().kind] }}</span>\n <span #title class=\"nol-tool-call-title\" data-truncates>{{ shownTitle() }}@if (call().note; as note) {<span class=\"nol-tool-call-note\">{{ partResources.toolCallNoteSeparator }}{{ note }}</span>}</span>\n </ng-template>\n @if (target(); as target) {\n <button type=\"button\" class=\"nol-tool-call-target\" [attr.aria-label]=\"partResources.formatToolCallOpenTarget(target.text)\" [nolTooltip]=\"target.text\" [nolTooltipTruncated]=\"true\"\n (click)=\"openTarget.emit(call())\"><span class=\"nol-tool-call-target-head\" data-truncates>{{ target.head }}</span><span class=\"nol-tool-call-target-tail\">{{ target.tail }}</span></button>\n }\n <span class=\"nol-tool-call-state\" [class]=\"partResources.toolCallStatusClasses[call().status]\" [id]=\"id + '-state'\">\n @if (isRunning()) {\n <nol-spinner class=\"nol-tool-call-spinner\" />\n } @else {\n <span class=\"nol-tool-call-status-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallStatusGlyphs[call().status] }}</span>\n }\n <span class=\"nol-tool-call-status\">{{ partResources.toolCallStatusLabels[call().status] }}</span>\n @if (durationText(); as duration) {\n <span class=\"nol-tool-call-duration\">{{ duration }}</span>\n }\n @if (showsDepth()) {\n <span class=\"nol-tool-call-depth\">{{ partResources.formatToolCallDepth(depth) }}</span>\n }\n @if (!isExpanded() && call().children.length > 0) {\n <span class=\"nol-tool-call-nested\">{{ partResources.formatToolCallNested(call().children.length) }}</span>\n }\n </span>\n @if (call().isCancellable) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-cancel\" [icon]=\"partResources.toolCallCancelGlyph\" [label]=\"partResources.formatToolCallCancel(cancelLabel(), call().title)\"\n [nolTooltip]=\"cancelLabel()\" (click)=\"cancel.emit(call())\"></button>\n }\n</div>\n<div class=\"nol-tool-call-body\" role=\"region\" [id]=\"id + '-body'\" [attr.aria-labelledby]=\"id + '-toggle'\" [hidden]=\"!isExpanded() || !hasBody()\">\n @if (isExpanded()) {\n @if (call().error; as error) {\n <p class=\"nol-tool-call-error\"><span class=\"nol-tool-call-error-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallErrorGlyph }}</span><span>{{ error }}</span></p>\n }\n @if (call().input; as input) {\n <div class=\"nol-tool-call-section nol-tool-call-input\">\n <div class=\"nol-tool-call-section-header\">\n <span class=\"nol-tool-call-section-label\">{{ partResources.toolCallInputLabel }}</span>\n @if (input.fields.length > 0) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-copy\" [class.nol-tool-call-copied]=\"inputCopy() === copyStates.Copied\" [icon]=\"resources.copyGlyphs[inputCopy()]\"\n [label]=\"partResources.toolCallCopyInputLabels[inputCopy()]\" [nolTooltip]=\"partResources.toolCallCopyInputLabels[inputCopy()]\" (click)=\"copy(input.text, inputCopy)\"></button>\n }\n </div>\n @if (input.fields.length > 0) {\n <dl class=\"nol-tool-call-fields\">\n @for (field of input.fields; track $index) {\n <div class=\"nol-tool-call-field\"><dt>{{ field.key }}</dt><dd>{{ field.value }}</dd></div>\n }\n </dl>\n } @else {\n <nol-code-block [code]=\"input.text\" [language]=\"input.language\" />\n }\n </div>\n }\n @if (hasOutput()) {\n <div class=\"nol-tool-call-section nol-tool-call-result\">\n <div class=\"nol-tool-call-section-header\">\n <span class=\"nol-tool-call-section-label\">{{ partResources.toolCallOutputLabel }}</span>\n @if (call().output; as text) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-copy\" [class.nol-tool-call-copied]=\"outputCopy() === copyStates.Copied\" [icon]=\"resources.copyGlyphs[outputCopy()]\"\n [label]=\"partResources.toolCallCopyOutputLabels[outputCopy()]\" [nolTooltip]=\"partResources.toolCallCopyOutputLabels[outputCopy()]\" (click)=\"copy(text, outputCopy)\"></button>\n }\n </div>\n @if (control(); as template) {\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ $implicit: call() }\" />\n } @else if (lines().length > 0) {\n <pre #output class=\"nol-tool-call-output\" [class.nol-tool-call-output-scrolls]=\"isScrolling()\" [attr.tabindex]=\"isScrolling() ? 0 : null\" [attr.role]=\"isScrolling() ? 'region' : null\"\n [attr.aria-label]=\"isScrolling() ? partResources.toolCallOutputLabel : null\" (scroll)=\"follow(output)\" (keydown)=\"keepKey($event)\">{{ shownOutput() }}</pre>\n @if (isCut()) {\n <button type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"showAllLines()\">{{ partResources.formatToolCallShowAllLines(lines().length) }}</button>\n }\n } @else if (call().outputState === states.Loading) {\n <div class=\"nol-tool-call-loading\"><nol-spinner /><span>{{ partResources.toolCallOutputLoading }}</span></div>\n } @else {\n <div class=\"nol-tool-call-load-failed\">\n <span>{{ partResources.toolCallOutputFailed }}</span>\n <button #retryButton type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"retry(retryButton)\">{{ partResources.toolCallRetryLabel }}</button>\n </div>\n }\n </div>\n }\n @if (call().children.length > 0) {\n <div #children class=\"nol-tool-call-children\" [class.nol-tool-call-children-flat]=\"isFlat()\" role=\"group\" [attr.aria-label]=\"partResources.formatToolCallChildren(call().title)\">\n @for (child of shownChildren(); track child.id) {\n <nol-tool-call [call]=\"child\" [(views)]=\"views\" [outputLines]=\"outputLines()\" [childrenStep]=\"childrenStep()\" [shownTitles]=\"shownTitles()\" [titleTooltip]=\"titleTooltip()\" [cancelLabel]=\"cancelLabel()\" (cancel)=\"cancel.emit($event)\"\n (openTarget)=\"openTarget.emit($event)\" (outputRequest)=\"outputRequest.emit($event)\" />\n }\n @if (moreChildren() > 0) {\n <button type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"showMore()\">{{ partResources.formatToolCallShowMore(moreChildren()) }}</button>\n }\n </div>\n }\n }\n</div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-tool-call {\n --nol-tool-call-first-line: max(var(--nol-pointer-target), var(--nol-line-panel));\n\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-tool-call-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-width: 0;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-1) calc(var(--nol-space-3) - (var(--nol-icon-button-target) - var(--nol-icon)) / 2);\n}\n\n.nol-tool-call-toggle {\n display: flex;\n position: relative;\n flex: 0 1 auto;\n align-items: center;\n gap: var(--nol-space-1);\n min-width: 0;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n}\n\nbutton.nol-tool-call-toggle:is(:hover, [data-nol-state=\"Hover\"]),\n.nol-tool-call-target:is(:hover, [data-nol-state=\"Hover\"]),\n.nol-tool-call-more:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n}\n\n@media (forced-colors: active) {\n button.nol-tool-call-toggle:is(:hover, [data-nol-state=\"Hover\"]),\n .nol-tool-call-target:is(:hover, [data-nol-state=\"Hover\"]),\n .nol-tool-call-more:is(:hover, [data-nol-state=\"Hover\"]) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-tool-call-twistie,\n.nol-tool-call-kind,\n.nol-tool-call-status-glyph,\n.nol-tool-call-error-glyph {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-tool-call-twistie,\n.nol-tool-call-kind {\n color: var(--nol-icon-color);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header .nol-tool-call-twistie {\n rotate: 90deg;\n}\n\n.nol-tool-call-static > .nol-tool-call-header .nol-tool-call-twistie {\n visibility: hidden;\n}\n\n:dir(rtl) .nol-tool-call:not(.nol-tool-call-expanded) > .nol-tool-call-header .nol-tool-call-twistie {\n rotate: 180deg;\n}\n\n.nol-tool-call-title,\n.nol-tool-call-target-head,\n.nol-tool-call-target-tail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-tool-call-title {\n min-width: 0;\n}\n\n.nol-tool-call-note {\n color: var(--nol-text-muted);\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header {\n align-items: flex-start;\n padding-block: calc((var(--nol-code-header-height) - var(--nol-tool-call-first-line)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-toggle {\n box-sizing: border-box;\n align-items: flex-start;\n padding-block: calc((var(--nol-tool-call-first-line) - var(--nol-line-panel)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-toggle > :is(.nol-tool-call-twistie, .nol-tool-call-kind) {\n margin-block: calc((var(--nol-line-panel) - var(--nol-icon)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header .nol-tool-call-title {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > :is(.nol-tool-call-target, .nol-tool-call-state) {\n min-height: var(--nol-tool-call-first-line);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-cancel {\n margin-block: calc((var(--nol-tool-call-first-line) - var(--nol-icon-button-target)) / 2);\n}\n\n.nol-tool-call-target {\n display: flex;\n flex: 0 1000 auto;\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n direction: ltr;\n unicode-bidi: isolate;\n}\n\n.nol-tool-call-target-head {\n flex: 0 1000 auto;\n min-width: 0;\n}\n\n.nol-tool-call-target-tail {\n flex: 0 1 auto;\n min-width: 0;\n}\n\n.nol-tool-call-state {\n display: flex;\n position: relative;\n flex: none;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-start: auto;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n white-space: nowrap;\n}\n\n.nol-tool-call-succeeded .nol-tool-call-status-glyph {\n color: var(--nol-added);\n}\n\n.nol-tool-call-failed .nol-tool-call-status-glyph,\n.nol-tool-call-error-glyph {\n color: var(--nol-error);\n}\n\n.nol-tool-call-duration,\n.nol-tool-call-depth,\n.nol-tool-call-nested {\n padding-inline-start: var(--nol-space-1);\n border-inline-start: var(--nol-border-width) solid var(--nol-card-border);\n font-variant-numeric: tabular-nums;\n}\n\n.nol-tool-call-fold-extras > .nol-tool-call-header > .nol-tool-call-state > :is(.nol-tool-call-duration, .nol-tool-call-depth, .nol-tool-call-nested),\n.nol-tool-call-fold-status > .nol-tool-call-header > .nol-tool-call-state > .nol-tool-call-status,\n.nol-tool-call-fold-kind > .nol-tool-call-header > .nol-tool-call-toggle > .nol-tool-call-kind {\n position: absolute;\n inset-inline-end: 0;\n opacity: 0;\n pointer-events: none;\n}\n\n.nol-tool-call-body {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-2) var(--nol-space-3) var(--nol-space-3);\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-tool-call-body[hidden] {\n display: none;\n}\n\n.nol-tool-call-error {\n display: flex;\n gap: var(--nol-space-1);\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-tool-call-error-glyph {\n line-height: inherit;\n}\n\n.nol-tool-call-section {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.nol-tool-call-section-header {\n display: flex;\n align-items: center;\n min-height: var(--nol-icon-button-target);\n margin-inline-end: calc((var(--nol-icon-button-target) - var(--nol-icon)) / -2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-tool-call-section-label {\n flex: auto;\n}\n\n.nol-tool-call-copied .nol-icon-button-glyph {\n color: var(--nol-added);\n animation: nol-copied-pop 200ms ease-out;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n.nol-tool-call-fields {\n display: grid;\n grid-template-columns: max-content minmax(0, 1fr);\n gap: var(--nol-space-1) var(--nol-space-3);\n margin: 0;\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-tool-call-field {\n display: contents;\n}\n\n.nol-tool-call-field > dt {\n color: var(--nol-text-muted);\n}\n\n.nol-tool-call-field > dd {\n margin: 0;\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n}\n\n.nol-tool-call-output {\n box-sizing: border-box;\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n}\n\n.nol-tool-call-output-scrolls {\n max-height: calc(var(--nol-text-code) * var(--nol-line-code) * 20 + var(--nol-space-2) * 2);\n overflow-y: auto;\n}\n\n.nol-tool-call-output:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n@media (forced-colors: active) {\n .nol-tool-call-output:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-tool-call-more {\n align-self: flex-start;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n margin-inline-start: calc(var(--nol-space-1) * -1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font: inherit;\n}\n\n.nol-tool-call-loading,\n.nol-tool-call-load-failed {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n color: var(--nol-text-muted);\n}\n\n.nol-tool-call-load-failed > .nol-tool-call-more {\n align-self: auto;\n margin-inline-start: 0;\n}\n\n.nol-tool-call-children {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-tool-call-children-flat,\n.nol-tool-call-unindented {\n margin-inline: calc((var(--nol-space-3) + var(--nol-border-width)) * -1);\n}\n\n.nol-tool-call-unindented {\n width: calc(100% + (var(--nol-space-3) + var(--nol-border-width)) * 2);\n}\n"], dependencies: [{ kind: "component", type: ToolCallComponent, selector: "nol-tool-call", inputs: ["call", "views", "outputLines", "childrenStep", "titleTooltip", "cancelLabel", "shownTitles"], outputs: ["viewsChange", "cancel", "openTarget", "outputRequest"] }, { kind: "component", type: CodeBlockComponent, selector: "nol-code-block", inputs: ["code", "language", "wrapped", "maxHeight", "streaming", "runnable", "runState"], outputs: ["wrappedChange", "run"] }, { 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: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }], encapsulation: i0.ViewEncapsulation.None });
344
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ToolCallComponent, isStandalone: true, selector: "nol-tool-call", inputs: { call: { classPropertyName: "call", publicName: "call", isSignal: true, isRequired: true, transformFunction: null }, views: { classPropertyName: "views", publicName: "views", isSignal: true, isRequired: false, transformFunction: null }, outputLines: { classPropertyName: "outputLines", publicName: "outputLines", isSignal: true, isRequired: false, transformFunction: null }, childrenStep: { classPropertyName: "childrenStep", publicName: "childrenStep", isSignal: true, isRequired: false, transformFunction: null }, titleTooltip: { classPropertyName: "titleTooltip", publicName: "titleTooltip", isSignal: true, isRequired: false, transformFunction: null }, cancelLabel: { classPropertyName: "cancelLabel", publicName: "cancelLabel", isSignal: true, isRequired: false, transformFunction: null }, shownTitles: { classPropertyName: "shownTitles", publicName: "shownTitles", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { views: "viewsChange", cancel: "cancel", openTarget: "openTarget", outputRequest: "outputRequest" }, host: { properties: { "class.nol-tool-call-expanded": "isExpanded() && !isStatic()", "class.nol-tool-call-static": "isStatic()", "class.nol-tool-call-fold-extras": "fit() >= 1", "class.nol-tool-call-fold-status": "fit() >= 2", "class.nol-tool-call-fold-kind": "fit() >= 3", "class.nol-tool-call-unindented": "isCapped()" }, classAttribute: "nol-tool-call" }, queries: [{ propertyName: "ownOutput", first: true, predicate: ToolCallOutputDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "outputArea", first: true, predicate: ["output"], descendants: true, isSignal: true }, { propertyName: "retryButton", first: true, predicate: ["retryButton"], descendants: true, isSignal: true }, { propertyName: "childList", first: true, predicate: ["children"], descendants: true, isSignal: true }, { propertyName: "titleText", first: true, predicate: ["title"], descendants: true, isSignal: true }, { propertyName: "header", first: true, predicate: ["header"], descendants: true, isSignal: true }, { propertyName: "nestedCards", predicate: ToolCallComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n<div #header class=\"nol-tool-call-header\">\n @if (isStatic()) {\n <span class=\"nol-tool-call-toggle\" tabindex=\"-1\" [id]=\"id + '-toggle'\" [attr.aria-describedby]=\"id + '-state'\" [nolTooltip]=\"titleTip()\" [nolTooltipTruncated]=\"true\" [nolTooltipDisabled]=\"titleTooltip() === null\"\n [nolTooltipSide]=\"titleSide()\" [nolTooltipBeside]=\"titleBeside()\">\n <ng-container [ngTemplateOutlet]=\"heading\" />\n </span>\n } @else {\n <button type=\"button\" class=\"nol-tool-call-toggle\" [attr.data-nol-resizes-row]=\"toggleResizesRow()\" [id]=\"id + '-toggle'\" [attr.aria-expanded]=\"isExpanded()\" [attr.aria-controls]=\"id + '-body'\" [attr.aria-describedby]=\"id + '-state'\"\n [nolTooltip]=\"titleTip()\" [nolTooltipTruncated]=\"true\" [nolTooltipDisabled]=\"titleTooltip() === null\" [nolTooltipSide]=\"titleSide()\"\n [nolTooltipBeside]=\"titleBeside()\" (click)=\"toggle()\">\n <ng-container [ngTemplateOutlet]=\"heading\" />\n </button>\n }\n <ng-template #heading>\n <span class=\"nol-tool-call-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-tool-call-kind material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallKindGlyphs[call().kind] }}</span>\n <span #title class=\"nol-tool-call-title\" data-truncates>{{ shownTitle() }}@if (call().note; as note) {<span class=\"nol-tool-call-note\">{{ partResources.toolCallNoteSeparator }}{{ note }}</span>}</span>\n </ng-template>\n @if (target(); as target) {\n <button type=\"button\" class=\"nol-tool-call-target\" [attr.aria-label]=\"partResources.formatToolCallOpenTarget(target.text)\" [nolTooltip]=\"target.text\" [nolTooltipTruncated]=\"true\"\n (click)=\"openTarget.emit(call())\"><span class=\"nol-tool-call-target-head\" data-truncates>{{ target.head }}</span><span class=\"nol-tool-call-target-tail\">{{ target.tail }}</span></button>\n }\n <span class=\"nol-tool-call-state\" [class]=\"partResources.toolCallStatusClasses[call().status]\" [id]=\"id + '-state'\">\n @if (isRunning()) {\n <nol-spinner class=\"nol-tool-call-spinner\" />\n } @else {\n <span class=\"nol-tool-call-status-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallStatusGlyphs[call().status] }}</span>\n }\n <span class=\"nol-tool-call-status\">{{ partResources.toolCallStatusLabels[call().status] }}</span>\n @if (durationText(); as duration) {\n <span class=\"nol-tool-call-duration\">{{ duration }}</span>\n }\n @if (showsDepth()) {\n <span class=\"nol-tool-call-depth\">{{ partResources.formatToolCallDepth(depth) }}</span>\n }\n @if (!isExpanded() && call().children.length > 0) {\n <span class=\"nol-tool-call-nested\">{{ partResources.formatToolCallNested(call().children.length) }}</span>\n }\n </span>\n @if (call().isCancellable) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-cancel\" [icon]=\"partResources.toolCallCancelGlyph\" [label]=\"partResources.formatToolCallCancel(cancelLabel(), call().title)\"\n [nolTooltip]=\"cancelLabel()\" (click)=\"cancel.emit(call())\"></button>\n }\n</div>\n<div class=\"nol-tool-call-body\" role=\"region\" [id]=\"id + '-body'\" [attr.aria-labelledby]=\"id + '-toggle'\" [hidden]=\"!isExpanded() || !hasBody()\">\n @if (isExpanded()) {\n @if (call().error; as error) {\n <p class=\"nol-tool-call-error\"><span class=\"nol-tool-call-error-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallErrorGlyph }}</span><span>{{ error }}</span></p>\n }\n @if (call().input; as input) {\n <div class=\"nol-tool-call-section nol-tool-call-input\">\n <div class=\"nol-tool-call-section-header\">\n <span class=\"nol-tool-call-section-label\">{{ partResources.toolCallInputLabel }}</span>\n @if (input.fields.length > 0) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-copy\" [class.nol-tool-call-copied]=\"inputCopy() === copyStates.Copied\" [icon]=\"resources.copyGlyphs[inputCopy()]\"\n [label]=\"partResources.toolCallCopyInputLabels[inputCopy()]\" [nolTooltip]=\"partResources.toolCallCopyInputLabels[inputCopy()]\" (click)=\"copy(input.text, inputCopy)\"></button>\n }\n </div>\n @if (input.fields.length > 0) {\n <dl class=\"nol-tool-call-fields\">\n @for (field of input.fields; track $index) {\n <div class=\"nol-tool-call-field\"><dt>{{ field.key }}</dt><dd>{{ field.value }}</dd></div>\n }\n </dl>\n } @else {\n <nol-code-block [code]=\"input.text\" [language]=\"input.language\" />\n }\n </div>\n }\n @if (hasOutput()) {\n <div class=\"nol-tool-call-section nol-tool-call-result\">\n <div class=\"nol-tool-call-section-header\">\n <span class=\"nol-tool-call-section-label\">{{ partResources.toolCallOutputLabel }}</span>\n @if (call().output; as text) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-copy\" [class.nol-tool-call-copied]=\"outputCopy() === copyStates.Copied\" [icon]=\"resources.copyGlyphs[outputCopy()]\"\n [label]=\"partResources.toolCallCopyOutputLabels[outputCopy()]\" [nolTooltip]=\"partResources.toolCallCopyOutputLabels[outputCopy()]\" (click)=\"copy(text, outputCopy)\"></button>\n }\n </div>\n @if (control(); as template) {\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ $implicit: call() }\" />\n } @else if (lines().length > 0) {\n <pre #output class=\"nol-tool-call-output\" [class.nol-tool-call-output-scrolls]=\"isScrolling()\" [attr.tabindex]=\"isScrolling() ? 0 : null\" [attr.role]=\"isScrolling() ? 'region' : null\"\n [attr.aria-label]=\"isScrolling() ? partResources.toolCallOutputLabel : null\" (scroll)=\"follow(output)\" (keydown)=\"keepKey($event)\">{{ shownOutput() }}</pre>\n @if (isCut()) {\n <button type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"showAllLines()\">{{ partResources.formatToolCallShowAllLines(lines().length) }}</button>\n }\n } @else if (call().outputState === states.Loading) {\n <div class=\"nol-tool-call-loading\"><nol-spinner /><span>{{ partResources.toolCallOutputLoading }}</span></div>\n } @else {\n <div class=\"nol-tool-call-load-failed\">\n <span>{{ partResources.toolCallOutputFailed }}</span>\n <button #retryButton type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row=\"later\" (click)=\"retry(retryButton)\">{{ partResources.toolCallRetryLabel }}</button>\n </div>\n }\n </div>\n }\n @if (call().children.length > 0) {\n <div #children class=\"nol-tool-call-children\" [class.nol-tool-call-children-flat]=\"isFlat()\" role=\"group\" [attr.aria-label]=\"partResources.formatToolCallChildren(call().title)\">\n @for (child of shownChildren(); track child.id) {\n <nol-tool-call [call]=\"child\" [(views)]=\"views\" [outputLines]=\"outputLines()\" [childrenStep]=\"childrenStep()\" [shownTitles]=\"shownTitles()\" [titleTooltip]=\"titleTooltip()\" [cancelLabel]=\"cancelLabel()\" (cancel)=\"cancel.emit($event)\"\n (openTarget)=\"openTarget.emit($event)\" (outputRequest)=\"outputRequest.emit($event)\" />\n }\n @if (moreChildren() > 0) {\n <button type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"showMore()\">{{ partResources.formatToolCallShowMore(moreChildren()) }}</button>\n }\n </div>\n }\n }\n</div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-tool-call {\n --nol-tool-call-first-line: max(var(--nol-pointer-target), var(--nol-line-panel));\n\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-tool-call-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-width: 0;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-1) calc(var(--nol-space-3) - (var(--nol-icon-button-target) - var(--nol-icon)) / 2);\n}\n\n.nol-tool-call-toggle {\n display: flex;\n position: relative;\n flex: 0 1 auto;\n align-items: center;\n gap: var(--nol-space-1);\n min-width: 0;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n}\n\nbutton.nol-tool-call-toggle:is(:hover, [data-nol-state=\"Hover\"]),\n.nol-tool-call-target:is(:hover, [data-nol-state=\"Hover\"]),\n.nol-tool-call-more:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n}\n\n@media (forced-colors: active) {\n button.nol-tool-call-toggle:is(:hover, [data-nol-state=\"Hover\"]),\n .nol-tool-call-target:is(:hover, [data-nol-state=\"Hover\"]),\n .nol-tool-call-more:is(:hover, [data-nol-state=\"Hover\"]) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-tool-call-twistie,\n.nol-tool-call-kind,\n.nol-tool-call-status-glyph,\n.nol-tool-call-error-glyph {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-tool-call-twistie,\n.nol-tool-call-kind {\n color: var(--nol-icon-color);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header .nol-tool-call-twistie {\n rotate: 90deg;\n}\n\n.nol-tool-call-static > .nol-tool-call-header .nol-tool-call-twistie {\n visibility: hidden;\n}\n\n:dir(rtl) .nol-tool-call:not(.nol-tool-call-expanded) > .nol-tool-call-header .nol-tool-call-twistie {\n rotate: 180deg;\n}\n\n.nol-tool-call-title,\n.nol-tool-call-target-head,\n.nol-tool-call-target-tail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-tool-call-title {\n min-width: 0;\n}\n\n.nol-tool-call-note {\n color: var(--nol-text-muted);\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header {\n align-items: flex-start;\n padding-block: calc((var(--nol-code-header-height) - var(--nol-tool-call-first-line)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-toggle {\n box-sizing: border-box;\n align-items: flex-start;\n padding-block: calc((var(--nol-tool-call-first-line) - var(--nol-line-panel)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-toggle > :is(.nol-tool-call-twistie, .nol-tool-call-kind) {\n margin-block: calc((var(--nol-line-panel) - var(--nol-icon)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header .nol-tool-call-title {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > :is(.nol-tool-call-target, .nol-tool-call-state) {\n min-height: var(--nol-tool-call-first-line);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-cancel {\n margin-block: calc((var(--nol-tool-call-first-line) - var(--nol-icon-button-target)) / 2);\n}\n\n.nol-tool-call-target {\n display: flex;\n flex: 0 1000 auto;\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n direction: ltr;\n unicode-bidi: isolate;\n}\n\n.nol-tool-call-target-head {\n flex: 0 1000 auto;\n min-width: 0;\n}\n\n.nol-tool-call-target-tail {\n flex: 0 1 auto;\n min-width: 0;\n}\n\n.nol-tool-call-state {\n display: flex;\n position: relative;\n flex: none;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-start: auto;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n white-space: nowrap;\n}\n\n.nol-tool-call-succeeded .nol-tool-call-status-glyph {\n color: var(--nol-added);\n}\n\n.nol-tool-call-failed .nol-tool-call-status-glyph,\n.nol-tool-call-error-glyph {\n color: var(--nol-error);\n}\n\n.nol-tool-call-duration,\n.nol-tool-call-depth,\n.nol-tool-call-nested {\n padding-inline-start: var(--nol-space-1);\n border-inline-start: var(--nol-border-width) solid var(--nol-card-border);\n font-variant-numeric: tabular-nums;\n}\n\n.nol-tool-call-fold-extras > .nol-tool-call-header > .nol-tool-call-state > :is(.nol-tool-call-duration, .nol-tool-call-depth, .nol-tool-call-nested),\n.nol-tool-call-fold-status > .nol-tool-call-header > .nol-tool-call-state > .nol-tool-call-status,\n.nol-tool-call-fold-kind > .nol-tool-call-header > .nol-tool-call-toggle > .nol-tool-call-kind {\n position: absolute;\n inset-inline-end: 0;\n opacity: 0;\n pointer-events: none;\n}\n\n.nol-tool-call-body {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-2) var(--nol-space-3) var(--nol-space-3);\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-tool-call-body[hidden] {\n display: none;\n}\n\n.nol-tool-call-error {\n display: flex;\n gap: var(--nol-space-1);\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-tool-call-error-glyph {\n line-height: inherit;\n}\n\n.nol-tool-call-section {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.nol-tool-call-section-header {\n display: flex;\n align-items: center;\n min-height: var(--nol-icon-button-target);\n margin-inline-end: calc((var(--nol-icon-button-target) - var(--nol-icon)) / -2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-tool-call-section-label {\n flex: auto;\n}\n\n.nol-tool-call-copied .nol-icon-button-glyph {\n color: var(--nol-added);\n animation: nol-copied-pop 200ms ease-out;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n.nol-tool-call-fields {\n display: grid;\n grid-template-columns: max-content minmax(0, 1fr);\n gap: var(--nol-space-1) var(--nol-space-3);\n margin: 0;\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-tool-call-field {\n display: contents;\n}\n\n.nol-tool-call-field > dt {\n color: var(--nol-text-muted);\n}\n\n.nol-tool-call-field > dd {\n margin: 0;\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n}\n\n.nol-tool-call-output {\n box-sizing: border-box;\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n}\n\n.nol-tool-call-output-scrolls {\n max-height: calc(var(--nol-text-code) * var(--nol-line-code) * 20 + var(--nol-space-2) * 2);\n overflow-y: auto;\n}\n\n.nol-tool-call-output:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n@media (forced-colors: active) {\n .nol-tool-call-output:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-tool-call-more {\n align-self: flex-start;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n margin-inline-start: calc(var(--nol-space-1) * -1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font: inherit;\n}\n\n.nol-tool-call-loading,\n.nol-tool-call-load-failed {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n color: var(--nol-text-muted);\n}\n\n.nol-tool-call-load-failed > .nol-tool-call-more {\n align-self: auto;\n margin-inline-start: 0;\n}\n\n.nol-tool-call-children {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-tool-call-children-flat,\n.nol-tool-call-unindented {\n margin-inline: calc((var(--nol-space-3) + var(--nol-border-width)) * -1);\n}\n\n.nol-tool-call-unindented {\n width: calc(100% + (var(--nol-space-3) + var(--nol-border-width)) * 2);\n}\n"], dependencies: [{ kind: "component", type: ToolCallComponent, selector: "nol-tool-call", inputs: ["call", "views", "outputLines", "childrenStep", "titleTooltip", "cancelLabel", "shownTitles"], outputs: ["viewsChange", "cancel", "openTarget", "outputRequest"] }, { kind: "component", type: CodeBlockComponent, selector: "nol-code-block", inputs: ["code", "language", "wrapped", "maxHeight", "streaming", "runnable", "runState"], outputs: ["wrappedChange", "run"] }, { 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: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }, { kind: "directive", type: TooltipDirective, selector: "[nolTooltip]", inputs: ["nolTooltip", "nolTooltipDescription", "nolTooltipSide", "nolTooltipDisabled", "nolTooltipTruncated", "nolTooltipBeside"] }], encapsulation: i0.ViewEncapsulation.None });
334
345
  }
335
346
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ToolCallComponent, decorators: [{
336
347
  type: Component,
@@ -342,6 +353,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
342
353
  "[class.nol-tool-call-fold-status]": "fit() >= 2",
343
354
  "[class.nol-tool-call-fold-kind]": "fit() >= 3",
344
355
  "[class.nol-tool-call-unindented]": "isCapped()"
345
- }, 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 #header class=\"nol-tool-call-header\">\n @if (isStatic()) {\n <span class=\"nol-tool-call-toggle\" tabindex=\"-1\" [id]=\"id + '-toggle'\" [attr.aria-describedby]=\"id + '-state'\" [nolTooltip]=\"titleTip()\" [nolTooltipTruncated]=\"true\" [nolTooltipDisabled]=\"titleTooltip() === null\"\n [nolTooltipSide]=\"titleSide()\" [nolTooltipBeside]=\"titleBeside()\">\n <ng-container [ngTemplateOutlet]=\"heading\" />\n </span>\n } @else {\n <button type=\"button\" class=\"nol-tool-call-toggle\" data-nol-resizes-row [id]=\"id + '-toggle'\" [attr.aria-expanded]=\"isExpanded()\" [attr.aria-controls]=\"id + '-body'\" [attr.aria-describedby]=\"id + '-state'\"\n [nolTooltip]=\"titleTip()\" [nolTooltipTruncated]=\"true\" [nolTooltipDisabled]=\"titleTooltip() === null\" [nolTooltipSide]=\"titleSide()\"\n [nolTooltipBeside]=\"titleBeside()\" (click)=\"toggle()\">\n <ng-container [ngTemplateOutlet]=\"heading\" />\n </button>\n }\n <ng-template #heading>\n <span class=\"nol-tool-call-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-tool-call-kind material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallKindGlyphs[call().kind] }}</span>\n <span #title class=\"nol-tool-call-title\" data-truncates>{{ shownTitle() }}@if (call().note; as note) {<span class=\"nol-tool-call-note\">{{ partResources.toolCallNoteSeparator }}{{ note }}</span>}</span>\n </ng-template>\n @if (target(); as target) {\n <button type=\"button\" class=\"nol-tool-call-target\" [attr.aria-label]=\"partResources.formatToolCallOpenTarget(target.text)\" [nolTooltip]=\"target.text\" [nolTooltipTruncated]=\"true\"\n (click)=\"openTarget.emit(call())\"><span class=\"nol-tool-call-target-head\" data-truncates>{{ target.head }}</span><span class=\"nol-tool-call-target-tail\">{{ target.tail }}</span></button>\n }\n <span class=\"nol-tool-call-state\" [class]=\"partResources.toolCallStatusClasses[call().status]\" [id]=\"id + '-state'\">\n @if (isRunning()) {\n <nol-spinner class=\"nol-tool-call-spinner\" />\n } @else {\n <span class=\"nol-tool-call-status-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallStatusGlyphs[call().status] }}</span>\n }\n <span class=\"nol-tool-call-status\">{{ partResources.toolCallStatusLabels[call().status] }}</span>\n @if (durationText(); as duration) {\n <span class=\"nol-tool-call-duration\">{{ duration }}</span>\n }\n @if (showsDepth()) {\n <span class=\"nol-tool-call-depth\">{{ partResources.formatToolCallDepth(depth) }}</span>\n }\n @if (!isExpanded() && call().children.length > 0) {\n <span class=\"nol-tool-call-nested\">{{ partResources.formatToolCallNested(call().children.length) }}</span>\n }\n </span>\n @if (call().isCancellable) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-cancel\" [icon]=\"partResources.toolCallCancelGlyph\" [label]=\"partResources.formatToolCallCancel(cancelLabel(), call().title)\"\n [nolTooltip]=\"cancelLabel()\" (click)=\"cancel.emit(call())\"></button>\n }\n</div>\n<div class=\"nol-tool-call-body\" role=\"region\" [id]=\"id + '-body'\" [attr.aria-labelledby]=\"id + '-toggle'\" [hidden]=\"!isExpanded() || !hasBody()\">\n @if (isExpanded()) {\n @if (call().error; as error) {\n <p class=\"nol-tool-call-error\"><span class=\"nol-tool-call-error-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallErrorGlyph }}</span><span>{{ error }}</span></p>\n }\n @if (call().input; as input) {\n <div class=\"nol-tool-call-section nol-tool-call-input\">\n <div class=\"nol-tool-call-section-header\">\n <span class=\"nol-tool-call-section-label\">{{ partResources.toolCallInputLabel }}</span>\n @if (input.fields.length > 0) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-copy\" [class.nol-tool-call-copied]=\"inputCopy() === copyStates.Copied\" [icon]=\"resources.copyGlyphs[inputCopy()]\"\n [label]=\"partResources.toolCallCopyInputLabels[inputCopy()]\" [nolTooltip]=\"partResources.toolCallCopyInputLabels[inputCopy()]\" (click)=\"copy(input.text, inputCopy)\"></button>\n }\n </div>\n @if (input.fields.length > 0) {\n <dl class=\"nol-tool-call-fields\">\n @for (field of input.fields; track $index) {\n <div class=\"nol-tool-call-field\"><dt>{{ field.key }}</dt><dd>{{ field.value }}</dd></div>\n }\n </dl>\n } @else {\n <nol-code-block [code]=\"input.text\" [language]=\"input.language\" />\n }\n </div>\n }\n @if (hasOutput()) {\n <div class=\"nol-tool-call-section nol-tool-call-result\">\n <div class=\"nol-tool-call-section-header\">\n <span class=\"nol-tool-call-section-label\">{{ partResources.toolCallOutputLabel }}</span>\n @if (call().output; as text) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-copy\" [class.nol-tool-call-copied]=\"outputCopy() === copyStates.Copied\" [icon]=\"resources.copyGlyphs[outputCopy()]\"\n [label]=\"partResources.toolCallCopyOutputLabels[outputCopy()]\" [nolTooltip]=\"partResources.toolCallCopyOutputLabels[outputCopy()]\" (click)=\"copy(text, outputCopy)\"></button>\n }\n </div>\n @if (control(); as template) {\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ $implicit: call() }\" />\n } @else if (lines().length > 0) {\n <pre #output class=\"nol-tool-call-output\" [class.nol-tool-call-output-scrolls]=\"isScrolling()\" [attr.tabindex]=\"isScrolling() ? 0 : null\" [attr.role]=\"isScrolling() ? 'region' : null\"\n [attr.aria-label]=\"isScrolling() ? partResources.toolCallOutputLabel : null\" (scroll)=\"follow(output)\" (keydown)=\"keepKey($event)\">{{ shownOutput() }}</pre>\n @if (isCut()) {\n <button type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"showAllLines()\">{{ partResources.formatToolCallShowAllLines(lines().length) }}</button>\n }\n } @else if (call().outputState === states.Loading) {\n <div class=\"nol-tool-call-loading\"><nol-spinner /><span>{{ partResources.toolCallOutputLoading }}</span></div>\n } @else {\n <div class=\"nol-tool-call-load-failed\">\n <span>{{ partResources.toolCallOutputFailed }}</span>\n <button #retryButton type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"retry(retryButton)\">{{ partResources.toolCallRetryLabel }}</button>\n </div>\n }\n </div>\n }\n @if (call().children.length > 0) {\n <div #children class=\"nol-tool-call-children\" [class.nol-tool-call-children-flat]=\"isFlat()\" role=\"group\" [attr.aria-label]=\"partResources.formatToolCallChildren(call().title)\">\n @for (child of shownChildren(); track child.id) {\n <nol-tool-call [call]=\"child\" [(views)]=\"views\" [outputLines]=\"outputLines()\" [childrenStep]=\"childrenStep()\" [shownTitles]=\"shownTitles()\" [titleTooltip]=\"titleTooltip()\" [cancelLabel]=\"cancelLabel()\" (cancel)=\"cancel.emit($event)\"\n (openTarget)=\"openTarget.emit($event)\" (outputRequest)=\"outputRequest.emit($event)\" />\n }\n @if (moreChildren() > 0) {\n <button type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"showMore()\">{{ partResources.formatToolCallShowMore(moreChildren()) }}</button>\n }\n </div>\n }\n }\n</div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-tool-call {\n --nol-tool-call-first-line: max(var(--nol-pointer-target), var(--nol-line-panel));\n\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-tool-call-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-width: 0;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-1) calc(var(--nol-space-3) - (var(--nol-icon-button-target) - var(--nol-icon)) / 2);\n}\n\n.nol-tool-call-toggle {\n display: flex;\n position: relative;\n flex: 0 1 auto;\n align-items: center;\n gap: var(--nol-space-1);\n min-width: 0;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n}\n\nbutton.nol-tool-call-toggle:is(:hover, [data-nol-state=\"Hover\"]),\n.nol-tool-call-target:is(:hover, [data-nol-state=\"Hover\"]),\n.nol-tool-call-more:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n}\n\n@media (forced-colors: active) {\n button.nol-tool-call-toggle:is(:hover, [data-nol-state=\"Hover\"]),\n .nol-tool-call-target:is(:hover, [data-nol-state=\"Hover\"]),\n .nol-tool-call-more:is(:hover, [data-nol-state=\"Hover\"]) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-tool-call-twistie,\n.nol-tool-call-kind,\n.nol-tool-call-status-glyph,\n.nol-tool-call-error-glyph {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-tool-call-twistie,\n.nol-tool-call-kind {\n color: var(--nol-icon-color);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header .nol-tool-call-twistie {\n rotate: 90deg;\n}\n\n.nol-tool-call-static > .nol-tool-call-header .nol-tool-call-twistie {\n visibility: hidden;\n}\n\n:dir(rtl) .nol-tool-call:not(.nol-tool-call-expanded) > .nol-tool-call-header .nol-tool-call-twistie {\n rotate: 180deg;\n}\n\n.nol-tool-call-title,\n.nol-tool-call-target-head,\n.nol-tool-call-target-tail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-tool-call-title {\n min-width: 0;\n}\n\n.nol-tool-call-note {\n color: var(--nol-text-muted);\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header {\n align-items: flex-start;\n padding-block: calc((var(--nol-code-header-height) - var(--nol-tool-call-first-line)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-toggle {\n box-sizing: border-box;\n align-items: flex-start;\n padding-block: calc((var(--nol-tool-call-first-line) - var(--nol-line-panel)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-toggle > :is(.nol-tool-call-twistie, .nol-tool-call-kind) {\n margin-block: calc((var(--nol-line-panel) - var(--nol-icon)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header .nol-tool-call-title {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > :is(.nol-tool-call-target, .nol-tool-call-state) {\n min-height: var(--nol-tool-call-first-line);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-cancel {\n margin-block: calc((var(--nol-tool-call-first-line) - var(--nol-icon-button-target)) / 2);\n}\n\n.nol-tool-call-target {\n display: flex;\n flex: 0 1000 auto;\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n direction: ltr;\n unicode-bidi: isolate;\n}\n\n.nol-tool-call-target-head {\n flex: 0 1000 auto;\n min-width: 0;\n}\n\n.nol-tool-call-target-tail {\n flex: 0 1 auto;\n min-width: 0;\n}\n\n.nol-tool-call-state {\n display: flex;\n position: relative;\n flex: none;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-start: auto;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n white-space: nowrap;\n}\n\n.nol-tool-call-succeeded .nol-tool-call-status-glyph {\n color: var(--nol-added);\n}\n\n.nol-tool-call-failed .nol-tool-call-status-glyph,\n.nol-tool-call-error-glyph {\n color: var(--nol-error);\n}\n\n.nol-tool-call-duration,\n.nol-tool-call-depth,\n.nol-tool-call-nested {\n padding-inline-start: var(--nol-space-1);\n border-inline-start: var(--nol-border-width) solid var(--nol-card-border);\n font-variant-numeric: tabular-nums;\n}\n\n.nol-tool-call-fold-extras > .nol-tool-call-header > .nol-tool-call-state > :is(.nol-tool-call-duration, .nol-tool-call-depth, .nol-tool-call-nested),\n.nol-tool-call-fold-status > .nol-tool-call-header > .nol-tool-call-state > .nol-tool-call-status,\n.nol-tool-call-fold-kind > .nol-tool-call-header > .nol-tool-call-toggle > .nol-tool-call-kind {\n position: absolute;\n inset-inline-end: 0;\n opacity: 0;\n pointer-events: none;\n}\n\n.nol-tool-call-body {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-2) var(--nol-space-3) var(--nol-space-3);\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-tool-call-body[hidden] {\n display: none;\n}\n\n.nol-tool-call-error {\n display: flex;\n gap: var(--nol-space-1);\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-tool-call-error-glyph {\n line-height: inherit;\n}\n\n.nol-tool-call-section {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.nol-tool-call-section-header {\n display: flex;\n align-items: center;\n min-height: var(--nol-icon-button-target);\n margin-inline-end: calc((var(--nol-icon-button-target) - var(--nol-icon)) / -2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-tool-call-section-label {\n flex: auto;\n}\n\n.nol-tool-call-copied .nol-icon-button-glyph {\n color: var(--nol-added);\n animation: nol-copied-pop 200ms ease-out;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n.nol-tool-call-fields {\n display: grid;\n grid-template-columns: max-content minmax(0, 1fr);\n gap: var(--nol-space-1) var(--nol-space-3);\n margin: 0;\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-tool-call-field {\n display: contents;\n}\n\n.nol-tool-call-field > dt {\n color: var(--nol-text-muted);\n}\n\n.nol-tool-call-field > dd {\n margin: 0;\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n}\n\n.nol-tool-call-output {\n box-sizing: border-box;\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n}\n\n.nol-tool-call-output-scrolls {\n max-height: calc(var(--nol-text-code) * var(--nol-line-code) * 20 + var(--nol-space-2) * 2);\n overflow-y: auto;\n}\n\n.nol-tool-call-output:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n@media (forced-colors: active) {\n .nol-tool-call-output:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-tool-call-more {\n align-self: flex-start;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n margin-inline-start: calc(var(--nol-space-1) * -1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font: inherit;\n}\n\n.nol-tool-call-loading,\n.nol-tool-call-load-failed {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n color: var(--nol-text-muted);\n}\n\n.nol-tool-call-load-failed > .nol-tool-call-more {\n align-self: auto;\n margin-inline-start: 0;\n}\n\n.nol-tool-call-children {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-tool-call-children-flat,\n.nol-tool-call-unindented {\n margin-inline: calc((var(--nol-space-3) + var(--nol-border-width)) * -1);\n}\n\n.nol-tool-call-unindented {\n width: calc(100% + (var(--nol-space-3) + var(--nol-border-width)) * 2);\n}\n"] }]
356
+ }, 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 #header class=\"nol-tool-call-header\">\n @if (isStatic()) {\n <span class=\"nol-tool-call-toggle\" tabindex=\"-1\" [id]=\"id + '-toggle'\" [attr.aria-describedby]=\"id + '-state'\" [nolTooltip]=\"titleTip()\" [nolTooltipTruncated]=\"true\" [nolTooltipDisabled]=\"titleTooltip() === null\"\n [nolTooltipSide]=\"titleSide()\" [nolTooltipBeside]=\"titleBeside()\">\n <ng-container [ngTemplateOutlet]=\"heading\" />\n </span>\n } @else {\n <button type=\"button\" class=\"nol-tool-call-toggle\" [attr.data-nol-resizes-row]=\"toggleResizesRow()\" [id]=\"id + '-toggle'\" [attr.aria-expanded]=\"isExpanded()\" [attr.aria-controls]=\"id + '-body'\" [attr.aria-describedby]=\"id + '-state'\"\n [nolTooltip]=\"titleTip()\" [nolTooltipTruncated]=\"true\" [nolTooltipDisabled]=\"titleTooltip() === null\" [nolTooltipSide]=\"titleSide()\"\n [nolTooltipBeside]=\"titleBeside()\" (click)=\"toggle()\">\n <ng-container [ngTemplateOutlet]=\"heading\" />\n </button>\n }\n <ng-template #heading>\n <span class=\"nol-tool-call-twistie material-symbols-rounded\" aria-hidden=\"true\">{{ resources.twistieGlyph }}</span>\n <span class=\"nol-tool-call-kind material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallKindGlyphs[call().kind] }}</span>\n <span #title class=\"nol-tool-call-title\" data-truncates>{{ shownTitle() }}@if (call().note; as note) {<span class=\"nol-tool-call-note\">{{ partResources.toolCallNoteSeparator }}{{ note }}</span>}</span>\n </ng-template>\n @if (target(); as target) {\n <button type=\"button\" class=\"nol-tool-call-target\" [attr.aria-label]=\"partResources.formatToolCallOpenTarget(target.text)\" [nolTooltip]=\"target.text\" [nolTooltipTruncated]=\"true\"\n (click)=\"openTarget.emit(call())\"><span class=\"nol-tool-call-target-head\" data-truncates>{{ target.head }}</span><span class=\"nol-tool-call-target-tail\">{{ target.tail }}</span></button>\n }\n <span class=\"nol-tool-call-state\" [class]=\"partResources.toolCallStatusClasses[call().status]\" [id]=\"id + '-state'\">\n @if (isRunning()) {\n <nol-spinner class=\"nol-tool-call-spinner\" />\n } @else {\n <span class=\"nol-tool-call-status-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallStatusGlyphs[call().status] }}</span>\n }\n <span class=\"nol-tool-call-status\">{{ partResources.toolCallStatusLabels[call().status] }}</span>\n @if (durationText(); as duration) {\n <span class=\"nol-tool-call-duration\">{{ duration }}</span>\n }\n @if (showsDepth()) {\n <span class=\"nol-tool-call-depth\">{{ partResources.formatToolCallDepth(depth) }}</span>\n }\n @if (!isExpanded() && call().children.length > 0) {\n <span class=\"nol-tool-call-nested\">{{ partResources.formatToolCallNested(call().children.length) }}</span>\n }\n </span>\n @if (call().isCancellable) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-cancel\" [icon]=\"partResources.toolCallCancelGlyph\" [label]=\"partResources.formatToolCallCancel(cancelLabel(), call().title)\"\n [nolTooltip]=\"cancelLabel()\" (click)=\"cancel.emit(call())\"></button>\n }\n</div>\n<div class=\"nol-tool-call-body\" role=\"region\" [id]=\"id + '-body'\" [attr.aria-labelledby]=\"id + '-toggle'\" [hidden]=\"!isExpanded() || !hasBody()\">\n @if (isExpanded()) {\n @if (call().error; as error) {\n <p class=\"nol-tool-call-error\"><span class=\"nol-tool-call-error-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolCallErrorGlyph }}</span><span>{{ error }}</span></p>\n }\n @if (call().input; as input) {\n <div class=\"nol-tool-call-section nol-tool-call-input\">\n <div class=\"nol-tool-call-section-header\">\n <span class=\"nol-tool-call-section-label\">{{ partResources.toolCallInputLabel }}</span>\n @if (input.fields.length > 0) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-copy\" [class.nol-tool-call-copied]=\"inputCopy() === copyStates.Copied\" [icon]=\"resources.copyGlyphs[inputCopy()]\"\n [label]=\"partResources.toolCallCopyInputLabels[inputCopy()]\" [nolTooltip]=\"partResources.toolCallCopyInputLabels[inputCopy()]\" (click)=\"copy(input.text, inputCopy)\"></button>\n }\n </div>\n @if (input.fields.length > 0) {\n <dl class=\"nol-tool-call-fields\">\n @for (field of input.fields; track $index) {\n <div class=\"nol-tool-call-field\"><dt>{{ field.key }}</dt><dd>{{ field.value }}</dd></div>\n }\n </dl>\n } @else {\n <nol-code-block [code]=\"input.text\" [language]=\"input.language\" />\n }\n </div>\n }\n @if (hasOutput()) {\n <div class=\"nol-tool-call-section nol-tool-call-result\">\n <div class=\"nol-tool-call-section-header\">\n <span class=\"nol-tool-call-section-label\">{{ partResources.toolCallOutputLabel }}</span>\n @if (call().output; as text) {\n <button type=\"button\" nol-icon-button class=\"nol-tool-call-copy\" [class.nol-tool-call-copied]=\"outputCopy() === copyStates.Copied\" [icon]=\"resources.copyGlyphs[outputCopy()]\"\n [label]=\"partResources.toolCallCopyOutputLabels[outputCopy()]\" [nolTooltip]=\"partResources.toolCallCopyOutputLabels[outputCopy()]\" (click)=\"copy(text, outputCopy)\"></button>\n }\n </div>\n @if (control(); as template) {\n <ng-container [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ $implicit: call() }\" />\n } @else if (lines().length > 0) {\n <pre #output class=\"nol-tool-call-output\" [class.nol-tool-call-output-scrolls]=\"isScrolling()\" [attr.tabindex]=\"isScrolling() ? 0 : null\" [attr.role]=\"isScrolling() ? 'region' : null\"\n [attr.aria-label]=\"isScrolling() ? partResources.toolCallOutputLabel : null\" (scroll)=\"follow(output)\" (keydown)=\"keepKey($event)\">{{ shownOutput() }}</pre>\n @if (isCut()) {\n <button type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"showAllLines()\">{{ partResources.formatToolCallShowAllLines(lines().length) }}</button>\n }\n } @else if (call().outputState === states.Loading) {\n <div class=\"nol-tool-call-loading\"><nol-spinner /><span>{{ partResources.toolCallOutputLoading }}</span></div>\n } @else {\n <div class=\"nol-tool-call-load-failed\">\n <span>{{ partResources.toolCallOutputFailed }}</span>\n <button #retryButton type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row=\"later\" (click)=\"retry(retryButton)\">{{ partResources.toolCallRetryLabel }}</button>\n </div>\n }\n </div>\n }\n @if (call().children.length > 0) {\n <div #children class=\"nol-tool-call-children\" [class.nol-tool-call-children-flat]=\"isFlat()\" role=\"group\" [attr.aria-label]=\"partResources.formatToolCallChildren(call().title)\">\n @for (child of shownChildren(); track child.id) {\n <nol-tool-call [call]=\"child\" [(views)]=\"views\" [outputLines]=\"outputLines()\" [childrenStep]=\"childrenStep()\" [shownTitles]=\"shownTitles()\" [titleTooltip]=\"titleTooltip()\" [cancelLabel]=\"cancelLabel()\" (cancel)=\"cancel.emit($event)\"\n (openTarget)=\"openTarget.emit($event)\" (outputRequest)=\"outputRequest.emit($event)\" />\n }\n @if (moreChildren() > 0) {\n <button type=\"button\" class=\"nol-tool-call-more\" data-nol-resizes-row (click)=\"showMore()\">{{ partResources.formatToolCallShowMore(moreChildren()) }}</button>\n }\n </div>\n }\n }\n</div>\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n.nol-tool-call {\n --nol-tool-call-first-line: max(var(--nol-pointer-target), var(--nol-line-panel));\n\n display: flex;\n flex-direction: column;\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text);\n font-size: var(--nol-text-panel);\n line-height: var(--nol-line-panel);\n}\n\n.nol-tool-call-header {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n box-sizing: border-box;\n min-width: 0;\n min-height: var(--nol-code-header-height);\n padding-inline: var(--nol-space-1) calc(var(--nol-space-3) - (var(--nol-icon-button-target) - var(--nol-icon)) / 2);\n}\n\n.nol-tool-call-toggle {\n display: flex;\n position: relative;\n flex: 0 1 auto;\n align-items: center;\n gap: var(--nol-space-1);\n min-width: 0;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: inherit;\n font: inherit;\n text-align: start;\n}\n\nbutton.nol-tool-call-toggle:is(:hover, [data-nol-state=\"Hover\"]),\n.nol-tool-call-target:is(:hover, [data-nol-state=\"Hover\"]),\n.nol-tool-call-more:is(:hover, [data-nol-state=\"Hover\"]) {\n background-color: var(--nol-hover);\n}\n\n@media (forced-colors: active) {\n button.nol-tool-call-toggle:is(:hover, [data-nol-state=\"Hover\"]),\n .nol-tool-call-target:is(:hover, [data-nol-state=\"Hover\"]),\n .nol-tool-call-more:is(:hover, [data-nol-state=\"Hover\"]) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-tool-call-twistie,\n.nol-tool-call-kind,\n.nol-tool-call-status-glyph,\n.nol-tool-call-error-glyph {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-tool-call-twistie,\n.nol-tool-call-kind {\n color: var(--nol-icon-color);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header .nol-tool-call-twistie {\n rotate: 90deg;\n}\n\n.nol-tool-call-static > .nol-tool-call-header .nol-tool-call-twistie {\n visibility: hidden;\n}\n\n:dir(rtl) .nol-tool-call:not(.nol-tool-call-expanded) > .nol-tool-call-header .nol-tool-call-twistie {\n rotate: 180deg;\n}\n\n.nol-tool-call-title,\n.nol-tool-call-target-head,\n.nol-tool-call-target-tail {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.nol-tool-call-title {\n min-width: 0;\n}\n\n.nol-tool-call-note {\n color: var(--nol-text-muted);\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header {\n align-items: flex-start;\n padding-block: calc((var(--nol-code-header-height) - var(--nol-tool-call-first-line)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-toggle {\n box-sizing: border-box;\n align-items: flex-start;\n padding-block: calc((var(--nol-tool-call-first-line) - var(--nol-line-panel)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-toggle > :is(.nol-tool-call-twistie, .nol-tool-call-kind) {\n margin-block: calc((var(--nol-line-panel) - var(--nol-icon)) / 2);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header .nol-tool-call-title {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > :is(.nol-tool-call-target, .nol-tool-call-state) {\n min-height: var(--nol-tool-call-first-line);\n}\n\n.nol-tool-call-expanded > .nol-tool-call-header > .nol-tool-call-cancel {\n margin-block: calc((var(--nol-tool-call-first-line) - var(--nol-icon-button-target)) / 2);\n}\n\n.nol-tool-call-target {\n display: flex;\n flex: 0 1000 auto;\n align-items: center;\n min-width: 0;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n direction: ltr;\n unicode-bidi: isolate;\n}\n\n.nol-tool-call-target-head {\n flex: 0 1000 auto;\n min-width: 0;\n}\n\n.nol-tool-call-target-tail {\n flex: 0 1 auto;\n min-width: 0;\n}\n\n.nol-tool-call-state {\n display: flex;\n position: relative;\n flex: none;\n align-items: center;\n gap: var(--nol-space-1);\n margin-inline-start: auto;\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n white-space: nowrap;\n}\n\n.nol-tool-call-succeeded .nol-tool-call-status-glyph {\n color: var(--nol-added);\n}\n\n.nol-tool-call-failed .nol-tool-call-status-glyph,\n.nol-tool-call-error-glyph {\n color: var(--nol-error);\n}\n\n.nol-tool-call-duration,\n.nol-tool-call-depth,\n.nol-tool-call-nested {\n padding-inline-start: var(--nol-space-1);\n border-inline-start: var(--nol-border-width) solid var(--nol-card-border);\n font-variant-numeric: tabular-nums;\n}\n\n.nol-tool-call-fold-extras > .nol-tool-call-header > .nol-tool-call-state > :is(.nol-tool-call-duration, .nol-tool-call-depth, .nol-tool-call-nested),\n.nol-tool-call-fold-status > .nol-tool-call-header > .nol-tool-call-state > .nol-tool-call-status,\n.nol-tool-call-fold-kind > .nol-tool-call-header > .nol-tool-call-toggle > .nol-tool-call-kind {\n position: absolute;\n inset-inline-end: 0;\n opacity: 0;\n pointer-events: none;\n}\n\n.nol-tool-call-body {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n padding: var(--nol-space-2) var(--nol-space-3) var(--nol-space-3);\n border-top: var(--nol-border-width) solid var(--nol-card-border);\n}\n\n.nol-tool-call-body[hidden] {\n display: none;\n}\n\n.nol-tool-call-error {\n display: flex;\n gap: var(--nol-space-1);\n margin: 0;\n overflow-wrap: anywhere;\n}\n\n.nol-tool-call-error-glyph {\n line-height: inherit;\n}\n\n.nol-tool-call-section {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-1);\n min-width: 0;\n}\n\n.nol-tool-call-section-header {\n display: flex;\n align-items: center;\n min-height: var(--nol-icon-button-target);\n margin-inline-end: calc((var(--nol-icon-button-target) - var(--nol-icon)) / -2);\n color: var(--nol-text-muted);\n font-size: var(--nol-text-label);\n line-height: var(--nol-line-label);\n}\n\n.nol-tool-call-section-label {\n flex: auto;\n}\n\n.nol-tool-call-copied .nol-icon-button-glyph {\n color: var(--nol-added);\n animation: nol-copied-pop 200ms ease-out;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n}\n\n.nol-tool-call-fields {\n display: grid;\n grid-template-columns: max-content minmax(0, 1fr);\n gap: var(--nol-space-1) var(--nol-space-3);\n margin: 0;\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-tool-call-field {\n display: contents;\n}\n\n.nol-tool-call-field > dt {\n color: var(--nol-text-muted);\n}\n\n.nol-tool-call-field > dd {\n margin: 0;\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n}\n\n.nol-tool-call-output {\n box-sizing: border-box;\n margin: 0;\n padding: var(--nol-space-2) var(--nol-space-3);\n border: var(--nol-border-width) solid var(--nol-card-border);\n border-radius: var(--nol-radius-small);\n outline: none;\n background-color: var(--nol-code);\n font-family: var(--nol-font-mono);\n font-size: var(--nol-text-code);\n line-height: var(--nol-line-code);\n overflow-wrap: anywhere;\n white-space: pre-wrap;\n}\n\n.nol-tool-call-output-scrolls {\n max-height: calc(var(--nol-text-code) * var(--nol-line-code) * 20 + var(--nol-space-2) * 2);\n overflow-y: auto;\n}\n\n.nol-tool-call-output:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: var(--nol-border-width) solid var(--nol-accent);\n outline-offset: calc(var(--nol-border-width) * -1);\n}\n\n@media (forced-colors: active) {\n .nol-tool-call-output:is(:focus-visible, [data-nol-state=\"Focus\"]) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n.nol-tool-call-more {\n align-self: flex-start;\n min-height: var(--nol-pointer-target);\n padding-inline: var(--nol-space-1);\n margin-inline-start: calc(var(--nol-space-1) * -1);\n border: 0;\n border-radius: var(--nol-radius-hover);\n background: none;\n color: var(--nol-link);\n font: inherit;\n}\n\n.nol-tool-call-loading,\n.nol-tool-call-load-failed {\n display: flex;\n align-items: center;\n gap: var(--nol-space-2);\n color: var(--nol-text-muted);\n}\n\n.nol-tool-call-load-failed > .nol-tool-call-more {\n align-self: auto;\n margin-inline-start: 0;\n}\n\n.nol-tool-call-children {\n display: flex;\n flex-direction: column;\n gap: var(--nol-space-2);\n min-width: 0;\n}\n\n.nol-tool-call-children-flat,\n.nol-tool-call-unindented {\n margin-inline: calc((var(--nol-space-3) + var(--nol-border-width)) * -1);\n}\n\n.nol-tool-call-unindented {\n width: calc(100% + (var(--nol-space-3) + var(--nol-border-width)) * 2);\n}\n"] }]
346
357
  }], ctorParameters: () => [], propDecorators: { ownOutput: [{ type: i0.ContentChild, args: [i0.forwardRef(() => ToolCallOutputDirective), { isSignal: true }] }], outputArea: [{ type: i0.ViewChild, args: ["output", { isSignal: true }] }], retryButton: [{ type: i0.ViewChild, args: ["retryButton", { isSignal: true }] }], childList: [{ type: i0.ViewChild, args: ["children", { isSignal: true }] }], titleText: [{ type: i0.ViewChild, args: ["title", { isSignal: true }] }], header: [{ type: i0.ViewChild, args: ["header", { isSignal: true }] }], nestedCards: [{ type: i0.ViewChildren, args: [i0.forwardRef(() => ToolCallComponent), { isSignal: true }] }], call: [{ type: i0.Input, args: [{ isSignal: true, alias: "call", required: true }] }], views: [{ type: i0.Input, args: [{ isSignal: true, alias: "views", required: false }] }, { type: i0.Output, args: ["viewsChange"] }], outputLines: [{ type: i0.Input, args: [{ isSignal: true, alias: "outputLines", required: false }] }], childrenStep: [{ type: i0.Input, args: [{ isSignal: true, alias: "childrenStep", required: false }] }], titleTooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "titleTooltip", required: false }] }], cancelLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "cancelLabel", required: false }] }], shownTitles: [{ type: i0.Input, args: [{ isSignal: true, alias: "shownTitles", required: false }] }], cancel: [{ type: i0.Output, args: ["cancel"] }], openTarget: [{ type: i0.Output, args: ["openTarget"] }], outputRequest: [{ type: i0.Output, args: ["outputRequest"] }] } });
347
358
  //# sourceMappingURL=tool-call.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tool-call.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/tool-call/tool-call.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/tool-call/tool-call.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,g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AAjB,iBAAiB,s/CAW2D,uBAAuB,omBAM5B,iBAAiB,gECxErG,utPAqHA,6kSD9Da,iBAAiB,qOAdlB,kBAAkB,yLAAE,mBAAmB,2MAAE,gBAAgB,oJAAE,gBAAgB,2EAAE,gBAAgB;;2FAc5F,iBAAiB;kBAhB7B,SAAS;+BACE,eAAe,WAChB,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,iBAGzF,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,OAAO,EAAE,eAAe;wBACxB,gCAAgC,EAAE,6BAA6B;wBAC/D,8BAA8B,EAAE,YAAY;wBAC5C,mCAAmC,EAAE,YAAY;wBACjD,mCAAmC,EAAE,YAAY;wBACjD,iCAAiC,EAAE,YAAY;wBAC/C,kCAAkC,EAAE,YAAY;qBACjD;wHAasF,uBAAuB,qEACA,QAAQ,qEACP,aAAa,mEACf,UAAU,mEACV,OAAO,gEACb,QAAQ,4FAC7B,iBAAiB"}
1
+ {"version":3,"file":"tool-call.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/tool-call/tool-call.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/tool-call/tool-call.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAiC,iBAAiB,EAClH,eAAe,EAAE,iBAAiB,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAEtK,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,sBAA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AAG,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC,CAAC;IACtC,CAAC;IAEO,MAAM,CAAC,SAAS,CAAC,KAA0B;QACjD,OAAO,KAAK,KAAK,mBAAmB,CAAC,OAAO,IAAI,KAAK,KAAK,mBAAmB,CAAC,MAAM,CAAC;IACvF,CAAC;uGAzRU,iBAAiB;2FAAjB,iBAAiB,s/CAW2D,uBAAuB,omBAM5B,iBAAiB,gECzErG,+vPAqHA,6kSD7Da,iBAAiB,qOAdlB,kBAAkB,yLAAE,mBAAmB,2MAAE,gBAAgB,oJAAE,gBAAgB,2EAAE,gBAAgB;;2FAc5F,iBAAiB;kBAhB7B,SAAS;+BACE,eAAe,WAChB,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,iBAGzF,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,OAAO,EAAE,eAAe;wBACxB,gCAAgC,EAAE,6BAA6B;wBAC/D,8BAA8B,EAAE,YAAY;wBAC5C,mCAAmC,EAAE,YAAY;wBACjD,mCAAmC,EAAE,YAAY;wBACjD,iCAAiC,EAAE,YAAY;wBAC/C,kCAAkC,EAAE,YAAY;qBACjD;wHAasF,uBAAuB,qEACA,QAAQ,qEACP,aAAa,mEACf,UAAU,mEACV,OAAO,gEACb,QAAQ,4FAC7B,iBAAiB"}
@@ -102,8 +102,8 @@ export declare class VirtualListComponent<T> {
102
102
  private readonly hides;
103
103
  private anchor;
104
104
  private clicked;
105
- private clickedUntil;
106
105
  private isClickStopped;
106
+ private endClickHold;
107
107
  private isPlaced;
108
108
  private latestDistance;
109
109
  private pendingTop;
@@ -418,6 +418,8 @@ export declare class VirtualListComponent<T> {
418
418
  private scrollTo;
419
419
  private rebaseClick;
420
420
  private isUnprompted;
421
+ private answered;
422
+ private holdClick;
421
423
  private release;
422
424
  private shownNear;
423
425
  private restingStop;
@@ -76,8 +76,8 @@ export class VirtualListComponent {
76
76
  ...(ngDevMode ? [{ debugName: "hides" }] : /* istanbul ignore next */ []));
77
77
  anchor = new VirtualListAnchor(0, 0);
78
78
  clicked = null;
79
- clickedUntil = 0;
80
79
  isClickStopped = false;
80
+ endClickHold = null;
81
81
  isPlaced = false;
82
82
  latestDistance = 0;
83
83
  pendingTop = null;
@@ -195,12 +195,14 @@ export class VirtualListComponent {
195
195
  this.checker.disconnect();
196
196
  this.pressing.abort();
197
197
  this.inputs.abort();
198
+ this.endClickHold?.();
198
199
  });
199
200
  afterNextRender(() => {
200
201
  for (const type of VirtualListResources.virtualListInputEvents)
201
202
  this.viewport().nativeElement.addEventListener(type, () => {
202
203
  this.hasPersonInput = true;
203
204
  }, { capture: true, passive: true, signal: this.inputs.signal });
205
+ this.viewport().nativeElement.addEventListener(Resources.rowAnsweredEvent, event => this.answered(event), { signal: this.inputs.signal });
204
206
  });
205
207
  effect(onCleanup => {
206
208
  const state = this.state();
@@ -405,7 +407,7 @@ export class VirtualListComponent {
405
407
  if (this.isFeed()) {
406
408
  if (target instanceof Element && !Object.isNull(target.closest(VirtualListResources.virtualListResizesRowSelector))) {
407
409
  this.clicked = new VirtualListAnchor(index, this.scrollTop() - ledger.offsetOf(index));
408
- this.clickedUntil = this.timeSource.now() + VirtualListResources.virtualListClickHold;
410
+ this.holdClick(!Object.isNull(target.closest(VirtualListResources.virtualListResizesRowLaterSelector)));
409
411
  }
410
412
  }
411
413
  else if (!Object.isUndefined(item))
@@ -801,6 +803,23 @@ export class VirtualListComponent {
801
803
  isUnprompted(moved) {
802
804
  return !this.hasPersonInput && (this.isLatestAtStart() ? moved > 0 : moved < 0) && this.isFeed() && this.isFollowing() && Object.isNull(this.heldHeight());
803
805
  }
806
+ answered(event) {
807
+ const row = event.composedPath().find(t => t instanceof Element && t.hasAttribute(Resources.virtualListRowAttribute));
808
+ if (row instanceof Element && this.clicked?.index === Number(row.getAttribute(Resources.virtualListRowAttribute)))
809
+ this.holdClick(false);
810
+ }
811
+ holdClick(isLater) {
812
+ this.endClickHold?.();
813
+ this.endClickHold = null;
814
+ if (isLater)
815
+ return;
816
+ this.endClickHold = this.timeSource.frame(() => {
817
+ this.endClickHold = this.timeSource.frame(() => {
818
+ this.endClickHold = null;
819
+ this.clicked = null;
820
+ });
821
+ });
822
+ }
804
823
  release() {
805
824
  this.clicked = null;
806
825
  this.part = null;
@@ -861,8 +880,6 @@ export class VirtualListComponent {
861
880
  this.scrollTop.set(at);
862
881
  this.tell();
863
882
  }
864
- if (this.timeSource.now() > this.clickedUntil)
865
- this.clicked = null;
866
883
  const clicked = this.clicked;
867
884
  let isChanged = false;
868
885
  let kept = null;