@aitronos/freddy-plugins 0.4.67 → 0.4.68
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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +143 -143
- package/dist/index.js.map +1 -1
- package/dist/src/components/Descriptions.vue.d.ts +5 -35
- package/dist/src/interfaces/ui/descriptions.interfaces.d.ts +71 -0
- package/dist/src/interfaces/ui/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var ze = Object.defineProperty;
|
|
2
2
|
var He = (y, m, s) => m in y ? ze(y, m, { enumerable: !0, configurable: !0, writable: !0, value: s }) : y[m] = s;
|
|
3
3
|
var ye = (y, m, s) => He(y, typeof m != "symbol" ? m + "" : m, s);
|
|
4
|
-
import { defineAsyncComponent as R, defineComponent as N, createElementBlock as f, openBlock as c, normalizeStyle as oe, normalizeClass as F, createStaticVNode as Ue, createBlock as E, Transition as le, withCtx as Z, createCommentVNode as w, createElementVNode as a, renderSlot as q, toDisplayString as B, createVNode as L, unref as
|
|
4
|
+
import { defineAsyncComponent as R, defineComponent as N, createElementBlock as f, openBlock as c, normalizeStyle as oe, normalizeClass as F, createStaticVNode as Ue, createBlock as E, Transition as le, withCtx as Z, createCommentVNode as w, createElementVNode as a, renderSlot as q, toDisplayString as B, createVNode as L, unref as A, ref as D, computed as M, Fragment as O, renderList as j, resolveDynamicComponent as K, watch as G, withKeys as z, withModifiers as U, withDirectives as Q, vModelText as Y, createTextVNode as J, onMounted as me, nextTick as te, shallowRef as je, mergeProps as se, vModelDynamic as Ke, onUnmounted as Ae, useAttrs as Ge } from "vue";
|
|
5
5
|
import { I as Ze, _ as H, a as pe, b as qe, c as We, d as he, e as ee, f as Je, g as Qe, h as Ye, i as Xe, j as ce, k as et, l as tt, m as ot, n as nt, o as fe, p as st, q as ae, r as it, s as at, u as ne, t as lt, v as ct, w as rt, x as dt, y as ut, z as pt, A as Se, B as ht, C as Te, D as ft, E as mt, F as vt, G as yt, H as gt, J as It, K as bt, L as kt, M as Fe, N as _t, O as Be, P as Me, Q as Ct, R as wt, S as St, T as $e, U as Tt } from "./icons-BAyOBzYf.js";
|
|
6
|
-
import { V as
|
|
6
|
+
import { V as Ac, W as Fc, X as Bc, Y as Mc, Z as Lc, $ as Vc, a0 as Ec, a1 as Nc, a2 as Rc, a3 as Oc, a4 as zc, a5 as Hc, a6 as Uc, a7 as jc, a8 as Kc, a9 as Gc, aa as Zc, ab as qc, ac as Wc, ad as Jc, ae as Qc, af as Yc, ag as Xc, ah as er, ai as tr, aj as or, ak as nr, al as sr, am as ir, an as ar, ao as lr, ap as cr, aq as rr, ar as dr, as as ur, at as pr, au as hr, av as fr, aw as mr, ax as vr, ay as yr, az as gr, aA as Ir, aB as br, aC as kr, aD as _r, aE as Cr, aF as wr, aG as Sr, aH as Tr, aI as $r, aJ as xr, aK as Pr, aL as Dr, aM as Ar, aN as Fr, aO as Br, aP as Mr, aQ as Lr, aR as Vr, aS as Er, aT as Nr, aU as Rr, aV as Or, aW as zr, aX as Hr, aY as Ur, aZ as jr, a_ as Kr, a$ as Gr, b0 as Zr, b1 as qr, b2 as Wr, b3 as Jr, b4 as Qr, b5 as Yr, b6 as Xr, b7 as ed, b8 as td, b9 as od, ba as nd, bb as sd, bc as id, bd as ad, be as ld, bf as cd, bg as rd, bh as dd, bi as ud, bj as pd, bk as hd, bl as fd, bm as md, bn as vd, bo as yd, bp as gd, bq as Id, br as bd, bs as kd, bt as _d, bu as Cd, bv as wd, bw as Sd, bx as Td, by as $d, bz as xd, bA as Pd, bB as Dd, bC as Ad, bD as Fd, bE as Bd, c3 as Md, bI as Ld, b$ as Vd, bW as Ed, bQ as Nd, bZ as Rd, b_ as Od, bH as zd, c1 as Hd, bX as Ud, bK as jd, bO as Kd, bM as Gd, bP as Zd, bL as qd, bR as Wd, bT as Jd, bJ as Qd, bY as Yd, c0 as Xd, bS as eu, c4 as tu, bG as ou, bF as nu, c2 as su, bN as iu, bV as au, bU as lu } from "./icons-BAyOBzYf.js";
|
|
7
7
|
const Le = {
|
|
8
8
|
mounted(y) {
|
|
9
9
|
y.getAttribute("class") || y.setAttribute("class", "base-fallback-style");
|
|
@@ -315,10 +315,10 @@ const xt = [
|
|
|
315
315
|
278.436,375.599 383.003,264.076 364.393,251.618 264.807,364.928 "></polygon></g></g></g></g>`, 1)
|
|
316
316
|
])], 6));
|
|
317
317
|
}
|
|
318
|
-
}),
|
|
318
|
+
}), Dt = {
|
|
319
319
|
key: 0,
|
|
320
320
|
class: "fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"
|
|
321
|
-
},
|
|
321
|
+
}, At = { class: "flex justify-center items-center" }, Ft = { class: "modal-header" }, Bt = { class: "modal-body" }, Mt = { class: "modal-footer" }, Ql = /* @__PURE__ */ N({
|
|
322
322
|
__name: "AdvancedModal",
|
|
323
323
|
props: {
|
|
324
324
|
isVisible: { type: Boolean },
|
|
@@ -327,8 +327,8 @@ const xt = [
|
|
|
327
327
|
setup(y) {
|
|
328
328
|
return (m, s) => (c(), E(le, { name: "modal" }, {
|
|
329
329
|
default: Z(() => [
|
|
330
|
-
m.isVisible ? (c(), f("div",
|
|
331
|
-
a("div",
|
|
330
|
+
m.isVisible ? (c(), f("div", Dt, [
|
|
331
|
+
a("div", At, [
|
|
332
332
|
a("div", {
|
|
333
333
|
class: F({
|
|
334
334
|
"p-8 bg-background rounded-[2.5rem] overflow-hidden text-white 2xl:w-[56.25rem] xl:w-[56.25rem] lg:w-[56.25rem] md:w-[45.625rem] sm:w-[31.25rem] xs:w-auto": m.largeModel
|
|
@@ -379,7 +379,7 @@ const xt = [
|
|
|
379
379
|
a("div", Rt, [
|
|
380
380
|
a("div", Ot, B(i.assistantId), 1),
|
|
381
381
|
i.isDefault ? (c(), f("div", zt, [
|
|
382
|
-
L(
|
|
382
|
+
L(A(Ze), { class: "freddy-assistant-field__lock-icon" })
|
|
383
383
|
])) : w("", !0)
|
|
384
384
|
])
|
|
385
385
|
])
|
|
@@ -393,7 +393,7 @@ const xt = [
|
|
|
393
393
|
},
|
|
394
394
|
emits: ["assistantClick"],
|
|
395
395
|
setup(y, { emit: m }) {
|
|
396
|
-
const s = y, e = m, i =
|
|
396
|
+
const s = y, e = m, i = D(s.selectedAssistantId), l = M(() => {
|
|
397
397
|
const u = s.selectedAssistantId ?? i.value;
|
|
398
398
|
return s.assistants.map((d) => ({
|
|
399
399
|
...d,
|
|
@@ -404,7 +404,7 @@ const xt = [
|
|
|
404
404
|
};
|
|
405
405
|
return (u, d) => (c(), f("div", jt, [
|
|
406
406
|
a("div", Kt, [
|
|
407
|
-
(c(!0), f(O, null, j(l.value, (o, g) => (c(), E(
|
|
407
|
+
(c(!0), f(O, null, j(l.value, (o, g) => (c(), E(A(Ut), {
|
|
408
408
|
key: o.id || g,
|
|
409
409
|
name: o.name,
|
|
410
410
|
date: o.date,
|
|
@@ -470,7 +470,7 @@ const xt = [
|
|
|
470
470
|
class: "freddy-assistants-header__edit-overlay",
|
|
471
471
|
onClick: i
|
|
472
472
|
}, [
|
|
473
|
-
L(
|
|
473
|
+
L(A(pe), { class: "freddy-assistants-header__edit-icon" })
|
|
474
474
|
])
|
|
475
475
|
])) : (c(), f("div", Jt, [
|
|
476
476
|
(c(), E(K(u.value), { class: "freddy-assistants-header__icon-component" })),
|
|
@@ -478,7 +478,7 @@ const xt = [
|
|
|
478
478
|
class: "freddy-assistants-header__edit-overlay-icon",
|
|
479
479
|
onClick: i
|
|
480
480
|
}, [
|
|
481
|
-
L(
|
|
481
|
+
L(A(pe), { class: "freddy-assistants-header__edit-icon" })
|
|
482
482
|
])
|
|
483
483
|
])),
|
|
484
484
|
d.assistantImage && d.assistantIcon ? (c(), f("div", Qt, [
|
|
@@ -497,7 +497,7 @@ const xt = [
|
|
|
497
497
|
class: "freddy-assistants-header__playground-button",
|
|
498
498
|
onClick: l
|
|
499
499
|
}, [
|
|
500
|
-
L(
|
|
500
|
+
L(A(qe), { class: "freddy-assistants-header__playground-icon" }),
|
|
501
501
|
o[0] || (o[0] = a("span", { class: "freddy-assistants-header__playground-label" }, "Playground", -1))
|
|
502
502
|
])
|
|
503
503
|
])
|
|
@@ -558,7 +558,7 @@ const xt = [
|
|
|
558
558
|
},
|
|
559
559
|
emits: ["selectionChange", "avatarClick"],
|
|
560
560
|
setup(y, { expose: m, emit: s }) {
|
|
561
|
-
const e = y, i = s, l =
|
|
561
|
+
const e = y, i = s, l = D(null), r = M(() => e.avatars.find((d) => d.id === l.value) || null), u = (d) => {
|
|
562
562
|
l.value === d && e.allowDeselect ? l.value = null : l.value = d, i("selectionChange", l.value), i("avatarClick", d, l.value === d);
|
|
563
563
|
};
|
|
564
564
|
return m({
|
|
@@ -575,7 +575,7 @@ const xt = [
|
|
|
575
575
|
return c(), f("div", lo, [
|
|
576
576
|
d.title ? (c(), f("h3", co, B(d.title), 1)) : w("", !0),
|
|
577
577
|
a("div", ro, [
|
|
578
|
-
(c(!0), f(O, null, j(d.avatars, (b) => (c(), E(
|
|
578
|
+
(c(!0), f(O, null, j(d.avatars, (b) => (c(), E(A(ao), {
|
|
579
579
|
key: b.id,
|
|
580
580
|
imageUrl: b.url,
|
|
581
581
|
isSelected: l.value === b.id,
|
|
@@ -595,7 +595,7 @@ const xt = [
|
|
|
595
595
|
}, Po = {
|
|
596
596
|
key: 1,
|
|
597
597
|
class: "freddy-choose-assistant-avatar__section"
|
|
598
|
-
},
|
|
598
|
+
}, Do = { class: "freddy-choose-assistant-avatar__voice-list" }, Ao = { class: "freddy-choose-assistant-avatar__actions" }, Fo = ["disabled"], tc = /* @__PURE__ */ N({
|
|
599
599
|
__name: "ChooseAssistantAvatar",
|
|
600
600
|
props: {
|
|
601
601
|
title: { default: "Choose your assistant" },
|
|
@@ -640,7 +640,7 @@ const xt = [
|
|
|
640
640
|
});
|
|
641
641
|
}
|
|
642
642
|
return t;
|
|
643
|
-
}, l = M(() => e.icons.length > 0 ? e.icons : i()), r = s, u =
|
|
643
|
+
}, l = M(() => e.icons.length > 0 ? e.icons : i()), r = s, u = D(null), d = D(null), o = D(null), g = D(null), b = D(null), x = D("");
|
|
644
644
|
M(() => x.value ? l.value.filter(
|
|
645
645
|
(p) => {
|
|
646
646
|
var S;
|
|
@@ -686,7 +686,7 @@ const xt = [
|
|
|
686
686
|
onClick: v,
|
|
687
687
|
"aria-label": t.closeButtonAriaLabel
|
|
688
688
|
}, [
|
|
689
|
-
L(
|
|
689
|
+
L(A(ee), { class: "freddy-choose-assistant-avatar__close-icon" })
|
|
690
690
|
], 8, yo)
|
|
691
691
|
])
|
|
692
692
|
]),
|
|
@@ -702,9 +702,9 @@ const xt = [
|
|
|
702
702
|
onClick: h,
|
|
703
703
|
"aria-label": t.uploadButtonAriaLabel
|
|
704
704
|
}, [
|
|
705
|
-
L(
|
|
705
|
+
L(A(Je), { class: "freddy-choose-assistant-avatar__upload-icon" })
|
|
706
706
|
], 8, Co),
|
|
707
|
-
L(
|
|
707
|
+
L(A(_e), {
|
|
708
708
|
searchInput: x.value,
|
|
709
709
|
"onUpdate:searchInput": [
|
|
710
710
|
p[0] || (p[0] = (S) => x.value = S),
|
|
@@ -740,8 +740,8 @@ const xt = [
|
|
|
740
740
|
])])) : w("", !0),
|
|
741
741
|
t.voices && t.voices.length ? (c(), f("div", Po, [
|
|
742
742
|
p[3] || (p[3] = a("h3", { class: "freddy-choose-assistant-avatar__section-title" }, " Choose the voice ", -1)),
|
|
743
|
-
a("div",
|
|
744
|
-
(c(!0), f(O, null, j(t.voices, (S, _) => (c(), E(
|
|
743
|
+
a("div", Do, [
|
|
744
|
+
(c(!0), f(O, null, j(t.voices, (S, _) => (c(), E(A(Ee), {
|
|
745
745
|
key: S.id || _,
|
|
746
746
|
voiceName: S.name,
|
|
747
747
|
isSelected: b.value === S.id,
|
|
@@ -749,7 +749,7 @@ const xt = [
|
|
|
749
749
|
}, null, 8, ["voiceName", "isSelected", "onClick"]))), 128))
|
|
750
750
|
])
|
|
751
751
|
])) : w("", !0),
|
|
752
|
-
a("div",
|
|
752
|
+
a("div", Ao, [
|
|
753
753
|
a("button", {
|
|
754
754
|
class: "freddy-choose-assistant-avatar__cancel-button",
|
|
755
755
|
onClick: T
|
|
@@ -787,7 +787,7 @@ const xt = [
|
|
|
787
787
|
"primary-active": "background-031525",
|
|
788
788
|
"bg-primary-active-bordered": "background-border"
|
|
789
789
|
}[g] || g;
|
|
790
|
-
}), u =
|
|
790
|
+
}), u = D(s.currentTab);
|
|
791
791
|
G(
|
|
792
792
|
() => s.currentTab,
|
|
793
793
|
(o) => {
|
|
@@ -870,7 +870,7 @@ const xt = [
|
|
|
870
870
|
},
|
|
871
871
|
emits: ["search", "createRule", "tabChange", "edit", "view", "pageChange"],
|
|
872
872
|
setup(y, { emit: m }) {
|
|
873
|
-
const s = y, e = m, i =
|
|
873
|
+
const s = y, e = m, i = D(""), l = D(s.initialTab), r = D(1), u = M(() => s.tabs.map((h, t) => ({
|
|
874
874
|
id: t + 1,
|
|
875
875
|
title: h.label,
|
|
876
876
|
badge: h.count,
|
|
@@ -927,7 +927,7 @@ const xt = [
|
|
|
927
927
|
], -1)),
|
|
928
928
|
a("div", Ro, [
|
|
929
929
|
a("div", Oo, [
|
|
930
|
-
L(
|
|
930
|
+
L(A(Ye), {
|
|
931
931
|
class: "search-icon",
|
|
932
932
|
"aria-hidden": "true"
|
|
933
933
|
}),
|
|
@@ -956,7 +956,7 @@ const xt = [
|
|
|
956
956
|
"aria-label": "Create new rule",
|
|
957
957
|
tabindex: "0"
|
|
958
958
|
}, [
|
|
959
|
-
L(
|
|
959
|
+
L(A(Xe), {
|
|
960
960
|
class: "plus-icon",
|
|
961
961
|
"aria-hidden": "true"
|
|
962
962
|
}),
|
|
@@ -993,7 +993,7 @@ const xt = [
|
|
|
993
993
|
a("th", Ko, [
|
|
994
994
|
t[4] || (t[4] = J(" Dependencies ", -1)),
|
|
995
995
|
a("span", Go, [
|
|
996
|
-
L(
|
|
996
|
+
L(A(ce), { "aria-hidden": "true" })
|
|
997
997
|
])
|
|
998
998
|
]),
|
|
999
999
|
t[7] || (t[7] = a("th", {
|
|
@@ -1056,7 +1056,7 @@ const xt = [
|
|
|
1056
1056
|
"aria-label": `Edit ${p.title}`,
|
|
1057
1057
|
tabindex: "0"
|
|
1058
1058
|
}, [
|
|
1059
|
-
L(
|
|
1059
|
+
L(A(pe), { "aria-hidden": "true" })
|
|
1060
1060
|
], 40, rn),
|
|
1061
1061
|
a("button", {
|
|
1062
1062
|
class: "icon-btn",
|
|
@@ -1068,7 +1068,7 @@ const xt = [
|
|
|
1068
1068
|
"aria-label": `View ${p.title}`,
|
|
1069
1069
|
tabindex: "0"
|
|
1070
1070
|
}, [
|
|
1071
|
-
L(
|
|
1071
|
+
L(A(et), { "aria-hidden": "true" })
|
|
1072
1072
|
], 40, dn)
|
|
1073
1073
|
])
|
|
1074
1074
|
])
|
|
@@ -1139,7 +1139,7 @@ const xt = [
|
|
|
1139
1139
|
},
|
|
1140
1140
|
emits: ["click"],
|
|
1141
1141
|
setup(y, { emit: m }) {
|
|
1142
|
-
const s = y, e = m, i =
|
|
1142
|
+
const s = y, e = m, i = D(s.isSelected), l = (r) => {
|
|
1143
1143
|
i.value = !i.value, e("click", r);
|
|
1144
1144
|
};
|
|
1145
1145
|
return (r, u) => (c(), f("div", {
|
|
@@ -1148,23 +1148,23 @@ const xt = [
|
|
|
1148
1148
|
}, [
|
|
1149
1149
|
a("div", yn, [
|
|
1150
1150
|
a("div", gn, [
|
|
1151
|
-
L(
|
|
1151
|
+
L(A(tt), { class: "freddy-vector-frame__icon" })
|
|
1152
1152
|
]),
|
|
1153
1153
|
a("div", In, B(r.title), 1),
|
|
1154
1154
|
i.value ? w("", !0) : (c(), f("div", bn, [
|
|
1155
1155
|
a("div", kn, [
|
|
1156
|
-
L(
|
|
1156
|
+
L(A(ot), { class: "freddy-vector-frame__badge-icon" }),
|
|
1157
1157
|
a("div", _n, B(r.badgeText), 1)
|
|
1158
1158
|
])
|
|
1159
1159
|
])),
|
|
1160
1160
|
i.value ? (c(), f("div", Cn, [
|
|
1161
|
-
L(
|
|
1161
|
+
L(A(nt), { class: "freddy-vector-frame__tick-icon" })
|
|
1162
1162
|
])) : w("", !0)
|
|
1163
1163
|
]),
|
|
1164
1164
|
i.value ? (c(), f("div", wn)) : w("", !0)
|
|
1165
1165
|
], 2));
|
|
1166
1166
|
}
|
|
1167
|
-
}), nc = /* @__PURE__ */ H(Sn, [["__scopeId", "data-v-e2bc0b9f"]]), Tn = { class: "freddy-vector-section" }, $n = { class: "freddy-vector-section__content" }, xn = { class: "freddy-vector-section__header" }, Pn = { class: "freddy-vector-section__count" },
|
|
1167
|
+
}), nc = /* @__PURE__ */ H(Sn, [["__scopeId", "data-v-e2bc0b9f"]]), Tn = { class: "freddy-vector-section" }, $n = { class: "freddy-vector-section__content" }, xn = { class: "freddy-vector-section__header" }, Pn = { class: "freddy-vector-section__count" }, Dn = { class: "freddy-vector-section__main" }, An = { class: "freddy-vector-section__search-container" }, Fn = { class: "freddy-vector-section__search-header" }, Bn = { class: "freddy-vector-section__search-label" }, Mn = { class: "freddy-vector-section__help-icon" }, Ln = { class: "freddy-vector-section__search-input-container" }, Vn = { class: "freddy-vector-section__filter-results" }, En = { class: "freddy-vector-section__filter" }, Nn = { class: "freddy-vector-section__filter-button" }, Rn = { class: "freddy-vector-section__results-count" }, On = { class: "freddy-vector-section__frames-container" }, zn = {
|
|
1168
1168
|
key: 0,
|
|
1169
1169
|
class: "freddy-vector-section__show-more"
|
|
1170
1170
|
}, Hn = { class: "freddy-vector-section__show-more-text" }, Un = { class: "freddy-vector-section__add-section" }, jn = { class: "freddy-vector-section__add-container" }, Kn = /* @__PURE__ */ N({
|
|
@@ -1251,7 +1251,7 @@ const xt = [
|
|
|
1251
1251
|
},
|
|
1252
1252
|
emits: ["frameClick", "addVectorStore", "showMore", "searchInput"],
|
|
1253
1253
|
setup(y, { emit: m }) {
|
|
1254
|
-
const s = y, e = m, i =
|
|
1254
|
+
const s = y, e = m, i = D(""), l = D(s.maxDisplayed), r = M(() => i.value.trim() ? s.frames.filter(
|
|
1255
1255
|
(v) => v.title.toLowerCase().includes(i.value.toLowerCase())
|
|
1256
1256
|
) : s.frames), u = M(() => r.value.slice(0, l.value)), d = M(() => r.value.length), o = M(() => r.value.length > l.value), g = M(() => r.value.length - l.value), b = () => {
|
|
1257
1257
|
e("addVectorStore");
|
|
@@ -1266,17 +1266,17 @@ const xt = [
|
|
|
1266
1266
|
T[1] || (T[1] = a("div", { class: "freddy-vector-section__title" }, "Knowledge", -1)),
|
|
1267
1267
|
a("div", Pn, B(v.dbCount) + " DBs added", 1)
|
|
1268
1268
|
]),
|
|
1269
|
-
a("div",
|
|
1270
|
-
a("div",
|
|
1269
|
+
a("div", Dn, [
|
|
1270
|
+
a("div", An, [
|
|
1271
1271
|
a("div", Fn, [
|
|
1272
1272
|
a("div", Bn, [
|
|
1273
1273
|
T[2] || (T[2] = J(" Vector Stores ", -1)),
|
|
1274
1274
|
a("div", Mn, [
|
|
1275
|
-
L(
|
|
1275
|
+
L(A(fe), { class: "freddy-vector-section__help-icon-svg" })
|
|
1276
1276
|
])
|
|
1277
1277
|
]),
|
|
1278
1278
|
a("div", Ln, [
|
|
1279
|
-
L(
|
|
1279
|
+
L(A(_e), {
|
|
1280
1280
|
searchInput: i.value,
|
|
1281
1281
|
"onUpdate:searchInput": [
|
|
1282
1282
|
T[0] || (T[0] = (k) => i.value = k),
|
|
@@ -1291,9 +1291,9 @@ const xt = [
|
|
|
1291
1291
|
a("div", Vn, [
|
|
1292
1292
|
a("div", En, [
|
|
1293
1293
|
a("div", Nn, [
|
|
1294
|
-
L(
|
|
1294
|
+
L(A(st), { class: "freddy-vector-section__filter-icon" }),
|
|
1295
1295
|
T[3] || (T[3] = a("span", { class: "freddy-vector-section__filter-text" }, "Filter by", -1)),
|
|
1296
|
-
L(
|
|
1296
|
+
L(A(ae), { class: "freddy-vector-section__filter-arrow" })
|
|
1297
1297
|
])
|
|
1298
1298
|
]),
|
|
1299
1299
|
a("div", Rn, B(d.value) + " databases found ", 1)
|
|
@@ -1310,7 +1310,7 @@ const xt = [
|
|
|
1310
1310
|
onClick: x
|
|
1311
1311
|
}, [
|
|
1312
1312
|
a("span", Hn, "Show " + B(g.value) + " more", 1),
|
|
1313
|
-
L(
|
|
1313
|
+
L(A(ae), { class: "freddy-vector-section__show-more-icon" })
|
|
1314
1314
|
])
|
|
1315
1315
|
])) : w("", !0)
|
|
1316
1316
|
]),
|
|
@@ -1321,7 +1321,7 @@ const xt = [
|
|
|
1321
1321
|
class: "freddy-vector-section__add-button",
|
|
1322
1322
|
onClick: b
|
|
1323
1323
|
}, [
|
|
1324
|
-
L(
|
|
1324
|
+
L(A(it), { class: "freddy-vector-section__add-icon" }),
|
|
1325
1325
|
T[4] || (T[4] = a("span", { class: "freddy-vector-section__add-text" }, "Add vector store to assistant", -1))
|
|
1326
1326
|
])
|
|
1327
1327
|
])
|
|
@@ -1345,7 +1345,7 @@ const xt = [
|
|
|
1345
1345
|
},
|
|
1346
1346
|
emits: ["selectionChange", "voiceClick"],
|
|
1347
1347
|
setup(y, { expose: m, emit: s }) {
|
|
1348
|
-
const e = y, i = s, l =
|
|
1348
|
+
const e = y, i = s, l = D(null), r = M(() => e.voices.find((d) => d.id === l.value) || null), u = (d) => {
|
|
1349
1349
|
l.value === d && e.allowDeselect ? l.value = null : l.value = d, i("selectionChange", l.value), i("voiceClick", d, l.value === d);
|
|
1350
1350
|
};
|
|
1351
1351
|
return m({
|
|
@@ -1362,7 +1362,7 @@ const xt = [
|
|
|
1362
1362
|
return c(), f("div", Gn, [
|
|
1363
1363
|
d.title ? (c(), f("h3", Zn, B(d.title), 1)) : w("", !0),
|
|
1364
1364
|
a("div", qn, [
|
|
1365
|
-
(c(!0), f(O, null, j(d.voices, (b) => (c(), E(
|
|
1365
|
+
(c(!0), f(O, null, j(d.voices, (b) => (c(), E(A(Ee), {
|
|
1366
1366
|
key: b.id,
|
|
1367
1367
|
voiceName: b.name,
|
|
1368
1368
|
isSelected: l.value === b.id,
|
|
@@ -1400,7 +1400,7 @@ const xt = [
|
|
|
1400
1400
|
a("div", Qn, [
|
|
1401
1401
|
a("div", Yn, [
|
|
1402
1402
|
a("div", Xn, [
|
|
1403
|
-
L(
|
|
1403
|
+
L(A(at), { class: "freddy-voice-selection__triangle-icon" })
|
|
1404
1404
|
])
|
|
1405
1405
|
])
|
|
1406
1406
|
]),
|
|
@@ -1410,7 +1410,7 @@ const xt = [
|
|
|
1410
1410
|
])
|
|
1411
1411
|
]),
|
|
1412
1412
|
i.isSelected ? (c(), f("div", ns, [
|
|
1413
|
-
L(
|
|
1413
|
+
L(A(he), { class: "freddy-voice-selection__check-icon-svg" })
|
|
1414
1414
|
])) : (c(), f("div", ss))
|
|
1415
1415
|
])
|
|
1416
1416
|
], 2));
|
|
@@ -1425,7 +1425,7 @@ const xt = [
|
|
|
1425
1425
|
},
|
|
1426
1426
|
setup(y) {
|
|
1427
1427
|
ne();
|
|
1428
|
-
const m =
|
|
1428
|
+
const m = D(!1), s = D(!1), e = D(null);
|
|
1429
1429
|
let i = null;
|
|
1430
1430
|
function l() {
|
|
1431
1431
|
i && clearTimeout(i), i = setTimeout(() => {
|
|
@@ -1548,7 +1548,7 @@ const xt = [
|
|
|
1548
1548
|
IconFolder: R(() => import("./icons-BAyOBzYf.js").then((v) => v.d5)),
|
|
1549
1549
|
IconText: R(() => import("./icons-BAyOBzYf.js").then((v) => v.ef)),
|
|
1550
1550
|
IconLink04: R(() => import("./icons-BAyOBzYf.js").then((v) => v.dn))
|
|
1551
|
-
}, i = M(() => s.leftIcon && e[s.leftIcon] || null), l = M(() => s.rightIcon && e[s.rightIcon] || null), r = m, u =
|
|
1551
|
+
}, i = M(() => s.leftIcon && e[s.leftIcon] || null), l = M(() => s.rightIcon && e[s.rightIcon] || null), r = m, u = D(!1), d = M(() => [
|
|
1552
1552
|
"freddy-plugins-base-button",
|
|
1553
1553
|
`freddy-plugins-base-button--${s.size}`,
|
|
1554
1554
|
`freddy-plugins-base-button--${s.hierarchy}`,
|
|
@@ -1832,14 +1832,14 @@ const xt = [
|
|
|
1832
1832
|
], 10, fs))), 128))
|
|
1833
1833
|
], 6));
|
|
1834
1834
|
}
|
|
1835
|
-
}), ac = /* @__PURE__ */ H(vs, [["__scopeId", "data-v-22e5ee7c"]]), ys = ["innerHTML"],
|
|
1835
|
+
}), ac = /* @__PURE__ */ H(vs, [["__scopeId", "data-v-22e5ee7c"]]), ys = ["innerHTML"], De = "nord", lc = /* @__PURE__ */ N({
|
|
1836
1836
|
__name: "CodeBlock",
|
|
1837
1837
|
props: {
|
|
1838
1838
|
code: {},
|
|
1839
1839
|
language: {}
|
|
1840
1840
|
},
|
|
1841
1841
|
setup(y) {
|
|
1842
|
-
const m = y, s =
|
|
1842
|
+
const m = y, s = D("");
|
|
1843
1843
|
let e = null, i = null;
|
|
1844
1844
|
const l = async () => {
|
|
1845
1845
|
try {
|
|
@@ -1877,11 +1877,11 @@ const xt = [
|
|
|
1877
1877
|
}
|
|
1878
1878
|
try {
|
|
1879
1879
|
e || (e = await i({
|
|
1880
|
-
themes: [
|
|
1880
|
+
themes: [De],
|
|
1881
1881
|
langs: r
|
|
1882
1882
|
})), s.value = e.codeToHtml(m.code, {
|
|
1883
1883
|
lang: m.language,
|
|
1884
|
-
theme:
|
|
1884
|
+
theme: De
|
|
1885
1885
|
});
|
|
1886
1886
|
} catch {
|
|
1887
1887
|
s.value = `<pre><code>${m.code.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">")}</code></pre>`;
|
|
@@ -1962,7 +1962,7 @@ const xt = [
|
|
|
1962
1962
|
hideDelay: { default: 0 }
|
|
1963
1963
|
},
|
|
1964
1964
|
setup(y) {
|
|
1965
|
-
const m = y, s =
|
|
1965
|
+
const m = y, s = D(!1), e = D(!1), i = D(null);
|
|
1966
1966
|
let l = null, r = null;
|
|
1967
1967
|
const u = () => {
|
|
1968
1968
|
r && (clearTimeout(r), r = null), l && clearTimeout(l), l = setTimeout(() => {
|
|
@@ -2324,7 +2324,7 @@ User request: ${m}` : m, o = {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
const ue = new Ps(
|
|
2326
2326
|
"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"
|
|
2327
|
-
),
|
|
2327
|
+
), Ds = { class: "freddy-plugins-simple-chat-interface" }, As = { class: "freddy-plugins-messages-list" }, Fs = {
|
|
2328
2328
|
key: 0,
|
|
2329
2329
|
class: "freddy-plugins-user-message-container"
|
|
2330
2330
|
}, Bs = { class: "freddy-plugins-user-bubble" }, Ms = { class: "freddy-plugins-user-actions" }, Ls = {
|
|
@@ -2374,7 +2374,7 @@ const ue = new Ps(
|
|
|
2374
2374
|
},
|
|
2375
2375
|
emits: ["send", "acceptChanges", "denyChanges", "textReplacement", "textCompletion"],
|
|
2376
2376
|
setup(y, { expose: m, emit: s }) {
|
|
2377
|
-
const e = y, i = s, l =
|
|
2377
|
+
const e = y, i = s, l = D(""), r = D(null), u = D(null), d = D(e.messages || []), o = D(!1);
|
|
2378
2378
|
e.openaiApiKey && ue.setApiKey(e.openaiApiKey), G(
|
|
2379
2379
|
() => e.messages,
|
|
2380
2380
|
(t) => {
|
|
@@ -2516,13 +2516,13 @@ const ue = new Ps(
|
|
|
2516
2516
|
};
|
|
2517
2517
|
d.value.push(n), k();
|
|
2518
2518
|
}
|
|
2519
|
-
}), (t, p) => (c(), f("div",
|
|
2519
|
+
}), (t, p) => (c(), f("div", Ds, [
|
|
2520
2520
|
a("div", {
|
|
2521
2521
|
ref_key: "messagesContainer",
|
|
2522
2522
|
ref: r,
|
|
2523
2523
|
class: "freddy-plugins-chat-messages"
|
|
2524
2524
|
}, [
|
|
2525
|
-
a("div",
|
|
2525
|
+
a("div", As, [
|
|
2526
2526
|
(c(!0), f(O, null, j(d.value, (S) => (c(), f("div", {
|
|
2527
2527
|
key: S.id,
|
|
2528
2528
|
class: F(["freddy-plugins-message", S.sender])
|
|
@@ -2531,10 +2531,10 @@ const ue = new Ps(
|
|
|
2531
2531
|
a("div", Bs, B(S.content), 1),
|
|
2532
2532
|
a("div", Ms, [
|
|
2533
2533
|
a("button", Ls, [
|
|
2534
|
-
L(
|
|
2534
|
+
L(A(Se), { class: "freddy-plugins-action-icon" })
|
|
2535
2535
|
]),
|
|
2536
2536
|
a("button", Vs, [
|
|
2537
|
-
L(
|
|
2537
|
+
L(A(pe), { class: "freddy-plugins-action-icon" })
|
|
2538
2538
|
])
|
|
2539
2539
|
])
|
|
2540
2540
|
])) : (c(), f("div", Es, [
|
|
@@ -2543,7 +2543,7 @@ const ue = new Ps(
|
|
|
2543
2543
|
S.changes ? (c(), f("div", Os, [
|
|
2544
2544
|
a("div", zs, [
|
|
2545
2545
|
a("div", Hs, [
|
|
2546
|
-
L(
|
|
2546
|
+
L(A(ht), { class: "freddy-plugins-building-icon" }),
|
|
2547
2547
|
a("span", Us, B(S.changes.title || "Instructions"), 1),
|
|
2548
2548
|
S.changes.added > 0 ? (c(), f("span", js, "+" + B(S.changes.added), 1)) : w("", !0),
|
|
2549
2549
|
S.changes.removed > 0 ? (c(), f("span", Ks, "-" + B(S.changes.removed), 1)) : w("", !0),
|
|
@@ -2556,21 +2556,21 @@ const ue = new Ps(
|
|
|
2556
2556
|
], -1)),
|
|
2557
2557
|
a("p", Zs, B(S.changes.description), 1),
|
|
2558
2558
|
S.applied ? (c(), f("div", Qs, [
|
|
2559
|
-
L(
|
|
2559
|
+
L(A(Te), { class: "freddy-plugins-applied-icon" }),
|
|
2560
2560
|
p[4] || (p[4] = J(" Applied ", -1))
|
|
2561
2561
|
])) : (c(), f("div", qs, [
|
|
2562
2562
|
a("button", {
|
|
2563
2563
|
class: "freddy-plugins-accept-btn",
|
|
2564
2564
|
onClick: (_) => I(S)
|
|
2565
2565
|
}, [
|
|
2566
|
-
L(
|
|
2566
|
+
L(A(Te), { class: "freddy-plugins-btn-icon" }),
|
|
2567
2567
|
p[2] || (p[2] = J(" Accept ", -1))
|
|
2568
2568
|
], 8, Ws),
|
|
2569
2569
|
a("button", {
|
|
2570
2570
|
class: "freddy-plugins-deny-btn",
|
|
2571
2571
|
onClick: (_) => C(S)
|
|
2572
2572
|
}, [
|
|
2573
|
-
L(
|
|
2573
|
+
L(A(ee), { class: "freddy-plugins-btn-icon" }),
|
|
2574
2574
|
p[3] || (p[3] = J(" Deny ", -1))
|
|
2575
2575
|
], 8, Js)
|
|
2576
2576
|
]))
|
|
@@ -2578,13 +2578,13 @@ const ue = new Ps(
|
|
|
2578
2578
|
])) : w("", !0),
|
|
2579
2579
|
a("div", Ys, [
|
|
2580
2580
|
a("button", Xs, [
|
|
2581
|
-
L(
|
|
2581
|
+
L(A(ft), { class: "freddy-plugins-action-icon" })
|
|
2582
2582
|
]),
|
|
2583
2583
|
a("button", ei, [
|
|
2584
|
-
L(
|
|
2584
|
+
L(A(Se), { class: "freddy-plugins-action-icon" })
|
|
2585
2585
|
]),
|
|
2586
2586
|
a("button", ti, [
|
|
2587
|
-
L(
|
|
2587
|
+
L(A(mt), { class: "freddy-plugins-action-icon" })
|
|
2588
2588
|
])
|
|
2589
2589
|
])
|
|
2590
2590
|
])
|
|
@@ -2600,7 +2600,7 @@ const ue = new Ps(
|
|
|
2600
2600
|
], 512),
|
|
2601
2601
|
a("div", ni, [
|
|
2602
2602
|
a("button", si, [
|
|
2603
|
-
L(
|
|
2603
|
+
L(A(vt), { class: "freddy-plugins-folder-icon" })
|
|
2604
2604
|
]),
|
|
2605
2605
|
Q(a("textarea", {
|
|
2606
2606
|
ref_key: "inputRef",
|
|
@@ -2622,7 +2622,7 @@ const ue = new Ps(
|
|
|
2622
2622
|
disabled: !l.value.trim(),
|
|
2623
2623
|
onClick: V
|
|
2624
2624
|
}, [
|
|
2625
|
-
L(
|
|
2625
|
+
L(A(yt), { class: "freddy-plugins-send-icon" })
|
|
2626
2626
|
], 8, ai)
|
|
2627
2627
|
])
|
|
2628
2628
|
]));
|
|
@@ -2664,7 +2664,7 @@ const ue = new Ps(
|
|
|
2664
2664
|
},
|
|
2665
2665
|
emits: ["close", "save", "cancel", "askAI", "toggleAI"],
|
|
2666
2666
|
setup(y, { emit: m }) {
|
|
2667
|
-
const s = y, e = m, i =
|
|
2667
|
+
const s = y, e = m, i = D(s.initialContent), l = D(!1), r = D([]), u = D(null);
|
|
2668
2668
|
G(
|
|
2669
2669
|
() => s.initialContent,
|
|
2670
2670
|
(I) => {
|
|
@@ -2700,7 +2700,7 @@ const ue = new Ps(
|
|
|
2700
2700
|
a("div", ri, [
|
|
2701
2701
|
a("div", di, [
|
|
2702
2702
|
a("div", ui, [
|
|
2703
|
-
L(
|
|
2703
|
+
L(A(kt), {
|
|
2704
2704
|
class: "freddy-plugins-edit-excerpt-edit-icon",
|
|
2705
2705
|
"center-distance": 36,
|
|
2706
2706
|
"circle-gap": 44,
|
|
@@ -2718,7 +2718,7 @@ const ue = new Ps(
|
|
|
2718
2718
|
onClick: d,
|
|
2719
2719
|
"aria-label": "Close modal"
|
|
2720
2720
|
}, [
|
|
2721
|
-
L(
|
|
2721
|
+
L(A(ee), { class: "freddy-plugins-edit-excerpt-modal-close-icon" })
|
|
2722
2722
|
], 4),
|
|
2723
2723
|
w("", !0),
|
|
2724
2724
|
C[1] || (C[1] = a("div", { class: "freddy-plugins-edit-excerpt-modal-header-spacing" }, null, -1))
|
|
@@ -2740,7 +2740,7 @@ const ue = new Ps(
|
|
|
2740
2740
|
class: "freddy-plugins-edit-excerpt-modal-ai-btn",
|
|
2741
2741
|
onClick: b
|
|
2742
2742
|
}, [
|
|
2743
|
-
L(
|
|
2743
|
+
L(A(Fe), { class: "freddy-plugins-edit-excerpt-modal-ai-icon" }),
|
|
2744
2744
|
C[2] || (C[2] = a("span", { class: "freddy-plugins-edit-excerpt-modal-ai-text" }, " Ask AI ", -1))
|
|
2745
2745
|
])),
|
|
2746
2746
|
a("div", { class: "freddy-plugins-edit-excerpt-modal-action-buttons" }, [
|
|
@@ -2784,7 +2784,7 @@ const ue = new Ps(
|
|
|
2784
2784
|
}, Ti = { class: "freddy-plugins-textarea-input-wrapper" }, $i = ["placeholder", "disabled", "readonly"], xi = {
|
|
2785
2785
|
key: 1,
|
|
2786
2786
|
class: "freddy-plugins-textarea-diff-container"
|
|
2787
|
-
}, Pi = { class: "freddy-plugins-textarea-diff-content" },
|
|
2787
|
+
}, Pi = { class: "freddy-plugins-textarea-diff-content" }, Di = { class: "freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--old" }, Ai = { class: "freddy-plugins-textarea-diff-block freddy-plugins-textarea-diff-block--new" }, Fi = {
|
|
2788
2788
|
key: 2,
|
|
2789
2789
|
class: "freddy-plugins-textarea-tags-container"
|
|
2790
2790
|
}, Bi = { class: "freddy-plugins-textarea-tags" }, Mi = { class: "freddy-plugins-textarea-tag-content" }, Li = ["onClick", "onKeydown", "aria-label"], Vi = /* @__PURE__ */ N({
|
|
@@ -2821,9 +2821,9 @@ const ue = new Ps(
|
|
|
2821
2821
|
},
|
|
2822
2822
|
emits: ["update:modelValue", "input", "focus", "blur", "ask-ai", "expand", "remove-tag", "tooltip-click", "add-tag", "tags-click"],
|
|
2823
2823
|
setup(y, { expose: m, emit: s }) {
|
|
2824
|
-
const e = y, i = s, l =
|
|
2824
|
+
const e = y, i = s, l = D(null), r = D(
|
|
2825
2825
|
null
|
|
2826
|
-
), u =
|
|
2826
|
+
), u = D(e.modelValue), d = D(""), o = D(!1), g = D("expand"), b = D(!1), x = M(() => e.showTags && e.tags.length > 0 ? "" : e.placeholder);
|
|
2827
2827
|
G(
|
|
2828
2828
|
() => e.modelValue,
|
|
2829
2829
|
($) => {
|
|
@@ -2896,7 +2896,7 @@ const ue = new Ps(
|
|
|
2896
2896
|
onClick: C,
|
|
2897
2897
|
onKeydown: P
|
|
2898
2898
|
}, [
|
|
2899
|
-
L(
|
|
2899
|
+
L(A(fe), { class: "freddy-plugins-textarea-tooltip-icon" })
|
|
2900
2900
|
], 32)
|
|
2901
2901
|
]),
|
|
2902
2902
|
_: 1
|
|
@@ -2912,7 +2912,7 @@ const ue = new Ps(
|
|
|
2912
2912
|
"aria-label": "Ask AI for help",
|
|
2913
2913
|
tabindex: "0"
|
|
2914
2914
|
}, [
|
|
2915
|
-
L(
|
|
2915
|
+
L(A(Fe), { class: "freddy-plugins-textarea-ai-icon" })
|
|
2916
2916
|
], 32)) : w("", !0)
|
|
2917
2917
|
]),
|
|
2918
2918
|
a("div", Ti, [
|
|
@@ -2941,8 +2941,8 @@ const ue = new Ps(
|
|
|
2941
2941
|
]),
|
|
2942
2942
|
$.diffMode ? (c(), f("div", xi, [
|
|
2943
2943
|
a("div", Pi, [
|
|
2944
|
-
a("div",
|
|
2945
|
-
a("div",
|
|
2944
|
+
a("div", Di, B($.oldText), 1),
|
|
2945
|
+
a("div", Ai, B($.newText), 1)
|
|
2946
2946
|
])
|
|
2947
2947
|
])) : w("", !0),
|
|
2948
2948
|
$.showTags && $.tags.length > 0 ? (c(), f("div", Fi, [
|
|
@@ -2966,7 +2966,7 @@ const ue = new Ps(
|
|
|
2966
2966
|
"aria-label": `Remove ${ie} tag`,
|
|
2967
2967
|
tabindex: "0"
|
|
2968
2968
|
}, [
|
|
2969
|
-
L(
|
|
2969
|
+
L(A(ee), { class: "freddy-plugins-textarea-tag-close-icon" })
|
|
2970
2970
|
], 40, Li)
|
|
2971
2971
|
]))), 128))
|
|
2972
2972
|
]),
|
|
@@ -2985,7 +2985,7 @@ const ue = new Ps(
|
|
|
2985
2985
|
"aria-label": "Expand textarea",
|
|
2986
2986
|
tabindex: "0"
|
|
2987
2987
|
}, [
|
|
2988
|
-
L(
|
|
2988
|
+
L(A(_t), { class: "freddy-plugins-textarea-expand-icon" })
|
|
2989
2989
|
], 32)
|
|
2990
2990
|
])
|
|
2991
2991
|
]),
|
|
@@ -3043,8 +3043,8 @@ const ue = new Ps(
|
|
|
3043
3043
|
disabled: { type: Boolean, default: !1 },
|
|
3044
3044
|
readonly: { type: Boolean, default: !1 },
|
|
3045
3045
|
required: { type: Boolean, default: !0 },
|
|
3046
|
-
|
|
3047
|
-
|
|
3046
|
+
tooltipTitle: { default: "" },
|
|
3047
|
+
tooltipDescription: { default: "" },
|
|
3048
3048
|
showAiButton: { type: Boolean, default: !0 },
|
|
3049
3049
|
stage: { default: "placeholder" },
|
|
3050
3050
|
type: { default: "default" },
|
|
@@ -3067,7 +3067,7 @@ const ue = new Ps(
|
|
|
3067
3067
|
},
|
|
3068
3068
|
emits: ["update:modelValue", "input", "focus", "blur", "ask-ai", "expand", "remove-tag", "tooltip-click", "add-tag", "tags-click"],
|
|
3069
3069
|
setup(y, { expose: m, emit: s }) {
|
|
3070
|
-
const e = y, i = s, l =
|
|
3070
|
+
const e = y, i = s, l = D(e.modelValue), r = D([...e.tags]);
|
|
3071
3071
|
G(
|
|
3072
3072
|
() => e.modelValue,
|
|
3073
3073
|
(p) => {
|
|
@@ -3117,8 +3117,8 @@ const ue = new Ps(
|
|
|
3117
3117
|
disabled: p.disabled,
|
|
3118
3118
|
readonly: p.readonly,
|
|
3119
3119
|
required: p.required,
|
|
3120
|
-
"
|
|
3121
|
-
"tooltip-
|
|
3120
|
+
"tooltip-title": p.tooltipTitle,
|
|
3121
|
+
"tooltip-description": p.tooltipDescription,
|
|
3122
3122
|
"show-ai-button": p.showAiButton,
|
|
3123
3123
|
"show-tags": u.value,
|
|
3124
3124
|
tags: r.value,
|
|
@@ -3148,9 +3148,9 @@ const ue = new Ps(
|
|
|
3148
3148
|
onTooltipClick: C,
|
|
3149
3149
|
onAddTag: P,
|
|
3150
3150
|
onTagsClick: h
|
|
3151
|
-
}, null, 8, ["modelValue", "label", "placeholder", "disabled", "readonly", "required", "
|
|
3151
|
+
}, null, 8, ["modelValue", "label", "placeholder", "disabled", "readonly", "required", "tooltip-title", "tooltip-description", "show-ai-button", "show-tags", "tags", "show-add-tags-placeholder", "add-tags-placeholder", "hint-text", "has-error", "error-message", "modal-title", "modal-description", "openai-api-key", "openai-model", "openai-organization", "show-underlines", "dynamic-title", "show-hint", "diff-mode", "old-text", "new-text", "tags-only"]));
|
|
3152
3152
|
}
|
|
3153
|
-
}), rc = /* @__PURE__ */ H(Ni, [["__scopeId", "data-v-
|
|
3153
|
+
}), rc = /* @__PURE__ */ H(Ni, [["__scopeId", "data-v-9bdd8550"]]), Ri = { class: "freddy-plugins-diff-container" }, Oi = ["innerHTML"], zi = ["placeholder"], Hi = /* @__PURE__ */ N({
|
|
3154
3154
|
__name: "DiffTextarea",
|
|
3155
3155
|
props: {
|
|
3156
3156
|
modelValue: {},
|
|
@@ -3161,7 +3161,7 @@ const ue = new Ps(
|
|
|
3161
3161
|
},
|
|
3162
3162
|
emits: ["update:modelValue"],
|
|
3163
3163
|
setup(y, { expose: m, emit: s }) {
|
|
3164
|
-
const e = y, i = s, l =
|
|
3164
|
+
const e = y, i = s, l = D(null), r = D(e.modelValue);
|
|
3165
3165
|
G(
|
|
3166
3166
|
() => e.modelValue,
|
|
3167
3167
|
(o) => {
|
|
@@ -3273,7 +3273,7 @@ const ue = new Ps(
|
|
|
3273
3273
|
},
|
|
3274
3274
|
emits: ["select", "toggle"],
|
|
3275
3275
|
setup(y, { emit: m }) {
|
|
3276
|
-
const s = y, e = m, i =
|
|
3276
|
+
const s = y, e = m, i = D(!1), l = D(""), r = D(null), u = je([...s.options]);
|
|
3277
3277
|
G(
|
|
3278
3278
|
() => s.options,
|
|
3279
3279
|
(C) => {
|
|
@@ -3410,7 +3410,7 @@ const ue = new Ps(
|
|
|
3410
3410
|
},
|
|
3411
3411
|
emits: ["verify", "resend"],
|
|
3412
3412
|
setup(y, { emit: m }) {
|
|
3413
|
-
const s = y, { brand: e, loading: i, error: l, resendCooldown: r } = s, u = m, d =
|
|
3413
|
+
const s = y, { brand: e, loading: i, error: l, resendCooldown: r } = s, u = m, d = D(["", "", "", ""]), o = D([]), g = M(() => d.value.every((I) => I !== "")), b = M(() => d.value.join("")), x = (I, C) => {
|
|
3414
3414
|
const P = C.target, h = P.value;
|
|
3415
3415
|
if (!/^\d*$/.test(h)) {
|
|
3416
3416
|
P.value = "";
|
|
@@ -3448,7 +3448,7 @@ const ue = new Ps(
|
|
|
3448
3448
|
(I = o.value[0]) == null || I.focus();
|
|
3449
3449
|
});
|
|
3450
3450
|
}), (I, C) => (c(), f("div", {
|
|
3451
|
-
class: F(["email-verification", `email-verification--${
|
|
3451
|
+
class: F(["email-verification", `email-verification--${A(e)}`])
|
|
3452
3452
|
}, [
|
|
3453
3453
|
a("div", Yi, [
|
|
3454
3454
|
a("div", Xi, [
|
|
@@ -3471,11 +3471,11 @@ const ue = new Ps(
|
|
|
3471
3471
|
"onUpdate:modelValue": (t) => d.value[h] = t,
|
|
3472
3472
|
type: "text",
|
|
3473
3473
|
maxlength: "1",
|
|
3474
|
-
class: F(["code-input", `code-input--${
|
|
3474
|
+
class: F(["code-input", `code-input--${A(e)}`]),
|
|
3475
3475
|
onInput: (t) => x(h, t),
|
|
3476
3476
|
onKeydown: (t) => V(h, t),
|
|
3477
3477
|
onPaste: v,
|
|
3478
|
-
disabled:
|
|
3478
|
+
disabled: A(i),
|
|
3479
3479
|
autocomplete: "one-time-code"
|
|
3480
3480
|
}, null, 42, na), [
|
|
3481
3481
|
[Y, d.value[h]]
|
|
@@ -3485,24 +3485,24 @@ const ue = new Ps(
|
|
|
3485
3485
|
a("div", sa, [
|
|
3486
3486
|
L(Ne, {
|
|
3487
3487
|
type: "submit",
|
|
3488
|
-
label:
|
|
3488
|
+
label: A(i) ? "Verifying..." : "Verify Code",
|
|
3489
3489
|
hierarchy: "primary",
|
|
3490
3490
|
size: "lg",
|
|
3491
|
-
loading:
|
|
3492
|
-
disabled: !g.value ||
|
|
3493
|
-
class: F(`verify-button verify-button--${
|
|
3491
|
+
loading: A(i),
|
|
3492
|
+
disabled: !g.value || A(i),
|
|
3493
|
+
class: F(`verify-button verify-button--${A(e)}`)
|
|
3494
3494
|
}, null, 8, ["label", "loading", "disabled", "class"])
|
|
3495
3495
|
]),
|
|
3496
|
-
|
|
3496
|
+
A(l) ? (c(), f("div", ia, B(A(l)), 1)) : w("", !0),
|
|
3497
3497
|
a("div", aa, [
|
|
3498
3498
|
a("p", la, [
|
|
3499
3499
|
C[2] || (C[2] = J(" Didn't receive the code? ", -1)),
|
|
3500
3500
|
a("button", {
|
|
3501
3501
|
type: "button",
|
|
3502
3502
|
class: "resend-button",
|
|
3503
|
-
disabled:
|
|
3503
|
+
disabled: A(r) > 0,
|
|
3504
3504
|
onClick: k
|
|
3505
|
-
}, B(
|
|
3505
|
+
}, B(A(r) > 0 ? `Resend in ${A(r)}s` : "Resend code"), 9, ca)
|
|
3506
3506
|
])
|
|
3507
3507
|
])
|
|
3508
3508
|
], 32)
|
|
@@ -3617,7 +3617,7 @@ const ue = new Ps(
|
|
|
3617
3617
|
},
|
|
3618
3618
|
emits: ["update:cardNumber", "card-type-detected", "update:modelValue", "input", "focus", "blur", "trailing-icon-click", "keydown", "leading-icon-click", "trailing-button-click", "update:countryCode", "update:phoneNumber", "country-change", "update:currency", "update:amount", "currency-change", "update:protocol", "update:url", "protocol-change", "update:tags", "tag-added", "tag-removed", "max-tags-reached", "copy-success", "copy-error"],
|
|
3619
3619
|
setup(y, { expose: m, emit: s }) {
|
|
3620
|
-
const e = y, i = s, l =
|
|
3620
|
+
const e = y, i = s, l = D(null), r = D(null), u = D(""), d = D(""), o = D("unknown"), g = M(() => ({
|
|
3621
3621
|
size: e.size,
|
|
3622
3622
|
colorStyle: e.colorStyle,
|
|
3623
3623
|
state: e.state,
|
|
@@ -3754,7 +3754,7 @@ const ue = new Ps(
|
|
|
3754
3754
|
},
|
|
3755
3755
|
emits: ["update:modelValue", "input", "focus", "blur", "keydown", "leading-icon-click", "trailing-icon-click"],
|
|
3756
3756
|
setup(y, { expose: m, emit: s }) {
|
|
3757
|
-
const e = y, i = s, l =
|
|
3757
|
+
const e = y, i = s, l = D(null), r = D(null), u = D(e.modelValue || ""), d = M(() => ({
|
|
3758
3758
|
size: e.size,
|
|
3759
3759
|
colorStyle: e.colorStyle,
|
|
3760
3760
|
state: e.state,
|
|
@@ -3904,7 +3904,7 @@ const ue = new Ps(
|
|
|
3904
3904
|
},
|
|
3905
3905
|
emits: ["update:countryCode", "update:phoneNumber", "country-change", "update:modelValue", "input", "focus", "blur", "keydown", "leading-icon-click", "trailing-icon-click", "trailing-button-click", "update:currency", "update:amount", "currency-change", "update:protocol", "update:url", "protocol-change", "update:cardNumber", "card-type-detected", "update:tags", "tag-added", "tag-removed", "max-tags-reached", "copy-success", "copy-error"],
|
|
3906
3906
|
setup(y, { expose: m, emit: s }) {
|
|
3907
|
-
const e = y, i = s, l =
|
|
3907
|
+
const e = y, i = s, l = D(null), r = D(null), u = D(e.phoneNumber || ""), d = D(!1), o = D(e.countryCode || "US"), g = [
|
|
3908
3908
|
{ code: "US", name: "United States", flag: "🇺🇸", dialCode: "+1" },
|
|
3909
3909
|
{ code: "GB", name: "United Kingdom", flag: "🇬🇧", dialCode: "+44" },
|
|
3910
3910
|
{ code: "CA", name: "Canada", flag: "🇨🇦", dialCode: "+1" },
|
|
@@ -3962,7 +3962,7 @@ const ue = new Ps(
|
|
|
3962
3962
|
}
|
|
3963
3963
|
), me(() => {
|
|
3964
3964
|
document.addEventListener("click", h);
|
|
3965
|
-
}),
|
|
3965
|
+
}), Ae(() => {
|
|
3966
3966
|
document.removeEventListener("click", h);
|
|
3967
3967
|
}), m({
|
|
3968
3968
|
focus: P,
|
|
@@ -3979,7 +3979,7 @@ const ue = new Ps(
|
|
|
3979
3979
|
onClick: v
|
|
3980
3980
|
}, [
|
|
3981
3981
|
a("span", ba, B(V.value.code), 1),
|
|
3982
|
-
L(
|
|
3982
|
+
L(A(ae), { class: "freddy-plugins-figma-dropdown-icon" })
|
|
3983
3983
|
], 2),
|
|
3984
3984
|
d.value ? (c(), f("div", {
|
|
3985
3985
|
key: 0,
|
|
@@ -4021,10 +4021,10 @@ const ue = new Ps(
|
|
|
4021
4021
|
placement: "top"
|
|
4022
4022
|
}, {
|
|
4023
4023
|
default: Z(() => [
|
|
4024
|
-
L(
|
|
4024
|
+
L(A(fe), { class: "freddy-plugins-figma-help-icon-svg" })
|
|
4025
4025
|
]),
|
|
4026
4026
|
_: 1
|
|
4027
|
-
}, 8, ["text"])) : (c(), E(
|
|
4027
|
+
}, 8, ["text"])) : (c(), E(A(fe), {
|
|
4028
4028
|
key: 1,
|
|
4029
4029
|
class: "freddy-plugins-figma-help-icon-svg"
|
|
4030
4030
|
}))
|
|
@@ -4187,7 +4187,7 @@ const ue = new Ps(
|
|
|
4187
4187
|
onTrailingIconClick: v
|
|
4188
4188
|
}), null, 16));
|
|
4189
4189
|
}
|
|
4190
|
-
}), hc = /* @__PURE__ */ H(Pa, [["__scopeId", "data-v-5a761e6c"]]),
|
|
4190
|
+
}), hc = /* @__PURE__ */ H(Pa, [["__scopeId", "data-v-5a761e6c"]]), Da = {
|
|
4191
4191
|
name: "ModalBox",
|
|
4192
4192
|
props: {
|
|
4193
4193
|
isVisible: {
|
|
@@ -4204,14 +4204,14 @@ const ue = new Ps(
|
|
|
4204
4204
|
this.$emit("close");
|
|
4205
4205
|
}
|
|
4206
4206
|
}
|
|
4207
|
-
},
|
|
4207
|
+
}, Aa = {
|
|
4208
4208
|
key: 0,
|
|
4209
4209
|
class: "fixed z-[9998] top-0 left-0 w-full h-full bg-modalBackgroundBlur flex justify-center items-center"
|
|
4210
4210
|
}, Fa = { class: "flex justify-center items-center" }, Ba = { class: "freddy-plugins-modal-header" }, Ma = { class: "freddy-plugins-modal-body" }, La = { class: "freddy-plugins-modal-footer" };
|
|
4211
4211
|
function Va(y, m, s, e, i, l) {
|
|
4212
4212
|
return c(), E(le, { name: "modal" }, {
|
|
4213
4213
|
default: Z(() => [
|
|
4214
|
-
s.isVisible ? (c(), f("div",
|
|
4214
|
+
s.isVisible ? (c(), f("div", Aa, [
|
|
4215
4215
|
a("div", Fa, [
|
|
4216
4216
|
a("div", {
|
|
4217
4217
|
class: F({
|
|
@@ -4235,7 +4235,7 @@ function Va(y, m, s, e, i, l) {
|
|
|
4235
4235
|
_: 3
|
|
4236
4236
|
});
|
|
4237
4237
|
}
|
|
4238
|
-
const Ea = /* @__PURE__ */ H(
|
|
4238
|
+
const Ea = /* @__PURE__ */ H(Da, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
4239
4239
|
__name: "InstructionsModal",
|
|
4240
4240
|
props: {
|
|
4241
4241
|
isVisible: {
|
|
@@ -4341,7 +4341,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4341
4341
|
},
|
|
4342
4342
|
emits: ["update:searchInput", "clear"],
|
|
4343
4343
|
setup(y, { emit: m }) {
|
|
4344
|
-
const s = Ge(), e =
|
|
4344
|
+
const s = Ge(), e = D(null), i = D(null), l = D(null), r = m, u = () => {
|
|
4345
4345
|
var g;
|
|
4346
4346
|
(g = i.value) == null || g.focus();
|
|
4347
4347
|
}, d = () => {
|
|
@@ -4354,10 +4354,10 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4354
4354
|
return c(), f("div", {
|
|
4355
4355
|
ref_key: "dropdownRef",
|
|
4356
4356
|
ref: l,
|
|
4357
|
-
class: F(["freddy-search-wrapper",
|
|
4357
|
+
class: F(["freddy-search-wrapper", A(s).class]),
|
|
4358
4358
|
onClick: u
|
|
4359
4359
|
}, [
|
|
4360
|
-
L(
|
|
4360
|
+
L(A(Ct), { class: "freddy-search-icon" }),
|
|
4361
4361
|
Q(a("input", {
|
|
4362
4362
|
type: "text",
|
|
4363
4363
|
id: "search-input",
|
|
@@ -4375,7 +4375,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4375
4375
|
key: 0,
|
|
4376
4376
|
class: "freddy-search-spinner"
|
|
4377
4377
|
})) : w("", !0),
|
|
4378
|
-
g.showCloseButton && !g.showLoaderForSearch && ((x = e.value) != null && x.length) ? (c(), E(
|
|
4378
|
+
g.showCloseButton && !g.showLoaderForSearch && ((x = e.value) != null && x.length) ? (c(), E(A(ee), {
|
|
4379
4379
|
key: 1,
|
|
4380
4380
|
class: "freddy-search-close",
|
|
4381
4381
|
onClick: o
|
|
@@ -4403,7 +4403,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4403
4403
|
},
|
|
4404
4404
|
emits: ["select"],
|
|
4405
4405
|
setup(y, { emit: m }) {
|
|
4406
|
-
const s = y, e = m, i =
|
|
4406
|
+
const s = y, e = m, i = D(!1), l = D(""), r = D(null), u = M(() => !s.searchable || !l.value ? s.options : s.options.filter(
|
|
4407
4407
|
(x) => x.value.toLowerCase().includes(l.value.toLowerCase())
|
|
4408
4408
|
)), d = () => {
|
|
4409
4409
|
i.value = !i.value, i.value || (l.value = "");
|
|
@@ -4418,7 +4418,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4418
4418
|
x ? setTimeout(() => {
|
|
4419
4419
|
document.addEventListener("click", b);
|
|
4420
4420
|
}, 0) : document.removeEventListener("click", b);
|
|
4421
|
-
}),
|
|
4421
|
+
}), Ae(() => {
|
|
4422
4422
|
document.removeEventListener("click", b);
|
|
4423
4423
|
}), (x, V) => {
|
|
4424
4424
|
var v, T;
|
|
@@ -4635,24 +4635,24 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4635
4635
|
},
|
|
4636
4636
|
setup(y) {
|
|
4637
4637
|
const m = y, { type: s, hasHeader: e = !1, count: i = 5 } = m;
|
|
4638
|
-
return (l, r) =>
|
|
4639
|
-
|
|
4638
|
+
return (l, r) => A(s) === "card" ? (c(), f("div", ll, [
|
|
4639
|
+
A(e) ? (c(), f("div", cl)) : w("", !0),
|
|
4640
4640
|
r[0] || (r[0] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-6 skeleton-w-3-4" }, null, -1)),
|
|
4641
4641
|
r[1] || (r[1] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full" }, null, -1)),
|
|
4642
4642
|
r[2] || (r[2] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-5-6" }, null, -1))
|
|
4643
|
-
])) :
|
|
4644
|
-
|
|
4643
|
+
])) : A(s) === "paragraph" ? (c(), f("div", rl, [
|
|
4644
|
+
A(e) ? (c(), f("div", dl)) : w("", !0),
|
|
4645
4645
|
r[3] || (r[3] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full" }, null, -1)),
|
|
4646
4646
|
r[4] || (r[4] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-5-6" }, null, -1)),
|
|
4647
4647
|
r[5] || (r[5] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-3-4" }, null, -1))
|
|
4648
|
-
])) :
|
|
4649
|
-
|
|
4648
|
+
])) : A(s) === "single-box" ? (c(), f("div", ul, [
|
|
4649
|
+
A(e) ? (c(), f("div", pl)) : w("", !0),
|
|
4650
4650
|
r[6] || (r[6] = a("div", { class: "skeleton-line skeleton-wave skeleton-h-4 skeleton-w-full" }, null, -1))
|
|
4651
|
-
])) :
|
|
4652
|
-
|
|
4651
|
+
])) : A(s) === "table" ? (c(), f("div", hl, [
|
|
4652
|
+
A(e) ? (c(), f("div", fl)) : w("", !0),
|
|
4653
4653
|
a("table", ml, [
|
|
4654
4654
|
a("tbody", null, [
|
|
4655
|
-
(c(!0), f(O, null, j(
|
|
4655
|
+
(c(!0), f(O, null, j(A(i), (u) => (c(), f("tr", { key: u }, [...r[7] || (r[7] = [
|
|
4656
4656
|
a("td", { class: "td-padding" }, [
|
|
4657
4657
|
a("div", { class: "skeleton-line skeleton-wave skeleton-h-8 skeleton-w-full" })
|
|
4658
4658
|
], -1),
|
|
@@ -4694,7 +4694,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4694
4694
|
},
|
|
4695
4695
|
emits: ["update:modelValue", "update:rangeValue"],
|
|
4696
4696
|
setup(y, { emit: m }) {
|
|
4697
|
-
const s = y, e = m, i =
|
|
4697
|
+
const s = y, e = m, i = D(!1), l = D(null), r = M(() => {
|
|
4698
4698
|
var I;
|
|
4699
4699
|
const k = ((I = s.step.toString().split(".")[1]) == null ? void 0 : I.length) || 0;
|
|
4700
4700
|
return k > 0 ? s.modelValue.toFixed(k) : Math.round(s.modelValue);
|
|
@@ -4852,7 +4852,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4852
4852
|
return (l, r) => (c(), f("div", {
|
|
4853
4853
|
class: F(["freddy-plugins-snackbar-container", `freddy-plugins-snackbar-container--${e.value}`])
|
|
4854
4854
|
}, [
|
|
4855
|
-
(c(!0), f(O, null, j(
|
|
4855
|
+
(c(!0), f(O, null, j(A(m), (u, d) => (c(), f("div", {
|
|
4856
4856
|
key: d,
|
|
4857
4857
|
class: F(["freddy-plugins-snackbar", `freddy-plugins-snackbar--${u.toastType}`])
|
|
4858
4858
|
}, [
|
|
@@ -4886,7 +4886,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4886
4886
|
], 2))), 128))
|
|
4887
4887
|
], 2));
|
|
4888
4888
|
}
|
|
4889
|
-
}),
|
|
4889
|
+
}), Dl = { class: "freddy-plugins-switch-slot__header" }, Al = {
|
|
4890
4890
|
key: 0,
|
|
4891
4891
|
class: "freddy-plugins-switch-slot__label-section"
|
|
4892
4892
|
}, Fl = {
|
|
@@ -4921,8 +4921,8 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4921
4921
|
"freddy-plugins-switch-slot--disabled": l.disabled
|
|
4922
4922
|
}])
|
|
4923
4923
|
}, [
|
|
4924
|
-
a("div",
|
|
4925
|
-
l.label || l.tooltip ? (c(), f("div",
|
|
4924
|
+
a("div", Dl, [
|
|
4925
|
+
l.label || l.tooltip ? (c(), f("div", Al, [
|
|
4926
4926
|
l.label ? (c(), f("span", Fl, B(l.label), 1)) : w("", !0),
|
|
4927
4927
|
l.tooltip ? (c(), E(re, {
|
|
4928
4928
|
key: 1,
|
|
@@ -4968,7 +4968,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
4968
4968
|
},
|
|
4969
4969
|
emits: ["tabSwitch"],
|
|
4970
4970
|
setup(y, { emit: m }) {
|
|
4971
|
-
const s = y, e = m, i =
|
|
4971
|
+
const s = y, e = m, i = D(s.currentTab), l = (r) => {
|
|
4972
4972
|
i.value !== r.id && (i.value = r.id, e("tabSwitch", r.id));
|
|
4973
4973
|
};
|
|
4974
4974
|
return (r, u) => (c(), f("div", El, [
|
|
@@ -5006,7 +5006,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
5006
5006
|
m.value.splice(r, 1);
|
|
5007
5007
|
};
|
|
5008
5008
|
return (r, u) => (c(), f("div", Rl, [
|
|
5009
|
-
(c(!0), f(O, null, j(
|
|
5009
|
+
(c(!0), f(O, null, j(A(m), (d, o) => (c(), f("div", {
|
|
5010
5010
|
key: o,
|
|
5011
5011
|
class: F(["freddy-plugins-toast-item", e(d.toastType)])
|
|
5012
5012
|
}, [
|
|
@@ -5018,7 +5018,7 @@ const Ea = /* @__PURE__ */ H(Aa, [["render", Va]]), fc = /* @__PURE__ */ N({
|
|
|
5018
5018
|
class: "freddy-plugins-toast-close-button",
|
|
5019
5019
|
onClick: (g) => l(o)
|
|
5020
5020
|
}, [
|
|
5021
|
-
L(
|
|
5021
|
+
L(A(ee), { class: "freddy-plugins-toast-close-icon" })
|
|
5022
5022
|
], 8, Hl)
|
|
5023
5023
|
], 2))), 128))
|
|
5024
5024
|
]));
|
|
@@ -5029,7 +5029,7 @@ function $c(y = {}) {
|
|
|
5029
5029
|
logErrors: m = !0,
|
|
5030
5030
|
throwOnCritical: s = !1,
|
|
5031
5031
|
maxRetries: e = 3
|
|
5032
|
-
} = y, i =
|
|
5032
|
+
} = y, i = D([]), l = D(!1), r = D(0), u = M(() => i.value.length > 0), d = M(() => i.value[i.value.length - 1] || null), o = (T, k) => {
|
|
5033
5033
|
const I = {
|
|
5034
5034
|
message: T instanceof Error ? T.message : String(T),
|
|
5035
5035
|
stack: T instanceof Error ? T.stack : void 0,
|
|
@@ -5105,7 +5105,7 @@ function xc(y = {}) {
|
|
|
5105
5105
|
enableMetrics: m = process.env.NODE_ENV === "development",
|
|
5106
5106
|
trackMemory: s = !1,
|
|
5107
5107
|
sampleRate: e = 0.1
|
|
5108
|
-
} = y, i =
|
|
5108
|
+
} = y, i = D([]), l = D(!1), r = D(0), u = M(() => i.value.length === 0 ? 0 : i.value.reduce((h, t) => h + t.renderTime, 0) / i.value.length), d = M(() => i.value.length === 0 ? 0 : Math.max(...i.value.map((P) => P.renderTime))), o = (P) => {
|
|
5109
5109
|
!m || Math.random() > e || (l.value = !0, r.value = performance.now(), P && process.env.NODE_ENV);
|
|
5110
5110
|
}, g = (P, h = 1) => {
|
|
5111
5111
|
if (!l.value || !m) return;
|
|
@@ -5211,7 +5211,7 @@ export {
|
|
|
5211
5211
|
va as CardInput,
|
|
5212
5212
|
tc as ChooseAssistantAvatar,
|
|
5213
5213
|
lc as CodeBlock,
|
|
5214
|
-
|
|
5214
|
+
Ac as ConfirmationModal,
|
|
5215
5215
|
cc as CustomCheckbox,
|
|
5216
5216
|
Ia as DefaultInput,
|
|
5217
5217
|
Fc as DeleteConfirmationModal,
|
|
@@ -5293,8 +5293,8 @@ export {
|
|
|
5293
5293
|
xr as IconGlobExpand,
|
|
5294
5294
|
Pr as IconGlobe,
|
|
5295
5295
|
pt as IconGoogle,
|
|
5296
|
-
|
|
5297
|
-
|
|
5296
|
+
Dr as IconHollowCircle,
|
|
5297
|
+
Ar as IconHome,
|
|
5298
5298
|
ce as IconInfoRounded,
|
|
5299
5299
|
Fr as IconInvalidInvoice,
|
|
5300
5300
|
Br as IconInvoice,
|
|
@@ -5365,8 +5365,8 @@ export {
|
|
|
5365
5365
|
mt as IconThumbsDown,
|
|
5366
5366
|
he as IconTick,
|
|
5367
5367
|
Pd as IconUser,
|
|
5368
|
-
|
|
5369
|
-
|
|
5368
|
+
Dd as IconVerticalDots,
|
|
5369
|
+
Ad as IconVideoCamera,
|
|
5370
5370
|
Fd as IconWarningOctal,
|
|
5371
5371
|
rt as IconX,
|
|
5372
5372
|
Bd as IconZip,
|