@trilogy-data/trilogy-studio-components 0.1.25 → 0.1.27
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-OHphsfW9.js +403 -0
- package/dist/ChatCreatorModal-CuXha6Dg.js +218 -0
- package/dist/ChatModelSelect-Cz7axWjP.js +40 -0
- package/dist/{CodeBlock-PT4no49I.js → CodeBlock-BBsaC6hX.js} +4 -4
- package/dist/{CommunityModels-D7zWnHgG.js → CommunityModels-CIQQhO-y.js} +106 -75
- package/dist/{ConnectionErrorPopup-FSs7U-Yl.js → ConnectionErrorPopup-7vpqgF0s.js} +1 -1
- package/dist/{ConnectionView-COnTTuA4.js → ConnectionView-7Jj_Ggdi.js} +49 -49
- package/dist/{CreateEditorFromDatasourcePopup-snOh1d5h.js → CreateEditorFromDatasourcePopup-CrVHUWFl.js} +4 -4
- package/dist/{Dashboard-D1ZCTw5r.js → Dashboard-DxSi9W6Q.js} +276 -280
- package/dist/{DashboardImportSelector-CNxibXlS.js → DashboardImportSelector-kuDRDYi8.js} +2 -2
- package/dist/{DashboardMobile-D_m0xv17.js → DashboardMobile-CZEgTb0R.js} +39 -39
- package/dist/{DrilldownPane-CBs5ZojS.js → DrilldownPane-BheRHJMs.js} +5 -7
- package/dist/{Editor-DhsP18KE.js → Editor-D6tdutTm.js} +106 -104
- package/dist/{ErrorMessage-XMn_08gJ.js → ErrorMessage-D5JeF3Iz.js} +4 -4
- package/dist/{GlobalChatPanel-DFx9A4yP.js → GlobalChatPanel-BXZh0sdD.js} +169 -134
- package/dist/{IDE-BRMLxTfP.js → IDE-T8PmyAQ_.js} +200 -203
- package/dist/{JobsView-C9PYS6pZ.js → JobsView-Ca97MiSd.js} +12 -13
- package/dist/{LLMChat-Cqg6pTgC.js → LLMChat-Cch33Yd_.js} +3 -3
- package/dist/{LLMView-VkJpP-49.js → LLMView-BDb6wD74.js} +26 -26
- package/dist/{LoadingView-s1uznGwG.js → LoadingView-B-xFwd2N.js} +2 -2
- package/dist/{MarkdownRenderer-BNDuEyG-.js → MarkdownRenderer-BWvdx0k3.js} +531 -430
- package/dist/MobileIDE-DpdEQEqc.js +783 -0
- package/dist/{ModelCard-D8tKkK9-.js → ModelCard-DkAMP4X9.js} +19 -20
- package/dist/{ModelView-rAurf9n8.js → ModelView-DomyhN8g.js} +7 -7
- package/dist/PageLoading-BAvKGo9h.js +5937 -0
- package/dist/{ResultComponent-_-1qZCfv.js → ResultComponent-zoOSoRLe.js} +8 -8
- package/dist/{Results-CQGpFmPQ.js → Results-dq-SlJbU.js} +17 -19
- package/dist/{StatusIcon-BylPx2EO.js → StatusIcon-AbxNvJ6p.js} +2 -2
- package/dist/{StoreTokenModal-zCSYhfrw.js → StoreTokenModal-CM8WXdu1.js} +2 -2
- package/dist/{SymbolsPane-BpmL___H.js → SymbolsPane-DfaxeaPS.js} +6 -3
- package/dist/{TrilogyEmbedProvider-WA_dlv9e.js → TrilogyEmbedProvider-D3h0gYnX.js} +9 -9
- package/dist/{TutorialPage-CZGBRJdq.js → TutorialPage-BtEJG7cT.js} +27 -28
- package/dist/{VegaLiteChart-CmkOw6yD.js → VegaLiteChart-BVyAab-o.js} +12191 -10975
- package/dist/{WelcomePage-CLKvAvk-.js → WelcomePage-BoqzYBLr.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/AssetAutoImporter.vue.d.ts.map +1 -1
- package/dist/components/FeedbackBanner.vue.d.ts +4 -0
- package/dist/components/FeedbackBanner.vue.d.ts.map +1 -0
- 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/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/Editor.vue.d.ts.map +1 -1
- 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/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/model/ModelCard.vue.d.ts +3 -3
- 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/LLMConnectionList.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/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 +54 -57
- 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/{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-C_YmXRy4.js → editorStore-CAlMJftt.js} +2084 -946
- package/dist/embed.js +2 -2
- package/dist/entry.dashboard.d.ts +1 -0
- package/dist/entry.dashboard.d.ts.map +1 -1
- package/dist/{freemarker2-fW5NBILf.js → freemarker2-DQBqlEXc.js} +1 -1
- package/dist/{globalChatRuntime-oMLiPLNC.js → globalChatRuntime-CyS7vH51.js} +18 -18
- package/dist/{handlebars-dG4w8UUY.js → handlebars-tgYxaM70.js} +1 -1
- package/dist/{helpers-DcWCa6bX.js → helpers-BbVlA3Pf.js} +39 -39
- 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/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-ClU-2rgk.js +18493 -0
- package/dist/llm.js +2 -3
- package/dist/{localStorage-CSuYS7QE.js → localStorage-CGQ1iJXt.js} +39 -42
- package/dist/{lspLanguageFeatures-Cdfs3EKq.js → lspLanguageFeatures-V3e_p9oN.js} +32 -32
- package/dist/{mdx-fn3g4PH5.js → mdx-BUR1aImW.js} +1 -1
- package/dist/models/helpers.d.ts.map +1 -1
- package/dist/monaco.js +3 -3
- package/dist/{python-CCVj0pFt.js → python-YLkl0pc6.js} +1 -1
- package/dist/{razor-Cj3flYnk.js → razor-BP8TRMDY.js} +1 -1
- package/dist/{reconcile-Bk7M797_.js → reconcile-DXIvGwBk.js} +1 -1
- package/dist/{remoteStoreSync-CLvZJrTK.js → remoteStoreSync-CuQBWpWf.js} +3 -3
- 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/{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/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-LlyiwSbK.js +2604 -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-GV1ufcqw.js → useChatWithTools-m3Jn_SV-.js} +11 -11
- package/dist/{useDashboard-OoBKkkuQ.js → useDashboard-BOAuvVEw.js} +1013 -1021
- package/dist/{tabulator_esm-CxLvGDp8.js → useGlobalChatPanel-DuP1q7_f.js} +1729 -711
- package/dist/{useResizableDialog-B0ePSts4.js → useResizableDialog-Cs90WJdF.js} +2 -2
- package/dist/views/MobileIDE.vue.d.ts.map +1 -1
- 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 +41 -58
- package/dist/views/TutorialPage.vue.d.ts.map +1 -1
- package/dist/views.js +193 -195
- 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-DfMd_DSk.js +0 -403
- package/dist/ChatCreatorModal-BTqY06B6.js +0 -177
- package/dist/DashboardCreatorInline-LWvf--2x.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/MobileIDE-CHGJoh05.js +0 -781
- package/dist/ModalDialog-D1EOG4rl.js +0 -42
- package/dist/ModelCreator-DrxLxeyH.js +0 -253
- package/dist/PageLoading-I6mr-7NB.js +0 -2666
- 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-CNkWQ4r7.js +0 -641
- package/dist/demoSetup-DiW3ROFQ.js +0 -2941
- package/dist/editorRefinementToolExecutor-mX8ClQ63.js +0 -4498
- package/dist/editorStore-Ch7k-gse.js +0 -972
- package/dist/formatting-BbJ5ICgh.js +0 -6
- package/dist/llm-_807I79k.js +0 -11965
- package/dist/llmStore-CSzM1IZd.js +0 -153
- package/dist/monaco.contribution-ikesdolO.js +0 -128
- package/dist/stores-C1wUWiFm.js +0 -1708
- package/dist/trilogy-BroD2Qmp.js +0 -4
- package/dist/urlStore-Dgmwx1YI.js +0 -54
- package/dist/useGlobalChatPanel-CIeUyZba.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,14 +1,11 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import { i as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import {
|
|
9
|
-
import { a as d, i as f, n as p, r as m, s as h, t as g } from "./PageLoading-I6mr-7NB.js";
|
|
10
|
-
import { t as _ } from "./demoSetup-DiW3ROFQ.js";
|
|
11
|
-
import { Fragment as v, Teleport as y, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as ee, createStaticVNode as T, createVNode as E, defineAsyncComponent as D, defineComponent as O, inject as k, nextTick as A, normalizeClass as j, normalizeStyle as te, onBeforeUnmount as M, onMounted as ne, onUnmounted as re, openBlock as N, provide as ie, ref as P, renderList as F, renderSlot as I, resolveComponent as L, toDisplayString as R, unref as ae, watch as z, withCtx as B, withModifiers as oe } from "vue";
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import "./llm-ClU-2rgk.js";
|
|
3
|
+
import { a as t, l as n, o as r, s as i } from "./stores-LlyiwSbK.js";
|
|
4
|
+
import { S as a, i as o, t as s } from "./editorStore-CAlMJftt.js";
|
|
5
|
+
import { t as c } from "./useGlobalChatPanel-DuP1q7_f.js";
|
|
6
|
+
import { n as l, t as u } from "./useResizableDialog-Cs90WJdF.js";
|
|
7
|
+
import { a as d, f, i as p, n as m, o as h, r as g, t as _ } from "./PageLoading-BAvKGo9h.js";
|
|
8
|
+
import { Fragment as v, Teleport as y, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as T, createStaticVNode as E, createVNode as D, defineAsyncComponent as O, defineComponent as k, inject as A, nextTick as j, normalizeClass as M, normalizeStyle as ee, onBeforeUnmount as N, onMounted as te, onUnmounted as ne, openBlock as P, provide as re, ref as F, renderList as I, renderSlot as L, resolveComponent as R, toDisplayString as z, unref as ie, watch as ae, withCtx as B, withModifiers as oe } from "vue";
|
|
12
9
|
//#region node_modules/.pnpm/split.js@1.6.5/node_modules/split.js/dist/split.es.js
|
|
13
10
|
var V = typeof window < "u" ? window : null, se = V === null, H = se ? void 0 : V.document, U = "addEventListener", W = "removeEventListener", G = "getBoundingClientRect", K = "_a", q = "_b", J = "_c", Y = "horizontal", X = function() {
|
|
14
11
|
return !1;
|
|
@@ -46,10 +43,10 @@ var V = typeof window < "u" ? window : null, se = V === null, H = se ? void 0 :
|
|
|
46
43
|
return n.className = "gutter gutter-" + t, n;
|
|
47
44
|
}, fe = function(e, t, n) {
|
|
48
45
|
var r = {};
|
|
49
|
-
return
|
|
46
|
+
return r[e] = le(t) ? t : ce + "(" + t + "% - " + n + "px)", r;
|
|
50
47
|
}, pe = function(e, t) {
|
|
51
|
-
var n;
|
|
52
|
-
return n
|
|
48
|
+
var n = {};
|
|
49
|
+
return n[e] = t + "px", n;
|
|
53
50
|
}, me = function(e, t) {
|
|
54
51
|
if (t === void 0 && (t = {}), se) return {};
|
|
55
52
|
var n = e, r, i, a, o, s, c;
|
|
@@ -62,49 +59,49 @@ var V = typeof window < "u" ? window : null, se = V === null, H = se ? void 0 :
|
|
|
62
59
|
return h;
|
|
63
60
|
}), _ = Z(t, "expandToMin", !1), v = Z(t, "gutterSize", 10), y = Z(t, "gutterAlign", "center"), b = Z(t, "snapOffset", 30), x = Array.isArray(b) ? b : n.map(function() {
|
|
64
61
|
return b;
|
|
65
|
-
}), S = Z(t, "dragInterval", 1), C = Z(t, "direction", Y), w = Z(t, "cursor", C === Y ? "col-resize" : "row-resize"),
|
|
62
|
+
}), S = Z(t, "dragInterval", 1), C = Z(t, "direction", Y), w = Z(t, "cursor", C === Y ? "col-resize" : "row-resize"), T = Z(t, "gutter", Q), E = Z(t, "elementStyle", fe), D = Z(t, "gutterStyle", pe);
|
|
66
63
|
C === Y ? (r = "width", i = "clientX", a = "left", o = "right", s = "clientWidth") : C === "vertical" && (r = "height", i = "clientY", a = "top", o = "bottom", s = "clientHeight");
|
|
67
|
-
function
|
|
68
|
-
var a =
|
|
64
|
+
function O(e, t, n, i) {
|
|
65
|
+
var a = E(r, t, n, i);
|
|
69
66
|
Object.keys(a).forEach(function(t) {
|
|
70
67
|
e.style[t] = a[t];
|
|
71
68
|
});
|
|
72
69
|
}
|
|
73
|
-
function
|
|
74
|
-
var i =
|
|
70
|
+
function k(e, t, n) {
|
|
71
|
+
var i = D(r, t, n);
|
|
75
72
|
Object.keys(i).forEach(function(t) {
|
|
76
73
|
e.style[t] = i[t];
|
|
77
74
|
});
|
|
78
75
|
}
|
|
79
|
-
function
|
|
76
|
+
function A() {
|
|
80
77
|
return c.map(function(e) {
|
|
81
78
|
return e.size;
|
|
82
79
|
});
|
|
83
80
|
}
|
|
84
|
-
function
|
|
81
|
+
function j(e) {
|
|
85
82
|
return "touches" in e ? e.touches[0][i] : e[i];
|
|
86
83
|
}
|
|
87
|
-
function
|
|
84
|
+
function M(e) {
|
|
88
85
|
var t = c[this.a], n = c[this.b], r = t.size + n.size;
|
|
89
|
-
t.size = e / this.size * r, n.size = r - e / this.size * r,
|
|
86
|
+
t.size = e / this.size * r, n.size = r - e / this.size * r, O(t.element, t.size, this[q], t.i), O(n.element, n.size, this[J], n.i);
|
|
90
87
|
}
|
|
91
|
-
function
|
|
88
|
+
function ee(e) {
|
|
92
89
|
var n, r = c[this.a], i = c[this.b];
|
|
93
|
-
this.dragging && (n =
|
|
90
|
+
this.dragging && (n = j(e) - this.start + (this[q] - this.dragOffset), S > 1 && (n = Math.round(n / S) * S), n <= r.minSize + r.snapOffset + this[q] ? n = r.minSize + this[q] : n >= this.size - (i.minSize + i.snapOffset + this[J]) && (n = this.size - (i.minSize + this[J])), n >= r.maxSize - r.snapOffset + this[q] ? n = r.maxSize + this[q] : n <= this.size - (i.maxSize - i.snapOffset + this[J]) && (n = this.size - (i.maxSize + this[J])), M.call(this, n), Z(t, "onDrag", X)(A()));
|
|
94
91
|
}
|
|
95
|
-
function
|
|
92
|
+
function N() {
|
|
96
93
|
var e = c[this.a].element, t = c[this.b].element, n = e[G](), i = t[G]();
|
|
97
94
|
this.size = n[r] + i[r] + this[q] + this[J], this.start = n[a], this.end = n[o];
|
|
98
95
|
}
|
|
99
|
-
function
|
|
96
|
+
function te(e) {
|
|
100
97
|
if (!getComputedStyle) return null;
|
|
101
98
|
var t = getComputedStyle(e);
|
|
102
99
|
if (!t) return null;
|
|
103
100
|
var n = e[s];
|
|
104
|
-
return n === 0 ? null : (C === Y ?
|
|
101
|
+
return n === 0 ? null : (n -= C === Y ? parseFloat(t.paddingLeft) + parseFloat(t.paddingRight) : parseFloat(t.paddingTop) + parseFloat(t.paddingBottom), n);
|
|
105
102
|
}
|
|
106
|
-
function
|
|
107
|
-
var t =
|
|
103
|
+
function ne(e) {
|
|
104
|
+
var t = te(l);
|
|
108
105
|
if (t === null || m.reduce(function(e, t) {
|
|
109
106
|
return e + t;
|
|
110
107
|
}, 0) > t) return e;
|
|
@@ -121,18 +118,18 @@ var V = typeof window < "u" ? window : null, se = V === null, H = se ? void 0 :
|
|
|
121
118
|
return a / t * 100;
|
|
122
119
|
});
|
|
123
120
|
}
|
|
124
|
-
function
|
|
121
|
+
function P() {
|
|
125
122
|
var e = this, n = c[e.a].element, r = c[e.b].element;
|
|
126
|
-
e.dragging && Z(t, "onDragEnd", X)(
|
|
123
|
+
e.dragging && Z(t, "onDragEnd", X)(A()), e.dragging = !1, V[W]("mouseup", e.stop), V[W]("touchend", e.stop), V[W]("touchcancel", e.stop), V[W]("mousemove", e.move), V[W]("touchmove", e.move), e.stop = null, e.move = null, n[W]("selectstart", X), n[W]("dragstart", X), r[W]("selectstart", X), r[W]("dragstart", X), n.style.userSelect = "", n.style.webkitUserSelect = "", n.style.MozUserSelect = "", n.style.pointerEvents = "", r.style.userSelect = "", r.style.webkitUserSelect = "", r.style.MozUserSelect = "", r.style.pointerEvents = "", e.gutter.style.cursor = "", e.parent.style.cursor = "", H.body.style.cursor = "";
|
|
127
124
|
}
|
|
128
|
-
function
|
|
125
|
+
function re(e) {
|
|
129
126
|
if (!("button" in e && e.button !== 0)) {
|
|
130
127
|
var n = this, r = c[n.a].element, i = c[n.b].element;
|
|
131
|
-
n.dragging || Z(t, "onDragStart", X)(
|
|
128
|
+
n.dragging || Z(t, "onDragStart", X)(A()), e.preventDefault(), n.dragging = !0, n.move = ee.bind(n), n.stop = P.bind(n), V[U]("mouseup", n.stop), V[U]("touchend", n.stop), V[U]("touchcancel", n.stop), V[U]("mousemove", n.move), V[U]("touchmove", n.move), r[U]("selectstart", X), r[U]("dragstart", X), i[U]("selectstart", X), i[U]("dragstart", X), r.style.userSelect = "none", r.style.webkitUserSelect = "none", r.style.MozUserSelect = "none", r.style.pointerEvents = "none", i.style.userSelect = "none", i.style.webkitUserSelect = "none", i.style.MozUserSelect = "none", i.style.pointerEvents = "none", n.gutter.style.cursor = w, n.parent.style.cursor = w, H.body.style.cursor = w, N.call(n), n.dragOffset = j(e) - n.end;
|
|
132
129
|
}
|
|
133
130
|
}
|
|
134
|
-
f =
|
|
135
|
-
var
|
|
131
|
+
f = ne(f);
|
|
132
|
+
var F = [];
|
|
136
133
|
c = n.map(function(e, t) {
|
|
137
134
|
var r = {
|
|
138
135
|
element: ue(e),
|
|
@@ -153,34 +150,34 @@ var V = typeof window < "u" ? window : null, se = V === null, H = se ? void 0 :
|
|
|
153
150
|
i.a = i.b, i.b = a;
|
|
154
151
|
}
|
|
155
152
|
if (t > 0) {
|
|
156
|
-
var o =
|
|
157
|
-
|
|
153
|
+
var o = T(t, C, r.element);
|
|
154
|
+
k(o, v, t), i[K] = re.bind(i), o[U]("mousedown", i[K]), o[U]("touchstart", i[K]), l.insertBefore(o, r.element), i.gutter = o;
|
|
158
155
|
}
|
|
159
|
-
return
|
|
156
|
+
return O(r.element, r.size, de(v, t === 0, t === n.length - 1, y), t), t > 0 && F.push(i), r;
|
|
160
157
|
});
|
|
161
|
-
function
|
|
162
|
-
var t = e.i ===
|
|
163
|
-
|
|
158
|
+
function I(e) {
|
|
159
|
+
var t = e.i === F.length, n = t ? F[e.i - 1] : F[e.i];
|
|
160
|
+
N.call(n);
|
|
164
161
|
var r = t ? n.size - e.minSize - n[J] : e.minSize + n[q];
|
|
165
|
-
|
|
162
|
+
M.call(n, r);
|
|
166
163
|
}
|
|
167
164
|
c.forEach(function(e) {
|
|
168
165
|
var t = e.element[G]()[r];
|
|
169
|
-
t < e.minSize && (_ ?
|
|
166
|
+
t < e.minSize && (_ ? I(e) : e.minSize = t);
|
|
170
167
|
});
|
|
171
|
-
function
|
|
172
|
-
var t =
|
|
168
|
+
function L(e) {
|
|
169
|
+
var t = ne(e);
|
|
173
170
|
t.forEach(function(e, n) {
|
|
174
171
|
if (n > 0) {
|
|
175
|
-
var r =
|
|
176
|
-
i.size = t[n - 1], a.size = e,
|
|
172
|
+
var r = F[n - 1], i = c[r.a], a = c[r.b];
|
|
173
|
+
i.size = t[n - 1], a.size = e, O(i.element, i.size, r[q], i.i), O(a.element, a.size, r[J], a.i);
|
|
177
174
|
}
|
|
178
175
|
});
|
|
179
176
|
}
|
|
180
|
-
function
|
|
181
|
-
|
|
177
|
+
function R(e, t) {
|
|
178
|
+
F.forEach(function(n) {
|
|
182
179
|
if (t === !0 ? (n.gutter[W]("mousedown", n[K]), n.gutter[W]("touchstart", n[K])) : n.parent.removeChild(n.gutter), e !== !0) {
|
|
183
|
-
var i =
|
|
180
|
+
var i = E(r, n.a.size, n[q]);
|
|
184
181
|
Object.keys(i).forEach(function(e) {
|
|
185
182
|
c[n.a].element.style[e] = "", c[n.b].element.style[e] = "";
|
|
186
183
|
});
|
|
@@ -188,14 +185,14 @@ var V = typeof window < "u" ? window : null, se = V === null, H = se ? void 0 :
|
|
|
188
185
|
});
|
|
189
186
|
}
|
|
190
187
|
return {
|
|
191
|
-
setSizes:
|
|
192
|
-
getSizes:
|
|
188
|
+
setSizes: L,
|
|
189
|
+
getSizes: A,
|
|
193
190
|
collapse: function(e) {
|
|
194
|
-
|
|
191
|
+
I(c[e]);
|
|
195
192
|
},
|
|
196
|
-
destroy:
|
|
193
|
+
destroy: R,
|
|
197
194
|
parent: l,
|
|
198
|
-
pairs:
|
|
195
|
+
pairs: F
|
|
199
196
|
};
|
|
200
197
|
}, he = {
|
|
201
198
|
name: "StudioView",
|
|
@@ -258,16 +255,16 @@ var V = typeof window < "u" ? window : null, se = V === null, H = se ? void 0 :
|
|
|
258
255
|
class: "right-panel"
|
|
259
256
|
};
|
|
260
257
|
function be(e, t, n, r, i, a) {
|
|
261
|
-
return
|
|
258
|
+
return P(), C("div", ge, [w("div", _e, [
|
|
262
259
|
w("div", {
|
|
263
260
|
ref: "sidebar",
|
|
264
|
-
class:
|
|
265
|
-
}, [
|
|
266
|
-
w("div", ve, [
|
|
267
|
-
e.$slots["right-panel"] ? (
|
|
261
|
+
class: M(["sidebar", { "sidebar-icon-only": n.sidebarCollapsed }])
|
|
262
|
+
}, [L(e.$slots, "sidebar", { containerWidth: i.sidebarWidth }, void 0, !0)], 2),
|
|
263
|
+
w("div", ve, [L(e.$slots, "default", {}, void 0, !0)], 512),
|
|
264
|
+
e.$slots["right-panel"] ? (P(), C("div", ye, [L(e.$slots, "right-panel", {}, void 0, !0)])) : S("", !0)
|
|
268
265
|
])], 512);
|
|
269
266
|
}
|
|
270
|
-
var xe = /*#__PURE__*/ e(he, [["render", be], ["__scopeId", "data-v-877a08bc"]]), Se =
|
|
267
|
+
var xe = /*#__PURE__*/ e(he, [["render", be], ["__scopeId", "data-v-877a08bc"]]), Se = k({
|
|
271
268
|
name: "TabbedLayout",
|
|
272
269
|
emits: [
|
|
273
270
|
"new-tab",
|
|
@@ -277,7 +274,7 @@ var xe = /*#__PURE__*/ e(he, [["render", be], ["__scopeId", "data-v-877a08bc"]])
|
|
|
277
274
|
"tabs-reordered"
|
|
278
275
|
],
|
|
279
276
|
setup() {
|
|
280
|
-
let e = t(),
|
|
277
|
+
let e = t(), n = s(), r = a(), i = o(), { activeTab: c, tabs: l, openTab: u, closeTab: d, setActiveTab: f, closeOtherTabsExcept: p, closeTabsToRightOf: m } = e;
|
|
281
278
|
return {
|
|
282
279
|
activeTab: c,
|
|
283
280
|
tabs: l,
|
|
@@ -288,12 +285,12 @@ var xe = /*#__PURE__*/ e(he, [["render", be], ["__scopeId", "data-v-877a08bc"]])
|
|
|
288
285
|
closeTabsToRightOf: m,
|
|
289
286
|
getTabStatus: (e) => {
|
|
290
287
|
if (e.screen === "editors") {
|
|
291
|
-
let t =
|
|
292
|
-
return t ? t.loading ? "running" : (t.connectionId &&
|
|
288
|
+
let t = n.editors[e.address];
|
|
289
|
+
return t ? t.loading ? "running" : (t.connectionId && r.connections[t.connectionId] || r.connectionByName(t.connection))?.connected ? "connected" : "idle" : null;
|
|
293
290
|
}
|
|
294
291
|
if (e.screen === "llms") {
|
|
295
292
|
let t = e.address.split("::"), n = t.length > 1 ? t[1] : null;
|
|
296
|
-
return n &&
|
|
293
|
+
return n && i.isChatExecuting(n) ? i.getChatActiveToolName(n) === "run_query" ? "running" : "waiting" : "connected";
|
|
297
294
|
}
|
|
298
295
|
return null;
|
|
299
296
|
}
|
|
@@ -316,7 +313,7 @@ var xe = /*#__PURE__*/ e(he, [["render", be], ["__scopeId", "data-v-877a08bc"]])
|
|
|
316
313
|
return this.contextMenu.targetTabIndex < this.tabs.length - 1;
|
|
317
314
|
} },
|
|
318
315
|
methods: {
|
|
319
|
-
getTabIcon:
|
|
316
|
+
getTabIcon: f,
|
|
320
317
|
selectTab(e) {
|
|
321
318
|
this.setActiveTab(e);
|
|
322
319
|
},
|
|
@@ -362,10 +359,10 @@ var xe = /*#__PURE__*/ e(he, [["render", be], ["__scopeId", "data-v-877a08bc"]])
|
|
|
362
359
|
"data-testid"
|
|
363
360
|
], Ee = { class: "tab-title truncate-text" }, De = ["onClick"], Oe = { class: "tab-content" };
|
|
364
361
|
function ke(e, t, n, r, i, a) {
|
|
365
|
-
return
|
|
366
|
-
w("div", we, [(
|
|
362
|
+
return P(), C("div", Ce, [
|
|
363
|
+
w("div", we, [(P(!0), C(v, null, I(e.tabs, (n, r) => (P(), C("div", {
|
|
367
364
|
key: n.id,
|
|
368
|
-
class:
|
|
365
|
+
class: M(["tab", { "tab-active": e.activeTab === n.id }]),
|
|
369
366
|
onClick: (t) => e.selectTab(n.id),
|
|
370
367
|
onDragstart: (t) => e.handleDragStart(r, t),
|
|
371
368
|
onDragover: t[0] ||= (t) => e.handleDragOver(t),
|
|
@@ -374,42 +371,42 @@ function ke(e, t, n, r, i, a) {
|
|
|
374
371
|
draggable: "true",
|
|
375
372
|
"data-testid": `tab-${n.address}`
|
|
376
373
|
}, [
|
|
377
|
-
w("i", { class:
|
|
374
|
+
w("i", { class: M([
|
|
378
375
|
e.getTabIcon(n.screen),
|
|
379
376
|
"tab-icon",
|
|
380
377
|
`tab-icon-status-${e.getTabStatus(n) || "none"}`
|
|
381
378
|
]) }, null, 2),
|
|
382
|
-
w("span", Ee,
|
|
383
|
-
e.tabs.length > 1 ? (
|
|
379
|
+
w("span", Ee, z(n.title), 1),
|
|
380
|
+
e.tabs.length > 1 ? (P(), C("button", {
|
|
384
381
|
key: 0,
|
|
385
382
|
class: "tab-close-btn",
|
|
386
383
|
onClick: oe((t) => e.closeTab(n.id, null), ["stop"])
|
|
387
384
|
}, [...t[5] ||= [w("i", { class: "mdi mdi-close" }, null, -1)]], 8, De)) : S("", !0)
|
|
388
385
|
], 42, Te))), 128))]),
|
|
389
|
-
w("div", Oe, [
|
|
390
|
-
e.contextMenu.visible ? (
|
|
386
|
+
w("div", Oe, [L(e.$slots, "default", {}, void 0, !0)]),
|
|
387
|
+
e.contextMenu.visible ? (P(), C("div", {
|
|
391
388
|
key: 0,
|
|
392
389
|
class: "context-menu",
|
|
393
|
-
style:
|
|
390
|
+
style: ee({
|
|
394
391
|
left: e.contextMenu.x + "px",
|
|
395
392
|
top: e.contextMenu.y + "px"
|
|
396
393
|
}),
|
|
397
394
|
onClick: t[3] ||= oe(() => {}, ["stop"])
|
|
398
395
|
}, [w("div", {
|
|
399
|
-
class:
|
|
396
|
+
class: M(["context-menu-item", { disabled: e.tabs.length <= 1 }]),
|
|
400
397
|
onClick: t[1] ||= (...t) => e.closeOtherTabs && e.closeOtherTabs(...t)
|
|
401
398
|
}, " Close Other Tabs ", 2), w("div", {
|
|
402
|
-
class:
|
|
399
|
+
class: M(["context-menu-item", { disabled: !e.canCloseTabsToRight }]),
|
|
403
400
|
onClick: t[2] ||= (...t) => e.closeTabsToRight && e.closeTabsToRight(...t)
|
|
404
401
|
}, " Close Tabs to the Right ", 2)], 4)) : S("", !0),
|
|
405
|
-
e.contextMenu.visible ? (
|
|
402
|
+
e.contextMenu.visible ? (P(), C("div", {
|
|
406
403
|
key: 1,
|
|
407
404
|
class: "context-menu-overlay",
|
|
408
405
|
onClick: t[4] ||= (...t) => e.hideContextMenu && e.hideContextMenu(...t)
|
|
409
406
|
})) : S("", !0)
|
|
410
407
|
]);
|
|
411
408
|
}
|
|
412
|
-
var Ae = /*#__PURE__*/ e(Se, [["render", ke], ["__scopeId", "data-v-34e7a50b"]]), je = [68, 32], Me =
|
|
409
|
+
var Ae = /*#__PURE__*/ e(Se, [["render", ke], ["__scopeId", "data-v-34e7a50b"]]), je = [68, 32], Me = k({
|
|
413
410
|
name: "VerticalSplitLayout",
|
|
414
411
|
data() {
|
|
415
412
|
return {
|
|
@@ -420,8 +417,8 @@ var Ae = /*#__PURE__*/ e(Se, [["render", ke], ["__scopeId", "data-v-34e7a50b"]])
|
|
|
420
417
|
},
|
|
421
418
|
setup() {
|
|
422
419
|
return {
|
|
423
|
-
editor:
|
|
424
|
-
results:
|
|
420
|
+
editor: F(null),
|
|
421
|
+
results: F(null)
|
|
425
422
|
};
|
|
426
423
|
},
|
|
427
424
|
mounted() {
|
|
@@ -456,11 +453,11 @@ var Ae = /*#__PURE__*/ e(Se, [["render", ke], ["__scopeId", "data-v-34e7a50b"]])
|
|
|
456
453
|
ref: "results"
|
|
457
454
|
};
|
|
458
455
|
function Ie(e, t, n, r, i, a) {
|
|
459
|
-
return
|
|
456
|
+
return P(), C("div", Ne, [w("div", Pe, [L(e.$slots, "editor", { containerHeight: e.editorHeight })], 512), w("div", Fe, [L(e.$slots, "results", { containerHeight: e.resultsHeight })], 512)], 512);
|
|
460
457
|
}
|
|
461
458
|
var Le = /*#__PURE__*/ e(Me, [["render", Ie]]), Re = {}, ze = { class: "credentials-prompt" };
|
|
462
459
|
function Be(e, t) {
|
|
463
|
-
return
|
|
460
|
+
return P(), C("div", ze, [...t[0] ||= [E("<div class=\"credentials-card\" data-v-919983af><div class=\"credentials-icon\" data-v-919983af><svg width=\"48\" height=\"48\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" data-v-919983af><rect x=\"3\" y=\"11\" width=\"18\" height=\"11\" rx=\"2\" ry=\"2\" data-v-919983af></rect><circle cx=\"12\" cy=\"16\" r=\"1\" data-v-919983af></circle><path d=\"m7 11 V7a5 5 0 0 1 10 0v4\" data-v-919983af></path></svg></div><h2 class=\"credentials-title\" data-v-919983af>Credential response required</h2><p class=\"credentials-message\" data-v-919983af>Complete credential prompt to continue.</p><div class=\"credentials-loading\" data-v-919983af><div class=\"spinner\" data-v-919983af></div><span data-v-919983af>Waiting for authentication...</span></div></div>", 1)]]);
|
|
464
461
|
}
|
|
465
462
|
var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]]), He = {
|
|
466
463
|
class: "confirmation-overlay",
|
|
@@ -468,7 +465,7 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
468
465
|
}, Ue = { class: "modal-header" }, We = { "data-testid": "tutorial-popup-title" }, Ge = { class: "modal-content" }, Ke = {
|
|
469
466
|
key: 0,
|
|
470
467
|
class: "progress-section"
|
|
471
|
-
}, qe = { class: "progress-indicator" }, Je = { class: "button-container" }, Ye = 50, Xe = 100, Ze = /*#__PURE__*/ e(/* @__PURE__ */
|
|
468
|
+
}, qe = { class: "progress-indicator" }, Je = { class: "button-container" }, Ye = 50, Xe = 100, Ze = /*#__PURE__*/ e(/* @__PURE__ */ k({
|
|
472
469
|
__name: "PopupModal",
|
|
473
470
|
props: {
|
|
474
471
|
showModal: {
|
|
@@ -490,7 +487,7 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
490
487
|
},
|
|
491
488
|
emits: ["mark-item-read", "close-modal"],
|
|
492
489
|
setup(e, { emit: t }) {
|
|
493
|
-
let n = e, r = t, i =
|
|
490
|
+
let n = e, r = t, i = A("userSettingsStore", null), a = F(0), o = F(null), s = F(null), c = F(0), { editorElement: d, dialogStyle: f, startResize: p, canCloseOnClickOutside: m } = u(() => r("close-modal"), {
|
|
494
491
|
initialWidth: n.initialWidth,
|
|
495
492
|
initialHeight: n.initialHeight,
|
|
496
493
|
minWidth: 400,
|
|
@@ -502,24 +499,24 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
502
499
|
let e = document.getElementById("tutorial-highlight-styles");
|
|
503
500
|
e && e.remove();
|
|
504
501
|
}, v = async (e) => {
|
|
505
|
-
await
|
|
506
|
-
},
|
|
502
|
+
await j(), s.value = e, c.value = 0, T(e);
|
|
503
|
+
}, T = async (e) => {
|
|
507
504
|
if (s.value !== e || !n.showModal) return;
|
|
508
505
|
let t = document.querySelector(`[data-testid="${e}"]`);
|
|
509
506
|
if (t) {
|
|
510
|
-
await
|
|
507
|
+
await E(t, e);
|
|
511
508
|
return;
|
|
512
509
|
}
|
|
513
|
-
if (
|
|
510
|
+
if (c.value++, c.value >= Ye) {
|
|
514
511
|
console.warn(`Element with data-testid="${e}" not found after ${Ye} attempts`), s.value = null;
|
|
515
512
|
return;
|
|
516
513
|
}
|
|
517
514
|
setTimeout(() => {
|
|
518
|
-
|
|
515
|
+
T(e);
|
|
519
516
|
}, Xe);
|
|
520
|
-
},
|
|
517
|
+
}, E = async (e, t) => {
|
|
521
518
|
if (s.value !== t || !n.showModal) return;
|
|
522
|
-
|
|
519
|
+
O();
|
|
523
520
|
let r = m?.value;
|
|
524
521
|
m && (m.value = !1), e.classList.add("tutorial-highlight", "tutorial-highlight-transition", "tutorial-scroll-target"), e.getBoundingClientRect().top < 100 && e.classList.add("arrow-bottom"), e.scrollIntoView({
|
|
525
522
|
behavior: "smooth",
|
|
@@ -528,92 +525,92 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
528
525
|
}), o.value = e, s.value = null, setTimeout(() => {
|
|
529
526
|
m && (m.value = r ?? !0);
|
|
530
527
|
}, 1e3);
|
|
531
|
-
},
|
|
528
|
+
}, O = () => {
|
|
532
529
|
s.value = null, o.value &&= (o.value.classList.remove("tutorial-highlight", "tutorial-highlight-transition", "tutorial-scroll-target", "arrow-bottom"), null), document.querySelectorAll(".tutorial-highlight").forEach((e) => {
|
|
533
530
|
e.classList.remove("tutorial-highlight", "tutorial-highlight-transition", "tutorial-scroll-target", "arrow-bottom");
|
|
534
531
|
});
|
|
535
|
-
},
|
|
532
|
+
}, k = async () => {
|
|
536
533
|
h.value && r("mark-item-read", h.value.id), g.value ? a.value++ : r("close-modal");
|
|
537
|
-
}, j = () => {
|
|
538
|
-
h.value && r("mark-item-read", h.value.id), r("close-modal");
|
|
539
534
|
}, M = () => {
|
|
535
|
+
h.value && r("mark-item-read", h.value.id), r("close-modal");
|
|
536
|
+
}, N = () => {
|
|
540
537
|
for (let e of n.activeItems) r("mark-item-read", e.id);
|
|
541
538
|
r("close-modal");
|
|
542
|
-
},
|
|
539
|
+
}, re = async () => {
|
|
543
540
|
if (!i) {
|
|
544
541
|
r("close-modal");
|
|
545
542
|
return;
|
|
546
543
|
}
|
|
547
544
|
i.updateSetting("skipAllTips", !0), await i.saveSettings(), r("close-modal");
|
|
548
545
|
};
|
|
549
|
-
|
|
546
|
+
ae(() => n.activeItems, () => {
|
|
550
547
|
a.value = 0;
|
|
551
|
-
}),
|
|
552
|
-
e?.highlightDataTestId ? await v(e.highlightDataTestId) :
|
|
553
|
-
}, { immediate: !0 }),
|
|
554
|
-
e ? h.value?.highlightDataTestId &&
|
|
548
|
+
}), ae(h, async (e) => {
|
|
549
|
+
e?.highlightDataTestId ? await v(e.highlightDataTestId) : O();
|
|
550
|
+
}, { immediate: !0 }), ae(() => n.showModal, (e) => {
|
|
551
|
+
e ? h.value?.highlightDataTestId && j(() => {
|
|
555
552
|
v(h.value.highlightDataTestId);
|
|
556
|
-
}) : (
|
|
553
|
+
}) : (O(), setTimeout(() => {
|
|
557
554
|
n.showModal || _();
|
|
558
555
|
}, 300));
|
|
559
|
-
}),
|
|
560
|
-
|
|
556
|
+
}), te(() => {}), ne(() => {
|
|
557
|
+
O(), _();
|
|
561
558
|
});
|
|
562
|
-
let
|
|
563
|
-
e.key === "Escape" && n.showModal &&
|
|
559
|
+
let I = (e) => {
|
|
560
|
+
e.key === "Escape" && n.showModal && N();
|
|
564
561
|
};
|
|
565
|
-
return
|
|
566
|
-
document.addEventListener("keydown",
|
|
567
|
-
}),
|
|
568
|
-
document.removeEventListener("keydown",
|
|
569
|
-
}), (t, n) => (
|
|
562
|
+
return te(() => {
|
|
563
|
+
document.addEventListener("keydown", I);
|
|
564
|
+
}), ne(() => {
|
|
565
|
+
document.removeEventListener("keydown", I);
|
|
566
|
+
}), (t, n) => (P(), C("div", null, [e.showModal && h.value ? (P(), x(y, {
|
|
570
567
|
key: 0,
|
|
571
568
|
to: "body"
|
|
572
569
|
}, [w("div", He, [w("div", {
|
|
573
570
|
class: "confirmation-dialog",
|
|
574
571
|
ref: (e) => d.value = e,
|
|
575
|
-
style:
|
|
572
|
+
style: ee(ie(f)),
|
|
576
573
|
"data-testid": "tutorial-popup-dialog"
|
|
577
574
|
}, [
|
|
578
|
-
w("div", Ue, [w("h2", We,
|
|
579
|
-
onClick:
|
|
575
|
+
w("div", Ue, [w("h2", We, z(h.value.title), 1), w("button", {
|
|
576
|
+
onClick: N,
|
|
580
577
|
class: "exit-button",
|
|
581
578
|
"data-testid": "exit-modal",
|
|
582
579
|
"aria-label": "Close modal"
|
|
583
580
|
}, " × ")]),
|
|
584
|
-
w("div", Ge, [w("p", null,
|
|
585
|
-
e.activeItems.length > 1 ? (
|
|
581
|
+
w("div", Ge, [w("p", null, z(h.value.content), 1)]),
|
|
582
|
+
e.activeItems.length > 1 ? (P(), C("div", Ke, [w("span", qe, z(a.value + 1) + " of " + z(e.activeItems.length), 1)])) : S("", !0),
|
|
586
583
|
w("div", Je, [
|
|
587
|
-
g.value ? (
|
|
584
|
+
g.value ? (P(), C("button", {
|
|
588
585
|
key: 0,
|
|
589
|
-
onClick:
|
|
586
|
+
onClick: k,
|
|
590
587
|
class: "primary-button",
|
|
591
588
|
"data-testid": "next-item"
|
|
592
|
-
}, " Next → ")) : (
|
|
589
|
+
}, " Next → ")) : (P(), C("button", {
|
|
593
590
|
key: 1,
|
|
594
|
-
onClick:
|
|
591
|
+
onClick: M,
|
|
595
592
|
class: "primary-button",
|
|
596
593
|
"data-testid": "complete-sequence"
|
|
597
594
|
}, " Got it! ")),
|
|
598
595
|
w("button", {
|
|
599
|
-
onClick:
|
|
596
|
+
onClick: re,
|
|
600
597
|
class: "secondary-button",
|
|
601
598
|
"data-testid": "disable-all-hints"
|
|
602
599
|
}, " Disable All Hints "),
|
|
603
600
|
w("button", {
|
|
604
|
-
onClick:
|
|
601
|
+
onClick: N,
|
|
605
602
|
class: "cancel-btn",
|
|
606
603
|
"data-testid": "skip-sequence"
|
|
607
604
|
}, " Skip ")
|
|
608
605
|
]),
|
|
609
|
-
|
|
606
|
+
D(l, { onStartResize: ie(p) }, null, 8, ["onStartResize"])
|
|
610
607
|
], 4)])])) : S("", !0)]));
|
|
611
608
|
}
|
|
612
609
|
}), [["__scopeId", "data-v-e4361b9a"]]), Qe = {
|
|
613
610
|
key: 0,
|
|
614
611
|
class: "tips-count",
|
|
615
612
|
"data-testid": "tips-cta-count"
|
|
616
|
-
}, $e = /*#__PURE__*/ e(/* @__PURE__ */
|
|
613
|
+
}, $e = /*#__PURE__*/ e(/* @__PURE__ */ k({
|
|
617
614
|
__name: "TipsCTA",
|
|
618
615
|
props: {
|
|
619
616
|
pulsing: {
|
|
@@ -628,8 +625,8 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
628
625
|
emits: ["expand"],
|
|
629
626
|
setup(e, { emit: t }) {
|
|
630
627
|
let n = t;
|
|
631
|
-
return (t, r) => (
|
|
632
|
-
class:
|
|
628
|
+
return (t, r) => (P(), C("button", {
|
|
629
|
+
class: M(["tips-cta", { pulsing: e.pulsing }]),
|
|
633
630
|
"data-testid": "tips-cta-button",
|
|
634
631
|
"aria-label": "Show tips",
|
|
635
632
|
title: "Show tips",
|
|
@@ -646,13 +643,13 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
646
643
|
w("path", { d: "M9 18h6" }),
|
|
647
644
|
w("path", { d: "M10 22h4" }),
|
|
648
645
|
w("path", { d: "M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.4 1 2.3h6c0-.9.4-1.8 1-2.3A7 7 0 0 0 12 2z" })
|
|
649
|
-
], -1), e.count > 0 ? (
|
|
646
|
+
], -1), e.count > 0 ? (P(), C("span", Qe, z(e.count), 1)) : S("", !0)], 2));
|
|
650
647
|
}
|
|
651
|
-
}), [["__scopeId", "data-v-347266f4"]]), $ = (e) =>
|
|
648
|
+
}), [["__scopeId", "data-v-347266f4"]]), $ = (e) => O({
|
|
652
649
|
loader: e,
|
|
653
|
-
loadingComponent:
|
|
650
|
+
loadingComponent: _,
|
|
654
651
|
delay: 0
|
|
655
|
-
}), et = $(() => import("./TutorialPage-
|
|
652
|
+
}), et = $(() => import("./TutorialPage-BtEJG7cT.js")), tt = $(() => import("./Editor-D6tdutTm.js").then((e) => e.n)), nt = $(() => import("./WelcomePage-BoqzYBLr.js")), rt = $(() => import("./Dashboard-DxSi9W6Q.js").then((e) => e.n)), it = O(() => import("./ResultComponent-zoOSoRLe.js").then((e) => e.n)), at = $(() => import("./ModelView-DomyhN8g.js").then((e) => e.n)), ot = $(() => import("./CommunityModels-CIQQhO-y.js").then((e) => e.n)), st = $(() => import("./JobsView-Ca97MiSd.js").then((e) => e.n)), ct = $(() => import("./ConnectionView-7Jj_Ggdi.js").then((e) => e.n)), lt = $(() => import("./LLMView-BDb6wD74.js")), ut = O(() => import("./AssetAutoImporter-OHphsfW9.js").then((e) => e.n)), dt = O(() => import("./ChatCreatorModal-CuXha6Dg.js")), ft = O(() => import("./ConnectionErrorPopup-7vpqgF0s.js")), pt = O(() => import("./GlobalChatPanel-BXZh0sdD.js")), mt = O(() => import("./ErrorMessage-D5JeF3Iz.js").then((e) => e.n)), ht = O(() => import("./useGlobalChatPanel-DuP1q7_f.js").then((e) => e.d)), gt = O(() => import("./useGlobalChatPanel-DuP1q7_f.js").then((e) => e.i)), _t = k({
|
|
656
653
|
name: "IDEComponent",
|
|
657
654
|
data() {
|
|
658
655
|
return {
|
|
@@ -673,12 +670,12 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
673
670
|
CredentialBackgroundPage: Ve,
|
|
674
671
|
PopupModal: Ze,
|
|
675
672
|
TipsCTA: $e,
|
|
676
|
-
sidebar:
|
|
673
|
+
sidebar: d,
|
|
677
674
|
editor: tt,
|
|
678
675
|
"tutorial-page": et,
|
|
679
676
|
"model-view": at,
|
|
680
|
-
"user-settings":
|
|
681
|
-
"user-profile":
|
|
677
|
+
"user-settings": g,
|
|
678
|
+
"user-profile": m,
|
|
682
679
|
"welcome-page": nt,
|
|
683
680
|
dashboard: rt,
|
|
684
681
|
"community-models": ot,
|
|
@@ -696,26 +693,26 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
696
693
|
"data-table": gt
|
|
697
694
|
},
|
|
698
695
|
setup() {
|
|
699
|
-
let e =
|
|
700
|
-
if (!r || !n || !
|
|
701
|
-
|
|
702
|
-
let v = t(), { activeScreen: y, activeEditor: x, activeModelKey: S, activeDocumentationKey: C, activeConnectionKey: w, activeLLMConnectionKey:
|
|
696
|
+
let e = F(null), n = A("connectionStore"), r = A("editorStore"), i = A("userSettingsStore"), a = A("llmConnectionStore", null), o = A("storesLoaded", F(!0)), s = A("modelStore"), l = A("dashboardStore"), u = A("trilogyResolver"), d = A("queryExecutionService"), f = A("saveEditors"), p = A("saveConnections"), m = A("saveModels"), g = A("saveDashboards"), _ = A("saveAll");
|
|
697
|
+
if (!r || !n || !l || !i || !u || !s || !p || !g || !f || !m || !_) throw Error("Requires injection of connection store, editor store, model store, editors, connections, and models saving.");
|
|
698
|
+
f ||= () => {};
|
|
699
|
+
let v = t(), { activeScreen: y, activeEditor: x, activeModelKey: S, activeDocumentationKey: C, activeConnectionKey: w, activeLLMConnectionKey: T, activeCommunityModelKey: E, activeJobsKey: D, activeDashboard: O, setActiveScreen: k, setActiveSidebarScreen: j, activeSidebarScreen: M, setActiveEditor: ee, setActiveModelKey: ne, setActiveCommunityModelKey: P, setActiveJobsKey: I, setActiveDocumentationKey: L, setActiveConnectionKey: R, setActiveLLMConnectionKey: z, setActiveDashboard: ie, onInitialLoad: B, showTipModal: oe, displayedTips: V, fullScreen: se, toggleFullScreen: H, addBackListeners: U, removeBacklisteners: W } = v;
|
|
703
700
|
B(), U();
|
|
704
|
-
let G =
|
|
701
|
+
let G = c(), K = () => !!a && Object.keys(a.connections || {}).length > 0;
|
|
705
702
|
if (G.onInitialLoad(), G.addKeyListener(K), o.value) G.applyDefaultOpenState(K());
|
|
706
703
|
else {
|
|
707
|
-
let e =
|
|
704
|
+
let e = ae(o, (t) => {
|
|
708
705
|
t && (e(), G.applyDefaultOpenState(K()));
|
|
709
706
|
});
|
|
710
707
|
}
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
}),
|
|
708
|
+
te(() => {
|
|
709
|
+
h();
|
|
710
|
+
}), N(() => {
|
|
714
711
|
W(), G.removeKeyListener();
|
|
715
|
-
}),
|
|
712
|
+
}), re("navigationStore", v), re("hasGlobalChatPanel", !0);
|
|
716
713
|
let q = i.markTipRead, J = (e) => {
|
|
717
714
|
q(e);
|
|
718
|
-
}, Y =
|
|
715
|
+
}, Y = F(!1), X = F([]), ce = b(() => {
|
|
719
716
|
if (i.settings.skipAllTips) return [];
|
|
720
717
|
let e = i.settings.tipsRead || [];
|
|
721
718
|
return V.value.filter((t) => !e.includes(t.id));
|
|
@@ -723,44 +720,44 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
723
720
|
X.value = ce.value, Y.value = !0, oe.value = !1;
|
|
724
721
|
}, de = () => {
|
|
725
722
|
Y.value = !1;
|
|
726
|
-
}, Q =
|
|
723
|
+
}, Q = F(""), fe = (e, t, n) => {
|
|
727
724
|
let r = n ? `${e}+${n}` : e;
|
|
728
|
-
|
|
725
|
+
z(r), Q.value = t, k("llms"), setTimeout(() => {
|
|
729
726
|
Q.value = "";
|
|
730
727
|
}, 100);
|
|
731
|
-
}, pe =
|
|
728
|
+
}, pe = F(!1), me = F("");
|
|
732
729
|
return {
|
|
733
730
|
connectionStore: n,
|
|
734
731
|
editorStore: r,
|
|
735
|
-
dashboardStore:
|
|
736
|
-
trilogyResolver:
|
|
737
|
-
queryExecutionService:
|
|
738
|
-
saveEditors:
|
|
739
|
-
saveConnections:
|
|
740
|
-
saveModels:
|
|
732
|
+
dashboardStore: l,
|
|
733
|
+
trilogyResolver: u,
|
|
734
|
+
queryExecutionService: d,
|
|
735
|
+
saveEditors: f,
|
|
736
|
+
saveConnections: p,
|
|
737
|
+
saveModels: m,
|
|
741
738
|
saveDashboards: g,
|
|
742
739
|
saveAll: _,
|
|
743
740
|
modelStore: s,
|
|
744
741
|
activeScreen: y,
|
|
745
742
|
activeModelKey: S,
|
|
746
|
-
setActiveModelKey:
|
|
747
|
-
activeCommunityModelKey:
|
|
748
|
-
activeJobsKey:
|
|
749
|
-
setActiveCommunityModelKey:
|
|
750
|
-
setActiveJobsKey:
|
|
743
|
+
setActiveModelKey: ne,
|
|
744
|
+
activeCommunityModelKey: E,
|
|
745
|
+
activeJobsKey: D,
|
|
746
|
+
setActiveCommunityModelKey: P,
|
|
747
|
+
setActiveJobsKey: I,
|
|
751
748
|
activeDocumentationKey: C,
|
|
752
|
-
setActiveDocumentationKey:
|
|
749
|
+
setActiveDocumentationKey: L,
|
|
753
750
|
activeConnectionKey: w,
|
|
754
|
-
setActiveConnectionKey:
|
|
755
|
-
activeLLMConnectionKey:
|
|
756
|
-
setActiveLLMConnectionKey:
|
|
757
|
-
setActiveScreen:
|
|
758
|
-
activeSidebarScreen:
|
|
759
|
-
setActiveSidebarScreen:
|
|
751
|
+
setActiveConnectionKey: R,
|
|
752
|
+
activeLLMConnectionKey: T,
|
|
753
|
+
setActiveLLMConnectionKey: z,
|
|
754
|
+
setActiveScreen: k,
|
|
755
|
+
activeSidebarScreen: M,
|
|
756
|
+
setActiveSidebarScreen: j,
|
|
760
757
|
activeEditor: x,
|
|
761
|
-
setActiveEditor:
|
|
762
|
-
activeDashboard:
|
|
763
|
-
setActiveDashboard:
|
|
758
|
+
setActiveEditor: ee,
|
|
759
|
+
activeDashboard: O,
|
|
760
|
+
setActiveDashboard: ie,
|
|
764
761
|
editorRef: e,
|
|
765
762
|
llmConnectionStore: a,
|
|
766
763
|
displayedTips: V,
|
|
@@ -784,12 +781,12 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
784
781
|
},
|
|
785
782
|
handleChatCreated: (e) => {
|
|
786
783
|
let t = `${e.llmConnectionName}+${e.id}`;
|
|
787
|
-
|
|
784
|
+
z(t), Q.value = "chat", k("llms"), setTimeout(() => {
|
|
788
785
|
Q.value = "";
|
|
789
786
|
}, 100);
|
|
790
787
|
},
|
|
791
788
|
storesLoaded: o,
|
|
792
|
-
sidebarCollapsed:
|
|
789
|
+
sidebarCollapsed: F(!1),
|
|
793
790
|
globalChatOpen: G.isOpen
|
|
794
791
|
};
|
|
795
792
|
},
|
|
@@ -819,19 +816,19 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
819
816
|
},
|
|
820
817
|
waitForStoresLoaded() {
|
|
821
818
|
return this.storesLoaded ? Promise.resolve() : new Promise((e) => {
|
|
822
|
-
let t =
|
|
819
|
+
let t = ae(() => this.storesLoaded, (n) => {
|
|
823
820
|
n && (t(), e());
|
|
824
821
|
});
|
|
825
822
|
});
|
|
826
823
|
},
|
|
827
824
|
maybeStartDemoFromHash() {
|
|
828
|
-
return
|
|
825
|
+
return i(r.DEMO, "") === "true" ? this.launchDemo() : Promise.resolve();
|
|
829
826
|
},
|
|
830
827
|
async launchDemo() {
|
|
831
828
|
if (!this.demoLaunchInFlight) {
|
|
832
829
|
this.demoLaunchInFlight = !0, this.demoLaunchError = "";
|
|
833
830
|
try {
|
|
834
|
-
await this.waitForStoresLoaded(), await this.startDemo(),
|
|
831
|
+
await this.waitForStoresLoaded(), await this.startDemo(), n(r.DEMO);
|
|
835
832
|
} catch (e) {
|
|
836
833
|
console.error("Demo setup failed:", e), this.demoLaunchError = e instanceof Error ? e.message : String(e);
|
|
837
834
|
} finally {
|
|
@@ -840,7 +837,7 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
840
837
|
}
|
|
841
838
|
},
|
|
842
839
|
async startDemo() {
|
|
843
|
-
let e = await
|
|
840
|
+
let e = await p(this.editorStore, this.connectionStore, this.modelStore, this.dashboardStore, this.saveEditors, this.saveConnections, this.saveModels, this.saveDashboards, this.queryExecutionService);
|
|
844
841
|
this.setActiveScreen("editors"), this.setActiveEditor(e);
|
|
845
842
|
},
|
|
846
843
|
handleImportComplete(e) {
|
|
@@ -866,9 +863,9 @@ var Ve = /*#__PURE__*/ e(Re, [["render", Be], ["__scopeId", "data-v-919983af"]])
|
|
|
866
863
|
class: "full-screen-container"
|
|
867
864
|
};
|
|
868
865
|
function bt(e, t, n, r, i, a) {
|
|
869
|
-
let o =
|
|
870
|
-
return
|
|
871
|
-
e.tipsExpanded && e.expandedTips.length > 0 ? (
|
|
866
|
+
let o = R("PopupModal"), s = R("TipsCTA"), c = R("ChatCreatorModal"), l = R("connection-error-popup"), u = R("dashboard"), d = R("dashboard-auto-importer"), f = R("asset-auto-importer"), p = R("sidebar"), m = R("global-chat-panel"), h = R("CredentialBackgroundPage"), g = R("editor"), _ = R("results-view"), v = R("vertical-split-layout"), y = R("connection-view"), b = R("tutorial-page"), w = R("model-view"), E = R("user-profile"), O = R("user-settings"), k = R("community-models"), A = R("jobs-view"), j = R("llm-view"), M = R("welcome-page"), ee = R("TabbedBrowser"), N = R("sidebar-layout");
|
|
867
|
+
return P(), C("div", vt, [
|
|
868
|
+
e.tipsExpanded && e.expandedTips.length > 0 ? (P(), x(o, {
|
|
872
869
|
key: 0,
|
|
873
870
|
title: "Tips",
|
|
874
871
|
showModal: e.tipsExpanded,
|
|
@@ -881,7 +878,7 @@ function bt(e, t, n, r, i, a) {
|
|
|
881
878
|
"onMarkItemRead",
|
|
882
879
|
"onCloseModal"
|
|
883
880
|
])) : S("", !0),
|
|
884
|
-
e.hasUnreadTips && !e.tipsExpanded ? (
|
|
881
|
+
e.hasUnreadTips && !e.tipsExpanded ? (P(), x(s, {
|
|
885
882
|
key: 1,
|
|
886
883
|
pulsing: e.showTipModal,
|
|
887
884
|
count: e.unreadTipCount,
|
|
@@ -891,7 +888,7 @@ function bt(e, t, n, r, i, a) {
|
|
|
891
888
|
"count",
|
|
892
889
|
"onExpand"
|
|
893
890
|
])) : S("", !0),
|
|
894
|
-
|
|
891
|
+
D(c, {
|
|
895
892
|
visible: e.showChatCreatorModal,
|
|
896
893
|
preselectedConnection: e.chatCreatorPreselectedConnection,
|
|
897
894
|
activeDataConnection: e.activeConnectionKey,
|
|
@@ -903,24 +900,24 @@ function bt(e, t, n, r, i, a) {
|
|
|
903
900
|
"activeDataConnection",
|
|
904
901
|
"onChatCreated"
|
|
905
902
|
]),
|
|
906
|
-
|
|
907
|
-
e.fullScreen ? (
|
|
903
|
+
D(l),
|
|
904
|
+
e.fullScreen ? (P(), C("div", yt, [e.activeScreen === "dashboard" ? (P(), x(u, {
|
|
908
905
|
key: 0,
|
|
909
906
|
name: e.activeDashboard,
|
|
910
907
|
onFullScreen: e.toggleFullScreen
|
|
911
|
-
}, null, 8, ["name", "onFullScreen"])) : e.activeScreen === "dashboard-import" ? (
|
|
908
|
+
}, null, 8, ["name", "onFullScreen"])) : e.activeScreen === "dashboard-import" ? (P(), x(d, {
|
|
912
909
|
key: 1,
|
|
913
910
|
onImportComplete: e.handleImportComplete,
|
|
914
911
|
onFullScreen: e.toggleFullScreen
|
|
915
|
-
}, null, 8, ["onImportComplete", "onFullScreen"])) : e.activeScreen === "asset-import" ? (
|
|
912
|
+
}, null, 8, ["onImportComplete", "onFullScreen"])) : e.activeScreen === "asset-import" ? (P(), x(f, {
|
|
916
913
|
key: 2,
|
|
917
914
|
onImportComplete: e.handleAssetImportComplete,
|
|
918
915
|
onFullScreen: e.toggleFullScreen
|
|
919
|
-
}, null, 8, ["onImportComplete", "onFullScreen"])) : S("", !0)])) : (
|
|
916
|
+
}, null, 8, ["onImportComplete", "onFullScreen"])) : S("", !0)])) : (P(), x(N, {
|
|
920
917
|
key: 3,
|
|
921
918
|
"sidebar-collapsed": e.sidebarCollapsed
|
|
922
919
|
}, {
|
|
923
|
-
sidebar: B(({ containerWidth: n }) => [
|
|
920
|
+
sidebar: B(({ containerWidth: n }) => [D(p, {
|
|
924
921
|
onEditorSelected: e.setActiveEditor,
|
|
925
922
|
onScreenSelected: e.setActiveSidebarScreen,
|
|
926
923
|
onContentCollapsed: t[1] ||= (t) => e.sidebarCollapsed = t,
|
|
@@ -964,11 +961,11 @@ function bt(e, t, n, r, i, a) {
|
|
|
964
961
|
"containerWidth",
|
|
965
962
|
"activeDashboardKey"
|
|
966
963
|
])]),
|
|
967
|
-
"right-panel": B(() => [e.globalChatOpen ? (
|
|
968
|
-
default: B(() => [e.showingCredentialPrompt ? (
|
|
969
|
-
default: B(() => [e.activeScreen && ["editors"].includes(e.activeScreen) ? (
|
|
964
|
+
"right-panel": B(() => [e.globalChatOpen ? (P(), x(m, { key: 0 })) : S("", !0)]),
|
|
965
|
+
default: B(() => [e.showingCredentialPrompt ? (P(), x(h, { key: 0 })) : (P(), x(ee, { key: 1 }, {
|
|
966
|
+
default: B(() => [e.activeScreen && ["editors"].includes(e.activeScreen) ? (P(), x(v, { key: 0 }, T({ _: 2 }, [e.activeEditor && e.activeEditorData ? {
|
|
970
967
|
name: "editor",
|
|
971
|
-
fn: B(({ containerHeight: t }) => [e.activeEditorData.type == "preql" ? (
|
|
968
|
+
fn: B(({ containerHeight: t }) => [e.activeEditorData.type == "preql" ? (P(), x(g, {
|
|
972
969
|
key: 0,
|
|
973
970
|
context: "main-trilogy",
|
|
974
971
|
editorId: e.activeEditor,
|
|
@@ -981,7 +978,7 @@ function bt(e, t, n, r, i, a) {
|
|
|
981
978
|
"containerHeight",
|
|
982
979
|
"onSaveEditors",
|
|
983
980
|
"onSaveModels"
|
|
984
|
-
])) : (
|
|
981
|
+
])) : (P(), x(g, {
|
|
985
982
|
key: 1,
|
|
986
983
|
context: "main-sql",
|
|
987
984
|
containerHeight: t,
|
|
@@ -996,7 +993,7 @@ function bt(e, t, n, r, i, a) {
|
|
|
996
993
|
key: "0"
|
|
997
994
|
} : void 0, e.activeEditorData ? {
|
|
998
995
|
name: "results",
|
|
999
|
-
fn: B(({ containerHeight: t }) => [
|
|
996
|
+
fn: B(({ containerHeight: t }) => [D(_, {
|
|
1000
997
|
editorData: e.activeEditorData,
|
|
1001
998
|
containerHeight: t,
|
|
1002
999
|
runEditorQuery: e.runQuery,
|
|
@@ -1015,39 +1012,39 @@ function bt(e, t, n, r, i, a) {
|
|
|
1015
1012
|
"onContentChange"
|
|
1016
1013
|
])]),
|
|
1017
1014
|
key: "1"
|
|
1018
|
-
} : void 0]), 1024)) : e.activeScreen === "connections" ? (
|
|
1015
|
+
} : void 0]), 1024)) : e.activeScreen === "connections" ? (P(), x(y, {
|
|
1019
1016
|
key: 1,
|
|
1020
1017
|
activeConnectionKey: e.activeConnectionKey,
|
|
1021
1018
|
onSaveEditors: e.saveEditorsCall
|
|
1022
|
-
}, null, 8, ["activeConnectionKey", "onSaveEditors"])) : e.activeScreen === "tutorial" ? (
|
|
1019
|
+
}, null, 8, ["activeConnectionKey", "onSaveEditors"])) : e.activeScreen === "tutorial" ? (P(), x(b, {
|
|
1023
1020
|
key: 2,
|
|
1024
1021
|
activeDocumentationKey: e.activeDocumentationKey
|
|
1025
|
-
}, null, 8, ["activeDocumentationKey"])) : e.activeScreen === "models" ? (
|
|
1022
|
+
}, null, 8, ["activeDocumentationKey"])) : e.activeScreen === "models" ? (P(), x(w, {
|
|
1026
1023
|
key: 3,
|
|
1027
1024
|
activeModelKey: e.activeModelKey,
|
|
1028
1025
|
onSaveEditors: e.saveEditorsCall
|
|
1029
|
-
}, null, 8, ["activeModelKey", "onSaveEditors"])) : e.activeScreen === "profile" ? (
|
|
1026
|
+
}, null, 8, ["activeModelKey", "onSaveEditors"])) : e.activeScreen === "profile" ? (P(), x(E, { key: 4 })) : e.activeScreen === "settings" ? (P(), x(O, { key: 5 })) : e.activeScreen === "dashboard" ? (P(), x(u, {
|
|
1030
1027
|
key: 6,
|
|
1031
1028
|
name: e.activeDashboard,
|
|
1032
1029
|
onFullScreen: e.toggleFullScreen
|
|
1033
|
-
}, null, 8, ["name", "onFullScreen"])) : e.activeScreen === "dashboard-import" ? (
|
|
1030
|
+
}, null, 8, ["name", "onFullScreen"])) : e.activeScreen === "dashboard-import" ? (P(), x(d, {
|
|
1034
1031
|
key: 7,
|
|
1035
1032
|
onImportComplete: e.handleImportComplete,
|
|
1036
1033
|
onFullScreen: e.toggleFullScreen
|
|
1037
|
-
}, null, 8, ["onImportComplete", "onFullScreen"])) : e.activeScreen === "asset-import" ? (
|
|
1034
|
+
}, null, 8, ["onImportComplete", "onFullScreen"])) : e.activeScreen === "asset-import" ? (P(), x(f, {
|
|
1038
1035
|
key: 8,
|
|
1039
1036
|
onImportComplete: e.handleAssetImportComplete,
|
|
1040
1037
|
onFullScreen: e.toggleFullScreen
|
|
1041
|
-
}, null, 8, ["onImportComplete", "onFullScreen"])) : e.activeScreen === "community-models" ? (
|
|
1038
|
+
}, null, 8, ["onImportComplete", "onFullScreen"])) : e.activeScreen === "community-models" ? (P(), x(k, {
|
|
1042
1039
|
key: 9,
|
|
1043
1040
|
activeCommunityModelKey: e.activeCommunityModelKey
|
|
1044
|
-
}, null, 8, ["activeCommunityModelKey"])) : e.activeScreen === "jobs" ? (
|
|
1041
|
+
}, null, 8, ["activeCommunityModelKey"])) : e.activeScreen === "jobs" ? (P(), x(A, {
|
|
1045
1042
|
key: 10,
|
|
1046
1043
|
activeJobsKey: e.activeJobsKey
|
|
1047
|
-
}, null, 8, ["activeJobsKey"])) : e.activeScreen === "llms" ? (
|
|
1044
|
+
}, null, 8, ["activeJobsKey"])) : e.activeScreen === "llms" ? (P(), x(j, {
|
|
1048
1045
|
key: 11,
|
|
1049
1046
|
initialTab: e.llmInitialTab
|
|
1050
|
-
}, null, 8, ["initialTab"])) : (
|
|
1047
|
+
}, null, 8, ["initialTab"])) : (P(), x(M, {
|
|
1051
1048
|
key: 12,
|
|
1052
1049
|
"demo-error": e.demoLaunchError,
|
|
1053
1050
|
onScreenSelected: e.setActiveScreen,
|