@flanksource/clicky-ui 0.3.77 → 0.3.79

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 (854) hide show
  1. package/NOTICE.md +16 -0
  2. package/dist/ai.cjs +2 -2
  3. package/dist/ai.js +2 -2
  4. package/dist/comments/CommentThreadList.cjs +13 -14
  5. package/dist/comments/CommentThreadList.cjs.map +1 -1
  6. package/dist/comments/CommentThreadList.d.ts.map +1 -1
  7. package/dist/comments/CommentThreadList.js +13 -14
  8. package/dist/comments/CommentThreadList.js.map +1 -1
  9. package/dist/components/EndpointSelector.cjs +7 -1
  10. package/dist/components/EndpointSelector.cjs.map +1 -1
  11. package/dist/components/EndpointSelector.d.ts.map +1 -1
  12. package/dist/components/EndpointSelector.js +7 -1
  13. package/dist/components/EndpointSelector.js.map +1 -1
  14. package/dist/components/FilterBar.cjs +36 -12
  15. package/dist/components/FilterBar.cjs.map +1 -1
  16. package/dist/components/FilterBar.d.ts +14 -2
  17. package/dist/components/FilterBar.d.ts.map +1 -1
  18. package/dist/components/FilterBar.js +36 -12
  19. package/dist/components/FilterBar.js.map +1 -1
  20. package/dist/components/FormLookupProvider.cjs +12 -4
  21. package/dist/components/FormLookupProvider.cjs.map +1 -1
  22. package/dist/components/FormLookupProvider.d.ts.map +1 -1
  23. package/dist/components/FormLookupProvider.js +13 -5
  24. package/dist/components/FormLookupProvider.js.map +1 -1
  25. package/dist/components/JSONPathPlayground.cjs +124 -233
  26. package/dist/components/JSONPathPlayground.cjs.map +1 -1
  27. package/dist/components/JSONPathPlayground.d.ts +15 -13
  28. package/dist/components/JSONPathPlayground.d.ts.map +1 -1
  29. package/dist/components/JSONPathPlayground.js +125 -234
  30. package/dist/components/JSONPathPlayground.js.map +1 -1
  31. package/dist/components/JsonSchemaForm.cjs +6 -0
  32. package/dist/components/JsonSchemaForm.cjs.map +1 -1
  33. package/dist/components/JsonSchemaForm.js +6 -0
  34. package/dist/components/JsonSchemaForm.js.map +1 -1
  35. package/dist/components/SegmentedControl.cjs +1 -1
  36. package/dist/components/SegmentedControl.cjs.map +1 -1
  37. package/dist/components/SegmentedControl.d.ts.map +1 -1
  38. package/dist/components/SegmentedControl.js +1 -1
  39. package/dist/components/SegmentedControl.js.map +1 -1
  40. package/dist/components/TimeRange.cjs +133 -60
  41. package/dist/components/TimeRange.cjs.map +1 -1
  42. package/dist/components/TimeRange.d.ts +8 -1
  43. package/dist/components/TimeRange.d.ts.map +1 -1
  44. package/dist/components/TimeRange.js +133 -60
  45. package/dist/components/TimeRange.js.map +1 -1
  46. package/dist/components/json-schema-form-accordion-array.cjs +8 -6
  47. package/dist/components/json-schema-form-accordion-array.cjs.map +1 -1
  48. package/dist/components/json-schema-form-accordion-array.d.ts.map +1 -1
  49. package/dist/components/json-schema-form-accordion-array.js +9 -7
  50. package/dist/components/json-schema-form-accordion-array.js.map +1 -1
  51. package/dist/components/json-schema-form-array-rows.cjs +45 -0
  52. package/dist/components/json-schema-form-array-rows.cjs.map +1 -0
  53. package/dist/components/json-schema-form-array-rows.d.ts +10 -0
  54. package/dist/components/json-schema-form-array-rows.d.ts.map +1 -0
  55. package/dist/components/json-schema-form-array-rows.js +45 -0
  56. package/dist/components/json-schema-form-array-rows.js.map +1 -0
  57. package/dist/components/json-schema-form-item-summary.cjs +3 -5
  58. package/dist/components/json-schema-form-item-summary.cjs.map +1 -1
  59. package/dist/components/json-schema-form-item-summary.d.ts +1 -1
  60. package/dist/components/json-schema-form-item-summary.d.ts.map +1 -1
  61. package/dist/components/json-schema-form-item-summary.js +3 -5
  62. package/dist/components/json-schema-form-item-summary.js.map +1 -1
  63. package/dist/components/json-schema-form-render.cjs +11 -2
  64. package/dist/components/json-schema-form-render.cjs.map +1 -1
  65. package/dist/components/json-schema-form-render.d.ts.map +1 -1
  66. package/dist/components/json-schema-form-render.js +12 -3
  67. package/dist/components/json-schema-form-render.js.map +1 -1
  68. package/dist/components/json-schema-form-resolve.cjs +10 -0
  69. package/dist/components/json-schema-form-resolve.cjs.map +1 -1
  70. package/dist/components/json-schema-form-resolve.d.ts +1 -0
  71. package/dist/components/json-schema-form-resolve.d.ts.map +1 -1
  72. package/dist/components/json-schema-form-resolve.js +10 -1
  73. package/dist/components/json-schema-form-resolve.js.map +1 -1
  74. package/dist/components/json-schema-form-runtime-types.d.ts +4 -0
  75. package/dist/components/json-schema-form-runtime-types.d.ts.map +1 -1
  76. package/dist/components/json-schema-form-table-array.cjs +25 -16
  77. package/dist/components/json-schema-form-table-array.cjs.map +1 -1
  78. package/dist/components/json-schema-form-table-array.d.ts +1 -1
  79. package/dist/components/json-schema-form-table-array.d.ts.map +1 -1
  80. package/dist/components/json-schema-form-table-array.js +26 -17
  81. package/dist/components/json-schema-form-table-array.js.map +1 -1
  82. package/dist/components/json-schema-form-types.d.ts +0 -2
  83. package/dist/components/json-schema-form-types.d.ts.map +1 -1
  84. package/dist/components/jsonPathPlaygroundEvaluator.cjs +53 -0
  85. package/dist/components/jsonPathPlaygroundEvaluator.cjs.map +1 -0
  86. package/dist/components/jsonPathPlaygroundEvaluator.d.ts +23 -0
  87. package/dist/components/jsonPathPlaygroundEvaluator.d.ts.map +1 -0
  88. package/dist/components/jsonPathPlaygroundEvaluator.js +53 -0
  89. package/dist/components/jsonPathPlaygroundEvaluator.js.map +1 -0
  90. package/dist/components/jsonPathTree.cjs +1 -0
  91. package/dist/components/jsonPathTree.cjs.map +1 -1
  92. package/dist/components/jsonPathTree.d.ts +6 -0
  93. package/dist/components/jsonPathTree.d.ts.map +1 -1
  94. package/dist/components/jsonPathTree.js +1 -0
  95. package/dist/components/jsonPathTree.js.map +1 -1
  96. package/dist/data/Clicky.cjs +37 -18
  97. package/dist/data/Clicky.cjs.map +1 -1
  98. package/dist/data/Clicky.d.ts +5 -0
  99. package/dist/data/Clicky.d.ts.map +1 -1
  100. package/dist/data/Clicky.js +37 -18
  101. package/dist/data/Clicky.js.map +1 -1
  102. package/dist/data/DataTable.cjs +49 -12
  103. package/dist/data/DataTable.cjs.map +1 -1
  104. package/dist/data/DataTable.d.ts +17 -2
  105. package/dist/data/DataTable.d.ts.map +1 -1
  106. package/dist/data/DataTable.js +49 -12
  107. package/dist/data/DataTable.js.map +1 -1
  108. package/dist/data/TaskPoolUsage.cjs +2 -1
  109. package/dist/data/TaskPoolUsage.cjs.map +1 -1
  110. package/dist/data/TaskPoolUsage.d.ts.map +1 -1
  111. package/dist/data/TaskPoolUsage.js +2 -1
  112. package/dist/data/TaskPoolUsage.js.map +1 -1
  113. package/dist/data/TimeseriesPanel.axes.cjs +18 -3
  114. package/dist/data/TimeseriesPanel.axes.cjs.map +1 -1
  115. package/dist/data/TimeseriesPanel.axes.d.ts +10 -1
  116. package/dist/data/TimeseriesPanel.axes.d.ts.map +1 -1
  117. package/dist/data/TimeseriesPanel.axes.js +17 -4
  118. package/dist/data/TimeseriesPanel.axes.js.map +1 -1
  119. package/dist/data/TimeseriesPanel.cjs +57 -23
  120. package/dist/data/TimeseriesPanel.cjs.map +1 -1
  121. package/dist/data/TimeseriesPanel.d.ts.map +1 -1
  122. package/dist/data/TimeseriesPanel.js +59 -25
  123. package/dist/data/TimeseriesPanel.js.map +1 -1
  124. package/dist/data/TimeseriesPanel.model.cjs +10 -7
  125. package/dist/data/TimeseriesPanel.model.cjs.map +1 -1
  126. package/dist/data/TimeseriesPanel.model.d.ts +7 -4
  127. package/dist/data/TimeseriesPanel.model.d.ts.map +1 -1
  128. package/dist/data/TimeseriesPanel.model.js +11 -8
  129. package/dist/data/TimeseriesPanel.model.js.map +1 -1
  130. package/dist/data/TimeseriesPanel.readout.cjs +11 -0
  131. package/dist/data/TimeseriesPanel.readout.cjs.map +1 -0
  132. package/dist/data/TimeseriesPanel.readout.d.ts +4 -0
  133. package/dist/data/TimeseriesPanel.readout.d.ts.map +1 -0
  134. package/dist/data/TimeseriesPanel.readout.js +10 -0
  135. package/dist/data/TimeseriesPanel.readout.js.map +1 -0
  136. package/dist/data/TimeseriesPanel.segments.cjs +67 -0
  137. package/dist/data/TimeseriesPanel.segments.cjs.map +1 -0
  138. package/dist/data/TimeseriesPanel.segments.d.ts +27 -0
  139. package/dist/data/TimeseriesPanel.segments.d.ts.map +1 -0
  140. package/dist/data/TimeseriesPanel.segments.js +67 -0
  141. package/dist/data/TimeseriesPanel.segments.js.map +1 -0
  142. package/dist/data/TreeDataTable.cjs +12 -3
  143. package/dist/data/TreeDataTable.cjs.map +1 -1
  144. package/dist/data/TreeDataTable.d.ts +15 -3
  145. package/dist/data/TreeDataTable.d.ts.map +1 -1
  146. package/dist/data/TreeDataTable.js +12 -3
  147. package/dist/data/TreeDataTable.js.map +1 -1
  148. package/dist/data/TreeNode.cjs +18 -3
  149. package/dist/data/TreeNode.cjs.map +1 -1
  150. package/dist/data/TreeNode.d.ts +7 -1
  151. package/dist/data/TreeNode.d.ts.map +1 -1
  152. package/dist/data/TreeNode.js +18 -3
  153. package/dist/data/TreeNode.js.map +1 -1
  154. package/dist/data/ai/SessionChatComposer.cjs +2 -0
  155. package/dist/data/ai/SessionChatComposer.cjs.map +1 -1
  156. package/dist/data/ai/SessionChatComposer.d.ts.map +1 -1
  157. package/dist/data/ai/SessionChatComposer.js +2 -0
  158. package/dist/data/ai/SessionChatComposer.js.map +1 -1
  159. package/dist/data/ai/SessionInspector.panels.cjs +47 -1
  160. package/dist/data/ai/SessionInspector.panels.cjs.map +1 -1
  161. package/dist/data/ai/SessionInspector.panels.d.ts.map +1 -1
  162. package/dist/data/ai/SessionInspector.panels.js +48 -2
  163. package/dist/data/ai/SessionInspector.panels.js.map +1 -1
  164. package/dist/data/ai/SessionViewer.unified.d.ts +48 -0
  165. package/dist/data/ai/SessionViewer.unified.d.ts.map +1 -1
  166. package/dist/data/ai/index.d.ts +2 -2
  167. package/dist/data/ai/index.d.ts.map +1 -1
  168. package/dist/data/ai/runtime-profiles/PresetWorkspace.cjs +97 -100
  169. package/dist/data/ai/runtime-profiles/PresetWorkspace.cjs.map +1 -1
  170. package/dist/data/ai/runtime-profiles/PresetWorkspace.d.ts.map +1 -1
  171. package/dist/data/ai/runtime-profiles/PresetWorkspace.js +97 -100
  172. package/dist/data/ai/runtime-profiles/PresetWorkspace.js.map +1 -1
  173. package/dist/data/ai/runtime-profiles/ProfileWorkspace.cjs +40 -38
  174. package/dist/data/ai/runtime-profiles/ProfileWorkspace.cjs.map +1 -1
  175. package/dist/data/ai/runtime-profiles/ProfileWorkspace.d.ts.map +1 -1
  176. package/dist/data/ai/runtime-profiles/ProfileWorkspace.js +41 -39
  177. package/dist/data/ai/runtime-profiles/ProfileWorkspace.js.map +1 -1
  178. package/dist/data/ai/runtime-profiles/ResolutionPreview.cjs +53 -0
  179. package/dist/data/ai/runtime-profiles/ResolutionPreview.cjs.map +1 -0
  180. package/dist/data/ai/runtime-profiles/ResolutionPreview.d.ts +7 -0
  181. package/dist/data/ai/runtime-profiles/ResolutionPreview.d.ts.map +1 -0
  182. package/dist/data/ai/runtime-profiles/ResolutionPreview.js +53 -0
  183. package/dist/data/ai/runtime-profiles/ResolutionPreview.js.map +1 -0
  184. package/dist/data/ai/runtime-profiles/index.d.ts +1 -1
  185. package/dist/data/ai/runtime-profiles/index.d.ts.map +1 -1
  186. package/dist/data/ai/sessionSubmitVariant.cjs +30 -0
  187. package/dist/data/ai/sessionSubmitVariant.cjs.map +1 -0
  188. package/dist/data/ai/sessionSubmitVariant.d.ts +7 -0
  189. package/dist/data/ai/sessionSubmitVariant.d.ts.map +1 -0
  190. package/dist/data/ai/sessionSubmitVariant.js +30 -0
  191. package/dist/data/ai/sessionSubmitVariant.js.map +1 -0
  192. package/dist/data/cells/Timestamp.cjs +15 -4
  193. package/dist/data/cells/Timestamp.cjs.map +1 -1
  194. package/dist/data/cells/Timestamp.d.ts.map +1 -1
  195. package/dist/data/cells/Timestamp.js +15 -4
  196. package/dist/data/cells/Timestamp.js.map +1 -1
  197. package/dist/data/cells/timestamp-format.cjs +28 -8
  198. package/dist/data/cells/timestamp-format.cjs.map +1 -1
  199. package/dist/data/cells/timestamp-format.d.ts +3 -1
  200. package/dist/data/cells/timestamp-format.d.ts.map +1 -1
  201. package/dist/data/cells/timestamp-format.js +28 -8
  202. package/dist/data/cells/timestamp-format.js.map +1 -1
  203. package/dist/data/charts/TrendChart.cjs +65 -31
  204. package/dist/data/charts/TrendChart.cjs.map +1 -1
  205. package/dist/data/charts/TrendChart.d.ts +12 -3
  206. package/dist/data/charts/TrendChart.d.ts.map +1 -1
  207. package/dist/data/charts/TrendChart.js +67 -33
  208. package/dist/data/charts/TrendChart.js.map +1 -1
  209. package/dist/data/charts/index.d.ts +1 -1
  210. package/dist/data/charts/index.d.ts.map +1 -1
  211. package/dist/data/chat/PromptInput.cjs +11 -2
  212. package/dist/data/chat/PromptInput.cjs.map +1 -1
  213. package/dist/data/chat/PromptInput.d.ts +15 -1
  214. package/dist/data/chat/PromptInput.d.ts.map +1 -1
  215. package/dist/data/chat/PromptInput.js +11 -2
  216. package/dist/data/chat/PromptInput.js.map +1 -1
  217. package/dist/data/chat/index.d.ts +1 -1
  218. package/dist/data/chat/index.d.ts.map +1 -1
  219. package/dist/data/data-table-filter-values.cjs.map +1 -1
  220. package/dist/data/data-table-filter-values.d.ts +1 -1
  221. package/dist/data/data-table-filter-values.d.ts.map +1 -1
  222. package/dist/data/data-table-filter-values.js.map +1 -1
  223. package/dist/data/data-table-server-filters.cjs +2 -6
  224. package/dist/data/data-table-server-filters.cjs.map +1 -1
  225. package/dist/data/data-table-server-filters.d.ts +1 -1
  226. package/dist/data/data-table-server-filters.d.ts.map +1 -1
  227. package/dist/data/data-table-server-filters.js +1 -5
  228. package/dist/data/data-table-server-filters.js.map +1 -1
  229. package/dist/data/diagnostics/ErrorDetails.cjs +2 -1
  230. package/dist/data/diagnostics/ErrorDetails.cjs.map +1 -1
  231. package/dist/data/diagnostics/ErrorDetails.d.ts +2 -1
  232. package/dist/data/diagnostics/ErrorDetails.d.ts.map +1 -1
  233. package/dist/data/diagnostics/ErrorDetails.js +2 -1
  234. package/dist/data/diagnostics/ErrorDetails.js.map +1 -1
  235. package/dist/data/gauge-stats.cjs +7 -3
  236. package/dist/data/gauge-stats.cjs.map +1 -1
  237. package/dist/data/gauge-stats.d.ts.map +1 -1
  238. package/dist/data/gauge-stats.js +7 -3
  239. package/dist/data/gauge-stats.js.map +1 -1
  240. package/dist/data/query-browser/QueryBrowser.cjs +41 -17
  241. package/dist/data/query-browser/QueryBrowser.cjs.map +1 -1
  242. package/dist/data/query-browser/QueryBrowser.d.ts +1 -1
  243. package/dist/data/query-browser/QueryBrowser.d.ts.map +1 -1
  244. package/dist/data/query-browser/QueryBrowser.fieldNames.cjs +23 -0
  245. package/dist/data/query-browser/QueryBrowser.fieldNames.cjs.map +1 -0
  246. package/dist/data/query-browser/QueryBrowser.fieldNames.d.ts +11 -0
  247. package/dist/data/query-browser/QueryBrowser.fieldNames.d.ts.map +1 -0
  248. package/dist/data/query-browser/QueryBrowser.fieldNames.js +23 -0
  249. package/dist/data/query-browser/QueryBrowser.fieldNames.js.map +1 -0
  250. package/dist/data/query-browser/QueryBrowser.js +41 -17
  251. package/dist/data/query-browser/QueryBrowser.js.map +1 -1
  252. package/dist/data/query-browser/QueryBrowser.types.cjs.map +1 -1
  253. package/dist/data/query-browser/QueryBrowser.types.d.ts +18 -0
  254. package/dist/data/query-browser/QueryBrowser.types.d.ts.map +1 -1
  255. package/dist/data/query-browser/QueryBrowser.types.js.map +1 -1
  256. package/dist/data/runtime/RuntimeBarLayout.cjs +3 -2
  257. package/dist/data/runtime/RuntimeBarLayout.cjs.map +1 -1
  258. package/dist/data/runtime/RuntimeBarLayout.d.ts.map +1 -1
  259. package/dist/data/runtime/RuntimeBarLayout.js +3 -2
  260. package/dist/data/runtime/RuntimeBarLayout.js.map +1 -1
  261. package/dist/data/test-runner/TestRunner.cjs +3 -1
  262. package/dist/data/test-runner/TestRunner.cjs.map +1 -1
  263. package/dist/data/test-runner/TestRunner.d.ts +8 -1
  264. package/dist/data/test-runner/TestRunner.d.ts.map +1 -1
  265. package/dist/data/test-runner/TestRunner.js +3 -1
  266. package/dist/data/test-runner/TestRunner.js.map +1 -1
  267. package/dist/data/test-runner/TestTree.cjs +1 -0
  268. package/dist/data/test-runner/TestTree.cjs.map +1 -1
  269. package/dist/data/test-runner/TestTree.d.ts.map +1 -1
  270. package/dist/data/test-runner/TestTree.js +1 -0
  271. package/dist/data/test-runner/TestTree.js.map +1 -1
  272. package/dist/data/test-runner/context.cjs.map +1 -1
  273. package/dist/data/test-runner/context.d.ts +2 -0
  274. package/dist/data/test-runner/context.d.ts.map +1 -1
  275. package/dist/data/test-runner/context.js.map +1 -1
  276. package/dist/data/timeseries-query.cjs +2 -2
  277. package/dist/data/timeseries-query.cjs.map +1 -1
  278. package/dist/data/timeseries-query.d.ts +1 -1
  279. package/dist/data/timeseries-query.d.ts.map +1 -1
  280. package/dist/data/timeseries-query.js +2 -2
  281. package/dist/data/timeseries-query.js.map +1 -1
  282. package/dist/data/version-info.cjs +3 -3
  283. package/dist/data/version-info.js +3 -3
  284. package/dist/data.cjs +33 -0
  285. package/dist/data.d.ts +1 -1
  286. package/dist/data.d.ts.map +1 -1
  287. package/dist/data.js +18 -2
  288. package/dist/expressions/playground/EmbeddedPlayground.cjs +40 -0
  289. package/dist/expressions/playground/EmbeddedPlayground.cjs.map +1 -0
  290. package/dist/expressions/playground/EmbeddedPlayground.d.ts +30 -0
  291. package/dist/expressions/playground/EmbeddedPlayground.d.ts.map +1 -0
  292. package/dist/expressions/playground/EmbeddedPlayground.js +40 -0
  293. package/dist/expressions/playground/EmbeddedPlayground.js.map +1 -0
  294. package/dist/expressions/playground/ExpressionPlayground.cjs +6 -6
  295. package/dist/expressions/playground/ExpressionPlayground.cjs.map +1 -1
  296. package/dist/expressions/playground/ExpressionPlayground.d.ts +10 -3
  297. package/dist/expressions/playground/ExpressionPlayground.d.ts.map +1 -1
  298. package/dist/expressions/playground/ExpressionPlayground.js +6 -6
  299. package/dist/expressions/playground/ExpressionPlayground.js.map +1 -1
  300. package/dist/expressions/playground/LazyEmbeddedPlayground.cjs +22 -0
  301. package/dist/expressions/playground/LazyEmbeddedPlayground.cjs.map +1 -0
  302. package/dist/expressions/playground/LazyEmbeddedPlayground.d.ts +4 -0
  303. package/dist/expressions/playground/LazyEmbeddedPlayground.d.ts.map +1 -0
  304. package/dist/expressions/playground/LazyEmbeddedPlayground.js +22 -0
  305. package/dist/expressions/playground/LazyEmbeddedPlayground.js.map +1 -0
  306. package/dist/expressions/playground/api.cjs.map +1 -1
  307. package/dist/expressions/playground/api.d.ts +10 -0
  308. package/dist/expressions/playground/api.d.ts.map +1 -1
  309. package/dist/expressions/playground/api.js.map +1 -1
  310. package/dist/expressions/playground/hostEvaluation.cjs +67 -0
  311. package/dist/expressions/playground/hostEvaluation.cjs.map +1 -0
  312. package/dist/expressions/playground/hostEvaluation.d.ts +39 -0
  313. package/dist/expressions/playground/hostEvaluation.d.ts.map +1 -0
  314. package/dist/expressions/playground/hostEvaluation.js +63 -0
  315. package/dist/expressions/playground/hostEvaluation.js.map +1 -0
  316. package/dist/expressions/playground/panels/GraphPanel.cjs +8 -3
  317. package/dist/expressions/playground/panels/GraphPanel.cjs.map +1 -1
  318. package/dist/expressions/playground/panels/GraphPanel.d.ts +2 -1
  319. package/dist/expressions/playground/panels/GraphPanel.d.ts.map +1 -1
  320. package/dist/expressions/playground/panels/GraphPanel.js +8 -3
  321. package/dist/expressions/playground/panels/GraphPanel.js.map +1 -1
  322. package/dist/expressions/playground/panels/graphNodes.cjs +6 -2
  323. package/dist/expressions/playground/panels/graphNodes.cjs.map +1 -1
  324. package/dist/expressions/playground/panels/graphNodes.d.ts +6 -2
  325. package/dist/expressions/playground/panels/graphNodes.d.ts.map +1 -1
  326. package/dist/expressions/playground/panels/graphNodes.js +6 -2
  327. package/dist/expressions/playground/panels/graphNodes.js.map +1 -1
  328. package/dist/expressions/playground.d.ts +1 -1
  329. package/dist/expressions/playground.d.ts.map +1 -1
  330. package/dist/hooks/use-element-height.cjs +26 -0
  331. package/dist/hooks/use-element-height.cjs.map +1 -0
  332. package/dist/hooks/use-element-height.d.ts +10 -0
  333. package/dist/hooks/use-element-height.d.ts.map +1 -0
  334. package/dist/hooks/use-element-height.js +26 -0
  335. package/dist/hooks/use-element-height.js.map +1 -0
  336. package/dist/icons/components/UiGlobeShare.cjs +33 -0
  337. package/dist/icons/components/UiGlobeShare.cjs.map +1 -0
  338. package/dist/icons/components/UiGlobeShare.d.ts +9 -0
  339. package/dist/icons/components/UiGlobeShare.d.ts.map +1 -0
  340. package/dist/icons/components/UiGlobeShare.js +31 -0
  341. package/dist/icons/components/UiGlobeShare.js.map +1 -0
  342. package/dist/icons/components/UiKubernetesLink.cjs +38 -0
  343. package/dist/icons/components/UiKubernetesLink.cjs.map +1 -0
  344. package/dist/icons/components/UiKubernetesLink.d.ts +9 -0
  345. package/dist/icons/components/UiKubernetesLink.d.ts.map +1 -0
  346. package/dist/icons/components/UiKubernetesLink.js +36 -0
  347. package/dist/icons/components/UiKubernetesLink.js.map +1 -0
  348. package/dist/icons/components/UiLogoAws.cjs +29 -0
  349. package/dist/icons/components/UiLogoAws.cjs.map +1 -0
  350. package/dist/icons/components/UiLogoAws.d.ts +9 -0
  351. package/dist/icons/components/UiLogoAws.d.ts.map +1 -0
  352. package/dist/icons/components/UiLogoAws.js +27 -0
  353. package/dist/icons/components/UiLogoAws.js.map +1 -0
  354. package/dist/icons/components/UiLogoAzure.cjs +29 -0
  355. package/dist/icons/components/UiLogoAzure.cjs.map +1 -0
  356. package/dist/icons/components/UiLogoAzure.d.ts +9 -0
  357. package/dist/icons/components/UiLogoAzure.d.ts.map +1 -0
  358. package/dist/icons/components/UiLogoAzure.js +27 -0
  359. package/dist/icons/components/UiLogoAzure.js.map +1 -0
  360. package/dist/icons/components/UiLogoAzureDevops.cjs +29 -0
  361. package/dist/icons/components/UiLogoAzureDevops.cjs.map +1 -0
  362. package/dist/icons/components/UiLogoAzureDevops.d.ts +9 -0
  363. package/dist/icons/components/UiLogoAzureDevops.d.ts.map +1 -0
  364. package/dist/icons/components/UiLogoAzureDevops.js +27 -0
  365. package/dist/icons/components/UiLogoAzureDevops.js.map +1 -0
  366. package/dist/icons/components/UiLogoGit.cjs +29 -0
  367. package/dist/icons/components/UiLogoGit.cjs.map +1 -0
  368. package/dist/icons/components/UiLogoGit.d.ts +9 -0
  369. package/dist/icons/components/UiLogoGit.d.ts.map +1 -0
  370. package/dist/icons/components/UiLogoGit.js +27 -0
  371. package/dist/icons/components/UiLogoGit.js.map +1 -0
  372. package/dist/icons/components/UiLogoGithub.cjs +29 -0
  373. package/dist/icons/components/UiLogoGithub.cjs.map +1 -0
  374. package/dist/icons/components/UiLogoGithub.d.ts +9 -0
  375. package/dist/icons/components/UiLogoGithub.d.ts.map +1 -0
  376. package/dist/icons/components/UiLogoGithub.js +27 -0
  377. package/dist/icons/components/UiLogoGithub.js.map +1 -0
  378. package/dist/icons/components/UiLogoJava.cjs +29 -0
  379. package/dist/icons/components/UiLogoJava.cjs.map +1 -0
  380. package/dist/icons/components/UiLogoJava.d.ts +9 -0
  381. package/dist/icons/components/UiLogoJava.d.ts.map +1 -0
  382. package/dist/icons/components/UiLogoJava.js +27 -0
  383. package/dist/icons/components/UiLogoJava.js.map +1 -0
  384. package/dist/icons/components/UiLogoKubernetes.cjs +29 -0
  385. package/dist/icons/components/UiLogoKubernetes.cjs.map +1 -0
  386. package/dist/icons/components/UiLogoKubernetes.d.ts +9 -0
  387. package/dist/icons/components/UiLogoKubernetes.d.ts.map +1 -0
  388. package/dist/icons/components/UiLogoKubernetes.js +27 -0
  389. package/dist/icons/components/UiLogoKubernetes.js.map +1 -0
  390. package/dist/icons/components/UiLogoMssql.cjs +29 -0
  391. package/dist/icons/components/UiLogoMssql.cjs.map +1 -0
  392. package/dist/icons/components/UiLogoMssql.d.ts +9 -0
  393. package/dist/icons/components/UiLogoMssql.d.ts.map +1 -0
  394. package/dist/icons/components/UiLogoMssql.js +27 -0
  395. package/dist/icons/components/UiLogoMssql.js.map +1 -0
  396. package/dist/icons/components/UiLogoOpenjdk.cjs +29 -0
  397. package/dist/icons/components/UiLogoOpenjdk.cjs.map +1 -0
  398. package/dist/icons/components/UiLogoOpenjdk.d.ts +9 -0
  399. package/dist/icons/components/UiLogoOpenjdk.d.ts.map +1 -0
  400. package/dist/icons/components/UiLogoOpenjdk.js +27 -0
  401. package/dist/icons/components/UiLogoOpenjdk.js.map +1 -0
  402. package/dist/icons/components/UiLogoOpensearch.cjs +29 -0
  403. package/dist/icons/components/UiLogoOpensearch.cjs.map +1 -0
  404. package/dist/icons/components/UiLogoOpensearch.d.ts +9 -0
  405. package/dist/icons/components/UiLogoOpensearch.d.ts.map +1 -0
  406. package/dist/icons/components/UiLogoOpensearch.js +27 -0
  407. package/dist/icons/components/UiLogoOpensearch.js.map +1 -0
  408. package/dist/icons/components/UiLogoOpentelemetry.cjs +29 -0
  409. package/dist/icons/components/UiLogoOpentelemetry.cjs.map +1 -0
  410. package/dist/icons/components/UiLogoOpentelemetry.d.ts +9 -0
  411. package/dist/icons/components/UiLogoOpentelemetry.d.ts.map +1 -0
  412. package/dist/icons/components/UiLogoOpentelemetry.js +27 -0
  413. package/dist/icons/components/UiLogoOpentelemetry.js.map +1 -0
  414. package/dist/icons/components/UiLogoPostgres.cjs +29 -0
  415. package/dist/icons/components/UiLogoPostgres.cjs.map +1 -0
  416. package/dist/icons/components/UiLogoPostgres.d.ts +9 -0
  417. package/dist/icons/components/UiLogoPostgres.d.ts.map +1 -0
  418. package/dist/icons/components/UiLogoPostgres.js +27 -0
  419. package/dist/icons/components/UiLogoPostgres.js.map +1 -0
  420. package/dist/icons/components/UiLogoSqlite.cjs +29 -0
  421. package/dist/icons/components/UiLogoSqlite.cjs.map +1 -0
  422. package/dist/icons/components/UiLogoSqlite.d.ts +9 -0
  423. package/dist/icons/components/UiLogoSqlite.d.ts.map +1 -0
  424. package/dist/icons/components/UiLogoSqlite.js +27 -0
  425. package/dist/icons/components/UiLogoSqlite.js.map +1 -0
  426. package/dist/icons/components/UiWebLink.cjs +40 -0
  427. package/dist/icons/components/UiWebLink.cjs.map +1 -0
  428. package/dist/icons/components/UiWebLink.d.ts +9 -0
  429. package/dist/icons/components/UiWebLink.d.ts.map +1 -0
  430. package/dist/icons/components/UiWebLink.js +38 -0
  431. package/dist/icons/components/UiWebLink.js.map +1 -0
  432. package/dist/icons/index.d.ts +16 -0
  433. package/dist/icons/index.d.ts.map +1 -1
  434. package/dist/icons/registry.cjs +32 -0
  435. package/dist/icons/registry.cjs.map +1 -1
  436. package/dist/icons/registry.d.ts.map +1 -1
  437. package/dist/icons/registry.js +32 -0
  438. package/dist/icons/registry.js.map +1 -1
  439. package/dist/icons.cjs +32 -0
  440. package/dist/icons.js +17 -1
  441. package/dist/index.cjs +38 -5
  442. package/dist/index.js +23 -7
  443. package/dist/jvm/classes/PatchedClassList.cjs +11 -2
  444. package/dist/jvm/classes/PatchedClassList.cjs.map +1 -1
  445. package/dist/jvm/classes/PatchedClassList.d.ts.map +1 -1
  446. package/dist/jvm/classes/PatchedClassList.js +11 -2
  447. package/dist/jvm/classes/PatchedClassList.js.map +1 -1
  448. package/dist/jvm/fixtures/fake-client.d.ts.map +1 -1
  449. package/dist/jvm/model/patches.cjs +4 -2
  450. package/dist/jvm/model/patches.cjs.map +1 -1
  451. package/dist/jvm/model/patches.d.ts +3 -1
  452. package/dist/jvm/model/patches.d.ts.map +1 -1
  453. package/dist/jvm/model/patches.js +4 -2
  454. package/dist/jvm/model/patches.js.map +1 -1
  455. package/dist/jvm/protocol/client.d.ts +7 -2
  456. package/dist/jvm/protocol/client.d.ts.map +1 -1
  457. package/dist/jvm/protocol/operation-client.cjs +30 -11
  458. package/dist/jvm/protocol/operation-client.cjs.map +1 -1
  459. package/dist/jvm/protocol/operation-client.d.ts.map +1 -1
  460. package/dist/jvm/protocol/operation-client.js +30 -11
  461. package/dist/jvm/protocol/operation-client.js.map +1 -1
  462. package/dist/jvm/protocol/query-keys.cjs +1 -1
  463. package/dist/jvm/protocol/query-keys.cjs.map +1 -1
  464. package/dist/jvm/protocol/query-keys.d.ts +1 -1
  465. package/dist/jvm/protocol/query-keys.d.ts.map +1 -1
  466. package/dist/jvm/protocol/query-keys.js +1 -1
  467. package/dist/jvm/protocol/query-keys.js.map +1 -1
  468. package/dist/jvm/protocol/status.cjs +38 -0
  469. package/dist/jvm/protocol/status.cjs.map +1 -0
  470. package/dist/jvm/protocol/status.d.ts +13 -0
  471. package/dist/jvm/protocol/status.d.ts.map +1 -0
  472. package/dist/jvm/protocol/status.js +38 -0
  473. package/dist/jvm/protocol/status.js.map +1 -0
  474. package/dist/jvm/protocol/types.d.ts +16 -4
  475. package/dist/jvm/protocol/types.d.ts.map +1 -1
  476. package/dist/jvm/runtime/GcSummary.cjs +7 -1
  477. package/dist/jvm/runtime/GcSummary.cjs.map +1 -1
  478. package/dist/jvm/runtime/GcSummary.d.ts.map +1 -1
  479. package/dist/jvm/runtime/GcSummary.js +7 -1
  480. package/dist/jvm/runtime/GcSummary.js.map +1 -1
  481. package/dist/jvm/surfaces/ClassesSurface.cjs +11 -10
  482. package/dist/jvm/surfaces/ClassesSurface.cjs.map +1 -1
  483. package/dist/jvm/surfaces/ClassesSurface.d.ts.map +1 -1
  484. package/dist/jvm/surfaces/ClassesSurface.js +12 -11
  485. package/dist/jvm/surfaces/ClassesSurface.js.map +1 -1
  486. package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.cjs +11 -3
  487. package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.cjs.map +1 -1
  488. package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.d.ts +2 -0
  489. package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.d.ts.map +1 -1
  490. package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.js +11 -3
  491. package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.js.map +1 -1
  492. package/dist/jvm/surfaces/PatchesSurface.cjs +3 -8
  493. package/dist/jvm/surfaces/PatchesSurface.cjs.map +1 -1
  494. package/dist/jvm/surfaces/PatchesSurface.d.ts +2 -1
  495. package/dist/jvm/surfaces/PatchesSurface.d.ts.map +1 -1
  496. package/dist/jvm/surfaces/PatchesSurface.js +4 -9
  497. package/dist/jvm/surfaces/PatchesSurface.js.map +1 -1
  498. package/dist/jvm/surfaces/ThreadsSurface.cjs +7 -4
  499. package/dist/jvm/surfaces/ThreadsSurface.cjs.map +1 -1
  500. package/dist/jvm/surfaces/ThreadsSurface.d.ts +4 -1
  501. package/dist/jvm/surfaces/ThreadsSurface.d.ts.map +1 -1
  502. package/dist/jvm/surfaces/ThreadsSurface.js +7 -4
  503. package/dist/jvm/surfaces/ThreadsSurface.js.map +1 -1
  504. package/dist/jvm/surfaces/jvm-context.cjs +23 -4
  505. package/dist/jvm/surfaces/jvm-context.cjs.map +1 -1
  506. package/dist/jvm/surfaces/jvm-context.d.ts +7 -0
  507. package/dist/jvm/surfaces/jvm-context.d.ts.map +1 -1
  508. package/dist/jvm/surfaces/jvm-context.js +23 -5
  509. package/dist/jvm/surfaces/jvm-context.js.map +1 -1
  510. package/dist/jvm/surfaces/use-patch-actions.cjs +2 -2
  511. package/dist/jvm/surfaces/use-patch-actions.cjs.map +1 -1
  512. package/dist/jvm/surfaces/use-patch-actions.js +2 -2
  513. package/dist/jvm/surfaces/use-patch-actions.js.map +1 -1
  514. package/dist/jvm/threads/FoldedStackTrace.cjs +3 -2
  515. package/dist/jvm/threads/FoldedStackTrace.cjs.map +1 -1
  516. package/dist/jvm/threads/FoldedStackTrace.d.ts +4 -1
  517. package/dist/jvm/threads/FoldedStackTrace.d.ts.map +1 -1
  518. package/dist/jvm/threads/FoldedStackTrace.js +3 -2
  519. package/dist/jvm/threads/FoldedStackTrace.js.map +1 -1
  520. package/dist/jvm/threads/ThreadDetail.cjs +6 -2
  521. package/dist/jvm/threads/ThreadDetail.cjs.map +1 -1
  522. package/dist/jvm/threads/ThreadDetail.d.ts +4 -1
  523. package/dist/jvm/threads/ThreadDetail.d.ts.map +1 -1
  524. package/dist/jvm/threads/ThreadDetail.js +6 -2
  525. package/dist/jvm/threads/ThreadDetail.js.map +1 -1
  526. package/dist/jvm.cjs +3 -0
  527. package/dist/jvm.d.ts +2 -1
  528. package/dist/jvm.d.ts.map +1 -1
  529. package/dist/jvm.js +3 -2
  530. package/dist/layout/AppShell.cjs.map +1 -1
  531. package/dist/layout/AppShell.d.ts +16 -0
  532. package/dist/layout/AppShell.d.ts.map +1 -1
  533. package/dist/layout/AppShell.js.map +1 -1
  534. package/dist/layout/AppShell.nav.cjs +21 -2
  535. package/dist/layout/AppShell.nav.cjs.map +1 -1
  536. package/dist/layout/AppShell.nav.js +21 -2
  537. package/dist/layout/AppShell.nav.js.map +1 -1
  538. package/dist/layout/Workspace.cjs +66 -21
  539. package/dist/layout/Workspace.cjs.map +1 -1
  540. package/dist/layout/Workspace.d.ts +6 -1
  541. package/dist/layout/Workspace.d.ts.map +1 -1
  542. package/dist/layout/Workspace.js +66 -21
  543. package/dist/layout/Workspace.js.map +1 -1
  544. package/dist/layout/Workspace.model.cjs +20 -0
  545. package/dist/layout/Workspace.model.cjs.map +1 -1
  546. package/dist/layout/Workspace.model.d.ts +17 -0
  547. package/dist/layout/Workspace.model.d.ts.map +1 -1
  548. package/dist/layout/Workspace.model.js +20 -1
  549. package/dist/layout/Workspace.model.js.map +1 -1
  550. package/dist/layout/Workspace.regions.cjs +10 -6
  551. package/dist/layout/Workspace.regions.cjs.map +1 -1
  552. package/dist/layout/Workspace.regions.d.ts +4 -1
  553. package/dist/layout/Workspace.regions.d.ts.map +1 -1
  554. package/dist/layout/Workspace.regions.js +10 -6
  555. package/dist/layout/Workspace.regions.js.map +1 -1
  556. package/dist/lib/duration.cjs +20 -0
  557. package/dist/lib/duration.cjs.map +1 -1
  558. package/dist/lib/duration.d.ts +8 -0
  559. package/dist/lib/duration.d.ts.map +1 -1
  560. package/dist/lib/duration.js +19 -1
  561. package/dist/lib/duration.js.map +1 -1
  562. package/dist/monaco/MonacoEditor.cjs +34 -30
  563. package/dist/monaco/MonacoEditor.cjs.map +1 -1
  564. package/dist/monaco/MonacoEditor.d.ts.map +1 -1
  565. package/dist/monaco/MonacoEditor.js +34 -30
  566. package/dist/monaco/MonacoEditor.js.map +1 -1
  567. package/dist/overlay/ConfirmDialog.cjs +5 -2
  568. package/dist/overlay/ConfirmDialog.cjs.map +1 -1
  569. package/dist/overlay/ConfirmDialog.d.ts +14 -2
  570. package/dist/overlay/ConfirmDialog.d.ts.map +1 -1
  571. package/dist/overlay/ConfirmDialog.js +5 -2
  572. package/dist/overlay/ConfirmDialog.js.map +1 -1
  573. package/dist/profiles/cel/celEditor.cjs +94 -285
  574. package/dist/profiles/cel/celEditor.cjs.map +1 -1
  575. package/dist/profiles/cel/celEditor.d.ts +10 -15
  576. package/dist/profiles/cel/celEditor.d.ts.map +1 -1
  577. package/dist/profiles/cel/celEditor.js +97 -287
  578. package/dist/profiles/cel/celEditor.js.map +1 -1
  579. package/dist/profiles/cel/celExpression.cjs +1 -61
  580. package/dist/profiles/cel/celExpression.cjs.map +1 -1
  581. package/dist/profiles/cel/celExpression.d.ts +2 -38
  582. package/dist/profiles/cel/celExpression.d.ts.map +1 -1
  583. package/dist/profiles/cel/celExpression.js +2 -58
  584. package/dist/profiles/cel/celExpression.js.map +1 -1
  585. package/dist/profiles/cel/celPlayground.cjs +122 -0
  586. package/dist/profiles/cel/celPlayground.cjs.map +1 -0
  587. package/dist/profiles/cel/celPlayground.d.ts +43 -0
  588. package/dist/profiles/cel/celPlayground.d.ts.map +1 -0
  589. package/dist/profiles/cel/celPlayground.js +118 -0
  590. package/dist/profiles/cel/celPlayground.js.map +1 -0
  591. package/dist/profiles/connections/connectionBrowserModel.cjs +2 -2
  592. package/dist/profiles/connections/connectionBrowserModel.cjs.map +1 -1
  593. package/dist/profiles/connections/connectionBrowserModel.d.ts +5 -1
  594. package/dist/profiles/connections/connectionBrowserModel.d.ts.map +1 -1
  595. package/dist/profiles/connections/connectionBrowserModel.js +2 -2
  596. package/dist/profiles/connections/connectionBrowserModel.js.map +1 -1
  597. package/dist/profiles/connections/connectionQueryWorkspace.cjs +2 -1
  598. package/dist/profiles/connections/connectionQueryWorkspace.cjs.map +1 -1
  599. package/dist/profiles/connections/connectionQueryWorkspace.d.ts +3 -1
  600. package/dist/profiles/connections/connectionQueryWorkspace.d.ts.map +1 -1
  601. package/dist/profiles/connections/connectionQueryWorkspace.js +2 -1
  602. package/dist/profiles/connections/connectionQueryWorkspace.js.map +1 -1
  603. package/dist/profiles/editor/UnwrapPreviewList.cjs +90 -0
  604. package/dist/profiles/editor/UnwrapPreviewList.cjs.map +1 -0
  605. package/dist/profiles/editor/UnwrapPreviewList.d.ts +7 -0
  606. package/dist/profiles/editor/UnwrapPreviewList.d.ts.map +1 -0
  607. package/dist/profiles/editor/UnwrapPreviewList.js +90 -0
  608. package/dist/profiles/editor/UnwrapPreviewList.js.map +1 -0
  609. package/dist/profiles/editor/profileCanonicalQuery.cjs +6 -58
  610. package/dist/profiles/editor/profileCanonicalQuery.cjs.map +1 -1
  611. package/dist/profiles/editor/profileCanonicalQuery.d.ts +1 -1
  612. package/dist/profiles/editor/profileCanonicalQuery.d.ts.map +1 -1
  613. package/dist/profiles/editor/profileCanonicalQuery.js +4 -56
  614. package/dist/profiles/editor/profileCanonicalQuery.js.map +1 -1
  615. package/dist/profiles/editor/profileCanonicalTranslate.cjs +48 -0
  616. package/dist/profiles/editor/profileCanonicalTranslate.cjs.map +1 -0
  617. package/dist/profiles/editor/profileCanonicalTranslate.d.ts +24 -0
  618. package/dist/profiles/editor/profileCanonicalTranslate.d.ts.map +1 -0
  619. package/dist/profiles/editor/profileCanonicalTranslate.js +47 -0
  620. package/dist/profiles/editor/profileCanonicalTranslate.js.map +1 -0
  621. package/dist/profiles/editor/profileEditor.cjs +126 -38
  622. package/dist/profiles/editor/profileEditor.cjs.map +1 -1
  623. package/dist/profiles/editor/profileEditor.d.ts +5 -1
  624. package/dist/profiles/editor/profileEditor.d.ts.map +1 -1
  625. package/dist/profiles/editor/profileEditor.js +127 -39
  626. package/dist/profiles/editor/profileEditor.js.map +1 -1
  627. package/dist/profiles/editor/profileEditorModel.cjs +65 -19
  628. package/dist/profiles/editor/profileEditorModel.cjs.map +1 -1
  629. package/dist/profiles/editor/profileEditorModel.d.ts +24 -8
  630. package/dist/profiles/editor/profileEditorModel.d.ts.map +1 -1
  631. package/dist/profiles/editor/profileEditorModel.js +64 -18
  632. package/dist/profiles/editor/profileEditorModel.js.map +1 -1
  633. package/dist/profiles/editor/profileEditorPreview.cjs +129 -29
  634. package/dist/profiles/editor/profileEditorPreview.cjs.map +1 -1
  635. package/dist/profiles/editor/profileEditorPreview.d.ts +18 -5
  636. package/dist/profiles/editor/profileEditorPreview.d.ts.map +1 -1
  637. package/dist/profiles/editor/profileEditorPreview.js +129 -29
  638. package/dist/profiles/editor/profileEditorPreview.js.map +1 -1
  639. package/dist/profiles/editor/profileEditorSections.cjs +137 -88
  640. package/dist/profiles/editor/profileEditorSections.cjs.map +1 -1
  641. package/dist/profiles/editor/profileEditorSections.d.ts +18 -2
  642. package/dist/profiles/editor/profileEditorSections.d.ts.map +1 -1
  643. package/dist/profiles/editor/profileEditorSections.js +138 -90
  644. package/dist/profiles/editor/profileEditorSections.js.map +1 -1
  645. package/dist/profiles/editor/profileMappingPreview.cjs +22 -6
  646. package/dist/profiles/editor/profileMappingPreview.cjs.map +1 -1
  647. package/dist/profiles/editor/profileMappingPreview.d.ts +17 -1
  648. package/dist/profiles/editor/profileMappingPreview.d.ts.map +1 -1
  649. package/dist/profiles/editor/profileMappingPreview.js +23 -7
  650. package/dist/profiles/editor/profileMappingPreview.js.map +1 -1
  651. package/dist/profiles/editor/profileSaveAsDialog.cjs +93 -0
  652. package/dist/profiles/editor/profileSaveAsDialog.cjs.map +1 -0
  653. package/dist/profiles/editor/profileSaveAsDialog.d.ts +17 -0
  654. package/dist/profiles/editor/profileSaveAsDialog.d.ts.map +1 -0
  655. package/dist/profiles/editor/profileSaveAsDialog.js +93 -0
  656. package/dist/profiles/editor/profileSaveAsDialog.js.map +1 -0
  657. package/dist/profiles/editor/profileSourceExtensions.cjs +71 -0
  658. package/dist/profiles/editor/profileSourceExtensions.cjs.map +1 -0
  659. package/dist/profiles/editor/profileSourceExtensions.d.ts +26 -0
  660. package/dist/profiles/editor/profileSourceExtensions.d.ts.map +1 -0
  661. package/dist/profiles/editor/profileSourceExtensions.js +70 -0
  662. package/dist/profiles/editor/profileSourceExtensions.js.map +1 -0
  663. package/dist/profiles/editor/samplePaths.cjs +54 -0
  664. package/dist/profiles/editor/samplePaths.cjs.map +1 -0
  665. package/dist/profiles/editor/samplePaths.d.ts +27 -0
  666. package/dist/profiles/editor/samplePaths.d.ts.map +1 -0
  667. package/dist/profiles/editor/samplePaths.js +53 -0
  668. package/dist/profiles/editor/samplePaths.js.map +1 -0
  669. package/dist/profiles/editor/testSchema.d.ts.map +1 -1
  670. package/dist/profiles/editor/useUnwrapPreviews.cjs +60 -0
  671. package/dist/profiles/editor/useUnwrapPreviews.cjs.map +1 -0
  672. package/dist/profiles/editor/useUnwrapPreviews.d.ts +38 -0
  673. package/dist/profiles/editor/useUnwrapPreviews.d.ts.map +1 -0
  674. package/dist/profiles/editor/useUnwrapPreviews.js +60 -0
  675. package/dist/profiles/editor/useUnwrapPreviews.js.map +1 -0
  676. package/dist/profiles/elasticsearch/esQueryBuilder.cjs +10 -1
  677. package/dist/profiles/elasticsearch/esQueryBuilder.cjs.map +1 -1
  678. package/dist/profiles/elasticsearch/esQueryBuilder.d.ts.map +1 -1
  679. package/dist/profiles/elasticsearch/esQueryBuilder.js +11 -2
  680. package/dist/profiles/elasticsearch/esQueryBuilder.js.map +1 -1
  681. package/dist/profiles/elasticsearch/esQueryBuilderForm.cjs +38 -0
  682. package/dist/profiles/elasticsearch/esQueryBuilderForm.cjs.map +1 -1
  683. package/dist/profiles/elasticsearch/esQueryBuilderForm.d.ts +17 -0
  684. package/dist/profiles/elasticsearch/esQueryBuilderForm.d.ts.map +1 -1
  685. package/dist/profiles/elasticsearch/esQueryBuilderForm.js +37 -1
  686. package/dist/profiles/elasticsearch/esQueryBuilderForm.js.map +1 -1
  687. package/dist/profiles/elasticsearch/esQueryConditionRow.cjs +4 -3
  688. package/dist/profiles/elasticsearch/esQueryConditionRow.cjs.map +1 -1
  689. package/dist/profiles/elasticsearch/esQueryConditionRow.d.ts.map +1 -1
  690. package/dist/profiles/elasticsearch/esQueryConditionRow.js +4 -3
  691. package/dist/profiles/elasticsearch/esQueryConditionRow.js.map +1 -1
  692. package/dist/profiles/elasticsearch/esQueryOperators.cjs.map +1 -1
  693. package/dist/profiles/elasticsearch/esQueryOperators.d.ts +8 -0
  694. package/dist/profiles/elasticsearch/esQueryOperators.d.ts.map +1 -1
  695. package/dist/profiles/elasticsearch/esQueryOperators.js.map +1 -1
  696. package/dist/profiles/fields/profileFieldControls.cjs +3 -2
  697. package/dist/profiles/fields/profileFieldControls.cjs.map +1 -1
  698. package/dist/profiles/fields/profileFieldControls.d.ts +3 -1
  699. package/dist/profiles/fields/profileFieldControls.d.ts.map +1 -1
  700. package/dist/profiles/fields/profileFieldControls.js +3 -2
  701. package/dist/profiles/fields/profileFieldControls.js.map +1 -1
  702. package/dist/profiles/fields/profileFieldEditor.cjs +98 -185
  703. package/dist/profiles/fields/profileFieldEditor.cjs.map +1 -1
  704. package/dist/profiles/fields/profileFieldEditor.d.ts +11 -3
  705. package/dist/profiles/fields/profileFieldEditor.d.ts.map +1 -1
  706. package/dist/profiles/fields/profileFieldEditor.js +99 -186
  707. package/dist/profiles/fields/profileFieldEditor.js.map +1 -1
  708. package/dist/profiles/fields/profileFieldFilterEditor.cjs +115 -81
  709. package/dist/profiles/fields/profileFieldFilterEditor.cjs.map +1 -1
  710. package/dist/profiles/fields/profileFieldFilterEditor.d.ts.map +1 -1
  711. package/dist/profiles/fields/profileFieldFilterEditor.js +116 -82
  712. package/dist/profiles/fields/profileFieldFilterEditor.js.map +1 -1
  713. package/dist/profiles/fields/profileFieldIcons.cjs +2 -0
  714. package/dist/profiles/fields/profileFieldIcons.cjs.map +1 -1
  715. package/dist/profiles/fields/profileFieldIcons.d.ts.map +1 -1
  716. package/dist/profiles/fields/profileFieldIcons.js +2 -0
  717. package/dist/profiles/fields/profileFieldIcons.js.map +1 -1
  718. package/dist/profiles/fields/profileFieldList.cjs +23 -1
  719. package/dist/profiles/fields/profileFieldList.cjs.map +1 -1
  720. package/dist/profiles/fields/profileFieldList.d.ts.map +1 -1
  721. package/dist/profiles/fields/profileFieldList.js +23 -1
  722. package/dist/profiles/fields/profileFieldList.js.map +1 -1
  723. package/dist/profiles/fields/profileFieldPreview.cjs +111 -0
  724. package/dist/profiles/fields/profileFieldPreview.cjs.map +1 -0
  725. package/dist/profiles/fields/profileFieldPreview.d.ts +25 -0
  726. package/dist/profiles/fields/profileFieldPreview.d.ts.map +1 -0
  727. package/dist/profiles/fields/profileFieldPreview.js +110 -0
  728. package/dist/profiles/fields/profileFieldPreview.js.map +1 -0
  729. package/dist/profiles/fields/profileFieldSample.cjs +182 -0
  730. package/dist/profiles/fields/profileFieldSample.cjs.map +1 -0
  731. package/dist/profiles/fields/profileFieldSample.d.ts +35 -0
  732. package/dist/profiles/fields/profileFieldSample.d.ts.map +1 -0
  733. package/dist/profiles/fields/profileFieldSample.js +180 -0
  734. package/dist/profiles/fields/profileFieldSample.js.map +1 -0
  735. package/dist/profiles/fields/profileFieldTypeField.cjs +104 -0
  736. package/dist/profiles/fields/profileFieldTypeField.cjs.map +1 -0
  737. package/dist/profiles/fields/profileFieldTypeField.d.ts +17 -0
  738. package/dist/profiles/fields/profileFieldTypeField.d.ts.map +1 -0
  739. package/dist/profiles/fields/profileFieldTypeField.js +104 -0
  740. package/dist/profiles/fields/profileFieldTypeField.js.map +1 -0
  741. package/dist/profiles/fields/profileFieldTypes.cjs +1 -0
  742. package/dist/profiles/fields/profileFieldTypes.cjs.map +1 -1
  743. package/dist/profiles/fields/profileFieldTypes.d.ts +1 -1
  744. package/dist/profiles/fields/profileFieldTypes.d.ts.map +1 -1
  745. package/dist/profiles/fields/profileFieldTypes.js +1 -0
  746. package/dist/profiles/fields/profileFieldTypes.js.map +1 -1
  747. package/dist/profiles/fields/profileFieldValueEditor.cjs +298 -0
  748. package/dist/profiles/fields/profileFieldValueEditor.cjs.map +1 -0
  749. package/dist/profiles/fields/profileFieldValueEditor.d.ts +18 -0
  750. package/dist/profiles/fields/profileFieldValueEditor.d.ts.map +1 -0
  751. package/dist/profiles/fields/profileFieldValueEditor.js +298 -0
  752. package/dist/profiles/fields/profileFieldValueEditor.js.map +1 -0
  753. package/dist/profiles/fields/profileFieldValueMode.cjs +61 -0
  754. package/dist/profiles/fields/profileFieldValueMode.cjs.map +1 -0
  755. package/dist/profiles/fields/profileFieldValueMode.d.ts +34 -0
  756. package/dist/profiles/fields/profileFieldValueMode.d.ts.map +1 -0
  757. package/dist/profiles/fields/profileFieldValueMode.js +59 -0
  758. package/dist/profiles/fields/profileFieldValueMode.js.map +1 -0
  759. package/dist/profiles/processor/processorConfig.cjs +79 -79
  760. package/dist/profiles/processor/processorConfig.cjs.map +1 -1
  761. package/dist/profiles/processor/processorConfig.d.ts +30 -3
  762. package/dist/profiles/processor/processorConfig.d.ts.map +1 -1
  763. package/dist/profiles/processor/processorConfig.js +78 -78
  764. package/dist/profiles/processor/processorConfig.js.map +1 -1
  765. package/dist/profiles/processor/processorPipeline.cjs +24 -8
  766. package/dist/profiles/processor/processorPipeline.cjs.map +1 -1
  767. package/dist/profiles/processor/processorPipeline.d.ts +3 -3
  768. package/dist/profiles/processor/processorPipeline.d.ts.map +1 -1
  769. package/dist/profiles/processor/processorPipeline.js +25 -9
  770. package/dist/profiles/processor/processorPipeline.js.map +1 -1
  771. package/dist/profiles/processor/processorPipelineEditor.cjs +38 -94
  772. package/dist/profiles/processor/processorPipelineEditor.cjs.map +1 -1
  773. package/dist/profiles/processor/processorPipelineEditor.d.ts +3 -3
  774. package/dist/profiles/processor/processorPipelineEditor.d.ts.map +1 -1
  775. package/dist/profiles/processor/processorPipelineEditor.js +39 -95
  776. package/dist/profiles/processor/processorPipelineEditor.js.map +1 -1
  777. package/dist/profiles/processor/processorPipelineExtension.cjs +3 -2
  778. package/dist/profiles/processor/processorPipelineExtension.cjs.map +1 -1
  779. package/dist/profiles/processor/processorPipelineExtension.d.ts.map +1 -1
  780. package/dist/profiles/processor/processorPipelineExtension.js +3 -2
  781. package/dist/profiles/processor/processorPipelineExtension.js.map +1 -1
  782. package/dist/profiles/query/profileSampleFilterLookup.cjs.map +1 -1
  783. package/dist/profiles/query/profileSampleFilterLookup.d.ts +6 -3
  784. package/dist/profiles/query/profileSampleFilterLookup.d.ts.map +1 -1
  785. package/dist/profiles/query/profileSampleFilterLookup.js.map +1 -1
  786. package/dist/profiles/wizard/profileWizardModel.cjs +10 -1
  787. package/dist/profiles/wizard/profileWizardModel.cjs.map +1 -1
  788. package/dist/profiles/wizard/profileWizardModel.d.ts +6 -0
  789. package/dist/profiles/wizard/profileWizardModel.d.ts.map +1 -1
  790. package/dist/profiles/wizard/profileWizardModel.js +10 -1
  791. package/dist/profiles/wizard/profileWizardModel.js.map +1 -1
  792. package/dist/profiles/wizard/profileWizardQueryStep.cjs +10 -22
  793. package/dist/profiles/wizard/profileWizardQueryStep.cjs.map +1 -1
  794. package/dist/profiles/wizard/profileWizardQueryStep.d.ts +8 -1
  795. package/dist/profiles/wizard/profileWizardQueryStep.d.ts.map +1 -1
  796. package/dist/profiles/wizard/profileWizardQueryStep.js +11 -23
  797. package/dist/profiles/wizard/profileWizardQueryStep.js.map +1 -1
  798. package/dist/profiles/wizard/useProfileInspection.cjs +39 -0
  799. package/dist/profiles/wizard/useProfileInspection.cjs.map +1 -0
  800. package/dist/profiles/wizard/useProfileInspection.d.ts +21 -0
  801. package/dist/profiles/wizard/useProfileInspection.d.ts.map +1 -0
  802. package/dist/profiles/wizard/useProfileInspection.js +39 -0
  803. package/dist/profiles/wizard/useProfileInspection.js.map +1 -0
  804. package/dist/profiles.cjs +9 -11
  805. package/dist/profiles.js +8 -8
  806. package/dist/rpc/EntityExplorerApp.cjs +7 -3
  807. package/dist/rpc/EntityExplorerApp.cjs.map +1 -1
  808. package/dist/rpc/EntityExplorerApp.d.ts +16 -1
  809. package/dist/rpc/EntityExplorerApp.d.ts.map +1 -1
  810. package/dist/rpc/EntityExplorerApp.js +7 -3
  811. package/dist/rpc/EntityExplorerApp.js.map +1 -1
  812. package/dist/rpc/InlineError.cjs +30 -10
  813. package/dist/rpc/InlineError.cjs.map +1 -1
  814. package/dist/rpc/InlineError.d.ts +10 -1
  815. package/dist/rpc/InlineError.d.ts.map +1 -1
  816. package/dist/rpc/InlineError.js +30 -10
  817. package/dist/rpc/InlineError.js.map +1 -1
  818. package/dist/rpc/SchemaActionForm.cjs +9 -6
  819. package/dist/rpc/SchemaActionForm.cjs.map +1 -1
  820. package/dist/rpc/SchemaActionForm.d.ts.map +1 -1
  821. package/dist/rpc/SchemaActionForm.js +9 -6
  822. package/dist/rpc/SchemaActionForm.js.map +1 -1
  823. package/dist/rpc/SessionHeader.cjs +117 -111
  824. package/dist/rpc/SessionHeader.cjs.map +1 -1
  825. package/dist/rpc/SessionHeader.d.ts +3 -1
  826. package/dist/rpc/SessionHeader.d.ts.map +1 -1
  827. package/dist/rpc/SessionHeader.js +117 -111
  828. package/dist/rpc/SessionHeader.js.map +1 -1
  829. package/dist/rpc/formMetadata.cjs +2 -6
  830. package/dist/rpc/formMetadata.cjs.map +1 -1
  831. package/dist/rpc/formMetadata.d.ts.map +1 -1
  832. package/dist/rpc/formMetadata.js +1 -5
  833. package/dist/rpc/formMetadata.js.map +1 -1
  834. package/dist/rpc/surfaceNav.cjs +5 -0
  835. package/dist/rpc/surfaceNav.cjs.map +1 -1
  836. package/dist/rpc/surfaceNav.d.ts.map +1 -1
  837. package/dist/rpc/surfaceNav.js +5 -0
  838. package/dist/rpc/surfaceNav.js.map +1 -1
  839. package/dist/runtime/barrels.json +8944 -8877
  840. package/dist/runtime/importmap.json +2168 -2129
  841. package/dist/styles.css +1 -1
  842. package/package.json +1 -1
  843. package/dist/data/ai/runtime-profiles/ResolutionInspector.cjs +0 -91
  844. package/dist/data/ai/runtime-profiles/ResolutionInspector.cjs.map +0 -1
  845. package/dist/data/ai/runtime-profiles/ResolutionInspector.d.ts +0 -7
  846. package/dist/data/ai/runtime-profiles/ResolutionInspector.d.ts.map +0 -1
  847. package/dist/data/ai/runtime-profiles/ResolutionInspector.js +0 -91
  848. package/dist/data/ai/runtime-profiles/ResolutionInspector.js.map +0 -1
  849. package/dist/profiles/cel/celEditorResults.cjs +0 -158
  850. package/dist/profiles/cel/celEditorResults.cjs.map +0 -1
  851. package/dist/profiles/cel/celEditorResults.d.ts +0 -37
  852. package/dist/profiles/cel/celEditorResults.d.ts.map +0 -1
  853. package/dist/profiles/cel/celEditorResults.js +0 -156
  854. package/dist/profiles/cel/celEditorResults.js.map +0 -1
package/dist/data.js CHANGED
@@ -309,11 +309,25 @@ import { UiScroll, UiScrollFilled } from "./icons/components/UiScroll.js";
309
309
  import { UiPalette, UiPaletteFilled } from "./icons/components/UiPalette.js";
310
310
  import { UiAtom, UiAtomFilled } from "./icons/components/UiAtom.js";
311
311
  import { UiPencilSimpleLine, UiPencilSimpleLineFilled } from "./icons/components/UiPencilSimpleLine.js";
312
+ import { UiLogoMssql } from "./icons/components/UiLogoMssql.js";
313
+ import { UiLogoSqlite } from "./icons/components/UiLogoSqlite.js";
314
+ import { UiLogoPostgres } from "./icons/components/UiLogoPostgres.js";
315
+ import { UiLogoJava } from "./icons/components/UiLogoJava.js";
316
+ import { UiLogoOpenjdk } from "./icons/components/UiLogoOpenjdk.js";
317
+ import { UiLogoOpensearch } from "./icons/components/UiLogoOpensearch.js";
318
+ import { UiLogoOpentelemetry } from "./icons/components/UiLogoOpentelemetry.js";
319
+ import { UiGlobeShare } from "./icons/components/UiGlobeShare.js";
312
320
  import { UiLogoOpenai } from "./icons/components/UiLogoOpenai.js";
313
321
  import { UiLogoAnthropic } from "./icons/components/UiLogoAnthropic.js";
314
322
  import { UiLogoClaude } from "./icons/components/UiLogoClaude.js";
315
323
  import { UiLogoGemini } from "./icons/components/UiLogoGemini.js";
316
324
  import { UiLogoGoogle } from "./icons/components/UiLogoGoogle.js";
325
+ import { UiLogoAws } from "./icons/components/UiLogoAws.js";
326
+ import { UiLogoAzure } from "./icons/components/UiLogoAzure.js";
327
+ import { UiLogoKubernetes } from "./icons/components/UiLogoKubernetes.js";
328
+ import { UiLogoGit } from "./icons/components/UiLogoGit.js";
329
+ import { UiLogoGithub } from "./icons/components/UiLogoGithub.js";
330
+ import { UiLogoAzureDevops } from "./icons/components/UiLogoAzureDevops.js";
317
331
  import { UiLogoDeepseek } from "./icons/components/UiLogoDeepseek.js";
318
332
  import { UiLogoMistral } from "./icons/components/UiLogoMistral.js";
319
333
  import { UiLogoMeta } from "./icons/components/UiLogoMeta.js";
@@ -430,6 +444,8 @@ import { UiK8sIngress } from "./icons/components/UiK8sIngress.js";
430
444
  import { UiK8sPod } from "./icons/components/UiK8sPod.js";
431
445
  import { UiProfilerBackTrace } from "./icons/components/UiProfilerBackTrace.js";
432
446
  import { UiProfilerMergeCallees } from "./icons/components/UiProfilerMergeCallees.js";
447
+ import { UiWebLink } from "./icons/components/UiWebLink.js";
448
+ import { UiKubernetesLink } from "./icons/components/UiKubernetesLink.js";
433
449
  import { UiClass1, UiClass1Dark } from "./icons/components/UiClass1.js";
434
450
  import { UiMethod1, UiMethod1Dark } from "./icons/components/UiMethod1.js";
435
451
  import { UiAccessProtected, UiAccessProtectedDark } from "./icons/components/UiAccessProtected.js";
@@ -659,7 +675,7 @@ import { groupRecords, isGroupCollapsedByDefault } from "./data/DataTable.groupi
659
675
  import { StatStrip } from "./data/StatStrip.js";
660
676
  import { EntityCell } from "./data/cells/EntityCell.js";
661
677
  import { Timestamp } from "./data/cells/Timestamp.js";
662
- import { chooseTimestampFormat, formatDateTimeRelative, formatRelativeTime, formatTimestamp, modeToFormat, parseTimestamp } from "./data/cells/timestamp-format.js";
678
+ import { chooseTimestampFormat, formatDateTimeRelative, formatRelativeTime, formatTimestamp, modeToFormat, parseTimestamp, resolveDateMath } from "./data/cells/timestamp-format.js";
663
679
  import { TagActionsProvider, TagList } from "./data/cells/TagList.js";
664
680
  import { CellFilterActions } from "./data/cells/CellFilterActions.js";
665
681
  import { normalizeTags, splitTagToken, tagActionsFromRecord, tagFilterTokens, useTagActions, useTagActionsValue } from "./data/cells/tag-utils.js";
@@ -898,4 +914,4 @@ import { profileListingSort, profileTraceListing } from "./data/traces/otel/prof
898
914
  import { BarChart } from "./data/charts/BarChart.js";
899
915
  import { StackedBarChart } from "./data/charts/StackedBarChart.js";
900
916
  import { TrendChart } from "./data/charts/TrendChart.js";
901
- export { AccessMark, ActionError, AnsiHtml, Avatar, AvatarBadge, Badge, BarChart, CALLOUT_TONES, CALLOUT_VARIANTS, CALLOUT_VARIANT_LABELS, CALL_GRAPH_ACCESS, CALL_GRAPH_DATA_GLYPHS, DATA_KIND_WORDS as CALL_GRAPH_DATA_KIND_WORDS, CALL_GRAPH_DEFAULT_DEPTH, EXCLUDE_EXTERNAL as CALL_GRAPH_EXCLUDE_EXTERNAL, CALL_GRAPH_MAX_DEPTH, CHART_PALETTE, CacheAdapterRegistry, CacheBrowser, CacheDetailPanel, CacheNodeRow, CacheStatsOverview, CacheTree, CacheValue, CallGraph, Callout, CellFilterActions, ChartLegend, ClickyExportDialog, CodeBlock, CodeDiff, CodeLine, CompactRecord, CompactRecordList, CopyBadge, DATA_MEMBER_OWNER, DATA_TABLE_FILTER_LOOKUP_LIMIT, DEBUG_CAPTURE_HEADER, DEBUG_REFRESH_INSPECTION_HEADER, DEFAULT_LINT_GROUPING, DataTable, DetailTabSelectProvider, DiagnosticsDetailPanel, DiagnosticsTree, DiffStat, EMPTY_TIMESERIES_STREAM_GROUP, EmptyMatrixCell, EntityCell, EnvChip, ErrorDetails, ExecutionTree, Expectation, FilterPill, FilterPillGroup, FilterSeparator, FixtureEditor, FrameSourceWindow, GIT_REF_GROUP_LIMITS, GROUP_MEMBER_WINDOW, Gauge, GaugeHoverCard, GitBranchPicker, GitChangedFilesSummary, GitCommitList, GitCommitPicker, GitConnectionPicker, GitDiffPanel, GitFileList, GitFilePicker, GitLink, GitPathPicker, GitPipelineExecutionPicker, GitPipelinePicker, GitRefPicker, GitRepositoryPicker, GitSourcePicker, GoProfileView, GoroutineCard, GraphDiagram, HarEntryDetails, HarPanel, Icon, ImagePreview, JsonView, JvmStackTrace, KeyValueList, LINT_GROUPINGS, LINT_GROUPING_OPTIONS, LINT_SEVERITIES, LabelIcon, LabeledSparkline, LintDetailPanel, LintFilterBar, LintFilterFacets, LintGroupingPicker, LintList, LintResults, LintSeverityIcon, LintTable, LintTreeNode, LintWizardDialog, LogViewer, LogsTable, MARKDOWN_EDITOR_PREVIEW_FORMATS, MARKDOWN_SYNTAX_DOCUMENT, MARKDOWN_SYNTAX_SECTIONS, MATRIX_MARKS, MATRIX_ORDER, MAX_INLINE_SELECTION_ACTIONS, Markdown, MarkdownEditor, MatrixElapsed, MatrixEnvHeader, MatrixHeatmap, MatrixLegend, MatrixMark, MatrixMix, MatrixTable, MatrixTreeTable, MatrixUnavailableEnvHeader, MethodBadge, MetricTile, MultiGaugeBar, ObjectGraph, OpenInFilesLink, OtelTraceBrowser, OtelTraceDetail, OtelTraceSearch, OtelTraceTable, OutcomeIcon, PrettyStackTrace, ProblemRow, ProcessFacetTable, ProcessNotFoundError, ProcessTraceDetail, ProcessTraceHeader, ProcessTraceTree, ProfileTopTable, ProgressBar, ProgressBars, PromptBanner, PromptDialog, PromptForm, PromptIndicator, PromptList, Properties, QueryBrowser, QueryBrowserExecutionError, RUNTIME_PREFIXES, RadialGauge, SAMPLE_FACETS, SAMPLE_FACET_ORDER, STATUS_LABELS, STATUS_TOKEN_GROUPS, SchemaViewer as SchemaBrowser, SchemaFieldMetaPanel, SchemaReference, SchemaViewer, SchemaViewerRow, SelectionActionBar, ServerTimingBadge, SessionSummaryLine, SignedDeltaBar, SortableHeader, Sparkline, SqlTraceTable, StackDumpView, StackFrameRow, StackTrace, StackedBarChart, StackedStatusBar, StatStrip, StatusDot, StatusRows, StepKindSections, StepOutputs, StepWait, SymbolBadge, TASK_POOL_METRIC_RUN_ID, TEST_OUTCOMES, TEST_TOOLS, TabButton, TagActionsProvider, TagList, TaskManager, TaskManagerButton, TaskMetadata, TaskMetadataChips, TaskPoolSummary, TaskPoolUsage, TaskProgress, TaskRunConcurrency, TaskSessionChip, TaskStreamTabs, TerminalCastPlayer, TestAttemptDetail, TestAttempts, TestDetailPanel, TestFailureDetail, TestFilterBar, TestList, TestNodeAdapterRegistry, TestOutput, TestRunSummary, TestRunner, TestRunnerProvider, TestTree, TestTreeNode, TestViewToggle, ThreadCard, ThreadStateFilterChips, Timeline, TimeseriesCoreBars, TimeseriesGauge, TimeseriesPanel, TimeseriesStreamContext, TimeseriesStreamProvider, Timestamp, ToolIcon, TopView, TraceFeed, TraceHarView, TraceView, TraceWindowList, Tree, TreeDataTable, TreeGroupHeader, TreeNode, TreeRowLead, TreeRowToggle, TrendChart, UIR_CALL_GRAPH_VOCABULARY, UiAccessProtected, UiAccessProtectedDark, UiAccessPublic, UiAccessPublicDark, UiActivity, UiAdd, UiAddChangeset, UiAddChangesetDark, UiAddFilled, UiAggregate, UiAggregateDark, UiAlias, UiAliasDark, UiAnnotation, UiAnnotationDark, UiAopAroundAdvice, UiAopBeforeAdvice, UiAopPointcut, UiApi, UiApiBridge, UiApiGateway, UiApiRequest, UiArchive, UiArchiveFilled, UiArray, UiArrowDecision, UiArrowDecisionFilled, UiArrowDown, UiArrowDownFilled, UiArrowDownRight, UiArrowFatUp, UiArrowFatUpFilled, UiArrowLeft, UiArrowLeftFilled, UiArrowRight, UiArrowRightFilled, UiArrowSquareIn, UiArrowSquareInFilled, UiArrowUp, UiArrowUpFilled, UiArrowUpRight, UiArrowsCounterClockwise, UiArrowsCounterClockwiseFilled, UiArtifact, UiArtifactDark, UiAsterisk, UiAsteriskFilled, UiAsyncFn, UiAt, UiAtFilled, UiAtom, UiAtomFilled, UiAttachDebugger, UiAttachDebuggerDark, UiAttachToProcess, UiAttachToProcessDark, UiAuditLog, UiAzureRepos, UiBank, UiBankFilled, UiBatchCheck, UiBatchCheckFilled, UiBatchJob, UiBatchRequest, UiBatteryChargingVertical, UiBatteryChargingVerticalFilled, UiBatteryVerticalEmpty, UiBatteryVerticalEmptyFilled, UiBatteryVerticalFull, UiBatteryVerticalFullFilled, UiBatteryVerticalHigh, UiBatteryVerticalHighFilled, UiBatteryVerticalLow, UiBatteryVerticalLowFilled, UiBatteryVerticalMedium, UiBatteryVerticalMediumFilled, UiBeaker, UiBeakerFilled, UiBell, UiBellFilled, UiBellSlash, UiBellSlashFilled, UiBinary, UiBinaryFilled, UiBlueKey, UiBlueKeyDark, UiBoolean, UiBox, UiBoxFilled, UiBoxes, UiBoxesFilled, UiBpmnConditional, UiBraces, UiBrain, UiBrainFilled, UiBranchFlow, UiBreakpoint, UiBreakpoint1, UiBreakpoint1Dark, UiBreakpoint2, UiBreakpoint2Dark, UiBreakpoint3, UiBreakpoint3Dark, UiBreakpoint4, UiBreakpoint4Dark, UiBreakpointDisabled, UiBreakpointField, UiBreakpointMethod, UiBroadcast, UiBroadcastFilled, UiBrowser, UiBrowserFilled, UiBug, UiBugFilled, UiCache, UiCalculator, UiCalendar, UiCalendarBlank, UiCalendarBlankFilled, UiCalendarCheck, UiCalendarCheckFilled, UiCalendarFilled, UiCamera, UiCameraFilled, UiCancel, UiCancelFilled, UiChartBar, UiChartBarFilled, UiChartLineUp, UiChartLineUpFilled, UiChartOfAccounts, UiChartOfAccountsFilled, UiChartPie, UiChartPieFilled, UiChatDots, UiChatDotsFilled, UiCheck, UiCheckConstraint, UiCheckConstraintDark, UiCheckFilled, UiChecks, UiChecksFilled, UiChevronDown, UiChevronDownFilled, UiChevronRight, UiChevronRightFilled, UiChevronUp, UiChevronUpFilled, UiChevronsDown, UiChevronsDownFilled, UiChevronsUp, UiChevronsUpFilled, UiChip, UiChipFilled, UiCircleFilled, UiCircleFilledFilled, UiCircleOutline, UiCircleOutlineFilled, UiCircleX, UiCircleXFilled, UiClass, UiClass1, UiClass1Dark, UiClass2, UiClass2Dark, UiClass3, UiClass3Dark, UiClass4, UiClass4Dark, UiClass5, UiClass5Dark, UiClass6, UiClass6Dark, UiClass7, UiClass7Dark, UiClassicBatch, UiClearCash, UiClearCashDark, UiClipboardText, UiClipboardTextFilled, UiClock, UiClockCountdown, UiClockCountdownFilled, UiClockFilled, UiClose, UiCloseFilled, UiCloud, UiCloudDownload, UiCloudDownloadFilled, UiCloudFilled, UiCloudUpload, UiCloudUploadFilled, UiCode2, UiCode2Filled, UiCodeFile, UiCog, UiCogFilled, UiCoins, UiCoinsFilled, UiCollapseAll, UiCollection, UiCollectionDark, UiCollectionType, UiCollectionTypeDark, UiColumn, UiColumn1, UiColumn1Dark, UiColumn2, UiColumn2Dark, UiColumn3, UiColumn3Dark, UiColumn4, UiColumn4Dark, UiColumn5, UiColumn5Dark, UiColumnDark, UiColumns, UiColumnsFilled, UiColumnsLayout, UiCommand, UiCommandFilled, UiComment, UiCompass, UiCompassFilled, UiCondition, UiConditions, UiConfig, UiConfigFilled, UiConfigMap, UiConfigMapDark, UiConnector, UiConnectorDark, UiConstant, UiConstant1, UiConstant1Dark, UiConstructor, UiConverter, UiConverter1, UiConverter1Dark, UiConverterDark, UiCopy, UiCopyFilled, UiCreateConstraint, UiCreateConstraintDark, UiCreditCard, UiCreditCardFilled, UiCurrencyDollar, UiCurrencyDollarFilled, UiCursorClick, UiCursorClickFilled, UiCursorText, UiCursorTextFilled, UiCustomResource, UiCustomResourceDark, UiDataSchema, UiDataSchemaDark, UiDataShare, UiDataShareDark, UiDatabase, UiDatabaseCheck, UiDatabaseCheckFilled, UiDatabaseCross, UiDatabaseCrossFilled, UiDatabaseDown, UiDatabaseDownFilled, UiDatabaseError, UiDatabaseErrorFilled, UiDatabaseEventStream, UiDatabaseFilled, UiDatabaseInfo, UiDatabaseInfoFilled, UiDatabaseLink, UiDatabaseLinkDark, UiDatabaseMinus, UiDatabaseMinusFilled, UiDatabasePending, UiDatabasePendingFilled, UiDatabasePlus, UiDatabasePlusFilled, UiDatabaseTrash, UiDatabaseTrashFilled, UiDatabaseUp, UiDatabaseUpFilled, UiDatabaseWarning, UiDatabaseWarningFilled, UiDatabaseZap, UiDebug, UiDebugContinue, UiDebugDisabled, UiDebugDisabledDark, UiDebugFilled, UiDebugSelection, UiDebugSelectionDark, UiDebugSmall, UiDebugStepInto, UiDebugStepOut, UiDebugStepOver, UiDebugStop, UiDecorator, UiDelayQueue, UiDeploy, UiDeployDark, UiDesktop, UiDesktopFilled, UiDetach, UiDetachDark, UiDiagramDiff, UiDiagramDiffDark, UiDiff, UiDotsVertical, UiDotsVerticalFilled, UiDownload, UiDownloadFilled, UiDumpThreads, UiDumpThreadsDark, UiDynamicForm, UiDynamicFormFilled, UiEdit, UiEditFilled, UiEditMode, UiEditModeDark, UiEllipsis, UiEllipsisBold, UiEllipsisFilled, UiEndpoint, UiEnum, UiEnumMember, UiEnvelope, UiEnvelopeFilled, UiError, UiEvaluateExpression, UiEvaluateExpressionDark, UiEvent, UiException, UiExceptionAnalyzerImportant, UiExceptionAnalyzerImportantDark, UiExceptionDark, UiExcludedGenerated, UiExcludedGeneratedDark, UiExpandAll, UiExport, UiExtension, UiExtensionDark, UiExternalLink, UiEye, UiEyeClosed, UiEyeClosedFilled, UiEyeFilled, UiFactory, UiFactoryFilled, UiFailedInProgress, UiFailedInProgressDark, UiFastForwardCircle, UiFastForwardCircleFilled, UiField, UiField1, UiField1Dark, UiField2, UiField2Dark, UiField3, UiField3Dark, UiField4, UiField4Dark, UiField5, UiField5Dark, UiField6, UiField6Dark, UiFieldProtected, UiFieldReadAccess, UiFieldType, UiFieldWriteAccess, UiFile, UiFileCode, UiFileCodeFilled, UiFileCog, UiFileFilled, UiFileFormat, UiFileFormatDark, UiFileJson, UiFilePlus, UiFilePlusFilled, UiFileSearch, UiFileSpreadsheet, UiFileText, UiFileTextFilled, UiFileType, UiFilter, UiFilterFilled, UiFingerprint, UiFingerprintFilled, UiFlowArrow, UiFlowArrowFilled, UiFolder, UiFolderFilled, UiFolderGit, UiFolderGit2, UiFolderGit2Filled, UiFolderGitFilled, UiForeignServer, UiForeignServerDark, UiForm, UiFormFields, UiFormFilled, UiFormStep, UiFreemarker, UiFreemarkerDark, UiFullscreen, UiFullscreenFilled, UiFunction, UiFunction1, UiFunction1Dark, UiFunction2, UiFunction2Dark, UiFunction3, UiFunction3Dark, UiFunction4, UiFunction4Dark, UiFunctionSquare, UiFunctionSquareFilled, UiFunnelData, UiFunnelDataFilled, UiGatewayApi, UiGavel, UiGavelFilled, UiGearSix, UiGearSixFilled, UiGitBranch, UiGitBranchFilled, UiGitCommit, UiGitCommitFilled, UiGitGraph, UiGitGraphFilled, UiGitMerge, UiGitMergeFilled, UiGitPr, UiGitPrFilled, UiGlobe, UiGraph, UiGraphFilled, UiGreyKey, UiGreyKeyDark, UiGrid, UiGridFilled, UiGroupByModuleGroup, UiGroupByModuleGroupDark, UiGroupByPackage, UiGroupByPackageDark, UiGroupByTestProduction, UiGroupByTestProductionDark, UiHandCoins, UiHandCoinsFilled, UiHandPalm, UiHandPalmFilled, UiHardDrive, UiHibernate, UiHibernateDark, UiHibernateEvent, UiHibernateEventDark, UiHistory, UiHistoryFilled, UiHome, UiHomeFilled, UiHourglass, UiHourglassFilled, UiHubot, UiHubotFilled, UiId, UiIdDark, UiIdentificationCard, UiIdentificationCardFilled, UiImage, UiImageFilled, UiImport, UiImportArrow, UiInbox, UiInboxFilled, UiIndex, UiIndex1, UiIndex1Dark, UiIndex2, UiIndex2Dark, UiIndex3, UiIndex3Dark, UiIndex4, UiIndex4Dark, UiIndex5, UiIndex5Dark, UiIndex6, UiIndex6Dark, UiIndexDark, UiInfo, UiInfoFilled, UiInputField, UiInsertTable, UiInsightAvailability, UiInsightAvailabilityFilled, UiInsightCompliance, UiInsightCost, UiInsightCostFilled, UiInsightIntegration, UiInsightPerformance, UiInsightPerformanceFilled, UiInsightRecommendation, UiInsightRecommendationFilled, UiInsightReliability, UiInsightReliabilityFilled, UiInsightSecurity, UiInsightSecurityFilled, UiInsightTechnicalDebt, UiInsightTechnicalDebtFilled, UiInspectionsGrammar, UiInspectionsGrammarDark, UiInterface, UiInvoice, UiInvoiceFilled, UiJpaAttribute, UiJpaId, UiJpaRelationship, UiJson, UiK8sEndpoint, UiK8sIngress, UiK8sPod, UiK8sService, UiKanban, UiKanbanFilled, UiKey, UiKeyFilled, UiKeyboard, UiKeyboardFilled, UiKeyword, UiKillDataSourceProcess, UiKillDataSourceProcessDark, UiKubeConfigMap, UiKubeDeployment, UiKubeJob, UiKubeNamespace, UiKubePod, UiLambda, UiLangJava, UiLangJavascript, UiLangPython, UiLayers, UiLayoutDashboard, UiLayoutDashboardFilled, UiLayoutTemplate, UiLayoutWindow, UiLayoutWindowFilled, UiLedger, UiLedgerFilled, UiLightbulb, UiLightbulbFilled, UiLink, UiLinkExternal, UiLinkExternalFilled, UiLinkFilled, UiListChecks, UiListChecksFilled, UiListDashes, UiListDashesFilled, UiListEnd, UiListEndLine, UiListEndLineFilled, UiListFlat, UiListFlatFilled, UiListNumbers, UiListNumbersFilled, UiListOrdered, UiListTree, UiListTreeFilled, UiLoader, UiLoaderFilled, UiLocation, UiLocationFilled, UiLock, UiLockFilled, UiLockKey, UiLockKeyFilled, UiLockOpen, UiLockOpenFilled, UiLogoAnthropic, UiLogoClaude, UiLogoDeepseek, UiLogoEslint, UiLogoGemini, UiLogoGo, UiLogoGoogle, UiLogoHuggingface, UiLogoJest, UiLogoMarkdown, UiLogoMeta, UiLogoMistral, UiLogoOllama, UiLogoOpenai, UiLogoOxc, UiLogoPerplexity, UiLogoPlaywright, UiLogoPython, UiLogoReact, UiLogoRuff, UiLogoTypescript, UiLogoVitest, UiLowPriority, UiMagicWand, UiMagicWandFilled, UiMarkdown, UiMaterializedLog, UiMaterializedLogDark, UiMemoryProfile, UiMemoryStick, UiMenu, UiMenuFilled, UiMergeQueue, UiMessageQueue, UiMessageQueue1, UiMessageQueue1Dark, UiMethod, UiMethod1, UiMethod10, UiMethod10Dark, UiMethod11, UiMethod11Dark, UiMethod1Dark, UiMethod2, UiMethod2Dark, UiMethod3, UiMethod3Dark, UiMethod4, UiMethod4Dark, UiMethod5, UiMethod5Dark, UiMethod6, UiMethod6Dark, UiMethod7, UiMethod7Dark, UiMethod8, UiMethod8Dark, UiMethod9, UiMethod9Dark, UiMinus, UiMinusFilled, UiModels, UiModelsDark, UiModule, UiModule1, UiModule1Dark, UiMoon, UiMoonFilled, UiName, UiNameDark, UiNamespace, UiNetwork, UiNetworkFilled, UiNull, UiNumeric, UiObject, UiOpenBlock, UiOpenBlockDark, UiOpenScad, UiOperator, UiOperator1, UiOperator1Dark, UiOrganization, UiOrganizationCheck, UiOrganizationCheckFilled, UiOrganizationCross, UiOrganizationCrossFilled, UiOrganizationFilled, UiOrganizationMinus, UiOrganizationMinusFilled, UiOrganizationPlus, UiOrganizationPlusFilled, UiPackage, UiPackageFilled, UiPalette, UiPaletteFilled, UiPaperPlaneRight, UiPaperPlaneRightFilled, UiParameter, UiPartition, UiPartitionDark, UiPass, UiPassFilled, UiPause, UiPauseCircle, UiPauseCircleFilled, UiPencilSimpleLine, UiPencilSimpleLineFilled, UiPending, UiPendingDark, UiPercent, UiPhone, UiPhoneFilled, UiPipelineStage, UiPlay, UiPlayCircle, UiPlayCircleFilled, UiPlaybook, UiPlaylistRemove, UiPlug, UiPluginModule, UiPluginModuleDark, UiPluginV2, UiPluginV2Dark, UiPlugsConnected, UiPlugsConnectedFilled, UiPointcut, UiPointcutDark, UiProcedure, UiProcedureDark, UiProfile, UiProfile1, UiProfile1Dark, UiProfile2, UiProfile2Dark, UiProfile3, UiProfile3Dark, UiProfile4, UiProfile4Dark, UiProfileDark, UiProfiler, UiProfilerBackTrace, UiProfilerMergeCallees, UiProhibit, UiProhibitFilled, UiProjectStructure, UiProjectStructureDark, UiProjection, UiProjectionDark, UiProperty, UiPulse, UiPulseFilled, UiPuzzle, UiPuzzleFilled, UiQuestion, UiQuestionFilled, UiQueue, UiQueueFilled, UiReadAccess, UiReadAccessDark, UiReceipt, UiReceiptFilled, UiRecord, UiRecord1, UiRecord1Dark, UiRefresh, UiRefreshFilled, UiRegex, UiRegexDark, UiRelationship, UiRelationshipDark, UiRelay, UiRelayDark, UiRemove, UiRemoveFilled, UiRepeat, UiRepeatFilled, UiReportForms, UiReportFormsFilled, UiResizeVertical, UiResizeVerticalFilled, UiRestart, UiRobotAi, UiRobotAiFilled, UiRocket, UiRocketFilled, UiRole, UiRoleDark, UiRollback, UiRollbackDark, UiRoute, UiRouteFilled, UiRoutine, UiRoutineDark, UiRows, UiRowsFilled, UiRun, UiRun1, UiRun10, UiRun10Dark, UiRun11, UiRun11Dark, UiRun12, UiRun12Dark, UiRun13, UiRun13Dark, UiRun14, UiRun14Dark, UiRun1Dark, UiRun2, UiRun2Dark, UiRun3, UiRun3Dark, UiRun4, UiRun4Dark, UiRun5, UiRun5Dark, UiRun6, UiRun6Dark, UiRun7, UiRun7Dark, UiRun8, UiRun8Dark, UiRun9, UiRun9Dark, UiRunDark, UiSave, UiSaveFilled, UiScale, UiScan, UiScanFilled, UiScreenTemplate, UiScroll, UiScrollFilled, UiSealCheck, UiSealCheckFilled, UiSearch, UiSecurityRole, UiSecurityRoleDark, UiSelect, UiSelectFilled, UiSequence, UiSequence1, UiSequence1Dark, UiSequence2, UiSequence2Dark, UiSequence3, UiSequence3Dark, UiSequence4, UiSequence4Dark, UiSequenceDark, UiServer, UiServerProcess, UiServerProcessFilled, UiServices, UiSetKey, UiSetKeyDark, UiSeverityBlocker, UiSeverityBlockerFilled, UiSeverityCritical, UiSeverityCriticalFilled, UiSeverityHigh, UiSeverityHighFilled, UiSeverityInfo, UiSeverityInfoFilled, UiSeverityLow, UiSeverityLowFilled, UiSeverityMedium, UiSeverityMediumFilled, UiSeverityWarning, UiSeverityWarningFilled, UiShare, UiShareFilled, UiShield, UiShieldCheck, UiShieldCheckFilled, UiShieldCross, UiShieldCrossFilled, UiShieldFilled, UiShieldInfo, UiShieldInfoFilled, UiShieldMinus, UiShieldMinusFilled, UiShieldPending, UiShieldPendingFilled, UiShieldPlus, UiShieldPlusFilled, UiShieldSlash, UiShieldSlashFilled, UiShieldWarning, UiShieldWarningFilled, UiShipWheel, UiShoppingCart, UiShoppingCartFilled, UiShortcutFilter, UiShortcutFilterDark, UiShowCurrentFrame, UiShowCurrentFrameDark, UiShowMembers, UiShowMembersDark, UiShowToImplement, UiShowToImplementDark, UiSidebar, UiSidebarFilled, UiSigma, UiSignIn, UiSignInFilled, UiSignOut, UiSignOutFilled, UiSiren, UiSirenFilled, UiSkipCircle, UiSkipCircleFilled, UiSkipForward, UiSkipForwardFilled, UiSkull, UiSkullFilled, UiSliders, UiSlidersFilled, UiSortAlphabetically, UiSortAlphabeticallyDark, UiSortByType, UiSortByTypeDark, UiSortByUsage, UiSortByUsageDark, UiSortByVisibility, UiSortByVisibilityDark, UiSparkles, UiSparklesFilled, UiSpeaker, UiSpeakerFilled, UiSpringBoot, UiSpringBootDark, UiSqlArray, UiSqlColumn, UiSqlConstraint, UiSqlDatabase, UiSqlForeignKey, UiSqlFunction, UiSqlIndex, UiSqlPrimaryKey, UiSqlQuery, UiSqlSchema, UiSqlSequence, UiSqlStoredProc, UiSqlTable, UiSqlTableFilled, UiSqlTrigger, UiSqlView, UiSquare, UiSquareFilled, UiStack, UiStackFilled, UiStackFrameDot, UiStackTrace, UiStar, UiStarFilled, UiStartTimer, UiStartTimerDark, UiStatic, UiStaticDark, UiStep, UiStep1, UiStep1Dark, UiStep2, UiStep2Dark, UiStep3, UiStep3Dark, UiStep4, UiStep4Dark, UiStep5, UiStep5Dark, UiStep6, UiStep6Dark, UiStep7, UiStep7Dark, UiStep8, UiStep8Dark, UiStep9, UiStep9Dark, UiStepDark, UiSteps, UiStepsFilled, UiStop, UiStrategy, UiStrategyFilled, UiStream, UiStreamDark, UiStreamKey, UiStreamKeyDark, UiString, UiStruct, UiSubmitDB, UiSubmitDBDark, UiSubscription, UiSubscriptionDark, UiSun, UiSunFilled, UiSwap, UiSymbol, UiSymbolDark, UiSync, UiTable, UiTable1, UiTable10, UiTable10Dark, UiTable11, UiTable11Dark, UiTable12, UiTable12Dark, UiTable1Dark, UiTable2, UiTable2Dark, UiTable3, UiTable3Dark, UiTable4, UiTable4Dark, UiTable5, UiTable5Dark, UiTable6, UiTable6Dark, UiTable7, UiTable7Dark, UiTable8, UiTable8Dark, UiTable9, UiTable9Dark, UiTableFilled, UiTableProperties, UiTablePropertiesFilled, UiTag, UiTagFilled, UiTaskBatch, UiTax, UiTaxFilled, UiTemplate, UiTemplateDark, UiTerminal, UiTerminalFilled, UiTest, UiTest1, UiTest1Dark, UiTest2, UiTest2Dark, UiTest3, UiTest3Dark, UiTest4, UiTest4Dark, UiTest5, UiTest5Dark, UiTest6, UiTest6Dark, UiTest7, UiTest7Dark, UiText, UiTextDark, UiThermometer, UiThermometerFilled, UiThumbsDown, UiThumbsDownFilled, UiThumbsUp, UiThumbsUpFilled, UiTimer, UiTimerFilled, UiTodoList, UiToggleOff, UiToggleOffFilled, UiToggleOn, UiToggleOnFilled, UiTrait, UiTransactionStart, UiTransactionStartDark, UiTrash, UiTrashFilled, UiTrayArrowDown, UiTrayArrowDownFilled, UiTrendDown, UiTrendDownFilled, UiTrendUp, UiTrendUpFilled, UiTypeAlias, UiTypeParameter, UiTypeScriptIndexSignature, UiTypeScriptIndexSignatureDark, UiUndeploy, UiUndeployDark, UiUnknown, UiUpload, UiUploadFilled, UiUser, UiUserCheck, UiUserCheckFilled, UiUserCircle, UiUserCircleCheck, UiUserCircleCheckFilled, UiUserCircleFilled, UiUserCircleMinus, UiUserCircleMinusFilled, UiUserCirclePlus, UiUserCirclePlusFilled, UiUserCog, UiUserFilled, UiUserGear, UiUserGearFilled, UiUserMinus, UiUserMinusFilled, UiUserPlus, UiUserPlusFilled, UiUserSwitch, UiUserSwitchFilled, UiUsersFour, UiUsersFourFilled, UiUsersThree, UiUsersThreeCheck, UiUsersThreeCheckFilled, UiUsersThreeCross, UiUsersThreeCrossFilled, UiUsersThreeFilled, UiUsersThreeMinus, UiUsersThreeMinusFilled, UiUsersThreePlus, UiUsersThreePlusFilled, UiVariable, UiVariable1, UiVariable1Dark, UiVariable2, UiVariable2Dark, UiVariable3, UiVariable3Dark, UiVariable4, UiVariable4Dark, UiVariable5, UiVariable5Dark, UiVariable6, UiVariable6Dark, UiVault, UiVaultFilled, UiVideo, UiVideoFilled, UiVirtualForeignKey, UiVirtualForeignKeyDark, UiWarningCircle, UiWarningCircleFilled, UiWarningTriangle, UiWarningTriangleFilled, UiWatch, UiWatchFilled, UiWebArtifact, UiWebArtifactDark, UiWebServiceClient, UiWebServiceClientDark, UiWebServiceDefinition, UiWebhook, UiWebhookLine, UiWebhookLineFilled, UiWorkflow, UiWrench, UiWrenchFilled, UiWriteAccess, UiWriteAccessDark, UiXpath, UiXpath1, UiXpath1Dark, UiXpathDark, UiZap, UiZapFilled, UiZoomIn, UiZoomInFilled, UiZoomOut, UiZoomOutFilled, VIOLATION_CONTEXT_LINES, VerificationResults, Version, ViolationLocations, ViolationSnippet, WeightedProfile, WorkloadCard, WorkloadMemoryLegend, WorkloadMemoryStack, WorkloadPanel, aggregateProfile, aggregateStatusCounts, allGroupsTerminal, annotateRoutePaths, answerPrompt, applyFixtureFrontmatterRaw, applyFixtureFrontmatterState, applyTaskOutputDelta, armedFacets, assertCalloutValue, assignAxes, attemptStatus, badgeVariants, baseAccess as baseCallGraphAccess, bucketTasks, buildBrief, buildLintTree, buildLintWizardRequest, buildMarkdownPreviewUrl, buildNodeBrief, buildNodeJson, buildProcessForest, buildSchemaTree, buildSchemaViewerTree, buildStepBranchTree, cacheQueryKeys, callGraphGroupFacts, calloutVariantStyles, callsItself, changeIconAliases, chartColor, chooseTimestampFormat, clearDebugRuntimes, clickyFormatForMarkdownPreview, clickyIconProvider, clockTime, collapseSingleChildChains, collectFolderLintStats, collectFrameworks, collectLintLinters, collectTreeKeys, columnsLayout, compactStackPath, computeLineDiff, countGoroutinesByState, countLintByLinter, countLintBySeverity, countObjectGraphNodes, countProcesses, countStackByState, countThreadsByState, cpuTone, createCacheClient, createCacheRegistry, createChecklistMarkdown, createFenceMarkdown, createTaskSessionFeed, createTestRunnerRegistry, createTimeseriesStream, cycleFilterState, dataMemberAside, dataNodeBacking, dataNodeGlyph, dataNodeStatus, debugCaptureHeaders, debugConsoleAvailable, debugConsoleOpen, debugRuntimes, decodeFilterState, defaultTaskSessionRenderers, deriveProgressBars, detectDumpFormat, diskSeries, emptyLintFilters, emptyLintWizardDraft, emptyTaskStreams, emptyTestFilters, emptyVerifySummary, encodeFilterState, exchangeToHarEntry, expandAllTree, expandServedSeries, facetCountSeries, filterStateToRecord, filterTests, findLintNode, findNodeByRoutePath, findProcessByPID, fixtureFenceKind, fixtureFenceSchemaAliases, fixtureFenceSnippetInfo, fixtureFrontmatterState, flattenForest, folderPattern, formatExclude as formatCallGraphExclude, formatCount, formatCpuPercent, formatDateTimeRelative, formatDelay, formatExportValue, formatGitCommitDateHeader, formatMatrixDuration, formatProcessTimestamp, formatProfileValue, formatPropertyLabel, formatRelativeTime, formatReplicaCounts, formatServerTimingDuration, formatStatementDuration, formatTestDuration, formatTimestamp, frameHasSource, frameLocation, genericCopySections, getChangeIcon, getVersionInfo, gitWebLink, groupRecords, groupStatements, hasFailed, hasHoverMeta, hasPending, humanizeName, iconsByConsumerName, inferColumns, interfaceMethods, isApplicationStackFrame, isAttemptLive, isDataMember, isDataNode, isFailedOrWarn, isFlatMetadata, isGroupCollapsedByDefault, isLeaf, isLinterErrored, isLinterInFlight, isMetadataLink, isProcessExited, isRuntimeFrame, isTerminalStatus, latestFacetReading, latestOf, lintFileActions, lintFolderActions, lintListGroups, lintNodeActions, lintNodeCount, lintNodeSeverity, lintWizardCommand, locationLabel, logLevelColor, markdownDocumentStats, matchesExclude as matchesCallGraphExclude, matchesFilterState, matrixBarClass, matrixMarkKey, memoryTone, mergeAccess, mergeGraph as mergeCallGraph, mergeCopySections, mergeSeries, metadataEntries, mockMarkdownPreview, modeToFormat, normalizeErrorDiagnostics, normalizeLogsTableRows, normalizeStatus, normalizeTags, durationOf as otelDurationOf, searchParams as otelSearchParams, outcomeFor, parseBoundsValue, parseExclude as parseCallGraphExclude, parseCast, parseDiagnosticsStackTrace, parseDurationBoundsValue, parseFixtureFrontmatter, parseFixtureYaml, parseGoroutineDump, parseInlineJsonContextValue, parseJavaStackTrace, parseJvmThreadDump, parseLogSections, parseMultiFilterValue, parseServerTiming, parseStackDump, parseTimestamp, parseUnifiedDiff, policySummary, prefixAdapter, processLabel, processLifetimeMs, processSeries, processStateColor, processStateIcon, profileListingSort, profileSpans, profileTraceListing, profileValueTypes, programmingIconCatalog, pruneExitedProcesses, pruneNullNodes, readSearchValues as readOtelSearchValues, readQuery, readStepDetail, readViolation, recordToFilterState, registerDebugConsole, registerDebugRuntime, repeatsMark, resolveBreakdown, resolveFixtureFenceSchema, resolveSelectionActionDisplay, resolveSeries, revealDebugConsole, ringLayout, routeEdges, schemaKeys, segment, serializeBoundsValue, serializeDurationBoundsValue, serializeMultiFilterValue, seriesStats, serverColumnsToDataTableColumns, serverFiltersToFilterBar, serverTimingCounterSummary, serverTimingMetricLabel, setDebugCaptureLevel, setDebugConsoleOpen, setDebugRefreshInspection, setFallbackIconProvider, shortFrameName, shortSha, slugify, splitCommaValues, splitSelectionActions, splitTagToken, stackCheckpoints, stacksThrough, statusToneFor, stringifyFixtureYaml, subscribeToDebugConsole, subscribeToDebugRuntimes, sum, sumNonTaskTests, summarizeVerifyNodes, tagActionsFromRecord, tagFilterTokens, taskConcurrencyMetrics, taskGroupErrorCount, taskGroupErrors, taskGroupJson, taskGroupMarkdown, taskMarkdown, taskMetricSeries, taskPoolMetrics, taskQueryKeys, taskSegments, taskStatusBg, taskStatusColor, taskStatusIcon, testAttemptViews, testLeaves, testStatus, timeseriesStreamAddress, timeseriesStreamGroupKey, timeseriesStreamInterval, timeseriesStreamUrl, timeseriesWindowStart, toggleAccess as toggleCallGraphAccess, toolKeyFor, toolMark, totalDuration, totalLintViolations, updateFilterSelection, urlSelector, useClickyExport, useDebugAction, usePrompts, useSelectDetailTab, useTagActions, useTagActionsValue, useTestRunner, useTimeseriesStream, verificationAdapters, verifyNodeTest, verifyReportCounts, verifyReportTests, violationIgnoreActions, violationTargetGroup, visibleTreeRows, withTaskStreams, workloadKindLabel, workloadStatusLabel, workloadStatusTone, workloadTypeLabel };
917
+ export { AccessMark, ActionError, AnsiHtml, Avatar, AvatarBadge, Badge, BarChart, CALLOUT_TONES, CALLOUT_VARIANTS, CALLOUT_VARIANT_LABELS, CALL_GRAPH_ACCESS, CALL_GRAPH_DATA_GLYPHS, DATA_KIND_WORDS as CALL_GRAPH_DATA_KIND_WORDS, CALL_GRAPH_DEFAULT_DEPTH, EXCLUDE_EXTERNAL as CALL_GRAPH_EXCLUDE_EXTERNAL, CALL_GRAPH_MAX_DEPTH, CHART_PALETTE, CacheAdapterRegistry, CacheBrowser, CacheDetailPanel, CacheNodeRow, CacheStatsOverview, CacheTree, CacheValue, CallGraph, Callout, CellFilterActions, ChartLegend, ClickyExportDialog, CodeBlock, CodeDiff, CodeLine, CompactRecord, CompactRecordList, CopyBadge, DATA_MEMBER_OWNER, DATA_TABLE_FILTER_LOOKUP_LIMIT, DEBUG_CAPTURE_HEADER, DEBUG_REFRESH_INSPECTION_HEADER, DEFAULT_LINT_GROUPING, DataTable, DetailTabSelectProvider, DiagnosticsDetailPanel, DiagnosticsTree, DiffStat, EMPTY_TIMESERIES_STREAM_GROUP, EmptyMatrixCell, EntityCell, EnvChip, ErrorDetails, ExecutionTree, Expectation, FilterPill, FilterPillGroup, FilterSeparator, FixtureEditor, FrameSourceWindow, GIT_REF_GROUP_LIMITS, GROUP_MEMBER_WINDOW, Gauge, GaugeHoverCard, GitBranchPicker, GitChangedFilesSummary, GitCommitList, GitCommitPicker, GitConnectionPicker, GitDiffPanel, GitFileList, GitFilePicker, GitLink, GitPathPicker, GitPipelineExecutionPicker, GitPipelinePicker, GitRefPicker, GitRepositoryPicker, GitSourcePicker, GoProfileView, GoroutineCard, GraphDiagram, HarEntryDetails, HarPanel, Icon, ImagePreview, JsonView, JvmStackTrace, KeyValueList, LINT_GROUPINGS, LINT_GROUPING_OPTIONS, LINT_SEVERITIES, LabelIcon, LabeledSparkline, LintDetailPanel, LintFilterBar, LintFilterFacets, LintGroupingPicker, LintList, LintResults, LintSeverityIcon, LintTable, LintTreeNode, LintWizardDialog, LogViewer, LogsTable, MARKDOWN_EDITOR_PREVIEW_FORMATS, MARKDOWN_SYNTAX_DOCUMENT, MARKDOWN_SYNTAX_SECTIONS, MATRIX_MARKS, MATRIX_ORDER, MAX_INLINE_SELECTION_ACTIONS, Markdown, MarkdownEditor, MatrixElapsed, MatrixEnvHeader, MatrixHeatmap, MatrixLegend, MatrixMark, MatrixMix, MatrixTable, MatrixTreeTable, MatrixUnavailableEnvHeader, MethodBadge, MetricTile, MultiGaugeBar, ObjectGraph, OpenInFilesLink, OtelTraceBrowser, OtelTraceDetail, OtelTraceSearch, OtelTraceTable, OutcomeIcon, PrettyStackTrace, ProblemRow, ProcessFacetTable, ProcessNotFoundError, ProcessTraceDetail, ProcessTraceHeader, ProcessTraceTree, ProfileTopTable, ProgressBar, ProgressBars, PromptBanner, PromptDialog, PromptForm, PromptIndicator, PromptList, Properties, QueryBrowser, QueryBrowserExecutionError, RUNTIME_PREFIXES, RadialGauge, SAMPLE_FACETS, SAMPLE_FACET_ORDER, STATUS_LABELS, STATUS_TOKEN_GROUPS, SchemaViewer as SchemaBrowser, SchemaFieldMetaPanel, SchemaReference, SchemaViewer, SchemaViewerRow, SelectionActionBar, ServerTimingBadge, SessionSummaryLine, SignedDeltaBar, SortableHeader, Sparkline, SqlTraceTable, StackDumpView, StackFrameRow, StackTrace, StackedBarChart, StackedStatusBar, StatStrip, StatusDot, StatusRows, StepKindSections, StepOutputs, StepWait, SymbolBadge, TASK_POOL_METRIC_RUN_ID, TEST_OUTCOMES, TEST_TOOLS, TabButton, TagActionsProvider, TagList, TaskManager, TaskManagerButton, TaskMetadata, TaskMetadataChips, TaskPoolSummary, TaskPoolUsage, TaskProgress, TaskRunConcurrency, TaskSessionChip, TaskStreamTabs, TerminalCastPlayer, TestAttemptDetail, TestAttempts, TestDetailPanel, TestFailureDetail, TestFilterBar, TestList, TestNodeAdapterRegistry, TestOutput, TestRunSummary, TestRunner, TestRunnerProvider, TestTree, TestTreeNode, TestViewToggle, ThreadCard, ThreadStateFilterChips, Timeline, TimeseriesCoreBars, TimeseriesGauge, TimeseriesPanel, TimeseriesStreamContext, TimeseriesStreamProvider, Timestamp, ToolIcon, TopView, TraceFeed, TraceHarView, TraceView, TraceWindowList, Tree, TreeDataTable, TreeGroupHeader, TreeNode, TreeRowLead, TreeRowToggle, TrendChart, UIR_CALL_GRAPH_VOCABULARY, UiAccessProtected, UiAccessProtectedDark, UiAccessPublic, UiAccessPublicDark, UiActivity, UiAdd, UiAddChangeset, UiAddChangesetDark, UiAddFilled, UiAggregate, UiAggregateDark, UiAlias, UiAliasDark, UiAnnotation, UiAnnotationDark, UiAopAroundAdvice, UiAopBeforeAdvice, UiAopPointcut, UiApi, UiApiBridge, UiApiGateway, UiApiRequest, UiArchive, UiArchiveFilled, UiArray, UiArrowDecision, UiArrowDecisionFilled, UiArrowDown, UiArrowDownFilled, UiArrowDownRight, UiArrowFatUp, UiArrowFatUpFilled, UiArrowLeft, UiArrowLeftFilled, UiArrowRight, UiArrowRightFilled, UiArrowSquareIn, UiArrowSquareInFilled, UiArrowUp, UiArrowUpFilled, UiArrowUpRight, UiArrowsCounterClockwise, UiArrowsCounterClockwiseFilled, UiArtifact, UiArtifactDark, UiAsterisk, UiAsteriskFilled, UiAsyncFn, UiAt, UiAtFilled, UiAtom, UiAtomFilled, UiAttachDebugger, UiAttachDebuggerDark, UiAttachToProcess, UiAttachToProcessDark, UiAuditLog, UiAzureRepos, UiBank, UiBankFilled, UiBatchCheck, UiBatchCheckFilled, UiBatchJob, UiBatchRequest, UiBatteryChargingVertical, UiBatteryChargingVerticalFilled, UiBatteryVerticalEmpty, UiBatteryVerticalEmptyFilled, UiBatteryVerticalFull, UiBatteryVerticalFullFilled, UiBatteryVerticalHigh, UiBatteryVerticalHighFilled, UiBatteryVerticalLow, UiBatteryVerticalLowFilled, UiBatteryVerticalMedium, UiBatteryVerticalMediumFilled, UiBeaker, UiBeakerFilled, UiBell, UiBellFilled, UiBellSlash, UiBellSlashFilled, UiBinary, UiBinaryFilled, UiBlueKey, UiBlueKeyDark, UiBoolean, UiBox, UiBoxFilled, UiBoxes, UiBoxesFilled, UiBpmnConditional, UiBraces, UiBrain, UiBrainFilled, UiBranchFlow, UiBreakpoint, UiBreakpoint1, UiBreakpoint1Dark, UiBreakpoint2, UiBreakpoint2Dark, UiBreakpoint3, UiBreakpoint3Dark, UiBreakpoint4, UiBreakpoint4Dark, UiBreakpointDisabled, UiBreakpointField, UiBreakpointMethod, UiBroadcast, UiBroadcastFilled, UiBrowser, UiBrowserFilled, UiBug, UiBugFilled, UiCache, UiCalculator, UiCalendar, UiCalendarBlank, UiCalendarBlankFilled, UiCalendarCheck, UiCalendarCheckFilled, UiCalendarFilled, UiCamera, UiCameraFilled, UiCancel, UiCancelFilled, UiChartBar, UiChartBarFilled, UiChartLineUp, UiChartLineUpFilled, UiChartOfAccounts, UiChartOfAccountsFilled, UiChartPie, UiChartPieFilled, UiChatDots, UiChatDotsFilled, UiCheck, UiCheckConstraint, UiCheckConstraintDark, UiCheckFilled, UiChecks, UiChecksFilled, UiChevronDown, UiChevronDownFilled, UiChevronRight, UiChevronRightFilled, UiChevronUp, UiChevronUpFilled, UiChevronsDown, UiChevronsDownFilled, UiChevronsUp, UiChevronsUpFilled, UiChip, UiChipFilled, UiCircleFilled, UiCircleFilledFilled, UiCircleOutline, UiCircleOutlineFilled, UiCircleX, UiCircleXFilled, UiClass, UiClass1, UiClass1Dark, UiClass2, UiClass2Dark, UiClass3, UiClass3Dark, UiClass4, UiClass4Dark, UiClass5, UiClass5Dark, UiClass6, UiClass6Dark, UiClass7, UiClass7Dark, UiClassicBatch, UiClearCash, UiClearCashDark, UiClipboardText, UiClipboardTextFilled, UiClock, UiClockCountdown, UiClockCountdownFilled, UiClockFilled, UiClose, UiCloseFilled, UiCloud, UiCloudDownload, UiCloudDownloadFilled, UiCloudFilled, UiCloudUpload, UiCloudUploadFilled, UiCode2, UiCode2Filled, UiCodeFile, UiCog, UiCogFilled, UiCoins, UiCoinsFilled, UiCollapseAll, UiCollection, UiCollectionDark, UiCollectionType, UiCollectionTypeDark, UiColumn, UiColumn1, UiColumn1Dark, UiColumn2, UiColumn2Dark, UiColumn3, UiColumn3Dark, UiColumn4, UiColumn4Dark, UiColumn5, UiColumn5Dark, UiColumnDark, UiColumns, UiColumnsFilled, UiColumnsLayout, UiCommand, UiCommandFilled, UiComment, UiCompass, UiCompassFilled, UiCondition, UiConditions, UiConfig, UiConfigFilled, UiConfigMap, UiConfigMapDark, UiConnector, UiConnectorDark, UiConstant, UiConstant1, UiConstant1Dark, UiConstructor, UiConverter, UiConverter1, UiConverter1Dark, UiConverterDark, UiCopy, UiCopyFilled, UiCreateConstraint, UiCreateConstraintDark, UiCreditCard, UiCreditCardFilled, UiCurrencyDollar, UiCurrencyDollarFilled, UiCursorClick, UiCursorClickFilled, UiCursorText, UiCursorTextFilled, UiCustomResource, UiCustomResourceDark, UiDataSchema, UiDataSchemaDark, UiDataShare, UiDataShareDark, UiDatabase, UiDatabaseCheck, UiDatabaseCheckFilled, UiDatabaseCross, UiDatabaseCrossFilled, UiDatabaseDown, UiDatabaseDownFilled, UiDatabaseError, UiDatabaseErrorFilled, UiDatabaseEventStream, UiDatabaseFilled, UiDatabaseInfo, UiDatabaseInfoFilled, UiDatabaseLink, UiDatabaseLinkDark, UiDatabaseMinus, UiDatabaseMinusFilled, UiDatabasePending, UiDatabasePendingFilled, UiDatabasePlus, UiDatabasePlusFilled, UiDatabaseTrash, UiDatabaseTrashFilled, UiDatabaseUp, UiDatabaseUpFilled, UiDatabaseWarning, UiDatabaseWarningFilled, UiDatabaseZap, UiDebug, UiDebugContinue, UiDebugDisabled, UiDebugDisabledDark, UiDebugFilled, UiDebugSelection, UiDebugSelectionDark, UiDebugSmall, UiDebugStepInto, UiDebugStepOut, UiDebugStepOver, UiDebugStop, UiDecorator, UiDelayQueue, UiDeploy, UiDeployDark, UiDesktop, UiDesktopFilled, UiDetach, UiDetachDark, UiDiagramDiff, UiDiagramDiffDark, UiDiff, UiDotsVertical, UiDotsVerticalFilled, UiDownload, UiDownloadFilled, UiDumpThreads, UiDumpThreadsDark, UiDynamicForm, UiDynamicFormFilled, UiEdit, UiEditFilled, UiEditMode, UiEditModeDark, UiEllipsis, UiEllipsisBold, UiEllipsisFilled, UiEndpoint, UiEnum, UiEnumMember, UiEnvelope, UiEnvelopeFilled, UiError, UiEvaluateExpression, UiEvaluateExpressionDark, UiEvent, UiException, UiExceptionAnalyzerImportant, UiExceptionAnalyzerImportantDark, UiExceptionDark, UiExcludedGenerated, UiExcludedGeneratedDark, UiExpandAll, UiExport, UiExtension, UiExtensionDark, UiExternalLink, UiEye, UiEyeClosed, UiEyeClosedFilled, UiEyeFilled, UiFactory, UiFactoryFilled, UiFailedInProgress, UiFailedInProgressDark, UiFastForwardCircle, UiFastForwardCircleFilled, UiField, UiField1, UiField1Dark, UiField2, UiField2Dark, UiField3, UiField3Dark, UiField4, UiField4Dark, UiField5, UiField5Dark, UiField6, UiField6Dark, UiFieldProtected, UiFieldReadAccess, UiFieldType, UiFieldWriteAccess, UiFile, UiFileCode, UiFileCodeFilled, UiFileCog, UiFileFilled, UiFileFormat, UiFileFormatDark, UiFileJson, UiFilePlus, UiFilePlusFilled, UiFileSearch, UiFileSpreadsheet, UiFileText, UiFileTextFilled, UiFileType, UiFilter, UiFilterFilled, UiFingerprint, UiFingerprintFilled, UiFlowArrow, UiFlowArrowFilled, UiFolder, UiFolderFilled, UiFolderGit, UiFolderGit2, UiFolderGit2Filled, UiFolderGitFilled, UiForeignServer, UiForeignServerDark, UiForm, UiFormFields, UiFormFilled, UiFormStep, UiFreemarker, UiFreemarkerDark, UiFullscreen, UiFullscreenFilled, UiFunction, UiFunction1, UiFunction1Dark, UiFunction2, UiFunction2Dark, UiFunction3, UiFunction3Dark, UiFunction4, UiFunction4Dark, UiFunctionSquare, UiFunctionSquareFilled, UiFunnelData, UiFunnelDataFilled, UiGatewayApi, UiGavel, UiGavelFilled, UiGearSix, UiGearSixFilled, UiGitBranch, UiGitBranchFilled, UiGitCommit, UiGitCommitFilled, UiGitGraph, UiGitGraphFilled, UiGitMerge, UiGitMergeFilled, UiGitPr, UiGitPrFilled, UiGlobe, UiGlobeShare, UiGraph, UiGraphFilled, UiGreyKey, UiGreyKeyDark, UiGrid, UiGridFilled, UiGroupByModuleGroup, UiGroupByModuleGroupDark, UiGroupByPackage, UiGroupByPackageDark, UiGroupByTestProduction, UiGroupByTestProductionDark, UiHandCoins, UiHandCoinsFilled, UiHandPalm, UiHandPalmFilled, UiHardDrive, UiHibernate, UiHibernateDark, UiHibernateEvent, UiHibernateEventDark, UiHistory, UiHistoryFilled, UiHome, UiHomeFilled, UiHourglass, UiHourglassFilled, UiHubot, UiHubotFilled, UiId, UiIdDark, UiIdentificationCard, UiIdentificationCardFilled, UiImage, UiImageFilled, UiImport, UiImportArrow, UiInbox, UiInboxFilled, UiIndex, UiIndex1, UiIndex1Dark, UiIndex2, UiIndex2Dark, UiIndex3, UiIndex3Dark, UiIndex4, UiIndex4Dark, UiIndex5, UiIndex5Dark, UiIndex6, UiIndex6Dark, UiIndexDark, UiInfo, UiInfoFilled, UiInputField, UiInsertTable, UiInsightAvailability, UiInsightAvailabilityFilled, UiInsightCompliance, UiInsightCost, UiInsightCostFilled, UiInsightIntegration, UiInsightPerformance, UiInsightPerformanceFilled, UiInsightRecommendation, UiInsightRecommendationFilled, UiInsightReliability, UiInsightReliabilityFilled, UiInsightSecurity, UiInsightSecurityFilled, UiInsightTechnicalDebt, UiInsightTechnicalDebtFilled, UiInspectionsGrammar, UiInspectionsGrammarDark, UiInterface, UiInvoice, UiInvoiceFilled, UiJpaAttribute, UiJpaId, UiJpaRelationship, UiJson, UiK8sEndpoint, UiK8sIngress, UiK8sPod, UiK8sService, UiKanban, UiKanbanFilled, UiKey, UiKeyFilled, UiKeyboard, UiKeyboardFilled, UiKeyword, UiKillDataSourceProcess, UiKillDataSourceProcessDark, UiKubeConfigMap, UiKubeDeployment, UiKubeJob, UiKubeNamespace, UiKubePod, UiKubernetesLink, UiLambda, UiLangJava, UiLangJavascript, UiLangPython, UiLayers, UiLayoutDashboard, UiLayoutDashboardFilled, UiLayoutTemplate, UiLayoutWindow, UiLayoutWindowFilled, UiLedger, UiLedgerFilled, UiLightbulb, UiLightbulbFilled, UiLink, UiLinkExternal, UiLinkExternalFilled, UiLinkFilled, UiListChecks, UiListChecksFilled, UiListDashes, UiListDashesFilled, UiListEnd, UiListEndLine, UiListEndLineFilled, UiListFlat, UiListFlatFilled, UiListNumbers, UiListNumbersFilled, UiListOrdered, UiListTree, UiListTreeFilled, UiLoader, UiLoaderFilled, UiLocation, UiLocationFilled, UiLock, UiLockFilled, UiLockKey, UiLockKeyFilled, UiLockOpen, UiLockOpenFilled, UiLogoAnthropic, UiLogoAws, UiLogoAzure, UiLogoAzureDevops, UiLogoClaude, UiLogoDeepseek, UiLogoEslint, UiLogoGemini, UiLogoGit, UiLogoGithub, UiLogoGo, UiLogoGoogle, UiLogoHuggingface, UiLogoJava, UiLogoJest, UiLogoKubernetes, UiLogoMarkdown, UiLogoMeta, UiLogoMistral, UiLogoMssql, UiLogoOllama, UiLogoOpenai, UiLogoOpenjdk, UiLogoOpensearch, UiLogoOpentelemetry, UiLogoOxc, UiLogoPerplexity, UiLogoPlaywright, UiLogoPostgres, UiLogoPython, UiLogoReact, UiLogoRuff, UiLogoSqlite, UiLogoTypescript, UiLogoVitest, UiLowPriority, UiMagicWand, UiMagicWandFilled, UiMarkdown, UiMaterializedLog, UiMaterializedLogDark, UiMemoryProfile, UiMemoryStick, UiMenu, UiMenuFilled, UiMergeQueue, UiMessageQueue, UiMessageQueue1, UiMessageQueue1Dark, UiMethod, UiMethod1, UiMethod10, UiMethod10Dark, UiMethod11, UiMethod11Dark, UiMethod1Dark, UiMethod2, UiMethod2Dark, UiMethod3, UiMethod3Dark, UiMethod4, UiMethod4Dark, UiMethod5, UiMethod5Dark, UiMethod6, UiMethod6Dark, UiMethod7, UiMethod7Dark, UiMethod8, UiMethod8Dark, UiMethod9, UiMethod9Dark, UiMinus, UiMinusFilled, UiModels, UiModelsDark, UiModule, UiModule1, UiModule1Dark, UiMoon, UiMoonFilled, UiName, UiNameDark, UiNamespace, UiNetwork, UiNetworkFilled, UiNull, UiNumeric, UiObject, UiOpenBlock, UiOpenBlockDark, UiOpenScad, UiOperator, UiOperator1, UiOperator1Dark, UiOrganization, UiOrganizationCheck, UiOrganizationCheckFilled, UiOrganizationCross, UiOrganizationCrossFilled, UiOrganizationFilled, UiOrganizationMinus, UiOrganizationMinusFilled, UiOrganizationPlus, UiOrganizationPlusFilled, UiPackage, UiPackageFilled, UiPalette, UiPaletteFilled, UiPaperPlaneRight, UiPaperPlaneRightFilled, UiParameter, UiPartition, UiPartitionDark, UiPass, UiPassFilled, UiPause, UiPauseCircle, UiPauseCircleFilled, UiPencilSimpleLine, UiPencilSimpleLineFilled, UiPending, UiPendingDark, UiPercent, UiPhone, UiPhoneFilled, UiPipelineStage, UiPlay, UiPlayCircle, UiPlayCircleFilled, UiPlaybook, UiPlaylistRemove, UiPlug, UiPluginModule, UiPluginModuleDark, UiPluginV2, UiPluginV2Dark, UiPlugsConnected, UiPlugsConnectedFilled, UiPointcut, UiPointcutDark, UiProcedure, UiProcedureDark, UiProfile, UiProfile1, UiProfile1Dark, UiProfile2, UiProfile2Dark, UiProfile3, UiProfile3Dark, UiProfile4, UiProfile4Dark, UiProfileDark, UiProfiler, UiProfilerBackTrace, UiProfilerMergeCallees, UiProhibit, UiProhibitFilled, UiProjectStructure, UiProjectStructureDark, UiProjection, UiProjectionDark, UiProperty, UiPulse, UiPulseFilled, UiPuzzle, UiPuzzleFilled, UiQuestion, UiQuestionFilled, UiQueue, UiQueueFilled, UiReadAccess, UiReadAccessDark, UiReceipt, UiReceiptFilled, UiRecord, UiRecord1, UiRecord1Dark, UiRefresh, UiRefreshFilled, UiRegex, UiRegexDark, UiRelationship, UiRelationshipDark, UiRelay, UiRelayDark, UiRemove, UiRemoveFilled, UiRepeat, UiRepeatFilled, UiReportForms, UiReportFormsFilled, UiResizeVertical, UiResizeVerticalFilled, UiRestart, UiRobotAi, UiRobotAiFilled, UiRocket, UiRocketFilled, UiRole, UiRoleDark, UiRollback, UiRollbackDark, UiRoute, UiRouteFilled, UiRoutine, UiRoutineDark, UiRows, UiRowsFilled, UiRun, UiRun1, UiRun10, UiRun10Dark, UiRun11, UiRun11Dark, UiRun12, UiRun12Dark, UiRun13, UiRun13Dark, UiRun14, UiRun14Dark, UiRun1Dark, UiRun2, UiRun2Dark, UiRun3, UiRun3Dark, UiRun4, UiRun4Dark, UiRun5, UiRun5Dark, UiRun6, UiRun6Dark, UiRun7, UiRun7Dark, UiRun8, UiRun8Dark, UiRun9, UiRun9Dark, UiRunDark, UiSave, UiSaveFilled, UiScale, UiScan, UiScanFilled, UiScreenTemplate, UiScroll, UiScrollFilled, UiSealCheck, UiSealCheckFilled, UiSearch, UiSecurityRole, UiSecurityRoleDark, UiSelect, UiSelectFilled, UiSequence, UiSequence1, UiSequence1Dark, UiSequence2, UiSequence2Dark, UiSequence3, UiSequence3Dark, UiSequence4, UiSequence4Dark, UiSequenceDark, UiServer, UiServerProcess, UiServerProcessFilled, UiServices, UiSetKey, UiSetKeyDark, UiSeverityBlocker, UiSeverityBlockerFilled, UiSeverityCritical, UiSeverityCriticalFilled, UiSeverityHigh, UiSeverityHighFilled, UiSeverityInfo, UiSeverityInfoFilled, UiSeverityLow, UiSeverityLowFilled, UiSeverityMedium, UiSeverityMediumFilled, UiSeverityWarning, UiSeverityWarningFilled, UiShare, UiShareFilled, UiShield, UiShieldCheck, UiShieldCheckFilled, UiShieldCross, UiShieldCrossFilled, UiShieldFilled, UiShieldInfo, UiShieldInfoFilled, UiShieldMinus, UiShieldMinusFilled, UiShieldPending, UiShieldPendingFilled, UiShieldPlus, UiShieldPlusFilled, UiShieldSlash, UiShieldSlashFilled, UiShieldWarning, UiShieldWarningFilled, UiShipWheel, UiShoppingCart, UiShoppingCartFilled, UiShortcutFilter, UiShortcutFilterDark, UiShowCurrentFrame, UiShowCurrentFrameDark, UiShowMembers, UiShowMembersDark, UiShowToImplement, UiShowToImplementDark, UiSidebar, UiSidebarFilled, UiSigma, UiSignIn, UiSignInFilled, UiSignOut, UiSignOutFilled, UiSiren, UiSirenFilled, UiSkipCircle, UiSkipCircleFilled, UiSkipForward, UiSkipForwardFilled, UiSkull, UiSkullFilled, UiSliders, UiSlidersFilled, UiSortAlphabetically, UiSortAlphabeticallyDark, UiSortByType, UiSortByTypeDark, UiSortByUsage, UiSortByUsageDark, UiSortByVisibility, UiSortByVisibilityDark, UiSparkles, UiSparklesFilled, UiSpeaker, UiSpeakerFilled, UiSpringBoot, UiSpringBootDark, UiSqlArray, UiSqlColumn, UiSqlConstraint, UiSqlDatabase, UiSqlForeignKey, UiSqlFunction, UiSqlIndex, UiSqlPrimaryKey, UiSqlQuery, UiSqlSchema, UiSqlSequence, UiSqlStoredProc, UiSqlTable, UiSqlTableFilled, UiSqlTrigger, UiSqlView, UiSquare, UiSquareFilled, UiStack, UiStackFilled, UiStackFrameDot, UiStackTrace, UiStar, UiStarFilled, UiStartTimer, UiStartTimerDark, UiStatic, UiStaticDark, UiStep, UiStep1, UiStep1Dark, UiStep2, UiStep2Dark, UiStep3, UiStep3Dark, UiStep4, UiStep4Dark, UiStep5, UiStep5Dark, UiStep6, UiStep6Dark, UiStep7, UiStep7Dark, UiStep8, UiStep8Dark, UiStep9, UiStep9Dark, UiStepDark, UiSteps, UiStepsFilled, UiStop, UiStrategy, UiStrategyFilled, UiStream, UiStreamDark, UiStreamKey, UiStreamKeyDark, UiString, UiStruct, UiSubmitDB, UiSubmitDBDark, UiSubscription, UiSubscriptionDark, UiSun, UiSunFilled, UiSwap, UiSymbol, UiSymbolDark, UiSync, UiTable, UiTable1, UiTable10, UiTable10Dark, UiTable11, UiTable11Dark, UiTable12, UiTable12Dark, UiTable1Dark, UiTable2, UiTable2Dark, UiTable3, UiTable3Dark, UiTable4, UiTable4Dark, UiTable5, UiTable5Dark, UiTable6, UiTable6Dark, UiTable7, UiTable7Dark, UiTable8, UiTable8Dark, UiTable9, UiTable9Dark, UiTableFilled, UiTableProperties, UiTablePropertiesFilled, UiTag, UiTagFilled, UiTaskBatch, UiTax, UiTaxFilled, UiTemplate, UiTemplateDark, UiTerminal, UiTerminalFilled, UiTest, UiTest1, UiTest1Dark, UiTest2, UiTest2Dark, UiTest3, UiTest3Dark, UiTest4, UiTest4Dark, UiTest5, UiTest5Dark, UiTest6, UiTest6Dark, UiTest7, UiTest7Dark, UiText, UiTextDark, UiThermometer, UiThermometerFilled, UiThumbsDown, UiThumbsDownFilled, UiThumbsUp, UiThumbsUpFilled, UiTimer, UiTimerFilled, UiTodoList, UiToggleOff, UiToggleOffFilled, UiToggleOn, UiToggleOnFilled, UiTrait, UiTransactionStart, UiTransactionStartDark, UiTrash, UiTrashFilled, UiTrayArrowDown, UiTrayArrowDownFilled, UiTrendDown, UiTrendDownFilled, UiTrendUp, UiTrendUpFilled, UiTypeAlias, UiTypeParameter, UiTypeScriptIndexSignature, UiTypeScriptIndexSignatureDark, UiUndeploy, UiUndeployDark, UiUnknown, UiUpload, UiUploadFilled, UiUser, UiUserCheck, UiUserCheckFilled, UiUserCircle, UiUserCircleCheck, UiUserCircleCheckFilled, UiUserCircleFilled, UiUserCircleMinus, UiUserCircleMinusFilled, UiUserCirclePlus, UiUserCirclePlusFilled, UiUserCog, UiUserFilled, UiUserGear, UiUserGearFilled, UiUserMinus, UiUserMinusFilled, UiUserPlus, UiUserPlusFilled, UiUserSwitch, UiUserSwitchFilled, UiUsersFour, UiUsersFourFilled, UiUsersThree, UiUsersThreeCheck, UiUsersThreeCheckFilled, UiUsersThreeCross, UiUsersThreeCrossFilled, UiUsersThreeFilled, UiUsersThreeMinus, UiUsersThreeMinusFilled, UiUsersThreePlus, UiUsersThreePlusFilled, UiVariable, UiVariable1, UiVariable1Dark, UiVariable2, UiVariable2Dark, UiVariable3, UiVariable3Dark, UiVariable4, UiVariable4Dark, UiVariable5, UiVariable5Dark, UiVariable6, UiVariable6Dark, UiVault, UiVaultFilled, UiVideo, UiVideoFilled, UiVirtualForeignKey, UiVirtualForeignKeyDark, UiWarningCircle, UiWarningCircleFilled, UiWarningTriangle, UiWarningTriangleFilled, UiWatch, UiWatchFilled, UiWebArtifact, UiWebArtifactDark, UiWebLink, UiWebServiceClient, UiWebServiceClientDark, UiWebServiceDefinition, UiWebhook, UiWebhookLine, UiWebhookLineFilled, UiWorkflow, UiWrench, UiWrenchFilled, UiWriteAccess, UiWriteAccessDark, UiXpath, UiXpath1, UiXpath1Dark, UiXpathDark, UiZap, UiZapFilled, UiZoomIn, UiZoomInFilled, UiZoomOut, UiZoomOutFilled, VIOLATION_CONTEXT_LINES, VerificationResults, Version, ViolationLocations, ViolationSnippet, WeightedProfile, WorkloadCard, WorkloadMemoryLegend, WorkloadMemoryStack, WorkloadPanel, aggregateProfile, aggregateStatusCounts, allGroupsTerminal, annotateRoutePaths, answerPrompt, applyFixtureFrontmatterRaw, applyFixtureFrontmatterState, applyTaskOutputDelta, armedFacets, assertCalloutValue, assignAxes, attemptStatus, badgeVariants, baseAccess as baseCallGraphAccess, bucketTasks, buildBrief, buildLintTree, buildLintWizardRequest, buildMarkdownPreviewUrl, buildNodeBrief, buildNodeJson, buildProcessForest, buildSchemaTree, buildSchemaViewerTree, buildStepBranchTree, cacheQueryKeys, callGraphGroupFacts, calloutVariantStyles, callsItself, changeIconAliases, chartColor, chooseTimestampFormat, clearDebugRuntimes, clickyFormatForMarkdownPreview, clickyIconProvider, clockTime, collapseSingleChildChains, collectFolderLintStats, collectFrameworks, collectLintLinters, collectTreeKeys, columnsLayout, compactStackPath, computeLineDiff, countGoroutinesByState, countLintByLinter, countLintBySeverity, countObjectGraphNodes, countProcesses, countStackByState, countThreadsByState, cpuTone, createCacheClient, createCacheRegistry, createChecklistMarkdown, createFenceMarkdown, createTaskSessionFeed, createTestRunnerRegistry, createTimeseriesStream, cycleFilterState, dataMemberAside, dataNodeBacking, dataNodeGlyph, dataNodeStatus, debugCaptureHeaders, debugConsoleAvailable, debugConsoleOpen, debugRuntimes, decodeFilterState, defaultTaskSessionRenderers, deriveProgressBars, detectDumpFormat, diskSeries, emptyLintFilters, emptyLintWizardDraft, emptyTaskStreams, emptyTestFilters, emptyVerifySummary, encodeFilterState, exchangeToHarEntry, expandAllTree, expandServedSeries, facetCountSeries, filterStateToRecord, filterTests, findLintNode, findNodeByRoutePath, findProcessByPID, fixtureFenceKind, fixtureFenceSchemaAliases, fixtureFenceSnippetInfo, fixtureFrontmatterState, flattenForest, folderPattern, formatExclude as formatCallGraphExclude, formatCount, formatCpuPercent, formatDateTimeRelative, formatDelay, formatExportValue, formatGitCommitDateHeader, formatMatrixDuration, formatProcessTimestamp, formatProfileValue, formatPropertyLabel, formatRelativeTime, formatReplicaCounts, formatServerTimingDuration, formatStatementDuration, formatTestDuration, formatTimestamp, frameHasSource, frameLocation, genericCopySections, getChangeIcon, getVersionInfo, gitWebLink, groupRecords, groupStatements, hasFailed, hasHoverMeta, hasPending, humanizeName, iconsByConsumerName, inferColumns, interfaceMethods, isApplicationStackFrame, isAttemptLive, isDataMember, isDataNode, isFailedOrWarn, isFlatMetadata, isGroupCollapsedByDefault, isLeaf, isLinterErrored, isLinterInFlight, isMetadataLink, isProcessExited, isRuntimeFrame, isTerminalStatus, latestFacetReading, latestOf, lintFileActions, lintFolderActions, lintListGroups, lintNodeActions, lintNodeCount, lintNodeSeverity, lintWizardCommand, locationLabel, logLevelColor, markdownDocumentStats, matchesExclude as matchesCallGraphExclude, matchesFilterState, matrixBarClass, matrixMarkKey, memoryTone, mergeAccess, mergeGraph as mergeCallGraph, mergeCopySections, mergeSeries, metadataEntries, mockMarkdownPreview, modeToFormat, normalizeErrorDiagnostics, normalizeLogsTableRows, normalizeStatus, normalizeTags, durationOf as otelDurationOf, searchParams as otelSearchParams, outcomeFor, parseBoundsValue, parseExclude as parseCallGraphExclude, parseCast, parseDiagnosticsStackTrace, parseDurationBoundsValue, parseFixtureFrontmatter, parseFixtureYaml, parseGoroutineDump, parseInlineJsonContextValue, parseJavaStackTrace, parseJvmThreadDump, parseLogSections, parseMultiFilterValue, parseServerTiming, parseStackDump, parseTimestamp, parseUnifiedDiff, policySummary, prefixAdapter, processLabel, processLifetimeMs, processSeries, processStateColor, processStateIcon, profileListingSort, profileSpans, profileTraceListing, profileValueTypes, programmingIconCatalog, pruneExitedProcesses, pruneNullNodes, readSearchValues as readOtelSearchValues, readQuery, readStepDetail, readViolation, recordToFilterState, registerDebugConsole, registerDebugRuntime, repeatsMark, resolveBreakdown, resolveDateMath, resolveFixtureFenceSchema, resolveSelectionActionDisplay, resolveSeries, revealDebugConsole, ringLayout, routeEdges, schemaKeys, segment, serializeBoundsValue, serializeDurationBoundsValue, serializeMultiFilterValue, seriesStats, serverColumnsToDataTableColumns, serverFiltersToFilterBar, serverTimingCounterSummary, serverTimingMetricLabel, setDebugCaptureLevel, setDebugConsoleOpen, setDebugRefreshInspection, setFallbackIconProvider, shortFrameName, shortSha, slugify, splitCommaValues, splitSelectionActions, splitTagToken, stackCheckpoints, stacksThrough, statusToneFor, stringifyFixtureYaml, subscribeToDebugConsole, subscribeToDebugRuntimes, sum, sumNonTaskTests, summarizeVerifyNodes, tagActionsFromRecord, tagFilterTokens, taskConcurrencyMetrics, taskGroupErrorCount, taskGroupErrors, taskGroupJson, taskGroupMarkdown, taskMarkdown, taskMetricSeries, taskPoolMetrics, taskQueryKeys, taskSegments, taskStatusBg, taskStatusColor, taskStatusIcon, testAttemptViews, testLeaves, testStatus, timeseriesStreamAddress, timeseriesStreamGroupKey, timeseriesStreamInterval, timeseriesStreamUrl, timeseriesWindowStart, toggleAccess as toggleCallGraphAccess, toolKeyFor, toolMark, totalDuration, totalLintViolations, updateFilterSelection, urlSelector, useClickyExport, useDebugAction, usePrompts, useSelectDetailTab, useTagActions, useTagActionsValue, useTestRunner, useTimeseriesStream, verificationAdapters, verifyNodeTest, verifyReportCounts, verifyReportTests, violationIgnoreActions, violationTargetGroup, visibleTreeRows, withTaskStreams, workloadKindLabel, workloadStatusLabel, workloadStatusTone, workloadTypeLabel };
@@ -0,0 +1,40 @@
1
+ const require_index = require("../lang/generated/index.cjs");
2
+ const require_ExpressionPlayground = require("./ExpressionPlayground.cjs");
3
+ const require_languages = require("./languages.cjs");
4
+ let react = require("react");
5
+ let react_jsx_runtime = require("react/jsx-runtime");
6
+ // src/expressions/playground/EmbeddedPlayground.tsx
7
+ var NO_EXAMPLES = [];
8
+ /**
9
+ * The full expression playground, for a host that evaluates on its own engine.
10
+ *
11
+ * It owns the three things the playground would otherwise fetch from a gomplate
12
+ * server: the evaluator (the host's), the catalogue (the packaged one) and the
13
+ * examples (the host's, or none). So nothing here makes a request to an
14
+ * endpoint the host does not serve.
15
+ */
16
+ function EmbeddedPlayground({ language, source, input, onSourceChange, evaluate, samples, examples = NO_EXAMPLES, expectation, formatPath, executionMode }) {
17
+ const languages = (0, react.useMemo)(() => [require_languages.languageById(language)], [language]);
18
+ const [initial] = (0, react.useState)(() => ({
19
+ language,
20
+ source,
21
+ input
22
+ }));
23
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ExpressionPlayground.ExpressionPlayground, {
24
+ className: "h-full",
25
+ languages,
26
+ spec: require_index.spec,
27
+ examples,
28
+ evaluate,
29
+ samples,
30
+ formatPath,
31
+ pathInsertion: language === "jsonpath" ? "replace" : "caret",
32
+ defaultValue: initial,
33
+ onChange: (state) => onSourceChange(state.source),
34
+ ...expectation ? { expectation } : {},
35
+ ...executionMode ? { executionMode } : {}
36
+ });
37
+ }
38
+ exports.EmbeddedPlayground = EmbeddedPlayground;
39
+
40
+ //# sourceMappingURL=EmbeddedPlayground.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbeddedPlayground.cjs","names":["useMemo","languageById","useState","ExpressionPlayground"],"sources":["../../../src/expressions/playground/EmbeddedPlayground.tsx"],"sourcesContent":["import { useMemo, useState } from \"react\";\nimport { spec } from \"../lang/index.ts\";\nimport type { EvalRequest, EvalResponse, Example, FormatPath, PlaygroundSample, ResultExpectation } from \"./api.ts\";\nimport { ExpressionPlayground } from \"./ExpressionPlayground.tsx\";\nimport { languageById } from \"./languages.ts\";\n\nconst NO_EXAMPLES: Example[] = [];\n\nexport interface EmbeddedPlaygroundProps {\n /** The one language this embedding writes; there is no switcher. */\n language: \"cel\" | \"jsonpath\";\n /** The expression the editor opens with. */\n source: string;\n /** The document the input pane opens with. */\n input: string;\n /** Called with the expression as it is edited, for the host's Apply. */\n onSourceChange: (source: string) => void;\n /** The host's evaluator: the engine that runs the expression for real. */\n evaluate: (request: EvalRequest) => Promise<EvalResponse>;\n samples: PlaygroundSample[];\n /** \"Load an example\" entries; none by default. */\n examples?: Example[];\n expectation?: ResultExpectation | undefined;\n formatPath: FormatPath;\n /** Explicit leaves evaluation to the Run button. */\n executionMode?: \"automatic\" | \"explicit\";\n}\n\n/**\n * The full expression playground, for a host that evaluates on its own engine.\n *\n * It owns the three things the playground would otherwise fetch from a gomplate\n * server: the evaluator (the host's), the catalogue (the packaged one) and the\n * examples (the host's, or none). So nothing here makes a request to an\n * endpoint the host does not serve.\n */\nexport function EmbeddedPlayground({\n language,\n source,\n input,\n onSourceChange,\n evaluate,\n samples,\n examples = NO_EXAMPLES,\n expectation,\n formatPath,\n executionMode,\n}: EmbeddedPlaygroundProps) {\n const languages = useMemo(() => [languageById(language)], [language]);\n // The starting state only: the playground owns the text from here on, and\n // reports edits through `onSourceChange`.\n const [initial] = useState(() => ({ language, source, input }));\n\n return (\n <ExpressionPlayground\n className=\"h-full\"\n languages={languages}\n spec={spec}\n examples={examples}\n evaluate={evaluate}\n samples={samples}\n formatPath={formatPath}\n pathInsertion={language === \"jsonpath\" ? \"replace\" : \"caret\"}\n defaultValue={initial}\n onChange={(state) => onSourceChange(state.source)}\n {...(expectation ? { expectation } : {})}\n {...(executionMode ? { executionMode } : {})}\n />\n );\n}\n"],"mappings":";;;;;;AAMA,IAAM,cAAyB,CAAC;;;;;;;;;AA8BhC,SAAgB,mBAAmB,EACjC,UACA,QACA,OACA,gBACA,UACA,SACA,WAAW,aACX,aACA,YACA,iBAC0B;CAC1B,MAAM,aAAA,GAAYA,MAAAA,QAAAA,OAAc,CAACC,kBAAAA,aAAa,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC;CAGpE,MAAM,CAAC,YAAA,GAAWC,MAAAA,SAAAA,QAAgB;EAAE;EAAU;EAAQ;CAAM,EAAE;CAE9D,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,6BAAAA,sBAAD;EACE,WAAU;EACC;EACL,MAAA,cAAA;EACI;EACA;EACD;EACG;EACZ,eAAe,aAAa,aAAa,YAAY;EACrD,cAAc;EACd,WAAW,UAAU,eAAe,MAAM,MAAM;EAChD,GAAK,cAAc,EAAE,YAAY,IAAI,CAAC;EACtC,GAAK,gBAAgB,EAAE,cAAc,IAAI,CAAC;CAC3C,CAAA;AAEL"}
@@ -0,0 +1,30 @@
1
+ import { EvalRequest, EvalResponse, Example, FormatPath, PlaygroundSample, ResultExpectation } from './api.js';
2
+ export interface EmbeddedPlaygroundProps {
3
+ /** The one language this embedding writes; there is no switcher. */
4
+ language: "cel" | "jsonpath";
5
+ /** The expression the editor opens with. */
6
+ source: string;
7
+ /** The document the input pane opens with. */
8
+ input: string;
9
+ /** Called with the expression as it is edited, for the host's Apply. */
10
+ onSourceChange: (source: string) => void;
11
+ /** The host's evaluator: the engine that runs the expression for real. */
12
+ evaluate: (request: EvalRequest) => Promise<EvalResponse>;
13
+ samples: PlaygroundSample[];
14
+ /** "Load an example" entries; none by default. */
15
+ examples?: Example[];
16
+ expectation?: ResultExpectation | undefined;
17
+ formatPath: FormatPath;
18
+ /** Explicit leaves evaluation to the Run button. */
19
+ executionMode?: "automatic" | "explicit";
20
+ }
21
+ /**
22
+ * The full expression playground, for a host that evaluates on its own engine.
23
+ *
24
+ * It owns the three things the playground would otherwise fetch from a gomplate
25
+ * server: the evaluator (the host's), the catalogue (the packaged one) and the
26
+ * examples (the host's, or none). So nothing here makes a request to an
27
+ * endpoint the host does not serve.
28
+ */
29
+ export declare function EmbeddedPlayground({ language, source, input, onSourceChange, evaluate, samples, examples, expectation, formatPath, executionMode, }: EmbeddedPlaygroundProps): import("react").JSX.Element;
30
+ //# sourceMappingURL=EmbeddedPlayground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbeddedPlayground.d.ts","sourceRoot":"","sources":["../../../src/expressions/playground/EmbeddedPlayground.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAMpH,MAAM,WAAW,uBAAuB;IACtC,oEAAoE;IACpE,QAAQ,EAAE,KAAK,GAAG,UAAU,CAAC;IAC7B,4CAA4C;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,0EAA0E;IAC1E,QAAQ,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAC,YAAY,CAAC,CAAC;IAC1D,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC5C,UAAU,EAAE,UAAU,CAAC;IACvB,oDAAoD;IACpD,aAAa,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC;CAC1C;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,MAAM,EACN,KAAK,EACL,cAAc,EACd,QAAQ,EACR,OAAO,EACP,QAAsB,EACtB,WAAW,EACX,UAAU,EACV,aAAa,GACd,EAAE,uBAAuB,+BAsBzB"}
@@ -0,0 +1,40 @@
1
+ import { spec } from "../lang/generated/index.js";
2
+ import { ExpressionPlayground } from "./ExpressionPlayground.js";
3
+ import { languageById } from "./languages.js";
4
+ import { useMemo, useState } from "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ // src/expressions/playground/EmbeddedPlayground.tsx
7
+ var NO_EXAMPLES = [];
8
+ /**
9
+ * The full expression playground, for a host that evaluates on its own engine.
10
+ *
11
+ * It owns the three things the playground would otherwise fetch from a gomplate
12
+ * server: the evaluator (the host's), the catalogue (the packaged one) and the
13
+ * examples (the host's, or none). So nothing here makes a request to an
14
+ * endpoint the host does not serve.
15
+ */
16
+ function EmbeddedPlayground({ language, source, input, onSourceChange, evaluate, samples, examples = NO_EXAMPLES, expectation, formatPath, executionMode }) {
17
+ const languages = useMemo(() => [languageById(language)], [language]);
18
+ const [initial] = useState(() => ({
19
+ language,
20
+ source,
21
+ input
22
+ }));
23
+ return /* @__PURE__ */ jsx(ExpressionPlayground, {
24
+ className: "h-full",
25
+ languages,
26
+ spec,
27
+ examples,
28
+ evaluate,
29
+ samples,
30
+ formatPath,
31
+ pathInsertion: language === "jsonpath" ? "replace" : "caret",
32
+ defaultValue: initial,
33
+ onChange: (state) => onSourceChange(state.source),
34
+ ...expectation ? { expectation } : {},
35
+ ...executionMode ? { executionMode } : {}
36
+ });
37
+ }
38
+ export { EmbeddedPlayground };
39
+
40
+ //# sourceMappingURL=EmbeddedPlayground.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbeddedPlayground.js","names":[],"sources":["../../../src/expressions/playground/EmbeddedPlayground.tsx"],"sourcesContent":["import { useMemo, useState } from \"react\";\nimport { spec } from \"../lang/index.ts\";\nimport type { EvalRequest, EvalResponse, Example, FormatPath, PlaygroundSample, ResultExpectation } from \"./api.ts\";\nimport { ExpressionPlayground } from \"./ExpressionPlayground.tsx\";\nimport { languageById } from \"./languages.ts\";\n\nconst NO_EXAMPLES: Example[] = [];\n\nexport interface EmbeddedPlaygroundProps {\n /** The one language this embedding writes; there is no switcher. */\n language: \"cel\" | \"jsonpath\";\n /** The expression the editor opens with. */\n source: string;\n /** The document the input pane opens with. */\n input: string;\n /** Called with the expression as it is edited, for the host's Apply. */\n onSourceChange: (source: string) => void;\n /** The host's evaluator: the engine that runs the expression for real. */\n evaluate: (request: EvalRequest) => Promise<EvalResponse>;\n samples: PlaygroundSample[];\n /** \"Load an example\" entries; none by default. */\n examples?: Example[];\n expectation?: ResultExpectation | undefined;\n formatPath: FormatPath;\n /** Explicit leaves evaluation to the Run button. */\n executionMode?: \"automatic\" | \"explicit\";\n}\n\n/**\n * The full expression playground, for a host that evaluates on its own engine.\n *\n * It owns the three things the playground would otherwise fetch from a gomplate\n * server: the evaluator (the host's), the catalogue (the packaged one) and the\n * examples (the host's, or none). So nothing here makes a request to an\n * endpoint the host does not serve.\n */\nexport function EmbeddedPlayground({\n language,\n source,\n input,\n onSourceChange,\n evaluate,\n samples,\n examples = NO_EXAMPLES,\n expectation,\n formatPath,\n executionMode,\n}: EmbeddedPlaygroundProps) {\n const languages = useMemo(() => [languageById(language)], [language]);\n // The starting state only: the playground owns the text from here on, and\n // reports edits through `onSourceChange`.\n const [initial] = useState(() => ({ language, source, input }));\n\n return (\n <ExpressionPlayground\n className=\"h-full\"\n languages={languages}\n spec={spec}\n examples={examples}\n evaluate={evaluate}\n samples={samples}\n formatPath={formatPath}\n pathInsertion={language === \"jsonpath\" ? \"replace\" : \"caret\"}\n defaultValue={initial}\n onChange={(state) => onSourceChange(state.source)}\n {...(expectation ? { expectation } : {})}\n {...(executionMode ? { executionMode } : {})}\n />\n );\n}\n"],"mappings":";;;;;;AAMA,IAAM,cAAyB,CAAC;;;;;;;;;AA8BhC,SAAgB,mBAAmB,EACjC,UACA,QACA,OACA,gBACA,UACA,SACA,WAAW,aACX,aACA,YACA,iBAC0B;CAC1B,MAAM,YAAY,cAAc,CAAC,aAAa,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC;CAGpE,MAAM,CAAC,WAAW,gBAAgB;EAAE;EAAU;EAAQ;CAAM,EAAE;CAE9D,OACE,oBAAC,sBAAD;EACE,WAAU;EACC;EACL;EACI;EACA;EACD;EACG;EACZ,eAAe,aAAa,aAAa,YAAY;EACrD,cAAc;EACd,WAAW,UAAU,eAAe,MAAM,MAAM;EAChD,GAAK,cAAc,EAAE,YAAY,IAAI,CAAC;EACtC,GAAK,gBAAgB,EAAE,cAAc,IAAI,CAAC;CAC3C,CAAA;AAEL"}
@@ -43,7 +43,7 @@ var EMPTY_STATE = {
43
43
  * reports, so a host's own functions are first-class here without this
44
44
  * component knowing anything about them.
45
45
  */
46
- function ExpressionPlayground({ apiBase = require_api.DEFAULT_API_BASE, languages: offered = require_languages.LANGUAGES, examples, spec: spec$1, evaluate, beforeRun, samples = [], expectation, executionMode, formatPath, value, onChange, defaultValue, className }) {
46
+ function ExpressionPlayground({ apiBase = require_api.DEFAULT_API_BASE, languages: offered = require_languages.LANGUAGES, examples, spec: spec$1, evaluate, beforeRun, samples = [], expectation, executionMode, formatPath, pathInsertion = "caret", value, onChange, defaultValue, className }) {
47
47
  const [uncontrolled, setUncontrolled] = (0, react.useState)(() => defaultValue ?? {
48
48
  ...EMPTY_STATE,
49
49
  language: offered[0]?.id ?? "cel"
@@ -139,18 +139,18 @@ function ExpressionPlayground({ apiBase = require_api.DEFAULT_API_BASE, language
139
139
  require_runAction.registerRunAction(editor, monaco, () => runRef.current());
140
140
  if (editor.getModel()?.uri.toString() === SOURCE_MODEL_PATH) sourceEditor.current = editor;
141
141
  }, [applyTheme]);
142
- /** Writes a path from the object graph where the author last left the caret. */
142
+ /** Writes a path from the object graph where the author last left the caret, or over the whole expression. */
143
143
  const insertExpression = (0, react.useCallback)((expression) => {
144
144
  const editor = sourceEditor.current;
145
- const selection = editor?.getSelection();
146
- if (!editor || !selection) return;
145
+ const range = pathInsertion === "replace" ? editor?.getModel()?.getFullModelRange() : editor?.getSelection();
146
+ if (!editor || !range) return;
147
147
  editor.executeEdits("object-graph", [{
148
- range: selection,
148
+ range,
149
149
  text: expression,
150
150
  forceMoveMarkers: true
151
151
  }]);
152
152
  editor.focus();
153
- }, []);
153
+ }, [pathInsertion]);
154
154
  const catalogue = language.catalogue ? activeSpec[language.catalogue].functions : [];
155
155
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
156
156
  className: `flex h-full min-h-0 ${className ?? ""}`,
@@ -1 +1 @@
1
- {"version":3,"file":"ExpressionPlayground.cjs","names":["DEFAULT_API_BASE","LANGUAGES","useState","useCallback","useMemo","languageById","useEvaluator","useSampleRuns","useParsedInput","useRef","mergeSpec","packagedSpec","spec","registerGomplateLanguages","fetchSpec","fetchExamples","useEditorTheme","VerticalSplit","rowsToPaneHeight","RunControls","Combobox","MonacoEditor","Tabs","ResultView","GraphPanel","TokensPanel","SpecPanel","monacoEditor"],"sources":["../../../src/expressions/playground/ExpressionPlayground.tsx"],"sourcesContent":["import { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { Combobox } from \"../../components/Combobox\";\nimport { Tabs } from \"../../layout/Tabs\";\nimport { MonacoEditor } from \"../../monaco/MonacoEditor\";\nimport type { Monaco } from \"@monaco-editor/react\";\nimport * as monacoEditor from \"monaco-editor\";\n\nimport {\n mergeSpec,\n registerGomplateLanguages,\n spec as packagedSpec,\n} from \"../lang/index.ts\";\nimport type { GomplateSpec, RegisteredLanguages } from \"../lang/index.ts\";\nimport { DEFAULT_API_BASE, fetchExamples, fetchSpec } from \"./api.ts\";\nimport type { EvalRequest, EvalResponse, Example, PlaygroundSample, ResultExpectation } from \"./api.ts\";\nimport { LANGUAGES, languageById } from \"./languages.ts\";\nimport type { PlaygroundLanguage } from \"./languages.ts\";\nimport { GraphPanel } from \"./panels/GraphPanel.tsx\";\nimport { ResultView, type ResultViewId } from \"./panels/ResultView.tsx\";\nimport { SpecPanel } from \"./panels/SpecPanel.tsx\";\nimport { TokensPanel } from \"./panels/TokensPanel.tsx\";\nimport { RunControls } from \"./RunControls.tsx\";\nimport { registerRunAction } from \"./runAction.ts\";\nimport { useEditorTheme } from \"./useEditorTheme.ts\";\nimport { useEvaluator, type Evaluator } from \"./useEvaluator.ts\";\nimport { useParsedInput } from \"./useParsedInput.ts\";\nimport { useSampleRuns } from \"./useSampleRuns.ts\";\nimport { VerticalSplit } from \"./VerticalSplit.tsx\";\nimport { rowsToPaneHeight } from \"./verticalSplitModel\";\n\n/** What the author is editing. Hosts persist this wherever suits them. */\nexport interface PlaygroundState {\n language: string;\n source: string;\n input: string;\n}\n\nexport interface ExpressionPlaygroundProps {\n /**\n * Where the host mounted the playground API. Defaults to `/api`; a host\n * serving it behind a prefix passes that instead.\n */\n apiBase?: string;\n /** Languages offered. Defaults to everything gomplate evaluates. */\n languages?: PlaygroundLanguage[];\n /**\n * Samples to offer. Fetched from the server when omitted, so a host that\n * configured `Options.Examples` needs no prop at all.\n */\n examples?: Example[];\n /** Host catalogue. When supplied, the playground does not fetch /spec. */\n spec?: GomplateSpec;\n /** Host evaluator for runtimes beyond the packaged playground API. */\n evaluate?: (request: EvalRequest, signal: AbortSignal) => Promise<EvalResponse>;\n /**\n * Runs before every run with the evaluations it is about to make -- one for\n * the current input, one per sample for \"All samples\". Return false to cancel.\n */\n beforeRun?: (requests: EvalRequest[]) => boolean | Promise<boolean>;\n /**\n * Inputs the expression should hold for. With two or more, the Result tab\n * offers \"All samples\", which evaluates the expression against each in turn.\n */\n samples?: PlaygroundSample[];\n /** What the result is going into: allowed values, rules and a validator. */\n expectation?: ResultExpectation;\n /** Explicit mode disables evaluation on mount and edits. */\n executionMode?: \"automatic\" | \"explicit\";\n /** Host syntax for paths inserted from the object graph. */\n formatPath?: (segments: Array<string | number>) => string | null;\n /** Controlled state. Pair with `onChange`. */\n value?: PlaygroundState;\n onChange?: (state: PlaygroundState) => void;\n /** Starting state when uncontrolled. */\n defaultValue?: PlaygroundState;\n className?: string;\n}\n\nconst SOURCE_MODEL_PATH = \"inmemory://expressions/source\";\nconst INPUT_MODEL_PATH = \"inmemory://expressions/input.yaml\";\n\nconst EMPTY_STATE: PlaygroundState = { language: \"cel\", source: \"\", input: \"\" };\n\n/**\n * An editor for one expression, the document it runs against, and its result.\n *\n * Deliberately shell-less: it renders the editors and the output panels and\n * nothing around them, so a host frames it with its own navigation. gomplate's\n * playground wraps it in an AppShell with a language rail; an app embedding it\n * in a drawer wraps it in nothing at all.\n *\n * Highlighting, completion and hover come from the catalogue the *server*\n * reports, so a host's own functions are first-class here without this\n * component knowing anything about them.\n */\nexport function ExpressionPlayground({\n apiBase = DEFAULT_API_BASE,\n languages: offered = LANGUAGES,\n examples,\n spec,\n evaluate,\n beforeRun,\n samples = [],\n expectation,\n executionMode,\n formatPath,\n value,\n onChange,\n defaultValue,\n className,\n}: ExpressionPlaygroundProps) {\n const [uncontrolled, setUncontrolled] = useState<PlaygroundState>(\n () => defaultValue ?? { ...EMPTY_STATE, language: offered[0]?.id ?? \"cel\" },\n );\n const state = value ?? uncontrolled;\n\n const update = useCallback(\n (patch: Partial<PlaygroundState>) => {\n const next = { ...state, ...patch };\n if (!value) setUncontrolled(next);\n onChange?.(next);\n },\n [state, value, onChange],\n );\n\n const language = useMemo(\n () => languageById(state.language, offered),\n [state.language, offered],\n );\n const [outputTab, setOutputTab] = useState(\"result\");\n\n const evaluator = useEvaluator(apiBase, {\n language: language.evalLanguage,\n source: state.source,\n input: state.input,\n }, {\n ...(executionMode ? { mode: executionMode } : {}),\n ...(evaluate ? { evaluate } : {}),\n ...(beforeRun ? { beforeRun } : {}),\n });\n\n const [resultView, setResultView] = useState<ResultViewId>(\"input\");\n const sampleRuns = useSampleRuns(apiBase, {\n language: language.evalLanguage,\n source: state.source,\n samples,\n }, {\n ...(evaluate ? { evaluate } : {}),\n ...(beforeRun ? { beforeRun } : {}),\n });\n // Run, its shortcut and the Monaco action all drive whichever result view is\n // showing, so \"run\" never means evaluating something the author cannot see.\n const showingSamples = samples.length > 1 && outputTab === \"result\" && resultView === \"samples\";\n const runner: Evaluator = showingSamples\n ? { ...evaluator, explicit: true, autoRun: false, run: sampleRuns.run, pending: sampleRuns.pending, stale: sampleRuns.stale }\n : evaluator;\n\n // Completion reads the document through a ref: languages are registered once,\n // before the first editor mounts, while the input keeps being edited after.\n const parsedInput = useParsedInput(state.input);\n const environmentRef = useRef<unknown>(undefined);\n environmentRef.current = parsedInput.value;\n\n const [served, setServed] = useState<GomplateSpec>();\n const servedRef = useRef<GomplateSpec>(undefined);\n servedRef.current = served;\n const activeSpec = useMemo(() => mergeSpec(packagedSpec, spec ?? served), [spec, served]);\n\n const [fetched, setFetched] = useState<Example[]>();\n const available = examples ?? fetched ?? [];\n const forLanguage = available.filter(\n (example) => example.language === language.evalLanguage,\n );\n\n // Registration must happen before the first model is created, or Monaco\n // resolves the language id to plaintext and never revisits it. Which of the\n // two lands first is a race -- Monaco loads slowly, the fetch returns fast --\n // so both paths apply the catalogue.\n const registered = useRef<RegisteredLanguages | null>(null);\n const registerLanguages = useCallback((monaco: Monaco) => {\n const current = spec ?? servedRef.current;\n registered.current = registerGomplateLanguages(monaco, {\n environment: () => environmentRef.current,\n ...(current ? { spec: current } : {}),\n });\n }, [spec]);\n\n useEffect(() => {\n if (spec) return;\n const controller = new AbortController();\n void fetchSpec(apiBase, controller.signal).then((next) => {\n if (!controller.signal.aborted) setServed(next);\n });\n return () => controller.abort();\n }, [apiBase, spec]);\n\n useEffect(() => {\n if (spec ?? served) registered.current?.setSpec(spec ?? served);\n }, [spec, served]);\n\n useEffect(() => {\n if (examples) return;\n const controller = new AbortController();\n void fetchExamples(apiBase, controller.signal).then((next) => {\n if (!controller.signal.aborted && next) setFetched(next);\n });\n return () => controller.abort();\n }, [apiBase, examples]);\n\n useMarkers(evaluator.response);\n const applyTheme = useEditorTheme();\n\n useEffect(() => {\n if (outputTab === \"spec\" && !language.catalogue) setOutputTab(\"result\");\n }, [language.catalogue, outputTab]);\n\n // The Monaco action is registered once per editor, so it has to reach the\n // current `run` through a ref rather than capturing it.\n const runRef = useRef(runner.run);\n runRef.current = runner.run;\n const sourceEditor = useRef<Parameters<typeof registerRunAction>[0] | null>(\n null,\n );\n const onEditorMount = useCallback(\n (editor: Parameters<typeof registerRunAction>[0], monaco: Monaco) => {\n applyTheme();\n registerRunAction(editor, monaco, () => runRef.current());\n if (editor.getModel()?.uri.toString() === SOURCE_MODEL_PATH)\n sourceEditor.current = editor;\n },\n [applyTheme],\n );\n\n /** Writes a path from the object graph where the author last left the caret. */\n const insertExpression = useCallback((expression: string) => {\n const editor = sourceEditor.current;\n const selection = editor?.getSelection();\n if (!editor || !selection) return;\n editor.executeEdits(\"object-graph\", [\n { range: selection, text: expression, forceMoveMarkers: true },\n ]);\n editor.focus();\n }, []);\n\n const catalogue = language.catalogue\n ? activeSpec[language.catalogue].functions\n : [];\n\n return (\n <div className={`flex h-full min-h-0 ${className ?? \"\"}`}>\n <div className=\"flex min-h-0 w-1/2 flex-col border-r border-border\">\n <VerticalSplit\n storageKey=\"expressions:editor-split\"\n defaultTopHeight={rowsToPaneHeight(language.editorRows)}\n top={\n <EditorPane\n label=\"Expression\"\n actions={<RunControls evaluator={runner} label={showingSamples ? \"Run all\" : \"Run\"} />}\n hint={\n forLanguage.length > 0 ? (\n <Combobox\n options={forLanguage.map((example) => ({\n value: example.name,\n label: example.name,\n }))}\n value=\"\"\n allowCustomValue={false}\n placeholder=\"Load an example…\"\n ariaLabel=\"Load an example\"\n className=\"w-56\"\n onChange={(name) => {\n const example = forLanguage.find(\n (candidate) => candidate.name === name,\n );\n if (example)\n update({\n source: example.source,\n input: example.input,\n });\n }}\n />\n ) : undefined\n }\n >\n <MonacoEditor\n value={state.source}\n onChange={(source) => update({ source: source ?? \"\" })}\n language={language.editorLanguage}\n path={SOURCE_MODEL_PATH}\n height=\"100%\"\n beforeMount={registerLanguages}\n onMount={onEditorMount}\n />\n </EditorPane>\n }\n bottom={\n <EditorPane\n label=\"Input\"\n hint={\n <span\n className={`truncate text-[11px] ${\n parsedInput.error\n ? \"text-destructive\"\n : \"text-muted-foreground/70\"\n }`}\n title={parsedInput.error ?? undefined}\n >\n {parsedInput.error ?? \"YAML or JSON\"}\n </span>\n }\n >\n <MonacoEditor\n value={state.input}\n onChange={(input) => update({ input: input ?? \"\" })}\n language=\"yaml\"\n path={INPUT_MODEL_PATH}\n height=\"100%\"\n onMount={onEditorMount}\n />\n </EditorPane>\n }\n />\n </div>\n\n <div className=\"flex min-h-0 w-1/2 flex-col\">\n <div className=\"border-b border-border px-4\">\n <Tabs\n tabs={[\n { id: \"result\", label: \"Result\" },\n { id: \"graph\", label: \"Object graph\" },\n { id: \"tokens\", label: \"Tokens\" },\n ...(language.catalogue\n ? [{ id: \"spec\", label: \"Functions\", count: catalogue.length }]\n : []),\n ]}\n value={outputTab}\n onChange={setOutputTab}\n />\n </div>\n\n <div className=\"min-h-0 flex-1\">\n {outputTab === \"result\" ? (\n <ResultView\n view={resultView}\n onViewChange={setResultView}\n evaluator={evaluator}\n sampleRuns={sampleRuns}\n samples={samples}\n expectation={expectation}\n onUseInput={(input) => update({ input })}\n />\n ) : null}\n {outputTab === \"graph\" ? (\n <GraphPanel\n document={parsedInput.value}\n languageId={language.editorLanguage}\n onInsert={insertExpression}\n {...(formatPath ? { formatPath } : {})}\n />\n ) : null}\n {outputTab === \"tokens\" ? (\n <TokensPanel\n source={state.source}\n languageId={language.editorLanguage}\n />\n ) : null}\n {outputTab === \"spec\" && language.catalogue ? (\n <SpecPanel flavour={language.catalogue} spec={activeSpec} />\n ) : null}\n </div>\n </div>\n </div>\n );\n}\n\nfunction EditorPane({\n label,\n hint,\n actions,\n children,\n}: {\n label: string;\n hint?: React.ReactNode;\n actions?: React.ReactNode;\n children: React.ReactNode;\n}) {\n return (\n <section className=\"flex h-full min-h-0 flex-col bg-background\">\n <header className=\"flex h-[33px] shrink-0 items-center justify-between gap-2 px-4 py-2\">\n <div className=\"flex items-baseline gap-2\">\n <h2 className=\"text-xs font-medium uppercase tracking-wide text-muted-foreground\">\n {label}\n </h2>\n {hint}\n </div>\n {actions}\n </header>\n <div className=\"min-h-0 flex-1 [&_[data-slot=monaco-editor]]:h-full [&_[data-slot=monaco-editor]]:rounded-none [&_[data-slot=monaco-editor]]:border-0 [&_[data-slot=monaco-editor]]:border-t\">\n {children}\n </div>\n </section>\n );\n}\n\n/**\n * Mirrors a compile error onto the editor as a marker, so the position the\n * server reported is visible where the mistake is rather than only in the\n * result panel.\n */\nfunction useMarkers(response: EvalResponse | null) {\n useEffect(() => {\n const model = monacoEditor.editor\n .getModels()\n .find((candidate) => candidate.uri.toString() === SOURCE_MODEL_PATH);\n if (!model) return;\n\n const error = response?.error;\n if (!error?.line) {\n monacoEditor.editor.setModelMarkers(model, \"expressions\", []);\n return;\n }\n\n const column = error.column ?? 1;\n monacoEditor.editor.setModelMarkers(model, \"expressions\", [\n {\n severity: monacoEditor.MarkerSeverity.Error,\n message: error.message,\n startLineNumber: error.line,\n startColumn: column,\n endLineNumber: error.line,\n endColumn: column + 1,\n },\n ]);\n }, [response]);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA8EA,IAAM,oBAAoB;AAC1B,IAAM,mBAAmB;AAEzB,IAAM,cAA+B;CAAE,UAAU;CAAO,QAAQ;CAAI,OAAO;AAAG;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}
1
+ {"version":3,"file":"ExpressionPlayground.cjs","names":["DEFAULT_API_BASE","LANGUAGES","useState","useCallback","useMemo","languageById","useEvaluator","useSampleRuns","useParsedInput","useRef","mergeSpec","packagedSpec","spec","registerGomplateLanguages","fetchSpec","fetchExamples","useEditorTheme","VerticalSplit","rowsToPaneHeight","RunControls","Combobox","MonacoEditor","Tabs","ResultView","GraphPanel","TokensPanel","SpecPanel","monacoEditor"],"sources":["../../../src/expressions/playground/ExpressionPlayground.tsx"],"sourcesContent":["import { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { Combobox } from \"../../components/Combobox\";\nimport { Tabs } from \"../../layout/Tabs\";\nimport { MonacoEditor } from \"../../monaco/MonacoEditor\";\nimport type { Monaco } from \"@monaco-editor/react\";\nimport * as monacoEditor from \"monaco-editor\";\n\nimport {\n mergeSpec,\n registerGomplateLanguages,\n spec as packagedSpec,\n} from \"../lang/index.ts\";\nimport type { GomplateSpec, RegisteredLanguages } from \"../lang/index.ts\";\nimport { DEFAULT_API_BASE, fetchExamples, fetchSpec } from \"./api.ts\";\nimport type { EvalRequest, EvalResponse, Example, FormatPath, PlaygroundSample, ResultExpectation } from \"./api.ts\";\nimport { LANGUAGES, languageById } from \"./languages.ts\";\nimport type { PlaygroundLanguage } from \"./languages.ts\";\nimport { GraphPanel } from \"./panels/GraphPanel.tsx\";\nimport { ResultView, type ResultViewId } from \"./panels/ResultView.tsx\";\nimport { SpecPanel } from \"./panels/SpecPanel.tsx\";\nimport { TokensPanel } from \"./panels/TokensPanel.tsx\";\nimport { RunControls } from \"./RunControls.tsx\";\nimport { registerRunAction } from \"./runAction.ts\";\nimport { useEditorTheme } from \"./useEditorTheme.ts\";\nimport { useEvaluator, type Evaluator } from \"./useEvaluator.ts\";\nimport { useParsedInput } from \"./useParsedInput.ts\";\nimport { useSampleRuns } from \"./useSampleRuns.ts\";\nimport { VerticalSplit } from \"./VerticalSplit.tsx\";\nimport { rowsToPaneHeight } from \"./verticalSplitModel\";\n\n/** What the author is editing. Hosts persist this wherever suits them. */\nexport interface PlaygroundState {\n language: string;\n source: string;\n input: string;\n}\n\nexport interface ExpressionPlaygroundProps {\n /**\n * Where the host mounted the playground API. Defaults to `/api`; a host\n * serving it behind a prefix passes that instead.\n */\n apiBase?: string;\n /** Languages offered. Defaults to everything gomplate evaluates. */\n languages?: PlaygroundLanguage[];\n /**\n * Samples to offer. Fetched from the server when omitted, so a host that\n * configured `Options.Examples` needs no prop at all.\n */\n examples?: Example[];\n /** Host catalogue. When supplied, the playground does not fetch /spec. */\n spec?: GomplateSpec;\n /** Host evaluator for runtimes beyond the packaged playground API. */\n evaluate?: (request: EvalRequest, signal: AbortSignal) => Promise<EvalResponse>;\n /**\n * Runs before every run with the evaluations it is about to make -- one for\n * the current input, one per sample for \"All samples\". Return false to cancel.\n */\n beforeRun?: (requests: EvalRequest[]) => boolean | Promise<boolean>;\n /**\n * Inputs the expression should hold for. With two or more, the Result tab\n * offers \"All samples\", which evaluates the expression against each in turn.\n */\n samples?: PlaygroundSample[];\n /** What the result is going into: allowed values, rules and a validator. */\n expectation?: ResultExpectation;\n /** Explicit mode disables evaluation on mount and edits. */\n executionMode?: \"automatic\" | \"explicit\";\n /** Host syntax for paths inserted from the object graph. */\n formatPath?: FormatPath;\n /**\n * Where a path picked in the object graph lands. `caret` (the default) writes\n * it at the cursor, which completes an expression half-written around it;\n * `replace` overwrites the whole expression, for a language whose expression\n * is a path — a JSONPath picked over `$.old` should be `$.new`, not both.\n */\n pathInsertion?: \"caret\" | \"replace\";\n /** Controlled state. Pair with `onChange`. */\n value?: PlaygroundState;\n onChange?: (state: PlaygroundState) => void;\n /** Starting state when uncontrolled. */\n defaultValue?: PlaygroundState;\n className?: string;\n}\n\nconst SOURCE_MODEL_PATH = \"inmemory://expressions/source\";\nconst INPUT_MODEL_PATH = \"inmemory://expressions/input.yaml\";\n\nconst EMPTY_STATE: PlaygroundState = { language: \"cel\", source: \"\", input: \"\" };\n\n/**\n * An editor for one expression, the document it runs against, and its result.\n *\n * Deliberately shell-less: it renders the editors and the output panels and\n * nothing around them, so a host frames it with its own navigation. gomplate's\n * playground wraps it in an AppShell with a language rail; an app embedding it\n * in a drawer wraps it in nothing at all.\n *\n * Highlighting, completion and hover come from the catalogue the *server*\n * reports, so a host's own functions are first-class here without this\n * component knowing anything about them.\n */\nexport function ExpressionPlayground({\n apiBase = DEFAULT_API_BASE,\n languages: offered = LANGUAGES,\n examples,\n spec,\n evaluate,\n beforeRun,\n samples = [],\n expectation,\n executionMode,\n formatPath,\n pathInsertion = \"caret\",\n value,\n onChange,\n defaultValue,\n className,\n}: ExpressionPlaygroundProps) {\n const [uncontrolled, setUncontrolled] = useState<PlaygroundState>(\n () => defaultValue ?? { ...EMPTY_STATE, language: offered[0]?.id ?? \"cel\" },\n );\n const state = value ?? uncontrolled;\n\n const update = useCallback(\n (patch: Partial<PlaygroundState>) => {\n const next = { ...state, ...patch };\n if (!value) setUncontrolled(next);\n onChange?.(next);\n },\n [state, value, onChange],\n );\n\n const language = useMemo(\n () => languageById(state.language, offered),\n [state.language, offered],\n );\n const [outputTab, setOutputTab] = useState(\"result\");\n\n const evaluator = useEvaluator(apiBase, {\n language: language.evalLanguage,\n source: state.source,\n input: state.input,\n }, {\n ...(executionMode ? { mode: executionMode } : {}),\n ...(evaluate ? { evaluate } : {}),\n ...(beforeRun ? { beforeRun } : {}),\n });\n\n const [resultView, setResultView] = useState<ResultViewId>(\"input\");\n const sampleRuns = useSampleRuns(apiBase, {\n language: language.evalLanguage,\n source: state.source,\n samples,\n }, {\n ...(evaluate ? { evaluate } : {}),\n ...(beforeRun ? { beforeRun } : {}),\n });\n // Run, its shortcut and the Monaco action all drive whichever result view is\n // showing, so \"run\" never means evaluating something the author cannot see.\n const showingSamples = samples.length > 1 && outputTab === \"result\" && resultView === \"samples\";\n const runner: Evaluator = showingSamples\n ? { ...evaluator, explicit: true, autoRun: false, run: sampleRuns.run, pending: sampleRuns.pending, stale: sampleRuns.stale }\n : evaluator;\n\n // Completion reads the document through a ref: languages are registered once,\n // before the first editor mounts, while the input keeps being edited after.\n const parsedInput = useParsedInput(state.input);\n const environmentRef = useRef<unknown>(undefined);\n environmentRef.current = parsedInput.value;\n\n const [served, setServed] = useState<GomplateSpec>();\n const servedRef = useRef<GomplateSpec>(undefined);\n servedRef.current = served;\n const activeSpec = useMemo(() => mergeSpec(packagedSpec, spec ?? served), [spec, served]);\n\n const [fetched, setFetched] = useState<Example[]>();\n const available = examples ?? fetched ?? [];\n const forLanguage = available.filter(\n (example) => example.language === language.evalLanguage,\n );\n\n // Registration must happen before the first model is created, or Monaco\n // resolves the language id to plaintext and never revisits it. Which of the\n // two lands first is a race -- Monaco loads slowly, the fetch returns fast --\n // so both paths apply the catalogue.\n const registered = useRef<RegisteredLanguages | null>(null);\n const registerLanguages = useCallback((monaco: Monaco) => {\n const current = spec ?? servedRef.current;\n registered.current = registerGomplateLanguages(monaco, {\n environment: () => environmentRef.current,\n ...(current ? { spec: current } : {}),\n });\n }, [spec]);\n\n useEffect(() => {\n if (spec) return;\n const controller = new AbortController();\n void fetchSpec(apiBase, controller.signal).then((next) => {\n if (!controller.signal.aborted) setServed(next);\n });\n return () => controller.abort();\n }, [apiBase, spec]);\n\n useEffect(() => {\n if (spec ?? served) registered.current?.setSpec(spec ?? served);\n }, [spec, served]);\n\n useEffect(() => {\n if (examples) return;\n const controller = new AbortController();\n void fetchExamples(apiBase, controller.signal).then((next) => {\n if (!controller.signal.aborted && next) setFetched(next);\n });\n return () => controller.abort();\n }, [apiBase, examples]);\n\n useMarkers(evaluator.response);\n const applyTheme = useEditorTheme();\n\n useEffect(() => {\n if (outputTab === \"spec\" && !language.catalogue) setOutputTab(\"result\");\n }, [language.catalogue, outputTab]);\n\n // The Monaco action is registered once per editor, so it has to reach the\n // current `run` through a ref rather than capturing it.\n const runRef = useRef(runner.run);\n runRef.current = runner.run;\n const sourceEditor = useRef<Parameters<typeof registerRunAction>[0] | null>(\n null,\n );\n const onEditorMount = useCallback(\n (editor: Parameters<typeof registerRunAction>[0], monaco: Monaco) => {\n applyTheme();\n registerRunAction(editor, monaco, () => runRef.current());\n if (editor.getModel()?.uri.toString() === SOURCE_MODEL_PATH)\n sourceEditor.current = editor;\n },\n [applyTheme],\n );\n\n /** Writes a path from the object graph where the author last left the caret, or over the whole expression. */\n const insertExpression = useCallback((expression: string) => {\n const editor = sourceEditor.current;\n const range =\n pathInsertion === \"replace\" ? editor?.getModel()?.getFullModelRange() : editor?.getSelection();\n if (!editor || !range) return;\n editor.executeEdits(\"object-graph\", [\n { range, text: expression, forceMoveMarkers: true },\n ]);\n editor.focus();\n }, [pathInsertion]);\n\n const catalogue = language.catalogue\n ? activeSpec[language.catalogue].functions\n : [];\n\n return (\n <div className={`flex h-full min-h-0 ${className ?? \"\"}`}>\n <div className=\"flex min-h-0 w-1/2 flex-col border-r border-border\">\n <VerticalSplit\n storageKey=\"expressions:editor-split\"\n defaultTopHeight={rowsToPaneHeight(language.editorRows)}\n top={\n <EditorPane\n label=\"Expression\"\n actions={<RunControls evaluator={runner} label={showingSamples ? \"Run all\" : \"Run\"} />}\n hint={\n forLanguage.length > 0 ? (\n <Combobox\n options={forLanguage.map((example) => ({\n value: example.name,\n label: example.name,\n }))}\n value=\"\"\n allowCustomValue={false}\n placeholder=\"Load an example…\"\n ariaLabel=\"Load an example\"\n className=\"w-56\"\n onChange={(name) => {\n const example = forLanguage.find(\n (candidate) => candidate.name === name,\n );\n if (example)\n update({\n source: example.source,\n input: example.input,\n });\n }}\n />\n ) : undefined\n }\n >\n <MonacoEditor\n value={state.source}\n onChange={(source) => update({ source: source ?? \"\" })}\n language={language.editorLanguage}\n path={SOURCE_MODEL_PATH}\n height=\"100%\"\n beforeMount={registerLanguages}\n onMount={onEditorMount}\n />\n </EditorPane>\n }\n bottom={\n <EditorPane\n label=\"Input\"\n hint={\n <span\n className={`truncate text-[11px] ${\n parsedInput.error\n ? \"text-destructive\"\n : \"text-muted-foreground/70\"\n }`}\n title={parsedInput.error ?? undefined}\n >\n {parsedInput.error ?? \"YAML or JSON\"}\n </span>\n }\n >\n <MonacoEditor\n value={state.input}\n onChange={(input) => update({ input: input ?? \"\" })}\n language=\"yaml\"\n path={INPUT_MODEL_PATH}\n height=\"100%\"\n onMount={onEditorMount}\n />\n </EditorPane>\n }\n />\n </div>\n\n <div className=\"flex min-h-0 w-1/2 flex-col\">\n <div className=\"border-b border-border px-4\">\n <Tabs\n tabs={[\n { id: \"result\", label: \"Result\" },\n { id: \"graph\", label: \"Object graph\" },\n { id: \"tokens\", label: \"Tokens\" },\n ...(language.catalogue\n ? [{ id: \"spec\", label: \"Functions\", count: catalogue.length }]\n : []),\n ]}\n value={outputTab}\n onChange={setOutputTab}\n />\n </div>\n\n <div className=\"min-h-0 flex-1\">\n {outputTab === \"result\" ? (\n <ResultView\n view={resultView}\n onViewChange={setResultView}\n evaluator={evaluator}\n sampleRuns={sampleRuns}\n samples={samples}\n expectation={expectation}\n onUseInput={(input) => update({ input })}\n />\n ) : null}\n {outputTab === \"graph\" ? (\n <GraphPanel\n document={parsedInput.value}\n languageId={language.editorLanguage}\n onInsert={insertExpression}\n {...(formatPath ? { formatPath } : {})}\n />\n ) : null}\n {outputTab === \"tokens\" ? (\n <TokensPanel\n source={state.source}\n languageId={language.editorLanguage}\n />\n ) : null}\n {outputTab === \"spec\" && language.catalogue ? (\n <SpecPanel flavour={language.catalogue} spec={activeSpec} />\n ) : null}\n </div>\n </div>\n </div>\n );\n}\n\nfunction EditorPane({\n label,\n hint,\n actions,\n children,\n}: {\n label: string;\n hint?: React.ReactNode;\n actions?: React.ReactNode;\n children: React.ReactNode;\n}) {\n return (\n <section className=\"flex h-full min-h-0 flex-col bg-background\">\n <header className=\"flex h-[33px] shrink-0 items-center justify-between gap-2 px-4 py-2\">\n <div className=\"flex items-baseline gap-2\">\n <h2 className=\"text-xs font-medium uppercase tracking-wide text-muted-foreground\">\n {label}\n </h2>\n {hint}\n </div>\n {actions}\n </header>\n <div className=\"min-h-0 flex-1 [&_[data-slot=monaco-editor]]:h-full [&_[data-slot=monaco-editor]]:rounded-none [&_[data-slot=monaco-editor]]:border-0 [&_[data-slot=monaco-editor]]:border-t\">\n {children}\n </div>\n </section>\n );\n}\n\n/**\n * Mirrors a compile error onto the editor as a marker, so the position the\n * server reported is visible where the mistake is rather than only in the\n * result panel.\n */\nfunction useMarkers(response: EvalResponse | null) {\n useEffect(() => {\n const model = monacoEditor.editor\n .getModels()\n .find((candidate) => candidate.uri.toString() === SOURCE_MODEL_PATH);\n if (!model) return;\n\n const error = response?.error;\n if (!error?.line) {\n monacoEditor.editor.setModelMarkers(model, \"expressions\", []);\n return;\n }\n\n const column = error.column ?? 1;\n monacoEditor.editor.setModelMarkers(model, \"expressions\", [\n {\n severity: monacoEditor.MarkerSeverity.Error,\n message: error.message,\n startLineNumber: error.line,\n startColumn: column,\n endLineNumber: error.line,\n endColumn: column + 1,\n },\n ]);\n }, [response]);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAqFA,IAAM,oBAAoB;AAC1B,IAAM,mBAAmB;AAEzB,IAAM,cAA+B;CAAE,UAAU;CAAO,QAAQ;CAAI,OAAO;AAAG;;;;;;;;;;;;;AAc9E,SAAgB,qBAAqB,EACnC,UAAUA,YAAAA,kBACV,WAAW,UAAUC,kBAAAA,WACrB,UACA,MAAA,QACA,UACA,WACA,UAAU,CAAC,GACX,aACA,eACA,YACA,gBAAgB,SAChB,OACA,UACA,cACA,aAC4B;CAC5B,MAAM,CAAC,cAAc,oBAAA,GAAmBC,MAAAA,SAAAA,OAChC,gBAAgB;EAAE,GAAG;EAAa,UAAU,QAAQ,EAAE,EAAE,MAAM;CAAM,CAC5E;CACA,MAAM,QAAQ,SAAS;CAEvB,MAAM,UAAA,GAASC,MAAAA,YAAAA,EACZ,UAAoC;EACnC,MAAM,OAAO;GAAE,GAAG;GAAO,GAAG;EAAM;EAClC,IAAI,CAAC,OAAO,gBAAgB,IAAI;EAChC,WAAW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,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;KAAI,WAAU;KACX,UAAA;IACC,CAAA,GACH,IACE;GACJ,CAAA,GAAA,OACK;EACR,CAAA,GAAA,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;GAAK,WAAU;GACZ;EACE,CAAA,CACE;;AAEb;;;;;;AAOA,SAAS,WAAW,UAA+B;CACjD,CAAA,GAAA,MAAA,UAAA,OAAgB;EACd,MAAM,QAAQC,cAAa,OACxB,UAAU,CAAC,CACX,MAAM,cAAc,UAAU,IAAI,SAAS,MAAM,iBAAiB;EACrE,IAAI,CAAC,OAAO;EAEZ,MAAM,QAAQ,UAAU;EACxB,IAAI,CAAC,OAAO,MAAM;GAChB,cAAa,OAAO,gBAAgB,OAAO,eAAe,CAAC,CAAC;GAC5D;EACF;EAEA,MAAM,SAAS,MAAM,UAAU;EAC/B,cAAa,OAAO,gBAAgB,OAAO,eAAe,CACxD;GACE,UAAUA,cAAa,eAAe;GACtC,SAAS,MAAM;GACf,iBAAiB,MAAM;GACvB,aAAa;GACb,eAAe,MAAM;GACrB,WAAW,SAAS;EACtB,CACF,CAAC;CACH,GAAG,CAAC,QAAQ,CAAC;AACf"}
@@ -1,5 +1,5 @@
1
1
  import { GomplateSpec } from '../lang/index.js';
2
- import { EvalRequest, EvalResponse, Example, PlaygroundSample, ResultExpectation } from './api.js';
2
+ import { EvalRequest, EvalResponse, Example, FormatPath, PlaygroundSample, ResultExpectation } from './api.js';
3
3
  import { PlaygroundLanguage } from './languages.js';
4
4
  /** What the author is editing. Hosts persist this wherever suits them. */
5
5
  export interface PlaygroundState {
@@ -39,7 +39,14 @@ export interface ExpressionPlaygroundProps {
39
39
  /** Explicit mode disables evaluation on mount and edits. */
40
40
  executionMode?: "automatic" | "explicit";
41
41
  /** Host syntax for paths inserted from the object graph. */
42
- formatPath?: (segments: Array<string | number>) => string | null;
42
+ formatPath?: FormatPath;
43
+ /**
44
+ * Where a path picked in the object graph lands. `caret` (the default) writes
45
+ * it at the cursor, which completes an expression half-written around it;
46
+ * `replace` overwrites the whole expression, for a language whose expression
47
+ * is a path — a JSONPath picked over `$.old` should be `$.new`, not both.
48
+ */
49
+ pathInsertion?: "caret" | "replace";
43
50
  /** Controlled state. Pair with `onChange`. */
44
51
  value?: PlaygroundState;
45
52
  onChange?: (state: PlaygroundState) => void;
@@ -59,5 +66,5 @@ export interface ExpressionPlaygroundProps {
59
66
  * reports, so a host's own functions are first-class here without this
60
67
  * component knowing anything about them.
61
68
  */
62
- export declare function ExpressionPlayground({ apiBase, languages: offered, examples, spec, evaluate, beforeRun, samples, expectation, executionMode, formatPath, value, onChange, defaultValue, className, }: ExpressionPlaygroundProps): import("react").JSX.Element;
69
+ export declare function ExpressionPlayground({ apiBase, languages: offered, examples, spec, evaluate, beforeRun, samples, expectation, executionMode, formatPath, pathInsertion, value, onChange, defaultValue, className, }: ExpressionPlaygroundProps): import("react").JSX.Element;
63
70
  //# sourceMappingURL=ExpressionPlayground.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpressionPlayground.d.ts","sourceRoot":"","sources":["../../../src/expressions/playground/ExpressionPlayground.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAuB,MAAM,kBAAkB,CAAC;AAE1E,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAExG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAczD,0EAA0E;AAC1E,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;I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,EAAE,eAAe,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IAC5C,wCAAwC;IACxC,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,OAA0B,EAC1B,SAAS,EAAE,OAAmB,EAC9B,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,OAAY,EACZ,WAAW,EACX,aAAa,EACb,UAAU,EACV,aAAuB,EACvB,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,SAAS,GACV,EAAE,yBAAyB,+BAwQ3B"}
@@ -41,7 +41,7 @@ var EMPTY_STATE = {
41
41
  * reports, so a host's own functions are first-class here without this
42
42
  * component knowing anything about them.
43
43
  */
44
- function ExpressionPlayground({ apiBase = DEFAULT_API_BASE, languages: offered = LANGUAGES, examples, spec: spec$1, evaluate, beforeRun, samples = [], expectation, executionMode, formatPath, value, onChange, defaultValue, className }) {
44
+ function ExpressionPlayground({ apiBase = DEFAULT_API_BASE, languages: offered = LANGUAGES, examples, spec: spec$1, evaluate, beforeRun, samples = [], expectation, executionMode, formatPath, pathInsertion = "caret", value, onChange, defaultValue, className }) {
45
45
  const [uncontrolled, setUncontrolled] = useState(() => defaultValue ?? {
46
46
  ...EMPTY_STATE,
47
47
  language: offered[0]?.id ?? "cel"
@@ -137,18 +137,18 @@ function ExpressionPlayground({ apiBase = DEFAULT_API_BASE, languages: offered =
137
137
  registerRunAction(editor, monaco, () => runRef.current());
138
138
  if (editor.getModel()?.uri.toString() === SOURCE_MODEL_PATH) sourceEditor.current = editor;
139
139
  }, [applyTheme]);
140
- /** Writes a path from the object graph where the author last left the caret. */
140
+ /** Writes a path from the object graph where the author last left the caret, or over the whole expression. */
141
141
  const insertExpression = useCallback((expression) => {
142
142
  const editor = sourceEditor.current;
143
- const selection = editor?.getSelection();
144
- if (!editor || !selection) return;
143
+ const range = pathInsertion === "replace" ? editor?.getModel()?.getFullModelRange() : editor?.getSelection();
144
+ if (!editor || !range) return;
145
145
  editor.executeEdits("object-graph", [{
146
- range: selection,
146
+ range,
147
147
  text: expression,
148
148
  forceMoveMarkers: true
149
149
  }]);
150
150
  editor.focus();
151
- }, []);
151
+ }, [pathInsertion]);
152
152
  const catalogue = language.catalogue ? activeSpec[language.catalogue].functions : [];
153
153
  return /* @__PURE__ */ jsxs("div", {
154
154
  className: `flex h-full min-h-0 ${className ?? ""}`,