@trilogy-data/trilogy-studio-components 0.1.13 → 0.1.14
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-CGYVd4b5.js → ChatCreatorModal-D-CByWEF.js} +12 -12
- package/dist/{Dashboard-BzU5l0J1.js → Dashboard-CCWjUVBq.js} +347 -348
- package/dist/{DashboardCreatorInline-szUAhl3C.js → DashboardCreatorInline-DRlxDEBN.js} +1 -1
- package/dist/{DashboardMobile-cUHQPGAT.js → DashboardMobile-GOPaxc9_.js} +104 -103
- package/dist/{LLMConnectionList-egIna8uh.js → LLMConnectionList-ByLjIXLO.js} +1168 -1213
- package/dist/{LLMView-BXlHVvci.js → LLMView-B7XLbzBx.js} +53 -51
- package/dist/Manager-B2wTf-lw.js +4 -0
- package/dist/{ResultComponent-Dqzd51fk.js → ResultComponent-BKuWOt_p.js} +37 -34
- package/dist/Sidebar-CMy9ptnW.js +2188 -0
- package/dist/TutorialPage-9YzXa97t.js +509 -0
- package/dist/{WelcomePage-CKUubkCt.js → WelcomePage-BMcBpSQ7.js} +4 -4
- package/dist/components/AssetAutoImporter.vue.d.ts.map +1 -1
- package/dist/components/ChartControlPanel.vue.d.ts.map +1 -1
- package/dist/components/CodeBlock.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog.vue.d.ts +25 -0
- package/dist/components/ConfirmDialog.vue.d.ts.map +1 -0
- package/dist/components/ContextMenu.vue.d.ts +4 -2
- package/dist/components/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/DataTable.vue.d.ts +9 -0
- package/dist/components/DataTable.vue.d.ts.map +1 -1
- package/dist/components/EditableTitle.vue.d.ts.map +1 -1
- package/dist/components/HintComponent.vue.d.ts +1 -1
- package/dist/components/HintComponent.vue.d.ts.map +1 -1
- package/dist/components/LoadingButton.vue.d.ts.map +1 -1
- package/dist/components/MarkdownRenderer.vue.d.ts +1 -0
- package/dist/components/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/components/ModalDialog.vue.d.ts +36 -0
- package/dist/components/ModalDialog.vue.d.ts.map +1 -0
- package/dist/components/PopupModal.vue.d.ts.map +1 -1
- package/dist/components/SimpleEditor.vue.d.ts +117 -0
- package/dist/components/SimpleEditor.vue.d.ts.map +1 -1
- package/dist/components/StatusIcon.vue.d.ts +3 -3
- package/dist/components/StatusIcon.vue.d.ts.map +1 -1
- package/dist/components/StoreTokenModal.vue.d.ts +18 -0
- package/dist/components/StoreTokenModal.vue.d.ts.map +1 -0
- package/dist/components/SymbolsPane.vue.d.ts.map +1 -1
- package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
- package/dist/components/chartRenderManager.d.ts +2 -0
- package/dist/components/chartRenderManager.d.ts.map +1 -1
- package/dist/components/community/AddStoreModal.vue.d.ts +46 -1
- package/dist/components/community/AddStoreModal.vue.d.ts.map +1 -1
- package/dist/components/community/CommunityModelCard.vue.d.ts +3 -3
- package/dist/components/community/CommunityModelCard.vue.d.ts.map +1 -1
- package/dist/components/community/CommunityModelHeader.vue.d.ts +7 -4
- package/dist/components/community/CommunityModelHeader.vue.d.ts.map +1 -1
- package/dist/components/community/CommunityModels.vue.d.ts +4 -4
- package/dist/components/community/CommunityModels.vue.d.ts.map +1 -1
- package/dist/components/community/CommunityRemote.vue.d.ts.map +1 -1
- package/dist/components/connection/ConnectionDatabase.vue.d.ts.map +1 -1
- package/dist/components/connection/ConnectionSchema.vue.d.ts.map +1 -1
- package/dist/components/connection/ConnectionTable.vue.d.ts +9 -0
- package/dist/components/connection/ConnectionTable.vue.d.ts.map +1 -1
- package/dist/components/dashboard/Dashboard.vue.d.ts +4 -4
- package/dist/components/dashboard/Dashboard.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardAddItemModal.vue.d.ts +4 -4
- package/dist/components/dashboard/DashboardAddItemModal.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardCTA.vue.d.ts +4 -4
- package/dist/components/dashboard/DashboardCTA.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardChart.vue.d.ts +1 -1
- package/dist/components/dashboard/DashboardChart.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardChartEditor.vue.d.ts +234 -2
- package/dist/components/dashboard/DashboardChartEditor.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardDataSelector.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardEditorDialog.vue.d.ts +42 -0
- package/dist/components/dashboard/DashboardEditorDialog.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardFilter.vue.d.ts +0 -1
- package/dist/components/dashboard/DashboardFilter.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardFilterAutocomplete.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardGridItem.vue.d.ts +4 -4
- package/dist/components/dashboard/DashboardGridItem.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardHeader.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardHeaderFilterInput.vue.d.ts +1 -0
- package/dist/components/dashboard/DashboardHeaderFilterInput.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardImportPopup.vue.d.ts +5 -7
- package/dist/components/dashboard/DashboardImportPopup.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardImportSelector.vue.d.ts +4 -1
- package/dist/components/dashboard/DashboardImportSelector.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardMarkdown.vue.d.ts +1 -20
- package/dist/components/dashboard/DashboardMarkdown.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts +234 -1
- package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardMobile.vue.d.ts +3 -3
- package/dist/components/dashboard/DashboardMobile.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardSharePopup.vue.d.ts +5 -7
- package/dist/components/dashboard/DashboardSharePopup.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardTable.vue.d.ts +9 -1
- package/dist/components/dashboard/DashboardTable.vue.d.ts.map +1 -1
- package/dist/components/dashboard/useDashboard.d.ts.map +1 -1
- package/dist/components/dashboard/useDashboardItemShell.d.ts +28 -0
- package/dist/components/dashboard/useDashboardItemShell.d.ts.map +1 -0
- package/dist/components/editor/Editor.vue.d.ts +20 -6
- package/dist/components/editor/Editor.vue.d.ts.map +1 -1
- package/dist/components/editor/EditorCreatorInline.vue.d.ts.map +1 -1
- package/dist/components/editor/EditorHeader.vue.d.ts +10 -3
- package/dist/components/editor/EditorHeader.vue.d.ts.map +1 -1
- package/dist/components/editor/ResultComponent.vue.d.ts +75 -181
- package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -1
- package/dist/components/editor/Results.vue.d.ts +9 -0
- package/dist/components/editor/Results.vue.d.ts.map +1 -1
- package/dist/components/editor/editorHelpers.d.ts +1 -1
- package/dist/components/editor/editorHelpers.d.ts.map +1 -1
- package/dist/components/jobs/JobsAddStoreModal.vue.d.ts +14 -0
- package/dist/components/jobs/JobsAddStoreModal.vue.d.ts.map +1 -0
- package/dist/components/jobs/JobsView.vue.d.ts +6 -0
- package/dist/components/jobs/JobsView.vue.d.ts.map +1 -0
- package/dist/components/layout/MobileSidebarLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedBrowser.vue.d.ts +1 -12
- package/dist/components/layout/TabbedBrowser.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/llm/ArtifactsPane.vue.d.ts +11 -2
- package/dist/components/llm/ArtifactsPane.vue.d.ts.map +1 -1
- package/dist/components/llm/ChatArtifact.vue.d.ts +10 -0
- package/dist/components/llm/ChatArtifact.vue.d.ts.map +1 -1
- package/dist/components/llm/ChatCreatorModal.vue.d.ts +1 -9
- package/dist/components/llm/ChatCreatorModal.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMChat.vue.d.ts +9 -36
- package/dist/components/llm/LLMChat.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMChatSplitView.vue.d.ts +55 -185
- package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMEditorRefinement.vue.d.ts +47 -180
- package/dist/components/llm/LLMEditorRefinement.vue.d.ts.map +1 -1
- package/dist/components/llm/toolCallDisplay.d.ts +13 -0
- package/dist/components/llm/toolCallDisplay.d.ts.map +1 -0
- package/dist/components/model/ModelCard.vue.d.ts +22 -5
- package/dist/components/model/ModelCard.vue.d.ts.map +1 -1
- package/dist/components/model/ModelConcept.vue.d.ts.map +1 -1
- package/dist/components/model/ModelCreator.vue.d.ts +3 -0
- package/dist/components/model/ModelCreator.vue.d.ts.map +1 -1
- package/dist/components/model/ModelSelector.vue.d.ts.map +1 -1
- package/dist/components/sidebar/CommunityModelList.vue.d.ts +284 -0
- package/dist/components/sidebar/CommunityModelList.vue.d.ts.map +1 -0
- package/dist/components/sidebar/CommunityModelListItem.vue.d.ts +7 -7
- package/dist/components/sidebar/CommunityModelListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionCreatorInline.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionIcon.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionList.vue.d.ts +21 -71
- package/dist/components/sidebar/ConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionListItem.vue.d.ts +15 -61
- package/dist/components/sidebar/ConnectionListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionRefresh.vue.d.ts.map +1 -1
- package/dist/components/sidebar/CreateEditorFromDatasourcePopup.vue.d.ts.map +1 -1
- package/dist/components/sidebar/DashboardList.vue.d.ts +33 -75
- package/dist/components/sidebar/DashboardList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/DashboardListItem.vue.d.ts +13 -59
- package/dist/components/sidebar/DashboardListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/DuckDBImporter.vue.d.ts +1 -0
- package/dist/components/sidebar/DuckDBImporter.vue.d.ts.map +1 -1
- package/dist/components/sidebar/EditorList.vue.d.ts +190 -67
- package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/EditorListItem.vue.d.ts +16 -59
- package/dist/components/sidebar/EditorListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/GenericSidebarItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/JobsList.vue.d.ts +12 -0
- package/dist/components/sidebar/JobsList.vue.d.ts.map +1 -0
- package/dist/components/sidebar/JobsListItem.vue.d.ts +25 -0
- package/dist/components/sidebar/JobsListItem.vue.d.ts.map +1 -0
- package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts +14 -356
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts +15 -190
- package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ModelSidebar.vue.d.ts +15 -0
- package/dist/components/sidebar/ModelSidebar.vue.d.ts.map +1 -1
- package/dist/components/sidebar/Sidebar.vue.d.ts +3966 -0
- package/dist/components/sidebar/Sidebar.vue.d.ts.map +1 -0
- package/dist/components/sidebar/SidebarList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/SidebarOverflowMenu.vue.d.ts +19 -0
- package/dist/components/sidebar/SidebarOverflowMenu.vue.d.ts.map +1 -0
- package/dist/components/sidebar/SidebarTagChip.vue.d.ts +6 -0
- package/dist/components/sidebar/SidebarTagChip.vue.d.ts.map +1 -0
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts +97 -186
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
- package/dist/components/useConfirmationState.d.ts +10 -0
- package/dist/components/useConfirmationState.d.ts.map +1 -0
- package/dist/composables/useClickOutside.d.ts +12 -0
- package/dist/composables/useClickOutside.d.ts.map +1 -0
- package/dist/connections/index.d.ts +1 -0
- package/dist/connections/index.d.ts.map +1 -1
- package/dist/connections/remoteProject.d.ts +23 -0
- package/dist/connections/remoteProject.d.ts.map +1 -0
- package/dist/{cssMode-CTNpWCFn.js → cssMode-Cfy3yIk-.js} +1 -1
- package/dist/dashboards/base.d.ts +2 -1
- package/dist/dashboards/base.d.ts.map +1 -1
- package/dist/dashboards/prompts.d.ts +1 -1
- package/dist/dashboards/prompts.d.ts.map +1 -1
- package/dist/dashboards/spec.d.ts +4 -0
- package/dist/dashboards/spec.d.ts.map +1 -1
- package/dist/data/index.d.ts +1 -0
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/localStorage.d.ts +3 -3
- package/dist/data/localStorage.d.ts.map +1 -1
- package/dist/data/remoteStoreStorage.d.ts +46 -0
- package/dist/data/remoteStoreStorage.d.ts.map +1 -0
- package/dist/data/storage.d.ts +6 -6
- package/dist/data/storage.d.ts.map +1 -1
- package/dist/data/tutorial/reference.d.ts.map +1 -1
- package/dist/editors/editor.d.ts +19 -5
- package/dist/editors/editor.d.ts.map +1 -1
- package/dist/editors/fileTypes.d.ts +12 -0
- package/dist/editors/fileTypes.d.ts.map +1 -0
- package/dist/editors/helpers.d.ts +2 -0
- package/dist/editors/helpers.d.ts.map +1 -1
- package/dist/{freemarker2-Cc0GWdmq.js → freemarker2-Dy8u-XQv.js} +1 -1
- package/dist/{handlebars-BpAJzwKQ.js → handlebars-BDrD8h_c.js} +1 -1
- package/dist/{html-C4cOr6Q2.js → html-CKz7V4Cn.js} +1 -1
- package/dist/{htmlMode-4GTCH2de.js → htmlMode-BZE5C9QD.js} +1 -1
- package/dist/{javascript-eCxY6C4t.js → javascript-Cav2mApM.js} +1 -1
- package/dist/{jsonMode-P2zF1eXm.js → jsonMode-B6434NZu.js} +1 -1
- package/dist/{liquid-CHf82yU1.js → liquid-Cq-Omf5B.js} +1 -1
- package/dist/llm/chatToolExecutor.d.ts.map +1 -1
- package/dist/llm/editorRefinementToolExecutor.d.ts.map +1 -1
- package/dist/llm/toolLoopCore.d.ts.map +1 -1
- package/dist/{main-B49yDSSL.js → main-C-6acy1R.js} +57734 -55586
- package/dist/main.css +1 -1
- package/dist/main.js +16 -16
- package/dist/main.umd.cjs +580 -559
- package/dist/{mdx-DhkaMLCX.js → mdx-DYvw7-lF.js} +1 -1
- package/dist/models/helpers.d.ts +16 -4
- package/dist/models/helpers.d.ts.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.d.ts.map +1 -1
- package/dist/monaco/editorHelpers.d.ts.map +1 -1
- package/dist/prism-clike-SH1s-yiH.js +31 -0
- package/dist/prism-javascript-CLux6jF8.js +137 -0
- package/dist/prism-json-iVb7He6L.js +25 -0
- package/dist/prism-markdown-tjNeCMi3.js +300 -0
- package/dist/prism-markup-BNGj0Tvm.js +173 -0
- package/dist/prism-python-DBk-6kcY.js +71 -0
- package/dist/prism-typescript-Crma_dEX.js +55 -0
- package/dist/{python-BPlpgFwf.js → python-BTTSwl4o.js} +1 -1
- package/dist/{razor-Bw_qWSSk.js → razor-BVBhJqGl.js} +1 -1
- package/dist/remotes/genericStoreMetadata.d.ts +8 -0
- package/dist/remotes/genericStoreMetadata.d.ts.map +1 -0
- package/dist/remotes/jobs.d.ts +38 -0
- package/dist/remotes/jobs.d.ts.map +1 -0
- package/dist/remotes/jobsService.d.ts +15 -0
- package/dist/remotes/jobsService.d.ts.map +1 -0
- package/dist/remotes/models.d.ts +2 -1
- package/dist/remotes/models.d.ts.map +1 -1
- package/dist/remotes/remoteStoreSync.d.ts +7 -0
- package/dist/remotes/remoteStoreSync.d.ts.map +1 -0
- package/dist/remotes/storeService.d.ts +2 -1
- package/dist/remotes/storeService.d.ts.map +1 -1
- package/dist/stores/Manager.vue.d.ts +9 -0
- package/dist/stores/Manager.vue.d.ts.map +1 -1
- package/dist/stores/communityApiStore.d.ts +6 -0
- package/dist/stores/communityApiStore.d.ts.map +1 -1
- package/dist/stores/editorStore.d.ts +7 -2
- package/dist/stores/editorStore.d.ts.map +1 -1
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/stores/jobsApiStore.d.ts +45 -0
- package/dist/stores/jobsApiStore.d.ts.map +1 -0
- package/dist/stores/modelStore.d.ts.map +1 -1
- package/dist/stores/queryExecutionService.d.ts +6 -4
- package/dist/stores/queryExecutionService.d.ts.map +1 -1
- package/dist/stores/resolver.d.ts +4 -4
- package/dist/stores/resolver.d.ts.map +1 -1
- package/dist/stores/useScreenNavigation.d.ts +3 -1
- package/dist/stores/useScreenNavigation.d.ts.map +1 -1
- package/dist/stores/userSettingsStore.d.ts.map +1 -1
- package/dist/{tsMode-B4G-3v3r.js → tsMode-z99lZ8eT.js} +1 -1
- package/dist/{typescript-CxjsldWX.js → typescript-BXQnMlGm.js} +1 -1
- package/dist/useDashboard-3deVRse_.js +3502 -0
- package/dist/utility/markdownRenderer.d.ts.map +1 -1
- package/dist/utility/prism.d.ts +5 -0
- package/dist/utility/prism.d.ts.map +1 -0
- package/dist/utils/terminalOutput.d.ts +3 -0
- package/dist/utils/terminalOutput.d.ts.map +1 -0
- package/dist/views/ConnectionView.vue.d.ts +9 -0
- package/dist/views/ConnectionView.vue.d.ts.map +1 -1
- package/dist/views/IDE.vue.d.ts +7 -0
- package/dist/views/IDE.vue.d.ts.map +1 -0
- package/dist/views/LLMView.vue.d.ts +232 -846
- package/dist/views/LLMView.vue.d.ts.map +1 -1
- package/dist/views/MobileIDE.vue.d.ts +6 -0
- package/dist/views/MobileIDE.vue.d.ts.map +1 -0
- package/dist/views/ModelView.vue.d.ts +46 -10
- package/dist/views/ModelView.vue.d.ts.map +1 -1
- package/dist/views/ResponsiveIDE.vue.d.ts.map +1 -1
- package/dist/views/TutorialPage.vue.d.ts +465 -907
- package/dist/views/TutorialPage.vue.d.ts.map +1 -1
- package/dist/{xml-DWqiAUCc.js → xml-Ci-UOFva.js} +1 -1
- package/dist/{yaml-BfqSAZW1.js → yaml-XEOisXAU.js} +1 -1
- package/package.json +1 -1
- package/dist/Manager-CWERTb_Q.js +0 -4
- package/dist/Sidebar-DNAHF4lz.js +0 -1862
- package/dist/TutorialPage-CqGb6CEf.js +0 -482
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts +0 -52
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts.map +0 -1
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts +0 -61
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts.map +0 -1
- package/dist/useDashboard-BrcAKpuC.js +0 -3352
|
@@ -0,0 +1,509 @@
|
|
|
1
|
+
import { defineComponent as A, ref as I, computed as R, createElementBlock as s, openBlock as i, createElementVNode as n, createCommentVNode as k, toDisplayString as a, Fragment as x, renderList as H, normalizeClass as S, renderSlot as W, inject as f, watch as F, resolveComponent as l, createTextVNode as g, createVNode as C, createBlock as y, withCtx as N } from "vue";
|
|
2
|
+
import { a as P, C as q, E as Q, M as J, b as X, c as Y, d as Z, L as $, s as tt, K } from "./main-C-6acy1R.js";
|
|
3
|
+
import { L as et, C as ot, d as V } from "./LLMConnectionList-ByLjIXLO.js";
|
|
4
|
+
import O from "./ResultComponent-BKuWOt_p.js";
|
|
5
|
+
import nt from "./Dashboard-CCWjUVBq.js";
|
|
6
|
+
const it = A({
|
|
7
|
+
name: "FunctionDoc",
|
|
8
|
+
props: {
|
|
9
|
+
name: {
|
|
10
|
+
type: String,
|
|
11
|
+
required: !0
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: !0
|
|
16
|
+
},
|
|
17
|
+
func: {
|
|
18
|
+
type: Object,
|
|
19
|
+
required: !0
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
setup(o) {
|
|
23
|
+
const e = I(!1), d = R(() => ["function-purpose", `function-purpose-${o.func.outputPurpose.toLowerCase()}`]);
|
|
24
|
+
return {
|
|
25
|
+
showExample: e,
|
|
26
|
+
purposeClass: d
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
}), rt = { class: "function-doc" }, st = { class: "function-header" }, dt = { class: "function-name" }, ct = { class: "function-description" }, at = { class: "function-metadata" }, lt = { class: "function-metadata-row" }, ut = { class: "function-metadata-value" }, mt = {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "function-metadata-empty"
|
|
32
|
+
}, vt = {
|
|
33
|
+
key: 1,
|
|
34
|
+
class: "function-metadata-tags"
|
|
35
|
+
}, _t = { class: "function-metadata-row" }, pt = { class: "function-metadata-value" }, ft = { class: "function-metadata-tag" }, ht = { class: "function-metadata-row" }, yt = { class: "function-metadata-value" }, Ct = {
|
|
36
|
+
key: 0,
|
|
37
|
+
class: "function-example"
|
|
38
|
+
}, kt = { class: "function-example-code" };
|
|
39
|
+
function Et(o, e, d, t, m, r) {
|
|
40
|
+
return i(), s("div", rt, [
|
|
41
|
+
n("div", st, [
|
|
42
|
+
n("h3", dt, a(o.name), 1),
|
|
43
|
+
n("button", {
|
|
44
|
+
class: "function-example-toggle",
|
|
45
|
+
onClick: e[0] || (e[0] = (u) => o.showExample = !o.showExample)
|
|
46
|
+
}, a(o.showExample ? "Hide Example" : "Show Example"), 1)
|
|
47
|
+
]),
|
|
48
|
+
n("div", ct, a(o.description), 1),
|
|
49
|
+
n("div", at, [
|
|
50
|
+
n("div", lt, [
|
|
51
|
+
e[1] || (e[1] = n("div", { class: "function-metadata-label" }, "Inputs:", -1)),
|
|
52
|
+
n("div", ut, [
|
|
53
|
+
o.func.inputTypes.length === 0 ? (i(), s("span", mt, "No inputs")) : (i(), s("div", vt, [
|
|
54
|
+
(i(!0), s(x, null, H(o.func.inputTypes, (u, v) => (i(), s("span", {
|
|
55
|
+
key: v,
|
|
56
|
+
class: "function-metadata-tag"
|
|
57
|
+
}, a(u), 1))), 128))
|
|
58
|
+
]))
|
|
59
|
+
])
|
|
60
|
+
]),
|
|
61
|
+
n("div", _t, [
|
|
62
|
+
e[2] || (e[2] = n("div", { class: "function-metadata-label" }, "Output:", -1)),
|
|
63
|
+
n("div", pt, [
|
|
64
|
+
n("span", ft, a(o.func.outputType), 1)
|
|
65
|
+
])
|
|
66
|
+
]),
|
|
67
|
+
n("div", ht, [
|
|
68
|
+
e[3] || (e[3] = n("div", { class: "function-metadata-label" }, "Purpose:", -1)),
|
|
69
|
+
n("div", yt, [
|
|
70
|
+
n("span", {
|
|
71
|
+
class: S(o.purposeClass)
|
|
72
|
+
}, a(o.func.outputPurpose), 3)
|
|
73
|
+
])
|
|
74
|
+
])
|
|
75
|
+
]),
|
|
76
|
+
o.showExample ? (i(), s("div", Ct, [
|
|
77
|
+
e[4] || (e[4] = n("div", { class: "function-example-label" }, "Example:", -1)),
|
|
78
|
+
n("pre", kt, a(o.func.example), 1)
|
|
79
|
+
])) : k("", !0)
|
|
80
|
+
]);
|
|
81
|
+
}
|
|
82
|
+
const bt = /* @__PURE__ */ P(it, [["render", Et], ["__scopeId", "data-v-4ab8a3dc"]]), gt = /* @__PURE__ */ A({
|
|
83
|
+
__name: "HighlightComponent",
|
|
84
|
+
props: {
|
|
85
|
+
type: {}
|
|
86
|
+
},
|
|
87
|
+
setup(o) {
|
|
88
|
+
return (e, d) => (i(), s("div", {
|
|
89
|
+
class: S(["highlight", o.type])
|
|
90
|
+
}, [
|
|
91
|
+
W(e.$slots, "default", {}, void 0, !0)
|
|
92
|
+
], 2));
|
|
93
|
+
}
|
|
94
|
+
}), St = /* @__PURE__ */ P(gt, [["__scopeId", "data-v-0f045873"]]), wt = {
|
|
95
|
+
name: "TutorialPromptComponent",
|
|
96
|
+
components: {
|
|
97
|
+
Editor: Q,
|
|
98
|
+
ResultComponent: O,
|
|
99
|
+
CodeBlock: q
|
|
100
|
+
},
|
|
101
|
+
props: {
|
|
102
|
+
// Array of prompts to navigate through
|
|
103
|
+
prompts: {
|
|
104
|
+
type: Array,
|
|
105
|
+
required: !0
|
|
106
|
+
},
|
|
107
|
+
context: {
|
|
108
|
+
type: String,
|
|
109
|
+
default: "main-trilogy"
|
|
110
|
+
},
|
|
111
|
+
editorId: {
|
|
112
|
+
type: String,
|
|
113
|
+
default: "tutorial-editor"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
setup(o) {
|
|
117
|
+
const e = f("editorStore"), d = f("saveEditors"), t = I(null);
|
|
118
|
+
if (!e || !d)
|
|
119
|
+
throw new Error("Editor store or saveEditors function not provided");
|
|
120
|
+
const m = I(0), r = I(!1), u = I(!1), v = R(() => o.prompts[m.value]);
|
|
121
|
+
F(
|
|
122
|
+
() => {
|
|
123
|
+
var p;
|
|
124
|
+
return (p = e.editors[o.editorId]) == null ? void 0 : p.results;
|
|
125
|
+
},
|
|
126
|
+
() => {
|
|
127
|
+
r.value && h();
|
|
128
|
+
},
|
|
129
|
+
{ deep: !0 }
|
|
130
|
+
), F(m, () => {
|
|
131
|
+
r.value = !1, u.value = !1;
|
|
132
|
+
});
|
|
133
|
+
function E() {
|
|
134
|
+
m.value < o.prompts.length - 1 && u.value && m.value++;
|
|
135
|
+
}
|
|
136
|
+
function _() {
|
|
137
|
+
m.value > 0 && m.value--;
|
|
138
|
+
}
|
|
139
|
+
function h() {
|
|
140
|
+
var M;
|
|
141
|
+
if (r.value = !0, !e) return;
|
|
142
|
+
const p = (M = e.editors[o.editorId]) == null ? void 0 : M.results;
|
|
143
|
+
p && v.value.validationFn ? u.value = v.value.validationFn(p) : u.value = !1;
|
|
144
|
+
}
|
|
145
|
+
function b() {
|
|
146
|
+
d && (d(), h());
|
|
147
|
+
}
|
|
148
|
+
function L(p) {
|
|
149
|
+
console.log("Setting editor content pre:", p), t.value && (console.log("Setting editor content:", p), t.value.setContent(p));
|
|
150
|
+
}
|
|
151
|
+
function T() {
|
|
152
|
+
t.value && t.value.runQuery();
|
|
153
|
+
}
|
|
154
|
+
return {
|
|
155
|
+
editorStore: e,
|
|
156
|
+
runQuery: T,
|
|
157
|
+
currentIndex: m,
|
|
158
|
+
currentPrompt: v,
|
|
159
|
+
hasUserAttempted: r,
|
|
160
|
+
isCurrentPromptValid: u,
|
|
161
|
+
nextPrompt: E,
|
|
162
|
+
prevPrompt: _,
|
|
163
|
+
validateResults: h,
|
|
164
|
+
saveEditorsCall: b,
|
|
165
|
+
setEditorContent: L,
|
|
166
|
+
editorRef: t
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
}, Dt = { class: "tutorial-prompt-container" }, It = { class: "prompt-navigation" }, xt = ["disabled"], Mt = { class: "progress-indicator" }, Pt = ["disabled"], Lt = { class: "prompt-content" }, Tt = { class: "prompt-header" }, Nt = ["innerHTML"], Ht = {
|
|
170
|
+
key: 0,
|
|
171
|
+
class: "prompt-example"
|
|
172
|
+
}, Ft = { class: "editor-container" }, Kt = { class: "editor-section" }, Vt = { class: "results-section" }, At = {
|
|
173
|
+
key: 0,
|
|
174
|
+
class: "hint-section"
|
|
175
|
+
};
|
|
176
|
+
function Rt(o, e, d, t, m, r) {
|
|
177
|
+
const u = l("code-block"), v = l("editor"), E = l("result-component");
|
|
178
|
+
return i(), s("div", Dt, [
|
|
179
|
+
n("div", It, [
|
|
180
|
+
n("button", {
|
|
181
|
+
onClick: e[0] || (e[0] = (..._) => t.prevPrompt && t.prevPrompt(..._)),
|
|
182
|
+
disabled: t.currentIndex === 0,
|
|
183
|
+
class: "nav-button"
|
|
184
|
+
}, [...e[2] || (e[2] = [
|
|
185
|
+
n("span", { class: "nav-icon" }, "←", -1),
|
|
186
|
+
g(" Previous ", -1)
|
|
187
|
+
])], 8, xt),
|
|
188
|
+
n("div", Mt, a(t.currentIndex + 1) + " / " + a(d.prompts.length), 1),
|
|
189
|
+
n("button", {
|
|
190
|
+
onClick: e[1] || (e[1] = (..._) => t.nextPrompt && t.nextPrompt(..._)),
|
|
191
|
+
disabled: t.currentIndex === d.prompts.length - 1 || !t.isCurrentPromptValid,
|
|
192
|
+
class: "nav-button",
|
|
193
|
+
"data-testid": "next-prompt"
|
|
194
|
+
}, [...e[3] || (e[3] = [
|
|
195
|
+
g(" Next ", -1),
|
|
196
|
+
n("span", { class: "nav-icon" }, "→", -1)
|
|
197
|
+
])], 8, Pt)
|
|
198
|
+
]),
|
|
199
|
+
n("div", Lt, [
|
|
200
|
+
n("div", Tt, [
|
|
201
|
+
n("h3", null, a(t.currentPrompt.title), 1),
|
|
202
|
+
t.hasUserAttempted ? (i(), s("div", {
|
|
203
|
+
key: 0,
|
|
204
|
+
class: S(["validation-status", t.isCurrentPromptValid ? "valid" : "invalid"])
|
|
205
|
+
}, a(t.isCurrentPromptValid ? "✓ Correct!" : "✗ Try again"), 3)) : k("", !0)
|
|
206
|
+
]),
|
|
207
|
+
n("div", {
|
|
208
|
+
class: "prompt-description",
|
|
209
|
+
innerHTML: t.currentPrompt.description
|
|
210
|
+
}, null, 8, Nt),
|
|
211
|
+
t.currentPrompt.example ? (i(), s("div", Ht, [
|
|
212
|
+
C(u, {
|
|
213
|
+
language: "sql",
|
|
214
|
+
content: t.currentPrompt.example,
|
|
215
|
+
copy: t.setEditorContent
|
|
216
|
+
}, null, 8, ["content", "copy"])
|
|
217
|
+
])) : k("", !0)
|
|
218
|
+
]),
|
|
219
|
+
n("div", Ft, [
|
|
220
|
+
n("div", Kt, [
|
|
221
|
+
C(v, {
|
|
222
|
+
context: d.context,
|
|
223
|
+
editorId: d.editorId,
|
|
224
|
+
onSaveEditors: t.saveEditorsCall,
|
|
225
|
+
ref: "editorRef",
|
|
226
|
+
onQueryFinished: t.validateResults,
|
|
227
|
+
containerHeight: 300
|
|
228
|
+
}, null, 8, ["context", "editorId", "onSaveEditors", "onQueryFinished"])
|
|
229
|
+
]),
|
|
230
|
+
n("div", Vt, [
|
|
231
|
+
C(E, {
|
|
232
|
+
editorData: t.editorStore.editors[d.editorId],
|
|
233
|
+
containerHeight: 500,
|
|
234
|
+
onLlmQueryAccepted: t.runQuery
|
|
235
|
+
}, null, 8, ["editorData", "onLlmQueryAccepted"])
|
|
236
|
+
])
|
|
237
|
+
]),
|
|
238
|
+
t.currentPrompt.hints ? (i(), s("div", At, [
|
|
239
|
+
n("details", null, [
|
|
240
|
+
e[4] || (e[4] = n("summary", null, "Need a hint?", -1)),
|
|
241
|
+
n("ul", null, [
|
|
242
|
+
(i(!0), s(x, null, H(t.currentPrompt.hints, (_, h) => (i(), s("li", { key: h }, a(_), 1))), 128))
|
|
243
|
+
])
|
|
244
|
+
])
|
|
245
|
+
])) : k("", !0)
|
|
246
|
+
]);
|
|
247
|
+
}
|
|
248
|
+
const qt = /* @__PURE__ */ P(wt, [["render", Rt], ["__scopeId", "data-v-92bb8793"]]), Qt = "Studio", Ot = "Welcome", w = "demo-model-connection", D = "demo-model", jt = {
|
|
249
|
+
name: "TutorialComponent",
|
|
250
|
+
props: {
|
|
251
|
+
activeDocumentationKey: {
|
|
252
|
+
type: String,
|
|
253
|
+
default: "",
|
|
254
|
+
optional: !0
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
setup() {
|
|
258
|
+
var h;
|
|
259
|
+
const o = f("editorStore"), e = f("connectionStore"), d = f("modelStore"), t = f("dashboardStore"), m = f("llmConnectionStore"), r = f("saveEditors"), u = f("saveConnections"), v = f("saveModels"), E = f("saveDashboards");
|
|
260
|
+
if (!o || !e || !d || !t || !m)
|
|
261
|
+
throw new Error("Demo requires more stores!");
|
|
262
|
+
const _ = (h = Object.values(t == null ? void 0 : t.dashboards).find(
|
|
263
|
+
(b) => b.name === "example-dashboard" && b.connection === "demo-model-connection"
|
|
264
|
+
)) == null ? void 0 : h.id;
|
|
265
|
+
if (!o || !e || !d || !t || !m || !r || !u || !v || !E)
|
|
266
|
+
throw new Error("Editor store is not provided!");
|
|
267
|
+
return {
|
|
268
|
+
editorStore: o,
|
|
269
|
+
connectionStore: e,
|
|
270
|
+
dashboardStore: t,
|
|
271
|
+
llmConnectionStore: m,
|
|
272
|
+
modelStore: d,
|
|
273
|
+
saveEditors: r,
|
|
274
|
+
saveConnections: u,
|
|
275
|
+
saveModels: v,
|
|
276
|
+
saveDashboards: E,
|
|
277
|
+
demoConnectionName: w,
|
|
278
|
+
demoModelName: D,
|
|
279
|
+
demoDashboardID: _
|
|
280
|
+
};
|
|
281
|
+
},
|
|
282
|
+
components: {
|
|
283
|
+
LoadingButton: $,
|
|
284
|
+
ConnectionList: ot,
|
|
285
|
+
LLMConnectionList: et,
|
|
286
|
+
EditorList: Z,
|
|
287
|
+
ModelCard: Y,
|
|
288
|
+
HighlightComponent: St,
|
|
289
|
+
Editor: Q,
|
|
290
|
+
ResultsView: O,
|
|
291
|
+
CommunityModels: X,
|
|
292
|
+
CodeBlock: q,
|
|
293
|
+
TutorialPrompt: qt,
|
|
294
|
+
Dashboard: nt,
|
|
295
|
+
TutorialFunction: bt,
|
|
296
|
+
MarkdownRenderer: J
|
|
297
|
+
},
|
|
298
|
+
computed: {
|
|
299
|
+
demoConfig() {
|
|
300
|
+
return this.modelStore.models[D];
|
|
301
|
+
},
|
|
302
|
+
demoModelCorrect() {
|
|
303
|
+
var o;
|
|
304
|
+
return ((o = this.modelStore.models[D]) == null ? void 0 : o.name) === D;
|
|
305
|
+
},
|
|
306
|
+
demoConnectionCorrect() {
|
|
307
|
+
var o, e;
|
|
308
|
+
return ((o = this.connectionStore.connections[w]) == null ? void 0 : o.connected) && ((e = this.connectionStore.connections[w]) == null ? void 0 : e.model) === D;
|
|
309
|
+
},
|
|
310
|
+
demoEditorId() {
|
|
311
|
+
const o = Object.values(this.editorStore.editors).find(
|
|
312
|
+
(e) => e.name === "my-first-editor" && e.connection === w
|
|
313
|
+
);
|
|
314
|
+
return o ? o.id : null;
|
|
315
|
+
},
|
|
316
|
+
demoEditorCorrect() {
|
|
317
|
+
return !!this.demoEditorId;
|
|
318
|
+
},
|
|
319
|
+
visibleParagraphs() {
|
|
320
|
+
if (!this.currentData) return [];
|
|
321
|
+
const o = this.currentData.paragraphs, e = [], d = {
|
|
322
|
+
"model-validator": this.demoModelCorrect,
|
|
323
|
+
"connection-validator": this.demoConnectionCorrect,
|
|
324
|
+
"editor-validator": this.demoEditorCorrect
|
|
325
|
+
};
|
|
326
|
+
for (const t of o)
|
|
327
|
+
if (e.push(t), t.type && t.type in d && !d[t.type])
|
|
328
|
+
break;
|
|
329
|
+
return e;
|
|
330
|
+
},
|
|
331
|
+
currentNode() {
|
|
332
|
+
return this.activeDocumentationKey ? this.activeDocumentationKey.split(K)[1] : Qt;
|
|
333
|
+
},
|
|
334
|
+
currentTopic() {
|
|
335
|
+
return this.activeDocumentationKey ? this.activeDocumentationKey.split(K)[2] : Ot;
|
|
336
|
+
},
|
|
337
|
+
currentData() {
|
|
338
|
+
var o, e;
|
|
339
|
+
return this.currentTopic ? (e = V.find((d) => d.title === this.currentNode)) == null ? void 0 : e.articles.find((d) => d.title === this.currentTopic) : (o = V.find((d) => d.title === this.currentNode)) == null ? void 0 : o.articles[0];
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
methods: {
|
|
343
|
+
setupDemo() {
|
|
344
|
+
tt(
|
|
345
|
+
this.editorStore,
|
|
346
|
+
this.connectionStore,
|
|
347
|
+
this.modelStore,
|
|
348
|
+
this.dashboardStore,
|
|
349
|
+
this.saveEditors,
|
|
350
|
+
this.saveConnections,
|
|
351
|
+
this.saveModels,
|
|
352
|
+
this.saveDashboards
|
|
353
|
+
);
|
|
354
|
+
},
|
|
355
|
+
saveEditorsCall() {
|
|
356
|
+
this.saveEditors();
|
|
357
|
+
},
|
|
358
|
+
createEditorForMe() {
|
|
359
|
+
this.editorStore.newEditor("my-first-editor", "trilogy", w, ""), this.saveEditors(Object.values(this.editorStore.editors));
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}, Bt = {
|
|
363
|
+
key: 0,
|
|
364
|
+
class: "section-header"
|
|
365
|
+
}, Ut = {
|
|
366
|
+
key: 1,
|
|
367
|
+
class: "tutorial-container"
|
|
368
|
+
}, Gt = {
|
|
369
|
+
id: "navigation",
|
|
370
|
+
class: "tutorial-section"
|
|
371
|
+
}, zt = {
|
|
372
|
+
key: 5,
|
|
373
|
+
class: "llm-connections"
|
|
374
|
+
}, Wt = { key: 9 }, Jt = { key: 10 }, Xt = { key: 11 }, Yt = { key: 12 }, Zt = { class: "editor-top" }, $t = { class: "editor-bottom" }, te = {
|
|
375
|
+
key: 13,
|
|
376
|
+
class: "dashboard"
|
|
377
|
+
}, ee = ["innerHTML"], oe = {
|
|
378
|
+
key: 0,
|
|
379
|
+
id: "navigation",
|
|
380
|
+
class: "tutorial-section"
|
|
381
|
+
}, ne = {
|
|
382
|
+
key: 1,
|
|
383
|
+
id: "navigation",
|
|
384
|
+
class: "tutorial-section"
|
|
385
|
+
};
|
|
386
|
+
function ie(o, e, d, t, m, r) {
|
|
387
|
+
const u = l("highlight-component"), v = l("markdown-renderer"), E = l("code-block"), _ = l("connection-list"), h = l("LLMConnectionList"), b = l("editor-list"), L = l("tutorial-prompt"), T = l("tutorial-function"), p = l("editor"), M = l("results-view"), j = l("dashboard"), B = l("community-models"), U = l("model-card"), G = l("loading-button");
|
|
388
|
+
return i(), s(x, null, [
|
|
389
|
+
r.currentData ? (i(), s("div", Bt, a(r.currentData.title), 1)) : k("", !0),
|
|
390
|
+
r.currentData ? (i(), s("div", Ut, [
|
|
391
|
+
n("section", Gt, [
|
|
392
|
+
(i(!0), s(x, null, H(r.visibleParagraphs, (c) => (i(), s(x, null, [
|
|
393
|
+
c.type === "tip" ? (i(), y(u, {
|
|
394
|
+
key: 0,
|
|
395
|
+
type: "tip"
|
|
396
|
+
}, {
|
|
397
|
+
default: N(() => [
|
|
398
|
+
g(a(c.content), 1)
|
|
399
|
+
]),
|
|
400
|
+
_: 2
|
|
401
|
+
}, 1024)) : c.type === "markdown" ? (i(), y(v, {
|
|
402
|
+
key: 1,
|
|
403
|
+
markdown: c.content
|
|
404
|
+
}, null, 8, ["markdown"])) : c.type === "warning" ? (i(), y(u, {
|
|
405
|
+
key: 2,
|
|
406
|
+
type: "warning"
|
|
407
|
+
}, {
|
|
408
|
+
default: N(() => [
|
|
409
|
+
g(a(c.content), 1)
|
|
410
|
+
]),
|
|
411
|
+
_: 2
|
|
412
|
+
}, 1024)) : c.type === "code" ? (i(), y(E, {
|
|
413
|
+
key: 3,
|
|
414
|
+
language: "trilogy",
|
|
415
|
+
content: c.content
|
|
416
|
+
}, null, 8, ["content"])) : c.type === "connections" ? (i(), y(_, {
|
|
417
|
+
key: 4,
|
|
418
|
+
connections: t.connectionStore.connections,
|
|
419
|
+
testTag: "tutorial-connection"
|
|
420
|
+
}, null, 8, ["connections"])) : c.type === "llm-connections" ? (i(), s("div", zt, [
|
|
421
|
+
C(h, {
|
|
422
|
+
connections: t.llmConnectionStore.connections
|
|
423
|
+
}, null, 8, ["connections"])
|
|
424
|
+
])) : c.type === "editors" ? (i(), y(b, {
|
|
425
|
+
key: 6,
|
|
426
|
+
connections: t.editorStore.editors,
|
|
427
|
+
testTag: "tutorial"
|
|
428
|
+
}, null, 8, ["connections"])) : c.type === "tutorial-prompts" && r.demoEditorId ? (i(), y(L, {
|
|
429
|
+
key: 7,
|
|
430
|
+
prompts: c.data.prompts || [],
|
|
431
|
+
context: c.data.context || "main-trilogy",
|
|
432
|
+
editorId: r.demoEditorId
|
|
433
|
+
}, null, 8, ["prompts", "context", "editorId"])) : c.type === "function" && c.data.function ? (i(), y(T, {
|
|
434
|
+
key: 8,
|
|
435
|
+
name: c.title,
|
|
436
|
+
description: c.content,
|
|
437
|
+
func: c.data.function
|
|
438
|
+
}, null, 8, ["name", "description", "func"])) : c.type === "connection-validator" ? (i(), s("div", Wt, [
|
|
439
|
+
n("div", {
|
|
440
|
+
class: S(["test-result", r.demoConnectionCorrect ? "passed" : "failed"]),
|
|
441
|
+
"data-testid": "demo-connection-validator"
|
|
442
|
+
}, a(r.demoConnectionCorrect ? `Great work: "${t.demoConnectionName}" found and connected with right model ✓` : `Almost there! "${t.demoConnectionName}" not found, wrong model, or not connected ✗`), 3)
|
|
443
|
+
])) : c.type === "editor-validator" ? (i(), s("div", Jt, [
|
|
444
|
+
n("div", {
|
|
445
|
+
class: S(["test-result", r.demoEditorCorrect ? "passed" : "failed"]),
|
|
446
|
+
"data-testid": "editor-validator"
|
|
447
|
+
}, [
|
|
448
|
+
g(a(r.demoEditorCorrect ? 'Great work: "my-first-editor" found and connected with right model ✓' : `Almost there! "my-first-editor" not found under ${t.demoConnectionName} and is required to continue. In the sidebar, click the "..." menu next to the connection to create it.`) + " ", 1),
|
|
449
|
+
!r.demoEditorCorrect && r.demoConnectionCorrect ? (i(), s("button", {
|
|
450
|
+
key: 0,
|
|
451
|
+
class: "create-for-me-btn",
|
|
452
|
+
onClick: e[0] || (e[0] = (...z) => r.createEditorForMe && r.createEditorForMe(...z)),
|
|
453
|
+
"data-testid": "create-editor-for-me"
|
|
454
|
+
}, " Create it for me ")) : k("", !0)
|
|
455
|
+
], 2)
|
|
456
|
+
])) : c.type === "model-validator" ? (i(), s("div", Xt, [
|
|
457
|
+
n("div", {
|
|
458
|
+
class: S(["test-result", r.demoModelCorrect ? "passed" : "failed"]),
|
|
459
|
+
"data-testid": "model-validator"
|
|
460
|
+
}, a(r.demoModelCorrect ? `Great work: "${t.demoModelName}" found ✓` : `Almost there! "${t.demoModelName}" not found under local models`), 3)
|
|
461
|
+
])) : c.type === "demo-editor" && r.demoEditorId ? (i(), s("div", Yt, [
|
|
462
|
+
n("div", Zt, [
|
|
463
|
+
C(p, {
|
|
464
|
+
context: "main-trilogy",
|
|
465
|
+
editorId: r.demoEditorId,
|
|
466
|
+
onSaveEditors: r.saveEditorsCall,
|
|
467
|
+
containerHeight: 500
|
|
468
|
+
}, null, 8, ["editorId", "onSaveEditors"])
|
|
469
|
+
]),
|
|
470
|
+
n("div", $t, [
|
|
471
|
+
C(M, {
|
|
472
|
+
editorData: t.editorStore.editors[r.demoEditorId],
|
|
473
|
+
containerHeight: 500
|
|
474
|
+
}, null, 8, ["editorData"])
|
|
475
|
+
])
|
|
476
|
+
])) : c.type === "dashboard" && r.demoModelCorrect && t.demoDashboardID ? (i(), s("div", te, [
|
|
477
|
+
C(j, {
|
|
478
|
+
name: t.demoDashboardID,
|
|
479
|
+
connectionId: "demo-model-connection",
|
|
480
|
+
viewMode: !0
|
|
481
|
+
}, null, 8, ["name"])
|
|
482
|
+
])) : c.type === "community-models" ? (i(), y(B, {
|
|
483
|
+
key: 14,
|
|
484
|
+
activeCommunityModelKey: "trilogy-data-trilogy-public-models-main",
|
|
485
|
+
initialSearch: "demo"
|
|
486
|
+
})) : (i(), s("p", {
|
|
487
|
+
key: 15,
|
|
488
|
+
innerHTML: c.content
|
|
489
|
+
}, null, 8, ee))
|
|
490
|
+
], 64))), 256))
|
|
491
|
+
]),
|
|
492
|
+
r.currentTopic === "Models" ? (i(), s("section", oe, [
|
|
493
|
+
C(U, { config: r.demoConfig }, null, 8, ["config"])
|
|
494
|
+
])) : k("", !0),
|
|
495
|
+
r.currentTopic === "Overview" && r.currentNode === "Demo" ? (i(), s("section", ne, [
|
|
496
|
+
C(G, { action: r.setupDemo }, {
|
|
497
|
+
default: N(() => [...e[1] || (e[1] = [
|
|
498
|
+
g("Reset Demo", -1)
|
|
499
|
+
])]),
|
|
500
|
+
_: 1
|
|
501
|
+
}, 8, ["action"])
|
|
502
|
+
])) : k("", !0)
|
|
503
|
+
])) : k("", !0)
|
|
504
|
+
], 64);
|
|
505
|
+
}
|
|
506
|
+
const le = /* @__PURE__ */ P(jt, [["render", ie], ["__scopeId", "data-v-bc6ae398"]]);
|
|
507
|
+
export {
|
|
508
|
+
le as default
|
|
509
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const E = { class: "container" }, N = { class: "content" }, S = { class: "logo" }, V = ["src"], $ = { key: 1 }, D = { class: "buttons" }, I = { key: 0 }, L = { key: 1 }, j = { key: 1 }, w = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as g, inject as k, ref as m, computed as f, createElementBlock as o, openBlock as n, createElementVNode as t, unref as _, Fragment as v, createCommentVNode as c, createTextVNode as l, createVNode as C } from "vue";
|
|
2
|
+
import { y as x, J as T, a as W } from "./main-C-6acy1R.js";
|
|
3
|
+
const E = { class: "container" }, N = { class: "content" }, S = { class: "logo" }, V = ["src"], $ = { key: 1 }, D = { class: "buttons" }, I = { key: 0 }, L = { key: 1 }, j = { key: 1 }, w = /* @__PURE__ */ g({
|
|
4
4
|
__name: "WelcomePage",
|
|
5
5
|
emits: [
|
|
6
6
|
"demo-started",
|
|
@@ -9,7 +9,7 @@ const E = { class: "container" }, N = { class: "content" }, S = { class: "logo"
|
|
|
9
9
|
"documentation-key-selected"
|
|
10
10
|
],
|
|
11
11
|
setup(B, { emit: p }) {
|
|
12
|
-
const u =
|
|
12
|
+
const u = k("connectionStore"), i = m(!1), s = m(!1), a = p, b = () => {
|
|
13
13
|
i.value = !0, a("demo-started"), setTimeout(() => {
|
|
14
14
|
i.value = !1;
|
|
15
15
|
}, 3e4);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetAutoImporter.vue.d.ts","sourceRoot":"","sources":["../../components/AssetAutoImporter.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AssetAutoImporter.vue.d.ts","sourceRoot":"","sources":["../../components/AssetAutoImporter.vue"],"names":[],"mappings":"AAghCA,KAAK,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAA;;;;;;;;AAg8BnD,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartControlPanel.vue.d.ts","sourceRoot":"","sources":["../../components/ChartControlPanel.vue"],"names":[],"mappings":"AA2FA;
|
|
1
|
+
{"version":3,"file":"ChartControlPanel.vue.d.ts","sourceRoot":"","sources":["../../components/ChartControlPanel.vue"],"names":[],"mappings":"AA2FA;AAwTA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAErE,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,oBAAoB,EAAE,CAAA;CACjC;AAED,UAAU,oBAAqB,SAAQ,YAAY;IACjD,SAAS,EAAE,QAAQ,GAAG,UAAU,CAAA;CACjC;;;cAOqB,QAAQ,CAAC,WAAW,CAAC;;;;cAItB,QAAQ,CAAC,KAAK,CAAC;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;;;;cAI5D,QAAQ,CACxB,CACE,IAAI,EACA,SAAS,GACT,aAAa,GACb,UAAU,GACV,UAAU,GACV,WAAW,GACX,YAAY,GACZ,KAAK,KACN,YAAY,EAAE,CACpB;;;;;0BA2C0B,MAAM,SAAS,GAAG;;;cA9D7B,QAAQ,CAAC,WAAW,CAAC;;;;cAItB,QAAQ,CAAC,KAAK,CAAC;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;;;;cAI5D,QAAQ,CACxB,CACE,IAAI,EACA,SAAS,GACT,aAAa,GACb,UAAU,GACV,UAAU,GACV,WAAW,GACX,YAAY,GACZ,KAAK,KACN,YAAY,EAAE,CACpB;;;;;;;AAxBP,wBA6EC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.vue.d.ts","sourceRoot":"","sources":["../../components/CodeBlock.vue"],"names":[],"mappings":"AAoCA;
|
|
1
|
+
{"version":3,"file":"CodeBlock.vue.d.ts","sourceRoot":"","sources":["../../components/CodeBlock.vue"],"names":[],"mappings":"AAoCA;AAiMA,OAAO,EAA8C,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;cAWzD,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC;;;;;;;;;;;;;;;;;;cAA3B,QAAQ,CAAC,KAAK,GAAG,SAAS,CAAC;;;;;;;;;;;;AARjD,wBAgFC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface ConfirmDialogProps {
|
|
2
|
+
show: boolean;
|
|
3
|
+
title: string;
|
|
4
|
+
message: string;
|
|
5
|
+
confirmLabel?: string;
|
|
6
|
+
cancelLabel?: string;
|
|
7
|
+
confirmTestId?: string;
|
|
8
|
+
cancelTestId?: string;
|
|
9
|
+
confirmDisabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<ConfirmDialogProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
close: () => any;
|
|
13
|
+
confirm: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<ConfirmDialogProps> & Readonly<{
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
|
+
onConfirm?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
confirmLabel: string;
|
|
19
|
+
cancelLabel: string;
|
|
20
|
+
confirmTestId: string;
|
|
21
|
+
cancelTestId: string;
|
|
22
|
+
confirmDisabled: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
export default _default;
|
|
25
|
+
//# sourceMappingURL=ConfirmDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.vue.d.ts","sourceRoot":"","sources":["../../components/ConfirmDialog.vue"],"names":[],"mappings":"AA2EA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;;;;;;;;kBALgB,MAAM;iBACP,MAAM;mBACJ,MAAM;kBACP,MAAM;qBACH,OAAO;;AAqH3B,wBASG"}
|
|
@@ -5,9 +5,11 @@ export interface Position {
|
|
|
5
5
|
}
|
|
6
6
|
export interface ContextMenuItem {
|
|
7
7
|
id: string;
|
|
8
|
-
label
|
|
8
|
+
label?: string;
|
|
9
9
|
icon?: string;
|
|
10
10
|
danger?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
kind?: 'item' | 'separator';
|
|
11
13
|
}
|
|
12
14
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
15
|
items: {
|
|
@@ -56,8 +58,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
56
58
|
default: string;
|
|
57
59
|
};
|
|
58
60
|
}>> & Readonly<{
|
|
59
|
-
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
60
61
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
61
63
|
}>, {
|
|
62
64
|
id: string;
|
|
63
65
|
position: Position;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenu.vue.d.ts","sourceRoot":"","sources":["../../components/ContextMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextMenu.vue.d.ts","sourceRoot":"","sources":["../../components/ContextMenu.vue"],"names":[],"mappings":"AA0BA;AAwLA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,CAAA;CAC5B;;;cAMoB,QAAQ,CAAC,eAAe,EAAE,CAAC;;;;cAI1B,QAAQ,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;4BAqBL,eAAe;;;cAzB7B,QAAQ,CAAC,eAAe,EAAE,CAAC;;;;cAI1B,QAAQ,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;AARxC,wBA8DC"}
|
|
@@ -32,6 +32,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
32
32
|
type: BooleanConstructor;
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
|
+
flushChrome: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
35
39
|
}>, {
|
|
36
40
|
settingsStore: import('pinia').Store<"userSettings", {
|
|
37
41
|
settings: import('../stores/userSettingsStore.ts').UserSettings;
|
|
@@ -194,11 +198,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
194
198
|
type: BooleanConstructor;
|
|
195
199
|
default: boolean;
|
|
196
200
|
};
|
|
201
|
+
flushChrome: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
197
205
|
}>> & Readonly<{}>, {
|
|
198
206
|
cellClick: Function;
|
|
199
207
|
backgroundClick: Function;
|
|
200
208
|
prettyPrint: boolean;
|
|
201
209
|
fitParent: boolean;
|
|
210
|
+
flushChrome: boolean;
|
|
202
211
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
203
212
|
export default _default;
|
|
204
213
|
//# sourceMappingURL=DataTable.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../components/DataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../components/DataTable.vue"],"names":[],"mappings":"AAiMA;AAAA,OAgsBO,EACL,SAAS,EAUV,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EAAiB,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAE3D,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;;cA8M1B,QAAQ,CAAC,SAAS,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAXpB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI;;;;;oBAqEjC,gBAAgB,EAAE;;;;8BAsFR,MAAM,QAAQ,SAAS,GAAG,OAAO;;;;;;;;;;;;;;;cAhJ1C,QAAQ,CAAC,SAAS,GAAG,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAd7C,wBA0SC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableTitle.vue.d.ts","sourceRoot":"","sources":["../../components/EditableTitle.vue"],"names":[],"mappings":"AAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"EditableTitle.vue.d.ts","sourceRoot":"","sources":["../../components/EditableTitle.vue"],"names":[],"mappings":"AAmBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmIA,wBAiDC"}
|
|
@@ -6,7 +6,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
|
|
|
6
6
|
sysType: string;
|
|
7
7
|
}, {
|
|
8
8
|
shortcuts(): Array<any>;
|
|
9
|
-
icon(): "
|
|
9
|
+
icon(): "Cmd" | "Ctrl";
|
|
10
10
|
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
12
12
|
//# sourceMappingURL=HintComponent.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HintComponent.vue.d.ts","sourceRoot":"","sources":["../../components/HintComponent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HintComponent.vue.d.ts","sourceRoot":"","sources":["../../components/HintComponent.vue"],"names":[],"mappings":"AAmJA;;;;;;;;iBAuTiB,KAAK,CAAC,GAAG,CAAC;;;AAnC3B,wBA8CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingButton.vue.d.ts","sourceRoot":"","sources":["../../components/LoadingButton.vue"],"names":[],"mappings":"AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"LoadingButton.vue.d.ts","sourceRoot":"","sources":["../../components/LoadingButton.vue"],"names":[],"mappings":"AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA0OkC,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhC/C,wBAiGC"}
|