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

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 (145) hide show
  1. package/dist/AssetAutoImporter-C_7Ms9xe.js +403 -0
  2. package/dist/{ChatCreatorModal-CL-jBnc3.js → ChatCreatorModal-Cd40SvdM.js} +3 -3
  3. package/dist/{ChatModelSelect-Do-VRUFc.js → ChatModelSelect-Cz7axWjP.js} +1 -1
  4. package/dist/{CodeBlock-PT4no49I.js → CodeBlock-Dj-GfTbW.js} +4 -4
  5. package/dist/{CommunityModels-Cmro0hV3.js → CommunityModels-lX2RhHCG.js} +7 -7
  6. package/dist/{ConnectionErrorPopup-FSs7U-Yl.js → ConnectionErrorPopup-7vpqgF0s.js} +1 -1
  7. package/dist/{ConnectionView-COnTTuA4.js → ConnectionView-CZ06qjjE.js} +49 -49
  8. package/dist/{CreateEditorFromDatasourcePopup-snOh1d5h.js → CreateEditorFromDatasourcePopup-DwA938kf.js} +4 -4
  9. package/dist/{Dashboard-BH9ZwMVJ.js → Dashboard-CQsIqWZC.js} +276 -280
  10. package/dist/{DashboardImportSelector-DQSvu9T-.js → DashboardImportSelector-CkqH52FX.js} +2 -2
  11. package/dist/{DashboardMobile-BUPtdN2V.js → DashboardMobile-DWFlel5p.js} +39 -39
  12. package/dist/{DrilldownPane-CBs5ZojS.js → DrilldownPane-BheRHJMs.js} +5 -7
  13. package/dist/{Editor-DQsYpkwl.js → Editor-DQ66Vp6v.js} +105 -103
  14. package/dist/{ErrorMessage-XMn_08gJ.js → ErrorMessage-D5JeF3Iz.js} +4 -4
  15. package/dist/{GlobalChatPanel-DhnOaige.js → GlobalChatPanel-B_s3COHE.js} +20 -21
  16. package/dist/{IDE-HLa8vybk.js → IDE-4-Jg6gsM.js} +200 -203
  17. package/dist/{JobsView-B97HBoIE.js → JobsView-B5NWDUgP.js} +13 -14
  18. package/dist/{LLMChat-CxJcPLEG.js → LLMChat-eKgEc-I3.js} +3 -3
  19. package/dist/{LLMView-C1MUf0c2.js → LLMView-CdTwMLVV.js} +23 -23
  20. package/dist/{LoadingView-s1uznGwG.js → LoadingView-Bu3wLJ7J.js} +2 -2
  21. package/dist/{MarkdownRenderer-BNDuEyG-.js → MarkdownRenderer-B6lqdkgc.js} +531 -430
  22. package/dist/{MobileIDE-BpqXoaMR.js → MobileIDE-CZlg20oa.js} +179 -182
  23. package/dist/{ModelCard-BhN25jaV.js → ModelCard-Bs_d7Jis.js} +12 -13
  24. package/dist/{ModelView-DUDA_PtZ.js → ModelView-BP5yyecx.js} +7 -7
  25. package/dist/PageLoading-DKFeqkmK.js +5937 -0
  26. package/dist/{ResultComponent-CAn_r3BL.js → ResultComponent-BaDheojB.js} +8 -8
  27. package/dist/{Results-BJtlwebY.js → Results-CrpHB101.js} +17 -19
  28. package/dist/{StatusIcon-BylPx2EO.js → StatusIcon-Clfyy-Yn.js} +2 -2
  29. package/dist/{StoreTokenModal-zCSYhfrw.js → StoreTokenModal-CO5hXMs3.js} +2 -2
  30. package/dist/{SymbolsPane-KYSwN9Sv.js → SymbolsPane-XFVErDFb.js} +6 -3
  31. package/dist/{TrilogyEmbedProvider-WA_dlv9e.js → TrilogyEmbedProvider-D3h0gYnX.js} +9 -9
  32. package/dist/{TutorialPage-NRcee6Dx.js → TutorialPage-CMcTYDOV.js} +27 -28
  33. package/dist/{VegaLiteChart-D1slfOUY.js → VegaLiteChart-DX_LbF3g.js} +12131 -10947
  34. package/dist/{WelcomePage-D5mU2x1L.js → WelcomePage-B6E35FUa.js} +5 -5
  35. package/dist/{embedTheme-Bub46ILG.js → _plugin-vue_export-helper-f9Rw-Il4.js} +14 -6
  36. package/dist/assets/{css.worker-9aDGcEUy.js → css.worker-niORQtzO.js} +14 -14
  37. package/dist/assets/{html.worker-D2LKDpnG.js → html.worker-CO5LvJpF.js} +17 -17
  38. package/dist/assets/json.worker-BezHzWUV.js +58 -0
  39. package/dist/assets/{ts.worker-Bz0-EaKK.js → ts.worker-CYhxGg0r.js} +107 -107
  40. package/dist/{results-DTgAKr5j.js → base-DuKnVD-A.js} +216 -45
  41. package/dist/components/FeedbackBanner.vue.d.ts +4 -0
  42. package/dist/components/FeedbackBanner.vue.d.ts.map +1 -0
  43. package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts +54 -0
  44. package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts.map +1 -0
  45. package/dist/components/dashboard/DashboardProvenance.vue.d.ts +30 -0
  46. package/dist/components/dashboard/DashboardProvenance.vue.d.ts.map +1 -0
  47. package/dist/components/dashboard/ReportLayout.vue.d.ts +19 -0
  48. package/dist/components/dashboard/ReportLayout.vue.d.ts.map +1 -0
  49. package/dist/components/editor/Editor.vue.d.ts +3 -3
  50. package/dist/components/editor/EditorCreatorIcon.vue.d.ts +62 -0
  51. package/dist/components/editor/EditorCreatorIcon.vue.d.ts.map +1 -0
  52. package/dist/components/editor/ValidationComponent.vue.d.ts +50 -0
  53. package/dist/components/editor/ValidationComponent.vue.d.ts.map +1 -0
  54. package/dist/components/model/ModelCard.vue.d.ts +3 -3
  55. package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
  56. package/dist/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  57. package/dist/components/tutorial/TutorialPrompt.vue.d.ts +3 -3
  58. package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
  59. package/dist/{remoteWorker-Dkv3TJ0j.js → connections-CWH3zwH2.js} +4544 -4126
  60. package/dist/connections.js +3 -4
  61. package/dist/{cssMode-D4Rzr1Cu.js → cssMode-zpO2ap2B.js} +5 -6
  62. package/dist/dashboard.js +28 -31
  63. package/dist/dashboards/dashboardQueryExecutor.d.ts +9 -0
  64. package/dist/dashboards/dashboardQueryExecutor.d.ts.map +1 -1
  65. package/dist/{dist-CXoL8kXK.js → dist-1z5KURzS.js} +55 -50
  66. package/dist/{dist-DKkuvbPb.js → dist-Bv3D2p5A.js} +20 -18
  67. package/dist/{editor.main-Cl8i7rHY.js → editor.main-BQh6DxDB.js} +33 -33
  68. package/dist/{editorRefinementRuntime-DoP9P5J2.js → editorStore-CiWH_nGN.js} +1692 -575
  69. package/dist/embed.js +2 -2
  70. package/dist/{freemarker2-fW5NBILf.js → freemarker2-DQBqlEXc.js} +1 -1
  71. package/dist/{globalChatRuntime-DWZxeS57.js → globalChatRuntime-DAERmOdu.js} +16 -16
  72. package/dist/{handlebars-dG4w8UUY.js → handlebars-tgYxaM70.js} +1 -1
  73. package/dist/{helpers-BLQAgX3C.js → helpers-C2pARJoZ.js} +34 -35
  74. package/dist/{html-1Dq70BdU.js → html-jJahD3Mi.js} +1 -1
  75. package/dist/{htmlMode--IQmLBeh.js → htmlMode-BA1-8l2e.js} +5 -6
  76. package/dist/{javascript-CTzBM4sF.js → javascript-Cypfo7va.js} +1 -1
  77. package/dist/{jsonMode-DzeJjIEH.js → jsonMode-xJye8PWS.js} +25 -25
  78. package/dist/{liquid-DlHThiki.js → liquid-BGDrv5da.js} +1 -1
  79. package/dist/llm/data/prompts.d.ts +1 -1
  80. package/dist/llm/data/prompts.d.ts.map +1 -1
  81. package/dist/llm/data/trilogySyntax.generated.d.ts +3 -3
  82. package/dist/llm/data/trilogySyntax.generated.d.ts.map +1 -1
  83. package/dist/llm-Wf4Etiu9.js +18493 -0
  84. package/dist/llm.js +2 -3
  85. package/dist/{localStorage-D9uyOFEO.js → localStorage-C3xms-ab.js} +40 -43
  86. package/dist/{lspLanguageFeatures-Cdfs3EKq.js → lspLanguageFeatures-V3e_p9oN.js} +32 -32
  87. package/dist/{mdx-fn3g4PH5.js → mdx-BUR1aImW.js} +1 -1
  88. package/dist/monaco.js +4 -4
  89. package/dist/{python-CCVj0pFt.js → python-YLkl0pc6.js} +1 -1
  90. package/dist/{razor-Cj3flYnk.js → razor-BP8TRMDY.js} +1 -1
  91. package/dist/{reconcile-Dyf4UZmj.js → reconcile-BH_ReGDR.js} +1 -1
  92. package/dist/{remoteStoreSync-Z-yjlYtI.js → remoteStoreSync-B0K8QScO.js} +3 -3
  93. package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  94. package/dist/static/test_import.vue.d.ts +4 -0
  95. package/dist/static/test_import.vue.d.ts.map +1 -0
  96. package/dist/stores-DTGQZ4_B.js +2612 -0
  97. package/dist/stores.js +4 -7
  98. package/dist/trilogy-studio-components.css +1 -1
  99. package/dist/{tsMode-GI4xMYAl.js → tsMode-BH9HS_sH.js} +64 -66
  100. package/dist/{typescript-CPibXi3J.js → typescript-BM-ynfk9.js} +1 -1
  101. package/dist/{useChatWithTools-B0HZ_DVh.js → useChatWithTools-BSrzJtYI.js} +11 -11
  102. package/dist/{useDashboard-CdSnPe_6.js → useDashboard-CGeIdDuX.js} +1014 -1022
  103. package/dist/{tabulator_esm-CxLvGDp8.js → useGlobalChatPanel-D9kMZLeF.js} +1729 -711
  104. package/dist/{useResizableDialog-B0ePSts4.js → useResizableDialog-Cs90WJdF.js} +2 -2
  105. package/dist/views/ModelView.vue.d.ts +6 -6
  106. package/dist/views/ModelView.vue.d.ts.map +1 -1
  107. package/dist/views/TutorialPage.vue.d.ts +9 -9
  108. package/dist/views/TutorialPage.vue.d.ts.map +1 -1
  109. package/dist/views.js +192 -194
  110. package/dist/{vocabulary-CKLGILtR.js → vocabulary-DQK5jB7m.js} +3 -1
  111. package/dist/{editor.api2-ClD5pp8H.js → workers-B9Eybl-M.js} +16252 -15926
  112. package/dist/{xml-BNyphceI.js → xml-M5WFPSpA.js} +1 -1
  113. package/dist/{yaml-DE5Vz0PH.js → yaml-CEeFwjz9.js} +1 -1
  114. package/package.json +29 -20
  115. package/dist/AssetAutoImporter-CBzvBaOt.js +0 -405
  116. package/dist/DashboardCreatorInline-CDU7kLy3.js +0 -129
  117. package/dist/DataTable-DoRDynP1.js +0 -365
  118. package/dist/EditorCreatorInline-D6_y1H_h.js +0 -125
  119. package/dist/LoadingButton-OH3frQuO.js +0 -138
  120. package/dist/ModalDialog-D1EOG4rl.js +0 -42
  121. package/dist/ModelCreator-CCdC7EXt.js +0 -253
  122. package/dist/PageLoading-BzniJM0C.js +0 -2669
  123. package/dist/Tooltip-Dihir4zs.js +0 -103
  124. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  125. package/dist/assets/json.worker-CJ5MmO5Q.js +0 -58
  126. package/dist/base-C8IuZWqY.js +0 -164
  127. package/dist/connectionHistoryStorage-DKJHiKJY.js +0 -111
  128. package/dist/connectionHistoryStore-DQeBvStZ.js +0 -61
  129. package/dist/connections-CJSb1TZl.js +0 -229
  130. package/dist/constants-DgFEYN2b.js +0 -7
  131. package/dist/dashboardStore-ppM6nGks.js +0 -641
  132. package/dist/demoSetup-mwa-RDC6.js +0 -2942
  133. package/dist/editorRefinementToolExecutor-CVY3FA7k.js +0 -4624
  134. package/dist/editorStore-BhhmXbi-.js +0 -1019
  135. package/dist/formatting-BbJ5ICgh.js +0 -6
  136. package/dist/llm-BBOVWb-F.js +0 -11967
  137. package/dist/llmStore-DJM2JhzY.js +0 -153
  138. package/dist/monaco.contribution-ikesdolO.js +0 -128
  139. package/dist/stores-BT9hTLny.js +0 -1708
  140. package/dist/trilogy-BroD2Qmp.js +0 -4
  141. package/dist/urlStore-52HG6lsX.js +0 -55
  142. package/dist/useGlobalChatPanel-D_0luajQ.js +0 -85
  143. package/dist/useIsMobile-CNpUQAvk.js +0 -8
  144. package/dist/usePrismHighlight-DVyDiDAL.js +0 -183
  145. package/dist/workers-Br7ThUKL.js +0 -47
@@ -1,20 +1,17 @@
1
- import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.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
- import { t as s } from "./LoadingButton-OH3frQuO.js";
8
- import { t as c } from "./ErrorMessage-XMn_08gJ.js";
9
- import { t as l } from "./LoadingView-s1uznGwG.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
- 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-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";
1
+ import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
2
+ import "./llm-Wf4Etiu9.js";
3
+ import { a as t, i as n, l as r, o as i, s as a } from "./stores-DTGQZ4_B.js";
4
+ import { tt as o } from "./editorStore-CiWH_nGN.js";
5
+ import { u as s } from "./useGlobalChatPanel-D9kMZLeF.js";
6
+ import { t as c } from "./ErrorMessage-D5JeF3Iz.js";
7
+ import { t as l } from "./LoadingView-Bu3wLJ7J.js";
8
+ import { t as u } from "./AssetAutoImporter-C_7Ms9xe.js";
9
+ import { t as d } from "./CommunityModels-lX2RhHCG.js";
10
+ import { a as f, d as p, f as ee, i as m, n as h, r as g, t as _ } from "./PageLoading-DKFeqkmK.js";
11
+ import { t as v } from "./JobsView-B5NWDUgP.js";
12
+ import { t as y } from "./ConnectionView-CZ06qjjE.js";
13
+ import { t as b } from "./ModelView-BP5yyecx.js";
14
+ import { Fragment as x, computed as S, createBlock as C, createCommentVNode as w, createElementBlock as T, createElementVNode as E, createSlots as D, createVNode as O, defineAsyncComponent as k, defineComponent as A, inject as j, markRaw as M, nextTick as te, normalizeClass as N, normalizeStyle as P, onBeforeUnmount as F, onMounted as ne, openBlock as I, provide as L, 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";
18
15
  //#region components/layout/TabDropdownItem.vue?vue&type=script&lang.ts
19
16
  var X = 10, Z = 200, ie = {
20
17
  name: "TabDropdownItem",
@@ -106,8 +103,8 @@ var X = 10, Z = 200, ie = {
106
103
  class: "swipe-action"
107
104
  };
108
105
  function oe(e, t, n, r, i, a) {
109
- return L(), E("div", {
110
- class: P(["tab-dropdown-item-wrapper", {
106
+ return I(), T("div", {
107
+ class: N(["tab-dropdown-item-wrapper", {
111
108
  swiping: i.isSwiping,
112
109
  closing: i.isClosing
113
110
  }]),
@@ -115,11 +112,11 @@ function oe(e, t, n, r, i, a) {
115
112
  onTouchmove: t[2] ||= (...e) => a.onTouchMove && a.onTouchMove(...e),
116
113
  onTouchend: t[3] ||= (...e) => a.onTouchEnd && a.onTouchEnd(...e),
117
114
  onTouchcancel: t[4] ||= (...e) => a.onTouchCancel && a.onTouchCancel(...e),
118
- style: F(a.swipeStyle)
119
- }, [D("div", {
120
- class: P(["tab-dropdown-item", { active: n.isActive }]),
115
+ style: P(a.swipeStyle)
116
+ }, [E("div", {
117
+ class: N(["tab-dropdown-item", { active: n.isActive }]),
121
118
  onClick: t[0] ||= (...e) => a.handleClick && a.handleClick(...e)
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);
119
+ }, [E("i", { class: N([n.icon, "tab-dropdown-icon"]) }, null, 2), E("span", ae, H(n.tab.title), 1)], 2), i.isSwiping || i.isClosing ? (I(), T("div", Q, [...t[5] ||= [E("i", { class: "mdi mdi-close" }, null, -1)]])) : w("", !0)], 38);
123
120
  }
124
121
  var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]]), ce = {
125
122
  id: "interface",
@@ -137,7 +134,7 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
137
134
  }, ve = { class: "tab-dropdown-items" }, ye = { class: "bar-slot bar-right" }, be = { class: "interface-wrap" }, xe = { class: "sidebar" }, Se = {
138
135
  class: "nested-page-content",
139
136
  id: "page-content"
140
- }, Ce = { class: "confirm-buttons" }, we = /*#__PURE__*/ e(/* @__PURE__ */ j({
137
+ }, Ce = { class: "confirm-buttons" }, we = /*#__PURE__*/ e(/* @__PURE__ */ A({
141
138
  __name: "MobileSidebarLayout",
142
139
  props: {
143
140
  menuOpen: { type: Boolean },
@@ -161,7 +158,7 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
161
158
  "active-title-updated"
162
159
  ],
163
160
  setup(e, { emit: t }) {
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" ? {
161
+ 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 = S(() => n.menuOpen ? n.mobileNavigationLevel === "detail" ? n.mobileNavigationTitle : "Menu" : n.activeScreen ? p(n.activeScreen) : "Trilogy"), m = S(() => n.tabs.length === 0 ? f.value : n.tabs.find((e) => e.id === n.activeTab)?.title || f.value), h = S(() => n.tabs.filter((e) => !j(e)).length), g = S(() => `${n.activeScreen}::${n.activeTab ?? ""}`), _ = S(() => n.menuOpen ? n.mobileNavigationLevel === "detail" ? {
165
162
  icon: "mdi-chevron-left",
166
163
  label: "Back",
167
164
  testid: "mobile-menu-back",
@@ -176,54 +173,54 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
176
173
  label: "Back to menu",
177
174
  testid: "mobile-menu-toggle",
178
175
  event: "menu-toggled"
179
- }), y = () => {
176
+ }), v = () => {
180
177
  i.value = !i.value;
181
- }, b = () => {
178
+ }, y = () => {
182
179
  i.value = !1;
183
180
  };
184
- K([() => n.menuOpen, () => n.tabs.length], b);
185
- let x = async () => {
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
- }, O = () => {
181
+ G([() => n.menuOpen, () => n.tabs.length], y);
182
+ let b = async () => {
183
+ n.titleEditable && !n.menuOpen && (s.value = m.value, c.value = g.value, o.value = !0, await te(), d.value?.focus(), d.value?.select());
184
+ }, D = () => {
188
185
  if (!o.value) return;
189
186
  let e = c.value;
190
- if (o.value = !1, c.value = null, e !== h.value) return;
187
+ if (o.value = !1, c.value = null, e !== g.value) return;
191
188
  let t = s.value.trim();
192
- t && t !== p.value && r("active-title-updated", t);
193
- }, k = () => {
189
+ t && t !== m.value && r("active-title-updated", t);
190
+ }, O = () => {
194
191
  o.value = !1, c.value = null;
195
192
  };
196
- K([h, () => n.menuOpen], k);
197
- let A = (e) => {
198
- r("tab-selected", e), b();
199
- }, j = (e) => {
193
+ G([g, () => n.menuOpen], O);
194
+ let k = (e) => {
195
+ r("tab-selected", e), y();
196
+ }, A = (e) => {
200
197
  r("tab-closed", e);
201
- }, M = (e) => e.id === n.activeTab, N = () => {
198
+ }, j = (e) => e.id === n.activeTab, M = () => {
202
199
  a.value = !1, n.activeTab && r("close-other-tabs", n.activeTab);
203
- }, F = () => {
200
+ }, P = () => {
204
201
  _.value.event === "menu-back" ? r("menu-back") : r("menu-toggled");
205
- }, R = (e) => {
202
+ }, L = (e) => {
206
203
  if (!i.value) return;
207
204
  let t = e.target, n = u.value, r = l.value;
208
- n && r && !n.contains(t) && !r.contains(t) && b();
209
- }, H = (e) => {
210
- e.key === "Escape" && (a.value ? a.value = !1 : i.value && b());
205
+ n && r && !n.contains(t) && !r.contains(t) && y();
206
+ }, V = (e) => {
207
+ e.key === "Escape" && (a.value ? a.value = !1 : i.value && y());
211
208
  };
212
- return te(() => {
213
- document.addEventListener("click", R), document.addEventListener("keydown", H);
214
- }), I(() => {
215
- document.removeEventListener("click", R), document.removeEventListener("keydown", H);
216
- }), (t, n) => (L(), E("div", ce, [
217
- D("div", le, [
218
- D("div", ue, [D("button", {
209
+ return ne(() => {
210
+ document.addEventListener("click", L), document.addEventListener("keydown", V);
211
+ }), F(() => {
212
+ document.removeEventListener("click", L), document.removeEventListener("keydown", V);
213
+ }), (t, n) => (I(), T("div", ce, [
214
+ E("div", le, [
215
+ E("div", ue, [E("button", {
219
216
  type: "button",
220
217
  class: "bar-button bar-button-lg",
221
218
  "aria-label": _.value.label,
222
219
  title: _.value.label,
223
220
  "data-testid": _.value.testid,
224
- onClick: F
225
- }, [D("i", { class: P(["mdi", _.value.icon]) }, null, 2)], 8, de)]),
226
- D("div", fe, [o.value ? J((L(), E("input", {
221
+ onClick: P
222
+ }, [E("i", { class: N(["mdi", _.value.icon]) }, null, 2)], 8, de)]),
223
+ E("div", fe, [o.value ? q((I(), T("input", {
227
224
  key: 0,
228
225
  ref_key: "titleInput",
229
226
  ref: d,
@@ -232,53 +229,53 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
232
229
  "data-testid": e.activeScreen === "editors" ? "editor-name-input" : "page-title-input",
233
230
  type: "text",
234
231
  "aria-label": e.activeScreen === "editors" ? "Editor name" : "Page title",
235
- onBlur: O,
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", {
232
+ onBlur: D,
233
+ onKeyup: [J(D, ["enter"]), J(O, ["esc"])]
234
+ }, null, 40, pe)), [[re, s.value]]) : (I(), T(x, { key: 1 }, [!e.menuOpen && e.tabs.length > 1 ? (I(), T("button", {
238
235
  key: 0,
239
236
  type: "button",
240
237
  class: "tab-dropdown-container",
241
238
  "aria-haspopup": "menu",
242
239
  "aria-expanded": i.value,
243
- onClick: y,
240
+ onClick: v,
244
241
  ref_key: "tabDropdownContainer",
245
242
  ref: l
246
- }, [D("span", he, U(p.value), 1), D("i", { class: P([[
243
+ }, [E("span", he, H(m.value), 1), E("i", { class: N([[
247
244
  "mdi",
248
245
  "dropdown-arrow",
249
246
  { rotated: i.value }
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", {
247
+ ], "mdi-chevron-down"]) }, null, 2)], 8, me)) : (I(), T("span", ge, H(f.value), 1))], 64)), i.value && e.tabs.length > 1 ? (I(), T("div", {
251
248
  key: 2,
252
249
  class: "tab-dropdown",
253
250
  role: "menu",
254
251
  ref_key: "tabDropdown",
255
252
  ref: u,
256
- onClick: n[2] ||= re(() => {}, ["stop"])
257
- }, [e.tabs.length > 2 ? (L(), E("div", _e, [D("button", {
253
+ onClick: n[2] ||= Y(() => {}, ["stop"])
254
+ }, [e.tabs.length > 2 ? (I(), T("div", _e, [E("button", {
258
255
  type: "button",
259
256
  class: "close-others-btn",
260
257
  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, B(e.tabs, (e) => (L(), w(se, {
258
+ }, [...n[7] ||= [E("i", { class: "mdi mdi-close-box-multiple-outline" }, null, -1), E("span", null, "Close other tabs", -1)]])])) : w("", !0), E("div", ve, [(I(!0), T(x, null, z(e.tabs, (e) => (I(), C(se, {
262
259
  key: e.id,
263
260
  tab: e,
264
- "is-active": M(e),
265
- icon: W(v)(e.screen),
266
- onSelect: A,
267
- onClose: j
261
+ "is-active": j(e),
262
+ icon: U(ee)(e.screen),
263
+ onSelect: k,
264
+ onClose: A
268
265
  }, null, 8, [
269
266
  "tab",
270
267
  "is-active",
271
268
  "icon"
272
- ]))), 128))])], 512)) : T("", !0)]),
273
- D("div", ye, [e.titleEditable && !e.menuOpen && !o.value ? (L(), E("button", {
269
+ ]))), 128))])], 512)) : w("", !0)]),
270
+ E("div", ye, [e.titleEditable && !e.menuOpen && !o.value ? (I(), T("button", {
274
271
  key: 0,
275
272
  class: "bar-button",
276
273
  type: "button",
277
274
  title: "Rename",
278
275
  "aria-label": "Rename",
279
276
  "data-testid": "edit-editor-name",
280
- onClick: x
281
- }, [...n[8] ||= [D("i", { class: "mdi mdi-pencil-outline" }, null, -1)]])) : T("", !0), !e.menuOpen || e.mobileNavigationLevel === "detail" ? (L(), E("button", {
277
+ onClick: b
278
+ }, [...n[8] ||= [E("i", { class: "mdi mdi-pencil-outline" }, null, -1)]])) : w("", !0), !e.menuOpen || e.mobileNavigationLevel === "detail" ? (I(), T("button", {
282
279
  key: 1,
283
280
  class: "bar-button",
284
281
  type: "button",
@@ -286,27 +283,27 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
286
283
  "aria-label": "Back to menu root",
287
284
  "data-testid": "mobile-menu-home",
288
285
  onClick: n[3] ||= (e) => t.$emit("menu-home")
289
- }, [...n[9] ||= [D("i", { class: "mdi mdi-home-outline" }, null, -1)]])) : T("", !0)])
286
+ }, [...n[9] ||= [E("i", { class: "mdi mdi-home-outline" }, null, -1)]])) : w("", !0)])
290
287
  ]),
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
- a.value ? (L(), E("div", {
288
+ E("div", be, [q(E("div", xe, [B(t.$slots, "sidebar", {}, void 0, !0)], 512), [[W, e.menuOpen]]), q(E("div", Se, [B(t.$slots, "default", {}, void 0, !0)], 512), [[W, !e.menuOpen]])]),
289
+ a.value ? (I(), T("div", {
293
290
  key: 0,
294
291
  class: "close-confirm-overlay",
295
292
  onClick: n[6] ||= (e) => a.value = !1
296
- }, [D("div", {
293
+ }, [E("div", {
297
294
  class: "close-confirm-dialog",
298
295
  role: "dialog",
299
296
  "aria-modal": "true",
300
- onClick: n[5] ||= re(() => {}, ["stop"])
301
- }, [D("p", null, "Close " + U(m.value) + " other tabs?", 1), D("div", Ce, [D("button", {
297
+ onClick: n[5] ||= Y(() => {}, ["stop"])
298
+ }, [E("p", null, "Close " + H(h.value) + " other tabs?", 1), E("div", Ce, [E("button", {
302
299
  type: "button",
303
300
  onClick: n[4] ||= (e) => a.value = !1,
304
301
  class: "cancel-btn"
305
- }, " Cancel "), D("button", {
302
+ }, " Cancel "), E("button", {
306
303
  type: "button",
307
- onClick: N,
304
+ onClick: M,
308
305
  class: "confirm-btn"
309
- }, " Close Others ")])])])) : T("", !0)
306
+ }, " Close Others ")])])])) : w("", !0)
310
307
  ]));
311
308
  }
312
309
  }), [["__scopeId", "data-v-6ca4d7e9"]]), Te = {
@@ -329,7 +326,7 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
329
326
  let t = e.getBoundingClientRect().height;
330
327
  t > 0 && (this.resultsHeight = t);
331
328
  });
332
- t.observe(e), this.resultsObserver = N(t);
329
+ t.observe(e), this.resultsObserver = M(t);
333
330
  },
334
331
  unmounted() {
335
332
  this.resultsObserver &&= (this.resultsObserver.disconnect(), null);
@@ -345,34 +342,34 @@ var se = /*#__PURE__*/ e(ie, [["render", oe], ["__scopeId", "data-v-5e2db354"]])
345
342
  "aria-label": "Editor views"
346
343
  };
347
344
  function je(e, t, n, r, i, a) {
348
- return L(), E("div", { class: P(["results-container", `view-${i.activeTab}`]) }, [D("div", Ee, [
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
- ]), D("nav", Ae, [
353
- D("button", {
354
- class: P(["tab-button", { active: i.activeTab === "sql" }]),
345
+ return I(), T("div", { class: N(["results-container", `view-${i.activeTab}`]) }, [E("div", Ee, [
346
+ E("div", De, [B(e.$slots, "editor", { onQueryStarted: () => i.activeTab = "results" }, void 0, !0)]),
347
+ q(E("div", Oe, [B(e.$slots, "results", { containerHeight: i.resultsHeight }, void 0, !0)], 512), [[W, i.activeTab === "results"]]),
348
+ q(E("div", ke, [B(e.$slots, "chat", {}, void 0, !0)], 512), [[W, i.activeTab === "chat"]])
349
+ ]), E("nav", Ae, [
350
+ E("button", {
351
+ class: N(["tab-button", { active: i.activeTab === "sql" }]),
355
352
  onClick: t[0] ||= (e) => i.activeTab = "sql",
356
353
  "data-testid": "editor-tab"
357
354
  }, " Editor ", 2),
358
- D("button", {
359
- class: P(["tab-button", { active: i.activeTab === "results" }]),
355
+ E("button", {
356
+ class: N(["tab-button", { active: i.activeTab === "results" }]),
360
357
  onClick: t[1] ||= (e) => i.activeTab = "results",
361
358
  "data-testid": "results-tab"
362
359
  }, " Results ", 2),
363
- n.showChat ? (L(), E("button", {
360
+ n.showChat ? (I(), T("button", {
364
361
  key: 0,
365
- class: P(["tab-button", { active: i.activeTab === "chat" }]),
362
+ class: N(["tab-button", { active: i.activeTab === "chat" }]),
366
363
  onClick: t[2] ||= (e) => i.activeTab = "chat",
367
364
  "data-testid": "chat-tab"
368
- }, " Chat ", 2)) : T("", !0)
365
+ }, " Chat ", 2)) : w("", !0)
369
366
  ])], 2);
370
367
  }
371
- var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]]), $ = (e) => A({
368
+ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]]), $ = (e) => k({
372
369
  loader: e,
373
- loadingComponent: y,
370
+ loadingComponent: _,
374
371
  delay: 0
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({
372
+ }), Ne = $(() => import("./TutorialPage-CMcTYDOV.js")), Pe = $(() => import("./Editor-DQ66Vp6v.js").then((e) => e.n)), Fe = k(() => import("./useGlobalChatPanel-D9kMZLeF.js").then((e) => e.i)), Ie = $(() => import("./WelcomePage-B6E35FUa.js")), Le = $(() => import("./DashboardMobile-DWFlel5p.js")), Re = k(() => import("./ResultComponent-BaDheojB.js").then((e) => e.n)), ze = $(() => import("./LLMView-CdTwMLVV.js")), Be = k(() => import("./ConnectionErrorPopup-7vpqgF0s.js")), Ve = k(() => import("./ChatCreatorModal-Cd40SvdM.js")), He = A({
376
373
  name: "MobileIDEComponent",
377
374
  data() {
378
375
  return {
@@ -382,13 +379,13 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
382
379
  };
383
380
  },
384
381
  components: {
385
- Sidebar: m,
382
+ Sidebar: f,
386
383
  Editor: Pe,
387
384
  DataTable: Fe,
388
385
  ErrorMessage: c,
389
386
  TutorialPage: Ne,
390
- ModelView: x,
391
- UserSettings: _,
387
+ ModelView: b,
388
+ UserSettings: g,
392
389
  UserProfile: h,
393
390
  LoadingView: l,
394
391
  WelcomePage: Ie,
@@ -399,34 +396,34 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
399
396
  TabbedLayout: Me,
400
397
  MobileSidebarLayout: we,
401
398
  CommunityModels: d,
402
- JobsView: f,
403
- ConnectionView: p,
399
+ JobsView: v,
400
+ ConnectionView: y,
404
401
  ResultsView: Re,
405
402
  LLMView: ze,
406
- ChatCreatorModal: A(() => import("./ChatCreatorModal-CL-jBnc3.js")),
403
+ ChatCreatorModal: Ve,
407
404
  ConnectionErrorPopup: Be
408
405
  },
409
406
  setup() {
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");
407
+ let e = j("connectionStore"), r = j("editorStore"), i = j("modelStore"), a = j("dashboardStore"), o = j("trilogyResolver"), s = j("queryExecutionService"), c = j("storesLoaded", R(!0)), l = j("saveEditors"), u = j("saveConnections"), d = j("saveModels"), f = j("saveDashboards");
411
408
  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.");
412
409
  l ||= () => {};
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);
410
+ let p = t(), ee = R(null), m = n(), { activeScreen: h, activeEditor: g, activeTab: _, activeDashboard: v, activeSidebarScreen: y, setActiveScreen: b, setActiveSidebarScreen: x, setActiveEditor: S, setActiveDashboard: C, activeConnectionKey: w, activeModelKey: T, activeDocumentationKey: E, setActiveConnectionKey: D, setActiveModelKey: O, setActiveDocumentationKey: k, activeLLMConnectionKey: A, setActiveLLMConnectionKey: M, activeCommunityModelKey: te, activeJobsKey: N, setActiveJobsKey: P, mobileMenuOpen: I, toggleMobileMenu: z, tabs: B, closeTab: V, closeOtherTabsExcept: H, openTab: U, addBackListeners: re, removeBacklisteners: W, onInitialLoad: G, updateTabName: K } = p, q = (e) => {
411
+ U(e.screen, null, e.address);
412
+ }, J = (e) => {
413
+ V(e, null);
415
414
  }, Y = (e) => {
416
- H(e, null);
417
- }, re = (e) => {
418
- U(e);
415
+ H(e);
419
416
  };
420
- K(), ne(), I(() => {
421
- G();
422
- }), R("navigationStore", p);
423
- let X = z(""), Z = z(!1), ie = z(""), ae = z("100dvh"), Q = () => {
417
+ G(), re(), F(() => {
418
+ W();
419
+ }), L("navigationStore", p);
420
+ let X = R(""), Z = R(!1), ie = R(""), ae = R("100dvh"), Q = () => {
424
421
  let e = window.visualViewport;
425
422
  ae.value = e ? `${e.height}px` : `${window.innerHeight}px`, e && e.height >= window.innerHeight - 1 && window.scrollY > 0 && window.scrollTo(0, 0);
426
423
  };
427
- return te(() => {
424
+ return ne(() => {
428
425
  Q(), window.visualViewport?.addEventListener("resize", Q);
429
- }), I(() => {
426
+ }), F(() => {
430
427
  window.visualViewport?.removeEventListener("resize", Q);
431
428
  }), {
432
429
  connectionStore: e,
@@ -440,40 +437,40 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
440
437
  saveModels: d,
441
438
  saveDashboards: f,
442
439
  modelStore: i,
443
- activeCommunityModelKey: ee,
444
- activeJobsKey: P,
445
- activeTab: v,
446
- activeScreen: g,
447
- activeSidebarScreen: b,
448
- activeEditor: _,
449
- activeDashboard: y,
450
- activeConnectionKey: T,
451
- activeModelKey: E,
452
- activeDocumentationKey: D,
453
- setActiveScreen: x,
454
- setActiveSidebarScreen: S,
455
- setActiveEditor: C,
456
- setActiveDashboard: w,
457
- setActiveConnectionKey: O,
458
- setActiveModelKey: k,
459
- setActiveDocumentationKey: A,
460
- activeLLMConnectionKey: j,
461
- setActiveLLMConnectionKey: N,
462
- setActiveJobsKey: F,
463
- mobileMenuOpen: L,
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,
440
+ activeCommunityModelKey: te,
441
+ activeJobsKey: N,
442
+ activeTab: _,
443
+ activeScreen: h,
444
+ activeSidebarScreen: y,
445
+ activeEditor: g,
446
+ activeDashboard: v,
447
+ activeConnectionKey: w,
448
+ activeModelKey: T,
449
+ activeDocumentationKey: E,
450
+ setActiveScreen: b,
451
+ setActiveSidebarScreen: x,
452
+ setActiveEditor: S,
453
+ setActiveDashboard: C,
454
+ setActiveConnectionKey: D,
455
+ setActiveModelKey: O,
456
+ setActiveDocumentationKey: k,
457
+ activeLLMConnectionKey: A,
458
+ setActiveLLMConnectionKey: M,
459
+ setActiveJobsKey: P,
460
+ mobileMenuOpen: I,
461
+ toggleMobileMenu: z,
462
+ tabs: B,
463
+ openTab: U,
464
+ closeTab: V,
465
+ closeOtherTabsExcept: H,
466
+ tabSelected: q,
467
+ handleTabClosed: J,
468
+ handleCloseOtherTabs: Y,
469
+ updateTabName: K,
473
470
  llmInitialTab: X,
474
471
  handleLLMOpenView: (e, t, n) => {
475
472
  let r = n ? `${e}+${n}` : e;
476
- N(r), X.value = t, x("llms"), L.value && B(), setTimeout(() => {
473
+ M(r), X.value = t, b("llms"), I.value && z(), setTimeout(() => {
477
474
  X.value = "";
478
475
  }, 100);
479
476
  },
@@ -484,17 +481,17 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
484
481
  },
485
482
  handleChatCreated: (e) => {
486
483
  let t = `${e.llmConnectionName}+${e.id}`;
487
- N(t), X.value = "chat", x("llms"), L.value && B(), setTimeout(() => {
484
+ M(t), X.value = "chat", b("llms"), I.value && z(), setTimeout(() => {
488
485
  X.value = "";
489
486
  }, 100), Z.value = !1;
490
487
  },
491
488
  mobileViewportHeight: ae,
492
- editorRef: m,
493
- mobileNavigationLevel: h.level,
494
- mobileNavigationTitle: h.title,
495
- handleMobileMenuBack: h.back,
489
+ editorRef: ee,
490
+ mobileNavigationLevel: m.level,
491
+ mobileNavigationTitle: m.title,
492
+ handleMobileMenuBack: m.back,
496
493
  handleMobileMenuHome: () => {
497
- h.home(), L.value = !0;
494
+ m.home(), I.value = !0;
498
495
  }
499
496
  };
500
497
  },
@@ -525,7 +522,7 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
525
522
  if (!t) return;
526
523
  let n = this.editorStore.editors[t];
527
524
  if (n) {
528
- if (this.editorStore.updateEditorName(t, e), n.tags.includes(r.SOURCE)) {
525
+ if (this.editorStore.updateEditorName(t, e), n.tags.includes(o.SOURCE)) {
529
526
  let t = n.connectionId ? this.connectionStore.connections[n.connectionId] : this.connectionStore.connectionByName(n.connection);
530
527
  t?.model && (this.modelStore.models[t.model].updateModelSourceName(n.id, e), this.saveModels());
531
528
  }
@@ -537,19 +534,19 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
537
534
  },
538
535
  waitForStoresLoaded() {
539
536
  return this.storesLoaded ? Promise.resolve() : new Promise((e) => {
540
- let t = K(() => this.storesLoaded, (n) => {
537
+ let t = G(() => this.storesLoaded, (n) => {
541
538
  n && (t(), e());
542
539
  });
543
540
  });
544
541
  },
545
542
  maybeStartDemoFromHash() {
546
- return a(o.DEMO, "") === "true" ? this.launchDemo() : Promise.resolve();
543
+ return a(i.DEMO, "") === "true" ? this.launchDemo() : Promise.resolve();
547
544
  },
548
545
  async launchDemo() {
549
546
  if (!this.demoLaunchInFlight) {
550
547
  this.demoLaunchInFlight = !0, this.demoLaunchError = "";
551
548
  try {
552
- await this.waitForStoresLoaded(), await this.startDemo(), i(o.DEMO);
549
+ await this.waitForStoresLoaded(), await this.startDemo(), r(i.DEMO);
553
550
  } catch (e) {
554
551
  console.error("Demo setup failed:", e), this.demoLaunchError = e instanceof Error ? e.message : String(e);
555
552
  } finally {
@@ -558,7 +555,7 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
558
555
  }
559
556
  },
560
557
  async startDemo() {
561
- let e = await b(this.editorStore, this.connectionStore, this.modelStore, this.dashboardStore, this.saveEditors, this.saveConnections, this.saveModels, this.saveDashboards, this.queryExecutionService);
558
+ let e = await m(this.editorStore, this.connectionStore, this.modelStore, this.dashboardStore, this.saveEditors, this.saveConnections, this.saveModels, this.saveDashboards, this.queryExecutionService);
562
559
  this.setActiveScreen("editors"), this.setActiveEditor(e);
563
560
  },
564
561
  handleImportComplete(e) {
@@ -585,14 +582,14 @@ var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]])
585
582
  });
586
583
  //#endregion
587
584
  //#region views/MobileIDE.vue
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");
590
- return L(), E("div", {
585
+ function Ue(e, t, n, r, i, a) {
586
+ let o = V("ConnectionErrorPopup"), s = V("ChatCreatorModal"), c = V("sidebar"), l = V("editor"), u = V("ResultsView"), d = V("tabbed-layout"), f = V("connection-view"), p = V("tutorial-page"), ee = 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"), w = V("mobile-sidebar-layout");
587
+ return I(), T("div", {
591
588
  class: "main mobile-ide-root",
592
- style: F({ "--mobile-viewport-height": e.mobileViewportHeight })
589
+ style: P({ "--mobile-viewport-height": e.mobileViewportHeight })
593
590
  }, [
594
- k(o),
595
- k(s, {
591
+ O(o),
592
+ O(s, {
596
593
  visible: e.showChatCreatorModal,
597
594
  preselectedConnection: e.chatCreatorPreselectedConnection,
598
595
  activeDataConnection: e.activeConnectionKey,
@@ -604,7 +601,7 @@ function He(e, t, n, r, i, a) {
604
601
  "activeDataConnection",
605
602
  "onChatCreated"
606
603
  ]),
607
- k(T, {
604
+ O(w, {
608
605
  onMenuToggled: t[1] ||= (t) => e.mobileMenuOpen = !e.mobileMenuOpen,
609
606
  onMenuBack: e.handleMobileMenuBack,
610
607
  onMenuHome: e.handleMobileMenuHome,
@@ -620,7 +617,7 @@ function He(e, t, n, r, i, a) {
620
617
  onCloseOtherTabs: e.handleCloseOtherTabs,
621
618
  onActiveTitleUpdated: e.updateActiveTitle
622
619
  }, {
623
- sidebar: q(() => [k(c, {
620
+ sidebar: K(() => [O(c, {
624
621
  onEditorSelected: e.setActiveEditor,
625
622
  onScreenSelected: e.setActiveSidebarScreen,
626
623
  onSaveEditors: e.saveEditorsCall,
@@ -663,13 +660,13 @@ function He(e, t, n, r, i, a) {
663
660
  "activeDashboardKey",
664
661
  "activeLLMKey"
665
662
  ])]),
666
- default: q(() => [e.activeScreen && e.activeScreen !== "" && ["editors"].includes(e.activeScreen) ? (L(), w(d, {
663
+ default: K(() => [e.activeScreen && e.activeScreen !== "" && ["editors"].includes(e.activeScreen) ? (I(), C(d, {
667
664
  key: 0,
668
665
  "show-chat": e.hasActiveEditorChat
669
- }, O({ _: 2 }, [
666
+ }, D({ _: 2 }, [
670
667
  e.activeEditor && e.activeEditorData ? {
671
668
  name: "editor",
672
- fn: q((t) => [e.activeEditorData.type == "preql" ? (L(), w(l, {
669
+ fn: K((t) => [e.activeEditorData.type == "preql" ? (I(), C(l, {
673
670
  key: 0,
674
671
  ref: "editorRef",
675
672
  context: "main-trilogy",
@@ -680,7 +677,7 @@ function He(e, t, n, r, i, a) {
680
677
  "editorId",
681
678
  "onQueryStarted",
682
679
  "onSaveEditors"
683
- ])) : (L(), w(l, {
680
+ ])) : (I(), C(l, {
684
681
  key: 1,
685
682
  onQueryStarted: t.onQueryStarted,
686
683
  ref: "editorRef",
@@ -696,7 +693,7 @@ function He(e, t, n, r, i, a) {
696
693
  } : void 0,
697
694
  e.activeEditorData ? {
698
695
  name: "results",
699
- fn: q(({ containerHeight: t }) => [k(u, {
696
+ fn: K(({ containerHeight: t }) => [O(u, {
700
697
  editorData: e.activeEditorData,
701
698
  containerHeight: t,
702
699
  runEditorQuery: e.runQuery,
@@ -712,7 +709,7 @@ function He(e, t, n, r, i, a) {
712
709
  } : void 0,
713
710
  e.activeEditorData && e.hasActiveEditorChat ? {
714
711
  name: "chat",
715
- fn: q(() => [k(u, {
712
+ fn: K(() => [O(u, {
716
713
  editorData: e.activeEditorData,
717
714
  runEditorQuery: e.runQuery,
718
715
  "display-mode": "chat",
@@ -724,36 +721,36 @@ function He(e, t, n, r, i, a) {
724
721
  ])]),
725
722
  key: "2"
726
723
  } : void 0
727
- ]), 1032, ["show-chat"])) : e.activeScreen === "connections" ? (L(), w(f, {
724
+ ]), 1032, ["show-chat"])) : e.activeScreen === "connections" ? (I(), C(f, {
728
725
  key: 1,
729
726
  activeConnectionKey: e.activeConnectionKey,
730
727
  onSaveEditors: e.saveEditorsCall
731
- }, null, 8, ["activeConnectionKey", "onSaveEditors"])) : e.activeScreen === "tutorial" ? (L(), w(p, {
728
+ }, null, 8, ["activeConnectionKey", "onSaveEditors"])) : e.activeScreen === "tutorial" ? (I(), C(p, {
732
729
  key: 2,
733
730
  activeDocumentationKey: e.activeDocumentationKey
734
- }, null, 8, ["activeDocumentationKey"])) : e.activeScreen === "models" ? (L(), w(m, {
731
+ }, null, 8, ["activeDocumentationKey"])) : e.activeScreen === "models" ? (I(), C(ee, {
735
732
  key: 3,
736
733
  activeModelKey: e.activeModelKey,
737
734
  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(_, {
735
+ }, null, 8, ["activeModelKey", "onSaveEditors"])) : e.activeScreen === "profile" ? (I(), C(m, { key: 4 })) : e.activeScreen === "settings" ? (I(), C(h, { key: 5 })) : e.activeScreen === "dashboard" ? (I(), C(g, {
739
736
  key: 6,
740
737
  name: e.activeDashboard
741
- }, null, 8, ["name"])) : e.activeScreen === "dashboard-import" ? (L(), w(v, {
738
+ }, null, 8, ["name"])) : e.activeScreen === "dashboard-import" ? (I(), C(_, {
742
739
  key: 7,
743
740
  onImportComplete: e.handleImportComplete
744
- }, null, 8, ["onImportComplete"])) : e.activeScreen === "asset-import" ? (L(), w(y, {
741
+ }, null, 8, ["onImportComplete"])) : e.activeScreen === "asset-import" ? (I(), C(v, {
745
742
  key: 8,
746
743
  onImportComplete: e.handleAssetImportComplete
747
- }, null, 8, ["onImportComplete"])) : e.activeScreen === "community-models" ? (L(), w(b, {
744
+ }, null, 8, ["onImportComplete"])) : e.activeScreen === "community-models" ? (I(), C(y, {
748
745
  key: 9,
749
746
  activeCommunityModelKey: e.activeCommunityModelKey
750
- }, null, 8, ["activeCommunityModelKey"])) : e.activeScreen === "jobs" ? (L(), w(x, {
747
+ }, null, 8, ["activeCommunityModelKey"])) : e.activeScreen === "jobs" ? (I(), C(b, {
751
748
  key: 10,
752
749
  activeJobsKey: e.activeJobsKey
753
- }, null, 8, ["activeJobsKey"])) : e.activeScreen === "llms" ? (L(), w(S, {
750
+ }, null, 8, ["activeJobsKey"])) : e.activeScreen === "llms" ? (I(), C(x, {
754
751
  key: 11,
755
752
  initialTab: e.llmInitialTab
756
- }, null, 8, ["initialTab"])) : (L(), w(C, {
753
+ }, null, 8, ["initialTab"])) : (I(), C(S, {
757
754
  key: 12,
758
755
  "demo-error": e.demoLaunchError,
759
756
  onScreenSelected: e.setActiveScreen,
@@ -781,6 +778,6 @@ function He(e, t, n, r, i, a) {
781
778
  ])
782
779
  ], 4);
783
780
  }
784
- var Ue = /*#__PURE__*/ e(Ve, [["render", He], ["__scopeId", "data-v-b94c270c"]]);
781
+ var We = /*#__PURE__*/ e(He, [["render", Ue], ["__scopeId", "data-v-b94c270c"]]);
785
782
  //#endregion
786
- export { Ue as default };
783
+ export { We as default };