@parhelia/core 0.4.12818 → 0.4.12871

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 (1146) hide show
  1. package/dist/components/emoji/EmojiPicker.d.ts +18 -0
  2. package/dist/components/emoji/EmojiPicker.js +102 -0
  3. package/dist/components/emoji/EmojiPicker.js.map +1 -0
  4. package/dist/components/emoji/EmojiText.d.ts +19 -0
  5. package/dist/components/emoji/EmojiText.js +30 -0
  6. package/dist/components/emoji/EmojiText.js.map +1 -0
  7. package/dist/components/emoji/emojiData.generated.d.ts +2 -0
  8. package/dist/components/emoji/emojiData.generated.js +1878 -0
  9. package/dist/components/emoji/emojiData.generated.js.map +1 -0
  10. package/dist/components/emoji/emojiIndex.d.ts +46 -0
  11. package/dist/components/emoji/emojiIndex.js +173 -0
  12. package/dist/components/emoji/emojiIndex.js.map +1 -0
  13. package/dist/components/emoji/emoticons.d.ts +21 -0
  14. package/dist/components/emoji/emoticons.js +167 -0
  15. package/dist/components/emoji/emoticons.js.map +1 -0
  16. package/dist/components/emoji/textareaInsert.d.ts +19 -0
  17. package/dist/components/emoji/textareaInsert.js +29 -0
  18. package/dist/components/emoji/textareaInsert.js.map +1 -0
  19. package/dist/components/emoji/twemoji.d.ts +30 -0
  20. package/dist/components/emoji/twemoji.js +84 -0
  21. package/dist/components/emoji/twemoji.js.map +1 -0
  22. package/dist/components/ui/alert.d.ts +6 -1
  23. package/dist/components/ui/alert.js +12 -3
  24. package/dist/components/ui/alert.js.map +1 -1
  25. package/dist/components/ui/context-menu.d.ts +25 -0
  26. package/dist/components/ui/context-menu.js +54 -36
  27. package/dist/components/ui/context-menu.js.map +1 -1
  28. package/dist/components/ui/copy-button.d.ts +3 -1
  29. package/dist/components/ui/copy-button.js +13 -2
  30. package/dist/components/ui/copy-button.js.map +1 -1
  31. package/dist/components/ui/mention-textarea.d.ts +8 -0
  32. package/dist/components/ui/mention-textarea.js +98 -46
  33. package/dist/components/ui/mention-textarea.js.map +1 -1
  34. package/dist/components/ui/paste-button.js +11 -1
  35. package/dist/components/ui/paste-button.js.map +1 -1
  36. package/dist/config/config.js +46 -4
  37. package/dist/config/config.js.map +1 -1
  38. package/dist/config/types.d.ts +2 -0
  39. package/dist/config/types.js.map +1 -1
  40. package/dist/editor/ConcurrentUserLimitDialog.js +5 -2
  41. package/dist/editor/ConcurrentUserLimitDialog.js.map +1 -1
  42. package/dist/editor/ContentTree.js +7 -2
  43. package/dist/editor/ContentTree.js.map +1 -1
  44. package/dist/editor/ContextMenu.js +11 -36
  45. package/dist/editor/ContextMenu.js.map +1 -1
  46. package/dist/editor/EditorWarning.js +8 -4
  47. package/dist/editor/EditorWarning.js.map +1 -1
  48. package/dist/editor/FieldList.js +1 -1
  49. package/dist/editor/FieldList.js.map +1 -1
  50. package/dist/editor/FieldListField.js +18 -13
  51. package/dist/editor/FieldListField.js.map +1 -1
  52. package/dist/editor/FieldListFieldWithFallbacks.js +1 -1
  53. package/dist/editor/GlobalMenuBar.js +2 -1
  54. package/dist/editor/GlobalMenuBar.js.map +1 -1
  55. package/dist/editor/ImageEditor.js +3 -1
  56. package/dist/editor/ImageEditor.js.map +1 -1
  57. package/dist/editor/MainLayout.js +1 -1
  58. package/dist/editor/MainLayout.js.map +1 -1
  59. package/dist/editor/MigrationsView.js +3 -2
  60. package/dist/editor/MigrationsView.js.map +1 -1
  61. package/dist/editor/MobileLayout.js +43 -20
  62. package/dist/editor/MobileLayout.js.map +1 -1
  63. package/dist/editor/PictureEditor.js +4 -2
  64. package/dist/editor/PictureEditor.js.map +1 -1
  65. package/dist/editor/QuickItemSwitcher.js +4 -2
  66. package/dist/editor/QuickItemSwitcher.js.map +1 -1
  67. package/dist/editor/agent-changes/agentChangeTargets.js +6 -0
  68. package/dist/editor/agent-changes/agentChangeTargets.js.map +1 -1
  69. package/dist/editor/agent-changes/agentChangeTextHighlight.d.ts +48 -4
  70. package/dist/editor/agent-changes/agentChangeTextHighlight.js +67 -9
  71. package/dist/editor/agent-changes/agentChangeTextHighlight.js.map +1 -1
  72. package/dist/editor/ai/AgentStatusBadge.js +11 -9
  73. package/dist/editor/ai/AgentStatusBadge.js.map +1 -1
  74. package/dist/editor/ai/Agents.js +2 -2
  75. package/dist/editor/ai/Agents.js.map +1 -1
  76. package/dist/editor/ai/HeartbeatDiagnosticsPanel.js +1 -1
  77. package/dist/editor/ai/InlineAiDialog.js +11 -8
  78. package/dist/editor/ai/InlineAiDialog.js.map +1 -1
  79. package/dist/editor/ai/InlineAiTrigger.js +18 -14
  80. package/dist/editor/ai/InlineAiTrigger.js.map +1 -1
  81. package/dist/editor/ai/agentActivitySummary.js +5 -0
  82. package/dist/editor/ai/agentActivitySummary.js.map +1 -1
  83. package/dist/editor/ai/agentDiagnostics.d.ts +1 -1
  84. package/dist/editor/ai/agentDiagnostics.js +8 -0
  85. package/dist/editor/ai/agentDiagnostics.js.map +1 -1
  86. package/dist/editor/ai/agentMessageConversion.js +1 -0
  87. package/dist/editor/ai/agentMessageConversion.js.map +1 -1
  88. package/dist/editor/ai/agentMessageMarkdown.js +4 -4
  89. package/dist/editor/ai/agentMessageMarkdown.js.map +1 -1
  90. package/dist/editor/ai/dialogs/capturePageScreenshot.d.ts +4 -1
  91. package/dist/editor/ai/dialogs/capturePageScreenshot.js +214 -44
  92. package/dist/editor/ai/dialogs/capturePageScreenshot.js.map +1 -1
  93. package/dist/editor/ai/dialogs/captureShared.d.ts +8 -1
  94. package/dist/editor/ai/dialogs/captureShared.js +4 -1
  95. package/dist/editor/ai/dialogs/captureShared.js.map +1 -1
  96. package/dist/editor/ai/dialogs/offscreenPageCapture.js +1 -1
  97. package/dist/editor/ai/dialogs/offscreenPageCapture.js.map +1 -1
  98. package/dist/editor/ai/prepareInlineAiTextSelection.d.ts +2 -1
  99. package/dist/editor/ai/prepareInlineAiTextSelection.js +1 -2
  100. package/dist/editor/ai/prepareInlineAiTextSelection.js.map +1 -1
  101. package/dist/editor/ai/terminal/agentCost.d.ts +2 -0
  102. package/dist/editor/ai/terminal/agentCost.js +1 -0
  103. package/dist/editor/ai/terminal/agentCost.js.map +1 -1
  104. package/dist/editor/ai/terminal/agentSessionLiveTotals.js +3 -0
  105. package/dist/editor/ai/terminal/agentSessionLiveTotals.js.map +1 -1
  106. package/dist/editor/ai/terminal/agentSessionSelectors.d.ts +5 -2
  107. package/dist/editor/ai/terminal/agentSessionSelectors.js +5 -2
  108. package/dist/editor/ai/terminal/agentSessionSelectors.js.map +1 -1
  109. package/dist/editor/ai/terminal/agentSessionSnapshot.d.ts +15 -0
  110. package/dist/editor/ai/terminal/agentSessionSnapshot.js +103 -3
  111. package/dist/editor/ai/terminal/agentSessionSnapshot.js.map +1 -1
  112. package/dist/editor/ai/terminal/agentSessionState.js +13 -2
  113. package/dist/editor/ai/terminal/agentSessionState.js.map +1 -1
  114. package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js +7 -7
  115. package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js.map +1 -1
  116. package/dist/editor/ai/terminal/components/AgentBanners.js +2 -2
  117. package/dist/editor/ai/terminal/components/AgentBanners.js.map +1 -1
  118. package/dist/editor/ai/terminal/components/AgentCostDisplay.d.ts +2 -0
  119. package/dist/editor/ai/terminal/components/AgentCostDisplay.js +2 -1
  120. package/dist/editor/ai/terminal/components/AgentCostDisplay.js.map +1 -1
  121. package/dist/editor/ai/terminal/components/AgentFullPromptControls.js +1 -1
  122. package/dist/editor/ai/terminal/components/AgentFullPromptControls.js.map +1 -1
  123. package/dist/editor/ai/terminal/components/AgentModeSelector.js +7 -3
  124. package/dist/editor/ai/terminal/components/AgentModeSelector.js.map +1 -1
  125. package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js +3 -3
  126. package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js.map +1 -1
  127. package/dist/editor/ai/terminal/components/AgentPromptInputArea.js +2 -2
  128. package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +1 -1
  129. package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js.map +1 -1
  130. package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js +1 -1
  131. package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js.map +1 -1
  132. package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js +2 -2
  133. package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js.map +1 -1
  134. package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js +1 -1
  135. package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.d.ts +5 -2
  136. package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js +43 -4
  137. package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js.map +1 -1
  138. package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js +1 -1
  139. package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js.map +1 -1
  140. package/dist/editor/ai/terminal/components/AiResponseMessage.js +40 -22
  141. package/dist/editor/ai/terminal/components/AiResponseMessage.js.map +1 -1
  142. package/dist/editor/ai/terminal/components/ApprovalCard.d.ts +3 -1
  143. package/dist/editor/ai/terminal/components/ApprovalCard.js +8 -16
  144. package/dist/editor/ai/terminal/components/ApprovalCard.js.map +1 -1
  145. package/dist/editor/ai/terminal/components/ContextInfoBar.js +1 -1
  146. package/dist/editor/ai/terminal/components/ContextInfoBar.js.map +1 -1
  147. package/dist/editor/ai/terminal/components/CreateItemToolCallContent.js +1 -1
  148. package/dist/editor/ai/terminal/components/CreateItemToolCallContent.js.map +1 -1
  149. package/dist/editor/ai/terminal/components/EditFieldToolCallContent.d.ts +7 -4
  150. package/dist/editor/ai/terminal/components/EditFieldToolCallContent.js +57 -32
  151. package/dist/editor/ai/terminal/components/EditFieldToolCallContent.js.map +1 -1
  152. package/dist/editor/ai/terminal/components/ResponseTurnDuration.js +1 -2
  153. package/dist/editor/ai/terminal/components/ResponseTurnDuration.js.map +1 -1
  154. package/dist/editor/ai/terminal/components/ToolCallDiagnosticsPanel.d.ts +6 -0
  155. package/dist/editor/ai/terminal/components/ToolCallDiagnosticsPanel.js +61 -0
  156. package/dist/editor/ai/terminal/components/ToolCallDiagnosticsPanel.js.map +1 -0
  157. package/dist/editor/ai/terminal/components/ToolCallDisplay.d.ts +5 -0
  158. package/dist/editor/ai/terminal/components/ToolCallDisplay.js +19 -8
  159. package/dist/editor/ai/terminal/components/ToolCallDisplay.js.map +1 -1
  160. package/dist/editor/ai/terminal/components/UserMessage.js +4 -2
  161. package/dist/editor/ai/terminal/components/UserMessage.js.map +1 -1
  162. package/dist/editor/ai/terminal/components/ValueDiff.js +1 -1
  163. package/dist/editor/ai/terminal/components/ValueDiff.js.map +1 -1
  164. package/dist/editor/ai/terminal/components/toolCallContentRenderers.js +7 -4
  165. package/dist/editor/ai/terminal/components/toolCallContentRenderers.js.map +1 -1
  166. package/dist/editor/ai/terminal/components/useApprovalActions.js +1 -1
  167. package/dist/editor/ai/terminal/components/useApprovalActions.js.map +1 -1
  168. package/dist/editor/ai/terminal/toolCallDiagnostics.d.ts +34 -0
  169. package/dist/editor/ai/terminal/toolCallDiagnostics.js +218 -0
  170. package/dist/editor/ai/terminal/toolCallDiagnostics.js.map +1 -0
  171. package/dist/editor/ai/terminal/types.d.ts +1 -0
  172. package/dist/editor/ai/terminal/useAgentEditorContext.js +16 -4
  173. package/dist/editor/ai/terminal/useAgentEditorContext.js.map +1 -1
  174. package/dist/editor/ai/terminal/useAgentLoadPipeline.d.ts +1 -0
  175. package/dist/editor/ai/terminal/useAgentLoadPipeline.js +2 -1
  176. package/dist/editor/ai/terminal/useAgentLoadPipeline.js.map +1 -1
  177. package/dist/editor/ai/terminal/useAgentLoader.d.ts +2 -0
  178. package/dist/editor/ai/terminal/useAgentLoader.js +17 -2
  179. package/dist/editor/ai/terminal/useAgentLoader.js.map +1 -1
  180. package/dist/editor/ai/terminal/useAgentModeState.d.ts +5 -1
  181. package/dist/editor/ai/terminal/useAgentModeState.js +11 -3
  182. package/dist/editor/ai/terminal/useAgentModeState.js.map +1 -1
  183. package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js +5 -1
  184. package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js.map +1 -1
  185. package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js +33 -1
  186. package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js.map +1 -1
  187. package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.d.ts +1 -0
  188. package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js +5 -1
  189. package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js.map +1 -1
  190. package/dist/editor/ai/terminal/useAgentRunRefs.d.ts +1 -0
  191. package/dist/editor/ai/terminal/useAgentRunRefs.js +3 -0
  192. package/dist/editor/ai/terminal/useAgentRunRefs.js.map +1 -1
  193. package/dist/editor/ai/terminal/useAgentServerReconciler.js +11 -0
  194. package/dist/editor/ai/terminal/useAgentServerReconciler.js.map +1 -1
  195. package/dist/editor/ai/terminal/useAgentSessionSync.d.ts +6 -0
  196. package/dist/editor/ai/terminal/useAgentSessionSync.js +27 -3
  197. package/dist/editor/ai/terminal/useAgentSessionSync.js.map +1 -1
  198. package/dist/editor/ai/terminal/useAgentSettingsData.d.ts +1 -1
  199. package/dist/editor/ai/terminal/useAgentSettingsPanel.js +7 -6
  200. package/dist/editor/ai/terminal/useAgentSettingsPanel.js.map +1 -1
  201. package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js +14 -2
  202. package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js.map +1 -1
  203. package/dist/editor/ai/terminal/useAgentStatusBarContent.js +11 -4
  204. package/dist/editor/ai/terminal/useAgentStatusBarContent.js.map +1 -1
  205. package/dist/editor/ai/terminal/useAgentStreamPipeline.d.ts +1 -0
  206. package/dist/editor/ai/terminal/useAgentStreamPipeline.js +2 -1
  207. package/dist/editor/ai/terminal/useAgentStreamPipeline.js.map +1 -1
  208. package/dist/editor/ai/terminal/useAgentSubmitHandlers.d.ts +1 -0
  209. package/dist/editor/ai/terminal/useAgentSubmitHandlers.js +17 -4
  210. package/dist/editor/ai/terminal/useAgentSubmitHandlers.js.map +1 -1
  211. package/dist/editor/ai/terminal/useAgentTerminalController.js +7 -1
  212. package/dist/editor/ai/terminal/useAgentTerminalController.js.map +1 -1
  213. package/dist/editor/ai/terminal/useAgentToolCallHandler.js +1 -0
  214. package/dist/editor/ai/terminal/useAgentToolCallHandler.js.map +1 -1
  215. package/dist/editor/ai/types.d.ts +4 -0
  216. package/dist/editor/ai-image-editor/AiImageEditorDialog.d.ts +33 -0
  217. package/dist/editor/ai-image-editor/AiImageEditorDialog.js +372 -127
  218. package/dist/editor/ai-image-editor/AiImageEditorDialog.js.map +1 -1
  219. package/dist/editor/ai-image-editor/AiImageResultOverlay.js +4 -2
  220. package/dist/editor/ai-image-editor/AiImageResultOverlay.js.map +1 -1
  221. package/dist/editor/bridge/BridgeClient.js +11 -0
  222. package/dist/editor/bridge/BridgeClient.js.map +1 -1
  223. package/dist/editor/bridge/protocol.d.ts +61 -0
  224. package/dist/editor/bridge/protocol.js +3 -0
  225. package/dist/editor/bridge/protocol.js.map +1 -1
  226. package/dist/editor/client/EditorShell.js +335 -125
  227. package/dist/editor/client/EditorShell.js.map +1 -1
  228. package/dist/editor/client/SessionExpiredOverlay.js +9 -2
  229. package/dist/editor/client/SessionExpiredOverlay.js.map +1 -1
  230. package/dist/editor/client/clipboardStorage.d.ts +10 -0
  231. package/dist/editor/client/clipboardStorage.js +57 -0
  232. package/dist/editor/client/clipboardStorage.js.map +1 -0
  233. package/dist/editor/client/editContext.d.ts +92 -11
  234. package/dist/editor/client/editContext.js.map +1 -1
  235. package/dist/editor/client/editHistoryReconciliation.d.ts +2 -1
  236. package/dist/editor/client/editHistoryReconciliation.js +5 -2
  237. package/dist/editor/client/editHistoryReconciliation.js.map +1 -1
  238. package/dist/editor/client/hooks/useRepositoryItemRefresh.d.ts +4 -0
  239. package/dist/editor/client/hooks/useRepositoryItemRefresh.js +62 -0
  240. package/dist/editor/client/hooks/useRepositoryItemRefresh.js.map +1 -0
  241. package/dist/editor/client/hooks/useSocketMessageHandler.d.ts +6 -0
  242. package/dist/editor/client/hooks/useSocketMessageHandler.js +69 -4
  243. package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
  244. package/dist/editor/client/itemsRepository.d.ts +10 -2
  245. package/dist/editor/client/itemsRepository.js +224 -43
  246. package/dist/editor/client/itemsRepository.js.map +1 -1
  247. package/dist/editor/client/liveEditState.d.ts +16 -0
  248. package/dist/editor/client/liveEditState.js +25 -0
  249. package/dist/editor/client/liveEditState.js.map +1 -0
  250. package/dist/editor/client/liveSessionState.d.ts +6 -0
  251. package/dist/editor/client/liveSessionState.js +20 -0
  252. package/dist/editor/client/liveSessionState.js.map +1 -0
  253. package/dist/editor/client/operations.d.ts +13 -2
  254. package/dist/editor/client/operations.js +134 -31
  255. package/dist/editor/client/operations.js.map +1 -1
  256. package/dist/editor/client/pageModelBuilder.d.ts +6 -0
  257. package/dist/editor/client/pageModelBuilder.js +74 -7
  258. package/dist/editor/client/pageModelBuilder.js.map +1 -1
  259. package/dist/editor/client/ui/EditorChrome.d.ts +2 -2
  260. package/dist/editor/client/ui/EditorChrome.js +12 -8
  261. package/dist/editor/client/ui/EditorChrome.js.map +1 -1
  262. package/dist/editor/client/ui/FullscreenControls.d.ts +3 -5
  263. package/dist/editor/client/ui/FullscreenControls.js +2 -2
  264. package/dist/editor/client/ui/FullscreenControls.js.map +1 -1
  265. package/dist/editor/client/valueStore.d.ts +22 -0
  266. package/dist/editor/client/valueStore.js +29 -0
  267. package/dist/editor/client/valueStore.js.map +1 -0
  268. package/dist/editor/commands/commands.d.ts +6 -0
  269. package/dist/editor/commands/commands.js.map +1 -1
  270. package/dist/editor/commands/componentClipboardCommands.d.ts +35 -0
  271. package/dist/editor/commands/componentClipboardCommands.js +271 -0
  272. package/dist/editor/commands/componentClipboardCommands.js.map +1 -0
  273. package/dist/editor/commands/componentCommands.js +80 -19
  274. package/dist/editor/commands/componentCommands.js.map +1 -1
  275. package/dist/editor/commands/componentMenuGroups.d.ts +2 -0
  276. package/dist/editor/commands/componentMenuGroups.js +43 -0
  277. package/dist/editor/commands/componentMenuGroups.js.map +1 -0
  278. package/dist/editor/commands/itemCommands.d.ts +9 -0
  279. package/dist/editor/commands/itemCommands.js +76 -9
  280. package/dist/editor/commands/itemCommands.js.map +1 -1
  281. package/dist/editor/component-conversion/ComponentTypePickerDialog.d.ts +12 -0
  282. package/dist/editor/component-conversion/ComponentTypePickerDialog.js +40 -0
  283. package/dist/editor/component-conversion/ComponentTypePickerDialog.js.map +1 -0
  284. package/dist/editor/component-conversion/ConversionAiDebugButton.d.ts +17 -0
  285. package/dist/editor/component-conversion/ConversionAiDebugButton.js +80 -0
  286. package/dist/editor/component-conversion/ConversionAiDebugButton.js.map +1 -0
  287. package/dist/editor/component-conversion/ConvertComponentDialog.d.ts +28 -0
  288. package/dist/editor/component-conversion/ConvertComponentDialog.js +633 -0
  289. package/dist/editor/component-conversion/ConvertComponentDialog.js.map +1 -0
  290. package/dist/editor/component-conversion/conversionModel.d.ts +109 -0
  291. package/dist/editor/component-conversion/conversionModel.js +519 -0
  292. package/dist/editor/component-conversion/conversionModel.js.map +1 -0
  293. package/dist/editor/component-conversion/conversionService.d.ts +12 -0
  294. package/dist/editor/component-conversion/conversionService.js +16 -0
  295. package/dist/editor/component-conversion/conversionService.js.map +1 -0
  296. package/dist/editor/component-conversion/conversionTypes.d.ts +214 -0
  297. package/dist/editor/component-conversion/conversionTypes.js +2 -0
  298. package/dist/editor/component-conversion/conversionTypes.js.map +1 -0
  299. package/dist/editor/component-conversion/convertComponentsCommand.d.ts +25 -0
  300. package/dist/editor/component-conversion/convertComponentsCommand.js +196 -0
  301. package/dist/editor/component-conversion/convertComponentsCommand.js.map +1 -0
  302. package/dist/editor/editor-warnings/ValidationErrors.js +4 -4
  303. package/dist/editor/editor-warnings/ValidationErrors.js.map +1 -1
  304. package/dist/editor/field-types/AttachmentEditor.js +4 -3
  305. package/dist/editor/field-types/AttachmentEditor.js.map +1 -1
  306. package/dist/editor/field-types/DateFieldEditor.js +2 -1
  307. package/dist/editor/field-types/DateFieldEditor.js.map +1 -1
  308. package/dist/editor/field-types/DateTimeFieldEditor.js +2 -1
  309. package/dist/editor/field-types/DateTimeFieldEditor.js.map +1 -1
  310. package/dist/editor/field-types/DropLinkEditor.js +3 -1
  311. package/dist/editor/field-types/DropLinkEditor.js.map +1 -1
  312. package/dist/editor/field-types/DropListEditor.js +3 -1
  313. package/dist/editor/field-types/DropListEditor.js.map +1 -1
  314. package/dist/editor/field-types/FieldHistoryBoundary.js +28 -7
  315. package/dist/editor/field-types/FieldHistoryBoundary.js.map +1 -1
  316. package/dist/editor/field-types/ImageFieldEditor.js +3 -1
  317. package/dist/editor/field-types/ImageFieldEditor.js.map +1 -1
  318. package/dist/editor/field-types/InternalLinkFieldEditor.js +2 -1
  319. package/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -1
  320. package/dist/editor/field-types/LinkFieldEditor.js +2 -1
  321. package/dist/editor/field-types/LinkFieldEditor.js.map +1 -1
  322. package/dist/editor/field-types/MultiLineText.js +68 -22
  323. package/dist/editor/field-types/MultiLineText.js.map +1 -1
  324. package/dist/editor/field-types/NameValueListEditor.js +3 -1
  325. package/dist/editor/field-types/NameValueListEditor.js.map +1 -1
  326. package/dist/editor/field-types/PictureFieldEditor.js +4 -2
  327. package/dist/editor/field-types/PictureFieldEditor.js.map +1 -1
  328. package/dist/editor/field-types/RawEditor.js +7 -4
  329. package/dist/editor/field-types/RawEditor.js.map +1 -1
  330. package/dist/editor/field-types/RichTextEditor.d.ts +1 -2
  331. package/dist/editor/field-types/RichTextEditor.js +5 -26
  332. package/dist/editor/field-types/RichTextEditor.js.map +1 -1
  333. package/dist/editor/field-types/RichTextEditorComponent.d.ts +1 -2
  334. package/dist/editor/field-types/RichTextEditorComponent.js +121 -26
  335. package/dist/editor/field-types/RichTextEditorComponent.js.map +1 -1
  336. package/dist/editor/field-types/SingleLineText.js +68 -22
  337. package/dist/editor/field-types/SingleLineText.js.map +1 -1
  338. package/dist/editor/field-types/TreeListEditor.js +4 -2
  339. package/dist/editor/field-types/TreeListEditor.js.map +1 -1
  340. package/dist/editor/field-types/fieldStyles.d.ts +21 -0
  341. package/dist/editor/field-types/fieldStyles.js +22 -0
  342. package/dist/editor/field-types/fieldStyles.js.map +1 -0
  343. package/dist/editor/field-types/richtext/bridgeRichTextProfile.d.ts +15 -1
  344. package/dist/editor/field-types/richtext/bridgeRichTextProfile.js +27 -0
  345. package/dist/editor/field-types/richtext/bridgeRichTextProfile.js.map +1 -1
  346. package/dist/editor/field-types/richtext/components/EditorDropdown.css +14 -0
  347. package/dist/editor/field-types/richtext/components/EditorDropdown.d.ts +3 -1
  348. package/dist/editor/field-types/richtext/components/EditorDropdown.js +33 -8
  349. package/dist/editor/field-types/richtext/components/EditorDropdown.js.map +1 -1
  350. package/dist/editor/field-types/richtext/components/ReactSlate.css +23 -54
  351. package/dist/editor/field-types/richtext/components/ReactSlate.d.ts +10 -1
  352. package/dist/editor/field-types/richtext/components/ReactSlate.js +373 -174
  353. package/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -1
  354. package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +1 -1
  355. package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js.map +1 -1
  356. package/dist/editor/field-types/richtext/components/ToolbarButton.js +13 -5
  357. package/dist/editor/field-types/richtext/components/ToolbarButton.js.map +1 -1
  358. package/dist/editor/field-types/richtext/config/pluginFactory.d.ts +2 -0
  359. package/dist/editor/field-types/richtext/config/pluginFactory.js +2 -1
  360. package/dist/editor/field-types/richtext/config/pluginFactory.js.map +1 -1
  361. package/dist/editor/field-types/richtext/hooks/useProfileCache.js +1 -0
  362. package/dist/editor/field-types/richtext/hooks/useProfileCache.js.map +1 -1
  363. package/dist/editor/field-types/richtext/hooks/useRichTextProfile.d.ts +0 -2
  364. package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +2 -5
  365. package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js.map +1 -1
  366. package/dist/editor/field-types/richtext/types.d.ts +47 -2
  367. package/dist/editor/field-types/richtext/types.js +19 -0
  368. package/dist/editor/field-types/richtext/types.js.map +1 -1
  369. package/dist/editor/field-types/richtext/utils/changeHighlight.d.ts +14 -0
  370. package/dist/editor/field-types/richtext/utils/changeHighlight.js +12 -1
  371. package/dist/editor/field-types/richtext/utils/changeHighlight.js.map +1 -1
  372. package/dist/editor/field-types/richtext/utils/conversion.js +108 -32
  373. package/dist/editor/field-types/richtext/utils/conversion.js.map +1 -1
  374. package/dist/editor/field-types/richtext/utils/cssClasses.d.ts +27 -0
  375. package/dist/editor/field-types/richtext/utils/cssClasses.js +98 -0
  376. package/dist/editor/field-types/richtext/utils/cssClasses.js.map +1 -0
  377. package/dist/editor/field-types/richtext/utils/plugins.d.ts +40 -1
  378. package/dist/editor/field-types/richtext/utils/plugins.js +178 -4
  379. package/dist/editor/field-types/richtext/utils/plugins.js.map +1 -1
  380. package/dist/editor/field-types/richtext/utils/profileMapper.d.ts +17 -1
  381. package/dist/editor/field-types/richtext/utils/profileMapper.js +153 -55
  382. package/dist/editor/field-types/richtext/utils/profileMapper.js.map +1 -1
  383. package/dist/editor/field-types/richtext/utils/spellCheckText.d.ts +31 -0
  384. package/dist/editor/field-types/richtext/utils/spellCheckText.js +82 -0
  385. package/dist/editor/field-types/richtext/utils/spellCheckText.js.map +1 -0
  386. package/dist/editor/field-types/useFocusedFieldInput.d.ts +13 -0
  387. package/dist/editor/field-types/useFocusedFieldInput.js +50 -0
  388. package/dist/editor/field-types/useFocusedFieldInput.js.map +1 -0
  389. package/dist/editor/field-types/useFormFieldCaretPresence.js +9 -1
  390. package/dist/editor/field-types/useFormFieldCaretPresence.js.map +1 -1
  391. package/dist/editor/field-types/useFormFieldSelectionRange.d.ts +20 -13
  392. package/dist/editor/field-types/useFormFieldSelectionRange.js +40 -14
  393. package/dist/editor/field-types/useFormFieldSelectionRange.js.map +1 -1
  394. package/dist/editor/find-replace/FindReplacePanel.d.ts +11 -0
  395. package/dist/editor/find-replace/FindReplacePanel.js +311 -0
  396. package/dist/editor/find-replace/FindReplacePanel.js.map +1 -0
  397. package/dist/editor/find-replace/findReplaceCommand.d.ts +8 -0
  398. package/dist/editor/find-replace/findReplaceCommand.js +25 -0
  399. package/dist/editor/find-replace/findReplaceCommand.js.map +1 -0
  400. package/dist/editor/find-replace/findReplaceMatches.d.ts +42 -0
  401. package/dist/editor/find-replace/findReplaceMatches.js +66 -0
  402. package/dist/editor/find-replace/findReplaceMatches.js.map +1 -0
  403. package/dist/editor/find-replace/findReplaceStore.d.ts +30 -0
  404. package/dist/editor/find-replace/findReplaceStore.js +61 -0
  405. package/dist/editor/find-replace/findReplaceStore.js.map +1 -0
  406. package/dist/editor/find-replace/findReplaceTargets.d.ts +51 -0
  407. package/dist/editor/find-replace/findReplaceTargets.js +110 -0
  408. package/dist/editor/find-replace/findReplaceTargets.js.map +1 -0
  409. package/dist/editor/find-replace/findReplaceText.d.ts +50 -0
  410. package/dist/editor/find-replace/findReplaceText.js +189 -0
  411. package/dist/editor/find-replace/findReplaceText.js.map +1 -0
  412. package/dist/editor/itemContextMenuGroups.js +10 -1
  413. package/dist/editor/itemContextMenuGroups.js.map +1 -1
  414. package/dist/editor/media-selector/AiImageSearch.js +1 -163
  415. package/dist/editor/media-selector/AiImageSearch.js.map +1 -1
  416. package/dist/editor/media-selector/MediaDetailsView.d.ts +14 -0
  417. package/dist/editor/media-selector/MediaDetailsView.js +152 -0
  418. package/dist/editor/media-selector/MediaDetailsView.js.map +1 -0
  419. package/dist/editor/media-selector/MediaFolderBrowser.js +326 -106
  420. package/dist/editor/media-selector/MediaFolderBrowser.js.map +1 -1
  421. package/dist/editor/media-selector/TreeSelector.js +40 -2
  422. package/dist/editor/media-selector/TreeSelector.js.map +1 -1
  423. package/dist/editor/media-selector/UploadZone.js +1 -1
  424. package/dist/editor/media-selector/UploadZone.js.map +1 -1
  425. package/dist/editor/media-selector/useMediaFolderDrag.d.ts +26 -0
  426. package/dist/editor/media-selector/useMediaFolderDrag.js +153 -0
  427. package/dist/editor/media-selector/useMediaFolderDrag.js.map +1 -0
  428. package/dist/editor/menubar/ActiveUsers.js +6 -4
  429. package/dist/editor/menubar/ActiveUsers.js.map +1 -1
  430. package/dist/editor/menubar/PageSelector.js +21 -22
  431. package/dist/editor/menubar/PageSelector.js.map +1 -1
  432. package/dist/editor/menubar/ToolbarFactory.js +16 -2
  433. package/dist/editor/menubar/ToolbarFactory.js.map +1 -1
  434. package/dist/editor/menubar/VersionPreviewCard.js +4 -2
  435. package/dist/editor/menubar/VersionPreviewCard.js.map +1 -1
  436. package/dist/editor/menubar/VersionSelector.js +2 -2
  437. package/dist/editor/menubar/VersionSelector.js.map +1 -1
  438. package/dist/editor/menubar/WorkflowButton.js +10 -10
  439. package/dist/editor/menubar/WorkflowButton.js.map +1 -1
  440. package/dist/editor/menubar/toolbar-sections/CommentsToggleControl.d.ts +13 -0
  441. package/dist/editor/menubar/toolbar-sections/CommentsToggleControl.js +88 -0
  442. package/dist/editor/menubar/toolbar-sections/CommentsToggleControl.js.map +1 -0
  443. package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.d.ts +3 -4
  444. package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js +15 -13
  445. package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js.map +1 -1
  446. package/dist/editor/menubar/toolbar-sections/EditControls.d.ts +9 -0
  447. package/dist/editor/menubar/toolbar-sections/EditControls.js +24 -1
  448. package/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -1
  449. package/dist/editor/menubar/toolbar-sections/FindReplaceControls.d.ts +6 -0
  450. package/dist/editor/menubar/toolbar-sections/FindReplaceControls.js +31 -0
  451. package/dist/editor/menubar/toolbar-sections/FindReplaceControls.js.map +1 -0
  452. package/dist/editor/menubar/toolbar-sections/FullscreenControl.js +3 -2
  453. package/dist/editor/menubar/toolbar-sections/FullscreenControl.js.map +1 -1
  454. package/dist/editor/menubar/toolbar-sections/InsertControls.js +4 -2
  455. package/dist/editor/menubar/toolbar-sections/InsertControls.js.map +1 -1
  456. package/dist/editor/menubar/toolbar-sections/LayoutModeControls.js +3 -2
  457. package/dist/editor/menubar/toolbar-sections/LayoutModeControls.js.map +1 -1
  458. package/dist/editor/menubar/toolbar-sections/ReviewCommands.js +2 -2
  459. package/dist/editor/menubar/toolbar-sections/ReviewCommands.js.map +1 -1
  460. package/dist/editor/menubar/toolbar-sections/SpellCheckToggleControl.d.ts +5 -0
  461. package/dist/editor/menubar/toolbar-sections/SpellCheckToggleControl.js +16 -0
  462. package/dist/editor/menubar/toolbar-sections/SpellCheckToggleControl.js.map +1 -0
  463. package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js +2 -2
  464. package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js.map +1 -1
  465. package/dist/editor/menubar/toolbar-sections/UtilityControls.js +7 -7
  466. package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
  467. package/dist/editor/menubar/toolbar-sections/ViewportControls.d.ts +3 -4
  468. package/dist/editor/menubar/toolbar-sections/ViewportControls.js +19 -31
  469. package/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +1 -1
  470. package/dist/editor/menubar/toolbar-sections/index.d.ts +2 -1
  471. package/dist/editor/menubar/toolbar-sections/index.js +2 -1
  472. package/dist/editor/menubar/toolbar-sections/index.js.map +1 -1
  473. package/dist/editor/mobileBottomPanel.d.ts +40 -0
  474. package/dist/editor/mobileBottomPanel.js +63 -0
  475. package/dist/editor/mobileBottomPanel.js.map +1 -0
  476. package/dist/editor/notifications/useNotifications.js +12 -17
  477. package/dist/editor/notifications/useNotifications.js.map +1 -1
  478. package/dist/editor/page-editor-chrome/AgentChangeHighlightings.d.ts +3 -6
  479. package/dist/editor/page-editor-chrome/AgentChangeHighlightings.js +8 -6
  480. package/dist/editor/page-editor-chrome/AgentChangeHighlightings.js.map +1 -1
  481. package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.d.ts +5 -1
  482. package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js +60 -10
  483. package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js.map +1 -1
  484. package/dist/editor/page-editor-chrome/BridgePasteCleanupOverlay.d.ts +6 -0
  485. package/dist/editor/page-editor-chrome/BridgePasteCleanupOverlay.js +100 -0
  486. package/dist/editor/page-editor-chrome/BridgePasteCleanupOverlay.js.map +1 -0
  487. package/dist/editor/page-editor-chrome/BridgeToolbarDropdown.d.ts +16 -0
  488. package/dist/editor/page-editor-chrome/BridgeToolbarDropdown.js +23 -0
  489. package/dist/editor/page-editor-chrome/BridgeToolbarDropdown.js.map +1 -0
  490. package/dist/editor/page-editor-chrome/CanvasOverviewRulerBinding.d.ts +9 -0
  491. package/dist/editor/page-editor-chrome/CanvasOverviewRulerBinding.js +32 -0
  492. package/dist/editor/page-editor-chrome/CanvasOverviewRulerBinding.js.map +1 -0
  493. package/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +4 -1
  494. package/dist/editor/page-editor-chrome/CommentHighlightings.js +195 -388
  495. package/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -1
  496. package/dist/editor/page-editor-chrome/CommentTargetPickerCanvasLayer.d.ts +14 -0
  497. package/dist/editor/page-editor-chrome/CommentTargetPickerCanvasLayer.js +110 -0
  498. package/dist/editor/page-editor-chrome/CommentTargetPickerCanvasLayer.js.map +1 -0
  499. package/dist/editor/page-editor-chrome/ConversionIndicators.d.ts +8 -0
  500. package/dist/editor/page-editor-chrome/ConversionIndicators.js +75 -0
  501. package/dist/editor/page-editor-chrome/ConversionIndicators.js.map +1 -0
  502. package/dist/editor/page-editor-chrome/DiffHighlightOverlay.d.ts +9 -13
  503. package/dist/editor/page-editor-chrome/DiffHighlightOverlay.js +25 -20
  504. package/dist/editor/page-editor-chrome/DiffHighlightOverlay.js.map +1 -1
  505. package/dist/editor/page-editor-chrome/DragInsertionOverlay.js +21 -17
  506. package/dist/editor/page-editor-chrome/DragInsertionOverlay.js.map +1 -1
  507. package/dist/editor/page-editor-chrome/EmptyImageFieldIndicators.d.ts +1 -1
  508. package/dist/editor/page-editor-chrome/EmptyImageFieldIndicators.js +9 -6
  509. package/dist/editor/page-editor-chrome/EmptyImageFieldIndicators.js.map +1 -1
  510. package/dist/editor/page-editor-chrome/FeedbackLeaderCanvasSegment.d.ts +15 -0
  511. package/dist/editor/page-editor-chrome/FeedbackLeaderCanvasSegment.js +31 -0
  512. package/dist/editor/page-editor-chrome/FeedbackLeaderCanvasSegment.js.map +1 -0
  513. package/dist/editor/page-editor-chrome/FieldActionIndicator.d.ts +1 -1
  514. package/dist/editor/page-editor-chrome/FieldActionIndicator.js +14 -7
  515. package/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +1 -1
  516. package/dist/editor/page-editor-chrome/FieldEditedIndicator.js +10 -6
  517. package/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +1 -1
  518. package/dist/editor/page-editor-chrome/FindReplaceHighlightings.d.ts +11 -0
  519. package/dist/editor/page-editor-chrome/FindReplaceHighlightings.js +120 -0
  520. package/dist/editor/page-editor-chrome/FindReplaceHighlightings.js.map +1 -0
  521. package/dist/editor/page-editor-chrome/FrameMenu.d.ts +1 -1
  522. package/dist/editor/page-editor-chrome/FrameMenu.js +13 -11
  523. package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -1
  524. package/dist/editor/page-editor-chrome/FrameMenus.d.ts +1 -1
  525. package/dist/editor/page-editor-chrome/FrameMenus.js +7 -5
  526. package/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -1
  527. package/dist/editor/page-editor-chrome/InlineFieldHistoryButton.d.ts +2 -2
  528. package/dist/editor/page-editor-chrome/InlineFieldHistoryButton.js +20 -39
  529. package/dist/editor/page-editor-chrome/InlineFieldHistoryButton.js.map +1 -1
  530. package/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +1 -1
  531. package/dist/editor/page-editor-chrome/LockedFieldIndicator.js +27 -21
  532. package/dist/editor/page-editor-chrome/LockedFieldIndicator.js.map +1 -1
  533. package/dist/editor/page-editor-chrome/NoLayout.js +5 -3
  534. package/dist/editor/page-editor-chrome/NoLayout.js.map +1 -1
  535. package/dist/editor/page-editor-chrome/PageEditorChrome.d.ts +1 -1
  536. package/dist/editor/page-editor-chrome/PageEditorChrome.js +30 -23
  537. package/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -1
  538. package/dist/editor/page-editor-chrome/PictureEditorOverlay.d.ts +1 -1
  539. package/dist/editor/page-editor-chrome/PictureEditorOverlay.js +24 -21
  540. package/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -1
  541. package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +10 -4
  542. package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
  543. package/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +1 -1
  544. package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +11 -10
  545. package/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -1
  546. package/dist/editor/page-editor-chrome/SpellCheckHighlightings.d.ts +12 -0
  547. package/dist/editor/page-editor-chrome/SpellCheckHighlightings.js +197 -0
  548. package/dist/editor/page-editor-chrome/SpellCheckHighlightings.js.map +1 -0
  549. package/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +1 -1
  550. package/dist/editor/page-editor-chrome/SuggestionHighlightings.js +226 -381
  551. package/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +1 -1
  552. package/dist/editor/page-editor-chrome/ValidationRulerMarks.d.ts +11 -0
  553. package/dist/editor/page-editor-chrome/ValidationRulerMarks.js +56 -0
  554. package/dist/editor/page-editor-chrome/ValidationRulerMarks.js.map +1 -0
  555. package/dist/editor/page-editor-chrome/VersionDiffHighlightings.d.ts +1 -1
  556. package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js +11 -8
  557. package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js.map +1 -1
  558. package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.d.ts +15 -2
  559. package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js +70 -9
  560. package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js.map +1 -1
  561. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorMeasurements.d.ts +44 -0
  562. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorMeasurements.js +89 -0
  563. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorMeasurements.js.map +1 -0
  564. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorStore.d.ts +17 -0
  565. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorStore.js +53 -0
  566. package/dist/editor/page-editor-chrome/overlay/feedbackAnchorStore.js.map +1 -0
  567. package/dist/editor/page-editor-chrome/overlay/geometry.d.ts +15 -0
  568. package/dist/editor/page-editor-chrome/overlay/geometry.js +40 -0
  569. package/dist/editor/page-editor-chrome/overlay/geometry.js.map +1 -1
  570. package/dist/editor/page-editor-chrome/overlay/useBridgeTextRangeRequest.d.ts +11 -0
  571. package/dist/editor/page-editor-chrome/overlay/useBridgeTextRangeRequest.js +84 -0
  572. package/dist/editor/page-editor-chrome/overlay/useBridgeTextRangeRequest.js.map +1 -0
  573. package/dist/editor/page-editor-chrome/overlay/useCommentAnchorMeasurements.d.ts +34 -0
  574. package/dist/editor/page-editor-chrome/overlay/useCommentAnchorMeasurements.js +229 -0
  575. package/dist/editor/page-editor-chrome/overlay/useCommentAnchorMeasurements.js.map +1 -0
  576. package/dist/editor/page-editor-chrome/overlay/useOverlayViewportRight.d.ts +9 -0
  577. package/dist/editor/page-editor-chrome/overlay/useOverlayViewportRight.js +34 -0
  578. package/dist/editor/page-editor-chrome/overlay/useOverlayViewportRight.js.map +1 -0
  579. package/dist/editor/page-editor-chrome/overlay/useSuggestionAnchorMeasurements.d.ts +49 -0
  580. package/dist/editor/page-editor-chrome/overlay/useSuggestionAnchorMeasurements.js +241 -0
  581. package/dist/editor/page-editor-chrome/overlay/useSuggestionAnchorMeasurements.js.map +1 -0
  582. package/dist/editor/page-editor-chrome/useBridgeInlineEditing.d.ts +7 -0
  583. package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js +63 -5
  584. package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js.map +1 -1
  585. package/dist/editor/page-editor-chrome/useBridgeRichTextFieldOptions.d.ts +12 -0
  586. package/dist/editor/page-editor-chrome/useBridgeRichTextFieldOptions.js +79 -0
  587. package/dist/editor/page-editor-chrome/useBridgeRichTextFieldOptions.js.map +1 -0
  588. package/dist/editor/page-editor-chrome/useComponentDragHandle.js +1 -1
  589. package/dist/editor/page-editor-chrome/useComponentDragHandle.js.map +1 -1
  590. package/dist/editor/page-editor-chrome/useDragInsertionGesture.js +1 -1
  591. package/dist/editor/page-editor-chrome/useDragInsertionGesture.js.map +1 -1
  592. package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.d.ts +1 -1
  593. package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js +4 -2
  594. package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js.map +1 -1
  595. package/dist/editor/page-viewer/CanvasOverviewRuler.d.ts +11 -0
  596. package/dist/editor/page-viewer/CanvasOverviewRuler.js +65 -0
  597. package/dist/editor/page-viewer/CanvasOverviewRuler.js.map +1 -0
  598. package/dist/editor/page-viewer/DeviceToolbar.d.ts +1 -1
  599. package/dist/editor/page-viewer/DeviceToolbar.js +8 -3
  600. package/dist/editor/page-viewer/DeviceToolbar.js.map +1 -1
  601. package/dist/editor/page-viewer/DynamicRenderingsBar.d.ts +23 -0
  602. package/dist/editor/page-viewer/DynamicRenderingsBar.js +28 -0
  603. package/dist/editor/page-viewer/DynamicRenderingsBar.js.map +1 -0
  604. package/dist/editor/page-viewer/DynamicRenderingsStrip.d.ts +18 -0
  605. package/dist/editor/page-viewer/DynamicRenderingsStrip.js +29 -0
  606. package/dist/editor/page-viewer/DynamicRenderingsStrip.js.map +1 -0
  607. package/dist/editor/page-viewer/EditorForm.js +29 -24
  608. package/dist/editor/page-viewer/EditorForm.js.map +1 -1
  609. package/dist/editor/page-viewer/FeedbackMargin.d.ts +57 -0
  610. package/dist/editor/page-viewer/FeedbackMargin.js +378 -0
  611. package/dist/editor/page-viewer/FeedbackMargin.js.map +1 -0
  612. package/dist/editor/page-viewer/FeedbackMarginController.d.ts +76 -0
  613. package/dist/editor/page-viewer/FeedbackMarginController.js +241 -0
  614. package/dist/editor/page-viewer/FeedbackMarginController.js.map +1 -0
  615. package/dist/editor/page-viewer/FeedbackMarginMarker.d.ts +16 -0
  616. package/dist/editor/page-viewer/FeedbackMarginMarker.js +24 -0
  617. package/dist/editor/page-viewer/FeedbackMarginMarker.js.map +1 -0
  618. package/dist/editor/page-viewer/FeedbackMarginResizeHandle.d.ts +23 -0
  619. package/dist/editor/page-viewer/FeedbackMarginResizeHandle.js +105 -0
  620. package/dist/editor/page-viewer/FeedbackMarginResizeHandle.js.map +1 -0
  621. package/dist/editor/page-viewer/InteractivePreviewBar.d.ts +24 -0
  622. package/dist/editor/page-viewer/InteractivePreviewBar.js +31 -0
  623. package/dist/editor/page-viewer/InteractivePreviewBar.js.map +1 -0
  624. package/dist/editor/page-viewer/MiniMap.d.ts +15 -5
  625. package/dist/editor/page-viewer/MiniMap.js +175 -67
  626. package/dist/editor/page-viewer/MiniMap.js.map +1 -1
  627. package/dist/editor/page-viewer/MinimapDropTargets.d.ts +1 -1
  628. package/dist/editor/page-viewer/MinimapDropTargets.js +9 -7
  629. package/dist/editor/page-viewer/MinimapDropTargets.js.map +1 -1
  630. package/dist/editor/page-viewer/MobileCommentsPanel.d.ts +16 -0
  631. package/dist/editor/page-viewer/MobileCommentsPanel.js +112 -0
  632. package/dist/editor/page-viewer/MobileCommentsPanel.js.map +1 -0
  633. package/dist/editor/page-viewer/PageViewer.js +22 -67
  634. package/dist/editor/page-viewer/PageViewer.js.map +1 -1
  635. package/dist/editor/page-viewer/PageViewerFrame.d.ts +1 -0
  636. package/dist/editor/page-viewer/PageViewerFrame.js +631 -229
  637. package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
  638. package/dist/editor/page-viewer/RenderingAiCheck.d.ts +18 -0
  639. package/dist/editor/page-viewer/RenderingAiCheck.js +45 -0
  640. package/dist/editor/page-viewer/RenderingAiCheck.js.map +1 -0
  641. package/dist/editor/page-viewer/RenderingApprovalDialog.d.ts +32 -0
  642. package/dist/editor/page-viewer/RenderingApprovalDialog.js +191 -0
  643. package/dist/editor/page-viewer/RenderingApprovalDialog.js.map +1 -0
  644. package/dist/editor/page-viewer/SealedClientCodePreview.d.ts +17 -0
  645. package/dist/editor/page-viewer/SealedClientCodePreview.js +38 -0
  646. package/dist/editor/page-viewer/SealedClientCodePreview.js.map +1 -0
  647. package/dist/editor/page-viewer/bridgeFieldPatch.d.ts +9 -0
  648. package/dist/editor/page-viewer/bridgeFieldPatch.js +21 -0
  649. package/dist/editor/page-viewer/bridgeFieldPatch.js.map +1 -1
  650. package/dist/editor/page-viewer/bridgeInlineEditSession.js +8 -0
  651. package/dist/editor/page-viewer/bridgeInlineEditSession.js.map +1 -1
  652. package/dist/editor/page-viewer/bridgeKeyboardShortcuts.d.ts +6 -0
  653. package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js +19 -1
  654. package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js.map +1 -1
  655. package/dist/editor/page-viewer/canvasFrameNavigation.d.ts +18 -0
  656. package/dist/editor/page-viewer/canvasFrameNavigation.js +36 -0
  657. package/dist/editor/page-viewer/canvasFrameNavigation.js.map +1 -0
  658. package/dist/editor/page-viewer/canvasLoadSettling.d.ts +42 -0
  659. package/dist/editor/page-viewer/canvasLoadSettling.js +46 -0
  660. package/dist/editor/page-viewer/canvasLoadSettling.js.map +1 -0
  661. package/dist/editor/page-viewer/canvasScrollHandoff.d.ts +34 -0
  662. package/dist/editor/page-viewer/canvasScrollHandoff.js +55 -0
  663. package/dist/editor/page-viewer/canvasScrollHandoff.js.map +1 -0
  664. package/dist/editor/page-viewer/feedbackMarginLayout.d.ts +119 -0
  665. package/dist/editor/page-viewer/feedbackMarginLayout.js +155 -0
  666. package/dist/editor/page-viewer/feedbackMarginLayout.js.map +1 -0
  667. package/dist/editor/page-viewer/feedbackMarginSources.d.ts +36 -0
  668. package/dist/editor/page-viewer/feedbackMarginSources.js +196 -0
  669. package/dist/editor/page-viewer/feedbackMarginSources.js.map +1 -0
  670. package/dist/editor/page-viewer/feedbackMarginWidth.d.ts +43 -0
  671. package/dist/editor/page-viewer/feedbackMarginWidth.js +107 -0
  672. package/dist/editor/page-viewer/feedbackMarginWidth.js.map +1 -0
  673. package/dist/editor/page-viewer/interactivePreview.d.ts +168 -0
  674. package/dist/editor/page-viewer/interactivePreview.js +344 -0
  675. package/dist/editor/page-viewer/interactivePreview.js.map +1 -0
  676. package/dist/editor/page-viewer/minimapViewport.d.ts +2 -0
  677. package/dist/editor/page-viewer/minimapViewport.js +34 -0
  678. package/dist/editor/page-viewer/minimapViewport.js.map +1 -0
  679. package/dist/editor/page-viewer/openPageItems.d.ts +29 -0
  680. package/dist/editor/page-viewer/openPageItems.js +73 -0
  681. package/dist/editor/page-viewer/openPageItems.js.map +1 -0
  682. package/dist/editor/page-viewer/overviewRuler.d.ts +128 -0
  683. package/dist/editor/page-viewer/overviewRuler.js +226 -0
  684. package/dist/editor/page-viewer/overviewRuler.js.map +1 -0
  685. package/dist/editor/page-viewer/pageViewContext.d.ts +99 -37
  686. package/dist/editor/page-viewer/pageViewContext.js +207 -238
  687. package/dist/editor/page-viewer/pageViewContext.js.map +1 -1
  688. package/dist/editor/page-viewer/renderingApproval.d.ts +59 -0
  689. package/dist/editor/page-viewer/renderingApproval.js +186 -0
  690. package/dist/editor/page-viewer/renderingApproval.js.map +1 -0
  691. package/dist/editor/page-viewer/renderingChanges.d.ts +29 -0
  692. package/dist/editor/page-viewer/renderingChanges.js +40 -0
  693. package/dist/editor/page-viewer/renderingChanges.js.map +1 -0
  694. package/dist/editor/page-viewer/scrollIntoViewTextRanges.d.ts +23 -0
  695. package/dist/editor/page-viewer/scrollIntoViewTextRanges.js +26 -0
  696. package/dist/editor/page-viewer/scrollIntoViewTextRanges.js.map +1 -0
  697. package/dist/editor/page-viewer/useInteractivePreview.d.ts +77 -0
  698. package/dist/editor/page-viewer/useInteractivePreview.js +210 -0
  699. package/dist/editor/page-viewer/useInteractivePreview.js.map +1 -0
  700. package/dist/editor/pageModel.d.ts +12 -0
  701. package/dist/editor/personalization/ConditionTreeEditor.js +1 -1
  702. package/dist/editor/personalization/ConditionTreeEditor.js.map +1 -1
  703. package/dist/editor/personalization/PersonalizationPanel.js +1 -1
  704. package/dist/editor/personalization/PersonalizationPanel.js.map +1 -1
  705. package/dist/editor/reviews/CollapsibleText.d.ts +13 -0
  706. package/dist/editor/reviews/CollapsibleText.js +41 -0
  707. package/dist/editor/reviews/CollapsibleText.js.map +1 -0
  708. package/dist/editor/reviews/Comment.d.ts +10 -1
  709. package/dist/editor/reviews/Comment.js +47 -26
  710. package/dist/editor/reviews/Comment.js.map +1 -1
  711. package/dist/editor/reviews/CommentDisplayPopover.js +29 -25
  712. package/dist/editor/reviews/CommentDisplayPopover.js.map +1 -1
  713. package/dist/editor/reviews/CommentEditor.d.ts +25 -1
  714. package/dist/editor/reviews/CommentEditor.js +158 -47
  715. package/dist/editor/reviews/CommentEditor.js.map +1 -1
  716. package/dist/editor/reviews/CommentImageAttachments.d.ts +12 -0
  717. package/dist/editor/reviews/CommentImageAttachments.js +19 -0
  718. package/dist/editor/reviews/CommentImageAttachments.js.map +1 -0
  719. package/dist/editor/reviews/CommentPopover.d.ts +0 -4
  720. package/dist/editor/reviews/CommentPopover.js +4 -8
  721. package/dist/editor/reviews/CommentPopover.js.map +1 -1
  722. package/dist/editor/reviews/CommentQuote.d.ts +10 -1
  723. package/dist/editor/reviews/CommentQuote.js +15 -10
  724. package/dist/editor/reviews/CommentQuote.js.map +1 -1
  725. package/dist/editor/reviews/CommentTargetOutline.d.ts +13 -0
  726. package/dist/editor/reviews/CommentTargetOutline.js +21 -0
  727. package/dist/editor/reviews/CommentTargetOutline.js.map +1 -0
  728. package/dist/editor/reviews/CommentTargetPickerDomLayer.d.ts +7 -0
  729. package/dist/editor/reviews/CommentTargetPickerDomLayer.js +117 -0
  730. package/dist/editor/reviews/CommentTargetPickerDomLayer.js.map +1 -0
  731. package/dist/editor/reviews/CommentThreadAgentLink.d.ts +6 -1
  732. package/dist/editor/reviews/CommentThreadAgentLink.js +4 -4
  733. package/dist/editor/reviews/CommentThreadAgentLink.js.map +1 -1
  734. package/dist/editor/reviews/CommentThreadCard.d.ts +34 -0
  735. package/dist/editor/reviews/CommentThreadCard.js +156 -0
  736. package/dist/editor/reviews/CommentThreadCard.js.map +1 -0
  737. package/dist/editor/reviews/CommentView.d.ts +7 -1
  738. package/dist/editor/reviews/CommentView.js +24 -6
  739. package/dist/editor/reviews/CommentView.js.map +1 -1
  740. package/dist/editor/reviews/Comments.js +5 -14
  741. package/dist/editor/reviews/Comments.js.map +1 -1
  742. package/dist/editor/reviews/CreateReviewDialog.js +36 -9
  743. package/dist/editor/reviews/CreateReviewDialog.js.map +1 -1
  744. package/dist/editor/reviews/EditReviewSettingsDialog.js +1 -1
  745. package/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -1
  746. package/dist/editor/reviews/FeedbackCard.d.ts +16 -1
  747. package/dist/editor/reviews/FeedbackCard.js +14 -3
  748. package/dist/editor/reviews/FeedbackCard.js.map +1 -1
  749. package/dist/editor/reviews/FeedbackFilters.d.ts +9 -5
  750. package/dist/editor/reviews/FeedbackFilters.js +15 -36
  751. package/dist/editor/reviews/FeedbackFilters.js.map +1 -1
  752. package/dist/editor/reviews/FeedbackModeIntro.d.ts +7 -1
  753. package/dist/editor/reviews/FeedbackModeIntro.js +11 -6
  754. package/dist/editor/reviews/FeedbackModeIntro.js.map +1 -1
  755. package/dist/editor/reviews/MentionText.d.ts +2 -1
  756. package/dist/editor/reviews/MentionText.js +5 -3
  757. package/dist/editor/reviews/MentionText.js.map +1 -1
  758. package/dist/editor/reviews/MultiReviewManager.js +18 -3
  759. package/dist/editor/reviews/MultiReviewManager.js.map +1 -1
  760. package/dist/editor/reviews/ReviewItemsPanel.js +4 -0
  761. package/dist/editor/reviews/ReviewItemsPanel.js.map +1 -1
  762. package/dist/editor/reviews/SuggestedEdit.d.ts +10 -1
  763. package/dist/editor/reviews/SuggestedEdit.js +77 -10
  764. package/dist/editor/reviews/SuggestedEdit.js.map +1 -1
  765. package/dist/editor/reviews/SuggestionCommentThread.d.ts +5 -1
  766. package/dist/editor/reviews/SuggestionCommentThread.js +48 -17
  767. package/dist/editor/reviews/SuggestionCommentThread.js.map +1 -1
  768. package/dist/editor/reviews/SuggestionThreadCard.d.ts +19 -0
  769. package/dist/editor/reviews/SuggestionThreadCard.js +25 -0
  770. package/dist/editor/reviews/SuggestionThreadCard.js.map +1 -0
  771. package/dist/editor/reviews/addCommentOnTarget.d.ts +22 -0
  772. package/dist/editor/reviews/addCommentOnTarget.js +32 -0
  773. package/dist/editor/reviews/addCommentOnTarget.js.map +1 -0
  774. package/dist/editor/reviews/applySuggestedEditActions.js +7 -1
  775. package/dist/editor/reviews/applySuggestedEditActions.js.map +1 -1
  776. package/dist/editor/reviews/balloonLayout.d.ts +51 -0
  777. package/dist/editor/reviews/balloonLayout.js +101 -0
  778. package/dist/editor/reviews/balloonLayout.js.map +1 -0
  779. package/dist/editor/reviews/commentAgentAttachments.d.ts +5 -0
  780. package/dist/editor/reviews/commentAgentAttachments.js +51 -0
  781. package/dist/editor/reviews/commentAgentAttachments.js.map +1 -0
  782. package/dist/editor/reviews/commentAi.d.ts +4 -2
  783. package/dist/editor/reviews/commentAi.js +19 -12
  784. package/dist/editor/reviews/commentAi.js.map +1 -1
  785. package/dist/editor/reviews/commentImages.d.ts +1 -2
  786. package/dist/editor/reviews/commentImages.js +1 -37
  787. package/dist/editor/reviews/commentImages.js.map +1 -1
  788. package/dist/editor/reviews/commentTargetPicker.d.ts +114 -0
  789. package/dist/editor/reviews/commentTargetPicker.js +153 -0
  790. package/dist/editor/reviews/commentTargetPicker.js.map +1 -0
  791. package/dist/editor/reviews/feedbackAvatar.js +2 -1
  792. package/dist/editor/reviews/feedbackAvatar.js.map +1 -1
  793. package/dist/editor/reviews/feedbackBalloonDate.d.ts +8 -0
  794. package/dist/editor/reviews/feedbackBalloonDate.js +22 -0
  795. package/dist/editor/reviews/feedbackBalloonDate.js.map +1 -0
  796. package/dist/editor/reviews/feedbackDrafts.d.ts +49 -0
  797. package/dist/editor/reviews/feedbackDrafts.js +74 -0
  798. package/dist/editor/reviews/feedbackDrafts.js.map +1 -0
  799. package/dist/editor/reviews/feedbackHoverState.d.ts +18 -0
  800. package/dist/editor/reviews/feedbackHoverState.js +35 -0
  801. package/dist/editor/reviews/feedbackHoverState.js.map +1 -0
  802. package/dist/editor/reviews/feedbackPersonFilter.d.ts +3 -0
  803. package/dist/editor/reviews/feedbackPersonFilter.js +32 -0
  804. package/dist/editor/reviews/feedbackPersonFilter.js.map +1 -0
  805. package/dist/editor/reviews/feedbackSelection.js +7 -3
  806. package/dist/editor/reviews/feedbackSelection.js.map +1 -1
  807. package/dist/editor/reviews/feedbackThreadSelection.d.ts +10 -0
  808. package/dist/editor/reviews/feedbackThreadSelection.js +31 -0
  809. package/dist/editor/reviews/feedbackThreadSelection.js.map +1 -0
  810. package/dist/editor/reviews/feedbackThreads.d.ts +50 -0
  811. package/dist/editor/reviews/feedbackThreads.js +135 -0
  812. package/dist/editor/reviews/feedbackThreads.js.map +1 -0
  813. package/dist/editor/reviews/feedbackWheelForwarding.d.ts +34 -0
  814. package/dist/editor/reviews/feedbackWheelForwarding.js +108 -0
  815. package/dist/editor/reviews/feedbackWheelForwarding.js.map +1 -0
  816. package/dist/editor/reviews/openCommentsFeedback.d.ts +1 -1
  817. package/dist/editor/reviews/openCommentsFeedback.js +2 -1
  818. package/dist/editor/reviews/openCommentsFeedback.js.map +1 -1
  819. package/dist/editor/reviews/pendingReviewSelection.d.ts +13 -0
  820. package/dist/editor/reviews/pendingReviewSelection.js +29 -0
  821. package/dist/editor/reviews/pendingReviewSelection.js.map +1 -0
  822. package/dist/editor/reviews/requestReview.d.ts +27 -0
  823. package/dist/editor/reviews/requestReview.js +36 -0
  824. package/dist/editor/reviews/requestReview.js.map +1 -0
  825. package/dist/editor/reviews/reviewUrlScope.d.ts +23 -0
  826. package/dist/editor/reviews/reviewUrlScope.js +86 -0
  827. package/dist/editor/reviews/reviewUrlScope.js.map +1 -0
  828. package/dist/editor/reviews/scrollWithin.d.ts +29 -0
  829. package/dist/editor/reviews/scrollWithin.js +87 -0
  830. package/dist/editor/reviews/scrollWithin.js.map +1 -0
  831. package/dist/editor/reviews/subtreeFeedback.d.ts +57 -0
  832. package/dist/editor/reviews/subtreeFeedback.js +137 -0
  833. package/dist/editor/reviews/subtreeFeedback.js.map +1 -0
  834. package/dist/editor/reviews/useCommentImagePaste.d.ts +49 -14
  835. package/dist/editor/reviews/useCommentImagePaste.js +165 -62
  836. package/dist/editor/reviews/useCommentImagePaste.js.map +1 -1
  837. package/dist/editor/reviews/useFeedbackThreads.d.ts +35 -0
  838. package/dist/editor/reviews/useFeedbackThreads.js +137 -0
  839. package/dist/editor/reviews/useFeedbackThreads.js.map +1 -0
  840. package/dist/editor/reviews/useMeasuredHeights.d.ts +25 -0
  841. package/dist/editor/reviews/useMeasuredHeights.js +176 -0
  842. package/dist/editor/reviews/useMeasuredHeights.js.map +1 -0
  843. package/dist/editor/reviews/usePendingFeedbackFocus.d.ts +7 -0
  844. package/dist/editor/reviews/usePendingFeedbackFocus.js +42 -0
  845. package/dist/editor/reviews/usePendingFeedbackFocus.js.map +1 -0
  846. package/dist/editor/services/agentService.d.ts +101 -5
  847. package/dist/editor/services/agentService.js +16 -0
  848. package/dist/editor/services/agentService.js.map +1 -1
  849. package/dist/editor/services/agentStatus.d.ts +1 -0
  850. package/dist/editor/services/agentStatus.js +14 -0
  851. package/dist/editor/services/agentStatus.js.map +1 -1
  852. package/dist/editor/services/aiService.d.ts +2 -0
  853. package/dist/editor/services/aiService.js.map +1 -1
  854. package/dist/editor/services/contentService.d.ts +11 -1
  855. package/dist/editor/services/contentService.js +2 -1
  856. package/dist/editor/services/contentService.js.map +1 -1
  857. package/dist/editor/services/editService.d.ts +2 -0
  858. package/dist/editor/services/editService.js.map +1 -1
  859. package/dist/editor/services/indexService.d.ts +1 -0
  860. package/dist/editor/services/indexService.js +4 -0
  861. package/dist/editor/services/indexService.js.map +1 -1
  862. package/dist/editor/services/mcpAccessService.d.ts +93 -0
  863. package/dist/editor/services/mcpAccessService.js +41 -0
  864. package/dist/editor/services/mcpAccessService.js.map +1 -0
  865. package/dist/editor/services/previewTokenService.d.ts +14 -0
  866. package/dist/editor/services/previewTokenService.js +34 -0
  867. package/dist/editor/services/previewTokenService.js.map +1 -0
  868. package/dist/editor/services/renderingsService.d.ts +117 -0
  869. package/dist/editor/services/renderingsService.js +245 -0
  870. package/dist/editor/services/renderingsService.js.map +1 -0
  871. package/dist/editor/services/reviewsService.d.ts +6 -1
  872. package/dist/editor/services/reviewsService.js +14 -6
  873. package/dist/editor/services/reviewsService.js.map +1 -1
  874. package/dist/editor/services/serviceHelper.d.ts +17 -1
  875. package/dist/editor/services/serviceHelper.js +67 -12
  876. package/dist/editor/services/serviceHelper.js.map +1 -1
  877. package/dist/editor/services/spellCheckService.d.ts +13 -0
  878. package/dist/editor/services/spellCheckService.js +33 -0
  879. package/dist/editor/services/spellCheckService.js.map +1 -0
  880. package/dist/editor/services/suggestedEditsService.d.ts +1 -0
  881. package/dist/editor/services/suggestedEditsService.js +7 -0
  882. package/dist/editor/services/suggestedEditsService.js.map +1 -1
  883. package/dist/editor/settings/MigrationJournalCard.js +2 -2
  884. package/dist/editor/settings/MigrationJournalCard.js.map +1 -1
  885. package/dist/editor/settings/StatusSummary.js +5 -2
  886. package/dist/editor/settings/StatusSummary.js.map +1 -1
  887. package/dist/editor/settings/index/CollectionWarningsDisplay.js +1 -1
  888. package/dist/editor/settings/index/CollectionWarningsDisplay.js.map +1 -1
  889. package/dist/editor/settings/index/IndexGenerationsSection.d.ts +4 -5
  890. package/dist/editor/settings/index/IndexGenerationsSection.js +83 -33
  891. package/dist/editor/settings/index/IndexGenerationsSection.js.map +1 -1
  892. package/dist/editor/settings/index/RecentBatchesList.js +2 -1
  893. package/dist/editor/settings/index/RecentBatchesList.js.map +1 -1
  894. package/dist/editor/settings/panels/AgentProfileConfigPanel.js +1 -1
  895. package/dist/editor/settings/panels/AgentProfileConfigPanel.js.map +1 -1
  896. package/dist/editor/settings/panels/AgentToolsPanel.js +1 -1
  897. package/dist/editor/settings/panels/AgentToolsPanel.js.map +1 -1
  898. package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js +1 -1
  899. package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js.map +1 -1
  900. package/dist/editor/settings/panels/McpAccessPanel.d.ts +7 -0
  901. package/dist/editor/settings/panels/McpAccessPanel.js +96 -0
  902. package/dist/editor/settings/panels/McpAccessPanel.js.map +1 -0
  903. package/dist/editor/settings/panels/McpAccessSettingsView.d.ts +8 -0
  904. package/dist/editor/settings/panels/McpAccessSettingsView.js +221 -0
  905. package/dist/editor/settings/panels/McpAccessSettingsView.js.map +1 -0
  906. package/dist/editor/settings/panels/ModelConfigPanel.js +1 -0
  907. package/dist/editor/settings/panels/ModelConfigPanel.js.map +1 -1
  908. package/dist/editor/settings/panels/ModelsPanel.js +60 -6
  909. package/dist/editor/settings/panels/ModelsPanel.js.map +1 -1
  910. package/dist/editor/settings/panels/PersistentLogsPanel.js +2 -1
  911. package/dist/editor/settings/panels/PersistentLogsPanel.js.map +1 -1
  912. package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js +1 -1
  913. package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js.map +1 -1
  914. package/dist/editor/settings/panels/ProvidersPanel.js +2 -1
  915. package/dist/editor/settings/panels/ProvidersPanel.js.map +1 -1
  916. package/dist/editor/settings/panels/SearchConfigPanel.js +6 -5
  917. package/dist/editor/settings/panels/SearchConfigPanel.js.map +1 -1
  918. package/dist/editor/settings/panels/SpellCheckPanel.d.ts +8 -0
  919. package/dist/editor/settings/panels/SpellCheckPanel.js +253 -0
  920. package/dist/editor/settings/panels/SpellCheckPanel.js.map +1 -0
  921. package/dist/editor/settings/panels/StatusPanel.js +5 -6
  922. package/dist/editor/settings/panels/StatusPanel.js.map +1 -1
  923. package/dist/editor/settings/panels/UserPreferencesPanel.js +5 -2
  924. package/dist/editor/settings/panels/UserPreferencesPanel.js.map +1 -1
  925. package/dist/editor/settings/panels/index.d.ts +2 -0
  926. package/dist/editor/settings/panels/index.js +2 -0
  927. package/dist/editor/settings/panels/index.js.map +1 -1
  928. package/dist/editor/sidebar/ComponentPalette.js +7 -3
  929. package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
  930. package/dist/editor/sidebar/ComponentTree.d.ts +1 -1
  931. package/dist/editor/sidebar/ComponentTree.js +37 -58
  932. package/dist/editor/sidebar/ComponentTree.js.map +1 -1
  933. package/dist/editor/sidebar/DictionaryEditor.js +2 -1
  934. package/dist/editor/sidebar/DictionaryEditor.js.map +1 -1
  935. package/dist/editor/sidebar/EditHistory.js +5 -4
  936. package/dist/editor/sidebar/EditHistory.js.map +1 -1
  937. package/dist/editor/sidebar/FeedbackSidebar.d.ts +7 -0
  938. package/dist/editor/sidebar/FeedbackSidebar.js +300 -0
  939. package/dist/editor/sidebar/FeedbackSidebar.js.map +1 -0
  940. package/dist/editor/sidebar/OperationDetailsContent.js +50 -0
  941. package/dist/editor/sidebar/OperationDetailsContent.js.map +1 -1
  942. package/dist/editor/sidebar/OperationItem.js +4 -1
  943. package/dist/editor/sidebar/OperationItem.js.map +1 -1
  944. package/dist/editor/sidebar/Sessions.js +3 -1
  945. package/dist/editor/sidebar/Sessions.js.map +1 -1
  946. package/dist/editor/sidebar/Validation.js +1 -1
  947. package/dist/editor/sidebar/Validation.js.map +1 -1
  948. package/dist/editor/sidebar/Workbox.js +3 -108
  949. package/dist/editor/sidebar/Workbox.js.map +1 -1
  950. package/dist/editor/sidebar/liveComponentThumbnails.d.ts +7 -3
  951. package/dist/editor/sidebar/liveComponentThumbnails.js +26 -16
  952. package/dist/editor/sidebar/liveComponentThumbnails.js.map +1 -1
  953. package/dist/editor/spellcheck/canvasSpellCheckContextMenu.d.ts +30 -0
  954. package/dist/editor/spellcheck/canvasSpellCheckContextMenu.js +69 -0
  955. package/dist/editor/spellcheck/canvasSpellCheckContextMenu.js.map +1 -0
  956. package/dist/editor/spellcheck/htmlSpellDocument.d.ts +60 -0
  957. package/dist/editor/spellcheck/htmlSpellDocument.js +181 -0
  958. package/dist/editor/spellcheck/htmlSpellDocument.js.map +1 -0
  959. package/dist/editor/spellcheck/htmlSpellTokenizer.d.ts +45 -0
  960. package/dist/editor/spellcheck/htmlSpellTokenizer.js +277 -0
  961. package/dist/editor/spellcheck/htmlSpellTokenizer.js.map +1 -0
  962. package/dist/editor/spellcheck/replacementGuard.d.ts +27 -0
  963. package/dist/editor/spellcheck/replacementGuard.js +29 -0
  964. package/dist/editor/spellcheck/replacementGuard.js.map +1 -0
  965. package/dist/editor/spellcheck/spellCheckCanvasStore.d.ts +17 -0
  966. package/dist/editor/spellcheck/spellCheckCanvasStore.js +37 -0
  967. package/dist/editor/spellcheck/spellCheckCanvasStore.js.map +1 -0
  968. package/dist/editor/spellcheck/spellCheckCanvasTargets.d.ts +71 -0
  969. package/dist/editor/spellcheck/spellCheckCanvasTargets.js +126 -0
  970. package/dist/editor/spellcheck/spellCheckCanvasTargets.js.map +1 -0
  971. package/dist/editor/spellcheck/spellCheckClient.d.ts +66 -0
  972. package/dist/editor/spellcheck/spellCheckClient.js +0 -0
  973. package/dist/editor/spellcheck/spellCheckClient.js.map +1 -0
  974. package/dist/editor/spellcheck/spellCheckContextMenu.d.ts +52 -0
  975. package/dist/editor/spellcheck/spellCheckContextMenu.js +120 -0
  976. package/dist/editor/spellcheck/spellCheckContextMenu.js.map +1 -0
  977. package/dist/editor/spellcheck/spellCheckReplace.d.ts +8 -0
  978. package/dist/editor/spellcheck/spellCheckReplace.js +20 -0
  979. package/dist/editor/spellcheck/spellCheckReplace.js.map +1 -0
  980. package/dist/editor/spellcheck/spellCheckStyles.d.ts +11 -0
  981. package/dist/editor/spellcheck/spellCheckStyles.js +12 -0
  982. package/dist/editor/spellcheck/spellCheckStyles.js.map +1 -0
  983. package/dist/editor/spellcheck/spellCheckTypes.d.ts +94 -0
  984. package/dist/editor/spellcheck/spellCheckTypes.js +2 -0
  985. package/dist/editor/spellcheck/spellCheckTypes.js.map +1 -0
  986. package/dist/editor/spellcheck/textMarkHitTest.d.ts +14 -0
  987. package/dist/editor/spellcheck/textMarkHitTest.js +39 -0
  988. package/dist/editor/spellcheck/textMarkHitTest.js.map +1 -0
  989. package/dist/editor/spellcheck/useSpellCheck.d.ts +16 -0
  990. package/dist/editor/spellcheck/useSpellCheck.js +57 -0
  991. package/dist/editor/spellcheck/useSpellCheck.js.map +1 -0
  992. package/dist/editor/ui/DynamicRenderingsPublishWarning.d.ts +14 -0
  993. package/dist/editor/ui/DynamicRenderingsPublishWarning.js +40 -0
  994. package/dist/editor/ui/DynamicRenderingsPublishWarning.js.map +1 -0
  995. package/dist/editor/ui/ItemNameDialogNew.js +11 -2
  996. package/dist/editor/ui/ItemNameDialogNew.js.map +1 -1
  997. package/dist/editor/ui/ItemSearch.d.ts +2 -0
  998. package/dist/editor/ui/ItemSearch.js +2 -2
  999. package/dist/editor/ui/ItemSearch.js.map +1 -1
  1000. package/dist/editor/ui/ParheliaMark.d.ts +15 -0
  1001. package/dist/editor/ui/ParheliaMark.js +12 -0
  1002. package/dist/editor/ui/ParheliaMark.js.map +1 -0
  1003. package/dist/editor/ui/PublishDialog.d.ts +2 -0
  1004. package/dist/editor/ui/PublishDialog.js +4 -1
  1005. package/dist/editor/ui/PublishDialog.js.map +1 -1
  1006. package/dist/editor/ui/PublishItemDialog.js +3 -2
  1007. package/dist/editor/ui/PublishItemDialog.js.map +1 -1
  1008. package/dist/editor/ui/PublishReadinessSummary.js +1 -1
  1009. package/dist/editor/ui/PublishReadinessSummary.js.map +1 -1
  1010. package/dist/editor/ui/PublishRestrictionsDialog.d.ts +33 -0
  1011. package/dist/editor/ui/PublishRestrictionsDialog.js +208 -38
  1012. package/dist/editor/ui/PublishRestrictionsDialog.js.map +1 -1
  1013. package/dist/editor/ui/RootItemPicker.d.ts +18 -0
  1014. package/dist/editor/ui/RootItemPicker.js +112 -0
  1015. package/dist/editor/ui/RootItemPicker.js.map +1 -0
  1016. package/dist/editor/ui/WorkboxItemsTable.js +1 -1
  1017. package/dist/editor/ui/WorkboxItemsTable.js.map +1 -1
  1018. package/dist/editor/undoEligibility.d.ts +2 -0
  1019. package/dist/editor/undoEligibility.js +8 -0
  1020. package/dist/editor/undoEligibility.js.map +1 -0
  1021. package/dist/editor/utils/dataTransferImages.d.ts +7 -0
  1022. package/dist/editor/utils/dataTransferImages.js +43 -0
  1023. package/dist/editor/utils/dataTransferImages.js.map +1 -0
  1024. package/dist/editor/utils/itemConverters.js +9 -0
  1025. package/dist/editor/utils/itemConverters.js.map +1 -1
  1026. package/dist/editor/utils/keyboardNavigation.js +54 -4
  1027. package/dist/editor/utils/keyboardNavigation.js.map +1 -1
  1028. package/dist/editor/utils.d.ts +4 -4
  1029. package/dist/editor/utils.js +9 -8
  1030. package/dist/editor/utils.js.map +1 -1
  1031. package/dist/editor/validation/navigateToValidationIssue.d.ts +2 -2
  1032. package/dist/editor/validation/navigateToValidationIssue.js +1 -1
  1033. package/dist/editor/validation/navigateToValidationIssue.js.map +1 -1
  1034. package/dist/editor/validation/validationRulerIssues.d.ts +17 -0
  1035. package/dist/editor/validation/validationRulerIssues.js +44 -0
  1036. package/dist/editor/validation/validationRulerIssues.js.map +1 -0
  1037. package/dist/editor/views/CompareView.js +3 -4
  1038. package/dist/editor/views/CompareView.js.map +1 -1
  1039. package/dist/editor/views/EditorSlot.js +10 -4
  1040. package/dist/editor/views/EditorSlot.js.map +1 -1
  1041. package/dist/editor/views/ItemEditor.d.ts +3 -1
  1042. package/dist/editor/views/ItemEditor.js +43 -38
  1043. package/dist/editor/views/ItemEditor.js.map +1 -1
  1044. package/dist/editor/views/ItemEditorPane.js +3 -3
  1045. package/dist/editor/views/ItemEditorPane.js.map +1 -1
  1046. package/dist/editor/views/SingleEditView.js +10 -32
  1047. package/dist/editor/views/SingleEditView.js.map +1 -1
  1048. package/dist/editor/views/editorSlotContext.js +62 -90
  1049. package/dist/editor/views/editorSlotContext.js.map +1 -1
  1050. package/dist/index.d.ts +11 -5
  1051. package/dist/index.js +9 -4
  1052. package/dist/index.js.map +1 -1
  1053. package/dist/lib/utils.d.ts +5 -0
  1054. package/dist/lib/utils.js +7 -0
  1055. package/dist/lib/utils.js.map +1 -1
  1056. package/dist/licensing/FeatureGate.js +1 -1
  1057. package/dist/licensing/FeatureGate.js.map +1 -1
  1058. package/dist/licensing/LicenseContext.js +31 -17
  1059. package/dist/licensing/LicenseContext.js.map +1 -1
  1060. package/dist/revision.d.ts +2 -2
  1061. package/dist/revision.js +2 -2
  1062. package/dist/setup/services/setupWizardService.d.ts +6 -2
  1063. package/dist/setup/services/setupWizardService.js +10 -0
  1064. package/dist/setup/services/setupWizardService.js.map +1 -1
  1065. package/dist/setup/wizard/steps/AddModelDialog.js +1 -0
  1066. package/dist/setup/wizard/steps/AddModelDialog.js.map +1 -1
  1067. package/dist/setup/wizard/steps/ImportModelDialog.js +2 -1
  1068. package/dist/setup/wizard/steps/ImportModelDialog.js.map +1 -1
  1069. package/dist/splash-screen/ModernSplashScreen.js +8 -6
  1070. package/dist/splash-screen/ModernSplashScreen.js.map +1 -1
  1071. package/dist/splash-screen/RecentPages.js +8 -5
  1072. package/dist/splash-screen/RecentPages.js.map +1 -1
  1073. package/dist/task-board/TaskBoardWorkspace.js +218 -35
  1074. package/dist/task-board/TaskBoardWorkspace.js.map +1 -1
  1075. package/dist/task-board/components/AttentionPromptDialog.d.ts +13 -0
  1076. package/dist/task-board/components/AttentionPromptDialog.js +45 -0
  1077. package/dist/task-board/components/AttentionPromptDialog.js.map +1 -0
  1078. package/dist/task-board/components/GoalDataView.d.ts +22 -1
  1079. package/dist/task-board/components/GoalDataView.js +63 -17
  1080. package/dist/task-board/components/GoalDataView.js.map +1 -1
  1081. package/dist/task-board/components/GoalFindingsTable.d.ts +43 -0
  1082. package/dist/task-board/components/GoalFindingsTable.js +160 -0
  1083. package/dist/task-board/components/GoalFindingsTable.js.map +1 -0
  1084. package/dist/task-board/components/GoalsMatrix.js +33 -6
  1085. package/dist/task-board/components/GoalsMatrix.js.map +1 -1
  1086. package/dist/task-board/components/IssuePanel.d.ts +31 -0
  1087. package/dist/task-board/components/IssuePanel.js +268 -0
  1088. package/dist/task-board/components/IssuePanel.js.map +1 -0
  1089. package/dist/task-board/components/ProjectBudgetBanner.js +1 -1
  1090. package/dist/task-board/components/ProjectBudgetBanner.js.map +1 -1
  1091. package/dist/task-board/components/ProjectGoalsPanel.js +66 -13
  1092. package/dist/task-board/components/ProjectGoalsPanel.js.map +1 -1
  1093. package/dist/task-board/components/SubgoalFindings.d.ts +40 -0
  1094. package/dist/task-board/components/SubgoalFindings.js +88 -0
  1095. package/dist/task-board/components/SubgoalFindings.js.map +1 -0
  1096. package/dist/task-board/components/TaskAgentPanel.d.ts +2 -0
  1097. package/dist/task-board/components/TaskAgentPanel.js +5 -4
  1098. package/dist/task-board/components/TaskAgentPanel.js.map +1 -1
  1099. package/dist/task-board/components/TaskDetailPanel.js +22 -16
  1100. package/dist/task-board/components/TaskDetailPanel.js.map +1 -1
  1101. package/dist/task-board/components/WizardCommunicationCards.js +1 -1
  1102. package/dist/task-board/components/WizardCommunicationCards.js.map +1 -1
  1103. package/dist/task-board/components/WizardCommunicationCenter.d.ts +2 -0
  1104. package/dist/task-board/components/WizardCommunicationCenter.js +5 -3
  1105. package/dist/task-board/components/WizardCommunicationCenter.js.map +1 -1
  1106. package/dist/task-board/components/WizardCommunicationShared.js +2 -1
  1107. package/dist/task-board/components/WizardCommunicationShared.js.map +1 -1
  1108. package/dist/task-board/components/WizardTask.d.ts +2 -0
  1109. package/dist/task-board/components/WizardTask.js +2 -2
  1110. package/dist/task-board/components/WizardTask.js.map +1 -1
  1111. package/dist/task-board/components/WizardTaskDetailsPanel.d.ts +4 -0
  1112. package/dist/task-board/components/WizardTaskDetailsPanel.js +16 -3
  1113. package/dist/task-board/components/WizardTaskDetailsPanel.js.map +1 -1
  1114. package/dist/task-board/services/issueService.d.ts +193 -0
  1115. package/dist/task-board/services/issueService.js +97 -0
  1116. package/dist/task-board/services/issueService.js.map +1 -0
  1117. package/dist/task-board/services/taskService.d.ts +1 -2
  1118. package/dist/task-board/services/taskService.js +0 -3
  1119. package/dist/task-board/services/taskService.js.map +1 -1
  1120. package/dist/task-board/taskBlockers.d.ts +10 -0
  1121. package/dist/task-board/taskBlockers.js +66 -0
  1122. package/dist/task-board/taskBlockers.js.map +1 -0
  1123. package/dist/task-board/types.d.ts +24 -7
  1124. package/dist/task-board/utils/projectDashboardModel.js +14 -0
  1125. package/dist/task-board/utils/projectDashboardModel.js.map +1 -1
  1126. package/dist/task-board/views/DependencyGraphView.d.ts +22 -0
  1127. package/dist/task-board/views/DependencyGraphView.js +111 -14
  1128. package/dist/task-board/views/DependencyGraphView.js.map +1 -1
  1129. package/dist/task-board/views/KanbanView.js +8 -10
  1130. package/dist/task-board/views/KanbanView.js.map +1 -1
  1131. package/dist/task-board/views/ProjectDashboardView.js +5 -13
  1132. package/dist/task-board/views/ProjectDashboardView.js.map +1 -1
  1133. package/dist/tour/Tour.js +4 -1
  1134. package/dist/tour/Tour.js.map +1 -1
  1135. package/dist/tour/sandbox-tour-copy.d.ts +8 -0
  1136. package/dist/tour/sandbox-tour-copy.js +8 -0
  1137. package/dist/tour/sandbox-tour-copy.js.map +1 -1
  1138. package/dist/tour/sandbox-tour.d.ts +3 -0
  1139. package/dist/tour/sandbox-tour.js +107 -3
  1140. package/dist/tour/sandbox-tour.js.map +1 -1
  1141. package/dist/types.d.ts +85 -1
  1142. package/package.json +6 -2
  1143. package/styles.css +74 -3
  1144. package/dist/editor/page-editor-chrome/bridgeLinkValue.d.ts +0 -10
  1145. package/dist/editor/page-editor-chrome/bridgeLinkValue.js +0 -55
  1146. package/dist/editor/page-editor-chrome/bridgeLinkValue.js.map +0 -1
@@ -5,11 +5,14 @@ import { SANDBOX_TOUR_COPY } from "./sandbox-tour-copy";
5
5
  export { SANDBOX_TOUR_COPY } from "./sandbox-tour-copy";
6
6
  const SELECTORS = {
7
7
  "start-tour": '[data-testid="pageEditoriframe"]',
8
+ "context-menu": '[data-testid="context-menu-content"]',
9
+ "frame-menu": '[data-testid="frame-menu"]',
8
10
  "insert-component": '[data-testid="insert-component-button"]',
9
11
  "undo-redo": 'div:has(> [data-testid="toolbar-undo-button"])',
10
12
  "content-tree": '[data-testid="content-tree-toggle-button"]',
11
13
  "preview-mode": '[data-testid="preview-mode-button"]',
12
14
  "device-switcher": '[data-testid="viewport-mode-switcher-button"]',
15
+ feedback: '[data-testid="toggle-comments-button"]',
13
16
  "agent-prompt": "[data-agent-terminal-root]",
14
17
  "agents-button": '[data-testid="agents-panel-button"]',
15
18
  help: '[data-testid="help-button"]',
@@ -27,15 +30,94 @@ const REQUIRED_CHROME_SELECTORS = [
27
30
  '[data-testid="genericToolbar"]',
28
31
  ];
29
32
  const SETTLE_TIMEOUT_MS = 3000;
33
+ const CONTEXT_MENU_ANCHOR_TIMEOUT_MS = 2000;
34
+ /** The menu renders transparent until it has measured its final position. */
35
+ const CONTEXT_MENU_PAINT_POLLS = 30;
36
+ function getPage(editContext) {
37
+ return (editContext.getActiveSlotContext?.()?.primaryPageViewContext?.getState()
38
+ .page ?? editContext.page);
39
+ }
40
+ /** The first component on the page (skipping empty placeholders), which the tour right-clicks. */
41
+ export function findFirstComponent(placeholders) {
42
+ for (const placeholder of placeholders ?? []) {
43
+ const [first] = placeholder.components ?? [];
44
+ if (first)
45
+ return first;
46
+ }
47
+ return undefined;
48
+ }
49
+ function getContextMenuComponent(editContext) {
50
+ if (typeof editContext.showContextMenu !== "function")
51
+ return undefined;
52
+ return findFirstComponent(getPage(editContext)?.rootComponent?.placeholders);
53
+ }
30
54
  export function createSandboxTour() {
31
55
  let settled = false;
32
56
  let settlePromise;
33
57
  let settleGeneration = 0;
58
+ let contextMenuRun;
34
59
  const resetSettleState = () => {
35
60
  settled = false;
36
61
  settlePromise = undefined;
37
62
  settleGeneration += 1;
38
63
  };
64
+ const closeContextMenu = () => {
65
+ const run = contextMenuRun;
66
+ if (!run)
67
+ return;
68
+ contextMenuRun = undefined;
69
+ run.cancelled = true;
70
+ // The shell closes the menu as soon as it no longer owns the overlay slot.
71
+ // Other owners are left alone: the menu is already gone in that case.
72
+ run.editContext.setCurrentOverlay?.((overlay) => overlay === "context-menu" ? undefined : overlay);
73
+ run.editContext.select(run.previousSelection);
74
+ };
75
+ // Mirrors a user selecting the first component and right-clicking its
76
+ // frame: the same menu items, opened at the same spot.
77
+ const openContextMenu = async (params) => {
78
+ closeContextMenu();
79
+ const { editContext } = params;
80
+ const component = getContextMenuComponent(editContext);
81
+ if (!component)
82
+ return;
83
+ const run = {
84
+ editContext,
85
+ previousSelection: editContext.getSelection?.() ?? [],
86
+ cancelled: false,
87
+ };
88
+ contextMenuRun = run;
89
+ editContext.select([component.id]);
90
+ const anchor = (await params.waitForElement(SELECTORS["frame-menu"], CONTEXT_MENU_ANCHOR_TIMEOUT_MS)) ??
91
+ (await params.waitForElement(SELECTORS["start-tour"], CONTEXT_MENU_ANCHOR_TIMEOUT_MS));
92
+ if (run.cancelled || !anchor)
93
+ return;
94
+ try {
95
+ // Loaded on demand: the editor's menu module must not become a static
96
+ // dependency of the tour configuration.
97
+ const { buildComponentContextMenuItems } = await import("../editor/ContextMenu");
98
+ const items = await buildComponentContextMenuItems([component], editContext);
99
+ if (run.cancelled || items.length === 0)
100
+ return;
101
+ const clientX = anchor.left + Math.min(32, anchor.width / 2);
102
+ const clientY = anchor.top + Math.min(24, anchor.height / 2);
103
+ editContext.showContextMenu(new MouseEvent("contextmenu", {
104
+ bubbles: true,
105
+ cancelable: true,
106
+ clientX,
107
+ clientY,
108
+ }), items);
109
+ }
110
+ catch (error) {
111
+ console.warn("Sandbox tour could not open the component menu", error);
112
+ return;
113
+ }
114
+ for (let attempt = 0; attempt < CONTEXT_MENU_PAINT_POLLS; attempt += 1) {
115
+ const menu = document.querySelector(SELECTORS["context-menu"]);
116
+ if (menu && getComputedStyle(menu).opacity === "1")
117
+ return;
118
+ await params.delay(16);
119
+ }
120
+ };
39
121
  return {
40
122
  dismissOnEscape: true,
41
123
  disableUserInput: true,
@@ -53,6 +135,17 @@ export function createSandboxTour() {
53
135
  bubblePosition: "right",
54
136
  bubbleVerticalAnchor: "center",
55
137
  },
138
+ {
139
+ id: "context-menu",
140
+ focusElement: SELECTORS["context-menu"],
141
+ presenceElement: SELECTORS["start-tour"],
142
+ bubblePosition: "right",
143
+ bubbleVerticalAnchor: "center",
144
+ skipIf: () => !getContextMenuComponent(params.editContext) ||
145
+ selectorShouldBeSkipped(SELECTORS["start-tour"]),
146
+ prepareAction: () => openContextMenu(params),
147
+ cleanupAction: closeContextMenu,
148
+ },
56
149
  {
57
150
  id: "insert-component",
58
151
  focusElement: SELECTORS["insert-component"],
@@ -83,6 +176,12 @@ export function createSandboxTour() {
83
176
  bubblePosition: "bottom",
84
177
  skipIf: () => selectorShouldBeSkipped(SELECTORS["device-switcher"]),
85
178
  },
179
+ {
180
+ id: "feedback",
181
+ focusElement: SELECTORS.feedback,
182
+ bubblePosition: "bottom",
183
+ skipIf: () => selectorShouldBeSkipped(SELECTORS.feedback),
184
+ },
86
185
  {
87
186
  id: "agent-prompt",
88
187
  focusElement: SELECTORS["agent-prompt"],
@@ -131,9 +230,12 @@ export function createSandboxTour() {
131
230
  // the element-less closing step). Before the chrome has settled, absent
132
231
  // targets are deliberately not skipped, but counting them would make
133
232
  // "n of N" shrink once they are confirmed missing.
134
- const isCounted = (definition) => !isSkipped(definition) &&
135
- (!definition.focusElement ||
136
- elementState(definition.focusElement) === "visible");
233
+ const isCounted = (definition) => {
234
+ if (isSkipped(definition))
235
+ return false;
236
+ const presence = definition.presenceElement ?? definition.focusElement;
237
+ return !presence || elementState(presence) === "visible";
238
+ };
137
239
  const visibleDefinitions = definitions.filter(isCounted);
138
240
  const findPreviousVisible = (index) => {
139
241
  for (let previous = index - 1; previous >= 0; previous -= 1) {
@@ -161,6 +263,8 @@ export function createSandboxTour() {
161
263
  bubblePosition: definition.bubblePosition,
162
264
  bubbleVerticalAnchor: definition.bubbleVerticalAnchor,
163
265
  skipIf: definition.skipIf,
266
+ prepareAction: definition.prepareAction,
267
+ cleanupAction: definition.cleanupAction,
164
268
  nextStep: nextId,
165
269
  ...(definition.id === "start-tour"
166
270
  ? {
@@ -1 +1 @@
1
- {"version":3,"file":"sandbox-tour.js","sourceRoot":"","sources":["../../src/tour/sandbox-tour.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAsB,MAAM,qBAAqB,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,SAAS,GAAG;IAChB,YAAY,EAAE,kCAAkC;IAChD,kBAAkB,EAAE,yCAAyC;IAC7D,WAAW,EAAE,gDAAgD;IAC7D,cAAc,EAAE,4CAA4C;IAC5D,cAAc,EAAE,qCAAqC;IACrD,iBAAiB,EAAE,+CAA+C;IAClE,cAAc,EAAE,4BAA4B;IAC5C,eAAe,EAAE,qCAAqC;IACtD,IAAI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CAAC,EAAE,SAAS,EAAC,gBAAgB,GAAG,IAC7D,CACJ;4BACD,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;4BAC9D,SAAS,EAAE,4BAA4B;4BACvC,OAAO,EAAE,SAAkB;yBAC5B;qBACF;iBACF,CAAC;YACJ,CAAC,CAAC,CAAC;YAEH,KAAK,CAAC,KAAK,GAAG;gBACZ,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,uBAAuB;gBACpC,QAAQ,EAAE,MAAM;gBAChB,OAAO,EAAE;oBACP;wBACE,KAAK,EAAE,CACL,8BACE,KAAC,KAAK,IAAC,WAAW,EAAE,CAAC,EAAE,SAAS,EAAC,gBAAgB,GAAG,cACnD,CACJ;wBACD,OAAO,EAAE,QAAQ;qBAClB;iBACF;aACF,CAAC;YAEF,OAAO,KAAK,CAAC;QACf,CAAC;KACF,CAAC;AACJ,CAAC"}
package/dist/types.d.ts CHANGED
@@ -56,11 +56,12 @@ export type EditSession = {
56
56
  color: string;
57
57
  };
58
58
  export type EditOperation = {
59
- type: "edit-field" | "remove-component" | "move-component" | "add-component" | "synchronize-components" | "link-component" | "duplicate-components" | "rename-item" | "change-template" | "create-item" | "delete-items" | "add-version" | "remove-version" | "move-items" | "copy-items" | "clone-items" | "import-items" | "publish-item" | "convert-to-shared" | "update-rendering-parameters" | "update-rendering-rules";
59
+ type: "edit-field" | "remove-component" | "move-component" | "add-component" | "synchronize-components" | "link-component" | "duplicate-components" | "paste-components" | "rename-item" | "change-template" | "create-item" | "delete-items" | "add-version" | "remove-version" | "move-items" | "copy-items" | "clone-items" | "import-items" | "publish-item" | "convert-to-shared" | "convert-component" | "rename-component" | "update-rendering-parameters" | "update-rendering-rules";
60
60
  date: string;
61
61
  id: string;
62
62
  user?: User;
63
63
  undone?: boolean;
64
+ undoDate?: string | null;
64
65
  sessionId?: string;
65
66
  title: string;
66
67
  description?: string;
@@ -149,6 +150,20 @@ export type DuplicateComponentsOperation = EditOperation & {
149
150
  componentIds: string[];
150
151
  sourceComponentIds: string[];
151
152
  };
153
+ /**
154
+ * Copies clipboard components (possibly from another page) into a placeholder of
155
+ * `mainItem`. The sources are left untouched; `componentIds` holds the created copies.
156
+ */
157
+ export type PasteComponentsOperation = EditOperation & {
158
+ type: "paste-components";
159
+ sourcePageItem: ItemDescriptor;
160
+ sourceComponentIds: string[];
161
+ placeholderKey: string;
162
+ placeholderIndex: number;
163
+ /** Component owning the placeholder on the target page (page root for root placeholders). */
164
+ targetParentComponentId?: string;
165
+ componentIds?: string[];
166
+ };
152
167
  export type RemoveComponentOperation = EditOperation & {
153
168
  type: "remove-component";
154
169
  componentIds: string[];
@@ -256,6 +271,71 @@ export type ConvertToSharedOperation = EditOperation & {
256
271
  componentId: string;
257
272
  targetFolderId?: string;
258
273
  };
274
+ export type ConversionMappingMode = "copy" | "convert" | "rewrite" | "generate" | "empty";
275
+ export type ConversionFieldMapping = {
276
+ targetFieldId: string;
277
+ /** Merge mode: the source component the field is read from. */
278
+ sourceComponentId?: string;
279
+ sourceFieldId?: string;
280
+ mode: ConversionMappingMode;
281
+ instruction?: string;
282
+ /** Current-language AI value the user saw; used as-is for that language. */
283
+ previewValue?: string;
284
+ /** AI values the dialog wrote for the other languages: language -> raw value. */
285
+ previewValues?: Record<string, string>;
286
+ };
287
+ export type ConversionChildAction = {
288
+ componentId: string;
289
+ action: "move" | "remove" | "convert";
290
+ /** Base name of the placeholder on the new component, e.g. "ph-teaser-actions". */
291
+ targetPlaceholder?: string;
292
+ /** Nested conversion for "convert"; its source is `componentId`. */
293
+ conversion?: ConversionItem;
294
+ };
295
+ /** One resulting component of a convert-component operation. */
296
+ export type ConversionItem = {
297
+ key?: string;
298
+ sourceComponentIds?: string[];
299
+ anchorComponentId?: string;
300
+ targetTypeId: string;
301
+ targetTypeName?: string;
302
+ targetPlaceholder?: string;
303
+ fieldMappings: ConversionFieldMapping[];
304
+ childActions?: ConversionChildAction[];
305
+ copyRenderingParameters?: boolean;
306
+ carryOverPersonalization?: boolean;
307
+ /** Filled in by the server. */
308
+ newComponentId?: string;
309
+ newComponentName?: string;
310
+ };
311
+ /**
312
+ * Replaces components with components of another type and migrates their
313
+ * content. "each": one conversion per selected component; "merge": one
314
+ * conversion with several sources. One undo restores everything.
315
+ */
316
+ export type ConvertComponentOperation = EditOperation & {
317
+ type: "convert-component";
318
+ mode: "each" | "merge";
319
+ languages?: string[];
320
+ conversions: ConversionItem[];
321
+ /** The user's instructions for AI-written fields, oldest first. */
322
+ instructions?: string[];
323
+ /** Model for values the dialog did not write; unset for the default. */
324
+ modelId?: string;
325
+ warnings?: string[];
326
+ };
327
+ /**
328
+ * Renames a component. The components provider decides what is renamed: the
329
+ * datasource item for renderings, the embedded component item for content parts.
330
+ */
331
+ export type RenameComponentOperation = EditOperation & {
332
+ type: "rename-component";
333
+ componentId: string;
334
+ newName: string;
335
+ oldName?: string;
336
+ /** The renamed item, filled in by the server. */
337
+ itemId?: string;
338
+ };
259
339
  export type UpdateRenderingParametersOperation = EditOperation & {
260
340
  type: "update-rendering-parameters";
261
341
  componentId: string;
@@ -387,10 +467,14 @@ export type UserPreferences = {
387
467
  editorFormHidden?: boolean;
388
468
  /** Set to true once the user has seen the first-time hint explaining how to re-open the editor form. */
389
469
  editorFormHintSeen?: boolean;
470
+ /** Set to true once the user has inserted a component; hides the palette's how-to hint. */
471
+ componentInsertionHintSeen?: boolean;
390
472
  /** Last selected target folder for AI image jobs (Sitecore media folder item ID) */
391
473
  aiImageTargetFolderId?: string;
392
474
  /** ISO timestamp for the latest feedback item the user has seen on the home screen. */
393
475
  latestFeedbackLastSeenAt?: string;
476
+ /** Spell-check underlines and suggestions in text fields and on the canvas. Undefined means enabled. */
477
+ spellCheckEnabled?: boolean;
394
478
  };
395
479
  export type HistoryEntry = {
396
480
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parhelia/core",
3
- "version": "0.4.12818",
3
+ "version": "0.4.12871",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -45,6 +45,8 @@
45
45
  "test:watch": "vitest"
46
46
  },
47
47
  "devDependencies": {
48
+ "@babel/core": "^8.0.1",
49
+ "@babel/parser": "^8.0.0",
48
50
  "@repo/eslint-config": "*",
49
51
  "@repo/typescript-config": "*",
50
52
  "@tailwindcss/postcss": "^4.3.3",
@@ -55,16 +57,18 @@
55
57
  "@types/node": "^26.4.0",
56
58
  "@types/react": "19.2.18",
57
59
  "@types/react-dom": "19.2.5",
60
+ "@typescript/native": "npm:typescript@7.0.2",
61
+ "babel-plugin-react-compiler": "^1.0.0",
58
62
  "copyfiles": "^2.4.1",
59
63
  "eslint": "^10.9.1",
60
64
  "jsdom": "^30.0.1",
61
65
  "tailwindcss": "^4.3.3",
62
- "@typescript/native": "npm:typescript@7.0.2",
63
66
  "typescript": "npm:@typescript/typescript6@6.0.2",
64
67
  "vitest": "^4.1.11"
65
68
  },
66
69
  "dependencies": {
67
70
  "@dagrejs/dagre": "^3.1.1",
71
+ "@discordapp/twemoji": "16.0.1",
68
72
  "@fontsource/inter": "^5.3.0",
69
73
  "@radix-ui/react-accordion": "^1.2.20",
70
74
  "@radix-ui/react-alert-dialog": "^1.1.23",
package/styles.css CHANGED
@@ -77,9 +77,9 @@ body {
77
77
  .taskboard-wizard-communication-card:has(
78
78
  [data-testid="taskboard-wizard-agent-chat-tab"][aria-selected="true"]
79
79
  ) {
80
- align-self: stretch;
81
- height: 100%;
82
- max-height: 100%;
80
+ align-self: start;
81
+ height: calc(100vh - 7rem);
82
+ max-height: calc(100vh - 7rem);
83
83
  }
84
84
  }
85
85
 
@@ -103,6 +103,8 @@ body {
103
103
 
104
104
  /* Neutral colors */
105
105
  --color-neutral-grey-100: hsl(0 0% 7%);
106
+ /* Field text: a step lighter than body text */
107
+ --color-neutral-grey-80: hsl(0 0% 26%);
106
108
  --color-neutral-grey-50: hsl(0 0% 54%);
107
109
  --color-neutral-grey-15: hsl(0 0% 86%);
108
110
  --color-neutral-grey-10: hsl(0 0% 91%);
@@ -380,6 +382,21 @@ body {
380
382
  }
381
383
 
382
384
  @layer components {
385
+ /* Canvas spell-check underline: a wavy strip drawn by the overlay under a
386
+ misspelled word. The wave is an SVG mask so the color still comes from the
387
+ feedback token (text surfaces use Tailwind's decoration-wavy instead). */
388
+ .spellcheck-underline {
389
+ background-color: var(--color-feedback-red);
390
+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='3' viewBox='0 0 6 3'%3E%3Cpath d='M0 2.2 Q1.5 0.3 3 2.2 T6 2.2' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E");
391
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='3' viewBox='0 0 6 3'%3E%3Cpath d='M0 2.2 Q1.5 0.3 3 2.2 T6 2.2' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E");
392
+ mask-repeat: repeat-x;
393
+ -webkit-mask-repeat: repeat-x;
394
+ mask-size: 6px 3px;
395
+ -webkit-mask-size: 6px 3px;
396
+ mask-position: left bottom;
397
+ -webkit-mask-position: left bottom;
398
+ }
399
+
383
400
  /* Firefox and WebKit use a high-priority background for autofilled fields.
384
401
  Paint the review secret input's normal translucent fill over that color. */
385
402
  .secret-phrase-input:is(:autofill, :-webkit-autofill) {
@@ -605,6 +622,60 @@ body {
605
622
  --saved-bar-alpha: 0;
606
623
  }
607
624
  }
625
+
626
+ /* Running field action (AI image generation, field actions): the Parhelia
627
+ swirl in white on a black tile, centred on the field, drawing itself. The path has pathLength="1", so a dash of length 1 offset from 1
628
+ to 0 traces the outline; the fill then fades in, holds, and the whole
629
+ mark fades out before the loop restarts (at 0% nothing is visible, so
630
+ the opacity jump at the seam is not). No tint over the field. Decorative
631
+ only, pointer-events: none; the `executing-action` class stays as the
632
+ hook the e2e tests wait on. */
633
+ .field-action-tile {
634
+ background-color: var(--color-neutral-grey-100);
635
+ border-radius: 22%;
636
+ }
637
+
638
+ .field-action-mark-path {
639
+ fill: var(--color-white);
640
+ fill-opacity: 0;
641
+ stroke: var(--color-white);
642
+ stroke-width: 2.5;
643
+ stroke-linejoin: round;
644
+ stroke-dasharray: 1;
645
+ stroke-dashoffset: 1;
646
+ animation: field-action-draw 3.2s ease-in-out infinite;
647
+ }
648
+
649
+ @keyframes field-action-draw {
650
+ 0% {
651
+ stroke-dashoffset: 1;
652
+ fill-opacity: 0;
653
+ opacity: 1;
654
+ }
655
+ 50% {
656
+ stroke-dashoffset: 0;
657
+ fill-opacity: 0;
658
+ }
659
+ 65% {
660
+ fill-opacity: 1;
661
+ }
662
+ 86% {
663
+ opacity: 1;
664
+ }
665
+ 100% {
666
+ stroke-dashoffset: 0;
667
+ fill-opacity: 1;
668
+ opacity: 0;
669
+ }
670
+ }
671
+
672
+ @media (prefers-reduced-motion: reduce) {
673
+ .field-action-mark-path {
674
+ animation: none;
675
+ fill-opacity: 1;
676
+ stroke-dashoffset: 0;
677
+ }
678
+ }
608
679
  }
609
680
 
610
681
  @layer base {
@@ -1,10 +0,0 @@
1
- import type { Link } from "../LinkEditorDialog";
2
- import type { BridgeSelectionLinkAttributes } from "../bridge/protocol";
3
- /**
4
- * Builds the LinkEditorDialog value for the anchor the canvas selection is
5
- * inside, so re-opening the link dialog on the WYSIWYG toolbar hydrates the
6
- * current link the same way the form editor does. Uses the rich text
7
- * converter's anchor parsing, so internal-link detection (dynamic links,
8
- * data attributes, editor-local hrefs) cannot drift between the two editors.
9
- */
10
- export declare function buildLinkValueFromBridgeAttributes(attributes: BridgeSelectionLinkAttributes | undefined): Link | null;
@@ -1,55 +0,0 @@
1
- import { createLinkElementFromAnchor } from "../field-types/richtext/utils/conversion";
2
- /**
3
- * Builds the LinkEditorDialog value for the anchor the canvas selection is
4
- * inside, so re-opening the link dialog on the WYSIWYG toolbar hydrates the
5
- * current link the same way the form editor does. Uses the rich text
6
- * converter's anchor parsing, so internal-link detection (dynamic links,
7
- * data attributes, editor-local hrefs) cannot drift between the two editors.
8
- */
9
- export function buildLinkValueFromBridgeAttributes(attributes) {
10
- if (!attributes?.href || typeof document === "undefined") {
11
- return null;
12
- }
13
- const anchor = document.createElement("a");
14
- anchor.setAttribute("href", attributes.href);
15
- if (attributes.target)
16
- anchor.setAttribute("target", attributes.target);
17
- if (attributes.title)
18
- anchor.setAttribute("title", attributes.title);
19
- if (attributes.rel)
20
- anchor.setAttribute("rel", attributes.rel);
21
- if (attributes.dataInternal) {
22
- anchor.setAttribute("data-internal", attributes.dataInternal);
23
- }
24
- if (attributes.dataItemId) {
25
- anchor.setAttribute("data-item-id", attributes.dataItemId);
26
- }
27
- if (attributes.dataQuerystring) {
28
- anchor.setAttribute("data-querystring", attributes.dataQuerystring);
29
- }
30
- const linkElement = createLinkElementFromAnchor(anchor, []);
31
- const link = linkElement.link;
32
- if (!link) {
33
- return null;
34
- }
35
- if (link.type === "internal") {
36
- return {
37
- type: "internal",
38
- itemId: link.itemId || link.targetItemLongId?.split("/").pop() || "",
39
- targetItemLongId: link.targetItemLongId || "",
40
- target: link.target === "_self" ? "" : link.target || "",
41
- queryString: link.queryString || "",
42
- title: link.title || "",
43
- nofollow: !!link.nofollow,
44
- };
45
- }
46
- return {
47
- type: "external",
48
- url: linkElement.url || link.url || "",
49
- target: link.target === "_self" ? "" : link.target || "",
50
- queryString: link.queryString || "",
51
- title: link.title || "",
52
- nofollow: !!link.nofollow,
53
- };
54
- }
55
- //# sourceMappingURL=bridgeLinkValue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bridgeLinkValue.js","sourceRoot":"","sources":["../../../src/editor/page-editor-chrome/bridgeLinkValue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AAEvF;;;;;;GAMG;AACH,MAAM,UAAU,kCAAkC,CACh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