@noldova/ui.components.angular 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/components/button/button.component.d.ts +1 -0
- package/app/components/button/button.component.js +5 -2
- package/app/components/button/button.component.js.map +1 -1
- package/app/components/diff-view/diff-view.component.js +1 -1
- package/app/components/diff-view/diff-view.component.js.map +1 -1
- package/app/components/gallery/gallery-button.component.js +2 -2
- package/app/components/gallery/gallery-button.component.js.map +1 -1
- package/app/components/gallery/gallery-content.component.js +2 -2
- package/app/components/gallery/gallery-content.component.js.map +1 -1
- package/app/components/gallery/gallery-menu.component.js +1 -1
- package/app/components/gallery/gallery-menu.component.js.map +1 -1
- package/app/components/gallery/gallery-navigation.component.js +1 -1
- package/app/components/gallery/gallery-navigation.component.js.map +1 -1
- package/app/components/gallery/gallery-resources.d.ts +10 -0
- package/app/components/gallery/gallery-resources.js +10 -0
- package/app/components/gallery/gallery-resources.js.map +1 -1
- package/app/components/gallery/gallery-terminal-output.component.js +2 -2
- package/app/components/gallery/gallery-terminal-output.component.js.map +1 -1
- package/app/components/gallery/gallery-tool-calls.d.ts +2 -0
- package/app/components/gallery/gallery-tool-calls.js +4 -0
- package/app/components/gallery/gallery-tool-calls.js.map +1 -1
- package/app/components/gallery/gallery-toolbar-button.component.js +1 -1
- package/app/components/gallery/gallery-toolbar-button.component.js.map +1 -1
- package/app/components/menu/context-menu-trigger.directive.d.ts +1 -0
- package/app/components/menu/context-menu-trigger.directive.js +5 -2
- package/app/components/menu/context-menu-trigger.directive.js.map +1 -1
- package/app/components/menu/menu-group.component.d.ts +9 -1
- package/app/components/menu/menu-group.component.js +8 -4
- package/app/components/menu/menu-group.component.js.map +1 -1
- package/app/components/menu/menu-trigger.directive.js +4 -1
- package/app/components/menu/menu-trigger.directive.js.map +1 -1
- package/app/components/tab/tab.component.d.ts +3 -2
- package/app/components/tab/tab.component.js +2 -2
- package/app/components/tab/tab.component.js.map +1 -1
- package/app/components/terminal-output/terminal-output.component.js +9 -3
- package/app/components/terminal-output/terminal-output.component.js.map +1 -1
- package/app/components/tool-call/tool-call-component.resources.d.ts +3 -0
- package/app/components/tool-call/tool-call-component.resources.js +5 -0
- package/app/components/tool-call/tool-call-component.resources.js.map +1 -1
- package/app/components/tool-call/tool-call.component.d.ts +1 -0
- package/app/components/tool-call/tool-call.component.js +4 -2
- package/app/components/tool-call/tool-call.component.js.map +1 -1
- package/app/components/toolbar-button/toolbar-button.component.d.ts +10 -1
- package/app/components/toolbar-button/toolbar-button.component.js +6 -3
- package/app/components/toolbar-button/toolbar-button.component.js.map +1 -1
- package/app/enums/button-variant.d.ts +11 -1
- package/app/enums/button-variant.js +1 -0
- package/app/enums/button-variant.js.map +1 -1
- package/app/interfaces/i-tool-call-options.d.ts +5 -0
- package/app/models/default-theme.js +48 -2
- package/app/models/default-theme.js.map +1 -1
- package/app/models/terminal-output-palette.d.ts +2 -0
- package/app/models/terminal-output-palette.js +6 -0
- package/app/models/terminal-output-palette.js.map +1 -1
- package/app/models/tool-call.d.ts +6 -2
- package/app/models/tool-call.js +4 -0
- package/app/models/tool-call.js.map +1 -1
- package/package.json +2 -2
- package/resources.js +23 -0
- package/resources.js.map +1 -1
- package/styles/status.css +2 -0
- package/styles/terminal.css +47 -1
- package/styles/theme.css +69 -0
- package/testing/models/fixture-theme.js +48 -2
- package/testing/models/fixture-theme.js.map +1 -1
|
@@ -21,8 +21,7 @@ export class TerminalOutputComponent {
|
|
|
21
21
|
...(ngDevMode ? [{ debugName: "sample" }] : /* istanbul ignore next */ []));
|
|
22
22
|
glyphs = viewChild.required("glyphs", /* @ts-ignore */
|
|
23
23
|
...(ngDevMode ? [{ debugName: "glyphs" }] : /* istanbul ignore next */ []));
|
|
24
|
-
palette = signal(null, /*
|
|
25
|
-
...(ngDevMode ? [{ debugName: "palette" }] : /* istanbul ignore next */ []));
|
|
24
|
+
palette = signal(null, { ...(ngDevMode ? { debugName: "palette" } : /* istanbul ignore next */ {}), equal: TerminalOutputPalette.same });
|
|
26
25
|
follower = new ScrollEndFollower(TerminalOutputResources.terminalOutputFollowDistance);
|
|
27
26
|
partResources = TerminalOutputResources;
|
|
28
27
|
row = signal(null, /* @ts-ignore */
|
|
@@ -37,18 +36,25 @@ export class TerminalOutputComponent {
|
|
|
37
36
|
const destroyRef = inject(DestroyRef);
|
|
38
37
|
afterNextRender(() => {
|
|
39
38
|
const forced = matchMedia(Resources.forcedColorsQuery);
|
|
40
|
-
const
|
|
39
|
+
const repaint = () => {
|
|
41
40
|
this.palette.set(forced.matches ? null : TerminalOutputPalette.read(this.host));
|
|
41
|
+
};
|
|
42
|
+
const restyle = () => {
|
|
43
|
+
repaint();
|
|
42
44
|
this.row.set(`${String(this.measureRow())}px`);
|
|
43
45
|
};
|
|
44
46
|
const sizes = new ResizeObserver(restyle);
|
|
45
47
|
sizes.observe(this.sample().nativeElement, { box: TerminalOutputResources.terminalOutputSampleBox });
|
|
46
48
|
const themes = new MutationObserver(restyle);
|
|
47
49
|
themes.observe(this.host.ownerDocument.documentElement, { attributeFilter: [...TerminalOutputResources.terminalOutputThemeAttributes] });
|
|
50
|
+
const scopes = new MutationObserver(repaint);
|
|
51
|
+
for (let element = this.host.parentElement; !Object.isNull(element) && element !== this.host.ownerDocument.documentElement; element = element.parentElement)
|
|
52
|
+
scopes.observe(element, { attributeFilter: [...TerminalOutputResources.terminalOutputThemeAttributes] });
|
|
48
53
|
forced.addEventListener(Resources.changeEvent, restyle);
|
|
49
54
|
destroyRef.onDestroy(() => {
|
|
50
55
|
sizes.disconnect();
|
|
51
56
|
themes.disconnect();
|
|
57
|
+
scopes.disconnect();
|
|
52
58
|
forced.removeEventListener(Resources.changeEvent, restyle);
|
|
53
59
|
});
|
|
54
60
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-output.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/terminal-output/terminal-output.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/terminal-output/terminal-output.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAe,iBAAiB,EAAuB,eAAe,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EACnJ,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,uBAAuB,CAAC;AAG/B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;;AAYzE,MAAM,OAAO,uBAAuB;IACjB,IAAI,GAAgB,MAAM,CAA0B,UAAU,CAAC,CAAC,aAAa,CAAC;IAC9E,IAAI,GAAoC,SAAS,CAAC,QAAQ,CAA0B,MAAM;6EAAC,CAAC;IAC5F,MAAM,GAAoC,SAAS,CAAC,QAAQ,CAA0B,QAAQ;+EAAC,CAAC;IAChG,MAAM,GAAoC,SAAS,CAAC,QAAQ,CAA0B,QAAQ;+EAAC,CAAC;IAChG,OAAO,GAAiD,MAAM,CAAC,IAAI
|
|
1
|
+
{"version":3,"file":"terminal-output.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/terminal-output/terminal-output.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/terminal-output/terminal-output.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAe,iBAAiB,EAAuB,eAAe,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,EACnJ,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,C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VnC,SAAS;+BACE,qBAAqB,iBAGhB,iBAAiB,CAAC,IAAI,QAC/B;wBACJ,OAAO,EAAE,qBAAqB;wBAC9B,mCAAmC,EAAE,OAAO;qBAC7C;4FAIoG,MAAM,gEACJ,QAAQ,gEACR,QAAQ"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* This source code is licensed under the license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
8
9
|
import { CopyState } from "../../enums/copy-state.js";
|
|
9
10
|
import { ToolCallKind } from "../../enums/tool-call-kind.js";
|
|
10
11
|
import { ToolCallStatus } from "../../enums/tool-call-status.js";
|
|
@@ -40,11 +41,13 @@ export declare class ToolCallComponentResources {
|
|
|
40
41
|
static readonly toolCallCancelGlyph: string;
|
|
41
42
|
static readonly toolCallCancelLabel: string;
|
|
42
43
|
static readonly toolCallErrorGlyph: string;
|
|
44
|
+
static readonly toolCallNoteSeparator: string;
|
|
43
45
|
static formatToolCallShowAllLines(count: number): string;
|
|
44
46
|
static formatToolCallShowMore(count: number): string;
|
|
45
47
|
static formatToolCallDepth(depth: number): string;
|
|
46
48
|
static formatToolCallNested(count: number): string;
|
|
47
49
|
static formatToolCallChildren(title: string): string;
|
|
50
|
+
static formatToolCallTitleNote(title: string, note: string | null): string;
|
|
48
51
|
static formatToolCallOpenTarget(target: string): string;
|
|
49
52
|
static formatToolCallCancel(label: string, title: string): string;
|
|
50
53
|
static formatToolCallEnded(title: string, status: string): string;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* This source code is licensed under the license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
+
import "@noldova/context.core";
|
|
8
9
|
import { CopyState } from "../../enums/copy-state.js";
|
|
9
10
|
import { ToolCallKind } from "../../enums/tool-call-kind.js";
|
|
10
11
|
import { ToolCallStatus } from "../../enums/tool-call-status.js";
|
|
@@ -83,6 +84,7 @@ export class ToolCallComponentResources {
|
|
|
83
84
|
static toolCallCancelGlyph = "stop_circle";
|
|
84
85
|
static toolCallCancelLabel = "Cancel";
|
|
85
86
|
static toolCallErrorGlyph = "error";
|
|
87
|
+
static toolCallNoteSeparator = " · ";
|
|
86
88
|
static formatToolCallShowAllLines(count) {
|
|
87
89
|
return `Show all ${count} lines`;
|
|
88
90
|
}
|
|
@@ -98,6 +100,9 @@ export class ToolCallComponentResources {
|
|
|
98
100
|
static formatToolCallChildren(title) {
|
|
99
101
|
return `Calls in ${title}`;
|
|
100
102
|
}
|
|
103
|
+
static formatToolCallTitleNote(title, note) {
|
|
104
|
+
return Object.isNull(note) ? title : `${title}${ToolCallComponentResources.toolCallNoteSeparator}${note}`;
|
|
105
|
+
}
|
|
101
106
|
static formatToolCallOpenTarget(target) {
|
|
102
107
|
return `Open ${target}`;
|
|
103
108
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-call-component.resources.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/tool-call/tool-call-component.resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,MAAM,OAAO,0BAA0B;IAC9B,MAAM,CAAU,gBAAgB,GAAW,gBAAgB,CAAC;IAC5D,MAAM,CAAU,mBAAmB,GAAW,EAAE,CAAC;IACjD,MAAM,CAAU,oBAAoB,GAAW,EAAE,CAAC;IAClD,MAAM,CAAU,mBAAmB,GAAW,CAAC,CAAC;IAChD,MAAM,CAAU,sBAAsB,GAAW,EAAE,CAAC;IACpD,MAAM,CAAU,kBAAkB,GAAW,CAAC,CAAC;IAC/C,MAAM,CAAU,mBAAmB,GAAW,QAAQ,CAAC;IACvD,MAAM,CAAU,gBAAg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AM,CAAC,mBAAmB,CAAC,KAAa,EAAE,MAAc;QAC7D,OAAO,GAAG,KAAK,KAAK,MAAM,EAAE,CAAC;IAC/B,CAAC;IACM,MAAM,CAAC,sBAAsB,CAAC,EAAU,EAAE,MAAc;QAC7D,OAAO,GAAG,0BAA0B,CAAC,sBAAsB,GAAG,EAAE,IAAI,MAAM,EAAE,CAAC;IAC/E,CAAC;IACM,MAAM,CAAU,sBAAsB,GAAW,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"tool-call-component.resources.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/tool-call/tool-call-component.resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,MAAM,OAAO,0BAA0B;IAC9B,MAAM,CAAU,gBAAgB,GAAW,gBAAgB,CAAC;IAC5D,MAAM,CAAU,mBAAmB,GAAW,EAAE,CAAC;IACjD,MAAM,CAAU,oBAAoB,GAAW,EAAE,CAAC;IAClD,MAAM,CAAU,mBAAmB,GAAW,CAAC,CAAC;IAChD,MAAM,CAAU,sBAAsB,GAAW,EAAE,CAAC;IACpD,MAAM,CAAU,kBAAkB,GAAW,CAAC,CAAC;IAC/C,MAAM,CAAU,mBAAmB,GAAW,QAAQ,CAAC;IACvD,MAAM,CAAU,gBAAgB,GAAW,oHAAoH,CAAC;IAChK,MAAM,CAAU,qBAAqB,GAAW,sBAAsB,CAAC;IACvE,MAAM,CAAU,qBAAqB,GAAW,sBAAsB,CAAC;IACvE,MAAM,CAAU,sBAAsB,GAAW,uBAAuB,CAAC;IACzE,MAAM,CAAU,sBAAsB,GAAW,uBAAuB,CAAC;IACzE,MAAM,CAAU,oBAAoB,GAAW,qBAA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B,CAAC;IACM,MAAM,CAAC,mBAAmB,CAAC,KAAa,EAAE,MAAc;QAC7D,OAAO,GAAG,KAAK,KAAK,MAAM,EAAE,CAAC;IAC/B,CAAC;IACM,MAAM,CAAC,sBAAsB,CAAC,EAAU,EAAE,MAAc;QAC7D,OAAO,GAAG,0BAA0B,CAAC,sBAAsB,GAAG,EAAE,IAAI,MAAM,EAAE,CAAC;IAC/E,CAAC;IACM,MAAM,CAAU,sBAAsB,GAAW,sBAAsB,CAAC"}
|
|
@@ -99,6 +99,7 @@ export declare class ToolCallComponent {
|
|
|
99
99
|
protected readonly shownChildren: Signal<readonly ToolCall[]>;
|
|
100
100
|
protected readonly moreChildren: Signal<number>;
|
|
101
101
|
protected readonly shownTitle: Signal<string>;
|
|
102
|
+
protected readonly titleTip: Signal<string>;
|
|
102
103
|
protected readonly titleSide: Signal<OverlaySide>;
|
|
103
104
|
protected readonly titleBeside: Signal<string | null>;
|
|
104
105
|
/**
|
|
@@ -145,6 +145,8 @@ export class ToolCallComponent {
|
|
|
145
145
|
...(ngDevMode ? [{ debugName: "moreChildren" }] : /* istanbul ignore next */ []));
|
|
146
146
|
shownTitle = computed(() => this.shownTitles().get(this.call().id) ?? this.call().title, /* @ts-ignore */
|
|
147
147
|
...(ngDevMode ? [{ debugName: "shownTitle" }] : /* istanbul ignore next */ []));
|
|
148
|
+
titleTip = computed(() => ToolCallComponentResources.formatToolCallTitleNote(this.call().title, this.call().note), /* @ts-ignore */
|
|
149
|
+
...(ngDevMode ? [{ debugName: "titleTip" }] : /* istanbul ignore next */ []));
|
|
148
150
|
titleSide = computed(() => this.titleTooltip() ?? OverlaySide.above, /* @ts-ignore */
|
|
149
151
|
...(ngDevMode ? [{ debugName: "titleSide" }] : /* istanbul ignore next */ []));
|
|
150
152
|
titleBeside = computed(() => (this.titleTooltip()?.isVertical === false ? ToolCallComponentResources.toolCallHeaderSelector : null), /* @ts-ignore */
|
|
@@ -328,7 +330,7 @@ export class ToolCallComponent {
|
|
|
328
330
|
return state === ToolCallOutputState.Loading || state === ToolCallOutputState.Failed;
|
|
329
331
|
}
|
|
330
332
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ToolCallComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
331
|
-
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]=\"call().title\" [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]=\"call().title\" [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() }}</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-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 });
|
|
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 });
|
|
332
334
|
}
|
|
333
335
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ToolCallComponent, decorators: [{
|
|
334
336
|
type: Component,
|
|
@@ -340,6 +342,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImpor
|
|
|
340
342
|
"[class.nol-tool-call-fold-status]": "fit() >= 2",
|
|
341
343
|
"[class.nol-tool-call-fold-kind]": "fit() >= 3",
|
|
342
344
|
"[class.nol-tool-call-unindented]": "isCapped()"
|
|
343
|
-
}, 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]=\"call().title\" [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]=\"call().title\" [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() }}</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-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"] }]
|
|
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"] }]
|
|
344
346
|
}], 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"] }] } });
|
|
345
347
|
//# 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,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,YAAY,EAAE,MAAM,eAAe,CAAC;AAE3J,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGjE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE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mB,CAAC,MAAM,CAAC;IACvF,CAAC;uGA/QU,iBAAiB;2FAAjB,iBAAiB,s/CAW2D,uBAAuB,omBAM5B,iBAAiB,gECxErG,imPAqHA,+8RD9Da,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,YAAY,EAAE,MAAM,eAAe,CAAC;AAE3J,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,SAAS,E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AAe;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"}
|
|
@@ -59,6 +59,15 @@ export declare class ToolbarButtonComponent {
|
|
|
59
59
|
* False when not bound.
|
|
60
60
|
*/
|
|
61
61
|
readonly isUnavailable: import("@angular/core").InputSignal<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* Whether a button that opens a menu, with {@link hasMenu}, draws its
|
|
64
|
+
* pressed look, the toolbar hover fill or under forced colors `Highlight`,
|
|
65
|
+
* while its menu is open, which the menu trigger marks `aria-expanded`,
|
|
66
|
+
* and its idle look once the menu closes; it isn't announced pressed.
|
|
67
|
+
* Without it, the button looks idle while its menu is open. False when
|
|
68
|
+
* not bound.
|
|
69
|
+
*/
|
|
70
|
+
readonly isPressedWhileOpen: import("@angular/core").InputSignal<boolean>;
|
|
62
71
|
/**
|
|
63
72
|
* Whether the button's work is under way: the kit's spinner, in the
|
|
64
73
|
* glyph's color, stands centered in place of its glyph, label and chevron,
|
|
@@ -91,5 +100,5 @@ export declare class ToolbarButtonComponent {
|
|
|
91
100
|
*/
|
|
92
101
|
constructor();
|
|
93
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarButtonComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarButtonComponent, "button[nol-toolbar-button]", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "isShowingLabel": { "alias": "isShowingLabel"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "hasMenu": { "alias": "hasMenu"; "required": false; "isSignal": true; }; "isUnavailable": { "alias": "isUnavailable"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
103
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarButtonComponent, "button[nol-toolbar-button]", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "isShowingLabel": { "alias": "isShowingLabel"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "hasMenu": { "alias": "hasMenu"; "required": false; "isSignal": true; }; "isUnavailable": { "alias": "isUnavailable"; "required": false; "isSignal": true; }; "isPressedWhileOpen": { "alias": "isPressedWhileOpen"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
95
104
|
}
|
|
@@ -26,25 +26,28 @@ export class ToolbarButtonComponent {
|
|
|
26
26
|
...(ngDevMode ? [{ debugName: "hasMenu" }] : /* istanbul ignore next */ []));
|
|
27
27
|
isUnavailable = input(false, /* @ts-ignore */
|
|
28
28
|
...(ngDevMode ? [{ debugName: "isUnavailable" }] : /* istanbul ignore next */ []));
|
|
29
|
+
isPressedWhileOpen = input(false, /* @ts-ignore */
|
|
30
|
+
...(ngDevMode ? [{ debugName: "isPressedWhileOpen" }] : /* istanbul ignore next */ []));
|
|
29
31
|
busy = input(false, /* @ts-ignore */
|
|
30
32
|
...(ngDevMode ? [{ debugName: "busy" }] : /* istanbul ignore next */ []));
|
|
31
33
|
constructor() {
|
|
32
34
|
BusyGuard.watch(inject(ElementRef).nativeElement, () => this.busy());
|
|
33
35
|
}
|
|
34
36
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ToolbarButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ToolbarButtonComponent, isStandalone: true, selector: "button[nol-toolbar-button]", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, isShowingLabel: { classPropertyName: "isShowingLabel", publicName: "isShowingLabel", isSignal: true, isRequired: false, transformFunction: null }, pressed: { classPropertyName: "pressed", publicName: "pressed", isSignal: true, isRequired: false, transformFunction: null }, hasMenu: { classPropertyName: "hasMenu", publicName: "hasMenu", isSignal: true, isRequired: false, transformFunction: null }, isUnavailable: { classPropertyName: "isUnavailable", publicName: "isUnavailable", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-toolbar-button-icon-only": "icon() !== null && !isShowingLabel()", "attr.aria-label": "label()", "attr.aria-pressed": "pressed() ?? null", "attr.aria-haspopup": "hasMenu() ? partResources.menuPopup : null", "attr.aria-disabled": "isUnavailable() ? resources.trueValue : null", "class.nol-toolbar-button-busy": "busy()", "attr.aria-busy": "busy() ? resources.trueValue : null" }, classAttribute: "nol-toolbar-button" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (icon(); as glyph) {\n <span class=\"nol-toolbar-button-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n}\n@if (icon() === null || isShowingLabel()) {\n <span class=\"nol-toolbar-button-label\" data-truncates>{{ label() }}</span>\n}\n@if (hasMenu()) {\n <span class=\"nol-toolbar-button-chevron material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolbarChevronGlyph }}</span>\n}\n@if (busy()) {\n <nol-spinner class=\"nol-toolbar-button-spinner\" [isDelayed]=\"false\" />\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n box-sizing: border-box;\n gap: 0.125rem;\n min-width: var(--nol-toolbar-button);\n max-width: 100%;\n height: var(--nol-toolbar-button);\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-icon-color);\n font: inherit;\n white-space: nowrap;\n vertical-align: middle;\n outline: none;\n}\n\n:host(.nol-toolbar-button-icon-only) {\n padding: 0;\n}\n\n:host(:not([aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])),\n:host([aria-pressed=\"true\"]) {\n background-color: var(--nol-toolbar-hover);\n}\n\n:host(:not([aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n:host([aria-pressed=\"true\"]) {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n:host(: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 @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host([aria-disabled=\"true\"]) {\n cursor: default;\n}\n\n:host([aria-disabled=\"true\"]) > * {\n opacity: 0.5;\n}\n\n@media (forced-colors: active) {\n :host([aria-disabled=\"true\"]),\n :host([aria-disabled=\"true\"]) * {\n color: GrayText;\n }\n}\n\n:host([aria-disabled=\"true\"][aria-pressed=\"true\"]) {\n background-color: color-mix(in srgb, var(--nol-toolbar-hover) 50%, transparent);\n}\n\n@media (forced-colors: active) {\n :host([aria-disabled=\"true\"][aria-pressed=\"true\"]) {\n --nol-text: GrayText;\n --nol-text-muted: GrayText;\n --nol-menu-text: GrayText;\n --nol-icon-color: GrayText;\n --nol-list-highlight: GrayText;\n --nol-list-active-text: GrayText;\n --nol-spinner-forced-arc: Highlight;\n --nol-spinner-forced-ring: GrayText;\n\n color: GrayText;\n background-color: Canvas;\n }\n\n :host([aria-disabled=\"true\"][aria-pressed=\"true\"]:not(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline: var(--nol-border-width) solid GrayText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-toolbar-button-glyph,\n.nol-toolbar-button-chevron {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-toolbar-button-label {\n color: var(--nol-text);\n}\n\n:host(.nol-toolbar-button-busy) {\n --nol-progress: currentColor;\n\n position: relative;\n}\n\n:host(.nol-toolbar-button-busy) > :not(.nol-toolbar-button-spinner) {\n opacity: 0;\n}\n\n.nol-toolbar-button-spinner {\n position: absolute;\n inset: 0;\n margin: auto;\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }] });
|
|
37
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.6", type: ToolbarButtonComponent, isStandalone: true, selector: "button[nol-toolbar-button]", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, isShowingLabel: { classPropertyName: "isShowingLabel", publicName: "isShowingLabel", isSignal: true, isRequired: false, transformFunction: null }, pressed: { classPropertyName: "pressed", publicName: "pressed", isSignal: true, isRequired: false, transformFunction: null }, hasMenu: { classPropertyName: "hasMenu", publicName: "hasMenu", isSignal: true, isRequired: false, transformFunction: null }, isUnavailable: { classPropertyName: "isUnavailable", publicName: "isUnavailable", isSignal: true, isRequired: false, transformFunction: null }, isPressedWhileOpen: { classPropertyName: "isPressedWhileOpen", publicName: "isPressedWhileOpen", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.nol-toolbar-button-icon-only": "icon() !== null && !isShowingLabel()", "class.nol-toolbar-button-open-pressed": "hasMenu() && isPressedWhileOpen()", "attr.aria-label": "label()", "attr.aria-pressed": "pressed() ?? null", "attr.aria-haspopup": "hasMenu() ? partResources.menuPopup : null", "attr.aria-disabled": "isUnavailable() ? resources.trueValue : null", "class.nol-toolbar-button-busy": "busy()", "attr.aria-busy": "busy() ? resources.trueValue : null" }, classAttribute: "nol-toolbar-button" }, ngImport: i0, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (icon(); as glyph) {\n <span class=\"nol-toolbar-button-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n}\n@if (icon() === null || isShowingLabel()) {\n <span class=\"nol-toolbar-button-label\" data-truncates>{{ label() }}</span>\n}\n@if (hasMenu()) {\n <span class=\"nol-toolbar-button-chevron material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolbarChevronGlyph }}</span>\n}\n@if (busy()) {\n <nol-spinner class=\"nol-toolbar-button-spinner\" [isDelayed]=\"false\" />\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n box-sizing: border-box;\n gap: 0.125rem;\n min-width: var(--nol-toolbar-button);\n max-width: 100%;\n height: var(--nol-toolbar-button);\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-icon-color);\n font: inherit;\n white-space: nowrap;\n vertical-align: middle;\n outline: none;\n}\n\n:host(.nol-toolbar-button-icon-only) {\n padding: 0;\n}\n\n:host(:not([aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])),\n:host([aria-pressed=\"true\"]),\n:host(.nol-toolbar-button-open-pressed[aria-expanded=\"true\"]) {\n background-color: var(--nol-toolbar-hover);\n}\n\n:host(:not([aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n:host([aria-pressed=\"true\"]),\n:host(.nol-toolbar-button-open-pressed[aria-expanded=\"true\"]) {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n:host(: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 @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host([aria-disabled=\"true\"]) {\n cursor: default;\n}\n\n:host([aria-disabled=\"true\"]) > * {\n opacity: 0.5;\n}\n\n@media (forced-colors: active) {\n :host([aria-disabled=\"true\"]),\n :host([aria-disabled=\"true\"]) * {\n color: GrayText;\n }\n}\n\n:host([aria-disabled=\"true\"][aria-pressed=\"true\"]) {\n background-color: color-mix(in srgb, var(--nol-toolbar-hover) 50%, transparent);\n}\n\n@media (forced-colors: active) {\n :host([aria-disabled=\"true\"][aria-pressed=\"true\"]) {\n --nol-text: GrayText;\n --nol-text-muted: GrayText;\n --nol-menu-text: GrayText;\n --nol-icon-color: GrayText;\n --nol-list-highlight: GrayText;\n --nol-list-active-text: GrayText;\n --nol-spinner-forced-arc: Highlight;\n --nol-spinner-forced-ring: GrayText;\n\n color: GrayText;\n background-color: Canvas;\n }\n\n :host([aria-disabled=\"true\"][aria-pressed=\"true\"]:not(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline: var(--nol-border-width) solid GrayText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-toolbar-button-glyph,\n.nol-toolbar-button-chevron {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-toolbar-button-label {\n color: var(--nol-text);\n}\n\n:host(.nol-toolbar-button-busy) {\n --nol-progress: currentColor;\n\n position: relative;\n}\n\n:host(.nol-toolbar-button-busy) > :not(.nol-toolbar-button-spinner) {\n opacity: 0;\n}\n\n.nol-toolbar-button-spinner {\n position: absolute;\n inset: 0;\n margin: auto;\n}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "nol-spinner", inputs: ["label"] }] });
|
|
36
38
|
}
|
|
37
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.6", ngImport: i0, type: ToolbarButtonComponent, decorators: [{
|
|
38
40
|
type: Component,
|
|
39
41
|
args: [{ selector: "button[nol-toolbar-button]", imports: [SpinnerComponent], host: {
|
|
40
42
|
"class": "nol-toolbar-button",
|
|
41
43
|
"[class.nol-toolbar-button-icon-only]": "icon() !== null && !isShowingLabel()",
|
|
44
|
+
"[class.nol-toolbar-button-open-pressed]": "hasMenu() && isPressedWhileOpen()",
|
|
42
45
|
"[attr.aria-label]": "label()",
|
|
43
46
|
"[attr.aria-pressed]": "pressed() ?? null",
|
|
44
47
|
"[attr.aria-haspopup]": "hasMenu() ? partResources.menuPopup : null",
|
|
45
48
|
"[attr.aria-disabled]": "isUnavailable() ? resources.trueValue : null",
|
|
46
49
|
"[class.nol-toolbar-button-busy]": "busy()",
|
|
47
50
|
"[attr.aria-busy]": "busy() ? resources.trueValue : null"
|
|
48
|
-
}, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (icon(); as glyph) {\n <span class=\"nol-toolbar-button-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n}\n@if (icon() === null || isShowingLabel()) {\n <span class=\"nol-toolbar-button-label\" data-truncates>{{ label() }}</span>\n}\n@if (hasMenu()) {\n <span class=\"nol-toolbar-button-chevron material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolbarChevronGlyph }}</span>\n}\n@if (busy()) {\n <nol-spinner class=\"nol-toolbar-button-spinner\" [isDelayed]=\"false\" />\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n box-sizing: border-box;\n gap: 0.125rem;\n min-width: var(--nol-toolbar-button);\n max-width: 100%;\n height: var(--nol-toolbar-button);\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-icon-color);\n font: inherit;\n white-space: nowrap;\n vertical-align: middle;\n outline: none;\n}\n\n:host(.nol-toolbar-button-icon-only) {\n padding: 0;\n}\n\n:host(:not([aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])),\n:host([aria-pressed=\"true\"]) {\n background-color: var(--nol-toolbar-hover);\n}\n\n:host(:not([aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n:host([aria-pressed=\"true\"]) {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n:host(: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 @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host([aria-disabled=\"true\"]) {\n cursor: default;\n}\n\n:host([aria-disabled=\"true\"]) > * {\n opacity: 0.5;\n}\n\n@media (forced-colors: active) {\n :host([aria-disabled=\"true\"]),\n :host([aria-disabled=\"true\"]) * {\n color: GrayText;\n }\n}\n\n:host([aria-disabled=\"true\"][aria-pressed=\"true\"]) {\n background-color: color-mix(in srgb, var(--nol-toolbar-hover) 50%, transparent);\n}\n\n@media (forced-colors: active) {\n :host([aria-disabled=\"true\"][aria-pressed=\"true\"]) {\n --nol-text: GrayText;\n --nol-text-muted: GrayText;\n --nol-menu-text: GrayText;\n --nol-icon-color: GrayText;\n --nol-list-highlight: GrayText;\n --nol-list-active-text: GrayText;\n --nol-spinner-forced-arc: Highlight;\n --nol-spinner-forced-ring: GrayText;\n\n color: GrayText;\n background-color: Canvas;\n }\n\n :host([aria-disabled=\"true\"][aria-pressed=\"true\"]:not(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline: var(--nol-border-width) solid GrayText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-toolbar-button-glyph,\n.nol-toolbar-button-chevron {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-toolbar-button-label {\n color: var(--nol-text);\n}\n\n:host(.nol-toolbar-button-busy) {\n --nol-progress: currentColor;\n\n position: relative;\n}\n\n:host(.nol-toolbar-button-busy) > :not(.nol-toolbar-button-spinner) {\n opacity: 0;\n}\n\n.nol-toolbar-button-spinner {\n position: absolute;\n inset: 0;\n margin: auto;\n}\n"] }]
|
|
49
|
-
}], ctorParameters: () => [], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], isShowingLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "isShowingLabel", required: false }] }], pressed: [{ type: i0.Input, args: [{ isSignal: true, alias: "pressed", required: false }] }], hasMenu: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasMenu", required: false }] }], isUnavailable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isUnavailable", required: false }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }] } });
|
|
51
|
+
}, template: "<!--\n@license\nCopyright (c) Noldova.\n\nThis source code is licensed under the license found in the\nLICENSE file in the root directory of this source tree.\n-->\n\n@if (icon(); as glyph) {\n <span class=\"nol-toolbar-button-glyph material-symbols-rounded\" aria-hidden=\"true\">{{ glyph }}</span>\n}\n@if (icon() === null || isShowingLabel()) {\n <span class=\"nol-toolbar-button-label\" data-truncates>{{ label() }}</span>\n}\n@if (hasMenu()) {\n <span class=\"nol-toolbar-button-chevron material-symbols-rounded\" aria-hidden=\"true\">{{ partResources.toolbarChevronGlyph }}</span>\n}\n@if (busy()) {\n <nol-spinner class=\"nol-toolbar-button-spinner\" [isDelayed]=\"false\" />\n}\n", styles: ["/**\n * @license\n * Copyright (c) Noldova.\n *\n * This source code is licensed under the license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex: none;\n box-sizing: border-box;\n gap: 0.125rem;\n min-width: var(--nol-toolbar-button);\n max-width: 100%;\n height: var(--nol-toolbar-button);\n padding: 0 var(--nol-pill-padding);\n border: 0;\n border-radius: var(--nol-radius-small);\n background: none;\n color: var(--nol-icon-color);\n font: inherit;\n white-space: nowrap;\n vertical-align: middle;\n outline: none;\n}\n\n:host(.nol-toolbar-button-icon-only) {\n padding: 0;\n}\n\n:host(:not([aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])),\n:host([aria-pressed=\"true\"]),\n:host(.nol-toolbar-button-open-pressed[aria-expanded=\"true\"]) {\n background-color: var(--nol-toolbar-hover);\n}\n\n:host(:not([aria-disabled=\"true\"]):is(:hover, [data-nol-state=\"Hover\"])) {\n @media (forced-colors: active) {\n outline: var(--nol-border-width) dashed Highlight;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n:host([aria-pressed=\"true\"]),\n:host(.nol-toolbar-button-open-pressed[aria-expanded=\"true\"]) {\n @media (forced-colors: active) {\n --nol-text: HighlightText;\n --nol-text-muted: HighlightText;\n --nol-menu-text: HighlightText;\n --nol-icon-color: HighlightText;\n --nol-list-highlight: HighlightText;\n --nol-list-active-text: HighlightText;\n --nol-spinner-forced-arc: HighlightText;\n --nol-spinner-forced-ring: HighlightText;\n\n color: HighlightText;\n forced-color-adjust: none;\n background-color: Highlight;\n }\n}\n\n:host(: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 @media (forced-colors: active) {\n outline: calc(var(--nol-border-width) * 2) solid Highlight;\n }\n}\n\n:host([aria-disabled=\"true\"]) {\n cursor: default;\n}\n\n:host([aria-disabled=\"true\"]) > * {\n opacity: 0.5;\n}\n\n@media (forced-colors: active) {\n :host([aria-disabled=\"true\"]),\n :host([aria-disabled=\"true\"]) * {\n color: GrayText;\n }\n}\n\n:host([aria-disabled=\"true\"][aria-pressed=\"true\"]) {\n background-color: color-mix(in srgb, var(--nol-toolbar-hover) 50%, transparent);\n}\n\n@media (forced-colors: active) {\n :host([aria-disabled=\"true\"][aria-pressed=\"true\"]) {\n --nol-text: GrayText;\n --nol-text-muted: GrayText;\n --nol-menu-text: GrayText;\n --nol-icon-color: GrayText;\n --nol-list-highlight: GrayText;\n --nol-list-active-text: GrayText;\n --nol-spinner-forced-arc: Highlight;\n --nol-spinner-forced-ring: GrayText;\n\n color: GrayText;\n background-color: Canvas;\n }\n\n :host([aria-disabled=\"true\"][aria-pressed=\"true\"]:not(:focus-visible, [data-nol-state=\"Focus\"])) {\n outline: var(--nol-border-width) solid GrayText;\n outline-offset: calc(var(--nol-border-width) * -1);\n }\n}\n\n.nol-toolbar-button-glyph,\n.nol-toolbar-button-chevron {\n flex: none;\n font-size: var(--nol-icon);\n}\n\n.nol-toolbar-button-label {\n color: var(--nol-text);\n}\n\n:host(.nol-toolbar-button-busy) {\n --nol-progress: currentColor;\n\n position: relative;\n}\n\n:host(.nol-toolbar-button-busy) > :not(.nol-toolbar-button-spinner) {\n opacity: 0;\n}\n\n.nol-toolbar-button-spinner {\n position: absolute;\n inset: 0;\n margin: auto;\n}\n"] }]
|
|
52
|
+
}], ctorParameters: () => [], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], isShowingLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "isShowingLabel", required: false }] }], pressed: [{ type: i0.Input, args: [{ isSignal: true, alias: "pressed", required: false }] }], hasMenu: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasMenu", required: false }] }], isUnavailable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isUnavailable", required: false }] }], isPressedWhileOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "isPressedWhileOpen", required: false }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }] } });
|
|
50
53
|
//# sourceMappingURL=toolbar-button.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/toolbar-button/toolbar-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/toolbar-button/toolbar-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAErE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;;
|
|
1
|
+
{"version":3,"file":"toolbar-button.component.js","sourceRoot":"","sources":["../../../../../../src/noldova.ui.components.angular/src/app/components/toolbar-button/toolbar-button.component.ts","../../../../../../src/noldova.ui.components.angular/src/app/components/toolbar-button/toolbar-button.component.html"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAErE,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;;AAmBvE,MAAM,OAAO,sBAAsB;IACd,SAAS,GAAqB,SAAS,CAAC;IACxC,aAAa,GAAkC,sBAAsB,CAAC;IAEzE,KAAK,GAAG,KAAK,CAAC,QAAQ;8EAAU,CAAC;IACjC,IAAI,GAAG,KAAK,CAAgB,IAAI;6EAAC,CAAC;IAClC,cAAc,GAAG,KAAK,CAAU,KAAK;uFAAC,CAAC;IACvC,OAAO,GAAG,KAAK;2FAAW,CAAC;IAC3B,OAAO,GAAG,KAAK,CAAU,KAAK;gFAAC,CAAC;IAChC,aAAa,GAAG,KAAK,CAAU,KAAK;sFAAC,CAAC;IACtC,kBAAkB,GAAG,KAAK,CAAU,KAAK;2FAAC,CAAC;IAC3C,IAAI,GAAG,KAAK,CAAU,KAAK;6EAAC,CAAC;IAE7C;QACE,SAAS,CAAC,KAAK,CAAC,MAAM,CAA0B,UAAU,CAAC,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAChG,CAAC;uGAfU,sBAAsB;2FAAtB,sBAAsB,mpDChCnC,qrBAoBA,ijHDHY,gBAAgB;;2FAef,sBAAsB;kBAjBlC,SAAS;+BACE,4BAA4B,WAC7B,CAAC,gBAAgB,CAAC,QAGrB;wBACJ,OAAO,EAAE,oBAAoB;wBAC7B,sCAAsC,EAAE,sCAAsC;wBAC9E,yCAAyC,EAAE,mCAAmC;wBAC9E,mBAAmB,EAAE,SAAS;wBAC9B,qBAAqB,EAAE,mBAAmB;wBAC1C,sBAAsB,EAAE,4CAA4C;wBACpE,sBAAsB,EAAE,8CAA8C;wBACtE,iCAAiC,EAAE,QAAQ;wBAC3C,kBAAkB,EAAE,qCAAqC;qBAC1D"}
|
|
@@ -32,5 +32,15 @@ export declare enum ButtonVariant {
|
|
|
32
32
|
* it keeps no fill under the pointer. Under forced colors its border and
|
|
33
33
|
* text are `ButtonText`, or `GrayText` while disabled.
|
|
34
34
|
*/
|
|
35
|
-
Outlined = "Outlined"
|
|
35
|
+
Outlined = "Outlined",
|
|
36
|
+
/**
|
|
37
|
+
* The accent chip look, for an action that names what is shown, such as a
|
|
38
|
+
* card's Open while its page is open: the chip's height and side padding,
|
|
39
|
+
* the selected fill, the label in the text color at the button's label
|
|
40
|
+
* size, and no visible border; under the pointer the toolbar hover fill
|
|
41
|
+
* lies over the selected fill. It keeps the chip's height in either size.
|
|
42
|
+
* Under forced colors its border and text are `ButtonText`, or `GrayText`
|
|
43
|
+
* while disabled.
|
|
44
|
+
*/
|
|
45
|
+
Accent = "Accent"
|
|
36
46
|
}
|