@vertesia/ui 0.81.1 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1481) hide show
  1. package/package.json +4 -4
  2. package/src/core/components/InputList.tsx +1 -1
  3. package/src/core/components/Overlay.tsx +1 -1
  4. package/src/core/components/SidePanel.tsx +25 -13
  5. package/src/core/components/index.ts +0 -8
  6. package/src/core/components/{Panel.tsx → shadcn/Panel.tsx} +1 -1
  7. package/src/core/components/{Badge.tsx → shadcn/badge.tsx} +1 -1
  8. package/src/core/components/shadcn/command.tsx +1 -1
  9. package/src/core/components/shadcn/index.ts +5 -3
  10. package/src/core/components/{ConfirmModal.tsx → shadcn/modal/ConfirmModal.tsx} +8 -8
  11. package/src/core/components/{DeleteModal.tsx → shadcn/modal/DeleteModal.tsx} +1 -1
  12. package/src/core/components/shadcn/{dialog.tsx → modal/dialog.tsx} +19 -14
  13. package/src/core/components/shadcn/modal/index.ts +3 -0
  14. package/src/core/components/shadcn/popover.tsx +1 -1
  15. package/src/core/components/shadcn/selectBox.tsx +12 -10
  16. package/src/core/components/shadcn/tabs.tsx +16 -7
  17. package/src/features/agent/chat/ModernAgentConversation.tsx +8 -8
  18. package/src/features/agent/chat/ModernAgentOutput/MessageInput.tsx +6 -6
  19. package/src/features/store/collections/CreateCollection.tsx +8 -8
  20. package/src/features/store/collections/EditCollectionView.tsx +1 -1
  21. package/src/features/store/objects/components/ContentOverview.tsx +8 -8
  22. package/src/features/store/objects/components/PropertiesEditorModal.tsx +0 -1
  23. package/src/features/store/objects/components/SelectDocumentModal.tsx +6 -6
  24. package/src/features/store/objects/selection/actions/AddToCollectionAction.tsx +13 -13
  25. package/src/features/store/objects/selection/actions/StartWorkflowComponent.tsx +8 -8
  26. package/src/features/store/objects/upload/DocumentUploadModal.tsx +25 -25
  27. package/src/features/store/types/ObjectSchemaEditor.tsx +28 -27
  28. package/src/features/store/types/SelectContentType.tsx +3 -3
  29. package/src/features/store/types/TableLayoutEditor.tsx +11 -17
  30. package/src/layout/AppLayout.tsx +16 -44
  31. package/src/layout/Sidebar.tsx +1 -1
  32. package/src/session/index.ts +1 -0
  33. package/src/shell/apps/AppProjectSelector.tsx +2 -2
  34. package/src/shell/login/InviteAcceptModal.tsx +6 -6
  35. package/src/shell/login/SignInModal.tsx +1 -1
  36. package/src/shell/login/SignupForm.tsx +3 -3
  37. package/src/shell/login/UserInfo.tsx +5 -5
  38. package/src/widgets/json-view/JSONCode.tsx +1 -3
  39. package/src/widgets/json-view/JSONDisplay.tsx +1 -1
  40. package/src/widgets/monacoEditor/MonacoEditor.tsx +2 -17
  41. package/src/widgets/schema-editor/editor/PropertyEditor.tsx +5 -5
  42. package/lib/esm/core/components/Avatar.js +0 -31
  43. package/lib/esm/core/components/Avatar.js.map +0 -1
  44. package/lib/esm/core/components/Badge.js +0 -62
  45. package/lib/esm/core/components/Badge.js.map +0 -1
  46. package/lib/esm/core/components/Button.js +0 -32
  47. package/lib/esm/core/components/Button.js.map +0 -1
  48. package/lib/esm/core/components/Center.js +0 -6
  49. package/lib/esm/core/components/Center.js.map +0 -1
  50. package/lib/esm/core/components/ComboBox.js +0 -356
  51. package/lib/esm/core/components/ComboBox.js.map +0 -1
  52. package/lib/esm/core/components/ConfirmModal.js +0 -10
  53. package/lib/esm/core/components/ConfirmModal.js.map +0 -1
  54. package/lib/esm/core/components/DeleteModal.js +0 -28
  55. package/lib/esm/core/components/DeleteModal.js.map +0 -1
  56. package/lib/esm/core/components/Divider.js +0 -6
  57. package/lib/esm/core/components/Divider.js.map +0 -1
  58. package/lib/esm/core/components/Dropdown.js +0 -16
  59. package/lib/esm/core/components/Dropdown.js.map +0 -1
  60. package/lib/esm/core/components/DropdownList.js +0 -9
  61. package/lib/esm/core/components/DropdownList.js.map +0 -1
  62. package/lib/esm/core/components/EmptyCollection.js +0 -7
  63. package/lib/esm/core/components/EmptyCollection.js.map +0 -1
  64. package/lib/esm/core/components/FileUpload.js +0 -119
  65. package/lib/esm/core/components/FileUpload.js.map +0 -1
  66. package/lib/esm/core/components/FormItem.js +0 -9
  67. package/lib/esm/core/components/FormItem.js.map +0 -1
  68. package/lib/esm/core/components/InputList.js +0 -61
  69. package/lib/esm/core/components/InputList.js.map +0 -1
  70. package/lib/esm/core/components/Link.js +0 -13
  71. package/lib/esm/core/components/Link.js.map +0 -1
  72. package/lib/esm/core/components/MenuList.js +0 -20
  73. package/lib/esm/core/components/MenuList.js.map +0 -1
  74. package/lib/esm/core/components/MessageBox.js +0 -66
  75. package/lib/esm/core/components/MessageBox.js.map +0 -1
  76. package/lib/esm/core/components/Modal.js +0 -26
  77. package/lib/esm/core/components/Modal.js.map +0 -1
  78. package/lib/esm/core/components/NumberInput.js +0 -43
  79. package/lib/esm/core/components/NumberInput.js.map +0 -1
  80. package/lib/esm/core/components/Overlay.js +0 -57
  81. package/lib/esm/core/components/Overlay.js.map +0 -1
  82. package/lib/esm/core/components/Panel.js +0 -8
  83. package/lib/esm/core/components/Panel.js.map +0 -1
  84. package/lib/esm/core/components/Portal.js +0 -28
  85. package/lib/esm/core/components/Portal.js.map +0 -1
  86. package/lib/esm/core/components/RadioGroup.js +0 -34
  87. package/lib/esm/core/components/RadioGroup.js.map +0 -1
  88. package/lib/esm/core/components/SelectBox.js +0 -67
  89. package/lib/esm/core/components/SelectBox.js.map +0 -1
  90. package/lib/esm/core/components/SelectList.js +0 -52
  91. package/lib/esm/core/components/SelectList.js.map +0 -1
  92. package/lib/esm/core/components/SelectStack.js +0 -8
  93. package/lib/esm/core/components/SelectStack.js.map +0 -1
  94. package/lib/esm/core/components/SidePanel.js +0 -33
  95. package/lib/esm/core/components/SidePanel.js.map +0 -1
  96. package/lib/esm/core/components/Spinner.js +0 -18
  97. package/lib/esm/core/components/Spinner.js.map +0 -1
  98. package/lib/esm/core/components/Switch.js +0 -12
  99. package/lib/esm/core/components/Switch.js.map +0 -1
  100. package/lib/esm/core/components/TagsInput.js +0 -194
  101. package/lib/esm/core/components/TagsInput.js.map +0 -1
  102. package/lib/esm/core/components/index.js +0 -36
  103. package/lib/esm/core/components/index.js.map +0 -1
  104. package/lib/esm/core/components/libs/utils.js +0 -6
  105. package/lib/esm/core/components/libs/utils.js.map +0 -1
  106. package/lib/esm/core/components/libs/visuallyHidden.js +0 -16
  107. package/lib/esm/core/components/libs/visuallyHidden.js.map +0 -1
  108. package/lib/esm/core/components/popup/Popup.js +0 -60
  109. package/lib/esm/core/components/popup/Popup.js.map +0 -1
  110. package/lib/esm/core/components/popup/PopupController.js +0 -149
  111. package/lib/esm/core/components/popup/PopupController.js.map +0 -1
  112. package/lib/esm/core/components/popup/index.js +0 -4
  113. package/lib/esm/core/components/popup/index.js.map +0 -1
  114. package/lib/esm/core/components/popup/position.js +0 -221
  115. package/lib/esm/core/components/popup/position.js.map +0 -1
  116. package/lib/esm/core/components/popup/utils.js +0 -74
  117. package/lib/esm/core/components/popup/utils.js.map +0 -1
  118. package/lib/esm/core/components/shadcn/breadcrumb.js +0 -51
  119. package/lib/esm/core/components/shadcn/breadcrumb.js.map +0 -1
  120. package/lib/esm/core/components/shadcn/button.js +0 -76
  121. package/lib/esm/core/components/shadcn/button.js.map +0 -1
  122. package/lib/esm/core/components/shadcn/calendar.js +0 -13
  123. package/lib/esm/core/components/shadcn/calendar.js.map +0 -1
  124. package/lib/esm/core/components/shadcn/card.js +0 -17
  125. package/lib/esm/core/components/shadcn/card.js.map +0 -1
  126. package/lib/esm/core/components/shadcn/checkbox.js +0 -9
  127. package/lib/esm/core/components/shadcn/checkbox.js.map +0 -1
  128. package/lib/esm/core/components/shadcn/command.js +0 -29
  129. package/lib/esm/core/components/shadcn/command.js.map +0 -1
  130. package/lib/esm/core/components/shadcn/dialog.js +0 -78
  131. package/lib/esm/core/components/shadcn/dialog.js.map +0 -1
  132. package/lib/esm/core/components/shadcn/filters/DynamicLabel.js +0 -38
  133. package/lib/esm/core/components/shadcn/filters/DynamicLabel.js.map +0 -1
  134. package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js +0 -23
  135. package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js.map +0 -1
  136. package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js +0 -129
  137. package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js.map +0 -1
  138. package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js +0 -46
  139. package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js.map +0 -1
  140. package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js +0 -23
  141. package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js.map +0 -1
  142. package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js +0 -28
  143. package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js.map +0 -1
  144. package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js +0 -5
  145. package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js.map +0 -1
  146. package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js +0 -98
  147. package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js.map +0 -1
  148. package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js +0 -24
  149. package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js.map +0 -1
  150. package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js +0 -21
  151. package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js.map +0 -1
  152. package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js +0 -161
  153. package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js.map +0 -1
  154. package/lib/esm/core/components/shadcn/filters/filter-styles.js +0 -88
  155. package/lib/esm/core/components/shadcn/filters/filter-styles.js.map +0 -1
  156. package/lib/esm/core/components/shadcn/filters/filterBar.js +0 -242
  157. package/lib/esm/core/components/shadcn/filters/filterBar.js.map +0 -1
  158. package/lib/esm/core/components/shadcn/filters/filters.js +0 -57
  159. package/lib/esm/core/components/shadcn/filters/filters.js.map +0 -1
  160. package/lib/esm/core/components/shadcn/filters/index.js +0 -6
  161. package/lib/esm/core/components/shadcn/filters/index.js.map +0 -1
  162. package/lib/esm/core/components/shadcn/filters/types.js +0 -10
  163. package/lib/esm/core/components/shadcn/filters/types.js.map +0 -1
  164. package/lib/esm/core/components/shadcn/heading.js +0 -17
  165. package/lib/esm/core/components/shadcn/heading.js.map +0 -1
  166. package/lib/esm/core/components/shadcn/index.js +0 -23
  167. package/lib/esm/core/components/shadcn/index.js.map +0 -1
  168. package/lib/esm/core/components/shadcn/input.js +0 -41
  169. package/lib/esm/core/components/shadcn/input.js.map +0 -1
  170. package/lib/esm/core/components/shadcn/label.js +0 -10
  171. package/lib/esm/core/components/shadcn/label.js.map +0 -1
  172. package/lib/esm/core/components/shadcn/popover.js +0 -52
  173. package/lib/esm/core/components/shadcn/popover.js.map +0 -1
  174. package/lib/esm/core/components/shadcn/resizeable.js +0 -15
  175. package/lib/esm/core/components/shadcn/resizeable.js.map +0 -1
  176. package/lib/esm/core/components/shadcn/selectBox.js +0 -152
  177. package/lib/esm/core/components/shadcn/selectBox.js.map +0 -1
  178. package/lib/esm/core/components/shadcn/separator.js +0 -8
  179. package/lib/esm/core/components/shadcn/separator.js.map +0 -1
  180. package/lib/esm/core/components/shadcn/tabs.js +0 -132
  181. package/lib/esm/core/components/shadcn/tabs.js.map +0 -1
  182. package/lib/esm/core/components/shadcn/text.js +0 -30
  183. package/lib/esm/core/components/shadcn/text.js.map +0 -1
  184. package/lib/esm/core/components/shadcn/textarea.js +0 -7
  185. package/lib/esm/core/components/shadcn/textarea.js.map +0 -1
  186. package/lib/esm/core/components/shadcn/theme/ThemeProvider.js +0 -39
  187. package/lib/esm/core/components/shadcn/theme/ThemeProvider.js.map +0 -1
  188. package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js +0 -13
  189. package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js.map +0 -1
  190. package/lib/esm/core/components/shadcn/tooltip.js +0 -18
  191. package/lib/esm/core/components/shadcn/tooltip.js.map +0 -1
  192. package/lib/esm/core/components/styles.js +0 -10
  193. package/lib/esm/core/components/styles.js.map +0 -1
  194. package/lib/esm/core/components/table/index.js +0 -24
  195. package/lib/esm/core/components/table/index.js.map +0 -1
  196. package/lib/esm/core/components/tabs/Tabs.js +0 -78
  197. package/lib/esm/core/components/tabs/Tabs.js.map +0 -1
  198. package/lib/esm/core/components/tabs/TabsContext.js +0 -7
  199. package/lib/esm/core/components/tabs/TabsContext.js.map +0 -1
  200. package/lib/esm/core/components/tabs/index.js +0 -3
  201. package/lib/esm/core/components/tabs/index.js.map +0 -1
  202. package/lib/esm/core/components/toast/NotificationPanel.js +0 -43
  203. package/lib/esm/core/components/toast/NotificationPanel.js.map +0 -1
  204. package/lib/esm/core/components/toast/ToastContext.js +0 -7
  205. package/lib/esm/core/components/toast/ToastContext.js.map +0 -1
  206. package/lib/esm/core/components/toast/ToastProps.js +0 -2
  207. package/lib/esm/core/components/toast/ToastProps.js.map +0 -1
  208. package/lib/esm/core/components/toast/ToastProvider.js +0 -13
  209. package/lib/esm/core/components/toast/ToastProvider.js.map +0 -1
  210. package/lib/esm/core/components/toast/index.js +0 -3
  211. package/lib/esm/core/components/toast/index.js.map +0 -1
  212. package/lib/esm/core/hooks/CompositeState.js +0 -256
  213. package/lib/esm/core/hooks/CompositeState.js.map +0 -1
  214. package/lib/esm/core/hooks/PortalContainerProvider.js +0 -42
  215. package/lib/esm/core/hooks/PortalContainerProvider.js.map +0 -1
  216. package/lib/esm/core/hooks/SharedState.js +0 -64
  217. package/lib/esm/core/hooks/SharedState.js.map +0 -1
  218. package/lib/esm/core/hooks/index.js +0 -16
  219. package/lib/esm/core/hooks/index.js.map +0 -1
  220. package/lib/esm/core/hooks/useClickOutside.js +0 -29
  221. package/lib/esm/core/hooks/useClickOutside.js.map +0 -1
  222. package/lib/esm/core/hooks/useCopyToClipboard.js +0 -23
  223. package/lib/esm/core/hooks/useCopyToClipboard.js.map +0 -1
  224. package/lib/esm/core/hooks/useDarkMode.js +0 -11
  225. package/lib/esm/core/hooks/useDarkMode.js.map +0 -1
  226. package/lib/esm/core/hooks/useDebounce.js +0 -14
  227. package/lib/esm/core/hooks/useDebounce.js.map +0 -1
  228. package/lib/esm/core/hooks/useEventSource.js +0 -31
  229. package/lib/esm/core/hooks/useEventSource.js.map +0 -1
  230. package/lib/esm/core/hooks/useFetch.js +0 -40
  231. package/lib/esm/core/hooks/useFetch.js.map +0 -1
  232. package/lib/esm/core/hooks/useFlag.js +0 -13
  233. package/lib/esm/core/hooks/useFlag.js.map +0 -1
  234. package/lib/esm/core/hooks/useIntersectionObserver.js +0 -34
  235. package/lib/esm/core/hooks/useIntersectionObserver.js.map +0 -1
  236. package/lib/esm/core/hooks/useIsFistRendering.js +0 -14
  237. package/lib/esm/core/hooks/useIsFistRendering.js.map +0 -1
  238. package/lib/esm/core/hooks/useSafeLayoutEffect.js +0 -4
  239. package/lib/esm/core/hooks/useSafeLayoutEffect.js.map +0 -1
  240. package/lib/esm/core/hooks/useScrollableSearch.js +0 -92
  241. package/lib/esm/core/hooks/useScrollableSearch.js.map +0 -1
  242. package/lib/esm/core/hooks/useSharedValue.js +0 -21
  243. package/lib/esm/core/hooks/useSharedValue.js.map +0 -1
  244. package/lib/esm/core/index.js +0 -4
  245. package/lib/esm/core/index.js.map +0 -1
  246. package/lib/esm/core/utils/cn.js +0 -6
  247. package/lib/esm/core/utils/cn.js.map +0 -1
  248. package/lib/esm/core/utils/index.js +0 -2
  249. package/lib/esm/core/utils/index.js.map +0 -1
  250. package/lib/esm/env/index.js +0 -75
  251. package/lib/esm/env/index.js.map +0 -1
  252. package/lib/esm/features/activity-doc/ActivityDoc.js +0 -71
  253. package/lib/esm/features/activity-doc/ActivityDoc.js.map +0 -1
  254. package/lib/esm/features/activity-doc/index.js +0 -2
  255. package/lib/esm/features/activity-doc/index.js.map +0 -1
  256. package/lib/esm/features/agent/PayloadBuilder.js +0 -288
  257. package/lib/esm/features/agent/PayloadBuilder.js.map +0 -1
  258. package/lib/esm/features/agent/chat/AgentChart.js +0 -184
  259. package/lib/esm/features/agent/chat/AgentChart.js.map +0 -1
  260. package/lib/esm/features/agent/chat/AnimatedThinkingDots.js +0 -207
  261. package/lib/esm/features/agent/chat/AnimatedThinkingDots.js.map +0 -1
  262. package/lib/esm/features/agent/chat/JumpingDots.js +0 -6
  263. package/lib/esm/features/agent/chat/JumpingDots.js.map +0 -1
  264. package/lib/esm/features/agent/chat/ModernAgentConversation.js +0 -434
  265. package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +0 -1
  266. package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +0 -133
  267. package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +0 -1
  268. package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js +0 -62
  269. package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js.map +0 -1
  270. package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js +0 -29
  271. package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js.map +0 -1
  272. package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +0 -95
  273. package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +0 -1
  274. package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js +0 -54
  275. package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js.map +0 -1
  276. package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js +0 -368
  277. package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js.map +0 -1
  278. package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js +0 -20
  279. package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js.map +0 -1
  280. package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js +0 -63
  281. package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +0 -1
  282. package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js +0 -23
  283. package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js.map +0 -1
  284. package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js +0 -52
  285. package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js.map +0 -1
  286. package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +0 -82
  287. package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +0 -1
  288. package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js +0 -13
  289. package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js.map +0 -1
  290. package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +0 -105
  291. package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +0 -1
  292. package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js +0 -160
  293. package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js.map +0 -1
  294. package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js +0 -266
  295. package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js.map +0 -1
  296. package/lib/esm/features/agent/chat/WaitingMessages.js +0 -60
  297. package/lib/esm/features/agent/chat/WaitingMessages.js.map +0 -1
  298. package/lib/esm/features/agent/chat/index.js +0 -6
  299. package/lib/esm/features/agent/chat/index.js.map +0 -1
  300. package/lib/esm/features/agent/createChartTool.js +0 -354
  301. package/lib/esm/features/agent/createChartTool.js.map +0 -1
  302. package/lib/esm/features/agent/examples.js +0 -295
  303. package/lib/esm/features/agent/examples.js.map +0 -1
  304. package/lib/esm/features/agent/index.js +0 -5
  305. package/lib/esm/features/agent/index.js.map +0 -1
  306. package/lib/esm/features/agent/visualization.js +0 -165
  307. package/lib/esm/features/agent/visualization.js.map +0 -1
  308. package/lib/esm/features/errors/PanelErrorBoundary.js +0 -11
  309. package/lib/esm/features/errors/PanelErrorBoundary.js.map +0 -1
  310. package/lib/esm/features/errors/RowErrorBoundary.js +0 -9
  311. package/lib/esm/features/errors/RowErrorBoundary.js.map +0 -1
  312. package/lib/esm/features/errors/VertesiaErrorBoundary.js +0 -15
  313. package/lib/esm/features/errors/VertesiaErrorBoundary.js.map +0 -1
  314. package/lib/esm/features/errors/WidgetErrorBoundary.js +0 -11
  315. package/lib/esm/features/errors/WidgetErrorBoundary.js.map +0 -1
  316. package/lib/esm/features/errors/index.js +0 -5
  317. package/lib/esm/features/errors/index.js.map +0 -1
  318. package/lib/esm/features/facets/AgentRunnerFacetsNav.js +0 -86
  319. package/lib/esm/features/facets/AgentRunnerFacetsNav.js.map +0 -1
  320. package/lib/esm/features/facets/CollectionsFacetsNav.js +0 -89
  321. package/lib/esm/features/facets/CollectionsFacetsNav.js.map +0 -1
  322. package/lib/esm/features/facets/DocumentsFacetsNav.js +0 -147
  323. package/lib/esm/features/facets/DocumentsFacetsNav.js.map +0 -1
  324. package/lib/esm/features/facets/EnvironmentFacet.js +0 -39
  325. package/lib/esm/features/facets/EnvironmentFacet.js.map +0 -1
  326. package/lib/esm/features/facets/InteractionsFacetsNav.js +0 -88
  327. package/lib/esm/features/facets/InteractionsFacetsNav.js.map +0 -1
  328. package/lib/esm/features/facets/PromptsFacetsNav.js +0 -80
  329. package/lib/esm/features/facets/PromptsFacetsNav.js.map +0 -1
  330. package/lib/esm/features/facets/RunsFacetsNav.js +0 -157
  331. package/lib/esm/features/facets/RunsFacetsNav.js.map +0 -1
  332. package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js +0 -100
  333. package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js.map +0 -1
  334. package/lib/esm/features/facets/index.js +0 -16
  335. package/lib/esm/features/facets/index.js.map +0 -1
  336. package/lib/esm/features/facets/utils/SearchInterface.js +0 -2
  337. package/lib/esm/features/facets/utils/SearchInterface.js.map +0 -1
  338. package/lib/esm/features/facets/utils/StringFacet.js +0 -12
  339. package/lib/esm/features/facets/utils/StringFacet.js.map +0 -1
  340. package/lib/esm/features/facets/utils/StringListFacet.js +0 -11
  341. package/lib/esm/features/facets/utils/StringListFacet.js.map +0 -1
  342. package/lib/esm/features/facets/utils/TypeFacet.js +0 -42
  343. package/lib/esm/features/facets/utils/TypeFacet.js.map +0 -1
  344. package/lib/esm/features/facets/utils/VEnvironmentFacet.js +0 -25
  345. package/lib/esm/features/facets/utils/VEnvironmentFacet.js.map +0 -1
  346. package/lib/esm/features/facets/utils/VInteractionFacet.js +0 -45
  347. package/lib/esm/features/facets/utils/VInteractionFacet.js.map +0 -1
  348. package/lib/esm/features/facets/utils/VStringFacet.js +0 -20
  349. package/lib/esm/features/facets/utils/VStringFacet.js.map +0 -1
  350. package/lib/esm/features/facets/utils/VTypeFacet.js +0 -61
  351. package/lib/esm/features/facets/utils/VTypeFacet.js.map +0 -1
  352. package/lib/esm/features/facets/utils/VUserFacet.js +0 -31
  353. package/lib/esm/features/facets/utils/VUserFacet.js.map +0 -1
  354. package/lib/esm/features/facets/utils/utils.js +0 -7
  355. package/lib/esm/features/facets/utils/utils.js.map +0 -1
  356. package/lib/esm/features/index.js +0 -12
  357. package/lib/esm/features/index.js.map +0 -1
  358. package/lib/esm/features/layout/GenericPageNavHeader.js +0 -74
  359. package/lib/esm/features/layout/GenericPageNavHeader.js.map +0 -1
  360. package/lib/esm/features/layout/NotFoundView.js +0 -5
  361. package/lib/esm/features/layout/NotFoundView.js.map +0 -1
  362. package/lib/esm/features/layout/index.js +0 -3
  363. package/lib/esm/features/layout/index.js.map +0 -1
  364. package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js +0 -268
  365. package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js.map +0 -1
  366. package/lib/esm/features/magic-pdf/DownloadPopover.js +0 -28
  367. package/lib/esm/features/magic-pdf/DownloadPopover.js.map +0 -1
  368. package/lib/esm/features/magic-pdf/ExtractedContentView.js +0 -77
  369. package/lib/esm/features/magic-pdf/ExtractedContentView.js.map +0 -1
  370. package/lib/esm/features/magic-pdf/MagicPdfProvider.js +0 -242
  371. package/lib/esm/features/magic-pdf/MagicPdfProvider.js.map +0 -1
  372. package/lib/esm/features/magic-pdf/MagicPdfView.js +0 -61
  373. package/lib/esm/features/magic-pdf/MagicPdfView.js.map +0 -1
  374. package/lib/esm/features/magic-pdf/index.js +0 -2
  375. package/lib/esm/features/magic-pdf/index.js.map +0 -1
  376. package/lib/esm/features/magic-pdf/types.js +0 -2
  377. package/lib/esm/features/magic-pdf/types.js.map +0 -1
  378. package/lib/esm/features/pdf-viewer/PdfPageRenderer.js +0 -261
  379. package/lib/esm/features/pdf-viewer/PdfPageRenderer.js.map +0 -1
  380. package/lib/esm/features/pdf-viewer/PdfPageSlider.js +0 -276
  381. package/lib/esm/features/pdf-viewer/PdfPageSlider.js.map +0 -1
  382. package/lib/esm/features/pdf-viewer/SimplePdfViewer.js +0 -71
  383. package/lib/esm/features/pdf-viewer/SimplePdfViewer.js.map +0 -1
  384. package/lib/esm/features/pdf-viewer/index.js +0 -4
  385. package/lib/esm/features/pdf-viewer/index.js.map +0 -1
  386. package/lib/esm/features/permissions/SecureButton.js +0 -13
  387. package/lib/esm/features/permissions/SecureButton.js.map +0 -1
  388. package/lib/esm/features/permissions/SecureSidebarItem.js +0 -14
  389. package/lib/esm/features/permissions/SecureSidebarItem.js.map +0 -1
  390. package/lib/esm/features/permissions/UserPermissionsProvider.js +0 -87
  391. package/lib/esm/features/permissions/UserPermissionsProvider.js.map +0 -1
  392. package/lib/esm/features/permissions/helpers.js +0 -12
  393. package/lib/esm/features/permissions/helpers.js.map +0 -1
  394. package/lib/esm/features/permissions/index.js +0 -5
  395. package/lib/esm/features/permissions/index.js.map +0 -1
  396. package/lib/esm/features/store/collections/BrowseCollectionView.js +0 -40
  397. package/lib/esm/features/store/collections/BrowseCollectionView.js.map +0 -1
  398. package/lib/esm/features/store/collections/CollectionsTable.js +0 -64
  399. package/lib/esm/features/store/collections/CollectionsTable.js.map +0 -1
  400. package/lib/esm/features/store/collections/CreateCollection.js +0 -87
  401. package/lib/esm/features/store/collections/CreateCollection.js.map +0 -1
  402. package/lib/esm/features/store/collections/EditCollectionView.js +0 -181
  403. package/lib/esm/features/store/collections/EditCollectionView.js.map +0 -1
  404. package/lib/esm/features/store/collections/SelectCollection.js +0 -119
  405. package/lib/esm/features/store/collections/SelectCollection.js.map +0 -1
  406. package/lib/esm/features/store/collections/SharedPropsEditor.js +0 -39
  407. package/lib/esm/features/store/collections/SharedPropsEditor.js.map +0 -1
  408. package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js +0 -35
  409. package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js.map +0 -1
  410. package/lib/esm/features/store/collections/index.js +0 -8
  411. package/lib/esm/features/store/collections/index.js.map +0 -1
  412. package/lib/esm/features/store/index.js +0 -4
  413. package/lib/esm/features/store/index.js.map +0 -1
  414. package/lib/esm/features/store/objects/DocumentPreviewPanel.js +0 -147
  415. package/lib/esm/features/store/objects/DocumentPreviewPanel.js.map +0 -1
  416. package/lib/esm/features/store/objects/DocumentSearchResults.js +0 -204
  417. package/lib/esm/features/store/objects/DocumentSearchResults.js.map +0 -1
  418. package/lib/esm/features/store/objects/DocumentSelectionProvider.js +0 -81
  419. package/lib/esm/features/store/objects/DocumentSelectionProvider.js.map +0 -1
  420. package/lib/esm/features/store/objects/DocumentTable.js +0 -278
  421. package/lib/esm/features/store/objects/DocumentTable.js.map +0 -1
  422. package/lib/esm/features/store/objects/ExportPropertiesModal.js +0 -31
  423. package/lib/esm/features/store/objects/ExportPropertiesModal.js.map +0 -1
  424. package/lib/esm/features/store/objects/components/ContentDispositionButton.js +0 -31
  425. package/lib/esm/features/store/objects/components/ContentDispositionButton.js.map +0 -1
  426. package/lib/esm/features/store/objects/components/ContentOverview.js +0 -520
  427. package/lib/esm/features/store/objects/components/ContentOverview.js.map +0 -1
  428. package/lib/esm/features/store/objects/components/DocumentIcon.js +0 -33
  429. package/lib/esm/features/store/objects/components/DocumentIcon.js.map +0 -1
  430. package/lib/esm/features/store/objects/components/DocumentInput.js +0 -51
  431. package/lib/esm/features/store/objects/components/DocumentInput.js.map +0 -1
  432. package/lib/esm/features/store/objects/components/PropertiesEditorModal.js +0 -157
  433. package/lib/esm/features/store/objects/components/PropertiesEditorModal.js.map +0 -1
  434. package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js +0 -53
  435. package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js.map +0 -1
  436. package/lib/esm/features/store/objects/components/SelectDocument.js +0 -55
  437. package/lib/esm/features/store/objects/components/SelectDocument.js.map +0 -1
  438. package/lib/esm/features/store/objects/components/SelectDocumentModal.js +0 -7
  439. package/lib/esm/features/store/objects/components/SelectDocumentModal.js.map +0 -1
  440. package/lib/esm/features/store/objects/components/VectorSearchWidget.js +0 -90
  441. package/lib/esm/features/store/objects/components/VectorSearchWidget.js.map +0 -1
  442. package/lib/esm/features/store/objects/components/index.js +0 -10
  443. package/lib/esm/features/store/objects/components/index.js.map +0 -1
  444. package/lib/esm/features/store/objects/components/useContentPanelHooks.js +0 -153
  445. package/lib/esm/features/store/objects/components/useContentPanelHooks.js.map +0 -1
  446. package/lib/esm/features/store/objects/components/useDownloadObject.js +0 -21
  447. package/lib/esm/features/store/objects/components/useDownloadObject.js.map +0 -1
  448. package/lib/esm/features/store/objects/index.js +0 -11
  449. package/lib/esm/features/store/objects/index.js.map +0 -1
  450. package/lib/esm/features/store/objects/layout/DocumentTableColumn.js +0 -86
  451. package/lib/esm/features/store/objects/layout/DocumentTableColumn.js.map +0 -1
  452. package/lib/esm/features/store/objects/layout/documentLayout.js +0 -15
  453. package/lib/esm/features/store/objects/layout/documentLayout.js.map +0 -1
  454. package/lib/esm/features/store/objects/layout/index.js +0 -3
  455. package/lib/esm/features/store/objects/layout/index.js.map +0 -1
  456. package/lib/esm/features/store/objects/layout/renderers.js +0 -157
  457. package/lib/esm/features/store/objects/layout/renderers.js.map +0 -1
  458. package/lib/esm/features/store/objects/search/DocumentSearchContext.js +0 -175
  459. package/lib/esm/features/store/objects/search/DocumentSearchContext.js.map +0 -1
  460. package/lib/esm/features/store/objects/search/DocumentSearchProvider.js +0 -39
  461. package/lib/esm/features/store/objects/search/DocumentSearchProvider.js.map +0 -1
  462. package/lib/esm/features/store/objects/search/index.js +0 -3
  463. package/lib/esm/features/store/objects/search/index.js.map +0 -1
  464. package/lib/esm/features/store/objects/selection/ObjectsActionContext.js +0 -150
  465. package/lib/esm/features/store/objects/selection/ObjectsActionContext.js.map +0 -1
  466. package/lib/esm/features/store/objects/selection/ObjectsActionSpec.js +0 -2
  467. package/lib/esm/features/store/objects/selection/ObjectsActionSpec.js.map +0 -1
  468. package/lib/esm/features/store/objects/selection/SelectionActions.js +0 -69
  469. package/lib/esm/features/store/objects/selection/SelectionActions.js.map +0 -1
  470. package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js +0 -81
  471. package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js.map +0 -1
  472. package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js +0 -53
  473. package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js.map +0 -1
  474. package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js +0 -30
  475. package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js.map +0 -1
  476. package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js +0 -84
  477. package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js.map +0 -1
  478. package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js +0 -106
  479. package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js.map +0 -1
  480. package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js +0 -64
  481. package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js.map +0 -1
  482. package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js +0 -72
  483. package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js.map +0 -1
  484. package/lib/esm/features/store/objects/selection/actions/index.js +0 -8
  485. package/lib/esm/features/store/objects/selection/actions/index.js.map +0 -1
  486. package/lib/esm/features/store/objects/selection/index.js +0 -5
  487. package/lib/esm/features/store/objects/selection/index.js.map +0 -1
  488. package/lib/esm/features/store/objects/upload/DocumentUploadModal.js +0 -519
  489. package/lib/esm/features/store/objects/upload/DocumentUploadModal.js.map +0 -1
  490. package/lib/esm/features/store/objects/upload/index.js +0 -4
  491. package/lib/esm/features/store/objects/upload/index.js.map +0 -1
  492. package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js +0 -195
  493. package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js.map +0 -1
  494. package/lib/esm/features/store/objects/upload/useUploadHandler.js +0 -230
  495. package/lib/esm/features/store/objects/upload/useUploadHandler.js.map +0 -1
  496. package/lib/esm/features/store/types/ContentObjectTypesSearch.js +0 -81
  497. package/lib/esm/features/store/types/ContentObjectTypesSearch.js.map +0 -1
  498. package/lib/esm/features/store/types/ContentObjectTypesTable.js +0 -11
  499. package/lib/esm/features/store/types/ContentObjectTypesTable.js.map +0 -1
  500. package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js +0 -26
  501. package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js.map +0 -1
  502. package/lib/esm/features/store/types/ObjectSchemaEditor.js +0 -101
  503. package/lib/esm/features/store/types/ObjectSchemaEditor.js.map +0 -1
  504. package/lib/esm/features/store/types/SelectContentType.js +0 -43
  505. package/lib/esm/features/store/types/SelectContentType.js.map +0 -1
  506. package/lib/esm/features/store/types/SelectContentTypeModal.js +0 -28
  507. package/lib/esm/features/store/types/SelectContentTypeModal.js.map +0 -1
  508. package/lib/esm/features/store/types/TableLayoutEditor.js +0 -76
  509. package/lib/esm/features/store/types/TableLayoutEditor.js.map +0 -1
  510. package/lib/esm/features/store/types/index.js +0 -9
  511. package/lib/esm/features/store/types/index.js.map +0 -1
  512. package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js +0 -98
  513. package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js.map +0 -1
  514. package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js +0 -15
  515. package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js.map +0 -1
  516. package/lib/esm/features/store/types/search/index.js +0 -3
  517. package/lib/esm/features/store/types/search/index.js.map +0 -1
  518. package/lib/esm/features/user/UserAvatar.js +0 -18
  519. package/lib/esm/features/user/UserAvatar.js.map +0 -1
  520. package/lib/esm/features/user/UserInfo.js +0 -121
  521. package/lib/esm/features/user/UserInfo.js.map +0 -1
  522. package/lib/esm/features/user/index.js +0 -3
  523. package/lib/esm/features/user/index.js.map +0 -1
  524. package/lib/esm/features/utils/index.js +0 -6
  525. package/lib/esm/features/utils/index.js.map +0 -1
  526. package/lib/esm/features/utils/mimeType.js +0 -17
  527. package/lib/esm/features/utils/mimeType.js.map +0 -1
  528. package/lib/esm/features/utils/print.js +0 -181
  529. package/lib/esm/features/utils/print.js.map +0 -1
  530. package/lib/esm/features/utils/rendition.js +0 -67
  531. package/lib/esm/features/utils/rendition.js.map +0 -1
  532. package/lib/esm/features/utils/text.js +0 -10
  533. package/lib/esm/features/utils/text.js.map +0 -1
  534. package/lib/esm/features/utils/workflowStatus.js +0 -43
  535. package/lib/esm/features/utils/workflowStatus.js.map +0 -1
  536. package/lib/esm/layout/AppLayout.js +0 -46
  537. package/lib/esm/layout/AppLayout.js.map +0 -1
  538. package/lib/esm/layout/FullHeightLayout.js +0 -18
  539. package/lib/esm/layout/FullHeightLayout.js.map +0 -1
  540. package/lib/esm/layout/Navbar.js +0 -40
  541. package/lib/esm/layout/Navbar.js.map +0 -1
  542. package/lib/esm/layout/Sidebar.js +0 -45
  543. package/lib/esm/layout/Sidebar.js.map +0 -1
  544. package/lib/esm/layout/SidebarContext.js +0 -10
  545. package/lib/esm/layout/SidebarContext.js.map +0 -1
  546. package/lib/esm/layout/TitleBar.js +0 -5
  547. package/lib/esm/layout/TitleBar.js.map +0 -1
  548. package/lib/esm/layout/index.js +0 -7
  549. package/lib/esm/layout/index.js.map +0 -1
  550. package/lib/esm/router/FixLinks.js +0 -23
  551. package/lib/esm/router/FixLinks.js.map +0 -1
  552. package/lib/esm/router/HistoryNavigator.js +0 -192
  553. package/lib/esm/router/HistoryNavigator.js.map +0 -1
  554. package/lib/esm/router/Nav.js +0 -26
  555. package/lib/esm/router/Nav.js.map +0 -1
  556. package/lib/esm/router/NestedNavigationContext.js +0 -19
  557. package/lib/esm/router/NestedNavigationContext.js.map +0 -1
  558. package/lib/esm/router/NestedRouterProvider.js +0 -44
  559. package/lib/esm/router/NestedRouterProvider.js.map +0 -1
  560. package/lib/esm/router/PathMatcher.js +0 -159
  561. package/lib/esm/router/PathMatcher.js.map +0 -1
  562. package/lib/esm/router/PathWithParams.js +0 -34
  563. package/lib/esm/router/PathWithParams.js.map +0 -1
  564. package/lib/esm/router/Route404.js +0 -18
  565. package/lib/esm/router/Route404.js.map +0 -1
  566. package/lib/esm/router/RouteComponent.js +0 -32
  567. package/lib/esm/router/RouteComponent.js.map +0 -1
  568. package/lib/esm/router/Router.js +0 -161
  569. package/lib/esm/router/Router.js.map +0 -1
  570. package/lib/esm/router/RouterProvider.js +0 -41
  571. package/lib/esm/router/RouterProvider.js.map +0 -1
  572. package/lib/esm/router/index.js +0 -11
  573. package/lib/esm/router/index.js.map +0 -1
  574. package/lib/esm/router/path.js +0 -140
  575. package/lib/esm/router/path.js.map +0 -1
  576. package/lib/esm/session/TypeRegistry.js +0 -24
  577. package/lib/esm/session/TypeRegistry.js.map +0 -1
  578. package/lib/esm/session/UserSession.js +0 -192
  579. package/lib/esm/session/UserSession.js.map +0 -1
  580. package/lib/esm/session/UserSessionProvider.js +0 -179
  581. package/lib/esm/session/UserSessionProvider.js.map +0 -1
  582. package/lib/esm/session/auth/composable.js +0 -255
  583. package/lib/esm/session/auth/composable.js.map +0 -1
  584. package/lib/esm/session/auth/firebase.js +0 -158
  585. package/lib/esm/session/auth/firebase.js.map +0 -1
  586. package/lib/esm/session/auth/useAuthState.js +0 -46
  587. package/lib/esm/session/auth/useAuthState.js.map +0 -1
  588. package/lib/esm/session/auth/useCurrentTenant.js +0 -63
  589. package/lib/esm/session/auth/useCurrentTenant.js.map +0 -1
  590. package/lib/esm/session/constants.js +0 -3
  591. package/lib/esm/session/constants.js.map +0 -1
  592. package/lib/esm/session/index.js +0 -8
  593. package/lib/esm/session/index.js.map +0 -1
  594. package/lib/esm/session/useUXTracking.js +0 -29
  595. package/lib/esm/session/useUXTracking.js.map +0 -1
  596. package/lib/esm/shell/SplashScreen.js +0 -26
  597. package/lib/esm/shell/SplashScreen.js.map +0 -1
  598. package/lib/esm/shell/VertesiaShell.js +0 -10
  599. package/lib/esm/shell/VertesiaShell.js.map +0 -1
  600. package/lib/esm/shell/apps/AppInstallationProvider.js +0 -13
  601. package/lib/esm/shell/apps/AppInstallationProvider.js.map +0 -1
  602. package/lib/esm/shell/apps/AppProjectSelector.js +0 -36
  603. package/lib/esm/shell/apps/AppProjectSelector.js.map +0 -1
  604. package/lib/esm/shell/apps/StandaloneApp.js +0 -60
  605. package/lib/esm/shell/apps/StandaloneApp.js.map +0 -1
  606. package/lib/esm/shell/apps/index.js +0 -4
  607. package/lib/esm/shell/apps/index.js.map +0 -1
  608. package/lib/esm/shell/index.js +0 -8
  609. package/lib/esm/shell/index.js.map +0 -1
  610. package/lib/esm/shell/login/EnterpriseSigninButton.js +0 -84
  611. package/lib/esm/shell/login/EnterpriseSigninButton.js.map +0 -1
  612. package/lib/esm/shell/login/GitHubSignInButton.js +0 -24
  613. package/lib/esm/shell/login/GitHubSignInButton.js.map +0 -1
  614. package/lib/esm/shell/login/GoogleSignInButton.js +0 -25
  615. package/lib/esm/shell/login/GoogleSignInButton.js.map +0 -1
  616. package/lib/esm/shell/login/InviteAcceptModal.js +0 -62
  617. package/lib/esm/shell/login/InviteAcceptModal.js.map +0 -1
  618. package/lib/esm/shell/login/MicrosoftSigninButton.js +0 -19
  619. package/lib/esm/shell/login/MicrosoftSigninButton.js.map +0 -1
  620. package/lib/esm/shell/login/PreviewIcon.js +0 -23
  621. package/lib/esm/shell/login/PreviewIcon.js.map +0 -1
  622. package/lib/esm/shell/login/SignInModal.js +0 -9
  623. package/lib/esm/shell/login/SignInModal.js.map +0 -1
  624. package/lib/esm/shell/login/SigninScreen.js +0 -64
  625. package/lib/esm/shell/login/SigninScreen.js.map +0 -1
  626. package/lib/esm/shell/login/SignupForm.js +0 -91
  627. package/lib/esm/shell/login/SignupForm.js.map +0 -1
  628. package/lib/esm/shell/login/TerminalLogin.js +0 -179
  629. package/lib/esm/shell/login/TerminalLogin.js.map +0 -1
  630. package/lib/esm/shell/login/UserInfo.js +0 -41
  631. package/lib/esm/shell/login/UserInfo.js.map +0 -1
  632. package/lib/esm/shell/login/UserSessionMenu.js +0 -37
  633. package/lib/esm/shell/login/UserSessionMenu.js.map +0 -1
  634. package/lib/esm/shell/utils.js +0 -6
  635. package/lib/esm/shell/utils.js.map +0 -1
  636. package/lib/esm/widgets/Progress.js +0 -5
  637. package/lib/esm/widgets/Progress.js.map +0 -1
  638. package/lib/esm/widgets/SvgIcon.js +0 -36
  639. package/lib/esm/widgets/SvgIcon.js.map +0 -1
  640. package/lib/esm/widgets/form/Form.js +0 -100
  641. package/lib/esm/widgets/form/Form.js.map +0 -1
  642. package/lib/esm/widgets/form/FormContext.js +0 -31
  643. package/lib/esm/widgets/form/FormContext.js.map +0 -1
  644. package/lib/esm/widgets/form/ManagedObject.js +0 -287
  645. package/lib/esm/widgets/form/ManagedObject.js.map +0 -1
  646. package/lib/esm/widgets/form/fields.js +0 -12
  647. package/lib/esm/widgets/form/fields.js.map +0 -1
  648. package/lib/esm/widgets/form/index.js +0 -7
  649. package/lib/esm/widgets/form/index.js.map +0 -1
  650. package/lib/esm/widgets/form/inputs.js +0 -38
  651. package/lib/esm/widgets/form/inputs.js.map +0 -1
  652. package/lib/esm/widgets/form/schema.js +0 -197
  653. package/lib/esm/widgets/form/schema.js.map +0 -1
  654. package/lib/esm/widgets/index.js +0 -12
  655. package/lib/esm/widgets/index.js.map +0 -1
  656. package/lib/esm/widgets/json-view/JSONCode.js +0 -22
  657. package/lib/esm/widgets/json-view/JSONCode.js.map +0 -1
  658. package/lib/esm/widgets/json-view/JSONDisplay.js +0 -10
  659. package/lib/esm/widgets/json-view/JSONDisplay.js.map +0 -1
  660. package/lib/esm/widgets/json-view/JSONView.js +0 -106
  661. package/lib/esm/widgets/json-view/JSONView.js.map +0 -1
  662. package/lib/esm/widgets/json-view/index.js +0 -4
  663. package/lib/esm/widgets/json-view/index.js.map +0 -1
  664. package/lib/esm/widgets/json-view/types.js +0 -2
  665. package/lib/esm/widgets/json-view/types.js.map +0 -1
  666. package/lib/esm/widgets/markdown/MarkdownRenderer.js +0 -246
  667. package/lib/esm/widgets/markdown/MarkdownRenderer.js.map +0 -1
  668. package/lib/esm/widgets/markdown/index.js +0 -2
  669. package/lib/esm/widgets/markdown/index.js.map +0 -1
  670. package/lib/esm/widgets/monacoEditor/MonacoEditor.js +0 -140
  671. package/lib/esm/widgets/monacoEditor/MonacoEditor.js.map +0 -1
  672. package/lib/esm/widgets/monacoEditor/index.js +0 -2
  673. package/lib/esm/widgets/monacoEditor/index.js.map +0 -1
  674. package/lib/esm/widgets/popover/Popover.js +0 -73
  675. package/lib/esm/widgets/popover/Popover.js.map +0 -1
  676. package/lib/esm/widgets/popover/context.js +0 -7
  677. package/lib/esm/widgets/popover/context.js.map +0 -1
  678. package/lib/esm/widgets/popover/index.js +0 -3
  679. package/lib/esm/widgets/popover/index.js.map +0 -1
  680. package/lib/esm/widgets/popover/slots.js +0 -22
  681. package/lib/esm/widgets/popover/slots.js.map +0 -1
  682. package/lib/esm/widgets/properties/PropertiesView.js +0 -8
  683. package/lib/esm/widgets/properties/PropertiesView.js.map +0 -1
  684. package/lib/esm/widgets/properties/index.js +0 -2
  685. package/lib/esm/widgets/properties/index.js.map +0 -1
  686. package/lib/esm/widgets/schema-editor/ManagedSchema.js +0 -300
  687. package/lib/esm/widgets/schema-editor/ManagedSchema.js.map +0 -1
  688. package/lib/esm/widgets/schema-editor/editor/Editable.js +0 -110
  689. package/lib/esm/widgets/schema-editor/editor/Editable.js.map +0 -1
  690. package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js +0 -8
  691. package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js.map +0 -1
  692. package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js +0 -81
  693. package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js.map +0 -1
  694. package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js +0 -7
  695. package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js.map +0 -1
  696. package/lib/esm/widgets/schema-editor/editor/SchemaContext.js +0 -9
  697. package/lib/esm/widgets/schema-editor/editor/SchemaContext.js.map +0 -1
  698. package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js +0 -84
  699. package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js.map +0 -1
  700. package/lib/esm/widgets/schema-editor/index.js +0 -7
  701. package/lib/esm/widgets/schema-editor/index.js.map +0 -1
  702. package/lib/esm/widgets/schema-editor/json-schema4-utils.js +0 -188
  703. package/lib/esm/widgets/schema-editor/json-schema4-utils.js.map +0 -1
  704. package/lib/esm/widgets/schema-editor/type-signature.js +0 -30
  705. package/lib/esm/widgets/schema-editor/type-signature.js.map +0 -1
  706. package/lib/esm/widgets/upload/DropZone.js +0 -175
  707. package/lib/esm/widgets/upload/DropZone.js.map +0 -1
  708. package/lib/esm/widgets/upload/UploadResultCategory.js +0 -19
  709. package/lib/esm/widgets/upload/UploadResultCategory.js.map +0 -1
  710. package/lib/esm/widgets/upload/UploadSummary.js +0 -30
  711. package/lib/esm/widgets/upload/UploadSummary.js.map +0 -1
  712. package/lib/esm/widgets/upload/index.js +0 -4
  713. package/lib/esm/widgets/upload/index.js.map +0 -1
  714. package/lib/esm/widgets/xml-viewer/components/Attributes/index.js +0 -11
  715. package/lib/esm/widgets/xml-viewer/components/Attributes/index.js.map +0 -1
  716. package/lib/esm/widgets/xml-viewer/components/CDataTag/index.js +0 -8
  717. package/lib/esm/widgets/xml-viewer/components/CDataTag/index.js.map +0 -1
  718. package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js +0 -11
  719. package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js.map +0 -1
  720. package/lib/esm/widgets/xml-viewer/components/CommentTag/index.js +0 -11
  721. package/lib/esm/widgets/xml-viewer/components/CommentTag/index.js.map +0 -1
  722. package/lib/esm/widgets/xml-viewer/components/DeclarationTag/index.js +0 -9
  723. package/lib/esm/widgets/xml-viewer/components/DeclarationTag/index.js.map +0 -1
  724. package/lib/esm/widgets/xml-viewer/components/Elements/index.js +0 -36
  725. package/lib/esm/widgets/xml-viewer/components/Elements/index.js.map +0 -1
  726. package/lib/esm/widgets/xml-viewer/components/InvalidXml/index.js +0 -5
  727. package/lib/esm/widgets/xml-viewer/components/InvalidXml/index.js.map +0 -1
  728. package/lib/esm/widgets/xml-viewer/components/Tag/index.js +0 -13
  729. package/lib/esm/widgets/xml-viewer/components/Tag/index.js.map +0 -1
  730. package/lib/esm/widgets/xml-viewer/components/TextElement/index.js +0 -13
  731. package/lib/esm/widgets/xml-viewer/components/TextElement/index.js.map +0 -1
  732. package/lib/esm/widgets/xml-viewer/components/XMLViewer.js +0 -39
  733. package/lib/esm/widgets/xml-viewer/components/XMLViewer.js.map +0 -1
  734. package/lib/esm/widgets/xml-viewer/components/types.js +0 -2
  735. package/lib/esm/widgets/xml-viewer/components/types.js.map +0 -1
  736. package/lib/esm/widgets/xml-viewer/constants/index.js +0 -27
  737. package/lib/esm/widgets/xml-viewer/constants/index.js.map +0 -1
  738. package/lib/esm/widgets/xml-viewer/context/xml-viewer-context.js +0 -10
  739. package/lib/esm/widgets/xml-viewer/context/xml-viewer-context.js.map +0 -1
  740. package/lib/esm/widgets/xml-viewer/helpers/index.js +0 -40
  741. package/lib/esm/widgets/xml-viewer/helpers/index.js.map +0 -1
  742. package/lib/esm/widgets/xml-viewer/hooks/useCollapsible.js +0 -22
  743. package/lib/esm/widgets/xml-viewer/hooks/useCollapsible.js.map +0 -1
  744. package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js +0 -31
  745. package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js.map +0 -1
  746. package/lib/esm/widgets/xml-viewer/index.js +0 -3
  747. package/lib/esm/widgets/xml-viewer/index.js.map +0 -1
  748. package/lib/esm/widgets/xml-viewer/types/index.js +0 -2
  749. package/lib/esm/widgets/xml-viewer/types/index.js.map +0 -1
  750. package/lib/tsconfig.tsbuildinfo +0 -1
  751. package/lib/types/core/components/Avatar.d.ts +0 -16
  752. package/lib/types/core/components/Avatar.d.ts.map +0 -1
  753. package/lib/types/core/components/Badge.d.ts +0 -21
  754. package/lib/types/core/components/Badge.d.ts.map +0 -1
  755. package/lib/types/core/components/Button.d.ts +0 -14
  756. package/lib/types/core/components/Button.d.ts.map +0 -1
  757. package/lib/types/core/components/Center.d.ts +0 -8
  758. package/lib/types/core/components/Center.d.ts.map +0 -1
  759. package/lib/types/core/components/ComboBox.d.ts +0 -124
  760. package/lib/types/core/components/ComboBox.d.ts.map +0 -1
  761. package/lib/types/core/components/ConfirmModal.d.ts +0 -11
  762. package/lib/types/core/components/ConfirmModal.d.ts.map +0 -1
  763. package/lib/types/core/components/DeleteModal.d.ts +0 -11
  764. package/lib/types/core/components/DeleteModal.d.ts.map +0 -1
  765. package/lib/types/core/components/Divider.d.ts +0 -6
  766. package/lib/types/core/components/Divider.d.ts.map +0 -1
  767. package/lib/types/core/components/Dropdown.d.ts +0 -15
  768. package/lib/types/core/components/Dropdown.d.ts.map +0 -1
  769. package/lib/types/core/components/DropdownList.d.ts +0 -13
  770. package/lib/types/core/components/DropdownList.d.ts.map +0 -1
  771. package/lib/types/core/components/EmptyCollection.d.ts +0 -9
  772. package/lib/types/core/components/EmptyCollection.d.ts.map +0 -1
  773. package/lib/types/core/components/FileUpload.d.ts +0 -29
  774. package/lib/types/core/components/FileUpload.d.ts.map +0 -1
  775. package/lib/types/core/components/FormItem.d.ts +0 -13
  776. package/lib/types/core/components/FormItem.d.ts.map +0 -1
  777. package/lib/types/core/components/InputList.d.ts +0 -12
  778. package/lib/types/core/components/InputList.d.ts.map +0 -1
  779. package/lib/types/core/components/Link.d.ts +0 -7
  780. package/lib/types/core/components/Link.d.ts.map +0 -1
  781. package/lib/types/core/components/MenuList.d.ts +0 -14
  782. package/lib/types/core/components/MenuList.d.ts.map +0 -1
  783. package/lib/types/core/components/MessageBox.d.ts +0 -36
  784. package/lib/types/core/components/MessageBox.d.ts.map +0 -1
  785. package/lib/types/core/components/Modal.d.ts +0 -30
  786. package/lib/types/core/components/Modal.d.ts.map +0 -1
  787. package/lib/types/core/components/NumberInput.d.ts +0 -16
  788. package/lib/types/core/components/NumberInput.d.ts.map +0 -1
  789. package/lib/types/core/components/Overlay.d.ts +0 -25
  790. package/lib/types/core/components/Overlay.d.ts.map +0 -1
  791. package/lib/types/core/components/Panel.d.ts +0 -11
  792. package/lib/types/core/components/Panel.d.ts.map +0 -1
  793. package/lib/types/core/components/Portal.d.ts +0 -6
  794. package/lib/types/core/components/Portal.d.ts.map +0 -1
  795. package/lib/types/core/components/RadioGroup.d.ts +0 -26
  796. package/lib/types/core/components/RadioGroup.d.ts.map +0 -1
  797. package/lib/types/core/components/SelectBox.d.ts +0 -36
  798. package/lib/types/core/components/SelectBox.d.ts.map +0 -1
  799. package/lib/types/core/components/SelectList.d.ts +0 -19
  800. package/lib/types/core/components/SelectList.d.ts.map +0 -1
  801. package/lib/types/core/components/SelectStack.d.ts +0 -13
  802. package/lib/types/core/components/SelectStack.d.ts.map +0 -1
  803. package/lib/types/core/components/SidePanel.d.ts +0 -11
  804. package/lib/types/core/components/SidePanel.d.ts.map +0 -1
  805. package/lib/types/core/components/Spinner.d.ts +0 -7
  806. package/lib/types/core/components/Spinner.d.ts.map +0 -1
  807. package/lib/types/core/components/Switch.d.ts +0 -11
  808. package/lib/types/core/components/Switch.d.ts.map +0 -1
  809. package/lib/types/core/components/TagsInput.d.ts +0 -16
  810. package/lib/types/core/components/TagsInput.d.ts.map +0 -1
  811. package/lib/types/core/components/index.d.ts +0 -40
  812. package/lib/types/core/components/index.d.ts.map +0 -1
  813. package/lib/types/core/components/libs/utils.d.ts +0 -3
  814. package/lib/types/core/components/libs/utils.d.ts.map +0 -1
  815. package/lib/types/core/components/libs/visuallyHidden.d.ts +0 -7
  816. package/lib/types/core/components/libs/visuallyHidden.d.ts.map +0 -1
  817. package/lib/types/core/components/popup/Popup.d.ts +0 -26
  818. package/lib/types/core/components/popup/Popup.d.ts.map +0 -1
  819. package/lib/types/core/components/popup/PopupController.d.ts +0 -41
  820. package/lib/types/core/components/popup/PopupController.d.ts.map +0 -1
  821. package/lib/types/core/components/popup/index.d.ts +0 -4
  822. package/lib/types/core/components/popup/index.d.ts.map +0 -1
  823. package/lib/types/core/components/popup/position.d.ts +0 -59
  824. package/lib/types/core/components/popup/position.d.ts.map +0 -1
  825. package/lib/types/core/components/popup/utils.d.ts +0 -30
  826. package/lib/types/core/components/popup/utils.d.ts.map +0 -1
  827. package/lib/types/core/components/shadcn/breadcrumb.d.ts +0 -15
  828. package/lib/types/core/components/shadcn/breadcrumb.d.ts.map +0 -1
  829. package/lib/types/core/components/shadcn/button.d.ts +0 -27
  830. package/lib/types/core/components/shadcn/button.d.ts.map +0 -1
  831. package/lib/types/core/components/shadcn/calendar.d.ts +0 -11
  832. package/lib/types/core/components/shadcn/calendar.d.ts.map +0 -1
  833. package/lib/types/core/components/shadcn/card.d.ts +0 -9
  834. package/lib/types/core/components/shadcn/card.d.ts.map +0 -1
  835. package/lib/types/core/components/shadcn/checkbox.d.ts +0 -5
  836. package/lib/types/core/components/shadcn/checkbox.d.ts.map +0 -1
  837. package/lib/types/core/components/shadcn/command.d.ts +0 -17
  838. package/lib/types/core/components/shadcn/command.d.ts.map +0 -1
  839. package/lib/types/core/components/shadcn/dialog.d.ts +0 -38
  840. package/lib/types/core/components/shadcn/dialog.d.ts.map +0 -1
  841. package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts +0 -9
  842. package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts.map +0 -1
  843. package/lib/types/core/components/shadcn/filters/animateChangeInHeight.d.ts +0 -7
  844. package/lib/types/core/components/shadcn/filters/animateChangeInHeight.d.ts.map +0 -1
  845. package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts +0 -6
  846. package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts.map +0 -1
  847. package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts +0 -9
  848. package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts.map +0 -1
  849. package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts +0 -6
  850. package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts.map +0 -1
  851. package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts +0 -6
  852. package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts.map +0 -1
  853. package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts +0 -5
  854. package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts.map +0 -1
  855. package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts +0 -12
  856. package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts.map +0 -1
  857. package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts +0 -11
  858. package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts.map +0 -1
  859. package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts +0 -13
  860. package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts.map +0 -1
  861. package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts +0 -14
  862. package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts.map +0 -1
  863. package/lib/types/core/components/shadcn/filters/filter-styles.d.ts +0 -2
  864. package/lib/types/core/components/shadcn/filters/filter-styles.d.ts.map +0 -1
  865. package/lib/types/core/components/shadcn/filters/filterBar.d.ts +0 -20
  866. package/lib/types/core/components/shadcn/filters/filterBar.d.ts.map +0 -1
  867. package/lib/types/core/components/shadcn/filters/filters.d.ts +0 -10
  868. package/lib/types/core/components/shadcn/filters/filters.d.ts.map +0 -1
  869. package/lib/types/core/components/shadcn/filters/index.d.ts +0 -6
  870. package/lib/types/core/components/shadcn/filters/index.d.ts.map +0 -1
  871. package/lib/types/core/components/shadcn/filters/types.d.ts +0 -35
  872. package/lib/types/core/components/shadcn/filters/types.d.ts.map +0 -1
  873. package/lib/types/core/components/shadcn/heading.d.ts +0 -6
  874. package/lib/types/core/components/shadcn/heading.d.ts.map +0 -1
  875. package/lib/types/core/components/shadcn/index.d.ts +0 -23
  876. package/lib/types/core/components/shadcn/index.d.ts.map +0 -1
  877. package/lib/types/core/components/shadcn/input.d.ts +0 -17
  878. package/lib/types/core/components/shadcn/input.d.ts.map +0 -1
  879. package/lib/types/core/components/shadcn/label.d.ts +0 -8
  880. package/lib/types/core/components/shadcn/label.d.ts.map +0 -1
  881. package/lib/types/core/components/shadcn/popover.d.ts +0 -24
  882. package/lib/types/core/components/shadcn/popover.d.ts.map +0 -1
  883. package/lib/types/core/components/shadcn/resizeable.d.ts +0 -9
  884. package/lib/types/core/components/shadcn/resizeable.d.ts.map +0 -1
  885. package/lib/types/core/components/shadcn/selectBox.d.ts +0 -36
  886. package/lib/types/core/components/shadcn/selectBox.d.ts.map +0 -1
  887. package/lib/types/core/components/shadcn/separator.d.ts +0 -5
  888. package/lib/types/core/components/shadcn/separator.d.ts.map +0 -1
  889. package/lib/types/core/components/shadcn/tabs.d.ts +0 -33
  890. package/lib/types/core/components/shadcn/tabs.d.ts.map +0 -1
  891. package/lib/types/core/components/shadcn/text.d.ts +0 -11
  892. package/lib/types/core/components/shadcn/text.d.ts.map +0 -1
  893. package/lib/types/core/components/shadcn/textarea.d.ts +0 -4
  894. package/lib/types/core/components/shadcn/textarea.d.ts.map +0 -1
  895. package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts +0 -15
  896. package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts.map +0 -1
  897. package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts +0 -10
  898. package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts.map +0 -1
  899. package/lib/types/core/components/shadcn/tooltip.d.ts +0 -20
  900. package/lib/types/core/components/shadcn/tooltip.d.ts.map +0 -1
  901. package/lib/types/core/components/styles.d.ts +0 -7
  902. package/lib/types/core/components/styles.d.ts.map +0 -1
  903. package/lib/types/core/components/table/index.d.ts +0 -19
  904. package/lib/types/core/components/table/index.d.ts.map +0 -1
  905. package/lib/types/core/components/tabs/Tabs.d.ts +0 -25
  906. package/lib/types/core/components/tabs/Tabs.d.ts.map +0 -1
  907. package/lib/types/core/components/tabs/TabsContext.d.ts +0 -17
  908. package/lib/types/core/components/tabs/TabsContext.d.ts.map +0 -1
  909. package/lib/types/core/components/tabs/index.d.ts +0 -3
  910. package/lib/types/core/components/tabs/index.d.ts.map +0 -1
  911. package/lib/types/core/components/toast/NotificationPanel.d.ts +0 -8
  912. package/lib/types/core/components/toast/NotificationPanel.d.ts.map +0 -1
  913. package/lib/types/core/components/toast/ToastContext.d.ts +0 -6
  914. package/lib/types/core/components/toast/ToastContext.d.ts.map +0 -1
  915. package/lib/types/core/components/toast/ToastProps.d.ts +0 -7
  916. package/lib/types/core/components/toast/ToastProps.d.ts.map +0 -1
  917. package/lib/types/core/components/toast/ToastProvider.d.ts +0 -6
  918. package/lib/types/core/components/toast/ToastProvider.d.ts.map +0 -1
  919. package/lib/types/core/components/toast/index.d.ts +0 -3
  920. package/lib/types/core/components/toast/index.d.ts.map +0 -1
  921. package/lib/types/core/hooks/CompositeState.d.ts +0 -137
  922. package/lib/types/core/hooks/CompositeState.d.ts.map +0 -1
  923. package/lib/types/core/hooks/PortalContainerProvider.d.ts +0 -7
  924. package/lib/types/core/hooks/PortalContainerProvider.d.ts.map +0 -1
  925. package/lib/types/core/hooks/SharedState.d.ts +0 -10
  926. package/lib/types/core/hooks/SharedState.d.ts.map +0 -1
  927. package/lib/types/core/hooks/index.d.ts +0 -16
  928. package/lib/types/core/hooks/index.d.ts.map +0 -1
  929. package/lib/types/core/hooks/useClickOutside.d.ts +0 -8
  930. package/lib/types/core/hooks/useClickOutside.d.ts.map +0 -1
  931. package/lib/types/core/hooks/useCopyToClipboard.d.ts +0 -5
  932. package/lib/types/core/hooks/useCopyToClipboard.d.ts.map +0 -1
  933. package/lib/types/core/hooks/useDarkMode.d.ts +0 -2
  934. package/lib/types/core/hooks/useDarkMode.d.ts.map +0 -1
  935. package/lib/types/core/hooks/useDebounce.d.ts +0 -2
  936. package/lib/types/core/hooks/useDebounce.d.ts.map +0 -1
  937. package/lib/types/core/hooks/useEventSource.d.ts +0 -2
  938. package/lib/types/core/hooks/useEventSource.d.ts.map +0 -1
  939. package/lib/types/core/hooks/useFetch.d.ts +0 -24
  940. package/lib/types/core/hooks/useFetch.d.ts.map +0 -1
  941. package/lib/types/core/hooks/useFlag.d.ts +0 -9
  942. package/lib/types/core/hooks/useFlag.d.ts.map +0 -1
  943. package/lib/types/core/hooks/useIntersectionObserver.d.ts +0 -14
  944. package/lib/types/core/hooks/useIntersectionObserver.d.ts.map +0 -1
  945. package/lib/types/core/hooks/useIsFistRendering.d.ts +0 -2
  946. package/lib/types/core/hooks/useIsFistRendering.d.ts.map +0 -1
  947. package/lib/types/core/hooks/useSafeLayoutEffect.d.ts +0 -4
  948. package/lib/types/core/hooks/useSafeLayoutEffect.d.ts.map +0 -1
  949. package/lib/types/core/hooks/useScrollableSearch.d.ts +0 -82
  950. package/lib/types/core/hooks/useScrollableSearch.d.ts.map +0 -1
  951. package/lib/types/core/hooks/useSharedValue.d.ts +0 -12
  952. package/lib/types/core/hooks/useSharedValue.d.ts.map +0 -1
  953. package/lib/types/core/index.d.ts +0 -4
  954. package/lib/types/core/index.d.ts.map +0 -1
  955. package/lib/types/core/utils/cn.d.ts +0 -3
  956. package/lib/types/core/utils/cn.d.ts.map +0 -1
  957. package/lib/types/core/utils/index.d.ts +0 -2
  958. package/lib/types/core/utils/index.d.ts.map +0 -1
  959. package/lib/types/env/index.d.ts +0 -76
  960. package/lib/types/env/index.d.ts.map +0 -1
  961. package/lib/types/features/activity-doc/ActivityDoc.d.ts +0 -14
  962. package/lib/types/features/activity-doc/ActivityDoc.d.ts.map +0 -1
  963. package/lib/types/features/activity-doc/index.d.ts +0 -2
  964. package/lib/types/features/activity-doc/index.d.ts.map +0 -1
  965. package/lib/types/features/agent/PayloadBuilder.d.ts +0 -66
  966. package/lib/types/features/agent/PayloadBuilder.d.ts.map +0 -1
  967. package/lib/types/features/agent/chat/AgentChart.d.ts +0 -48
  968. package/lib/types/features/agent/chat/AgentChart.d.ts.map +0 -1
  969. package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts +0 -38
  970. package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts.map +0 -1
  971. package/lib/types/features/agent/chat/JumpingDots.d.ts +0 -7
  972. package/lib/types/features/agent/chat/JumpingDots.d.ts.map +0 -1
  973. package/lib/types/features/agent/chat/ModernAgentConversation.d.ts +0 -25
  974. package/lib/types/features/agent/chat/ModernAgentConversation.d.ts.map +0 -1
  975. package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +0 -23
  976. package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +0 -1
  977. package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts +0 -20
  978. package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts.map +0 -1
  979. package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts +0 -11
  980. package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts.map +0 -1
  981. package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts +0 -18
  982. package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +0 -1
  983. package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +0 -11
  984. package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +0 -1
  985. package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +0 -8
  986. package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +0 -1
  987. package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts +0 -10
  988. package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts.map +0 -1
  989. package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts +0 -9
  990. package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +0 -1
  991. package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts +0 -11
  992. package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts.map +0 -1
  993. package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts +0 -8
  994. package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts.map +0 -1
  995. package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts +0 -10
  996. package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts.map +0 -1
  997. package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts +0 -8
  998. package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts.map +0 -1
  999. package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts +0 -22
  1000. package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +0 -1
  1001. package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts +0 -25
  1002. package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts.map +0 -1
  1003. package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts +0 -18
  1004. package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts.map +0 -1
  1005. package/lib/types/features/agent/chat/WaitingMessages.d.ts +0 -2
  1006. package/lib/types/features/agent/chat/WaitingMessages.d.ts.map +0 -1
  1007. package/lib/types/features/agent/chat/index.d.ts +0 -6
  1008. package/lib/types/features/agent/chat/index.d.ts.map +0 -1
  1009. package/lib/types/features/agent/createChartTool.d.ts +0 -178
  1010. package/lib/types/features/agent/createChartTool.d.ts.map +0 -1
  1011. package/lib/types/features/agent/examples.d.ts +0 -59
  1012. package/lib/types/features/agent/examples.d.ts.map +0 -1
  1013. package/lib/types/features/agent/index.d.ts +0 -5
  1014. package/lib/types/features/agent/index.d.ts.map +0 -1
  1015. package/lib/types/features/agent/visualization.d.ts +0 -95
  1016. package/lib/types/features/agent/visualization.d.ts.map +0 -1
  1017. package/lib/types/features/errors/PanelErrorBoundary.d.ts +0 -5
  1018. package/lib/types/features/errors/PanelErrorBoundary.d.ts.map +0 -1
  1019. package/lib/types/features/errors/RowErrorBoundary.d.ts +0 -8
  1020. package/lib/types/features/errors/RowErrorBoundary.d.ts.map +0 -1
  1021. package/lib/types/features/errors/VertesiaErrorBoundary.d.ts +0 -12
  1022. package/lib/types/features/errors/VertesiaErrorBoundary.d.ts.map +0 -1
  1023. package/lib/types/features/errors/WidgetErrorBoundary.d.ts +0 -5
  1024. package/lib/types/features/errors/WidgetErrorBoundary.d.ts.map +0 -1
  1025. package/lib/types/features/errors/index.d.ts +0 -5
  1026. package/lib/types/features/errors/index.d.ts.map +0 -1
  1027. package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts +0 -14
  1028. package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts.map +0 -1
  1029. package/lib/types/features/facets/CollectionsFacetsNav.d.ts +0 -14
  1030. package/lib/types/features/facets/CollectionsFacetsNav.d.ts.map +0 -1
  1031. package/lib/types/features/facets/DocumentsFacetsNav.d.ts +0 -17
  1032. package/lib/types/features/facets/DocumentsFacetsNav.d.ts.map +0 -1
  1033. package/lib/types/features/facets/EnvironmentFacet.d.ts +0 -10
  1034. package/lib/types/features/facets/EnvironmentFacet.d.ts.map +0 -1
  1035. package/lib/types/features/facets/InteractionsFacetsNav.d.ts +0 -14
  1036. package/lib/types/features/facets/InteractionsFacetsNav.d.ts.map +0 -1
  1037. package/lib/types/features/facets/PromptsFacetsNav.d.ts +0 -15
  1038. package/lib/types/features/facets/PromptsFacetsNav.d.ts.map +0 -1
  1039. package/lib/types/features/facets/RunsFacetsNav.d.ts +0 -20
  1040. package/lib/types/features/facets/RunsFacetsNav.d.ts.map +0 -1
  1041. package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts +0 -14
  1042. package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +0 -1
  1043. package/lib/types/features/facets/index.d.ts +0 -16
  1044. package/lib/types/features/facets/index.d.ts.map +0 -1
  1045. package/lib/types/features/facets/utils/SearchInterface.d.ts +0 -14
  1046. package/lib/types/features/facets/utils/SearchInterface.d.ts.map +0 -1
  1047. package/lib/types/features/facets/utils/StringFacet.d.ts +0 -11
  1048. package/lib/types/features/facets/utils/StringFacet.d.ts.map +0 -1
  1049. package/lib/types/features/facets/utils/StringListFacet.d.ts +0 -11
  1050. package/lib/types/features/facets/utils/StringListFacet.d.ts.map +0 -1
  1051. package/lib/types/features/facets/utils/TypeFacet.d.ts +0 -16
  1052. package/lib/types/features/facets/utils/TypeFacet.d.ts.map +0 -1
  1053. package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts +0 -12
  1054. package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts.map +0 -1
  1055. package/lib/types/features/facets/utils/VInteractionFacet.d.ts +0 -15
  1056. package/lib/types/features/facets/utils/VInteractionFacet.d.ts.map +0 -1
  1057. package/lib/types/features/facets/utils/VStringFacet.d.ts +0 -21
  1058. package/lib/types/features/facets/utils/VStringFacet.d.ts.map +0 -1
  1059. package/lib/types/features/facets/utils/VTypeFacet.d.ts +0 -12
  1060. package/lib/types/features/facets/utils/VTypeFacet.d.ts.map +0 -1
  1061. package/lib/types/features/facets/utils/VUserFacet.d.ts +0 -11
  1062. package/lib/types/features/facets/utils/VUserFacet.d.ts.map +0 -1
  1063. package/lib/types/features/facets/utils/utils.d.ts +0 -4
  1064. package/lib/types/features/facets/utils/utils.d.ts.map +0 -1
  1065. package/lib/types/features/index.d.ts +0 -12
  1066. package/lib/types/features/index.d.ts.map +0 -1
  1067. package/lib/types/features/layout/GenericPageNavHeader.d.ts +0 -14
  1068. package/lib/types/features/layout/GenericPageNavHeader.d.ts.map +0 -1
  1069. package/lib/types/features/layout/NotFoundView.d.ts +0 -5
  1070. package/lib/types/features/layout/NotFoundView.d.ts.map +0 -1
  1071. package/lib/types/features/layout/index.d.ts +0 -3
  1072. package/lib/types/features/layout/index.d.ts.map +0 -1
  1073. package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts +0 -13
  1074. package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts.map +0 -1
  1075. package/lib/types/features/magic-pdf/DownloadPopover.d.ts +0 -7
  1076. package/lib/types/features/magic-pdf/DownloadPopover.d.ts.map +0 -1
  1077. package/lib/types/features/magic-pdf/ExtractedContentView.d.ts +0 -8
  1078. package/lib/types/features/magic-pdf/ExtractedContentView.d.ts.map +0 -1
  1079. package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts +0 -58
  1080. package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts.map +0 -1
  1081. package/lib/types/features/magic-pdf/MagicPdfView.d.ts +0 -7
  1082. package/lib/types/features/magic-pdf/MagicPdfView.d.ts.map +0 -1
  1083. package/lib/types/features/magic-pdf/index.d.ts +0 -2
  1084. package/lib/types/features/magic-pdf/index.d.ts.map +0 -1
  1085. package/lib/types/features/magic-pdf/types.d.ts +0 -2
  1086. package/lib/types/features/magic-pdf/types.d.ts.map +0 -1
  1087. package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts +0 -83
  1088. package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts.map +0 -1
  1089. package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts +0 -29
  1090. package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts.map +0 -1
  1091. package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts +0 -19
  1092. package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts.map +0 -1
  1093. package/lib/types/features/pdf-viewer/index.d.ts +0 -4
  1094. package/lib/types/features/pdf-viewer/index.d.ts.map +0 -1
  1095. package/lib/types/features/permissions/SecureButton.d.ts +0 -8
  1096. package/lib/types/features/permissions/SecureButton.d.ts.map +0 -1
  1097. package/lib/types/features/permissions/SecureSidebarItem.d.ts +0 -8
  1098. package/lib/types/features/permissions/SecureSidebarItem.d.ts.map +0 -1
  1099. package/lib/types/features/permissions/UserPermissionsProvider.d.ts +0 -21
  1100. package/lib/types/features/permissions/UserPermissionsProvider.d.ts.map +0 -1
  1101. package/lib/types/features/permissions/helpers.d.ts +0 -5
  1102. package/lib/types/features/permissions/helpers.d.ts.map +0 -1
  1103. package/lib/types/features/permissions/index.d.ts +0 -5
  1104. package/lib/types/features/permissions/index.d.ts.map +0 -1
  1105. package/lib/types/features/store/collections/BrowseCollectionView.d.ts +0 -7
  1106. package/lib/types/features/store/collections/BrowseCollectionView.d.ts.map +0 -1
  1107. package/lib/types/features/store/collections/CollectionsTable.d.ts +0 -6
  1108. package/lib/types/features/store/collections/CollectionsTable.d.ts.map +0 -1
  1109. package/lib/types/features/store/collections/CreateCollection.d.ts +0 -13
  1110. package/lib/types/features/store/collections/CreateCollection.d.ts.map +0 -1
  1111. package/lib/types/features/store/collections/EditCollectionView.d.ts +0 -8
  1112. package/lib/types/features/store/collections/EditCollectionView.d.ts.map +0 -1
  1113. package/lib/types/features/store/collections/SelectCollection.d.ts +0 -20
  1114. package/lib/types/features/store/collections/SelectCollection.d.ts.map +0 -1
  1115. package/lib/types/features/store/collections/SharedPropsEditor.d.ts +0 -7
  1116. package/lib/types/features/store/collections/SharedPropsEditor.d.ts.map +0 -1
  1117. package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts +0 -7
  1118. package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts.map +0 -1
  1119. package/lib/types/features/store/collections/index.d.ts +0 -8
  1120. package/lib/types/features/store/collections/index.d.ts.map +0 -1
  1121. package/lib/types/features/store/index.d.ts +0 -4
  1122. package/lib/types/features/store/index.d.ts.map +0 -1
  1123. package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts +0 -8
  1124. package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts.map +0 -1
  1125. package/lib/types/features/store/objects/DocumentSearchResults.d.ts +0 -20
  1126. package/lib/types/features/store/objects/DocumentSearchResults.d.ts.map +0 -1
  1127. package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts +0 -33
  1128. package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts.map +0 -1
  1129. package/lib/types/features/store/objects/DocumentTable.d.ts +0 -25
  1130. package/lib/types/features/store/objects/DocumentTable.d.ts.map +0 -1
  1131. package/lib/types/features/store/objects/ExportPropertiesModal.d.ts +0 -12
  1132. package/lib/types/features/store/objects/ExportPropertiesModal.d.ts.map +0 -1
  1133. package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts +0 -9
  1134. package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts.map +0 -1
  1135. package/lib/types/features/store/objects/components/ContentOverview.d.ts +0 -9
  1136. package/lib/types/features/store/objects/components/ContentOverview.d.ts.map +0 -1
  1137. package/lib/types/features/store/objects/components/DocumentIcon.d.ts +0 -18
  1138. package/lib/types/features/store/objects/components/DocumentIcon.d.ts.map +0 -1
  1139. package/lib/types/features/store/objects/components/DocumentInput.d.ts +0 -8
  1140. package/lib/types/features/store/objects/components/DocumentInput.d.ts.map +0 -1
  1141. package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts +0 -9
  1142. package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts.map +0 -1
  1143. package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts +0 -9
  1144. package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +0 -1
  1145. package/lib/types/features/store/objects/components/SelectDocument.d.ts +0 -9
  1146. package/lib/types/features/store/objects/components/SelectDocument.d.ts.map +0 -1
  1147. package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts +0 -9
  1148. package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts.map +0 -1
  1149. package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts +0 -12
  1150. package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts.map +0 -1
  1151. package/lib/types/features/store/objects/components/index.d.ts +0 -10
  1152. package/lib/types/features/store/objects/components/index.d.ts.map +0 -1
  1153. package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts +0 -30
  1154. package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts.map +0 -1
  1155. package/lib/types/features/store/objects/components/useDownloadObject.d.ts +0 -4
  1156. package/lib/types/features/store/objects/components/useDownloadObject.d.ts.map +0 -1
  1157. package/lib/types/features/store/objects/index.d.ts +0 -11
  1158. package/lib/types/features/store/objects/index.d.ts.map +0 -1
  1159. package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts +0 -18
  1160. package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts.map +0 -1
  1161. package/lib/types/features/store/objects/layout/documentLayout.d.ts +0 -20
  1162. package/lib/types/features/store/objects/layout/documentLayout.d.ts.map +0 -1
  1163. package/lib/types/features/store/objects/layout/index.d.ts +0 -3
  1164. package/lib/types/features/store/objects/layout/index.d.ts.map +0 -1
  1165. package/lib/types/features/store/objects/layout/renderers.d.ts +0 -3
  1166. package/lib/types/features/store/objects/layout/renderers.d.ts.map +0 -1
  1167. package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts +0 -52
  1168. package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts.map +0 -1
  1169. package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts +0 -14
  1170. package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts.map +0 -1
  1171. package/lib/types/features/store/objects/search/index.d.ts +0 -3
  1172. package/lib/types/features/store/objects/search/index.d.ts.map +0 -1
  1173. package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts +0 -26
  1174. package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts.map +0 -1
  1175. package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts +0 -28
  1176. package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts.map +0 -1
  1177. package/lib/types/features/store/objects/selection/SelectionActions.d.ts +0 -6
  1178. package/lib/types/features/store/objects/selection/SelectionActions.d.ts.map +0 -1
  1179. package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts +0 -4
  1180. package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts.map +0 -1
  1181. package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts +0 -4
  1182. package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +0 -1
  1183. package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts +0 -16
  1184. package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts.map +0 -1
  1185. package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +0 -5
  1186. package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +0 -1
  1187. package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts +0 -4
  1188. package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +0 -1
  1189. package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts +0 -4
  1190. package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts.map +0 -1
  1191. package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts +0 -4
  1192. package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts.map +0 -1
  1193. package/lib/types/features/store/objects/selection/actions/index.d.ts +0 -8
  1194. package/lib/types/features/store/objects/selection/actions/index.d.ts.map +0 -1
  1195. package/lib/types/features/store/objects/selection/index.d.ts +0 -5
  1196. package/lib/types/features/store/objects/selection/index.d.ts.map +0 -1
  1197. package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts +0 -39
  1198. package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts.map +0 -1
  1199. package/lib/types/features/store/objects/upload/index.d.ts +0 -4
  1200. package/lib/types/features/store/objects/upload/index.d.ts.map +0 -1
  1201. package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts +0 -30
  1202. package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +0 -1
  1203. package/lib/types/features/store/objects/upload/useUploadHandler.d.ts +0 -50
  1204. package/lib/types/features/store/objects/upload/useUploadHandler.d.ts.map +0 -1
  1205. package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts +0 -6
  1206. package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts.map +0 -1
  1207. package/lib/types/features/store/types/ContentObjectTypesTable.d.ts +0 -8
  1208. package/lib/types/features/store/types/ContentObjectTypesTable.d.ts.map +0 -1
  1209. package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts +0 -15
  1210. package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts.map +0 -1
  1211. package/lib/types/features/store/types/ObjectSchemaEditor.d.ts +0 -8
  1212. package/lib/types/features/store/types/ObjectSchemaEditor.d.ts.map +0 -1
  1213. package/lib/types/features/store/types/SelectContentType.d.ts +0 -11
  1214. package/lib/types/features/store/types/SelectContentType.d.ts.map +0 -1
  1215. package/lib/types/features/store/types/SelectContentTypeModal.d.ts +0 -33
  1216. package/lib/types/features/store/types/SelectContentTypeModal.d.ts.map +0 -1
  1217. package/lib/types/features/store/types/TableLayoutEditor.d.ts +0 -9
  1218. package/lib/types/features/store/types/TableLayoutEditor.d.ts.map +0 -1
  1219. package/lib/types/features/store/types/index.d.ts +0 -9
  1220. package/lib/types/features/store/types/index.d.ts.map +0 -1
  1221. package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts +0 -36
  1222. package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts.map +0 -1
  1223. package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts +0 -11
  1224. package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts.map +0 -1
  1225. package/lib/types/features/store/types/search/index.d.ts +0 -3
  1226. package/lib/types/features/store/types/search/index.d.ts.map +0 -1
  1227. package/lib/types/features/user/UserAvatar.d.ts +0 -9
  1228. package/lib/types/features/user/UserAvatar.d.ts.map +0 -1
  1229. package/lib/types/features/user/UserInfo.d.ts +0 -48
  1230. package/lib/types/features/user/UserInfo.d.ts.map +0 -1
  1231. package/lib/types/features/user/index.d.ts +0 -3
  1232. package/lib/types/features/user/index.d.ts.map +0 -1
  1233. package/lib/types/features/utils/index.d.ts +0 -6
  1234. package/lib/types/features/utils/index.d.ts.map +0 -1
  1235. package/lib/types/features/utils/mimeType.d.ts +0 -6
  1236. package/lib/types/features/utils/mimeType.d.ts.map +0 -1
  1237. package/lib/types/features/utils/print.d.ts +0 -10
  1238. package/lib/types/features/utils/print.d.ts.map +0 -1
  1239. package/lib/types/features/utils/rendition.d.ts +0 -4
  1240. package/lib/types/features/utils/rendition.d.ts.map +0 -1
  1241. package/lib/types/features/utils/text.d.ts +0 -3
  1242. package/lib/types/features/utils/text.d.ts.map +0 -1
  1243. package/lib/types/features/utils/workflowStatus.d.ts +0 -10
  1244. package/lib/types/features/utils/workflowStatus.d.ts.map +0 -1
  1245. package/lib/types/layout/AppLayout.d.ts +0 -13
  1246. package/lib/types/layout/AppLayout.d.ts.map +0 -1
  1247. package/lib/types/layout/FullHeightLayout.d.ts +0 -27
  1248. package/lib/types/layout/FullHeightLayout.d.ts.map +0 -1
  1249. package/lib/types/layout/Navbar.d.ts +0 -33
  1250. package/lib/types/layout/Navbar.d.ts.map +0 -1
  1251. package/lib/types/layout/Sidebar.d.ts +0 -31
  1252. package/lib/types/layout/Sidebar.d.ts.map +0 -1
  1253. package/lib/types/layout/SidebarContext.d.ts +0 -9
  1254. package/lib/types/layout/SidebarContext.d.ts.map +0 -1
  1255. package/lib/types/layout/TitleBar.d.ts +0 -6
  1256. package/lib/types/layout/TitleBar.d.ts.map +0 -1
  1257. package/lib/types/layout/index.d.ts +0 -7
  1258. package/lib/types/layout/index.d.ts.map +0 -1
  1259. package/lib/types/router/FixLinks.d.ts +0 -7
  1260. package/lib/types/router/FixLinks.d.ts.map +0 -1
  1261. package/lib/types/router/HistoryNavigator.d.ts +0 -59
  1262. package/lib/types/router/HistoryNavigator.d.ts.map +0 -1
  1263. package/lib/types/router/Nav.d.ts +0 -30
  1264. package/lib/types/router/Nav.d.ts.map +0 -1
  1265. package/lib/types/router/NestedNavigationContext.d.ts +0 -9
  1266. package/lib/types/router/NestedNavigationContext.d.ts.map +0 -1
  1267. package/lib/types/router/NestedRouterProvider.d.ts +0 -14
  1268. package/lib/types/router/NestedRouterProvider.d.ts.map +0 -1
  1269. package/lib/types/router/PathMatcher.d.ts +0 -36
  1270. package/lib/types/router/PathMatcher.d.ts.map +0 -1
  1271. package/lib/types/router/PathWithParams.d.ts +0 -9
  1272. package/lib/types/router/PathWithParams.d.ts.map +0 -1
  1273. package/lib/types/router/Route404.d.ts +0 -4
  1274. package/lib/types/router/Route404.d.ts.map +0 -1
  1275. package/lib/types/router/RouteComponent.d.ts +0 -6
  1276. package/lib/types/router/RouteComponent.d.ts.map +0 -1
  1277. package/lib/types/router/Router.d.ts +0 -74
  1278. package/lib/types/router/Router.d.ts.map +0 -1
  1279. package/lib/types/router/RouterProvider.d.ts +0 -15
  1280. package/lib/types/router/RouterProvider.d.ts.map +0 -1
  1281. package/lib/types/router/index.d.ts +0 -11
  1282. package/lib/types/router/index.d.ts.map +0 -1
  1283. package/lib/types/router/path.d.ts +0 -8
  1284. package/lib/types/router/path.d.ts.map +0 -1
  1285. package/lib/types/session/TypeRegistry.d.ts +0 -10
  1286. package/lib/types/session/TypeRegistry.d.ts.map +0 -1
  1287. package/lib/types/session/UserSession.d.ts +0 -40
  1288. package/lib/types/session/UserSession.d.ts.map +0 -1
  1289. package/lib/types/session/UserSessionProvider.d.ts +0 -7
  1290. package/lib/types/session/UserSessionProvider.d.ts.map +0 -1
  1291. package/lib/types/session/auth/composable.d.ts +0 -26
  1292. package/lib/types/session/auth/composable.d.ts.map +0 -1
  1293. package/lib/types/session/auth/firebase.d.ts +0 -10
  1294. package/lib/types/session/auth/firebase.d.ts.map +0 -1
  1295. package/lib/types/session/auth/useAuthState.d.ts +0 -10
  1296. package/lib/types/session/auth/useAuthState.d.ts.map +0 -1
  1297. package/lib/types/session/auth/useCurrentTenant.d.ts +0 -15
  1298. package/lib/types/session/auth/useCurrentTenant.d.ts.map +0 -1
  1299. package/lib/types/session/constants.d.ts +0 -3
  1300. package/lib/types/session/constants.d.ts.map +0 -1
  1301. package/lib/types/session/index.d.ts +0 -8
  1302. package/lib/types/session/index.d.ts.map +0 -1
  1303. package/lib/types/session/useUXTracking.d.ts +0 -6
  1304. package/lib/types/session/useUXTracking.d.ts.map +0 -1
  1305. package/lib/types/shell/SplashScreen.d.ts +0 -7
  1306. package/lib/types/shell/SplashScreen.d.ts.map +0 -1
  1307. package/lib/types/shell/VertesiaShell.d.ts +0 -10
  1308. package/lib/types/shell/VertesiaShell.d.ts.map +0 -1
  1309. package/lib/types/shell/apps/AppInstallationProvider.d.ts +0 -12
  1310. package/lib/types/shell/apps/AppInstallationProvider.d.ts.map +0 -1
  1311. package/lib/types/shell/apps/AppProjectSelector.d.ts +0 -12
  1312. package/lib/types/shell/apps/AppProjectSelector.d.ts.map +0 -1
  1313. package/lib/types/shell/apps/StandaloneApp.d.ts +0 -23
  1314. package/lib/types/shell/apps/StandaloneApp.d.ts.map +0 -1
  1315. package/lib/types/shell/apps/index.d.ts +0 -4
  1316. package/lib/types/shell/apps/index.d.ts.map +0 -1
  1317. package/lib/types/shell/index.d.ts +0 -8
  1318. package/lib/types/shell/index.d.ts.map +0 -1
  1319. package/lib/types/shell/login/EnterpriseSigninButton.d.ts +0 -6
  1320. package/lib/types/shell/login/EnterpriseSigninButton.d.ts.map +0 -1
  1321. package/lib/types/shell/login/GitHubSignInButton.d.ts +0 -6
  1322. package/lib/types/shell/login/GitHubSignInButton.d.ts.map +0 -1
  1323. package/lib/types/shell/login/GoogleSignInButton.d.ts +0 -6
  1324. package/lib/types/shell/login/GoogleSignInButton.d.ts.map +0 -1
  1325. package/lib/types/shell/login/InviteAcceptModal.d.ts +0 -2
  1326. package/lib/types/shell/login/InviteAcceptModal.d.ts.map +0 -1
  1327. package/lib/types/shell/login/MicrosoftSigninButton.d.ts +0 -6
  1328. package/lib/types/shell/login/MicrosoftSigninButton.d.ts.map +0 -1
  1329. package/lib/types/shell/login/PreviewIcon.d.ts +0 -6
  1330. package/lib/types/shell/login/PreviewIcon.d.ts.map +0 -1
  1331. package/lib/types/shell/login/SignInModal.d.ts +0 -7
  1332. package/lib/types/shell/login/SignInModal.d.ts.map +0 -1
  1333. package/lib/types/shell/login/SigninScreen.d.ts +0 -9
  1334. package/lib/types/shell/login/SigninScreen.d.ts.map +0 -1
  1335. package/lib/types/shell/login/SignupForm.d.ts +0 -8
  1336. package/lib/types/shell/login/SignupForm.d.ts.map +0 -1
  1337. package/lib/types/shell/login/TerminalLogin.d.ts +0 -2
  1338. package/lib/types/shell/login/TerminalLogin.d.ts.map +0 -1
  1339. package/lib/types/shell/login/UserInfo.d.ts +0 -6
  1340. package/lib/types/shell/login/UserInfo.d.ts.map +0 -1
  1341. package/lib/types/shell/login/UserSessionMenu.d.ts +0 -9
  1342. package/lib/types/shell/login/UserSessionMenu.d.ts.map +0 -1
  1343. package/lib/types/shell/utils.d.ts +0 -2
  1344. package/lib/types/shell/utils.d.ts.map +0 -1
  1345. package/lib/types/widgets/Progress.d.ts +0 -6
  1346. package/lib/types/widgets/Progress.d.ts.map +0 -1
  1347. package/lib/types/widgets/SvgIcon.d.ts +0 -7
  1348. package/lib/types/widgets/SvgIcon.d.ts.map +0 -1
  1349. package/lib/types/widgets/form/Form.d.ts +0 -22
  1350. package/lib/types/widgets/form/Form.d.ts.map +0 -1
  1351. package/lib/types/widgets/form/FormContext.d.ts +0 -20
  1352. package/lib/types/widgets/form/FormContext.d.ts.map +0 -1
  1353. package/lib/types/widgets/form/ManagedObject.d.ts +0 -82
  1354. package/lib/types/widgets/form/ManagedObject.d.ts.map +0 -1
  1355. package/lib/types/widgets/form/fields.d.ts +0 -16
  1356. package/lib/types/widgets/form/fields.d.ts.map +0 -1
  1357. package/lib/types/widgets/form/index.d.ts +0 -7
  1358. package/lib/types/widgets/form/index.d.ts.map +0 -1
  1359. package/lib/types/widgets/form/inputs.d.ts +0 -8
  1360. package/lib/types/widgets/form/inputs.d.ts.map +0 -1
  1361. package/lib/types/widgets/form/schema.d.ts +0 -47
  1362. package/lib/types/widgets/form/schema.d.ts.map +0 -1
  1363. package/lib/types/widgets/index.d.ts +0 -12
  1364. package/lib/types/widgets/index.d.ts.map +0 -1
  1365. package/lib/types/widgets/json-view/JSONCode.d.ts +0 -5
  1366. package/lib/types/widgets/json-view/JSONCode.d.ts.map +0 -1
  1367. package/lib/types/widgets/json-view/JSONDisplay.d.ts +0 -8
  1368. package/lib/types/widgets/json-view/JSONDisplay.d.ts.map +0 -1
  1369. package/lib/types/widgets/json-view/JSONView.d.ts +0 -7
  1370. package/lib/types/widgets/json-view/JSONView.d.ts.map +0 -1
  1371. package/lib/types/widgets/json-view/index.d.ts +0 -5
  1372. package/lib/types/widgets/json-view/index.d.ts.map +0 -1
  1373. package/lib/types/widgets/json-view/types.d.ts +0 -8
  1374. package/lib/types/widgets/json-view/types.d.ts.map +0 -1
  1375. package/lib/types/widgets/markdown/MarkdownRenderer.d.ts +0 -13
  1376. package/lib/types/widgets/markdown/MarkdownRenderer.d.ts.map +0 -1
  1377. package/lib/types/widgets/markdown/index.d.ts +0 -2
  1378. package/lib/types/widgets/markdown/index.d.ts.map +0 -1
  1379. package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts +0 -41
  1380. package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts.map +0 -1
  1381. package/lib/types/widgets/monacoEditor/index.d.ts +0 -3
  1382. package/lib/types/widgets/monacoEditor/index.d.ts.map +0 -1
  1383. package/lib/types/widgets/popover/Popover.d.ts +0 -38
  1384. package/lib/types/widgets/popover/Popover.d.ts.map +0 -1
  1385. package/lib/types/widgets/popover/context.d.ts +0 -8
  1386. package/lib/types/widgets/popover/context.d.ts.map +0 -1
  1387. package/lib/types/widgets/popover/index.d.ts +0 -3
  1388. package/lib/types/widgets/popover/index.d.ts.map +0 -1
  1389. package/lib/types/widgets/popover/slots.d.ts +0 -5
  1390. package/lib/types/widgets/popover/slots.d.ts.map +0 -1
  1391. package/lib/types/widgets/properties/PropertiesView.d.ts +0 -11
  1392. package/lib/types/widgets/properties/PropertiesView.d.ts.map +0 -1
  1393. package/lib/types/widgets/properties/index.d.ts +0 -2
  1394. package/lib/types/widgets/properties/index.d.ts.map +0 -1
  1395. package/lib/types/widgets/schema-editor/ManagedSchema.d.ts +0 -75
  1396. package/lib/types/widgets/schema-editor/ManagedSchema.d.ts.map +0 -1
  1397. package/lib/types/widgets/schema-editor/editor/Editable.d.ts +0 -40
  1398. package/lib/types/widgets/schema-editor/editor/Editable.d.ts.map +0 -1
  1399. package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts +0 -8
  1400. package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts.map +0 -1
  1401. package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts +0 -5
  1402. package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts.map +0 -1
  1403. package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts +0 -4
  1404. package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts.map +0 -1
  1405. package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts +0 -3
  1406. package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts.map +0 -1
  1407. package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts +0 -9
  1408. package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts.map +0 -1
  1409. package/lib/types/widgets/schema-editor/index.d.ts +0 -7
  1410. package/lib/types/widgets/schema-editor/index.d.ts.map +0 -1
  1411. package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts +0 -16
  1412. package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts.map +0 -1
  1413. package/lib/types/widgets/schema-editor/type-signature.d.ts +0 -19
  1414. package/lib/types/widgets/schema-editor/type-signature.d.ts.map +0 -1
  1415. package/lib/types/widgets/upload/DropZone.d.ts +0 -41
  1416. package/lib/types/widgets/upload/DropZone.d.ts.map +0 -1
  1417. package/lib/types/widgets/upload/UploadResultCategory.d.ts +0 -26
  1418. package/lib/types/widgets/upload/UploadResultCategory.d.ts.map +0 -1
  1419. package/lib/types/widgets/upload/UploadSummary.d.ts +0 -38
  1420. package/lib/types/widgets/upload/UploadSummary.d.ts.map +0 -1
  1421. package/lib/types/widgets/upload/index.d.ts +0 -4
  1422. package/lib/types/widgets/upload/index.d.ts.map +0 -1
  1423. package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts +0 -6
  1424. package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts.map +0 -1
  1425. package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts +0 -8
  1426. package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts.map +0 -1
  1427. package/lib/types/widgets/xml-viewer/components/CollapseIcon/index.d.ts +0 -5
  1428. package/lib/types/widgets/xml-viewer/components/CollapseIcon/index.d.ts.map +0 -1
  1429. package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts +0 -9
  1430. package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts.map +0 -1
  1431. package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts +0 -8
  1432. package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts.map +0 -1
  1433. package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts +0 -8
  1434. package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts.map +0 -1
  1435. package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts +0 -2
  1436. package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts.map +0 -1
  1437. package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts +0 -13
  1438. package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts.map +0 -1
  1439. package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts +0 -8
  1440. package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts.map +0 -1
  1441. package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts +0 -3
  1442. package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts.map +0 -1
  1443. package/lib/types/widgets/xml-viewer/components/types.d.ts +0 -104
  1444. package/lib/types/widgets/xml-viewer/components/types.d.ts.map +0 -1
  1445. package/lib/types/widgets/xml-viewer/constants/index.d.ts +0 -27
  1446. package/lib/types/widgets/xml-viewer/constants/index.d.ts.map +0 -1
  1447. package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts +0 -4
  1448. package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts.map +0 -1
  1449. package/lib/types/widgets/xml-viewer/helpers/index.d.ts +0 -13
  1450. package/lib/types/widgets/xml-viewer/helpers/index.d.ts.map +0 -1
  1451. package/lib/types/widgets/xml-viewer/hooks/useCollapsible.d.ts +0 -15
  1452. package/lib/types/widgets/xml-viewer/hooks/useCollapsible.d.ts.map +0 -1
  1453. package/lib/types/widgets/xml-viewer/hooks/useXMLViewer.d.ts +0 -10
  1454. package/lib/types/widgets/xml-viewer/hooks/useXMLViewer.d.ts.map +0 -1
  1455. package/lib/types/widgets/xml-viewer/index.d.ts +0 -3
  1456. package/lib/types/widgets/xml-viewer/index.d.ts.map +0 -1
  1457. package/lib/types/widgets/xml-viewer/types/index.d.ts +0 -16
  1458. package/lib/types/widgets/xml-viewer/types/index.d.ts.map +0 -1
  1459. package/lib/vertesia-ui-core.js +0 -2
  1460. package/lib/vertesia-ui-core.js.map +0 -1
  1461. package/lib/vertesia-ui-env.js +0 -2
  1462. package/lib/vertesia-ui-env.js.map +0 -1
  1463. package/lib/vertesia-ui-features.js +0 -2
  1464. package/lib/vertesia-ui-features.js.map +0 -1
  1465. package/lib/vertesia-ui-layout.js +0 -2
  1466. package/lib/vertesia-ui-layout.js.map +0 -1
  1467. package/lib/vertesia-ui-router.js +0 -2
  1468. package/lib/vertesia-ui-router.js.map +0 -1
  1469. package/lib/vertesia-ui-session.js +0 -2
  1470. package/lib/vertesia-ui-session.js.map +0 -1
  1471. package/lib/vertesia-ui-shell.js +0 -2
  1472. package/lib/vertesia-ui-shell.js.map +0 -1
  1473. package/lib/vertesia-ui-widgets.js +0 -2
  1474. package/lib/vertesia-ui-widgets.js.map +0 -1
  1475. package/src/core/components/Button.tsx +0 -63
  1476. package/src/core/components/Modal.tsx +0 -144
  1477. package/src/core/components/SelectBox.tsx +0 -188
  1478. package/src/core/components/tabs/Tabs.tsx +0 -132
  1479. package/src/core/components/tabs/TabsContext.ts +0 -25
  1480. package/src/core/components/tabs/index.ts +0 -2
  1481. /package/src/core/components/{MessageBox.tsx → shadcn/MessageBox.tsx} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"useXMLViewer.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/xml-viewer/hooks/useXMLViewer.ts"],"names":[],"mappings":"AAcA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,GAAG,EAAE,MAAM;;;;;;;;EAmB/C"}
@@ -1,3 +0,0 @@
1
- export * from './components/XMLViewer';
2
- export * from './components/types.js';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/xml-viewer/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC"}
@@ -1,16 +0,0 @@
1
- import { Theme } from '../components/types';
2
- import { ATTRIBUTE_TEXT } from '../constants';
3
- export interface ElementText {
4
- [ATTRIBUTE_TEXT]: string;
5
- }
6
- export type AttributeValue = string | number | boolean;
7
- export type AttributesObject = Record<string, AttributeValue>;
8
- export type ElementObject = Record<string, AttributesObject | Element[]>;
9
- export type Element = ElementObject | ElementText;
10
- export interface IXmlViewerContext {
11
- collapsible: boolean;
12
- indentSize: number;
13
- theme: Theme;
14
- initialCollapsedDepth?: number;
15
- }
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/widgets/xml-viewer/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,WAAW;IAC1B,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,EAAE,CAAC,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,aAAa,GAAG,WAAW,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC"}
@@ -1,2 +0,0 @@
1
- import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{cva as r}from"class-variance-authority";import a,{clsx as i}from"clsx";import{twMerge as s}from"tailwind-merge";import{ChevronUpIcon as l,ChevronDownIcon as o,Loader2 as c,Check as d,CopyIcon as u,Computer as m,Sun as h,Moon as p,X as f,Search as g,AlertTriangle as v,ChevronsUpDown as x,SearchIcon as b,SquarePlus as y,ChevronRight as w,MoreHorizontal as N,ListFilter as k,Minus as C,TriangleAlert as _,Info as z,CircleX as I,CircleCheck as T,ChevronDown as L,Plus as M,ChevronsUpDownIcon as R}from"lucide-react";import*as O from"react";import S,{createContext as D,useContext as A,useRef as $,useState as E,useEffect as P,useMemo as j,forwardRef as F,Fragment as V,isValidElement as Y,useLayoutEffect as B}from"react";import{createPortal as H}from"react-dom";import{Slot as W}from"@radix-ui/react-slot";import{VTooltip as U,Button as G,useIntersectionObserver as K}from"@vertesia/ui/core";import*as J from"@radix-ui/react-dialog";import*as Z from"@radix-ui/react-separator";import{isEqual as q}from"lodash-es";import*as X from"@radix-ui/react-popover";import{Command as Q}from"cmdk";import*as ee from"@radix-ui/react-tooltip";import*as te from"@radix-ui/react-tabs";import*as ne from"@radix-ui/react-label";import*as re from"@radix-ui/react-checkbox";import ae from"dayjs";import ie from"react-calendar";import{Transition as se,Menu as le,MenuButton as oe,MenuItems as ce,MenuItem as de,Listbox as ue,ListboxButton as me,ListboxOptions as he,ListboxOption as pe,Dialog as fe,TransitionChild as ge,DialogPanel as ve,DialogTitle as xe,RadioGroup as be,Switch as ye}from"@headlessui/react";import{motion as we,AnimatePresence as Ne}from"framer-motion";import*as ke from"react-resizable-panels";function Ce(e){switch(e){case"xs":return"size-4";case"sm":return"size-6";case"md":return"size-8";case"lg":return"size-10";case"xl":return"size-12";case"2xl":return"size-14";default:throw new Error("Unexpected size: "+e)}}function _e({size:t,src:n,name:r,shape:a="circle",color:i="bg-gray-500",className:s}){const l="circle"===a?"rounded-full":"rounded-md",o=Ce(t||"md");if(n)return e("img",{className:`inline-block ${o} ${l} ${i} ${s}`,src:n,alt:r||n,title:r});if(r){const[n,a]=r.split(" ");let c=a?`${n[0]}${a[0]}`:`${n[0]}${n[1]}`;return e("span",{className:`inline-flex ${o} items-center justify-center ${l} ${i} ${s}`,title:r,children:e("span",{className:("xs"!=t?"text-xs":"text-[0.6rem]")+" font-medium leading-none text-white",children:c})})}return e("span",{className:`inline-block ${o} overflow-hidden ${l} ${i}`,children:e("svg",{className:"h-full w-full text-gray-300",fill:"currentColor",viewBox:"0 0 24 24",children:e("path",{d:"M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z"})})})}function ze({size:t,shape:n="circle",color:r="bg-gray-500",className:a,children:i}){const s="circle"===n?"rounded-full":"rounded-md",l=Ce(t||"md");return e("span",{className:`inline-block ${l} overflow-hidden ${s} ${r} ${a}`,children:i})}function Ie(...e){return s(i(e))}const Te=r("inline-flex items-center rounded-md px-2 py-1 text-xs font-medium",{variants:{variant:{default:"text-foreground bg-muted",secondary:"bg-secondary text-primary",destructive:"bg-destructive text-destructive",attention:"bg-attention text-attention",success:"bg-success text-success",info:"bg-info text-info",done:"bg-done text-done"}},defaultVariants:{variant:"default"}});function Le({className:t,variant:n,children:r,onClick:a,...i}){return e("span",{className:Ie(Te({variant:n}),t),onClick:a,...i,children:r})}const Me=r("inline-flex items-center gap-x-1.5 rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset ring-border",{variants:{variant:{default:"",success:"",destructive:"",attention:"",done:"",info:""}},defaultVariants:{variant:"default"}}),Re=r("h-1.5 w-1.5",{variants:{variant:{default:"fill-foreground",success:"fill-success",destructive:"fill-destructive",attention:"fill-attention",done:"fill-done",info:"fill-info"}},defaultVariants:{variant:"default"}});function Oe({variant:n,className:r,dotClassName:a,children:i,...s}){return t("span",{className:Ie(Me({variant:n}),r),...s,children:[e("div",{className:"flex-shrink-0",children:e("svg",{className:Ie(Re({variant:n}),a),viewBox:"0 0 6 6","aria-hidden":"true",children:e("circle",{cx:3,cy:3,r:3})})}),e("span",{className:"truncate",children:i})]})}function Se({className:t,children:n}){return e("div",{className:a("flex items-center justify-center",t),children:n})}class De{left;top;width;height;alignAxis;gap;constructor(e=0){this.gap=e}position(e,t,n){switch(e){case"top":this.top=t.top-n.height-this.gap,this.alignAxis="x";break;case"bottom":this.top=t.bottom+this.gap,this.alignAxis="x";break;case"left":this.left=t.left-n.width-this.gap,this.alignAxis="y";break;case"right":this.left=t.right+this.gap,this.alignAxis="y";break;case"ne":this.top=t.top-n.height-this.gap,this.left=t.right+this.gap;break;case"nw":this.top=t.top-n.height-this.gap,this.left=t.left-n.width-this.gap;break;case"se":this.top=t.bottom+this.gap,this.left=t.right+this.gap;break;case"sw":this.top=t.bottom+this.gap,this.left=t.left-n.width-this.gap}}align(e,t,n){if(this.alignAxis)switch(e){case"start":"x"===this.alignAxis?this.left=t.left:this.top=t.top;break;case"end":"x"===this.alignAxis?this.left=t.right-n.width:this.top=t.bottom-n.height;break;case"center":"x"===this.alignAxis?this.left=t.left+t.width/2-n.width/2:this.top=t.top+t.height/2-n.height/2;break;case"fill":"x"===this.alignAxis?(this.left=t.left,this.width=t.right-t.left):(this.top=t.top,this.height=t.bottom-t.top)}}computePosition(e,t,n){if(this.position(e.position,n,t),e.align&&this.align(e.align,n,t),!this.left&&!this.top)throw new Error("Invalid position. Cannot compute x,y coordinates");const r=null!=this.width,a=null!=this.height,i=r?this.width:t.width,s=a?this.height:t.height;return{rect:new DOMRect(this.left,this.top,i,s),constrainWidth:r,constrainHeight:a,position:e.position,align:e.align}}flipAxis(e,t){if(this.alignAxis===t){if(e.align){const t=function(e){switch(e){case"start":return"end";case"end":return"start";default:return e}}(e.align);if(t!==e.align)return{...e,align:t}}}else{const t=function(e){switch(e){case"top":return"bottom";case"bottom":return"top";case"left":return"right";case"right":return"left";case"ne":return"sw";case"nw":return"se";case"se":return"nw";case"sw":return"ne";default:return e}}(e.position);if(t!==e.position)return{...e,position:t}}return null}}function Ae(e,t,n){return"x"===n?e.left>=t.left&&e.right<=t.right:e.top>=t.top&&e.bottom<=t.bottom}function $e(e,t,n,r){const a=new De(e.gap);let i=a.computePosition(e,t,n);const s=Ae(i.rect,r,"x"),l=Ae(i.rect,r,"y");if(s&&l)return i;let o=null;return s||(o=a.flipAxis(e,"x")),l||(o=a.flipAxis(o||e,"y")),o?(i=new De(a.gap).computePosition(o,t,n),function(e,t){return e.left>=t.left&&e.right<=t.right&&e.top>=t.top&&e.bottom<=t.bottom}(i.rect,r)?i:null):null}function Ee(e,t){const n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),a=Math.min(e.right,t.right),i=Math.min(e.bottom,t.bottom);return a<=n||i<=r?null:new DOMRect(n,r,a-n,i-r)}function Pe(e){const t=e.scrollHeight>e.clientHeight,n=e.scrollWidth>e.clientWidth;if(t||n){const r=getComputedStyle(e);if(t&&"visible"!==r.overflowY||n&&"visible"!==r.overflowX)return!0}return!1}class je{options;root;scrollableParents;visibleClientRect;context;constructor(e){this.options=e,this.root=e.root||document.documentElement,this.scrollableParents=function(e,t=document.documentElement){const n=[];let r=e.parentElement;for(;r&&r!==t;)Pe(r)&&n.push(r),r=r.parentElement;return n.push(t),n}(this.anchor,this.root),this.visibleClientRect=function(e){if(0===e.length)return null;let t=e[0].getBoundingClientRect();for(let n=1,r=e.length;n<r;n++)if(t=Ee(e[n].getBoundingClientRect(),t),!t)return null;return t}(this.scrollableParents)}get anchor(){return this.options.anchor}registerListeners(e){const t=this.scrollableParents,n=()=>{this.update()};window.addEventListener("resize",n);for(const e of t)e.addEventListener("scroll",n);let r,a;this.options.closeOnClick&&(r=t=>{e.contains(t.target)||this.tryClose()},window.setTimeout(function(){r&&document.addEventListener("click",r)},0)),this.options.closeOnEsc&&(a=e=>{"Escape"===e.key&&this.tryClose()},window.setTimeout(function(){a&&document.addEventListener("keydown",a)},0));const i=this.options.blockPageScroll;return i&&(document.body.style.overflow="hidden",document.body.style.height="100%"),()=>{window.removeEventListener("resize",n);for(const e of t)e.removeEventListener("scroll",n);r&&document.removeEventListener("click",r),a&&document.removeEventListener("keydown",a),i&&(document.body.style.overflow="",document.body.style.height="")}}open(e,t){if(this.context)throw new Error("The popup controller is already bound to an element");this.tryOpen(e,t)}tryOpen(e,t){this.context||(this.context={element:e,constraints:t,cleanup:this.registerListeners(e)},e.style.display="",e.style.visibility="hidden",this.update(),this.options.onOpen&&this.options.onOpen(this))}close(){if(!this.context)throw new Error("The popup controller is not bound to an element");this.tryClose()}tryClose(){this.context&&(this.options.onClose&&this.options.onClose(this),this.context.cleanup(),this.context.element.style.display="none",this.context=void 0)}get isOpen(){return!!this.context}update(){if(!this.context)return;const e=this.context.element,t=this.context.constraints,n=e.getBoundingClientRect(),r=this.anchor.getBoundingClientRect(),a=this.visibleClientRect;if(!a)return;const i=$e(t,n,r,a);this.context.position=i||void 0,i&&(i.constrainHeight&&(e.style.height=i.rect.height+"px"),i.constrainWidth&&(e.style.width=i.rect.width+"px"),e.style.left=i.rect.left+"px",e.style.top=i.rect.top+"px",e.style.visibility="visible")}createPopupElement(){const e=document.createElement("div");return e.style.margin="0",e.style.padding="0",e.style.border="none",e.style.background="transparent",e.className="composable-Popup",e}}const Fe=D(void 0);function Ve(){const e=A(Fe);if(!e)throw new Error("usePopupController must be used inside a Popup component");return e}function Ye({ctrlRef:t,id:n,constraints:r,isOpen:a,children:i,className:s,onClose:l,zIndex:o,position:c,...d}){const u=$(null),[m,h]=E();return P(()=>{if(!d.anchor)throw new Error("Anchor element is required");const e=new je({...d,onClose:l});return h(e),()=>{e.tryClose()}},[]),P(()=>{t&&(t.current=m)},[m]),P(()=>{m&&u.current?m.isOpen!==a&&(a?m.open(u.current,r):m.close()):m?.isOpen&&!a&&m.close()},[a,m,u.current]),e(Fe.Provider,{value:m,children:a&&H(e("div",{id:n,style:{visibility:"hidden",position:c||"absolute",zIndex:o||100},ref:u,className:s,children:i}),document.body)})}function Be({anchor:t,root:n,children:r,...a}){return!t.current||n&&!n.current?null:e(Ye,{anchor:t.current,root:n?.current||void 0,...a,children:r})}class He{filter(e,t){const n=t.toLowerCase();return e.filter(e=>this.valueOf(e).toLowerCase().includes(n))}renderOption(e){return this.valueOf(e)}findById(e,t){return e.find(e=>this.idOf(e)===t)}createItem(e){return null}}class We extends He{valueOf(e){return String(e)}idOf(e){return String(e)}static instance=new We}class Ue extends We{createItem(e){return e}static instance=new Ue}function Ge(e,t){return{buttonRight:4,buttonWidth:24,maxMenuHeight:240,menuClass:"w-72 bg-white mt-1 shadow-md border border-gray-200 overflow-auto p-0 z-10",inputClass:a(t?"block m-0 p-0 border-0 focus:outline-none focus:ring-0 bg-transparent":"block sm:text-sm sm:leading-6 rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-slate-600 dark:text-slate-50 dark:bg-slate-800 placeholder:text-gray-400 dark:placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 dark:focus:ring-indigo-800 py-1.5",e?"w-full":"!w-auto"),optionClass:"py-2 px-3 shadow-sm flex flex-col [&.option-selected]:font-semibold [&.option-highlighted]:bg-blue-300",Input:Je,Menu:qe,Toggle:Ze}}function Ke({menuAlign:r="fill",menuGap:a,focusOnMount:i,onSelect:s,value:l,zIndex:o,unstyledInput:c,fullWidth:d,api:u,layout:m,adapter:h,items:p,placeholder:f}){const[g]=E(`combobox-popup-${Math.floor(1e6*Math.random())}`),v=$(void 0),x=$(null),b=m?Object.assign(Ge(d,c),m):Ge(d,c),y=S.useRef(null),w=Xe({adapter:h,items:p,value:l,popupId:g});P(()=>{x.current&&i&&x.current.focus()},[x.current]),P(()=>{w.onSelect=s,w.popupCtrl=v.current},[s,v.current]),P(()=>{if(u&&w&&x.current)return u.current={open:()=>w.openMenu(),close:()=>w.closeMenu(),toggle:()=>w.toggleMenu(),setInputValue:e=>w.inputText=e,inputValue:w.inputText||"",selectedItem:w.selectedItem,focus:()=>x.current?.focus()},()=>{u.current=null}},[u,w,x.current]);const N=w.isMenuOpen&&w.filteredItems.length>0;return t(n,{children:[e(b.Input,{boxRef:y,inputRef:x,ctrl:w,layout:b,placeholder:f}),e(Be,{id:g,ctrlRef:v,className:"combobox-popup",closeOnClick:!0,closeOnEsc:!0,onClose:()=>w.closeMenu(),isOpen:N,anchor:y,zIndex:o,constraints:{position:"bottom",align:r,gap:null!=a?a:4},children:e(b.Menu,{fillWidth:"fill"===r,items:w.filteredItems,ctrl:w,layout:b,adapter:h})})]})}function Je({inputRef:n,placeholder:r,boxRef:a,ctrl:i,layout:s}){const l=s.buttonWidth,o=l>0?{paddingRight:`${l}px`}:void 0,c=s.Toggle;return t("div",{className:"relative",ref:a,children:[e("input",{ref:n,placeholder:r,...i.getInputProps(),style:o,className:s.inputClass}),c&&e("button",{style:{top:0,bottom:0,right:`${s.buttonRight}px`,width:`${l}px`,position:"absolute",border:"none",padding:0,margin:0,backgroundColor:"transparent",display:"flex",alignItems:"center",justifyContent:"center"},...i.getToggleButtonProps(),children:e(c,{ctrl:i,layout:s})})]})}function Ze({ctrl:t}){return t.isMenuOpen?e(l,{className:"w-4 h-4"}):e(o,{className:"w-4 h-4"})}function qe({fillWidth:t,items:n,layout:r,ctrl:i,adapter:s}){const{highlightedIndex:l,selectedItem:o}=i;return e("ul",{style:{width:t?"100%":void 0,maxHeight:r.maxMenuHeight?`${r.maxMenuHeight}px`:"240px"},className:r.menuClass,...i.getMenuProps(),children:n.map((t,n)=>e("li",{"data-index":n,className:a(r.optionClass,l===n&&"option-highlighted",o===t&&"option-selected"),...i.getItemProps(t,n),children:s.renderOption(t)},s.idOf(t)))})}function Xe(e){const[t,n]=E(new Qe(e));return P(()=>{t?.withState(n)},[]),t}class Qe{popupId;items;adapter;onSelect;setState;_selectedItem=null;_filteredItems;_inputText="";_highlightedIndex=null;_isMenuOpen=!1;popupCtrl;constructor({adapter:e,items:t,value:n,popupId:r}){this.adapter=e,this.items=t,this.popupId=r,"string"==typeof n?this._inputText=n:n&&(this._selectedItem=e.findById(t,e.idOf(n))||null,this._selectedItem&&(this._inputText=e.valueOf(n))),this._inputText?this._filteredItems=this.adapter.filter(this.items,this._inputText):this._filteredItems=this.items}withState(e){return this.setState=e,this}clone(){const e=new Qe({adapter:this.adapter,items:this.items,popupId:this.popupId});return e.setState=this.setState,e.onSelect=this.onSelect,e._inputText=this._inputText,e._highlightedIndex=this._highlightedIndex,e._selectedItem=this._selectedItem,e._isMenuOpen=this._isMenuOpen,e._filteredItems=this._filteredItems,e.popupCtrl=this.popupCtrl,e}updateState(){this.setState?.(this.clone())}get filteredItems(){return this._inputText?this.adapter.filter(this.items,this._inputText):this.items}get selectedItem(){return this._selectedItem}set selectedItem(e){this._selectedItem=e,this._inputText=e?this.adapter.valueOf(e):"",this._filteredItems=this._inputText?this.adapter.filter(this.items,this._inputText):this.items,this.updateState(),this.onSelect?.(e)}get isMenuOpen(){return this._isMenuOpen}set inputText(e){if(this._inputText=e,this._filteredItems=e?this.adapter.filter(this.items,e):this.items,this._highlightedIndex=null,this._selectedItem=null,this.updateState(),this.isMenuOpen&&this.popupCtrl){const e=this.popupCtrl,t=e.context?.position?.position;t&&"top"===t&&window.setTimeout(()=>{e.update()},100)}}get inputText(){return this._inputText}set highlightedIndex(e){this._highlightedIndex=e,this.updateState()}get highlightedIndex(){return this._highlightedIndex}openMenu(){this._filteredItems.length>0&&(this._isMenuOpen=!0,this.updateState())}closeMenu(e){this._isMenuOpen&&(this._highlightedIndex=null,this._isMenuOpen=!1,this.updateState())}toggleMenu(){this._isMenuOpen?this.closeMenu():this.openMenu()}highlightIndex(e,t=!1){this.highlightedIndex=e;const n=document.getElementById(this.popupId);n&&n.querySelector(`li[data-index="${e}"]`)?.scrollIntoView(t)}getMenuProps(){return{}}getToggleButtonProps(){return{onClick:()=>{this._isMenuOpen=!this._isMenuOpen,this.updateState()}}}getItemProps(e,t){return{"aria-selected":this._highlightedIndex===t,onClick:()=>{this.selectedItem=e,this.closeMenu()},onMouseEnter:()=>{this.highlightedIndex!==t&&(this.highlightedIndex=t)},onMouseLeave:()=>{this.highlightedIndex===t&&(this.highlightedIndex=null)}}}getInputProps(){const e=this._filteredItems;return{onClick:()=>{this.openMenu()},onChange:e=>{const t=e.target.value;this.inputText=t,this.openMenu()},value:this.inputText,onKeyDown:t=>{const n=t.key;if("Enter"===n){if(null!=this.highlightedIndex)this.selectedItem=e[this.highlightedIndex||0];else if(this.inputText){const e=this.adapter.createItem(this.inputText);e&&(this.items.push(e),this.selectedItem=e)}this.closeMenu()}else"ArrowDown"===n?this.isMenuOpen?this.highlightIndex(null===this.highlightedIndex?0:(r=this.highlightedIndex,a=e.length,(r+1)%a),!1):this.openMenu():"ArrowUp"===n&&this.isMenuOpen&&this.highlightIndex(null===this.highlightedIndex?0:function(e,t){return(e-1+t)%t}(this.highlightedIndex,e.length),!0);var r,a}}}}const et=r("hover:cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{destructive:"bg-destructive dark:bg-destructive/10 text-destructive ring-1 ring-inset ring-destructive-muted/50 dark:ring-destructive-muted/50 shadow-xs hover:bg-destructive/50",outline:"border border-input bg-background shadow-xs hover:bg-muted ring-inset",secondary:"bg-primary/5 dark:bg-primary/10 text-primary shadow-xs hover:bg-primary/10 dark:hover:bg-primary/20 ring-inset",ghost:"hover:bg-muted/50 dark:hover:bg-muted/20 ring-inset",link:"text-foreground underline-offset-4 hover:underline ring-inset",primary:"bg-primary text-white shadow-xs hover:bg-primary/90 ring-inset",unstyled:""},size:{xs:"h-7 rounded px-2 py-1 text-xs gap-x-1",sm:"h-8 rounded px-3 text-xs",md:"h-9 rounded-md px-4 py-2",lg:"h-10 rounded-md px-3",xl:"rounded-md px-3.5 py-2.5 text-sm gap-x-2",icon:"p-0 m-0 rounded-full"}},defaultVariants:{variant:"primary",size:"md"}}),tt=O.forwardRef(({className:n,variant:r,size:i,asChild:s=!1,alt:l,isDisabled:o,isLoading:d,title:u,onClick:m,type:h,...p},f)=>{const g=t(s?W:"button",{className:a(Ie(et({variant:r,size:i})),n),disabled:o||d||p.disabled,ref:f,onClick:m,type:h,autoFocus:!1,...p,children:[d&&e(c,{className:"animate-spin"}),p.children]});return l||u?e(U,{description:l||u,asChild:!0,className:"cursor-pointer",size:"xs",placement:"top",children:g}):g});tt.displayName="Button";const nt=O.forwardRef(({size:t,content:n,toast:r,className:a,alt:i,...s},l)=>{const[o,c]=E(!1);return e(tt,{ref:l,className:Ie(a),variant:"unstyled",size:t||"sm",onClick:e=>{e.stopPropagation(),navigator.clipboard.writeText(n).then(()=>{c(!0),setTimeout(()=>c(!1),2e3),r&&r.toast&&r.toast({status:"success",title:r.message||"Copied to clipboard",duration:2e3})}).catch(e=>{console.error("Failed to copy text: ",e),r&&r.toast&&r.toast({status:"error",title:"Failed to copy",duration:2e3})})},...s,alt:i??"Copy",children:o?e(d,{className:"text-success"}):e(u,{className:"size-4"})})});nt.displayName="CopyButton";const rt=D({theme:"system",setTheme:()=>null});function at({children:t,defaultTheme:n="system",storageKey:r="vite-ui-theme",...a}){const[i,s]=E(()=>localStorage.getItem(r)||n);P(()=>{const e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===i){const t=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return void e.classList.add(t)}e.classList.add(i)},[i]);const l={theme:i,setTheme:e=>{localStorage.setItem(r,e),s(e)}};return e(rt.Provider,{...a,value:l,children:t})}const it=()=>{const e=A(rt);if(void 0===e)throw new Error("useTheme must be used within a ThemeProvider");return e};function st({option:t,current:n,setTheme:r,icon:a}){return e(tt,{variant:n===t?"secondary":"outline",size:"sm",onClick:()=>r(t),alt:t,children:a})}function lt(){const{setTheme:n}=it(),r=it().theme;return t("div",{className:"flex justify-between px-2 items-center",children:[e("p",{className:"text-sm font-semibold",children:"Theme"}),t("div",{className:"flex gap-2",children:[e(st,{current:r,option:"system",setTheme:n,icon:e(m,{className:"text-muted"})}),e(st,{current:r,option:"light",setTheme:n,icon:e(h,{className:"text-muted"})}),e(st,{current:r,option:"dark",setTheme:n,icon:e(p,{className:"text-muted"})})]})]})}const ot=O.forwardRef(({className:t,...n},r)=>e("div",{ref:r,className:Ie("rounded-xl border bg-card text-card-foreground shadow",t),...n}));ot.displayName="Card";const ct=O.forwardRef(({className:t,...n},r)=>e("div",{ref:r,className:Ie("flex flex-col p-6",t),...n}));ct.displayName="CardHeader";const dt=O.forwardRef(({className:t,...n},r)=>e("div",{ref:r,className:Ie("font-semibold leading-none tracking-tight",t),...n}));dt.displayName="CardTitle";const ut=O.forwardRef(({className:t,...n},r)=>e("div",{ref:r,className:Ie("text-sm text-muted-foreground",t),...n}));ut.displayName="CardDescription";const mt=O.forwardRef(({className:t,...n},r)=>e("div",{ref:r,className:Ie("p-6 pt-0",t),...n}));mt.displayName="CardContent";const ht=O.forwardRef(({className:t,...n},r)=>e("div",{ref:r,className:Ie("flex items-center p-6 pt-0",t),...n}));function pt({children:t}){return e("span",{style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},children:t})}ht.displayName="CardFooter";const ft=S.createContext(void 0);function gt({children:t,id:n="plugin-portal-container"}){const r=S.useRef(null),[a,i]=S.useState(void 0);return S.useEffect(()=>{if(r.current){const e=r.current.getRootNode();if(e instanceof ShadowRoot||e instanceof Document){const t=function(e,t="plugin-portal-container"){for(const n of Array.from(e.children))if(n instanceof HTMLElement&&n.id===t)return n;const n=document.createElement("div");return n.id=t,e.appendChild(n),n}(e,n);i(t)}else i(null)}},[n]),void 0===a?e("div",{ref:r,style:{display:"none"}}):e(ft.Provider,{value:a||void 0,children:t})}function vt(){return S.useContext(ft)}const xt=D(!1);function bt(){return!!A(xt)}function yt({children:t}){return e(xt.Provider,{value:!0,children:t})}function wt({className:r,children:a,isOpen:i,onClose:s,description:l="Modal Description",noCloseButton:o=!1,allowOverflow:c=!1,disableCloseOnClickOutside:d=!1,size:u="md",action:m}){const h=e=>{e||s()};return t(_t,{open:i,onOpenChange:e=>{d&&!e||h(e)},children:[c&&e(Lt,{className:"z-50 fixed inset-0 bg-black/80"}),e(pt,{children:e(Rt,{children:l})}),t(Mt,{className:Ie("min-h-20 p-4","fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] border bg-background shadow-lg duration-200 sm:rounded-lg",function(){switch(u){case"sm":return"max-w-[20vw]";case"md":default:return"max-w-[40vw]";case"lg":return"max-w-[60vw]";case"xl":return"max-w-[80vw]"}}(),r),children:[e("div",{className:"top-4 right-4 absolute",children:t("div",{className:"flex gap-2",children:[m&&e(n,{children:m}),!o&&e(Tt,{onClick:()=>h(!1),asChild:!0,autoFocus:!1,children:e(tt,{variant:"outline",alt:"Close",className:"data-[state=open]:bg-accent opacity-70 hover:opacity-100 rounded-sm focus:outline-none focus:ring-2 focus:ring-ring ring-offset-background focus:ring-offset-2 data-[state=open]:text-muted-foreground transition-opacity disabled:pointer-events-none",children:e(f,{className:"size-4"})})})]})}),e(yt,{children:a})]})]})}const Nt=({children:r,show:a=!0,className:i,description:s,...l})=>a?e(n,{children:t(Ot,{className:Ie("text-lg font-semibold leading-6 tracking-tight",{"py-2":!s},i),...l,children:[r,s&&e(Rt,{className:"text-sm !font-normal text-muted-foreground pb-2",children:s})]})}):t(pt,{children:[e(Ot,{children:r}),s&&e(Rt,{children:s})]}),kt=({children:t,className:n,...r})=>e("div",{className:Ie("text-sm max-h-[80vh] overflow-y-auto",n),...r,children:t}),Ct=({align:t="right",children:n,className:r,...a})=>e("div",{className:Ie("w-full flex py-3 sm:py-2 sm:flex sm:flex-row-reverse sm:flex-row sm:justify-end sm:space-x-2",{left:"justify-start",center:"justify-center",right:"justify-end"}[t],r),...a,children:n}),_t=J.Root,zt=J.Trigger,It=J.Portal,Tt=J.Close,Lt=O.forwardRef(({className:t,...n},r)=>e(J.Overlay,{ref:r,className:Ie("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...n}));Lt.displayName=J.Overlay.displayName;const Mt=O.forwardRef(({className:n,children:r,...a},i)=>{const s=vt();return t(It,{container:s,children:[e(Lt,{}),e(J.Content,{ref:i,autoFocus:!1,onOpenAutoFocus:e=>{e.preventDefault()},className:Ie("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] border bg-background shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n),...a,children:r})]})});Mt.displayName=J.Content.displayName;const Rt=O.forwardRef(({className:t,...n},r)=>e(J.Description,{ref:r,className:Ie("text-sm text-muted",t),...n}));Rt.displayName=J.Description.displayName;const Ot=O.forwardRef(({className:t,...n},r)=>e(J.Title,{ref:r,className:Ie("text-lg font-semibold leading-none tracking-tight",t),...n}));Ot.displayName=J.Title.displayName;const St=r("",{variants:{size:{xs:"rounded py-1 text-xs rounded-xs",sm:"rounded text-xs rounded-sm",md:"rounded-md py-2 text-sm",lg:"rounded-md text-base",xl:"rounded-md py-2.5 text-lg"},variant:{default:"flex w-full rounded-md border border-input bg-background ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 ring-inset focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",unstyled:"block m-0 p-0 w-full border-0 focus:outline-hidden focus:ring-0 bg-transparent",noPadding:"block rounded-md border-0 bg-background shadow-2xs ring-1 ring-inset ring-ring placeholder:text-muted-foreground focus:ring-2 focus:ring-inset focus:ring-ring ring-offset-background",legacy:"py-1.5 block rounded-md border-0 bg-background shadow-2xs ring-1 ring-inset ring-ring placeholder:text-muted-foreground focus:ring-2 focus:ring-inset focus:ring-ring ring-offset-background"}},defaultVariants:{size:"md",variant:"default"}}),Dt=O.forwardRef(({className:n,type:r,size:a="md",variant:i="default",clearable:s=!0,onChange:l,value:o,...c},d)=>t("div",{className:"w-full relative inline-block [&:hover_.clear-button]:opacity-100",children:[e("input",{type:r,className:Ie(St({size:a,variant:i}),n,s&&o?"pr-8":""),ref:d,value:null==o?"":o,onChange:e=>{l&&l(e.target.value)},...c}),s&&o&&!c.readOnly&&!c.disabled&&e(G,{variant:"link",size:"icon",type:"button",onClick:()=>{l&&l("")},className:"clear-button opacity-0 transition-opacity duration-200\n absolute top-1/2 -translate-y-1/2 text-muted !hover:text-destructive cursor-pointer\n flex items-center justify-center size-6 rounded right-2",alt:"Clear input",children:e(f,{size:16})})]}));Dt.displayName="Input";const At=O.forwardRef(({className:t,orientation:n="horizontal",decorative:r=!0,...a},i)=>e(Z.Root,{ref:i,decorative:r,orientation:n,className:Ie("shrink-0 bg-border","horizontal"===n?"h-[1px] w-full":"h-full w-[1px]",t),...a}));At.displayName=Z.Root.displayName;const $t=O.createContext(null),Et=({hover:t=!1,click:n=!1,children:r,_open:a,onOpenChange:i})=>{const[s,l]=O.useState(a||!1),o=bt();return e($t.Provider,{value:{open:s,setOpen:l,hover:t,click:n},children:e(X.Root,{open:s,onOpenChange:e=>{l(e),i&&i(e)},modal:o,children:r})})};function Pt(e=!1,t=()=>{},n){e&&t("enter"===n)}const jt=O.forwardRef(({children:t,...n},r)=>{const a=O.useContext($t);if(!a)throw new Error("PopoverTrigger must be used within a Popover");const{setOpen:i,hover:s,click:l}=a;return e(X.Trigger,{ref:r,asChild:!0,onMouseEnter:()=>Pt(s,i,"enter"),onMouseLeave:()=>Pt(s,i,"leave"),onClick:()=>{l&&i(e=>!e)},...n,children:t})});jt.displayName=X.Trigger.displayName;const Ft=X.Anchor,Vt=O.forwardRef(({className:t,align:n="center",side:r="bottom",...a},i)=>{const s=O.useContext($t);if(!s)throw new Error("PopoverContent must be used within a Popover");const{setOpen:l,hover:o}=s,c=vt();return e(X.Portal,{container:c,children:e(X.Content,{ref:i,align:n,side:r,onMouseEnter:()=>Pt(o,l,"enter"),onMouseLeave:()=>Pt(o,l,"leave"),className:Ie("z-50 w-72 rounded-md border-popover bg-popover text-popover-foreground ring-1 ring-gray-200 dark:ring-slate-700 shadow-md focus:outline-none animate-in","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...a})})});Vt.displayName=X.Content.displayName;const Yt=X.Close;Yt.displayName=X.Close.displayName;const Bt=O.forwardRef(({className:t,...n},r)=>e(Q,{ref:r,className:Ie("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",t),...n}));Bt.displayName=Q.displayName;const Ht=({children:t,...n})=>e(_t,{...n,children:e(Mt,{className:"shadow-lg p-0 overflow-hidden",children:e(Bt,{className:"[&_[cmdk-group]]:px-2 [&_[cmdk-item]]:px-2 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-item]_svg]:w-5 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",children:t})})}),Wt=O.forwardRef(({className:n,...r},a)=>t("div",{className:"flex items-center px-3 border-b","cmdk-input-wrapper":"",children:[e(g,{className:"opacity-50 size-4 shrink-0"}),e(Q.Input,{ref:a,className:Ie("focus:ring-0","border-0 flex h-8 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",n),...r})]}));Wt.displayName=Q.Input.displayName;const Ut=O.forwardRef(({className:t,...n},r)=>e(Q.List,{ref:r,className:Ie("overflow-y-auto overflow-x-hidden",t),...n}));Ut.displayName=Q.List.displayName;const Gt=O.forwardRef((t,n)=>e(Q.Empty,{ref:n,className:"py-2 text-sm text-center",...t}));Gt.displayName=Q.Empty.displayName;const Kt=O.forwardRef(({className:t,...n},r)=>e(Q.Group,{ref:r,className:Ie("overflow-y-auto overflow-x-hidden p-1 text-foreground","[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",t),...n}));Kt.displayName=Q.Group.displayName;const Jt=O.forwardRef(({className:t,...n},r)=>e(Q.Separator,{ref:r,className:Ie("-mx-1 h-px bg-border",t),...n}));Jt.displayName=Q.Separator.displayName;const Zt=O.forwardRef(({className:t,...n},r)=>e(Q.Item,{ref:r,className:Ie("hover:bg-muted cursor-pointer relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t),...n}));Zt.displayName=Q.Item.displayName;const qt=({className:t,...n})=>e("span",{className:Ie("ml-auto text-xs tracking-widest text-muted-foreground",t),...n});qt.displayName="CommandShortcut";const Xt=ee.Provider,Qt=ee.Root,en=ee.Trigger,tn=O.forwardRef(({className:t,sideOffset:n=4,side:r="top",...a},i)=>{const s=vt();return e(ee.Portal,{container:s,children:e(ee.Content,{ref:i,sideOffset:n,side:r,style:{zIndex:100},className:Ie("max-w-[90vw]","z-50 overflow-hidden rounded-md bg-tooltips border px-3 py-1.5 text-xs animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...a})})});function nn({description:n,children:r,size:a="sm",placement:i="top",className:s,asChild:l}){return e(Xt,{delayDuration:0,children:t(Qt,{children:[e(en,{className:"cursor-pointer",asChild:l,children:r}),e(tn,{side:i,className:`px-3 py-1.5 max-w-${a} text-${a} px-3 ${s}`,children:n})]})})}function rn({options:r,optionLabel:i,value:s,onChange:l,addNew:o,addNewLabel:c,disabled:u,filterBy:m,label:h,placeholder:p,className:g,popupClass:w,isClearable:N,border:k=!0,multiple:C=!1,by:_,inline:z=!1,warnOnMissingValue:I=!0,missingValueWarning:T="Value not in options list, may not be valid"}){const L=$(null),[M,R]=E(!1),[O,S]=E(0),[D,A]=E(""),F=j(()=>!(!I||C||null==s||!r)&&!r.some(e=>"string"==typeof _?e[_]===s[_]:"function"==typeof _?_(e,s):q(e,s)),[I,C,s,r,_]);P(()=>{const e=L.current;if(!e)return;const t=()=>{const t=e.getBoundingClientRect().width;S(t)},n=new ResizeObserver(()=>{t()});return t(),n.observe(e),()=>{n.disconnect()}},[]);const V=(e,t)=>!(!t||0===t.length)&&t.some(t=>Y(t,e)),Y=(e,t)=>null==e||null==t?e===t:"string"==typeof _?e[_]===t[_]:"function"==typeof _?_(e,t):q(e,t);let B=r||[];const H=D.toLowerCase(),W=function(e){return e?"string"==typeof e?t=>String(t[e]).toLowerCase():e:e=>String(e).toLowerCase()}(m);B=B.filter(e=>W(e).includes(H));const U=()=>t(n,{children:[m&&t("div",{className:"flex justify-start items-center mb-1",children:[e("div",{className:"mx-2",children:e(b,{className:"size-4"})}),e(Dt,{variant:"unstyled",value:D,onChange:A,className:"w-full p-1 rounded-md",placeholder:"Search..."})]}),e(Bt,{className:"overflow-hidden",children:t(Ut,{className:z?"max-h-full overflow-y-auto":"max-h-[200px] overflow-y-auto",children:[e(Gt,{children:"No result found."}),e(Kt,{children:B?.map((n,r)=>{const a=C?V(n,Array.isArray(s)?s:[]):null!=s&&Y(s,n);return e(Zt,{onSelect:()=>(e=>{if(C){const t=Array.isArray(s)?s:[];if(V(e,t)){const n=t.filter(t=>!Y(t,e));l(n)}else l([...t,e])}else R(!1),l(e)})(n),className:"w-full",children:C||z?t("div",{className:"w-full flex justify-between items-center cursor-pointer",children:[e("div",{className:"w-full truncate text-left",children:i?i(n):n}),a&&e(d,{className:"size-4"})]}):t(Yt,{className:"w-full flex justify-between items-center",children:[e("div",{className:"w-full truncate text-left",children:i?i(n):n}),a&&e(d,{className:"size-4"})]})},r)})})]})}),o&&e("div",{className:"p-1",children:t("a",{onClick:o,className:a("gap-x-2 px-2 py-1.5 truncate group flex rounded-md items-center text-sm cursor-pointer hover:bg-accent"),children:[e(y,{size:16,strokeWidth:1.25,absoluteStrokeWidth:!0}),c]})})]});return z?e("div",{className:a(g,k&&"border border-border rounded-md","bg-popover p-1",w),children:U()}):t(Et,{children:[e(jt,{asChild:!0,children:t("div",{ref:L,onClick:e=>{u?e.preventDefault():R(!M)},className:a(g,k&&(F?"border border-destructive":"border border-border"),"flex flex-row gap-2 items-center justify-between p-2 rounded-md group relative [&:hover_.clear-button]:opacity-100",u?"cursor-not-allowed text-muted":"cursor-pointer hover:bg-muted"),children:[t("div",{className:a("flex flex-col w-full rounded-md text-sm min-h-6 items-center justify-center truncate",!u&&"",N&&s&&(!Array.isArray(s)||s.length>0)&&"pr-6"),children:[h&&e("div",{className:"w-full text-left text-xs font-semibold",children:h}),t("div",{className:a("w-full text-left ",!u&&"",F&&"text-destructive"),children:[F&&e(nn,{description:T,placement:"top",asChild:!0,children:e(v,{className:"inline-block size-4 mr-1 -mt-0.5 cursor-help"})}),C?(()=>{const n=Array.isArray(s)?s:s?[s]:[];return 0===n.length?e("span",{className:"text-muted",children:p}):1===n.length?i?i(n[0]):n[0]:t("div",{className:"flex flex-wrap gap-1",children:[n.slice(0,1).map((t,n)=>e("span",{className:"inline-flex items-center gap-1 px-2 py-1 text-xs bg-muted rounded",children:i?i(t):t},n)),n.length>1&&t("span",{className:"inline-flex items-center px-2 py-1 text-xs bg-muted rounded",children:["+",n.length-1," more"]})]})})():(()=>{if(!s||Array.isArray(s)&&0===s.length)return e("span",{className:"text-muted",children:p});const t=Array.isArray(s)?s[0]:s;return i?i(t):t})()]})]}),t("div",{className:"flex items-center gap-1 group",children:[N&&s&&(!Array.isArray(s)||s.length>0)&&e(G,{variant:"link",size:"icon",disabled:u,alt:"Clear selection",onClick:e=>{e.stopPropagation(),l(C?[]:void 0)},className:"cursor-pointer hover:bg-muted/20 clear-button opacity-0 transition-opacity duration-200 rounded p-1",children:e(f,{className:"size-4"})}),!u&&e(x,{className:"size-4 opacity-50"})]})]})}),e(Vt,{style:{width:`${O}px`,zIndex:1e6},className:a("min-w-[8rem] w-64 bg-popover p-1 border shadow","divide-y divide-border",w),children:U()})]})}tn.displayName=ee.Content.displayName;const an=O.createContext({size:void 0,tabs:void 0,current:void 0,setTab:void 0,responsive:!1,variant:"tabs",updateHash:!0}),sn=({tabs:t,defaultValue:n,current:r,className:a,fullWidth:i,children:s,onTabChange:l,responsive:o=!1,variant:c="tabs",updateHash:d=!0})=>{const[u,m]=O.useState(()=>{const e="function"==typeof r?r():r;if(e)return e;const a=window.location.hash,i=a?a.substring(1):void 0;return i&&t.some(e=>e.name===i)?i:n||t[0]?.name});O.useEffect(()=>{const e="function"==typeof r?r():r;e&&e!==u&&m(e)},[r]),O.useEffect(()=>{if(r)return;const e=()=>{const e=window.location.hash,r=e?e.substring(1):void 0;r&&t.some(e=>e.name===r)?m(r):!e&&n&&m(n)};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[r,t,n]);const h=e=>{if(m(e),d&&!r){const t=window.history.state,n=window.location.pathname+window.location.search+"#"+e;window.history.pushState(t,"",n)}l&&l(e)},p=O.useCallback(e=>{h(e)},[h]);return e(an.Provider,{value:{tabs:t,size:i?t.length:0,current:u,setTab:p,responsive:o,variant:c,updateHash:d},children:e(te.Root,{defaultValue:u||t[0]?.name,value:u,onValueChange:h,className:a,children:s})})},ln=({className:r})=>{const{tabs:a,size:i,current:s,setTab:l,responsive:o,variant:c,updateHash:d}=O.useContext(an),u=0!==i,m=O.useCallback(e=>{if(!a||!l)return;const t=a.find(t=>t.name===e);if(t?.href&&d){const e=window.history.state;window.history.pushState(e,"",t.href)}l(e)},[a,l,d]);return a&&l?t(n,{children:[o&&e("div",{className:"px-2 block lg:hidden",children:e(rn,{label:"Tab",className:r,options:a,optionLabel:e=>"string"==typeof e.label?e.label:String(e.label),value:a.find(e=>e.name===s),onChange:e=>{m(e.name)}})}),e(cn,{size:i,variant:c,className:Ie(u?"w-full":"",r,o?"hidden lg:flex":""),children:a.map(t=>e(dn,{value:t.name,disabled:t.disabled,href:t.href,variant:c,onClick:()=>m(t.name),children:t.label},t.name))})]}):(console.warn("TabsBar: No tabs provided or setTab not available"),null)},on=({className:t})=>{const{tabs:r}=O.useContext(an);return r?e(n,{children:r.map(n=>e(un,{value:n.name,className:t,children:n.content},n.name))}):null},cn=O.forwardRef(({className:t,size:n,variant:r="tabs",...a},i)=>e(an.Provider,{value:{size:n,variant:r},children:e(te.List,{ref:i,className:Ie("tabs"===r?"border-b -mb-px flex space-x-4":"flex space-x-2 p-1 rounded-md",t),...a})}));cn.displayName=te.List.displayName;const dn=O.forwardRef(({className:t,href:n,variant:r="tabs",...a},i)=>{const{size:s}=O.useContext(an),l=O.useCallback(e=>{if(n){e.preventDefault();const t=window.history.state;window.history.pushState(t,"",n)}a.onClick&&a.onClick(e)},[n,a.onClick]);return e(te.Trigger,{ref:i,className:Ie("tabs"===r?Ie("border-b-2 px-2 py-1.5 text-sm font-medium whitespace-nowrap cursor-pointer","border-transparent text-muted-foreground hover:border-border hover:text-foreground","data-[state=active]:border-primary data-[state=active]:text-primary","disabled:pointer-events-none disabled:opacity-50"):Ie("px-3 py-1.5 text-sm font-medium whitespace-nowrap cursor-pointer rounded-sm transition-colors","tborder border-input bg-muted shadow-xs hover:bg-muted ring-inset","data-[state=active]:bg-primary data-[state=active]:text-white data-[state=active]:shadow-sm","disabled:pointer-events-none disabled:opacity-50"),t,s?`w-1/${s}`:""),onClick:l,...a})});dn.displayName=te.Trigger.displayName;const un=O.forwardRef(({className:t,...n},r)=>e(te.Content,{ref:r,className:Ie("focus-visible:outline-none","flex-1 overflow-y-auto min-h-0 pt-2",t),...n}));un.displayName=te.Content.displayName;const mn=r("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),hn=O.forwardRef(({className:n,required:r,...a},i)=>t(ne.Root,{ref:i,className:Ie(mn(),n),...a,children:[a.children,r&&e("span",{className:"text-destructive-foreground ml-1",children:"*"})]}));function pn({path:n,maxItems:r=3,className:a,separator:i}){const s=n||[],l=t=>t.onClick?e(xn,{onClick:t.onClick,href:t.href,children:t.label}):t.href?e(xn,{href:t.href,children:t.label}):e(bn,{children:t.label});if(s.length<=r)return e(fn,{className:Ie("w-full",a),children:e(gn,{children:s.map((n,r)=>t(O.Fragment,{children:[e(vn,{children:l(n)}),r<s.length-1&&e(yn,{children:i??e(w,{})})]},r))})});const o=s.slice(-(r-1));return e(fn,{className:Ie("w-full",a),children:t(gn,{children:[e(vn,{children:e(wn,{})}),e(yn,{children:i??e(w,{})}),o.map((n,r)=>t(O.Fragment,{children:[e(vn,{children:l(n)}),r<o.length-1&&e(yn,{children:i??e(w,{})})]},r))]})})}hn.displayName=ne.Root.displayName;const fn=O.forwardRef(({...t},n)=>e("nav",{ref:n,"aria-label":"breadcrumb",...t}));fn.displayName="Breadcrumb";const gn=O.forwardRef(({className:t,...n},r)=>e("ol",{ref:r,className:Ie("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",t),...n}));gn.displayName="BreadcrumbList";const vn=O.forwardRef(({className:t,...n},r)=>e("li",{ref:r,className:Ie("inline-flex items-center gap-1.5 text-muted",t),...n}));vn.displayName="BreadcrumbItem";O.forwardRef(({asChild:t,className:n,...r},a)=>e("a",{ref:a,className:Ie("transition-colors hover:text-muted",n),...r})).displayName="BreadcrumbLink";const xn=O.forwardRef(({className:t,href:n,onClick:r,...a},i)=>e("button",{ref:i,className:Ie("transition-colors hover:text-foreground cursor-pointer",t),onClick:e=>{e.preventDefault(),r&&r(e)},...a}));xn.displayName="BreadcrumbButton";const bn=O.forwardRef(({className:t,...n},r)=>e("span",{ref:r,role:"link","aria-disabled":"true","aria-current":"page",className:Ie("font-normal text-foreground",t),...n}));bn.displayName="BreadcrumbPage";const yn=({children:t,className:n,...r})=>e("li",{role:"presentation","aria-hidden":"true",className:Ie("[&>svg]:w-3.5 [&>svg]:h-3.5",n),...r,children:t??e(w,{})});yn.displayName="BreadcrumbSeparator";const wn=({className:n,...r})=>t("span",{role:"presentation","aria-hidden":"true",className:Ie("flex h-9 w-9 items-center justify-center",n),...r,children:[e(N,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"More"})]});wn.displayName="BreadcrumbEllipsis";const Nn=({children:t,className:n})=>{const r=$(null),[a,i]=E("auto");return P(()=>{if(r.current){const e=new ResizeObserver(e=>{const t=e[0].contentRect.height;i(t)});return e.observe(r.current),()=>{e.disconnect()}}},[]),e("div",{className:Ie(n,"overflow-hidden transition-all duration-100 ease-in"),style:{height:a},children:e("div",{ref:r,children:t})})},kn=O.forwardRef(({className:t,...n},r)=>e(re.Root,{ref:r,className:Ie("peer size-4 shrink-0 rounded-sm border border-1 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-white",t),...n,children:e(re.Indicator,{className:Ie("flex items-center justify-center text-current"),children:e(d,{className:"size-4"})})}));function Cn({value:t,labelRenderer:r,fallbackLabel:a}){const[i,s]=E(a||t),[l,o]=E(!1);return P(()=>{if(!r)return void s(a||t);(async()=>{o(!0);try{const e=r(t);if(e instanceof Promise){const t=await e;s(t)}else s(e)}catch(e){console.error("Error rendering label:",e),s(a||t)}finally{o(!1)}})()},[t,r,a]),l?e("span",{className:"text-muted-foreground",children:"Loading..."}):e(n,{children:i})}kn.displayName=re.Root.displayName;const _n=({filterType:r,filterValues:a,setFilterValues:i,options:s,labelRenderer:l})=>{const[o,c]=E(!1),[d,u]=E(""),m=$(null),h=s?.filter(e=>!a.some(t=>t.value===e.value));return t(Et,{_open:o,onOpenChange:e=>{c(e),e||setTimeout(()=>{u("")},200)},children:[e(jt,{className:"rounded-none p-1 h-8 bg-muted hover:bg-muted/50 transition text-muted hover:text-primary shrink-0",children:e("div",{className:"flex gap-1.5 items-center",children:1===a?.length?(()=>{const t=a[0];return e(Cn,{value:t.value||"",labelRenderer:l,fallbackLabel:t.label})})():`${a?.length} selected`})}),e(Vt,{className:"w-[300px] p-0",children:e(Nn,{children:t(Bt,{children:[e(Wt,{placeholder:r,className:"h-9",value:d,onInputCapture:e=>{u(e.currentTarget.value)},ref:m}),t(Ut,{children:[e(Gt,{children:"No results found."}),e(Kt,{children:a.map(n=>t(Zt,{className:"group flex gap-2 items-center",onSelect:()=>{i(a.filter(e=>e.value!==n.value)),setTimeout(()=>{u("")},200),c(!1)},children:[e("input",{type:"checkbox",checked:!0,onChange:()=>{}}),e(Cn,{value:n.value||"",labelRenderer:l,fallbackLabel:n.label})]},n.value))}),h?.length>0&&t(n,{children:[e(Jt,{}),e(Kt,{children:h.filter(e=>String(e.label||e.value).toLowerCase().includes(d.toLowerCase())).map(n=>t(Zt,{className:"group flex gap-2 items-center",value:String(n.label||n.value),onSelect:()=>{i([...a,{value:n.value,label:n.label}]),setTimeout(()=>{u("")},200),c(!1)},children:[e(kn,{checked:!1,className:"opacity-0 group-data-[selected=true]:opacity-100"}),e("span",{className:"text-muted",children:e(Cn,{value:n.value||"",labelRenderer:n.labelRenderer||l,fallbackLabel:n.label})})]},n.value))})]})]})]})})})]})},zn="\n.calendar-wrapper .react-calendar__navigation {\n display: flex !important;\n justify-content: space-between !important;\n align-items: center !important;\n gap: 8px !important;\n padding: 8px !important;\n}\n\n.calendar-wrapper .react-calendar__navigation__label {\n flex: 1 !important;\n text-align: center !important;\n font-weight: 500 !important;\n}\n\n.calendar-wrapper .react-calendar__navigation__arrow {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n min-width: 32px !important;\n height: 32px !important;\n border-radius: 4px !important;\n border: 1px solid hsl(var(--border)) !important;\n background: hsl(var(--background)) !important;\n color: hsl(var(--foreground)) !important;\n}\n\n.calendar-wrapper .react-calendar__navigation__arrow:hover {\n background: oklch(var(--muted)) !important;\n}\n\n.calendar-wrapper .react-calendar__tile {\n cursor: pointer !important;\n width: 0.5rem !important;\n font-size: 0.875rem !important;\n}\n\n.calendar-wrapper .react-calendar__tile:hover,\n.calendar-wrapper .react-calendar__month-view__days__day:hover,\n.calendar-wrapper .react-calendar__decade-view__years__year:hover,\n.calendar-wrapper .react-calendar__year-view__months__month:hover {\n background: #b5b5b580 !important;\n}\n\n.calendar-wrapper .react-calendar__tile:not(.react-calendar__tile--active):hover {\n background: #b5b5b580 !important;\n}\n\n.calendar-wrapper .react-calendar__tile--hover {\n background: #b5b5b580 !important;\n}\n\n.calendar-wrapper .react-calendar__tile--disabled,\n.calendar-wrapper .react-calendar__tile:disabled,\n.calendar-wrapper .react-calendar__month-view__days__day--disabled,\n.calendar-wrapper .react-calendar__month-view__days__day:disabled,\n.calendar-wrapper .react-calendar__year-view__months__month--disabled,\n.calendar-wrapper .react-calendar__year-view__months__month:disabled,\n.calendar-wrapper .react-calendar__decade-view__years__year--disabled,\n.calendar-wrapper .react-calendar__decade-view__years__year:disabled {\n cursor: not-allowed !important;\n color: #9ca3af !important;\n}\n\n.calendar-wrapper .react-calendar__tile--disabled:hover,\n.calendar-wrapper .react-calendar__tile:disabled:hover,\n.calendar-wrapper .react-calendar__month-view__days__day--disabled:hover,\n.calendar-wrapper .react-calendar__month-view__days__day:disabled:hover,\n.calendar-wrapper .react-calendar__year-view__months__month--disabled:hover,\n.calendar-wrapper .react-calendar__year-view__months__month:disabled:hover,\n.calendar-wrapper .react-calendar__decade-view__years__year--disabled:hover,\n.calendar-wrapper .react-calendar__decade-view__years__year:disabled:hover {\n background: transparent !important;\n}\n\n\n.calendar-wrapper .react-calendar__month-view__weekdays {\n font-size: 0.75rem !important;\n}\n\n.calendar-wrapper .react-calendar__month-view__weekdays__weekday {\n width: 0.75rem !important;\n font-size: 0.75rem !important;\n text-align: center !important;\n}\n \n",In=({filterValues:r,setFilterValues:a,isRange:i=!1})=>{const[s,l]=E(!1),[o,c]=E([null,null]),d=r[0]?new Date(r[0]):void 0,u=i?[o[0]||(r[0]?new Date(r[0]):null),o[1]||(r[1]?new Date(r[1]):null)]:[null,null];P(()=>{i&&c([r[0]?new Date(r[0]):null,r[1]?new Date(r[1]):null])},[r,i]);const m=e=>{if(i)Array.isArray(e)&&(c([e[0],e[1]]),e[0]&&e[1]?a([ae(e[0]).format("YYYY-MM-DD"),ae(e[1]).format("YYYY-MM-DD")]):e[0]&&a([ae(e[0]).format("YYYY-MM-DD")]));else if(e){const t=Array.isArray(e)?e[0]:e;t&&(a([ae(t).format("YYYY-MM-DD")]),l(!1))}};return t(Et,{_open:s,onOpenChange:l,children:[e(jt,{className:"rounded-none p-1 h-8 bg-muted hover:bg-muted/50 text-muted hover:text-primary shrink-0 transition",children:e("div",{className:"flex gap-1.5 items-center min-h-[20px]",children:i?u[0]&&u[1]?t("span",{className:"flex items-center gap-1.5",children:[e("span",{className:"font-medium",children:ae(u[0]).format("MMMM DD, YYYY")}),e("span",{className:"text-xs text-muted-foreground",children:"-"}),e("span",{className:"font-medium",children:ae(u[1]).format("MMMM DD, YYYY")})]}):u[0]?t("span",{className:"flex items-center gap-1.5",children:[e("span",{className:"font-medium",children:ae(u[0]).format("MMMM DD, YYYY")}),e("span",{className:"text-xs text-muted-foreground",children:"- Select end"})]}):e("span",{className:"text-muted-foreground",children:"Select range"}):d?ae(d).format("MMMM DD, YYYY"):"Pick a date"})}),e(Vt,{className:"w-auto p-0",align:"start",side:"bottom",alignOffset:-4,sideOffset:6,children:e("div",{className:"p-2",children:i?t(n,{children:[t("div",{className:"calendar-wrapper",children:[e("style",{children:zn}),e(ie,{value:u,onChange:m,selectRange:!0,returnValue:"range",maxDate:(()=>{const e=new Date;return e.setHours(23,59,59,999),e})(),className:"mb-2 border-0",tileClassName:({date:e,view:t})=>{if("month"===t){const t=e.getTime(),n=new Date;if(n.setHours(23,59,59,999),t>n.getTime())return"text-muted/20 cursor-not-allowed";if(u[0]){const e=u[0].getTime();if(u[1]){const n=u[1].getTime();if(t===e)return"bg-primary text-primary-foreground rounded-l-md font-semibold";if(t===n)return"bg-primary text-primary-foreground rounded-r-md font-semibold";if(t>e&&t<n)return"bg-primary/20 text-primary font-medium"}else if(t===e)return"bg-primary text-primary-foreground rounded-md font-semibold"}}return""}})]}),u[0]&&u[1]&&e("div",{className:"border-t pt-2",children:t("div",{className:"flex gap-2 justify-end",children:[e(tt,{variant:"ghost",size:"sm",onClick:()=>l(!1),children:"Cancel"}),e(tt,{size:"sm",onClick:()=>l(!1),children:"Apply"})]})})]}):t("div",{className:"calendar-wrapper",children:[e("style",{children:zn}),e(ie,{value:d,onChange:m,selectRange:!1,maxDate:(()=>{const e=new Date;return e.setHours(23,59,59,999),e})(),className:"mb-2 border-0",tileClassName:({date:e,view:t})=>{if("month"===t){const t=e.getTime(),n=new Date;if(n.setHours(23,59,59,999),t>n.getTime())return"text-muted/20 cursor-not-allowed";if(d&&t===d.getTime())return"bg-primary text-primary-foreground rounded-md font-semibold"}return""}})]})})})]})},Tn=({filterType:n,filterValue:r,setFilterValue:a})=>{const[i,s]=E(!1),[l,o]=E(r);return t(Et,{_open:i,onOpenChange:e=>{s(e),e||l===r||o(r)},children:[e(jt,{className:"rounded-none p-1 h-8 bg-muted hover:bg-muted/50 text-muted hover:text-primary shrink-0 transition",children:e("div",{className:"flex gap-1.5 items-center",children:r||"Enter text..."})}),e(Vt,{className:"w-[300px] p-3",children:t("div",{className:"flex flex-col gap-1",children:[e("div",{className:"flex items-center p-1.5 text-xs text-muted",children:e("span",{children:n})}),e(Dt,{autoFocus:!0,type:"text",size:"sm",value:l,onChange:o,onKeyDown:e=>{"Enter"===e.key&&(a(l),s(!1))},placeholder:"Enter text..."}),e("div",{className:"mt-2 p-2 border-t",children:t("div",{className:"flex gap-2 justify-end",children:[e(tt,{variant:"ghost",size:"sm",onClick:()=>{o(r),s(!1)},children:"Cancel"}),e(tt,{size:"sm",onClick:()=>{a(l),s(!1)},children:"Apply"})]})})]})})]})},Ln=({filterType:n,filterValues:r,setFilterValues:a})=>{const[i,s]=E(!1),[l,o]=E(r);return t(Et,{_open:i,onOpenChange:e=>{s(e),e||JSON.stringify(l)===JSON.stringify(r)||o(r)},children:[e(jt,{className:"rounded-none p-1 h-8 bg-muted hover:bg-muted/50 text-muted hover:text-primary shrink-0 transition",children:e("div",{className:"flex gap-1.5 items-center",children:r.length>0?1===r.length?r[0]:`${r.length} tags`:"Add tags..."})}),e(Vt,{className:"w-[300px] p-3",children:t("div",{className:"flex flex-col gap-3",children:[e("div",{className:"flex items-center p-1.5 text-xs text-muted",children:e("span",{children:n})}),e(pr,{value:l,onChange:o,placeholder:`Add ${n.toLowerCase()}...`}),t("div",{className:"flex gap-2 justify-end",children:[e(tt,{size:"sm",variant:"ghost",onClick:()=>{o(r),s(!1)},children:"Cancel"}),e(tt,{size:"sm",onClick:()=>{a(l),s(!1)},children:"Apply"})]})]})})]})};function Mn(t,n,r){switch(t.type){case"date":return e(In,{filterValues:Array.isArray(t.value)&&"object"==typeof t.value[0]?t.value.map(e=>e.value||""):[],isRange:t.multiple,setFilterValues:e=>{n(n=>n.map(n=>n===t?{...n,value:e.length>0?e.map(e=>({value:e,label:ae(e).format("LLL dd, y")})):[]}:n))}});case"text":return e(Tn,{filterType:t.placeholder||t.name,filterValue:Array.isArray(t.value)&&t.value[0]&&"object"==typeof t.value[0]&&t.value[0].value||"",setFilterValue:e=>{n(n=>n.map(n=>n===t?{...n,value:[{value:e,label:e}]}:n))}});case"stringList":return e(Ln,{filterType:t.placeholder||t.name,filterValues:Array.isArray(t.value)&&"string"==typeof t.value[0]?t.value:[],setFilterValues:e=>{n(n=>n.map(n=>n===t?{...n,value:e}:n))}});default:{const a=r.find(e=>e.name===t.name);return e(_n,{filterType:t.placeholder||t.name,filterValues:Array.isArray(t.value)&&"object"==typeof t.value[0]?t.value:[],setFilterValues:e=>{n(n=>n.map(n=>n===t?{...n,value:e}:n))},options:a?.options||[],labelRenderer:a?.labelRenderer})}}}function Rn({filters:n,setFilters:r,filterGroups:a}){return e("div",{className:"flex gap-2 flex-wrap justify-start",children:n.filter(e=>e.value?.length>0).map(n=>t("div",{className:"flex gap-[1px] items-center text-sm",children:[e("div",{className:"flex gap-1.5 shrink-0 rounded-l bg-muted p-1.5 h-8 items-center",children:n.placeholder||n.name}),Mn(n,r,a),e(tt,{variant:"ghost",size:"icon",onClick:()=>{r(e=>e.filter(e=>e!==n))},className:"bg-muted rounded-l-none rounded-r-sm size-8 hover:text-primary hover:bg-muted/50 transition shrink-0",children:e(f,{className:"size-6"})})]},n.name+"-"+("date"==n.type?"date":"stringList"===n.type&&"string"==typeof n.value[0]?n.value.join(","):Array.isArray(n.value)?n.value.map(e=>e.value).join(","):"")))})}function On({selectedView:n,textValue:r,setTextValue:a,setFilters:i,handleClose:s,filterGroups:l}){const o=()=>{i(e=>[...e,{name:n||"",placeholder:l.find(e=>e.name===n)?.placeholder,value:[{value:r,label:r}],type:"text"}]),s()};return t("div",{className:"p-2 flex flex-col gap-1",children:[e("div",{className:"flex items-center p-1.5 text-xs text-muted",children:e("span",{children:l.find(e=>e.name===n)?.placeholder})}),e(Dt,{autoFocus:!0,type:"text",size:"sm",value:r,onChange:a,onKeyDown:e=>"Enter"===e.key&&o(),placeholder:"Enter text..."}),e("div",{className:"mt-2 p-2 border-t",children:t("div",{className:"flex gap-2 justify-end",children:[e(tt,{variant:"ghost",size:"sm",onClick:s,children:"Cancel"}),e(tt,{size:"sm",onClick:o,disabled:!r.trim(),children:"Apply"})]})})]})}function Sn({selectedView:r,selectedDate:a,setSelectedDate:i,setFilters:s,filters:l,handleClose:o,filterGroups:c}){const[d,u]=E([null,null]),[m,h]=E([null,null]),p=c.find(e=>e.name===r),f=p?.multiple,g=new Date;g.setHours(23,59,59,999);const v=[m[0]||d[0],m[1]||d[1]],x=e=>{if(f)Array.isArray(e)?(h([e[0],e[1]]),u([e[0],e[1]])):(h([e,null]),u([e,null]));else{const t=Array.isArray(e)?e[0]:e;if(i(t||void 0),t){const e=new Date(t);e.setHours(0,0,0,0),s([...l,{name:r||"",placeholder:p?.placeholder,value:[{value:e.toISOString(),label:ae(e).format("LLL dd, y")}],type:p?.type||"date",multiple:p?.multiple||!1}]),o()}}};return e("div",{className:"p-2",children:f?t(n,{children:[e("div",{children:f?v[0]&&v[1]?t("span",{className:"flex items-center gap-2",children:[e("span",{className:"text-xs text-muted",children:"From:"}),e("span",{className:"text-xs font-medium",children:ae(v[0]).format("MMMM DD, YYYY")}),e("span",{className:"text-xs text-muted",children:"To:"}),e("span",{className:"text-xs font-medium",children:ae(v[1]).format("MMMM DD, YYYY")})]}):v[0]?t("span",{className:"flex items-center gap-2",children:[e("span",{className:"text-xs text-muted",children:"From:"}),e("span",{className:"text-xs font-medium",children:ae(v[0]).format("MMMM DD, YYYY")}),e("span",{className:"text-xs text-muted",children:"→ Select end date"})]}):e("span",{className:"text-muted text-xs",children:p?.placeholder||p?.name||r||"Select date range"}):a?ae(a).format("MMMM DD, YYYY"):"Pick a date"}),t("div",{className:"calendar-wrapper",children:[e("style",{children:zn}),e(ie,{value:v,onChange:x,selectRange:!0,returnValue:"range",maxDate:g,className:"mb-2 border-0",tileClassName:({date:e,view:t})=>{if("month"===t){const t=e.getTime(),n=new Date;if(n.setHours(23,59,59,999),t>n.getTime())return"text-muted/20 cursor-not-allowed";if(v[0]){const e=v[0].getTime();if(v[1]){const n=v[1].getTime();if(t===e)return"bg-primary text-primary-foreground rounded-l-md font-semibold";if(t===n)return"bg-primary text-primary-foreground rounded-r-md font-semibold";if(t>e&&t<n)return"bg-primary/20 text-primary font-medium"}else if(t===e)return"bg-primary text-primary-foreground rounded-md font-semibold"}}return""}},`${v[0]?.getTime()}-${v[1]?.getTime()}`)]}),e("div",{className:"border-t pt-2",children:t("div",{className:"flex gap-2 justify-end",children:[e(tt,{variant:"ghost",size:"sm",onClick:o,children:"Cancel"}),e(tt,{size:"sm",onClick:()=>{if(d[0]){const e=new Date(d[0]),t=d[1]?new Date(d[1]):new Date(d[0]);e.setHours(0,0,0,0),t.setHours(23,59,59,999);const n=[];n.push({value:e.toISOString(),label:ae(e).format("LLL dd, y")}),d[1]&&d[0].getTime()!==d[1].getTime()&&n.push({value:t.toISOString(),label:ae(t).format("LLL dd, y")}),s([...l,{name:r||"",placeholder:p?.placeholder,value:n,type:p?.type||"date",multiple:p?.multiple||!1}]),o()}},disabled:!v[0],children:"Apply"})]})})]}):e(n,{children:t("div",{className:"calendar-wrapper",children:[e("style",{children:zn}),e(ie,{value:a,onChange:x,selectRange:!1,maxDate:g,className:"mb-2 border-0",tileClassName:({date:e,view:t})=>{if("month"===t){const t=e.getTime(),n=new Date;if(n.setHours(23,59,59,999),t>n.getTime())return"text-muted/20 cursor-not-allowed";if(a&&t===a.getTime())return"bg-primary text-primary-foreground rounded-md font-semibold"}return""}})]})})})}function Dn({selectedView:n,commandInput:r,setFilters:a,handleClose:i,filterGroups:s}){const[l,o]=E([]);if(!n)return null;const c=(e=>{const t=s.find(t=>t.name===e);if(!t)return[];let n=t.options||[];if(!r.trim())return n;if(t.filterBy){const e=r.toLowerCase();return n.filter(n=>void 0!==n.value&&t.filterBy(n.value,e))}const a=r.toLowerCase();return n.filter(e=>String(e.value||"").toLowerCase().includes(a))})(n),d=s.find(e=>e.name===n);return t("div",{className:"flex flex-col h-full",children:[e("div",{className:"flex items-center p-1.5 text-xs text-muted shrink-0",children:e("span",{children:d?.placeholder||d?.name})}),e("div",{className:"flex-1 overflow-hidden min-h-0",children:e("div",{className:"max-h-[200px] overflow-y-auto",children:c.length>0&&c.map(r=>{const s=l.some(e=>e.value===r.value);return t(Zt,{className:"group flex gap-2 items-center w-full hover:bg-muted "+(d?.multiple&&s?"bg-muted":""),onSelect:()=>(e=>{const t={value:e.value,label:e.label};if(d?.multiple){const n=l.some(t=>t.value===e.value);o(n?t=>t.filter(t=>t.value!==e.value):e=>[...e,t])}else a(e=>{const r=e.findIndex(e=>e.name===n);if(r>=0){const n=[...e];return n[r]={...n[r],value:[t]},n}return[...e,{name:n||"",placeholder:d?.placeholder||"",value:[t],type:d?.type||"select",multiple:d?.multiple||!1}]}),i()})(r),children:[e(Cn,{value:r.value||"",labelRenderer:r.labelRenderer||d?.labelRenderer,fallbackLabel:r.label}),d?.multiple&&s&&e("span",{className:"ml-auto text-xs text-success",children:"✓"})]},r.value||`option-${Math.random()}`)})})}),d?.multiple&&e("div",{className:"p-2 border-t shrink-0",children:t("div",{className:"flex gap-2 justify-end",children:[e(tt,{variant:"ghost",size:"sm",onClick:i,children:"Cancel"}),e(tt,{size:"sm",onClick:()=>{l.length>0&&a(e=>[...e.filter(e=>e.name!==n),{name:n||"",placeholder:d?.placeholder||"",value:l,type:d?.type||"select",multiple:d?.multiple||!1}]),i()},disabled:0===l.length,children:"Apply"})]})})]})}function An({selectedView:n,setFilters:r,handleClose:a,filterGroups:i}){const[s,l]=E([]),o=i.find(e=>e.name===n);return t("div",{className:"p-2 space-y-3",children:[e("div",{className:"space-y-2",children:e(pr,{value:s,onChange:l,placeholder:o?.placeholder||`Add ${n}...`,autoFocus:!0})}),t("div",{className:"flex gap-2 justify-end",children:[e(tt,{variant:"ghost",size:"sm",onClick:a,children:"Cancel"}),e(tt,{size:"sm",onClick:()=>{s.length>0&&r(e=>[...e.filter(e=>e.name!==n),{name:n,placeholder:o?.placeholder,value:s,type:"stringList"}]),a()},disabled:0===s.length,children:"Apply"})]})]})}const $n=S.createContext({}),En=({filters:t,setFilters:n,filterGroups:r,children:a})=>{const i=new URL(window.location.href).searchParams,[s,l]=S.useState(!1);return P(()=>{try{const e=new URLSearchParams(i.toString());if(t.length>0){const n=t.map(e=>{let t;if("stringList"===e.type&&Array.isArray(e.value)&&"string"==typeof e.value[0])t=`[${e.value.map(e=>encodeURIComponent(e)).join(",")}]`;else if(Array.isArray(e.value))if(e.multiple)t=`[${e.value.map(e=>encodeURIComponent(e.value||e||"")).join(",")}]`;else if(e.value.length>1)t=`[${e.value.map(e=>encodeURIComponent(e.value||e||"")).join(",")}]`;else{const n=e.value[0];t="string"==typeof n?encodeURIComponent(n):"object"==typeof n&&void 0!==n?.value?encodeURIComponent(String(n.value)):encodeURIComponent(String(n||""))}else t=encodeURIComponent(e.value||"");return`${encodeURIComponent(e.name)}:${t}`}).join(";");e.set("filters",n)}else e.delete("filters");const n=`${window.location.pathname}?${e.toString()}${window.location.hash}`;window.history.replaceState(window.history.state||{},"",n)}catch(e){console.error("Failed to update URL with filters:",e)}},[t]),P(()=>{const e=i.get("filters");if(e&&r.length>0&&!s)try{const t=e.split(";").map(e=>{const[t,n]=e.split(":"),a=decodeURIComponent(t);let i;if(n.startsWith("[")&&n.endsWith("]")){const e=n.slice(1,-1);i=e?e.split(",").map(e=>decodeURIComponent(e)):[]}else i=[decodeURIComponent(n)];const s=r.find(e=>e.name===a);let l;l="stringList"===s?.type?i:"text"===s?.type?1===i.length?[{value:i[0],label:i[0]}]:i.map(e=>({value:e,label:e})):i.map(e=>{const t=s?.options?.find(t=>t.value===e);let n=e;return t?.label?n=String(t.label):t?.labelRenderer?n=String(t.labelRenderer(e)):s?.labelRenderer&&(n=String(s.labelRenderer(e))),{value:e,label:n}}),!s?.multiple||n.startsWith("[")||n.endsWith("]")||("stringList"===s.type?l=i:Array.isArray(l)||(l=[l]));const o=s?.multiple||!s&&n.startsWith("[")&&n.endsWith("]");return{name:a,type:s?.type||"select",placeholder:s?.placeholder,value:l,multiple:o}});n(t),l(!0)}catch(e){l(!0)}else r.length>0&&!s&&l(!0)},[r,s]),e($n.Provider,{value:{filters:t,setFilters:n,filterGroups:r},children:a})},Pn=({className:n})=>{const{filters:r,setFilters:a,filterGroups:i}=S.useContext($n),[s,l]=S.useState(!1),[o,c]=S.useState(null),[d,u]=S.useState(""),m=S.useRef(null),[h,p]=S.useState(),[f,g]=S.useState(""),v=()=>{l(!1),setTimeout(()=>{c(null),u(""),p(void 0)},200)};return t(Et,{_open:s,onOpenChange:e=>{l(e),e||setTimeout(()=>{c(null),u(""),g("")},200)},children:[e(jt,{asChild:!0,children:t(tt,{variant:"outline",role:"combobox","aria-expanded":s,size:"md",className:Ie("transition group flex gap-1.5",n),children:[e(k,{className:"size-4 shrink-0 transition-all text-muted"}),"Filter"]})}),e(Vt,{className:"w-[300px] p-0",align:"start",sideOffset:4,children:t(Bt,{children:["select"===i.find(e=>e.name===o)?.type&&e(Wt,{placeholder:o?`Filter by ${o}`:"Filter...",className:"h-9 ring-0",value:d,onValueChange:e=>{u(e)},ref:m,autoFocus:!0}),t(Ut,{children:[e(Gt,{children:"No matching filters"}),e(Kt,{children:o?(()=>{if(!o)return null;const t=i.find(e=>e.name===o)?.type;switch(t){case"date":return e(Sn,{selectedView:o,selectedDate:h,setSelectedDate:p,setFilters:a,filters:r,handleClose:v,filterGroups:i});case"text":return e(On,{selectedView:o,textValue:f,setTextValue:g,setFilters:a,handleClose:v,filterGroups:i});case"stringList":return e(An,{selectedView:o,setFilters:a,handleClose:v,filterGroups:i});default:return e(Dn,{selectedView:o,commandInput:d,setFilters:a,handleClose:v,filterGroups:i})}})():(()=>{let t=i.map(e=>({...e,options:(e.options??[]).filter(t=>!r.some(n=>"date"===n.type?n.name===e.name:n.name===e.name&&(Array.isArray(n.value)&&"string"==typeof n.value[0]?n.value.some(e=>e===t.value):n.value.some(e=>e.value===t.value))))})).filter(e=>(e.options??[]).length>0||"date"===e.type&&!r.some(t=>t.name===e.name)||"text"===e.type&&!r.some(t=>t.name===e.name)||"stringList"===e.type&&!r.some(t=>t.name===e.name));return 0===t.length?e(Gt,{children:"No available filters"}):t.map((t,n)=>e(Zt,{onSelect:()=>{return e=t.name,c(e),u(""),void m.current?.focus();var e},className:"group flex gap-2 items-center hover:bg-muted",children:e("span",{children:t.placeholder??t.name})},n))})()})]})]})})]})},jn=({className:t})=>{const{filters:n,setFilters:r,filterGroups:a}=S.useContext($n);return e("div",{className:Ie(t),children:e(Rn,{filters:n,setFilters:r,filterGroups:a})})},Fn=({className:t})=>{const{filters:n,setFilters:r}=S.useContext($n);return n.filter(e=>e.value?.length>0).length>0?e(tt,{variant:"outline",size:"xs",className:Ie("transition group",t),onClick:()=>r([]),children:"Clear All"}):null};var Vn;!function(e){e.IS="is",e.IS_NOT="is_not",e.CONTAINS="contains",e.BEFORE="before",e.AFTER="after",e.IS_ANY_OF="is_any_of"}(Vn||(Vn={}));const Yn=F(({className:t,level:n=3,...r},a)=>e(`h${n}`,{ref:a,className:Ie({h1:"text-2xl font-medium tracking-tight",h2:"text-xl font-medium tracking-tight",h3:"text-lg font-medium",h4:"text-base font-medium",h5:"text-sm font-medium",h6:"text-xs font-medium"}[`h${n}`],"mb-2",t),...r}));Yn.displayName="Heading";const Bn=r("text-foreground",{variants:{size:{xl:"text-base md:text-lg leading-relaxed",lg:"text-base leading-relaxed",default:"text-sm leading-normal",sm:"text-sm leading-normal",xs:"text-xs leading-normal"},weight:{normal:"font-normal",medium:"font-medium",semibold:"font-semibold"}},defaultVariants:{size:"default",weight:"normal"}}),Hn=F(({className:t,size:n,weight:r,...a},i)=>e("p",{ref:i,className:Ie(Bn({size:n,weight:r,className:t})),...a}));function Wn({className:t,...n}){return e(ke.PanelGroup,{"data-slot":"resizable-panel-group",className:Ie("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",t),...n})}function Un({...t}){return e(ke.Panel,{"data-slot":"resizable-panel",...t})}function Gn({withHandle:t,className:n,...r}){return e(ke.PanelResizeHandle,{"data-slot":"resizable-handle",className:Ie("bg-muted focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",n),...r,children:t&&e("div",{className:"z-10 flex size-4 items-center justify-center rounded-xs font-semibold",children:e(C,{className:"size-4 rotate-90"})})})}function Kn({className:t,...n}){return e("textarea",{"data-slot":"textarea",className:Ie("py-2 text-sm","flex w-full rounded-md border border-input bg-background ring-offset-background","placeholder:text-muted focus-visible:outline-none focus-visible:ring-1 ring-inset focus-visible:ring-ring","disabled:cursor-not-allowed disabled:opacity-50",t),...n})}function Jn({title:n,content:r,onConfirm:a,onCancel:i,isOpen:s}){const l=$(null);return t(wt,{isOpen:s,onClose:i,description:"Confirm Modal",children:[t("div",{className:"sm:flex sm:items-start p-2",children:[e("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-red-100 sm:mx-0 sm:h-10 sm:w-10",children:e(_,{className:"size-6 text-red-600","aria-hidden":"true"})}),t("div",{className:"mt-3 text-center sm:ml-4 sm:mt-0 sm:text-left",children:[e(Nt,{className:"leading-6",show:!0,children:n}),e("div",{className:"mt-2",children:e("div",{className:"prose text-sm text-gray-500",children:r})})]})]}),t(Ct,{align:"right",children:[e(tt,{variant:"destructive",onClick:a,children:"Confirm"}),e(tt,{variant:"outline",onClick:i,ref:l,children:"Cancel"})]})]})}function Zn(){return A(qn)}Hn.displayName="Text";const qn=D(()=>{}),Xn="--tailwind-portal";function Qn({children:t}){const n=$(null),[r,a]=E(null);return P(()=>{if(n.current){const e=n.current.ownerDocument;let t=e.getElementById(Xn);t||(t=e.createElement("DIV"),t.id=Xn,e.body.appendChild(t)),a(t)}},[n.current]),r?H(t,r):e("span",{ref:n})}const er={success:T,error:I,warning:v,info:z},tr={success:"text-success",error:"text-destructive",warning:"text-attention",info:"text-info"};function nr({data:n,onClose:r}){const[a,i]=E(!0),s=$(null),l=()=>{s.current&&globalThis.clearTimeout(s.current),n.duration&&(s.current=setTimeout(()=>i(!1),n.duration))},o=()=>{s.current&&(globalThis.clearTimeout(s.current),s.current=null)};P(()=>(l(),o),[n.duration]);const c=er[n.status]||z,d=tr[n.status]||"text-info";return e("div",{"aria-live":"assertive",className:"pointer-events-none fixed inset-0 flex items-end px-4 py-6 sm:items-start sm:p-6 z-100",children:e("div",{className:"flex w-full flex-col items-center space-y-4 sm:items-end",children:e(se,{appear:!0,show:a,as:V,afterLeave:r,enter:"transform ease-out duration-700 transition",enterFrom:"translate-y-0 opacity-0 sm:translate-y-0 sm:translate-x-2",enterTo:"translate-y-2 opacity-100 sm:translate-x-0",leave:"transition ease-in duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e("div",{className:"pointer-events-auto w-full max-w-md overflow-hidden rounded-lg bg-muted shadow-lg ring-1 ring-border",onMouseEnter:o,onMouseLeave:l,children:e("div",{className:"p-5",children:t("div",{className:"flex items-start",children:[e("div",{className:"shrink-0",children:e(c,{className:`size-6 ${d}`,"aria-hidden":"true"})}),t("div",{className:"ml-3 flex-1 pt-0.5 min-w-0",children:[e("p",{className:"text-sm font-semibold text-foreground break-words",children:n.title}),n.description&&e("p",{className:"mt-2 text-sm text-muted break-words whitespace-pre-wrap leading-relaxed",children:n.description})]}),e("div",{className:"ml-4 flex shrink-0",children:t("button",{type:"button",className:"inline-flex rounded-md bg-muted text-muted hover:text-foreground focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-background",onClick:()=>i(!1),children:[e("span",{className:"sr-only",children:"Close"}),e(f,{className:"size-5","aria-hidden":"true"})]})})]})})})})})})}function rr({children:r}){const[a,i]=E(null),s=e=>{i(e)};return t(n,{children:[e(qn.Provider,{value:s,children:r}),a&&e(Qn,{children:e(nr,{data:a,onClose:()=>s(null)})})]})}function ar({idToDelete:t,title:n,content:r,setIdToDelete:a,deleteApi:i}){const s=Zn();return e(Jn,{title:n,content:r,isOpen:!!t,onConfirm:async()=>{if(t)return i(t).then(()=>{s({title:"Delete succeeded",status:"success"})}).catch(e=>{s({title:"Failed to delete",description:e.message??"An error occurred while deleting the object",status:"error"})}).finally(()=>{a(void 0)})},onCancel:()=>{a(void 0)}})}function ir({className:t}){return e("hr",{className:a("w-full h-0.5 border-t-0 bg-border",t)})}function sr({trigger:n,children:r}){return t(le,{as:"div",className:"relative",children:[e(oe,{as:"span",className:"-m-1.5 flex items-center p-1.5",children:n}),e(se,{as:V,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:e(ce,{className:"absolute right-0 z-10 mt-2.5 w-48 origin-top-right rounded-md bg-white dark:bg-slate-900 dark:border-slate-800 dark:border py-2 shadow-lg ring-1 ring-gray-900/5 dark:ring-slate-200/5 focus:outline-hidden",children:r})})]})}function lr({children:t,href:n="#",onClick:r,closeOnClick:i=!0,isDisabled:s=!1}){return e(de,{disabled:s,children:({active:l,close:o})=>e("a",{href:n,onClick:e=>{e.preventDefault(),e.stopPropagation(),r&&r(e),i&&o()},className:a(l?"bg-gray-50 dark:bg-slate-800":"",s?"opacity-50 cursor-not-allowed":"","block px-3 py-1 text-sm leading-6 text-gray-900 dark:text-gray-200"),children:t})})}function or({items:n,value:r,onChange:i}){return e(ue,{value:r,onChange:i,children:({open:i})=>t("div",{className:"relative",children:[t("div",{className:"inline-flex divide-x divide-indigo-700 rounded-md shadow-2xs",children:[t("div",{className:"inline-flex items-center gap-x-1.5 rounded-l-md bg-indigo-600 px-3 py-2 text-white shadow-2xs",children:[r.name&&e(d,{className:"-ml-0.5 size-5","aria-hidden":"true"}),e("p",{className:"text-sm font-semibold",children:r.name||""})]}),t(me,{className:"inline-flex items-center rounded-l-none rounded-r-md bg-indigo-600 p-2 hover:bg-indigo-700 focus:outline-hidden focus:ring-2 focus:ring-indigo-600 focus:ring-offset-2 focus:ring-offset-gray-50",children:[e("span",{className:"sr-only",children:"Change selection"}),e(L,{className:"size-5 text-white","aria-hidden":"true"})]})]}),e(se,{show:i,as:V,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e(he,{className:"absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 overflow-hidden rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-hidden",children:n.map(n=>e(pe,{className:({active:e})=>a(e?"bg-indigo-600 text-white":"text-gray-900","cursor-default select-none p-4 text-sm"),value:n,children:({selected:r,active:i})=>t("div",{className:"flex flex-col",children:[t("div",{className:"flex justify-between",children:[e("p",{className:r?"font-semibold":"font-normal",children:n.name}),r?e("span",{className:i?"text-white":"text-indigo-600",children:e(d,{className:"size-5","aria-hidden":"true"})}):null]}),e("p",{className:a(i?"text-indigo-200":"text-gray-500","mt-2"),children:n.description})]})},n.id))})})]})})}function cr({buttonLabel:n,title:r,children:a,onClick:i}){return e("div",{className:"flex items-center justify-center h-full text-center",children:t("div",{className:"py-12",children:[e("svg",{className:"mx-auto size-12",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:e("path",{vectorEffect:"non-scaling-stroke",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 13h6m-3-3v6m-9 1V7a2 2 0 012-2h6l2 2h6a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2z"})}),e("h3",{className:"mt-2 text-sm font-semibold",children:r}),e("p",{className:"mt-1 text-sm text-muted",children:a}),e("div",{className:"mt-6",children:t(G,{onClick:i,children:[e(M,{className:"-ml-0.5 mr-1.5 size-5","aria-hidden":"true"}),n]})})]})})}function dr({children:n,onUpload:r}){const a=$(null);return t("label",{style:{cursor:"pointer"},children:[n,e("input",{ref:a,type:"file",style:{display:"none"},onChange:()=>{a.current?.files&&r(function(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}(a.current.files))}})]})}function ur({onUpload:n}){const r=mr({onUpload:n});return e("div",{...r,className:"flex items-center justify-center w-full h-64 border-2 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600",children:t("label",{htmlFor:"dropzone-file",className:"flex flex-col items-center justify-center w-full h-full",children:[t("div",{className:"flex flex-col items-center justify-center pt-5 pb-6",children:[e("svg",{className:"w-8 h-8 mb-4 text-gray-500 dark:text-gray-400","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 16",children:e("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 13h3a3 3 0 0 0 0-6h-.025A5.56 5.56 0 0 0 16 6.5 5.5 5.5 0 0 0 5.207 5.021C5.137 5.017 5.071 5 5 5a4 4 0 0 0 0 8h2.167M10 15V6m0 0L8 8m2-2 2 2"})}),t("p",{className:"mb-2 text-sm text-gray-500 dark:text-gray-400",children:[e("span",{className:"font-semibold",children:"Click to upload"})," or drag and drop"]}),e("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:"SVG, PNG, JPG or GIF (MAX. 800x400px)"})]}),e("input",{id:"dropzone-file",type:"file",className:"hidden"})]})})}function mr({onUpload:e,dragOverClass:t="is-drag-over-on",dropEffect:n="copy"}){const r=$(null);return{onDrop:n=>{n.preventDefault(),delete r.current.__dragOver_cnt__,r.current?.classList.remove(t);const a=n.dataTransfer.items;if(a){const t=[],n=(e,t="")=>new Promise(r=>{if(e.isFile)e.file(e=>{Object.defineProperty(e,"webkitRelativePath",{value:t+e.name}),r([e])});else if(e.isDirectory){const a=e.createReader(),i=[],s=()=>{a.readEntries(a=>{if(a.length){for(const r of a)i.push(n(r,t+e.name+"/"));s()}else Promise.all(i).then(e=>r(e.flat()))})};s()}});for(let e=0;e<a.length;e++){const r=a[e].webkitGetAsEntry();r&&t.push(n(r))}Promise.all(t).then(t=>{const n=t.flat();n.length&&e(n)})}},onDragOver:e=>{e.preventDefault(),e.dataTransfer.dropEffect=n},onDragEnter:()=>{(function(e){let t=e.__dragOver_cnt__||0;return e.__dragOver_cnt__=t+1,!t})(r.current)&&r.current?.classList.add(t)},onDragLeave:()=>{(function(e){let t=e.__dragOver_cnt__;return!!t&&(e.__dragOver_cnt__=t-1,1===t)})(r.current)&&r.current?.classList.remove(t)},ref:r}}function hr({description:n,required:r,label:i,className:s,direction:l="column",children:o,disabled:c=!1}){return t("div",{className:a("flex w-full space-y-1",s,"row"===l?"flex-row justify-between items-center gap-2":"flex-col"),children:[t("div",{className:"flex items-center gap-1",children:[t("label",{className:"text-sm font-medium mb-1 "+(c?"text-muted":""),children:[i,r?e("span",{className:"text-destructive -mt-4 ml-1",children:"*"}):""]}),n&&e("div",{className:"mx-2 flex w-4 items-center",children:e(nn,{description:n,children:e(z,{className:"size-3 text-muted"})})})]}),o]})}function pr({value:n=[],onChange:r,className:i,delimiters:s=", ",placeholder:l,autoFocus:o}){const[c,d]=E("");return t("div",{className:a(i,"w-full flex flex-wrap items-center gap-1 p-2 py-1.5","rounded-md text-sm rounded-md border border-input bg-background ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted focus-visible:outline-none focus-visible:ring-1 ring-inset focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50"),children:[n&&n.length>0&&n.map((t,a)=>e(U,{description:"click to remove",children:e(Le,{variant:"secondary",onClick:()=>(e=>{n&&n.length>0&&(n.splice(e,1),r([...n]))})(a),className:"cursor-pointer flex-shrink-0 hover:bg-destructive hover:text-destructive transition-colors",title:t,children:e("span",{className:"break-all",children:t})},a)},a)),e(Dt,{clearable:!1,className:"placeholder:text-muted px-1 flex-1 min-w-[120px]",variant:"unstyled",type:"text",value:c,onBlur:e=>{const t=e.target.value;t&&t.trim()&&(r([...n,t.trim()]),d(""))},onKeyDown:e=>{const t=e.target.value,a=!t.trim(),i=e.key;"Enter"===i||s.indexOf(i)>-1?(e.preventDefault(),n&&!a&&(r([...n,t.trim()]),d(""))):"Backspace"===i&&a&&n&&n.length>0&&(n.pop(),r([...n]))},onPaste:e=>{const t=e.clipboardData.getData("text");if(t){e.preventDefault();const a=s.split("").map(e=>" "===e?"\\s":e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),i=new RegExp(`[${a}]+`),l=t.split(i).map(e=>e.trim()).filter(e=>e.length>0);l.length>0&&r([...n,...l]),d("")}},onChange:d,placeholder:n&&0!==n.length?"":l,autoFocus:o})]})}function fr({underline:t="always",className:n,children:r,...i}){let s;return"always"===t?s="underline":"hover"===t&&(s="hover:underline"),e("a",{className:a("text-indigo-800 dark:text-indigo-300",n,s),...i,children:r})}function gr({className:t,children:n}){return e("ul",{className:`${t} space-y-1 flex flex-col items-start`,children:n})}const vr=F(function(t,n){const{current:r,children:i,className:s,href:l="#",onClick:o,...c}=t;return e("li",{className:a(s,r?"bg-muted":"","w-full p-2 pl-3 text-sm leading-6 font-semibold hover:bg-muted"),children:e("a",{ref:n,href:l,onClick:e=>{o?(e.preventDefault(),o(e)):"#"===l&&e.preventDefault()},className:"w-full flex items-center gap-x-3",...c,children:i})})});function xr({icon:n,status:r,title:a,children:i,className:s}){let l,o,c,d;switch(r){case"error":l=e(I,{className:"size-5 text-destructive","aria-hidden":"true"}),o="",c="text-foreground",d="bg-destructive border border-destructive";break;case"warning":l=e(v,{className:"size-5 text-attention","aria-hidden":"true"}),o="",c="text-foreground",d="bg-attention border border-attention";break;case"success":l=e(T,{className:"size-5 text-success","aria-hidden":"true"}),o="",c="text-foreground",d="bg-success border border-success";break;case"info":l=e(z,{className:"size-5 text-info","aria-hidden":"true"}),o="",c="text-foreground",d="bg-info border border-info";break;case"default":l=e(z,{className:"size-5 text-muted","aria-hidden":"true"}),o="",c="text-foreground",d="bg-muted border border-muted";break;case"done":l=e(z,{className:"size-5 text-done","aria-hidden":"true"}),o="",c="text-foreground",d="bg-done border border-done"}return e("div",{className:`rounded-md p-4 ${d} ${s}`,children:t("div",{className:"flex",children:[e("div",{className:"shrink-0",children:n??l}),t("div",{className:"w-full ml-2 px-1",children:[a&&e("h3",{className:`text-sm font-medium mb-2 ${o}`,children:a}),e("div",{className:`text-sm ${c} break-words`,children:i})]})]})})}function br({title:t,className:n,children:r}){return e(xr,{status:"error",title:t,className:n,children:e("pre",{className:"whitespace-pre-wrap break-words",children:r})})}function yr({title:t,className:n,children:r}){return e(xr,{status:"info",title:t,className:n,children:r})}function wr({title:t,className:n,children:r}){return e(xr,{status:"warning",title:t,className:n,children:r})}function Nr({title:t,className:n,children:r}){return e(xr,{status:"success",title:t,className:n,children:r})}function kr({title:t,className:n,children:r}){return e(xr,{status:"default",title:t,className:n,children:r})}function Cr({className:n,children:r,isOpen:i,onClose:s,noCloseButton:l=!1,allowOverflow:o=!1,disableCloseOnClickOutside:c=!1}){return e(se,{show:i,as:V,children:t(fe,{style:{zIndex:50},as:"div",className:"relative",onClose:c?()=>{}:e=>{e||s()},children:[e(ge,{as:V,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",unmount:!0,children:e("div",{className:"fixed inset-0 bg-gray-500 dark:bg-slate-800 dark:opacity-75 opacity-75 transition-opacity"})}),e("div",{className:"fixed inset-0 z-10 w-screen overflow-y-auto",children:e("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:e(ge,{as:V,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:t(ve,{className:a("p-0! relative transform rounded-lg bg-white dark:bg-slate-900 text-left dark:text-slate-100 shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-md sm:p-6",o?"overflow-visible":"overflow-hidden",n),children:[!l&&e(_r,{onClose:s}),r]})})})})]})})}function _r({onClose:n}){return e("div",{className:"absolute right-0 top-0 hidden pr-4 pt-4 sm:block",children:t("button",{tabIndex:-1,type:"button",className:"rounded-md bg-white text-gray-400 dark:text-slate-200 dark:bg-slate-800 hover:brightness-95 focus:outline-hidden focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 hover:cursor-pointer",onClick:n,children:[e("span",{className:"sr-only",children:"Close"}),e(f,{className:"size-6","aria-hidden":"true"})]})})}function zr({children:t,showDivider:n=!1}){return e("div",{className:n?"border-b-solid border-b border-b-1":"",children:e(xe,{as:"h3",className:"py-4 pl-4 pr-8 text-base font-semibold leading-6 text-gray-900 dark:text-slate-50",children:t})})}function Ir({children:t,className:n="justify-end",fill:r=!1}){return e("div",{className:a("w-full flex space-x-2 p-4 border-t-solid border-t-gray-100 dark:border-t-gray-800 border-t",n||"justify-end",r?"bg-gray-100 dark:bg-slate-800":""),children:t})}function Tr({children:t,className:n=""}){return e("div",{className:a("p-4",n),children:t})}gr.Item=vr;const Lr="rounded-md text-sm flex w-full rounded-md border border-input bg-background ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 ring-inset focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",Mr={INPUT_UNSTYLED:"block m-0 p-0 w-full border-0 focus:outline-hidden focus:ring-0 bg-transparent",INPUT_NO_PADDING:Lr,INPUT:Lr+" py-1.5"};function Rr(e){return null==e||isNaN(e)?"":e.toString()}const Or=S.forwardRef(({value:t,onChange:n,className:r,noScroll:i=!1,noSpinners:s=!1,...l},o)=>{const[c,d]=S.useState(Rr(t));return P(()=>{if(null==t||!isNaN(t)){const e=Rr(t);d(e)}},[t]),e("input",{onWheel:i?e=>{e.target.blur()}:l.onWheel,type:"number",value:c,onChange:e=>{const t=e.target.value;if(d(t),""===t)n&&n(void 0,t);else{const e=parseFloat(t);n&&n(e,t)}},className:a(r,Mr.INPUT,{"no-spinners":s},s&&"[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"),ref:o,...l})});function Sr({size:r,className:i}){const s=function(e){switch(e){case"xs":return"size-2";case"sm":return"size-3";case"md":return"size-4";case"lg":return"size-5";case"xl":return"size-7";case"2xl":return"size-10";default:throw new Error("Unexpected size: "+e)}}(r||"md");return e(n,{children:t("svg",{className:a("animate-[spin_0.8s_linear_infinite] text-indigo-500",s,i),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[e("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),e("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})})}const Dr={primary:"shadow-2xs bg-indigo-600 text-white hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",secondary:"shadow-2xs bg-white text-gray-900 hover:bg-gray-50 ring-1 ring-inset ring-gray-300",soft:"shadow-2xs bg-indigo-50 text-indigo-600 hover:bg-indigo-100",ghost:"text-indigo-600 hover:bg-indigo-100 dark:text-indigo-400 dark:hover:bg-indigo-900",unstyled:""},Ar={primary:"text-white",secondary:"text-indigo-500",soft:"text-indigo-600",ghost:"text-indigo-600",unstyled:"text-gray-600"};function $r({title:n,className:r,type:i="button",children:s,size:l,onClick:o,variant:c="primary",isLoading:d=!1,isDisabled:u=!1}){const m=function(e){switch(e){case"xs":return"rounded-xs px-2 py-1 text-xs gap-x-1";case"sm":return"rounded-xs px-2 py-1 text-sm gap-x-1";case"md":return"rounded-md px-2.5 py-1.5 text-sm gap-x-1.5";case"lg":return"rounded-md px-3 py-2 text-sm gap-x-1.5";case"xl":return"rounded-md px-3.5 py-2.5 text-sm gap-x-2";default:throw new Error("Unexpected size: "+e)}}(l||"md");return t("button",{title:n,disabled:u||d,onClick:o,type:i,className:a("whitespace-nowrap inline-flex items-center justify-center font-semibold hover:cursor-pointer",Dr[c],m,u&&"cursor-not-allowed text-gray-300!",r),children:[d&&e(Sr,{className:Ar[c],size:l}),s]})}function Er({children:n,overlayContent:r,className:a="",overlayClassName:i="",position:s="right",width:l,height:o,showCloseButton:c=!0,onOpen:d,onClose:u,triggerClassName:m="",backdropClassName:h="",animationConfig:p={type:"spring",stiffness:300,damping:30}}){const[g,v]=E(!1),x=function(e){switch(e){case"left":return{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"}};case"right":default:return{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"}};case"top":return{initial:{y:"-100%"},animate:{y:0},exit:{y:"-100%"}};case"bottom":return{initial:{y:"100%"},animate:{y:0},exit:{y:"100%"}};case"center":return{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8}}}}(s),b=function(e,t,n){const r="fixed bg-white shadow-lg p-4 relative";switch(e){case"left":return`${r} left-0 top-[var(--header-height)] h-full ${t||"w-80"}`;case"right":default:return`${r} right-0 top-[var(--header-height)] h-full ${t||"w-80"}`;case"top":return`${r} top-[var(--header-height)] left-0 right-0 ${n||"h-80"}`;case"bottom":return`${r} bottom-0 left-0 right-0 ${n||"h-80"}`;case"center":return`${r} top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 ${t||"w-96"} ${n||"max-h-96"}`}}(s,l,o);return t("div",{className:`flex items-center justify-center w-full ${a}`,children:[e("div",{onClick:()=>{v(!0),d?.()},className:`w-full align-left cursor-pointer ${m}`,children:n}),g&&e("div",{className:`z-45 fixed inset-0 bg-black bg-opacity-50 ${h}`,children:t(we.div,{...x,transition:p,className:`${b} ${i}`,children:[c&&e("div",{className:"absolute top-2 right-2 z-10",children:e($r,{onClick:()=>{v(!1),u?.()},variant:"primary",children:e(f,{})})}),e("div",{className:c?"mt-8":"",children:r})]})})]})}function Pr({children:n,action:r,title:a,description:i,footer:s,className:l}){return t("div",{className:`p-4 flex flex-col gap-2 rounded-sm border bg-card ${l}`,children:[t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e("div",{className:"font-semibold text-lg",children:a}),i&&e(nn,{description:i,children:e(z,{className:"size-4 text-muted"})})]}),r]}),n,s&&e("div",{className:"border-t border-muted flex flex-col-2 text-sm pt-4",children:s})]})}class jr{renderOption(e){return this.labelOf(e)}findById(e,t){return e.find(e=>this.idOf(e)===t)}}function Fr({checkColor:t,cols:n="grid-cols-1",gap:r="gap-2",value:i,onChange:s,options:l,checkIcon:o=Yr,adapter:c}){const[d,u]=E(i),m=e=>{u(e),s(e)},h=d?c.idOf(d):void 0;return e("div",{className:a("grid",n,r),children:l.map(n=>{const r=c.idOf(n);return e(Vr,{checkColor:t,isSelected:r===h,option:n,adapter:c,onSelect:m,CheckIcon:o},r)})})}function Vr({checkColor:n,CheckIcon:r,adapter:a,isSelected:i,option:s,onSelect:l}){const[o,c]=E(!1);return t("div",{className:"flex gap-1 cursor-pointer items-center",onClick:()=>l(s),onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),children:[e("div",{className:"",children:e(r,{size:24,isChecked:i,isHighlighted:o,color:n})}),e("div",{children:a.renderOption(s)})]})}function Yr({size:t,isChecked:n,isHighlighted:r,color:a="currentColor"}){const i=r?1:.6;return e("svg",n?{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",version:"1.1",children:e("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:e("g",{id:"ic_fluent_checkbox_checked_24_regular",fill:a,fillRule:"nonzero",opacity:i,children:e("path",{d:"M18.25,3 C19.7687831,3 21,4.23121694 21,5.75 L21,18.25 C21,19.7687831 19.7687831,21 18.25,21 L5.75,21 C4.23121694,21 3,19.7687831 3,18.25 L3,5.75 C3,4.23121694 4.23121694,3 5.75,3 L18.25,3 Z M18.25,4.5 L5.75,4.5 C5.05964406,4.5 4.5,5.05964406 4.5,5.75 L4.5,18.25 C4.5,18.9403559 5.05964406,19.5 5.75,19.5 L18.25,19.5 C18.9403559,19.5 19.5,18.9403559 19.5,18.25 L19.5,5.75 C19.5,5.05964406 18.9403559,4.5 18.25,4.5 Z M10,14.4393398 L16.4696699,7.96966991 C16.7625631,7.6767767 17.2374369,7.6767767 17.5303301,7.96966991 C17.7965966,8.23593648 17.8208027,8.65260016 17.6029482,8.94621165 L17.5303301,9.03033009 L10.5303301,16.0303301 C10.2640635,16.2965966 9.84739984,16.3208027 9.55378835,16.1029482 L9.46966991,16.0303301 L6.46966991,13.0303301 C6.1767767,12.7374369 6.1767767,12.2625631 6.46966991,11.9696699 C6.73593648,11.7034034 7.15260016,11.6791973 7.44621165,11.8970518 L7.53033009,11.9696699 L10,14.4393398 L16.4696699,7.96966991 L10,14.4393398 Z"})})})}:{width:`${t}px`,height:`${t}px`,viewBox:"0 0 24 24",version:"1.1",children:e("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:e("g",{id:"ic_fluent_checkbox_unchecked_24_regular",fill:a,fillRule:"nonzero",opacity:i,children:e("path",{d:"M5.75,3 L18.25,3 C19.7687831,3 21,4.23121694 21,5.75 L21,18.25 C21,19.7687831 19.7687831,21 18.25,21 L5.75,21 C4.23121694,21 3,19.7687831 3,18.25 L3,5.75 C3,4.23121694 4.23121694,3 5.75,3 Z M5.75,4.5 C5.05964406,4.5 4.5,5.05964406 4.5,5.75 L4.5,18.25 C4.5,18.9403559 5.05964406,19.5 5.75,19.5 L18.25,19.5 C18.9403559,19.5 19.5,18.9403559 19.5,18.25 L19.5,5.75 C19.5,5.05964406 18.9403559,4.5 18.25,4.5 L5.75,4.5 Z"})})})})}function Br({clearTitle:n,ClearIcon:r=f,showFilter:a,filterBy:i,isClearable:s,disabled:l,by:o,options:c,value:d,onChange:u,className:m,addNew:h,addNewLabel:p,placeholder:g,optionLabel:v=e=>String(e),label:x}){const[b,y]=E(),w=$(null),[N,k]=E();P(()=>{if(w.current){const e=new ResizeObserver(e=>{k(e[0].contentRect.width)});return e.observe(w.current),()=>e.disconnect()}},[]);const C=e=>{e.preventDefault(),e.stopPropagation(),s&&u(void 0)},_=e=>{y(e.target.value)};let z=c||[];if(void 0===a&&(a=z?.length>=10),a&&b){const e=b.toLowerCase(),t=function(e){return e?"string"==typeof e?t=>String(t[e]).toLowerCase():e:e=>String(e).toLowerCase()}(i);z=z.filter(n=>t(n).includes(e))}const I=e=>{"Escape"!==e.key&&"Enter"!==e.key&&"ArrowDown"!==e.key&&"ArrowUp"!==e.key&&e.stopPropagation()};return e(ue,{value:d??void 0,onChange:u,by:o,disabled:l,children:()=>e("div",{className:"overflow-y-visible "+m,children:t("div",{className:"relative",children:[t(me,{ref:w,className:"relative w-full cursor-default rounded-md bg-white py-1.5 text-left text-gray-900 shadow-2xs ring-1 ring-inset ring-gray-300 focus:outline-hidden focus:ring-2 focus:ring-indigo-600 dark:ring-slate-600 dark:text-slate-50 dark:bg-slate-800 sm:text-sm sm:leading-6 hover:cursor-pointer",children:[x&&e("div",{className:"w-full text-gray-500 text-left px-2",children:x}),e("span",{className:"block truncate pl-3 pr-14",children:d?v(d):g}),s&&null!=d&&e("span",{className:"absolute inset-y-0 right-0 mr-5 flex items-center pr-2",onClick:C,children:e(r,{title:n,className:"size-5 text-gray-400 hover:text-red-500 cursor-pointer","aria-hidden":"true"})}),!l&&e("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2",children:e(R,{className:"size-5 text-gray-400","aria-hidden":"true"})})]}),t(he,{anchor:"bottom",style:{width:N,zIndex:1e8},className:"absolute z-10 mt-1 overflow-auto rounded-md bg-white dark:ring-slate-600 dark:text-slate-50 dark:bg-slate-800 py-1 text-base shadow-lg ring-1 ring-gray-300 ring-opacity-5 focus:outline-hidden sm:text-sm",children:[a&&e("div",{className:"p-1",children:e("input",{type:"text",value:b||"",onKeyDown:I,onChange:_,className:"w-full p-1 border border-gray-300 rounded-md dark:bg-slate-700 dark:text-slate-50",placeholder:"Filter..."})}),e("div",{className:"overflow-y-auto max-h-60",children:z.map((t,n)=>e(Hr,{option:t,optionLabel:v,className:"hover:cursor-pointer"},n))}),h&&e(Se,{className:"font-semibold py-2 border-t",children:e($r,{variant:"secondary",onClick:h,children:p})})]})]})})})}function Hr({option:r,optionLabel:i,onClick:s,className:l}){return e(pe,{className:({active:e})=>a(e?"bg-indigo-600 text-white dark:bg-indigo-800 dark:text-white":"text-gray-900 dark:text-slate-50","relative cursor-default select-none py-2 pl-3 pr-9",l),value:r,onClick:s,children:({selected:s,active:l})=>t(n,{children:[e("div",{className:a(s?"font-semibold":"font-inherit","block truncate"),children:i(r)}),s?e("div",{className:a(l?"text-white":"text-indigo-600","absolute inset-y-0 right-0 flex items-center pr-4"),children:e(d,{className:"size-5","aria-hidden":"true"})}):null]})})}function Wr(t,n){return{label:String(t),check:e(n?d:"div",{className:"size-4"}),reverse:!1,className:"flex-1 px-2 py-2 hover:bg-accent nowrap"}}function Ur({value:n,options:r,onChange:i,className:s,optionLayout:l,by:o,noCheck:c,filterBy:d}){const[u,m]=E(n),[h,p]=E(""),f=e=>{m(e),i(e)},g=j(()=>"string"==typeof o?(e,t)=>e[o]===t[o]:o||((e,t)=>e===t),[o]);return t("div",{className:a("",s),children:[d&&e(Dt,{type:"text",placeholder:"Filter...",value:h,onChange:e=>p(e)}),r.map((t,n)=>{if(d&&!d(h)(t))return null;const r=!!u&&g(u,t);let a;return l?(a=l(t,r),a=Object.assign(Wr(t,r),a)):a=Wr(t,r),e(Gr,{option:t,onSelect:f,layout:a,noCheck:c},n)})]})}function Gr({option:n,onSelect:r,layout:i,noCheck:s}){return t("div",{className:a("group flex items-center cursor-pointer gap-x-2 hover:bg-muted",i.reverse&&"flex-row-reverse",i.className),onClick:()=>r(n),children:[s?null:e("div",{className:"",children:i.check}),e("div",{className:"flex-1",children:i.label})]})}function Kr({onSelect:r,selected:i,options:s}){return t(be,{value:i,onChange:r,children:[e(be.Label,{className:"sr-only",children:"Server size"}),e("div",{className:"space-y-4",children:s.map(r=>e(be.Option,{value:r,className:({active:e})=>a(e?"border-border ring-2 ring-ring":"border-border","relative block cursor-pointer rounded-lg border bg-accent px-6 py-4 shadow-2xs focus:outline-hidden sm:flex sm:justify-between"),children:({active:i,checked:s})=>t(n,{children:[e("span",{className:"flex items-center",children:t("span",{className:"flex flex-col text-sm",children:[e(be.Label,{as:"span",className:"font-medium text-text",children:r.label}),r.description&&e(be.Description,{as:"span",className:"text-muted-foreground",children:r.description})]})}),e("span",{className:a(i?"border":"border-2",s?"border-accent-foreground":"border-transparent","pointer-events-none absolute -inset-px rounded-lg"),"aria-hidden":"true"})]})},r.id))})]})}function Jr({isOpen:n,title:r,onClose:a,children:i,panelWidth:s=768,backdrop:l=!1}){const[o,c]=E(s);return e(Ne,{children:n&&t("div",{className:"relative z-20",children:[l&&e(we.div,{className:"fixed inset-0 bg-black/70",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:a}),e("div",{className:"fixed inset-y-0 right-0 overflow-hidden",children:e("div",{className:"absolute inset-0 overflow-hidden",children:e("div",{className:"pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10 sm:pl-16",children:e(we.div,{className:"pointer-events-auto border-l",style:{width:`${o}px`},initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",stiffness:300,damping:30},children:t("div",{className:"relative flex h-full",children:[e("div",{className:"absolute -left-1 top-0 bottom-0 w-3 cursor-ew-resize hover:bg-indigo-500 transition-colors flex items-center justify-center",onMouseDown:e=>{e.preventDefault();let t=!0;const n=e.pageX,r=o,a=e=>{if(t){const t=n-e.pageX,a=Math.max(r+t,480);c(a)}},i=()=>{t=!1,document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)},children:e(C,{className:"rotate-90 font-semibold",strokeWidth:4})}),t("div",{className:"flex-1 flex flex-col overflow-y-scroll gap-4 bg-background py-2 shadow-xl",children:[r&&e("div",{className:"px-2 sm:px-4",children:t("div",{className:"flex items-start justify-between",children:[e("h2",{className:"w-full text-base font-semibold leading-6",children:e("div",{className:"text-2xl",children:r??""})}),e("div",{className:"ml-3 flex h-7 items-center",children:e(Zr,{onClose:a})})]})}),e("div",{className:"px-2 sm:px-4",children:i})]})]})})})})})]})})}function Zr({onClose:t}){return e(tt,{alt:"Close panel",variant:"ghost",onClick:t,children:e(f,{className:"size-6","aria-hidden":"true"})})}const qr={sm:["h-5 w-8","size-3","translate-x-4"],md:["h-6 w-11","size-4","translate-x-6"],lg:["h-8 w-16","size-6","translate-x-9"]};function Xr({value:n,onChange:r,size:a="md",children:i,className:s,disabled:l}){const o=qr[a];return t(ye,{checked:n,onChange:()=>r(!n),className:`flex items-center ${s} ${l?"cursor-not-allowed opacity-50":"hover:cursor-pointer"}`,children:[e("div",{className:`${n?"bg-primary":"bg-muted/50"} relative inline-flex ${o[0]} items-center rounded-full border-1`,children:e("span",{className:`${n?o[2]:"translate-x-1"} inline-block ${o[1]} transform rounded-full bg-white transition`})}),i&&e("span",{className:"px-2",children:i})]})}function Qr({className:t,children:n,...r}){return e("table",{className:a("\ndivide-y divide-border\n[&>tbody]:divide-y [&>tbody]:divide-border\n[&_th]:text-left [&_th]:px-3 [&_th]:py-3.5 [&_th]:text-sm [&_th]:font-normal [&_th]:text-muted-foreground\n[&_td]:px-3 [&_td]:py-4 [&_td]:text-sm\n",t),...r,children:n})}function ea({children:t}){return e("thead",{className:"sticky top-0 bg-background z-10 after:absolute after:bottom-0 after:left-0 after:w-full after:h-px after:bg-muted/20",children:t})}function ta({columns:t}){return e("tr",{className:"hover:bg-muted",children:Array(t).fill(0).map((t,n)=>e("td",{children:e("div",{className:"animate-pulse rounded-xs h-5 bg-muted"})},n))})}function na({isLoading:t=!1,columns:n,rows:r=3,children:a}){return e("tbody",{children:t?Array(r).fill(0).map((t,r)=>e(ta,{columns:n},r)):a})}function ra({className:t,children:n,...r}){return e("tr",{className:a("hover:bg-muted hover:cursor-pointer",t),...r,children:n})}function aa(){return A(ia)}const ia=D({});function sa(e,t){const n="function"==typeof t?t():t;let r=null;const a=[];for(const t of e){const e={...t};e.current=!1,a.push(e),e.name===n&&(r=e)}return r||(r=a[0]),r.current=!0,a}function la({current:t,onSelect:n,tabs:r,children:a,navigate:i}){const[s,l]=E([]);P(()=>{l(sa(r,t))},[t,r]);const o={tabs:s,select:e=>{n&&!1===n(e)||(e.href?i?i(e.href):window.location.href=e.href:l([...sa(s,e.name)]))}};return e(ia.Provider,{value:o,children:e("div",{className:"flex flex-col h-full",children:a})})}function oa({actions:n,className:r}){const{tabs:i,select:s}=aa();return t("div",{className:"border-b flex items-start justify-between",children:[e("nav",{className:"flex space-x-4 px-4","aria-label":"Tabs",children:i.map(t=>{const n=t.disabled?"cursor-not-allowed":"cursor-pointer";return e("a",{href:t.href||"#"+t.name,onClick:e=>((e,t)=>{e.preventDefault(),e.stopPropagation(),!t.disabled&&s(t)})(e,t),className:a(t.current?"border-indigo-500 text-indigo-600 dark:border-indigo-400 dark:text-indigo-50":"border-transparent text-gray-500 dark:text-slate-300 hover:border-slate-400 hover:text-gray-700 dark:hover:border-slate-200 dark:hover:text-gray-200 ",r,"whitespace-nowrap border-b-2 py-2 px-1 text-sm font-medium",n),"aria-current":t.current?"page":void 0,children:t.label},t.name)})}),e("div",{className:"flex gap-x-1",children:n})]})}function ca({}){const{tabs:t}=aa(),n=t.find(e=>e.current)?.content;if(!n)return null;if(Y(n))return e("div",{className:"h-full overflow-y-auto flex-1",children:n});return e("div",{className:"h-full overflow-y-auto flex-1",children:e(n,{})})}function da({options:r,value:i,onChange:s,onOptionsChange:l,placeholder:o,className:c,disabled:d,layout:u="horizontal",creatable:m=!1,createText:h='Create "%value%"',maxDropdownHeight:p=200}){const g=A($t),[v,x]=E(""),[b,y]=E(0),[w,N]=E(0),[k,C]=E(null),_=$(null),z=$(null),I=$(null),T=$(null),L=g?.open??!1,M=g?.setOpen??(()=>{});P(()=>{const e=z.current;if(!e)return;const t=()=>{const t=e.getBoundingClientRect().width;N(t)},n=new ResizeObserver(()=>{t()});return t(),n.observe(e),()=>{n.disconnect()}},[]);const R=r.filter(e=>!i.includes(e)&&e.toLowerCase().includes(v.toLowerCase())),O=m&&v&&!i.includes(v)&&!r.includes(v),S=R.length+(O?1:0);P(()=>{y(0)},[v,O]),P(()=>{""!==v&&C(null)},[v]),P(()=>{L&&T.current&&I.current&&T.current.scrollIntoView({block:"nearest",behavior:"smooth"})},[b,L]),P(()=>{L?_.current?.focus():x("")},[L]);const D=e=>{s([...i,e]),x(""),M(!1),y(0),C(null)},j=e=>{s([...i,e]),l&&!r.includes(e)&&l([...r,e]),x(""),M(!1),y(0),C(null)},F=(e,t)=>{t.stopPropagation(),s(i.filter(t=>t!==e)),C(null)};return t("div",{className:a("relative",c),children:[e(jt,{asChild:!0,children:t("div",{ref:z,className:a("min-h-[40px] w-full rounded-md border border-input bg-background px-3 py-2","flex items-center gap-1","horizontal"===u?"flex-wrap":"flex-col items-stretch","cursor-text","ring-offset-background",d&&"opacity-50 cursor-not-allowed",L?"ring-1 ring-inset ring-ring":""),onClick:()=>{d||_.current?.focus()},children:["vertical"===u&&i.length>0&&e("div",{className:"flex flex-col gap-1 w-full",children:i.map((n,r)=>t("span",{className:a("inline-flex items-center justify-between gap-2 px-2 py-1 text-sm bg-primary/10 text-primary rounded-md w-full transition-all",k===r&&"ring-2 ring-red-300 shadow-[0_0_8px_rgba(252,165,165,0.5)]"),children:[e("span",{className:"truncate",children:n}),e("button",{type:"button",onClick:e=>F(n,e),disabled:d,className:"hover:bg-primary/20 rounded-sm transition-colors flex-shrink-0",children:e(f,{className:"h-3 w-3"})})]},n))}),"horizontal"===u&&i.map((n,r)=>t("span",{className:a("inline-flex items-center gap-1 px-2 py-1 text-sm bg-primary/10 text-primary rounded-md transition-all",k===r&&"ring-2 ring-red-300 shadow-[0_0_8px_rgba(252,165,165,0.5)]"),children:[n,e("button",{type:"button",onClick:e=>F(n,e),disabled:d,className:"hover:bg-primary/20 rounded-sm transition-colors",children:e(f,{className:"h-3 w-3"})})]},n)),e("input",{ref:_,type:"text",value:v,onChange:e=>x(e.target.value),onKeyDown:e=>{if("Enter"===e.key&&L&&S>0)return e.preventDefault(),e.stopPropagation(),void(b===R.length&&O?j(v):b<R.length&&D(R[b]));if("ArrowDown"===e.key)return e.preventDefault(),e.stopPropagation(),void(L?y(e=>e<S-1?e+1:e):M(!0));if("ArrowUp"===e.key)return e.preventDefault(),e.stopPropagation(),void(L?y(e=>e>0?e-1:0):M(!0));if("Escape"===e.key)return e.preventDefault(),e.stopPropagation(),void M(!1);if("Backspace"===e.key&&""===v&&i.length>0){e.stopPropagation();const t=i.length-1;return void(k===t?(s(i.slice(0,-1)),C(null)):C(t))}L||1!==e.key.length||M(!0)},onClick:e=>{e.stopPropagation(),d||M(!0)},onFocus:()=>{d||M(!0)},disabled:d,placeholder:0===i.length?o:"",className:a("flex-1 min-w-[120px] bg-transparent text-sm","placeholder:text-muted-foreground","border-none outline-none focus:outline-none focus:ring-0 p-0 m-0","vertical"===u&&"w-full")})]})}),e(Vt,{style:{width:`${w}px`},className:"p-0 bg-popover border border-border shadow-lg",align:"start",side:"bottom",onOpenAutoFocus:e=>{e.preventDefault()},children:e("div",{ref:I,className:"overflow-y-auto",style:{maxHeight:`${p}px`},children:0!==R.length||O?t(n,{children:[R.length>0&&e("ul",{className:"py-1",children:R.map((t,n)=>e("li",{ref:e=>{n===b&&(T.current=e)},onClick:()=>D(t),onMouseEnter:()=>y(n),className:a("px-3 py-2 text-sm cursor-pointer transition-colors",n===b?"bg-blue-500/20 text-foreground":"hover:bg-accent/50"),children:t},t))}),O&&t(n,{children:[R.length>0&&e("div",{className:"border-t border-border"}),e("div",{ref:e=>{b===R.length&&(T.current=e)},onClick:()=>j(v),onMouseEnter:()=>y(R.length),className:a("px-3 py-2 text-sm cursor-pointer transition-colors text-primary",b===R.length?"bg-blue-500/20":"hover:bg-accent/50"),children:h.replace("%value%",v)})]})]}):e("div",{className:"px-3 py-2 text-sm text-muted-foreground",children:v?"No options found":"No more options available"})})})]})}function ua(t){return e(Et,{click:!0,children:e(da,{...t})})}class ma{_value;watchers=[];name;constructor(e,t){this._value=e,this.name=t}get value(){return this._value}set value(e){if(e!==this._value){this._value=e;for(const t of this.watchers)t(e)}}watch(e){return this.watchers.push(e),()=>{this.watchers=this.watchers.filter(t=>t!==e)}}}function ha(e){const t=S.createContext(void 0);return e.Context=t,t.Provider}class pa{consume=void 0;_current;constructor(e){this._current=e}set current(e){e!==this._current&&(this._current=e,this.consume?.(e))}get current(){return this._current}withConsumer(e){return this.consume=e,e&&e(this.current),this}}function fa(e){const t=e.Context;if(!t)throw new Error("Context not defined for "+e.name);return A(t)}function ga(e){const[t,n]=E(e.value);return P(()=>e.watch(e=>{n("function"==typeof e?()=>e:e)}),[e]),t}function va(e,t){return P(()=>(e.value=t,()=>{e.value=void 0}),[e,t]),t}function xa(e,t){P(()=>e.watch(t),[e,t])}function ba(e){const[t,n]=E(e.current);return P(()=>(e.withConsumer(n),()=>{e.withConsumer(void 0)}),[e]),t}function ya(e,t){P(()=>(e.withConsumer(t),()=>{e.withConsumer(void 0)}),[e,t])}function wa(e,t){P(()=>(e.current=t,()=>{e.current=void 0}),[e,t])}class Na{compute;_value;watchers=[];unsubscribers=[];name;constructor(e,t,n){this.compute=e,this.name=n,this.recalculate();for(const e of t)this.unsubscribers.push(e.watch(()=>this.recalculate()))}recalculate(){const e=this.compute();if(e!==this._value){this._value=e;for(const t of this.watchers)t(e)}}get value(){return this._value}watch(e){return this.watchers.push(e),()=>{this.watchers=this.watchers.filter(t=>t!==e)}}dispose(){for(const e of this.unsubscribers)e();this.watchers=[]}}class ka{_value;watchers=[];constructor(e){this._value=e}get value(){return this._value}set value(e){if(e!==this._value){this._value=e;for(const t of this.watchers)t(e)}}addWatcher(e){return this.watchers.push(e),()=>{this.watchers=this.watchers.filter(t=>t!==e)}}}function Ca(e){const[t,n]=E(e.value);return P(()=>e.addWatcher(e=>{n("function"==typeof e?()=>e:e)}),[e]),t}function _a(e,t){const n=$(null);return P(()=>{const r=r=>{n.current&&!n.current.contains(r.target)&&(t&&t(r)||e(r))};return window.setTimeout(()=>{document.addEventListener("click",r)},0),()=>{document.removeEventListener("click",r)}},[]),n}function za(){const[e,t]=E(null);return[e,async e=>{if(!navigator?.clipboard)return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(e),t(e),!0}catch(e){return console.warn("Copy failed",e),t(null),!1}}]}function Ia(e){P(()=>{const t=window.matchMedia("(prefers-color-scheme: dark)"),n=t=>e(t.matches);return t.addEventListener("change",n),e(t.matches),()=>t.removeEventListener("change",n)},[])}function Ta(e,t){const[n,r]=E(e);return P(()=>{const n=setTimeout(()=>{r(e)},t);return()=>{clearTimeout(n)}},[e,t]),n}function La(e,t,n){const r=[],a=new EventSource(e);return a.addEventListener("message",e=>{const n=JSON.parse(e.data);n&&(r.push(n),t(r.join("")))}),a.addEventListener("close",e=>{a.close();const t=JSON.parse(e.data);n(t)}),()=>{a.close()}}function Ma(e,t,n){P(()=>{"function"==typeof e?e().then(e=>La(e,t,n)):La(e,t,n)},[e])}function Ra(e,t){Array.isArray(t)&&(t={deps:t});const n=t||{},[r,a]=E(null),[i,s]=E(!1),[l,o]=E(n.defaultValue),c=()=>(n.start&&n.start(),s(!0),e().then(e=>{o(e),n.onSuccess&&n.onSuccess(e)}).catch(e=>{a(e),n.onError&&n.onError(e)}).finally(()=>{s(!1),n.end&&n.end()}));return P(()=>{n.condition&&!n.condition()||c()},n.deps),{data:l,isLoading:i,error:r,setData:o,refetch:c}}function Oa(e,t){return!t||Array.isArray(t)?t={deps:[]}:t&&(t.deps=[]),Ra(e,t)}function Sa(e=!1){const[t,n]=E(e);return{isOn:t,isOff:!t,set:e=>n(e),on:()=>n(!0),off:()=>n(!1),toggle:()=>n(!t)}}function Da(e,t,n={}){P(()=>{const r=new IntersectionObserver(e=>{const r=e[0].isIntersecting;n.leave?r||t(e[0]):r&&t(e[0])},{threshold:n.threshold||1});return e.current&&r.observe(e.current),()=>{e.current&&r.unobserve(e.current)}},n.deps?n.deps.concat(e):[e])}function Aa(){const e=$(!0);return P(t=>(t&&e.current&&t(),e.current=!1,()=>{e.current=!0}),[]),e.current}const $a="undefined"!=typeof window?B:P;function Ea(e,t=[]){const n=e.pageSize||50,[r,a]=E(null),[i,s]=E(e.payload),[l,o]=E(null),[c,d]=E([]),[u,m]=E(null),[h,p]=E(!1),f=$(0),g=e=>{a(null),d([]),m(null),s(e)},v=()=>{null!==u&&a(u)};return P(()=>{f.current+=1;const t=f.current;p(!0),e.search(i,r,n).then(e=>{t===f.current&&(d(null===r?e.result:t=>[...t,...e.result]),m(e.nextPage),o(null))}).catch(e=>{t===f.current&&o(e)}).finally(()=>{t===f.current&&p(!1)})},[...t,i,r]),K(e.nextPageTrigger,()=>{!h&&u&&v()},{threshold:.1,deps:[u,h]}),{search:g,refresh:()=>g(i),searchMore:v,result:c,page:r,hasMore:null!==u,error:l,isSearching:h}}function Pa(e,t=[]){return Ea({...e,async search(t,n,r){const a=n??0,i=a*r,s=await e.search(t,i,r);return{result:s,nextPage:0===s.length?null:a+1}}},t)}class ja{state;constructor(e){this.state=e}get(){return this.state[0]}set(e){this.state[1](e)}}function Fa(e){const t=E(e);return new ja(t)}function Va(...e){return s(i(e))}export{Nn as AnimateChangeInHeight,_e as Avatar,Le as Badge,pn as Breadcrumbs,tt as Button,ot as Card,mt as CardContent,ut as CardDescription,ht as CardFooter,ct as CardHeader,dt as CardTitle,Se as Center,kn as Checkbox,Ke as ComboBox,Bt as Command,Ht as CommandDialog,Gt as CommandEmpty,Kt as CommandGroup,Wt as CommandInput,Zt as CommandItem,Ut as CommandList,Jt as CommandSeparator,qt as CommandShortcut,Na as ComputedProperty,Jn as ConfirmModal,nt as CopyButton,Ye as DOMPopup,In as DateCombobox,kr as DefaultBox,ar as DeleteModal,_t as Dialog,Tt as DialogClose,Mt as DialogContent,Rt as DialogDescription,Lt as DialogOverlay,It as DialogPortal,Ot as DialogTitle,zt as DialogTrigger,ir as Divider,Oe as DotBadge,ur as DropZone,sr as Dropdown,or as DropdownList,cr as EmptyCollection,br as ErrorBox,dr as FileUploadInput,jn as FilterBar,Pn as FilterBtn,Fn as FilterClear,Vn as FilterOperator,En as FilterProvider,hr as FormItem,Yn as Heading,yr as InfoBox,Dt as Input,pr as InputList,hn as Label,fr as Link,Hr as ListOption,lr as MenuItem,gr as MenuList,xr as MessageBox,Cr as Modal,Tr as ModalBody,yt as ModalContextProvider,Ir as ModalFooter,zr as ModalTitle,st as ModeOption,lt as ModeToggle,Or as NumberInput,He as OptionAdapter,Er as Overlay,Pr as Panel,Et as Popover,Ft as PopoverAnchor,Yt as PopoverClose,Vt as PopoverContent,$t as PopoverContext,jt as PopoverTrigger,Be as Popup,je as PopupController,Qn as Portal,gt as PortalContainerProvider,ma as Property,Fr as RadioGroup,jr as RadioOptionAdapter,Gn as ResizableHandle,Un as ResizablePanel,Wn as ResizablePanelGroup,ta as RowSkeleton,Br as SelectBox,Ur as SelectList,Kr as SelectStack,_n as SelectionCombobox,At as Separator,ka as SharedState,ja as SharedValue,Jr as SidePanel,pa as Slot,Sr as Spinner,Ln as StringListCombobox,We as StringOptionAdapter,Ue as StringOptionAdapterWithCreate,Mr as Styles,Nr as SuccessBox,ze as SvgAvatar,Xr as Switch,na as TBody,ea as THead,ra as TR,Qr as Table,la as Tabs,oa as TabsBar,un as TabsContent,ia as TabsContext,cn as TabsList,ca as TabsPanel,dn as TabsTrigger,ua as TagsInput,Hn as Text,Tn as TextCombobox,Kn as Textarea,at as ThemeProvider,rt as ThemeProviderContext,qn as ToastContext,rr as ToastProvider,Qt as Tooltip,tn as TooltipContent,Xt as TooltipProvider,en as TooltipTrigger,wt as VModal,kt as VModalBody,Ct as VModalFooter,Nt as VModalTitle,rn as VSelectBox,sn as VTabs,ln as VTabsBar,on as VTabsPanel,nn as VTooltip,wr as WarningBox,et as buttonVariants,Va as cn,$e as computePosition,ha as createCompositeStateProvider,Ge as getDefaultComboBoxLayout,_a as useClickOutside,Xe as useComboboxCtrl,fa as useCompositeState,za as useCopyToClipboard,Ia as useDarkMode,Ta as useDebounce,Pa as useDefaultScrollableSearch,wa as useDefineSlot,mr as useDropZone,Ma as useEventSource,Ra as useFetch,Oa as useFetchOnce,Sa as useFlag,ga as useGetCompositeStateProperty,Da as useIntersectionObserver,Aa as useIsFirstRendering,bt as useIsInModal,Ve as usePopupController,vt as usePortalContainer,$a as useSafeLayoutEffect,Ea as useScrollableSearch,va as useSetCompositeStateProperty,Fa as useSharedValue,ba as useSlot,aa as useTabs,it as useTheme,Zn as useToast,xa as useWatchCompositeStateProperty,Ca as useWatchSharedState,ya as useWatchSlot};
2
- //# sourceMappingURL=vertesia-ui-core.js.map