@feedmepos/mf-remy-panel 0.18.0-dev.2 → 0.18.0-dev.3
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-fbd72b13.js → HomeView-70f9570b.js} +1 -1
- package/dist/{RemyButton-5b12ce35.js → RemyButton-3538eab4.js} +1 -1
- package/dist/{app-6f2e143c.js → app-a9672762.js} +5724 -5589
- package/dist/app.d.ts +2 -0
- package/dist/app.js +1 -1
- package/dist/bootstrap/remy.d.ts +4 -2
- package/dist/context/pageContext.d.ts +13 -0
- package/dist/stores/chatStore.d.ts +2 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/app.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { ChatMessage, ToolCall } from './types/chat';
|
|
2
|
+
export type { PageContextProvider, PageContextScalar, PageContextStateValue, PortalPageContext } from './context/pageContext';
|
|
3
|
+
export type { RemyChatOptions } from './bootstrap/remy';
|
|
2
4
|
export { useAppStore } from './stores/appStore';
|
|
3
5
|
export { useClientEvent } from './composables/useClientEvent';
|
|
4
6
|
export { default as FmApp } from './App.vue';
|
package/dist/app.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { C as o, A as p, c as m, i as n, d as u, r as C, u as l, b as A } from "./app-
|
|
2
|
+
import { C as o, A as p, c as m, i as n, d as u, r as C, u as l, b as A } from "./app-a9672762.js";
|
|
3
3
|
import "pinia";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
import "vue-router";
|
package/dist/bootstrap/remy.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
type
|
|
1
|
+
import { type PageContextProvider } from '@/context/pageContext';
|
|
2
|
+
export type RemyChatOptions = {
|
|
2
3
|
backendUrl?: string;
|
|
3
4
|
licenseApiUrl?: string;
|
|
5
|
+
/** Optional host adapter for selected tabs, entities or filters. Read once per send. */
|
|
6
|
+
getPageContext?: PageContextProvider;
|
|
4
7
|
};
|
|
5
8
|
export declare function initializeRemyChat(options?: RemyChatOptions): Promise<void>;
|
|
6
9
|
export declare function initializeRemyChat(backendUrl?: string, licenseApiUrl?: string): Promise<void>;
|
|
7
|
-
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type PageContextScalar = string | number | boolean;
|
|
2
|
+
export type PageContextStateValue = PageContextScalar | PageContextScalar[];
|
|
3
|
+
export interface PortalPageContext {
|
|
4
|
+
path: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
heading?: string;
|
|
7
|
+
state?: Record<string, PageContextStateValue>;
|
|
8
|
+
}
|
|
9
|
+
export type PageContextProvider = () => Partial<PortalPageContext> | null | undefined;
|
|
10
|
+
export declare function sanitizePortalPageContext(value: unknown): PortalPageContext | null;
|
|
11
|
+
export declare function setPageContextProvider(provider?: PageContextProvider): void;
|
|
12
|
+
/** Capture a bounded snapshot when the user presses Send, never at app startup. */
|
|
13
|
+
export declare function capturePortalPageContext(): PortalPageContext | null;
|