@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.
Files changed (110) hide show
  1. package/README.md +1 -0
  2. package/dist/AssetAutoImporter-BA8C4p09.js +403 -0
  3. package/dist/{ChatCreatorModal-Cd40SvdM.js → ChatCreatorModal-94gZ9D-y.js} +1 -1
  4. package/dist/{CodeBlock-Dj-GfTbW.js → CodeBlock-C9o09ipr.js} +1 -1
  5. package/dist/{CommunityModels-lX2RhHCG.js → CommunityModels-D48H9Bqt.js} +6 -6
  6. package/dist/{ConnectionView-CZ06qjjE.js → ConnectionView-sEXGE8Vs.js} +5 -5
  7. package/dist/{CreateEditorFromDatasourcePopup-DwA938kf.js → CreateEditorFromDatasourcePopup-BUoegyem.js} +2 -2
  8. package/dist/{Dashboard-CQsIqWZC.js → Dashboard-C6adKZ7q.js} +202 -203
  9. package/dist/{DashboardImportSelector-CkqH52FX.js → DashboardImportSelector-CQqXshDj.js} +1 -1
  10. package/dist/{DashboardMobile-DWFlel5p.js → DashboardMobile-BU1nDLQv.js} +42 -42
  11. package/dist/{Editor-DQ66Vp6v.js → Editor-DO4VRvek.js} +9 -10
  12. package/dist/{ErrorMessage-D5JeF3Iz.js → ErrorMessage-Cz7q7vJI.js} +1 -1
  13. package/dist/{GlobalChatPanel-B_s3COHE.js → GlobalChatPanel-Ct6oSj_A.js} +20 -20
  14. package/dist/{IDE-4-Jg6gsM.js → IDE-kdaEhA4g.js} +19 -20
  15. package/dist/{JobsView-B5NWDUgP.js → JobsView-BcyWrDRf.js} +11 -11
  16. package/dist/{LLMChat-eKgEc-I3.js → LLMChat-Dg8VvTIP.js} +19 -19
  17. package/dist/{LLMView-CdTwMLVV.js → LLMView-CZNNYXC1.js} +61 -61
  18. package/dist/{LoadingView-Bu3wLJ7J.js → LoadingView-k2CIKiN7.js} +1 -1
  19. package/dist/{MarkdownRenderer-B6lqdkgc.js → MarkdownRenderer-Dlb_KGmk.js} +1 -1
  20. package/dist/{MobileIDE-CZlg20oa.js → MobileIDE-BQcdjWUT.js} +26 -27
  21. package/dist/{ModelCard-Bs_d7Jis.js → ModelCard-Dn2b5WLs.js} +5 -5
  22. package/dist/{ModelView-BP5yyecx.js → ModelView-BEi83zrX.js} +6 -6
  23. package/dist/{PageLoading-DKFeqkmK.js → PageLoading-C7H6q6U6.js} +248 -248
  24. package/dist/{ResultComponent-BaDheojB.js → ResultComponent-DW9Q9tp9.js} +5 -5
  25. package/dist/{Results-CrpHB101.js → Results-N2OttUlb.js} +19 -19
  26. package/dist/{StatusIcon-Clfyy-Yn.js → StatusIcon-B21tjIXx.js} +1 -1
  27. package/dist/{StoreTokenModal-CO5hXMs3.js → StoreTokenModal-CHgvjLGl.js} +1 -1
  28. package/dist/{SymbolsPane-XFVErDFb.js → SymbolsPane-DUrLpSSw.js} +11 -11
  29. package/dist/{TutorialPage-CMcTYDOV.js → TutorialPage-DHgPuFN0.js} +11 -11
  30. package/dist/{VegaLiteChart-DX_LbF3g.js → VegaLiteChart-BqHLSptG.js} +11116 -11067
  31. package/dist/{WelcomePage-B6E35FUa.js → WelcomePage-CN6ptsoF.js} +3 -3
  32. package/dist/agent.js +1349 -0
  33. package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
  34. package/dist/components/chartControlsManager.d.ts +0 -1
  35. package/dist/components/chartControlsManager.d.ts.map +1 -1
  36. package/dist/{cssMode-zpO2ap2B.js → cssMode-DW4OByy3.js} +2 -2
  37. package/dist/dashboard.js +63 -63
  38. package/dist/dashboards/chartTheme.d.ts +68 -0
  39. package/dist/dashboards/chartTheme.d.ts.map +1 -0
  40. package/dist/dashboards/donutSpec.d.ts +2 -1
  41. package/dist/dashboards/donutSpec.d.ts.map +1 -1
  42. package/dist/dashboards/headlineSpec.d.ts +2 -1
  43. package/dist/dashboards/headlineSpec.d.ts.map +1 -1
  44. package/dist/dashboards/helpers.d.ts +23 -0
  45. package/dist/dashboards/helpers.d.ts.map +1 -1
  46. package/dist/dashboards/index.d.ts +2 -0
  47. package/dist/dashboards/index.d.ts.map +1 -1
  48. package/dist/dashboards/layerSpec.d.ts +4 -1
  49. package/dist/dashboards/layerSpec.d.ts.map +1 -1
  50. package/dist/dashboards/pointSpec.d.ts +2 -1
  51. package/dist/dashboards/pointSpec.d.ts.map +1 -1
  52. package/dist/dashboards/spec.d.ts +8 -1
  53. package/dist/dashboards/spec.d.ts.map +1 -1
  54. package/dist/{editor.main-BQh6DxDB.js → editor.main-TuTbSVcN.js} +22 -22
  55. package/dist/{editorStore-CiWH_nGN.js → editorStore-Czhpct1j.js} +1751 -1181
  56. package/dist/entry.agent.d.ts +12 -0
  57. package/dist/entry.agent.d.ts.map +1 -0
  58. package/dist/entry.llm.d.ts +1 -1
  59. package/dist/entry.llm.d.ts.map +1 -1
  60. package/dist/{freemarker2-DQBqlEXc.js → freemarker2-ZGcKAI8o.js} +1 -1
  61. package/dist/{globalChatRuntime-DAERmOdu.js → globalChatRuntime-BnMYNYqe.js} +35 -35
  62. package/dist/{handlebars-tgYxaM70.js → handlebars-B3s0Qrrb.js} +1 -1
  63. package/dist/{helpers-C2pARJoZ.js → helpers-B3tq3RZK.js} +17 -17
  64. package/dist/{html-jJahD3Mi.js → html-DM1koKCG.js} +1 -1
  65. package/dist/{htmlMode-BA1-8l2e.js → htmlMode-CpPImbDh.js} +2 -2
  66. package/dist/{javascript-Cypfo7va.js → javascript-jClqu73w.js} +1 -1
  67. package/dist/{jsonMode-xJye8PWS.js → jsonMode-CwFYTPO9.js} +2 -2
  68. package/dist/{liquid-BGDrv5da.js → liquid-C6l-UINC.js} +1 -1
  69. package/dist/llm/chatAgentPrompt.d.ts +4 -16
  70. package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
  71. package/dist/llm/dashboardAgentRuntime.d.ts +10 -10
  72. package/dist/llm/dashboardAgentTools.d.ts +10 -10
  73. package/dist/llm/data/prompts.d.ts +1 -1
  74. package/dist/llm/data/prompts.d.ts.map +1 -1
  75. package/dist/llm/data/trilogySyntax.generated.d.ts +3 -3
  76. package/dist/llm/data/trilogySyntax.generated.d.ts.map +1 -1
  77. package/dist/llm/returnToUserTool.d.ts +20 -0
  78. package/dist/llm/returnToUserTool.d.ts.map +1 -0
  79. package/dist/llm/toolLoopCore.d.ts +7 -0
  80. package/dist/llm/toolLoopCore.d.ts.map +1 -1
  81. package/dist/llm/utils.d.ts.map +1 -1
  82. package/dist/{llm-Wf4Etiu9.js → llm-Bc1CfjOE.js} +2203 -2722
  83. package/dist/llm.js +3 -3
  84. package/dist/{localStorage-C3xms-ab.js → localStorage-Cy0sHlT0.js} +19 -19
  85. package/dist/{lspLanguageFeatures-V3e_p9oN.js → lspLanguageFeatures-GDtuGOTD.js} +1 -1
  86. package/dist/{mdx-BUR1aImW.js → mdx-BQEQ0k1f.js} +1 -1
  87. package/dist/monaco.js +3 -3
  88. package/dist/{python-YLkl0pc6.js → python-USoVCfWY.js} +1 -1
  89. package/dist/{razor-BP8TRMDY.js → razor-BxmgiR-q.js} +1 -1
  90. package/dist/{reconcile-BH_ReGDR.js → reconcile-DtPcgEjQ.js} +1 -1
  91. package/dist/{remoteStoreSync-B0K8QScO.js → remoteStoreSync-CscErZ-I.js} +2 -2
  92. package/dist/{stores-DTGQZ4_B.js → stores-DgdADCiH.js} +323 -323
  93. package/dist/stores.js +3 -4
  94. package/dist/trilogy-studio-components.css +1 -1
  95. package/dist/{tsMode-BH9HS_sH.js → tsMode-BEQ7aXX4.js} +1 -1
  96. package/dist/{typescript-BM-ynfk9.js → typescript-CzBSjjfY.js} +1 -1
  97. package/dist/{useChatWithTools-BSrzJtYI.js → useChatWithTools-CMhGxdyr.js} +14 -14
  98. package/dist/{useDashboard-CGeIdDuX.js → useDashboard-CjZgjmgb.js} +553 -553
  99. package/dist/{useGlobalChatPanel-D9kMZLeF.js → useGlobalChatPanel-Doeilj18.js} +69 -70
  100. package/dist/views/LLMView.vue.d.ts +23 -23
  101. package/dist/views/TutorialPage.vue.d.ts +10 -10
  102. package/dist/views.js +147 -148
  103. package/dist/vite.agent.config.d.ts +3 -0
  104. package/dist/vite.agent.config.d.ts.map +1 -0
  105. package/dist/{workers-B9Eybl-M.js → workers-CHvkad0r.js} +2 -2
  106. package/dist/{xml-M5WFPSpA.js → xml-ODdyS0gX.js} +1 -1
  107. package/dist/{yaml-CEeFwjz9.js → yaml-PCBTA2qD.js} +1 -1
  108. package/package.json +7 -2
  109. package/dist/AssetAutoImporter-C_7Ms9xe.js +0 -403
  110. package/dist/rolldown-runtime-B0aSnxlc.js +0 -20
@@ -1,11 +1,11 @@
1
- import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
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-CiWH_nGN.js";
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-Bu3wLJ7J.js";
7
- import { t as o } from "./Results-CrpHB101.js";
8
- import { t as s } from "./LLMChat-eKgEc-I3.js";
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 "./_plugin-vue_export-helper-f9Rw-Il4.js";
2
- import { u as t } from "./base-DuKnVD-A.js";
3
- import { Zt as n } from "./llm-Wf4Etiu9.js";
4
- import { c as r, o as i, s as a } from "./stores-DTGQZ4_B.js";
5
- import { l as o, r as s, u as c } from "./useGlobalChatPanel-D9kMZLeF.js";
6
- import { t as l } from "./ErrorMessage-D5JeF3Iz.js";
7
- import { t as u } from "./VegaLiteChart-DX_LbF3g.js";
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-Dj-GfTbW.js";
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: s,
16
- VegaLiteChart: u,
17
- ErrorMessage: l,
18
- LoadingButton: c,
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: t,
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(e) {
102
- let t = Object.keys(e.filters)[0], r = n(e.filters);
103
- t && (this.activeDrilldown = {
104
- remove: t,
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 = o();
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__*/ e(O, [["render", z], ["__scopeId", "data-v-d34f762d"]]);
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-D9kMZLeF.js";
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-D9kMZLeF.js";
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 { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
2
- import { yt as t } from "./llm-Wf4Etiu9.js";
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(e) {
81
- let n = m(""), i = m([]), a = m(null), o = r(() => e.editorHeight ? `${e.editorHeight}px` : "100%"), s = m({
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 (!e.symbols) {
124
+ if (!t.symbols) {
125
125
  i.value = [];
126
126
  return;
127
127
  }
128
- let r = n.value.toLowerCase().trim(), a = [...e.symbols];
129
- s.value.showAutoDerived || (a = a.filter((e) => {
130
- let n = e.label || "";
131
- return !t(n);
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(() => e.symbols, (e) => {
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__*/ e(S, [["render", $], ["__scopeId", "data-v-6c9886c8"]]);
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-CQsIqWZC.js";
3
- import "./stores-DTGQZ4_B.js";
4
- import { o as n } from "./editorStore-CiWH_nGN.js";
5
- import { l as r, u as i } from "./useGlobalChatPanel-D9kMZLeF.js";
6
- import { t as a } from "./MarkdownRenderer-B6lqdkgc.js";
7
- import { t as o } from "./CommunityModels-lX2RhHCG.js";
8
- import { c as s, i as c, l, s as u } from "./PageLoading-DKFeqkmK.js";
9
- import { t as d } from "./Editor-DQ66Vp6v.js";
10
- import { t as f } from "./CodeBlock-Dj-GfTbW.js";
11
- import { t as p } from "./ResultComponent-BaDheojB.js";
12
- import { t as m } from "./ModelCard-Bs_d7Jis.js";
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({