@icen.ai/ui 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/AGENTS.md +79 -309
  2. package/LICENSE +21 -0
  3. package/README.md +43 -54
  4. package/dist/base.css +57 -16
  5. package/dist/behaviors/accordion.mjs +1 -1
  6. package/dist/behaviors/ai-branch.mjs +1 -0
  7. package/dist/behaviors/ai-chat.d.mts +2 -2
  8. package/dist/behaviors/ai-chat.mjs +53 -10
  9. package/dist/behaviors/ai-composer.d.mts +5 -5
  10. package/dist/behaviors/ai-composer.mjs +21 -10
  11. package/dist/behaviors/ai-core.mjs +1 -0
  12. package/dist/behaviors/ai-diff.mjs +1 -0
  13. package/dist/behaviors/ai-feedback.mjs +1 -0
  14. package/dist/behaviors/ai-panel.d.mts +2 -2
  15. package/dist/behaviors/ai-panel.mjs +1 -0
  16. package/dist/behaviors/ai-provider.d.mts +1 -1
  17. package/dist/behaviors/ai-provider.mjs +1 -0
  18. package/dist/behaviors/ai-threads.mjs +1 -0
  19. package/dist/behaviors/ai-tool.d.mts +1 -1
  20. package/dist/behaviors/ai-tool.mjs +57 -24
  21. package/dist/behaviors/ai-tools.mjs +937 -28
  22. package/dist/behaviors/autocomplete.d.mts +1 -1
  23. package/dist/behaviors/autocomplete.mjs +1 -0
  24. package/dist/behaviors/back-top.mjs +1 -0
  25. package/dist/behaviors/carousel.mjs +8 -1
  26. package/dist/behaviors/cascader.mjs +14 -0
  27. package/dist/behaviors/charts.mjs +56 -20
  28. package/dist/behaviors/code-block.mjs +9 -1
  29. package/dist/behaviors/command-palette.mjs +3 -3
  30. package/dist/behaviors/context-menu.d.mts +2 -2
  31. package/dist/behaviors/context-menu.mjs +1 -0
  32. package/dist/behaviors/controls.d.mts +8 -8
  33. package/dist/behaviors/controls.mjs +37 -6
  34. package/dist/behaviors/copy.mjs +1 -0
  35. package/dist/behaviors/datatable.d.mts +3 -3
  36. package/dist/behaviors/datatable.mjs +76 -11
  37. package/dist/behaviors/date-picker.mjs +1 -0
  38. package/dist/behaviors/events.d.mts +10 -10
  39. package/dist/behaviors/events.mjs +11 -1
  40. package/dist/behaviors/form-validate.d.mts +10 -1
  41. package/dist/behaviors/form-validate.mjs +266 -4611
  42. package/dist/behaviors/i18n.d.mts +1 -0
  43. package/dist/behaviors/i18n.mjs +2 -0
  44. package/dist/behaviors/input.mjs +3 -0
  45. package/dist/behaviors/kb-access.d.mts +2 -2
  46. package/dist/behaviors/kb-access.mjs +8 -2
  47. package/dist/behaviors/kb-acl.d.mts +2 -2
  48. package/dist/behaviors/kb-acl.mjs +1 -0
  49. package/dist/behaviors/kb-answer.d.mts +2 -2
  50. package/dist/behaviors/kb-answer.mjs +56 -23
  51. package/dist/behaviors/kb-audit.d.mts +2 -2
  52. package/dist/behaviors/kb-audit.mjs +1 -0
  53. package/dist/behaviors/kb-canvas.d.mts +3 -3
  54. package/dist/behaviors/kb-canvas.mjs +1 -0
  55. package/dist/behaviors/kb-chain.d.mts +2 -2
  56. package/dist/behaviors/kb-chain.mjs +1 -0
  57. package/dist/behaviors/kb-checkpoint.d.mts +2 -2
  58. package/dist/behaviors/kb-checkpoint.mjs +1 -0
  59. package/dist/behaviors/kb-chunks.d.mts +2 -2
  60. package/dist/behaviors/kb-chunks.mjs +1 -0
  61. package/dist/behaviors/kb-citation.d.mts +2 -2
  62. package/dist/behaviors/kb-citation.mjs +20 -6
  63. package/dist/behaviors/kb-clarify.d.mts +2 -2
  64. package/dist/behaviors/kb-clarify.mjs +1 -0
  65. package/dist/behaviors/kb-conflict.d.mts +2 -2
  66. package/dist/behaviors/kb-conflict.mjs +1 -0
  67. package/dist/behaviors/kb-connector.d.mts +2 -2
  68. package/dist/behaviors/kb-connector.mjs +1 -0
  69. package/dist/behaviors/kb-core.d.mts +1 -1
  70. package/dist/behaviors/kb-core.mjs +1 -0
  71. package/dist/behaviors/kb-eval.d.mts +2 -2
  72. package/dist/behaviors/kb-eval.mjs +8 -2
  73. package/dist/behaviors/kb-explain.d.mts +2 -2
  74. package/dist/behaviors/kb-explain.mjs +13 -2
  75. package/dist/behaviors/kb-filter.d.mts +2 -2
  76. package/dist/behaviors/kb-filter.mjs +8 -2
  77. package/dist/behaviors/kb-gap.d.mts +2 -2
  78. package/dist/behaviors/kb-gap.mjs +1 -0
  79. package/dist/behaviors/kb-hittest.d.mts +2 -2
  80. package/dist/behaviors/kb-hittest.mjs +2 -1
  81. package/dist/behaviors/kb-metadata.mjs +6 -0
  82. package/dist/behaviors/kb-passage.d.mts +2 -2
  83. package/dist/behaviors/kb-passage.mjs +1 -0
  84. package/dist/behaviors/kb-pipeline.d.mts +2 -2
  85. package/dist/behaviors/kb-pipeline.mjs +1 -0
  86. package/dist/behaviors/kb-qa.mjs +1 -0
  87. package/dist/behaviors/kb-rerank.d.mts +2 -2
  88. package/dist/behaviors/kb-rerank.mjs +1 -0
  89. package/dist/behaviors/kb-retrieval.d.mts +2 -2
  90. package/dist/behaviors/kb-retrieval.mjs +18 -4
  91. package/dist/behaviors/kb-review.d.mts +2 -2
  92. package/dist/behaviors/kb-review.mjs +8 -2
  93. package/dist/behaviors/kb-sandbox.d.mts +2 -2
  94. package/dist/behaviors/kb-sandbox.mjs +7 -1
  95. package/dist/behaviors/kb-segment.d.mts +2 -2
  96. package/dist/behaviors/kb-segment.mjs +2 -1
  97. package/dist/behaviors/kb-select.mjs +8 -2
  98. package/dist/behaviors/kb-sources.d.mts +2 -2
  99. package/dist/behaviors/kb-sources.mjs +1 -0
  100. package/dist/behaviors/kb-sql.d.mts +2 -2
  101. package/dist/behaviors/kb-sql.mjs +1 -0
  102. package/dist/behaviors/kb-trace.d.mts +2 -2
  103. package/dist/behaviors/kb-trace.mjs +9 -3
  104. package/dist/behaviors/kb-visibility.d.mts +2 -2
  105. package/dist/behaviors/kb-visibility.mjs +1 -0
  106. package/dist/behaviors/kb-who-can.d.mts +2 -2
  107. package/dist/behaviors/kb-who-can.mjs +8 -2
  108. package/dist/behaviors/mentions.d.mts +1 -1
  109. package/dist/behaviors/mentions.mjs +1 -0
  110. package/dist/behaviors/modal.d.mts +1 -1
  111. package/dist/behaviors/modal.mjs +1 -0
  112. package/dist/behaviors/notification.d.mts +2 -2
  113. package/dist/behaviors/notification.mjs +14 -3
  114. package/dist/behaviors/panel.mjs +1 -0
  115. package/dist/behaviors/scroll-area.d.mts +17 -0
  116. package/dist/behaviors/scroll-area.mjs +59 -0
  117. package/dist/behaviors/select.mjs +8 -2
  118. package/dist/behaviors/slider.mjs +3 -3
  119. package/dist/behaviors/split-pane.mjs +2 -0
  120. package/dist/behaviors/suggestions.mjs +1 -0
  121. package/dist/behaviors/tabs.mjs +10 -0
  122. package/dist/behaviors/tag-input.mjs +1 -0
  123. package/dist/behaviors/theme-switcher.d.mts +2 -2
  124. package/dist/behaviors/theme-switcher.mjs +17 -2
  125. package/dist/behaviors/theme.mjs +16 -2
  126. package/dist/behaviors/toast.d.mts +2 -2
  127. package/dist/behaviors/toast.mjs +1 -0
  128. package/dist/behaviors/tree-select.mjs +14 -0
  129. package/dist/behaviors/tree.mjs +4 -4
  130. package/dist/behaviors/upload.mjs +1 -0
  131. package/dist/behaviors/url-safety.d.mts +8 -0
  132. package/dist/behaviors/url-safety.mjs +11 -0
  133. package/dist/components/accordion.d.mts +2 -0
  134. package/dist/components/ai-branch.d.mts +2 -0
  135. package/dist/components/ai-chat.css +40 -33
  136. package/dist/components/ai-chat.d.mts +2 -0
  137. package/dist/components/ai-composer.d.mts +2 -0
  138. package/dist/components/ai-context.d.mts +2 -0
  139. package/dist/components/ai-context.mjs +1 -0
  140. package/dist/components/ai-diff.css +6 -6
  141. package/dist/components/ai-diff.d.mts +2 -0
  142. package/dist/components/ai-feedback.d.mts +2 -0
  143. package/dist/components/ai-files.d.mts +2 -0
  144. package/dist/components/ai-message.d.mts +2 -0
  145. package/dist/components/ai-panel.css +12 -10
  146. package/dist/components/ai-reasoning.d.mts +2 -0
  147. package/dist/components/ai-subagent.d.mts +2 -0
  148. package/dist/components/ai-subagent.mjs +1 -0
  149. package/dist/components/ai-threads.d.mts +2 -0
  150. package/dist/components/ai-todo.d.mts +2 -0
  151. package/dist/components/ai-todo.mjs +1 -0
  152. package/dist/components/ai-tool-call.d.mts +2 -0
  153. package/dist/components/ai-tool-call.mjs +1 -0
  154. package/dist/components/ai-tool.css +16 -16
  155. package/dist/components/ai-usage.d.mts +2 -0
  156. package/dist/components/alert.d.mts +2 -0
  157. package/dist/components/autocomplete.css +12 -12
  158. package/dist/components/autocomplete.d.mts +2 -0
  159. package/dist/components/avatar.d.mts +2 -0
  160. package/dist/components/back-top.css +47 -16
  161. package/dist/components/back-top.d.mts +2 -0
  162. package/dist/components/badge.css +1 -1
  163. package/dist/components/badge.d.mts +2 -0
  164. package/dist/components/breadcrumb.css +26 -8
  165. package/dist/components/breadcrumb.d.mts +2 -0
  166. package/dist/components/btn.css +67 -62
  167. package/dist/components/btn.d.mts +2 -0
  168. package/dist/components/card.css +22 -22
  169. package/dist/components/card.d.mts +2 -0
  170. package/dist/components/carousel.d.mts +2 -0
  171. package/dist/components/cascader.css +56 -35
  172. package/dist/components/cascader.d.mts +2 -0
  173. package/dist/components/chart-area.css +46 -0
  174. package/dist/components/chart-area.d.mts +2 -0
  175. package/dist/components/chart-bar.css +66 -19
  176. package/dist/components/chart-bar.d.mts +2 -0
  177. package/dist/components/chart-calendar.d.mts +2 -0
  178. package/dist/components/chart-gauge.css +23 -3
  179. package/dist/components/chart-gauge.d.mts +2 -0
  180. package/dist/components/chart-graph.css +15 -3
  181. package/dist/components/chart-graph.d.mts +2 -0
  182. package/dist/components/chart-heatmap.css +117 -95
  183. package/dist/components/chart-heatmap.d.mts +2 -0
  184. package/dist/components/chart-line.css +54 -0
  185. package/dist/components/chart-line.d.mts +2 -0
  186. package/dist/components/chart-map.d.mts +2 -0
  187. package/dist/components/chart-pie.css +29 -0
  188. package/dist/components/chart-pie.d.mts +2 -0
  189. package/dist/components/chart-radar.css +50 -1
  190. package/dist/components/chart-radar.d.mts +2 -0
  191. package/dist/components/chart-scatter.css +39 -2
  192. package/dist/components/chart-scatter.d.mts +2 -0
  193. package/dist/components/chart-sparkline.css +20 -0
  194. package/dist/components/chart-sparkline.d.mts +2 -0
  195. package/dist/components/chart-stack.css +16 -5
  196. package/dist/components/chart-stack.d.mts +2 -0
  197. package/dist/components/charts.css +80 -35
  198. package/dist/components/charts.d.mts +2 -0
  199. package/dist/components/code-block.css +10 -8
  200. package/dist/components/code-block.d.mts +2 -0
  201. package/dist/components/command-palette.css +45 -38
  202. package/dist/components/command-palette.d.mts +2 -0
  203. package/dist/components/content.css +62 -57
  204. package/dist/components/context-menu.d.mts +2 -0
  205. package/dist/components/copy.css +10 -10
  206. package/dist/components/copy.d.mts +2 -0
  207. package/dist/components/datatable.css +72 -59
  208. package/dist/components/datatable.d.mts +2 -0
  209. package/dist/components/date-picker.css +26 -26
  210. package/dist/components/date-picker.d.mts +2 -0
  211. package/dist/components/desc.d.mts +2 -0
  212. package/dist/components/dropdown.d.mts +2 -0
  213. package/dist/components/empty.css +16 -16
  214. package/dist/components/empty.d.mts +2 -0
  215. package/dist/components/feedback.css +31 -29
  216. package/dist/components/form-validate.css +20 -6
  217. package/dist/components/form-validate.d.mts +2 -0
  218. package/dist/components/form.css +17 -14
  219. package/dist/components/form.d.mts +2 -0
  220. package/dist/components/icon.css +21 -10
  221. package/dist/components/icon.d.mts +2 -0
  222. package/dist/components/input.css +22 -22
  223. package/dist/components/input.d.mts +2 -0
  224. package/dist/components/kb-access.d.mts +2 -0
  225. package/dist/components/kb-acl.d.mts +2 -0
  226. package/dist/components/kb-agent.css +134 -55
  227. package/dist/components/kb-answer.d.mts +2 -0
  228. package/dist/components/kb-audit.d.mts +2 -0
  229. package/dist/components/kb-canvas.d.mts +2 -0
  230. package/dist/components/kb-chain.d.mts +2 -0
  231. package/dist/components/kb-checkpoint.d.mts +2 -0
  232. package/dist/components/kb-chunks.d.mts +2 -0
  233. package/dist/components/kb-citation.d.mts +2 -0
  234. package/dist/components/kb-clarify.d.mts +2 -0
  235. package/dist/components/kb-conflict.d.mts +2 -0
  236. package/dist/components/kb-connector.d.mts +2 -0
  237. package/dist/components/kb-data.css +192 -80
  238. package/dist/components/kb-eval.d.mts +2 -0
  239. package/dist/components/kb-explain.d.mts +2 -0
  240. package/dist/components/kb-filter.d.mts +2 -0
  241. package/dist/components/kb-gap.d.mts +2 -0
  242. package/dist/components/kb-ground.css +165 -73
  243. package/dist/components/kb-hittest.d.mts +2 -0
  244. package/dist/components/kb-ingest.css +308 -113
  245. package/dist/components/kb-metadata.d.mts +2 -0
  246. package/dist/components/kb-ops.css +189 -75
  247. package/dist/components/kb-passage.d.mts +2 -0
  248. package/dist/components/kb-perm.css +158 -87
  249. package/dist/components/kb-pipeline.d.mts +2 -0
  250. package/dist/components/kb-qa.d.mts +2 -0
  251. package/dist/components/kb-rerank.d.mts +2 -0
  252. package/dist/components/kb-retrieval.d.mts +2 -0
  253. package/dist/components/kb-review.d.mts +2 -0
  254. package/dist/components/kb-sandbox.d.mts +2 -0
  255. package/dist/components/kb-search.css +353 -116
  256. package/dist/components/kb-segment.d.mts +2 -0
  257. package/dist/components/kb-sources.d.mts +2 -0
  258. package/dist/components/kb-sql.d.mts +2 -0
  259. package/dist/components/kb-trace.d.mts +2 -0
  260. package/dist/components/kb-visibility.d.mts +2 -0
  261. package/dist/components/kb-who-can.d.mts +2 -0
  262. package/dist/components/kb.css +60 -36
  263. package/dist/components/kb.d.mts +2 -0
  264. package/dist/components/kbd.d.mts +2 -0
  265. package/dist/components/layout.css +10 -10
  266. package/dist/components/layout.d.mts +2 -0
  267. package/dist/components/list.d.mts +2 -0
  268. package/dist/components/material-chinese.css +10 -0
  269. package/dist/components/material-soviet.css +10 -0
  270. package/dist/components/material.css +61 -18
  271. package/dist/components/media-card.d.mts +2 -0
  272. package/dist/components/media.css +22 -27
  273. package/dist/components/mentions.css +18 -17
  274. package/dist/components/mentions.d.mts +2 -0
  275. package/dist/components/menu.css +32 -28
  276. package/dist/components/modal.css +30 -27
  277. package/dist/components/modal.d.mts +2 -0
  278. package/dist/components/nav.css +48 -44
  279. package/dist/components/nav.d.mts +2 -0
  280. package/dist/components/notification.css +31 -25
  281. package/dist/components/notification.d.mts +2 -0
  282. package/dist/components/pagination.css +15 -13
  283. package/dist/components/pagination.d.mts +2 -0
  284. package/dist/components/panel.css +19 -20
  285. package/dist/components/panel.d.mts +2 -0
  286. package/dist/components/pill.css +8 -7
  287. package/dist/components/pill.d.mts +2 -0
  288. package/dist/components/popover.css +32 -23
  289. package/dist/components/popover.d.mts +2 -0
  290. package/dist/components/progress.d.mts +2 -0
  291. package/dist/components/rating.d.mts +2 -0
  292. package/dist/components/result.d.mts +2 -0
  293. package/dist/components/scroll-area.css +84 -112
  294. package/dist/components/scroll-area.d.mts +2 -0
  295. package/dist/components/scroll-area.mjs +1 -0
  296. package/dist/components/segmented.css +47 -29
  297. package/dist/components/segmented.d.mts +2 -0
  298. package/dist/components/select.css +80 -41
  299. package/dist/components/select.d.mts +2 -0
  300. package/dist/components/sidebar.css +42 -38
  301. package/dist/components/sidebar.d.mts +2 -0
  302. package/dist/components/skeleton.d.mts +2 -0
  303. package/dist/components/slider.css +26 -22
  304. package/dist/components/slider.d.mts +2 -0
  305. package/dist/components/spinner.d.mts +2 -0
  306. package/dist/components/split-pane.css +16 -7
  307. package/dist/components/split-pane.d.mts +2 -0
  308. package/dist/components/stat.css +17 -16
  309. package/dist/components/stat.d.mts +2 -0
  310. package/dist/components/steps.css +26 -26
  311. package/dist/components/steps.d.mts +2 -0
  312. package/dist/components/switch.css +78 -39
  313. package/dist/components/switch.d.mts +2 -0
  314. package/dist/components/table.css +54 -32
  315. package/dist/components/table.d.mts +2 -0
  316. package/dist/components/tabs.css +53 -32
  317. package/dist/components/tabs.d.mts +2 -0
  318. package/dist/components/tag-input.css +12 -8
  319. package/dist/components/tag-input.d.mts +2 -0
  320. package/dist/components/tag.css +20 -12
  321. package/dist/components/tag.d.mts +2 -0
  322. package/dist/components/theme-switcher.css +7 -7
  323. package/dist/components/theme-switcher.d.mts +2 -0
  324. package/dist/components/timeline.d.mts +2 -0
  325. package/dist/components/toast.css +34 -30
  326. package/dist/components/toast.d.mts +2 -0
  327. package/dist/components/toolbar.css +19 -18
  328. package/dist/components/toolbar.d.mts +2 -0
  329. package/dist/components/tooltip.css +9 -8
  330. package/dist/components/tooltip.d.mts +2 -0
  331. package/dist/components/tree-select.css +63 -40
  332. package/dist/components/tree-select.d.mts +2 -0
  333. package/dist/components/tree.d.mts +2 -0
  334. package/dist/components/upload.css +9 -11
  335. package/dist/components/upload.d.mts +2 -0
  336. package/dist/index.d.mts +85 -84
  337. package/dist/index.mjs +14764 -14311
  338. package/dist/react.d.mts +18 -18
  339. package/dist/react.mjs +135 -36
  340. package/dist/registry.json +795 -64
  341. package/dist/tokens/colors.css +6 -0
  342. package/dist/tokens/design.css +130 -30
  343. package/dist/tokens/dtcg.json +6189 -1461
  344. package/dist/tokens/figma.variables.json +4107 -345
  345. package/dist/tokens/pixel.css +3 -0
  346. package/dist/tokens/scrollbars.css +40 -0
  347. package/dist/tokens/tokens-studio.json +5191 -271
  348. package/dist/tokens.css +304 -81
  349. package/dist/ui.css +4050 -2148
  350. package/dist/vue.d.mts +17 -17
  351. package/dist/vue.mjs +129 -34
  352. package/docs/spec/design-philosophy.md +5 -5
  353. package/docs/spec/design-primitives.md +10 -10
  354. package/docs/spec/scrollbars.md +46 -0
  355. package/package.json +16 -3
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@icen.ai/ui",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "tokens": [
5
5
  "colors.css",
6
+ "scrollbars.css",
6
7
  "style-profiles.css",
7
8
  "typography.css",
8
9
  "design.css",
@@ -91,6 +92,84 @@
91
92
  "tree-select",
92
93
  "upload"
93
94
  ],
95
+ "tiers": {
96
+ "autocomplete": "core",
97
+ "back-top": "core",
98
+ "badge": "core",
99
+ "breadcrumb": "core",
100
+ "btn": "core",
101
+ "card": "core",
102
+ "cascader": "core",
103
+ "code-block": "core",
104
+ "command-palette": "core",
105
+ "content": "core",
106
+ "copy": "core",
107
+ "datatable": "core",
108
+ "date-picker": "core",
109
+ "empty": "core",
110
+ "feedback": "core",
111
+ "form": "core",
112
+ "form-validate": "core",
113
+ "icon": "core",
114
+ "input": "core",
115
+ "layout": "core",
116
+ "material": "core",
117
+ "material-chinese": "core",
118
+ "material-soviet": "core",
119
+ "media": "core",
120
+ "mentions": "core",
121
+ "menu": "core",
122
+ "modal": "core",
123
+ "nav": "core",
124
+ "notification": "core",
125
+ "pagination": "core",
126
+ "panel": "core",
127
+ "pill": "core",
128
+ "popover": "core",
129
+ "scroll-area": "core",
130
+ "segmented": "core",
131
+ "select": "core",
132
+ "sidebar": "core",
133
+ "slider": "core",
134
+ "split-pane": "core",
135
+ "stat": "core",
136
+ "steps": "core",
137
+ "switch": "core",
138
+ "table": "core",
139
+ "tabs": "core",
140
+ "tag": "core",
141
+ "tag-input": "core",
142
+ "theme-switcher": "core",
143
+ "toast": "core",
144
+ "toolbar": "core",
145
+ "tooltip": "core",
146
+ "tree-select": "core",
147
+ "upload": "core",
148
+ "ai-chat": "beta",
149
+ "ai-diff": "beta",
150
+ "ai-panel": "beta",
151
+ "ai-tool": "beta",
152
+ "charts": "beta",
153
+ "chart-area": "beta",
154
+ "chart-bar": "beta",
155
+ "chart-gauge": "beta",
156
+ "chart-graph": "beta",
157
+ "chart-heatmap": "beta",
158
+ "chart-line": "beta",
159
+ "chart-pie": "beta",
160
+ "chart-radar": "beta",
161
+ "chart-scatter": "beta",
162
+ "chart-sparkline": "beta",
163
+ "chart-stack": "beta",
164
+ "kb": "beta",
165
+ "kb-agent": "beta",
166
+ "kb-data": "beta",
167
+ "kb-ground": "beta",
168
+ "kb-ingest": "beta",
169
+ "kb-ops": "beta",
170
+ "kb-perm": "beta",
171
+ "kb-search": "beta"
172
+ },
94
173
  "behaviors": [
95
174
  "accordion",
96
175
  "ai-branch",
@@ -164,6 +243,7 @@
164
243
  "notification",
165
244
  "panel",
166
245
  "popover",
246
+ "scroll-area",
167
247
  "select",
168
248
  "sidebar",
169
249
  "slider",
@@ -178,7 +258,8 @@
178
258
  "tooltip",
179
259
  "tree-select",
180
260
  "tree",
181
- "upload"
261
+ "upload",
262
+ "url-safety"
182
263
  ],
183
264
  "slugs": {
184
265
  "icon": {
@@ -210,6 +291,9 @@
210
291
  "init": "initPanel",
211
292
  "exports": [
212
293
  "setPanelExpanded"
294
+ ],
295
+ "events": [
296
+ "icen:panel-toggle"
213
297
  ]
214
298
  },
215
299
  "pill": {
@@ -221,7 +305,13 @@
221
305
  "tabs": {
222
306
  "css": "tabs.css",
223
307
  "behavior": "tabs",
224
- "init": "initTabs"
308
+ "init": "initTabs",
309
+ "exports": [
310
+ "initTabs"
311
+ ],
312
+ "events": [
313
+ "icen:tab-change"
314
+ ]
225
315
  },
226
316
  "stat": {
227
317
  "css": "stat.css"
@@ -239,7 +329,13 @@
239
329
  "split-pane": {
240
330
  "css": "split-pane.css",
241
331
  "behavior": "split-pane",
242
- "init": "initSplitPane"
332
+ "init": "initSplitPane",
333
+ "exports": [
334
+ "initSplitPane"
335
+ ],
336
+ "events": [
337
+ "icen:split-change"
338
+ ]
243
339
  },
244
340
  "form": {
245
341
  "css": "form.css"
@@ -247,7 +343,14 @@
247
343
  "input": {
248
344
  "css": "input.css",
249
345
  "behavior": "input",
250
- "init": "initInput"
346
+ "init": "initInput",
347
+ "exports": [
348
+ "enhanceSearchField",
349
+ "initInput"
350
+ ],
351
+ "events": [
352
+ "icen:otp-complete"
353
+ ]
251
354
  },
252
355
  "select": {
253
356
  "css": "select.css",
@@ -255,12 +358,22 @@
255
358
  "init": "initSelect",
256
359
  "exports": [
257
360
  "refreshSelect"
361
+ ],
362
+ "events": [
363
+ "icen:select-change"
258
364
  ]
259
365
  },
260
366
  "slider": {
261
367
  "css": "slider.css",
262
368
  "behavior": "slider",
263
- "init": "initSlider"
369
+ "init": "initSlider",
370
+ "exports": [
371
+ "initSlider"
372
+ ],
373
+ "events": [
374
+ "icen:slider-change",
375
+ "icen:slider-input"
376
+ ]
264
377
  },
265
378
  "tag-input": {
266
379
  "css": "tag-input.css",
@@ -268,6 +381,9 @@
268
381
  "init": "initTagInput",
269
382
  "exports": [
270
383
  "createTagInput"
384
+ ],
385
+ "events": [
386
+ "icen:tags-change"
271
387
  ]
272
388
  },
273
389
  "switch": {
@@ -276,6 +392,16 @@
276
392
  "init": "initSwitch",
277
393
  "exports": [
278
394
  "initSwitch"
395
+ ],
396
+ "events": [
397
+ "icen:check-change",
398
+ "icen:page-change",
399
+ "icen:rating-change",
400
+ "icen:segmented-change",
401
+ "icen:sort-change",
402
+ "icen:step-change",
403
+ "icen:stepper-change",
404
+ "icen:switch-change"
279
405
  ]
280
406
  },
281
407
  "segmented": {
@@ -285,38 +411,113 @@
285
411
  "initInput",
286
412
  "initSegmented",
287
413
  "initStepper"
414
+ ],
415
+ "events": [
416
+ "icen:check-change",
417
+ "icen:page-change",
418
+ "icen:rating-change",
419
+ "icen:segmented-change",
420
+ "icen:sort-change",
421
+ "icen:step-change",
422
+ "icen:stepper-change",
423
+ "icen:switch-change"
288
424
  ]
289
425
  },
290
426
  "upload": {
291
427
  "css": "upload.css",
292
428
  "behavior": "upload",
293
- "init": "initUpload"
429
+ "init": "initUpload",
430
+ "exports": [
431
+ "initUpload"
432
+ ],
433
+ "events": [
434
+ "icen:upload",
435
+ "icen:upload-error",
436
+ "icen:upload-remove"
437
+ ]
294
438
  },
295
439
  "date-picker": {
296
440
  "css": "date-picker.css",
297
441
  "behavior": "date-picker",
298
- "init": "initDatePicker"
442
+ "init": "initDatePicker",
443
+ "exports": [
444
+ "initDatePicker"
445
+ ],
446
+ "events": [
447
+ "icen:date-change"
448
+ ]
299
449
  },
300
450
  "form-validate": {
301
451
  "css": "form-validate.css",
302
452
  "behavior": "form-validate",
303
- "init": "initFormValidate"
453
+ "init": "initFormValidate",
454
+ "exports": [
455
+ "SHOW_FORM_SCHEMA",
456
+ "collectFormFields",
457
+ "createFormValidator",
458
+ "evaluateRules",
459
+ "fieldLabel",
460
+ "fieldValue",
461
+ "initFormValidate",
462
+ "registerValidator",
463
+ "resolveFieldRules",
464
+ "runShowForm",
465
+ "setValidateMessages",
466
+ "unregisterValidator"
467
+ ],
468
+ "events": [
469
+ "icen:form-invalid",
470
+ "icen:form-valid"
471
+ ]
304
472
  },
305
473
  "cascader": {
306
474
  "css": "cascader.css",
307
- "behavior": "cascader"
475
+ "behavior": "cascader",
476
+ "exports": [
477
+ "cascaderPathLabels",
478
+ "collectCascaderLeafPaths",
479
+ "createCascader",
480
+ "filterCascaderPaths",
481
+ "findCascaderPath"
482
+ ],
483
+ "events": [
484
+ "icen:cascader-change"
485
+ ]
308
486
  },
309
487
  "tree-select": {
310
488
  "css": "tree-select.css",
311
- "behavior": "tree-select"
489
+ "behavior": "tree-select",
490
+ "exports": [
491
+ "createTreeSelect",
492
+ "filterTreeNodes",
493
+ "flattenTreeNodes",
494
+ "treeNodeCheckState"
495
+ ],
496
+ "events": [
497
+ "icen:tree-select-change"
498
+ ]
312
499
  },
313
500
  "mentions": {
314
501
  "css": "mentions.css",
315
- "behavior": "mentions"
502
+ "behavior": "mentions",
503
+ "exports": [
504
+ "createMentions"
505
+ ],
506
+ "events": [
507
+ "icen:mention-change",
508
+ "icen:mention-select"
509
+ ]
316
510
  },
317
511
  "autocomplete": {
318
512
  "css": "autocomplete.css",
319
- "behavior": "autocomplete"
513
+ "behavior": "autocomplete",
514
+ "exports": [
515
+ "createAutocomplete"
516
+ ],
517
+ "events": [
518
+ "icen:autocomplete-change",
519
+ "icen:autocomplete-select"
520
+ ]
320
521
  },
321
522
  "modal": {
322
523
  "css": "modal.css",
@@ -325,6 +526,10 @@
325
526
  "exports": [
326
527
  "openModal",
327
528
  "closeModal"
529
+ ],
530
+ "events": [
531
+ "icen:modal-close",
532
+ "icen:modal-open"
328
533
  ]
329
534
  },
330
535
  "dropdown": {
@@ -345,6 +550,9 @@
345
550
  "closeContextMenu",
346
551
  "registerContextMenu",
347
552
  "unregisterContextMenu"
553
+ ],
554
+ "events": [
555
+ "icen:menu-select"
348
556
  ]
349
557
  },
350
558
  "popover": {
@@ -360,12 +568,24 @@
360
568
  "tooltip": {
361
569
  "css": "tooltip.css",
362
570
  "behavior": "tooltip",
363
- "init": "initTooltip"
571
+ "init": "initTooltip",
572
+ "exports": [
573
+ "initTooltip"
574
+ ]
364
575
  },
365
576
  "command-palette": {
366
577
  "css": "command-palette.css",
367
578
  "behavior": "command-palette",
368
- "init": "initCommandPalette"
579
+ "init": "initCommandPalette",
580
+ "exports": [
581
+ "closeCommandPalette",
582
+ "initCommandPalette",
583
+ "openCommandPalette"
584
+ ],
585
+ "events": [
586
+ "icen:command-palette-close",
587
+ "icen:command-palette-open"
588
+ ]
369
589
  },
370
590
  "card": {
371
591
  "css": "card.css"
@@ -385,6 +605,16 @@
385
605
  "init": "initRating",
386
606
  "exports": [
387
607
  "initRating"
608
+ ],
609
+ "events": [
610
+ "icen:check-change",
611
+ "icen:page-change",
612
+ "icen:rating-change",
613
+ "icen:segmented-change",
614
+ "icen:sort-change",
615
+ "icen:step-change",
616
+ "icen:stepper-change",
617
+ "icen:switch-change"
388
618
  ]
389
619
  },
390
620
  "kbd": {
@@ -396,7 +626,13 @@
396
626
  "accordion": {
397
627
  "css": "content.css",
398
628
  "behavior": "accordion",
399
- "init": "initAccordion"
629
+ "init": "initAccordion",
630
+ "exports": [
631
+ "initAccordion"
632
+ ],
633
+ "events": [
634
+ "icen:accordion-toggle"
635
+ ]
400
636
  },
401
637
  "timeline": {
402
638
  "css": "content.css"
@@ -407,18 +643,36 @@
407
643
  "tree": {
408
644
  "css": "content.css",
409
645
  "behavior": "tree",
410
- "init": "initTree"
646
+ "init": "initTree",
647
+ "exports": [
648
+ "initTree"
649
+ ],
650
+ "events": [
651
+ "icen:tree-select",
652
+ "icen:tree-toggle"
653
+ ]
411
654
  },
412
655
  "carousel": {
413
656
  "css": "media.css",
414
657
  "behavior": "carousel",
415
- "init": "initCarousel"
658
+ "init": "initCarousel",
659
+ "exports": [
660
+ "initCarousel"
661
+ ],
662
+ "events": [
663
+ "icen:carousel-change"
664
+ ]
416
665
  },
417
666
  "badge": {
418
667
  "css": "badge.css"
419
668
  },
420
669
  "scroll-area": {
421
- "css": "scroll-area.css"
670
+ "css": "scroll-area.css",
671
+ "behavior": "scroll-area",
672
+ "init": "initScrollArea",
673
+ "exports": [
674
+ "initScrollArea"
675
+ ]
422
676
  },
423
677
  "code-block": {
424
678
  "css": "code-block.css",
@@ -430,6 +684,11 @@
430
684
  "exports": [
431
685
  "renderCodeBlock",
432
686
  "codeBlockHTML"
687
+ ],
688
+ "events": [
689
+ "icen:code-block-toggle",
690
+ "icen:copy-error",
691
+ "icen:copy-success"
433
692
  ]
434
693
  },
435
694
  "table": {
@@ -438,6 +697,16 @@
438
697
  "init": "initTableSort",
439
698
  "exports": [
440
699
  "initTableSort"
700
+ ],
701
+ "events": [
702
+ "icen:check-change",
703
+ "icen:page-change",
704
+ "icen:rating-change",
705
+ "icen:segmented-change",
706
+ "icen:sort-change",
707
+ "icen:step-change",
708
+ "icen:stepper-change",
709
+ "icen:switch-change"
441
710
  ]
442
711
  },
443
712
  "datatable": {
@@ -448,6 +717,22 @@
448
717
  "behavior": "datatable",
449
718
  "exports": [
450
719
  "createTable"
720
+ ],
721
+ "events": [
722
+ "icen:table-cell-edit",
723
+ "icen:table-column-reorder",
724
+ "icen:table-column-resize",
725
+ "icen:table-columns-change",
726
+ "icen:table-export",
727
+ "icen:table-filter-change",
728
+ "icen:table-group-toggle",
729
+ "icen:table-page-change",
730
+ "icen:table-page-size-change",
731
+ "icen:table-row-click",
732
+ "icen:table-row-toggle",
733
+ "icen:table-search-change",
734
+ "icen:table-selection-change",
735
+ "icen:table-sort-change"
451
736
  ]
452
737
  },
453
738
  "charts": {
@@ -484,6 +769,11 @@
484
769
  "inferChartType",
485
770
  "chartFormatValue",
486
771
  "registerChartTone"
772
+ ],
773
+ "events": [
774
+ "icen:chart-legend-toggle",
775
+ "icen:chart-legend-visibility",
776
+ "icen:chart-zoom"
487
777
  ]
488
778
  },
489
779
  "chart-line": {
@@ -494,6 +784,11 @@
494
784
  "behavior": "charts",
495
785
  "exports": [
496
786
  "renderLine"
787
+ ],
788
+ "events": [
789
+ "icen:chart-legend-toggle",
790
+ "icen:chart-legend-visibility",
791
+ "icen:chart-zoom"
497
792
  ]
498
793
  },
499
794
  "chart-bar": {
@@ -505,6 +800,11 @@
505
800
  "exports": [
506
801
  "renderVBar",
507
802
  "renderHBar"
803
+ ],
804
+ "events": [
805
+ "icen:chart-legend-toggle",
806
+ "icen:chart-legend-visibility",
807
+ "icen:chart-zoom"
508
808
  ]
509
809
  },
510
810
  "chart-pie": {
@@ -515,6 +815,11 @@
515
815
  "behavior": "charts",
516
816
  "exports": [
517
817
  "renderDonut"
818
+ ],
819
+ "events": [
820
+ "icen:chart-legend-toggle",
821
+ "icen:chart-legend-visibility",
822
+ "icen:chart-zoom"
518
823
  ]
519
824
  },
520
825
  "chart-radar": {
@@ -525,6 +830,11 @@
525
830
  "behavior": "charts",
526
831
  "exports": [
527
832
  "renderRadar"
833
+ ],
834
+ "events": [
835
+ "icen:chart-legend-toggle",
836
+ "icen:chart-legend-visibility",
837
+ "icen:chart-zoom"
528
838
  ]
529
839
  },
530
840
  "chart-heatmap": {
@@ -535,6 +845,11 @@
535
845
  "behavior": "charts",
536
846
  "exports": [
537
847
  "renderHeatmap"
848
+ ],
849
+ "events": [
850
+ "icen:chart-legend-toggle",
851
+ "icen:chart-legend-visibility",
852
+ "icen:chart-zoom"
538
853
  ]
539
854
  },
540
855
  "chart-area": {
@@ -545,6 +860,11 @@
545
860
  "behavior": "charts",
546
861
  "exports": [
547
862
  "renderArea"
863
+ ],
864
+ "events": [
865
+ "icen:chart-legend-toggle",
866
+ "icen:chart-legend-visibility",
867
+ "icen:chart-zoom"
548
868
  ]
549
869
  },
550
870
  "chart-stack": {
@@ -555,6 +875,11 @@
555
875
  "behavior": "charts",
556
876
  "exports": [
557
877
  "renderStack"
878
+ ],
879
+ "events": [
880
+ "icen:chart-legend-toggle",
881
+ "icen:chart-legend-visibility",
882
+ "icen:chart-zoom"
558
883
  ]
559
884
  },
560
885
  "chart-gauge": {
@@ -565,6 +890,11 @@
565
890
  "behavior": "charts",
566
891
  "exports": [
567
892
  "renderGauge"
893
+ ],
894
+ "events": [
895
+ "icen:chart-legend-toggle",
896
+ "icen:chart-legend-visibility",
897
+ "icen:chart-zoom"
568
898
  ]
569
899
  },
570
900
  "chart-sparkline": {
@@ -575,6 +905,11 @@
575
905
  "behavior": "charts",
576
906
  "exports": [
577
907
  "renderSparkline"
908
+ ],
909
+ "events": [
910
+ "icen:chart-legend-toggle",
911
+ "icen:chart-legend-visibility",
912
+ "icen:chart-zoom"
578
913
  ]
579
914
  },
580
915
  "chart-scatter": {
@@ -586,6 +921,11 @@
586
921
  "exports": [
587
922
  "renderScatter",
588
923
  "renderMap"
924
+ ],
925
+ "events": [
926
+ "icen:chart-legend-toggle",
927
+ "icen:chart-legend-visibility",
928
+ "icen:chart-zoom"
589
929
  ]
590
930
  },
591
931
  "chart-calendar": {
@@ -596,6 +936,11 @@
596
936
  "behavior": "charts",
597
937
  "exports": [
598
938
  "renderCalendar"
939
+ ],
940
+ "events": [
941
+ "icen:chart-legend-toggle",
942
+ "icen:chart-legend-visibility",
943
+ "icen:chart-zoom"
599
944
  ]
600
945
  },
601
946
  "alert": {
@@ -616,7 +961,15 @@
616
961
  "copy": {
617
962
  "css": "copy.css",
618
963
  "behavior": "copy",
619
- "init": "initCopy"
964
+ "init": "initCopy",
965
+ "exports": [
966
+ "copyText",
967
+ "initCopy"
968
+ ],
969
+ "events": [
970
+ "icen:copy-error",
971
+ "icen:copy-success"
972
+ ]
620
973
  },
621
974
  "notification": {
622
975
  "css": "notification.css",
@@ -630,12 +983,25 @@
630
983
  "nav": {
631
984
  "css": "nav.css",
632
985
  "behavior": "nav",
633
- "init": "initNav"
986
+ "init": "initNav",
987
+ "exports": [
988
+ "initNav"
989
+ ],
990
+ "events": [
991
+ "icen:nav-select"
992
+ ]
634
993
  },
635
994
  "sidebar": {
636
995
  "css": "sidebar.css",
637
996
  "behavior": "sidebar",
638
- "init": "initSidebar"
997
+ "init": "initSidebar",
998
+ "exports": [
999
+ "initSidebar"
1000
+ ],
1001
+ "events": [
1002
+ "icen:sidebar-collapse",
1003
+ "icen:sidebar-toggle"
1004
+ ]
639
1005
  },
640
1006
  "breadcrumb": {
641
1007
  "css": "breadcrumb.css"
@@ -646,6 +1012,16 @@
646
1012
  "init": "initPagination",
647
1013
  "exports": [
648
1014
  "initPagination"
1015
+ ],
1016
+ "events": [
1017
+ "icen:check-change",
1018
+ "icen:page-change",
1019
+ "icen:rating-change",
1020
+ "icen:segmented-change",
1021
+ "icen:sort-change",
1022
+ "icen:step-change",
1023
+ "icen:stepper-change",
1024
+ "icen:switch-change"
649
1025
  ]
650
1026
  },
651
1027
  "steps": {
@@ -654,12 +1030,28 @@
654
1030
  "init": "initSteps",
655
1031
  "exports": [
656
1032
  "initSteps"
1033
+ ],
1034
+ "events": [
1035
+ "icen:check-change",
1036
+ "icen:page-change",
1037
+ "icen:rating-change",
1038
+ "icen:segmented-change",
1039
+ "icen:sort-change",
1040
+ "icen:step-change",
1041
+ "icen:stepper-change",
1042
+ "icen:switch-change"
657
1043
  ]
658
1044
  },
659
1045
  "back-top": {
660
1046
  "css": "back-top.css",
661
1047
  "behavior": "back-top",
662
- "init": "initBackTop"
1048
+ "init": "initBackTop",
1049
+ "exports": [
1050
+ "initBackTop"
1051
+ ],
1052
+ "events": [
1053
+ "icen:back-top"
1054
+ ]
663
1055
  },
664
1056
  "layout": {
665
1057
  "css": "layout.css"
@@ -667,7 +1059,13 @@
667
1059
  "ai-chat": {
668
1060
  "css": "ai-chat.css",
669
1061
  "behavior": "ai-chat",
670
- "init": "initAiChat"
1062
+ "init": "initAiChat",
1063
+ "exports": [
1064
+ "createAiStream",
1065
+ "initAiChat",
1066
+ "renderAiContentPart",
1067
+ "renderAiMessage"
1068
+ ]
671
1069
  },
672
1070
  "ai-message": {
673
1071
  "css": "ai-chat.css",
@@ -689,39 +1087,107 @@
689
1087
  "ai-composer": {
690
1088
  "css": "ai-chat.css",
691
1089
  "behavior": "ai-composer",
692
- "init": "initAiComposer"
1090
+ "init": "initAiComposer",
1091
+ "exports": [
1092
+ "bindComposer",
1093
+ "getComposerDraft",
1094
+ "initAiComposer",
1095
+ "openComposerLibrary",
1096
+ "registerRefKind",
1097
+ "setComposerCommands",
1098
+ "setComposerModels",
1099
+ "setComposerRefs",
1100
+ "setComposerRunning",
1101
+ "setComposerTodo",
1102
+ "setComposerUsage"
1103
+ ]
693
1104
  },
694
1105
  "ai-tool-call": {
695
1106
  "css": "ai-tool.css",
696
1107
  "behavior": "ai-tool",
697
- "init": "initAiTool"
1108
+ "init": "initAiTool",
1109
+ "exports": [
1110
+ "initAiSubagent",
1111
+ "initAiTool",
1112
+ "renderAiSubagent",
1113
+ "renderAiToolCall"
1114
+ ],
1115
+ "events": [
1116
+ "icen:ai-approve",
1117
+ "icen:ai-reject",
1118
+ "icen:ai-toggle"
1119
+ ]
698
1120
  },
699
1121
  "ai-subagent": {
700
1122
  "css": "ai-tool.css",
701
1123
  "behavior": "ai-tool",
702
- "init": "initAiSubagent"
1124
+ "init": "initAiSubagent",
1125
+ "exports": [
1126
+ "initAiSubagent",
1127
+ "initAiTool",
1128
+ "renderAiSubagent",
1129
+ "renderAiToolCall"
1130
+ ],
1131
+ "events": [
1132
+ "icen:ai-approve",
1133
+ "icen:ai-reject",
1134
+ "icen:ai-toggle"
1135
+ ]
703
1136
  },
704
1137
  "ai-diff": {
705
1138
  "css": "ai-diff.css",
706
1139
  "behavior": "ai-diff",
707
- "init": "initAiDiff"
1140
+ "init": "initAiDiff",
1141
+ "exports": [
1142
+ "initAiDiff",
1143
+ "parseUnifiedDiff",
1144
+ "renderAiDiff"
1145
+ ],
1146
+ "events": [
1147
+ "icen:ai-diff-accept",
1148
+ "icen:ai-diff-reject",
1149
+ "icen:ai-toggle"
1150
+ ]
708
1151
  },
709
1152
  "ai-files": {
710
1153
  "css": "ai-diff.css",
711
1154
  "behavior": "ai-diff",
712
1155
  "exports": [
713
1156
  "renderAiDiff"
1157
+ ],
1158
+ "events": [
1159
+ "icen:ai-diff-accept",
1160
+ "icen:ai-diff-reject",
1161
+ "icen:ai-toggle"
714
1162
  ]
715
1163
  },
716
1164
  "ai-todo": {
717
1165
  "css": "ai-panel.css",
718
1166
  "behavior": "ai-panel",
719
- "init": "initAiTodo"
1167
+ "init": "initAiTodo",
1168
+ "exports": [
1169
+ "initAiContext",
1170
+ "initAiTodo",
1171
+ "renderAiAudit",
1172
+ "renderAiContext",
1173
+ "renderAiTodo",
1174
+ "renderAiUsage",
1175
+ "renderAiUsageRing"
1176
+ ]
720
1177
  },
721
1178
  "ai-context": {
722
1179
  "css": "ai-panel.css",
723
1180
  "behavior": "ai-panel",
724
- "init": "initAiContext"
1181
+ "init": "initAiContext",
1182
+ "exports": [
1183
+ "initAiContext",
1184
+ "initAiTodo",
1185
+ "renderAiAudit",
1186
+ "renderAiContext",
1187
+ "renderAiTodo",
1188
+ "renderAiUsage",
1189
+ "renderAiUsageRing"
1190
+ ]
725
1191
  },
726
1192
  "ai-usage": {
727
1193
  "css": "ai-panel.css",
@@ -735,17 +1201,36 @@
735
1201
  "ai-threads": {
736
1202
  "css": "ai-chat.css",
737
1203
  "behavior": "ai-threads",
738
- "init": "initAiThreads"
1204
+ "init": "initAiThreads",
1205
+ "exports": [
1206
+ "initAiThreads",
1207
+ "renderAiThreads",
1208
+ "setAiThreadsActive"
1209
+ ]
739
1210
  },
740
1211
  "ai-feedback": {
741
1212
  "css": "ai-panel.css",
742
1213
  "behavior": "ai-feedback",
743
- "init": "initAiFeedback"
1214
+ "init": "initAiFeedback",
1215
+ "exports": [
1216
+ "initAiFeedback",
1217
+ "renderAiFeedback"
1218
+ ],
1219
+ "events": [
1220
+ "icen:ai-feedback"
1221
+ ]
744
1222
  },
745
1223
  "ai-branch": {
746
1224
  "css": "ai-chat.css",
747
1225
  "behavior": "ai-branch",
748
- "init": "initAiBranch"
1226
+ "init": "initAiBranch",
1227
+ "exports": [
1228
+ "initAiBranch",
1229
+ "renderAiBranch"
1230
+ ],
1231
+ "events": [
1232
+ "icen:ai-branch-change"
1233
+ ]
749
1234
  },
750
1235
  "kb": {
751
1236
  "css": "kb.css",
@@ -765,7 +1250,21 @@
765
1250
  "kb.css"
766
1251
  ],
767
1252
  "behavior": "kb-citation",
768
- "init": "initKbCitation"
1253
+ "init": "initKbCitation",
1254
+ "exports": [
1255
+ "KB_ICON_LOCK",
1256
+ "KB_STALE_DAYS",
1257
+ "getKbCitationSources",
1258
+ "initKbCitation",
1259
+ "isKbCitationStale",
1260
+ "kbDomainOf",
1261
+ "renderCitationMark",
1262
+ "renderCitationText",
1263
+ "setKbCitationSources"
1264
+ ],
1265
+ "events": [
1266
+ "icen:kb-citation-open"
1267
+ ]
769
1268
  },
770
1269
  "kb-sources": {
771
1270
  "css": "kb-ground.css",
@@ -773,21 +1272,42 @@
773
1272
  "kb.css"
774
1273
  ],
775
1274
  "behavior": "kb-sources",
776
- "init": "initKbSources"
1275
+ "init": "initKbSources",
1276
+ "exports": [
1277
+ "initKbSources",
1278
+ "renderKbSources"
1279
+ ],
1280
+ "events": [
1281
+ "icen:kb-source-open"
1282
+ ]
777
1283
  },
778
1284
  "kb-passage": {
779
1285
  "css": "kb-ground.css",
780
1286
  "extraCss": [
781
1287
  "kb.css"
782
1288
  ],
783
- "behavior": "kb-passage"
1289
+ "behavior": "kb-passage",
1290
+ "exports": [
1291
+ "createKbPassage"
1292
+ ],
1293
+ "events": [
1294
+ "icen:kb-passage-close",
1295
+ "icen:kb-passage-jump",
1296
+ "icen:kb-source-open"
1297
+ ]
784
1298
  },
785
1299
  "kb-conflict": {
786
1300
  "css": "kb-ground.css",
787
1301
  "extraCss": [
788
1302
  "kb.css"
789
1303
  ],
790
- "behavior": "kb-conflict"
1304
+ "behavior": "kb-conflict",
1305
+ "exports": [
1306
+ "renderKbConflict"
1307
+ ],
1308
+ "events": [
1309
+ "icen:kb-source-open"
1310
+ ]
791
1311
  },
792
1312
  "kb-pipeline": {
793
1313
  "css": "kb-ingest.css",
@@ -795,7 +1315,15 @@
795
1315
  "kb.css"
796
1316
  ],
797
1317
  "behavior": "kb-pipeline",
798
- "init": "initKbPipeline"
1318
+ "init": "initKbPipeline",
1319
+ "exports": [
1320
+ "initKbPipeline",
1321
+ "renderKbPipeline"
1322
+ ],
1323
+ "events": [
1324
+ "icen:kb-pipeline-rerun",
1325
+ "icen:kb-pipeline-toggle"
1326
+ ]
799
1327
  },
800
1328
  "kb-chunks": {
801
1329
  "css": "kb-ingest.css",
@@ -803,14 +1331,31 @@
803
1331
  "kb.css"
804
1332
  ],
805
1333
  "behavior": "kb-chunks",
806
- "init": "initKbChunks"
1334
+ "init": "initKbChunks",
1335
+ "exports": [
1336
+ "initKbChunks",
1337
+ "renderKbChunks"
1338
+ ],
1339
+ "events": [
1340
+ "icen:kb-chunk-add",
1341
+ "icen:kb-chunk-edit",
1342
+ "icen:kb-chunk-remove",
1343
+ "icen:kb-chunk-search",
1344
+ "icen:kb-chunk-toggle"
1345
+ ]
807
1346
  },
808
1347
  "kb-segment": {
809
1348
  "css": "kb-ingest.css",
810
1349
  "extraCss": [
811
1350
  "kb.css"
812
1351
  ],
813
- "behavior": "kb-segment"
1352
+ "behavior": "kb-segment",
1353
+ "exports": [
1354
+ "createKbSegment"
1355
+ ],
1356
+ "events": [
1357
+ "icen:kb-segment-change"
1358
+ ]
814
1359
  },
815
1360
  "kb-connector": {
816
1361
  "css": "kb-ingest.css",
@@ -818,7 +1363,16 @@
818
1363
  "kb.css"
819
1364
  ],
820
1365
  "behavior": "kb-connector",
821
- "init": "initKbConnectors"
1366
+ "init": "initKbConnectors",
1367
+ "exports": [
1368
+ "initKbConnectors",
1369
+ "renderKbConnectors"
1370
+ ],
1371
+ "events": [
1372
+ "icen:kb-connector-reauth",
1373
+ "icen:kb-connector-schedule",
1374
+ "icen:kb-connector-sync"
1375
+ ]
822
1376
  },
823
1377
  "kb-metadata": {
824
1378
  "css": "kb-ingest.css",
@@ -826,7 +1380,14 @@
826
1380
  "kb.css"
827
1381
  ],
828
1382
  "behavior": "kb-metadata",
829
- "init": "initKbMetadata"
1383
+ "init": "initKbMetadata",
1384
+ "exports": [
1385
+ "initKbMetadata",
1386
+ "renderKbMetadata"
1387
+ ],
1388
+ "events": [
1389
+ "icen:kb-metadata-change"
1390
+ ]
830
1391
  },
831
1392
  "kb-qa": {
832
1393
  "css": "kb-ingest.css",
@@ -834,35 +1395,71 @@
834
1395
  "kb.css"
835
1396
  ],
836
1397
  "behavior": "kb-qa",
837
- "init": "initKbQa"
1398
+ "init": "initKbQa",
1399
+ "exports": [
1400
+ "initKbQa",
1401
+ "renderKbQa"
1402
+ ],
1403
+ "events": [
1404
+ "icen:kb-qa-change",
1405
+ "icen:kb-qa-import"
1406
+ ]
838
1407
  },
839
1408
  "kb-retrieval": {
840
1409
  "css": "kb-search.css",
841
1410
  "extraCss": [
842
1411
  "kb.css"
843
1412
  ],
844
- "behavior": "kb-retrieval"
1413
+ "behavior": "kb-retrieval",
1414
+ "exports": [
1415
+ "createKbRetrieval"
1416
+ ],
1417
+ "events": [
1418
+ "icen:kb-retrieval-run",
1419
+ "icen:kb-visibility-identity",
1420
+ "icen:kb-visibility-layer"
1421
+ ]
845
1422
  },
846
1423
  "kb-filter": {
847
1424
  "css": "kb-search.css",
848
1425
  "extraCss": [
849
1426
  "kb.css"
850
1427
  ],
851
- "behavior": "kb-filter"
1428
+ "behavior": "kb-filter",
1429
+ "exports": [
1430
+ "createKbFilter"
1431
+ ],
1432
+ "events": [
1433
+ "icen:kb-filter-change"
1434
+ ]
852
1435
  },
853
1436
  "kb-rerank": {
854
1437
  "css": "kb-search.css",
855
1438
  "extraCss": [
856
1439
  "kb.css"
857
1440
  ],
858
- "behavior": "kb-rerank"
1441
+ "behavior": "kb-rerank",
1442
+ "exports": [
1443
+ "renderKbRerankCompare"
1444
+ ],
1445
+ "events": [
1446
+ "icen:kb-rerank-toggle"
1447
+ ]
859
1448
  },
860
1449
  "kb-hittest": {
861
1450
  "css": "kb-search.css",
862
1451
  "extraCss": [
863
1452
  "kb.css"
864
1453
  ],
865
- "behavior": "kb-hittest"
1454
+ "behavior": "kb-hittest",
1455
+ "exports": [
1456
+ "createKbHitTest",
1457
+ "renderKbHitStats"
1458
+ ],
1459
+ "events": [
1460
+ "icen:kb-hittest-add",
1461
+ "icen:kb-hittest-run"
1462
+ ]
866
1463
  },
867
1464
  "kb-sql": {
868
1465
  "css": "kb-data.css",
@@ -870,28 +1467,56 @@
870
1467
  "kb.css"
871
1468
  ],
872
1469
  "behavior": "kb-sql",
873
- "init": "initKbSql"
1470
+ "init": "initKbSql",
1471
+ "exports": [
1472
+ "highlightSql",
1473
+ "initKbSql",
1474
+ "makeSqlDiff",
1475
+ "renderKbSql"
1476
+ ],
1477
+ "events": [
1478
+ "icen:kb-sql-edit",
1479
+ "icen:kb-sql-rerun"
1480
+ ]
874
1481
  },
875
1482
  "kb-answer": {
876
1483
  "css": "kb-data.css",
877
1484
  "extraCss": [
878
1485
  "kb.css"
879
1486
  ],
880
- "behavior": "kb-answer"
1487
+ "behavior": "kb-answer",
1488
+ "exports": [
1489
+ "renderKbAnswer"
1490
+ ],
1491
+ "events": [
1492
+ "icen:kb-verified-open"
1493
+ ]
881
1494
  },
882
1495
  "kb-clarify": {
883
1496
  "css": "kb-data.css",
884
1497
  "extraCss": [
885
1498
  "kb.css"
886
1499
  ],
887
- "behavior": "kb-clarify"
1500
+ "behavior": "kb-clarify",
1501
+ "exports": [
1502
+ "renderKbClarify"
1503
+ ],
1504
+ "events": [
1505
+ "icen:kb-clarify-answer"
1506
+ ]
888
1507
  },
889
1508
  "kb-explain": {
890
1509
  "css": "kb-data.css",
891
1510
  "extraCss": [
892
1511
  "kb.css"
893
1512
  ],
894
- "behavior": "kb-explain"
1513
+ "behavior": "kb-explain",
1514
+ "exports": [
1515
+ "renderKbExplain"
1516
+ ],
1517
+ "events": [
1518
+ "icen:kb-explain-toggle"
1519
+ ]
895
1520
  },
896
1521
  "kb-trace": {
897
1522
  "css": "kb-ops.css",
@@ -899,14 +1524,30 @@
899
1524
  "kb.css"
900
1525
  ],
901
1526
  "behavior": "kb-trace",
902
- "init": "initKbTrace"
1527
+ "init": "initKbTrace",
1528
+ "exports": [
1529
+ "initKbTrace",
1530
+ "renderKbTrace"
1531
+ ],
1532
+ "events": [
1533
+ "icen:kb-trace-select",
1534
+ "icen:kb-trace-toggle"
1535
+ ]
903
1536
  },
904
1537
  "kb-review": {
905
1538
  "css": "kb-ops.css",
906
1539
  "extraCss": [
907
1540
  "kb.css"
908
1541
  ],
909
- "behavior": "kb-review"
1542
+ "behavior": "kb-review",
1543
+ "exports": [
1544
+ "createKbReview"
1545
+ ],
1546
+ "events": [
1547
+ "icen:kb-review-assign",
1548
+ "icen:kb-review-score",
1549
+ "icen:kb-review-submit"
1550
+ ]
910
1551
  },
911
1552
  "kb-gap": {
912
1553
  "css": "kb-ops.css",
@@ -914,21 +1555,41 @@
914
1555
  "kb.css"
915
1556
  ],
916
1557
  "behavior": "kb-gap",
917
- "init": "initKbGap"
1558
+ "init": "initKbGap",
1559
+ "exports": [
1560
+ "initKbGap",
1561
+ "renderKbGap"
1562
+ ],
1563
+ "events": [
1564
+ "icen:kb-gap-action"
1565
+ ]
918
1566
  },
919
1567
  "kb-eval": {
920
1568
  "css": "kb-ops.css",
921
1569
  "extraCss": [
922
1570
  "kb.css"
923
1571
  ],
924
- "behavior": "kb-eval"
1572
+ "behavior": "kb-eval",
1573
+ "exports": [
1574
+ "renderKbEvalCompare"
1575
+ ],
1576
+ "events": [
1577
+ "icen:kb-eval-compare"
1578
+ ]
925
1579
  },
926
1580
  "kb-canvas": {
927
1581
  "css": "kb-agent.css",
928
1582
  "extraCss": [
929
1583
  "kb.css"
930
1584
  ],
931
- "behavior": "kb-canvas"
1585
+ "behavior": "kb-canvas",
1586
+ "exports": [
1587
+ "createKbCanvas"
1588
+ ],
1589
+ "events": [
1590
+ "icen:kb-canvas-ai",
1591
+ "icen:kb-canvas-version"
1592
+ ]
932
1593
  },
933
1594
  "kb-checkpoint": {
934
1595
  "css": "kb-agent.css",
@@ -936,14 +1597,27 @@
936
1597
  "kb.css"
937
1598
  ],
938
1599
  "behavior": "kb-checkpoint",
939
- "init": "initKbCheckpoint"
1600
+ "init": "initKbCheckpoint",
1601
+ "exports": [
1602
+ "initKbCheckpoint",
1603
+ "renderKbCheckpoints"
1604
+ ],
1605
+ "events": [
1606
+ "icen:kb-checkpoint-restore"
1607
+ ]
940
1608
  },
941
1609
  "kb-sandbox": {
942
1610
  "css": "kb-agent.css",
943
1611
  "extraCss": [
944
1612
  "kb.css"
945
1613
  ],
946
- "behavior": "kb-sandbox"
1614
+ "behavior": "kb-sandbox",
1615
+ "exports": [
1616
+ "createKbSandbox"
1617
+ ],
1618
+ "events": [
1619
+ "icen:kb-sandbox-message"
1620
+ ]
947
1621
  },
948
1622
  "kb-chain": {
949
1623
  "css": "kb-agent.css",
@@ -951,7 +1625,14 @@
951
1625
  "kb.css"
952
1626
  ],
953
1627
  "behavior": "kb-chain",
954
- "init": "initKbChain"
1628
+ "init": "initKbChain",
1629
+ "exports": [
1630
+ "initKbChain",
1631
+ "renderKbChain"
1632
+ ],
1633
+ "events": [
1634
+ "icen:kb-chain-step"
1635
+ ]
955
1636
  },
956
1637
  "kb-acl": {
957
1638
  "css": "kb-perm.css",
@@ -959,21 +1640,45 @@
959
1640
  "kb.css"
960
1641
  ],
961
1642
  "behavior": "kb-acl",
962
- "init": "initKbAcl"
1643
+ "init": "initKbAcl",
1644
+ "exports": [
1645
+ "initKbAcl",
1646
+ "normalizeAclModel",
1647
+ "renderKbAcl"
1648
+ ],
1649
+ "events": [
1650
+ "icen:kb-acl-grant",
1651
+ "icen:kb-acl-inherit",
1652
+ "icen:kb-acl-remove"
1653
+ ]
963
1654
  },
964
1655
  "kb-who-can": {
965
1656
  "css": "kb-perm.css",
966
1657
  "extraCss": [
967
1658
  "kb.css"
968
1659
  ],
969
- "behavior": "kb-who-can"
1660
+ "behavior": "kb-who-can",
1661
+ "exports": [
1662
+ "renderKbWhoCan"
1663
+ ],
1664
+ "events": [
1665
+ "icen:kb-whocan-check"
1666
+ ]
970
1667
  },
971
1668
  "kb-access": {
972
1669
  "css": "kb-perm.css",
973
1670
  "extraCss": [
974
1671
  "kb.css"
975
1672
  ],
976
- "behavior": "kb-access"
1673
+ "behavior": "kb-access",
1674
+ "exports": [
1675
+ "createKbAccess"
1676
+ ],
1677
+ "events": [
1678
+ "icen:kb-access-decide",
1679
+ "icen:kb-access-expire",
1680
+ "icen:kb-access-request"
1681
+ ]
977
1682
  },
978
1683
  "kb-audit": {
979
1684
  "css": "kb-perm.css",
@@ -981,14 +1686,30 @@
981
1686
  "kb.css"
982
1687
  ],
983
1688
  "behavior": "kb-audit",
984
- "init": "initKbAudit"
1689
+ "init": "initKbAudit",
1690
+ "exports": [
1691
+ "initKbAudit",
1692
+ "renderKbAudit"
1693
+ ],
1694
+ "events": [
1695
+ "icen:kb-audit-export",
1696
+ "icen:kb-audit-filter",
1697
+ "icen:kb-hygiene-action"
1698
+ ]
985
1699
  },
986
1700
  "kb-visibility": {
987
1701
  "css": "kb-perm.css",
988
1702
  "extraCss": [
989
1703
  "kb.css"
990
1704
  ],
991
- "behavior": "kb-visibility"
1705
+ "behavior": "kb-visibility",
1706
+ "exports": [
1707
+ "renderKbVisibility"
1708
+ ],
1709
+ "events": [
1710
+ "icen:kb-visibility-identity",
1711
+ "icen:kb-visibility-layer"
1712
+ ]
992
1713
  },
993
1714
  "chart-graph": {
994
1715
  "css": "chart-graph.css",
@@ -999,6 +1720,11 @@
999
1720
  "exports": [
1000
1721
  "renderGraph",
1001
1722
  "layoutGraph"
1723
+ ],
1724
+ "events": [
1725
+ "icen:chart-legend-toggle",
1726
+ "icen:chart-legend-visibility",
1727
+ "icen:chart-zoom"
1002
1728
  ]
1003
1729
  },
1004
1730
  "chart-map": {
@@ -1006,6 +1732,11 @@
1006
1732
  "behavior": "charts",
1007
1733
  "exports": [
1008
1734
  "renderMap"
1735
+ ],
1736
+ "events": [
1737
+ "icen:chart-legend-toggle",
1738
+ "icen:chart-legend-visibility",
1739
+ "icen:chart-zoom"
1009
1740
  ]
1010
1741
  }
1011
1742
  }