@inploi/plugin-chatbot 11.0.0 → 12.0.1
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/cdn/index.js +3 -3
- package/dist/chatbot-body-0a83b49f.cjs +1 -0
- package/dist/chatbot-body-6bcdaff5.js +4195 -0
- package/dist/chatbot.analytics.d.ts +37 -0
- package/dist/chatbot.analytics.test.d.ts +1 -0
- package/dist/chatbot.api.d.ts +2 -718
- package/dist/chatbot.idb.d.ts +1 -0
- package/dist/chatbot.state.d.ts +3 -16
- package/dist/chatbot.utils.d.ts +1 -16
- package/dist/components/useChatService.d.ts +1 -0
- package/dist/index-0295b2b0.cjs +5 -0
- package/dist/{index-523342dc.js → index-8ab77244.js} +1289 -1850
- package/dist/interpreter.d.ts +1 -2
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/dist/rpc.d.ts +1 -493
- package/dist/style/tokens.d.ts +4 -4
- package/package.json +6 -6
- package/dist/chatbot-body-5d5ea35e.cjs +0 -1
- package/dist/chatbot-body-e9d58f57.js +0 -3667
- package/dist/index-da8d6977.cjs +0 -5
package/dist/interpreter.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FlowNode } from '@inploi/core/flows';
|
|
2
2
|
import { AnalyticsService, ApiClient, Logger, TalentBankClient } from '@inploi/sdk';
|
|
3
3
|
import { ChatbotInput } from './components/chat-input/chat-input';
|
|
4
|
-
import { ChatMessage, FlowSubmission,
|
|
4
|
+
import { ChatMessage, FlowSubmission, KeyToSubmissionMap, StartedFlow } from './chatbot.state';
|
|
5
5
|
import { TFunction } from './i18n';
|
|
6
6
|
|
|
7
7
|
export declare const followNodes: ({ node, nodes, stopWhen, }: {
|
|
@@ -51,5 +51,4 @@ export declare const createFlowInterpreter: ({ flow, analytics, logger, talentBa
|
|
|
51
51
|
};
|
|
52
52
|
abort: () => void;
|
|
53
53
|
};
|
|
54
|
-
export declare const formatPhoneNumber: (phoneNumber: FlowSubmissionPhone["value"]) => string;
|
|
55
54
|
export {};
|
package/dist/plugin-chatbot.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-0295b2b0.cjs");require("@inploi/sdk");exports.chatbotPlugin=e.chatbotPlugin;
|
package/dist/plugin-chatbot.js
CHANGED
package/dist/rpc.d.ts
CHANGED
|
@@ -1,493 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
id: string | number;
|
|
3
|
-
}, {
|
|
4
|
-
id_type: "internal" | "external";
|
|
5
|
-
}, never, {
|
|
6
|
-
company: {
|
|
7
|
-
name: string;
|
|
8
|
-
};
|
|
9
|
-
flow: {
|
|
10
|
-
id: string;
|
|
11
|
-
version: number;
|
|
12
|
-
build: number;
|
|
13
|
-
nodes: ({
|
|
14
|
-
type: "text";
|
|
15
|
-
id: string;
|
|
16
|
-
data: {
|
|
17
|
-
text: string;
|
|
18
|
-
};
|
|
19
|
-
isHead?: boolean | undefined;
|
|
20
|
-
nextId?: string | undefined;
|
|
21
|
-
} | {
|
|
22
|
-
type: "end-flow";
|
|
23
|
-
id: string;
|
|
24
|
-
data: {
|
|
25
|
-
systemMessage: string;
|
|
26
|
-
};
|
|
27
|
-
isHead?: boolean | undefined;
|
|
28
|
-
nextId?: string | undefined;
|
|
29
|
-
} | {
|
|
30
|
-
type: "integration-application-submit";
|
|
31
|
-
id: string;
|
|
32
|
-
data: {
|
|
33
|
-
integrationId: string;
|
|
34
|
-
skipConfirmation: boolean;
|
|
35
|
-
submitLabel: string;
|
|
36
|
-
submitKeys: "all" | string[];
|
|
37
|
-
key?: string | undefined;
|
|
38
|
-
};
|
|
39
|
-
isHead?: boolean | undefined;
|
|
40
|
-
nextId?: string | undefined;
|
|
41
|
-
} | {
|
|
42
|
-
type: "integration-workflow-get";
|
|
43
|
-
id: string;
|
|
44
|
-
data: {
|
|
45
|
-
integrationId: string;
|
|
46
|
-
};
|
|
47
|
-
isHead?: boolean | undefined;
|
|
48
|
-
nextId?: string | undefined;
|
|
49
|
-
} | {
|
|
50
|
-
type: "link";
|
|
51
|
-
id: string;
|
|
52
|
-
data: {
|
|
53
|
-
href: string;
|
|
54
|
-
cta: string;
|
|
55
|
-
};
|
|
56
|
-
isHead?: boolean | undefined;
|
|
57
|
-
nextId?: string | undefined;
|
|
58
|
-
} | {
|
|
59
|
-
type: "image";
|
|
60
|
-
id: string;
|
|
61
|
-
data: {
|
|
62
|
-
url: string;
|
|
63
|
-
width: number;
|
|
64
|
-
height: number;
|
|
65
|
-
};
|
|
66
|
-
isHead?: boolean | undefined;
|
|
67
|
-
nextId?: string | undefined;
|
|
68
|
-
} | {
|
|
69
|
-
type: "question-boolean";
|
|
70
|
-
id: string;
|
|
71
|
-
data: {
|
|
72
|
-
key: string;
|
|
73
|
-
question: string;
|
|
74
|
-
trueLabel: string;
|
|
75
|
-
falseLabel: string;
|
|
76
|
-
optional: boolean;
|
|
77
|
-
};
|
|
78
|
-
isHead?: boolean | undefined;
|
|
79
|
-
nextId?: string | undefined;
|
|
80
|
-
} | {
|
|
81
|
-
type: "question-text";
|
|
82
|
-
id: string;
|
|
83
|
-
data: {
|
|
84
|
-
key: string;
|
|
85
|
-
question: string;
|
|
86
|
-
optional: boolean;
|
|
87
|
-
format: "date" | "text" | "url" | "email" | "phone";
|
|
88
|
-
placeholder?: string | undefined;
|
|
89
|
-
maxChars?: number | undefined;
|
|
90
|
-
minChars?: number | undefined;
|
|
91
|
-
};
|
|
92
|
-
isHead?: boolean | undefined;
|
|
93
|
-
nextId?: string | undefined;
|
|
94
|
-
} | {
|
|
95
|
-
type: "question-number";
|
|
96
|
-
id: string;
|
|
97
|
-
data: {
|
|
98
|
-
key: string;
|
|
99
|
-
question: string;
|
|
100
|
-
optional: boolean;
|
|
101
|
-
placeholder?: string | undefined;
|
|
102
|
-
decimalCases?: number | undefined;
|
|
103
|
-
min?: number | undefined;
|
|
104
|
-
max?: number | undefined;
|
|
105
|
-
};
|
|
106
|
-
isHead?: boolean | undefined;
|
|
107
|
-
nextId?: string | undefined;
|
|
108
|
-
} | {
|
|
109
|
-
type: "question-phone";
|
|
110
|
-
id: string;
|
|
111
|
-
data: {
|
|
112
|
-
key: string;
|
|
113
|
-
question: string;
|
|
114
|
-
optional: boolean;
|
|
115
|
-
placeholder: string;
|
|
116
|
-
minChars: number;
|
|
117
|
-
defaultCountryCode: string;
|
|
118
|
-
};
|
|
119
|
-
isHead?: boolean | undefined;
|
|
120
|
-
nextId?: string | undefined;
|
|
121
|
-
} | {
|
|
122
|
-
type: "question-enum";
|
|
123
|
-
id: string;
|
|
124
|
-
data: {
|
|
125
|
-
options: {
|
|
126
|
-
value: string;
|
|
127
|
-
label: string;
|
|
128
|
-
}[];
|
|
129
|
-
key: string;
|
|
130
|
-
question: string;
|
|
131
|
-
maxSelected: number;
|
|
132
|
-
minSelected: number;
|
|
133
|
-
};
|
|
134
|
-
isHead?: boolean | undefined;
|
|
135
|
-
nextId?: string | undefined;
|
|
136
|
-
} | {
|
|
137
|
-
type: "question-file";
|
|
138
|
-
id: string;
|
|
139
|
-
data: {
|
|
140
|
-
key: string;
|
|
141
|
-
question: string;
|
|
142
|
-
optional: boolean;
|
|
143
|
-
extensions: string[];
|
|
144
|
-
multiple?: boolean | undefined;
|
|
145
|
-
maxSizeKb?: number | undefined;
|
|
146
|
-
};
|
|
147
|
-
isHead?: boolean | undefined;
|
|
148
|
-
nextId?: string | undefined;
|
|
149
|
-
} | {
|
|
150
|
-
type: "question-address";
|
|
151
|
-
id: string;
|
|
152
|
-
data: {
|
|
153
|
-
keys: {
|
|
154
|
-
line1: string | null;
|
|
155
|
-
line2: string | null;
|
|
156
|
-
line3: string | null;
|
|
157
|
-
city: string | null;
|
|
158
|
-
state: string | null;
|
|
159
|
-
postcode: string | null;
|
|
160
|
-
country: string | null;
|
|
161
|
-
};
|
|
162
|
-
key: string;
|
|
163
|
-
question: string;
|
|
164
|
-
optional: boolean;
|
|
165
|
-
placeholder?: string | undefined;
|
|
166
|
-
};
|
|
167
|
-
isHead?: boolean | undefined;
|
|
168
|
-
nextId?: string | undefined;
|
|
169
|
-
} | {
|
|
170
|
-
type: "if-block";
|
|
171
|
-
id: string;
|
|
172
|
-
data: {
|
|
173
|
-
compareKey: string;
|
|
174
|
-
compareValue: string;
|
|
175
|
-
compare: "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEqualTo" | "lessThanOrEqualTo";
|
|
176
|
-
} | {
|
|
177
|
-
combinator: "and" | "or";
|
|
178
|
-
conditions: {
|
|
179
|
-
compareKey: string;
|
|
180
|
-
compareValue: string;
|
|
181
|
-
compare: "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEqualTo" | "lessThanOrEqualTo";
|
|
182
|
-
}[];
|
|
183
|
-
};
|
|
184
|
-
isHead?: boolean | undefined;
|
|
185
|
-
nextId?: string | undefined;
|
|
186
|
-
branchId?: string | undefined;
|
|
187
|
-
} | {
|
|
188
|
-
type: "jump";
|
|
189
|
-
id: string;
|
|
190
|
-
data: {
|
|
191
|
-
targetId: string;
|
|
192
|
-
};
|
|
193
|
-
isHead?: boolean | undefined;
|
|
194
|
-
nextId?: string | undefined;
|
|
195
|
-
} | {
|
|
196
|
-
type: "add-submission";
|
|
197
|
-
id: string;
|
|
198
|
-
data: {
|
|
199
|
-
value: string;
|
|
200
|
-
key: string;
|
|
201
|
-
};
|
|
202
|
-
isHead?: boolean | undefined;
|
|
203
|
-
nextId?: string | undefined;
|
|
204
|
-
} | {
|
|
205
|
-
type: "identify";
|
|
206
|
-
id: string;
|
|
207
|
-
data: {
|
|
208
|
-
key: string;
|
|
209
|
-
email?: string | undefined;
|
|
210
|
-
firstName?: string | undefined;
|
|
211
|
-
lastName?: string | undefined;
|
|
212
|
-
phoneNumber?: string | undefined;
|
|
213
|
-
customTraits?: {
|
|
214
|
-
value: string;
|
|
215
|
-
key: string;
|
|
216
|
-
}[] | undefined;
|
|
217
|
-
};
|
|
218
|
-
isHead?: boolean | undefined;
|
|
219
|
-
nextId?: string | undefined;
|
|
220
|
-
} | {
|
|
221
|
-
type: "check-duplicate";
|
|
222
|
-
id: string;
|
|
223
|
-
data: {
|
|
224
|
-
key: string;
|
|
225
|
-
email: string;
|
|
226
|
-
scope: "job" | "company";
|
|
227
|
-
};
|
|
228
|
-
isHead?: boolean | undefined;
|
|
229
|
-
nextId?: string | undefined;
|
|
230
|
-
} | {
|
|
231
|
-
type: "feedback";
|
|
232
|
-
id: string;
|
|
233
|
-
data: {};
|
|
234
|
-
isHead?: boolean | undefined;
|
|
235
|
-
nextId?: string | undefined;
|
|
236
|
-
})[];
|
|
237
|
-
context_schema?: {
|
|
238
|
-
[x: string]: {
|
|
239
|
-
required: boolean;
|
|
240
|
-
type: "string" | "number";
|
|
241
|
-
};
|
|
242
|
-
} | null | undefined;
|
|
243
|
-
};
|
|
244
|
-
job: {
|
|
245
|
-
id: string;
|
|
246
|
-
title: string;
|
|
247
|
-
};
|
|
248
|
-
user?: {
|
|
249
|
-
city?: string | undefined;
|
|
250
|
-
country?: string | undefined;
|
|
251
|
-
isEU?: boolean | undefined;
|
|
252
|
-
continent?: string | undefined;
|
|
253
|
-
} | undefined;
|
|
254
|
-
}>;
|
|
255
|
-
export declare const flowByIdEndpoint: import('@inploi/sdk').RpcEndpoint<"GET", "/flow/id/:id", {
|
|
256
|
-
id: string | number;
|
|
257
|
-
}, never, never, {
|
|
258
|
-
flow: {
|
|
259
|
-
id: string;
|
|
260
|
-
version: number;
|
|
261
|
-
build: number;
|
|
262
|
-
nodes: ({
|
|
263
|
-
type: "text";
|
|
264
|
-
id: string;
|
|
265
|
-
data: {
|
|
266
|
-
text: string;
|
|
267
|
-
};
|
|
268
|
-
isHead?: boolean | undefined;
|
|
269
|
-
nextId?: string | undefined;
|
|
270
|
-
} | {
|
|
271
|
-
type: "end-flow";
|
|
272
|
-
id: string;
|
|
273
|
-
data: {
|
|
274
|
-
systemMessage: string;
|
|
275
|
-
};
|
|
276
|
-
isHead?: boolean | undefined;
|
|
277
|
-
nextId?: string | undefined;
|
|
278
|
-
} | {
|
|
279
|
-
type: "integration-application-submit";
|
|
280
|
-
id: string;
|
|
281
|
-
data: {
|
|
282
|
-
integrationId: string;
|
|
283
|
-
skipConfirmation: boolean;
|
|
284
|
-
submitLabel: string;
|
|
285
|
-
submitKeys: "all" | string[];
|
|
286
|
-
key?: string | undefined;
|
|
287
|
-
};
|
|
288
|
-
isHead?: boolean | undefined;
|
|
289
|
-
nextId?: string | undefined;
|
|
290
|
-
} | {
|
|
291
|
-
type: "integration-workflow-get";
|
|
292
|
-
id: string;
|
|
293
|
-
data: {
|
|
294
|
-
integrationId: string;
|
|
295
|
-
};
|
|
296
|
-
isHead?: boolean | undefined;
|
|
297
|
-
nextId?: string | undefined;
|
|
298
|
-
} | {
|
|
299
|
-
type: "link";
|
|
300
|
-
id: string;
|
|
301
|
-
data: {
|
|
302
|
-
href: string;
|
|
303
|
-
cta: string;
|
|
304
|
-
};
|
|
305
|
-
isHead?: boolean | undefined;
|
|
306
|
-
nextId?: string | undefined;
|
|
307
|
-
} | {
|
|
308
|
-
type: "image";
|
|
309
|
-
id: string;
|
|
310
|
-
data: {
|
|
311
|
-
url: string;
|
|
312
|
-
width: number;
|
|
313
|
-
height: number;
|
|
314
|
-
};
|
|
315
|
-
isHead?: boolean | undefined;
|
|
316
|
-
nextId?: string | undefined;
|
|
317
|
-
} | {
|
|
318
|
-
type: "question-boolean";
|
|
319
|
-
id: string;
|
|
320
|
-
data: {
|
|
321
|
-
key: string;
|
|
322
|
-
question: string;
|
|
323
|
-
trueLabel: string;
|
|
324
|
-
falseLabel: string;
|
|
325
|
-
optional: boolean;
|
|
326
|
-
};
|
|
327
|
-
isHead?: boolean | undefined;
|
|
328
|
-
nextId?: string | undefined;
|
|
329
|
-
} | {
|
|
330
|
-
type: "question-text";
|
|
331
|
-
id: string;
|
|
332
|
-
data: {
|
|
333
|
-
key: string;
|
|
334
|
-
question: string;
|
|
335
|
-
optional: boolean;
|
|
336
|
-
format: "date" | "text" | "url" | "email" | "phone";
|
|
337
|
-
placeholder?: string | undefined;
|
|
338
|
-
maxChars?: number | undefined;
|
|
339
|
-
minChars?: number | undefined;
|
|
340
|
-
};
|
|
341
|
-
isHead?: boolean | undefined;
|
|
342
|
-
nextId?: string | undefined;
|
|
343
|
-
} | {
|
|
344
|
-
type: "question-number";
|
|
345
|
-
id: string;
|
|
346
|
-
data: {
|
|
347
|
-
key: string;
|
|
348
|
-
question: string;
|
|
349
|
-
optional: boolean;
|
|
350
|
-
placeholder?: string | undefined;
|
|
351
|
-
decimalCases?: number | undefined;
|
|
352
|
-
min?: number | undefined;
|
|
353
|
-
max?: number | undefined;
|
|
354
|
-
};
|
|
355
|
-
isHead?: boolean | undefined;
|
|
356
|
-
nextId?: string | undefined;
|
|
357
|
-
} | {
|
|
358
|
-
type: "question-phone";
|
|
359
|
-
id: string;
|
|
360
|
-
data: {
|
|
361
|
-
key: string;
|
|
362
|
-
question: string;
|
|
363
|
-
optional: boolean;
|
|
364
|
-
placeholder: string;
|
|
365
|
-
minChars: number;
|
|
366
|
-
defaultCountryCode: string;
|
|
367
|
-
};
|
|
368
|
-
isHead?: boolean | undefined;
|
|
369
|
-
nextId?: string | undefined;
|
|
370
|
-
} | {
|
|
371
|
-
type: "question-enum";
|
|
372
|
-
id: string;
|
|
373
|
-
data: {
|
|
374
|
-
options: {
|
|
375
|
-
value: string;
|
|
376
|
-
label: string;
|
|
377
|
-
}[];
|
|
378
|
-
key: string;
|
|
379
|
-
question: string;
|
|
380
|
-
maxSelected: number;
|
|
381
|
-
minSelected: number;
|
|
382
|
-
};
|
|
383
|
-
isHead?: boolean | undefined;
|
|
384
|
-
nextId?: string | undefined;
|
|
385
|
-
} | {
|
|
386
|
-
type: "question-file";
|
|
387
|
-
id: string;
|
|
388
|
-
data: {
|
|
389
|
-
key: string;
|
|
390
|
-
question: string;
|
|
391
|
-
optional: boolean;
|
|
392
|
-
extensions: string[];
|
|
393
|
-
multiple?: boolean | undefined;
|
|
394
|
-
maxSizeKb?: number | undefined;
|
|
395
|
-
};
|
|
396
|
-
isHead?: boolean | undefined;
|
|
397
|
-
nextId?: string | undefined;
|
|
398
|
-
} | {
|
|
399
|
-
type: "question-address";
|
|
400
|
-
id: string;
|
|
401
|
-
data: {
|
|
402
|
-
keys: {
|
|
403
|
-
line1: string | null;
|
|
404
|
-
line2: string | null;
|
|
405
|
-
line3: string | null;
|
|
406
|
-
city: string | null;
|
|
407
|
-
state: string | null;
|
|
408
|
-
postcode: string | null;
|
|
409
|
-
country: string | null;
|
|
410
|
-
};
|
|
411
|
-
key: string;
|
|
412
|
-
question: string;
|
|
413
|
-
optional: boolean;
|
|
414
|
-
placeholder?: string | undefined;
|
|
415
|
-
};
|
|
416
|
-
isHead?: boolean | undefined;
|
|
417
|
-
nextId?: string | undefined;
|
|
418
|
-
} | {
|
|
419
|
-
type: "if-block";
|
|
420
|
-
id: string;
|
|
421
|
-
data: {
|
|
422
|
-
compareKey: string;
|
|
423
|
-
compareValue: string;
|
|
424
|
-
compare: "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEqualTo" | "lessThanOrEqualTo";
|
|
425
|
-
} | {
|
|
426
|
-
combinator: "and" | "or";
|
|
427
|
-
conditions: {
|
|
428
|
-
compareKey: string;
|
|
429
|
-
compareValue: string;
|
|
430
|
-
compare: "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEqualTo" | "lessThanOrEqualTo";
|
|
431
|
-
}[];
|
|
432
|
-
};
|
|
433
|
-
isHead?: boolean | undefined;
|
|
434
|
-
nextId?: string | undefined;
|
|
435
|
-
branchId?: string | undefined;
|
|
436
|
-
} | {
|
|
437
|
-
type: "jump";
|
|
438
|
-
id: string;
|
|
439
|
-
data: {
|
|
440
|
-
targetId: string;
|
|
441
|
-
};
|
|
442
|
-
isHead?: boolean | undefined;
|
|
443
|
-
nextId?: string | undefined;
|
|
444
|
-
} | {
|
|
445
|
-
type: "add-submission";
|
|
446
|
-
id: string;
|
|
447
|
-
data: {
|
|
448
|
-
value: string;
|
|
449
|
-
key: string;
|
|
450
|
-
};
|
|
451
|
-
isHead?: boolean | undefined;
|
|
452
|
-
nextId?: string | undefined;
|
|
453
|
-
} | {
|
|
454
|
-
type: "identify";
|
|
455
|
-
id: string;
|
|
456
|
-
data: {
|
|
457
|
-
key: string;
|
|
458
|
-
email?: string | undefined;
|
|
459
|
-
firstName?: string | undefined;
|
|
460
|
-
lastName?: string | undefined;
|
|
461
|
-
phoneNumber?: string | undefined;
|
|
462
|
-
customTraits?: {
|
|
463
|
-
value: string;
|
|
464
|
-
key: string;
|
|
465
|
-
}[] | undefined;
|
|
466
|
-
};
|
|
467
|
-
isHead?: boolean | undefined;
|
|
468
|
-
nextId?: string | undefined;
|
|
469
|
-
} | {
|
|
470
|
-
type: "check-duplicate";
|
|
471
|
-
id: string;
|
|
472
|
-
data: {
|
|
473
|
-
key: string;
|
|
474
|
-
email: string;
|
|
475
|
-
scope: "job" | "company";
|
|
476
|
-
};
|
|
477
|
-
isHead?: boolean | undefined;
|
|
478
|
-
nextId?: string | undefined;
|
|
479
|
-
} | {
|
|
480
|
-
type: "feedback";
|
|
481
|
-
id: string;
|
|
482
|
-
data: {};
|
|
483
|
-
isHead?: boolean | undefined;
|
|
484
|
-
nextId?: string | undefined;
|
|
485
|
-
})[];
|
|
486
|
-
context_schema?: {
|
|
487
|
-
[x: string]: {
|
|
488
|
-
required: boolean;
|
|
489
|
-
type: "string" | "number";
|
|
490
|
-
};
|
|
491
|
-
} | null | undefined;
|
|
492
|
-
};
|
|
493
|
-
}>;
|
|
1
|
+
export { flowByIdEndpoint, flowByJobIdEndpoint } from '@inploi/flows/endpoints';
|
package/dist/style/tokens.d.ts
CHANGED
|
@@ -8,37 +8,37 @@ export declare const tokens: {
|
|
|
8
8
|
"color.black": unknown;
|
|
9
9
|
"color.lowest": unknown;
|
|
10
10
|
"color.highest": unknown;
|
|
11
|
-
"color.a-1": unknown;
|
|
12
11
|
"color.a-2": unknown;
|
|
13
12
|
"color.a-8": unknown;
|
|
14
13
|
"color.a-7": unknown;
|
|
15
14
|
"color.a-4": unknown;
|
|
16
15
|
"color.a-5": unknown;
|
|
17
16
|
"color.a-10": unknown;
|
|
17
|
+
"color.a-1": unknown;
|
|
18
18
|
"color.a-3": unknown;
|
|
19
19
|
"color.a-6": unknown;
|
|
20
20
|
"color.a-9": unknown;
|
|
21
21
|
"color.a-11": unknown;
|
|
22
22
|
"color.a-12": unknown;
|
|
23
|
-
"color.n-1": unknown;
|
|
24
23
|
"color.n-2": unknown;
|
|
25
24
|
"color.n-8": unknown;
|
|
26
25
|
"color.n-7": unknown;
|
|
27
26
|
"color.n-4": unknown;
|
|
28
27
|
"color.n-5": unknown;
|
|
29
28
|
"color.n-10": unknown;
|
|
29
|
+
"color.n-1": unknown;
|
|
30
30
|
"color.n-3": unknown;
|
|
31
31
|
"color.n-6": unknown;
|
|
32
32
|
"color.n-9": unknown;
|
|
33
33
|
"color.n-11": unknown;
|
|
34
34
|
"color.n-12": unknown;
|
|
35
|
-
"color.e-1": unknown;
|
|
36
35
|
"color.e-2": unknown;
|
|
37
36
|
"color.e-8": unknown;
|
|
38
37
|
"color.e-7": unknown;
|
|
39
38
|
"color.e-4": unknown;
|
|
40
39
|
"color.e-5": unknown;
|
|
41
40
|
"color.e-10": unknown;
|
|
41
|
+
"color.e-1": unknown;
|
|
42
42
|
"color.e-3": unknown;
|
|
43
43
|
"color.e-6": unknown;
|
|
44
44
|
"color.e-9": unknown;
|
|
@@ -75,7 +75,7 @@ export declare const tokens: {
|
|
|
75
75
|
declarations: {
|
|
76
76
|
[k: string]: string;
|
|
77
77
|
};
|
|
78
|
-
ref: (path: "font-weight-body" | "font-weight-headings" | "radius-app" | "radius-interactive" | "color.white" | "color.black" | "color.lowest" | "color.highest" | "color.a-
|
|
78
|
+
ref: (path: "font-weight-body" | "font-weight-headings" | "radius-app" | "radius-interactive" | "color.white" | "color.black" | "color.lowest" | "color.highest" | "color.a-2" | "color.a-8" | "color.a-7" | "color.a-4" | "color.a-5" | "color.a-10" | "color.a-1" | "color.a-3" | "color.a-6" | "color.a-9" | "color.a-11" | "color.a-12" | "color.n-2" | "color.n-8" | "color.n-7" | "color.n-4" | "color.n-5" | "color.n-10" | "color.n-1" | "color.n-3" | "color.n-6" | "color.n-9" | "color.n-11" | "color.n-12" | "color.e-2" | "color.e-8" | "color.e-7" | "color.e-4" | "color.e-5" | "color.e-10" | "color.e-1" | "color.e-3" | "color.e-6" | "color.e-9" | "color.e-11" | "color.e-12" | "copy-body" | "copy-headings" | "color.divider" | "font-family.body" | "font-family.headings" | "font-style.body" | "font-style.headings" | "interactive.copy" | "interactive.bg" | "interactive.copy-hover" | "interactive.copy-active" | "interactive.bg-hover" | "interactive.bg-active" | "app.bg" | "overlay.bg" | "bubble.weak-bg" | "bubble.weak-outline" | "bubble.strong-shadow" | "status-bar.bg" | "status-bar.bg-button" | "status-bar.bg-button-hover" | "status-bar.bg-button-active" | "submit-button.bg-active") => string;
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
export declare const asInploiVar: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-chatbot",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/plugin-chatbot.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"@inploi/flows": "*",
|
|
21
|
-
"@inploi/sdk": ">=2.1.
|
|
21
|
+
"@inploi/sdk": ">=2.1.2",
|
|
22
22
|
"@inploi/plugin-feedback": "*"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"vite": "^4.4.5",
|
|
62
62
|
"vite-plugin-dts": "^3.7.0",
|
|
63
63
|
"vite-tsconfig-paths": "^4.2.1",
|
|
64
|
-
"@inploi/flows": "
|
|
64
|
+
"@inploi/flows": "8.0.0",
|
|
65
65
|
"@inploi/i18n": "0.1.5",
|
|
66
|
-
"@inploi/core": "1.
|
|
66
|
+
"@inploi/core": "1.17.1",
|
|
67
67
|
"@inploi/design-tokens": "0.2.1",
|
|
68
68
|
"@inploi/plugin-feedback": "6.0.0",
|
|
69
|
-
"@inploi/sdk": "2.1.
|
|
70
|
-
"@inploi/colors": "1.0.
|
|
69
|
+
"@inploi/sdk": "2.1.2",
|
|
70
|
+
"@inploi/colors": "1.0.2",
|
|
71
71
|
"eslint-config-custom": "0.1.0",
|
|
72
72
|
"tsconfig": "0.1.0"
|
|
73
73
|
},
|