juneau 0.10.2 → 0.12.0
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/components/AiSidebar/AiSidebar.d.ts +8 -1
- package/dist/components/AiSidebar/AiSidebar.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +63 -61
- package/dist/index.js.map +1 -1
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +86 -86
package/dist/index.js
CHANGED
|
@@ -605,7 +605,7 @@ const Lr = {
|
|
|
605
605
|
function Te() {
|
|
606
606
|
return sn(Dr);
|
|
607
607
|
}
|
|
608
|
-
const gl = "
|
|
608
|
+
const gl = "_root_14q8g_1", yl = {
|
|
609
609
|
root: gl
|
|
610
610
|
};
|
|
611
611
|
function nd({ children: e, theme: n, labels: t, defaultTitle: r, className: i, style: o }) {
|
|
@@ -9606,7 +9606,7 @@ function tp(e) {
|
|
|
9606
9606
|
), t = e || ep, r = n.data(), i = r.micromarkExtensions || (r.micromarkExtensions = []), o = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), l = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
|
|
9607
9607
|
i.push(Zf(t)), o.push(bf()), l.push(wf(t));
|
|
9608
9608
|
}
|
|
9609
|
-
const np = "
|
|
9609
|
+
const np = "_wrapper_v5oy7_1", rp = "_table_v5oy7_8", ip = "_th_v5oy7_14", lp = "_tr_v5oy7_24", op = "_td_v5oy7_32", nt = {
|
|
9610
9610
|
wrapper: np,
|
|
9611
9611
|
table: rp,
|
|
9612
9612
|
th: ip,
|
|
@@ -9619,7 +9619,7 @@ function ap({ part: e }) {
|
|
|
9619
9619
|
/* @__PURE__ */ x("tbody", { children: e.rows.map((n, t) => /* @__PURE__ */ x("tr", { className: nt.tr, children: e.columns.map((r) => /* @__PURE__ */ x("td", { className: nt.td, children: String(n[r] ?? "") }, r)) }, t)) })
|
|
9620
9620
|
] }) });
|
|
9621
9621
|
}
|
|
9622
|
-
const sp = "
|
|
9622
|
+
const sp = "_card_83cdc_1", up = "_header_83cdc_9", cp = "_icon_83cdc_16", fp = "_title_83cdc_23", pp = "_description_83cdc_29", hp = "_cardResolved_83cdc_36", dp = "_resolvedBadge_83cdc_40", mp = "_actions_83cdc_51", gp = "_confirm_83cdc_56", yp = "_cancel_83cdc_72", ye = {
|
|
9623
9623
|
card: sp,
|
|
9624
9624
|
header: up,
|
|
9625
9625
|
icon: cp,
|
|
@@ -9666,7 +9666,7 @@ function kp({ part: e, onConfirm: n, onCancel: t }) {
|
|
|
9666
9666
|
}
|
|
9667
9667
|
);
|
|
9668
9668
|
}
|
|
9669
|
-
const xp = "
|
|
9669
|
+
const xp = "_activity_2jjfs_1", bp = "_indicator_2jjfs_13", wp = "_content_2jjfs_36", Cp = "_title_2jjfs_40", Sp = "_description_2jjfs_45", rt = {
|
|
9670
9670
|
activity: xp,
|
|
9671
9671
|
indicator: bp,
|
|
9672
9672
|
content: wp,
|
|
@@ -9742,7 +9742,7 @@ function Hp({ part: e, onEntityClick: n }) {
|
|
|
9742
9742
|
))
|
|
9743
9743
|
] });
|
|
9744
9744
|
}
|
|
9745
|
-
const Vp = "
|
|
9745
|
+
const Vp = "_markdown_1yi3y_1", qp = "_unknownPart_1yi3y_84", Up = "_errorText_1yi3y_98", Wp = "_errorIcon_1yi3y_106", xt = {
|
|
9746
9746
|
markdown: Vp,
|
|
9747
9747
|
unknownPart: qp,
|
|
9748
9748
|
errorText: Up,
|
|
@@ -9851,7 +9851,7 @@ function ih({ message: e, onProposalConfirm: n, onProposalCancel: t, onEntityCli
|
|
|
9851
9851
|
}
|
|
9852
9852
|
);
|
|
9853
9853
|
}
|
|
9854
|
-
const lh = "
|
|
9854
|
+
const lh = "_wrapper_1dvvu_1", oh = "_dot_1dvvu_8", ah = "_connectingLabel_1dvvu_19", it = {
|
|
9855
9855
|
wrapper: lh,
|
|
9856
9856
|
dot: oh,
|
|
9857
9857
|
connectingLabel: ah
|
|
@@ -9873,7 +9873,7 @@ function sh({ connecting: e = !1 }) {
|
|
|
9873
9873
|
}
|
|
9874
9874
|
);
|
|
9875
9875
|
}
|
|
9876
|
-
const uh = "
|
|
9876
|
+
const uh = "_list_1f8gn_1", ch = "_empty_1f8gn_11", fh = "_hint_1f8gn_24", ph = "_typing_1f8gn_31", bt = {
|
|
9877
9877
|
list: uh,
|
|
9878
9878
|
empty: ch,
|
|
9879
9879
|
hint: fh,
|
|
@@ -9904,7 +9904,7 @@ function hh({ messages: e, isLoading: n, isConnecting: t, onProposalConfirm: r,
|
|
|
9904
9904
|
/* @__PURE__ */ x("div", { ref: f })
|
|
9905
9905
|
] });
|
|
9906
9906
|
}
|
|
9907
|
-
const dh = "
|
|
9907
|
+
const dh = "_wrapper_v8iyr_1", mh = "_textarea_v8iyr_11", gh = "_toolbar_v8iyr_35", yh = "_actions_v8iyr_45", kh = "_actionBtn_v8iyr_52", xh = "_sendBtn_v8iyr_85", bh = "_spinnerIcon_v8iyr_116", wh = "_stopBtn_v8iyr_126", Ch = "_stopIcon_v8iyr_149", ve = {
|
|
9908
9908
|
wrapper: dh,
|
|
9909
9909
|
textarea: mh,
|
|
9910
9910
|
toolbar: gh,
|
|
@@ -9989,7 +9989,7 @@ function Sh({ value: e, onChange: n, onSend: t, onStop: r, isLoading: i, placeho
|
|
|
9989
9989
|
] })
|
|
9990
9990
|
] });
|
|
9991
9991
|
}
|
|
9992
|
-
const vh = "
|
|
9992
|
+
const vh = "_wrapper_1kefv_1", _h = "_icon_1kefv_14", Eh = "_message_1kefv_20", Ih = "_dismiss_1kefv_24", wt = {
|
|
9993
9993
|
wrapper: vh,
|
|
9994
9994
|
icon: _h,
|
|
9995
9995
|
message: Eh,
|
|
@@ -10003,7 +10003,7 @@ function Ah({ message: e, onDismiss: n }) {
|
|
|
10003
10003
|
n && /* @__PURE__ */ x("button", { className: wt.dismiss, onClick: n, "aria-label": t.errorDismiss, children: /* @__PURE__ */ x("svg", { viewBox: "0 0 16 16", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ x("path", { d: "M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z" }) }) })
|
|
10004
10004
|
] });
|
|
10005
10005
|
}
|
|
10006
|
-
const Th = "
|
|
10006
|
+
const Th = "_chat_1acbe_1", zh = {
|
|
10007
10007
|
chat: Th
|
|
10008
10008
|
};
|
|
10009
10009
|
function Ph({
|
|
@@ -10066,7 +10066,7 @@ function Ph({
|
|
|
10066
10066
|
}
|
|
10067
10067
|
);
|
|
10068
10068
|
}
|
|
10069
|
-
const Lh = "
|
|
10069
|
+
const Lh = "_header_f9hy1_1", Dh = "_left_f9hy1_12", Nh = "_icon_f9hy1_18", Mh = "_title_f9hy1_23", Rh = "_resetBtn_f9hy1_29", Fh = "_actions_f9hy1_50", Ne = {
|
|
10070
10070
|
header: Lh,
|
|
10071
10071
|
left: Dh,
|
|
10072
10072
|
icon: Nh,
|
|
@@ -10115,44 +10115,46 @@ function Oh({
|
|
|
10115
10115
|
] })
|
|
10116
10116
|
] });
|
|
10117
10117
|
}
|
|
10118
|
-
const jh = "
|
|
10118
|
+
const jh = "_sidebar_17ski_1", Bh = "_minimized_17ski_20", Ir = {
|
|
10119
10119
|
sidebar: jh,
|
|
10120
10120
|
minimized: Bh
|
|
10121
10121
|
};
|
|
10122
10122
|
function od({
|
|
10123
10123
|
title: e,
|
|
10124
10124
|
icon: n,
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10125
|
+
assistantIcon: t,
|
|
10126
|
+
actions: r,
|
|
10127
|
+
sendIcon: i,
|
|
10128
|
+
height: o = "60vh",
|
|
10129
|
+
className: l,
|
|
10130
|
+
style: a,
|
|
10131
|
+
onReset: s,
|
|
10132
|
+
confirmReset: u,
|
|
10133
|
+
renderPart: f,
|
|
10134
|
+
onEntityClick: c,
|
|
10135
|
+
headerActions: h,
|
|
10136
|
+
emptyState: p
|
|
10135
10137
|
}) {
|
|
10136
|
-
const [
|
|
10137
|
-
messages:
|
|
10138
|
-
input:
|
|
10139
|
-
setInput:
|
|
10140
|
-
sendMessage:
|
|
10141
|
-
stop:
|
|
10142
|
-
isLoading:
|
|
10143
|
-
isConnecting:
|
|
10144
|
-
error:
|
|
10145
|
-
reset:
|
|
10146
|
-
confirmProposal:
|
|
10147
|
-
cancelProposal:
|
|
10148
|
-
} = xl(),
|
|
10149
|
-
|
|
10138
|
+
const [g, C] = Re(!1), {
|
|
10139
|
+
messages: S,
|
|
10140
|
+
input: y,
|
|
10141
|
+
setInput: I,
|
|
10142
|
+
sendMessage: _,
|
|
10143
|
+
stop: L,
|
|
10144
|
+
isLoading: N,
|
|
10145
|
+
isConnecting: b,
|
|
10146
|
+
error: O,
|
|
10147
|
+
reset: H,
|
|
10148
|
+
confirmProposal: B,
|
|
10149
|
+
cancelProposal: k
|
|
10150
|
+
} = xl(), T = s ? async () => {
|
|
10151
|
+
u && !await u() || (H(), s());
|
|
10150
10152
|
} : void 0;
|
|
10151
10153
|
return /* @__PURE__ */ Y(
|
|
10152
10154
|
"aside",
|
|
10153
10155
|
{
|
|
10154
|
-
className: [Ir.sidebar,
|
|
10155
|
-
style: { height:
|
|
10156
|
+
className: [Ir.sidebar, g ? Ir.minimized : "", l].filter(Boolean).join(" "),
|
|
10157
|
+
style: { height: g ? void 0 : o, ...a },
|
|
10156
10158
|
"data-juneau": "sidebar",
|
|
10157
10159
|
children: [
|
|
10158
10160
|
/* @__PURE__ */ x(
|
|
@@ -10160,45 +10162,45 @@ function od({
|
|
|
10160
10162
|
{
|
|
10161
10163
|
title: e,
|
|
10162
10164
|
icon: n,
|
|
10163
|
-
onMinimize: () =>
|
|
10164
|
-
isMinimized:
|
|
10165
|
-
onReset:
|
|
10166
|
-
headerActions:
|
|
10165
|
+
onMinimize: () => C((z) => !z),
|
|
10166
|
+
isMinimized: g,
|
|
10167
|
+
onReset: T,
|
|
10168
|
+
headerActions: h
|
|
10167
10169
|
}
|
|
10168
10170
|
),
|
|
10169
|
-
!
|
|
10171
|
+
!g && /* @__PURE__ */ x(
|
|
10170
10172
|
Ph,
|
|
10171
10173
|
{
|
|
10172
|
-
messages:
|
|
10173
|
-
input:
|
|
10174
|
-
isLoading:
|
|
10175
|
-
isConnecting:
|
|
10176
|
-
error:
|
|
10177
|
-
onInputChange:
|
|
10178
|
-
onSend:
|
|
10179
|
-
onStop:
|
|
10180
|
-
onProposalConfirm:
|
|
10181
|
-
onProposalCancel:
|
|
10182
|
-
assistantIcon: n,
|
|
10183
|
-
actions:
|
|
10184
|
-
sendIcon:
|
|
10185
|
-
renderPart:
|
|
10186
|
-
onEntityClick:
|
|
10187
|
-
emptyState:
|
|
10174
|
+
messages: S,
|
|
10175
|
+
input: y,
|
|
10176
|
+
isLoading: N,
|
|
10177
|
+
isConnecting: b,
|
|
10178
|
+
error: O,
|
|
10179
|
+
onInputChange: I,
|
|
10180
|
+
onSend: _,
|
|
10181
|
+
onStop: L,
|
|
10182
|
+
onProposalConfirm: B,
|
|
10183
|
+
onProposalCancel: k,
|
|
10184
|
+
assistantIcon: t ?? n,
|
|
10185
|
+
actions: r,
|
|
10186
|
+
sendIcon: i,
|
|
10187
|
+
renderPart: f,
|
|
10188
|
+
onEntityClick: c,
|
|
10189
|
+
emptyState: p
|
|
10188
10190
|
}
|
|
10189
10191
|
)
|
|
10190
10192
|
]
|
|
10191
10193
|
}
|
|
10192
10194
|
);
|
|
10193
10195
|
}
|
|
10194
|
-
const $h = "
|
|
10196
|
+
const $h = "_list_180ms_1", Hh = "_item_180ms_10", Vh = "_chat_180ms_16", qh = "_chatActive_180ms_36", Uh = "_title_180ms_40", Wh = "_date_180ms_50", Yh = "_empty_180ms_82", _e = {
|
|
10195
10197
|
list: $h,
|
|
10196
10198
|
item: Hh,
|
|
10197
10199
|
chat: Vh,
|
|
10198
10200
|
chatActive: qh,
|
|
10199
10201
|
title: Uh,
|
|
10200
10202
|
date: Wh,
|
|
10201
|
-
delete: "
|
|
10203
|
+
delete: "_delete_180ms_56",
|
|
10202
10204
|
empty: Yh
|
|
10203
10205
|
};
|
|
10204
10206
|
function ad({ chats: e, onSelect: n, activeChatId: t, onDelete: r }) {
|