@trilogy-data/trilogy-studio-components 0.1.0
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/README.md +6 -0
- package/dist/ChatCreatorModal-DTcvWDQi.js +192 -0
- package/dist/Dashboard-C8re96eZ.js +5104 -0
- package/dist/DashboardCreatorInline-Do-CDJgS.js +150 -0
- package/dist/DashboardMobile-BOrq0rBy.js +310 -0
- package/dist/LLMConnectionList-DVM5t-P2.js +4692 -0
- package/dist/LLMView-lUTKOMbr.js +558 -0
- package/dist/Manager-CXJNoqU2.js +4 -0
- package/dist/ResultComponent-C4EGIBY0.js +155 -0
- package/dist/Sidebar-BGKtM2n0.js +1841 -0
- package/dist/TutorialPage-CGjDXmYk.js +482 -0
- package/dist/WelcomePage-C6obXIyG.js +75 -0
- package/dist/abap-D0Neqhq6.js +1404 -0
- package/dist/apex-B5LhxkeG.js +332 -0
- package/dist/azcli-BrBH0QTU.js +74 -0
- package/dist/bat-BfzAov64.js +106 -0
- package/dist/bicep-C3bCSWel.js +108 -0
- package/dist/cameligo-sFL5plcd.js +180 -0
- package/dist/chats/chat.d.ts +63 -0
- package/dist/chats/chat.d.ts.map +1 -0
- package/dist/chats/index.d.ts +3 -0
- package/dist/chats/index.d.ts.map +1 -0
- package/dist/clojure-CfeExRz0.js +767 -0
- package/dist/coffee-Xws5K0WL.js +238 -0
- package/dist/components/AssetAutoImporter.vue.d.ts +10 -0
- package/dist/components/AssetAutoImporter.vue.d.ts.map +1 -0
- package/dist/components/ChartControlPanel.vue.d.ts +54 -0
- package/dist/components/ChartControlPanel.vue.d.ts.map +1 -0
- package/dist/components/CodeBlock.vue.d.ts +39 -0
- package/dist/components/CodeBlock.vue.d.ts.map +1 -0
- package/dist/components/ConceptTable.vue.d.ts +16 -0
- package/dist/components/ConceptTable.vue.d.ts.map +1 -0
- package/dist/components/ContextMenu.vue.d.ts +67 -0
- package/dist/components/ContextMenu.vue.d.ts.map +1 -0
- package/dist/components/DataTable.vue.d.ts +204 -0
- package/dist/components/DataTable.vue.d.ts.map +1 -0
- package/dist/components/DrilldownPane.vue.d.ts +94 -0
- package/dist/components/DrilldownPane.vue.d.ts.map +1 -0
- package/dist/components/EditableTitle.vue.d.ts +32 -0
- package/dist/components/EditableTitle.vue.d.ts.map +1 -0
- package/dist/components/ErrorMessage.vue.d.ts +20 -0
- package/dist/components/ErrorMessage.vue.d.ts.map +1 -0
- package/dist/components/HighlightComponent.vue.d.ts +21 -0
- package/dist/components/HighlightComponent.vue.d.ts.map +1 -0
- package/dist/components/HintComponent.vue.d.ts +12 -0
- package/dist/components/HintComponent.vue.d.ts.map +1 -0
- package/dist/components/InlineErrorMessage.vue.d.ts +3 -0
- package/dist/components/InlineErrorMessage.vue.d.ts.map +1 -0
- package/dist/components/LoadingButton.vue.d.ts +121 -0
- package/dist/components/LoadingButton.vue.d.ts.map +1 -0
- package/dist/components/LoadingView.vue.d.ts +21 -0
- package/dist/components/LoadingView.vue.d.ts.map +1 -0
- package/dist/components/MarkdownRenderer.vue.d.ts +39 -0
- package/dist/components/MarkdownRenderer.vue.d.ts.map +1 -0
- package/dist/components/PopupModal.vue.d.ts +50 -0
- package/dist/components/PopupModal.vue.d.ts.map +1 -0
- package/dist/components/SimpleEditor.vue.d.ts +246 -0
- package/dist/components/SimpleEditor.vue.d.ts.map +1 -0
- package/dist/components/StatusIcon.vue.d.ts +9 -0
- package/dist/components/StatusIcon.vue.d.ts.map +1 -0
- package/dist/components/SymbolsPane.vue.d.ts +96 -0
- package/dist/components/SymbolsPane.vue.d.ts.map +1 -0
- package/dist/components/Tooltip.vue.d.ts +40 -0
- package/dist/components/Tooltip.vue.d.ts.map +1 -0
- package/dist/components/VegaLiteChart.vue.d.ts +183 -0
- package/dist/components/VegaLiteChart.vue.d.ts.map +1 -0
- package/dist/components/chartControlsManager.d.ts +50 -0
- package/dist/components/chartControlsManager.d.ts.map +1 -0
- package/dist/components/chartHelpers.d.ts +51 -0
- package/dist/components/chartHelpers.d.ts.map +1 -0
- package/dist/components/chartOperationsManager.d.ts +10 -0
- package/dist/components/chartOperationsManager.d.ts.map +1 -0
- package/dist/components/chartRenderManager.d.ts +26 -0
- package/dist/components/chartRenderManager.d.ts.map +1 -0
- package/dist/components/community/AddStoreModal.vue.d.ts +35 -0
- package/dist/components/community/AddStoreModal.vue.d.ts.map +1 -0
- package/dist/components/community/CommunityModelCard.vue.d.ts +33 -0
- package/dist/components/community/CommunityModelCard.vue.d.ts.map +1 -0
- package/dist/components/community/CommunityModelHeader.vue.d.ts +22 -0
- package/dist/components/community/CommunityModelHeader.vue.d.ts.map +1 -0
- package/dist/components/community/CommunityModels.vue.d.ts +19 -0
- package/dist/components/community/CommunityModels.vue.d.ts.map +1 -0
- package/dist/components/community/CommunityRemote.vue.d.ts +33 -0
- package/dist/components/community/CommunityRemote.vue.d.ts.map +1 -0
- package/dist/components/connection/ConnectionDatabase.vue.d.ts +153 -0
- package/dist/components/connection/ConnectionDatabase.vue.d.ts.map +1 -0
- package/dist/components/connection/ConnectionHistory.vue.d.ts +13 -0
- package/dist/components/connection/ConnectionHistory.vue.d.ts.map +1 -0
- package/dist/components/connection/ConnectionSchema.vue.d.ts +35 -0
- package/dist/components/connection/ConnectionSchema.vue.d.ts.map +1 -0
- package/dist/components/connection/ConnectionTable.vue.d.ts +251 -0
- package/dist/components/connection/ConnectionTable.vue.d.ts.map +1 -0
- package/dist/components/connection/DatasourceTable.vue.d.ts +16 -0
- package/dist/components/connection/DatasourceTable.vue.d.ts.map +1 -0
- package/dist/components/dashboard/Dashboard.vue.d.ts +13 -0
- package/dist/components/dashboard/Dashboard.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardAddItemModal.vue.d.ts +13 -0
- package/dist/components/dashboard/DashboardAddItemModal.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardCTA.vue.d.ts +12 -0
- package/dist/components/dashboard/DashboardCTA.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardChart.vue.d.ts +427 -0
- package/dist/components/dashboard/DashboardChart.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardChartEditor.vue.d.ts +325 -0
- package/dist/components/dashboard/DashboardChartEditor.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts +52 -0
- package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardCreatorInline.vue.d.ts +36 -0
- package/dist/components/dashboard/DashboardCreatorInline.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardDataSelector.vue.d.ts +221 -0
- package/dist/components/dashboard/DashboardDataSelector.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardFilter.vue.d.ts +346 -0
- package/dist/components/dashboard/DashboardFilter.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardFilterAutocomplete.vue.d.ts +38 -0
- package/dist/components/dashboard/DashboardFilterAutocomplete.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardGridItem.vue.d.ts +31 -0
- package/dist/components/dashboard/DashboardGridItem.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardHeader.vue.d.ts +71 -0
- package/dist/components/dashboard/DashboardHeader.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardHeaderFilterInput.vue.d.ts +50 -0
- package/dist/components/dashboard/DashboardHeaderFilterInput.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardImportPopup.vue.d.ts +12 -0
- package/dist/components/dashboard/DashboardImportPopup.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardImportSelector.vue.d.ts +14 -0
- package/dist/components/dashboard/DashboardImportSelector.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardMarkdown.vue.d.ts +175 -0
- package/dist/components/dashboard/DashboardMarkdown.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts +325 -0
- package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardMobile.vue.d.ts +8 -0
- package/dist/components/dashboard/DashboardMobile.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardSharePopup.vue.d.ts +14 -0
- package/dist/components/dashboard/DashboardSharePopup.vue.d.ts.map +1 -0
- package/dist/components/dashboard/DashboardTable.vue.d.ts +332 -0
- package/dist/components/dashboard/DashboardTable.vue.d.ts.map +1 -0
- package/dist/components/dashboard/useDashboard.d.ts +96 -0
- package/dist/components/dashboard/useDashboard.d.ts.map +1 -0
- package/dist/components/editor/Editor.vue.d.ts +816 -0
- package/dist/components/editor/Editor.vue.d.ts.map +1 -0
- package/dist/components/editor/EditorCode.vue.d.ts +49 -0
- package/dist/components/editor/EditorCode.vue.d.ts.map +1 -0
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts +61 -0
- package/dist/components/editor/EditorCreatorIcon.vue.d.ts.map +1 -0
- package/dist/components/editor/EditorCreatorInline.vue.d.ts +95 -0
- package/dist/components/editor/EditorCreatorInline.vue.d.ts.map +1 -0
- package/dist/components/editor/EditorHeader.vue.d.ts +185 -0
- package/dist/components/editor/EditorHeader.vue.d.ts.map +1 -0
- package/dist/components/editor/ResultComponent.vue.d.ts +1095 -0
- package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -0
- package/dist/components/editor/Results.vue.d.ts +755 -0
- package/dist/components/editor/Results.vue.d.ts.map +1 -0
- package/dist/components/editor/editorHelpers.d.ts +45 -0
- package/dist/components/editor/editorHelpers.d.ts.map +1 -0
- package/dist/components/editor/events.d.ts +4 -0
- package/dist/components/editor/events.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/layout/MobileSidebarLayout.vue.d.ts +48 -0
- package/dist/components/layout/MobileSidebarLayout.vue.d.ts.map +1 -0
- package/dist/components/layout/SidebarLayout.vue.d.ts +20 -0
- package/dist/components/layout/SidebarLayout.vue.d.ts.map +1 -0
- package/dist/components/layout/TabDropdownItem.vue.d.ts +73 -0
- package/dist/components/layout/TabDropdownItem.vue.d.ts.map +1 -0
- package/dist/components/layout/TabbedBrowser.vue.d.ts +42 -0
- package/dist/components/layout/TabbedBrowser.vue.d.ts.map +1 -0
- package/dist/components/layout/TabbedLayout.vue.d.ts +5 -0
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -0
- package/dist/components/layout/VerticalSplitLayout.vue.d.ts +13 -0
- package/dist/components/layout/VerticalSplitLayout.vue.d.ts.map +1 -0
- package/dist/components/llm/ChatArtifact.vue.d.ts +470 -0
- package/dist/components/llm/ChatArtifact.vue.d.ts.map +1 -0
- package/dist/components/llm/ChatCreatorModal.vue.d.ts +87 -0
- package/dist/components/llm/ChatCreatorModal.vue.d.ts.map +1 -0
- package/dist/components/llm/LLMChat.vue.d.ts +260 -0
- package/dist/components/llm/LLMChat.vue.d.ts.map +1 -0
- package/dist/components/llm/LLMChatRefinement.vue.d.ts +135 -0
- package/dist/components/llm/LLMChatRefinement.vue.d.ts.map +1 -0
- package/dist/components/llm/LLMChatSplitView.vue.d.ts +2029 -0
- package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -0
- package/dist/components/llm/LLMValidationView.vue.d.ts +106 -0
- package/dist/components/llm/LLMValidationView.vue.d.ts.map +1 -0
- package/dist/components/llm/index.d.ts +6 -0
- package/dist/components/llm/index.d.ts.map +1 -0
- package/dist/components/model/ModelCard.vue.d.ts +1113 -0
- package/dist/components/model/ModelCard.vue.d.ts.map +1 -0
- package/dist/components/model/ModelConcept.vue.d.ts +14 -0
- package/dist/components/model/ModelConcept.vue.d.ts.map +1 -0
- package/dist/components/model/ModelCreator.vue.d.ts +241 -0
- package/dist/components/model/ModelCreator.vue.d.ts.map +1 -0
- package/dist/components/model/ModelSelector.vue.d.ts +9 -0
- package/dist/components/model/ModelSelector.vue.d.ts.map +1 -0
- package/dist/components/sidebar/CommunityModelListItem.vue.d.ts +26 -0
- package/dist/components/sidebar/CommunityModelListItem.vue.d.ts.map +1 -0
- package/dist/components/sidebar/ConnectionCreatorInline.vue.d.ts +68 -0
- package/dist/components/sidebar/ConnectionCreatorInline.vue.d.ts.map +1 -0
- package/dist/components/sidebar/ConnectionIcon.vue.d.ts +6 -0
- package/dist/components/sidebar/ConnectionIcon.vue.d.ts.map +1 -0
- package/dist/components/sidebar/ConnectionList.vue.d.ts +714 -0
- package/dist/components/sidebar/ConnectionList.vue.d.ts.map +1 -0
- package/dist/components/sidebar/ConnectionListItem.vue.d.ts +317 -0
- package/dist/components/sidebar/ConnectionListItem.vue.d.ts.map +1 -0
- package/dist/components/sidebar/ConnectionRefresh.vue.d.ts +15 -0
- package/dist/components/sidebar/ConnectionRefresh.vue.d.ts.map +1 -0
- package/dist/components/sidebar/ConnectionStatusIcon.vue.d.ts +11 -0
- package/dist/components/sidebar/ConnectionStatusIcon.vue.d.ts.map +1 -0
- package/dist/components/sidebar/CreateEditorFromDatasourcePopup.vue.d.ts +15 -0
- package/dist/components/sidebar/CreateEditorFromDatasourcePopup.vue.d.ts.map +1 -0
- package/dist/components/sidebar/DashboardList.vue.d.ts +684 -0
- package/dist/components/sidebar/DashboardList.vue.d.ts.map +1 -0
- package/dist/components/sidebar/DashboardListItem.vue.d.ts +343 -0
- package/dist/components/sidebar/DashboardListItem.vue.d.ts.map +1 -0
- package/dist/components/sidebar/DuckDBImporter.vue.d.ts +24 -0
- package/dist/components/sidebar/DuckDBImporter.vue.d.ts.map +1 -0
- package/dist/components/sidebar/EditorList.vue.d.ts +590 -0
- package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -0
- package/dist/components/sidebar/EditorListItem.vue.d.ts +260 -0
- package/dist/components/sidebar/EditorListItem.vue.d.ts.map +1 -0
- package/dist/components/sidebar/GenericSidebarItem.vue.d.ts +91 -0
- package/dist/components/sidebar/GenericSidebarItem.vue.d.ts.map +1 -0
- package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts +178 -0
- package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts.map +1 -0
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts +978 -0
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -0
- package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts +404 -0
- package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts.map +1 -0
- package/dist/components/sidebar/LLMProviderIcon.vue.d.ts +13 -0
- package/dist/components/sidebar/LLMProviderIcon.vue.d.ts.map +1 -0
- package/dist/components/sidebar/ModelSidebar.vue.d.ts +558 -0
- package/dist/components/sidebar/ModelSidebar.vue.d.ts.map +1 -0
- package/dist/components/sidebar/SidebarList.vue.d.ts +16 -0
- package/dist/components/sidebar/SidebarList.vue.d.ts.map +1 -0
- package/dist/components/sidebar/TutorialSidebar.vue.d.ts +134 -0
- package/dist/components/sidebar/TutorialSidebar.vue.d.ts.map +1 -0
- package/dist/components/tutorial/TutorialFunction.vue.d.ts +38 -0
- package/dist/components/tutorial/TutorialFunction.vue.d.ts.map +1 -0
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts +2002 -0
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -0
- package/dist/components/user/UserProfile.vue.d.ts +11 -0
- package/dist/components/user/UserProfile.vue.d.ts.map +1 -0
- package/dist/components/user/UserSettings.vue.d.ts +129 -0
- package/dist/components/user/UserSettings.vue.d.ts.map +1 -0
- package/dist/composables/ResizeHandles.vue.d.ts +6 -0
- package/dist/composables/ResizeHandles.vue.d.ts.map +1 -0
- package/dist/composables/useChatWithTools.d.ts +62 -0
- package/dist/composables/useChatWithTools.d.ts.map +1 -0
- package/dist/composables/useResizableDialog.d.ts +30 -0
- package/dist/composables/useResizableDialog.d.ts.map +1 -0
- package/dist/composables/useTrilogyChat.d.ts +61 -0
- package/dist/composables/useTrilogyChat.d.ts.map +1 -0
- package/dist/composables/useTrilogyCore.d.ts +51 -0
- package/dist/composables/useTrilogyCore.d.ts.map +1 -0
- package/dist/connections/base.d.ts +86 -0
- package/dist/connections/base.d.ts.map +1 -0
- package/dist/connections/bigquery_oauth.d.ts +35 -0
- package/dist/connections/bigquery_oauth.d.ts.map +1 -0
- package/dist/connections/bigquery_sa.d.ts +2 -0
- package/dist/connections/bigquery_sa.d.ts.map +1 -0
- package/dist/connections/constants.d.ts +2 -0
- package/dist/connections/constants.d.ts.map +1 -0
- package/dist/connections/duckdb.d.ts +43 -0
- package/dist/connections/duckdb.d.ts.map +1 -0
- package/dist/connections/helpers.d.ts +30 -0
- package/dist/connections/helpers.d.ts.map +1 -0
- package/dist/connections/index.d.ts +7 -0
- package/dist/connections/index.d.ts.map +1 -0
- package/dist/connections/motherduck.d.ts +19 -0
- package/dist/connections/motherduck.d.ts.map +1 -0
- package/dist/connections/snowflake.d.ts +94 -0
- package/dist/connections/snowflake.d.ts.map +1 -0
- package/dist/connections/sql_server.d.ts +2 -0
- package/dist/connections/sql_server.d.ts.map +1 -0
- package/dist/cpp-CqOUEpxN.js +395 -0
- package/dist/csharp-DVLiBOZb.js +332 -0
- package/dist/csp-DVFp9bw5.js +59 -0
- package/dist/css-DwARn2R6.js +193 -0
- package/dist/cssMode-Cr0iq_nL.js +1577 -0
- package/dist/cypher-uY0Mffat.js +269 -0
- package/dist/dart-D27H-mX_.js +287 -0
- package/dist/dashboards/barChartSpec.d.ts +28 -0
- package/dist/dashboards/barChartSpec.d.ts.map +1 -0
- package/dist/dashboards/barHChartSpec.d.ts +28 -0
- package/dist/dashboards/barHChartSpec.d.ts.map +1 -0
- package/dist/dashboards/base.d.ts +176 -0
- package/dist/dashboards/base.d.ts.map +1 -0
- package/dist/dashboards/beeSwarmSpec.d.ts +150 -0
- package/dist/dashboards/beeSwarmSpec.d.ts.map +1 -0
- package/dist/dashboards/conditions.d.ts +8 -0
- package/dist/dashboards/conditions.d.ts.map +1 -0
- package/dist/dashboards/conditionsParameters.d.ts +11 -0
- package/dist/dashboards/conditionsParameters.d.ts.map +1 -0
- package/dist/dashboards/constants.d.ts +22 -0
- package/dist/dashboards/constants.d.ts.map +1 -0
- package/dist/dashboards/countryLookup.d.ts +15 -0
- package/dist/dashboards/countryLookup.d.ts.map +1 -0
- package/dist/dashboards/d3utility.d.ts +7 -0
- package/dist/dashboards/d3utility.d.ts.map +1 -0
- package/dist/dashboards/dashboardQueryExecutor.d.ts +142 -0
- package/dist/dashboards/dashboardQueryExecutor.d.ts.map +1 -0
- package/dist/dashboards/donutSpec.d.ts +74 -0
- package/dist/dashboards/donutSpec.d.ts.map +1 -0
- package/dist/dashboards/formatting.d.ts +11 -0
- package/dist/dashboards/formatting.d.ts.map +1 -0
- package/dist/dashboards/headlineSpec.d.ts +23 -0
- package/dist/dashboards/headlineSpec.d.ts.map +1 -0
- package/dist/dashboards/heatmapSpec.d.ts +30 -0
- package/dist/dashboards/heatmapSpec.d.ts.map +1 -0
- package/dist/dashboards/helpers.d.ts +73 -0
- package/dist/dashboards/helpers.d.ts.map +1 -0
- package/dist/dashboards/index.d.ts +3 -0
- package/dist/dashboards/index.d.ts.map +1 -0
- package/dist/dashboards/lineAreaSpec.d.ts +177 -0
- package/dist/dashboards/lineAreaSpec.d.ts.map +1 -0
- package/dist/dashboards/mapSpec.d.ts +431 -0
- package/dist/dashboards/mapSpec.d.ts.map +1 -0
- package/dist/dashboards/pointSpec.d.ts +27 -0
- package/dist/dashboards/pointSpec.d.ts.map +1 -0
- package/dist/dashboards/prompts.d.ts +31 -0
- package/dist/dashboards/prompts.d.ts.map +1 -0
- package/dist/dashboards/spec.d.ts +19 -0
- package/dist/dashboards/spec.d.ts.map +1 -0
- package/dist/dashboards/treeSpec.d.ts +3 -0
- package/dist/dashboards/treeSpec.d.ts.map +1 -0
- package/dist/dashboards/types.d.ts +70 -0
- package/dist/dashboards/types.d.ts.map +1 -0
- package/dist/data/connectionHistoryStorage.d.ts +25 -0
- package/dist/data/connectionHistoryStorage.d.ts.map +1 -0
- package/dist/data/constants.d.ts +4 -0
- package/dist/data/constants.d.ts.map +1 -0
- package/dist/data/credentialHelpers.d.ts +30 -0
- package/dist/data/credentialHelpers.d.ts.map +1 -0
- package/dist/data/credentialService.d.ts +80 -0
- package/dist/data/credentialService.d.ts.map +1 -0
- package/dist/data/githubStorage.d.ts +54 -0
- package/dist/data/githubStorage.d.ts.map +1 -0
- package/dist/data/index.d.ts +3 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/data/localStorage.d.ts +48 -0
- package/dist/data/localStorage.d.ts.map +1 -0
- package/dist/data/storage.d.ts +33 -0
- package/dist/data/storage.d.ts.map +1 -0
- package/dist/data/tips.d.ts +12 -0
- package/dist/data/tips.d.ts.map +1 -0
- package/dist/data/tutorial/builtinFunctions.d.ts +3 -0
- package/dist/data/tutorial/builtinFunctions.d.ts.map +1 -0
- package/dist/data/tutorial/dashboardTutorial.d.ts +3 -0
- package/dist/data/tutorial/dashboardTutorial.d.ts.map +1 -0
- package/dist/data/tutorial/demoSetup.d.ts +6 -0
- package/dist/data/tutorial/demoSetup.d.ts.map +1 -0
- package/dist/data/tutorial/docTypes.d.ts +37 -0
- package/dist/data/tutorial/docTypes.d.ts.map +1 -0
- package/dist/data/tutorial/documentation.d.ts +3 -0
- package/dist/data/tutorial/documentation.d.ts.map +1 -0
- package/dist/data/tutorial/functionsReference.d.ts +3 -0
- package/dist/data/tutorial/functionsReference.d.ts.map +1 -0
- package/dist/data/tutorial/introTutorial.d.ts +3 -0
- package/dist/data/tutorial/introTutorial.d.ts.map +1 -0
- package/dist/data/tutorial/llmTutorial.d.ts +3 -0
- package/dist/data/tutorial/llmTutorial.d.ts.map +1 -0
- package/dist/data/tutorial/modelReference.d.ts +3 -0
- package/dist/data/tutorial/modelReference.d.ts.map +1 -0
- package/dist/data/tutorial/modelTutorial.d.ts +3 -0
- package/dist/data/tutorial/modelTutorial.d.ts.map +1 -0
- package/dist/data/tutorial/reference.d.ts +3 -0
- package/dist/data/tutorial/reference.d.ts.map +1 -0
- package/dist/data/tutorial/terms_of_service.d.ts +3 -0
- package/dist/data/tutorial/terms_of_service.d.ts.map +1 -0
- package/dist/data/tutorial/windowFunctionsReference.d.ts +3 -0
- package/dist/data/tutorial/windowFunctionsReference.d.ts.map +1 -0
- package/dist/dockerfile-CmV85WZK.js +136 -0
- package/dist/ecl--fKn7yzB.js +462 -0
- package/dist/editors/editor.d.ts +82 -0
- package/dist/editors/editor.d.ts.map +1 -0
- package/dist/editors/helpers.d.ts +12 -0
- package/dist/editors/helpers.d.ts.map +1 -0
- package/dist/editors/index.d.ts +3 -0
- package/dist/editors/index.d.ts.map +1 -0
- package/dist/editors/results.d.ts +61 -0
- package/dist/editors/results.d.ts.map +1 -0
- package/dist/elixir-DUhH17ON.js +575 -0
- package/dist/events/display.d.ts +9 -0
- package/dist/events/display.d.ts.map +1 -0
- package/dist/flow9-B3Dx2LLe.js +148 -0
- package/dist/freemarker2-de_cA50e.js +995 -0
- package/dist/fsharp-SyqBfUAR.js +223 -0
- package/dist/go-BbMR2tdT.js +224 -0
- package/dist/graphql-DDJE6tIl.js +157 -0
- package/dist/handlebars-C8f44E5O.js +425 -0
- package/dist/hcl-YBvpaUqf.js +189 -0
- package/dist/html-qaggIh0W.js +314 -0
- package/dist/html2canvas.esm-dgT_1dIT.js +4871 -0
- package/dist/htmlMode-xYurYOLw.js +1587 -0
- package/dist/ini-Ct73dBtM.js +77 -0
- package/dist/java-C_jlkwoG.js +238 -0
- package/dist/javascript-DeLkSgQX.js +76 -0
- package/dist/jsonMode-BM-L8w8F.js +2002 -0
- package/dist/julia-D8WE5U1e.js +517 -0
- package/dist/kotlin-Zy9aq5yB.js +259 -0
- package/dist/language/constants.d.ts +6 -0
- package/dist/language/constants.d.ts.map +1 -0
- package/dist/language/index.d.ts +2 -0
- package/dist/language/index.d.ts.map +1 -0
- package/dist/less-sZ0iHtE8.js +168 -0
- package/dist/lexon-CsdNL29A.js +163 -0
- package/dist/liquid-DLNUrc5y.js +246 -0
- package/dist/llm/anthropic.d.ts +13 -0
- package/dist/llm/anthropic.d.ts.map +1 -0
- package/dist/llm/base.d.ts +63 -0
- package/dist/llm/base.d.ts.map +1 -0
- package/dist/llm/chatAgentPrompt.d.ts +166 -0
- package/dist/llm/chatAgentPrompt.d.ts.map +1 -0
- package/dist/llm/chatHelpers.d.ts +23 -0
- package/dist/llm/chatHelpers.d.ts.map +1 -0
- package/dist/llm/chatToolExecutor.d.ts +39 -0
- package/dist/llm/chatToolExecutor.d.ts.map +1 -0
- package/dist/llm/consts.d.ts +3 -0
- package/dist/llm/consts.d.ts.map +1 -0
- package/dist/llm/data/constants.d.ts +5 -0
- package/dist/llm/data/constants.d.ts.map +1 -0
- package/dist/llm/data/models.d.ts +8 -0
- package/dist/llm/data/models.d.ts.map +1 -0
- package/dist/llm/data/prompts.d.ts +7 -0
- package/dist/llm/data/prompts.d.ts.map +1 -0
- package/dist/llm/data/testCases.d.ts +13 -0
- package/dist/llm/data/testCases.d.ts.map +1 -0
- package/dist/llm/googlev2.d.ts +15 -0
- package/dist/llm/googlev2.d.ts.map +1 -0
- package/dist/llm/index.d.ts +11 -0
- package/dist/llm/index.d.ts.map +1 -0
- package/dist/llm/mistral.d.ts +11 -0
- package/dist/llm/mistral.d.ts.map +1 -0
- package/dist/llm/models.d.ts +8 -0
- package/dist/llm/models.d.ts.map +1 -0
- package/dist/llm/openAI.d.ts +13 -0
- package/dist/llm/openAI.d.ts.map +1 -0
- package/dist/llm/utils.d.ts +50 -0
- package/dist/llm/utils.d.ts.map +1 -0
- package/dist/lua-C2YJo0zw.js +168 -0
- package/dist/m3-CPLP40SG.js +216 -0
- package/dist/main-oVvKtGNk.js +203688 -0
- package/dist/main.css +1 -0
- package/dist/main.d.ts +23 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +22 -0
- package/dist/main.umd.cjs +2885 -0
- package/dist/markdown-B1mf5e0R.js +235 -0
- package/dist/mdx-BmG1effK.js +171 -0
- package/dist/mips-DA33BZX1.js +204 -0
- package/dist/models/helpers.d.ts +59 -0
- package/dist/models/helpers.d.ts.map +1 -0
- package/dist/models/import.d.ts +18 -0
- package/dist/models/import.d.ts.map +1 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/model.d.ts +241 -0
- package/dist/models/model.d.ts.map +1 -0
- package/dist/monaco/editorHelpers.d.ts +32 -0
- package/dist/monaco/editorHelpers.d.ts.map +1 -0
- package/dist/monaco/index.d.ts +2 -0
- package/dist/monaco/index.d.ts.map +1 -0
- package/dist/monaco/setup.d.ts +2 -0
- package/dist/monaco/setup.d.ts.map +1 -0
- package/dist/msdax-CCYFIQsP.js +381 -0
- package/dist/mysql-hjmIjL-D.js +884 -0
- package/dist/objective-c-RRCpEmqC.js +189 -0
- package/dist/pascal-CeV8XfxB.js +257 -0
- package/dist/pascaligo-IEEGVJAJ.js +170 -0
- package/dist/perl-B5-QbHq_.js +632 -0
- package/dist/pgsql-s6kqEJmi.js +857 -0
- package/dist/php-CWWqzOo8.js +506 -0
- package/dist/pla-FSvb_YP_.js +143 -0
- package/dist/postiats-DQdscQXO.js +913 -0
- package/dist/powerquery-CtA5JA1I.js +896 -0
- package/dist/powershell-DglEq96N.js +245 -0
- package/dist/prism-sql-8Y2-THrf.js +33 -0
- package/dist/protobuf-BSepub3e.js +426 -0
- package/dist/pug-B1847F4G.js +408 -0
- package/dist/python-BLXKu9hO.js +307 -0
- package/dist/qsharp-D4i0Nqg9.js +307 -0
- package/dist/r-cdRigKxa.js +249 -0
- package/dist/razor-DSEd6veI.js +556 -0
- package/dist/redis-D9MFxvE8.js +308 -0
- package/dist/redshift-CmCnsvL-.js +815 -0
- package/dist/remotes/constants.d.ts +2 -0
- package/dist/remotes/constants.d.ts.map +1 -0
- package/dist/remotes/displayHelpers.d.ts +67 -0
- package/dist/remotes/displayHelpers.d.ts.map +1 -0
- package/dist/remotes/modelApiService.d.ts +38 -0
- package/dist/remotes/modelApiService.d.ts.map +1 -0
- package/dist/remotes/models.d.ts +48 -0
- package/dist/remotes/models.d.ts.map +1 -0
- package/dist/remotes/storeService.d.ts +42 -0
- package/dist/remotes/storeService.d.ts.map +1 -0
- package/dist/restructuredtext-CWy8J51t.js +180 -0
- package/dist/ruby-WP-c36m5.js +517 -0
- package/dist/rust-Q9FLdYpu.js +349 -0
- package/dist/sb-C54-JBGT.js +121 -0
- package/dist/scala-CzbFImc5.js +376 -0
- package/dist/scheme-BhfDmYN3.js +114 -0
- package/dist/scss-CEmiBXpS.js +268 -0
- package/dist/shell-Bmc1VhG0.js +227 -0
- package/dist/solidity-C9Q2I8Hh.js +1373 -0
- package/dist/sophia-jWa1UyKz.js +205 -0
- package/dist/sparql-CM7jctbc.js +207 -0
- package/dist/sql-WzihTkbg.js +859 -0
- package/dist/st-6y7_3aup.js +422 -0
- package/dist/stores/CredentialManager.vue.d.ts +50 -0
- package/dist/stores/CredentialManager.vue.d.ts.map +1 -0
- package/dist/stores/Manager.vue.d.ts +100 -0
- package/dist/stores/Manager.vue.d.ts.map +1 -0
- package/dist/stores/analyticsStore.d.ts +42 -0
- package/dist/stores/analyticsStore.d.ts.map +1 -0
- package/dist/stores/chatStore.d.ts +153 -0
- package/dist/stores/chatStore.d.ts.map +1 -0
- package/dist/stores/communityApiStore.d.ts +206 -0
- package/dist/stores/communityApiStore.d.ts.map +1 -0
- package/dist/stores/connectionHistoryStore.d.ts +24 -0
- package/dist/stores/connectionHistoryStore.d.ts.map +1 -0
- package/dist/stores/connectionStore.d.ts +31 -0
- package/dist/stores/connectionStore.d.ts.map +1 -0
- package/dist/stores/dashboardStore.d.ts +122 -0
- package/dist/stores/dashboardStore.d.ts.map +1 -0
- package/dist/stores/editorStore.d.ts +44 -0
- package/dist/stores/editorStore.d.ts.map +1 -0
- package/dist/stores/index.d.ts +14 -0
- package/dist/stores/index.d.ts.map +1 -0
- package/dist/stores/llmStore.d.ts +90 -0
- package/dist/stores/llmStore.d.ts.map +1 -0
- package/dist/stores/modelStore.d.ts +29 -0
- package/dist/stores/modelStore.d.ts.map +1 -0
- package/dist/stores/queryExecutionService.d.ts +60 -0
- package/dist/stores/queryExecutionService.d.ts.map +1 -0
- package/dist/stores/resolver.d.ts +91 -0
- package/dist/stores/resolver.d.ts.map +1 -0
- package/dist/stores/urlStore.d.ts +6 -0
- package/dist/stores/urlStore.d.ts.map +1 -0
- package/dist/stores/useScreenNavigation.d.ts +53 -0
- package/dist/stores/useScreenNavigation.d.ts.map +1 -0
- package/dist/stores/userSettingsStore.d.ts +133 -0
- package/dist/stores/userSettingsStore.d.ts.map +1 -0
- package/dist/swift-k-0zxG_D.js +318 -0
- package/dist/systemverilog-Pnr5_rIP.js +582 -0
- package/dist/tcl-fNPXval8.js +238 -0
- package/dist/tsMode-CdypNzs1.js +895 -0
- package/dist/twig-L2MkztkV.js +398 -0
- package/dist/typescript-DZ5G39rT.js +349 -0
- package/dist/typespec-Cqqo-3Pt.js +123 -0
- package/dist/useDashboard-CPI83oAm.js +3352 -0
- package/dist/utility/debounce.d.ts +12 -0
- package/dist/utility/debounce.d.ts.map +1 -0
- package/dist/utility/markdownRenderer.d.ts +34 -0
- package/dist/utility/markdownRenderer.d.ts.map +1 -0
- package/dist/utility/testHelpers.d.ts +2 -0
- package/dist/utility/testHelpers.d.ts.map +1 -0
- package/dist/vb-B5YC2xN9.js +378 -0
- package/dist/views/ConnectionView.vue.d.ts +522 -0
- package/dist/views/ConnectionView.vue.d.ts.map +1 -0
- package/dist/views/CredentialBackgroundPage.vue.d.ts +3 -0
- package/dist/views/CredentialBackgroundPage.vue.d.ts.map +1 -0
- package/dist/views/IDEPlaceholder.vue.d.ts +3 -0
- package/dist/views/IDEPlaceholder.vue.d.ts.map +1 -0
- package/dist/views/LLMView.vue.d.ts +7758 -0
- package/dist/views/LLMView.vue.d.ts.map +1 -0
- package/dist/views/MobileIDEPlaceholder.vue.d.ts +3 -0
- package/dist/views/MobileIDEPlaceholder.vue.d.ts.map +1 -0
- package/dist/views/ModelView.vue.d.ts +2170 -0
- package/dist/views/ModelView.vue.d.ts.map +1 -0
- package/dist/views/ResponsiveIDE.vue.d.ts +3 -0
- package/dist/views/ResponsiveIDE.vue.d.ts.map +1 -0
- package/dist/views/TutorialPage.vue.d.ts +7835 -0
- package/dist/views/TutorialPage.vue.d.ts.map +1 -0
- package/dist/views/WelcomePage.vue.d.ts +13 -0
- package/dist/views/WelcomePage.vue.d.ts.map +1 -0
- package/dist/views/index.d.ts +3 -0
- package/dist/views/index.d.ts.map +1 -0
- package/dist/vite.config.d.ts +3 -0
- package/dist/vite.config.d.ts.map +1 -0
- package/dist/vitest.config.d.ts +3 -0
- package/dist/vitest.config.d.ts.map +1 -0
- package/dist/wgsl-B-_uRex7.js +445 -0
- package/dist/xml-DsUsyRQY.js +101 -0
- package/dist/yaml-BpA1BNpS.js +212 -0
- package/package.json +55 -0
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
import { Row, ResultColumn, ChartConfig } from '../editors/results';
|
|
2
|
+
/**
|
|
3
|
+
* Main function to create USA map specification
|
|
4
|
+
*/
|
|
5
|
+
export declare const createMapSpec: (config: ChartConfig, data: readonly Row[], columns: Map<string, ResultColumn>, isMobile: boolean, intChart: Array<Partial<ChartConfig>>, currentTheme?: string) => {
|
|
6
|
+
projection: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
layer: ({
|
|
10
|
+
data: {
|
|
11
|
+
url: string;
|
|
12
|
+
format: {
|
|
13
|
+
type: string;
|
|
14
|
+
feature: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
mark: {
|
|
18
|
+
type: string;
|
|
19
|
+
fill: string;
|
|
20
|
+
stroke: string;
|
|
21
|
+
};
|
|
22
|
+
} | {
|
|
23
|
+
mark: {
|
|
24
|
+
type: string;
|
|
25
|
+
tooltip: boolean;
|
|
26
|
+
};
|
|
27
|
+
params: ({
|
|
28
|
+
name: string;
|
|
29
|
+
select: {
|
|
30
|
+
type: string;
|
|
31
|
+
on: string;
|
|
32
|
+
clear: string;
|
|
33
|
+
};
|
|
34
|
+
value?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
name: string;
|
|
37
|
+
select: string;
|
|
38
|
+
value: Partial<ChartConfig>[];
|
|
39
|
+
})[];
|
|
40
|
+
encoding: {
|
|
41
|
+
longitude: {
|
|
42
|
+
field: string | undefined;
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
latitude: {
|
|
46
|
+
field: string | undefined;
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
size: {
|
|
50
|
+
field: string;
|
|
51
|
+
type: string;
|
|
52
|
+
title: string;
|
|
53
|
+
scale: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
} | undefined;
|
|
57
|
+
color: any;
|
|
58
|
+
tooltip: any[];
|
|
59
|
+
};
|
|
60
|
+
})[];
|
|
61
|
+
} | {
|
|
62
|
+
$schema: string;
|
|
63
|
+
width: string;
|
|
64
|
+
height: string;
|
|
65
|
+
layer: {
|
|
66
|
+
data: {
|
|
67
|
+
sequence: {
|
|
68
|
+
start: number;
|
|
69
|
+
stop: number;
|
|
70
|
+
as: string;
|
|
71
|
+
};
|
|
72
|
+
name: string;
|
|
73
|
+
};
|
|
74
|
+
mark: {
|
|
75
|
+
type: string;
|
|
76
|
+
clip: boolean;
|
|
77
|
+
height: {
|
|
78
|
+
expr: string;
|
|
79
|
+
};
|
|
80
|
+
width: {
|
|
81
|
+
expr: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
encoding: {
|
|
85
|
+
url: {
|
|
86
|
+
field: string;
|
|
87
|
+
type: string;
|
|
88
|
+
};
|
|
89
|
+
x: {
|
|
90
|
+
field: string;
|
|
91
|
+
scale: null;
|
|
92
|
+
type: string;
|
|
93
|
+
};
|
|
94
|
+
y: {
|
|
95
|
+
field: string;
|
|
96
|
+
scale: null;
|
|
97
|
+
type: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
transform: ({
|
|
101
|
+
calculate: string;
|
|
102
|
+
as: string;
|
|
103
|
+
flatten?: undefined;
|
|
104
|
+
filter?: undefined;
|
|
105
|
+
} | {
|
|
106
|
+
flatten: string[];
|
|
107
|
+
calculate?: undefined;
|
|
108
|
+
as?: undefined;
|
|
109
|
+
filter?: undefined;
|
|
110
|
+
} | {
|
|
111
|
+
filter: string;
|
|
112
|
+
calculate?: undefined;
|
|
113
|
+
as?: undefined;
|
|
114
|
+
flatten?: undefined;
|
|
115
|
+
})[];
|
|
116
|
+
}[];
|
|
117
|
+
projection?: undefined;
|
|
118
|
+
params?: undefined;
|
|
119
|
+
} | {
|
|
120
|
+
projection: {
|
|
121
|
+
type: string;
|
|
122
|
+
scale: {
|
|
123
|
+
expr: string;
|
|
124
|
+
};
|
|
125
|
+
center: number[];
|
|
126
|
+
};
|
|
127
|
+
params: ({
|
|
128
|
+
name: string;
|
|
129
|
+
value: number;
|
|
130
|
+
expr?: undefined;
|
|
131
|
+
} | {
|
|
132
|
+
name: string;
|
|
133
|
+
expr: string;
|
|
134
|
+
value?: undefined;
|
|
135
|
+
})[];
|
|
136
|
+
layer: ({
|
|
137
|
+
data: {
|
|
138
|
+
sequence: {
|
|
139
|
+
start: number;
|
|
140
|
+
stop: number;
|
|
141
|
+
as: string;
|
|
142
|
+
};
|
|
143
|
+
name: string;
|
|
144
|
+
};
|
|
145
|
+
mark: {
|
|
146
|
+
type: string;
|
|
147
|
+
clip: boolean;
|
|
148
|
+
height: {
|
|
149
|
+
expr: string;
|
|
150
|
+
};
|
|
151
|
+
width: {
|
|
152
|
+
expr: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
encoding: {
|
|
156
|
+
url: {
|
|
157
|
+
field: string;
|
|
158
|
+
type: string;
|
|
159
|
+
};
|
|
160
|
+
x: {
|
|
161
|
+
field: string;
|
|
162
|
+
scale: null;
|
|
163
|
+
type: string;
|
|
164
|
+
};
|
|
165
|
+
y: {
|
|
166
|
+
field: string;
|
|
167
|
+
scale: null;
|
|
168
|
+
type: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
transform: ({
|
|
172
|
+
calculate: string;
|
|
173
|
+
as: string;
|
|
174
|
+
flatten?: undefined;
|
|
175
|
+
filter?: undefined;
|
|
176
|
+
} | {
|
|
177
|
+
flatten: string[];
|
|
178
|
+
calculate?: undefined;
|
|
179
|
+
as?: undefined;
|
|
180
|
+
filter?: undefined;
|
|
181
|
+
} | {
|
|
182
|
+
filter: string;
|
|
183
|
+
calculate?: undefined;
|
|
184
|
+
as?: undefined;
|
|
185
|
+
flatten?: undefined;
|
|
186
|
+
})[];
|
|
187
|
+
} | {
|
|
188
|
+
mark: {
|
|
189
|
+
type: string;
|
|
190
|
+
tooltip: boolean;
|
|
191
|
+
};
|
|
192
|
+
params: ({
|
|
193
|
+
name: string;
|
|
194
|
+
select: {
|
|
195
|
+
type: string;
|
|
196
|
+
on: string;
|
|
197
|
+
clear: string;
|
|
198
|
+
};
|
|
199
|
+
value?: undefined;
|
|
200
|
+
} | {
|
|
201
|
+
name: string;
|
|
202
|
+
select: string;
|
|
203
|
+
value: Partial<ChartConfig>[];
|
|
204
|
+
})[];
|
|
205
|
+
encoding: {
|
|
206
|
+
longitude: {
|
|
207
|
+
field: string;
|
|
208
|
+
type: string;
|
|
209
|
+
};
|
|
210
|
+
latitude: {
|
|
211
|
+
field: string;
|
|
212
|
+
type: string;
|
|
213
|
+
};
|
|
214
|
+
size: {
|
|
215
|
+
field: string;
|
|
216
|
+
type: string;
|
|
217
|
+
title: string;
|
|
218
|
+
scale: {
|
|
219
|
+
type: string;
|
|
220
|
+
};
|
|
221
|
+
legend: {
|
|
222
|
+
orient: string;
|
|
223
|
+
};
|
|
224
|
+
} | undefined;
|
|
225
|
+
color: any;
|
|
226
|
+
tooltip: any[];
|
|
227
|
+
};
|
|
228
|
+
})[];
|
|
229
|
+
$schema?: undefined;
|
|
230
|
+
width?: undefined;
|
|
231
|
+
height?: undefined;
|
|
232
|
+
} | {
|
|
233
|
+
$schema: string;
|
|
234
|
+
width: string;
|
|
235
|
+
height: string;
|
|
236
|
+
projection: {
|
|
237
|
+
type: string;
|
|
238
|
+
};
|
|
239
|
+
layer: ({
|
|
240
|
+
data: {
|
|
241
|
+
url: string;
|
|
242
|
+
format: {
|
|
243
|
+
type: string;
|
|
244
|
+
feature: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
mark: {
|
|
248
|
+
type: string;
|
|
249
|
+
fill: string;
|
|
250
|
+
stroke: string;
|
|
251
|
+
};
|
|
252
|
+
} | {
|
|
253
|
+
data: {
|
|
254
|
+
url: string;
|
|
255
|
+
format: {
|
|
256
|
+
type: string;
|
|
257
|
+
feature: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
mark: {
|
|
261
|
+
type: string;
|
|
262
|
+
};
|
|
263
|
+
params: ({
|
|
264
|
+
name: string;
|
|
265
|
+
select: {
|
|
266
|
+
type: string;
|
|
267
|
+
on: string;
|
|
268
|
+
clear: string;
|
|
269
|
+
};
|
|
270
|
+
value?: undefined;
|
|
271
|
+
} | {
|
|
272
|
+
name: string;
|
|
273
|
+
select: string;
|
|
274
|
+
value: Partial<ChartConfig>[];
|
|
275
|
+
})[];
|
|
276
|
+
encoding: {
|
|
277
|
+
color: {};
|
|
278
|
+
opacity: {
|
|
279
|
+
condition: {
|
|
280
|
+
param: string;
|
|
281
|
+
value: number;
|
|
282
|
+
};
|
|
283
|
+
value: number;
|
|
284
|
+
};
|
|
285
|
+
stroke: {
|
|
286
|
+
condition: {
|
|
287
|
+
param: string;
|
|
288
|
+
empty: boolean;
|
|
289
|
+
value: string;
|
|
290
|
+
};
|
|
291
|
+
value: null;
|
|
292
|
+
};
|
|
293
|
+
strokeWidth: {
|
|
294
|
+
condition: {
|
|
295
|
+
param: string;
|
|
296
|
+
empty: boolean;
|
|
297
|
+
value: number;
|
|
298
|
+
};
|
|
299
|
+
value: number;
|
|
300
|
+
};
|
|
301
|
+
tooltip: any[];
|
|
302
|
+
};
|
|
303
|
+
transform: ({
|
|
304
|
+
lookup: string;
|
|
305
|
+
from: {
|
|
306
|
+
data: {
|
|
307
|
+
values: {
|
|
308
|
+
id: number;
|
|
309
|
+
abbr: string;
|
|
310
|
+
}[] | {
|
|
311
|
+
id: number;
|
|
312
|
+
name: string;
|
|
313
|
+
}[];
|
|
314
|
+
};
|
|
315
|
+
key: string;
|
|
316
|
+
fields: string[];
|
|
317
|
+
};
|
|
318
|
+
} | {
|
|
319
|
+
lookup: string;
|
|
320
|
+
from: {
|
|
321
|
+
data: {
|
|
322
|
+
values: readonly Readonly<Record<string, any>>[] | null;
|
|
323
|
+
};
|
|
324
|
+
key: string | undefined;
|
|
325
|
+
fields: (string | undefined)[];
|
|
326
|
+
};
|
|
327
|
+
})[];
|
|
328
|
+
})[];
|
|
329
|
+
} | {
|
|
330
|
+
$schema: string;
|
|
331
|
+
width: string;
|
|
332
|
+
height: string;
|
|
333
|
+
layer: ({
|
|
334
|
+
data: {
|
|
335
|
+
url: string;
|
|
336
|
+
format: {
|
|
337
|
+
type: string;
|
|
338
|
+
feature: string;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
transform: {
|
|
342
|
+
filter: string;
|
|
343
|
+
}[];
|
|
344
|
+
mark: {
|
|
345
|
+
type: string;
|
|
346
|
+
fill: string;
|
|
347
|
+
stroke: string;
|
|
348
|
+
strokeWidth: number;
|
|
349
|
+
};
|
|
350
|
+
projection: {
|
|
351
|
+
type: string;
|
|
352
|
+
};
|
|
353
|
+
params?: undefined;
|
|
354
|
+
encoding?: undefined;
|
|
355
|
+
} | {
|
|
356
|
+
data: {
|
|
357
|
+
url: string;
|
|
358
|
+
format: {
|
|
359
|
+
type: string;
|
|
360
|
+
feature: string;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
transform: {
|
|
364
|
+
lookup: string;
|
|
365
|
+
from: {
|
|
366
|
+
data: {
|
|
367
|
+
values: {
|
|
368
|
+
id: number | null;
|
|
369
|
+
}[];
|
|
370
|
+
};
|
|
371
|
+
key: string;
|
|
372
|
+
fields: (string | undefined)[];
|
|
373
|
+
};
|
|
374
|
+
}[];
|
|
375
|
+
params: ({
|
|
376
|
+
name: string;
|
|
377
|
+
select: {
|
|
378
|
+
type: string;
|
|
379
|
+
on: string;
|
|
380
|
+
clear: string;
|
|
381
|
+
};
|
|
382
|
+
value?: undefined;
|
|
383
|
+
} | {
|
|
384
|
+
name: string;
|
|
385
|
+
select: string;
|
|
386
|
+
value: Partial<ChartConfig>[];
|
|
387
|
+
})[];
|
|
388
|
+
mark: {
|
|
389
|
+
type: string;
|
|
390
|
+
fill?: undefined;
|
|
391
|
+
stroke?: undefined;
|
|
392
|
+
strokeWidth?: undefined;
|
|
393
|
+
};
|
|
394
|
+
projection: {
|
|
395
|
+
type: string;
|
|
396
|
+
};
|
|
397
|
+
encoding: {
|
|
398
|
+
color: {};
|
|
399
|
+
opacity: {
|
|
400
|
+
condition: {
|
|
401
|
+
param: string;
|
|
402
|
+
value: number;
|
|
403
|
+
};
|
|
404
|
+
value: number;
|
|
405
|
+
};
|
|
406
|
+
tooltip: any[];
|
|
407
|
+
stroke: {
|
|
408
|
+
condition: {
|
|
409
|
+
param: string;
|
|
410
|
+
empty: boolean;
|
|
411
|
+
value: string;
|
|
412
|
+
};
|
|
413
|
+
value: string;
|
|
414
|
+
};
|
|
415
|
+
strokeWidth: {
|
|
416
|
+
condition: {
|
|
417
|
+
param: string;
|
|
418
|
+
empty: boolean;
|
|
419
|
+
value: number;
|
|
420
|
+
};
|
|
421
|
+
value: number;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
})[];
|
|
425
|
+
config: {
|
|
426
|
+
view: {
|
|
427
|
+
stroke: null;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
//# sourceMappingURL=mapSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapSpec.d.ts","sourceRoot":"","sources":["../../dashboards/mapSpec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAiiBxE;;GAEG;AACH,eAAO,MAAM,aAAa,WAChB,WAAW,QACb,SAAS,GAAG,EAAE,WACX,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,YACxB,OAAO,YACP,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,iBACvB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkKrB,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Row, ResultColumn, ChartConfig } from '../editors/results';
|
|
2
|
+
interface VegaTransform {
|
|
3
|
+
type: string;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
interface VegaMark {
|
|
7
|
+
name?: string;
|
|
8
|
+
type: string;
|
|
9
|
+
transform?: VegaTransform[];
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
12
|
+
export interface VegaSpec {
|
|
13
|
+
marks?: VegaMark[];
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}
|
|
16
|
+
export declare function addLabelTransformToTextMarks(spec: VegaSpec, labelTransform?: VegaTransform): VegaSpec;
|
|
17
|
+
export declare const createPointChartSpec: (config: ChartConfig, columns: Map<string, ResultColumn>, tooltipFields: any[], selectedValues: {
|
|
18
|
+
[key: string]: string | number | Array<any>;
|
|
19
|
+
}[], currentTheme?: string, isMobile?: boolean, data?: readonly Row[]) => {
|
|
20
|
+
layer: any[];
|
|
21
|
+
encoding: {
|
|
22
|
+
x: import('./types').FieldEncodingOutput;
|
|
23
|
+
y: import('./types').FieldEncodingOutput;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=pointSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pointSpec.d.ts","sourceRoot":"","sources":["../../dashboards/pointSpec.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAChE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAGrD,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED,UAAU,QAAQ;IAChB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,aAAa,EAAE,CAAA;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAA;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,QAAQ,EACd,cAAc,CAAC,EAAE,aAAa,GAC7B,QAAQ,CAoDV;AA8BD,eAAO,MAAM,oBAAoB,WACvB,WAAW,WACV,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,iBACnB,GAAG,EAAE,kBACJ;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,CAAA;CAAE,EAAE,iBACnD,MAAM,aACV,OAAO,SACX,SAAS,GAAG,EAAE;;;;;;CA+ErB,CAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CellType } from './base';
|
|
2
|
+
/**
|
|
3
|
+
* Parses a JSON string into a PromptDashboard object
|
|
4
|
+
* @param jsonString The JSON string to parse
|
|
5
|
+
* @returns A PromptDashboard object
|
|
6
|
+
* @throws Error if the JSON is invalid or doesn't match the expected structure
|
|
7
|
+
*/
|
|
8
|
+
export declare function parseDashboardSpec(jsonString: string): PromptDashboard;
|
|
9
|
+
export interface PromptLayoutItem {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
w: number;
|
|
13
|
+
h: number;
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
export interface PromptGridItemData {
|
|
17
|
+
type: CellType;
|
|
18
|
+
content: string;
|
|
19
|
+
name: string;
|
|
20
|
+
width?: number;
|
|
21
|
+
height?: number;
|
|
22
|
+
}
|
|
23
|
+
export interface PromptDashboard {
|
|
24
|
+
name: string;
|
|
25
|
+
layout: PromptLayoutItem[];
|
|
26
|
+
gridItems: Record<string, PromptGridItemData>;
|
|
27
|
+
description: string;
|
|
28
|
+
}
|
|
29
|
+
export declare const DASHBOARD_PROMPT = "You are a world-class dashboard designer and analyst who produces striking insights. Given this typescript template format for a dashboard config, and a list of available fields,\ngenerate a JSON spec that can be imported into these typescript objects that will appropriately visualize data for the provided prompt.\n\nYou build information dense by clear dashboards, in the style of the New York Times or Edward Tufte. Focus on laying out content for an interactive, click based exploration; do not\nmention anything related to global dashboard filters, however.\n\nAppropriately mix in description and markdown to explain the data and the visualizations and how the dashboard should be used. \n\nThe horizontal grid components are sized on a 0-20 scale, which will respond to width. Rows are 30 pixels high. Markdown components should be at least 3 rows high, but make them higher\nif you judge appropriate. \n\nMake the dashboard comprehensive to explore the user question. If the user asks for something detailed, it should typically be 5-8 rows (5-10 cells); otherwise 3-6 is appropriate (4-6 cells). \n\nFor the chart and table types, in the content, write a a prompt for the data you want to visualize. A data engineer\nwill transform this into a real SQL query based on knowledge of the underlying database.\n\nThe prompt should be descriptive and precise to ensure they understand your intent, but should avoid being too 'SQL' - speak business.\n\nThey only have access to the same general concepts as you will be given below, so plan appropriately\nand do not ask them for something they will be unable to answer with that data.\n\nFor markdown, you can directly fill in the appropriate markdown syntax. Markdown cells are static and will not run/fetch data. The other\ntwo cells will be populated by queries. \n\nTypescript format \"\nexport const CELL_TYPES = {\n CHART: 'chart',\n MARKDOWN: 'markdown',\n TABLE: 'table',\n } as const\n \nexport type CellType = (typeof CELL_TYPES)[keyof typeof CELL_TYPES]\n\nexport interface PromptLayoutItem {\n x: number\n y: number\n w: number\n h: number\n id: string\n}\n\n// This contains details about the layout\n// the \nexport interface PromptGridItemData {\n type: CellType\n content: string\n name: string\n width?: number\n height?: number\n}\n\nexport interface PromptDashboard {\n name: string\n layout: PromptLayoutItem[]\n // the key here will associate a grid item with a layout item (in the id field)\n gridItems: Record<string, PromptGridItemData>\n description: string\n}\n\n\"\n\n";
|
|
30
|
+
export declare function generateDashboardPrompt(prompt: string, fields: string): string;
|
|
31
|
+
//# sourceMappingURL=prompts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../dashboards/prompts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACtC;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,eAAe,CAwFtE;AAED,MAAM,WAAW,gBAAgB;IAC/B,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,EAAE,EAAE,MAAM,CAAA;CACX;AAID,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,QAAQ,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,gBAAgB,EAAE,CAAA;IAE1B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;IAC7C,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,gBAAgB,ohFA6D5B,CAAA;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAS9E"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Row, ResultColumn, ChartConfig } from '../editors/results';
|
|
2
|
+
/**
|
|
3
|
+
* Create a base chart specification
|
|
4
|
+
*/
|
|
5
|
+
export declare const createBaseSpec: (data: readonly Row[] | null) => {
|
|
6
|
+
$schema: string;
|
|
7
|
+
data: {
|
|
8
|
+
values: readonly Readonly<Record<string, any>>[] | null;
|
|
9
|
+
};
|
|
10
|
+
width: string;
|
|
11
|
+
height: string;
|
|
12
|
+
config: {
|
|
13
|
+
scale: {
|
|
14
|
+
bandPaddingInner: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const generateVegaSpec: (data: readonly Row[] | null, config: ChartConfig, columns: Map<string, ResultColumn>, chartSelection: Object[] | null, isMobile?: boolean, title?: string, currentTheme?: "light" | "dark" | "", containerHeight?: number, containerWidth?: number) => any;
|
|
19
|
+
//# sourceMappingURL=spec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec.d.ts","sourceRoot":"","sources":["../../dashboards/spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAChE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAA;AA8CrD;;GAEG;AACH,eAAO,MAAM,cAAc,SAAU,SAAS,GAAG,EAAE,GAAG,IAAI;;;;;;;;;;;;CAYzD,CAAA;AAmCD,eAAO,MAAM,gBAAgB,SACrB,SAAS,GAAG,EAAE,GAAG,IAAI,UACnB,WAAW,WACV,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,kBAClB,MAAM,EAAE,GAAG,IAAI,aACrB,OAAO,UACV,MAAM,iBACC,OAAO,GAAG,MAAM,GAAG,EAAE,oBAClB,MAAM,mBACP,MAAM,QAwRvB,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Row, ResultColumn, ChartConfig } from '../editors/results';
|
|
2
|
+
export declare const createTreemapSpec: (config: ChartConfig, data: readonly Row[] | null, columns: Map<string, ResultColumn>, tooltipFields: any[], encoding: any) => {};
|
|
3
|
+
//# sourceMappingURL=treeSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"treeSpec.d.ts","sourceRoot":"","sources":["../../dashboards/treeSpec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAGxE,eAAO,MAAM,iBAAiB,WACpB,WAAW,QACb,SAAS,GAAG,EAAE,GAAG,IAAI,WAClB,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,iBACnB,GAAG,EAAE,YACV,GAAG,OAoId,CAAA"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export type FieldType = 'nominal' | 'temporal' | 'ordinal' | 'quantitative';
|
|
2
|
+
export interface FieldEncodingOutput {
|
|
3
|
+
/** The field name to encode (required when fieldName is provided) */
|
|
4
|
+
field?: string;
|
|
5
|
+
/** The Vega-Lite field type */
|
|
6
|
+
type?: FieldType;
|
|
7
|
+
/** Human-readable title for the field (derived from description or field name) */
|
|
8
|
+
title?: string;
|
|
9
|
+
/** Format hint for displaying values (e.g., date formats, number formats) */
|
|
10
|
+
format?: string;
|
|
11
|
+
/** Format type for parsing values */
|
|
12
|
+
formatType?: string;
|
|
13
|
+
/** Sorting configuration for the field */
|
|
14
|
+
sort?: string[] | {
|
|
15
|
+
field: string;
|
|
16
|
+
order: 'ascending' | 'descending';
|
|
17
|
+
} | {
|
|
18
|
+
field?: string;
|
|
19
|
+
order?: 'ascending' | 'descending';
|
|
20
|
+
};
|
|
21
|
+
/** Scale configuration for the encoding */
|
|
22
|
+
scale?: {
|
|
23
|
+
/** Scale type (e.g., 'linear', 'log', 'sqrt') */
|
|
24
|
+
type?: string;
|
|
25
|
+
/** Whether to include zero in the scale domain */
|
|
26
|
+
zero?: boolean;
|
|
27
|
+
/** Other scale properties */
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
/** Axis configuration properties */
|
|
31
|
+
axis?: {
|
|
32
|
+
/** Axis title */
|
|
33
|
+
title?: string;
|
|
34
|
+
/** Axis labels configuration */
|
|
35
|
+
labels?: boolean;
|
|
36
|
+
/** Tick configuration */
|
|
37
|
+
ticks?: boolean;
|
|
38
|
+
/** Grid lines configuration */
|
|
39
|
+
grid?: boolean;
|
|
40
|
+
/** Other axis properties */
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
};
|
|
43
|
+
/** Legend configuration properties */
|
|
44
|
+
legend?: {
|
|
45
|
+
/** Legend orientation */
|
|
46
|
+
orient?: 'left' | 'right' | 'top' | 'bottom';
|
|
47
|
+
/** Legend title orientation */
|
|
48
|
+
titleOrient?: 'left' | 'right' | 'top' | 'bottom' | 'center';
|
|
49
|
+
/** Legend direction */
|
|
50
|
+
direction?: 'horizontal' | 'vertical';
|
|
51
|
+
/** Legend title font size */
|
|
52
|
+
titleFontSize?: number;
|
|
53
|
+
/** Number of ticks in legend */
|
|
54
|
+
tickCount?: number;
|
|
55
|
+
/** Specific values to show in legend */
|
|
56
|
+
values?: any[];
|
|
57
|
+
/** Format for legend values */
|
|
58
|
+
format?: string;
|
|
59
|
+
/** Format type for legend values */
|
|
60
|
+
formatType?: string;
|
|
61
|
+
/** Other legend properties */
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
} | null;
|
|
64
|
+
/**
|
|
65
|
+
* Additional properties that may be merged from axisOptions parameter
|
|
66
|
+
* This allows for any additional Vega-Lite encoding properties
|
|
67
|
+
*/
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../dashboards/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,cAAc,CAAA;AAE3E,MAAM,WAAW,mBAAmB;IAClC,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,+BAA+B;IAC/B,IAAI,CAAC,EAAE,SAAS,CAAA;IAEhB,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,6EAA6E;IAC7E,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB,0CAA0C;IAC1C,IAAI,CAAC,EACD,MAAM,EAAE,GACR;QACE,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,WAAW,GAAG,YAAY,CAAA;KAClC,GACD;QACE,KAAK,CAAC,EAAE,MAAM,CAAA;QACd,KAAK,CAAC,EAAE,WAAW,GAAG,YAAY,CAAA;KACnC,CAAA;IAEL,2CAA2C;IAC3C,KAAK,CAAC,EAAE;QACN,iDAAiD;QACjD,IAAI,CAAC,EAAE,MAAM,CAAA;QAEb,kDAAkD;QAClD,IAAI,CAAC,EAAE,OAAO,CAAA;QAEd,6BAA6B;QAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KACnB,CAAA;IAED,oCAAoC;IACpC,IAAI,CAAC,EAAE;QACL,iBAAiB;QACjB,KAAK,CAAC,EAAE,MAAM,CAAA;QAEd,gCAAgC;QAChC,MAAM,CAAC,EAAE,OAAO,CAAA;QAEhB,yBAAyB;QACzB,KAAK,CAAC,EAAE,OAAO,CAAA;QAEf,+BAA+B;QAC/B,IAAI,CAAC,EAAE,OAAO,CAAA;QAEd,4BAA4B;QAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KACnB,CAAA;IAED,sCAAsC;IACtC,MAAM,CAAC,EAAE;QACP,yBAAyB;QACzB,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAA;QAE5C,+BAA+B;QAC/B,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAA;QAE5D,uBAAuB;QACvB,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAA;QAErC,6BAA6B;QAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;QAEtB,gCAAgC;QAChC,SAAS,CAAC,EAAE,MAAM,CAAA;QAElB,wCAAwC;QACxC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAA;QAEd,+BAA+B;QAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;QAEf,oCAAoC;QACpC,UAAU,CAAC,EAAE,MAAM,CAAA;QAEnB,8BAA8B;QAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KACnB,GAAG,IAAI,CAAA;IAER;;;OAGG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface QueryRecord {
|
|
2
|
+
id: number;
|
|
3
|
+
connectionName: string;
|
|
4
|
+
query: string;
|
|
5
|
+
generatedQuery?: string | null;
|
|
6
|
+
timestamp: string;
|
|
7
|
+
executionTime: number;
|
|
8
|
+
status: 'success' | 'error';
|
|
9
|
+
errorMessage?: string | null;
|
|
10
|
+
resultSize?: number;
|
|
11
|
+
resultColumns?: number;
|
|
12
|
+
}
|
|
13
|
+
declare class QueryHistoryStorage {
|
|
14
|
+
private dbName;
|
|
15
|
+
private storeName;
|
|
16
|
+
private db;
|
|
17
|
+
constructor();
|
|
18
|
+
private _initDB;
|
|
19
|
+
addQuery(connectionName: string, queryData: Omit<QueryRecord, 'id' | 'connectionName' | 'timestamp'>): Promise<number>;
|
|
20
|
+
getQueriesForConnection(connectionName: string, limit?: number): Promise<QueryRecord[]>;
|
|
21
|
+
clearConnectionHistory(connectionName: string): Promise<void>;
|
|
22
|
+
private _enforceHistorySizeLimit;
|
|
23
|
+
}
|
|
24
|
+
export default QueryHistoryStorage;
|
|
25
|
+
//# sourceMappingURL=connectionHistoryStorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectionHistoryStorage.d.ts","sourceRoot":"","sources":["../../data/connectionHistoryStorage.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,cAAc,EAAE,MAAM,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,MAAM,EAAE,SAAS,GAAG,OAAO,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAID,cAAM,mBAAmB;IACvB,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,EAAE,CAAoB;;YAUhB,OAAO;IAiCR,QAAQ,CACnB,cAAc,EAAE,MAAM,EACtB,SAAS,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,GAAG,gBAAgB,GAAG,WAAW,CAAC,GAClE,OAAO,CAAC,MAAM,CAAC;IA0CL,uBAAuB,CAClC,cAAc,EAAE,MAAM,EACtB,KAAK,GAAE,MAAyB,GAC/B,OAAO,CAAC,WAAW,EAAE,CAAC;IAmCZ,sBAAsB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAiC5D,wBAAwB;CAkDvC;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../data/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,MAAM,CAAA;AAE/B,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAcvE;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAKzE"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface Credential {
|
|
2
|
+
label: string;
|
|
3
|
+
type: CredentialType;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export interface EncryptedData {
|
|
7
|
+
encryptedValue: string;
|
|
8
|
+
iv: string;
|
|
9
|
+
salt: string;
|
|
10
|
+
}
|
|
11
|
+
export type CredentialType = 'connection' | 'llm';
|
|
12
|
+
export declare const DEFAULT_PBKDF2_ITERATIONS = 250000;
|
|
13
|
+
export declare const SALT_LENGTH_BYTES = 16;
|
|
14
|
+
export declare const IV_LENGTH_BYTES = 12;
|
|
15
|
+
export declare const CREDENTIAL_PREFIX = "trilogy_studio_";
|
|
16
|
+
export declare function arrayBufferToBase64(buffer: ArrayBuffer): string;
|
|
17
|
+
export declare function base64ToArrayBuffer(base64: string): Uint8Array;
|
|
18
|
+
export declare class CredentialError extends Error {
|
|
19
|
+
cause?: unknown;
|
|
20
|
+
constructor(message: string, cause?: unknown);
|
|
21
|
+
}
|
|
22
|
+
export declare class DecryptionError extends CredentialError {
|
|
23
|
+
constructor(message?: string, cause?: unknown);
|
|
24
|
+
}
|
|
25
|
+
export interface CredentialManagerOptions {
|
|
26
|
+
pbkdf2Iterations?: number;
|
|
27
|
+
credentialPrefix?: string;
|
|
28
|
+
useCredentialManagementApi?: boolean;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=credentialHelpers.d.ts.map
|