juneau 0.10.2 → 0.11.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/index.js
CHANGED
|
@@ -10128,31 +10128,32 @@ function od({
|
|
|
10128
10128
|
className: o,
|
|
10129
10129
|
style: l,
|
|
10130
10130
|
onReset: a,
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10131
|
+
confirmReset: s,
|
|
10132
|
+
renderPart: u,
|
|
10133
|
+
onEntityClick: f,
|
|
10134
|
+
headerActions: c,
|
|
10135
|
+
emptyState: h
|
|
10135
10136
|
}) {
|
|
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
|
-
|
|
10137
|
+
const [p, g] = Re(!1), {
|
|
10138
|
+
messages: C,
|
|
10139
|
+
input: S,
|
|
10140
|
+
setInput: y,
|
|
10141
|
+
sendMessage: I,
|
|
10142
|
+
stop: _,
|
|
10143
|
+
isLoading: L,
|
|
10144
|
+
isConnecting: N,
|
|
10145
|
+
error: b,
|
|
10146
|
+
reset: O,
|
|
10147
|
+
confirmProposal: H,
|
|
10148
|
+
cancelProposal: B
|
|
10149
|
+
} = xl(), k = a ? async () => {
|
|
10150
|
+
s && !await s() || (O(), a());
|
|
10150
10151
|
} : void 0;
|
|
10151
10152
|
return /* @__PURE__ */ Y(
|
|
10152
10153
|
"aside",
|
|
10153
10154
|
{
|
|
10154
|
-
className: [Ir.sidebar,
|
|
10155
|
-
style: { height:
|
|
10155
|
+
className: [Ir.sidebar, p ? Ir.minimized : "", o].filter(Boolean).join(" "),
|
|
10156
|
+
style: { height: p ? void 0 : i, ...l },
|
|
10156
10157
|
"data-juneau": "sidebar",
|
|
10157
10158
|
children: [
|
|
10158
10159
|
/* @__PURE__ */ x(
|
|
@@ -10160,31 +10161,31 @@ function od({
|
|
|
10160
10161
|
{
|
|
10161
10162
|
title: e,
|
|
10162
10163
|
icon: n,
|
|
10163
|
-
onMinimize: () =>
|
|
10164
|
-
isMinimized:
|
|
10165
|
-
onReset:
|
|
10166
|
-
headerActions:
|
|
10164
|
+
onMinimize: () => g((T) => !T),
|
|
10165
|
+
isMinimized: p,
|
|
10166
|
+
onReset: k,
|
|
10167
|
+
headerActions: c
|
|
10167
10168
|
}
|
|
10168
10169
|
),
|
|
10169
|
-
!
|
|
10170
|
+
!p && /* @__PURE__ */ x(
|
|
10170
10171
|
Ph,
|
|
10171
10172
|
{
|
|
10172
|
-
messages:
|
|
10173
|
-
input:
|
|
10174
|
-
isLoading:
|
|
10175
|
-
isConnecting:
|
|
10176
|
-
error:
|
|
10177
|
-
onInputChange:
|
|
10178
|
-
onSend:
|
|
10179
|
-
onStop:
|
|
10180
|
-
onProposalConfirm:
|
|
10181
|
-
onProposalCancel:
|
|
10173
|
+
messages: C,
|
|
10174
|
+
input: S,
|
|
10175
|
+
isLoading: L,
|
|
10176
|
+
isConnecting: N,
|
|
10177
|
+
error: b,
|
|
10178
|
+
onInputChange: y,
|
|
10179
|
+
onSend: I,
|
|
10180
|
+
onStop: _,
|
|
10181
|
+
onProposalConfirm: H,
|
|
10182
|
+
onProposalCancel: B,
|
|
10182
10183
|
assistantIcon: n,
|
|
10183
10184
|
actions: t,
|
|
10184
10185
|
sendIcon: r,
|
|
10185
|
-
renderPart:
|
|
10186
|
-
onEntityClick:
|
|
10187
|
-
emptyState:
|
|
10186
|
+
renderPart: u,
|
|
10187
|
+
onEntityClick: f,
|
|
10188
|
+
emptyState: h
|
|
10188
10189
|
}
|
|
10189
10190
|
)
|
|
10190
10191
|
]
|