@trilogy-data/trilogy-studio-components 0.1.9 → 0.1.11

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 (113) hide show
  1. package/dist/{ChatCreatorModal-OdRvXdg7.js → ChatCreatorModal-ByXgDUoO.js} +1 -1
  2. package/dist/{Dashboard-0k2aaopG.js → Dashboard-D6A2aYgv.js} +3 -3
  3. package/dist/{DashboardCreatorInline-C3VT9f4a.js → DashboardCreatorInline-Cgfinl3I.js} +1 -1
  4. package/dist/{DashboardMobile-2Lc3YcR2.js → DashboardMobile-BbZH1Qir.js} +20 -20
  5. package/dist/{LLMConnectionList-CyW30Rgm.js → LLMConnectionList-Cl3h5pBm.js} +884 -856
  6. package/dist/LLMView-BRDqi_8s.js +656 -0
  7. package/dist/Manager-Baa6Lvxg.js +4 -0
  8. package/dist/{ResultComponent-D6ENatmo.js → ResultComponent-RFos0Fha.js} +6 -6
  9. package/dist/{Sidebar-Cdr2TdFV.js → Sidebar-Bvu5hS2B.js} +289 -268
  10. package/dist/{TutorialPage-BGa-NtBJ.js → TutorialPage-ChaeJTUC.js} +4 -4
  11. package/dist/{WelcomePage-DLxIPXsA.js → WelcomePage-B06IC6Uy.js} +1 -1
  12. package/dist/chats/chat.d.ts +11 -1
  13. package/dist/chats/chat.d.ts.map +1 -1
  14. package/dist/chats/publishArtifactsToDashboard.d.ts +21 -0
  15. package/dist/chats/publishArtifactsToDashboard.d.ts.map +1 -0
  16. package/dist/components/MarkdownRenderer.vue.d.ts +1 -1
  17. package/dist/components/dashboard/DashboardMarkdown.vue.d.ts +1 -1
  18. package/dist/components/editor/Editor.vue.d.ts +1 -2
  19. package/dist/components/editor/Editor.vue.d.ts.map +1 -1
  20. package/dist/components/editor/ResultComponent.vue.d.ts +77 -18
  21. package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -1
  22. package/dist/components/layout/SidebarLayout.vue.d.ts +14 -2
  23. package/dist/components/layout/SidebarLayout.vue.d.ts.map +1 -1
  24. package/dist/components/llm/ArtifactsPane.vue.d.ts +885 -0
  25. package/dist/components/llm/ArtifactsPane.vue.d.ts.map +1 -0
  26. package/dist/components/llm/ChatArtifact.vue.d.ts +37 -1
  27. package/dist/components/llm/ChatArtifact.vue.d.ts.map +1 -1
  28. package/dist/components/llm/LLMChat.vue.d.ts +19 -4
  29. package/dist/components/llm/LLMChat.vue.d.ts.map +1 -1
  30. package/dist/components/llm/LLMChatSplitView.vue.d.ts +859 -703
  31. package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -1
  32. package/dist/components/llm/LLMEditorRefinement.vue.d.ts +77 -18
  33. package/dist/components/llm/LLMEditorRefinement.vue.d.ts.map +1 -1
  34. package/dist/components/model/ModelCard.vue.d.ts +1 -2
  35. package/dist/components/model/ModelCard.vue.d.ts.map +1 -1
  36. package/dist/components/sidebar/ConnectionList.vue.d.ts.map +1 -1
  37. package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -1
  38. package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts.map +1 -1
  39. package/dist/components/sidebar/LLMConnectionList.vue.d.ts +2 -2
  40. package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
  41. package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts.map +1 -1
  42. package/dist/components/sidebar/LLMProviderIcon.vue.d.ts.map +1 -1
  43. package/dist/components/tutorial/TutorialPrompt.vue.d.ts +78 -20
  44. package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
  45. package/dist/composables/useChatWithTools.d.ts.map +1 -1
  46. package/dist/composables/useEditorRefinement.d.ts.map +1 -1
  47. package/dist/composables/useToolLoop.d.ts +0 -2
  48. package/dist/composables/useToolLoop.d.ts.map +1 -1
  49. package/dist/{cssMode-B3ho0HV1.js → cssMode-C091JrjG.js} +1 -1
  50. package/dist/dashboards/helpers.d.ts.map +1 -1
  51. package/dist/data/githubStorage.d.ts.map +1 -1
  52. package/dist/data/localStorage.d.ts.map +1 -1
  53. package/dist/editors/results.d.ts.map +1 -1
  54. package/dist/{freemarker2-CVSRiESZ.js → freemarker2-X1eIBwal.js} +1 -1
  55. package/dist/{handlebars-Ds19fsS7.js → handlebars-BlVeu042.js} +1 -1
  56. package/dist/{html-C4KpMEX_.js → html-WyM-Pvly.js} +1 -1
  57. package/dist/{htmlMode-BpDpZxd_.js → htmlMode-DQST6Ar_.js} +1 -1
  58. package/dist/{javascript-DVRyvgPM.js → javascript-CYyejasU.js} +1 -1
  59. package/dist/{jsonMode-BBjGf1vJ.js → jsonMode-CESsFbpD.js} +1 -1
  60. package/dist/{liquid-dmReO7kS.js → liquid-DdP-I3Ox.js} +1 -1
  61. package/dist/llm/chatAgentPrompt.d.ts +262 -0
  62. package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
  63. package/dist/llm/chatHelpers.d.ts +0 -11
  64. package/dist/llm/chatHelpers.d.ts.map +1 -1
  65. package/dist/llm/chatToolExecutor.d.ts +10 -0
  66. package/dist/llm/chatToolExecutor.d.ts.map +1 -1
  67. package/dist/llm/demo.d.ts +29 -0
  68. package/dist/llm/demo.d.ts.map +1 -0
  69. package/dist/llm/editorRefinementToolExecutor.d.ts +4 -0
  70. package/dist/llm/editorRefinementToolExecutor.d.ts.map +1 -1
  71. package/dist/llm/editorRefinementTools.d.ts +40 -0
  72. package/dist/llm/editorRefinementTools.d.ts.map +1 -1
  73. package/dist/llm/index.d.ts +3 -2
  74. package/dist/llm/index.d.ts.map +1 -1
  75. package/dist/llm/openrouter.d.ts +5 -0
  76. package/dist/llm/openrouter.d.ts.map +1 -1
  77. package/dist/llm/toolLoopCore.d.ts +36 -7
  78. package/dist/llm/toolLoopCore.d.ts.map +1 -1
  79. package/dist/llm/utils.d.ts +4 -1
  80. package/dist/llm/utils.d.ts.map +1 -1
  81. package/dist/{main-B7Jr4lF7.js → main-DP4aLnEK.js} +38725 -37865
  82. package/dist/main.css +1 -1
  83. package/dist/main.d.ts +2 -1
  84. package/dist/main.d.ts.map +1 -1
  85. package/dist/main.js +17 -16
  86. package/dist/main.umd.cjs +627 -582
  87. package/dist/{mdx-BwmfqX1A.js → mdx-VGDZf6-F.js} +1 -1
  88. package/dist/{python-BwbsBL9D.js → python-BiiBBLHE.js} +1 -1
  89. package/dist/{razor-Cez_dCE1.js → razor-ogBkymZ8.js} +1 -1
  90. package/dist/stores/chatStore.d.ts.map +1 -1
  91. package/dist/stores/editorStore.d.ts.map +1 -1
  92. package/dist/stores/llmStore.d.ts +1 -10
  93. package/dist/stores/llmStore.d.ts.map +1 -1
  94. package/dist/stores/queryExecutionService.d.ts +1 -0
  95. package/dist/stores/queryExecutionService.d.ts.map +1 -1
  96. package/dist/stores/resolver.d.ts +1 -0
  97. package/dist/stores/resolver.d.ts.map +1 -1
  98. package/dist/stores/useScreenNavigation.d.ts.map +1 -1
  99. package/dist/{tsMode-D-UYasUi.js → tsMode-DP-1CE0D.js} +1 -1
  100. package/dist/{typescript-_9ojgBKb.js → typescript-ByG-a0Ne.js} +1 -1
  101. package/dist/{useDashboard-CdXX3N67.js → useDashboard-Dx-2dWkF.js} +1 -1
  102. package/dist/utility/markdownRenderer.d.ts.map +1 -1
  103. package/dist/views/LLMView.vue.d.ts +2724 -2151
  104. package/dist/views/LLMView.vue.d.ts.map +1 -1
  105. package/dist/views/ModelView.vue.d.ts +2 -4
  106. package/dist/views/ModelView.vue.d.ts.map +1 -1
  107. package/dist/views/TutorialPage.vue.d.ts +161 -47
  108. package/dist/views/TutorialPage.vue.d.ts.map +1 -1
  109. package/dist/{xml-BZe5K5QU.js → xml-DmCesN6f.js} +1 -1
  110. package/dist/{yaml-B_vCzyTx.js → yaml-DpZLn6t1.js} +1 -1
  111. package/package.json +1 -1
  112. package/dist/LLMView-DKOdYGLc.js +0 -558
  113. package/dist/Manager-DU3egRRh.js +0 -4
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, inject as L, ref as S, watch as b, computed as c, resolveComponent as U, createElementBlock as d, createCommentVNode as m, openBlock as l, createElementVNode as a, withModifiers as j, createTextVNode as O, withDirectives as h, createBlock as D, Fragment as M, renderList as N, toDisplayString as C, vModelSelect as k, normalizeClass as R, vModelText as E } from "vue";
2
- import { h as I, K, a as T } from "./main-B7Jr4lF7.js";
2
+ import { h as I, K, a as T } from "./main-DP4aLnEK.js";
3
3
  const z = B({
4
4
  name: "ChatCreatorModal",
5
5
  components: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as sn, ref as k, provide as Bo, onBeforeUnmount as Vn, onBeforeMount as Lo, onMounted as Kn, nextTick as yt, watch as G, createElementBlock as Pt, openBlock as vt, normalizeStyle as Te, renderSlot as Qn, withDirectives as Ho, createVNode as Bt, vShow as Wo, inject as jo, computed as Lt, useSlots as $o, normalizeClass as yn, createCommentVNode as Ye, getCurrentInstance as Uo, createBlock as xe, unref as _, createElementVNode as He, withCtx as bn, Fragment as xn, renderList as Xo, Teleport as wn, toDisplayString as qo } from "vue";
2
- import { u as Yo, D as Go, _ as Vo, a as Ko, b as Qo, C as Jo, M as Zo } from "./useDashboard-CdXX3N67.js";
3
- import { D as ti } from "./DashboardCreatorInline-C3VT9f4a.js";
4
- import { q as ei, a as ni } from "./main-B7Jr4lF7.js";
2
+ import { u as Yo, D as Go, _ as Vo, a as Ko, b as Qo, C as Jo, M as Zo } from "./useDashboard-Dx-2dWkF.js";
3
+ import { D as ti } from "./DashboardCreatorInline-Cgfinl3I.js";
4
+ import { v as ei, a as ni } from "./main-DP4aLnEK.js";
5
5
  var oi = Object.defineProperty, ii = (e, t, n) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, f = (e, t, n) => (ii(e, typeof t != "symbol" ? t + "" : t, n), n);
6
6
  function ri(e) {
7
7
  let t = 0, n;
@@ -1,5 +1,5 @@
1
1
  import { inject as m, ref as p, computed as D, createElementBlock as l, createCommentVNode as C, openBlock as i, createElementVNode as r, withDirectives as y, withKeys as E, vModelText as _, Fragment as k, renderList as I, toDisplayString as N, vModelSelect as P } from "vue";
2
- import { a as V } from "./main-B7Jr4lF7.js";
2
+ import { a as V } from "./main-DP4aLnEK.js";
3
3
  const F = {
4
4
  name: "DashboardCreatorInline",
5
5
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as he, computed as pe, createElementBlock as u, openBlock as d, createVNode as h, createCommentVNode as I, createBlock as R, unref as e, Fragment as k, renderList as be, normalizeStyle as fe, createElementVNode as r, Teleport as x, toDisplayString as ge, createTextVNode as A, nextTick as ve } from "vue";
2
- import { u as Ce, D as ye, _ as Ie, a as ke, b as we, C as Te, M as Me } from "./useDashboard-CdXX3N67.js";
3
- import { D as De } from "./DashboardCreatorInline-C3VT9f4a.js";
4
- import { q as Ee, F as g, a as Fe } from "./main-B7Jr4lF7.js";
5
- const Se = {
2
+ import { u as Ce, D as ye, _ as Ie, a as ke, b as we, C as Te, M as Me } from "./useDashboard-Dx-2dWkF.js";
3
+ import { D as De } from "./DashboardCreatorInline-Cgfinl3I.js";
4
+ import { v as Ee, B as g, a as Se } from "./main-DP4aLnEK.js";
5
+ const Fe = {
6
6
  key: 0,
7
7
  class: "dashboard-mobile-container"
8
8
  }, Re = {
@@ -11,10 +11,10 @@ const Se = {
11
11
  }, xe = {
12
12
  key: 1,
13
13
  class: "mobile-container"
14
- }, Ae = ["data-i"], Ne = {
14
+ }, Ae = ["data-i"], Be = {
15
15
  key: 2,
16
16
  class: "mobile-nav-bar"
17
- }, Be = {
17
+ }, Ne = {
18
18
  key: 1,
19
19
  class: "dashboard-not-found"
20
20
  }, _e = 400, He = /* @__PURE__ */ he({
@@ -37,8 +37,8 @@ const Se = {
37
37
  }), {
38
38
  // State
39
39
  sortedLayout: b,
40
- editMode: N,
41
- selectedConnection: B,
40
+ editMode: B,
41
+ selectedConnection: N,
42
42
  filter: _,
43
43
  filterError: H,
44
44
  globalCompletion: T,
@@ -64,7 +64,7 @@ const Se = {
64
64
  closeEditors: E,
65
65
  getDashboardQueryExecutor: X,
66
66
  getItemData: c,
67
- setItemData: F,
67
+ setItemData: S,
68
68
  handleRefresh: Z,
69
69
  setCrossFilter: ee,
70
70
  removeFilter: oe,
@@ -82,7 +82,7 @@ const Se = {
82
82
  },
83
83
  // Not needed for mobile
84
84
  dimensionsUpdate: (o) => C(o),
85
- triggerResize: () => S(),
85
+ triggerResize: () => F(),
86
86
  fullScreen: () => {
87
87
  }
88
88
  // Not needed for mobile
@@ -93,10 +93,10 @@ const Se = {
93
93
  const t = document.querySelector(`.mobile-item[data-i="${o}"] .grid-item-content`);
94
94
  if (t) {
95
95
  const n = t.getBoundingClientRect(), a = 36, l = Math.floor(n.width), m = Math.floor(n.height - a);
96
- i.value.id && F(o, i.value.id, { width: l, height: m });
96
+ i.value.id && S(o, i.value.id, { width: l, height: m });
97
97
  }
98
98
  }
99
- function S() {
99
+ function F() {
100
100
  i.value && b.value.forEach((o) => {
101
101
  C(o.i);
102
102
  });
@@ -127,7 +127,7 @@ const Se = {
127
127
  }
128
128
  function re(o) {
129
129
  z(o), ve(() => {
130
- S();
130
+ F();
131
131
  });
132
132
  }
133
133
  function le() {
@@ -174,11 +174,11 @@ const Se = {
174
174
  behavior: "smooth"
175
175
  });
176
176
  }
177
- return (o, t) => i.value ? (d(), u("div", Se, [
177
+ return (o, t) => i.value ? (d(), u("div", Fe, [
178
178
  h(ye, {
179
179
  dashboard: i.value,
180
180
  "edits-locked": i.value.state === "locked",
181
- "selected-connection": e(B),
181
+ "selected-connection": e(N),
182
182
  filterError: e(H),
183
183
  globalCompletion: e(T),
184
184
  validateFilter: e(U),
@@ -208,14 +208,14 @@ const Se = {
208
208
  h(ke, {
209
209
  "dashboard-id": i.value.id,
210
210
  item: n,
211
- "edit-mode": e(N),
211
+ "edit-mode": e(B),
212
212
  filter: e(_),
213
213
  "get-item-data": e(c),
214
214
  symbols: e(T),
215
215
  "get-dashboard-query-executor": e(X),
216
216
  onDimensionClick: e(ee),
217
217
  onBackgroundClick: e(te),
218
- "set-item-data": e(F),
218
+ "set-item-data": e(S),
219
219
  onEditContent: e(J),
220
220
  onRemoveFilter: e(oe),
221
221
  onUpdateDimensions: C,
@@ -224,7 +224,7 @@ const Se = {
224
224
  }, null, 8, ["dashboard-id", "item", "edit-mode", "filter", "get-item-data", "symbols", "get-dashboard-query-executor", "onDimensionClick", "onBackgroundClick", "set-item-data", "onEditContent", "onRemoveFilter", "onRemoveItem", "onCopyItem"])
225
225
  ], 12, Ae))), 128))
226
226
  ])),
227
- e(b).length > 1 ? (d(), u("div", Ne, [
227
+ e(b).length > 1 ? (d(), u("div", Be, [
228
228
  r("button", {
229
229
  onClick: le,
230
230
  class: "nav-btn",
@@ -286,7 +286,7 @@ const Se = {
286
286
  onCancel: e(E)
287
287
  }, null, 8, ["connectionName", "imports", "rootContent", "content", "onSave", "onCancel"])
288
288
  ])) : I("", !0)
289
- ])) : (d(), u("div", Be, [
289
+ ])) : (d(), u("div", Ne, [
290
290
  v.name ? (d(), u(k, { key: 0 }, [
291
291
  t[4] || (t[4] = r("h2", null, "Dashboard Not Found", -1)),
292
292
  r("p", null, 'The dashboard "' + ge(v.name) + '" could not be found.', 1)
@@ -304,7 +304,7 @@ const Se = {
304
304
  ], 64))
305
305
  ]));
306
306
  }
307
- }), Oe = /* @__PURE__ */ Fe(He, [["__scopeId", "data-v-d92f9e7d"]]);
307
+ }), Oe = /* @__PURE__ */ Se(He, [["__scopeId", "data-v-d92f9e7d"]]);
308
308
  export {
309
309
  Oe as default
310
310
  };