@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.
- package/dist/AssetAutoImporter-C_7Ms9xe.js +403 -0
- package/dist/{ChatCreatorModal-CL-jBnc3.js → ChatCreatorModal-Cd40SvdM.js} +3 -3
- package/dist/{ChatModelSelect-Do-VRUFc.js → ChatModelSelect-Cz7axWjP.js} +1 -1
- package/dist/{CodeBlock-PT4no49I.js → CodeBlock-Dj-GfTbW.js} +4 -4
- package/dist/{CommunityModels-Cmro0hV3.js → CommunityModels-lX2RhHCG.js} +7 -7
- package/dist/{ConnectionErrorPopup-FSs7U-Yl.js → ConnectionErrorPopup-7vpqgF0s.js} +1 -1
- package/dist/{ConnectionView-COnTTuA4.js → ConnectionView-CZ06qjjE.js} +49 -49
- package/dist/{CreateEditorFromDatasourcePopup-snOh1d5h.js → CreateEditorFromDatasourcePopup-DwA938kf.js} +4 -4
- package/dist/{Dashboard-BH9ZwMVJ.js → Dashboard-CQsIqWZC.js} +276 -280
- package/dist/{DashboardImportSelector-DQSvu9T-.js → DashboardImportSelector-CkqH52FX.js} +2 -2
- package/dist/{DashboardMobile-BUPtdN2V.js → DashboardMobile-DWFlel5p.js} +39 -39
- package/dist/{DrilldownPane-CBs5ZojS.js → DrilldownPane-BheRHJMs.js} +5 -7
- package/dist/{Editor-DQsYpkwl.js → Editor-DQ66Vp6v.js} +105 -103
- package/dist/{ErrorMessage-XMn_08gJ.js → ErrorMessage-D5JeF3Iz.js} +4 -4
- package/dist/{GlobalChatPanel-DhnOaige.js → GlobalChatPanel-B_s3COHE.js} +20 -21
- package/dist/{IDE-HLa8vybk.js → IDE-4-Jg6gsM.js} +200 -203
- package/dist/{JobsView-B97HBoIE.js → JobsView-B5NWDUgP.js} +13 -14
- package/dist/{LLMChat-CxJcPLEG.js → LLMChat-eKgEc-I3.js} +3 -3
- package/dist/{LLMView-C1MUf0c2.js → LLMView-CdTwMLVV.js} +23 -23
- package/dist/{LoadingView-s1uznGwG.js → LoadingView-Bu3wLJ7J.js} +2 -2
- package/dist/{MarkdownRenderer-BNDuEyG-.js → MarkdownRenderer-B6lqdkgc.js} +531 -430
- package/dist/{MobileIDE-BpqXoaMR.js → MobileIDE-CZlg20oa.js} +179 -182
- package/dist/{ModelCard-BhN25jaV.js → ModelCard-Bs_d7Jis.js} +12 -13
- package/dist/{ModelView-DUDA_PtZ.js → ModelView-BP5yyecx.js} +7 -7
- package/dist/PageLoading-DKFeqkmK.js +5937 -0
- package/dist/{ResultComponent-CAn_r3BL.js → ResultComponent-BaDheojB.js} +8 -8
- package/dist/{Results-BJtlwebY.js → Results-CrpHB101.js} +17 -19
- package/dist/{StatusIcon-BylPx2EO.js → StatusIcon-Clfyy-Yn.js} +2 -2
- package/dist/{StoreTokenModal-zCSYhfrw.js → StoreTokenModal-CO5hXMs3.js} +2 -2
- package/dist/{SymbolsPane-KYSwN9Sv.js → SymbolsPane-XFVErDFb.js} +6 -3
- package/dist/{TrilogyEmbedProvider-WA_dlv9e.js → TrilogyEmbedProvider-D3h0gYnX.js} +9 -9
- package/dist/{TutorialPage-NRcee6Dx.js → TutorialPage-CMcTYDOV.js} +27 -28
- package/dist/{VegaLiteChart-D1slfOUY.js → VegaLiteChart-DX_LbF3g.js} +12131 -10947
- package/dist/{WelcomePage-D5mU2x1L.js → WelcomePage-B6E35FUa.js} +5 -5
- package/dist/{embedTheme-Bub46ILG.js → _plugin-vue_export-helper-f9Rw-Il4.js} +14 -6
- package/dist/assets/{css.worker-9aDGcEUy.js → css.worker-niORQtzO.js} +14 -14
- package/dist/assets/{html.worker-D2LKDpnG.js → html.worker-CO5LvJpF.js} +17 -17
- package/dist/assets/json.worker-BezHzWUV.js +58 -0
- package/dist/assets/{ts.worker-Bz0-EaKK.js → ts.worker-CYhxGg0r.js} +107 -107
- package/dist/{results-DTgAKr5j.js → base-DuKnVD-A.js} +216 -45
- package/dist/components/FeedbackBanner.vue.d.ts +4 -0
- package/dist/components/FeedbackBanner.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts +54 -0
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardProvenance.vue.d.ts +30 -0
- package/dist/components/dashboard/DashboardProvenance.vue.d.ts.map +1 -0
- package/dist/components/dashboard/ReportLayout.vue.d.ts +19 -0
- package/dist/components/dashboard/ReportLayout.vue.d.ts.map +1 -0
- package/dist/components/editor/Editor.vue.d.ts +3 -3
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts +62 -0
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts.map +1 -0
- package/dist/components/editor/ValidationComponent.vue.d.ts +50 -0
- package/dist/components/editor/ValidationComponent.vue.d.ts.map +1 -0
- package/dist/components/model/ModelCard.vue.d.ts +3 -3
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts +3 -3
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
- package/dist/{remoteWorker-Dkv3TJ0j.js → connections-CWH3zwH2.js} +4544 -4126
- package/dist/connections.js +3 -4
- package/dist/{cssMode-D4Rzr1Cu.js → cssMode-zpO2ap2B.js} +5 -6
- package/dist/dashboard.js +28 -31
- package/dist/dashboards/dashboardQueryExecutor.d.ts +9 -0
- package/dist/dashboards/dashboardQueryExecutor.d.ts.map +1 -1
- package/dist/{dist-CXoL8kXK.js → dist-1z5KURzS.js} +55 -50
- package/dist/{dist-DKkuvbPb.js → dist-Bv3D2p5A.js} +20 -18
- package/dist/{editor.main-Cl8i7rHY.js → editor.main-BQh6DxDB.js} +33 -33
- package/dist/{editorRefinementRuntime-DoP9P5J2.js → editorStore-CiWH_nGN.js} +1692 -575
- package/dist/embed.js +2 -2
- package/dist/{freemarker2-fW5NBILf.js → freemarker2-DQBqlEXc.js} +1 -1
- package/dist/{globalChatRuntime-DWZxeS57.js → globalChatRuntime-DAERmOdu.js} +16 -16
- package/dist/{handlebars-dG4w8UUY.js → handlebars-tgYxaM70.js} +1 -1
- package/dist/{helpers-BLQAgX3C.js → helpers-C2pARJoZ.js} +34 -35
- package/dist/{html-1Dq70BdU.js → html-jJahD3Mi.js} +1 -1
- package/dist/{htmlMode--IQmLBeh.js → htmlMode-BA1-8l2e.js} +5 -6
- package/dist/{javascript-CTzBM4sF.js → javascript-Cypfo7va.js} +1 -1
- package/dist/{jsonMode-DzeJjIEH.js → jsonMode-xJye8PWS.js} +25 -25
- package/dist/{liquid-DlHThiki.js → liquid-BGDrv5da.js} +1 -1
- package/dist/llm/data/prompts.d.ts +1 -1
- package/dist/llm/data/prompts.d.ts.map +1 -1
- package/dist/llm/data/trilogySyntax.generated.d.ts +3 -3
- package/dist/llm/data/trilogySyntax.generated.d.ts.map +1 -1
- package/dist/llm-Wf4Etiu9.js +18493 -0
- package/dist/llm.js +2 -3
- package/dist/{localStorage-D9uyOFEO.js → localStorage-C3xms-ab.js} +40 -43
- package/dist/{lspLanguageFeatures-Cdfs3EKq.js → lspLanguageFeatures-V3e_p9oN.js} +32 -32
- package/dist/{mdx-fn3g4PH5.js → mdx-BUR1aImW.js} +1 -1
- package/dist/monaco.js +4 -4
- package/dist/{python-CCVj0pFt.js → python-YLkl0pc6.js} +1 -1
- package/dist/{razor-Cj3flYnk.js → razor-BP8TRMDY.js} +1 -1
- package/dist/{reconcile-Dyf4UZmj.js → reconcile-BH_ReGDR.js} +1 -1
- package/dist/{remoteStoreSync-Z-yjlYtI.js → remoteStoreSync-B0K8QScO.js} +3 -3
- package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
- package/dist/static/test_import.vue.d.ts +4 -0
- package/dist/static/test_import.vue.d.ts.map +1 -0
- package/dist/stores-DTGQZ4_B.js +2612 -0
- package/dist/stores.js +4 -7
- package/dist/trilogy-studio-components.css +1 -1
- package/dist/{tsMode-GI4xMYAl.js → tsMode-BH9HS_sH.js} +64 -66
- package/dist/{typescript-CPibXi3J.js → typescript-BM-ynfk9.js} +1 -1
- package/dist/{useChatWithTools-B0HZ_DVh.js → useChatWithTools-BSrzJtYI.js} +11 -11
- package/dist/{useDashboard-CdSnPe_6.js → useDashboard-CGeIdDuX.js} +1014 -1022
- package/dist/{tabulator_esm-CxLvGDp8.js → useGlobalChatPanel-D9kMZLeF.js} +1729 -711
- package/dist/{useResizableDialog-B0ePSts4.js → useResizableDialog-Cs90WJdF.js} +2 -2
- package/dist/views/ModelView.vue.d.ts +6 -6
- package/dist/views/ModelView.vue.d.ts.map +1 -1
- package/dist/views/TutorialPage.vue.d.ts +9 -9
- package/dist/views/TutorialPage.vue.d.ts.map +1 -1
- package/dist/views.js +192 -194
- package/dist/{vocabulary-CKLGILtR.js → vocabulary-DQK5jB7m.js} +3 -1
- package/dist/{editor.api2-ClD5pp8H.js → workers-B9Eybl-M.js} +16252 -15926
- package/dist/{xml-BNyphceI.js → xml-M5WFPSpA.js} +1 -1
- package/dist/{yaml-DE5Vz0PH.js → yaml-CEeFwjz9.js} +1 -1
- package/package.json +29 -20
- package/dist/AssetAutoImporter-CBzvBaOt.js +0 -405
- package/dist/DashboardCreatorInline-CDU7kLy3.js +0 -129
- package/dist/DataTable-DoRDynP1.js +0 -365
- package/dist/EditorCreatorInline-D6_y1H_h.js +0 -125
- package/dist/LoadingButton-OH3frQuO.js +0 -138
- package/dist/ModalDialog-D1EOG4rl.js +0 -42
- package/dist/ModelCreator-CCdC7EXt.js +0 -253
- package/dist/PageLoading-BzniJM0C.js +0 -2669
- package/dist/Tooltip-Dihir4zs.js +0 -103
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/assets/json.worker-CJ5MmO5Q.js +0 -58
- package/dist/base-C8IuZWqY.js +0 -164
- package/dist/connectionHistoryStorage-DKJHiKJY.js +0 -111
- package/dist/connectionHistoryStore-DQeBvStZ.js +0 -61
- package/dist/connections-CJSb1TZl.js +0 -229
- package/dist/constants-DgFEYN2b.js +0 -7
- package/dist/dashboardStore-ppM6nGks.js +0 -641
- package/dist/demoSetup-mwa-RDC6.js +0 -2942
- package/dist/editorRefinementToolExecutor-CVY3FA7k.js +0 -4624
- package/dist/editorStore-BhhmXbi-.js +0 -1019
- package/dist/formatting-BbJ5ICgh.js +0 -6
- package/dist/llm-BBOVWb-F.js +0 -11967
- package/dist/llmStore-DJM2JhzY.js +0 -153
- package/dist/monaco.contribution-ikesdolO.js +0 -128
- package/dist/stores-BT9hTLny.js +0 -1708
- package/dist/trilogy-BroD2Qmp.js +0 -4
- package/dist/urlStore-52HG6lsX.js +0 -55
- package/dist/useGlobalChatPanel-D_0luajQ.js +0 -85
- package/dist/useIsMobile-CNpUQAvk.js +0 -8
- package/dist/usePrismHighlight-DVyDiDAL.js +0 -183
- package/dist/workers-Br7ThUKL.js +0 -47
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
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
|
|
110
|
-
class:
|
|
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:
|
|
119
|
-
}, [
|
|
120
|
-
class:
|
|
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
|
-
}, [
|
|
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__ */
|
|
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 =
|
|
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
|
-
}),
|
|
176
|
+
}), v = () => {
|
|
180
177
|
i.value = !i.value;
|
|
181
|
-
},
|
|
178
|
+
}, y = () => {
|
|
182
179
|
i.value = !1;
|
|
183
180
|
};
|
|
184
|
-
|
|
185
|
-
let
|
|
186
|
-
|
|
187
|
-
},
|
|
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 !==
|
|
187
|
+
if (o.value = !1, c.value = null, e !== g.value) return;
|
|
191
188
|
let t = s.value.trim();
|
|
192
|
-
t && t !==
|
|
193
|
-
},
|
|
189
|
+
t && t !== m.value && r("active-title-updated", t);
|
|
190
|
+
}, O = () => {
|
|
194
191
|
o.value = !1, c.value = null;
|
|
195
192
|
};
|
|
196
|
-
|
|
197
|
-
let
|
|
198
|
-
r("tab-selected", e),
|
|
199
|
-
},
|
|
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
|
-
},
|
|
198
|
+
}, j = (e) => e.id === n.activeTab, M = () => {
|
|
202
199
|
a.value = !1, n.activeTab && r("close-other-tabs", n.activeTab);
|
|
203
|
-
},
|
|
200
|
+
}, P = () => {
|
|
204
201
|
_.value.event === "menu-back" ? r("menu-back") : r("menu-toggled");
|
|
205
|
-
},
|
|
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) &&
|
|
209
|
-
},
|
|
210
|
-
e.key === "Escape" && (a.value ? a.value = !1 : i.value &&
|
|
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
|
|
213
|
-
document.addEventListener("click",
|
|
214
|
-
}),
|
|
215
|
-
document.removeEventListener("click",
|
|
216
|
-
}), (t, n) => (
|
|
217
|
-
|
|
218
|
-
|
|
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:
|
|
225
|
-
}, [
|
|
226
|
-
|
|
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:
|
|
236
|
-
onKeyup: [
|
|
237
|
-
}, null, 40, pe)), [[
|
|
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:
|
|
240
|
+
onClick: v,
|
|
244
241
|
ref_key: "tabDropdownContainer",
|
|
245
242
|
ref: l
|
|
246
|
-
}, [
|
|
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)) : (
|
|
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] ||=
|
|
257
|
-
}, [e.tabs.length > 2 ? (
|
|
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] ||= [
|
|
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":
|
|
265
|
-
icon:
|
|
266
|
-
onSelect:
|
|
267
|
-
onClose:
|
|
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)) :
|
|
273
|
-
|
|
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:
|
|
281
|
-
}, [...n[8] ||= [
|
|
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] ||= [
|
|
286
|
+
}, [...n[9] ||= [E("i", { class: "mdi mdi-home-outline" }, null, -1)]])) : w("", !0)])
|
|
290
287
|
]),
|
|
291
|
-
|
|
292
|
-
a.value ? (
|
|
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
|
-
}, [
|
|
293
|
+
}, [E("div", {
|
|
297
294
|
class: "close-confirm-dialog",
|
|
298
295
|
role: "dialog",
|
|
299
296
|
"aria-modal": "true",
|
|
300
|
-
onClick: n[5] ||=
|
|
301
|
-
}, [
|
|
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 "),
|
|
302
|
+
}, " Cancel "), E("button", {
|
|
306
303
|
type: "button",
|
|
307
|
-
onClick:
|
|
304
|
+
onClick: M,
|
|
308
305
|
class: "confirm-btn"
|
|
309
|
-
}, " Close Others ")])])])) :
|
|
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 =
|
|
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
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
]),
|
|
353
|
-
|
|
354
|
-
class:
|
|
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
|
-
|
|
359
|
-
class:
|
|
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 ? (
|
|
360
|
+
n.showChat ? (I(), T("button", {
|
|
364
361
|
key: 0,
|
|
365
|
-
class:
|
|
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)) :
|
|
365
|
+
}, " Chat ", 2)) : w("", !0)
|
|
369
366
|
])], 2);
|
|
370
367
|
}
|
|
371
|
-
var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]]), $ = (e) =>
|
|
368
|
+
var Me = /*#__PURE__*/ e(Te, [["render", je], ["__scopeId", "data-v-046a9e75"]]), $ = (e) => k({
|
|
372
369
|
loader: e,
|
|
373
|
-
loadingComponent:
|
|
370
|
+
loadingComponent: _,
|
|
374
371
|
delay: 0
|
|
375
|
-
}), Ne = $(() => import("./TutorialPage-
|
|
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:
|
|
382
|
+
Sidebar: f,
|
|
386
383
|
Editor: Pe,
|
|
387
384
|
DataTable: Fe,
|
|
388
385
|
ErrorMessage: c,
|
|
389
386
|
TutorialPage: Ne,
|
|
390
|
-
ModelView:
|
|
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:
|
|
403
|
-
ConnectionView:
|
|
399
|
+
JobsView: v,
|
|
400
|
+
ConnectionView: y,
|
|
404
401
|
ResultsView: Re,
|
|
405
402
|
LLMView: ze,
|
|
406
|
-
ChatCreatorModal:
|
|
403
|
+
ChatCreatorModal: Ve,
|
|
407
404
|
ConnectionErrorPopup: Be
|
|
408
405
|
},
|
|
409
406
|
setup() {
|
|
410
|
-
let e =
|
|
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(),
|
|
414
|
-
|
|
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
|
|
417
|
-
}, re = (e) => {
|
|
418
|
-
U(e);
|
|
415
|
+
H(e);
|
|
419
416
|
};
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
}),
|
|
423
|
-
let X =
|
|
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
|
|
424
|
+
return ne(() => {
|
|
428
425
|
Q(), window.visualViewport?.addEventListener("resize", Q);
|
|
429
|
-
}),
|
|
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:
|
|
444
|
-
activeJobsKey:
|
|
445
|
-
activeTab:
|
|
446
|
-
activeScreen:
|
|
447
|
-
activeSidebarScreen:
|
|
448
|
-
activeEditor:
|
|
449
|
-
activeDashboard:
|
|
450
|
-
activeConnectionKey:
|
|
451
|
-
activeModelKey:
|
|
452
|
-
activeDocumentationKey:
|
|
453
|
-
setActiveScreen:
|
|
454
|
-
setActiveSidebarScreen:
|
|
455
|
-
setActiveEditor:
|
|
456
|
-
setActiveDashboard:
|
|
457
|
-
setActiveConnectionKey:
|
|
458
|
-
setActiveModelKey:
|
|
459
|
-
setActiveDocumentationKey:
|
|
460
|
-
activeLLMConnectionKey:
|
|
461
|
-
setActiveLLMConnectionKey:
|
|
462
|
-
setActiveJobsKey:
|
|
463
|
-
mobileMenuOpen:
|
|
464
|
-
toggleMobileMenu:
|
|
465
|
-
tabs:
|
|
466
|
-
openTab:
|
|
467
|
-
closeTab:
|
|
468
|
-
closeOtherTabsExcept:
|
|
469
|
-
tabSelected:
|
|
470
|
-
handleTabClosed:
|
|
471
|
-
handleCloseOtherTabs:
|
|
472
|
-
updateTabName:
|
|
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
|
-
|
|
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
|
-
|
|
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:
|
|
493
|
-
mobileNavigationLevel:
|
|
494
|
-
mobileNavigationTitle:
|
|
495
|
-
handleMobileMenuBack:
|
|
489
|
+
editorRef: ee,
|
|
490
|
+
mobileNavigationLevel: m.level,
|
|
491
|
+
mobileNavigationTitle: m.title,
|
|
492
|
+
handleMobileMenuBack: m.back,
|
|
496
493
|
handleMobileMenuHome: () => {
|
|
497
|
-
|
|
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(
|
|
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 =
|
|
537
|
+
let t = G(() => this.storesLoaded, (n) => {
|
|
541
538
|
n && (t(), e());
|
|
542
539
|
});
|
|
543
540
|
});
|
|
544
541
|
},
|
|
545
542
|
maybeStartDemoFromHash() {
|
|
546
|
-
return a(
|
|
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
|
|
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
|
|
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
|
|
589
|
-
let o =
|
|
590
|
-
return
|
|
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:
|
|
589
|
+
style: P({ "--mobile-viewport-height": e.mobileViewportHeight })
|
|
593
590
|
}, [
|
|
594
|
-
|
|
595
|
-
|
|
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
|
-
|
|
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:
|
|
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:
|
|
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
|
-
},
|
|
666
|
+
}, D({ _: 2 }, [
|
|
670
667
|
e.activeEditor && e.activeEditorData ? {
|
|
671
668
|
name: "editor",
|
|
672
|
-
fn:
|
|
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
|
-
])) : (
|
|
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:
|
|
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:
|
|
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" ? (
|
|
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" ? (
|
|
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" ? (
|
|
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" ? (
|
|
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" ? (
|
|
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" ? (
|
|
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" ? (
|
|
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" ? (
|
|
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" ? (
|
|
750
|
+
}, null, 8, ["activeJobsKey"])) : e.activeScreen === "llms" ? (I(), C(x, {
|
|
754
751
|
key: 11,
|
|
755
752
|
initialTab: e.llmInitialTab
|
|
756
|
-
}, null, 8, ["initialTab"])) : (
|
|
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
|
|
781
|
+
var We = /*#__PURE__*/ e(He, [["render", Ue], ["__scopeId", "data-v-b94c270c"]]);
|
|
785
782
|
//#endregion
|
|
786
|
-
export {
|
|
783
|
+
export { We as default };
|