@8wave/ai-elements 0.114.0-beta.30 → 0.114.0-beta.44

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 (79) hide show
  1. package/dist/_chunks/{PkStreamingMarkdown-ZD0SROu1.js → PkStreamingMarkdown-BKxA6Ntl.js} +3 -3
  2. package/dist/_chunks/PkStreamingMarkdown-BKxA6Ntl.js.map +1 -0
  3. package/dist/_chunks/{PkToolShowArtifact-LEfO5zfg.js → PkToolShowArtifact-CHxeuKEU.js} +2 -2
  4. package/dist/_chunks/{PkToolShowArtifact-LEfO5zfg.js.map → PkToolShowArtifact-CHxeuKEU.js.map} +1 -1
  5. package/dist/_chunks/{PkToolShowContactForm-BO3JQfts.js → PkToolShowContactForm-DqVLVwqJ.js} +2 -2
  6. package/dist/_chunks/{PkToolShowContactForm-BO3JQfts.js.map → PkToolShowContactForm-DqVLVwqJ.js.map} +1 -1
  7. package/dist/_chunks/{PkToolShowForm-KW8MOL-j.js → PkToolShowForm-YJQPYfEe.js} +2 -2
  8. package/dist/_chunks/{PkToolShowForm-KW8MOL-j.js.map → PkToolShowForm-YJQPYfEe.js.map} +1 -1
  9. package/dist/_chunks/{PkToolShowSources-Bfx-Th_j.js → PkToolShowSources-VFoI0YS8.js} +2 -2
  10. package/dist/_chunks/{PkToolShowSources-Bfx-Th_j.js.map → PkToolShowSources-VFoI0YS8.js.map} +1 -1
  11. package/dist/ai-elements.es.js +114 -22
  12. package/dist/ai-elements.es.js.map +1 -1
  13. package/dist-vue/PkChatbot.js +1 -1
  14. package/dist-vue/PkChatbotEmptyState.js +1 -1
  15. package/dist-vue/PkChatbotInput.js +1 -1
  16. package/dist-vue/PkChatbotMessages.js +1 -1
  17. package/dist-vue/PkChatbotStepPayload.js +1 -1
  18. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  19. package/dist-vue/PkChatbotSteps.js +1 -1
  20. package/dist-vue/PkChatbotViewChat.js +1 -1
  21. package/dist-vue/_chunks/{PkChatbot-CXQzBuxy.js → PkChatbot-BMIs94QB.js} +4 -4
  22. package/dist-vue/_chunks/{PkChatbot-CXQzBuxy.js.map → PkChatbot-BMIs94QB.js.map} +1 -1
  23. package/dist-vue/_chunks/{PkChatbotEmptyState-9mWiPd4B.js → PkChatbotEmptyState-Dicjr_Fv.js} +2 -2
  24. package/dist-vue/_chunks/{PkChatbotEmptyState-9mWiPd4B.js.map → PkChatbotEmptyState-Dicjr_Fv.js.map} +1 -1
  25. package/dist-vue/_chunks/{PkChatbotInput-BzaCyeFp.js → PkChatbotInput-DcLmOqA1.js} +2 -2
  26. package/dist-vue/_chunks/{PkChatbotInput-BzaCyeFp.js.map → PkChatbotInput-DcLmOqA1.js.map} +1 -1
  27. package/dist-vue/_chunks/{PkChatbotMessages-KH5RE8Dk.js → PkChatbotMessages-Bj7mjhqN.js} +14 -14
  28. package/dist-vue/_chunks/{PkChatbotMessages-KH5RE8Dk.js.map → PkChatbotMessages-Bj7mjhqN.js.map} +1 -1
  29. package/dist-vue/_chunks/{PkChatbotStepPayload-C36nXLW7.js → PkChatbotStepPayload-rKaeDQDj.js} +2 -2
  30. package/dist-vue/_chunks/{PkChatbotStepPayload-C36nXLW7.js.map → PkChatbotStepPayload-rKaeDQDj.js.map} +1 -1
  31. package/dist-vue/_chunks/{PkChatbotStepToolDetail-CBX-AQXv.js → PkChatbotStepToolDetail-5HdSV8Im.js} +3 -3
  32. package/dist-vue/_chunks/{PkChatbotStepToolDetail-CBX-AQXv.js.map → PkChatbotStepToolDetail-5HdSV8Im.js.map} +1 -1
  33. package/dist-vue/_chunks/{PkChatbotSteps-356rnZG5.js → PkChatbotSteps-CPPjwTJN.js} +5 -5
  34. package/dist-vue/_chunks/{PkChatbotSteps-356rnZG5.js.map → PkChatbotSteps-CPPjwTJN.js.map} +1 -1
  35. package/dist-vue/_chunks/{PkChatbotViewChat-D5sfTMCW.js → PkChatbotViewChat-CQ5WcZs8.js} +6 -6
  36. package/dist-vue/_chunks/{PkChatbotViewChat-D5sfTMCW.js.map → PkChatbotViewChat-CQ5WcZs8.js.map} +1 -1
  37. package/dist-vue/_chunks/{PkStreamingMarkdown-BN7waklD.js → PkStreamingMarkdown-DYy79C1P.js} +2 -2
  38. package/dist-vue/_chunks/{PkStreamingMarkdown-BN7waklD.js.map → PkStreamingMarkdown-DYy79C1P.js.map} +1 -1
  39. package/dist-vue/_chunks/{PkToolShowArtifact-DrE_mK1z.js → PkToolShowArtifact-DUOnFdfa.js} +2 -2
  40. package/dist-vue/_chunks/{PkToolShowArtifact-DrE_mK1z.js.map → PkToolShowArtifact-DUOnFdfa.js.map} +1 -1
  41. package/dist-vue/_chunks/{PkToolShowContactForm-BBTbrgt4.js → PkToolShowContactForm-1TFKvG_s.js} +2 -2
  42. package/dist-vue/_chunks/{PkToolShowContactForm-BBTbrgt4.js.map → PkToolShowContactForm-1TFKvG_s.js.map} +1 -1
  43. package/dist-vue/_chunks/{PkToolShowDiagram-CztnTdq2.js → PkToolShowDiagram-BziggKVa.js} +2 -2
  44. package/dist-vue/_chunks/{PkToolShowDiagram-CztnTdq2.js.map → PkToolShowDiagram-BziggKVa.js.map} +1 -1
  45. package/dist-vue/_chunks/{PkToolShowEmail-C30K5kJA.js → PkToolShowEmail-BDsBoETQ.js} +2 -2
  46. package/dist-vue/_chunks/{PkToolShowEmail-C30K5kJA.js.map → PkToolShowEmail-BDsBoETQ.js.map} +1 -1
  47. package/dist-vue/_chunks/{PkToolShowForm-C9N_SSm8.js → PkToolShowForm-DwFKxMJd.js} +3 -3
  48. package/dist-vue/_chunks/{PkToolShowForm-C9N_SSm8.js.map → PkToolShowForm-DwFKxMJd.js.map} +1 -1
  49. package/dist-vue/_chunks/{PkToolShowMessage-DvkCRERv.js → PkToolShowMessage-Dau3agUy.js} +2 -2
  50. package/dist-vue/_chunks/{PkToolShowMessage-DvkCRERv.js.map → PkToolShowMessage-Dau3agUy.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkToolShowProductList-cfjg3CmV.js → PkToolShowProductList-CsupMsuy.js} +2 -2
  52. package/dist-vue/_chunks/{PkToolShowProductList-cfjg3CmV.js.map → PkToolShowProductList-CsupMsuy.js.map} +1 -1
  53. package/dist-vue/_chunks/{PkToolShowSources-CyR2GTiE.js → PkToolShowSources-TzkNgwnr.js} +3 -3
  54. package/dist-vue/_chunks/{PkToolShowSources-CyR2GTiE.js.map → PkToolShowSources-TzkNgwnr.js.map} +1 -1
  55. package/dist-vue/_chunks/{PkToolShowWebPages-CkQ2NhRj.js → PkToolShowWebPages-D4E3Xzg1.js} +2 -2
  56. package/dist-vue/_chunks/{PkToolShowWebPages-CkQ2NhRj.js.map → PkToolShowWebPages-D4E3Xzg1.js.map} +1 -1
  57. package/dist-vue/_chunks/{PkUrl-BsD4Vby6.js → PkUrl-Cu3qKl4G.js} +2 -2
  58. package/dist-vue/_chunks/{PkUrl-BsD4Vby6.js.map → PkUrl-Cu3qKl4G.js.map} +1 -1
  59. package/dist-vue/_chunks/{utils--8iNpBr_.js → utils-B45A2ONa.js} +3 -3
  60. package/dist-vue/_chunks/{utils--8iNpBr_.js.map → utils-B45A2ONa.js.map} +1 -1
  61. package/dist-vue/composables.js +107 -15
  62. package/dist-vue/composables.js.map +1 -1
  63. package/dist-vue/index.js +26 -26
  64. package/dist-vue/index.js.map +1 -1
  65. package/dist-vue/locales.js +2 -0
  66. package/dist-vue/packages/auth/src/add-member-to-organization.d.ts +8 -2
  67. package/dist-vue/packages/auth/src/organization-member-limit.d.ts +12 -0
  68. package/dist-vue/packages/auth/src/two-factor-admin-plugin.d.ts +2 -0
  69. package/dist-vue/packages/auth/src/two-factor-policy-client-plugin.d.ts +105 -2
  70. package/dist-vue/packages/auth/src/two-factor-policy-plugin.d.ts +43 -2
  71. package/dist-vue/packages/models/src/schema/Lead.d.ts +1 -1
  72. package/dist-vue/packages/models/src/schema/McpServer.d.ts +13 -0
  73. package/dist-vue/packages/models/src/schema/Member.d.ts +7 -0
  74. package/dist-vue/packages/models/src/schema/Notification.d.ts +25 -0
  75. package/dist-vue/packages/models/src/schema/Organization.d.ts +19 -0
  76. package/dist-vue/packages/models/src/schema/SignInSecurity.d.ts +168 -0
  77. package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
  78. package/package.json +1 -1
  79. package/dist/_chunks/PkStreamingMarkdown-ZD0SROu1.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -1,48 +1,48 @@
1
1
  import { t as e } from "./_chunks/rolldown-runtime-Dy4uBu1J.js";
2
- import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-C9N_SSm8.js";
2
+ import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-DwFKxMJd.js";
3
3
  import { C as i, S as a, _ as o, a as s, b as c, d as l, g as u, l as d, n as f, o as p, p as m, w as h, y as g } from "./_chunks/schemas-DxbHVg3r.js";
4
4
  import { i as _, r as v } from "./_chunks/Media-_HfFLHGD.js";
5
5
  import { C as y, E as ee, M as b, S as x, T as S, _ as C, d as w, g as te, i as ne, m as re, n as T, o as ie, p as ae, r as oe, t as se, u as ce, v as le, w as ue, x as de, y as fe } from "./_chunks/Agent-tbKw8Mdt.js";
6
6
  import { c as pe, d as me, l as he, r as ge, s as _e, t as ve, u as ye } from "./_chunks/Document-nCWwJC2h.js";
7
7
  import { a as be, i as xe, n as Se } from "./_chunks/createChatbotApiClient-BlWs282E.js";
8
8
  import { t as Ce } from "./_chunks/PkChatbotAuth-jzoNJkmH.js";
9
- import { t as we } from "./_chunks/PkStreamingMarkdown-BN7waklD.js";
9
+ import { t as we } from "./_chunks/PkStreamingMarkdown-DYy79C1P.js";
10
10
  import { a as Te, i as Ee, n as De, r as Oe } from "./_chunks/useChatbotStore-CMo47fnS.js";
11
11
  import "./_chunks/src-DT8FLE4_.js";
12
12
  import { c as ke, i as Ae, s as je } from "./_chunks/message-RohfrdWS.js";
13
- import { i as Me, n as Ne, r as Pe, t as Fe } from "./_chunks/PkChatbotMessages-KH5RE8Dk.js";
13
+ import { i as Me, n as Ne, r as Pe, t as Fe } from "./_chunks/PkChatbotMessages-Bj7mjhqN.js";
14
14
  import { t as Ie } from "./_chunks/useSafeLocalStorage-Ce3S1Ayn.js";
15
15
  import { t as Le } from "./_chunks/useDialogConfirm-KWz0ohCQ.js";
16
16
  import { n as Re, r as ze, t as Be } from "./_chunks/PkChatbotViewConversations-CHpN4vhm.js";
17
- import { i as Ve, n as He, r as Ue, t as We } from "./_chunks/PkChatbotViewChat-D5sfTMCW.js";
17
+ import { i as Ve, n as He, r as Ue, t as We } from "./_chunks/PkChatbotViewChat-CQ5WcZs8.js";
18
18
  import { t as Ge } from "./_chunks/PkChatbotError-CuX9C_b9.js";
19
19
  import { t as Ke } from "./_chunks/useImageFallback-5vQIO0pC.js";
20
20
  import { t as qe } from "./_chunks/useLocalizedString-PfaKjIQY.js";
21
21
  import { n as Je, t as Ye } from "./_chunks/PkRelativeTime--1cIphlA.js";
22
- import { r as Xe, t as Ze } from "./_chunks/PkToolShowArtifact-DrE_mK1z.js";
22
+ import { r as Xe, t as Ze } from "./_chunks/PkToolShowArtifact-DUOnFdfa.js";
23
23
  import { $ as Qe, A as $e, B as et, C as tt, Ct as nt, D as rt, E as it, F as at, G as ot, H as st, I as ct, J as lt, K as ut, L as dt, M as ft, N as E, Q as pt, S as mt, St as ht, T as gt, Tt as _t, U as vt, V as yt, W as bt, X as xt, _t as St, a as Ct, at as wt, b as Tt, bt as Et, c as Dt, ct as Ot, d as kt, dt as At, et as jt, f as Mt, gt as Nt, h as Pt, it as Ft, j as It, k as Lt, l as D, lt as O, mt as Rt, nt as zt, o as Bt, ot as Vt, pt as Ht, q as Ut, rt as Wt, st as Gt, tt as Kt, u as qt, ut as Jt, vt as Yt, w as Xt, wt as Zt, x as Qt, xt as $t, y as en, yt as tn, z as nn } from "./_chunks/dist-Bju7SKiu.js";
24
24
  import { n as rn, t as an } from "./_chunks/dist-D6ZVcs1F.js";
25
25
  import { n as on, r as sn } from "./_chunks/dist-Csm5xBQw.js";
26
- import { u as cn, v as ln } from "./_chunks/utils--8iNpBr_.js";
26
+ import { u as cn, v as ln } from "./_chunks/utils-B45A2ONa.js";
27
27
  import { t as un } from "./_chunks/PkLazyImg-CDxX9xnq.js";
28
28
  import { n as dn, r as fn, t as pn } from "./_chunks/PkChatbotFilePreview-CwiVQDF2.js";
29
29
  import { t as mn } from "./_chunks/PkSvgViewer-D-0M5bqg.js";
30
- import { t as hn } from "./_chunks/PkUrl-BsD4Vby6.js";
30
+ import { t as hn } from "./_chunks/PkUrl-Cu3qKl4G.js";
31
31
  import { t as gn } from "./_chunks/PkAvatar-paEJByEA.js";
32
32
  import { t as _n } from "./_chunks/PkChatbotFeedbackForm-4XWLHOkB.js";
33
- import { n as vn, t as yn } from "./_chunks/PkChatbotSteps-356rnZG5.js";
34
- import { t as bn } from "./_chunks/PkChatbotStepPayload-C36nXLW7.js";
35
- import { t as xn } from "./_chunks/PkChatbotStepToolDetail-CBX-AQXv.js";
36
- import { n as Sn, t as Cn } from "./_chunks/PkChatbotInput-BzaCyeFp.js";
37
- import { t as wn } from "./_chunks/PkChatbotEmptyState-9mWiPd4B.js";
33
+ import { n as vn, t as yn } from "./_chunks/PkChatbotSteps-CPPjwTJN.js";
34
+ import { t as bn } from "./_chunks/PkChatbotStepPayload-rKaeDQDj.js";
35
+ import { t as xn } from "./_chunks/PkChatbotStepToolDetail-5HdSV8Im.js";
36
+ import { n as Sn, t as Cn } from "./_chunks/PkChatbotInput-DcLmOqA1.js";
37
+ import { t as wn } from "./_chunks/PkChatbotEmptyState-Dicjr_Fv.js";
38
38
  import { t as Tn } from "./_chunks/PkChatbotViewProfile-CosaHA-g.js";
39
- import { t as En } from "./_chunks/PkChatbot-CXQzBuxy.js";
40
- import { i as Dn, r as On, t as kn } from "./_chunks/PkToolShowSources-CyR2GTiE.js";
41
- import { t as An } from "./_chunks/PkToolShowEmail-C30K5kJA.js";
42
- import { t as jn } from "./_chunks/PkToolShowMessage-DvkCRERv.js";
43
- import { t as Mn } from "./_chunks/PkToolShowWebPages-CkQ2NhRj.js";
44
- import { t as Nn } from "./_chunks/PkToolShowProductList-cfjg3CmV.js";
45
- import { t as Pn } from "./_chunks/PkToolShowContactForm-BBTbrgt4.js";
39
+ import { t as En } from "./_chunks/PkChatbot-BMIs94QB.js";
40
+ import { i as Dn, r as On, t as kn } from "./_chunks/PkToolShowSources-TzkNgwnr.js";
41
+ import { t as An } from "./_chunks/PkToolShowEmail-BDsBoETQ.js";
42
+ import { t as jn } from "./_chunks/PkToolShowMessage-Dau3agUy.js";
43
+ import { t as Mn } from "./_chunks/PkToolShowWebPages-D4E3Xzg1.js";
44
+ import { t as Nn } from "./_chunks/PkToolShowProductList-CsupMsuy.js";
45
+ import { t as Pn } from "./_chunks/PkToolShowContactForm-1TFKvG_s.js";
46
46
  import { t as Fn } from "./_chunks/PkToolShowCalendarEvent-BsBdsbV0.js";
47
47
  import { t as In } from "./_chunks/PkToolShowComparison-DQs3E6-k.js";
48
48
  import { t as Ln } from "./_chunks/PkToolShowLocation-Bv6sLN5P.js";
@@ -16309,7 +16309,7 @@ var fC = /*#__PURE__*/ lC(uC, [["render", dC]]), pC = {
16309
16309
  }
16310
16310
  });
16311
16311
  //#endregion
16312
- //#region virtual:intlify-i18n-3
16312
+ //#region virtual:intlify-i18n-4
16313
16313
  function SC(e) {
16314
16314
  let t = e;
16315
16315
  t.__i18n = t.__i18n || [], t.__i18n.push({
@@ -16496,7 +16496,7 @@ var CC = xC, wC = { class: "block text-smaller mt-4" }, TC = { class: "block tex
16496
16496
  }
16497
16497
  });
16498
16498
  //#endregion
16499
- //#region virtual:intlify-i18n-4
16499
+ //#region virtual:intlify-i18n-3
16500
16500
  function kC(e) {
16501
16501
  let t = e;
16502
16502
  t.__i18n = t.__i18n || [], t.__i18n.push({
@@ -20254,16 +20254,16 @@ var zC = { class: "flex items-center gap-xs min-w-0" }, BC = { class: "truncate"
20254
20254
  class: "pk-tool-selection"
20255
20255
  }, iE = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, aE = { class: "flex items-center bg-gray-lighten-1 text-white px-6 py-3 rounded" }, oE = { class: "font-semibold text-12 truncate" }, sE = {
20256
20256
  key: 0,
20257
- class: "text-10 text-warning-darken-2 bg-surface-warning rounded px-4 py-2"
20257
+ class: "text-10 text-word-1 bg-surface-warning rounded px-4 py-2"
20258
20258
  }, cE = ["title"], lE = { class: "font-mono text-10 text-word-3 truncate ml-auto" }, uE = { class: "border rounded-b border-surface-3" }, dE = {
20259
20259
  key: 0,
20260
20260
  class: "flex flex-col gap-6 p-8 border-b border-surface-3 text-12 text-word-2"
20261
20261
  }, fE = { key: 0 }, pE = {
20262
20262
  key: 1,
20263
- class: "flex items-center gap-4 text-warning-darken-2"
20263
+ class: "flex items-center gap-4"
20264
20264
  }, mE = { class: "flex flex-wrap items-center justify-between gap-x-12 gap-y-4 p-8 border-b border-surface-3 text-12 text-word-3" }, hE = ["title"], gE = { class: "flex shrink-0" }, _E = { class: "pk-tool-selection__label" }, vE = { class: "tabular-nums truncate" }, yE = { class: "pk-tool-selection__groups" }, bE = { class: "flex flex-col gap-4 min-w-0" }, xE = { class: "flex items-center gap-6 min-w-0" }, SE = { class: "pk-tool-selection__label" }, CE = ["title"], wE = { class: "flex flex-wrap items-center gap-x-6 gap-y-2 text-10 text-word-3" }, TE = { key: 0 }, EE = {
20265
20265
  key: 1,
20266
- class: "text-warning-darken-2 bg-surface-warning rounded px-4 py-2"
20266
+ class: "text-word-1 bg-surface-warning rounded px-4 py-2"
20267
20267
  }, DE = {
20268
20268
  key: 2,
20269
20269
  class: "pk-tool-selection__label"
@@ -20330,7 +20330,7 @@ var zC = { class: "flex items-center gap-xs min-w-0" }, BC = { class: "truncate"
20330
20330
  ]), P("div", uE, [
20331
20331
  a.value.decision.failed || a.value.missed > 0 ? (z(), N("div", dE, [a.value.decision.failed ? (z(), N("p", fE, H(U(n)("toolSelection.leadFailed", { budget: U(r)(a.value.decision.budgetMs, "integer") })), 1)) : M("", !0), a.value.missed > 0 ? (z(), N("p", pE, [I(s, {
20332
20332
  name: "ri:error-warning-line",
20333
- class: "shrink-0"
20333
+ class: "shrink-0 text-warning-darken-3"
20334
20334
  }), F(" " + H(U(n)(a.value.decision.mode === "active" ? "toolSelection.missedActive" : "toolSelection.missedShadow", a.value.missed)), 1)])) : M("", !0)])) : M("", !0),
20335
20335
  P("dl", mE, [(z(!0), N(k, null, Or(o.value, (e) => (z(), N("div", {
20336
20336
  key: e.icon,
@@ -20388,7 +20388,7 @@ var zC = { class: "flex items-center gap-xs min-w-0" }, BC = { class: "truncate"
20388
20388
  }
20389
20389
  }), NE = ["aria-labelledby"], PE = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, FE = { class: "flex items-center bg-gray-lighten-1 text-white px-6 py-3 rounded" }, IE = ["id"], LE = {
20390
20390
  key: 0,
20391
- class: "text-10 text-warning-darken-2 bg-surface-warning rounded px-4 py-2"
20391
+ class: "text-10 text-word-1 bg-surface-warning rounded px-4 py-2"
20392
20392
  }, RE = ["title"], zE = { class: "u-visually-hidden" }, BE = ["title"], VE = { class: "u-visually-hidden" }, HE = { class: "border rounded-b border-surface-3" }, UE = {
20393
20393
  key: 0,
20394
20394
  class: "p-8 border-b border-surface-3 text-12 text-word-2"