@trilogy-data/trilogy-studio-components 0.1.4 → 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.
- package/dist/{ChatCreatorModal-CIwitCJr.js → ChatCreatorModal-BdUJ9uoW.js} +1 -1
- package/dist/{Dashboard-D3jI63BM.js → Dashboard-BGpN0Ixs.js} +3 -3
- package/dist/{DashboardCreatorInline-BVr9jK0d.js → DashboardCreatorInline-CZQ5JsIB.js} +1 -1
- package/dist/{DashboardMobile-CZfQYJND.js → DashboardMobile-leXuc7Vi.js} +18 -18
- package/dist/{LLMConnectionList-1HRJp3QF.js → LLMConnectionList-BfseODm5.js} +115 -115
- package/dist/{LLMView-CSLjYSdW.js → LLMView-CkW6UDnK.js} +9 -9
- package/dist/Manager-sE56hYtJ.js +4 -0
- package/dist/ResultComponent-CcThUn60.js +271 -0
- package/dist/{Sidebar-CLZWmBSc.js → Sidebar-gsKRqjCv.js} +3 -3
- package/dist/{TutorialPage-DC3pNBJ-.js → TutorialPage-DEOrK1-3.js} +4 -4
- package/dist/{WelcomePage-CzoMUeo0.js → WelcomePage-DhWLhWSJ.js} +5 -5
- package/dist/chats/chat.d.ts +11 -3
- package/dist/chats/chat.d.ts.map +1 -1
- package/dist/components/SimpleEditor.vue.d.ts.map +1 -1
- package/dist/components/StatusIcon.vue.d.ts +1 -1
- package/dist/components/StatusIcon.vue.d.ts.map +1 -1
- package/dist/components/VegaLiteChart.vue.d.ts +1 -1
- package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardChart.vue.d.ts +1 -1
- package/dist/components/dashboard/DashboardHeader.vue.d.ts +2 -2
- package/dist/components/editor/Editor.vue.d.ts +72 -0
- package/dist/components/editor/Editor.vue.d.ts.map +1 -1
- package/dist/components/editor/ResultComponent.vue.d.ts +3885 -385
- package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -1
- package/dist/components/editor/Results.vue.d.ts +33 -15
- package/dist/components/editor/Results.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedBrowser.vue.d.ts +15 -3
- package/dist/components/layout/TabbedBrowser.vue.d.ts.map +1 -1
- package/dist/components/llm/ChatArtifact.vue.d.ts +2 -2
- package/dist/components/llm/LLMChat.vue.d.ts +95 -23
- package/dist/components/llm/LLMChat.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMChatSplitView.vue.d.ts +565 -110
- package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMEditorRefinement.vue.d.ts +2079 -0
- package/dist/components/llm/LLMEditorRefinement.vue.d.ts.map +1 -0
- package/dist/components/llm/LLMValidationView.vue.d.ts +20 -0
- package/dist/components/llm/LLMValidationView.vue.d.ts.map +1 -1
- package/dist/components/llm/index.d.ts +1 -1
- package/dist/components/llm/index.d.ts.map +1 -1
- package/dist/components/model/ModelCard.vue.d.ts +143 -0
- package/dist/components/model/ModelCard.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionList.vue.d.ts +71 -0
- package/dist/components/sidebar/ConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/EditorList.vue.d.ts +71 -0
- package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts +4 -3
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMProviderIcon.vue.d.ts.map +1 -1
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts +3962 -321
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
- package/dist/composables/useChatWithTools.d.ts.map +1 -1
- package/dist/composables/useEditorRefinement.d.ts +60 -0
- package/dist/composables/useEditorRefinement.d.ts.map +1 -0
- package/dist/composables/useToolLoop.d.ts +41 -0
- package/dist/composables/useToolLoop.d.ts.map +1 -0
- package/dist/{cssMode-BkaQoZFt.js → cssMode-BqpD-bsS.js} +1 -1
- package/dist/dashboards/helpers.d.ts +1 -0
- package/dist/dashboards/helpers.d.ts.map +1 -1
- package/dist/data/githubStorage.d.ts.map +1 -1
- package/dist/data/localStorage.d.ts.map +1 -1
- package/dist/editors/editor.d.ts +33 -4
- package/dist/editors/editor.d.ts.map +1 -1
- package/dist/editors/results.d.ts.map +1 -1
- package/dist/{freemarker2-CNS10-fC.js → freemarker2-3f3Yc8DD.js} +1 -1
- package/dist/{handlebars-p2RiA3nK.js → handlebars-BOGnwoZY.js} +1 -1
- package/dist/{html-DPuxm26R.js → html-kwxiJtb9.js} +1 -1
- package/dist/{htmlMode-n-1DOFL9.js → htmlMode-BSQWll85.js} +1 -1
- package/dist/{javascript-DZ2T7Nqs.js → javascript-Cw2M92n9.js} +1 -1
- package/dist/{jsonMode-i7Kirheh.js → jsonMode-Cj3eACe9.js} +1 -1
- package/dist/{liquid-hX1l2fnN.js → liquid-D_YCsjzx.js} +1 -1
- package/dist/llm/anthropic.d.ts +28 -0
- package/dist/llm/anthropic.d.ts.map +1 -1
- package/dist/llm/base.d.ts +30 -1
- package/dist/llm/base.d.ts.map +1 -1
- package/dist/llm/chatAgentPrompt.d.ts +65 -78
- package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
- package/dist/llm/chatHelpers.d.ts.map +1 -1
- package/dist/llm/consts.d.ts +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/prompts.d.ts.map +1 -1
- package/dist/llm/editorRefinementToolExecutor.d.ts +67 -0
- package/dist/llm/editorRefinementToolExecutor.d.ts.map +1 -0
- package/dist/llm/editorRefinementTools.d.ts +185 -0
- package/dist/llm/editorRefinementTools.d.ts.map +1 -0
- package/dist/llm/googlev2.d.ts +29 -1
- package/dist/llm/googlev2.d.ts.map +1 -1
- package/dist/llm/index.d.ts +5 -3
- package/dist/llm/index.d.ts.map +1 -1
- package/dist/llm/models.d.ts +1 -7
- package/dist/llm/models.d.ts.map +1 -1
- package/dist/llm/openai.d.ts +41 -0
- package/dist/llm/openai.d.ts.map +1 -0
- package/dist/llm/sharedToolSchemas.d.ts +93 -0
- package/dist/llm/sharedToolSchemas.d.ts.map +1 -0
- package/dist/llm/toolLoopCore.d.ts +67 -0
- package/dist/llm/toolLoopCore.d.ts.map +1 -0
- package/dist/llm/utils.d.ts +5 -1
- package/dist/llm/utils.d.ts.map +1 -1
- package/dist/{main-Dd5lVGEz.js → main-CMnVPECM.js} +34067 -32789
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/dist/main.umd.cjs +664 -594
- package/dist/{mdx-Cd5SqFY2.js → mdx-D1QYgPt9.js} +1 -1
- package/dist/{python-B4N2TTBz.js → python-Bd7oj_ae.js} +1 -1
- package/dist/{razor-VmL1UHQI.js → razor-B-2sUawM.js} +1 -1
- package/dist/stores/Manager.vue.d.ts.map +1 -1
- package/dist/stores/chatStore.d.ts +3 -0
- package/dist/stores/chatStore.d.ts.map +1 -1
- package/dist/stores/editorStore.d.ts +119 -3
- package/dist/stores/editorStore.d.ts.map +1 -1
- package/dist/stores/llmStore.d.ts.map +1 -1
- package/dist/{tsMode-COLogGl9.js → tsMode-Ba44DEjT.js} +1 -1
- package/dist/{typescript-CvklvdUQ.js → typescript-DV6B_8EM.js} +1 -1
- package/dist/{useDashboard-DwNI2E0x.js → useDashboard-DyjtNooA.js} +136 -136
- package/dist/views/LLMView.vue.d.ts +2509 -412
- package/dist/views/LLMView.vue.d.ts.map +1 -1
- package/dist/views/ModelView.vue.d.ts +286 -0
- package/dist/views/ModelView.vue.d.ts.map +1 -1
- package/dist/views/TutorialPage.vue.d.ts +9597 -2029
- package/dist/views/TutorialPage.vue.d.ts.map +1 -1
- package/dist/{xml-D_weTR40.js → xml-7ZhThnGO.js} +1 -1
- package/dist/{yaml-BKP5OwFJ.js → yaml-ngaWkYBh.js} +1 -1
- package/package.json +1 -1
- package/dist/Manager-DZQXeAg1.js +0 -4
- package/dist/ResultComponent-JonPxGw9.js +0 -155
- package/dist/components/llm/LLMChatRefinement.vue.d.ts +0 -135
- package/dist/components/llm/LLMChatRefinement.vue.d.ts.map +0 -1
- package/dist/llm/mistral.d.ts +0 -12
- package/dist/llm/mistral.d.ts.map +0 -1
- package/dist/llm/openAI.d.ts +0 -13
- 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-
|
|
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-
|
|
3
|
-
import { D as ti } from "./DashboardCreatorInline-
|
|
4
|
-
import {
|
|
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-
|
|
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-
|
|
3
|
-
import { D as De } from "./DashboardCreatorInline-
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
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:
|
|
61
|
-
closeAddModal:
|
|
62
|
-
openEditor:
|
|
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:
|
|
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: () =>
|
|
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 &&
|
|
96
|
+
i.value.id && F(o, i.value.id, { width: l, height: m });
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
function
|
|
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
|
-
|
|
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",
|
|
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(
|
|
219
|
-
onEditContent: e(
|
|
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(
|
|
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(
|
|
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__ */
|
|
307
|
+
}), Oe = /* @__PURE__ */ Fe(He, [["__scopeId", "data-v-d92f9e7d"]]);
|
|
308
308
|
export {
|
|
309
309
|
Oe as default
|
|
310
310
|
};
|