@blokkli/editor 2.0.0-alpha.35 → 2.0.0-alpha.37

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 (320) hide show
  1. package/dist/global/types/blockOptions.d.ts +10 -2
  2. package/dist/global/types/definitions.d.ts +12 -5
  3. package/dist/module.d.mts +2 -2
  4. package/dist/module.json +1 -1
  5. package/dist/module.mjs +126 -7
  6. package/dist/modules/agent/index.d.mts +1 -1
  7. package/dist/modules/agent/index.mjs +273 -25
  8. package/dist/modules/agent/runtime/app/composables/agentProvider.d.ts +2 -2
  9. package/dist/modules/agent/runtime/app/composables/agentProvider.js +34 -17
  10. package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentTool.d.ts +2 -20
  11. package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentTool.js +0 -3
  12. package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.vue +2 -2
  13. package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.vue +1 -2
  14. package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.vue +1 -2
  15. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.d.vue.ts +1 -0
  16. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +67 -86
  17. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue.d.ts +1 -0
  18. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue +10 -12
  19. package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/de.md +2 -2
  20. package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/en.md +2 -2
  21. package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +1 -5
  22. package/dist/modules/agent/runtime/app/features/agent/Transcript/index.d.vue.ts +8 -0
  23. package/dist/modules/agent/runtime/app/features/agent/Transcript/index.vue +138 -0
  24. package/dist/modules/agent/runtime/app/features/agent/Transcript/index.vue.d.ts +8 -0
  25. package/dist/modules/agent/runtime/app/features/agent/index.vue +94 -38
  26. package/dist/modules/agent/runtime/app/helpers/index.d.ts +16 -19
  27. package/dist/modules/agent/runtime/app/helpers/index.js +22 -46
  28. package/dist/modules/agent/runtime/app/helpers/pageStructure.js +1 -1
  29. package/dist/modules/agent/runtime/app/tools/add_content_search_paragraph/index.js +5 -9
  30. package/dist/modules/agent/runtime/app/tools/add_fragment/index.js +2 -6
  31. package/dist/modules/agent/runtime/app/tools/add_media_paragraph/index.js +2 -6
  32. package/dist/modules/agent/runtime/app/tools/add_paragraphs/index.js +2 -3
  33. package/dist/modules/agent/runtime/app/tools/add_reusable_paragraph/index.js +2 -6
  34. package/dist/modules/agent/runtime/app/tools/add_template/index.js +2 -6
  35. package/dist/modules/agent/runtime/app/tools/analyze_content/index.js +120 -0
  36. package/dist/modules/agent/runtime/app/tools/check_readability/index.d.ts +2 -0
  37. package/dist/modules/agent/runtime/app/tools/check_readability/index.js +57 -0
  38. package/dist/modules/agent/runtime/app/tools/duplicate_paragraphs/index.js +2 -6
  39. package/dist/modules/agent/runtime/app/tools/get_all_page_content/index.js +1 -1
  40. package/dist/modules/agent/runtime/app/tools/get_bundle_info/index.d.ts +2 -0
  41. package/dist/modules/agent/runtime/app/tools/get_bundle_info/index.js +176 -0
  42. package/dist/modules/agent/runtime/app/tools/get_content_fields/index.js +1 -1
  43. package/dist/modules/agent/runtime/app/tools/get_paragraph_context/index.js +7 -5
  44. package/dist/modules/agent/runtime/app/tools/get_paragraph_options/index.js +2 -1
  45. package/dist/modules/agent/runtime/app/tools/get_selected_paragraphs/index.js +2 -3
  46. package/dist/modules/agent/runtime/app/tools/helpers.d.ts +53 -0
  47. package/dist/modules/agent/runtime/app/tools/helpers.js +187 -0
  48. package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.js +2 -6
  49. package/dist/modules/agent/runtime/app/tools/schemas.d.ts +1 -44
  50. package/dist/modules/agent/runtime/app/tools/schemas.js +0 -174
  51. package/dist/modules/agent/runtime/app/tools/search_content/index.js +40 -47
  52. package/dist/modules/agent/runtime/app/tools/set_paragraph_options/index.js +2 -5
  53. package/dist/modules/agent/runtime/app/types/index.d.ts +0 -61
  54. package/dist/modules/agent/runtime/server/Session.d.ts +29 -8
  55. package/dist/modules/agent/runtime/server/Session.js +168 -85
  56. package/dist/modules/agent/runtime/server/SessionManager.d.ts +3 -0
  57. package/dist/modules/agent/runtime/server/SessionManager.js +4 -1
  58. package/dist/modules/agent/runtime/server/agent.js +3 -2
  59. package/dist/modules/agent/runtime/server/agentPrompt.d.ts +9 -1
  60. package/dist/modules/agent/runtime/server/agentPrompt.js +26 -0
  61. package/dist/modules/agent/runtime/server/default-skills/fixReadability.d.ts +2 -0
  62. package/dist/modules/agent/runtime/server/default-skills/fixReadability.js +69 -0
  63. package/dist/modules/agent/runtime/server/default-system-prompts/page-context.js +28 -0
  64. package/dist/modules/agent/runtime/server/server-tools/index.d.ts +10 -2
  65. package/dist/modules/agent/runtime/server/server-tools/index.js +1 -1
  66. package/dist/modules/agent/runtime/server/server-tools/load_tools/index.js +1 -1
  67. package/dist/modules/agent/runtime/shared/types.d.ts +81 -12
  68. package/dist/modules/agent/runtime/shared/types.js +22 -10
  69. package/dist/modules/charts/index.d.mts +35 -0
  70. package/dist/modules/charts/index.mjs +57 -0
  71. package/dist/modules/charts/runtime/blokkli/skills/charts.d.ts +2 -0
  72. package/dist/modules/charts/runtime/blokkli/skills/charts.js +42 -0
  73. package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.d.ts +86 -0
  74. package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.js +136 -0
  75. package/dist/modules/charts/runtime/blokkli/tools/create_chart/index.d.ts +2 -0
  76. package/dist/modules/charts/runtime/blokkli/tools/create_chart/index.js +93 -0
  77. package/dist/modules/charts/runtime/blokkli/tools/get_chart_data/index.d.ts +2 -0
  78. package/dist/modules/charts/runtime/blokkli/tools/get_chart_data/index.js +66 -0
  79. package/dist/modules/charts/runtime/blokkli/tools/get_chart_type_options/index.d.ts +2 -0
  80. package/dist/modules/charts/runtime/blokkli/tools/get_chart_type_options/index.js +40 -0
  81. package/dist/modules/charts/runtime/blokkli/tools/update_chart/index.d.ts +2 -0
  82. package/dist/modules/charts/runtime/blokkli/tools/update_chart/index.js +89 -0
  83. package/dist/modules/charts/runtime/chartTypes/area.d.ts +7 -0
  84. package/dist/modules/charts/runtime/chartTypes/area.js +68 -0
  85. package/dist/modules/charts/runtime/chartTypes/bar.d.ts +8 -0
  86. package/dist/modules/charts/runtime/chartTypes/bar.js +76 -0
  87. package/dist/modules/charts/runtime/chartTypes/define.d.ts +2 -0
  88. package/dist/modules/charts/runtime/chartTypes/define.js +3 -0
  89. package/dist/modules/charts/runtime/chartTypes/donut.d.ts +6 -0
  90. package/dist/modules/charts/runtime/chartTypes/donut.js +45 -0
  91. package/dist/modules/charts/runtime/chartTypes/heatmap.d.ts +4 -0
  92. package/dist/modules/charts/runtime/chartTypes/heatmap.js +54 -0
  93. package/dist/modules/charts/runtime/chartTypes/index.d.ts +39 -0
  94. package/dist/modules/charts/runtime/chartTypes/index.js +47 -0
  95. package/dist/modules/charts/runtime/chartTypes/line.d.ts +7 -0
  96. package/dist/modules/charts/runtime/chartTypes/line.js +68 -0
  97. package/dist/modules/charts/runtime/chartTypes/pie.d.ts +5 -0
  98. package/dist/modules/charts/runtime/chartTypes/pie.js +28 -0
  99. package/dist/modules/charts/runtime/chartTypes/radar.d.ts +7 -0
  100. package/dist/modules/charts/runtime/chartTypes/radar.js +52 -0
  101. package/dist/modules/charts/runtime/chartTypes/radialBar.d.ts +6 -0
  102. package/dist/modules/charts/runtime/chartTypes/radialBar.js +44 -0
  103. package/dist/modules/charts/runtime/chartTypes/shared.d.ts +67 -0
  104. package/dist/modules/charts/runtime/chartTypes/shared.js +103 -0
  105. package/dist/modules/charts/runtime/chartTypes/types.d.ts +29 -0
  106. package/dist/modules/charts/runtime/chartTypes/types.js +0 -0
  107. package/dist/modules/charts/runtime/components/ChartRenderer/index.d.vue.ts +147 -0
  108. package/dist/modules/charts/runtime/components/ChartRenderer/index.vue +120 -0
  109. package/dist/modules/charts/runtime/components/ChartRenderer/index.vue.d.ts +147 -0
  110. package/dist/modules/charts/runtime/components/index.d.ts +1 -0
  111. package/dist/modules/charts/runtime/components/index.js +1 -0
  112. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.d.vue.ts +16 -0
  113. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue +97 -0
  114. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue.d.ts +16 -0
  115. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.d.vue.ts +11 -0
  116. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue +34 -0
  117. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue.d.ts +11 -0
  118. package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.d.vue.ts +12 -0
  119. package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue +49 -0
  120. package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue.d.ts +12 -0
  121. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.d.vue.ts +19 -0
  122. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue +89 -0
  123. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue.d.ts +19 -0
  124. package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.d.vue.ts +23 -0
  125. package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue +224 -0
  126. package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue.d.ts +23 -0
  127. package/dist/{runtime/editor/features/clipboard/List → modules/charts/runtime/features/charts/Editor/FootnoteEditor}/index.d.vue.ts +4 -5
  128. package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue +61 -0
  129. package/dist/{runtime/editor/features/clipboard/List → modules/charts/runtime/features/charts/Editor/FootnoteEditor}/index.vue.d.ts +4 -5
  130. package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.d.vue.ts +10 -0
  131. package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue +45 -0
  132. package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue.d.ts +10 -0
  133. package/dist/modules/charts/runtime/features/charts/Editor/index.d.vue.ts +11 -0
  134. package/dist/modules/charts/runtime/features/charts/Editor/index.vue +249 -0
  135. package/dist/modules/charts/runtime/features/charts/Editor/index.vue.d.ts +11 -0
  136. package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.d.ts +17 -0
  137. package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.js +90 -0
  138. package/dist/modules/charts/runtime/features/charts/index.d.vue.ts +3 -0
  139. package/dist/modules/charts/runtime/features/charts/index.vue +72 -0
  140. package/dist/modules/charts/runtime/features/charts/index.vue.d.ts +3 -0
  141. package/dist/modules/charts/runtime/helpers/index.d.ts +26 -0
  142. package/dist/modules/charts/runtime/helpers/index.js +80 -0
  143. package/dist/modules/charts/runtime/types.d.ts +33 -0
  144. package/dist/modules/charts/runtime/types.js +0 -0
  145. package/dist/modules/drupal/graphql/features/fragments.graphql +2 -0
  146. package/dist/modules/drupal/index.d.mts +1 -1
  147. package/dist/modules/drupal/runtime/adapter/index.d.ts +3 -1
  148. package/dist/modules/drupal/runtime/adapter/index.js +16 -12
  149. package/dist/modules/table-of-contents/index.d.mts +11 -0
  150. package/dist/modules/table-of-contents/index.mjs +24 -0
  151. package/dist/modules/table-of-contents/runtime/components/BlokkliTableOfContents/index.d.vue.ts +44 -0
  152. package/dist/modules/table-of-contents/runtime/components/BlokkliTableOfContents/index.vue +43 -0
  153. package/dist/modules/table-of-contents/runtime/components/BlokkliTableOfContents/index.vue.d.ts +44 -0
  154. package/dist/modules/table-of-contents/runtime/types/index.d.ts +4 -0
  155. package/dist/modules/table-of-contents/runtime/types/index.js +0 -0
  156. package/dist/runtime/components/Blocks/Fragment/index.vue +6 -2
  157. package/dist/runtime/components/BlokkliItem.vue +9 -4
  158. package/dist/runtime/components/BlokkliProvider.d.vue.ts +7 -0
  159. package/dist/runtime/components/BlokkliProvider.vue +7 -1
  160. package/dist/runtime/components/BlokkliProvider.vue.d.ts +7 -0
  161. package/dist/runtime/composables/defineBlokkli.js +1 -1
  162. package/dist/runtime/composables/useBlokkliHelper.js +4 -2
  163. package/dist/runtime/editor/components/AnimationCanvas/index.vue +17 -27
  164. package/dist/runtime/editor/components/Banner/index.d.vue.ts +13 -2
  165. package/dist/runtime/editor/components/Banner/index.vue +4 -2
  166. package/dist/runtime/editor/components/Banner/index.vue.d.ts +13 -2
  167. package/dist/runtime/editor/components/Dropdown/index.d.vue.ts +27 -0
  168. package/dist/runtime/editor/components/Dropdown/index.vue +107 -0
  169. package/dist/runtime/editor/components/Dropdown/index.vue.d.ts +27 -0
  170. package/dist/{modules/agent/runtime/app/features/agent/Panel/Input/Actions → runtime/editor/components}/DropdownItem/index.d.vue.ts +1 -0
  171. package/dist/{modules/agent/runtime/app/features/agent/Panel/Input/Actions → runtime/editor/components}/DropdownItem/index.vue +3 -2
  172. package/dist/{modules/agent/runtime/app/features/agent/Panel/Input/Actions → runtime/editor/components}/DropdownItem/index.vue.d.ts +1 -0
  173. package/dist/runtime/editor/components/EditProvider.d.vue.ts +2 -0
  174. package/dist/runtime/editor/components/EditProvider.vue +11 -7
  175. package/dist/runtime/editor/components/EditProvider.vue.d.ts +2 -0
  176. package/dist/runtime/editor/components/FlexTextarea/index.d.vue.ts +5 -1
  177. package/dist/runtime/editor/components/FlexTextarea/index.vue +24 -101
  178. package/dist/runtime/editor/components/FlexTextarea/index.vue.d.ts +5 -1
  179. package/dist/runtime/editor/components/Form/Radio/index.d.vue.ts +1 -0
  180. package/dist/runtime/editor/components/Form/Radio/index.vue +3 -2
  181. package/dist/runtime/editor/components/Form/Radio/index.vue.d.ts +1 -0
  182. package/dist/runtime/editor/components/ItemIcon/index.vue +10 -2
  183. package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +13 -3
  184. package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +43 -16
  185. package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +13 -3
  186. package/dist/runtime/editor/components/Popup/index.d.vue.ts +30 -0
  187. package/dist/runtime/editor/components/Popup/index.vue +82 -0
  188. package/dist/runtime/editor/components/Popup/index.vue.d.ts +30 -0
  189. package/dist/runtime/editor/components/PreviewProvider.d.vue.ts +2 -0
  190. package/dist/runtime/editor/components/PreviewProvider.vue +3 -2
  191. package/dist/runtime/editor/components/PreviewProvider.vue.d.ts +2 -0
  192. package/dist/runtime/editor/components/Resizable/index.vue +4 -1
  193. package/dist/runtime/editor/components/ShortcutIndicator/index.vue +1 -1
  194. package/dist/runtime/editor/components/Toolbar/index.vue +107 -6
  195. package/dist/runtime/editor/components/index.d.ts +4 -1
  196. package/dist/runtime/editor/components/index.js +6 -0
  197. package/dist/runtime/editor/composables/defineDropAreas.js +3 -3
  198. package/dist/runtime/editor/composables/defineDropHandler.d.ts +3 -0
  199. package/dist/runtime/editor/composables/defineDropHandler.js +10 -0
  200. package/dist/runtime/editor/composables/index.d.ts +1 -0
  201. package/dist/runtime/editor/composables/index.js +1 -0
  202. package/dist/runtime/editor/composables/onElementResize.js +0 -1
  203. package/dist/runtime/editor/composables/useEditableFieldOverride.js +4 -5
  204. package/dist/runtime/editor/css/output.css +1 -1
  205. package/dist/runtime/editor/events/index.d.ts +16 -0
  206. package/dist/runtime/editor/features/add-list/Help/Item.vue +5 -2
  207. package/dist/runtime/editor/features/add-list/index.vue +58 -1
  208. package/dist/runtime/editor/features/analyze/Main.d.vue.ts +3 -2
  209. package/dist/runtime/editor/features/analyze/Main.vue +28 -44
  210. package/dist/runtime/editor/features/analyze/Main.vue.d.ts +3 -2
  211. package/dist/runtime/editor/features/analyze/analyzers/readability.js +65 -0
  212. package/dist/runtime/editor/features/analyze/analyzers/types.d.ts +19 -0
  213. package/dist/runtime/editor/features/analyze/index.vue +18 -15
  214. package/dist/runtime/editor/features/artboard/Renderer.vue +1 -1
  215. package/dist/runtime/editor/features/clipboard/DropElement/Video.d.vue.ts +8 -0
  216. package/dist/runtime/editor/features/clipboard/{List/Item → DropElement}/Video.vue +1 -5
  217. package/dist/runtime/editor/features/clipboard/DropElement/Video.vue.d.ts +8 -0
  218. package/dist/runtime/editor/features/clipboard/DropElement/helpers.d.ts +1 -0
  219. package/dist/runtime/editor/features/clipboard/DropElement/helpers.js +14 -0
  220. package/dist/runtime/editor/features/clipboard/DropElement/index.d.vue.ts +16 -0
  221. package/dist/runtime/editor/features/clipboard/DropElement/index.vue +97 -0
  222. package/dist/runtime/editor/features/clipboard/DropElement/index.vue.d.ts +16 -0
  223. package/dist/runtime/editor/features/clipboard/helpers.d.ts +15 -0
  224. package/dist/runtime/editor/features/clipboard/helpers.js +62 -0
  225. package/dist/runtime/editor/features/clipboard/index.vue +586 -338
  226. package/dist/runtime/editor/features/clipboard/types.d.ts +14 -2
  227. package/dist/runtime/editor/features/debug/index.vue +1 -1
  228. package/dist/runtime/editor/features/dev-mode/index.vue +86 -2
  229. package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +17 -5
  230. package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +2 -2
  231. package/dist/runtime/editor/features/dragging-overlay/index.vue +125 -219
  232. package/dist/runtime/editor/features/edit/index.vue +20 -0
  233. package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue +4 -4
  234. package/dist/runtime/editor/features/editable-field/Overlay/index.vue +6 -0
  235. package/dist/runtime/editor/features/fragments/types.d.ts +1 -0
  236. package/dist/runtime/editor/features/hover/Renderer/index.vue +30 -3
  237. package/dist/runtime/editor/features/hover/index.vue +1 -1
  238. package/dist/runtime/editor/features/library/index.vue +14 -0
  239. package/dist/runtime/editor/features/media-library/index.vue +32 -1
  240. package/dist/runtime/editor/features/options/Form/Checkbox/index.d.vue.ts +2 -2
  241. package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +3 -3
  242. package/dist/runtime/editor/features/options/Form/Checkbox/index.vue.d.ts +2 -2
  243. package/dist/runtime/editor/features/options/Form/Checkboxes/index.d.vue.ts +2 -2
  244. package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +5 -5
  245. package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue.d.ts +2 -2
  246. package/dist/runtime/editor/features/options/Form/ComplexType/index.d.vue.ts +11 -0
  247. package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +36 -0
  248. package/dist/runtime/editor/features/options/Form/ComplexType/index.vue.d.ts +11 -0
  249. package/dist/runtime/editor/features/options/Form/Item.d.vue.ts +5 -4
  250. package/dist/runtime/editor/features/options/Form/Item.vue +24 -50
  251. package/dist/runtime/editor/features/options/Form/Item.vue.d.ts +5 -4
  252. package/dist/runtime/editor/features/options/Form/Number/index.d.vue.ts +3 -3
  253. package/dist/runtime/editor/features/options/Form/Number/index.vue +7 -17
  254. package/dist/runtime/editor/features/options/Form/Number/index.vue.d.ts +3 -3
  255. package/dist/runtime/editor/features/options/Form/Range/index.d.vue.ts +2 -2
  256. package/dist/runtime/editor/features/options/Form/Range/index.vue +4 -4
  257. package/dist/runtime/editor/features/options/Form/Range/index.vue.d.ts +2 -2
  258. package/dist/runtime/editor/features/options/Form/index.vue +15 -5
  259. package/dist/runtime/editor/features/search/index.vue +25 -1
  260. package/dist/runtime/editor/features/selection/index.vue +2 -2
  261. package/dist/runtime/editor/features/structure/index.vue +25 -1
  262. package/dist/runtime/editor/features/tour/index.vue +22 -12
  263. package/dist/runtime/editor/features/transform/index.vue +1 -3
  264. package/dist/runtime/editor/helpers/clipboardData/index.d.ts +11 -0
  265. package/dist/runtime/editor/helpers/clipboardData/index.js +157 -0
  266. package/dist/runtime/editor/helpers/options/index.js +5 -0
  267. package/dist/runtime/editor/icons/svg/stars.svg +5 -1
  268. package/dist/runtime/editor/plugins/Sidebar/Detached/index.d.vue.ts +1 -1
  269. package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue.d.ts +1 -1
  270. package/dist/runtime/editor/plugins/Sidebar/index.d.vue.ts +15 -4
  271. package/dist/runtime/editor/plugins/Sidebar/index.vue +4 -2
  272. package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +15 -4
  273. package/dist/runtime/editor/providers/analyze.d.ts +43 -0
  274. package/dist/runtime/editor/providers/analyze.js +78 -0
  275. package/dist/runtime/editor/providers/animation.d.ts +4 -0
  276. package/dist/runtime/editor/providers/animation.js +6 -0
  277. package/dist/runtime/editor/providers/definition.d.ts +2 -2
  278. package/dist/runtime/editor/providers/definition.js +7 -1
  279. package/dist/runtime/editor/providers/dom.d.ts +5 -0
  280. package/dist/runtime/editor/providers/dom.js +11 -2
  281. package/dist/runtime/editor/providers/dragdrop.d.ts +55 -0
  282. package/dist/runtime/editor/providers/dragdrop.js +37 -0
  283. package/dist/runtime/editor/providers/fields.d.ts +19 -1
  284. package/dist/runtime/editor/providers/fields.js +54 -2
  285. package/dist/runtime/editor/providers/storage.js +15 -0
  286. package/dist/runtime/editor/providers/ui.d.ts +6 -0
  287. package/dist/runtime/editor/providers/ui.js +19 -0
  288. package/dist/runtime/editor/translations/de.json +338 -58
  289. package/dist/runtime/editor/translations/fr.json +331 -51
  290. package/dist/runtime/editor/translations/gsw_CH.json +336 -56
  291. package/dist/runtime/editor/translations/it.json +331 -51
  292. package/dist/runtime/editor/types/app.d.ts +4 -2
  293. package/dist/runtime/editor/types/draggable.d.ts +1 -0
  294. package/dist/runtime/editor/types/ui.d.ts +1 -1
  295. package/dist/runtime/helpers/imports/index.d.ts +8 -1
  296. package/dist/runtime/helpers/imports/index.js +15 -6
  297. package/dist/runtime/helpers/injections.d.ts +6 -2
  298. package/dist/runtime/helpers/injections.js +3 -0
  299. package/dist/runtime/helpers/runtimeHelpers/index.js +14 -0
  300. package/dist/runtime/types/blockOptions.d.ts +2 -1
  301. package/dist/runtime/types/definitions.d.ts +12 -5
  302. package/dist/runtime/types/provider.d.ts +2 -0
  303. package/dist/shared/editor.6D5vApr0.mjs +30 -0
  304. package/dist/shared/{editor.DMFfaLVE.mjs → editor.BFIzNSQM.mjs} +1 -30
  305. package/dist/shared/{editor.Iax3GCvt.d.mts → editor.BdBm1Z7C.d.mts} +34 -0
  306. package/dist/types.d.mts +1 -1
  307. package/package.json +21 -3
  308. package/dist/modules/agent/runtime/app/tools/get_available_bundles/index.js +0 -104
  309. package/dist/runtime/editor/features/clipboard/List/Item/File.d.vue.ts +0 -4
  310. package/dist/runtime/editor/features/clipboard/List/Item/File.vue +0 -60
  311. package/dist/runtime/editor/features/clipboard/List/Item/File.vue.d.ts +0 -4
  312. package/dist/runtime/editor/features/clipboard/List/Item/Video.d.vue.ts +0 -4
  313. package/dist/runtime/editor/features/clipboard/List/Item/Video.vue.d.ts +0 -4
  314. package/dist/runtime/editor/features/clipboard/List/index.vue +0 -72
  315. package/dist/runtime/editor/features/tour/Popup/index.d.vue.ts +0 -9
  316. package/dist/runtime/editor/features/tour/Popup/index.vue +0 -34
  317. package/dist/runtime/editor/features/tour/Popup/index.vue.d.ts +0 -9
  318. package/dist/runtime/editor/providers/dropArea.d.ts +0 -48
  319. package/dist/runtime/editor/providers/dropArea.js +0 -22
  320. /package/dist/modules/agent/runtime/app/tools/{get_available_bundles → analyze_content}/index.d.ts +0 -0
@@ -75,6 +75,10 @@
75
75
  "source": "<p>This shows the list of available blocks that can be placed. Add a block by dragging the icon into the page.</p><p>When an existing block is selected, some blocks may be greyed out. This indicates which blocks can be placed inside or after the selected block.</p>",
76
76
  "translation": ""
77
77
  },
78
+ "agentSidebarTooltipLabel": {
79
+ "source": "@name (AI-Assistant)",
80
+ "translation": ""
81
+ },
78
82
  "aiAgentAddBlockDone": {
79
83
  "source": "Added @bundle",
80
84
  "translation": ""
@@ -92,7 +96,7 @@
92
96
  "translation": ""
93
97
  },
94
98
  "aiAgentAddContentSearchBlockRunning": {
95
- "source": "Adding content block...",
99
+ "source": "Adding content paragraph...",
96
100
  "translation": ""
97
101
  },
98
102
  "aiAgentAddFragmentDone": {
@@ -131,6 +135,14 @@
131
135
  "source": "Always",
132
136
  "translation": ""
133
137
  },
138
+ "aiAgentAnalyzeContentDone": {
139
+ "source": "Analyzed @count results",
140
+ "translation": "@count risultati analizzati"
141
+ },
142
+ "aiAgentAnalyzeContentRunning": {
143
+ "source": "Analyzing content...",
144
+ "translation": "Analisi del contenuto..."
145
+ },
134
146
  "aiAgentApprove": {
135
147
  "source": "Approve",
136
148
  "translation": ""
@@ -191,6 +203,14 @@
191
203
  "source": "Cancelled",
192
204
  "translation": ""
193
205
  },
206
+ "aiAgentCheckReadabilityDone": {
207
+ "source": "Checked readability for @count texts",
208
+ "translation": ""
209
+ },
210
+ "aiAgentCheckReadabilityRunning": {
211
+ "source": "Checking readability...",
212
+ "translation": ""
213
+ },
194
214
  "aiAgentCompletePlanStep": {
195
215
  "source": "Completed: @label",
196
216
  "translation": ""
@@ -203,6 +223,14 @@
203
223
  "source": "Connecting...",
204
224
  "translation": ""
205
225
  },
226
+ "aiAgentCreateChartDone": {
227
+ "source": "Added chart",
228
+ "translation": ""
229
+ },
230
+ "aiAgentCreateChartRunning": {
231
+ "source": "Creating chart...",
232
+ "translation": ""
233
+ },
206
234
  "aiAgentCreatePlan": {
207
235
  "source": "Plan: @label",
208
236
  "translation": ""
@@ -287,6 +315,10 @@
287
315
  "source": "An unexpected error occurred.",
288
316
  "translation": ""
289
317
  },
318
+ "aiAgentExpandButton": {
319
+ "source": "Show more",
320
+ "translation": ""
321
+ },
290
322
  "aiAgentFindBlocksDone": {
291
323
  "source": "Found @count blocks",
292
324
  "translation": ""
@@ -347,6 +379,18 @@
347
379
  "source": "Getting bundle info...",
348
380
  "translation": ""
349
381
  },
382
+ "aiAgentGetChartDataDone": {
383
+ "source": "Got chart data",
384
+ "translation": ""
385
+ },
386
+ "aiAgentGetChartDataRunning": {
387
+ "source": "Getting chart data...",
388
+ "translation": ""
389
+ },
390
+ "aiAgentGetChartTypeOptionsRunning": {
391
+ "source": "Getting chart options...",
392
+ "translation": ""
393
+ },
350
394
  "aiAgentGetChildBlocks": {
351
395
  "source": "Get child blocks",
352
396
  "translation": ""
@@ -383,6 +427,14 @@
383
427
  "source": "Getting mutation history...",
384
428
  "translation": ""
385
429
  },
430
+ "aiAgentGetPageStructureDone": {
431
+ "source": "Got page structure (@count paragraphs)",
432
+ "translation": ""
433
+ },
434
+ "aiAgentGetPageStructureRunning": {
435
+ "source": "Getting page structure...",
436
+ "translation": ""
437
+ },
386
438
  "aiAgentGetSelectedBlocksDone": {
387
439
  "source": "@count block(s) selected",
388
440
  "translation": ""
@@ -399,6 +451,14 @@
399
451
  "source": "Navigating history...",
400
452
  "translation": ""
401
453
  },
454
+ "aiAgentIntroPopup": {
455
+ "source": "Need help editing? @name is your AI assistant — it can add, move, and update blocks and much more. Give it a try!",
456
+ "translation": ""
457
+ },
458
+ "aiAgentIntroPopupCta": {
459
+ "source": "Get started",
460
+ "translation": ""
461
+ },
402
462
  "aiAgentLoadSkill": {
403
463
  "source": "Using skill \"@label\"",
404
464
  "translation": ""
@@ -407,10 +467,6 @@
407
467
  "source": "@count tools loaded",
408
468
  "translation": ""
409
469
  },
410
- "aiAgentMoreOptions": {
411
- "source": "More options",
412
- "translation": ""
413
- },
414
470
  "aiAgentMoveBlockDone": {
415
471
  "source": "Moved @bundle",
416
472
  "translation": ""
@@ -427,10 +483,6 @@
427
483
  "source": "Start new conversation",
428
484
  "translation": ""
429
485
  },
430
- "aiAgentNewLineHint": {
431
- "source": "Shift + Enter for new line",
432
- "translation": ""
433
- },
434
486
  "aiAgentNoConversations": {
435
487
  "source": "No past conversations.",
436
488
  "translation": ""
@@ -455,6 +507,10 @@
455
507
  "source": "Plan completed: @label",
456
508
  "translation": ""
457
509
  },
510
+ "aiAgentPopupTitle": {
511
+ "source": "AI-Assistant",
512
+ "translation": ""
513
+ },
458
514
  "aiAgentProcessing": {
459
515
  "source": "Processing...",
460
516
  "translation": ""
@@ -495,6 +551,14 @@
495
551
  "source": "Replacing media...",
496
552
  "translation": ""
497
553
  },
554
+ "aiAgentRetry": {
555
+ "source": "Retry",
556
+ "translation": ""
557
+ },
558
+ "aiAgentSearchContentRunning": {
559
+ "source": "Searching content...",
560
+ "translation": ""
561
+ },
498
562
  "aiAgentSearchLibraryDone": {
499
563
  "source": "Searched library",
500
564
  "translation": ""
@@ -607,6 +671,14 @@
607
671
  "source": "Unknown message type",
608
672
  "translation": ""
609
673
  },
674
+ "aiAgentUpdateChartDone": {
675
+ "source": "Updated chart",
676
+ "translation": ""
677
+ },
678
+ "aiAgentUpdateChartRunning": {
679
+ "source": "Updating chart...",
680
+ "translation": ""
681
+ },
610
682
  "aiAgentUpdateOptionsOnBlockDone": {
611
683
  "source": "Updated @count option(s) on block",
612
684
  "translation": ""
@@ -667,6 +739,10 @@
667
739
  "source": "Click the button above to run the analysis.",
668
740
  "translation": ""
669
741
  },
742
+ "analyzeKeepVisible": {
743
+ "source": "Keep results visible",
744
+ "translation": ""
745
+ },
670
746
  "analyzeLastRun": {
671
747
  "source": "Last run: @time",
672
748
  "translation": ""
@@ -919,68 +995,268 @@
919
995
  "source": "Cancel selection",
920
996
  "translation": ""
921
997
  },
922
- "clearInput": {
923
- "source": "Clear input",
998
+ "chartsAddColumn": {
999
+ "source": "Add column",
924
1000
  "translation": ""
925
1001
  },
926
- "clipboard": {
927
- "source": "Clipboard",
928
- "translation": "Appunti"
1002
+ "chartsAddFootnote": {
1003
+ "source": "Add footnote",
1004
+ "translation": ""
929
1005
  },
930
- "clipboardCopyShortcutHelp": {
931
- "source": "Copy selected blocks",
1006
+ "chartsAddRow": {
1007
+ "source": "Add row",
932
1008
  "translation": ""
933
1009
  },
934
- "clipboardEmpty": {
935
- "source": "No items in the clipboard",
936
- "translation": "Nessun elemento negli appunti"
1010
+ "chartsAreaCurved": {
1011
+ "source": "Smooth curves",
1012
+ "translation": "Curve morbide"
937
1013
  },
938
- "clipboardExplanation": {
939
- "source": "<p>\n Use Ctrl-V on the page to paste content. These\n will then be displayed here.\n </p>\n <p>\n Use Ctrl-F to search for existing content and paste it into\n the clipboard.\n </p>",
940
- "translation": "<p>\n Utilizzare Ctrl-V sulla pagina per incollare i contenuti. Questi\n saranno poi visualizzati qui.\n </p>\n <p>\n Utilizzare Ctrl-F per cercare contenuti esistenti e incollarli negli appunti.\n </p>"
1014
+ "chartsAreaMarkers": {
1015
+ "source": "Show markers",
1016
+ "translation": "Mostra marcatori"
941
1017
  },
942
- "clipboardPasteDescription": {
943
- "source": "Paste blocks from clipboard",
1018
+ "chartsAutoUpdate": {
1019
+ "source": "Auto-update",
944
1020
  "translation": ""
945
1021
  },
946
- "clipboardPasteError": {
947
- "source": "Failed to paste:",
1022
+ "chartsBarHorizontal": {
1023
+ "source": "Horizontal",
1024
+ "translation": "Orizzontale"
1025
+ },
1026
+ "chartsBarStacked": {
1027
+ "source": "Stacked",
1028
+ "translation": "Impilato"
1029
+ },
1030
+ "chartsBorderRadius": {
1031
+ "source": "Corner radius",
1032
+ "translation": "Raggio angoli"
1033
+ },
1034
+ "chartsBorderRadiusLarge": {
1035
+ "source": "Large",
1036
+ "translation": "Grande"
1037
+ },
1038
+ "chartsBorderRadiusNone": {
1039
+ "source": "None",
1040
+ "translation": "Nessuno"
1041
+ },
1042
+ "chartsBorderRadiusSmall": {
1043
+ "source": "Small",
1044
+ "translation": "Piccolo"
1045
+ },
1046
+ "chartsData": {
1047
+ "source": "Data",
1048
+ "translation": ""
1049
+ },
1050
+ "chartsDataLabels": {
1051
+ "source": "Data labels",
1052
+ "translation": "Etichette dati"
1053
+ },
1054
+ "chartsDonutShowLabels": {
1055
+ "source": "Show labels",
1056
+ "translation": "Mostra etichette"
1057
+ },
1058
+ "chartsDonutShowTotal": {
1059
+ "source": "Show total",
1060
+ "translation": "Mostra totale"
1061
+ },
1062
+ "chartsEditButton": {
1063
+ "source": "Edit chart...",
1064
+ "translation": ""
1065
+ },
1066
+ "chartsEditorSaveError": {
1067
+ "source": "The chart could not be saved.",
1068
+ "translation": ""
1069
+ },
1070
+ "chartsEditorTitle": {
1071
+ "source": "Edit chart",
1072
+ "translation": ""
1073
+ },
1074
+ "chartsFootnotes": {
1075
+ "source": "Footnotes",
1076
+ "translation": ""
1077
+ },
1078
+ "chartsGridLines": {
1079
+ "source": "Grid lines",
1080
+ "translation": "Linee griglia"
1081
+ },
1082
+ "chartsImportCsv": {
1083
+ "source": "Import CSV",
1084
+ "translation": ""
1085
+ },
1086
+ "chartsLegendPosition": {
1087
+ "source": "Legend position",
1088
+ "translation": "Posizione legenda"
1089
+ },
1090
+ "chartsLineCurved": {
1091
+ "source": "Smooth curves",
1092
+ "translation": "Curve morbide"
1093
+ },
1094
+ "chartsLineMarkers": {
1095
+ "source": "Show markers",
1096
+ "translation": "Mostra marcatori"
1097
+ },
1098
+ "chartsOpacityLight": {
1099
+ "source": "Light",
1100
+ "translation": "Leggero"
1101
+ },
1102
+ "chartsOpacitySolid": {
1103
+ "source": "Solid",
1104
+ "translation": "Solido"
1105
+ },
1106
+ "chartsOpacityTransparent": {
1107
+ "source": "Transparent",
1108
+ "translation": "Trasparente"
1109
+ },
1110
+ "chartsOptionGroupDisplay": {
1111
+ "source": "Display",
1112
+ "translation": ""
1113
+ },
1114
+ "chartsOptionGroupLabels": {
1115
+ "source": "Labels",
1116
+ "translation": ""
1117
+ },
1118
+ "chartsPieShowLabels": {
1119
+ "source": "Show labels",
1120
+ "translation": "Mostra etichette"
1121
+ },
1122
+ "chartsPositionBottom": {
1123
+ "source": "Bottom",
1124
+ "translation": "In basso"
1125
+ },
1126
+ "chartsPositionRight": {
1127
+ "source": "Right",
1128
+ "translation": "A destra"
1129
+ },
1130
+ "chartsPositionTop": {
1131
+ "source": "Top",
1132
+ "translation": "In alto"
1133
+ },
1134
+ "chartsPreview": {
1135
+ "source": "Preview",
1136
+ "translation": ""
1137
+ },
1138
+ "chartsRadarFillOpacity": {
1139
+ "source": "Fill opacity",
1140
+ "translation": "Opacità riempimento"
1141
+ },
1142
+ "chartsRadarMarkers": {
1143
+ "source": "Show markers",
1144
+ "translation": "Mostra marcatori"
1145
+ },
1146
+ "chartsRadialBarShowLabels": {
1147
+ "source": "Show labels",
1148
+ "translation": "Mostra etichette"
1149
+ },
1150
+ "chartsRadialBarShowTotal": {
1151
+ "source": "Show total",
1152
+ "translation": "Mostra totale"
1153
+ },
1154
+ "chartsRefreshPreview": {
1155
+ "source": "Refresh Preview",
1156
+ "translation": ""
1157
+ },
1158
+ "chartsRotationAuto": {
1159
+ "source": "Auto",
1160
+ "translation": "Automatico"
1161
+ },
1162
+ "chartsStrokeMedium": {
1163
+ "source": "Medium",
1164
+ "translation": "Medio"
1165
+ },
1166
+ "chartsStrokeThick": {
1167
+ "source": "Thick",
1168
+ "translation": "Spesso"
1169
+ },
1170
+ "chartsStrokeThin": {
1171
+ "source": "Thin",
1172
+ "translation": "Sottile"
1173
+ },
1174
+ "chartsStrokeWidth": {
1175
+ "source": "Line thickness",
1176
+ "translation": "Spessore linea"
1177
+ },
1178
+ "chartsTitle": {
1179
+ "source": "Title",
1180
+ "translation": ""
1181
+ },
1182
+ "chartsTypeArea": {
1183
+ "source": "Area",
948
1184
  "translation": ""
949
1185
  },
950
- "clipboardPasteErrorAllowedBundlesMultiple": {
951
- "source": "Block types (@types) are not allowed here.",
1186
+ "chartsTypeBar": {
1187
+ "source": "Bar",
952
1188
  "translation": ""
953
1189
  },
954
- "clipboardPasteErrorAllowedBundlesSingle": {
955
- "source": "Block type \"@types\" is not allowed here.",
1190
+ "chartsTypeDonut": {
1191
+ "source": "Donut",
956
1192
  "translation": ""
957
1193
  },
958
- "clipboardPasteErrorAllowedFragmentsMultiple": {
959
- "source": "Fragments (@types) are not allowed here.",
1194
+ "chartsTypeHeatmap": {
1195
+ "source": "Heatmap",
1196
+ "translation": "Mappa di calore"
1197
+ },
1198
+ "chartsTypeLine": {
1199
+ "source": "Line",
1200
+ "translation": ""
1201
+ },
1202
+ "chartsTypePie": {
1203
+ "source": "Pie",
1204
+ "translation": ""
1205
+ },
1206
+ "chartsTypeRadar": {
1207
+ "source": "Radar",
1208
+ "translation": "Radar"
1209
+ },
1210
+ "chartsTypeRadialBar": {
1211
+ "source": "Radial Bar",
1212
+ "translation": "Barra radiale"
1213
+ },
1214
+ "chartsXAxisRotation": {
1215
+ "source": "Label rotation",
1216
+ "translation": "Rotazione etichette"
1217
+ },
1218
+ "clearInput": {
1219
+ "source": "Clear input",
960
1220
  "translation": ""
961
1221
  },
962
- "clipboardPasteErrorAllowedFragmentsSingle": {
963
- "source": "Fragment \"@types\" is not allowed here.",
1222
+ "clipboardCopyShortcutHelp": {
1223
+ "source": "Copy selected blocks",
964
1224
  "translation": ""
965
1225
  },
966
- "clipboardPasteErrorCardinality": {
967
- "source": "This field only allows up to @count blocks.",
1226
+ "clipboardNoCommonBundle": {
1227
+ "source": "No common block type for these files.",
968
1228
  "translation": ""
969
1229
  },
970
- "clipboardPasteErrorOneField": {
971
- "source": "Pasting is only possible into one field at a time.",
1230
+ "clipboardPasteDescription": {
1231
+ "source": "Paste blocks from clipboard",
972
1232
  "translation": ""
973
1233
  },
974
- "clipboardPastePlaceholder": {
975
- "source": "Paste text or media here",
976
- "translation": "Paste text or media here"
1234
+ "clipboardPasteError": {
1235
+ "source": "Failed to paste:",
1236
+ "translation": ""
977
1237
  },
978
1238
  "clipboardPasteShortcutHelp": {
979
1239
  "source": "Paste text, image or copied blocks",
980
1240
  "translation": ""
981
1241
  },
982
- "clipboardTourText": {
983
- "source": "Drag and drop content pasted from your clipboard into the page to create a matching block.",
1242
+ "clipboardTypeFile": {
1243
+ "source": "File",
1244
+ "translation": ""
1245
+ },
1246
+ "clipboardTypeImage": {
1247
+ "source": "Image",
1248
+ "translation": ""
1249
+ },
1250
+ "clipboardTypeText": {
1251
+ "source": "Text",
1252
+ "translation": ""
1253
+ },
1254
+ "clipboardTypeVideo": {
1255
+ "source": "Video",
1256
+ "translation": ""
1257
+ },
1258
+ "clipboardUnsupportedFileType": {
1259
+ "source": "This file type is not supported.",
984
1260
  "translation": ""
985
1261
  },
986
1262
  "close": {
@@ -1327,6 +1603,14 @@
1327
1603
  "source": "Breadcrumbs",
1328
1604
  "translation": ""
1329
1605
  },
1606
+ "feature_charts_description": {
1607
+ "source": "Add and edit interactive charts.",
1608
+ "translation": ""
1609
+ },
1610
+ "feature_charts_label": {
1611
+ "source": "Charts",
1612
+ "translation": ""
1613
+ },
1330
1614
  "feature_clipboard_description": {
1331
1615
  "source": "Provides clipboard integration to copy/paste existing blocks or paste supported clipboard content like text or images.",
1332
1616
  "translation": "Fornisce l'integrazione degli appunti per copiare/incollare blocchi esistenti o incollare contenuti supportati come testo o immagini."
@@ -1335,14 +1619,6 @@
1335
1619
  "source": "Clipboard",
1336
1620
  "translation": "Appunti"
1337
1621
  },
1338
- "feature_clipboard_setting_openSidebarOnPaste_description": {
1339
- "source": "Automatically opens the sidebar when pasting content from the clipboard.",
1340
- "translation": "Apre automaticamente la barra laterale quando si incolla contenuto dagli appunti."
1341
- },
1342
- "feature_clipboard_setting_openSidebarOnPaste_label": {
1343
- "source": "Open sidebar when pasting",
1344
- "translation": "Apri barra laterale quando si incolla"
1345
- },
1346
1622
  "feature_command-palette_description": {
1347
1623
  "source": "Provides a command palette with search to access most UI features with a keyboard.",
1348
1624
  "translation": "Fornisce una tavolozza di comandi con ricerca per accedere alla maggior parte delle funzionalità dell'interfaccia con la tastiera."
@@ -2619,6 +2895,10 @@
2619
2895
  "source": "Successfully created template \"@label\"",
2620
2896
  "translation": ""
2621
2897
  },
2898
+ "textareaNewLineHint": {
2899
+ "source": "Shift + Enter for new line",
2900
+ "translation": ""
2901
+ },
2622
2902
  "theme": {
2623
2903
  "source": "Theme",
2624
2904
  "translation": ""
@@ -22,11 +22,12 @@ import type { FieldsProvider } from '../providers/fields.js';
22
22
  import type { ElementProvider } from '../providers/element.js';
23
23
  import type { CommandsProvider } from '../providers/commands.js';
24
24
  import type { TourProvider } from '../providers/tour.js';
25
- import type { DropAreaProvider } from '../providers/dropArea.js';
26
25
  import type { ThemeProvider } from '../providers/theme.js';
27
26
  import type { DefinitionProvider } from '../providers/definition.js';
28
27
  import type { PermissionsProvider } from '../providers/permissions.js';
29
28
  import type { AdaptersProvider } from '../providers/adapters.js';
29
+ import type { AnalyzeProvider } from '../providers/analyze.js';
30
+ import type { DragDropProvider } from '../providers/dragdrop.js';
30
31
  export interface BlokkliApp {
31
32
  /**
32
33
  * The adapter.
@@ -55,7 +56,6 @@ export interface BlokkliApp {
55
56
  theme: ThemeProvider;
56
57
  commands: CommandsProvider;
57
58
  tour: TourProvider;
58
- dropAreas: DropAreaProvider;
59
59
  debug: DebugProvider;
60
60
  indicators: IndicatorsProvider;
61
61
  plugins: PluginProvider;
@@ -63,4 +63,6 @@ export interface BlokkliApp {
63
63
  fields: FieldsProvider;
64
64
  icons: IconsProvider;
65
65
  permissions: PermissionsProvider;
66
+ analyze: AnalyzeProvider;
67
+ dragdrop: DragDropProvider;
66
68
  }
@@ -2,6 +2,7 @@ import type { RenderedFieldListItem } from './field.js';
2
2
  export interface DraggableExistingBlock {
3
3
  itemType: 'existing';
4
4
  block: RenderedFieldListItem;
5
+ isCopy?: boolean;
5
6
  }
6
7
  export interface DraggableItemTypes {
7
8
  existing: DraggableExistingBlock;
@@ -5,7 +5,7 @@ export type Message = {
5
5
  additional?: string | Error | unknown;
6
6
  replace?: boolean;
7
7
  };
8
- export type SidebarRegion = 'left' | 'right';
8
+ export type SidebarRegion = 'left' | 'right' | 'right-bottom';
9
9
  export type GlobalUiDialog = {
10
10
  id: string;
11
11
  alignment: 'left' | 'right' | 'center';
@@ -1,2 +1,9 @@
1
1
  import type { Component } from 'vue';
2
- export declare function getComponent(type: 'block' | 'fragment', bundle: string, fieldListType?: string, parentBundle?: string, allComponents?: Record<string, Component> | null): any;
2
+ import type { ValidFieldListTypes, ValidProviderTypes } from '#blokkli-build/generated-types';
3
+ type GetComponentContext = {
4
+ fieldListType?: ValidFieldListTypes;
5
+ parentBundle?: string;
6
+ providerType?: ValidProviderTypes;
7
+ };
8
+ export declare function getComponent(type: 'block' | 'fragment', bundleOrFragmentName: string, context: GetComponentContext, allComponents?: Record<string, Component> | null): any;
9
+ export {};
@@ -26,9 +26,9 @@ function objectOrImport(key) {
26
26
  }
27
27
  return item;
28
28
  }
29
- export function getComponent(type, bundle, fieldListType, parentBundle, allComponents) {
30
- if (fieldListType) {
31
- const key2 = `${type}:${bundle}__f:${fieldListType}`;
29
+ export function getComponent(type, bundleOrFragmentName, context, allComponents) {
30
+ if (context.providerType) {
31
+ const key2 = `${type}:${bundleOrFragmentName}__t:${context.providerType}`;
32
32
  if (allComponents && allComponents[key2]) {
33
33
  return allComponents[key2];
34
34
  }
@@ -36,8 +36,8 @@ export function getComponent(type, bundle, fieldListType, parentBundle, allCompo
36
36
  return objectOrImport(key2);
37
37
  }
38
38
  }
39
- if (parentBundle) {
40
- const key2 = `${type}:${bundle}__p:${parentBundle}`;
39
+ if (context.fieldListType) {
40
+ const key2 = `${type}:${bundleOrFragmentName}__f:${context.fieldListType}`;
41
41
  if (allComponents && allComponents[key2]) {
42
42
  return allComponents[key2];
43
43
  }
@@ -45,7 +45,16 @@ export function getComponent(type, bundle, fieldListType, parentBundle, allCompo
45
45
  return objectOrImport(key2);
46
46
  }
47
47
  }
48
- const key = `${type}:${bundle}`;
48
+ if (context.parentBundle) {
49
+ const key2 = `${type}:${bundleOrFragmentName}__p:${context.parentBundle}`;
50
+ if (allComponents && allComponents[key2]) {
51
+ return allComponents[key2];
52
+ }
53
+ if (chunkMapping[key2]) {
54
+ return objectOrImport(key2);
55
+ }
56
+ }
57
+ const key = `${type}:${bundleOrFragmentName}`;
49
58
  if (allComponents && allComponents[key]) {
50
59
  return allComponents[key];
51
60
  }
@@ -1,7 +1,7 @@
1
1
  import type { InjectionKey, ComputedRef, Component } from 'vue';
2
2
  import type { EntityContext } from './../types/index.js';
3
3
  import type { DebugLogger } from '#blokkli/editor/providers/debug';
4
- import type { FieldListItemTyped, ValidFieldListTypes } from '#blokkli-build/generated-types';
4
+ import type { FieldListItemTyped, ValidFieldListTypes, ValidProviderTypes } from '#blokkli-build/generated-types';
5
5
  import type DraggableListComponent from '../editor/components/DraggableList.vue.js';
6
6
  import type { BlokkliApp } from '#blokkli/editor/types/app';
7
7
  import type { MutatedField, MutatedItemProps, MutatedOptions } from '#blokkli/editor/types/state';
@@ -22,7 +22,7 @@ export declare const INJECT_APP: InjectionKey<BlokkliApp>;
22
22
  /**
23
23
  * The reduced edit context.
24
24
  */
25
- export declare const INJECT_EDIT_CONTEXT: InjectionKey<ItemEditContext>;
25
+ export declare const INJECT_EDIT_CONTEXT: InjectionKey<ItemEditContext | null>;
26
26
  /**
27
27
  * Whether we're currently editing (within the editor).
28
28
  */
@@ -99,6 +99,10 @@ export declare const INJECT_MUTATED_FIELDS_MAP: InjectionKey<Record<string, Muta
99
99
  * For nested blocks, the entity context will be the block that contains nested blocks.
100
100
  */
101
101
  export declare const INJECT_ENTITY_CONTEXT: InjectionKey<EntityContext>;
102
+ /**
103
+ * The current provider type.
104
+ */
105
+ export declare const INJECT_PROVIDER_TYPE: InjectionKey<ValidProviderTypes>;
102
106
  /**
103
107
  * The entity context of the provider.
104
108
  */
@@ -49,6 +49,9 @@ export const INJECT_MUTATED_FIELDS_MAP = Symbol(
49
49
  export const INJECT_ENTITY_CONTEXT = Symbol(
50
50
  "blokkli_entity_context"
51
51
  );
52
+ export const INJECT_PROVIDER_TYPE = Symbol(
53
+ "blokkli_provider_type"
54
+ );
52
55
  export const INJECT_PROVIDER_CONTEXT = Symbol(
53
56
  "blokkli_provider_context"
54
57
  );