@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,11 @@
|
|
|
1
|
-
import { n as e } from "./rolldown-runtime-
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
3
|
-
import {
|
|
4
|
-
import { n as r } from "./
|
|
5
|
-
import { t as i } from "./dist-
|
|
6
|
-
import { t as a } from "./LoadingView-
|
|
7
|
-
import { t as o } from "./Results-
|
|
8
|
-
import { t as s } from "./LLMChat-
|
|
1
|
+
import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
3
|
+
import { u as n } from "./base-DuKnVD-A.js";
|
|
4
|
+
import { n as r } from "./editorStore-CAlMJftt.js";
|
|
5
|
+
import { t as i } from "./dist-Bv3D2p5A.js";
|
|
6
|
+
import { t as a } from "./LoadingView-B-xFwd2N.js";
|
|
7
|
+
import { t as o } from "./Results-dq-SlJbU.js";
|
|
8
|
+
import { t as s } from "./LLMChat-Cch33Yd_.js";
|
|
9
9
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, inject as g, openBlock as _, ref as v, renderList as y, resolveComponent as b, toDisplayString as x, withCtx as S } from "vue";
|
|
10
10
|
//#region components/HintComponent.vue?vue&type=script&lang.ts
|
|
11
11
|
function C() {
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as d } from "./DataTable-DoRDynP1.js";
|
|
11
|
-
import { t as f } from "./CodeBlock-PT4no49I.js";
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import { u as t } from "./base-DuKnVD-A.js";
|
|
3
|
+
import { Zt as n } from "./llm-ClU-2rgk.js";
|
|
4
|
+
import { c as r, o as i, s as a } from "./stores-LlyiwSbK.js";
|
|
5
|
+
import { l as o, r as s, u as c } from "./useGlobalChatPanel-DuP1q7_f.js";
|
|
6
|
+
import { t as l } from "./ErrorMessage-D5JeF3Iz.js";
|
|
7
|
+
import { t as u } from "./VegaLiteChart-BVyAab-o.js";
|
|
8
|
+
import { t as d } from "./DrilldownPane-BheRHJMs.js";
|
|
9
|
+
import { t as f } from "./CodeBlock-BBsaC6hX.js";
|
|
12
10
|
import { Fragment as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as v, createTextVNode as y, createVNode as b, inject as x, normalizeClass as S, openBlock as C, renderList as w, resolveComponent as T, toDisplayString as E, withCtx as D } from "vue";
|
|
13
11
|
//#region components/editor/Results.vue?vue&type=script&lang.ts
|
|
14
12
|
var O = {
|
|
15
13
|
name: "ResultsContainer",
|
|
16
14
|
components: {
|
|
17
|
-
DataTable:
|
|
18
|
-
VegaLiteChart:
|
|
19
|
-
ErrorMessage:
|
|
20
|
-
LoadingButton:
|
|
15
|
+
DataTable: s,
|
|
16
|
+
VegaLiteChart: u,
|
|
17
|
+
ErrorMessage: l,
|
|
18
|
+
LoadingButton: c,
|
|
21
19
|
CodeBlock: f,
|
|
22
|
-
DrilldownPane:
|
|
20
|
+
DrilldownPane: d
|
|
23
21
|
},
|
|
24
22
|
props: {
|
|
25
23
|
type: {
|
|
@@ -78,7 +76,7 @@ var O = {
|
|
|
78
76
|
} },
|
|
79
77
|
data() {
|
|
80
78
|
return {
|
|
81
|
-
activeTab: this.chartFromStatement ? "visualize" : this.defaultTab ||
|
|
79
|
+
activeTab: this.chartFromStatement ? "visualize" : this.defaultTab || a(i.ACTIVE_EDITOR_TAB, "results"),
|
|
82
80
|
activeDrilldown: null,
|
|
83
81
|
TABS_HEIGHT: 26
|
|
84
82
|
};
|
|
@@ -88,7 +86,7 @@ var O = {
|
|
|
88
86
|
this.type !== "sql" && this.setTab("visualize");
|
|
89
87
|
},
|
|
90
88
|
setTab(e) {
|
|
91
|
-
this.activeTab = e, i
|
|
89
|
+
this.activeTab = e, r(i.ACTIVE_EDITOR_TAB, e);
|
|
92
90
|
},
|
|
93
91
|
handleReconnect() {
|
|
94
92
|
if (this.connection) {
|
|
@@ -137,7 +135,7 @@ var O = {
|
|
|
137
135
|
}
|
|
138
136
|
},
|
|
139
137
|
setup() {
|
|
140
|
-
let e = x("connectionStore"), t =
|
|
138
|
+
let e = x("connectionStore"), t = o();
|
|
141
139
|
if (!e) throw Error("Requires injection of connection store");
|
|
142
140
|
return {
|
|
143
141
|
connectionStore: e,
|
|
@@ -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 { f as t } from "./useGlobalChatPanel-DuP1q7_f.js";
|
|
3
3
|
import { computed as n, createBlock as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, withCtx as l } from "vue";
|
|
4
4
|
//#region components/StatusIcon.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var u = ["data-testid"], d = ["data-testid"], f = /*#__PURE__*/ e(/* @__PURE__ */ o({
|
|
@@ -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 { p as t } from "./useGlobalChatPanel-DuP1q7_f.js";
|
|
3
3
|
import { createBlock as n, createElementVNode as r, defineComponent as i, openBlock as a, ref as o, toDisplayString as s, vModelText as c, watch as l, withCtx as u, withDirectives as d, withModifiers as f } from "vue";
|
|
4
4
|
//#region components/StoreTokenModal.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var p = { class: "form-group" }, m = { class: "store-name" }, h = { class: "form-group" }, g = { class: "dialog-actions" }, _ = ["disabled"], v = /*#__PURE__*/ e(/* @__PURE__ */ i({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import {
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import { yt as t } from "./llm-ClU-2rgk.js";
|
|
3
3
|
import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, nextTick as l, normalizeClass as u, normalizeStyle as d, openBlock as f, reactive as p, ref as m, renderList as h, toDisplayString as g, vModelCheckbox as _, vModelText as v, watch as y, withDirectives as b } from "vue";
|
|
4
4
|
//#region components/SymbolsPane.vue?vue&type=script&lang.ts
|
|
5
5
|
var x = {
|
|
@@ -126,7 +126,10 @@ var x = {
|
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
128
|
let r = n.value.toLowerCase().trim(), a = [...e.symbols];
|
|
129
|
-
s.value.showAutoDerived || (a = a.filter((e) =>
|
|
129
|
+
s.value.showAutoDerived || (a = a.filter((e) => {
|
|
130
|
+
let n = e.label || "";
|
|
131
|
+
return !t(n);
|
|
132
|
+
})), a = a.filter((e) => !(e.trilogySubType === "key" && !s.value.keys || e.trilogySubType === "property" && !s.value.properties || e.trilogySubType === "metric" && !s.value.metrics)), r && (a = a.filter((e) => {
|
|
130
133
|
let t = e.label.toLowerCase(), n = (e.description || "").toLowerCase();
|
|
131
134
|
return t.includes(r) || n.includes(r);
|
|
132
135
|
}).sort((e, t) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as r } from "./
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import { a as t, i as n, r } from "./config-DwTONafa.js";
|
|
3
3
|
import { computed as i, createElementBlock as a, defineComponent as o, normalizeClass as s, normalizeStyle as c, openBlock as l, renderSlot as u } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region components/TrilogyEmbedProvider.vue
|
|
6
|
-
var d = /*#__PURE__*/
|
|
6
|
+
var d = /*#__PURE__*/ e(/* @__PURE__ */ o({
|
|
7
7
|
__name: "TrilogyEmbedProvider",
|
|
8
8
|
props: { theme: {} },
|
|
9
|
-
setup(
|
|
10
|
-
let o =
|
|
11
|
-
|
|
12
|
-
let
|
|
9
|
+
setup(e) {
|
|
10
|
+
let o = e, d = i(() => ({ theme: o.theme }));
|
|
11
|
+
r(d);
|
|
12
|
+
let f = i(() => n(o.theme)), p = i(() => t(o.theme));
|
|
13
13
|
return (e, t) => (l(), a("div", {
|
|
14
|
-
class: s(["trilogy-embed-provider", `trilogy-embed-theme-${
|
|
15
|
-
style: c(
|
|
14
|
+
class: s(["trilogy-embed-provider", `trilogy-embed-theme-${f.value}`]),
|
|
15
|
+
style: c(p.value)
|
|
16
16
|
}, [u(e.$slots, "default", {}, void 0, !0)], 6));
|
|
17
17
|
}
|
|
18
18
|
}), [["__scopeId", "data-v-9a14c043"]]);
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { t } from "./Dashboard-
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import { t as m } from "./ModelCard-D8tKkK9-.js";
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
+
import { t } from "./Dashboard-DxSi9W6Q.js";
|
|
3
|
+
import "./stores-LlyiwSbK.js";
|
|
4
|
+
import { o as n } from "./editorStore-CAlMJftt.js";
|
|
5
|
+
import { l as r, u as i } from "./useGlobalChatPanel-DuP1q7_f.js";
|
|
6
|
+
import { t as a } from "./MarkdownRenderer-BWvdx0k3.js";
|
|
7
|
+
import { t as o } from "./CommunityModels-CIQQhO-y.js";
|
|
8
|
+
import { c as s, i as c, l, s as u } from "./PageLoading-BAvKGo9h.js";
|
|
9
|
+
import { t as d } from "./Editor-D6tdutTm.js";
|
|
10
|
+
import { t as f } from "./CodeBlock-BBsaC6hX.js";
|
|
11
|
+
import { t as p } from "./ResultComponent-zoOSoRLe.js";
|
|
12
|
+
import { t as m } from "./ModelCard-DkAMP4X9.js";
|
|
14
13
|
import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, defineComponent as C, inject as w, normalizeClass as T, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveComponent as A, toDisplayString as j, watch as M, withCtx as N } from "vue";
|
|
15
14
|
//#region components/tutorial/TutorialFunction.vue?vue&type=script&lang.ts
|
|
16
15
|
var ee = C({
|
|
@@ -72,9 +71,9 @@ var J = /*#__PURE__*/ e(ee, [["render", q], ["__scopeId", "data-v-4ab8a3dc"]]),
|
|
|
72
71
|
}), [["__scopeId", "data-v-0f045873"]]), X = {
|
|
73
72
|
name: "TutorialPromptComponent",
|
|
74
73
|
components: {
|
|
75
|
-
Editor:
|
|
76
|
-
ResultComponent:
|
|
77
|
-
CodeBlock:
|
|
74
|
+
Editor: d,
|
|
75
|
+
ResultComponent: p,
|
|
76
|
+
CodeBlock: f
|
|
78
77
|
},
|
|
79
78
|
props: {
|
|
80
79
|
prompts: {
|
|
@@ -206,16 +205,16 @@ var ve = /*#__PURE__*/ e(X, [["render", _e], ["__scopeId", "data-v-27c5ea9d"]]),
|
|
|
206
205
|
optional: !0
|
|
207
206
|
} },
|
|
208
207
|
setup() {
|
|
209
|
-
let e =
|
|
210
|
-
if (!t || !n || !
|
|
208
|
+
let e = r(), t = w("editorStore"), n = w("connectionStore"), i = w("modelStore"), a = w("dashboardStore"), o = w("llmConnectionStore"), s = w("saveEditors"), c = w("saveConnections"), l = w("saveModels"), u = w("saveDashboards");
|
|
209
|
+
if (!t || !n || !i || !a || !o) throw Error("Demo requires more stores!");
|
|
211
210
|
let d = Object.values(a?.dashboards).find((e) => e.name === "example-dashboard" && e.connection === "demo-model-connection")?.id;
|
|
212
|
-
if (!t || !n || !
|
|
211
|
+
if (!t || !n || !i || !a || !o || !s || !c || !l || !u) throw Error("Editor store is not provided!");
|
|
213
212
|
return {
|
|
214
213
|
editorStore: t,
|
|
215
214
|
connectionStore: n,
|
|
216
215
|
dashboardStore: a,
|
|
217
216
|
llmConnectionStore: o,
|
|
218
|
-
modelStore:
|
|
217
|
+
modelStore: i,
|
|
219
218
|
saveEditors: s,
|
|
220
219
|
saveConnections: c,
|
|
221
220
|
saveModels: l,
|
|
@@ -227,16 +226,16 @@ var ve = /*#__PURE__*/ e(X, [["render", _e], ["__scopeId", "data-v-27c5ea9d"]]),
|
|
|
227
226
|
};
|
|
228
227
|
},
|
|
229
228
|
components: {
|
|
230
|
-
LoadingButton:
|
|
231
|
-
ConnectionList:
|
|
232
|
-
LLMConnectionList:
|
|
233
|
-
EditorList:
|
|
229
|
+
LoadingButton: i,
|
|
230
|
+
ConnectionList: s,
|
|
231
|
+
LLMConnectionList: u,
|
|
232
|
+
EditorList: l,
|
|
234
233
|
ModelCard: m,
|
|
235
234
|
HighlightComponent: Y,
|
|
236
|
-
Editor:
|
|
237
|
-
ResultsView:
|
|
235
|
+
Editor: d,
|
|
236
|
+
ResultsView: p,
|
|
238
237
|
CommunityModels: o,
|
|
239
|
-
CodeBlock:
|
|
238
|
+
CodeBlock: f,
|
|
240
239
|
TutorialPrompt: ve,
|
|
241
240
|
Dashboard: t,
|
|
242
241
|
TutorialFunction: J,
|
|
@@ -282,7 +281,7 @@ var ve = /*#__PURE__*/ e(X, [["render", _e], ["__scopeId", "data-v-27c5ea9d"]]),
|
|
|
282
281
|
},
|
|
283
282
|
methods: {
|
|
284
283
|
setupDemo() {
|
|
285
|
-
|
|
284
|
+
c(this.editorStore, this.connectionStore, this.modelStore, this.dashboardStore, this.saveEditors, this.saveConnections, this.saveModels, this.saveDashboards);
|
|
286
285
|
},
|
|
287
286
|
saveEditorsCall() {
|
|
288
287
|
this.saveEditors();
|