@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,5 +1,5 @@
|
|
|
1
1
|
import { inject as m, ref as p, computed as D, createElementBlock as l, createCommentVNode as C, openBlock as i, createElementVNode as r, withDirectives as y, withKeys as E, vModelText as _, Fragment as k, renderList as I, toDisplayString as N, vModelSelect as P } from "vue";
|
|
2
|
-
import { a as V } from "./main-
|
|
2
|
+
import { a as V } from "./main-C-6acy1R.js";
|
|
3
3
|
const F = {
|
|
4
4
|
name: "DashboardCreatorInline",
|
|
5
5
|
props: {
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { defineComponent as he, computed as pe, createElementBlock as u, openBlock as
|
|
2
|
-
import { u as
|
|
3
|
-
import { D as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as he, computed as pe, createElementBlock as u, openBlock as s, createVNode as h, createCommentVNode as I, createBlock as R, unref as e, Fragment as T, renderList as be, normalizeStyle as fe, createElementVNode as r, Teleport as x, toDisplayString as ve, createTextVNode as F, nextTick as Ce } from "vue";
|
|
2
|
+
import { u as ge, D as ye, _ as Ie, a as Te, b as ke, C as Me, M as we } from "./useDashboard-3deVRse_.js";
|
|
3
|
+
import { D as Ee } from "./DashboardCreatorInline-DRlxDEBN.js";
|
|
4
|
+
import { N as De, X as b, a as Se } from "./main-C-6acy1R.js";
|
|
5
|
+
const Re = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "dashboard-mobile-container"
|
|
8
|
-
},
|
|
8
|
+
}, xe = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "empty-dashboard-wrapper"
|
|
11
|
-
},
|
|
11
|
+
}, Fe = {
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "mobile-container"
|
|
14
|
-
},
|
|
14
|
+
}, Ne = ["data-i"], Ae = {
|
|
15
15
|
key: 2,
|
|
16
16
|
class: "mobile-nav-bar"
|
|
17
|
-
},
|
|
17
|
+
}, _e = {
|
|
18
18
|
key: 1,
|
|
19
19
|
class: "dashboard-not-found"
|
|
20
|
-
},
|
|
20
|
+
}, Be = 400, He = /* @__PURE__ */ he({
|
|
21
21
|
__name: "DashboardMobile",
|
|
22
22
|
props: {
|
|
23
23
|
name: {},
|
|
24
24
|
connectionId: {},
|
|
25
25
|
viewMode: { type: Boolean }
|
|
26
26
|
},
|
|
27
|
-
setup(
|
|
28
|
-
const p =
|
|
29
|
-
const o = Object.values(
|
|
27
|
+
setup(C) {
|
|
28
|
+
const p = C, k = De(), i = pe(() => {
|
|
29
|
+
const o = Object.values(k.dashboards).find((t) => t.id === p.name);
|
|
30
30
|
if (!o && p.connectionId)
|
|
31
31
|
try {
|
|
32
|
-
return
|
|
32
|
+
return k.newDashboard(p.name, p.connectionId);
|
|
33
33
|
} catch (t) {
|
|
34
34
|
return console.error("Failed to create dashboard:", t), null;
|
|
35
35
|
}
|
|
36
36
|
return o;
|
|
37
37
|
}), {
|
|
38
38
|
// State
|
|
39
|
-
sortedLayout:
|
|
40
|
-
editMode:
|
|
41
|
-
selectedConnection:
|
|
39
|
+
sortedLayout: f,
|
|
40
|
+
editMode: N,
|
|
41
|
+
selectedConnection: A,
|
|
42
42
|
filter: _,
|
|
43
|
-
filterError:
|
|
44
|
-
globalCompletion:
|
|
45
|
-
showAddItemModal:
|
|
46
|
-
showQueryEditor:
|
|
47
|
-
showMarkdownEditor:
|
|
48
|
-
editingItem:
|
|
43
|
+
filterError: B,
|
|
44
|
+
globalCompletion: M,
|
|
45
|
+
showAddItemModal: H,
|
|
46
|
+
showQueryEditor: $,
|
|
47
|
+
showMarkdownEditor: O,
|
|
48
|
+
editingItem: c,
|
|
49
49
|
// Methods
|
|
50
|
-
handleFilterChange:
|
|
51
|
-
handleFilterClear:
|
|
52
|
-
handleImportChange:
|
|
50
|
+
handleFilterChange: q,
|
|
51
|
+
handleFilterClear: L,
|
|
52
|
+
handleImportChange: W,
|
|
53
53
|
validateFilter: U,
|
|
54
54
|
onConnectionChange: V,
|
|
55
55
|
toggleMode: z,
|
|
@@ -58,19 +58,19 @@ const Fe = {
|
|
|
58
58
|
clearItems: j,
|
|
59
59
|
removeItem: G,
|
|
60
60
|
copyItem: K,
|
|
61
|
-
closeAddModal:
|
|
62
|
-
openEditor:
|
|
63
|
-
saveContent:
|
|
61
|
+
closeAddModal: X,
|
|
62
|
+
openEditor: Y,
|
|
63
|
+
saveContent: w,
|
|
64
64
|
closeEditors: E,
|
|
65
|
-
getDashboardQueryExecutor:
|
|
66
|
-
getItemData:
|
|
67
|
-
setItemData:
|
|
65
|
+
getDashboardQueryExecutor: J,
|
|
66
|
+
getItemData: l,
|
|
67
|
+
setItemData: D,
|
|
68
68
|
handleRefresh: Z,
|
|
69
69
|
setCrossFilter: ee,
|
|
70
70
|
removeFilter: oe,
|
|
71
71
|
unSelect: te,
|
|
72
72
|
dashboardCreated: ne
|
|
73
|
-
} =
|
|
73
|
+
} = ge(
|
|
74
74
|
i,
|
|
75
75
|
{
|
|
76
76
|
connectionId: p.connectionId,
|
|
@@ -81,53 +81,55 @@ const Fe = {
|
|
|
81
81
|
layoutUpdated: () => {
|
|
82
82
|
},
|
|
83
83
|
// Not needed for mobile
|
|
84
|
-
dimensionsUpdate: (o) =>
|
|
85
|
-
triggerResize: () =>
|
|
84
|
+
dimensionsUpdate: (o) => g(o),
|
|
85
|
+
triggerResize: () => S(),
|
|
86
86
|
fullScreen: () => {
|
|
87
87
|
}
|
|
88
88
|
// Not needed for mobile
|
|
89
89
|
}
|
|
90
90
|
);
|
|
91
|
-
function
|
|
91
|
+
function g(o) {
|
|
92
92
|
if (!i.value) return;
|
|
93
93
|
const t = document.querySelector(`.mobile-item[data-i="${o}"] .grid-item-content`);
|
|
94
94
|
if (t) {
|
|
95
|
-
const n = t.getBoundingClientRect(), a = 36,
|
|
96
|
-
i.value.id &&
|
|
95
|
+
const n = t.getBoundingClientRect(), a = l(o, i.value.id).type === b.SECTION_HEADER ? 0 : 36, d = Math.floor(n.width), m = Math.floor(n.height - a);
|
|
96
|
+
i.value.id && D(o, i.value.id, { width: d, height: m });
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
function
|
|
100
|
-
i.value &&
|
|
101
|
-
|
|
99
|
+
function S() {
|
|
100
|
+
i.value && f.value.forEach((o) => {
|
|
101
|
+
g(o.i);
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
function ie(o) {
|
|
105
105
|
return "100%";
|
|
106
106
|
}
|
|
107
107
|
function ae(o) {
|
|
108
|
-
var m,
|
|
108
|
+
var m, v;
|
|
109
109
|
let t = Math.min(window.innerWidth, 400);
|
|
110
110
|
if (!i.value || !i.value.gridItems[o.i])
|
|
111
111
|
return t;
|
|
112
|
-
let n =
|
|
113
|
-
if (n.type ===
|
|
112
|
+
let n = l(o.i, i.value.id);
|
|
113
|
+
if (n.type === b.MARKDOWN || n.type === b.FILTER)
|
|
114
114
|
return "100%";
|
|
115
|
-
if (n.type ===
|
|
115
|
+
if (n.type === b.SECTION_HEADER)
|
|
116
|
+
return `${Math.max(o.h * 30 + 4, 36)}px`;
|
|
117
|
+
if (n.type === b.CHART && ((m = n.chartConfig) == null ? void 0 : m.chartType) === "headline" && n.width)
|
|
116
118
|
return `${Math.max(n.width / 2, t)}px`;
|
|
117
|
-
let a = n.type ===
|
|
119
|
+
let a = n.type === b.CHART ? 1200 : 600;
|
|
118
120
|
if (n.width && n.height) {
|
|
119
121
|
let y = o.h / (o.w * 2);
|
|
120
122
|
const me = window.innerWidth - 50;
|
|
121
|
-
["point", "barh"].includes(((
|
|
123
|
+
["point", "barh"].includes(((v = n.chartConfig) == null ? void 0 : v.chartType) || "") && (y = y * 1.2);
|
|
122
124
|
const ue = me * y;
|
|
123
125
|
return `${Math.max(Math.min(ue, a), t)}px`;
|
|
124
126
|
}
|
|
125
|
-
const
|
|
126
|
-
return `${Math.max(Math.min(
|
|
127
|
+
const d = o.h / o.w;
|
|
128
|
+
return `${Math.max(Math.min(d * 12 * 30, a), Be)}px`;
|
|
127
129
|
}
|
|
128
130
|
function re(o) {
|
|
129
|
-
z(o),
|
|
130
|
-
|
|
131
|
+
z(o), Ce(() => {
|
|
132
|
+
S();
|
|
131
133
|
});
|
|
132
134
|
}
|
|
133
135
|
function le() {
|
|
@@ -143,8 +145,8 @@ const Fe = {
|
|
|
143
145
|
if (!o) return;
|
|
144
146
|
const t = o.scrollTop, n = o.querySelectorAll(".mobile-item");
|
|
145
147
|
let a = null;
|
|
146
|
-
for (let
|
|
147
|
-
const m = n[
|
|
148
|
+
for (let d = n.length - 1; d >= 0; d--) {
|
|
149
|
+
const m = n[d];
|
|
148
150
|
if (m.offsetTop < t) {
|
|
149
151
|
a = m;
|
|
150
152
|
break;
|
|
@@ -161,8 +163,8 @@ const Fe = {
|
|
|
161
163
|
if (!o) return;
|
|
162
164
|
const t = o.scrollTop, n = o.querySelectorAll(".mobile-item");
|
|
163
165
|
let a = null;
|
|
164
|
-
for (let
|
|
165
|
-
const m = n[
|
|
166
|
+
for (let d = 0; d < n.length; d++) {
|
|
167
|
+
const m = n[d];
|
|
166
168
|
if (m.offsetTop > t + 50) {
|
|
167
169
|
a = m;
|
|
168
170
|
break;
|
|
@@ -174,29 +176,29 @@ const Fe = {
|
|
|
174
176
|
behavior: "smooth"
|
|
175
177
|
});
|
|
176
178
|
}
|
|
177
|
-
return (o, t) => i.value ? (
|
|
179
|
+
return (o, t) => i.value ? (s(), u("div", Re, [
|
|
178
180
|
h(ye, {
|
|
179
181
|
dashboard: i.value,
|
|
180
182
|
"edits-locked": i.value.state === "locked",
|
|
181
|
-
"selected-connection": e(
|
|
182
|
-
filterError: e(
|
|
183
|
-
globalCompletion: e(
|
|
183
|
+
"selected-connection": e(A),
|
|
184
|
+
filterError: e(B),
|
|
185
|
+
globalCompletion: e(M),
|
|
184
186
|
validateFilter: e(U),
|
|
185
187
|
onConnectionChange: e(V),
|
|
186
|
-
onFilterChange: e(
|
|
187
|
-
onImportChange: e(
|
|
188
|
+
onFilterChange: e(q),
|
|
189
|
+
onImportChange: e(W),
|
|
188
190
|
onAddItem: e(P),
|
|
189
191
|
onClearItems: e(j),
|
|
190
192
|
onModeChange: re,
|
|
191
193
|
onRefresh: e(Z),
|
|
192
|
-
onClearFilter: e(
|
|
194
|
+
onClearFilter: e(L)
|
|
193
195
|
}, null, 8, ["dashboard", "edits-locked", "selected-connection", "filterError", "globalCompletion", "validateFilter", "onConnectionChange", "onFilterChange", "onImportChange", "onAddItem", "onClearItems", "onRefresh", "onClearFilter"]),
|
|
194
|
-
i.value && e(
|
|
196
|
+
i.value && e(f).length === 0 ? (s(), u("div", xe, [
|
|
195
197
|
h(Ie, {
|
|
196
198
|
"dashboard-id": i.value.id
|
|
197
199
|
}, null, 8, ["dashboard-id"])
|
|
198
|
-
])) : (
|
|
199
|
-
(
|
|
200
|
+
])) : (s(), u("div", Fe, [
|
|
201
|
+
(s(!0), u(T, null, be(e(f), (n) => (s(), u("div", {
|
|
200
202
|
key: n.i,
|
|
201
203
|
"data-i": n.i,
|
|
202
204
|
class: "mobile-item",
|
|
@@ -205,26 +207,26 @@ const Fe = {
|
|
|
205
207
|
width: `${ie()}`
|
|
206
208
|
})
|
|
207
209
|
}, [
|
|
208
|
-
h(
|
|
210
|
+
h(Te, {
|
|
209
211
|
"dashboard-id": i.value.id,
|
|
210
212
|
item: n,
|
|
211
|
-
"edit-mode": e(
|
|
213
|
+
"edit-mode": e(N),
|
|
212
214
|
filter: e(_),
|
|
213
|
-
"get-item-data": e(
|
|
214
|
-
symbols: e(
|
|
215
|
-
"get-dashboard-query-executor": e(
|
|
215
|
+
"get-item-data": e(l),
|
|
216
|
+
symbols: e(M),
|
|
217
|
+
"get-dashboard-query-executor": e(J),
|
|
216
218
|
onDimensionClick: e(ee),
|
|
217
219
|
onBackgroundClick: e(te),
|
|
218
|
-
"set-item-data": e(
|
|
219
|
-
onEditContent: e(
|
|
220
|
+
"set-item-data": e(D),
|
|
221
|
+
onEditContent: e(Y),
|
|
220
222
|
onRemoveFilter: e(oe),
|
|
221
|
-
onUpdateDimensions:
|
|
223
|
+
onUpdateDimensions: g,
|
|
222
224
|
onRemoveItem: e(G),
|
|
223
225
|
onCopyItem: e(K)
|
|
224
226
|
}, null, 8, ["dashboard-id", "item", "edit-mode", "filter", "get-item-data", "symbols", "get-dashboard-query-executor", "onDimensionClick", "onBackgroundClick", "set-item-data", "onEditContent", "onRemoveFilter", "onRemoveItem", "onCopyItem"])
|
|
225
|
-
], 12,
|
|
227
|
+
], 12, Ne))), 128))
|
|
226
228
|
])),
|
|
227
|
-
e(
|
|
229
|
+
e(f).length > 1 ? (s(), u("div", Ae, [
|
|
228
230
|
r("button", {
|
|
229
231
|
onClick: le,
|
|
230
232
|
class: "nav-btn",
|
|
@@ -254,49 +256,48 @@ const Fe = {
|
|
|
254
256
|
r("i", { class: "mdi mdi-chevron-double-down" }, null, -1)
|
|
255
257
|
])])
|
|
256
258
|
])) : I("", !0),
|
|
257
|
-
h(
|
|
258
|
-
show: e(
|
|
259
|
+
h(ke, {
|
|
260
|
+
show: e(H),
|
|
259
261
|
onAdd: e(Q),
|
|
260
|
-
onClose: e(
|
|
262
|
+
onClose: e(X)
|
|
261
263
|
}, null, 8, ["show", "onAdd", "onClose"]),
|
|
262
|
-
e(
|
|
264
|
+
e($) && e(c) ? (s(), R(x, {
|
|
263
265
|
key: 3,
|
|
264
266
|
to: "body"
|
|
265
267
|
}, [
|
|
266
|
-
h(
|
|
267
|
-
connectionName: e(
|
|
268
|
-
imports: e(
|
|
269
|
-
rootContent: e(
|
|
270
|
-
content: e(
|
|
271
|
-
|
|
272
|
-
onSave: e(D),
|
|
268
|
+
h(Me, {
|
|
269
|
+
connectionName: e(l)(e(c).i, i.value.id).connectionName || "",
|
|
270
|
+
imports: e(l)(e(c).i, i.value.id).imports || [],
|
|
271
|
+
rootContent: e(l)(e(c).i, i.value.id).rootContent || [],
|
|
272
|
+
content: e(l)(e(c).i, i.value.id).content,
|
|
273
|
+
onSave: e(w),
|
|
273
274
|
onCancel: e(E)
|
|
274
|
-
}, null, 8, ["connectionName", "imports", "rootContent", "content", "
|
|
275
|
+
}, null, 8, ["connectionName", "imports", "rootContent", "content", "onSave", "onCancel"])
|
|
275
276
|
])) : I("", !0),
|
|
276
|
-
e(
|
|
277
|
+
e(O) && e(c) ? (s(), R(x, {
|
|
277
278
|
key: 4,
|
|
278
279
|
to: "body"
|
|
279
280
|
}, [
|
|
280
|
-
h(
|
|
281
|
-
connectionName: e(
|
|
282
|
-
imports: e(
|
|
283
|
-
rootContent: e(
|
|
284
|
-
content: e(
|
|
285
|
-
onSave: e(
|
|
281
|
+
h(we, {
|
|
282
|
+
connectionName: e(l)(e(c).i, i.value.id).connectionName || "",
|
|
283
|
+
imports: e(l)(e(c).i, i.value.id).imports || [],
|
|
284
|
+
rootContent: e(l)(e(c).i, i.value.id).rootContent || [],
|
|
285
|
+
content: e(l)(e(c).i, i.value.id).structured_content,
|
|
286
|
+
onSave: e(w),
|
|
286
287
|
onCancel: e(E)
|
|
287
288
|
}, null, 8, ["connectionName", "imports", "rootContent", "content", "onSave", "onCancel"])
|
|
288
289
|
])) : I("", !0)
|
|
289
|
-
])) : (
|
|
290
|
-
|
|
290
|
+
])) : (s(), u("div", _e, [
|
|
291
|
+
C.name ? (s(), u(T, { key: 0 }, [
|
|
291
292
|
t[4] || (t[4] = r("h2", null, "Dashboard Not Found", -1)),
|
|
292
|
-
r("p", null, 'The dashboard "' +
|
|
293
|
-
], 64)) : (
|
|
293
|
+
r("p", null, 'The dashboard "' + ve(C.name) + '" could not be found.', 1)
|
|
294
|
+
], 64)) : (s(), u(T, { key: 1 }, [
|
|
294
295
|
t[5] || (t[5] = r("h2", null, [
|
|
295
|
-
|
|
296
|
+
F("Ready to "),
|
|
296
297
|
r("i", { class: "mdi mdi-chart-line" }),
|
|
297
|
-
|
|
298
|
+
F("?")
|
|
298
299
|
], -1)),
|
|
299
|
-
h(
|
|
300
|
+
h(Ee, {
|
|
300
301
|
class: "inline-creator",
|
|
301
302
|
visible: !0,
|
|
302
303
|
onDashboardCreated: e(ne)
|
|
@@ -304,7 +305,7 @@ const Fe = {
|
|
|
304
305
|
], 64))
|
|
305
306
|
]));
|
|
306
307
|
}
|
|
307
|
-
}),
|
|
308
|
+
}), We = /* @__PURE__ */ Se(He, [["__scopeId", "data-v-72efd4c8"]]);
|
|
308
309
|
export {
|
|
309
|
-
|
|
310
|
+
We as default
|
|
310
311
|
};
|