@trilogy-data/trilogy-studio-components 0.1.4 → 0.1.6
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-CIwitCJr.js → ChatCreatorModal-D32gycfo.js} +1 -1
- package/dist/{Dashboard-D3jI63BM.js → Dashboard-BEpWQ_lG.js} +3 -3
- package/dist/{DashboardCreatorInline-BVr9jK0d.js → DashboardCreatorInline-B-fIUNyK.js} +1 -1
- package/dist/{DashboardMobile-CZfQYJND.js → DashboardMobile-DtUbR8cj.js} +18 -18
- package/dist/{LLMConnectionList-1HRJp3QF.js → LLMConnectionList-C6eBeD7-.js} +115 -115
- package/dist/{LLMView-CSLjYSdW.js → LLMView-ButHJ6fv.js} +9 -9
- package/dist/Manager-CHg0otBl.js +4 -0
- package/dist/ResultComponent-C-FIo-Rd.js +271 -0
- package/dist/{Sidebar-CLZWmBSc.js → Sidebar-0UcM4kHc.js} +3 -3
- package/dist/{TutorialPage-DC3pNBJ-.js → TutorialPage-CA7L1ghn.js} +4 -4
- package/dist/{WelcomePage-CzoMUeo0.js → WelcomePage-BaVZ5Xlm.js} +5 -5
- package/dist/chats/chat.d.ts +11 -3
- package/dist/chats/chat.d.ts.map +1 -1
- package/dist/components/SimpleEditor.vue.d.ts.map +1 -1
- package/dist/components/StatusIcon.vue.d.ts +1 -1
- package/dist/components/StatusIcon.vue.d.ts.map +1 -1
- package/dist/components/VegaLiteChart.vue.d.ts +1 -1
- package/dist/components/VegaLiteChart.vue.d.ts.map +1 -1
- package/dist/components/dashboard/DashboardChart.vue.d.ts +1 -1
- package/dist/components/dashboard/DashboardHeader.vue.d.ts +2 -2
- package/dist/components/editor/Editor.vue.d.ts +72 -0
- package/dist/components/editor/Editor.vue.d.ts.map +1 -1
- package/dist/components/editor/ResultComponent.vue.d.ts +3880 -385
- package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -1
- package/dist/components/editor/Results.vue.d.ts +33 -15
- package/dist/components/editor/Results.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedBrowser.vue.d.ts +15 -3
- package/dist/components/layout/TabbedBrowser.vue.d.ts.map +1 -1
- package/dist/components/llm/ChatArtifact.vue.d.ts +2 -2
- package/dist/components/llm/LLMChat.vue.d.ts +101 -30
- package/dist/components/llm/LLMChat.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMChatSplitView.vue.d.ts +572 -122
- package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -1
- package/dist/components/llm/LLMEditorRefinement.vue.d.ts +2074 -0
- package/dist/components/llm/LLMEditorRefinement.vue.d.ts.map +1 -0
- package/dist/components/llm/LLMValidationView.vue.d.ts +20 -0
- package/dist/components/llm/LLMValidationView.vue.d.ts.map +1 -1
- package/dist/components/llm/index.d.ts +1 -1
- package/dist/components/llm/index.d.ts.map +1 -1
- package/dist/components/model/ModelCard.vue.d.ts +143 -0
- package/dist/components/model/ModelCard.vue.d.ts.map +1 -1
- package/dist/components/sidebar/ConnectionList.vue.d.ts +71 -0
- package/dist/components/sidebar/ConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/EditorList.vue.d.ts +71 -0
- package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts +4 -3
- package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts.map +1 -1
- package/dist/components/sidebar/LLMProviderIcon.vue.d.ts.map +1 -1
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts +3957 -321
- package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
- package/dist/composables/useChatWithTools.d.ts.map +1 -1
- package/dist/composables/useEditorRefinement.d.ts +60 -0
- package/dist/composables/useEditorRefinement.d.ts.map +1 -0
- package/dist/composables/useToolLoop.d.ts +41 -0
- package/dist/composables/useToolLoop.d.ts.map +1 -0
- package/dist/{cssMode-BkaQoZFt.js → cssMode-Cr6wkL9u.js} +1 -1
- package/dist/dashboards/helpers.d.ts +1 -0
- package/dist/dashboards/helpers.d.ts.map +1 -1
- package/dist/data/githubStorage.d.ts.map +1 -1
- package/dist/data/localStorage.d.ts.map +1 -1
- package/dist/editors/editor.d.ts +33 -4
- package/dist/editors/editor.d.ts.map +1 -1
- package/dist/editors/results.d.ts.map +1 -1
- package/dist/{freemarker2-CNS10-fC.js → freemarker2-D2TXF0Ei.js} +1 -1
- package/dist/{handlebars-p2RiA3nK.js → handlebars-Dw7G8Qh-.js} +1 -1
- package/dist/{html-DPuxm26R.js → html-CTm9WAqj.js} +1 -1
- package/dist/{htmlMode-n-1DOFL9.js → htmlMode-CSGJkkDk.js} +1 -1
- package/dist/{javascript-DZ2T7Nqs.js → javascript-CrRL3IGx.js} +1 -1
- package/dist/{jsonMode-i7Kirheh.js → jsonMode-DneC7Bpk.js} +1 -1
- package/dist/{liquid-hX1l2fnN.js → liquid-CqZwZGDq.js} +1 -1
- package/dist/llm/anthropic.d.ts +28 -0
- package/dist/llm/anthropic.d.ts.map +1 -1
- package/dist/llm/base.d.ts +31 -2
- package/dist/llm/base.d.ts.map +1 -1
- package/dist/llm/chatAgentPrompt.d.ts +65 -78
- package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
- package/dist/llm/chatHelpers.d.ts.map +1 -1
- package/dist/llm/consts.d.ts +1 -1
- package/dist/llm/data/constants.d.ts +1 -1
- package/dist/llm/data/constants.d.ts.map +1 -1
- package/dist/llm/data/prompts.d.ts.map +1 -1
- package/dist/llm/editorRefinementToolExecutor.d.ts +67 -0
- package/dist/llm/editorRefinementToolExecutor.d.ts.map +1 -0
- package/dist/llm/editorRefinementTools.d.ts +185 -0
- package/dist/llm/editorRefinementTools.d.ts.map +1 -0
- package/dist/llm/googlev2.d.ts +29 -1
- package/dist/llm/googlev2.d.ts.map +1 -1
- package/dist/llm/index.d.ts +7 -3
- package/dist/llm/index.d.ts.map +1 -1
- package/dist/llm/models.d.ts +1 -7
- package/dist/llm/models.d.ts.map +1 -1
- package/dist/llm/openai.d.ts +41 -0
- package/dist/llm/openai.d.ts.map +1 -0
- package/dist/llm/openrouter.d.ts +132 -0
- package/dist/llm/openrouter.d.ts.map +1 -0
- package/dist/llm/sharedToolSchemas.d.ts +93 -0
- package/dist/llm/sharedToolSchemas.d.ts.map +1 -0
- package/dist/llm/toolLoopCore.d.ts +67 -0
- package/dist/llm/toolLoopCore.d.ts.map +1 -0
- package/dist/llm/utils.d.ts +5 -1
- package/dist/llm/utils.d.ts.map +1 -1
- package/dist/{main-Dd5lVGEz.js → main-BmoSbE_9.js} +36019 -34523
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/dist/main.umd.cjs +667 -606
- package/dist/{mdx-Cd5SqFY2.js → mdx-DtmV7PmJ.js} +1 -1
- package/dist/{python-B4N2TTBz.js → python-whlFbKu_.js} +1 -1
- package/dist/{razor-VmL1UHQI.js → razor-Dt3uTt_N.js} +1 -1
- package/dist/stores/Manager.vue.d.ts.map +1 -1
- package/dist/stores/chatStore.d.ts +4 -0
- package/dist/stores/chatStore.d.ts.map +1 -1
- package/dist/stores/editorStore.d.ts +119 -3
- package/dist/stores/editorStore.d.ts.map +1 -1
- package/dist/stores/llmStore.d.ts.map +1 -1
- package/dist/{tsMode-COLogGl9.js → tsMode-C88WO3kn.js} +1 -1
- package/dist/{typescript-CvklvdUQ.js → typescript-B6Ztla9f.js} +1 -1
- package/dist/{useDashboard-DwNI2E0x.js → useDashboard-JIHdMnMv.js} +136 -136
- package/dist/views/LLMView.vue.d.ts +2587 -513
- package/dist/views/LLMView.vue.d.ts.map +1 -1
- package/dist/views/ModelView.vue.d.ts +286 -0
- package/dist/views/ModelView.vue.d.ts.map +1 -1
- package/dist/views/TutorialPage.vue.d.ts +9587 -2029
- package/dist/views/TutorialPage.vue.d.ts.map +1 -1
- package/dist/{xml-D_weTR40.js → xml-D9x11trr.js} +1 -1
- package/dist/{yaml-BKP5OwFJ.js → yaml-AiXPOTHt.js} +1 -1
- package/package.json +1 -1
- package/dist/Manager-DZQXeAg1.js +0 -4
- package/dist/ResultComponent-JonPxGw9.js +0 -155
- package/dist/components/llm/LLMChatRefinement.vue.d.ts +0 -135
- package/dist/components/llm/LLMChatRefinement.vue.d.ts.map +0 -1
- package/dist/llm/mistral.d.ts +0 -12
- package/dist/llm/mistral.d.ts.map +0 -1
- package/dist/llm/openAI.d.ts +0 -13
- package/dist/llm/openAI.d.ts.map +0 -1
|
@@ -12,25 +12,63 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
12
12
|
editors: Record<string, import('../../editors').Editor>;
|
|
13
13
|
activeEditorName: string;
|
|
14
14
|
activeEditorId: string;
|
|
15
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
15
16
|
}, {
|
|
16
17
|
editorList: (state: {
|
|
17
18
|
editors: Record<string, import('../../editors').Editor>;
|
|
18
19
|
activeEditorName: string;
|
|
19
20
|
activeEditorId: string;
|
|
21
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
20
22
|
} & import('pinia').PiniaCustomStateProperties<{
|
|
21
23
|
editors: Record<string, import('../../editors').Editor>;
|
|
22
24
|
activeEditorName: string;
|
|
23
25
|
activeEditorId: string;
|
|
26
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
24
27
|
}>) => import('../../editors').Editor[];
|
|
25
28
|
unsavedEditors: (state: {
|
|
26
29
|
editors: Record<string, import('../../editors').Editor>;
|
|
27
30
|
activeEditorName: string;
|
|
28
31
|
activeEditorId: string;
|
|
32
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
29
33
|
} & import('pinia').PiniaCustomStateProperties<{
|
|
30
34
|
editors: Record<string, import('../../editors').Editor>;
|
|
31
35
|
activeEditorName: string;
|
|
32
36
|
activeEditorId: string;
|
|
37
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
33
38
|
}>) => number;
|
|
39
|
+
getRefinementExecution: (state: {
|
|
40
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
41
|
+
activeEditorName: string;
|
|
42
|
+
activeEditorId: string;
|
|
43
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
44
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
45
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
46
|
+
activeEditorName: string;
|
|
47
|
+
activeEditorId: string;
|
|
48
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
49
|
+
}>) => (editorId: string) => import('../../stores/editorStore').RefinementExecution | null;
|
|
50
|
+
isRefinementExecuting: (state: {
|
|
51
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
52
|
+
activeEditorName: string;
|
|
53
|
+
activeEditorId: string;
|
|
54
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
55
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
56
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
57
|
+
activeEditorName: string;
|
|
58
|
+
activeEditorId: string;
|
|
59
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
60
|
+
}>) => (editorId: string) => boolean;
|
|
61
|
+
getRefinementActiveToolName: (state: {
|
|
62
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
63
|
+
activeEditorName: string;
|
|
64
|
+
activeEditorId: string;
|
|
65
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
66
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
67
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
68
|
+
activeEditorName: string;
|
|
69
|
+
activeEditorId: string;
|
|
70
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
71
|
+
}>) => (editorId: string) => string;
|
|
34
72
|
}, {
|
|
35
73
|
newEditor(name: string, type: "trilogy" | "sql" | "preql", connection: string, contents: string | undefined): import('../../editors').Editor;
|
|
36
74
|
addEditor(editor: import('../../editors').Editor): void;
|
|
@@ -45,6 +83,39 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
45
83
|
setEditorContents(id: string, contents: string): void;
|
|
46
84
|
setEditorResults(id: string, results: import('../../editors/results').Results): void;
|
|
47
85
|
getCurrentEditorAutocomplete(word: string): import('../../stores/resolver').CompletionItem[];
|
|
86
|
+
startRefinementSession(editorId: string, options?: {
|
|
87
|
+
selectedText?: string;
|
|
88
|
+
selectionRange?: {
|
|
89
|
+
start: number;
|
|
90
|
+
end: number;
|
|
91
|
+
};
|
|
92
|
+
}): void;
|
|
93
|
+
updateRefinementSession(editorId: string, updates: Partial<import('../../editors/editor').EditorRefinementSession>): void;
|
|
94
|
+
addRefinementMessage(editorId: string, message: import('../llm').ChatMessage): void;
|
|
95
|
+
addRefinementArtifact(editorId: string, artifact: import('../llm').ChatArtifactType): void;
|
|
96
|
+
clearRefinementSession(editorId: string): void;
|
|
97
|
+
startRefinementExecution(editorId: string): void;
|
|
98
|
+
setRefinementActiveToolName(editorId: string, toolName: string): void;
|
|
99
|
+
completeRefinementExecution(editorId: string, error?: string): void;
|
|
100
|
+
stopRefinementExecution(editorId: string): void;
|
|
101
|
+
executeRefinementMessage(editorId: string, message: string, deps: import('../../stores/editorStore').RefinementExecutionDependencies, options?: {
|
|
102
|
+
onContentChange?: (content: string, replaceSelection?: boolean) => void;
|
|
103
|
+
onChartConfigChange?: (config: import('../../editors/results').ChartConfig) => void;
|
|
104
|
+
onFinish?: (message?: string) => void;
|
|
105
|
+
onRunActiveEditorQuery?: () => Promise<import('../../llm/editorRefinementToolExecutor').QueryExecutionResult>;
|
|
106
|
+
}): Promise<{
|
|
107
|
+
terminated: boolean;
|
|
108
|
+
finalMessage?: string;
|
|
109
|
+
stopped?: boolean;
|
|
110
|
+
}>;
|
|
111
|
+
discardRefinement(editorId: string, callbacks?: {
|
|
112
|
+
onContentChange?: (content: string) => void;
|
|
113
|
+
onChartConfigChange?: (config: import('../../editors/results').ChartConfig) => void;
|
|
114
|
+
onDiscard?: () => void;
|
|
115
|
+
}): void;
|
|
116
|
+
acceptRefinement(editorId: string, callbacks?: {
|
|
117
|
+
onFinish?: (message?: string) => void;
|
|
118
|
+
}): void;
|
|
48
119
|
}>;
|
|
49
120
|
runQuery: () => void;
|
|
50
121
|
currentIndex: import('vue').Ref<number, number>;
|
|
@@ -197,25 +268,63 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
197
268
|
editors: Record<string, import('../../editors').Editor>;
|
|
198
269
|
activeEditorName: string;
|
|
199
270
|
activeEditorId: string;
|
|
271
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
200
272
|
}, {
|
|
201
273
|
editorList: (state: {
|
|
202
274
|
editors: Record<string, import('../../editors').Editor>;
|
|
203
275
|
activeEditorName: string;
|
|
204
276
|
activeEditorId: string;
|
|
277
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
205
278
|
} & import('pinia').PiniaCustomStateProperties<{
|
|
206
279
|
editors: Record<string, import('../../editors').Editor>;
|
|
207
280
|
activeEditorName: string;
|
|
208
281
|
activeEditorId: string;
|
|
282
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
209
283
|
}>) => import('../../editors').Editor[];
|
|
210
284
|
unsavedEditors: (state: {
|
|
211
285
|
editors: Record<string, import('../../editors').Editor>;
|
|
212
286
|
activeEditorName: string;
|
|
213
287
|
activeEditorId: string;
|
|
288
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
214
289
|
} & import('pinia').PiniaCustomStateProperties<{
|
|
215
290
|
editors: Record<string, import('../../editors').Editor>;
|
|
216
291
|
activeEditorName: string;
|
|
217
292
|
activeEditorId: string;
|
|
293
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
218
294
|
}>) => number;
|
|
295
|
+
getRefinementExecution: (state: {
|
|
296
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
297
|
+
activeEditorName: string;
|
|
298
|
+
activeEditorId: string;
|
|
299
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
300
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
301
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
302
|
+
activeEditorName: string;
|
|
303
|
+
activeEditorId: string;
|
|
304
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
305
|
+
}>) => (editorId: string) => import('../../stores/editorStore').RefinementExecution | null;
|
|
306
|
+
isRefinementExecuting: (state: {
|
|
307
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
308
|
+
activeEditorName: string;
|
|
309
|
+
activeEditorId: string;
|
|
310
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
311
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
312
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
313
|
+
activeEditorName: string;
|
|
314
|
+
activeEditorId: string;
|
|
315
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
316
|
+
}>) => (editorId: string) => boolean;
|
|
317
|
+
getRefinementActiveToolName: (state: {
|
|
318
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
319
|
+
activeEditorName: string;
|
|
320
|
+
activeEditorId: string;
|
|
321
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
322
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
323
|
+
editors: Record<string, import('../../editors').Editor>;
|
|
324
|
+
activeEditorName: string;
|
|
325
|
+
activeEditorId: string;
|
|
326
|
+
refinementExecutions: Record<string, import('../../stores/editorStore').RefinementExecution>;
|
|
327
|
+
}>) => (editorId: string) => string;
|
|
219
328
|
}, {
|
|
220
329
|
newEditor(name: string, type: "trilogy" | "sql" | "preql", connection: string, contents: string | undefined): import('../../editors').Editor;
|
|
221
330
|
addEditor(editor: import('../../editors').Editor): void;
|
|
@@ -230,6 +339,39 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
230
339
|
setEditorContents(id: string, contents: string): void;
|
|
231
340
|
setEditorResults(id: string, results: import('../../editors/results').Results): void;
|
|
232
341
|
getCurrentEditorAutocomplete(word: string): import('../../stores/resolver').CompletionItem[];
|
|
342
|
+
startRefinementSession(editorId: string, options?: {
|
|
343
|
+
selectedText?: string;
|
|
344
|
+
selectionRange?: {
|
|
345
|
+
start: number;
|
|
346
|
+
end: number;
|
|
347
|
+
};
|
|
348
|
+
}): void;
|
|
349
|
+
updateRefinementSession(editorId: string, updates: Partial<import('../../editors/editor').EditorRefinementSession>): void;
|
|
350
|
+
addRefinementMessage(editorId: string, message: import('../llm').ChatMessage): void;
|
|
351
|
+
addRefinementArtifact(editorId: string, artifact: import('../llm').ChatArtifactType): void;
|
|
352
|
+
clearRefinementSession(editorId: string): void;
|
|
353
|
+
startRefinementExecution(editorId: string): void;
|
|
354
|
+
setRefinementActiveToolName(editorId: string, toolName: string): void;
|
|
355
|
+
completeRefinementExecution(editorId: string, error?: string): void;
|
|
356
|
+
stopRefinementExecution(editorId: string): void;
|
|
357
|
+
executeRefinementMessage(editorId: string, message: string, deps: import('../../stores/editorStore').RefinementExecutionDependencies, options?: {
|
|
358
|
+
onContentChange?: (content: string, replaceSelection?: boolean) => void;
|
|
359
|
+
onChartConfigChange?: (config: import('../../editors/results').ChartConfig) => void;
|
|
360
|
+
onFinish?: (message?: string) => void;
|
|
361
|
+
onRunActiveEditorQuery?: () => Promise<import('../../llm/editorRefinementToolExecutor').QueryExecutionResult>;
|
|
362
|
+
}): Promise<{
|
|
363
|
+
terminated: boolean;
|
|
364
|
+
finalMessage?: string;
|
|
365
|
+
stopped?: boolean;
|
|
366
|
+
}>;
|
|
367
|
+
discardRefinement(editorId: string, callbacks?: {
|
|
368
|
+
onContentChange?: (content: string) => void;
|
|
369
|
+
onChartConfigChange?: (config: import('../../editors/results').ChartConfig) => void;
|
|
370
|
+
onDiscard?: () => void;
|
|
371
|
+
}): void;
|
|
372
|
+
acceptRefinement(editorId: string, callbacks?: {
|
|
373
|
+
onFinish?: (message?: string) => void;
|
|
374
|
+
}): void;
|
|
233
375
|
}>;
|
|
234
376
|
trilogyResolver: import('../../stores').TrilogyResolver;
|
|
235
377
|
EditorTag: typeof import('../../editors').EditorTag;
|
|
@@ -391,6 +533,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
391
533
|
drilldownQuery(remove: string, add: string[], filter: string): Promise<void>;
|
|
392
534
|
runQuery(): Promise<any>;
|
|
393
535
|
handleLLMTrigger(): Promise<void>;
|
|
536
|
+
openLLMRefinement(): void;
|
|
394
537
|
generateLLMQuerySQL(): Promise<void>;
|
|
395
538
|
generateLLMQuery(): Promise<void>;
|
|
396
539
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("save-editors" | "save-models" | "query-started" | "query-finished")[], "save-editors" | "save-models" | "query-started" | "query-finished", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -882,6 +1025,14 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
882
1025
|
type: NumberConstructor;
|
|
883
1026
|
default: number;
|
|
884
1027
|
};
|
|
1028
|
+
canOpenChat: {
|
|
1029
|
+
type: BooleanConstructor;
|
|
1030
|
+
default: boolean;
|
|
1031
|
+
};
|
|
1032
|
+
runEditorQuery: {
|
|
1033
|
+
type: import('vue').PropType<() => Promise<import('../../llm/editorRefinementToolExecutor').QueryExecutionResult | undefined>>;
|
|
1034
|
+
default: undefined;
|
|
1035
|
+
};
|
|
885
1036
|
}>, {
|
|
886
1037
|
connectionStore: import('pinia').Store<"connections", {
|
|
887
1038
|
connections: Record<string, import('../../connections').Connection>;
|
|
@@ -905,178 +1056,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
905
1056
|
getConnectionSources(name: string): import('../../stores').ContentInput[];
|
|
906
1057
|
newConnection(name: string, type: string, options: Record<string, any>): import('../../connections').Connection;
|
|
907
1058
|
}>;
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
handleDrilldown(data: any): void;
|
|
911
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
912
|
-
editorData: {
|
|
913
|
-
type: import('vue').PropType<import('../../editors').Editor>;
|
|
914
|
-
required: true;
|
|
915
|
-
};
|
|
916
|
-
containerHeight: {
|
|
917
|
-
type: NumberConstructor;
|
|
918
|
-
default: number;
|
|
919
|
-
};
|
|
920
|
-
}>> & Readonly<{}>, {
|
|
921
|
-
containerHeight: number;
|
|
922
|
-
}, {}, {
|
|
923
|
-
LoadingView: import('vue').DefineComponent<{
|
|
924
|
-
cancel?: ((() => void) | null) | undefined;
|
|
925
|
-
text: string;
|
|
926
|
-
startTime: number | null;
|
|
927
|
-
}, {
|
|
928
|
-
containerRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
929
|
-
containerHeight: import('vue').Ref<number, number>;
|
|
930
|
-
handleCancel: () => void;
|
|
931
|
-
trilogyIcon: string;
|
|
932
|
-
elapsedTime: import('vue').Ref<string, string>;
|
|
933
|
-
isCompact: import('vue').ComputedRef<boolean>;
|
|
934
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
935
|
-
cancel?: ((() => void) | null) | undefined;
|
|
936
|
-
text: string;
|
|
937
|
-
startTime: number | null;
|
|
938
|
-
}> & Readonly<{}>, {
|
|
939
|
-
text: string;
|
|
940
|
-
startTime: number | null;
|
|
941
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
942
|
-
ErrorMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
943
|
-
type: {
|
|
944
|
-
type: () => "error" | "information";
|
|
945
|
-
default: string;
|
|
946
|
-
validator: (value: string) => boolean;
|
|
947
|
-
};
|
|
948
|
-
}>, {}, {}, {
|
|
949
|
-
messageClass(): string;
|
|
950
|
-
iconEmoji(): string;
|
|
951
|
-
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
952
|
-
type: {
|
|
953
|
-
type: () => "error" | "information";
|
|
954
|
-
default: string;
|
|
955
|
-
validator: (value: string) => boolean;
|
|
956
|
-
};
|
|
957
|
-
}>> & Readonly<{}>, {
|
|
958
|
-
type: "error" | "information";
|
|
959
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
960
|
-
LoadingButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
961
|
-
action: {
|
|
962
|
-
type: FunctionConstructor;
|
|
963
|
-
required: true;
|
|
964
|
-
};
|
|
965
|
-
useDefaultStyle: {
|
|
966
|
-
type: BooleanConstructor;
|
|
967
|
-
default: boolean;
|
|
968
|
-
};
|
|
969
|
-
keyCombination: {
|
|
970
|
-
type: {
|
|
971
|
-
(arrayLength: number): string[];
|
|
972
|
-
(...items: string[]): string[];
|
|
973
|
-
new (arrayLength: number): string[];
|
|
974
|
-
new (...items: string[]): string[];
|
|
975
|
-
isArray(arg: any): arg is any[];
|
|
976
|
-
readonly prototype: any[];
|
|
977
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
978
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
979
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
980
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
981
|
-
of<T>(...items: T[]): T[];
|
|
982
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
983
|
-
};
|
|
984
|
-
default: null;
|
|
985
|
-
};
|
|
986
|
-
disabled: {
|
|
987
|
-
type: BooleanConstructor;
|
|
988
|
-
default: boolean;
|
|
989
|
-
};
|
|
990
|
-
testId: {
|
|
991
|
-
type: StringConstructor;
|
|
992
|
-
default: string;
|
|
993
|
-
};
|
|
994
|
-
}>, {
|
|
995
|
-
errorMessage: import('vue').Ref<string | null, string | null>;
|
|
996
|
-
isLoading: import('vue').Ref<boolean, boolean>;
|
|
997
|
-
status: import('vue').Ref<"success" | "error" | null, "success" | "error" | null>;
|
|
998
|
-
handleClick: () => Promise<void>;
|
|
999
|
-
handleKeydown: (event: KeyboardEvent) => void;
|
|
1000
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1001
|
-
action: {
|
|
1002
|
-
type: FunctionConstructor;
|
|
1003
|
-
required: true;
|
|
1004
|
-
};
|
|
1005
|
-
useDefaultStyle: {
|
|
1006
|
-
type: BooleanConstructor;
|
|
1007
|
-
default: boolean;
|
|
1008
|
-
};
|
|
1009
|
-
keyCombination: {
|
|
1010
|
-
type: {
|
|
1011
|
-
(arrayLength: number): string[];
|
|
1012
|
-
(...items: string[]): string[];
|
|
1013
|
-
new (arrayLength: number): string[];
|
|
1014
|
-
new (...items: string[]): string[];
|
|
1015
|
-
isArray(arg: any): arg is any[];
|
|
1016
|
-
readonly prototype: any[];
|
|
1017
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1018
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
1019
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
1020
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
1021
|
-
of<T>(...items: T[]): T[];
|
|
1022
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1023
|
-
};
|
|
1024
|
-
default: null;
|
|
1025
|
-
};
|
|
1026
|
-
disabled: {
|
|
1027
|
-
type: BooleanConstructor;
|
|
1028
|
-
default: boolean;
|
|
1029
|
-
};
|
|
1030
|
-
testId: {
|
|
1031
|
-
type: StringConstructor;
|
|
1032
|
-
default: string;
|
|
1033
|
-
};
|
|
1034
|
-
}>> & Readonly<{}>, {
|
|
1035
|
-
disabled: boolean;
|
|
1036
|
-
useDefaultStyle: boolean;
|
|
1037
|
-
keyCombination: string[];
|
|
1038
|
-
testId: string;
|
|
1039
|
-
}, {}, {
|
|
1040
|
-
Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1041
|
-
content: {
|
|
1042
|
-
type: StringConstructor;
|
|
1043
|
-
required: true;
|
|
1044
|
-
};
|
|
1045
|
-
position: {
|
|
1046
|
-
type: StringConstructor;
|
|
1047
|
-
default: string;
|
|
1048
|
-
};
|
|
1049
|
-
inline: {
|
|
1050
|
-
type: BooleanConstructor;
|
|
1051
|
-
default: boolean;
|
|
1052
|
-
};
|
|
1053
|
-
}>, {}, {
|
|
1054
|
-
visible: boolean;
|
|
1055
|
-
hoverTimeout: ReturnType<typeof setTimeout> | null;
|
|
1056
|
-
}, {
|
|
1057
|
-
positionClass(): string;
|
|
1058
|
-
}, {
|
|
1059
|
-
showTooltip(): void;
|
|
1060
|
-
hideTooltip(): void;
|
|
1061
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1062
|
-
content: {
|
|
1063
|
-
type: StringConstructor;
|
|
1064
|
-
required: true;
|
|
1065
|
-
};
|
|
1066
|
-
position: {
|
|
1067
|
-
type: StringConstructor;
|
|
1068
|
-
default: string;
|
|
1069
|
-
};
|
|
1070
|
-
inline: {
|
|
1071
|
-
type: BooleanConstructor;
|
|
1072
|
-
default: boolean;
|
|
1073
|
-
};
|
|
1074
|
-
}>> & Readonly<{}>, {
|
|
1075
|
-
position: string;
|
|
1076
|
-
inline: boolean;
|
|
1077
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1078
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1079
|
-
ResultsContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1059
|
+
splitViewRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
1060
|
+
resultsContainerRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
1080
1061
|
type: {
|
|
1081
1062
|
type: StringConstructor;
|
|
1082
1063
|
required: true;
|
|
@@ -1098,16 +1079,26 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
1098
1079
|
required: false;
|
|
1099
1080
|
};
|
|
1100
1081
|
symbols: {
|
|
1101
|
-
type: import('vue').PropType<
|
|
1082
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
1102
1083
|
required: false;
|
|
1103
1084
|
};
|
|
1104
1085
|
containerHeight: NumberConstructor;
|
|
1105
1086
|
generatedSql: StringConstructor;
|
|
1087
|
+
trilogySource: StringConstructor;
|
|
1106
1088
|
defaultTab: {
|
|
1107
1089
|
type: StringConstructor;
|
|
1108
1090
|
required: false;
|
|
1109
1091
|
default: null;
|
|
1110
1092
|
};
|
|
1093
|
+
showChatButton: {
|
|
1094
|
+
type: BooleanConstructor;
|
|
1095
|
+
default: boolean;
|
|
1096
|
+
};
|
|
1097
|
+
}>> & Readonly<{
|
|
1098
|
+
"onDrilldown-click"?: ((...args: any[]) => any) | undefined;
|
|
1099
|
+
"onRefresh-click"?: ((...args: any[]) => any) | undefined;
|
|
1100
|
+
"onConfig-change"?: ((...args: any[]) => any) | undefined;
|
|
1101
|
+
"onOpen-chat"?: ((...args: any[]) => any) | undefined;
|
|
1111
1102
|
}>, {
|
|
1112
1103
|
codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
1113
1104
|
connectionStore: import('pinia').Store<"connections", {
|
|
@@ -1141,47 +1132,17 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
1141
1132
|
eligibleTabs(): string[];
|
|
1142
1133
|
displayTab(): string;
|
|
1143
1134
|
}, {
|
|
1135
|
+
switchToVisualizeTab(): void;
|
|
1144
1136
|
setTab(tab: string): void;
|
|
1145
1137
|
handleReconnect(): Promise<void>;
|
|
1146
1138
|
onChartChange(config: any): void;
|
|
1147
1139
|
activateDrilldown(e: import('../../events/display').DrillDownTriggerEvent): void;
|
|
1148
1140
|
submitDrilldown(selected: string[]): void;
|
|
1149
1141
|
handleLocalRefresh(): void;
|
|
1150
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
|
1151
|
-
type: {
|
|
1152
|
-
type: StringConstructor;
|
|
1153
|
-
required: true;
|
|
1154
|
-
};
|
|
1155
|
-
results: {
|
|
1156
|
-
type: typeof import('../../editors/results').Results;
|
|
1157
|
-
required: true;
|
|
1158
|
-
};
|
|
1159
|
-
chartConfig: {
|
|
1160
|
-
type: import('vue').PropType<import('../../editors/results').ChartConfig | null>;
|
|
1161
|
-
required: false;
|
|
1162
|
-
};
|
|
1163
|
-
error: {
|
|
1164
|
-
type: StringConstructor;
|
|
1165
|
-
required: false;
|
|
1166
|
-
};
|
|
1167
|
-
connection: {
|
|
1168
|
-
type: StringConstructor;
|
|
1169
|
-
required: false;
|
|
1170
|
-
};
|
|
1171
|
-
symbols: {
|
|
1172
|
-
type: import('vue').PropType<any>;
|
|
1173
|
-
required: false;
|
|
1174
|
-
};
|
|
1175
|
-
containerHeight: NumberConstructor;
|
|
1176
|
-
generatedSql: StringConstructor;
|
|
1177
|
-
defaultTab: {
|
|
1178
|
-
type: StringConstructor;
|
|
1179
|
-
required: false;
|
|
1180
|
-
default: null;
|
|
1181
|
-
};
|
|
1182
|
-
}>> & Readonly<{}>, {
|
|
1142
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("drilldown-click" | "refresh-click" | "config-change" | "open-chat")[], import('vue').PublicProps, {
|
|
1183
1143
|
defaultTab: string;
|
|
1184
|
-
|
|
1144
|
+
showChatButton: boolean;
|
|
1145
|
+
}, true, {}, {}, {
|
|
1185
1146
|
DataTable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1186
1147
|
headers: {
|
|
1187
1148
|
type: {
|
|
@@ -1471,9 +1432,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
1471
1432
|
default: boolean;
|
|
1472
1433
|
};
|
|
1473
1434
|
}>> & Readonly<{}>, {
|
|
1435
|
+
onChartConfigChange: (config: import('../../editors/results').ChartConfig) => void;
|
|
1474
1436
|
initialConfig: import('../../editors/results').ChartConfig | null | undefined;
|
|
1475
1437
|
showControls: boolean;
|
|
1476
|
-
onChartConfigChange: (config: import('../../editors/results').ChartConfig) => void;
|
|
1477
1438
|
chartSelection: Object[];
|
|
1478
1439
|
chartTitle: string;
|
|
1479
1440
|
drilldownActive: boolean;
|
|
@@ -1821,147 +1782,3822 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
1821
1782
|
"onSelect-dimension"?: ((...args: any[]) => any) | undefined;
|
|
1822
1783
|
"onRemove-dimension"?: ((...args: any[]) => any) | undefined;
|
|
1823
1784
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
}, {
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
LLMChatRefinement: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1836
|
-
messages: {
|
|
1837
|
-
type: import('vue').PropType<import('../../llm').LLMMessage[]>;
|
|
1838
|
-
default: () => never[];
|
|
1785
|
+
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1786
|
+
P: {};
|
|
1787
|
+
B: {};
|
|
1788
|
+
D: {};
|
|
1789
|
+
C: {};
|
|
1790
|
+
M: {};
|
|
1791
|
+
Defaults: {};
|
|
1792
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
1793
|
+
type: {
|
|
1794
|
+
type: StringConstructor;
|
|
1795
|
+
required: true;
|
|
1839
1796
|
};
|
|
1840
|
-
|
|
1841
|
-
type:
|
|
1842
|
-
|
|
1797
|
+
results: {
|
|
1798
|
+
type: typeof import('../../editors/results').Results;
|
|
1799
|
+
required: true;
|
|
1843
1800
|
};
|
|
1844
|
-
|
|
1845
|
-
type:
|
|
1846
|
-
|
|
1801
|
+
chartConfig: {
|
|
1802
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | null>;
|
|
1803
|
+
required: false;
|
|
1847
1804
|
};
|
|
1848
|
-
|
|
1849
|
-
type:
|
|
1850
|
-
|
|
1805
|
+
error: {
|
|
1806
|
+
type: StringConstructor;
|
|
1807
|
+
required: false;
|
|
1851
1808
|
};
|
|
1852
|
-
|
|
1853
|
-
type:
|
|
1854
|
-
|
|
1809
|
+
connection: {
|
|
1810
|
+
type: StringConstructor;
|
|
1811
|
+
required: false;
|
|
1855
1812
|
};
|
|
1856
|
-
|
|
1857
|
-
type:
|
|
1858
|
-
|
|
1813
|
+
symbols: {
|
|
1814
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
1815
|
+
required: false;
|
|
1859
1816
|
};
|
|
1860
|
-
|
|
1817
|
+
containerHeight: NumberConstructor;
|
|
1818
|
+
generatedSql: StringConstructor;
|
|
1819
|
+
trilogySource: StringConstructor;
|
|
1820
|
+
defaultTab: {
|
|
1861
1821
|
type: StringConstructor;
|
|
1862
1822
|
required: false;
|
|
1823
|
+
default: null;
|
|
1863
1824
|
};
|
|
1825
|
+
showChatButton: {
|
|
1826
|
+
type: BooleanConstructor;
|
|
1827
|
+
default: boolean;
|
|
1828
|
+
};
|
|
1829
|
+
}>> & Readonly<{
|
|
1830
|
+
"onDrilldown-click"?: ((...args: any[]) => any) | undefined;
|
|
1831
|
+
"onRefresh-click"?: ((...args: any[]) => any) | undefined;
|
|
1832
|
+
"onConfig-change"?: ((...args: any[]) => any) | undefined;
|
|
1833
|
+
"onOpen-chat"?: ((...args: any[]) => any) | undefined;
|
|
1864
1834
|
}>, {
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
}, {
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1835
|
+
codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
1836
|
+
connectionStore: import('pinia').Store<"connections", {
|
|
1837
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1838
|
+
}, {
|
|
1839
|
+
connectionList: (state: {
|
|
1840
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1841
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
1842
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1843
|
+
}>) => import('../../connections').Connection[];
|
|
1844
|
+
unsavedConnections: (state: {
|
|
1845
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1846
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
1847
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1848
|
+
}>) => number;
|
|
1849
|
+
}, {
|
|
1850
|
+
addConnection(connection: import('../../connections').Connection): import('../../connections').Connection;
|
|
1851
|
+
connectConnection(name: string): Promise<any>;
|
|
1852
|
+
resetConnection(name: string): Promise<any>;
|
|
1853
|
+
deleteConnection(name: string): void;
|
|
1854
|
+
connectionStateToStatus(connection: import('../../connections').Connection | null): "running" | "failed" | "disabled" | "connected";
|
|
1855
|
+
getConnectionSources(name: string): import('../../stores').ContentInput[];
|
|
1856
|
+
newConnection(name: string, type: string, options: Record<string, any>): import('../../connections').Connection;
|
|
1857
|
+
}>;
|
|
1858
|
+
}, {
|
|
1859
|
+
activeTab: string;
|
|
1860
|
+
activeDrilldown: import('../editor/Results.vue').Drilldown | null;
|
|
1861
|
+
TABS_HEIGHT: number;
|
|
1862
|
+
}, {
|
|
1863
|
+
tabContentHeight(): number;
|
|
1864
|
+
eligibleTabs(): string[];
|
|
1865
|
+
displayTab(): string;
|
|
1866
|
+
}, {
|
|
1867
|
+
switchToVisualizeTab(): void;
|
|
1868
|
+
setTab(tab: string): void;
|
|
1869
|
+
handleReconnect(): Promise<void>;
|
|
1870
|
+
onChartChange(config: any): void;
|
|
1871
|
+
activateDrilldown(e: import('../../events/display').DrillDownTriggerEvent): void;
|
|
1872
|
+
submitDrilldown(selected: string[]): void;
|
|
1873
|
+
handleLocalRefresh(): void;
|
|
1874
|
+
}, {
|
|
1875
|
+
defaultTab: string;
|
|
1876
|
+
showChatButton: boolean;
|
|
1877
|
+
}> | null, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
1878
|
+
type: {
|
|
1879
|
+
type: StringConstructor;
|
|
1880
|
+
required: true;
|
|
1896
1881
|
};
|
|
1897
|
-
|
|
1898
|
-
type:
|
|
1899
|
-
|
|
1882
|
+
results: {
|
|
1883
|
+
type: typeof import('../../editors/results').Results;
|
|
1884
|
+
required: true;
|
|
1900
1885
|
};
|
|
1901
|
-
|
|
1902
|
-
type:
|
|
1903
|
-
|
|
1886
|
+
chartConfig: {
|
|
1887
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | null>;
|
|
1888
|
+
required: false;
|
|
1904
1889
|
};
|
|
1905
|
-
|
|
1906
|
-
type:
|
|
1907
|
-
|
|
1890
|
+
error: {
|
|
1891
|
+
type: StringConstructor;
|
|
1892
|
+
required: false;
|
|
1908
1893
|
};
|
|
1909
|
-
|
|
1910
|
-
type:
|
|
1911
|
-
|
|
1894
|
+
connection: {
|
|
1895
|
+
type: StringConstructor;
|
|
1896
|
+
required: false;
|
|
1912
1897
|
};
|
|
1913
|
-
|
|
1914
|
-
type:
|
|
1915
|
-
|
|
1898
|
+
symbols: {
|
|
1899
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
1900
|
+
required: false;
|
|
1916
1901
|
};
|
|
1917
|
-
|
|
1902
|
+
containerHeight: NumberConstructor;
|
|
1903
|
+
generatedSql: StringConstructor;
|
|
1904
|
+
trilogySource: StringConstructor;
|
|
1905
|
+
defaultTab: {
|
|
1918
1906
|
type: StringConstructor;
|
|
1919
1907
|
required: false;
|
|
1908
|
+
default: null;
|
|
1920
1909
|
};
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1910
|
+
showChatButton: {
|
|
1911
|
+
type: BooleanConstructor;
|
|
1912
|
+
default: boolean;
|
|
1913
|
+
};
|
|
1914
|
+
}>> & Readonly<{
|
|
1915
|
+
"onDrilldown-click"?: ((...args: any[]) => any) | undefined;
|
|
1916
|
+
"onRefresh-click"?: ((...args: any[]) => any) | undefined;
|
|
1917
|
+
"onConfig-change"?: ((...args: any[]) => any) | undefined;
|
|
1918
|
+
"onOpen-chat"?: ((...args: any[]) => any) | undefined;
|
|
1919
|
+
}>, {
|
|
1920
|
+
codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
1921
|
+
connectionStore: import('pinia').Store<"connections", {
|
|
1922
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1923
|
+
}, {
|
|
1924
|
+
connectionList: (state: {
|
|
1925
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1926
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
1927
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1928
|
+
}>) => import('../../connections').Connection[];
|
|
1929
|
+
unsavedConnections: (state: {
|
|
1930
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1931
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
1932
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
1933
|
+
}>) => number;
|
|
1934
|
+
}, {
|
|
1935
|
+
addConnection(connection: import('../../connections').Connection): import('../../connections').Connection;
|
|
1936
|
+
connectConnection(name: string): Promise<any>;
|
|
1937
|
+
resetConnection(name: string): Promise<any>;
|
|
1938
|
+
deleteConnection(name: string): void;
|
|
1939
|
+
connectionStateToStatus(connection: import('../../connections').Connection | null): "running" | "failed" | "disabled" | "connected";
|
|
1940
|
+
getConnectionSources(name: string): import('../../stores').ContentInput[];
|
|
1941
|
+
newConnection(name: string, type: string, options: Record<string, any>): import('../../connections').Connection;
|
|
1942
|
+
}>;
|
|
1943
|
+
}, {
|
|
1944
|
+
activeTab: string;
|
|
1945
|
+
activeDrilldown: import('../editor/Results.vue').Drilldown | null;
|
|
1946
|
+
TABS_HEIGHT: number;
|
|
1947
|
+
}, {
|
|
1948
|
+
tabContentHeight(): number;
|
|
1949
|
+
eligibleTabs(): string[];
|
|
1950
|
+
displayTab(): string;
|
|
1951
|
+
}, {
|
|
1952
|
+
switchToVisualizeTab(): void;
|
|
1953
|
+
setTab(tab: string): void;
|
|
1954
|
+
handleReconnect(): Promise<void>;
|
|
1955
|
+
onChartChange(config: any): void;
|
|
1956
|
+
activateDrilldown(e: import('../../events/display').DrillDownTriggerEvent): void;
|
|
1957
|
+
submitDrilldown(selected: string[]): void;
|
|
1958
|
+
handleLocalRefresh(): void;
|
|
1959
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("drilldown-click" | "refresh-click" | "config-change" | "open-chat")[], import('vue').PublicProps, {
|
|
1960
|
+
defaultTab: string;
|
|
1961
|
+
showChatButton: boolean;
|
|
1962
|
+
}, true, {}, {}, {
|
|
1963
|
+
DataTable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1964
|
+
headers: {
|
|
1965
|
+
type: {
|
|
1966
|
+
new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
1967
|
+
new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
1968
|
+
readonly prototype: Map<any, any>;
|
|
1969
|
+
readonly [Symbol.species]: MapConstructor;
|
|
1970
|
+
};
|
|
1932
1971
|
required: true;
|
|
1933
1972
|
};
|
|
1934
|
-
|
|
1935
|
-
type: import('vue').PropType<
|
|
1936
|
-
|
|
1973
|
+
results: {
|
|
1974
|
+
type: import('vue').PropType<readonly import('../../editors/results').Row[]>;
|
|
1975
|
+
required: true;
|
|
1937
1976
|
};
|
|
1938
|
-
|
|
1977
|
+
containerHeight: NumberConstructor;
|
|
1978
|
+
cellClick: {
|
|
1939
1979
|
type: FunctionConstructor;
|
|
1940
|
-
|
|
1980
|
+
default: () => void;
|
|
1941
1981
|
};
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
copyCode: () => Promise<void>;
|
|
1946
|
-
copied: import('vue').Ref<boolean, boolean>;
|
|
1947
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "on-copy"[], "on-copy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1948
|
-
content: {
|
|
1949
|
-
type: StringConstructor;
|
|
1950
|
-
required: true;
|
|
1982
|
+
backgroundClick: {
|
|
1983
|
+
type: FunctionConstructor;
|
|
1984
|
+
default: () => void;
|
|
1951
1985
|
};
|
|
1952
|
-
|
|
1953
|
-
type:
|
|
1954
|
-
default:
|
|
1986
|
+
prettyPrint: {
|
|
1987
|
+
type: BooleanConstructor;
|
|
1988
|
+
default: boolean;
|
|
1955
1989
|
};
|
|
1956
|
-
|
|
1957
|
-
type:
|
|
1958
|
-
|
|
1990
|
+
fitParent: {
|
|
1991
|
+
type: BooleanConstructor;
|
|
1992
|
+
default: boolean;
|
|
1959
1993
|
};
|
|
1960
|
-
}>> & Readonly<{
|
|
1961
|
-
"onOn-copy"?: ((...args: any[]) => any) | undefined;
|
|
1962
1994
|
}>, {
|
|
1963
|
-
|
|
1964
|
-
|
|
1995
|
+
settingsStore: import('pinia').Store<"userSettings", {
|
|
1996
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
1997
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
1998
|
+
isLoading: boolean;
|
|
1999
|
+
hasChanges: boolean;
|
|
2000
|
+
hasLoaded: boolean;
|
|
2001
|
+
}, {
|
|
2002
|
+
getSettings: (state: {
|
|
2003
|
+
settings: {
|
|
2004
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2005
|
+
theme: "dark" | "light" | "";
|
|
2006
|
+
trilogyResolver: string;
|
|
2007
|
+
telemetryEnabled: boolean | null;
|
|
2008
|
+
tipsRead: string[];
|
|
2009
|
+
skipAllTips: boolean;
|
|
2010
|
+
};
|
|
2011
|
+
defaults: {
|
|
2012
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2013
|
+
theme: "dark" | "light" | "";
|
|
2014
|
+
trilogyResolver: string;
|
|
2015
|
+
telemetryEnabled: boolean | null;
|
|
2016
|
+
tipsRead: string[];
|
|
2017
|
+
skipAllTips: boolean;
|
|
2018
|
+
};
|
|
2019
|
+
isLoading: boolean;
|
|
2020
|
+
hasChanges: boolean;
|
|
2021
|
+
hasLoaded: boolean;
|
|
2022
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
2023
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
2024
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
2025
|
+
isLoading: boolean;
|
|
2026
|
+
hasChanges: boolean;
|
|
2027
|
+
hasLoaded: boolean;
|
|
2028
|
+
}>) => {
|
|
2029
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2030
|
+
theme: "dark" | "light" | "";
|
|
2031
|
+
trilogyResolver: string;
|
|
2032
|
+
telemetryEnabled: boolean | null;
|
|
2033
|
+
tipsRead: string[];
|
|
2034
|
+
skipAllTips: boolean;
|
|
2035
|
+
};
|
|
2036
|
+
getDefaults: (state: {
|
|
2037
|
+
settings: {
|
|
2038
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2039
|
+
theme: "dark" | "light" | "";
|
|
2040
|
+
trilogyResolver: string;
|
|
2041
|
+
telemetryEnabled: boolean | null;
|
|
2042
|
+
tipsRead: string[];
|
|
2043
|
+
skipAllTips: boolean;
|
|
2044
|
+
};
|
|
2045
|
+
defaults: {
|
|
2046
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2047
|
+
theme: "dark" | "light" | "";
|
|
2048
|
+
trilogyResolver: string;
|
|
2049
|
+
telemetryEnabled: boolean | null;
|
|
2050
|
+
tipsRead: string[];
|
|
2051
|
+
skipAllTips: boolean;
|
|
2052
|
+
};
|
|
2053
|
+
isLoading: boolean;
|
|
2054
|
+
hasChanges: boolean;
|
|
2055
|
+
hasLoaded: boolean;
|
|
2056
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
2057
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
2058
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
2059
|
+
isLoading: boolean;
|
|
2060
|
+
hasChanges: boolean;
|
|
2061
|
+
hasLoaded: boolean;
|
|
2062
|
+
}>) => {
|
|
2063
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2064
|
+
theme: "dark" | "light" | "";
|
|
2065
|
+
trilogyResolver: string;
|
|
2066
|
+
telemetryEnabled: boolean | null;
|
|
2067
|
+
tipsRead: string[];
|
|
2068
|
+
skipAllTips: boolean;
|
|
2069
|
+
};
|
|
2070
|
+
hasUnsavedChanges: (state: {
|
|
2071
|
+
settings: {
|
|
2072
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2073
|
+
theme: "dark" | "light" | "";
|
|
2074
|
+
trilogyResolver: string;
|
|
2075
|
+
telemetryEnabled: boolean | null;
|
|
2076
|
+
tipsRead: string[];
|
|
2077
|
+
skipAllTips: boolean;
|
|
2078
|
+
};
|
|
2079
|
+
defaults: {
|
|
2080
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2081
|
+
theme: "dark" | "light" | "";
|
|
2082
|
+
trilogyResolver: string;
|
|
2083
|
+
telemetryEnabled: boolean | null;
|
|
2084
|
+
tipsRead: string[];
|
|
2085
|
+
skipAllTips: boolean;
|
|
2086
|
+
};
|
|
2087
|
+
isLoading: boolean;
|
|
2088
|
+
hasChanges: boolean;
|
|
2089
|
+
hasLoaded: boolean;
|
|
2090
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
2091
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
2092
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
2093
|
+
isLoading: boolean;
|
|
2094
|
+
hasChanges: boolean;
|
|
2095
|
+
hasLoaded: boolean;
|
|
2096
|
+
}>) => boolean;
|
|
2097
|
+
}, {
|
|
2098
|
+
updateSetting<K extends keyof import('../../stores/userSettingsStore').UserSettings>(key: K, value: import('../../stores/userSettingsStore').UserSettings[K]): void;
|
|
2099
|
+
getUnreadTips(tips: import('../../data/tips').ModalItem[]): import('../../data/tips').ModalItem[];
|
|
2100
|
+
clearDismissedTips(): void;
|
|
2101
|
+
markTipRead(tipId: string): void;
|
|
2102
|
+
clearReadTips(): void;
|
|
2103
|
+
toggleTheme(): void;
|
|
2104
|
+
setHasChanges(value: boolean): void;
|
|
2105
|
+
updateSettings(newSettings: Partial<import('../../stores/userSettingsStore').UserSettings>): void;
|
|
2106
|
+
resetToDefaults(): void;
|
|
2107
|
+
saveSettings(): Promise<boolean>;
|
|
2108
|
+
loadSettings(): void;
|
|
2109
|
+
}>;
|
|
2110
|
+
currentTheme: import('vue').ComputedRef<"" | "dark" | "light">;
|
|
2111
|
+
}, {
|
|
2112
|
+
tabulator: import('vue').ShallowRef<Tabulator> | null;
|
|
2113
|
+
selectedCell: null;
|
|
2114
|
+
controlsVisible: boolean;
|
|
2115
|
+
}, {
|
|
2116
|
+
tableData(): readonly Readonly<Record<string, any>>[];
|
|
2117
|
+
tableColumns(): ColumnDefinition[];
|
|
2118
|
+
}, {
|
|
2119
|
+
copyToClipboard(): Promise<void>;
|
|
2120
|
+
downloadData(): void;
|
|
2121
|
+
showNotification(message: string, type: "success" | "error"): void;
|
|
2122
|
+
create(): void;
|
|
2123
|
+
updateTable(): void;
|
|
2124
|
+
updateTableTheme(): void;
|
|
2125
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2126
|
+
headers: {
|
|
2127
|
+
type: {
|
|
2128
|
+
new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
2129
|
+
new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
2130
|
+
readonly prototype: Map<any, any>;
|
|
2131
|
+
readonly [Symbol.species]: MapConstructor;
|
|
2132
|
+
};
|
|
2133
|
+
required: true;
|
|
2134
|
+
};
|
|
2135
|
+
results: {
|
|
2136
|
+
type: import('vue').PropType<readonly import('../../editors/results').Row[]>;
|
|
2137
|
+
required: true;
|
|
2138
|
+
};
|
|
2139
|
+
containerHeight: NumberConstructor;
|
|
2140
|
+
cellClick: {
|
|
2141
|
+
type: FunctionConstructor;
|
|
2142
|
+
default: () => void;
|
|
2143
|
+
};
|
|
2144
|
+
backgroundClick: {
|
|
2145
|
+
type: FunctionConstructor;
|
|
2146
|
+
default: () => void;
|
|
2147
|
+
};
|
|
2148
|
+
prettyPrint: {
|
|
2149
|
+
type: BooleanConstructor;
|
|
2150
|
+
default: boolean;
|
|
2151
|
+
};
|
|
2152
|
+
fitParent: {
|
|
2153
|
+
type: BooleanConstructor;
|
|
2154
|
+
default: boolean;
|
|
2155
|
+
};
|
|
2156
|
+
}>> & Readonly<{}>, {
|
|
2157
|
+
cellClick: Function;
|
|
2158
|
+
backgroundClick: Function;
|
|
2159
|
+
prettyPrint: boolean;
|
|
2160
|
+
fitParent: boolean;
|
|
2161
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2162
|
+
VegaLiteChart: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2163
|
+
data: {
|
|
2164
|
+
type: import('vue').PropType<Readonly<import('../../editors/results').Row[]>>;
|
|
2165
|
+
required: true;
|
|
2166
|
+
};
|
|
2167
|
+
columns: {
|
|
2168
|
+
type: import('vue').PropType<Map<string, import('../../editors/results').ResultColumn>>;
|
|
2169
|
+
required: true;
|
|
2170
|
+
};
|
|
2171
|
+
initialConfig: {
|
|
2172
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | undefined | null>;
|
|
2173
|
+
default: undefined;
|
|
2174
|
+
};
|
|
2175
|
+
showControls: {
|
|
2176
|
+
type: BooleanConstructor;
|
|
2177
|
+
default: boolean;
|
|
2178
|
+
};
|
|
2179
|
+
containerHeight: NumberConstructor;
|
|
2180
|
+
containerWidth: NumberConstructor;
|
|
2181
|
+
onChartConfigChange: {
|
|
2182
|
+
type: import('vue').PropType<(config: import('../../editors/results').ChartConfig) => void>;
|
|
2183
|
+
default: () => void;
|
|
2184
|
+
};
|
|
2185
|
+
chartSelection: {
|
|
2186
|
+
type: import('vue').PropType<Object[]>;
|
|
2187
|
+
default: () => void;
|
|
2188
|
+
};
|
|
2189
|
+
chartTitle: {
|
|
2190
|
+
type: StringConstructor;
|
|
2191
|
+
default: string;
|
|
2192
|
+
};
|
|
2193
|
+
drilldownActive: {
|
|
2194
|
+
type: BooleanConstructor;
|
|
2195
|
+
default: boolean;
|
|
2196
|
+
};
|
|
2197
|
+
}>, {
|
|
2198
|
+
vegaContainer1: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2199
|
+
vegaContainer2: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2200
|
+
chartContentArea: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2201
|
+
renderManager: import('../chartRenderManager').ChartRenderManager;
|
|
2202
|
+
controlsManager: import('../chartControlsManager').ChartControlsManager;
|
|
2203
|
+
renderChart: (force?: boolean) => Promise<void> | undefined;
|
|
2204
|
+
filteredColumnsInternal: (type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[];
|
|
2205
|
+
updateConfig: (field: keyof import('../../editors/results').ChartConfig, value: string | boolean | number) => void;
|
|
2206
|
+
openInVegaEditor: () => void;
|
|
2207
|
+
downloadChart: () => Promise<void>;
|
|
2208
|
+
refreshChart: () => void;
|
|
2209
|
+
charts: import('vue').ComputedRef<{
|
|
2210
|
+
value: string;
|
|
2211
|
+
label: string;
|
|
2212
|
+
icon: string;
|
|
2213
|
+
}[]>;
|
|
2214
|
+
isShortContainer: import('vue').ComputedRef<boolean | 0 | undefined>;
|
|
2215
|
+
revertDrilldown: () => void;
|
|
2216
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2217
|
+
data: {
|
|
2218
|
+
type: import('vue').PropType<Readonly<import('../../editors/results').Row[]>>;
|
|
2219
|
+
required: true;
|
|
2220
|
+
};
|
|
2221
|
+
columns: {
|
|
2222
|
+
type: import('vue').PropType<Map<string, import('../../editors/results').ResultColumn>>;
|
|
2223
|
+
required: true;
|
|
2224
|
+
};
|
|
2225
|
+
initialConfig: {
|
|
2226
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | undefined | null>;
|
|
2227
|
+
default: undefined;
|
|
2228
|
+
};
|
|
2229
|
+
showControls: {
|
|
2230
|
+
type: BooleanConstructor;
|
|
2231
|
+
default: boolean;
|
|
2232
|
+
};
|
|
2233
|
+
containerHeight: NumberConstructor;
|
|
2234
|
+
containerWidth: NumberConstructor;
|
|
2235
|
+
onChartConfigChange: {
|
|
2236
|
+
type: import('vue').PropType<(config: import('../../editors/results').ChartConfig) => void>;
|
|
2237
|
+
default: () => void;
|
|
2238
|
+
};
|
|
2239
|
+
chartSelection: {
|
|
2240
|
+
type: import('vue').PropType<Object[]>;
|
|
2241
|
+
default: () => void;
|
|
2242
|
+
};
|
|
2243
|
+
chartTitle: {
|
|
2244
|
+
type: StringConstructor;
|
|
2245
|
+
default: string;
|
|
2246
|
+
};
|
|
2247
|
+
drilldownActive: {
|
|
2248
|
+
type: BooleanConstructor;
|
|
2249
|
+
default: boolean;
|
|
2250
|
+
};
|
|
2251
|
+
}>> & Readonly<{}>, {
|
|
2252
|
+
onChartConfigChange: (config: import('../../editors/results').ChartConfig) => void;
|
|
2253
|
+
initialConfig: import('../../editors/results').ChartConfig | null | undefined;
|
|
2254
|
+
showControls: boolean;
|
|
2255
|
+
chartSelection: Object[];
|
|
2256
|
+
chartTitle: string;
|
|
2257
|
+
drilldownActive: boolean;
|
|
2258
|
+
}, {}, {
|
|
2259
|
+
Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2260
|
+
content: {
|
|
2261
|
+
type: StringConstructor;
|
|
2262
|
+
required: true;
|
|
2263
|
+
};
|
|
2264
|
+
position: {
|
|
2265
|
+
type: StringConstructor;
|
|
2266
|
+
default: string;
|
|
2267
|
+
};
|
|
2268
|
+
inline: {
|
|
2269
|
+
type: BooleanConstructor;
|
|
2270
|
+
default: boolean;
|
|
2271
|
+
};
|
|
2272
|
+
}>, {}, {
|
|
2273
|
+
visible: boolean;
|
|
2274
|
+
hoverTimeout: ReturnType<typeof setTimeout> | null;
|
|
2275
|
+
}, {
|
|
2276
|
+
positionClass(): string;
|
|
2277
|
+
}, {
|
|
2278
|
+
showTooltip(): void;
|
|
2279
|
+
hideTooltip(): void;
|
|
2280
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2281
|
+
content: {
|
|
2282
|
+
type: StringConstructor;
|
|
2283
|
+
required: true;
|
|
2284
|
+
};
|
|
2285
|
+
position: {
|
|
2286
|
+
type: StringConstructor;
|
|
2287
|
+
default: string;
|
|
2288
|
+
};
|
|
2289
|
+
inline: {
|
|
2290
|
+
type: BooleanConstructor;
|
|
2291
|
+
default: boolean;
|
|
2292
|
+
};
|
|
2293
|
+
}>> & Readonly<{}>, {
|
|
2294
|
+
position: string;
|
|
2295
|
+
inline: boolean;
|
|
2296
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2297
|
+
ChartControlPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2298
|
+
config: {
|
|
2299
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig>;
|
|
2300
|
+
required: true;
|
|
2301
|
+
};
|
|
2302
|
+
charts: {
|
|
2303
|
+
type: import('vue').PropType<Array<{
|
|
2304
|
+
value: string;
|
|
2305
|
+
label: string;
|
|
2306
|
+
icon: string;
|
|
2307
|
+
}>>;
|
|
2308
|
+
required: true;
|
|
2309
|
+
};
|
|
2310
|
+
filteredColumns: {
|
|
2311
|
+
type: import('vue').PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
|
|
2312
|
+
required: true;
|
|
2313
|
+
};
|
|
2314
|
+
}>, {
|
|
2315
|
+
controlSections: import('vue').ComputedRef<import('../ChartControlPanel.vue').ChartControlSection[]>;
|
|
2316
|
+
updateConfig: (field: string, value: any) => void;
|
|
2317
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update-config" | "open-vega-editor")[], "update-config" | "open-vega-editor", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2318
|
+
config: {
|
|
2319
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig>;
|
|
2320
|
+
required: true;
|
|
2321
|
+
};
|
|
2322
|
+
charts: {
|
|
2323
|
+
type: import('vue').PropType<Array<{
|
|
2324
|
+
value: string;
|
|
2325
|
+
label: string;
|
|
2326
|
+
icon: string;
|
|
2327
|
+
}>>;
|
|
2328
|
+
required: true;
|
|
2329
|
+
};
|
|
2330
|
+
filteredColumns: {
|
|
2331
|
+
type: import('vue').PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
|
|
2332
|
+
required: true;
|
|
2333
|
+
};
|
|
2334
|
+
}>> & Readonly<{
|
|
2335
|
+
"onUpdate-config"?: ((...args: any[]) => any) | undefined;
|
|
2336
|
+
"onOpen-vega-editor"?: ((...args: any[]) => any) | undefined;
|
|
2337
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2338
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2339
|
+
ErrorMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2340
|
+
type: {
|
|
2341
|
+
type: () => "error" | "information";
|
|
2342
|
+
default: string;
|
|
2343
|
+
validator: (value: string) => boolean;
|
|
2344
|
+
};
|
|
2345
|
+
}>, {}, {}, {
|
|
2346
|
+
messageClass(): string;
|
|
2347
|
+
iconEmoji(): string;
|
|
2348
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2349
|
+
type: {
|
|
2350
|
+
type: () => "error" | "information";
|
|
2351
|
+
default: string;
|
|
2352
|
+
validator: (value: string) => boolean;
|
|
2353
|
+
};
|
|
2354
|
+
}>> & Readonly<{}>, {
|
|
2355
|
+
type: "error" | "information";
|
|
2356
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2357
|
+
LoadingButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2358
|
+
action: {
|
|
2359
|
+
type: FunctionConstructor;
|
|
2360
|
+
required: true;
|
|
2361
|
+
};
|
|
2362
|
+
useDefaultStyle: {
|
|
2363
|
+
type: BooleanConstructor;
|
|
2364
|
+
default: boolean;
|
|
2365
|
+
};
|
|
2366
|
+
keyCombination: {
|
|
2367
|
+
type: {
|
|
2368
|
+
(arrayLength: number): string[];
|
|
2369
|
+
(...items: string[]): string[];
|
|
2370
|
+
new (arrayLength: number): string[];
|
|
2371
|
+
new (...items: string[]): string[];
|
|
2372
|
+
isArray(arg: any): arg is any[];
|
|
2373
|
+
readonly prototype: any[];
|
|
2374
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
2375
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
2376
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
2377
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
2378
|
+
of<T>(...items: T[]): T[];
|
|
2379
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
2380
|
+
};
|
|
2381
|
+
default: null;
|
|
2382
|
+
};
|
|
2383
|
+
disabled: {
|
|
2384
|
+
type: BooleanConstructor;
|
|
2385
|
+
default: boolean;
|
|
2386
|
+
};
|
|
2387
|
+
testId: {
|
|
2388
|
+
type: StringConstructor;
|
|
2389
|
+
default: string;
|
|
2390
|
+
};
|
|
2391
|
+
}>, {
|
|
2392
|
+
errorMessage: import('vue').Ref<string | null, string | null>;
|
|
2393
|
+
isLoading: import('vue').Ref<boolean, boolean>;
|
|
2394
|
+
status: import('vue').Ref<"success" | "error" | null, "success" | "error" | null>;
|
|
2395
|
+
handleClick: () => Promise<void>;
|
|
2396
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
2397
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2398
|
+
action: {
|
|
2399
|
+
type: FunctionConstructor;
|
|
2400
|
+
required: true;
|
|
2401
|
+
};
|
|
2402
|
+
useDefaultStyle: {
|
|
2403
|
+
type: BooleanConstructor;
|
|
2404
|
+
default: boolean;
|
|
2405
|
+
};
|
|
2406
|
+
keyCombination: {
|
|
2407
|
+
type: {
|
|
2408
|
+
(arrayLength: number): string[];
|
|
2409
|
+
(...items: string[]): string[];
|
|
2410
|
+
new (arrayLength: number): string[];
|
|
2411
|
+
new (...items: string[]): string[];
|
|
2412
|
+
isArray(arg: any): arg is any[];
|
|
2413
|
+
readonly prototype: any[];
|
|
2414
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
2415
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
2416
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
2417
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
2418
|
+
of<T>(...items: T[]): T[];
|
|
2419
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
2420
|
+
};
|
|
2421
|
+
default: null;
|
|
2422
|
+
};
|
|
2423
|
+
disabled: {
|
|
2424
|
+
type: BooleanConstructor;
|
|
2425
|
+
default: boolean;
|
|
2426
|
+
};
|
|
2427
|
+
testId: {
|
|
2428
|
+
type: StringConstructor;
|
|
2429
|
+
default: string;
|
|
2430
|
+
};
|
|
2431
|
+
}>> & Readonly<{}>, {
|
|
2432
|
+
disabled: boolean;
|
|
2433
|
+
useDefaultStyle: boolean;
|
|
2434
|
+
keyCombination: string[];
|
|
2435
|
+
testId: string;
|
|
2436
|
+
}, {}, {
|
|
2437
|
+
Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2438
|
+
content: {
|
|
2439
|
+
type: StringConstructor;
|
|
2440
|
+
required: true;
|
|
2441
|
+
};
|
|
2442
|
+
position: {
|
|
2443
|
+
type: StringConstructor;
|
|
2444
|
+
default: string;
|
|
2445
|
+
};
|
|
2446
|
+
inline: {
|
|
2447
|
+
type: BooleanConstructor;
|
|
2448
|
+
default: boolean;
|
|
2449
|
+
};
|
|
2450
|
+
}>, {}, {
|
|
2451
|
+
visible: boolean;
|
|
2452
|
+
hoverTimeout: ReturnType<typeof setTimeout> | null;
|
|
2453
|
+
}, {
|
|
2454
|
+
positionClass(): string;
|
|
2455
|
+
}, {
|
|
2456
|
+
showTooltip(): void;
|
|
2457
|
+
hideTooltip(): void;
|
|
2458
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2459
|
+
content: {
|
|
2460
|
+
type: StringConstructor;
|
|
2461
|
+
required: true;
|
|
2462
|
+
};
|
|
2463
|
+
position: {
|
|
2464
|
+
type: StringConstructor;
|
|
2465
|
+
default: string;
|
|
2466
|
+
};
|
|
2467
|
+
inline: {
|
|
2468
|
+
type: BooleanConstructor;
|
|
2469
|
+
default: boolean;
|
|
2470
|
+
};
|
|
2471
|
+
}>> & Readonly<{}>, {
|
|
2472
|
+
position: string;
|
|
2473
|
+
inline: boolean;
|
|
2474
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2475
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2476
|
+
CodeBlock: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2477
|
+
content: {
|
|
2478
|
+
type: StringConstructor;
|
|
2479
|
+
required: true;
|
|
2480
|
+
};
|
|
2481
|
+
language: {
|
|
2482
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
2483
|
+
default: string;
|
|
2484
|
+
};
|
|
2485
|
+
copy: {
|
|
2486
|
+
type: FunctionConstructor;
|
|
2487
|
+
optional: boolean;
|
|
2488
|
+
};
|
|
2489
|
+
}>, {
|
|
2490
|
+
codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2491
|
+
codeClass: import('vue').Ref<string, string>;
|
|
2492
|
+
copyCode: () => Promise<void>;
|
|
2493
|
+
copied: import('vue').Ref<boolean, boolean>;
|
|
2494
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "on-copy"[], "on-copy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2495
|
+
content: {
|
|
2496
|
+
type: StringConstructor;
|
|
2497
|
+
required: true;
|
|
2498
|
+
};
|
|
2499
|
+
language: {
|
|
2500
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
2501
|
+
default: string;
|
|
2502
|
+
};
|
|
2503
|
+
copy: {
|
|
2504
|
+
type: FunctionConstructor;
|
|
2505
|
+
optional: boolean;
|
|
2506
|
+
};
|
|
2507
|
+
}>> & Readonly<{
|
|
2508
|
+
"onOn-copy"?: ((...args: any[]) => any) | undefined;
|
|
2509
|
+
}>, {
|
|
2510
|
+
language: "trilogy" | "sql";
|
|
2511
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2512
|
+
DrilldownPane: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2513
|
+
drilldownRemove: {
|
|
2514
|
+
type: StringConstructor;
|
|
2515
|
+
required: true;
|
|
2516
|
+
};
|
|
2517
|
+
drilldownFilter: {
|
|
2518
|
+
type: StringConstructor;
|
|
2519
|
+
required: true;
|
|
2520
|
+
};
|
|
2521
|
+
symbols: {
|
|
2522
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
2523
|
+
required: true;
|
|
2524
|
+
};
|
|
2525
|
+
}>, {
|
|
2526
|
+
searchQuery: import('vue').Ref<string, string>;
|
|
2527
|
+
filteredDimensions: import('vue').Ref<{
|
|
2528
|
+
label: string;
|
|
2529
|
+
description: string;
|
|
2530
|
+
type: string;
|
|
2531
|
+
datatype: string;
|
|
2532
|
+
insertText: string;
|
|
2533
|
+
trilogyType?: ("concept" | "function" | "type") | undefined;
|
|
2534
|
+
trilogySubType?: ("property" | "key" | "metric") | undefined;
|
|
2535
|
+
calculation?: string | undefined;
|
|
2536
|
+
keys?: string[] | undefined;
|
|
2537
|
+
}[], import('../../stores/resolver').CompletionItem[] | {
|
|
2538
|
+
label: string;
|
|
2539
|
+
description: string;
|
|
2540
|
+
type: string;
|
|
2541
|
+
datatype: string;
|
|
2542
|
+
insertText: string;
|
|
2543
|
+
trilogyType?: ("concept" | "function" | "type") | undefined;
|
|
2544
|
+
trilogySubType?: ("property" | "key" | "metric") | undefined;
|
|
2545
|
+
calculation?: string | undefined;
|
|
2546
|
+
keys?: string[] | undefined;
|
|
2547
|
+
}[]>;
|
|
2548
|
+
drilldownSearchInput: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
2549
|
+
dimensionsList: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2550
|
+
tooltip: {
|
|
2551
|
+
visible: boolean;
|
|
2552
|
+
x: number;
|
|
2553
|
+
y: number;
|
|
2554
|
+
dimension: {
|
|
2555
|
+
label: string;
|
|
2556
|
+
description: string;
|
|
2557
|
+
type: string;
|
|
2558
|
+
datatype: string;
|
|
2559
|
+
insertText: string;
|
|
2560
|
+
trilogyType?: ("concept" | "function" | "type") | undefined;
|
|
2561
|
+
trilogySubType?: ("property" | "key" | "metric") | undefined;
|
|
2562
|
+
calculation?: string | undefined;
|
|
2563
|
+
keys?: string[] | undefined;
|
|
2564
|
+
};
|
|
2565
|
+
};
|
|
2566
|
+
selected: import('vue').Ref<string[], string[]>;
|
|
2567
|
+
highlightedIndex: import('vue').Ref<number, number>;
|
|
2568
|
+
filterDimensions: () => void;
|
|
2569
|
+
selectDimension: (dimension: import('../../stores/resolver').CompletionItem) => void;
|
|
2570
|
+
removeDimension: (dimensionLabel: string) => void;
|
|
2571
|
+
handleSubmit: () => void;
|
|
2572
|
+
handleClose: () => void;
|
|
2573
|
+
handleSearchKeydown: (event: KeyboardEvent) => void;
|
|
2574
|
+
setHighlightedIndex: (index: number) => void;
|
|
2575
|
+
getIconType: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
2576
|
+
getIconMdiClass: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
2577
|
+
getDimensionChar: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
2578
|
+
getIconClass: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
2579
|
+
getIconTooltip: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
2580
|
+
showTooltip: (event: MouseEvent, dimension: import('../../stores/resolver').CompletionItem) => Promise<void>;
|
|
2581
|
+
hideTooltip: () => void;
|
|
2582
|
+
updateTooltipPosition: (event: MouseEvent) => void;
|
|
2583
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "submit" | "select-dimension" | "remove-dimension")[], "close" | "submit" | "select-dimension" | "remove-dimension", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2584
|
+
drilldownRemove: {
|
|
2585
|
+
type: StringConstructor;
|
|
2586
|
+
required: true;
|
|
2587
|
+
};
|
|
2588
|
+
drilldownFilter: {
|
|
2589
|
+
type: StringConstructor;
|
|
2590
|
+
required: true;
|
|
2591
|
+
};
|
|
2592
|
+
symbols: {
|
|
2593
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
2594
|
+
required: true;
|
|
2595
|
+
};
|
|
2596
|
+
}>> & Readonly<{
|
|
2597
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
2598
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
2599
|
+
"onSelect-dimension"?: ((...args: any[]) => any) | undefined;
|
|
2600
|
+
"onRemove-dimension"?: ((...args: any[]) => any) | undefined;
|
|
2601
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2602
|
+
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
2603
|
+
P: {};
|
|
2604
|
+
B: {};
|
|
2605
|
+
D: {};
|
|
2606
|
+
C: {};
|
|
2607
|
+
M: {};
|
|
2608
|
+
Defaults: {};
|
|
2609
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
2610
|
+
type: {
|
|
2611
|
+
type: StringConstructor;
|
|
2612
|
+
required: true;
|
|
2613
|
+
};
|
|
2614
|
+
results: {
|
|
2615
|
+
type: typeof import('../../editors/results').Results;
|
|
2616
|
+
required: true;
|
|
2617
|
+
};
|
|
2618
|
+
chartConfig: {
|
|
2619
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | null>;
|
|
2620
|
+
required: false;
|
|
2621
|
+
};
|
|
2622
|
+
error: {
|
|
2623
|
+
type: StringConstructor;
|
|
2624
|
+
required: false;
|
|
2625
|
+
};
|
|
2626
|
+
connection: {
|
|
2627
|
+
type: StringConstructor;
|
|
2628
|
+
required: false;
|
|
2629
|
+
};
|
|
2630
|
+
symbols: {
|
|
2631
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
2632
|
+
required: false;
|
|
2633
|
+
};
|
|
2634
|
+
containerHeight: NumberConstructor;
|
|
2635
|
+
generatedSql: StringConstructor;
|
|
2636
|
+
trilogySource: StringConstructor;
|
|
2637
|
+
defaultTab: {
|
|
2638
|
+
type: StringConstructor;
|
|
2639
|
+
required: false;
|
|
2640
|
+
default: null;
|
|
2641
|
+
};
|
|
2642
|
+
showChatButton: {
|
|
2643
|
+
type: BooleanConstructor;
|
|
2644
|
+
default: boolean;
|
|
2645
|
+
};
|
|
2646
|
+
}>> & Readonly<{
|
|
2647
|
+
"onDrilldown-click"?: ((...args: any[]) => any) | undefined;
|
|
2648
|
+
"onRefresh-click"?: ((...args: any[]) => any) | undefined;
|
|
2649
|
+
"onConfig-change"?: ((...args: any[]) => any) | undefined;
|
|
2650
|
+
"onOpen-chat"?: ((...args: any[]) => any) | undefined;
|
|
2651
|
+
}>, {
|
|
2652
|
+
codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2653
|
+
connectionStore: import('pinia').Store<"connections", {
|
|
2654
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2655
|
+
}, {
|
|
2656
|
+
connectionList: (state: {
|
|
2657
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2658
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
2659
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2660
|
+
}>) => import('../../connections').Connection[];
|
|
2661
|
+
unsavedConnections: (state: {
|
|
2662
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2663
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
2664
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2665
|
+
}>) => number;
|
|
2666
|
+
}, {
|
|
2667
|
+
addConnection(connection: import('../../connections').Connection): import('../../connections').Connection;
|
|
2668
|
+
connectConnection(name: string): Promise<any>;
|
|
2669
|
+
resetConnection(name: string): Promise<any>;
|
|
2670
|
+
deleteConnection(name: string): void;
|
|
2671
|
+
connectionStateToStatus(connection: import('../../connections').Connection | null): "running" | "failed" | "disabled" | "connected";
|
|
2672
|
+
getConnectionSources(name: string): import('../../stores').ContentInput[];
|
|
2673
|
+
newConnection(name: string, type: string, options: Record<string, any>): import('../../connections').Connection;
|
|
2674
|
+
}>;
|
|
2675
|
+
}, {
|
|
2676
|
+
activeTab: string;
|
|
2677
|
+
activeDrilldown: import('../editor/Results.vue').Drilldown | null;
|
|
2678
|
+
TABS_HEIGHT: number;
|
|
2679
|
+
}, {
|
|
2680
|
+
tabContentHeight(): number;
|
|
2681
|
+
eligibleTabs(): string[];
|
|
2682
|
+
displayTab(): string;
|
|
2683
|
+
}, {
|
|
2684
|
+
switchToVisualizeTab(): void;
|
|
2685
|
+
setTab(tab: string): void;
|
|
2686
|
+
handleReconnect(): Promise<void>;
|
|
2687
|
+
onChartChange(config: any): void;
|
|
2688
|
+
activateDrilldown(e: import('../../events/display').DrillDownTriggerEvent): void;
|
|
2689
|
+
submitDrilldown(selected: string[]): void;
|
|
2690
|
+
handleLocalRefresh(): void;
|
|
2691
|
+
}, {
|
|
2692
|
+
defaultTab: string;
|
|
2693
|
+
showChatButton: boolean;
|
|
2694
|
+
}> | null>;
|
|
2695
|
+
splitRatio: import('vue').Ref<number, number>;
|
|
2696
|
+
isDragging: import('vue').Ref<boolean, boolean>;
|
|
2697
|
+
minPaneWidth: number;
|
|
2698
|
+
}, {}, {
|
|
2699
|
+
hasActiveChat(): boolean;
|
|
2700
|
+
hasResults(): boolean;
|
|
2701
|
+
resultsPaneWidth(): string;
|
|
2702
|
+
chatPaneWidth(): string;
|
|
2703
|
+
}, {
|
|
2704
|
+
handleAccept(_message?: string): void;
|
|
2705
|
+
handleDiscard(): void;
|
|
2706
|
+
handleContentChange(content: string, _replaceSelection?: boolean): void;
|
|
2707
|
+
handleChartConfigChange(config: import('../../editors/results').ChartConfig): void;
|
|
2708
|
+
handleDrilldown(data: any): void;
|
|
2709
|
+
handleOpenChat(): void;
|
|
2710
|
+
handleRunEditorQuery(): Promise<import('../../llm/editorRefinementToolExecutor').QueryExecutionResult>;
|
|
2711
|
+
startDragging(e: MouseEvent): void;
|
|
2712
|
+
onDrag(e: MouseEvent): void;
|
|
2713
|
+
stopDragging(): void;
|
|
2714
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("drilldown-click" | "refresh-click" | "open-chat" | "content-change" | "llm-query-accepted")[], "drilldown-click" | "refresh-click" | "open-chat" | "content-change" | "llm-query-accepted", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2715
|
+
editorData: {
|
|
2716
|
+
type: import('vue').PropType<import('../../editors').Editor>;
|
|
2717
|
+
required: true;
|
|
2718
|
+
};
|
|
2719
|
+
containerHeight: {
|
|
2720
|
+
type: NumberConstructor;
|
|
2721
|
+
default: number;
|
|
2722
|
+
};
|
|
2723
|
+
canOpenChat: {
|
|
2724
|
+
type: BooleanConstructor;
|
|
2725
|
+
default: boolean;
|
|
2726
|
+
};
|
|
2727
|
+
runEditorQuery: {
|
|
2728
|
+
type: import('vue').PropType<() => Promise<import('../../llm/editorRefinementToolExecutor').QueryExecutionResult | undefined>>;
|
|
2729
|
+
default: undefined;
|
|
2730
|
+
};
|
|
2731
|
+
}>> & Readonly<{
|
|
2732
|
+
"onDrilldown-click"?: ((...args: any[]) => any) | undefined;
|
|
2733
|
+
"onRefresh-click"?: ((...args: any[]) => any) | undefined;
|
|
2734
|
+
"onOpen-chat"?: ((...args: any[]) => any) | undefined;
|
|
2735
|
+
"onContent-change"?: ((...args: any[]) => any) | undefined;
|
|
2736
|
+
"onLlm-query-accepted"?: ((...args: any[]) => any) | undefined;
|
|
2737
|
+
}>, {
|
|
2738
|
+
containerHeight: number;
|
|
2739
|
+
runEditorQuery: () => Promise<import('../../llm/editorRefinementToolExecutor').QueryExecutionResult | undefined>;
|
|
2740
|
+
canOpenChat: boolean;
|
|
2741
|
+
}, {}, {
|
|
2742
|
+
LoadingView: import('vue').DefineComponent<{
|
|
2743
|
+
cancel?: ((() => void) | null) | undefined;
|
|
2744
|
+
text: string;
|
|
2745
|
+
startTime: number | null;
|
|
2746
|
+
}, {
|
|
2747
|
+
containerRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2748
|
+
containerHeight: import('vue').Ref<number, number>;
|
|
2749
|
+
handleCancel: () => void;
|
|
2750
|
+
trilogyIcon: string;
|
|
2751
|
+
elapsedTime: import('vue').Ref<string, string>;
|
|
2752
|
+
isCompact: import('vue').ComputedRef<boolean>;
|
|
2753
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
2754
|
+
cancel?: ((() => void) | null) | undefined;
|
|
2755
|
+
text: string;
|
|
2756
|
+
startTime: number | null;
|
|
2757
|
+
}> & Readonly<{}>, {
|
|
2758
|
+
text: string;
|
|
2759
|
+
startTime: number | null;
|
|
2760
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2761
|
+
ResultsContainer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2762
|
+
type: {
|
|
2763
|
+
type: StringConstructor;
|
|
2764
|
+
required: true;
|
|
2765
|
+
};
|
|
2766
|
+
results: {
|
|
2767
|
+
type: typeof import('../../editors/results').Results;
|
|
2768
|
+
required: true;
|
|
2769
|
+
};
|
|
2770
|
+
chartConfig: {
|
|
2771
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | null>;
|
|
2772
|
+
required: false;
|
|
2773
|
+
};
|
|
2774
|
+
error: {
|
|
2775
|
+
type: StringConstructor;
|
|
2776
|
+
required: false;
|
|
2777
|
+
};
|
|
2778
|
+
connection: {
|
|
2779
|
+
type: StringConstructor;
|
|
2780
|
+
required: false;
|
|
2781
|
+
};
|
|
2782
|
+
symbols: {
|
|
2783
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
2784
|
+
required: false;
|
|
2785
|
+
};
|
|
2786
|
+
containerHeight: NumberConstructor;
|
|
2787
|
+
generatedSql: StringConstructor;
|
|
2788
|
+
trilogySource: StringConstructor;
|
|
2789
|
+
defaultTab: {
|
|
2790
|
+
type: StringConstructor;
|
|
2791
|
+
required: false;
|
|
2792
|
+
default: null;
|
|
2793
|
+
};
|
|
2794
|
+
showChatButton: {
|
|
2795
|
+
type: BooleanConstructor;
|
|
2796
|
+
default: boolean;
|
|
2797
|
+
};
|
|
2798
|
+
}>, {
|
|
2799
|
+
codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2800
|
+
connectionStore: import('pinia').Store<"connections", {
|
|
2801
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2802
|
+
}, {
|
|
2803
|
+
connectionList: (state: {
|
|
2804
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2805
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
2806
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2807
|
+
}>) => import('../../connections').Connection[];
|
|
2808
|
+
unsavedConnections: (state: {
|
|
2809
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2810
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
2811
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
2812
|
+
}>) => number;
|
|
2813
|
+
}, {
|
|
2814
|
+
addConnection(connection: import('../../connections').Connection): import('../../connections').Connection;
|
|
2815
|
+
connectConnection(name: string): Promise<any>;
|
|
2816
|
+
resetConnection(name: string): Promise<any>;
|
|
2817
|
+
deleteConnection(name: string): void;
|
|
2818
|
+
connectionStateToStatus(connection: import('../../connections').Connection | null): "running" | "failed" | "disabled" | "connected";
|
|
2819
|
+
getConnectionSources(name: string): import('../../stores').ContentInput[];
|
|
2820
|
+
newConnection(name: string, type: string, options: Record<string, any>): import('../../connections').Connection;
|
|
2821
|
+
}>;
|
|
2822
|
+
}, {
|
|
2823
|
+
activeTab: string;
|
|
2824
|
+
activeDrilldown: import('../editor/Results.vue').Drilldown | null;
|
|
2825
|
+
TABS_HEIGHT: number;
|
|
2826
|
+
}, {
|
|
2827
|
+
tabContentHeight(): number;
|
|
2828
|
+
eligibleTabs(): string[];
|
|
2829
|
+
displayTab(): string;
|
|
2830
|
+
}, {
|
|
2831
|
+
switchToVisualizeTab(): void;
|
|
2832
|
+
setTab(tab: string): void;
|
|
2833
|
+
handleReconnect(): Promise<void>;
|
|
2834
|
+
onChartChange(config: any): void;
|
|
2835
|
+
activateDrilldown(e: import('../../events/display').DrillDownTriggerEvent): void;
|
|
2836
|
+
submitDrilldown(selected: string[]): void;
|
|
2837
|
+
handleLocalRefresh(): void;
|
|
2838
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("drilldown-click" | "refresh-click" | "config-change" | "open-chat")[], "drilldown-click" | "refresh-click" | "config-change" | "open-chat", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2839
|
+
type: {
|
|
2840
|
+
type: StringConstructor;
|
|
2841
|
+
required: true;
|
|
2842
|
+
};
|
|
2843
|
+
results: {
|
|
2844
|
+
type: typeof import('../../editors/results').Results;
|
|
2845
|
+
required: true;
|
|
2846
|
+
};
|
|
2847
|
+
chartConfig: {
|
|
2848
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | null>;
|
|
2849
|
+
required: false;
|
|
2850
|
+
};
|
|
2851
|
+
error: {
|
|
2852
|
+
type: StringConstructor;
|
|
2853
|
+
required: false;
|
|
2854
|
+
};
|
|
2855
|
+
connection: {
|
|
2856
|
+
type: StringConstructor;
|
|
2857
|
+
required: false;
|
|
2858
|
+
};
|
|
2859
|
+
symbols: {
|
|
2860
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
2861
|
+
required: false;
|
|
2862
|
+
};
|
|
2863
|
+
containerHeight: NumberConstructor;
|
|
2864
|
+
generatedSql: StringConstructor;
|
|
2865
|
+
trilogySource: StringConstructor;
|
|
2866
|
+
defaultTab: {
|
|
2867
|
+
type: StringConstructor;
|
|
2868
|
+
required: false;
|
|
2869
|
+
default: null;
|
|
2870
|
+
};
|
|
2871
|
+
showChatButton: {
|
|
2872
|
+
type: BooleanConstructor;
|
|
2873
|
+
default: boolean;
|
|
2874
|
+
};
|
|
2875
|
+
}>> & Readonly<{
|
|
2876
|
+
"onDrilldown-click"?: ((...args: any[]) => any) | undefined;
|
|
2877
|
+
"onRefresh-click"?: ((...args: any[]) => any) | undefined;
|
|
2878
|
+
"onConfig-change"?: ((...args: any[]) => any) | undefined;
|
|
2879
|
+
"onOpen-chat"?: ((...args: any[]) => any) | undefined;
|
|
2880
|
+
}>, {
|
|
2881
|
+
defaultTab: string;
|
|
2882
|
+
showChatButton: boolean;
|
|
2883
|
+
}, {}, {
|
|
2884
|
+
DataTable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2885
|
+
headers: {
|
|
2886
|
+
type: {
|
|
2887
|
+
new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
2888
|
+
new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
2889
|
+
readonly prototype: Map<any, any>;
|
|
2890
|
+
readonly [Symbol.species]: MapConstructor;
|
|
2891
|
+
};
|
|
2892
|
+
required: true;
|
|
2893
|
+
};
|
|
2894
|
+
results: {
|
|
2895
|
+
type: import('vue').PropType<readonly import('../../editors/results').Row[]>;
|
|
2896
|
+
required: true;
|
|
2897
|
+
};
|
|
2898
|
+
containerHeight: NumberConstructor;
|
|
2899
|
+
cellClick: {
|
|
2900
|
+
type: FunctionConstructor;
|
|
2901
|
+
default: () => void;
|
|
2902
|
+
};
|
|
2903
|
+
backgroundClick: {
|
|
2904
|
+
type: FunctionConstructor;
|
|
2905
|
+
default: () => void;
|
|
2906
|
+
};
|
|
2907
|
+
prettyPrint: {
|
|
2908
|
+
type: BooleanConstructor;
|
|
2909
|
+
default: boolean;
|
|
2910
|
+
};
|
|
2911
|
+
fitParent: {
|
|
2912
|
+
type: BooleanConstructor;
|
|
2913
|
+
default: boolean;
|
|
2914
|
+
};
|
|
2915
|
+
}>, {
|
|
2916
|
+
settingsStore: import('pinia').Store<"userSettings", {
|
|
2917
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
2918
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
2919
|
+
isLoading: boolean;
|
|
2920
|
+
hasChanges: boolean;
|
|
2921
|
+
hasLoaded: boolean;
|
|
2922
|
+
}, {
|
|
2923
|
+
getSettings: (state: {
|
|
2924
|
+
settings: {
|
|
2925
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2926
|
+
theme: "dark" | "light" | "";
|
|
2927
|
+
trilogyResolver: string;
|
|
2928
|
+
telemetryEnabled: boolean | null;
|
|
2929
|
+
tipsRead: string[];
|
|
2930
|
+
skipAllTips: boolean;
|
|
2931
|
+
};
|
|
2932
|
+
defaults: {
|
|
2933
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2934
|
+
theme: "dark" | "light" | "";
|
|
2935
|
+
trilogyResolver: string;
|
|
2936
|
+
telemetryEnabled: boolean | null;
|
|
2937
|
+
tipsRead: string[];
|
|
2938
|
+
skipAllTips: boolean;
|
|
2939
|
+
};
|
|
2940
|
+
isLoading: boolean;
|
|
2941
|
+
hasChanges: boolean;
|
|
2942
|
+
hasLoaded: boolean;
|
|
2943
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
2944
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
2945
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
2946
|
+
isLoading: boolean;
|
|
2947
|
+
hasChanges: boolean;
|
|
2948
|
+
hasLoaded: boolean;
|
|
2949
|
+
}>) => {
|
|
2950
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2951
|
+
theme: "dark" | "light" | "";
|
|
2952
|
+
trilogyResolver: string;
|
|
2953
|
+
telemetryEnabled: boolean | null;
|
|
2954
|
+
tipsRead: string[];
|
|
2955
|
+
skipAllTips: boolean;
|
|
2956
|
+
};
|
|
2957
|
+
getDefaults: (state: {
|
|
2958
|
+
settings: {
|
|
2959
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2960
|
+
theme: "dark" | "light" | "";
|
|
2961
|
+
trilogyResolver: string;
|
|
2962
|
+
telemetryEnabled: boolean | null;
|
|
2963
|
+
tipsRead: string[];
|
|
2964
|
+
skipAllTips: boolean;
|
|
2965
|
+
};
|
|
2966
|
+
defaults: {
|
|
2967
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2968
|
+
theme: "dark" | "light" | "";
|
|
2969
|
+
trilogyResolver: string;
|
|
2970
|
+
telemetryEnabled: boolean | null;
|
|
2971
|
+
tipsRead: string[];
|
|
2972
|
+
skipAllTips: boolean;
|
|
2973
|
+
};
|
|
2974
|
+
isLoading: boolean;
|
|
2975
|
+
hasChanges: boolean;
|
|
2976
|
+
hasLoaded: boolean;
|
|
2977
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
2978
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
2979
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
2980
|
+
isLoading: boolean;
|
|
2981
|
+
hasChanges: boolean;
|
|
2982
|
+
hasLoaded: boolean;
|
|
2983
|
+
}>) => {
|
|
2984
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2985
|
+
theme: "dark" | "light" | "";
|
|
2986
|
+
trilogyResolver: string;
|
|
2987
|
+
telemetryEnabled: boolean | null;
|
|
2988
|
+
tipsRead: string[];
|
|
2989
|
+
skipAllTips: boolean;
|
|
2990
|
+
};
|
|
2991
|
+
hasUnsavedChanges: (state: {
|
|
2992
|
+
settings: {
|
|
2993
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
2994
|
+
theme: "dark" | "light" | "";
|
|
2995
|
+
trilogyResolver: string;
|
|
2996
|
+
telemetryEnabled: boolean | null;
|
|
2997
|
+
tipsRead: string[];
|
|
2998
|
+
skipAllTips: boolean;
|
|
2999
|
+
};
|
|
3000
|
+
defaults: {
|
|
3001
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
3002
|
+
theme: "dark" | "light" | "";
|
|
3003
|
+
trilogyResolver: string;
|
|
3004
|
+
telemetryEnabled: boolean | null;
|
|
3005
|
+
tipsRead: string[];
|
|
3006
|
+
skipAllTips: boolean;
|
|
3007
|
+
};
|
|
3008
|
+
isLoading: boolean;
|
|
3009
|
+
hasChanges: boolean;
|
|
3010
|
+
hasLoaded: boolean;
|
|
3011
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
3012
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
3013
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
3014
|
+
isLoading: boolean;
|
|
3015
|
+
hasChanges: boolean;
|
|
3016
|
+
hasLoaded: boolean;
|
|
3017
|
+
}>) => boolean;
|
|
3018
|
+
}, {
|
|
3019
|
+
updateSetting<K extends keyof import('../../stores/userSettingsStore').UserSettings>(key: K, value: import('../../stores/userSettingsStore').UserSettings[K]): void;
|
|
3020
|
+
getUnreadTips(tips: import('../../data/tips').ModalItem[]): import('../../data/tips').ModalItem[];
|
|
3021
|
+
clearDismissedTips(): void;
|
|
3022
|
+
markTipRead(tipId: string): void;
|
|
3023
|
+
clearReadTips(): void;
|
|
3024
|
+
toggleTheme(): void;
|
|
3025
|
+
setHasChanges(value: boolean): void;
|
|
3026
|
+
updateSettings(newSettings: Partial<import('../../stores/userSettingsStore').UserSettings>): void;
|
|
3027
|
+
resetToDefaults(): void;
|
|
3028
|
+
saveSettings(): Promise<boolean>;
|
|
3029
|
+
loadSettings(): void;
|
|
3030
|
+
}>;
|
|
3031
|
+
currentTheme: import('vue').ComputedRef<"" | "dark" | "light">;
|
|
3032
|
+
}, {
|
|
3033
|
+
tabulator: import('vue').ShallowRef<Tabulator> | null;
|
|
3034
|
+
selectedCell: null;
|
|
3035
|
+
controlsVisible: boolean;
|
|
3036
|
+
}, {
|
|
3037
|
+
tableData(): readonly Readonly<Record<string, any>>[];
|
|
3038
|
+
tableColumns(): ColumnDefinition[];
|
|
3039
|
+
}, {
|
|
3040
|
+
copyToClipboard(): Promise<void>;
|
|
3041
|
+
downloadData(): void;
|
|
3042
|
+
showNotification(message: string, type: "success" | "error"): void;
|
|
3043
|
+
create(): void;
|
|
3044
|
+
updateTable(): void;
|
|
3045
|
+
updateTableTheme(): void;
|
|
3046
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3047
|
+
headers: {
|
|
3048
|
+
type: {
|
|
3049
|
+
new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
3050
|
+
new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
3051
|
+
readonly prototype: Map<any, any>;
|
|
3052
|
+
readonly [Symbol.species]: MapConstructor;
|
|
3053
|
+
};
|
|
3054
|
+
required: true;
|
|
3055
|
+
};
|
|
3056
|
+
results: {
|
|
3057
|
+
type: import('vue').PropType<readonly import('../../editors/results').Row[]>;
|
|
3058
|
+
required: true;
|
|
3059
|
+
};
|
|
3060
|
+
containerHeight: NumberConstructor;
|
|
3061
|
+
cellClick: {
|
|
3062
|
+
type: FunctionConstructor;
|
|
3063
|
+
default: () => void;
|
|
3064
|
+
};
|
|
3065
|
+
backgroundClick: {
|
|
3066
|
+
type: FunctionConstructor;
|
|
3067
|
+
default: () => void;
|
|
3068
|
+
};
|
|
3069
|
+
prettyPrint: {
|
|
3070
|
+
type: BooleanConstructor;
|
|
3071
|
+
default: boolean;
|
|
3072
|
+
};
|
|
3073
|
+
fitParent: {
|
|
3074
|
+
type: BooleanConstructor;
|
|
3075
|
+
default: boolean;
|
|
3076
|
+
};
|
|
3077
|
+
}>> & Readonly<{}>, {
|
|
3078
|
+
cellClick: Function;
|
|
3079
|
+
backgroundClick: Function;
|
|
3080
|
+
prettyPrint: boolean;
|
|
3081
|
+
fitParent: boolean;
|
|
3082
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3083
|
+
VegaLiteChart: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3084
|
+
data: {
|
|
3085
|
+
type: import('vue').PropType<Readonly<import('../../editors/results').Row[]>>;
|
|
3086
|
+
required: true;
|
|
3087
|
+
};
|
|
3088
|
+
columns: {
|
|
3089
|
+
type: import('vue').PropType<Map<string, import('../../editors/results').ResultColumn>>;
|
|
3090
|
+
required: true;
|
|
3091
|
+
};
|
|
3092
|
+
initialConfig: {
|
|
3093
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | undefined | null>;
|
|
3094
|
+
default: undefined;
|
|
3095
|
+
};
|
|
3096
|
+
showControls: {
|
|
3097
|
+
type: BooleanConstructor;
|
|
3098
|
+
default: boolean;
|
|
3099
|
+
};
|
|
3100
|
+
containerHeight: NumberConstructor;
|
|
3101
|
+
containerWidth: NumberConstructor;
|
|
3102
|
+
onChartConfigChange: {
|
|
3103
|
+
type: import('vue').PropType<(config: import('../../editors/results').ChartConfig) => void>;
|
|
3104
|
+
default: () => void;
|
|
3105
|
+
};
|
|
3106
|
+
chartSelection: {
|
|
3107
|
+
type: import('vue').PropType<Object[]>;
|
|
3108
|
+
default: () => void;
|
|
3109
|
+
};
|
|
3110
|
+
chartTitle: {
|
|
3111
|
+
type: StringConstructor;
|
|
3112
|
+
default: string;
|
|
3113
|
+
};
|
|
3114
|
+
drilldownActive: {
|
|
3115
|
+
type: BooleanConstructor;
|
|
3116
|
+
default: boolean;
|
|
3117
|
+
};
|
|
3118
|
+
}>, {
|
|
3119
|
+
vegaContainer1: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
3120
|
+
vegaContainer2: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
3121
|
+
chartContentArea: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
3122
|
+
renderManager: import('../chartRenderManager').ChartRenderManager;
|
|
3123
|
+
controlsManager: import('../chartControlsManager').ChartControlsManager;
|
|
3124
|
+
renderChart: (force?: boolean) => Promise<void> | undefined;
|
|
3125
|
+
filteredColumnsInternal: (type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[];
|
|
3126
|
+
updateConfig: (field: keyof import('../../editors/results').ChartConfig, value: string | boolean | number) => void;
|
|
3127
|
+
openInVegaEditor: () => void;
|
|
3128
|
+
downloadChart: () => Promise<void>;
|
|
3129
|
+
refreshChart: () => void;
|
|
3130
|
+
charts: import('vue').ComputedRef<{
|
|
3131
|
+
value: string;
|
|
3132
|
+
label: string;
|
|
3133
|
+
icon: string;
|
|
3134
|
+
}[]>;
|
|
3135
|
+
isShortContainer: import('vue').ComputedRef<boolean | 0 | undefined>;
|
|
3136
|
+
revertDrilldown: () => void;
|
|
3137
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3138
|
+
data: {
|
|
3139
|
+
type: import('vue').PropType<Readonly<import('../../editors/results').Row[]>>;
|
|
3140
|
+
required: true;
|
|
3141
|
+
};
|
|
3142
|
+
columns: {
|
|
3143
|
+
type: import('vue').PropType<Map<string, import('../../editors/results').ResultColumn>>;
|
|
3144
|
+
required: true;
|
|
3145
|
+
};
|
|
3146
|
+
initialConfig: {
|
|
3147
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | undefined | null>;
|
|
3148
|
+
default: undefined;
|
|
3149
|
+
};
|
|
3150
|
+
showControls: {
|
|
3151
|
+
type: BooleanConstructor;
|
|
3152
|
+
default: boolean;
|
|
3153
|
+
};
|
|
3154
|
+
containerHeight: NumberConstructor;
|
|
3155
|
+
containerWidth: NumberConstructor;
|
|
3156
|
+
onChartConfigChange: {
|
|
3157
|
+
type: import('vue').PropType<(config: import('../../editors/results').ChartConfig) => void>;
|
|
3158
|
+
default: () => void;
|
|
3159
|
+
};
|
|
3160
|
+
chartSelection: {
|
|
3161
|
+
type: import('vue').PropType<Object[]>;
|
|
3162
|
+
default: () => void;
|
|
3163
|
+
};
|
|
3164
|
+
chartTitle: {
|
|
3165
|
+
type: StringConstructor;
|
|
3166
|
+
default: string;
|
|
3167
|
+
};
|
|
3168
|
+
drilldownActive: {
|
|
3169
|
+
type: BooleanConstructor;
|
|
3170
|
+
default: boolean;
|
|
3171
|
+
};
|
|
3172
|
+
}>> & Readonly<{}>, {
|
|
3173
|
+
onChartConfigChange: (config: import('../../editors/results').ChartConfig) => void;
|
|
3174
|
+
initialConfig: import('../../editors/results').ChartConfig | null | undefined;
|
|
3175
|
+
showControls: boolean;
|
|
3176
|
+
chartSelection: Object[];
|
|
3177
|
+
chartTitle: string;
|
|
3178
|
+
drilldownActive: boolean;
|
|
3179
|
+
}, {}, {
|
|
3180
|
+
Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3181
|
+
content: {
|
|
3182
|
+
type: StringConstructor;
|
|
3183
|
+
required: true;
|
|
3184
|
+
};
|
|
3185
|
+
position: {
|
|
3186
|
+
type: StringConstructor;
|
|
3187
|
+
default: string;
|
|
3188
|
+
};
|
|
3189
|
+
inline: {
|
|
3190
|
+
type: BooleanConstructor;
|
|
3191
|
+
default: boolean;
|
|
3192
|
+
};
|
|
3193
|
+
}>, {}, {
|
|
3194
|
+
visible: boolean;
|
|
3195
|
+
hoverTimeout: ReturnType<typeof setTimeout> | null;
|
|
3196
|
+
}, {
|
|
3197
|
+
positionClass(): string;
|
|
3198
|
+
}, {
|
|
3199
|
+
showTooltip(): void;
|
|
3200
|
+
hideTooltip(): void;
|
|
3201
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3202
|
+
content: {
|
|
3203
|
+
type: StringConstructor;
|
|
3204
|
+
required: true;
|
|
3205
|
+
};
|
|
3206
|
+
position: {
|
|
3207
|
+
type: StringConstructor;
|
|
3208
|
+
default: string;
|
|
3209
|
+
};
|
|
3210
|
+
inline: {
|
|
3211
|
+
type: BooleanConstructor;
|
|
3212
|
+
default: boolean;
|
|
3213
|
+
};
|
|
3214
|
+
}>> & Readonly<{}>, {
|
|
3215
|
+
position: string;
|
|
3216
|
+
inline: boolean;
|
|
3217
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3218
|
+
ChartControlPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3219
|
+
config: {
|
|
3220
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig>;
|
|
3221
|
+
required: true;
|
|
3222
|
+
};
|
|
3223
|
+
charts: {
|
|
3224
|
+
type: import('vue').PropType<Array<{
|
|
3225
|
+
value: string;
|
|
3226
|
+
label: string;
|
|
3227
|
+
icon: string;
|
|
3228
|
+
}>>;
|
|
3229
|
+
required: true;
|
|
3230
|
+
};
|
|
3231
|
+
filteredColumns: {
|
|
3232
|
+
type: import('vue').PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
|
|
3233
|
+
required: true;
|
|
3234
|
+
};
|
|
3235
|
+
}>, {
|
|
3236
|
+
controlSections: import('vue').ComputedRef<import('../ChartControlPanel.vue').ChartControlSection[]>;
|
|
3237
|
+
updateConfig: (field: string, value: any) => void;
|
|
3238
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update-config" | "open-vega-editor")[], "update-config" | "open-vega-editor", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3239
|
+
config: {
|
|
3240
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig>;
|
|
3241
|
+
required: true;
|
|
3242
|
+
};
|
|
3243
|
+
charts: {
|
|
3244
|
+
type: import('vue').PropType<Array<{
|
|
3245
|
+
value: string;
|
|
3246
|
+
label: string;
|
|
3247
|
+
icon: string;
|
|
3248
|
+
}>>;
|
|
3249
|
+
required: true;
|
|
3250
|
+
};
|
|
3251
|
+
filteredColumns: {
|
|
3252
|
+
type: import('vue').PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
|
|
3253
|
+
required: true;
|
|
3254
|
+
};
|
|
3255
|
+
}>> & Readonly<{
|
|
3256
|
+
"onUpdate-config"?: ((...args: any[]) => any) | undefined;
|
|
3257
|
+
"onOpen-vega-editor"?: ((...args: any[]) => any) | undefined;
|
|
3258
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3259
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3260
|
+
ErrorMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3261
|
+
type: {
|
|
3262
|
+
type: () => "error" | "information";
|
|
3263
|
+
default: string;
|
|
3264
|
+
validator: (value: string) => boolean;
|
|
3265
|
+
};
|
|
3266
|
+
}>, {}, {}, {
|
|
3267
|
+
messageClass(): string;
|
|
3268
|
+
iconEmoji(): string;
|
|
3269
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3270
|
+
type: {
|
|
3271
|
+
type: () => "error" | "information";
|
|
3272
|
+
default: string;
|
|
3273
|
+
validator: (value: string) => boolean;
|
|
3274
|
+
};
|
|
3275
|
+
}>> & Readonly<{}>, {
|
|
3276
|
+
type: "error" | "information";
|
|
3277
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3278
|
+
LoadingButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3279
|
+
action: {
|
|
3280
|
+
type: FunctionConstructor;
|
|
3281
|
+
required: true;
|
|
3282
|
+
};
|
|
3283
|
+
useDefaultStyle: {
|
|
3284
|
+
type: BooleanConstructor;
|
|
3285
|
+
default: boolean;
|
|
3286
|
+
};
|
|
3287
|
+
keyCombination: {
|
|
3288
|
+
type: {
|
|
3289
|
+
(arrayLength: number): string[];
|
|
3290
|
+
(...items: string[]): string[];
|
|
3291
|
+
new (arrayLength: number): string[];
|
|
3292
|
+
new (...items: string[]): string[];
|
|
3293
|
+
isArray(arg: any): arg is any[];
|
|
3294
|
+
readonly prototype: any[];
|
|
3295
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
3296
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
3297
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
3298
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
3299
|
+
of<T>(...items: T[]): T[];
|
|
3300
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
3301
|
+
};
|
|
3302
|
+
default: null;
|
|
3303
|
+
};
|
|
3304
|
+
disabled: {
|
|
3305
|
+
type: BooleanConstructor;
|
|
3306
|
+
default: boolean;
|
|
3307
|
+
};
|
|
3308
|
+
testId: {
|
|
3309
|
+
type: StringConstructor;
|
|
3310
|
+
default: string;
|
|
3311
|
+
};
|
|
3312
|
+
}>, {
|
|
3313
|
+
errorMessage: import('vue').Ref<string | null, string | null>;
|
|
3314
|
+
isLoading: import('vue').Ref<boolean, boolean>;
|
|
3315
|
+
status: import('vue').Ref<"success" | "error" | null, "success" | "error" | null>;
|
|
3316
|
+
handleClick: () => Promise<void>;
|
|
3317
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
3318
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3319
|
+
action: {
|
|
3320
|
+
type: FunctionConstructor;
|
|
3321
|
+
required: true;
|
|
3322
|
+
};
|
|
3323
|
+
useDefaultStyle: {
|
|
3324
|
+
type: BooleanConstructor;
|
|
3325
|
+
default: boolean;
|
|
3326
|
+
};
|
|
3327
|
+
keyCombination: {
|
|
3328
|
+
type: {
|
|
3329
|
+
(arrayLength: number): string[];
|
|
3330
|
+
(...items: string[]): string[];
|
|
3331
|
+
new (arrayLength: number): string[];
|
|
3332
|
+
new (...items: string[]): string[];
|
|
3333
|
+
isArray(arg: any): arg is any[];
|
|
3334
|
+
readonly prototype: any[];
|
|
3335
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
3336
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
3337
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
3338
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
3339
|
+
of<T>(...items: T[]): T[];
|
|
3340
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
3341
|
+
};
|
|
3342
|
+
default: null;
|
|
3343
|
+
};
|
|
3344
|
+
disabled: {
|
|
3345
|
+
type: BooleanConstructor;
|
|
3346
|
+
default: boolean;
|
|
3347
|
+
};
|
|
3348
|
+
testId: {
|
|
3349
|
+
type: StringConstructor;
|
|
3350
|
+
default: string;
|
|
3351
|
+
};
|
|
3352
|
+
}>> & Readonly<{}>, {
|
|
3353
|
+
disabled: boolean;
|
|
3354
|
+
useDefaultStyle: boolean;
|
|
3355
|
+
keyCombination: string[];
|
|
3356
|
+
testId: string;
|
|
3357
|
+
}, {}, {
|
|
3358
|
+
Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3359
|
+
content: {
|
|
3360
|
+
type: StringConstructor;
|
|
3361
|
+
required: true;
|
|
3362
|
+
};
|
|
3363
|
+
position: {
|
|
3364
|
+
type: StringConstructor;
|
|
3365
|
+
default: string;
|
|
3366
|
+
};
|
|
3367
|
+
inline: {
|
|
3368
|
+
type: BooleanConstructor;
|
|
3369
|
+
default: boolean;
|
|
3370
|
+
};
|
|
3371
|
+
}>, {}, {
|
|
3372
|
+
visible: boolean;
|
|
3373
|
+
hoverTimeout: ReturnType<typeof setTimeout> | null;
|
|
3374
|
+
}, {
|
|
3375
|
+
positionClass(): string;
|
|
3376
|
+
}, {
|
|
3377
|
+
showTooltip(): void;
|
|
3378
|
+
hideTooltip(): void;
|
|
3379
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3380
|
+
content: {
|
|
3381
|
+
type: StringConstructor;
|
|
3382
|
+
required: true;
|
|
3383
|
+
};
|
|
3384
|
+
position: {
|
|
3385
|
+
type: StringConstructor;
|
|
3386
|
+
default: string;
|
|
3387
|
+
};
|
|
3388
|
+
inline: {
|
|
3389
|
+
type: BooleanConstructor;
|
|
3390
|
+
default: boolean;
|
|
3391
|
+
};
|
|
3392
|
+
}>> & Readonly<{}>, {
|
|
3393
|
+
position: string;
|
|
3394
|
+
inline: boolean;
|
|
3395
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3396
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3397
|
+
CodeBlock: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3398
|
+
content: {
|
|
3399
|
+
type: StringConstructor;
|
|
3400
|
+
required: true;
|
|
3401
|
+
};
|
|
3402
|
+
language: {
|
|
3403
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
3404
|
+
default: string;
|
|
3405
|
+
};
|
|
3406
|
+
copy: {
|
|
3407
|
+
type: FunctionConstructor;
|
|
3408
|
+
optional: boolean;
|
|
3409
|
+
};
|
|
3410
|
+
}>, {
|
|
3411
|
+
codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
3412
|
+
codeClass: import('vue').Ref<string, string>;
|
|
3413
|
+
copyCode: () => Promise<void>;
|
|
3414
|
+
copied: import('vue').Ref<boolean, boolean>;
|
|
3415
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "on-copy"[], "on-copy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3416
|
+
content: {
|
|
3417
|
+
type: StringConstructor;
|
|
3418
|
+
required: true;
|
|
3419
|
+
};
|
|
3420
|
+
language: {
|
|
3421
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
3422
|
+
default: string;
|
|
3423
|
+
};
|
|
3424
|
+
copy: {
|
|
3425
|
+
type: FunctionConstructor;
|
|
3426
|
+
optional: boolean;
|
|
3427
|
+
};
|
|
3428
|
+
}>> & Readonly<{
|
|
3429
|
+
"onOn-copy"?: ((...args: any[]) => any) | undefined;
|
|
3430
|
+
}>, {
|
|
3431
|
+
language: "trilogy" | "sql";
|
|
3432
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3433
|
+
DrilldownPane: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3434
|
+
drilldownRemove: {
|
|
3435
|
+
type: StringConstructor;
|
|
3436
|
+
required: true;
|
|
3437
|
+
};
|
|
3438
|
+
drilldownFilter: {
|
|
3439
|
+
type: StringConstructor;
|
|
3440
|
+
required: true;
|
|
3441
|
+
};
|
|
3442
|
+
symbols: {
|
|
3443
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
3444
|
+
required: true;
|
|
3445
|
+
};
|
|
3446
|
+
}>, {
|
|
3447
|
+
searchQuery: import('vue').Ref<string, string>;
|
|
3448
|
+
filteredDimensions: import('vue').Ref<{
|
|
3449
|
+
label: string;
|
|
3450
|
+
description: string;
|
|
3451
|
+
type: string;
|
|
3452
|
+
datatype: string;
|
|
3453
|
+
insertText: string;
|
|
3454
|
+
trilogyType?: ("concept" | "function" | "type") | undefined;
|
|
3455
|
+
trilogySubType?: ("property" | "key" | "metric") | undefined;
|
|
3456
|
+
calculation?: string | undefined;
|
|
3457
|
+
keys?: string[] | undefined;
|
|
3458
|
+
}[], import('../../stores/resolver').CompletionItem[] | {
|
|
3459
|
+
label: string;
|
|
3460
|
+
description: string;
|
|
3461
|
+
type: string;
|
|
3462
|
+
datatype: string;
|
|
3463
|
+
insertText: string;
|
|
3464
|
+
trilogyType?: ("concept" | "function" | "type") | undefined;
|
|
3465
|
+
trilogySubType?: ("property" | "key" | "metric") | undefined;
|
|
3466
|
+
calculation?: string | undefined;
|
|
3467
|
+
keys?: string[] | undefined;
|
|
3468
|
+
}[]>;
|
|
3469
|
+
drilldownSearchInput: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
3470
|
+
dimensionsList: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
3471
|
+
tooltip: {
|
|
3472
|
+
visible: boolean;
|
|
3473
|
+
x: number;
|
|
3474
|
+
y: number;
|
|
3475
|
+
dimension: {
|
|
3476
|
+
label: string;
|
|
3477
|
+
description: string;
|
|
3478
|
+
type: string;
|
|
3479
|
+
datatype: string;
|
|
3480
|
+
insertText: string;
|
|
3481
|
+
trilogyType?: ("concept" | "function" | "type") | undefined;
|
|
3482
|
+
trilogySubType?: ("property" | "key" | "metric") | undefined;
|
|
3483
|
+
calculation?: string | undefined;
|
|
3484
|
+
keys?: string[] | undefined;
|
|
3485
|
+
};
|
|
3486
|
+
};
|
|
3487
|
+
selected: import('vue').Ref<string[], string[]>;
|
|
3488
|
+
highlightedIndex: import('vue').Ref<number, number>;
|
|
3489
|
+
filterDimensions: () => void;
|
|
3490
|
+
selectDimension: (dimension: import('../../stores/resolver').CompletionItem) => void;
|
|
3491
|
+
removeDimension: (dimensionLabel: string) => void;
|
|
3492
|
+
handleSubmit: () => void;
|
|
3493
|
+
handleClose: () => void;
|
|
3494
|
+
handleSearchKeydown: (event: KeyboardEvent) => void;
|
|
3495
|
+
setHighlightedIndex: (index: number) => void;
|
|
3496
|
+
getIconType: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
3497
|
+
getIconMdiClass: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
3498
|
+
getDimensionChar: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
3499
|
+
getIconClass: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
3500
|
+
getIconTooltip: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
3501
|
+
showTooltip: (event: MouseEvent, dimension: import('../../stores/resolver').CompletionItem) => Promise<void>;
|
|
3502
|
+
hideTooltip: () => void;
|
|
3503
|
+
updateTooltipPosition: (event: MouseEvent) => void;
|
|
3504
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "submit" | "select-dimension" | "remove-dimension")[], "close" | "submit" | "select-dimension" | "remove-dimension", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3505
|
+
drilldownRemove: {
|
|
3506
|
+
type: StringConstructor;
|
|
3507
|
+
required: true;
|
|
3508
|
+
};
|
|
3509
|
+
drilldownFilter: {
|
|
3510
|
+
type: StringConstructor;
|
|
3511
|
+
required: true;
|
|
3512
|
+
};
|
|
3513
|
+
symbols: {
|
|
3514
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
3515
|
+
required: true;
|
|
3516
|
+
};
|
|
3517
|
+
}>> & Readonly<{
|
|
3518
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
3519
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
3520
|
+
"onSelect-dimension"?: ((...args: any[]) => any) | undefined;
|
|
3521
|
+
"onRemove-dimension"?: ((...args: any[]) => any) | undefined;
|
|
3522
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3523
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3524
|
+
HintComponent: import('vue').DefineComponent<{}, {}, {
|
|
3525
|
+
staticShortcuts: {
|
|
3526
|
+
name: string;
|
|
3527
|
+
keys: string[];
|
|
3528
|
+
}[];
|
|
3529
|
+
sysType: string;
|
|
3530
|
+
}, {
|
|
3531
|
+
shortcuts(): Array<any>;
|
|
3532
|
+
icon(): "⌘" | "Ctrl";
|
|
3533
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3534
|
+
LLMEditorRefinement: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3535
|
+
editorId: {
|
|
3536
|
+
type: StringConstructor;
|
|
3537
|
+
required: true;
|
|
3538
|
+
};
|
|
3539
|
+
runEditorQuery: {
|
|
3540
|
+
type: import('vue').PropType<() => Promise<import('../../llm/editorRefinementToolExecutor').QueryExecutionResult>>;
|
|
3541
|
+
default: undefined;
|
|
3542
|
+
};
|
|
3543
|
+
}>, {
|
|
3544
|
+
chatRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3545
|
+
messages: {
|
|
3546
|
+
type: import('vue').PropType<import('../llm').ChatMessage[]>;
|
|
3547
|
+
default: () => never[];
|
|
3548
|
+
};
|
|
3549
|
+
title: {
|
|
3550
|
+
type: StringConstructor;
|
|
3551
|
+
default: string;
|
|
3552
|
+
};
|
|
3553
|
+
editableTitle: {
|
|
3554
|
+
type: BooleanConstructor;
|
|
3555
|
+
default: boolean;
|
|
3556
|
+
};
|
|
3557
|
+
showHeader: {
|
|
3558
|
+
type: BooleanConstructor;
|
|
3559
|
+
default: boolean;
|
|
3560
|
+
};
|
|
3561
|
+
placeholder: {
|
|
3562
|
+
type: import('vue').PropType<string | string[]>;
|
|
3563
|
+
default: string;
|
|
3564
|
+
};
|
|
3565
|
+
sendButtonText: {
|
|
3566
|
+
type: StringConstructor;
|
|
3567
|
+
default: string;
|
|
3568
|
+
};
|
|
3569
|
+
loadingText: {
|
|
3570
|
+
type: StringConstructor;
|
|
3571
|
+
default: string;
|
|
3572
|
+
};
|
|
3573
|
+
activeToolName: {
|
|
3574
|
+
type: StringConstructor;
|
|
3575
|
+
default: string;
|
|
3576
|
+
};
|
|
3577
|
+
disabled: {
|
|
3578
|
+
type: BooleanConstructor;
|
|
3579
|
+
default: boolean;
|
|
3580
|
+
};
|
|
3581
|
+
codeLanguage: {
|
|
3582
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
3583
|
+
default: string;
|
|
3584
|
+
};
|
|
3585
|
+
systemPrompt: {
|
|
3586
|
+
type: StringConstructor;
|
|
3587
|
+
default: string;
|
|
3588
|
+
};
|
|
3589
|
+
externalLoading: {
|
|
3590
|
+
type: BooleanConstructor;
|
|
3591
|
+
default: boolean;
|
|
3592
|
+
};
|
|
3593
|
+
sendHandler: {
|
|
3594
|
+
type: import('vue').PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
|
|
3595
|
+
required: true;
|
|
3596
|
+
};
|
|
3597
|
+
stopHandler: {
|
|
3598
|
+
type: import('vue').PropType<(() => void) | null>;
|
|
3599
|
+
default: null;
|
|
3600
|
+
};
|
|
3601
|
+
stopButtonText: {
|
|
3602
|
+
type: StringConstructor;
|
|
3603
|
+
default: string;
|
|
3604
|
+
};
|
|
3605
|
+
}>> & Readonly<{
|
|
3606
|
+
"onMessage-sent"?: ((...args: any[]) => any) | undefined;
|
|
3607
|
+
"onResponse-received"?: ((...args: any[]) => any) | undefined;
|
|
3608
|
+
"onArtifact-created"?: ((...args: any[]) => any) | undefined;
|
|
3609
|
+
"onUpdate:messages"?: ((...args: any[]) => any) | undefined;
|
|
3610
|
+
"onTitle-update"?: ((...args: any[]) => any) | undefined;
|
|
3611
|
+
}>, {
|
|
3612
|
+
internalMessages: import('vue').Ref<{
|
|
3613
|
+
artifact?: {
|
|
3614
|
+
type: "results" | "chart" | "code" | "custom";
|
|
3615
|
+
data: any;
|
|
3616
|
+
config?: any;
|
|
3617
|
+
} | undefined;
|
|
3618
|
+
executedToolCalls?: {
|
|
3619
|
+
id: string;
|
|
3620
|
+
name: string;
|
|
3621
|
+
input: Record<string, any>;
|
|
3622
|
+
result?: {
|
|
3623
|
+
success: boolean;
|
|
3624
|
+
message?: string | undefined;
|
|
3625
|
+
error?: string | undefined;
|
|
3626
|
+
} | undefined;
|
|
3627
|
+
}[] | undefined;
|
|
3628
|
+
role: "user" | "assistant" | "system";
|
|
3629
|
+
content: string;
|
|
3630
|
+
modelInfo?: {
|
|
3631
|
+
totalTokens: number;
|
|
3632
|
+
} | undefined;
|
|
3633
|
+
hidden?: boolean | undefined;
|
|
3634
|
+
toolCalls?: {
|
|
3635
|
+
id: string;
|
|
3636
|
+
name: string;
|
|
3637
|
+
input: Record<string, any>;
|
|
3638
|
+
}[] | undefined;
|
|
3639
|
+
toolResults?: {
|
|
3640
|
+
toolCallId: string;
|
|
3641
|
+
toolName: string;
|
|
3642
|
+
result: string;
|
|
3643
|
+
}[] | undefined;
|
|
3644
|
+
}[], import('../llm').ChatMessage[] | {
|
|
3645
|
+
artifact?: {
|
|
3646
|
+
type: "results" | "chart" | "code" | "custom";
|
|
3647
|
+
data: any;
|
|
3648
|
+
config?: any;
|
|
3649
|
+
} | undefined;
|
|
3650
|
+
executedToolCalls?: {
|
|
3651
|
+
id: string;
|
|
3652
|
+
name: string;
|
|
3653
|
+
input: Record<string, any>;
|
|
3654
|
+
result?: {
|
|
3655
|
+
success: boolean;
|
|
3656
|
+
message?: string | undefined;
|
|
3657
|
+
error?: string | undefined;
|
|
3658
|
+
} | undefined;
|
|
3659
|
+
}[] | undefined;
|
|
3660
|
+
role: "user" | "assistant" | "system";
|
|
3661
|
+
content: string;
|
|
3662
|
+
modelInfo?: {
|
|
3663
|
+
totalTokens: number;
|
|
3664
|
+
} | undefined;
|
|
3665
|
+
hidden?: boolean | undefined;
|
|
3666
|
+
toolCalls?: {
|
|
3667
|
+
id: string;
|
|
3668
|
+
name: string;
|
|
3669
|
+
input: Record<string, any>;
|
|
3670
|
+
}[] | undefined;
|
|
3671
|
+
toolResults?: {
|
|
3672
|
+
toolCallId: string;
|
|
3673
|
+
toolName: string;
|
|
3674
|
+
result: string;
|
|
3675
|
+
}[] | undefined;
|
|
3676
|
+
}[]>;
|
|
3677
|
+
visibleMessages: import('vue').ComputedRef<{
|
|
3678
|
+
artifact?: {
|
|
3679
|
+
type: "results" | "chart" | "code" | "custom";
|
|
3680
|
+
data: any;
|
|
3681
|
+
config?: any;
|
|
3682
|
+
} | undefined;
|
|
3683
|
+
executedToolCalls?: {
|
|
3684
|
+
id: string;
|
|
3685
|
+
name: string;
|
|
3686
|
+
input: Record<string, any>;
|
|
3687
|
+
result?: {
|
|
3688
|
+
success: boolean;
|
|
3689
|
+
message?: string | undefined;
|
|
3690
|
+
error?: string | undefined;
|
|
3691
|
+
} | undefined;
|
|
3692
|
+
}[] | undefined;
|
|
3693
|
+
role: "user" | "assistant" | "system";
|
|
3694
|
+
content: string;
|
|
3695
|
+
modelInfo?: {
|
|
3696
|
+
totalTokens: number;
|
|
3697
|
+
} | undefined;
|
|
3698
|
+
hidden?: boolean | undefined;
|
|
3699
|
+
toolCalls?: {
|
|
3700
|
+
id: string;
|
|
3701
|
+
name: string;
|
|
3702
|
+
input: Record<string, any>;
|
|
3703
|
+
}[] | undefined;
|
|
3704
|
+
toolResults?: {
|
|
3705
|
+
toolCallId: string;
|
|
3706
|
+
toolName: string;
|
|
3707
|
+
result: string;
|
|
3708
|
+
}[] | undefined;
|
|
3709
|
+
}[]>;
|
|
3710
|
+
userInput: import('vue').Ref<string, string>;
|
|
3711
|
+
isLoading: import('vue').ComputedRef<boolean>;
|
|
3712
|
+
messagesContainer: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
3713
|
+
inputTextarea: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
|
|
3714
|
+
currentPlaceholder: import('vue').ComputedRef<string>;
|
|
3715
|
+
isPlaceholderTransitioning: import('vue').Ref<boolean, boolean>;
|
|
3716
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
3717
|
+
sendMessage: () => Promise<void>;
|
|
3718
|
+
handleStop: () => void;
|
|
3719
|
+
getMessageTextWithoutArtifact: (message: import('../llm').ChatMessage) => string;
|
|
3720
|
+
getToolDisplayText: (toolName: string) => string;
|
|
3721
|
+
getToolDisplayName: (toolName: string) => string;
|
|
3722
|
+
addMessage: (message: import('../llm').ChatMessage) => void;
|
|
3723
|
+
addArtifact: (artifact: import('../llm').ChatArtifactType, text?: string) => void;
|
|
3724
|
+
clearMessages: () => void;
|
|
3725
|
+
scrollToBottom: () => void;
|
|
3726
|
+
focusInput: () => void;
|
|
3727
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("message-sent" | "response-received" | "artifact-created" | "update:messages" | "title-update")[], import('vue').PublicProps, {
|
|
3728
|
+
title: string;
|
|
3729
|
+
disabled: boolean;
|
|
3730
|
+
messages: import('../llm').ChatMessage[];
|
|
3731
|
+
placeholder: string | string[];
|
|
3732
|
+
editableTitle: boolean;
|
|
3733
|
+
showHeader: boolean;
|
|
3734
|
+
sendButtonText: string;
|
|
3735
|
+
loadingText: string;
|
|
3736
|
+
activeToolName: string;
|
|
3737
|
+
codeLanguage: "trilogy" | "sql";
|
|
3738
|
+
systemPrompt: string;
|
|
3739
|
+
externalLoading: boolean;
|
|
3740
|
+
stopHandler: (() => void) | null;
|
|
3741
|
+
stopButtonText: string;
|
|
3742
|
+
}, true, {}, {}, {
|
|
3743
|
+
EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3744
|
+
modelValue: {
|
|
3745
|
+
type: StringConstructor;
|
|
3746
|
+
required: true;
|
|
3747
|
+
};
|
|
3748
|
+
testId: {
|
|
3749
|
+
type: StringConstructor;
|
|
3750
|
+
default: string;
|
|
3751
|
+
};
|
|
3752
|
+
}>, {
|
|
3753
|
+
isEditing: import('vue').Ref<boolean, boolean>;
|
|
3754
|
+
editableName: import('vue').Ref<string, string>;
|
|
3755
|
+
nameInput: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
3756
|
+
startEditing: () => void;
|
|
3757
|
+
finishEditing: () => void;
|
|
3758
|
+
cancelEditing: () => void;
|
|
3759
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3760
|
+
modelValue: {
|
|
3761
|
+
type: StringConstructor;
|
|
3762
|
+
required: true;
|
|
3763
|
+
};
|
|
3764
|
+
testId: {
|
|
3765
|
+
type: StringConstructor;
|
|
3766
|
+
default: string;
|
|
3767
|
+
};
|
|
3768
|
+
}>> & Readonly<{
|
|
3769
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
3770
|
+
}>, {
|
|
3771
|
+
testId: string;
|
|
3772
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3773
|
+
MarkdownRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3774
|
+
markdown: {
|
|
3775
|
+
type: StringConstructor;
|
|
3776
|
+
required: true;
|
|
3777
|
+
default: string;
|
|
3778
|
+
};
|
|
3779
|
+
results: {
|
|
3780
|
+
type: import('vue').PropType<import('../../editors/results').Results | null>;
|
|
3781
|
+
default: null;
|
|
3782
|
+
};
|
|
3783
|
+
loading: {
|
|
3784
|
+
type: BooleanConstructor;
|
|
3785
|
+
default: boolean;
|
|
3786
|
+
};
|
|
3787
|
+
}>, {
|
|
3788
|
+
renderedMarkdown: import('vue').ComputedRef<string>;
|
|
3789
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3790
|
+
markdown: {
|
|
3791
|
+
type: StringConstructor;
|
|
3792
|
+
required: true;
|
|
3793
|
+
default: string;
|
|
3794
|
+
};
|
|
3795
|
+
results: {
|
|
3796
|
+
type: import('vue').PropType<import('../../editors/results').Results | null>;
|
|
3797
|
+
default: null;
|
|
3798
|
+
};
|
|
3799
|
+
loading: {
|
|
3800
|
+
type: BooleanConstructor;
|
|
3801
|
+
default: boolean;
|
|
3802
|
+
};
|
|
3803
|
+
}>> & Readonly<{}>, {
|
|
3804
|
+
results: import('../../editors/results').Results | null;
|
|
3805
|
+
loading: boolean;
|
|
3806
|
+
markdown: string;
|
|
3807
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3808
|
+
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3809
|
+
P: {};
|
|
3810
|
+
B: {};
|
|
3811
|
+
D: {};
|
|
3812
|
+
C: {};
|
|
3813
|
+
M: {};
|
|
3814
|
+
Defaults: {};
|
|
3815
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
3816
|
+
messages: {
|
|
3817
|
+
type: import('vue').PropType<import('../llm').ChatMessage[]>;
|
|
3818
|
+
default: () => never[];
|
|
3819
|
+
};
|
|
3820
|
+
title: {
|
|
3821
|
+
type: StringConstructor;
|
|
3822
|
+
default: string;
|
|
3823
|
+
};
|
|
3824
|
+
editableTitle: {
|
|
3825
|
+
type: BooleanConstructor;
|
|
3826
|
+
default: boolean;
|
|
3827
|
+
};
|
|
3828
|
+
showHeader: {
|
|
3829
|
+
type: BooleanConstructor;
|
|
3830
|
+
default: boolean;
|
|
3831
|
+
};
|
|
3832
|
+
placeholder: {
|
|
3833
|
+
type: import('vue').PropType<string | string[]>;
|
|
3834
|
+
default: string;
|
|
3835
|
+
};
|
|
3836
|
+
sendButtonText: {
|
|
3837
|
+
type: StringConstructor;
|
|
3838
|
+
default: string;
|
|
3839
|
+
};
|
|
3840
|
+
loadingText: {
|
|
3841
|
+
type: StringConstructor;
|
|
3842
|
+
default: string;
|
|
3843
|
+
};
|
|
3844
|
+
activeToolName: {
|
|
3845
|
+
type: StringConstructor;
|
|
3846
|
+
default: string;
|
|
3847
|
+
};
|
|
3848
|
+
disabled: {
|
|
3849
|
+
type: BooleanConstructor;
|
|
3850
|
+
default: boolean;
|
|
3851
|
+
};
|
|
3852
|
+
codeLanguage: {
|
|
3853
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
3854
|
+
default: string;
|
|
3855
|
+
};
|
|
3856
|
+
systemPrompt: {
|
|
3857
|
+
type: StringConstructor;
|
|
3858
|
+
default: string;
|
|
3859
|
+
};
|
|
3860
|
+
externalLoading: {
|
|
3861
|
+
type: BooleanConstructor;
|
|
3862
|
+
default: boolean;
|
|
3863
|
+
};
|
|
3864
|
+
sendHandler: {
|
|
3865
|
+
type: import('vue').PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
|
|
3866
|
+
required: true;
|
|
3867
|
+
};
|
|
3868
|
+
stopHandler: {
|
|
3869
|
+
type: import('vue').PropType<(() => void) | null>;
|
|
3870
|
+
default: null;
|
|
3871
|
+
};
|
|
3872
|
+
stopButtonText: {
|
|
3873
|
+
type: StringConstructor;
|
|
3874
|
+
default: string;
|
|
3875
|
+
};
|
|
3876
|
+
}>> & Readonly<{
|
|
3877
|
+
"onMessage-sent"?: ((...args: any[]) => any) | undefined;
|
|
3878
|
+
"onResponse-received"?: ((...args: any[]) => any) | undefined;
|
|
3879
|
+
"onArtifact-created"?: ((...args: any[]) => any) | undefined;
|
|
3880
|
+
"onUpdate:messages"?: ((...args: any[]) => any) | undefined;
|
|
3881
|
+
"onTitle-update"?: ((...args: any[]) => any) | undefined;
|
|
3882
|
+
}>, {
|
|
3883
|
+
internalMessages: import('vue').Ref<{
|
|
3884
|
+
artifact?: {
|
|
3885
|
+
type: "results" | "chart" | "code" | "custom";
|
|
3886
|
+
data: any;
|
|
3887
|
+
config?: any;
|
|
3888
|
+
} | undefined;
|
|
3889
|
+
executedToolCalls?: {
|
|
3890
|
+
id: string;
|
|
3891
|
+
name: string;
|
|
3892
|
+
input: Record<string, any>;
|
|
3893
|
+
result?: {
|
|
3894
|
+
success: boolean;
|
|
3895
|
+
message?: string | undefined;
|
|
3896
|
+
error?: string | undefined;
|
|
3897
|
+
} | undefined;
|
|
3898
|
+
}[] | undefined;
|
|
3899
|
+
role: "user" | "assistant" | "system";
|
|
3900
|
+
content: string;
|
|
3901
|
+
modelInfo?: {
|
|
3902
|
+
totalTokens: number;
|
|
3903
|
+
} | undefined;
|
|
3904
|
+
hidden?: boolean | undefined;
|
|
3905
|
+
toolCalls?: {
|
|
3906
|
+
id: string;
|
|
3907
|
+
name: string;
|
|
3908
|
+
input: Record<string, any>;
|
|
3909
|
+
}[] | undefined;
|
|
3910
|
+
toolResults?: {
|
|
3911
|
+
toolCallId: string;
|
|
3912
|
+
toolName: string;
|
|
3913
|
+
result: string;
|
|
3914
|
+
}[] | undefined;
|
|
3915
|
+
}[], import('../llm').ChatMessage[] | {
|
|
3916
|
+
artifact?: {
|
|
3917
|
+
type: "results" | "chart" | "code" | "custom";
|
|
3918
|
+
data: any;
|
|
3919
|
+
config?: any;
|
|
3920
|
+
} | undefined;
|
|
3921
|
+
executedToolCalls?: {
|
|
3922
|
+
id: string;
|
|
3923
|
+
name: string;
|
|
3924
|
+
input: Record<string, any>;
|
|
3925
|
+
result?: {
|
|
3926
|
+
success: boolean;
|
|
3927
|
+
message?: string | undefined;
|
|
3928
|
+
error?: string | undefined;
|
|
3929
|
+
} | undefined;
|
|
3930
|
+
}[] | undefined;
|
|
3931
|
+
role: "user" | "assistant" | "system";
|
|
3932
|
+
content: string;
|
|
3933
|
+
modelInfo?: {
|
|
3934
|
+
totalTokens: number;
|
|
3935
|
+
} | undefined;
|
|
3936
|
+
hidden?: boolean | undefined;
|
|
3937
|
+
toolCalls?: {
|
|
3938
|
+
id: string;
|
|
3939
|
+
name: string;
|
|
3940
|
+
input: Record<string, any>;
|
|
3941
|
+
}[] | undefined;
|
|
3942
|
+
toolResults?: {
|
|
3943
|
+
toolCallId: string;
|
|
3944
|
+
toolName: string;
|
|
3945
|
+
result: string;
|
|
3946
|
+
}[] | undefined;
|
|
3947
|
+
}[]>;
|
|
3948
|
+
visibleMessages: import('vue').ComputedRef<{
|
|
3949
|
+
artifact?: {
|
|
3950
|
+
type: "results" | "chart" | "code" | "custom";
|
|
3951
|
+
data: any;
|
|
3952
|
+
config?: any;
|
|
3953
|
+
} | undefined;
|
|
3954
|
+
executedToolCalls?: {
|
|
3955
|
+
id: string;
|
|
3956
|
+
name: string;
|
|
3957
|
+
input: Record<string, any>;
|
|
3958
|
+
result?: {
|
|
3959
|
+
success: boolean;
|
|
3960
|
+
message?: string | undefined;
|
|
3961
|
+
error?: string | undefined;
|
|
3962
|
+
} | undefined;
|
|
3963
|
+
}[] | undefined;
|
|
3964
|
+
role: "user" | "assistant" | "system";
|
|
3965
|
+
content: string;
|
|
3966
|
+
modelInfo?: {
|
|
3967
|
+
totalTokens: number;
|
|
3968
|
+
} | undefined;
|
|
3969
|
+
hidden?: boolean | undefined;
|
|
3970
|
+
toolCalls?: {
|
|
3971
|
+
id: string;
|
|
3972
|
+
name: string;
|
|
3973
|
+
input: Record<string, any>;
|
|
3974
|
+
}[] | undefined;
|
|
3975
|
+
toolResults?: {
|
|
3976
|
+
toolCallId: string;
|
|
3977
|
+
toolName: string;
|
|
3978
|
+
result: string;
|
|
3979
|
+
}[] | undefined;
|
|
3980
|
+
}[]>;
|
|
3981
|
+
userInput: import('vue').Ref<string, string>;
|
|
3982
|
+
isLoading: import('vue').ComputedRef<boolean>;
|
|
3983
|
+
messagesContainer: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
3984
|
+
inputTextarea: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
|
|
3985
|
+
currentPlaceholder: import('vue').ComputedRef<string>;
|
|
3986
|
+
isPlaceholderTransitioning: import('vue').Ref<boolean, boolean>;
|
|
3987
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
3988
|
+
sendMessage: () => Promise<void>;
|
|
3989
|
+
handleStop: () => void;
|
|
3990
|
+
getMessageTextWithoutArtifact: (message: import('../llm').ChatMessage) => string;
|
|
3991
|
+
getToolDisplayText: (toolName: string) => string;
|
|
3992
|
+
getToolDisplayName: (toolName: string) => string;
|
|
3993
|
+
addMessage: (message: import('../llm').ChatMessage) => void;
|
|
3994
|
+
addArtifact: (artifact: import('../llm').ChatArtifactType, text?: string) => void;
|
|
3995
|
+
clearMessages: () => void;
|
|
3996
|
+
scrollToBottom: () => void;
|
|
3997
|
+
focusInput: () => void;
|
|
3998
|
+
}, {}, {}, {}, {
|
|
3999
|
+
title: string;
|
|
4000
|
+
disabled: boolean;
|
|
4001
|
+
messages: import('../llm').ChatMessage[];
|
|
4002
|
+
placeholder: string | string[];
|
|
4003
|
+
editableTitle: boolean;
|
|
4004
|
+
showHeader: boolean;
|
|
4005
|
+
sendButtonText: string;
|
|
4006
|
+
loadingText: string;
|
|
4007
|
+
activeToolName: string;
|
|
4008
|
+
codeLanguage: "trilogy" | "sql";
|
|
4009
|
+
systemPrompt: string;
|
|
4010
|
+
externalLoading: boolean;
|
|
4011
|
+
stopHandler: (() => void) | null;
|
|
4012
|
+
stopButtonText: string;
|
|
4013
|
+
}> | null, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4014
|
+
messages: {
|
|
4015
|
+
type: import('vue').PropType<import('../llm').ChatMessage[]>;
|
|
4016
|
+
default: () => never[];
|
|
4017
|
+
};
|
|
4018
|
+
title: {
|
|
4019
|
+
type: StringConstructor;
|
|
4020
|
+
default: string;
|
|
4021
|
+
};
|
|
4022
|
+
editableTitle: {
|
|
4023
|
+
type: BooleanConstructor;
|
|
4024
|
+
default: boolean;
|
|
4025
|
+
};
|
|
4026
|
+
showHeader: {
|
|
4027
|
+
type: BooleanConstructor;
|
|
4028
|
+
default: boolean;
|
|
4029
|
+
};
|
|
4030
|
+
placeholder: {
|
|
4031
|
+
type: import('vue').PropType<string | string[]>;
|
|
4032
|
+
default: string;
|
|
4033
|
+
};
|
|
4034
|
+
sendButtonText: {
|
|
4035
|
+
type: StringConstructor;
|
|
4036
|
+
default: string;
|
|
4037
|
+
};
|
|
4038
|
+
loadingText: {
|
|
4039
|
+
type: StringConstructor;
|
|
4040
|
+
default: string;
|
|
4041
|
+
};
|
|
4042
|
+
activeToolName: {
|
|
4043
|
+
type: StringConstructor;
|
|
4044
|
+
default: string;
|
|
4045
|
+
};
|
|
4046
|
+
disabled: {
|
|
4047
|
+
type: BooleanConstructor;
|
|
4048
|
+
default: boolean;
|
|
4049
|
+
};
|
|
4050
|
+
codeLanguage: {
|
|
4051
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
4052
|
+
default: string;
|
|
4053
|
+
};
|
|
4054
|
+
systemPrompt: {
|
|
4055
|
+
type: StringConstructor;
|
|
4056
|
+
default: string;
|
|
4057
|
+
};
|
|
4058
|
+
externalLoading: {
|
|
4059
|
+
type: BooleanConstructor;
|
|
4060
|
+
default: boolean;
|
|
4061
|
+
};
|
|
4062
|
+
sendHandler: {
|
|
4063
|
+
type: import('vue').PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
|
|
4064
|
+
required: true;
|
|
4065
|
+
};
|
|
4066
|
+
stopHandler: {
|
|
4067
|
+
type: import('vue').PropType<(() => void) | null>;
|
|
4068
|
+
default: null;
|
|
4069
|
+
};
|
|
4070
|
+
stopButtonText: {
|
|
4071
|
+
type: StringConstructor;
|
|
4072
|
+
default: string;
|
|
4073
|
+
};
|
|
4074
|
+
}>> & Readonly<{
|
|
4075
|
+
"onMessage-sent"?: ((...args: any[]) => any) | undefined;
|
|
4076
|
+
"onResponse-received"?: ((...args: any[]) => any) | undefined;
|
|
4077
|
+
"onArtifact-created"?: ((...args: any[]) => any) | undefined;
|
|
4078
|
+
"onUpdate:messages"?: ((...args: any[]) => any) | undefined;
|
|
4079
|
+
"onTitle-update"?: ((...args: any[]) => any) | undefined;
|
|
4080
|
+
}>, {
|
|
4081
|
+
internalMessages: import('vue').Ref<{
|
|
4082
|
+
artifact?: {
|
|
4083
|
+
type: "results" | "chart" | "code" | "custom";
|
|
4084
|
+
data: any;
|
|
4085
|
+
config?: any;
|
|
4086
|
+
} | undefined;
|
|
4087
|
+
executedToolCalls?: {
|
|
4088
|
+
id: string;
|
|
4089
|
+
name: string;
|
|
4090
|
+
input: Record<string, any>;
|
|
4091
|
+
result?: {
|
|
4092
|
+
success: boolean;
|
|
4093
|
+
message?: string | undefined;
|
|
4094
|
+
error?: string | undefined;
|
|
4095
|
+
} | undefined;
|
|
4096
|
+
}[] | undefined;
|
|
4097
|
+
role: "user" | "assistant" | "system";
|
|
4098
|
+
content: string;
|
|
4099
|
+
modelInfo?: {
|
|
4100
|
+
totalTokens: number;
|
|
4101
|
+
} | undefined;
|
|
4102
|
+
hidden?: boolean | undefined;
|
|
4103
|
+
toolCalls?: {
|
|
4104
|
+
id: string;
|
|
4105
|
+
name: string;
|
|
4106
|
+
input: Record<string, any>;
|
|
4107
|
+
}[] | undefined;
|
|
4108
|
+
toolResults?: {
|
|
4109
|
+
toolCallId: string;
|
|
4110
|
+
toolName: string;
|
|
4111
|
+
result: string;
|
|
4112
|
+
}[] | undefined;
|
|
4113
|
+
}[], import('../llm').ChatMessage[] | {
|
|
4114
|
+
artifact?: {
|
|
4115
|
+
type: "results" | "chart" | "code" | "custom";
|
|
4116
|
+
data: any;
|
|
4117
|
+
config?: any;
|
|
4118
|
+
} | undefined;
|
|
4119
|
+
executedToolCalls?: {
|
|
4120
|
+
id: string;
|
|
4121
|
+
name: string;
|
|
4122
|
+
input: Record<string, any>;
|
|
4123
|
+
result?: {
|
|
4124
|
+
success: boolean;
|
|
4125
|
+
message?: string | undefined;
|
|
4126
|
+
error?: string | undefined;
|
|
4127
|
+
} | undefined;
|
|
4128
|
+
}[] | undefined;
|
|
4129
|
+
role: "user" | "assistant" | "system";
|
|
4130
|
+
content: string;
|
|
4131
|
+
modelInfo?: {
|
|
4132
|
+
totalTokens: number;
|
|
4133
|
+
} | undefined;
|
|
4134
|
+
hidden?: boolean | undefined;
|
|
4135
|
+
toolCalls?: {
|
|
4136
|
+
id: string;
|
|
4137
|
+
name: string;
|
|
4138
|
+
input: Record<string, any>;
|
|
4139
|
+
}[] | undefined;
|
|
4140
|
+
toolResults?: {
|
|
4141
|
+
toolCallId: string;
|
|
4142
|
+
toolName: string;
|
|
4143
|
+
result: string;
|
|
4144
|
+
}[] | undefined;
|
|
4145
|
+
}[]>;
|
|
4146
|
+
visibleMessages: import('vue').ComputedRef<{
|
|
4147
|
+
artifact?: {
|
|
4148
|
+
type: "results" | "chart" | "code" | "custom";
|
|
4149
|
+
data: any;
|
|
4150
|
+
config?: any;
|
|
4151
|
+
} | undefined;
|
|
4152
|
+
executedToolCalls?: {
|
|
4153
|
+
id: string;
|
|
4154
|
+
name: string;
|
|
4155
|
+
input: Record<string, any>;
|
|
4156
|
+
result?: {
|
|
4157
|
+
success: boolean;
|
|
4158
|
+
message?: string | undefined;
|
|
4159
|
+
error?: string | undefined;
|
|
4160
|
+
} | undefined;
|
|
4161
|
+
}[] | undefined;
|
|
4162
|
+
role: "user" | "assistant" | "system";
|
|
4163
|
+
content: string;
|
|
4164
|
+
modelInfo?: {
|
|
4165
|
+
totalTokens: number;
|
|
4166
|
+
} | undefined;
|
|
4167
|
+
hidden?: boolean | undefined;
|
|
4168
|
+
toolCalls?: {
|
|
4169
|
+
id: string;
|
|
4170
|
+
name: string;
|
|
4171
|
+
input: Record<string, any>;
|
|
4172
|
+
}[] | undefined;
|
|
4173
|
+
toolResults?: {
|
|
4174
|
+
toolCallId: string;
|
|
4175
|
+
toolName: string;
|
|
4176
|
+
result: string;
|
|
4177
|
+
}[] | undefined;
|
|
4178
|
+
}[]>;
|
|
4179
|
+
userInput: import('vue').Ref<string, string>;
|
|
4180
|
+
isLoading: import('vue').ComputedRef<boolean>;
|
|
4181
|
+
messagesContainer: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
4182
|
+
inputTextarea: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
|
|
4183
|
+
currentPlaceholder: import('vue').ComputedRef<string>;
|
|
4184
|
+
isPlaceholderTransitioning: import('vue').Ref<boolean, boolean>;
|
|
4185
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
4186
|
+
sendMessage: () => Promise<void>;
|
|
4187
|
+
handleStop: () => void;
|
|
4188
|
+
getMessageTextWithoutArtifact: (message: import('../llm').ChatMessage) => string;
|
|
4189
|
+
getToolDisplayText: (toolName: string) => string;
|
|
4190
|
+
getToolDisplayName: (toolName: string) => string;
|
|
4191
|
+
addMessage: (message: import('../llm').ChatMessage) => void;
|
|
4192
|
+
addArtifact: (artifact: import('../llm').ChatArtifactType, text?: string) => void;
|
|
4193
|
+
clearMessages: () => void;
|
|
4194
|
+
scrollToBottom: () => void;
|
|
4195
|
+
focusInput: () => void;
|
|
4196
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("message-sent" | "response-received" | "artifact-created" | "update:messages" | "title-update")[], import('vue').PublicProps, {
|
|
4197
|
+
title: string;
|
|
4198
|
+
disabled: boolean;
|
|
4199
|
+
messages: import('../llm').ChatMessage[];
|
|
4200
|
+
placeholder: string | string[];
|
|
4201
|
+
editableTitle: boolean;
|
|
4202
|
+
showHeader: boolean;
|
|
4203
|
+
sendButtonText: string;
|
|
4204
|
+
loadingText: string;
|
|
4205
|
+
activeToolName: string;
|
|
4206
|
+
codeLanguage: "trilogy" | "sql";
|
|
4207
|
+
systemPrompt: string;
|
|
4208
|
+
externalLoading: boolean;
|
|
4209
|
+
stopHandler: (() => void) | null;
|
|
4210
|
+
stopButtonText: string;
|
|
4211
|
+
}, true, {}, {}, {
|
|
4212
|
+
EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4213
|
+
modelValue: {
|
|
4214
|
+
type: StringConstructor;
|
|
4215
|
+
required: true;
|
|
4216
|
+
};
|
|
4217
|
+
testId: {
|
|
4218
|
+
type: StringConstructor;
|
|
4219
|
+
default: string;
|
|
4220
|
+
};
|
|
4221
|
+
}>, {
|
|
4222
|
+
isEditing: import('vue').Ref<boolean, boolean>;
|
|
4223
|
+
editableName: import('vue').Ref<string, string>;
|
|
4224
|
+
nameInput: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
4225
|
+
startEditing: () => void;
|
|
4226
|
+
finishEditing: () => void;
|
|
4227
|
+
cancelEditing: () => void;
|
|
4228
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4229
|
+
modelValue: {
|
|
4230
|
+
type: StringConstructor;
|
|
4231
|
+
required: true;
|
|
4232
|
+
};
|
|
4233
|
+
testId: {
|
|
4234
|
+
type: StringConstructor;
|
|
4235
|
+
default: string;
|
|
4236
|
+
};
|
|
4237
|
+
}>> & Readonly<{
|
|
4238
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
4239
|
+
}>, {
|
|
4240
|
+
testId: string;
|
|
4241
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4242
|
+
MarkdownRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4243
|
+
markdown: {
|
|
4244
|
+
type: StringConstructor;
|
|
4245
|
+
required: true;
|
|
4246
|
+
default: string;
|
|
4247
|
+
};
|
|
4248
|
+
results: {
|
|
4249
|
+
type: import('vue').PropType<import('../../editors/results').Results | null>;
|
|
4250
|
+
default: null;
|
|
4251
|
+
};
|
|
4252
|
+
loading: {
|
|
4253
|
+
type: BooleanConstructor;
|
|
4254
|
+
default: boolean;
|
|
4255
|
+
};
|
|
4256
|
+
}>, {
|
|
4257
|
+
renderedMarkdown: import('vue').ComputedRef<string>;
|
|
4258
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4259
|
+
markdown: {
|
|
4260
|
+
type: StringConstructor;
|
|
4261
|
+
required: true;
|
|
4262
|
+
default: string;
|
|
4263
|
+
};
|
|
4264
|
+
results: {
|
|
4265
|
+
type: import('vue').PropType<import('../../editors/results').Results | null>;
|
|
4266
|
+
default: null;
|
|
4267
|
+
};
|
|
4268
|
+
loading: {
|
|
4269
|
+
type: BooleanConstructor;
|
|
4270
|
+
default: boolean;
|
|
4271
|
+
};
|
|
4272
|
+
}>> & Readonly<{}>, {
|
|
4273
|
+
results: import('../../editors/results').Results | null;
|
|
4274
|
+
loading: boolean;
|
|
4275
|
+
markdown: string;
|
|
4276
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4277
|
+
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4278
|
+
P: {};
|
|
4279
|
+
B: {};
|
|
4280
|
+
D: {};
|
|
4281
|
+
C: {};
|
|
4282
|
+
M: {};
|
|
4283
|
+
Defaults: {};
|
|
4284
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
4285
|
+
messages: {
|
|
4286
|
+
type: import('vue').PropType<import('../llm').ChatMessage[]>;
|
|
4287
|
+
default: () => never[];
|
|
4288
|
+
};
|
|
4289
|
+
title: {
|
|
4290
|
+
type: StringConstructor;
|
|
4291
|
+
default: string;
|
|
4292
|
+
};
|
|
4293
|
+
editableTitle: {
|
|
4294
|
+
type: BooleanConstructor;
|
|
4295
|
+
default: boolean;
|
|
4296
|
+
};
|
|
4297
|
+
showHeader: {
|
|
4298
|
+
type: BooleanConstructor;
|
|
4299
|
+
default: boolean;
|
|
4300
|
+
};
|
|
4301
|
+
placeholder: {
|
|
4302
|
+
type: import('vue').PropType<string | string[]>;
|
|
4303
|
+
default: string;
|
|
4304
|
+
};
|
|
4305
|
+
sendButtonText: {
|
|
4306
|
+
type: StringConstructor;
|
|
4307
|
+
default: string;
|
|
4308
|
+
};
|
|
4309
|
+
loadingText: {
|
|
4310
|
+
type: StringConstructor;
|
|
4311
|
+
default: string;
|
|
4312
|
+
};
|
|
4313
|
+
activeToolName: {
|
|
4314
|
+
type: StringConstructor;
|
|
4315
|
+
default: string;
|
|
4316
|
+
};
|
|
4317
|
+
disabled: {
|
|
4318
|
+
type: BooleanConstructor;
|
|
4319
|
+
default: boolean;
|
|
4320
|
+
};
|
|
4321
|
+
codeLanguage: {
|
|
4322
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
4323
|
+
default: string;
|
|
4324
|
+
};
|
|
4325
|
+
systemPrompt: {
|
|
4326
|
+
type: StringConstructor;
|
|
4327
|
+
default: string;
|
|
4328
|
+
};
|
|
4329
|
+
externalLoading: {
|
|
4330
|
+
type: BooleanConstructor;
|
|
4331
|
+
default: boolean;
|
|
4332
|
+
};
|
|
4333
|
+
sendHandler: {
|
|
4334
|
+
type: import('vue').PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
|
|
4335
|
+
required: true;
|
|
4336
|
+
};
|
|
4337
|
+
stopHandler: {
|
|
4338
|
+
type: import('vue').PropType<(() => void) | null>;
|
|
4339
|
+
default: null;
|
|
4340
|
+
};
|
|
4341
|
+
stopButtonText: {
|
|
4342
|
+
type: StringConstructor;
|
|
4343
|
+
default: string;
|
|
4344
|
+
};
|
|
4345
|
+
}>> & Readonly<{
|
|
4346
|
+
"onMessage-sent"?: ((...args: any[]) => any) | undefined;
|
|
4347
|
+
"onResponse-received"?: ((...args: any[]) => any) | undefined;
|
|
4348
|
+
"onArtifact-created"?: ((...args: any[]) => any) | undefined;
|
|
4349
|
+
"onUpdate:messages"?: ((...args: any[]) => any) | undefined;
|
|
4350
|
+
"onTitle-update"?: ((...args: any[]) => any) | undefined;
|
|
4351
|
+
}>, {
|
|
4352
|
+
internalMessages: import('vue').Ref<{
|
|
4353
|
+
artifact?: {
|
|
4354
|
+
type: "results" | "chart" | "code" | "custom";
|
|
4355
|
+
data: any;
|
|
4356
|
+
config?: any;
|
|
4357
|
+
} | undefined;
|
|
4358
|
+
executedToolCalls?: {
|
|
4359
|
+
id: string;
|
|
4360
|
+
name: string;
|
|
4361
|
+
input: Record<string, any>;
|
|
4362
|
+
result?: {
|
|
4363
|
+
success: boolean;
|
|
4364
|
+
message?: string | undefined;
|
|
4365
|
+
error?: string | undefined;
|
|
4366
|
+
} | undefined;
|
|
4367
|
+
}[] | undefined;
|
|
4368
|
+
role: "user" | "assistant" | "system";
|
|
4369
|
+
content: string;
|
|
4370
|
+
modelInfo?: {
|
|
4371
|
+
totalTokens: number;
|
|
4372
|
+
} | undefined;
|
|
4373
|
+
hidden?: boolean | undefined;
|
|
4374
|
+
toolCalls?: {
|
|
4375
|
+
id: string;
|
|
4376
|
+
name: string;
|
|
4377
|
+
input: Record<string, any>;
|
|
4378
|
+
}[] | undefined;
|
|
4379
|
+
toolResults?: {
|
|
4380
|
+
toolCallId: string;
|
|
4381
|
+
toolName: string;
|
|
4382
|
+
result: string;
|
|
4383
|
+
}[] | undefined;
|
|
4384
|
+
}[], import('../llm').ChatMessage[] | {
|
|
4385
|
+
artifact?: {
|
|
4386
|
+
type: "results" | "chart" | "code" | "custom";
|
|
4387
|
+
data: any;
|
|
4388
|
+
config?: any;
|
|
4389
|
+
} | undefined;
|
|
4390
|
+
executedToolCalls?: {
|
|
4391
|
+
id: string;
|
|
4392
|
+
name: string;
|
|
4393
|
+
input: Record<string, any>;
|
|
4394
|
+
result?: {
|
|
4395
|
+
success: boolean;
|
|
4396
|
+
message?: string | undefined;
|
|
4397
|
+
error?: string | undefined;
|
|
4398
|
+
} | undefined;
|
|
4399
|
+
}[] | undefined;
|
|
4400
|
+
role: "user" | "assistant" | "system";
|
|
4401
|
+
content: string;
|
|
4402
|
+
modelInfo?: {
|
|
4403
|
+
totalTokens: number;
|
|
4404
|
+
} | undefined;
|
|
4405
|
+
hidden?: boolean | undefined;
|
|
4406
|
+
toolCalls?: {
|
|
4407
|
+
id: string;
|
|
4408
|
+
name: string;
|
|
4409
|
+
input: Record<string, any>;
|
|
4410
|
+
}[] | undefined;
|
|
4411
|
+
toolResults?: {
|
|
4412
|
+
toolCallId: string;
|
|
4413
|
+
toolName: string;
|
|
4414
|
+
result: string;
|
|
4415
|
+
}[] | undefined;
|
|
4416
|
+
}[]>;
|
|
4417
|
+
visibleMessages: import('vue').ComputedRef<{
|
|
4418
|
+
artifact?: {
|
|
4419
|
+
type: "results" | "chart" | "code" | "custom";
|
|
4420
|
+
data: any;
|
|
4421
|
+
config?: any;
|
|
4422
|
+
} | undefined;
|
|
4423
|
+
executedToolCalls?: {
|
|
4424
|
+
id: string;
|
|
4425
|
+
name: string;
|
|
4426
|
+
input: Record<string, any>;
|
|
4427
|
+
result?: {
|
|
4428
|
+
success: boolean;
|
|
4429
|
+
message?: string | undefined;
|
|
4430
|
+
error?: string | undefined;
|
|
4431
|
+
} | undefined;
|
|
4432
|
+
}[] | undefined;
|
|
4433
|
+
role: "user" | "assistant" | "system";
|
|
4434
|
+
content: string;
|
|
4435
|
+
modelInfo?: {
|
|
4436
|
+
totalTokens: number;
|
|
4437
|
+
} | undefined;
|
|
4438
|
+
hidden?: boolean | undefined;
|
|
4439
|
+
toolCalls?: {
|
|
4440
|
+
id: string;
|
|
4441
|
+
name: string;
|
|
4442
|
+
input: Record<string, any>;
|
|
4443
|
+
}[] | undefined;
|
|
4444
|
+
toolResults?: {
|
|
4445
|
+
toolCallId: string;
|
|
4446
|
+
toolName: string;
|
|
4447
|
+
result: string;
|
|
4448
|
+
}[] | undefined;
|
|
4449
|
+
}[]>;
|
|
4450
|
+
userInput: import('vue').Ref<string, string>;
|
|
4451
|
+
isLoading: import('vue').ComputedRef<boolean>;
|
|
4452
|
+
messagesContainer: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
4453
|
+
inputTextarea: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
|
|
4454
|
+
currentPlaceholder: import('vue').ComputedRef<string>;
|
|
4455
|
+
isPlaceholderTransitioning: import('vue').Ref<boolean, boolean>;
|
|
4456
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
4457
|
+
sendMessage: () => Promise<void>;
|
|
4458
|
+
handleStop: () => void;
|
|
4459
|
+
getMessageTextWithoutArtifact: (message: import('../llm').ChatMessage) => string;
|
|
4460
|
+
getToolDisplayText: (toolName: string) => string;
|
|
4461
|
+
getToolDisplayName: (toolName: string) => string;
|
|
4462
|
+
addMessage: (message: import('../llm').ChatMessage) => void;
|
|
4463
|
+
addArtifact: (artifact: import('../llm').ChatArtifactType, text?: string) => void;
|
|
4464
|
+
clearMessages: () => void;
|
|
4465
|
+
scrollToBottom: () => void;
|
|
4466
|
+
focusInput: () => void;
|
|
4467
|
+
}, {}, {}, {}, {
|
|
4468
|
+
title: string;
|
|
4469
|
+
disabled: boolean;
|
|
4470
|
+
messages: import('../llm').ChatMessage[];
|
|
4471
|
+
placeholder: string | string[];
|
|
4472
|
+
editableTitle: boolean;
|
|
4473
|
+
showHeader: boolean;
|
|
4474
|
+
sendButtonText: string;
|
|
4475
|
+
loadingText: string;
|
|
4476
|
+
activeToolName: string;
|
|
4477
|
+
codeLanguage: "trilogy" | "sql";
|
|
4478
|
+
systemPrompt: string;
|
|
4479
|
+
externalLoading: boolean;
|
|
4480
|
+
stopHandler: (() => void) | null;
|
|
4481
|
+
stopButtonText: string;
|
|
4482
|
+
}> | null>;
|
|
4483
|
+
messages: import('vue').ComputedRef<import('../llm').ChatMessage[]>;
|
|
4484
|
+
artifacts: import('vue').ComputedRef<import('../llm').ChatArtifactType[]>;
|
|
4485
|
+
isLoading: import('vue').ComputedRef<boolean>;
|
|
4486
|
+
activeToolName: import('vue').ComputedRef<string>;
|
|
4487
|
+
connectionInfo: import('vue').ComputedRef<string>;
|
|
4488
|
+
placeholders: string[];
|
|
4489
|
+
handleSendMessage: (message: string, _msgs: import('../llm').ChatMessage[]) => Promise<void>;
|
|
4490
|
+
handleMessagesUpdate: (_newMessages: import('../llm').ChatMessage[]) => void;
|
|
4491
|
+
handleAccept: () => void;
|
|
4492
|
+
handleDiscard: () => void;
|
|
4493
|
+
handleStop: () => void;
|
|
4494
|
+
getArtifactResults: (artifact: import('../llm').ChatArtifactType) => import('../../editors/results').Results | null;
|
|
4495
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("accept" | "discard" | "content-change" | "chart-config-change")[], "accept" | "discard" | "content-change" | "chart-config-change", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4496
|
+
editorId: {
|
|
4497
|
+
type: StringConstructor;
|
|
4498
|
+
required: true;
|
|
4499
|
+
};
|
|
4500
|
+
runEditorQuery: {
|
|
4501
|
+
type: import('vue').PropType<() => Promise<import('../../llm/editorRefinementToolExecutor').QueryExecutionResult>>;
|
|
4502
|
+
default: undefined;
|
|
4503
|
+
};
|
|
4504
|
+
}>> & Readonly<{
|
|
4505
|
+
onDiscard?: ((...args: any[]) => any) | undefined;
|
|
4506
|
+
onAccept?: ((...args: any[]) => any) | undefined;
|
|
4507
|
+
"onContent-change"?: ((...args: any[]) => any) | undefined;
|
|
4508
|
+
"onChart-config-change"?: ((...args: any[]) => any) | undefined;
|
|
4509
|
+
}>, {
|
|
4510
|
+
runEditorQuery: () => Promise<import('../../llm/editorRefinementToolExecutor').QueryExecutionResult>;
|
|
4511
|
+
}, {}, {
|
|
4512
|
+
LLMChat: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4513
|
+
messages: {
|
|
4514
|
+
type: import('vue').PropType<import('../llm').ChatMessage[]>;
|
|
4515
|
+
default: () => never[];
|
|
4516
|
+
};
|
|
4517
|
+
title: {
|
|
4518
|
+
type: StringConstructor;
|
|
4519
|
+
default: string;
|
|
4520
|
+
};
|
|
4521
|
+
editableTitle: {
|
|
4522
|
+
type: BooleanConstructor;
|
|
4523
|
+
default: boolean;
|
|
4524
|
+
};
|
|
4525
|
+
showHeader: {
|
|
4526
|
+
type: BooleanConstructor;
|
|
4527
|
+
default: boolean;
|
|
4528
|
+
};
|
|
4529
|
+
placeholder: {
|
|
4530
|
+
type: import('vue').PropType<string | string[]>;
|
|
4531
|
+
default: string;
|
|
4532
|
+
};
|
|
4533
|
+
sendButtonText: {
|
|
4534
|
+
type: StringConstructor;
|
|
4535
|
+
default: string;
|
|
4536
|
+
};
|
|
4537
|
+
loadingText: {
|
|
4538
|
+
type: StringConstructor;
|
|
4539
|
+
default: string;
|
|
4540
|
+
};
|
|
4541
|
+
activeToolName: {
|
|
4542
|
+
type: StringConstructor;
|
|
4543
|
+
default: string;
|
|
4544
|
+
};
|
|
4545
|
+
disabled: {
|
|
4546
|
+
type: BooleanConstructor;
|
|
4547
|
+
default: boolean;
|
|
4548
|
+
};
|
|
4549
|
+
codeLanguage: {
|
|
4550
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
4551
|
+
default: string;
|
|
4552
|
+
};
|
|
4553
|
+
systemPrompt: {
|
|
4554
|
+
type: StringConstructor;
|
|
4555
|
+
default: string;
|
|
4556
|
+
};
|
|
4557
|
+
externalLoading: {
|
|
4558
|
+
type: BooleanConstructor;
|
|
4559
|
+
default: boolean;
|
|
4560
|
+
};
|
|
4561
|
+
sendHandler: {
|
|
4562
|
+
type: import('vue').PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
|
|
4563
|
+
required: true;
|
|
4564
|
+
};
|
|
4565
|
+
stopHandler: {
|
|
4566
|
+
type: import('vue').PropType<(() => void) | null>;
|
|
4567
|
+
default: null;
|
|
4568
|
+
};
|
|
4569
|
+
stopButtonText: {
|
|
4570
|
+
type: StringConstructor;
|
|
4571
|
+
default: string;
|
|
4572
|
+
};
|
|
4573
|
+
}>, {
|
|
4574
|
+
internalMessages: import('vue').Ref<{
|
|
4575
|
+
artifact?: {
|
|
4576
|
+
type: "results" | "chart" | "code" | "custom";
|
|
4577
|
+
data: any;
|
|
4578
|
+
config?: any;
|
|
4579
|
+
} | undefined;
|
|
4580
|
+
executedToolCalls?: {
|
|
4581
|
+
id: string;
|
|
4582
|
+
name: string;
|
|
4583
|
+
input: Record<string, any>;
|
|
4584
|
+
result?: {
|
|
4585
|
+
success: boolean;
|
|
4586
|
+
message?: string | undefined;
|
|
4587
|
+
error?: string | undefined;
|
|
4588
|
+
} | undefined;
|
|
4589
|
+
}[] | undefined;
|
|
4590
|
+
role: "user" | "assistant" | "system";
|
|
4591
|
+
content: string;
|
|
4592
|
+
modelInfo?: {
|
|
4593
|
+
totalTokens: number;
|
|
4594
|
+
} | undefined;
|
|
4595
|
+
hidden?: boolean | undefined;
|
|
4596
|
+
toolCalls?: {
|
|
4597
|
+
id: string;
|
|
4598
|
+
name: string;
|
|
4599
|
+
input: Record<string, any>;
|
|
4600
|
+
}[] | undefined;
|
|
4601
|
+
toolResults?: {
|
|
4602
|
+
toolCallId: string;
|
|
4603
|
+
toolName: string;
|
|
4604
|
+
result: string;
|
|
4605
|
+
}[] | undefined;
|
|
4606
|
+
}[], import('../llm').ChatMessage[] | {
|
|
4607
|
+
artifact?: {
|
|
4608
|
+
type: "results" | "chart" | "code" | "custom";
|
|
4609
|
+
data: any;
|
|
4610
|
+
config?: any;
|
|
4611
|
+
} | undefined;
|
|
4612
|
+
executedToolCalls?: {
|
|
4613
|
+
id: string;
|
|
4614
|
+
name: string;
|
|
4615
|
+
input: Record<string, any>;
|
|
4616
|
+
result?: {
|
|
4617
|
+
success: boolean;
|
|
4618
|
+
message?: string | undefined;
|
|
4619
|
+
error?: string | undefined;
|
|
4620
|
+
} | undefined;
|
|
4621
|
+
}[] | undefined;
|
|
4622
|
+
role: "user" | "assistant" | "system";
|
|
4623
|
+
content: string;
|
|
4624
|
+
modelInfo?: {
|
|
4625
|
+
totalTokens: number;
|
|
4626
|
+
} | undefined;
|
|
4627
|
+
hidden?: boolean | undefined;
|
|
4628
|
+
toolCalls?: {
|
|
4629
|
+
id: string;
|
|
4630
|
+
name: string;
|
|
4631
|
+
input: Record<string, any>;
|
|
4632
|
+
}[] | undefined;
|
|
4633
|
+
toolResults?: {
|
|
4634
|
+
toolCallId: string;
|
|
4635
|
+
toolName: string;
|
|
4636
|
+
result: string;
|
|
4637
|
+
}[] | undefined;
|
|
4638
|
+
}[]>;
|
|
4639
|
+
visibleMessages: import('vue').ComputedRef<{
|
|
4640
|
+
artifact?: {
|
|
4641
|
+
type: "results" | "chart" | "code" | "custom";
|
|
4642
|
+
data: any;
|
|
4643
|
+
config?: any;
|
|
4644
|
+
} | undefined;
|
|
4645
|
+
executedToolCalls?: {
|
|
4646
|
+
id: string;
|
|
4647
|
+
name: string;
|
|
4648
|
+
input: Record<string, any>;
|
|
4649
|
+
result?: {
|
|
4650
|
+
success: boolean;
|
|
4651
|
+
message?: string | undefined;
|
|
4652
|
+
error?: string | undefined;
|
|
4653
|
+
} | undefined;
|
|
4654
|
+
}[] | undefined;
|
|
4655
|
+
role: "user" | "assistant" | "system";
|
|
4656
|
+
content: string;
|
|
4657
|
+
modelInfo?: {
|
|
4658
|
+
totalTokens: number;
|
|
4659
|
+
} | undefined;
|
|
4660
|
+
hidden?: boolean | undefined;
|
|
4661
|
+
toolCalls?: {
|
|
4662
|
+
id: string;
|
|
4663
|
+
name: string;
|
|
4664
|
+
input: Record<string, any>;
|
|
4665
|
+
}[] | undefined;
|
|
4666
|
+
toolResults?: {
|
|
4667
|
+
toolCallId: string;
|
|
4668
|
+
toolName: string;
|
|
4669
|
+
result: string;
|
|
4670
|
+
}[] | undefined;
|
|
4671
|
+
}[]>;
|
|
4672
|
+
userInput: import('vue').Ref<string, string>;
|
|
4673
|
+
isLoading: import('vue').ComputedRef<boolean>;
|
|
4674
|
+
messagesContainer: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
4675
|
+
inputTextarea: import('vue').Ref<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
|
|
4676
|
+
currentPlaceholder: import('vue').ComputedRef<string>;
|
|
4677
|
+
isPlaceholderTransitioning: import('vue').Ref<boolean, boolean>;
|
|
4678
|
+
handleKeyDown: (event: KeyboardEvent) => void;
|
|
4679
|
+
sendMessage: () => Promise<void>;
|
|
4680
|
+
handleStop: () => void;
|
|
4681
|
+
getMessageTextWithoutArtifact: (message: import('../llm').ChatMessage) => string;
|
|
4682
|
+
getToolDisplayText: (toolName: string) => string;
|
|
4683
|
+
getToolDisplayName: (toolName: string) => string;
|
|
4684
|
+
addMessage: (message: import('../llm').ChatMessage) => void;
|
|
4685
|
+
addArtifact: (artifact: import('../llm').ChatArtifactType, text?: string) => void;
|
|
4686
|
+
clearMessages: () => void;
|
|
4687
|
+
scrollToBottom: () => void;
|
|
4688
|
+
focusInput: () => void;
|
|
4689
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("message-sent" | "response-received" | "artifact-created" | "update:messages" | "title-update")[], "message-sent" | "response-received" | "artifact-created" | "update:messages" | "title-update", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4690
|
+
messages: {
|
|
4691
|
+
type: import('vue').PropType<import('../llm').ChatMessage[]>;
|
|
4692
|
+
default: () => never[];
|
|
4693
|
+
};
|
|
4694
|
+
title: {
|
|
4695
|
+
type: StringConstructor;
|
|
4696
|
+
default: string;
|
|
4697
|
+
};
|
|
4698
|
+
editableTitle: {
|
|
4699
|
+
type: BooleanConstructor;
|
|
4700
|
+
default: boolean;
|
|
4701
|
+
};
|
|
4702
|
+
showHeader: {
|
|
4703
|
+
type: BooleanConstructor;
|
|
4704
|
+
default: boolean;
|
|
4705
|
+
};
|
|
4706
|
+
placeholder: {
|
|
4707
|
+
type: import('vue').PropType<string | string[]>;
|
|
4708
|
+
default: string;
|
|
4709
|
+
};
|
|
4710
|
+
sendButtonText: {
|
|
4711
|
+
type: StringConstructor;
|
|
4712
|
+
default: string;
|
|
4713
|
+
};
|
|
4714
|
+
loadingText: {
|
|
4715
|
+
type: StringConstructor;
|
|
4716
|
+
default: string;
|
|
4717
|
+
};
|
|
4718
|
+
activeToolName: {
|
|
4719
|
+
type: StringConstructor;
|
|
4720
|
+
default: string;
|
|
4721
|
+
};
|
|
4722
|
+
disabled: {
|
|
4723
|
+
type: BooleanConstructor;
|
|
4724
|
+
default: boolean;
|
|
4725
|
+
};
|
|
4726
|
+
codeLanguage: {
|
|
4727
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
4728
|
+
default: string;
|
|
4729
|
+
};
|
|
4730
|
+
systemPrompt: {
|
|
4731
|
+
type: StringConstructor;
|
|
4732
|
+
default: string;
|
|
4733
|
+
};
|
|
4734
|
+
externalLoading: {
|
|
4735
|
+
type: BooleanConstructor;
|
|
4736
|
+
default: boolean;
|
|
4737
|
+
};
|
|
4738
|
+
sendHandler: {
|
|
4739
|
+
type: import('vue').PropType<(message: string, messages: import('../llm').ChatMessage[]) => Promise<void>>;
|
|
4740
|
+
required: true;
|
|
4741
|
+
};
|
|
4742
|
+
stopHandler: {
|
|
4743
|
+
type: import('vue').PropType<(() => void) | null>;
|
|
4744
|
+
default: null;
|
|
4745
|
+
};
|
|
4746
|
+
stopButtonText: {
|
|
4747
|
+
type: StringConstructor;
|
|
4748
|
+
default: string;
|
|
4749
|
+
};
|
|
4750
|
+
}>> & Readonly<{
|
|
4751
|
+
"onMessage-sent"?: ((...args: any[]) => any) | undefined;
|
|
4752
|
+
"onResponse-received"?: ((...args: any[]) => any) | undefined;
|
|
4753
|
+
"onArtifact-created"?: ((...args: any[]) => any) | undefined;
|
|
4754
|
+
"onUpdate:messages"?: ((...args: any[]) => any) | undefined;
|
|
4755
|
+
"onTitle-update"?: ((...args: any[]) => any) | undefined;
|
|
4756
|
+
}>, {
|
|
4757
|
+
title: string;
|
|
4758
|
+
disabled: boolean;
|
|
4759
|
+
messages: import('../llm').ChatMessage[];
|
|
4760
|
+
placeholder: string | string[];
|
|
4761
|
+
editableTitle: boolean;
|
|
4762
|
+
showHeader: boolean;
|
|
4763
|
+
sendButtonText: string;
|
|
4764
|
+
loadingText: string;
|
|
4765
|
+
activeToolName: string;
|
|
4766
|
+
codeLanguage: "trilogy" | "sql";
|
|
4767
|
+
systemPrompt: string;
|
|
4768
|
+
externalLoading: boolean;
|
|
4769
|
+
stopHandler: (() => void) | null;
|
|
4770
|
+
stopButtonText: string;
|
|
4771
|
+
}, {}, {
|
|
4772
|
+
EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4773
|
+
modelValue: {
|
|
4774
|
+
type: StringConstructor;
|
|
4775
|
+
required: true;
|
|
4776
|
+
};
|
|
4777
|
+
testId: {
|
|
4778
|
+
type: StringConstructor;
|
|
4779
|
+
default: string;
|
|
4780
|
+
};
|
|
4781
|
+
}>, {
|
|
4782
|
+
isEditing: import('vue').Ref<boolean, boolean>;
|
|
4783
|
+
editableName: import('vue').Ref<string, string>;
|
|
4784
|
+
nameInput: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
4785
|
+
startEditing: () => void;
|
|
4786
|
+
finishEditing: () => void;
|
|
4787
|
+
cancelEditing: () => void;
|
|
4788
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4789
|
+
modelValue: {
|
|
4790
|
+
type: StringConstructor;
|
|
4791
|
+
required: true;
|
|
4792
|
+
};
|
|
4793
|
+
testId: {
|
|
4794
|
+
type: StringConstructor;
|
|
4795
|
+
default: string;
|
|
4796
|
+
};
|
|
4797
|
+
}>> & Readonly<{
|
|
4798
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
4799
|
+
}>, {
|
|
4800
|
+
testId: string;
|
|
4801
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4802
|
+
MarkdownRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4803
|
+
markdown: {
|
|
4804
|
+
type: StringConstructor;
|
|
4805
|
+
required: true;
|
|
4806
|
+
default: string;
|
|
4807
|
+
};
|
|
4808
|
+
results: {
|
|
4809
|
+
type: import('vue').PropType<import('../../editors/results').Results | null>;
|
|
4810
|
+
default: null;
|
|
4811
|
+
};
|
|
4812
|
+
loading: {
|
|
4813
|
+
type: BooleanConstructor;
|
|
4814
|
+
default: boolean;
|
|
4815
|
+
};
|
|
4816
|
+
}>, {
|
|
4817
|
+
renderedMarkdown: import('vue').ComputedRef<string>;
|
|
4818
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4819
|
+
markdown: {
|
|
4820
|
+
type: StringConstructor;
|
|
4821
|
+
required: true;
|
|
4822
|
+
default: string;
|
|
4823
|
+
};
|
|
4824
|
+
results: {
|
|
4825
|
+
type: import('vue').PropType<import('../../editors/results').Results | null>;
|
|
4826
|
+
default: null;
|
|
4827
|
+
};
|
|
4828
|
+
loading: {
|
|
4829
|
+
type: BooleanConstructor;
|
|
4830
|
+
default: boolean;
|
|
4831
|
+
};
|
|
4832
|
+
}>> & Readonly<{}>, {
|
|
4833
|
+
results: import('../../editors/results').Results | null;
|
|
4834
|
+
loading: boolean;
|
|
4835
|
+
markdown: string;
|
|
4836
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4837
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4838
|
+
ResultsComponent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4839
|
+
type: {
|
|
4840
|
+
type: StringConstructor;
|
|
4841
|
+
required: true;
|
|
4842
|
+
};
|
|
4843
|
+
results: {
|
|
4844
|
+
type: typeof import('../../editors/results').Results;
|
|
4845
|
+
required: true;
|
|
4846
|
+
};
|
|
4847
|
+
chartConfig: {
|
|
4848
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | null>;
|
|
4849
|
+
required: false;
|
|
4850
|
+
};
|
|
4851
|
+
error: {
|
|
4852
|
+
type: StringConstructor;
|
|
4853
|
+
required: false;
|
|
4854
|
+
};
|
|
4855
|
+
connection: {
|
|
4856
|
+
type: StringConstructor;
|
|
4857
|
+
required: false;
|
|
4858
|
+
};
|
|
4859
|
+
symbols: {
|
|
4860
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
4861
|
+
required: false;
|
|
4862
|
+
};
|
|
4863
|
+
containerHeight: NumberConstructor;
|
|
4864
|
+
generatedSql: StringConstructor;
|
|
4865
|
+
trilogySource: StringConstructor;
|
|
4866
|
+
defaultTab: {
|
|
4867
|
+
type: StringConstructor;
|
|
4868
|
+
required: false;
|
|
4869
|
+
default: null;
|
|
4870
|
+
};
|
|
4871
|
+
showChatButton: {
|
|
4872
|
+
type: BooleanConstructor;
|
|
4873
|
+
default: boolean;
|
|
4874
|
+
};
|
|
4875
|
+
}>, {
|
|
4876
|
+
codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
4877
|
+
connectionStore: import('pinia').Store<"connections", {
|
|
4878
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
4879
|
+
}, {
|
|
4880
|
+
connectionList: (state: {
|
|
4881
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
4882
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
4883
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
4884
|
+
}>) => import('../../connections').Connection[];
|
|
4885
|
+
unsavedConnections: (state: {
|
|
4886
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
4887
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
4888
|
+
connections: Record<string, import('../../connections').Connection>;
|
|
4889
|
+
}>) => number;
|
|
4890
|
+
}, {
|
|
4891
|
+
addConnection(connection: import('../../connections').Connection): import('../../connections').Connection;
|
|
4892
|
+
connectConnection(name: string): Promise<any>;
|
|
4893
|
+
resetConnection(name: string): Promise<any>;
|
|
4894
|
+
deleteConnection(name: string): void;
|
|
4895
|
+
connectionStateToStatus(connection: import('../../connections').Connection | null): "running" | "failed" | "disabled" | "connected";
|
|
4896
|
+
getConnectionSources(name: string): import('../../stores').ContentInput[];
|
|
4897
|
+
newConnection(name: string, type: string, options: Record<string, any>): import('../../connections').Connection;
|
|
4898
|
+
}>;
|
|
4899
|
+
}, {
|
|
4900
|
+
activeTab: string;
|
|
4901
|
+
activeDrilldown: import('../editor/Results.vue').Drilldown | null;
|
|
4902
|
+
TABS_HEIGHT: number;
|
|
4903
|
+
}, {
|
|
4904
|
+
tabContentHeight(): number;
|
|
4905
|
+
eligibleTabs(): string[];
|
|
4906
|
+
displayTab(): string;
|
|
4907
|
+
}, {
|
|
4908
|
+
switchToVisualizeTab(): void;
|
|
4909
|
+
setTab(tab: string): void;
|
|
4910
|
+
handleReconnect(): Promise<void>;
|
|
4911
|
+
onChartChange(config: any): void;
|
|
4912
|
+
activateDrilldown(e: import('../../events/display').DrillDownTriggerEvent): void;
|
|
4913
|
+
submitDrilldown(selected: string[]): void;
|
|
4914
|
+
handleLocalRefresh(): void;
|
|
4915
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("drilldown-click" | "refresh-click" | "config-change" | "open-chat")[], "drilldown-click" | "refresh-click" | "config-change" | "open-chat", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4916
|
+
type: {
|
|
4917
|
+
type: StringConstructor;
|
|
4918
|
+
required: true;
|
|
4919
|
+
};
|
|
4920
|
+
results: {
|
|
4921
|
+
type: typeof import('../../editors/results').Results;
|
|
4922
|
+
required: true;
|
|
4923
|
+
};
|
|
4924
|
+
chartConfig: {
|
|
4925
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | null>;
|
|
4926
|
+
required: false;
|
|
4927
|
+
};
|
|
4928
|
+
error: {
|
|
4929
|
+
type: StringConstructor;
|
|
4930
|
+
required: false;
|
|
4931
|
+
};
|
|
4932
|
+
connection: {
|
|
4933
|
+
type: StringConstructor;
|
|
4934
|
+
required: false;
|
|
4935
|
+
};
|
|
4936
|
+
symbols: {
|
|
4937
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
4938
|
+
required: false;
|
|
4939
|
+
};
|
|
4940
|
+
containerHeight: NumberConstructor;
|
|
4941
|
+
generatedSql: StringConstructor;
|
|
4942
|
+
trilogySource: StringConstructor;
|
|
4943
|
+
defaultTab: {
|
|
4944
|
+
type: StringConstructor;
|
|
4945
|
+
required: false;
|
|
4946
|
+
default: null;
|
|
4947
|
+
};
|
|
4948
|
+
showChatButton: {
|
|
4949
|
+
type: BooleanConstructor;
|
|
4950
|
+
default: boolean;
|
|
4951
|
+
};
|
|
4952
|
+
}>> & Readonly<{
|
|
4953
|
+
"onDrilldown-click"?: ((...args: any[]) => any) | undefined;
|
|
4954
|
+
"onRefresh-click"?: ((...args: any[]) => any) | undefined;
|
|
4955
|
+
"onConfig-change"?: ((...args: any[]) => any) | undefined;
|
|
4956
|
+
"onOpen-chat"?: ((...args: any[]) => any) | undefined;
|
|
4957
|
+
}>, {
|
|
4958
|
+
defaultTab: string;
|
|
4959
|
+
showChatButton: boolean;
|
|
4960
|
+
}, {}, {
|
|
4961
|
+
DataTable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4962
|
+
headers: {
|
|
4963
|
+
type: {
|
|
4964
|
+
new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
4965
|
+
new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
4966
|
+
readonly prototype: Map<any, any>;
|
|
4967
|
+
readonly [Symbol.species]: MapConstructor;
|
|
4968
|
+
};
|
|
4969
|
+
required: true;
|
|
4970
|
+
};
|
|
4971
|
+
results: {
|
|
4972
|
+
type: import('vue').PropType<readonly import('../../editors/results').Row[]>;
|
|
4973
|
+
required: true;
|
|
4974
|
+
};
|
|
4975
|
+
containerHeight: NumberConstructor;
|
|
4976
|
+
cellClick: {
|
|
4977
|
+
type: FunctionConstructor;
|
|
4978
|
+
default: () => void;
|
|
4979
|
+
};
|
|
4980
|
+
backgroundClick: {
|
|
4981
|
+
type: FunctionConstructor;
|
|
4982
|
+
default: () => void;
|
|
4983
|
+
};
|
|
4984
|
+
prettyPrint: {
|
|
4985
|
+
type: BooleanConstructor;
|
|
4986
|
+
default: boolean;
|
|
4987
|
+
};
|
|
4988
|
+
fitParent: {
|
|
4989
|
+
type: BooleanConstructor;
|
|
4990
|
+
default: boolean;
|
|
4991
|
+
};
|
|
4992
|
+
}>, {
|
|
4993
|
+
settingsStore: import('pinia').Store<"userSettings", {
|
|
4994
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
4995
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
4996
|
+
isLoading: boolean;
|
|
4997
|
+
hasChanges: boolean;
|
|
4998
|
+
hasLoaded: boolean;
|
|
4999
|
+
}, {
|
|
5000
|
+
getSettings: (state: {
|
|
5001
|
+
settings: {
|
|
5002
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
5003
|
+
theme: "dark" | "light" | "";
|
|
5004
|
+
trilogyResolver: string;
|
|
5005
|
+
telemetryEnabled: boolean | null;
|
|
5006
|
+
tipsRead: string[];
|
|
5007
|
+
skipAllTips: boolean;
|
|
5008
|
+
};
|
|
5009
|
+
defaults: {
|
|
5010
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
5011
|
+
theme: "dark" | "light" | "";
|
|
5012
|
+
trilogyResolver: string;
|
|
5013
|
+
telemetryEnabled: boolean | null;
|
|
5014
|
+
tipsRead: string[];
|
|
5015
|
+
skipAllTips: boolean;
|
|
5016
|
+
};
|
|
5017
|
+
isLoading: boolean;
|
|
5018
|
+
hasChanges: boolean;
|
|
5019
|
+
hasLoaded: boolean;
|
|
5020
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
5021
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
5022
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
5023
|
+
isLoading: boolean;
|
|
5024
|
+
hasChanges: boolean;
|
|
5025
|
+
hasLoaded: boolean;
|
|
5026
|
+
}>) => {
|
|
5027
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
5028
|
+
theme: "dark" | "light" | "";
|
|
5029
|
+
trilogyResolver: string;
|
|
5030
|
+
telemetryEnabled: boolean | null;
|
|
5031
|
+
tipsRead: string[];
|
|
5032
|
+
skipAllTips: boolean;
|
|
5033
|
+
};
|
|
5034
|
+
getDefaults: (state: {
|
|
5035
|
+
settings: {
|
|
5036
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
5037
|
+
theme: "dark" | "light" | "";
|
|
5038
|
+
trilogyResolver: string;
|
|
5039
|
+
telemetryEnabled: boolean | null;
|
|
5040
|
+
tipsRead: string[];
|
|
5041
|
+
skipAllTips: boolean;
|
|
5042
|
+
};
|
|
5043
|
+
defaults: {
|
|
5044
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
5045
|
+
theme: "dark" | "light" | "";
|
|
5046
|
+
trilogyResolver: string;
|
|
5047
|
+
telemetryEnabled: boolean | null;
|
|
5048
|
+
tipsRead: string[];
|
|
5049
|
+
skipAllTips: boolean;
|
|
5050
|
+
};
|
|
5051
|
+
isLoading: boolean;
|
|
5052
|
+
hasChanges: boolean;
|
|
5053
|
+
hasLoaded: boolean;
|
|
5054
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
5055
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
5056
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
5057
|
+
isLoading: boolean;
|
|
5058
|
+
hasChanges: boolean;
|
|
5059
|
+
hasLoaded: boolean;
|
|
5060
|
+
}>) => {
|
|
5061
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
5062
|
+
theme: "dark" | "light" | "";
|
|
5063
|
+
trilogyResolver: string;
|
|
5064
|
+
telemetryEnabled: boolean | null;
|
|
5065
|
+
tipsRead: string[];
|
|
5066
|
+
skipAllTips: boolean;
|
|
5067
|
+
};
|
|
5068
|
+
hasUnsavedChanges: (state: {
|
|
5069
|
+
settings: {
|
|
5070
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
5071
|
+
theme: "dark" | "light" | "";
|
|
5072
|
+
trilogyResolver: string;
|
|
5073
|
+
telemetryEnabled: boolean | null;
|
|
5074
|
+
tipsRead: string[];
|
|
5075
|
+
skipAllTips: boolean;
|
|
5076
|
+
};
|
|
5077
|
+
defaults: {
|
|
5078
|
+
[x: string]: string | number | boolean | string[] | null | undefined;
|
|
5079
|
+
theme: "dark" | "light" | "";
|
|
5080
|
+
trilogyResolver: string;
|
|
5081
|
+
telemetryEnabled: boolean | null;
|
|
5082
|
+
tipsRead: string[];
|
|
5083
|
+
skipAllTips: boolean;
|
|
5084
|
+
};
|
|
5085
|
+
isLoading: boolean;
|
|
5086
|
+
hasChanges: boolean;
|
|
5087
|
+
hasLoaded: boolean;
|
|
5088
|
+
} & import('pinia').PiniaCustomStateProperties<{
|
|
5089
|
+
settings: import('../../stores/userSettingsStore').UserSettings;
|
|
5090
|
+
defaults: import('../../stores/userSettingsStore').UserSettings;
|
|
5091
|
+
isLoading: boolean;
|
|
5092
|
+
hasChanges: boolean;
|
|
5093
|
+
hasLoaded: boolean;
|
|
5094
|
+
}>) => boolean;
|
|
5095
|
+
}, {
|
|
5096
|
+
updateSetting<K extends keyof import('../../stores/userSettingsStore').UserSettings>(key: K, value: import('../../stores/userSettingsStore').UserSettings[K]): void;
|
|
5097
|
+
getUnreadTips(tips: import('../../data/tips').ModalItem[]): import('../../data/tips').ModalItem[];
|
|
5098
|
+
clearDismissedTips(): void;
|
|
5099
|
+
markTipRead(tipId: string): void;
|
|
5100
|
+
clearReadTips(): void;
|
|
5101
|
+
toggleTheme(): void;
|
|
5102
|
+
setHasChanges(value: boolean): void;
|
|
5103
|
+
updateSettings(newSettings: Partial<import('../../stores/userSettingsStore').UserSettings>): void;
|
|
5104
|
+
resetToDefaults(): void;
|
|
5105
|
+
saveSettings(): Promise<boolean>;
|
|
5106
|
+
loadSettings(): void;
|
|
5107
|
+
}>;
|
|
5108
|
+
currentTheme: import('vue').ComputedRef<"" | "dark" | "light">;
|
|
5109
|
+
}, {
|
|
5110
|
+
tabulator: import('vue').ShallowRef<Tabulator> | null;
|
|
5111
|
+
selectedCell: null;
|
|
5112
|
+
controlsVisible: boolean;
|
|
5113
|
+
}, {
|
|
5114
|
+
tableData(): readonly Readonly<Record<string, any>>[];
|
|
5115
|
+
tableColumns(): ColumnDefinition[];
|
|
5116
|
+
}, {
|
|
5117
|
+
copyToClipboard(): Promise<void>;
|
|
5118
|
+
downloadData(): void;
|
|
5119
|
+
showNotification(message: string, type: "success" | "error"): void;
|
|
5120
|
+
create(): void;
|
|
5121
|
+
updateTable(): void;
|
|
5122
|
+
updateTableTheme(): void;
|
|
5123
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5124
|
+
headers: {
|
|
5125
|
+
type: {
|
|
5126
|
+
new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
5127
|
+
new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
|
|
5128
|
+
readonly prototype: Map<any, any>;
|
|
5129
|
+
readonly [Symbol.species]: MapConstructor;
|
|
5130
|
+
};
|
|
5131
|
+
required: true;
|
|
5132
|
+
};
|
|
5133
|
+
results: {
|
|
5134
|
+
type: import('vue').PropType<readonly import('../../editors/results').Row[]>;
|
|
5135
|
+
required: true;
|
|
5136
|
+
};
|
|
5137
|
+
containerHeight: NumberConstructor;
|
|
5138
|
+
cellClick: {
|
|
5139
|
+
type: FunctionConstructor;
|
|
5140
|
+
default: () => void;
|
|
5141
|
+
};
|
|
5142
|
+
backgroundClick: {
|
|
5143
|
+
type: FunctionConstructor;
|
|
5144
|
+
default: () => void;
|
|
5145
|
+
};
|
|
5146
|
+
prettyPrint: {
|
|
5147
|
+
type: BooleanConstructor;
|
|
5148
|
+
default: boolean;
|
|
5149
|
+
};
|
|
5150
|
+
fitParent: {
|
|
5151
|
+
type: BooleanConstructor;
|
|
5152
|
+
default: boolean;
|
|
5153
|
+
};
|
|
5154
|
+
}>> & Readonly<{}>, {
|
|
5155
|
+
cellClick: Function;
|
|
5156
|
+
backgroundClick: Function;
|
|
5157
|
+
prettyPrint: boolean;
|
|
5158
|
+
fitParent: boolean;
|
|
5159
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5160
|
+
VegaLiteChart: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5161
|
+
data: {
|
|
5162
|
+
type: import('vue').PropType<Readonly<import('../../editors/results').Row[]>>;
|
|
5163
|
+
required: true;
|
|
5164
|
+
};
|
|
5165
|
+
columns: {
|
|
5166
|
+
type: import('vue').PropType<Map<string, import('../../editors/results').ResultColumn>>;
|
|
5167
|
+
required: true;
|
|
5168
|
+
};
|
|
5169
|
+
initialConfig: {
|
|
5170
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | undefined | null>;
|
|
5171
|
+
default: undefined;
|
|
5172
|
+
};
|
|
5173
|
+
showControls: {
|
|
5174
|
+
type: BooleanConstructor;
|
|
5175
|
+
default: boolean;
|
|
5176
|
+
};
|
|
5177
|
+
containerHeight: NumberConstructor;
|
|
5178
|
+
containerWidth: NumberConstructor;
|
|
5179
|
+
onChartConfigChange: {
|
|
5180
|
+
type: import('vue').PropType<(config: import('../../editors/results').ChartConfig) => void>;
|
|
5181
|
+
default: () => void;
|
|
5182
|
+
};
|
|
5183
|
+
chartSelection: {
|
|
5184
|
+
type: import('vue').PropType<Object[]>;
|
|
5185
|
+
default: () => void;
|
|
5186
|
+
};
|
|
5187
|
+
chartTitle: {
|
|
5188
|
+
type: StringConstructor;
|
|
5189
|
+
default: string;
|
|
5190
|
+
};
|
|
5191
|
+
drilldownActive: {
|
|
5192
|
+
type: BooleanConstructor;
|
|
5193
|
+
default: boolean;
|
|
5194
|
+
};
|
|
5195
|
+
}>, {
|
|
5196
|
+
vegaContainer1: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
5197
|
+
vegaContainer2: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
5198
|
+
chartContentArea: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
5199
|
+
renderManager: import('../chartRenderManager').ChartRenderManager;
|
|
5200
|
+
controlsManager: import('../chartControlsManager').ChartControlsManager;
|
|
5201
|
+
renderChart: (force?: boolean) => Promise<void> | undefined;
|
|
5202
|
+
filteredColumnsInternal: (type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[];
|
|
5203
|
+
updateConfig: (field: keyof import('../../editors/results').ChartConfig, value: string | boolean | number) => void;
|
|
5204
|
+
openInVegaEditor: () => void;
|
|
5205
|
+
downloadChart: () => Promise<void>;
|
|
5206
|
+
refreshChart: () => void;
|
|
5207
|
+
charts: import('vue').ComputedRef<{
|
|
5208
|
+
value: string;
|
|
5209
|
+
label: string;
|
|
5210
|
+
icon: string;
|
|
5211
|
+
}[]>;
|
|
5212
|
+
isShortContainer: import('vue').ComputedRef<boolean | 0 | undefined>;
|
|
5213
|
+
revertDrilldown: () => void;
|
|
5214
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5215
|
+
data: {
|
|
5216
|
+
type: import('vue').PropType<Readonly<import('../../editors/results').Row[]>>;
|
|
5217
|
+
required: true;
|
|
5218
|
+
};
|
|
5219
|
+
columns: {
|
|
5220
|
+
type: import('vue').PropType<Map<string, import('../../editors/results').ResultColumn>>;
|
|
5221
|
+
required: true;
|
|
5222
|
+
};
|
|
5223
|
+
initialConfig: {
|
|
5224
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig | undefined | null>;
|
|
5225
|
+
default: undefined;
|
|
5226
|
+
};
|
|
5227
|
+
showControls: {
|
|
5228
|
+
type: BooleanConstructor;
|
|
5229
|
+
default: boolean;
|
|
5230
|
+
};
|
|
5231
|
+
containerHeight: NumberConstructor;
|
|
5232
|
+
containerWidth: NumberConstructor;
|
|
5233
|
+
onChartConfigChange: {
|
|
5234
|
+
type: import('vue').PropType<(config: import('../../editors/results').ChartConfig) => void>;
|
|
5235
|
+
default: () => void;
|
|
5236
|
+
};
|
|
5237
|
+
chartSelection: {
|
|
5238
|
+
type: import('vue').PropType<Object[]>;
|
|
5239
|
+
default: () => void;
|
|
5240
|
+
};
|
|
5241
|
+
chartTitle: {
|
|
5242
|
+
type: StringConstructor;
|
|
5243
|
+
default: string;
|
|
5244
|
+
};
|
|
5245
|
+
drilldownActive: {
|
|
5246
|
+
type: BooleanConstructor;
|
|
5247
|
+
default: boolean;
|
|
5248
|
+
};
|
|
5249
|
+
}>> & Readonly<{}>, {
|
|
5250
|
+
onChartConfigChange: (config: import('../../editors/results').ChartConfig) => void;
|
|
5251
|
+
initialConfig: import('../../editors/results').ChartConfig | null | undefined;
|
|
5252
|
+
showControls: boolean;
|
|
5253
|
+
chartSelection: Object[];
|
|
5254
|
+
chartTitle: string;
|
|
5255
|
+
drilldownActive: boolean;
|
|
5256
|
+
}, {}, {
|
|
5257
|
+
Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5258
|
+
content: {
|
|
5259
|
+
type: StringConstructor;
|
|
5260
|
+
required: true;
|
|
5261
|
+
};
|
|
5262
|
+
position: {
|
|
5263
|
+
type: StringConstructor;
|
|
5264
|
+
default: string;
|
|
5265
|
+
};
|
|
5266
|
+
inline: {
|
|
5267
|
+
type: BooleanConstructor;
|
|
5268
|
+
default: boolean;
|
|
5269
|
+
};
|
|
5270
|
+
}>, {}, {
|
|
5271
|
+
visible: boolean;
|
|
5272
|
+
hoverTimeout: ReturnType<typeof setTimeout> | null;
|
|
5273
|
+
}, {
|
|
5274
|
+
positionClass(): string;
|
|
5275
|
+
}, {
|
|
5276
|
+
showTooltip(): void;
|
|
5277
|
+
hideTooltip(): void;
|
|
5278
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5279
|
+
content: {
|
|
5280
|
+
type: StringConstructor;
|
|
5281
|
+
required: true;
|
|
5282
|
+
};
|
|
5283
|
+
position: {
|
|
5284
|
+
type: StringConstructor;
|
|
5285
|
+
default: string;
|
|
5286
|
+
};
|
|
5287
|
+
inline: {
|
|
5288
|
+
type: BooleanConstructor;
|
|
5289
|
+
default: boolean;
|
|
5290
|
+
};
|
|
5291
|
+
}>> & Readonly<{}>, {
|
|
5292
|
+
position: string;
|
|
5293
|
+
inline: boolean;
|
|
5294
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5295
|
+
ChartControlPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5296
|
+
config: {
|
|
5297
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig>;
|
|
5298
|
+
required: true;
|
|
5299
|
+
};
|
|
5300
|
+
charts: {
|
|
5301
|
+
type: import('vue').PropType<Array<{
|
|
5302
|
+
value: string;
|
|
5303
|
+
label: string;
|
|
5304
|
+
icon: string;
|
|
5305
|
+
}>>;
|
|
5306
|
+
required: true;
|
|
5307
|
+
};
|
|
5308
|
+
filteredColumns: {
|
|
5309
|
+
type: import('vue').PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
|
|
5310
|
+
required: true;
|
|
5311
|
+
};
|
|
5312
|
+
}>, {
|
|
5313
|
+
controlSections: import('vue').ComputedRef<import('../ChartControlPanel.vue').ChartControlSection[]>;
|
|
5314
|
+
updateConfig: (field: string, value: any) => void;
|
|
5315
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update-config" | "open-vega-editor")[], "update-config" | "open-vega-editor", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5316
|
+
config: {
|
|
5317
|
+
type: import('vue').PropType<import('../../editors/results').ChartConfig>;
|
|
5318
|
+
required: true;
|
|
5319
|
+
};
|
|
5320
|
+
charts: {
|
|
5321
|
+
type: import('vue').PropType<Array<{
|
|
5322
|
+
value: string;
|
|
5323
|
+
label: string;
|
|
5324
|
+
icon: string;
|
|
5325
|
+
}>>;
|
|
5326
|
+
required: true;
|
|
5327
|
+
};
|
|
5328
|
+
filteredColumns: {
|
|
5329
|
+
type: import('vue').PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
|
|
5330
|
+
required: true;
|
|
5331
|
+
};
|
|
5332
|
+
}>> & Readonly<{
|
|
5333
|
+
"onUpdate-config"?: ((...args: any[]) => any) | undefined;
|
|
5334
|
+
"onOpen-vega-editor"?: ((...args: any[]) => any) | undefined;
|
|
5335
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5336
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5337
|
+
ErrorMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5338
|
+
type: {
|
|
5339
|
+
type: () => "error" | "information";
|
|
5340
|
+
default: string;
|
|
5341
|
+
validator: (value: string) => boolean;
|
|
5342
|
+
};
|
|
5343
|
+
}>, {}, {}, {
|
|
5344
|
+
messageClass(): string;
|
|
5345
|
+
iconEmoji(): string;
|
|
5346
|
+
}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5347
|
+
type: {
|
|
5348
|
+
type: () => "error" | "information";
|
|
5349
|
+
default: string;
|
|
5350
|
+
validator: (value: string) => boolean;
|
|
5351
|
+
};
|
|
5352
|
+
}>> & Readonly<{}>, {
|
|
5353
|
+
type: "error" | "information";
|
|
5354
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5355
|
+
LoadingButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5356
|
+
action: {
|
|
5357
|
+
type: FunctionConstructor;
|
|
5358
|
+
required: true;
|
|
5359
|
+
};
|
|
5360
|
+
useDefaultStyle: {
|
|
5361
|
+
type: BooleanConstructor;
|
|
5362
|
+
default: boolean;
|
|
5363
|
+
};
|
|
5364
|
+
keyCombination: {
|
|
5365
|
+
type: {
|
|
5366
|
+
(arrayLength: number): string[];
|
|
5367
|
+
(...items: string[]): string[];
|
|
5368
|
+
new (arrayLength: number): string[];
|
|
5369
|
+
new (...items: string[]): string[];
|
|
5370
|
+
isArray(arg: any): arg is any[];
|
|
5371
|
+
readonly prototype: any[];
|
|
5372
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
5373
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
5374
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
5375
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
5376
|
+
of<T>(...items: T[]): T[];
|
|
5377
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
5378
|
+
};
|
|
5379
|
+
default: null;
|
|
5380
|
+
};
|
|
5381
|
+
disabled: {
|
|
5382
|
+
type: BooleanConstructor;
|
|
5383
|
+
default: boolean;
|
|
5384
|
+
};
|
|
5385
|
+
testId: {
|
|
5386
|
+
type: StringConstructor;
|
|
5387
|
+
default: string;
|
|
5388
|
+
};
|
|
5389
|
+
}>, {
|
|
5390
|
+
errorMessage: import('vue').Ref<string | null, string | null>;
|
|
5391
|
+
isLoading: import('vue').Ref<boolean, boolean>;
|
|
5392
|
+
status: import('vue').Ref<"success" | "error" | null, "success" | "error" | null>;
|
|
5393
|
+
handleClick: () => Promise<void>;
|
|
5394
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
5395
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5396
|
+
action: {
|
|
5397
|
+
type: FunctionConstructor;
|
|
5398
|
+
required: true;
|
|
5399
|
+
};
|
|
5400
|
+
useDefaultStyle: {
|
|
5401
|
+
type: BooleanConstructor;
|
|
5402
|
+
default: boolean;
|
|
5403
|
+
};
|
|
5404
|
+
keyCombination: {
|
|
5405
|
+
type: {
|
|
5406
|
+
(arrayLength: number): string[];
|
|
5407
|
+
(...items: string[]): string[];
|
|
5408
|
+
new (arrayLength: number): string[];
|
|
5409
|
+
new (...items: string[]): string[];
|
|
5410
|
+
isArray(arg: any): arg is any[];
|
|
5411
|
+
readonly prototype: any[];
|
|
5412
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
5413
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
5414
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
5415
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
5416
|
+
of<T>(...items: T[]): T[];
|
|
5417
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
5418
|
+
};
|
|
5419
|
+
default: null;
|
|
5420
|
+
};
|
|
5421
|
+
disabled: {
|
|
5422
|
+
type: BooleanConstructor;
|
|
5423
|
+
default: boolean;
|
|
5424
|
+
};
|
|
5425
|
+
testId: {
|
|
5426
|
+
type: StringConstructor;
|
|
5427
|
+
default: string;
|
|
5428
|
+
};
|
|
5429
|
+
}>> & Readonly<{}>, {
|
|
5430
|
+
disabled: boolean;
|
|
5431
|
+
useDefaultStyle: boolean;
|
|
5432
|
+
keyCombination: string[];
|
|
5433
|
+
testId: string;
|
|
5434
|
+
}, {}, {
|
|
5435
|
+
Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5436
|
+
content: {
|
|
5437
|
+
type: StringConstructor;
|
|
5438
|
+
required: true;
|
|
5439
|
+
};
|
|
5440
|
+
position: {
|
|
5441
|
+
type: StringConstructor;
|
|
5442
|
+
default: string;
|
|
5443
|
+
};
|
|
5444
|
+
inline: {
|
|
5445
|
+
type: BooleanConstructor;
|
|
5446
|
+
default: boolean;
|
|
5447
|
+
};
|
|
5448
|
+
}>, {}, {
|
|
5449
|
+
visible: boolean;
|
|
5450
|
+
hoverTimeout: ReturnType<typeof setTimeout> | null;
|
|
5451
|
+
}, {
|
|
5452
|
+
positionClass(): string;
|
|
5453
|
+
}, {
|
|
5454
|
+
showTooltip(): void;
|
|
5455
|
+
hideTooltip(): void;
|
|
5456
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5457
|
+
content: {
|
|
5458
|
+
type: StringConstructor;
|
|
5459
|
+
required: true;
|
|
5460
|
+
};
|
|
5461
|
+
position: {
|
|
5462
|
+
type: StringConstructor;
|
|
5463
|
+
default: string;
|
|
5464
|
+
};
|
|
5465
|
+
inline: {
|
|
5466
|
+
type: BooleanConstructor;
|
|
5467
|
+
default: boolean;
|
|
5468
|
+
};
|
|
5469
|
+
}>> & Readonly<{}>, {
|
|
5470
|
+
position: string;
|
|
5471
|
+
inline: boolean;
|
|
5472
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5473
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5474
|
+
CodeBlock: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5475
|
+
content: {
|
|
5476
|
+
type: StringConstructor;
|
|
5477
|
+
required: true;
|
|
5478
|
+
};
|
|
5479
|
+
language: {
|
|
5480
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
5481
|
+
default: string;
|
|
5482
|
+
};
|
|
5483
|
+
copy: {
|
|
5484
|
+
type: FunctionConstructor;
|
|
5485
|
+
optional: boolean;
|
|
5486
|
+
};
|
|
5487
|
+
}>, {
|
|
5488
|
+
codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
5489
|
+
codeClass: import('vue').Ref<string, string>;
|
|
5490
|
+
copyCode: () => Promise<void>;
|
|
5491
|
+
copied: import('vue').Ref<boolean, boolean>;
|
|
5492
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "on-copy"[], "on-copy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5493
|
+
content: {
|
|
5494
|
+
type: StringConstructor;
|
|
5495
|
+
required: true;
|
|
5496
|
+
};
|
|
5497
|
+
language: {
|
|
5498
|
+
type: import('vue').PropType<"sql" | "trilogy">;
|
|
5499
|
+
default: string;
|
|
5500
|
+
};
|
|
5501
|
+
copy: {
|
|
5502
|
+
type: FunctionConstructor;
|
|
5503
|
+
optional: boolean;
|
|
5504
|
+
};
|
|
5505
|
+
}>> & Readonly<{
|
|
5506
|
+
"onOn-copy"?: ((...args: any[]) => any) | undefined;
|
|
5507
|
+
}>, {
|
|
5508
|
+
language: "trilogy" | "sql";
|
|
5509
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5510
|
+
DrilldownPane: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5511
|
+
drilldownRemove: {
|
|
5512
|
+
type: StringConstructor;
|
|
5513
|
+
required: true;
|
|
5514
|
+
};
|
|
5515
|
+
drilldownFilter: {
|
|
5516
|
+
type: StringConstructor;
|
|
5517
|
+
required: true;
|
|
5518
|
+
};
|
|
5519
|
+
symbols: {
|
|
5520
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
5521
|
+
required: true;
|
|
5522
|
+
};
|
|
5523
|
+
}>, {
|
|
5524
|
+
searchQuery: import('vue').Ref<string, string>;
|
|
5525
|
+
filteredDimensions: import('vue').Ref<{
|
|
5526
|
+
label: string;
|
|
5527
|
+
description: string;
|
|
5528
|
+
type: string;
|
|
5529
|
+
datatype: string;
|
|
5530
|
+
insertText: string;
|
|
5531
|
+
trilogyType?: ("concept" | "function" | "type") | undefined;
|
|
5532
|
+
trilogySubType?: ("property" | "key" | "metric") | undefined;
|
|
5533
|
+
calculation?: string | undefined;
|
|
5534
|
+
keys?: string[] | undefined;
|
|
5535
|
+
}[], import('../../stores/resolver').CompletionItem[] | {
|
|
5536
|
+
label: string;
|
|
5537
|
+
description: string;
|
|
5538
|
+
type: string;
|
|
5539
|
+
datatype: string;
|
|
5540
|
+
insertText: string;
|
|
5541
|
+
trilogyType?: ("concept" | "function" | "type") | undefined;
|
|
5542
|
+
trilogySubType?: ("property" | "key" | "metric") | undefined;
|
|
5543
|
+
calculation?: string | undefined;
|
|
5544
|
+
keys?: string[] | undefined;
|
|
5545
|
+
}[]>;
|
|
5546
|
+
drilldownSearchInput: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
5547
|
+
dimensionsList: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
5548
|
+
tooltip: {
|
|
5549
|
+
visible: boolean;
|
|
5550
|
+
x: number;
|
|
5551
|
+
y: number;
|
|
5552
|
+
dimension: {
|
|
5553
|
+
label: string;
|
|
5554
|
+
description: string;
|
|
5555
|
+
type: string;
|
|
5556
|
+
datatype: string;
|
|
5557
|
+
insertText: string;
|
|
5558
|
+
trilogyType?: ("concept" | "function" | "type") | undefined;
|
|
5559
|
+
trilogySubType?: ("property" | "key" | "metric") | undefined;
|
|
5560
|
+
calculation?: string | undefined;
|
|
5561
|
+
keys?: string[] | undefined;
|
|
5562
|
+
};
|
|
5563
|
+
};
|
|
5564
|
+
selected: import('vue').Ref<string[], string[]>;
|
|
5565
|
+
highlightedIndex: import('vue').Ref<number, number>;
|
|
5566
|
+
filterDimensions: () => void;
|
|
5567
|
+
selectDimension: (dimension: import('../../stores/resolver').CompletionItem) => void;
|
|
5568
|
+
removeDimension: (dimensionLabel: string) => void;
|
|
5569
|
+
handleSubmit: () => void;
|
|
5570
|
+
handleClose: () => void;
|
|
5571
|
+
handleSearchKeydown: (event: KeyboardEvent) => void;
|
|
5572
|
+
setHighlightedIndex: (index: number) => void;
|
|
5573
|
+
getIconType: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
5574
|
+
getIconMdiClass: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
5575
|
+
getDimensionChar: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
5576
|
+
getIconClass: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
5577
|
+
getIconTooltip: (dimension: import('../../stores/resolver').CompletionItem) => string;
|
|
5578
|
+
showTooltip: (event: MouseEvent, dimension: import('../../stores/resolver').CompletionItem) => Promise<void>;
|
|
5579
|
+
hideTooltip: () => void;
|
|
5580
|
+
updateTooltipPosition: (event: MouseEvent) => void;
|
|
5581
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("close" | "submit" | "select-dimension" | "remove-dimension")[], "close" | "submit" | "select-dimension" | "remove-dimension", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5582
|
+
drilldownRemove: {
|
|
5583
|
+
type: StringConstructor;
|
|
5584
|
+
required: true;
|
|
5585
|
+
};
|
|
5586
|
+
drilldownFilter: {
|
|
5587
|
+
type: StringConstructor;
|
|
5588
|
+
required: true;
|
|
5589
|
+
};
|
|
5590
|
+
symbols: {
|
|
5591
|
+
type: import('vue').PropType<import('../../stores/resolver').CompletionItem[]>;
|
|
5592
|
+
required: true;
|
|
5593
|
+
};
|
|
5594
|
+
}>> & Readonly<{
|
|
5595
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
5596
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
5597
|
+
"onSelect-dimension"?: ((...args: any[]) => any) | undefined;
|
|
5598
|
+
"onRemove-dimension"?: ((...args: any[]) => any) | undefined;
|
|
5599
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5600
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1965
5601
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1966
5602
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1967
5603
|
CodeBlock: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|