@trilogy-data/trilogy-studio-components 0.1.28 → 0.1.30
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/README.md +1 -0
- package/dist/AssetAutoImporter-BA8C4p09.js +403 -0
- package/dist/{ChatCreatorModal-Cd40SvdM.js → ChatCreatorModal-94gZ9D-y.js} +1 -1
- package/dist/{CodeBlock-Dj-GfTbW.js → CodeBlock-C9o09ipr.js} +1 -1
- package/dist/{CommunityModels-lX2RhHCG.js → CommunityModels-D48H9Bqt.js} +6 -6
- package/dist/{ConnectionView-CZ06qjjE.js → ConnectionView-sEXGE8Vs.js} +5 -5
- package/dist/{CreateEditorFromDatasourcePopup-DwA938kf.js → CreateEditorFromDatasourcePopup-BUoegyem.js} +2 -2
- package/dist/{Dashboard-CQsIqWZC.js → Dashboard-C6adKZ7q.js} +202 -203
- package/dist/{DashboardImportSelector-CkqH52FX.js → DashboardImportSelector-CQqXshDj.js} +1 -1
- package/dist/{DashboardMobile-DWFlel5p.js → DashboardMobile-BU1nDLQv.js} +42 -42
- package/dist/{Editor-DQ66Vp6v.js → Editor-DO4VRvek.js} +9 -10
- package/dist/{ErrorMessage-D5JeF3Iz.js → ErrorMessage-Cz7q7vJI.js} +1 -1
- package/dist/{GlobalChatPanel-B_s3COHE.js → GlobalChatPanel-Ct6oSj_A.js} +20 -20
- package/dist/{IDE-4-Jg6gsM.js → IDE-kdaEhA4g.js} +19 -20
- package/dist/{JobsView-B5NWDUgP.js → JobsView-BcyWrDRf.js} +11 -11
- package/dist/{LLMChat-eKgEc-I3.js → LLMChat-Dg8VvTIP.js} +19 -19
- package/dist/{LLMView-CdTwMLVV.js → LLMView-CZNNYXC1.js} +61 -61
- package/dist/{LoadingView-Bu3wLJ7J.js → LoadingView-k2CIKiN7.js} +1 -1
- package/dist/{MarkdownRenderer-B6lqdkgc.js → MarkdownRenderer-Dlb_KGmk.js} +1 -1
- package/dist/{MobileIDE-CZlg20oa.js → MobileIDE-BQcdjWUT.js} +26 -27
- package/dist/{ModelCard-Bs_d7Jis.js → ModelCard-Dn2b5WLs.js} +5 -5
- package/dist/{ModelView-BP5yyecx.js → ModelView-BEi83zrX.js} +6 -6
- package/dist/{PageLoading-DKFeqkmK.js → PageLoading-C7H6q6U6.js} +248 -248
- package/dist/{ResultComponent-BaDheojB.js → ResultComponent-DW9Q9tp9.js} +5 -5
- package/dist/{Results-CrpHB101.js → Results-N2OttUlb.js} +19 -19
- package/dist/{StatusIcon-Clfyy-Yn.js → StatusIcon-B21tjIXx.js} +1 -1
- package/dist/{StoreTokenModal-CO5hXMs3.js → StoreTokenModal-CHgvjLGl.js} +1 -1
- package/dist/{SymbolsPane-XFVErDFb.js → SymbolsPane-DUrLpSSw.js} +11 -11
- package/dist/{TutorialPage-CMcTYDOV.js → TutorialPage-DHgPuFN0.js} +11 -11
- package/dist/{VegaLiteChart-DX_LbF3g.js → VegaLiteChart-BqHLSptG.js} +11116 -11067
- package/dist/{WelcomePage-B6E35FUa.js → WelcomePage-CN6ptsoF.js} +3 -3
- package/dist/agent.js +1349 -0
- package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
- package/dist/components/chartControlsManager.d.ts +0 -1
- package/dist/components/chartControlsManager.d.ts.map +1 -1
- package/dist/{cssMode-zpO2ap2B.js → cssMode-DW4OByy3.js} +2 -2
- package/dist/dashboard.js +63 -63
- package/dist/dashboards/chartTheme.d.ts +68 -0
- package/dist/dashboards/chartTheme.d.ts.map +1 -0
- package/dist/dashboards/donutSpec.d.ts +2 -1
- package/dist/dashboards/donutSpec.d.ts.map +1 -1
- package/dist/dashboards/headlineSpec.d.ts +2 -1
- package/dist/dashboards/headlineSpec.d.ts.map +1 -1
- package/dist/dashboards/helpers.d.ts +23 -0
- package/dist/dashboards/helpers.d.ts.map +1 -1
- package/dist/dashboards/index.d.ts +2 -0
- package/dist/dashboards/index.d.ts.map +1 -1
- package/dist/dashboards/layerSpec.d.ts +4 -1
- package/dist/dashboards/layerSpec.d.ts.map +1 -1
- package/dist/dashboards/pointSpec.d.ts +2 -1
- package/dist/dashboards/pointSpec.d.ts.map +1 -1
- package/dist/dashboards/spec.d.ts +8 -1
- package/dist/dashboards/spec.d.ts.map +1 -1
- package/dist/{editor.main-BQh6DxDB.js → editor.main-TuTbSVcN.js} +22 -22
- package/dist/{editorStore-CiWH_nGN.js → editorStore-Czhpct1j.js} +1751 -1181
- package/dist/entry.agent.d.ts +12 -0
- package/dist/entry.agent.d.ts.map +1 -0
- package/dist/entry.llm.d.ts +1 -1
- package/dist/entry.llm.d.ts.map +1 -1
- package/dist/{freemarker2-DQBqlEXc.js → freemarker2-ZGcKAI8o.js} +1 -1
- package/dist/{globalChatRuntime-DAERmOdu.js → globalChatRuntime-BnMYNYqe.js} +35 -35
- package/dist/{handlebars-tgYxaM70.js → handlebars-B3s0Qrrb.js} +1 -1
- package/dist/{helpers-C2pARJoZ.js → helpers-B3tq3RZK.js} +17 -17
- package/dist/{html-jJahD3Mi.js → html-DM1koKCG.js} +1 -1
- package/dist/{htmlMode-BA1-8l2e.js → htmlMode-CpPImbDh.js} +2 -2
- package/dist/{javascript-Cypfo7va.js → javascript-jClqu73w.js} +1 -1
- package/dist/{jsonMode-xJye8PWS.js → jsonMode-CwFYTPO9.js} +2 -2
- package/dist/{liquid-BGDrv5da.js → liquid-C6l-UINC.js} +1 -1
- package/dist/llm/chatAgentPrompt.d.ts +4 -16
- package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
- package/dist/llm/dashboardAgentRuntime.d.ts +10 -10
- package/dist/llm/dashboardAgentTools.d.ts +10 -10
- package/dist/llm/data/prompts.d.ts +1 -1
- package/dist/llm/data/prompts.d.ts.map +1 -1
- package/dist/llm/data/trilogySyntax.generated.d.ts +3 -3
- package/dist/llm/data/trilogySyntax.generated.d.ts.map +1 -1
- package/dist/llm/returnToUserTool.d.ts +20 -0
- package/dist/llm/returnToUserTool.d.ts.map +1 -0
- package/dist/llm/toolLoopCore.d.ts +7 -0
- package/dist/llm/toolLoopCore.d.ts.map +1 -1
- package/dist/llm/utils.d.ts.map +1 -1
- package/dist/{llm-Wf4Etiu9.js → llm-Bc1CfjOE.js} +2203 -2722
- package/dist/llm.js +3 -3
- package/dist/{localStorage-C3xms-ab.js → localStorage-Cy0sHlT0.js} +19 -19
- package/dist/{lspLanguageFeatures-V3e_p9oN.js → lspLanguageFeatures-GDtuGOTD.js} +1 -1
- package/dist/{mdx-BUR1aImW.js → mdx-BQEQ0k1f.js} +1 -1
- package/dist/monaco.js +3 -3
- package/dist/{python-YLkl0pc6.js → python-USoVCfWY.js} +1 -1
- package/dist/{razor-BP8TRMDY.js → razor-BxmgiR-q.js} +1 -1
- package/dist/{reconcile-BH_ReGDR.js → reconcile-DtPcgEjQ.js} +1 -1
- package/dist/{remoteStoreSync-B0K8QScO.js → remoteStoreSync-CscErZ-I.js} +2 -2
- package/dist/{stores-DTGQZ4_B.js → stores-DgdADCiH.js} +323 -323
- package/dist/stores.js +3 -4
- package/dist/trilogy-studio-components.css +1 -1
- package/dist/{tsMode-BH9HS_sH.js → tsMode-BEQ7aXX4.js} +1 -1
- package/dist/{typescript-BM-ynfk9.js → typescript-CzBSjjfY.js} +1 -1
- package/dist/{useChatWithTools-BSrzJtYI.js → useChatWithTools-CMhGxdyr.js} +14 -14
- package/dist/{useDashboard-CGeIdDuX.js → useDashboard-CjZgjmgb.js} +553 -553
- package/dist/{useGlobalChatPanel-D9kMZLeF.js → useGlobalChatPanel-Doeilj18.js} +69 -70
- package/dist/views/LLMView.vue.d.ts +23 -23
- package/dist/views/TutorialPage.vue.d.ts +10 -10
- package/dist/views.js +147 -148
- package/dist/vite.agent.config.d.ts +3 -0
- package/dist/vite.agent.config.d.ts.map +1 -0
- package/dist/{workers-B9Eybl-M.js → workers-CHvkad0r.js} +2 -2
- package/dist/{xml-M5WFPSpA.js → xml-ODdyS0gX.js} +1 -1
- package/dist/{yaml-CEeFwjz9.js → yaml-PCBTA2qD.js} +1 -1
- package/package.json +7 -2
- package/dist/AssetAutoImporter-C_7Ms9xe.js +0 -403
- package/dist/rolldown-runtime-B0aSnxlc.js +0 -20
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { pn as e } from "./llm-Bc1CfjOE.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
3
3
|
import { u as n } from "./base-DuKnVD-A.js";
|
|
4
|
-
import { n as r } from "./editorStore-
|
|
4
|
+
import { n as r } from "./editorStore-Czhpct1j.js";
|
|
5
5
|
import { t as i } from "./dist-Bv3D2p5A.js";
|
|
6
|
-
import { t as a } from "./LoadingView-
|
|
7
|
-
import { t as o } from "./Results-
|
|
8
|
-
import { t as s } from "./LLMChat-
|
|
6
|
+
import { t as a } from "./LoadingView-k2CIKiN7.js";
|
|
7
|
+
import { t as o } from "./Results-N2OttUlb.js";
|
|
8
|
+
import { t as s } from "./LLMChat-Dg8VvTIP.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,21 +1,21 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { c as r, o as i, s as a } from "./stores-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as u } from "./
|
|
1
|
+
import { $t as e } from "./llm-Bc1CfjOE.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
3
|
+
import { u as n } from "./base-DuKnVD-A.js";
|
|
4
|
+
import { c as r, o as i, s as a } from "./stores-DgdADCiH.js";
|
|
5
|
+
import { t as o } from "./VegaLiteChart-BqHLSptG.js";
|
|
6
|
+
import { l as s, r as c, u as l } from "./useGlobalChatPanel-Doeilj18.js";
|
|
7
|
+
import { t as u } from "./ErrorMessage-Cz7q7vJI.js";
|
|
8
8
|
import { t as d } from "./DrilldownPane-BheRHJMs.js";
|
|
9
|
-
import { t as f } from "./CodeBlock-
|
|
9
|
+
import { t as f } from "./CodeBlock-C9o09ipr.js";
|
|
10
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";
|
|
11
11
|
//#region components/editor/Results.vue?vue&type=script&lang.ts
|
|
12
12
|
var O = {
|
|
13
13
|
name: "ResultsContainer",
|
|
14
14
|
components: {
|
|
15
|
-
DataTable:
|
|
16
|
-
VegaLiteChart:
|
|
17
|
-
ErrorMessage:
|
|
18
|
-
LoadingButton:
|
|
15
|
+
DataTable: c,
|
|
16
|
+
VegaLiteChart: o,
|
|
17
|
+
ErrorMessage: u,
|
|
18
|
+
LoadingButton: l,
|
|
19
19
|
CodeBlock: f,
|
|
20
20
|
DrilldownPane: d
|
|
21
21
|
},
|
|
@@ -25,7 +25,7 @@ var O = {
|
|
|
25
25
|
required: !0
|
|
26
26
|
},
|
|
27
27
|
results: {
|
|
28
|
-
type:
|
|
28
|
+
type: n,
|
|
29
29
|
required: !0
|
|
30
30
|
},
|
|
31
31
|
chartConfig: {
|
|
@@ -98,10 +98,10 @@ var O = {
|
|
|
98
98
|
onChartChange(e) {
|
|
99
99
|
this.$emit("config-change", e);
|
|
100
100
|
},
|
|
101
|
-
activateDrilldown(
|
|
102
|
-
let
|
|
103
|
-
|
|
104
|
-
remove:
|
|
101
|
+
activateDrilldown(t) {
|
|
102
|
+
let n = Object.keys(t.filters)[0], r = e(t.filters);
|
|
103
|
+
n && (this.activeDrilldown = {
|
|
104
|
+
remove: n,
|
|
105
105
|
filter: r
|
|
106
106
|
});
|
|
107
107
|
},
|
|
@@ -135,7 +135,7 @@ var O = {
|
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
setup() {
|
|
138
|
-
let e = x("connectionStore"), t =
|
|
138
|
+
let e = x("connectionStore"), t = s();
|
|
139
139
|
if (!e) throw Error("Requires injection of connection store");
|
|
140
140
|
return {
|
|
141
141
|
connectionStore: e,
|
|
@@ -273,6 +273,6 @@ function z(e, t, n, r, i, a) {
|
|
|
273
273
|
"onDrilldownClick"
|
|
274
274
|
]))])]);
|
|
275
275
|
}
|
|
276
|
-
var B = /*#__PURE__*/
|
|
276
|
+
var B = /*#__PURE__*/ t(O, [["render", z], ["__scopeId", "data-v-d34f762d"]]);
|
|
277
277
|
//#endregion
|
|
278
278
|
export { B as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
-
import { f as t } from "./useGlobalChatPanel-
|
|
2
|
+
import { f as t } from "./useGlobalChatPanel-Doeilj18.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
1
|
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
-
import { p as t } from "./useGlobalChatPanel-
|
|
2
|
+
import { p as t } from "./useGlobalChatPanel-Doeilj18.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 {
|
|
2
|
-
import {
|
|
1
|
+
import { xt as e } from "./llm-Bc1CfjOE.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-f9Rw-Il4.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 = {
|
|
@@ -77,8 +77,8 @@ var x = {
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
emits: ["select-symbol", "focus-search"],
|
|
80
|
-
setup(
|
|
81
|
-
let n = m(""), i = m([]), a = m(null), o = r(() =>
|
|
80
|
+
setup(t) {
|
|
81
|
+
let n = m(""), i = m([]), a = m(null), o = r(() => t.editorHeight ? `${t.editorHeight}px` : "100%"), s = m({
|
|
82
82
|
keys: !0,
|
|
83
83
|
properties: !0,
|
|
84
84
|
metrics: !0,
|
|
@@ -121,14 +121,14 @@ var x = {
|
|
|
121
121
|
}
|
|
122
122
|
c.x = i, c.y = a;
|
|
123
123
|
}, T = () => {
|
|
124
|
-
if (!
|
|
124
|
+
if (!t.symbols) {
|
|
125
125
|
i.value = [];
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
|
-
let r = n.value.toLowerCase().trim(), a = [...
|
|
129
|
-
s.value.showAutoDerived || (a = a.filter((
|
|
130
|
-
let n =
|
|
131
|
-
return !
|
|
128
|
+
let r = n.value.toLowerCase().trim(), a = [...t.symbols];
|
|
129
|
+
s.value.showAutoDerived || (a = a.filter((t) => {
|
|
130
|
+
let n = t.label || "";
|
|
131
|
+
return !e(n);
|
|
132
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) => {
|
|
133
133
|
let t = e.label.toLowerCase(), n = (e.description || "").toLowerCase();
|
|
134
134
|
return t.includes(r) || n.includes(r);
|
|
@@ -137,7 +137,7 @@ var x = {
|
|
|
137
137
|
return a && !o ? -1 : !a && o ? 1 : n.localeCompare(i);
|
|
138
138
|
})), i.value = a.sort((e, t) => e.label.localeCompare(t.label));
|
|
139
139
|
};
|
|
140
|
-
return y(() =>
|
|
140
|
+
return y(() => t.symbols, (e) => {
|
|
141
141
|
T();
|
|
142
142
|
}, { immediate: !0 }), y(n, () => {
|
|
143
143
|
T();
|
|
@@ -306,6 +306,6 @@ function $(e, t, r, c, l, p) {
|
|
|
306
306
|
])], 4)) : i("", !0)
|
|
307
307
|
], 4);
|
|
308
308
|
}
|
|
309
|
-
var ee = /*#__PURE__*/
|
|
309
|
+
var ee = /*#__PURE__*/ t(S, [["render", $], ["__scopeId", "data-v-6c9886c8"]]);
|
|
310
310
|
//#endregion
|
|
311
311
|
export { ee as t };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
|
|
2
|
-
import { t } from "./Dashboard-
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import { l as r, u as i } from "./useGlobalChatPanel-
|
|
6
|
-
import { t as a } from "./MarkdownRenderer-
|
|
7
|
-
import { t as o } from "./CommunityModels-
|
|
8
|
-
import { c as s, i as c, l, s as u } from "./PageLoading-
|
|
9
|
-
import { t as d } from "./Editor-
|
|
10
|
-
import { t as f } from "./CodeBlock-
|
|
11
|
-
import { t as p } from "./ResultComponent-
|
|
12
|
-
import { t as m } from "./ModelCard-
|
|
2
|
+
import { t } from "./Dashboard-C6adKZ7q.js";
|
|
3
|
+
import { o as n } from "./editorStore-Czhpct1j.js";
|
|
4
|
+
import "./stores-DgdADCiH.js";
|
|
5
|
+
import { l as r, u as i } from "./useGlobalChatPanel-Doeilj18.js";
|
|
6
|
+
import { t as a } from "./MarkdownRenderer-Dlb_KGmk.js";
|
|
7
|
+
import { t as o } from "./CommunityModels-D48H9Bqt.js";
|
|
8
|
+
import { c as s, i as c, l, s as u } from "./PageLoading-C7H6q6U6.js";
|
|
9
|
+
import { t as d } from "./Editor-DO4VRvek.js";
|
|
10
|
+
import { t as f } from "./CodeBlock-C9o09ipr.js";
|
|
11
|
+
import { t as p } from "./ResultComponent-DW9Q9tp9.js";
|
|
12
|
+
import { t as m } from "./ModelCard-Dn2b5WLs.js";
|
|
13
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";
|
|
14
14
|
//#region components/tutorial/TutorialFunction.vue?vue&type=script&lang.ts
|
|
15
15
|
var ee = C({
|