@inploi/plugin-chatbot 14.17.3 → 14.18.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.
Files changed (96) hide show
  1. package/README.md +10 -1
  2. package/cdn/index.js +34 -6
  3. package/cdn/style.css +1 -1
  4. package/dist/chatbot-body-DjE1hhPI.js +4309 -0
  5. package/dist/chatbot-body-Y8XV3f3-.cjs +5 -0
  6. package/dist/common.geo-transport-CJGUJXTA-BsgnqoTX.js +41 -0
  7. package/dist/common.geo-transport-CJGUJXTA-DQyNyTXw.cjs +1 -0
  8. package/dist/index-C8Gr0Ijn.js +3198 -0
  9. package/dist/index-DSa7ZKqt.cjs +21 -0
  10. package/dist/index.d.cts +547 -0
  11. package/dist/index.d.ts +547 -2
  12. package/dist/plugin-chatbot.cjs +1 -1
  13. package/dist/plugin-chatbot.js +2 -3
  14. package/dist/style.css +1 -1
  15. package/package.json +18 -13
  16. package/dist/accessible-labels.test.d.ts +0 -1
  17. package/dist/chatbot-body-2942441d.cjs +0 -5
  18. package/dist/chatbot-body-73450740.js +0 -4523
  19. package/dist/chatbot.analytics.d.ts +0 -37
  20. package/dist/chatbot.analytics.test.d.ts +0 -1
  21. package/dist/chatbot.api.d.ts +0 -26
  22. package/dist/chatbot.constants.d.ts +0 -2
  23. package/dist/chatbot.context.test.d.ts +0 -1
  24. package/dist/chatbot.d.ts +0 -104
  25. package/dist/chatbot.dom.d.ts +0 -5
  26. package/dist/chatbot.idb.d.ts +0 -73
  27. package/dist/chatbot.lifecycle.test.d.ts +0 -1
  28. package/dist/chatbot.resume.d.ts +0 -15
  29. package/dist/chatbot.resume.test.d.ts +0 -1
  30. package/dist/chatbot.state.d.ts +0 -78
  31. package/dist/chatbot.state.test.d.ts +0 -1
  32. package/dist/chatbot.storage.test.d.ts +0 -1
  33. package/dist/chatbot.utils.d.ts +0 -8
  34. package/dist/components/chat-bubble.d.ts +0 -11
  35. package/dist/components/chat-error.d.ts +0 -3
  36. package/dist/components/chat-input/chat-input.address-countries.test.d.ts +0 -1
  37. package/dist/components/chat-input/chat-input.address.d.ts +0 -5
  38. package/dist/components/chat-input/chat-input.address.test.d.ts +0 -1
  39. package/dist/components/chat-input/chat-input.boolean.d.ts +0 -11
  40. package/dist/components/chat-input/chat-input.constants.d.ts +0 -1
  41. package/dist/components/chat-input/chat-input.d.ts +0 -12
  42. package/dist/components/chat-input/chat-input.file.d.ts +0 -8
  43. package/dist/components/chat-input/chat-input.file.test.d.ts +0 -1
  44. package/dist/components/chat-input/chat-input.multiple-choice.d.ts +0 -4
  45. package/dist/components/chat-input/chat-input.multiple-choice.test.d.ts +0 -1
  46. package/dist/components/chat-input/chat-input.number.d.ts +0 -4
  47. package/dist/components/chat-input/chat-input.phone-number.d.ts +0 -4
  48. package/dist/components/chat-input/chat-input.submit.d.ts +0 -4
  49. package/dist/components/chat-input/chat-input.submit.test.d.ts +0 -1
  50. package/dist/components/chat-input/chat-input.text.d.ts +0 -5
  51. package/dist/components/chat-input/chat-input.text.test.d.ts +0 -1
  52. package/dist/components/chat-input/input-style.d.ts +0 -3
  53. package/dist/components/chat-loading.d.ts +0 -1
  54. package/dist/components/chatbot-body.d.ts +0 -12
  55. package/dist/components/chatbot-body.lifecycle.test.d.ts +0 -1
  56. package/dist/components/chatbot.d.ts +0 -17
  57. package/dist/components/conversation.d.ts +0 -8
  58. package/dist/components/correction.test.d.ts +0 -1
  59. package/dist/components/input-error.d.ts +0 -5
  60. package/dist/components/job-alerts-offer.d.ts +0 -13
  61. package/dist/components/job-alerts-offer.test.d.ts +0 -1
  62. package/dist/components/job-alerts-privacy-line.test.d.ts +0 -1
  63. package/dist/components/loading-indicator.d.ts +0 -3
  64. package/dist/components/message.link.d.ts +0 -5
  65. package/dist/components/palette-debugger.d.ts +0 -1
  66. package/dist/components/send-button.d.ts +0 -3
  67. package/dist/components/skip-button.d.ts +0 -3
  68. package/dist/components/status-bar.d.ts +0 -22
  69. package/dist/components/status-bar.test.d.ts +0 -1
  70. package/dist/components/transition.d.ts +0 -1
  71. package/dist/components/typing-indicator.d.ts +0 -3
  72. package/dist/components/useChatService.d.ts +0 -17
  73. package/dist/components/useChatService.test.d.ts +0 -1
  74. package/dist/components/useFocus.d.ts +0 -1
  75. package/dist/i18n.d.ts +0 -776
  76. package/dist/index-0685e04a.cjs +0 -5
  77. package/dist/index-8df73cbc.js +0 -3530
  78. package/dist/index.cdn.d.ts +0 -9
  79. package/dist/index.dev.d.ts +0 -8
  80. package/dist/interpreter.test.d.ts +0 -1
  81. package/dist/md.d.ts +0 -1
  82. package/dist/md.test.d.ts +0 -1
  83. package/dist/mocks/browser.d.ts +0 -1
  84. package/dist/mocks/flows.mocks.d.ts +0 -77
  85. package/dist/mocks/handlers.d.ts +0 -14
  86. package/dist/mocks/mocks.utils.d.ts +0 -5
  87. package/dist/mocks/pre-apply.mock.d.ts +0 -296
  88. package/dist/phone.test.d.ts +0 -1
  89. package/dist/progress.d.ts +0 -12
  90. package/dist/progress.test.d.ts +0 -1
  91. package/dist/rpc.d.ts +0 -1
  92. package/dist/style/theme.d.ts +0 -3
  93. package/dist/style/theme.utils.d.ts +0 -6
  94. package/dist/style/tokens.d.ts +0 -86
  95. package/dist/widget-version.d.ts +0 -7
  96. package/dist/widget-version.test.d.ts +0 -1
package/README.md CHANGED
@@ -34,5 +34,14 @@ Address suggestions use the company's live-job countries through the SDK RPC cli
34
34
  (`GET /search/filters`, `{ country: null }`), normalised to ISO2 codes (every hiring country).
35
35
  The read is cached once per client for the widget session. A pending, failed or empty read
36
36
  keeps unfiltered suggestions immediately; it does not delay address search.
37
- Search interleaves parallel filtered and worldwide lookups, starting with a filtered result, through the [SDK's shared address helpers](../sdk/README.md#plugins), so cross-border and relocating candidates can still find their address.
37
+ Search makes one request to `maps.inploi.com/address` with the `chatbot` surface and the flow
38
+ session as both session token and rollout seed. The geo Worker selects inploi or proxied Mapbox
39
+ search and blends company-country and worldwide results. Valid flow-origin coordinates provide proximity.
40
+ If the Worker fails, sends an invalid response or takes longer than 2.5 seconds, the existing direct
41
+ Mapbox search runs with its company-country/worldwide blend. Cancelling the search never starts that fallback.
38
42
  Fill in manually stays available regardless of lookup results.
43
+
44
+ Picked results from the Mapbox or direct fallback arms keep the optional address shadow comparison;
45
+ inploi-arm picks skip it. After a lookup, answering or skipping the address question sends one
46
+ best-effort outcome with the search arm, source, pick/edit flags and coarse answer region. Query and
47
+ address text never enter that beacon. A first lookup cancelled before its arm is known has no outcome.