@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,556 @@
1
+ import { a8 as m } from "./main-oVvKtGNk.js";
2
+ /*!-----------------------------------------------------------------------------
3
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4
+ * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
5
+ * Released under the MIT license
6
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
7
+ *-----------------------------------------------------------------------------*/
8
+ var s = Object.defineProperty, c = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, d = Object.prototype.hasOwnProperty, p = (t, e, o, n) => {
9
+ if (e && typeof e == "object" || typeof e == "function")
10
+ for (let r of l(e))
11
+ !d.call(t, r) && r !== o && s(t, r, { get: () => e[r], enumerable: !(n = c(e, r)) || n.enumerable });
12
+ return t;
13
+ }, h = (t, e, o) => (p(t, e, "default"), o), a = {};
14
+ h(a, m);
15
+ var i = [
16
+ "area",
17
+ "base",
18
+ "br",
19
+ "col",
20
+ "embed",
21
+ "hr",
22
+ "img",
23
+ "input",
24
+ "keygen",
25
+ "link",
26
+ "menuitem",
27
+ "meta",
28
+ "param",
29
+ "source",
30
+ "track",
31
+ "wbr"
32
+ ], b = {
33
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
34
+ comments: {
35
+ blockComment: ["<!--", "-->"]
36
+ },
37
+ brackets: [
38
+ ["<!--", "-->"],
39
+ ["<", ">"],
40
+ ["{", "}"],
41
+ ["(", ")"]
42
+ ],
43
+ autoClosingPairs: [
44
+ { open: "{", close: "}" },
45
+ { open: "[", close: "]" },
46
+ { open: "(", close: ")" },
47
+ { open: '"', close: '"' },
48
+ { open: "'", close: "'" }
49
+ ],
50
+ surroundingPairs: [
51
+ { open: '"', close: '"' },
52
+ { open: "'", close: "'" },
53
+ { open: "<", close: ">" }
54
+ ],
55
+ onEnterRules: [
56
+ {
57
+ beforeText: new RegExp(
58
+ `<(?!(?:${i.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
59
+ "i"
60
+ ),
61
+ afterText: /^<\/(\w[\w\d]*)\s*>$/i,
62
+ action: {
63
+ indentAction: a.languages.IndentAction.IndentOutdent
64
+ }
65
+ },
66
+ {
67
+ beforeText: new RegExp(
68
+ `<(?!(?:${i.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,
69
+ "i"
70
+ ),
71
+ action: { indentAction: a.languages.IndentAction.Indent }
72
+ }
73
+ ]
74
+ }, y = {
75
+ defaultToken: "",
76
+ tokenPostfix: "",
77
+ // ignoreCase: true,
78
+ // The main tokenizer for our languages
79
+ tokenizer: {
80
+ root: [
81
+ [/@@@@/],
82
+ // text
83
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.root" }],
84
+ [/<!DOCTYPE/, "metatag.html", "@doctype"],
85
+ [/<!--/, "comment.html", "@comment"],
86
+ [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
87
+ [/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
88
+ [/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
89
+ [/(<)([:\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
90
+ [/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
91
+ [/</, "delimiter.html"],
92
+ [/[ \t\r\n]+/],
93
+ // whitespace
94
+ [/[^<@]+/]
95
+ // text
96
+ ],
97
+ doctype: [
98
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.comment" }],
99
+ [/[^>]+/, "metatag.content.html"],
100
+ [/>/, "metatag.html", "@pop"]
101
+ ],
102
+ comment: [
103
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.comment" }],
104
+ [/-->/, "comment.html", "@pop"],
105
+ [/[^-]+/, "comment.content.html"],
106
+ [/./, "comment.content.html"]
107
+ ],
108
+ otherTag: [
109
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.otherTag" }],
110
+ [/\/?>/, "delimiter.html", "@pop"],
111
+ [/"([^"]*)"/, "attribute.value"],
112
+ [/'([^']*)'/, "attribute.value"],
113
+ [/[\w\-]+/, "attribute.name"],
114
+ [/=/, "delimiter"],
115
+ [/[ \t\r\n]+/]
116
+ // whitespace
117
+ ],
118
+ // -- BEGIN <script> tags handling
119
+ // After <script
120
+ script: [
121
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.script" }],
122
+ [/type/, "attribute.name", "@scriptAfterType"],
123
+ [/"([^"]*)"/, "attribute.value"],
124
+ [/'([^']*)'/, "attribute.value"],
125
+ [/[\w\-]+/, "attribute.name"],
126
+ [/=/, "delimiter"],
127
+ [
128
+ />/,
129
+ {
130
+ token: "delimiter.html",
131
+ next: "@scriptEmbedded.text/javascript",
132
+ nextEmbedded: "text/javascript"
133
+ }
134
+ ],
135
+ [/[ \t\r\n]+/],
136
+ // whitespace
137
+ [
138
+ /(<\/)(script\s*)(>)/,
139
+ ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
140
+ ]
141
+ ],
142
+ // After <script ... type
143
+ scriptAfterType: [
144
+ [
145
+ /@[^@]/,
146
+ {
147
+ token: "@rematch",
148
+ switchTo: "@razorInSimpleState.scriptAfterType"
149
+ }
150
+ ],
151
+ [/=/, "delimiter", "@scriptAfterTypeEquals"],
152
+ [
153
+ />/,
154
+ {
155
+ token: "delimiter.html",
156
+ next: "@scriptEmbedded.text/javascript",
157
+ nextEmbedded: "text/javascript"
158
+ }
159
+ ],
160
+ // cover invalid e.g. <script type>
161
+ [/[ \t\r\n]+/],
162
+ // whitespace
163
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
164
+ ],
165
+ // After <script ... type =
166
+ scriptAfterTypeEquals: [
167
+ [
168
+ /@[^@]/,
169
+ {
170
+ token: "@rematch",
171
+ switchTo: "@razorInSimpleState.scriptAfterTypeEquals"
172
+ }
173
+ ],
174
+ [
175
+ /"([^"]*)"/,
176
+ {
177
+ token: "attribute.value",
178
+ switchTo: "@scriptWithCustomType.$1"
179
+ }
180
+ ],
181
+ [
182
+ /'([^']*)'/,
183
+ {
184
+ token: "attribute.value",
185
+ switchTo: "@scriptWithCustomType.$1"
186
+ }
187
+ ],
188
+ [
189
+ />/,
190
+ {
191
+ token: "delimiter.html",
192
+ next: "@scriptEmbedded.text/javascript",
193
+ nextEmbedded: "text/javascript"
194
+ }
195
+ ],
196
+ // cover invalid e.g. <script type=>
197
+ [/[ \t\r\n]+/],
198
+ // whitespace
199
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
200
+ ],
201
+ // After <script ... type = $S2
202
+ scriptWithCustomType: [
203
+ [
204
+ /@[^@]/,
205
+ {
206
+ token: "@rematch",
207
+ switchTo: "@razorInSimpleState.scriptWithCustomType.$S2"
208
+ }
209
+ ],
210
+ [
211
+ />/,
212
+ {
213
+ token: "delimiter.html",
214
+ next: "@scriptEmbedded.$S2",
215
+ nextEmbedded: "$S2"
216
+ }
217
+ ],
218
+ [/"([^"]*)"/, "attribute.value"],
219
+ [/'([^']*)'/, "attribute.value"],
220
+ [/[\w\-]+/, "attribute.name"],
221
+ [/=/, "delimiter"],
222
+ [/[ \t\r\n]+/],
223
+ // whitespace
224
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
225
+ ],
226
+ scriptEmbedded: [
227
+ [
228
+ /@[^@]/,
229
+ {
230
+ token: "@rematch",
231
+ switchTo: "@razorInEmbeddedState.scriptEmbedded.$S2",
232
+ nextEmbedded: "@pop"
233
+ }
234
+ ],
235
+ [/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
236
+ ],
237
+ // -- END <script> tags handling
238
+ // -- BEGIN <style> tags handling
239
+ // After <style
240
+ style: [
241
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.style" }],
242
+ [/type/, "attribute.name", "@styleAfterType"],
243
+ [/"([^"]*)"/, "attribute.value"],
244
+ [/'([^']*)'/, "attribute.value"],
245
+ [/[\w\-]+/, "attribute.name"],
246
+ [/=/, "delimiter"],
247
+ [
248
+ />/,
249
+ {
250
+ token: "delimiter.html",
251
+ next: "@styleEmbedded.text/css",
252
+ nextEmbedded: "text/css"
253
+ }
254
+ ],
255
+ [/[ \t\r\n]+/],
256
+ // whitespace
257
+ [
258
+ /(<\/)(style\s*)(>)/,
259
+ ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
260
+ ]
261
+ ],
262
+ // After <style ... type
263
+ styleAfterType: [
264
+ [
265
+ /@[^@]/,
266
+ {
267
+ token: "@rematch",
268
+ switchTo: "@razorInSimpleState.styleAfterType"
269
+ }
270
+ ],
271
+ [/=/, "delimiter", "@styleAfterTypeEquals"],
272
+ [
273
+ />/,
274
+ {
275
+ token: "delimiter.html",
276
+ next: "@styleEmbedded.text/css",
277
+ nextEmbedded: "text/css"
278
+ }
279
+ ],
280
+ // cover invalid e.g. <style type>
281
+ [/[ \t\r\n]+/],
282
+ // whitespace
283
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
284
+ ],
285
+ // After <style ... type =
286
+ styleAfterTypeEquals: [
287
+ [
288
+ /@[^@]/,
289
+ {
290
+ token: "@rematch",
291
+ switchTo: "@razorInSimpleState.styleAfterTypeEquals"
292
+ }
293
+ ],
294
+ [
295
+ /"([^"]*)"/,
296
+ {
297
+ token: "attribute.value",
298
+ switchTo: "@styleWithCustomType.$1"
299
+ }
300
+ ],
301
+ [
302
+ /'([^']*)'/,
303
+ {
304
+ token: "attribute.value",
305
+ switchTo: "@styleWithCustomType.$1"
306
+ }
307
+ ],
308
+ [
309
+ />/,
310
+ {
311
+ token: "delimiter.html",
312
+ next: "@styleEmbedded.text/css",
313
+ nextEmbedded: "text/css"
314
+ }
315
+ ],
316
+ // cover invalid e.g. <style type=>
317
+ [/[ \t\r\n]+/],
318
+ // whitespace
319
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
320
+ ],
321
+ // After <style ... type = $S2
322
+ styleWithCustomType: [
323
+ [
324
+ /@[^@]/,
325
+ {
326
+ token: "@rematch",
327
+ switchTo: "@razorInSimpleState.styleWithCustomType.$S2"
328
+ }
329
+ ],
330
+ [
331
+ />/,
332
+ {
333
+ token: "delimiter.html",
334
+ next: "@styleEmbedded.$S2",
335
+ nextEmbedded: "$S2"
336
+ }
337
+ ],
338
+ [/"([^"]*)"/, "attribute.value"],
339
+ [/'([^']*)'/, "attribute.value"],
340
+ [/[\w\-]+/, "attribute.name"],
341
+ [/=/, "delimiter"],
342
+ [/[ \t\r\n]+/],
343
+ // whitespace
344
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
345
+ ],
346
+ styleEmbedded: [
347
+ [
348
+ /@[^@]/,
349
+ {
350
+ token: "@rematch",
351
+ switchTo: "@razorInEmbeddedState.styleEmbedded.$S2",
352
+ nextEmbedded: "@pop"
353
+ }
354
+ ],
355
+ [/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
356
+ ],
357
+ // -- END <style> tags handling
358
+ razorInSimpleState: [
359
+ [/@\*/, "comment.cs", "@razorBlockCommentTopLevel"],
360
+ [/@[{(]/, "metatag.cs", "@razorRootTopLevel"],
361
+ [/(@)(\s*[\w]+)/, ["metatag.cs", { token: "identifier.cs", switchTo: "@$S2.$S3" }]],
362
+ [/[})]/, { token: "metatag.cs", switchTo: "@$S2.$S3" }],
363
+ [/\*@/, { token: "comment.cs", switchTo: "@$S2.$S3" }]
364
+ ],
365
+ razorInEmbeddedState: [
366
+ [/@\*/, "comment.cs", "@razorBlockCommentTopLevel"],
367
+ [/@[{(]/, "metatag.cs", "@razorRootTopLevel"],
368
+ [
369
+ /(@)(\s*[\w]+)/,
370
+ [
371
+ "metatag.cs",
372
+ {
373
+ token: "identifier.cs",
374
+ switchTo: "@$S2.$S3",
375
+ nextEmbedded: "$S3"
376
+ }
377
+ ]
378
+ ],
379
+ [
380
+ /[})]/,
381
+ {
382
+ token: "metatag.cs",
383
+ switchTo: "@$S2.$S3",
384
+ nextEmbedded: "$S3"
385
+ }
386
+ ],
387
+ [
388
+ /\*@/,
389
+ {
390
+ token: "comment.cs",
391
+ switchTo: "@$S2.$S3",
392
+ nextEmbedded: "$S3"
393
+ }
394
+ ]
395
+ ],
396
+ razorBlockCommentTopLevel: [
397
+ [/\*@/, "@rematch", "@pop"],
398
+ [/[^*]+/, "comment.cs"],
399
+ [/./, "comment.cs"]
400
+ ],
401
+ razorBlockComment: [
402
+ [/\*@/, "comment.cs", "@pop"],
403
+ [/[^*]+/, "comment.cs"],
404
+ [/./, "comment.cs"]
405
+ ],
406
+ razorRootTopLevel: [
407
+ [/\{/, "delimiter.bracket.cs", "@razorRoot"],
408
+ [/\(/, "delimiter.parenthesis.cs", "@razorRoot"],
409
+ [/[})]/, "@rematch", "@pop"],
410
+ { include: "razorCommon" }
411
+ ],
412
+ razorRoot: [
413
+ [/\{/, "delimiter.bracket.cs", "@razorRoot"],
414
+ [/\(/, "delimiter.parenthesis.cs", "@razorRoot"],
415
+ [/\}/, "delimiter.bracket.cs", "@pop"],
416
+ [/\)/, "delimiter.parenthesis.cs", "@pop"],
417
+ { include: "razorCommon" }
418
+ ],
419
+ razorCommon: [
420
+ [
421
+ /[a-zA-Z_]\w*/,
422
+ {
423
+ cases: {
424
+ "@razorKeywords": { token: "keyword.cs" },
425
+ "@default": "identifier.cs"
426
+ }
427
+ }
428
+ ],
429
+ // brackets
430
+ [/[\[\]]/, "delimiter.array.cs"],
431
+ // whitespace
432
+ [/[ \t\r\n]+/],
433
+ // comments
434
+ [/\/\/.*$/, "comment.cs"],
435
+ [/@\*/, "comment.cs", "@razorBlockComment"],
436
+ // strings
437
+ [/"([^"]*)"/, "string.cs"],
438
+ [/'([^']*)'/, "string.cs"],
439
+ // simple html
440
+ [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
441
+ [/(<)([\w\-]+)(>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
442
+ [/(<\/)([\w\-]+)(>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
443
+ // delimiters
444
+ [/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/, "delimiter.cs"],
445
+ // numbers
446
+ [/\d*\d+[eE]([\-+]?\d+)?/, "number.float.cs"],
447
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.cs"],
448
+ [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.cs"],
449
+ [/0[0-7']*[0-7]/, "number.octal.cs"],
450
+ [/0[bB][0-1']*[0-1]/, "number.binary.cs"],
451
+ [/\d[\d']*/, "number.cs"],
452
+ [/\d/, "number.cs"]
453
+ ]
454
+ },
455
+ razorKeywords: [
456
+ "abstract",
457
+ "as",
458
+ "async",
459
+ "await",
460
+ "base",
461
+ "bool",
462
+ "break",
463
+ "by",
464
+ "byte",
465
+ "case",
466
+ "catch",
467
+ "char",
468
+ "checked",
469
+ "class",
470
+ "const",
471
+ "continue",
472
+ "decimal",
473
+ "default",
474
+ "delegate",
475
+ "do",
476
+ "double",
477
+ "descending",
478
+ "explicit",
479
+ "event",
480
+ "extern",
481
+ "else",
482
+ "enum",
483
+ "false",
484
+ "finally",
485
+ "fixed",
486
+ "float",
487
+ "for",
488
+ "foreach",
489
+ "from",
490
+ "goto",
491
+ "group",
492
+ "if",
493
+ "implicit",
494
+ "in",
495
+ "int",
496
+ "interface",
497
+ "internal",
498
+ "into",
499
+ "is",
500
+ "lock",
501
+ "long",
502
+ "nameof",
503
+ "new",
504
+ "null",
505
+ "namespace",
506
+ "object",
507
+ "operator",
508
+ "out",
509
+ "override",
510
+ "orderby",
511
+ "params",
512
+ "private",
513
+ "protected",
514
+ "public",
515
+ "readonly",
516
+ "ref",
517
+ "return",
518
+ "switch",
519
+ "struct",
520
+ "sbyte",
521
+ "sealed",
522
+ "short",
523
+ "sizeof",
524
+ "stackalloc",
525
+ "static",
526
+ "string",
527
+ "select",
528
+ "this",
529
+ "throw",
530
+ "true",
531
+ "try",
532
+ "typeof",
533
+ "uint",
534
+ "ulong",
535
+ "unchecked",
536
+ "unsafe",
537
+ "ushort",
538
+ "using",
539
+ "var",
540
+ "virtual",
541
+ "volatile",
542
+ "void",
543
+ "when",
544
+ "while",
545
+ "where",
546
+ "yield",
547
+ "model",
548
+ "inject"
549
+ // Razor specific
550
+ ],
551
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
552
+ };
553
+ export {
554
+ b as conf,
555
+ y as language
556
+ };