@vertesia/ui 1.3.0 → 1.4.0-dev.20260615.042549Z

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 (3722) hide show
  1. package/README.md +72 -0
  2. package/lib/core/components/Avatar.d.ts +16 -0
  3. package/lib/core/components/Avatar.d.ts.map +1 -0
  4. package/lib/core/components/Avatar.js +38 -0
  5. package/lib/core/components/Avatar.js.map +1 -0
  6. package/lib/core/components/Center.d.ts +8 -0
  7. package/lib/core/components/Center.d.ts.map +1 -0
  8. package/lib/core/components/Center.js +6 -0
  9. package/lib/core/components/Center.js.map +1 -0
  10. package/lib/core/components/ComboBox.d.ts +134 -0
  11. package/lib/core/components/ComboBox.d.ts.map +1 -0
  12. package/lib/core/components/ComboBox.js +385 -0
  13. package/lib/core/components/ComboBox.js.map +1 -0
  14. package/lib/core/components/Divider.d.ts +6 -0
  15. package/lib/core/components/Divider.d.ts.map +1 -0
  16. package/lib/core/components/Divider.js +6 -0
  17. package/lib/core/components/Divider.js.map +1 -0
  18. package/lib/core/components/EmptyCollection.d.ts +9 -0
  19. package/lib/core/components/EmptyCollection.d.ts.map +1 -0
  20. package/lib/core/components/EmptyCollection.js +7 -0
  21. package/lib/core/components/EmptyCollection.js.map +1 -0
  22. package/lib/core/components/FileUpload.d.ts +29 -0
  23. package/lib/core/components/FileUpload.d.ts.map +1 -0
  24. package/lib/core/components/FileUpload.js +131 -0
  25. package/lib/core/components/FileUpload.js.map +1 -0
  26. package/lib/core/components/FormItem.d.ts +30 -0
  27. package/lib/core/components/FormItem.d.ts.map +1 -0
  28. package/lib/core/components/FormItem.js +64 -0
  29. package/lib/core/components/FormItem.js.map +1 -0
  30. package/lib/core/components/InputList.d.ts +14 -0
  31. package/lib/core/components/InputList.d.ts.map +1 -0
  32. package/lib/core/components/InputList.js +75 -0
  33. package/lib/core/components/InputList.js.map +1 -0
  34. package/lib/core/components/Link.d.ts +7 -0
  35. package/lib/core/components/Link.d.ts.map +1 -0
  36. package/lib/core/components/Link.js +13 -0
  37. package/lib/core/components/Link.js.map +1 -0
  38. package/lib/core/components/MenuList.d.ts +14 -0
  39. package/lib/core/components/MenuList.d.ts.map +1 -0
  40. package/lib/core/components/MenuList.js +20 -0
  41. package/lib/core/components/MenuList.js.map +1 -0
  42. package/lib/core/components/NumberInput.d.ts +16 -0
  43. package/lib/core/components/NumberInput.d.ts.map +1 -0
  44. package/lib/core/components/NumberInput.js +48 -0
  45. package/lib/core/components/NumberInput.js.map +1 -0
  46. package/lib/core/components/Overlay.d.ts +25 -0
  47. package/lib/core/components/Overlay.d.ts.map +1 -0
  48. package/lib/core/components/Overlay.js +67 -0
  49. package/lib/core/components/Overlay.js.map +1 -0
  50. package/lib/core/components/Portal.d.ts +6 -0
  51. package/lib/core/components/Portal.d.ts.map +1 -0
  52. package/lib/core/components/Portal.js +29 -0
  53. package/lib/core/components/Portal.js.map +1 -0
  54. package/lib/core/components/SelectList.d.ts +19 -0
  55. package/lib/core/components/SelectList.d.ts.map +1 -0
  56. package/lib/core/components/SelectList.js +54 -0
  57. package/lib/core/components/SelectList.js.map +1 -0
  58. package/lib/core/components/SidePanel.d.ts +16 -0
  59. package/lib/core/components/SidePanel.d.ts.map +1 -0
  60. package/lib/core/components/SidePanel.js +48 -0
  61. package/lib/core/components/SidePanel.js.map +1 -0
  62. package/lib/core/components/Spinner.d.ts +7 -0
  63. package/lib/core/components/Spinner.d.ts.map +1 -0
  64. package/lib/core/components/Spinner.js +25 -0
  65. package/lib/core/components/Spinner.js.map +1 -0
  66. package/lib/core/components/TagsInput.d.ts +16 -0
  67. package/lib/core/components/TagsInput.d.ts.map +1 -0
  68. package/lib/core/components/TagsInput.js +199 -0
  69. package/lib/core/components/TagsInput.js.map +1 -0
  70. package/lib/core/components/index.d.ts +27 -0
  71. package/lib/core/components/index.d.ts.map +1 -0
  72. package/lib/core/components/index.js +23 -0
  73. package/lib/core/components/index.js.map +1 -0
  74. package/lib/core/components/libs/utils.d.ts +3 -0
  75. package/lib/core/components/libs/utils.d.ts.map +1 -0
  76. package/lib/core/components/libs/utils.js +6 -0
  77. package/lib/core/components/libs/utils.js.map +1 -0
  78. package/lib/core/components/libs/visuallyHidden.d.ts +7 -0
  79. package/lib/core/components/libs/visuallyHidden.d.ts.map +1 -0
  80. package/lib/core/components/libs/visuallyHidden.js +16 -0
  81. package/lib/core/components/libs/visuallyHidden.js.map +1 -0
  82. package/lib/core/components/popup/Popup.d.ts +26 -0
  83. package/lib/core/components/popup/Popup.d.ts.map +1 -0
  84. package/lib/core/components/popup/Popup.js +70 -0
  85. package/lib/core/components/popup/Popup.js.map +1 -0
  86. package/lib/core/components/popup/PopupController.d.ts +41 -0
  87. package/lib/core/components/popup/PopupController.d.ts.map +1 -0
  88. package/lib/core/components/popup/PopupController.js +153 -0
  89. package/lib/core/components/popup/PopupController.js.map +1 -0
  90. package/lib/core/components/popup/index.d.ts +4 -0
  91. package/lib/core/components/popup/index.d.ts.map +1 -0
  92. package/lib/core/components/popup/index.js +4 -0
  93. package/lib/core/components/popup/index.js.map +1 -0
  94. package/lib/core/components/popup/position.d.ts.map +1 -0
  95. package/lib/core/components/popup/position.js +240 -0
  96. package/lib/core/components/popup/position.js.map +1 -0
  97. package/lib/core/components/popup/utils.d.ts.map +1 -0
  98. package/lib/core/components/popup/utils.js +75 -0
  99. package/lib/core/components/popup/utils.js.map +1 -0
  100. package/lib/core/components/shadcn/LanguageSwitcher.d.ts +8 -0
  101. package/lib/core/components/shadcn/LanguageSwitcher.d.ts.map +1 -0
  102. package/lib/core/components/shadcn/LanguageSwitcher.js +36 -0
  103. package/lib/core/components/shadcn/LanguageSwitcher.js.map +1 -0
  104. package/lib/core/components/shadcn/MessageBox.d.ts +38 -0
  105. package/lib/core/components/shadcn/MessageBox.d.ts.map +1 -0
  106. package/lib/core/components/shadcn/MessageBox.js +67 -0
  107. package/lib/core/components/shadcn/MessageBox.js.map +1 -0
  108. package/lib/core/components/shadcn/Panel.d.ts +17 -0
  109. package/lib/core/components/shadcn/Panel.d.ts.map +1 -0
  110. package/lib/core/components/shadcn/Panel.js +21 -0
  111. package/lib/core/components/shadcn/Panel.js.map +1 -0
  112. package/lib/core/components/shadcn/badge.d.ts +21 -0
  113. package/lib/core/components/shadcn/badge.d.ts.map +1 -0
  114. package/lib/core/components/shadcn/badge.js +64 -0
  115. package/lib/core/components/shadcn/badge.js.map +1 -0
  116. package/lib/core/components/shadcn/breadcrumb.d.ts +15 -0
  117. package/lib/core/components/shadcn/breadcrumb.d.ts.map +1 -0
  118. package/lib/core/components/shadcn/breadcrumb.js +52 -0
  119. package/lib/core/components/shadcn/breadcrumb.js.map +1 -0
  120. package/lib/core/components/shadcn/button.d.ts +38 -0
  121. package/lib/core/components/shadcn/button.d.ts.map +1 -0
  122. package/lib/core/components/shadcn/button.js +106 -0
  123. package/lib/core/components/shadcn/button.js.map +1 -0
  124. package/lib/core/components/shadcn/calendar.d.ts +11 -0
  125. package/lib/core/components/shadcn/calendar.d.ts.map +1 -0
  126. package/lib/core/components/shadcn/calendar.js +13 -0
  127. package/lib/core/components/shadcn/calendar.js.map +1 -0
  128. package/lib/core/components/shadcn/card.d.ts +9 -0
  129. package/lib/core/components/shadcn/card.d.ts.map +1 -0
  130. package/lib/core/components/shadcn/card.js +17 -0
  131. package/lib/core/components/shadcn/card.js.map +1 -0
  132. package/lib/core/components/shadcn/checkbox.d.ts +5 -0
  133. package/lib/core/components/shadcn/checkbox.d.ts.map +1 -0
  134. package/lib/core/components/shadcn/checkbox.js +9 -0
  135. package/lib/core/components/shadcn/checkbox.js.map +1 -0
  136. package/lib/core/components/shadcn/collaspible.d.ts +6 -0
  137. package/lib/core/components/shadcn/collaspible.d.ts.map +1 -0
  138. package/lib/core/components/shadcn/collaspible.js +13 -0
  139. package/lib/core/components/shadcn/collaspible.js.map +1 -0
  140. package/lib/core/components/shadcn/command.d.ts +17 -0
  141. package/lib/core/components/shadcn/command.d.ts.map +1 -0
  142. package/lib/core/components/shadcn/command.js +29 -0
  143. package/lib/core/components/shadcn/command.js.map +1 -0
  144. package/lib/core/components/shadcn/dropdown.d.ts +52 -0
  145. package/lib/core/components/shadcn/dropdown.d.ts.map +1 -0
  146. package/lib/core/components/shadcn/dropdown.js +92 -0
  147. package/lib/core/components/shadcn/dropdown.js.map +1 -0
  148. package/lib/core/components/shadcn/filters/DynamicLabel.d.ts +9 -0
  149. package/lib/core/components/shadcn/filters/DynamicLabel.d.ts.map +1 -0
  150. package/lib/core/components/shadcn/filters/DynamicLabel.js +38 -0
  151. package/lib/core/components/shadcn/filters/DynamicLabel.js.map +1 -0
  152. package/lib/core/components/shadcn/filters/animateChangeInHeight.d.ts.map +1 -0
  153. package/lib/core/components/shadcn/filters/animateChangeInHeight.js +23 -0
  154. package/lib/core/components/shadcn/filters/animateChangeInHeight.js.map +1 -0
  155. package/lib/core/components/shadcn/filters/comboBox/DateCombobox.d.ts +6 -0
  156. package/lib/core/components/shadcn/filters/comboBox/DateCombobox.d.ts.map +1 -0
  157. package/lib/core/components/shadcn/filters/comboBox/DateCombobox.js +130 -0
  158. package/lib/core/components/shadcn/filters/comboBox/DateCombobox.js.map +1 -0
  159. package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts +10 -0
  160. package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts.map +1 -0
  161. package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.js +53 -0
  162. package/lib/core/components/shadcn/filters/comboBox/SelectCombobox.js.map +1 -0
  163. package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts +6 -0
  164. package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts.map +1 -0
  165. package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.js +27 -0
  166. package/lib/core/components/shadcn/filters/comboBox/StringListCombobox.js.map +1 -0
  167. package/lib/core/components/shadcn/filters/comboBox/TextCombobox.d.ts +6 -0
  168. package/lib/core/components/shadcn/filters/comboBox/TextCombobox.d.ts.map +1 -0
  169. package/lib/core/components/shadcn/filters/comboBox/TextCombobox.js +28 -0
  170. package/lib/core/components/shadcn/filters/comboBox/TextCombobox.js.map +1 -0
  171. package/lib/core/components/shadcn/filters/comboBox/comboBox.d.ts +5 -0
  172. package/lib/core/components/shadcn/filters/comboBox/comboBox.d.ts.map +1 -0
  173. package/lib/core/components/shadcn/filters/comboBox/comboBox.js +5 -0
  174. package/lib/core/components/shadcn/filters/comboBox/comboBox.js.map +1 -0
  175. package/lib/core/components/shadcn/filters/filter/SelectFilter.d.ts +12 -0
  176. package/lib/core/components/shadcn/filters/filter/SelectFilter.d.ts.map +1 -0
  177. package/lib/core/components/shadcn/filters/filter/SelectFilter.js +102 -0
  178. package/lib/core/components/shadcn/filters/filter/SelectFilter.js.map +1 -0
  179. package/lib/core/components/shadcn/filters/filter/StringListFilter.d.ts +11 -0
  180. package/lib/core/components/shadcn/filters/filter/StringListFilter.d.ts.map +1 -0
  181. package/lib/core/components/shadcn/filters/filter/StringListFilter.js +24 -0
  182. package/lib/core/components/shadcn/filters/filter/StringListFilter.js.map +1 -0
  183. package/lib/core/components/shadcn/filters/filter/TextFilter.d.ts +13 -0
  184. package/lib/core/components/shadcn/filters/filter/TextFilter.d.ts.map +1 -0
  185. package/lib/core/components/shadcn/filters/filter/TextFilter.js +21 -0
  186. package/lib/core/components/shadcn/filters/filter/TextFilter.js.map +1 -0
  187. package/lib/core/components/shadcn/filters/filter/dateFilter.d.ts +14 -0
  188. package/lib/core/components/shadcn/filters/filter/dateFilter.d.ts.map +1 -0
  189. package/lib/core/components/shadcn/filters/filter/dateFilter.js +163 -0
  190. package/lib/core/components/shadcn/filters/filter/dateFilter.js.map +1 -0
  191. package/lib/core/components/shadcn/filters/filter-styles.d.ts.map +1 -0
  192. package/lib/core/components/shadcn/filters/filter-styles.js.map +1 -0
  193. package/lib/core/components/shadcn/filters/filterBar.d.ts +21 -0
  194. package/lib/core/components/shadcn/filters/filterBar.d.ts.map +1 -0
  195. package/lib/core/components/shadcn/filters/filterBar.js +259 -0
  196. package/lib/core/components/shadcn/filters/filterBar.js.map +1 -0
  197. package/lib/core/components/shadcn/filters/filters.d.ts +10 -0
  198. package/lib/core/components/shadcn/filters/filters.d.ts.map +1 -0
  199. package/lib/core/components/shadcn/filters/filters.js +63 -0
  200. package/lib/core/components/shadcn/filters/filters.js.map +1 -0
  201. package/lib/core/components/shadcn/filters/index.d.ts.map +1 -0
  202. package/lib/core/components/shadcn/filters/index.js.map +1 -0
  203. package/lib/core/components/shadcn/filters/types.d.ts +35 -0
  204. package/lib/core/components/shadcn/filters/types.d.ts.map +1 -0
  205. package/lib/core/components/shadcn/filters/types.js.map +1 -0
  206. package/lib/core/components/shadcn/heading.d.ts +6 -0
  207. package/lib/core/components/shadcn/heading.d.ts.map +1 -0
  208. package/lib/core/components/shadcn/heading.js +17 -0
  209. package/lib/core/components/shadcn/heading.js.map +1 -0
  210. package/lib/core/components/shadcn/index.d.ts +31 -0
  211. package/lib/core/components/shadcn/index.d.ts.map +1 -0
  212. package/lib/core/components/shadcn/index.js +31 -0
  213. package/lib/core/components/shadcn/index.js.map +1 -0
  214. package/lib/core/components/shadcn/input.d.ts +23 -0
  215. package/lib/core/components/shadcn/input.d.ts.map +1 -0
  216. package/lib/core/components/shadcn/input.js +43 -0
  217. package/lib/core/components/shadcn/input.js.map +1 -0
  218. package/lib/core/components/shadcn/label.d.ts +10 -0
  219. package/lib/core/components/shadcn/label.d.ts.map +1 -0
  220. package/lib/core/components/shadcn/label.js +10 -0
  221. package/lib/core/components/shadcn/label.js.map +1 -0
  222. package/lib/core/components/shadcn/modal/ConfirmModal.d.ts +12 -0
  223. package/lib/core/components/shadcn/modal/ConfirmModal.d.ts.map +1 -0
  224. package/lib/core/components/shadcn/modal/ConfirmModal.js +12 -0
  225. package/lib/core/components/shadcn/modal/ConfirmModal.js.map +1 -0
  226. package/lib/core/components/shadcn/modal/DeleteModal.d.ts +11 -0
  227. package/lib/core/components/shadcn/modal/DeleteModal.d.ts.map +1 -0
  228. package/lib/core/components/shadcn/modal/DeleteModal.js +34 -0
  229. package/lib/core/components/shadcn/modal/DeleteModal.js.map +1 -0
  230. package/lib/core/components/shadcn/modal/dialog.d.ts +41 -0
  231. package/lib/core/components/shadcn/modal/dialog.d.ts.map +1 -0
  232. package/lib/core/components/shadcn/modal/dialog.js +82 -0
  233. package/lib/core/components/shadcn/modal/dialog.js.map +1 -0
  234. package/lib/core/components/shadcn/modal/index.d.ts +4 -0
  235. package/lib/core/components/shadcn/modal/index.d.ts.map +1 -0
  236. package/lib/core/components/shadcn/modal/index.js +4 -0
  237. package/lib/core/components/shadcn/modal/index.js.map +1 -0
  238. package/lib/core/components/shadcn/popover.d.ts +32 -0
  239. package/lib/core/components/shadcn/popover.d.ts.map +1 -0
  240. package/lib/core/components/shadcn/popover.js +56 -0
  241. package/lib/core/components/shadcn/popover.js.map +1 -0
  242. package/lib/core/components/shadcn/radioGroup.d.ts +24 -0
  243. package/lib/core/components/shadcn/radioGroup.d.ts.map +1 -0
  244. package/lib/core/components/shadcn/radioGroup.js +30 -0
  245. package/lib/core/components/shadcn/radioGroup.js.map +1 -0
  246. package/lib/core/components/shadcn/resizeable.d.ts +13 -0
  247. package/lib/core/components/shadcn/resizeable.d.ts.map +1 -0
  248. package/lib/core/components/shadcn/resizeable.js +18 -0
  249. package/lib/core/components/shadcn/resizeable.js.map +1 -0
  250. package/lib/core/components/shadcn/selectBox.d.ts +51 -0
  251. package/lib/core/components/shadcn/selectBox.d.ts.map +1 -0
  252. package/lib/core/components/shadcn/selectBox.js +182 -0
  253. package/lib/core/components/shadcn/selectBox.js.map +1 -0
  254. package/lib/core/components/shadcn/separator.d.ts +6 -0
  255. package/lib/core/components/shadcn/separator.d.ts.map +1 -0
  256. package/lib/core/components/shadcn/separator.js +8 -0
  257. package/lib/core/components/shadcn/separator.js.map +1 -0
  258. package/lib/core/components/shadcn/slider.d.ts +10 -0
  259. package/lib/core/components/shadcn/slider.d.ts.map +1 -0
  260. package/lib/core/components/shadcn/slider.js +13 -0
  261. package/lib/core/components/shadcn/slider.js.map +1 -0
  262. package/lib/core/components/shadcn/switch.d.ts +13 -0
  263. package/lib/core/components/shadcn/switch.d.ts.map +1 -0
  264. package/lib/core/components/shadcn/switch.js +20 -0
  265. package/lib/core/components/shadcn/switch.js.map +1 -0
  266. package/lib/core/components/shadcn/tabs.d.ts +49 -0
  267. package/lib/core/components/shadcn/tabs.d.ts.map +1 -0
  268. package/lib/core/components/shadcn/tabs.js +140 -0
  269. package/lib/core/components/shadcn/tabs.js.map +1 -0
  270. package/lib/core/components/shadcn/text.d.ts +11 -0
  271. package/lib/core/components/shadcn/text.d.ts.map +1 -0
  272. package/lib/core/components/shadcn/text.js +30 -0
  273. package/lib/core/components/shadcn/text.js.map +1 -0
  274. package/lib/core/components/shadcn/textarea.d.ts +8 -0
  275. package/lib/core/components/shadcn/textarea.d.ts.map +1 -0
  276. package/lib/core/components/shadcn/textarea.js +35 -0
  277. package/lib/core/components/shadcn/textarea.js.map +1 -0
  278. package/lib/core/components/shadcn/theme/ThemeProvider.d.ts +15 -0
  279. package/lib/core/components/shadcn/theme/ThemeProvider.d.ts.map +1 -0
  280. package/lib/core/components/shadcn/theme/ThemeProvider.js +36 -0
  281. package/lib/core/components/shadcn/theme/ThemeProvider.js.map +1 -0
  282. package/lib/core/components/shadcn/theme/ThemeSwitcher.d.ts +16 -0
  283. package/lib/core/components/shadcn/theme/ThemeSwitcher.d.ts.map +1 -0
  284. package/lib/core/components/shadcn/theme/ThemeSwitcher.js +15 -0
  285. package/lib/core/components/shadcn/theme/ThemeSwitcher.js.map +1 -0
  286. package/lib/core/components/shadcn/tooltip.d.ts +21 -0
  287. package/lib/core/components/shadcn/tooltip.d.ts.map +1 -0
  288. package/lib/core/components/shadcn/tooltip.js +38 -0
  289. package/lib/core/components/shadcn/tooltip.js.map +1 -0
  290. package/lib/core/components/styles.d.ts.map +1 -0
  291. package/lib/core/components/styles.js +10 -0
  292. package/lib/core/components/styles.js.map +1 -0
  293. package/lib/core/components/table/index.d.ts +43 -0
  294. package/lib/core/components/table/index.d.ts.map +1 -0
  295. package/lib/core/components/table/index.js +43 -0
  296. package/lib/core/components/table/index.js.map +1 -0
  297. package/lib/core/components/toast/NotificationPanel.d.ts +8 -0
  298. package/lib/core/components/toast/NotificationPanel.d.ts.map +1 -0
  299. package/lib/core/components/toast/NotificationPanel.js +41 -0
  300. package/lib/core/components/toast/NotificationPanel.js.map +1 -0
  301. package/lib/core/components/toast/ToastContext.d.ts +6 -0
  302. package/lib/core/components/toast/ToastContext.d.ts.map +1 -0
  303. package/lib/core/components/toast/ToastContext.js +7 -0
  304. package/lib/core/components/toast/ToastContext.js.map +1 -0
  305. package/lib/core/components/toast/ToastProps.d.ts.map +1 -0
  306. package/lib/core/components/toast/ToastProps.js.map +1 -0
  307. package/lib/core/components/toast/ToastProvider.d.ts +6 -0
  308. package/lib/core/components/toast/ToastProvider.d.ts.map +1 -0
  309. package/lib/core/components/toast/ToastProvider.js +19 -0
  310. package/lib/core/components/toast/ToastProvider.js.map +1 -0
  311. package/lib/core/components/toast/index.d.ts +3 -0
  312. package/lib/core/components/toast/index.d.ts.map +1 -0
  313. package/lib/core/components/toast/index.js +3 -0
  314. package/lib/core/components/toast/index.js.map +1 -0
  315. package/lib/core/hooks/CompositeState.d.ts +137 -0
  316. package/lib/core/hooks/CompositeState.d.ts.map +1 -0
  317. package/lib/core/hooks/CompositeState.js +256 -0
  318. package/lib/core/hooks/CompositeState.js.map +1 -0
  319. package/lib/core/hooks/PortalContainerProvider.d.ts +8 -0
  320. package/lib/core/hooks/PortalContainerProvider.d.ts.map +1 -0
  321. package/lib/core/hooks/PortalContainerProvider.js +50 -0
  322. package/lib/core/hooks/PortalContainerProvider.js.map +1 -0
  323. package/lib/core/hooks/SharedState.d.ts +10 -0
  324. package/lib/core/hooks/SharedState.d.ts.map +1 -0
  325. package/lib/core/hooks/SharedState.js +64 -0
  326. package/lib/core/hooks/SharedState.js.map +1 -0
  327. package/lib/core/hooks/index.d.ts +16 -0
  328. package/lib/core/hooks/index.d.ts.map +1 -0
  329. package/lib/core/hooks/index.js +16 -0
  330. package/lib/core/hooks/index.js.map +1 -0
  331. package/lib/core/hooks/useClickOutside.d.ts.map +1 -0
  332. package/lib/core/hooks/useClickOutside.js +30 -0
  333. package/lib/core/hooks/useClickOutside.js.map +1 -0
  334. package/lib/core/hooks/useCopyToClipboard.d.ts.map +1 -0
  335. package/lib/core/hooks/useCopyToClipboard.js.map +1 -0
  336. package/lib/core/hooks/useDarkMode.d.ts.map +1 -0
  337. package/lib/core/hooks/useDarkMode.js +11 -0
  338. package/lib/core/hooks/useDarkMode.js.map +1 -0
  339. package/lib/core/hooks/useDebounce.d.ts.map +1 -0
  340. package/lib/core/hooks/useDebounce.js +14 -0
  341. package/lib/core/hooks/useDebounce.js.map +1 -0
  342. package/lib/core/hooks/useEventSource.d.ts +11 -0
  343. package/lib/core/hooks/useEventSource.d.ts.map +1 -0
  344. package/lib/core/hooks/useEventSource.js +56 -0
  345. package/lib/core/hooks/useEventSource.js.map +1 -0
  346. package/lib/core/hooks/useFetch.d.ts +24 -0
  347. package/lib/core/hooks/useFetch.d.ts.map +1 -0
  348. package/lib/core/hooks/useFetch.js +54 -0
  349. package/lib/core/hooks/useFetch.js.map +1 -0
  350. package/lib/core/hooks/useFlag.d.ts.map +1 -0
  351. package/lib/core/hooks/useFlag.js +13 -0
  352. package/lib/core/hooks/useFlag.js.map +1 -0
  353. package/lib/core/hooks/useIntersectionObserver.d.ts +14 -0
  354. package/lib/core/hooks/useIntersectionObserver.d.ts.map +1 -0
  355. package/lib/core/hooks/useIntersectionObserver.js +40 -0
  356. package/lib/core/hooks/useIntersectionObserver.js.map +1 -0
  357. package/lib/core/hooks/useIsFistRendering.d.ts.map +1 -0
  358. package/lib/core/hooks/useIsFistRendering.js +16 -0
  359. package/lib/core/hooks/useIsFistRendering.js.map +1 -0
  360. package/lib/core/hooks/useSafeLayoutEffect.d.ts +4 -0
  361. package/lib/core/hooks/useSafeLayoutEffect.d.ts.map +1 -0
  362. package/lib/core/hooks/useSafeLayoutEffect.js +4 -0
  363. package/lib/core/hooks/useSafeLayoutEffect.js.map +1 -0
  364. package/lib/core/hooks/useScrollableSearch.d.ts +82 -0
  365. package/lib/core/hooks/useScrollableSearch.d.ts.map +1 -0
  366. package/lib/core/hooks/useScrollableSearch.js +95 -0
  367. package/lib/core/hooks/useScrollableSearch.js.map +1 -0
  368. package/lib/core/hooks/useSharedValue.d.ts +12 -0
  369. package/lib/core/hooks/useSharedValue.d.ts.map +1 -0
  370. package/lib/core/hooks/useSharedValue.js +21 -0
  371. package/lib/core/hooks/useSharedValue.js.map +1 -0
  372. package/lib/core/index.d.ts +4 -0
  373. package/lib/core/index.d.ts.map +1 -0
  374. package/lib/core/index.js +4 -0
  375. package/lib/core/index.js.map +1 -0
  376. package/lib/core/utils/a11y.d.ts +16 -0
  377. package/lib/core/utils/a11y.d.ts.map +1 -0
  378. package/lib/core/utils/a11y.js +22 -0
  379. package/lib/core/utils/a11y.js.map +1 -0
  380. package/lib/core/utils/cn.d.ts +3 -0
  381. package/lib/core/utils/cn.d.ts.map +1 -0
  382. package/lib/core/utils/cn.js +6 -0
  383. package/lib/core/utils/cn.js.map +1 -0
  384. package/lib/core/utils/errorMessage.d.ts +2 -0
  385. package/lib/core/utils/errorMessage.d.ts.map +1 -0
  386. package/lib/core/utils/errorMessage.js +16 -0
  387. package/lib/core/utils/errorMessage.js.map +1 -0
  388. package/lib/core/utils/index.d.ts +5 -0
  389. package/lib/core/utils/index.d.ts.map +1 -0
  390. package/lib/core/utils/index.js +5 -0
  391. package/lib/core/utils/index.js.map +1 -0
  392. package/lib/core/utils/textarea.d.ts +7 -0
  393. package/lib/core/utils/textarea.d.ts.map +1 -0
  394. package/lib/core/utils/textarea.js +16 -0
  395. package/lib/core/utils/textarea.js.map +1 -0
  396. package/lib/env/index.d.ts +106 -0
  397. package/lib/env/index.d.ts.map +1 -0
  398. package/lib/env/index.js +91 -0
  399. package/lib/env/index.js.map +1 -0
  400. package/lib/features/activity-doc/ActivityDoc.d.ts +14 -0
  401. package/lib/features/activity-doc/ActivityDoc.d.ts.map +1 -0
  402. package/lib/features/activity-doc/ActivityDoc.js +68 -0
  403. package/lib/features/activity-doc/ActivityDoc.js.map +1 -0
  404. package/lib/features/activity-doc/index.d.ts +2 -0
  405. package/lib/features/activity-doc/index.d.ts.map +1 -0
  406. package/lib/features/activity-doc/index.js +2 -0
  407. package/lib/features/activity-doc/index.js.map +1 -0
  408. package/lib/features/agent/PayloadBuilder.d.ts +119 -0
  409. package/lib/features/agent/PayloadBuilder.d.ts.map +1 -0
  410. package/lib/features/agent/PayloadBuilder.js +457 -0
  411. package/lib/features/agent/PayloadBuilder.js.map +1 -0
  412. package/lib/features/agent/chat/AgentChart.d.ts +34 -0
  413. package/lib/features/agent/chat/AgentChart.d.ts.map +1 -0
  414. package/lib/features/agent/chat/AgentChart.js +26 -0
  415. package/lib/features/agent/chat/AgentChart.js.map +1 -0
  416. package/lib/features/agent/chat/AgentChatFixtureReplay.d.ts +34 -0
  417. package/lib/features/agent/chat/AgentChatFixtureReplay.d.ts.map +1 -0
  418. package/lib/features/agent/chat/AgentChatFixtureReplay.js +125 -0
  419. package/lib/features/agent/chat/AgentChatFixtureReplay.js.map +1 -0
  420. package/lib/features/agent/chat/AgentChatPlaybackControls.d.ts +10 -0
  421. package/lib/features/agent/chat/AgentChatPlaybackControls.d.ts.map +1 -0
  422. package/lib/features/agent/chat/AgentChatPlaybackControls.js +87 -0
  423. package/lib/features/agent/chat/AgentChatPlaybackControls.js.map +1 -0
  424. package/lib/features/agent/chat/AgentRequestInputOverlay.d.ts +10 -0
  425. package/lib/features/agent/chat/AgentRequestInputOverlay.d.ts.map +1 -0
  426. package/lib/features/agent/chat/AgentRequestInputOverlay.js +18 -0
  427. package/lib/features/agent/chat/AgentRequestInputOverlay.js.map +1 -0
  428. package/lib/features/agent/chat/AgentRightPanel.d.ts +45 -0
  429. package/lib/features/agent/chat/AgentRightPanel.d.ts.map +1 -0
  430. package/lib/features/agent/chat/AgentRightPanel.js +224 -0
  431. package/lib/features/agent/chat/AgentRightPanel.js.map +1 -0
  432. package/lib/features/agent/chat/AnimatedThinkingDots.d.ts +38 -0
  433. package/lib/features/agent/chat/AnimatedThinkingDots.d.ts.map +1 -0
  434. package/lib/features/agent/chat/AnimatedThinkingDots.js +242 -0
  435. package/lib/features/agent/chat/AnimatedThinkingDots.js.map +1 -0
  436. package/lib/features/agent/chat/ArtifactsTab.d.ts +9 -0
  437. package/lib/features/agent/chat/ArtifactsTab.d.ts.map +1 -0
  438. package/lib/features/agent/chat/ArtifactsTab.js +159 -0
  439. package/lib/features/agent/chat/ArtifactsTab.js.map +1 -0
  440. package/lib/features/agent/chat/AskUserWidget.d.ts +88 -0
  441. package/lib/features/agent/chat/AskUserWidget.d.ts.map +1 -0
  442. package/lib/features/agent/chat/AskUserWidget.js +133 -0
  443. package/lib/features/agent/chat/AskUserWidget.js.map +1 -0
  444. package/lib/features/agent/chat/BrowserUseWidget.d.ts +24 -0
  445. package/lib/features/agent/chat/BrowserUseWidget.d.ts.map +1 -0
  446. package/lib/features/agent/chat/BrowserUseWidget.js +122 -0
  447. package/lib/features/agent/chat/BrowserUseWidget.js.map +1 -0
  448. package/lib/features/agent/chat/DocumentPanel.d.ts +16 -0
  449. package/lib/features/agent/chat/DocumentPanel.d.ts.map +1 -0
  450. package/lib/features/agent/chat/DocumentPanel.js +53 -0
  451. package/lib/features/agent/chat/DocumentPanel.js.map +1 -0
  452. package/lib/features/agent/chat/DocumentTabBar.d.ts +9 -0
  453. package/lib/features/agent/chat/DocumentTabBar.d.ts.map +1 -0
  454. package/lib/features/agent/chat/DocumentTabBar.js +9 -0
  455. package/lib/features/agent/chat/DocumentTabBar.js.map +1 -0
  456. package/lib/features/agent/chat/ImageLightbox.d.ts +18 -0
  457. package/lib/features/agent/chat/ImageLightbox.d.ts.map +1 -0
  458. package/lib/features/agent/chat/ImageLightbox.js +37 -0
  459. package/lib/features/agent/chat/ImageLightbox.js.map +1 -0
  460. package/lib/features/agent/chat/JumpingDots.d.ts +7 -0
  461. package/lib/features/agent/chat/JumpingDots.d.ts.map +1 -0
  462. package/lib/features/agent/chat/JumpingDots.js +6 -0
  463. package/lib/features/agent/chat/JumpingDots.js.map +1 -0
  464. package/lib/features/agent/chat/ModernAgentConversation.d.ts +169 -0
  465. package/lib/features/agent/chat/ModernAgentConversation.d.ts.map +1 -0
  466. package/lib/features/agent/chat/ModernAgentConversation.js +1147 -0
  467. package/lib/features/agent/chat/ModernAgentConversation.js.map +1 -0
  468. package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +86 -0
  469. package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +1 -0
  470. package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +1574 -0
  471. package/lib/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +1 -0
  472. package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.d.ts +38 -0
  473. package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.d.ts.map +1 -0
  474. package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.js +201 -0
  475. package/lib/features/agent/chat/ModernAgentOutput/AttachmentPreview.js.map +1 -0
  476. package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts +26 -0
  477. package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts.map +1 -0
  478. package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js +88 -0
  479. package/lib/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js.map +1 -0
  480. package/lib/features/agent/chat/ModernAgentOutput/Header.d.ts +45 -0
  481. package/lib/features/agent/chat/ModernAgentOutput/Header.d.ts.map +1 -0
  482. package/lib/features/agent/chat/ModernAgentOutput/Header.js +103 -0
  483. package/lib/features/agent/chat/ModernAgentOutput/Header.js.map +1 -0
  484. package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts +11 -0
  485. package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts.map +1 -0
  486. package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js +30 -0
  487. package/lib/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js.map +1 -0
  488. package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts +18 -0
  489. package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +1 -0
  490. package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +80 -0
  491. package/lib/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +1 -0
  492. package/lib/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +70 -0
  493. package/lib/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +1 -0
  494. package/lib/features/agent/chat/ModernAgentOutput/MessageInput.js +296 -0
  495. package/lib/features/agent/chat/ModernAgentOutput/MessageInput.js.map +1 -0
  496. package/lib/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +60 -0
  497. package/lib/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +1 -0
  498. package/lib/features/agent/chat/ModernAgentOutput/MessageItem.js +383 -0
  499. package/lib/features/agent/chat/ModernAgentOutput/MessageItem.js.map +1 -0
  500. package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts +15 -0
  501. package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts.map +1 -0
  502. package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.js +21 -0
  503. package/lib/features/agent/chat/ModernAgentOutput/MessagesContainer.js.map +1 -0
  504. package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts +9 -0
  505. package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +1 -0
  506. package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.js +66 -0
  507. package/lib/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +1 -0
  508. package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts +11 -0
  509. package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts.map +1 -0
  510. package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.js +24 -0
  511. package/lib/features/agent/chat/ModernAgentOutput/SlideInPanel.js.map +1 -0
  512. package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts +9 -0
  513. package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts.map +1 -0
  514. package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.js +52 -0
  515. package/lib/features/agent/chat/ModernAgentOutput/SlidingMessages.js.map +1 -0
  516. package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts +10 -0
  517. package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts.map +1 -0
  518. package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +85 -0
  519. package/lib/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +1 -0
  520. package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts +9 -0
  521. package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts.map +1 -0
  522. package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.js +13 -0
  523. package/lib/features/agent/chat/ModernAgentOutput/StackedMessages.js.map +1 -0
  524. package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts +38 -0
  525. package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts.map +1 -0
  526. package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.js +203 -0
  527. package/lib/features/agent/chat/ModernAgentOutput/StreamingMessage.js.map +1 -0
  528. package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.d.ts +24 -0
  529. package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.d.ts.map +1 -0
  530. package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.js +332 -0
  531. package/lib/features/agent/chat/ModernAgentOutput/SummaryConversation.js.map +1 -0
  532. package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts +34 -0
  533. package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts.map +1 -0
  534. package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.js +643 -0
  535. package/lib/features/agent/chat/ModernAgentOutput/ToolCallGroup.js.map +1 -0
  536. package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts +22 -0
  537. package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +1 -0
  538. package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +95 -0
  539. package/lib/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +1 -0
  540. package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.d.ts +3 -0
  541. package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.d.ts.map +1 -0
  542. package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.js +123 -0
  543. package/lib/features/agent/chat/ModernAgentOutput/processContentForMarkdown.js.map +1 -0
  544. package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.d.ts +13 -0
  545. package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.d.ts.map +1 -0
  546. package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.js +69 -0
  547. package/lib/features/agent/chat/ModernAgentOutput/requestInputMessages.js.map +1 -0
  548. package/lib/features/agent/chat/ModernAgentOutput/utils.d.ts +147 -0
  549. package/lib/features/agent/chat/ModernAgentOutput/utils.d.ts.map +1 -0
  550. package/lib/features/agent/chat/ModernAgentOutput/utils.js +634 -0
  551. package/lib/features/agent/chat/ModernAgentOutput/utils.js.map +1 -0
  552. package/lib/features/agent/chat/ProposalCodeBlockHandler.d.ts +9 -0
  553. package/lib/features/agent/chat/ProposalCodeBlockHandler.d.ts.map +1 -0
  554. package/lib/features/agent/chat/ProposalCodeBlockHandler.js +55 -0
  555. package/lib/features/agent/chat/ProposalCodeBlockHandler.js.map +1 -0
  556. package/lib/features/agent/chat/SkillWidgetProvider.d.ts +11 -0
  557. package/lib/features/agent/chat/SkillWidgetProvider.d.ts.map +1 -0
  558. package/lib/features/agent/chat/SkillWidgetProvider.js +156 -0
  559. package/lib/features/agent/chat/SkillWidgetProvider.js.map +1 -0
  560. package/lib/features/agent/chat/SlidingThinkingIndicator.d.ts +18 -0
  561. package/lib/features/agent/chat/SlidingThinkingIndicator.d.ts.map +1 -0
  562. package/lib/features/agent/chat/SlidingThinkingIndicator.js +269 -0
  563. package/lib/features/agent/chat/SlidingThinkingIndicator.js.map +1 -0
  564. package/lib/features/agent/chat/VegaLiteChart.d.ts +52 -0
  565. package/lib/features/agent/chat/VegaLiteChart.d.ts.map +1 -0
  566. package/lib/features/agent/chat/VegaLiteChart.js +813 -0
  567. package/lib/features/agent/chat/VegaLiteChart.js.map +1 -0
  568. package/lib/features/agent/chat/WaitingMessages.d.ts.map +1 -0
  569. package/lib/features/agent/chat/WaitingMessages.js +60 -0
  570. package/lib/features/agent/chat/WaitingMessages.js.map +1 -0
  571. package/lib/features/agent/chat/hooks/useAgentPlans.d.ts +22 -0
  572. package/lib/features/agent/chat/hooks/useAgentPlans.d.ts.map +1 -0
  573. package/lib/features/agent/chat/hooks/useAgentPlans.js +139 -0
  574. package/lib/features/agent/chat/hooks/useAgentPlans.js.map +1 -0
  575. package/lib/features/agent/chat/hooks/useAgentStream.d.ts +50 -0
  576. package/lib/features/agent/chat/hooks/useAgentStream.d.ts.map +1 -0
  577. package/lib/features/agent/chat/hooks/useAgentStream.js +289 -0
  578. package/lib/features/agent/chat/hooks/useAgentStream.js.map +1 -0
  579. package/lib/features/agent/chat/hooks/useArtifacts.d.ts +25 -0
  580. package/lib/features/agent/chat/hooks/useArtifacts.d.ts.map +1 -0
  581. package/lib/features/agent/chat/hooks/useArtifacts.js +122 -0
  582. package/lib/features/agent/chat/hooks/useArtifacts.js.map +1 -0
  583. package/lib/features/agent/chat/hooks/useDocumentPanel.d.ts +23 -0
  584. package/lib/features/agent/chat/hooks/useDocumentPanel.d.ts.map +1 -0
  585. package/lib/features/agent/chat/hooks/useDocumentPanel.js +155 -0
  586. package/lib/features/agent/chat/hooks/useDocumentPanel.js.map +1 -0
  587. package/lib/features/agent/chat/hooks/useFileProcessing.d.ts +28 -0
  588. package/lib/features/agent/chat/hooks/useFileProcessing.d.ts.map +1 -0
  589. package/lib/features/agent/chat/hooks/useFileProcessing.js +177 -0
  590. package/lib/features/agent/chat/hooks/useFileProcessing.js.map +1 -0
  591. package/lib/features/agent/chat/index.d.ts +24 -0
  592. package/lib/features/agent/chat/index.d.ts.map +1 -0
  593. package/lib/features/agent/chat/index.js +21 -0
  594. package/lib/features/agent/chat/index.js.map +1 -0
  595. package/lib/features/agent/chat/playback.d.ts +21 -0
  596. package/lib/features/agent/chat/playback.d.ts.map +1 -0
  597. package/lib/features/agent/chat/playback.js +72 -0
  598. package/lib/features/agent/chat/playback.js.map +1 -0
  599. package/lib/features/agent/chat/types/document.d.ts.map +1 -0
  600. package/lib/features/agent/chat/types/document.js.map +1 -0
  601. package/lib/features/agent/chat/useArtifactUrlCache.d.ts +34 -0
  602. package/lib/features/agent/chat/useArtifactUrlCache.d.ts.map +1 -0
  603. package/lib/features/agent/chat/useArtifactUrlCache.js +72 -0
  604. package/lib/features/agent/chat/useArtifactUrlCache.js.map +1 -0
  605. package/lib/features/agent/chat/workstreams.d.ts +30 -0
  606. package/lib/features/agent/chat/workstreams.d.ts.map +1 -0
  607. package/lib/features/agent/chat/workstreams.js +136 -0
  608. package/lib/features/agent/chat/workstreams.js.map +1 -0
  609. package/lib/features/agent/index.d.ts +3 -0
  610. package/lib/features/agent/index.d.ts.map +1 -0
  611. package/lib/features/agent/index.js +3 -0
  612. package/lib/features/agent/index.js.map +1 -0
  613. package/lib/features/document-viewer/UniversalDocumentViewer.d.ts +73 -0
  614. package/lib/features/document-viewer/UniversalDocumentViewer.d.ts.map +1 -0
  615. package/lib/features/document-viewer/UniversalDocumentViewer.js +415 -0
  616. package/lib/features/document-viewer/UniversalDocumentViewer.js.map +1 -0
  617. package/lib/features/document-viewer/index.d.ts +2 -0
  618. package/lib/features/document-viewer/index.d.ts.map +1 -0
  619. package/lib/features/document-viewer/index.js +2 -0
  620. package/lib/features/document-viewer/index.js.map +1 -0
  621. package/lib/features/errors/PanelErrorBoundary.d.ts +5 -0
  622. package/lib/features/errors/PanelErrorBoundary.d.ts.map +1 -0
  623. package/lib/features/errors/PanelErrorBoundary.js +13 -0
  624. package/lib/features/errors/PanelErrorBoundary.js.map +1 -0
  625. package/lib/features/errors/RowErrorBoundary.d.ts +8 -0
  626. package/lib/features/errors/RowErrorBoundary.d.ts.map +1 -0
  627. package/lib/features/errors/RowErrorBoundary.js +10 -0
  628. package/lib/features/errors/RowErrorBoundary.js.map +1 -0
  629. package/lib/features/errors/VertesiaErrorBoundary.d.ts +12 -0
  630. package/lib/features/errors/VertesiaErrorBoundary.d.ts.map +1 -0
  631. package/lib/features/errors/VertesiaErrorBoundary.js +16 -0
  632. package/lib/features/errors/VertesiaErrorBoundary.js.map +1 -0
  633. package/lib/features/errors/WidgetErrorBoundary.d.ts +5 -0
  634. package/lib/features/errors/WidgetErrorBoundary.d.ts.map +1 -0
  635. package/lib/features/errors/WidgetErrorBoundary.js +11 -0
  636. package/lib/features/errors/WidgetErrorBoundary.js.map +1 -0
  637. package/lib/features/errors/index.d.ts +5 -0
  638. package/lib/features/errors/index.d.ts.map +1 -0
  639. package/lib/features/errors/index.js +5 -0
  640. package/lib/features/errors/index.js.map +1 -0
  641. package/lib/features/facets/AgentRunnerFacetsNav.d.ts +19 -0
  642. package/lib/features/facets/AgentRunnerFacetsNav.d.ts.map +1 -0
  643. package/lib/features/facets/AgentRunnerFacetsNav.js +85 -0
  644. package/lib/features/facets/AgentRunnerFacetsNav.js.map +1 -0
  645. package/lib/features/facets/CollectionsFacetsNav.d.ts +15 -0
  646. package/lib/features/facets/CollectionsFacetsNav.d.ts.map +1 -0
  647. package/lib/features/facets/CollectionsFacetsNav.js +74 -0
  648. package/lib/features/facets/CollectionsFacetsNav.js.map +1 -0
  649. package/lib/features/facets/DocumentsFacetsNav.d.ts +12 -0
  650. package/lib/features/facets/DocumentsFacetsNav.d.ts.map +1 -0
  651. package/lib/features/facets/DocumentsFacetsNav.js +137 -0
  652. package/lib/features/facets/DocumentsFacetsNav.js.map +1 -0
  653. package/lib/features/facets/EnvironmentFacet.d.ts +11 -0
  654. package/lib/features/facets/EnvironmentFacet.d.ts.map +1 -0
  655. package/lib/features/facets/EnvironmentFacet.js +42 -0
  656. package/lib/features/facets/EnvironmentFacet.js.map +1 -0
  657. package/lib/features/facets/InteractionsFacetsNav.d.ts +13 -0
  658. package/lib/features/facets/InteractionsFacetsNav.d.ts.map +1 -0
  659. package/lib/features/facets/InteractionsFacetsNav.js +73 -0
  660. package/lib/features/facets/InteractionsFacetsNav.js.map +1 -0
  661. package/lib/features/facets/ProcessDefinitionsFacetsNav.d.ts +19 -0
  662. package/lib/features/facets/ProcessDefinitionsFacetsNav.d.ts.map +1 -0
  663. package/lib/features/facets/ProcessDefinitionsFacetsNav.js +21 -0
  664. package/lib/features/facets/ProcessDefinitionsFacetsNav.js.map +1 -0
  665. package/lib/features/facets/ProcessRunsFacetsNav.d.ts +22 -0
  666. package/lib/features/facets/ProcessRunsFacetsNav.d.ts.map +1 -0
  667. package/lib/features/facets/ProcessRunsFacetsNav.js +25 -0
  668. package/lib/features/facets/ProcessRunsFacetsNav.js.map +1 -0
  669. package/lib/features/facets/PromptsFacetsNav.d.ts +16 -0
  670. package/lib/features/facets/PromptsFacetsNav.d.ts.map +1 -0
  671. package/lib/features/facets/PromptsFacetsNav.js +65 -0
  672. package/lib/features/facets/PromptsFacetsNav.js.map +1 -0
  673. package/lib/features/facets/RunsFacetsNav.d.ts +24 -0
  674. package/lib/features/facets/RunsFacetsNav.d.ts.map +1 -0
  675. package/lib/features/facets/RunsFacetsNav.js +147 -0
  676. package/lib/features/facets/RunsFacetsNav.js.map +1 -0
  677. package/lib/features/facets/WorkflowDefinitionsFacetsNav.d.ts +20 -0
  678. package/lib/features/facets/WorkflowDefinitionsFacetsNav.d.ts.map +1 -0
  679. package/lib/features/facets/WorkflowDefinitionsFacetsNav.js +21 -0
  680. package/lib/features/facets/WorkflowDefinitionsFacetsNav.js.map +1 -0
  681. package/lib/features/facets/WorkflowExecutionsFacetsNav.d.ts +15 -0
  682. package/lib/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +1 -0
  683. package/lib/features/facets/WorkflowExecutionsFacetsNav.js +103 -0
  684. package/lib/features/facets/WorkflowExecutionsFacetsNav.js.map +1 -0
  685. package/lib/features/facets/WorkflowRulesFacetsNav.d.ts +20 -0
  686. package/lib/features/facets/WorkflowRulesFacetsNav.d.ts.map +1 -0
  687. package/lib/features/facets/WorkflowRulesFacetsNav.js +19 -0
  688. package/lib/features/facets/WorkflowRulesFacetsNav.js.map +1 -0
  689. package/lib/features/facets/index.d.ts +21 -0
  690. package/lib/features/facets/index.d.ts.map +1 -0
  691. package/lib/features/facets/index.js +21 -0
  692. package/lib/features/facets/index.js.map +1 -0
  693. package/lib/features/facets/utils/SearchInterface.d.ts +20 -0
  694. package/lib/features/facets/utils/SearchInterface.d.ts.map +1 -0
  695. package/lib/features/facets/utils/SearchInterface.js +20 -0
  696. package/lib/features/facets/utils/SearchInterface.js.map +1 -0
  697. package/lib/features/facets/utils/StringFacet.d.ts +12 -0
  698. package/lib/features/facets/utils/StringFacet.d.ts.map +1 -0
  699. package/lib/features/facets/utils/StringFacet.js +12 -0
  700. package/lib/features/facets/utils/StringFacet.js.map +1 -0
  701. package/lib/features/facets/utils/StringListFacet.d.ts +12 -0
  702. package/lib/features/facets/utils/StringListFacet.d.ts.map +1 -0
  703. package/lib/features/facets/utils/StringListFacet.js +11 -0
  704. package/lib/features/facets/utils/StringListFacet.js.map +1 -0
  705. package/lib/features/facets/utils/TypeFacet.d.ts +17 -0
  706. package/lib/features/facets/utils/TypeFacet.d.ts.map +1 -0
  707. package/lib/features/facets/utils/TypeFacet.js +42 -0
  708. package/lib/features/facets/utils/TypeFacet.js.map +1 -0
  709. package/lib/features/facets/utils/VEnvironmentFacet.d.ts +12 -0
  710. package/lib/features/facets/utils/VEnvironmentFacet.d.ts.map +1 -0
  711. package/lib/features/facets/utils/VEnvironmentFacet.js +25 -0
  712. package/lib/features/facets/utils/VEnvironmentFacet.js.map +1 -0
  713. package/lib/features/facets/utils/VInteractionFacet.d.ts +15 -0
  714. package/lib/features/facets/utils/VInteractionFacet.d.ts.map +1 -0
  715. package/lib/features/facets/utils/VInteractionFacet.js +45 -0
  716. package/lib/features/facets/utils/VInteractionFacet.js.map +1 -0
  717. package/lib/features/facets/utils/VStringFacet.d.ts +20 -0
  718. package/lib/features/facets/utils/VStringFacet.d.ts.map +1 -0
  719. package/lib/features/facets/utils/VStringFacet.js +20 -0
  720. package/lib/features/facets/utils/VStringFacet.js.map +1 -0
  721. package/lib/features/facets/utils/VTypeFacet.d.ts +12 -0
  722. package/lib/features/facets/utils/VTypeFacet.d.ts.map +1 -0
  723. package/lib/features/facets/utils/VTypeFacet.js +61 -0
  724. package/lib/features/facets/utils/VTypeFacet.js.map +1 -0
  725. package/lib/features/facets/utils/VUserFacet.d.ts +11 -0
  726. package/lib/features/facets/utils/VUserFacet.d.ts.map +1 -0
  727. package/lib/features/facets/utils/VUserFacet.js +31 -0
  728. package/lib/features/facets/utils/VUserFacet.js.map +1 -0
  729. package/lib/features/facets/utils/utils.d.ts +4 -0
  730. package/lib/features/facets/utils/utils.d.ts.map +1 -0
  731. package/lib/features/facets/utils/utils.js.map +1 -0
  732. package/lib/features/index.d.ts +15 -0
  733. package/lib/features/index.d.ts.map +1 -0
  734. package/lib/features/index.js +15 -0
  735. package/lib/features/index.js.map +1 -0
  736. package/lib/features/layout/GenericPageNavHeader.d.ts +19 -0
  737. package/lib/features/layout/GenericPageNavHeader.d.ts.map +1 -0
  738. package/lib/features/layout/GenericPageNavHeader.js +89 -0
  739. package/lib/features/layout/GenericPageNavHeader.js.map +1 -0
  740. package/lib/features/layout/NotFoundView.d.ts +2 -0
  741. package/lib/features/layout/NotFoundView.d.ts.map +1 -0
  742. package/lib/features/layout/NotFoundView.js +7 -0
  743. package/lib/features/layout/NotFoundView.js.map +1 -0
  744. package/lib/features/layout/index.d.ts +3 -0
  745. package/lib/features/layout/index.d.ts.map +1 -0
  746. package/lib/features/layout/index.js +3 -0
  747. package/lib/features/layout/index.js.map +1 -0
  748. package/lib/features/magic-pdf/AnnotatedImageSlider.d.ts +13 -0
  749. package/lib/features/magic-pdf/AnnotatedImageSlider.d.ts.map +1 -0
  750. package/lib/features/magic-pdf/AnnotatedImageSlider.js +277 -0
  751. package/lib/features/magic-pdf/AnnotatedImageSlider.js.map +1 -0
  752. package/lib/features/magic-pdf/DownloadPopover.d.ts +7 -0
  753. package/lib/features/magic-pdf/DownloadPopover.d.ts.map +1 -0
  754. package/lib/features/magic-pdf/DownloadPopover.js +29 -0
  755. package/lib/features/magic-pdf/DownloadPopover.js.map +1 -0
  756. package/lib/features/magic-pdf/ExtractedContentView.d.ts +8 -0
  757. package/lib/features/magic-pdf/ExtractedContentView.d.ts.map +1 -0
  758. package/lib/features/magic-pdf/ExtractedContentView.js +79 -0
  759. package/lib/features/magic-pdf/ExtractedContentView.js.map +1 -0
  760. package/lib/features/magic-pdf/MagicPdfProvider.d.ts +58 -0
  761. package/lib/features/magic-pdf/MagicPdfProvider.d.ts.map +1 -0
  762. package/lib/features/magic-pdf/MagicPdfProvider.js +241 -0
  763. package/lib/features/magic-pdf/MagicPdfProvider.js.map +1 -0
  764. package/lib/features/magic-pdf/MagicPdfView.d.ts +7 -0
  765. package/lib/features/magic-pdf/MagicPdfView.d.ts.map +1 -0
  766. package/lib/features/magic-pdf/MagicPdfView.js +64 -0
  767. package/lib/features/magic-pdf/MagicPdfView.js.map +1 -0
  768. package/lib/features/magic-pdf/index.d.ts +2 -0
  769. package/lib/features/magic-pdf/index.d.ts.map +1 -0
  770. package/lib/features/magic-pdf/index.js +2 -0
  771. package/lib/features/magic-pdf/index.js.map +1 -0
  772. package/lib/features/magic-pdf/types.d.ts +2 -0
  773. package/lib/features/magic-pdf/types.d.ts.map +1 -0
  774. package/lib/features/magic-pdf/types.js.map +1 -0
  775. package/lib/features/media-viewer/AudioPanel.d.ts +18 -0
  776. package/lib/features/media-viewer/AudioPanel.d.ts.map +1 -0
  777. package/lib/features/media-viewer/AudioPanel.js +77 -0
  778. package/lib/features/media-viewer/AudioPanel.js.map +1 -0
  779. package/lib/features/media-viewer/ImagePanel.d.ts +18 -0
  780. package/lib/features/media-viewer/ImagePanel.d.ts.map +1 -0
  781. package/lib/features/media-viewer/ImagePanel.js +74 -0
  782. package/lib/features/media-viewer/ImagePanel.js.map +1 -0
  783. package/lib/features/media-viewer/VideoPanel.d.ts +18 -0
  784. package/lib/features/media-viewer/VideoPanel.d.ts.map +1 -0
  785. package/lib/features/media-viewer/VideoPanel.js +89 -0
  786. package/lib/features/media-viewer/VideoPanel.js.map +1 -0
  787. package/lib/features/media-viewer/formats.d.ts +11 -0
  788. package/lib/features/media-viewer/formats.d.ts.map +1 -0
  789. package/lib/features/media-viewer/formats.js +34 -0
  790. package/lib/features/media-viewer/formats.js.map +1 -0
  791. package/lib/features/media-viewer/index.d.ts +5 -0
  792. package/lib/features/media-viewer/index.d.ts.map +1 -0
  793. package/lib/features/media-viewer/index.js +5 -0
  794. package/lib/features/media-viewer/index.js.map +1 -0
  795. package/lib/features/oauth/OAuthProviderConnectButton.d.ts +11 -0
  796. package/lib/features/oauth/OAuthProviderConnectButton.d.ts.map +1 -0
  797. package/lib/features/oauth/OAuthProviderConnectButton.js +85 -0
  798. package/lib/features/oauth/OAuthProviderConnectButton.js.map +1 -0
  799. package/lib/features/oauth/RemoteMcpConnectionButton.d.ts +25 -0
  800. package/lib/features/oauth/RemoteMcpConnectionButton.d.ts.map +1 -0
  801. package/lib/features/oauth/RemoteMcpConnectionButton.js +119 -0
  802. package/lib/features/oauth/RemoteMcpConnectionButton.js.map +1 -0
  803. package/lib/features/oauth/index.d.ts.map +1 -0
  804. package/lib/features/oauth/index.js.map +1 -0
  805. package/lib/features/oauth/useOAuthPopup.d.ts.map +1 -0
  806. package/lib/features/oauth/useOAuthPopup.js.map +1 -0
  807. package/lib/features/pdf-viewer/PdfPageRenderer.d.ts +83 -0
  808. package/lib/features/pdf-viewer/PdfPageRenderer.d.ts.map +1 -0
  809. package/lib/features/pdf-viewer/PdfPageRenderer.js +259 -0
  810. package/lib/features/pdf-viewer/PdfPageRenderer.js.map +1 -0
  811. package/lib/features/pdf-viewer/PdfPageSlider.d.ts +29 -0
  812. package/lib/features/pdf-viewer/PdfPageSlider.d.ts.map +1 -0
  813. package/lib/features/pdf-viewer/PdfPageSlider.js +274 -0
  814. package/lib/features/pdf-viewer/PdfPageSlider.js.map +1 -0
  815. package/lib/features/pdf-viewer/SimplePdfViewer.d.ts +19 -0
  816. package/lib/features/pdf-viewer/SimplePdfViewer.d.ts.map +1 -0
  817. package/lib/features/pdf-viewer/SimplePdfViewer.js +74 -0
  818. package/lib/features/pdf-viewer/SimplePdfViewer.js.map +1 -0
  819. package/lib/features/pdf-viewer/index.d.ts.map +1 -0
  820. package/lib/features/pdf-viewer/index.js.map +1 -0
  821. package/lib/features/permissions/SecureButton.d.ts +8 -0
  822. package/lib/features/permissions/SecureButton.d.ts.map +1 -0
  823. package/lib/features/permissions/SecureButton.js +12 -0
  824. package/lib/features/permissions/SecureButton.js.map +1 -0
  825. package/lib/features/permissions/SecureSidebarItem.d.ts +8 -0
  826. package/lib/features/permissions/SecureSidebarItem.d.ts.map +1 -0
  827. package/lib/features/permissions/SecureSidebarItem.js +14 -0
  828. package/lib/features/permissions/SecureSidebarItem.js.map +1 -0
  829. package/lib/features/permissions/UserPermissionsProvider.d.ts +20 -0
  830. package/lib/features/permissions/UserPermissionsProvider.d.ts.map +1 -0
  831. package/lib/features/permissions/UserPermissionsProvider.js +98 -0
  832. package/lib/features/permissions/UserPermissionsProvider.js.map +1 -0
  833. package/lib/features/permissions/helpers.d.ts +5 -0
  834. package/lib/features/permissions/helpers.d.ts.map +1 -0
  835. package/lib/features/permissions/helpers.js.map +1 -0
  836. package/lib/features/permissions/index.d.ts +5 -0
  837. package/lib/features/permissions/index.d.ts.map +1 -0
  838. package/lib/features/permissions/index.js +5 -0
  839. package/lib/features/permissions/index.js.map +1 -0
  840. package/lib/features/store/collections/BrowseCollectionView.d.ts +7 -0
  841. package/lib/features/store/collections/BrowseCollectionView.d.ts.map +1 -0
  842. package/lib/features/store/collections/BrowseCollectionView.js +48 -0
  843. package/lib/features/store/collections/BrowseCollectionView.js.map +1 -0
  844. package/lib/features/store/collections/CollectionsTable.d.ts +5 -0
  845. package/lib/features/store/collections/CollectionsTable.d.ts.map +1 -0
  846. package/lib/features/store/collections/CollectionsTable.js +65 -0
  847. package/lib/features/store/collections/CollectionsTable.js.map +1 -0
  848. package/lib/features/store/collections/CreateCollection.d.ts +13 -0
  849. package/lib/features/store/collections/CreateCollection.d.ts.map +1 -0
  850. package/lib/features/store/collections/CreateCollection.js +89 -0
  851. package/lib/features/store/collections/CreateCollection.js.map +1 -0
  852. package/lib/features/store/collections/EditCollectionView.d.ts +8 -0
  853. package/lib/features/store/collections/EditCollectionView.d.ts.map +1 -0
  854. package/lib/features/store/collections/EditCollectionView.js +228 -0
  855. package/lib/features/store/collections/EditCollectionView.js.map +1 -0
  856. package/lib/features/store/collections/SelectCollection.d.ts +20 -0
  857. package/lib/features/store/collections/SelectCollection.d.ts.map +1 -0
  858. package/lib/features/store/collections/SelectCollection.js +134 -0
  859. package/lib/features/store/collections/SelectCollection.js.map +1 -0
  860. package/lib/features/store/collections/SharedPropsEditor.d.ts +7 -0
  861. package/lib/features/store/collections/SharedPropsEditor.d.ts.map +1 -0
  862. package/lib/features/store/collections/SharedPropsEditor.js +44 -0
  863. package/lib/features/store/collections/SharedPropsEditor.js.map +1 -0
  864. package/lib/features/store/collections/SyncMemberHeadsToggle.d.ts +7 -0
  865. package/lib/features/store/collections/SyncMemberHeadsToggle.d.ts.map +1 -0
  866. package/lib/features/store/collections/SyncMemberHeadsToggle.js +41 -0
  867. package/lib/features/store/collections/SyncMemberHeadsToggle.js.map +1 -0
  868. package/lib/features/store/collections/index.d.ts +8 -0
  869. package/lib/features/store/collections/index.d.ts.map +1 -0
  870. package/lib/features/store/collections/index.js +8 -0
  871. package/lib/features/store/collections/index.js.map +1 -0
  872. package/lib/features/store/index.d.ts +4 -0
  873. package/lib/features/store/index.d.ts.map +1 -0
  874. package/lib/features/store/index.js +4 -0
  875. package/lib/features/store/index.js.map +1 -0
  876. package/lib/features/store/objects/DocumentPreviewPanel.d.ts +8 -0
  877. package/lib/features/store/objects/DocumentPreviewPanel.d.ts.map +1 -0
  878. package/lib/features/store/objects/DocumentPreviewPanel.js +146 -0
  879. package/lib/features/store/objects/DocumentPreviewPanel.js.map +1 -0
  880. package/lib/features/store/objects/DocumentSearchResults.d.ts +20 -0
  881. package/lib/features/store/objects/DocumentSearchResults.d.ts.map +1 -0
  882. package/lib/features/store/objects/DocumentSearchResults.js +251 -0
  883. package/lib/features/store/objects/DocumentSearchResults.js.map +1 -0
  884. package/lib/features/store/objects/DocumentSelectionProvider.d.ts +33 -0
  885. package/lib/features/store/objects/DocumentSelectionProvider.d.ts.map +1 -0
  886. package/lib/features/store/objects/DocumentSelectionProvider.js +81 -0
  887. package/lib/features/store/objects/DocumentSelectionProvider.js.map +1 -0
  888. package/lib/features/store/objects/DocumentTable.d.ts +25 -0
  889. package/lib/features/store/objects/DocumentTable.d.ts.map +1 -0
  890. package/lib/features/store/objects/DocumentTable.js +281 -0
  891. package/lib/features/store/objects/DocumentTable.js.map +1 -0
  892. package/lib/features/store/objects/ExportPropertiesModal.d.ts +12 -0
  893. package/lib/features/store/objects/ExportPropertiesModal.d.ts.map +1 -0
  894. package/lib/features/store/objects/ExportPropertiesModal.js +31 -0
  895. package/lib/features/store/objects/ExportPropertiesModal.js.map +1 -0
  896. package/lib/features/store/objects/components/ContentDispositionButton.d.ts +9 -0
  897. package/lib/features/store/objects/components/ContentDispositionButton.d.ts.map +1 -0
  898. package/lib/features/store/objects/components/ContentDispositionButton.js +31 -0
  899. package/lib/features/store/objects/components/ContentDispositionButton.js.map +1 -0
  900. package/lib/features/store/objects/components/ContentOverview.d.ts +10 -0
  901. package/lib/features/store/objects/components/ContentOverview.d.ts.map +1 -0
  902. package/lib/features/store/objects/components/ContentOverview.js +433 -0
  903. package/lib/features/store/objects/components/ContentOverview.js.map +1 -0
  904. package/lib/features/store/objects/components/DocumentIcon.d.ts +19 -0
  905. package/lib/features/store/objects/components/DocumentIcon.d.ts.map +1 -0
  906. package/lib/features/store/objects/components/DocumentIcon.js +37 -0
  907. package/lib/features/store/objects/components/DocumentIcon.js.map +1 -0
  908. package/lib/features/store/objects/components/DocumentInput.d.ts +8 -0
  909. package/lib/features/store/objects/components/DocumentInput.d.ts.map +1 -0
  910. package/lib/features/store/objects/components/DocumentInput.js +52 -0
  911. package/lib/features/store/objects/components/DocumentInput.js.map +1 -0
  912. package/lib/features/store/objects/components/PropertiesEditorModal.d.ts +9 -0
  913. package/lib/features/store/objects/components/PropertiesEditorModal.d.ts.map +1 -0
  914. package/lib/features/store/objects/components/PropertiesEditorModal.js +161 -0
  915. package/lib/features/store/objects/components/PropertiesEditorModal.js.map +1 -0
  916. package/lib/features/store/objects/components/SaveVersionConfirmModal.d.ts +9 -0
  917. package/lib/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +1 -0
  918. package/lib/features/store/objects/components/SaveVersionConfirmModal.js +58 -0
  919. package/lib/features/store/objects/components/SaveVersionConfirmModal.js.map +1 -0
  920. package/lib/features/store/objects/components/SelectDocument.d.ts +11 -0
  921. package/lib/features/store/objects/components/SelectDocument.d.ts.map +1 -0
  922. package/lib/features/store/objects/components/SelectDocument.js +55 -0
  923. package/lib/features/store/objects/components/SelectDocument.js.map +1 -0
  924. package/lib/features/store/objects/components/SelectDocumentModal.d.ts +9 -0
  925. package/lib/features/store/objects/components/SelectDocumentModal.d.ts.map +1 -0
  926. package/lib/features/store/objects/components/SelectDocumentModal.js +7 -0
  927. package/lib/features/store/objects/components/SelectDocumentModal.js.map +1 -0
  928. package/lib/features/store/objects/components/TextEditorPanel.d.ts +10 -0
  929. package/lib/features/store/objects/components/TextEditorPanel.d.ts.map +1 -0
  930. package/lib/features/store/objects/components/TextEditorPanel.js +99 -0
  931. package/lib/features/store/objects/components/TextEditorPanel.js.map +1 -0
  932. package/lib/features/store/objects/components/VectorSearchWidget.d.ts +12 -0
  933. package/lib/features/store/objects/components/VectorSearchWidget.d.ts.map +1 -0
  934. package/lib/features/store/objects/components/VectorSearchWidget.js +101 -0
  935. package/lib/features/store/objects/components/VectorSearchWidget.js.map +1 -0
  936. package/lib/features/store/objects/components/index.d.ts +10 -0
  937. package/lib/features/store/objects/components/index.d.ts.map +1 -0
  938. package/lib/features/store/objects/components/index.js +10 -0
  939. package/lib/features/store/objects/components/index.js.map +1 -0
  940. package/lib/features/store/objects/components/useContentPanelHooks.d.ts +30 -0
  941. package/lib/features/store/objects/components/useContentPanelHooks.d.ts.map +1 -0
  942. package/lib/features/store/objects/components/useContentPanelHooks.js +193 -0
  943. package/lib/features/store/objects/components/useContentPanelHooks.js.map +1 -0
  944. package/lib/features/store/objects/components/useDownloadFile.d.ts +39 -0
  945. package/lib/features/store/objects/components/useDownloadFile.d.ts.map +1 -0
  946. package/lib/features/store/objects/components/useDownloadFile.js +196 -0
  947. package/lib/features/store/objects/components/useDownloadFile.js.map +1 -0
  948. package/lib/features/store/objects/index.d.ts +11 -0
  949. package/lib/features/store/objects/index.d.ts.map +1 -0
  950. package/lib/features/store/objects/index.js +11 -0
  951. package/lib/features/store/objects/index.js.map +1 -0
  952. package/lib/features/store/objects/layout/DocumentTableColumn.d.ts +18 -0
  953. package/lib/features/store/objects/layout/DocumentTableColumn.d.ts.map +1 -0
  954. package/lib/features/store/objects/layout/DocumentTableColumn.js +95 -0
  955. package/lib/features/store/objects/layout/DocumentTableColumn.js.map +1 -0
  956. package/lib/features/store/objects/layout/documentLayout.d.ts +21 -0
  957. package/lib/features/store/objects/layout/documentLayout.d.ts.map +1 -0
  958. package/lib/features/store/objects/layout/documentLayout.js +18 -0
  959. package/lib/features/store/objects/layout/documentLayout.js.map +1 -0
  960. package/lib/features/store/objects/layout/index.d.ts +3 -0
  961. package/lib/features/store/objects/layout/index.d.ts.map +1 -0
  962. package/lib/features/store/objects/layout/index.js +3 -0
  963. package/lib/features/store/objects/layout/index.js.map +1 -0
  964. package/lib/features/store/objects/layout/renderers.d.ts +3 -0
  965. package/lib/features/store/objects/layout/renderers.d.ts.map +1 -0
  966. package/lib/features/store/objects/layout/renderers.js +198 -0
  967. package/lib/features/store/objects/layout/renderers.js.map +1 -0
  968. package/lib/features/store/objects/search/DocumentSearchContext.d.ts +53 -0
  969. package/lib/features/store/objects/search/DocumentSearchContext.d.ts.map +1 -0
  970. package/lib/features/store/objects/search/DocumentSearchContext.js +190 -0
  971. package/lib/features/store/objects/search/DocumentSearchContext.js.map +1 -0
  972. package/lib/features/store/objects/search/DocumentSearchProvider.d.ts +14 -0
  973. package/lib/features/store/objects/search/DocumentSearchProvider.d.ts.map +1 -0
  974. package/lib/features/store/objects/search/DocumentSearchProvider.js +42 -0
  975. package/lib/features/store/objects/search/DocumentSearchProvider.js.map +1 -0
  976. package/lib/features/store/objects/search/index.d.ts +3 -0
  977. package/lib/features/store/objects/search/index.d.ts.map +1 -0
  978. package/lib/features/store/objects/search/index.js +3 -0
  979. package/lib/features/store/objects/search/index.js.map +1 -0
  980. package/lib/features/store/objects/selection/ObjectsActionContext.d.ts +9 -0
  981. package/lib/features/store/objects/selection/ObjectsActionContext.d.ts.map +1 -0
  982. package/lib/features/store/objects/selection/ObjectsActionContext.js +70 -0
  983. package/lib/features/store/objects/selection/ObjectsActionContext.js.map +1 -0
  984. package/lib/features/store/objects/selection/ObjectsActionContextClass.d.ts +16 -0
  985. package/lib/features/store/objects/selection/ObjectsActionContextClass.d.ts.map +1 -0
  986. package/lib/features/store/objects/selection/ObjectsActionContextClass.js +50 -0
  987. package/lib/features/store/objects/selection/ObjectsActionContextClass.js.map +1 -0
  988. package/lib/features/store/objects/selection/ObjectsActionHooks.d.ts +7 -0
  989. package/lib/features/store/objects/selection/ObjectsActionHooks.d.ts.map +1 -0
  990. package/lib/features/store/objects/selection/ObjectsActionHooks.js +27 -0
  991. package/lib/features/store/objects/selection/ObjectsActionHooks.js.map +1 -0
  992. package/lib/features/store/objects/selection/ObjectsActionSpec.d.ts +32 -0
  993. package/lib/features/store/objects/selection/ObjectsActionSpec.d.ts.map +1 -0
  994. package/lib/features/store/objects/selection/ObjectsActionSpec.js.map +1 -0
  995. package/lib/features/store/objects/selection/SelectionActions.d.ts +14 -0
  996. package/lib/features/store/objects/selection/SelectionActions.d.ts.map +1 -0
  997. package/lib/features/store/objects/selection/SelectionActions.js +96 -0
  998. package/lib/features/store/objects/selection/SelectionActions.js.map +1 -0
  999. package/lib/features/store/objects/selection/actions/AddToCollectionAction.d.ts +4 -0
  1000. package/lib/features/store/objects/selection/actions/AddToCollectionAction.d.ts.map +1 -0
  1001. package/lib/features/store/objects/selection/actions/AddToCollectionAction.js +88 -0
  1002. package/lib/features/store/objects/selection/actions/AddToCollectionAction.js.map +1 -0
  1003. package/lib/features/store/objects/selection/actions/ChangeTypeAction.d.ts +4 -0
  1004. package/lib/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +1 -0
  1005. package/lib/features/store/objects/selection/actions/ChangeTypeAction.js +59 -0
  1006. package/lib/features/store/objects/selection/actions/ChangeTypeAction.js.map +1 -0
  1007. package/lib/features/store/objects/selection/actions/ConfirmAction.d.ts +16 -0
  1008. package/lib/features/store/objects/selection/actions/ConfirmAction.d.ts.map +1 -0
  1009. package/lib/features/store/objects/selection/actions/ConfirmAction.js +32 -0
  1010. package/lib/features/store/objects/selection/actions/ConfirmAction.js.map +1 -0
  1011. package/lib/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +5 -0
  1012. package/lib/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +1 -0
  1013. package/lib/features/store/objects/selection/actions/DeleteObjectsAction.js +99 -0
  1014. package/lib/features/store/objects/selection/actions/DeleteObjectsAction.js.map +1 -0
  1015. package/lib/features/store/objects/selection/actions/ExportPropertiesAction.d.ts +4 -0
  1016. package/lib/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +1 -0
  1017. package/lib/features/store/objects/selection/actions/ExportPropertiesAction.js +115 -0
  1018. package/lib/features/store/objects/selection/actions/ExportPropertiesAction.js.map +1 -0
  1019. package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts +4 -0
  1020. package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts.map +1 -0
  1021. package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.js +79 -0
  1022. package/lib/features/store/objects/selection/actions/RemoveFromCollectionAction.js.map +1 -0
  1023. package/lib/features/store/objects/selection/actions/StartWorkflowComponent.d.ts +4 -0
  1024. package/lib/features/store/objects/selection/actions/StartWorkflowComponent.d.ts.map +1 -0
  1025. package/lib/features/store/objects/selection/actions/StartWorkflowComponent.js +77 -0
  1026. package/lib/features/store/objects/selection/actions/StartWorkflowComponent.js.map +1 -0
  1027. package/lib/features/store/objects/selection/actions/index.d.ts +8 -0
  1028. package/lib/features/store/objects/selection/actions/index.d.ts.map +1 -0
  1029. package/lib/features/store/objects/selection/actions/index.js +8 -0
  1030. package/lib/features/store/objects/selection/actions/index.js.map +1 -0
  1031. package/lib/features/store/objects/selection/index.d.ts +5 -0
  1032. package/lib/features/store/objects/selection/index.d.ts.map +1 -0
  1033. package/lib/features/store/objects/selection/index.js +5 -0
  1034. package/lib/features/store/objects/selection/index.js.map +1 -0
  1035. package/lib/features/store/objects/upload/DocumentUploadModal.d.ts +39 -0
  1036. package/lib/features/store/objects/upload/DocumentUploadModal.d.ts.map +1 -0
  1037. package/lib/features/store/objects/upload/DocumentUploadModal.js +525 -0
  1038. package/lib/features/store/objects/upload/DocumentUploadModal.js.map +1 -0
  1039. package/lib/features/store/objects/upload/index.d.ts +4 -0
  1040. package/lib/features/store/objects/upload/index.d.ts.map +1 -0
  1041. package/lib/features/store/objects/upload/index.js +4 -0
  1042. package/lib/features/store/objects/upload/index.js.map +1 -0
  1043. package/lib/features/store/objects/upload/useSmartFileUploadProcessing.d.ts +30 -0
  1044. package/lib/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +1 -0
  1045. package/lib/features/store/objects/upload/useSmartFileUploadProcessing.js +207 -0
  1046. package/lib/features/store/objects/upload/useSmartFileUploadProcessing.js.map +1 -0
  1047. package/lib/features/store/objects/upload/useUploadHandler.d.ts +50 -0
  1048. package/lib/features/store/objects/upload/useUploadHandler.d.ts.map +1 -0
  1049. package/lib/features/store/objects/upload/useUploadHandler.js +232 -0
  1050. package/lib/features/store/objects/upload/useUploadHandler.js.map +1 -0
  1051. package/lib/features/store/types/ContentObjectTypesSearch.d.ts +6 -0
  1052. package/lib/features/store/types/ContentObjectTypesSearch.d.ts.map +1 -0
  1053. package/lib/features/store/types/ContentObjectTypesSearch.js +83 -0
  1054. package/lib/features/store/types/ContentObjectTypesSearch.js.map +1 -0
  1055. package/lib/features/store/types/ContentObjectTypesTable.d.ts +8 -0
  1056. package/lib/features/store/types/ContentObjectTypesTable.d.ts.map +1 -0
  1057. package/lib/features/store/types/ContentObjectTypesTable.js +13 -0
  1058. package/lib/features/store/types/ContentObjectTypesTable.js.map +1 -0
  1059. package/lib/features/store/types/CreateOrUpdateTypeModal.d.ts +16 -0
  1060. package/lib/features/store/types/CreateOrUpdateTypeModal.d.ts.map +1 -0
  1061. package/lib/features/store/types/CreateOrUpdateTypeModal.js +25 -0
  1062. package/lib/features/store/types/CreateOrUpdateTypeModal.js.map +1 -0
  1063. package/lib/features/store/types/ObjectSchemaEditor.d.ts +9 -0
  1064. package/lib/features/store/types/ObjectSchemaEditor.d.ts.map +1 -0
  1065. package/lib/features/store/types/ObjectSchemaEditor.js +106 -0
  1066. package/lib/features/store/types/ObjectSchemaEditor.js.map +1 -0
  1067. package/lib/features/store/types/SelectContentType.d.ts +11 -0
  1068. package/lib/features/store/types/SelectContentType.d.ts.map +1 -0
  1069. package/lib/features/store/types/SelectContentType.js +45 -0
  1070. package/lib/features/store/types/SelectContentType.js.map +1 -0
  1071. package/lib/features/store/types/SelectContentTypeModal.d.ts +33 -0
  1072. package/lib/features/store/types/SelectContentTypeModal.d.ts.map +1 -0
  1073. package/lib/features/store/types/SelectContentTypeModal.js +32 -0
  1074. package/lib/features/store/types/SelectContentTypeModal.js.map +1 -0
  1075. package/lib/features/store/types/TableLayoutEditor.d.ts +10 -0
  1076. package/lib/features/store/types/TableLayoutEditor.d.ts.map +1 -0
  1077. package/lib/features/store/types/TableLayoutEditor.js +82 -0
  1078. package/lib/features/store/types/TableLayoutEditor.js.map +1 -0
  1079. package/lib/features/store/types/TypeRegistry.d.ts +10 -0
  1080. package/lib/features/store/types/TypeRegistry.d.ts.map +1 -0
  1081. package/lib/features/store/types/TypeRegistry.js.map +1 -0
  1082. package/lib/features/store/types/TypeRegistryProvider.d.ts +15 -0
  1083. package/lib/features/store/types/TypeRegistryProvider.d.ts.map +1 -0
  1084. package/lib/features/store/types/TypeRegistryProvider.js +57 -0
  1085. package/lib/features/store/types/TypeRegistryProvider.js.map +1 -0
  1086. package/lib/features/store/types/index.d.ts +11 -0
  1087. package/lib/features/store/types/index.d.ts.map +1 -0
  1088. package/lib/features/store/types/index.js +11 -0
  1089. package/lib/features/store/types/index.js.map +1 -0
  1090. package/lib/features/store/types/search/ObjectTypeSearchContext.d.ts +36 -0
  1091. package/lib/features/store/types/search/ObjectTypeSearchContext.d.ts.map +1 -0
  1092. package/lib/features/store/types/search/ObjectTypeSearchContext.js +102 -0
  1093. package/lib/features/store/types/search/ObjectTypeSearchContext.js.map +1 -0
  1094. package/lib/features/store/types/search/ObjectTypeSearchProvider.d.ts +11 -0
  1095. package/lib/features/store/types/search/ObjectTypeSearchProvider.d.ts.map +1 -0
  1096. package/lib/features/store/types/search/ObjectTypeSearchProvider.js +15 -0
  1097. package/lib/features/store/types/search/ObjectTypeSearchProvider.js.map +1 -0
  1098. package/lib/features/store/types/search/index.d.ts +3 -0
  1099. package/lib/features/store/types/search/index.d.ts.map +1 -0
  1100. package/lib/features/store/types/search/index.js +3 -0
  1101. package/lib/features/store/types/search/index.js.map +1 -0
  1102. package/lib/features/user/UserAvatar.d.ts +9 -0
  1103. package/lib/features/user/UserAvatar.d.ts.map +1 -0
  1104. package/lib/features/user/UserAvatar.js +21 -0
  1105. package/lib/features/user/UserAvatar.js.map +1 -0
  1106. package/lib/features/user/UserInfo.d.ts +60 -0
  1107. package/lib/features/user/UserInfo.d.ts.map +1 -0
  1108. package/lib/features/user/UserInfo.js +229 -0
  1109. package/lib/features/user/UserInfo.js.map +1 -0
  1110. package/lib/features/user/index.d.ts +3 -0
  1111. package/lib/features/user/index.d.ts.map +1 -0
  1112. package/lib/features/user/index.js +3 -0
  1113. package/lib/features/user/index.js.map +1 -0
  1114. package/lib/features/utils/index.d.ts +6 -0
  1115. package/lib/features/utils/index.d.ts.map +1 -0
  1116. package/lib/features/utils/index.js +6 -0
  1117. package/lib/features/utils/index.js.map +1 -0
  1118. package/lib/features/utils/mimeType.d.ts.map +1 -0
  1119. package/lib/features/utils/mimeType.js.map +1 -0
  1120. package/lib/features/utils/print.d.ts.map +1 -0
  1121. package/lib/features/utils/print.js +182 -0
  1122. package/lib/features/utils/print.js.map +1 -0
  1123. package/lib/features/utils/rendition.d.ts +4 -0
  1124. package/lib/features/utils/rendition.d.ts.map +1 -0
  1125. package/lib/features/utils/rendition.js +65 -0
  1126. package/lib/features/utils/rendition.js.map +1 -0
  1127. package/lib/features/utils/text.d.ts.map +1 -0
  1128. package/lib/features/utils/text.js +10 -0
  1129. package/lib/features/utils/text.js.map +1 -0
  1130. package/lib/features/utils/workflowStatus.d.ts +10 -0
  1131. package/lib/features/utils/workflowStatus.d.ts.map +1 -0
  1132. package/lib/features/utils/workflowStatus.js +43 -0
  1133. package/lib/features/utils/workflowStatus.js.map +1 -0
  1134. package/lib/i18n/LanguageProvider.d.ts +16 -0
  1135. package/lib/i18n/LanguageProvider.d.ts.map +1 -0
  1136. package/lib/i18n/LanguageProvider.js +48 -0
  1137. package/lib/i18n/LanguageProvider.js.map +1 -0
  1138. package/lib/i18n/index.d.ts +28 -0
  1139. package/lib/i18n/index.d.ts.map +1 -0
  1140. package/lib/i18n/index.js +46 -0
  1141. package/lib/i18n/index.js.map +1 -0
  1142. package/lib/i18n/instance.d.ts.map +1 -0
  1143. package/lib/i18n/instance.js.map +1 -0
  1144. package/lib/i18n/locales/ar.json +733 -0
  1145. package/lib/i18n/locales/de.json +689 -0
  1146. package/lib/i18n/locales/en.json +704 -0
  1147. package/lib/i18n/locales/es.json +700 -0
  1148. package/lib/i18n/locales/fr.json +700 -0
  1149. package/lib/i18n/locales/it.json +700 -0
  1150. package/lib/i18n/locales/ja.json +689 -0
  1151. package/lib/i18n/locales/ko.json +689 -0
  1152. package/lib/i18n/locales/pt.json +700 -0
  1153. package/lib/i18n/locales/ru.json +711 -0
  1154. package/lib/i18n/locales/tr.json +689 -0
  1155. package/lib/i18n/locales/zh-TW.json +689 -0
  1156. package/lib/i18n/locales/zh.json +689 -0
  1157. package/lib/i18n/rtl.d.ts +27 -0
  1158. package/lib/i18n/rtl.d.ts.map +1 -0
  1159. package/lib/i18n/rtl.js +54 -0
  1160. package/lib/i18n/rtl.js.map +1 -0
  1161. package/lib/i18n/useLocaleFormat.d.ts +29 -0
  1162. package/lib/i18n/useLocaleFormat.d.ts.map +1 -0
  1163. package/lib/i18n/useLocaleFormat.js +79 -0
  1164. package/lib/i18n/useLocaleFormat.js.map +1 -0
  1165. package/lib/layout/AppLayout.d.ts +13 -0
  1166. package/lib/layout/AppLayout.d.ts.map +1 -0
  1167. package/lib/layout/AppLayout.js +47 -0
  1168. package/lib/layout/AppLayout.js.map +1 -0
  1169. package/lib/layout/ErrorPage.d.ts +9 -0
  1170. package/lib/layout/ErrorPage.d.ts.map +1 -0
  1171. package/lib/layout/ErrorPage.js +6 -0
  1172. package/lib/layout/ErrorPage.js.map +1 -0
  1173. package/lib/layout/FullHeightLayout.d.ts +27 -0
  1174. package/lib/layout/FullHeightLayout.d.ts.map +1 -0
  1175. package/lib/layout/FullHeightLayout.js +24 -0
  1176. package/lib/layout/FullHeightLayout.js.map +1 -0
  1177. package/lib/layout/Navbar.d.ts +33 -0
  1178. package/lib/layout/Navbar.d.ts.map +1 -0
  1179. package/lib/layout/Navbar.js +42 -0
  1180. package/lib/layout/Navbar.js.map +1 -0
  1181. package/lib/layout/RegionTag.d.ts +4 -0
  1182. package/lib/layout/RegionTag.d.ts.map +1 -0
  1183. package/lib/layout/RegionTag.js.map +1 -0
  1184. package/lib/layout/Sidebar.d.ts +35 -0
  1185. package/lib/layout/Sidebar.d.ts.map +1 -0
  1186. package/lib/layout/Sidebar.js +47 -0
  1187. package/lib/layout/Sidebar.js.map +1 -0
  1188. package/lib/layout/SidebarContext.d.ts.map +1 -0
  1189. package/lib/layout/SidebarContext.js +10 -0
  1190. package/lib/layout/SidebarContext.js.map +1 -0
  1191. package/lib/layout/TitleBar.d.ts +6 -0
  1192. package/lib/layout/TitleBar.d.ts.map +1 -0
  1193. package/lib/layout/TitleBar.js +5 -0
  1194. package/lib/layout/TitleBar.js.map +1 -0
  1195. package/lib/layout/index.d.ts +9 -0
  1196. package/lib/layout/index.d.ts.map +1 -0
  1197. package/lib/layout/index.js +9 -0
  1198. package/lib/layout/index.js.map +1 -0
  1199. package/lib/router/FixLinks.d.ts +7 -0
  1200. package/lib/router/FixLinks.d.ts.map +1 -0
  1201. package/lib/router/FixLinks.js +23 -0
  1202. package/lib/router/FixLinks.js.map +1 -0
  1203. package/lib/router/HistoryNavigator.d.ts +68 -0
  1204. package/lib/router/HistoryNavigator.d.ts.map +1 -0
  1205. package/lib/router/HistoryNavigator.js +220 -0
  1206. package/lib/router/HistoryNavigator.js.map +1 -0
  1207. package/lib/router/Nav.d.ts +43 -0
  1208. package/lib/router/Nav.d.ts.map +1 -0
  1209. package/lib/router/Nav.js +37 -0
  1210. package/lib/router/Nav.js.map +1 -0
  1211. package/lib/router/NestedNavigationContext.d.ts +9 -0
  1212. package/lib/router/NestedNavigationContext.d.ts.map +1 -0
  1213. package/lib/router/NestedNavigationContext.js +23 -0
  1214. package/lib/router/NestedNavigationContext.js.map +1 -0
  1215. package/lib/router/NestedRouterProvider.d.ts +14 -0
  1216. package/lib/router/NestedRouterProvider.d.ts.map +1 -0
  1217. package/lib/router/NestedRouterProvider.js +52 -0
  1218. package/lib/router/NestedRouterProvider.js.map +1 -0
  1219. package/lib/router/PathMatcher.d.ts +36 -0
  1220. package/lib/router/PathMatcher.d.ts.map +1 -0
  1221. package/lib/router/PathMatcher.js +158 -0
  1222. package/lib/router/PathMatcher.js.map +1 -0
  1223. package/lib/router/PathWithParams.d.ts.map +1 -0
  1224. package/lib/router/PathWithParams.js +34 -0
  1225. package/lib/router/PathWithParams.js.map +1 -0
  1226. package/lib/router/Route404.d.ts +4 -0
  1227. package/lib/router/Route404.d.ts.map +1 -0
  1228. package/lib/router/Route404.js +18 -0
  1229. package/lib/router/Route404.js.map +1 -0
  1230. package/lib/router/RouteComponent.d.ts +6 -0
  1231. package/lib/router/RouteComponent.d.ts.map +1 -0
  1232. package/lib/router/RouteComponent.js +32 -0
  1233. package/lib/router/RouteComponent.js.map +1 -0
  1234. package/lib/router/Router.d.ts +81 -0
  1235. package/lib/router/Router.d.ts.map +1 -0
  1236. package/lib/router/Router.js +183 -0
  1237. package/lib/router/Router.js.map +1 -0
  1238. package/lib/router/RouterProvider.d.ts +15 -0
  1239. package/lib/router/RouterProvider.d.ts.map +1 -0
  1240. package/lib/router/RouterProvider.js +40 -0
  1241. package/lib/router/RouterProvider.js.map +1 -0
  1242. package/lib/router/index.d.ts +11 -0
  1243. package/lib/router/index.d.ts.map +1 -0
  1244. package/lib/router/index.js +11 -0
  1245. package/lib/router/index.js.map +1 -0
  1246. package/lib/router/path.d.ts.map +1 -0
  1247. package/lib/router/path.js +140 -0
  1248. package/lib/router/path.js.map +1 -0
  1249. package/lib/session/UserSession.d.ts +46 -0
  1250. package/lib/session/UserSession.d.ts.map +1 -0
  1251. package/lib/session/UserSession.js +248 -0
  1252. package/lib/session/UserSession.js.map +1 -0
  1253. package/lib/session/UserSessionProvider.d.ts +8 -0
  1254. package/lib/session/UserSessionProvider.d.ts.map +1 -0
  1255. package/lib/session/UserSessionProvider.js +252 -0
  1256. package/lib/session/UserSessionProvider.js.map +1 -0
  1257. package/lib/session/auth/composable.d.ts +38 -0
  1258. package/lib/session/auth/composable.d.ts.map +1 -0
  1259. package/lib/session/auth/composable.js +325 -0
  1260. package/lib/session/auth/composable.js.map +1 -0
  1261. package/lib/session/auth/domainRouting.d.ts.map +1 -0
  1262. package/lib/session/auth/domainRouting.js.map +1 -0
  1263. package/lib/session/auth/firebase.d.ts +10 -0
  1264. package/lib/session/auth/firebase.d.ts.map +1 -0
  1265. package/lib/session/auth/firebase.js +160 -0
  1266. package/lib/session/auth/firebase.js.map +1 -0
  1267. package/lib/session/auth/useAuthState.d.ts.map +1 -0
  1268. package/lib/session/auth/useAuthState.js +46 -0
  1269. package/lib/session/auth/useAuthState.js.map +1 -0
  1270. package/lib/session/auth/useCurrentTenant.d.ts.map +1 -0
  1271. package/lib/session/auth/useCurrentTenant.js +64 -0
  1272. package/lib/session/auth/useCurrentTenant.js.map +1 -0
  1273. package/lib/session/constants.d.ts.map +1 -0
  1274. package/lib/session/constants.js.map +1 -0
  1275. package/lib/session/index.d.ts +8 -0
  1276. package/lib/session/index.d.ts.map +1 -0
  1277. package/lib/session/index.js +8 -0
  1278. package/lib/session/index.js.map +1 -0
  1279. package/lib/session/useUXTracking.d.ts +6 -0
  1280. package/lib/session/useUXTracking.d.ts.map +1 -0
  1281. package/lib/session/useUXTracking.js +29 -0
  1282. package/lib/session/useUXTracking.js.map +1 -0
  1283. package/lib/shell/SplashScreen.d.ts +7 -0
  1284. package/lib/shell/SplashScreen.d.ts.map +1 -0
  1285. package/lib/shell/SplashScreen.js +28 -0
  1286. package/lib/shell/SplashScreen.js.map +1 -0
  1287. package/lib/shell/VertesiaShell.d.ts +16 -0
  1288. package/lib/shell/VertesiaShell.d.ts.map +1 -0
  1289. package/lib/shell/VertesiaShell.js +11 -0
  1290. package/lib/shell/VertesiaShell.js.map +1 -0
  1291. package/lib/shell/apps/AppInstallationProvider.d.ts +12 -0
  1292. package/lib/shell/apps/AppInstallationProvider.d.ts.map +1 -0
  1293. package/lib/shell/apps/AppInstallationProvider.js +13 -0
  1294. package/lib/shell/apps/AppInstallationProvider.js.map +1 -0
  1295. package/lib/shell/apps/AppProjectSelector.d.ts +12 -0
  1296. package/lib/shell/apps/AppProjectSelector.d.ts.map +1 -0
  1297. package/lib/shell/apps/AppProjectSelector.js +36 -0
  1298. package/lib/shell/apps/AppProjectSelector.js.map +1 -0
  1299. package/lib/shell/apps/StandaloneApp.d.ts +23 -0
  1300. package/lib/shell/apps/StandaloneApp.d.ts.map +1 -0
  1301. package/lib/shell/apps/StandaloneApp.js +90 -0
  1302. package/lib/shell/apps/StandaloneApp.js.map +1 -0
  1303. package/lib/shell/apps/index.d.ts +4 -0
  1304. package/lib/shell/apps/index.d.ts.map +1 -0
  1305. package/lib/shell/apps/index.js +4 -0
  1306. package/lib/shell/apps/index.js.map +1 -0
  1307. package/lib/shell/index.d.ts +8 -0
  1308. package/lib/shell/index.d.ts.map +1 -0
  1309. package/lib/shell/index.js +8 -0
  1310. package/lib/shell/index.js.map +1 -0
  1311. package/lib/shell/login/InviteAcceptModal.d.ts +2 -0
  1312. package/lib/shell/login/InviteAcceptModal.d.ts.map +1 -0
  1313. package/lib/shell/login/InviteAcceptModal.js +69 -0
  1314. package/lib/shell/login/InviteAcceptModal.js.map +1 -0
  1315. package/lib/shell/login/PreviewIcon.d.ts +6 -0
  1316. package/lib/shell/login/PreviewIcon.d.ts.map +1 -0
  1317. package/lib/shell/login/PreviewIcon.js +23 -0
  1318. package/lib/shell/login/PreviewIcon.js.map +1 -0
  1319. package/lib/shell/login/SignInAuthPending.d.ts +8 -0
  1320. package/lib/shell/login/SignInAuthPending.d.ts.map +1 -0
  1321. package/lib/shell/login/SignInAuthPending.js +14 -0
  1322. package/lib/shell/login/SignInAuthPending.js.map +1 -0
  1323. package/lib/shell/login/SignInEmailStep.d.ts +9 -0
  1324. package/lib/shell/login/SignInEmailStep.d.ts.map +1 -0
  1325. package/lib/shell/login/SignInEmailStep.js +46 -0
  1326. package/lib/shell/login/SignInEmailStep.js.map +1 -0
  1327. package/lib/shell/login/SignInIcons.d.ts +14 -0
  1328. package/lib/shell/login/SignInIcons.d.ts.map +1 -0
  1329. package/lib/shell/login/SignInIcons.js +26 -0
  1330. package/lib/shell/login/SignInIcons.js.map +1 -0
  1331. package/lib/shell/login/SignInModal.d.ts +7 -0
  1332. package/lib/shell/login/SignInModal.d.ts.map +1 -0
  1333. package/lib/shell/login/SignInModal.js +7 -0
  1334. package/lib/shell/login/SignInModal.js.map +1 -0
  1335. package/lib/shell/login/SignInPrimitives.d.ts +140 -0
  1336. package/lib/shell/login/SignInPrimitives.d.ts.map +1 -0
  1337. package/lib/shell/login/SignInPrimitives.js +119 -0
  1338. package/lib/shell/login/SignInPrimitives.js.map +1 -0
  1339. package/lib/shell/login/SignInProvidersStep.d.ts +10 -0
  1340. package/lib/shell/login/SignInProvidersStep.d.ts.map +1 -0
  1341. package/lib/shell/login/SignInProvidersStep.js +14 -0
  1342. package/lib/shell/login/SignInProvidersStep.js.map +1 -0
  1343. package/lib/shell/login/SignInReturningStep.d.ts +10 -0
  1344. package/lib/shell/login/SignInReturningStep.d.ts.map +1 -0
  1345. package/lib/shell/login/SignInReturningStep.js +21 -0
  1346. package/lib/shell/login/SignInReturningStep.js.map +1 -0
  1347. package/lib/shell/login/SignInTenantBlockedStep.d.ts +9 -0
  1348. package/lib/shell/login/SignInTenantBlockedStep.d.ts.map +1 -0
  1349. package/lib/shell/login/SignInTenantBlockedStep.js +17 -0
  1350. package/lib/shell/login/SignInTenantBlockedStep.js.map +1 -0
  1351. package/lib/shell/login/SignInTenantStep.d.ts +11 -0
  1352. package/lib/shell/login/SignInTenantStep.d.ts.map +1 -0
  1353. package/lib/shell/login/SignInTenantStep.js +24 -0
  1354. package/lib/shell/login/SignInTenantStep.js.map +1 -0
  1355. package/lib/shell/login/SignInWithProviderButton.d.ts +13 -0
  1356. package/lib/shell/login/SignInWithProviderButton.d.ts.map +1 -0
  1357. package/lib/shell/login/SignInWithProviderButton.js +23 -0
  1358. package/lib/shell/login/SignInWithProviderButton.js.map +1 -0
  1359. package/lib/shell/login/SigninScreen.d.ts +11 -0
  1360. package/lib/shell/login/SigninScreen.d.ts.map +1 -0
  1361. package/lib/shell/login/SigninScreen.js +155 -0
  1362. package/lib/shell/login/SigninScreen.js.map +1 -0
  1363. package/lib/shell/login/SignupForm.d.ts +8 -0
  1364. package/lib/shell/login/SignupForm.d.ts.map +1 -0
  1365. package/lib/shell/login/SignupForm.js +91 -0
  1366. package/lib/shell/login/SignupForm.js.map +1 -0
  1367. package/lib/shell/login/TerminalLogin.d.ts +2 -0
  1368. package/lib/shell/login/TerminalLogin.d.ts.map +1 -0
  1369. package/lib/shell/login/TerminalLogin.js +216 -0
  1370. package/lib/shell/login/TerminalLogin.js.map +1 -0
  1371. package/lib/shell/login/UserInfo.d.ts +6 -0
  1372. package/lib/shell/login/UserInfo.d.ts.map +1 -0
  1373. package/lib/shell/login/UserInfo.js +44 -0
  1374. package/lib/shell/login/UserInfo.js.map +1 -0
  1375. package/lib/shell/login/UserSessionMenu.d.ts +9 -0
  1376. package/lib/shell/login/UserSessionMenu.d.ts.map +1 -0
  1377. package/lib/shell/login/UserSessionMenu.js +36 -0
  1378. package/lib/shell/login/UserSessionMenu.js.map +1 -0
  1379. package/lib/shell/login/signInUtils.d.ts +45 -0
  1380. package/lib/shell/login/signInUtils.d.ts.map +1 -0
  1381. package/lib/shell/login/signInUtils.js +205 -0
  1382. package/lib/shell/login/signInUtils.js.map +1 -0
  1383. package/lib/shell/utils.d.ts.map +1 -0
  1384. package/lib/shell/utils.js +8 -0
  1385. package/lib/shell/utils.js.map +1 -0
  1386. package/lib/vertesia-ui-core.js +1 -1
  1387. package/lib/vertesia-ui-core.js.map +1 -1
  1388. package/lib/vertesia-ui-env.js +1 -1
  1389. package/lib/vertesia-ui-env.js.map +1 -1
  1390. package/lib/vertesia-ui-features.js +1 -1
  1391. package/lib/vertesia-ui-features.js.map +1 -1
  1392. package/lib/vertesia-ui-i18n.js +1 -1
  1393. package/lib/vertesia-ui-i18n.js.map +1 -1
  1394. package/lib/vertesia-ui-layout.js +1 -1
  1395. package/lib/vertesia-ui-layout.js.map +1 -1
  1396. package/lib/vertesia-ui-router.js +1 -1
  1397. package/lib/vertesia-ui-router.js.map +1 -1
  1398. package/lib/vertesia-ui-session.js +1 -1
  1399. package/lib/vertesia-ui-session.js.map +1 -1
  1400. package/lib/vertesia-ui-shell.js +1 -1
  1401. package/lib/vertesia-ui-shell.js.map +1 -1
  1402. package/lib/vertesia-ui-widgets.js +1 -1
  1403. package/lib/vertesia-ui-widgets.js.map +1 -1
  1404. package/lib/widgets/Progress.d.ts +6 -0
  1405. package/lib/widgets/Progress.d.ts.map +1 -0
  1406. package/lib/widgets/Progress.js.map +1 -0
  1407. package/lib/widgets/SvgIcon.d.ts +7 -0
  1408. package/lib/widgets/SvgIcon.d.ts.map +1 -0
  1409. package/lib/widgets/SvgIcon.js +36 -0
  1410. package/lib/widgets/SvgIcon.js.map +1 -0
  1411. package/lib/widgets/form/Form.d.ts +22 -0
  1412. package/lib/widgets/form/Form.d.ts.map +1 -0
  1413. package/lib/widgets/form/Form.js +105 -0
  1414. package/lib/widgets/form/Form.js.map +1 -0
  1415. package/lib/widgets/form/FormContext.d.ts +21 -0
  1416. package/lib/widgets/form/FormContext.d.ts.map +1 -0
  1417. package/lib/widgets/form/FormContext.js +31 -0
  1418. package/lib/widgets/form/FormContext.js.map +1 -0
  1419. package/lib/widgets/form/ManagedObject.d.ts +81 -0
  1420. package/lib/widgets/form/ManagedObject.d.ts.map +1 -0
  1421. package/lib/widgets/form/ManagedObject.js +284 -0
  1422. package/lib/widgets/form/ManagedObject.js.map +1 -0
  1423. package/lib/widgets/form/fields.d.ts +16 -0
  1424. package/lib/widgets/form/fields.d.ts.map +1 -0
  1425. package/lib/widgets/form/fields.js +12 -0
  1426. package/lib/widgets/form/fields.js.map +1 -0
  1427. package/lib/widgets/form/index.d.ts +7 -0
  1428. package/lib/widgets/form/index.d.ts.map +1 -0
  1429. package/lib/widgets/form/index.js +7 -0
  1430. package/lib/widgets/form/index.js.map +1 -0
  1431. package/lib/widgets/form/inputs.d.ts +8 -0
  1432. package/lib/widgets/form/inputs.d.ts.map +1 -0
  1433. package/lib/widgets/form/inputs.js +38 -0
  1434. package/lib/widgets/form/inputs.js.map +1 -0
  1435. package/lib/widgets/form/schema.d.ts +47 -0
  1436. package/lib/widgets/form/schema.d.ts.map +1 -0
  1437. package/lib/widgets/form/schema.js +204 -0
  1438. package/lib/widgets/form/schema.js.map +1 -0
  1439. package/lib/widgets/index.d.ts +11 -0
  1440. package/lib/widgets/index.d.ts.map +1 -0
  1441. package/lib/widgets/index.js +11 -0
  1442. package/lib/widgets/index.js.map +1 -0
  1443. package/lib/widgets/json-view/JSONCode.d.ts +7 -0
  1444. package/lib/widgets/json-view/JSONCode.d.ts.map +1 -0
  1445. package/lib/widgets/json-view/JSONCode.js +53 -0
  1446. package/lib/widgets/json-view/JSONCode.js.map +1 -0
  1447. package/lib/widgets/json-view/JSONDisplay.d.ts +7 -0
  1448. package/lib/widgets/json-view/JSONDisplay.d.ts.map +1 -0
  1449. package/lib/widgets/json-view/JSONDisplay.js +27 -0
  1450. package/lib/widgets/json-view/JSONDisplay.js.map +1 -0
  1451. package/lib/widgets/json-view/JSONEditor.d.ts +28 -0
  1452. package/lib/widgets/json-view/JSONEditor.d.ts.map +1 -0
  1453. package/lib/widgets/json-view/JSONEditor.js +53 -0
  1454. package/lib/widgets/json-view/JSONEditor.js.map +1 -0
  1455. package/lib/widgets/json-view/JSONSwitcher.d.ts +6 -0
  1456. package/lib/widgets/json-view/JSONSwitcher.d.ts.map +1 -0
  1457. package/lib/widgets/json-view/JSONSwitcher.js +6 -0
  1458. package/lib/widgets/json-view/JSONSwitcher.js.map +1 -0
  1459. package/lib/widgets/json-view/JSONTable.d.ts +8 -0
  1460. package/lib/widgets/json-view/JSONTable.d.ts.map +1 -0
  1461. package/lib/widgets/json-view/JSONTable.js +36 -0
  1462. package/lib/widgets/json-view/JSONTable.js.map +1 -0
  1463. package/lib/widgets/json-view/JSONView.d.ts +7 -0
  1464. package/lib/widgets/json-view/JSONView.d.ts.map +1 -0
  1465. package/lib/widgets/json-view/JSONView.js +117 -0
  1466. package/lib/widgets/json-view/JSONView.js.map +1 -0
  1467. package/lib/widgets/json-view/index.d.ts +8 -0
  1468. package/lib/widgets/json-view/index.d.ts.map +1 -0
  1469. package/lib/widgets/json-view/index.js +7 -0
  1470. package/lib/widgets/json-view/index.js.map +1 -0
  1471. package/lib/widgets/json-view/types.d.ts.map +1 -0
  1472. package/lib/widgets/json-view/types.js.map +1 -0
  1473. package/lib/widgets/markdown/ArtifactContentRenderer.d.ts.map +1 -0
  1474. package/lib/widgets/markdown/ArtifactContentRenderer.js +230 -0
  1475. package/lib/widgets/markdown/ArtifactContentRenderer.js.map +1 -0
  1476. package/lib/widgets/markdown/CodeBlockContext.d.ts +21 -0
  1477. package/lib/widgets/markdown/CodeBlockContext.d.ts.map +1 -0
  1478. package/lib/widgets/markdown/CodeBlockContext.js.map +1 -0
  1479. package/lib/widgets/markdown/CodeBlockPlaceholder.d.ts +42 -0
  1480. package/lib/widgets/markdown/CodeBlockPlaceholder.d.ts.map +1 -0
  1481. package/lib/widgets/markdown/CodeBlockPlaceholder.js +57 -0
  1482. package/lib/widgets/markdown/CodeBlockPlaceholder.js.map +1 -0
  1483. package/lib/widgets/markdown/CodeBlockRendering.d.ts +23 -0
  1484. package/lib/widgets/markdown/CodeBlockRendering.d.ts.map +1 -0
  1485. package/lib/widgets/markdown/CodeBlockRendering.js +38 -0
  1486. package/lib/widgets/markdown/CodeBlockRendering.js.map +1 -0
  1487. package/lib/widgets/markdown/MarkdownFigure.d.ts +15 -0
  1488. package/lib/widgets/markdown/MarkdownFigure.d.ts.map +1 -0
  1489. package/lib/widgets/markdown/MarkdownFigure.js +40 -0
  1490. package/lib/widgets/markdown/MarkdownFigure.js.map +1 -0
  1491. package/lib/widgets/markdown/MarkdownImage.d.ts +16 -0
  1492. package/lib/widgets/markdown/MarkdownImage.d.ts.map +1 -0
  1493. package/lib/widgets/markdown/MarkdownImage.js +41 -0
  1494. package/lib/widgets/markdown/MarkdownImage.js.map +1 -0
  1495. package/lib/widgets/markdown/MarkdownLink.d.ts +17 -0
  1496. package/lib/widgets/markdown/MarkdownLink.d.ts.map +1 -0
  1497. package/lib/widgets/markdown/MarkdownLink.js +46 -0
  1498. package/lib/widgets/markdown/MarkdownLink.js.map +1 -0
  1499. package/lib/widgets/markdown/MarkdownRenderer.d.ts +30 -0
  1500. package/lib/widgets/markdown/MarkdownRenderer.d.ts.map +1 -0
  1501. package/lib/widgets/markdown/MarkdownRenderer.js +162 -0
  1502. package/lib/widgets/markdown/MarkdownRenderer.js.map +1 -0
  1503. package/lib/widgets/markdown/MermaidDiagram.d.ts +28 -0
  1504. package/lib/widgets/markdown/MermaidDiagram.d.ts.map +1 -0
  1505. package/lib/widgets/markdown/MermaidDiagram.js +150 -0
  1506. package/lib/widgets/markdown/MermaidDiagram.js.map +1 -0
  1507. package/lib/widgets/markdown/codeBlockHandlers.d.ts +58 -0
  1508. package/lib/widgets/markdown/codeBlockHandlers.d.ts.map +1 -0
  1509. package/lib/widgets/markdown/codeBlockHandlers.js +285 -0
  1510. package/lib/widgets/markdown/codeBlockHandlers.js.map +1 -0
  1511. package/lib/widgets/markdown/index.d.ts +13 -0
  1512. package/lib/widgets/markdown/index.d.ts.map +1 -0
  1513. package/lib/widgets/markdown/index.js +13 -0
  1514. package/lib/widgets/markdown/index.js.map +1 -0
  1515. package/lib/widgets/markdown/normalizeCustomSchemeLinks.d.ts.map +1 -0
  1516. package/lib/widgets/markdown/normalizeCustomSchemeLinks.js +70 -0
  1517. package/lib/widgets/markdown/normalizeCustomSchemeLinks.js.map +1 -0
  1518. package/lib/widgets/markdown/normalizeDirectives.d.ts.map +1 -0
  1519. package/lib/widgets/markdown/normalizeDirectives.js +58 -0
  1520. package/lib/widgets/markdown/normalizeDirectives.js.map +1 -0
  1521. package/lib/widgets/markdown/preprocessMathDelimiters.d.ts.map +1 -0
  1522. package/lib/widgets/markdown/preprocessMathDelimiters.js +222 -0
  1523. package/lib/widgets/markdown/preprocessMathDelimiters.js.map +1 -0
  1524. package/lib/widgets/markdown/remarkDirectiveHandler.d.ts +15 -0
  1525. package/lib/widgets/markdown/remarkDirectiveHandler.d.ts.map +1 -0
  1526. package/lib/widgets/markdown/remarkDirectiveHandler.js +96 -0
  1527. package/lib/widgets/markdown/remarkDirectiveHandler.js.map +1 -0
  1528. package/lib/widgets/markdown/useArtifactContent.d.ts.map +1 -0
  1529. package/lib/widgets/markdown/useArtifactContent.js +173 -0
  1530. package/lib/widgets/markdown/useArtifactContent.js.map +1 -0
  1531. package/lib/widgets/markdown/useResolvedUrl.d.ts.map +1 -0
  1532. package/lib/widgets/markdown/useResolvedUrl.js +181 -0
  1533. package/lib/widgets/markdown/useResolvedUrl.js.map +1 -0
  1534. package/lib/widgets/monacoEditor/MonacoEditor.d.ts +41 -0
  1535. package/lib/widgets/monacoEditor/MonacoEditor.d.ts.map +1 -0
  1536. package/lib/widgets/monacoEditor/MonacoEditor.js +168 -0
  1537. package/lib/widgets/monacoEditor/MonacoEditor.js.map +1 -0
  1538. package/lib/widgets/monacoEditor/foldingProviders.d.ts.map +1 -0
  1539. package/lib/widgets/monacoEditor/foldingProviders.js +138 -0
  1540. package/lib/widgets/monacoEditor/foldingProviders.js.map +1 -0
  1541. package/lib/widgets/monacoEditor/index.d.ts +3 -0
  1542. package/lib/widgets/monacoEditor/index.d.ts.map +1 -0
  1543. package/lib/widgets/monacoEditor/index.js +2 -0
  1544. package/lib/widgets/monacoEditor/index.js.map +1 -0
  1545. package/lib/widgets/properties/PropertiesView.d.ts +11 -0
  1546. package/lib/widgets/properties/PropertiesView.d.ts.map +1 -0
  1547. package/lib/widgets/properties/PropertiesView.js +7 -0
  1548. package/lib/widgets/properties/PropertiesView.js.map +1 -0
  1549. package/lib/widgets/properties/index.d.ts +2 -0
  1550. package/lib/widgets/properties/index.d.ts.map +1 -0
  1551. package/lib/widgets/properties/index.js +2 -0
  1552. package/lib/widgets/properties/index.js.map +1 -0
  1553. package/lib/widgets/schema-editor/ManagedSchema.d.ts +75 -0
  1554. package/lib/widgets/schema-editor/ManagedSchema.d.ts.map +1 -0
  1555. package/lib/widgets/schema-editor/ManagedSchema.js +303 -0
  1556. package/lib/widgets/schema-editor/ManagedSchema.js.map +1 -0
  1557. package/lib/widgets/schema-editor/editor/Editable.d.ts +40 -0
  1558. package/lib/widgets/schema-editor/editor/Editable.d.ts.map +1 -0
  1559. package/lib/widgets/schema-editor/editor/Editable.js +109 -0
  1560. package/lib/widgets/schema-editor/editor/Editable.js.map +1 -0
  1561. package/lib/widgets/schema-editor/editor/EditableSchemaProperty.d.ts +8 -0
  1562. package/lib/widgets/schema-editor/editor/EditableSchemaProperty.d.ts.map +1 -0
  1563. package/lib/widgets/schema-editor/editor/EditableSchemaProperty.js +8 -0
  1564. package/lib/widgets/schema-editor/editor/EditableSchemaProperty.js.map +1 -0
  1565. package/lib/widgets/schema-editor/editor/PropertyEditor.d.ts +6 -0
  1566. package/lib/widgets/schema-editor/editor/PropertyEditor.d.ts.map +1 -0
  1567. package/lib/widgets/schema-editor/editor/PropertyEditor.js +85 -0
  1568. package/lib/widgets/schema-editor/editor/PropertyEditor.js.map +1 -0
  1569. package/lib/widgets/schema-editor/editor/PropertyViewer.d.ts +4 -0
  1570. package/lib/widgets/schema-editor/editor/PropertyViewer.d.ts.map +1 -0
  1571. package/lib/widgets/schema-editor/editor/PropertyViewer.js +7 -0
  1572. package/lib/widgets/schema-editor/editor/PropertyViewer.js.map +1 -0
  1573. package/lib/widgets/schema-editor/editor/SchemaContext.d.ts +4 -0
  1574. package/lib/widgets/schema-editor/editor/SchemaContext.d.ts.map +1 -0
  1575. package/lib/widgets/schema-editor/editor/SchemaContext.js +9 -0
  1576. package/lib/widgets/schema-editor/editor/SchemaContext.js.map +1 -0
  1577. package/lib/widgets/schema-editor/editor/SchemaEditor.d.ts +9 -0
  1578. package/lib/widgets/schema-editor/editor/SchemaEditor.d.ts.map +1 -0
  1579. package/lib/widgets/schema-editor/editor/SchemaEditor.js +81 -0
  1580. package/lib/widgets/schema-editor/editor/SchemaEditor.js.map +1 -0
  1581. package/lib/widgets/schema-editor/index.d.ts +7 -0
  1582. package/lib/widgets/schema-editor/index.d.ts.map +1 -0
  1583. package/lib/widgets/schema-editor/index.js +7 -0
  1584. package/lib/widgets/schema-editor/index.js.map +1 -0
  1585. package/lib/widgets/schema-editor/json-schema4-utils.d.ts +16 -0
  1586. package/lib/widgets/schema-editor/json-schema4-utils.d.ts.map +1 -0
  1587. package/lib/widgets/schema-editor/json-schema4-utils.js +188 -0
  1588. package/lib/widgets/schema-editor/json-schema4-utils.js.map +1 -0
  1589. package/lib/widgets/schema-editor/type-signature.d.ts.map +1 -0
  1590. package/lib/widgets/schema-editor/type-signature.js.map +1 -0
  1591. package/lib/widgets/upload/DropZone.d.ts +41 -0
  1592. package/lib/widgets/upload/DropZone.d.ts.map +1 -0
  1593. package/lib/widgets/upload/DropZone.js +181 -0
  1594. package/lib/widgets/upload/DropZone.js.map +1 -0
  1595. package/lib/widgets/upload/UploadResultCategory.d.ts +26 -0
  1596. package/lib/widgets/upload/UploadResultCategory.d.ts.map +1 -0
  1597. package/lib/widgets/upload/UploadResultCategory.js +22 -0
  1598. package/lib/widgets/upload/UploadResultCategory.js.map +1 -0
  1599. package/lib/widgets/upload/UploadSummary.d.ts +38 -0
  1600. package/lib/widgets/upload/UploadSummary.d.ts.map +1 -0
  1601. package/lib/widgets/upload/UploadSummary.js +32 -0
  1602. package/lib/widgets/upload/UploadSummary.js.map +1 -0
  1603. package/lib/widgets/upload/index.d.ts.map +1 -0
  1604. package/lib/widgets/upload/index.js.map +1 -0
  1605. package/lib/widgets/xml-viewer/components/Attributes/index.d.ts +6 -0
  1606. package/lib/widgets/xml-viewer/components/Attributes/index.d.ts.map +1 -0
  1607. package/lib/widgets/xml-viewer/components/Attributes/index.js.map +1 -0
  1608. package/lib/widgets/xml-viewer/components/CDataTag/index.d.ts +8 -0
  1609. package/lib/widgets/xml-viewer/components/CDataTag/index.d.ts.map +1 -0
  1610. package/lib/widgets/xml-viewer/components/CDataTag/index.js.map +1 -0
  1611. package/lib/widgets/xml-viewer/components/CollapseIcon/index.d.ts.map +1 -0
  1612. package/lib/widgets/xml-viewer/components/CollapseIcon/index.js +11 -0
  1613. package/lib/widgets/xml-viewer/components/CollapseIcon/index.js.map +1 -0
  1614. package/lib/widgets/xml-viewer/components/CommentTag/index.d.ts +9 -0
  1615. package/lib/widgets/xml-viewer/components/CommentTag/index.d.ts.map +1 -0
  1616. package/lib/widgets/xml-viewer/components/CommentTag/index.js.map +1 -0
  1617. package/lib/widgets/xml-viewer/components/DeclarationTag/index.d.ts +8 -0
  1618. package/lib/widgets/xml-viewer/components/DeclarationTag/index.d.ts.map +1 -0
  1619. package/lib/widgets/xml-viewer/components/DeclarationTag/index.js.map +1 -0
  1620. package/lib/widgets/xml-viewer/components/Elements/index.d.ts +8 -0
  1621. package/lib/widgets/xml-viewer/components/Elements/index.d.ts.map +1 -0
  1622. package/lib/widgets/xml-viewer/components/Elements/index.js.map +1 -0
  1623. package/lib/widgets/xml-viewer/components/InvalidXml/index.d.ts +2 -0
  1624. package/lib/widgets/xml-viewer/components/InvalidXml/index.d.ts.map +1 -0
  1625. package/lib/widgets/xml-viewer/components/InvalidXml/index.js.map +1 -0
  1626. package/lib/widgets/xml-viewer/components/Tag/index.d.ts +13 -0
  1627. package/lib/widgets/xml-viewer/components/Tag/index.d.ts.map +1 -0
  1628. package/lib/widgets/xml-viewer/components/Tag/index.js.map +1 -0
  1629. package/lib/widgets/xml-viewer/components/TextElement/index.d.ts +8 -0
  1630. package/lib/widgets/xml-viewer/components/TextElement/index.d.ts.map +1 -0
  1631. package/lib/widgets/xml-viewer/components/TextElement/index.js.map +1 -0
  1632. package/lib/widgets/xml-viewer/components/XMLViewer.d.ts +3 -0
  1633. package/lib/widgets/xml-viewer/components/XMLViewer.d.ts.map +1 -0
  1634. package/lib/widgets/xml-viewer/components/XMLViewer.js.map +1 -0
  1635. package/lib/widgets/xml-viewer/components/types.d.ts.map +1 -0
  1636. package/lib/widgets/xml-viewer/components/types.js.map +1 -0
  1637. package/lib/widgets/xml-viewer/constants/index.d.ts.map +1 -0
  1638. package/lib/widgets/xml-viewer/constants/index.js.map +1 -0
  1639. package/lib/widgets/xml-viewer/context/xml-viewer-context.d.ts +4 -0
  1640. package/lib/widgets/xml-viewer/context/xml-viewer-context.d.ts.map +1 -0
  1641. package/lib/widgets/xml-viewer/context/xml-viewer-context.js.map +1 -0
  1642. package/lib/widgets/xml-viewer/helpers/index.d.ts +13 -0
  1643. package/lib/widgets/xml-viewer/helpers/index.d.ts.map +1 -0
  1644. package/lib/widgets/xml-viewer/helpers/index.js +38 -0
  1645. package/lib/widgets/xml-viewer/helpers/index.js.map +1 -0
  1646. package/lib/widgets/xml-viewer/hooks/useCollapsible.d.ts.map +1 -0
  1647. package/lib/widgets/xml-viewer/hooks/useCollapsible.js.map +1 -0
  1648. package/lib/widgets/xml-viewer/hooks/useXMLViewer.d.ts.map +1 -0
  1649. package/lib/widgets/xml-viewer/hooks/useXMLViewer.js +33 -0
  1650. package/lib/widgets/xml-viewer/hooks/useXMLViewer.js.map +1 -0
  1651. package/lib/widgets/xml-viewer/index.d.ts +3 -0
  1652. package/lib/widgets/xml-viewer/index.d.ts.map +1 -0
  1653. package/lib/widgets/xml-viewer/index.js +3 -0
  1654. package/lib/widgets/xml-viewer/index.js.map +1 -0
  1655. package/lib/widgets/xml-viewer/types/index.d.ts +16 -0
  1656. package/lib/widgets/xml-viewer/types/index.d.ts.map +1 -0
  1657. package/lib/widgets/xml-viewer/types/index.js.map +1 -0
  1658. package/llms.txt +387 -484
  1659. package/package.json +96 -126
  1660. package/src/__tests__/a11y.test.tsx +398 -0
  1661. package/src/__tests__/axe-helper.ts +23 -0
  1662. package/src/__tests__/contrast.test.ts +165 -0
  1663. package/src/__tests__/setup.ts +74 -0
  1664. package/src/__tests__/test-modules.d.ts +13 -0
  1665. package/src/__tests__/test-utils.tsx +15 -0
  1666. package/src/__tests__/tsconfig.json +19 -0
  1667. package/src/__tests__/vitest-axe.d.ts +20 -0
  1668. package/src/core/components/Avatar.tsx +38 -29
  1669. package/src/core/components/Center.tsx +5 -7
  1670. package/src/core/components/ComboBox.tsx +167 -83
  1671. package/src/core/components/Divider.tsx +2 -5
  1672. package/src/core/components/EmptyCollection.tsx +5 -6
  1673. package/src/core/components/FileUpload.tsx +54 -21
  1674. package/src/core/components/FormItem.tsx +125 -16
  1675. package/src/core/components/InputList.tsx +63 -36
  1676. package/src/core/components/Link.tsx +8 -5
  1677. package/src/core/components/MenuList.tsx +29 -24
  1678. package/src/core/components/NumberInput.tsx +52 -41
  1679. package/src/core/components/Overlay.tsx +86 -77
  1680. package/src/core/components/Portal.tsx +7 -7
  1681. package/src/core/components/SelectList.tsx +44 -26
  1682. package/src/core/components/SidePanel.tsx +45 -20
  1683. package/src/core/components/Spinner.tsx +34 -21
  1684. package/src/core/components/TagsInput.tsx +54 -48
  1685. package/src/core/components/index.ts +28 -27
  1686. package/src/core/components/libs/utils.tsx +4 -4
  1687. package/src/core/components/libs/visuallyHidden.tsx +12 -12
  1688. package/src/core/components/popup/Popup.tsx +60 -29
  1689. package/src/core/components/popup/PopupController.ts +36 -37
  1690. package/src/core/components/popup/index.ts +3 -3
  1691. package/src/core/components/popup/position.ts +56 -34
  1692. package/src/core/components/popup/utils.ts +5 -3
  1693. package/src/core/components/shadcn/LanguageSwitcher.tsx +61 -0
  1694. package/src/core/components/shadcn/MessageBox.tsx +119 -57
  1695. package/src/core/components/shadcn/Panel.tsx +89 -40
  1696. package/src/core/components/shadcn/badge.tsx +74 -92
  1697. package/src/core/components/shadcn/breadcrumb.tsx +158 -180
  1698. package/src/core/components/shadcn/button.tsx +188 -143
  1699. package/src/core/components/shadcn/calendar.tsx +13 -23
  1700. package/src/core/components/shadcn/card.tsx +41 -76
  1701. package/src/core/components/shadcn/checkbox.tsx +20 -22
  1702. package/src/core/components/shadcn/collaspible.tsx +8 -24
  1703. package/src/core/components/shadcn/command.tsx +124 -157
  1704. package/src/core/components/shadcn/dropdown.tsx +283 -290
  1705. package/src/core/components/shadcn/filters/DynamicLabel.tsx +36 -35
  1706. package/src/core/components/shadcn/filters/animateChangeInHeight.tsx +5 -8
  1707. package/src/core/components/shadcn/filters/comboBox/DateCombobox.tsx +28 -36
  1708. package/src/core/components/shadcn/filters/comboBox/SelectCombobox.tsx +41 -37
  1709. package/src/core/components/shadcn/filters/comboBox/StringListCombobox.tsx +13 -22
  1710. package/src/core/components/shadcn/filters/comboBox/TextCombobox.tsx +12 -14
  1711. package/src/core/components/shadcn/filters/comboBox/comboBox.tsx +2 -2
  1712. package/src/core/components/shadcn/filters/filter/SelectFilter.tsx +143 -139
  1713. package/src/core/components/shadcn/filters/filter/StringListFilter.tsx +48 -48
  1714. package/src/core/components/shadcn/filters/filter/TextFilter.tsx +56 -60
  1715. package/src/core/components/shadcn/filters/filter/dateFilter.tsx +235 -228
  1716. package/src/core/components/shadcn/filters/filter-styles.ts +1 -1
  1717. package/src/core/components/shadcn/filters/filterBar.tsx +347 -329
  1718. package/src/core/components/shadcn/filters/filters.tsx +62 -63
  1719. package/src/core/components/shadcn/filters/types.ts +25 -25
  1720. package/src/core/components/shadcn/heading.tsx +15 -15
  1721. package/src/core/components/shadcn/index.ts +23 -22
  1722. package/src/core/components/shadcn/input.tsx +80 -76
  1723. package/src/core/components/shadcn/label.tsx +20 -25
  1724. package/src/core/components/shadcn/modal/ConfirmModal.tsx +21 -30
  1725. package/src/core/components/shadcn/modal/DeleteModal.tsx +16 -12
  1726. package/src/core/components/shadcn/modal/dialog.tsx +73 -97
  1727. package/src/core/components/shadcn/modal/index.ts +3 -3
  1728. package/src/core/components/shadcn/popover.tsx +96 -93
  1729. package/src/core/components/shadcn/radioGroup.tsx +80 -81
  1730. package/src/core/components/shadcn/resizeable.tsx +46 -44
  1731. package/src/core/components/shadcn/selectBox.tsx +216 -121
  1732. package/src/core/components/shadcn/separator.tsx +15 -19
  1733. package/src/core/components/shadcn/slider.test.tsx +14 -0
  1734. package/src/core/components/shadcn/slider.tsx +78 -0
  1735. package/src/core/components/shadcn/switch.tsx +55 -48
  1736. package/src/core/components/shadcn/tabs.tsx +316 -292
  1737. package/src/core/components/shadcn/text.tsx +24 -24
  1738. package/src/core/components/shadcn/textarea.tsx +55 -55
  1739. package/src/core/components/shadcn/theme/ThemeProvider.tsx +52 -58
  1740. package/src/core/components/shadcn/theme/ThemeSwitcher.tsx +45 -31
  1741. package/src/core/components/shadcn/tooltip.tsx +85 -69
  1742. package/src/core/components/styles.ts +7 -6
  1743. package/src/core/components/table/index.tsx +90 -31
  1744. package/src/core/components/toast/NotificationPanel.tsx +31 -31
  1745. package/src/core/components/toast/ToastContext.ts +3 -3
  1746. package/src/core/components/toast/ToastProps.ts +1 -1
  1747. package/src/core/components/toast/ToastProvider.tsx +20 -13
  1748. package/src/core/components/toast/index.ts +2 -2
  1749. package/src/core/hooks/CompositeState.tsx +28 -33
  1750. package/src/core/hooks/PortalContainerProvider.tsx +8 -14
  1751. package/src/core/hooks/SharedState.tsx +9 -9
  1752. package/src/core/hooks/index.ts +15 -15
  1753. package/src/core/hooks/useClickOutside.tsx +11 -7
  1754. package/src/core/hooks/useCopyToClipboard.tsx +21 -21
  1755. package/src/core/hooks/useDarkMode.ts +2 -2
  1756. package/src/core/hooks/useDebounce.tsx +1 -1
  1757. package/src/core/hooks/useEventSource.ts +40 -14
  1758. package/src/core/hooks/useFetch.ts +41 -27
  1759. package/src/core/hooks/useFlag.tsx +4 -4
  1760. package/src/core/hooks/useIntersectionObserver.tsx +22 -13
  1761. package/src/core/hooks/useIsFistRendering.ts +5 -4
  1762. package/src/core/hooks/useSafeLayoutEffect.ts +3 -3
  1763. package/src/core/hooks/useScrollableSearch.tsx +64 -47
  1764. package/src/core/hooks/useSharedValue.ts +3 -5
  1765. package/src/core/index.ts +3 -3
  1766. package/src/core/utils/a11y.ts +23 -0
  1767. package/src/core/utils/cn.ts +4 -4
  1768. package/src/core/utils/errorMessage.ts +20 -0
  1769. package/src/core/utils/index.ts +4 -1
  1770. package/src/core/utils/textarea.ts +15 -0
  1771. package/src/css/base.css +24 -24
  1772. package/src/css/color.css +129 -131
  1773. package/src/css/custom-tooltips.css +54 -47
  1774. package/src/css/theme.css +82 -84
  1775. package/src/css/typography.css +8 -7
  1776. package/src/css/utilities.css +137 -67
  1777. package/src/env/index.ts +65 -42
  1778. package/src/features/activity-doc/ActivityDoc.tsx +77 -71
  1779. package/src/features/activity-doc/index.ts +1 -1
  1780. package/src/features/agent/PayloadBuilder.tsx +98 -55
  1781. package/src/features/agent/chat/AgentChart.tsx +50 -42
  1782. package/src/features/agent/chat/AgentChatFixtureReplay.test.tsx +124 -0
  1783. package/src/features/agent/chat/AgentChatFixtureReplay.tsx +248 -0
  1784. package/src/features/agent/chat/AgentChatPlaybackControls.test.tsx +96 -0
  1785. package/src/features/agent/chat/AgentChatPlaybackControls.tsx +215 -0
  1786. package/src/features/agent/chat/AgentRequestInputOverlay.tsx +59 -0
  1787. package/src/features/agent/chat/AgentRightPanel.tsx +409 -185
  1788. package/src/features/agent/chat/AnimatedThinkingDots.tsx +91 -82
  1789. package/src/features/agent/chat/ArtifactsTab.tsx +347 -110
  1790. package/src/features/agent/chat/AskUserWidget.tsx +221 -51
  1791. package/src/features/agent/chat/BrowserUseWidget.tsx +255 -0
  1792. package/src/features/agent/chat/DocumentPanel.tsx +35 -41
  1793. package/src/features/agent/chat/DocumentTabBar.tsx +7 -4
  1794. package/src/features/agent/chat/ImageLightbox.tsx +30 -14
  1795. package/src/features/agent/chat/JumpingDots.tsx +15 -6
  1796. package/src/features/agent/chat/ModernAgentConversation.test.tsx +679 -0
  1797. package/src/features/agent/chat/ModernAgentConversation.tsx +1239 -722
  1798. package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.test.tsx +946 -0
  1799. package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.tsx +2244 -343
  1800. package/src/features/agent/chat/ModernAgentOutput/AttachmentPreview.tsx +437 -0
  1801. package/src/features/agent/chat/ModernAgentOutput/BatchProgressPanel.tsx +67 -65
  1802. package/src/features/agent/chat/ModernAgentOutput/Header.tsx +239 -134
  1803. package/src/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.tsx +18 -14
  1804. package/src/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.tsx +197 -242
  1805. package/src/features/agent/chat/ModernAgentOutput/MessageInput.test.tsx +211 -0
  1806. package/src/features/agent/chat/ModernAgentOutput/MessageInput.tsx +394 -268
  1807. package/src/features/agent/chat/ModernAgentOutput/MessageItem.tsx +435 -291
  1808. package/src/features/agent/chat/ModernAgentOutput/MessagesContainer.tsx +12 -13
  1809. package/src/features/agent/chat/ModernAgentOutput/PlanPanel.tsx +27 -23
  1810. package/src/features/agent/chat/ModernAgentOutput/SlideInPanel.tsx +24 -22
  1811. package/src/features/agent/chat/ModernAgentOutput/SlidingMessages.tsx +18 -21
  1812. package/src/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.tsx +53 -49
  1813. package/src/features/agent/chat/ModernAgentOutput/StackedMessages.tsx +9 -9
  1814. package/src/features/agent/chat/ModernAgentOutput/StreamingMessage.tsx +42 -38
  1815. package/src/features/agent/chat/ModernAgentOutput/SummaryConversation.ts +421 -0
  1816. package/src/features/agent/chat/ModernAgentOutput/ToolCallGroup.tsx +518 -271
  1817. package/src/features/agent/chat/ModernAgentOutput/WorkstreamTabs.tsx +124 -146
  1818. package/src/features/agent/chat/ModernAgentOutput/processContentForMarkdown.test.ts +48 -0
  1819. package/src/features/agent/chat/ModernAgentOutput/processContentForMarkdown.ts +158 -0
  1820. package/src/features/agent/chat/ModernAgentOutput/requestInputMessages.ts +81 -0
  1821. package/src/features/agent/chat/ModernAgentOutput/utils.test.ts +1232 -88
  1822. package/src/features/agent/chat/ModernAgentOutput/utils.ts +190 -154
  1823. package/src/features/agent/chat/ModernAgentOutput/with-types.d.ts +7 -7
  1824. package/src/features/agent/chat/ProposalCodeBlockHandler.tsx +89 -0
  1825. package/src/features/agent/chat/SkillWidgetProvider.tsx +72 -58
  1826. package/src/features/agent/chat/SlidingThinkingIndicator.tsx +173 -165
  1827. package/src/features/agent/chat/VegaLiteChart.tsx +631 -557
  1828. package/src/features/agent/chat/WaitingMessages.ts +50 -50
  1829. package/src/features/agent/chat/applyParameterValues.test.ts +67 -69
  1830. package/src/features/agent/chat/hooks/useAgentPlans.ts +22 -27
  1831. package/src/features/agent/chat/hooks/useAgentStream.test.tsx +250 -0
  1832. package/src/features/agent/chat/hooks/useAgentStream.ts +185 -125
  1833. package/src/features/agent/chat/hooks/useArtifacts.ts +41 -16
  1834. package/src/features/agent/chat/hooks/useDocumentPanel.ts +11 -13
  1835. package/src/features/agent/chat/hooks/useFileProcessing.test.tsx +121 -0
  1836. package/src/features/agent/chat/hooks/useFileProcessing.ts +173 -72
  1837. package/src/features/agent/chat/index.ts +58 -27
  1838. package/src/features/agent/chat/playback.test.ts +70 -0
  1839. package/src/features/agent/chat/playback.ts +93 -0
  1840. package/src/features/agent/chat/useArtifactUrlCache.tsx +25 -27
  1841. package/src/features/agent/chat/workstreams.ts +182 -0
  1842. package/src/features/agent/index.ts +2 -2
  1843. package/src/features/document-viewer/UniversalDocumentViewer.test.tsx +123 -0
  1844. package/src/features/document-viewer/UniversalDocumentViewer.tsx +746 -0
  1845. package/src/features/document-viewer/index.ts +1 -0
  1846. package/src/features/errors/PanelErrorBoundary.tsx +13 -19
  1847. package/src/features/errors/RowErrorBoundary.tsx +8 -12
  1848. package/src/features/errors/VertesiaErrorBoundary.tsx +8 -7
  1849. package/src/features/errors/WidgetErrorBoundary.tsx +8 -16
  1850. package/src/features/errors/index.ts +4 -4
  1851. package/src/features/facets/AgentRunnerFacetsNav.tsx +56 -59
  1852. package/src/features/facets/CollectionsFacetsNav.tsx +24 -35
  1853. package/src/features/facets/DocumentsFacetsNav.tsx +36 -44
  1854. package/src/features/facets/EnvironmentFacet.tsx +38 -20
  1855. package/src/features/facets/InteractionsFacetsNav.tsx +18 -31
  1856. package/src/features/facets/ProcessDefinitionsFacetsNav.tsx +51 -0
  1857. package/src/features/facets/ProcessRunsFacetsNav.tsx +64 -0
  1858. package/src/features/facets/PromptsFacetsNav.tsx +22 -33
  1859. package/src/features/facets/RunsFacetsNav.tsx +52 -60
  1860. package/src/features/facets/WorkflowDefinitionsFacetsNav.tsx +51 -0
  1861. package/src/features/facets/WorkflowExecutionsFacetsNav.tsx +28 -42
  1862. package/src/features/facets/WorkflowRulesFacetsNav.tsx +49 -0
  1863. package/src/features/facets/index.ts +32 -18
  1864. package/src/features/facets/utils/SearchInterface.tsx +32 -3
  1865. package/src/features/facets/utils/StringFacet.tsx +16 -5
  1866. package/src/features/facets/utils/StringListFacet.tsx +5 -6
  1867. package/src/features/facets/utils/TypeFacet.tsx +30 -19
  1868. package/src/features/facets/utils/VEnvironmentFacet.tsx +9 -9
  1869. package/src/features/facets/utils/VInteractionFacet.tsx +18 -17
  1870. package/src/features/facets/utils/VStringFacet.tsx +19 -8
  1871. package/src/features/facets/utils/VTypeFacet.tsx +15 -15
  1872. package/src/features/facets/utils/VUserFacet.tsx +6 -6
  1873. package/src/features/facets/utils/utils.tsx +2 -2
  1874. package/src/features/index.ts +14 -12
  1875. package/src/features/layout/GenericPageNavHeader.tsx +73 -53
  1876. package/src/features/layout/NotFoundView.tsx +4 -7
  1877. package/src/features/layout/index.ts +2 -2
  1878. package/src/features/magic-pdf/AnnotatedImageSlider.tsx +59 -44
  1879. package/src/features/magic-pdf/DownloadPopover.tsx +29 -34
  1880. package/src/features/magic-pdf/ExtractedContentView.tsx +14 -21
  1881. package/src/features/magic-pdf/MagicPdfProvider.tsx +30 -45
  1882. package/src/features/magic-pdf/MagicPdfView.tsx +42 -55
  1883. package/src/features/magic-pdf/index.ts +1 -1
  1884. package/src/features/magic-pdf/types.ts +1 -1
  1885. package/src/features/media-viewer/AudioPanel.tsx +118 -0
  1886. package/src/features/media-viewer/ImagePanel.tsx +96 -0
  1887. package/src/features/media-viewer/VideoPanel.tsx +131 -0
  1888. package/src/features/media-viewer/formats.ts +38 -0
  1889. package/src/features/media-viewer/index.ts +4 -0
  1890. package/src/features/oauth/OAuthProviderConnectButton.tsx +6 -16
  1891. package/src/features/oauth/RemoteMcpConnectionButton.tsx +14 -23
  1892. package/src/features/oauth/useOAuthPopup.ts +1 -1
  1893. package/src/features/pdf-viewer/PdfPageRenderer.tsx +50 -72
  1894. package/src/features/pdf-viewer/PdfPageSlider.tsx +78 -80
  1895. package/src/features/pdf-viewer/SimplePdfViewer.tsx +22 -18
  1896. package/src/features/permissions/SecureButton.tsx +9 -8
  1897. package/src/features/permissions/SecureSidebarItem.tsx +4 -7
  1898. package/src/features/permissions/UserPermissionsProvider.tsx +70 -51
  1899. package/src/features/permissions/helpers.ts +8 -5
  1900. package/src/features/permissions/index.ts +4 -4
  1901. package/src/features/store/collections/BrowseCollectionView.tsx +17 -19
  1902. package/src/features/store/collections/CollectionsTable.tsx +50 -41
  1903. package/src/features/store/collections/CreateCollection.tsx +61 -31
  1904. package/src/features/store/collections/EditCollectionView.tsx +164 -93
  1905. package/src/features/store/collections/SelectCollection.tsx +120 -116
  1906. package/src/features/store/collections/SharedPropsEditor.tsx +38 -29
  1907. package/src/features/store/collections/SyncMemberHeadsToggle.tsx +28 -26
  1908. package/src/features/store/collections/index.ts +7 -7
  1909. package/src/features/store/index.ts +3 -3
  1910. package/src/features/store/objects/DocumentPreviewPanel.tsx +348 -376
  1911. package/src/features/store/objects/DocumentSearchResults.tsx +194 -117
  1912. package/src/features/store/objects/DocumentSelectionProvider.tsx +15 -10
  1913. package/src/features/store/objects/DocumentTable.tsx +51 -45
  1914. package/src/features/store/objects/ExportPropertiesModal.tsx +24 -26
  1915. package/src/features/store/objects/components/ContentDispositionButton.tsx +22 -27
  1916. package/src/features/store/objects/components/ContentOverview.tsx +401 -600
  1917. package/src/features/store/objects/components/DocumentIcon.tsx +95 -91
  1918. package/src/features/store/objects/components/DocumentInput.tsx +33 -26
  1919. package/src/features/store/objects/components/PropertiesEditorModal.tsx +58 -60
  1920. package/src/features/store/objects/components/SaveVersionConfirmModal.tsx +49 -37
  1921. package/src/features/store/objects/components/SelectDocument.test.tsx +87 -0
  1922. package/src/features/store/objects/components/SelectDocument.tsx +50 -54
  1923. package/src/features/store/objects/components/SelectDocumentModal.tsx +7 -7
  1924. package/src/features/store/objects/components/TextEditorPanel.tsx +23 -21
  1925. package/src/features/store/objects/components/VectorSearchWidget.test.tsx +41 -0
  1926. package/src/features/store/objects/components/VectorSearchWidget.tsx +94 -37
  1927. package/src/features/store/objects/components/index.ts +9 -9
  1928. package/src/features/store/objects/components/useContentPanelHooks.ts +24 -19
  1929. package/src/features/store/objects/components/useDownloadFile.ts +137 -128
  1930. package/src/features/store/objects/index.ts +10 -10
  1931. package/src/features/store/objects/layout/DocumentTableColumn.tsx +28 -12
  1932. package/src/features/store/objects/layout/documentLayout.tsx +86 -43
  1933. package/src/features/store/objects/layout/index.ts +2 -2
  1934. package/src/features/store/objects/layout/renderers.tsx +107 -73
  1935. package/src/features/store/objects/search/DocumentSearchContext.test.ts +49 -0
  1936. package/src/features/store/objects/search/DocumentSearchContext.ts +63 -46
  1937. package/src/features/store/objects/search/DocumentSearchProvider.tsx +23 -16
  1938. package/src/features/store/objects/search/index.ts +2 -2
  1939. package/src/features/store/objects/selection/ObjectsActionContext.tsx +28 -21
  1940. package/src/features/store/objects/selection/ObjectsActionContextClass.ts +9 -11
  1941. package/src/features/store/objects/selection/ObjectsActionHooks.ts +5 -5
  1942. package/src/features/store/objects/selection/ObjectsActionSpec.ts +16 -16
  1943. package/src/features/store/objects/selection/SelectionActions.tsx +111 -51
  1944. package/src/features/store/objects/selection/actions/AddToCollectionAction.tsx +68 -43
  1945. package/src/features/store/objects/selection/actions/ChangeTypeAction.tsx +36 -32
  1946. package/src/features/store/objects/selection/actions/ConfirmAction.tsx +27 -20
  1947. package/src/features/store/objects/selection/actions/DeleteObjectsAction.tsx +57 -46
  1948. package/src/features/store/objects/selection/actions/ExportPropertiesAction.tsx +60 -65
  1949. package/src/features/store/objects/selection/actions/RemoveFromCollectionAction.tsx +42 -33
  1950. package/src/features/store/objects/selection/actions/StartWorkflowComponent.tsx +9 -10
  1951. package/src/features/store/objects/selection/actions/index.ts +7 -7
  1952. package/src/features/store/objects/selection/index.ts +4 -4
  1953. package/src/features/store/objects/upload/DocumentUploadModal.tsx +189 -183
  1954. package/src/features/store/objects/upload/index.ts +3 -3
  1955. package/src/features/store/objects/upload/useSmartFileUploadProcessing.ts +139 -132
  1956. package/src/features/store/objects/upload/useUploadHandler.ts +41 -41
  1957. package/src/features/store/types/ContentObjectTypesSearch.tsx +89 -65
  1958. package/src/features/store/types/ContentObjectTypesTable.tsx +19 -18
  1959. package/src/features/store/types/CreateOrUpdateTypeModal.tsx +26 -16
  1960. package/src/features/store/types/ObjectSchemaEditor.tsx +72 -62
  1961. package/src/features/store/types/SelectContentType.tsx +22 -16
  1962. package/src/features/store/types/SelectContentTypeModal.tsx +23 -33
  1963. package/src/features/store/types/TableLayoutEditor.tsx +54 -41
  1964. package/src/features/store/types/TypeRegistry.ts +2 -3
  1965. package/src/features/store/types/TypeRegistryProvider.tsx +76 -73
  1966. package/src/features/store/types/index.ts +10 -10
  1967. package/src/features/store/types/search/ObjectTypeSearchContext.tsx +39 -33
  1968. package/src/features/store/types/search/ObjectTypeSearchProvider.tsx +7 -8
  1969. package/src/features/store/types/search/index.ts +2 -2
  1970. package/src/features/user/UserAvatar.tsx +21 -17
  1971. package/src/features/user/UserInfo.test.tsx +88 -0
  1972. package/src/features/user/UserInfo.tsx +196 -110
  1973. package/src/features/user/index.ts +2 -2
  1974. package/src/features/utils/index.ts +5 -5
  1975. package/src/features/utils/mimeType.ts +10 -10
  1976. package/src/features/utils/print.ts +14 -12
  1977. package/src/features/utils/rendition.ts +68 -81
  1978. package/src/features/utils/text.ts +4 -4
  1979. package/src/features/utils/workflowStatus.ts +14 -14
  1980. package/src/i18n/LanguageProvider.test.tsx +172 -0
  1981. package/src/i18n/LanguageProvider.tsx +77 -0
  1982. package/src/i18n/index.tsx +30 -7
  1983. package/src/i18n/locales/ar.json +77 -21
  1984. package/src/i18n/locales/de.json +77 -21
  1985. package/src/i18n/locales/en.json +93 -25
  1986. package/src/i18n/locales/es.json +79 -23
  1987. package/src/i18n/locales/fr.json +77 -21
  1988. package/src/i18n/locales/it.json +79 -23
  1989. package/src/i18n/locales/ja.json +77 -21
  1990. package/src/i18n/locales/ko.json +77 -21
  1991. package/src/i18n/locales/pt.json +79 -23
  1992. package/src/i18n/locales/ru.json +77 -21
  1993. package/src/i18n/locales/tr.json +77 -21
  1994. package/src/i18n/locales/zh-TW.json +77 -21
  1995. package/src/i18n/locales/zh.json +77 -21
  1996. package/src/i18n/rtl.test.ts +74 -0
  1997. package/src/i18n/rtl.ts +55 -0
  1998. package/src/i18n/useLocaleFormat.test.tsx +176 -0
  1999. package/src/i18n/useLocaleFormat.ts +106 -0
  2000. package/src/layout/AppLayout.tsx +80 -70
  2001. package/src/layout/ErrorPage.tsx +32 -0
  2002. package/src/layout/FullHeightLayout.tsx +16 -70
  2003. package/src/layout/Navbar.tsx +48 -50
  2004. package/src/layout/RegionTag.tsx +1 -5
  2005. package/src/layout/Sidebar.tsx +79 -67
  2006. package/src/layout/SidebarContext.ts +1 -1
  2007. package/src/layout/TitleBar.tsx +1 -2
  2008. package/src/layout/index.ts +8 -7
  2009. package/src/router/FixLinks.tsx +11 -9
  2010. package/src/router/HistoryNavigator.ts +55 -32
  2011. package/src/router/Nav.tsx +36 -10
  2012. package/src/router/NestedNavigationContext.tsx +23 -22
  2013. package/src/router/NestedRouterProvider.tsx +52 -46
  2014. package/src/router/PathMatcher.ts +42 -36
  2015. package/src/router/PathWithParams.ts +1 -2
  2016. package/src/router/Route404.tsx +6 -6
  2017. package/src/router/RouteComponent.tsx +7 -9
  2018. package/src/router/Router.tsx +32 -22
  2019. package/src/router/RouterProvider.tsx +24 -22
  2020. package/src/router/index.ts +10 -10
  2021. package/src/router/path.ts +4 -3
  2022. package/src/session/UserSession.ts +96 -64
  2023. package/src/session/UserSessionProvider.tsx +173 -87
  2024. package/src/session/auth/composable.test.ts +79 -0
  2025. package/src/session/auth/composable.ts +108 -33
  2026. package/src/session/auth/domainRouting.test.ts +8 -8
  2027. package/src/session/auth/firebase.ts +25 -24
  2028. package/src/session/auth/useAuthState.ts +5 -8
  2029. package/src/session/auth/useCurrentTenant.ts +10 -11
  2030. package/src/session/constants.ts +1 -1
  2031. package/src/session/index.ts +7 -7
  2032. package/src/session/useUXTracking.tsx +11 -15
  2033. package/src/shell/SplashScreen.tsx +22 -13
  2034. package/src/shell/VertesiaShell.tsx +38 -16
  2035. package/src/shell/apps/AppInstallationProvider.tsx +10 -11
  2036. package/src/shell/apps/AppProjectSelector.tsx +34 -20
  2037. package/src/shell/apps/StandaloneApp.tsx +40 -37
  2038. package/src/shell/apps/index.ts +3 -3
  2039. package/src/shell/index.tsx +5 -5
  2040. package/src/shell/login/InviteAcceptModal.tsx +65 -56
  2041. package/src/shell/login/PreviewIcon.tsx +3 -6
  2042. package/src/shell/login/SignInAuthPending.tsx +43 -0
  2043. package/src/shell/login/SignInEmailStep.tsx +83 -0
  2044. package/src/shell/login/SignInIcons.tsx +66 -0
  2045. package/src/shell/login/SignInModal.tsx +10 -14
  2046. package/src/shell/login/SignInPrimitives.tsx +414 -0
  2047. package/src/shell/login/SignInProvidersStep.tsx +50 -0
  2048. package/src/shell/login/SignInReturningStep.tsx +90 -0
  2049. package/src/shell/login/SignInTenantBlockedStep.tsx +41 -0
  2050. package/src/shell/login/SignInTenantStep.tsx +78 -0
  2051. package/src/shell/login/SignInWithProviderButton.tsx +40 -0
  2052. package/src/shell/login/SigninScreen.tsx +231 -134
  2053. package/src/shell/login/SignupForm.tsx +28 -33
  2054. package/src/shell/login/TerminalLogin.tsx +188 -156
  2055. package/src/shell/login/UserInfo.tsx +41 -26
  2056. package/src/shell/login/UserSessionMenu.tsx +50 -35
  2057. package/src/shell/login/signInUtils.test.ts +41 -0
  2058. package/src/shell/login/signInUtils.ts +241 -0
  2059. package/src/shell/utils.tsx +5 -5
  2060. package/src/widgets/Progress.tsx +2 -2
  2061. package/src/widgets/SvgIcon.tsx +4 -4
  2062. package/src/widgets/form/Form.tsx +71 -59
  2063. package/src/widgets/form/FormContext.ts +9 -7
  2064. package/src/widgets/form/ManagedObject.ts +50 -40
  2065. package/src/widgets/form/fields.tsx +3 -11
  2066. package/src/widgets/form/index.ts +6 -6
  2067. package/src/widgets/form/inputs.tsx +55 -35
  2068. package/src/widgets/form/schema.ts +22 -15
  2069. package/src/widgets/index.ts +10 -10
  2070. package/src/widgets/json-view/JSONCode.test.tsx +52 -0
  2071. package/src/widgets/json-view/JSONCode.tsx +64 -19
  2072. package/src/widgets/json-view/JSONDisplay.tsx +30 -14
  2073. package/src/widgets/json-view/JSONEditor.tsx +6 -6
  2074. package/src/widgets/json-view/JSONSwitcher.tsx +13 -5
  2075. package/src/widgets/json-view/JSONTable.tsx +80 -0
  2076. package/src/widgets/json-view/JSONView.tsx +122 -82
  2077. package/src/widgets/json-view/index.ts +7 -6
  2078. package/src/widgets/markdown/ArtifactContentRenderer.tsx +20 -36
  2079. package/src/widgets/markdown/CodeBlockContext.tsx +1 -1
  2080. package/src/widgets/markdown/CodeBlockPlaceholder.test.tsx +2 -2
  2081. package/src/widgets/markdown/CodeBlockPlaceholder.tsx +21 -19
  2082. package/src/widgets/markdown/CodeBlockRendering.tsx +3 -8
  2083. package/src/widgets/markdown/MarkdownFigure.tsx +5 -21
  2084. package/src/widgets/markdown/MarkdownImage.tsx +7 -29
  2085. package/src/widgets/markdown/MarkdownLink.tsx +7 -30
  2086. package/src/widgets/markdown/MarkdownRenderer.tsx +45 -42
  2087. package/src/widgets/markdown/MermaidDiagram.test.ts +40 -0
  2088. package/src/widgets/markdown/MermaidDiagram.tsx +9 -8
  2089. package/src/widgets/markdown/codeBlockHandlers.test.tsx +12 -15
  2090. package/src/widgets/markdown/codeBlockHandlers.tsx +40 -155
  2091. package/src/widgets/markdown/index.ts +23 -14
  2092. package/src/widgets/markdown/normalizeCustomSchemeLinks.test.ts +21 -6
  2093. package/src/widgets/markdown/normalizeCustomSchemeLinks.ts +9 -16
  2094. package/src/widgets/markdown/normalizeDirectives.test.ts +57 -0
  2095. package/src/widgets/markdown/normalizeDirectives.ts +24 -14
  2096. package/src/widgets/markdown/preprocessMathDelimiters.test.ts +59 -54
  2097. package/src/widgets/markdown/preprocessMathDelimiters.ts +36 -32
  2098. package/src/widgets/markdown/remarkDirectiveHandler.ts +10 -12
  2099. package/src/widgets/markdown/useArtifactContent.ts +9 -22
  2100. package/src/widgets/markdown/useResolvedUrl.test.ts +25 -2
  2101. package/src/widgets/markdown/useResolvedUrl.ts +25 -24
  2102. package/src/widgets/monacoEditor/MonacoEditor.tsx +93 -81
  2103. package/src/widgets/monacoEditor/foldingProviders.ts +33 -7
  2104. package/src/widgets/monacoEditor/index.ts +2 -3
  2105. package/src/widgets/properties/PropertiesView.tsx +19 -25
  2106. package/src/widgets/properties/index.ts +1 -1
  2107. package/src/widgets/schema-editor/ManagedSchema.ts +47 -39
  2108. package/src/widgets/schema-editor/editor/Editable.tsx +94 -74
  2109. package/src/widgets/schema-editor/editor/EditableSchemaProperty.tsx +4 -4
  2110. package/src/widgets/schema-editor/editor/PropertyEditor.tsx +49 -34
  2111. package/src/widgets/schema-editor/editor/PropertyViewer.tsx +6 -9
  2112. package/src/widgets/schema-editor/editor/SchemaContext.tsx +9 -6
  2113. package/src/widgets/schema-editor/editor/SchemaEditor.test.ts +5 -5
  2114. package/src/widgets/schema-editor/editor/SchemaEditor.tsx +56 -50
  2115. package/src/widgets/schema-editor/index.ts +6 -6
  2116. package/src/widgets/schema-editor/json-schema4-utils.ts +36 -34
  2117. package/src/widgets/schema-editor/type-signature.ts +16 -18
  2118. package/src/widgets/upload/DropZone.tsx +68 -47
  2119. package/src/widgets/upload/UploadResultCategory.tsx +24 -20
  2120. package/src/widgets/upload/UploadSummary.tsx +24 -24
  2121. package/src/widgets/upload/index.ts +1 -1
  2122. package/src/widgets/xml-viewer/components/Attributes/index.tsx +17 -17
  2123. package/src/widgets/xml-viewer/components/CDataTag/index.tsx +13 -13
  2124. package/src/widgets/xml-viewer/components/CollapseIcon/index.tsx +20 -22
  2125. package/src/widgets/xml-viewer/components/CommentTag/index.tsx +20 -20
  2126. package/src/widgets/xml-viewer/components/DeclarationTag/index.tsx +14 -14
  2127. package/src/widgets/xml-viewer/components/Elements/index.tsx +67 -67
  2128. package/src/widgets/xml-viewer/components/InvalidXml/index.tsx +1 -1
  2129. package/src/widgets/xml-viewer/components/Tag/index.tsx +36 -35
  2130. package/src/widgets/xml-viewer/components/TextElement/index.tsx +20 -19
  2131. package/src/widgets/xml-viewer/components/XMLViewer.tsx +50 -50
  2132. package/src/widgets/xml-viewer/components/types.ts +99 -99
  2133. package/src/widgets/xml-viewer/constants/index.ts +16 -16
  2134. package/src/widgets/xml-viewer/context/xml-viewer-context.ts +4 -4
  2135. package/src/widgets/xml-viewer/helpers/index.ts +32 -34
  2136. package/src/widgets/xml-viewer/hooks/useCollapsible.ts +18 -20
  2137. package/src/widgets/xml-viewer/hooks/useXMLViewer.ts +25 -23
  2138. package/src/widgets/xml-viewer/index.ts +1 -1
  2139. package/src/widgets/xml-viewer/types/index.ts +6 -6
  2140. package/tsconfig.dist.json +3 -2
  2141. package/lib/esm/core/components/Avatar.js +0 -31
  2142. package/lib/esm/core/components/Avatar.js.map +0 -1
  2143. package/lib/esm/core/components/Center.js +0 -6
  2144. package/lib/esm/core/components/Center.js.map +0 -1
  2145. package/lib/esm/core/components/ComboBox.js +0 -355
  2146. package/lib/esm/core/components/ComboBox.js.map +0 -1
  2147. package/lib/esm/core/components/Divider.js +0 -6
  2148. package/lib/esm/core/components/Divider.js.map +0 -1
  2149. package/lib/esm/core/components/EmptyCollection.js +0 -7
  2150. package/lib/esm/core/components/EmptyCollection.js.map +0 -1
  2151. package/lib/esm/core/components/FileUpload.js +0 -119
  2152. package/lib/esm/core/components/FileUpload.js.map +0 -1
  2153. package/lib/esm/core/components/FormItem.js +0 -9
  2154. package/lib/esm/core/components/FormItem.js.map +0 -1
  2155. package/lib/esm/core/components/InputList.js +0 -61
  2156. package/lib/esm/core/components/InputList.js.map +0 -1
  2157. package/lib/esm/core/components/Link.js +0 -13
  2158. package/lib/esm/core/components/Link.js.map +0 -1
  2159. package/lib/esm/core/components/MenuList.js +0 -20
  2160. package/lib/esm/core/components/MenuList.js.map +0 -1
  2161. package/lib/esm/core/components/NumberInput.js +0 -43
  2162. package/lib/esm/core/components/NumberInput.js.map +0 -1
  2163. package/lib/esm/core/components/Overlay.js +0 -57
  2164. package/lib/esm/core/components/Overlay.js.map +0 -1
  2165. package/lib/esm/core/components/Portal.js +0 -28
  2166. package/lib/esm/core/components/Portal.js.map +0 -1
  2167. package/lib/esm/core/components/SelectList.js +0 -54
  2168. package/lib/esm/core/components/SelectList.js.map +0 -1
  2169. package/lib/esm/core/components/SidePanel.js +0 -39
  2170. package/lib/esm/core/components/SidePanel.js.map +0 -1
  2171. package/lib/esm/core/components/Spinner.js +0 -18
  2172. package/lib/esm/core/components/Spinner.js.map +0 -1
  2173. package/lib/esm/core/components/TagsInput.js +0 -194
  2174. package/lib/esm/core/components/TagsInput.js.map +0 -1
  2175. package/lib/esm/core/components/index.js +0 -23
  2176. package/lib/esm/core/components/index.js.map +0 -1
  2177. package/lib/esm/core/components/libs/utils.js +0 -6
  2178. package/lib/esm/core/components/libs/utils.js.map +0 -1
  2179. package/lib/esm/core/components/libs/visuallyHidden.js +0 -16
  2180. package/lib/esm/core/components/libs/visuallyHidden.js.map +0 -1
  2181. package/lib/esm/core/components/popup/Popup.js +0 -60
  2182. package/lib/esm/core/components/popup/Popup.js.map +0 -1
  2183. package/lib/esm/core/components/popup/PopupController.js +0 -149
  2184. package/lib/esm/core/components/popup/PopupController.js.map +0 -1
  2185. package/lib/esm/core/components/popup/index.js +0 -4
  2186. package/lib/esm/core/components/popup/index.js.map +0 -1
  2187. package/lib/esm/core/components/popup/position.js +0 -221
  2188. package/lib/esm/core/components/popup/position.js.map +0 -1
  2189. package/lib/esm/core/components/popup/utils.js +0 -74
  2190. package/lib/esm/core/components/popup/utils.js.map +0 -1
  2191. package/lib/esm/core/components/shadcn/MessageBox.js +0 -66
  2192. package/lib/esm/core/components/shadcn/MessageBox.js.map +0 -1
  2193. package/lib/esm/core/components/shadcn/Panel.js +0 -13
  2194. package/lib/esm/core/components/shadcn/Panel.js.map +0 -1
  2195. package/lib/esm/core/components/shadcn/badge.js +0 -62
  2196. package/lib/esm/core/components/shadcn/badge.js.map +0 -1
  2197. package/lib/esm/core/components/shadcn/breadcrumb.js +0 -55
  2198. package/lib/esm/core/components/shadcn/breadcrumb.js.map +0 -1
  2199. package/lib/esm/core/components/shadcn/button.js +0 -78
  2200. package/lib/esm/core/components/shadcn/button.js.map +0 -1
  2201. package/lib/esm/core/components/shadcn/calendar.js +0 -13
  2202. package/lib/esm/core/components/shadcn/calendar.js.map +0 -1
  2203. package/lib/esm/core/components/shadcn/card.js +0 -17
  2204. package/lib/esm/core/components/shadcn/card.js.map +0 -1
  2205. package/lib/esm/core/components/shadcn/checkbox.js +0 -9
  2206. package/lib/esm/core/components/shadcn/checkbox.js.map +0 -1
  2207. package/lib/esm/core/components/shadcn/collaspible.js +0 -13
  2208. package/lib/esm/core/components/shadcn/collaspible.js.map +0 -1
  2209. package/lib/esm/core/components/shadcn/command.js +0 -29
  2210. package/lib/esm/core/components/shadcn/command.js.map +0 -1
  2211. package/lib/esm/core/components/shadcn/dropdown.js +0 -86
  2212. package/lib/esm/core/components/shadcn/dropdown.js.map +0 -1
  2213. package/lib/esm/core/components/shadcn/filters/DynamicLabel.js +0 -38
  2214. package/lib/esm/core/components/shadcn/filters/DynamicLabel.js.map +0 -1
  2215. package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js +0 -23
  2216. package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js.map +0 -1
  2217. package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js +0 -131
  2218. package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js.map +0 -1
  2219. package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js +0 -49
  2220. package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js.map +0 -1
  2221. package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js +0 -23
  2222. package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js.map +0 -1
  2223. package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js +0 -28
  2224. package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js.map +0 -1
  2225. package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js +0 -5
  2226. package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js.map +0 -1
  2227. package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js +0 -98
  2228. package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js.map +0 -1
  2229. package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js +0 -24
  2230. package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js.map +0 -1
  2231. package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js +0 -21
  2232. package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js.map +0 -1
  2233. package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js +0 -163
  2234. package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js.map +0 -1
  2235. package/lib/esm/core/components/shadcn/filters/filter-styles.js.map +0 -1
  2236. package/lib/esm/core/components/shadcn/filters/filterBar.js +0 -237
  2237. package/lib/esm/core/components/shadcn/filters/filterBar.js.map +0 -1
  2238. package/lib/esm/core/components/shadcn/filters/filters.js +0 -57
  2239. package/lib/esm/core/components/shadcn/filters/filters.js.map +0 -1
  2240. package/lib/esm/core/components/shadcn/filters/index.js.map +0 -1
  2241. package/lib/esm/core/components/shadcn/filters/types.js.map +0 -1
  2242. package/lib/esm/core/components/shadcn/heading.js +0 -17
  2243. package/lib/esm/core/components/shadcn/heading.js.map +0 -1
  2244. package/lib/esm/core/components/shadcn/index.js +0 -29
  2245. package/lib/esm/core/components/shadcn/index.js.map +0 -1
  2246. package/lib/esm/core/components/shadcn/input.js +0 -41
  2247. package/lib/esm/core/components/shadcn/input.js.map +0 -1
  2248. package/lib/esm/core/components/shadcn/label.js +0 -10
  2249. package/lib/esm/core/components/shadcn/label.js.map +0 -1
  2250. package/lib/esm/core/components/shadcn/modal/ConfirmModal.js +0 -12
  2251. package/lib/esm/core/components/shadcn/modal/ConfirmModal.js.map +0 -1
  2252. package/lib/esm/core/components/shadcn/modal/DeleteModal.js +0 -30
  2253. package/lib/esm/core/components/shadcn/modal/DeleteModal.js.map +0 -1
  2254. package/lib/esm/core/components/shadcn/modal/dialog.js +0 -78
  2255. package/lib/esm/core/components/shadcn/modal/dialog.js.map +0 -1
  2256. package/lib/esm/core/components/shadcn/modal/index.js +0 -4
  2257. package/lib/esm/core/components/shadcn/modal/index.js.map +0 -1
  2258. package/lib/esm/core/components/shadcn/popover.js +0 -56
  2259. package/lib/esm/core/components/shadcn/popover.js.map +0 -1
  2260. package/lib/esm/core/components/shadcn/radioGroup.js +0 -28
  2261. package/lib/esm/core/components/shadcn/radioGroup.js.map +0 -1
  2262. package/lib/esm/core/components/shadcn/resizeable.js +0 -15
  2263. package/lib/esm/core/components/shadcn/resizeable.js.map +0 -1
  2264. package/lib/esm/core/components/shadcn/selectBox.js +0 -156
  2265. package/lib/esm/core/components/shadcn/selectBox.js.map +0 -1
  2266. package/lib/esm/core/components/shadcn/separator.js +0 -8
  2267. package/lib/esm/core/components/shadcn/separator.js.map +0 -1
  2268. package/lib/esm/core/components/shadcn/switch.js +0 -18
  2269. package/lib/esm/core/components/shadcn/switch.js.map +0 -1
  2270. package/lib/esm/core/components/shadcn/tabs.js +0 -134
  2271. package/lib/esm/core/components/shadcn/tabs.js.map +0 -1
  2272. package/lib/esm/core/components/shadcn/text.js +0 -30
  2273. package/lib/esm/core/components/shadcn/text.js.map +0 -1
  2274. package/lib/esm/core/components/shadcn/textarea.js +0 -35
  2275. package/lib/esm/core/components/shadcn/textarea.js.map +0 -1
  2276. package/lib/esm/core/components/shadcn/theme/ThemeProvider.js +0 -39
  2277. package/lib/esm/core/components/shadcn/theme/ThemeProvider.js.map +0 -1
  2278. package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js +0 -15
  2279. package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js.map +0 -1
  2280. package/lib/esm/core/components/shadcn/tooltip.js +0 -34
  2281. package/lib/esm/core/components/shadcn/tooltip.js.map +0 -1
  2282. package/lib/esm/core/components/styles.js +0 -10
  2283. package/lib/esm/core/components/styles.js.map +0 -1
  2284. package/lib/esm/core/components/table/index.js +0 -24
  2285. package/lib/esm/core/components/table/index.js.map +0 -1
  2286. package/lib/esm/core/components/toast/NotificationPanel.js +0 -43
  2287. package/lib/esm/core/components/toast/NotificationPanel.js.map +0 -1
  2288. package/lib/esm/core/components/toast/ToastContext.js +0 -7
  2289. package/lib/esm/core/components/toast/ToastContext.js.map +0 -1
  2290. package/lib/esm/core/components/toast/ToastProps.js.map +0 -1
  2291. package/lib/esm/core/components/toast/ToastProvider.js +0 -13
  2292. package/lib/esm/core/components/toast/ToastProvider.js.map +0 -1
  2293. package/lib/esm/core/components/toast/index.js +0 -3
  2294. package/lib/esm/core/components/toast/index.js.map +0 -1
  2295. package/lib/esm/core/hooks/CompositeState.js +0 -256
  2296. package/lib/esm/core/hooks/CompositeState.js.map +0 -1
  2297. package/lib/esm/core/hooks/PortalContainerProvider.js +0 -50
  2298. package/lib/esm/core/hooks/PortalContainerProvider.js.map +0 -1
  2299. package/lib/esm/core/hooks/SharedState.js +0 -64
  2300. package/lib/esm/core/hooks/SharedState.js.map +0 -1
  2301. package/lib/esm/core/hooks/index.js +0 -16
  2302. package/lib/esm/core/hooks/index.js.map +0 -1
  2303. package/lib/esm/core/hooks/useClickOutside.js +0 -29
  2304. package/lib/esm/core/hooks/useClickOutside.js.map +0 -1
  2305. package/lib/esm/core/hooks/useCopyToClipboard.js.map +0 -1
  2306. package/lib/esm/core/hooks/useDarkMode.js +0 -11
  2307. package/lib/esm/core/hooks/useDarkMode.js.map +0 -1
  2308. package/lib/esm/core/hooks/useDebounce.js +0 -14
  2309. package/lib/esm/core/hooks/useDebounce.js.map +0 -1
  2310. package/lib/esm/core/hooks/useEventSource.js +0 -31
  2311. package/lib/esm/core/hooks/useEventSource.js.map +0 -1
  2312. package/lib/esm/core/hooks/useFetch.js +0 -40
  2313. package/lib/esm/core/hooks/useFetch.js.map +0 -1
  2314. package/lib/esm/core/hooks/useFlag.js +0 -13
  2315. package/lib/esm/core/hooks/useFlag.js.map +0 -1
  2316. package/lib/esm/core/hooks/useIntersectionObserver.js +0 -34
  2317. package/lib/esm/core/hooks/useIntersectionObserver.js.map +0 -1
  2318. package/lib/esm/core/hooks/useIsFistRendering.js +0 -14
  2319. package/lib/esm/core/hooks/useIsFistRendering.js.map +0 -1
  2320. package/lib/esm/core/hooks/useSafeLayoutEffect.js +0 -4
  2321. package/lib/esm/core/hooks/useSafeLayoutEffect.js.map +0 -1
  2322. package/lib/esm/core/hooks/useScrollableSearch.js +0 -92
  2323. package/lib/esm/core/hooks/useScrollableSearch.js.map +0 -1
  2324. package/lib/esm/core/hooks/useSharedValue.js +0 -21
  2325. package/lib/esm/core/hooks/useSharedValue.js.map +0 -1
  2326. package/lib/esm/core/index.js +0 -4
  2327. package/lib/esm/core/index.js.map +0 -1
  2328. package/lib/esm/core/utils/cn.js +0 -6
  2329. package/lib/esm/core/utils/cn.js.map +0 -1
  2330. package/lib/esm/core/utils/index.js +0 -2
  2331. package/lib/esm/core/utils/index.js.map +0 -1
  2332. package/lib/esm/env/index.js +0 -85
  2333. package/lib/esm/env/index.js.map +0 -1
  2334. package/lib/esm/features/activity-doc/ActivityDoc.js +0 -71
  2335. package/lib/esm/features/activity-doc/ActivityDoc.js.map +0 -1
  2336. package/lib/esm/features/activity-doc/index.js +0 -2
  2337. package/lib/esm/features/activity-doc/index.js.map +0 -1
  2338. package/lib/esm/features/agent/PayloadBuilder.js +0 -421
  2339. package/lib/esm/features/agent/PayloadBuilder.js.map +0 -1
  2340. package/lib/esm/features/agent/chat/AgentChart.js +0 -26
  2341. package/lib/esm/features/agent/chat/AgentChart.js.map +0 -1
  2342. package/lib/esm/features/agent/chat/AgentRightPanel.js +0 -169
  2343. package/lib/esm/features/agent/chat/AgentRightPanel.js.map +0 -1
  2344. package/lib/esm/features/agent/chat/AnimatedThinkingDots.js +0 -243
  2345. package/lib/esm/features/agent/chat/AnimatedThinkingDots.js.map +0 -1
  2346. package/lib/esm/features/agent/chat/ArtifactsTab.js +0 -69
  2347. package/lib/esm/features/agent/chat/ArtifactsTab.js.map +0 -1
  2348. package/lib/esm/features/agent/chat/AskUserWidget.js +0 -116
  2349. package/lib/esm/features/agent/chat/AskUserWidget.js.map +0 -1
  2350. package/lib/esm/features/agent/chat/DocumentPanel.js +0 -52
  2351. package/lib/esm/features/agent/chat/DocumentPanel.js.map +0 -1
  2352. package/lib/esm/features/agent/chat/DocumentTabBar.js +0 -9
  2353. package/lib/esm/features/agent/chat/DocumentTabBar.js.map +0 -1
  2354. package/lib/esm/features/agent/chat/ImageLightbox.js +0 -35
  2355. package/lib/esm/features/agent/chat/ImageLightbox.js.map +0 -1
  2356. package/lib/esm/features/agent/chat/JumpingDots.js +0 -6
  2357. package/lib/esm/features/agent/chat/JumpingDots.js.map +0 -1
  2358. package/lib/esm/features/agent/chat/ModernAgentConversation.js +0 -878
  2359. package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +0 -1
  2360. package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +0 -488
  2361. package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +0 -1
  2362. package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js +0 -90
  2363. package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js.map +0 -1
  2364. package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js +0 -114
  2365. package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js.map +0 -1
  2366. package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js +0 -29
  2367. package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js.map +0 -1
  2368. package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +0 -94
  2369. package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +0 -1
  2370. package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js +0 -202
  2371. package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js.map +0 -1
  2372. package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js +0 -322
  2373. package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js.map +0 -1
  2374. package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js +0 -20
  2375. package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js.map +0 -1
  2376. package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js +0 -65
  2377. package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +0 -1
  2378. package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js +0 -23
  2379. package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js.map +0 -1
  2380. package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js +0 -52
  2381. package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js.map +0 -1
  2382. package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +0 -84
  2383. package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +0 -1
  2384. package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js +0 -13
  2385. package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js.map +0 -1
  2386. package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js +0 -203
  2387. package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js.map +0 -1
  2388. package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js +0 -556
  2389. package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js.map +0 -1
  2390. package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +0 -108
  2391. package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +0 -1
  2392. package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js +0 -614
  2393. package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js.map +0 -1
  2394. package/lib/esm/features/agent/chat/SkillWidgetProvider.js +0 -145
  2395. package/lib/esm/features/agent/chat/SkillWidgetProvider.js.map +0 -1
  2396. package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js +0 -262
  2397. package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js.map +0 -1
  2398. package/lib/esm/features/agent/chat/VegaLiteChart.js +0 -793
  2399. package/lib/esm/features/agent/chat/VegaLiteChart.js.map +0 -1
  2400. package/lib/esm/features/agent/chat/WaitingMessages.js +0 -60
  2401. package/lib/esm/features/agent/chat/WaitingMessages.js.map +0 -1
  2402. package/lib/esm/features/agent/chat/hooks/useAgentPlans.js +0 -141
  2403. package/lib/esm/features/agent/chat/hooks/useAgentPlans.js.map +0 -1
  2404. package/lib/esm/features/agent/chat/hooks/useAgentStream.js +0 -243
  2405. package/lib/esm/features/agent/chat/hooks/useAgentStream.js.map +0 -1
  2406. package/lib/esm/features/agent/chat/hooks/useArtifacts.js +0 -108
  2407. package/lib/esm/features/agent/chat/hooks/useArtifacts.js.map +0 -1
  2408. package/lib/esm/features/agent/chat/hooks/useDocumentPanel.js +0 -155
  2409. package/lib/esm/features/agent/chat/hooks/useDocumentPanel.js.map +0 -1
  2410. package/lib/esm/features/agent/chat/hooks/useFileProcessing.js +0 -92
  2411. package/lib/esm/features/agent/chat/hooks/useFileProcessing.js.map +0 -1
  2412. package/lib/esm/features/agent/chat/index.js +0 -18
  2413. package/lib/esm/features/agent/chat/index.js.map +0 -1
  2414. package/lib/esm/features/agent/chat/types/document.js.map +0 -1
  2415. package/lib/esm/features/agent/chat/useArtifactUrlCache.js +0 -62
  2416. package/lib/esm/features/agent/chat/useArtifactUrlCache.js.map +0 -1
  2417. package/lib/esm/features/agent/index.js +0 -3
  2418. package/lib/esm/features/agent/index.js.map +0 -1
  2419. package/lib/esm/features/errors/PanelErrorBoundary.js +0 -13
  2420. package/lib/esm/features/errors/PanelErrorBoundary.js.map +0 -1
  2421. package/lib/esm/features/errors/RowErrorBoundary.js +0 -9
  2422. package/lib/esm/features/errors/RowErrorBoundary.js.map +0 -1
  2423. package/lib/esm/features/errors/VertesiaErrorBoundary.js +0 -15
  2424. package/lib/esm/features/errors/VertesiaErrorBoundary.js.map +0 -1
  2425. package/lib/esm/features/errors/WidgetErrorBoundary.js +0 -11
  2426. package/lib/esm/features/errors/WidgetErrorBoundary.js.map +0 -1
  2427. package/lib/esm/features/errors/index.js +0 -5
  2428. package/lib/esm/features/errors/index.js.map +0 -1
  2429. package/lib/esm/features/facets/AgentRunnerFacetsNav.js +0 -98
  2430. package/lib/esm/features/facets/AgentRunnerFacetsNav.js.map +0 -1
  2431. package/lib/esm/features/facets/CollectionsFacetsNav.js +0 -89
  2432. package/lib/esm/features/facets/CollectionsFacetsNav.js.map +0 -1
  2433. package/lib/esm/features/facets/DocumentsFacetsNav.js +0 -151
  2434. package/lib/esm/features/facets/DocumentsFacetsNav.js.map +0 -1
  2435. package/lib/esm/features/facets/EnvironmentFacet.js +0 -39
  2436. package/lib/esm/features/facets/EnvironmentFacet.js.map +0 -1
  2437. package/lib/esm/features/facets/InteractionsFacetsNav.js +0 -88
  2438. package/lib/esm/features/facets/InteractionsFacetsNav.js.map +0 -1
  2439. package/lib/esm/features/facets/PromptsFacetsNav.js +0 -80
  2440. package/lib/esm/features/facets/PromptsFacetsNav.js.map +0 -1
  2441. package/lib/esm/features/facets/RunsFacetsNav.js +0 -164
  2442. package/lib/esm/features/facets/RunsFacetsNav.js.map +0 -1
  2443. package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js +0 -119
  2444. package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js.map +0 -1
  2445. package/lib/esm/features/facets/index.js +0 -17
  2446. package/lib/esm/features/facets/index.js.map +0 -1
  2447. package/lib/esm/features/facets/utils/SearchInterface.js +0 -2
  2448. package/lib/esm/features/facets/utils/SearchInterface.js.map +0 -1
  2449. package/lib/esm/features/facets/utils/StringFacet.js +0 -12
  2450. package/lib/esm/features/facets/utils/StringFacet.js.map +0 -1
  2451. package/lib/esm/features/facets/utils/StringListFacet.js +0 -11
  2452. package/lib/esm/features/facets/utils/StringListFacet.js.map +0 -1
  2453. package/lib/esm/features/facets/utils/TypeFacet.js +0 -42
  2454. package/lib/esm/features/facets/utils/TypeFacet.js.map +0 -1
  2455. package/lib/esm/features/facets/utils/VEnvironmentFacet.js +0 -25
  2456. package/lib/esm/features/facets/utils/VEnvironmentFacet.js.map +0 -1
  2457. package/lib/esm/features/facets/utils/VInteractionFacet.js +0 -45
  2458. package/lib/esm/features/facets/utils/VInteractionFacet.js.map +0 -1
  2459. package/lib/esm/features/facets/utils/VStringFacet.js +0 -20
  2460. package/lib/esm/features/facets/utils/VStringFacet.js.map +0 -1
  2461. package/lib/esm/features/facets/utils/VTypeFacet.js +0 -61
  2462. package/lib/esm/features/facets/utils/VTypeFacet.js.map +0 -1
  2463. package/lib/esm/features/facets/utils/VUserFacet.js +0 -31
  2464. package/lib/esm/features/facets/utils/VUserFacet.js.map +0 -1
  2465. package/lib/esm/features/facets/utils/utils.js.map +0 -1
  2466. package/lib/esm/features/index.js +0 -13
  2467. package/lib/esm/features/index.js.map +0 -1
  2468. package/lib/esm/features/layout/GenericPageNavHeader.js +0 -86
  2469. package/lib/esm/features/layout/GenericPageNavHeader.js.map +0 -1
  2470. package/lib/esm/features/layout/NotFoundView.js +0 -7
  2471. package/lib/esm/features/layout/NotFoundView.js.map +0 -1
  2472. package/lib/esm/features/layout/index.js +0 -3
  2473. package/lib/esm/features/layout/index.js.map +0 -1
  2474. package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js +0 -272
  2475. package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js.map +0 -1
  2476. package/lib/esm/features/magic-pdf/DownloadPopover.js +0 -29
  2477. package/lib/esm/features/magic-pdf/DownloadPopover.js.map +0 -1
  2478. package/lib/esm/features/magic-pdf/ExtractedContentView.js +0 -77
  2479. package/lib/esm/features/magic-pdf/ExtractedContentView.js.map +0 -1
  2480. package/lib/esm/features/magic-pdf/MagicPdfProvider.js +0 -242
  2481. package/lib/esm/features/magic-pdf/MagicPdfProvider.js.map +0 -1
  2482. package/lib/esm/features/magic-pdf/MagicPdfView.js +0 -64
  2483. package/lib/esm/features/magic-pdf/MagicPdfView.js.map +0 -1
  2484. package/lib/esm/features/magic-pdf/index.js +0 -2
  2485. package/lib/esm/features/magic-pdf/index.js.map +0 -1
  2486. package/lib/esm/features/magic-pdf/types.js.map +0 -1
  2487. package/lib/esm/features/oauth/OAuthProviderConnectButton.js +0 -85
  2488. package/lib/esm/features/oauth/OAuthProviderConnectButton.js.map +0 -1
  2489. package/lib/esm/features/oauth/RemoteMcpConnectionButton.js +0 -119
  2490. package/lib/esm/features/oauth/RemoteMcpConnectionButton.js.map +0 -1
  2491. package/lib/esm/features/oauth/index.js.map +0 -1
  2492. package/lib/esm/features/oauth/useOAuthPopup.js.map +0 -1
  2493. package/lib/esm/features/pdf-viewer/PdfPageRenderer.js +0 -261
  2494. package/lib/esm/features/pdf-viewer/PdfPageRenderer.js.map +0 -1
  2495. package/lib/esm/features/pdf-viewer/PdfPageSlider.js +0 -280
  2496. package/lib/esm/features/pdf-viewer/PdfPageSlider.js.map +0 -1
  2497. package/lib/esm/features/pdf-viewer/SimplePdfViewer.js +0 -73
  2498. package/lib/esm/features/pdf-viewer/SimplePdfViewer.js.map +0 -1
  2499. package/lib/esm/features/pdf-viewer/index.js.map +0 -1
  2500. package/lib/esm/features/permissions/SecureButton.js +0 -13
  2501. package/lib/esm/features/permissions/SecureButton.js.map +0 -1
  2502. package/lib/esm/features/permissions/SecureSidebarItem.js +0 -14
  2503. package/lib/esm/features/permissions/SecureSidebarItem.js.map +0 -1
  2504. package/lib/esm/features/permissions/UserPermissionsProvider.js +0 -89
  2505. package/lib/esm/features/permissions/UserPermissionsProvider.js.map +0 -1
  2506. package/lib/esm/features/permissions/helpers.js.map +0 -1
  2507. package/lib/esm/features/permissions/index.js +0 -5
  2508. package/lib/esm/features/permissions/index.js.map +0 -1
  2509. package/lib/esm/features/store/collections/BrowseCollectionView.js +0 -48
  2510. package/lib/esm/features/store/collections/BrowseCollectionView.js.map +0 -1
  2511. package/lib/esm/features/store/collections/CollectionsTable.js +0 -71
  2512. package/lib/esm/features/store/collections/CollectionsTable.js.map +0 -1
  2513. package/lib/esm/features/store/collections/CreateCollection.js +0 -90
  2514. package/lib/esm/features/store/collections/CreateCollection.js.map +0 -1
  2515. package/lib/esm/features/store/collections/EditCollectionView.js +0 -212
  2516. package/lib/esm/features/store/collections/EditCollectionView.js.map +0 -1
  2517. package/lib/esm/features/store/collections/SelectCollection.js +0 -134
  2518. package/lib/esm/features/store/collections/SelectCollection.js.map +0 -1
  2519. package/lib/esm/features/store/collections/SharedPropsEditor.js +0 -41
  2520. package/lib/esm/features/store/collections/SharedPropsEditor.js.map +0 -1
  2521. package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js +0 -37
  2522. package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js.map +0 -1
  2523. package/lib/esm/features/store/collections/index.js +0 -8
  2524. package/lib/esm/features/store/collections/index.js.map +0 -1
  2525. package/lib/esm/features/store/index.js +0 -4
  2526. package/lib/esm/features/store/index.js.map +0 -1
  2527. package/lib/esm/features/store/objects/DocumentPreviewPanel.js +0 -149
  2528. package/lib/esm/features/store/objects/DocumentPreviewPanel.js.map +0 -1
  2529. package/lib/esm/features/store/objects/DocumentSearchResults.js +0 -216
  2530. package/lib/esm/features/store/objects/DocumentSearchResults.js.map +0 -1
  2531. package/lib/esm/features/store/objects/DocumentSelectionProvider.js +0 -81
  2532. package/lib/esm/features/store/objects/DocumentSelectionProvider.js.map +0 -1
  2533. package/lib/esm/features/store/objects/DocumentTable.js +0 -281
  2534. package/lib/esm/features/store/objects/DocumentTable.js.map +0 -1
  2535. package/lib/esm/features/store/objects/ExportPropertiesModal.js +0 -34
  2536. package/lib/esm/features/store/objects/ExportPropertiesModal.js.map +0 -1
  2537. package/lib/esm/features/store/objects/components/ContentDispositionButton.js +0 -33
  2538. package/lib/esm/features/store/objects/components/ContentDispositionButton.js.map +0 -1
  2539. package/lib/esm/features/store/objects/components/ContentOverview.js +0 -562
  2540. package/lib/esm/features/store/objects/components/ContentOverview.js.map +0 -1
  2541. package/lib/esm/features/store/objects/components/DocumentIcon.js +0 -34
  2542. package/lib/esm/features/store/objects/components/DocumentIcon.js.map +0 -1
  2543. package/lib/esm/features/store/objects/components/DocumentInput.js +0 -51
  2544. package/lib/esm/features/store/objects/components/DocumentInput.js.map +0 -1
  2545. package/lib/esm/features/store/objects/components/PropertiesEditorModal.js +0 -159
  2546. package/lib/esm/features/store/objects/components/PropertiesEditorModal.js.map +0 -1
  2547. package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js +0 -50
  2548. package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js.map +0 -1
  2549. package/lib/esm/features/store/objects/components/SelectDocument.js +0 -58
  2550. package/lib/esm/features/store/objects/components/SelectDocument.js.map +0 -1
  2551. package/lib/esm/features/store/objects/components/SelectDocumentModal.js +0 -7
  2552. package/lib/esm/features/store/objects/components/SelectDocumentModal.js.map +0 -1
  2553. package/lib/esm/features/store/objects/components/TextEditorPanel.js +0 -99
  2554. package/lib/esm/features/store/objects/components/TextEditorPanel.js.map +0 -1
  2555. package/lib/esm/features/store/objects/components/VectorSearchWidget.js +0 -92
  2556. package/lib/esm/features/store/objects/components/VectorSearchWidget.js.map +0 -1
  2557. package/lib/esm/features/store/objects/components/index.js +0 -10
  2558. package/lib/esm/features/store/objects/components/index.js.map +0 -1
  2559. package/lib/esm/features/store/objects/components/useContentPanelHooks.js +0 -191
  2560. package/lib/esm/features/store/objects/components/useContentPanelHooks.js.map +0 -1
  2561. package/lib/esm/features/store/objects/components/useDownloadFile.js +0 -196
  2562. package/lib/esm/features/store/objects/components/useDownloadFile.js.map +0 -1
  2563. package/lib/esm/features/store/objects/index.js +0 -11
  2564. package/lib/esm/features/store/objects/index.js.map +0 -1
  2565. package/lib/esm/features/store/objects/layout/DocumentTableColumn.js +0 -86
  2566. package/lib/esm/features/store/objects/layout/DocumentTableColumn.js.map +0 -1
  2567. package/lib/esm/features/store/objects/layout/documentLayout.js +0 -19
  2568. package/lib/esm/features/store/objects/layout/documentLayout.js.map +0 -1
  2569. package/lib/esm/features/store/objects/layout/index.js +0 -3
  2570. package/lib/esm/features/store/objects/layout/index.js.map +0 -1
  2571. package/lib/esm/features/store/objects/layout/renderers.js +0 -166
  2572. package/lib/esm/features/store/objects/layout/renderers.js.map +0 -1
  2573. package/lib/esm/features/store/objects/search/DocumentSearchContext.js +0 -181
  2574. package/lib/esm/features/store/objects/search/DocumentSearchContext.js.map +0 -1
  2575. package/lib/esm/features/store/objects/search/DocumentSearchProvider.js +0 -42
  2576. package/lib/esm/features/store/objects/search/DocumentSearchProvider.js.map +0 -1
  2577. package/lib/esm/features/store/objects/search/index.js +0 -3
  2578. package/lib/esm/features/store/objects/search/index.js.map +0 -1
  2579. package/lib/esm/features/store/objects/selection/ObjectsActionContext.js +0 -63
  2580. package/lib/esm/features/store/objects/selection/ObjectsActionContext.js.map +0 -1
  2581. package/lib/esm/features/store/objects/selection/ObjectsActionContextClass.js +0 -50
  2582. package/lib/esm/features/store/objects/selection/ObjectsActionContextClass.js.map +0 -1
  2583. package/lib/esm/features/store/objects/selection/ObjectsActionHooks.js +0 -27
  2584. package/lib/esm/features/store/objects/selection/ObjectsActionHooks.js.map +0 -1
  2585. package/lib/esm/features/store/objects/selection/ObjectsActionSpec.js.map +0 -1
  2586. package/lib/esm/features/store/objects/selection/SelectionActions.js +0 -71
  2587. package/lib/esm/features/store/objects/selection/SelectionActions.js.map +0 -1
  2588. package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js +0 -86
  2589. package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js.map +0 -1
  2590. package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js +0 -57
  2591. package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js.map +0 -1
  2592. package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js +0 -32
  2593. package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js.map +0 -1
  2594. package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js +0 -85
  2595. package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js.map +0 -1
  2596. package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js +0 -119
  2597. package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js.map +0 -1
  2598. package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js +0 -68
  2599. package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js.map +0 -1
  2600. package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js +0 -78
  2601. package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js.map +0 -1
  2602. package/lib/esm/features/store/objects/selection/actions/index.js +0 -8
  2603. package/lib/esm/features/store/objects/selection/actions/index.js.map +0 -1
  2604. package/lib/esm/features/store/objects/selection/index.js +0 -5
  2605. package/lib/esm/features/store/objects/selection/index.js.map +0 -1
  2606. package/lib/esm/features/store/objects/upload/DocumentUploadModal.js +0 -520
  2607. package/lib/esm/features/store/objects/upload/DocumentUploadModal.js.map +0 -1
  2608. package/lib/esm/features/store/objects/upload/index.js +0 -4
  2609. package/lib/esm/features/store/objects/upload/index.js.map +0 -1
  2610. package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js +0 -204
  2611. package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js.map +0 -1
  2612. package/lib/esm/features/store/objects/upload/useUploadHandler.js +0 -232
  2613. package/lib/esm/features/store/objects/upload/useUploadHandler.js.map +0 -1
  2614. package/lib/esm/features/store/types/ContentObjectTypesSearch.js +0 -84
  2615. package/lib/esm/features/store/types/ContentObjectTypesSearch.js.map +0 -1
  2616. package/lib/esm/features/store/types/ContentObjectTypesTable.js +0 -13
  2617. package/lib/esm/features/store/types/ContentObjectTypesTable.js.map +0 -1
  2618. package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js +0 -25
  2619. package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js.map +0 -1
  2620. package/lib/esm/features/store/types/ObjectSchemaEditor.js +0 -104
  2621. package/lib/esm/features/store/types/ObjectSchemaEditor.js.map +0 -1
  2622. package/lib/esm/features/store/types/SelectContentType.js +0 -45
  2623. package/lib/esm/features/store/types/SelectContentType.js.map +0 -1
  2624. package/lib/esm/features/store/types/SelectContentTypeModal.js +0 -32
  2625. package/lib/esm/features/store/types/SelectContentTypeModal.js.map +0 -1
  2626. package/lib/esm/features/store/types/TableLayoutEditor.js +0 -78
  2627. package/lib/esm/features/store/types/TableLayoutEditor.js.map +0 -1
  2628. package/lib/esm/features/store/types/TypeRegistry.js.map +0 -1
  2629. package/lib/esm/features/store/types/TypeRegistryProvider.js +0 -53
  2630. package/lib/esm/features/store/types/TypeRegistryProvider.js.map +0 -1
  2631. package/lib/esm/features/store/types/index.js +0 -11
  2632. package/lib/esm/features/store/types/index.js.map +0 -1
  2633. package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js +0 -98
  2634. package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js.map +0 -1
  2635. package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js +0 -15
  2636. package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js.map +0 -1
  2637. package/lib/esm/features/store/types/search/index.js +0 -3
  2638. package/lib/esm/features/store/types/search/index.js.map +0 -1
  2639. package/lib/esm/features/user/UserAvatar.js +0 -18
  2640. package/lib/esm/features/user/UserAvatar.js.map +0 -1
  2641. package/lib/esm/features/user/UserInfo.js +0 -198
  2642. package/lib/esm/features/user/UserInfo.js.map +0 -1
  2643. package/lib/esm/features/user/index.js +0 -3
  2644. package/lib/esm/features/user/index.js.map +0 -1
  2645. package/lib/esm/features/utils/index.js +0 -6
  2646. package/lib/esm/features/utils/index.js.map +0 -1
  2647. package/lib/esm/features/utils/mimeType.js.map +0 -1
  2648. package/lib/esm/features/utils/print.js +0 -180
  2649. package/lib/esm/features/utils/print.js.map +0 -1
  2650. package/lib/esm/features/utils/rendition.js +0 -67
  2651. package/lib/esm/features/utils/rendition.js.map +0 -1
  2652. package/lib/esm/features/utils/text.js +0 -10
  2653. package/lib/esm/features/utils/text.js.map +0 -1
  2654. package/lib/esm/features/utils/workflowStatus.js +0 -43
  2655. package/lib/esm/features/utils/workflowStatus.js.map +0 -1
  2656. package/lib/esm/i18n/index.js +0 -31
  2657. package/lib/esm/i18n/index.js.map +0 -1
  2658. package/lib/esm/i18n/instance.js.map +0 -1
  2659. package/lib/esm/i18n/locales/ar.json +0 -677
  2660. package/lib/esm/i18n/locales/de.json +0 -633
  2661. package/lib/esm/i18n/locales/en.json +0 -636
  2662. package/lib/esm/i18n/locales/es.json +0 -644
  2663. package/lib/esm/i18n/locales/fr.json +0 -644
  2664. package/lib/esm/i18n/locales/it.json +0 -644
  2665. package/lib/esm/i18n/locales/ja.json +0 -633
  2666. package/lib/esm/i18n/locales/ko.json +0 -633
  2667. package/lib/esm/i18n/locales/pt.json +0 -644
  2668. package/lib/esm/i18n/locales/ru.json +0 -655
  2669. package/lib/esm/i18n/locales/tr.json +0 -633
  2670. package/lib/esm/i18n/locales/zh-TW.json +0 -633
  2671. package/lib/esm/i18n/locales/zh.json +0 -633
  2672. package/lib/esm/layout/AppLayout.js +0 -45
  2673. package/lib/esm/layout/AppLayout.js.map +0 -1
  2674. package/lib/esm/layout/FullHeightLayout.js +0 -24
  2675. package/lib/esm/layout/FullHeightLayout.js.map +0 -1
  2676. package/lib/esm/layout/Navbar.js +0 -42
  2677. package/lib/esm/layout/Navbar.js.map +0 -1
  2678. package/lib/esm/layout/RegionTag.js.map +0 -1
  2679. package/lib/esm/layout/Sidebar.js +0 -45
  2680. package/lib/esm/layout/Sidebar.js.map +0 -1
  2681. package/lib/esm/layout/SidebarContext.js +0 -10
  2682. package/lib/esm/layout/SidebarContext.js.map +0 -1
  2683. package/lib/esm/layout/TitleBar.js +0 -5
  2684. package/lib/esm/layout/TitleBar.js.map +0 -1
  2685. package/lib/esm/layout/index.js +0 -8
  2686. package/lib/esm/layout/index.js.map +0 -1
  2687. package/lib/esm/router/FixLinks.js +0 -23
  2688. package/lib/esm/router/FixLinks.js.map +0 -1
  2689. package/lib/esm/router/HistoryNavigator.js +0 -198
  2690. package/lib/esm/router/HistoryNavigator.js.map +0 -1
  2691. package/lib/esm/router/Nav.js +0 -28
  2692. package/lib/esm/router/Nav.js.map +0 -1
  2693. package/lib/esm/router/NestedNavigationContext.js +0 -23
  2694. package/lib/esm/router/NestedNavigationContext.js.map +0 -1
  2695. package/lib/esm/router/NestedRouterProvider.js +0 -46
  2696. package/lib/esm/router/NestedRouterProvider.js.map +0 -1
  2697. package/lib/esm/router/PathMatcher.js +0 -159
  2698. package/lib/esm/router/PathMatcher.js.map +0 -1
  2699. package/lib/esm/router/PathWithParams.js +0 -34
  2700. package/lib/esm/router/PathWithParams.js.map +0 -1
  2701. package/lib/esm/router/Route404.js +0 -18
  2702. package/lib/esm/router/Route404.js.map +0 -1
  2703. package/lib/esm/router/RouteComponent.js +0 -32
  2704. package/lib/esm/router/RouteComponent.js.map +0 -1
  2705. package/lib/esm/router/Router.js +0 -176
  2706. package/lib/esm/router/Router.js.map +0 -1
  2707. package/lib/esm/router/RouterProvider.js +0 -41
  2708. package/lib/esm/router/RouterProvider.js.map +0 -1
  2709. package/lib/esm/router/index.js +0 -11
  2710. package/lib/esm/router/index.js.map +0 -1
  2711. package/lib/esm/router/path.js +0 -140
  2712. package/lib/esm/router/path.js.map +0 -1
  2713. package/lib/esm/session/UserSession.js +0 -221
  2714. package/lib/esm/session/UserSession.js.map +0 -1
  2715. package/lib/esm/session/UserSessionProvider.js +0 -189
  2716. package/lib/esm/session/UserSessionProvider.js.map +0 -1
  2717. package/lib/esm/session/auth/composable.js +0 -273
  2718. package/lib/esm/session/auth/composable.js.map +0 -1
  2719. package/lib/esm/session/auth/domainRouting.js.map +0 -1
  2720. package/lib/esm/session/auth/firebase.js +0 -158
  2721. package/lib/esm/session/auth/firebase.js.map +0 -1
  2722. package/lib/esm/session/auth/useAuthState.js +0 -46
  2723. package/lib/esm/session/auth/useAuthState.js.map +0 -1
  2724. package/lib/esm/session/auth/useCurrentTenant.js +0 -65
  2725. package/lib/esm/session/auth/useCurrentTenant.js.map +0 -1
  2726. package/lib/esm/session/constants.js.map +0 -1
  2727. package/lib/esm/session/index.js +0 -8
  2728. package/lib/esm/session/index.js.map +0 -1
  2729. package/lib/esm/session/useUXTracking.js +0 -29
  2730. package/lib/esm/session/useUXTracking.js.map +0 -1
  2731. package/lib/esm/shell/SplashScreen.js +0 -22
  2732. package/lib/esm/shell/SplashScreen.js.map +0 -1
  2733. package/lib/esm/shell/VertesiaShell.js +0 -10
  2734. package/lib/esm/shell/VertesiaShell.js.map +0 -1
  2735. package/lib/esm/shell/apps/AppInstallationProvider.js +0 -13
  2736. package/lib/esm/shell/apps/AppInstallationProvider.js.map +0 -1
  2737. package/lib/esm/shell/apps/AppProjectSelector.js +0 -36
  2738. package/lib/esm/shell/apps/AppProjectSelector.js.map +0 -1
  2739. package/lib/esm/shell/apps/StandaloneApp.js +0 -90
  2740. package/lib/esm/shell/apps/StandaloneApp.js.map +0 -1
  2741. package/lib/esm/shell/apps/index.js +0 -4
  2742. package/lib/esm/shell/apps/index.js.map +0 -1
  2743. package/lib/esm/shell/index.js +0 -8
  2744. package/lib/esm/shell/index.js.map +0 -1
  2745. package/lib/esm/shell/login/EnterpriseSigninButton.js +0 -86
  2746. package/lib/esm/shell/login/EnterpriseSigninButton.js.map +0 -1
  2747. package/lib/esm/shell/login/GitHubSignInButton.js +0 -20
  2748. package/lib/esm/shell/login/GitHubSignInButton.js.map +0 -1
  2749. package/lib/esm/shell/login/GoogleSignInButton.js +0 -27
  2750. package/lib/esm/shell/login/GoogleSignInButton.js.map +0 -1
  2751. package/lib/esm/shell/login/InviteAcceptModal.js +0 -66
  2752. package/lib/esm/shell/login/InviteAcceptModal.js.map +0 -1
  2753. package/lib/esm/shell/login/MicrosoftSigninButton.js +0 -17
  2754. package/lib/esm/shell/login/MicrosoftSigninButton.js.map +0 -1
  2755. package/lib/esm/shell/login/PreviewIcon.js +0 -23
  2756. package/lib/esm/shell/login/PreviewIcon.js.map +0 -1
  2757. package/lib/esm/shell/login/SignInModal.js +0 -9
  2758. package/lib/esm/shell/login/SignInModal.js.map +0 -1
  2759. package/lib/esm/shell/login/SigninScreen.js +0 -68
  2760. package/lib/esm/shell/login/SigninScreen.js.map +0 -1
  2761. package/lib/esm/shell/login/SignupForm.js +0 -93
  2762. package/lib/esm/shell/login/SignupForm.js.map +0 -1
  2763. package/lib/esm/shell/login/TerminalLogin.js +0 -215
  2764. package/lib/esm/shell/login/TerminalLogin.js.map +0 -1
  2765. package/lib/esm/shell/login/UserInfo.js +0 -43
  2766. package/lib/esm/shell/login/UserInfo.js.map +0 -1
  2767. package/lib/esm/shell/login/UserSessionMenu.js +0 -36
  2768. package/lib/esm/shell/login/UserSessionMenu.js.map +0 -1
  2769. package/lib/esm/shell/utils.js +0 -6
  2770. package/lib/esm/shell/utils.js.map +0 -1
  2771. package/lib/esm/widgets/Progress.js.map +0 -1
  2772. package/lib/esm/widgets/SvgIcon.js +0 -36
  2773. package/lib/esm/widgets/SvgIcon.js.map +0 -1
  2774. package/lib/esm/widgets/form/Form.js +0 -100
  2775. package/lib/esm/widgets/form/Form.js.map +0 -1
  2776. package/lib/esm/widgets/form/FormContext.js +0 -31
  2777. package/lib/esm/widgets/form/FormContext.js.map +0 -1
  2778. package/lib/esm/widgets/form/ManagedObject.js +0 -287
  2779. package/lib/esm/widgets/form/ManagedObject.js.map +0 -1
  2780. package/lib/esm/widgets/form/fields.js +0 -12
  2781. package/lib/esm/widgets/form/fields.js.map +0 -1
  2782. package/lib/esm/widgets/form/index.js +0 -7
  2783. package/lib/esm/widgets/form/index.js.map +0 -1
  2784. package/lib/esm/widgets/form/inputs.js +0 -38
  2785. package/lib/esm/widgets/form/inputs.js.map +0 -1
  2786. package/lib/esm/widgets/form/schema.js +0 -199
  2787. package/lib/esm/widgets/form/schema.js.map +0 -1
  2788. package/lib/esm/widgets/index.js +0 -11
  2789. package/lib/esm/widgets/index.js.map +0 -1
  2790. package/lib/esm/widgets/json-view/JSONCode.js +0 -22
  2791. package/lib/esm/widgets/json-view/JSONCode.js.map +0 -1
  2792. package/lib/esm/widgets/json-view/JSONDisplay.js +0 -14
  2793. package/lib/esm/widgets/json-view/JSONDisplay.js.map +0 -1
  2794. package/lib/esm/widgets/json-view/JSONEditor.js +0 -53
  2795. package/lib/esm/widgets/json-view/JSONEditor.js.map +0 -1
  2796. package/lib/esm/widgets/json-view/JSONSwitcher.js +0 -6
  2797. package/lib/esm/widgets/json-view/JSONSwitcher.js.map +0 -1
  2798. package/lib/esm/widgets/json-view/JSONView.js +0 -106
  2799. package/lib/esm/widgets/json-view/JSONView.js.map +0 -1
  2800. package/lib/esm/widgets/json-view/index.js +0 -6
  2801. package/lib/esm/widgets/json-view/index.js.map +0 -1
  2802. package/lib/esm/widgets/json-view/types.js.map +0 -1
  2803. package/lib/esm/widgets/markdown/ArtifactContentRenderer.js +0 -229
  2804. package/lib/esm/widgets/markdown/ArtifactContentRenderer.js.map +0 -1
  2805. package/lib/esm/widgets/markdown/CodeBlockContext.js.map +0 -1
  2806. package/lib/esm/widgets/markdown/CodeBlockPlaceholder.js +0 -56
  2807. package/lib/esm/widgets/markdown/CodeBlockPlaceholder.js.map +0 -1
  2808. package/lib/esm/widgets/markdown/CodeBlockPlaceholder.test.js +0 -50
  2809. package/lib/esm/widgets/markdown/CodeBlockPlaceholder.test.js.map +0 -1
  2810. package/lib/esm/widgets/markdown/CodeBlockRendering.js +0 -38
  2811. package/lib/esm/widgets/markdown/CodeBlockRendering.js.map +0 -1
  2812. package/lib/esm/widgets/markdown/MarkdownFigure.js +0 -40
  2813. package/lib/esm/widgets/markdown/MarkdownFigure.js.map +0 -1
  2814. package/lib/esm/widgets/markdown/MarkdownImage.js +0 -41
  2815. package/lib/esm/widgets/markdown/MarkdownImage.js.map +0 -1
  2816. package/lib/esm/widgets/markdown/MarkdownLink.js +0 -46
  2817. package/lib/esm/widgets/markdown/MarkdownLink.js.map +0 -1
  2818. package/lib/esm/widgets/markdown/MarkdownRenderer.js +0 -163
  2819. package/lib/esm/widgets/markdown/MarkdownRenderer.js.map +0 -1
  2820. package/lib/esm/widgets/markdown/MermaidDiagram.js +0 -148
  2821. package/lib/esm/widgets/markdown/MermaidDiagram.js.map +0 -1
  2822. package/lib/esm/widgets/markdown/codeBlockHandlers.js +0 -329
  2823. package/lib/esm/widgets/markdown/codeBlockHandlers.js.map +0 -1
  2824. package/lib/esm/widgets/markdown/codeBlockHandlers.test.js +0 -179
  2825. package/lib/esm/widgets/markdown/codeBlockHandlers.test.js.map +0 -1
  2826. package/lib/esm/widgets/markdown/index.js +0 -13
  2827. package/lib/esm/widgets/markdown/index.js.map +0 -1
  2828. package/lib/esm/widgets/markdown/normalizeCustomSchemeLinks.js +0 -77
  2829. package/lib/esm/widgets/markdown/normalizeCustomSchemeLinks.js.map +0 -1
  2830. package/lib/esm/widgets/markdown/normalizeDirectives.js +0 -45
  2831. package/lib/esm/widgets/markdown/normalizeDirectives.js.map +0 -1
  2832. package/lib/esm/widgets/markdown/preprocessMathDelimiters.js +0 -226
  2833. package/lib/esm/widgets/markdown/preprocessMathDelimiters.js.map +0 -1
  2834. package/lib/esm/widgets/markdown/remarkDirectiveHandler.js +0 -95
  2835. package/lib/esm/widgets/markdown/remarkDirectiveHandler.js.map +0 -1
  2836. package/lib/esm/widgets/markdown/useArtifactContent.js +0 -174
  2837. package/lib/esm/widgets/markdown/useArtifactContent.js.map +0 -1
  2838. package/lib/esm/widgets/markdown/useResolvedUrl.js +0 -175
  2839. package/lib/esm/widgets/markdown/useResolvedUrl.js.map +0 -1
  2840. package/lib/esm/widgets/monacoEditor/MonacoEditor.js +0 -169
  2841. package/lib/esm/widgets/monacoEditor/MonacoEditor.js.map +0 -1
  2842. package/lib/esm/widgets/monacoEditor/foldingProviders.js +0 -132
  2843. package/lib/esm/widgets/monacoEditor/foldingProviders.js.map +0 -1
  2844. package/lib/esm/widgets/monacoEditor/index.js +0 -2
  2845. package/lib/esm/widgets/monacoEditor/index.js.map +0 -1
  2846. package/lib/esm/widgets/properties/PropertiesView.js +0 -8
  2847. package/lib/esm/widgets/properties/PropertiesView.js.map +0 -1
  2848. package/lib/esm/widgets/properties/index.js +0 -2
  2849. package/lib/esm/widgets/properties/index.js.map +0 -1
  2850. package/lib/esm/widgets/schema-editor/ManagedSchema.js +0 -301
  2851. package/lib/esm/widgets/schema-editor/ManagedSchema.js.map +0 -1
  2852. package/lib/esm/widgets/schema-editor/editor/Editable.js +0 -110
  2853. package/lib/esm/widgets/schema-editor/editor/Editable.js.map +0 -1
  2854. package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js +0 -8
  2855. package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js.map +0 -1
  2856. package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js +0 -85
  2857. package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js.map +0 -1
  2858. package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js +0 -7
  2859. package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js.map +0 -1
  2860. package/lib/esm/widgets/schema-editor/editor/SchemaContext.js +0 -9
  2861. package/lib/esm/widgets/schema-editor/editor/SchemaContext.js.map +0 -1
  2862. package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js +0 -86
  2863. package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js.map +0 -1
  2864. package/lib/esm/widgets/schema-editor/index.js +0 -7
  2865. package/lib/esm/widgets/schema-editor/index.js.map +0 -1
  2866. package/lib/esm/widgets/schema-editor/json-schema4-utils.js +0 -188
  2867. package/lib/esm/widgets/schema-editor/json-schema4-utils.js.map +0 -1
  2868. package/lib/esm/widgets/schema-editor/type-signature.js.map +0 -1
  2869. package/lib/esm/widgets/upload/DropZone.js +0 -173
  2870. package/lib/esm/widgets/upload/DropZone.js.map +0 -1
  2871. package/lib/esm/widgets/upload/UploadResultCategory.js +0 -21
  2872. package/lib/esm/widgets/upload/UploadResultCategory.js.map +0 -1
  2873. package/lib/esm/widgets/upload/UploadSummary.js +0 -32
  2874. package/lib/esm/widgets/upload/UploadSummary.js.map +0 -1
  2875. package/lib/esm/widgets/upload/index.js.map +0 -1
  2876. package/lib/esm/widgets/xml-viewer/components/Attributes/index.js.map +0 -1
  2877. package/lib/esm/widgets/xml-viewer/components/CDataTag/index.js.map +0 -1
  2878. package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js +0 -11
  2879. package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js.map +0 -1
  2880. package/lib/esm/widgets/xml-viewer/components/CommentTag/index.js.map +0 -1
  2881. package/lib/esm/widgets/xml-viewer/components/DeclarationTag/index.js.map +0 -1
  2882. package/lib/esm/widgets/xml-viewer/components/Elements/index.js.map +0 -1
  2883. package/lib/esm/widgets/xml-viewer/components/InvalidXml/index.js.map +0 -1
  2884. package/lib/esm/widgets/xml-viewer/components/Tag/index.js.map +0 -1
  2885. package/lib/esm/widgets/xml-viewer/components/TextElement/index.js.map +0 -1
  2886. package/lib/esm/widgets/xml-viewer/components/XMLViewer.js.map +0 -1
  2887. package/lib/esm/widgets/xml-viewer/components/types.js.map +0 -1
  2888. package/lib/esm/widgets/xml-viewer/constants/index.js.map +0 -1
  2889. package/lib/esm/widgets/xml-viewer/context/xml-viewer-context.js.map +0 -1
  2890. package/lib/esm/widgets/xml-viewer/helpers/index.js +0 -40
  2891. package/lib/esm/widgets/xml-viewer/helpers/index.js.map +0 -1
  2892. package/lib/esm/widgets/xml-viewer/hooks/useCollapsible.js.map +0 -1
  2893. package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js +0 -31
  2894. package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js.map +0 -1
  2895. package/lib/esm/widgets/xml-viewer/index.js +0 -3
  2896. package/lib/esm/widgets/xml-viewer/index.js.map +0 -1
  2897. package/lib/esm/widgets/xml-viewer/types/index.js.map +0 -1
  2898. package/lib/tsconfig.tsbuildinfo +0 -1
  2899. package/lib/types/core/components/Avatar.d.ts +0 -16
  2900. package/lib/types/core/components/Avatar.d.ts.map +0 -1
  2901. package/lib/types/core/components/Center.d.ts +0 -8
  2902. package/lib/types/core/components/Center.d.ts.map +0 -1
  2903. package/lib/types/core/components/ComboBox.d.ts +0 -134
  2904. package/lib/types/core/components/ComboBox.d.ts.map +0 -1
  2905. package/lib/types/core/components/Divider.d.ts +0 -6
  2906. package/lib/types/core/components/Divider.d.ts.map +0 -1
  2907. package/lib/types/core/components/EmptyCollection.d.ts +0 -9
  2908. package/lib/types/core/components/EmptyCollection.d.ts.map +0 -1
  2909. package/lib/types/core/components/FileUpload.d.ts +0 -29
  2910. package/lib/types/core/components/FileUpload.d.ts.map +0 -1
  2911. package/lib/types/core/components/FormItem.d.ts +0 -16
  2912. package/lib/types/core/components/FormItem.d.ts.map +0 -1
  2913. package/lib/types/core/components/InputList.d.ts +0 -12
  2914. package/lib/types/core/components/InputList.d.ts.map +0 -1
  2915. package/lib/types/core/components/Link.d.ts +0 -7
  2916. package/lib/types/core/components/Link.d.ts.map +0 -1
  2917. package/lib/types/core/components/MenuList.d.ts +0 -14
  2918. package/lib/types/core/components/MenuList.d.ts.map +0 -1
  2919. package/lib/types/core/components/NumberInput.d.ts +0 -16
  2920. package/lib/types/core/components/NumberInput.d.ts.map +0 -1
  2921. package/lib/types/core/components/Overlay.d.ts +0 -25
  2922. package/lib/types/core/components/Overlay.d.ts.map +0 -1
  2923. package/lib/types/core/components/Portal.d.ts +0 -6
  2924. package/lib/types/core/components/Portal.d.ts.map +0 -1
  2925. package/lib/types/core/components/SelectList.d.ts +0 -19
  2926. package/lib/types/core/components/SelectList.d.ts.map +0 -1
  2927. package/lib/types/core/components/SidePanel.d.ts +0 -16
  2928. package/lib/types/core/components/SidePanel.d.ts.map +0 -1
  2929. package/lib/types/core/components/Spinner.d.ts +0 -7
  2930. package/lib/types/core/components/Spinner.d.ts.map +0 -1
  2931. package/lib/types/core/components/TagsInput.d.ts +0 -16
  2932. package/lib/types/core/components/TagsInput.d.ts.map +0 -1
  2933. package/lib/types/core/components/index.d.ts +0 -27
  2934. package/lib/types/core/components/index.d.ts.map +0 -1
  2935. package/lib/types/core/components/libs/utils.d.ts +0 -3
  2936. package/lib/types/core/components/libs/utils.d.ts.map +0 -1
  2937. package/lib/types/core/components/libs/visuallyHidden.d.ts +0 -7
  2938. package/lib/types/core/components/libs/visuallyHidden.d.ts.map +0 -1
  2939. package/lib/types/core/components/popup/Popup.d.ts +0 -26
  2940. package/lib/types/core/components/popup/Popup.d.ts.map +0 -1
  2941. package/lib/types/core/components/popup/PopupController.d.ts +0 -41
  2942. package/lib/types/core/components/popup/PopupController.d.ts.map +0 -1
  2943. package/lib/types/core/components/popup/index.d.ts +0 -4
  2944. package/lib/types/core/components/popup/index.d.ts.map +0 -1
  2945. package/lib/types/core/components/popup/position.d.ts.map +0 -1
  2946. package/lib/types/core/components/popup/utils.d.ts.map +0 -1
  2947. package/lib/types/core/components/shadcn/MessageBox.d.ts +0 -36
  2948. package/lib/types/core/components/shadcn/MessageBox.d.ts.map +0 -1
  2949. package/lib/types/core/components/shadcn/Panel.d.ts +0 -13
  2950. package/lib/types/core/components/shadcn/Panel.d.ts.map +0 -1
  2951. package/lib/types/core/components/shadcn/badge.d.ts +0 -21
  2952. package/lib/types/core/components/shadcn/badge.d.ts.map +0 -1
  2953. package/lib/types/core/components/shadcn/breadcrumb.d.ts +0 -15
  2954. package/lib/types/core/components/shadcn/breadcrumb.d.ts.map +0 -1
  2955. package/lib/types/core/components/shadcn/button.d.ts +0 -27
  2956. package/lib/types/core/components/shadcn/button.d.ts.map +0 -1
  2957. package/lib/types/core/components/shadcn/calendar.d.ts +0 -11
  2958. package/lib/types/core/components/shadcn/calendar.d.ts.map +0 -1
  2959. package/lib/types/core/components/shadcn/card.d.ts +0 -9
  2960. package/lib/types/core/components/shadcn/card.d.ts.map +0 -1
  2961. package/lib/types/core/components/shadcn/checkbox.d.ts +0 -5
  2962. package/lib/types/core/components/shadcn/checkbox.d.ts.map +0 -1
  2963. package/lib/types/core/components/shadcn/collaspible.d.ts +0 -6
  2964. package/lib/types/core/components/shadcn/collaspible.d.ts.map +0 -1
  2965. package/lib/types/core/components/shadcn/command.d.ts +0 -17
  2966. package/lib/types/core/components/shadcn/command.d.ts.map +0 -1
  2967. package/lib/types/core/components/shadcn/dropdown.d.ts +0 -52
  2968. package/lib/types/core/components/shadcn/dropdown.d.ts.map +0 -1
  2969. package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts +0 -9
  2970. package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts.map +0 -1
  2971. package/lib/types/core/components/shadcn/filters/animateChangeInHeight.d.ts.map +0 -1
  2972. package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts +0 -6
  2973. package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts.map +0 -1
  2974. package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts +0 -10
  2975. package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts.map +0 -1
  2976. package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts +0 -6
  2977. package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts.map +0 -1
  2978. package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts +0 -6
  2979. package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts.map +0 -1
  2980. package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts +0 -5
  2981. package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts.map +0 -1
  2982. package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts +0 -12
  2983. package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts.map +0 -1
  2984. package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts +0 -11
  2985. package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts.map +0 -1
  2986. package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts +0 -13
  2987. package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts.map +0 -1
  2988. package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts +0 -14
  2989. package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts.map +0 -1
  2990. package/lib/types/core/components/shadcn/filters/filter-styles.d.ts.map +0 -1
  2991. package/lib/types/core/components/shadcn/filters/filterBar.d.ts +0 -21
  2992. package/lib/types/core/components/shadcn/filters/filterBar.d.ts.map +0 -1
  2993. package/lib/types/core/components/shadcn/filters/filters.d.ts +0 -10
  2994. package/lib/types/core/components/shadcn/filters/filters.d.ts.map +0 -1
  2995. package/lib/types/core/components/shadcn/filters/index.d.ts.map +0 -1
  2996. package/lib/types/core/components/shadcn/filters/types.d.ts +0 -35
  2997. package/lib/types/core/components/shadcn/filters/types.d.ts.map +0 -1
  2998. package/lib/types/core/components/shadcn/heading.d.ts +0 -6
  2999. package/lib/types/core/components/shadcn/heading.d.ts.map +0 -1
  3000. package/lib/types/core/components/shadcn/index.d.ts +0 -29
  3001. package/lib/types/core/components/shadcn/index.d.ts.map +0 -1
  3002. package/lib/types/core/components/shadcn/input.d.ts +0 -17
  3003. package/lib/types/core/components/shadcn/input.d.ts.map +0 -1
  3004. package/lib/types/core/components/shadcn/label.d.ts +0 -10
  3005. package/lib/types/core/components/shadcn/label.d.ts.map +0 -1
  3006. package/lib/types/core/components/shadcn/modal/ConfirmModal.d.ts +0 -12
  3007. package/lib/types/core/components/shadcn/modal/ConfirmModal.d.ts.map +0 -1
  3008. package/lib/types/core/components/shadcn/modal/DeleteModal.d.ts +0 -11
  3009. package/lib/types/core/components/shadcn/modal/DeleteModal.d.ts.map +0 -1
  3010. package/lib/types/core/components/shadcn/modal/dialog.d.ts +0 -41
  3011. package/lib/types/core/components/shadcn/modal/dialog.d.ts.map +0 -1
  3012. package/lib/types/core/components/shadcn/modal/index.d.ts +0 -4
  3013. package/lib/types/core/components/shadcn/modal/index.d.ts.map +0 -1
  3014. package/lib/types/core/components/shadcn/popover.d.ts +0 -32
  3015. package/lib/types/core/components/shadcn/popover.d.ts.map +0 -1
  3016. package/lib/types/core/components/shadcn/radioGroup.d.ts +0 -26
  3017. package/lib/types/core/components/shadcn/radioGroup.d.ts.map +0 -1
  3018. package/lib/types/core/components/shadcn/resizeable.d.ts +0 -9
  3019. package/lib/types/core/components/shadcn/resizeable.d.ts.map +0 -1
  3020. package/lib/types/core/components/shadcn/selectBox.d.ts +0 -40
  3021. package/lib/types/core/components/shadcn/selectBox.d.ts.map +0 -1
  3022. package/lib/types/core/components/shadcn/separator.d.ts +0 -6
  3023. package/lib/types/core/components/shadcn/separator.d.ts.map +0 -1
  3024. package/lib/types/core/components/shadcn/switch.d.ts +0 -12
  3025. package/lib/types/core/components/shadcn/switch.d.ts.map +0 -1
  3026. package/lib/types/core/components/shadcn/tabs.d.ts +0 -49
  3027. package/lib/types/core/components/shadcn/tabs.d.ts.map +0 -1
  3028. package/lib/types/core/components/shadcn/text.d.ts +0 -11
  3029. package/lib/types/core/components/shadcn/text.d.ts.map +0 -1
  3030. package/lib/types/core/components/shadcn/textarea.d.ts +0 -8
  3031. package/lib/types/core/components/shadcn/textarea.d.ts.map +0 -1
  3032. package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts +0 -15
  3033. package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts.map +0 -1
  3034. package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts +0 -16
  3035. package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts.map +0 -1
  3036. package/lib/types/core/components/shadcn/tooltip.d.ts +0 -21
  3037. package/lib/types/core/components/shadcn/tooltip.d.ts.map +0 -1
  3038. package/lib/types/core/components/styles.d.ts.map +0 -1
  3039. package/lib/types/core/components/table/index.d.ts +0 -19
  3040. package/lib/types/core/components/table/index.d.ts.map +0 -1
  3041. package/lib/types/core/components/toast/NotificationPanel.d.ts +0 -8
  3042. package/lib/types/core/components/toast/NotificationPanel.d.ts.map +0 -1
  3043. package/lib/types/core/components/toast/ToastContext.d.ts +0 -6
  3044. package/lib/types/core/components/toast/ToastContext.d.ts.map +0 -1
  3045. package/lib/types/core/components/toast/ToastProps.d.ts.map +0 -1
  3046. package/lib/types/core/components/toast/ToastProvider.d.ts +0 -6
  3047. package/lib/types/core/components/toast/ToastProvider.d.ts.map +0 -1
  3048. package/lib/types/core/components/toast/index.d.ts +0 -3
  3049. package/lib/types/core/components/toast/index.d.ts.map +0 -1
  3050. package/lib/types/core/hooks/CompositeState.d.ts +0 -137
  3051. package/lib/types/core/hooks/CompositeState.d.ts.map +0 -1
  3052. package/lib/types/core/hooks/PortalContainerProvider.d.ts +0 -8
  3053. package/lib/types/core/hooks/PortalContainerProvider.d.ts.map +0 -1
  3054. package/lib/types/core/hooks/SharedState.d.ts +0 -10
  3055. package/lib/types/core/hooks/SharedState.d.ts.map +0 -1
  3056. package/lib/types/core/hooks/index.d.ts +0 -16
  3057. package/lib/types/core/hooks/index.d.ts.map +0 -1
  3058. package/lib/types/core/hooks/useClickOutside.d.ts.map +0 -1
  3059. package/lib/types/core/hooks/useCopyToClipboard.d.ts.map +0 -1
  3060. package/lib/types/core/hooks/useDarkMode.d.ts.map +0 -1
  3061. package/lib/types/core/hooks/useDebounce.d.ts.map +0 -1
  3062. package/lib/types/core/hooks/useEventSource.d.ts +0 -2
  3063. package/lib/types/core/hooks/useEventSource.d.ts.map +0 -1
  3064. package/lib/types/core/hooks/useFetch.d.ts +0 -24
  3065. package/lib/types/core/hooks/useFetch.d.ts.map +0 -1
  3066. package/lib/types/core/hooks/useFlag.d.ts.map +0 -1
  3067. package/lib/types/core/hooks/useIntersectionObserver.d.ts +0 -14
  3068. package/lib/types/core/hooks/useIntersectionObserver.d.ts.map +0 -1
  3069. package/lib/types/core/hooks/useIsFistRendering.d.ts.map +0 -1
  3070. package/lib/types/core/hooks/useSafeLayoutEffect.d.ts +0 -4
  3071. package/lib/types/core/hooks/useSafeLayoutEffect.d.ts.map +0 -1
  3072. package/lib/types/core/hooks/useScrollableSearch.d.ts +0 -82
  3073. package/lib/types/core/hooks/useScrollableSearch.d.ts.map +0 -1
  3074. package/lib/types/core/hooks/useSharedValue.d.ts +0 -12
  3075. package/lib/types/core/hooks/useSharedValue.d.ts.map +0 -1
  3076. package/lib/types/core/index.d.ts +0 -4
  3077. package/lib/types/core/index.d.ts.map +0 -1
  3078. package/lib/types/core/utils/cn.d.ts +0 -3
  3079. package/lib/types/core/utils/cn.d.ts.map +0 -1
  3080. package/lib/types/core/utils/index.d.ts +0 -2
  3081. package/lib/types/core/utils/index.d.ts.map +0 -1
  3082. package/lib/types/env/index.d.ts +0 -85
  3083. package/lib/types/env/index.d.ts.map +0 -1
  3084. package/lib/types/features/activity-doc/ActivityDoc.d.ts +0 -14
  3085. package/lib/types/features/activity-doc/ActivityDoc.d.ts.map +0 -1
  3086. package/lib/types/features/activity-doc/index.d.ts +0 -2
  3087. package/lib/types/features/activity-doc/index.d.ts.map +0 -1
  3088. package/lib/types/features/agent/PayloadBuilder.d.ts +0 -120
  3089. package/lib/types/features/agent/PayloadBuilder.d.ts.map +0 -1
  3090. package/lib/types/features/agent/chat/AgentChart.d.ts +0 -34
  3091. package/lib/types/features/agent/chat/AgentChart.d.ts.map +0 -1
  3092. package/lib/types/features/agent/chat/AgentRightPanel.d.ts +0 -55
  3093. package/lib/types/features/agent/chat/AgentRightPanel.d.ts.map +0 -1
  3094. package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts +0 -38
  3095. package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts.map +0 -1
  3096. package/lib/types/features/agent/chat/ArtifactsTab.d.ts +0 -9
  3097. package/lib/types/features/agent/chat/ArtifactsTab.d.ts.map +0 -1
  3098. package/lib/types/features/agent/chat/AskUserWidget.d.ts +0 -84
  3099. package/lib/types/features/agent/chat/AskUserWidget.d.ts.map +0 -1
  3100. package/lib/types/features/agent/chat/DocumentPanel.d.ts +0 -16
  3101. package/lib/types/features/agent/chat/DocumentPanel.d.ts.map +0 -1
  3102. package/lib/types/features/agent/chat/DocumentTabBar.d.ts +0 -9
  3103. package/lib/types/features/agent/chat/DocumentTabBar.d.ts.map +0 -1
  3104. package/lib/types/features/agent/chat/ImageLightbox.d.ts +0 -18
  3105. package/lib/types/features/agent/chat/ImageLightbox.d.ts.map +0 -1
  3106. package/lib/types/features/agent/chat/JumpingDots.d.ts +0 -7
  3107. package/lib/types/features/agent/chat/JumpingDots.d.ts.map +0 -1
  3108. package/lib/types/features/agent/chat/ModernAgentConversation.d.ts +0 -147
  3109. package/lib/types/features/agent/chat/ModernAgentConversation.d.ts.map +0 -1
  3110. package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +0 -68
  3111. package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +0 -1
  3112. package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts +0 -26
  3113. package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts.map +0 -1
  3114. package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts +0 -33
  3115. package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts.map +0 -1
  3116. package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts +0 -11
  3117. package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts.map +0 -1
  3118. package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts +0 -18
  3119. package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +0 -1
  3120. package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +0 -62
  3121. package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +0 -1
  3122. package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +0 -58
  3123. package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +0 -1
  3124. package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts +0 -15
  3125. package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts.map +0 -1
  3126. package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts +0 -9
  3127. package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +0 -1
  3128. package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts +0 -11
  3129. package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts.map +0 -1
  3130. package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts +0 -8
  3131. package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts.map +0 -1
  3132. package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts +0 -10
  3133. package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts.map +0 -1
  3134. package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts +0 -8
  3135. package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts.map +0 -1
  3136. package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts +0 -38
  3137. package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts.map +0 -1
  3138. package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts +0 -34
  3139. package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts.map +0 -1
  3140. package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts +0 -22
  3141. package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +0 -1
  3142. package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts +0 -139
  3143. package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts.map +0 -1
  3144. package/lib/types/features/agent/chat/SkillWidgetProvider.d.ts +0 -11
  3145. package/lib/types/features/agent/chat/SkillWidgetProvider.d.ts.map +0 -1
  3146. package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts +0 -18
  3147. package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts.map +0 -1
  3148. package/lib/types/features/agent/chat/VegaLiteChart.d.ts +0 -18
  3149. package/lib/types/features/agent/chat/VegaLiteChart.d.ts.map +0 -1
  3150. package/lib/types/features/agent/chat/WaitingMessages.d.ts.map +0 -1
  3151. package/lib/types/features/agent/chat/hooks/useAgentPlans.d.ts +0 -22
  3152. package/lib/types/features/agent/chat/hooks/useAgentPlans.d.ts.map +0 -1
  3153. package/lib/types/features/agent/chat/hooks/useAgentStream.d.ts +0 -44
  3154. package/lib/types/features/agent/chat/hooks/useAgentStream.d.ts.map +0 -1
  3155. package/lib/types/features/agent/chat/hooks/useArtifacts.d.ts +0 -18
  3156. package/lib/types/features/agent/chat/hooks/useArtifacts.d.ts.map +0 -1
  3157. package/lib/types/features/agent/chat/hooks/useDocumentPanel.d.ts +0 -23
  3158. package/lib/types/features/agent/chat/hooks/useDocumentPanel.d.ts.map +0 -1
  3159. package/lib/types/features/agent/chat/hooks/useFileProcessing.d.ts +0 -27
  3160. package/lib/types/features/agent/chat/hooks/useFileProcessing.d.ts.map +0 -1
  3161. package/lib/types/features/agent/chat/index.d.ts +0 -21
  3162. package/lib/types/features/agent/chat/index.d.ts.map +0 -1
  3163. package/lib/types/features/agent/chat/types/document.d.ts.map +0 -1
  3164. package/lib/types/features/agent/chat/useArtifactUrlCache.d.ts +0 -28
  3165. package/lib/types/features/agent/chat/useArtifactUrlCache.d.ts.map +0 -1
  3166. package/lib/types/features/agent/index.d.ts +0 -3
  3167. package/lib/types/features/agent/index.d.ts.map +0 -1
  3168. package/lib/types/features/errors/PanelErrorBoundary.d.ts +0 -5
  3169. package/lib/types/features/errors/PanelErrorBoundary.d.ts.map +0 -1
  3170. package/lib/types/features/errors/RowErrorBoundary.d.ts +0 -8
  3171. package/lib/types/features/errors/RowErrorBoundary.d.ts.map +0 -1
  3172. package/lib/types/features/errors/VertesiaErrorBoundary.d.ts +0 -12
  3173. package/lib/types/features/errors/VertesiaErrorBoundary.d.ts.map +0 -1
  3174. package/lib/types/features/errors/WidgetErrorBoundary.d.ts +0 -5
  3175. package/lib/types/features/errors/WidgetErrorBoundary.d.ts.map +0 -1
  3176. package/lib/types/features/errors/index.d.ts +0 -5
  3177. package/lib/types/features/errors/index.d.ts.map +0 -1
  3178. package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts +0 -17
  3179. package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts.map +0 -1
  3180. package/lib/types/features/facets/CollectionsFacetsNav.d.ts +0 -14
  3181. package/lib/types/features/facets/CollectionsFacetsNav.d.ts.map +0 -1
  3182. package/lib/types/features/facets/DocumentsFacetsNav.d.ts +0 -12
  3183. package/lib/types/features/facets/DocumentsFacetsNav.d.ts.map +0 -1
  3184. package/lib/types/features/facets/EnvironmentFacet.d.ts +0 -10
  3185. package/lib/types/features/facets/EnvironmentFacet.d.ts.map +0 -1
  3186. package/lib/types/features/facets/InteractionsFacetsNav.d.ts +0 -13
  3187. package/lib/types/features/facets/InteractionsFacetsNav.d.ts.map +0 -1
  3188. package/lib/types/features/facets/PromptsFacetsNav.d.ts +0 -15
  3189. package/lib/types/features/facets/PromptsFacetsNav.d.ts.map +0 -1
  3190. package/lib/types/features/facets/RunsFacetsNav.d.ts +0 -22
  3191. package/lib/types/features/facets/RunsFacetsNav.d.ts.map +0 -1
  3192. package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts +0 -14
  3193. package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +0 -1
  3194. package/lib/types/features/facets/index.d.ts +0 -17
  3195. package/lib/types/features/facets/index.d.ts.map +0 -1
  3196. package/lib/types/features/facets/utils/SearchInterface.d.ts +0 -16
  3197. package/lib/types/features/facets/utils/SearchInterface.d.ts.map +0 -1
  3198. package/lib/types/features/facets/utils/StringFacet.d.ts +0 -11
  3199. package/lib/types/features/facets/utils/StringFacet.d.ts.map +0 -1
  3200. package/lib/types/features/facets/utils/StringListFacet.d.ts +0 -11
  3201. package/lib/types/features/facets/utils/StringListFacet.d.ts.map +0 -1
  3202. package/lib/types/features/facets/utils/TypeFacet.d.ts +0 -16
  3203. package/lib/types/features/facets/utils/TypeFacet.d.ts.map +0 -1
  3204. package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts +0 -12
  3205. package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts.map +0 -1
  3206. package/lib/types/features/facets/utils/VInteractionFacet.d.ts +0 -15
  3207. package/lib/types/features/facets/utils/VInteractionFacet.d.ts.map +0 -1
  3208. package/lib/types/features/facets/utils/VStringFacet.d.ts +0 -21
  3209. package/lib/types/features/facets/utils/VStringFacet.d.ts.map +0 -1
  3210. package/lib/types/features/facets/utils/VTypeFacet.d.ts +0 -12
  3211. package/lib/types/features/facets/utils/VTypeFacet.d.ts.map +0 -1
  3212. package/lib/types/features/facets/utils/VUserFacet.d.ts +0 -11
  3213. package/lib/types/features/facets/utils/VUserFacet.d.ts.map +0 -1
  3214. package/lib/types/features/facets/utils/utils.d.ts +0 -4
  3215. package/lib/types/features/facets/utils/utils.d.ts.map +0 -1
  3216. package/lib/types/features/index.d.ts +0 -13
  3217. package/lib/types/features/index.d.ts.map +0 -1
  3218. package/lib/types/features/layout/GenericPageNavHeader.d.ts +0 -14
  3219. package/lib/types/features/layout/GenericPageNavHeader.d.ts.map +0 -1
  3220. package/lib/types/features/layout/NotFoundView.d.ts +0 -5
  3221. package/lib/types/features/layout/NotFoundView.d.ts.map +0 -1
  3222. package/lib/types/features/layout/index.d.ts +0 -3
  3223. package/lib/types/features/layout/index.d.ts.map +0 -1
  3224. package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts +0 -13
  3225. package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts.map +0 -1
  3226. package/lib/types/features/magic-pdf/DownloadPopover.d.ts +0 -7
  3227. package/lib/types/features/magic-pdf/DownloadPopover.d.ts.map +0 -1
  3228. package/lib/types/features/magic-pdf/ExtractedContentView.d.ts +0 -8
  3229. package/lib/types/features/magic-pdf/ExtractedContentView.d.ts.map +0 -1
  3230. package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts +0 -58
  3231. package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts.map +0 -1
  3232. package/lib/types/features/magic-pdf/MagicPdfView.d.ts +0 -7
  3233. package/lib/types/features/magic-pdf/MagicPdfView.d.ts.map +0 -1
  3234. package/lib/types/features/magic-pdf/index.d.ts +0 -2
  3235. package/lib/types/features/magic-pdf/index.d.ts.map +0 -1
  3236. package/lib/types/features/magic-pdf/types.d.ts +0 -2
  3237. package/lib/types/features/magic-pdf/types.d.ts.map +0 -1
  3238. package/lib/types/features/oauth/OAuthProviderConnectButton.d.ts +0 -11
  3239. package/lib/types/features/oauth/OAuthProviderConnectButton.d.ts.map +0 -1
  3240. package/lib/types/features/oauth/RemoteMcpConnectionButton.d.ts +0 -25
  3241. package/lib/types/features/oauth/RemoteMcpConnectionButton.d.ts.map +0 -1
  3242. package/lib/types/features/oauth/index.d.ts.map +0 -1
  3243. package/lib/types/features/oauth/useOAuthPopup.d.ts.map +0 -1
  3244. package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts +0 -83
  3245. package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts.map +0 -1
  3246. package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts +0 -29
  3247. package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts.map +0 -1
  3248. package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts +0 -19
  3249. package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts.map +0 -1
  3250. package/lib/types/features/pdf-viewer/index.d.ts.map +0 -1
  3251. package/lib/types/features/permissions/SecureButton.d.ts +0 -8
  3252. package/lib/types/features/permissions/SecureButton.d.ts.map +0 -1
  3253. package/lib/types/features/permissions/SecureSidebarItem.d.ts +0 -8
  3254. package/lib/types/features/permissions/SecureSidebarItem.d.ts.map +0 -1
  3255. package/lib/types/features/permissions/UserPermissionsProvider.d.ts +0 -21
  3256. package/lib/types/features/permissions/UserPermissionsProvider.d.ts.map +0 -1
  3257. package/lib/types/features/permissions/helpers.d.ts +0 -5
  3258. package/lib/types/features/permissions/helpers.d.ts.map +0 -1
  3259. package/lib/types/features/permissions/index.d.ts +0 -5
  3260. package/lib/types/features/permissions/index.d.ts.map +0 -1
  3261. package/lib/types/features/store/collections/BrowseCollectionView.d.ts +0 -7
  3262. package/lib/types/features/store/collections/BrowseCollectionView.d.ts.map +0 -1
  3263. package/lib/types/features/store/collections/CollectionsTable.d.ts +0 -10
  3264. package/lib/types/features/store/collections/CollectionsTable.d.ts.map +0 -1
  3265. package/lib/types/features/store/collections/CreateCollection.d.ts +0 -13
  3266. package/lib/types/features/store/collections/CreateCollection.d.ts.map +0 -1
  3267. package/lib/types/features/store/collections/EditCollectionView.d.ts +0 -8
  3268. package/lib/types/features/store/collections/EditCollectionView.d.ts.map +0 -1
  3269. package/lib/types/features/store/collections/SelectCollection.d.ts +0 -20
  3270. package/lib/types/features/store/collections/SelectCollection.d.ts.map +0 -1
  3271. package/lib/types/features/store/collections/SharedPropsEditor.d.ts +0 -7
  3272. package/lib/types/features/store/collections/SharedPropsEditor.d.ts.map +0 -1
  3273. package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts +0 -7
  3274. package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts.map +0 -1
  3275. package/lib/types/features/store/collections/index.d.ts +0 -8
  3276. package/lib/types/features/store/collections/index.d.ts.map +0 -1
  3277. package/lib/types/features/store/index.d.ts +0 -4
  3278. package/lib/types/features/store/index.d.ts.map +0 -1
  3279. package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts +0 -8
  3280. package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts.map +0 -1
  3281. package/lib/types/features/store/objects/DocumentSearchResults.d.ts +0 -20
  3282. package/lib/types/features/store/objects/DocumentSearchResults.d.ts.map +0 -1
  3283. package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts +0 -33
  3284. package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts.map +0 -1
  3285. package/lib/types/features/store/objects/DocumentTable.d.ts +0 -25
  3286. package/lib/types/features/store/objects/DocumentTable.d.ts.map +0 -1
  3287. package/lib/types/features/store/objects/ExportPropertiesModal.d.ts +0 -12
  3288. package/lib/types/features/store/objects/ExportPropertiesModal.d.ts.map +0 -1
  3289. package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts +0 -9
  3290. package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts.map +0 -1
  3291. package/lib/types/features/store/objects/components/ContentOverview.d.ts +0 -9
  3292. package/lib/types/features/store/objects/components/ContentOverview.d.ts.map +0 -1
  3293. package/lib/types/features/store/objects/components/DocumentIcon.d.ts +0 -19
  3294. package/lib/types/features/store/objects/components/DocumentIcon.d.ts.map +0 -1
  3295. package/lib/types/features/store/objects/components/DocumentInput.d.ts +0 -8
  3296. package/lib/types/features/store/objects/components/DocumentInput.d.ts.map +0 -1
  3297. package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts +0 -9
  3298. package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts.map +0 -1
  3299. package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts +0 -9
  3300. package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +0 -1
  3301. package/lib/types/features/store/objects/components/SelectDocument.d.ts +0 -11
  3302. package/lib/types/features/store/objects/components/SelectDocument.d.ts.map +0 -1
  3303. package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts +0 -9
  3304. package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts.map +0 -1
  3305. package/lib/types/features/store/objects/components/TextEditorPanel.d.ts +0 -10
  3306. package/lib/types/features/store/objects/components/TextEditorPanel.d.ts.map +0 -1
  3307. package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts +0 -12
  3308. package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts.map +0 -1
  3309. package/lib/types/features/store/objects/components/index.d.ts +0 -10
  3310. package/lib/types/features/store/objects/components/index.d.ts.map +0 -1
  3311. package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts +0 -30
  3312. package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts.map +0 -1
  3313. package/lib/types/features/store/objects/components/useDownloadFile.d.ts +0 -39
  3314. package/lib/types/features/store/objects/components/useDownloadFile.d.ts.map +0 -1
  3315. package/lib/types/features/store/objects/index.d.ts +0 -11
  3316. package/lib/types/features/store/objects/index.d.ts.map +0 -1
  3317. package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts +0 -18
  3318. package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts.map +0 -1
  3319. package/lib/types/features/store/objects/layout/documentLayout.d.ts +0 -21
  3320. package/lib/types/features/store/objects/layout/documentLayout.d.ts.map +0 -1
  3321. package/lib/types/features/store/objects/layout/index.d.ts +0 -3
  3322. package/lib/types/features/store/objects/layout/index.d.ts.map +0 -1
  3323. package/lib/types/features/store/objects/layout/renderers.d.ts +0 -3
  3324. package/lib/types/features/store/objects/layout/renderers.d.ts.map +0 -1
  3325. package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts +0 -52
  3326. package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts.map +0 -1
  3327. package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts +0 -14
  3328. package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts.map +0 -1
  3329. package/lib/types/features/store/objects/search/index.d.ts +0 -3
  3330. package/lib/types/features/store/objects/search/index.d.ts.map +0 -1
  3331. package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts +0 -9
  3332. package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts.map +0 -1
  3333. package/lib/types/features/store/objects/selection/ObjectsActionContextClass.d.ts +0 -16
  3334. package/lib/types/features/store/objects/selection/ObjectsActionContextClass.d.ts.map +0 -1
  3335. package/lib/types/features/store/objects/selection/ObjectsActionHooks.d.ts +0 -7
  3336. package/lib/types/features/store/objects/selection/ObjectsActionHooks.d.ts.map +0 -1
  3337. package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts +0 -32
  3338. package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts.map +0 -1
  3339. package/lib/types/features/store/objects/selection/SelectionActions.d.ts +0 -11
  3340. package/lib/types/features/store/objects/selection/SelectionActions.d.ts.map +0 -1
  3341. package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts +0 -4
  3342. package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts.map +0 -1
  3343. package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts +0 -4
  3344. package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +0 -1
  3345. package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts +0 -16
  3346. package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts.map +0 -1
  3347. package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +0 -5
  3348. package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +0 -1
  3349. package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts +0 -4
  3350. package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +0 -1
  3351. package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts +0 -4
  3352. package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts.map +0 -1
  3353. package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts +0 -4
  3354. package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts.map +0 -1
  3355. package/lib/types/features/store/objects/selection/actions/index.d.ts +0 -8
  3356. package/lib/types/features/store/objects/selection/actions/index.d.ts.map +0 -1
  3357. package/lib/types/features/store/objects/selection/index.d.ts +0 -5
  3358. package/lib/types/features/store/objects/selection/index.d.ts.map +0 -1
  3359. package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts +0 -39
  3360. package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts.map +0 -1
  3361. package/lib/types/features/store/objects/upload/index.d.ts +0 -4
  3362. package/lib/types/features/store/objects/upload/index.d.ts.map +0 -1
  3363. package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts +0 -30
  3364. package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +0 -1
  3365. package/lib/types/features/store/objects/upload/useUploadHandler.d.ts +0 -50
  3366. package/lib/types/features/store/objects/upload/useUploadHandler.d.ts.map +0 -1
  3367. package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts +0 -6
  3368. package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts.map +0 -1
  3369. package/lib/types/features/store/types/ContentObjectTypesTable.d.ts +0 -8
  3370. package/lib/types/features/store/types/ContentObjectTypesTable.d.ts.map +0 -1
  3371. package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts +0 -16
  3372. package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts.map +0 -1
  3373. package/lib/types/features/store/types/ObjectSchemaEditor.d.ts +0 -9
  3374. package/lib/types/features/store/types/ObjectSchemaEditor.d.ts.map +0 -1
  3375. package/lib/types/features/store/types/SelectContentType.d.ts +0 -11
  3376. package/lib/types/features/store/types/SelectContentType.d.ts.map +0 -1
  3377. package/lib/types/features/store/types/SelectContentTypeModal.d.ts +0 -33
  3378. package/lib/types/features/store/types/SelectContentTypeModal.d.ts.map +0 -1
  3379. package/lib/types/features/store/types/TableLayoutEditor.d.ts +0 -10
  3380. package/lib/types/features/store/types/TableLayoutEditor.d.ts.map +0 -1
  3381. package/lib/types/features/store/types/TypeRegistry.d.ts +0 -10
  3382. package/lib/types/features/store/types/TypeRegistry.d.ts.map +0 -1
  3383. package/lib/types/features/store/types/TypeRegistryProvider.d.ts +0 -15
  3384. package/lib/types/features/store/types/TypeRegistryProvider.d.ts.map +0 -1
  3385. package/lib/types/features/store/types/index.d.ts +0 -11
  3386. package/lib/types/features/store/types/index.d.ts.map +0 -1
  3387. package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts +0 -36
  3388. package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts.map +0 -1
  3389. package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts +0 -11
  3390. package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts.map +0 -1
  3391. package/lib/types/features/store/types/search/index.d.ts +0 -3
  3392. package/lib/types/features/store/types/search/index.d.ts.map +0 -1
  3393. package/lib/types/features/user/UserAvatar.d.ts +0 -9
  3394. package/lib/types/features/user/UserAvatar.d.ts.map +0 -1
  3395. package/lib/types/features/user/UserInfo.d.ts +0 -60
  3396. package/lib/types/features/user/UserInfo.d.ts.map +0 -1
  3397. package/lib/types/features/user/index.d.ts +0 -3
  3398. package/lib/types/features/user/index.d.ts.map +0 -1
  3399. package/lib/types/features/utils/index.d.ts +0 -6
  3400. package/lib/types/features/utils/index.d.ts.map +0 -1
  3401. package/lib/types/features/utils/mimeType.d.ts.map +0 -1
  3402. package/lib/types/features/utils/print.d.ts.map +0 -1
  3403. package/lib/types/features/utils/rendition.d.ts +0 -4
  3404. package/lib/types/features/utils/rendition.d.ts.map +0 -1
  3405. package/lib/types/features/utils/text.d.ts.map +0 -1
  3406. package/lib/types/features/utils/workflowStatus.d.ts +0 -10
  3407. package/lib/types/features/utils/workflowStatus.d.ts.map +0 -1
  3408. package/lib/types/i18n/index.d.ts +0 -14
  3409. package/lib/types/i18n/index.d.ts.map +0 -1
  3410. package/lib/types/i18n/instance.d.ts.map +0 -1
  3411. package/lib/types/layout/AppLayout.d.ts +0 -13
  3412. package/lib/types/layout/AppLayout.d.ts.map +0 -1
  3413. package/lib/types/layout/FullHeightLayout.d.ts +0 -31
  3414. package/lib/types/layout/FullHeightLayout.d.ts.map +0 -1
  3415. package/lib/types/layout/Navbar.d.ts +0 -33
  3416. package/lib/types/layout/Navbar.d.ts.map +0 -1
  3417. package/lib/types/layout/RegionTag.d.ts +0 -4
  3418. package/lib/types/layout/RegionTag.d.ts.map +0 -1
  3419. package/lib/types/layout/Sidebar.d.ts +0 -34
  3420. package/lib/types/layout/Sidebar.d.ts.map +0 -1
  3421. package/lib/types/layout/SidebarContext.d.ts.map +0 -1
  3422. package/lib/types/layout/TitleBar.d.ts +0 -6
  3423. package/lib/types/layout/TitleBar.d.ts.map +0 -1
  3424. package/lib/types/layout/index.d.ts +0 -8
  3425. package/lib/types/layout/index.d.ts.map +0 -1
  3426. package/lib/types/router/FixLinks.d.ts +0 -7
  3427. package/lib/types/router/FixLinks.d.ts.map +0 -1
  3428. package/lib/types/router/HistoryNavigator.d.ts +0 -59
  3429. package/lib/types/router/HistoryNavigator.d.ts.map +0 -1
  3430. package/lib/types/router/Nav.d.ts +0 -39
  3431. package/lib/types/router/Nav.d.ts.map +0 -1
  3432. package/lib/types/router/NestedNavigationContext.d.ts +0 -9
  3433. package/lib/types/router/NestedNavigationContext.d.ts.map +0 -1
  3434. package/lib/types/router/NestedRouterProvider.d.ts +0 -14
  3435. package/lib/types/router/NestedRouterProvider.d.ts.map +0 -1
  3436. package/lib/types/router/PathMatcher.d.ts +0 -36
  3437. package/lib/types/router/PathMatcher.d.ts.map +0 -1
  3438. package/lib/types/router/PathWithParams.d.ts.map +0 -1
  3439. package/lib/types/router/Route404.d.ts +0 -4
  3440. package/lib/types/router/Route404.d.ts.map +0 -1
  3441. package/lib/types/router/RouteComponent.d.ts +0 -6
  3442. package/lib/types/router/RouteComponent.d.ts.map +0 -1
  3443. package/lib/types/router/Router.d.ts +0 -76
  3444. package/lib/types/router/Router.d.ts.map +0 -1
  3445. package/lib/types/router/RouterProvider.d.ts +0 -15
  3446. package/lib/types/router/RouterProvider.d.ts.map +0 -1
  3447. package/lib/types/router/index.d.ts +0 -11
  3448. package/lib/types/router/index.d.ts.map +0 -1
  3449. package/lib/types/router/path.d.ts.map +0 -1
  3450. package/lib/types/session/UserSession.d.ts +0 -37
  3451. package/lib/types/session/UserSession.d.ts.map +0 -1
  3452. package/lib/types/session/UserSessionProvider.d.ts +0 -7
  3453. package/lib/types/session/UserSessionProvider.d.ts.map +0 -1
  3454. package/lib/types/session/auth/composable.d.ts +0 -30
  3455. package/lib/types/session/auth/composable.d.ts.map +0 -1
  3456. package/lib/types/session/auth/domainRouting.d.ts.map +0 -1
  3457. package/lib/types/session/auth/firebase.d.ts +0 -10
  3458. package/lib/types/session/auth/firebase.d.ts.map +0 -1
  3459. package/lib/types/session/auth/useAuthState.d.ts.map +0 -1
  3460. package/lib/types/session/auth/useCurrentTenant.d.ts.map +0 -1
  3461. package/lib/types/session/constants.d.ts.map +0 -1
  3462. package/lib/types/session/index.d.ts +0 -8
  3463. package/lib/types/session/index.d.ts.map +0 -1
  3464. package/lib/types/session/useUXTracking.d.ts +0 -6
  3465. package/lib/types/session/useUXTracking.d.ts.map +0 -1
  3466. package/lib/types/shell/SplashScreen.d.ts +0 -7
  3467. package/lib/types/shell/SplashScreen.d.ts.map +0 -1
  3468. package/lib/types/shell/VertesiaShell.d.ts +0 -10
  3469. package/lib/types/shell/VertesiaShell.d.ts.map +0 -1
  3470. package/lib/types/shell/apps/AppInstallationProvider.d.ts +0 -12
  3471. package/lib/types/shell/apps/AppInstallationProvider.d.ts.map +0 -1
  3472. package/lib/types/shell/apps/AppProjectSelector.d.ts +0 -12
  3473. package/lib/types/shell/apps/AppProjectSelector.d.ts.map +0 -1
  3474. package/lib/types/shell/apps/StandaloneApp.d.ts +0 -23
  3475. package/lib/types/shell/apps/StandaloneApp.d.ts.map +0 -1
  3476. package/lib/types/shell/apps/index.d.ts +0 -4
  3477. package/lib/types/shell/apps/index.d.ts.map +0 -1
  3478. package/lib/types/shell/index.d.ts +0 -8
  3479. package/lib/types/shell/index.d.ts.map +0 -1
  3480. package/lib/types/shell/login/EnterpriseSigninButton.d.ts +0 -6
  3481. package/lib/types/shell/login/EnterpriseSigninButton.d.ts.map +0 -1
  3482. package/lib/types/shell/login/GitHubSignInButton.d.ts +0 -6
  3483. package/lib/types/shell/login/GitHubSignInButton.d.ts.map +0 -1
  3484. package/lib/types/shell/login/GoogleSignInButton.d.ts +0 -6
  3485. package/lib/types/shell/login/GoogleSignInButton.d.ts.map +0 -1
  3486. package/lib/types/shell/login/InviteAcceptModal.d.ts +0 -2
  3487. package/lib/types/shell/login/InviteAcceptModal.d.ts.map +0 -1
  3488. package/lib/types/shell/login/MicrosoftSigninButton.d.ts +0 -6
  3489. package/lib/types/shell/login/MicrosoftSigninButton.d.ts.map +0 -1
  3490. package/lib/types/shell/login/PreviewIcon.d.ts +0 -6
  3491. package/lib/types/shell/login/PreviewIcon.d.ts.map +0 -1
  3492. package/lib/types/shell/login/SignInModal.d.ts +0 -7
  3493. package/lib/types/shell/login/SignInModal.d.ts.map +0 -1
  3494. package/lib/types/shell/login/SigninScreen.d.ts +0 -9
  3495. package/lib/types/shell/login/SigninScreen.d.ts.map +0 -1
  3496. package/lib/types/shell/login/SignupForm.d.ts +0 -8
  3497. package/lib/types/shell/login/SignupForm.d.ts.map +0 -1
  3498. package/lib/types/shell/login/TerminalLogin.d.ts +0 -2
  3499. package/lib/types/shell/login/TerminalLogin.d.ts.map +0 -1
  3500. package/lib/types/shell/login/UserInfo.d.ts +0 -6
  3501. package/lib/types/shell/login/UserInfo.d.ts.map +0 -1
  3502. package/lib/types/shell/login/UserSessionMenu.d.ts +0 -9
  3503. package/lib/types/shell/login/UserSessionMenu.d.ts.map +0 -1
  3504. package/lib/types/shell/utils.d.ts.map +0 -1
  3505. package/lib/types/widgets/Progress.d.ts +0 -6
  3506. package/lib/types/widgets/Progress.d.ts.map +0 -1
  3507. package/lib/types/widgets/SvgIcon.d.ts +0 -7
  3508. package/lib/types/widgets/SvgIcon.d.ts.map +0 -1
  3509. package/lib/types/widgets/form/Form.d.ts +0 -22
  3510. package/lib/types/widgets/form/Form.d.ts.map +0 -1
  3511. package/lib/types/widgets/form/FormContext.d.ts +0 -20
  3512. package/lib/types/widgets/form/FormContext.d.ts.map +0 -1
  3513. package/lib/types/widgets/form/ManagedObject.d.ts +0 -82
  3514. package/lib/types/widgets/form/ManagedObject.d.ts.map +0 -1
  3515. package/lib/types/widgets/form/fields.d.ts +0 -16
  3516. package/lib/types/widgets/form/fields.d.ts.map +0 -1
  3517. package/lib/types/widgets/form/index.d.ts +0 -7
  3518. package/lib/types/widgets/form/index.d.ts.map +0 -1
  3519. package/lib/types/widgets/form/inputs.d.ts +0 -8
  3520. package/lib/types/widgets/form/inputs.d.ts.map +0 -1
  3521. package/lib/types/widgets/form/schema.d.ts +0 -47
  3522. package/lib/types/widgets/form/schema.d.ts.map +0 -1
  3523. package/lib/types/widgets/index.d.ts +0 -11
  3524. package/lib/types/widgets/index.d.ts.map +0 -1
  3525. package/lib/types/widgets/json-view/JSONCode.d.ts +0 -5
  3526. package/lib/types/widgets/json-view/JSONCode.d.ts.map +0 -1
  3527. package/lib/types/widgets/json-view/JSONDisplay.d.ts +0 -8
  3528. package/lib/types/widgets/json-view/JSONDisplay.d.ts.map +0 -1
  3529. package/lib/types/widgets/json-view/JSONEditor.d.ts +0 -28
  3530. package/lib/types/widgets/json-view/JSONEditor.d.ts.map +0 -1
  3531. package/lib/types/widgets/json-view/JSONSwitcher.d.ts +0 -6
  3532. package/lib/types/widgets/json-view/JSONSwitcher.d.ts.map +0 -1
  3533. package/lib/types/widgets/json-view/JSONView.d.ts +0 -7
  3534. package/lib/types/widgets/json-view/JSONView.d.ts.map +0 -1
  3535. package/lib/types/widgets/json-view/index.d.ts +0 -7
  3536. package/lib/types/widgets/json-view/index.d.ts.map +0 -1
  3537. package/lib/types/widgets/json-view/types.d.ts.map +0 -1
  3538. package/lib/types/widgets/markdown/ArtifactContentRenderer.d.ts.map +0 -1
  3539. package/lib/types/widgets/markdown/CodeBlockContext.d.ts +0 -21
  3540. package/lib/types/widgets/markdown/CodeBlockContext.d.ts.map +0 -1
  3541. package/lib/types/widgets/markdown/CodeBlockPlaceholder.d.ts +0 -42
  3542. package/lib/types/widgets/markdown/CodeBlockPlaceholder.d.ts.map +0 -1
  3543. package/lib/types/widgets/markdown/CodeBlockPlaceholder.test.d.ts +0 -2
  3544. package/lib/types/widgets/markdown/CodeBlockPlaceholder.test.d.ts.map +0 -1
  3545. package/lib/types/widgets/markdown/CodeBlockRendering.d.ts +0 -23
  3546. package/lib/types/widgets/markdown/CodeBlockRendering.d.ts.map +0 -1
  3547. package/lib/types/widgets/markdown/MarkdownFigure.d.ts +0 -15
  3548. package/lib/types/widgets/markdown/MarkdownFigure.d.ts.map +0 -1
  3549. package/lib/types/widgets/markdown/MarkdownImage.d.ts +0 -16
  3550. package/lib/types/widgets/markdown/MarkdownImage.d.ts.map +0 -1
  3551. package/lib/types/widgets/markdown/MarkdownLink.d.ts +0 -17
  3552. package/lib/types/widgets/markdown/MarkdownLink.d.ts.map +0 -1
  3553. package/lib/types/widgets/markdown/MarkdownRenderer.d.ts +0 -26
  3554. package/lib/types/widgets/markdown/MarkdownRenderer.d.ts.map +0 -1
  3555. package/lib/types/widgets/markdown/MermaidDiagram.d.ts +0 -23
  3556. package/lib/types/widgets/markdown/MermaidDiagram.d.ts.map +0 -1
  3557. package/lib/types/widgets/markdown/codeBlockHandlers.d.ts +0 -57
  3558. package/lib/types/widgets/markdown/codeBlockHandlers.d.ts.map +0 -1
  3559. package/lib/types/widgets/markdown/codeBlockHandlers.test.d.ts +0 -2
  3560. package/lib/types/widgets/markdown/codeBlockHandlers.test.d.ts.map +0 -1
  3561. package/lib/types/widgets/markdown/index.d.ts +0 -13
  3562. package/lib/types/widgets/markdown/index.d.ts.map +0 -1
  3563. package/lib/types/widgets/markdown/normalizeCustomSchemeLinks.d.ts.map +0 -1
  3564. package/lib/types/widgets/markdown/normalizeDirectives.d.ts.map +0 -1
  3565. package/lib/types/widgets/markdown/preprocessMathDelimiters.d.ts.map +0 -1
  3566. package/lib/types/widgets/markdown/remarkDirectiveHandler.d.ts +0 -2
  3567. package/lib/types/widgets/markdown/remarkDirectiveHandler.d.ts.map +0 -1
  3568. package/lib/types/widgets/markdown/useArtifactContent.d.ts.map +0 -1
  3569. package/lib/types/widgets/markdown/useResolvedUrl.d.ts.map +0 -1
  3570. package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts +0 -40
  3571. package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts.map +0 -1
  3572. package/lib/types/widgets/monacoEditor/foldingProviders.d.ts.map +0 -1
  3573. package/lib/types/widgets/monacoEditor/index.d.ts +0 -3
  3574. package/lib/types/widgets/monacoEditor/index.d.ts.map +0 -1
  3575. package/lib/types/widgets/properties/PropertiesView.d.ts +0 -11
  3576. package/lib/types/widgets/properties/PropertiesView.d.ts.map +0 -1
  3577. package/lib/types/widgets/properties/index.d.ts +0 -2
  3578. package/lib/types/widgets/properties/index.d.ts.map +0 -1
  3579. package/lib/types/widgets/schema-editor/ManagedSchema.d.ts +0 -75
  3580. package/lib/types/widgets/schema-editor/ManagedSchema.d.ts.map +0 -1
  3581. package/lib/types/widgets/schema-editor/editor/Editable.d.ts +0 -40
  3582. package/lib/types/widgets/schema-editor/editor/Editable.d.ts.map +0 -1
  3583. package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts +0 -8
  3584. package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts.map +0 -1
  3585. package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts +0 -5
  3586. package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts.map +0 -1
  3587. package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts +0 -4
  3588. package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts.map +0 -1
  3589. package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts +0 -3
  3590. package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts.map +0 -1
  3591. package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts +0 -9
  3592. package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts.map +0 -1
  3593. package/lib/types/widgets/schema-editor/index.d.ts +0 -7
  3594. package/lib/types/widgets/schema-editor/index.d.ts.map +0 -1
  3595. package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts +0 -16
  3596. package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts.map +0 -1
  3597. package/lib/types/widgets/schema-editor/type-signature.d.ts.map +0 -1
  3598. package/lib/types/widgets/upload/DropZone.d.ts +0 -41
  3599. package/lib/types/widgets/upload/DropZone.d.ts.map +0 -1
  3600. package/lib/types/widgets/upload/UploadResultCategory.d.ts +0 -26
  3601. package/lib/types/widgets/upload/UploadResultCategory.d.ts.map +0 -1
  3602. package/lib/types/widgets/upload/UploadSummary.d.ts +0 -38
  3603. package/lib/types/widgets/upload/UploadSummary.d.ts.map +0 -1
  3604. package/lib/types/widgets/upload/index.d.ts.map +0 -1
  3605. package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts +0 -6
  3606. package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts.map +0 -1
  3607. package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts +0 -8
  3608. package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts.map +0 -1
  3609. package/lib/types/widgets/xml-viewer/components/CollapseIcon/index.d.ts.map +0 -1
  3610. package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts +0 -9
  3611. package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts.map +0 -1
  3612. package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts +0 -8
  3613. package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts.map +0 -1
  3614. package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts +0 -8
  3615. package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts.map +0 -1
  3616. package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts +0 -2
  3617. package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts.map +0 -1
  3618. package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts +0 -13
  3619. package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts.map +0 -1
  3620. package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts +0 -8
  3621. package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts.map +0 -1
  3622. package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts +0 -3
  3623. package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts.map +0 -1
  3624. package/lib/types/widgets/xml-viewer/components/types.d.ts.map +0 -1
  3625. package/lib/types/widgets/xml-viewer/constants/index.d.ts.map +0 -1
  3626. package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts +0 -4
  3627. package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts.map +0 -1
  3628. package/lib/types/widgets/xml-viewer/helpers/index.d.ts +0 -13
  3629. package/lib/types/widgets/xml-viewer/helpers/index.d.ts.map +0 -1
  3630. package/lib/types/widgets/xml-viewer/hooks/useCollapsible.d.ts.map +0 -1
  3631. package/lib/types/widgets/xml-viewer/hooks/useXMLViewer.d.ts.map +0 -1
  3632. package/lib/types/widgets/xml-viewer/index.d.ts +0 -3
  3633. package/lib/types/widgets/xml-viewer/index.d.ts.map +0 -1
  3634. package/lib/types/widgets/xml-viewer/types/index.d.ts +0 -16
  3635. package/lib/types/widgets/xml-viewer/types/index.d.ts.map +0 -1
  3636. package/src/shell/login/EnterpriseSigninButton.tsx +0 -111
  3637. package/src/shell/login/GitHubSignInButton.tsx +0 -36
  3638. package/src/shell/login/GoogleSignInButton.tsx +0 -38
  3639. package/src/shell/login/MicrosoftSigninButton.tsx +0 -28
  3640. /package/lib/{types/core → core}/components/popup/position.d.ts +0 -0
  3641. /package/lib/{types/core → core}/components/popup/utils.d.ts +0 -0
  3642. /package/lib/{types/core → core}/components/shadcn/filters/animateChangeInHeight.d.ts +0 -0
  3643. /package/lib/{types/core → core}/components/shadcn/filters/filter-styles.d.ts +0 -0
  3644. /package/lib/{esm/core → core}/components/shadcn/filters/filter-styles.js +0 -0
  3645. /package/lib/{types/core → core}/components/shadcn/filters/index.d.ts +0 -0
  3646. /package/lib/{esm/core → core}/components/shadcn/filters/index.js +0 -0
  3647. /package/lib/{esm/core → core}/components/shadcn/filters/types.js +0 -0
  3648. /package/lib/{types/core → core}/components/styles.d.ts +0 -0
  3649. /package/lib/{types/core → core}/components/toast/ToastProps.d.ts +0 -0
  3650. /package/lib/{esm/core → core}/components/toast/ToastProps.js +0 -0
  3651. /package/lib/{types/core → core}/hooks/useClickOutside.d.ts +0 -0
  3652. /package/lib/{types/core → core}/hooks/useCopyToClipboard.d.ts +0 -0
  3653. /package/lib/{esm/core → core}/hooks/useCopyToClipboard.js +0 -0
  3654. /package/lib/{types/core → core}/hooks/useDarkMode.d.ts +0 -0
  3655. /package/lib/{types/core → core}/hooks/useDebounce.d.ts +0 -0
  3656. /package/lib/{types/core → core}/hooks/useFlag.d.ts +0 -0
  3657. /package/lib/{types/core → core}/hooks/useIsFistRendering.d.ts +0 -0
  3658. /package/lib/{types/features → features}/agent/chat/WaitingMessages.d.ts +0 -0
  3659. /package/lib/{types/features → features}/agent/chat/types/document.d.ts +0 -0
  3660. /package/lib/{esm/features → features}/agent/chat/types/document.js +0 -0
  3661. /package/lib/{esm/features → features}/facets/utils/utils.js +0 -0
  3662. /package/lib/{esm/features → features}/magic-pdf/types.js +0 -0
  3663. /package/lib/{types/features → features}/oauth/index.d.ts +0 -0
  3664. /package/lib/{esm/features → features}/oauth/index.js +0 -0
  3665. /package/lib/{types/features → features}/oauth/useOAuthPopup.d.ts +0 -0
  3666. /package/lib/{esm/features → features}/oauth/useOAuthPopup.js +0 -0
  3667. /package/lib/{types/features → features}/pdf-viewer/index.d.ts +0 -0
  3668. /package/lib/{esm/features → features}/pdf-viewer/index.js +0 -0
  3669. /package/lib/{esm/features → features}/permissions/helpers.js +0 -0
  3670. /package/lib/{esm/features → features}/store/objects/selection/ObjectsActionSpec.js +0 -0
  3671. /package/lib/{esm/features → features}/store/types/TypeRegistry.js +0 -0
  3672. /package/lib/{types/features → features}/utils/mimeType.d.ts +0 -0
  3673. /package/lib/{esm/features → features}/utils/mimeType.js +0 -0
  3674. /package/lib/{types/features → features}/utils/print.d.ts +0 -0
  3675. /package/lib/{types/features → features}/utils/text.d.ts +0 -0
  3676. /package/lib/{types/i18n → i18n}/instance.d.ts +0 -0
  3677. /package/lib/{esm/i18n → i18n}/instance.js +0 -0
  3678. /package/lib/{esm/layout → layout}/RegionTag.js +0 -0
  3679. /package/lib/{types/layout → layout}/SidebarContext.d.ts +0 -0
  3680. /package/lib/{types/router → router}/PathWithParams.d.ts +0 -0
  3681. /package/lib/{types/router → router}/path.d.ts +0 -0
  3682. /package/lib/{types/session → session}/auth/domainRouting.d.ts +0 -0
  3683. /package/lib/{esm/session → session}/auth/domainRouting.js +0 -0
  3684. /package/lib/{types/session → session}/auth/useAuthState.d.ts +0 -0
  3685. /package/lib/{types/session → session}/auth/useCurrentTenant.d.ts +0 -0
  3686. /package/lib/{types/session → session}/constants.d.ts +0 -0
  3687. /package/lib/{esm/session → session}/constants.js +0 -0
  3688. /package/lib/{types/shell → shell}/utils.d.ts +0 -0
  3689. /package/lib/{esm/widgets → widgets}/Progress.js +0 -0
  3690. /package/lib/{types/widgets → widgets}/json-view/types.d.ts +0 -0
  3691. /package/lib/{esm/widgets → widgets}/json-view/types.js +0 -0
  3692. /package/lib/{types/widgets → widgets}/markdown/ArtifactContentRenderer.d.ts +0 -0
  3693. /package/lib/{esm/widgets → widgets}/markdown/CodeBlockContext.js +0 -0
  3694. /package/lib/{types/widgets → widgets}/markdown/normalizeCustomSchemeLinks.d.ts +0 -0
  3695. /package/lib/{types/widgets → widgets}/markdown/normalizeDirectives.d.ts +0 -0
  3696. /package/lib/{types/widgets → widgets}/markdown/preprocessMathDelimiters.d.ts +0 -0
  3697. /package/lib/{types/widgets → widgets}/markdown/useArtifactContent.d.ts +0 -0
  3698. /package/lib/{types/widgets → widgets}/markdown/useResolvedUrl.d.ts +0 -0
  3699. /package/lib/{types/widgets → widgets}/monacoEditor/foldingProviders.d.ts +0 -0
  3700. /package/lib/{types/widgets → widgets}/schema-editor/type-signature.d.ts +0 -0
  3701. /package/lib/{esm/widgets → widgets}/schema-editor/type-signature.js +0 -0
  3702. /package/lib/{types/widgets → widgets}/upload/index.d.ts +0 -0
  3703. /package/lib/{esm/widgets → widgets}/upload/index.js +0 -0
  3704. /package/lib/{esm/widgets → widgets}/xml-viewer/components/Attributes/index.js +0 -0
  3705. /package/lib/{esm/widgets → widgets}/xml-viewer/components/CDataTag/index.js +0 -0
  3706. /package/lib/{types/widgets → widgets}/xml-viewer/components/CollapseIcon/index.d.ts +0 -0
  3707. /package/lib/{esm/widgets → widgets}/xml-viewer/components/CommentTag/index.js +0 -0
  3708. /package/lib/{esm/widgets → widgets}/xml-viewer/components/DeclarationTag/index.js +0 -0
  3709. /package/lib/{esm/widgets → widgets}/xml-viewer/components/Elements/index.js +0 -0
  3710. /package/lib/{esm/widgets → widgets}/xml-viewer/components/InvalidXml/index.js +0 -0
  3711. /package/lib/{esm/widgets → widgets}/xml-viewer/components/Tag/index.js +0 -0
  3712. /package/lib/{esm/widgets → widgets}/xml-viewer/components/TextElement/index.js +0 -0
  3713. /package/lib/{esm/widgets → widgets}/xml-viewer/components/XMLViewer.js +0 -0
  3714. /package/lib/{types/widgets → widgets}/xml-viewer/components/types.d.ts +0 -0
  3715. /package/lib/{esm/widgets → widgets}/xml-viewer/components/types.js +0 -0
  3716. /package/lib/{types/widgets → widgets}/xml-viewer/constants/index.d.ts +0 -0
  3717. /package/lib/{esm/widgets → widgets}/xml-viewer/constants/index.js +0 -0
  3718. /package/lib/{esm/widgets → widgets}/xml-viewer/context/xml-viewer-context.js +0 -0
  3719. /package/lib/{types/widgets → widgets}/xml-viewer/hooks/useCollapsible.d.ts +0 -0
  3720. /package/lib/{esm/widgets → widgets}/xml-viewer/hooks/useCollapsible.js +0 -0
  3721. /package/lib/{types/widgets → widgets}/xml-viewer/hooks/useXMLViewer.d.ts +0 -0
  3722. /package/lib/{esm/widgets → widgets}/xml-viewer/types/index.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"vertesia-ui-layout.js","sources":["esm/layout/FullHeightLayout.js","esm/layout/SidebarContext.js","esm/layout/TitleBar.js","esm/i18n/instance.js","esm/layout/Navbar.js","esm/i18n/index.js","esm/layout/Sidebar.js","esm/layout/AppLayout.js","esm/layout/RegionTag.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport clsx from 'clsx';\nexport function FullHeightLayout({ className, children }) {\n return (_jsx(\"div\", { className: clsx(\"flex flex-col\", \"h-full\", \"overflow-y-auto\", \"px-2\", className), children: children }));\n}\nFullHeightLayout.Fixed = function Fixed({ heightClass, className, children }) {\n return (_jsx(\"div\", { className: clsx(\"w-full\", heightClass, className), children: children }));\n};\nFullHeightLayout.Body = function Body({ className, children }) {\n return (_jsx(\"div\", { className: clsx(\"grow overflow-auto\", \"min-h-0\", \"p-2\", className), children: children }));\n};\nFullHeightLayout.VR = function VDivider({}) {\n return (_jsx(\"div\", { className: \"w-[1px] border border-red-200\" }));\n};\nFullHeightLayout.HR = function HDivider({}) {\n return (_jsx(\"div\", { className: \"w-full h-1 border-b border-red-200\" }));\n};\nFullHeightLayout.Flex = function Flex({ className, children }) {\n return (_jsx(\"div\", { className: clsx(\"grow flex flex-col\", \"overflow-hidden min-h-0\", \"p-2\", className), children: children }));\n};\nFullHeightLayout.Tab = function Tab({ children }) {\n return (_jsx(\"div\", { className: \"flex flex-col h-full\", children: children }));\n};\n//# sourceMappingURL=FullHeightLayout.js.map","import { createContext, useContext } from \"react\";\nexport const SidebarContext = createContext({\n isOpen: false,\n toggleMobile: () => void 0,\n toggleDesktop: () => void 0,\n});\nexport function useSidebarToggle() {\n return useContext(SidebarContext);\n}\n//# sourceMappingURL=SidebarContext.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nexport function TitleBar({ title }) {\n return _jsx(\"div\", { className: 'self-center text-lg font-semibold', children: title });\n}\n//# sourceMappingURL=TitleBar.js.map","import i18next from 'i18next';\nimport { initReactI18next } from 'react-i18next';\nimport ar from './locales/ar.json';\nimport de from './locales/de.json';\nimport en from './locales/en.json';\nimport es from './locales/es.json';\nimport fr from './locales/fr.json';\nimport it from './locales/it.json';\nimport ja from './locales/ja.json';\nimport ko from './locales/ko.json';\nimport pt from './locales/pt.json';\nimport ru from './locales/ru.json';\nimport tr from './locales/tr.json';\nimport zh from './locales/zh.json';\nimport zhTW from './locales/zh-TW.json';\nexport const NAMESPACE = 'vertesia.ui';\n// Scoped instance — does NOT touch the global i18next singleton\nconst i18nInstance = i18next.createInstance();\nvoid i18nInstance.use(initReactI18next).init({\n resources: {\n ar: { [NAMESPACE]: ar },\n de: { [NAMESPACE]: de },\n en: { [NAMESPACE]: en },\n es: { [NAMESPACE]: es },\n fr: { [NAMESPACE]: fr },\n it: { [NAMESPACE]: it },\n ja: { [NAMESPACE]: ja },\n ko: { [NAMESPACE]: ko },\n pt: { [NAMESPACE]: pt },\n ru: { [NAMESPACE]: ru },\n tr: { [NAMESPACE]: tr },\n zh: { [NAMESPACE]: zh },\n 'zh-TW': { [NAMESPACE]: zhTW },\n },\n fallbackLng: 'en',\n ns: [NAMESPACE],\n defaultNS: NAMESPACE,\n interpolation: {\n escapeValue: false, // React already escapes\n },\n react: {\n useSuspense: false, // Translations are bundled, no async loading\n },\n});\nexport { i18nInstance };\n//# sourceMappingURL=instance.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { Menu, Search } from 'lucide-react';\nimport { Button } from '@vertesia/ui/core';\nimport { useSidebarToggle } from './SidebarContext.js';\nimport { TitleBar } from './TitleBar.js';\nimport { useUITranslation } from '../i18n/index.js';\nexport function Navbar({ children, logo, onSearch, title }) {\n return (_jsxs(\"div\", { className: \"sticky top-0 z-40 flex h-16 shrink-0 items-center gap-x-4 border-b px-4 shadow-2xs sm:gap-x-6 sm:px-6 lg:px-8\", children: [_jsx(HamburgerButton, {}), _jsx(\"div\", { className: \"lg:hidden\", children: logo }), onSearch && _jsx(NavbarSeparator, { visible: 'mobile' }), _jsxs(\"div\", { className: \"flex flex-1 gap-x-4 self-stretch lg:gap-x-6\", children: [_jsx(TitleBar, { title: title }), onSearch && _jsx(SearchBox, { onSearch: onSearch }), _jsx(\"div\", { className: \"flex items-center gap-x-4 lg:gap-x-6 ml-auto\", children: children })] })] }));\n}\nfunction SearchBox({}) {\n const { t } = useUITranslation();\n return (_jsxs(\"form\", { className: \"relative flex flex-1\", action: \"#\", method: \"GET\", children: [_jsx(\"label\", { htmlFor: \"search-field\", className: \"sr-only\", children: t('layout.search') }), _jsx(Search, { className: \"pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400\", \"aria-hidden\": \"true\" }), _jsx(\"input\", { id: \"search-field\", className: \"block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm\", placeholder: t('layout.searchPlaceholder'), type: \"search\", name: \"search\" })] }));\n}\nexport function HamburgerButton() {\n const { toggleDesktop, toggleMobile } = useSidebarToggle();\n const toggle = () => {\n if (window.innerWidth < 1024) {\n toggleMobile();\n }\n else {\n toggleDesktop();\n }\n };\n return (_jsx(_Fragment, { children: _jsx(Button, { variant: 'ghost', size: 'icon', onClick: () => toggle(), className: \"p-2 rounded-full transition-colors w-full text-center \", children: _jsx(Menu, { \"aria-hidden\": \"true\", size: 24 }) }) }));\n}\nexport function NavbarSeparator({ visible }) {\n let visibility = \"\";\n if (visible) {\n visibility = visible === \"mobile\" ? \"lg:hidden\" : \"hidden lg:block\";\n }\n return (_jsx(\"div\", { className: `h-6 w-px bg-gray-900/10 dark:bg-slate-900/0.1 ${visibility}`, \"aria-hidden\": \"true\" }));\n}\nexport function NavbarIconButton({ title, icon: Icon, onClick }) {\n return (_jsxs(\"button\", { type: \"button\", className: \"-m-2.5 p-2.5 text-gray-400 dark:text-slate-50 hover:text-gray-500\", onClick: onClick, children: [_jsx(\"span\", { className: \"sr-only\", children: title }), _jsx(Icon, { className: \"size-6\", \"aria-hidden\": \"true\", title: title })] }));\n}\nexport function NavbarButton({ children, onClick }) {\n return (_jsx(Button, { onClick: onClick, children: children }));\n}\nexport function NavbarLink({ href, onClick, children }) {\n return (_jsx(\"a\", { className: \"dark:text-slate-50\", href: href, onClick: onClick, children: children }));\n}\n//# sourceMappingURL=Navbar.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect } from 'react';\nimport { I18nextProvider, useTranslation } from 'react-i18next';\nimport { i18nInstance, NAMESPACE } from './instance.js';\nfunction detectLanguage(lng) {\n return lng ?? navigator.language?.split('-')[0] ?? 'en';\n}\nexport function I18nProvider({ lng, children }) {\n // Set language synchronously on first render to avoid flash of wrong language\n const language = detectLanguage(lng);\n if (i18nInstance.language !== language) {\n void i18nInstance.changeLanguage(language);\n }\n // Also react to prop changes\n useEffect(() => {\n const lang = detectLanguage(lng);\n if (i18nInstance.language !== lang) {\n void i18nInstance.changeLanguage(lang);\n }\n }, [lng]);\n return (_jsx(I18nextProvider, { i18n: i18nInstance, children: children }));\n}\n/**\n * Hook for components inside @vertesia/ui to get translation functions.\n * Always binds to the 'vertesia.ui' namespace on the scoped instance.\n */\nexport function useUITranslation() {\n return useTranslation(NAMESPACE, { i18n: i18nInstance });\n}\nexport { i18nInstance, NAMESPACE } from './instance.js';\n//# sourceMappingURL=index.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport clsx from 'clsx';\nimport { useSidebarToggle } from './SidebarContext';\nimport { Dot } from 'lucide-react';\nimport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from '@vertesia/ui/core';\nimport { Nav } from \"@vertesia/ui/router\";\nexport function Sidebar({ children, logo, className }) {\n return (_jsxs(\"div\", { className: clsx(className || \"bg-indigo-600 dark:bg-indigo-950\", \"flex flex-col h-full\"), children: [logo &&\n _jsx(\"div\", { className: \"-mx-2 flex h-auto my-4 shrink-0 self-start\", children: logo }), _jsx(\"div\", { className: \"flex-1 min-h-0 overflow-hidden px-0 lg:px-2\", children: _jsx(\"nav\", { className: \"h-full flex flex-col\", children: _jsx(\"ul\", { role: \"list\", className: \"flex flex-col gap-y-2 overflow-y-auto h-full\", children: children }) }) })] }));\n}\nexport function SidebarSection({ children, title, action, isFooter = false, className }) {\n const { isOpen } = useSidebarToggle();\n let header = isOpen ? _jsxs(_Fragment, { children: [title || \"\", action] }) : _jsx(Dot, { className: 'size-6' });\n return (_jsxs(\"li\", { className: isFooter ? 'mt-auto' : '', children: [title && _jsx(\"div\", { className: \"text-xs font-medium h-8 flex items-center gap-x-2 px-2 text-sidebar-foreground/70\", children: header }), _jsx(\"ul\", { \"data-sidebar\": \"menu\", className: clsx(\"flex w-full min-w-0 flex-col gap-1\", className), children: children })] }));\n}\nexport function SidebarTooltip({ children, text }) {\n const { isOpen } = useSidebarToggle();\n return (isOpen ? _jsx(_Fragment, { children: children }) :\n _jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: children }), _jsx(TooltipContent, { side: 'right', children: text })] }) }));\n}\nexport function SidebarItem({ external, className, tools, children, icon: Icon, href, to, current, onClick, replace }) {\n const { toggleMobile } = useSidebarToggle();\n const _closeSideBar = () => {\n setTimeout(() => {\n toggleMobile(false);\n }, 100);\n };\n const onClickWrapper = (event) => {\n if (external) {\n window.open(href, '_blank');\n event.preventDefault(); // Prevent default link behavior\n event.stopPropagation(); // Stop the event from propagating\n }\n else if (onClick) {\n onClick(event);\n }\n };\n return (_jsx(\"li\", { children: _jsx(Nav, { to: to, onClick: _closeSideBar, replace: replace, children: _jsx(SidebarTooltip, { text: children, children: _jsxs(\"a\", { href: href, onClick: onClickWrapper, className: clsx(current\n ? 'bg-sidebar-accent text-sidebar-accent-foreground'\n : 'text-sidebar-foreground hover:text-sidebar-accent-foreground hover:bg-sidebar-accent', 'group flex gap-x-3 rounded-md px-2 py-1.5 text-sm items-center h-8', className), children: [Icon &&\n _jsx(Icon, { className: clsx(current\n ? 'bg-sidebar-accent text-sidebar-accent-foreground'\n : 'text-sidebar-foreground hover:text-sidebar-accent-foreground hover:bg-sidebar-accent', 'size-4 shrink-0'), \"aria-hidden\": \"true\" }), children, tools && _jsx(\"div\", { className: 'flex items-center ml-auto', children: tools })] }) }) }) }));\n}\n//# sourceMappingURL=Sidebar.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport clsx from 'clsx';\nimport { useEffect, useState } from 'react';\nimport { SidePanel } from '@vertesia/ui/core';\n// import { FullHeightLayout } from './FullHeightLayout.js'\nimport { Navbar } from './Navbar.js';\nimport { Sidebar } from './Sidebar.js';\nimport { SidebarContext } from './SidebarContext.js';\nexport function AppLayout({ sidebarClassName, className, title, children, logo, navbar, sidebar, mainNav }) {\n if (localStorage.getItem('desktopSidebarOpen') === null) {\n localStorage.setItem('desktopSidebarOpen', 'true');\n }\n const [sidebarOpen, setSidebarOpen] = useState(false);\n const [desktopSidebarOpen, setDesktopSidebarOpen] = useState(localStorage.getItem('desktopSidebarOpen') === 'true');\n const [isLargeScreen, setIsLargeScreen] = useState(window.innerWidth >= 1024);\n useEffect(() => {\n const handleResize = () => {\n setIsLargeScreen(window.innerWidth >= 1024);\n };\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n const sidebarContextValue = {\n isOpen: isLargeScreen ? desktopSidebarOpen : sidebarOpen,\n toggleDesktop: (value) => {\n if (value === undefined) {\n setDesktopSidebarOpen(!desktopSidebarOpen);\n }\n else {\n setDesktopSidebarOpen(value);\n }\n localStorage.setItem('desktopSidebarOpen', JSON.stringify(!desktopSidebarOpen));\n },\n toggleMobile: (value) => {\n if (value === undefined) {\n setSidebarOpen(!sidebarOpen);\n }\n else {\n setSidebarOpen(value);\n }\n },\n };\n return (_jsx(_Fragment, { children: _jsx(\"div\", { className: 'flex flex-col h-screen overflow-y-hidden', children: _jsxs(SidebarContext.Provider, { value: sidebarContextValue, children: [_jsx(\"div\", { className: 'w-full', children: mainNav }), _jsxs(\"div\", { className: 'flex h-full overflow-y-auto w-full', children: [_jsx(\"div\", { className: \"lg:hidden\", children: _jsx(SidePanel, { className: 'bg-sidebar', isOpen: sidebarOpen, onClose: () => setSidebarOpen(false), side: \"left\", panelWidth: 288, resizable: false, backdrop: true, children: _jsx(Sidebar, { logo: logo, className: sidebarClassName, children: sidebar }) }) }), _jsx(\"div\", { className: `hidden lg:block relative transition-all duration-300 ${desktopSidebarOpen ? 'w-72' : 'w-12'}`, children: _jsx(Sidebar, { logo: logo, className: sidebarClassName, children: sidebar }) }), _jsxs(\"div\", { className: \"w-full h-full overflow-y-hidden\", children: [navbar ? (_jsx(Navbar, { title: title, logo: logo, children: navbar })) : null, _jsx(\"main\", { className: clsx(\"flex-1 h-full w-full relative flex flex-col\", className), children: children })] })] })] }) }) }));\n}\n//# sourceMappingURL=AppLayout.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { cn } from '@vertesia/ui/core';\nimport { Env } from '@vertesia/ui/env';\nconst regionLabels = {\n eu: 'EU',\n jp: 'JP',\n};\nexport function RegionTag({ className }) {\n const region = Env.region;\n // Only show for non-US regions (US is default, no need to display)\n if (!region || region === 'us')\n return null;\n return (_jsx(\"div\", { className: cn('text-[0.6rem] font-semibold px-1.5 rounded-3xl leading-4', 'bg-info text-white', className), children: regionLabels[region] ?? region.toUpperCase() }));\n}\n//# sourceMappingURL=RegionTag.js.map"],"names":["FullHeightLayout","className","children","_jsx","clsx","Fixed","heightClass","Body","VR","HR","Flex","Tab","SidebarContext","createContext","isOpen","toggleMobile","toggleDesktop","useSidebarToggle","useContext","TitleBar","title","NAMESPACE","i18nInstance","i18next","createInstance","Navbar","logo","onSearch","_jsxs","HamburgerButton","NavbarSeparator","visible","SearchBox","t","useTranslation","i18n","action","method","htmlFor","Search","id","placeholder","type","name","_Fragment","Button","variant","size","onClick","window","innerWidth","Menu","visibility","NavbarIconButton","icon","Icon","NavbarButton","NavbarLink","href","Sidebar","role","SidebarSection","isFooter","header","Dot","SidebarTooltip","text","TooltipProvider","Tooltip","TooltipTrigger","asChild","TooltipContent","side","SidebarItem","external","tools","to","current","replace","Nav","setTimeout","event","open","preventDefault","stopPropagation","AppLayout","sidebarClassName","navbar","sidebar","mainNav","localStorage","getItem","setItem","sidebarOpen","setSidebarOpen","useState","desktopSidebarOpen","setDesktopSidebarOpen","isLargeScreen","setIsLargeScreen","useEffect","handleResize","addEventListener","removeEventListener","sidebarContextValue","value","undefined","JSON","stringify","Provider","SidePanel","onClose","panelWidth","resizable","backdrop","use","initReactI18next","init","resources","ar","de","en","es","fr","it","ja","ko","pt","ru","tr","zh","fallbackLng","ns","defaultNS","interpolation","escapeValue","react","useSuspense","regionLabels","eu","jp","RegionTag","region","Env","cn","toUpperCase"],"mappings":"yhBAEO,SAASA,GAAiBC,UAAEA,EAASC,SAAEA,IAC1C,OAAQC,EAAK,MAAO,CAAEF,UAAWG,EAAK,gBAAiB,SAAU,kBAAmB,OAAQH,GAAYC,SAAUA,GACtH,CACAF,EAAiBK,MAAQ,UAAeC,YAAEA,EAAWL,UAAEA,EAASC,SAAEA,IAC9D,OAAQC,EAAK,MAAO,CAAEF,UAAWG,EAAK,SAAUE,EAAaL,GAAYC,SAAUA,GACvF,EACAF,EAAiBO,KAAO,UAAcN,UAAEA,EAASC,SAAEA,IAC/C,OAAQC,EAAK,MAAO,CAAEF,UAAWG,EAAK,qBAAsB,UAAW,MAAOH,GAAYC,SAAUA,GACxG,EACAF,EAAiBQ,GAAK,aAClB,OAAQL,EAAK,MAAO,CAAEF,UAAW,iCACrC,EACAD,EAAiBS,GAAK,aAClB,OAAQN,EAAK,MAAO,CAAEF,UAAW,sCACrC,EACAD,EAAiBU,KAAO,UAAcT,UAAEA,EAASC,SAAEA,IAC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MC,EAAe,CACjBC,GAAI,KACJC,GAAI,MAED,SAASC,GAAU5I,UAAEA,IACxB,MAAM6I,EAASC,EAAID,OAEnB,OAAKA,GAAqB,OAAXA,EAEP3I,EAAK,MAAO,CAAEF,UAAW+I,EAAG,2DAA4D,qBAAsB/I,GAAYC,SAAUwI,EAAaI,IAAWA,EAAOG,gBADhK,IAEf"}
1
+ {"version":3,"file":"vertesia-ui-layout.js","sources":["layout/SidebarContext.js","layout/TitleBar.js","layout/Navbar.js","layout/Sidebar.js","layout/AppLayout.js","layout/ErrorPage.js","layout/FullHeightLayout.js","layout/RegionTag.js"],"sourcesContent":["import { createContext, useContext } from 'react';\nexport const SidebarContext = createContext({\n isOpen: false,\n toggleMobile: () => void 0,\n toggleDesktop: () => void 0,\n});\nexport function useSidebarToggle() {\n return useContext(SidebarContext);\n}\n//# sourceMappingURL=SidebarContext.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nexport function TitleBar({ title }) {\n return _jsx(\"div\", { className: \"self-center text-lg font-semibold\", children: title });\n}\n//# sourceMappingURL=TitleBar.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Button } from '@vertesia/ui/core';\nimport { useUITranslation } from '@vertesia/ui/i18n';\nimport { Menu, Search } from 'lucide-react';\nimport { useSidebarToggle } from './SidebarContext.js';\nimport { TitleBar } from './TitleBar.js';\nexport function Navbar({ children, logo, onSearch, title }) {\n return (_jsxs(\"div\", { className: \"sticky top-0 z-40 flex h-16 shrink-0 items-center gap-x-4 border-b px-4 shadow-2xs sm:gap-x-6 sm:px-6 lg:px-8\", children: [_jsx(HamburgerButton, {}), _jsx(\"div\", { className: \"lg:hidden\", children: logo }), onSearch && _jsx(NavbarSeparator, { visible: \"mobile\" }), _jsxs(\"div\", { className: \"flex flex-1 gap-x-4 self-stretch lg:gap-x-6\", children: [_jsx(TitleBar, { title: title }), onSearch && _jsx(SearchBox, { onSearch: onSearch }), _jsx(\"div\", { className: \"flex items-center gap-x-4 lg:gap-x-6 ms-auto\", children: children })] })] }));\n}\nfunction SearchBox(_props) {\n const { t } = useUITranslation();\n return (_jsxs(\"form\", { className: \"relative flex flex-1\", action: \"#\", method: \"GET\", children: [_jsx(\"label\", { htmlFor: \"search-field\", className: \"sr-only\", children: t('layout.search') }), _jsx(Search, { className: \"pointer-events-none absolute inset-y-0 start-0 h-full w-5 text-gray-400\", \"aria-hidden\": \"true\" }), _jsx(\"input\", { id: \"search-field\", className: \"block h-full w-full border-0 py-0 ps-8 pe-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm\", placeholder: t('layout.searchPlaceholder'), type: \"search\", name: \"search\" })] }));\n}\nexport function HamburgerButton() {\n const { toggleDesktop, toggleMobile } = useSidebarToggle();\n const toggle = () => {\n if (window.innerWidth < 1024) {\n toggleMobile();\n }\n else {\n toggleDesktop();\n }\n };\n return (_jsx(Button, { variant: \"ghost\", size: \"icon\", onClick: () => toggle(), className: \"p-2 rounded-full transition-colors w-full text-center \", children: _jsx(Menu, { \"aria-hidden\": \"true\", size: 24 }) }));\n}\nexport function NavbarSeparator({ visible }) {\n let visibility = '';\n if (visible) {\n visibility = visible === 'mobile' ? 'lg:hidden' : 'hidden lg:block';\n }\n return _jsx(\"div\", { className: `h-6 w-px bg-gray-900/10 dark:bg-slate-900/0.1 ${visibility}`, \"aria-hidden\": \"true\" });\n}\nexport function NavbarIconButton({ title, icon: Icon, onClick }) {\n return (_jsxs(\"button\", { type: \"button\", className: \"-m-2.5 p-2.5 text-gray-400 dark:text-slate-50 hover:text-gray-500\", onClick: onClick, children: [_jsx(\"span\", { className: \"sr-only\", children: title }), _jsx(Icon, { className: \"size-6\", \"aria-hidden\": \"true\", title: title })] }));\n}\nexport function NavbarButton({ children, onClick }) {\n return _jsx(Button, { onClick: onClick, children: children });\n}\nexport function NavbarLink({ href, onClick, children }) {\n return (_jsx(\"a\", { className: \"dark:text-slate-50\", href: href, onClick: onClick, children: children }));\n}\n//# sourceMappingURL=Navbar.js.map","import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@vertesia/ui/core';\nimport { Nav, useRouterContext } from '@vertesia/ui/router';\nimport clsx from 'clsx';\nimport { Dot } from 'lucide-react';\nimport { useSidebarToggle } from './SidebarContext';\nexport function Sidebar({ children, logo, className }) {\n return (_jsxs(\"div\", { className: clsx(className || 'bg-indigo-600 dark:bg-indigo-950', 'flex flex-col h-full'), children: [logo && _jsx(\"div\", { className: \"-mx-2 flex h-auto my-4 shrink-0 self-start\", children: logo }), _jsx(\"div\", { className: \"flex-1 min-h-0 overflow-hidden px-0 lg:px-2\", children: _jsx(\"nav\", { className: \"h-full flex flex-col\", children: _jsx(\"ul\", { className: \"flex flex-col gap-y-2 overflow-y-auto h-full\", children: children }) }) })] }));\n}\nexport function SidebarSection({ children, title, action, isFooter = false, className }) {\n const { isOpen } = useSidebarToggle();\n const header = isOpen ? (_jsxs(_Fragment, { children: [title || '', action] })) : (_jsx(Dot, { className: \"size-6\" }));\n return (_jsxs(\"li\", { className: isFooter ? 'mt-auto' : '', children: [title && (_jsx(\"div\", { className: \"text-xs font-medium h-8 flex items-center gap-x-2 px-2 text-sidebar-foreground/70\", children: header })), _jsx(\"ul\", { \"data-sidebar\": \"menu\", className: clsx('flex w-full min-w-0 flex-col gap-1', className), children: children })] }));\n}\nexport function SidebarTooltip({ children, text }) {\n const { isOpen } = useSidebarToggle();\n return isOpen ? (children) : (_jsx(TooltipProvider, { children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: children }), _jsx(TooltipContent, { side: \"right\", children: text })] }) }));\n}\nexport function SidebarItem({ external, className, tools, children, icon: Icon, href, to, current, onClick, replace, skipStickyParams, }) {\n const { toggleMobile } = useSidebarToggle();\n const { router } = useRouterContext();\n // Append the active tenant sticky params (account `a` + project `p`) the router holds to internal\n // hrefs, so opening a nav item in a new tab or copying its address preserves the current\n // account/project.\n const resolvedHref = !skipStickyParams && href.startsWith('/') ? router.getTopRouter().navigator.addStickyParams(href) : href;\n const _closeSideBar = () => {\n setTimeout(() => {\n toggleMobile(false);\n }, 100);\n };\n const onClickWrapper = (event) => {\n if (external) {\n window.open(resolvedHref, '_blank');\n event.preventDefault(); // Prevent default link behavior\n event.stopPropagation(); // Stop the event from propagating\n }\n else if (onClick) {\n onClick(event);\n }\n };\n return (_jsx(\"li\", { children: _jsx(Nav, { to: to, onClick: _closeSideBar, replace: replace, children: _jsx(SidebarTooltip, { text: children, children: _jsxs(\"a\", { href: resolvedHref, onClick: onClickWrapper, className: clsx(current\n ? 'bg-sidebar-accent text-sidebar-accent-foreground'\n : 'text-sidebar-foreground hover:text-sidebar-accent-foreground hover:bg-sidebar-accent', 'group flex gap-x-3 rounded-md px-2 py-1.5 text-sm items-center h-8', className), children: [Icon && (_jsx(Icon, { className: clsx(current\n ? 'bg-sidebar-accent text-sidebar-accent-foreground'\n : 'text-sidebar-foreground hover:text-sidebar-accent-foreground hover:bg-sidebar-accent', 'size-4 shrink-0'), \"aria-hidden\": \"true\" })), children, tools && _jsx(\"div\", { className: \"flex items-center ms-auto\", children: tools })] }) }) }) }));\n}\n//# sourceMappingURL=Sidebar.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { SidePanel } from '@vertesia/ui/core';\nimport { useLanguage } from '@vertesia/ui/i18n';\nimport clsx from 'clsx';\nimport { useEffect, useState } from 'react';\n// import { FullHeightLayout } from './FullHeightLayout.js'\nimport { Navbar } from './Navbar.js';\nimport { Sidebar } from './Sidebar.js';\nimport { SidebarContext } from './SidebarContext.js';\nexport function AppLayout({ sidebarClassName, className, title, children, logo, navbar, sidebar, mainNav, }) {\n if (localStorage.getItem('desktopSidebarOpen') === null) {\n localStorage.setItem('desktopSidebarOpen', 'true');\n }\n const { isRTL } = useLanguage();\n const [sidebarOpen, setSidebarOpen] = useState(false);\n const [desktopSidebarOpen, setDesktopSidebarOpen] = useState(localStorage.getItem('desktopSidebarOpen') === 'true');\n const [isLargeScreen, setIsLargeScreen] = useState(window.innerWidth >= 1024);\n useEffect(() => {\n const handleResize = () => {\n setIsLargeScreen(window.innerWidth >= 1024);\n };\n window.addEventListener('resize', handleResize);\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n const sidebarContextValue = {\n isOpen: isLargeScreen ? desktopSidebarOpen : sidebarOpen,\n toggleDesktop: (value) => {\n if (value === undefined) {\n setDesktopSidebarOpen(!desktopSidebarOpen);\n }\n else {\n setDesktopSidebarOpen(value);\n }\n localStorage.setItem('desktopSidebarOpen', JSON.stringify(!desktopSidebarOpen));\n },\n toggleMobile: (value) => {\n if (value === undefined) {\n setSidebarOpen(!sidebarOpen);\n }\n else {\n setSidebarOpen(value);\n }\n },\n };\n return (_jsx(\"div\", { className: \"flex flex-col h-screen overflow-y-hidden\", children: _jsxs(SidebarContext.Provider, { value: sidebarContextValue, children: [_jsx(\"div\", { className: \"w-full\", children: mainNav }), _jsxs(\"div\", { className: \"flex h-full overflow-y-auto w-full\", children: [_jsx(\"div\", { className: \"lg:hidden\", children: _jsx(SidePanel, { className: \"bg-sidebar\", isOpen: sidebarOpen, onClose: () => setSidebarOpen(false), side: isRTL ? 'right' : 'left', panelWidth: 288, resizable: false, backdrop: true, children: _jsx(Sidebar, { logo: logo, className: sidebarClassName, children: sidebar }) }) }), _jsx(\"div\", { className: `hidden lg:block relative transition-all duration-300 ${desktopSidebarOpen ? 'w-72' : 'w-12'}`, children: _jsx(Sidebar, { logo: logo, className: sidebarClassName, children: sidebar }) }), _jsxs(\"div\", { className: \"w-full h-full overflow-y-hidden\", children: [navbar ? (_jsx(Navbar, { title: title, logo: logo, children: navbar })) : null, _jsx(\"main\", { className: clsx('flex-1 h-full w-full relative flex flex-col', className), children: children })] })] })] }) }));\n}\n//# sourceMappingURL=AppLayout.js.map","import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { Button } from '@vertesia/ui/core';\nexport function ErrorPage({ title = 'Something went wrong', message = 'An unexpected error occurred. Please try again.', actionLabel = 'Try again', onAction, }) {\n return (_jsx(\"div\", { className: \"flex min-h-screen items-center justify-center bg-white px-6 py-12 text-center\", children: _jsxs(\"div\", { className: \"max-w-md space-y-6\", children: [_jsx(\"div\", { className: \"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-destructive text-3xl font-semibold text-destructive\", children: \"!\" }), _jsxs(\"div\", { className: \"space-y-2\", children: [_jsx(\"h1\", { className: \"text-2xl font-semibold tracking-tight\", children: title }), _jsx(\"p\", { className: \"text-sm leading-6 text-muted\", children: message })] }), onAction ? _jsx(Button, { onClick: onAction, children: actionLabel }) : null] }) }));\n}\n//# sourceMappingURL=ErrorPage.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport clsx from 'clsx';\nexport function FullHeightLayout({ className, children }) {\n return _jsx(\"div\", { className: clsx('flex flex-col', 'h-full', 'overflow-y-auto', 'px-2', className), children: children });\n}\nFullHeightLayout.Fixed = function Fixed({ heightClass, className, children }) {\n return _jsx(\"div\", { className: clsx('w-full', heightClass, className), children: children });\n};\nFullHeightLayout.Body = function Body({ className, children }) {\n return _jsx(\"div\", { className: clsx('grow overflow-auto', 'min-h-0', 'p-2', className), children: children });\n};\nFullHeightLayout.VR = function VDivider() {\n return _jsx(\"div\", { className: \"w-[1px] border border-red-200\" });\n};\nFullHeightLayout.HR = function HDivider() {\n return _jsx(\"div\", { className: \"w-full h-1 border-b border-red-200\" });\n};\nFullHeightLayout.Flex = function Flex({ className, children }) {\n return _jsx(\"div\", { className: clsx('grow flex flex-col', 'overflow-hidden min-h-0', 'p-2', className), children: children });\n};\nFullHeightLayout.Tab = function Tab({ children }) {\n return _jsx(\"div\", { className: \"flex flex-col h-full\", children: children });\n};\n//# sourceMappingURL=FullHeightLayout.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { cn } from '@vertesia/ui/core';\nimport { Env } from '@vertesia/ui/env';\nconst regionLabels = {\n eu: 'EU',\n jp: 'JP',\n};\nexport function RegionTag({ className }) {\n const region = Env.region;\n // Only show for non-US regions (US is default, no need to display)\n if (!region || region === 'us')\n return null;\n return (_jsx(\"div\", { className: cn('text-[0.6rem] font-semibold px-1.5 rounded-3xl leading-4', 'bg-info text-white', className), children: regionLabels[region] ?? region.toUpperCase() }));\n}\n//# sourceMappingURL=RegionTag.js.map"],"names":["SidebarContext","createContext","isOpen","toggleMobile","toggleDesktop","useSidebarToggle","useContext","TitleBar","title","_jsx","className","children","Navbar","logo","onSearch","_jsxs","HamburgerButton","NavbarSeparator","visible","SearchBox","_props","t","useUITranslation","action","method","htmlFor","Search","id","placeholder","type","name","Button","variant","size","onClick","window","innerWidth","Menu","visibility","NavbarIconButton","icon","Icon","NavbarButton","NavbarLink","href","Sidebar","clsx","SidebarSection","isFooter","header","_Fragment","Dot","SidebarTooltip","text","TooltipProvider","Tooltip","TooltipTrigger","asChild","TooltipContent","side","SidebarItem","external","tools","to","current","replace","skipStickyParams","router","useRouterContext","resolvedHref","startsWith","getTopRouter","navigator","addStickyParams","Nav","setTimeout","event","open","preventDefault","stopPropagation","AppLayout","sidebarClassName","navbar","sidebar","mainNav","localStorage","getItem","setItem","isRTL","useLanguage","sidebarOpen","setSidebarOpen","useState","desktopSidebarOpen","setDesktopSidebarOpen","isLargeScreen","setIsLargeScreen","useEffect","handleResize","addEventListener","removeEventListener","sidebarContextValue","value","undefined","JSON","stringify","Provider","SidePanel","onClose","panelWidth","resizable","backdrop","ErrorPage","message","actionLabel","onAction","FullHeightLayout","Fixed","heightClass","Body","VR","HR","Flex","Tab","regionLabels","eu","jp","RegionTag","region","Env","cn","toUpperCase"],"mappings":"yhBACY,MAACA,EAAiBC,EAAc,CACxCC,QAAQ,EACRC,aAAc,OACdC,cAAe,SAEZ,SAASC,IACZ,OAAOC,EAAWN,EACtB,CCPO,SAASO,GAASC,MAAEA,IACvB,OAAOC,EAAK,MAAO,CAAEC,UAAW,oCAAqCC,SAAUH,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,EAAK,MAAO,CAAEC,UAAW,sCACpC,EACA0G,EAAiBM,KAAO,UAAchH,UAAEA,EAASC,SAAEA,IAC/C,OAAOF,EAAK,MAAO,CAAEC,UAAWoC,EAAK,qBAAsB,0BAA2B,MAAOpC,GAAYC,SAAUA,GACvH,EACAyG,EAAiBO,IAAM,UAAahH,SAAEA,IAClC,OAAOF,EAAK,MAAO,CAAEC,UAAW,uBAAwBC,SAAUA,GACtE,ECnBA,MAAMiH,EAAe,CACjBC,GAAI,KACJC,GAAI,MAED,SAASC,GAAUrH,UAAEA,IACxB,MAAMsH,EAASC,EAAID,OAEnB,OAAKA,GAAqB,OAAXA,EAEPvH,EAAK,MAAO,CAAEC,UAAWwH,EAAG,2DAA4D,qBAAsBxH,GAAYC,SAAUiH,EAAaI,IAAWA,EAAOG,gBADhK,IAEf"}
@@ -1,2 +1,2 @@
1
- import{jsx as t,jsxs as e}from"react/jsx-runtime";import{useRef as n,useEffect as a,createContext as r,useContext as i,useState as s,useMemo as o}from"react";import{useSafeLayoutEffect as h}from"@vertesia/ui/core";function c(t){return"/"===t||""===t}function l(t,e){return e=t.endsWith("/")&&e.startsWith("/")?t+e.substring(1):t.endsWith("/")||e.startsWith("/")?t+e:t+"/"+e}function u(t){if(""===t)return[];if("/"===t)return[""];let e=0,n=t.length;return t.startsWith("./")?e=2:t.startsWith("/")&&(e=1),t.endsWith("/")&&(n=t.length-1),(e>0||n<t.length?t.substring(e,n):t).split("/")}function d(t){if("string"==typeof t)return u(t);if(Array.isArray(t))return t;throw new Error(`Unsupported path object: ${t}`)}var p=Object.freeze({__proto__:null,getPathSegments:u,isRootPath:c,joinPath:l,toSegments:d});class m{path;params;hash;constructor(t){let e=t.lastIndexOf("#");e>-1?(this.hash=t.substring(e),t=t.substring(0,e)):this.hash="",e=t.indexOf("?"),e>-1?(this.path=t.substring(0,e),this.params=new URLSearchParams(t.substring(e+1))):(this.path=t,this.params=new URLSearchParams)}add(t){for(const[e,n]of Object.entries(t))this.params.set(e,n);return this}toString(){return this.path+"?"+this.params.toString()+this.hash}}const f=Symbol("BASE_PATH");class g{name;type;location;state;_canceled=!1;constructor(t,e,n,a){this.name=t,this.type=e,this.location=n,this.state=a}get isPageLoad(){return"initial"===this.type}get isBackForward(){return"popState"===this.type}get isLinkClick(){return"linkClick"===this.type}get isNavigation(){return"navigate"===this.type}get isCancelable(){return"beforeChange"===this.name}cancel(){if("afterChange"===this.name)throw new Error("Cannot cancel afterChange event");this._canceled=!0}}class w extends g{constructor(t,e,n){super("beforeChange",t,e,n)}}class v extends g{constructor(t,e,n){super("afterChange",t,e,n)}}class P{stickyParams;_popStateListener;_linkNavListener;_listeners=[];constructor(){}addListener(t){this._listeners.push(t)}fireLocationChange(t){for(const e of this._listeners)e(t)}firePageLoad(){this.fireLocationChange(new v("initial",new URL(window.location.href)))}addStickyParams(t){return this.stickyParams?new m(t).add(this.stickyParams).toString():t}navigate(t,e={}){if(e.stepsBack&&e.stepsBack>0)this.stepBack(e.stepsBack,e);else{if(e.basePath){let n=e.basePath;n.startsWith("/")||(n="/"+n),t=l(n,t)}t=this.addStickyParams(t),this._navigate(new URL(t,window.location.href),"navigate",e)}}stepBack(t,e={}){const n=window.history.state.historyChain||[],a=n.length>=t?new URL(n[n.length-t].href,window.location.href):new URL(window.location.origin,window.location.href);this._navigate(a,"popState",e);const r={from:window.location.href,historyChain:n.slice(0,-t),data:e.state||void 0,title:e.title||document.title};window.history.replaceState(r,"",a.href),this.fireLocationChange(new v("popState",a,e.state))}_navigate(t,e,n){const a=new w(e,t,n.state);if(this.fireLocationChange(a),a._canceled)return;const r=window.history.state,i={title:n.title||document.title,href:window.location.pathname+window.location.search+window.location.hash};let s=[];!n.replace&&r?.historyChain&&(s=[...r.historyChain]),n.replace||(s.push(i),s.length>10&&(s=s.slice(-10)));const o={from:window.location.href,historyChain:s,data:n.state||void 0,title:n.title||document.title};window.history[n.replace?"replaceState":"pushState"](o,"",t.href),this.fireLocationChange(new v(e,t,n.state))}start(){if("undefined"==typeof window)return;const t=t=>{let e;const n=new URL(window.location.href);let a;t.state?(e="popState",a=t.state.data):e="linkClick",this.fireLocationChange(new v(e,n,a))};this._popStateListener=t,this._linkNavListener=t=>{const e=t.target;if("a"===e.tagName.toLowerCase()&&(e.hasAttribute("download")||e.href?.startsWith("blob:")))return;const n=function(t){if(t&&"a"===t.tagName.toLowerCase()){const e=t?.href.trim();if("string"==typeof e&&e.length>0)return new URL(e)}return null}(e);if(n&&n.origin===window.location.origin){t.preventDefault();const e=new URL(this.addStickyParams(n.href)),a=t[f]||t.target[f];a&&(e.pathname=l(a,e.pathname)),this._navigate(e,"linkClick",{})}},window.addEventListener("popstate",t),document.body.addEventListener("click",this._linkNavListener)}stop(){this._popStateListener&&window.removeEventListener("popstate",this._popStateListener),this._linkNavListener&&document.body.removeEventListener("click",this._linkNavListener)}}function b({basePath:e,children:r}){const i=n(null);return a(()=>{if(i.current){const t=i.current,n=t=>{"a"===t.target.tagName.toLowerCase()&&(t[f]=e)};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}},[i.current]),t("div",{ref:i,className:"h-full w-full",children:r})}class L{tree=new C;loadMapping(t){for(const[e,n]of Object.entries(t))this.addSegments(u(e),n)}addPath(t,e){this.addSegments(u(t),e)}addSegments(t,e){let n=this.tree;for(let a=0,r=t.length;a<r;a++){const i=t[a];if(":"===i[0]){let e=n.wildcard;if(e){if(!(e instanceof S))throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard ":" segment will overwrite an existing wildcard segment at path: ${"/"+t.slice(0,a).join("/")}`)}else e=new S(i),n.wildcard=e;n=e}else{if("*"===i){if(n.wildcard)throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard "*" segment already exists at path: ${"/"+t.slice(0,a).join("/")}`);if(n.wildcard=new _(i,e),a<r-1)throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard segment must be the last segment`);return}{let t=n.children[i];t||(t=new k(i),n.children[i]=t),n=t}}}if(void 0!==n.value)throw new Error(`Failed to index path segments: ${t.join("/")}. A value already exists at path: ${"/"+t.join("/")}`);n.value=e}match(t){const e=d(t);if(0===e.length)return null;const n={};let a,r,i=this.tree;for(const t of e){const e=i.match(t,n);if(!e)return null;i=e}if(!i.value){if(i instanceof y&&i.wildcard instanceof _&&(i=i.wildcard.match("",n),!i.value))throw new Error("Wildcard segment node `*` must have a value");if(!i.value)return null}return n._&&n._.length>0?(a=e.slice(0,-n._.length),r=n._):a=e,{params:n,matchedSegments:a,remainingSegments:r,value:i.value}}}class y{name;value;children={};wildcard;constructor(t,e){this.name=t,this.value=e}match(t,e){let n=this.children[t];if(n)return n;if(this.wildcard){if(this.wildcard instanceof _)return this.wildcard.match(t,e);if(this.wildcard instanceof S)return e[this.wildcard.paramName]=t,this.wildcard;throw new Error("Unknown wildcard segment node type: "+this.wildcard.constructor.name)}return null}}class C extends y{constructor(){super("#root")}}class k extends y{constructor(t,e){super(t,e)}}class S extends y{paramName;constructor(t,e){super(t,e),this.paramName=t.substring(1)}}class _{name;value;constructor(t,e){this.name=t,this.value=e}match(t,e){return e._?t&&e._.push(t):e._=t?[t]:[],this}}class x{index;matcher=new L;constructor(t,e){this.index=e;for(const e of t)this.matcher.addPath(e.path,e)}match(t){const e=c(t)&&this.index;return this.matcher.match(e?this.index:t)}}class R extends x{prompt;observer;navigator=new P;constructor(t,e){super(t),this.navigator.addListener(t=>{if((!(t.isCancelable&&this.prompt&&this.prompt.when)||window.confirm(this.prompt.message))&&(this.observer&&this.observer(t),"afterChange"===t.name)){const n=this.match(t.location.pathname);n&&n.value?e({...n,state:t.state}):e(null)}})}getTopRouter(){return this}setStickyParams(t){this.navigator.stickyParams=null!=t?t:void 0}withObserver(t){return this.observer=t,this}start(){this.navigator.start(),this.navigator.firePageLoad()}stop(){this.navigator.stop()}navigate(t,e){this.navigator.navigate(t,e)}}class E extends x{parent;basePath;constructor(t,e,n){super(n),this.parent=t,this.basePath=e}getTopRouter(){return this.parent instanceof R?this.parent:this.parent.getTopRouter()}navigate(t,e){let n;if(e?.isBasePathNested??!0){const a=e?.basePath;n=a?l(this.basePath,a):this.basePath,this.parent.navigate(t,{...e,basePath:n})}else this.parent.navigate(t,{...e,basePath:e?.basePath})}}const N=r(void 0);function j(){const t=i(N);if(!t)throw new Error("useRouter must be used within a RouterProvider");return t}function U(){const{navigate:t}=j();return t}function A(){const{matchedRoutePath:t,router:e}=j();return e instanceof E?e.basePath:t}function B(t){const{params:e}=j();return t?e[t]:e}function W(){const{location:t}=j();return t}function $(t){a(()=>{const e=document.title;return document.title=t,()=>{document.title=e}},[t])}function O(t){const{router:e}=j();a(()=>(e.getTopRouter().prompt=t,()=>{e.getTopRouter().prompt=void 0}),[]),a(()=>{if(t.when){const e=t.when,n=function(t){e&&(t.preventDefault(),t.returnValue="")};return window.addEventListener("beforeunload",n),()=>{window.removeEventListener("beforeunload",n)}}},[t.when])}function T({children:e,to:n,onClick:a,replace:r=!0}){const i=U();return t("span",{onClick:t=>{const e=t.target.closest("a"),s=e?.getAttribute("href"),o=n??s;e&&o&&(t.stopPropagation(),t.preventDefault(),i(o,{replace:r}),a?.(t))},children:e})}function z({children:e,href:n,className:a,topLevelNav:r,clearBreadcrumbs:i=!1}){const{router:s}=j();return t("a",{href:n,className:a,onClick:t=>{t.stopPropagation(),t.preventDefault();(r?s.getTopRouter():s).navigate(n,{replace:i})},children:e})}function F({spinner:e}){const n=j(),a=n.route;if(a.Component){const e=a.Component;return t(e,{...n.params})}if(a.LazyComponent)return t(D,{route:a,spinner:e});throw new Error(`Invalid route for ${a.path}. Either Component or LazyCOmponent must be specified.`)}function D({route:e,spinner:n}){const[r,i]=s(null);return a(()=>{e.LazyComponent().then(t=>{if(!t.default)throw new Error(`Lazy module for ${e.path} does not have a default export`);i(()=>t.default)})},[e]),r?t(r,{}):n||null}function I({basePath:e,fixLinks:n=!1,children:a}){const r=j(),i=n?e=>t(b,{basePath:r.matchedRoutePath,children:e}):t=>t;return t(N.Provider,{value:{...r,navigate:(t,n)=>{if(!1===n?.isBasePathNested)return r.navigate(t,n);const a=n?.basePath?l(e,n.basePath):e;return r.navigate(t,{...n,basePath:a})}},children:i(a||t(F,{}))})}function H(){const t=j();return e("div",{children:["Route not found for path ",t.matchedRoutePath]})}function M(){return{params:{},matchedSegments:[],state:null,value:{path:"virtual:404",Component:()=>t(H,{})}}}function V({routes:e,index:n,children:r,fixLinks:i=!1}){const h=j(),[c,l]=s(void 0),u=o(()=>{if("undefined"==typeof window)return null;const t=h.matchedRoutePath,a=new E(h.router,t,e);return a.index=n,a},[]);a(()=>{if(u){if(h.matchedRoutePath!==u.basePath)return;const t=u.match(h.remainingPath||"/")||M();l(t)}},[u,h.remainingPath]);const d=i?e=>t(b,{basePath:h.matchedRoutePath,children:e}):t=>t;return c&&t(N.Provider,{value:{...h,router:u,route:c.value,params:c.params,matchedRoutePath:"/"+c.matchedSegments.join("/"),remainingPath:c.remainingSegments?"/"+c.remainingSegments.join("/"):void 0,navigate:(t,e)=>{if(u)return u.navigate(t,e)}},children:d(r||t(F,{}))})}function q({routes:e,index:n,onChange:a,children:r}){const[i,c]=s(void 0),l=o(()=>{if("undefined"==typeof window)return null;const t=new R(e,e=>{null===e&&(e=M()),c({location:window.location,route:e.value,params:e.params,state:e.state,router:t,matchedRoutePath:"/"+e.matchedSegments.join("/"),remainingPath:e.remainingSegments?"/"+e.remainingSegments.join("/"):void 0,navigate:(e,n)=>t.navigate(e,n)})}).withObserver(a);return t.index=n,t},[]);return h(()=>(l&&l.start(),()=>{l&&l.stop()}),[]),i&&t(N.Provider,{value:i,children:r||t(F,{})})}export{v as AfterLocationChangeEvent,f as BASE_PATH,x as BaseRouter,w as BeforeLocationChangeEvent,b as FixLinks,P as HistoryNavigator,g as LocationChangeEvent,T as Nav,z as NavLink,I as NestedNavigationContext,E as NestedRouter,V as NestedRouterProvider,p as Path,L as PathMatcher,N as ReactRouterContext,F as RouteComponent,R as Router,q as RouterProvider,W as useLocation,U as useNavigate,O as useNavigationPrompt,$ as usePageTitle,B as useParams,A as useRouterBasePath,j as useRouterContext};
1
+ import{jsx as t,jsxs as e}from"react/jsx-runtime";import{useRef as n,useEffect as a,createContext as r,useContext as i,useState as s,useMemo as o}from"react";import{useSafeLayoutEffect as h}from"@vertesia/ui/core";class c{path;params;hash;constructor(t){let e=t.lastIndexOf("#");e>-1?(this.hash=t.substring(e),t=t.substring(0,e)):this.hash="",e=t.indexOf("?"),e>-1?(this.path=t.substring(0,e),this.params=new URLSearchParams(t.substring(e+1))):(this.path=t,this.params=new URLSearchParams)}add(t){for(const[e,n]of Object.entries(t))this.params.set(e,n);return this}toString(){return`${this.path}?${this.params.toString()}${this.hash}`}}function l(t){return"/"===t||""===t}function d(t,e){return e=t.endsWith("/")&&e.startsWith("/")?t+e.substring(1):t.endsWith("/")||e.startsWith("/")?t+e:`${t}/${e}`}function u(t){if(""===t)return[];if("/"===t)return[""];let e=0,n=t.length;return t.startsWith("./")?e=2:t.startsWith("/")&&(e=1),t.endsWith("/")&&(n=t.length-1),(e>0||n<t.length?t.substring(e,n):t).split("/")}function m(t){if("string"==typeof t)return u(t);if(Array.isArray(t))return t;throw new Error(`Unsupported path object: ${t}`)}var f=Object.freeze({__proto__:null,getPathSegments:u,isRootPath:l,joinPath:d,toSegments:m});const p=Symbol("BASE_PATH");class w{name;type;location;state;_canceled=!1;constructor(t,e,n,a){this.name=t,this.type=e,this.location=n,this.state=a}get isPageLoad(){return"initial"===this.type}get isBackForward(){return"popState"===this.type}get isLinkClick(){return"linkClick"===this.type}get isNavigation(){return"navigate"===this.type}get isCancelable(){return"beforeChange"===this.name}cancel(){if("afterChange"===this.name)throw new Error("Cannot cancel afterChange event");this._canceled=!0}}class g extends w{constructor(t,e,n){super("beforeChange",t,e,n)}}class v extends w{constructor(t,e,n){super("afterChange",t,e,n)}}class P{stickyParams;_popStateListener;_linkNavListener;_listeners=[];addListener(t){this._listeners.push(t)}fireLocationChange(t){for(const e of this._listeners)e(t)}firePageLoad(){this.fireLocationChange(new v("initial",new URL(window.location.href)))}addStickyParams(t){return this.stickyParams?new c(t).add(this.stickyParams).toString():t}normalizeCurrentUrl(){if("undefined"==typeof window||!this.stickyParams)return;const t=window.location.pathname+window.location.search+window.location.hash,e=this.addStickyParams(t);if(e!==t){const t=new URL(e,window.location.href);window.history.replaceState(window.history.state,"",t.href)}}navigate(t,e={}){if(e.stepsBack&&e.stepsBack>0)this.stepBack(e.stepsBack,e);else{if(e.basePath){let n=e.basePath;n.startsWith("/")||(n=`/${n}`),t=d(n,t)}t=this.addStickyParams(t),this._navigate(new URL(t,window.location.href),"navigate",e)}}stepBack(t,e={}){const n=window.history.state.historyChain||[],a=n.length>=t?new URL(n[n.length-t].href,window.location.href):new URL(window.location.origin,window.location.href);this._navigate(a,"popState",e);const r={from:window.location.href,historyChain:n.slice(0,-t),data:e.state||void 0,title:e.title||document.title};window.history.replaceState(r,"",a.href),this.fireLocationChange(new v("popState",a,e.state))}_navigate(t,e,n){const a=new g(e,t,n.state);if(this.fireLocationChange(a),a._canceled)return;const r=window.history.state,i={title:n.title||document.title,href:window.location.pathname+window.location.search+window.location.hash};let s=[];!n.replace&&r?.historyChain&&(s=[...r.historyChain]),n.replace||(s.push(i),s.length>10&&(s=s.slice(-10)));const o={from:window.location.href,historyChain:s,data:n.state||void 0,title:n.title||document.title};window.history[n.replace?"replaceState":"pushState"](o,"",t.href),this.fireLocationChange(new v(e,t,n.state))}start(){if("undefined"==typeof window)return;const t=t=>{let e;const n=new URL(window.location.href);let a;t.state?(e="popState",a=t.state.data):e="linkClick",this.fireLocationChange(new v(e,n,a))};this._popStateListener=t,this._linkNavListener=t=>{const e=t.target;if("a"===e.tagName.toLowerCase()&&(e.hasAttribute("download")||e.href?.startsWith("blob:")))return;const n=function(t){if(t&&"a"===t.tagName.toLowerCase()){const e=t?.href.trim();if("string"==typeof e&&e.length>0)return new URL(e)}return null}(e);if(n&&n.origin===window.location.origin){t.preventDefault();const e=new URL(this.addStickyParams(n.href)),a=t[p]||t.target[p];a&&(e.pathname=d(a,e.pathname)),this._navigate(e,"linkClick",{})}},window.addEventListener("popstate",t),document.body.addEventListener("click",this._linkNavListener)}stop(){this._popStateListener&&window.removeEventListener("popstate",this._popStateListener),this._linkNavListener&&document.body.removeEventListener("click",this._linkNavListener)}}function b({basePath:e,children:r}){const i=n(null);return a(()=>{if(i.current){const t=i.current,n=t=>{"a"===t.target.tagName.toLowerCase()&&(t[p]=e)};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}}},[e]),t("div",{ref:i,className:"h-full w-full",children:r})}class L{tree=new k;loadMapping(t){for(const[e,n]of Object.entries(t))this.addSegments(u(e),n)}addPath(t,e){this.addSegments(u(t),e)}addSegments(t,e){let n=this.tree;for(let a=0,r=t.length;a<r;a++){const i=t[a];if(":"===i[0]){let e=n.wildcard;if(e){if(!(e instanceof S))throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard ":" segment will overwrite an existing wildcard segment at path: /${t.slice(0,a).join("/")}`)}else e=new S(i),n.wildcard=e;n=e}else{if("*"===i){if(n.wildcard)throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard "*" segment already exists at path: /${t.slice(0,a).join("/")}`);if(n.wildcard=new _(i,e),a<r-1)throw new Error(`Failed to index path segments: ${t.join("/")}. A wildcard segment must be the last segment`);return}{let t=n.children[i];t||(t=new C(i),n.children[i]=t),n=t}}}if(void 0!==n.value)throw new Error(`Failed to index path segments: ${t.join("/")}. A value already exists at path: /${t.join("/")}`);n.value=e}match(t){const e=m(t);if(0===e.length)return null;const n={};let a,r,i=this.tree;for(const t of e){const e=i.match(t,n);if(!e)return null;i=e}if(!i.value){if(i instanceof y&&i.wildcard instanceof _&&(i=i.wildcard.match("",n),!i.value))throw new Error("Wildcard segment node `*` must have a value");if(!i.value)return null}return n._&&n._.length>0?(a=e.slice(0,-n._.length),r=n._):a=e,{params:n,matchedSegments:a,remainingSegments:r,value:i.value}}}class y{name;value;children={};wildcard;constructor(t,e){this.name=t,this.value=e}match(t,e){const n=this.children[t];if(n)return n;if(this.wildcard){if(this.wildcard instanceof _)return this.wildcard.match(t,e);if(this.wildcard instanceof S)return e[this.wildcard.paramName]=t,this.wildcard;throw new Error(`Unknown wildcard segment node type: ${this.wildcard.constructor.name}`)}return null}}class k extends y{constructor(){super("#root")}}class C extends y{}class S extends y{paramName;constructor(t,e){super(t,e),this.paramName=t.substring(1)}}class _{name;value;constructor(t,e){this.name=t,this.value=e}match(t,e){return e._?t&&e._.push(t):e._=t?[t]:[],this}}class x{index;matcher=new L;constructor(t,e){this.index=e;for(const e of t)this.matcher.addPath(e.path,e)}match(t){const e=l(t)&&this.index;return this.matcher.match(e?this.index:t)}}class R extends x{prompt;observer;navigator=new P;constructor(t,e){super(t),this.navigator.addListener(t=>{if((!t.isCancelable||!this.prompt?.when||window.confirm(this.prompt.message))&&(this.observer&&this.observer(t),"afterChange"===t.name)){const n=this.match(t.location.pathname);e(n?.value?{...n,state:t.state}:null)}})}getTopRouter(){return this}setStickyParams(t){this.navigator.stickyParams=null!=t?t:void 0,this.navigator.normalizeCurrentUrl()}withObserver(t){return this.observer=t,this}start(){this.navigator.start(),this.navigator.firePageLoad()}stop(){this.navigator.stop()}navigate(t,e){this.navigator.navigate(t,e)}}class E extends x{parent;basePath;constructor(t,e,n){super(n),this.parent=t,this.basePath=e}getTopRouter(){return this.parent instanceof R?this.parent:this.parent.getTopRouter()}navigate(t,e){let n;if(e?.isBasePathNested??!0){const a=e?.basePath;n=a?d(this.basePath,a):this.basePath,this.parent.navigate(t,{...e,basePath:n})}else this.parent.navigate(t,{...e,basePath:e?.basePath})}}const $=r(void 0);function N(){const t=i($);if(!t)throw new Error("useRouter must be used within a RouterProvider");return t}function j(){const{navigate:t}=N();return t}function U(){const{matchedRoutePath:t,router:e}=N();return e instanceof E?e.basePath:t}function W(t){const{params:e}=N();return t?e[t]:e}function A(){const{location:t}=N();return t}function B(t){a(()=>{const e=document.title;return document.title=t,()=>{document.title=e}},[t])}function z(t){const{router:e}=N(),n=e.getTopRouter();a(()=>(n.prompt=t,()=>{n.prompt=void 0}),[t,n]),a(()=>{if(t.when){const e=t.when,n=t=>{e&&(t.preventDefault(),t.returnValue="")};return window.addEventListener("beforeunload",n),()=>{window.removeEventListener("beforeunload",n)}}},[t.when])}function O({children:e,to:n,onClick:a,replace:r=!0}){const i=j();return t("span",{onClick:t=>{const e=t.target.closest("a"),s=e?.getAttribute("href"),o=n??s;e&&o&&(t.stopPropagation(),t.preventDefault(),i(o,{replace:r}),a?.(t))},children:e})}function T({children:e,href:n,className:a,target:r,topLevelNav:i,clearBreadcrumbs:s=!1,replace:o,skipStickyParams:h}){const{router:c}=N(),l=!n||n.startsWith("#"),d=/^[a-z][a-z0-9+.-]*:/i.test(n)||n.startsWith("//")||!!r&&"_self"!==r,u=!l&&!d,m=!h&&u?c.getTopRouter().navigator.addStickyParams(n):n;return t("a",{href:m,className:a,target:r,onClick:t=>{if(t.defaultPrevented||!u)return;t.stopPropagation(),t.preventDefault();(i?c.getTopRouter():c).navigate(n,{replace:o??s})},children:e})}function F({spinner:e}){const n=N(),a=n.route;if(a.Component){const e=a.Component;return t(e,{...n.params})}if(a.LazyComponent)return t(D,{route:a,spinner:e});throw new Error(`Invalid route for ${a.path}. Either Component or LazyCOmponent must be specified.`)}function D({route:e,spinner:n}){const[r,i]=s(null);return a(()=>{e.LazyComponent().then(t=>{if(!t.default)throw new Error(`Lazy module for ${e.path} does not have a default export`);i(()=>t.default)})},[e]),r?t(r,{}):n||null}function I({basePath:e,fixLinks:n=!1,children:a}){const r=N(),i=n?e=>t(b,{basePath:r.matchedRoutePath,children:e}):t=>t;return t($.Provider,{value:{...r,navigate:(t,n)=>{if(!1===n?.isBasePathNested)return r.navigate(t,n);const a=n?.basePath?d(e,n.basePath):e;return r.navigate(t,{...n,basePath:a})}},children:i(a||t(F,{}))})}function H(){const t=N();return e("div",{children:["Route not found for path ",t.matchedRoutePath]})}function M(){return{params:{},matchedSegments:[],state:null,value:{path:"virtual:404",Component:()=>t(H,{})}}}function V({routes:e,index:a,children:r,fixLinks:i=!1}){const s=N(),h=n(s.matchedRoutePath),c=o(()=>{if("undefined"==typeof window)return null;const t=new E(s.router,h.current,e);return t.index=a,t},[s.router,a,e]),l=o(()=>{if(c&&s.matchedRoutePath===c.basePath)return c.match(s.remainingPath||"/")||M()},[s.matchedRoutePath,s.remainingPath,c]),d=i?e=>t(b,{basePath:s.matchedRoutePath,children:e}):t=>t;return l&&t($.Provider,{value:{...s,router:c,route:l.value,params:l.params,matchedRoutePath:`/${l.matchedSegments.join("/")}`,remainingPath:l.remainingSegments?`/${l.remainingSegments.join("/")}`:void 0,navigate:(t,e)=>{if(c)return c.navigate(t,e)}},children:d(r||t(F,{}))})}function q({routes:e,index:n,onChange:a,children:r}){const[i,c]=s(void 0),l=o(()=>{if("undefined"==typeof window)return null;const t=new R(e,e=>{null===e&&(e=M()),c({location:window.location,route:e.value,params:e.params,state:e.state,router:t,matchedRoutePath:`/${e.matchedSegments.join("/")}`,remainingPath:e.remainingSegments?`/${e.remainingSegments.join("/")}`:void 0,navigate:(e,n)=>t.navigate(e,n)})}).withObserver(a);return t.index=n,t},[n,a,e]);return h(()=>(l?.start(),()=>{l?.stop()}),[l]),i&&t($.Provider,{value:i,children:r||t(F,{})})}export{v as AfterLocationChangeEvent,p as BASE_PATH,x as BaseRouter,g as BeforeLocationChangeEvent,b as FixLinks,P as HistoryNavigator,w as LocationChangeEvent,O as Nav,T as NavLink,I as NestedNavigationContext,E as NestedRouter,V as NestedRouterProvider,f as Path,L as PathMatcher,$ as ReactRouterContext,F as RouteComponent,R as Router,q as RouterProvider,A as useLocation,j as useNavigate,z as useNavigationPrompt,B as usePageTitle,W as useParams,U as useRouterBasePath,N as useRouterContext};
2
2
  //# sourceMappingURL=vertesia-ui-router.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vertesia-ui-router.js","sources":["esm/router/path.js","esm/router/PathWithParams.js","esm/router/HistoryNavigator.js","esm/router/FixLinks.js","esm/router/PathMatcher.js","esm/router/Router.js","esm/router/Nav.js","esm/router/RouteComponent.js","esm/router/NestedNavigationContext.js","esm/router/Route404.js","esm/router/NestedRouterProvider.js","esm/router/RouterProvider.js"],"sourcesContent":["export function isRootPath(path) {\n return path === '/' || path === '';\n}\nexport function joinPath(path1, path2) {\n if (path1.endsWith('/') && path2.startsWith('/')) {\n path2 = path1 + path2.substring(1);\n }\n else if (path1.endsWith('/')) {\n path2 = path1 + path2;\n }\n else if (path2.startsWith('/')) {\n path2 = path1 + path2;\n }\n else {\n path2 = path1 + '/' + path2;\n }\n return path2;\n}\nexport function getPathSegments(path) {\n if (path === '') {\n return [];\n }\n if (path === '/') {\n return [''];\n }\n let s = 0, e = path.length;\n if (path.startsWith('./')) {\n s = 2;\n }\n else if (path.startsWith('/')) {\n s = 1;\n }\n if (path.endsWith('/')) {\n e = path.length - 1;\n }\n return (s > 0 || e < path.length ? path.substring(s, e) : path).split('/');\n}\nexport function toSegments(path) {\n if (typeof path === 'string') {\n return getPathSegments(path);\n }\n else if (Array.isArray(path)) {\n return path;\n }\n else {\n throw new Error(`Unsupported path object: ${path}`);\n }\n}\n// export class Path {\n// static parse(path: string, abs = false) {\n// if (abs !== undefined) {\n// abs = path.startsWith('/');\n// }\n// return new Path(getPathSegments(path), abs);\n// }\n// constructor(public segments: string[], public isAbsolute = false) {\n// }\n// getParameters() {\n// const out = [];\n// for (const segment of this.segments) {\n// if (segment[0] === ':') {\n// out.push(segment.substring(1));\n// }\n// }\n// if (this.segments[this.segments.length - 1] === '*') {\n// out.push('_');\n// }\n// return out;\n// }\n// resolveParameters(path: string) {\n// const params: PathMatchParams = {};\n// const resolvedSegments = getPathSegments(path);\n// if (resolvedSegments.length < this.segments.length) {\n// return null;\n// }\n// const segments = this.segments;\n// for (let i = 0, l = segments.length; i < l; i++) {\n// const seg = segments[i];\n// if (seg[0] === ':') {\n// params[seg.substring(1)] = resolvedSegments[i];\n// }\n// }\n// if (resolvedSegments.length - this.segments.length) {\n// params._ = resolvedSegments.slice(this.segments.length);\n// }\n// return params;\n// }\n// match(path: string | string[] | Path) {\n// const segments = toSegments(path);\n// if (segments.length < this.segments.length) {\n// return false;\n// }\n// let params: PathMatchParams | undefined;\n// const mySegments = this.segments;\n// for (let i = 0, l = mySegments.length; i < l; i++) {\n// const segment = mySegments[i];\n// if (segment === ':') {\n// if (!params) params = {};\n// params[segment.substring(1)] = segment;\n// } else if (segment !== segments[i]) {\n// if (i === l - 1 && segment === '*') {\n// if (!params) params = {};\n// params._ = segments.slice(i);\n// return params;\n// }\n// return false;\n// }\n// }\n// return params ? params : false;\n// }\n// join(path: Path | string | string[]) {\n// const segments = toSegments(path);\n// return new Path(this.segments.concat(segments), this.isAbsolute);\n// }\n// getRelativePath(path: Path | string | string[], asAbsolute: boolean = false) {\n// const segments = toSegments(path);\n// const extraSegmentsCount = segments.length - this.segments.length;\n// if (extraSegmentsCount <= 0) {\n// return null;\n// }\n// return new Path(segments.slice(this.segments.length), asAbsolute);\n// }\n// prependSegments(segments: string[]) {\n// this.segments = segments.concat(this.segments);\n// }\n// appendSegments(segments: string[]) {\n// this.segments = this.segments.concat(segments);\n// }\n// toAbsolutePath() {\n// return '/' + this.segments.join('/');\n// }\n// toRelativePath() {\n// return this.segments.join('/');\n// }\n// toString() {\n// const path = this.segments.join('/');\n// return this.isAbsolute ? '/' + path : path;\n// }\n// }\n//# sourceMappingURL=path.js.map","export class PathWithParams {\n path;\n params;\n hash;\n constructor(path) {\n let i = path.lastIndexOf('#');\n if (i > -1) {\n this.hash = path.substring(i);\n path = path.substring(0, i);\n }\n else {\n this.hash = '';\n }\n i = path.indexOf('?');\n if (i > -1) {\n this.path = path.substring(0, i);\n this.params = new URLSearchParams(path.substring(i + 1));\n }\n else {\n this.path = path;\n this.params = new URLSearchParams();\n }\n }\n add(params) {\n for (const [key, value] of Object.entries(params)) {\n this.params.set(key, value);\n }\n return this;\n }\n toString() {\n return this.path + '?' + this.params.toString() + this.hash;\n }\n}\n//# sourceMappingURL=PathWithParams.js.map","import { joinPath } from \"./path\";\nimport { PathWithParams } from \"./PathWithParams\";\nconst BASE_PATH = Symbol('BASE_PATH');\nexport { BASE_PATH };\nexport class LocationChangeEvent {\n name;\n type;\n location;\n state;\n _canceled = false;\n constructor(name, type, location, state) {\n this.name = name;\n this.type = type;\n this.location = location;\n this.state = state;\n }\n get isPageLoad() {\n return this.type === 'initial';\n }\n get isBackForward() {\n return this.type === 'popState';\n }\n get isLinkClick() {\n return this.type === 'linkClick';\n }\n get isNavigation() {\n return this.type === 'navigate';\n }\n get isCancelable() {\n return this.name === 'beforeChange';\n }\n cancel() {\n if (this.name === 'afterChange') {\n throw new Error('Cannot cancel afterChange event');\n }\n this._canceled = true;\n }\n}\nexport class BeforeLocationChangeEvent extends LocationChangeEvent {\n constructor(type, location, state) {\n super('beforeChange', type, location, state);\n }\n}\nexport class AfterLocationChangeEvent extends LocationChangeEvent {\n constructor(type, location, state) {\n super('afterChange', type, location, state);\n }\n}\nfunction getElementHrefAsUrl(elem) {\n if (elem && elem.tagName.toLowerCase() === 'a') {\n const href = elem?.href.trim();\n if (typeof href === 'string' && href.length > 0) {\n return new URL(href);\n }\n }\n return null;\n}\nexport class HistoryNavigator {\n // params to preserve in the query string when navigating\n stickyParams;\n _popStateListener;\n _linkNavListener;\n _listeners = [];\n constructor() {\n }\n addListener(listener) {\n this._listeners.push(listener);\n }\n fireLocationChange(event) {\n for (const listener of this._listeners) {\n listener(event);\n }\n }\n /**\n * Should be called when the page is first loaded.\n * It will fire a location change event with type `initial` and the current window.location as the location\n */\n firePageLoad() {\n this.fireLocationChange(new AfterLocationChangeEvent('initial', new URL(window.location.href)));\n }\n addStickyParams(path) {\n if (this.stickyParams) {\n return new PathWithParams(path).add(this.stickyParams).toString();\n }\n return path;\n }\n navigate(to, options = {}) {\n if (options.stepsBack && options.stepsBack > 0) {\n this.stepBack(options.stepsBack, options);\n return;\n }\n if (options.basePath) {\n let basePath = options.basePath;\n if (!basePath.startsWith('/')) {\n basePath = '/' + basePath;\n }\n to = joinPath(basePath, to);\n }\n to = this.addStickyParams(to);\n this._navigate(new URL(to, window.location.href), 'navigate', options);\n }\n stepBack(steps, options = {}) {\n const historyChain = window.history.state.historyChain || [];\n const to = historyChain.length >= steps\n ? new URL(historyChain[historyChain.length - steps].href, window.location.href)\n : new URL(window.location.origin, window.location.href);\n this._navigate(to, 'popState', options);\n const stateToStore = {\n from: window.location.href,\n historyChain: historyChain.slice(0, -steps),\n data: options.state || undefined,\n title: options.title || document.title\n };\n window.history['replaceState'](stateToStore, '', to.href);\n this.fireLocationChange(new AfterLocationChangeEvent('popState', to, options.state));\n }\n _navigate(to, type, options) {\n const beforeEvent = new BeforeLocationChangeEvent(type, to, options.state);\n this.fireLocationChange(beforeEvent);\n if (beforeEvent._canceled) {\n return;\n }\n // Build navigation chain by preserving previous history\n const currentState = window.history.state;\n const currentTitle = options.title || document.title;\n // Create new history chain entry\n const newChainEntry = {\n title: currentTitle,\n href: window.location.pathname + window.location.search + window.location.hash\n };\n // Build the history chain - clear if using replace\n let historyChain = [];\n if (!options.replace && currentState?.historyChain) {\n historyChain = [...currentState.historyChain];\n }\n // Only add to chain if not replacing\n if (!options.replace) {\n historyChain.push(newChainEntry);\n // Limit chain length to prevent memory issues (keep last 10 entries)\n if (historyChain.length > 10) {\n historyChain = historyChain.slice(-10);\n }\n }\n const stateToStore = {\n from: window.location.href,\n historyChain: historyChain,\n data: options.state || undefined,\n title: options.title || document.title\n };\n window.history[options.replace ? 'replaceState' : 'pushState'](stateToStore, '', to.href);\n this.fireLocationChange(new AfterLocationChangeEvent(type, to, options.state));\n }\n start() {\n if (typeof window === \"undefined\") {\n return;\n }\n const _popStateListener = (ev) => {\n let type;\n const to = new URL(window.location.href);\n let state = undefined;\n if (ev.state) {\n type = 'popState';\n state = ev.state.data;\n }\n else {\n type = 'linkClick';\n }\n this.fireLocationChange(new AfterLocationChangeEvent(type, to, state));\n };\n const _linkNavListener = (ev) => {\n const target = ev.target;\n // Skip anchors with download attribute or blob: URLs - they are file downloads, not navigation\n if (target.tagName.toLowerCase() === 'a' && (target.hasAttribute('download') ||\n target.href?.startsWith('blob:'))) {\n return;\n }\n const url = getElementHrefAsUrl(target);\n if (url && url.origin === window.location.origin) {\n ev.preventDefault();\n const to = new URL(this.addStickyParams(url.href));\n const basePath = ev[BASE_PATH] || ev.target[BASE_PATH];\n if (basePath) {\n to.pathname = joinPath(basePath, to.pathname);\n }\n this._navigate(to, 'linkClick', {});\n }\n };\n this._popStateListener = _popStateListener;\n this._linkNavListener = _linkNavListener;\n window.addEventListener('popstate', _popStateListener);\n document.body.addEventListener('click', this._linkNavListener);\n }\n stop() {\n this._popStateListener && window.removeEventListener('popstate', this._popStateListener);\n this._linkNavListener && document.body.removeEventListener('click', this._linkNavListener);\n }\n}\n//# sourceMappingURL=HistoryNavigator.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useRef } from \"react\";\nimport { BASE_PATH } from \"./HistoryNavigator\";\nexport function FixLinks({ basePath, children }) {\n const ref = useRef(null);\n useEffect(() => {\n if (ref.current) {\n const divElem = ref.current;\n const listener = (ev) => {\n const elem = ev.target;\n if (elem.tagName.toLowerCase() === 'a') {\n ev[BASE_PATH] = basePath;\n }\n };\n divElem.addEventListener('click', listener);\n return () => {\n divElem.removeEventListener('click', listener);\n };\n }\n }, [ref.current]);\n return (_jsx(\"div\", { ref: ref, className: \"h-full w-full\", children: children }));\n}\n//# sourceMappingURL=FixLinks.js.map","import { getPathSegments, toSegments } from \"./path\";\n/**\n * Path matcher which support :param and *wildcard segments.\n * The wildcard segment is only supported as the last segment\n */\nexport class PathMatcher {\n tree = new RootSegmentNode();\n loadMapping(mapping) {\n for (const [key, value] of Object.entries(mapping)) {\n this.addSegments(getPathSegments(key), value);\n }\n }\n addPath(path, value) {\n this.addSegments(getPathSegments(path), value);\n }\n addSegments(segments, value) {\n let node = this.tree;\n for (let i = 0, l = segments.length; i < l; i++) {\n const segment = segments[i];\n if (segment[0] === ':') {\n let childNode = node.wildcard;\n if (!childNode) {\n childNode = new VariableSegmentNode(segment);\n node.wildcard = childNode;\n }\n else if (!(childNode instanceof VariableSegmentNode)) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard \":\" segment will overwrite an existing wildcard segment at path: ${'/' + segments.slice(0, i).join(\"/\")}`);\n }\n node = childNode;\n }\n else if (segment === '*') {\n if (node.wildcard) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard \"*\" segment already exists at path: ${'/' + segments.slice(0, i).join(\"/\")}`);\n }\n node.wildcard = new WildcardSegmentNode(segment, value);\n if (i < l - 1) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard segment must be the last segment`);\n }\n return;\n }\n else {\n let childNode = node.children[segment];\n if (!childNode) {\n childNode = new LiteralSegmentNode(segment);\n node.children[segment] = childNode;\n } // else // a literal segment already exists\n node = childNode;\n }\n }\n if (node.value !== undefined) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A value already exists at path: ${'/' + segments.join(\"/\")}`);\n }\n node.value = value;\n }\n match(path) {\n const segments = toSegments(path);\n if (segments.length === 0) {\n return null;\n }\n const params = {};\n let node = this.tree;\n for (const segment of segments) {\n const match = node.match(segment, params);\n if (match) {\n node = match;\n }\n else {\n return null;\n }\n }\n if (!node.value) { // not a leaf node (partial match)\n if (node instanceof ParentSegmentNode) {\n if (node.wildcard instanceof WildcardSegmentNode) {\n node = node.wildcard.match('', params);\n if (!node.value) {\n throw new Error(\"Wildcard segment node `*` must have a value\");\n }\n }\n }\n if (!node.value)\n return null; // not a leaf node, neither a trailing wildcard (partial match)\n }\n let matchedSegments, remainingSegments;\n if (params._ && params._.length > 0) {\n matchedSegments = segments.slice(0, -params._.length);\n remainingSegments = params._;\n }\n else {\n matchedSegments = segments;\n }\n return { params, matchedSegments, remainingSegments, value: node.value };\n }\n}\nclass ParentSegmentNode {\n name;\n value;\n children = {};\n wildcard;\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n match(segment, params) {\n let node = this.children[segment];\n if (node) {\n return node;\n }\n else if (this.wildcard) {\n if (this.wildcard instanceof WildcardSegmentNode) {\n return this.wildcard.match(segment, params);\n }\n else if (this.wildcard instanceof VariableSegmentNode) {\n params[this.wildcard.paramName] = segment;\n return this.wildcard;\n }\n else {\n throw new Error(\"Unknown wildcard segment node type: \" + this.wildcard.constructor.name);\n }\n }\n else {\n return null;\n }\n }\n}\nclass RootSegmentNode extends ParentSegmentNode {\n constructor() {\n super(\"#root\");\n }\n}\nclass LiteralSegmentNode extends ParentSegmentNode {\n constructor(name, value) {\n super(name, value);\n }\n}\nclass VariableSegmentNode extends ParentSegmentNode {\n paramName;\n constructor(name, value) {\n super(name, value);\n this.paramName = name.substring(1);\n }\n}\nclass WildcardSegmentNode {\n name;\n value;\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n match(segment, params) {\n if (!params._) {\n params._ = segment ? [segment] : [];\n }\n else {\n segment && params._.push(segment);\n }\n return this;\n }\n}\n//# sourceMappingURL=PathMatcher.js.map","import { createContext, useContext, useEffect } from \"react\";\nimport { HistoryNavigator } from \"./HistoryNavigator\";\nimport { PathMatcher } from \"./PathMatcher\";\nimport { isRootPath, joinPath } from \"./path\";\nexport class BaseRouter {\n // the path to use when navigating to the root of the router\n index;\n matcher = new PathMatcher();\n constructor(routes, index) {\n this.index = index;\n for (const route of routes) {\n this.matcher.addPath(route.path, route);\n }\n }\n match(path) {\n const useIndex = isRootPath(path) && this.index;\n return this.matcher.match(useIndex ? this.index : path);\n }\n}\nexport class Router extends BaseRouter {\n prompt;\n observer;\n navigator = new HistoryNavigator();\n constructor(routes, updateState) {\n super(routes);\n this.navigator.addListener((event) => {\n if (event.isCancelable && this.prompt && !!this.prompt.when) {\n if (!window.confirm(this.prompt.message))\n return;\n }\n if (this.observer) {\n this.observer(event);\n }\n // only process afterChange events\n if (event.name === \"afterChange\") {\n const match = this.match(event.location.pathname);\n if (match && match.value) {\n updateState({\n ...match,\n state: event.state,\n });\n }\n else {\n updateState(null);\n }\n }\n });\n }\n getTopRouter() {\n return this;\n }\n /**\n * Subsequent navigations will preserve the given params in the query string.\n * Use null to clear the sticky params.\n * @param params\n */\n setStickyParams(params) {\n this.navigator.stickyParams = params != null ? params : undefined;\n }\n withObserver(observer) {\n this.observer = observer;\n return this;\n }\n start() {\n this.navigator.start();\n // initialize with the current location\n this.navigator.firePageLoad();\n }\n stop() {\n this.navigator.stop();\n }\n navigate(path, options) {\n this.navigator.navigate(path, options);\n }\n}\nexport class NestedRouter extends BaseRouter {\n parent;\n basePath;\n constructor(parent, basePath, routes) {\n super(routes);\n this.parent = parent;\n this.basePath = basePath;\n }\n getTopRouter() {\n if (this.parent instanceof Router) {\n return this.parent;\n }\n else {\n return this.parent.getTopRouter();\n }\n }\n navigate(path, options) {\n // base path is nested by default in a NestedRouter unless explicitly set to false by caller\n const isBasePathNested = options?.isBasePathNested ?? true;\n let basePath;\n if (isBasePathNested) {\n const childBasePath = options?.basePath;\n // e.g. \"/store\" + \"/objects/123\" => \"/store/objects/123\"\n basePath = childBasePath ? joinPath(this.basePath, childBasePath) : this.basePath;\n this.parent.navigate(path, {\n ...options,\n basePath,\n });\n }\n else {\n // isBasePathNested === false: navigate to an absolute path without adding this router's basePath\n // Pass through to parent without adding our basePath prefix\n this.parent.navigate(path, {\n ...options,\n basePath: options?.basePath,\n });\n }\n }\n}\nconst ReactRouterContext = createContext(undefined);\nexport { ReactRouterContext };\nexport function useRouterContext() {\n const ctx = useContext(ReactRouterContext);\n if (!ctx) {\n throw new Error(\"useRouter must be used within a RouterProvider\");\n }\n return ctx;\n}\nexport function useNavigate() {\n const { navigate } = useRouterContext();\n return navigate;\n}\nexport function useRouterBasePath() {\n const { matchedRoutePath, router } = useRouterContext();\n return router instanceof NestedRouter ? router.basePath : matchedRoutePath;\n}\nexport function useParams(arg) {\n const { params } = useRouterContext();\n if (arg) {\n return params[arg];\n }\n else {\n return params;\n }\n}\nexport function useLocation() {\n const { location } = useRouterContext();\n return location;\n}\nexport function usePageTitle(title) {\n useEffect(() => {\n const prev = document.title;\n document.title = title;\n return () => { document.title = prev; };\n }, [title]);\n}\nexport function useNavigationPrompt(prompt) {\n const { router } = useRouterContext();\n useEffect(() => {\n router.getTopRouter().prompt = prompt;\n return () => {\n router.getTopRouter().prompt = undefined;\n };\n }, []);\n useEffect(() => {\n if (prompt.when) {\n const doBlock = prompt.when;\n const listener = function (ev) {\n if (doBlock) {\n ev.preventDefault();\n ev.returnValue = \"\";\n }\n };\n window.addEventListener(\"beforeunload\", listener);\n return () => {\n window.removeEventListener(\"beforeunload\", listener);\n };\n }\n }, [prompt.when]);\n}\n//# sourceMappingURL=Router.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useNavigate, useRouterContext } from \"./Router\";\nexport function Nav({ children, to, onClick, replace = true }) {\n const navigate = useNavigate();\n const _onClick = (ev) => {\n const link = ev.target.closest('a');\n const rawHref = link?.getAttribute('href');\n const target = to ?? rawHref;\n if (link && target) {\n ev.stopPropagation();\n ev.preventDefault();\n navigate(target, { replace });\n onClick?.(ev);\n }\n };\n return (_jsx(\"span\", { onClick: _onClick, children: children }));\n}\nexport function NavLink({ children, href, className, topLevelNav, clearBreadcrumbs = false }) {\n const { router } = useRouterContext();\n const _onClick = (ev) => {\n ev.stopPropagation();\n ev.preventDefault();\n const actualRouter = topLevelNav ? router.getTopRouter() : router;\n actualRouter.navigate(href, { replace: clearBreadcrumbs });\n };\n return (_jsx(\"a\", { href: href, className: className, onClick: _onClick, children: children }));\n}\n//# sourceMappingURL=Nav.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useState } from \"react\";\nimport { useRouterContext } from \"./Router\";\nexport function RouteComponent({ spinner }) {\n const ctx = useRouterContext();\n const route = ctx.route;\n if (route.Component) {\n const Component = route.Component;\n return _jsx(Component, { ...ctx.params });\n }\n else if (route.LazyComponent) {\n return _jsx(LazyRouteComponent, { route: route, spinner: spinner });\n }\n else {\n throw new Error(`Invalid route for ${route.path}. Either Component or LazyCOmponent must be specified.`);\n }\n}\nfunction LazyRouteComponent({ route, spinner }) {\n const [Component, setComponent] = useState(null);\n useEffect(() => {\n route.LazyComponent().then(module => {\n if (!module.default) {\n throw new Error(`Lazy module for ${route.path} does not have a default export`);\n }\n // we need to wrap the component type in an arrow function\n // otherwise the setState function will execute the function as a state update function\n setComponent(() => module.default);\n });\n }, [route]);\n return Component ? (_jsx(Component, {})) : spinner || null;\n}\n//# sourceMappingURL=RouteComponent.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { FixLinks } from \"./FixLinks\";\nimport { RouteComponent } from \"./RouteComponent\";\nimport { ReactRouterContext, useRouterContext } from \"./Router\";\nimport { joinPath } from \"./path\";\nexport function NestedNavigationContext({ basePath, fixLinks = false, children }) {\n const ctx = useRouterContext();\n const wrapWithFixLinks = fixLinks ?\n (elem) => _jsx(FixLinks, { basePath: ctx.matchedRoutePath, children: elem })\n : (elem) => elem;\n return (_jsx(ReactRouterContext.Provider, { value: {\n ...ctx,\n navigate: (to, options) => {\n if (options?.isBasePathNested === false) {\n // Navigate to an absolute path without adding this context's basePath\n return ctx.navigate(to, options);\n }\n const actualBasePath = options?.basePath ? joinPath(basePath, options.basePath) : basePath;\n return ctx.navigate(to, { ...options, basePath: actualBasePath });\n }\n }, children: wrapWithFixLinks(children ? children : _jsx(RouteComponent, {})) }));\n}\n//# sourceMappingURL=NestedNavigationContext.js.map","import { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nimport { useRouterContext } from \"./Router\";\nexport function Route404Component() {\n const ctx = useRouterContext();\n return _jsxs(\"div\", { children: [\"Route not found for path \", ctx.matchedRoutePath] });\n}\nexport function createRoute404() {\n return {\n params: {},\n matchedSegments: [],\n state: null,\n value: {\n path: 'virtual:404',\n Component: () => _jsx(Route404Component, {})\n }\n };\n}\n//# sourceMappingURL=Route404.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useMemo, useState } from \"react\";\nimport { FixLinks } from \"./FixLinks\";\nimport { createRoute404 } from \"./Route404\";\nimport { RouteComponent } from \"./RouteComponent\";\nimport { NestedRouter, ReactRouterContext, useRouterContext } from \"./Router\";\nexport function NestedRouterProvider({ routes, index, children, fixLinks = false }) {\n const ctx = useRouterContext();\n const [nestedRouteMatch, setNestedRouteMatch] = useState(undefined);\n const nestedRouter = useMemo(() => {\n if (typeof window === 'undefined')\n return null;\n const basePath = ctx.matchedRoutePath;\n const nestedRouter = new NestedRouter(ctx.router, basePath, routes);\n nestedRouter.index = index;\n return nestedRouter;\n }, []);\n useEffect(() => {\n if (nestedRouter) {\n if (ctx.matchedRoutePath !== nestedRouter.basePath) {\n // the change doesn't belong to this nested router\n // it should be handled by the top level router which will change the page or the nested router\n return;\n }\n const route = nestedRouter.match(ctx.remainingPath || '/') || createRoute404();\n setNestedRouteMatch(route);\n }\n }, [nestedRouter, ctx.remainingPath]);\n const wrapWithFixLinks = fixLinks ?\n (elem) => _jsx(FixLinks, { basePath: ctx.matchedRoutePath, children: elem })\n : (elem) => elem;\n return nestedRouteMatch && (_jsx(ReactRouterContext.Provider, { value: {\n ...ctx,\n router: nestedRouter,\n route: nestedRouteMatch.value,\n params: nestedRouteMatch.params,\n matchedRoutePath: '/' + nestedRouteMatch.matchedSegments.join('/'),\n remainingPath: nestedRouteMatch.remainingSegments ? '/' + nestedRouteMatch.remainingSegments.join('/') : undefined,\n navigate: (to, options) => {\n if (nestedRouter) {\n return nestedRouter.navigate(to, options);\n }\n }\n }, children: wrapWithFixLinks(children ? children : _jsx(RouteComponent, {})) }));\n}\n//# sourceMappingURL=NestedRouterProvider.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useSafeLayoutEffect } from \"@vertesia/ui/core\";\n//import { useSafeLayoutEffect } from \"../core\";\nimport { useMemo, useState } from \"react\";\nimport { RouteComponent } from \"./RouteComponent\";\nimport { ReactRouterContext, Router } from \"./Router\";\nimport { createRoute404 } from \"./Route404\";\nexport function RouterProvider({ routes, index, onChange, children }) {\n const [state, setState] = useState(undefined);\n const router = useMemo(() => {\n if (typeof window === 'undefined')\n return null;\n const router = new Router(routes, (match) => {\n if (match === null) {\n match = createRoute404();\n }\n setState({\n location: window.location,\n route: match.value,\n params: match.params,\n state: match.state,\n router: router,\n matchedRoutePath: '/' + match.matchedSegments.join('/'),\n remainingPath: match.remainingSegments ? '/' + match.remainingSegments.join('/') : undefined,\n navigate: (to, options) => {\n return router.navigate(to, options);\n }\n });\n }).withObserver(onChange);\n router.index = index;\n return router;\n }, []);\n useSafeLayoutEffect(() => {\n router && router.start();\n return () => {\n router && router.stop();\n };\n }, []);\n return state && (_jsx(ReactRouterContext.Provider, { value: state, children: children ? children : _jsx(RouteComponent, {}) }));\n}\n//# sourceMappingURL=RouterProvider.js.map"],"names":["isRootPath","path","joinPath","path1","path2","endsWith","startsWith","substring","getPathSegments","s","e","length","split","toSegments","Array","isArray","Error","PathWithParams","params","hash","constructor","i","lastIndexOf","this","indexOf","URLSearchParams","add","key","value","Object","entries","set","toString","BASE_PATH","Symbol","LocationChangeEvent","name","type","location","state","_canceled","isPageLoad","isBackForward","isLinkClick","isNavigation","isCancelable","cancel","BeforeLocationChangeEvent","super","AfterLocationChangeEvent","HistoryNavigator","stickyParams","_popStateListener","_linkNavListener","_listeners","addListener","listener","push","fireLocationChange","event","firePageLoad","URL","window","href","addStickyParams","navigate","to","options","stepsBack","stepBack","basePath","_navigate","steps","historyChain","history","origin","stateToStore","from","slice","data","undefined","title","document","beforeEvent","currentState","newChainEntry","pathname","search","replace","start","ev","target","tagName","toLowerCase","hasAttribute","url","elem","trim","getElementHrefAsUrl","preventDefault","addEventListener","body","stop","removeEventListener","FixLinks","children","ref","useRef","useEffect","current","divElem","_jsx","className","PathMatcher","tree","RootSegmentNode","loadMapping","mapping","addSegments","addPath","segments","node","l","segment","childNode","wildcard","VariableSegmentNode","join","WildcardSegmentNode","LiteralSegmentNode","match","matchedSegments","remainingSegments","ParentSegmentNode","_","paramName","BaseRouter","index","matcher","routes","route","useIndex","Router","prompt","observer","navigator","updateState","when","confirm","message","getTopRouter","setStickyParams","withObserver","NestedRouter","parent","isBasePathNested","childBasePath","ReactRouterContext","createContext","useRouterContext","ctx","useContext","useNavigate","useRouterBasePath","matchedRoutePath","router","useParams","arg","useLocation","usePageTitle","prev","useNavigationPrompt","doBlock","returnValue","Nav","onClick","link","closest","rawHref","getAttribute","stopPropagation","NavLink","topLevelNav","clearBreadcrumbs","RouteComponent","spinner","Component","LazyComponent","LazyRouteComponent","setComponent","useState","then","module","default","NestedNavigationContext","fixLinks","wrapWithFixLinks","Provider","actualBasePath","Route404Component","_jsxs","createRoute404","NestedRouterProvider","nestedRouteMatch","setNestedRouteMatch","nestedRouter","useMemo","remainingPath","RouterProvider","onChange","setState","useSafeLayoutEffect"],"mappings":"sNAAO,SAASA,EAAWC,GACvB,MAAgB,MAATA,GAAyB,KAATA,CAC3B,CACO,SAASC,EAASC,EAAOC,GAa5B,OAXIA,EADAD,EAAME,SAAS,MAAQD,EAAME,WAAW,KAChCH,EAAQC,EAAMG,UAAU,GAE3BJ,EAAME,SAAS,MAGfD,EAAME,WAAW,KAFdH,EAAQC,EAMRD,EAAQ,IAAMC,CAG9B,CACO,SAASI,EAAgBP,GAC5B,GAAa,KAATA,EACA,MAAO,GAEX,GAAa,MAATA,EACA,MAAO,CAAC,IAEZ,IAAIQ,EAAI,EAAGC,EAAIT,EAAKU,OAUpB,OATIV,EAAKK,WAAW,MAChBG,EAAI,EAECR,EAAKK,WAAW,OACrBG,EAAI,GAEJR,EAAKI,SAAS,OACdK,EAAIT,EAAKU,OAAS,IAEdF,EAAI,GAAKC,EAAIT,EAAKU,OAASV,EAAKM,UAAUE,EAAGC,GAAKT,GAAMW,MAAM,IAC1E,CACO,SAASC,EAAWZ,GACvB,GAAoB,iBAATA,EACP,OAAOO,EAAgBP,GAEtB,GAAIa,MAAMC,QAAQd,GACnB,OAAOA,EAGP,MAAM,IAAIe,MAAM,4B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K,MACxBV,OAAQyL,EAAiBzL,OACzBkJ,iBAAkB,IAAMuC,EAAiBxE,gBAAgBJ,KAAK,KAC9DgF,cAAeJ,EAAiBvE,kBAAoB,IAAMuE,EAAiBvE,kBAAkBL,KAAK,UAAO/C,EACzGf,SAAU,CAACC,EAAIC,KACX,GAAI0I,EACA,OAAOA,EAAa5I,SAASC,EAAIC,KAG1CsC,SAAU2F,EAAiB3F,GAAsBM,EAAKyE,EAAgB,CAAA,KACjF,CCrCO,SAASwB,GAAerE,OAAEA,EAAMF,MAAEA,EAAKwE,SAAEA,EAAQxG,SAAEA,IACtD,MAAOlE,EAAO2K,GAAYpB,OAAS9G,GAC7BqF,EAASyC,EAAQ,KACnB,GAAsB,oBAAXhJ,OACP,OAAO,KACX,MAAMuG,EAAS,IAAIvB,EAAOH,EAAST,IACjB,OAAVA,IACAA,EAAQuE,KAEZS,EAAS,CACL5K,SAAUwB,OAAOxB,SACjBsG,MAAOV,EAAMtG,MACbV,OAAQgH,EAAMhH,OACdqB,MAAO2F,EAAM3F,MACb8H,OAAQA,EACRD,iBAAkB,IAAMlC,EAAMC,gBAAgBJ,KAAK,KACnDgF,cAAe7E,EAAME,kBAAoB,IAAMF,EAAME,kBAAkBL,KAAK,UAAO/C,EACnFf,SAAU,CAACC,EAAIC,IACJkG,EAAOpG,SAASC,EAAIC,OAGpCqF,aAAayD,GAEhB,OADA5C,EAAO5B,MAAQA,EACR4B,GACR,IAOH,OANA8C,EAAoB,KAChB9C,GAAUA,EAAO5E,QACV,KACH4E,GAAUA,EAAO/D,SAEtB,IACI/D,GAAUwE,EAAK8C,EAAmBwC,SAAU,CAAEzK,MAAOW,EAAOkE,SAAUA,GAAsBM,EAAKyE,EAAgB,CAAA,IAC5H"}
1
+ {"version":3,"file":"vertesia-ui-router.js","sources":["router/PathWithParams.js","router/path.js","router/HistoryNavigator.js","router/FixLinks.js","router/PathMatcher.js","router/Router.js","router/Nav.js","router/RouteComponent.js","router/NestedNavigationContext.js","router/Route404.js","router/NestedRouterProvider.js","router/RouterProvider.js"],"sourcesContent":["export class PathWithParams {\n path;\n params;\n hash;\n constructor(path) {\n let i = path.lastIndexOf('#');\n if (i > -1) {\n this.hash = path.substring(i);\n path = path.substring(0, i);\n }\n else {\n this.hash = '';\n }\n i = path.indexOf('?');\n if (i > -1) {\n this.path = path.substring(0, i);\n this.params = new URLSearchParams(path.substring(i + 1));\n }\n else {\n this.path = path;\n this.params = new URLSearchParams();\n }\n }\n add(params) {\n for (const [key, value] of Object.entries(params)) {\n this.params.set(key, value);\n }\n return this;\n }\n toString() {\n return `${this.path}?${this.params.toString()}${this.hash}`;\n }\n}\n//# sourceMappingURL=PathWithParams.js.map","export function isRootPath(path) {\n return path === '/' || path === '';\n}\nexport function joinPath(path1, path2) {\n if (path1.endsWith('/') && path2.startsWith('/')) {\n path2 = path1 + path2.substring(1);\n }\n else if (path1.endsWith('/')) {\n path2 = path1 + path2;\n }\n else if (path2.startsWith('/')) {\n path2 = path1 + path2;\n }\n else {\n path2 = `${path1}/${path2}`;\n }\n return path2;\n}\nexport function getPathSegments(path) {\n if (path === '') {\n return [];\n }\n if (path === '/') {\n return [''];\n }\n let s = 0, e = path.length;\n if (path.startsWith('./')) {\n s = 2;\n }\n else if (path.startsWith('/')) {\n s = 1;\n }\n if (path.endsWith('/')) {\n e = path.length - 1;\n }\n return (s > 0 || e < path.length ? path.substring(s, e) : path).split('/');\n}\nexport function toSegments(path) {\n if (typeof path === 'string') {\n return getPathSegments(path);\n }\n else if (Array.isArray(path)) {\n return path;\n }\n else {\n throw new Error(`Unsupported path object: ${path}`);\n }\n}\n// export class Path {\n// static parse(path: string, abs = false) {\n// if (abs !== undefined) {\n// abs = path.startsWith('/');\n// }\n// return new Path(getPathSegments(path), abs);\n// }\n// constructor(public segments: string[], public isAbsolute = false) {\n// }\n// getParameters() {\n// const out = [];\n// for (const segment of this.segments) {\n// if (segment[0] === ':') {\n// out.push(segment.substring(1));\n// }\n// }\n// if (this.segments[this.segments.length - 1] === '*') {\n// out.push('_');\n// }\n// return out;\n// }\n// resolveParameters(path: string) {\n// const params: PathMatchParams = {};\n// const resolvedSegments = getPathSegments(path);\n// if (resolvedSegments.length < this.segments.length) {\n// return null;\n// }\n// const segments = this.segments;\n// for (let i = 0, l = segments.length; i < l; i++) {\n// const seg = segments[i];\n// if (seg[0] === ':') {\n// params[seg.substring(1)] = resolvedSegments[i];\n// }\n// }\n// if (resolvedSegments.length - this.segments.length) {\n// params._ = resolvedSegments.slice(this.segments.length);\n// }\n// return params;\n// }\n// match(path: string | string[] | Path) {\n// const segments = toSegments(path);\n// if (segments.length < this.segments.length) {\n// return false;\n// }\n// let params: PathMatchParams | undefined;\n// const mySegments = this.segments;\n// for (let i = 0, l = mySegments.length; i < l; i++) {\n// const segment = mySegments[i];\n// if (segment === ':') {\n// if (!params) params = {};\n// params[segment.substring(1)] = segment;\n// } else if (segment !== segments[i]) {\n// if (i === l - 1 && segment === '*') {\n// if (!params) params = {};\n// params._ = segments.slice(i);\n// return params;\n// }\n// return false;\n// }\n// }\n// return params ? params : false;\n// }\n// join(path: Path | string | string[]) {\n// const segments = toSegments(path);\n// return new Path(this.segments.concat(segments), this.isAbsolute);\n// }\n// getRelativePath(path: Path | string | string[], asAbsolute: boolean = false) {\n// const segments = toSegments(path);\n// const extraSegmentsCount = segments.length - this.segments.length;\n// if (extraSegmentsCount <= 0) {\n// return null;\n// }\n// return new Path(segments.slice(this.segments.length), asAbsolute);\n// }\n// prependSegments(segments: string[]) {\n// this.segments = segments.concat(this.segments);\n// }\n// appendSegments(segments: string[]) {\n// this.segments = this.segments.concat(segments);\n// }\n// toAbsolutePath() {\n// return '/' + this.segments.join('/');\n// }\n// toRelativePath() {\n// return this.segments.join('/');\n// }\n// toString() {\n// const path = this.segments.join('/');\n// return this.isAbsolute ? '/' + path : path;\n// }\n// }\n//# sourceMappingURL=path.js.map","import { PathWithParams } from './PathWithParams';\nimport { joinPath } from './path';\nconst BASE_PATH = Symbol('BASE_PATH');\nexport { BASE_PATH };\nexport class LocationChangeEvent {\n name;\n type;\n location;\n state;\n _canceled = false;\n constructor(name, type, location, state) {\n this.name = name;\n this.type = type;\n this.location = location;\n this.state = state;\n }\n get isPageLoad() {\n return this.type === 'initial';\n }\n get isBackForward() {\n return this.type === 'popState';\n }\n get isLinkClick() {\n return this.type === 'linkClick';\n }\n get isNavigation() {\n return this.type === 'navigate';\n }\n get isCancelable() {\n return this.name === 'beforeChange';\n }\n cancel() {\n if (this.name === 'afterChange') {\n throw new Error('Cannot cancel afterChange event');\n }\n this._canceled = true;\n }\n}\nexport class BeforeLocationChangeEvent extends LocationChangeEvent {\n constructor(type, location, state) {\n super('beforeChange', type, location, state);\n }\n}\nexport class AfterLocationChangeEvent extends LocationChangeEvent {\n constructor(type, location, state) {\n super('afterChange', type, location, state);\n }\n}\nfunction getElementHrefAsUrl(elem) {\n if (elem && elem.tagName.toLowerCase() === 'a') {\n const href = elem?.href.trim();\n if (typeof href === 'string' && href.length > 0) {\n return new URL(href);\n }\n }\n return null;\n}\nexport class HistoryNavigator {\n // params to preserve in the query string when navigating\n stickyParams;\n _popStateListener;\n _linkNavListener;\n _listeners = [];\n addListener(listener) {\n this._listeners.push(listener);\n }\n fireLocationChange(event) {\n for (const listener of this._listeners) {\n listener(event);\n }\n }\n /**\n * Should be called when the page is first loaded.\n * It will fire a location change event with type `initial` and the current window.location as the location\n */\n firePageLoad() {\n this.fireLocationChange(new AfterLocationChangeEvent('initial', new URL(window.location.href)));\n }\n addStickyParams(path) {\n if (this.stickyParams) {\n return new PathWithParams(path).add(this.stickyParams).toString();\n }\n return path;\n }\n /**\n * Rewrite the current browser URL in place so that the sticky params are present, without\n * navigating. Used on load / when the params first become known so the address bar reflects\n * the active account/project before the first navigation.\n *\n * Idempotent and side-effect-light: only calls replaceState when the URL would actually\n * change, preserves the existing history state, and never fires a location-change event\n * (so there is no route re-match or component remount).\n */\n normalizeCurrentUrl() {\n if (typeof window === 'undefined' || !this.stickyParams) {\n return;\n }\n const current = window.location.pathname + window.location.search + window.location.hash;\n const normalized = this.addStickyParams(current);\n if (normalized !== current) {\n const to = new URL(normalized, window.location.href);\n window.history.replaceState(window.history.state, '', to.href);\n }\n }\n navigate(to, options = {}) {\n if (options.stepsBack && options.stepsBack > 0) {\n this.stepBack(options.stepsBack, options);\n return;\n }\n if (options.basePath) {\n let basePath = options.basePath;\n if (!basePath.startsWith('/')) {\n basePath = `/${basePath}`;\n }\n to = joinPath(basePath, to);\n }\n to = this.addStickyParams(to);\n this._navigate(new URL(to, window.location.href), 'navigate', options);\n }\n stepBack(steps, options = {}) {\n const historyChain = window.history.state.historyChain || [];\n const to = historyChain.length >= steps\n ? new URL(historyChain[historyChain.length - steps].href, window.location.href)\n : new URL(window.location.origin, window.location.href);\n this._navigate(to, 'popState', options);\n const stateToStore = {\n from: window.location.href,\n historyChain: historyChain.slice(0, -steps),\n data: options.state || undefined,\n title: options.title || document.title,\n };\n window.history.replaceState(stateToStore, '', to.href);\n this.fireLocationChange(new AfterLocationChangeEvent('popState', to, options.state));\n }\n _navigate(to, type, options) {\n const beforeEvent = new BeforeLocationChangeEvent(type, to, options.state);\n this.fireLocationChange(beforeEvent);\n if (beforeEvent._canceled) {\n return;\n }\n // Build navigation chain by preserving previous history\n const currentState = window.history.state;\n const currentTitle = options.title || document.title;\n // Create new history chain entry\n const newChainEntry = {\n title: currentTitle,\n href: window.location.pathname + window.location.search + window.location.hash,\n };\n // Build the history chain - clear if using replace\n let historyChain = [];\n if (!options.replace && currentState?.historyChain) {\n historyChain = [...currentState.historyChain];\n }\n // Only add to chain if not replacing\n if (!options.replace) {\n historyChain.push(newChainEntry);\n // Limit chain length to prevent memory issues (keep last 10 entries)\n if (historyChain.length > 10) {\n historyChain = historyChain.slice(-10);\n }\n }\n const stateToStore = {\n from: window.location.href,\n historyChain: historyChain,\n data: options.state || undefined,\n title: options.title || document.title,\n };\n window.history[options.replace ? 'replaceState' : 'pushState'](stateToStore, '', to.href);\n this.fireLocationChange(new AfterLocationChangeEvent(type, to, options.state));\n }\n start() {\n if (typeof window === 'undefined') {\n return;\n }\n const _popStateListener = (ev) => {\n let type;\n const to = new URL(window.location.href);\n let state;\n if (ev.state) {\n type = 'popState';\n state = ev.state.data;\n }\n else {\n type = 'linkClick';\n }\n this.fireLocationChange(new AfterLocationChangeEvent(type, to, state));\n };\n const _linkNavListener = (ev) => {\n const target = ev.target;\n // Skip anchors with download attribute or blob: URLs - they are file downloads, not navigation\n if (target.tagName.toLowerCase() === 'a' &&\n (target.hasAttribute('download') ||\n target.href?.startsWith('blob:'))) {\n return;\n }\n const url = getElementHrefAsUrl(target);\n if (url && url.origin === window.location.origin) {\n ev.preventDefault();\n const to = new URL(this.addStickyParams(url.href));\n const basePath = ev[BASE_PATH] ||\n ev.target[BASE_PATH];\n if (basePath) {\n to.pathname = joinPath(basePath, to.pathname);\n }\n this._navigate(to, 'linkClick', {});\n }\n };\n this._popStateListener = _popStateListener;\n this._linkNavListener = _linkNavListener;\n window.addEventListener('popstate', _popStateListener);\n document.body.addEventListener('click', this._linkNavListener);\n }\n stop() {\n if (this._popStateListener)\n window.removeEventListener('popstate', this._popStateListener);\n if (this._linkNavListener)\n document.body.removeEventListener('click', this._linkNavListener);\n }\n}\n//# sourceMappingURL=HistoryNavigator.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useRef } from 'react';\nimport { BASE_PATH } from './HistoryNavigator';\nexport function FixLinks({ basePath, children }) {\n const ref = useRef(null);\n useEffect(() => {\n if (ref.current) {\n const divElem = ref.current;\n const listener = (ev) => {\n const elem = ev.target;\n if (elem.tagName.toLowerCase() === 'a') {\n ev[BASE_PATH] = basePath;\n }\n };\n divElem.addEventListener('click', listener);\n return () => {\n divElem.removeEventListener('click', listener);\n };\n }\n }, [basePath]);\n return (_jsx(\"div\", { ref: ref, className: \"h-full w-full\", children: children }));\n}\n//# sourceMappingURL=FixLinks.js.map","import { getPathSegments, toSegments } from './path';\n/**\n * Path matcher which support :param and *wildcard segments.\n * The wildcard segment is only supported as the last segment\n */\nexport class PathMatcher {\n tree = new RootSegmentNode();\n loadMapping(mapping) {\n for (const [key, value] of Object.entries(mapping)) {\n this.addSegments(getPathSegments(key), value);\n }\n }\n addPath(path, value) {\n this.addSegments(getPathSegments(path), value);\n }\n addSegments(segments, value) {\n let node = this.tree;\n for (let i = 0, l = segments.length; i < l; i++) {\n const segment = segments[i];\n if (segment[0] === ':') {\n let childNode = node.wildcard;\n if (!childNode) {\n childNode = new VariableSegmentNode(segment);\n node.wildcard = childNode;\n }\n else if (!(childNode instanceof VariableSegmentNode)) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard \":\" segment will overwrite an existing wildcard segment at path: ${`/${segments.slice(0, i).join('/')}`}`);\n }\n node = childNode;\n }\n else if (segment === '*') {\n if (node.wildcard) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard \"*\" segment already exists at path: ${`/${segments.slice(0, i).join('/')}`}`);\n }\n node.wildcard = new WildcardSegmentNode(segment, value);\n if (i < l - 1) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A wildcard segment must be the last segment`);\n }\n return;\n }\n else {\n let childNode = node.children[segment];\n if (!childNode) {\n childNode = new LiteralSegmentNode(segment);\n node.children[segment] = childNode;\n } // else // a literal segment already exists\n node = childNode;\n }\n }\n if (node.value !== undefined) {\n throw new Error(`Failed to index path segments: ${segments.join('/')}. A value already exists at path: ${`/${segments.join('/')}`}`);\n }\n node.value = value;\n }\n match(path) {\n const segments = toSegments(path);\n if (segments.length === 0) {\n return null;\n }\n const params = {};\n let node = this.tree;\n for (const segment of segments) {\n const match = node.match(segment, params);\n if (match) {\n node = match;\n }\n else {\n return null;\n }\n }\n if (!node.value) {\n // not a leaf node (partial match)\n if (node instanceof ParentSegmentNode) {\n if (node.wildcard instanceof WildcardSegmentNode) {\n node = node.wildcard.match('', params);\n if (!node.value) {\n throw new Error('Wildcard segment node `*` must have a value');\n }\n }\n }\n if (!node.value)\n return null; // not a leaf node, neither a trailing wildcard (partial match)\n }\n let matchedSegments, remainingSegments;\n if (params._ && params._.length > 0) {\n matchedSegments = segments.slice(0, -params._.length);\n remainingSegments = params._;\n }\n else {\n matchedSegments = segments;\n }\n return { params, matchedSegments, remainingSegments, value: node.value };\n }\n}\nclass ParentSegmentNode {\n name;\n value;\n children = {};\n wildcard;\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n match(segment, params) {\n const node = this.children[segment];\n if (node) {\n return node;\n }\n else if (this.wildcard) {\n if (this.wildcard instanceof WildcardSegmentNode) {\n return this.wildcard.match(segment, params);\n }\n else if (this.wildcard instanceof VariableSegmentNode) {\n params[this.wildcard.paramName] = segment;\n return this.wildcard;\n }\n else {\n throw new Error(`Unknown wildcard segment node type: ${this.wildcard.constructor.name}`);\n }\n }\n else {\n return null;\n }\n }\n}\nclass RootSegmentNode extends ParentSegmentNode {\n constructor() {\n super('#root');\n }\n}\nclass LiteralSegmentNode extends ParentSegmentNode {\n}\nclass VariableSegmentNode extends ParentSegmentNode {\n paramName;\n constructor(name, value) {\n super(name, value);\n this.paramName = name.substring(1);\n }\n}\nclass WildcardSegmentNode {\n name;\n value;\n constructor(name, value) {\n this.name = name;\n this.value = value;\n }\n match(segment, params) {\n if (!params._) {\n params._ = segment ? [segment] : [];\n }\n else {\n if (segment)\n params._.push(segment);\n }\n return this;\n }\n}\n//# sourceMappingURL=PathMatcher.js.map","import { createContext, useContext, useEffect } from 'react';\nimport { HistoryNavigator } from './HistoryNavigator';\nimport { PathMatcher } from './PathMatcher';\nimport { isRootPath, joinPath } from './path';\nexport class BaseRouter {\n // the path to use when navigating to the root of the router\n index;\n matcher = new PathMatcher();\n constructor(routes, index) {\n this.index = index;\n for (const route of routes) {\n this.matcher.addPath(route.path, route);\n }\n }\n match(path) {\n const useIndex = isRootPath(path) && this.index;\n // biome-ignore lint/style/noNonNullAssertion: intentional non-null assertion; TS can't prove narrowing here\n return this.matcher.match(useIndex ? this.index : path);\n }\n}\nexport class Router extends BaseRouter {\n prompt;\n observer;\n navigator = new HistoryNavigator();\n constructor(routes, updateState) {\n super(routes);\n this.navigator.addListener((event) => {\n if (event.isCancelable && this.prompt?.when) {\n if (!window.confirm(this.prompt.message))\n return;\n }\n if (this.observer) {\n this.observer(event);\n }\n // only process afterChange events\n if (event.name === 'afterChange') {\n const match = this.match(event.location.pathname);\n if (match?.value) {\n updateState({\n ...match,\n state: event.state,\n });\n }\n else {\n updateState(null);\n }\n }\n });\n }\n getTopRouter() {\n return this;\n }\n /**\n * Subsequent navigations will preserve the given params in the query string.\n * Use null to clear the sticky params.\n * @param params\n */\n setStickyParams(params) {\n this.navigator.stickyParams = params != null ? params : undefined;\n // Reflect the params in the current URL immediately, so the address bar is correct on\n // load (not only after the first navigation).\n this.navigator.normalizeCurrentUrl();\n }\n withObserver(observer) {\n this.observer = observer;\n return this;\n }\n start() {\n this.navigator.start();\n // initialize with the current location\n this.navigator.firePageLoad();\n }\n stop() {\n this.navigator.stop();\n }\n navigate(path, options) {\n this.navigator.navigate(path, options);\n }\n}\nexport class NestedRouter extends BaseRouter {\n parent;\n basePath;\n constructor(parent, basePath, routes) {\n super(routes);\n this.parent = parent;\n this.basePath = basePath;\n }\n getTopRouter() {\n if (this.parent instanceof Router) {\n return this.parent;\n }\n else {\n return this.parent.getTopRouter();\n }\n }\n navigate(path, options) {\n // base path is nested by default in a NestedRouter unless explicitly set to false by caller\n const isBasePathNested = options?.isBasePathNested ?? true;\n let basePath;\n if (isBasePathNested) {\n const childBasePath = options?.basePath;\n // e.g. \"/store\" + \"/objects/123\" => \"/store/objects/123\"\n basePath = childBasePath ? joinPath(this.basePath, childBasePath) : this.basePath;\n this.parent.navigate(path, {\n ...options,\n basePath,\n });\n }\n else {\n // isBasePathNested === false: navigate to an absolute path without adding this router's basePath\n // Pass through to parent without adding our basePath prefix\n this.parent.navigate(path, {\n ...options,\n basePath: options?.basePath,\n });\n }\n }\n}\nconst ReactRouterContext = createContext(undefined);\nexport { ReactRouterContext };\nexport function useRouterContext() {\n const ctx = useContext(ReactRouterContext);\n if (!ctx) {\n throw new Error('useRouter must be used within a RouterProvider');\n }\n return ctx;\n}\nexport function useNavigate() {\n const { navigate } = useRouterContext();\n return navigate;\n}\nexport function useRouterBasePath() {\n const { matchedRoutePath, router } = useRouterContext();\n return router instanceof NestedRouter ? router.basePath : matchedRoutePath;\n}\nexport function useParams(arg) {\n const { params } = useRouterContext();\n if (arg) {\n return params[arg];\n }\n else {\n return params;\n }\n}\nexport function useLocation() {\n const { location } = useRouterContext();\n return location;\n}\nexport function usePageTitle(title) {\n useEffect(() => {\n const prev = document.title;\n document.title = title;\n return () => {\n document.title = prev;\n };\n }, [title]);\n}\nexport function useNavigationPrompt(prompt) {\n const { router } = useRouterContext();\n const topRouter = router.getTopRouter();\n useEffect(() => {\n topRouter.prompt = prompt;\n return () => {\n topRouter.prompt = undefined;\n };\n }, [prompt, topRouter]);\n useEffect(() => {\n if (prompt.when) {\n const doBlock = prompt.when;\n const listener = (ev) => {\n if (doBlock) {\n ev.preventDefault();\n ev.returnValue = '';\n }\n };\n window.addEventListener('beforeunload', listener);\n return () => {\n window.removeEventListener('beforeunload', listener);\n };\n }\n }, [prompt.when]);\n}\n//# sourceMappingURL=Router.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useNavigate, useRouterContext } from './Router';\nexport function Nav({ children, to, onClick, replace = true }) {\n const navigate = useNavigate();\n const _onClick = (ev) => {\n const link = ev.target.closest('a');\n const rawHref = link?.getAttribute('href');\n const target = to ?? rawHref;\n if (link && target) {\n ev.stopPropagation();\n ev.preventDefault();\n navigate(target, { replace });\n onClick?.(ev);\n }\n };\n return (_jsx(\"span\", { onClick: _onClick, children: children }));\n}\nexport function NavLink({ children, href, className, target, topLevelNav, clearBreadcrumbs = false, replace, skipStickyParams, }) {\n const { router } = useRouterContext();\n // In-app route = not an external URL, `_blank` target, or bare hash. Relative paths count too —\n // they must be routed, else the global link listener re-applies the module base path (wrong URL).\n const isAnchorOrEmpty = !href || href.startsWith('#');\n const isExternal = /^[a-z][a-z0-9+.-]*:/i.test(href) || href.startsWith('//') || (!!target && target !== '_self');\n const isInternal = !isAnchorOrEmpty && !isExternal;\n const resolvedHref = !skipStickyParams && isInternal ? router.getTopRouter().navigator.addStickyParams(href) : href;\n const _onClick = (ev) => {\n if (ev.defaultPrevented || !isInternal) {\n return;\n }\n ev.stopPropagation();\n ev.preventDefault();\n const actualRouter = topLevelNav ? router.getTopRouter() : router;\n actualRouter.navigate(href, { replace: replace ?? clearBreadcrumbs });\n };\n return (_jsx(\"a\", { href: resolvedHref, className: className, target: target, onClick: _onClick, children: children }));\n}\n//# sourceMappingURL=Nav.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useEffect, useState } from 'react';\nimport { useRouterContext } from './Router';\nexport function RouteComponent({ spinner }) {\n const ctx = useRouterContext();\n const route = ctx.route;\n if (route.Component) {\n const Component = route.Component;\n return _jsx(Component, { ...ctx.params });\n }\n else if (route.LazyComponent) {\n return _jsx(LazyRouteComponent, { route: route, spinner: spinner });\n }\n else {\n throw new Error(`Invalid route for ${route.path}. Either Component or LazyCOmponent must be specified.`);\n }\n}\nfunction LazyRouteComponent({ route, spinner }) {\n const [Component, setComponent] = useState(null);\n useEffect(() => {\n void route.LazyComponent().then((module) => {\n if (!module.default) {\n throw new Error(`Lazy module for ${route.path} does not have a default export`);\n }\n // we need to wrap the component type in an arrow function\n // otherwise the setState function will execute the function as a state update function\n setComponent(() => module.default);\n });\n }, [route]);\n return Component ? _jsx(Component, {}) : spinner || null;\n}\n//# sourceMappingURL=RouteComponent.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { FixLinks } from './FixLinks';\nimport { joinPath } from './path';\nimport { RouteComponent } from './RouteComponent';\nimport { ReactRouterContext, useRouterContext } from './Router';\nexport function NestedNavigationContext({ basePath, fixLinks = false, children }) {\n const ctx = useRouterContext();\n const wrapWithFixLinks = fixLinks\n ? (elem) => _jsx(FixLinks, { basePath: ctx.matchedRoutePath, children: elem })\n : (elem) => elem;\n return (_jsx(ReactRouterContext.Provider, { value: {\n ...ctx,\n navigate: (to, options) => {\n if (options?.isBasePathNested === false) {\n // Navigate to an absolute path without adding this context's basePath\n return ctx.navigate(to, options);\n }\n const actualBasePath = options?.basePath ? joinPath(basePath, options.basePath) : basePath;\n return ctx.navigate(to, { ...options, basePath: actualBasePath });\n },\n }, children: wrapWithFixLinks(children ? children : _jsx(RouteComponent, {})) }));\n}\n//# sourceMappingURL=NestedNavigationContext.js.map","import { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nimport { useRouterContext } from './Router';\nexport function Route404Component() {\n const ctx = useRouterContext();\n return _jsxs(\"div\", { children: [\"Route not found for path \", ctx.matchedRoutePath] });\n}\nexport function createRoute404() {\n return {\n params: {},\n matchedSegments: [],\n state: null,\n value: {\n path: 'virtual:404',\n Component: () => _jsx(Route404Component, {}),\n },\n };\n}\n//# sourceMappingURL=Route404.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useMemo, useRef } from 'react';\nimport { FixLinks } from './FixLinks';\nimport { createRoute404 } from './Route404';\nimport { RouteComponent } from './RouteComponent';\nimport { NestedRouter, ReactRouterContext, useRouterContext } from './Router';\nexport function NestedRouterProvider({ routes, index, children, fixLinks = false }) {\n const ctx = useRouterContext();\n // Capture basePath once at mount. When the parent router switches to a different\n // top-level route (e.g. /store -> /studio), the lazy loader briefly keeps rendering\n // this (now-stale) module with a new ctx. Keeping basePath stable lets the\n // ctx.matchedRoutePath !== nestedRouter.basePath check below detect the mismatch and\n // skip rendering instead of running match() against the wrong route table.\n const basePathRef = useRef(ctx.matchedRoutePath);\n const nestedRouter = useMemo(() => {\n if (typeof window === 'undefined')\n return null;\n const nestedRouter = new NestedRouter(ctx.router, basePathRef.current, routes);\n nestedRouter.index = index;\n return nestedRouter;\n }, [ctx.router, index, routes]);\n const nestedRouteMatch = useMemo(() => {\n if (!nestedRouter) {\n return undefined;\n }\n if (ctx.matchedRoutePath !== nestedRouter.basePath) {\n // The change belongs to another router level and will be handled there.\n return undefined;\n }\n return nestedRouter.match(ctx.remainingPath || '/') || createRoute404();\n }, [ctx.matchedRoutePath, ctx.remainingPath, nestedRouter]);\n const wrapWithFixLinks = fixLinks\n ? (elem) => _jsx(FixLinks, { basePath: ctx.matchedRoutePath, children: elem })\n : (elem) => elem;\n return (nestedRouteMatch && (_jsx(ReactRouterContext.Provider, { value: {\n ...ctx,\n // biome-ignore lint/style/noNonNullAssertion: intentional non-null assertion; TS can't prove narrowing here\n router: nestedRouter,\n route: nestedRouteMatch.value,\n params: nestedRouteMatch.params,\n matchedRoutePath: `/${nestedRouteMatch.matchedSegments.join('/')}`,\n remainingPath: nestedRouteMatch.remainingSegments\n ? `/${nestedRouteMatch.remainingSegments.join('/')}`\n : undefined,\n navigate: (to, options) => {\n if (nestedRouter) {\n return nestedRouter.navigate(to, options);\n }\n },\n }, children: wrapWithFixLinks(children ? children : _jsx(RouteComponent, {})) })));\n}\n//# sourceMappingURL=NestedRouterProvider.js.map","import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { useSafeLayoutEffect } from '@vertesia/ui/core';\nimport { useMemo, useState } from 'react';\nimport { createRoute404 } from './Route404';\nimport { RouteComponent } from './RouteComponent';\nimport { ReactRouterContext, Router } from './Router';\nexport function RouterProvider({ routes, index, onChange, children }) {\n const [state, setState] = useState(undefined);\n const router = useMemo(() => {\n if (typeof window === 'undefined')\n return null;\n const router = new Router(routes, (match) => {\n if (match === null) {\n match = createRoute404();\n }\n setState({\n location: window.location,\n route: match.value,\n params: match.params,\n state: match.state,\n router: router,\n matchedRoutePath: `/${match.matchedSegments.join('/')}`,\n remainingPath: match.remainingSegments ? `/${match.remainingSegments.join('/')}` : undefined,\n navigate: (to, options) => {\n return router.navigate(to, options);\n },\n });\n }).withObserver(onChange);\n router.index = index;\n return router;\n }, [index, onChange, routes]);\n useSafeLayoutEffect(() => {\n router?.start();\n return () => {\n router?.stop();\n };\n }, [router]);\n return (state && (_jsx(ReactRouterContext.Provider, { value: state, children: children ? children : _jsx(RouteComponent, {}) })));\n}\n//# sourceMappingURL=RouterProvider.js.map"],"names":["PathWithParams","path","params","hash","constructor","i","lastIndexOf","this","substring","indexOf","URLSearchParams","add","key","value","Object","entries","set","toString","isRootPath","joinPath","path1","path2","endsWith","startsWith","getPathSegments","s","e","length","split","toSegments","Array","isArray","Error","BASE_PATH","Symbol","LocationChangeEvent","name","type","location","state","_canceled","isPageLoad","isBackForward","isLinkClick","isNavigation","isCancelable","cancel","BeforeLocationChangeEvent","super","AfterLocationChangeEvent","HistoryNavigator","stickyParams","_popStateListener","_linkNavListener","_listeners","addListener","listener","push","fireLocationChange","event","firePageLoad","URL","window","href","addStickyParams","normalizeCurrentUrl","current","pathname","search","normalized","to","history","replaceState","navigate","options","stepsBack","stepBack","basePath","_navigate","steps","historyChain","origin","stateToStore","from","slice","data","undefined","title","document","beforeEvent","currentState","newChainEntry","replace","start","ev","target","tagName","toLowerCase","hasAttribute","url","elem","trim","getElementHrefAsUrl","preventDefault","addEventListener","body","stop","removeEventListener","FixLinks","children","ref","useRef","useEffect","divElem","_jsx","className","PathMatcher","tree","RootSegmentNode","loadMapping","mapping","addSegments","addPath","segments","node","l","segment","childNode","wildcard","VariableSegmentNode","join","WildcardSegmentNode","LiteralSegmentNode","match","matchedSegments","remainingSegments","ParentSegmentNode","_","paramName","BaseRouter","index","matcher","routes","route","useIndex","Router","prompt","observer","navigator","updateState","when","confirm","message","getTopRouter","setStickyParams","withObserver","NestedRouter","parent","isBasePathNested","childBasePath","ReactRouterContext","createContext","useRouterContext","ctx","useContext","useNavigate","useRouterBasePath","matchedRoutePath","router","useParams","arg","useLocation","usePageTitle","prev","useNavigationPrompt","topRouter","doBlock","returnValue","Nav","onClick","link","closest","rawHref","getAttribute","stopPropagation","NavLink","topLevelNav","clearBreadcrumbs","skipStickyParams","isAnchorOrEmpty","isExternal","test","isInternal","resolvedHref","defaultPrevented","RouteComponent","spinner","Component","LazyComponent","LazyRouteComponent","setComponent","useState","then","module","default","NestedNavigationContext","fixLinks","wrapWithFixLinks","Provider","actualBasePath","Route404Component","_jsxs","createRoute404","NestedRouterProvider","basePathRef","nestedRouter","useMemo","nestedRouteMatch","remainingPath","RouterProvider","onChange","setState","useSafeLayoutEffect"],"mappings":"sNAAO,MAAMA,EACTC,KACAC,OACAC,KACA,WAAAC,CAAYH,GACR,IAAII,EAAIJ,EAAKK,YAAY,KACrBD,GAAI,GACJE,KAAKJ,KAAOF,EAAKO,UAAUH,GAC3BJ,EAAOA,EAAKO,UAAU,EAAGH,IAGzBE,KAAKJ,KAAO,GAEhBE,EAAIJ,EAAKQ,QAAQ,KACbJ,GAAI,GACJE,KAAKN,KAAOA,EAAKO,UAAU,EAAGH,GAC9BE,KAAKL,OAAS,IAAIQ,gBAAgBT,EAAKO,UAAUH,EAAI,MAGrDE,KAAKN,KAAOA,EACZM,KAAKL,OAAS,IAAIQ,gBAE1B,CACA,GAAAC,CAAIT,GACA,IAAK,MAAOU,EAAKC,KAAUC,OAAOC,QAAQb,GACtCK,KAAKL,OAAOc,IAAIJ,EAAKC,GAEzB,OAAON,IACX,CACA,QAAAU,GACI,MAAO,GAAGV,KAAKN,QAAQM,KAAKL,OAAOe,aAAaV,KAAKJ,MACzD,EC/BG,SAASe,EAAWjB,GACvB,MAAgB,MAATA,GAAyB,KAATA,CAC3B,CACO,SAASkB,EAASC,EAAOC,GAa5B,OAXIA,EADAD,EAAME,SAAS,MAAQD,EAAME,WAAW,KAChCH,EAAQC,EAAMb,UAAU,GAE3BY,EAAME,SAAS,MAGfD,EAAME,WAAW,KAFdH,EAAQC,EAMR,GAAGD,KAASC,GAG5B,CACO,SAASG,EAAgBvB,GAC5B,GAAa,KAATA,EACA,MAAO,GAEX,GAAa,MAATA,EACA,MAAO,CAAC,IAEZ,IAAIwB,EAAI,EAAGC,EAAIzB,EAAK0B,OAUpB,OATI1B,EAAKsB,WAAW,MAChBE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