@elementor/angie-sdk 1.4.4 → 1.4.5

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.
@@ -7,6 +7,10 @@ type PromptSuggestion = {
7
7
  label: string;
8
8
  value: string;
9
9
  };
10
+ export type ModeSwitcherConfig = {
11
+ enabled?: boolean;
12
+ default?: 'agent' | 'plan' | 'ask';
13
+ };
10
14
  export type WidgetConfig = {
11
15
  title?: string;
12
16
  subtitle?: string;
@@ -17,6 +21,8 @@ export type WidgetConfig = {
17
21
  fileUpload?: FeatureToggle;
18
22
  feedback?: FeatureToggle;
19
23
  featuredMcpServer?: string;
24
+ modeSwitcher?: ModeSwitcherConfig;
25
+ closeButton?: 'collapse' | 'close';
20
26
  };
21
27
  export type AngieMcpSdkOptions = {
22
28
  origin?: string;
@@ -25,6 +31,7 @@ export type AngieMcpSdkOptions = {
25
31
  containerId?: string;
26
32
  skipDefaultCss?: boolean;
27
33
  widgetConfig?: WidgetConfig;
34
+ path?: string;
28
35
  };
29
36
  export declare class AngieMcpSdk {
30
37
  private angieDetector;
package/dist/iframe.d.ts CHANGED
@@ -2,7 +2,9 @@ type OpenIframeProps = {
2
2
  origin?: string;
3
3
  uiTheme: string;
4
4
  isRTL: boolean;
5
+ path?: string;
5
6
  };
7
+ export declare const isValidPath: (path: string) => boolean;
6
8
  export declare const disableNavigationPrevention: () => Promise<void>;
7
9
  export declare const openIframe: (props: OpenIframeProps) => Promise<void>;
8
10
  export {};