@trilogy-data/trilogy-studio-components 0.1.26 → 0.1.27

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 (138) hide show
  1. package/dist/AssetAutoImporter-OHphsfW9.js +403 -0
  2. package/dist/{ChatCreatorModal-CL-jBnc3.js → ChatCreatorModal-CuXha6Dg.js} +3 -3
  3. package/dist/{ChatModelSelect-Do-VRUFc.js → ChatModelSelect-Cz7axWjP.js} +1 -1
  4. package/dist/{CodeBlock-PT4no49I.js → CodeBlock-BBsaC6hX.js} +4 -4
  5. package/dist/{CommunityModels-Cmro0hV3.js → CommunityModels-CIQQhO-y.js} +7 -7
  6. package/dist/{ConnectionErrorPopup-FSs7U-Yl.js → ConnectionErrorPopup-7vpqgF0s.js} +1 -1
  7. package/dist/{ConnectionView-COnTTuA4.js → ConnectionView-7Jj_Ggdi.js} +49 -49
  8. package/dist/{CreateEditorFromDatasourcePopup-snOh1d5h.js → CreateEditorFromDatasourcePopup-CrVHUWFl.js} +4 -4
  9. package/dist/{Dashboard-BH9ZwMVJ.js → Dashboard-DxSi9W6Q.js} +276 -280
  10. package/dist/{DashboardImportSelector-DQSvu9T-.js → DashboardImportSelector-kuDRDYi8.js} +2 -2
  11. package/dist/{DashboardMobile-BUPtdN2V.js → DashboardMobile-CZEgTb0R.js} +39 -39
  12. package/dist/{DrilldownPane-CBs5ZojS.js → DrilldownPane-BheRHJMs.js} +5 -7
  13. package/dist/{Editor-DQsYpkwl.js → Editor-D6tdutTm.js} +105 -103
  14. package/dist/{ErrorMessage-XMn_08gJ.js → ErrorMessage-D5JeF3Iz.js} +4 -4
  15. package/dist/{GlobalChatPanel-DhnOaige.js → GlobalChatPanel-BXZh0sdD.js} +20 -21
  16. package/dist/{IDE-HLa8vybk.js → IDE-T8PmyAQ_.js} +200 -203
  17. package/dist/{JobsView-B97HBoIE.js → JobsView-Ca97MiSd.js} +13 -14
  18. package/dist/{LLMChat-CxJcPLEG.js → LLMChat-Cch33Yd_.js} +3 -3
  19. package/dist/{LLMView-C1MUf0c2.js → LLMView-BDb6wD74.js} +23 -23
  20. package/dist/{LoadingView-s1uznGwG.js → LoadingView-B-xFwd2N.js} +2 -2
  21. package/dist/{MarkdownRenderer-BNDuEyG-.js → MarkdownRenderer-BWvdx0k3.js} +531 -430
  22. package/dist/{MobileIDE-BpqXoaMR.js → MobileIDE-DpdEQEqc.js} +179 -182
  23. package/dist/{ModelCard-BhN25jaV.js → ModelCard-DkAMP4X9.js} +12 -13
  24. package/dist/{ModelView-DUDA_PtZ.js → ModelView-DomyhN8g.js} +7 -7
  25. package/dist/PageLoading-BAvKGo9h.js +5937 -0
  26. package/dist/{ResultComponent-CAn_r3BL.js → ResultComponent-zoOSoRLe.js} +8 -8
  27. package/dist/{Results-BJtlwebY.js → Results-dq-SlJbU.js} +17 -19
  28. package/dist/{StatusIcon-BylPx2EO.js → StatusIcon-AbxNvJ6p.js} +2 -2
  29. package/dist/{StoreTokenModal-zCSYhfrw.js → StoreTokenModal-CM8WXdu1.js} +2 -2
  30. package/dist/{SymbolsPane-KYSwN9Sv.js → SymbolsPane-DfaxeaPS.js} +6 -3
  31. package/dist/{TrilogyEmbedProvider-WA_dlv9e.js → TrilogyEmbedProvider-D3h0gYnX.js} +9 -9
  32. package/dist/{TutorialPage-NRcee6Dx.js → TutorialPage-BtEJG7cT.js} +27 -28
  33. package/dist/{VegaLiteChart-D1slfOUY.js → VegaLiteChart-BVyAab-o.js} +12131 -10947
  34. package/dist/{WelcomePage-D5mU2x1L.js → WelcomePage-BoqzYBLr.js} +5 -5
  35. package/dist/{embedTheme-Bub46ILG.js → _plugin-vue_export-helper-f9Rw-Il4.js} +14 -6
  36. package/dist/assets/{css.worker-9aDGcEUy.js → css.worker-niORQtzO.js} +14 -14
  37. package/dist/assets/{html.worker-D2LKDpnG.js → html.worker-CO5LvJpF.js} +17 -17
  38. package/dist/assets/json.worker-BezHzWUV.js +58 -0
  39. package/dist/assets/{ts.worker-Bz0-EaKK.js → ts.worker-CYhxGg0r.js} +107 -107
  40. package/dist/{results-DTgAKr5j.js → base-DuKnVD-A.js} +216 -45
  41. package/dist/components/FeedbackBanner.vue.d.ts +4 -0
  42. package/dist/components/FeedbackBanner.vue.d.ts.map +1 -0
  43. package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts +54 -0
  44. package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts.map +1 -0
  45. package/dist/components/dashboard/DashboardProvenance.vue.d.ts +30 -0
  46. package/dist/components/dashboard/DashboardProvenance.vue.d.ts.map +1 -0
  47. package/dist/components/dashboard/ReportLayout.vue.d.ts +19 -0
  48. package/dist/components/dashboard/ReportLayout.vue.d.ts.map +1 -0
  49. package/dist/components/editor/Editor.vue.d.ts +3 -3
  50. package/dist/components/editor/EditorCreatorIcon.vue.d.ts +62 -0
  51. package/dist/components/editor/EditorCreatorIcon.vue.d.ts.map +1 -0
  52. package/dist/components/editor/ValidationComponent.vue.d.ts +50 -0
  53. package/dist/components/editor/ValidationComponent.vue.d.ts.map +1 -0
  54. package/dist/components/model/ModelCard.vue.d.ts +3 -3
  55. package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
  56. package/dist/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  57. package/dist/components/tutorial/TutorialPrompt.vue.d.ts +3 -3
  58. package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
  59. package/dist/{remoteWorker-Dkv3TJ0j.js → connections-CWH3zwH2.js} +4544 -4126
  60. package/dist/connections.js +3 -4
  61. package/dist/{cssMode-D4Rzr1Cu.js → cssMode-zpO2ap2B.js} +5 -6
  62. package/dist/dashboard.js +28 -31
  63. package/dist/{dist-CXoL8kXK.js → dist-1z5KURzS.js} +55 -50
  64. package/dist/{dist-DKkuvbPb.js → dist-Bv3D2p5A.js} +20 -18
  65. package/dist/{editor.main-Cl8i7rHY.js → editor.main-BQh6DxDB.js} +33 -33
  66. package/dist/{editorRefinementRuntime-DoP9P5J2.js → editorStore-CAlMJftt.js} +1692 -575
  67. package/dist/embed.js +2 -2
  68. package/dist/{freemarker2-fW5NBILf.js → freemarker2-DQBqlEXc.js} +1 -1
  69. package/dist/{globalChatRuntime-DWZxeS57.js → globalChatRuntime-CyS7vH51.js} +16 -16
  70. package/dist/{handlebars-dG4w8UUY.js → handlebars-tgYxaM70.js} +1 -1
  71. package/dist/{helpers-BLQAgX3C.js → helpers-BbVlA3Pf.js} +34 -35
  72. package/dist/{html-1Dq70BdU.js → html-jJahD3Mi.js} +1 -1
  73. package/dist/{htmlMode--IQmLBeh.js → htmlMode-BA1-8l2e.js} +5 -6
  74. package/dist/{javascript-CTzBM4sF.js → javascript-Cypfo7va.js} +1 -1
  75. package/dist/{jsonMode-DzeJjIEH.js → jsonMode-xJye8PWS.js} +25 -25
  76. package/dist/{liquid-DlHThiki.js → liquid-BGDrv5da.js} +1 -1
  77. package/dist/llm-ClU-2rgk.js +18493 -0
  78. package/dist/llm.js +2 -3
  79. package/dist/{localStorage-D9uyOFEO.js → localStorage-CGQ1iJXt.js} +40 -43
  80. package/dist/{lspLanguageFeatures-Cdfs3EKq.js → lspLanguageFeatures-V3e_p9oN.js} +32 -32
  81. package/dist/{mdx-fn3g4PH5.js → mdx-BUR1aImW.js} +1 -1
  82. package/dist/monaco.js +3 -3
  83. package/dist/{python-CCVj0pFt.js → python-YLkl0pc6.js} +1 -1
  84. package/dist/{razor-Cj3flYnk.js → razor-BP8TRMDY.js} +1 -1
  85. package/dist/{reconcile-Dyf4UZmj.js → reconcile-DXIvGwBk.js} +1 -1
  86. package/dist/{remoteStoreSync-Z-yjlYtI.js → remoteStoreSync-CuQBWpWf.js} +3 -3
  87. package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  88. package/dist/static/test_import.vue.d.ts +4 -0
  89. package/dist/static/test_import.vue.d.ts.map +1 -0
  90. package/dist/stores-LlyiwSbK.js +2604 -0
  91. package/dist/stores.js +4 -7
  92. package/dist/trilogy-studio-components.css +1 -1
  93. package/dist/{tsMode-GI4xMYAl.js → tsMode-BH9HS_sH.js} +64 -66
  94. package/dist/{typescript-CPibXi3J.js → typescript-BM-ynfk9.js} +1 -1
  95. package/dist/{useChatWithTools-B0HZ_DVh.js → useChatWithTools-m3Jn_SV-.js} +11 -11
  96. package/dist/{useDashboard-CdSnPe_6.js → useDashboard-BOAuvVEw.js} +1014 -1022
  97. package/dist/{tabulator_esm-CxLvGDp8.js → useGlobalChatPanel-DuP1q7_f.js} +1729 -711
  98. package/dist/{useResizableDialog-B0ePSts4.js → useResizableDialog-Cs90WJdF.js} +2 -2
  99. package/dist/views/ModelView.vue.d.ts +6 -6
  100. package/dist/views/ModelView.vue.d.ts.map +1 -1
  101. package/dist/views/TutorialPage.vue.d.ts +9 -9
  102. package/dist/views/TutorialPage.vue.d.ts.map +1 -1
  103. package/dist/views.js +192 -194
  104. package/dist/{editor.api2-ClD5pp8H.js → workers-B9Eybl-M.js} +16252 -15926
  105. package/dist/{xml-BNyphceI.js → xml-M5WFPSpA.js} +1 -1
  106. package/dist/{yaml-DE5Vz0PH.js → yaml-CEeFwjz9.js} +1 -1
  107. package/package.json +29 -20
  108. package/dist/AssetAutoImporter-CBzvBaOt.js +0 -405
  109. package/dist/DashboardCreatorInline-CDU7kLy3.js +0 -129
  110. package/dist/DataTable-DoRDynP1.js +0 -365
  111. package/dist/EditorCreatorInline-D6_y1H_h.js +0 -125
  112. package/dist/LoadingButton-OH3frQuO.js +0 -138
  113. package/dist/ModalDialog-D1EOG4rl.js +0 -42
  114. package/dist/ModelCreator-CCdC7EXt.js +0 -253
  115. package/dist/PageLoading-BzniJM0C.js +0 -2669
  116. package/dist/Tooltip-Dihir4zs.js +0 -103
  117. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  118. package/dist/assets/json.worker-CJ5MmO5Q.js +0 -58
  119. package/dist/base-C8IuZWqY.js +0 -164
  120. package/dist/connectionHistoryStorage-DKJHiKJY.js +0 -111
  121. package/dist/connectionHistoryStore-DQeBvStZ.js +0 -61
  122. package/dist/connections-CJSb1TZl.js +0 -229
  123. package/dist/constants-DgFEYN2b.js +0 -7
  124. package/dist/dashboardStore-ppM6nGks.js +0 -641
  125. package/dist/demoSetup-mwa-RDC6.js +0 -2942
  126. package/dist/editorRefinementToolExecutor-CVY3FA7k.js +0 -4624
  127. package/dist/editorStore-BhhmXbi-.js +0 -1019
  128. package/dist/formatting-BbJ5ICgh.js +0 -6
  129. package/dist/llm-BBOVWb-F.js +0 -11967
  130. package/dist/llmStore-DJM2JhzY.js +0 -153
  131. package/dist/monaco.contribution-ikesdolO.js +0 -128
  132. package/dist/stores-BT9hTLny.js +0 -1708
  133. package/dist/trilogy-BroD2Qmp.js +0 -4
  134. package/dist/urlStore-52HG6lsX.js +0 -55
  135. package/dist/useGlobalChatPanel-D_0luajQ.js +0 -85
  136. package/dist/useIsMobile-CNpUQAvk.js +0 -8
  137. package/dist/usePrismHighlight-DVyDiDAL.js +0 -183
  138. package/dist/workers-Br7ThUKL.js +0 -47
@@ -1,11 +1,11 @@
1
- import { n as e } from "./rolldown-runtime-Dqa2HsxW.js";
2
- import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { r as n } from "./results-DTgAKr5j.js";
4
- import { n as r } from "./editorRefinementRuntime-DoP9P5J2.js";
5
- import { t as i } from "./dist-DKkuvbPb.js";
6
- import { t as a } from "./LoadingView-s1uznGwG.js";
7
- import { t as o } from "./Results-BJtlwebY.js";
8
- import { t as s } from "./LLMChat-CxJcPLEG.js";
1
+ import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
2
+ import { t } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
3
+ import { u as n } from "./base-DuKnVD-A.js";
4
+ import { n as r } from "./editorStore-CAlMJftt.js";
5
+ import { t as i } from "./dist-Bv3D2p5A.js";
6
+ import { t as a } from "./LoadingView-B-xFwd2N.js";
7
+ import { t as o } from "./Results-dq-SlJbU.js";
8
+ import { t as s } from "./LLMChat-Cch33Yd_.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,25 +1,23 @@
1
- import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { r as t } from "./results-DTgAKr5j.js";
3
- import { Wt as n } from "./editorRefinementToolExecutor-CVY3FA7k.js";
4
- import { n as r, r as i, t as a } from "./urlStore-52HG6lsX.js";
5
- import { t as o } from "./LoadingButton-OH3frQuO.js";
6
- import { t as s } from "./ErrorMessage-XMn_08gJ.js";
7
- import { t as c } from "./VegaLiteChart-D1slfOUY.js";
8
- import { t as l } from "./useIsMobile-CNpUQAvk.js";
9
- import { t as u } from "./DrilldownPane-CBs5ZojS.js";
10
- import { t as d } from "./DataTable-DoRDynP1.js";
11
- import { t as f } from "./CodeBlock-PT4no49I.js";
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-ClU-2rgk.js";
4
+ import { c as r, o as i, s as a } from "./stores-LlyiwSbK.js";
5
+ import { l as o, r as s, u as c } from "./useGlobalChatPanel-DuP1q7_f.js";
6
+ import { t as l } from "./ErrorMessage-D5JeF3Iz.js";
7
+ import { t as u } from "./VegaLiteChart-BVyAab-o.js";
8
+ import { t as d } from "./DrilldownPane-BheRHJMs.js";
9
+ import { t as f } from "./CodeBlock-BBsaC6hX.js";
12
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";
13
11
  //#region components/editor/Results.vue?vue&type=script&lang.ts
14
12
  var O = {
15
13
  name: "ResultsContainer",
16
14
  components: {
17
- DataTable: d,
18
- VegaLiteChart: c,
19
- ErrorMessage: s,
20
- LoadingButton: o,
15
+ DataTable: s,
16
+ VegaLiteChart: u,
17
+ ErrorMessage: l,
18
+ LoadingButton: c,
21
19
  CodeBlock: f,
22
- DrilldownPane: u
20
+ DrilldownPane: d
23
21
  },
24
22
  props: {
25
23
  type: {
@@ -78,7 +76,7 @@ var O = {
78
76
  } },
79
77
  data() {
80
78
  return {
81
- activeTab: this.chartFromStatement ? "visualize" : this.defaultTab || r(a.ACTIVE_EDITOR_TAB, "results"),
79
+ activeTab: this.chartFromStatement ? "visualize" : this.defaultTab || a(i.ACTIVE_EDITOR_TAB, "results"),
82
80
  activeDrilldown: null,
83
81
  TABS_HEIGHT: 26
84
82
  };
@@ -88,7 +86,7 @@ var O = {
88
86
  this.type !== "sql" && this.setTab("visualize");
89
87
  },
90
88
  setTab(e) {
91
- this.activeTab = e, i(a.ACTIVE_EDITOR_TAB, e);
89
+ this.activeTab = e, r(i.ACTIVE_EDITOR_TAB, e);
92
90
  },
93
91
  handleReconnect() {
94
92
  if (this.connection) {
@@ -137,7 +135,7 @@ var O = {
137
135
  }
138
136
  },
139
137
  setup() {
140
- let e = x("connectionStore"), t = l();
138
+ let e = x("connectionStore"), t = o();
141
139
  if (!e) throw Error("Requires injection of connection store");
142
140
  return {
143
141
  connectionStore: e,
@@ -1,5 +1,5 @@
1
- import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { t } from "./Tooltip-Dihir4zs.js";
1
+ import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
2
+ import { f as t } from "./useGlobalChatPanel-DuP1q7_f.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
- import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { t } from "./ModalDialog-D1EOG4rl.js";
1
+ import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
2
+ import { p as t } from "./useGlobalChatPanel-DuP1q7_f.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-B3ysoDQm.js";
2
- import { vt as t } from "./editorRefinementToolExecutor-CVY3FA7k.js";
1
+ import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
2
+ import { yt as t } from "./llm-ClU-2rgk.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 = {
@@ -126,7 +126,10 @@ var x = {
126
126
  return;
127
127
  }
128
128
  let r = n.value.toLowerCase().trim(), a = [...e.symbols];
129
- s.value.showAutoDerived || (a = a.filter((e) => !t(e.label || ""))), 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) => {
129
+ s.value.showAutoDerived || (a = a.filter((e) => {
130
+ let n = e.label || "";
131
+ return !t(n);
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) => {
130
133
  let t = e.label.toLowerCase(), n = (e.description || "").toLowerCase();
131
134
  return t.includes(r) || n.includes(r);
132
135
  }).sort((e, t) => {
@@ -1,18 +1,18 @@
1
- import { a as e, i as t, r as n } from "./config-DwTONafa.js";
2
- import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
1
+ import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
2
+ import { a as t, i as n, r } from "./config-DwTONafa.js";
3
3
  import { computed as i, createElementBlock as a, defineComponent as o, normalizeClass as s, normalizeStyle as c, openBlock as l, renderSlot as u } from "vue";
4
4
  //#endregion
5
5
  //#region components/TrilogyEmbedProvider.vue
6
- var d = /*#__PURE__*/ r(/* @__PURE__ */ o({
6
+ var d = /*#__PURE__*/ e(/* @__PURE__ */ o({
7
7
  __name: "TrilogyEmbedProvider",
8
8
  props: { theme: {} },
9
- setup(r) {
10
- let o = r;
11
- n(i(() => ({ theme: o.theme })));
12
- let d = i(() => t(o.theme)), f = i(() => e(o.theme));
9
+ setup(e) {
10
+ let o = e, d = i(() => ({ theme: o.theme }));
11
+ r(d);
12
+ let f = i(() => n(o.theme)), p = i(() => t(o.theme));
13
13
  return (e, t) => (l(), a("div", {
14
- class: s(["trilogy-embed-provider", `trilogy-embed-theme-${d.value}`]),
15
- style: c(f.value)
14
+ class: s(["trilogy-embed-provider", `trilogy-embed-theme-${f.value}`]),
15
+ style: c(p.value)
16
16
  }, [u(e.$slots, "default", {}, void 0, !0)], 6));
17
17
  }
18
18
  }), [["__scopeId", "data-v-9a14c043"]]);
@@ -1,16 +1,15 @@
1
- import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { t } from "./Dashboard-BH9ZwMVJ.js";
3
- import { o as n } from "./editorRefinementRuntime-DoP9P5J2.js";
4
- import "./dashboardStore-ppM6nGks.js";
5
- import { t as r } from "./LoadingButton-OH3frQuO.js";
6
- import { t as i } from "./useIsMobile-CNpUQAvk.js";
7
- import { t as a } from "./MarkdownRenderer-BNDuEyG-.js";
8
- import { t as o } from "./CommunityModels-Cmro0hV3.js";
9
- import { t as s } from "./Editor-DQsYpkwl.js";
10
- import { t as c } from "./CodeBlock-PT4no49I.js";
11
- import { t as l } from "./ResultComponent-CAn_r3BL.js";
12
- import { a as u, n as d, r as f, t as p } from "./demoSetup-mwa-RDC6.js";
13
- import { t as m } from "./ModelCard-BhN25jaV.js";
1
+ import { t as e } from "./_plugin-vue_export-helper-f9Rw-Il4.js";
2
+ import { t } from "./Dashboard-DxSi9W6Q.js";
3
+ import "./stores-LlyiwSbK.js";
4
+ import { o as n } from "./editorStore-CAlMJftt.js";
5
+ import { l as r, u as i } from "./useGlobalChatPanel-DuP1q7_f.js";
6
+ import { t as a } from "./MarkdownRenderer-BWvdx0k3.js";
7
+ import { t as o } from "./CommunityModels-CIQQhO-y.js";
8
+ import { c as s, i as c, l, s as u } from "./PageLoading-BAvKGo9h.js";
9
+ import { t as d } from "./Editor-D6tdutTm.js";
10
+ import { t as f } from "./CodeBlock-BBsaC6hX.js";
11
+ import { t as p } from "./ResultComponent-zoOSoRLe.js";
12
+ import { t as m } from "./ModelCard-DkAMP4X9.js";
14
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";
15
14
  //#region components/tutorial/TutorialFunction.vue?vue&type=script&lang.ts
16
15
  var ee = C({
@@ -72,9 +71,9 @@ var J = /*#__PURE__*/ e(ee, [["render", q], ["__scopeId", "data-v-4ab8a3dc"]]),
72
71
  }), [["__scopeId", "data-v-0f045873"]]), X = {
73
72
  name: "TutorialPromptComponent",
74
73
  components: {
75
- Editor: s,
76
- ResultComponent: l,
77
- CodeBlock: c
74
+ Editor: d,
75
+ ResultComponent: p,
76
+ CodeBlock: f
78
77
  },
79
78
  props: {
80
79
  prompts: {
@@ -206,16 +205,16 @@ var ve = /*#__PURE__*/ e(X, [["render", _e], ["__scopeId", "data-v-27c5ea9d"]]),
206
205
  optional: !0
207
206
  } },
208
207
  setup() {
209
- let e = i(), t = w("editorStore"), n = w("connectionStore"), r = w("modelStore"), a = w("dashboardStore"), o = w("llmConnectionStore"), s = w("saveEditors"), c = w("saveConnections"), l = w("saveModels"), u = w("saveDashboards");
210
- if (!t || !n || !r || !a || !o) throw Error("Demo requires more stores!");
208
+ let e = r(), t = w("editorStore"), n = w("connectionStore"), i = w("modelStore"), a = w("dashboardStore"), o = w("llmConnectionStore"), s = w("saveEditors"), c = w("saveConnections"), l = w("saveModels"), u = w("saveDashboards");
209
+ if (!t || !n || !i || !a || !o) throw Error("Demo requires more stores!");
211
210
  let d = Object.values(a?.dashboards).find((e) => e.name === "example-dashboard" && e.connection === "demo-model-connection")?.id;
212
- if (!t || !n || !r || !a || !o || !s || !c || !l || !u) throw Error("Editor store is not provided!");
211
+ if (!t || !n || !i || !a || !o || !s || !c || !l || !u) throw Error("Editor store is not provided!");
213
212
  return {
214
213
  editorStore: t,
215
214
  connectionStore: n,
216
215
  dashboardStore: a,
217
216
  llmConnectionStore: o,
218
- modelStore: r,
217
+ modelStore: i,
219
218
  saveEditors: s,
220
219
  saveConnections: c,
221
220
  saveModels: l,
@@ -227,16 +226,16 @@ var ve = /*#__PURE__*/ e(X, [["render", _e], ["__scopeId", "data-v-27c5ea9d"]]),
227
226
  };
228
227
  },
229
228
  components: {
230
- LoadingButton: r,
231
- ConnectionList: f,
232
- LLMConnectionList: d,
233
- EditorList: u,
229
+ LoadingButton: i,
230
+ ConnectionList: s,
231
+ LLMConnectionList: u,
232
+ EditorList: l,
234
233
  ModelCard: m,
235
234
  HighlightComponent: Y,
236
- Editor: s,
237
- ResultsView: l,
235
+ Editor: d,
236
+ ResultsView: p,
238
237
  CommunityModels: o,
239
- CodeBlock: c,
238
+ CodeBlock: f,
240
239
  TutorialPrompt: ve,
241
240
  Dashboard: t,
242
241
  TutorialFunction: J,
@@ -282,7 +281,7 @@ var ve = /*#__PURE__*/ e(X, [["render", _e], ["__scopeId", "data-v-27c5ea9d"]]),
282
281
  },
283
282
  methods: {
284
283
  setupDemo() {
285
- p(this.editorStore, this.connectionStore, this.modelStore, this.dashboardStore, this.saveEditors, this.saveConnections, this.saveModels, this.saveDashboards);
284
+ c(this.editorStore, this.connectionStore, this.modelStore, this.dashboardStore, this.saveEditors, this.saveConnections, this.saveModels, this.saveDashboards);
286
285
  },
287
286
  saveEditorsCall() {
288
287
  this.saveEditors();