@trilogy-data/trilogy-studio-components 0.1.3 → 0.1.5

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 (143) hide show
  1. package/dist/{ChatCreatorModal-CrRORbVm.js → ChatCreatorModal-BdUJ9uoW.js} +1 -1
  2. package/dist/{Dashboard-CUPl-At6.js → Dashboard-BGpN0Ixs.js} +3 -3
  3. package/dist/{DashboardCreatorInline-C5qQWVmy.js → DashboardCreatorInline-CZQ5JsIB.js} +1 -1
  4. package/dist/{DashboardMobile-V9X7-wJV.js → DashboardMobile-leXuc7Vi.js} +18 -18
  5. package/dist/{LLMConnectionList-CWONtRCY.js → LLMConnectionList-BfseODm5.js} +115 -115
  6. package/dist/{LLMView-BnN9wjXa.js → LLMView-CkW6UDnK.js} +9 -9
  7. package/dist/Manager-sE56hYtJ.js +4 -0
  8. package/dist/ResultComponent-CcThUn60.js +271 -0
  9. package/dist/{Sidebar-6cjut4cK.js → Sidebar-gsKRqjCv.js} +3 -3
  10. package/dist/{TutorialPage-j03hgD_I.js → TutorialPage-DEOrK1-3.js} +4 -4
  11. package/dist/{WelcomePage-CuLo21YT.js → WelcomePage-DhWLhWSJ.js} +5 -5
  12. package/dist/chats/chat.d.ts +11 -3
  13. package/dist/chats/chat.d.ts.map +1 -1
  14. package/dist/components/SimpleEditor.vue.d.ts +3 -0
  15. package/dist/components/SimpleEditor.vue.d.ts.map +1 -1
  16. package/dist/components/StatusIcon.vue.d.ts +1 -1
  17. package/dist/components/StatusIcon.vue.d.ts.map +1 -1
  18. package/dist/components/SymbolsPane.vue.d.ts +3 -0
  19. package/dist/components/SymbolsPane.vue.d.ts.map +1 -1
  20. package/dist/components/VegaLiteChart.vue.d.ts +1 -1
  21. package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
  22. package/dist/components/dashboard/DashboardChart.vue.d.ts +1 -1
  23. package/dist/components/dashboard/DashboardChartEditor.vue.d.ts +3 -0
  24. package/dist/components/dashboard/DashboardChartEditor.vue.d.ts.map +1 -1
  25. package/dist/components/dashboard/DashboardHeader.vue.d.ts +2 -2
  26. package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts +3 -0
  27. package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts.map +1 -1
  28. package/dist/components/editor/Editor.vue.d.ts +75 -0
  29. package/dist/components/editor/Editor.vue.d.ts.map +1 -1
  30. package/dist/components/editor/ResultComponent.vue.d.ts +3885 -385
  31. package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -1
  32. package/dist/components/editor/Results.vue.d.ts +33 -15
  33. package/dist/components/editor/Results.vue.d.ts.map +1 -1
  34. package/dist/components/layout/TabbedBrowser.vue.d.ts +15 -3
  35. package/dist/components/layout/TabbedBrowser.vue.d.ts.map +1 -1
  36. package/dist/components/llm/ChatArtifact.vue.d.ts +2 -2
  37. package/dist/components/llm/LLMChat.vue.d.ts +95 -23
  38. package/dist/components/llm/LLMChat.vue.d.ts.map +1 -1
  39. package/dist/components/llm/LLMChatSplitView.vue.d.ts +568 -110
  40. package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -1
  41. package/dist/components/llm/LLMEditorRefinement.vue.d.ts +2079 -0
  42. package/dist/components/llm/LLMEditorRefinement.vue.d.ts.map +1 -0
  43. package/dist/components/llm/LLMValidationView.vue.d.ts +20 -0
  44. package/dist/components/llm/LLMValidationView.vue.d.ts.map +1 -1
  45. package/dist/components/llm/index.d.ts +1 -1
  46. package/dist/components/llm/index.d.ts.map +1 -1
  47. package/dist/components/model/ModelCard.vue.d.ts +146 -0
  48. package/dist/components/model/ModelCard.vue.d.ts.map +1 -1
  49. package/dist/components/sidebar/ConnectionList.vue.d.ts +71 -0
  50. package/dist/components/sidebar/ConnectionList.vue.d.ts.map +1 -1
  51. package/dist/components/sidebar/EditorList.vue.d.ts +71 -0
  52. package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -1
  53. package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts.map +1 -1
  54. package/dist/components/sidebar/LLMConnectionList.vue.d.ts +4 -3
  55. package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
  56. package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts.map +1 -1
  57. package/dist/components/sidebar/LLMProviderIcon.vue.d.ts.map +1 -1
  58. package/dist/components/tutorial/TutorialPrompt.vue.d.ts +3965 -321
  59. package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
  60. package/dist/composables/useChatWithTools.d.ts.map +1 -1
  61. package/dist/composables/useEditorRefinement.d.ts +60 -0
  62. package/dist/composables/useEditorRefinement.d.ts.map +1 -0
  63. package/dist/composables/useToolLoop.d.ts +41 -0
  64. package/dist/composables/useToolLoop.d.ts.map +1 -0
  65. package/dist/{cssMode-B_BSbR-W.js → cssMode-BqpD-bsS.js} +1 -1
  66. package/dist/dashboards/helpers.d.ts +1 -0
  67. package/dist/dashboards/helpers.d.ts.map +1 -1
  68. package/dist/data/githubStorage.d.ts.map +1 -1
  69. package/dist/data/localStorage.d.ts.map +1 -1
  70. package/dist/editors/editor.d.ts +33 -4
  71. package/dist/editors/editor.d.ts.map +1 -1
  72. package/dist/editors/results.d.ts.map +1 -1
  73. package/dist/{freemarker2-Bp8kNjJK.js → freemarker2-3f3Yc8DD.js} +1 -1
  74. package/dist/{handlebars-Bvjlp_mg.js → handlebars-BOGnwoZY.js} +1 -1
  75. package/dist/{html-B7c8qiJo.js → html-kwxiJtb9.js} +1 -1
  76. package/dist/{htmlMode-C6ZcBYOs.js → htmlMode-BSQWll85.js} +1 -1
  77. package/dist/{javascript-CHI4MyUe.js → javascript-Cw2M92n9.js} +1 -1
  78. package/dist/{jsonMode-CT9OdtWR.js → jsonMode-Cj3eACe9.js} +1 -1
  79. package/dist/{liquid-B6QT2GLn.js → liquid-D_YCsjzx.js} +1 -1
  80. package/dist/llm/anthropic.d.ts +28 -0
  81. package/dist/llm/anthropic.d.ts.map +1 -1
  82. package/dist/llm/base.d.ts +30 -1
  83. package/dist/llm/base.d.ts.map +1 -1
  84. package/dist/llm/chatAgentPrompt.d.ts +65 -78
  85. package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
  86. package/dist/llm/chatHelpers.d.ts.map +1 -1
  87. package/dist/llm/consts.d.ts +1 -1
  88. package/dist/llm/data/conceptFilters.d.ts +15 -0
  89. package/dist/llm/data/conceptFilters.d.ts.map +1 -0
  90. package/dist/llm/data/constants.d.ts +1 -1
  91. package/dist/llm/data/constants.d.ts.map +1 -1
  92. package/dist/llm/data/prompts.d.ts.map +1 -1
  93. package/dist/llm/editorRefinementToolExecutor.d.ts +67 -0
  94. package/dist/llm/editorRefinementToolExecutor.d.ts.map +1 -0
  95. package/dist/llm/editorRefinementTools.d.ts +185 -0
  96. package/dist/llm/editorRefinementTools.d.ts.map +1 -0
  97. package/dist/llm/googlev2.d.ts +29 -1
  98. package/dist/llm/googlev2.d.ts.map +1 -1
  99. package/dist/llm/index.d.ts +5 -3
  100. package/dist/llm/index.d.ts.map +1 -1
  101. package/dist/llm/models.d.ts +1 -7
  102. package/dist/llm/models.d.ts.map +1 -1
  103. package/dist/llm/openai.d.ts +41 -0
  104. package/dist/llm/openai.d.ts.map +1 -0
  105. package/dist/llm/sharedToolSchemas.d.ts +93 -0
  106. package/dist/llm/sharedToolSchemas.d.ts.map +1 -0
  107. package/dist/llm/toolLoopCore.d.ts +67 -0
  108. package/dist/llm/toolLoopCore.d.ts.map +1 -0
  109. package/dist/llm/utils.d.ts +5 -1
  110. package/dist/llm/utils.d.ts.map +1 -1
  111. package/dist/{main-BzF_0455.js → main-CMnVPECM.js} +34920 -33616
  112. package/dist/main.css +1 -1
  113. package/dist/main.js +1 -1
  114. package/dist/main.umd.cjs +665 -595
  115. package/dist/{mdx-CDJtQyXd.js → mdx-D1QYgPt9.js} +1 -1
  116. package/dist/{python-BtP8pYzo.js → python-Bd7oj_ae.js} +1 -1
  117. package/dist/{razor-pQwJpgiM.js → razor-B-2sUawM.js} +1 -1
  118. package/dist/stores/Manager.vue.d.ts.map +1 -1
  119. package/dist/stores/chatStore.d.ts +3 -0
  120. package/dist/stores/chatStore.d.ts.map +1 -1
  121. package/dist/stores/editorStore.d.ts +119 -3
  122. package/dist/stores/editorStore.d.ts.map +1 -1
  123. package/dist/stores/llmStore.d.ts.map +1 -1
  124. package/dist/{tsMode-BaWVqjfv.js → tsMode-Ba44DEjT.js} +1 -1
  125. package/dist/{typescript-ChVL7Nc7.js → typescript-DV6B_8EM.js} +1 -1
  126. package/dist/{useDashboard-DW9y_StO.js → useDashboard-DyjtNooA.js} +136 -136
  127. package/dist/views/LLMView.vue.d.ts +2518 -412
  128. package/dist/views/LLMView.vue.d.ts.map +1 -1
  129. package/dist/views/ModelView.vue.d.ts +292 -0
  130. package/dist/views/ModelView.vue.d.ts.map +1 -1
  131. package/dist/views/TutorialPage.vue.d.ts +9605 -2028
  132. package/dist/views/TutorialPage.vue.d.ts.map +1 -1
  133. package/dist/{xml-CBuY2VW0.js → xml-7ZhThnGO.js} +1 -1
  134. package/dist/{yaml-GFIhDEhu.js → yaml-ngaWkYBh.js} +1 -1
  135. package/package.json +1 -1
  136. package/dist/Manager-C401-7UG.js +0 -4
  137. package/dist/ResultComponent-NZfe-7JE.js +0 -155
  138. package/dist/components/llm/LLMChatRefinement.vue.d.ts +0 -135
  139. package/dist/components/llm/LLMChatRefinement.vue.d.ts.map +0 -1
  140. package/dist/llm/mistral.d.ts +0 -12
  141. package/dist/llm/mistral.d.ts.map +0 -1
  142. package/dist/llm/openAI.d.ts +0 -13
  143. package/dist/llm/openAI.d.ts.map +0 -1
@@ -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-BzF_0455.js";
2
+ import { h as I, K, a as T } from "./main-CMnVPECM.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-DW9y_StO.js";
3
- import { D as ti } from "./DashboardCreatorInline-C5qQWVmy.js";
4
- import { r as ei, a as ni } from "./main-BzF_0455.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-DyjtNooA.js";
3
+ import { D as ti } from "./DashboardCreatorInline-CZQ5JsIB.js";
4
+ import { q as ei, a as ni } from "./main-CMnVPECM.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-BzF_0455.js";
2
+ import { a as V } from "./main-CMnVPECM.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-DW9y_StO.js";
3
- import { D as De } from "./DashboardCreatorInline-C5qQWVmy.js";
4
- import { r as Ee, J as g, a as Se } from "./main-BzF_0455.js";
5
- const Fe = {
2
+ import { u as Ce, D as ye, _ as Ie, a as ke, b as we, C as Te, M as Me } from "./useDashboard-DyjtNooA.js";
3
+ import { D as De } from "./DashboardCreatorInline-CZQ5JsIB.js";
4
+ import { q as Ee, F as g, a as Fe } from "./main-CMnVPECM.js";
5
+ const Se = {
6
6
  key: 0,
7
7
  class: "dashboard-mobile-container"
8
8
  }, Re = {
@@ -57,14 +57,14 @@ const Fe = {
57
57
  addItem: Q,
58
58
  clearItems: j,
59
59
  removeItem: G,
60
- copyItem: J,
61
- closeAddModal: K,
62
- openEditor: Y,
60
+ copyItem: K,
61
+ closeAddModal: Y,
62
+ openEditor: J,
63
63
  saveContent: D,
64
64
  closeEditors: E,
65
65
  getDashboardQueryExecutor: X,
66
66
  getItemData: c,
67
- setItemData: S,
67
+ setItemData: F,
68
68
  handleRefresh: Z,
69
69
  setCrossFilter: ee,
70
70
  removeFilter: oe,
@@ -82,7 +82,7 @@ const Fe = {
82
82
  },
83
83
  // Not needed for mobile
84
84
  dimensionsUpdate: (o) => C(o),
85
- triggerResize: () => F(),
85
+ triggerResize: () => S(),
86
86
  fullScreen: () => {
87
87
  }
88
88
  // Not needed for mobile
@@ -93,10 +93,10 @@ const Fe = {
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 && S(o, i.value.id, { width: l, height: m });
96
+ i.value.id && F(o, i.value.id, { width: l, height: m });
97
97
  }
98
98
  }
99
- function F() {
99
+ function S() {
100
100
  i.value && b.value.forEach((o) => {
101
101
  C(o.i);
102
102
  });
@@ -127,7 +127,7 @@ const Fe = {
127
127
  }
128
128
  function re(o) {
129
129
  z(o), ve(() => {
130
- F();
130
+ S();
131
131
  });
132
132
  }
133
133
  function le() {
@@ -174,7 +174,7 @@ const Fe = {
174
174
  behavior: "smooth"
175
175
  });
176
176
  }
177
- return (o, t) => i.value ? (d(), u("div", Fe, [
177
+ return (o, t) => i.value ? (d(), u("div", Se, [
178
178
  h(ye, {
179
179
  dashboard: i.value,
180
180
  "edits-locked": i.value.state === "locked",
@@ -215,12 +215,12 @@ const Fe = {
215
215
  "get-dashboard-query-executor": e(X),
216
216
  onDimensionClick: e(ee),
217
217
  onBackgroundClick: e(te),
218
- "set-item-data": e(S),
219
- onEditContent: e(Y),
218
+ "set-item-data": e(F),
219
+ onEditContent: e(J),
220
220
  onRemoveFilter: e(oe),
221
221
  onUpdateDimensions: C,
222
222
  onRemoveItem: e(G),
223
- onCopyItem: e(J)
223
+ onCopyItem: e(K)
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
  ])),
@@ -257,7 +257,7 @@ const Fe = {
257
257
  h(we, {
258
258
  show: e($),
259
259
  onAdd: e(Q),
260
- onClose: e(K)
260
+ onClose: e(Y)
261
261
  }, null, 8, ["show", "onAdd", "onClose"]),
262
262
  e(M) && e(s) ? (d(), R(x, {
263
263
  key: 3,
@@ -304,7 +304,7 @@ const Fe = {
304
304
  ], 64))
305
305
  ]));
306
306
  }
307
- }), Oe = /* @__PURE__ */ Se(He, [["__scopeId", "data-v-d92f9e7d"]]);
307
+ }), Oe = /* @__PURE__ */ Fe(He, [["__scopeId", "data-v-d92f9e7d"]]);
308
308
  export {
309
309
  Oe as default
310
310
  };