@opencx/widget 3.0.59 → 3.0.62
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/designs.cjs +20 -20
- package/dist/designs.cjs.map +1 -1
- package/dist/designs.js +2641 -2528
- package/dist/designs.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +2 -2
- package/dist/src/designs/react/components/PoweredByOpen.d.ts +4 -0
- package/dist/src/designs/react/components/svg/ChatBubbleSvg.d.ts +4 -0
- package/dist/src/designs/react/components/svg/OpenLogoPatternSvg.d.ts +4 -0
- package/dist/src/designs/translation/translation.types.d.ts +1 -1
- package/dist/{useUploadFiles-CTxco6Vk.js → useUploadFiles-CuKmw1i6.js} +2 -2
- package/dist/{useUploadFiles-CTxco6Vk.js.map → useUploadFiles-CuKmw1i6.js.map} +1 -1
- package/dist/{useUploadFiles-C-V11Szc.cjs → useUploadFiles-QsuqTkzg.cjs} +2 -2
- package/dist/{useUploadFiles-C-V11Szc.cjs.map → useUploadFiles-QsuqTkzg.cjs.map} +1 -1
- package/dist-embed/script.js +64 -64
- package/dist-embed/script.js.map +1 -1
- package/package.json +1 -1
- /package/dist/src/designs/react/components/{OpenLogoSvg.d.ts → svg/OpenLogoSvg.d.ts} +0 -0
package/dist/react.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./useUploadFiles-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./useUploadFiles-QsuqTkzg.cjs");function a(t,s,u){const{widgetCtx:{api:i}}=e.useWidget();return e._default(async o=>i.vote({action:o==="up"?"upvote":"downvote",messagePublicId:t,sessionId:s}).then(u),[i,t,s,u])}exports.WidgetProvider=e.WidgetProvider;exports.useConfig=e.useConfig;exports.useContact=e.useContact;exports.useIsAwaitingBotReply=e.useIsAwaitingBotReply;exports.useMessages=e.useMessages;exports.usePreludeData=e.usePreludeData;exports.usePrimitiveState=e.usePrimitiveState;exports.useSessions=e.useSessions;exports.useUploadFiles=e.useUploadFiles;exports.useWidget=e.useWidget;exports.useWidgetRouter=e.useWidgetRouter;exports.useVote=a;
|
|
2
2
|
//# sourceMappingURL=react.cjs.map
|
package/dist/react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as o, _ as i } from "./useUploadFiles-
|
|
2
|
-
import { W as p, a as f, b as l, c, d as m, e as v, f as P, g as W, i as w, h as x } from "./useUploadFiles-
|
|
1
|
+
import { u as o, _ as i } from "./useUploadFiles-CuKmw1i6.js";
|
|
2
|
+
import { W as p, a as f, b as l, c, d as m, e as v, f as P, g as W, i as w, h as x } from "./useUploadFiles-CuKmw1i6.js";
|
|
3
3
|
function n(e, s, t) {
|
|
4
4
|
const {
|
|
5
5
|
widgetCtx: { api: a }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type TranslationKeysU = "ok" | "yes" | "no" | "agree" | "cancel" | "yes-exit" | "yes-reset" | "no-cancel" | "are-you-sure" | "recording" | "thank-you" | "sorry-try-again" | "error-occurred" | "please-try-again" | "write-a-message" | "send-message" | "connected" | "connecting" | "reconnecting" | "reconnected" | "disconnecting" | "disconnected" | "error" | "persist-session" | "settings" | "close" | "help" | "chat" | "send" | "copy" | "copied" | "sound-effects" | "language" | "select" | "agent" | "user" | "bot" | "close-widget" | "got-any-questions" | "typical-response-time" | "session-closed-lead" | "create-new-ticket" | "exit" | "reset-conversation" | "new-conversation" | "welcome-title" | "welcome-description" | "your-name" | "your-email" | "start-chat" | "starting-chat" | "hello-greeting" | "i-need-more-help" | "this-was-helpful" | "optional";
|
|
1
|
+
export type TranslationKeysU = "ok" | "yes" | "no" | "agree" | "cancel" | "yes-exit" | "yes-reset" | "no-cancel" | "are-you-sure" | "recording" | "thank-you" | "sorry-try-again" | "error-occurred" | "please-try-again" | "write-a-message" | "send-message" | "connected" | "connecting" | "reconnecting" | "reconnected" | "disconnecting" | "disconnected" | "error" | "persist-session" | "settings" | "close" | "help" | "chat" | "send" | "copy" | "copied" | "sound-effects" | "language" | "select" | "agent" | "user" | "bot" | "close-widget" | "got-any-questions" | "typical-response-time" | "session-closed-lead" | "create-new-ticket" | "exit" | "reset-conversation" | "new-conversation" | "welcome-title" | "welcome-description" | "your-name" | "your-email" | "start-chat" | "starting-chat" | "hello-greeting" | "i-need-more-help" | "this-was-helpful" | "optional" | "no-conversations-yet";
|
|
2
2
|
export type TranslationInterface = {
|
|
3
3
|
[K in TranslationKeysU]: string;
|
|
4
4
|
};
|
|
@@ -36,7 +36,7 @@ function Zt(e) {
|
|
|
36
36
|
return r;
|
|
37
37
|
}, t.Provider];
|
|
38
38
|
}
|
|
39
|
-
const en = "3.0.
|
|
39
|
+
const en = "3.0.62", [Y, tn] = Zt();
|
|
40
40
|
function Xn({
|
|
41
41
|
options: e,
|
|
42
42
|
children: t,
|
|
@@ -1330,4 +1330,4 @@ export {
|
|
|
1330
1330
|
nr as k,
|
|
1331
1331
|
Y as u
|
|
1332
1332
|
};
|
|
1333
|
-
//# sourceMappingURL=useUploadFiles-
|
|
1333
|
+
//# sourceMappingURL=useUploadFiles-CuKmw1i6.js.map
|