@trilogy-data/trilogy-studio-components 0.1.10 → 0.1.11

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.
Files changed (111) hide show
  1. package/dist/{ChatCreatorModal-kqIGFHPN.js → ChatCreatorModal-ByXgDUoO.js} +1 -1
  2. package/dist/{Dashboard-BhcB9-ov.js → Dashboard-D6A2aYgv.js} +3 -3
  3. package/dist/{DashboardCreatorInline-Cp8fI1iG.js → DashboardCreatorInline-Cgfinl3I.js} +1 -1
  4. package/dist/{DashboardMobile-nSuC_ygH.js → DashboardMobile-BbZH1Qir.js} +20 -20
  5. package/dist/{LLMConnectionList-CwfSkiq_.js → LLMConnectionList-Cl3h5pBm.js} +884 -856
  6. package/dist/LLMView-BRDqi_8s.js +656 -0
  7. package/dist/Manager-Baa6Lvxg.js +4 -0
  8. package/dist/{ResultComponent-CDU0FkOQ.js → ResultComponent-RFos0Fha.js} +6 -6
  9. package/dist/{Sidebar-dZtwrs0v.js → Sidebar-Bvu5hS2B.js} +289 -268
  10. package/dist/{TutorialPage-kWCo9lD6.js → TutorialPage-ChaeJTUC.js} +4 -4
  11. package/dist/{WelcomePage-BjLQLYt8.js → WelcomePage-B06IC6Uy.js} +1 -1
  12. package/dist/chats/chat.d.ts +11 -1
  13. package/dist/chats/chat.d.ts.map +1 -1
  14. package/dist/chats/publishArtifactsToDashboard.d.ts +21 -0
  15. package/dist/chats/publishArtifactsToDashboard.d.ts.map +1 -0
  16. package/dist/components/editor/Editor.vue.d.ts +1 -2
  17. package/dist/components/editor/Editor.vue.d.ts.map +1 -1
  18. package/dist/components/editor/ResultComponent.vue.d.ts +74 -15
  19. package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -1
  20. package/dist/components/layout/SidebarLayout.vue.d.ts +14 -2
  21. package/dist/components/layout/SidebarLayout.vue.d.ts.map +1 -1
  22. package/dist/components/llm/ArtifactsPane.vue.d.ts +885 -0
  23. package/dist/components/llm/ArtifactsPane.vue.d.ts.map +1 -0
  24. package/dist/components/llm/ChatArtifact.vue.d.ts +37 -1
  25. package/dist/components/llm/ChatArtifact.vue.d.ts.map +1 -1
  26. package/dist/components/llm/LLMChat.vue.d.ts +18 -3
  27. package/dist/components/llm/LLMChat.vue.d.ts.map +1 -1
  28. package/dist/components/llm/LLMChatSplitView.vue.d.ts +858 -702
  29. package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -1
  30. package/dist/components/llm/LLMEditorRefinement.vue.d.ts +74 -15
  31. package/dist/components/llm/LLMEditorRefinement.vue.d.ts.map +1 -1
  32. package/dist/components/model/ModelCard.vue.d.ts +1 -2
  33. package/dist/components/model/ModelCard.vue.d.ts.map +1 -1
  34. package/dist/components/sidebar/ConnectionList.vue.d.ts.map +1 -1
  35. package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -1
  36. package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts.map +1 -1
  37. package/dist/components/sidebar/LLMConnectionList.vue.d.ts +2 -2
  38. package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -1
  39. package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts.map +1 -1
  40. package/dist/components/sidebar/LLMProviderIcon.vue.d.ts.map +1 -1
  41. package/dist/components/tutorial/TutorialPrompt.vue.d.ts +75 -17
  42. package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -1
  43. package/dist/composables/useChatWithTools.d.ts.map +1 -1
  44. package/dist/composables/useEditorRefinement.d.ts.map +1 -1
  45. package/dist/composables/useToolLoop.d.ts +0 -2
  46. package/dist/composables/useToolLoop.d.ts.map +1 -1
  47. package/dist/{cssMode-BgTpWprH.js → cssMode-C091JrjG.js} +1 -1
  48. package/dist/dashboards/helpers.d.ts.map +1 -1
  49. package/dist/data/githubStorage.d.ts.map +1 -1
  50. package/dist/data/localStorage.d.ts.map +1 -1
  51. package/dist/editors/results.d.ts.map +1 -1
  52. package/dist/{freemarker2-BCVHBEgI.js → freemarker2-X1eIBwal.js} +1 -1
  53. package/dist/{handlebars-CvE5drDj.js → handlebars-BlVeu042.js} +1 -1
  54. package/dist/{html-CZGBnyei.js → html-WyM-Pvly.js} +1 -1
  55. package/dist/{htmlMode-CzN0D6_N.js → htmlMode-DQST6Ar_.js} +1 -1
  56. package/dist/{javascript-D9vXE5ET.js → javascript-CYyejasU.js} +1 -1
  57. package/dist/{jsonMode-CY69B03N.js → jsonMode-CESsFbpD.js} +1 -1
  58. package/dist/{liquid-D2Izcg9H.js → liquid-DdP-I3Ox.js} +1 -1
  59. package/dist/llm/chatAgentPrompt.d.ts +262 -0
  60. package/dist/llm/chatAgentPrompt.d.ts.map +1 -1
  61. package/dist/llm/chatHelpers.d.ts +0 -11
  62. package/dist/llm/chatHelpers.d.ts.map +1 -1
  63. package/dist/llm/chatToolExecutor.d.ts +10 -0
  64. package/dist/llm/chatToolExecutor.d.ts.map +1 -1
  65. package/dist/llm/demo.d.ts +29 -0
  66. package/dist/llm/demo.d.ts.map +1 -0
  67. package/dist/llm/editorRefinementToolExecutor.d.ts +4 -0
  68. package/dist/llm/editorRefinementToolExecutor.d.ts.map +1 -1
  69. package/dist/llm/editorRefinementTools.d.ts +40 -0
  70. package/dist/llm/editorRefinementTools.d.ts.map +1 -1
  71. package/dist/llm/index.d.ts +3 -2
  72. package/dist/llm/index.d.ts.map +1 -1
  73. package/dist/llm/openrouter.d.ts +5 -0
  74. package/dist/llm/openrouter.d.ts.map +1 -1
  75. package/dist/llm/toolLoopCore.d.ts +36 -7
  76. package/dist/llm/toolLoopCore.d.ts.map +1 -1
  77. package/dist/llm/utils.d.ts +4 -1
  78. package/dist/llm/utils.d.ts.map +1 -1
  79. package/dist/{main-YvioU1lW.js → main-DP4aLnEK.js} +38043 -37183
  80. package/dist/main.css +1 -1
  81. package/dist/main.d.ts +1 -1
  82. package/dist/main.d.ts.map +1 -1
  83. package/dist/main.js +10 -10
  84. package/dist/main.umd.cjs +605 -560
  85. package/dist/{mdx-DfvKDyTa.js → mdx-VGDZf6-F.js} +1 -1
  86. package/dist/{python-CmewBYeN.js → python-BiiBBLHE.js} +1 -1
  87. package/dist/{razor-C-YsC2u-.js → razor-ogBkymZ8.js} +1 -1
  88. package/dist/stores/chatStore.d.ts.map +1 -1
  89. package/dist/stores/editorStore.d.ts.map +1 -1
  90. package/dist/stores/llmStore.d.ts +1 -10
  91. package/dist/stores/llmStore.d.ts.map +1 -1
  92. package/dist/stores/queryExecutionService.d.ts +1 -0
  93. package/dist/stores/queryExecutionService.d.ts.map +1 -1
  94. package/dist/stores/resolver.d.ts +1 -0
  95. package/dist/stores/resolver.d.ts.map +1 -1
  96. package/dist/stores/useScreenNavigation.d.ts.map +1 -1
  97. package/dist/{tsMode-LfgRVGbQ.js → tsMode-DP-1CE0D.js} +1 -1
  98. package/dist/{typescript-ChhJ4j27.js → typescript-ByG-a0Ne.js} +1 -1
  99. package/dist/{useDashboard-vvK-sCbo.js → useDashboard-Dx-2dWkF.js} +1 -1
  100. package/dist/utility/markdownRenderer.d.ts.map +1 -1
  101. package/dist/views/LLMView.vue.d.ts +2713 -2140
  102. package/dist/views/LLMView.vue.d.ts.map +1 -1
  103. package/dist/views/ModelView.vue.d.ts +2 -4
  104. package/dist/views/ModelView.vue.d.ts.map +1 -1
  105. package/dist/views/TutorialPage.vue.d.ts +154 -40
  106. package/dist/views/TutorialPage.vue.d.ts.map +1 -1
  107. package/dist/{xml-DM40RTTn.js → xml-DmCesN6f.js} +1 -1
  108. package/dist/{yaml-0wmwSdSU.js → yaml-DpZLn6t1.js} +1 -1
  109. package/package.json +1 -1
  110. package/dist/LLMView-e38fpjum.js +0 -558
  111. package/dist/Manager-CtK5dHJ8.js +0 -4
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { ChatMessage, ChatArtifact, ChatImport } from '../../chats/chat';
3
- import { Results, ChartConfig } from '../../editors/results';
3
+ import { ChartConfig } from '../../editors/results';
4
4
  import { CompletionItem } from '../../stores/resolver';
5
5
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
6
  title: {
@@ -70,6 +70,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
70
70
  type: StringConstructor;
71
71
  default: string;
72
72
  };
73
+ showInlineArtifacts: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
73
77
  }>, {
74
78
  chatRef: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
75
79
  messages: {
@@ -132,6 +136,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
132
136
  type: StringConstructor;
133
137
  default: string;
134
138
  };
139
+ renderArtifacts: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
135
143
  }>> & Readonly<{
136
144
  "onMessage-sent"?: ((...args: any[]) => any) | undefined;
137
145
  "onResponse-received"?: ((...args: any[]) => any) | undefined;
@@ -141,9 +149,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
141
149
  }>, {
142
150
  internalMessages: import('vue').Ref<{
143
151
  artifact?: {
144
- type: "results" | "chart" | "code" | "custom";
152
+ id: string;
153
+ type: "results" | "chart" | "code" | "markdown" | "custom";
145
154
  data: any;
146
155
  config?: any;
156
+ hidden?: boolean | undefined;
147
157
  } | undefined;
148
158
  executedToolCalls?: {
149
159
  id: string;
@@ -173,9 +183,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
173
183
  }[] | undefined;
174
184
  }[], ChatMessage[] | {
175
185
  artifact?: {
176
- type: "results" | "chart" | "code" | "custom";
186
+ id: string;
187
+ type: "results" | "chart" | "code" | "markdown" | "custom";
177
188
  data: any;
178
189
  config?: any;
190
+ hidden?: boolean | undefined;
179
191
  } | undefined;
180
192
  executedToolCalls?: {
181
193
  id: string;
@@ -206,9 +218,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
206
218
  }[]>;
207
219
  visibleMessages: import('vue').ComputedRef<{
208
220
  artifact?: {
209
- type: "results" | "chart" | "code" | "custom";
221
+ id: string;
222
+ type: "results" | "chart" | "code" | "markdown" | "custom";
210
223
  data: any;
211
224
  config?: any;
225
+ hidden?: boolean | undefined;
212
226
  } | undefined;
213
227
  executedToolCalls?: {
214
228
  id: string;
@@ -269,6 +283,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
269
283
  externalLoading: boolean;
270
284
  stopHandler: (() => void) | null;
271
285
  stopButtonText: string;
286
+ renderArtifacts: boolean;
272
287
  }, true, {}, {}, {
273
288
  EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
274
289
  modelValue: {
@@ -307,7 +322,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
307
322
  default: string;
308
323
  };
309
324
  results: {
310
- type: PropType<Results | null>;
325
+ type: PropType<import('../../editors/results').Results | null>;
311
326
  default: null;
312
327
  };
313
328
  loading: {
@@ -323,7 +338,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
323
338
  default: string;
324
339
  };
325
340
  results: {
326
- type: PropType<Results | null>;
341
+ type: PropType<import('../../editors/results').Results | null>;
327
342
  default: null;
328
343
  };
329
344
  loading: {
@@ -331,7 +346,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
331
346
  default: boolean;
332
347
  };
333
348
  }>> & Readonly<{}>, {
334
- results: Results | null;
349
+ results: import('../../editors/results').Results | null;
335
350
  markdown: string;
336
351
  loading: boolean;
337
352
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -403,6 +418,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
403
418
  type: StringConstructor;
404
419
  default: string;
405
420
  };
421
+ renderArtifacts: {
422
+ type: BooleanConstructor;
423
+ default: boolean;
424
+ };
406
425
  }>> & Readonly<{
407
426
  "onMessage-sent"?: ((...args: any[]) => any) | undefined;
408
427
  "onResponse-received"?: ((...args: any[]) => any) | undefined;
@@ -412,9 +431,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
412
431
  }>, {
413
432
  internalMessages: import('vue').Ref<{
414
433
  artifact?: {
415
- type: "results" | "chart" | "code" | "custom";
434
+ id: string;
435
+ type: "results" | "chart" | "code" | "markdown" | "custom";
416
436
  data: any;
417
437
  config?: any;
438
+ hidden?: boolean | undefined;
418
439
  } | undefined;
419
440
  executedToolCalls?: {
420
441
  id: string;
@@ -444,9 +465,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
444
465
  }[] | undefined;
445
466
  }[], ChatMessage[] | {
446
467
  artifact?: {
447
- type: "results" | "chart" | "code" | "custom";
468
+ id: string;
469
+ type: "results" | "chart" | "code" | "markdown" | "custom";
448
470
  data: any;
449
471
  config?: any;
472
+ hidden?: boolean | undefined;
450
473
  } | undefined;
451
474
  executedToolCalls?: {
452
475
  id: string;
@@ -477,9 +500,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
477
500
  }[]>;
478
501
  visibleMessages: import('vue').ComputedRef<{
479
502
  artifact?: {
480
- type: "results" | "chart" | "code" | "custom";
503
+ id: string;
504
+ type: "results" | "chart" | "code" | "markdown" | "custom";
481
505
  data: any;
482
506
  config?: any;
507
+ hidden?: boolean | undefined;
483
508
  } | undefined;
484
509
  executedToolCalls?: {
485
510
  id: string;
@@ -540,6 +565,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
540
565
  externalLoading: boolean;
541
566
  stopHandler: (() => void) | null;
542
567
  stopButtonText: string;
568
+ renderArtifacts: boolean;
543
569
  }> | null, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
544
570
  messages: {
545
571
  type: PropType<ChatMessage[]>;
@@ -601,6 +627,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
601
627
  type: StringConstructor;
602
628
  default: string;
603
629
  };
630
+ renderArtifacts: {
631
+ type: BooleanConstructor;
632
+ default: boolean;
633
+ };
604
634
  }>> & Readonly<{
605
635
  "onMessage-sent"?: ((...args: any[]) => any) | undefined;
606
636
  "onResponse-received"?: ((...args: any[]) => any) | undefined;
@@ -610,9 +640,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
610
640
  }>, {
611
641
  internalMessages: import('vue').Ref<{
612
642
  artifact?: {
613
- type: "results" | "chart" | "code" | "custom";
643
+ id: string;
644
+ type: "results" | "chart" | "code" | "markdown" | "custom";
614
645
  data: any;
615
646
  config?: any;
647
+ hidden?: boolean | undefined;
616
648
  } | undefined;
617
649
  executedToolCalls?: {
618
650
  id: string;
@@ -642,9 +674,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
642
674
  }[] | undefined;
643
675
  }[], ChatMessage[] | {
644
676
  artifact?: {
645
- type: "results" | "chart" | "code" | "custom";
677
+ id: string;
678
+ type: "results" | "chart" | "code" | "markdown" | "custom";
646
679
  data: any;
647
680
  config?: any;
681
+ hidden?: boolean | undefined;
648
682
  } | undefined;
649
683
  executedToolCalls?: {
650
684
  id: string;
@@ -675,9 +709,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
675
709
  }[]>;
676
710
  visibleMessages: import('vue').ComputedRef<{
677
711
  artifact?: {
678
- type: "results" | "chart" | "code" | "custom";
712
+ id: string;
713
+ type: "results" | "chart" | "code" | "markdown" | "custom";
679
714
  data: any;
680
715
  config?: any;
716
+ hidden?: boolean | undefined;
681
717
  } | undefined;
682
718
  executedToolCalls?: {
683
719
  id: string;
@@ -738,6 +774,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
738
774
  externalLoading: boolean;
739
775
  stopHandler: (() => void) | null;
740
776
  stopButtonText: string;
777
+ renderArtifacts: boolean;
741
778
  }, true, {}, {}, {
742
779
  EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
743
780
  modelValue: {
@@ -776,7 +813,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
776
813
  default: string;
777
814
  };
778
815
  results: {
779
- type: PropType<Results | null>;
816
+ type: PropType<import('../../editors/results').Results | null>;
780
817
  default: null;
781
818
  };
782
819
  loading: {
@@ -792,7 +829,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
792
829
  default: string;
793
830
  };
794
831
  results: {
795
- type: PropType<Results | null>;
832
+ type: PropType<import('../../editors/results').Results | null>;
796
833
  default: null;
797
834
  };
798
835
  loading: {
@@ -800,7 +837,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
800
837
  default: boolean;
801
838
  };
802
839
  }>> & Readonly<{}>, {
803
- results: Results | null;
840
+ results: import('../../editors/results').Results | null;
804
841
  markdown: string;
805
842
  loading: boolean;
806
843
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -872,6 +909,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
872
909
  type: StringConstructor;
873
910
  default: string;
874
911
  };
912
+ renderArtifacts: {
913
+ type: BooleanConstructor;
914
+ default: boolean;
915
+ };
875
916
  }>> & Readonly<{
876
917
  "onMessage-sent"?: ((...args: any[]) => any) | undefined;
877
918
  "onResponse-received"?: ((...args: any[]) => any) | undefined;
@@ -881,9 +922,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
881
922
  }>, {
882
923
  internalMessages: import('vue').Ref<{
883
924
  artifact?: {
884
- type: "results" | "chart" | "code" | "custom";
925
+ id: string;
926
+ type: "results" | "chart" | "code" | "markdown" | "custom";
885
927
  data: any;
886
928
  config?: any;
929
+ hidden?: boolean | undefined;
887
930
  } | undefined;
888
931
  executedToolCalls?: {
889
932
  id: string;
@@ -913,9 +956,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
913
956
  }[] | undefined;
914
957
  }[], ChatMessage[] | {
915
958
  artifact?: {
916
- type: "results" | "chart" | "code" | "custom";
959
+ id: string;
960
+ type: "results" | "chart" | "code" | "markdown" | "custom";
917
961
  data: any;
918
962
  config?: any;
963
+ hidden?: boolean | undefined;
919
964
  } | undefined;
920
965
  executedToolCalls?: {
921
966
  id: string;
@@ -946,9 +991,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
946
991
  }[]>;
947
992
  visibleMessages: import('vue').ComputedRef<{
948
993
  artifact?: {
949
- type: "results" | "chart" | "code" | "custom";
994
+ id: string;
995
+ type: "results" | "chart" | "code" | "markdown" | "custom";
950
996
  data: any;
951
997
  config?: any;
998
+ hidden?: boolean | undefined;
952
999
  } | undefined;
953
1000
  executedToolCalls?: {
954
1001
  id: string;
@@ -1009,13 +1056,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1009
1056
  externalLoading: boolean;
1010
1057
  stopHandler: (() => void) | null;
1011
1058
  stopButtonText: string;
1059
+ renderArtifacts: boolean;
1012
1060
  }> | null>;
1013
- artifactExpandedRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1014
1061
  messages: import('vue').Ref<{
1015
1062
  artifact?: {
1016
- type: "results" | "chart" | "code" | "custom";
1063
+ id: string;
1064
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1017
1065
  data: any;
1018
1066
  config?: any;
1067
+ hidden?: boolean | undefined;
1019
1068
  } | undefined;
1020
1069
  executedToolCalls?: {
1021
1070
  id: string;
@@ -1045,9 +1094,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1045
1094
  }[] | undefined;
1046
1095
  }[], ChatMessage[] | {
1047
1096
  artifact?: {
1048
- type: "results" | "chart" | "code" | "custom";
1097
+ id: string;
1098
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1049
1099
  data: any;
1050
1100
  config?: any;
1101
+ hidden?: boolean | undefined;
1051
1102
  } | undefined;
1052
1103
  executedToolCalls?: {
1053
1104
  id: string;
@@ -1077,24 +1128,27 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1077
1128
  }[] | undefined;
1078
1129
  }[]>;
1079
1130
  artifacts: import('vue').Ref<{
1080
- type: "results" | "chart" | "code" | "custom";
1131
+ id: string;
1132
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1081
1133
  data: any;
1082
1134
  config?: any;
1135
+ hidden?: boolean | undefined;
1083
1136
  }[], ChatArtifact[] | {
1084
- type: "results" | "chart" | "code" | "custom";
1137
+ id: string;
1138
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1085
1139
  data: any;
1086
1140
  config?: any;
1141
+ hidden?: boolean | undefined;
1087
1142
  }[]>;
1088
1143
  activeArtifact: import('vue').ComputedRef<{
1089
- type: "results" | "chart" | "code" | "custom";
1144
+ id: string;
1145
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1090
1146
  data: any;
1091
1147
  config?: any;
1148
+ hidden?: boolean | undefined;
1092
1149
  } | null>;
1093
1150
  activeArtifactIndex: import('vue').Ref<number, number>;
1094
- activeArtifactResults: import('vue').ComputedRef<Results | null>;
1095
- activeArtifactChartConfig: import('vue').ComputedRef<ChartConfig | undefined>;
1096
1151
  sidebarTab: import('vue').Ref<"artifacts" | "symbols", "artifacts" | "symbols">;
1097
- artifactContentHeight: import('vue').Ref<number, number>;
1098
1152
  isLoading: import('vue').ComputedRef<boolean>;
1099
1153
  handleMessagesUpdate: (newMessages: ChatMessage[]) => void;
1100
1154
  handleSendMessage: (message: string, msgs: ChatMessage[]) => Promise<void>;
@@ -1102,19 +1156,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1102
1156
  setActiveArtifact: (index: number) => void;
1103
1157
  collapseArtifact: () => void;
1104
1158
  addArtifact: (artifact: ChatArtifact) => void;
1105
- handleChartConfigChange: (config: ChartConfig) => void;
1106
- getArtifactResults: (artifact: ChatArtifact) => Results | null;
1107
- handleInlineChartConfigChange: (artifact: ChatArtifact, config: ChartConfig) => void;
1108
- getArtifactIcon: (artifact: ChatArtifact) => string;
1109
- getArtifactLabel: (artifact: ChatArtifact, index: number) => string;
1110
- getArtifactMeta: (artifact: ChatArtifact) => string;
1159
+ handleArtifactChartConfigChange: (artifact: ChatArtifact, config: ChartConfig) => void;
1160
+ unhideArtifact: (artifactId: string) => void;
1111
1161
  addMessage: (message: ChatMessage) => void;
1112
1162
  clearChat: () => void;
1113
1163
  getMessages: () => {
1114
1164
  artifact?: {
1115
- type: "results" | "chart" | "code" | "custom";
1165
+ id: string;
1166
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1116
1167
  data: any;
1117
1168
  config?: any;
1169
+ hidden?: boolean | undefined;
1118
1170
  } | undefined;
1119
1171
  executedToolCalls?: {
1120
1172
  id: string;
@@ -1144,15 +1196,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1144
1196
  }[] | undefined;
1145
1197
  }[];
1146
1198
  getArtifacts: () => {
1147
- type: "results" | "chart" | "code" | "custom";
1199
+ id: string;
1200
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1148
1201
  data: any;
1149
1202
  config?: any;
1203
+ hidden?: boolean | undefined;
1150
1204
  }[];
1151
1205
  handleSymbolSelect: (symbol: CompletionItem) => void;
1152
1206
  isResizing: import('vue').Ref<boolean, boolean>;
1153
- sidebarWidth: import('vue').Ref<number, number>;
1207
+ chatWidth: import('vue').Ref<number, number>;
1154
1208
  startResize: (e: MouseEvent) => void;
1155
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("select-symbol" | "message-sent" | "response-received" | "artifact-created" | "update:messages" | "title-update" | "import-change" | "artifact-selected" | "update:artifacts" | "update:activeArtifactIndex")[], "select-symbol" | "message-sent" | "response-received" | "artifact-created" | "update:messages" | "title-update" | "import-change" | "artifact-selected" | "update:artifacts" | "update:activeArtifactIndex", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1209
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("select-symbol" | "message-sent" | "response-received" | "artifact-created" | "update:messages" | "title-update" | "import-change" | "publish-artifacts" | "update:activeArtifactIndex" | "artifact-selected" | "update:artifacts")[], "select-symbol" | "message-sent" | "response-received" | "artifact-created" | "update:messages" | "title-update" | "import-change" | "publish-artifacts" | "update:activeArtifactIndex" | "artifact-selected" | "update:artifacts", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1156
1210
  title: {
1157
1211
  type: StringConstructor;
1158
1212
  default: string;
@@ -1220,6 +1274,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1220
1274
  type: StringConstructor;
1221
1275
  default: string;
1222
1276
  };
1277
+ showInlineArtifacts: {
1278
+ type: BooleanConstructor;
1279
+ default: boolean;
1280
+ };
1223
1281
  }>> & Readonly<{
1224
1282
  "onSelect-symbol"?: ((...args: any[]) => any) | undefined;
1225
1283
  "onMessage-sent"?: ((...args: any[]) => any) | undefined;
@@ -1228,9 +1286,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1228
1286
  "onUpdate:messages"?: ((...args: any[]) => any) | undefined;
1229
1287
  "onTitle-update"?: ((...args: any[]) => any) | undefined;
1230
1288
  "onImport-change"?: ((...args: any[]) => any) | undefined;
1289
+ "onPublish-artifacts"?: ((...args: any[]) => any) | undefined;
1290
+ "onUpdate:activeArtifactIndex"?: ((...args: any[]) => any) | undefined;
1231
1291
  "onArtifact-selected"?: ((...args: any[]) => any) | undefined;
1232
1292
  "onUpdate:artifacts"?: ((...args: any[]) => any) | undefined;
1233
- "onUpdate:activeArtifactIndex"?: ((...args: any[]) => any) | undefined;
1234
1293
  }>, {
1235
1294
  title: string;
1236
1295
  disabled: boolean;
@@ -1251,6 +1310,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1251
1310
  response?: string;
1252
1311
  artifacts?: ChatArtifact[];
1253
1312
  } | void>) | null;
1313
+ showInlineArtifacts: boolean;
1254
1314
  }, {}, {
1255
1315
  LLMChat: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1256
1316
  messages: {
@@ -1313,12 +1373,18 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1313
1373
  type: StringConstructor;
1314
1374
  default: string;
1315
1375
  };
1376
+ renderArtifacts: {
1377
+ type: BooleanConstructor;
1378
+ default: boolean;
1379
+ };
1316
1380
  }>, {
1317
1381
  internalMessages: import('vue').Ref<{
1318
1382
  artifact?: {
1319
- type: "results" | "chart" | "code" | "custom";
1383
+ id: string;
1384
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1320
1385
  data: any;
1321
1386
  config?: any;
1387
+ hidden?: boolean | undefined;
1322
1388
  } | undefined;
1323
1389
  executedToolCalls?: {
1324
1390
  id: string;
@@ -1348,9 +1414,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1348
1414
  }[] | undefined;
1349
1415
  }[], ChatMessage[] | {
1350
1416
  artifact?: {
1351
- type: "results" | "chart" | "code" | "custom";
1417
+ id: string;
1418
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1352
1419
  data: any;
1353
1420
  config?: any;
1421
+ hidden?: boolean | undefined;
1354
1422
  } | undefined;
1355
1423
  executedToolCalls?: {
1356
1424
  id: string;
@@ -1381,9 +1449,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1381
1449
  }[]>;
1382
1450
  visibleMessages: import('vue').ComputedRef<{
1383
1451
  artifact?: {
1384
- type: "results" | "chart" | "code" | "custom";
1452
+ id: string;
1453
+ type: "results" | "chart" | "code" | "markdown" | "custom";
1385
1454
  data: any;
1386
1455
  config?: any;
1456
+ hidden?: boolean | undefined;
1387
1457
  } | undefined;
1388
1458
  executedToolCalls?: {
1389
1459
  id: string;
@@ -1490,6 +1560,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1490
1560
  type: StringConstructor;
1491
1561
  default: string;
1492
1562
  };
1563
+ renderArtifacts: {
1564
+ type: BooleanConstructor;
1565
+ default: boolean;
1566
+ };
1493
1567
  }>> & Readonly<{
1494
1568
  "onMessage-sent"?: ((...args: any[]) => any) | undefined;
1495
1569
  "onResponse-received"?: ((...args: any[]) => any) | undefined;
@@ -1511,6 +1585,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1511
1585
  externalLoading: boolean;
1512
1586
  stopHandler: (() => void) | null;
1513
1587
  stopButtonText: string;
1588
+ renderArtifacts: boolean;
1514
1589
  }, {}, {
1515
1590
  EditableTitle: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1516
1591
  modelValue: {
@@ -1549,7 +1624,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1549
1624
  default: string;
1550
1625
  };
1551
1626
  results: {
1552
- type: PropType<Results | null>;
1627
+ type: PropType<import('../../editors/results').Results | null>;
1553
1628
  default: null;
1554
1629
  };
1555
1630
  loading: {
@@ -1565,7 +1640,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1565
1640
  default: string;
1566
1641
  };
1567
1642
  results: {
1568
- type: PropType<Results | null>;
1643
+ type: PropType<import('../../editors/results').Results | null>;
1569
1644
  default: null;
1570
1645
  };
1571
1646
  loading: {
@@ -1573,646 +1648,818 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1573
1648
  default: boolean;
1574
1649
  };
1575
1650
  }>> & Readonly<{}>, {
1576
- results: Results | null;
1651
+ results: import('../../editors/results').Results | null;
1577
1652
  markdown: string;
1578
1653
  loading: boolean;
1579
1654
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1580
1655
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1581
- ResultsComponent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1582
- type: {
1583
- type: StringConstructor;
1656
+ ArtifactsPane: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1657
+ artifacts: {
1658
+ type: PropType<ChatArtifact[]>;
1584
1659
  required: true;
1585
1660
  };
1586
- results: {
1587
- type: typeof Results;
1588
- required: true;
1589
- };
1590
- chartConfig: {
1591
- type: PropType<ChartConfig | null>;
1592
- required: false;
1593
- };
1594
- error: {
1595
- type: StringConstructor;
1596
- required: false;
1597
- };
1598
- connection: {
1599
- type: StringConstructor;
1600
- required: false;
1601
- };
1602
- symbols: {
1603
- type: PropType<CompletionItem[]>;
1604
- required: false;
1605
- };
1606
- containerHeight: NumberConstructor;
1607
- generatedSql: StringConstructor;
1608
- trilogySource: StringConstructor;
1609
- defaultTab: {
1610
- type: StringConstructor;
1611
- required: false;
1612
- default: null;
1613
- };
1614
- showChatButton: {
1615
- type: BooleanConstructor;
1616
- default: boolean;
1661
+ activeArtifactIndex: {
1662
+ type: NumberConstructor;
1663
+ default: number;
1617
1664
  };
1618
1665
  }>, {
1619
- codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1620
- connectionStore: import('pinia').Store<"connections", {
1621
- connections: Record<string, import('../../connections').Connection>;
1622
- }, {
1623
- connectionList: (state: {
1624
- connections: Record<string, import('../../connections').Connection>;
1625
- } & import('pinia').PiniaCustomStateProperties<{
1626
- connections: Record<string, import('../../connections').Connection>;
1627
- }>) => import('../../connections').Connection[];
1628
- unsavedConnections: (state: {
1629
- connections: Record<string, import('../../connections').Connection>;
1630
- } & import('pinia').PiniaCustomStateProperties<{
1631
- connections: Record<string, import('../../connections').Connection>;
1632
- }>) => number;
1633
- }, {
1634
- addConnection(connection: import('../../connections').Connection): import('../../connections').Connection;
1635
- connectConnection(name: string): Promise<any>;
1636
- resetConnection(name: string): Promise<any>;
1637
- deleteConnection(name: string): void;
1638
- connectionStateToStatus(connection: import('../../connections').Connection | null): "running" | "failed" | "disabled" | "connected";
1639
- getConnectionSources(name: string): import('../../stores').ContentInput[];
1640
- newConnection(name: string, type: string, options: Record<string, any>): import('../../connections').Connection;
1641
- }>;
1642
- }, {
1643
- activeTab: string;
1644
- activeDrilldown: import('../editor/Results.vue').Drilldown | null;
1645
- TABS_HEIGHT: number;
1646
- }, {
1647
- tabContentHeight(): number;
1648
- eligibleTabs(): string[];
1649
- displayTab(): string;
1650
- }, {
1651
- switchToVisualizeTab(): void;
1652
- setTab(tab: string): void;
1653
- handleReconnect(): Promise<void>;
1654
- onChartChange(config: any): void;
1655
- activateDrilldown(e: import('../../events/display').DrillDownTriggerEvent): void;
1656
- submitDrilldown(selected: string[]): void;
1657
- handleLocalRefresh(): void;
1658
- }, 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<{
1659
- type: {
1660
- type: StringConstructor;
1661
- required: true;
1662
- };
1663
- results: {
1664
- type: typeof Results;
1666
+ visibleArtifacts: import('vue').ComputedRef<{
1667
+ artifact: ChatArtifact;
1668
+ originalIndex: number;
1669
+ }[]>;
1670
+ hiddenArtifacts: import('vue').ComputedRef<{
1671
+ artifact: ChatArtifact;
1672
+ originalIndex: number;
1673
+ }[]>;
1674
+ showHidden: import('vue').Ref<boolean, boolean>;
1675
+ getArtifactResults: (artifact: ChatArtifact) => import('../../editors/results').Results | null;
1676
+ getMarkdownResults: (artifact: ChatArtifact) => import('../../editors/results').Results | null;
1677
+ getArtifactIcon: (artifact: ChatArtifact) => string;
1678
+ getArtifactLabel: (artifact: ChatArtifact, index: number) => string;
1679
+ getArtifactMeta: (artifact: ChatArtifact) => string;
1680
+ isArtifactCollapsed: (artifact: ChatArtifact, index: number) => boolean;
1681
+ toggleArtifactCollapsed: (artifact: ChatArtifact, index: number) => void;
1682
+ getArtifactCardStyle: (artifact: ChatArtifact) => Record<string, string>;
1683
+ getArtifactContainerHeight: (artifact: ChatArtifact) => number;
1684
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("chart-config-change" | "publish-artifacts" | "update:activeArtifactIndex" | "unhide-artifact")[], "chart-config-change" | "publish-artifacts" | "update:activeArtifactIndex" | "unhide-artifact", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1685
+ artifacts: {
1686
+ type: PropType<ChatArtifact[]>;
1665
1687
  required: true;
1666
1688
  };
1667
- chartConfig: {
1668
- type: PropType<ChartConfig | null>;
1669
- required: false;
1670
- };
1671
- error: {
1672
- type: StringConstructor;
1673
- required: false;
1674
- };
1675
- connection: {
1676
- type: StringConstructor;
1677
- required: false;
1678
- };
1679
- symbols: {
1680
- type: PropType<CompletionItem[]>;
1681
- required: false;
1682
- };
1683
- containerHeight: NumberConstructor;
1684
- generatedSql: StringConstructor;
1685
- trilogySource: StringConstructor;
1686
- defaultTab: {
1687
- type: StringConstructor;
1688
- required: false;
1689
- default: null;
1690
- };
1691
- showChatButton: {
1692
- type: BooleanConstructor;
1693
- default: boolean;
1689
+ activeArtifactIndex: {
1690
+ type: NumberConstructor;
1691
+ default: number;
1694
1692
  };
1695
1693
  }>> & Readonly<{
1696
- "onDrilldown-click"?: ((...args: any[]) => any) | undefined;
1697
- "onRefresh-click"?: ((...args: any[]) => any) | undefined;
1698
- "onConfig-change"?: ((...args: any[]) => any) | undefined;
1699
- "onOpen-chat"?: ((...args: any[]) => any) | undefined;
1694
+ "onChart-config-change"?: ((...args: any[]) => any) | undefined;
1695
+ "onPublish-artifacts"?: ((...args: any[]) => any) | undefined;
1696
+ "onUpdate:activeArtifactIndex"?: ((...args: any[]) => any) | undefined;
1697
+ "onUnhide-artifact"?: ((...args: any[]) => any) | undefined;
1700
1698
  }>, {
1701
- defaultTab: string;
1702
- showChatButton: boolean;
1699
+ activeArtifactIndex: number;
1703
1700
  }, {}, {
1704
- DataTable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1705
- headers: {
1706
- type: {
1707
- new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
1708
- new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
1709
- readonly prototype: Map<any, any>;
1710
- readonly [Symbol.species]: MapConstructor;
1711
- };
1701
+ ResultsComponent: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1702
+ type: {
1703
+ type: StringConstructor;
1712
1704
  required: true;
1713
1705
  };
1714
1706
  results: {
1715
- type: PropType<readonly import('../../editors/results').Row[]>;
1707
+ type: typeof import('../../editors/results').Results;
1716
1708
  required: true;
1717
1709
  };
1718
- containerHeight: NumberConstructor;
1719
- cellClick: {
1720
- type: FunctionConstructor;
1721
- default: () => void;
1710
+ chartConfig: {
1711
+ type: PropType<ChartConfig | null>;
1712
+ required: false;
1722
1713
  };
1723
- backgroundClick: {
1724
- type: FunctionConstructor;
1725
- default: () => void;
1714
+ error: {
1715
+ type: StringConstructor;
1716
+ required: false;
1726
1717
  };
1727
- prettyPrint: {
1728
- type: BooleanConstructor;
1729
- default: boolean;
1718
+ connection: {
1719
+ type: StringConstructor;
1720
+ required: false;
1721
+ };
1722
+ symbols: {
1723
+ type: PropType<CompletionItem[]>;
1724
+ required: false;
1725
+ };
1726
+ containerHeight: NumberConstructor;
1727
+ generatedSql: StringConstructor;
1728
+ trilogySource: StringConstructor;
1729
+ defaultTab: {
1730
+ type: StringConstructor;
1731
+ required: false;
1732
+ default: null;
1730
1733
  };
1731
- fitParent: {
1734
+ showChatButton: {
1732
1735
  type: BooleanConstructor;
1733
1736
  default: boolean;
1734
1737
  };
1735
1738
  }>, {
1736
- settingsStore: import('pinia').Store<"userSettings", {
1737
- settings: import('../../stores/userSettingsStore').UserSettings;
1738
- defaults: import('../../stores/userSettingsStore').UserSettings;
1739
- isLoading: boolean;
1740
- hasChanges: boolean;
1741
- hasLoaded: boolean;
1739
+ codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1740
+ connectionStore: import('pinia').Store<"connections", {
1741
+ connections: Record<string, import('../../connections').Connection>;
1742
1742
  }, {
1743
- getSettings: (state: {
1744
- settings: {
1745
- [x: string]: string | number | boolean | string[] | null | undefined;
1746
- theme: "dark" | "light" | "";
1747
- trilogyResolver: string;
1748
- telemetryEnabled: boolean | null;
1749
- tipsRead: string[];
1750
- skipAllTips: boolean;
1751
- };
1752
- defaults: {
1753
- [x: string]: string | number | boolean | string[] | null | undefined;
1754
- theme: "dark" | "light" | "";
1755
- trilogyResolver: string;
1756
- telemetryEnabled: boolean | null;
1757
- tipsRead: string[];
1758
- skipAllTips: boolean;
1759
- };
1760
- isLoading: boolean;
1761
- hasChanges: boolean;
1762
- hasLoaded: boolean;
1763
- } & import('pinia').PiniaCustomStateProperties<{
1764
- settings: import('../../stores/userSettingsStore').UserSettings;
1765
- defaults: import('../../stores/userSettingsStore').UserSettings;
1766
- isLoading: boolean;
1767
- hasChanges: boolean;
1768
- hasLoaded: boolean;
1769
- }>) => {
1770
- [x: string]: string | number | boolean | string[] | null | undefined;
1771
- theme: "dark" | "light" | "";
1772
- trilogyResolver: string;
1773
- telemetryEnabled: boolean | null;
1774
- tipsRead: string[];
1775
- skipAllTips: boolean;
1776
- };
1777
- getDefaults: (state: {
1778
- settings: {
1779
- [x: string]: string | number | boolean | string[] | null | undefined;
1780
- theme: "dark" | "light" | "";
1781
- trilogyResolver: string;
1782
- telemetryEnabled: boolean | null;
1783
- tipsRead: string[];
1784
- skipAllTips: boolean;
1785
- };
1786
- defaults: {
1787
- [x: string]: string | number | boolean | string[] | null | undefined;
1788
- theme: "dark" | "light" | "";
1789
- trilogyResolver: string;
1790
- telemetryEnabled: boolean | null;
1791
- tipsRead: string[];
1792
- skipAllTips: boolean;
1793
- };
1794
- isLoading: boolean;
1795
- hasChanges: boolean;
1796
- hasLoaded: boolean;
1743
+ connectionList: (state: {
1744
+ connections: Record<string, import('../../connections').Connection>;
1797
1745
  } & import('pinia').PiniaCustomStateProperties<{
1798
- settings: import('../../stores/userSettingsStore').UserSettings;
1799
- defaults: import('../../stores/userSettingsStore').UserSettings;
1800
- isLoading: boolean;
1801
- hasChanges: boolean;
1802
- hasLoaded: boolean;
1803
- }>) => {
1804
- [x: string]: string | number | boolean | string[] | null | undefined;
1805
- theme: "dark" | "light" | "";
1806
- trilogyResolver: string;
1807
- telemetryEnabled: boolean | null;
1808
- tipsRead: string[];
1809
- skipAllTips: boolean;
1810
- };
1811
- hasUnsavedChanges: (state: {
1812
- settings: {
1813
- [x: string]: string | number | boolean | string[] | null | undefined;
1814
- theme: "dark" | "light" | "";
1815
- trilogyResolver: string;
1816
- telemetryEnabled: boolean | null;
1817
- tipsRead: string[];
1818
- skipAllTips: boolean;
1819
- };
1820
- defaults: {
1821
- [x: string]: string | number | boolean | string[] | null | undefined;
1822
- theme: "dark" | "light" | "";
1823
- trilogyResolver: string;
1824
- telemetryEnabled: boolean | null;
1825
- tipsRead: string[];
1826
- skipAllTips: boolean;
1827
- };
1828
- isLoading: boolean;
1829
- hasChanges: boolean;
1830
- hasLoaded: boolean;
1746
+ connections: Record<string, import('../../connections').Connection>;
1747
+ }>) => import('../../connections').Connection[];
1748
+ unsavedConnections: (state: {
1749
+ connections: Record<string, import('../../connections').Connection>;
1831
1750
  } & import('pinia').PiniaCustomStateProperties<{
1832
- settings: import('../../stores/userSettingsStore').UserSettings;
1833
- defaults: import('../../stores/userSettingsStore').UserSettings;
1834
- isLoading: boolean;
1835
- hasChanges: boolean;
1836
- hasLoaded: boolean;
1837
- }>) => boolean;
1751
+ connections: Record<string, import('../../connections').Connection>;
1752
+ }>) => number;
1838
1753
  }, {
1839
- updateSetting<K extends keyof import('../../stores/userSettingsStore').UserSettings>(key: K, value: import('../../stores/userSettingsStore').UserSettings[K]): void;
1840
- getUnreadTips(tips: import('../../data/tips').ModalItem[]): import('../../data/tips').ModalItem[];
1841
- clearDismissedTips(): void;
1842
- markTipRead(tipId: string): void;
1843
- clearReadTips(): void;
1844
- toggleTheme(): void;
1845
- setHasChanges(value: boolean): void;
1846
- updateSettings(newSettings: Partial<import('../../stores/userSettingsStore').UserSettings>): void;
1847
- resetToDefaults(): void;
1848
- saveSettings(): Promise<boolean>;
1849
- loadSettings(): void;
1754
+ addConnection(connection: import('../../connections').Connection): import('../../connections').Connection;
1755
+ connectConnection(name: string): Promise<any>;
1756
+ resetConnection(name: string): Promise<any>;
1757
+ deleteConnection(name: string): void;
1758
+ connectionStateToStatus(connection: import('../../connections').Connection | null): "running" | "failed" | "disabled" | "connected";
1759
+ getConnectionSources(name: string): import('../../stores').ContentInput[];
1760
+ newConnection(name: string, type: string, options: Record<string, any>): import('../../connections').Connection;
1850
1761
  }>;
1851
- currentTheme: import('vue').ComputedRef<"" | "dark" | "light">;
1852
1762
  }, {
1853
- tabulator: import('vue').ShallowRef<Tabulator> | null;
1854
- selectedCell: null;
1855
- controlsVisible: boolean;
1763
+ activeTab: string;
1764
+ activeDrilldown: import('../editor/Results.vue').Drilldown | null;
1765
+ TABS_HEIGHT: number;
1856
1766
  }, {
1857
- tableData(): readonly Readonly<Record<string, any>>[];
1858
- tableColumns(): ColumnDefinition[];
1767
+ tabContentHeight(): number;
1768
+ eligibleTabs(): string[];
1769
+ displayTab(): string;
1859
1770
  }, {
1860
- copyToClipboard(): Promise<void>;
1861
- downloadData(): void;
1862
- showNotification(message: string, type: "success" | "error"): void;
1863
- create(): void;
1864
- updateTable(): void;
1865
- updateTableTheme(): void;
1866
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1867
- headers: {
1868
- type: {
1869
- new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
1870
- new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
1871
- readonly prototype: Map<any, any>;
1872
- readonly [Symbol.species]: MapConstructor;
1873
- };
1771
+ switchToVisualizeTab(): void;
1772
+ setTab(tab: string): void;
1773
+ handleReconnect(): Promise<void>;
1774
+ onChartChange(config: any): void;
1775
+ activateDrilldown(e: import('../../events/display').DrillDownTriggerEvent): void;
1776
+ submitDrilldown(selected: string[]): void;
1777
+ handleLocalRefresh(): void;
1778
+ }, 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<{
1779
+ type: {
1780
+ type: StringConstructor;
1874
1781
  required: true;
1875
1782
  };
1876
1783
  results: {
1877
- type: PropType<readonly import('../../editors/results').Row[]>;
1878
- required: true;
1879
- };
1880
- containerHeight: NumberConstructor;
1881
- cellClick: {
1882
- type: FunctionConstructor;
1883
- default: () => void;
1884
- };
1885
- backgroundClick: {
1886
- type: FunctionConstructor;
1887
- default: () => void;
1888
- };
1889
- prettyPrint: {
1890
- type: BooleanConstructor;
1891
- default: boolean;
1892
- };
1893
- fitParent: {
1894
- type: BooleanConstructor;
1895
- default: boolean;
1896
- };
1897
- }>> & Readonly<{}>, {
1898
- cellClick: Function;
1899
- backgroundClick: Function;
1900
- prettyPrint: boolean;
1901
- fitParent: boolean;
1902
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1903
- VegaLiteChart: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1904
- data: {
1905
- type: PropType<Readonly<import('../../editors/results').Row[]>>;
1784
+ type: typeof import('../../editors/results').Results;
1906
1785
  required: true;
1907
1786
  };
1908
- columns: {
1909
- type: PropType<Map<string, import('../../editors/results').ResultColumn>>;
1910
- required: true;
1911
- };
1912
- initialConfig: {
1913
- type: PropType<ChartConfig | undefined | null>;
1914
- default: undefined;
1915
- };
1916
- showControls: {
1917
- type: BooleanConstructor;
1918
- default: boolean;
1919
- };
1920
- containerHeight: NumberConstructor;
1921
- containerWidth: NumberConstructor;
1922
- onChartConfigChange: {
1923
- type: PropType<(config: ChartConfig) => void>;
1924
- default: () => void;
1925
- };
1926
- chartSelection: {
1927
- type: PropType<Object[]>;
1928
- default: () => void;
1787
+ chartConfig: {
1788
+ type: PropType<ChartConfig | null>;
1789
+ required: false;
1929
1790
  };
1930
- chartTitle: {
1791
+ error: {
1931
1792
  type: StringConstructor;
1932
- default: string;
1933
- };
1934
- drilldownActive: {
1935
- type: BooleanConstructor;
1936
- default: boolean;
1793
+ required: false;
1937
1794
  };
1938
- }>, {
1939
- vegaContainer1: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1940
- vegaContainer2: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1941
- chartContentArea: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
1942
- renderManager: import('../chartRenderManager').ChartRenderManager;
1943
- controlsManager: import('../chartControlsManager').ChartControlsManager;
1944
- renderChart: (force?: boolean) => Promise<void> | undefined;
1945
- filteredColumnsInternal: (type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[];
1946
- updateConfig: (field: keyof ChartConfig, value: string | boolean | number) => void;
1947
- openInVegaEditor: () => void;
1948
- downloadChart: () => Promise<void>;
1949
- refreshChart: () => void;
1950
- charts: import('vue').ComputedRef<{
1951
- value: string;
1952
- label: string;
1953
- icon: string;
1954
- }[]>;
1955
- isShortContainer: import('vue').ComputedRef<boolean | 0 | undefined>;
1956
- revertDrilldown: () => void;
1957
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1958
- data: {
1959
- type: PropType<Readonly<import('../../editors/results').Row[]>>;
1960
- required: true;
1961
- };
1962
- columns: {
1963
- type: PropType<Map<string, import('../../editors/results').ResultColumn>>;
1964
- required: true;
1965
- };
1966
- initialConfig: {
1967
- type: PropType<ChartConfig | undefined | null>;
1968
- default: undefined;
1795
+ connection: {
1796
+ type: StringConstructor;
1797
+ required: false;
1969
1798
  };
1970
- showControls: {
1971
- type: BooleanConstructor;
1972
- default: boolean;
1799
+ symbols: {
1800
+ type: PropType<CompletionItem[]>;
1801
+ required: false;
1973
1802
  };
1974
1803
  containerHeight: NumberConstructor;
1975
- containerWidth: NumberConstructor;
1976
- onChartConfigChange: {
1977
- type: PropType<(config: ChartConfig) => void>;
1978
- default: () => void;
1979
- };
1980
- chartSelection: {
1981
- type: PropType<Object[]>;
1982
- default: () => void;
1983
- };
1984
- chartTitle: {
1804
+ generatedSql: StringConstructor;
1805
+ trilogySource: StringConstructor;
1806
+ defaultTab: {
1985
1807
  type: StringConstructor;
1986
- default: string;
1808
+ required: false;
1809
+ default: null;
1987
1810
  };
1988
- drilldownActive: {
1811
+ showChatButton: {
1989
1812
  type: BooleanConstructor;
1990
1813
  default: boolean;
1991
1814
  };
1992
- }>> & Readonly<{}>, {
1993
- onChartConfigChange: (config: ChartConfig) => void;
1994
- initialConfig: ChartConfig | null | undefined;
1995
- showControls: boolean;
1996
- chartSelection: Object[];
1997
- chartTitle: string;
1998
- drilldownActive: boolean;
1815
+ }>> & Readonly<{
1816
+ "onDrilldown-click"?: ((...args: any[]) => any) | undefined;
1817
+ "onRefresh-click"?: ((...args: any[]) => any) | undefined;
1818
+ "onConfig-change"?: ((...args: any[]) => any) | undefined;
1819
+ "onOpen-chat"?: ((...args: any[]) => any) | undefined;
1820
+ }>, {
1821
+ defaultTab: string;
1822
+ showChatButton: boolean;
1999
1823
  }, {}, {
2000
- Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2001
- content: {
2002
- type: StringConstructor;
1824
+ DataTable: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1825
+ headers: {
1826
+ type: {
1827
+ new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
1828
+ new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
1829
+ readonly prototype: Map<any, any>;
1830
+ readonly [Symbol.species]: MapConstructor;
1831
+ };
2003
1832
  required: true;
2004
1833
  };
2005
- position: {
2006
- type: StringConstructor;
2007
- default: string;
1834
+ results: {
1835
+ type: PropType<readonly import('../../editors/results').Row[]>;
1836
+ required: true;
1837
+ };
1838
+ containerHeight: NumberConstructor;
1839
+ cellClick: {
1840
+ type: FunctionConstructor;
1841
+ default: () => void;
2008
1842
  };
2009
- inline: {
1843
+ backgroundClick: {
1844
+ type: FunctionConstructor;
1845
+ default: () => void;
1846
+ };
1847
+ prettyPrint: {
2010
1848
  type: BooleanConstructor;
2011
1849
  default: boolean;
2012
1850
  };
2013
- }>, {}, {
2014
- visible: boolean;
2015
- hoverTimeout: ReturnType<typeof setTimeout> | null;
2016
- }, {
2017
- positionClass(): string;
2018
- }, {
2019
- showTooltip(): void;
2020
- hideTooltip(): void;
2021
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2022
- content: {
2023
- type: StringConstructor;
1851
+ fitParent: {
1852
+ type: BooleanConstructor;
1853
+ default: boolean;
1854
+ };
1855
+ }>, {
1856
+ settingsStore: import('pinia').Store<"userSettings", {
1857
+ settings: import('../../stores/userSettingsStore').UserSettings;
1858
+ defaults: import('../../stores/userSettingsStore').UserSettings;
1859
+ isLoading: boolean;
1860
+ hasChanges: boolean;
1861
+ hasLoaded: boolean;
1862
+ }, {
1863
+ getSettings: (state: {
1864
+ settings: {
1865
+ [x: string]: string | number | boolean | string[] | null | undefined;
1866
+ theme: "dark" | "light" | "";
1867
+ trilogyResolver: string;
1868
+ telemetryEnabled: boolean | null;
1869
+ tipsRead: string[];
1870
+ skipAllTips: boolean;
1871
+ };
1872
+ defaults: {
1873
+ [x: string]: string | number | boolean | string[] | null | undefined;
1874
+ theme: "dark" | "light" | "";
1875
+ trilogyResolver: string;
1876
+ telemetryEnabled: boolean | null;
1877
+ tipsRead: string[];
1878
+ skipAllTips: boolean;
1879
+ };
1880
+ isLoading: boolean;
1881
+ hasChanges: boolean;
1882
+ hasLoaded: boolean;
1883
+ } & import('pinia').PiniaCustomStateProperties<{
1884
+ settings: import('../../stores/userSettingsStore').UserSettings;
1885
+ defaults: import('../../stores/userSettingsStore').UserSettings;
1886
+ isLoading: boolean;
1887
+ hasChanges: boolean;
1888
+ hasLoaded: boolean;
1889
+ }>) => {
1890
+ [x: string]: string | number | boolean | string[] | null | undefined;
1891
+ theme: "dark" | "light" | "";
1892
+ trilogyResolver: string;
1893
+ telemetryEnabled: boolean | null;
1894
+ tipsRead: string[];
1895
+ skipAllTips: boolean;
1896
+ };
1897
+ getDefaults: (state: {
1898
+ settings: {
1899
+ [x: string]: string | number | boolean | string[] | null | undefined;
1900
+ theme: "dark" | "light" | "";
1901
+ trilogyResolver: string;
1902
+ telemetryEnabled: boolean | null;
1903
+ tipsRead: string[];
1904
+ skipAllTips: boolean;
1905
+ };
1906
+ defaults: {
1907
+ [x: string]: string | number | boolean | string[] | null | undefined;
1908
+ theme: "dark" | "light" | "";
1909
+ trilogyResolver: string;
1910
+ telemetryEnabled: boolean | null;
1911
+ tipsRead: string[];
1912
+ skipAllTips: boolean;
1913
+ };
1914
+ isLoading: boolean;
1915
+ hasChanges: boolean;
1916
+ hasLoaded: boolean;
1917
+ } & import('pinia').PiniaCustomStateProperties<{
1918
+ settings: import('../../stores/userSettingsStore').UserSettings;
1919
+ defaults: import('../../stores/userSettingsStore').UserSettings;
1920
+ isLoading: boolean;
1921
+ hasChanges: boolean;
1922
+ hasLoaded: boolean;
1923
+ }>) => {
1924
+ [x: string]: string | number | boolean | string[] | null | undefined;
1925
+ theme: "dark" | "light" | "";
1926
+ trilogyResolver: string;
1927
+ telemetryEnabled: boolean | null;
1928
+ tipsRead: string[];
1929
+ skipAllTips: boolean;
1930
+ };
1931
+ hasUnsavedChanges: (state: {
1932
+ settings: {
1933
+ [x: string]: string | number | boolean | string[] | null | undefined;
1934
+ theme: "dark" | "light" | "";
1935
+ trilogyResolver: string;
1936
+ telemetryEnabled: boolean | null;
1937
+ tipsRead: string[];
1938
+ skipAllTips: boolean;
1939
+ };
1940
+ defaults: {
1941
+ [x: string]: string | number | boolean | string[] | null | undefined;
1942
+ theme: "dark" | "light" | "";
1943
+ trilogyResolver: string;
1944
+ telemetryEnabled: boolean | null;
1945
+ tipsRead: string[];
1946
+ skipAllTips: boolean;
1947
+ };
1948
+ isLoading: boolean;
1949
+ hasChanges: boolean;
1950
+ hasLoaded: boolean;
1951
+ } & import('pinia').PiniaCustomStateProperties<{
1952
+ settings: import('../../stores/userSettingsStore').UserSettings;
1953
+ defaults: import('../../stores/userSettingsStore').UserSettings;
1954
+ isLoading: boolean;
1955
+ hasChanges: boolean;
1956
+ hasLoaded: boolean;
1957
+ }>) => boolean;
1958
+ }, {
1959
+ updateSetting<K extends keyof import('../../stores/userSettingsStore').UserSettings>(key: K, value: import('../../stores/userSettingsStore').UserSettings[K]): void;
1960
+ getUnreadTips(tips: import('../../data/tips').ModalItem[]): import('../../data/tips').ModalItem[];
1961
+ clearDismissedTips(): void;
1962
+ markTipRead(tipId: string): void;
1963
+ clearReadTips(): void;
1964
+ toggleTheme(): void;
1965
+ setHasChanges(value: boolean): void;
1966
+ updateSettings(newSettings: Partial<import('../../stores/userSettingsStore').UserSettings>): void;
1967
+ resetToDefaults(): void;
1968
+ saveSettings(): Promise<boolean>;
1969
+ loadSettings(): void;
1970
+ }>;
1971
+ currentTheme: import('vue').ComputedRef<"" | "dark" | "light">;
1972
+ }, {
1973
+ tabulator: import('vue').ShallowRef<Tabulator> | null;
1974
+ selectedCell: null;
1975
+ controlsVisible: boolean;
1976
+ }, {
1977
+ tableData(): readonly Readonly<Record<string, any>>[];
1978
+ tableColumns(): ColumnDefinition[];
1979
+ }, {
1980
+ copyToClipboard(): Promise<void>;
1981
+ downloadData(): void;
1982
+ showNotification(message: string, type: "success" | "error"): void;
1983
+ create(): void;
1984
+ updateTable(): void;
1985
+ updateTableTheme(): void;
1986
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
1987
+ headers: {
1988
+ type: {
1989
+ new (entries?: readonly (readonly [String, import('../../editors/results').ResultColumn])[] | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
1990
+ new (iterable?: Iterable<readonly [String, import('../../editors/results').ResultColumn]> | null | undefined): Map<String, import('../../editors/results').ResultColumn>;
1991
+ readonly prototype: Map<any, any>;
1992
+ readonly [Symbol.species]: MapConstructor;
1993
+ };
2024
1994
  required: true;
2025
1995
  };
2026
- position: {
2027
- type: StringConstructor;
2028
- default: string;
1996
+ results: {
1997
+ type: PropType<readonly import('../../editors/results').Row[]>;
1998
+ required: true;
1999
+ };
2000
+ containerHeight: NumberConstructor;
2001
+ cellClick: {
2002
+ type: FunctionConstructor;
2003
+ default: () => void;
2004
+ };
2005
+ backgroundClick: {
2006
+ type: FunctionConstructor;
2007
+ default: () => void;
2008
+ };
2009
+ prettyPrint: {
2010
+ type: BooleanConstructor;
2011
+ default: boolean;
2029
2012
  };
2030
- inline: {
2013
+ fitParent: {
2031
2014
  type: BooleanConstructor;
2032
2015
  default: boolean;
2033
2016
  };
2034
2017
  }>> & Readonly<{}>, {
2035
- position: string;
2036
- inline: boolean;
2018
+ cellClick: Function;
2019
+ backgroundClick: Function;
2020
+ prettyPrint: boolean;
2021
+ fitParent: boolean;
2037
2022
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2038
- ChartControlPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2039
- config: {
2040
- type: PropType<ChartConfig>;
2023
+ VegaLiteChart: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2024
+ data: {
2025
+ type: PropType<Readonly<import('../../editors/results').Row[]>>;
2041
2026
  required: true;
2042
2027
  };
2043
- charts: {
2044
- type: PropType<Array<{
2045
- value: string;
2046
- label: string;
2047
- icon: string;
2048
- }>>;
2028
+ columns: {
2029
+ type: PropType<Map<string, import('../../editors/results').ResultColumn>>;
2049
2030
  required: true;
2050
2031
  };
2051
- filteredColumns: {
2052
- type: PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
2053
- required: true;
2032
+ initialConfig: {
2033
+ type: PropType<ChartConfig | undefined | null>;
2034
+ default: undefined;
2035
+ };
2036
+ showControls: {
2037
+ type: BooleanConstructor;
2038
+ default: boolean;
2039
+ };
2040
+ containerHeight: NumberConstructor;
2041
+ containerWidth: NumberConstructor;
2042
+ onChartConfigChange: {
2043
+ type: PropType<(config: ChartConfig) => void>;
2044
+ default: () => void;
2045
+ };
2046
+ chartSelection: {
2047
+ type: PropType<Object[]>;
2048
+ default: () => void;
2049
+ };
2050
+ chartTitle: {
2051
+ type: StringConstructor;
2052
+ default: string;
2053
+ };
2054
+ drilldownActive: {
2055
+ type: BooleanConstructor;
2056
+ default: boolean;
2054
2057
  };
2055
2058
  }>, {
2056
- controlSections: import('vue').ComputedRef<import('../ChartControlPanel.vue').ChartControlSection[]>;
2057
- updateConfig: (field: string, value: any) => void;
2058
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update-config" | "open-vega-editor")[], "update-config" | "open-vega-editor", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2059
- config: {
2060
- type: PropType<ChartConfig>;
2059
+ vegaContainer1: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2060
+ vegaContainer2: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2061
+ chartContentArea: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2062
+ renderManager: import('../chartRenderManager').ChartRenderManager;
2063
+ controlsManager: import('../chartControlsManager').ChartControlsManager;
2064
+ renderChart: (force?: boolean) => Promise<void> | undefined;
2065
+ filteredColumnsInternal: (type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[];
2066
+ updateConfig: (field: keyof ChartConfig, value: string | boolean | number) => void;
2067
+ openInVegaEditor: () => void;
2068
+ downloadChart: () => Promise<void>;
2069
+ refreshChart: () => void;
2070
+ charts: import('vue').ComputedRef<{
2071
+ value: string;
2072
+ label: string;
2073
+ icon: string;
2074
+ }[]>;
2075
+ isShortContainer: import('vue').ComputedRef<boolean | 0 | undefined>;
2076
+ revertDrilldown: () => void;
2077
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2078
+ data: {
2079
+ type: PropType<Readonly<import('../../editors/results').Row[]>>;
2061
2080
  required: true;
2062
2081
  };
2063
- charts: {
2064
- type: PropType<Array<{
2065
- value: string;
2066
- label: string;
2067
- icon: string;
2068
- }>>;
2082
+ columns: {
2083
+ type: PropType<Map<string, import('../../editors/results').ResultColumn>>;
2069
2084
  required: true;
2070
2085
  };
2071
- filteredColumns: {
2072
- type: PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
2073
- required: true;
2086
+ initialConfig: {
2087
+ type: PropType<ChartConfig | undefined | null>;
2088
+ default: undefined;
2074
2089
  };
2075
- }>> & Readonly<{
2076
- "onUpdate-config"?: ((...args: any[]) => any) | undefined;
2077
- "onOpen-vega-editor"?: ((...args: any[]) => any) | undefined;
2078
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2079
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2080
- ErrorMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2081
- type: {
2082
- type: () => "error" | "information";
2083
- default: string;
2084
- validator: (value: string) => boolean;
2085
- };
2086
- }>, {}, {}, {
2087
- messageClass(): string;
2088
- iconEmoji(): string;
2089
- }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2090
- type: {
2091
- type: () => "error" | "information";
2092
- default: string;
2093
- validator: (value: string) => boolean;
2094
- };
2095
- }>> & Readonly<{}>, {
2096
- type: "error" | "information";
2097
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2098
- LoadingButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2099
- action: {
2100
- type: FunctionConstructor;
2101
- required: true;
2102
- };
2103
- useDefaultStyle: {
2104
- type: BooleanConstructor;
2105
- default: boolean;
2106
- };
2107
- keyCombination: {
2090
+ showControls: {
2091
+ type: BooleanConstructor;
2092
+ default: boolean;
2093
+ };
2094
+ containerHeight: NumberConstructor;
2095
+ containerWidth: NumberConstructor;
2096
+ onChartConfigChange: {
2097
+ type: PropType<(config: ChartConfig) => void>;
2098
+ default: () => void;
2099
+ };
2100
+ chartSelection: {
2101
+ type: PropType<Object[]>;
2102
+ default: () => void;
2103
+ };
2104
+ chartTitle: {
2105
+ type: StringConstructor;
2106
+ default: string;
2107
+ };
2108
+ drilldownActive: {
2109
+ type: BooleanConstructor;
2110
+ default: boolean;
2111
+ };
2112
+ }>> & Readonly<{}>, {
2113
+ onChartConfigChange: (config: ChartConfig) => void;
2114
+ initialConfig: ChartConfig | null | undefined;
2115
+ showControls: boolean;
2116
+ chartSelection: Object[];
2117
+ chartTitle: string;
2118
+ drilldownActive: boolean;
2119
+ }, {}, {
2120
+ Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2121
+ content: {
2122
+ type: StringConstructor;
2123
+ required: true;
2124
+ };
2125
+ position: {
2126
+ type: StringConstructor;
2127
+ default: string;
2128
+ };
2129
+ inline: {
2130
+ type: BooleanConstructor;
2131
+ default: boolean;
2132
+ };
2133
+ }>, {}, {
2134
+ visible: boolean;
2135
+ hoverTimeout: ReturnType<typeof setTimeout> | null;
2136
+ }, {
2137
+ positionClass(): string;
2138
+ }, {
2139
+ showTooltip(): void;
2140
+ hideTooltip(): void;
2141
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2142
+ content: {
2143
+ type: StringConstructor;
2144
+ required: true;
2145
+ };
2146
+ position: {
2147
+ type: StringConstructor;
2148
+ default: string;
2149
+ };
2150
+ inline: {
2151
+ type: BooleanConstructor;
2152
+ default: boolean;
2153
+ };
2154
+ }>> & Readonly<{}>, {
2155
+ position: string;
2156
+ inline: boolean;
2157
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2158
+ ChartControlPanel: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2159
+ config: {
2160
+ type: PropType<ChartConfig>;
2161
+ required: true;
2162
+ };
2163
+ charts: {
2164
+ type: PropType<Array<{
2165
+ value: string;
2166
+ label: string;
2167
+ icon: string;
2168
+ }>>;
2169
+ required: true;
2170
+ };
2171
+ filteredColumns: {
2172
+ type: PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
2173
+ required: true;
2174
+ };
2175
+ }>, {
2176
+ controlSections: import('vue').ComputedRef<import('../ChartControlPanel.vue').ChartControlSection[]>;
2177
+ updateConfig: (field: string, value: any) => void;
2178
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update-config" | "open-vega-editor")[], "update-config" | "open-vega-editor", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2179
+ config: {
2180
+ type: PropType<ChartConfig>;
2181
+ required: true;
2182
+ };
2183
+ charts: {
2184
+ type: PropType<Array<{
2185
+ value: string;
2186
+ label: string;
2187
+ icon: string;
2188
+ }>>;
2189
+ required: true;
2190
+ };
2191
+ filteredColumns: {
2192
+ type: PropType<(type: "numeric" | "categorical" | "temporal" | "latitude" | "longitude" | "geographic" | "all") => import('../../editors/results').ResultColumn[]>;
2193
+ required: true;
2194
+ };
2195
+ }>> & Readonly<{
2196
+ "onUpdate-config"?: ((...args: any[]) => any) | undefined;
2197
+ "onOpen-vega-editor"?: ((...args: any[]) => any) | undefined;
2198
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2199
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2200
+ ErrorMessage: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2108
2201
  type: {
2109
- (arrayLength: number): string[];
2110
- (...items: string[]): string[];
2111
- new (arrayLength: number): string[];
2112
- new (...items: string[]): string[];
2113
- isArray(arg: any): arg is any[];
2114
- readonly prototype: any[];
2115
- from<T>(arrayLike: ArrayLike<T>): T[];
2116
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
2117
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
2118
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
2119
- of<T>(...items: T[]): T[];
2120
- readonly [Symbol.species]: ArrayConstructor;
2202
+ type: () => "error" | "information";
2203
+ default: string;
2204
+ validator: (value: string) => boolean;
2121
2205
  };
2122
- default: null;
2123
- };
2124
- disabled: {
2125
- type: BooleanConstructor;
2126
- default: boolean;
2127
- };
2128
- testId: {
2129
- type: StringConstructor;
2130
- default: string;
2131
- };
2132
- }>, {
2133
- errorMessage: import('vue').Ref<string | null, string | null>;
2134
- isLoading: import('vue').Ref<boolean, boolean>;
2135
- status: import('vue').Ref<"success" | "error" | null, "success" | "error" | null>;
2136
- handleClick: () => Promise<void>;
2137
- handleKeydown: (event: KeyboardEvent) => void;
2138
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2139
- action: {
2140
- type: FunctionConstructor;
2141
- required: true;
2142
- };
2143
- useDefaultStyle: {
2144
- type: BooleanConstructor;
2145
- default: boolean;
2146
- };
2147
- keyCombination: {
2206
+ }>, {}, {}, {
2207
+ messageClass(): string;
2208
+ iconEmoji(): string;
2209
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2148
2210
  type: {
2149
- (arrayLength: number): string[];
2150
- (...items: string[]): string[];
2151
- new (arrayLength: number): string[];
2152
- new (...items: string[]): string[];
2153
- isArray(arg: any): arg is any[];
2154
- readonly prototype: any[];
2155
- from<T>(arrayLike: ArrayLike<T>): T[];
2156
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
2157
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
2158
- from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
2159
- of<T>(...items: T[]): T[];
2160
- readonly [Symbol.species]: ArrayConstructor;
2211
+ type: () => "error" | "information";
2212
+ default: string;
2213
+ validator: (value: string) => boolean;
2161
2214
  };
2162
- default: null;
2163
- };
2164
- disabled: {
2165
- type: BooleanConstructor;
2166
- default: boolean;
2167
- };
2168
- testId: {
2169
- type: StringConstructor;
2170
- default: string;
2171
- };
2172
- }>> & Readonly<{}>, {
2173
- disabled: boolean;
2174
- useDefaultStyle: boolean;
2175
- keyCombination: string[];
2176
- testId: string;
2177
- }, {}, {
2178
- Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2179
- content: {
2180
- type: StringConstructor;
2215
+ }>> & Readonly<{}>, {
2216
+ type: "error" | "information";
2217
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2218
+ LoadingButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2219
+ action: {
2220
+ type: FunctionConstructor;
2181
2221
  required: true;
2182
2222
  };
2183
- position: {
2223
+ useDefaultStyle: {
2224
+ type: BooleanConstructor;
2225
+ default: boolean;
2226
+ };
2227
+ keyCombination: {
2228
+ type: {
2229
+ (arrayLength: number): string[];
2230
+ (...items: string[]): string[];
2231
+ new (arrayLength: number): string[];
2232
+ new (...items: string[]): string[];
2233
+ isArray(arg: any): arg is any[];
2234
+ readonly prototype: any[];
2235
+ from<T>(arrayLike: ArrayLike<T>): T[];
2236
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
2237
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
2238
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
2239
+ of<T>(...items: T[]): T[];
2240
+ readonly [Symbol.species]: ArrayConstructor;
2241
+ };
2242
+ default: null;
2243
+ };
2244
+ disabled: {
2245
+ type: BooleanConstructor;
2246
+ default: boolean;
2247
+ };
2248
+ testId: {
2184
2249
  type: StringConstructor;
2185
2250
  default: string;
2186
2251
  };
2187
- inline: {
2252
+ }>, {
2253
+ errorMessage: import('vue').Ref<string | null, string | null>;
2254
+ isLoading: import('vue').Ref<boolean, boolean>;
2255
+ status: import('vue').Ref<"success" | "error" | null, "success" | "error" | null>;
2256
+ handleClick: () => Promise<void>;
2257
+ handleKeydown: (event: KeyboardEvent) => void;
2258
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2259
+ action: {
2260
+ type: FunctionConstructor;
2261
+ required: true;
2262
+ };
2263
+ useDefaultStyle: {
2188
2264
  type: BooleanConstructor;
2189
2265
  default: boolean;
2190
2266
  };
2191
- }>, {}, {
2192
- visible: boolean;
2193
- hoverTimeout: ReturnType<typeof setTimeout> | null;
2194
- }, {
2195
- positionClass(): string;
2196
- }, {
2197
- showTooltip(): void;
2198
- hideTooltip(): void;
2199
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2267
+ keyCombination: {
2268
+ type: {
2269
+ (arrayLength: number): string[];
2270
+ (...items: string[]): string[];
2271
+ new (arrayLength: number): string[];
2272
+ new (...items: string[]): string[];
2273
+ isArray(arg: any): arg is any[];
2274
+ readonly prototype: any[];
2275
+ from<T>(arrayLike: ArrayLike<T>): T[];
2276
+ from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
2277
+ from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
2278
+ from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
2279
+ of<T>(...items: T[]): T[];
2280
+ readonly [Symbol.species]: ArrayConstructor;
2281
+ };
2282
+ default: null;
2283
+ };
2284
+ disabled: {
2285
+ type: BooleanConstructor;
2286
+ default: boolean;
2287
+ };
2288
+ testId: {
2289
+ type: StringConstructor;
2290
+ default: string;
2291
+ };
2292
+ }>> & Readonly<{}>, {
2293
+ disabled: boolean;
2294
+ useDefaultStyle: boolean;
2295
+ keyCombination: string[];
2296
+ testId: string;
2297
+ }, {}, {
2298
+ Tooltip: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2299
+ content: {
2300
+ type: StringConstructor;
2301
+ required: true;
2302
+ };
2303
+ position: {
2304
+ type: StringConstructor;
2305
+ default: string;
2306
+ };
2307
+ inline: {
2308
+ type: BooleanConstructor;
2309
+ default: boolean;
2310
+ };
2311
+ }>, {}, {
2312
+ visible: boolean;
2313
+ hoverTimeout: ReturnType<typeof setTimeout> | null;
2314
+ }, {
2315
+ positionClass(): string;
2316
+ }, {
2317
+ showTooltip(): void;
2318
+ hideTooltip(): void;
2319
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2320
+ content: {
2321
+ type: StringConstructor;
2322
+ required: true;
2323
+ };
2324
+ position: {
2325
+ type: StringConstructor;
2326
+ default: string;
2327
+ };
2328
+ inline: {
2329
+ type: BooleanConstructor;
2330
+ default: boolean;
2331
+ };
2332
+ }>> & Readonly<{}>, {
2333
+ position: string;
2334
+ inline: boolean;
2335
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2336
+ }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2337
+ CodeBlock: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2200
2338
  content: {
2201
2339
  type: StringConstructor;
2202
2340
  required: true;
2203
2341
  };
2204
- position: {
2342
+ language: {
2343
+ type: PropType<"sql" | "trilogy">;
2344
+ default: string;
2345
+ };
2346
+ copy: {
2347
+ type: FunctionConstructor;
2348
+ optional: boolean;
2349
+ };
2350
+ }>, {
2351
+ codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2352
+ codeClass: import('vue').Ref<string, string>;
2353
+ copyCode: () => Promise<void>;
2354
+ copied: import('vue').Ref<boolean, boolean>;
2355
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "on-copy"[], "on-copy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2356
+ content: {
2205
2357
  type: StringConstructor;
2358
+ required: true;
2359
+ };
2360
+ language: {
2361
+ type: PropType<"sql" | "trilogy">;
2206
2362
  default: string;
2207
2363
  };
2208
- inline: {
2209
- type: BooleanConstructor;
2210
- default: boolean;
2364
+ copy: {
2365
+ type: FunctionConstructor;
2366
+ optional: boolean;
2211
2367
  };
2212
- }>> & Readonly<{}>, {
2213
- position: string;
2214
- inline: boolean;
2368
+ }>> & Readonly<{
2369
+ "onOn-copy"?: ((...args: any[]) => any) | undefined;
2370
+ }>, {
2371
+ language: "trilogy" | "sql";
2215
2372
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2373
+ DrilldownPane: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2374
+ drilldownRemove: {
2375
+ type: StringConstructor;
2376
+ required: true;
2377
+ };
2378
+ drilldownFilter: {
2379
+ type: StringConstructor;
2380
+ required: true;
2381
+ };
2382
+ symbols: {
2383
+ type: PropType<CompletionItem[]>;
2384
+ required: true;
2385
+ };
2386
+ }>, {
2387
+ searchQuery: import('vue').Ref<string, string>;
2388
+ filteredDimensions: import('vue').Ref<{
2389
+ label: string;
2390
+ description: string;
2391
+ type: string;
2392
+ datatype: string;
2393
+ insertText: string;
2394
+ trilogyType?: ("concept" | "function" | "type") | undefined;
2395
+ trilogySubType?: ("property" | "key" | "metric") | undefined;
2396
+ calculation?: string | undefined;
2397
+ keys?: string[] | undefined;
2398
+ }[], CompletionItem[] | {
2399
+ label: string;
2400
+ description: string;
2401
+ type: string;
2402
+ datatype: string;
2403
+ insertText: string;
2404
+ trilogyType?: ("concept" | "function" | "type") | undefined;
2405
+ trilogySubType?: ("property" | "key" | "metric") | undefined;
2406
+ calculation?: string | undefined;
2407
+ keys?: string[] | undefined;
2408
+ }[]>;
2409
+ drilldownSearchInput: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
2410
+ dimensionsList: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2411
+ tooltip: {
2412
+ visible: boolean;
2413
+ x: number;
2414
+ y: number;
2415
+ dimension: {
2416
+ label: string;
2417
+ description: string;
2418
+ type: string;
2419
+ datatype: string;
2420
+ insertText: string;
2421
+ trilogyType?: ("concept" | "function" | "type") | undefined;
2422
+ trilogySubType?: ("property" | "key" | "metric") | undefined;
2423
+ calculation?: string | undefined;
2424
+ keys?: string[] | undefined;
2425
+ };
2426
+ };
2427
+ selected: import('vue').Ref<string[], string[]>;
2428
+ highlightedIndex: import('vue').Ref<number, number>;
2429
+ filterDimensions: () => void;
2430
+ selectDimension: (dimension: CompletionItem) => void;
2431
+ removeDimension: (dimensionLabel: string) => void;
2432
+ handleSubmit: () => void;
2433
+ handleClose: () => void;
2434
+ handleSearchKeydown: (event: KeyboardEvent) => void;
2435
+ setHighlightedIndex: (index: number) => void;
2436
+ getIconType: (dimension: CompletionItem) => string;
2437
+ getIconMdiClass: (dimension: CompletionItem) => string;
2438
+ getDimensionChar: (dimension: CompletionItem) => string;
2439
+ getIconClass: (dimension: CompletionItem) => string;
2440
+ getIconTooltip: (dimension: CompletionItem) => string;
2441
+ showTooltip: (event: MouseEvent, dimension: CompletionItem) => Promise<void>;
2442
+ hideTooltip: () => void;
2443
+ updateTooltipPosition: (event: MouseEvent) => void;
2444
+ }, {}, {}, {}, 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<{
2445
+ drilldownRemove: {
2446
+ type: StringConstructor;
2447
+ required: true;
2448
+ };
2449
+ drilldownFilter: {
2450
+ type: StringConstructor;
2451
+ required: true;
2452
+ };
2453
+ symbols: {
2454
+ type: PropType<CompletionItem[]>;
2455
+ required: true;
2456
+ };
2457
+ }>> & Readonly<{
2458
+ onSubmit?: ((...args: any[]) => any) | undefined;
2459
+ onClose?: ((...args: any[]) => any) | undefined;
2460
+ "onSelect-dimension"?: ((...args: any[]) => any) | undefined;
2461
+ "onRemove-dimension"?: ((...args: any[]) => any) | undefined;
2462
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2216
2463
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2217
2464
  CodeBlock: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2218
2465
  content: {
@@ -2250,133 +2497,42 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
2250
2497
  }>, {
2251
2498
  language: "trilogy" | "sql";
2252
2499
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2253
- DrilldownPane: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2254
- drilldownRemove: {
2500
+ MarkdownRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2501
+ markdown: {
2255
2502
  type: StringConstructor;
2256
2503
  required: true;
2504
+ default: string;
2257
2505
  };
2258
- drilldownFilter: {
2259
- type: StringConstructor;
2260
- required: true;
2506
+ results: {
2507
+ type: PropType<import('../../editors/results').Results | null>;
2508
+ default: null;
2261
2509
  };
2262
- symbols: {
2263
- type: PropType<CompletionItem[]>;
2264
- required: true;
2510
+ loading: {
2511
+ type: BooleanConstructor;
2512
+ default: boolean;
2265
2513
  };
2266
2514
  }>, {
2267
- searchQuery: import('vue').Ref<string, string>;
2268
- filteredDimensions: import('vue').Ref<{
2269
- label: string;
2270
- description: string;
2271
- type: string;
2272
- datatype: string;
2273
- insertText: string;
2274
- trilogyType?: ("concept" | "function" | "type") | undefined;
2275
- trilogySubType?: ("property" | "key" | "metric") | undefined;
2276
- calculation?: string | undefined;
2277
- keys?: string[] | undefined;
2278
- }[], CompletionItem[] | {
2279
- label: string;
2280
- description: string;
2281
- type: string;
2282
- datatype: string;
2283
- insertText: string;
2284
- trilogyType?: ("concept" | "function" | "type") | undefined;
2285
- trilogySubType?: ("property" | "key" | "metric") | undefined;
2286
- calculation?: string | undefined;
2287
- keys?: string[] | undefined;
2288
- }[]>;
2289
- drilldownSearchInput: import('vue').Ref<HTMLInputElement | null, HTMLInputElement | null>;
2290
- dimensionsList: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2291
- tooltip: {
2292
- visible: boolean;
2293
- x: number;
2294
- y: number;
2295
- dimension: {
2296
- label: string;
2297
- description: string;
2298
- type: string;
2299
- datatype: string;
2300
- insertText: string;
2301
- trilogyType?: ("concept" | "function" | "type") | undefined;
2302
- trilogySubType?: ("property" | "key" | "metric") | undefined;
2303
- calculation?: string | undefined;
2304
- keys?: string[] | undefined;
2305
- };
2306
- };
2307
- selected: import('vue').Ref<string[], string[]>;
2308
- highlightedIndex: import('vue').Ref<number, number>;
2309
- filterDimensions: () => void;
2310
- selectDimension: (dimension: CompletionItem) => void;
2311
- removeDimension: (dimensionLabel: string) => void;
2312
- handleSubmit: () => void;
2313
- handleClose: () => void;
2314
- handleSearchKeydown: (event: KeyboardEvent) => void;
2315
- setHighlightedIndex: (index: number) => void;
2316
- getIconType: (dimension: CompletionItem) => string;
2317
- getIconMdiClass: (dimension: CompletionItem) => string;
2318
- getDimensionChar: (dimension: CompletionItem) => string;
2319
- getIconClass: (dimension: CompletionItem) => string;
2320
- getIconTooltip: (dimension: CompletionItem) => string;
2321
- showTooltip: (event: MouseEvent, dimension: CompletionItem) => Promise<void>;
2322
- hideTooltip: () => void;
2323
- updateTooltipPosition: (event: MouseEvent) => void;
2324
- }, {}, {}, {}, 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<{
2325
- drilldownRemove: {
2515
+ renderedMarkdown: import('vue').ComputedRef<string>;
2516
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2517
+ markdown: {
2326
2518
  type: StringConstructor;
2327
2519
  required: true;
2520
+ default: string;
2328
2521
  };
2329
- drilldownFilter: {
2330
- type: StringConstructor;
2331
- required: true;
2522
+ results: {
2523
+ type: PropType<import('../../editors/results').Results | null>;
2524
+ default: null;
2332
2525
  };
2333
- symbols: {
2334
- type: PropType<CompletionItem[]>;
2335
- required: true;
2526
+ loading: {
2527
+ type: BooleanConstructor;
2528
+ default: boolean;
2336
2529
  };
2337
- }>> & Readonly<{
2338
- onSubmit?: ((...args: any[]) => any) | undefined;
2339
- onClose?: ((...args: any[]) => any) | undefined;
2340
- "onSelect-dimension"?: ((...args: any[]) => any) | undefined;
2341
- "onRemove-dimension"?: ((...args: any[]) => any) | undefined;
2342
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2530
+ }>> & Readonly<{}>, {
2531
+ results: import('../../editors/results').Results | null;
2532
+ markdown: string;
2533
+ loading: boolean;
2534
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2343
2535
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2344
- CodeBlock: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2345
- content: {
2346
- type: StringConstructor;
2347
- required: true;
2348
- };
2349
- language: {
2350
- type: PropType<"sql" | "trilogy">;
2351
- default: string;
2352
- };
2353
- copy: {
2354
- type: FunctionConstructor;
2355
- optional: boolean;
2356
- };
2357
- }>, {
2358
- codeBlock: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
2359
- codeClass: import('vue').Ref<string, string>;
2360
- copyCode: () => Promise<void>;
2361
- copied: import('vue').Ref<boolean, boolean>;
2362
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "on-copy"[], "on-copy", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
2363
- content: {
2364
- type: StringConstructor;
2365
- required: true;
2366
- };
2367
- language: {
2368
- type: PropType<"sql" | "trilogy">;
2369
- default: string;
2370
- };
2371
- copy: {
2372
- type: FunctionConstructor;
2373
- optional: boolean;
2374
- };
2375
- }>> & Readonly<{
2376
- "onOn-copy"?: ((...args: any[]) => any) | undefined;
2377
- }>, {
2378
- language: "trilogy" | "sql";
2379
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2380
2536
  DashboardImportSelector: import('vue').DefineComponent<import('../dashboard/DashboardImportSelector.vue').ImportSelectorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2381
2537
  "update:imports": (imports: import('../../dashboards/base').DashboardImport[]) => any;
2382
2538
  explore: (args_0: import('../../dashboards/base').DashboardImport) => any;