@icen.ai/ui 0.9.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 (431) hide show
  1. package/AGENTS.md +82 -254
  2. package/LICENSE +21 -0
  3. package/README.md +60 -96
  4. package/dist/base.css +258 -188
  5. package/dist/behaviors/accordion.mjs +8 -8
  6. package/dist/behaviors/ai-branch.d.mts +1 -1
  7. package/dist/behaviors/ai-branch.mjs +1011 -94
  8. package/dist/behaviors/ai-chat.d.mts +9 -9
  9. package/dist/behaviors/ai-chat.mjs +1122 -169
  10. package/dist/behaviors/ai-composer.d.mts +47 -15
  11. package/dist/behaviors/ai-composer.mjs +2018 -534
  12. package/dist/behaviors/ai-core.d.mts +1 -1
  13. package/dist/behaviors/ai-core.mjs +1017 -107
  14. package/dist/behaviors/ai-diff.mjs +1020 -127
  15. package/dist/behaviors/ai-feedback.d.mts +1 -1
  16. package/dist/behaviors/ai-feedback.mjs +1036 -126
  17. package/dist/behaviors/ai-panel.d.mts +10 -10
  18. package/dist/behaviors/ai-panel.mjs +1285 -266
  19. package/dist/behaviors/ai-provider.d.mts +1 -1
  20. package/dist/behaviors/ai-provider.mjs +1004 -101
  21. package/dist/behaviors/ai-threads.d.mts +1 -1
  22. package/dist/behaviors/ai-threads.mjs +1069 -154
  23. package/dist/behaviors/ai-tool.d.mts +3 -3
  24. package/dist/behaviors/ai-tool.mjs +2087 -413
  25. package/dist/behaviors/ai-tools.d.mts +89 -16
  26. package/dist/behaviors/ai-tools.mjs +5365 -380
  27. package/dist/behaviors/autocomplete.d.mts +53 -0
  28. package/dist/behaviors/autocomplete.mjs +1601 -0
  29. package/dist/behaviors/back-top.d.mts +1 -1
  30. package/dist/behaviors/back-top.mjs +952 -14
  31. package/dist/behaviors/carousel.d.mts +1 -1
  32. package/dist/behaviors/carousel.mjs +914 -12
  33. package/dist/behaviors/cascader.d.mts +48 -0
  34. package/dist/behaviors/cascader.mjs +1867 -0
  35. package/dist/behaviors/charts.d.mts +72 -8
  36. package/dist/behaviors/charts.mjs +1953 -272
  37. package/dist/behaviors/code-block.d.mts +36 -0
  38. package/dist/behaviors/code-block.mjs +1619 -0
  39. package/dist/behaviors/command-palette.d.mts +9 -6
  40. package/dist/behaviors/command-palette.mjs +164 -62
  41. package/dist/behaviors/context-menu.d.mts +10 -9
  42. package/dist/behaviors/context-menu.mjs +1113 -44
  43. package/dist/behaviors/controls.d.mts +21 -21
  44. package/dist/behaviors/controls.mjs +1024 -134
  45. package/dist/behaviors/copy.d.mts +21 -2
  46. package/dist/behaviors/copy.mjs +1207 -42
  47. package/dist/behaviors/datatable.d.mts +55 -5
  48. package/dist/behaviors/datatable.mjs +2033 -212
  49. package/dist/behaviors/date-picker.d.mts +0 -1
  50. package/dist/behaviors/date-picker.mjs +1341 -293
  51. package/dist/behaviors/design.d.mts +54 -0
  52. package/dist/behaviors/design.mjs +109 -0
  53. package/dist/behaviors/dropdown.d.mts +5 -6
  54. package/dist/behaviors/dropdown.mjs +262 -110
  55. package/dist/behaviors/events.d.mts +127 -10
  56. package/dist/behaviors/events.mjs +58 -3
  57. package/dist/behaviors/feedback.d.mts +30 -0
  58. package/dist/behaviors/feedback.mjs +296 -0
  59. package/dist/behaviors/focus.d.mts +8 -0
  60. package/dist/behaviors/focus.mjs +24 -0
  61. package/dist/behaviors/form-validate.d.mts +111 -0
  62. package/dist/behaviors/form-validate.mjs +1746 -0
  63. package/dist/behaviors/i18n.d.mts +790 -0
  64. package/dist/behaviors/i18n.mjs +1713 -0
  65. package/dist/behaviors/icons.d.mts +93 -0
  66. package/dist/behaviors/icons.mjs +113 -0
  67. package/dist/behaviors/input.d.mts +9 -1
  68. package/dist/behaviors/input.mjs +1059 -60
  69. package/dist/behaviors/kb-access.d.mts +3 -3
  70. package/dist/behaviors/kb-access.mjs +2135 -239
  71. package/dist/behaviors/kb-acl.d.mts +8 -8
  72. package/dist/behaviors/kb-acl.mjs +1120 -179
  73. package/dist/behaviors/kb-answer.d.mts +2 -2
  74. package/dist/behaviors/kb-answer.mjs +2120 -435
  75. package/dist/behaviors/kb-audit.d.mts +3 -3
  76. package/dist/behaviors/kb-audit.mjs +1077 -154
  77. package/dist/behaviors/kb-canvas.d.mts +3 -3
  78. package/dist/behaviors/kb-canvas.mjs +1101 -177
  79. package/dist/behaviors/kb-chain.d.mts +2 -2
  80. package/dist/behaviors/kb-chain.mjs +1023 -100
  81. package/dist/behaviors/kb-checkpoint.d.mts +3 -3
  82. package/dist/behaviors/kb-checkpoint.mjs +1320 -169
  83. package/dist/behaviors/kb-chunks.d.mts +2 -2
  84. package/dist/behaviors/kb-chunks.mjs +1153 -213
  85. package/dist/behaviors/kb-citation.d.mts +3 -3
  86. package/dist/behaviors/kb-citation.mjs +1221 -185
  87. package/dist/behaviors/kb-clarify.d.mts +2 -2
  88. package/dist/behaviors/kb-clarify.mjs +1059 -130
  89. package/dist/behaviors/kb-conflict.d.mts +2 -2
  90. package/dist/behaviors/kb-conflict.mjs +1042 -119
  91. package/dist/behaviors/kb-connector.d.mts +2 -2
  92. package/dist/behaviors/kb-connector.mjs +1105 -176
  93. package/dist/behaviors/kb-core.d.mts +7 -2
  94. package/dist/behaviors/kb-core.mjs +1078 -162
  95. package/dist/behaviors/kb-eval.d.mts +2 -2
  96. package/dist/behaviors/kb-eval.mjs +1977 -144
  97. package/dist/behaviors/kb-explain.d.mts +3 -3
  98. package/dist/behaviors/kb-explain.mjs +1037 -104
  99. package/dist/behaviors/kb-filter.d.mts +2 -2
  100. package/dist/behaviors/kb-filter.mjs +2014 -178
  101. package/dist/behaviors/kb-gap.d.mts +3 -3
  102. package/dist/behaviors/kb-gap.mjs +1044 -121
  103. package/dist/behaviors/kb-hittest.d.mts +3 -3
  104. package/dist/behaviors/kb-hittest.mjs +1095 -151
  105. package/dist/behaviors/kb-metadata.mjs +1058 -130
  106. package/dist/behaviors/kb-passage.d.mts +4 -4
  107. package/dist/behaviors/kb-passage.mjs +1102 -161
  108. package/dist/behaviors/kb-pipeline.d.mts +4 -4
  109. package/dist/behaviors/kb-pipeline.mjs +1083 -162
  110. package/dist/behaviors/kb-qa.mjs +1089 -160
  111. package/dist/behaviors/kb-rerank.d.mts +2 -2
  112. package/dist/behaviors/kb-rerank.mjs +1048 -114
  113. package/dist/behaviors/kb-retrieval.d.mts +2 -2
  114. package/dist/behaviors/kb-retrieval.mjs +2079 -226
  115. package/dist/behaviors/kb-review.d.mts +2 -2
  116. package/dist/behaviors/kb-review.mjs +1996 -159
  117. package/dist/behaviors/kb-sandbox.d.mts +3 -3
  118. package/dist/behaviors/kb-sandbox.mjs +1033 -105
  119. package/dist/behaviors/kb-segment.d.mts +2 -2
  120. package/dist/behaviors/kb-segment.mjs +1112 -179
  121. package/dist/behaviors/kb-select.d.mts +24 -0
  122. package/dist/behaviors/kb-select.mjs +1995 -0
  123. package/dist/behaviors/kb-sources.d.mts +3 -3
  124. package/dist/behaviors/kb-sources.mjs +1085 -170
  125. package/dist/behaviors/kb-sql.d.mts +3 -3
  126. package/dist/behaviors/kb-sql.mjs +1144 -226
  127. package/dist/behaviors/kb-trace.d.mts +3 -3
  128. package/dist/behaviors/kb-trace.mjs +1051 -131
  129. package/dist/behaviors/kb-visibility.d.mts +2 -2
  130. package/dist/behaviors/kb-visibility.mjs +1087 -158
  131. package/dist/behaviors/kb-who-can.d.mts +2 -2
  132. package/dist/behaviors/kb-who-can.mjs +1980 -137
  133. package/dist/behaviors/mentions.d.mts +93 -0
  134. package/dist/behaviors/mentions.mjs +2153 -0
  135. package/dist/behaviors/modal.d.mts +4 -3
  136. package/dist/behaviors/modal.mjs +1056 -33
  137. package/dist/behaviors/nav.d.mts +1 -1
  138. package/dist/behaviors/nav.mjs +6 -6
  139. package/dist/behaviors/notification.d.mts +16 -8
  140. package/dist/behaviors/notification.mjs +1629 -268
  141. package/dist/behaviors/panel.d.mts +4 -0
  142. package/dist/behaviors/panel.mjs +995 -0
  143. package/dist/behaviors/popover.d.mts +28 -5
  144. package/dist/behaviors/popover.mjs +225 -24
  145. package/dist/behaviors/scroll-area.d.mts +17 -0
  146. package/dist/behaviors/scroll-area.mjs +59 -0
  147. package/dist/behaviors/select.d.mts +5 -2
  148. package/dist/behaviors/select.mjs +1416 -117
  149. package/dist/behaviors/sidebar.d.mts +1 -1
  150. package/dist/behaviors/sidebar.mjs +13 -13
  151. package/dist/behaviors/slider.d.mts +1 -1
  152. package/dist/behaviors/slider.mjs +12 -12
  153. package/dist/behaviors/split-pane.d.mts +1 -1
  154. package/dist/behaviors/split-pane.mjs +9 -7
  155. package/dist/behaviors/suggestions.d.mts +27 -0
  156. package/dist/behaviors/suggestions.mjs +1090 -0
  157. package/dist/behaviors/svg-parse.d.mts +14 -0
  158. package/dist/behaviors/svg-parse.mjs +37 -0
  159. package/dist/behaviors/tabs.d.mts +2 -2
  160. package/dist/behaviors/tabs.mjs +35 -25
  161. package/dist/behaviors/tag-input.d.mts +23 -5
  162. package/dist/behaviors/tag-input.mjs +1360 -104
  163. package/dist/behaviors/theme-switcher.d.mts +24 -0
  164. package/dist/behaviors/theme-switcher.mjs +1996 -0
  165. package/dist/behaviors/theme.d.mts +15 -8
  166. package/dist/behaviors/theme.mjs +406 -30
  167. package/dist/behaviors/toast.d.mts +24 -25
  168. package/dist/behaviors/toast.mjs +1267 -88
  169. package/dist/behaviors/tooltip.d.mts +4 -0
  170. package/dist/behaviors/tooltip.mjs +378 -0
  171. package/dist/behaviors/tree-select.d.mts +69 -0
  172. package/dist/behaviors/tree-select.mjs +1921 -0
  173. package/dist/behaviors/tree.d.mts +1 -1
  174. package/dist/behaviors/tree.mjs +18 -18
  175. package/dist/behaviors/upload.d.mts +3 -2
  176. package/dist/behaviors/upload.mjs +1077 -66
  177. package/dist/behaviors/url-safety.d.mts +8 -0
  178. package/dist/behaviors/url-safety.mjs +11 -0
  179. package/dist/cli.mjs +5 -6
  180. package/dist/components/accordion.d.mts +2 -0
  181. package/dist/components/ai-branch.d.mts +2 -0
  182. package/dist/components/ai-chat.css +682 -582
  183. package/dist/components/ai-chat.d.mts +2 -0
  184. package/dist/components/ai-composer.d.mts +2 -0
  185. package/dist/components/ai-context.d.mts +2 -0
  186. package/dist/components/ai-context.mjs +1 -0
  187. package/dist/components/ai-diff.css +153 -132
  188. package/dist/components/ai-diff.d.mts +2 -0
  189. package/dist/components/ai-feedback.d.mts +2 -0
  190. package/dist/components/ai-files.d.mts +2 -0
  191. package/dist/components/ai-message.d.mts +2 -0
  192. package/dist/components/ai-panel.css +353 -343
  193. package/dist/components/ai-reasoning.d.mts +2 -0
  194. package/dist/components/ai-subagent.d.mts +2 -0
  195. package/dist/components/ai-subagent.mjs +1 -0
  196. package/dist/components/ai-threads.d.mts +2 -0
  197. package/dist/components/ai-todo.d.mts +2 -0
  198. package/dist/components/ai-todo.mjs +1 -0
  199. package/dist/components/ai-tool-call.d.mts +2 -0
  200. package/dist/components/ai-tool-call.mjs +1 -0
  201. package/dist/components/ai-tool.css +397 -242
  202. package/dist/components/ai-usage.d.mts +2 -0
  203. package/dist/components/alert.d.mts +2 -0
  204. package/dist/components/autocomplete.css +61 -0
  205. package/dist/components/autocomplete.d.mts +2 -0
  206. package/dist/components/autocomplete.mjs +3 -0
  207. package/dist/components/avatar.d.mts +2 -0
  208. package/dist/components/back-top.css +74 -40
  209. package/dist/components/back-top.d.mts +2 -0
  210. package/dist/components/badge.css +44 -41
  211. package/dist/components/badge.d.mts +2 -0
  212. package/dist/components/breadcrumb.css +85 -46
  213. package/dist/components/breadcrumb.d.mts +2 -0
  214. package/dist/components/btn.css +105 -94
  215. package/dist/components/btn.d.mts +2 -0
  216. package/dist/components/card.css +124 -113
  217. package/dist/components/card.d.mts +2 -0
  218. package/dist/components/carousel.d.mts +2 -0
  219. package/dist/components/cascader.css +332 -0
  220. package/dist/components/cascader.d.mts +2 -0
  221. package/dist/components/cascader.mjs +3 -0
  222. package/dist/components/chart-area.css +54 -2
  223. package/dist/components/chart-area.d.mts +2 -0
  224. package/dist/components/chart-bar.css +147 -38
  225. package/dist/components/chart-bar.d.mts +2 -0
  226. package/dist/components/chart-calendar.d.mts +2 -0
  227. package/dist/components/chart-gauge.css +36 -13
  228. package/dist/components/chart-gauge.d.mts +2 -0
  229. package/dist/components/chart-graph.css +35 -20
  230. package/dist/components/chart-graph.d.mts +2 -0
  231. package/dist/components/chart-heatmap.css +67 -39
  232. package/dist/components/chart-heatmap.d.mts +2 -0
  233. package/dist/components/chart-line.css +62 -3
  234. package/dist/components/chart-line.d.mts +2 -0
  235. package/dist/components/chart-map.d.mts +2 -0
  236. package/dist/components/chart-pie.css +38 -6
  237. package/dist/components/chart-pie.d.mts +2 -0
  238. package/dist/components/chart-radar.css +57 -5
  239. package/dist/components/chart-radar.d.mts +2 -0
  240. package/dist/components/chart-scatter.css +47 -7
  241. package/dist/components/chart-scatter.d.mts +2 -0
  242. package/dist/components/chart-sparkline.css +25 -2
  243. package/dist/components/chart-sparkline.d.mts +2 -0
  244. package/dist/components/chart-stack.css +27 -13
  245. package/dist/components/chart-stack.d.mts +2 -0
  246. package/dist/components/charts.css +220 -84
  247. package/dist/components/charts.d.mts +2 -0
  248. package/dist/components/code-block.css +420 -0
  249. package/dist/components/code-block.d.mts +2 -0
  250. package/dist/components/code-block.mjs +4 -0
  251. package/dist/components/command-palette.css +150 -122
  252. package/dist/components/command-palette.d.mts +2 -0
  253. package/dist/components/content.css +274 -263
  254. package/dist/components/context-menu.d.mts +2 -0
  255. package/dist/components/copy.css +73 -45
  256. package/dist/components/copy.d.mts +2 -0
  257. package/dist/components/datatable.css +457 -202
  258. package/dist/components/datatable.d.mts +2 -0
  259. package/dist/components/date-picker.css +136 -105
  260. package/dist/components/date-picker.d.mts +2 -0
  261. package/dist/components/desc.d.mts +2 -0
  262. package/dist/components/dropdown.d.mts +2 -0
  263. package/dist/components/empty.css +72 -69
  264. package/dist/components/empty.d.mts +2 -0
  265. package/dist/components/feedback.css +211 -191
  266. package/dist/components/form-validate.css +134 -0
  267. package/dist/components/form-validate.d.mts +2 -0
  268. package/dist/components/form-validate.mjs +3 -0
  269. package/dist/components/form.css +157 -131
  270. package/dist/components/form.d.mts +2 -0
  271. package/dist/components/icon.css +113 -0
  272. package/dist/components/icon.d.mts +2 -0
  273. package/dist/components/icon.mjs +3 -0
  274. package/dist/components/input.css +163 -108
  275. package/dist/components/input.d.mts +2 -0
  276. package/dist/components/kb-access.d.mts +2 -0
  277. package/dist/components/kb-acl.d.mts +2 -0
  278. package/dist/components/kb-agent.css +300 -206
  279. package/dist/components/kb-answer.d.mts +2 -0
  280. package/dist/components/kb-audit.d.mts +2 -0
  281. package/dist/components/kb-canvas.d.mts +2 -0
  282. package/dist/components/kb-chain.d.mts +2 -0
  283. package/dist/components/kb-checkpoint.d.mts +2 -0
  284. package/dist/components/kb-chunks.d.mts +2 -0
  285. package/dist/components/kb-citation.d.mts +2 -0
  286. package/dist/components/kb-clarify.d.mts +2 -0
  287. package/dist/components/kb-conflict.d.mts +2 -0
  288. package/dist/components/kb-connector.d.mts +2 -0
  289. package/dist/components/kb-data.css +431 -315
  290. package/dist/components/kb-eval.d.mts +2 -0
  291. package/dist/components/kb-explain.d.mts +2 -0
  292. package/dist/components/kb-filter.d.mts +2 -0
  293. package/dist/components/kb-gap.d.mts +2 -0
  294. package/dist/components/kb-ground.css +333 -229
  295. package/dist/components/kb-hittest.d.mts +2 -0
  296. package/dist/components/kb-ingest.css +613 -434
  297. package/dist/components/kb-metadata.d.mts +2 -0
  298. package/dist/components/kb-ops.css +422 -302
  299. package/dist/components/kb-passage.d.mts +2 -0
  300. package/dist/components/kb-perm.css +374 -314
  301. package/dist/components/kb-pipeline.d.mts +2 -0
  302. package/dist/components/kb-qa.d.mts +2 -0
  303. package/dist/components/kb-rerank.d.mts +2 -0
  304. package/dist/components/kb-retrieval.d.mts +2 -0
  305. package/dist/components/kb-review.d.mts +2 -0
  306. package/dist/components/kb-sandbox.d.mts +2 -0
  307. package/dist/components/kb-search.css +653 -459
  308. package/dist/components/kb-segment.d.mts +2 -0
  309. package/dist/components/kb-sources.d.mts +2 -0
  310. package/dist/components/kb-sql.d.mts +2 -0
  311. package/dist/components/kb-trace.d.mts +2 -0
  312. package/dist/components/kb-visibility.d.mts +2 -0
  313. package/dist/components/kb-who-can.d.mts +2 -0
  314. package/dist/components/kb.css +170 -135
  315. package/dist/components/kb.d.mts +2 -0
  316. package/dist/components/kbd.d.mts +2 -0
  317. package/dist/components/layout.css +86 -83
  318. package/dist/components/layout.d.mts +2 -0
  319. package/dist/components/list.d.mts +2 -0
  320. package/dist/components/material-chinese.css +83 -0
  321. package/dist/components/material-soviet.css +86 -0
  322. package/dist/components/material.css +318 -0
  323. package/dist/components/media-card.d.mts +2 -0
  324. package/dist/components/media.css +225 -176
  325. package/dist/components/mentions.css +190 -0
  326. package/dist/components/mentions.d.mts +2 -0
  327. package/dist/components/mentions.mjs +3 -0
  328. package/dist/components/menu.css +121 -109
  329. package/dist/components/modal.css +116 -118
  330. package/dist/components/modal.d.mts +2 -0
  331. package/dist/components/nav.css +136 -129
  332. package/dist/components/nav.d.mts +2 -0
  333. package/dist/components/notification.css +247 -177
  334. package/dist/components/notification.d.mts +2 -0
  335. package/dist/components/pagination.css +62 -57
  336. package/dist/components/pagination.d.mts +2 -0
  337. package/dist/components/panel.css +70 -68
  338. package/dist/components/panel.d.mts +2 -0
  339. package/dist/components/panel.mjs +1 -0
  340. package/dist/components/pill.css +83 -72
  341. package/dist/components/pill.d.mts +2 -0
  342. package/dist/components/popover.css +80 -57
  343. package/dist/components/popover.d.mts +2 -0
  344. package/dist/components/progress.d.mts +2 -0
  345. package/dist/components/rating.d.mts +2 -0
  346. package/dist/components/result.d.mts +2 -0
  347. package/dist/components/scroll-area.css +29 -54
  348. package/dist/components/scroll-area.d.mts +2 -0
  349. package/dist/components/scroll-area.mjs +1 -0
  350. package/dist/components/segmented.css +167 -146
  351. package/dist/components/segmented.d.mts +2 -0
  352. package/dist/components/select.css +250 -191
  353. package/dist/components/select.d.mts +2 -0
  354. package/dist/components/sidebar.css +157 -143
  355. package/dist/components/sidebar.d.mts +2 -0
  356. package/dist/components/skeleton.d.mts +2 -0
  357. package/dist/components/slider.css +135 -128
  358. package/dist/components/slider.d.mts +2 -0
  359. package/dist/components/spinner.d.mts +2 -0
  360. package/dist/components/split-pane.css +120 -108
  361. package/dist/components/split-pane.d.mts +2 -0
  362. package/dist/components/stat.css +116 -109
  363. package/dist/components/stat.d.mts +2 -0
  364. package/dist/components/steps.css +114 -108
  365. package/dist/components/steps.d.mts +2 -0
  366. package/dist/components/switch.css +192 -149
  367. package/dist/components/switch.d.mts +2 -0
  368. package/dist/components/table.css +158 -112
  369. package/dist/components/table.d.mts +2 -0
  370. package/dist/components/tabs.css +143 -116
  371. package/dist/components/tabs.d.mts +2 -0
  372. package/dist/components/tag-input.css +52 -133
  373. package/dist/components/tag-input.d.mts +2 -0
  374. package/dist/components/tag.css +90 -72
  375. package/dist/components/tag.d.mts +2 -0
  376. package/dist/components/theme-switcher.css +105 -0
  377. package/dist/components/theme-switcher.d.mts +2 -0
  378. package/dist/components/theme-switcher.mjs +3 -0
  379. package/dist/components/timeline.d.mts +2 -0
  380. package/dist/components/toast.css +115 -97
  381. package/dist/components/toast.d.mts +2 -0
  382. package/dist/components/toolbar.css +47 -43
  383. package/dist/components/toolbar.d.mts +2 -0
  384. package/dist/components/tooltip.css +103 -43
  385. package/dist/components/tooltip.d.mts +2 -0
  386. package/dist/components/tooltip.mjs +1 -0
  387. package/dist/components/tree-select.css +439 -0
  388. package/dist/components/tree-select.d.mts +2 -0
  389. package/dist/components/tree-select.mjs +3 -0
  390. package/dist/components/tree.d.mts +2 -0
  391. package/dist/components/upload.css +138 -97
  392. package/dist/components/upload.d.mts +2 -0
  393. package/dist/fonts/LICENSES/ark-pixel/OFL.txt +96 -0
  394. package/dist/fonts/LICENSES/cubic-11/OFL.txt +108 -0
  395. package/dist/fonts/LICENSES/galmuri/LICENSE.txt +93 -0
  396. package/dist/fonts/OFL.txt +96 -0
  397. package/dist/fonts/README.md +14 -0
  398. package/dist/fonts/fusion-pixel-12px-zh-hans.woff2 +0 -0
  399. package/dist/index.d.mts +85 -70
  400. package/dist/index.mjs +17330 -5773
  401. package/dist/react.d.mts +91 -0
  402. package/dist/react.mjs +8307 -0
  403. package/dist/registry.json +918 -70
  404. package/dist/tokens/chinese.css +44 -0
  405. package/dist/tokens/colors.css +371 -1222
  406. package/dist/tokens/design.css +209 -0
  407. package/dist/tokens/dtcg.json +15926 -0
  408. package/dist/tokens/figma.variables.json +10779 -0
  409. package/dist/tokens/icon-masks.css +78 -0
  410. package/dist/tokens/pixel.css +53 -0
  411. package/dist/tokens/scrollbars.css +40 -0
  412. package/dist/tokens/soviet.css +44 -0
  413. package/dist/tokens/style-profiles.css +36 -547
  414. package/dist/tokens/themes.json +308 -0
  415. package/dist/tokens/tokens-studio.json +11648 -0
  416. package/dist/tokens/typography.css +21 -18
  417. package/dist/tokens.css +1783 -1806
  418. package/dist/ui.css +14796 -10750
  419. package/dist/vue.d.mts +344 -0
  420. package/dist/vue.mjs +7876 -0
  421. package/docs/spec/ai-input-experience.md +75 -0
  422. package/docs/spec/ai-native.md +238 -147
  423. package/docs/spec/design-philosophy.md +189 -0
  424. package/docs/spec/design-primitives.md +196 -0
  425. package/docs/spec/kb-family.md +147 -115
  426. package/docs/spec/scrollbars.md +46 -0
  427. package/package.json +56 -8
  428. package/dist/retro-effects.css +0 -255
  429. package/dist/tokens/retro-effects.css +0 -255
  430. package/docs/research/2026-10-03-ai-kb-components.md +0 -392
  431. package/docs/research/2026-10-03-kb-permissions.md +0 -992
@@ -1,25 +1,31 @@
1
1
  {
2
2
  "name": "@icen.ai/ui",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "tokens": [
5
5
  "colors.css",
6
+ "scrollbars.css",
6
7
  "style-profiles.css",
7
- "typography.css"
8
- ],
9
- "tokensExtras": [
10
- "retro-effects.css"
8
+ "typography.css",
9
+ "design.css",
10
+ "chinese.css",
11
+ "soviet.css",
12
+ "pixel.css",
13
+ "icon-masks.css"
11
14
  ],
15
+ "tokensExtras": [],
12
16
  "base": "base.css",
13
17
  "components": [
14
18
  "ai-chat",
15
19
  "ai-diff",
16
20
  "ai-panel",
17
21
  "ai-tool",
22
+ "autocomplete",
18
23
  "back-top",
19
24
  "badge",
20
25
  "breadcrumb",
21
26
  "btn",
22
27
  "card",
28
+ "cascader",
23
29
  "chart-area",
24
30
  "chart-bar",
25
31
  "chart-gauge",
@@ -32,6 +38,7 @@
32
38
  "chart-sparkline",
33
39
  "chart-stack",
34
40
  "charts",
41
+ "code-block",
35
42
  "command-palette",
36
43
  "content",
37
44
  "copy",
@@ -39,7 +46,9 @@
39
46
  "date-picker",
40
47
  "empty",
41
48
  "feedback",
49
+ "form-validate",
42
50
  "form",
51
+ "icon",
43
52
  "input",
44
53
  "kb-agent",
45
54
  "kb-data",
@@ -50,7 +59,11 @@
50
59
  "kb-search",
51
60
  "kb",
52
61
  "layout",
62
+ "material-chinese",
63
+ "material-soviet",
64
+ "material",
53
65
  "media",
66
+ "mentions",
54
67
  "menu",
55
68
  "modal",
56
69
  "nav",
@@ -72,11 +85,91 @@
72
85
  "tabs",
73
86
  "tag-input",
74
87
  "tag",
88
+ "theme-switcher",
75
89
  "toast",
76
90
  "toolbar",
77
91
  "tooltip",
92
+ "tree-select",
78
93
  "upload"
79
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
+ },
80
173
  "behaviors": [
81
174
  "accordion",
82
175
  "ai-branch",
@@ -90,17 +183,26 @@
90
183
  "ai-threads",
91
184
  "ai-tool",
92
185
  "ai-tools",
186
+ "autocomplete",
93
187
  "back-top",
94
188
  "carousel",
189
+ "cascader",
95
190
  "charts",
191
+ "code-block",
96
192
  "command-palette",
97
193
  "context-menu",
98
194
  "controls",
99
195
  "copy",
100
196
  "datatable",
101
197
  "date-picker",
198
+ "design",
102
199
  "dropdown",
103
200
  "events",
201
+ "feedback",
202
+ "focus",
203
+ "form-validate",
204
+ "i18n",
205
+ "icons",
104
206
  "input",
105
207
  "kb-access",
106
208
  "kb-acl",
@@ -129,32 +231,70 @@
129
231
  "kb-review",
130
232
  "kb-sandbox",
131
233
  "kb-segment",
234
+ "kb-select",
132
235
  "kb-sources",
133
236
  "kb-sql",
134
237
  "kb-trace",
135
238
  "kb-visibility",
136
239
  "kb-who-can",
240
+ "mentions",
137
241
  "modal",
138
242
  "nav",
139
243
  "notification",
244
+ "panel",
140
245
  "popover",
246
+ "scroll-area",
141
247
  "select",
142
248
  "sidebar",
143
249
  "slider",
144
250
  "split-pane",
251
+ "suggestions",
252
+ "svg-parse",
145
253
  "tabs",
146
254
  "tag-input",
255
+ "theme-switcher",
147
256
  "theme",
148
257
  "toast",
258
+ "tooltip",
259
+ "tree-select",
149
260
  "tree",
150
- "upload"
261
+ "upload",
262
+ "url-safety"
151
263
  ],
152
264
  "slugs": {
265
+ "icon": {
266
+ "css": "icon.css",
267
+ "behavior": "icons",
268
+ "exports": [
269
+ "ICON_PATHS",
270
+ "iconPath",
271
+ "iconHTML",
272
+ "createIcon",
273
+ "registerIcon"
274
+ ]
275
+ },
276
+ "theme-switcher": {
277
+ "css": "theme-switcher.css",
278
+ "behavior": "theme-switcher",
279
+ "init": "initThemeSwitcher",
280
+ "exports": [
281
+ "createThemeSwitcher",
282
+ "themeSwitcherHTML"
283
+ ]
284
+ },
153
285
  "btn": {
154
286
  "css": "btn.css"
155
287
  },
156
288
  "panel": {
157
- "css": "panel.css"
289
+ "css": "panel.css",
290
+ "behavior": "panel",
291
+ "init": "initPanel",
292
+ "exports": [
293
+ "setPanelExpanded"
294
+ ],
295
+ "events": [
296
+ "icen:panel-toggle"
297
+ ]
158
298
  },
159
299
  "pill": {
160
300
  "css": "pill.css"
@@ -165,7 +305,13 @@
165
305
  "tabs": {
166
306
  "css": "tabs.css",
167
307
  "behavior": "tabs",
168
- "init": "initTabs"
308
+ "init": "initTabs",
309
+ "exports": [
310
+ "initTabs"
311
+ ],
312
+ "events": [
313
+ "icen:tab-change"
314
+ ]
169
315
  },
170
316
  "stat": {
171
317
  "css": "stat.css"
@@ -183,7 +329,13 @@
183
329
  "split-pane": {
184
330
  "css": "split-pane.css",
185
331
  "behavior": "split-pane",
186
- "init": "initSplitPane"
332
+ "init": "initSplitPane",
333
+ "exports": [
334
+ "initSplitPane"
335
+ ],
336
+ "events": [
337
+ "icen:split-change"
338
+ ]
187
339
  },
188
340
  "form": {
189
341
  "css": "form.css"
@@ -191,22 +343,48 @@
191
343
  "input": {
192
344
  "css": "input.css",
193
345
  "behavior": "input",
194
- "init": "initInput"
346
+ "init": "initInput",
347
+ "exports": [
348
+ "enhanceSearchField",
349
+ "initInput"
350
+ ],
351
+ "events": [
352
+ "icen:otp-complete"
353
+ ]
195
354
  },
196
355
  "select": {
197
356
  "css": "select.css",
198
357
  "behavior": "select",
199
- "init": "initSelect"
358
+ "init": "initSelect",
359
+ "exports": [
360
+ "refreshSelect"
361
+ ],
362
+ "events": [
363
+ "icen:select-change"
364
+ ]
200
365
  },
201
366
  "slider": {
202
367
  "css": "slider.css",
203
368
  "behavior": "slider",
204
- "init": "initSlider"
369
+ "init": "initSlider",
370
+ "exports": [
371
+ "initSlider"
372
+ ],
373
+ "events": [
374
+ "icen:slider-change",
375
+ "icen:slider-input"
376
+ ]
205
377
  },
206
378
  "tag-input": {
207
379
  "css": "tag-input.css",
208
380
  "behavior": "tag-input",
209
- "init": "initTagInput"
381
+ "init": "initTagInput",
382
+ "exports": [
383
+ "createTagInput"
384
+ ],
385
+ "events": [
386
+ "icen:tags-change"
387
+ ]
210
388
  },
211
389
  "switch": {
212
390
  "css": "switch.css",
@@ -214,6 +392,16 @@
214
392
  "init": "initSwitch",
215
393
  "exports": [
216
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"
217
405
  ]
218
406
  },
219
407
  "segmented": {
@@ -223,36 +411,154 @@
223
411
  "initInput",
224
412
  "initSegmented",
225
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"
226
424
  ]
227
425
  },
228
426
  "upload": {
229
427
  "css": "upload.css",
230
428
  "behavior": "upload",
231
- "init": "initUpload"
429
+ "init": "initUpload",
430
+ "exports": [
431
+ "initUpload"
432
+ ],
433
+ "events": [
434
+ "icen:upload",
435
+ "icen:upload-error",
436
+ "icen:upload-remove"
437
+ ]
232
438
  },
233
439
  "date-picker": {
234
440
  "css": "date-picker.css",
235
441
  "behavior": "date-picker",
236
- "init": "initDatePicker"
442
+ "init": "initDatePicker",
443
+ "exports": [
444
+ "initDatePicker"
445
+ ],
446
+ "events": [
447
+ "icen:date-change"
448
+ ]
449
+ },
450
+ "form-validate": {
451
+ "css": "form-validate.css",
452
+ "behavior": "form-validate",
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
+ ]
472
+ },
473
+ "cascader": {
474
+ "css": "cascader.css",
475
+ "behavior": "cascader",
476
+ "exports": [
477
+ "cascaderPathLabels",
478
+ "collectCascaderLeafPaths",
479
+ "createCascader",
480
+ "filterCascaderPaths",
481
+ "findCascaderPath"
482
+ ],
483
+ "events": [
484
+ "icen:cascader-change"
485
+ ]
486
+ },
487
+ "tree-select": {
488
+ "css": "tree-select.css",
489
+ "behavior": "tree-select",
490
+ "exports": [
491
+ "createTreeSelect",
492
+ "filterTreeNodes",
493
+ "flattenTreeNodes",
494
+ "treeNodeCheckState"
495
+ ],
496
+ "events": [
497
+ "icen:tree-select-change"
498
+ ]
499
+ },
500
+ "mentions": {
501
+ "css": "mentions.css",
502
+ "behavior": "mentions",
503
+ "exports": [
504
+ "createMentions"
505
+ ],
506
+ "events": [
507
+ "icen:mention-change",
508
+ "icen:mention-select"
509
+ ]
510
+ },
511
+ "autocomplete": {
512
+ "css": "autocomplete.css",
513
+ "behavior": "autocomplete",
514
+ "exports": [
515
+ "createAutocomplete"
516
+ ],
517
+ "events": [
518
+ "icen:autocomplete-change",
519
+ "icen:autocomplete-select"
520
+ ]
237
521
  },
238
522
  "modal": {
239
523
  "css": "modal.css",
240
524
  "behavior": "modal",
241
- "init": "initModal"
525
+ "init": "initModal",
526
+ "exports": [
527
+ "openModal",
528
+ "closeModal"
529
+ ],
530
+ "events": [
531
+ "icen:modal-close",
532
+ "icen:modal-open"
533
+ ]
242
534
  },
243
535
  "dropdown": {
244
536
  "css": "menu.css",
245
537
  "behavior": "dropdown",
246
- "init": "initDropdown"
538
+ "init": "initDropdown",
539
+ "exports": [
540
+ "openDropdown",
541
+ "closeDropdown"
542
+ ]
247
543
  },
248
544
  "context-menu": {
249
545
  "css": "menu.css",
250
546
  "behavior": "context-menu",
251
- "init": "initContextMenu"
547
+ "init": "initContextMenu",
548
+ "exports": [
549
+ "openContextMenu",
550
+ "closeContextMenu",
551
+ "registerContextMenu",
552
+ "unregisterContextMenu"
553
+ ],
554
+ "events": [
555
+ "icen:menu-select"
556
+ ]
252
557
  },
253
558
  "popover": {
254
559
  "css": "popover.css",
255
560
  "behavior": "popover",
561
+ "init": "initPopover",
256
562
  "exports": [
257
563
  "openPopover",
258
564
  "closePopover",
@@ -260,12 +566,26 @@
260
566
  ]
261
567
  },
262
568
  "tooltip": {
263
- "css": "tooltip.css"
569
+ "css": "tooltip.css",
570
+ "behavior": "tooltip",
571
+ "init": "initTooltip",
572
+ "exports": [
573
+ "initTooltip"
574
+ ]
264
575
  },
265
576
  "command-palette": {
266
577
  "css": "command-palette.css",
267
578
  "behavior": "command-palette",
268
- "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
+ ]
269
589
  },
270
590
  "card": {
271
591
  "css": "card.css"
@@ -285,6 +605,16 @@
285
605
  "init": "initRating",
286
606
  "exports": [
287
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"
288
618
  ]
289
619
  },
290
620
  "kbd": {
@@ -296,7 +626,13 @@
296
626
  "accordion": {
297
627
  "css": "content.css",
298
628
  "behavior": "accordion",
299
- "init": "initAccordion"
629
+ "init": "initAccordion",
630
+ "exports": [
631
+ "initAccordion"
632
+ ],
633
+ "events": [
634
+ "icen:accordion-toggle"
635
+ ]
300
636
  },
301
637
  "timeline": {
302
638
  "css": "content.css"
@@ -307,18 +643,53 @@
307
643
  "tree": {
308
644
  "css": "content.css",
309
645
  "behavior": "tree",
310
- "init": "initTree"
646
+ "init": "initTree",
647
+ "exports": [
648
+ "initTree"
649
+ ],
650
+ "events": [
651
+ "icen:tree-select",
652
+ "icen:tree-toggle"
653
+ ]
311
654
  },
312
655
  "carousel": {
313
656
  "css": "media.css",
314
657
  "behavior": "carousel",
315
- "init": "initCarousel"
658
+ "init": "initCarousel",
659
+ "exports": [
660
+ "initCarousel"
661
+ ],
662
+ "events": [
663
+ "icen:carousel-change"
664
+ ]
316
665
  },
317
666
  "badge": {
318
667
  "css": "badge.css"
319
668
  },
320
669
  "scroll-area": {
321
- "css": "scroll-area.css"
670
+ "css": "scroll-area.css",
671
+ "behavior": "scroll-area",
672
+ "init": "initScrollArea",
673
+ "exports": [
674
+ "initScrollArea"
675
+ ]
676
+ },
677
+ "code-block": {
678
+ "css": "code-block.css",
679
+ "extraCss": [
680
+ "tooltip.css"
681
+ ],
682
+ "behavior": "code-block",
683
+ "init": "initCodeBlock",
684
+ "exports": [
685
+ "renderCodeBlock",
686
+ "codeBlockHTML"
687
+ ],
688
+ "events": [
689
+ "icen:code-block-toggle",
690
+ "icen:copy-error",
691
+ "icen:copy-success"
692
+ ]
322
693
  },
323
694
  "table": {
324
695
  "css": "table.css",
@@ -326,6 +697,16 @@
326
697
  "init": "initTableSort",
327
698
  "exports": [
328
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"
329
710
  ]
330
711
  },
331
712
  "datatable": {
@@ -336,6 +717,22 @@
336
717
  "behavior": "datatable",
337
718
  "exports": [
338
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"
339
736
  ]
340
737
  },
341
738
  "charts": {
@@ -372,6 +769,11 @@
372
769
  "inferChartType",
373
770
  "chartFormatValue",
374
771
  "registerChartTone"
772
+ ],
773
+ "events": [
774
+ "icen:chart-legend-toggle",
775
+ "icen:chart-legend-visibility",
776
+ "icen:chart-zoom"
375
777
  ]
376
778
  },
377
779
  "chart-line": {
@@ -382,6 +784,11 @@
382
784
  "behavior": "charts",
383
785
  "exports": [
384
786
  "renderLine"
787
+ ],
788
+ "events": [
789
+ "icen:chart-legend-toggle",
790
+ "icen:chart-legend-visibility",
791
+ "icen:chart-zoom"
385
792
  ]
386
793
  },
387
794
  "chart-bar": {
@@ -393,6 +800,11 @@
393
800
  "exports": [
394
801
  "renderVBar",
395
802
  "renderHBar"
803
+ ],
804
+ "events": [
805
+ "icen:chart-legend-toggle",
806
+ "icen:chart-legend-visibility",
807
+ "icen:chart-zoom"
396
808
  ]
397
809
  },
398
810
  "chart-pie": {
@@ -403,6 +815,11 @@
403
815
  "behavior": "charts",
404
816
  "exports": [
405
817
  "renderDonut"
818
+ ],
819
+ "events": [
820
+ "icen:chart-legend-toggle",
821
+ "icen:chart-legend-visibility",
822
+ "icen:chart-zoom"
406
823
  ]
407
824
  },
408
825
  "chart-radar": {
@@ -413,6 +830,11 @@
413
830
  "behavior": "charts",
414
831
  "exports": [
415
832
  "renderRadar"
833
+ ],
834
+ "events": [
835
+ "icen:chart-legend-toggle",
836
+ "icen:chart-legend-visibility",
837
+ "icen:chart-zoom"
416
838
  ]
417
839
  },
418
840
  "chart-heatmap": {
@@ -423,6 +845,11 @@
423
845
  "behavior": "charts",
424
846
  "exports": [
425
847
  "renderHeatmap"
848
+ ],
849
+ "events": [
850
+ "icen:chart-legend-toggle",
851
+ "icen:chart-legend-visibility",
852
+ "icen:chart-zoom"
426
853
  ]
427
854
  },
428
855
  "chart-area": {
@@ -433,6 +860,11 @@
433
860
  "behavior": "charts",
434
861
  "exports": [
435
862
  "renderArea"
863
+ ],
864
+ "events": [
865
+ "icen:chart-legend-toggle",
866
+ "icen:chart-legend-visibility",
867
+ "icen:chart-zoom"
436
868
  ]
437
869
  },
438
870
  "chart-stack": {
@@ -443,6 +875,11 @@
443
875
  "behavior": "charts",
444
876
  "exports": [
445
877
  "renderStack"
878
+ ],
879
+ "events": [
880
+ "icen:chart-legend-toggle",
881
+ "icen:chart-legend-visibility",
882
+ "icen:chart-zoom"
446
883
  ]
447
884
  },
448
885
  "chart-gauge": {
@@ -453,6 +890,11 @@
453
890
  "behavior": "charts",
454
891
  "exports": [
455
892
  "renderGauge"
893
+ ],
894
+ "events": [
895
+ "icen:chart-legend-toggle",
896
+ "icen:chart-legend-visibility",
897
+ "icen:chart-zoom"
456
898
  ]
457
899
  },
458
900
  "chart-sparkline": {
@@ -463,6 +905,11 @@
463
905
  "behavior": "charts",
464
906
  "exports": [
465
907
  "renderSparkline"
908
+ ],
909
+ "events": [
910
+ "icen:chart-legend-toggle",
911
+ "icen:chart-legend-visibility",
912
+ "icen:chart-zoom"
466
913
  ]
467
914
  },
468
915
  "chart-scatter": {
@@ -474,6 +921,11 @@
474
921
  "exports": [
475
922
  "renderScatter",
476
923
  "renderMap"
924
+ ],
925
+ "events": [
926
+ "icen:chart-legend-toggle",
927
+ "icen:chart-legend-visibility",
928
+ "icen:chart-zoom"
477
929
  ]
478
930
  },
479
931
  "chart-calendar": {
@@ -484,6 +936,11 @@
484
936
  "behavior": "charts",
485
937
  "exports": [
486
938
  "renderCalendar"
939
+ ],
940
+ "events": [
941
+ "icen:chart-legend-toggle",
942
+ "icen:chart-legend-visibility",
943
+ "icen:chart-zoom"
487
944
  ]
488
945
  },
489
946
  "alert": {
@@ -504,25 +961,47 @@
504
961
  "copy": {
505
962
  "css": "copy.css",
506
963
  "behavior": "copy",
507
- "init": "initCopy"
964
+ "init": "initCopy",
965
+ "exports": [
966
+ "copyText",
967
+ "initCopy"
968
+ ],
969
+ "events": [
970
+ "icen:copy-error",
971
+ "icen:copy-success"
972
+ ]
508
973
  },
509
974
  "notification": {
510
975
  "css": "notification.css",
511
976
  "behavior": "notification",
512
977
  "init": "initNotification",
513
978
  "exports": [
514
- "notify"
979
+ "notify",
980
+ "createNotificationCenter"
515
981
  ]
516
982
  },
517
983
  "nav": {
518
984
  "css": "nav.css",
519
985
  "behavior": "nav",
520
- "init": "initNav"
986
+ "init": "initNav",
987
+ "exports": [
988
+ "initNav"
989
+ ],
990
+ "events": [
991
+ "icen:nav-select"
992
+ ]
521
993
  },
522
994
  "sidebar": {
523
995
  "css": "sidebar.css",
524
996
  "behavior": "sidebar",
525
- "init": "initSidebar"
997
+ "init": "initSidebar",
998
+ "exports": [
999
+ "initSidebar"
1000
+ ],
1001
+ "events": [
1002
+ "icen:sidebar-collapse",
1003
+ "icen:sidebar-toggle"
1004
+ ]
526
1005
  },
527
1006
  "breadcrumb": {
528
1007
  "css": "breadcrumb.css"
@@ -533,6 +1012,16 @@
533
1012
  "init": "initPagination",
534
1013
  "exports": [
535
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"
536
1025
  ]
537
1026
  },
538
1027
  "steps": {
@@ -541,12 +1030,28 @@
541
1030
  "init": "initSteps",
542
1031
  "exports": [
543
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"
544
1043
  ]
545
1044
  },
546
1045
  "back-top": {
547
1046
  "css": "back-top.css",
548
1047
  "behavior": "back-top",
549
- "init": "initBackTop"
1048
+ "init": "initBackTop",
1049
+ "exports": [
1050
+ "initBackTop"
1051
+ ],
1052
+ "events": [
1053
+ "icen:back-top"
1054
+ ]
550
1055
  },
551
1056
  "layout": {
552
1057
  "css": "layout.css"
@@ -554,7 +1059,13 @@
554
1059
  "ai-chat": {
555
1060
  "css": "ai-chat.css",
556
1061
  "behavior": "ai-chat",
557
- "init": "initAiChat"
1062
+ "init": "initAiChat",
1063
+ "exports": [
1064
+ "createAiStream",
1065
+ "initAiChat",
1066
+ "renderAiContentPart",
1067
+ "renderAiMessage"
1068
+ ]
558
1069
  },
559
1070
  "ai-message": {
560
1071
  "css": "ai-chat.css",
@@ -576,35 +1087,107 @@
576
1087
  "ai-composer": {
577
1088
  "css": "ai-chat.css",
578
1089
  "behavior": "ai-composer",
579
- "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
+ ]
580
1104
  },
581
1105
  "ai-tool-call": {
582
1106
  "css": "ai-tool.css",
583
- "init": "initAiTool"
1107
+ "behavior": "ai-tool",
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
+ ]
584
1120
  },
585
1121
  "ai-subagent": {
586
1122
  "css": "ai-tool.css",
587
- "init": "initAiSubagent"
1123
+ "behavior": "ai-tool",
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
+ ]
588
1136
  },
589
1137
  "ai-diff": {
590
1138
  "css": "ai-diff.css",
591
1139
  "behavior": "ai-diff",
592
- "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
+ ]
593
1151
  },
594
1152
  "ai-files": {
595
1153
  "css": "ai-diff.css",
596
1154
  "behavior": "ai-diff",
597
1155
  "exports": [
598
1156
  "renderAiDiff"
1157
+ ],
1158
+ "events": [
1159
+ "icen:ai-diff-accept",
1160
+ "icen:ai-diff-reject",
1161
+ "icen:ai-toggle"
599
1162
  ]
600
1163
  },
601
1164
  "ai-todo": {
602
1165
  "css": "ai-panel.css",
603
- "init": "initAiTodo"
1166
+ "behavior": "ai-panel",
1167
+ "init": "initAiTodo",
1168
+ "exports": [
1169
+ "initAiContext",
1170
+ "initAiTodo",
1171
+ "renderAiAudit",
1172
+ "renderAiContext",
1173
+ "renderAiTodo",
1174
+ "renderAiUsage",
1175
+ "renderAiUsageRing"
1176
+ ]
604
1177
  },
605
1178
  "ai-context": {
606
1179
  "css": "ai-panel.css",
607
- "init": "initAiContext"
1180
+ "behavior": "ai-panel",
1181
+ "init": "initAiContext",
1182
+ "exports": [
1183
+ "initAiContext",
1184
+ "initAiTodo",
1185
+ "renderAiAudit",
1186
+ "renderAiContext",
1187
+ "renderAiTodo",
1188
+ "renderAiUsage",
1189
+ "renderAiUsageRing"
1190
+ ]
608
1191
  },
609
1192
  "ai-usage": {
610
1193
  "css": "ai-panel.css",
@@ -618,17 +1201,36 @@
618
1201
  "ai-threads": {
619
1202
  "css": "ai-chat.css",
620
1203
  "behavior": "ai-threads",
621
- "init": "initAiThreads"
1204
+ "init": "initAiThreads",
1205
+ "exports": [
1206
+ "initAiThreads",
1207
+ "renderAiThreads",
1208
+ "setAiThreadsActive"
1209
+ ]
622
1210
  },
623
1211
  "ai-feedback": {
624
1212
  "css": "ai-panel.css",
625
1213
  "behavior": "ai-feedback",
626
- "init": "initAiFeedback"
1214
+ "init": "initAiFeedback",
1215
+ "exports": [
1216
+ "initAiFeedback",
1217
+ "renderAiFeedback"
1218
+ ],
1219
+ "events": [
1220
+ "icen:ai-feedback"
1221
+ ]
627
1222
  },
628
1223
  "ai-branch": {
629
1224
  "css": "ai-chat.css",
630
1225
  "behavior": "ai-branch",
631
- "init": "initAiBranch"
1226
+ "init": "initAiBranch",
1227
+ "exports": [
1228
+ "initAiBranch",
1229
+ "renderAiBranch"
1230
+ ],
1231
+ "events": [
1232
+ "icen:ai-branch-change"
1233
+ ]
632
1234
  },
633
1235
  "kb": {
634
1236
  "css": "kb.css",
@@ -648,7 +1250,21 @@
648
1250
  "kb.css"
649
1251
  ],
650
1252
  "behavior": "kb-citation",
651
- "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
+ ]
652
1268
  },
653
1269
  "kb-sources": {
654
1270
  "css": "kb-ground.css",
@@ -656,21 +1272,42 @@
656
1272
  "kb.css"
657
1273
  ],
658
1274
  "behavior": "kb-sources",
659
- "init": "initKbSources"
1275
+ "init": "initKbSources",
1276
+ "exports": [
1277
+ "initKbSources",
1278
+ "renderKbSources"
1279
+ ],
1280
+ "events": [
1281
+ "icen:kb-source-open"
1282
+ ]
660
1283
  },
661
1284
  "kb-passage": {
662
1285
  "css": "kb-ground.css",
663
1286
  "extraCss": [
664
1287
  "kb.css"
665
1288
  ],
666
- "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
+ ]
667
1298
  },
668
1299
  "kb-conflict": {
669
1300
  "css": "kb-ground.css",
670
1301
  "extraCss": [
671
1302
  "kb.css"
672
1303
  ],
673
- "behavior": "kb-conflict"
1304
+ "behavior": "kb-conflict",
1305
+ "exports": [
1306
+ "renderKbConflict"
1307
+ ],
1308
+ "events": [
1309
+ "icen:kb-source-open"
1310
+ ]
674
1311
  },
675
1312
  "kb-pipeline": {
676
1313
  "css": "kb-ingest.css",
@@ -678,7 +1315,15 @@
678
1315
  "kb.css"
679
1316
  ],
680
1317
  "behavior": "kb-pipeline",
681
- "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
+ ]
682
1327
  },
683
1328
  "kb-chunks": {
684
1329
  "css": "kb-ingest.css",
@@ -686,14 +1331,31 @@
686
1331
  "kb.css"
687
1332
  ],
688
1333
  "behavior": "kb-chunks",
689
- "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
+ ]
690
1346
  },
691
1347
  "kb-segment": {
692
1348
  "css": "kb-ingest.css",
693
1349
  "extraCss": [
694
1350
  "kb.css"
695
1351
  ],
696
- "behavior": "kb-segment"
1352
+ "behavior": "kb-segment",
1353
+ "exports": [
1354
+ "createKbSegment"
1355
+ ],
1356
+ "events": [
1357
+ "icen:kb-segment-change"
1358
+ ]
697
1359
  },
698
1360
  "kb-connector": {
699
1361
  "css": "kb-ingest.css",
@@ -701,7 +1363,16 @@
701
1363
  "kb.css"
702
1364
  ],
703
1365
  "behavior": "kb-connector",
704
- "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
+ ]
705
1376
  },
706
1377
  "kb-metadata": {
707
1378
  "css": "kb-ingest.css",
@@ -709,7 +1380,14 @@
709
1380
  "kb.css"
710
1381
  ],
711
1382
  "behavior": "kb-metadata",
712
- "init": "initKbMetadata"
1383
+ "init": "initKbMetadata",
1384
+ "exports": [
1385
+ "initKbMetadata",
1386
+ "renderKbMetadata"
1387
+ ],
1388
+ "events": [
1389
+ "icen:kb-metadata-change"
1390
+ ]
713
1391
  },
714
1392
  "kb-qa": {
715
1393
  "css": "kb-ingest.css",
@@ -717,35 +1395,71 @@
717
1395
  "kb.css"
718
1396
  ],
719
1397
  "behavior": "kb-qa",
720
- "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
+ ]
721
1407
  },
722
1408
  "kb-retrieval": {
723
1409
  "css": "kb-search.css",
724
1410
  "extraCss": [
725
1411
  "kb.css"
726
1412
  ],
727
- "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
+ ]
728
1422
  },
729
1423
  "kb-filter": {
730
1424
  "css": "kb-search.css",
731
1425
  "extraCss": [
732
1426
  "kb.css"
733
1427
  ],
734
- "behavior": "kb-filter"
1428
+ "behavior": "kb-filter",
1429
+ "exports": [
1430
+ "createKbFilter"
1431
+ ],
1432
+ "events": [
1433
+ "icen:kb-filter-change"
1434
+ ]
735
1435
  },
736
1436
  "kb-rerank": {
737
1437
  "css": "kb-search.css",
738
1438
  "extraCss": [
739
1439
  "kb.css"
740
1440
  ],
741
- "behavior": "kb-rerank"
1441
+ "behavior": "kb-rerank",
1442
+ "exports": [
1443
+ "renderKbRerankCompare"
1444
+ ],
1445
+ "events": [
1446
+ "icen:kb-rerank-toggle"
1447
+ ]
742
1448
  },
743
1449
  "kb-hittest": {
744
1450
  "css": "kb-search.css",
745
1451
  "extraCss": [
746
1452
  "kb.css"
747
1453
  ],
748
- "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
+ ]
749
1463
  },
750
1464
  "kb-sql": {
751
1465
  "css": "kb-data.css",
@@ -753,28 +1467,56 @@
753
1467
  "kb.css"
754
1468
  ],
755
1469
  "behavior": "kb-sql",
756
- "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
+ ]
757
1481
  },
758
1482
  "kb-answer": {
759
1483
  "css": "kb-data.css",
760
1484
  "extraCss": [
761
1485
  "kb.css"
762
1486
  ],
763
- "behavior": "kb-answer"
1487
+ "behavior": "kb-answer",
1488
+ "exports": [
1489
+ "renderKbAnswer"
1490
+ ],
1491
+ "events": [
1492
+ "icen:kb-verified-open"
1493
+ ]
764
1494
  },
765
1495
  "kb-clarify": {
766
1496
  "css": "kb-data.css",
767
1497
  "extraCss": [
768
1498
  "kb.css"
769
1499
  ],
770
- "behavior": "kb-clarify"
1500
+ "behavior": "kb-clarify",
1501
+ "exports": [
1502
+ "renderKbClarify"
1503
+ ],
1504
+ "events": [
1505
+ "icen:kb-clarify-answer"
1506
+ ]
771
1507
  },
772
1508
  "kb-explain": {
773
1509
  "css": "kb-data.css",
774
1510
  "extraCss": [
775
1511
  "kb.css"
776
1512
  ],
777
- "behavior": "kb-explain"
1513
+ "behavior": "kb-explain",
1514
+ "exports": [
1515
+ "renderKbExplain"
1516
+ ],
1517
+ "events": [
1518
+ "icen:kb-explain-toggle"
1519
+ ]
778
1520
  },
779
1521
  "kb-trace": {
780
1522
  "css": "kb-ops.css",
@@ -782,14 +1524,30 @@
782
1524
  "kb.css"
783
1525
  ],
784
1526
  "behavior": "kb-trace",
785
- "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
+ ]
786
1536
  },
787
1537
  "kb-review": {
788
1538
  "css": "kb-ops.css",
789
1539
  "extraCss": [
790
1540
  "kb.css"
791
1541
  ],
792
- "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
+ ]
793
1551
  },
794
1552
  "kb-gap": {
795
1553
  "css": "kb-ops.css",
@@ -797,21 +1555,41 @@
797
1555
  "kb.css"
798
1556
  ],
799
1557
  "behavior": "kb-gap",
800
- "init": "initKbGap"
1558
+ "init": "initKbGap",
1559
+ "exports": [
1560
+ "initKbGap",
1561
+ "renderKbGap"
1562
+ ],
1563
+ "events": [
1564
+ "icen:kb-gap-action"
1565
+ ]
801
1566
  },
802
1567
  "kb-eval": {
803
1568
  "css": "kb-ops.css",
804
1569
  "extraCss": [
805
1570
  "kb.css"
806
1571
  ],
807
- "behavior": "kb-eval"
1572
+ "behavior": "kb-eval",
1573
+ "exports": [
1574
+ "renderKbEvalCompare"
1575
+ ],
1576
+ "events": [
1577
+ "icen:kb-eval-compare"
1578
+ ]
808
1579
  },
809
1580
  "kb-canvas": {
810
1581
  "css": "kb-agent.css",
811
1582
  "extraCss": [
812
1583
  "kb.css"
813
1584
  ],
814
- "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
+ ]
815
1593
  },
816
1594
  "kb-checkpoint": {
817
1595
  "css": "kb-agent.css",
@@ -819,14 +1597,27 @@
819
1597
  "kb.css"
820
1598
  ],
821
1599
  "behavior": "kb-checkpoint",
822
- "init": "initKbCheckpoint"
1600
+ "init": "initKbCheckpoint",
1601
+ "exports": [
1602
+ "initKbCheckpoint",
1603
+ "renderKbCheckpoints"
1604
+ ],
1605
+ "events": [
1606
+ "icen:kb-checkpoint-restore"
1607
+ ]
823
1608
  },
824
1609
  "kb-sandbox": {
825
1610
  "css": "kb-agent.css",
826
1611
  "extraCss": [
827
1612
  "kb.css"
828
1613
  ],
829
- "behavior": "kb-sandbox"
1614
+ "behavior": "kb-sandbox",
1615
+ "exports": [
1616
+ "createKbSandbox"
1617
+ ],
1618
+ "events": [
1619
+ "icen:kb-sandbox-message"
1620
+ ]
830
1621
  },
831
1622
  "kb-chain": {
832
1623
  "css": "kb-agent.css",
@@ -834,7 +1625,14 @@
834
1625
  "kb.css"
835
1626
  ],
836
1627
  "behavior": "kb-chain",
837
- "init": "initKbChain"
1628
+ "init": "initKbChain",
1629
+ "exports": [
1630
+ "initKbChain",
1631
+ "renderKbChain"
1632
+ ],
1633
+ "events": [
1634
+ "icen:kb-chain-step"
1635
+ ]
838
1636
  },
839
1637
  "kb-acl": {
840
1638
  "css": "kb-perm.css",
@@ -842,21 +1640,45 @@
842
1640
  "kb.css"
843
1641
  ],
844
1642
  "behavior": "kb-acl",
845
- "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
+ ]
846
1654
  },
847
1655
  "kb-who-can": {
848
1656
  "css": "kb-perm.css",
849
1657
  "extraCss": [
850
1658
  "kb.css"
851
1659
  ],
852
- "behavior": "kb-who-can"
1660
+ "behavior": "kb-who-can",
1661
+ "exports": [
1662
+ "renderKbWhoCan"
1663
+ ],
1664
+ "events": [
1665
+ "icen:kb-whocan-check"
1666
+ ]
853
1667
  },
854
1668
  "kb-access": {
855
1669
  "css": "kb-perm.css",
856
1670
  "extraCss": [
857
1671
  "kb.css"
858
1672
  ],
859
- "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
+ ]
860
1682
  },
861
1683
  "kb-audit": {
862
1684
  "css": "kb-perm.css",
@@ -864,14 +1686,30 @@
864
1686
  "kb.css"
865
1687
  ],
866
1688
  "behavior": "kb-audit",
867
- "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
+ ]
868
1699
  },
869
1700
  "kb-visibility": {
870
1701
  "css": "kb-perm.css",
871
1702
  "extraCss": [
872
1703
  "kb.css"
873
1704
  ],
874
- "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
+ ]
875
1713
  },
876
1714
  "chart-graph": {
877
1715
  "css": "chart-graph.css",
@@ -882,6 +1720,11 @@
882
1720
  "exports": [
883
1721
  "renderGraph",
884
1722
  "layoutGraph"
1723
+ ],
1724
+ "events": [
1725
+ "icen:chart-legend-toggle",
1726
+ "icen:chart-legend-visibility",
1727
+ "icen:chart-zoom"
885
1728
  ]
886
1729
  },
887
1730
  "chart-map": {
@@ -889,6 +1732,11 @@
889
1732
  "behavior": "charts",
890
1733
  "exports": [
891
1734
  "renderMap"
1735
+ ],
1736
+ "events": [
1737
+ "icen:chart-legend-toggle",
1738
+ "icen:chart-legend-visibility",
1739
+ "icen:chart-zoom"
892
1740
  ]
893
1741
  }
894
1742
  }