@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.
- package/dist/AssetAutoImporter-CBzvBaOt.js +405 -0
- package/dist/ChatCreatorModal-CL-jBnc3.js +218 -0
- package/dist/ChatModelSelect-Do-VRUFc.js +40 -0
- package/dist/{CommunityModels-D7zWnHgG.js → CommunityModels-Cmro0hV3.js} +101 -70
- package/dist/{Dashboard-D1ZCTw5r.js → Dashboard-BH9ZwMVJ.js} +8 -8
- package/dist/{DashboardCreatorInline-LWvf--2x.js → DashboardCreatorInline-CDU7kLy3.js} +3 -3
- package/dist/{DashboardImportSelector-CNxibXlS.js → DashboardImportSelector-DQSvu9T-.js} +1 -1
- package/dist/{DashboardMobile-D_m0xv17.js → DashboardMobile-BUPtdN2V.js} +4 -4
- package/dist/{Editor-DhsP18KE.js → Editor-DQsYpkwl.js} +6 -6
- package/dist/{GlobalChatPanel-DFx9A4yP.js → GlobalChatPanel-DhnOaige.js} +155 -119
- package/dist/{IDE-BRMLxTfP.js → IDE-HLa8vybk.js} +9 -9
- package/dist/{JobsView-C9PYS6pZ.js → JobsView-B97HBoIE.js} +8 -8
- package/dist/{LLMChat-Cqg6pTgC.js → LLMChat-CxJcPLEG.js} +1 -1
- package/dist/{LLMView-VkJpP-49.js → LLMView-C1MUf0c2.js} +21 -21
- package/dist/{MobileIDE-CHGJoh05.js → MobileIDE-BpqXoaMR.js} +258 -253
- package/dist/{ModelCard-D8tKkK9-.js → ModelCard-BhN25jaV.js} +10 -10
- package/dist/{ModelCreator-DrxLxeyH.js → ModelCreator-CCdC7EXt.js} +1 -1
- package/dist/{ModelView-rAurf9n8.js → ModelView-DUDA_PtZ.js} +3 -3
- package/dist/{PageLoading-I6mr-7NB.js → PageLoading-BzniJM0C.js} +622 -619
- package/dist/{ResultComponent-_-1qZCfv.js → ResultComponent-CAn_r3BL.js} +3 -3
- package/dist/{Results-CQGpFmPQ.js → Results-BJtlwebY.js} +3 -3
- package/dist/{SymbolsPane-BpmL___H.js → SymbolsPane-KYSwN9Sv.js} +1 -1
- package/dist/{TutorialPage-CZGBRJdq.js → TutorialPage-NRcee6Dx.js} +8 -8
- package/dist/{VegaLiteChart-CmkOw6yD.js → VegaLiteChart-D1slfOUY.js} +11227 -11195
- package/dist/{WelcomePage-CLKvAvk-.js → WelcomePage-D5mU2x1L.js} +1 -1
- package/dist/components/AssetAutoImporter.vue.d.ts.map +1 -1
- package/dist/components/TipsCTA.vue.d.ts +1 -1
- package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
- package/dist/components/chartHelpers.d.ts +9 -1
- package/dist/components/chartHelpers.d.ts.map +1 -1
- package/dist/components/chartRenderManager.d.ts +4 -1
- package/dist/components/chartRenderManager.d.ts.map +1 -1
- package/dist/components/community/AddStoreModal.vue.d.ts +1 -1
- package/dist/components/community/AddStoreModal.vue.d.ts.map +1 -1
- package/dist/components/community/CommunityModelCard.vue.d.ts.map +1 -1
- package/dist/components/editor/Editor.vue.d.ts.map +1 -1
- package/dist/components/jobs/JobsAddStoreModal.vue.d.ts.map +1 -1
- package/dist/components/llm/ChatCreatorModal.vue.d.ts +17 -1
- package/dist/components/llm/ChatCreatorModal.vue.d.ts.map +1 -1
- package/dist/components/llm/ChatModelSelect.vue.d.ts +13 -0
- package/dist/components/llm/ChatModelSelect.vue.d.ts.map +1 -0
- package/dist/components/llm/GlobalChatPanel.vue.d.ts.map +1 -1
- package/dist/components/sidebar/CommunityModelList.vue.d.ts +33 -50
- package/dist/components/sidebar/CommunityModelList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/CommunityModelListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/EditorList.vue.d.ts +32 -49
- package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/Sidebar.vue.d.ts +65 -99
- package/dist/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/dashboard.js +52 -52
- package/dist/{dashboardStore-CNkWQ4r7.js → dashboardStore-ppM6nGks.js} +33 -33
- package/dist/dashboards/layerSpec.d.ts +38 -4
- package/dist/dashboards/layerSpec.d.ts.map +1 -1
- package/dist/dashboards/lineAreaSpec.d.ts +8 -80
- package/dist/dashboards/lineAreaSpec.d.ts.map +1 -1
- package/dist/dashboards/mapSpec.d.ts +1 -0
- package/dist/dashboards/mapSpec.d.ts.map +1 -1
- package/dist/dashboards/spec.d.ts.map +1 -1
- package/dist/data/tutorial/documentation.d.ts.map +1 -1
- package/dist/data/tutorial/startupScripts.d.ts +3 -0
- package/dist/data/tutorial/startupScripts.d.ts.map +1 -0
- package/dist/{demoSetup-DiW3ROFQ.js → demoSetup-mwa-RDC6.js} +19 -18
- package/dist/{editorRefinementRuntime-C_YmXRy4.js → editorRefinementRuntime-DoP9P5J2.js} +892 -871
- package/dist/{editorRefinementToolExecutor-mX8ClQ63.js → editorRefinementToolExecutor-CVY3FA7k.js} +389 -263
- package/dist/{editorStore-Ch7k-gse.js → editorStore-BhhmXbi-.js} +230 -183
- package/dist/entry.dashboard.d.ts +1 -0
- package/dist/entry.dashboard.d.ts.map +1 -1
- package/dist/{globalChatRuntime-oMLiPLNC.js → globalChatRuntime-DWZxeS57.js} +13 -13
- package/dist/{helpers-DcWCa6bX.js → helpers-BLQAgX3C.js} +17 -16
- package/dist/llm/data/constants.d.ts +1 -1
- package/dist/llm/data/constants.d.ts.map +1 -1
- package/dist/llm/data/trilogySyntax.generated.d.ts +7 -1
- package/dist/llm/data/trilogySyntax.generated.d.ts.map +1 -1
- package/dist/llm/docsIndex.d.ts.map +1 -1
- package/dist/llm/openai.d.ts +2 -1
- package/dist/llm/openai.d.ts.map +1 -1
- package/dist/{llm-_807I79k.js → llm-BBOVWb-F.js} +7 -5
- package/dist/llm.js +3 -3
- package/dist/{llmStore-CSzM1IZd.js → llmStore-DJM2JhzY.js} +2 -2
- package/dist/{localStorage-CSuYS7QE.js → localStorage-D9uyOFEO.js} +14 -14
- package/dist/models/helpers.d.ts.map +1 -1
- package/dist/monaco.js +1 -1
- package/dist/{reconcile-Bk7M797_.js → reconcile-Dyf4UZmj.js} +1 -1
- package/dist/{remoteStoreSync-CLvZJrTK.js → remoteStoreSync-Z-yjlYtI.js} +1 -1
- package/dist/remotes/displayHelpers.d.ts.map +1 -1
- package/dist/remotes/genericStoreMetadata.d.ts +1 -0
- package/dist/remotes/genericStoreMetadata.d.ts.map +1 -1
- package/dist/remotes/models.d.ts +37 -5
- package/dist/remotes/models.d.ts.map +1 -1
- package/dist/remotes/staticStorePresets.d.ts +22 -0
- package/dist/remotes/staticStorePresets.d.ts.map +1 -0
- package/dist/remotes/storeService.d.ts +25 -4
- package/dist/remotes/storeService.d.ts.map +1 -1
- package/dist/stores/communityApiStore.d.ts +32 -60
- package/dist/stores/communityApiStore.d.ts.map +1 -1
- package/dist/stores/connectionStore.d.ts.map +1 -1
- package/dist/stores/resolver.d.ts +5 -0
- package/dist/stores/resolver.d.ts.map +1 -1
- package/dist/stores/urlStore.d.ts +1 -0
- package/dist/stores/urlStore.d.ts.map +1 -1
- package/dist/{stores-C1wUWiFm.js → stores-BT9hTLny.js} +47 -47
- package/dist/stores.js +7 -7
- package/dist/trilogy-studio-components.css +1 -1
- package/dist/{urlStore-Dgmwx1YI.js → urlStore-52HG6lsX.js} +1 -0
- package/dist/{useChatWithTools-GV1ufcqw.js → useChatWithTools-B0HZ_DVh.js} +1 -1
- package/dist/{useDashboard-OoBKkkuQ.js → useDashboard-CdSnPe_6.js} +186 -186
- package/dist/{useGlobalChatPanel-CIeUyZba.js → useGlobalChatPanel-D_0luajQ.js} +2 -2
- package/dist/views/MobileIDE.vue.d.ts.map +1 -1
- package/dist/views/TutorialPage.vue.d.ts +32 -49
- package/dist/views/TutorialPage.vue.d.ts.map +1 -1
- package/dist/views.js +16 -16
- package/package.json +1 -1
- package/dist/AssetAutoImporter-DfMd_DSk.js +0 -403
- 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-
|
|
3
|
-
import { i as t, r as n } from "./stores-
|
|
4
|
-
import { S as r } from "./editorRefinementRuntime-
|
|
5
|
-
import "./dashboardStore-
|
|
6
|
-
import { i, n as a, t as o } from "./urlStore-
|
|
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-
|
|
11
|
-
import { t as d } from "./CommunityModels-
|
|
12
|
-
import { t as f } from "./JobsView-
|
|
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-
|
|
15
|
-
import { t as b } from "./demoSetup-
|
|
16
|
-
import { t as x } from "./ModelView-
|
|
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
|
|
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,
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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",
|
|
213
|
+
document.addEventListener("click", R), document.addEventListener("keydown", H);
|
|
214
214
|
}), I(() => {
|
|
215
|
-
document.removeEventListener("click",
|
|
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 ?
|
|
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: [
|
|
237
|
-
}, null, 40, pe)), [[
|
|
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,
|
|
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,
|
|
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] ||=
|
|
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,
|
|
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:
|
|
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, [
|
|
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] ||=
|
|
301
|
-
}, [D("p", null, "Close " +
|
|
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, [
|
|
350
|
-
|
|
351
|
-
|
|
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-
|
|
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:
|
|
387
|
-
DataTable:
|
|
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:
|
|
395
|
-
MobileDashboard:
|
|
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:
|
|
405
|
-
LLMView:
|
|
406
|
-
ChatCreatorModal: A(() => import("./ChatCreatorModal-
|
|
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",
|
|
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 =
|
|
413
|
-
|
|
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
|
-
|
|
420
|
-
|
|
421
|
-
}),
|
|
422
|
-
let X =
|
|
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:
|
|
464
|
-
tabs:
|
|
465
|
-
openTab:
|
|
466
|
-
closeTab:
|
|
467
|
-
closeOtherTabsExcept:
|
|
468
|
-
tabSelected:
|
|
469
|
-
handleTabClosed:
|
|
470
|
-
handleCloseOtherTabs:
|
|
471
|
-
updateTabName:
|
|
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 &&
|
|
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 &&
|
|
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 =
|
|
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
|
|
588
|
-
let o =
|
|
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
|
-
}, [
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
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
|
-
"
|
|
642
|
-
"
|
|
643
|
-
"
|
|
644
|
-
"
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
"
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
} :
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
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
|
|
784
|
+
var Ue = /*#__PURE__*/ e(Ve, [["render", He], ["__scopeId", "data-v-b94c270c"]]);
|
|
780
785
|
//#endregion
|
|
781
|
-
export {
|
|
786
|
+
export { Ue as default };
|