@trilogy-data/trilogy-studio-components 0.1.5 → 0.1.6

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 (60) hide show
  1. package/dist/{ChatCreatorModal-BdUJ9uoW.js → ChatCreatorModal-D32gycfo.js} +1 -1
  2. package/dist/{Dashboard-BGpN0Ixs.js → Dashboard-BEpWQ_lG.js} +3 -3
  3. package/dist/{DashboardCreatorInline-CZQ5JsIB.js → DashboardCreatorInline-B-fIUNyK.js} +1 -1
  4. package/dist/{DashboardMobile-leXuc7Vi.js → DashboardMobile-DtUbR8cj.js} +3 -3
  5. package/dist/{LLMConnectionList-BfseODm5.js → LLMConnectionList-C6eBeD7-.js} +1 -1
  6. package/dist/{LLMView-CkW6UDnK.js → LLMView-ButHJ6fv.js} +1 -1
  7. package/dist/Manager-CHg0otBl.js +4 -0
  8. package/dist/{ResultComponent-CcThUn60.js → ResultComponent-C-FIo-Rd.js} +22 -22
  9. package/dist/{Sidebar-gsKRqjCv.js → Sidebar-0UcM4kHc.js} +3 -3
  10. package/dist/{TutorialPage-DEOrK1-3.js → TutorialPage-CA7L1ghn.js} +4 -4
  11. package/dist/{WelcomePage-DhWLhWSJ.js → WelcomePage-BaVZ5Xlm.js} +1 -1
  12. package/dist/components/editor/ResultComponent.vue.d.ts +35 -40
  13. package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -1
  14. package/dist/components/llm/LLMChat.vue.d.ts +11 -12
  15. package/dist/components/llm/LLMChat.vue.d.ts.map +1 -1
  16. package/dist/components/llm/LLMChatSplitView.vue.d.ts +35 -40
  17. package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -1
  18. package/dist/components/llm/LLMEditorRefinement.vue.d.ts +35 -40
  19. package/dist/components/llm/LLMEditorRefinement.vue.d.ts.map +1 -1
  20. package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
  21. package/dist/components/tutorial/TutorialPrompt.vue.d.ts +35 -40
  22. package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
  23. package/dist/{cssMode-BqpD-bsS.js → cssMode-Cr6wkL9u.js} +1 -1
  24. package/dist/{freemarker2-3f3Yc8DD.js → freemarker2-D2TXF0Ei.js} +1 -1
  25. package/dist/{handlebars-BOGnwoZY.js → handlebars-Dw7G8Qh-.js} +1 -1
  26. package/dist/{html-kwxiJtb9.js → html-CTm9WAqj.js} +1 -1
  27. package/dist/{htmlMode-BSQWll85.js → htmlMode-CSGJkkDk.js} +1 -1
  28. package/dist/{javascript-Cw2M92n9.js → javascript-CrRL3IGx.js} +1 -1
  29. package/dist/{jsonMode-Cj3eACe9.js → jsonMode-DneC7Bpk.js} +1 -1
  30. package/dist/{liquid-D_YCsjzx.js → liquid-CqZwZGDq.js} +1 -1
  31. package/dist/llm/anthropic.d.ts.map +1 -1
  32. package/dist/llm/base.d.ts +1 -1
  33. package/dist/llm/base.d.ts.map +1 -1
  34. package/dist/llm/index.d.ts +2 -0
  35. package/dist/llm/index.d.ts.map +1 -1
  36. package/dist/llm/openai.d.ts.map +1 -1
  37. package/dist/llm/openrouter.d.ts +132 -0
  38. package/dist/llm/openrouter.d.ts.map +1 -0
  39. package/dist/llm/toolLoopCore.d.ts.map +1 -1
  40. package/dist/{main-CMnVPECM.js → main-BmoSbE_9.js} +31151 -30933
  41. package/dist/main.css +1 -1
  42. package/dist/main.js +1 -1
  43. package/dist/main.umd.cjs +484 -493
  44. package/dist/{mdx-D1QYgPt9.js → mdx-DtmV7PmJ.js} +1 -1
  45. package/dist/{python-Bd7oj_ae.js → python-whlFbKu_.js} +1 -1
  46. package/dist/{razor-B-2sUawM.js → razor-Dt3uTt_N.js} +1 -1
  47. package/dist/stores/chatStore.d.ts +1 -0
  48. package/dist/stores/chatStore.d.ts.map +1 -1
  49. package/dist/stores/llmStore.d.ts.map +1 -1
  50. package/dist/{tsMode-Ba44DEjT.js → tsMode-C88WO3kn.js} +1 -1
  51. package/dist/{typescript-DV6B_8EM.js → typescript-B6Ztla9f.js} +1 -1
  52. package/dist/{useDashboard-DyjtNooA.js → useDashboard-JIHdMnMv.js} +1 -1
  53. package/dist/views/LLMView.vue.d.ts +153 -176
  54. package/dist/views/LLMView.vue.d.ts.map +1 -1
  55. package/dist/views/TutorialPage.vue.d.ts +70 -80
  56. package/dist/views/TutorialPage.vue.d.ts.map +1 -1
  57. package/dist/{xml-7ZhThnGO.js → xml-D9x11trr.js} +1 -1
  58. package/dist/{yaml-ngaWkYBh.js → yaml-AiXPOTHt.js} +1 -1
  59. package/package.json +1 -1
  60. package/dist/Manager-sE56hYtJ.js +0 -4
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, inject as L, ref as S, watch as b, computed as c, resolveComponent as U, createElementBlock as d, createCommentVNode as m, openBlock as l, createElementVNode as a, withModifiers as j, createTextVNode as O, withDirectives as h, createBlock as D, Fragment as M, renderList as N, toDisplayString as C, vModelSelect as k, normalizeClass as R, vModelText as E } from "vue";
2
- import { h as I, K, a as T } from "./main-CMnVPECM.js";
2
+ import { h as I, K, a as T } from "./main-BmoSbE_9.js";
3
3
  const z = B({
4
4
  name: "ChatCreatorModal",
5
5
  components: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as sn, ref as k, provide as Bo, onBeforeUnmount as Vn, onBeforeMount as Lo, onMounted as Kn, nextTick as yt, watch as G, createElementBlock as Pt, openBlock as vt, normalizeStyle as Te, renderSlot as Qn, withDirectives as Ho, createVNode as Bt, vShow as Wo, inject as jo, computed as Lt, useSlots as $o, normalizeClass as yn, createCommentVNode as Ye, getCurrentInstance as Uo, createBlock as xe, unref as _, createElementVNode as He, withCtx as bn, Fragment as xn, renderList as Xo, Teleport as wn, toDisplayString as qo } from "vue";
2
- import { u as Yo, D as Go, _ as Vo, a as Ko, b as Qo, C as Jo, M as Zo } from "./useDashboard-DyjtNooA.js";
3
- import { D as ti } from "./DashboardCreatorInline-CZQ5JsIB.js";
4
- import { q as ei, a as ni } from "./main-CMnVPECM.js";
2
+ import { u as Yo, D as Go, _ as Vo, a as Ko, b as Qo, C as Jo, M as Zo } from "./useDashboard-JIHdMnMv.js";
3
+ import { D as ti } from "./DashboardCreatorInline-B-fIUNyK.js";
4
+ import { q as ei, a as ni } from "./main-BmoSbE_9.js";
5
5
  var oi = Object.defineProperty, ii = (e, t, n) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, f = (e, t, n) => (ii(e, typeof t != "symbol" ? t + "" : t, n), n);
6
6
  function ri(e) {
7
7
  let t = 0, n;
@@ -1,5 +1,5 @@
1
1
  import { inject as m, ref as p, computed as D, createElementBlock as l, createCommentVNode as C, openBlock as i, createElementVNode as r, withDirectives as y, withKeys as E, vModelText as _, Fragment as k, renderList as I, toDisplayString as N, vModelSelect as P } from "vue";
2
- import { a as V } from "./main-CMnVPECM.js";
2
+ import { a as V } from "./main-BmoSbE_9.js";
3
3
  const F = {
4
4
  name: "DashboardCreatorInline",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as he, computed as pe, createElementBlock as u, openBlock as d, createVNode as h, createCommentVNode as I, createBlock as R, unref as e, Fragment as k, renderList as be, normalizeStyle as fe, createElementVNode as r, Teleport as x, toDisplayString as ge, createTextVNode as A, nextTick as ve } from "vue";
2
- import { u as Ce, D as ye, _ as Ie, a as ke, b as we, C as Te, M as Me } from "./useDashboard-DyjtNooA.js";
3
- import { D as De } from "./DashboardCreatorInline-CZQ5JsIB.js";
4
- import { q as Ee, F as g, a as Fe } from "./main-CMnVPECM.js";
2
+ import { u as Ce, D as ye, _ as Ie, a as ke, b as we, C as Te, M as Me } from "./useDashboard-JIHdMnMv.js";
3
+ import { D as De } from "./DashboardCreatorInline-B-fIUNyK.js";
4
+ import { q as Ee, F as g, a as Fe } from "./main-BmoSbE_9.js";
5
5
  const Se = {
6
6
  key: 0,
7
7
  class: "dashboard-mobile-container"
@@ -2,7 +2,7 @@ var Oe = Object.defineProperty;
2
2
  var xe = (t, e, o) => e in t ? Oe(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
3
3
  var ne = (t, e, o) => xe(t, typeof e != "symbol" ? e + "" : e, o);
4
4
  import { defineComponent as ae, ref as C, inject as Y, createElementBlock as l, createCommentVNode as I, openBlock as r, createElementVNode as s, withModifiers as A, withDirectives as _, vModelText as G, vModelSelect as ve, vModelCheckbox as Re, Fragment as pe, computed as $, createBlock as z, withCtx as q, unref as Be, normalizeClass as me, toDisplayString as j, createTextVNode as de, renderList as fe, resolveComponent as U, createVNode as x, Transition as be, onMounted as Pe, onUnmounted as Ye, normalizeStyle as Fe, watch as Ae, vModelDynamic as Ge } from "vue";
5
- import { K as N, a as X, T as Ee, L as Se, l as je, m as Ke, n as Qe, o as Me, S as Le, h as De, e as _e, A as Ne, O as Ie, G as qe, g as Ve } from "./main-CMnVPECM.js";
5
+ import { K as N, a as X, T as Ee, L as Se, l as je, m as Ke, n as Qe, o as Me, S as Le, h as De, e as _e, A as Ne, O as Ie, G as qe, g as Ve } from "./main-BmoSbE_9.js";
6
6
  function He(t, e, o, i) {
7
7
  const c = [];
8
8
  return Object.values(t).sort((a, d) => a.connected && !d.connected ? -1 : !a.connected && d.connected ? 1 : a.name.localeCompare(d.name)).forEach((a) => {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as q, inject as R, ref as y, computed as F, watch as M, nextTick as X, onMounted as Z, createElementBlock as u, openBlock as d, createElementVNode as a, createCommentVNode as b, createTextVNode as N, withDirectives as B, Fragment as U, renderList as V, toDisplayString as h, vModelSelect as x, normalizeClass as T, withKeys as ee, withModifiers as te, vModelText as ne, resolveComponent as O, createBlock as j, createVNode as se, withCtx as G } from "vue";
2
- import { w as A, x as oe, a as Q, y as ae, z as ie, B as re } from "./main-CMnVPECM.js";
2
+ import { w as A, x as oe, a as Q, y as ae, z as ie, B as re } from "./main-BmoSbE_9.js";
3
3
  const P = [
4
4
  { name: "id", type: "int" },
5
5
  { name: "quantity", type: "float" },
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./main-BmoSbE_9.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,5 +1,5 @@
1
- import { resolveComponent as g, createElementBlock as l, openBlock as o, createVNode as C, withCtx as D, toDisplayString as v, createElementVNode as i, createCommentVNode as S, createTextVNode as R, defineComponent as k, inject as $, ref as f, normalizeStyle as w, createBlock as h, Fragment as E } from "vue";
2
- import { a as b, r as L, H as q, R as T, v as H } from "./main-CMnVPECM.js";
1
+ import { resolveComponent as g, createElementBlock as l, openBlock as o, createVNode as C, withCtx as D, toDisplayString as v, createElementVNode as i, createCommentVNode as k, createTextVNode as R, defineComponent as S, inject as $, ref as f, normalizeStyle as b, createBlock as h, Fragment as E } from "vue";
2
+ import { a as w, r as L, H as q, R as T, v as H } from "./main-BmoSbE_9.js";
3
3
  const A = {
4
4
  class: "editor-refinement-container",
5
5
  "data-testid": "editor-refinement-container"
@@ -14,7 +14,7 @@ const A = {
14
14
  class: "artifact-placeholder"
15
15
  };
16
16
  function z(e, t, s, d, m, c) {
17
- const a = g("results-component"), u = g("l-l-m-chat");
17
+ const r = g("results-component"), u = g("l-l-m-chat");
18
18
  return o(), l("div", A, [
19
19
  C(u, {
20
20
  ref: "chatRef",
@@ -23,14 +23,14 @@ function z(e, t, s, d, m, c) {
23
23
  showHeader: !0,
24
24
  externalLoading: e.isLoading,
25
25
  activeToolName: e.activeToolName,
26
- customSendHandler: e.handleSendMessage,
27
- customStopHandler: e.handleStop,
26
+ sendHandler: e.handleSendMessage,
27
+ stopHandler: e.handleStop,
28
28
  placeholder: e.placeholders,
29
29
  "onUpdate:messages": e.handleMessagesUpdate
30
30
  }, {
31
31
  "header-actions": D(() => [
32
32
  i("div", V, [
33
- e.connectionInfo ? (o(), l("span", Q, v(e.connectionInfo), 1)) : S("", !0),
33
+ e.connectionInfo ? (o(), l("span", Q, v(e.connectionInfo), 1)) : k("", !0),
34
34
  i("button", {
35
35
  class: "action-btn accept-btn",
36
36
  onClick: t[0] || (t[0] = (...n) => e.handleAccept && e.handleAccept(...n)),
@@ -52,14 +52,14 @@ function z(e, t, s, d, m, c) {
52
52
  ])
53
53
  ]),
54
54
  artifact: D(({ artifact: n }) => {
55
- var p, r, y;
55
+ var p, a, y;
56
56
  return [
57
57
  (n.type === "results" || n.type === "chart") && e.getArtifactResults(n) ? (o(), l("div", N, [
58
- C(a, {
58
+ C(r, {
59
59
  type: "trilogy",
60
60
  results: e.getArtifactResults(n),
61
61
  chartConfig: (p = n.config) == null ? void 0 : p.chartConfig,
62
- generatedSql: (r = n.config) == null ? void 0 : r.generatedSql,
62
+ generatedSql: (a = n.config) == null ? void 0 : a.generatedSql,
63
63
  trilogySource: (y = n.config) == null ? void 0 : y.query,
64
64
  containerHeight: 300,
65
65
  defaultTab: n.type === "chart" ? "visualize" : "results"
@@ -68,10 +68,10 @@ function z(e, t, s, d, m, c) {
68
68
  ];
69
69
  }),
70
70
  _: 1
71
- }, 8, ["messages", "externalLoading", "activeToolName", "customSendHandler", "customStopHandler", "placeholder", "onUpdate:messages"])
71
+ }, 8, ["messages", "externalLoading", "activeToolName", "sendHandler", "stopHandler", "placeholder", "onUpdate:messages"])
72
72
  ]);
73
73
  }
74
- const O = /* @__PURE__ */ b(L, [["render", z], ["__scopeId", "data-v-db446c1c"]]), P = k({
74
+ const O = /* @__PURE__ */ w(L, [["render", z], ["__scopeId", "data-v-bdc0faab"]]), P = S({
75
75
  name: "ResultsView",
76
76
  components: {
77
77
  LoadingView: H,
@@ -178,8 +178,8 @@ const O = /* @__PURE__ */ b(L, [["render", z], ["__scopeId", "data-v-db446c1c"]]
178
178
  if (!this.isDragging || !this.splitViewRef) return;
179
179
  const s = this.splitViewRef.getBoundingClientRect(), d = s.width;
180
180
  let c = (e.clientX - s.left) / d;
181
- const a = this.minPaneWidth / d, u = 1 - a;
182
- c = Math.max(a, Math.min(u, c)), this.splitRatio = c;
181
+ const r = this.minPaneWidth / d, u = 1 - r;
182
+ c = Math.max(r, Math.min(u, c)), this.splitRatio = c;
183
183
  },
184
184
  stopDragging() {
185
185
  this.isDragging = !1, document.removeEventListener("mousemove", this.onDrag), document.removeEventListener("mouseup", this.stopDragging), document.body.style.cursor = "", document.body.style.userSelect = "";
@@ -194,14 +194,14 @@ const O = /* @__PURE__ */ b(L, [["render", z], ["__scopeId", "data-v-db446c1c"]]
194
194
  ref: "splitViewRef"
195
195
  };
196
196
  function j(e, t, s, d, m, c) {
197
- const a = g("loading-view"), u = g("results-container"), n = g("hint-component"), p = g("LLMEditorRefinement");
197
+ const r = g("loading-view"), u = g("results-container"), n = g("hint-component"), p = g("LLMEditorRefinement");
198
198
  return o(), l("div", I, [
199
199
  e.hasActiveChat ? (o(), l("div", U, [
200
200
  i("div", {
201
201
  class: "results-pane",
202
- style: w({ width: e.resultsPaneWidth })
202
+ style: b({ width: e.resultsPaneWidth })
203
203
  }, [
204
- e.editorData.loading ? (o(), h(a, {
204
+ e.editorData.loading ? (o(), h(r, {
205
205
  key: 0,
206
206
  startTime: e.editorData.startTime,
207
207
  cancel: e.editorData.cancelCallback
@@ -217,20 +217,20 @@ function j(e, t, s, d, m, c) {
217
217
  error: e.editorData.error || void 0,
218
218
  symbols: e.editorData.completionSymbols,
219
219
  showChatButton: !1,
220
- onConfigChange: t[0] || (t[0] = (r) => e.editorData.setChartConfig(r)),
220
+ onConfigChange: t[0] || (t[0] = (a) => e.editorData.setChartConfig(a)),
221
221
  onDrilldownClick: e.handleDrilldown,
222
222
  onRefreshClick: t[1] || (t[1] = () => e.$emit("refresh-click"))
223
223
  }, null, 8, ["results", "generatedSql", "trilogySource", "containerHeight", "type", "chartConfig", "error", "symbols", "onDrilldownClick"])) : (o(), h(n, { key: 2 }))
224
224
  ], 4),
225
225
  i("div", {
226
226
  class: "divider",
227
- onMousedown: t[2] || (t[2] = (...r) => e.startDragging && e.startDragging(...r))
227
+ onMousedown: t[2] || (t[2] = (...a) => e.startDragging && e.startDragging(...a))
228
228
  }, [...t[5] || (t[5] = [
229
229
  i("div", { class: "divider-handle" }, null, -1)
230
230
  ])], 32),
231
231
  i("div", {
232
232
  class: "chat-pane",
233
- style: w({ width: e.chatPaneWidth })
233
+ style: b({ width: e.chatPaneWidth })
234
234
  }, [
235
235
  C(p, {
236
236
  editorId: e.editorData.id,
@@ -242,7 +242,7 @@ function j(e, t, s, d, m, c) {
242
242
  }, null, 8, ["editorId", "runEditorQuery", "onAccept", "onDiscard", "onContentChange", "onChartConfigChange"])
243
243
  ], 4)
244
244
  ], 512)) : (o(), l(E, { key: 1 }, [
245
- e.editorData.loading ? (o(), h(a, {
245
+ e.editorData.loading ? (o(), h(r, {
246
246
  key: 0,
247
247
  startTime: e.editorData.startTime,
248
248
  cancel: e.editorData.cancelCallback
@@ -257,7 +257,7 @@ function j(e, t, s, d, m, c) {
257
257
  error: e.editorData.error || void 0,
258
258
  symbols: e.editorData.completionSymbols,
259
259
  showChatButton: e.canOpenChat,
260
- onConfigChange: t[3] || (t[3] = (r) => e.editorData.setChartConfig(r)),
260
+ onConfigChange: t[3] || (t[3] = (a) => e.editorData.setChartConfig(a)),
261
261
  onDrilldownClick: e.handleDrilldown,
262
262
  onRefreshClick: t[4] || (t[4] = () => e.$emit("refresh-click")),
263
263
  onOpenChat: e.handleOpenChat
@@ -265,7 +265,7 @@ function j(e, t, s, d, m, c) {
265
265
  ], 64))
266
266
  ]);
267
267
  }
268
- const G = /* @__PURE__ */ b(P, [["render", j], ["__scopeId", "data-v-0dbf2ac6"]]);
268
+ const G = /* @__PURE__ */ w(P, [["render", j], ["__scopeId", "data-v-0dbf2ac6"]]);
269
269
  export {
270
270
  G as default
271
271
  };
@@ -1,7 +1,7 @@
1
1
  import { inject as A, ref as g, onMounted as x, computed as G, resolveComponent as D, createBlock as L, openBlock as r, withCtx as k, createElementBlock as y, Fragment as V, renderList as J, createElementVNode as o, createCommentVNode as S, createVNode as N, normalizeClass as U, toDisplayString as K, createTextVNode as H, defineComponent as X, withDirectives as T, vModelText as P, unref as ie, vModelSelect as te, withModifiers as B, watch as le, normalizeStyle as de, vShow as W } from "vue";
2
- import { S as Y, e as Z, g as q, K as E, a as F, T as Q, L as oe, f as re, u as ne, t as ce, D as ue, h as se, i as ae, j as me, d as ve, k as pe } from "./main-CMnVPECM.js";
3
- import { d as ee, a as be, L as ye, C as he } from "./LLMConnectionList-BfseODm5.js";
4
- import { D as fe } from "./DashboardCreatorInline-CZQ5JsIB.js";
2
+ import { S as Y, e as Z, g as q, K as E, a as F, T as Q, L as oe, f as re, u as ne, t as ce, D as ue, h as se, i as ae, j as me, d as ve, k as pe } from "./main-BmoSbE_9.js";
3
+ import { d as ee, a as be, L as ye, C as he } from "./LLMConnectionList-C6eBeD7-.js";
4
+ import { D as fe } from "./DashboardCreatorInline-B-fIUNyK.js";
5
5
  const ge = {
6
6
  name: "DocumentationSidebar",
7
7
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as Q, ref as E, computed as R, createElementBlock as r, openBlock as i, createElementVNode as n, createCommentVNode as S, toDisplayString as a, Fragment as D, renderList as H, normalizeClass as g, renderSlot as W, inject as f, watch as K, resolveComponent as l, createTextVNode as x, createVNode as C, createBlock as h, withCtx as N } from "vue";
2
- import { a as T, C as q, E as F, M as z, b as J, c as X, d as Y, L as Z, s as $, K as V } from "./main-CMnVPECM.js";
3
- import { L as tt, C as et, d as A } from "./LLMConnectionList-BfseODm5.js";
4
- import B from "./ResultComponent-CcThUn60.js";
5
- import ot from "./Dashboard-BGpN0Ixs.js";
2
+ import { a as T, C as q, E as F, M as z, b as J, c as X, d as Y, L as Z, s as $, K as V } from "./main-BmoSbE_9.js";
3
+ import { L as tt, C as et, d as A } from "./LLMConnectionList-C6eBeD7-.js";
4
+ import B from "./ResultComponent-C-FIo-Rd.js";
5
+ import ot from "./Dashboard-BEpWQ_lG.js";
6
6
  const nt = Q({
7
7
  name: "FunctionDoc",
8
8
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as k, inject as g, ref as m, computed as f, createElementBlock as o, openBlock as n, createElementVNode as t, unref as _, Fragment as v, createCommentVNode as c, createTextVNode as l, createVNode as C } from "vue";
2
- import { k as x, p as T, a as W } from "./main-CMnVPECM.js";
2
+ import { k as x, p as T, a as W } from "./main-BmoSbE_9.js";
3
3
  const E = { class: "container" }, N = { class: "content" }, S = { class: "logo" }, V = ["src"], $ = { key: 1 }, D = { class: "buttons" }, I = { key: 0 }, L = { key: 1 }, j = { key: 1 }, w = /* @__PURE__ */ k({
4
4
  __name: "WelcomePage",
5
5
  emits: [
@@ -2576,13 +2576,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2576
2576
  type: BooleanConstructor;
2577
2577
  default: boolean;
2578
2578
  };
2579
- customSendHandler: {
2580
- type: PropType<((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null>;
2581
- default: undefined;
2579
+ sendHandler: {
2580
+ type: PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
2581
+ required: true;
2582
2582
  };
2583
- customStopHandler: {
2583
+ stopHandler: {
2584
2584
  type: PropType<(() => void) | null>;
2585
- default: undefined;
2585
+ default: null;
2586
2586
  };
2587
2587
  stopButtonText: {
2588
2588
  type: StringConstructor;
@@ -2723,8 +2723,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2723
2723
  codeLanguage: "trilogy" | "sql";
2724
2724
  systemPrompt: string;
2725
2725
  externalLoading: boolean;
2726
- customSendHandler: ((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null;
2727
- customStopHandler: (() => void) | null;
2726
+ stopHandler: (() => void) | null;
2728
2727
  stopButtonText: string;
2729
2728
  }, true, {}, {}, {
2730
2729
  EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -2848,13 +2847,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2848
2847
  type: BooleanConstructor;
2849
2848
  default: boolean;
2850
2849
  };
2851
- customSendHandler: {
2852
- type: PropType<((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null>;
2853
- default: undefined;
2850
+ sendHandler: {
2851
+ type: PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
2852
+ required: true;
2854
2853
  };
2855
- customStopHandler: {
2854
+ stopHandler: {
2856
2855
  type: PropType<(() => void) | null>;
2857
- default: undefined;
2856
+ default: null;
2858
2857
  };
2859
2858
  stopButtonText: {
2860
2859
  type: StringConstructor;
@@ -2995,8 +2994,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2995
2994
  codeLanguage: "trilogy" | "sql";
2996
2995
  systemPrompt: string;
2997
2996
  externalLoading: boolean;
2998
- customSendHandler: ((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null;
2999
- customStopHandler: (() => void) | null;
2997
+ stopHandler: (() => void) | null;
3000
2998
  stopButtonText: string;
3001
2999
  }> | null, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3002
3000
  messages: {
@@ -3047,13 +3045,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3047
3045
  type: BooleanConstructor;
3048
3046
  default: boolean;
3049
3047
  };
3050
- customSendHandler: {
3051
- type: PropType<((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null>;
3052
- default: undefined;
3048
+ sendHandler: {
3049
+ type: PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
3050
+ required: true;
3053
3051
  };
3054
- customStopHandler: {
3052
+ stopHandler: {
3055
3053
  type: PropType<(() => void) | null>;
3056
- default: undefined;
3054
+ default: null;
3057
3055
  };
3058
3056
  stopButtonText: {
3059
3057
  type: StringConstructor;
@@ -3194,8 +3192,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3194
3192
  codeLanguage: "trilogy" | "sql";
3195
3193
  systemPrompt: string;
3196
3194
  externalLoading: boolean;
3197
- customSendHandler: ((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null;
3198
- customStopHandler: (() => void) | null;
3195
+ stopHandler: (() => void) | null;
3199
3196
  stopButtonText: string;
3200
3197
  }, true, {}, {}, {
3201
3198
  EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -3319,13 +3316,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3319
3316
  type: BooleanConstructor;
3320
3317
  default: boolean;
3321
3318
  };
3322
- customSendHandler: {
3323
- type: PropType<((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null>;
3324
- default: undefined;
3319
+ sendHandler: {
3320
+ type: PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
3321
+ required: true;
3325
3322
  };
3326
- customStopHandler: {
3323
+ stopHandler: {
3327
3324
  type: PropType<(() => void) | null>;
3328
- default: undefined;
3325
+ default: null;
3329
3326
  };
3330
3327
  stopButtonText: {
3331
3328
  type: StringConstructor;
@@ -3466,8 +3463,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3466
3463
  codeLanguage: "trilogy" | "sql";
3467
3464
  systemPrompt: string;
3468
3465
  externalLoading: boolean;
3469
- customSendHandler: ((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null;
3470
- customStopHandler: (() => void) | null;
3466
+ stopHandler: (() => void) | null;
3471
3467
  stopButtonText: string;
3472
3468
  }> | null>;
3473
3469
  messages: import('vue').ComputedRef<import('../llm').ChatMessage[]>;
@@ -3548,13 +3544,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3548
3544
  type: BooleanConstructor;
3549
3545
  default: boolean;
3550
3546
  };
3551
- customSendHandler: {
3552
- type: PropType<((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null>;
3553
- default: undefined;
3547
+ sendHandler: {
3548
+ type: PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
3549
+ required: true;
3554
3550
  };
3555
- customStopHandler: {
3551
+ stopHandler: {
3556
3552
  type: PropType<(() => void) | null>;
3557
- default: undefined;
3553
+ default: null;
3558
3554
  };
3559
3555
  stopButtonText: {
3560
3556
  type: StringConstructor;
@@ -3725,13 +3721,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3725
3721
  type: BooleanConstructor;
3726
3722
  default: boolean;
3727
3723
  };
3728
- customSendHandler: {
3729
- type: PropType<((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null>;
3730
- default: undefined;
3724
+ sendHandler: {
3725
+ type: PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
3726
+ required: true;
3731
3727
  };
3732
- customStopHandler: {
3728
+ stopHandler: {
3733
3729
  type: PropType<(() => void) | null>;
3734
- default: undefined;
3730
+ default: null;
3735
3731
  };
3736
3732
  stopButtonText: {
3737
3733
  type: StringConstructor;
@@ -3756,8 +3752,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
3756
3752
  codeLanguage: "trilogy" | "sql";
3757
3753
  systemPrompt: string;
3758
3754
  externalLoading: boolean;
3759
- customSendHandler: ((message: string, messages: import('../llm').ChatMessage[]) => Promise<void>) | null;
3760
- customStopHandler: (() => void) | null;
3755
+ stopHandler: (() => void) | null;
3761
3756
  stopButtonText: string;
3762
3757
  }, {}, {
3763
3758
  EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"ResultComponent.vue.d.ts","sourceRoot":"","sources":["../../../components/editor/ResultComponent.vue"],"names":[],"mappings":"AAwEA;AAmTA,OAAO,EAAgC,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAMjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAA;;;cAY5D,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;;;cAYnB,QAAQ,CAAC,MAAM,OAAO,CAAC,oBAAoB,GAAG,SAAS,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtBhF,wBAmKC"}
@@ -50,13 +50,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
50
50
  type: BooleanConstructor;
51
51
  default: boolean;
52
52
  };
53
- customSendHandler: {
54
- type: PropType<((message: string, messages: ChatMessage[]) => Promise<void>) | null>;
55
- default: undefined;
53
+ sendHandler: {
54
+ type: PropType<(message: string, messages: ChatMessage[]) => Promise<void>>;
55
+ required: true;
56
56
  };
57
- customStopHandler: {
57
+ stopHandler: {
58
58
  type: PropType<(() => void) | null>;
59
- default: undefined;
59
+ default: null;
60
60
  };
61
61
  stopButtonText: {
62
62
  type: StringConstructor;
@@ -227,13 +227,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
227
227
  type: BooleanConstructor;
228
228
  default: boolean;
229
229
  };
230
- customSendHandler: {
231
- type: PropType<((message: string, messages: ChatMessage[]) => Promise<void>) | null>;
232
- default: undefined;
230
+ sendHandler: {
231
+ type: PropType<(message: string, messages: ChatMessage[]) => Promise<void>>;
232
+ required: true;
233
233
  };
234
- customStopHandler: {
234
+ stopHandler: {
235
235
  type: PropType<(() => void) | null>;
236
- default: undefined;
236
+ default: null;
237
237
  };
238
238
  stopButtonText: {
239
239
  type: StringConstructor;
@@ -258,8 +258,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
258
258
  codeLanguage: "trilogy" | "sql";
259
259
  systemPrompt: string;
260
260
  externalLoading: boolean;
261
- customSendHandler: ((message: string, messages: ChatMessage[]) => Promise<void>) | null;
262
- customStopHandler: (() => void) | null;
261
+ stopHandler: (() => void) | null;
263
262
  stopButtonText: string;
264
263
  }, {}, {
265
264
  EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -1 +1 @@
1
- {"version":3,"file":"LLMChat.vue.d.ts","sourceRoot":"","sources":["../../../components/llm/LLMChat.vue"],"names":[],"mappings":"AA2HA;AAkxBA,OAAO,EAQL,KAAK,QAAQ,EAEd,MAAM,KAAK,CAAA;AAEZ,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAK/E,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,CAAA;;;cAUlC,QAAQ,CAAC,WAAW,EAAE,CAAC;;;;;;;;;;;;;;;;cAgBb,QAA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