@trilogy-data/trilogy-studio-components 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (581) hide show
  1. package/README.md +6 -0
  2. package/dist/ChatCreatorModal-DTcvWDQi.js +192 -0
  3. package/dist/Dashboard-C8re96eZ.js +5104 -0
  4. package/dist/DashboardCreatorInline-Do-CDJgS.js +150 -0
  5. package/dist/DashboardMobile-BOrq0rBy.js +310 -0
  6. package/dist/LLMConnectionList-DVM5t-P2.js +4692 -0
  7. package/dist/LLMView-lUTKOMbr.js +558 -0
  8. package/dist/Manager-CXJNoqU2.js +4 -0
  9. package/dist/ResultComponent-C4EGIBY0.js +155 -0
  10. package/dist/Sidebar-BGKtM2n0.js +1841 -0
  11. package/dist/TutorialPage-CGjDXmYk.js +482 -0
  12. package/dist/WelcomePage-C6obXIyG.js +75 -0
  13. package/dist/abap-D0Neqhq6.js +1404 -0
  14. package/dist/apex-B5LhxkeG.js +332 -0
  15. package/dist/azcli-BrBH0QTU.js +74 -0
  16. package/dist/bat-BfzAov64.js +106 -0
  17. package/dist/bicep-C3bCSWel.js +108 -0
  18. package/dist/cameligo-sFL5plcd.js +180 -0
  19. package/dist/chats/chat.d.ts +63 -0
  20. package/dist/chats/chat.d.ts.map +1 -0
  21. package/dist/chats/index.d.ts +3 -0
  22. package/dist/chats/index.d.ts.map +1 -0
  23. package/dist/clojure-CfeExRz0.js +767 -0
  24. package/dist/coffee-Xws5K0WL.js +238 -0
  25. package/dist/components/AssetAutoImporter.vue.d.ts +10 -0
  26. package/dist/components/AssetAutoImporter.vue.d.ts.map +1 -0
  27. package/dist/components/ChartControlPanel.vue.d.ts +54 -0
  28. package/dist/components/ChartControlPanel.vue.d.ts.map +1 -0
  29. package/dist/components/CodeBlock.vue.d.ts +39 -0
  30. package/dist/components/CodeBlock.vue.d.ts.map +1 -0
  31. package/dist/components/ConceptTable.vue.d.ts +16 -0
  32. package/dist/components/ConceptTable.vue.d.ts.map +1 -0
  33. package/dist/components/ContextMenu.vue.d.ts +67 -0
  34. package/dist/components/ContextMenu.vue.d.ts.map +1 -0
  35. package/dist/components/DataTable.vue.d.ts +204 -0
  36. package/dist/components/DataTable.vue.d.ts.map +1 -0
  37. package/dist/components/DrilldownPane.vue.d.ts +94 -0
  38. package/dist/components/DrilldownPane.vue.d.ts.map +1 -0
  39. package/dist/components/EditableTitle.vue.d.ts +32 -0
  40. package/dist/components/EditableTitle.vue.d.ts.map +1 -0
  41. package/dist/components/ErrorMessage.vue.d.ts +20 -0
  42. package/dist/components/ErrorMessage.vue.d.ts.map +1 -0
  43. package/dist/components/HighlightComponent.vue.d.ts +21 -0
  44. package/dist/components/HighlightComponent.vue.d.ts.map +1 -0
  45. package/dist/components/HintComponent.vue.d.ts +12 -0
  46. package/dist/components/HintComponent.vue.d.ts.map +1 -0
  47. package/dist/components/InlineErrorMessage.vue.d.ts +3 -0
  48. package/dist/components/InlineErrorMessage.vue.d.ts.map +1 -0
  49. package/dist/components/LoadingButton.vue.d.ts +121 -0
  50. package/dist/components/LoadingButton.vue.d.ts.map +1 -0
  51. package/dist/components/LoadingView.vue.d.ts +21 -0
  52. package/dist/components/LoadingView.vue.d.ts.map +1 -0
  53. package/dist/components/MarkdownRenderer.vue.d.ts +39 -0
  54. package/dist/components/MarkdownRenderer.vue.d.ts.map +1 -0
  55. package/dist/components/PopupModal.vue.d.ts +50 -0
  56. package/dist/components/PopupModal.vue.d.ts.map +1 -0
  57. package/dist/components/SimpleEditor.vue.d.ts +246 -0
  58. package/dist/components/SimpleEditor.vue.d.ts.map +1 -0
  59. package/dist/components/StatusIcon.vue.d.ts +9 -0
  60. package/dist/components/StatusIcon.vue.d.ts.map +1 -0
  61. package/dist/components/SymbolsPane.vue.d.ts +96 -0
  62. package/dist/components/SymbolsPane.vue.d.ts.map +1 -0
  63. package/dist/components/Tooltip.vue.d.ts +40 -0
  64. package/dist/components/Tooltip.vue.d.ts.map +1 -0
  65. package/dist/components/VegaLiteChart.vue.d.ts +183 -0
  66. package/dist/components/VegaLiteChart.vue.d.ts.map +1 -0
  67. package/dist/components/chartControlsManager.d.ts +50 -0
  68. package/dist/components/chartControlsManager.d.ts.map +1 -0
  69. package/dist/components/chartHelpers.d.ts +51 -0
  70. package/dist/components/chartHelpers.d.ts.map +1 -0
  71. package/dist/components/chartOperationsManager.d.ts +10 -0
  72. package/dist/components/chartOperationsManager.d.ts.map +1 -0
  73. package/dist/components/chartRenderManager.d.ts +26 -0
  74. package/dist/components/chartRenderManager.d.ts.map +1 -0
  75. package/dist/components/community/AddStoreModal.vue.d.ts +35 -0
  76. package/dist/components/community/AddStoreModal.vue.d.ts.map +1 -0
  77. package/dist/components/community/CommunityModelCard.vue.d.ts +33 -0
  78. package/dist/components/community/CommunityModelCard.vue.d.ts.map +1 -0
  79. package/dist/components/community/CommunityModelHeader.vue.d.ts +22 -0
  80. package/dist/components/community/CommunityModelHeader.vue.d.ts.map +1 -0
  81. package/dist/components/community/CommunityModels.vue.d.ts +19 -0
  82. package/dist/components/community/CommunityModels.vue.d.ts.map +1 -0
  83. package/dist/components/community/CommunityRemote.vue.d.ts +33 -0
  84. package/dist/components/community/CommunityRemote.vue.d.ts.map +1 -0
  85. package/dist/components/connection/ConnectionDatabase.vue.d.ts +153 -0
  86. package/dist/components/connection/ConnectionDatabase.vue.d.ts.map +1 -0
  87. package/dist/components/connection/ConnectionHistory.vue.d.ts +13 -0
  88. package/dist/components/connection/ConnectionHistory.vue.d.ts.map +1 -0
  89. package/dist/components/connection/ConnectionSchema.vue.d.ts +35 -0
  90. package/dist/components/connection/ConnectionSchema.vue.d.ts.map +1 -0
  91. package/dist/components/connection/ConnectionTable.vue.d.ts +251 -0
  92. package/dist/components/connection/ConnectionTable.vue.d.ts.map +1 -0
  93. package/dist/components/connection/DatasourceTable.vue.d.ts +16 -0
  94. package/dist/components/connection/DatasourceTable.vue.d.ts.map +1 -0
  95. package/dist/components/dashboard/Dashboard.vue.d.ts +13 -0
  96. package/dist/components/dashboard/Dashboard.vue.d.ts.map +1 -0
  97. package/dist/components/dashboard/DashboardAddItemModal.vue.d.ts +13 -0
  98. package/dist/components/dashboard/DashboardAddItemModal.vue.d.ts.map +1 -0
  99. package/dist/components/dashboard/DashboardCTA.vue.d.ts +12 -0
  100. package/dist/components/dashboard/DashboardCTA.vue.d.ts.map +1 -0
  101. package/dist/components/dashboard/DashboardChart.vue.d.ts +427 -0
  102. package/dist/components/dashboard/DashboardChart.vue.d.ts.map +1 -0
  103. package/dist/components/dashboard/DashboardChartEditor.vue.d.ts +325 -0
  104. package/dist/components/dashboard/DashboardChartEditor.vue.d.ts.map +1 -0
  105. package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts +52 -0
  106. package/dist/components/dashboard/DashboardCreatorIcon.vue.d.ts.map +1 -0
  107. package/dist/components/dashboard/DashboardCreatorInline.vue.d.ts +36 -0
  108. package/dist/components/dashboard/DashboardCreatorInline.vue.d.ts.map +1 -0
  109. package/dist/components/dashboard/DashboardDataSelector.vue.d.ts +221 -0
  110. package/dist/components/dashboard/DashboardDataSelector.vue.d.ts.map +1 -0
  111. package/dist/components/dashboard/DashboardFilter.vue.d.ts +346 -0
  112. package/dist/components/dashboard/DashboardFilter.vue.d.ts.map +1 -0
  113. package/dist/components/dashboard/DashboardFilterAutocomplete.vue.d.ts +38 -0
  114. package/dist/components/dashboard/DashboardFilterAutocomplete.vue.d.ts.map +1 -0
  115. package/dist/components/dashboard/DashboardGridItem.vue.d.ts +31 -0
  116. package/dist/components/dashboard/DashboardGridItem.vue.d.ts.map +1 -0
  117. package/dist/components/dashboard/DashboardHeader.vue.d.ts +71 -0
  118. package/dist/components/dashboard/DashboardHeader.vue.d.ts.map +1 -0
  119. package/dist/components/dashboard/DashboardHeaderFilterInput.vue.d.ts +50 -0
  120. package/dist/components/dashboard/DashboardHeaderFilterInput.vue.d.ts.map +1 -0
  121. package/dist/components/dashboard/DashboardImportPopup.vue.d.ts +12 -0
  122. package/dist/components/dashboard/DashboardImportPopup.vue.d.ts.map +1 -0
  123. package/dist/components/dashboard/DashboardImportSelector.vue.d.ts +14 -0
  124. package/dist/components/dashboard/DashboardImportSelector.vue.d.ts.map +1 -0
  125. package/dist/components/dashboard/DashboardMarkdown.vue.d.ts +175 -0
  126. package/dist/components/dashboard/DashboardMarkdown.vue.d.ts.map +1 -0
  127. package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts +325 -0
  128. package/dist/components/dashboard/DashboardMarkdownEditor.vue.d.ts.map +1 -0
  129. package/dist/components/dashboard/DashboardMobile.vue.d.ts +8 -0
  130. package/dist/components/dashboard/DashboardMobile.vue.d.ts.map +1 -0
  131. package/dist/components/dashboard/DashboardSharePopup.vue.d.ts +14 -0
  132. package/dist/components/dashboard/DashboardSharePopup.vue.d.ts.map +1 -0
  133. package/dist/components/dashboard/DashboardTable.vue.d.ts +332 -0
  134. package/dist/components/dashboard/DashboardTable.vue.d.ts.map +1 -0
  135. package/dist/components/dashboard/useDashboard.d.ts +96 -0
  136. package/dist/components/dashboard/useDashboard.d.ts.map +1 -0
  137. package/dist/components/editor/Editor.vue.d.ts +816 -0
  138. package/dist/components/editor/Editor.vue.d.ts.map +1 -0
  139. package/dist/components/editor/EditorCode.vue.d.ts +49 -0
  140. package/dist/components/editor/EditorCode.vue.d.ts.map +1 -0
  141. package/dist/components/editor/EditorCreatorIcon.vue.d.ts +61 -0
  142. package/dist/components/editor/EditorCreatorIcon.vue.d.ts.map +1 -0
  143. package/dist/components/editor/EditorCreatorInline.vue.d.ts +95 -0
  144. package/dist/components/editor/EditorCreatorInline.vue.d.ts.map +1 -0
  145. package/dist/components/editor/EditorHeader.vue.d.ts +185 -0
  146. package/dist/components/editor/EditorHeader.vue.d.ts.map +1 -0
  147. package/dist/components/editor/ResultComponent.vue.d.ts +1095 -0
  148. package/dist/components/editor/ResultComponent.vue.d.ts.map +1 -0
  149. package/dist/components/editor/Results.vue.d.ts +755 -0
  150. package/dist/components/editor/Results.vue.d.ts.map +1 -0
  151. package/dist/components/editor/editorHelpers.d.ts +45 -0
  152. package/dist/components/editor/editorHelpers.d.ts.map +1 -0
  153. package/dist/components/editor/events.d.ts +4 -0
  154. package/dist/components/editor/events.d.ts.map +1 -0
  155. package/dist/components/index.d.ts +2 -0
  156. package/dist/components/index.d.ts.map +1 -0
  157. package/dist/components/layout/MobileSidebarLayout.vue.d.ts +48 -0
  158. package/dist/components/layout/MobileSidebarLayout.vue.d.ts.map +1 -0
  159. package/dist/components/layout/SidebarLayout.vue.d.ts +20 -0
  160. package/dist/components/layout/SidebarLayout.vue.d.ts.map +1 -0
  161. package/dist/components/layout/TabDropdownItem.vue.d.ts +73 -0
  162. package/dist/components/layout/TabDropdownItem.vue.d.ts.map +1 -0
  163. package/dist/components/layout/TabbedBrowser.vue.d.ts +42 -0
  164. package/dist/components/layout/TabbedBrowser.vue.d.ts.map +1 -0
  165. package/dist/components/layout/TabbedLayout.vue.d.ts +5 -0
  166. package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -0
  167. package/dist/components/layout/VerticalSplitLayout.vue.d.ts +13 -0
  168. package/dist/components/layout/VerticalSplitLayout.vue.d.ts.map +1 -0
  169. package/dist/components/llm/ChatArtifact.vue.d.ts +470 -0
  170. package/dist/components/llm/ChatArtifact.vue.d.ts.map +1 -0
  171. package/dist/components/llm/ChatCreatorModal.vue.d.ts +87 -0
  172. package/dist/components/llm/ChatCreatorModal.vue.d.ts.map +1 -0
  173. package/dist/components/llm/LLMChat.vue.d.ts +260 -0
  174. package/dist/components/llm/LLMChat.vue.d.ts.map +1 -0
  175. package/dist/components/llm/LLMChatRefinement.vue.d.ts +135 -0
  176. package/dist/components/llm/LLMChatRefinement.vue.d.ts.map +1 -0
  177. package/dist/components/llm/LLMChatSplitView.vue.d.ts +2029 -0
  178. package/dist/components/llm/LLMChatSplitView.vue.d.ts.map +1 -0
  179. package/dist/components/llm/LLMValidationView.vue.d.ts +106 -0
  180. package/dist/components/llm/LLMValidationView.vue.d.ts.map +1 -0
  181. package/dist/components/llm/index.d.ts +6 -0
  182. package/dist/components/llm/index.d.ts.map +1 -0
  183. package/dist/components/model/ModelCard.vue.d.ts +1113 -0
  184. package/dist/components/model/ModelCard.vue.d.ts.map +1 -0
  185. package/dist/components/model/ModelConcept.vue.d.ts +14 -0
  186. package/dist/components/model/ModelConcept.vue.d.ts.map +1 -0
  187. package/dist/components/model/ModelCreator.vue.d.ts +241 -0
  188. package/dist/components/model/ModelCreator.vue.d.ts.map +1 -0
  189. package/dist/components/model/ModelSelector.vue.d.ts +9 -0
  190. package/dist/components/model/ModelSelector.vue.d.ts.map +1 -0
  191. package/dist/components/sidebar/CommunityModelListItem.vue.d.ts +26 -0
  192. package/dist/components/sidebar/CommunityModelListItem.vue.d.ts.map +1 -0
  193. package/dist/components/sidebar/ConnectionCreatorInline.vue.d.ts +68 -0
  194. package/dist/components/sidebar/ConnectionCreatorInline.vue.d.ts.map +1 -0
  195. package/dist/components/sidebar/ConnectionIcon.vue.d.ts +6 -0
  196. package/dist/components/sidebar/ConnectionIcon.vue.d.ts.map +1 -0
  197. package/dist/components/sidebar/ConnectionList.vue.d.ts +714 -0
  198. package/dist/components/sidebar/ConnectionList.vue.d.ts.map +1 -0
  199. package/dist/components/sidebar/ConnectionListItem.vue.d.ts +317 -0
  200. package/dist/components/sidebar/ConnectionListItem.vue.d.ts.map +1 -0
  201. package/dist/components/sidebar/ConnectionRefresh.vue.d.ts +15 -0
  202. package/dist/components/sidebar/ConnectionRefresh.vue.d.ts.map +1 -0
  203. package/dist/components/sidebar/ConnectionStatusIcon.vue.d.ts +11 -0
  204. package/dist/components/sidebar/ConnectionStatusIcon.vue.d.ts.map +1 -0
  205. package/dist/components/sidebar/CreateEditorFromDatasourcePopup.vue.d.ts +15 -0
  206. package/dist/components/sidebar/CreateEditorFromDatasourcePopup.vue.d.ts.map +1 -0
  207. package/dist/components/sidebar/DashboardList.vue.d.ts +684 -0
  208. package/dist/components/sidebar/DashboardList.vue.d.ts.map +1 -0
  209. package/dist/components/sidebar/DashboardListItem.vue.d.ts +343 -0
  210. package/dist/components/sidebar/DashboardListItem.vue.d.ts.map +1 -0
  211. package/dist/components/sidebar/DuckDBImporter.vue.d.ts +24 -0
  212. package/dist/components/sidebar/DuckDBImporter.vue.d.ts.map +1 -0
  213. package/dist/components/sidebar/EditorList.vue.d.ts +590 -0
  214. package/dist/components/sidebar/EditorList.vue.d.ts.map +1 -0
  215. package/dist/components/sidebar/EditorListItem.vue.d.ts +260 -0
  216. package/dist/components/sidebar/EditorListItem.vue.d.ts.map +1 -0
  217. package/dist/components/sidebar/GenericSidebarItem.vue.d.ts +91 -0
  218. package/dist/components/sidebar/GenericSidebarItem.vue.d.ts.map +1 -0
  219. package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts +178 -0
  220. package/dist/components/sidebar/LLMConnectionCreator.vue.d.ts.map +1 -0
  221. package/dist/components/sidebar/LLMConnectionList.vue.d.ts +978 -0
  222. package/dist/components/sidebar/LLMConnectionList.vue.d.ts.map +1 -0
  223. package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts +404 -0
  224. package/dist/components/sidebar/LLMConnectionListItem.vue.d.ts.map +1 -0
  225. package/dist/components/sidebar/LLMProviderIcon.vue.d.ts +13 -0
  226. package/dist/components/sidebar/LLMProviderIcon.vue.d.ts.map +1 -0
  227. package/dist/components/sidebar/ModelSidebar.vue.d.ts +558 -0
  228. package/dist/components/sidebar/ModelSidebar.vue.d.ts.map +1 -0
  229. package/dist/components/sidebar/SidebarList.vue.d.ts +16 -0
  230. package/dist/components/sidebar/SidebarList.vue.d.ts.map +1 -0
  231. package/dist/components/sidebar/TutorialSidebar.vue.d.ts +134 -0
  232. package/dist/components/sidebar/TutorialSidebar.vue.d.ts.map +1 -0
  233. package/dist/components/tutorial/TutorialFunction.vue.d.ts +38 -0
  234. package/dist/components/tutorial/TutorialFunction.vue.d.ts.map +1 -0
  235. package/dist/components/tutorial/TutorialPrompt.vue.d.ts +2002 -0
  236. package/dist/components/tutorial/TutorialPrompt.vue.d.ts.map +1 -0
  237. package/dist/components/user/UserProfile.vue.d.ts +11 -0
  238. package/dist/components/user/UserProfile.vue.d.ts.map +1 -0
  239. package/dist/components/user/UserSettings.vue.d.ts +129 -0
  240. package/dist/components/user/UserSettings.vue.d.ts.map +1 -0
  241. package/dist/composables/ResizeHandles.vue.d.ts +6 -0
  242. package/dist/composables/ResizeHandles.vue.d.ts.map +1 -0
  243. package/dist/composables/useChatWithTools.d.ts +62 -0
  244. package/dist/composables/useChatWithTools.d.ts.map +1 -0
  245. package/dist/composables/useResizableDialog.d.ts +30 -0
  246. package/dist/composables/useResizableDialog.d.ts.map +1 -0
  247. package/dist/composables/useTrilogyChat.d.ts +61 -0
  248. package/dist/composables/useTrilogyChat.d.ts.map +1 -0
  249. package/dist/composables/useTrilogyCore.d.ts +51 -0
  250. package/dist/composables/useTrilogyCore.d.ts.map +1 -0
  251. package/dist/connections/base.d.ts +86 -0
  252. package/dist/connections/base.d.ts.map +1 -0
  253. package/dist/connections/bigquery_oauth.d.ts +35 -0
  254. package/dist/connections/bigquery_oauth.d.ts.map +1 -0
  255. package/dist/connections/bigquery_sa.d.ts +2 -0
  256. package/dist/connections/bigquery_sa.d.ts.map +1 -0
  257. package/dist/connections/constants.d.ts +2 -0
  258. package/dist/connections/constants.d.ts.map +1 -0
  259. package/dist/connections/duckdb.d.ts +43 -0
  260. package/dist/connections/duckdb.d.ts.map +1 -0
  261. package/dist/connections/helpers.d.ts +30 -0
  262. package/dist/connections/helpers.d.ts.map +1 -0
  263. package/dist/connections/index.d.ts +7 -0
  264. package/dist/connections/index.d.ts.map +1 -0
  265. package/dist/connections/motherduck.d.ts +19 -0
  266. package/dist/connections/motherduck.d.ts.map +1 -0
  267. package/dist/connections/snowflake.d.ts +94 -0
  268. package/dist/connections/snowflake.d.ts.map +1 -0
  269. package/dist/connections/sql_server.d.ts +2 -0
  270. package/dist/connections/sql_server.d.ts.map +1 -0
  271. package/dist/cpp-CqOUEpxN.js +395 -0
  272. package/dist/csharp-DVLiBOZb.js +332 -0
  273. package/dist/csp-DVFp9bw5.js +59 -0
  274. package/dist/css-DwARn2R6.js +193 -0
  275. package/dist/cssMode-Cr0iq_nL.js +1577 -0
  276. package/dist/cypher-uY0Mffat.js +269 -0
  277. package/dist/dart-D27H-mX_.js +287 -0
  278. package/dist/dashboards/barChartSpec.d.ts +28 -0
  279. package/dist/dashboards/barChartSpec.d.ts.map +1 -0
  280. package/dist/dashboards/barHChartSpec.d.ts +28 -0
  281. package/dist/dashboards/barHChartSpec.d.ts.map +1 -0
  282. package/dist/dashboards/base.d.ts +176 -0
  283. package/dist/dashboards/base.d.ts.map +1 -0
  284. package/dist/dashboards/beeSwarmSpec.d.ts +150 -0
  285. package/dist/dashboards/beeSwarmSpec.d.ts.map +1 -0
  286. package/dist/dashboards/conditions.d.ts +8 -0
  287. package/dist/dashboards/conditions.d.ts.map +1 -0
  288. package/dist/dashboards/conditionsParameters.d.ts +11 -0
  289. package/dist/dashboards/conditionsParameters.d.ts.map +1 -0
  290. package/dist/dashboards/constants.d.ts +22 -0
  291. package/dist/dashboards/constants.d.ts.map +1 -0
  292. package/dist/dashboards/countryLookup.d.ts +15 -0
  293. package/dist/dashboards/countryLookup.d.ts.map +1 -0
  294. package/dist/dashboards/d3utility.d.ts +7 -0
  295. package/dist/dashboards/d3utility.d.ts.map +1 -0
  296. package/dist/dashboards/dashboardQueryExecutor.d.ts +142 -0
  297. package/dist/dashboards/dashboardQueryExecutor.d.ts.map +1 -0
  298. package/dist/dashboards/donutSpec.d.ts +74 -0
  299. package/dist/dashboards/donutSpec.d.ts.map +1 -0
  300. package/dist/dashboards/formatting.d.ts +11 -0
  301. package/dist/dashboards/formatting.d.ts.map +1 -0
  302. package/dist/dashboards/headlineSpec.d.ts +23 -0
  303. package/dist/dashboards/headlineSpec.d.ts.map +1 -0
  304. package/dist/dashboards/heatmapSpec.d.ts +30 -0
  305. package/dist/dashboards/heatmapSpec.d.ts.map +1 -0
  306. package/dist/dashboards/helpers.d.ts +73 -0
  307. package/dist/dashboards/helpers.d.ts.map +1 -0
  308. package/dist/dashboards/index.d.ts +3 -0
  309. package/dist/dashboards/index.d.ts.map +1 -0
  310. package/dist/dashboards/lineAreaSpec.d.ts +177 -0
  311. package/dist/dashboards/lineAreaSpec.d.ts.map +1 -0
  312. package/dist/dashboards/mapSpec.d.ts +431 -0
  313. package/dist/dashboards/mapSpec.d.ts.map +1 -0
  314. package/dist/dashboards/pointSpec.d.ts +27 -0
  315. package/dist/dashboards/pointSpec.d.ts.map +1 -0
  316. package/dist/dashboards/prompts.d.ts +31 -0
  317. package/dist/dashboards/prompts.d.ts.map +1 -0
  318. package/dist/dashboards/spec.d.ts +19 -0
  319. package/dist/dashboards/spec.d.ts.map +1 -0
  320. package/dist/dashboards/treeSpec.d.ts +3 -0
  321. package/dist/dashboards/treeSpec.d.ts.map +1 -0
  322. package/dist/dashboards/types.d.ts +70 -0
  323. package/dist/dashboards/types.d.ts.map +1 -0
  324. package/dist/data/connectionHistoryStorage.d.ts +25 -0
  325. package/dist/data/connectionHistoryStorage.d.ts.map +1 -0
  326. package/dist/data/constants.d.ts +4 -0
  327. package/dist/data/constants.d.ts.map +1 -0
  328. package/dist/data/credentialHelpers.d.ts +30 -0
  329. package/dist/data/credentialHelpers.d.ts.map +1 -0
  330. package/dist/data/credentialService.d.ts +80 -0
  331. package/dist/data/credentialService.d.ts.map +1 -0
  332. package/dist/data/githubStorage.d.ts +54 -0
  333. package/dist/data/githubStorage.d.ts.map +1 -0
  334. package/dist/data/index.d.ts +3 -0
  335. package/dist/data/index.d.ts.map +1 -0
  336. package/dist/data/localStorage.d.ts +48 -0
  337. package/dist/data/localStorage.d.ts.map +1 -0
  338. package/dist/data/storage.d.ts +33 -0
  339. package/dist/data/storage.d.ts.map +1 -0
  340. package/dist/data/tips.d.ts +12 -0
  341. package/dist/data/tips.d.ts.map +1 -0
  342. package/dist/data/tutorial/builtinFunctions.d.ts +3 -0
  343. package/dist/data/tutorial/builtinFunctions.d.ts.map +1 -0
  344. package/dist/data/tutorial/dashboardTutorial.d.ts +3 -0
  345. package/dist/data/tutorial/dashboardTutorial.d.ts.map +1 -0
  346. package/dist/data/tutorial/demoSetup.d.ts +6 -0
  347. package/dist/data/tutorial/demoSetup.d.ts.map +1 -0
  348. package/dist/data/tutorial/docTypes.d.ts +37 -0
  349. package/dist/data/tutorial/docTypes.d.ts.map +1 -0
  350. package/dist/data/tutorial/documentation.d.ts +3 -0
  351. package/dist/data/tutorial/documentation.d.ts.map +1 -0
  352. package/dist/data/tutorial/functionsReference.d.ts +3 -0
  353. package/dist/data/tutorial/functionsReference.d.ts.map +1 -0
  354. package/dist/data/tutorial/introTutorial.d.ts +3 -0
  355. package/dist/data/tutorial/introTutorial.d.ts.map +1 -0
  356. package/dist/data/tutorial/llmTutorial.d.ts +3 -0
  357. package/dist/data/tutorial/llmTutorial.d.ts.map +1 -0
  358. package/dist/data/tutorial/modelReference.d.ts +3 -0
  359. package/dist/data/tutorial/modelReference.d.ts.map +1 -0
  360. package/dist/data/tutorial/modelTutorial.d.ts +3 -0
  361. package/dist/data/tutorial/modelTutorial.d.ts.map +1 -0
  362. package/dist/data/tutorial/reference.d.ts +3 -0
  363. package/dist/data/tutorial/reference.d.ts.map +1 -0
  364. package/dist/data/tutorial/terms_of_service.d.ts +3 -0
  365. package/dist/data/tutorial/terms_of_service.d.ts.map +1 -0
  366. package/dist/data/tutorial/windowFunctionsReference.d.ts +3 -0
  367. package/dist/data/tutorial/windowFunctionsReference.d.ts.map +1 -0
  368. package/dist/dockerfile-CmV85WZK.js +136 -0
  369. package/dist/ecl--fKn7yzB.js +462 -0
  370. package/dist/editors/editor.d.ts +82 -0
  371. package/dist/editors/editor.d.ts.map +1 -0
  372. package/dist/editors/helpers.d.ts +12 -0
  373. package/dist/editors/helpers.d.ts.map +1 -0
  374. package/dist/editors/index.d.ts +3 -0
  375. package/dist/editors/index.d.ts.map +1 -0
  376. package/dist/editors/results.d.ts +61 -0
  377. package/dist/editors/results.d.ts.map +1 -0
  378. package/dist/elixir-DUhH17ON.js +575 -0
  379. package/dist/events/display.d.ts +9 -0
  380. package/dist/events/display.d.ts.map +1 -0
  381. package/dist/flow9-B3Dx2LLe.js +148 -0
  382. package/dist/freemarker2-de_cA50e.js +995 -0
  383. package/dist/fsharp-SyqBfUAR.js +223 -0
  384. package/dist/go-BbMR2tdT.js +224 -0
  385. package/dist/graphql-DDJE6tIl.js +157 -0
  386. package/dist/handlebars-C8f44E5O.js +425 -0
  387. package/dist/hcl-YBvpaUqf.js +189 -0
  388. package/dist/html-qaggIh0W.js +314 -0
  389. package/dist/html2canvas.esm-dgT_1dIT.js +4871 -0
  390. package/dist/htmlMode-xYurYOLw.js +1587 -0
  391. package/dist/ini-Ct73dBtM.js +77 -0
  392. package/dist/java-C_jlkwoG.js +238 -0
  393. package/dist/javascript-DeLkSgQX.js +76 -0
  394. package/dist/jsonMode-BM-L8w8F.js +2002 -0
  395. package/dist/julia-D8WE5U1e.js +517 -0
  396. package/dist/kotlin-Zy9aq5yB.js +259 -0
  397. package/dist/language/constants.d.ts +6 -0
  398. package/dist/language/constants.d.ts.map +1 -0
  399. package/dist/language/index.d.ts +2 -0
  400. package/dist/language/index.d.ts.map +1 -0
  401. package/dist/less-sZ0iHtE8.js +168 -0
  402. package/dist/lexon-CsdNL29A.js +163 -0
  403. package/dist/liquid-DLNUrc5y.js +246 -0
  404. package/dist/llm/anthropic.d.ts +13 -0
  405. package/dist/llm/anthropic.d.ts.map +1 -0
  406. package/dist/llm/base.d.ts +63 -0
  407. package/dist/llm/base.d.ts.map +1 -0
  408. package/dist/llm/chatAgentPrompt.d.ts +166 -0
  409. package/dist/llm/chatAgentPrompt.d.ts.map +1 -0
  410. package/dist/llm/chatHelpers.d.ts +23 -0
  411. package/dist/llm/chatHelpers.d.ts.map +1 -0
  412. package/dist/llm/chatToolExecutor.d.ts +39 -0
  413. package/dist/llm/chatToolExecutor.d.ts.map +1 -0
  414. package/dist/llm/consts.d.ts +3 -0
  415. package/dist/llm/consts.d.ts.map +1 -0
  416. package/dist/llm/data/constants.d.ts +5 -0
  417. package/dist/llm/data/constants.d.ts.map +1 -0
  418. package/dist/llm/data/models.d.ts +8 -0
  419. package/dist/llm/data/models.d.ts.map +1 -0
  420. package/dist/llm/data/prompts.d.ts +7 -0
  421. package/dist/llm/data/prompts.d.ts.map +1 -0
  422. package/dist/llm/data/testCases.d.ts +13 -0
  423. package/dist/llm/data/testCases.d.ts.map +1 -0
  424. package/dist/llm/googlev2.d.ts +15 -0
  425. package/dist/llm/googlev2.d.ts.map +1 -0
  426. package/dist/llm/index.d.ts +11 -0
  427. package/dist/llm/index.d.ts.map +1 -0
  428. package/dist/llm/mistral.d.ts +11 -0
  429. package/dist/llm/mistral.d.ts.map +1 -0
  430. package/dist/llm/models.d.ts +8 -0
  431. package/dist/llm/models.d.ts.map +1 -0
  432. package/dist/llm/openAI.d.ts +13 -0
  433. package/dist/llm/openAI.d.ts.map +1 -0
  434. package/dist/llm/utils.d.ts +50 -0
  435. package/dist/llm/utils.d.ts.map +1 -0
  436. package/dist/lua-C2YJo0zw.js +168 -0
  437. package/dist/m3-CPLP40SG.js +216 -0
  438. package/dist/main-oVvKtGNk.js +203688 -0
  439. package/dist/main.css +1 -0
  440. package/dist/main.d.ts +23 -0
  441. package/dist/main.d.ts.map +1 -0
  442. package/dist/main.js +22 -0
  443. package/dist/main.umd.cjs +2885 -0
  444. package/dist/markdown-B1mf5e0R.js +235 -0
  445. package/dist/mdx-BmG1effK.js +171 -0
  446. package/dist/mips-DA33BZX1.js +204 -0
  447. package/dist/models/helpers.d.ts +59 -0
  448. package/dist/models/helpers.d.ts.map +1 -0
  449. package/dist/models/import.d.ts +18 -0
  450. package/dist/models/import.d.ts.map +1 -0
  451. package/dist/models/index.d.ts +3 -0
  452. package/dist/models/index.d.ts.map +1 -0
  453. package/dist/models/model.d.ts +241 -0
  454. package/dist/models/model.d.ts.map +1 -0
  455. package/dist/monaco/editorHelpers.d.ts +32 -0
  456. package/dist/monaco/editorHelpers.d.ts.map +1 -0
  457. package/dist/monaco/index.d.ts +2 -0
  458. package/dist/monaco/index.d.ts.map +1 -0
  459. package/dist/monaco/setup.d.ts +2 -0
  460. package/dist/monaco/setup.d.ts.map +1 -0
  461. package/dist/msdax-CCYFIQsP.js +381 -0
  462. package/dist/mysql-hjmIjL-D.js +884 -0
  463. package/dist/objective-c-RRCpEmqC.js +189 -0
  464. package/dist/pascal-CeV8XfxB.js +257 -0
  465. package/dist/pascaligo-IEEGVJAJ.js +170 -0
  466. package/dist/perl-B5-QbHq_.js +632 -0
  467. package/dist/pgsql-s6kqEJmi.js +857 -0
  468. package/dist/php-CWWqzOo8.js +506 -0
  469. package/dist/pla-FSvb_YP_.js +143 -0
  470. package/dist/postiats-DQdscQXO.js +913 -0
  471. package/dist/powerquery-CtA5JA1I.js +896 -0
  472. package/dist/powershell-DglEq96N.js +245 -0
  473. package/dist/prism-sql-8Y2-THrf.js +33 -0
  474. package/dist/protobuf-BSepub3e.js +426 -0
  475. package/dist/pug-B1847F4G.js +408 -0
  476. package/dist/python-BLXKu9hO.js +307 -0
  477. package/dist/qsharp-D4i0Nqg9.js +307 -0
  478. package/dist/r-cdRigKxa.js +249 -0
  479. package/dist/razor-DSEd6veI.js +556 -0
  480. package/dist/redis-D9MFxvE8.js +308 -0
  481. package/dist/redshift-CmCnsvL-.js +815 -0
  482. package/dist/remotes/constants.d.ts +2 -0
  483. package/dist/remotes/constants.d.ts.map +1 -0
  484. package/dist/remotes/displayHelpers.d.ts +67 -0
  485. package/dist/remotes/displayHelpers.d.ts.map +1 -0
  486. package/dist/remotes/modelApiService.d.ts +38 -0
  487. package/dist/remotes/modelApiService.d.ts.map +1 -0
  488. package/dist/remotes/models.d.ts +48 -0
  489. package/dist/remotes/models.d.ts.map +1 -0
  490. package/dist/remotes/storeService.d.ts +42 -0
  491. package/dist/remotes/storeService.d.ts.map +1 -0
  492. package/dist/restructuredtext-CWy8J51t.js +180 -0
  493. package/dist/ruby-WP-c36m5.js +517 -0
  494. package/dist/rust-Q9FLdYpu.js +349 -0
  495. package/dist/sb-C54-JBGT.js +121 -0
  496. package/dist/scala-CzbFImc5.js +376 -0
  497. package/dist/scheme-BhfDmYN3.js +114 -0
  498. package/dist/scss-CEmiBXpS.js +268 -0
  499. package/dist/shell-Bmc1VhG0.js +227 -0
  500. package/dist/solidity-C9Q2I8Hh.js +1373 -0
  501. package/dist/sophia-jWa1UyKz.js +205 -0
  502. package/dist/sparql-CM7jctbc.js +207 -0
  503. package/dist/sql-WzihTkbg.js +859 -0
  504. package/dist/st-6y7_3aup.js +422 -0
  505. package/dist/stores/CredentialManager.vue.d.ts +50 -0
  506. package/dist/stores/CredentialManager.vue.d.ts.map +1 -0
  507. package/dist/stores/Manager.vue.d.ts +100 -0
  508. package/dist/stores/Manager.vue.d.ts.map +1 -0
  509. package/dist/stores/analyticsStore.d.ts +42 -0
  510. package/dist/stores/analyticsStore.d.ts.map +1 -0
  511. package/dist/stores/chatStore.d.ts +153 -0
  512. package/dist/stores/chatStore.d.ts.map +1 -0
  513. package/dist/stores/communityApiStore.d.ts +206 -0
  514. package/dist/stores/communityApiStore.d.ts.map +1 -0
  515. package/dist/stores/connectionHistoryStore.d.ts +24 -0
  516. package/dist/stores/connectionHistoryStore.d.ts.map +1 -0
  517. package/dist/stores/connectionStore.d.ts +31 -0
  518. package/dist/stores/connectionStore.d.ts.map +1 -0
  519. package/dist/stores/dashboardStore.d.ts +122 -0
  520. package/dist/stores/dashboardStore.d.ts.map +1 -0
  521. package/dist/stores/editorStore.d.ts +44 -0
  522. package/dist/stores/editorStore.d.ts.map +1 -0
  523. package/dist/stores/index.d.ts +14 -0
  524. package/dist/stores/index.d.ts.map +1 -0
  525. package/dist/stores/llmStore.d.ts +90 -0
  526. package/dist/stores/llmStore.d.ts.map +1 -0
  527. package/dist/stores/modelStore.d.ts +29 -0
  528. package/dist/stores/modelStore.d.ts.map +1 -0
  529. package/dist/stores/queryExecutionService.d.ts +60 -0
  530. package/dist/stores/queryExecutionService.d.ts.map +1 -0
  531. package/dist/stores/resolver.d.ts +91 -0
  532. package/dist/stores/resolver.d.ts.map +1 -0
  533. package/dist/stores/urlStore.d.ts +6 -0
  534. package/dist/stores/urlStore.d.ts.map +1 -0
  535. package/dist/stores/useScreenNavigation.d.ts +53 -0
  536. package/dist/stores/useScreenNavigation.d.ts.map +1 -0
  537. package/dist/stores/userSettingsStore.d.ts +133 -0
  538. package/dist/stores/userSettingsStore.d.ts.map +1 -0
  539. package/dist/swift-k-0zxG_D.js +318 -0
  540. package/dist/systemverilog-Pnr5_rIP.js +582 -0
  541. package/dist/tcl-fNPXval8.js +238 -0
  542. package/dist/tsMode-CdypNzs1.js +895 -0
  543. package/dist/twig-L2MkztkV.js +398 -0
  544. package/dist/typescript-DZ5G39rT.js +349 -0
  545. package/dist/typespec-Cqqo-3Pt.js +123 -0
  546. package/dist/useDashboard-CPI83oAm.js +3352 -0
  547. package/dist/utility/debounce.d.ts +12 -0
  548. package/dist/utility/debounce.d.ts.map +1 -0
  549. package/dist/utility/markdownRenderer.d.ts +34 -0
  550. package/dist/utility/markdownRenderer.d.ts.map +1 -0
  551. package/dist/utility/testHelpers.d.ts +2 -0
  552. package/dist/utility/testHelpers.d.ts.map +1 -0
  553. package/dist/vb-B5YC2xN9.js +378 -0
  554. package/dist/views/ConnectionView.vue.d.ts +522 -0
  555. package/dist/views/ConnectionView.vue.d.ts.map +1 -0
  556. package/dist/views/CredentialBackgroundPage.vue.d.ts +3 -0
  557. package/dist/views/CredentialBackgroundPage.vue.d.ts.map +1 -0
  558. package/dist/views/IDEPlaceholder.vue.d.ts +3 -0
  559. package/dist/views/IDEPlaceholder.vue.d.ts.map +1 -0
  560. package/dist/views/LLMView.vue.d.ts +7758 -0
  561. package/dist/views/LLMView.vue.d.ts.map +1 -0
  562. package/dist/views/MobileIDEPlaceholder.vue.d.ts +3 -0
  563. package/dist/views/MobileIDEPlaceholder.vue.d.ts.map +1 -0
  564. package/dist/views/ModelView.vue.d.ts +2170 -0
  565. package/dist/views/ModelView.vue.d.ts.map +1 -0
  566. package/dist/views/ResponsiveIDE.vue.d.ts +3 -0
  567. package/dist/views/ResponsiveIDE.vue.d.ts.map +1 -0
  568. package/dist/views/TutorialPage.vue.d.ts +7835 -0
  569. package/dist/views/TutorialPage.vue.d.ts.map +1 -0
  570. package/dist/views/WelcomePage.vue.d.ts +13 -0
  571. package/dist/views/WelcomePage.vue.d.ts.map +1 -0
  572. package/dist/views/index.d.ts +3 -0
  573. package/dist/views/index.d.ts.map +1 -0
  574. package/dist/vite.config.d.ts +3 -0
  575. package/dist/vite.config.d.ts.map +1 -0
  576. package/dist/vitest.config.d.ts +3 -0
  577. package/dist/vitest.config.d.ts.map +1 -0
  578. package/dist/wgsl-B-_uRex7.js +445 -0
  579. package/dist/xml-DsUsyRQY.js +101 -0
  580. package/dist/yaml-BpA1BNpS.js +212 -0
  581. package/package.json +55 -0
@@ -0,0 +1,575 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var e = {
8
+ comments: {
9
+ lineComment: "#"
10
+ },
11
+ brackets: [
12
+ ["{", "}"],
13
+ ["[", "]"],
14
+ ["(", ")"]
15
+ ],
16
+ surroundingPairs: [
17
+ { open: "{", close: "}" },
18
+ { open: "[", close: "]" },
19
+ { open: "(", close: ")" },
20
+ { open: "'", close: "'" },
21
+ { open: '"', close: '"' }
22
+ ],
23
+ autoClosingPairs: [
24
+ { open: "'", close: "'", notIn: ["string", "comment"] },
25
+ { open: '"', close: '"', notIn: ["comment"] },
26
+ { open: '"""', close: '"""' },
27
+ { open: "`", close: "`", notIn: ["string", "comment"] },
28
+ { open: "(", close: ")" },
29
+ { open: "{", close: "}" },
30
+ { open: "[", close: "]" },
31
+ { open: "<<", close: ">>" }
32
+ ],
33
+ indentationRules: {
34
+ increaseIndentPattern: /^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,
35
+ decreaseIndentPattern: /^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/
36
+ }
37
+ }, t = {
38
+ defaultToken: "source",
39
+ tokenPostfix: ".elixir",
40
+ brackets: [
41
+ { open: "[", close: "]", token: "delimiter.square" },
42
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
43
+ { open: "{", close: "}", token: "delimiter.curly" },
44
+ { open: "<<", close: ">>", token: "delimiter.angle.special" }
45
+ ],
46
+ // Below are lists/regexps to which we reference later.
47
+ declarationKeywords: [
48
+ "def",
49
+ "defp",
50
+ "defn",
51
+ "defnp",
52
+ "defguard",
53
+ "defguardp",
54
+ "defmacro",
55
+ "defmacrop",
56
+ "defdelegate",
57
+ "defcallback",
58
+ "defmacrocallback",
59
+ "defmodule",
60
+ "defprotocol",
61
+ "defexception",
62
+ "defimpl",
63
+ "defstruct"
64
+ ],
65
+ operatorKeywords: ["and", "in", "not", "or", "when"],
66
+ namespaceKeywords: ["alias", "import", "require", "use"],
67
+ otherKeywords: [
68
+ "after",
69
+ "case",
70
+ "catch",
71
+ "cond",
72
+ "do",
73
+ "else",
74
+ "end",
75
+ "fn",
76
+ "for",
77
+ "if",
78
+ "quote",
79
+ "raise",
80
+ "receive",
81
+ "rescue",
82
+ "super",
83
+ "throw",
84
+ "try",
85
+ "unless",
86
+ "unquote_splicing",
87
+ "unquote",
88
+ "with"
89
+ ],
90
+ constants: ["true", "false", "nil"],
91
+ nameBuiltin: ["__MODULE__", "__DIR__", "__ENV__", "__CALLER__", "__STACKTRACE__"],
92
+ // Matches any of the operator names:
93
+ // <<< >>> ||| &&& ^^^ ~~~ === !== ~>> <~> |~> <|> == != <= >= && || \\ <> ++ -- |> =~ -> <- ~> <~ :: .. = < > + - * / | . ^ & !
94
+ operator: /-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,
95
+ // See https://hexdocs.pm/elixir/syntax-reference.html#variables
96
+ variableName: /[a-z_][a-zA-Z0-9_]*[?!]?/,
97
+ // See https://hexdocs.pm/elixir/syntax-reference.html#atoms
98
+ atomName: /[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,
99
+ specialAtomName: /\.\.\.|<<>>|%\{\}|%|\{\}/,
100
+ aliasPart: /[A-Z][a-zA-Z0-9_]*/,
101
+ moduleName: /@aliasPart(?:\.@aliasPart)*/,
102
+ // Sigil pairs are: """ """, ''' ''', " ", ' ', / /, | |, < >, { }, [ ], ( )
103
+ sigilSymmetricDelimiter: /"""|'''|"|'|\/|\|/,
104
+ sigilStartDelimiter: /@sigilSymmetricDelimiter|<|\{|\[|\(/,
105
+ sigilEndDelimiter: /@sigilSymmetricDelimiter|>|\}|\]|\)/,
106
+ sigilModifiers: /[a-zA-Z0-9]*/,
107
+ decimal: /\d(?:_?\d)*/,
108
+ hex: /[0-9a-fA-F](_?[0-9a-fA-F])*/,
109
+ octal: /[0-7](_?[0-7])*/,
110
+ binary: /[01](_?[01])*/,
111
+ // See https://hexdocs.pm/elixir/master/String.html#module-escape-characters
112
+ escape: /\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,
113
+ // The keys below correspond to tokenizer states.
114
+ // We start from the root state and match against its rules
115
+ // until we explicitly transition into another state.
116
+ // The `include` simply brings in all operations from the given state
117
+ // and is useful for improving readability.
118
+ tokenizer: {
119
+ root: [
120
+ { include: "@whitespace" },
121
+ { include: "@comments" },
122
+ // Keywords start as either an identifier or a string,
123
+ // but end with a : so it's important to match this first.
124
+ { include: "@keywordsShorthand" },
125
+ { include: "@numbers" },
126
+ { include: "@identifiers" },
127
+ { include: "@strings" },
128
+ { include: "@atoms" },
129
+ { include: "@sigils" },
130
+ { include: "@attributes" },
131
+ { include: "@symbols" }
132
+ ],
133
+ // Whitespace
134
+ whitespace: [[/\s+/, "white"]],
135
+ // Comments
136
+ comments: [[/(#)(.*)/, ["comment.punctuation", "comment"]]],
137
+ // Keyword list shorthand
138
+ keywordsShorthand: [
139
+ [/(@atomName)(:)(\s+)/, ["constant", "constant.punctuation", "white"]],
140
+ // Use positive look-ahead to ensure the string is followed by :
141
+ // and should be considered a keyword.
142
+ [
143
+ /"(?=([^"]|#\{.*?\}|\\")*":)/,
144
+ { token: "constant.delimiter", next: "@doubleQuotedStringKeyword" }
145
+ ],
146
+ [
147
+ /'(?=([^']|#\{.*?\}|\\')*':)/,
148
+ { token: "constant.delimiter", next: "@singleQuotedStringKeyword" }
149
+ ]
150
+ ],
151
+ doubleQuotedStringKeyword: [
152
+ [/":/, { token: "constant.delimiter", next: "@pop" }],
153
+ { include: "@stringConstantContentInterpol" }
154
+ ],
155
+ singleQuotedStringKeyword: [
156
+ [/':/, { token: "constant.delimiter", next: "@pop" }],
157
+ { include: "@stringConstantContentInterpol" }
158
+ ],
159
+ // Numbers
160
+ numbers: [
161
+ [/0b@binary/, "number.binary"],
162
+ [/0o@octal/, "number.octal"],
163
+ [/0x@hex/, "number.hex"],
164
+ [/@decimal\.@decimal([eE]-?@decimal)?/, "number.float"],
165
+ [/@decimal/, "number"]
166
+ ],
167
+ // Identifiers
168
+ identifiers: [
169
+ // Tokenize identifier name in function-like definitions.
170
+ // Note: given `def a + b, do: nil`, `a` is not a function name,
171
+ // so we use negative look-ahead to ensure there's no operator.
172
+ [
173
+ /\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,
174
+ [
175
+ "keyword.declaration",
176
+ "white",
177
+ {
178
+ cases: {
179
+ unquote: "keyword",
180
+ "@default": "function"
181
+ }
182
+ }
183
+ ]
184
+ ],
185
+ // Tokenize function calls
186
+ [
187
+ // In-scope call - an identifier followed by ( or .(
188
+ /(@variableName)(?=\s*\.?\s*\()/,
189
+ {
190
+ cases: {
191
+ // Tokenize as keyword in cases like `if(..., do: ..., else: ...)`
192
+ "@declarationKeywords": "keyword.declaration",
193
+ "@namespaceKeywords": "keyword",
194
+ "@otherKeywords": "keyword",
195
+ "@default": "function.call"
196
+ }
197
+ }
198
+ ],
199
+ [
200
+ // Referencing function in a module
201
+ /(@moduleName)(\s*)(\.)(\s*)(@variableName)/,
202
+ ["type.identifier", "white", "operator", "white", "function.call"]
203
+ ],
204
+ [
205
+ // Referencing function in an Erlang module
206
+ /(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,
207
+ ["constant.punctuation", "constant", "white", "operator", "white", "function.call"]
208
+ ],
209
+ [
210
+ // Piping into a function (tokenized separately as it may not have parentheses)
211
+ /(\|>)(\s*)(@variableName)/,
212
+ [
213
+ "operator",
214
+ "white",
215
+ {
216
+ cases: {
217
+ "@otherKeywords": "keyword",
218
+ "@default": "function.call"
219
+ }
220
+ }
221
+ ]
222
+ ],
223
+ [
224
+ // Function reference passed to another function
225
+ /(&)(\s*)(@variableName)/,
226
+ ["operator", "white", "function.call"]
227
+ ],
228
+ // Language keywords, builtins, constants and variables
229
+ [
230
+ /@variableName/,
231
+ {
232
+ cases: {
233
+ "@declarationKeywords": "keyword.declaration",
234
+ "@operatorKeywords": "keyword.operator",
235
+ "@namespaceKeywords": "keyword",
236
+ "@otherKeywords": "keyword",
237
+ "@constants": "constant.language",
238
+ "@nameBuiltin": "variable.language",
239
+ "_.*": "comment.unused",
240
+ "@default": "identifier"
241
+ }
242
+ }
243
+ ],
244
+ // Module names
245
+ [/@moduleName/, "type.identifier"]
246
+ ],
247
+ // Strings
248
+ strings: [
249
+ [/"""/, { token: "string.delimiter", next: "@doubleQuotedHeredoc" }],
250
+ [/'''/, { token: "string.delimiter", next: "@singleQuotedHeredoc" }],
251
+ [/"/, { token: "string.delimiter", next: "@doubleQuotedString" }],
252
+ [/'/, { token: "string.delimiter", next: "@singleQuotedString" }]
253
+ ],
254
+ doubleQuotedHeredoc: [
255
+ [/"""/, { token: "string.delimiter", next: "@pop" }],
256
+ { include: "@stringContentInterpol" }
257
+ ],
258
+ singleQuotedHeredoc: [
259
+ [/'''/, { token: "string.delimiter", next: "@pop" }],
260
+ { include: "@stringContentInterpol" }
261
+ ],
262
+ doubleQuotedString: [
263
+ [/"/, { token: "string.delimiter", next: "@pop" }],
264
+ { include: "@stringContentInterpol" }
265
+ ],
266
+ singleQuotedString: [
267
+ [/'/, { token: "string.delimiter", next: "@pop" }],
268
+ { include: "@stringContentInterpol" }
269
+ ],
270
+ // Atoms
271
+ atoms: [
272
+ [/(:)(@atomName)/, ["constant.punctuation", "constant"]],
273
+ [/:"/, { token: "constant.delimiter", next: "@doubleQuotedStringAtom" }],
274
+ [/:'/, { token: "constant.delimiter", next: "@singleQuotedStringAtom" }]
275
+ ],
276
+ doubleQuotedStringAtom: [
277
+ [/"/, { token: "constant.delimiter", next: "@pop" }],
278
+ { include: "@stringConstantContentInterpol" }
279
+ ],
280
+ singleQuotedStringAtom: [
281
+ [/'/, { token: "constant.delimiter", next: "@pop" }],
282
+ { include: "@stringConstantContentInterpol" }
283
+ ],
284
+ // Sigils
285
+ // See https://elixir-lang.org/getting-started/sigils.html
286
+ // Sigils allow for typing values using their textual representation.
287
+ // All sigils start with ~ followed by a letter or
288
+ // multi-letter uppercase starting at Elixir v1.15.0, indicating sigil type
289
+ // and then a delimiter pair enclosing the textual representation.
290
+ // Optional modifiers are allowed after the closing delimiter.
291
+ // For instance a regular expressions can be written as:
292
+ // ~r/foo|bar/ ~r{foo|bar} ~r/foo|bar/g
293
+ //
294
+ // In general lowercase sigils allow for interpolation
295
+ // and escaped characters, whereas uppercase sigils don't
296
+ //
297
+ // During tokenization we want to distinguish some
298
+ // specific sigil types, namely string and regexp,
299
+ // so that they cen be themed separately.
300
+ //
301
+ // To reasonably handle all those combinations we leverage
302
+ // dot-separated states, so if we transition to @sigilStart.interpol.s.{.}
303
+ // then "sigilStart.interpol.s" state will match and also all
304
+ // the individual dot-separated parameters can be accessed.
305
+ sigils: [
306
+ [/~[a-z]@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.interpol" }],
307
+ [/~([A-Z]+)@sigilStartDelimiter/, { token: "@rematch", next: "@sigil.noInterpol" }]
308
+ ],
309
+ sigil: [
310
+ [/~([a-z]|[A-Z]+)\{/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.{.}" }],
311
+ [/~([a-z]|[A-Z]+)\[/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.[.]" }],
312
+ [/~([a-z]|[A-Z]+)\(/, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.(.)" }],
313
+ [/~([a-z]|[A-Z]+)\</, { token: "@rematch", switchTo: "@sigilStart.$S2.$1.<.>" }],
314
+ [
315
+ /~([a-z]|[A-Z]+)(@sigilSymmetricDelimiter)/,
316
+ { token: "@rematch", switchTo: "@sigilStart.$S2.$1.$2.$2" }
317
+ ]
318
+ ],
319
+ // The definitions below expect states to be of the form:
320
+ //
321
+ // sigilStart.<interpol-or-noInterpol>.<sigil-letter>.<start-delimiter>.<end-delimiter>
322
+ // sigilContinue.<interpol-or-noInterpol>.<sigil-letter>.<start-delimiter>.<end-delimiter>
323
+ //
324
+ // The sigilStart state is used only to properly classify the token (as string/regex/sigil)
325
+ // and immediately switches to the sigilContinue sate, which handles the actual content
326
+ // and waits for the corresponding end delimiter.
327
+ "sigilStart.interpol.s": [
328
+ [
329
+ /~s@sigilStartDelimiter/,
330
+ {
331
+ token: "string.delimiter",
332
+ switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
333
+ }
334
+ ]
335
+ ],
336
+ "sigilContinue.interpol.s": [
337
+ [
338
+ /(@sigilEndDelimiter)@sigilModifiers/,
339
+ {
340
+ cases: {
341
+ "$1==$S5": { token: "string.delimiter", next: "@pop" },
342
+ "@default": "string"
343
+ }
344
+ }
345
+ ],
346
+ { include: "@stringContentInterpol" }
347
+ ],
348
+ "sigilStart.noInterpol.S": [
349
+ [
350
+ /~S@sigilStartDelimiter/,
351
+ {
352
+ token: "string.delimiter",
353
+ switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
354
+ }
355
+ ]
356
+ ],
357
+ "sigilContinue.noInterpol.S": [
358
+ // Ignore escaped sigil end
359
+ [/(^|[^\\])\\@sigilEndDelimiter/, "string"],
360
+ [
361
+ /(@sigilEndDelimiter)@sigilModifiers/,
362
+ {
363
+ cases: {
364
+ "$1==$S5": { token: "string.delimiter", next: "@pop" },
365
+ "@default": "string"
366
+ }
367
+ }
368
+ ],
369
+ { include: "@stringContent" }
370
+ ],
371
+ "sigilStart.interpol.r": [
372
+ [
373
+ /~r@sigilStartDelimiter/,
374
+ {
375
+ token: "regexp.delimiter",
376
+ switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
377
+ }
378
+ ]
379
+ ],
380
+ "sigilContinue.interpol.r": [
381
+ [
382
+ /(@sigilEndDelimiter)@sigilModifiers/,
383
+ {
384
+ cases: {
385
+ "$1==$S5": { token: "regexp.delimiter", next: "@pop" },
386
+ "@default": "regexp"
387
+ }
388
+ }
389
+ ],
390
+ { include: "@regexpContentInterpol" }
391
+ ],
392
+ "sigilStart.noInterpol.R": [
393
+ [
394
+ /~R@sigilStartDelimiter/,
395
+ {
396
+ token: "regexp.delimiter",
397
+ switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
398
+ }
399
+ ]
400
+ ],
401
+ "sigilContinue.noInterpol.R": [
402
+ // Ignore escaped sigil end
403
+ [/(^|[^\\])\\@sigilEndDelimiter/, "regexp"],
404
+ [
405
+ /(@sigilEndDelimiter)@sigilModifiers/,
406
+ {
407
+ cases: {
408
+ "$1==$S5": { token: "regexp.delimiter", next: "@pop" },
409
+ "@default": "regexp"
410
+ }
411
+ }
412
+ ],
413
+ { include: "@regexpContent" }
414
+ ],
415
+ // Fallback to the generic sigil by default
416
+ "sigilStart.interpol": [
417
+ [
418
+ /~([a-z]|[A-Z]+)@sigilStartDelimiter/,
419
+ {
420
+ token: "sigil.delimiter",
421
+ switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
422
+ }
423
+ ]
424
+ ],
425
+ "sigilContinue.interpol": [
426
+ [
427
+ /(@sigilEndDelimiter)@sigilModifiers/,
428
+ {
429
+ cases: {
430
+ "$1==$S5": { token: "sigil.delimiter", next: "@pop" },
431
+ "@default": "sigil"
432
+ }
433
+ }
434
+ ],
435
+ { include: "@sigilContentInterpol" }
436
+ ],
437
+ "sigilStart.noInterpol": [
438
+ [
439
+ /~([a-z]|[A-Z]+)@sigilStartDelimiter/,
440
+ {
441
+ token: "sigil.delimiter",
442
+ switchTo: "@sigilContinue.$S2.$S3.$S4.$S5"
443
+ }
444
+ ]
445
+ ],
446
+ "sigilContinue.noInterpol": [
447
+ // Ignore escaped sigil end
448
+ [/(^|[^\\])\\@sigilEndDelimiter/, "sigil"],
449
+ [
450
+ /(@sigilEndDelimiter)@sigilModifiers/,
451
+ {
452
+ cases: {
453
+ "$1==$S5": { token: "sigil.delimiter", next: "@pop" },
454
+ "@default": "sigil"
455
+ }
456
+ }
457
+ ],
458
+ { include: "@sigilContent" }
459
+ ],
460
+ // Attributes
461
+ attributes: [
462
+ // Module @doc* attributes - tokenized as comments
463
+ [
464
+ /\@(module|type)?doc (~[sS])?"""/,
465
+ {
466
+ token: "comment.block.documentation",
467
+ next: "@doubleQuotedHeredocDocstring"
468
+ }
469
+ ],
470
+ [
471
+ /\@(module|type)?doc (~[sS])?'''/,
472
+ {
473
+ token: "comment.block.documentation",
474
+ next: "@singleQuotedHeredocDocstring"
475
+ }
476
+ ],
477
+ [
478
+ /\@(module|type)?doc (~[sS])?"/,
479
+ {
480
+ token: "comment.block.documentation",
481
+ next: "@doubleQuotedStringDocstring"
482
+ }
483
+ ],
484
+ [
485
+ /\@(module|type)?doc (~[sS])?'/,
486
+ {
487
+ token: "comment.block.documentation",
488
+ next: "@singleQuotedStringDocstring"
489
+ }
490
+ ],
491
+ [/\@(module|type)?doc false/, "comment.block.documentation"],
492
+ // Module attributes
493
+ [/\@(@variableName)/, "variable"]
494
+ ],
495
+ doubleQuotedHeredocDocstring: [
496
+ [/"""/, { token: "comment.block.documentation", next: "@pop" }],
497
+ { include: "@docstringContent" }
498
+ ],
499
+ singleQuotedHeredocDocstring: [
500
+ [/'''/, { token: "comment.block.documentation", next: "@pop" }],
501
+ { include: "@docstringContent" }
502
+ ],
503
+ doubleQuotedStringDocstring: [
504
+ [/"/, { token: "comment.block.documentation", next: "@pop" }],
505
+ { include: "@docstringContent" }
506
+ ],
507
+ singleQuotedStringDocstring: [
508
+ [/'/, { token: "comment.block.documentation", next: "@pop" }],
509
+ { include: "@docstringContent" }
510
+ ],
511
+ // Operators, punctuation, brackets
512
+ symbols: [
513
+ // Code point operator (either with regular character ?a or an escaped one ?\n)
514
+ [/\?(\\.|[^\\\s])/, "number.constant"],
515
+ // Anonymous function arguments
516
+ [/&\d+/, "operator"],
517
+ // Bitshift operators (must go before delimiters, so that << >> don't match first)
518
+ [/<<<|>>>/, "operator"],
519
+ // Delimiter pairs
520
+ [/[()\[\]\{\}]|<<|>>/, "@brackets"],
521
+ // Triple dot is a valid name (must go before operators, so that .. doesn't match instead)
522
+ [/\.\.\./, "identifier"],
523
+ // Punctuation => (must go before operators, so it's not tokenized as = then >)
524
+ [/=>/, "punctuation"],
525
+ // Operators
526
+ [/@operator/, "operator"],
527
+ // Punctuation
528
+ [/[:;,.%]/, "punctuation"]
529
+ ],
530
+ // Generic helpers
531
+ stringContentInterpol: [
532
+ { include: "@interpolation" },
533
+ { include: "@escapeChar" },
534
+ { include: "@stringContent" }
535
+ ],
536
+ stringContent: [[/./, "string"]],
537
+ stringConstantContentInterpol: [
538
+ { include: "@interpolation" },
539
+ { include: "@escapeChar" },
540
+ { include: "@stringConstantContent" }
541
+ ],
542
+ stringConstantContent: [[/./, "constant"]],
543
+ regexpContentInterpol: [
544
+ { include: "@interpolation" },
545
+ { include: "@escapeChar" },
546
+ { include: "@regexpContent" }
547
+ ],
548
+ regexpContent: [
549
+ // # may be a regular regexp char, so we use a heuristic
550
+ // assuming a # surrounded by whitespace is actually a comment.
551
+ [/(\s)(#)(\s.*)$/, ["white", "comment.punctuation", "comment"]],
552
+ [/./, "regexp"]
553
+ ],
554
+ sigilContentInterpol: [
555
+ { include: "@interpolation" },
556
+ { include: "@escapeChar" },
557
+ { include: "@sigilContent" }
558
+ ],
559
+ sigilContent: [[/./, "sigil"]],
560
+ docstringContent: [[/./, "comment.block.documentation"]],
561
+ escapeChar: [[/@escape/, "constant.character.escape"]],
562
+ interpolation: [[/#{/, { token: "delimiter.bracket.embed", next: "@interpolationContinue" }]],
563
+ interpolationContinue: [
564
+ [/}/, { token: "delimiter.bracket.embed", next: "@pop" }],
565
+ // Interpolation brackets may contain arbitrary code,
566
+ // so we simply match against all the root rules,
567
+ // until we reach interpolation end (the above matches).
568
+ { include: "@root" }
569
+ ]
570
+ }
571
+ };
572
+ export {
573
+ e as conf,
574
+ t as language
575
+ };
@@ -0,0 +1,9 @@
1
+ export type DrillDownTriggerEvent = {
2
+ filters: Record<string, unknown[]>;
3
+ };
4
+ export type DrillDownEvent = {
5
+ add: string[];
6
+ remove: string;
7
+ filter: string;
8
+ };
9
+ //# sourceMappingURL=display.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../events/display.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,GAAG,EAAE,MAAM,EAAE,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf,CAAA"}