@noldova/ui.components.angular 0.0.10 → 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 (142) hide show
  1. package/README.md +7 -4
  2. package/api/index.d.ts +2 -0
  3. package/api/index.js +2 -0
  4. package/api/index.js.map +1 -1
  5. package/api/testing.d.ts +1 -0
  6. package/api/testing.js.map +1 -1
  7. package/app/components/avatar/avatar-initials-fitter.d.ts +4 -0
  8. package/app/components/avatar/avatar-initials-fitter.js +35 -4
  9. package/app/components/avatar/avatar-initials-fitter.js.map +1 -1
  10. package/app/components/avatar/avatar.component.d.ts +9 -5
  11. package/app/components/avatar/avatar.component.js +2 -2
  12. package/app/components/avatar/avatar.resources.d.ts +2 -0
  13. package/app/components/avatar/avatar.resources.js +3 -1
  14. package/app/components/avatar/avatar.resources.js.map +1 -1
  15. package/app/components/configuration-table/configuration-table.component.d.ts +8 -1
  16. package/app/components/configuration-table/configuration-table.component.js +10 -4
  17. package/app/components/configuration-table/configuration-table.component.js.map +1 -1
  18. package/app/components/diff-view/diff-view.component.d.ts +1 -0
  19. package/app/components/diff-view/diff-view.component.js +10 -3
  20. package/app/components/diff-view/diff-view.component.js.map +1 -1
  21. package/app/components/gallery/gallery-configuration-table.component.d.ts +3 -0
  22. package/app/components/gallery/gallery-configuration-table.component.js +5 -2
  23. package/app/components/gallery/gallery-configuration-table.component.js.map +1 -1
  24. package/app/components/gallery/gallery-content.component.d.ts +0 -30
  25. package/app/components/gallery/gallery-content.component.js +10 -79
  26. package/app/components/gallery/gallery-content.component.js.map +1 -1
  27. package/app/components/gallery/gallery-diff-view.component.d.ts +23 -0
  28. package/app/components/gallery/gallery-diff-view.component.js +74 -0
  29. package/app/components/gallery/gallery-diff-view.component.js.map +1 -0
  30. package/app/components/gallery/gallery-feed.component.d.ts +0 -25
  31. package/app/components/gallery/gallery-feed.component.js +6 -65
  32. package/app/components/gallery/gallery-feed.component.js.map +1 -1
  33. package/app/components/gallery/gallery-mention-field.component.d.ts +18 -0
  34. package/app/components/gallery/gallery-mention-field.component.js +45 -0
  35. package/app/components/gallery/gallery-mention-field.component.js.map +1 -0
  36. package/app/components/gallery/gallery-navigation.component.d.ts +0 -4
  37. package/app/components/gallery/gallery-navigation.component.js +4 -16
  38. package/app/components/gallery/gallery-navigation.component.js.map +1 -1
  39. package/app/components/gallery/gallery-overlays.component.d.ts +0 -13
  40. package/app/components/gallery/gallery-overlays.component.js +6 -32
  41. package/app/components/gallery/gallery-overlays.component.js.map +1 -1
  42. package/app/components/gallery/gallery-permission-card.component.d.ts +13 -0
  43. package/app/components/gallery/gallery-permission-card.component.js +31 -0
  44. package/app/components/gallery/gallery-permission-card.component.js.map +1 -0
  45. package/app/components/gallery/gallery-plan.component.d.ts +11 -0
  46. package/app/components/gallery/gallery-plan.component.js +28 -0
  47. package/app/components/gallery/gallery-plan.component.js.map +1 -0
  48. package/app/components/gallery/gallery-popover.component.d.ts +11 -0
  49. package/app/components/gallery/gallery-popover.component.js +30 -0
  50. package/app/components/gallery/gallery-popover.component.js.map +1 -0
  51. package/app/components/gallery/gallery-resources.d.ts +13 -0
  52. package/app/components/gallery/gallery-resources.js +5 -3
  53. package/app/components/gallery/gallery-resources.js.map +1 -1
  54. package/app/components/gallery/gallery-status-colors.component.d.ts +8 -0
  55. package/app/components/gallery/gallery-status-colors.component.js +23 -0
  56. package/app/components/gallery/gallery-status-colors.component.js.map +1 -0
  57. package/app/components/gallery/gallery-terminal-colors.component.d.ts +11 -0
  58. package/app/components/gallery/gallery-terminal-colors.component.js +26 -0
  59. package/app/components/gallery/gallery-terminal-colors.component.js.map +1 -0
  60. package/app/components/gallery/gallery-tool-call.component.d.ts +12 -0
  61. package/app/components/gallery/gallery-tool-call.component.js +31 -0
  62. package/app/components/gallery/gallery-tool-call.component.js.map +1 -0
  63. package/app/components/gallery/gallery-toolbar.component.d.ts +9 -0
  64. package/app/components/gallery/gallery-toolbar.component.js +30 -0
  65. package/app/components/gallery/gallery-toolbar.component.js.map +1 -0
  66. package/app/components/gallery/gallery-virtual-feed.component.d.ts +38 -0
  67. package/app/components/gallery/gallery-virtual-feed.component.js +91 -0
  68. package/app/components/gallery/gallery-virtual-feed.component.js.map +1 -0
  69. package/app/components/tool-call/tool-call.component.d.ts +2 -0
  70. package/app/components/tool-call/tool-call.component.js +15 -4
  71. package/app/components/tool-call/tool-call.component.js.map +1 -1
  72. package/app/components/virtual-list/virtual-list.component.d.ts +3 -1
  73. package/app/components/virtual-list/virtual-list.component.js +21 -4
  74. package/app/components/virtual-list/virtual-list.component.js.map +1 -1
  75. package/app/components/virtual-list/virtual-list.resources.d.ts +1 -1
  76. package/app/components/virtual-list/virtual-list.resources.js +2 -1
  77. package/app/components/virtual-list/virtual-list.resources.js.map +1 -1
  78. package/app/enums/avatar-size.d.ts +3 -3
  79. package/app/enums/configuration-table-density.d.ts +32 -0
  80. package/app/enums/configuration-table-density.js +13 -0
  81. package/app/enums/configuration-table-density.js.map +1 -0
  82. package/app/exceptions/code-highlighting.exception.d.ts +3 -2
  83. package/app/exceptions/code-highlighting.exception.js +2 -2
  84. package/app/exceptions/code-highlighting.exception.js.map +1 -1
  85. package/app/exceptions/diff.exception.d.ts +2 -2
  86. package/app/exceptions/diff.exception.js +2 -2
  87. package/app/exceptions/diff.exception.js.map +1 -1
  88. package/app/exceptions/link-reference.exception.d.ts +2 -2
  89. package/app/exceptions/link-reference.exception.js +2 -2
  90. package/app/exceptions/link-reference.exception.js.map +1 -1
  91. package/app/exceptions/markdown.exception.d.ts +2 -2
  92. package/app/exceptions/markdown.exception.js +2 -2
  93. package/app/exceptions/markdown.exception.js.map +1 -1
  94. package/app/exceptions/theme.exception.d.ts +2 -2
  95. package/app/exceptions/theme.exception.js +2 -2
  96. package/app/exceptions/theme.exception.js.map +1 -1
  97. package/app/exceptions/tree-move.exception.d.ts +2 -2
  98. package/app/exceptions/tree-move.exception.js +2 -2
  99. package/app/exceptions/tree-move.exception.js.map +1 -1
  100. package/app/exceptions/ui-components.exception.d.ts +48 -0
  101. package/app/exceptions/ui-components.exception.js +15 -0
  102. package/app/exceptions/ui-components.exception.js.map +1 -0
  103. package/app/exceptions/virtual-list.exception.d.ts +2 -2
  104. package/app/exceptions/virtual-list.exception.js +2 -2
  105. package/app/exceptions/virtual-list.exception.js.map +1 -1
  106. package/app/models/code-tokenizer.d.ts +1 -0
  107. package/app/models/code-tokenizer.js +2 -1
  108. package/app/models/code-tokenizer.js.map +1 -1
  109. package/app/models/default-theme.js +10 -0
  110. package/app/models/default-theme.js.map +1 -1
  111. package/app/models/markdown-link.js +3 -1
  112. package/app/models/markdown-link.js.map +1 -1
  113. package/app/models/mention-value.js +3 -1
  114. package/app/models/mention-value.js.map +1 -1
  115. package/app/models/row-answer.d.ts +16 -0
  116. package/app/models/row-answer.js +28 -0
  117. package/app/models/row-answer.js.map +1 -0
  118. package/app/services/dialog.service.d.ts +1 -0
  119. package/app/services/dialog.service.js +4 -2
  120. package/app/services/dialog.service.js.map +1 -1
  121. package/app/services/markdown-math.renderer.js +3 -1
  122. package/app/services/markdown-math.renderer.js.map +1 -1
  123. package/package.json +5 -4
  124. package/resources.d.ts +2 -0
  125. package/resources.js +12 -0
  126. package/resources.js.map +1 -1
  127. package/styles/base.css +2 -0
  128. package/styles/theme.css +10 -0
  129. package/testing/interfaces/i-pointer-hover-options.d.ts +18 -0
  130. package/testing/interfaces/i-pointer-hover-options.js +8 -0
  131. package/testing/interfaces/i-pointer-hover-options.js.map +1 -0
  132. package/testing/models/fixture-theme.js +10 -0
  133. package/testing/models/fixture-theme.js.map +1 -1
  134. package/testing/services/appearance-fixture.d.ts +6 -2
  135. package/testing/services/appearance-fixture.js +39 -3
  136. package/testing/services/appearance-fixture.js.map +1 -1
  137. package/testing/services/kit-stylesheet-fixture.d.ts +2 -0
  138. package/testing/services/kit-stylesheet-fixture.js +7 -1
  139. package/testing/services/kit-stylesheet-fixture.js.map +1 -1
  140. package/testing/services/pointer-fixture.d.ts +4 -1
  141. package/testing/services/pointer-fixture.js +2 -2
  142. package/testing/services/pointer-fixture.js.map +1 -1
@@ -0,0 +1,91 @@
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 { NgTemplateOutlet } from "@angular/common";
9
+ import { Component, DestroyRef, inject, signal } from "@angular/core";
10
+ import { ButtonVariant } from "../../enums/button-variant.js";
11
+ import { GallerySize } from "../../enums/gallery-size.js";
12
+ import { MessageAuthorKind } from "../../enums/message-author-kind.js";
13
+ import { MessageStatus } from "../../enums/message-status.js";
14
+ import { VirtualListEdge } from "../../enums/virtual-list-edge.js";
15
+ import { VirtualListKind } from "../../enums/virtual-list-kind.js";
16
+ import { ArrayVirtualListSource } from "../../models/array-virtual-list-source.js";
17
+ import { ClockTokens } from "../../models/clock-tokens.js";
18
+ import { MessageAuthor } from "../../models/message-author.js";
19
+ import { MessageText } from "../../models/message-text.js";
20
+ import { ButtonComponent } from "../button/button.component.js";
21
+ import { MessageComponent } from "../message/message.component.js";
22
+ import { VirtualListComponent } from "../virtual-list/virtual-list.component.js";
23
+ import { VirtualRowDirective } from "../virtual-list/virtual-row.directive.js";
24
+ import { GalleryCellComponent } from "./gallery-cell.component.js";
25
+ import { GalleryFeedSource } from "./gallery-feed-source.js";
26
+ import { GalleryMessage } from "./gallery-message.js";
27
+ import { GalleryResources } from "./gallery-resources.js";
28
+ import { GallerySpecimenComponent } from "./gallery-specimen.component.js";
29
+ import { GalleryStateDirective } from "./gallery-state.directive.js";
30
+ import * as i0 from "@angular/core";
31
+ export class GalleryVirtualFeedComponent {
32
+ timeSource = inject(ClockTokens.timeSource);
33
+ timers = new Set();
34
+ added = GalleryResources.feedNewestLength;
35
+ text = GalleryResources.text;
36
+ sizes = GallerySize;
37
+ kinds = VirtualListKind;
38
+ edges = VirtualListEdge;
39
+ variants = ButtonVariant;
40
+ replies = signal(0, /* @ts-ignore */
41
+ ...(ngDevMode ? [{ debugName: "replies" }] : /* istanbul ignore next */ []));
42
+ messages = new GalleryFeedSource(GalleryResources.feedLength, GalleryResources.feedReadDelay, Date.now(), this.timeSource);
43
+ slowMessages = new GalleryFeedSource(GalleryResources.feedLength, GalleryResources.feedSlowDelay, Date.now(), this.timeSource);
44
+ time = new Date(Date.now() - GalleryResources.messageAgo);
45
+ reviewer = new MessageAuthor(this.text.messageReviewer, this.text.messageReviewer, MessageAuthorKind.Agent, null, this.text.messageReviewerInitials, GalleryResources.messageReviewerAccent);
46
+ person = new MessageAuthor(this.text.feedAuthors[0], this.text.feedAuthors[0], MessageAuthorKind.Person);
47
+ continued = [new MessageText(this.text.messageContinued)];
48
+ focusedFeed = GalleryResources.focusedFeed;
49
+ shortMessages = new ArrayVirtualListSource([
50
+ new GalleryMessage("first", this.person, this.time, this.continued, MessageStatus.Complete),
51
+ new GalleryMessage("second", this.reviewer, this.time, this.continued, MessageStatus.Complete)
52
+ ], t => t.key, GalleryResources.virtualListEstimate);
53
+ longMessages = new ArrayVirtualListSource([
54
+ new GalleryMessage("long", this.person, this.time, [new MessageText(this.text.feedLongText)], MessageStatus.Complete)
55
+ ], t => t.key, GalleryResources.virtualListEstimate);
56
+ newestMessages = new ArrayVirtualListSource(Array.from({ length: GalleryResources.feedNewestLength }, (_, t) => new GalleryMessage(`newest-${GalleryResources.feedNewestLength - t}`, t % 2 === 0 ? this.reviewer : this.person, new Date(this.time.getTime() - t * GalleryResources.feedNewestStep), this.continued, MessageStatus.Complete)), t => t.key, GalleryResources.virtualListEstimate);
57
+ constructor() {
58
+ inject(DestroyRef).onDestroy(() => {
59
+ for (const cancel of this.timers)
60
+ cancel();
61
+ });
62
+ }
63
+ addNewest() {
64
+ this.added++;
65
+ this.newestMessages.insert(0, [new GalleryMessage(`newest-${this.added}`, this.reviewer, new Date(), this.continued, MessageStatus.Complete)]);
66
+ }
67
+ streamReply() {
68
+ const index = this.messages.startReply(new Date());
69
+ this.replies.update(t => t + 1);
70
+ const { feedWords } = this.text;
71
+ let step = 0;
72
+ const cancel = this.timeSource.every(() => {
73
+ this.messages.extendReply(index, String(feedWords[step % feedWords.length]));
74
+ step++;
75
+ if (step < GalleryResources.feedReplyWords)
76
+ return;
77
+ cancel();
78
+ this.timers.delete(cancel);
79
+ this.messages.finishReply(index);
80
+ this.replies.update(t => t - 1);
81
+ }, GalleryResources.feedReplyInterval);
82
+ this.timers.add(cancel);
83
+ }
84
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryVirtualFeedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
85
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.2.6", type: GalleryVirtualFeedComponent, isStandalone: true, selector: "nol-gallery-virtual-feed", 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.virtualFeed\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"messages\" [busy]=\"replies() > 0\">\n <ng-template [nolVirtualRow]=\"messages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"streamReply()\">{{ text.virtualFeedStream }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedSlow\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-slow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"slowMessages\">\n <ng-template [nolVirtualRow]=\"slowMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedNewest\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-newest\" [kind]=\"kinds.Feed\" [latest]=\"edges.Start\" [label]=\"text.virtualFeedLabel\" [source]=\"newestMessages\">\n <ng-template [nolVirtualRow]=\"newestMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"addNewest()\">{{ text.virtualFeedAdd }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short\" [nolGalleryFocus]=\"focusedFeed\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"shortMessages\">\n <ng-template [nolVirtualRow]=\"shortMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short nol-gallery-narrow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"longMessages\">\n <ng-template [nolVirtualRow]=\"longMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <ng-template #row let-message let-labelId=\"labelId\">\n <nol-message [author]=\"message.author\" [time]=\"message.time\" [blocks]=\"message.blocks\" [status]=\"message.status\" [key]=\"message.key\" [labelId]=\"labelId\" />\n </ng-template>\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: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[nol-button], a[nol-button]", inputs: ["variant", "overlay", "backdrop", "danger", "size", "busy"] }, { 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: MessageComponent, selector: "nol-message", inputs: ["author", "authorDescription", "time", "blocks", "status", "error", "key", "continuation", "selected", "selectionLook", "header", "footer", "actionsTop", "actionsEnd", "flashStart", "labelId", "collapsedHeight", "layout", "timeFormat", "twentyFourHour", "mentions", "mentionNames", "fileLinks", "linkSchemes", "copyText", "folderLinks", "references", "shellRuns", "shellRunStates", "shellRunOutputs", "math"], outputs: ["copied", "retry", "attachmentOpen", "linkActivate", "linkOpen", "linkMenu", "fileActivate", "filePathsChange", "shellRun", "contextMenuRequest"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: VirtualListComponent, selector: "nol-virtual-list", inputs: ["source", "label", "kind", "selected", "position", "busy", "readAhead", "latest"], outputs: ["activated", "positionChange", "jumped", "failed"] }, { kind: "directive", type: VirtualRowDirective, selector: "ng-template[nolVirtualRow]", inputs: ["nolVirtualRow", "nolVirtualRowDescribed", "nolVirtualRowHidden"] }] });
86
+ }
87
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: GalleryVirtualFeedComponent, decorators: [{
88
+ type: Component,
89
+ args: [{ selector: "nol-gallery-virtual-feed", imports: [ButtonComponent, GalleryCellComponent, GallerySpecimenComponent, GalleryStateDirective, MessageComponent, NgTemplateOutlet, VirtualListComponent, VirtualRowDirective], 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.virtualFeed\" [size]=\"sizes.Wide\" noHover>\n <nol-gallery-cell [caption]=\"text.defaultState\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"messages\" [busy]=\"replies() > 0\">\n <ng-template [nolVirtualRow]=\"messages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"streamReply()\">{{ text.virtualFeedStream }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedSlow\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-slow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"slowMessages\">\n <ng-template [nolVirtualRow]=\"slowMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.virtualFeedNewest\">\n <div class=\"nol-gallery-feed\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-newest\" [kind]=\"kinds.Feed\" [latest]=\"edges.Start\" [label]=\"text.virtualFeedLabel\" [source]=\"newestMessages\">\n <ng-template [nolVirtualRow]=\"newestMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n <button type=\"button\" nol-button [variant]=\"variants.Secondary\" (click)=\"addNewest()\">{{ text.virtualFeedAdd }}</button>\n </div>\n </nol-gallery-cell>\n <nol-gallery-cell [caption]=\"text.focus\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short\" [nolGalleryFocus]=\"focusedFeed\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"shortMessages\">\n <ng-template [nolVirtualRow]=\"shortMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <nol-gallery-cell long [caption]=\"text.longCaption\">\n <nol-virtual-list class=\"nol-gallery-feed-list nol-gallery-feed-short nol-gallery-narrow\" [kind]=\"kinds.Feed\" [label]=\"text.virtualFeedLabel\" [source]=\"longMessages\">\n <ng-template [nolVirtualRow]=\"longMessages\" let-message let-labelId=\"labelId\">\n <ng-container [ngTemplateOutlet]=\"row\" [ngTemplateOutletContext]=\"{ $implicit: message, labelId }\" />\n </ng-template>\n </nol-virtual-list>\n </nol-gallery-cell>\n <ng-template #row let-message let-labelId=\"labelId\">\n <nol-message [author]=\"message.author\" [time]=\"message.time\" [blocks]=\"message.blocks\" [status]=\"message.status\" [key]=\"message.key\" [labelId]=\"labelId\" />\n </ng-template>\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: block;\n}\n\n.nol-gallery-feed {\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n justify-items: start;\n gap: var(--nol-space-2);\n}\n\n.nol-gallery-feed-list {\n width: 30rem;\n max-width: 100%;\n height: 24rem;\n}\n\n.nol-gallery-feed-short {\n height: 10rem;\n}\n\n.nol-gallery-message {\n display: block;\n width: 30rem;\n max-width: 100%;\n}\n\n.nol-gallery-message-slot {\n margin: 0;\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-message-image {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 12rem;\n height: 4rem;\n border: var(--nol-border-width) dashed var(--nol-border);\n border-radius: var(--nol-radius-medium);\n color: var(--nol-text-muted);\n}\n\n.nol-gallery-narrow {\n max-width: 12rem;\n}\n"] }]
90
+ }], ctorParameters: () => [] });
91
+ //# sourceMappingURL=gallery-virtual-feed.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery-virtual-feed.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-virtual-feed.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/gallery/gallery-virtual-feed.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAuB,MAAM,EAAE,MAAM,EAAE,MAAM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IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QAClC,CAAC,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;QACvC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;uGA1DU,2BAA2B;2FAA3B,2BAA2B,oFCxCxC,23GAsDA,uiCDlBY,eAAe,oJAAE,oBAAoB,kFAAE,wBAAwB,2FAAE,qBAAqB,iIAAE,gBAAgB,wnBAAE,gBAAgB,oJAAE,oBAAoB,uNAAE,mBAAmB;;2FAIpK,2BAA2B;kBANvC,SAAS;+BACE,0BAA0B,WAC3B,CAAC,eAAe,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,mBAAmB,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,gBAAgB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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,sBAAsB,EA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AAC,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;