@trilogy-data/trilogy-studio-components 0.1.25 → 0.1.26

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 (114) hide show
  1. package/dist/AssetAutoImporter-CBzvBaOt.js +405 -0
  2. package/dist/ChatCreatorModal-CL-jBnc3.js +218 -0
  3. package/dist/ChatModelSelect-Do-VRUFc.js +40 -0
  4. package/dist/{CommunityModels-D7zWnHgG.js → CommunityModels-Cmro0hV3.js} +101 -70
  5. package/dist/{Dashboard-D1ZCTw5r.js → Dashboard-BH9ZwMVJ.js} +8 -8
  6. package/dist/{DashboardCreatorInline-LWvf--2x.js → DashboardCreatorInline-CDU7kLy3.js} +3 -3
  7. package/dist/{DashboardImportSelector-CNxibXlS.js → DashboardImportSelector-DQSvu9T-.js} +1 -1
  8. package/dist/{DashboardMobile-D_m0xv17.js → DashboardMobile-BUPtdN2V.js} +4 -4
  9. package/dist/{Editor-DhsP18KE.js → Editor-DQsYpkwl.js} +6 -6
  10. package/dist/{GlobalChatPanel-DFx9A4yP.js → GlobalChatPanel-DhnOaige.js} +155 -119
  11. package/dist/{IDE-BRMLxTfP.js → IDE-HLa8vybk.js} +9 -9
  12. package/dist/{JobsView-C9PYS6pZ.js → JobsView-B97HBoIE.js} +8 -8
  13. package/dist/{LLMChat-Cqg6pTgC.js → LLMChat-CxJcPLEG.js} +1 -1
  14. package/dist/{LLMView-VkJpP-49.js → LLMView-C1MUf0c2.js} +21 -21
  15. package/dist/{MobileIDE-CHGJoh05.js → MobileIDE-BpqXoaMR.js} +258 -253
  16. package/dist/{ModelCard-D8tKkK9-.js → ModelCard-BhN25jaV.js} +10 -10
  17. package/dist/{ModelCreator-DrxLxeyH.js → ModelCreator-CCdC7EXt.js} +1 -1
  18. package/dist/{ModelView-rAurf9n8.js → ModelView-DUDA_PtZ.js} +3 -3
  19. package/dist/{PageLoading-I6mr-7NB.js → PageLoading-BzniJM0C.js} +622 -619
  20. package/dist/{ResultComponent-_-1qZCfv.js → ResultComponent-CAn_r3BL.js} +3 -3
  21. package/dist/{Results-CQGpFmPQ.js → Results-BJtlwebY.js} +3 -3
  22. package/dist/{SymbolsPane-BpmL___H.js → SymbolsPane-KYSwN9Sv.js} +1 -1
  23. package/dist/{TutorialPage-CZGBRJdq.js → TutorialPage-NRcee6Dx.js} +8 -8
  24. package/dist/{VegaLiteChart-CmkOw6yD.js → VegaLiteChart-D1slfOUY.js} +11227 -11195
  25. package/dist/{WelcomePage-CLKvAvk-.js → WelcomePage-D5mU2x1L.js} +1 -1
  26. package/dist/components/AssetAutoImporter.vue.d.ts.map +1 -1
  27. package/dist/components/TipsCTA.vue.d.ts +1 -1
  28. package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
  29. package/dist/components/chartHelpers.d.ts +9 -1
  30. package/dist/components/chartHelpers.d.ts.map +1 -1
  31. package/dist/components/chartRenderManager.d.ts +4 -1
  32. package/dist/components/chartRenderManager.d.ts.map +1 -1
  33. package/dist/components/community/AddStoreModal.vue.d.ts +1 -1
  34. package/dist/components/community/AddStoreModal.vue.d.ts.map +1 -1
  35. package/dist/components/community/CommunityModelCard.vue.d.ts.map +1 -1
  36. package/dist/components/editor/Editor.vue.d.ts.map +1 -1
  37. package/dist/components/jobs/JobsAddStoreModal.vue.d.ts.map +1 -1
  38. package/dist/components/llm/ChatCreatorModal.vue.d.ts +17 -1
  39. package/dist/components/llm/ChatCreatorModal.vue.d.ts.map +1 -1
  40. package/dist/components/llm/ChatModelSelect.vue.d.ts +13 -0
  41. package/dist/components/llm/ChatModelSelect.vue.d.ts.map +1 -0
  42. package/dist/components/llm/GlobalChatPanel.vue.d.ts.map +1 -1
  43. package/dist/components/sidebar/CommunityModelList.vue.d.ts +33 -50
  44. package/dist/components/sidebar/CommunityModelList.vue.d.ts.map +1 -1
  45. package/dist/components/sidebar/CommunityModelListItem.vue.d.ts.map +1 -1
  46. package/dist/components/sidebar/EditorList.vue.d.ts +32 -49
  47. package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -1
  48. package/dist/components/sidebar/Sidebar.vue.d.ts +65 -99
  49. package/dist/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  50. package/dist/dashboard.js +52 -52
  51. package/dist/{dashboardStore-CNkWQ4r7.js → dashboardStore-ppM6nGks.js} +33 -33
  52. package/dist/dashboards/layerSpec.d.ts +38 -4
  53. package/dist/dashboards/layerSpec.d.ts.map +1 -1
  54. package/dist/dashboards/lineAreaSpec.d.ts +8 -80
  55. package/dist/dashboards/lineAreaSpec.d.ts.map +1 -1
  56. package/dist/dashboards/mapSpec.d.ts +1 -0
  57. package/dist/dashboards/mapSpec.d.ts.map +1 -1
  58. package/dist/dashboards/spec.d.ts.map +1 -1
  59. package/dist/data/tutorial/documentation.d.ts.map +1 -1
  60. package/dist/data/tutorial/startupScripts.d.ts +3 -0
  61. package/dist/data/tutorial/startupScripts.d.ts.map +1 -0
  62. package/dist/{demoSetup-DiW3ROFQ.js → demoSetup-mwa-RDC6.js} +19 -18
  63. package/dist/{editorRefinementRuntime-C_YmXRy4.js → editorRefinementRuntime-DoP9P5J2.js} +892 -871
  64. package/dist/{editorRefinementToolExecutor-mX8ClQ63.js → editorRefinementToolExecutor-CVY3FA7k.js} +389 -263
  65. package/dist/{editorStore-Ch7k-gse.js → editorStore-BhhmXbi-.js} +230 -183
  66. package/dist/entry.dashboard.d.ts +1 -0
  67. package/dist/entry.dashboard.d.ts.map +1 -1
  68. package/dist/{globalChatRuntime-oMLiPLNC.js → globalChatRuntime-DWZxeS57.js} +13 -13
  69. package/dist/{helpers-DcWCa6bX.js → helpers-BLQAgX3C.js} +17 -16
  70. package/dist/llm/data/constants.d.ts +1 -1
  71. package/dist/llm/data/constants.d.ts.map +1 -1
  72. package/dist/llm/data/trilogySyntax.generated.d.ts +7 -1
  73. package/dist/llm/data/trilogySyntax.generated.d.ts.map +1 -1
  74. package/dist/llm/docsIndex.d.ts.map +1 -1
  75. package/dist/llm/openai.d.ts +2 -1
  76. package/dist/llm/openai.d.ts.map +1 -1
  77. package/dist/{llm-_807I79k.js → llm-BBOVWb-F.js} +7 -5
  78. package/dist/llm.js +3 -3
  79. package/dist/{llmStore-CSzM1IZd.js → llmStore-DJM2JhzY.js} +2 -2
  80. package/dist/{localStorage-CSuYS7QE.js → localStorage-D9uyOFEO.js} +14 -14
  81. package/dist/models/helpers.d.ts.map +1 -1
  82. package/dist/monaco.js +1 -1
  83. package/dist/{reconcile-Bk7M797_.js → reconcile-Dyf4UZmj.js} +1 -1
  84. package/dist/{remoteStoreSync-CLvZJrTK.js → remoteStoreSync-Z-yjlYtI.js} +1 -1
  85. package/dist/remotes/displayHelpers.d.ts.map +1 -1
  86. package/dist/remotes/genericStoreMetadata.d.ts +1 -0
  87. package/dist/remotes/genericStoreMetadata.d.ts.map +1 -1
  88. package/dist/remotes/models.d.ts +37 -5
  89. package/dist/remotes/models.d.ts.map +1 -1
  90. package/dist/remotes/staticStorePresets.d.ts +22 -0
  91. package/dist/remotes/staticStorePresets.d.ts.map +1 -0
  92. package/dist/remotes/storeService.d.ts +25 -4
  93. package/dist/remotes/storeService.d.ts.map +1 -1
  94. package/dist/stores/communityApiStore.d.ts +32 -60
  95. package/dist/stores/communityApiStore.d.ts.map +1 -1
  96. package/dist/stores/connectionStore.d.ts.map +1 -1
  97. package/dist/stores/resolver.d.ts +5 -0
  98. package/dist/stores/resolver.d.ts.map +1 -1
  99. package/dist/stores/urlStore.d.ts +1 -0
  100. package/dist/stores/urlStore.d.ts.map +1 -1
  101. package/dist/{stores-C1wUWiFm.js → stores-BT9hTLny.js} +47 -47
  102. package/dist/stores.js +7 -7
  103. package/dist/trilogy-studio-components.css +1 -1
  104. package/dist/{urlStore-Dgmwx1YI.js → urlStore-52HG6lsX.js} +1 -0
  105. package/dist/{useChatWithTools-GV1ufcqw.js → useChatWithTools-B0HZ_DVh.js} +1 -1
  106. package/dist/{useDashboard-OoBKkkuQ.js → useDashboard-CdSnPe_6.js} +186 -186
  107. package/dist/{useGlobalChatPanel-CIeUyZba.js → useGlobalChatPanel-D_0luajQ.js} +2 -2
  108. package/dist/views/MobileIDE.vue.d.ts.map +1 -1
  109. package/dist/views/TutorialPage.vue.d.ts +32 -49
  110. package/dist/views/TutorialPage.vue.d.ts.map +1 -1
  111. package/dist/views.js +16 -16
  112. package/package.json +1 -1
  113. package/dist/AssetAutoImporter-DfMd_DSk.js +0 -403
  114. package/dist/ChatCreatorModal-BTqY06B6.js +0 -177
@@ -1,20 +1,20 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import "./editorRefinementToolExecutor-mX8ClQ63.js";
3
- import { i as t, r as n } from "./stores-C1wUWiFm.js";
4
- import { S as r } from "./editorRefinementRuntime-C_YmXRy4.js";
5
- import "./dashboardStore-CNkWQ4r7.js";
6
- import { i, n as a, t as o } from "./urlStore-Dgmwx1YI.js";
2
+ import "./editorRefinementToolExecutor-CVY3FA7k.js";
3
+ import { i as t, r as n } from "./stores-BT9hTLny.js";
4
+ import { S as r } from "./editorRefinementRuntime-DoP9P5J2.js";
5
+ import "./dashboardStore-ppM6nGks.js";
6
+ import { i, n as a, t as o } from "./urlStore-52HG6lsX.js";
7
7
  import { t as s } from "./LoadingButton-OH3frQuO.js";
8
8
  import { t as c } from "./ErrorMessage-XMn_08gJ.js";
9
9
  import { t as l } from "./LoadingView-s1uznGwG.js";
10
- import { t as u } from "./AssetAutoImporter-DfMd_DSk.js";
11
- import { t as d } from "./CommunityModels-D7zWnHgG.js";
12
- import { t as f } from "./JobsView-C9PYS6pZ.js";
10
+ import { t as u } from "./AssetAutoImporter-CBzvBaOt.js";
11
+ import { t as d } from "./CommunityModels-Cmro0hV3.js";
12
+ import { t as f } from "./JobsView-B97HBoIE.js";
13
13
  import { t as p } from "./ConnectionView-COnTTuA4.js";
14
- import { i as m, n as h, o as g, r as _, s as v, t as y } from "./PageLoading-I6mr-7NB.js";
15
- import { t as b } from "./demoSetup-DiW3ROFQ.js";
16
- import { t as x } from "./ModelView-rAurf9n8.js";
17
- import { Fragment as S, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as O, createVNode as k, defineAsyncComponent as A, defineComponent as j, inject as M, markRaw as N, nextTick as ee, normalizeClass as P, normalizeStyle as F, onBeforeUnmount as I, onMounted as te, openBlock as L, provide as ne, ref as R, renderList as z, renderSlot as B, resolveComponent as V, toDisplayString as H, unref as U, vModelText as re, vShow as W, watch as G, withCtx as K, withDirectives as q, withKeys as J, withModifiers as Y } from "vue";
14
+ import { i as m, n as h, o as g, r as _, s as v, t as y } from "./PageLoading-BzniJM0C.js";
15
+ import { t as b } from "./demoSetup-mwa-RDC6.js";
16
+ import { t as x } from "./ModelView-DUDA_PtZ.js";
17
+ import { Fragment as S, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as O, createVNode as k, defineAsyncComponent as A, defineComponent as j, inject as M, markRaw as N, nextTick as ee, normalizeClass as P, normalizeStyle as F, onBeforeUnmount as I, onMounted as te, openBlock as L, provide as R, ref as z, renderList as B, renderSlot as V, resolveComponent as H, toDisplayString as U, unref as W, vModelText as ne, vShow as G, watch as K, withCtx as q, withDirectives as J, withKeys as Y, withModifiers as re } from "vue";
18
18
  //#region components/layout/TabDropdownItem.vue?vue&type=script&lang.ts
19
19
  var X = 10, Z = 200, ie = {
20
20
  name: "TabDropdownItem",
@@ -119,7 +119,7 @@ function oe(e, t, n, r, i, a) {
119
119
  }, [D("div", {
120
120
  class: P(["tab-dropdown-item", { active: n.isActive }]),
121
121
  onClick: t[0] ||= (...e) => a.handleClick && a.handleClick(...e)
122
- }, [D("i", { class: P([n.icon, "tab-dropdown-icon"]) }, null, 2), D("span", ae, H(n.tab.title), 1)], 2), i.isSwiping || i.isClosing ? (L(), E("div", Q, [...t[5] ||= [D("i", { class: "mdi mdi-close" }, null, -1)]])) : T("", !0)], 38);
122
+ }, [D("i", { class: P([n.icon, "tab-dropdown-icon"]) }, null, 2), D("span", ae, U(n.tab.title), 1)], 2), i.isSwiping || i.isClosing ? (L(), E("div", Q, [...t[5] ||= [D("i", { class: "mdi mdi-close" }, null, -1)]])) : T("", !0)], 38);
123
123
  }
124
124
  var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]]), ce = {
125
125
  id: "interface",
@@ -161,7 +161,7 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
161
161
  "active-title-updated"
162
162
  ],
163
163
  setup(e, { emit: t }) {
164
- let n = e, r = t, i = R(!1), a = R(!1), o = R(!1), s = R(""), c = R(null), l = R(), u = R(), d = R(), f = C(() => n.menuOpen ? n.mobileNavigationLevel === "detail" ? n.mobileNavigationTitle : "Menu" : n.activeScreen ? g(n.activeScreen) : "Trilogy"), p = C(() => n.tabs.length === 0 ? f.value : n.tabs.find((e) => e.id === n.activeTab)?.title || f.value), m = C(() => n.tabs.filter((e) => !M(e)).length), h = C(() => `${n.activeScreen}::${n.activeTab ?? ""}`), _ = C(() => n.menuOpen ? n.mobileNavigationLevel === "detail" ? {
164
+ let n = e, r = t, i = z(!1), a = z(!1), o = z(!1), s = z(""), c = z(null), l = z(), u = z(), d = z(), f = C(() => n.menuOpen ? n.mobileNavigationLevel === "detail" ? n.mobileNavigationTitle : "Menu" : n.activeScreen ? g(n.activeScreen) : "Trilogy"), p = C(() => n.tabs.length === 0 ? f.value : n.tabs.find((e) => e.id === n.activeTab)?.title || f.value), m = C(() => n.tabs.filter((e) => !M(e)).length), h = C(() => `${n.activeScreen}::${n.activeTab ?? ""}`), _ = C(() => n.menuOpen ? n.mobileNavigationLevel === "detail" ? {
165
165
  icon: "mdi-chevron-left",
166
166
  label: "Back",
167
167
  testid: "mobile-menu-back",
@@ -181,7 +181,7 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
181
181
  }, b = () => {
182
182
  i.value = !1;
183
183
  };
184
- G([() => n.menuOpen, () => n.tabs.length], b);
184
+ K([() => n.menuOpen, () => n.tabs.length], b);
185
185
  let x = async () => {
186
186
  !n.titleEditable || n.menuOpen || (s.value = p.value, c.value = h.value, o.value = !0, await ee(), d.value?.focus(), d.value?.select());
187
187
  }, O = () => {
@@ -193,7 +193,7 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
193
193
  }, k = () => {
194
194
  o.value = !1, c.value = null;
195
195
  };
196
- G([h, () => n.menuOpen], k);
196
+ K([h, () => n.menuOpen], k);
197
197
  let A = (e) => {
198
198
  r("tab-selected", e), b();
199
199
  }, j = (e) => {
@@ -202,17 +202,17 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
202
202
  a.value = !1, n.activeTab && r("close-other-tabs", n.activeTab);
203
203
  }, F = () => {
204
204
  _.value.event === "menu-back" ? r("menu-back") : r("menu-toggled");
205
- }, ne = (e) => {
205
+ }, R = (e) => {
206
206
  if (!i.value) return;
207
207
  let t = e.target, n = u.value, r = l.value;
208
208
  n && r && !n.contains(t) && !r.contains(t) && b();
209
- }, V = (e) => {
209
+ }, H = (e) => {
210
210
  e.key === "Escape" && (a.value ? a.value = !1 : i.value && b());
211
211
  };
212
212
  return te(() => {
213
- document.addEventListener("click", ne), document.addEventListener("keydown", V);
213
+ document.addEventListener("click", R), document.addEventListener("keydown", H);
214
214
  }), I(() => {
215
- document.removeEventListener("click", ne), document.removeEventListener("keydown", V);
215
+ document.removeEventListener("click", R), document.removeEventListener("keydown", H);
216
216
  }), (t, n) => (L(), E("div", ce, [
217
217
  D("div", le, [
218
218
  D("div", ue, [D("button", {
@@ -223,7 +223,7 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
223
223
  "data-testid": _.value.testid,
224
224
  onClick: F
225
225
  }, [D("i", { class: P(["mdi", _.value.icon]) }, null, 2)], 8, de)]),
226
- D("div", fe, [o.value ? q((L(), E("input", {
226
+ D("div", fe, [o.value ? J((L(), E("input", {
227
227
  key: 0,
228
228
  ref_key: "titleInput",
229
229
  ref: d,
@@ -233,8 +233,8 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
233
233
  type: "text",
234
234
  "aria-label": e.activeScreen === "editors" ? "Editor name" : "Page title",
235
235
  onBlur: O,
236
- onKeyup: [J(O, ["enter"]), J(k, ["esc"])]
237
- }, null, 40, pe)), [[re, s.value]]) : (L(), E(S, { key: 1 }, [!e.menuOpen && e.tabs.length > 1 ? (L(), E("button", {
236
+ onKeyup: [Y(O, ["enter"]), Y(k, ["esc"])]
237
+ }, null, 40, pe)), [[ne, s.value]]) : (L(), E(S, { key: 1 }, [!e.menuOpen && e.tabs.length > 1 ? (L(), E("button", {
238
238
  key: 0,
239
239
  type: "button",
240
240
  class: "tab-dropdown-container",
@@ -243,26 +243,26 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
243
243
  onClick: y,
244
244
  ref_key: "tabDropdownContainer",
245
245
  ref: l
246
- }, [D("span", he, H(p.value), 1), D("i", { class: P([[
246
+ }, [D("span", he, U(p.value), 1), D("i", { class: P([[
247
247
  "mdi",
248
248
  "dropdown-arrow",
249
249
  { rotated: i.value }
250
- ], "mdi-chevron-down"]) }, null, 2)], 8, me)) : (L(), E("span", ge, H(f.value), 1))], 64)), i.value && e.tabs.length > 1 ? (L(), E("div", {
250
+ ], "mdi-chevron-down"]) }, null, 2)], 8, me)) : (L(), E("span", ge, U(f.value), 1))], 64)), i.value && e.tabs.length > 1 ? (L(), E("div", {
251
251
  key: 2,
252
252
  class: "tab-dropdown",
253
253
  role: "menu",
254
254
  ref_key: "tabDropdown",
255
255
  ref: u,
256
- onClick: n[2] ||= Y(() => {}, ["stop"])
256
+ onClick: n[2] ||= re(() => {}, ["stop"])
257
257
  }, [e.tabs.length > 2 ? (L(), E("div", _e, [D("button", {
258
258
  type: "button",
259
259
  class: "close-others-btn",
260
260
  onClick: n[1] ||= (e) => a.value = !0
261
- }, [...n[7] ||= [D("i", { class: "mdi mdi-close-box-multiple-outline" }, null, -1), D("span", null, "Close other tabs", -1)]])])) : T("", !0), D("div", ve, [(L(!0), E(S, null, z(e.tabs, (e) => (L(), w(se, {
261
+ }, [...n[7] ||= [D("i", { class: "mdi mdi-close-box-multiple-outline" }, null, -1), D("span", null, "Close other tabs", -1)]])])) : T("", !0), D("div", ve, [(L(!0), E(S, null, B(e.tabs, (e) => (L(), w(se, {
262
262
  key: e.id,
263
263
  tab: e,
264
264
  "is-active": M(e),
265
- icon: U(v)(e.screen),
265
+ icon: W(v)(e.screen),
266
266
  onSelect: A,
267
267
  onClose: j
268
268
  }, null, 8, [
@@ -288,7 +288,7 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
288
288
  onClick: n[3] ||= (e) => t.$emit("menu-home")
289
289
  }, [...n[9] ||= [D("i", { class: "mdi mdi-home-outline" }, null, -1)]])) : T("", !0)])
290
290
  ]),
291
- D("div", be, [q(D("div", xe, [B(t.$slots, "sidebar", {}, void 0, !0)], 512), [[W, e.menuOpen]]), q(D("div", Se, [B(t.$slots, "default", {}, void 0, !0)], 512), [[W, !e.menuOpen]])]),
291
+ D("div", be, [J(D("div", xe, [V(t.$slots, "sidebar", {}, void 0, !0)], 512), [[G, e.menuOpen]]), J(D("div", Se, [V(t.$slots, "default", {}, void 0, !0)], 512), [[G, !e.menuOpen]])]),
292
292
  a.value ? (L(), E("div", {
293
293
  key: 0,
294
294
  class: "close-confirm-overlay",
@@ -297,8 +297,8 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
297
297
  class: "close-confirm-dialog",
298
298
  role: "dialog",
299
299
  "aria-modal": "true",
300
- onClick: n[5] ||= Y(() => {}, ["stop"])
301
- }, [D("p", null, "Close " + H(m.value) + " other tabs?", 1), D("div", Ce, [D("button", {
300
+ onClick: n[5] ||= re(() => {}, ["stop"])
301
+ }, [D("p", null, "Close " + U(m.value) + " other tabs?", 1), D("div", Ce, [D("button", {
302
302
  type: "button",
303
303
  onClick: n[4] ||= (e) => a.value = !1,
304
304
  class: "cancel-btn"
@@ -346,9 +346,9 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
346
346
  };
347
347
  function je(e, t, n, r, i, a) {
348
348
  return L(), E("div", { class: P(["results-container", `view-${i.activeTab}`]) }, [D("div", Ee, [
349
- D("div", De, [B(e.$slots, "editor", { onQueryStarted: () => i.activeTab = "results" }, void 0, !0)]),
350
- q(D("div", Oe, [B(e.$slots, "results", { containerHeight: i.resultsHeight }, void 0, !0)], 512), [[W, i.activeTab === "results"]]),
351
- q(D("div", ke, [B(e.$slots, "chat", {}, void 0, !0)], 512), [[W, i.activeTab === "chat"]])
349
+ D("div", De, [V(e.$slots, "editor", { onQueryStarted: () => i.activeTab = "results" }, void 0, !0)]),
350
+ J(D("div", Oe, [V(e.$slots, "results", { containerHeight: i.resultsHeight }, void 0, !0)], 512), [[G, i.activeTab === "results"]]),
351
+ J(D("div", ke, [V(e.$slots, "chat", {}, void 0, !0)], 512), [[G, i.activeTab === "chat"]])
352
352
  ]), D("nav", Ae, [
353
353
  D("button", {
354
354
  class: P(["tab-button", { active: i.activeTab === "sql" }]),
@@ -372,7 +372,7 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
372
372
  loader: e,
373
373
  loadingComponent: y,
374
374
  delay: 0
375
- }), Ne = $(() => import("./TutorialPage-CZGBRJdq.js")), Pe = j({
375
+ }), Ne = $(() => import("./TutorialPage-NRcee6Dx.js")), Pe = $(() => import("./Editor-DQsYpkwl.js").then((e) => e.n)), Fe = A(() => import("./DataTable-DoRDynP1.js").then((e) => e.n)), Ie = $(() => import("./WelcomePage-D5mU2x1L.js")), Le = $(() => import("./DashboardMobile-BUPtdN2V.js")), Re = A(() => import("./ResultComponent-CAn_r3BL.js").then((e) => e.n)), ze = $(() => import("./LLMView-C1MUf0c2.js")), Be = A(() => import("./ConnectionErrorPopup-FSs7U-Yl.js")), Ve = j({
376
376
  name: "MobileIDEComponent",
377
377
  data() {
378
378
  return {
@@ -383,16 +383,16 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
383
383
  },
384
384
  components: {
385
385
  Sidebar: m,
386
- Editor: $(() => import("./Editor-DhsP18KE.js").then((e) => e.n)),
387
- DataTable: A(() => import("./DataTable-DoRDynP1.js").then((e) => e.n)),
386
+ Editor: Pe,
387
+ DataTable: Fe,
388
388
  ErrorMessage: c,
389
389
  TutorialPage: Ne,
390
390
  ModelView: x,
391
391
  UserSettings: _,
392
392
  UserProfile: h,
393
393
  LoadingView: l,
394
- WelcomePage: $(() => import("./WelcomePage-CLKvAvk-.js")),
395
- MobileDashboard: $(() => import("./DashboardMobile-D_m0xv17.js")),
394
+ WelcomePage: Ie,
395
+ MobileDashboard: Le,
396
396
  DashboardAutoImporter: u,
397
397
  AssetAutoImporter: u,
398
398
  LoadingButton: s,
@@ -401,25 +401,26 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
401
401
  CommunityModels: d,
402
402
  JobsView: f,
403
403
  ConnectionView: p,
404
- ResultsView: A(() => import("./ResultComponent-_-1qZCfv.js").then((e) => e.n)),
405
- LLMView: $(() => import("./LLMView-VkJpP-49.js")),
406
- ChatCreatorModal: A(() => import("./ChatCreatorModal-BTqY06B6.js"))
404
+ ResultsView: Re,
405
+ LLMView: ze,
406
+ ChatCreatorModal: A(() => import("./ChatCreatorModal-CL-jBnc3.js")),
407
+ ConnectionErrorPopup: Be
407
408
  },
408
409
  setup() {
409
- let e = M("connectionStore"), r = M("editorStore"), i = M("modelStore"), a = M("dashboardStore"), o = M("trilogyResolver"), s = M("queryExecutionService"), c = M("storesLoaded", R(!0)), l = M("saveEditors"), u = M("saveConnections"), d = M("saveModels"), f = M("saveDashboards");
410
+ let e = M("connectionStore"), r = M("editorStore"), i = M("modelStore"), a = M("dashboardStore"), o = M("trilogyResolver"), s = M("queryExecutionService"), c = M("storesLoaded", z(!0)), l = M("saveEditors"), u = M("saveConnections"), d = M("saveModels"), f = M("saveDashboards");
410
411
  if (!r || !e || !a || !o || !i || !u || !d || !f) throw Error("Requires injection of connection store, editor store, model store, editors, connections, and models saving.");
411
412
  l ||= () => {};
412
- let p = t(), m = R(null), h = n(), { activeScreen: g, activeEditor: _, activeTab: v, activeDashboard: y, activeSidebarScreen: b, setActiveScreen: x, setActiveSidebarScreen: S, setActiveEditor: C, setActiveDashboard: w, activeConnectionKey: T, activeModelKey: E, activeDocumentationKey: D, setActiveConnectionKey: O, setActiveModelKey: k, setActiveDocumentationKey: A, activeLLMConnectionKey: j, setActiveLLMConnectionKey: N, activeCommunityModelKey: ee, activeJobsKey: P, setActiveJobsKey: F, mobileMenuOpen: L, toggleMobileMenu: z, tabs: B, closeTab: V, closeOtherTabsExcept: H, openTab: U, addBackListeners: re, removeBacklisteners: W, onInitialLoad: G, updateTabName: K } = p, q = (e) => {
413
- U(e.screen, null, e.address);
414
- }, J = (e) => {
415
- V(e, null);
413
+ let p = t(), m = z(null), h = n(), { activeScreen: g, activeEditor: _, activeTab: v, activeDashboard: y, activeSidebarScreen: b, setActiveScreen: x, setActiveSidebarScreen: S, setActiveEditor: C, setActiveDashboard: w, activeConnectionKey: T, activeModelKey: E, activeDocumentationKey: D, setActiveConnectionKey: O, setActiveModelKey: k, setActiveDocumentationKey: A, activeLLMConnectionKey: j, setActiveLLMConnectionKey: N, activeCommunityModelKey: ee, activeJobsKey: P, setActiveJobsKey: F, mobileMenuOpen: L, toggleMobileMenu: B, tabs: V, closeTab: H, closeOtherTabsExcept: U, openTab: W, addBackListeners: ne, removeBacklisteners: G, onInitialLoad: K, updateTabName: q } = p, J = (e) => {
414
+ W(e.screen, null, e.address);
416
415
  }, Y = (e) => {
417
- H(e);
416
+ H(e, null);
417
+ }, re = (e) => {
418
+ U(e);
418
419
  };
419
- G(), re(), I(() => {
420
- W();
421
- }), ne("navigationStore", p);
422
- let X = R(""), Z = R(!1), ie = R(""), ae = R("100dvh"), Q = () => {
420
+ K(), ne(), I(() => {
421
+ G();
422
+ }), R("navigationStore", p);
423
+ let X = z(""), Z = z(!1), ie = z(""), ae = z("100dvh"), Q = () => {
423
424
  let e = window.visualViewport;
424
425
  ae.value = e ? `${e.height}px` : `${window.innerHeight}px`, e && e.height >= window.innerHeight - 1 && window.scrollY > 0 && window.scrollTo(0, 0);
425
426
  };
@@ -460,19 +461,19 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
460
461
  setActiveLLMConnectionKey: N,
461
462
  setActiveJobsKey: F,
462
463
  mobileMenuOpen: L,
463
- toggleMobileMenu: z,
464
- tabs: B,
465
- openTab: U,
466
- closeTab: V,
467
- closeOtherTabsExcept: H,
468
- tabSelected: q,
469
- handleTabClosed: J,
470
- handleCloseOtherTabs: Y,
471
- updateTabName: K,
464
+ toggleMobileMenu: B,
465
+ tabs: V,
466
+ openTab: W,
467
+ closeTab: H,
468
+ closeOtherTabsExcept: U,
469
+ tabSelected: J,
470
+ handleTabClosed: Y,
471
+ handleCloseOtherTabs: re,
472
+ updateTabName: q,
472
473
  llmInitialTab: X,
473
474
  handleLLMOpenView: (e, t, n) => {
474
475
  let r = n ? `${e}+${n}` : e;
475
- N(r), X.value = t, x("llms"), L.value && z(), setTimeout(() => {
476
+ N(r), X.value = t, x("llms"), L.value && B(), setTimeout(() => {
476
477
  X.value = "";
477
478
  }, 100);
478
479
  },
@@ -483,7 +484,7 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
483
484
  },
484
485
  handleChatCreated: (e) => {
485
486
  let t = `${e.llmConnectionName}+${e.id}`;
486
- N(t), X.value = "chat", x("llms"), L.value && z(), setTimeout(() => {
487
+ N(t), X.value = "chat", x("llms"), L.value && B(), setTimeout(() => {
487
488
  X.value = "";
488
489
  }, 100), Z.value = !1;
489
490
  },
@@ -536,7 +537,7 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
536
537
  },
537
538
  waitForStoresLoaded() {
538
539
  return this.storesLoaded ? Promise.resolve() : new Promise((e) => {
539
- let t = G(() => this.storesLoaded, (n) => {
540
+ let t = K(() => this.storesLoaded, (n) => {
540
541
  n && (t(), e());
541
542
  });
542
543
  });
@@ -584,198 +585,202 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
584
585
  });
585
586
  //#endregion
586
587
  //#region views/MobileIDE.vue
587
- function Fe(e, t, n, r, i, a) {
588
- let o = V("ChatCreatorModal"), s = V("sidebar"), c = V("editor"), l = V("ResultsView"), u = V("tabbed-layout"), d = V("connection-view"), f = V("tutorial-page"), p = V("model-view"), m = V("user-profile"), h = V("user-settings"), g = V("mobile-dashboard"), _ = V("dashboard-auto-importer"), v = V("asset-auto-importer"), y = V("community-models"), b = V("jobs-view"), x = V("LLMView"), S = V("welcome-page"), C = V("mobile-sidebar-layout");
588
+ function He(e, t, n, r, i, a) {
589
+ let o = H("ConnectionErrorPopup"), s = H("ChatCreatorModal"), c = H("sidebar"), l = H("editor"), u = H("ResultsView"), d = H("tabbed-layout"), f = H("connection-view"), p = H("tutorial-page"), m = H("model-view"), h = H("user-profile"), g = H("user-settings"), _ = H("mobile-dashboard"), v = H("dashboard-auto-importer"), y = H("asset-auto-importer"), b = H("community-models"), x = H("jobs-view"), S = H("LLMView"), C = H("welcome-page"), T = H("mobile-sidebar-layout");
589
590
  return L(), E("div", {
590
591
  class: "main mobile-ide-root",
591
592
  style: F({ "--mobile-viewport-height": e.mobileViewportHeight })
592
- }, [k(o, {
593
- visible: e.showChatCreatorModal,
594
- preselectedConnection: e.chatCreatorPreselectedConnection,
595
- activeDataConnection: e.activeConnectionKey,
596
- onClose: t[0] ||= (t) => e.showChatCreatorModal = !1,
597
- onChatCreated: e.handleChatCreated
598
- }, null, 8, [
599
- "visible",
600
- "preselectedConnection",
601
- "activeDataConnection",
602
- "onChatCreated"
603
- ]), k(C, {
604
- onMenuToggled: t[1] ||= (t) => e.mobileMenuOpen = !e.mobileMenuOpen,
605
- onMenuBack: e.handleMobileMenuBack,
606
- onMenuHome: e.handleMobileMenuHome,
607
- onTabSelected: e.tabSelected,
608
- menuOpen: e.mobileMenuOpen,
609
- mobileNavigationLevel: e.mobileNavigationLevel,
610
- mobileNavigationTitle: e.mobileNavigationTitle,
611
- activeScreen: e.activeScreen,
612
- titleEditable: ["editors", "dashboard"].includes(e.activeScreen),
613
- tabs: e.tabs,
614
- activeTab: e.activeTab,
615
- onTabClosed: e.handleTabClosed,
616
- onCloseOtherTabs: e.handleCloseOtherTabs,
617
- onActiveTitleUpdated: e.updateActiveTitle
618
- }, {
619
- sidebar: K(() => [k(s, {
620
- onEditorSelected: e.setActiveEditor,
621
- onScreenSelected: e.setActiveSidebarScreen,
622
- onSaveEditors: e.saveEditorsCall,
623
- onModelKeySelected: e.setActiveModelKey,
624
- onJobsKeySelected: e.setActiveJobsKey,
625
- onDocumentationKeySelected: e.setActiveDocumentationKey,
626
- onDashboardKeySelected: e.setActiveDashboard,
627
- onToggleMobileMenu: e.toggleMobileMenu,
628
- onConnectionKeySelected: e.setActiveConnectionKey,
629
- onLlmKeySelected: e.setActiveLLMConnectionKey,
630
- onLlmOpenView: e.handleLLMOpenView,
631
- onCreateNewChat: e.handleCreateNewChat,
632
- active: e.activeSidebarScreen,
633
- activeEditor: e.activeEditor,
634
- activeDocumentationKey: e.activeDocumentationKey,
635
- activeConnectionKey: e.activeConnectionKey,
636
- activeModelKey: e.activeModelKey,
637
- activeJobsKey: e.activeJobsKey,
638
- activeDashboardKey: e.activeDashboard,
639
- activeLLMKey: e.activeLLMConnectionKey
593
+ }, [
594
+ k(o),
595
+ k(s, {
596
+ visible: e.showChatCreatorModal,
597
+ preselectedConnection: e.chatCreatorPreselectedConnection,
598
+ activeDataConnection: e.activeConnectionKey,
599
+ onClose: t[0] ||= (t) => e.showChatCreatorModal = !1,
600
+ onChatCreated: e.handleChatCreated
640
601
  }, null, 8, [
641
- "onEditorSelected",
642
- "onScreenSelected",
643
- "onSaveEditors",
644
- "onModelKeySelected",
645
- "onJobsKeySelected",
646
- "onDocumentationKeySelected",
647
- "onDashboardKeySelected",
648
- "onToggleMobileMenu",
649
- "onConnectionKeySelected",
650
- "onLlmKeySelected",
651
- "onLlmOpenView",
652
- "onCreateNewChat",
653
- "active",
654
- "activeEditor",
655
- "activeDocumentationKey",
656
- "activeConnectionKey",
657
- "activeModelKey",
658
- "activeJobsKey",
659
- "activeDashboardKey",
660
- "activeLLMKey"
661
- ])]),
662
- default: K(() => [e.activeScreen && e.activeScreen !== "" && ["editors"].includes(e.activeScreen) ? (L(), w(u, {
663
- key: 0,
664
- "show-chat": e.hasActiveEditorChat
665
- }, O({ _: 2 }, [
666
- e.activeEditor && e.activeEditorData ? {
667
- name: "editor",
668
- fn: K((t) => [e.activeEditorData.type == "preql" ? (L(), w(c, {
669
- key: 0,
670
- ref: "editorRef",
671
- context: "main-trilogy",
672
- editorId: e.activeEditor,
673
- onQueryStarted: t.onQueryStarted,
674
- onSaveEditors: e.saveEditorsCall
675
- }, null, 8, [
676
- "editorId",
677
- "onQueryStarted",
678
- "onSaveEditors"
679
- ])) : (L(), w(c, {
680
- key: 1,
681
- onQueryStarted: t.onQueryStarted,
682
- ref: "editorRef",
683
- context: "main-sql",
684
- editorId: e.activeEditor,
685
- onSaveEditors: e.saveEditorsCall
686
- }, null, 8, [
687
- "onQueryStarted",
688
- "editorId",
689
- "onSaveEditors"
690
- ]))]),
691
- key: "0"
692
- } : void 0,
693
- e.activeEditorData ? {
694
- name: "results",
695
- fn: K(({ containerHeight: t }) => [k(l, {
696
- editorData: e.activeEditorData,
697
- containerHeight: t,
698
- runEditorQuery: e.runQuery,
699
- "display-mode": "results",
700
- onContentChange: e.handleEditorContentChange
701
- }, null, 8, [
702
- "editorData",
703
- "containerHeight",
704
- "runEditorQuery",
705
- "onContentChange"
706
- ])]),
707
- key: "1"
708
- } : void 0,
709
- e.activeEditorData && e.hasActiveEditorChat ? {
710
- name: "chat",
711
- fn: K(() => [k(l, {
712
- editorData: e.activeEditorData,
713
- runEditorQuery: e.runQuery,
714
- "display-mode": "chat",
715
- onContentChange: e.handleEditorContentChange
716
- }, null, 8, [
717
- "editorData",
718
- "runEditorQuery",
719
- "onContentChange"
720
- ])]),
721
- key: "2"
722
- } : void 0
723
- ]), 1032, ["show-chat"])) : e.activeScreen === "connections" ? (L(), w(d, {
724
- key: 1,
725
- activeConnectionKey: e.activeConnectionKey,
726
- onSaveEditors: e.saveEditorsCall
727
- }, null, 8, ["activeConnectionKey", "onSaveEditors"])) : e.activeScreen === "tutorial" ? (L(), w(f, {
728
- key: 2,
729
- activeDocumentationKey: e.activeDocumentationKey
730
- }, null, 8, ["activeDocumentationKey"])) : e.activeScreen === "models" ? (L(), w(p, {
731
- key: 3,
732
- activeModelKey: e.activeModelKey,
733
- onSaveEditors: e.saveEditorsCall
734
- }, null, 8, ["activeModelKey", "onSaveEditors"])) : e.activeScreen === "profile" ? (L(), w(m, { key: 4 })) : e.activeScreen === "settings" ? (L(), w(h, { key: 5 })) : e.activeScreen === "dashboard" ? (L(), w(g, {
735
- key: 6,
736
- name: e.activeDashboard
737
- }, null, 8, ["name"])) : e.activeScreen === "dashboard-import" ? (L(), w(_, {
738
- key: 7,
739
- onImportComplete: e.handleImportComplete
740
- }, null, 8, ["onImportComplete"])) : e.activeScreen === "asset-import" ? (L(), w(v, {
741
- key: 8,
742
- onImportComplete: e.handleAssetImportComplete
743
- }, null, 8, ["onImportComplete"])) : e.activeScreen === "community-models" ? (L(), w(y, {
744
- key: 9,
745
- activeCommunityModelKey: e.activeCommunityModelKey
746
- }, null, 8, ["activeCommunityModelKey"])) : e.activeScreen === "jobs" ? (L(), w(b, {
747
- key: 10,
748
- activeJobsKey: e.activeJobsKey
749
- }, null, 8, ["activeJobsKey"])) : e.activeScreen === "llms" ? (L(), w(x, {
750
- key: 11,
751
- initialTab: e.llmInitialTab
752
- }, null, 8, ["initialTab"])) : (L(), w(S, {
753
- key: 12,
754
- "demo-error": e.demoLaunchError,
755
- onScreenSelected: e.setActiveScreen,
756
- onDemoStarted: e.launchDemo
757
- }, null, 8, [
758
- "demo-error",
759
- "onScreenSelected",
760
- "onDemoStarted"
761
- ]))]),
762
- _: 1
763
- }, 8, [
764
- "onMenuBack",
765
- "onMenuHome",
766
- "onTabSelected",
767
- "menuOpen",
768
- "mobileNavigationLevel",
769
- "mobileNavigationTitle",
770
- "activeScreen",
771
- "titleEditable",
772
- "tabs",
773
- "activeTab",
774
- "onTabClosed",
775
- "onCloseOtherTabs",
776
- "onActiveTitleUpdated"
777
- ])], 4);
602
+ "visible",
603
+ "preselectedConnection",
604
+ "activeDataConnection",
605
+ "onChatCreated"
606
+ ]),
607
+ k(T, {
608
+ onMenuToggled: t[1] ||= (t) => e.mobileMenuOpen = !e.mobileMenuOpen,
609
+ onMenuBack: e.handleMobileMenuBack,
610
+ onMenuHome: e.handleMobileMenuHome,
611
+ onTabSelected: e.tabSelected,
612
+ menuOpen: e.mobileMenuOpen,
613
+ mobileNavigationLevel: e.mobileNavigationLevel,
614
+ mobileNavigationTitle: e.mobileNavigationTitle,
615
+ activeScreen: e.activeScreen,
616
+ titleEditable: ["editors", "dashboard"].includes(e.activeScreen),
617
+ tabs: e.tabs,
618
+ activeTab: e.activeTab,
619
+ onTabClosed: e.handleTabClosed,
620
+ onCloseOtherTabs: e.handleCloseOtherTabs,
621
+ onActiveTitleUpdated: e.updateActiveTitle
622
+ }, {
623
+ sidebar: q(() => [k(c, {
624
+ onEditorSelected: e.setActiveEditor,
625
+ onScreenSelected: e.setActiveSidebarScreen,
626
+ onSaveEditors: e.saveEditorsCall,
627
+ onModelKeySelected: e.setActiveModelKey,
628
+ onJobsKeySelected: e.setActiveJobsKey,
629
+ onDocumentationKeySelected: e.setActiveDocumentationKey,
630
+ onDashboardKeySelected: e.setActiveDashboard,
631
+ onToggleMobileMenu: e.toggleMobileMenu,
632
+ onConnectionKeySelected: e.setActiveConnectionKey,
633
+ onLlmKeySelected: e.setActiveLLMConnectionKey,
634
+ onLlmOpenView: e.handleLLMOpenView,
635
+ onCreateNewChat: e.handleCreateNewChat,
636
+ active: e.activeSidebarScreen,
637
+ activeEditor: e.activeEditor,
638
+ activeDocumentationKey: e.activeDocumentationKey,
639
+ activeConnectionKey: e.activeConnectionKey,
640
+ activeModelKey: e.activeModelKey,
641
+ activeJobsKey: e.activeJobsKey,
642
+ activeDashboardKey: e.activeDashboard,
643
+ activeLLMKey: e.activeLLMConnectionKey
644
+ }, null, 8, [
645
+ "onEditorSelected",
646
+ "onScreenSelected",
647
+ "onSaveEditors",
648
+ "onModelKeySelected",
649
+ "onJobsKeySelected",
650
+ "onDocumentationKeySelected",
651
+ "onDashboardKeySelected",
652
+ "onToggleMobileMenu",
653
+ "onConnectionKeySelected",
654
+ "onLlmKeySelected",
655
+ "onLlmOpenView",
656
+ "onCreateNewChat",
657
+ "active",
658
+ "activeEditor",
659
+ "activeDocumentationKey",
660
+ "activeConnectionKey",
661
+ "activeModelKey",
662
+ "activeJobsKey",
663
+ "activeDashboardKey",
664
+ "activeLLMKey"
665
+ ])]),
666
+ default: q(() => [e.activeScreen && e.activeScreen !== "" && ["editors"].includes(e.activeScreen) ? (L(), w(d, {
667
+ key: 0,
668
+ "show-chat": e.hasActiveEditorChat
669
+ }, O({ _: 2 }, [
670
+ e.activeEditor && e.activeEditorData ? {
671
+ name: "editor",
672
+ fn: q((t) => [e.activeEditorData.type == "preql" ? (L(), w(l, {
673
+ key: 0,
674
+ ref: "editorRef",
675
+ context: "main-trilogy",
676
+ editorId: e.activeEditor,
677
+ onQueryStarted: t.onQueryStarted,
678
+ onSaveEditors: e.saveEditorsCall
679
+ }, null, 8, [
680
+ "editorId",
681
+ "onQueryStarted",
682
+ "onSaveEditors"
683
+ ])) : (L(), w(l, {
684
+ key: 1,
685
+ onQueryStarted: t.onQueryStarted,
686
+ ref: "editorRef",
687
+ context: "main-sql",
688
+ editorId: e.activeEditor,
689
+ onSaveEditors: e.saveEditorsCall
690
+ }, null, 8, [
691
+ "onQueryStarted",
692
+ "editorId",
693
+ "onSaveEditors"
694
+ ]))]),
695
+ key: "0"
696
+ } : void 0,
697
+ e.activeEditorData ? {
698
+ name: "results",
699
+ fn: q(({ containerHeight: t }) => [k(u, {
700
+ editorData: e.activeEditorData,
701
+ containerHeight: t,
702
+ runEditorQuery: e.runQuery,
703
+ "display-mode": "results",
704
+ onContentChange: e.handleEditorContentChange
705
+ }, null, 8, [
706
+ "editorData",
707
+ "containerHeight",
708
+ "runEditorQuery",
709
+ "onContentChange"
710
+ ])]),
711
+ key: "1"
712
+ } : void 0,
713
+ e.activeEditorData && e.hasActiveEditorChat ? {
714
+ name: "chat",
715
+ fn: q(() => [k(u, {
716
+ editorData: e.activeEditorData,
717
+ runEditorQuery: e.runQuery,
718
+ "display-mode": "chat",
719
+ onContentChange: e.handleEditorContentChange
720
+ }, null, 8, [
721
+ "editorData",
722
+ "runEditorQuery",
723
+ "onContentChange"
724
+ ])]),
725
+ key: "2"
726
+ } : void 0
727
+ ]), 1032, ["show-chat"])) : e.activeScreen === "connections" ? (L(), w(f, {
728
+ key: 1,
729
+ activeConnectionKey: e.activeConnectionKey,
730
+ onSaveEditors: e.saveEditorsCall
731
+ }, null, 8, ["activeConnectionKey", "onSaveEditors"])) : e.activeScreen === "tutorial" ? (L(), w(p, {
732
+ key: 2,
733
+ activeDocumentationKey: e.activeDocumentationKey
734
+ }, null, 8, ["activeDocumentationKey"])) : e.activeScreen === "models" ? (L(), w(m, {
735
+ key: 3,
736
+ activeModelKey: e.activeModelKey,
737
+ onSaveEditors: e.saveEditorsCall
738
+ }, null, 8, ["activeModelKey", "onSaveEditors"])) : e.activeScreen === "profile" ? (L(), w(h, { key: 4 })) : e.activeScreen === "settings" ? (L(), w(g, { key: 5 })) : e.activeScreen === "dashboard" ? (L(), w(_, {
739
+ key: 6,
740
+ name: e.activeDashboard
741
+ }, null, 8, ["name"])) : e.activeScreen === "dashboard-import" ? (L(), w(v, {
742
+ key: 7,
743
+ onImportComplete: e.handleImportComplete
744
+ }, null, 8, ["onImportComplete"])) : e.activeScreen === "asset-import" ? (L(), w(y, {
745
+ key: 8,
746
+ onImportComplete: e.handleAssetImportComplete
747
+ }, null, 8, ["onImportComplete"])) : e.activeScreen === "community-models" ? (L(), w(b, {
748
+ key: 9,
749
+ activeCommunityModelKey: e.activeCommunityModelKey
750
+ }, null, 8, ["activeCommunityModelKey"])) : e.activeScreen === "jobs" ? (L(), w(x, {
751
+ key: 10,
752
+ activeJobsKey: e.activeJobsKey
753
+ }, null, 8, ["activeJobsKey"])) : e.activeScreen === "llms" ? (L(), w(S, {
754
+ key: 11,
755
+ initialTab: e.llmInitialTab
756
+ }, null, 8, ["initialTab"])) : (L(), w(C, {
757
+ key: 12,
758
+ "demo-error": e.demoLaunchError,
759
+ onScreenSelected: e.setActiveScreen,
760
+ onDemoStarted: e.launchDemo
761
+ }, null, 8, [
762
+ "demo-error",
763
+ "onScreenSelected",
764
+ "onDemoStarted"
765
+ ]))]),
766
+ _: 1
767
+ }, 8, [
768
+ "onMenuBack",
769
+ "onMenuHome",
770
+ "onTabSelected",
771
+ "menuOpen",
772
+ "mobileNavigationLevel",
773
+ "mobileNavigationTitle",
774
+ "activeScreen",
775
+ "titleEditable",
776
+ "tabs",
777
+ "activeTab",
778
+ "onTabClosed",
779
+ "onCloseOtherTabs",
780
+ "onActiveTitleUpdated"
781
+ ])
782
+ ], 4);
778
783
  }
779
- var Ie = /*#__PURE__*/ e(Pe, [["render", Fe], ["__scopeId", "data-v-44491763"]]);
784
+ var Ue = /*#__PURE__*/ e(Ve, [["render", He], ["__scopeId", "data-v-b94c270c"]]);
780
785
  //#endregion
781
- export { Ie as default };
786
+ export { Ue as default };