@inploi/plugin-chatbot 14.8.0 → 14.10.0

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.
Files changed (39) hide show
  1. package/cdn/index.js +6 -6
  2. package/cdn/style.css +1 -1
  3. package/dist/accessible-labels.test.d.ts +1 -0
  4. package/dist/chatbot-body-3e08ab1b.js +4073 -0
  5. package/dist/chatbot-body-d0635102.cjs +5 -0
  6. package/dist/chatbot.d.ts +6 -0
  7. package/dist/chatbot.idb.d.ts +2 -2
  8. package/dist/chatbot.resume.d.ts +15 -0
  9. package/dist/chatbot.resume.test.d.ts +1 -0
  10. package/dist/chatbot.state.d.ts +24 -404
  11. package/dist/chatbot.storage.test.d.ts +1 -0
  12. package/dist/chatbot.utils.d.ts +1 -253
  13. package/dist/components/chat-input/chat-input.address.d.ts +1 -14
  14. package/dist/components/chat-input/chat-input.boolean.d.ts +1 -13
  15. package/dist/components/chat-input/chat-input.d.ts +1 -12
  16. package/dist/components/chat-input/chat-input.file.d.ts +1 -12
  17. package/dist/components/chat-input/chat-input.multiple-choice.d.ts +1 -14
  18. package/dist/components/chat-input/chat-input.number.d.ts +1 -14
  19. package/dist/components/chat-input/chat-input.phone-number.d.ts +1 -17
  20. package/dist/components/chat-input/chat-input.submit.d.ts +1 -10
  21. package/dist/components/chat-input/chat-input.text.d.ts +1 -14
  22. package/dist/components/chat-input/chat-input.text.test.d.ts +1 -0
  23. package/dist/components/chatbot-body.lifecycle.test.d.ts +1 -0
  24. package/dist/components/message.link.d.ts +1 -1
  25. package/dist/components/useChatService.d.ts +4 -1
  26. package/dist/components/useChatService.test.d.ts +1 -0
  27. package/dist/i18n.d.ts +114 -0
  28. package/dist/index-5de8da64.js +3368 -0
  29. package/dist/index-d28fa66d.cjs +5 -0
  30. package/dist/plugin-chatbot.cjs +1 -1
  31. package/dist/plugin-chatbot.js +1 -1
  32. package/dist/style/tokens.d.ts +6 -4
  33. package/dist/style.css +1 -1
  34. package/package.json +8 -8
  35. package/dist/chatbot-body-0c22653b.cjs +0 -5
  36. package/dist/chatbot-body-dd2054d0.js +0 -4543
  37. package/dist/index-5e99d91d.js +0 -3275
  38. package/dist/index-b625775f.cjs +0 -5
  39. package/dist/interpreter.d.ts +0 -59
package/dist/i18n.d.ts CHANGED
@@ -21,6 +21,7 @@ export declare const TranslationProvider: (props: {
21
21
  readonly other: "Submit will be available again in {{count}} seconds.";
22
22
  };
23
23
  readonly submission_cooldown_ready: "Submit is available again.";
24
+ readonly captcha_check: "One quick check before we send your application";
24
25
  readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
25
26
  readonly file_preparing: {
26
27
  readonly one: "Preparing your file…";
@@ -36,11 +37,28 @@ export declare const TranslationProvider: (props: {
36
37
  readonly address_searching: "Searching addresses…";
37
38
  readonly address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.";
38
39
  readonly maximize: "Maximise";
40
+ readonly restart: "Restart";
41
+ readonly chat_messages: "Chat messages";
42
+ readonly file_name: "File name";
43
+ readonly file_size: "File size";
44
+ readonly file_total_size: "{{size}} total";
45
+ readonly file_more: {
46
+ readonly one: "+{{count}} file";
47
+ readonly other: "+{{count}} files";
48
+ };
49
+ readonly loading: "Loading";
39
50
  readonly minimize: "Minimise";
40
51
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
41
52
  readonly complete_submission: "Complete submission";
42
53
  readonly submission_completed: "Submission completed!";
43
54
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
55
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
56
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
57
+ readonly submission_available_at: "Submit will be available again at {{time}}.";
58
+ readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
59
+ readonly resume_continue: "Continue";
60
+ readonly resume_start_again: "Start again";
61
+ readonly captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.";
44
62
  readonly close_application: "Close application";
45
63
  readonly invalid_state: "Invalid application state";
46
64
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -87,6 +105,7 @@ export declare const TranslationProvider: (props: {
87
105
  readonly other: "Please only upload up to {{count}} files";
88
106
  };
89
107
  readonly validation_file_size: "Your file is too big. Please upload a file smaller than {{size}}";
108
+ readonly validation_file_empty: "This file is empty. If it\u2019s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.";
90
109
  readonly validation_required: "This field is required.";
91
110
  readonly validation_multiple_choice_min: {
92
111
  readonly one: "Please select at least {{count}} option";
@@ -122,6 +141,7 @@ export declare const TranslationProvider: (props: {
122
141
  readonly other: "Submit will be available again in {{count}} seconds.";
123
142
  };
124
143
  readonly submission_cooldown_ready: "Submit is available again.";
144
+ readonly captcha_check: "One quick check before we send your application";
125
145
  readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
126
146
  readonly file_preparing: {
127
147
  readonly one: "Preparing your file…";
@@ -137,11 +157,28 @@ export declare const TranslationProvider: (props: {
137
157
  readonly address_searching: "Searching addresses…";
138
158
  readonly address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.";
139
159
  readonly maximize: "Maximise";
160
+ readonly restart: "Restart";
161
+ readonly chat_messages: "Chat messages";
162
+ readonly file_name: "File name";
163
+ readonly file_size: "File size";
164
+ readonly file_total_size: "{{size}} total";
165
+ readonly file_more: {
166
+ readonly one: "+{{count}} file";
167
+ readonly other: "+{{count}} files";
168
+ };
169
+ readonly loading: "Loading";
140
170
  readonly minimize: "Minimise";
141
171
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
142
172
  readonly complete_submission: "Complete submission";
143
173
  readonly submission_completed: "Submission completed!";
144
174
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
175
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
176
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
177
+ readonly submission_available_at: "Submit will be available again at {{time}}.";
178
+ readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
179
+ readonly resume_continue: "Continue";
180
+ readonly resume_start_again: "Start again";
181
+ readonly captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.";
145
182
  readonly close_application: "Close application";
146
183
  readonly invalid_state: "Invalid application state";
147
184
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -188,6 +225,7 @@ export declare const TranslationProvider: (props: {
188
225
  readonly other: "Please only upload up to {{count}} files";
189
226
  };
190
227
  readonly validation_file_size: "Your file is too big. Please upload a file smaller than {{size}}";
228
+ readonly validation_file_empty: "This file is empty. If it\u2019s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.";
191
229
  readonly validation_required: "This field is required.";
192
230
  readonly validation_multiple_choice_min: {
193
231
  readonly one: "Please select at least {{count}} option";
@@ -220,6 +258,7 @@ export declare const TranslationProvider: (props: {
220
258
  readonly other: "Submit will be available again in {{count}} seconds.";
221
259
  };
222
260
  readonly submission_cooldown_ready: "Submit is available again.";
261
+ readonly captcha_check: "One quick check before we send your application";
223
262
  readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
224
263
  readonly file_preparing: {
225
264
  readonly one: "Preparing your file…";
@@ -235,11 +274,28 @@ export declare const TranslationProvider: (props: {
235
274
  readonly address_searching: "Searching addresses…";
236
275
  readonly address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.";
237
276
  readonly maximize: "Maximise";
277
+ readonly restart: "Restart";
278
+ readonly chat_messages: "Chat messages";
279
+ readonly file_name: "File name";
280
+ readonly file_size: "File size";
281
+ readonly file_total_size: "{{size}} total";
282
+ readonly file_more: {
283
+ readonly one: "+{{count}} file";
284
+ readonly other: "+{{count}} files";
285
+ };
286
+ readonly loading: "Loading";
238
287
  readonly minimize: "Minimise";
239
288
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
240
289
  readonly complete_submission: "Complete submission";
241
290
  readonly submission_completed: "Submission completed!";
242
291
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
292
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
293
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
294
+ readonly submission_available_at: "Submit will be available again at {{time}}.";
295
+ readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
296
+ readonly resume_continue: "Continue";
297
+ readonly resume_start_again: "Start again";
298
+ readonly captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.";
243
299
  readonly close_application: "Close application";
244
300
  readonly invalid_state: "Invalid application state";
245
301
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -286,6 +342,7 @@ export declare const TranslationProvider: (props: {
286
342
  readonly other: "Please only upload up to {{count}} files";
287
343
  };
288
344
  readonly validation_file_size: "Your file is too big. Please upload a file smaller than {{size}}";
345
+ readonly validation_file_empty: "This file is empty. If it\u2019s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.";
289
346
  readonly validation_required: "This field is required.";
290
347
  readonly validation_multiple_choice_min: {
291
348
  readonly one: "Please select at least {{count}} option";
@@ -321,6 +378,7 @@ export declare const TranslationProvider: (props: {
321
378
  readonly other: "Submit will be available again in {{count}} seconds.";
322
379
  };
323
380
  readonly submission_cooldown_ready: "Submit is available again.";
381
+ readonly captcha_check: "One quick check before we send your application";
324
382
  readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
325
383
  readonly file_preparing: {
326
384
  readonly one: "Preparing your file…";
@@ -336,11 +394,28 @@ export declare const TranslationProvider: (props: {
336
394
  readonly address_searching: "Searching addresses…";
337
395
  readonly address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.";
338
396
  readonly maximize: "Maximise";
397
+ readonly restart: "Restart";
398
+ readonly chat_messages: "Chat messages";
399
+ readonly file_name: "File name";
400
+ readonly file_size: "File size";
401
+ readonly file_total_size: "{{size}} total";
402
+ readonly file_more: {
403
+ readonly one: "+{{count}} file";
404
+ readonly other: "+{{count}} files";
405
+ };
406
+ readonly loading: "Loading";
339
407
  readonly minimize: "Minimise";
340
408
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
341
409
  readonly complete_submission: "Complete submission";
342
410
  readonly submission_completed: "Submission completed!";
343
411
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
412
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
413
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
414
+ readonly submission_available_at: "Submit will be available again at {{time}}.";
415
+ readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
416
+ readonly resume_continue: "Continue";
417
+ readonly resume_start_again: "Start again";
418
+ readonly captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.";
344
419
  readonly close_application: "Close application";
345
420
  readonly invalid_state: "Invalid application state";
346
421
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -387,6 +462,7 @@ export declare const TranslationProvider: (props: {
387
462
  readonly other: "Please only upload up to {{count}} files";
388
463
  };
389
464
  readonly validation_file_size: "Your file is too big. Please upload a file smaller than {{size}}";
465
+ readonly validation_file_empty: "This file is empty. If it\u2019s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.";
390
466
  readonly validation_required: "This field is required.";
391
467
  readonly validation_multiple_choice_min: {
392
468
  readonly one: "Please select at least {{count}} option";
@@ -419,6 +495,7 @@ export declare const TranslationProvider: (props: {
419
495
  readonly other: "Submit will be available again in {{count}} seconds.";
420
496
  };
421
497
  readonly submission_cooldown_ready: "Submit is available again.";
498
+ readonly captcha_check: "One quick check before we send your application";
422
499
  readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
423
500
  readonly file_preparing: {
424
501
  readonly one: "Preparing your file…";
@@ -434,11 +511,28 @@ export declare const TranslationProvider: (props: {
434
511
  readonly address_searching: "Searching addresses…";
435
512
  readonly address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.";
436
513
  readonly maximize: "Maximise";
514
+ readonly restart: "Restart";
515
+ readonly chat_messages: "Chat messages";
516
+ readonly file_name: "File name";
517
+ readonly file_size: "File size";
518
+ readonly file_total_size: "{{size}} total";
519
+ readonly file_more: {
520
+ readonly one: "+{{count}} file";
521
+ readonly other: "+{{count}} files";
522
+ };
523
+ readonly loading: "Loading";
437
524
  readonly minimize: "Minimise";
438
525
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
439
526
  readonly complete_submission: "Complete submission";
440
527
  readonly submission_completed: "Submission completed!";
441
528
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
529
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
530
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
531
+ readonly submission_available_at: "Submit will be available again at {{time}}.";
532
+ readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
533
+ readonly resume_continue: "Continue";
534
+ readonly resume_start_again: "Start again";
535
+ readonly captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.";
442
536
  readonly close_application: "Close application";
443
537
  readonly invalid_state: "Invalid application state";
444
538
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -485,6 +579,7 @@ export declare const TranslationProvider: (props: {
485
579
  readonly other: "Please only upload up to {{count}} files";
486
580
  };
487
581
  readonly validation_file_size: "Your file is too big. Please upload a file smaller than {{size}}";
582
+ readonly validation_file_empty: "This file is empty. If it\u2019s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.";
488
583
  readonly validation_required: "This field is required.";
489
584
  readonly validation_multiple_choice_min: {
490
585
  readonly one: "Please select at least {{count}} option";
@@ -518,6 +613,7 @@ export declare const TranslationProvider: (props: {
518
613
  readonly other: "Submit will be available again in {{count}} seconds.";
519
614
  };
520
615
  readonly submission_cooldown_ready: "Submit is available again.";
616
+ readonly captcha_check: "One quick check before we send your application";
521
617
  readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
522
618
  readonly file_preparing: {
523
619
  readonly one: "Preparing your file…";
@@ -533,11 +629,28 @@ export declare const TranslationProvider: (props: {
533
629
  readonly address_searching: "Searching addresses…";
534
630
  readonly address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.";
535
631
  readonly maximize: "Maximise";
632
+ readonly restart: "Restart";
633
+ readonly chat_messages: "Chat messages";
634
+ readonly file_name: "File name";
635
+ readonly file_size: "File size";
636
+ readonly file_total_size: "{{size}} total";
637
+ readonly file_more: {
638
+ readonly one: "+{{count}} file";
639
+ readonly other: "+{{count}} files";
640
+ };
641
+ readonly loading: "Loading";
536
642
  readonly minimize: "Minimise";
537
643
  readonly submission_redirect_message: "Almost there! Please complete your submission here:";
538
644
  readonly complete_submission: "Complete submission";
539
645
  readonly submission_completed: "Submission completed!";
540
646
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
647
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
648
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
649
+ readonly submission_available_at: "Submit will be available again at {{time}}.";
650
+ readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
651
+ readonly resume_continue: "Continue";
652
+ readonly resume_start_again: "Start again";
653
+ readonly captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.";
541
654
  readonly close_application: "Close application";
542
655
  readonly invalid_state: "Invalid application state";
543
656
  readonly redirect_url_error: "Couldn\u2019t get the redirect URL.";
@@ -584,6 +697,7 @@ export declare const TranslationProvider: (props: {
584
697
  readonly other: "Please only upload up to {{count}} files";
585
698
  };
586
699
  readonly validation_file_size: "Your file is too big. Please upload a file smaller than {{size}}";
700
+ readonly validation_file_empty: "This file is empty. If it\u2019s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.";
587
701
  readonly validation_required: "This field is required.";
588
702
  readonly validation_multiple_choice_min: {
589
703
  readonly one: "Please select at least {{count}} option";