@feedmepos/mf-remy-panel 0.8.2 → 0.9.0-dev.2
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/dist/{HomeView-ac59cc20.js → HomeView-6b09f343.js} +1 -1
- package/dist/{RemyButton-0172ccf0.js → RemyButton-f55f8d78.js} +1 -1
- package/dist/api/exports.d.ts +18 -0
- package/dist/api/messages.d.ts +0 -1
- package/dist/{app-2d2542ae.js → app-fdf782a9.js} +12447 -8017
- package/dist/app.js +1 -1
- package/dist/components/chatPanel/ChartCard.vue.d.ts +25 -3
- package/dist/components/chatPanel/actionCards/ExportCard.vue.d.ts +69 -0
- package/dist/components/chatPanel/actionCards/ExportDocxCard.vue.d.ts +15 -0
- package/dist/components/chatPanel/actionCards/ExportExcelCard.vue.d.ts +15 -0
- package/dist/components/expandedPanel/AllSessionsSubpage.vue.d.ts +2 -0
- package/dist/components/expandedPanel/ExpandedRemyPanel.vue.d.ts +2 -0
- package/dist/components/expandedPanel/PreviewSubpage.vue.d.ts +2 -0
- package/dist/stores/previewStore.d.ts +542 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/chat.d.ts +75 -0
- package/package.json +3 -1
package/dist/app.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { C as o, A as p, b as m, i as n, c as u, r as C, u as l, a as A } from "./app-
|
|
2
|
+
import { C as o, A as p, b as m, i as n, c as u, r as C, u as l, a as A } from "./app-fdf782a9.js";
|
|
3
3
|
import "pinia";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
import "vue-router";
|
|
@@ -1,8 +1,30 @@
|
|
|
1
|
-
import type { ToolCall } from '@/types/chat';
|
|
1
|
+
import type { ToolCall, ChartActionCardResult } from '@/types/chat';
|
|
2
2
|
interface Props {
|
|
3
|
-
|
|
3
|
+
/** Direct chart config (report artifact contexts — ExportDocxCard, PreviewSubpage) */
|
|
4
|
+
chartConfig?: ChartActionCardResult;
|
|
5
|
+
/** Live tool call (inline chat and subagent report contexts — ChatMessageAssistant, ReportCard) */
|
|
6
|
+
toolCall?: ToolCall;
|
|
4
7
|
}
|
|
5
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Captures the chart as a PNG at a fixed wide export size regardless of the
|
|
10
|
+
* current container width. This prevents the DOCX from embedding a near-square
|
|
11
|
+
* image when the chart is rendered in a narrow chat panel card.
|
|
12
|
+
*
|
|
13
|
+
* Target sizes match the SVG fallback dimensions × 2 (high-DPI):
|
|
14
|
+
* bar / line → 1160 × 580 (2 : 1)
|
|
15
|
+
* pie → 1160 × 620 (same ratio as SVG 580 × 310)
|
|
16
|
+
*
|
|
17
|
+
* The resize + capture + restore all happen synchronously, so the browser never
|
|
18
|
+
* paints the intermediate state — there is no visible flicker.
|
|
19
|
+
*/
|
|
20
|
+
declare function toDataURL(): {
|
|
21
|
+
dataUrl: string;
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
} | null;
|
|
25
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {
|
|
26
|
+
toDataURL: typeof toDataURL;
|
|
27
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
28
|
export default _default;
|
|
7
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
30
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared layered export card used by ExportDocxCard and ExportExcelCard.
|
|
3
|
+
*
|
|
4
|
+
* Slots:
|
|
5
|
+
* #sheet — content inside the floating document sheet
|
|
6
|
+
*
|
|
7
|
+
* Props:
|
|
8
|
+
* variant — 'docx' (blue) | 'excel' (green) — drives all theme colors
|
|
9
|
+
* title — document title shown in footer
|
|
10
|
+
* meta — secondary label, e.g. "12 rows" or "5 sections"
|
|
11
|
+
* badgeText — pill label, e.g. "DOCX" or "XLSX"
|
|
12
|
+
* downloadLabel — tooltip for the download button
|
|
13
|
+
* downloading — whether download is in progress (shows spinner)
|
|
14
|
+
*
|
|
15
|
+
* Emits:
|
|
16
|
+
* download — user clicked the download button
|
|
17
|
+
*/
|
|
18
|
+
interface Props {
|
|
19
|
+
variant?: 'docx' | 'excel';
|
|
20
|
+
title: string;
|
|
21
|
+
meta: string;
|
|
22
|
+
badgeText: string;
|
|
23
|
+
downloadLabel?: string;
|
|
24
|
+
downloading?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
27
|
+
variant: string;
|
|
28
|
+
downloadLabel: string;
|
|
29
|
+
downloading: boolean;
|
|
30
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
download: () => void;
|
|
32
|
+
expand: () => void;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
34
|
+
variant: string;
|
|
35
|
+
downloadLabel: string;
|
|
36
|
+
downloading: boolean;
|
|
37
|
+
}>>> & Readonly<{
|
|
38
|
+
onDownload?: (() => any) | undefined;
|
|
39
|
+
onExpand?: (() => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
variant: "excel" | "docx";
|
|
42
|
+
downloadLabel: string;
|
|
43
|
+
downloading: boolean;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
45
|
+
sheet?(_: {}): any;
|
|
46
|
+
}>;
|
|
47
|
+
export default _default;
|
|
48
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
50
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
+
} : {
|
|
53
|
+
type: import('vue').PropType<T[K]>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
type __VLS_WithDefaults<P, D> = {
|
|
58
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
59
|
+
default: D[K];
|
|
60
|
+
}> : P[K];
|
|
61
|
+
};
|
|
62
|
+
type __VLS_Prettify<T> = {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} & {};
|
|
65
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ToolCall } from '@/types/chat';
|
|
2
|
+
interface Props {
|
|
3
|
+
toolCall: ToolCall;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ToolCall } from '@/types/chat';
|
|
2
|
+
interface Props {
|
|
3
|
+
toolCall: ToolCall;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|