@ibti-tech/chatbot 0.2.0 → 0.5.7
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/README.md +456 -14
- package/dist/index.d.ts +233 -72
- package/dist/index.mjs +1264 -157
- package/package.json +5 -4
- package/dist/index.js +0 -1132
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare module '@ibti-tech/chatbot/components/BotIcon/index' {
|
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
5
5
|
}
|
|
6
6
|
declare module '@ibti-tech/chatbot/components/BotIcon/index.d.ts' {
|
|
7
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
7
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/BotIcon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,OAAO,yBASnB,CAAA"}
|
|
8
8
|
}
|
|
9
9
|
declare module '@ibti-tech/chatbot/components/ChatUserFeedbackRating/index' {
|
|
10
10
|
import React from 'react';
|
|
@@ -16,21 +16,20 @@ declare module '@ibti-tech/chatbot/components/ChatUserFeedbackRating/index' {
|
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
17
17
|
}
|
|
18
18
|
declare module '@ibti-tech/chatbot/components/ChatUserFeedbackRating/index.d.ts' {
|
|
19
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
19
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatUserFeedbackRating/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAA;AAIzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAGxE,MAAM,MAAM,2BAA2B,GAAG;IACxC,eAAe,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAA;CACvD,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,sBAEpC,2BAA2B,sBAoD7B,CAAA"}
|
|
20
20
|
}
|
|
21
21
|
declare module '@ibti-tech/chatbot/components/ChatUserFeedbackRating/styles' {
|
|
22
|
-
/// <reference types="react" />
|
|
23
22
|
export const ActionButtons: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
24
23
|
export const Form: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, never>> & string;
|
|
25
24
|
export const Description: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
26
25
|
export const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
27
26
|
export const Box: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<{
|
|
28
|
-
layer?: import("@ibti-tech/ui").ThemeLayerIndex
|
|
29
|
-
hoverable?: boolean
|
|
27
|
+
layer?: import("@ibti-tech/ui").ThemeLayerIndex;
|
|
28
|
+
hoverable?: boolean;
|
|
30
29
|
children?: import("react").ReactNode;
|
|
31
|
-
roundedCorners?: "small" | "
|
|
32
|
-
tag?: keyof HTMLElementTagNameMap
|
|
33
|
-
boxShadow?: boolean
|
|
30
|
+
roundedCorners?: "small" | "medium" | "large" | "none";
|
|
31
|
+
tag?: keyof HTMLElementTagNameMap;
|
|
32
|
+
boxShadow?: boolean;
|
|
34
33
|
} & import("react").HTMLAttributes<HTMLDivElement>, never>> & string & Omit<({ layer, hoverable, children, roundedCorners, tag, boxShadow, ...props }: import("@ibti-tech/ui").CardBaseProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
35
34
|
export const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
36
35
|
$opened: boolean;
|
|
@@ -38,27 +37,39 @@ declare module '@ibti-tech/chatbot/components/ChatUserFeedbackRating/styles' {
|
|
|
38
37
|
//# sourceMappingURL=styles.d.ts.map
|
|
39
38
|
}
|
|
40
39
|
declare module '@ibti-tech/chatbot/components/ChatUserFeedbackRating/styles.d.ts' {
|
|
41
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
40
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatUserFeedbackRating/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa,6NAWzB,CAAA;AAED,eAAO,MAAM,IAAI,mOA+ChB,CAAA;AAED,eAAO,MAAM,WAAW,6NAIvB,CAAA;AAED,eAAO,MAAM,KAAK,+NAKjB,CAAA;AAED,eAAO,MAAM,GAAG;;;;;;;wRAKf,CAAA;AAED,eAAO,MAAM,OAAO;aAAyB,OAAO;YA4BnD,CAAA"}
|
|
42
41
|
}
|
|
43
42
|
declare module '@ibti-tech/chatbot/components/ChatbotBar/index' {
|
|
44
43
|
import React from 'react';
|
|
45
|
-
export
|
|
44
|
+
export type ChatbotBarProps = {
|
|
45
|
+
verticalPosition?: 'top' | 'bottom';
|
|
46
|
+
horizontalPosition?: 'left' | 'right';
|
|
47
|
+
};
|
|
48
|
+
export const ChatbotBar: ({ verticalPosition, horizontalPosition, }: ChatbotBarProps) => React.JSX.Element;
|
|
46
49
|
//# sourceMappingURL=index.d.ts.map
|
|
47
50
|
}
|
|
48
51
|
declare module '@ibti-tech/chatbot/components/ChatbotBar/index.d.ts' {
|
|
49
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
52
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotBar/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,MAAM,eAAe,GAAG;IAC5B,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IACnC,kBAAkB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACtC,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,2CAGxB,eAAe,sBAkBjB,CAAA"}
|
|
50
53
|
}
|
|
51
54
|
declare module '@ibti-tech/chatbot/components/ChatbotBar/styles' {
|
|
52
|
-
|
|
53
|
-
export const BarContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
55
|
+
import { breakpoints } from '@ibti-tech/ui';
|
|
56
|
+
export const BarContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<{
|
|
54
57
|
children?: import("react").ReactNode;
|
|
55
|
-
variant?:
|
|
56
|
-
} & import("@ibti-tech/ui").HTMLStyleAttributes,
|
|
57
|
-
|
|
58
|
+
variant?: keyof typeof breakpoints;
|
|
59
|
+
} & import("@ibti-tech/ui").HTMLStyleAttributes, {
|
|
60
|
+
$horizontalPosition: "left" | "right";
|
|
61
|
+
$opened: boolean;
|
|
62
|
+
$verticalPosition: "top" | "bottom";
|
|
63
|
+
}>> & string & Omit<({ children, className, style, variant, }: import("@ibti-tech/ui").ContainerProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
64
|
+
export const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
65
|
+
$verticalPosition: "top" | "bottom";
|
|
66
|
+
$horizontalPosition: "left" | "right";
|
|
67
|
+
$opened: boolean;
|
|
68
|
+
}>> & string;
|
|
58
69
|
//# sourceMappingURL=styles.d.ts.map
|
|
59
70
|
}
|
|
60
71
|
declare module '@ibti-tech/chatbot/components/ChatbotBar/styles.d.ts' {
|
|
61
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
72
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotBar/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAW,MAAM,eAAe,CAAA;AAIpD,eAAO,MAAM,YAAY;;oBAGH,kBACnB;;yBAHoB,MAAM,GAAG,OAAO;aAC5B,OAAO;uBACG,KAAK,GAAG,QAAQ;iMAqBpC,CAAA;AAED,eAAO,MAAM,OAAO;uBACC,KAAK,GAAG,QAAQ;yBACd,MAAM,GAAG,OAAO;aAC5B,OAAO;YAwCjB,CAAA"}
|
|
62
73
|
}
|
|
63
74
|
declare module '@ibti-tech/chatbot/components/ChatbotBody/index' {
|
|
64
75
|
import React from 'react';
|
|
@@ -68,37 +79,38 @@ declare module '@ibti-tech/chatbot/components/ChatbotBody/index' {
|
|
|
68
79
|
//# sourceMappingURL=index.d.ts.map
|
|
69
80
|
}
|
|
70
81
|
declare module '@ibti-tech/chatbot/components/ChatbotBody/index.d.ts' {
|
|
71
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
82
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotBody/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAUhD,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAA;AAEjC,eAAO,MAAM,WAAW,GAAI,MAAE,sBA2C7B,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
72
83
|
}
|
|
73
84
|
declare module '@ibti-tech/chatbot/components/ChatbotBody/styles' {
|
|
74
|
-
/// <reference types="react" />
|
|
75
85
|
export const ChatbotInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
76
86
|
export const MessagesList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
77
87
|
export const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
78
88
|
//# sourceMappingURL=styles.d.ts.map
|
|
79
89
|
}
|
|
80
90
|
declare module '@ibti-tech/chatbot/components/ChatbotBody/styles.d.ts' {
|
|
81
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
91
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotBody/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,6NAAe,CAAA;AAExC,eAAO,MAAM,YAAY,iOAQxB,CAAA;AAED,eAAO,MAAM,OAAO,6NA4BnB,CAAA"}
|
|
82
92
|
}
|
|
83
93
|
declare module '@ibti-tech/chatbot/components/ChatbotDevice/index' {
|
|
84
94
|
import React from 'react';
|
|
85
|
-
export type ChatbotDeviceProps = {
|
|
86
|
-
|
|
95
|
+
export type ChatbotDeviceProps = {
|
|
96
|
+
verticalPosition?: 'top' | 'bottom';
|
|
97
|
+
};
|
|
98
|
+
export const ChatbotDevice: ({ verticalPosition, }: ChatbotDeviceProps) => React.JSX.Element;
|
|
87
99
|
export default ChatbotDevice;
|
|
88
100
|
//# sourceMappingURL=index.d.ts.map
|
|
89
101
|
}
|
|
90
102
|
declare module '@ibti-tech/chatbot/components/ChatbotDevice/index.d.ts' {
|
|
91
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
103
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotDevice/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;CACpC,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,uBAE3B,kBAAkB,sBAapB,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
92
104
|
}
|
|
93
105
|
declare module '@ibti-tech/chatbot/components/ChatbotDevice/styles' {
|
|
94
|
-
/// <reference types="react" />
|
|
95
106
|
export const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
96
107
|
$opened: boolean;
|
|
108
|
+
$verticalPosition: "top" | "bottom";
|
|
97
109
|
}>> & string;
|
|
98
110
|
//# sourceMappingURL=styles.d.ts.map
|
|
99
111
|
}
|
|
100
112
|
declare module '@ibti-tech/chatbot/components/ChatbotDevice/styles.d.ts' {
|
|
101
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
113
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotDevice/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;aACT,OAAO;uBACG,KAAK,GAAG,QAAQ;YAgEpC,CAAA"}
|
|
102
114
|
}
|
|
103
115
|
declare module '@ibti-tech/chatbot/components/ChatbotFooter/index' {
|
|
104
116
|
import React from 'react';
|
|
@@ -108,17 +120,16 @@ declare module '@ibti-tech/chatbot/components/ChatbotFooter/index' {
|
|
|
108
120
|
//# sourceMappingURL=index.d.ts.map
|
|
109
121
|
}
|
|
110
122
|
declare module '@ibti-tech/chatbot/components/ChatbotFooter/index.d.ts' {
|
|
111
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
123
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotFooter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAc1D,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAA;AAEnC,eAAO,MAAM,aAAa,GAAI,IAAK,kBAAkB,sBA6EpD,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
112
124
|
}
|
|
113
125
|
declare module '@ibti-tech/chatbot/components/ChatbotFooter/styles' {
|
|
114
|
-
/// <reference types="react" />
|
|
115
126
|
export const LoadingSuggestedQuestions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
116
127
|
export const Form: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, never>> & string;
|
|
117
128
|
export const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
118
129
|
//# sourceMappingURL=styles.d.ts.map
|
|
119
130
|
}
|
|
120
131
|
declare module '@ibti-tech/chatbot/components/ChatbotFooter/styles.d.ts' {
|
|
121
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
132
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotFooter/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,+NAOrC,CAAA;AAED,eAAO,MAAM,IAAI,mOA4EhB,CAAA;AAED,eAAO,MAAM,OAAO,6NAEnB,CAAA"}
|
|
122
133
|
}
|
|
123
134
|
declare module '@ibti-tech/chatbot/components/ChatbotHeader/index' {
|
|
124
135
|
import React from 'react';
|
|
@@ -131,10 +142,9 @@ declare module '@ibti-tech/chatbot/components/ChatbotHeader/index' {
|
|
|
131
142
|
//# sourceMappingURL=index.d.ts.map
|
|
132
143
|
}
|
|
133
144
|
declare module '@ibti-tech/chatbot/components/ChatbotHeader/index.d.ts' {
|
|
134
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
145
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAExE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAA;CACvD,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,qBAAqB,kBAAkB,sBAqBpE,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
135
146
|
}
|
|
136
147
|
declare module '@ibti-tech/chatbot/components/ChatbotHeader/styles' {
|
|
137
|
-
/// <reference types="react" />
|
|
138
148
|
export const Name: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
139
149
|
export const ProfileInfo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
140
150
|
export const ProfileImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
@@ -142,7 +152,7 @@ declare module '@ibti-tech/chatbot/components/ChatbotHeader/styles' {
|
|
|
142
152
|
//# sourceMappingURL=styles.d.ts.map
|
|
143
153
|
}
|
|
144
154
|
declare module '@ibti-tech/chatbot/components/ChatbotHeader/styles.d.ts' {
|
|
145
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
155
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotHeader/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,+NAGhB,CAAA;AAED,eAAO,MAAM,WAAW,6NAIvB,CAAA;AAED,eAAO,MAAM,YAAY,+NAaxB,CAAA;AAED,eAAO,MAAM,OAAO,6NAMnB,CAAA"}
|
|
146
156
|
}
|
|
147
157
|
declare module '@ibti-tech/chatbot/components/ChatbotStatusLabel/index' {
|
|
148
158
|
import React from 'react';
|
|
@@ -152,35 +162,39 @@ declare module '@ibti-tech/chatbot/components/ChatbotStatusLabel/index' {
|
|
|
152
162
|
//# sourceMappingURL=index.d.ts.map
|
|
153
163
|
}
|
|
154
164
|
declare module '@ibti-tech/chatbot/components/ChatbotStatusLabel/index.d.ts' {
|
|
155
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
165
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotStatusLabel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,MAAM,MAAM,uBAAuB,GAAG,EAAE,CAAA;AAExC,eAAO,MAAM,kBAAkB,GAAI,IAAK,uBAAuB,sBA0B9D,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
156
166
|
}
|
|
157
167
|
declare module '@ibti-tech/chatbot/components/ChatbotStatusLabel/styles' {
|
|
158
|
-
/// <reference types="react" />
|
|
159
168
|
export const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
160
169
|
$signalColor: string;
|
|
161
170
|
}>> & string;
|
|
162
171
|
//# sourceMappingURL=styles.d.ts.map
|
|
163
172
|
}
|
|
164
173
|
declare module '@ibti-tech/chatbot/components/ChatbotStatusLabel/styles.d.ts' {
|
|
165
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
174
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotStatusLabel/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;kBAA+B,MAAM;YAaxD,CAAA"}
|
|
166
175
|
}
|
|
167
176
|
declare module '@ibti-tech/chatbot/components/ChatbotToggle/index' {
|
|
168
177
|
import React from 'react';
|
|
169
|
-
export type ChatbotToggleProps = {
|
|
170
|
-
|
|
178
|
+
export type ChatbotToggleProps = {
|
|
179
|
+
verticalPosition?: 'top' | 'bottom';
|
|
180
|
+
opened?: boolean;
|
|
181
|
+
};
|
|
182
|
+
export const ChatbotToggle: ({ verticalPosition, opened: openedProp, }: ChatbotToggleProps) => React.JSX.Element;
|
|
171
183
|
export default ChatbotToggle;
|
|
172
184
|
//# sourceMappingURL=index.d.ts.map
|
|
173
185
|
}
|
|
174
186
|
declare module '@ibti-tech/chatbot/components/ChatbotToggle/index.d.ts' {
|
|
175
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
187
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotToggle/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IACnC,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,2CAG3B,kBAAkB,sBAgCpB,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
176
188
|
}
|
|
177
189
|
declare module '@ibti-tech/chatbot/components/ChatbotToggle/styles' {
|
|
178
|
-
|
|
179
|
-
|
|
190
|
+
export const ButtonWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
191
|
+
$opened: boolean;
|
|
192
|
+
$verticalPosition: "top" | "bottom";
|
|
193
|
+
}>> & string;
|
|
180
194
|
//# sourceMappingURL=styles.d.ts.map
|
|
181
195
|
}
|
|
182
196
|
declare module '@ibti-tech/chatbot/components/ChatbotToggle/styles.d.ts' {
|
|
183
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
197
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/ChatbotToggle/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;aACf,OAAO;uBACG,KAAK,GAAG,QAAQ;YA0CpC,CAAA"}
|
|
184
198
|
}
|
|
185
199
|
declare module '@ibti-tech/chatbot/components/MessageBalloon/index' {
|
|
186
200
|
import React from 'react';
|
|
@@ -194,23 +208,43 @@ declare module '@ibti-tech/chatbot/components/MessageBalloon/index' {
|
|
|
194
208
|
//# sourceMappingURL=index.d.ts.map
|
|
195
209
|
}
|
|
196
210
|
declare module '@ibti-tech/chatbot/components/MessageBalloon/index.d.ts' {
|
|
197
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
211
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/MessageBalloon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAA;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAQpC,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,YAAY,CAAC,WAAW,CAAA;IAC9B,cAAc,EAAE,MAAM,CAAA;CACvB,CAAA;AAOD,eAAO,MAAM,cAAc,GAAI,2BAG5B,mBAAmB,sBAiJrB,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
198
212
|
}
|
|
199
213
|
declare module '@ibti-tech/chatbot/components/MessageBalloon/styles' {
|
|
200
|
-
|
|
201
|
-
|
|
214
|
+
export const Time: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
215
|
+
$type: "received" | "sent";
|
|
216
|
+
}>> & string;
|
|
202
217
|
export const Balloon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
203
|
-
$type:
|
|
204
|
-
$error?: boolean
|
|
218
|
+
$type: "received" | "sent";
|
|
219
|
+
$error?: boolean;
|
|
205
220
|
}>> & string;
|
|
206
221
|
export const Label: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
222
|
+
export const BalloonAndActionsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
223
|
+
$type: "received" | "sent";
|
|
224
|
+
}>> & string;
|
|
225
|
+
export const BalloonContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
226
|
+
$type: "received" | "sent";
|
|
227
|
+
}>> & string;
|
|
228
|
+
export const TimestampAndActionsRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
229
|
+
$type: "received" | "sent";
|
|
230
|
+
}>> & string;
|
|
231
|
+
export const ActionsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
232
|
+
$type: "received" | "sent";
|
|
233
|
+
$isVisible: boolean;
|
|
234
|
+
}>> & string;
|
|
235
|
+
export const ActionButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
236
|
+
$messageType: "received" | "sent";
|
|
237
|
+
}>> & string;
|
|
238
|
+
export const Tooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
239
|
+
$messageType: "received" | "sent";
|
|
240
|
+
}>> & string;
|
|
207
241
|
export const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
208
|
-
$type:
|
|
242
|
+
$type: "received" | "sent";
|
|
209
243
|
}>> & string;
|
|
210
244
|
//# sourceMappingURL=styles.d.ts.map
|
|
211
245
|
}
|
|
212
246
|
declare module '@ibti-tech/chatbot/components/MessageBalloon/styles.d.ts' {
|
|
213
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
247
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/MessageBalloon/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;WAAwB,UAAU,GAAG,MAAM;YAkB3D,CAAA;AAED,eAAO,MAAM,OAAO;WACX,UAAU,GAAG,MAAM;aACjB,OAAO;YA2JjB,CAAA;AAED,eAAO,MAAM,KAAK,+NAGjB,CAAA;AAED,eAAO,MAAM,wBAAwB;WAAuB,UAAU,GAAG,MAAM;YAiB9E,CAAA;AAED,eAAO,MAAM,gBAAgB;WAAuB,UAAU,GAAG,MAAM;YAmBtE,CAAA;AAED,eAAO,MAAM,sBAAsB;WAAuB,UAAU,GAAG,MAAM;YAqB5E,CAAA;AAED,eAAO,MAAM,gBAAgB;WAAuB,UAAU,GAAG,MAAM;gBAAc,OAAO;YAoC3F,CAAA;AAED,eAAO,MAAM,YAAY;kBAAiC,UAAU,GAAG,MAAM;YA2B5E,CAAA;AAED,eAAO,MAAM,OAAO;kBAA+B,UAAU,GAAG,MAAM;YAerE,CAAA;AAED,eAAO,MAAM,OAAO;WAAuB,UAAU,GAAG,MAAM;YAiB7D,CAAA"}
|
|
214
248
|
}
|
|
215
249
|
declare module '@ibti-tech/chatbot/components/SuggestedQuestions/index' {
|
|
216
250
|
import React from 'react';
|
|
@@ -220,10 +254,9 @@ declare module '@ibti-tech/chatbot/components/SuggestedQuestions/index' {
|
|
|
220
254
|
//# sourceMappingURL=index.d.ts.map
|
|
221
255
|
}
|
|
222
256
|
declare module '@ibti-tech/chatbot/components/SuggestedQuestions/index.d.ts' {
|
|
223
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
257
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/SuggestedQuestions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,MAAM,MAAM,uBAAuB,GAAG,EAAE,CAAA;AAExC,eAAO,MAAM,kBAAkB,GAAI,IAAK,uBAAuB,kCA4B9D,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
224
258
|
}
|
|
225
259
|
declare module '@ibti-tech/chatbot/components/SuggestedQuestions/styles' {
|
|
226
|
-
/// <reference types="react" />
|
|
227
260
|
export const QuestionButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("@ibti-tech/ui").ButtonProps & import("styled-components/dist/types").BaseObject, import("styled-components/dist/types").BaseObject>> & string & Omit<({ size, suffix, prefix, fillWidth, ...props }: import("@ibti-tech/ui").ButtonProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
228
261
|
export const QuestionListItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
229
262
|
export const QuestionList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
@@ -232,7 +265,30 @@ declare module '@ibti-tech/chatbot/components/SuggestedQuestions/styles' {
|
|
|
232
265
|
//# sourceMappingURL=styles.d.ts.map
|
|
233
266
|
}
|
|
234
267
|
declare module '@ibti-tech/chatbot/components/SuggestedQuestions/styles.d.ts' {
|
|
235
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
268
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/SuggestedQuestions/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,mcAK1B,CAAA;AAED,eAAO,MAAM,gBAAgB,6NAAc,CAAA;AAE3C,eAAO,MAAM,YAAY,iOAIxB,CAAA;AAED,eAAO,MAAM,KAAK,+NAMjB,CAAA;AAED,eAAO,MAAM,OAAO,6NAEnB,CAAA"}
|
|
269
|
+
}
|
|
270
|
+
declare module '@ibti-tech/chatbot/components/WritingIndicator/index' {
|
|
271
|
+
import React from 'react';
|
|
272
|
+
export const WritingIndicator: () => React.JSX.Element;
|
|
273
|
+
export default WritingIndicator;
|
|
274
|
+
//# sourceMappingURL=index.d.ts.map
|
|
275
|
+
}
|
|
276
|
+
declare module '@ibti-tech/chatbot/components/WritingIndicator/index.d.ts' {
|
|
277
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/WritingIndicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,eAAO,MAAM,gBAAgB,yBAiB5B,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
278
|
+
}
|
|
279
|
+
declare module '@ibti-tech/chatbot/components/WritingIndicator/styles' {
|
|
280
|
+
export const Dots: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
281
|
+
export const Dot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
282
|
+
$delay: number;
|
|
283
|
+
}>> & string;
|
|
284
|
+
export const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
285
|
+
export const Balloon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
286
|
+
export const Label: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
287
|
+
export const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
288
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
289
|
+
}
|
|
290
|
+
declare module '@ibti-tech/chatbot/components/WritingIndicator/styles.d.ts' {
|
|
291
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/components/WritingIndicator/styles.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,IAAI,+NAKhB,CAAA;AAED,eAAO,MAAM,GAAG;YAAyB,MAAM;YAO9C,CAAA;AAED,eAAO,MAAM,IAAI,+NAEhB,CAAA;AAED,eAAO,MAAM,OAAO,6NA0BnB,CAAA;AAED,eAAO,MAAM,KAAK,+NAEjB,CAAA;AAED,eAAO,MAAM,OAAO,6NAKnB,CAAA"}
|
|
236
292
|
}
|
|
237
293
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/context' {
|
|
238
294
|
import * as React from 'react';
|
|
@@ -248,14 +304,16 @@ declare module '@ibti-tech/chatbot/contexts/Chatbot/context' {
|
|
|
248
304
|
opened: boolean;
|
|
249
305
|
openedToggle: () => void;
|
|
250
306
|
status: ChatbotTypes.Status;
|
|
307
|
+
apiConnectionError: boolean;
|
|
251
308
|
suggestedQuestions: ReturnType<typeof useChatbotSuggestedQuestions>;
|
|
252
309
|
apiURL: string;
|
|
310
|
+
texts?: ChatbotTypes.Texts;
|
|
253
311
|
};
|
|
254
312
|
export const ChatbotContext: React.Context<ChatbotContextProps>;
|
|
255
313
|
//# sourceMappingURL=context.d.ts.map
|
|
256
314
|
}
|
|
257
315
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/context.d.ts' {
|
|
258
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
316
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/contexts/Chatbot/context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAE7E,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAA;IAC3B,YAAY,EAAE,YAAY,CAAC,WAAW,EAAE,CAAA;IACxC,SAAS,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IACtD,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACjD,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,MAAM,EAAE,YAAY,CAAC,MAAM,CAAA;IAC3B,kBAAkB,EAAE,OAAO,CAAA;IAC3B,kBAAkB,EAAE,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAA;IACnE,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,YAAY,CAAC,KAAK,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,cAAc,oCAAiD,CAAA"}
|
|
259
317
|
}
|
|
260
318
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/provider' {
|
|
261
319
|
import React, { ReactNode } from 'react';
|
|
@@ -265,12 +323,14 @@ declare module '@ibti-tech/chatbot/contexts/Chatbot/provider' {
|
|
|
265
323
|
apiURL: string;
|
|
266
324
|
children?: ReactNode;
|
|
267
325
|
theme: ChatbotTypes.Theme;
|
|
326
|
+
isOpen?: boolean;
|
|
327
|
+
texts?: ChatbotTypes.Texts;
|
|
268
328
|
};
|
|
269
|
-
export const ChatbotProvider: ({ locale, children, apiURL, theme, }: ChatbotProviderProps) => React.JSX.Element;
|
|
329
|
+
export const ChatbotProvider: ({ locale, children, apiURL, theme, isOpen, texts, }: ChatbotProviderProps) => React.JSX.Element;
|
|
270
330
|
//# sourceMappingURL=provider.d.ts.map
|
|
271
331
|
}
|
|
272
332
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/provider.d.ts' {
|
|
273
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
333
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/contexts/Chatbot/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAwC,MAAM,OAAO,CAAA;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAMpC,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAA;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,KAAK,EAAE,YAAY,CAAC,KAAK,CAAA;IACzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,YAAY,CAAC,KAAK,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,qDAO7B,oBAAoB,sBAuDtB,CAAA"}
|
|
274
334
|
}
|
|
275
335
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatFeedbackBox' {
|
|
276
336
|
type SendUserRatingProps = {
|
|
@@ -288,7 +348,7 @@ declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatFeedbackBox' {
|
|
|
288
348
|
//# sourceMappingURL=useChatFeedbackBox.d.ts.map
|
|
289
349
|
}
|
|
290
350
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatFeedbackBox.d.ts' {
|
|
291
|
-
{"version":3,"file":"useChatFeedbackBox.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
351
|
+
{"version":3,"file":"useChatFeedbackBox.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/contexts/Chatbot/useChatFeedbackBox.ts"],"names":[],"mappings":"AAIA,KAAK,mBAAmB,GAAG;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;oDAkB1B,mBAAmB;;CA2BvB,CAAA"}
|
|
292
352
|
}
|
|
293
353
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbot' {
|
|
294
354
|
export const useChatbot: () => import("@ibti-tech/chatbot/contexts/Chatbot/context").ChatbotContextProps;
|
|
@@ -296,7 +356,7 @@ declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbot' {
|
|
|
296
356
|
//# sourceMappingURL=useChatbot.d.ts.map
|
|
297
357
|
}
|
|
298
358
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbot.d.ts' {
|
|
299
|
-
{"version":3,"file":"useChatbot.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
359
|
+
{"version":3,"file":"useChatbot.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/contexts/Chatbot/useChatbot.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,+CAMtB,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
300
360
|
}
|
|
301
361
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbotMessages' {
|
|
302
362
|
import { ChatbotTypes } from 'types';
|
|
@@ -310,6 +370,7 @@ declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbotMessages' {
|
|
|
310
370
|
loading: boolean;
|
|
311
371
|
writing: boolean;
|
|
312
372
|
error: unknown;
|
|
373
|
+
apiConnectionError: boolean;
|
|
313
374
|
suggestedQuestions: {
|
|
314
375
|
loading: boolean;
|
|
315
376
|
data: string[];
|
|
@@ -321,7 +382,7 @@ declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbotMessages' {
|
|
|
321
382
|
//# sourceMappingURL=useChatbotMessages.d.ts.map
|
|
322
383
|
}
|
|
323
384
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbotMessages.d.ts' {
|
|
324
|
-
{"version":3,"file":"useChatbotMessages.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
385
|
+
{"version":3,"file":"useChatbotMessages.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/contexts/Chatbot/useChatbotMessages.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAYpC,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,YAAY,CAAC,MAAM,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,qBAGhC,yBAAyB;;iCAuJgB,MAAM;;;;;;;;;;;CA0MjD,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
325
386
|
}
|
|
326
387
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbotSuggestedQuestions' {
|
|
327
388
|
import { ChatbotTypes } from 'types';
|
|
@@ -339,27 +400,60 @@ declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbotSuggestedQuestions
|
|
|
339
400
|
//# sourceMappingURL=useChatbotSuggestedQuestions.d.ts.map
|
|
340
401
|
}
|
|
341
402
|
declare module '@ibti-tech/chatbot/contexts/Chatbot/useChatbotSuggestedQuestions.d.ts' {
|
|
342
|
-
{"version":3,"file":"useChatbotSuggestedQuestions.d.ts","sourceRoot":"","sources":["../../../../../home/
|
|
403
|
+
{"version":3,"file":"useChatbotSuggestedQuestions.d.ts","sourceRoot":"","sources":["../../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/contexts/Chatbot/useChatbotSuggestedQuestions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,MAAM,MAAM,mCAAmC,GAAG;IAChD,WAAW,EAAE,YAAY,CAAC,eAAe,EAAE,CAAA;IAC3C,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,YAAY,CAAC,MAAM,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,4BAA4B,GAAI,kCAI1C,mCAAmC;;;;;CA2BrC,CAAA"}
|
|
343
404
|
}
|
|
344
405
|
declare module '@ibti-tech/chatbot/cookies/chat' {
|
|
345
406
|
import { ChatbotTypes } from 'types';
|
|
407
|
+
/**
|
|
408
|
+
* Manages chat conversation persistence in localStorage (client-side) or cookies (server-side).
|
|
409
|
+
* Automatically cleans up conversations older than 24 hours.
|
|
410
|
+
* Migrates data from cookies to localStorage automatically.
|
|
411
|
+
*/
|
|
346
412
|
export class ChatCookieManager {
|
|
413
|
+
storageKey: string;
|
|
347
414
|
cookieKey: string;
|
|
415
|
+
maxAgeInHours: number;
|
|
416
|
+
/**
|
|
417
|
+
* Validates that the data can be safely serialized to JSON
|
|
418
|
+
* @param data - Data to validate
|
|
419
|
+
* @throws Error if data cannot be serialized
|
|
420
|
+
*/
|
|
348
421
|
checkValidJSONData(data: any): void;
|
|
422
|
+
/**
|
|
423
|
+
* Checks if the stored data has expired based on creation timestamp
|
|
424
|
+
* @param createdAt - ISO timestamp string when data was created
|
|
425
|
+
* @returns true if data is older than maxAgeInHours
|
|
426
|
+
*/
|
|
427
|
+
isDataExpired(createdAt: string): boolean;
|
|
428
|
+
/**
|
|
429
|
+
* Migrates data from cookies to localStorage if cookies exist and localStorage doesn't
|
|
430
|
+
* @returns true if migration was performed
|
|
431
|
+
*/
|
|
432
|
+
migrateFromCookies(): boolean;
|
|
433
|
+
/**
|
|
434
|
+
* Retrieves chat messages from localStorage (client-side) or cookies (server-side).
|
|
435
|
+
* Automatically migrates from cookies to localStorage and cleans expired data.
|
|
436
|
+
* @returns Array of chat messages, empty array if none found or expired
|
|
437
|
+
*/
|
|
349
438
|
getData(): ChatbotTypes.ChatMessage[];
|
|
439
|
+
/**
|
|
440
|
+
* Saves chat messages to localStorage (client-side) or cookies (server-side).
|
|
441
|
+
* Data expires after 24 hours (checked on read, not enforced by storage).
|
|
442
|
+
* @param data - Array of chat messages to persist
|
|
443
|
+
*/
|
|
350
444
|
saveData(data: ChatbotTypes.ChatMessage[]): void;
|
|
351
445
|
}
|
|
352
446
|
//# sourceMappingURL=chat.d.ts.map
|
|
353
447
|
}
|
|
354
448
|
declare module '@ibti-tech/chatbot/cookies/chat.d.ts' {
|
|
355
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
449
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/cookies/chat.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAWpC;;;;GAIG;AACH,qBAAa,iBAAiB;IAC5B,UAAU,SAAqB;IAC/B,SAAS,SAAqB;IAC9B,aAAa,SAAK;IAElB;;;;OAIG;IACH,kBAAkB,CAAC,IAAI,EAAE,GAAG;IAQ5B;;;;OAIG;IACH,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO;IAOzC;;;OAGG;IACH,kBAAkB,IAAI,OAAO;IA6C7B;;;;OAIG;IACH,OAAO,IAAI,YAAY,CAAC,WAAW,EAAE;IAoErC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC,WAAW,EAAE;CAiD1C"}
|
|
356
450
|
}
|
|
357
451
|
declare module '@ibti-tech/chatbot/events/assistant-answer' {
|
|
358
452
|
export const dispatchAssitantAnswer: () => void;
|
|
359
453
|
//# sourceMappingURL=assistant-answer.d.ts.map
|
|
360
454
|
}
|
|
361
455
|
declare module '@ibti-tech/chatbot/events/assistant-answer.d.ts' {
|
|
362
|
-
{"version":3,"file":"assistant-answer.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
456
|
+
{"version":3,"file":"assistant-answer.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/events/assistant-answer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,YAGlC,CAAA"}
|
|
363
457
|
}
|
|
364
458
|
declare module '@ibti-tech/chatbot/events/eventNames' {
|
|
365
459
|
export const CUSTOM_EVENT_NAMES: {
|
|
@@ -368,7 +462,18 @@ declare module '@ibti-tech/chatbot/events/eventNames' {
|
|
|
368
462
|
//# sourceMappingURL=eventNames.d.ts.map
|
|
369
463
|
}
|
|
370
464
|
declare module '@ibti-tech/chatbot/events/eventNames.d.ts' {
|
|
371
|
-
{"version":3,"file":"eventNames.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
465
|
+
{"version":3,"file":"eventNames.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/events/eventNames.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;CAE9B,CAAA"}
|
|
466
|
+
}
|
|
467
|
+
declare module '@ibti-tech/chatbot/hooks/useChatbotTexts' {
|
|
468
|
+
import { LocaleTerms } from 'i18n/LocaleTerms';
|
|
469
|
+
/**
|
|
470
|
+
* Hook to get chatbot texts, using custom texts if provided, otherwise using default i18n texts
|
|
471
|
+
*/
|
|
472
|
+
export const useChatbotTexts: () => LocaleTerms;
|
|
473
|
+
//# sourceMappingURL=useChatbotTexts.d.ts.map
|
|
474
|
+
}
|
|
475
|
+
declare module '@ibti-tech/chatbot/hooks/useChatbotTexts.d.ts' {
|
|
476
|
+
{"version":3,"file":"useChatbotTexts.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/hooks/useChatbotTexts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAG9C;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,WAuHlC,CAAA"}
|
|
372
477
|
}
|
|
373
478
|
declare module '@ibti-tech/chatbot/hooks/useElementScroll' {
|
|
374
479
|
import { RefObject } from 'react';
|
|
@@ -381,14 +486,14 @@ declare module '@ibti-tech/chatbot/hooks/useElementScroll' {
|
|
|
381
486
|
//# sourceMappingURL=useElementScroll.d.ts.map
|
|
382
487
|
}
|
|
383
488
|
declare module '@ibti-tech/chatbot/hooks/useElementScroll.d.ts' {
|
|
384
|
-
{"version":3,"file":"useElementScroll.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
489
|
+
{"version":3,"file":"useElementScroll.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/hooks/useElementScroll.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAA;AAE9D,eAAO,MAAM,gBAAgB,GAAI,YAAY,SAAS,CAAC,cAAc,CAAC;;;;CA+DrE,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
385
490
|
}
|
|
386
491
|
declare module '@ibti-tech/chatbot/hooks/useI18n' {
|
|
387
492
|
export const useI18n: () => import("@ibti-tech/chatbot/i18n/LocaleTerms").LocaleTerms;
|
|
388
493
|
//# sourceMappingURL=useI18n.d.ts.map
|
|
389
494
|
}
|
|
390
495
|
declare module '@ibti-tech/chatbot/hooks/useI18n.d.ts' {
|
|
391
|
-
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
496
|
+
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/hooks/useI18n.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,iDAInB,CAAA"}
|
|
392
497
|
}
|
|
393
498
|
declare module '@ibti-tech/chatbot/hooks/useUpdatedTime' {
|
|
394
499
|
export type UseUpdatedTimeOptions = {
|
|
@@ -400,7 +505,7 @@ declare module '@ibti-tech/chatbot/hooks/useUpdatedTime' {
|
|
|
400
505
|
//# sourceMappingURL=useUpdatedTime.d.ts.map
|
|
401
506
|
}
|
|
402
507
|
declare module '@ibti-tech/chatbot/hooks/useUpdatedTime.d.ts' {
|
|
403
|
-
{"version":3,"file":"useUpdatedTime.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
508
|
+
{"version":3,"file":"useUpdatedTime.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/hooks/useUpdatedTime.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAAG;IAClC,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,wBAE5B,qBAAqB;;CAiBvB,CAAA"}
|
|
404
509
|
}
|
|
405
510
|
declare module '@ibti-tech/chatbot/i18n/LocaleTerms' {
|
|
406
511
|
export interface LocaleTerms {
|
|
@@ -414,6 +519,7 @@ declare module '@ibti-tech/chatbot/i18n/LocaleTerms' {
|
|
|
414
519
|
LOADING: string;
|
|
415
520
|
WRITING: string;
|
|
416
521
|
UNAVAILABLE: string;
|
|
522
|
+
INACTIVE: string;
|
|
417
523
|
};
|
|
418
524
|
CHATBOT_BAR: {
|
|
419
525
|
OPEN: string;
|
|
@@ -431,11 +537,18 @@ declare module '@ibti-tech/chatbot/i18n/LocaleTerms' {
|
|
|
431
537
|
CLOSE_BUTTON: string;
|
|
432
538
|
RATE: string;
|
|
433
539
|
};
|
|
540
|
+
MESSAGE_ACTIONS: {
|
|
541
|
+
COPY: string;
|
|
542
|
+
SHARE: string;
|
|
543
|
+
RESEND: string;
|
|
544
|
+
};
|
|
545
|
+
USER_LABEL: string;
|
|
546
|
+
WRITING_MESSAGE: string;
|
|
434
547
|
}
|
|
435
548
|
//# sourceMappingURL=LocaleTerms.d.ts.map
|
|
436
549
|
}
|
|
437
550
|
declare module '@ibti-tech/chatbot/i18n/LocaleTerms.d.ts' {
|
|
438
|
-
{"version":3,"file":"LocaleTerms.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
551
|
+
{"version":3,"file":"LocaleTerms.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/i18n/LocaleTerms.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,EAAE,MAAM,CAAA;IACzB,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,MAAM,CAAA;QACf,OAAO,EAAE,MAAM,CAAA;QACf,WAAW,EAAE,MAAM,CAAA;QACnB,QAAQ,EAAE,MAAM,CAAA;KACjB,CAAA;IACD,WAAW,EAAE;QACX,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;IACD,mBAAmB,EAAE;QACnB,KAAK,EAAE,MAAM,CAAA;QACb,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,aAAa,EAAE,MAAM,CAAA;QACrB,aAAa,EAAE,MAAM,CAAA;QACrB,YAAY,EAAE,MAAM,CAAA;QACpB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,eAAe,EAAE;QACf,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,EAAE,MAAM,CAAA;QACb,MAAM,EAAE,MAAM,CAAA;KACf,CAAA;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;CACxB"}
|
|
439
552
|
}
|
|
440
553
|
declare module '@ibti-tech/chatbot/i18n/index' {
|
|
441
554
|
import { ChatbotTypes } from 'types';
|
|
@@ -446,18 +559,19 @@ declare module '@ibti-tech/chatbot/i18n/index' {
|
|
|
446
559
|
//# sourceMappingURL=index.d.ts.map
|
|
447
560
|
}
|
|
448
561
|
declare module '@ibti-tech/chatbot/i18n/index.d.ts' {
|
|
449
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
562
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAI3C,eAAO,MAAM,OAAO,0BAA2B,CAAA;AAE/C,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,WAAW,CAGzD,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,MAAM,YAAY,CAAC,MAAM,gBAAe,CAAA"}
|
|
450
563
|
}
|
|
451
564
|
declare module '@ibti-tech/chatbot/index' {
|
|
452
565
|
export { useChatbot } from 'contexts/Chatbot/useChatbot';
|
|
453
566
|
export { ChatbotContext } from 'contexts/Chatbot/context';
|
|
454
567
|
export { ChatbotProvider } from 'contexts/Chatbot/provider';
|
|
455
|
-
export { ChatbotBar } from 'components/ChatbotBar';
|
|
568
|
+
export { ChatbotBar, type ChatbotBarProps } from 'components/ChatbotBar';
|
|
456
569
|
export { ChatbotDevice } from 'components/ChatbotDevice';
|
|
570
|
+
export type { ChatbotTypes } from 'types';
|
|
457
571
|
//# sourceMappingURL=index.d.ts.map
|
|
458
572
|
}
|
|
459
573
|
declare module '@ibti-tech/chatbot/index.d.ts' {
|
|
460
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../home/
|
|
574
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,YAAY,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA"}
|
|
461
575
|
}
|
|
462
576
|
declare module '@ibti-tech/chatbot/mocks/chatHistory' {
|
|
463
577
|
export const chatHistoryMocked: readonly [{
|
|
@@ -521,7 +635,7 @@ declare module '@ibti-tech/chatbot/mocks/chatHistory' {
|
|
|
521
635
|
//# sourceMappingURL=chatHistory.d.ts.map
|
|
522
636
|
}
|
|
523
637
|
declare module '@ibti-tech/chatbot/mocks/chatHistory.d.ts' {
|
|
524
|
-
{"version":3,"file":"chatHistory.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
638
|
+
{"version":3,"file":"chatHistory.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/mocks/chatHistory.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4EpB,CAAA;AAEV,eAAe,iBAAiB,CAAA"}
|
|
525
639
|
}
|
|
526
640
|
declare module '@ibti-tech/chatbot/services/chatbot-api' {
|
|
527
641
|
import { ChatbotTypes } from 'types';
|
|
@@ -547,11 +661,18 @@ declare module '@ibti-tech/chatbot/services/chatbot-api' {
|
|
|
547
661
|
};
|
|
548
662
|
export const sendChatContext: ({ chatContext, locale, onReceiving, onDone, apiURL, }: SendNewQuestionOptions) => Promise<void>;
|
|
549
663
|
export const sendUserChatFeedback: ({ apiURL, chatContext, locale, ratingScore, description, }: SendUserChatFeedbackParams) => Promise<Response>;
|
|
664
|
+
/**
|
|
665
|
+
* Checks if the API is available by making a lightweight request
|
|
666
|
+
* @param apiUrl - The API base URL
|
|
667
|
+
* @param locale - The locale for the request
|
|
668
|
+
* @returns Promise that resolves if API is available, rejects if not
|
|
669
|
+
*/
|
|
670
|
+
export const checkApiHealth: (apiUrl: string, locale?: ChatbotTypes.Locale) => Promise<boolean>;
|
|
550
671
|
export const getWelcomeMessage: (apiUrl: string, locale?: ChatbotTypes.Locale) => Promise<string>;
|
|
551
672
|
//# sourceMappingURL=chatbot-api.d.ts.map
|
|
552
673
|
}
|
|
553
674
|
declare module '@ibti-tech/chatbot/services/chatbot-api.d.ts' {
|
|
554
|
-
{"version":3,"file":"chatbot-api.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
675
|
+
{"version":3,"file":"chatbot-api.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/services/chatbot-api.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,GAAG,MAAM,CAAC,EAAE,CAAA;IACjE,MAAM,EAAE,YAAY,CAAC,MAAM,CAAA;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;IACpE,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,GAAG,MAAM,CAAC,EAAE,CAAA;IACjE,MAAM,EAAE,YAAY,CAAC,MAAM,CAAA;IAC3B,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAA;AAEzC,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAA;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,SAAS,GAAG,MAAM,CAAC,EAAE,CAAA;IACjE,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,eAAe,GAAU,uDAMnC,sBAAsB,kBAuCrB,CAAA;AAyBJ,eAAO,MAAM,oBAAoB,GAAU,4DAMxC,0BAA0B,sBAYzB,CAAA;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GACzB,QAAQ,MAAM,EACd,SAAQ,YAAY,CAAC,MAAa,KACjC,OAAO,CAAC,OAAO,CAkCjB,CAAA;AAED,eAAO,MAAM,iBAAiB,GAC5B,QAAQ,MAAM,EACd,SAAQ,YAAY,CAAC,MAAa,oBAenC,CAAA"}
|
|
555
676
|
}
|
|
556
677
|
declare module '@ibti-tech/chatbot/themes/index' {
|
|
557
678
|
export const themes: {
|
|
@@ -641,7 +762,7 @@ declare module '@ibti-tech/chatbot/themes/index' {
|
|
|
641
762
|
//# sourceMappingURL=index.d.ts.map
|
|
642
763
|
}
|
|
643
764
|
declare module '@ibti-tech/chatbot/themes/index.d.ts' {
|
|
644
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
765
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/themes/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGlB,CAAA"}
|
|
645
766
|
}
|
|
646
767
|
declare module '@ibti-tech/chatbot/types/index' {
|
|
647
768
|
export namespace ChatbotTypes {
|
|
@@ -663,11 +784,51 @@ declare module '@ibti-tech/chatbot/types/index' {
|
|
|
663
784
|
apiURL?: string;
|
|
664
785
|
additionalInstructions?: string;
|
|
665
786
|
}
|
|
787
|
+
interface CustomTexts {
|
|
788
|
+
CHATBOT_NAME?: string;
|
|
789
|
+
INPUT_PLACEHOLDER?: string;
|
|
790
|
+
CHATBOT_BAR?: {
|
|
791
|
+
OPEN?: string;
|
|
792
|
+
CLOSE?: string;
|
|
793
|
+
};
|
|
794
|
+
CHAT_FEEDBACK?: {
|
|
795
|
+
TITLE?: string;
|
|
796
|
+
DESCRIPTION?: string;
|
|
797
|
+
MESSAGE_FIELD?: string;
|
|
798
|
+
SUBMIT_BUTTON?: string;
|
|
799
|
+
CLOSE_BUTTON?: string;
|
|
800
|
+
RATE?: string;
|
|
801
|
+
};
|
|
802
|
+
SUGGESTED_QUESTIONS?: {
|
|
803
|
+
TITLE?: string;
|
|
804
|
+
LOADING?: string;
|
|
805
|
+
};
|
|
806
|
+
STATUS?: {
|
|
807
|
+
ONLINE?: string;
|
|
808
|
+
LOADING?: string;
|
|
809
|
+
WRITING?: string;
|
|
810
|
+
UNAVAILABLE?: string;
|
|
811
|
+
INACTIVE?: string;
|
|
812
|
+
};
|
|
813
|
+
ERRORS?: {
|
|
814
|
+
UNKNOWN?: string;
|
|
815
|
+
};
|
|
816
|
+
MESSAGE_ACTIONS?: {
|
|
817
|
+
COPY?: string;
|
|
818
|
+
SHARE?: string;
|
|
819
|
+
RESEND?: string;
|
|
820
|
+
};
|
|
821
|
+
USER_LABEL?: string;
|
|
822
|
+
WRITING_MESSAGE?: string;
|
|
823
|
+
}
|
|
824
|
+
interface Texts {
|
|
825
|
+
[locale: string]: CustomTexts;
|
|
826
|
+
}
|
|
666
827
|
}
|
|
667
828
|
//# sourceMappingURL=index.d.ts.map
|
|
668
829
|
}
|
|
669
830
|
declare module '@ibti-tech/chatbot/types/index.d.ts' {
|
|
670
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
831
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/types/index.ts"],"names":[],"mappings":"AAAA,yBAAiB,YAAY,CAAC;IAC5B,KAAY,KAAK,GAAG,OAAO,GAAG,MAAM,CAAA;IAEpC,KAAY,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IAEnC,KAAY,WAAW,GAAG;QACxB,EAAE,EAAE,MAAM,CAAA;QACV,SAAS,EAAE,MAAM,CAAA;QACjB,IAAI,EAAE,MAAM,GAAG,WAAW,CAAA;QAC1B,OAAO,EAAE,MAAM,CAAA;QACf,KAAK,CAAC,EAAE,OAAO,CAAA;KAChB,CAAA;IAED,KAAY,eAAe,GAAG;QAC5B,IAAI,EAAE,MAAM,GAAG,WAAW,CAAA;QAC1B,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;IAED,KAAY,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,CAAA;IAErE,UAAiB,MAAM;QACrB,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,sBAAsB,CAAC,EAAE,MAAM,CAAA;KAChC;IAED,UAAiB,WAAW;QAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,iBAAiB,CAAC,EAAE,MAAM,CAAA;QAC1B,WAAW,CAAC,EAAE;YACZ,IAAI,CAAC,EAAE,MAAM,CAAA;YACb,KAAK,CAAC,EAAE,MAAM,CAAA;SACf,CAAA;QACD,aAAa,CAAC,EAAE;YACd,KAAK,CAAC,EAAE,MAAM,CAAA;YACd,WAAW,CAAC,EAAE,MAAM,CAAA;YACpB,aAAa,CAAC,EAAE,MAAM,CAAA;YACtB,aAAa,CAAC,EAAE,MAAM,CAAA;YACtB,YAAY,CAAC,EAAE,MAAM,CAAA;YACrB,IAAI,CAAC,EAAE,MAAM,CAAA;SACd,CAAA;QACD,mBAAmB,CAAC,EAAE;YACpB,KAAK,CAAC,EAAE,MAAM,CAAA;YACd,OAAO,CAAC,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,MAAM,CAAC,EAAE;YACP,MAAM,CAAC,EAAE,MAAM,CAAA;YACf,OAAO,CAAC,EAAE,MAAM,CAAA;YAChB,OAAO,CAAC,EAAE,MAAM,CAAA;YAChB,WAAW,CAAC,EAAE,MAAM,CAAA;YACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;SAClB,CAAA;QACD,MAAM,CAAC,EAAE;YACP,OAAO,CAAC,EAAE,MAAM,CAAA;SACjB,CAAA;QACD,eAAe,CAAC,EAAE;YAChB,IAAI,CAAC,EAAE,MAAM,CAAA;YACb,KAAK,CAAC,EAAE,MAAM,CAAA;YACd,MAAM,CAAC,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,eAAe,CAAC,EAAE,MAAM,CAAA;KACzB;IAED,UAAiB,KAAK;QACpB,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW,CAAA;KAC9B;CACF"}
|
|
671
832
|
}
|
|
672
833
|
declare module '@ibti-tech/chatbot/utils/formatMessageTime' {
|
|
673
834
|
import { ChatbotTypes } from 'types';
|
|
@@ -675,7 +836,7 @@ declare module '@ibti-tech/chatbot/utils/formatMessageTime' {
|
|
|
675
836
|
//# sourceMappingURL=formatMessageTime.d.ts.map
|
|
676
837
|
}
|
|
677
838
|
declare module '@ibti-tech/chatbot/utils/formatMessageTime.d.ts' {
|
|
678
|
-
{"version":3,"file":"formatMessageTime.d.ts","sourceRoot":"","sources":["../../../../home/
|
|
839
|
+
{"version":3,"file":"formatMessageTime.d.ts","sourceRoot":"","sources":["../../../../home/runner/work/ibti-chatbot/ibti-chatbot/src/utils/formatMessageTime.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,eAAO,MAAM,iBAAiB,GAC5B,SAAS,MAAM,EACf,gBAAgB,MAAM,EACtB,QAAQ,YAAY,CAAC,MAAM,WAG5B,CAAA"}
|
|
679
840
|
}
|
|
680
841
|
declare module '@ibti-tech/chatbot' {
|
|
681
842
|
import main = require('@ibti-tech/chatbot/src/index');
|