@ai12z/react 3.13.1-alpha.2 → 3.13.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai12z/react",
|
|
3
|
-
"version": "3.13.1-alpha.
|
|
3
|
+
"version": "3.13.1-alpha.3",
|
|
4
4
|
"description": "ai12z React Library",
|
|
5
5
|
"author": "Alpesh Patel <alpesh@ai12z.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@stencil/react-output-target": "1.2.0",
|
|
24
|
-
"ai12z": "^3.13.1-alpha.
|
|
24
|
+
"ai12z": "^3.13.1-alpha.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/react": "^18.3.0",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "3c2936145dd63c35d88bc01fd78dfcb925d62302"
|
|
37
37
|
}
|
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
import * as clientComponents from '@ai12z/react';
|
|
2
|
-
import { createComponent } from '@stencil/react-output-target/ssr';
|
|
3
|
-
export const serializeShadowRoot = { default: "declarative-shadow-dom" };
|
|
4
|
-
export const Ai12zBot = createComponent({
|
|
5
|
-
tagName: 'ai12z-bot',
|
|
6
|
-
properties: {
|
|
7
|
-
dataKey: 'data-key',
|
|
8
|
-
dataMode: 'data-mode',
|
|
9
|
-
configId: 'config-id',
|
|
10
|
-
dataAttributes: 'data-attributes'
|
|
11
|
-
},
|
|
12
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
13
|
-
clientModule: clientComponents.Ai12zBot,
|
|
14
|
-
serializeShadowRoot,
|
|
15
|
-
});
|
|
16
|
-
export const Ai12zCategory = createComponent({
|
|
17
|
-
tagName: 'ai12z-category',
|
|
18
|
-
properties: {
|
|
19
|
-
categoryList: 'category-list',
|
|
20
|
-
linkTarget: 'link-target'
|
|
21
|
-
},
|
|
22
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
23
|
-
clientModule: clientComponents.Ai12zCategory,
|
|
24
|
-
serializeShadowRoot,
|
|
25
|
-
});
|
|
26
|
-
export const Ai12zChat = createComponent({
|
|
27
|
-
tagName: 'ai12z-chat',
|
|
28
|
-
properties: {
|
|
29
|
-
chatId: 'chat-id',
|
|
30
|
-
chats: 'chats',
|
|
31
|
-
query: 'query',
|
|
32
|
-
apiKey: 'api-key',
|
|
33
|
-
aiMessageId: 'ai-message-id',
|
|
34
|
-
imgFiles: 'img-files',
|
|
35
|
-
env: 'env',
|
|
36
|
-
conversationId: 'conversation-id',
|
|
37
|
-
dataAttributes: 'data-attributes',
|
|
38
|
-
target: 'target',
|
|
39
|
-
voiceType: 'voice-type',
|
|
40
|
-
voice: 'voice',
|
|
41
|
-
componentType: 'component-type',
|
|
42
|
-
chatPosition: 'chat-position',
|
|
43
|
-
customstyle: 'customstyle',
|
|
44
|
-
customJS: 'custom-j-s',
|
|
45
|
-
avatarUrl: 'avatar-url',
|
|
46
|
-
settings: 'settings'
|
|
47
|
-
},
|
|
48
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
49
|
-
clientModule: clientComponents.Ai12zChat,
|
|
50
|
-
serializeShadowRoot,
|
|
51
|
-
});
|
|
52
|
-
export const Ai12zChatMessage = createComponent({
|
|
53
|
-
tagName: 'ai12z-chat-message',
|
|
54
|
-
properties: {
|
|
55
|
-
text: 'text',
|
|
56
|
-
streaming: 'streaming',
|
|
57
|
-
kbSettings: 'kb-settings',
|
|
58
|
-
showButton: 'show-button'
|
|
59
|
-
},
|
|
60
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
61
|
-
clientModule: clientComponents.Ai12zChatMessage,
|
|
62
|
-
serializeShadowRoot,
|
|
63
|
-
});
|
|
64
|
-
export const Ai12zContainer = createComponent({
|
|
65
|
-
tagName: 'ai12z-container',
|
|
66
|
-
properties: {
|
|
67
|
-
dataKey: 'data-key',
|
|
68
|
-
dataMode: 'data-mode',
|
|
69
|
-
keyName: 'key-name',
|
|
70
|
-
instanceId: 'instance-id',
|
|
71
|
-
parameters: 'parameters',
|
|
72
|
-
renderType: 'render-type'
|
|
73
|
-
},
|
|
74
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
75
|
-
clientModule: clientComponents.Ai12zContainer,
|
|
76
|
-
serializeShadowRoot,
|
|
77
|
-
});
|
|
78
|
-
export const Ai12zCta = createComponent({
|
|
79
|
-
tagName: 'ai12z-cta',
|
|
80
|
-
properties: {
|
|
81
|
-
isCta: 'is-cta',
|
|
82
|
-
dataKey: 'data-key',
|
|
83
|
-
dataMode: 'data-mode',
|
|
84
|
-
configId: 'config-id',
|
|
85
|
-
dataAttributes: 'data-attributes'
|
|
86
|
-
},
|
|
87
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
88
|
-
clientModule: clientComponents.Ai12zCta,
|
|
89
|
-
serializeShadowRoot,
|
|
90
|
-
});
|
|
91
|
-
export const Ai12zForm = createComponent({
|
|
92
|
-
tagName: 'ai12z-form',
|
|
93
|
-
properties: {
|
|
94
|
-
dataKey: 'data-key',
|
|
95
|
-
dataMode: 'data-mode',
|
|
96
|
-
keyName: 'key-name'
|
|
97
|
-
},
|
|
98
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
99
|
-
clientModule: clientComponents.Ai12zForm,
|
|
100
|
-
serializeShadowRoot,
|
|
101
|
-
});
|
|
102
|
-
export const Ai12zInlineSearch = createComponent({
|
|
103
|
-
tagName: 'ai12z-inline-search',
|
|
104
|
-
properties: {
|
|
105
|
-
dataKey: 'data-key',
|
|
106
|
-
dataMode: 'data-mode',
|
|
107
|
-
resultPosition: 'result-position',
|
|
108
|
-
autoSearch: 'auto-search',
|
|
109
|
-
categorize: 'categorize'
|
|
110
|
-
},
|
|
111
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
112
|
-
clientModule: clientComponents.Ai12zInlineSearch,
|
|
113
|
-
serializeShadowRoot,
|
|
114
|
-
});
|
|
115
|
-
export const Ai12zInputForm = createComponent({
|
|
116
|
-
tagName: 'ai12z-input-form',
|
|
117
|
-
properties: {
|
|
118
|
-
isChat: 'is-chat',
|
|
119
|
-
placeholder: 'placeholder',
|
|
120
|
-
buttonText: 'button-text',
|
|
121
|
-
followUpLabel: 'follow-up-label',
|
|
122
|
-
iconSrc: 'icon-src',
|
|
123
|
-
isImageUpload: 'is-image-upload',
|
|
124
|
-
isEnableMic: 'is-enable-mic',
|
|
125
|
-
componentType: 'component-type',
|
|
126
|
-
chatLength: 'chat-length',
|
|
127
|
-
dataKey: 'data-key',
|
|
128
|
-
dataMode: 'data-mode'
|
|
129
|
-
},
|
|
130
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
131
|
-
clientModule: clientComponents.Ai12zInputForm,
|
|
132
|
-
serializeShadowRoot,
|
|
133
|
-
});
|
|
134
|
-
export const Ai12zKnowledgeBox = createComponent({
|
|
135
|
-
tagName: 'ai12z-knowledge-box',
|
|
136
|
-
properties: {
|
|
137
|
-
dataKey: 'data-key',
|
|
138
|
-
dataMode: 'data-mode',
|
|
139
|
-
configId: 'config-id',
|
|
140
|
-
question: 'question',
|
|
141
|
-
socket: 'socket',
|
|
142
|
-
isLoading: 'is-loading'
|
|
143
|
-
},
|
|
144
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
145
|
-
clientModule: clientComponents.Ai12zKnowledgeBox,
|
|
146
|
-
serializeShadowRoot,
|
|
147
|
-
});
|
|
148
|
-
export const Ai12zSearchPanel = createComponent({
|
|
149
|
-
tagName: 'ai12z-search-panel',
|
|
150
|
-
properties: {
|
|
151
|
-
dataKey: 'data-key',
|
|
152
|
-
dataMode: 'data-mode',
|
|
153
|
-
categorize: 'categorize',
|
|
154
|
-
placeholder: 'placeholder',
|
|
155
|
-
redirectUrl: 'redirect-url'
|
|
156
|
-
},
|
|
157
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
158
|
-
clientModule: clientComponents.Ai12zSearchPanel,
|
|
159
|
-
serializeShadowRoot,
|
|
160
|
-
});
|
|
161
|
-
export const Ai12zSpinner = createComponent({
|
|
162
|
-
tagName: 'ai12z-spinner',
|
|
163
|
-
properties: { class: 'class' },
|
|
164
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
165
|
-
clientModule: clientComponents.Ai12zSpinner,
|
|
166
|
-
serializeShadowRoot,
|
|
167
|
-
});
|
|
168
|
-
export const AudioRecorder = createComponent({
|
|
169
|
-
tagName: 'audio-recorder',
|
|
170
|
-
properties: { componentType: 'component-type' },
|
|
171
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
172
|
-
clientModule: clientComponents.AudioRecorder,
|
|
173
|
-
serializeShadowRoot,
|
|
174
|
-
});
|
|
175
|
-
export const ChatAvatar = createComponent({
|
|
176
|
-
tagName: 'chat-avatar',
|
|
177
|
-
properties: {
|
|
178
|
-
senderType: 'sender-type',
|
|
179
|
-
avatarUrl: 'avatar-url'
|
|
180
|
-
},
|
|
181
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
182
|
-
clientModule: clientComponents.ChatAvatar,
|
|
183
|
-
serializeShadowRoot,
|
|
184
|
-
});
|
|
185
|
-
export const ChatbotHistory = createComponent({
|
|
186
|
-
tagName: 'chatbot-history',
|
|
187
|
-
properties: {
|
|
188
|
-
botName: 'bot-name',
|
|
189
|
-
chatlogo: 'chatlogo',
|
|
190
|
-
heading: 'heading',
|
|
191
|
-
styles: 'styles',
|
|
192
|
-
scripts: 'scripts'
|
|
193
|
-
},
|
|
194
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
195
|
-
clientModule: clientComponents.ChatbotHistory,
|
|
196
|
-
serializeShadowRoot,
|
|
197
|
-
});
|
|
198
|
-
export const DeleteConfirmationModal = createComponent({
|
|
199
|
-
tagName: 'delete-confirmation-modal',
|
|
200
|
-
properties: {
|
|
201
|
-
show: 'show',
|
|
202
|
-
dialogTitle: 'dialog-title',
|
|
203
|
-
message: 'message',
|
|
204
|
-
confirmButtonText: 'confirm-button-text',
|
|
205
|
-
cancelButtonText: 'cancel-button-text'
|
|
206
|
-
},
|
|
207
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
208
|
-
clientModule: clientComponents.DeleteConfirmationModal,
|
|
209
|
-
serializeShadowRoot,
|
|
210
|
-
});
|
|
211
|
-
export const DynamicForm = createComponent({
|
|
212
|
-
tagName: 'dynamic-form',
|
|
213
|
-
properties: {
|
|
214
|
-
form: 'form',
|
|
215
|
-
formSettings: 'form-settings',
|
|
216
|
-
formsettings: 'formsettings',
|
|
217
|
-
theme: 'theme'
|
|
218
|
-
},
|
|
219
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
220
|
-
clientModule: clientComponents.DynamicForm,
|
|
221
|
-
serializeShadowRoot,
|
|
222
|
-
});
|
|
223
|
-
export const HamburgerMenu = createComponent({
|
|
224
|
-
tagName: 'hamburger-menu',
|
|
225
|
-
properties: {
|
|
226
|
-
isToggled: 'is-toggled',
|
|
227
|
-
botSettings: 'bot-settings',
|
|
228
|
-
isLiveAgentEnabled: 'is-live-agent-enabled',
|
|
229
|
-
liveAgentButtonText: 'live-agent-button-text'
|
|
230
|
-
},
|
|
231
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
232
|
-
clientModule: clientComponents.HamburgerMenu,
|
|
233
|
-
serializeShadowRoot,
|
|
234
|
-
});
|
|
235
|
-
export const ImageUploader = createComponent({
|
|
236
|
-
tagName: 'image-uploader',
|
|
237
|
-
properties: {
|
|
238
|
-
maxImages: 'max-images',
|
|
239
|
-
disabled: 'disabled'
|
|
240
|
-
},
|
|
241
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
242
|
-
clientModule: clientComponents.ImageUploader,
|
|
243
|
-
serializeShadowRoot,
|
|
244
|
-
});
|
|
245
|
-
export const InteractionButtons = createComponent({
|
|
246
|
-
tagName: 'interaction-buttons',
|
|
247
|
-
properties: {
|
|
248
|
-
message: 'message',
|
|
249
|
-
currentIndex: 'current-index',
|
|
250
|
-
dataKey: 'data-key',
|
|
251
|
-
dataMode: 'data-mode',
|
|
252
|
-
voiceType: 'voice-type',
|
|
253
|
-
voice: 'voice',
|
|
254
|
-
source: 'source',
|
|
255
|
-
conversationId: 'conversation-id',
|
|
256
|
-
projectId: 'project-id'
|
|
257
|
-
},
|
|
258
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
259
|
-
clientModule: clientComponents.InteractionButtons,
|
|
260
|
-
serializeShadowRoot,
|
|
261
|
-
});
|
|
262
|
-
export const ItemList = createComponent({
|
|
263
|
-
tagName: 'item-list',
|
|
264
|
-
properties: {
|
|
265
|
-
inputType: 'input-type',
|
|
266
|
-
carouselType: 'carousel-type',
|
|
267
|
-
customSource: 'custom-source',
|
|
268
|
-
customStyles: 'custom-styles',
|
|
269
|
-
customScripts: 'custom-scripts',
|
|
270
|
-
isExpanded: 'is-expanded'
|
|
271
|
-
},
|
|
272
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
273
|
-
clientModule: clientComponents.ItemList,
|
|
274
|
-
serializeShadowRoot,
|
|
275
|
-
});
|
|
276
|
-
export const KeyboardShortcutsDialog = createComponent({
|
|
277
|
-
tagName: 'keyboard-shortcuts-dialog',
|
|
278
|
-
properties: { show: 'show' },
|
|
279
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
280
|
-
clientModule: clientComponents.KeyboardShortcutsDialog,
|
|
281
|
-
serializeShadowRoot,
|
|
282
|
-
});
|
|
283
|
-
export const LiveAgentChat = createComponent({
|
|
284
|
-
tagName: 'live-agent-chat',
|
|
285
|
-
properties: { config: 'config' },
|
|
286
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
287
|
-
clientModule: clientComponents.LiveAgentChat,
|
|
288
|
-
serializeShadowRoot,
|
|
289
|
-
});
|
|
290
|
-
export const PrivacyModal = createComponent({
|
|
291
|
-
tagName: 'privacy-modal',
|
|
292
|
-
properties: {
|
|
293
|
-
message: 'message',
|
|
294
|
-
show: 'show'
|
|
295
|
-
},
|
|
296
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
297
|
-
clientModule: clientComponents.PrivacyModal,
|
|
298
|
-
serializeShadowRoot,
|
|
299
|
-
});
|
|
300
|
-
export const SearchResultsPage = createComponent({
|
|
301
|
-
tagName: 'search-results-page',
|
|
302
|
-
properties: {
|
|
303
|
-
dataKey: 'data-key',
|
|
304
|
-
dataMode: 'data-mode',
|
|
305
|
-
dataAttributes: 'data-attributes',
|
|
306
|
-
configId: 'config-id'
|
|
307
|
-
},
|
|
308
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
309
|
-
clientModule: clientComponents.SearchResultsPage,
|
|
310
|
-
serializeShadowRoot,
|
|
311
|
-
});
|
|
312
|
-
export const TypingIndicator = createComponent({
|
|
313
|
-
tagName: 'typing-indicator',
|
|
314
|
-
properties: {
|
|
315
|
-
size: 'size',
|
|
316
|
-
color: 'color',
|
|
317
|
-
spacing: 'spacing'
|
|
318
|
-
},
|
|
319
|
-
hydrateModule: import('ai12z/hydrate'),
|
|
320
|
-
clientModule: clientComponents.TypingIndicator,
|
|
321
|
-
serializeShadowRoot,
|
|
322
|
-
});
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
2
|
-
import { type SerializeShadowRootOptions } from '@stencil/react-output-target/ssr';
|
|
3
|
-
import { type Ai12zInputFormCustomEvent, type ImageUploaderCustomEvent } from "ai12z";
|
|
4
|
-
import { Ai12zBot as Ai12zBotElement } from "ai12z/dist/components/ai12z-bot.js";
|
|
5
|
-
import { Ai12zCategory as Ai12zCategoryElement } from "ai12z/dist/components/ai12z-category.js";
|
|
6
|
-
import { Ai12zChatMessage as Ai12zChatMessageElement } from "ai12z/dist/components/ai12z-chat-message.js";
|
|
7
|
-
import { Ai12zChat as Ai12zChatElement } from "ai12z/dist/components/ai12z-chat.js";
|
|
8
|
-
import { Ai12zContainer as Ai12zContainerElement } from "ai12z/dist/components/ai12z-container.js";
|
|
9
|
-
import { Ai12zCta as Ai12zCtaElement } from "ai12z/dist/components/ai12z-cta.js";
|
|
10
|
-
import { Ai12zForm as Ai12zFormElement } from "ai12z/dist/components/ai12z-form.js";
|
|
11
|
-
import { Ai12zInlineSearch as Ai12zInlineSearchElement } from "ai12z/dist/components/ai12z-inline-search.js";
|
|
12
|
-
import { Ai12zInputForm as Ai12zInputFormElement } from "ai12z/dist/components/ai12z-input-form.js";
|
|
13
|
-
import { Ai12zKnowledgeBox as Ai12zKnowledgeBoxElement } from "ai12z/dist/components/ai12z-knowledge-box.js";
|
|
14
|
-
import { Ai12zSearchPanel as Ai12zSearchPanelElement } from "ai12z/dist/components/ai12z-search-panel.js";
|
|
15
|
-
import { Ai12zSpinner as Ai12zSpinnerElement } from "ai12z/dist/components/ai12z-spinner.js";
|
|
16
|
-
import { AudioRecorder as AudioRecorderElement } from "ai12z/dist/components/audio-recorder.js";
|
|
17
|
-
import { ChatAvatar as ChatAvatarElement } from "ai12z/dist/components/chat-avatar.js";
|
|
18
|
-
import { ChatbotHistory as ChatbotHistoryElement } from "ai12z/dist/components/chatbot-history.js";
|
|
19
|
-
import { DeleteConfirmationModal as DeleteConfirmationModalElement } from "ai12z/dist/components/delete-confirmation-modal.js";
|
|
20
|
-
import { DynamicForm as DynamicFormElement } from "ai12z/dist/components/dynamic-form.js";
|
|
21
|
-
import { HamburgerMenu as HamburgerMenuElement } from "ai12z/dist/components/hamburger-menu.js";
|
|
22
|
-
import { ImageUploader as ImageUploaderElement } from "ai12z/dist/components/image-uploader.js";
|
|
23
|
-
import { InteractionButtons as InteractionButtonsElement } from "ai12z/dist/components/interaction-buttons.js";
|
|
24
|
-
import { ItemList as ItemListElement } from "ai12z/dist/components/item-list.js";
|
|
25
|
-
import { KeyboardShortcutsDialog as KeyboardShortcutsDialogElement } from "ai12z/dist/components/keyboard-shortcuts-dialog.js";
|
|
26
|
-
import { LiveAgentChat as LiveAgentChatElement } from "ai12z/dist/components/live-agent-chat.js";
|
|
27
|
-
import { PrivacyModal as PrivacyModalElement } from "ai12z/dist/components/privacy-modal.js";
|
|
28
|
-
import { SearchResultsPage as SearchResultsPageElement } from "ai12z/dist/components/search-results-page.js";
|
|
29
|
-
import { TypingIndicator as TypingIndicatorElement } from "ai12z/dist/components/typing-indicator.js";
|
|
30
|
-
export declare const serializeShadowRoot: SerializeShadowRootOptions;
|
|
31
|
-
export type Ai12zBotEvents = {
|
|
32
|
-
onMessageSent: EventName<CustomEvent<any>>;
|
|
33
|
-
onMessageReceived: EventName<CustomEvent<any>>;
|
|
34
|
-
onClose: EventName<CustomEvent<any>>;
|
|
35
|
-
onOpen: EventName<CustomEvent<any>>;
|
|
36
|
-
onMinimize: EventName<CustomEvent<any>>;
|
|
37
|
-
onErrored: EventName<CustomEvent<any>>;
|
|
38
|
-
onFormSubmitted: EventName<CustomEvent<any>>;
|
|
39
|
-
onIsElementAvailable: EventName<CustomEvent<boolean>>;
|
|
40
|
-
};
|
|
41
|
-
export declare const Ai12zBot: StencilReactComponent<Ai12zBotElement, Ai12zBotEvents>;
|
|
42
|
-
export type Ai12zCategoryEvents = NonNullable<unknown>;
|
|
43
|
-
export declare const Ai12zCategory: StencilReactComponent<Ai12zCategoryElement, Ai12zCategoryEvents>;
|
|
44
|
-
export type Ai12zChatEvents = {
|
|
45
|
-
onFeedback: EventName<CustomEvent<any>>;
|
|
46
|
-
onSurvey: EventName<CustomEvent<any>>;
|
|
47
|
-
onStateChanged: EventName<CustomEvent<any>>;
|
|
48
|
-
onMessageReceived: EventName<CustomEvent<{
|
|
49
|
-
data: string;
|
|
50
|
-
domId: string;
|
|
51
|
-
}>>;
|
|
52
|
-
onFormComplete: EventName<CustomEvent<any>>;
|
|
53
|
-
};
|
|
54
|
-
export declare const Ai12zChat: StencilReactComponent<Ai12zChatElement, Ai12zChatEvents>;
|
|
55
|
-
export type Ai12zChatMessageEvents = NonNullable<unknown>;
|
|
56
|
-
export declare const Ai12zChatMessage: StencilReactComponent<Ai12zChatMessageElement, Ai12zChatMessageEvents>;
|
|
57
|
-
export type Ai12zContainerEvents = {
|
|
58
|
-
onResponseReceived: EventName<CustomEvent<any>>;
|
|
59
|
-
onErrored: EventName<CustomEvent<string>>;
|
|
60
|
-
};
|
|
61
|
-
export declare const Ai12zContainer: StencilReactComponent<Ai12zContainerElement, Ai12zContainerEvents>;
|
|
62
|
-
export type Ai12zCtaEvents = {
|
|
63
|
-
onErrored: EventName<CustomEvent<any>>;
|
|
64
|
-
onButtonClicked: EventName<CustomEvent<any>>;
|
|
65
|
-
onMessageSent: EventName<CustomEvent<any>>;
|
|
66
|
-
onMessageReceived: EventName<CustomEvent<any>>;
|
|
67
|
-
onOpen: EventName<CustomEvent<any>>;
|
|
68
|
-
onClose: EventName<CustomEvent<any>>;
|
|
69
|
-
onStateChanged: EventName<CustomEvent<any>>;
|
|
70
|
-
onClearResults: EventName<CustomEvent<any>>;
|
|
71
|
-
onClearInput: EventName<CustomEvent<any>>;
|
|
72
|
-
onStopStream: EventName<CustomEvent<any>>;
|
|
73
|
-
onStartStream: EventName<CustomEvent<{
|
|
74
|
-
search: string;
|
|
75
|
-
maxQuestion?: boolean;
|
|
76
|
-
chatData?: any;
|
|
77
|
-
attributes?: any;
|
|
78
|
-
imgFiles?: any;
|
|
79
|
-
}>>;
|
|
80
|
-
onSurvey: EventName<CustomEvent<any>>;
|
|
81
|
-
onFormSubmitted: EventName<CustomEvent<any>>;
|
|
82
|
-
onStreamResponse: EventName<CustomEvent<any>>;
|
|
83
|
-
onEndResponse: EventName<CustomEvent<any>>;
|
|
84
|
-
onIsElementAvailable: EventName<CustomEvent<any>>;
|
|
85
|
-
};
|
|
86
|
-
export declare const Ai12zCta: StencilReactComponent<Ai12zCtaElement, Ai12zCtaEvents>;
|
|
87
|
-
export type Ai12zFormEvents = {
|
|
88
|
-
onFormSubmitted: EventName<CustomEvent<any>>;
|
|
89
|
-
onErrored: EventName<CustomEvent<string>>;
|
|
90
|
-
};
|
|
91
|
-
export declare const Ai12zForm: StencilReactComponent<Ai12zFormElement, Ai12zFormEvents>;
|
|
92
|
-
export type Ai12zInlineSearchEvents = {
|
|
93
|
-
onStateChanged: EventName<CustomEvent<boolean>>;
|
|
94
|
-
onStartStream: EventName<CustomEvent<{
|
|
95
|
-
search: string;
|
|
96
|
-
}>>;
|
|
97
|
-
onStreamResponse: EventName<CustomEvent<any>>;
|
|
98
|
-
onStartInlineResponse: EventName<CustomEvent<any>>;
|
|
99
|
-
onEndResponse: EventName<CustomEvent<any>>;
|
|
100
|
-
};
|
|
101
|
-
export declare const Ai12zInlineSearch: StencilReactComponent<Ai12zInlineSearchElement, Ai12zInlineSearchEvents>;
|
|
102
|
-
export type Ai12zInputFormEvents = {
|
|
103
|
-
onAction: EventName<CustomEvent<any>>;
|
|
104
|
-
onCapturedImgUpload: EventName<Ai12zInputFormCustomEvent<File[]>>;
|
|
105
|
-
};
|
|
106
|
-
export declare const Ai12zInputForm: StencilReactComponent<Ai12zInputFormElement, Ai12zInputFormEvents>;
|
|
107
|
-
export type Ai12zKnowledgeBoxEvents = {
|
|
108
|
-
onMessageReceived: EventName<CustomEvent<{
|
|
109
|
-
data: any;
|
|
110
|
-
domId: string;
|
|
111
|
-
}>>;
|
|
112
|
-
onMessageSent: EventName<CustomEvent<{
|
|
113
|
-
data: any;
|
|
114
|
-
}>>;
|
|
115
|
-
onErrored: EventName<CustomEvent<any>>;
|
|
116
|
-
onInitializeScripts: EventName<CustomEvent<{
|
|
117
|
-
id: string;
|
|
118
|
-
}>>;
|
|
119
|
-
};
|
|
120
|
-
export declare const Ai12zKnowledgeBox: StencilReactComponent<Ai12zKnowledgeBoxElement, Ai12zKnowledgeBoxEvents>;
|
|
121
|
-
export type Ai12zSearchPanelEvents = NonNullable<unknown>;
|
|
122
|
-
export declare const Ai12zSearchPanel: StencilReactComponent<Ai12zSearchPanelElement, Ai12zSearchPanelEvents>;
|
|
123
|
-
export type Ai12zSpinnerEvents = NonNullable<unknown>;
|
|
124
|
-
export declare const Ai12zSpinner: StencilReactComponent<Ai12zSpinnerElement, Ai12zSpinnerEvents>;
|
|
125
|
-
export type AudioRecorderEvents = {
|
|
126
|
-
onStartRecord: EventName<CustomEvent<any>>;
|
|
127
|
-
onStopRecord: EventName<CustomEvent<any>>;
|
|
128
|
-
onSendTranscript: EventName<CustomEvent<any>>;
|
|
129
|
-
};
|
|
130
|
-
export declare const AudioRecorder: StencilReactComponent<AudioRecorderElement, AudioRecorderEvents>;
|
|
131
|
-
export type ChatAvatarEvents = NonNullable<unknown>;
|
|
132
|
-
export declare const ChatAvatar: StencilReactComponent<ChatAvatarElement, ChatAvatarEvents>;
|
|
133
|
-
export type ChatbotHistoryEvents = {
|
|
134
|
-
onChatClick: EventName<CustomEvent<any>>;
|
|
135
|
-
onDeleteChatHistory: EventName<CustomEvent<any>>;
|
|
136
|
-
};
|
|
137
|
-
export declare const ChatbotHistory: StencilReactComponent<ChatbotHistoryElement, ChatbotHistoryEvents>;
|
|
138
|
-
export type DeleteConfirmationModalEvents = {
|
|
139
|
-
onConfirmDelete: EventName<CustomEvent<void>>;
|
|
140
|
-
onCancelDelete: EventName<CustomEvent<void>>;
|
|
141
|
-
};
|
|
142
|
-
export declare const DeleteConfirmationModal: StencilReactComponent<DeleteConfirmationModalElement, DeleteConfirmationModalEvents>;
|
|
143
|
-
export type DynamicFormEvents = {
|
|
144
|
-
onFormComplete: EventName<CustomEvent<any>>;
|
|
145
|
-
};
|
|
146
|
-
export declare const DynamicForm: StencilReactComponent<DynamicFormElement, DynamicFormEvents>;
|
|
147
|
-
export type HamburgerMenuEvents = {
|
|
148
|
-
onHamburgerMenuClick: EventName<CustomEvent<any>>;
|
|
149
|
-
onHandleByLiveAgent: EventName<CustomEvent<any>>;
|
|
150
|
-
onToggledChange: EventName<CustomEvent<boolean>>;
|
|
151
|
-
};
|
|
152
|
-
export declare const HamburgerMenu: StencilReactComponent<HamburgerMenuElement, HamburgerMenuEvents>;
|
|
153
|
-
export type ImageUploaderEvents = {
|
|
154
|
-
onImagesChange: EventName<CustomEvent<string[]>>;
|
|
155
|
-
onImageUploadError: EventName<CustomEvent<string>>;
|
|
156
|
-
onCapturedImgUpload: EventName<ImageUploaderCustomEvent<File[]>>;
|
|
157
|
-
onIsElementAvailable: EventName<CustomEvent<boolean>>;
|
|
158
|
-
};
|
|
159
|
-
export declare const ImageUploader: StencilReactComponent<ImageUploaderElement, ImageUploaderEvents>;
|
|
160
|
-
export type InteractionButtonsEvents = NonNullable<unknown>;
|
|
161
|
-
export declare const InteractionButtons: StencilReactComponent<InteractionButtonsElement, InteractionButtonsEvents>;
|
|
162
|
-
export type ItemListEvents = {
|
|
163
|
-
onSendQueryToAI: EventName<CustomEvent<any>>;
|
|
164
|
-
onComponentReady: EventName<CustomEvent<boolean>>;
|
|
165
|
-
};
|
|
166
|
-
export declare const ItemList: StencilReactComponent<ItemListElement, ItemListEvents>;
|
|
167
|
-
export type KeyboardShortcutsDialogEvents = {
|
|
168
|
-
onCloseDialog: EventName<CustomEvent<any>>;
|
|
169
|
-
};
|
|
170
|
-
export declare const KeyboardShortcutsDialog: StencilReactComponent<KeyboardShortcutsDialogElement, KeyboardShortcutsDialogEvents>;
|
|
171
|
-
export type LiveAgentChatEvents = NonNullable<unknown>;
|
|
172
|
-
export declare const LiveAgentChat: StencilReactComponent<LiveAgentChatElement, LiveAgentChatEvents>;
|
|
173
|
-
export type PrivacyModalEvents = NonNullable<unknown>;
|
|
174
|
-
export declare const PrivacyModal: StencilReactComponent<PrivacyModalElement, PrivacyModalEvents>;
|
|
175
|
-
export type SearchResultsPageEvents = {
|
|
176
|
-
onMessageSent: EventName<CustomEvent<any>>;
|
|
177
|
-
onMessageReceived: EventName<CustomEvent<any>>;
|
|
178
|
-
onErrored: EventName<CustomEvent<any>>;
|
|
179
|
-
onStartStream: EventName<CustomEvent<any>>;
|
|
180
|
-
};
|
|
181
|
-
export declare const SearchResultsPage: StencilReactComponent<SearchResultsPageElement, SearchResultsPageEvents>;
|
|
182
|
-
export type TypingIndicatorEvents = NonNullable<unknown>;
|
|
183
|
-
export declare const TypingIndicator: StencilReactComponent<TypingIndicatorElement, TypingIndicatorEvents>;
|