@parhelia/core 0.1.11004 → 0.1.11005

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 (1104) hide show
  1. package/dist/dist/agents-view/AgentCard.d.ts +12 -0
  2. package/dist/dist/agents-view/AgentCard.js +30 -0
  3. package/dist/dist/agents-view/AgentCard.js.map +1 -0
  4. package/dist/dist/agents-view/AgentsView.d.ts +5 -0
  5. package/dist/dist/agents-view/AgentsView.js +255 -0
  6. package/dist/dist/agents-view/AgentsView.js.map +1 -0
  7. package/dist/dist/agents-view/ProfileAgentsGroup.d.ts +17 -0
  8. package/dist/dist/agents-view/ProfileAgentsGroup.js +13 -0
  9. package/dist/dist/agents-view/ProfileAgentsGroup.js.map +1 -0
  10. package/dist/dist/client-components/api.d.ts +1 -0
  11. package/dist/dist/client-components/api.js +4 -0
  12. package/dist/dist/client-components/api.js.map +1 -0
  13. package/dist/dist/client-components/index.d.ts +17 -0
  14. package/dist/dist/client-components/index.js +18 -0
  15. package/dist/dist/client-components/index.js.map +1 -0
  16. package/dist/dist/components/ActionButton.d.ts +14 -0
  17. package/dist/dist/components/ActionButton.js +6 -0
  18. package/dist/dist/components/ActionButton.js.map +1 -0
  19. package/dist/dist/components/Error.d.ts +9 -0
  20. package/dist/dist/components/Error.js +24 -0
  21. package/dist/dist/components/Error.js.map +1 -0
  22. package/dist/dist/components/FilterInput.d.ts +22 -0
  23. package/dist/dist/components/FilterInput.js +29 -0
  24. package/dist/dist/components/FilterInput.js.map +1 -0
  25. package/dist/dist/components/index.d.ts +7 -0
  26. package/dist/dist/components/index.js +5 -0
  27. package/dist/dist/components/index.js.map +1 -0
  28. package/dist/dist/components/ui/CardConnector.d.ts +4 -0
  29. package/dist/dist/components/ui/CardConnector.js +6 -0
  30. package/dist/dist/components/ui/CardConnector.js.map +1 -0
  31. package/dist/dist/components/ui/LanguageSelector.d.ts +8 -0
  32. package/dist/dist/components/ui/LanguageSelector.js +53 -0
  33. package/dist/dist/components/ui/LanguageSelector.js.map +1 -0
  34. package/dist/dist/components/ui/PlaceholderInput.d.ts +41 -0
  35. package/dist/dist/components/ui/PlaceholderInput.js +160 -0
  36. package/dist/dist/components/ui/PlaceholderInput.js.map +1 -0
  37. package/dist/dist/components/ui/PlaceholderInputTypes.d.ts +41 -0
  38. package/dist/dist/components/ui/PlaceholderInputTypes.js +48 -0
  39. package/dist/dist/components/ui/PlaceholderInputTypes.js.map +1 -0
  40. package/dist/dist/components/ui/PlaceholderItemSelector.d.ts +7 -0
  41. package/dist/dist/components/ui/PlaceholderItemSelector.js +154 -0
  42. package/dist/dist/components/ui/PlaceholderItemSelector.js.map +1 -0
  43. package/dist/dist/components/ui/alert.d.ts +7 -0
  44. package/dist/dist/components/ui/alert.js +21 -0
  45. package/dist/dist/components/ui/alert.js.map +1 -0
  46. package/dist/dist/components/ui/badge.d.ts +9 -0
  47. package/dist/dist/components/ui/badge.js +23 -0
  48. package/dist/dist/components/ui/badge.js.map +1 -0
  49. package/dist/dist/components/ui/button.d.ts +10 -0
  50. package/dist/dist/components/ui/button.js +33 -0
  51. package/dist/dist/components/ui/button.js.map +1 -0
  52. package/dist/dist/components/ui/calendar.d.ts +7 -0
  53. package/dist/dist/components/ui/calendar.js +58 -0
  54. package/dist/dist/components/ui/calendar.js.map +1 -0
  55. package/dist/dist/components/ui/card.d.ts +19 -0
  56. package/dist/dist/components/ui/card.js +78 -0
  57. package/dist/dist/components/ui/card.js.map +1 -0
  58. package/dist/dist/components/ui/checkbox.d.ts +4 -0
  59. package/dist/dist/components/ui/checkbox.js +10 -0
  60. package/dist/dist/components/ui/checkbox.js.map +1 -0
  61. package/dist/dist/components/ui/command.d.ts +18 -0
  62. package/dist/dist/components/ui/command.js +35 -0
  63. package/dist/dist/components/ui/command.js.map +1 -0
  64. package/dist/dist/components/ui/context-menu.d.ts +53 -0
  65. package/dist/dist/components/ui/context-menu.js +290 -0
  66. package/dist/dist/components/ui/context-menu.js.map +1 -0
  67. package/dist/dist/components/ui/copy-button.d.ts +10 -0
  68. package/dist/dist/components/ui/copy-button.js +61 -0
  69. package/dist/dist/components/ui/copy-button.js.map +1 -0
  70. package/dist/dist/components/ui/dialog.d.ts +16 -0
  71. package/dist/dist/components/ui/dialog.js +37 -0
  72. package/dist/dist/components/ui/dialog.js.map +1 -0
  73. package/dist/dist/components/ui/dropdown-menu.d.ts +25 -0
  74. package/dist/dist/components/ui/dropdown-menu.js +52 -0
  75. package/dist/dist/components/ui/dropdown-menu.js.map +1 -0
  76. package/dist/dist/components/ui/input.d.ts +3 -0
  77. package/dist/dist/components/ui/input.js +9 -0
  78. package/dist/dist/components/ui/input.js.map +1 -0
  79. package/dist/dist/components/ui/label.d.ts +5 -0
  80. package/dist/dist/components/ui/label.js +9 -0
  81. package/dist/dist/components/ui/label.js.map +1 -0
  82. package/dist/dist/components/ui/menubar.d.ts +26 -0
  83. package/dist/dist/components/ui/menubar.js +55 -0
  84. package/dist/dist/components/ui/menubar.js.map +1 -0
  85. package/dist/dist/components/ui/paste-button.d.ts +14 -0
  86. package/dist/dist/components/ui/paste-button.js +114 -0
  87. package/dist/dist/components/ui/paste-button.js.map +1 -0
  88. package/dist/dist/components/ui/popover.d.ts +11 -0
  89. package/dist/dist/components/ui/popover.js +66 -0
  90. package/dist/dist/components/ui/popover.js.map +1 -0
  91. package/dist/dist/components/ui/progress.d.ts +7 -0
  92. package/dist/dist/components/ui/progress.js +9 -0
  93. package/dist/dist/components/ui/progress.js.map +1 -0
  94. package/dist/dist/components/ui/select.d.ts +18 -0
  95. package/dist/dist/components/ui/select.js +34 -0
  96. package/dist/dist/components/ui/select.js.map +1 -0
  97. package/dist/dist/components/ui/sonner.d.ts +3 -0
  98. package/dist/dist/components/ui/sonner.js +16 -0
  99. package/dist/dist/components/ui/sonner.js.map +1 -0
  100. package/dist/dist/components/ui/switch.d.ts +4 -0
  101. package/dist/dist/components/ui/switch.js +9 -0
  102. package/dist/dist/components/ui/switch.js.map +1 -0
  103. package/dist/dist/components/ui/tabs.d.ts +17 -0
  104. package/dist/dist/components/ui/tabs.js +27 -0
  105. package/dist/dist/components/ui/tabs.js.map +1 -0
  106. package/dist/dist/components/ui/textarea.d.ts +3 -0
  107. package/dist/dist/components/ui/textarea.js +11 -0
  108. package/dist/dist/components/ui/textarea.js.map +1 -0
  109. package/dist/dist/components/ui/tooltip.d.ts +9 -0
  110. package/dist/dist/components/ui/tooltip.js +18 -0
  111. package/dist/dist/components/ui/tooltip.js.map +1 -0
  112. package/dist/dist/components/ui/upload-button.d.ts +15 -0
  113. package/dist/dist/components/ui/upload-button.js +56 -0
  114. package/dist/dist/components/ui/upload-button.js.map +1 -0
  115. package/dist/dist/config/config.d.ts +24 -0
  116. package/dist/dist/config/config.js +1088 -0
  117. package/dist/dist/config/config.js.map +1 -0
  118. package/dist/dist/config/types.d.ts +244 -0
  119. package/dist/dist/config/types.js +2 -0
  120. package/dist/dist/config/types.js.map +1 -0
  121. package/dist/dist/editor/AspectRatioSelector.d.ts +13 -0
  122. package/dist/dist/editor/AspectRatioSelector.js +71 -0
  123. package/dist/dist/editor/AspectRatioSelector.js.map +1 -0
  124. package/dist/dist/editor/ComponentInfo.d.ts +4 -0
  125. package/dist/dist/editor/ComponentInfo.js +41 -0
  126. package/dist/dist/editor/ComponentInfo.js.map +1 -0
  127. package/dist/dist/editor/ConfirmationDialog.d.ts +19 -0
  128. package/dist/dist/editor/ConfirmationDialog.js +31 -0
  129. package/dist/dist/editor/ConfirmationDialog.js.map +1 -0
  130. package/dist/dist/editor/ContentTree.d.ts +39 -0
  131. package/dist/dist/editor/ContentTree.js +602 -0
  132. package/dist/dist/editor/ContentTree.js.map +1 -0
  133. package/dist/dist/editor/ContextMenu.d.ts +15 -0
  134. package/dist/dist/editor/ContextMenu.js +239 -0
  135. package/dist/dist/editor/ContextMenu.js.map +1 -0
  136. package/dist/dist/editor/Editor.d.ts +12 -0
  137. package/dist/dist/editor/Editor.js +116 -0
  138. package/dist/dist/editor/Editor.js.map +1 -0
  139. package/dist/dist/editor/EditorWarning.d.ts +5 -0
  140. package/dist/dist/editor/EditorWarning.js +12 -0
  141. package/dist/dist/editor/EditorWarning.js.map +1 -0
  142. package/dist/dist/editor/EditorWarnings.d.ts +9 -0
  143. package/dist/dist/editor/EditorWarnings.js +19 -0
  144. package/dist/dist/editor/EditorWarnings.js.map +1 -0
  145. package/dist/dist/editor/FieldActionsOverlay.d.ts +18 -0
  146. package/dist/dist/editor/FieldActionsOverlay.js +201 -0
  147. package/dist/dist/editor/FieldActionsOverlay.js.map +1 -0
  148. package/dist/dist/editor/FieldEditorPopup.d.ts +10 -0
  149. package/dist/dist/editor/FieldEditorPopup.js +23 -0
  150. package/dist/dist/editor/FieldEditorPopup.js.map +1 -0
  151. package/dist/dist/editor/FieldHistory.d.ts +7 -0
  152. package/dist/dist/editor/FieldHistory.js +45 -0
  153. package/dist/dist/editor/FieldHistory.js.map +1 -0
  154. package/dist/dist/editor/FieldList.d.ts +19 -0
  155. package/dist/dist/editor/FieldList.js +90 -0
  156. package/dist/dist/editor/FieldList.js.map +1 -0
  157. package/dist/dist/editor/FieldListField.d.ts +16 -0
  158. package/dist/dist/editor/FieldListField.js +286 -0
  159. package/dist/dist/editor/FieldListField.js.map +1 -0
  160. package/dist/dist/editor/FieldListFieldWithFallbacks.d.ts +11 -0
  161. package/dist/dist/editor/FieldListFieldWithFallbacks.js +120 -0
  162. package/dist/dist/editor/FieldListFieldWithFallbacks.js.map +1 -0
  163. package/dist/dist/editor/FloatingToolbar.d.ts +7 -0
  164. package/dist/dist/editor/FloatingToolbar.js +91 -0
  165. package/dist/dist/editor/FloatingToolbar.js.map +1 -0
  166. package/dist/dist/editor/ImageEditButton.d.ts +27 -0
  167. package/dist/dist/editor/ImageEditButton.js +22 -0
  168. package/dist/dist/editor/ImageEditButton.js.map +1 -0
  169. package/dist/dist/editor/ImageEditor.d.ts +5 -0
  170. package/dist/dist/editor/ImageEditor.js +76 -0
  171. package/dist/dist/editor/ImageEditor.js.map +1 -0
  172. package/dist/dist/editor/ItemInfo.d.ts +4 -0
  173. package/dist/dist/editor/ItemInfo.js +60 -0
  174. package/dist/dist/editor/ItemInfo.js.map +1 -0
  175. package/dist/dist/editor/LinkEditorDialog.d.ts +18 -0
  176. package/dist/dist/editor/LinkEditorDialog.js +101 -0
  177. package/dist/dist/editor/LinkEditorDialog.js.map +1 -0
  178. package/dist/dist/editor/MainLayout.d.ts +12 -0
  179. package/dist/dist/editor/MainLayout.js +124 -0
  180. package/dist/dist/editor/MainLayout.js.map +1 -0
  181. package/dist/dist/editor/MobileLayout.d.ts +2 -0
  182. package/dist/dist/editor/MobileLayout.js +34 -0
  183. package/dist/dist/editor/MobileLayout.js.map +1 -0
  184. package/dist/dist/editor/NewEditorClient.d.ts +5 -0
  185. package/dist/dist/editor/NewEditorClient.js +7 -0
  186. package/dist/dist/editor/NewEditorClient.js.map +1 -0
  187. package/dist/dist/editor/PictureCropper.d.ts +6 -0
  188. package/dist/dist/editor/PictureCropper.js +722 -0
  189. package/dist/dist/editor/PictureCropper.js.map +1 -0
  190. package/dist/dist/editor/PictureEditor.d.ts +9 -0
  191. package/dist/dist/editor/PictureEditor.js +180 -0
  192. package/dist/dist/editor/PictureEditor.js.map +1 -0
  193. package/dist/dist/editor/PictureEditorDialog.d.ts +8 -0
  194. package/dist/dist/editor/PictureEditorDialog.js +195 -0
  195. package/dist/dist/editor/PictureEditorDialog.js.map +1 -0
  196. package/dist/dist/editor/QuickItemSwitcher.d.ts +9 -0
  197. package/dist/dist/editor/QuickItemSwitcher.js +78 -0
  198. package/dist/dist/editor/QuickItemSwitcher.js.map +1 -0
  199. package/dist/dist/editor/ScrollingContentTree.d.ts +10 -0
  200. package/dist/dist/editor/ScrollingContentTree.js +48 -0
  201. package/dist/dist/editor/ScrollingContentTree.js.map +1 -0
  202. package/dist/dist/editor/SetupLoadingScreen.d.ts +5 -0
  203. package/dist/dist/editor/SetupLoadingScreen.js +11 -0
  204. package/dist/dist/editor/SetupLoadingScreen.js.map +1 -0
  205. package/dist/dist/editor/Titlebar.d.ts +1 -0
  206. package/dist/dist/editor/Titlebar.js +46 -0
  207. package/dist/dist/editor/Titlebar.js.map +1 -0
  208. package/dist/dist/editor/ai/AgentCostDisplay.d.ts +32 -0
  209. package/dist/dist/editor/ai/AgentCostDisplay.js +93 -0
  210. package/dist/dist/editor/ai/AgentCostDisplay.js.map +1 -0
  211. package/dist/dist/editor/ai/AgentDocumentList.d.ts +8 -0
  212. package/dist/dist/editor/ai/AgentDocumentList.js +132 -0
  213. package/dist/dist/editor/ai/AgentDocumentList.js.map +1 -0
  214. package/dist/dist/editor/ai/AgentHistory.d.ts +11 -0
  215. package/dist/dist/editor/ai/AgentHistory.js +12 -0
  216. package/dist/dist/editor/ai/AgentHistory.js.map +1 -0
  217. package/dist/dist/editor/ai/AgentProfilesOverview.d.ts +9 -0
  218. package/dist/dist/editor/ai/AgentProfilesOverview.js +16 -0
  219. package/dist/dist/editor/ai/AgentProfilesOverview.js.map +1 -0
  220. package/dist/dist/editor/ai/AgentStatusBadge.d.ts +26 -0
  221. package/dist/dist/editor/ai/AgentStatusBadge.js +126 -0
  222. package/dist/dist/editor/ai/AgentStatusBadge.js.map +1 -0
  223. package/dist/dist/editor/ai/AgentTerminal.d.ts +14 -0
  224. package/dist/dist/editor/ai/AgentTerminal.js +3012 -0
  225. package/dist/dist/editor/ai/AgentTerminal.js.map +1 -0
  226. package/dist/dist/editor/ai/Agents.d.ts +4 -0
  227. package/dist/dist/editor/ai/Agents.js +891 -0
  228. package/dist/dist/editor/ai/Agents.js.map +1 -0
  229. package/dist/dist/editor/ai/AiResponseMessage.d.ts +18 -0
  230. package/dist/dist/editor/ai/AiResponseMessage.js +684 -0
  231. package/dist/dist/editor/ai/AiResponseMessage.js.map +1 -0
  232. package/dist/dist/editor/ai/ContextInfoBar.d.ts +14 -0
  233. package/dist/dist/editor/ai/ContextInfoBar.js +432 -0
  234. package/dist/dist/editor/ai/ContextInfoBar.js.map +1 -0
  235. package/dist/dist/editor/ai/DancingDots.d.ts +1 -0
  236. package/dist/dist/editor/ai/DancingDots.js +6 -0
  237. package/dist/dist/editor/ai/DancingDots.js.map +1 -0
  238. package/dist/dist/editor/ai/MediaImage.d.ts +6 -0
  239. package/dist/dist/editor/ai/MediaImage.js +38 -0
  240. package/dist/dist/editor/ai/MediaImage.js.map +1 -0
  241. package/dist/dist/editor/ai/ToolCallDisplay.d.ts +45 -0
  242. package/dist/dist/editor/ai/ToolCallDisplay.js +292 -0
  243. package/dist/dist/editor/ai/ToolCallDisplay.js.map +1 -0
  244. package/dist/dist/editor/ai/aiPageModel.d.ts +24 -0
  245. package/dist/dist/editor/ai/aiPageModel.js +97 -0
  246. package/dist/dist/editor/ai/aiPageModel.js.map +1 -0
  247. package/dist/dist/editor/ai/editorAiContext.d.ts +10 -0
  248. package/dist/dist/editor/ai/editorAiContext.js +10 -0
  249. package/dist/dist/editor/ai/editorAiContext.js.map +1 -0
  250. package/dist/dist/editor/ai/types.d.ts +30 -0
  251. package/dist/dist/editor/ai/types.js +2 -0
  252. package/dist/dist/editor/ai/types.js.map +1 -0
  253. package/dist/dist/editor/ai/useAgentStatus.d.ts +14 -0
  254. package/dist/dist/editor/ai/useAgentStatus.js +203 -0
  255. package/dist/dist/editor/ai/useAgentStatus.js.map +1 -0
  256. package/dist/dist/editor/client/AboutDialog.d.ts +2 -0
  257. package/dist/dist/editor/client/AboutDialog.js +23 -0
  258. package/dist/dist/editor/client/AboutDialog.js.map +1 -0
  259. package/dist/dist/editor/client/EditorShell.d.ts +37 -0
  260. package/dist/dist/editor/client/EditorShell.js +2283 -0
  261. package/dist/dist/editor/client/EditorShell.js.map +1 -0
  262. package/dist/dist/editor/client/GenericDialog.d.ts +10 -0
  263. package/dist/dist/editor/client/GenericDialog.js +25 -0
  264. package/dist/dist/editor/client/GenericDialog.js.map +1 -0
  265. package/dist/dist/editor/client/editContext.d.ts +262 -0
  266. package/dist/dist/editor/client/editContext.js +29 -0
  267. package/dist/dist/editor/client/editContext.js.map +1 -0
  268. package/dist/dist/editor/client/fieldModificationStore.d.ts +25 -0
  269. package/dist/dist/editor/client/fieldModificationStore.js +184 -0
  270. package/dist/dist/editor/client/fieldModificationStore.js.map +1 -0
  271. package/dist/dist/editor/client/helpers.d.ts +12 -0
  272. package/dist/dist/editor/client/helpers.js +29 -0
  273. package/dist/dist/editor/client/helpers.js.map +1 -0
  274. package/dist/dist/editor/client/hooks/useEditorUrlSync.d.ts +18 -0
  275. package/dist/dist/editor/client/hooks/useEditorUrlSync.js +56 -0
  276. package/dist/dist/editor/client/hooks/useEditorUrlSync.js.map +1 -0
  277. package/dist/dist/editor/client/hooks/useEditorWebSocket.d.ts +11 -0
  278. package/dist/dist/editor/client/hooks/useEditorWebSocket.js +86 -0
  279. package/dist/dist/editor/client/hooks/useEditorWebSocket.js.map +1 -0
  280. package/dist/dist/editor/client/hooks/useGlobalEditorKeyDown.d.ts +1 -0
  281. package/dist/dist/editor/client/hooks/useGlobalEditorKeyDown.js +12 -0
  282. package/dist/dist/editor/client/hooks/useGlobalEditorKeyDown.js.map +1 -0
  283. package/dist/dist/editor/client/hooks/useMediaQuery.d.ts +1 -0
  284. package/dist/dist/editor/client/hooks/useMediaQuery.js +19 -0
  285. package/dist/dist/editor/client/hooks/useMediaQuery.js.map +1 -0
  286. package/dist/dist/editor/client/hooks/useMediaSelector.d.ts +12 -0
  287. package/dist/dist/editor/client/hooks/useMediaSelector.js +30 -0
  288. package/dist/dist/editor/client/hooks/useMediaSelector.js.map +1 -0
  289. package/dist/dist/editor/client/hooks/useQuota.d.ts +29 -0
  290. package/dist/dist/editor/client/hooks/useQuota.js +53 -0
  291. package/dist/dist/editor/client/hooks/useQuota.js.map +1 -0
  292. package/dist/dist/editor/client/hooks/useSocketMessageHandler.d.ts +35 -0
  293. package/dist/dist/editor/client/hooks/useSocketMessageHandler.js +241 -0
  294. package/dist/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -0
  295. package/dist/dist/editor/client/hooks/useWorkbox.d.ts +9 -0
  296. package/dist/dist/editor/client/hooks/useWorkbox.js +52 -0
  297. package/dist/dist/editor/client/hooks/useWorkbox.js.map +1 -0
  298. package/dist/dist/editor/client/itemsRepository.d.ts +38 -0
  299. package/dist/dist/editor/client/itemsRepository.js +482 -0
  300. package/dist/dist/editor/client/itemsRepository.js.map +1 -0
  301. package/dist/dist/editor/client/operations.d.ts +69 -0
  302. package/dist/dist/editor/client/operations.js +633 -0
  303. package/dist/dist/editor/client/operations.js.map +1 -0
  304. package/dist/dist/editor/client/pageModelBuilder.d.ts +6 -0
  305. package/dist/dist/editor/client/pageModelBuilder.js +171 -0
  306. package/dist/dist/editor/client/pageModelBuilder.js.map +1 -0
  307. package/dist/dist/editor/client/ui/EditorChrome.d.ts +12 -0
  308. package/dist/dist/editor/client/ui/EditorChrome.js +30 -0
  309. package/dist/dist/editor/client/ui/EditorChrome.js.map +1 -0
  310. package/dist/dist/editor/client/ui/FullscreenControls.d.ts +7 -0
  311. package/dist/dist/editor/client/ui/FullscreenControls.js +21 -0
  312. package/dist/dist/editor/client/ui/FullscreenControls.js.map +1 -0
  313. package/dist/dist/editor/commands/agentCommands.d.ts +9 -0
  314. package/dist/dist/editor/commands/agentCommands.js +30 -0
  315. package/dist/dist/editor/commands/agentCommands.js.map +1 -0
  316. package/dist/dist/editor/commands/commands.d.ts +19 -0
  317. package/dist/dist/editor/commands/commands.js +2 -0
  318. package/dist/dist/editor/commands/commands.js.map +1 -0
  319. package/dist/dist/editor/commands/componentCommands.d.ts +12 -0
  320. package/dist/dist/editor/commands/componentCommands.js +367 -0
  321. package/dist/dist/editor/commands/componentCommands.js.map +1 -0
  322. package/dist/dist/editor/commands/createVersionCommand.d.ts +4 -0
  323. package/dist/dist/editor/commands/createVersionCommand.js +24 -0
  324. package/dist/dist/editor/commands/createVersionCommand.js.map +1 -0
  325. package/dist/dist/editor/commands/deleteVersionCommand.d.ts +4 -0
  326. package/dist/dist/editor/commands/deleteVersionCommand.js +53 -0
  327. package/dist/dist/editor/commands/deleteVersionCommand.js.map +1 -0
  328. package/dist/dist/editor/commands/itemCommands.d.ts +29 -0
  329. package/dist/dist/editor/commands/itemCommands.js +448 -0
  330. package/dist/dist/editor/commands/itemCommands.js.map +1 -0
  331. package/dist/dist/editor/commands/localizeItem/LocalizeItemDialog.d.ts +8 -0
  332. package/dist/dist/editor/commands/localizeItem/LocalizeItemDialog.js +91 -0
  333. package/dist/dist/editor/commands/localizeItem/LocalizeItemDialog.js.map +1 -0
  334. package/dist/dist/editor/commands/undo.d.ts +15 -0
  335. package/dist/dist/editor/commands/undo.js +29 -0
  336. package/dist/dist/editor/commands/undo.js.map +1 -0
  337. package/dist/dist/editor/componentTreeHelper.d.ts +18 -0
  338. package/dist/dist/editor/componentTreeHelper.js +123 -0
  339. package/dist/dist/editor/componentTreeHelper.js.map +1 -0
  340. package/dist/dist/editor/context-menu/CopyMoveMenu.d.ts +7 -0
  341. package/dist/dist/editor/context-menu/CopyMoveMenu.js +58 -0
  342. package/dist/dist/editor/context-menu/CopyMoveMenu.js.map +1 -0
  343. package/dist/dist/editor/context-menu/InsertMenu.d.ts +9 -0
  344. package/dist/dist/editor/context-menu/InsertMenu.js +229 -0
  345. package/dist/dist/editor/context-menu/InsertMenu.js.map +1 -0
  346. package/dist/dist/editor/control-center/About.d.ts +1 -0
  347. package/dist/dist/editor/control-center/About.js +8 -0
  348. package/dist/dist/editor/control-center/About.js.map +1 -0
  349. package/dist/dist/editor/control-center/AllAgentsPanel.d.ts +5 -0
  350. package/dist/dist/editor/control-center/AllAgentsPanel.js +126 -0
  351. package/dist/dist/editor/control-center/AllAgentsPanel.js.map +1 -0
  352. package/dist/dist/editor/control-center/ControlCenterMenu.d.ts +1 -0
  353. package/dist/dist/editor/control-center/ControlCenterMenu.js +66 -0
  354. package/dist/dist/editor/control-center/ControlCenterMenu.js.map +1 -0
  355. package/dist/dist/editor/control-center/IndexOverview.d.ts +1 -0
  356. package/dist/dist/editor/control-center/IndexOverview.js +323 -0
  357. package/dist/dist/editor/control-center/IndexOverview.js.map +1 -0
  358. package/dist/dist/editor/control-center/Info.d.ts +1 -0
  359. package/dist/dist/editor/control-center/Info.js +10 -0
  360. package/dist/dist/editor/control-center/Info.js.map +1 -0
  361. package/dist/dist/editor/control-center/LatestFeedback.d.ts +1 -0
  362. package/dist/dist/editor/control-center/LatestFeedback.js +136 -0
  363. package/dist/dist/editor/control-center/LatestFeedback.js.map +1 -0
  364. package/dist/dist/editor/control-center/QuotaInfo.d.ts +1 -0
  365. package/dist/dist/editor/control-center/QuotaInfo.js +102 -0
  366. package/dist/dist/editor/control-center/QuotaInfo.js.map +1 -0
  367. package/dist/dist/editor/control-center/Setup.d.ts +1 -0
  368. package/dist/dist/editor/control-center/Setup.js +174 -0
  369. package/dist/dist/editor/control-center/Setup.js.map +1 -0
  370. package/dist/dist/editor/control-center/Status.d.ts +1 -0
  371. package/dist/dist/editor/control-center/Status.js +79 -0
  372. package/dist/dist/editor/control-center/Status.js.map +1 -0
  373. package/dist/dist/editor/control-center/WebSocketMessages.d.ts +1 -0
  374. package/dist/dist/editor/control-center/WebSocketMessages.js +71 -0
  375. package/dist/dist/editor/control-center/WebSocketMessages.js.map +1 -0
  376. package/dist/dist/editor/control-center/parhelia-setup/Overview.d.ts +1 -0
  377. package/dist/dist/editor/control-center/parhelia-setup/Overview.js +91 -0
  378. package/dist/dist/editor/control-center/parhelia-setup/Overview.js.map +1 -0
  379. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/EmbeddingsModelSection.d.ts +2 -0
  380. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/EmbeddingsModelSection.js +195 -0
  381. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/EmbeddingsModelSection.js.map +1 -0
  382. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/index.d.ts +2 -0
  383. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/index.js +22 -0
  384. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/index.js.map +1 -0
  385. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/provider/ProviderSection.d.ts +1 -0
  386. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/provider/ProviderSection.js +233 -0
  387. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/provider/ProviderSection.js.map +1 -0
  388. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersList.d.ts +15 -0
  389. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js +14 -0
  390. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js.map +1 -0
  391. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.d.ts +1 -0
  392. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js +94 -0
  393. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js.map +1 -0
  394. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/tools/GenerateToolsSection.d.ts +1 -0
  395. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/tools/GenerateToolsSection.js +367 -0
  396. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/tools/GenerateToolsSection.js.map +1 -0
  397. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/types.d.ts +1 -0
  398. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/types.js +2 -0
  399. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/types.js.map +1 -0
  400. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/utils.d.ts +5 -0
  401. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/utils.js +44 -0
  402. package/dist/dist/editor/control-center/setup-steps/AiSetupStep/utils.js.map +1 -0
  403. package/dist/dist/editor/control-center/setup-steps/DbSetupStep.d.ts +2 -0
  404. package/dist/dist/editor/control-center/setup-steps/DbSetupStep.js +46 -0
  405. package/dist/dist/editor/control-center/setup-steps/DbSetupStep.js.map +1 -0
  406. package/dist/dist/editor/control-center/setup-steps/IndexSetupStep.d.ts +2 -0
  407. package/dist/dist/editor/control-center/setup-steps/IndexSetupStep.js +36 -0
  408. package/dist/dist/editor/control-center/setup-steps/IndexSetupStep.js.map +1 -0
  409. package/dist/dist/editor/control-center/setup-steps/SettingsSetupStep.d.ts +2 -0
  410. package/dist/dist/editor/control-center/setup-steps/SettingsSetupStep.js +111 -0
  411. package/dist/dist/editor/control-center/setup-steps/SettingsSetupStep.js.map +1 -0
  412. package/dist/dist/editor/control-center/setup-steps/SetupOverview.d.ts +14 -0
  413. package/dist/dist/editor/control-center/setup-steps/SetupOverview.js +38 -0
  414. package/dist/dist/editor/control-center/setup-steps/SetupOverview.js.map +1 -0
  415. package/dist/dist/editor/editor-warnings/ItemLocked.d.ts +2 -0
  416. package/dist/dist/editor/editor-warnings/ItemLocked.js +38 -0
  417. package/dist/dist/editor/editor-warnings/ItemLocked.js.map +1 -0
  418. package/dist/dist/editor/editor-warnings/NoLanguageWriteAccess.d.ts +2 -0
  419. package/dist/dist/editor/editor-warnings/NoLanguageWriteAccess.js +14 -0
  420. package/dist/dist/editor/editor-warnings/NoLanguageWriteAccess.js.map +1 -0
  421. package/dist/dist/editor/editor-warnings/NoWorkflowWriteAccess.d.ts +2 -0
  422. package/dist/dist/editor/editor-warnings/NoWorkflowWriteAccess.js +14 -0
  423. package/dist/dist/editor/editor-warnings/NoWorkflowWriteAccess.js.map +1 -0
  424. package/dist/dist/editor/editor-warnings/NoWriteAccess.d.ts +2 -0
  425. package/dist/dist/editor/editor-warnings/NoWriteAccess.js +14 -0
  426. package/dist/dist/editor/editor-warnings/NoWriteAccess.js.map +1 -0
  427. package/dist/dist/editor/editor-warnings/ValidationErrors.d.ts +2 -0
  428. package/dist/dist/editor/editor-warnings/ValidationErrors.js +28 -0
  429. package/dist/dist/editor/editor-warnings/ValidationErrors.js.map +1 -0
  430. package/dist/dist/editor/field-types/AttachmentEditor.d.ts +9 -0
  431. package/dist/dist/editor/field-types/AttachmentEditor.js +68 -0
  432. package/dist/dist/editor/field-types/AttachmentEditor.js.map +1 -0
  433. package/dist/dist/editor/field-types/CheckboxEditor.d.ts +5 -0
  434. package/dist/dist/editor/field-types/CheckboxEditor.js +30 -0
  435. package/dist/dist/editor/field-types/CheckboxEditor.js.map +1 -0
  436. package/dist/dist/editor/field-types/DateFieldEditor.d.ts +5 -0
  437. package/dist/dist/editor/field-types/DateFieldEditor.js +93 -0
  438. package/dist/dist/editor/field-types/DateFieldEditor.js.map +1 -0
  439. package/dist/dist/editor/field-types/DateTimeFieldEditor.d.ts +5 -0
  440. package/dist/dist/editor/field-types/DateTimeFieldEditor.js +151 -0
  441. package/dist/dist/editor/field-types/DateTimeFieldEditor.js.map +1 -0
  442. package/dist/dist/editor/field-types/DropLinkEditor.d.ts +5 -0
  443. package/dist/dist/editor/field-types/DropLinkEditor.js +42 -0
  444. package/dist/dist/editor/field-types/DropLinkEditor.js.map +1 -0
  445. package/dist/dist/editor/field-types/DropListEditor.d.ts +5 -0
  446. package/dist/dist/editor/field-types/DropListEditor.js +46 -0
  447. package/dist/dist/editor/field-types/DropListEditor.js.map +1 -0
  448. package/dist/dist/editor/field-types/ImageFieldEditor.d.ts +5 -0
  449. package/dist/dist/editor/field-types/ImageFieldEditor.js +34 -0
  450. package/dist/dist/editor/field-types/ImageFieldEditor.js.map +1 -0
  451. package/dist/dist/editor/field-types/InternalLinkFieldEditor.d.ts +5 -0
  452. package/dist/dist/editor/field-types/InternalLinkFieldEditor.js +172 -0
  453. package/dist/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -0
  454. package/dist/dist/editor/field-types/LinkFieldEditor.d.ts +5 -0
  455. package/dist/dist/editor/field-types/LinkFieldEditor.js +62 -0
  456. package/dist/dist/editor/field-types/LinkFieldEditor.js.map +1 -0
  457. package/dist/dist/editor/field-types/MultiLineText.d.ts +7 -0
  458. package/dist/dist/editor/field-types/MultiLineText.js +48 -0
  459. package/dist/dist/editor/field-types/MultiLineText.js.map +1 -0
  460. package/dist/dist/editor/field-types/NameValueListEditor.d.ts +7 -0
  461. package/dist/dist/editor/field-types/NameValueListEditor.js +101 -0
  462. package/dist/dist/editor/field-types/NameValueListEditor.js.map +1 -0
  463. package/dist/dist/editor/field-types/PictureFieldEditor.d.ts +5 -0
  464. package/dist/dist/editor/field-types/PictureFieldEditor.js +58 -0
  465. package/dist/dist/editor/field-types/PictureFieldEditor.js.map +1 -0
  466. package/dist/dist/editor/field-types/RawEditor.d.ts +6 -0
  467. package/dist/dist/editor/field-types/RawEditor.js +31 -0
  468. package/dist/dist/editor/field-types/RawEditor.js.map +1 -0
  469. package/dist/dist/editor/field-types/ReactQuill.d.ts +125 -0
  470. package/dist/dist/editor/field-types/ReactQuill.js +385 -0
  471. package/dist/dist/editor/field-types/ReactQuill.js.map +1 -0
  472. package/dist/dist/editor/field-types/RichTextEditor.d.ts +7 -0
  473. package/dist/dist/editor/field-types/RichTextEditor.js +21 -0
  474. package/dist/dist/editor/field-types/RichTextEditor.js.map +1 -0
  475. package/dist/dist/editor/field-types/RichTextEditorComponent.d.ts +8 -0
  476. package/dist/dist/editor/field-types/RichTextEditorComponent.js +88 -0
  477. package/dist/dist/editor/field-types/RichTextEditorComponent.js.map +1 -0
  478. package/dist/dist/editor/field-types/SingleLineText.d.ts +7 -0
  479. package/dist/dist/editor/field-types/SingleLineText.js +113 -0
  480. package/dist/dist/editor/field-types/SingleLineText.js.map +1 -0
  481. package/dist/dist/editor/field-types/TreeListEditor.d.ts +5 -0
  482. package/dist/dist/editor/field-types/TreeListEditor.js +387 -0
  483. package/dist/dist/editor/field-types/TreeListEditor.js.map +1 -0
  484. package/dist/dist/editor/field-types/richtext/components/EditorDropdown.css +82 -0
  485. package/dist/dist/editor/field-types/richtext/components/EditorDropdown.d.ts +11 -0
  486. package/dist/dist/editor/field-types/richtext/components/EditorDropdown.js +83 -0
  487. package/dist/dist/editor/field-types/richtext/components/EditorDropdown.js.map +1 -0
  488. package/dist/dist/editor/field-types/richtext/components/ReactSlate.css +208 -0
  489. package/dist/dist/editor/field-types/richtext/components/ReactSlate.d.ts +5 -0
  490. package/dist/dist/editor/field-types/richtext/components/ReactSlate.js +607 -0
  491. package/dist/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -0
  492. package/dist/dist/editor/field-types/richtext/components/SimpleDropdown.d.ts +18 -0
  493. package/dist/dist/editor/field-types/richtext/components/SimpleDropdown.js +71 -0
  494. package/dist/dist/editor/field-types/richtext/components/SimpleDropdown.js.map +1 -0
  495. package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.css +325 -0
  496. package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.d.ts +5 -0
  497. package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +359 -0
  498. package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js.map +1 -0
  499. package/dist/dist/editor/field-types/richtext/components/SimpleToolbar.d.ts +16 -0
  500. package/dist/dist/editor/field-types/richtext/components/SimpleToolbar.js +181 -0
  501. package/dist/dist/editor/field-types/richtext/components/SimpleToolbar.js.map +1 -0
  502. package/dist/dist/editor/field-types/richtext/components/SimpleToolbarButton.d.ts +9 -0
  503. package/dist/dist/editor/field-types/richtext/components/SimpleToolbarButton.js +14 -0
  504. package/dist/dist/editor/field-types/richtext/components/SimpleToolbarButton.js.map +1 -0
  505. package/dist/dist/editor/field-types/richtext/components/ToolbarButton.d.ts +3 -0
  506. package/dist/dist/editor/field-types/richtext/components/ToolbarButton.js +6 -0
  507. package/dist/dist/editor/field-types/richtext/components/ToolbarButton.js.map +1 -0
  508. package/dist/dist/editor/field-types/richtext/config/pluginFactory.d.ts +19 -0
  509. package/dist/dist/editor/field-types/richtext/config/pluginFactory.js +17 -0
  510. package/dist/dist/editor/field-types/richtext/config/pluginFactory.js.map +1 -0
  511. package/dist/dist/editor/field-types/richtext/contextMenuFactory.d.ts +4 -0
  512. package/dist/dist/editor/field-types/richtext/contextMenuFactory.js +201 -0
  513. package/dist/dist/editor/field-types/richtext/contextMenuFactory.js.map +1 -0
  514. package/dist/dist/editor/field-types/richtext/hooks/useProfileCache.d.ts +68 -0
  515. package/dist/dist/editor/field-types/richtext/hooks/useProfileCache.js +214 -0
  516. package/dist/dist/editor/field-types/richtext/hooks/useProfileCache.js.map +1 -0
  517. package/dist/dist/editor/field-types/richtext/hooks/useRichTextProfile.d.ts +25 -0
  518. package/dist/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +64 -0
  519. package/dist/dist/editor/field-types/richtext/hooks/useRichTextProfile.js.map +1 -0
  520. package/dist/dist/editor/field-types/richtext/index.d.ts +6 -0
  521. package/dist/dist/editor/field-types/richtext/index.js +7 -0
  522. package/dist/dist/editor/field-types/richtext/index.js.map +1 -0
  523. package/dist/dist/editor/field-types/richtext/types.d.ts +288 -0
  524. package/dist/dist/editor/field-types/richtext/types.js +107 -0
  525. package/dist/dist/editor/field-types/richtext/types.js.map +1 -0
  526. package/dist/dist/editor/field-types/richtext/utils/conversion.d.ts +7 -0
  527. package/dist/dist/editor/field-types/richtext/utils/conversion.js +762 -0
  528. package/dist/dist/editor/field-types/richtext/utils/conversion.js.map +1 -0
  529. package/dist/dist/editor/field-types/richtext/utils/plugins.d.ts +170 -0
  530. package/dist/dist/editor/field-types/richtext/utils/plugins.js +490 -0
  531. package/dist/dist/editor/field-types/richtext/utils/plugins.js.map +1 -0
  532. package/dist/dist/editor/field-types/richtext/utils/profileMapper.d.ts +38 -0
  533. package/dist/dist/editor/field-types/richtext/utils/profileMapper.js +386 -0
  534. package/dist/dist/editor/field-types/richtext/utils/profileMapper.js.map +1 -0
  535. package/dist/dist/editor/field-types/richtext/utils/profileServiceCache.d.ts +37 -0
  536. package/dist/dist/editor/field-types/richtext/utils/profileServiceCache.js +119 -0
  537. package/dist/dist/editor/field-types/richtext/utils/profileServiceCache.js.map +1 -0
  538. package/dist/dist/editor/fieldTypes.d.ts +129 -0
  539. package/dist/dist/editor/fieldTypes.js +2 -0
  540. package/dist/dist/editor/fieldTypes.js.map +1 -0
  541. package/dist/dist/editor/hooks/useEditorSettings.d.ts +17 -0
  542. package/dist/dist/editor/hooks/useEditorSettings.js +61 -0
  543. package/dist/dist/editor/hooks/useEditorSettings.js.map +1 -0
  544. package/dist/dist/editor/hooks/useParheliaSettings.d.ts +17 -0
  545. package/dist/dist/editor/hooks/useParheliaSettings.js +61 -0
  546. package/dist/dist/editor/hooks/useParheliaSettings.js.map +1 -0
  547. package/dist/dist/editor/media-selector/AiImageSearch.d.ts +4 -0
  548. package/dist/dist/editor/media-selector/AiImageSearch.js +164 -0
  549. package/dist/dist/editor/media-selector/AiImageSearch.js.map +1 -0
  550. package/dist/dist/editor/media-selector/AiImageSearchPrompt.d.ts +3 -0
  551. package/dist/dist/editor/media-selector/AiImageSearchPrompt.js +57 -0
  552. package/dist/dist/editor/media-selector/AiImageSearchPrompt.js.map +1 -0
  553. package/dist/dist/editor/media-selector/MediaFolderBrowser.d.ts +5 -0
  554. package/dist/dist/editor/media-selector/MediaFolderBrowser.js +182 -0
  555. package/dist/dist/editor/media-selector/MediaFolderBrowser.js.map +1 -0
  556. package/dist/dist/editor/media-selector/MediaSelector.d.ts +9 -0
  557. package/dist/dist/editor/media-selector/MediaSelector.js +8 -0
  558. package/dist/dist/editor/media-selector/MediaSelector.js.map +1 -0
  559. package/dist/dist/editor/media-selector/Preview.d.ts +4 -0
  560. package/dist/dist/editor/media-selector/Preview.js +19 -0
  561. package/dist/dist/editor/media-selector/Preview.js.map +1 -0
  562. package/dist/dist/editor/media-selector/Thumbnails.d.ts +8 -0
  563. package/dist/dist/editor/media-selector/Thumbnails.js +10 -0
  564. package/dist/dist/editor/media-selector/Thumbnails.js.map +1 -0
  565. package/dist/dist/editor/media-selector/TreeSelector.d.ts +7 -0
  566. package/dist/dist/editor/media-selector/TreeSelector.js +183 -0
  567. package/dist/dist/editor/media-selector/TreeSelector.js.map +1 -0
  568. package/dist/dist/editor/media-selector/UploadZone.d.ts +4 -0
  569. package/dist/dist/editor/media-selector/UploadZone.js +81 -0
  570. package/dist/dist/editor/media-selector/UploadZone.js.map +1 -0
  571. package/dist/dist/editor/media-selector/index.d.ts +8 -0
  572. package/dist/dist/editor/media-selector/index.js +9 -0
  573. package/dist/dist/editor/media-selector/index.js.map +1 -0
  574. package/dist/dist/editor/menubar/ActiveUsers.d.ts +1 -0
  575. package/dist/dist/editor/menubar/ActiveUsers.js +120 -0
  576. package/dist/dist/editor/menubar/ActiveUsers.js.map +1 -0
  577. package/dist/dist/editor/menubar/ApproveAndPublish.d.ts +1 -0
  578. package/dist/dist/editor/menubar/ApproveAndPublish.js +13 -0
  579. package/dist/dist/editor/menubar/ApproveAndPublish.js.map +1 -0
  580. package/dist/dist/editor/menubar/FavoritesControls.d.ts +8 -0
  581. package/dist/dist/editor/menubar/FavoritesControls.js +217 -0
  582. package/dist/dist/editor/menubar/FavoritesControls.js.map +1 -0
  583. package/dist/dist/editor/menubar/GenericToolbar.d.ts +11 -0
  584. package/dist/dist/editor/menubar/GenericToolbar.js +10 -0
  585. package/dist/dist/editor/menubar/GenericToolbar.js.map +1 -0
  586. package/dist/dist/editor/menubar/ItemActionsMenu.d.ts +3 -0
  587. package/dist/dist/editor/menubar/ItemActionsMenu.js +23 -0
  588. package/dist/dist/editor/menubar/ItemActionsMenu.js.map +1 -0
  589. package/dist/dist/editor/menubar/ItemLanguageVersion.d.ts +1 -0
  590. package/dist/dist/editor/menubar/ItemLanguageVersion.js +54 -0
  591. package/dist/dist/editor/menubar/ItemLanguageVersion.js.map +1 -0
  592. package/dist/dist/editor/menubar/ItemToolbar.d.ts +1 -0
  593. package/dist/dist/editor/menubar/ItemToolbar.js +11 -0
  594. package/dist/dist/editor/menubar/ItemToolbar.js.map +1 -0
  595. package/dist/dist/editor/menubar/NavButtons.d.ts +1 -0
  596. package/dist/dist/editor/menubar/NavButtons.js +40 -0
  597. package/dist/dist/editor/menubar/NavButtons.js.map +1 -0
  598. package/dist/dist/editor/menubar/PageSelector.d.ts +4 -0
  599. package/dist/dist/editor/menubar/PageSelector.js +152 -0
  600. package/dist/dist/editor/menubar/PageSelector.js.map +1 -0
  601. package/dist/dist/editor/menubar/Separator.d.ts +3 -0
  602. package/dist/dist/editor/menubar/Separator.js +6 -0
  603. package/dist/dist/editor/menubar/Separator.js.map +1 -0
  604. package/dist/dist/editor/menubar/SiteInfo.d.ts +1 -0
  605. package/dist/dist/editor/menubar/SiteInfo.js +24 -0
  606. package/dist/dist/editor/menubar/SiteInfo.js.map +1 -0
  607. package/dist/dist/editor/menubar/ToolbarFactory.d.ts +2 -0
  608. package/dist/dist/editor/menubar/ToolbarFactory.js +55 -0
  609. package/dist/dist/editor/menubar/ToolbarFactory.js.map +1 -0
  610. package/dist/dist/editor/menubar/User.d.ts +4 -0
  611. package/dist/dist/editor/menubar/User.js +18 -0
  612. package/dist/dist/editor/menubar/User.js.map +1 -0
  613. package/dist/dist/editor/menubar/VersionSelector.d.ts +10 -0
  614. package/dist/dist/editor/menubar/VersionSelector.js +53 -0
  615. package/dist/dist/editor/menubar/VersionSelector.js.map +1 -0
  616. package/dist/dist/editor/menubar/WorkflowButton.d.ts +1 -0
  617. package/dist/dist/editor/menubar/WorkflowButton.js +93 -0
  618. package/dist/dist/editor/menubar/WorkflowButton.js.map +1 -0
  619. package/dist/dist/editor/menubar/toolbar-sections/CompareControls.d.ts +1 -0
  620. package/dist/dist/editor/menubar/toolbar-sections/CompareControls.js +11 -0
  621. package/dist/dist/editor/menubar/toolbar-sections/CompareControls.js.map +1 -0
  622. package/dist/dist/editor/menubar/toolbar-sections/EditControls.d.ts +7 -0
  623. package/dist/dist/editor/menubar/toolbar-sections/EditControls.js +15 -0
  624. package/dist/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -0
  625. package/dist/dist/editor/menubar/toolbar-sections/InsertControls.d.ts +1 -0
  626. package/dist/dist/editor/menubar/toolbar-sections/InsertControls.js +15 -0
  627. package/dist/dist/editor/menubar/toolbar-sections/InsertControls.js.map +1 -0
  628. package/dist/dist/editor/menubar/toolbar-sections/ReviewCommands.d.ts +1 -0
  629. package/dist/dist/editor/menubar/toolbar-sections/ReviewCommands.js +41 -0
  630. package/dist/dist/editor/menubar/toolbar-sections/ReviewCommands.js.map +1 -0
  631. package/dist/dist/editor/menubar/toolbar-sections/UtilityControls.d.ts +1 -0
  632. package/dist/dist/editor/menubar/toolbar-sections/UtilityControls.js +17 -0
  633. package/dist/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -0
  634. package/dist/dist/editor/menubar/toolbar-sections/ViewportControls.d.ts +1 -0
  635. package/dist/dist/editor/menubar/toolbar-sections/ViewportControls.js +21 -0
  636. package/dist/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +1 -0
  637. package/dist/dist/editor/menubar/toolbar-sections/index.d.ts +6 -0
  638. package/dist/dist/editor/menubar/toolbar-sections/index.js +7 -0
  639. package/dist/dist/editor/menubar/toolbar-sections/index.js.map +1 -0
  640. package/dist/dist/editor/page-editor-chrome/CommentHighlighting.d.ts +6 -0
  641. package/dist/dist/editor/page-editor-chrome/CommentHighlighting.js +270 -0
  642. package/dist/dist/editor/page-editor-chrome/CommentHighlighting.js.map +1 -0
  643. package/dist/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +4 -0
  644. package/dist/dist/editor/page-editor-chrome/CommentHighlightings.js +15 -0
  645. package/dist/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -0
  646. package/dist/dist/editor/page-editor-chrome/FieldActionIndicator.d.ts +4 -0
  647. package/dist/dist/editor/page-editor-chrome/FieldActionIndicator.js +35 -0
  648. package/dist/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +1 -0
  649. package/dist/dist/editor/page-editor-chrome/FieldActionIndicators.d.ts +1 -0
  650. package/dist/dist/editor/page-editor-chrome/FieldActionIndicators.js +13 -0
  651. package/dist/dist/editor/page-editor-chrome/FieldActionIndicators.js.map +1 -0
  652. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicator.d.ts +8 -0
  653. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicator.js +26 -0
  654. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +1 -0
  655. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicators.d.ts +6 -0
  656. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicators.js +14 -0
  657. package/dist/dist/editor/page-editor-chrome/FieldEditedIndicators.js.map +1 -0
  658. package/dist/dist/editor/page-editor-chrome/FrameMenu.d.ts +7 -0
  659. package/dist/dist/editor/page-editor-chrome/FrameMenu.js +346 -0
  660. package/dist/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -0
  661. package/dist/dist/editor/page-editor-chrome/FrameMenus.d.ts +5 -0
  662. package/dist/dist/editor/page-editor-chrome/FrameMenus.js +22 -0
  663. package/dist/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -0
  664. package/dist/dist/editor/page-editor-chrome/InlineEditor.d.ts +5 -0
  665. package/dist/dist/editor/page-editor-chrome/InlineEditor.js +704 -0
  666. package/dist/dist/editor/page-editor-chrome/InlineEditor.js.map +1 -0
  667. package/dist/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +1 -0
  668. package/dist/dist/editor/page-editor-chrome/LockedFieldIndicator.js +33 -0
  669. package/dist/dist/editor/page-editor-chrome/LockedFieldIndicator.js.map +1 -0
  670. package/dist/dist/editor/page-editor-chrome/NoLayout.d.ts +1 -0
  671. package/dist/dist/editor/page-editor-chrome/NoLayout.js +19 -0
  672. package/dist/dist/editor/page-editor-chrome/NoLayout.js.map +1 -0
  673. package/dist/dist/editor/page-editor-chrome/PageEditorChrome.d.ts +6 -0
  674. package/dist/dist/editor/page-editor-chrome/PageEditorChrome.js +64 -0
  675. package/dist/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -0
  676. package/dist/dist/editor/page-editor-chrome/PictureEditorOverlay.d.ts +1 -0
  677. package/dist/dist/editor/page-editor-chrome/PictureEditorOverlay.js +190 -0
  678. package/dist/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -0
  679. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZone.d.ts +18 -0
  680. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZone.js +122 -0
  681. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -0
  682. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +5 -0
  683. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZones.js +289 -0
  684. package/dist/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -0
  685. package/dist/dist/editor/page-editor-chrome/SuggestionHighlighting.d.ts +6 -0
  686. package/dist/dist/editor/page-editor-chrome/SuggestionHighlighting.js +224 -0
  687. package/dist/dist/editor/page-editor-chrome/SuggestionHighlighting.js.map +1 -0
  688. package/dist/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +4 -0
  689. package/dist/dist/editor/page-editor-chrome/SuggestionHighlightings.js +16 -0
  690. package/dist/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +1 -0
  691. package/dist/dist/editor/page-editor-chrome/useInlineAICompletion.d.ts +7 -0
  692. package/dist/dist/editor/page-editor-chrome/useInlineAICompletion.js +699 -0
  693. package/dist/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +1 -0
  694. package/dist/dist/editor/page-viewer/DeviceToolbar.d.ts +6 -0
  695. package/dist/dist/editor/page-viewer/DeviceToolbar.js +21 -0
  696. package/dist/dist/editor/page-viewer/DeviceToolbar.js.map +1 -0
  697. package/dist/dist/editor/page-viewer/EditorForm.d.ts +8 -0
  698. package/dist/dist/editor/page-viewer/EditorForm.js +264 -0
  699. package/dist/dist/editor/page-viewer/EditorForm.js.map +1 -0
  700. package/dist/dist/editor/page-viewer/EditorFormPopup.d.ts +11 -0
  701. package/dist/dist/editor/page-viewer/EditorFormPopup.js +41 -0
  702. package/dist/dist/editor/page-viewer/EditorFormPopup.js.map +1 -0
  703. package/dist/dist/editor/page-viewer/MiniMap.d.ts +9 -0
  704. package/dist/dist/editor/page-viewer/MiniMap.js +234 -0
  705. package/dist/dist/editor/page-viewer/MiniMap.js.map +1 -0
  706. package/dist/dist/editor/page-viewer/PageViewer.d.ts +10 -0
  707. package/dist/dist/editor/page-viewer/PageViewer.js +67 -0
  708. package/dist/dist/editor/page-viewer/PageViewer.js.map +1 -0
  709. package/dist/dist/editor/page-viewer/PageViewerFrame.d.ts +11 -0
  710. package/dist/dist/editor/page-viewer/PageViewerFrame.js +846 -0
  711. package/dist/dist/editor/page-viewer/PageViewerFrame.js.map +1 -0
  712. package/dist/dist/editor/page-viewer/pageModelSkeletonBuilder.d.ts +3 -0
  713. package/dist/dist/editor/page-viewer/pageModelSkeletonBuilder.js +349 -0
  714. package/dist/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +1 -0
  715. package/dist/dist/editor/page-viewer/pageViewContext.d.ts +40 -0
  716. package/dist/dist/editor/page-viewer/pageViewContext.js +155 -0
  717. package/dist/dist/editor/page-viewer/pageViewContext.js.map +1 -0
  718. package/dist/dist/editor/pageModel.d.ts +223 -0
  719. package/dist/dist/editor/pageModel.js +2 -0
  720. package/dist/dist/editor/pageModel.js.map +1 -0
  721. package/dist/dist/editor/picture-shared.d.ts +16 -0
  722. package/dist/dist/editor/picture-shared.js +25 -0
  723. package/dist/dist/editor/picture-shared.js.map +1 -0
  724. package/dist/dist/editor/reviews/Comment.d.ts +8 -0
  725. package/dist/dist/editor/reviews/Comment.js +162 -0
  726. package/dist/dist/editor/reviews/Comment.js.map +1 -0
  727. package/dist/dist/editor/reviews/CommentDisplayPopover.d.ts +9 -0
  728. package/dist/dist/editor/reviews/CommentDisplayPopover.js +104 -0
  729. package/dist/dist/editor/reviews/CommentDisplayPopover.js.map +1 -0
  730. package/dist/dist/editor/reviews/CommentEditor.d.ts +20 -0
  731. package/dist/dist/editor/reviews/CommentEditor.js +57 -0
  732. package/dist/dist/editor/reviews/CommentEditor.js.map +1 -0
  733. package/dist/dist/editor/reviews/CommentPopover.d.ts +22 -0
  734. package/dist/dist/editor/reviews/CommentPopover.js +145 -0
  735. package/dist/dist/editor/reviews/CommentPopover.js.map +1 -0
  736. package/dist/dist/editor/reviews/CommentView.d.ts +21 -0
  737. package/dist/dist/editor/reviews/CommentView.js +52 -0
  738. package/dist/dist/editor/reviews/CommentView.js.map +1 -0
  739. package/dist/dist/editor/reviews/Comments.d.ts +3 -0
  740. package/dist/dist/editor/reviews/Comments.js +118 -0
  741. package/dist/dist/editor/reviews/Comments.js.map +1 -0
  742. package/dist/dist/editor/reviews/CreateReviewDialog.d.ts +9 -0
  743. package/dist/dist/editor/reviews/CreateReviewDialog.js +454 -0
  744. package/dist/dist/editor/reviews/CreateReviewDialog.js.map +1 -0
  745. package/dist/dist/editor/reviews/DecisionsMatrix.d.ts +29 -0
  746. package/dist/dist/editor/reviews/DecisionsMatrix.js +739 -0
  747. package/dist/dist/editor/reviews/DecisionsMatrix.js.map +1 -0
  748. package/dist/dist/editor/reviews/DiffView.d.ts +17 -0
  749. package/dist/dist/editor/reviews/DiffView.js +57 -0
  750. package/dist/dist/editor/reviews/DiffView.js.map +1 -0
  751. package/dist/dist/editor/reviews/EditReviewSettingsDialog.d.ts +20 -0
  752. package/dist/dist/editor/reviews/EditReviewSettingsDialog.js +208 -0
  753. package/dist/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -0
  754. package/dist/dist/editor/reviews/ItemTreeSelector.d.ts +9 -0
  755. package/dist/dist/editor/reviews/ItemTreeSelector.js +43 -0
  756. package/dist/dist/editor/reviews/ItemTreeSelector.js.map +1 -0
  757. package/dist/dist/editor/reviews/MultiReviewManager.d.ts +1 -0
  758. package/dist/dist/editor/reviews/MultiReviewManager.js +50 -0
  759. package/dist/dist/editor/reviews/MultiReviewManager.js.map +1 -0
  760. package/dist/dist/editor/reviews/PagesPanel.d.ts +21 -0
  761. package/dist/dist/editor/reviews/PagesPanel.js +124 -0
  762. package/dist/dist/editor/reviews/PagesPanel.js.map +1 -0
  763. package/dist/dist/editor/reviews/PreconfiguredReviewerSelector.d.ts +9 -0
  764. package/dist/dist/editor/reviews/PreconfiguredReviewerSelector.js +55 -0
  765. package/dist/dist/editor/reviews/PreconfiguredReviewerSelector.js.map +1 -0
  766. package/dist/dist/editor/reviews/PreviewInfo.d.ts +1 -0
  767. package/dist/dist/editor/reviews/PreviewInfo.js +12 -0
  768. package/dist/dist/editor/reviews/PreviewInfo.js.map +1 -0
  769. package/dist/dist/editor/reviews/ReviewDetail.d.ts +8 -0
  770. package/dist/dist/editor/reviews/ReviewDetail.js +189 -0
  771. package/dist/dist/editor/reviews/ReviewDetail.js.map +1 -0
  772. package/dist/dist/editor/reviews/ReviewersPanel.d.ts +14 -0
  773. package/dist/dist/editor/reviews/ReviewersPanel.js +216 -0
  774. package/dist/dist/editor/reviews/ReviewersPanel.js.map +1 -0
  775. package/dist/dist/editor/reviews/Reviews.d.ts +1 -0
  776. package/dist/dist/editor/reviews/Reviews.js +6 -0
  777. package/dist/dist/editor/reviews/Reviews.js.map +1 -0
  778. package/dist/dist/editor/reviews/ReviewsList.d.ts +11 -0
  779. package/dist/dist/editor/reviews/ReviewsList.js +134 -0
  780. package/dist/dist/editor/reviews/ReviewsList.js.map +1 -0
  781. package/dist/dist/editor/reviews/SuggestedEdit.d.ts +4 -0
  782. package/dist/dist/editor/reviews/SuggestedEdit.js +200 -0
  783. package/dist/dist/editor/reviews/SuggestedEdit.js.map +1 -0
  784. package/dist/dist/editor/reviews/SuggestionDisplayPopover.d.ts +9 -0
  785. package/dist/dist/editor/reviews/SuggestionDisplayPopover.js +204 -0
  786. package/dist/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -0
  787. package/dist/dist/editor/reviews/commentAi.d.ts +7 -0
  788. package/dist/dist/editor/reviews/commentAi.js +100 -0
  789. package/dist/dist/editor/reviews/commentAi.js.map +1 -0
  790. package/dist/dist/editor/reviews/reviewCommands.d.ts +3 -0
  791. package/dist/dist/editor/reviews/reviewCommands.js +38 -0
  792. package/dist/dist/editor/reviews/reviewCommands.js.map +1 -0
  793. package/dist/dist/editor/reviews/useMultiReview.d.ts +42 -0
  794. package/dist/dist/editor/reviews/useMultiReview.js +377 -0
  795. package/dist/dist/editor/reviews/useMultiReview.js.map +1 -0
  796. package/dist/dist/editor/reviews/useReviews.d.ts +12 -0
  797. package/dist/dist/editor/reviews/useReviews.js +43 -0
  798. package/dist/dist/editor/reviews/useReviews.js.map +1 -0
  799. package/dist/dist/editor/services/agentService.d.ts +368 -0
  800. package/dist/dist/editor/services/agentService.js +721 -0
  801. package/dist/dist/editor/services/agentService.js.map +1 -0
  802. package/dist/dist/editor/services/aiService.d.ts +111 -0
  803. package/dist/dist/editor/services/aiService.js +294 -0
  804. package/dist/dist/editor/services/aiService.js.map +1 -0
  805. package/dist/dist/editor/services/componentDesignerService.d.ts +46 -0
  806. package/dist/dist/editor/services/componentDesignerService.js +72 -0
  807. package/dist/dist/editor/services/componentDesignerService.js.map +1 -0
  808. package/dist/dist/editor/services/contentService.d.ts +79 -0
  809. package/dist/dist/editor/services/contentService.js +127 -0
  810. package/dist/dist/editor/services/contentService.js.map +1 -0
  811. package/dist/dist/editor/services/contextService.d.ts +26 -0
  812. package/dist/dist/editor/services/contextService.js +103 -0
  813. package/dist/dist/editor/services/contextService.js.map +1 -0
  814. package/dist/dist/editor/services/editService.d.ts +66 -0
  815. package/dist/dist/editor/services/editService.js +325 -0
  816. package/dist/dist/editor/services/editService.js.map +1 -0
  817. package/dist/dist/editor/services/favouritesService.d.ts +47 -0
  818. package/dist/dist/editor/services/favouritesService.js +28 -0
  819. package/dist/dist/editor/services/favouritesService.js.map +1 -0
  820. package/dist/dist/editor/services/iconService.d.ts +8 -0
  821. package/dist/dist/editor/services/iconService.js +6 -0
  822. package/dist/dist/editor/services/iconService.js.map +1 -0
  823. package/dist/dist/editor/services/indexService.d.ts +13 -0
  824. package/dist/dist/editor/services/indexService.js +45 -0
  825. package/dist/dist/editor/services/indexService.js.map +1 -0
  826. package/dist/dist/editor/services/reviewsService.d.ts +53 -0
  827. package/dist/dist/editor/services/reviewsService.js +130 -0
  828. package/dist/dist/editor/services/reviewsService.js.map +1 -0
  829. package/dist/dist/editor/services/searchService.d.ts +17 -0
  830. package/dist/dist/editor/services/searchService.js +25 -0
  831. package/dist/dist/editor/services/searchService.js.map +1 -0
  832. package/dist/dist/editor/services/serviceHelper.d.ts +10 -0
  833. package/dist/dist/editor/services/serviceHelper.js +118 -0
  834. package/dist/dist/editor/services/serviceHelper.js.map +1 -0
  835. package/dist/dist/editor/services/setupService.d.ts +30 -0
  836. package/dist/dist/editor/services/setupService.js +17 -0
  837. package/dist/dist/editor/services/setupService.js.map +1 -0
  838. package/dist/dist/editor/services/suggestedEditsService.d.ts +18 -0
  839. package/dist/dist/editor/services/suggestedEditsService.js +44 -0
  840. package/dist/dist/editor/services/suggestedEditsService.js.map +1 -0
  841. package/dist/dist/editor/services/systemService.d.ts +4 -0
  842. package/dist/dist/editor/services/systemService.js +11 -0
  843. package/dist/dist/editor/services/systemService.js.map +1 -0
  844. package/dist/dist/editor/services-server/api.d.ts +19 -0
  845. package/dist/dist/editor/services-server/api.js +111 -0
  846. package/dist/dist/editor/services-server/api.js.map +1 -0
  847. package/dist/dist/editor/services-server/graphQL.d.ts +29 -0
  848. package/dist/dist/editor/services-server/graphQL.js +53 -0
  849. package/dist/dist/editor/services-server/graphQL.js.map +1 -0
  850. package/dist/dist/editor/sidebar/Completions.d.ts +1 -0
  851. package/dist/dist/editor/sidebar/Completions.js +55 -0
  852. package/dist/dist/editor/sidebar/Completions.js.map +1 -0
  853. package/dist/dist/editor/sidebar/ComponentPalette.d.ts +1 -0
  854. package/dist/dist/editor/sidebar/ComponentPalette.js +86 -0
  855. package/dist/dist/editor/sidebar/ComponentPalette.js.map +1 -0
  856. package/dist/dist/editor/sidebar/ComponentTree.d.ts +1 -0
  857. package/dist/dist/editor/sidebar/ComponentTree.js +691 -0
  858. package/dist/dist/editor/sidebar/ComponentTree.js.map +1 -0
  859. package/dist/dist/editor/sidebar/Debug.d.ts +1 -0
  860. package/dist/dist/editor/sidebar/Debug.js +71 -0
  861. package/dist/dist/editor/sidebar/Debug.js.map +1 -0
  862. package/dist/dist/editor/sidebar/DictionaryEditor.d.ts +1 -0
  863. package/dist/dist/editor/sidebar/DictionaryEditor.js +158 -0
  864. package/dist/dist/editor/sidebar/DictionaryEditor.js.map +1 -0
  865. package/dist/dist/editor/sidebar/Divider.d.ts +6 -0
  866. package/dist/dist/editor/sidebar/Divider.js +6 -0
  867. package/dist/dist/editor/sidebar/Divider.js.map +1 -0
  868. package/dist/dist/editor/sidebar/EditHistory.d.ts +1 -0
  869. package/dist/dist/editor/sidebar/EditHistory.js +80 -0
  870. package/dist/dist/editor/sidebar/EditHistory.js.map +1 -0
  871. package/dist/dist/editor/sidebar/GraphQL.d.ts +2 -0
  872. package/dist/dist/editor/sidebar/GraphQL.js +234 -0
  873. package/dist/dist/editor/sidebar/GraphQL.js.map +1 -0
  874. package/dist/dist/editor/sidebar/Insert.d.ts +1 -0
  875. package/dist/dist/editor/sidebar/Insert.js +22 -0
  876. package/dist/dist/editor/sidebar/Insert.js.map +1 -0
  877. package/dist/dist/editor/sidebar/LeftToolbar.d.ts +1 -0
  878. package/dist/dist/editor/sidebar/LeftToolbar.js +16 -0
  879. package/dist/dist/editor/sidebar/LeftToolbar.js.map +1 -0
  880. package/dist/dist/editor/sidebar/MainContentTree.d.ts +5 -0
  881. package/dist/dist/editor/sidebar/MainContentTree.js +70 -0
  882. package/dist/dist/editor/sidebar/MainContentTree.js.map +1 -0
  883. package/dist/dist/editor/sidebar/Performance.d.ts +1 -0
  884. package/dist/dist/editor/sidebar/Performance.js +32 -0
  885. package/dist/dist/editor/sidebar/Performance.js.map +1 -0
  886. package/dist/dist/editor/sidebar/SEOInfo.d.ts +1 -0
  887. package/dist/dist/editor/sidebar/SEOInfo.js +158 -0
  888. package/dist/dist/editor/sidebar/SEOInfo.js.map +1 -0
  889. package/dist/dist/editor/sidebar/Sessions.d.ts +1 -0
  890. package/dist/dist/editor/sidebar/Sessions.js +29 -0
  891. package/dist/dist/editor/sidebar/Sessions.js.map +1 -0
  892. package/dist/dist/editor/sidebar/Sidebar.d.ts +1 -0
  893. package/dist/dist/editor/sidebar/Sidebar.js +13 -0
  894. package/dist/dist/editor/sidebar/Sidebar.js.map +1 -0
  895. package/dist/dist/editor/sidebar/SidebarView.d.ts +13 -0
  896. package/dist/dist/editor/sidebar/SidebarView.js +53 -0
  897. package/dist/dist/editor/sidebar/SidebarView.js.map +1 -0
  898. package/dist/dist/editor/sidebar/Validation.d.ts +1 -0
  899. package/dist/dist/editor/sidebar/Validation.js +51 -0
  900. package/dist/dist/editor/sidebar/Validation.js.map +1 -0
  901. package/dist/dist/editor/sidebar/ViewSelector.d.ts +4 -0
  902. package/dist/dist/editor/sidebar/ViewSelector.js +191 -0
  903. package/dist/dist/editor/sidebar/ViewSelector.js.map +1 -0
  904. package/dist/dist/editor/sidebar/Workbox.d.ts +1 -0
  905. package/dist/dist/editor/sidebar/Workbox.js +79 -0
  906. package/dist/dist/editor/sidebar/Workbox.js.map +1 -0
  907. package/dist/dist/editor/ui/CenteredMessage.d.ts +3 -0
  908. package/dist/dist/editor/ui/CenteredMessage.js +5 -0
  909. package/dist/dist/editor/ui/CenteredMessage.js.map +1 -0
  910. package/dist/dist/editor/ui/CopyMoveTargetSelectorDialog.d.ts +10 -0
  911. package/dist/dist/editor/ui/CopyMoveTargetSelectorDialog.js +38 -0
  912. package/dist/dist/editor/ui/CopyMoveTargetSelectorDialog.js.map +1 -0
  913. package/dist/dist/editor/ui/DialogButtons.d.ts +4 -0
  914. package/dist/dist/editor/ui/DialogButtons.js +6 -0
  915. package/dist/dist/editor/ui/DialogButtons.js.map +1 -0
  916. package/dist/dist/editor/ui/DragPreview.d.ts +14 -0
  917. package/dist/dist/editor/ui/DragPreview.js +33 -0
  918. package/dist/dist/editor/ui/DragPreview.js.map +1 -0
  919. package/dist/dist/editor/ui/IconSelectorDialog.d.ts +5 -0
  920. package/dist/dist/editor/ui/IconSelectorDialog.js +239 -0
  921. package/dist/dist/editor/ui/IconSelectorDialog.js.map +1 -0
  922. package/dist/dist/editor/ui/Icons.d.ts +74 -0
  923. package/dist/dist/editor/ui/Icons.js +106 -0
  924. package/dist/dist/editor/ui/Icons.js.map +1 -0
  925. package/dist/dist/editor/ui/ItemList.d.ts +16 -0
  926. package/dist/dist/editor/ui/ItemList.js +19 -0
  927. package/dist/dist/editor/ui/ItemList.js.map +1 -0
  928. package/dist/dist/editor/ui/ItemNameDialogNew.d.ts +10 -0
  929. package/dist/dist/editor/ui/ItemNameDialogNew.js +82 -0
  930. package/dist/dist/editor/ui/ItemNameDialogNew.js.map +1 -0
  931. package/dist/dist/editor/ui/ItemSearch.d.ts +25 -0
  932. package/dist/dist/editor/ui/ItemSearch.js +92 -0
  933. package/dist/dist/editor/ui/ItemSearch.js.map +1 -0
  934. package/dist/dist/editor/ui/PerfectTree.d.ts +78 -0
  935. package/dist/dist/editor/ui/PerfectTree.js +860 -0
  936. package/dist/dist/editor/ui/PerfectTree.js.map +1 -0
  937. package/dist/dist/editor/ui/Section.d.ts +4 -0
  938. package/dist/dist/editor/ui/Section.js +12 -0
  939. package/dist/dist/editor/ui/Section.js.map +1 -0
  940. package/dist/dist/editor/ui/SimpleIconButton.d.ts +14 -0
  941. package/dist/dist/editor/ui/SimpleIconButton.js +15 -0
  942. package/dist/dist/editor/ui/SimpleIconButton.js.map +1 -0
  943. package/dist/dist/editor/ui/SimpleMenu.d.ts +6 -0
  944. package/dist/dist/editor/ui/SimpleMenu.js +7 -0
  945. package/dist/dist/editor/ui/SimpleMenu.js.map +1 -0
  946. package/dist/dist/editor/ui/SimpleTable.d.ts +14 -0
  947. package/dist/dist/editor/ui/SimpleTable.js +9 -0
  948. package/dist/dist/editor/ui/SimpleTable.js.map +1 -0
  949. package/dist/dist/editor/ui/SimpleTabs.d.ts +16 -0
  950. package/dist/dist/editor/ui/SimpleTabs.js +20 -0
  951. package/dist/dist/editor/ui/SimpleTabs.js.map +1 -0
  952. package/dist/dist/editor/ui/SimpleToolbar.d.ts +3 -0
  953. package/dist/dist/editor/ui/SimpleToolbar.js +5 -0
  954. package/dist/dist/editor/ui/SimpleToolbar.js.map +1 -0
  955. package/dist/dist/editor/ui/Spinner.d.ts +4 -0
  956. package/dist/dist/editor/ui/Spinner.js +18 -0
  957. package/dist/dist/editor/ui/Spinner.js.map +1 -0
  958. package/dist/dist/editor/ui/Splitter.d.ts +22 -0
  959. package/dist/dist/editor/ui/Splitter.js +443 -0
  960. package/dist/dist/editor/ui/Splitter.js.map +1 -0
  961. package/dist/dist/editor/ui/TemplateSelectorDialog.d.ts +8 -0
  962. package/dist/dist/editor/ui/TemplateSelectorDialog.js +138 -0
  963. package/dist/dist/editor/ui/TemplateSelectorDialog.js.map +1 -0
  964. package/dist/dist/editor/ui/Toolbar.d.ts +3 -0
  965. package/dist/dist/editor/ui/Toolbar.js +5 -0
  966. package/dist/dist/editor/ui/Toolbar.js.map +1 -0
  967. package/dist/dist/editor/utils/id-helper.d.ts +1 -0
  968. package/dist/dist/editor/utils/id-helper.js +5 -0
  969. package/dist/dist/editor/utils/id-helper.js.map +1 -0
  970. package/dist/dist/editor/utils/insertOptions.d.ts +3 -0
  971. package/dist/dist/editor/utils/insertOptions.js +43 -0
  972. package/dist/dist/editor/utils/insertOptions.js.map +1 -0
  973. package/dist/dist/editor/utils/itemConverters.d.ts +3 -0
  974. package/dist/dist/editor/utils/itemConverters.js +53 -0
  975. package/dist/dist/editor/utils/itemConverters.js.map +1 -0
  976. package/dist/dist/editor/utils/itemutils.d.ts +3 -0
  977. package/dist/dist/editor/utils/itemutils.js +24 -0
  978. package/dist/dist/editor/utils/itemutils.js.map +1 -0
  979. package/dist/dist/editor/utils/jsonCleaner.d.ts +8 -0
  980. package/dist/dist/editor/utils/jsonCleaner.js +76 -0
  981. package/dist/dist/editor/utils/jsonCleaner.js.map +1 -0
  982. package/dist/dist/editor/utils/keyboardNavigation.d.ts +34 -0
  983. package/dist/dist/editor/utils/keyboardNavigation.js +237 -0
  984. package/dist/dist/editor/utils/keyboardNavigation.js.map +1 -0
  985. package/dist/dist/editor/utils/urlUtils.d.ts +9 -0
  986. package/dist/dist/editor/utils/urlUtils.js +25 -0
  987. package/dist/dist/editor/utils/urlUtils.js.map +1 -0
  988. package/dist/dist/editor/utils/useMemoDebug.d.ts +1 -0
  989. package/dist/dist/editor/utils/useMemoDebug.js +18 -0
  990. package/dist/dist/editor/utils/useMemoDebug.js.map +1 -0
  991. package/dist/dist/editor/utils.d.ts +65 -0
  992. package/dist/dist/editor/utils.js +488 -0
  993. package/dist/dist/editor/utils.js.map +1 -0
  994. package/dist/dist/editor/views/CompareView.d.ts +1 -0
  995. package/dist/dist/editor/views/CompareView.js +148 -0
  996. package/dist/dist/editor/views/CompareView.js.map +1 -0
  997. package/dist/dist/editor/views/EditView.d.ts +1 -0
  998. package/dist/dist/editor/views/EditView.js +15 -0
  999. package/dist/dist/editor/views/EditView.js.map +1 -0
  1000. package/dist/dist/editor/views/ItemEditor.d.ts +7 -0
  1001. package/dist/dist/editor/views/ItemEditor.js +29 -0
  1002. package/dist/dist/editor/views/ItemEditor.js.map +1 -0
  1003. package/dist/dist/editor/views/MediaFolderEditView.d.ts +4 -0
  1004. package/dist/dist/editor/views/MediaFolderEditView.js +40 -0
  1005. package/dist/dist/editor/views/MediaFolderEditView.js.map +1 -0
  1006. package/dist/dist/editor/views/ParheliaView.d.ts +5 -0
  1007. package/dist/dist/editor/views/ParheliaView.js +163 -0
  1008. package/dist/dist/editor/views/ParheliaView.js.map +1 -0
  1009. package/dist/dist/editor/views/SingleEditView.d.ts +9 -0
  1010. package/dist/dist/editor/views/SingleEditView.js +33 -0
  1011. package/dist/dist/editor/views/SingleEditView.js.map +1 -0
  1012. package/dist/dist/images/bg-shape-black.webp +0 -0
  1013. package/dist/dist/images/wizard-bg.png +0 -0
  1014. package/dist/dist/images/wizard-tour.png +0 -0
  1015. package/dist/dist/images/wizard.png +0 -0
  1016. package/dist/dist/index.d.ts +67 -0
  1017. package/dist/dist/index.js +57 -0
  1018. package/dist/dist/index.js.map +1 -0
  1019. package/dist/dist/lib/safelist.d.ts +1 -0
  1020. package/dist/dist/lib/safelist.js +5 -0
  1021. package/dist/dist/lib/safelist.js.map +1 -0
  1022. package/dist/dist/lib/utils.d.ts +2 -0
  1023. package/dist/dist/lib/utils.js +6 -0
  1024. package/dist/dist/lib/utils.js.map +1 -0
  1025. package/dist/dist/revision.d.ts +2 -0
  1026. package/dist/dist/revision.js +3 -0
  1027. package/dist/dist/revision.js.map +1 -0
  1028. package/dist/dist/setup/SetupWizardPage.d.ts +5 -0
  1029. package/dist/dist/setup/SetupWizardPage.js +8 -0
  1030. package/dist/dist/setup/SetupWizardPage.js.map +1 -0
  1031. package/dist/dist/setup/services/setupWizardService.d.ts +89 -0
  1032. package/dist/dist/setup/services/setupWizardService.js +92 -0
  1033. package/dist/dist/setup/services/setupWizardService.js.map +1 -0
  1034. package/dist/dist/setup/utils/modelPricing.d.ts +7 -0
  1035. package/dist/dist/setup/utils/modelPricing.js +106 -0
  1036. package/dist/dist/setup/utils/modelPricing.js.map +1 -0
  1037. package/dist/dist/setup/wizard/SetupWizard.d.ts +27 -0
  1038. package/dist/dist/setup/wizard/SetupWizard.js +92 -0
  1039. package/dist/dist/setup/wizard/SetupWizard.js.map +1 -0
  1040. package/dist/dist/setup/wizard/index.d.ts +6 -0
  1041. package/dist/dist/setup/wizard/index.js +6 -0
  1042. package/dist/dist/setup/wizard/index.js.map +1 -0
  1043. package/dist/dist/setup/wizard/steps/AgentsStep.d.ts +2 -0
  1044. package/dist/dist/setup/wizard/steps/AgentsStep.js +117 -0
  1045. package/dist/dist/setup/wizard/steps/AgentsStep.js.map +1 -0
  1046. package/dist/dist/setup/wizard/steps/EndpointsStep.d.ts +2 -0
  1047. package/dist/dist/setup/wizard/steps/EndpointsStep.js +94 -0
  1048. package/dist/dist/setup/wizard/steps/EndpointsStep.js.map +1 -0
  1049. package/dist/dist/setup/wizard/steps/ModelsStep.d.ts +2 -0
  1050. package/dist/dist/setup/wizard/steps/ModelsStep.js +287 -0
  1051. package/dist/dist/setup/wizard/steps/ModelsStep.js.map +1 -0
  1052. package/dist/dist/setup/wizard/steps/SearchStep.d.ts +2 -0
  1053. package/dist/dist/setup/wizard/steps/SearchStep.js +95 -0
  1054. package/dist/dist/setup/wizard/steps/SearchStep.js.map +1 -0
  1055. package/dist/dist/splash-screen/ModernSplashScreen.d.ts +8 -0
  1056. package/dist/dist/splash-screen/ModernSplashScreen.js +36 -0
  1057. package/dist/dist/splash-screen/ModernSplashScreen.js.map +1 -0
  1058. package/dist/dist/splash-screen/NewPage.d.ts +3 -0
  1059. package/dist/dist/splash-screen/NewPage.js +145 -0
  1060. package/dist/dist/splash-screen/NewPage.js.map +1 -0
  1061. package/dist/dist/splash-screen/OpenPage.d.ts +1 -0
  1062. package/dist/dist/splash-screen/OpenPage.js +56 -0
  1063. package/dist/dist/splash-screen/OpenPage.js.map +1 -0
  1064. package/dist/dist/splash-screen/ParheliaAssistantChat.d.ts +8 -0
  1065. package/dist/dist/splash-screen/ParheliaAssistantChat.js +169 -0
  1066. package/dist/dist/splash-screen/ParheliaAssistantChat.js.map +1 -0
  1067. package/dist/dist/splash-screen/ParheliaLogo.d.ts +5 -0
  1068. package/dist/dist/splash-screen/ParheliaLogo.js +71 -0
  1069. package/dist/dist/splash-screen/ParheliaLogo.js.map +1 -0
  1070. package/dist/dist/splash-screen/RecentAgents.d.ts +7 -0
  1071. package/dist/dist/splash-screen/RecentAgents.js +76 -0
  1072. package/dist/dist/splash-screen/RecentAgents.js.map +1 -0
  1073. package/dist/dist/splash-screen/RecentPages.d.ts +1 -0
  1074. package/dist/dist/splash-screen/RecentPages.js +59 -0
  1075. package/dist/dist/splash-screen/RecentPages.js.map +1 -0
  1076. package/dist/dist/splash-screen/SectionHeadline.d.ts +4 -0
  1077. package/dist/dist/splash-screen/SectionHeadline.js +7 -0
  1078. package/dist/dist/splash-screen/SectionHeadline.js.map +1 -0
  1079. package/dist/dist/styles.css +6035 -0
  1080. package/dist/dist/tour/Tour.d.ts +3 -0
  1081. package/dist/dist/tour/Tour.js +426 -0
  1082. package/dist/dist/tour/Tour.js.map +1 -0
  1083. package/dist/dist/tour/default-tour.d.ts +9 -0
  1084. package/dist/dist/tour/default-tour.js +302 -0
  1085. package/dist/dist/tour/default-tour.js.map +1 -0
  1086. package/dist/dist/tour/preview-tour.d.ts +2 -0
  1087. package/dist/dist/tour/preview-tour.js +93 -0
  1088. package/dist/dist/tour/preview-tour.js.map +1 -0
  1089. package/dist/dist/types.d.ts +490 -0
  1090. package/dist/dist/types.js +2 -0
  1091. package/dist/dist/types.js.map +1 -0
  1092. package/dist/editor/control-center/parhelia-setup/Overview.d.ts +1 -0
  1093. package/dist/editor/control-center/parhelia-setup/Overview.js +91 -0
  1094. package/dist/editor/control-center/parhelia-setup/Overview.js.map +1 -0
  1095. package/dist/editor/hooks/useEditorSettings.d.ts +17 -0
  1096. package/dist/editor/hooks/useEditorSettings.js +61 -0
  1097. package/dist/editor/hooks/useEditorSettings.js.map +1 -0
  1098. package/dist/editor/page-viewer/EditorFormPopup.d.ts +11 -0
  1099. package/dist/editor/page-viewer/EditorFormPopup.js +41 -0
  1100. package/dist/editor/page-viewer/EditorFormPopup.js.map +1 -0
  1101. package/dist/revision.d.ts +2 -2
  1102. package/dist/revision.js +2 -2
  1103. package/dist/revision.js.map +1 -1
  1104. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { Agent } from "../editor/services/agentService";
3
+ interface AgentCardProps {
4
+ agent: Agent;
5
+ onClick: (agent: Agent) => void;
6
+ onResume: (agent: Agent) => void;
7
+ onClose: (agentId: string, agentName: string) => void;
8
+ onDelete: (agentId: string, agentName: string, event: React.MouseEvent) => void;
9
+ formatDateTime: (dateString: string) => string;
10
+ }
11
+ export declare function AgentCard({ agent, onClick, onResume, onClose, onDelete, formatDateTime, }: AgentCardProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { getAgentStatusConfig } from "../editor/ai/AgentStatusBadge";
3
+ import { cn } from "../lib/utils";
4
+ import { Trash, X, Play, Users } from "lucide-react";
5
+ import { SimpleIconButton } from "../editor/ui/SimpleIconButton";
6
+ import { SecretAgentIcon } from "../editor/ui/Icons";
7
+ export function AgentCard({ agent, onClick, onResume, onClose, onDelete, formatDateTime, }) {
8
+ const statusConfig = getAgentStatusConfig(agent);
9
+ const isClosed = agent.status === "closed" || agent.status === 5;
10
+ const handleCardClick = () => {
11
+ if (isClosed) {
12
+ // If agent is closed, resume it directly
13
+ onResume(agent);
14
+ }
15
+ else {
16
+ // If agent is active, just select it
17
+ onClick(agent);
18
+ }
19
+ };
20
+ return (_jsx("div", { className: "cursor-pointer rounded-lg border border-gray-200 bg-white p-3 shadow-sm transition-shadow hover:shadow-md", onClick: handleCardClick, children: _jsxs("div", { className: "flex items-start justify-between", children: [_jsx("div", { className: "mr-3 flex-shrink-0", children: agent.profileSvgIcon ? (_jsx("div", { className: "flex h-6 w-6 items-center justify-center text-gray-400 [&>svg]:h-full [&>svg]:w-full", dangerouslySetInnerHTML: {
21
+ __html: agent.profileSvgIcon,
22
+ } })) : (_jsx(SecretAgentIcon, { size: 24, strokeWidth: 1, className: "text-gray-400" })) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsxs("div", { className: "mb-1 flex items-center gap-2", children: [_jsx("div", { className: cn("h-2 w-2 flex-shrink-0 rounded-full", statusConfig.color, statusConfig.shouldPulse && "animate-pulse"), title: statusConfig.label }), _jsx("h4", { className: "truncate font-medium text-gray-900", children: agent.name }), agent.isShared && (_jsxs("div", { className: "flex items-center gap-1 rounded bg-blue-50 px-2 py-0.5 text-xs text-blue-700", children: [_jsx(Users, { className: "size-3", strokeWidth: 1 }), _jsx("span", { children: "Shared" })] }))] }), agent.isShared && agent.ownerName && (_jsxs("p", { className: "mb-1 text-xs text-gray-500", children: ["Created by ", agent.ownerName] })), agent.description && (_jsx("p", { className: "mb-2 truncate text-xs text-gray-500", children: agent.description })), _jsxs("div", { className: "space-y-1 text-xs text-gray-600", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "font-medium", children: "Updated:" }), _jsx("span", { children: formatDateTime(agent.updatedDate) })] }), agent.messageCount !== undefined && agent.messageCount > 0 && (_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "font-medium", children: "Messages:" }), _jsx("span", { children: agent.messageCount })] })), agent.totalCost !== undefined && agent.totalCost > 0 && (_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "font-medium", children: "Cost:" }), _jsxs("span", { children: ["$", agent.totalCost.toFixed(2)] })] }))] })] }), _jsxs("div", { className: "ml-3 flex gap-1", children: [isClosed && (_jsx(SimpleIconButton, { onClick: (e) => {
23
+ e.stopPropagation();
24
+ onResume(agent);
25
+ }, icon: _jsx(Play, { className: "size-3", strokeWidth: 1.5 }), label: "Resume Agent", className: "text-blue-600 opacity-60 hover:text-blue-700 hover:opacity-100" })), !isClosed && (_jsx(SimpleIconButton, { onClick: (e) => {
26
+ e.stopPropagation();
27
+ onClose(agent.id, agent.name);
28
+ }, icon: _jsx(X, { className: "size-3", strokeWidth: 1.5 }), label: "Close Agent", className: "text-gray-600 opacity-60 hover:text-gray-800 hover:opacity-100" })), _jsx(SimpleIconButton, { onClick: (e) => onDelete(agent.id, agent.name, e), icon: _jsx(Trash, { className: "size-3", strokeWidth: 1.5 }), label: "Delete Agent", className: "text-red-600 opacity-60 hover:text-red-700 hover:opacity-100" })] })] }) }, agent.id));
29
+ }
30
+ //# sourceMappingURL=AgentCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentCard.js","sourceRoot":"","sources":["../../src/agents-view/AgentCard.tsx"],"names":[],"mappings":";AAEA,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AAC,iBAAiB,aAC7B,QAAQ,IAAI,CACX,KAAC,gBAAgB,IACf,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gCACb,CAAC,CAAC,eAAe,EAAE,CAAC;gCACpB,QAAQ,CAAC,KAAK,CAAC,CAAC;4BAClB,CAAC,EACD,IAAI,EAAE,KAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,WAAW,EAAE,GAAG,GAAI,EACnD,KAAK,EAAC,cAAc,EACpB,SAAS,EAAC,gEAAgE,GAC1E,CACH,EACA,CAAC,QAAQ,IAAI,CACZ,KAAC,gBAAgB,IACf,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gCACb,CAAC,CAAC,eAAe,EAAE,CAAC;gCACpB,OAAO,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;4BAChC,CAAC,EACD,IAAI,EAAE,KAAC,CAAC,IAAC,SAAS,EAAC,QAAQ,EAAC,WAAW,EAAE,GAAG,GAAI,EAChD,KAAK,EAAC,aAAa,EACnB,SAAS,EAAC,gEAAgE,GAC1E,CACH,EACD,KAAC,gBAAgB,IACf,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,EACjD,IAAI,EAAE,KAAC,KAAK,IAAC,SAAS,EAAC,QAAQ,EAAC,WAAW,EAAE,GAAG,GAAI,EACpD,KAAK,EAAC,cAAc,EACpB,SAAS,EAAC,8DAA8D,GACxE,IACE,IACF,IA7GD,KAAK,CAAC,EAAE,CA8GT,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Agents overview view that displays active agents at the top
3
+ * and closed agents grouped by profile below with interactive controls
4
+ */
5
+ export declare function AgentsView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,255 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState, useEffect, useCallback } from "react";
3
+ import { getAgentsGrouped, getClosedAgentsByProfile, closeAgent, deleteAgent, } from "../editor/services/agentService";
4
+ import { cn } from "../lib/utils";
5
+ import { RefreshCw } from "lucide-react";
6
+ import { SimpleIconButton } from "../editor/ui/SimpleIconButton";
7
+ import { FilterInput } from "../components/FilterInput";
8
+ import { useEditContext } from "../editor/client/editContext";
9
+ import { AgentCard } from "./AgentCard";
10
+ import { ProfileAgentsGroup } from "./ProfileAgentsGroup";
11
+ import { Checkbox } from "../components/ui/checkbox";
12
+ /**
13
+ * Agents overview view that displays active agents at the top
14
+ * and closed agents grouped by profile below with interactive controls
15
+ */
16
+ export function AgentsView() {
17
+ const editContext = useEditContext();
18
+ const [activeAgents, setActiveAgents] = useState([]);
19
+ const [profileGroups, setProfileGroups] = useState([]);
20
+ const [expandedProfiles, setExpandedProfiles] = useState(new Set());
21
+ const [loadingMoreForProfile, setLoadingMoreForProfile] = useState(null);
22
+ const [loading, setLoading] = useState(true);
23
+ const [initialLoad, setInitialLoad] = useState(true);
24
+ const [error, setError] = useState(null);
25
+ const [refreshing, setRefreshing] = useState(false);
26
+ const [searchTerm, setSearchTerm] = useState("");
27
+ const [debouncedSearchTerm, setDebouncedSearchTerm] = useState("");
28
+ const [showOnlyMyAgents, setShowOnlyMyAgents] = useState(false);
29
+ // Debounce search term
30
+ useEffect(() => {
31
+ const timer = setTimeout(() => {
32
+ setDebouncedSearchTerm(searchTerm);
33
+ }, 400);
34
+ return () => clearTimeout(timer);
35
+ }, [searchTerm]);
36
+ const loadAgents = useCallback(async () => {
37
+ try {
38
+ setLoading(true);
39
+ setError(null);
40
+ const response = await getAgentsGrouped(debouncedSearchTerm || undefined, !showOnlyMyAgents, // includeShared
41
+ true);
42
+ setActiveAgents(response.activeAgents);
43
+ setProfileGroups(response.closedAgentsByProfile);
44
+ }
45
+ catch (err) {
46
+ console.error("Failed to load agents:", err);
47
+ setError(err?.message || "Failed to load agents. Please try again later.");
48
+ }
49
+ finally {
50
+ setLoading(false);
51
+ setRefreshing(false);
52
+ setInitialLoad(false);
53
+ }
54
+ }, [showOnlyMyAgents, debouncedSearchTerm]);
55
+ // Initial load and reload when filters change
56
+ useEffect(() => {
57
+ loadAgents();
58
+ }, [loadAgents]);
59
+ // Subscribe to websocket messages for real-time agent updates
60
+ useEffect(() => {
61
+ if (!editContext?.addSocketMessageListener)
62
+ return;
63
+ const unsubscribe = editContext.addSocketMessageListener((message) => {
64
+ if (message.type === "agent:run:start") {
65
+ const { agentId, agentName } = message.payload;
66
+ if (!agentId || !agentName) {
67
+ console.warn("Invalid agent:run:start message payload:", message.payload);
68
+ return;
69
+ }
70
+ // Update or add agent in active agents list
71
+ setActiveAgents((prevAgents) => {
72
+ const existingAgentIndex = prevAgents.findIndex((agent) => agent.id === agentId);
73
+ if (existingAgentIndex !== -1) {
74
+ // Update existing agent
75
+ const updatedAgents = [...prevAgents];
76
+ const existingAgent = updatedAgents[existingAgentIndex];
77
+ updatedAgents[existingAgentIndex] = {
78
+ ...existingAgent,
79
+ name: agentName,
80
+ status: "running",
81
+ updatedDate: new Date().toISOString(),
82
+ };
83
+ return updatedAgents;
84
+ }
85
+ else {
86
+ // Agent not found - reload to get full details
87
+ loadAgents();
88
+ return prevAgents;
89
+ }
90
+ });
91
+ }
92
+ else if (message.type === "agent:info:updated") {
93
+ const { agentId, agentName, agentDescription } = message.payload || {};
94
+ if (!agentId)
95
+ return;
96
+ // Update agent in active agents list
97
+ setActiveAgents((prevAgents) => {
98
+ const existingIndex = prevAgents.findIndex((a) => a.id === agentId);
99
+ if (existingIndex === -1)
100
+ return prevAgents;
101
+ const updatedAgents = [...prevAgents];
102
+ const existingAgent = updatedAgents[existingIndex];
103
+ updatedAgents[existingIndex] = {
104
+ ...existingAgent,
105
+ ...(agentName !== undefined && { name: agentName }),
106
+ ...(agentDescription !== undefined && {
107
+ description: agentDescription,
108
+ }),
109
+ updatedDate: new Date().toISOString(),
110
+ };
111
+ return updatedAgents;
112
+ });
113
+ }
114
+ else if (message.type === "agent:run:closed") {
115
+ // Reload agents when one is closed - it should move to closed section
116
+ loadAgents();
117
+ }
118
+ });
119
+ return unsubscribe;
120
+ }, [editContext?.addSocketMessageListener, loadAgents]);
121
+ const handleRefresh = async () => {
122
+ setRefreshing(true);
123
+ await loadAgents();
124
+ };
125
+ const handleToggleProfile = (profileId) => {
126
+ const key = profileId || "null";
127
+ setExpandedProfiles((prev) => {
128
+ const newSet = new Set(prev);
129
+ if (newSet.has(key)) {
130
+ newSet.delete(key);
131
+ }
132
+ else {
133
+ newSet.add(key);
134
+ }
135
+ return newSet;
136
+ });
137
+ };
138
+ const handleLoadMoreForProfile = async (profileId) => {
139
+ if (!profileId || loadingMoreForProfile)
140
+ return;
141
+ try {
142
+ setLoadingMoreForProfile(profileId);
143
+ // Find the current profile group
144
+ const profileGroup = profileGroups.find((g) => g.profileId === profileId);
145
+ if (!profileGroup)
146
+ return;
147
+ const currentCount = profileGroup.agents.length;
148
+ // Load more agents for this profile
149
+ const response = await getClosedAgentsByProfile(profileId, currentCount, 10, debouncedSearchTerm || undefined);
150
+ // Update the profile group with new agents
151
+ setProfileGroups((prevGroups) => prevGroups.map((group) => {
152
+ if (group.profileId === profileId) {
153
+ return {
154
+ ...group,
155
+ agents: [...group.agents, ...response.agents],
156
+ };
157
+ }
158
+ return group;
159
+ }));
160
+ }
161
+ catch (err) {
162
+ console.error("Failed to load more agents:", err);
163
+ editContext?.showToast(`Failed to load more agents: ${err?.message || "Unknown error"}`);
164
+ }
165
+ finally {
166
+ setLoadingMoreForProfile(null);
167
+ }
168
+ };
169
+ const handleResumeAgent = (agent) => {
170
+ // Ensure agents panel is visible, but don't switch views
171
+ editContext?.setShowAgentsPanel?.(true);
172
+ // Delay briefly for any UI updates, then dispatch event to open existing agent
173
+ setTimeout(() => {
174
+ window.dispatchEvent(new CustomEvent("editor:openAgent", {
175
+ detail: { agentId: agent.id },
176
+ }));
177
+ }, 100);
178
+ };
179
+ const handleCloseAgent = async (agentId, agentName) => {
180
+ editContext?.confirm({
181
+ header: "Close Agent",
182
+ message: `Are you sure you want to close "${agentName}"? This will stop its execution if running.`,
183
+ acceptLabel: "Close Agent",
184
+ accept: async () => {
185
+ try {
186
+ await closeAgent(agentId);
187
+ // Reload to move agent from active to closed section
188
+ loadAgents();
189
+ }
190
+ catch (err) {
191
+ console.error("Failed to close agent:", err);
192
+ editContext?.showToast(`Failed to close agent: ${err?.message || "Unknown error"}`);
193
+ }
194
+ },
195
+ showCancel: true,
196
+ });
197
+ };
198
+ const handleDeleteAgent = async (agentId, agentName, event) => {
199
+ event.stopPropagation();
200
+ editContext?.confirm({
201
+ header: "Delete Agent",
202
+ message: `Are you sure you want to permanently delete "${agentName}"? This action cannot be undone.`,
203
+ acceptLabel: "Delete Agent",
204
+ accept: async () => {
205
+ try {
206
+ await deleteAgent(agentId);
207
+ // Remove from both active and closed lists
208
+ setActiveAgents((prev) => prev.filter((a) => a.id !== agentId));
209
+ setProfileGroups((prevGroups) => prevGroups.map((group) => ({
210
+ ...group,
211
+ agents: group.agents.filter((a) => a.id !== agentId),
212
+ totalClosedCount: Math.max(0, group.totalClosedCount - 1),
213
+ })));
214
+ }
215
+ catch (err) {
216
+ console.error("Failed to delete agent:", err);
217
+ editContext?.showToast(`Failed to delete agent: ${err?.message || "Unknown error"}`);
218
+ }
219
+ },
220
+ showCancel: true,
221
+ });
222
+ };
223
+ const handleAgentClick = (agent) => {
224
+ // Only select the agent in the agents panel; do not switch views
225
+ window.dispatchEvent(new CustomEvent("editor:selectAgent", {
226
+ detail: { agentId: agent.id },
227
+ }));
228
+ };
229
+ const formatDateTime = (dateString) => {
230
+ try {
231
+ const date = new Date(dateString);
232
+ return date.toLocaleString();
233
+ }
234
+ catch {
235
+ return dateString;
236
+ }
237
+ };
238
+ // Show full-screen loading only on initial load
239
+ if (initialLoad && loading) {
240
+ return (_jsx("div", { className: "flex h-full items-center justify-center", children: _jsx("div", { className: "text-sm text-gray-500", children: "Loading agents..." }) }));
241
+ }
242
+ const totalActiveCount = activeAgents.length;
243
+ const totalClosedCount = profileGroups.reduce((sum, group) => sum + group.totalClosedCount, 0);
244
+ const totalCount = totalActiveCount + totalClosedCount;
245
+ return (_jsxs("div", { className: "absolute inset-0 flex flex-col", children: [_jsxs("div", { className: "flex-shrink-0 border-b border-gray-200 bg-white p-4", children: [_jsxs("div", { className: "mb-3 flex items-center justify-between", children: [_jsxs("div", { children: [_jsx("h2", { className: "text-md font-semibold text-dark", children: "Agents" }), _jsxs("p", { className: "text-xs text-gray-500", children: [totalActiveCount, " active, ", totalClosedCount, " closed (", totalCount, " ", "total)"] })] }), _jsx("div", { className: "flex items-center gap-2", children: _jsx(SimpleIconButton, { onClick: handleRefresh, icon: _jsx(RefreshCw, { className: cn("size-4", refreshing && "animate-spin"), strokeWidth: 1 }), label: "Refresh", disabled: refreshing, className: "text-gray-600 hover:text-gray-800" }) })] }), _jsx("div", { className: "mb-3", children: _jsxs("label", { className: "flex cursor-pointer items-center gap-2 text-sm", children: [_jsx(Checkbox, { checked: showOnlyMyAgents, onCheckedChange: (checked) => setShowOnlyMyAgents(checked === true) }), _jsx("span", { className: "text-gray-700", children: "Show only my agents" })] }) }), _jsx(FilterInput, { value: searchTerm, onChange: setSearchTerm, placeholder: "Search by name or description...", loading: loading && !initialLoad, size: "md" })] }), _jsxs("div", { className: "relative flex-1 overflow-y-auto", children: [loading && !initialLoad && (_jsx("div", { className: "absolute top-2 left-1/2 z-10 -translate-x-1/2 rounded-md bg-white px-3 py-1.5 shadow-md", children: _jsxs("div", { className: "flex items-center gap-2 text-sm text-gray-600", children: [_jsx(RefreshCw, { className: "size-3 animate-spin", strokeWidth: 1 }), _jsx("span", { children: "Loading..." })] }) })), error ? (_jsx("div", { className: "flex h-full items-center justify-center", children: _jsxs("div", { className: "max-w-md text-center", children: [_jsx("div", { className: "mb-4 text-sm text-red-600", children: error }), _jsx("button", { onClick: handleRefresh, className: "rounded bg-blue-500 px-4 py-2 text-xs text-white hover:bg-blue-600", children: "Retry" })] }) })) : totalCount === 0 && !loading ? (_jsx("div", { className: "flex h-full items-center justify-center text-sm text-gray-500", children: searchTerm.trim()
246
+ ? "No agents match your search"
247
+ : "No agents found" })) : (_jsxs("div", { className: cn("space-y-4 p-4", loading && "opacity-60"), children: [activeAgents.length > 0 && (_jsxs("div", { className: "space-y-2", children: [_jsx("h3", { className: "text-sm font-semibold text-gray-700", children: "Active Agents" }), activeAgents.map((agent) => (_jsx(AgentCard, { agent: agent, onClick: handleAgentClick, onResume: handleResumeAgent, onClose: handleCloseAgent, onDelete: handleDeleteAgent, formatDateTime: formatDateTime }, agent.id)))] })), profileGroups.length > 0 && (_jsxs("div", { className: "space-y-2", children: [_jsx("h3", { className: "text-sm font-semibold text-gray-700", children: "Closed Agents by Profile" }), profileGroups.map((profileGroup) => {
248
+ const profileKey = profileGroup.profileId || "null";
249
+ const isExpanded = expandedProfiles.has(profileKey);
250
+ const isLoadingMore = loadingMoreForProfile === profileGroup.profileId;
251
+ const hasMore = profileGroup.agents.length < profileGroup.totalClosedCount;
252
+ return (_jsx(ProfileAgentsGroup, { profileGroup: profileGroup, isExpanded: isExpanded, isLoadingMore: isLoadingMore, hasMore: hasMore, onToggle: () => handleToggleProfile(profileGroup.profileId), onLoadMore: () => handleLoadMoreForProfile(profileGroup.profileId), onAgentClick: handleAgentClick, onResumeAgent: handleResumeAgent, onCloseAgent: handleCloseAgent, onDeleteAgent: handleDeleteAgent, formatDateTime: formatDateTime }, profileKey));
253
+ })] }))] }))] })] }));
254
+ }
255
+ //# sourceMappingURL=AgentsView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentsView.js","sourceRoot":"","sources":["../../src/agents-view/AgentsView.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAEL,gBAAgB,EAChB,wBAAwB,EAExB,UAAU,EACV,WAAW,GACZ,MAA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AAE,YAAY,EAC1B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,GAAG,EAAE,CACb,mBAAmB,CAAC,YAAY,CAAC,SAAS,CAAC,EAE7C,UAAU,EAAE,GAAG,EAAE,CACf,wBAAwB,CAAC,YAAY,CAAC,SAAS,CAAC,EAElD,YAAY,EAAE,gBAAgB,EAC9B,aAAa,EAAE,iBAAiB,EAChC,YAAY,EAAE,gBAAgB,EAC9B,aAAa,EAAE,iBAAiB,EAChC,cAAc,EAAE,cAAc,IAfzB,UAAU,CAgBf,CACH,CAAC;oCACJ,CAAC,CAAC,IACE,CACP,IACG,CACP,IACG,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { Agent, ProfileAgentsGroup as ProfileGroup } from "../editor/services/agentService";
3
+ interface ProfileAgentsGroupProps {
4
+ profileGroup: ProfileGroup;
5
+ isExpanded: boolean;
6
+ isLoadingMore: boolean;
7
+ hasMore: boolean;
8
+ onToggle: () => void;
9
+ onLoadMore: () => void;
10
+ onAgentClick: (agent: Agent) => void;
11
+ onResumeAgent: (agent: Agent) => void;
12
+ onCloseAgent: (agentId: string, agentName: string) => void;
13
+ onDeleteAgent: (agentId: string, agentName: string, event: React.MouseEvent) => void;
14
+ formatDateTime: (dateString: string) => string;
15
+ }
16
+ export declare function ProfileAgentsGroup({ profileGroup, isExpanded, isLoadingMore, hasMore, onToggle, onLoadMore, onAgentClick, onResumeAgent, onCloseAgent, onDeleteAgent, formatDateTime, }: ProfileAgentsGroupProps): import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ChevronDown, ChevronUp } from "lucide-react";
3
+ import { AgentCard } from "./AgentCard";
4
+ import { SecretAgentIcon } from "../editor/ui/Icons";
5
+ export function ProfileAgentsGroup({ profileGroup, isExpanded, isLoadingMore, hasMore, onToggle, onLoadMore, onAgentClick, onResumeAgent, onCloseAgent, onDeleteAgent, formatDateTime, }) {
6
+ return (_jsxs("div", { className: "rounded-lg border border-gray-200 bg-white shadow-sm", children: [_jsxs("button", { onClick: onToggle, className: "flex w-full items-center gap-3 bg-gray-50 p-3 text-left transition-colors hover:bg-gray-100", children: [_jsx("div", { className: "flex-shrink-0", children: profileGroup.profileSvgIcon ? (_jsx("div", { className: "flex h-6 w-6 items-center justify-center text-gray-500 [&>svg]:h-full [&>svg]:w-full", dangerouslySetInnerHTML: {
7
+ __html: profileGroup.profileSvgIcon,
8
+ } })) : (_jsx(SecretAgentIcon, { size: 24, strokeWidth: 1, className: "text-gray-500" })) }), _jsx("div", { className: "min-w-0 flex-1", children: _jsx("h3", { className: "truncate font-medium text-gray-900", children: profileGroup.profileName }) }), _jsxs("div", { className: "flex-shrink-0 rounded-full bg-gray-200 px-3 py-1 text-xs font-medium text-gray-700", children: [profileGroup.totalClosedCount, " closed agent", profileGroup.totalClosedCount !== 1 ? "s" : ""] }), _jsx("div", { className: "flex-shrink-0 text-gray-500", children: isExpanded ? (_jsx(ChevronUp, { className: "size-5", strokeWidth: 1 })) : (_jsx(ChevronDown, { className: "size-5", strokeWidth: 1 })) })] }), isExpanded && (_jsxs("div", { className: "space-y-2 p-3", children: [profileGroup.agents.map((agent) => (_jsx(AgentCard, { agent: agent, onClick: onAgentClick, onResume: onResumeAgent, onClose: onCloseAgent, onDelete: onDeleteAgent, formatDateTime: formatDateTime }, agent.id))), hasMore && (_jsx("div", { className: "flex justify-center pt-2", children: _jsx("button", { onClick: (e) => {
9
+ e.stopPropagation();
10
+ onLoadMore();
11
+ }, disabled: isLoadingMore, className: "rounded-lg border border-gray-300 bg-white px-6 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 disabled:opacity-50", children: isLoadingMore ? "Loading..." : "Load More" }) }))] }))] }));
12
+ }
13
+ //# sourceMappingURL=ProfileAgentsGroup.js.map
@@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D,CAAC,CAAC,CAAC,CACF,KAAC,WAAW,IAAC,SAAS,EAAC,QAAQ,EAAC,WAAW,EAAE,CAAC,GAAI,CACnD,GACG,IACC,EAGR,UAAU,IAAI,CACb,eAAK,SAAS,EAAC,eAAe,aAC3B,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAClC,KAAC,SAAS,IAER,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,aAAa,EACvB,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,aAAa,EACvB,cAAc,EAAE,cAAc,IANzB,KAAK,CAAC,EAAE,CAOb,CACH,CAAC,EAGD,OAAO,IAAI,CACV,cAAK,SAAS,EAAC,0BAA0B,YACvC,iBACE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gCACb,CAAC,CAAC,eAAe,EAAE,CAAC;gCACpB,UAAU,EAAE,CAAC;4BACf,CAAC,EACD,QAAQ,EAAE,aAAa,EACvB,SAAS,EAAC,6HAA6H,YAEtI,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,GACpC,GACL,CACP,IACG,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function selectComponents(componentIds: string[]): void;
@@ -0,0 +1,4 @@
1
+ export function selectComponents(componentIds) {
2
+ window.top?.window.postMessage({ componentIds, type: "componentsSelected" }, "*");
3
+ }
4
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/client-components/api.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,gBAAgB,CAAC,YAAsB;IACrD,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,CAC5B,EAAE,YAAY,EAAE,IAAI,EAAE,oBAAoB,EAAE,EAC5C,GAAG,CACJ,CAAC;AACJ,CAAC"}
@@ -0,0 +1,17 @@
1
+ export { useEditContext } from "../editor/client/editContext";
2
+ export { selectComponents } from "./api";
3
+ export { getDefaultTourSteps } from "../tour/default-tour";
4
+ export * from "../editor/field-types/DropLinkEditor";
5
+ export * from "../editor/field-types/TreeListEditor";
6
+ export * from "../editor/field-types/DropListEditor";
7
+ export * from "../editor/field-types/AttachmentEditor";
8
+ export * from "../editor/field-types/CheckboxEditor";
9
+ export * from "../editor/field-types/DateFieldEditor";
10
+ export * from "../editor/field-types/LinkFieldEditor";
11
+ export * from "../editor/field-types/PictureFieldEditor";
12
+ export * from "../editor/field-types/RichTextEditor";
13
+ export * from "../editor/field-types/SingleLineText";
14
+ export * from "../editor/field-types/MultiLineText";
15
+ export * from "../editor/field-types/RawEditor";
16
+ export * from "../editor/field-types/RichTextEditor";
17
+ export * from "../editor/field-types/InternalLinkFieldEditor";
@@ -0,0 +1,18 @@
1
+ export { useEditContext } from "../editor/client/editContext";
2
+ export { selectComponents } from "./api";
3
+ export { getDefaultTourSteps } from "../tour/default-tour";
4
+ export * from "../editor/field-types/DropLinkEditor";
5
+ export * from "../editor/field-types/TreeListEditor";
6
+ export * from "../editor/field-types/DropListEditor";
7
+ export * from "../editor/field-types/AttachmentEditor";
8
+ export * from "../editor/field-types/CheckboxEditor";
9
+ export * from "../editor/field-types/DateFieldEditor";
10
+ export * from "../editor/field-types/LinkFieldEditor";
11
+ export * from "../editor/field-types/PictureFieldEditor";
12
+ export * from "../editor/field-types/RichTextEditor";
13
+ export * from "../editor/field-types/SingleLineText";
14
+ export * from "../editor/field-types/MultiLineText";
15
+ export * from "../editor/field-types/RawEditor";
16
+ export * from "../editor/field-types/RichTextEditor";
17
+ export * from "../editor/field-types/InternalLinkFieldEditor";
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/client-components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ interface ActionButtonProps {
3
+ id?: string;
4
+ isLoading?: boolean;
5
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
6
+ disabled?: boolean;
7
+ loadingText?: string;
8
+ children: React.ReactNode;
9
+ type?: "button" | "submit" | "reset";
10
+ className?: string;
11
+ variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
12
+ }
13
+ export declare const ActionButton: React.FC<ActionButtonProps>;
14
+ export {};
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button } from "./ui/button";
3
+ export const ActionButton = ({ id, isLoading, onClick, disabled = false, loadingText = "Loading...", children, type = "button", className = "", variant = "default", ...props }) => {
4
+ return (_jsx(Button, { id: id, type: type, onClick: onClick, disabled: disabled || isLoading, className: className, variant: variant, size: "sm", ...props, children: isLoading ? (_jsxs("div", { className: "flex items-center justify-center gap-2", children: [_jsx("div", { className: "mr-2 h-4 w-4 animate-spin rounded-full border-2 border-white border-t-transparent" }), _jsx("div", { children: loadingText })] })) : (children) }));
5
+ };
6
+ //# sourceMappingURL=ActionButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionButton.js","sourceRoot":"","sources":["../../src/components/ActionButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAoBrC,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,EACxD,EAAE,EACF,SAAS,EACT,OAAO,EACP,QAAQ,GAAG,KAAK,EAChB,WAAW,GAAG,YAAY,EAC1B,QAAQ,EACR,IAAI,GAAG,QAAQ,EACf,SAAS,GAAG,EAAE,EACd,OAAO,GAAG,SAAS,EACnB,GAAG,KAAK,EACT,EAAE,EAAE;IACH,OAAO,CACL,KAAC,MAAM,IACL,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,IAAI,SAAS,EAC/B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,IAAI,KACL,KAAK,YAER,SAAS,CAAC,CAAC,CAAC,CACX,eAAK,SAAS,EAAC,wCAAwC,aACrD,cAAK,SAAS,EAAC,mFAAmF,GAAO,EACzG,wBAAM,WAAW,GAAO,IACpB,CACP,CAAC,CAAC,CAAC,CACF,QAAQ,CACT,GACM,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { EditContextType } from "../editor/client/editContext";
2
+ import { Component } from "../editor/pageModel";
3
+ export declare function ErrorFallback(): import("react/jsx-runtime").JSX.Element;
4
+ export declare function ErrorFallbackWithDetails({ error, component, editContext, }: {
5
+ error: Error;
6
+ component: Component;
7
+ editContext?: EditContextType;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ export declare function AsyncComponent(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,24 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ export function ErrorFallback() {
4
+ // Call resetErrorBoundary() to reset the error boundary and retry the render.
5
+ return (_jsx("div", { role: "alert", children: _jsx("p", { children: "Something went wrong." }) }));
6
+ }
7
+ export function ErrorFallbackWithDetails({ error, component, editContext, }) {
8
+ // Call resetErrorBoundary() to reset the error boundary and retry the render.
9
+ return (_jsx("div", { role: "alert", className: "cursor-pointer", onClick: (ev) => {
10
+ if (!editContext)
11
+ return;
12
+ ev.stopPropagation();
13
+ ev.preventDefault();
14
+ editContext.select([component.id]);
15
+ if (!editContext.configuration.editor.views)
16
+ return;
17
+ if (component.rendering)
18
+ editContext.switchView("component-designer");
19
+ }, children: _jsxs("div", { className: "text-xs bg-gray-100 p-3", children: [_jsx("div", { className: "font-bold mb-1", children: "Something went wrong" }), _jsxs("div", { children: ["Component id: ", component.id] }), _jsxs("div", { children: ["Component type: ", component.type] }), component.rendering && (_jsxs("div", { children: ["Rendering id: ", component.rendering.id] })), _jsxs("pre", { className: "overflow-x-auto text-red-500 py-2", children: [error.message, " ", error.stack] })] }) }));
20
+ }
21
+ export function AsyncComponent() {
22
+ return _jsx(ErrorFallback, {});
23
+ }
24
+ //# sourceMappingURL=Error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Error.js","sourceRoot":"","sources":["../../src/components/Error.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAKb,MAAM,UAAU,aAAa;IAC3B,8EAA8E;IAE9E,OAAO,CACL,cAAK,IAAI,EAAC,OAAO,YACf,gDAA4B,GACxB,CACP,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,EACvC,KAAK,EACL,SAAS,EACT,WAAW,GAKZ;IACC,8EAA8E;IAE9E,OAAO,CACL,cACE,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,gBAAgB,EAC1B,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;YACd,IAAI,CAAC,WAAW;gBAAE,OAAO;YACzB,EAAE,CAAC,eAAe,EAAE,CAAC;YACrB,EAAE,CAAC,cAAc,EAAE,CAAC;YACpB,WAAW,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC;YACnC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK;gBAAE,OAAO;YACpD,IAAI,SAAS,CAAC,SAAS;gBAAE,WAAW,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;QACxE,CAAC,YAED,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,gBAAgB,qCAA2B,EAC1D,4CAAoB,SAAS,CAAC,EAAE,IAAO,EACvC,8CAAsB,SAAS,CAAC,IAAI,IAAO,EAC1C,SAAS,CAAC,SAAS,IAAI,CACtB,4CAAoB,SAAS,CAAC,SAAS,CAAC,EAAE,IAAO,CAClD,EACD,eAAK,SAAS,EAAC,mCAAmC,aAC/C,KAAK,CAAC,OAAO,OAAG,KAAK,CAAC,KAAK,IACxB,IACF,GACF,CACP,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,OAAO,KAAC,aAAa,KAAG,CAAC;AAC3B,CAAC"}
@@ -0,0 +1,22 @@
1
+ export interface FilterInputProps {
2
+ value: string;
3
+ onChange: (value: string) => void;
4
+ placeholder?: string;
5
+ className?: string;
6
+ showSearchIcon?: boolean;
7
+ showClearIcon?: boolean;
8
+ disabled?: boolean;
9
+ autoFocus?: boolean;
10
+ loading?: boolean;
11
+ size?: "sm" | "md" | "lg";
12
+ spinnerStyle?: React.CSSProperties;
13
+ onClear?: () => void;
14
+ }
15
+ export declare const FilterInput: import("react").ForwardRefExoticComponent<FilterInputProps & import("react").RefAttributes<HTMLInputElement>>;
16
+ /**
17
+ * Utility function to highlight matching text in search results
18
+ * @param text - The text to highlight
19
+ * @param filter - The filter string to match
20
+ * @returns JSX elements with highlighted matches
21
+ */
22
+ export declare const highlightMatch: (text: string, filter: string) => string | ("" | import("react/jsx-runtime").JSX.Element)[];
@@ -0,0 +1,29 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import { Search, X, Loader2 } from "lucide-react";
4
+ import { Input } from "./ui/input";
5
+ import { cn } from "../lib/utils";
6
+ export const FilterInput = forwardRef(({ value, onChange, placeholder = "Filter...", className, showSearchIcon = true, showClearIcon = true, disabled = false, autoFocus = false, loading = false, size = "sm", spinnerStyle, onClear, }, ref) => {
7
+ const handleClear = () => {
8
+ onChange("");
9
+ if (onClear) {
10
+ onClear();
11
+ }
12
+ };
13
+ return (_jsxs("div", { className: cn("relative flex items-center", className), children: [_jsx(Input, { ref: ref, type: "text", value: value, onChange: (e) => onChange(e.target.value), className: cn("pr-8 text-xs", size === "sm" && "h-7", size === "md" && "h-8", size === "lg" && "h-9"), placeholder: placeholder, disabled: disabled, autoFocus: autoFocus }), loading && (_jsx(Loader2, { className: "absolute right-2 h-4 w-4 animate-spin text-gray-400", style: spinnerStyle })), !loading && !value && showSearchIcon && (_jsx(Search, { className: "absolute right-2 h-4 w-4 text-gray-400" })), !loading && value && showClearIcon && (_jsx(X, { className: "absolute right-2 h-4 w-4 cursor-pointer text-gray-400 hover:text-gray-600", onClick: handleClear }))] }));
14
+ });
15
+ FilterInput.displayName = "FilterInput";
16
+ /**
17
+ * Utility function to highlight matching text in search results
18
+ * @param text - The text to highlight
19
+ * @param filter - The filter string to match
20
+ * @returns JSX elements with highlighted matches
21
+ */
22
+ export const highlightMatch = (text, filter) => {
23
+ if (!filter.trim())
24
+ return text;
25
+ return text
26
+ .split(new RegExp(`(${filter})`, "i"))
27
+ .map((part, i) => part.toLowerCase() === filter.toLowerCase() && part ? (_jsx("u", { className: "font-bold", children: part }, i)) : (part && _jsx("span", { children: part }, i)));
28
+ };
29
+ //# sourceMappingURL=FilterInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterInput.js","sourceRoot":"","sources":["../../src/components/FilterInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAClD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AAG,CAC9D,EACA,CAAC,OAAO,IAAI,KAAK,IAAI,aAAa,IAAI,CACrC,KAAC,CAAC,IACA,SAAS,EAAC,2EAA2E,EACrF,OAAO,EAAE,WAAW,GACpB,CACH,IACG,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,WAAW,CAAC,WAAW,GAAG,aAAa,CAAC;AAExC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,MAAc,EAAE,EAAE;IAC7D,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE;QAAE,OAAO,IAAI,CAAC;IAEhC,OAAO,IAAI;SACR,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;SACrC,GAAG,CAAC,CAAC,IAAY,EAAE,CAAS,EAAE,EAAE,CAC/B,IAAI,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC,WAAW,EAAE,IAAI,IAAI,CAAC,CAAC,CAAC,CACpD,YAAG,SAAS,EAAC,WAAW,YACrB,IAAI,IADuB,CAAC,CAE3B,CACL,CAAC,CAAC,CAAC,CACF,IAAI,IAAI,yBAAe,IAAI,IAAR,CAAC,CAAe,CACpC,CACF,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { FilterInput, highlightMatch } from "./FilterInput";
2
+ export type { FilterInputProps } from "./FilterInput";
3
+ export { LanguageSelector } from "./ui/LanguageSelector";
4
+ export { Select } from "./ui/select";
5
+ export type { SelectOption, SelectProps } from "./ui/select";
6
+ export { TabView, TabPanel } from "./ui/tabs";
7
+ export type { TabViewProps, TabPanelProps } from "./ui/tabs";
@@ -0,0 +1,5 @@
1
+ export { FilterInput, highlightMatch } from "./FilterInput";
2
+ export { LanguageSelector } from "./ui/LanguageSelector";
3
+ export { Select } from "./ui/select";
4
+ export { TabView, TabPanel } from "./ui/tabs";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare function CardConnector({ className, direction, }: {
2
+ className?: string;
3
+ direction?: "horizontal" | "vertical";
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { cn } from "../../lib/utils";
3
+ export function CardConnector({ className, direction, }) {
4
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: cn("mt-[-3px] mb-[-3px] flex items-center justify-center", className, (!direction || direction === "horizontal") && "md:hidden"), children: _jsx("svg", { width: "40", height: "31", viewBox: "0 0 40 31", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M40 3.04199C33.8405 3.55018 29 8.70936 29 15C29 21.2906 33.8405 26.4498 40 26.958L40 31L-1.35505e-06 31L-1.18021e-06 27C6.62741 27 12 21.6274 12 15C12 8.37258 6.62741 3 -1.31134e-07 3L0 -1.74846e-06L40 0L40 3.04199Z", fill: "white" }) }) }), _jsx("div", { className: cn("mt-6 mr-[-3px] ml-[-3px] hidden", className, (!direction || direction === "horizontal") && "md:block"), children: _jsx("svg", { className: className, width: "31", height: "40", viewBox: "0 0 31 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M3.04199 0C3.55018 6.15949 8.70936 11 15 11C21.2906 11 26.4498 6.1595 26.958 0H31V40H27C27 33.3726 21.6274 28 15 28C8.37258 28 3 33.3726 3 40H0V0H3.04199Z", fill: "white" }) }) })] }));
5
+ }
6
+ //# sourceMappingURL=CardConnector.js.map