@evelan/jexity-widget 0.11.0 → 0.11.7
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/dist/index.mjs +2391 -2095
- package/dist/index.mjs.map +1 -1
- package/dist/react.mjs +2343 -2047
- package/dist/react.mjs.map +1 -1
- package/dist/types/features/chat/components/ChatScreen.d.ts.map +1 -1
- package/dist/types/features/chat/components/EscalationFormScreen.d.ts.map +1 -1
- package/dist/types/features/chat/components/FormMessage.d.ts.map +1 -1
- package/dist/types/features/chat/components/HumanHandoffAction.d.ts.map +1 -1
- package/dist/types/features/chat/{components → composer/components}/ChatInput.d.ts +1 -1
- package/dist/types/features/chat/composer/components/ChatInput.d.ts.map +1 -0
- package/dist/types/features/chat/composer/components/ComposerRow.d.ts +27 -0
- package/dist/types/features/chat/composer/components/ComposerRow.d.ts.map +1 -0
- package/dist/types/features/chat/composer/components/RateLimitNotice.d.ts +9 -0
- package/dist/types/features/chat/composer/components/RateLimitNotice.d.ts.map +1 -0
- package/dist/types/features/chat/composer/components/SessionErrorNotice.d.ts +11 -0
- package/dist/types/features/chat/composer/components/SessionErrorNotice.d.ts.map +1 -0
- package/dist/types/features/chat/composer/hooks/useComposerInput.d.ts +35 -0
- package/dist/types/features/chat/composer/hooks/useComposerInput.d.ts.map +1 -0
- package/dist/types/features/chat/composer/hooks/useRateLimitCountdown.d.ts +23 -0
- package/dist/types/features/chat/composer/hooks/useRateLimitCountdown.d.ts.map +1 -0
- package/dist/types/features/chat/composer/hooks/useSendMessage.d.ts +27 -0
- package/dist/types/features/chat/composer/hooks/useSendMessage.d.ts.map +1 -0
- package/dist/types/features/chat/composer/index.d.ts +16 -0
- package/dist/types/features/chat/composer/index.d.ts.map +1 -0
- package/dist/types/features/chat/composer/state/attachments.d.ts +26 -0
- package/dist/types/features/chat/composer/state/attachments.d.ts.map +1 -0
- package/dist/types/features/chat/{composer.state.d.ts → composer/state/draft.d.ts} +3 -8
- package/dist/types/features/chat/composer/state/draft.d.ts.map +1 -0
- package/dist/types/features/chat/composer/state/index.d.ts +17 -0
- package/dist/types/features/chat/composer/state/index.d.ts.map +1 -0
- package/dist/types/features/chat/composer/state/rate-limit.d.ts +10 -0
- package/dist/types/features/chat/composer/state/rate-limit.d.ts.map +1 -0
- package/dist/types/features/chat/hooks/useConversation.d.ts +27 -0
- package/dist/types/features/chat/hooks/useConversation.d.ts.map +1 -0
- package/dist/types/features/chat/hooks/useConvexSession.d.ts +1 -0
- package/dist/types/features/chat/hooks/useConvexSession.d.ts.map +1 -1
- package/dist/types/features/chat/hooks/useEscalation.d.ts +25 -0
- package/dist/types/features/chat/hooks/useEscalation.d.ts.map +1 -0
- package/dist/types/features/chat/hooks/useHandoff.d.ts +23 -0
- package/dist/types/features/chat/hooks/useHandoff.d.ts.map +1 -0
- package/dist/types/features/chat/index.d.ts +18 -0
- package/dist/types/features/chat/index.d.ts.map +1 -0
- package/dist/types/features/chat/state/index.d.ts +13 -0
- package/dist/types/features/chat/state/index.d.ts.map +1 -0
- package/dist/types/features/chat/state/session-error.d.ts +16 -0
- package/dist/types/features/chat/state/session-error.d.ts.map +1 -0
- package/dist/types/features/chat/types.d.ts +19 -0
- package/dist/types/features/chat/types.d.ts.map +1 -0
- package/dist/types/features/home/components/HomeScreen.d.ts.map +1 -1
- package/dist/types/i18n/locales/de.d.ts.map +1 -1
- package/dist/types/i18n/locales/en.d.ts +9 -0
- package/dist/types/i18n/locales/en.d.ts.map +1 -1
- package/dist/types/lib/refreshBootstrap.d.ts +10 -0
- package/dist/types/lib/refreshBootstrap.d.ts.map +1 -0
- package/dist/types/module/screens/ScreenRouter.d.ts +1 -1
- package/dist/types/module/screens/ScreenRouter.d.ts.map +1 -1
- package/dist/types/module/shell/WidgetShell.d.ts.map +1 -1
- package/dist/types/module/shell/hooks/useBootstrap.d.ts +3 -1
- package/dist/types/module/shell/hooks/useBootstrap.d.ts.map +1 -1
- package/dist/types/module/shell/shell.state.d.ts +10 -0
- package/dist/types/module/shell/shell.state.d.ts.map +1 -1
- package/dist/types/module/visitor/idle-lock.d.ts +27 -0
- package/dist/types/module/visitor/idle-lock.d.ts.map +1 -0
- package/dist/types/module/visitor/visitor.state.d.ts +2 -0
- package/dist/types/module/visitor/visitor.state.d.ts.map +1 -1
- package/dist/types/shared/ui/Header.d.ts +8 -2
- package/dist/types/shared/ui/Header.d.ts.map +1 -1
- package/dist/types/shared/ui/HeaderActions.d.ts +11 -0
- package/dist/types/shared/ui/HeaderActions.d.ts.map +1 -0
- package/dist/types/shared/ui/HeaderCloseButton.d.ts +10 -0
- package/dist/types/shared/ui/HeaderCloseButton.d.ts.map +1 -0
- package/dist/types/shared/ui/HeaderLeft.d.ts +9 -0
- package/dist/types/shared/ui/HeaderLeft.d.ts.map +1 -0
- package/dist/types/shared/ui/HeaderTitle.d.ts +7 -0
- package/dist/types/shared/ui/HeaderTitle.d.ts.map +1 -0
- package/dist/widget.js +39 -39
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/features/chat/components/ChatInput.d.ts.map +0 -1
- package/dist/types/features/chat/components/RateLimitNotice.d.ts +0 -9
- package/dist/types/features/chat/components/RateLimitNotice.d.ts.map +0 -1
- package/dist/types/features/chat/composer.state.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evelan/jexity-widget",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.7",
|
|
4
4
|
"description": "Embeddable AI chat widget by Evelan — add customer support chat to any website with a single script tag or npm install",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/widget.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../../../src/features/chat/components/ChatInput.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,2CAA2C,CAAA;AAEnE,UAAU,cAAc;IACtB,SAAS,EAAE,EAAE,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAA;IACvC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACpB,aAAa,EAAE,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,IAAI,CAAA;IACtE,aAAa,EAAE,MAAM,OAAO,CAAC;QAAE,SAAS,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC,CAAA;IAC5F,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB;AAED,sEAAsE;AACtE,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,EAAE,cAAc,gCAiFrI"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Inline rate-limit countdown rendered above the chat input.
|
|
3
|
-
*
|
|
4
|
-
* Owns its own per-second tick via `nowMs`, so updating the countdown text
|
|
5
|
-
* does not re-render the parent ChatInput tree (input, button, etc.).
|
|
6
|
-
* Self-clears via a setTimeout when retryAfter elapses.
|
|
7
|
-
*/
|
|
8
|
-
export declare function RateLimitNotice(): import("preact").JSX.Element | null;
|
|
9
|
-
//# sourceMappingURL=RateLimitNotice.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RateLimitNotice.d.ts","sourceRoot":"","sources":["../../../../../src/features/chat/components/RateLimitNotice.tsx"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,eAAe,wCA8B9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"composer.state.d.ts","sourceRoot":"","sources":["../../../../src/features/chat/composer.state.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,0CAAa,CAAA;AAEtC,sEAAsE;AACtE,eAAO,MAAM,kBAAkB,iDAA8B,CAAA;AAE7D;;6EAE6E;AAC7E,eAAO,MAAM,KAAK,0CAA6B,CAAA;AAE/C;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAgB5D"}
|