@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
|
@@ -1,482 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Q, ref as E, computed as R, createElementBlock as r, openBlock as i, createElementVNode as n, createCommentVNode as S, toDisplayString as a, Fragment as D, renderList as H, normalizeClass as g, renderSlot as W, inject as f, watch as K, resolveComponent as l, createTextVNode as x, createVNode as C, createBlock as h, withCtx as N } from "vue";
|
|
2
|
-
import { a as T, C as q, E as F, M as z, b as J, c as X, d as Y, L as Z, s as $, K as V } from "./main-B49yDSSL.js";
|
|
3
|
-
import { L as tt, C as et, d as A } from "./LLMConnectionList-egIna8uh.js";
|
|
4
|
-
import B from "./ResultComponent-Dqzd51fk.js";
|
|
5
|
-
import ot from "./Dashboard-BzU5l0J1.js";
|
|
6
|
-
const nt = Q({
|
|
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 = E(!1), c = R(() => ["function-purpose", `function-purpose-${o.func.outputPurpose.toLowerCase()}`]);
|
|
24
|
-
return {
|
|
25
|
-
showExample: e,
|
|
26
|
-
purposeClass: c
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
}), it = { class: "function-doc" }, st = { class: "function-header" }, rt = { class: "function-name" }, dt = { class: "function-description" }, ct = { class: "function-metadata" }, at = { class: "function-metadata-row" }, lt = { class: "function-metadata-value" }, ut = {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: "function-metadata-empty"
|
|
32
|
-
}, mt = {
|
|
33
|
-
key: 1,
|
|
34
|
-
class: "function-metadata-tags"
|
|
35
|
-
}, _t = { class: "function-metadata-row" }, vt = { class: "function-metadata-value" }, pt = { class: "function-metadata-tag" }, ft = { class: "function-metadata-row" }, yt = { class: "function-metadata-value" }, ht = {
|
|
36
|
-
key: 0,
|
|
37
|
-
class: "function-example"
|
|
38
|
-
}, Ct = { class: "function-example-code" };
|
|
39
|
-
function kt(o, e, c, t, m, s) {
|
|
40
|
-
return i(), r("div", it, [
|
|
41
|
-
n("div", st, [
|
|
42
|
-
n("h3", rt, 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", dt, a(o.description), 1),
|
|
49
|
-
n("div", ct, [
|
|
50
|
-
n("div", at, [
|
|
51
|
-
e[1] || (e[1] = n("div", { class: "function-metadata-label" }, "Inputs:", -1)),
|
|
52
|
-
n("div", lt, [
|
|
53
|
-
o.func.inputTypes.length === 0 ? (i(), r("span", ut, "No inputs")) : (i(), r("div", mt, [
|
|
54
|
-
(i(!0), r(D, null, H(o.func.inputTypes, (u, _) => (i(), r("span", {
|
|
55
|
-
key: _,
|
|
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", vt, [
|
|
64
|
-
n("span", pt, a(o.func.outputType), 1)
|
|
65
|
-
])
|
|
66
|
-
]),
|
|
67
|
-
n("div", ft, [
|
|
68
|
-
e[3] || (e[3] = n("div", { class: "function-metadata-label" }, "Purpose:", -1)),
|
|
69
|
-
n("div", yt, [
|
|
70
|
-
n("span", {
|
|
71
|
-
class: g(o.purposeClass)
|
|
72
|
-
}, a(o.func.outputPurpose), 3)
|
|
73
|
-
])
|
|
74
|
-
])
|
|
75
|
-
]),
|
|
76
|
-
o.showExample ? (i(), r("div", ht, [
|
|
77
|
-
e[4] || (e[4] = n("div", { class: "function-example-label" }, "Example:", -1)),
|
|
78
|
-
n("pre", Ct, a(o.func.example), 1)
|
|
79
|
-
])) : S("", !0)
|
|
80
|
-
]);
|
|
81
|
-
}
|
|
82
|
-
const St = /* @__PURE__ */ T(nt, [["render", kt], ["__scopeId", "data-v-4ab8a3dc"]]), bt = /* @__PURE__ */ Q({
|
|
83
|
-
__name: "HighlightComponent",
|
|
84
|
-
props: {
|
|
85
|
-
type: {}
|
|
86
|
-
},
|
|
87
|
-
setup(o) {
|
|
88
|
-
return (e, c) => (i(), r("div", {
|
|
89
|
-
class: g(["highlight", o.type])
|
|
90
|
-
}, [
|
|
91
|
-
W(e.$slots, "default", {}, void 0, !0)
|
|
92
|
-
], 2));
|
|
93
|
-
}
|
|
94
|
-
}), gt = /* @__PURE__ */ T(bt, [["__scopeId", "data-v-0f045873"]]), wt = {
|
|
95
|
-
name: "TutorialPromptComponent",
|
|
96
|
-
components: {
|
|
97
|
-
Editor: F,
|
|
98
|
-
ResultComponent: B,
|
|
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"), c = f("saveEditors"), t = E(null);
|
|
118
|
-
if (!e || !c)
|
|
119
|
-
throw new Error("Editor store or saveEditors function not provided");
|
|
120
|
-
const m = E(0), s = E(!1), u = E(!1), _ = R(() => o.prompts[m.value]);
|
|
121
|
-
K(
|
|
122
|
-
() => {
|
|
123
|
-
var p;
|
|
124
|
-
return (p = e.editors[o.editorId]) == null ? void 0 : p.results;
|
|
125
|
-
},
|
|
126
|
-
() => {
|
|
127
|
-
s.value && y();
|
|
128
|
-
},
|
|
129
|
-
{ deep: !0 }
|
|
130
|
-
), K(m, () => {
|
|
131
|
-
s.value = !1, u.value = !1;
|
|
132
|
-
});
|
|
133
|
-
function k() {
|
|
134
|
-
m.value < o.prompts.length - 1 && u.value && m.value++;
|
|
135
|
-
}
|
|
136
|
-
function v() {
|
|
137
|
-
m.value > 0 && m.value--;
|
|
138
|
-
}
|
|
139
|
-
function y() {
|
|
140
|
-
var M;
|
|
141
|
-
if (s.value = !0, !e) return;
|
|
142
|
-
const p = (M = e.editors[o.editorId]) == null ? void 0 : M.results;
|
|
143
|
-
p && _.value.validationFn ? u.value = _.value.validationFn(p) : u.value = !1;
|
|
144
|
-
}
|
|
145
|
-
function b() {
|
|
146
|
-
c && (c(), y());
|
|
147
|
-
}
|
|
148
|
-
function I(p) {
|
|
149
|
-
console.log("Setting editor content pre:", p), t.value && (console.log("Setting editor content:", p), t.value.setContent(p));
|
|
150
|
-
}
|
|
151
|
-
function L() {
|
|
152
|
-
t.value && t.value.runQuery();
|
|
153
|
-
}
|
|
154
|
-
return {
|
|
155
|
-
editorStore: e,
|
|
156
|
-
runQuery: L,
|
|
157
|
-
currentIndex: m,
|
|
158
|
-
currentPrompt: _,
|
|
159
|
-
hasUserAttempted: s,
|
|
160
|
-
isCurrentPromptValid: u,
|
|
161
|
-
nextPrompt: k,
|
|
162
|
-
prevPrompt: v,
|
|
163
|
-
validateResults: y,
|
|
164
|
-
saveEditorsCall: b,
|
|
165
|
-
setEditorContent: I,
|
|
166
|
-
editorRef: t
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
}, Et = { class: "tutorial-prompt-container" }, Dt = { class: "prompt-navigation" }, xt = ["disabled"], Mt = { class: "progress-indicator" }, Pt = ["disabled"], Tt = { class: "prompt-content" }, It = { class: "prompt-header" }, Lt = ["innerHTML"], Nt = {
|
|
170
|
-
key: 0,
|
|
171
|
-
class: "prompt-example"
|
|
172
|
-
}, Ht = { class: "editor-container" }, Kt = { class: "editor-section" }, Vt = { class: "results-section" }, At = {
|
|
173
|
-
key: 0,
|
|
174
|
-
class: "hint-section"
|
|
175
|
-
};
|
|
176
|
-
function Qt(o, e, c, t, m, s) {
|
|
177
|
-
const u = l("code-block"), _ = l("editor"), k = l("result-component");
|
|
178
|
-
return i(), r("div", Et, [
|
|
179
|
-
n("div", Dt, [
|
|
180
|
-
n("button", {
|
|
181
|
-
onClick: e[0] || (e[0] = (...v) => t.prevPrompt && t.prevPrompt(...v)),
|
|
182
|
-
disabled: t.currentIndex === 0,
|
|
183
|
-
class: "nav-button"
|
|
184
|
-
}, [...e[2] || (e[2] = [
|
|
185
|
-
n("span", { class: "nav-icon" }, "←", -1),
|
|
186
|
-
x(" Previous ", -1)
|
|
187
|
-
])], 8, xt),
|
|
188
|
-
n("div", Mt, a(t.currentIndex + 1) + " / " + a(c.prompts.length), 1),
|
|
189
|
-
n("button", {
|
|
190
|
-
onClick: e[1] || (e[1] = (...v) => t.nextPrompt && t.nextPrompt(...v)),
|
|
191
|
-
disabled: t.currentIndex === c.prompts.length - 1 || !t.isCurrentPromptValid,
|
|
192
|
-
class: "nav-button",
|
|
193
|
-
"data-testid": "next-prompt"
|
|
194
|
-
}, [...e[3] || (e[3] = [
|
|
195
|
-
x(" Next ", -1),
|
|
196
|
-
n("span", { class: "nav-icon" }, "→", -1)
|
|
197
|
-
])], 8, Pt)
|
|
198
|
-
]),
|
|
199
|
-
n("div", Tt, [
|
|
200
|
-
n("div", It, [
|
|
201
|
-
n("h3", null, a(t.currentPrompt.title), 1),
|
|
202
|
-
t.hasUserAttempted ? (i(), r("div", {
|
|
203
|
-
key: 0,
|
|
204
|
-
class: g(["validation-status", t.isCurrentPromptValid ? "valid" : "invalid"])
|
|
205
|
-
}, a(t.isCurrentPromptValid ? "✓ Correct!" : "✗ Try again"), 3)) : S("", !0)
|
|
206
|
-
]),
|
|
207
|
-
n("div", {
|
|
208
|
-
class: "prompt-description",
|
|
209
|
-
innerHTML: t.currentPrompt.description
|
|
210
|
-
}, null, 8, Lt),
|
|
211
|
-
t.currentPrompt.example ? (i(), r("div", Nt, [
|
|
212
|
-
C(u, {
|
|
213
|
-
language: "sql",
|
|
214
|
-
content: t.currentPrompt.example,
|
|
215
|
-
copy: t.setEditorContent
|
|
216
|
-
}, null, 8, ["content", "copy"])
|
|
217
|
-
])) : S("", !0)
|
|
218
|
-
]),
|
|
219
|
-
n("div", Ht, [
|
|
220
|
-
n("div", Kt, [
|
|
221
|
-
C(_, {
|
|
222
|
-
context: c.context,
|
|
223
|
-
editorId: c.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(k, {
|
|
232
|
-
editorData: t.editorStore.editors[c.editorId],
|
|
233
|
-
containerHeight: 500,
|
|
234
|
-
onLlmQueryAccepted: t.runQuery
|
|
235
|
-
}, null, 8, ["editorData", "onLlmQueryAccepted"])
|
|
236
|
-
])
|
|
237
|
-
]),
|
|
238
|
-
t.currentPrompt.hints ? (i(), r("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), r(D, null, H(t.currentPrompt.hints, (v, y) => (i(), r("li", { key: y }, a(v), 1))), 128))
|
|
243
|
-
])
|
|
244
|
-
])
|
|
245
|
-
])) : S("", !0)
|
|
246
|
-
]);
|
|
247
|
-
}
|
|
248
|
-
const Rt = /* @__PURE__ */ T(wt, [["render", Qt], ["__scopeId", "data-v-92bb8793"]]), qt = "Studio", Ft = "Welcome", P = "demo-model-connection", w = "demo-model", Bt = {
|
|
249
|
-
name: "TutorialComponent",
|
|
250
|
-
props: {
|
|
251
|
-
activeDocumentationKey: {
|
|
252
|
-
type: String,
|
|
253
|
-
default: "",
|
|
254
|
-
optional: !0
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
setup() {
|
|
258
|
-
var y;
|
|
259
|
-
const o = f("editorStore"), e = f("connectionStore"), c = f("modelStore"), t = f("dashboardStore"), m = f("llmConnectionStore"), s = f("saveEditors"), u = f("saveConnections"), _ = f("saveModels"), k = f("saveDashboards");
|
|
260
|
-
if (!o || !e || !c || !t || !m)
|
|
261
|
-
throw new Error("Demo requires more stores!");
|
|
262
|
-
const v = (y = Object.values(t == null ? void 0 : t.dashboards).find(
|
|
263
|
-
(b) => b.name === "example-dashboard" && b.connection === "demo-model-connection"
|
|
264
|
-
)) == null ? void 0 : y.id;
|
|
265
|
-
if (!o || !e || !c || !t || !m || !s || !u || !_ || !k)
|
|
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: c,
|
|
273
|
-
saveEditors: s,
|
|
274
|
-
saveConnections: u,
|
|
275
|
-
saveModels: _,
|
|
276
|
-
saveDashboards: k,
|
|
277
|
-
demoConnectionName: P,
|
|
278
|
-
demoModelName: w,
|
|
279
|
-
demoDashboardID: v
|
|
280
|
-
};
|
|
281
|
-
},
|
|
282
|
-
components: {
|
|
283
|
-
LoadingButton: Z,
|
|
284
|
-
ConnectionList: et,
|
|
285
|
-
LLMConnectionList: tt,
|
|
286
|
-
EditorList: Y,
|
|
287
|
-
ModelCard: X,
|
|
288
|
-
HighlightComponent: gt,
|
|
289
|
-
Editor: F,
|
|
290
|
-
ResultsView: B,
|
|
291
|
-
CommunityModels: J,
|
|
292
|
-
CodeBlock: q,
|
|
293
|
-
TutorialPrompt: Rt,
|
|
294
|
-
Dashboard: ot,
|
|
295
|
-
TutorialFunction: St,
|
|
296
|
-
MarkdownRenderer: z
|
|
297
|
-
},
|
|
298
|
-
computed: {
|
|
299
|
-
demoConfig() {
|
|
300
|
-
return this.modelStore.models[w];
|
|
301
|
-
},
|
|
302
|
-
demoModelCorrect() {
|
|
303
|
-
var o;
|
|
304
|
-
return ((o = this.modelStore.models[w]) == null ? void 0 : o.name) === w;
|
|
305
|
-
},
|
|
306
|
-
demoConnectionCorrect() {
|
|
307
|
-
var o, e;
|
|
308
|
-
return ((o = this.connectionStore.connections[P]) == null ? void 0 : o.connected) && ((e = this.connectionStore.connections[P]) == null ? void 0 : e.model) === w;
|
|
309
|
-
},
|
|
310
|
-
demoEditorCorrect() {
|
|
311
|
-
var o;
|
|
312
|
-
return this.editorStore.editors["my-first-editor"] && ((o = this.editorStore.editors["my-first-editor"]) == null ? void 0 : o.connection) === P;
|
|
313
|
-
},
|
|
314
|
-
currentNode() {
|
|
315
|
-
return this.activeDocumentationKey ? this.activeDocumentationKey.split(V)[1] : qt;
|
|
316
|
-
},
|
|
317
|
-
currentTopic() {
|
|
318
|
-
return this.activeDocumentationKey ? this.activeDocumentationKey.split(V)[2] : Ft;
|
|
319
|
-
},
|
|
320
|
-
currentData() {
|
|
321
|
-
var o, e;
|
|
322
|
-
return this.currentTopic ? (e = A.find((c) => c.title === this.currentNode)) == null ? void 0 : e.articles.find((c) => c.title === this.currentTopic) : (o = A.find((c) => c.title === this.currentNode)) == null ? void 0 : o.articles[0];
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
methods: {
|
|
326
|
-
setupDemo() {
|
|
327
|
-
$(
|
|
328
|
-
this.editorStore,
|
|
329
|
-
this.connectionStore,
|
|
330
|
-
this.modelStore,
|
|
331
|
-
this.dashboardStore,
|
|
332
|
-
this.saveEditors,
|
|
333
|
-
this.saveConnections,
|
|
334
|
-
this.saveModels,
|
|
335
|
-
this.saveDashboards
|
|
336
|
-
);
|
|
337
|
-
},
|
|
338
|
-
saveEditorsCall() {
|
|
339
|
-
this.saveEditors();
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}, Ot = {
|
|
343
|
-
key: 0,
|
|
344
|
-
class: "section-header"
|
|
345
|
-
}, Ut = {
|
|
346
|
-
key: 1,
|
|
347
|
-
class: "tutorial-container"
|
|
348
|
-
}, jt = {
|
|
349
|
-
id: "navigation",
|
|
350
|
-
class: "tutorial-section"
|
|
351
|
-
}, Gt = {
|
|
352
|
-
key: 5,
|
|
353
|
-
class: "llm-connections"
|
|
354
|
-
}, Wt = { key: 9 }, zt = { key: 10 }, Jt = { key: 11 }, Xt = { key: 12 }, Yt = { class: "editor-top" }, Zt = { class: "editor-bottom" }, $t = {
|
|
355
|
-
key: 13,
|
|
356
|
-
class: "dashboard"
|
|
357
|
-
}, te = ["innerHTML"], ee = {
|
|
358
|
-
key: 0,
|
|
359
|
-
id: "navigation",
|
|
360
|
-
class: "tutorial-section"
|
|
361
|
-
}, oe = {
|
|
362
|
-
key: 1,
|
|
363
|
-
id: "navigation",
|
|
364
|
-
class: "tutorial-section"
|
|
365
|
-
};
|
|
366
|
-
function ne(o, e, c, t, m, s) {
|
|
367
|
-
const u = l("highlight-component"), _ = l("markdown-renderer"), k = l("code-block"), v = l("connection-list"), y = l("LLMConnectionList"), b = l("editor-list"), I = l("tutorial-prompt"), L = l("tutorial-function"), p = l("editor"), M = l("results-view"), O = l("dashboard"), U = l("community-models"), j = l("model-card"), G = l("loading-button");
|
|
368
|
-
return i(), r(D, null, [
|
|
369
|
-
s.currentData ? (i(), r("div", Ot, a(s.currentData.title), 1)) : S("", !0),
|
|
370
|
-
s.currentData ? (i(), r("div", Ut, [
|
|
371
|
-
n("section", jt, [
|
|
372
|
-
(i(!0), r(D, null, H(s.currentData.paragraphs, (d) => (i(), r(D, null, [
|
|
373
|
-
d.type === "tip" ? (i(), h(u, {
|
|
374
|
-
key: 0,
|
|
375
|
-
type: "tip"
|
|
376
|
-
}, {
|
|
377
|
-
default: N(() => [
|
|
378
|
-
x(a(d.content), 1)
|
|
379
|
-
]),
|
|
380
|
-
_: 2
|
|
381
|
-
}, 1024)) : d.type === "markdown" ? (i(), h(_, {
|
|
382
|
-
key: 1,
|
|
383
|
-
markdown: d.content
|
|
384
|
-
}, null, 8, ["markdown"])) : d.type === "warning" ? (i(), h(u, {
|
|
385
|
-
key: 2,
|
|
386
|
-
type: "warning"
|
|
387
|
-
}, {
|
|
388
|
-
default: N(() => [
|
|
389
|
-
x(a(d.content), 1)
|
|
390
|
-
]),
|
|
391
|
-
_: 2
|
|
392
|
-
}, 1024)) : d.type === "code" ? (i(), h(k, {
|
|
393
|
-
key: 3,
|
|
394
|
-
language: "trilogy",
|
|
395
|
-
content: d.content
|
|
396
|
-
}, null, 8, ["content"])) : d.type === "connections" ? (i(), h(v, {
|
|
397
|
-
key: 4,
|
|
398
|
-
connections: t.connectionStore.connections,
|
|
399
|
-
testTag: "tutorial-connection"
|
|
400
|
-
}, null, 8, ["connections"])) : d.type === "llm-connections" ? (i(), r("div", Gt, [
|
|
401
|
-
C(y, {
|
|
402
|
-
connections: t.llmConnectionStore.connections
|
|
403
|
-
}, null, 8, ["connections"])
|
|
404
|
-
])) : d.type === "editors" ? (i(), h(b, {
|
|
405
|
-
key: 6,
|
|
406
|
-
connections: t.editorStore.editors,
|
|
407
|
-
testTag: "tutorial"
|
|
408
|
-
}, null, 8, ["connections"])) : d.type === "tutorial-prompts" && s.demoEditorCorrect ? (i(), h(I, {
|
|
409
|
-
key: 7,
|
|
410
|
-
prompts: d.data.prompts || [],
|
|
411
|
-
context: d.data.context || "main-trilogy",
|
|
412
|
-
editorId: "my-first-editor"
|
|
413
|
-
}, null, 8, ["prompts", "context"])) : d.type === "function" && d.data.function ? (i(), h(L, {
|
|
414
|
-
key: 8,
|
|
415
|
-
name: d.title,
|
|
416
|
-
description: d.content,
|
|
417
|
-
func: d.data.function
|
|
418
|
-
}, null, 8, ["name", "description", "func"])) : d.type === "connection-validator" ? (i(), r("div", Wt, [
|
|
419
|
-
n("div", {
|
|
420
|
-
class: g(["test-result", s.demoConnectionCorrect ? "passed" : "failed"]),
|
|
421
|
-
"data-testid": "demo-connection-validator"
|
|
422
|
-
}, a(s.demoConnectionCorrect ? `Great work: "${t.demoConnectionName}" found and connected with right model ✓` : `Almost there! "${t.demoConnectionName}" not found, wrong model, or not connected ✗`), 3)
|
|
423
|
-
])) : d.type === "editor-validator" ? (i(), r("div", zt, [
|
|
424
|
-
n("div", {
|
|
425
|
-
class: g(["test-result", s.demoEditorCorrect ? "passed" : "failed"]),
|
|
426
|
-
"data-testid": "editor-validator"
|
|
427
|
-
}, a(s.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. The
|
|
428
|
-
Welcome and Query Tutorial will show you how to create it.`), 3)
|
|
429
|
-
])) : d.type === "model-validator" ? (i(), r("div", Jt, [
|
|
430
|
-
n("div", {
|
|
431
|
-
class: g(["test-result", s.demoModelCorrect ? "passed" : "failed"]),
|
|
432
|
-
"data-testid": "model-validator"
|
|
433
|
-
}, a(s.demoModelCorrect ? `Great work: "${t.demoModelName}" found ✓` : `Almost there! "${t.demoModelName}" not found under local models`), 3)
|
|
434
|
-
])) : d.type === "demo-editor" && s.demoEditorCorrect ? (i(), r("div", Xt, [
|
|
435
|
-
n("div", Yt, [
|
|
436
|
-
C(p, {
|
|
437
|
-
context: "main-trilogy",
|
|
438
|
-
editorId: "my-first-editor",
|
|
439
|
-
onSaveEditors: s.saveEditorsCall,
|
|
440
|
-
containerHeight: 500
|
|
441
|
-
}, null, 8, ["onSaveEditors"])
|
|
442
|
-
]),
|
|
443
|
-
n("div", Zt, [
|
|
444
|
-
C(M, {
|
|
445
|
-
editorData: t.editorStore.editors["my-first-editor"],
|
|
446
|
-
containerHeight: 500
|
|
447
|
-
}, null, 8, ["editorData"])
|
|
448
|
-
])
|
|
449
|
-
])) : d.type === "dashboard" && s.demoModelCorrect && t.demoDashboardID ? (i(), r("div", $t, [
|
|
450
|
-
C(O, {
|
|
451
|
-
name: t.demoDashboardID,
|
|
452
|
-
connectionId: "demo-model-connection",
|
|
453
|
-
viewMode: !0
|
|
454
|
-
}, null, 8, ["name"])
|
|
455
|
-
])) : d.type === "community-models" ? (i(), h(U, {
|
|
456
|
-
key: 14,
|
|
457
|
-
activeCommunityModelKey: "trilogy-data-trilogy-public-models-main",
|
|
458
|
-
initialSearch: "demo"
|
|
459
|
-
})) : (i(), r("p", {
|
|
460
|
-
key: 15,
|
|
461
|
-
innerHTML: d.content
|
|
462
|
-
}, null, 8, te))
|
|
463
|
-
], 64))), 256))
|
|
464
|
-
]),
|
|
465
|
-
s.currentTopic === "Models" ? (i(), r("section", ee, [
|
|
466
|
-
C(j, { config: s.demoConfig }, null, 8, ["config"])
|
|
467
|
-
])) : S("", !0),
|
|
468
|
-
s.currentTopic === "Overview" && s.currentNode === "Demo" ? (i(), r("section", oe, [
|
|
469
|
-
C(G, { action: s.setupDemo }, {
|
|
470
|
-
default: N(() => [...e[0] || (e[0] = [
|
|
471
|
-
x("Reset Demo", -1)
|
|
472
|
-
])]),
|
|
473
|
-
_: 1
|
|
474
|
-
}, 8, ["action"])
|
|
475
|
-
])) : S("", !0)
|
|
476
|
-
])) : S("", !0)
|
|
477
|
-
], 64);
|
|
478
|
-
}
|
|
479
|
-
const ae = /* @__PURE__ */ T(Bt, [["render", ne], ["__scopeId", "data-v-32213ce7"]]);
|
|
480
|
-
export {
|
|
481
|
-
ae as default
|
|
482
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
connection: string;
|
|
3
|
-
title: string;
|
|
4
|
-
}, {
|
|
5
|
-
createDashboard: () => void;
|
|
6
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
7
|
-
connection: string;
|
|
8
|
-
title: string;
|
|
9
|
-
}> & Readonly<{}>, {
|
|
10
|
-
title: string;
|
|
11
|
-
}, {}, {
|
|
12
|
-
Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
-
content: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
position: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
inline: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
}>, {}, {
|
|
26
|
-
visible: boolean;
|
|
27
|
-
hoverTimeout: ReturnType<typeof setTimeout> | null;
|
|
28
|
-
}, {
|
|
29
|
-
positionClass(): string;
|
|
30
|
-
}, {
|
|
31
|
-
showTooltip(): void;
|
|
32
|
-
hideTooltip(): void;
|
|
33
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
34
|
-
content: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
position: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
inline: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
}>> & Readonly<{}>, {
|
|
47
|
-
position: string;
|
|
48
|
-
inline: boolean;
|
|
49
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
51
|
-
export default _default;
|
|
52
|
-
//# sourceMappingURL=DashboardCreatorIcon.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardCreatorIcon.vue.d.ts","sourceRoot":"","sources":["../../../components/dashboard/DashboardCreatorIcon.vue"],"names":[],"mappings":"AAOA;;gBAqG6B,MAAM;WAAS,MAAM;;;;gBAArB,MAAM;WAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAflD,wBA2CC"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
connection: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
type: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
content: {
|
|
11
|
-
type: FunctionConstructor;
|
|
12
|
-
default: () => string;
|
|
13
|
-
};
|
|
14
|
-
icon: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
title: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
root: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
}>, {
|
|
27
|
-
createNewEditor: () => Promise<void>;
|
|
28
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
-
connection: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
type: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
content: {
|
|
38
|
-
type: FunctionConstructor;
|
|
39
|
-
default: () => string;
|
|
40
|
-
};
|
|
41
|
-
icon: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: string;
|
|
44
|
-
};
|
|
45
|
-
title: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
root: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
}>> & Readonly<{}>, {
|
|
54
|
-
type: string;
|
|
55
|
-
icon: string;
|
|
56
|
-
title: string;
|
|
57
|
-
content: Function;
|
|
58
|
-
root: string;
|
|
59
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
60
|
-
export default _default;
|
|
61
|
-
//# sourceMappingURL=EditorCreatorIcon.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditorCreatorIcon.vue.d.ts","sourceRoot":"","sources":["../../../components/editor/EditorCreatorIcon.vue"],"names":[],"mappings":"AA+CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiIA,wBAuEC"}
|