@blokkli/editor 2.0.0-alpha.58 → 2.0.0-alpha.59

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 (1018) hide show
  1. package/dist/global/types/blockOptions.d.ts +36 -9
  2. package/dist/global/types/colorOptions.d.ts +4 -0
  3. package/dist/module.d.mts +3 -2
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +349 -166
  6. package/dist/modules/agent/index.d.mts +2 -1
  7. package/dist/modules/agent/index.mjs +14 -7
  8. package/dist/modules/agent/runtime/app/components/Attachment/PreviewCode/index.vue +11 -0
  9. package/dist/modules/agent/runtime/app/components/Attachment/PreviewCsv/index.vue +56 -0
  10. package/dist/modules/agent/runtime/app/{features/agent/Panel/Attachment/PreviewCode → components/Attachment/PreviewHtml}/index.vue +1 -1
  11. package/dist/modules/agent/runtime/app/components/Attachment/PreviewMarkdown/index.vue +10 -0
  12. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/index.d.vue.ts +1 -0
  13. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/index.vue +22 -10
  14. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/index.vue.d.ts +1 -0
  15. package/dist/modules/agent/runtime/app/components/Conversation/InlineFeedback/index.d.vue.ts +7 -0
  16. package/dist/modules/agent/runtime/app/components/Conversation/InlineFeedback/index.vue +40 -0
  17. package/dist/modules/agent/runtime/app/components/Conversation/InlineFeedback/index.vue.d.ts +7 -0
  18. package/dist/modules/agent/runtime/app/components/Conversation/Item/Assistant/index.vue +24 -0
  19. package/dist/modules/agent/runtime/app/components/Conversation/Item/Bubble/Tool/index.d.vue.ts +20 -0
  20. package/dist/modules/agent/runtime/app/components/Conversation/Item/Bubble/Tool/index.vue +52 -0
  21. package/dist/modules/agent/runtime/app/components/Conversation/Item/Bubble/Tool/index.vue.d.ts +20 -0
  22. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Error/index.d.vue.ts +2 -1
  23. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Error/index.vue +4 -14
  24. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Error/index.vue.d.ts +2 -1
  25. package/dist/modules/agent/runtime/app/components/Conversation/Item/ErrorBubble/index.d.vue.ts +11 -0
  26. package/dist/modules/agent/runtime/app/components/Conversation/Item/ErrorBubble/index.vue +29 -0
  27. package/dist/modules/agent/runtime/app/components/Conversation/Item/ErrorBubble/index.vue.d.ts +11 -0
  28. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/ServerTool/index.d.vue.ts +2 -1
  29. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/ServerTool/index.vue +10 -23
  30. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/ServerTool/index.vue.d.ts +2 -1
  31. package/dist/modules/agent/runtime/app/components/Conversation/Item/Tool/index.vue +36 -0
  32. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Unknown/index.vue +2 -5
  33. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/User/index.d.vue.ts +2 -0
  34. package/dist/modules/agent/runtime/app/components/Conversation/Item/User/index.vue +144 -0
  35. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/User/index.vue.d.ts +2 -0
  36. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Thinking/index.vue +3 -3
  37. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/index.d.vue.ts +2 -0
  38. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/index.vue +27 -11
  39. package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/index.vue.d.ts +2 -0
  40. package/dist/modules/agent/runtime/app/{tools/delegate_text_rewrite/Details → components/FieldDiffDetails}/index.d.vue.ts +15 -0
  41. package/dist/modules/agent/runtime/app/{tools/delegate_text_rewrite/Details → components/FieldDiffDetails}/index.vue.d.ts +15 -0
  42. package/dist/modules/agent/runtime/app/components/Markdown/index.d.vue.ts +6 -0
  43. package/dist/modules/agent/runtime/app/components/Markdown/index.vue +14 -0
  44. package/dist/modules/agent/runtime/app/components/Markdown/index.vue.d.ts +6 -0
  45. package/dist/modules/agent/runtime/app/composables/index.d.ts +5 -1
  46. package/dist/modules/agent/runtime/app/composables/index.js +2 -0
  47. package/dist/modules/agent/runtime/app/composables/useAgent.d.ts +2 -1
  48. package/dist/modules/agent/runtime/app/composables/useAgent.js +5 -2
  49. package/dist/modules/agent/runtime/app/composables/useAgentFeedbackOptions.d.ts +11 -0
  50. package/dist/modules/agent/runtime/app/composables/useAgentFeedbackOptions.js +24 -0
  51. package/dist/modules/agent/runtime/app/composables/useAgentPaginatedQuery.d.ts +29 -0
  52. package/dist/modules/agent/runtime/app/composables/useAgentPaginatedQuery.js +30 -0
  53. package/dist/modules/agent/runtime/app/features/agent/Container.d.vue.ts +0 -2
  54. package/dist/modules/agent/runtime/app/features/agent/Container.vue +39 -101
  55. package/dist/modules/agent/runtime/app/features/agent/Container.vue.d.ts +0 -2
  56. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/ConversationsTab/Item.d.vue.ts +13 -0
  57. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/ConversationsTab/Item.vue +46 -0
  58. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/ConversationsTab/Item.vue.d.ts +13 -0
  59. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/ConversationsTab/index.vue +74 -0
  60. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/Item.d.vue.ts +11 -0
  61. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/Item.vue +55 -0
  62. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/Item.vue.d.ts +11 -0
  63. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/index.d.vue.ts +3 -0
  64. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/index.vue +116 -0
  65. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/index.vue.d.ts +3 -0
  66. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/ConversationDetail.d.vue.ts +7 -0
  67. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/ConversationDetail.vue +61 -0
  68. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/ConversationDetail.vue.d.ts +7 -0
  69. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/index.d.vue.ts +38 -0
  70. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/index.vue +137 -0
  71. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/index.vue.d.ts +38 -0
  72. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/index.d.vue.ts +7 -0
  73. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/index.vue +45 -0
  74. package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/index.vue.d.ts +7 -0
  75. package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.d.vue.ts +2 -2
  76. package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.vue +23 -36
  77. package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.vue.d.ts +2 -2
  78. package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue +11 -28
  79. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Item.d.vue.ts +8 -0
  80. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Item.vue +20 -0
  81. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Item.vue.d.ts +8 -0
  82. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Separator.d.vue.ts +3 -0
  83. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Separator.vue +3 -0
  84. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Separator.vue.d.ts +3 -0
  85. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/index.vue +31 -31
  86. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +55 -9
  87. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue +12 -6
  88. package/dist/modules/agent/runtime/app/features/agent/Panel/PendingMutation/index.vue +2 -2
  89. package/dist/modules/agent/runtime/app/features/agent/Panel/Plan/index.vue +13 -10
  90. package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.d.vue.ts +3 -3
  91. package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue +18 -16
  92. package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue.d.ts +3 -3
  93. package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/index.vue +44 -13
  94. package/dist/modules/agent/runtime/app/features/agent/Panel/index.d.vue.ts +1 -61
  95. package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +145 -142
  96. package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue.d.ts +1 -61
  97. package/dist/modules/agent/runtime/app/features/agent/Transcript/MessageContent.d.vue.ts +7 -0
  98. package/dist/modules/agent/runtime/app/features/agent/Transcript/MessageContent.vue +41 -0
  99. package/dist/modules/agent/runtime/app/features/agent/Transcript/MessageContent.vue.d.ts +7 -0
  100. package/dist/modules/agent/runtime/app/features/agent/Transcript/index.vue +83 -122
  101. package/dist/modules/agent/runtime/app/features/agent/index.vue +101 -4
  102. package/dist/modules/agent/runtime/app/features/agent/types.d.ts +85 -18
  103. package/dist/modules/agent/runtime/app/helpers/historySignature.d.ts +14 -0
  104. package/dist/modules/agent/runtime/app/helpers/historySignature.js +13 -0
  105. package/dist/modules/agent/runtime/app/helpers/id.d.ts +6 -0
  106. package/dist/modules/agent/runtime/app/helpers/id.js +3 -0
  107. package/dist/modules/agent/runtime/app/helpers/index.d.ts +0 -14
  108. package/dist/modules/agent/runtime/app/helpers/index.js +1 -19
  109. package/dist/modules/agent/runtime/app/helpers/markdown.d.ts +7 -0
  110. package/dist/modules/agent/runtime/app/helpers/markdown.js +5 -0
  111. package/dist/modules/agent/runtime/app/helpers/pageStructure.js +7 -19
  112. package/dist/modules/agent/runtime/app/helpers/parseConversationData.d.ts +27 -0
  113. package/dist/modules/agent/runtime/app/helpers/parseConversationData.js +42 -0
  114. package/dist/modules/agent/runtime/app/prompts/fixReadability.js +5 -4
  115. package/dist/modules/agent/runtime/app/providers/agentProvider.d.ts +24 -2
  116. package/dist/modules/agent/runtime/app/providers/agentProvider.js +138 -53
  117. package/dist/modules/agent/runtime/app/providers/conversationProvider.d.ts +9 -10
  118. package/dist/modules/agent/runtime/app/providers/conversationProvider.js +10 -39
  119. package/dist/modules/agent/runtime/app/providers/toolsProvider.js +43 -40
  120. package/dist/modules/agent/runtime/app/tools/{add_content_search_paragraph → add_content_search_paragraphs}/index.js +3 -2
  121. package/dist/modules/agent/runtime/app/tools/add_fragment/index.js +2 -2
  122. package/dist/modules/agent/runtime/app/tools/add_media_paragraph/index.js +4 -2
  123. package/dist/modules/agent/runtime/app/tools/add_paragraphs/index.js +37 -28
  124. package/dist/modules/agent/runtime/app/tools/add_reusable_paragraph/index.js +10 -10
  125. package/dist/modules/agent/runtime/app/tools/add_template/index.js +2 -2
  126. package/dist/modules/agent/runtime/app/tools/ask_question/Component.vue +25 -15
  127. package/dist/modules/agent/runtime/app/tools/ask_question/index.d.ts +1 -1
  128. package/dist/modules/agent/runtime/app/tools/ask_question/index.js +5 -4
  129. package/dist/modules/agent/runtime/app/tools/{check_readability → check_readability_for_texts}/index.js +16 -23
  130. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.d.vue.ts +4 -23
  131. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue +80 -594
  132. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue.d.ts +4 -23
  133. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.d.ts +18 -17
  134. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.js +56 -47
  135. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/useFieldRewriteStream.d.ts +64 -0
  136. package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/useFieldRewriteStream.js +502 -0
  137. package/dist/modules/agent/runtime/app/tools/delete_paragraphs/index.js +2 -2
  138. package/dist/modules/agent/runtime/app/tools/detach_reusable_paragraph/index.js +4 -2
  139. package/dist/modules/agent/runtime/app/tools/duplicate_paragraphs/index.js +8 -8
  140. package/dist/modules/agent/runtime/app/tools/fieldDiffApproval.d.ts +49 -0
  141. package/dist/modules/agent/runtime/app/tools/fieldDiffApproval.js +64 -0
  142. package/dist/modules/agent/runtime/app/tools/find_paragraphs/index.js +14 -13
  143. package/dist/modules/agent/runtime/app/tools/get_all_page_content/index.js +12 -18
  144. package/dist/modules/agent/runtime/app/tools/get_bundle_info/index.js +21 -22
  145. package/dist/modules/agent/runtime/app/tools/get_content_fields/index.js +20 -24
  146. package/dist/modules/agent/runtime/app/tools/get_mutation_history/index.js +5 -3
  147. package/dist/modules/agent/runtime/app/tools/get_page_structure/index.js +3 -1
  148. package/dist/modules/agent/runtime/app/tools/get_paragraph_context/index.js +35 -49
  149. package/dist/modules/agent/runtime/app/tools/get_paragraph_options/index.js +8 -11
  150. package/dist/modules/agent/runtime/app/tools/get_paragraphs_in_viewport/index.js +8 -4
  151. package/dist/modules/agent/runtime/app/tools/get_readability_issues/index.js +4 -2
  152. package/dist/modules/agent/runtime/app/tools/get_selected_paragraphs/index.js +3 -1
  153. package/dist/modules/agent/runtime/app/tools/go_to_history_index/index.js +6 -2
  154. package/dist/modules/agent/runtime/app/tools/helpers.d.ts +28 -22
  155. package/dist/modules/agent/runtime/app/tools/helpers.js +64 -39
  156. package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.js +36 -4
  157. package/dist/modules/agent/runtime/app/tools/readability.d.ts +45 -0
  158. package/dist/modules/agent/runtime/app/tools/readability.js +51 -0
  159. package/dist/modules/agent/runtime/app/tools/rearrange_paragraphs/index.js +8 -7
  160. package/dist/modules/agent/runtime/app/tools/replace_content_search_item/index.js +2 -1
  161. package/dist/modules/agent/runtime/app/tools/replace_media_field/index.js +1 -1
  162. package/dist/modules/agent/runtime/app/tools/schemas.d.ts +22 -0
  163. package/dist/modules/agent/runtime/app/tools/schemas.js +27 -0
  164. package/dist/modules/agent/runtime/app/tools/search_content/index.js +3 -1
  165. package/dist/modules/agent/runtime/app/tools/search_media/index.js +1 -1
  166. package/dist/modules/agent/runtime/app/tools/search_reusable_paragraphs/index.js +11 -10
  167. package/dist/modules/agent/runtime/app/tools/search_templates/index.js +3 -1
  168. package/dist/modules/agent/runtime/app/tools/search_text/index.js +2 -2
  169. package/dist/modules/agent/runtime/app/tools/select_media/Component.vue +22 -8
  170. package/dist/modules/agent/runtime/app/tools/select_media/index.js +1 -1
  171. package/dist/modules/agent/runtime/app/tools/set_paragraph_options/index.js +9 -14
  172. package/dist/modules/agent/runtime/app/tools/swap_paragraphs/index.js +9 -9
  173. package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.d.vue.ts +6 -15
  174. package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.vue +48 -92
  175. package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.vue.d.ts +6 -15
  176. package/dist/modules/agent/runtime/app/tools/update_text_fields/index.d.ts +34 -13
  177. package/dist/modules/agent/runtime/app/tools/update_text_fields/index.js +84 -52
  178. package/dist/modules/agent/runtime/app/tools/web_fetch/index.js +1 -1
  179. package/dist/modules/agent/runtime/app/types/index.d.ts +55 -7
  180. package/dist/modules/agent/runtime/app/types/index.js +55 -8
  181. package/dist/modules/agent/runtime/server/agent.js +4 -3
  182. package/dist/modules/agent/runtime/server/classes/ConversationHistory/index.d.ts +93 -0
  183. package/dist/modules/agent/runtime/server/classes/ConversationHistory/index.js +241 -0
  184. package/dist/modules/agent/runtime/server/classes/ConversationMessage/index.d.ts +102 -0
  185. package/dist/modules/agent/runtime/server/classes/ConversationMessage/index.js +156 -0
  186. package/dist/modules/agent/runtime/server/{Session.d.ts → classes/Session/index.d.ts} +46 -14
  187. package/dist/modules/agent/runtime/server/{Session.js → classes/Session/index.js} +350 -382
  188. package/dist/modules/agent/runtime/server/{SessionManager.d.ts → classes/SessionManager/index.d.ts} +2 -2
  189. package/dist/modules/agent/runtime/server/{SessionManager.js → classes/SessionManager/index.js} +4 -19
  190. package/dist/modules/agent/runtime/server/classes/StreamAccumulator/index.d.ts +58 -0
  191. package/dist/modules/agent/runtime/server/classes/StreamAccumulator/index.js +72 -0
  192. package/dist/modules/agent/runtime/server/default-skills/adding-new-paragraphs.js +0 -1
  193. package/dist/modules/agent/runtime/server/default-skills/fixReadability.js +1 -1
  194. package/dist/modules/agent/runtime/server/default-skills/rewriteAndTranslate.js +8 -8
  195. package/dist/modules/agent/runtime/server/default-system-prompts/introduction.js +1 -1
  196. package/dist/modules/agent/runtime/server/default-system-prompts/workflow.js +0 -1
  197. package/dist/modules/agent/runtime/server/{agentPrompt.d.ts → helpers/agentPrompt.d.ts} +3 -3
  198. package/dist/modules/agent/runtime/server/helpers/errors.d.ts +10 -0
  199. package/dist/modules/agent/runtime/server/helpers/errors.js +63 -0
  200. package/dist/modules/agent/runtime/server/helpers/messages.d.ts +6 -0
  201. package/dist/modules/agent/runtime/server/helpers/messages.js +70 -0
  202. package/dist/modules/agent/runtime/server/helpers/models.d.ts +20 -0
  203. package/dist/modules/agent/runtime/server/helpers/models.js +15 -0
  204. package/dist/modules/agent/runtime/server/{routing.d.ts → helpers/routing.d.ts} +2 -2
  205. package/dist/modules/agent/runtime/server/{routing.js → helpers/routing.js} +2 -9
  206. package/dist/modules/agent/runtime/server/helpers/security.d.ts +22 -0
  207. package/dist/modules/agent/runtime/server/helpers/security.js +44 -0
  208. package/dist/modules/agent/runtime/server/helpers/skills.d.ts +14 -0
  209. package/dist/modules/agent/runtime/server/helpers/skills.js +22 -0
  210. package/dist/modules/agent/runtime/server/helpers/socket.d.ts +4 -0
  211. package/dist/modules/agent/runtime/server/helpers/socket.js +3 -0
  212. package/dist/modules/agent/runtime/server/helpers/text.d.ts +5 -0
  213. package/dist/modules/agent/runtime/server/helpers/text.js +3 -0
  214. package/dist/modules/agent/runtime/server/providers/anthropic.js +22 -3
  215. package/dist/modules/agent/runtime/server/providers/openai.js +4 -0
  216. package/dist/modules/agent/runtime/server/route.js +2 -2
  217. package/dist/modules/agent/runtime/server/server-tools/index.d.ts +2 -0
  218. package/dist/modules/agent/runtime/server/server-tools/load_tools/index.js +1 -5
  219. package/dist/modules/agent/runtime/server/stream.js +6 -29
  220. package/dist/modules/agent/runtime/shared/toolParams.d.ts +28 -0
  221. package/dist/modules/agent/runtime/shared/toolParams.js +27 -0
  222. package/dist/modules/agent/runtime/shared/toolResult.d.ts +94 -0
  223. package/dist/modules/agent/runtime/shared/toolResult.js +155 -0
  224. package/dist/modules/agent/runtime/shared/types.d.ts +1 -3
  225. package/dist/modules/agent/runtime/shared/types.js +8 -1
  226. package/dist/modules/charts/index.d.mts +3 -17
  227. package/dist/modules/charts/index.mjs +241 -16
  228. package/dist/modules/charts/runtime/blokkli/chart-types/advanced/definition.d.ts +5 -0
  229. package/dist/modules/charts/runtime/blokkli/chart-types/advanced/definition.js +26 -0
  230. package/dist/modules/charts/runtime/blokkli/chart-types/advanced/render.d.vue.ts +3 -0
  231. package/dist/modules/charts/runtime/blokkli/chart-types/advanced/render.vue +120 -0
  232. package/dist/modules/charts/runtime/blokkli/chart-types/advanced/render.vue.d.ts +3 -0
  233. package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/definition.d.ts +6 -0
  234. package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/definition.js +40 -0
  235. package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/illustration.d.vue.ts +3 -0
  236. package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/illustration.vue +41 -0
  237. package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/illustration.vue.d.ts +3 -0
  238. package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/render.d.vue.ts +3 -0
  239. package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/render.vue +94 -0
  240. package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/render.vue.d.ts +3 -0
  241. package/dist/modules/charts/runtime/blokkli/chart-types/area/definition.d.ts +7 -0
  242. package/dist/modules/charts/runtime/blokkli/chart-types/area/definition.js +49 -0
  243. package/dist/modules/charts/runtime/blokkli/chart-types/area/illustration.d.vue.ts +3 -0
  244. package/dist/modules/charts/runtime/blokkli/chart-types/area/illustration.vue +56 -0
  245. package/dist/modules/charts/runtime/blokkli/chart-types/area/illustration.vue.d.ts +3 -0
  246. package/dist/modules/charts/runtime/blokkli/chart-types/area/render.d.vue.ts +3 -0
  247. package/dist/modules/charts/runtime/blokkli/chart-types/area/render.vue +99 -0
  248. package/dist/modules/charts/runtime/blokkli/chart-types/area/render.vue.d.ts +3 -0
  249. package/dist/modules/charts/runtime/{chartTypes/bar.d.ts → blokkli/chart-types/bar/definition.d.ts} +3 -3
  250. package/dist/modules/charts/runtime/{chartTypes/bar.js → blokkli/chart-types/bar/definition.js} +12 -31
  251. package/dist/modules/charts/runtime/blokkli/chart-types/bar/illustration.d.vue.ts +3 -0
  252. package/dist/modules/charts/runtime/blokkli/chart-types/bar/illustration.vue +34 -0
  253. package/dist/modules/charts/runtime/blokkli/chart-types/bar/illustration.vue.d.ts +3 -0
  254. package/dist/modules/charts/runtime/blokkli/chart-types/bar/render.d.vue.ts +3 -0
  255. package/dist/modules/charts/runtime/blokkli/chart-types/bar/render.vue +107 -0
  256. package/dist/modules/charts/runtime/blokkli/chart-types/bar/render.vue.d.ts +3 -0
  257. package/dist/modules/charts/runtime/blokkli/chart-types/donut/definition.d.ts +7 -0
  258. package/dist/modules/charts/runtime/blokkli/chart-types/donut/definition.js +35 -0
  259. package/dist/modules/charts/runtime/blokkli/chart-types/donut/illustration.d.vue.ts +3 -0
  260. package/dist/modules/charts/runtime/blokkli/chart-types/donut/illustration.vue +35 -0
  261. package/dist/modules/charts/runtime/blokkli/chart-types/donut/illustration.vue.d.ts +3 -0
  262. package/dist/modules/charts/runtime/blokkli/chart-types/donut/render.d.vue.ts +3 -0
  263. package/dist/modules/charts/runtime/blokkli/chart-types/donut/render.vue +87 -0
  264. package/dist/modules/charts/runtime/blokkli/chart-types/donut/render.vue.d.ts +3 -0
  265. package/dist/modules/charts/runtime/{chartTypes/heatmap.d.ts → blokkli/chart-types/heatmap/definition.d.ts} +3 -3
  266. package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/definition.js +29 -0
  267. package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/illustration.d.vue.ts +3 -0
  268. package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/illustration.vue +27 -0
  269. package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/illustration.vue.d.ts +3 -0
  270. package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/render.d.vue.ts +3 -0
  271. package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/render.vue +113 -0
  272. package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/render.vue.d.ts +3 -0
  273. package/dist/modules/charts/runtime/blokkli/chart-types/line/definition.d.ts +7 -0
  274. package/dist/modules/charts/runtime/blokkli/chart-types/line/definition.js +49 -0
  275. package/dist/modules/charts/runtime/blokkli/chart-types/line/illustration.d.vue.ts +3 -0
  276. package/dist/modules/charts/runtime/blokkli/chart-types/line/illustration.vue +59 -0
  277. package/dist/modules/charts/runtime/blokkli/chart-types/line/illustration.vue.d.ts +3 -0
  278. package/dist/modules/charts/runtime/blokkli/chart-types/line/render.d.vue.ts +3 -0
  279. package/dist/modules/charts/runtime/blokkli/chart-types/line/render.vue +98 -0
  280. package/dist/modules/charts/runtime/blokkli/chart-types/line/render.vue.d.ts +3 -0
  281. package/dist/modules/charts/runtime/blokkli/chart-types/pie/definition.d.ts +6 -0
  282. package/dist/modules/charts/runtime/blokkli/chart-types/pie/definition.js +29 -0
  283. package/dist/modules/charts/runtime/blokkli/chart-types/pie/illustration.d.vue.ts +3 -0
  284. package/dist/modules/charts/runtime/blokkli/chart-types/pie/illustration.vue +20 -0
  285. package/dist/modules/charts/runtime/blokkli/chart-types/pie/illustration.vue.d.ts +3 -0
  286. package/dist/modules/charts/runtime/blokkli/chart-types/pie/render.d.vue.ts +3 -0
  287. package/dist/modules/charts/runtime/blokkli/chart-types/pie/render.vue +71 -0
  288. package/dist/modules/charts/runtime/blokkli/chart-types/pie/render.vue.d.ts +3 -0
  289. package/dist/modules/charts/runtime/blokkli/chart-types/radar/definition.d.ts +7 -0
  290. package/dist/modules/charts/runtime/blokkli/chart-types/radar/definition.js +45 -0
  291. package/dist/modules/charts/runtime/blokkli/chart-types/radar/illustration.d.vue.ts +3 -0
  292. package/dist/modules/charts/runtime/blokkli/chart-types/radar/illustration.vue +60 -0
  293. package/dist/modules/charts/runtime/blokkli/chart-types/radar/illustration.vue.d.ts +3 -0
  294. package/dist/modules/charts/runtime/blokkli/chart-types/radar/render.d.vue.ts +3 -0
  295. package/dist/modules/charts/runtime/blokkli/chart-types/radar/render.vue +95 -0
  296. package/dist/modules/charts/runtime/blokkli/chart-types/radar/render.vue.d.ts +3 -0
  297. package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/definition.d.ts +6 -0
  298. package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/definition.js +29 -0
  299. package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/illustration.d.vue.ts +3 -0
  300. package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/illustration.vue +32 -0
  301. package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/illustration.vue.d.ts +3 -0
  302. package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/render.d.vue.ts +3 -0
  303. package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/render.vue +77 -0
  304. package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/render.vue.d.ts +3 -0
  305. package/dist/modules/charts/runtime/blokkli/skills/charts.js +36 -2
  306. package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.d.ts +81 -19
  307. package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.js +79 -32
  308. package/dist/modules/charts/runtime/blokkli/tools/create_advanced_chart/index.d.ts +2 -0
  309. package/dist/modules/charts/runtime/blokkli/tools/create_advanced_chart/index.js +88 -0
  310. package/dist/modules/charts/runtime/blokkli/tools/create_chart/index.js +8 -4
  311. package/dist/modules/charts/runtime/blokkli/tools/get_advanced_chart_config/index.d.ts +2 -0
  312. package/dist/modules/charts/runtime/blokkli/tools/get_advanced_chart_config/index.js +65 -0
  313. package/dist/modules/charts/runtime/blokkli/tools/get_chart_data/index.js +36 -8
  314. package/dist/modules/charts/runtime/blokkli/tools/get_chart_type_options/index.js +4 -2
  315. package/dist/modules/charts/runtime/blokkli/tools/update_advanced_chart/index.d.ts +2 -0
  316. package/dist/modules/charts/runtime/blokkli/tools/update_advanced_chart/index.js +73 -0
  317. package/dist/modules/charts/runtime/blokkli/tools/update_chart/index.js +43 -20
  318. package/dist/modules/charts/runtime/chart-types/definition/index.d.ts +7 -0
  319. package/dist/modules/charts/runtime/chart-types/definition/index.js +3 -0
  320. package/dist/modules/charts/runtime/chart-types/definition/options/index.d.ts +43 -0
  321. package/dist/modules/charts/runtime/{chartTypes/shared.js → chart-types/definition/options/index.js} +30 -23
  322. package/dist/modules/charts/runtime/chart-types/index.d.ts +21 -0
  323. package/dist/modules/charts/runtime/chart-types/index.js +25 -0
  324. package/dist/modules/charts/runtime/components/ChartRenderer/index.d.vue.ts +19 -145
  325. package/dist/modules/charts/runtime/components/ChartRenderer/index.vue +193 -99
  326. package/dist/modules/charts/runtime/components/ChartRenderer/index.vue.d.ts +19 -145
  327. package/dist/modules/charts/runtime/features/charts/Editor/AdvancedConfigPanel/index.d.vue.ts +11 -0
  328. package/dist/modules/charts/runtime/features/charts/Editor/AdvancedConfigPanel/index.vue +149 -0
  329. package/dist/modules/charts/runtime/features/charts/Editor/AdvancedConfigPanel/index.vue.d.ts +11 -0
  330. package/dist/modules/charts/runtime/features/charts/Editor/CategoryColorOverridesPanel/index.d.vue.ts +11 -0
  331. package/dist/modules/charts/runtime/features/charts/Editor/CategoryColorOverridesPanel/index.vue +62 -0
  332. package/dist/modules/charts/runtime/features/charts/Editor/CategoryColorOverridesPanel/index.vue.d.ts +11 -0
  333. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/Field.d.vue.ts +14 -0
  334. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/Field.vue +89 -0
  335. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/Field.vue.d.ts +14 -0
  336. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.d.vue.ts +3 -3
  337. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue +45 -52
  338. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue.d.ts +3 -3
  339. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeCard.d.vue.ts +7 -0
  340. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeCard.vue +55 -0
  341. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeCard.vue.d.ts +7 -0
  342. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeGrid.d.vue.ts +11 -0
  343. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeGrid.vue +24 -0
  344. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeGrid.vue.d.ts +11 -0
  345. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.d.vue.ts +2 -2
  346. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue +48 -26
  347. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue.d.ts +2 -2
  348. package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.d.vue.ts +0 -2
  349. package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue +64 -20
  350. package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue.d.ts +0 -2
  351. package/dist/modules/charts/runtime/features/charts/Editor/CsvExport/index.d.vue.ts +9 -0
  352. package/dist/modules/charts/runtime/features/charts/Editor/CsvExport/index.vue +55 -0
  353. package/dist/modules/charts/runtime/features/charts/Editor/CsvExport/index.vue.d.ts +9 -0
  354. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FilterEditor/index.d.vue.ts +16 -0
  355. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FilterEditor/index.vue +88 -0
  356. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FilterEditor/index.vue.d.ts +16 -0
  357. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FiltersSection/index.d.vue.ts +13 -0
  358. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FiltersSection/index.vue +111 -0
  359. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FiltersSection/index.vue.d.ts +13 -0
  360. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/GroupBySection/index.d.vue.ts +14 -0
  361. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/GroupBySection/index.vue +100 -0
  362. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/GroupBySection/index.vue.d.ts +14 -0
  363. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/OutputPreviewTable/index.d.vue.ts +17 -0
  364. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/OutputPreviewTable/index.vue +152 -0
  365. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/OutputPreviewTable/index.vue.d.ts +17 -0
  366. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/PreviewDialog.d.vue.ts +14 -0
  367. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/PreviewDialog.vue +340 -0
  368. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/PreviewDialog.vue.d.ts +14 -0
  369. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/csvHelpers.d.ts +69 -0
  370. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/csvHelpers.js +368 -0
  371. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.d.vue.ts +6 -17
  372. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue +37 -64
  373. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue.d.ts +6 -17
  374. package/dist/modules/charts/runtime/features/charts/Editor/DataSourcePicker/index.d.vue.ts +16 -0
  375. package/dist/modules/charts/runtime/features/charts/Editor/DataSourcePicker/index.vue +80 -0
  376. package/dist/modules/charts/runtime/features/charts/Editor/DataSourcePicker/index.vue.d.ts +16 -0
  377. package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.d.vue.ts +3 -3
  378. package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue +29 -18
  379. package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue.d.ts +3 -3
  380. package/dist/modules/charts/runtime/features/charts/Editor/DateFormatEditor/index.d.vue.ts +13 -0
  381. package/dist/modules/charts/runtime/features/charts/Editor/DateFormatEditor/index.vue +71 -0
  382. package/dist/modules/charts/runtime/features/charts/Editor/DateFormatEditor/index.vue.d.ts +13 -0
  383. package/dist/modules/charts/runtime/features/charts/Editor/DynamicPreviewStatus/index.d.vue.ts +16 -0
  384. package/dist/modules/charts/runtime/features/charts/Editor/DynamicPreviewStatus/index.vue +57 -0
  385. package/dist/modules/charts/runtime/features/charts/Editor/DynamicPreviewStatus/index.vue.d.ts +16 -0
  386. package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.d.vue.ts +4 -5
  387. package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue +63 -51
  388. package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue.d.ts +4 -5
  389. package/dist/modules/charts/runtime/features/charts/Editor/NumberFormatEditor/index.d.vue.ts +21 -0
  390. package/dist/modules/charts/runtime/features/charts/Editor/NumberFormatEditor/index.vue +120 -0
  391. package/dist/modules/charts/runtime/features/charts/Editor/NumberFormatEditor/index.vue.d.ts +21 -0
  392. package/dist/modules/charts/runtime/features/charts/Editor/OrphanOverridesWarning/index.d.vue.ts +18 -0
  393. package/dist/modules/charts/runtime/features/charts/Editor/OrphanOverridesWarning/index.vue +65 -0
  394. package/dist/modules/charts/runtime/features/charts/Editor/OrphanOverridesWarning/index.vue.d.ts +18 -0
  395. package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.d.vue.ts +2 -1
  396. package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue +8 -2
  397. package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue.d.ts +2 -1
  398. package/dist/modules/charts/runtime/features/charts/Editor/SeriesOverridesPanel/index.d.vue.ts +13 -0
  399. package/dist/modules/charts/runtime/features/charts/Editor/SeriesOverridesPanel/index.vue +95 -0
  400. package/dist/modules/charts/runtime/features/charts/Editor/SeriesOverridesPanel/index.vue.d.ts +13 -0
  401. package/dist/{runtime/editor/components/AutoHeight → modules/charts/runtime/features/charts/Editor/TranslationsEditor/TranslationRow}/index.d.vue.ts +1 -1
  402. package/dist/modules/charts/runtime/features/charts/Editor/TranslationsEditor/TranslationRow/index.vue +19 -0
  403. package/dist/{runtime/editor/components/AutoHeight → modules/charts/runtime/features/charts/Editor/TranslationsEditor/TranslationRow}/index.vue.d.ts +1 -1
  404. package/dist/modules/charts/runtime/features/charts/Editor/TranslationsEditor/index.d.vue.ts +17 -0
  405. package/dist/modules/charts/runtime/features/charts/Editor/TranslationsEditor/index.vue +264 -0
  406. package/dist/modules/charts/runtime/features/charts/Editor/TranslationsEditor/index.vue.d.ts +17 -0
  407. package/dist/modules/charts/runtime/features/charts/Editor/index.d.vue.ts +1 -0
  408. package/dist/modules/charts/runtime/features/charts/Editor/index.vue +477 -141
  409. package/dist/modules/charts/runtime/features/charts/Editor/index.vue.d.ts +1 -0
  410. package/dist/modules/charts/runtime/features/charts/Editor/useChartDataSourcePreview.d.ts +6 -0
  411. package/dist/modules/charts/runtime/features/charts/Editor/useChartDataSourcePreview.js +17 -0
  412. package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.d.ts +8 -2
  413. package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.js +85 -5
  414. package/dist/modules/charts/runtime/helpers/adapterTypes.d.ts +38 -0
  415. package/dist/modules/charts/runtime/helpers/adapterTypes.js +1 -0
  416. package/dist/modules/charts/runtime/helpers/dateFormat.d.ts +20 -0
  417. package/dist/modules/charts/runtime/helpers/dateFormat.js +121 -0
  418. package/dist/modules/charts/runtime/helpers/echarts.d.ts +6 -0
  419. package/dist/modules/charts/runtime/helpers/echarts.js +5 -0
  420. package/dist/modules/charts/runtime/helpers/index.d.ts +17 -14
  421. package/dist/modules/charts/runtime/helpers/index.js +24 -27
  422. package/dist/modules/charts/runtime/helpers/nextCategoryValue.d.ts +19 -0
  423. package/dist/modules/charts/runtime/helpers/nextCategoryValue.js +160 -0
  424. package/dist/modules/charts/runtime/helpers/numberFormat.d.ts +13 -0
  425. package/dist/modules/charts/runtime/helpers/numberFormat.js +31 -0
  426. package/dist/modules/charts/runtime/helpers/previewInjection.d.ts +14 -0
  427. package/dist/modules/charts/runtime/helpers/previewInjection.js +3 -0
  428. package/dist/modules/charts/runtime/types.d.ts +238 -15
  429. package/dist/modules/drupal/graphql/base/fragment.paragraphsBlokkliMutationItem.graphql +23 -0
  430. package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +12 -3
  431. package/dist/modules/drupal/graphql/base/query.pbUsers.graphql +10 -0
  432. package/dist/modules/drupal/graphql/features/agent.graphql +75 -23
  433. package/dist/modules/drupal/graphql/features/block-transfer.graphql +42 -0
  434. package/dist/modules/drupal/graphql/features/comments.graphql +81 -11
  435. package/dist/modules/drupal/index.d.mts +2 -1
  436. package/dist/modules/drupal/index.mjs +8 -0
  437. package/dist/modules/drupal/runtime/adapter/index.js +221 -34
  438. package/dist/modules/iframes/index.d.mts +2 -1
  439. package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue +4 -2
  440. package/dist/modules/index.d.mts +2 -1
  441. package/dist/modules/readability/index.d.mts +2 -1
  442. package/dist/modules/table-of-contents/index.d.mts +2 -1
  443. package/dist/modules/tailwind/index.d.mts +2 -2
  444. package/dist/modules/tailwind/index.mjs +228 -2
  445. package/dist/runtime/components/Blocks/NotImplemented/index.vue +24 -51
  446. package/dist/runtime/components/BlokkliItem.vue +3 -31
  447. package/dist/runtime/editor/adapter/index.d.ts +16 -0
  448. package/dist/runtime/editor/components/Actions/Interactions/Button.d.vue.ts +9 -0
  449. package/dist/runtime/editor/components/Actions/Interactions/Button.vue +19 -0
  450. package/dist/runtime/editor/components/Actions/Interactions/Button.vue.d.ts +9 -0
  451. package/dist/runtime/editor/components/Actions/Interactions/index.vue +24 -88
  452. package/dist/runtime/editor/components/Actions/ItemDropdown/Item.d.vue.ts +7 -0
  453. package/dist/runtime/editor/components/Actions/ItemDropdown/Item.vue +50 -0
  454. package/dist/runtime/editor/components/Actions/ItemDropdown/Item.vue.d.ts +7 -0
  455. package/dist/runtime/editor/components/Actions/ItemDropdown/index.vue +4 -22
  456. package/dist/runtime/editor/components/Actions/Title/index.d.vue.ts +3 -0
  457. package/dist/runtime/editor/components/Actions/Title/index.vue +295 -0
  458. package/dist/runtime/editor/components/Actions/Title/index.vue.d.ts +3 -0
  459. package/dist/runtime/editor/components/Actions/index.vue +24 -779
  460. package/dist/runtime/editor/components/AddListItem/index.vue +2 -0
  461. package/dist/runtime/editor/components/AnimationCanvas/index.vue +4 -2
  462. package/dist/runtime/editor/components/AppMenu/Inner.vue +12 -7
  463. package/dist/runtime/editor/components/AppMenu/MenuButton.d.vue.ts +4 -9
  464. package/dist/runtime/editor/components/AppMenu/MenuButton.vue +56 -194
  465. package/dist/runtime/editor/components/AppMenu/MenuButton.vue.d.ts +4 -9
  466. package/dist/runtime/editor/components/ArtboardTooltip/index.vue +120 -145
  467. package/dist/runtime/editor/components/Avatar/index.d.vue.ts +30 -0
  468. package/dist/runtime/editor/components/Avatar/index.vue +120 -0
  469. package/dist/runtime/editor/components/Avatar/index.vue.d.ts +30 -0
  470. package/dist/runtime/editor/components/Banner/Inner.vue +1 -1
  471. package/dist/runtime/editor/components/Banner/index.d.vue.ts +1 -0
  472. package/dist/runtime/editor/components/Banner/index.vue +21 -18
  473. package/dist/runtime/editor/components/Banner/index.vue.d.ts +1 -0
  474. package/dist/runtime/editor/components/BlockPreviewItem/index.vue +35 -41
  475. package/dist/runtime/editor/components/BlockPreviewRenderer/index.d.vue.ts +1 -1
  476. package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue +13 -19
  477. package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue.d.ts +1 -1
  478. package/dist/runtime/editor/components/BlockProxy/index.vue +56 -130
  479. package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +117 -48
  480. package/dist/runtime/editor/components/BundleSelector/Group.d.vue.ts +12 -0
  481. package/dist/runtime/editor/components/BundleSelector/Group.vue +28 -0
  482. package/dist/runtime/editor/components/BundleSelector/Group.vue.d.ts +12 -0
  483. package/dist/runtime/editor/components/BundleSelector/index.vue +31 -211
  484. package/dist/runtime/editor/components/BundleSelector/types.d.ts +21 -0
  485. package/dist/runtime/editor/components/BundleSelector/types.js +0 -0
  486. package/dist/runtime/editor/components/Button/index.d.vue.ts +29 -0
  487. package/dist/runtime/editor/components/Button/index.vue +36 -0
  488. package/dist/runtime/editor/components/Button/index.vue.d.ts +29 -0
  489. package/dist/runtime/editor/components/ButtonAction/index.d.vue.ts +13 -0
  490. package/dist/runtime/editor/components/ButtonAction/index.vue +25 -0
  491. package/dist/runtime/editor/components/ButtonAction/index.vue.d.ts +13 -0
  492. package/dist/runtime/editor/components/Dialog/index.d.vue.ts +11 -2
  493. package/dist/runtime/editor/components/Dialog/index.vue +164 -241
  494. package/dist/runtime/editor/components/Dialog/index.vue.d.ts +11 -2
  495. package/dist/runtime/editor/components/DiffApproval/Highlight/Item.d.vue.ts +6 -0
  496. package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue +28 -19
  497. package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue.d.ts +6 -0
  498. package/dist/runtime/editor/components/DiffApproval/Highlight/index.d.vue.ts +1 -0
  499. package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue +7 -119
  500. package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue.d.ts +1 -0
  501. package/dist/runtime/editor/components/DiffApproval/Toolbar/index.d.vue.ts +11 -2
  502. package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue +115 -248
  503. package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue.d.ts +11 -2
  504. package/dist/runtime/editor/components/DiffApproval/index.d.vue.ts +16 -0
  505. package/dist/runtime/editor/components/DiffApproval/index.vue +6 -1
  506. package/dist/runtime/editor/components/DiffApproval/index.vue.d.ts +16 -0
  507. package/dist/runtime/editor/components/DiffViewer/DiffDisplay/index.vue +1 -1
  508. package/dist/runtime/editor/components/DiffViewer/State.vue +294 -297
  509. package/dist/runtime/editor/{features/analyze/Summary/Chart.d.vue.ts → components/DonutChart/index.d.vue.ts} +4 -4
  510. package/dist/runtime/editor/{features/analyze/Summary/Chart.vue → components/DonutChart/index.vue} +4 -3
  511. package/dist/runtime/editor/{features/analyze/Summary/Chart.vue.d.ts → components/DonutChart/index.vue.d.ts} +4 -4
  512. package/dist/runtime/editor/components/DraggableList.vue +71 -84
  513. package/dist/runtime/editor/components/Dropdown/index.d.vue.ts +1 -0
  514. package/dist/runtime/editor/components/Dropdown/index.vue +91 -89
  515. package/dist/runtime/editor/components/Dropdown/index.vue.d.ts +1 -0
  516. package/dist/runtime/editor/components/EditIndicator.d.vue.ts +0 -1
  517. package/dist/runtime/editor/components/EditIndicator.vue +105 -37
  518. package/dist/runtime/editor/components/EditIndicator.vue.d.ts +0 -1
  519. package/dist/runtime/editor/components/EditProvider.vue +29 -35
  520. package/dist/runtime/editor/components/FileDropHandler/index.vue +24 -20
  521. package/dist/runtime/editor/components/FlexTextarea/index.d.vue.ts +1 -1
  522. package/dist/runtime/editor/components/FlexTextarea/index.vue +8 -4
  523. package/dist/runtime/editor/components/FlexTextarea/index.vue.d.ts +1 -1
  524. package/dist/runtime/editor/components/Form/Checkboxes/index.d.vue.ts +1 -1
  525. package/dist/runtime/editor/components/Form/Checkboxes/index.vue +2 -2
  526. package/dist/runtime/editor/components/Form/Checkboxes/index.vue.d.ts +1 -1
  527. package/dist/runtime/editor/components/Form/Datepicker/index.vue +29 -175
  528. package/dist/runtime/editor/components/Form/Number/index.d.vue.ts +36 -0
  529. package/dist/runtime/editor/components/Form/Number/index.vue +79 -0
  530. package/dist/runtime/editor/components/Form/Number/index.vue.d.ts +36 -0
  531. package/dist/runtime/editor/components/Form/Radio/index.d.vue.ts +1 -1
  532. package/dist/runtime/editor/components/Form/Radio/index.vue +2 -2
  533. package/dist/runtime/editor/components/Form/Radio/index.vue.d.ts +1 -1
  534. package/dist/runtime/editor/components/Form/RadioBox/index.d.vue.ts +33 -0
  535. package/dist/runtime/editor/components/Form/RadioBox/index.vue +40 -0
  536. package/dist/runtime/editor/components/Form/RadioBox/index.vue.d.ts +33 -0
  537. package/dist/runtime/editor/components/Form/RadioTabs/index.vue +55 -0
  538. package/dist/runtime/editor/components/Form/Search/index.d.vue.ts +88 -0
  539. package/dist/runtime/editor/components/Form/Search/index.vue +289 -0
  540. package/dist/runtime/editor/components/Form/Search/index.vue.d.ts +88 -0
  541. package/dist/runtime/editor/components/Form/Search/types.d.ts +19 -0
  542. package/dist/runtime/editor/components/Form/Search/types.js +0 -0
  543. package/dist/runtime/editor/components/Form/Text/index.d.vue.ts +6 -2
  544. package/dist/runtime/editor/components/Form/Text/index.vue +12 -4
  545. package/dist/runtime/editor/components/Form/Text/index.vue.d.ts +6 -2
  546. package/dist/runtime/editor/components/Form/TextDark/index.d.vue.ts +24 -0
  547. package/dist/runtime/editor/components/Form/TextDark/index.vue +56 -0
  548. package/dist/runtime/editor/components/Form/TextDark/index.vue.d.ts +24 -0
  549. package/dist/runtime/editor/components/Form/Textarea/index.d.vue.ts +2 -0
  550. package/dist/runtime/editor/components/Form/Textarea/index.vue +13 -4
  551. package/dist/runtime/editor/components/Form/Textarea/index.vue.d.ts +2 -0
  552. package/dist/runtime/editor/components/Form/Toggle/index.d.vue.ts +12 -1
  553. package/dist/runtime/editor/components/Form/Toggle/index.vue +66 -216
  554. package/dist/runtime/editor/components/Form/Toggle/index.vue.d.ts +12 -1
  555. package/dist/runtime/editor/components/FormOverlay/index.vue +17 -25
  556. package/dist/runtime/editor/components/Icon/index.vue +9 -3
  557. package/dist/runtime/editor/components/Indicators/index.vue +74 -147
  558. package/dist/runtime/editor/components/InfoBox/index.d.vue.ts +7 -4
  559. package/dist/runtime/editor/components/InfoBox/index.vue +18 -69
  560. package/dist/runtime/editor/components/InfoBox/index.vue.d.ts +7 -4
  561. package/dist/runtime/editor/components/InlineActions/Button/index.d.vue.ts +19 -0
  562. package/dist/runtime/editor/components/InlineActions/Button/index.vue +27 -0
  563. package/dist/runtime/editor/components/InlineActions/Button/index.vue.d.ts +19 -0
  564. package/dist/runtime/editor/components/InlineActions/index.d.vue.ts +13 -0
  565. package/dist/runtime/editor/components/InlineActions/index.vue +5 -0
  566. package/dist/runtime/editor/components/InlineActions/index.vue.d.ts +13 -0
  567. package/dist/runtime/editor/components/Konami/Game/index.vue +56 -65
  568. package/dist/runtime/editor/components/Messages/Item/index.vue +1 -1
  569. package/dist/runtime/editor/components/Messages/index.vue +65 -74
  570. package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +2 -1
  571. package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +43 -209
  572. package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +2 -1
  573. package/dist/runtime/editor/components/Overlay/index.vue +52 -75
  574. package/dist/runtime/editor/components/Pagination/index.vue +18 -24
  575. package/dist/runtime/editor/components/Panel/Action/index.d.vue.ts +11 -0
  576. package/dist/runtime/editor/components/Panel/Action/index.vue +25 -0
  577. package/dist/runtime/editor/components/Panel/Action/index.vue.d.ts +11 -0
  578. package/dist/runtime/editor/components/Panel/AddButton/index.d.vue.ts +8 -0
  579. package/dist/runtime/editor/components/Panel/AddButton/index.vue +17 -0
  580. package/dist/runtime/editor/components/Panel/AddButton/index.vue.d.ts +8 -0
  581. package/dist/runtime/editor/components/Panel/Details/index.d.vue.ts +25 -0
  582. package/dist/runtime/editor/components/Panel/Details/index.vue +45 -0
  583. package/dist/runtime/editor/components/Panel/Details/index.vue.d.ts +25 -0
  584. package/dist/runtime/editor/components/Panel/Item/index.d.vue.ts +65 -0
  585. package/dist/runtime/editor/components/Panel/Item/index.vue +99 -0
  586. package/dist/runtime/editor/components/Panel/Item/index.vue.d.ts +65 -0
  587. package/dist/runtime/editor/components/Panel/Section/index.d.vue.ts +26 -0
  588. package/dist/runtime/editor/components/Panel/Section/index.vue +94 -0
  589. package/dist/runtime/editor/components/Panel/Section/index.vue.d.ts +26 -0
  590. package/dist/runtime/editor/components/Panel/Sheet/index.d.vue.ts +20 -0
  591. package/dist/runtime/editor/components/Panel/Sheet/index.vue +34 -0
  592. package/dist/runtime/editor/components/Panel/Sheet/index.vue.d.ts +20 -0
  593. package/dist/runtime/editor/components/Panel/Tabs/index.d.vue.ts +28 -0
  594. package/dist/runtime/editor/components/Panel/Tabs/index.vue +25 -0
  595. package/dist/runtime/editor/components/Panel/Tabs/index.vue.d.ts +28 -0
  596. package/dist/runtime/editor/components/Pill/index.d.vue.ts +28 -0
  597. package/dist/runtime/editor/components/Pill/index.vue +37 -0
  598. package/dist/runtime/editor/components/Pill/index.vue.d.ts +28 -0
  599. package/dist/runtime/editor/components/PluginConfigForm/index.vue +15 -16
  600. package/dist/runtime/editor/components/PluginConfigFormInline/FilterSelect/index.vue +116 -248
  601. package/dist/runtime/editor/components/PluginConfigFormInline/index.vue +43 -58
  602. package/dist/runtime/editor/components/Popup/index.vue +56 -47
  603. package/dist/runtime/editor/components/PreviewProvider.vue +3 -3
  604. package/dist/runtime/editor/components/Reorder/index.d.vue.ts +53 -0
  605. package/dist/runtime/editor/components/Reorder/index.vue +123 -0
  606. package/dist/runtime/editor/components/Reorder/index.vue.d.ts +53 -0
  607. package/dist/runtime/editor/components/Resizable/index.d.vue.ts +10 -2
  608. package/dist/runtime/editor/components/Resizable/index.vue +84 -79
  609. package/dist/runtime/editor/components/Resizable/index.vue.d.ts +10 -2
  610. package/dist/runtime/editor/components/ResizableEditorView/index.d.vue.ts +26 -0
  611. package/dist/runtime/editor/components/ResizableEditorView/index.vue +76 -0
  612. package/dist/runtime/editor/components/ResizableEditorView/index.vue.d.ts +26 -0
  613. package/dist/runtime/editor/components/RichText/Editor/CleanTaskItem.d.ts +10 -0
  614. package/dist/runtime/editor/components/RichText/Editor/CleanTaskItem.js +59 -0
  615. package/dist/runtime/editor/components/RichText/Editor/Panel/Link/index.d.vue.ts +19 -0
  616. package/dist/runtime/editor/components/RichText/Editor/Panel/Link/index.vue +67 -0
  617. package/dist/runtime/editor/components/RichText/Editor/Panel/Link/index.vue.d.ts +19 -0
  618. package/dist/runtime/editor/components/RichText/Editor/Panel/index.d.vue.ts +20 -0
  619. package/dist/runtime/editor/components/RichText/Editor/Panel/index.vue +35 -0
  620. package/dist/runtime/editor/components/RichText/Editor/Panel/index.vue.d.ts +20 -0
  621. package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Emojis.d.vue.ts +24 -0
  622. package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Emojis.vue +44 -0
  623. package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Emojis.vue.d.ts +24 -0
  624. package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Mentions.d.vue.ts +23 -0
  625. package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Mentions.vue +35 -0
  626. package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Mentions.vue.d.ts +23 -0
  627. package/dist/runtime/editor/components/RichText/Editor/SuggestionList/index.d.vue.ts +30 -0
  628. package/dist/runtime/editor/components/RichText/Editor/SuggestionList/index.vue +69 -0
  629. package/dist/runtime/editor/components/RichText/Editor/SuggestionList/index.vue.d.ts +30 -0
  630. package/dist/runtime/editor/components/RichText/Editor/Toolbar/Button/index.d.vue.ts +18 -0
  631. package/dist/runtime/editor/components/RichText/Editor/Toolbar/Button/index.vue +31 -0
  632. package/dist/runtime/editor/components/RichText/Editor/Toolbar/Button/index.vue.d.ts +18 -0
  633. package/dist/runtime/editor/components/RichText/Editor/Toolbar/Group/index.d.vue.ts +3 -0
  634. package/dist/runtime/editor/components/RichText/Editor/Toolbar/Group/index.vue +13 -0
  635. package/dist/runtime/editor/components/RichText/Editor/Toolbar/Group/index.vue.d.ts +3 -0
  636. package/dist/runtime/editor/components/RichText/Editor/Toolbar/index.d.vue.ts +13 -0
  637. package/dist/runtime/editor/components/RichText/Editor/Toolbar/index.vue +7 -0
  638. package/dist/runtime/editor/components/RichText/Editor/Toolbar/index.vue.d.ts +13 -0
  639. package/dist/runtime/editor/components/RichText/Editor/index.d.vue.ts +31 -0
  640. package/dist/runtime/editor/components/RichText/Editor/index.vue +386 -0
  641. package/dist/runtime/editor/components/RichText/Editor/index.vue.d.ts +31 -0
  642. package/dist/runtime/editor/components/RichText/Renderer/enrichRichContent.d.ts +12 -0
  643. package/dist/runtime/editor/components/RichText/Renderer/enrichRichContent.js +42 -0
  644. package/dist/runtime/editor/components/RichText/Renderer/index.d.vue.ts +23 -0
  645. package/dist/runtime/editor/components/RichText/Renderer/index.vue +39 -0
  646. package/dist/runtime/editor/components/RichText/Renderer/index.vue.d.ts +23 -0
  647. package/dist/runtime/editor/components/ScaleToFit/index.vue +18 -21
  648. package/dist/runtime/editor/components/ScheduleDate/index.d.vue.ts +2 -2
  649. package/dist/runtime/editor/components/ScheduleDate/index.vue +21 -12
  650. package/dist/runtime/editor/components/ScheduleDate/index.vue.d.ts +2 -2
  651. package/dist/runtime/editor/components/SearchOverlay/index.d.vue.ts +3 -3
  652. package/dist/runtime/editor/components/SearchOverlay/index.vue +31 -112
  653. package/dist/runtime/editor/components/SearchOverlay/index.vue.d.ts +3 -3
  654. package/dist/runtime/editor/components/SidebarFloater/index.d.vue.ts +16 -0
  655. package/dist/runtime/editor/components/SidebarFloater/index.vue +45 -0
  656. package/dist/runtime/editor/components/SidebarFloater/index.vue.d.ts +16 -0
  657. package/dist/runtime/editor/components/StatusIcon/index.vue +42 -91
  658. package/dist/runtime/editor/components/SystemRequirements/index.vue +40 -46
  659. package/dist/runtime/editor/components/Tabs/index.d.vue.ts +1 -0
  660. package/dist/runtime/editor/components/Tabs/index.vue +5 -3
  661. package/dist/runtime/editor/components/Tabs/index.vue.d.ts +1 -0
  662. package/dist/runtime/editor/components/Toolbar/index.vue +155 -138
  663. package/dist/runtime/editor/components/Tooltip/index.d.vue.ts +1 -1
  664. package/dist/runtime/editor/components/Tooltip/index.vue +15 -5
  665. package/dist/runtime/editor/components/Tooltip/index.vue.d.ts +1 -1
  666. package/dist/runtime/editor/components/Transition/Collapse/index.d.vue.ts +13 -0
  667. package/dist/runtime/editor/components/Transition/Collapse/index.vue +20 -0
  668. package/dist/runtime/editor/components/Transition/Collapse/index.vue.d.ts +13 -0
  669. package/dist/runtime/editor/components/Transition/List/index.d.vue.ts +21 -0
  670. package/dist/runtime/editor/components/Transition/List/index.vue +31 -0
  671. package/dist/runtime/editor/components/Transition/List/index.vue.d.ts +21 -0
  672. package/dist/runtime/editor/components/Transition/index.d.vue.ts +1 -1
  673. package/dist/runtime/editor/components/Transition/index.vue +2 -1
  674. package/dist/runtime/editor/components/Transition/index.vue.d.ts +1 -1
  675. package/dist/runtime/editor/components/index.d.ts +11 -2
  676. package/dist/runtime/editor/components/index.js +10 -4
  677. package/dist/runtime/editor/composables/defineEditorComponent.d.ts +126 -0
  678. package/dist/runtime/editor/composables/defineEditorComponent.js +6 -0
  679. package/dist/runtime/editor/composables/index.d.ts +1 -0
  680. package/dist/runtime/editor/composables/index.js +4 -0
  681. package/dist/runtime/editor/composables/useDialog.d.ts +1 -1
  682. package/dist/runtime/editor/composables/useDialog.js +2 -2
  683. package/dist/runtime/editor/composables/useEditableFieldOverride.js +16 -8
  684. package/dist/runtime/editor/composables/useGlobalBlokkliObject.d.ts +17 -3
  685. package/dist/runtime/editor/composables/useGlobalBlokkliObject.js +6 -0
  686. package/dist/runtime/editor/css/output.css +1 -1
  687. package/dist/runtime/editor/events/index.d.ts +22 -2
  688. package/dist/runtime/editor/features/add-list/Actions/index.vue +5 -1
  689. package/dist/runtime/editor/features/add-list/Blocks/index.vue +6 -1
  690. package/dist/runtime/editor/features/add-list/Help/Item.vue +16 -5
  691. package/dist/runtime/editor/features/add-list/Help/index.vue +127 -168
  692. package/dist/runtime/editor/features/add-list/index.vue +171 -324
  693. package/dist/runtime/editor/features/analyze/Ignored/index.vue +6 -22
  694. package/dist/runtime/editor/features/analyze/Main.vue +49 -43
  695. package/dist/runtime/editor/features/analyze/Results/Results.vue +6 -28
  696. package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +19 -9
  697. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +23 -6
  698. package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +2 -4
  699. package/dist/runtime/editor/features/analyze/Results/Section.d.vue.ts +10 -0
  700. package/dist/runtime/editor/features/analyze/Results/Section.vue +42 -0
  701. package/dist/runtime/editor/features/analyze/Results/Section.vue.d.ts +10 -0
  702. package/dist/runtime/editor/features/analyze/Results/Status.vue +12 -6
  703. package/dist/runtime/editor/features/analyze/Summary/index.vue +19 -8
  704. package/dist/runtime/editor/features/analyze/index.vue +3 -454
  705. package/dist/runtime/editor/features/anchors/Overlay/index.vue +3 -11
  706. package/dist/runtime/editor/features/artboard/Overview/index.vue +6 -8
  707. package/dist/runtime/editor/features/artboard/Renderer.vue +40 -28
  708. package/dist/runtime/editor/features/artboard/Scrollbar/index.vue +22 -63
  709. package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.d.vue.ts +3 -0
  710. package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue +38 -25
  711. package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue.d.ts +3 -0
  712. package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +21 -85
  713. package/dist/runtime/editor/features/block-scheduler/index.vue +9 -65
  714. package/dist/runtime/editor/features/block-transfer/SummaryDialog/index.d.vue.ts +11 -0
  715. package/dist/runtime/editor/features/block-transfer/SummaryDialog/index.vue +188 -0
  716. package/dist/runtime/editor/features/block-transfer/SummaryDialog/index.vue.d.ts +11 -0
  717. package/dist/runtime/editor/features/block-transfer/index.d.vue.ts +3 -0
  718. package/dist/runtime/editor/features/block-transfer/index.vue +235 -0
  719. package/dist/runtime/editor/features/block-transfer/index.vue.d.ts +3 -0
  720. package/dist/runtime/editor/features/block-transfer/types.d.ts +101 -0
  721. package/dist/runtime/editor/features/block-transfer/types.js +0 -0
  722. package/dist/runtime/editor/features/breadcrumbs/Crumb/index.d.vue.ts +31 -0
  723. package/dist/runtime/editor/features/breadcrumbs/Crumb/index.vue +105 -0
  724. package/dist/runtime/editor/features/breadcrumbs/Crumb/index.vue.d.ts +31 -0
  725. package/dist/runtime/editor/features/breadcrumbs/index.vue +56 -195
  726. package/dist/runtime/editor/features/breadcrumbs/types.d.ts +17 -0
  727. package/dist/runtime/editor/features/breadcrumbs/types.js +0 -0
  728. package/dist/runtime/editor/features/changelog/Dialog/index.vue +14 -68
  729. package/dist/runtime/editor/features/changelog/changelog.json +8 -0
  730. package/dist/runtime/editor/features/changelog/index.vue +1 -1
  731. package/dist/runtime/editor/features/clipboard/DropElement/index.vue +137 -152
  732. package/dist/runtime/editor/features/clipboard/index.vue +24 -143
  733. package/dist/runtime/editor/features/clipboard/types.d.ts +9 -0
  734. package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +6 -3
  735. package/dist/runtime/editor/features/command-palette/Palette/index.vue +4 -1
  736. package/dist/runtime/editor/features/comments/AddForm/index.vue +25 -14
  737. package/dist/runtime/editor/features/comments/Comment/Actions/index.d.vue.ts +27 -0
  738. package/dist/runtime/editor/features/comments/Comment/Actions/index.vue +93 -0
  739. package/dist/runtime/editor/features/comments/Comment/Actions/index.vue.d.ts +27 -0
  740. package/dist/runtime/editor/features/comments/Comment/EditForm/index.d.vue.ts +15 -0
  741. package/dist/runtime/editor/features/comments/Comment/EditForm/index.vue +38 -0
  742. package/dist/runtime/editor/features/comments/Comment/EditForm/index.vue.d.ts +15 -0
  743. package/dist/runtime/editor/features/comments/Comment/Meta/index.d.vue.ts +12 -0
  744. package/dist/runtime/editor/features/comments/Comment/Meta/index.vue +30 -0
  745. package/dist/runtime/editor/features/comments/Comment/Meta/index.vue.d.ts +12 -0
  746. package/dist/runtime/editor/features/comments/Comment/index.d.vue.ts +16 -14
  747. package/dist/runtime/editor/features/comments/Comment/index.vue +112 -28
  748. package/dist/runtime/editor/features/comments/Comment/index.vue.d.ts +16 -14
  749. package/dist/runtime/editor/features/comments/CommentInput/index.d.vue.ts +25 -10
  750. package/dist/runtime/editor/features/comments/CommentInput/index.vue +77 -19
  751. package/dist/runtime/editor/features/comments/CommentInput/index.vue.d.ts +25 -10
  752. package/dist/runtime/editor/features/comments/Overlay/Item/index.d.vue.ts +32 -5
  753. package/dist/runtime/editor/features/comments/Overlay/Item/index.vue +85 -47
  754. package/dist/runtime/editor/features/comments/Overlay/Item/index.vue.d.ts +32 -5
  755. package/dist/runtime/editor/features/comments/Overlay/index.d.vue.ts +29 -7
  756. package/dist/runtime/editor/features/comments/Overlay/index.vue +42 -11
  757. package/dist/runtime/editor/features/comments/Overlay/index.vue.d.ts +29 -7
  758. package/dist/runtime/editor/features/comments/Sidebar/AddForm/index.d.vue.ts +9 -0
  759. package/dist/runtime/editor/features/comments/Sidebar/AddForm/index.vue +58 -0
  760. package/dist/runtime/editor/features/comments/Sidebar/AddForm/index.vue.d.ts +9 -0
  761. package/dist/runtime/editor/features/comments/Sidebar/index.d.vue.ts +50 -0
  762. package/dist/runtime/editor/features/comments/Sidebar/index.vue +111 -0
  763. package/dist/runtime/editor/features/comments/Sidebar/index.vue.d.ts +50 -0
  764. package/dist/runtime/editor/features/comments/Thread/ReplyForm/index.d.vue.ts +11 -0
  765. package/dist/runtime/editor/features/comments/Thread/ReplyForm/index.vue +58 -0
  766. package/dist/runtime/editor/features/comments/Thread/ReplyForm/index.vue.d.ts +11 -0
  767. package/dist/runtime/editor/features/comments/Thread/index.d.vue.ts +44 -0
  768. package/dist/runtime/editor/features/comments/Thread/index.vue +142 -0
  769. package/dist/runtime/editor/features/comments/Thread/index.vue.d.ts +44 -0
  770. package/dist/runtime/editor/features/comments/index.vue +85 -259
  771. package/dist/runtime/editor/features/comments/types.d.ts +42 -8
  772. package/dist/runtime/editor/features/debug/Main.vue +148 -146
  773. package/dist/runtime/editor/features/debug/Section/Logging.vue +5 -2
  774. package/dist/runtime/editor/features/debug/Section/Rendering.vue +3 -3
  775. package/dist/runtime/editor/features/delete/index.vue +1 -1
  776. package/dist/runtime/editor/features/dev-mode/index.vue +31 -35
  777. package/dist/runtime/editor/features/diff/index.vue +1 -1
  778. package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +123 -1
  779. package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +51 -0
  780. package/dist/runtime/editor/features/dragging-overlay/index.vue +143 -313
  781. package/dist/runtime/editor/features/dragging-overlay/types.d.ts +28 -0
  782. package/dist/runtime/editor/features/dragging-overlay/types.js +0 -0
  783. package/dist/runtime/editor/features/droppable-field-edit/Overlay/index.vue +26 -24
  784. package/dist/runtime/editor/features/edit/index.vue +3 -6
  785. package/dist/runtime/editor/features/edit-form/index.vue +1 -1
  786. package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +17 -15
  787. package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue +1 -0
  788. package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue +48 -51
  789. package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue +9 -1
  790. package/dist/runtime/editor/features/editable-field/Overlay/index.vue +137 -183
  791. package/dist/runtime/editor/features/editable-mask/index.vue +5 -5
  792. package/dist/runtime/editor/features/entity-title/index.vue +15 -3
  793. package/dist/runtime/editor/features/exit/index.vue +1 -1
  794. package/dist/runtime/editor/features/fragments/Dialog/index.vue +8 -91
  795. package/dist/runtime/editor/features/help/Shortcuts/index.vue +48 -60
  796. package/dist/runtime/editor/features/help/index.vue +10 -11
  797. package/dist/runtime/editor/features/highlights/Renderer/fragment.glsl +1 -1
  798. package/dist/runtime/editor/features/highlights/Renderer/index.vue +1 -1
  799. package/dist/runtime/editor/features/history/List/index.vue +217 -208
  800. package/dist/runtime/editor/features/history/index.vue +2 -2
  801. package/dist/runtime/editor/features/hover/Renderer/index.vue +4 -2
  802. package/dist/runtime/editor/features/hover/Renderer/vertex.glsl +3 -1
  803. package/dist/runtime/editor/features/hover/index.vue +2 -2
  804. package/dist/runtime/editor/features/import-existing/Dialog/Item.vue +19 -32
  805. package/dist/runtime/editor/features/import-existing/Dialog/index.vue +39 -26
  806. package/dist/runtime/editor/features/import-existing/index.vue +1 -1
  807. package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/index.vue +2 -2
  808. package/dist/runtime/editor/features/library/{ReusableDialog → DialogMakeReusable}/index.vue +25 -22
  809. package/dist/runtime/editor/features/library/index.vue +4 -4
  810. package/dist/runtime/editor/features/media-library/Library/index.vue +1 -1
  811. package/dist/runtime/editor/features/media-library/index.vue +126 -182
  812. package/dist/runtime/editor/features/multi-select/index.vue +2 -6
  813. package/dist/runtime/editor/features/options/Form/Checkbox/index.d.vue.ts +2 -2
  814. package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +6 -3
  815. package/dist/runtime/editor/features/options/Form/Checkbox/index.vue.d.ts +2 -2
  816. package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +12 -7
  817. package/dist/runtime/editor/features/options/Form/Color/index.vue +1 -1
  818. package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +1 -0
  819. package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.vue +4 -1
  820. package/dist/runtime/editor/features/options/Form/Item.vue +6 -1
  821. package/dist/runtime/editor/features/options/Form/Number/index.d.vue.ts +10 -13
  822. package/dist/runtime/editor/features/options/Form/Number/index.vue +79 -13
  823. package/dist/runtime/editor/features/options/Form/Number/index.vue.d.ts +10 -13
  824. package/dist/runtime/editor/features/options/Form/Radios/index.vue +1 -0
  825. package/dist/runtime/editor/features/options/Form/Range/index.vue +1 -1
  826. package/dist/runtime/editor/features/options/Form/Text/index.vue +1 -1
  827. package/dist/runtime/editor/features/options/Form/index.vue +34 -24
  828. package/dist/runtime/editor/features/options/index.vue +700 -695
  829. package/dist/runtime/editor/features/preview-grant/QrCode/index.vue +17 -10
  830. package/dist/runtime/editor/features/preview-grant/index.vue +1 -0
  831. package/dist/runtime/editor/features/publish/Dialog/Item.vue +53 -9
  832. package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue +36 -12
  833. package/dist/runtime/editor/features/publish/Dialog/Summary.vue +41 -30
  834. package/dist/runtime/editor/features/publish/Dialog/index.vue +141 -133
  835. package/dist/runtime/editor/features/publish/index.vue +3 -838
  836. package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue +1 -1
  837. package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +163 -179
  838. package/dist/runtime/editor/features/revert/index.vue +1 -1
  839. package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue +1 -1
  840. package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +1 -1
  841. package/dist/runtime/editor/features/search/index.vue +340 -442
  842. package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +33 -58
  843. package/dist/runtime/editor/features/selection/AddButtons/index.vue +23 -7
  844. package/dist/runtime/editor/features/selection/Renderer/index.vue +1 -1
  845. package/dist/runtime/editor/features/selection/types.d.ts +22 -0
  846. package/dist/runtime/editor/features/selection/types.js +0 -0
  847. package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +30 -40
  848. package/dist/runtime/editor/features/settings/Dialog/index.vue +31 -24
  849. package/dist/runtime/editor/features/settings/index.vue +2 -151
  850. package/dist/runtime/editor/features/structure/List/Item/index.vue +3 -4
  851. package/dist/runtime/editor/features/structure/index.vue +132 -152
  852. package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/index.vue +1 -1
  853. package/dist/runtime/editor/features/templates/{CreateDialog → DialogCreateTemplate}/index.vue +11 -12
  854. package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/Item.vue +35 -30
  855. package/dist/runtime/editor/features/templates/DialogManageTemplates/index.vue +117 -0
  856. package/dist/runtime/editor/features/templates/index.vue +7 -5
  857. package/dist/runtime/editor/features/theme/index.vue +38 -56
  858. package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue +15 -30
  859. package/dist/runtime/editor/features/tour/Overlay/index.vue +137 -196
  860. package/dist/runtime/editor/features/transform/Dialog/index.vue +102 -111
  861. package/dist/runtime/editor/features/translations/AutoTranslate/index.d.vue.ts +3 -0
  862. package/dist/runtime/editor/features/translations/AutoTranslate/index.vue +138 -0
  863. package/dist/runtime/editor/features/translations/AutoTranslate/index.vue.d.ts +3 -0
  864. package/dist/runtime/editor/features/translations/Banner/index.vue +13 -7
  865. package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue +58 -46
  866. package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue +51 -35
  867. package/dist/runtime/editor/features/translations/CsvDialog/index.vue +4 -5
  868. package/dist/runtime/editor/features/translations/LanguageSwitcher/Dropdown/index.d.vue.ts +13 -0
  869. package/dist/runtime/editor/features/translations/LanguageSwitcher/Dropdown/index.vue +49 -0
  870. package/dist/runtime/editor/features/translations/LanguageSwitcher/Dropdown/index.vue.d.ts +13 -0
  871. package/dist/runtime/editor/features/translations/LanguageSwitcher/InlineButtons/index.d.vue.ts +12 -0
  872. package/dist/runtime/editor/features/translations/LanguageSwitcher/InlineButtons/index.vue +48 -0
  873. package/dist/runtime/editor/features/translations/LanguageSwitcher/InlineButtons/index.vue.d.ts +12 -0
  874. package/dist/runtime/editor/features/translations/LanguageSwitcher/index.d.vue.ts +7 -0
  875. package/dist/runtime/editor/features/translations/LanguageSwitcher/index.vue +64 -0
  876. package/dist/runtime/editor/features/translations/LanguageSwitcher/index.vue.d.ts +7 -0
  877. package/dist/runtime/editor/features/translations/LanguageSwitcher/types.d.ts +8 -0
  878. package/dist/runtime/editor/features/translations/LanguageSwitcher/types.js +0 -0
  879. package/dist/runtime/editor/features/translations/SelectionTable/index.d.vue.ts +5 -18
  880. package/dist/runtime/editor/features/translations/SelectionTable/index.vue +18 -54
  881. package/dist/runtime/editor/features/translations/SelectionTable/index.vue.d.ts +5 -18
  882. package/dist/runtime/editor/features/translations/TranslateDialog/index.vue +123 -106
  883. package/dist/runtime/editor/features/translations/index.vue +26 -239
  884. package/dist/runtime/editor/features/validations/Overlay/index.vue +60 -117
  885. package/dist/runtime/editor/features/validations/index.vue +16 -35
  886. package/dist/runtime/editor/features/workspace/Overlay/Item.vue +9 -17
  887. package/dist/runtime/editor/features/workspace/Overlay/index.vue +4 -2
  888. package/dist/runtime/editor/features/workspace/index.vue +1 -1
  889. package/dist/runtime/editor/helpers/diff/index.d.ts +12 -0
  890. package/dist/runtime/editor/helpers/diff/index.js +9 -0
  891. package/dist/runtime/editor/helpers/options/index.js +7 -1
  892. package/dist/runtime/editor/helpers/string/index.d.ts +8 -0
  893. package/dist/runtime/editor/helpers/string/index.js +7 -0
  894. package/dist/runtime/editor/icons/svg/ghost.svg +1 -0
  895. package/dist/runtime/editor/plugins/BlockIndicator/index.vue +2 -0
  896. package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +3 -2
  897. package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +13 -3
  898. package/dist/runtime/editor/plugins/ItemAction/index.vue +36 -16
  899. package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +13 -3
  900. package/dist/runtime/editor/plugins/Sidebar/Detached/index.d.vue.ts +1 -1
  901. package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue.d.ts +1 -1
  902. package/dist/runtime/editor/plugins/Sidebar/index.d.vue.ts +3 -3
  903. package/dist/runtime/editor/plugins/Sidebar/index.vue +212 -302
  904. package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +3 -3
  905. package/dist/runtime/editor/plugins/ToolbarButton/index.vue +4 -2
  906. package/dist/runtime/editor/plugins/ViewOption/index.vue +2 -0
  907. package/dist/runtime/editor/providers/config.d.ts +8 -0
  908. package/dist/runtime/editor/providers/config.js +18 -0
  909. package/dist/runtime/editor/providers/directive.d.ts +8 -0
  910. package/dist/runtime/editor/providers/directive.js +6 -0
  911. package/dist/runtime/editor/providers/state.d.ts +0 -16
  912. package/dist/runtime/editor/providers/state.js +1 -19
  913. package/dist/runtime/editor/providers/texts.d.ts +8 -1
  914. package/dist/runtime/editor/providers/texts.js +5 -2
  915. package/dist/runtime/editor/providers/ui.d.ts +43 -2
  916. package/dist/runtime/editor/providers/ui.js +43 -2
  917. package/dist/runtime/editor/providers/user.d.ts +20 -0
  918. package/dist/runtime/editor/providers/user.js +14 -0
  919. package/dist/runtime/editor/translations/de.json +310 -306
  920. package/dist/runtime/editor/translations/fr.json +38 -132
  921. package/dist/runtime/editor/translations/gsw_CH.json +250 -246
  922. package/dist/runtime/editor/translations/it.json +38 -132
  923. package/dist/runtime/editor/types/app.d.ts +4 -0
  924. package/dist/runtime/editor/types/clipboard.d.ts +53 -0
  925. package/dist/runtime/editor/types/clipboard.js +23 -0
  926. package/dist/runtime/editor/types/config.d.ts +5 -0
  927. package/dist/runtime/editor/types/config.js +0 -0
  928. package/dist/runtime/editor/types/permissions.d.ts +1 -0
  929. package/dist/runtime/editor/types/ui.d.ts +1 -0
  930. package/dist/runtime/editor/types/user.d.ts +9 -0
  931. package/dist/runtime/editor/types/user.js +0 -0
  932. package/dist/runtime/helpers/runtimeHelpers/index.d.ts +1 -1
  933. package/dist/runtime/helpers/runtimeHelpers/index.js +7 -0
  934. package/dist/runtime/types/definitions.d.ts +3 -0
  935. package/dist/shared/{editor.Bpw1EP57.d.mts → editor.D28NbXr3.d.mts} +20 -4
  936. package/dist/shared/{editor.FygP6XeF.mjs → editor.Gu7mgJ5Q.mjs} +33 -1
  937. package/dist/types.d.mts +1 -1
  938. package/package.json +29 -15
  939. package/dist/chunks/tailwindConfig.mjs +0 -222
  940. package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCsv/index.vue +0 -31
  941. package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewHtml/index.vue +0 -12
  942. package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewMarkdown/index.vue +0 -17
  943. package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.vue +0 -38
  944. package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.vue +0 -61
  945. package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.vue +0 -28
  946. package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.vue +0 -161
  947. package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.d.vue.ts +0 -6
  948. package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.vue +0 -24
  949. package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.vue.d.ts +0 -6
  950. package/dist/modules/agent/runtime/server/helpers.d.ts +0 -77
  951. package/dist/modules/agent/runtime/server/helpers.js +0 -354
  952. package/dist/modules/charts/runtime/chartTypes/area.d.ts +0 -7
  953. package/dist/modules/charts/runtime/chartTypes/area.js +0 -68
  954. package/dist/modules/charts/runtime/chartTypes/define.d.ts +0 -2
  955. package/dist/modules/charts/runtime/chartTypes/define.js +0 -3
  956. package/dist/modules/charts/runtime/chartTypes/donut.d.ts +0 -6
  957. package/dist/modules/charts/runtime/chartTypes/donut.js +0 -45
  958. package/dist/modules/charts/runtime/chartTypes/heatmap.js +0 -54
  959. package/dist/modules/charts/runtime/chartTypes/index.d.ts +0 -39
  960. package/dist/modules/charts/runtime/chartTypes/index.js +0 -47
  961. package/dist/modules/charts/runtime/chartTypes/line.d.ts +0 -7
  962. package/dist/modules/charts/runtime/chartTypes/line.js +0 -68
  963. package/dist/modules/charts/runtime/chartTypes/pie.d.ts +0 -5
  964. package/dist/modules/charts/runtime/chartTypes/pie.js +0 -28
  965. package/dist/modules/charts/runtime/chartTypes/radar.d.ts +0 -7
  966. package/dist/modules/charts/runtime/chartTypes/radar.js +0 -52
  967. package/dist/modules/charts/runtime/chartTypes/radialBar.d.ts +0 -6
  968. package/dist/modules/charts/runtime/chartTypes/radialBar.js +0 -44
  969. package/dist/modules/charts/runtime/chartTypes/shared.d.ts +0 -67
  970. package/dist/modules/charts/runtime/chartTypes/types.d.ts +0 -29
  971. package/dist/runtime/editor/components/AutoHeight/index.vue +0 -55
  972. package/dist/runtime/editor/features/templates/ManageDialog/index.vue +0 -128
  973. /package/dist/{modules/charts/runtime/chartTypes/types.js → global/types/colorOptions.js} +0 -0
  974. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewCode/index.d.vue.ts +0 -0
  975. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewCode/index.vue.d.ts +0 -0
  976. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewCsv/index.d.vue.ts +0 -0
  977. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewCsv/index.vue.d.ts +0 -0
  978. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewHtml/index.d.vue.ts +0 -0
  979. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewHtml/index.vue.d.ts +0 -0
  980. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewMarkdown/index.d.vue.ts +0 -0
  981. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewMarkdown/index.vue.d.ts +0 -0
  982. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Assistant/index.d.vue.ts +0 -0
  983. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Assistant/index.vue.d.ts +0 -0
  984. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Tool/index.d.vue.ts +0 -0
  985. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Tool/index.vue.d.ts +0 -0
  986. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Unknown/index.d.vue.ts +0 -0
  987. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Unknown/index.vue.d.ts +0 -0
  988. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/index.d.vue.ts +0 -0
  989. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/index.vue +0 -0
  990. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/index.vue.d.ts +0 -0
  991. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Thinking/index.d.vue.ts +0 -0
  992. /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Thinking/index.vue.d.ts +0 -0
  993. /package/dist/modules/agent/runtime/app/{tools/delegate_text_rewrite/Details → components/FieldDiffDetails}/index.vue +0 -0
  994. /package/dist/modules/agent/runtime/app/features/agent/{Panel/DebugGallery → ConversationsAdmin/ConversationsTab}/index.d.vue.ts +0 -0
  995. /package/dist/modules/agent/runtime/app/features/agent/{Panel/DebugGallery → ConversationsAdmin/ConversationsTab}/index.vue.d.ts +0 -0
  996. /package/dist/modules/agent/runtime/app/tools/{add_content_search_paragraph → add_content_search_paragraphs}/index.d.ts +0 -0
  997. /package/dist/modules/agent/runtime/app/tools/{check_readability → check_readability_for_texts}/index.d.ts +0 -0
  998. /package/dist/modules/agent/runtime/server/{streamParser.d.ts → classes/FieldStreamParser/index.d.ts} +0 -0
  999. /package/dist/modules/agent/runtime/server/{streamParser.js → classes/FieldStreamParser/index.js} +0 -0
  1000. /package/dist/modules/agent/runtime/server/{agentPrompt.js → helpers/agentPrompt.js} +0 -0
  1001. /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/Item/index.d.vue.ts +0 -0
  1002. /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/Item/index.vue +0 -0
  1003. /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/Item/index.vue.d.ts +0 -0
  1004. /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/index.d.vue.ts +0 -0
  1005. /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/index.vue.d.ts +0 -0
  1006. /package/dist/runtime/editor/features/library/{ReusableDialog → DialogMakeReusable}/index.d.vue.ts +0 -0
  1007. /package/dist/runtime/editor/features/library/{ReusableDialog → DialogMakeReusable}/index.vue.d.ts +0 -0
  1008. /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/Item/index.d.vue.ts +0 -0
  1009. /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/Item/index.vue +0 -0
  1010. /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/Item/index.vue.d.ts +0 -0
  1011. /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/index.d.vue.ts +0 -0
  1012. /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/index.vue.d.ts +0 -0
  1013. /package/dist/runtime/editor/features/templates/{CreateDialog → DialogCreateTemplate}/index.d.vue.ts +0 -0
  1014. /package/dist/runtime/editor/features/templates/{CreateDialog → DialogCreateTemplate}/index.vue.d.ts +0 -0
  1015. /package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/Item.d.vue.ts +0 -0
  1016. /package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/Item.vue.d.ts +0 -0
  1017. /package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/index.d.vue.ts +0 -0
  1018. /package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/index.vue.d.ts +0 -0
@@ -71,16 +71,16 @@ const label = computed(() => {
71
71
  } else {
72
72
  switch (itemType.value) {
73
73
  case "image":
74
- base = $t("clipboardTypeImage", "Image");
74
+ base = $t("image", "Image");
75
75
  break;
76
76
  case "video":
77
- base = $t("clipboardTypeVideo", "Video");
77
+ base = $t("video", "Video");
78
78
  break;
79
79
  case "file":
80
- base = $t("clipboardTypeFile", "File");
80
+ base = $t("file", "File");
81
81
  break;
82
82
  case "text":
83
- base = $t("clipboardTypeText", "Text");
83
+ base = $t("text", "Text");
84
84
  break;
85
85
  }
86
86
  }
@@ -96,154 +96,139 @@ const label = computed(() => {
96
96
  const icon = computed(() => getItemIcon(itemType.value));
97
97
  </script>
98
98
 
99
- <style>
99
+ <style>/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
100
100
  .bk .bk-clipboard-drop-element {
101
- pointer-events: none;
102
- display: flex;
103
- flex-direction: column;
104
- border-radius: 8px;
105
- border-width: 1px;
106
- --bk-tw-border-opacity: 1;
107
- border-color: rgb(var(--bk-theme-mono-200) / var(--bk-tw-border-opacity, 1));
108
- --bk-tw-bg-opacity: 1;
109
- background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
110
- --bk-tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
111
- --bk-tw-shadow-colored: 0 10px 15px -3px var(--bk-tw-shadow-color), 0 4px 6px -4px var(--bk-tw-shadow-color);
112
- box-shadow: var(--bk-tw-ring-offset-shadow, 0 0 #0000), var(--bk-tw-ring-shadow, 0 0 #0000), var(--bk-tw-shadow);
113
- overflow: hidden;
114
- width: 350px;
115
- height: 200px
116
- }
117
-
118
- .bk .bk-clipboard-drop-element .bk-clipboard-drop-element-header {
119
- display: flex;
120
- gap: 10px;
121
- --bk-tw-bg-opacity: 1;
122
- background-color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-bg-opacity, 1));
123
- padding: 15px;
124
- font-weight: 600;
125
- --bk-tw-text-opacity: 1;
126
- color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-text-opacity, 1))
127
- }
128
-
129
- .bk .bk-clipboard-drop-element .bk-clipboard-drop-element-preview {
130
- display: flex;
131
- overflow: hidden;
132
- flex: 1;
133
- min-height: 0
134
- }
135
-
136
- .bk .bk-clipboard-drop-element .bk-clipboard-drop-element-preview .bk-clipboard-drop-element-item {
137
- position: relative;
138
- min-width: 0px;
139
- flex: 1 1 0%;
140
- overflow: hidden
141
- }
142
-
143
- .bk .bk-clipboard-drop-element .bk-clipboard-drop-element-preview .bk-clipboard-drop-element-text {
144
- overflow: hidden;
145
- display: -webkit-box;
146
- -webkit-box-orient: vertical;
147
- -webkit-line-clamp: 6;
148
- height: 100%;
149
- padding: 8px;
150
- font-family: PB Inter, sans-serif;
151
- font-size: 12px;
152
- line-height: 16px;
153
- --bk-tw-text-opacity: 1;
154
- color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-text-opacity, 1))
155
- }
156
-
157
- .bk .bk-clipboard-drop-element .bk-clipboard-drop-element-preview img {
158
- display: block;
159
- height: 100%;
160
- width: 100%;
161
- object-fit: cover
162
- }
163
-
164
- .bk .bk-clipboard-drop-element .bk-clipboard-drop-element-preview .bk-clipboard-drop-element-file-icon {
165
- display: flex;
166
- height: 100%;
167
- align-items: center;
168
- justify-content: center;
169
- --bk-tw-bg-opacity: 1;
170
- background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1))
171
- }
172
-
173
- .bk .bk-clipboard-drop-element .bk-clipboard-drop-element-preview .bk-clipboard-drop-element-file-icon svg {
174
- width: 24px;
175
- height: 24px;
176
- fill: rgb(var(--bk-theme-mono-400) / 1)
177
- }
178
-
179
- .bk .bk-clipboard-drop-element .bk-clipboard-drop-element-preview .bk-clipboard-drop-element-item-label {
180
- position: absolute;
181
- bottom: 0px;
182
- left: 0px;
183
- right: 0px;
184
- overflow: hidden;
185
- text-overflow: ellipsis;
186
- white-space: nowrap;
187
- font-family: PB Inter, sans-serif;
188
- font-size: 12px;
189
- line-height: 16px;
190
- line-height: 1;
191
- --bk-tw-text-opacity: 1;
192
- color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
193
- padding: 5px;
194
- background: linear-gradient(transparent, rgba(0, 0, 0, 0.6))
195
- }
196
-
197
- .bk .bk-clipboard-drop-element .bk-clipboard-drop-element-preview .bk-clipboard-item-video {
198
- font-size: 12px;
199
- line-height: 16px
200
- }
201
- .bk .bk-clipboard-item-video {
202
- position: relative;
203
- aspect-ratio: 16 / 9;
204
- overflow: hidden;
205
- border-width: 1px;
206
- --bk-tw-border-opacity: 1;
207
- border-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
208
- --bk-tw-bg-opacity: 1;
209
- background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1));
210
- --bk-tw-text-opacity: 1;
211
- color: rgb(var(--bk-theme-mono-50) / var(--bk-tw-text-opacity, 1))
212
- }
213
- .bk .bk-clipboard-item-video img {
214
- position: absolute;
215
- top: 0px;
216
- left: 0px;
217
- display: block;
218
- height: 100%;
219
- width: 100%;
220
- object-fit: cover
221
- }
222
- .bk .bk-clipboard-item-video > div {
223
- position: absolute;
224
- left: 0px;
225
- bottom: 0px;
226
- z-index: 30;
227
- width: 100%;
228
- padding: 10px;
229
- background-image: linear-gradient(to bottom, var(--bk-tw-gradient-stops));
230
- --bk-tw-gradient-from: rgb(var(--bk-theme-mono-900) / 0) var(--bk-tw-gradient-from-position);
231
- --bk-tw-gradient-to: rgb(var(--bk-theme-mono-900) / 0) var(--bk-tw-gradient-to-position);
232
- --bk-tw-gradient-stops: var(--bk-tw-gradient-from), var(--bk-tw-gradient-to);
233
- --bk-tw-gradient-to: rgb(var(--bk-theme-mono-900) / 1) var(--bk-tw-gradient-to-position)
234
- }
235
- .bk .bk-clipboard-item-video > div svg {
236
- width: 20px;
237
- height: 20px;
238
- fill: currentColor
239
- }
240
- .bk .bk-clipboard-item-video > div p {
241
- font-size: 12px;
242
- line-height: 16px
243
- }
244
- .bk .bk-clipboard-item-video > div > div {
245
- display: flex;
246
- gap: 5px;
247
- font-weight: 700
101
+ pointer-events: none;
102
+ display: flex;
103
+ flex-direction: column;
104
+ border-radius: 4px;
105
+ border-style: var(--bk-tw-border-style);
106
+ border-width: 1px;
107
+ border-color: rgb(var(--bk-theme-mono-200) / 1);
108
+ background-color: white;
109
+ --bk-tw-shadow: 0 10px 15px -3px var(--bk-tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--bk-tw-shadow-color, rgb(0 0 0 / 0.1));
110
+ box-shadow: var(--bk-tw-inset-shadow), var(--bk-tw-inset-ring-shadow), var(--bk-tw-ring-offset-shadow), var(--bk-tw-ring-shadow), var(--bk-tw-shadow);
111
+ overflow: hidden;
112
+ width: 350px;
113
+ height: 200px;
114
+ }
115
+ :is(.bk .bk-clipboard-drop-element) .bk-clipboard-drop-element-header {
116
+ display: flex;
117
+ gap: 10px;
118
+ background-color: rgb(var(--bk-theme-mono-800) / 1);
119
+ padding: 15px;
120
+ --bk-tw-font-weight: var(--font-weight-semibold, 600);
121
+ font-weight: var(--font-weight-semibold, 600);
122
+ color: rgb(var(--bk-theme-mono-100) / 1);
123
+ }
124
+ :is(.bk .bk-clipboard-drop-element) .bk-clipboard-drop-element-preview {
125
+ display: flex;
126
+ overflow: hidden;
127
+ flex: 1;
128
+ min-height: 0;
129
+ }
130
+ :is(:is(.bk .bk-clipboard-drop-element) .bk-clipboard-drop-element-preview) .bk-clipboard-drop-element-item {
131
+ position: relative;
132
+ min-width: 0px;
133
+ flex: 1;
134
+ overflow: hidden;
135
+ }
136
+ :is(:is(.bk .bk-clipboard-drop-element) .bk-clipboard-drop-element-preview) .bk-clipboard-drop-element-text {
137
+ overflow: hidden;
138
+ display: -webkit-box;
139
+ -webkit-box-orient: vertical;
140
+ -webkit-line-clamp: 6;
141
+ height: 100%;
142
+ padding: 8px;
143
+ font-family: PB Inter, sans-serif;
144
+ font-size: var(--text-xs, 12px);
145
+ line-height: var(--bk-tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
146
+ color: rgb(var(--bk-theme-mono-700) / 1);
147
+ }
148
+ :is(:is(.bk .bk-clipboard-drop-element) .bk-clipboard-drop-element-preview) img {
149
+ display: block;
150
+ height: 100%;
151
+ width: 100%;
152
+ object-fit: cover;
153
+ }
154
+ :is(:is(.bk .bk-clipboard-drop-element) .bk-clipboard-drop-element-preview) .bk-clipboard-drop-element-file-icon {
155
+ display: flex;
156
+ height: 100%;
157
+ align-items: center;
158
+ justify-content: center;
159
+ background-color: rgb(var(--bk-theme-mono-100) / 1);
160
+ }
161
+ :is(:is(:is(.bk .bk-clipboard-drop-element) .bk-clipboard-drop-element-preview) .bk-clipboard-drop-element-file-icon) svg {
162
+ width: 24px;
163
+ height: 24px;
164
+ fill: rgb(var(--bk-theme-mono-400) / 1);
165
+ }
166
+ :is(:is(.bk .bk-clipboard-drop-element) .bk-clipboard-drop-element-preview) .bk-clipboard-drop-element-item-label {
167
+ position: absolute;
168
+ right: 0px;
169
+ bottom: 0px;
170
+ left: 0px;
171
+ overflow: hidden;
172
+ text-overflow: ellipsis;
173
+ white-space: nowrap;
174
+ font-family: PB Inter, sans-serif;
175
+ font-size: var(--text-xs, 12px);
176
+ line-height: var(--bk-tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
177
+ --bk-tw-leading: 1;
178
+ line-height: 1;
179
+ color: white;
180
+ padding: 5px;
181
+ background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
182
+ }
183
+ :is(:is(.bk .bk-clipboard-drop-element) .bk-clipboard-drop-element-preview) .bk-clipboard-item-video {
184
+ font-size: var(--text-xs, 12px);
185
+ line-height: var(--bk-tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
186
+ }
187
+ .bk .bk-clipboard-item-video {
188
+ position: relative;
189
+ aspect-ratio: var(--aspect-video, 16 / 9);
190
+ overflow: hidden;
191
+ border-style: var(--bk-tw-border-style);
192
+ border-width: 1px;
193
+ border-color: rgb(var(--bk-theme-mono-300) / 1);
194
+ background-color: rgb(var(--bk-theme-mono-900) / 1);
195
+ color: rgb(var(--bk-theme-mono-50) / 1);
196
+ }
197
+ :is(.bk .bk-clipboard-item-video) img {
198
+ position: absolute;
199
+ top: 0px;
200
+ left: 0px;
201
+ display: block;
202
+ height: 100%;
203
+ width: 100%;
204
+ object-fit: cover;
205
+ }
206
+ :is(.bk .bk-clipboard-item-video) > div {
207
+ position: absolute;
208
+ bottom: 0px;
209
+ left: 0px;
210
+ z-index: 30;
211
+ width: 100%;
212
+ padding: 10px;
213
+ --bk-tw-gradient-position: to bottom in oklab;
214
+ background-image: linear-gradient(var(--bk-tw-gradient-stops));
215
+ --bk-tw-gradient-from: color-mix(in oklab, rgb(var(--bk-theme-mono-900) / 1) 0%, transparent);
216
+ --bk-tw-gradient-to: rgb(var(--bk-theme-mono-900) / 1);
217
+ --bk-tw-gradient-stops: var(--bk-tw-gradient-via-stops, var(--bk-tw-gradient-position), var(--bk-tw-gradient-from) var(--bk-tw-gradient-from-position), var(--bk-tw-gradient-to) var(--bk-tw-gradient-to-position));
218
+ }
219
+ :is(:is(.bk .bk-clipboard-item-video) > div) svg {
220
+ width: 20px;
221
+ height: 20px;
222
+ fill: currentcolor;
223
+ }
224
+ :is(:is(.bk .bk-clipboard-item-video) > div) p {
225
+ font-size: var(--text-xs, 12px);
226
+ line-height: var(--bk-tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
227
+ }
228
+ :is(:is(.bk .bk-clipboard-item-video) > div) > div {
229
+ display: flex;
230
+ gap: 5px;
231
+ --bk-tw-font-weight: var(--font-weight-bold, 700);
232
+ font-weight: var(--font-weight-bold, 700);
248
233
  }
249
234
  </style>
@@ -21,10 +21,8 @@ import {
21
21
  useTemplateRef,
22
22
  defineAsyncComponent
23
23
  } from "#imports";
24
- import { falsy, getFieldKey } from "#blokkli/helpers";
25
24
  import { generateUUID } from "#blokkli/editor/helpers/uuid";
26
25
  import { emitMessage } from "#blokkli/editor/events";
27
- import { fragmentBlockBundle, itemEntityType } from "#blokkli-build/config";
28
26
  import {
29
27
  defineDropHandler,
30
28
  defineItemDropdownAction,
@@ -32,6 +30,7 @@ import {
32
30
  onBlokkliEvent
33
31
  } from "#blokkli/editor/composables";
34
32
  import { buildMapBundleEvent, sanitizeHtml } from "./helpers";
33
+ import { parseClipboardEnvelope } from "#blokkli/editor/types/clipboard";
35
34
  const DropElement = defineAsyncComponent(
36
35
  () => import("./DropElement/index.vue")
37
36
  );
@@ -52,13 +51,10 @@ const {
52
51
  adapter,
53
52
  state,
54
53
  ui,
55
- types,
56
- keyboard,
57
54
  blocks,
58
- fields,
59
55
  eventBus,
60
56
  animation,
61
- permissions
57
+ context
62
58
  } = useBlokkli();
63
59
  const selectionClipboard = ref([]);
64
60
  const isDirectDrop = ref(false);
@@ -195,6 +191,9 @@ function onDragOver(e) {
195
191
  }
196
192
  function onNativeDrop(e) {
197
193
  e.preventDefault();
194
+ if (ui.hasDialogOpen.value || ui.isApproving.value) {
195
+ return;
196
+ }
198
197
  if (isDragFromInput) {
199
198
  isDragFromInput = false;
200
199
  return;
@@ -350,127 +349,10 @@ function startCopyDrag(existingBlocks) {
350
349
  });
351
350
  }
352
351
  const handleSelectionPaste = (pastedUuids) => {
353
- if (!adapter.pasteExistingBlocks) {
354
- return;
355
- }
356
- if (!pastedUuids.length) {
357
- return;
358
- }
359
- const existingBlocks = pastedUuids.map((uuid) => blocks.getBlock(uuid)).filter((block2) => !!block2);
360
- if (!existingBlocks.length) {
361
- return;
362
- }
363
- const deniedBundles = existingBlocks.map((b) => b.bundle).filter((bundle) => !permissions.checkBlockBundlePermission(bundle, "add"));
364
- if (deniedBundles.length) {
365
- return;
366
- }
367
- if (selection.uuids.value.length !== 1) {
368
- startCopyDrag(existingBlocks);
369
- return;
370
- }
371
- const block = selection.items.value[0];
372
- if (!block) {
373
- startCopyDrag(existingBlocks);
374
- return;
375
- }
376
- let targetField = null;
377
- let targetFieldElement = null;
378
- let targetFieldKey = null;
379
- let preceedingUuid = null;
380
- if (!keyboard.isPressingShift.value) {
381
- const pastedBundles = existingBlocks.map((b) => b.bundle).filter((bundle) => !!bundle);
382
- const pastedFragments = existingBlocks.map((b) => {
383
- if (b.bundle === fragmentBlockBundle && b.fragment?.name) {
384
- return b.fragment.name;
385
- }
386
- return null;
387
- }).filter(falsy);
388
- if (pastedBundles.length) {
389
- const nestedFields = types.fieldConfig.forEntityTypeAndBundle(
390
- itemEntityType,
391
- block.bundle
392
- );
393
- for (const fieldConfig of nestedFields) {
394
- const fieldElement = fields.find(block.uuid, fieldConfig.name);
395
- if (!fieldElement) {
396
- continue;
397
- }
398
- const allowedPastedBundles = pastedBundles.filter(
399
- (bundle) => fieldElement.allowedBundles.includes(bundle)
400
- );
401
- let fragmentsAllowed = true;
402
- if (pastedFragments.length > 0 && fieldElement.allowedFragments.length > 0) {
403
- fragmentsAllowed = pastedFragments.every(
404
- (fragment) => fieldElement.allowedFragments.includes(fragment)
405
- );
406
- }
407
- if (allowedPastedBundles.length > 0 && fragmentsAllowed) {
408
- const nestedFieldKey = getFieldKey(block.uuid, fieldConfig.name);
409
- const currentCount = state.getFieldBlockCount(nestedFieldKey);
410
- if (fieldElement.cardinality === -1 || currentCount + allowedPastedBundles.length <= fieldElement.cardinality) {
411
- targetField = {
412
- entityType: itemEntityType,
413
- entityUuid: block.uuid,
414
- name: fieldConfig.name
415
- };
416
- targetFieldElement = fieldElement;
417
- targetFieldKey = nestedFieldKey;
418
- preceedingUuid = null;
419
- break;
420
- }
421
- }
422
- }
423
- }
424
- }
425
- if (!targetField || !targetFieldElement || !targetFieldKey) {
426
- const field = state.getMutatedField(block.host.uuid, block.host.fieldName);
427
- if (field) {
428
- const fieldElement = fields.find(field.entityUuid, field.name);
429
- if (fieldElement) {
430
- targetField = {
431
- entityType: field.entityType,
432
- entityUuid: field.entityUuid,
433
- name: field.name
434
- };
435
- targetFieldElement = fieldElement;
436
- targetFieldKey = getFieldKey(field.entityUuid, field.name);
437
- preceedingUuid = selection.uuids.value[0] ?? null;
438
- }
439
- }
440
- }
441
- if (!targetField || !targetFieldElement || !targetFieldKey) {
442
- startCopyDrag(existingBlocks);
443
- return;
444
- }
445
- const pastedBlocks = existingBlocks.filter((b) => {
446
- if (!targetFieldElement.allowedBundles.includes(b.bundle)) {
447
- return false;
448
- }
449
- if (b.bundle === fragmentBlockBundle && b.fragment?.name && targetFieldElement.allowedFragments.length > 0) {
450
- return targetFieldElement.allowedFragments.includes(b.fragment.name);
451
- }
452
- return true;
453
- });
454
- if (!pastedBlocks.length) {
455
- startCopyDrag(existingBlocks);
456
- return;
457
- }
458
- const count = state.getFieldBlockCount(targetFieldKey);
459
- if (targetFieldElement.cardinality !== -1 && count + pastedBlocks.length > targetFieldElement.cardinality) {
460
- startCopyDrag(existingBlocks);
461
- return;
462
- }
463
- state.mutateWithLoadingState(
464
- () => adapter.pasteExistingBlocks({
465
- uuids: pastedBlocks.map((v) => v.uuid),
466
- host: {
467
- type: targetField.entityType,
468
- uuid: targetField.entityUuid,
469
- fieldName: targetField.name
470
- },
471
- preceedingUuid
472
- })
473
- );
352
+ if (!pastedUuids.length) return;
353
+ const existingBlocks = pastedUuids.map((uuid) => blocks.getBlock(uuid)).filter((block) => !!block);
354
+ if (!existingBlocks.length) return;
355
+ startCopyDrag(existingBlocks);
474
356
  };
475
357
  function onPaste(e) {
476
358
  logger.log("Paste Event", e);
@@ -496,10 +378,10 @@ function onPaste(e) {
496
378
  if (pastedData) {
497
379
  if (pastedData.startsWith("{")) {
498
380
  try {
499
- const data = JSON.parse(pastedData);
500
- if (typeof data === "object" && data.type && data.type === "selection") {
501
- const uuids = data.uuids;
502
- return handleSelectionPaste(uuids);
381
+ const payload = parseClipboardEnvelope(JSON.parse(pastedData));
382
+ if (payload) {
383
+ eventBus.emit("clipboard:paste", payload);
384
+ return;
503
385
  }
504
386
  } catch (_e) {
505
387
  }
@@ -763,25 +645,24 @@ defineDropHandler("clipboard", {
763
645
  });
764
646
  }
765
647
  });
766
- function setClipboard(text) {
767
- const type = "text/plain";
768
- const blob = new Blob([text], { type });
769
- const data = [new ClipboardItem({ [type]: blob })];
770
- try {
771
- navigator.clipboard.write(data);
772
- } catch (_e) {
773
- }
774
- }
775
648
  function copyCurrentSelectionToClipboard() {
776
649
  if (!selection.items.value.length) {
777
650
  selectionClipboard.value = [];
778
651
  return;
779
652
  }
780
- setClipboard(
781
- JSON.stringify({ type: "selection", uuids: selection.uuids.value })
782
- );
653
+ ui.setClipboardData({
654
+ type: "selection",
655
+ uuids: selection.uuids.value
656
+ });
783
657
  selectionClipboard.value = selection.uuids.value;
784
658
  }
659
+ onBlokkliEvent("clipboard:paste", ({ meta, data }) => {
660
+ if (data.type !== "selection") return;
661
+ if (meta.hostUuid !== context.value.entityUuid) return;
662
+ if (!Array.isArray(data.uuids)) return;
663
+ const uuids = data.uuids.filter((u) => typeof u === "string");
664
+ handleSelectionPaste(uuids);
665
+ });
785
666
  onBlokkliEvent("keyPressed", (e) => {
786
667
  if (e.code !== "c" || !e.meta || ui.hasDialogOpen.value || ui.hasNestedEditorOpen.value || !ui.canvasFocused.value) {
787
668
  return;
@@ -114,4 +114,13 @@ declare module '#blokkli/editor/types/draggable' {
114
114
  native_drop: DraggableNativeDropItem;
115
115
  }
116
116
  }
117
+ export type ClipboardSelectionPayload = {
118
+ type: 'selection';
119
+ uuids: string[];
120
+ };
121
+ declare module '#blokkli/editor/types/clipboard' {
122
+ interface BlokkliClipboardTypes {
123
+ selection: ClipboardSelectionPayload;
124
+ }
125
+ }
117
126
  export {};
@@ -1,7 +1,10 @@
1
1
  <template>
2
2
  <button
3
- class="bk-command _bk_flex _bk_text-mono-300 _bk_pl-[12px] _bk_pr-10 _bk_w-full _bk_text-left _bk_gap-10 _bk_items-center _bk_border _bk_border-transparent"
4
- :class="isFocused ? '_bk_bg-mono-700 _bk_border-mono-700 _bk_text-white' : ''"
3
+ class="bk-command _bk_flex _bk_pl-[12px] _bk_pr-10 _bk_w-full _bk_text-left _bk_gap-10 _bk_items-center _bk_border _bk_border-transparent"
4
+ :class="isFocused ? '_bk_bg-mono-800 _bk_text-white' : '_bk_text-mono-300'"
5
+ data-test="command-palette-item"
6
+ :data-test-command-id="item.id"
7
+ :data-test-focused="isFocused"
5
8
  @mouseenter="$emit('focus', index)"
6
9
  @click.prevent="$emit('select', item.id)"
7
10
  >
@@ -35,7 +38,7 @@ const getGroupLabel = (id) => {
35
38
  } else if (id === "add") {
36
39
  return $t("commandGroup.add", "Add new");
37
40
  } else if (id === "action") {
38
- return $t("commandGroup.action", "Actions");
41
+ return $t("actions", "Actions");
39
42
  } else if (id === "selection") {
40
43
  return $t("commandGroup.selection", "Selection");
41
44
  }
@@ -2,9 +2,12 @@
2
2
  <SearchOverlay
3
3
  v-slot="{ focusedIndex, onMouseEnter }"
4
4
  v-model:text="text"
5
+ data-test="command-palette"
5
6
  :title="$t('commandPaletteTitle', 'Command Palette')"
6
7
  :total-items="visibleCommands.length"
7
- :placeholder="$t('commandPalette.inputPlaceholder', 'Search commands...')"
8
+ :placeholder="
9
+ $t('commandPalette.inputPlaceholder', 'Search commands', { more: true })
10
+ "
8
11
  @select="onSelectByIndex"
9
12
  @close="emit('close')"
10
13
  >
@@ -1,21 +1,22 @@
1
1
  <template>
2
2
  <ArtboardTooltip
3
3
  id="add-comment"
4
- :title="$t('addCommentHeader', 'Add Comment')"
4
+ :title="$t('addComment', 'Add Comment')"
5
5
  class="bk-add-comment"
6
6
  @close="$emit('close')"
7
7
  >
8
- <div class="bk-add-comment-inner" @keydown.capture.stop>
9
- <CommentInput id="comment_body" v-model="comment" />
10
- <footer>
11
- <button
12
- :disabled="!comment"
13
- class="bk-button bk-is-warning"
14
- @click.prevent="onAdd"
15
- >
16
- {{ $t("commentSave", "Submit comment") }}
17
- </button>
18
- </footer>
8
+ <div
9
+ class="bk-add-comment-inner _bk_w-full _bk_min-w-[400px] _bk_border-t _bk_border-t-yellow-dark"
10
+ data-test="comment-add-form"
11
+ @keydown.capture.stop
12
+ >
13
+ <CommentInput
14
+ id="comment_body"
15
+ :initial-value="comment"
16
+ :submit-label="$t('commentSave', 'Submit comment')"
17
+ @change="comment = $event"
18
+ @submit="onAdd"
19
+ />
19
20
  </div>
20
21
  </ArtboardTooltip>
21
22
  </template>
@@ -30,8 +31,8 @@ const comment = storage.useWithContextPrefix("commentAddText", "");
30
31
  const getComment = () => {
31
32
  return comment.value;
32
33
  };
33
- function onAdd() {
34
- emit("add", comment.value);
34
+ function onAdd(value) {
35
+ emit("add", value);
35
36
  comment.value = "";
36
37
  }
37
38
  defineExpose({ getComment });
@@ -42,3 +43,13 @@ onBeforeUnmount(() => {
42
43
  ui.removeSelectionColor("add-comment");
43
44
  });
44
45
  </script>
46
+
47
+ <style>/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
48
+ .bk.bk-add-comment {
49
+ --bk-bg: white;
50
+ --bk-header-bg: rgb(var(--bk-theme-yellow-normal) / 1);
51
+ --bk-header-text: rgb(var(--bk-theme-yellow-dark) / 1);
52
+ --bk-border: rgb(var(--bk-theme-yellow-normal) / 1);
53
+ --bk-header-hover: rgb(var(--bk-theme-yellow-dark) / 0.2);
54
+ }
55
+ </style>