@inkeep/cxkit-primitives 0.5.36 → 0.5.37
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/components/embedded-chat/use-inkeep-chat.cjs +3 -3
- package/dist/components/embedded-chat/use-inkeep-chat.js +138 -143
- package/dist/components/embedded-chat.cjs +2 -2
- package/dist/components/embedded-chat.js +306 -306
- package/dist/components/intelligent-form/actions/escalation-schema.cjs +1 -1
- package/dist/components/intelligent-form/actions/escalation-schema.js +1 -2
- package/dist/index.d.cts +9 -81
- package/dist/index.d.ts +9 -81
- package/dist/providers/base-events-provider.cjs +1 -1
- package/dist/providers/base-events-provider.js +1 -1
- package/dist/providers/config-provider.cjs +1 -1
- package/dist/providers/config-provider.js +15 -15
- package/dist/utils/component-ids.cjs +1 -1
- package/dist/utils/component-ids.js +1 -1
- package/dist/utils/default-settings.cjs +1 -1
- package/dist/utils/default-settings.js +7 -21
- package/dist/utils/tools/{links-schema.cjs → links-tool.cjs} +1 -1
- package/dist/utils/tools/{links-schema.js → links-tool.js} +13 -4
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={type:"object",properties:{aiAnnotations:{type:"object",properties:{answerConfidence:{anyOf:[{type:"string",const:"very_confident",description:"Very confident"},{type:"string",const:"somewhat_confident",description:"Somewhat confident"},{type:"string",const:"not_confident",description:"Not confident"},{type:"string",const:"no_sources",description:"No Sources"},{type:"string",const:"other",description:"Other"}]}},required:["answerConfidence"],additionalProperties:!0}},required:["aiAnnotations"],additionalProperties:!1
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={type:"object",properties:{aiAnnotations:{type:"object",properties:{answerConfidence:{anyOf:[{type:"string",const:"very_confident",description:"Very confident"},{type:"string",const:"somewhat_confident",description:"Somewhat confident"},{type:"string",const:"not_confident",description:"Not confident"},{type:"string",const:"no_sources",description:"No Sources"},{type:"string",const:"other",description:"Other"}]}},required:["answerConfidence"],additionalProperties:!0}},required:["aiAnnotations"],additionalProperties:!1};exports.escalationSchema=e;
|
package/dist/index.d.cts
CHANGED
|
@@ -133,7 +133,7 @@ export declare const aiChatComponentIds: {
|
|
|
133
133
|
aiChatMessageAttachmentsPreview__Close: "aiChatMessageAttachmentsPreview__Close";
|
|
134
134
|
aiChatMessageAttachmentsPreview__Body: "aiChatMessageAttachmentsPreview__Body";
|
|
135
135
|
aiChatMessage: "aiChatMessage";
|
|
136
|
-
|
|
136
|
+
aiChatMessageToolbar: "aiChatMessageToolbar";
|
|
137
137
|
aiChatMessageToolActions: "aiChatMessageToolActions";
|
|
138
138
|
aiChatMessageToolAction: "aiChatMessageToolAction";
|
|
139
139
|
aiChatMessageAction: "aiChatMessageAction";
|
|
@@ -629,7 +629,7 @@ export declare const componentIDs: {
|
|
|
629
629
|
aiChatMessageAttachmentsPreview__Close: "aiChatMessageAttachmentsPreview__Close";
|
|
630
630
|
aiChatMessageAttachmentsPreview__Body: "aiChatMessageAttachmentsPreview__Body";
|
|
631
631
|
aiChatMessage: "aiChatMessage";
|
|
632
|
-
|
|
632
|
+
aiChatMessageToolbar: "aiChatMessageToolbar";
|
|
633
633
|
aiChatMessageToolActions: "aiChatMessageToolActions";
|
|
634
634
|
aiChatMessageToolAction: "aiChatMessageToolAction";
|
|
635
635
|
aiChatMessageAction: "aiChatMessageAction";
|
|
@@ -826,78 +826,6 @@ declare const defaultInkeepAIChatSettings: {
|
|
|
826
826
|
copyChat: string;
|
|
827
827
|
};
|
|
828
828
|
prompts: never[];
|
|
829
|
-
tools: {
|
|
830
|
-
type: "function";
|
|
831
|
-
function: {
|
|
832
|
-
name: string;
|
|
833
|
-
description: string;
|
|
834
|
-
parameters: {
|
|
835
|
-
type: string;
|
|
836
|
-
properties: {
|
|
837
|
-
links: {
|
|
838
|
-
anyOf: ({
|
|
839
|
-
type: string;
|
|
840
|
-
items: {
|
|
841
|
-
type: string;
|
|
842
|
-
properties: {
|
|
843
|
-
label: {
|
|
844
|
-
type: string[];
|
|
845
|
-
};
|
|
846
|
-
url: {
|
|
847
|
-
type: string;
|
|
848
|
-
};
|
|
849
|
-
title: {
|
|
850
|
-
type: string[];
|
|
851
|
-
};
|
|
852
|
-
description: {
|
|
853
|
-
type: string[];
|
|
854
|
-
};
|
|
855
|
-
type: {
|
|
856
|
-
anyOf: ({
|
|
857
|
-
anyOf: ({
|
|
858
|
-
type: string;
|
|
859
|
-
enum: string[];
|
|
860
|
-
} | {
|
|
861
|
-
type: string;
|
|
862
|
-
enum?: undefined;
|
|
863
|
-
})[];
|
|
864
|
-
type?: undefined;
|
|
865
|
-
} | {
|
|
866
|
-
type: string;
|
|
867
|
-
anyOf?: undefined;
|
|
868
|
-
})[];
|
|
869
|
-
};
|
|
870
|
-
breadcrumbs: {
|
|
871
|
-
anyOf: ({
|
|
872
|
-
type: string;
|
|
873
|
-
items: {
|
|
874
|
-
type: string;
|
|
875
|
-
};
|
|
876
|
-
} | {
|
|
877
|
-
type: string;
|
|
878
|
-
items?: undefined;
|
|
879
|
-
})[];
|
|
880
|
-
};
|
|
881
|
-
};
|
|
882
|
-
required: string[];
|
|
883
|
-
additionalProperties: boolean;
|
|
884
|
-
};
|
|
885
|
-
} | {
|
|
886
|
-
type: string;
|
|
887
|
-
items?: undefined;
|
|
888
|
-
})[];
|
|
889
|
-
};
|
|
890
|
-
text: {
|
|
891
|
-
type: string;
|
|
892
|
-
};
|
|
893
|
-
};
|
|
894
|
-
required: string[];
|
|
895
|
-
additionalProperties: boolean;
|
|
896
|
-
$schema: string;
|
|
897
|
-
};
|
|
898
|
-
};
|
|
899
|
-
}[];
|
|
900
|
-
onToolCall: (_toolCall: any) => undefined;
|
|
901
829
|
};
|
|
902
830
|
|
|
903
831
|
declare type DefaultInkeepBaseSettings = typeof defaultInkeepBaseSettings;
|
|
@@ -1250,7 +1178,7 @@ export declare namespace EmbeddedChatPrimitive {
|
|
|
1250
1178
|
EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
|
|
1251
1179
|
EmbeddedChatPrimitiveMessageProps,
|
|
1252
1180
|
EmbeddedChatPrimitiveMessage,
|
|
1253
|
-
|
|
1181
|
+
EmbeddedChatPrimitiveMessageToolbar,
|
|
1254
1182
|
EmbeddedChatPrimitiveMessageToolActionsProps,
|
|
1255
1183
|
EmbeddedChatPrimitiveMessageToolActions,
|
|
1256
1184
|
EmbeddedChatPrimitiveMessageToolActionProps,
|
|
@@ -1441,7 +1369,7 @@ export declare namespace EmbeddedChatPrimitive {
|
|
|
1441
1369
|
EmbeddedChatPrimitiveMessageAttachmentsPreviewClose as MessageAttachmentsPreviewClose,
|
|
1442
1370
|
EmbeddedChatPrimitiveMessageAttachmentsPreviewBody as MessageAttachmentsPreviewBody,
|
|
1443
1371
|
EmbeddedChatPrimitiveMessage as Message,
|
|
1444
|
-
|
|
1372
|
+
EmbeddedChatPrimitiveMessageToolbar as MessageToolbar,
|
|
1445
1373
|
EmbeddedChatPrimitiveMessageToolActions as MessageToolActions,
|
|
1446
1374
|
EmbeddedChatPrimitiveMessageToolAction as MessageToolAction,
|
|
1447
1375
|
EmbeddedChatPrimitiveMessageAction as MessageAction,
|
|
@@ -1873,8 +1801,6 @@ declare interface EmbeddedChatPrimitiveMessageActionProps extends ComponentProps
|
|
|
1873
1801
|
action: MessageAction;
|
|
1874
1802
|
}
|
|
1875
1803
|
|
|
1876
|
-
declare const EmbeddedChatPrimitiveMessageActions: (props: ComponentPropsWithRef<typeof PrimitiveMessageActions>) => JSX.Element | null;
|
|
1877
|
-
|
|
1878
1804
|
declare const EmbeddedChatPrimitiveMessageAttachments: (props: ComponentPropsWithRef<typeof PrimitiveMessageAttachments>) => JSX.Element | null;
|
|
1879
1805
|
|
|
1880
1806
|
declare const EmbeddedChatPrimitiveMessageAttachmentsItem: (props: EmbeddedChatPrimitiveMessageAttachmentsItemProps) => JSX.Element;
|
|
@@ -1987,6 +1913,8 @@ declare interface EmbeddedChatPrimitiveMessageToolActionsProps extends Omit<Comp
|
|
|
1987
1913
|
children: React.ReactNode | ((actions: ToolCallAction[]) => React.ReactNode);
|
|
1988
1914
|
}
|
|
1989
1915
|
|
|
1916
|
+
declare const EmbeddedChatPrimitiveMessageToolbar: (props: ComponentPropsWithRef<typeof PrimitiveMessageToolbar>) => JSX.Element | null;
|
|
1917
|
+
|
|
1990
1918
|
declare const EmbeddedChatPrimitiveMessageWrapper: (props: EmbeddedChatPrimitiveMessageWrapperProps) => JSX.Element | null;
|
|
1991
1919
|
|
|
1992
1920
|
declare interface EmbeddedChatPrimitiveMessageWrapperProps extends ComponentPropsWithRef<typeof PrimitiveMessageWrapper> {
|
|
@@ -3147,8 +3075,6 @@ declare const PrimitiveMessage: ForwardRefExoticComponent< PolymorphicProps & Om
|
|
|
3147
3075
|
|
|
3148
3076
|
declare const PrimitiveMessageAction: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "_id"> & Partial<Pick< DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "_id">>>;
|
|
3149
3077
|
|
|
3150
|
-
declare const PrimitiveMessageActions: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3151
|
-
|
|
3152
3078
|
declare const PrimitiveMessageAttachments: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3153
3079
|
|
|
3154
3080
|
declare const PrimitiveMessageAttachmentsItem: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
@@ -3221,6 +3147,8 @@ declare const PrimitiveMessageSources: ForwardRefExoticComponent< PolymorphicPro
|
|
|
3221
3147
|
|
|
3222
3148
|
declare const PrimitiveMessageSourcesHeader: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3223
3149
|
|
|
3150
|
+
declare const PrimitiveMessageToolbar: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3151
|
+
|
|
3224
3152
|
declare const PrimitiveMessageWrapper: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3225
3153
|
|
|
3226
3154
|
declare const PrimitiveModal: (props: PrimitiveModalProps) => JSX.Element;
|
|
@@ -3665,7 +3593,7 @@ declare const useInkeepChat: () => {
|
|
|
3665
3593
|
messageAttachments: MessageAttachment[];
|
|
3666
3594
|
setMessageAttachments: Dispatch<SetStateAction<MessageAttachment[]>>;
|
|
3667
3595
|
addAttachment: (attachment: MessageAttachment) => void;
|
|
3668
|
-
|
|
3596
|
+
messageButtons: Record<string, ToolCallAction[]>;
|
|
3669
3597
|
isEmpty: boolean;
|
|
3670
3598
|
inputRef: RefObject<HTMLTextAreaElement | null>;
|
|
3671
3599
|
isMobile: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ export declare const aiChatComponentIds: {
|
|
|
133
133
|
aiChatMessageAttachmentsPreview__Close: "aiChatMessageAttachmentsPreview__Close";
|
|
134
134
|
aiChatMessageAttachmentsPreview__Body: "aiChatMessageAttachmentsPreview__Body";
|
|
135
135
|
aiChatMessage: "aiChatMessage";
|
|
136
|
-
|
|
136
|
+
aiChatMessageToolbar: "aiChatMessageToolbar";
|
|
137
137
|
aiChatMessageToolActions: "aiChatMessageToolActions";
|
|
138
138
|
aiChatMessageToolAction: "aiChatMessageToolAction";
|
|
139
139
|
aiChatMessageAction: "aiChatMessageAction";
|
|
@@ -629,7 +629,7 @@ export declare const componentIDs: {
|
|
|
629
629
|
aiChatMessageAttachmentsPreview__Close: "aiChatMessageAttachmentsPreview__Close";
|
|
630
630
|
aiChatMessageAttachmentsPreview__Body: "aiChatMessageAttachmentsPreview__Body";
|
|
631
631
|
aiChatMessage: "aiChatMessage";
|
|
632
|
-
|
|
632
|
+
aiChatMessageToolbar: "aiChatMessageToolbar";
|
|
633
633
|
aiChatMessageToolActions: "aiChatMessageToolActions";
|
|
634
634
|
aiChatMessageToolAction: "aiChatMessageToolAction";
|
|
635
635
|
aiChatMessageAction: "aiChatMessageAction";
|
|
@@ -826,78 +826,6 @@ declare const defaultInkeepAIChatSettings: {
|
|
|
826
826
|
copyChat: string;
|
|
827
827
|
};
|
|
828
828
|
prompts: never[];
|
|
829
|
-
tools: {
|
|
830
|
-
type: "function";
|
|
831
|
-
function: {
|
|
832
|
-
name: string;
|
|
833
|
-
description: string;
|
|
834
|
-
parameters: {
|
|
835
|
-
type: string;
|
|
836
|
-
properties: {
|
|
837
|
-
links: {
|
|
838
|
-
anyOf: ({
|
|
839
|
-
type: string;
|
|
840
|
-
items: {
|
|
841
|
-
type: string;
|
|
842
|
-
properties: {
|
|
843
|
-
label: {
|
|
844
|
-
type: string[];
|
|
845
|
-
};
|
|
846
|
-
url: {
|
|
847
|
-
type: string;
|
|
848
|
-
};
|
|
849
|
-
title: {
|
|
850
|
-
type: string[];
|
|
851
|
-
};
|
|
852
|
-
description: {
|
|
853
|
-
type: string[];
|
|
854
|
-
};
|
|
855
|
-
type: {
|
|
856
|
-
anyOf: ({
|
|
857
|
-
anyOf: ({
|
|
858
|
-
type: string;
|
|
859
|
-
enum: string[];
|
|
860
|
-
} | {
|
|
861
|
-
type: string;
|
|
862
|
-
enum?: undefined;
|
|
863
|
-
})[];
|
|
864
|
-
type?: undefined;
|
|
865
|
-
} | {
|
|
866
|
-
type: string;
|
|
867
|
-
anyOf?: undefined;
|
|
868
|
-
})[];
|
|
869
|
-
};
|
|
870
|
-
breadcrumbs: {
|
|
871
|
-
anyOf: ({
|
|
872
|
-
type: string;
|
|
873
|
-
items: {
|
|
874
|
-
type: string;
|
|
875
|
-
};
|
|
876
|
-
} | {
|
|
877
|
-
type: string;
|
|
878
|
-
items?: undefined;
|
|
879
|
-
})[];
|
|
880
|
-
};
|
|
881
|
-
};
|
|
882
|
-
required: string[];
|
|
883
|
-
additionalProperties: boolean;
|
|
884
|
-
};
|
|
885
|
-
} | {
|
|
886
|
-
type: string;
|
|
887
|
-
items?: undefined;
|
|
888
|
-
})[];
|
|
889
|
-
};
|
|
890
|
-
text: {
|
|
891
|
-
type: string;
|
|
892
|
-
};
|
|
893
|
-
};
|
|
894
|
-
required: string[];
|
|
895
|
-
additionalProperties: boolean;
|
|
896
|
-
$schema: string;
|
|
897
|
-
};
|
|
898
|
-
};
|
|
899
|
-
}[];
|
|
900
|
-
onToolCall: (_toolCall: any) => undefined;
|
|
901
829
|
};
|
|
902
830
|
|
|
903
831
|
declare type DefaultInkeepBaseSettings = typeof defaultInkeepBaseSettings;
|
|
@@ -1250,7 +1178,7 @@ export declare namespace EmbeddedChatPrimitive {
|
|
|
1250
1178
|
EmbeddedChatPrimitiveMessageAttachmentsPreviewBody,
|
|
1251
1179
|
EmbeddedChatPrimitiveMessageProps,
|
|
1252
1180
|
EmbeddedChatPrimitiveMessage,
|
|
1253
|
-
|
|
1181
|
+
EmbeddedChatPrimitiveMessageToolbar,
|
|
1254
1182
|
EmbeddedChatPrimitiveMessageToolActionsProps,
|
|
1255
1183
|
EmbeddedChatPrimitiveMessageToolActions,
|
|
1256
1184
|
EmbeddedChatPrimitiveMessageToolActionProps,
|
|
@@ -1441,7 +1369,7 @@ export declare namespace EmbeddedChatPrimitive {
|
|
|
1441
1369
|
EmbeddedChatPrimitiveMessageAttachmentsPreviewClose as MessageAttachmentsPreviewClose,
|
|
1442
1370
|
EmbeddedChatPrimitiveMessageAttachmentsPreviewBody as MessageAttachmentsPreviewBody,
|
|
1443
1371
|
EmbeddedChatPrimitiveMessage as Message,
|
|
1444
|
-
|
|
1372
|
+
EmbeddedChatPrimitiveMessageToolbar as MessageToolbar,
|
|
1445
1373
|
EmbeddedChatPrimitiveMessageToolActions as MessageToolActions,
|
|
1446
1374
|
EmbeddedChatPrimitiveMessageToolAction as MessageToolAction,
|
|
1447
1375
|
EmbeddedChatPrimitiveMessageAction as MessageAction,
|
|
@@ -1873,8 +1801,6 @@ declare interface EmbeddedChatPrimitiveMessageActionProps extends ComponentProps
|
|
|
1873
1801
|
action: MessageAction;
|
|
1874
1802
|
}
|
|
1875
1803
|
|
|
1876
|
-
declare const EmbeddedChatPrimitiveMessageActions: (props: ComponentPropsWithRef<typeof PrimitiveMessageActions>) => JSX.Element | null;
|
|
1877
|
-
|
|
1878
1804
|
declare const EmbeddedChatPrimitiveMessageAttachments: (props: ComponentPropsWithRef<typeof PrimitiveMessageAttachments>) => JSX.Element | null;
|
|
1879
1805
|
|
|
1880
1806
|
declare const EmbeddedChatPrimitiveMessageAttachmentsItem: (props: EmbeddedChatPrimitiveMessageAttachmentsItemProps) => JSX.Element;
|
|
@@ -1987,6 +1913,8 @@ declare interface EmbeddedChatPrimitiveMessageToolActionsProps extends Omit<Comp
|
|
|
1987
1913
|
children: React.ReactNode | ((actions: ToolCallAction[]) => React.ReactNode);
|
|
1988
1914
|
}
|
|
1989
1915
|
|
|
1916
|
+
declare const EmbeddedChatPrimitiveMessageToolbar: (props: ComponentPropsWithRef<typeof PrimitiveMessageToolbar>) => JSX.Element | null;
|
|
1917
|
+
|
|
1990
1918
|
declare const EmbeddedChatPrimitiveMessageWrapper: (props: EmbeddedChatPrimitiveMessageWrapperProps) => JSX.Element | null;
|
|
1991
1919
|
|
|
1992
1920
|
declare interface EmbeddedChatPrimitiveMessageWrapperProps extends ComponentPropsWithRef<typeof PrimitiveMessageWrapper> {
|
|
@@ -3147,8 +3075,6 @@ declare const PrimitiveMessage: ForwardRefExoticComponent< PolymorphicProps & Om
|
|
|
3147
3075
|
|
|
3148
3076
|
declare const PrimitiveMessageAction: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "_id"> & Partial<Pick< DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "_id">>>;
|
|
3149
3077
|
|
|
3150
|
-
declare const PrimitiveMessageActions: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3151
|
-
|
|
3152
3078
|
declare const PrimitiveMessageAttachments: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3153
3079
|
|
|
3154
3080
|
declare const PrimitiveMessageAttachmentsItem: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
@@ -3221,6 +3147,8 @@ declare const PrimitiveMessageSources: ForwardRefExoticComponent< PolymorphicPro
|
|
|
3221
3147
|
|
|
3222
3148
|
declare const PrimitiveMessageSourcesHeader: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3223
3149
|
|
|
3150
|
+
declare const PrimitiveMessageToolbar: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3151
|
+
|
|
3224
3152
|
declare const PrimitiveMessageWrapper: ForwardRefExoticComponent< PolymorphicProps & Omit< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id"> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "_id">>>;
|
|
3225
3153
|
|
|
3226
3154
|
declare const PrimitiveModal: (props: PrimitiveModalProps) => JSX.Element;
|
|
@@ -3665,7 +3593,7 @@ declare const useInkeepChat: () => {
|
|
|
3665
3593
|
messageAttachments: MessageAttachment[];
|
|
3666
3594
|
setMessageAttachments: Dispatch<SetStateAction<MessageAttachment[]>>;
|
|
3667
3595
|
addAttachment: (attachment: MessageAttachment) => void;
|
|
3668
|
-
|
|
3596
|
+
messageButtons: Record<string, ToolCallAction[]>;
|
|
3669
3597
|
isEmpty: boolean;
|
|
3670
3598
|
inputRef: RefObject<HTMLTextAreaElement | null>;
|
|
3671
3599
|
isMobile: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("react/jsx-runtime"),t=require("react"),y=require("../atoms/api/analytics/events.cjs"),B=require("./config-provider.cjs"),b=require("./user-provider.cjs"),p=t.createContext(void 0),f=({children:e})=>{const{baseSettings:s,componentType:n}=B.useInkeepConfig(),{apiKey:o,analyticsApiBaseUrl:r,tags:i,privacyPreferences:d,env:E}=s,{userProperties:c}=b.useUser(),a=t.useMemo(()=>({widgetLibraryVersion:"0.5.
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("react/jsx-runtime"),t=require("react"),y=require("../atoms/api/analytics/events.cjs"),B=require("./config-provider.cjs"),b=require("./user-provider.cjs"),p=t.createContext(void 0),f=({children:e})=>{const{baseSettings:s,componentType:n}=B.useInkeepConfig(),{apiKey:o,analyticsApiBaseUrl:r,tags:i,privacyPreferences:d,env:E}=s,{userProperties:c}=b.useUser(),a=t.useMemo(()=>({widgetLibraryVersion:"0.5.37",componentType:n,tags:i}),[n,i]),u=!d.optOutAllAnalytics&&E!=="development",g={logEvent:t.useCallback(async v=>{const m={...a,...v.properties},l={eventName:v.eventName,properties:m,userProperties:c};u&&y.logEvent(l,o,r),s.onEvent?.(l)},[u,s,o,r,c,a])};return P.jsx(p.Provider,{value:g,children:e})},x=()=>{const e=t.useContext(p);if(!e)throw new Error("useBaseEvents must be used within a BaseEventsProvider");return e};exports.BaseEventsProvider=f;exports.useBaseEvents=x;
|
|
@@ -7,7 +7,7 @@ import { useUser as b } from "./user-provider.js";
|
|
|
7
7
|
const m = x(void 0), U = ({ children: e }) => {
|
|
8
8
|
const { baseSettings: t, componentType: o } = C(), { apiKey: n, analyticsApiBaseUrl: s, tags: r, privacyPreferences: u, env: l } = t, { userProperties: i } = b(), a = d(
|
|
9
9
|
() => ({
|
|
10
|
-
widgetLibraryVersion: "0.5.
|
|
10
|
+
widgetLibraryVersion: "0.5.37",
|
|
11
11
|
componentType: o,
|
|
12
12
|
tags: r
|
|
13
13
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react/jsx-runtime"),p=require("merge-anything"),o=require("react"),n=require("../utils/default-settings.cjs"),f=require("../atoms/shadow/context.cjs"),s={ChatButton:"ChatButton",CustomTrigger:"CustomTrigger",SearchBar:"SearchBar",EmbeddedChat:"EmbeddedChat",EmbeddedSearch:"EmbeddedSearch",EmbeddedSearchAndChat:"EmbeddedSearchAndChat",IntelligentForm:"IntelligentForm"},a={prefix:"ikp",aiChatSettings:n.defaultInkeepAIChatSettings,baseSettings:n.defaultInkeepBaseSettings,searchSettings:n.defaultInkeepSearchSettings,componentType:s.EmbeddedChat},d=o.createContext(a),m=({children:e,value:i})=>{const c=f.useShadow(),g=(C,t,r)=>(r==="apiKey"&&!t&&!i?.baseSettings?.aiApiBaseUrl&&console.warn("Inkeep API key is missing."),["baseSettings","searchSettings","aiChatSettings"].includes(r)&&!t?C:t),u={baseSettings:c??{}},h=p.mergeAndCompare(g,a,u,i??{});return S.jsx(d.Provider,{value:h,children:e})},b=()=>{const e=o.useContext(d);if(!e)throw new Error("useInkeepConfig must be used within a ConfigProvider");return e};exports.InkeepConfigProvider=m;exports.WebWidgetInteractionType=s;exports.useInkeepConfig=b;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { mergeAndCompare as g } from "merge-anything";
|
|
4
|
-
import { createContext as m, useContext as
|
|
5
|
-
import { defaultInkeepSearchSettings as
|
|
4
|
+
import { createContext as m, useContext as h } from "react";
|
|
5
|
+
import { defaultInkeepSearchSettings as p, defaultInkeepBaseSettings as C, defaultInkeepAIChatSettings as f } from "../utils/default-settings.js";
|
|
6
6
|
import { useShadow as u } from "../atoms/shadow/context.js";
|
|
7
7
|
const S = {
|
|
8
8
|
ChatButton: "ChatButton",
|
|
@@ -12,26 +12,26 @@ const S = {
|
|
|
12
12
|
EmbeddedSearch: "EmbeddedSearch",
|
|
13
13
|
EmbeddedSearchAndChat: "EmbeddedSearchAndChat",
|
|
14
14
|
IntelligentForm: "IntelligentForm"
|
|
15
|
-
},
|
|
15
|
+
}, r = {
|
|
16
16
|
prefix: "ikp",
|
|
17
17
|
// Default prefix
|
|
18
18
|
aiChatSettings: f,
|
|
19
19
|
baseSettings: C,
|
|
20
|
-
searchSettings:
|
|
20
|
+
searchSettings: p,
|
|
21
21
|
componentType: S.EmbeddedChat
|
|
22
|
-
},
|
|
23
|
-
const
|
|
24
|
-
baseSettings:
|
|
25
|
-
},
|
|
26
|
-
return /* @__PURE__ */ c(
|
|
27
|
-
},
|
|
28
|
-
const
|
|
29
|
-
if (!
|
|
22
|
+
}, i = m(r), A = ({ children: e, value: n }) => {
|
|
23
|
+
const s = u(), a = g((d, t, o) => (o === "apiKey" && !t && !n?.baseSettings?.aiApiBaseUrl && console.warn("Inkeep API key is missing."), ["baseSettings", "searchSettings", "aiChatSettings"].includes(o) && !t ? d : t), r, {
|
|
24
|
+
baseSettings: s ?? {}
|
|
25
|
+
}, n ?? {});
|
|
26
|
+
return /* @__PURE__ */ c(i.Provider, { value: a, children: e });
|
|
27
|
+
}, B = () => {
|
|
28
|
+
const e = h(i);
|
|
29
|
+
if (!e)
|
|
30
30
|
throw new Error("useInkeepConfig must be used within a ConfigProvider");
|
|
31
|
-
return
|
|
31
|
+
return e;
|
|
32
32
|
};
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
A as InkeepConfigProvider,
|
|
35
35
|
S as WebWidgetInteractionType,
|
|
36
|
-
|
|
36
|
+
B as useInkeepConfig
|
|
37
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={icon:"icon",loadingIndicator__Text:"loadingIndicator__Text",loadingIndicator__Dots:"loadingIndicator__Dots",loadingIndicator__Dot:"loadingIndicator__Dot",view_toggle:"view_toggle",view_toggle_button:"view_toggle_button",view_toggle_icon:"view_toggle_icon"},a={codeblockContainer:"codeblockContainer",codeblockHeader:"codeblockHeader",codeblockHeaderLanguage:"codeblockHeaderLanguage",codeblockCopyButton:"codeblockCopyButton",codeblockHighlighterWrapper:"codeblockHighlighterWrapper",codeblockHighlighter:"codeblockHighlighter",codeblockCode:"codeblockCode",markdownH1:"markdownH1",markdownH2:"markdownH2",markdownP:"markdownP",markdownLi:"markdownLi",markdownUl:"markdownUl",markdownOl:"markdownOl",markdownLink:"markdownLink",markdownSourceLink:"markdownSourceLink",markdownTable:"markdownTable",markdownTh:"markdownTh",markdownTd:"markdownTd",markdownCode:"markdownCode",markdownInput:"markdownInput"},t={aiChatWrapper:"aiChatWrapper",aiChatConversationLoading:"aiChatConversationLoading",aiChatRoot:"aiChatRoot",aiChatHeader:"aiChatHeader",aiChatHeader__Toolbar:"aiChatHeader__Toolbar",aiChatHeader__ToolbarHeader:"aiChatHeader__ToolbarHeader",aiChatHeader__ToolbarHeaderWrapper:"aiChatHeader__ToolbarHeaderWrapper",aiChatContent:"aiChatContent",aiChatContentScrollArea:"aiChatContentScrollArea",aiChatContentScrollArea__Viewport:"aiChatContentScrollArea__Viewport",aiChatContentScrollArea__Scrollbar:"aiChatContentScrollArea__Scrollbar",aiChatContentScrollArea__Thumb:"aiChatContentScrollArea__Thumb",aiChatContentScrollArea__Corner:"aiChatContentScrollArea__Corner",aiChatDisclaimer:"aiChatDisclaimer",aiChatDisclaimerLabel:"aiChatDisclaimerLabel",aiChatDisclaimerTrigger:"aiChatDisclaimerTrigger",aiChatDisclaimerContent:"aiChatDisclaimerContent",aiChatDisclaimerText:"aiChatDisclaimerText",aiChatDisclaimerArrow:"aiChatDisclaimerArrow",aiChatExampleQuestions:"aiChatExampleQuestions",aiChatExampleQuestionsLabel:"aiChatExampleQuestionsLabel",aiChatExampleQuestionsList:"aiChatExampleQuestionsList",aiChatExampleQuestion:"aiChatExampleQuestion",aiChatExampleQuestionButton:"aiChatExampleQuestionButton",aiChatWorkflows:"aiChatWorkflows",aiChatWorkflowsLabel:"aiChatWorkflowsLabel",aiChatWorkflowsList:"aiChatWorkflowsList",aiChatWorkflow:"aiChatWorkflow",aiChatWorkflow__Icon:"aiChatWorkflow__Icon",aiChatMessages:"aiChatMessages",aiChatMessageWrapper:"aiChatMessageWrapper",aiChatMessageHeader:"aiChatMessageHeader",aiChatMessageLoading:"aiChatMessageLoading",aiChatMessageAvatar:"aiChatMessageAvatar",aiChatMessageAvatarFallback:"aiChatMessageAvatarFallback",aiChatMessageAvatarImage:"aiChatMessageAvatarImage",aiChatMessageAvatarContent:"aiChatMessageAvatarContent",aiChatMessageName:"aiChatMessageName",aiChatMessageContentWrapper:"aiChatMessageContentWrapper",aiChatMessageContent:"aiChatMessageContent",aiChatMessageAttachments:"aiChatMessageAttachments",aiChatMessageAttachments__List:"aiChatMessageAttachments__List",aiChatMessageAttachments__Item:"aiChatMessageAttachments__Item",aiChatMessageAttachments__ItemIcon:"aiChatMessageAttachments__ItemIcon",aiChatMessageAttachments__ItemTitle:"aiChatMessageAttachments__ItemTitle",aiChatMessageAttachmentsPreview:"aiChatMessageAttachmentsPreview",aiChatMessageAttachmentsPreview__Overlay:"aiChatMessageAttachmentsPreview__Overlay",aiChatMessageAttachmentsPreview__Content:"aiChatMessageAttachmentsPreview__Content",aiChatMessageAttachmentsPreview__Header:"aiChatMessageAttachmentsPreview__Header",aiChatMessageAttachmentsPreview__Close:"aiChatMessageAttachmentsPreview__Close",aiChatMessageAttachmentsPreview__Body:"aiChatMessageAttachmentsPreview__Body",aiChatMessage:"aiChatMessage",aiChatMessageActions:"aiChatMessageActions",aiChatMessageToolActions:"aiChatMessageToolActions",aiChatMessageToolAction:"aiChatMessageToolAction",aiChatMessageAction:"aiChatMessageAction",aiChatMessageSources:"aiChatMessageSources",aiChatMessageSources__Header:"aiChatMessageSources__Header",aiChatMessageSources__List:"aiChatMessageSources__List",aiChatMessageSourceItem:"aiChatMessageSourceItem",aiChatMessageSourceItem__Icon:"aiChatMessageSourceItem__Icon",aiChatMessageSourceItem__Breadcrumbs:"aiChatMessageSourceItem__Breadcrumbs",aiChatMessageSourceItem__Breadcrumb:"aiChatMessageSourceItem__Breadcrumb",aiChatMessageSourceItem__BreadcrumbIcon:"aiChatMessageSourceItem__BreadcrumbIcon",aiChatMessageSourceItem__Title:"aiChatMessageSourceItem__Title",aiChatMessageSourceItem__Tag:"aiChatMessageSourceItem__Tag",aiChatMessageSourceItem__Description:"aiChatMessageSourceItem__Description",aiChatMessageSourceItem__DescriptionPart:"aiChatMessageSourceItem__DescriptionPart",aiChatMessageSourceItem__Indicator:"aiChatMessageSourceItem__Indicator",aiChatFooter:"aiChatFooter",aiChatInput__Fieldset:"aiChatInput__Fieldset",aiChatInput__Group:"aiChatInput__Group",aiChatInput:"aiChatInput",aiChatInput__SendButton:"aiChatInput__SendButton",aiChatInput__SendButtonIcon:"aiChatInput__SendButtonIcon",aiChatAttachmentsBar:"aiChatAttachmentsBar",aiChatAttachmentsBar__List:"aiChatAttachmentsBar__List",aiChatAttachmentsBar__Attachment:"aiChatAttachmentsBar__Attachment",aiChatAttachmentsBar__AttachmentIcon:"aiChatAttachmentsBar__AttachmentIcon",aiChatAttachmentsBar__AttachmentTitle:"aiChatAttachmentsBar__AttachmentTitle",aiChatAttachmentsBar__AttachmentDelete:"aiChatAttachmentsBar__AttachmentDelete",aiChatAttachmentsBar__Actions:"aiChatAttachmentsBar__Actions",aiChatAttachmentsBar__InfoTip:"aiChatAttachmentsBar__InfoTip",aiChatAttachmentsBar__InfoTipIcon:"aiChatAttachmentsBar__InfoTipIcon",aiChatAttachmentsBar__InfoTipArrow:"aiChatAttachmentsBar__InfoTipArrow",aiChatAttachmentsBar__InfoTipText:"aiChatAttachmentsBar__InfoTipText",aiChatAttachmentsBar__Inputs:"aiChatAttachmentsBar__Inputs",aiChatAttachmentsBar__Input:"aiChatAttachmentsBar__Input",aiChatAttachmentsBar__InputIcon:"aiChatAttachmentsBar__InputIcon",aiChatAttachmentsBar__Modal:"aiChatAttachmentsBar__Modal",aiChatAttachmentsBar__ModalOverlay:"aiChatAttachmentsBar__ModalOverlay",aiChatAttachmentsBar__ModalContent:"aiChatAttachmentsBar__ModalContent",aiChatAttachmentsBar__ModalHeader:"aiChatAttachmentsBar__ModalHeader",aiChatAttachmentsBar__ModalClose:"aiChatAttachmentsBar__ModalClose",aiChatAttachmentsBar__ModalBody:"aiChatAttachmentsBar__ModalBody",aiChatAttachmentsBar__ModalHeading:"aiChatAttachmentsBar__ModalHeading",aiChatAttachmentsBar__ModalDescription:"aiChatAttachmentsBar__ModalDescription",aiChatAttachmentsBar__ModalHelp:"aiChatAttachmentsBar__ModalHelp",aiChatAttachmentsBar__Form:"aiChatAttachmentsBar__Form",aiChatAttachmentsBar__FormTitle:"aiChatAttachmentsBar__FormTitle",aiChatAttachmentsBar__FormTitleLabel:"aiChatAttachmentsBar__FormTitleLabel",aiChatAttachmentsBar__FormTitleInput:"aiChatAttachmentsBar__FormTitleInput",aiChatAttachmentsBar__FormTitleError:"aiChatAttachmentsBar__FormTitleError",aiChatAttachmentsBar__FormContent:"aiChatAttachmentsBar__FormContent",aiChatAttachmentsBar__FormContentLabel:"aiChatAttachmentsBar__FormContentLabel",aiChatAttachmentsBar__FormContentInput:"aiChatAttachmentsBar__FormContentInput",aiChatAttachmentsBar__FormContentError:"aiChatAttachmentsBar__FormContentError",aiChatAttachmentsBar__FormSubmitButton:"aiChatAttachmentsBar__FormSubmitButton",aiChatActionBar:"aiChatActionBar",aiChat__ChatActions:"aiChat__ChatActions",aiChat__ChatAction:"aiChat__ChatAction",aiChat__ChatActionLabel:"aiChat__ChatActionLabel",aiChat__ChatActionFeeback:"aiChat__ChatActionFeeback",aiChatHelpActions:"aiChatHelpActions",aiChatHelpAction:"aiChatHelpAction",aiChatHelpActions__Trigger:"aiChatHelpActions__Trigger",aiChatHelpActions__Menu:"aiChatHelpActions__Menu",aiChatHelpActions__MenuArrow:"aiChatHelpActions__MenuArrow",aiChatHelpActions__MenuItem:"aiChatHelpActions__MenuItem",aiChatHelpActions_MenuItemIcon:"aiChatHelpActions_MenuItemIcon",aiChatTagline__Container:"aiChatTagline__Container",aiChatTagline__Text:"aiChatTagline__Text",aiChatTagline__Logo:"aiChatTagline__Logo",aiChatTagline__BrandName:"aiChatTagline__BrandName",aiChatFeedbackModal:"aiChatFeedbackModal",aiChatFeedbackModal__Overlay:"aiChatFeedbackModal__Overlay",aiChatFeedbackModal__Content:"aiChatFeedbackModal__Content",aiChatFeedbackModal__Header:"aiChatFeedbackModal__Header",aiChatFeedbackModal__Close:"aiChatFeedbackModal__Close",aiChatFeedbackModal__Body:"aiChatFeedbackModal__Body",aiChatFeedbackForm:"aiChatFeedbackForm",aiChatFeedbackItem:"aiChatFeedbackItem",aiChatFeedbackItem__Checkbox:"aiChatFeedbackItem__Checkbox",aiChatFeedbackItem__CheckboxIndicator:"aiChatFeedbackItem__CheckboxIndicator",aiChatFeedbackItem__Label:"aiChatFeedbackItem__Label",aiChatFeedbackItem__Description:"aiChatFeedbackItem__Description",aiChatFeedbackForm__SubmitButton:"aiChatFeedbackForm__SubmitButton",aiChatForm__Wrapper:"aiChatForm__Wrapper",aiChatForm:"aiChatForm",aiChatForm__Close:"aiChatForm__Close",aiChatForm__Header:"aiChatForm__Header",aiChatForm__Heading:"aiChatForm__Heading",aiChatForm__Description:"aiChatForm__Description",aiChatForm__Content:"aiChatForm__Content",aiChatForm__Field:"aiChatForm__Field",aiChatForm__FieldLabel:"aiChatForm__FieldLabel",aiChatForm__FieldText:"aiChatForm__FieldText",aiChatForm__FieldEmail:"aiChatForm__FieldEmail",aiChatForm__FieldFile:"aiChatForm__FieldFile",aiChatForm__FieldTextArea:"aiChatForm__FieldTextArea",aiChatForm__FieldCheckbox:"aiChatForm__FieldCheckbox",aiChatForm__FieldCheckboxIndicator:"aiChatForm__FieldCheckboxIndicator",aiChatForm__FieldSelect:"aiChatForm__FieldSelect",aiChatForm__FieldSelect__Trigger:"aiChatForm__FieldSelect__Trigger",aiChatForm__FieldSelect__Value:"aiChatForm__FieldSelect__Value",aiChatForm__FieldSelect__Icon:"aiChatForm__FieldSelect__Icon",aiChatForm__FieldSelect__Content:"aiChatForm__FieldSelect__Content",aiChatForm__FieldSelect__Viewport:"aiChatForm__FieldSelect__Viewport",aiChatForm__FieldSelect__Item:"aiChatForm__FieldSelect__Item",aiChatForm__FieldSelect__ItemIndicator:"aiChatForm__FieldSelect__ItemIndicator",aiChatForm__FieldSelect__ItemText:"aiChatForm__FieldSelect__ItemText",aiChatForm__FieldError:"aiChatForm__FieldError",aiChatForm__Error:"aiChatForm__Error",aiChatForm__Footer:"aiChatForm__Footer",aiChatForm__Cancel:"aiChatForm__Cancel",aiChatForm__Submit:"aiChatForm__Submit",aiChatForm__Success:"aiChatForm__Success",aiChatForm__SuccessHeading:"aiChatForm__SuccessHeading",aiChatForm__SuccessMessage:"aiChatForm__SuccessMessage",aiChatForm__SuccessButton:"aiChatForm__SuccessButton",aiChatLink:"aiChatLink"},i={aiSearchWrapper:"aiSearchWrapper",aiSearchRoot:"aiSearchRoot",aiSearchContent:"aiSearchContent",aiSearchInputGroup:"aiSearchInputGroup",aiSearchInputIcon:"aiSearchInputIcon",aiSearchInput:"aiSearchInput",aiSearchLoading:"aiSearchLoading",aiAskAITrigger:"aiAskAITrigger",aiAskAITrigger__Icon:"aiAskAITrigger__Icon",aiAskAITrigger__Label:"aiAskAITrigger__Label",aiAskAITrigger__Indicator:"aiAskAITrigger__Indicator",aiSearchResults:"aiSearchResults",aiSearchResults__Loading:"aiSearchResults__Loading",aiSearchResults__Empty:"aiSearchResults__Empty",aiSearchResults__TabList:"aiSearchResults__TabList",aiSearchResults__Tab:"aiSearchResults__Tab",aiSearchResults__Content:"aiSearchResults__Content",aiSearchResults__ScrollArea:"aiSearchResults__ScrollArea",aiSearchResults__ScrollAreaViewport:"aiSearchResults__ScrollAreaViewport",aiSearchResults__List:"aiSearchResults__List",aiSearchResults__Item:"aiSearchResults__Item",aiSearchResults__ItemIcon:"aiSearchResults__ItemIcon",aiSearchResults__ItemBreadcrumbs:"aiSearchResults__ItemBreadcrumbs",aiSearchResults__ItemBreadcrumbIcon:"aiSearchResults__ItemBreadcrumbIcon",aiSearchResults__ItemTitle:"aiSearchResults__ItemTitle",aiSearchResults__ItemTag:"aiSearchResults__ItemTag",aiSearchResults__ItemDescription:"aiSearchResults__ItemDescription",aiSearchResults__ItemDescriptionPart:"aiSearchResults__ItemDescriptionPart",aiSearchResults__ItemIndicator:"aiSearchResults__ItemIndicator",aiSearchResults__ItemPreview:"aiSearchResults__ItemPreview",aiSearchResults__ItemPreview__Header:"aiSearchResults__ItemPreview__Header",aiSearchResults__ItemPreview__Heading:"aiSearchResults__ItemPreview__Heading",aiSearchResults__ItemPreview__Title:"aiSearchResults__ItemPreview__Title",aiSearchResults__ItemPreview__Title__LinkIcon:"aiSearchResults__ItemPreview__Title__LinkIcon",aiSearchResults__ItemPreview__Breadcrumbs:"aiSearchResults__ItemPreview__Breadcrumbs",aiSearchResults__ItemPreview__BreadcrumbIcon:"aiSearchResults__ItemPreview__BreadcrumbIcon",aiSearchResults__ItemPreview__Body:"aiSearchResults__ItemPreview__Body",aiSearchResults__ItemPreview__Outline:"aiSearchResults__ItemPreview__Outline",aiSearchResults__ItemPreview__Outline__Title:"aiSearchResults__ItemPreview__Outline__Title",aiSearchResults__ItemPreview__Outline__List:"aiSearchResults__ItemPreview__Outline__List",aiSearchResults__ItemPreview__Outline__Item:"aiSearchResults__ItemPreview__Outline__Item",aiSearchResults__ItemPreview__Outline__ItemIcon:"aiSearchResults__ItemPreview__Outline__ItemIcon",aiSearchResults__ItemPreview__Outline__ItemText:"aiSearchResults__ItemPreview__Outline__ItemText",aiSearchResults__ItemPreview__Outline__ItemLinkIcon:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",aiSearchResults__ScrollAreaScrollbar:"aiSearchResults__ScrollAreaScrollbar",aiSearchResults__ScrollAreaThumb:"aiSearchResults__ScrollAreaThumb",aiSearchResults__ScrollAreaCorner:"aiSearchResults__ScrollAreaCorner",aiSearchFooter:"aiSearchFooter",aiSearchTagline__Container:"aiSearchTagline__Container",aiSearchTagline__Text:"aiSearchTagline__Text",aiSearchTagline__Logo:"aiSearchTagline__Logo",aiSearchTagline__BrandName:"aiSearchTagline__BrandName"},_={modal:"modal",modal__Overlay:"modal__Overlay",modal__Content:"modal__Content",modal__Close:"modal__Close"},r={chatButton__Text:"chatButton__Text",chatButton__Button:"chatButton__Button",chatButton__Container:"chatButton__Container",chatButton__AvatarImage:"chatButton__AvatarImage",chatButton__AvatarContent:"chatButton__AvatarContent"},o={intelligentForm__Root:"intelligentForm__Root",intelligentForm__Heading:"intelligentForm__Heading",intelligentForm__Content:"intelligentForm__Content",intelligentForm__Content__ScrollArea:"intelligentForm__Content__ScrollArea",intelligentForm__Content__ScrollAreaViewport:"intelligentForm__Content__ScrollAreaViewport",intelligentForm__Content__ScrollAreaScrollbar:"intelligentForm__Content__ScrollAreaScrollbar",intelligentForm__Content__ScrollAreaThumb:"intelligentForm__Content__ScrollAreaThumb",intelligentForm__Content__ScrollAreaCorner:"intelligentForm__Content__ScrollAreaCorner",intelligentForm__Success:"intelligentForm__Success",intelligentForm__SuccessIcon:"intelligentForm__SuccessIcon",intelligentForm__SuccessHeading:"intelligentForm__SuccessHeading",intelligentForm__SuccessMessage:"intelligentForm__SuccessMessage",intelligentForm__PrimaryForm:"intelligentForm__PrimaryForm",intelligentForm__PrimaryForm__Description:"intelligentForm__PrimaryForm__Description",intelligentForm__PrimaryFormFields:"intelligentForm__PrimaryFormFields",intelligentForm__PrimaryFormSubmit:"intelligentForm__PrimaryFormSubmit",intelligentForm__Field:"intelligentForm__Field",intelligentForm__FieldLabel:"intelligentForm__FieldLabel",intelligentForm__FieldText:"intelligentForm__FieldText",intelligentForm__FieldEmail:"intelligentForm__FieldEmail",intelligentForm__FieldFile:"intelligentForm__FieldFile",intelligentForm__FieldTextArea:"intelligentForm__FieldTextArea",intelligentForm__FieldCheckbox:"intelligentForm__FieldCheckbox",intelligentForm__FieldCheckboxIndicator:"intelligentForm__FieldCheckboxIndicator",intelligentForm__FieldSelect:"intelligentForm__FieldSelect",intelligentForm__FieldSelect__Trigger:"intelligentForm__FieldSelect__Trigger",intelligentForm__FieldSelect__Value:"intelligentForm__FieldSelect__Value",intelligentForm__FieldSelect__Icon:"intelligentForm__FieldSelect__Icon",intelligentForm__FieldSelect__Content:"intelligentForm__FieldSelect__Content",intelligentForm__FieldSelect__Viewport:"intelligentForm__FieldSelect__Viewport",intelligentForm__FieldSelect__Item:"intelligentForm__FieldSelect__Item",intelligentForm__FieldSelect__ItemIndicator:"intelligentForm__FieldSelect__ItemIndicator",intelligentForm__FieldSelect__ItemText:"intelligentForm__FieldSelect__ItemText",intelligentForm__FieldError:"intelligentForm__FieldError",intelligentForm__BotHeading:"intelligentForm__BotHeading",intelligentForm__BotHeading__Icon:"intelligentForm__BotHeading__Icon",intelligentForm__BotHeading__Name:"intelligentForm__BotHeading__Name",intelligentForm__Loading:"intelligentForm__Loading",intelligentForm__ConfidentResponse:"intelligentForm__ConfidentResponse",intelligentForm__ConfidentAnswer:"intelligentForm__ConfidentAnswer",intelligentForm__ConfidentResponseButton:"intelligentForm__ConfidentResponseButton",intelligentForm__ConfidentResponseButton__Icon:"intelligentForm__ConfidentResponseButton__Icon",intelligentForm__ConfidentResponseButton__Label:"intelligentForm__ConfidentResponseButton__Label",intelligentForm__SecondaryForm:"intelligentForm__SecondaryForm",intelligentForm__SecondaryForm__Description:"intelligentForm__SecondaryForm__Description",intelligentForm__SecondaryFormFields:"intelligentForm__SecondaryFormFields",intelligentForm__SecondaryFormSubmit:"intelligentForm__SecondaryFormSubmit",intelligentForm__Error:"intelligentForm__Error",intelligentForm__Sources:"intelligentForm__Sources",intelligentForm__SourcesCaption:"intelligentForm__SourcesCaption",intelligentForm__SourcesList:"intelligentForm__SourcesList",intelligentForm__Source:"intelligentForm__Source",intelligentForm__SourceIcon:"intelligentForm__SourceIcon",intelligentForm__SourceTitle:"intelligentForm__SourceTitle"},n={searchBar__Container:"searchBar__Container",searchBar__Button:"searchBar__Button",searchBar__ContentWrapper:"searchBar__ContentWrapper",searchBar__Text:"searchBar__Text",searchBar__Icon:"searchBar__Icon",searchBar__KbdWrapper:"searchBar__KbdWrapper",searchBar__CmdIcon:"searchBar__CmdIcon",searchBar__Ctrl:"searchBar__Ctrl",searchBar__KbdShortcutKey:"searchBar__KbdShortcutKey"},l={...a,...t,...i,..._,...r,...n,...o,...e};exports.SearchBarComponentIds=n;exports.aiChatComponentIds=t;exports.aiSearchComponentIds=i;exports.chatButtonComponentIds=r;exports.componentIDs=l;exports.intelligentFormComponentIds=o;exports.markDownComponentIds=a;exports.miscellanousComponentIds=e;exports.modalComponentIds=_;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={icon:"icon",loadingIndicator__Text:"loadingIndicator__Text",loadingIndicator__Dots:"loadingIndicator__Dots",loadingIndicator__Dot:"loadingIndicator__Dot",view_toggle:"view_toggle",view_toggle_button:"view_toggle_button",view_toggle_icon:"view_toggle_icon"},a={codeblockContainer:"codeblockContainer",codeblockHeader:"codeblockHeader",codeblockHeaderLanguage:"codeblockHeaderLanguage",codeblockCopyButton:"codeblockCopyButton",codeblockHighlighterWrapper:"codeblockHighlighterWrapper",codeblockHighlighter:"codeblockHighlighter",codeblockCode:"codeblockCode",markdownH1:"markdownH1",markdownH2:"markdownH2",markdownP:"markdownP",markdownLi:"markdownLi",markdownUl:"markdownUl",markdownOl:"markdownOl",markdownLink:"markdownLink",markdownSourceLink:"markdownSourceLink",markdownTable:"markdownTable",markdownTh:"markdownTh",markdownTd:"markdownTd",markdownCode:"markdownCode",markdownInput:"markdownInput"},t={aiChatWrapper:"aiChatWrapper",aiChatConversationLoading:"aiChatConversationLoading",aiChatRoot:"aiChatRoot",aiChatHeader:"aiChatHeader",aiChatHeader__Toolbar:"aiChatHeader__Toolbar",aiChatHeader__ToolbarHeader:"aiChatHeader__ToolbarHeader",aiChatHeader__ToolbarHeaderWrapper:"aiChatHeader__ToolbarHeaderWrapper",aiChatContent:"aiChatContent",aiChatContentScrollArea:"aiChatContentScrollArea",aiChatContentScrollArea__Viewport:"aiChatContentScrollArea__Viewport",aiChatContentScrollArea__Scrollbar:"aiChatContentScrollArea__Scrollbar",aiChatContentScrollArea__Thumb:"aiChatContentScrollArea__Thumb",aiChatContentScrollArea__Corner:"aiChatContentScrollArea__Corner",aiChatDisclaimer:"aiChatDisclaimer",aiChatDisclaimerLabel:"aiChatDisclaimerLabel",aiChatDisclaimerTrigger:"aiChatDisclaimerTrigger",aiChatDisclaimerContent:"aiChatDisclaimerContent",aiChatDisclaimerText:"aiChatDisclaimerText",aiChatDisclaimerArrow:"aiChatDisclaimerArrow",aiChatExampleQuestions:"aiChatExampleQuestions",aiChatExampleQuestionsLabel:"aiChatExampleQuestionsLabel",aiChatExampleQuestionsList:"aiChatExampleQuestionsList",aiChatExampleQuestion:"aiChatExampleQuestion",aiChatExampleQuestionButton:"aiChatExampleQuestionButton",aiChatWorkflows:"aiChatWorkflows",aiChatWorkflowsLabel:"aiChatWorkflowsLabel",aiChatWorkflowsList:"aiChatWorkflowsList",aiChatWorkflow:"aiChatWorkflow",aiChatWorkflow__Icon:"aiChatWorkflow__Icon",aiChatMessages:"aiChatMessages",aiChatMessageWrapper:"aiChatMessageWrapper",aiChatMessageHeader:"aiChatMessageHeader",aiChatMessageLoading:"aiChatMessageLoading",aiChatMessageAvatar:"aiChatMessageAvatar",aiChatMessageAvatarFallback:"aiChatMessageAvatarFallback",aiChatMessageAvatarImage:"aiChatMessageAvatarImage",aiChatMessageAvatarContent:"aiChatMessageAvatarContent",aiChatMessageName:"aiChatMessageName",aiChatMessageContentWrapper:"aiChatMessageContentWrapper",aiChatMessageContent:"aiChatMessageContent",aiChatMessageAttachments:"aiChatMessageAttachments",aiChatMessageAttachments__List:"aiChatMessageAttachments__List",aiChatMessageAttachments__Item:"aiChatMessageAttachments__Item",aiChatMessageAttachments__ItemIcon:"aiChatMessageAttachments__ItemIcon",aiChatMessageAttachments__ItemTitle:"aiChatMessageAttachments__ItemTitle",aiChatMessageAttachmentsPreview:"aiChatMessageAttachmentsPreview",aiChatMessageAttachmentsPreview__Overlay:"aiChatMessageAttachmentsPreview__Overlay",aiChatMessageAttachmentsPreview__Content:"aiChatMessageAttachmentsPreview__Content",aiChatMessageAttachmentsPreview__Header:"aiChatMessageAttachmentsPreview__Header",aiChatMessageAttachmentsPreview__Close:"aiChatMessageAttachmentsPreview__Close",aiChatMessageAttachmentsPreview__Body:"aiChatMessageAttachmentsPreview__Body",aiChatMessage:"aiChatMessage",aiChatMessageToolbar:"aiChatMessageToolbar",aiChatMessageToolActions:"aiChatMessageToolActions",aiChatMessageToolAction:"aiChatMessageToolAction",aiChatMessageAction:"aiChatMessageAction",aiChatMessageSources:"aiChatMessageSources",aiChatMessageSources__Header:"aiChatMessageSources__Header",aiChatMessageSources__List:"aiChatMessageSources__List",aiChatMessageSourceItem:"aiChatMessageSourceItem",aiChatMessageSourceItem__Icon:"aiChatMessageSourceItem__Icon",aiChatMessageSourceItem__Breadcrumbs:"aiChatMessageSourceItem__Breadcrumbs",aiChatMessageSourceItem__Breadcrumb:"aiChatMessageSourceItem__Breadcrumb",aiChatMessageSourceItem__BreadcrumbIcon:"aiChatMessageSourceItem__BreadcrumbIcon",aiChatMessageSourceItem__Title:"aiChatMessageSourceItem__Title",aiChatMessageSourceItem__Tag:"aiChatMessageSourceItem__Tag",aiChatMessageSourceItem__Description:"aiChatMessageSourceItem__Description",aiChatMessageSourceItem__DescriptionPart:"aiChatMessageSourceItem__DescriptionPart",aiChatMessageSourceItem__Indicator:"aiChatMessageSourceItem__Indicator",aiChatFooter:"aiChatFooter",aiChatInput__Fieldset:"aiChatInput__Fieldset",aiChatInput__Group:"aiChatInput__Group",aiChatInput:"aiChatInput",aiChatInput__SendButton:"aiChatInput__SendButton",aiChatInput__SendButtonIcon:"aiChatInput__SendButtonIcon",aiChatAttachmentsBar:"aiChatAttachmentsBar",aiChatAttachmentsBar__List:"aiChatAttachmentsBar__List",aiChatAttachmentsBar__Attachment:"aiChatAttachmentsBar__Attachment",aiChatAttachmentsBar__AttachmentIcon:"aiChatAttachmentsBar__AttachmentIcon",aiChatAttachmentsBar__AttachmentTitle:"aiChatAttachmentsBar__AttachmentTitle",aiChatAttachmentsBar__AttachmentDelete:"aiChatAttachmentsBar__AttachmentDelete",aiChatAttachmentsBar__Actions:"aiChatAttachmentsBar__Actions",aiChatAttachmentsBar__InfoTip:"aiChatAttachmentsBar__InfoTip",aiChatAttachmentsBar__InfoTipIcon:"aiChatAttachmentsBar__InfoTipIcon",aiChatAttachmentsBar__InfoTipArrow:"aiChatAttachmentsBar__InfoTipArrow",aiChatAttachmentsBar__InfoTipText:"aiChatAttachmentsBar__InfoTipText",aiChatAttachmentsBar__Inputs:"aiChatAttachmentsBar__Inputs",aiChatAttachmentsBar__Input:"aiChatAttachmentsBar__Input",aiChatAttachmentsBar__InputIcon:"aiChatAttachmentsBar__InputIcon",aiChatAttachmentsBar__Modal:"aiChatAttachmentsBar__Modal",aiChatAttachmentsBar__ModalOverlay:"aiChatAttachmentsBar__ModalOverlay",aiChatAttachmentsBar__ModalContent:"aiChatAttachmentsBar__ModalContent",aiChatAttachmentsBar__ModalHeader:"aiChatAttachmentsBar__ModalHeader",aiChatAttachmentsBar__ModalClose:"aiChatAttachmentsBar__ModalClose",aiChatAttachmentsBar__ModalBody:"aiChatAttachmentsBar__ModalBody",aiChatAttachmentsBar__ModalHeading:"aiChatAttachmentsBar__ModalHeading",aiChatAttachmentsBar__ModalDescription:"aiChatAttachmentsBar__ModalDescription",aiChatAttachmentsBar__ModalHelp:"aiChatAttachmentsBar__ModalHelp",aiChatAttachmentsBar__Form:"aiChatAttachmentsBar__Form",aiChatAttachmentsBar__FormTitle:"aiChatAttachmentsBar__FormTitle",aiChatAttachmentsBar__FormTitleLabel:"aiChatAttachmentsBar__FormTitleLabel",aiChatAttachmentsBar__FormTitleInput:"aiChatAttachmentsBar__FormTitleInput",aiChatAttachmentsBar__FormTitleError:"aiChatAttachmentsBar__FormTitleError",aiChatAttachmentsBar__FormContent:"aiChatAttachmentsBar__FormContent",aiChatAttachmentsBar__FormContentLabel:"aiChatAttachmentsBar__FormContentLabel",aiChatAttachmentsBar__FormContentInput:"aiChatAttachmentsBar__FormContentInput",aiChatAttachmentsBar__FormContentError:"aiChatAttachmentsBar__FormContentError",aiChatAttachmentsBar__FormSubmitButton:"aiChatAttachmentsBar__FormSubmitButton",aiChatActionBar:"aiChatActionBar",aiChat__ChatActions:"aiChat__ChatActions",aiChat__ChatAction:"aiChat__ChatAction",aiChat__ChatActionLabel:"aiChat__ChatActionLabel",aiChat__ChatActionFeeback:"aiChat__ChatActionFeeback",aiChatHelpActions:"aiChatHelpActions",aiChatHelpAction:"aiChatHelpAction",aiChatHelpActions__Trigger:"aiChatHelpActions__Trigger",aiChatHelpActions__Menu:"aiChatHelpActions__Menu",aiChatHelpActions__MenuArrow:"aiChatHelpActions__MenuArrow",aiChatHelpActions__MenuItem:"aiChatHelpActions__MenuItem",aiChatHelpActions_MenuItemIcon:"aiChatHelpActions_MenuItemIcon",aiChatTagline__Container:"aiChatTagline__Container",aiChatTagline__Text:"aiChatTagline__Text",aiChatTagline__Logo:"aiChatTagline__Logo",aiChatTagline__BrandName:"aiChatTagline__BrandName",aiChatFeedbackModal:"aiChatFeedbackModal",aiChatFeedbackModal__Overlay:"aiChatFeedbackModal__Overlay",aiChatFeedbackModal__Content:"aiChatFeedbackModal__Content",aiChatFeedbackModal__Header:"aiChatFeedbackModal__Header",aiChatFeedbackModal__Close:"aiChatFeedbackModal__Close",aiChatFeedbackModal__Body:"aiChatFeedbackModal__Body",aiChatFeedbackForm:"aiChatFeedbackForm",aiChatFeedbackItem:"aiChatFeedbackItem",aiChatFeedbackItem__Checkbox:"aiChatFeedbackItem__Checkbox",aiChatFeedbackItem__CheckboxIndicator:"aiChatFeedbackItem__CheckboxIndicator",aiChatFeedbackItem__Label:"aiChatFeedbackItem__Label",aiChatFeedbackItem__Description:"aiChatFeedbackItem__Description",aiChatFeedbackForm__SubmitButton:"aiChatFeedbackForm__SubmitButton",aiChatForm__Wrapper:"aiChatForm__Wrapper",aiChatForm:"aiChatForm",aiChatForm__Close:"aiChatForm__Close",aiChatForm__Header:"aiChatForm__Header",aiChatForm__Heading:"aiChatForm__Heading",aiChatForm__Description:"aiChatForm__Description",aiChatForm__Content:"aiChatForm__Content",aiChatForm__Field:"aiChatForm__Field",aiChatForm__FieldLabel:"aiChatForm__FieldLabel",aiChatForm__FieldText:"aiChatForm__FieldText",aiChatForm__FieldEmail:"aiChatForm__FieldEmail",aiChatForm__FieldFile:"aiChatForm__FieldFile",aiChatForm__FieldTextArea:"aiChatForm__FieldTextArea",aiChatForm__FieldCheckbox:"aiChatForm__FieldCheckbox",aiChatForm__FieldCheckboxIndicator:"aiChatForm__FieldCheckboxIndicator",aiChatForm__FieldSelect:"aiChatForm__FieldSelect",aiChatForm__FieldSelect__Trigger:"aiChatForm__FieldSelect__Trigger",aiChatForm__FieldSelect__Value:"aiChatForm__FieldSelect__Value",aiChatForm__FieldSelect__Icon:"aiChatForm__FieldSelect__Icon",aiChatForm__FieldSelect__Content:"aiChatForm__FieldSelect__Content",aiChatForm__FieldSelect__Viewport:"aiChatForm__FieldSelect__Viewport",aiChatForm__FieldSelect__Item:"aiChatForm__FieldSelect__Item",aiChatForm__FieldSelect__ItemIndicator:"aiChatForm__FieldSelect__ItemIndicator",aiChatForm__FieldSelect__ItemText:"aiChatForm__FieldSelect__ItemText",aiChatForm__FieldError:"aiChatForm__FieldError",aiChatForm__Error:"aiChatForm__Error",aiChatForm__Footer:"aiChatForm__Footer",aiChatForm__Cancel:"aiChatForm__Cancel",aiChatForm__Submit:"aiChatForm__Submit",aiChatForm__Success:"aiChatForm__Success",aiChatForm__SuccessHeading:"aiChatForm__SuccessHeading",aiChatForm__SuccessMessage:"aiChatForm__SuccessMessage",aiChatForm__SuccessButton:"aiChatForm__SuccessButton",aiChatLink:"aiChatLink"},i={aiSearchWrapper:"aiSearchWrapper",aiSearchRoot:"aiSearchRoot",aiSearchContent:"aiSearchContent",aiSearchInputGroup:"aiSearchInputGroup",aiSearchInputIcon:"aiSearchInputIcon",aiSearchInput:"aiSearchInput",aiSearchLoading:"aiSearchLoading",aiAskAITrigger:"aiAskAITrigger",aiAskAITrigger__Icon:"aiAskAITrigger__Icon",aiAskAITrigger__Label:"aiAskAITrigger__Label",aiAskAITrigger__Indicator:"aiAskAITrigger__Indicator",aiSearchResults:"aiSearchResults",aiSearchResults__Loading:"aiSearchResults__Loading",aiSearchResults__Empty:"aiSearchResults__Empty",aiSearchResults__TabList:"aiSearchResults__TabList",aiSearchResults__Tab:"aiSearchResults__Tab",aiSearchResults__Content:"aiSearchResults__Content",aiSearchResults__ScrollArea:"aiSearchResults__ScrollArea",aiSearchResults__ScrollAreaViewport:"aiSearchResults__ScrollAreaViewport",aiSearchResults__List:"aiSearchResults__List",aiSearchResults__Item:"aiSearchResults__Item",aiSearchResults__ItemIcon:"aiSearchResults__ItemIcon",aiSearchResults__ItemBreadcrumbs:"aiSearchResults__ItemBreadcrumbs",aiSearchResults__ItemBreadcrumbIcon:"aiSearchResults__ItemBreadcrumbIcon",aiSearchResults__ItemTitle:"aiSearchResults__ItemTitle",aiSearchResults__ItemTag:"aiSearchResults__ItemTag",aiSearchResults__ItemDescription:"aiSearchResults__ItemDescription",aiSearchResults__ItemDescriptionPart:"aiSearchResults__ItemDescriptionPart",aiSearchResults__ItemIndicator:"aiSearchResults__ItemIndicator",aiSearchResults__ItemPreview:"aiSearchResults__ItemPreview",aiSearchResults__ItemPreview__Header:"aiSearchResults__ItemPreview__Header",aiSearchResults__ItemPreview__Heading:"aiSearchResults__ItemPreview__Heading",aiSearchResults__ItemPreview__Title:"aiSearchResults__ItemPreview__Title",aiSearchResults__ItemPreview__Title__LinkIcon:"aiSearchResults__ItemPreview__Title__LinkIcon",aiSearchResults__ItemPreview__Breadcrumbs:"aiSearchResults__ItemPreview__Breadcrumbs",aiSearchResults__ItemPreview__BreadcrumbIcon:"aiSearchResults__ItemPreview__BreadcrumbIcon",aiSearchResults__ItemPreview__Body:"aiSearchResults__ItemPreview__Body",aiSearchResults__ItemPreview__Outline:"aiSearchResults__ItemPreview__Outline",aiSearchResults__ItemPreview__Outline__Title:"aiSearchResults__ItemPreview__Outline__Title",aiSearchResults__ItemPreview__Outline__List:"aiSearchResults__ItemPreview__Outline__List",aiSearchResults__ItemPreview__Outline__Item:"aiSearchResults__ItemPreview__Outline__Item",aiSearchResults__ItemPreview__Outline__ItemIcon:"aiSearchResults__ItemPreview__Outline__ItemIcon",aiSearchResults__ItemPreview__Outline__ItemText:"aiSearchResults__ItemPreview__Outline__ItemText",aiSearchResults__ItemPreview__Outline__ItemLinkIcon:"aiSearchResults__ItemPreview__Outline__ItemLinkIcon",aiSearchResults__ScrollAreaScrollbar:"aiSearchResults__ScrollAreaScrollbar",aiSearchResults__ScrollAreaThumb:"aiSearchResults__ScrollAreaThumb",aiSearchResults__ScrollAreaCorner:"aiSearchResults__ScrollAreaCorner",aiSearchFooter:"aiSearchFooter",aiSearchTagline__Container:"aiSearchTagline__Container",aiSearchTagline__Text:"aiSearchTagline__Text",aiSearchTagline__Logo:"aiSearchTagline__Logo",aiSearchTagline__BrandName:"aiSearchTagline__BrandName"},_={modal:"modal",modal__Overlay:"modal__Overlay",modal__Content:"modal__Content",modal__Close:"modal__Close"},r={chatButton__Text:"chatButton__Text",chatButton__Button:"chatButton__Button",chatButton__Container:"chatButton__Container",chatButton__AvatarImage:"chatButton__AvatarImage",chatButton__AvatarContent:"chatButton__AvatarContent"},o={intelligentForm__Root:"intelligentForm__Root",intelligentForm__Heading:"intelligentForm__Heading",intelligentForm__Content:"intelligentForm__Content",intelligentForm__Content__ScrollArea:"intelligentForm__Content__ScrollArea",intelligentForm__Content__ScrollAreaViewport:"intelligentForm__Content__ScrollAreaViewport",intelligentForm__Content__ScrollAreaScrollbar:"intelligentForm__Content__ScrollAreaScrollbar",intelligentForm__Content__ScrollAreaThumb:"intelligentForm__Content__ScrollAreaThumb",intelligentForm__Content__ScrollAreaCorner:"intelligentForm__Content__ScrollAreaCorner",intelligentForm__Success:"intelligentForm__Success",intelligentForm__SuccessIcon:"intelligentForm__SuccessIcon",intelligentForm__SuccessHeading:"intelligentForm__SuccessHeading",intelligentForm__SuccessMessage:"intelligentForm__SuccessMessage",intelligentForm__PrimaryForm:"intelligentForm__PrimaryForm",intelligentForm__PrimaryForm__Description:"intelligentForm__PrimaryForm__Description",intelligentForm__PrimaryFormFields:"intelligentForm__PrimaryFormFields",intelligentForm__PrimaryFormSubmit:"intelligentForm__PrimaryFormSubmit",intelligentForm__Field:"intelligentForm__Field",intelligentForm__FieldLabel:"intelligentForm__FieldLabel",intelligentForm__FieldText:"intelligentForm__FieldText",intelligentForm__FieldEmail:"intelligentForm__FieldEmail",intelligentForm__FieldFile:"intelligentForm__FieldFile",intelligentForm__FieldTextArea:"intelligentForm__FieldTextArea",intelligentForm__FieldCheckbox:"intelligentForm__FieldCheckbox",intelligentForm__FieldCheckboxIndicator:"intelligentForm__FieldCheckboxIndicator",intelligentForm__FieldSelect:"intelligentForm__FieldSelect",intelligentForm__FieldSelect__Trigger:"intelligentForm__FieldSelect__Trigger",intelligentForm__FieldSelect__Value:"intelligentForm__FieldSelect__Value",intelligentForm__FieldSelect__Icon:"intelligentForm__FieldSelect__Icon",intelligentForm__FieldSelect__Content:"intelligentForm__FieldSelect__Content",intelligentForm__FieldSelect__Viewport:"intelligentForm__FieldSelect__Viewport",intelligentForm__FieldSelect__Item:"intelligentForm__FieldSelect__Item",intelligentForm__FieldSelect__ItemIndicator:"intelligentForm__FieldSelect__ItemIndicator",intelligentForm__FieldSelect__ItemText:"intelligentForm__FieldSelect__ItemText",intelligentForm__FieldError:"intelligentForm__FieldError",intelligentForm__BotHeading:"intelligentForm__BotHeading",intelligentForm__BotHeading__Icon:"intelligentForm__BotHeading__Icon",intelligentForm__BotHeading__Name:"intelligentForm__BotHeading__Name",intelligentForm__Loading:"intelligentForm__Loading",intelligentForm__ConfidentResponse:"intelligentForm__ConfidentResponse",intelligentForm__ConfidentAnswer:"intelligentForm__ConfidentAnswer",intelligentForm__ConfidentResponseButton:"intelligentForm__ConfidentResponseButton",intelligentForm__ConfidentResponseButton__Icon:"intelligentForm__ConfidentResponseButton__Icon",intelligentForm__ConfidentResponseButton__Label:"intelligentForm__ConfidentResponseButton__Label",intelligentForm__SecondaryForm:"intelligentForm__SecondaryForm",intelligentForm__SecondaryForm__Description:"intelligentForm__SecondaryForm__Description",intelligentForm__SecondaryFormFields:"intelligentForm__SecondaryFormFields",intelligentForm__SecondaryFormSubmit:"intelligentForm__SecondaryFormSubmit",intelligentForm__Error:"intelligentForm__Error",intelligentForm__Sources:"intelligentForm__Sources",intelligentForm__SourcesCaption:"intelligentForm__SourcesCaption",intelligentForm__SourcesList:"intelligentForm__SourcesList",intelligentForm__Source:"intelligentForm__Source",intelligentForm__SourceIcon:"intelligentForm__SourceIcon",intelligentForm__SourceTitle:"intelligentForm__SourceTitle"},n={searchBar__Container:"searchBar__Container",searchBar__Button:"searchBar__Button",searchBar__ContentWrapper:"searchBar__ContentWrapper",searchBar__Text:"searchBar__Text",searchBar__Icon:"searchBar__Icon",searchBar__KbdWrapper:"searchBar__KbdWrapper",searchBar__CmdIcon:"searchBar__CmdIcon",searchBar__Ctrl:"searchBar__Ctrl",searchBar__KbdShortcutKey:"searchBar__KbdShortcutKey"},l={...a,...t,...i,..._,...r,...n,...o,...e};exports.SearchBarComponentIds=n;exports.aiChatComponentIds=t;exports.aiSearchComponentIds=i;exports.chatButtonComponentIds=r;exports.componentIDs=l;exports.intelligentFormComponentIds=o;exports.markDownComponentIds=a;exports.miscellanousComponentIds=e;exports.modalComponentIds=_;
|
|
@@ -82,7 +82,7 @@ const e = {
|
|
|
82
82
|
aiChatMessageAttachmentsPreview__Close: "aiChatMessageAttachmentsPreview__Close",
|
|
83
83
|
aiChatMessageAttachmentsPreview__Body: "aiChatMessageAttachmentsPreview__Body",
|
|
84
84
|
aiChatMessage: "aiChatMessage",
|
|
85
|
-
|
|
85
|
+
aiChatMessageToolbar: "aiChatMessageToolbar",
|
|
86
86
|
aiChatMessageToolActions: "aiChatMessageToolActions",
|
|
87
87
|
aiChatMessageToolAction: "aiChatMessageToolAction",
|
|
88
88
|
aiChatMessageAction: "aiChatMessageAction",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@inkeep/cxkit-theme"),t=
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@inkeep/cxkit-theme"),t={model:"inkeep-qa-expert",placeholder:"How do I get started?",aiAssistantName:void 0,shouldOpenLinksInNewTab:!0,disclaimerSettings:{isEnabled:!1,label:"Usage policy"},isShareButtonVisible:!1,isViewOnly:!1,exampleQuestionsLabel:"Example questions",exampleQuestions:[],isFirstExampleQuestionHighlighted:!0,isCopyChatButtonVisible:!1,getHelpOptions:[],workflowsHeader:"Workflows",workflows:[],toolbarButtonLabels:{clear:"Clear",share:"Share",getHelp:"Get help",stop:"Stop",copyChat:"Copy"},prompts:[]},s={env:"production",apiKey:"",aiApiBaseUrl:"https://api.inkeep.com",analyticsApiBaseUrl:"https://api.io.inkeep.com",shouldBypassCaptcha:!1,privacyPreferences:{optOutAnalyticalCookies:!1,optOutAllAnalytics:!1,optOutFunctionalCookies:!1},tags:[],userProperties:{},primaryBrandColor:e.DEFAULT_PRIMARY_BRAND_COLOR,theme:{varsClassName:"inkeep-widget-vars",...e.theme}},a={shouldOpenLinksInNewTab:!1,maxResults:40,defaultQuery:"",debounceTimeMs:0,tabs:["All","Publications","PDFs","GitHub","Forums","Discord","Slack","StackOverflow"],placeholder:"Search for anything...",view:"single-pane"};exports.defaultInkeepAIChatSettings=t;exports.defaultInkeepBaseSettings=s;exports.defaultInkeepSearchSettings=a;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { theme as e, DEFAULT_PRIMARY_BRAND_COLOR as s } from "@inkeep/cxkit-theme";
|
|
3
|
-
|
|
4
|
-
const l = {
|
|
3
|
+
const a = {
|
|
5
4
|
model: "inkeep-qa-expert",
|
|
6
5
|
placeholder: "How do I get started?",
|
|
7
6
|
aiAssistantName: void 0,
|
|
@@ -26,21 +25,8 @@ const l = {
|
|
|
26
25
|
stop: "Stop",
|
|
27
26
|
copyChat: "Copy"
|
|
28
27
|
},
|
|
29
|
-
prompts: []
|
|
30
|
-
|
|
31
|
-
{
|
|
32
|
-
type: "function",
|
|
33
|
-
function: {
|
|
34
|
-
name: "provideLinks",
|
|
35
|
-
description: "Provides links",
|
|
36
|
-
parameters: t
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
|
|
41
|
-
onToolCall: (a) => {
|
|
42
|
-
}
|
|
43
|
-
}, n = {
|
|
28
|
+
prompts: []
|
|
29
|
+
}, l = {
|
|
44
30
|
env: "production",
|
|
45
31
|
apiKey: "",
|
|
46
32
|
aiApiBaseUrl: "https://api.inkeep.com",
|
|
@@ -61,7 +47,7 @@ const l = {
|
|
|
61
47
|
varsClassName: "inkeep-widget-vars",
|
|
62
48
|
...e
|
|
63
49
|
}
|
|
64
|
-
},
|
|
50
|
+
}, i = {
|
|
65
51
|
shouldOpenLinksInNewTab: !1,
|
|
66
52
|
maxResults: 40,
|
|
67
53
|
defaultQuery: "",
|
|
@@ -71,7 +57,7 @@ const l = {
|
|
|
71
57
|
view: "single-pane"
|
|
72
58
|
};
|
|
73
59
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
60
|
+
a as defaultInkeepAIChatSettings,
|
|
61
|
+
l as defaultInkeepBaseSettings,
|
|
62
|
+
i as defaultInkeepSearchSettings
|
|
77
63
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["documentation","site","discourse_post","github_issue","github_discussion","stackoverflow_question","discord_forum_post","discord_message","custom_question_answer"],s={type:"object",properties:{links:{anyOf:[{type:"array",items:{type:"object",properties:{label:{type:["string","null"]},url:{type:"string"},title:{type:["string","null"]},description:{type:["string","null"]},type:{anyOf:[{anyOf:[{type:"string",enum:t},{type:"string"}]},{type:"null"}]},breadcrumbs:{anyOf:[{type:"array",items:{type:"string"}},{type:"null"}]}},required:["url"],additionalProperties:!0}},{type:"null"}]},text:{type:"string"}},required:["text"],additionalProperties:!1,$schema:"http://json-schema.org/draft-07/schema#"},i={type:"function",function:{name:"provideLinks",description:"Provides links",parameters:s,function:e=>e,parse:JSON.parse}};exports.provideLinksTool=i;
|