@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,11 +1,10 @@
|
|
|
1
|
-
import { n as e } from "./rolldown-runtime-
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as pe } from "./Editor-DhsP18KE.js";
|
|
1
|
+
import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
3
|
+
import { d as ee } from "./stores-LlyiwSbK.js";
|
|
4
|
+
import { B as te, C as ne, G as re, J as ie, K as ae, U as oe, V as se, W as ce, nt as le, ot as ue } from "./editorStore-CAlMJftt.js";
|
|
5
|
+
import { t as de } from "./reconcile-DXIvGwBk.js";
|
|
6
|
+
import { t as fe } from "./StoreTokenModal-CM8WXdu1.js";
|
|
7
|
+
import { t as pe } from "./Editor-D6tdutTm.js";
|
|
9
8
|
import { Fragment as n, computed as r, createBlock as me, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as he, defineComponent as c, inject as l, normalizeClass as u, openBlock as d, provide as ge, ref as f, renderList as p, toDisplayString as m, unref as h, watch as _e } from "vue";
|
|
10
9
|
//#region utils/terminalOutput.ts
|
|
11
10
|
var g = /\u001B(?:\][^\u0007]*(?:\u0007|\u001B\\)|\[[0-?]*[ -/]*[@-~])/g, ve = (e) => e ? e.replace(g, "") : "", ye = (e) => e ? (g.lastIndex = 0, g.test(e)) : !1, be = { class: "jobs-page" }, xe = { class: "jobs-header" }, Se = { class: "jobs-title" }, Ce = { class: "jobs-subtitle" }, we = { class: "header-actions" }, Te = ["disabled"], Ee = ["disabled"], De = ["disabled"], Oe = ["disabled"], ke = {
|
|
@@ -130,7 +129,7 @@ var g = /\u001B(?:\][^\u0007]*(?:\u0007|\u001B\\)|\[[0-?]*[ -/]*[@-~])/g, ve = (
|
|
|
130
129
|
__name: "JobsView",
|
|
131
130
|
props: { activeJobsKey: {} },
|
|
132
131
|
setup(e) {
|
|
133
|
-
let t = e, c =
|
|
132
|
+
let t = e, c = ne(), g = ee(), y = f(!1), b = r(() => c.stores.filter((e) => e.type === "generic")), x = r(() => t.activeJobsKey || b.value[0]?.id || ""), S = r(() => x.value.split("+")), C = r(() => S.value[0] || ""), w = r(() => b.value.find((e) => e.id === C.value) || null), T = r(() => w.value?.name || "No store selected"), E = r(() => S.value.length === 1 ? "store" : S.value[1] === "directory" ? "directory" : "file"), D = r(() => decodeURIComponent(S.value[2] || "")), O = r(() => C.value ? g.filesByStore[C.value] : void 0), nn = r(() => O.value?.directories.filter((e) => e.directory !== "").length || 0), rn = r(() => O.value?.directories.reduce((e, t) => e + t.files.length, 0) || 0), k = r(() => C.value ? g.errors[C.value] : ""), an = r(() => {
|
|
134
133
|
let e = [{
|
|
135
134
|
label: "Store",
|
|
136
135
|
value: T.value
|
|
@@ -146,12 +145,12 @@ var g = /\u001B(?:\][^\u0007]*(?:\u0007|\u001B\\)|\[[0-?]*[ -/]*[@-~])/g, ve = (
|
|
|
146
145
|
label: "Directory",
|
|
147
146
|
value: D.value
|
|
148
147
|
}), e;
|
|
149
|
-
let t =
|
|
148
|
+
let t = le(D.value);
|
|
150
149
|
return t && e.push({
|
|
151
150
|
label: "Type",
|
|
152
151
|
value: t
|
|
153
152
|
}), e;
|
|
154
|
-
}), A = r(() => C.value ? E.value === "store" ? g.getStoreJobs(C.value) : g.getJobsForTarget(C.value, D.value) : []), j = r(() => E.value === "directory" || E.value === "file" &&
|
|
153
|
+
}), A = r(() => C.value ? E.value === "store" ? g.getStoreJobs(C.value) : g.getJobsForTarget(C.value, D.value) : []), j = r(() => E.value === "directory" || E.value === "file" && ue(D.value)), on = r(() => {
|
|
155
154
|
if (E.value === "store") return T.value;
|
|
156
155
|
if (E.value === "directory") return D.value;
|
|
157
156
|
let e = D.value.split("/");
|
|
@@ -172,10 +171,10 @@ var g = /\u001B(?:\][^\u0007]*(?:\u0007|\u001B\\)|\[[0-?]*[ -/]*[@-~])/g, ve = (
|
|
|
172
171
|
H.value[e] = !H.value[e];
|
|
173
172
|
}, hn = (e) => {
|
|
174
173
|
U.value[e] = !U.value[e];
|
|
175
|
-
}, W = (e) =>
|
|
174
|
+
}, W = (e) => ce(e), G = (e) => se(e), gn = (e) => oe(e), K = (e) => ie(e), _n = (e) => ae(e.partitions).slice(0, v), vn = (e) => Math.max(0, e.partitions.length - v), yn = (e) => te(e), q = async (e = !1) => {
|
|
176
175
|
C.value && await g.fetchStateForTarget(C.value, N.value, e);
|
|
177
176
|
}, J = async (e) => {
|
|
178
|
-
|
|
177
|
+
C.value && D.value && await g.submitJob(C.value, D.value, e);
|
|
179
178
|
}, bn = async (e) => {
|
|
180
179
|
C.value && (c.updateStoreToken(C.value, e), y.value = !1, await g.fetchFilesForStore(C.value), g.storeStatus[C.value] === "connected" && await g.resumeAuthPausedJobs(C.value));
|
|
181
180
|
}, xn = async (e) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "./MarkdownRenderer-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import { et as t } from "./llm-ClU-2rgk.js";
|
|
3
|
+
import { t as n } from "./MarkdownRenderer-BWvdx0k3.js";
|
|
4
4
|
import { Fragment as r, Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, nextTick as p, normalizeClass as m, onMounted as h, onUnmounted as g, openBlock as _, ref as v, renderList as y, renderSlot as b, resolveComponent as x, toDisplayString as S, vModelText as C, watch as w, withDirectives as T, withKeys as E, withModifiers as D } from "vue";
|
|
5
5
|
//#region components/EditableTitle.vue?vue&type=script&lang.ts
|
|
6
6
|
var O = f({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as s } from "./DashboardImportSelector-
|
|
6
|
-
import { t as c } from "./MarkdownRenderer-
|
|
7
|
-
import { t as l } from "./SymbolsPane-
|
|
8
|
-
import { t as u } from "./useChatWithTools-
|
|
9
|
-
import { t as d } from "./CodeBlock-
|
|
10
|
-
import { t as f } from "./Results-
|
|
11
|
-
import { t as p } from "./LLMChat-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import { c as t, u as n } from "./base-DuKnVD-A.js";
|
|
3
|
+
import { Ft as r, It as i, vt as a } from "./llm-ClU-2rgk.js";
|
|
4
|
+
import { h as o } from "./stores-LlyiwSbK.js";
|
|
5
|
+
import { t as s } from "./DashboardImportSelector-kuDRDYi8.js";
|
|
6
|
+
import { t as c } from "./MarkdownRenderer-BWvdx0k3.js";
|
|
7
|
+
import { t as l } from "./SymbolsPane-DfaxeaPS.js";
|
|
8
|
+
import { t as u } from "./useChatWithTools-m3Jn_SV-.js";
|
|
9
|
+
import { t as d } from "./CodeBlock-BBsaC6hX.js";
|
|
10
|
+
import { t as f } from "./Results-dq-SlJbU.js";
|
|
11
|
+
import { t as p } from "./LLMChat-Cch33Yd_.js";
|
|
12
12
|
import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, guardReactiveProps as C, inject as w, nextTick as T, normalizeClass as E, normalizeProps as D, normalizeStyle as O, onMounted as ee, openBlock as k, ref as A, renderList as j, renderSlot as M, resolveComponent as N, toDisplayString as P, vModelSelect as te, vModelText as F, vShow as I, watch as L, withCtx as R, withDirectives as z, withKeys as ne, withModifiers as B } from "vue";
|
|
13
13
|
//#region components/llm/ArtifactsPane.vue?vue&type=script&lang.ts
|
|
14
14
|
var V = 450, H = 25, U = 120, W = 450, G = 20, K = 80, q = 350, J = 800, Y = S({
|
|
@@ -41,12 +41,12 @@ var V = 450, H = 25, U = 120, W = 450, G = 20, K = 80, q = 350, J = 800, Y = S({
|
|
|
41
41
|
artifact: e,
|
|
42
42
|
originalIndex: t
|
|
43
43
|
})).filter(({ artifact: e }) => e.hidden)), c = (e) => {
|
|
44
|
-
let
|
|
45
|
-
return
|
|
44
|
+
let t = e.data;
|
|
45
|
+
return t instanceof n ? t : t?.headers && t?.data ? n.fromJSON(t) : null;
|
|
46
46
|
}, l = (e) => {
|
|
47
47
|
if (e.type !== "markdown") return null;
|
|
48
|
-
let
|
|
49
|
-
return
|
|
48
|
+
let t = e.data?.queryResults;
|
|
49
|
+
return t ? t instanceof n ? t : t?.headers && t?.data ? n.fromJSON(t) : null : null;
|
|
50
50
|
}, u = (e) => {
|
|
51
51
|
switch (e.type) {
|
|
52
52
|
case "results": return "mdi mdi-table";
|
|
@@ -62,7 +62,7 @@ var V = 450, H = 25, U = 120, W = 450, G = 20, K = 80, q = 350, J = 800, Y = S({
|
|
|
62
62
|
let n = p(e, t), a = new Set(i.value);
|
|
63
63
|
a.has(n) ? a.delete(n) : (a.add(n), r("update:activeArtifactIndex", t)), i.value = a;
|
|
64
64
|
}, _ = (e) => {
|
|
65
|
-
for (let
|
|
65
|
+
for (let n of e.headers.values()) if (n.type === t.ARRAY || n.type === t.STRUCT) return !0;
|
|
66
66
|
return !1;
|
|
67
67
|
};
|
|
68
68
|
return {
|
|
@@ -748,7 +748,7 @@ var Ee = /*#__PURE__*/ e(he, [["render", Te], ["__scopeId", "data-v-fee8f6a1"]])
|
|
|
748
748
|
scenarioResults: l,
|
|
749
749
|
testRunDetails: u,
|
|
750
750
|
runAllScenarios: async () => {
|
|
751
|
-
if (!
|
|
751
|
+
if (!i.value && d.value) {
|
|
752
752
|
a.value = !0, n.value = [], n.value.push({
|
|
753
753
|
role: "user",
|
|
754
754
|
content: "RUNNING ALL TESTS IN SEQUENCE (5 iterations each)"
|
|
@@ -851,7 +851,7 @@ var rt = /*#__PURE__*/ e(Oe, [["render", nt], ["__scopeId", "data-v-28356d02"]])
|
|
|
851
851
|
//#endregion
|
|
852
852
|
//#region chats/publishArtifactsToDashboard.ts
|
|
853
853
|
function it(e, t) {
|
|
854
|
-
let n = t.name || "Chat Artifacts",
|
|
854
|
+
let n = t.name || "Chat Artifacts", r = new i({
|
|
855
855
|
id: n,
|
|
856
856
|
name: n,
|
|
857
857
|
connection: t.connection,
|
|
@@ -859,21 +859,21 @@ function it(e, t) {
|
|
|
859
859
|
storage: "local",
|
|
860
860
|
state: "editing"
|
|
861
861
|
});
|
|
862
|
-
t.imports && (
|
|
862
|
+
t.imports && (r.imports = t.imports.map((e) => ({ ...e })));
|
|
863
863
|
for (let t of e) {
|
|
864
864
|
let e = at(t);
|
|
865
865
|
if (!e) continue;
|
|
866
|
-
let { type: n, content:
|
|
867
|
-
|
|
866
|
+
let { type: n, content: i, name: a, chartConfig: o, height: s } = e, c = r.addItem(n, 0, 0, 20, s, null, a);
|
|
867
|
+
r.gridItems[c].content = i, o && (r.gridItems[c].chartConfig = o);
|
|
868
868
|
}
|
|
869
|
-
return
|
|
869
|
+
return r.changed = !0, r;
|
|
870
870
|
}
|
|
871
871
|
function at(e) {
|
|
872
872
|
switch (e.type) {
|
|
873
873
|
case "chart": {
|
|
874
874
|
let t = e.config?.query || "";
|
|
875
875
|
return {
|
|
876
|
-
type:
|
|
876
|
+
type: r.CHART,
|
|
877
877
|
content: t,
|
|
878
878
|
name: e.config?.title || "Chart",
|
|
879
879
|
chartConfig: e.config?.chartConfig,
|
|
@@ -883,7 +883,7 @@ function at(e) {
|
|
|
883
883
|
case "results": {
|
|
884
884
|
let t = e.config?.query || "";
|
|
885
885
|
return {
|
|
886
|
-
type:
|
|
886
|
+
type: r.TABLE,
|
|
887
887
|
content: t,
|
|
888
888
|
name: e.config?.title || "Table",
|
|
889
889
|
height: 10
|
|
@@ -895,7 +895,7 @@ function at(e) {
|
|
|
895
895
|
query: e.data?.query || ""
|
|
896
896
|
};
|
|
897
897
|
return {
|
|
898
|
-
type:
|
|
898
|
+
type: r.MARKDOWN,
|
|
899
899
|
content: t,
|
|
900
900
|
name: e.config?.title || "Markdown",
|
|
901
901
|
height: t.query ? 10 : 4
|
|
@@ -904,7 +904,7 @@ function at(e) {
|
|
|
904
904
|
case "code": {
|
|
905
905
|
let t = `\`\`\`${e.config?.language || "sql"}\n${e.data || ""}\n\`\`\``;
|
|
906
906
|
return {
|
|
907
|
-
type:
|
|
907
|
+
type: r.MARKDOWN,
|
|
908
908
|
content: t,
|
|
909
909
|
name: e.config?.title || "Code",
|
|
910
910
|
height: 4
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { t } from "./
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import { c as t } from "./useGlobalChatPanel-DuP1q7_f.js";
|
|
3
3
|
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, nextTick as c, normalizeClass as l, onBeforeUnmount as u, onMounted as d, openBlock as f, ref as p, toDisplayString as m } from "vue";
|
|
4
4
|
//#region components/LoadingView.vue?vue&type=script&lang.ts
|
|
5
5
|
var h = s({
|