@inploi/plugin-chatbot 14.17.1 → 14.17.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/README.md +9 -2
- package/cdn/index.js +6 -6
- package/dist/chatbot-body-2942441d.cjs +5 -0
- package/dist/chatbot-body-73450740.js +4523 -0
- package/dist/components/chat-input/chat-input.address-countries.test.d.ts +1 -0
- package/dist/components/chat-input/chat-input.address.d.ts +1 -1
- package/dist/components/chat-input/chat-input.d.ts +3 -2
- package/dist/{index-3e26f368.cjs → index-0685e04a.cjs} +2 -2
- package/dist/{index-41fceabc.js → index-8df73cbc.js} +8 -8
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/package.json +5 -5
- package/dist/chatbot-body-b728cd78.js +0 -4463
- package/dist/chatbot-body-f9ecbfd4.cjs +0 -5
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @inploi/plugin-chatbot
|
|
2
2
|
|
|
3
3
|
The legacy chatbot renders application flows with the shared application engine.
|
|
4
|
-
It needs `@inploi/sdk` 2.
|
|
5
|
-
the shared alert
|
|
4
|
+
It needs `@inploi/sdk` 2.6.0 or later (peer dependency): the npm build imports
|
|
5
|
+
the shared alert and country lookup helpers from the SDK at runtime.
|
|
6
6
|
Register `chatbotPlugin({ theme: { hue: 260, mode: 'light' } })`, then pass the
|
|
7
7
|
result of `fetchFlowByJobId` or `fetchFlowById` to `open`.
|
|
8
8
|
|
|
@@ -29,3 +29,10 @@ same application session. A fresh application gets a fresh offer.
|
|
|
29
29
|
|
|
30
30
|
Copy is defined in the English dictionary in `src/i18n.ts` and can be overridden
|
|
31
31
|
through the existing `terms` option. This package has no locale dictionaries.
|
|
32
|
+
|
|
33
|
+
Address suggestions use the company's live-job countries through the SDK RPC client
|
|
34
|
+
(`GET /search/filters`, `{ country: null }`), normalised to ISO2 codes (every hiring country).
|
|
35
|
+
The read is cached once per client for the widget session. A pending, failed or empty read
|
|
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.
|
|
38
|
+
Fill in manually stays available regardless of lookup results.
|