@visuno/angular 0.0.0-stage → 0.1.0
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/LICENSE +24 -0
- package/README.md +56 -2
- package/account-table/account-table.component.d.ts +72 -0
- package/action-log/action-log.component.d.ts +41 -0
- package/activity-heatmap/activity-heatmap.component.d.ts +67 -0
- package/agent-inbox/agent-inbox.component.d.ts +75 -0
- package/agent-lanes/agent-lanes.component.d.ts +152 -0
- package/agent-phases/agent-phases.component.d.ts +62 -0
- package/agent-run-timeline/agent-run-timeline.component.d.ts +113 -0
- package/agent-tree/agent-tree.component.d.ts +80 -0
- package/answer-action-bar/answer-action-bar.component.d.ts +110 -0
- package/artifact-card/artifact-card.component.d.ts +145 -0
- package/attachment-tray/attachment-tray.component.d.ts +84 -0
- package/badge/badge.component.d.ts +25 -0
- package/bar-chart/bar-chart.component.d.ts +87 -0
- package/browser-session/browser-session.component.d.ts +70 -0
- package/buttons/buttons.component.d.ts +63 -0
- package/card/card.component.d.ts +21 -0
- package/change-review/change-review.component.d.ts +97 -0
- package/citation-hover-card/citation-hover-card.component.d.ts +95 -0
- package/code-viewer/code-viewer.component.d.ts +86 -0
- package/composer/composer.component.d.ts +114 -0
- package/context-meter/context-meter.component.d.ts +60 -0
- package/core/icon.component.d.ts +10 -0
- package/core/reduced-motion.service.d.ts +15 -0
- package/decision-prompt/decision-prompt.component.d.ts +56 -0
- package/design-review/design-review.component.d.ts +108 -0
- package/design-tuner/design-tuner.component.d.ts +75 -0
- package/details-panel/details-panel.component.d.ts +150 -0
- package/donut-chart/donut-chart.component.d.ts +63 -0
- package/draft-review/draft-review.component.d.ts +128 -0
- package/error-recovery/error-recovery.component.d.ts +59 -0
- package/esm2022/account-table/account-table.component.mjs +399 -0
- package/esm2022/action-log/action-log.component.mjs +177 -0
- package/esm2022/activity-heatmap/activity-heatmap.component.mjs +285 -0
- package/esm2022/agent-inbox/agent-inbox.component.mjs +284 -0
- package/esm2022/agent-lanes/agent-lanes.component.mjs +600 -0
- package/esm2022/agent-phases/agent-phases.component.mjs +300 -0
- package/esm2022/agent-run-timeline/agent-run-timeline.component.mjs +412 -0
- package/esm2022/agent-tree/agent-tree.component.mjs +393 -0
- package/esm2022/answer-action-bar/answer-action-bar.component.mjs +636 -0
- package/esm2022/artifact-card/artifact-card.component.mjs +916 -0
- package/esm2022/attachment-tray/attachment-tray.component.mjs +402 -0
- package/esm2022/badge/badge.component.mjs +97 -0
- package/esm2022/bar-chart/bar-chart.component.mjs +300 -0
- package/esm2022/browser-session/browser-session.component.mjs +352 -0
- package/esm2022/buttons/buttons.component.mjs +215 -0
- package/esm2022/card/card.component.mjs +107 -0
- package/esm2022/change-review/change-review.component.mjs +398 -0
- package/esm2022/citation-hover-card/citation-hover-card.component.mjs +360 -0
- package/esm2022/code-viewer/code-viewer.component.mjs +291 -0
- package/esm2022/composer/composer.component.mjs +743 -0
- package/esm2022/context-meter/context-meter.component.mjs +275 -0
- package/esm2022/core/icon.component.mjs +111 -0
- package/esm2022/core/reduced-motion.service.mjs +34 -0
- package/esm2022/decision-prompt/decision-prompt.component.mjs +259 -0
- package/esm2022/design-review/design-review.component.mjs +428 -0
- package/esm2022/design-tuner/design-tuner.component.mjs +341 -0
- package/esm2022/details-panel/details-panel.component.mjs +537 -0
- package/esm2022/donut-chart/donut-chart.component.mjs +240 -0
- package/esm2022/draft-review/draft-review.component.mjs +549 -0
- package/esm2022/error-recovery/error-recovery.component.mjs +231 -0
- package/esm2022/eval-results/eval-results.component.mjs +368 -0
- package/esm2022/feedback-sheet/feedback-sheet.component.mjs +411 -0
- package/esm2022/field-extraction/field-extraction.component.mjs +368 -0
- package/esm2022/funnel-chart/funnel-chart.component.mjs +258 -0
- package/esm2022/grid/grid.component.mjs +66 -0
- package/esm2022/health-score/health-score.component.mjs +420 -0
- package/esm2022/human-handoff/human-handoff.component.mjs +676 -0
- package/esm2022/image-generation/image-generation.component.mjs +1028 -0
- package/esm2022/inline-text-diff/inline-text-diff.component.mjs +390 -0
- package/esm2022/launch-checklist/launch-checklist.component.mjs +229 -0
- package/esm2022/line-chart/line-chart.component.mjs +417 -0
- package/esm2022/live-answer/live-answer.component.mjs +411 -0
- package/esm2022/metric-insight/metric-insight.component.mjs +511 -0
- package/esm2022/modal/modal.component.mjs +202 -0
- package/esm2022/model-picker/model-picker.component.mjs +491 -0
- package/esm2022/permission-gate/permission-gate.component.mjs +498 -0
- package/esm2022/plan-review/plan-review.component.mjs +432 -0
- package/esm2022/progress/progress.component.mjs +503 -0
- package/esm2022/prompt-library/prompt-library.component.mjs +453 -0
- package/esm2022/prompt-starters/prompt-starters.component.mjs +272 -0
- package/esm2022/proposal-card/proposal-card.component.mjs +402 -0
- package/esm2022/public-api.mjs +88 -0
- package/esm2022/radar-chart/radar-chart.component.mjs +500 -0
- package/esm2022/radial-goals/radial-goals.component.mjs +418 -0
- package/esm2022/reasoning-trail/reasoning-trail.component.mjs +284 -0
- package/esm2022/response-versions/response-versions.component.mjs +288 -0
- package/esm2022/rewrite-toolbar/rewrite-toolbar.component.mjs +397 -0
- package/esm2022/rich-text-editor/rich-text-editor.component.mjs +1755 -0
- package/esm2022/run-cost/run-cost.component.mjs +215 -0
- package/esm2022/run-queue/run-queue.component.mjs +481 -0
- package/esm2022/run-summary/run-summary.component.mjs +331 -0
- package/esm2022/scatter-chart/scatter-chart.component.mjs +705 -0
- package/esm2022/score-breakdown/score-breakdown.component.mjs +460 -0
- package/esm2022/segmented-control/segmented-control.component.mjs +180 -0
- package/esm2022/source-stack/source-stack.component.mjs +245 -0
- package/esm2022/stat-cards/stat-cards.component.mjs +258 -0
- package/esm2022/status-pill/status-pill.component.mjs +305 -0
- package/esm2022/steering/steering.component.mjs +343 -0
- package/esm2022/step-loader/step-loader.component.mjs +209 -0
- package/esm2022/task-table/task-table.component.mjs +534 -0
- package/esm2022/terminal-stream/terminal-stream.component.mjs +583 -0
- package/esm2022/thinking/thinking.component.mjs +276 -0
- package/esm2022/thinking-states/thinking-states.component.mjs +333 -0
- package/esm2022/thread-panel/thread-panel.component.mjs +271 -0
- package/esm2022/toast/toast.component.mjs +195 -0
- package/esm2022/toast-stack/toast-stack.component.mjs +301 -0
- package/esm2022/tool-call/tool-call.component.mjs +273 -0
- package/esm2022/tooltip/tooltip.component.mjs +417 -0
- package/esm2022/top-pages/top-pages.component.mjs +240 -0
- package/esm2022/trace-view/trace-view.component.mjs +440 -0
- package/esm2022/visuno-angular.mjs +5 -0
- package/esm2022/voice-capture/voice-capture.component.mjs +650 -0
- package/esm2022/voice-orb/voice-orb.component.mjs +538 -0
- package/esm2022/web-search/web-search.component.mjs +374 -0
- package/eval-results/eval-results.component.d.ts +67 -0
- package/feedback-sheet/feedback-sheet.component.d.ts +74 -0
- package/fesm2022/visuno-angular.mjs +31992 -0
- package/fesm2022/visuno-angular.mjs.map +1 -0
- package/field-extraction/field-extraction.component.d.ts +82 -0
- package/funnel-chart/funnel-chart.component.d.ts +70 -0
- package/grid/grid.component.d.ts +22 -0
- package/health-score/health-score.component.d.ts +87 -0
- package/human-handoff/human-handoff.component.d.ts +125 -0
- package/image-generation/image-generation.component.d.ts +253 -0
- package/index.d.ts +5 -0
- package/inline-text-diff/inline-text-diff.component.d.ts +76 -0
- package/launch-checklist/launch-checklist.component.d.ts +46 -0
- package/line-chart/line-chart.component.d.ts +89 -0
- package/live-answer/live-answer.component.d.ts +110 -0
- package/metric-insight/metric-insight.component.d.ts +110 -0
- package/modal/modal.component.d.ts +37 -0
- package/model-picker/model-picker.component.d.ts +97 -0
- package/package.json +51 -4
- package/permission-gate/permission-gate.component.d.ts +100 -0
- package/plan-review/plan-review.component.d.ts +86 -0
- package/progress/progress.component.d.ts +91 -0
- package/prompt-library/prompt-library.component.d.ts +121 -0
- package/prompt-starters/prompt-starters.component.d.ts +65 -0
- package/proposal-card/proposal-card.component.d.ts +101 -0
- package/public-api.d.ts +82 -0
- package/radar-chart/radar-chart.component.d.ts +110 -0
- package/radial-goals/radial-goals.component.d.ts +90 -0
- package/reasoning-trail/reasoning-trail.component.d.ts +73 -0
- package/response-versions/response-versions.component.d.ts +54 -0
- package/rewrite-toolbar/rewrite-toolbar.component.d.ts +92 -0
- package/rich-text-editor/rich-text-editor.component.d.ts +180 -0
- package/run-cost/run-cost.component.d.ts +43 -0
- package/run-queue/run-queue.component.d.ts +93 -0
- package/run-summary/run-summary.component.d.ts +81 -0
- package/scatter-chart/scatter-chart.component.d.ts +139 -0
- package/score-breakdown/score-breakdown.component.d.ts +107 -0
- package/segmented-control/segmented-control.component.d.ts +44 -0
- package/source-stack/source-stack.component.d.ts +60 -0
- package/stat-cards/stat-cards.component.d.ts +86 -0
- package/status-pill/status-pill.component.d.ts +64 -0
- package/steering/steering.component.d.ts +75 -0
- package/step-loader/step-loader.component.d.ts +40 -0
- package/styles.css +424 -0
- package/task-table/task-table.component.d.ts +114 -0
- package/terminal-stream/terminal-stream.component.d.ts +110 -0
- package/thinking/thinking.component.d.ts +63 -0
- package/thinking-states/thinking-states.component.d.ts +51 -0
- package/thread-panel/thread-panel.component.d.ts +75 -0
- package/toast/toast.component.d.ts +56 -0
- package/toast-stack/toast-stack.component.d.ts +72 -0
- package/tokens.css +424 -0
- package/tool-call/tool-call.component.d.ts +61 -0
- package/tooltip/tooltip.component.d.ts +89 -0
- package/top-pages/top-pages.component.d.ts +75 -0
- package/trace-view/trace-view.component.d.ts +95 -0
- package/voice-capture/voice-capture.component.d.ts +103 -0
- package/voice-orb/voice-orb.component.d.ts +78 -0
- package/web-search/web-search.component.d.ts +77 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { type VoIconName } from '../core/icon.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** Something the agent is asking to be allowed to do. */
|
|
5
|
+
export interface PermissionScope {
|
|
6
|
+
key: string;
|
|
7
|
+
/** Like "Edit frames". */
|
|
8
|
+
label: string;
|
|
9
|
+
/** The quiet line under it, like "Only on a new page". */
|
|
10
|
+
detail?: string;
|
|
11
|
+
/** A warning tag after it, like "Risky". */
|
|
12
|
+
risk?: string;
|
|
13
|
+
/** What the risk tag reveals on hover, like "Checkout and Docs use this library". */
|
|
14
|
+
riskDetail?: string;
|
|
15
|
+
}
|
|
16
|
+
/** asking, allowed or declined. */
|
|
17
|
+
export type PermissionStatus = 'asking' | 'allowed' | 'declined';
|
|
18
|
+
/** The agent asks before it acts: pick the scopes and how long they last, then allow or decline. */
|
|
19
|
+
export declare class PermissionGateComponent implements OnChanges {
|
|
20
|
+
/** The question, like "Allow the agent to edit Figma?". */
|
|
21
|
+
title: string;
|
|
22
|
+
/** Why it asks. */
|
|
23
|
+
subtitle?: string;
|
|
24
|
+
/** The glyph in the tile beside the question. Defaults to figma (React uses a shield). */
|
|
25
|
+
iconName: VoIconName;
|
|
26
|
+
scopes: PermissionScope[];
|
|
27
|
+
/** Keys of the ticked scopes. Leave it out to let the checkboxes hold their own. */
|
|
28
|
+
value?: string[];
|
|
29
|
+
defaultValue: string[];
|
|
30
|
+
valueChange: EventEmitter<string[]>;
|
|
31
|
+
/** How long the permission lasts, picked from a small dropdown in the footer. */
|
|
32
|
+
durations: string[];
|
|
33
|
+
/** The quiet line under each duration in its menu, by duration. */
|
|
34
|
+
durationDetails: Record<string, string>;
|
|
35
|
+
duration?: string;
|
|
36
|
+
defaultDuration?: string;
|
|
37
|
+
durationChange: EventEmitter<string>;
|
|
38
|
+
/** asking, allowed or declined. Leave it out to let the buttons move it. */
|
|
39
|
+
status?: PermissionStatus;
|
|
40
|
+
defaultStatus: PermissionStatus;
|
|
41
|
+
statusChange: EventEmitter<PermissionStatus>;
|
|
42
|
+
/** Called with the ticked scopes and the duration. Return a promise and the button spins until it settles. */
|
|
43
|
+
allowEvent: EventEmitter<{
|
|
44
|
+
keys: string[];
|
|
45
|
+
duration: string;
|
|
46
|
+
}>;
|
|
47
|
+
declineEvent: EventEmitter<void>;
|
|
48
|
+
/** Called by Revoke, after allowing. */
|
|
49
|
+
revokeEvent: EventEmitter<void>;
|
|
50
|
+
/** Called by Undo, after declining. */
|
|
51
|
+
undoEvent: EventEmitter<void>;
|
|
52
|
+
/** The line under "Allowed …", like "Applying the pricing fixes now". */
|
|
53
|
+
allowedDetail?: string;
|
|
54
|
+
/** Replaces "Allowed 2 scopes for this task", like "Done. 6 frames edited". */
|
|
55
|
+
allowedTitle?: string;
|
|
56
|
+
/** The agent is still working under the permission: a spinner instead of the green check. */
|
|
57
|
+
working: boolean;
|
|
58
|
+
/** Quiet text at the end of the allowed row, like an elapsed time "0:04". */
|
|
59
|
+
meta?: string;
|
|
60
|
+
/** A follow-up ask in the middle of a run, for one more scope: the icon tile turns amber. */
|
|
61
|
+
followUp: boolean;
|
|
62
|
+
/** The decline button. Defaults to "Not now"; a follow-up ask might say "Skip this frame". */
|
|
63
|
+
declineLabel: string;
|
|
64
|
+
/** Shown after Not now. */
|
|
65
|
+
declinedTitle: string;
|
|
66
|
+
declinedDetail?: string;
|
|
67
|
+
/** Sits flat in a chat thread (the default). Set false to give it a card of its own. */
|
|
68
|
+
bare: boolean;
|
|
69
|
+
private readonly motion;
|
|
70
|
+
/** Internal state when the matching input is left uncontrolled. */
|
|
71
|
+
private innerTicked;
|
|
72
|
+
private innerDur?;
|
|
73
|
+
private innerStatus;
|
|
74
|
+
menuOpen: boolean;
|
|
75
|
+
waiting: boolean;
|
|
76
|
+
leaving: boolean;
|
|
77
|
+
back: number;
|
|
78
|
+
granted: number;
|
|
79
|
+
held: number | null;
|
|
80
|
+
private leaveTimer?;
|
|
81
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
82
|
+
get ticked(): string[];
|
|
83
|
+
get dur(): string;
|
|
84
|
+
get state(): PermissionStatus;
|
|
85
|
+
get n(): number;
|
|
86
|
+
durLabel(d: string): string;
|
|
87
|
+
durSpan(d: string): string;
|
|
88
|
+
private setTicked;
|
|
89
|
+
private setStatus;
|
|
90
|
+
toggle(key: string): void;
|
|
91
|
+
toggleMenu(): void;
|
|
92
|
+
pickDuration(d: string): void;
|
|
93
|
+
private hold;
|
|
94
|
+
allow(): Promise<void>;
|
|
95
|
+
decline(): void;
|
|
96
|
+
revoke(): void;
|
|
97
|
+
undo(): void;
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionGateComponent, never>;
|
|
99
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PermissionGateComponent, "vo-permission-gate", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "scopes": { "alias": "scopes"; "required": false; }; "value": { "alias": "value"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "durations": { "alias": "durations"; "required": false; }; "durationDetails": { "alias": "durationDetails"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "defaultDuration": { "alias": "defaultDuration"; "required": false; }; "status": { "alias": "status"; "required": false; }; "defaultStatus": { "alias": "defaultStatus"; "required": false; }; "allowedDetail": { "alias": "allowedDetail"; "required": false; }; "allowedTitle": { "alias": "allowedTitle"; "required": false; }; "working": { "alias": "working"; "required": false; }; "meta": { "alias": "meta"; "required": false; }; "followUp": { "alias": "followUp"; "required": false; }; "declineLabel": { "alias": "declineLabel"; "required": false; }; "declinedTitle": { "alias": "declinedTitle"; "required": false; }; "declinedDetail": { "alias": "declinedDetail"; "required": false; }; "bare": { "alias": "bare"; "required": false; }; }, { "valueChange": "valueChange"; "durationChange": "durationChange"; "statusChange": "statusChange"; "allowEvent": "allowEvent"; "declineEvent": "declineEvent"; "revokeEvent": "revokeEvent"; "undoEvent": "undoEvent"; }, never, never, true, never>;
|
|
100
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/** One step in the plan. */
|
|
4
|
+
export interface PlanReviewStep {
|
|
5
|
+
id: string;
|
|
6
|
+
text: string;
|
|
7
|
+
/** Left out of the plan; it stays in the list, struck through. */
|
|
8
|
+
skipped?: boolean;
|
|
9
|
+
/** Marks a step the person rewrote. */
|
|
10
|
+
edited?: boolean;
|
|
11
|
+
/** run while the agent works on it, retry while it waits out a problem (a rate limit, a timeout), done once it has. */
|
|
12
|
+
state?: 'run' | 'retry' | 'done';
|
|
13
|
+
/** The line the step reports, under it: what it found, or what it waits on. Opens and crossfades when it changes. */
|
|
14
|
+
detail?: string;
|
|
15
|
+
}
|
|
16
|
+
/** review (steps can be edited), running (the agent works through them) or done. */
|
|
17
|
+
export type PlanPhase = 'review' | 'running' | 'done';
|
|
18
|
+
export declare class PlanReviewComponent {
|
|
19
|
+
/** Like "Plan: redesign the pricing page". */
|
|
20
|
+
title: string;
|
|
21
|
+
/** The quiet text at the end of the header, like an elapsed time "0:04". */
|
|
22
|
+
meta?: string | number | null;
|
|
23
|
+
/** review (steps can be edited), running (the agent works through them) or done. */
|
|
24
|
+
set phase(value: PlanPhase);
|
|
25
|
+
get phase(): PlanPhase;
|
|
26
|
+
private _phase;
|
|
27
|
+
/** The line under the title. Defaults to how many steps are left in and roughly how long they take. */
|
|
28
|
+
set status(value: string | undefined);
|
|
29
|
+
get status(): string | undefined;
|
|
30
|
+
private _status?;
|
|
31
|
+
/** The quiet line in the footer. Defaults to a hint for each phase. */
|
|
32
|
+
set note(value: string | undefined);
|
|
33
|
+
get note(): string | undefined;
|
|
34
|
+
private _note?;
|
|
35
|
+
/** Controlled steps. Leave `steps` out (and set `defaultSteps`) to let the person edit, skip and add steps on their own. */
|
|
36
|
+
set steps(value: PlanReviewStep[] | undefined);
|
|
37
|
+
get steps(): PlanReviewStep[];
|
|
38
|
+
private _list;
|
|
39
|
+
private _controlled;
|
|
40
|
+
/** The initial steps when uncontrolled. */
|
|
41
|
+
set defaultSteps(value: PlanReviewStep[]);
|
|
42
|
+
private _seeded;
|
|
43
|
+
/** Sits flat in a chat thread (the default). Set false to give it a card of its own. */
|
|
44
|
+
bare: boolean;
|
|
45
|
+
/** Extra classes for the root element. */
|
|
46
|
+
className?: string;
|
|
47
|
+
/** Emitted whenever the list changes (edit, skip, add). */
|
|
48
|
+
stepsChange: EventEmitter<PlanReviewStep[]>;
|
|
49
|
+
approve: EventEmitter<void>;
|
|
50
|
+
requestChanges: EventEmitter<void>;
|
|
51
|
+
stop: EventEmitter<void>;
|
|
52
|
+
seeChanges: EventEmitter<void>;
|
|
53
|
+
private listRef?;
|
|
54
|
+
private readonly motion;
|
|
55
|
+
private readonly original;
|
|
56
|
+
readonly entered: Set<string>;
|
|
57
|
+
private readonly first;
|
|
58
|
+
readonly detailOut: Set<string>;
|
|
59
|
+
stOut: boolean;
|
|
60
|
+
noteOut: boolean;
|
|
61
|
+
stShown: string;
|
|
62
|
+
noteShown: string;
|
|
63
|
+
private focusId;
|
|
64
|
+
private seeded;
|
|
65
|
+
get editable(): boolean;
|
|
66
|
+
private get included();
|
|
67
|
+
num(s: PlanReviewStep): string;
|
|
68
|
+
rowClass(s: PlanReviewStep): string;
|
|
69
|
+
enterDelay(id: string, i: number): string | null;
|
|
70
|
+
onRowEntered(e: AnimationEvent, id: string): void;
|
|
71
|
+
onKeydown(e: KeyboardEvent): void;
|
|
72
|
+
onBlur(e: FocusEvent, s: PlanReviewStep): void;
|
|
73
|
+
toggleSkip(s: PlanReviewStep): void;
|
|
74
|
+
addStep(): void;
|
|
75
|
+
ngAfterViewChecked(): void;
|
|
76
|
+
private update;
|
|
77
|
+
private setList;
|
|
78
|
+
private rememberOriginals;
|
|
79
|
+
private refreshStatus;
|
|
80
|
+
private refreshNote;
|
|
81
|
+
private swapStatus;
|
|
82
|
+
private swapNote;
|
|
83
|
+
ngOnInit(): void;
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlanReviewComponent, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlanReviewComponent, "vo-plan-review", never, { "title": { "alias": "title"; "required": true; }; "meta": { "alias": "meta"; "required": false; }; "phase": { "alias": "phase"; "required": false; }; "status": { "alias": "status"; "required": false; }; "note": { "alias": "note"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "defaultSteps": { "alias": "defaultSteps"; "required": false; }; "bare": { "alias": "bare"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, { "stepsChange": "stepsChange"; "approve": "approve"; "requestChanges": "requestChanges"; "stop": "stop"; "seeChanges": "seeChanges"; }, never, never, true, never>;
|
|
86
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ReducedMotionService } from '../core/reduced-motion.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type ProgressState = 'indeterminate' | 'running' | 'paused' | 'error' | 'complete';
|
|
5
|
+
export interface ProgressStep {
|
|
6
|
+
/** Like "Indexing files". */
|
|
7
|
+
label: string;
|
|
8
|
+
/** What the step counts, like "Files". */
|
|
9
|
+
unit: string;
|
|
10
|
+
/** How many there are to count, like 2000. */
|
|
11
|
+
total: number;
|
|
12
|
+
}
|
|
13
|
+
export interface ProgressMeter {
|
|
14
|
+
/** Like "Credits this month". */
|
|
15
|
+
label: string;
|
|
16
|
+
value: number;
|
|
17
|
+
max: number;
|
|
18
|
+
/** The unit in the meter's spoken value, like "credits". */
|
|
19
|
+
unit?: string;
|
|
20
|
+
/** Share of max where it says "Running low" (0.75). */
|
|
21
|
+
warnAt?: number;
|
|
22
|
+
/** Share of max where it warns more strongly (0.9). */
|
|
23
|
+
dangerAt?: number;
|
|
24
|
+
/** The words for the stronger warning ("Almost out"). */
|
|
25
|
+
dangerLabel?: string;
|
|
26
|
+
/** Quiet text at the right under the meter, like "Resets Dec 1". */
|
|
27
|
+
note?: string;
|
|
28
|
+
}
|
|
29
|
+
/** A run's progress three ways, with an optional meter that warns as it fills. */
|
|
30
|
+
export declare class ProgressComponent implements OnChanges, OnDestroy {
|
|
31
|
+
private readonly motion;
|
|
32
|
+
/** Like "Indexing the docs". */
|
|
33
|
+
title: string;
|
|
34
|
+
state: ProgressState;
|
|
35
|
+
steps: ProgressStep[];
|
|
36
|
+
/** The step in hand, from 0. */
|
|
37
|
+
step: number;
|
|
38
|
+
/** How far the step in hand is, 0 to 1. */
|
|
39
|
+
stepProgress: number;
|
|
40
|
+
/** The line under the title. Defaults to "Step 3 of 5, indexing files". */
|
|
41
|
+
valueText?: string;
|
|
42
|
+
/** What failed, shown over the bar with a Retry button while state is "error". */
|
|
43
|
+
error: string;
|
|
44
|
+
meter?: ProgressMeter;
|
|
45
|
+
onPause: EventEmitter<void>;
|
|
46
|
+
onResume: EventEmitter<void>;
|
|
47
|
+
onRetry: EventEmitter<void>;
|
|
48
|
+
onRestart: EventEmitter<void>;
|
|
49
|
+
/** Whether the respective callbacks are wired (so their controls show). */
|
|
50
|
+
pauseWired: boolean;
|
|
51
|
+
resumeWired: boolean;
|
|
52
|
+
retryWired: boolean;
|
|
53
|
+
restartWired: boolean;
|
|
54
|
+
said: string;
|
|
55
|
+
tagOut: boolean;
|
|
56
|
+
private was?;
|
|
57
|
+
private saidTimer?;
|
|
58
|
+
private tagTimer?;
|
|
59
|
+
shownTag: string;
|
|
60
|
+
constructor(motion: ReducedMotionService);
|
|
61
|
+
get n(): number;
|
|
62
|
+
get at(): number;
|
|
63
|
+
get cur(): ProgressStep;
|
|
64
|
+
get done(): boolean;
|
|
65
|
+
get ind(): boolean;
|
|
66
|
+
get sub(): number;
|
|
67
|
+
get all(): number;
|
|
68
|
+
get pct(): number;
|
|
69
|
+
get subPct(): number;
|
|
70
|
+
get code(): string;
|
|
71
|
+
get tagClass(): string;
|
|
72
|
+
get words(): string;
|
|
73
|
+
get btn(): {
|
|
74
|
+
icon: 'play' | 'pause' | 'refresh';
|
|
75
|
+
label: string;
|
|
76
|
+
on: EventEmitter<void> | null;
|
|
77
|
+
};
|
|
78
|
+
get warnAt(): number;
|
|
79
|
+
get dangerAt(): number;
|
|
80
|
+
get m(): number;
|
|
81
|
+
get band(): 0 | 1 | 2;
|
|
82
|
+
get meterFillPct(): number;
|
|
83
|
+
get meterNow(): number;
|
|
84
|
+
get meterValueText(): string;
|
|
85
|
+
segFill(j: number): number;
|
|
86
|
+
fmtN(n: number): string;
|
|
87
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
88
|
+
ngOnDestroy(): void;
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressComponent, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressComponent, "vo-progress", never, { "title": { "alias": "title"; "required": false; }; "state": { "alias": "state"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "step": { "alias": "step"; "required": false; }; "stepProgress": { "alias": "stepProgress"; "required": false; }; "valueText": { "alias": "valueText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "meter": { "alias": "meter"; "required": false; }; "pauseWired": { "alias": "pauseWired"; "required": false; }; "resumeWired": { "alias": "resumeWired"; "required": false; }; "retryWired": { "alias": "retryWired"; "required": false; }; "restartWired": { "alias": "restartWired"; "required": false; }; }, { "onPause": "onPause"; "onResume": "onResume"; "onRetry": "onRetry"; "onRestart": "onRestart"; }, never, never, true, never>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/** One blank in a prompt — typed in, or picked from a short list. */
|
|
4
|
+
export interface PromptBlank {
|
|
5
|
+
/** The field's label, like "Section". Lowercased, it also stands in the prompt while the blank is empty. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** For a typed blank: the hint in the empty field. */
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
/** For a picked blank: the choices, in a dropdown that starts on the first. */
|
|
10
|
+
options?: string[];
|
|
11
|
+
/** What the field says when the prompt is used with it empty. Defaults to "Fill in the <label>". */
|
|
12
|
+
error?: string;
|
|
13
|
+
}
|
|
14
|
+
/** One saved prompt, its template and the blanks keyed by {key}. */
|
|
15
|
+
export interface SavedPrompt {
|
|
16
|
+
id: string;
|
|
17
|
+
title: string;
|
|
18
|
+
/** The prompt, with each blank written as {key}, like "Rewrite {section} on {page}". */
|
|
19
|
+
template: string;
|
|
20
|
+
blanks: Record<string, PromptBlank>;
|
|
21
|
+
}
|
|
22
|
+
/** Overridable labels for the back button, footer note, use button and the used notice. */
|
|
23
|
+
export interface PromptLibraryLabels {
|
|
24
|
+
back?: string;
|
|
25
|
+
note?: string;
|
|
26
|
+
use?: string;
|
|
27
|
+
usedTitle?: string;
|
|
28
|
+
usedDetail?: string;
|
|
29
|
+
undo?: string;
|
|
30
|
+
blank?: string;
|
|
31
|
+
blanks?: string;
|
|
32
|
+
}
|
|
33
|
+
/** A span of the template: a literal string, or a blank by its key. */
|
|
34
|
+
type Part = {
|
|
35
|
+
text: string;
|
|
36
|
+
} | {
|
|
37
|
+
key: string;
|
|
38
|
+
};
|
|
39
|
+
/** A picked blank laid out for the template, with whether it takes the full row. */
|
|
40
|
+
interface PickField {
|
|
41
|
+
key: string;
|
|
42
|
+
blank: PromptBlank;
|
|
43
|
+
wide: boolean;
|
|
44
|
+
}
|
|
45
|
+
/** A typed blank laid out for the template. */
|
|
46
|
+
interface TypedField {
|
|
47
|
+
key: string;
|
|
48
|
+
blank: PromptBlank;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The studio's saved prompts, each with blanks like {page}. Opening one lays its
|
|
52
|
+
* blanks out as fields, the prompt fills in as they change, and it can't be used
|
|
53
|
+
* until every blank has a value.
|
|
54
|
+
*/
|
|
55
|
+
export declare class PromptLibraryComponent implements OnChanges, OnDestroy {
|
|
56
|
+
/** The saved prompts to list. */
|
|
57
|
+
prompts: SavedPrompt[];
|
|
58
|
+
/** The list's heading. */
|
|
59
|
+
title: string;
|
|
60
|
+
/** The line under the title, like "Shared with Visuno Studio". */
|
|
61
|
+
subtitle?: string;
|
|
62
|
+
/** The open prompt's id, or null for the list. Leave it out to let the component hold its own. */
|
|
63
|
+
open?: string | null;
|
|
64
|
+
defaultOpen: string | null;
|
|
65
|
+
/** The open prompt's blanks, by key. A picked blank left out starts on its first option. */
|
|
66
|
+
values?: Record<string, string>;
|
|
67
|
+
defaultValues: Record<string, string>;
|
|
68
|
+
/** Overridable labels. */
|
|
69
|
+
labels: PromptLibraryLabels;
|
|
70
|
+
className?: string;
|
|
71
|
+
/** Emitted when a prompt opens or the list comes back (null). */
|
|
72
|
+
openChange: EventEmitter<string | null>;
|
|
73
|
+
/** Emitted whenever a blank's value changes. */
|
|
74
|
+
valuesChange: EventEmitter<Record<string, string>>;
|
|
75
|
+
/** Emitted with the filled prompt once every blank has a value. */
|
|
76
|
+
usePrompt: EventEmitter<{
|
|
77
|
+
text: string;
|
|
78
|
+
prompt: SavedPrompt;
|
|
79
|
+
values: Record<string, string>;
|
|
80
|
+
}>;
|
|
81
|
+
undoUse: EventEmitter<void>;
|
|
82
|
+
private root;
|
|
83
|
+
private readonly motion;
|
|
84
|
+
/** A stable id for this instance's field ids. */
|
|
85
|
+
readonly uid: string;
|
|
86
|
+
readonly cap: (s: string) => string;
|
|
87
|
+
private curId;
|
|
88
|
+
vals: Record<string, string>;
|
|
89
|
+
tried: boolean;
|
|
90
|
+
used: boolean;
|
|
91
|
+
openPick: string | null;
|
|
92
|
+
private closeTimer?;
|
|
93
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
94
|
+
ngOnDestroy(): void;
|
|
95
|
+
get L(): Required<PromptLibraryLabels>;
|
|
96
|
+
/** The open prompt, or undefined for the list. */
|
|
97
|
+
get cur(): SavedPrompt | undefined;
|
|
98
|
+
get templateParts(): Part[];
|
|
99
|
+
get typedFields(): TypedField[];
|
|
100
|
+
get pickFields(): PickField[];
|
|
101
|
+
asText(q: Part): {
|
|
102
|
+
text: string;
|
|
103
|
+
} | null;
|
|
104
|
+
count(p: SavedPrompt): string;
|
|
105
|
+
/** Every blank's value: what was typed or picked, or a picked blank's first option. */
|
|
106
|
+
filledValue(key: string): string;
|
|
107
|
+
isBad(key: string): boolean;
|
|
108
|
+
go(id: string | null): void;
|
|
109
|
+
setVal(key: string, value: string): void;
|
|
110
|
+
private setVals;
|
|
111
|
+
togglePick(key: string): void;
|
|
112
|
+
choose(key: string, value: string): void;
|
|
113
|
+
private closePickSoon;
|
|
114
|
+
/** A prompt can't be used with a blank left empty: the blank says what it needs. */
|
|
115
|
+
use(): void;
|
|
116
|
+
undo(): void;
|
|
117
|
+
onKeydown(e: KeyboardEvent): void;
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PromptLibraryComponent, never>;
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PromptLibraryComponent, "vo-prompt-library", never, { "prompts": { "alias": "prompts"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "open": { "alias": "open"; "required": false; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; }; "values": { "alias": "values"; "required": false; }; "defaultValues": { "alias": "defaultValues"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, { "openChange": "openChange"; "valuesChange": "valuesChange"; "usePrompt": "usePrompt"; "undoUse": "undoUse"; }, never, never, true, never>;
|
|
120
|
+
}
|
|
121
|
+
export {};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { type VoIconName } from '../core/icon.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** Tone that colours a starter's icon. */
|
|
5
|
+
export type StarterTone = 'blue' | 'purple' | 'green' | 'orange' | 'red' | 'yellow' | 'pink' | 'teal';
|
|
6
|
+
/** One suggested starter card. */
|
|
7
|
+
export interface Starter {
|
|
8
|
+
icon: VoIconName;
|
|
9
|
+
/** Colours the icon. */
|
|
10
|
+
tone?: StarterTone;
|
|
11
|
+
/** A few words, like "Audit a page". */
|
|
12
|
+
title: string;
|
|
13
|
+
/** One quiet line under the title. */
|
|
14
|
+
description: string;
|
|
15
|
+
/** The full prompt it writes into the field when picked. */
|
|
16
|
+
prompt: string;
|
|
17
|
+
}
|
|
18
|
+
export declare class PromptStartersComponent implements OnChanges, OnDestroy {
|
|
19
|
+
/** The starters to show, two to a row. Pass a new set to stagger them in again. */
|
|
20
|
+
starters: Starter[];
|
|
21
|
+
/** The title of the picked starter. Leave it out to let the cards pick it. */
|
|
22
|
+
value?: string | null;
|
|
23
|
+
/** Initial picked title when value is uncontrolled. */
|
|
24
|
+
defaultValue: string | null;
|
|
25
|
+
placeholder: string;
|
|
26
|
+
/** Shown in the field once the prompt is sent. */
|
|
27
|
+
sentLabel: string;
|
|
28
|
+
/** Adds a Shuffle button under the field. */
|
|
29
|
+
set onShuffle(enabled: boolean);
|
|
30
|
+
/** Emitted with the picked starter's title, or null when cleared. */
|
|
31
|
+
valueChange: EventEmitter<string | null>;
|
|
32
|
+
/** Emitted with the prompt when Send is pressed. */
|
|
33
|
+
send$: EventEmitter<string>;
|
|
34
|
+
/** Emitted when Shuffle is pressed; swap in another set of starters. */
|
|
35
|
+
shuffle: EventEmitter<void>;
|
|
36
|
+
private readonly motion;
|
|
37
|
+
hasShuffle: boolean;
|
|
38
|
+
/** The picked starter's title, or null. */
|
|
39
|
+
picked: string | null;
|
|
40
|
+
/** The field's current content, or null when empty. */
|
|
41
|
+
field: {
|
|
42
|
+
words: string[];
|
|
43
|
+
sent: boolean;
|
|
44
|
+
} | null;
|
|
45
|
+
/** How many words have been typed so far. */
|
|
46
|
+
typed: number;
|
|
47
|
+
private controlled;
|
|
48
|
+
private timer?;
|
|
49
|
+
private shownKey;
|
|
50
|
+
get visibleWords(): string[];
|
|
51
|
+
get ready(): boolean;
|
|
52
|
+
toneColor(tone?: StarterTone): string | null;
|
|
53
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
54
|
+
pick(s: Starter): void;
|
|
55
|
+
send(): void;
|
|
56
|
+
private setPicked;
|
|
57
|
+
private applyPicked;
|
|
58
|
+
private fill;
|
|
59
|
+
private typeNext;
|
|
60
|
+
private clearField;
|
|
61
|
+
private stopTyping;
|
|
62
|
+
ngOnDestroy(): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PromptStartersComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PromptStartersComponent, "vo-prompt-starters", never, { "starters": { "alias": "starters"; "required": false; }; "value": { "alias": "value"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "sentLabel": { "alias": "sentLabel"; "required": false; }; "onShuffle": { "alias": "onShuffle"; "required": false; }; }, { "valueChange": "valueChange"; "send$": "send$"; "shuffle": "shuffle"; }, never, never, true, never>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { type VoIconName } from '../core/icon.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** Colours the tag after a value. */
|
|
5
|
+
export type ProposalTone = 'ok' | 'warn' | 'bad';
|
|
6
|
+
/** One side of the change: a swatch, its value and a tag, like #C9CFD8 with "2.1 : 1". */
|
|
7
|
+
export interface ProposalValue {
|
|
8
|
+
/** Any CSS colour, shown in the swatch. */
|
|
9
|
+
color: string;
|
|
10
|
+
/** Like "#C9CFD8". */
|
|
11
|
+
label: string;
|
|
12
|
+
/** A short tag after the value, like a contrast ratio. */
|
|
13
|
+
badge?: string;
|
|
14
|
+
/** Colours the tag. The current value defaults to bad, the options to ok. */
|
|
15
|
+
tone?: ProposalTone;
|
|
16
|
+
}
|
|
17
|
+
/** A change the agent can make. The first one is its suggestion, the others show under "other options". */
|
|
18
|
+
export interface ProposalOption extends ProposalValue {
|
|
19
|
+
/** Like "Suggested" or "Darker". */
|
|
20
|
+
name: string;
|
|
21
|
+
/** The quiet line beside it in the list, like "Balanced with the primary". */
|
|
22
|
+
description?: string;
|
|
23
|
+
/** How sure the agent is, 0 to 100. */
|
|
24
|
+
confidence: number;
|
|
25
|
+
}
|
|
26
|
+
/** open, accepted or dismissed. */
|
|
27
|
+
export type ProposalStatus = 'open' | 'accepted' | 'dismissed';
|
|
28
|
+
export declare class ProposalCardComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
29
|
+
/** What the agent wants to change. */
|
|
30
|
+
title: string;
|
|
31
|
+
/** Where, like "Pricing, frame 2 of 3". */
|
|
32
|
+
subtitle?: string;
|
|
33
|
+
/** The icon in the orange tile. Defaults to a wand (substituted with 'spark'). */
|
|
34
|
+
icon: VoIconName;
|
|
35
|
+
/** How it is now. */
|
|
36
|
+
from: ProposalValue;
|
|
37
|
+
/** The changes on offer, the agent's pick first. */
|
|
38
|
+
options: ProposalOption[];
|
|
39
|
+
/** Index of the option shown as the change. Leave it out to let the list pick it. */
|
|
40
|
+
value?: number;
|
|
41
|
+
/** Defaults to 0, the agent's pick. */
|
|
42
|
+
defaultValue: number;
|
|
43
|
+
valueChange: EventEmitter<number>;
|
|
44
|
+
/** Whether the other options are listed. Leave it out to let their toggle open them. */
|
|
45
|
+
open?: boolean;
|
|
46
|
+
defaultOpen: boolean;
|
|
47
|
+
openChange: EventEmitter<boolean>;
|
|
48
|
+
/** open, accepted or dismissed. Leave it out to let Accept, Not now and Undo move it. */
|
|
49
|
+
status?: ProposalStatus;
|
|
50
|
+
defaultStatus: ProposalStatus;
|
|
51
|
+
statusChange: EventEmitter<ProposalStatus>;
|
|
52
|
+
/** Called with the chosen option when Accept is pressed. */
|
|
53
|
+
accepted: EventEmitter<{
|
|
54
|
+
option: ProposalOption;
|
|
55
|
+
index: number;
|
|
56
|
+
}>;
|
|
57
|
+
dismissed: EventEmitter<void>;
|
|
58
|
+
undone: EventEmitter<void>;
|
|
59
|
+
/** Shown once accepted, like "Applied to 3 buttons". */
|
|
60
|
+
acceptedLabel: string;
|
|
61
|
+
/** Shown once dismissed. */
|
|
62
|
+
dismissedLabel: string;
|
|
63
|
+
confidenceLabel: string;
|
|
64
|
+
/** Sits flat in a chat thread (the default). Set false to give it a card of its own. */
|
|
65
|
+
bare: boolean;
|
|
66
|
+
private readonly motion;
|
|
67
|
+
readonly segIndexes: number[];
|
|
68
|
+
private selInner;
|
|
69
|
+
private openInner;
|
|
70
|
+
private stateInner;
|
|
71
|
+
/** The tweened confidence shown in the meter, 0..100. */
|
|
72
|
+
conf: number;
|
|
73
|
+
picked: boolean;
|
|
74
|
+
private ready;
|
|
75
|
+
private readyTimer?;
|
|
76
|
+
private tweenRaf?;
|
|
77
|
+
get sel(): number;
|
|
78
|
+
get isOpen(): boolean;
|
|
79
|
+
get state(): ProposalStatus;
|
|
80
|
+
get roundConf(): number;
|
|
81
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
82
|
+
ngAfterViewInit(): void;
|
|
83
|
+
/** The chosen option, clamped to the list. */
|
|
84
|
+
opt(): ProposalOption | undefined;
|
|
85
|
+
/** The options other than the chosen one, with their list index and stagger key. */
|
|
86
|
+
others(): {
|
|
87
|
+
o: ProposalOption;
|
|
88
|
+
i: number;
|
|
89
|
+
k: number;
|
|
90
|
+
}[];
|
|
91
|
+
choose(i: number): void;
|
|
92
|
+
toggleOpen(): void;
|
|
93
|
+
accept(): void;
|
|
94
|
+
dismiss(): void;
|
|
95
|
+
undo(): void;
|
|
96
|
+
private setState;
|
|
97
|
+
private tweenTo;
|
|
98
|
+
ngOnDestroy(): void;
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProposalCardComponent, never>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProposalCardComponent, "vo-proposal-card", never, { "title": { "alias": "title"; "required": true; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "from": { "alias": "from"; "required": true; }; "options": { "alias": "options"; "required": true; }; "value": { "alias": "value"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "open": { "alias": "open"; "required": false; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; }; "status": { "alias": "status"; "required": false; }; "defaultStatus": { "alias": "defaultStatus"; "required": false; }; "acceptedLabel": { "alias": "acceptedLabel"; "required": false; }; "dismissedLabel": { "alias": "dismissedLabel"; "required": false; }; "confidenceLabel": { "alias": "confidenceLabel"; "required": false; }; "bare": { "alias": "bare"; "required": false; }; }, { "valueChange": "valueChange"; "openChange": "openChange"; "statusChange": "statusChange"; "accepted": "accepted"; "dismissed": "dismissed"; "undone": "undone"; }, never, never, true, never>;
|
|
101
|
+
}
|
package/public-api.d.ts
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export * from './core/icon.component';
|
|
2
|
+
export * from './core/reduced-motion.service';
|
|
3
|
+
export * from './account-table/account-table.component';
|
|
4
|
+
export * from './action-log/action-log.component';
|
|
5
|
+
export * from './activity-heatmap/activity-heatmap.component';
|
|
6
|
+
export * from './agent-inbox/agent-inbox.component';
|
|
7
|
+
export * from './agent-lanes/agent-lanes.component';
|
|
8
|
+
export * from './agent-phases/agent-phases.component';
|
|
9
|
+
export * from './agent-run-timeline/agent-run-timeline.component';
|
|
10
|
+
export * from './agent-tree/agent-tree.component';
|
|
11
|
+
export * from './answer-action-bar/answer-action-bar.component';
|
|
12
|
+
export * from './artifact-card/artifact-card.component';
|
|
13
|
+
export * from './attachment-tray/attachment-tray.component';
|
|
14
|
+
export * from './badge/badge.component';
|
|
15
|
+
export * from './bar-chart/bar-chart.component';
|
|
16
|
+
export * from './browser-session/browser-session.component';
|
|
17
|
+
export * from './buttons/buttons.component';
|
|
18
|
+
export * from './card/card.component';
|
|
19
|
+
export * from './change-review/change-review.component';
|
|
20
|
+
export * from './citation-hover-card/citation-hover-card.component';
|
|
21
|
+
export * from './code-viewer/code-viewer.component';
|
|
22
|
+
export * from './composer/composer.component';
|
|
23
|
+
export * from './context-meter/context-meter.component';
|
|
24
|
+
export * from './decision-prompt/decision-prompt.component';
|
|
25
|
+
export * from './design-review/design-review.component';
|
|
26
|
+
export * from './design-tuner/design-tuner.component';
|
|
27
|
+
export * from './details-panel/details-panel.component';
|
|
28
|
+
export * from './donut-chart/donut-chart.component';
|
|
29
|
+
export * from './draft-review/draft-review.component';
|
|
30
|
+
export * from './error-recovery/error-recovery.component';
|
|
31
|
+
export * from './eval-results/eval-results.component';
|
|
32
|
+
export * from './feedback-sheet/feedback-sheet.component';
|
|
33
|
+
export * from './field-extraction/field-extraction.component';
|
|
34
|
+
export * from './funnel-chart/funnel-chart.component';
|
|
35
|
+
export * from './grid/grid.component';
|
|
36
|
+
export * from './health-score/health-score.component';
|
|
37
|
+
export * from './human-handoff/human-handoff.component';
|
|
38
|
+
export * from './image-generation/image-generation.component';
|
|
39
|
+
export * from './inline-text-diff/inline-text-diff.component';
|
|
40
|
+
export * from './launch-checklist/launch-checklist.component';
|
|
41
|
+
export * from './line-chart/line-chart.component';
|
|
42
|
+
export * from './live-answer/live-answer.component';
|
|
43
|
+
export * from './metric-insight/metric-insight.component';
|
|
44
|
+
export * from './modal/modal.component';
|
|
45
|
+
export * from './model-picker/model-picker.component';
|
|
46
|
+
export * from './permission-gate/permission-gate.component';
|
|
47
|
+
export * from './plan-review/plan-review.component';
|
|
48
|
+
export * from './progress/progress.component';
|
|
49
|
+
export * from './prompt-library/prompt-library.component';
|
|
50
|
+
export * from './prompt-starters/prompt-starters.component';
|
|
51
|
+
export * from './proposal-card/proposal-card.component';
|
|
52
|
+
export * from './radar-chart/radar-chart.component';
|
|
53
|
+
export * from './radial-goals/radial-goals.component';
|
|
54
|
+
export * from './reasoning-trail/reasoning-trail.component';
|
|
55
|
+
export * from './response-versions/response-versions.component';
|
|
56
|
+
export * from './rewrite-toolbar/rewrite-toolbar.component';
|
|
57
|
+
export * from './rich-text-editor/rich-text-editor.component';
|
|
58
|
+
export * from './run-cost/run-cost.component';
|
|
59
|
+
export * from './run-queue/run-queue.component';
|
|
60
|
+
export * from './run-summary/run-summary.component';
|
|
61
|
+
export * from './scatter-chart/scatter-chart.component';
|
|
62
|
+
export * from './score-breakdown/score-breakdown.component';
|
|
63
|
+
export * from './segmented-control/segmented-control.component';
|
|
64
|
+
export * from './source-stack/source-stack.component';
|
|
65
|
+
export * from './stat-cards/stat-cards.component';
|
|
66
|
+
export * from './status-pill/status-pill.component';
|
|
67
|
+
export * from './steering/steering.component';
|
|
68
|
+
export * from './step-loader/step-loader.component';
|
|
69
|
+
export * from './task-table/task-table.component';
|
|
70
|
+
export * from './terminal-stream/terminal-stream.component';
|
|
71
|
+
export * from './thinking/thinking.component';
|
|
72
|
+
export * from './thinking-states/thinking-states.component';
|
|
73
|
+
export * from './thread-panel/thread-panel.component';
|
|
74
|
+
export * from './toast/toast.component';
|
|
75
|
+
export * from './toast-stack/toast-stack.component';
|
|
76
|
+
export * from './tool-call/tool-call.component';
|
|
77
|
+
export * from './tooltip/tooltip.component';
|
|
78
|
+
export * from './top-pages/top-pages.component';
|
|
79
|
+
export * from './trace-view/trace-view.component';
|
|
80
|
+
export * from './voice-capture/voice-capture.component';
|
|
81
|
+
export * from './voice-orb/voice-orb.component';
|
|
82
|
+
export * from './web-search/web-search.component';
|