@8wave/ai-elements 0.98.0-beta.3 → 0.98.0-beta.5
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/_chunks/{Document-CjCQXPDF.js → Document-DtFcn7Mq.js} +2 -2
- package/dist/_chunks/Document-DtFcn7Mq.js.map +1 -0
- package/dist/_chunks/{PkToolRequestConfirm-BGt2J3e5.js → PkToolRequestConfirm-FQ9nDFXy.js} +2 -2
- package/dist/_chunks/{PkToolRequestConfirm-BGt2J3e5.js.map → PkToolRequestConfirm-FQ9nDFXy.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-D9kfr6SV.js → PkToolRequestGeolocation-BJ9NJZIg.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-D9kfr6SV.js.map → PkToolRequestGeolocation-BJ9NJZIg.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-BH2tXr0j.js → PkToolRequestOAuthConnection-DdvJ6n1K.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-BH2tXr0j.js.map → PkToolRequestOAuthConnection-DdvJ6n1K.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-DZwH1Run.js → PkToolShowCalendarEvent-BYnhl2er.js} +2 -2
- package/dist/_chunks/{PkToolShowCalendarEvent-DZwH1Run.js.map → PkToolShowCalendarEvent-BYnhl2er.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-DEQBTzf4.js → PkToolShowContactForm-upUNZtId.js} +3 -3
- package/dist/_chunks/{PkToolShowContactForm-DEQBTzf4.js.map → PkToolShowContactForm-upUNZtId.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-siwsx1K7.js → PkToolShowDiagram-Jq_4KWiK.js} +2 -2
- package/dist/_chunks/{PkToolShowDiagram-siwsx1K7.js.map → PkToolShowDiagram-Jq_4KWiK.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-AZwrmmM9.js → PkToolShowForm-BNV4Ja6g.js} +2 -2
- package/dist/_chunks/{PkToolShowForm-AZwrmmM9.js.map → PkToolShowForm-BNV4Ja6g.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-FnMkkdm6.js → PkToolShowSources-DwB6VXrK.js} +2 -2
- package/dist/_chunks/{PkToolShowSources-FnMkkdm6.js.map → PkToolShowSources-DwB6VXrK.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-COyrzQ7m.js → PkToolShowWeather-C2rPCQ_K.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-COyrzQ7m.js.map → PkToolShowWeather-C2rPCQ_K.js.map} +1 -1
- package/dist/_chunks/{index.es-eLFDkB2Y.js → index.es-u1dF1xg2.js} +2 -2
- package/dist/_chunks/{index.es-eLFDkB2Y.js.map → index.es-u1dF1xg2.js.map} +1 -1
- package/dist/_chunks/{vue-i18n-BBwABYBg.js → vue-i18n-kZs9Hfey.js} +650 -640
- package/dist/_chunks/vue-i18n-kZs9Hfey.js.map +1 -0
- package/dist/ai-elements.es.js +150 -121
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Document-B8gv0e2O.js → Document-CSdfKj_B.js} +2 -2
- package/dist-vue/_chunks/{Document-B8gv0e2O.js.map → Document-CSdfKj_B.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-CxpAotKB.js → PkChatbot-DHkhT0Jf.js} +6 -6
- package/dist-vue/_chunks/{PkChatbot-CxpAotKB.js.map → PkChatbot-DHkhT0Jf.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-DEzcxcqc.js → PkChatbotMessages-B4qfTNOJ.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotMessages-DEzcxcqc.js.map → PkChatbotMessages-B4qfTNOJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-QzWSymIg.js → PkChatbotViewChat-C08TsXiL.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotViewChat-QzWSymIg.js.map → PkChatbotViewChat-C08TsXiL.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotViewConversations-BQZi5kSC.js +192 -0
- package/dist-vue/_chunks/PkChatbotViewConversations-BQZi5kSC.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewFiles-RHMwvWUS.js → PkChatbotViewFiles-TLKE_tRw.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-RHMwvWUS.js.map → PkChatbotViewFiles-TLKE_tRw.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-Bka6CUAa.js → PkChatbotViewProfile-B6ANZY96.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-Bka6CUAa.js.map → PkChatbotViewProfile-B6ANZY96.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-rGZz65c2.js → PkToolShowSources-CFh-i60o.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-rGZz65c2.js.map → PkToolShowSources-CFh-i60o.js.map} +1 -1
- package/dist-vue/_chunks/{constants-BSe0uxSf.js → constants-BCJ_gKeL.js} +2 -2
- package/dist-vue/_chunks/{constants-BSe0uxSf.js.map → constants-BCJ_gKeL.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-Bf5DbqVH.js → createChatbotApiClient-BOBdBxmf.js} +2 -2
- package/dist-vue/_chunks/{createChatbotApiClient-Bf5DbqVH.js.map → createChatbotApiClient-BOBdBxmf.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-DeHwEN8W.js → useChatbotStore-BJ-EDmND.js} +3 -3
- package/dist-vue/_chunks/useChatbotStore-BJ-EDmND.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +7 -0
- package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +7 -0
- package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +11 -0
- package/dist-vue/apps/web-component/src/lib.d.ts +6 -0
- package/dist-vue/composables.js +118 -103
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +19 -16
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +3 -134
- package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +3 -134
- package/dist-vue/packages/components/src/chat/constants.d.ts +1 -1
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +24 -24
- package/dist-vue/packages/models/src/schema/constants.d.ts +2 -0
- package/package.json +1 -1
- package/dist/_chunks/Document-CjCQXPDF.js.map +0 -1
- package/dist/_chunks/vue-i18n-BBwABYBg.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewConversations-O-wm_nu1.js +0 -192
- package/dist-vue/_chunks/PkChatbotViewConversations-O-wm_nu1.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-DeHwEN8W.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -2,19 +2,19 @@ import { t as e } from "./_chunks/rolldown-runtime-Dy4uBu1J.js";
|
|
|
2
2
|
import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-C-mWyeka.js";
|
|
3
3
|
import { S as i, _ as a, b as o, g as s, h as c, n as l, v as u } from "./_chunks/schemas-DnUKIqgi.js";
|
|
4
4
|
import { i as d, r as f } from "./_chunks/Media-B_7Yj-ml.js";
|
|
5
|
-
import { r as p, s as m } from "./_chunks/constants-
|
|
6
|
-
import { a as h, c as g, d as _, f as v, i as y, l as b, n as x, o as ee, r as S, s as C, u as te } from "./_chunks/createChatbotApiClient-
|
|
7
|
-
import { r as w, t as ne } from "./_chunks/Document-
|
|
5
|
+
import { r as p, s as m } from "./_chunks/constants-BCJ_gKeL.js";
|
|
6
|
+
import { a as h, c as g, d as _, f as v, i as y, l as b, n as x, o as ee, r as S, s as C, u as te } from "./_chunks/createChatbotApiClient-BOBdBxmf.js";
|
|
7
|
+
import { r as w, t as ne } from "./_chunks/Document-CSdfKj_B.js";
|
|
8
8
|
import { t as re } from "./_chunks/PkChatbotAuth-C_L2xWuD.js";
|
|
9
9
|
import { t as ie } from "./_chunks/PkChatbotError-B2iob9cQ.js";
|
|
10
|
-
import { i as ae, n as oe, r as se, t as ce } from "./_chunks/useChatbotStore-
|
|
10
|
+
import { i as ae, n as oe, r as se, t as ce } from "./_chunks/useChatbotStore-BJ-EDmND.js";
|
|
11
11
|
import "./_chunks/src-8QXYVWIx.js";
|
|
12
12
|
import { c as le, i as ue, s as de } from "./_chunks/message-RohfrdWS.js";
|
|
13
13
|
import { n as fe, r as pe, t as me } from "./_chunks/text-CeT0hpJK.js";
|
|
14
14
|
import { t as he } from "./_chunks/useSafeLocalStorage-BGbMO01p.js";
|
|
15
15
|
import { t as ge } from "./_chunks/useDialogConfirm-DaoekZdk.js";
|
|
16
|
-
import { n as _e, r as ve, t as ye } from "./_chunks/PkChatbotViewConversations-
|
|
17
|
-
import { n as be, t as xe } from "./_chunks/PkChatbotViewChat-
|
|
16
|
+
import { n as _e, r as ve, t as ye } from "./_chunks/PkChatbotViewConversations-BQZi5kSC.js";
|
|
17
|
+
import { n as be, t as xe } from "./_chunks/PkChatbotViewChat-C08TsXiL.js";
|
|
18
18
|
import { t as Se } from "./_chunks/useLocalizedString-PfaKjIQY.js";
|
|
19
19
|
import { n as Ce, t as we } from "./_chunks/PkRelativeTime-C9zd1ffO.js";
|
|
20
20
|
import { r as Te, t as Ee } from "./_chunks/PkToolShowArtifact-CTBwt4DN.js";
|
|
@@ -28,15 +28,15 @@ import { t as Ct } from "./_chunks/PkUrl-CN1kkZiH.js";
|
|
|
28
28
|
import { t as wt } from "./_chunks/PkAvatar-CyIgsndA.js";
|
|
29
29
|
import { t as Tt } from "./_chunks/PkChatbotFeedbackForm-BSe40qlc.js";
|
|
30
30
|
import { t as Et } from "./_chunks/PkChatbotFilePreview-DyrszALJ.js";
|
|
31
|
-
import { t as Dt } from "./_chunks/PkChatbotMessages-
|
|
31
|
+
import { t as Dt } from "./_chunks/PkChatbotMessages-B4qfTNOJ.js";
|
|
32
32
|
import { n as Ot, t as kt } from "./_chunks/PkChatbotSteps-BpqdFhsG.js";
|
|
33
33
|
import { c as At, r as jt } from "./_chunks/utils-BMa8jwJS.js";
|
|
34
34
|
import { t as Mt } from "./_chunks/PkChatbotStepToolDetail-ldThv0t5.js";
|
|
35
35
|
import { t as Nt } from "./_chunks/PkChatbotInput-DTazYlPd.js";
|
|
36
36
|
import { t as Pt } from "./_chunks/PkChatbotEmptyState-BGOC6vxr.js";
|
|
37
|
-
import { t as Ft } from "./_chunks/PkChatbotViewProfile-
|
|
38
|
-
import { t as It } from "./_chunks/PkChatbot-
|
|
39
|
-
import { i as Lt, r as Rt, t as zt } from "./_chunks/PkToolShowSources-
|
|
37
|
+
import { t as Ft } from "./_chunks/PkChatbotViewProfile-B6ANZY96.js";
|
|
38
|
+
import { t as It } from "./_chunks/PkChatbot-DHkhT0Jf.js";
|
|
39
|
+
import { i as Lt, r as Rt, t as zt } from "./_chunks/PkToolShowSources-CFh-i60o.js";
|
|
40
40
|
import { t as Bt } from "./_chunks/PkToolShowEmail-C591LR5N.js";
|
|
41
41
|
import { t as Vt } from "./_chunks/PkToolShowMessage-CbXERPHI.js";
|
|
42
42
|
import { t as Ht } from "./_chunks/PkToolShowWebPages-CsACREOH.js";
|
|
@@ -13879,23 +13879,24 @@ var Lv = { class: "pk-editor-markdown" }, Rv = {
|
|
|
13879
13879
|
o.value = [e];
|
|
13880
13880
|
return;
|
|
13881
13881
|
}
|
|
13882
|
-
|
|
13882
|
+
let t = i.force ? JSON.parse(JSON.stringify([...o.value, e])) : [...o.value, e];
|
|
13883
|
+
o.value = t;
|
|
13883
13884
|
};
|
|
13884
13885
|
K(o, (e) => {
|
|
13885
13886
|
(e == null || e.length === 0) && !i.allowEmpty && s();
|
|
13886
13887
|
}, { immediate: !0 });
|
|
13887
13888
|
let { openDialogConfirm: c } = ge(), l = async (e) => {
|
|
13888
|
-
i.confirm && !await c() || o.value.
|
|
13889
|
+
i.confirm && !await c() || (o.value = o.value.filter((t, n) => n !== e));
|
|
13889
13890
|
}, u = async () => {
|
|
13890
13891
|
i.confirm && !await c() || a("update:modelValue", []);
|
|
13891
13892
|
}, d = (e) => {
|
|
13892
13893
|
if (e === 0) return;
|
|
13893
|
-
let t = o.value[e
|
|
13894
|
-
|
|
13894
|
+
let t = [...o.value], [n] = t.splice(e, 1);
|
|
13895
|
+
t.splice(e - 1, 0, n), o.value = t;
|
|
13895
13896
|
}, f = (e) => {
|
|
13896
13897
|
if (e === o.value.length - 1) return;
|
|
13897
|
-
let t = o.value[e
|
|
13898
|
-
|
|
13898
|
+
let t = [...o.value], [n] = t.splice(e, 1);
|
|
13899
|
+
t.splice(e + 1, 0, n), o.value = t;
|
|
13899
13900
|
};
|
|
13900
13901
|
return t({
|
|
13901
13902
|
addItem: s,
|
|
@@ -14378,6 +14379,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
14378
14379
|
p.claudeOpus46,
|
|
14379
14380
|
p.claudeOpus47,
|
|
14380
14381
|
p.claudeOpus48,
|
|
14382
|
+
p.claudeOpus5,
|
|
14383
|
+
p.claudeOpus5Fast,
|
|
14381
14384
|
p.claudeFable5,
|
|
14382
14385
|
p.deepseek32,
|
|
14383
14386
|
p.deepseek4pro,
|