@blokkli/editor 2.0.0-alpha.36 → 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 (218) hide show
  1. package/dist/global/types/blockOptions.d.ts +4 -3
  2. package/dist/module.d.mts +2 -2
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +71 -4
  5. package/dist/modules/agent/index.d.mts +1 -1
  6. package/dist/modules/agent/index.mjs +236 -6
  7. package/dist/modules/agent/runtime/app/composables/agentProvider.js +31 -14
  8. package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentTool.d.ts +2 -20
  9. package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentTool.js +0 -3
  10. package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.vue +2 -2
  11. package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.vue +1 -2
  12. package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.vue +1 -2
  13. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.d.vue.ts +1 -0
  14. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +66 -59
  15. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue.d.ts +1 -0
  16. package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue +10 -12
  17. package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/de.md +2 -2
  18. package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/en.md +2 -2
  19. package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +1 -5
  20. package/dist/modules/agent/runtime/app/features/agent/index.vue +89 -37
  21. package/dist/modules/agent/runtime/app/helpers/index.d.ts +16 -19
  22. package/dist/modules/agent/runtime/app/helpers/index.js +22 -46
  23. package/dist/modules/agent/runtime/app/helpers/pageStructure.js +1 -1
  24. package/dist/modules/agent/runtime/app/tools/add_content_search_paragraph/index.js +5 -9
  25. package/dist/modules/agent/runtime/app/tools/add_fragment/index.js +2 -6
  26. package/dist/modules/agent/runtime/app/tools/add_media_paragraph/index.js +2 -6
  27. package/dist/modules/agent/runtime/app/tools/add_paragraphs/index.js +2 -3
  28. package/dist/modules/agent/runtime/app/tools/add_reusable_paragraph/index.js +2 -6
  29. package/dist/modules/agent/runtime/app/tools/add_template/index.js +2 -6
  30. package/dist/modules/agent/runtime/app/tools/analyze_content/index.d.ts +2 -0
  31. package/dist/modules/agent/runtime/app/tools/analyze_content/index.js +120 -0
  32. package/dist/modules/agent/runtime/app/tools/check_readability/index.d.ts +2 -0
  33. package/dist/modules/agent/runtime/app/tools/check_readability/index.js +57 -0
  34. package/dist/modules/agent/runtime/app/tools/duplicate_paragraphs/index.js +2 -6
  35. package/dist/modules/agent/runtime/app/tools/get_all_page_content/index.js +1 -1
  36. package/dist/modules/agent/runtime/app/tools/get_bundle_info/index.js +2 -1
  37. package/dist/modules/agent/runtime/app/tools/get_content_fields/index.js +1 -1
  38. package/dist/modules/agent/runtime/app/tools/get_paragraph_context/index.js +2 -5
  39. package/dist/modules/agent/runtime/app/tools/get_paragraph_options/index.js +2 -1
  40. package/dist/modules/agent/runtime/app/tools/get_selected_paragraphs/index.js +2 -3
  41. package/dist/modules/agent/runtime/app/tools/helpers.d.ts +53 -0
  42. package/dist/modules/agent/runtime/app/tools/helpers.js +187 -0
  43. package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.js +2 -6
  44. package/dist/modules/agent/runtime/app/tools/schemas.d.ts +0 -52
  45. package/dist/modules/agent/runtime/app/tools/schemas.js +0 -187
  46. package/dist/modules/agent/runtime/app/tools/search_content/index.js +40 -47
  47. package/dist/modules/agent/runtime/app/tools/set_paragraph_options/index.js +2 -5
  48. package/dist/modules/agent/runtime/app/types/index.d.ts +0 -61
  49. package/dist/modules/agent/runtime/server/Session.d.ts +25 -6
  50. package/dist/modules/agent/runtime/server/Session.js +109 -30
  51. package/dist/modules/agent/runtime/server/SessionManager.d.ts +3 -0
  52. package/dist/modules/agent/runtime/server/SessionManager.js +4 -1
  53. package/dist/modules/agent/runtime/server/agent.js +3 -2
  54. package/dist/modules/agent/runtime/server/default-skills/fixReadability.d.ts +2 -0
  55. package/dist/modules/agent/runtime/server/default-skills/fixReadability.js +69 -0
  56. package/dist/modules/agent/runtime/server/default-system-prompts/page-context.js +28 -0
  57. package/dist/modules/agent/runtime/server/server-tools/index.d.ts +10 -2
  58. package/dist/modules/agent/runtime/server/server-tools/index.js +1 -1
  59. package/dist/modules/agent/runtime/server/server-tools/load_tools/index.js +1 -1
  60. package/dist/modules/agent/runtime/shared/types.d.ts +46 -11
  61. package/dist/modules/agent/runtime/shared/types.js +22 -10
  62. package/dist/modules/charts/index.d.mts +1 -1
  63. package/dist/modules/charts/index.mjs +21 -7
  64. package/dist/modules/charts/runtime/blokkli/skills/charts.js +6 -6
  65. package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.d.ts +25 -2
  66. package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.js +39 -1
  67. package/dist/modules/charts/runtime/blokkli/tools/create_chart/index.js +24 -17
  68. package/dist/modules/charts/runtime/blokkli/tools/get_chart_data/index.js +11 -19
  69. package/dist/modules/charts/runtime/blokkli/tools/get_chart_type_options/index.js +2 -4
  70. package/dist/modules/charts/runtime/blokkli/tools/update_chart/index.js +8 -20
  71. package/dist/modules/charts/runtime/chartTypes/area.d.ts +6 -1
  72. package/dist/modules/charts/runtime/chartTypes/bar.d.ts +7 -1
  73. package/dist/modules/charts/runtime/chartTypes/define.d.ts +1 -1
  74. package/dist/modules/charts/runtime/chartTypes/donut.d.ts +5 -1
  75. package/dist/modules/charts/runtime/chartTypes/heatmap.d.ts +3 -1
  76. package/dist/modules/charts/runtime/chartTypes/index.d.ts +18 -0
  77. package/dist/modules/charts/runtime/chartTypes/line.d.ts +6 -1
  78. package/dist/modules/charts/runtime/chartTypes/pie.d.ts +4 -1
  79. package/dist/modules/charts/runtime/chartTypes/radar.d.ts +6 -1
  80. package/dist/modules/charts/runtime/chartTypes/radialBar.d.ts +5 -1
  81. package/dist/modules/charts/runtime/chartTypes/shared.d.ts +20 -5
  82. package/dist/modules/charts/runtime/chartTypes/types.d.ts +6 -6
  83. package/dist/modules/charts/runtime/components/ChartRenderer/index.d.vue.ts +145 -2
  84. package/dist/modules/charts/runtime/components/ChartRenderer/index.vue +2 -2
  85. package/dist/modules/charts/runtime/components/ChartRenderer/index.vue.d.ts +145 -2
  86. package/dist/modules/charts/runtime/components/index.d.ts +1 -0
  87. package/dist/modules/charts/runtime/components/index.js +1 -0
  88. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.d.vue.ts +3 -2
  89. package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue.d.ts +3 -2
  90. package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue +1 -2
  91. package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue +1 -1
  92. package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.d.vue.ts +2 -0
  93. package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue +35 -13
  94. package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue.d.ts +2 -0
  95. package/dist/modules/charts/runtime/features/charts/Editor/index.d.vue.ts +1 -0
  96. package/dist/modules/charts/runtime/features/charts/Editor/index.vue +9 -3
  97. package/dist/modules/charts/runtime/features/charts/Editor/index.vue.d.ts +1 -0
  98. package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.js +1 -1
  99. package/dist/modules/charts/runtime/features/charts/index.vue +6 -6
  100. package/dist/modules/charts/runtime/helpers/index.d.ts +25 -0
  101. package/dist/modules/charts/runtime/helpers/index.js +63 -0
  102. package/dist/modules/charts/runtime/types.d.ts +10 -28
  103. package/dist/modules/charts/runtime/types.js +0 -64
  104. package/dist/modules/drupal/index.d.mts +1 -1
  105. package/dist/modules/drupal/runtime/adapter/index.d.ts +3 -1
  106. package/dist/modules/drupal/runtime/adapter/index.js +4 -4
  107. package/dist/modules/table-of-contents/index.d.mts +1 -1
  108. package/dist/runtime/components/BlokkliItem.vue +1 -1
  109. package/dist/runtime/composables/defineBlokkli.js +1 -1
  110. package/dist/runtime/editor/components/AnimationCanvas/index.vue +13 -7
  111. package/dist/runtime/editor/components/Banner/index.d.vue.ts +1 -0
  112. package/dist/runtime/editor/components/Banner/index.vue +1 -1
  113. package/dist/runtime/editor/components/Banner/index.vue.d.ts +1 -0
  114. package/dist/runtime/editor/components/DropdownItem/index.d.vue.ts +1 -0
  115. package/dist/runtime/editor/components/DropdownItem/index.vue +3 -2
  116. package/dist/runtime/editor/components/DropdownItem/index.vue.d.ts +1 -0
  117. package/dist/runtime/editor/components/EditProvider.vue +7 -4
  118. package/dist/runtime/editor/components/FlexTextarea/index.d.vue.ts +5 -1
  119. package/dist/runtime/editor/components/FlexTextarea/index.vue +24 -101
  120. package/dist/runtime/editor/components/FlexTextarea/index.vue.d.ts +5 -1
  121. package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +28 -9
  122. package/dist/runtime/editor/components/Popup/index.d.vue.ts +30 -0
  123. package/dist/runtime/editor/components/Popup/index.vue +82 -0
  124. package/dist/runtime/editor/components/Popup/index.vue.d.ts +30 -0
  125. package/dist/runtime/editor/components/Resizable/index.vue +4 -1
  126. package/dist/runtime/editor/components/Toolbar/index.vue +107 -6
  127. package/dist/runtime/editor/components/index.d.ts +4 -3
  128. package/dist/runtime/editor/components/index.js +6 -4
  129. package/dist/runtime/editor/composables/defineDropAreas.js +3 -3
  130. package/dist/runtime/editor/composables/defineDropHandler.d.ts +3 -0
  131. package/dist/runtime/editor/composables/defineDropHandler.js +10 -0
  132. package/dist/runtime/editor/composables/index.d.ts +1 -0
  133. package/dist/runtime/editor/composables/index.js +1 -0
  134. package/dist/runtime/editor/css/output.css +1 -1
  135. package/dist/runtime/editor/events/index.d.ts +9 -0
  136. package/dist/runtime/editor/features/add-list/index.vue +58 -1
  137. package/dist/runtime/editor/features/analyze/Main.d.vue.ts +3 -2
  138. package/dist/runtime/editor/features/analyze/Main.vue +28 -44
  139. package/dist/runtime/editor/features/analyze/Main.vue.d.ts +3 -2
  140. package/dist/runtime/editor/features/analyze/analyzers/readability.js +65 -0
  141. package/dist/runtime/editor/features/analyze/analyzers/types.d.ts +19 -0
  142. package/dist/runtime/editor/features/analyze/index.vue +18 -15
  143. package/dist/runtime/editor/features/clipboard/DropElement/Video.d.vue.ts +8 -0
  144. package/dist/runtime/editor/features/clipboard/{List/Item → DropElement}/Video.vue +1 -5
  145. package/dist/runtime/editor/features/clipboard/DropElement/Video.vue.d.ts +8 -0
  146. package/dist/runtime/editor/features/clipboard/DropElement/helpers.d.ts +1 -0
  147. package/dist/runtime/editor/features/clipboard/DropElement/helpers.js +14 -0
  148. package/dist/runtime/editor/features/clipboard/DropElement/index.d.vue.ts +16 -0
  149. package/dist/runtime/editor/features/clipboard/DropElement/index.vue +97 -0
  150. package/dist/runtime/editor/features/clipboard/DropElement/index.vue.d.ts +16 -0
  151. package/dist/runtime/editor/features/clipboard/helpers.d.ts +15 -0
  152. package/dist/runtime/editor/features/clipboard/helpers.js +62 -0
  153. package/dist/runtime/editor/features/clipboard/index.vue +585 -337
  154. package/dist/runtime/editor/features/clipboard/types.d.ts +14 -2
  155. package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +17 -5
  156. package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +2 -2
  157. package/dist/runtime/editor/features/dragging-overlay/index.vue +125 -219
  158. package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue +4 -4
  159. package/dist/runtime/editor/features/editable-field/Overlay/index.vue +6 -0
  160. package/dist/runtime/editor/features/library/index.vue +14 -0
  161. package/dist/runtime/editor/features/media-library/index.vue +32 -1
  162. package/dist/runtime/editor/features/options/Form/ComplexType/index.d.vue.ts +11 -0
  163. package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +36 -0
  164. package/dist/runtime/editor/features/options/Form/ComplexType/index.vue.d.ts +11 -0
  165. package/dist/runtime/editor/features/options/Form/Item.d.vue.ts +3 -2
  166. package/dist/runtime/editor/features/options/Form/Item.vue +10 -2
  167. package/dist/runtime/editor/features/options/Form/Item.vue.d.ts +3 -2
  168. package/dist/runtime/editor/features/options/Form/index.vue +5 -0
  169. package/dist/runtime/editor/features/search/index.vue +25 -1
  170. package/dist/runtime/editor/features/structure/index.vue +25 -1
  171. package/dist/runtime/editor/features/tour/index.vue +22 -12
  172. package/dist/runtime/editor/helpers/clipboardData/index.d.ts +11 -0
  173. package/dist/runtime/editor/helpers/clipboardData/index.js +157 -0
  174. package/dist/runtime/editor/helpers/options/index.js +5 -0
  175. package/dist/runtime/editor/icons/svg/stars.svg +5 -1
  176. package/dist/runtime/editor/plugins/Sidebar/Detached/index.d.vue.ts +1 -1
  177. package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue.d.ts +1 -1
  178. package/dist/runtime/editor/plugins/Sidebar/index.d.vue.ts +14 -3
  179. package/dist/runtime/editor/plugins/Sidebar/index.vue +4 -2
  180. package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +14 -3
  181. package/dist/runtime/editor/providers/analyze.d.ts +43 -0
  182. package/dist/runtime/editor/providers/analyze.js +78 -0
  183. package/dist/runtime/editor/providers/animation.d.ts +4 -0
  184. package/dist/runtime/editor/providers/animation.js +6 -0
  185. package/dist/runtime/editor/providers/dragdrop.d.ts +55 -0
  186. package/dist/runtime/editor/providers/dragdrop.js +37 -0
  187. package/dist/runtime/editor/providers/storage.js +15 -0
  188. package/dist/runtime/editor/providers/ui.d.ts +6 -0
  189. package/dist/runtime/editor/providers/ui.js +19 -0
  190. package/dist/runtime/editor/translations/de.json +73 -61
  191. package/dist/runtime/editor/translations/fr.json +67 -55
  192. package/dist/runtime/editor/translations/gsw_CH.json +71 -59
  193. package/dist/runtime/editor/translations/it.json +67 -55
  194. package/dist/runtime/editor/types/app.d.ts +4 -2
  195. package/dist/runtime/editor/types/draggable.d.ts +1 -0
  196. package/dist/runtime/editor/types/ui.d.ts +1 -1
  197. package/dist/runtime/helpers/injections.d.ts +1 -1
  198. package/dist/runtime/types/blockOptions.d.ts +2 -1
  199. package/dist/runtime/types/definitions.d.ts +4 -0
  200. package/dist/shared/{editor.CWQIFIEQ.d.mts → editor.BdBm1Z7C.d.mts} +12 -0
  201. package/dist/types.d.mts +1 -1
  202. package/package.json +5 -3
  203. package/dist/modules/charts/runtime/components/Fragment/BlokkliChart.d.vue.ts +0 -3
  204. package/dist/modules/charts/runtime/components/Fragment/BlokkliChart.vue +0 -29
  205. package/dist/modules/charts/runtime/components/Fragment/BlokkliChart.vue.d.ts +0 -3
  206. package/dist/runtime/editor/features/clipboard/List/Item/File.d.vue.ts +0 -4
  207. package/dist/runtime/editor/features/clipboard/List/Item/File.vue +0 -60
  208. package/dist/runtime/editor/features/clipboard/List/Item/File.vue.d.ts +0 -4
  209. package/dist/runtime/editor/features/clipboard/List/Item/Video.d.vue.ts +0 -4
  210. package/dist/runtime/editor/features/clipboard/List/Item/Video.vue.d.ts +0 -4
  211. package/dist/runtime/editor/features/clipboard/List/index.d.vue.ts +0 -11
  212. package/dist/runtime/editor/features/clipboard/List/index.vue +0 -72
  213. package/dist/runtime/editor/features/clipboard/List/index.vue.d.ts +0 -11
  214. package/dist/runtime/editor/features/tour/Popup/index.d.vue.ts +0 -9
  215. package/dist/runtime/editor/features/tour/Popup/index.vue +0 -34
  216. package/dist/runtime/editor/features/tour/Popup/index.vue.d.ts +0 -9
  217. package/dist/runtime/editor/providers/dropArea.d.ts +0 -48
  218. package/dist/runtime/editor/providers/dropArea.js +0 -22
@@ -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": ""
@@ -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": ""
@@ -295,6 +315,10 @@
295
315
  "source": "An unexpected error occurred.",
296
316
  "translation": ""
297
317
  },
318
+ "aiAgentExpandButton": {
319
+ "source": "Show more",
320
+ "translation": ""
321
+ },
298
322
  "aiAgentFindBlocksDone": {
299
323
  "source": "Found @count blocks",
300
324
  "translation": ""
@@ -427,6 +451,14 @@
427
451
  "source": "Navigating history...",
428
452
  "translation": ""
429
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
+ },
430
462
  "aiAgentLoadSkill": {
431
463
  "source": "Using skill \"@label\"",
432
464
  "translation": ""
@@ -435,10 +467,6 @@
435
467
  "source": "@count tools loaded",
436
468
  "translation": ""
437
469
  },
438
- "aiAgentMoreOptions": {
439
- "source": "More options",
440
- "translation": ""
441
- },
442
470
  "aiAgentMoveBlockDone": {
443
471
  "source": "Moved @bundle",
444
472
  "translation": ""
@@ -455,10 +483,6 @@
455
483
  "source": "Start new conversation",
456
484
  "translation": ""
457
485
  },
458
- "aiAgentNewLineHint": {
459
- "source": "Shift + Enter for new line",
460
- "translation": ""
461
- },
462
486
  "aiAgentNoConversations": {
463
487
  "source": "No past conversations.",
464
488
  "translation": ""
@@ -483,6 +507,10 @@
483
507
  "source": "Plan completed: @label",
484
508
  "translation": ""
485
509
  },
510
+ "aiAgentPopupTitle": {
511
+ "source": "AI-Assistant",
512
+ "translation": ""
513
+ },
486
514
  "aiAgentProcessing": {
487
515
  "source": "Processing...",
488
516
  "translation": ""
@@ -527,6 +555,10 @@
527
555
  "source": "Retry",
528
556
  "translation": ""
529
557
  },
558
+ "aiAgentSearchContentRunning": {
559
+ "source": "Searching content...",
560
+ "translation": ""
561
+ },
530
562
  "aiAgentSearchLibraryDone": {
531
563
  "source": "Searched library",
532
564
  "translation": ""
@@ -707,6 +739,10 @@
707
739
  "source": "Click the button above to run the analysis.",
708
740
  "translation": ""
709
741
  },
742
+ "analyzeKeepVisible": {
743
+ "source": "Keep results visible",
744
+ "translation": ""
745
+ },
710
746
  "analyzeLastRun": {
711
747
  "source": "Last run: @time",
712
748
  "translation": ""
@@ -1023,6 +1059,10 @@
1023
1059
  "source": "Show total",
1024
1060
  "translation": "Mostra totale"
1025
1061
  },
1062
+ "chartsEditButton": {
1063
+ "source": "Edit chart...",
1064
+ "translation": ""
1065
+ },
1026
1066
  "chartsEditorSaveError": {
1027
1067
  "source": "The chart could not be saved.",
1028
1068
  "translation": ""
@@ -1095,10 +1135,6 @@
1095
1135
  "source": "Preview",
1096
1136
  "translation": ""
1097
1137
  },
1098
- "chartsPreviewPlaceholder": {
1099
- "source": "Click \"Refresh Preview\" to see the chart.",
1100
- "translation": ""
1101
- },
1102
1138
  "chartsRadarFillOpacity": {
1103
1139
  "source": "Fill opacity",
1104
1140
  "translation": "Opacità riempimento"
@@ -1183,21 +1219,13 @@
1183
1219
  "source": "Clear input",
1184
1220
  "translation": ""
1185
1221
  },
1186
- "clipboard": {
1187
- "source": "Clipboard",
1188
- "translation": "Appunti"
1189
- },
1190
1222
  "clipboardCopyShortcutHelp": {
1191
1223
  "source": "Copy selected blocks",
1192
1224
  "translation": ""
1193
1225
  },
1194
- "clipboardEmpty": {
1195
- "source": "No items in the clipboard",
1196
- "translation": "Nessun elemento negli appunti"
1197
- },
1198
- "clipboardExplanation": {
1199
- "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>",
1200
- "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>"
1226
+ "clipboardNoCommonBundle": {
1227
+ "source": "No common block type for these files.",
1228
+ "translation": ""
1201
1229
  },
1202
1230
  "clipboardPasteDescription": {
1203
1231
  "source": "Paste blocks from clipboard",
@@ -1207,40 +1235,28 @@
1207
1235
  "source": "Failed to paste:",
1208
1236
  "translation": ""
1209
1237
  },
1210
- "clipboardPasteErrorAllowedBundlesMultiple": {
1211
- "source": "Block types (@types) are not allowed here.",
1212
- "translation": ""
1213
- },
1214
- "clipboardPasteErrorAllowedBundlesSingle": {
1215
- "source": "Block type \"@types\" is not allowed here.",
1216
- "translation": ""
1217
- },
1218
- "clipboardPasteErrorAllowedFragmentsMultiple": {
1219
- "source": "Fragments (@types) are not allowed here.",
1238
+ "clipboardPasteShortcutHelp": {
1239
+ "source": "Paste text, image or copied blocks",
1220
1240
  "translation": ""
1221
1241
  },
1222
- "clipboardPasteErrorAllowedFragmentsSingle": {
1223
- "source": "Fragment \"@types\" is not allowed here.",
1242
+ "clipboardTypeFile": {
1243
+ "source": "File",
1224
1244
  "translation": ""
1225
1245
  },
1226
- "clipboardPasteErrorCardinality": {
1227
- "source": "This field only allows up to @count blocks.",
1246
+ "clipboardTypeImage": {
1247
+ "source": "Image",
1228
1248
  "translation": ""
1229
1249
  },
1230
- "clipboardPasteErrorOneField": {
1231
- "source": "Pasting is only possible into one field at a time.",
1250
+ "clipboardTypeText": {
1251
+ "source": "Text",
1232
1252
  "translation": ""
1233
1253
  },
1234
- "clipboardPastePlaceholder": {
1235
- "source": "Paste text or media here",
1236
- "translation": "Paste text or media here"
1237
- },
1238
- "clipboardPasteShortcutHelp": {
1239
- "source": "Paste text, image or copied blocks",
1254
+ "clipboardTypeVideo": {
1255
+ "source": "Video",
1240
1256
  "translation": ""
1241
1257
  },
1242
- "clipboardTourText": {
1243
- "source": "Drag and drop content pasted from your clipboard into the page to create a matching block.",
1258
+ "clipboardUnsupportedFileType": {
1259
+ "source": "This file type is not supported.",
1244
1260
  "translation": ""
1245
1261
  },
1246
1262
  "close": {
@@ -1603,14 +1619,6 @@
1603
1619
  "source": "Clipboard",
1604
1620
  "translation": "Appunti"
1605
1621
  },
1606
- "feature_clipboard_setting_openSidebarOnPaste_description": {
1607
- "source": "Automatically opens the sidebar when pasting content from the clipboard.",
1608
- "translation": "Apre automaticamente la barra laterale quando si incolla contenuto dagli appunti."
1609
- },
1610
- "feature_clipboard_setting_openSidebarOnPaste_label": {
1611
- "source": "Open sidebar when pasting",
1612
- "translation": "Apri barra laterale quando si incolla"
1613
- },
1614
1622
  "feature_command-palette_description": {
1615
1623
  "source": "Provides a command palette with search to access most UI features with a keyboard.",
1616
1624
  "translation": "Fornisce una tavolozza di comandi con ricerca per accedere alla maggior parte delle funzionalità dell'interfaccia con la tastiera."
@@ -2887,6 +2895,10 @@
2887
2895
  "source": "Successfully created template \"@label\"",
2888
2896
  "translation": ""
2889
2897
  },
2898
+ "textareaNewLineHint": {
2899
+ "source": "Shift + Enter for new line",
2900
+ "translation": ""
2901
+ },
2890
2902
  "theme": {
2891
2903
  "source": "Theme",
2892
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';
@@ -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
  */
@@ -1,3 +1,4 @@
1
1
  import type { BlokkliIcon } from '#blokkli-build/icons';
2
+ import type { ComplexOptionTypeMap } from '#blokkli-build/complex-option-types';
2
3
  import type { BlockOptionDefinitionBase } from '../../global/types/blockOptions.js';
3
- export type BlockOptionDefinition = BlockOptionDefinitionBase<BlokkliIcon>;
4
+ export type BlockOptionDefinition = BlockOptionDefinitionBase<BlokkliIcon, keyof ComplexOptionTypeMap>;
@@ -5,6 +5,7 @@ import type { BlockBundleWithNested, FieldListItemTyped, GlobalOptionsKey, Valid
5
5
  import type { BlockDefinitionInputBase, BlockDefinitionRenderForBase, BlockDefinitionRenderForFieldListBase, BlockDefinitionRenderForFieldListTypeBase, BlockDefinitionRenderForParentBase, BlockDefinitionRenderForProviderTypeBase, BlokkliDefinitionInputEditorBase, FragmentDefinitionInputBase, ProviderDefinitionInputBase } from './../../global/types/definitions.js';
6
6
  import type { GlobalOptionsType } from '#blokkli-build/definitions';
7
7
  import type { BlokkliIcon } from '#blokkli-build/icons';
8
+ import type { ComplexOptionTypeMap } from '#blokkli-build/complex-option-types';
8
9
  import type { BlokkliProviderEntityContext } from './provider.js';
9
10
  type GetType<T> = T extends {
10
11
  options: infer O;
@@ -18,6 +19,9 @@ type GetType<T> = T extends {
18
19
  type: 'number';
19
20
  } ? number : T extends {
20
21
  type: 'json';
22
+ dataType: infer D;
23
+ } ? D extends keyof ComplexOptionTypeMap ? ComplexOptionTypeMap[D] : any : T extends {
24
+ type: 'json';
21
25
  } ? any : string;
22
26
  export type BlockDefinitionOptionsInput = {
23
27
  [key: string]: BlockOptionDefinition;
@@ -526,6 +526,14 @@ interface AdapterExtensionDefinition {
526
526
  namespace: string;
527
527
  path: string;
528
528
  }
529
+ interface ComplexOptionTypeDefinition {
530
+ id: string;
531
+ typeName: string;
532
+ typePath: string;
533
+ editorComponentPath: string;
534
+ editorButtonLabel: string;
535
+ editorIcon: string;
536
+ }
529
537
  declare class ModuleContext {
530
538
  helper: ModuleHelper;
531
539
  icons: IconCollector;
@@ -536,10 +544,13 @@ declare class ModuleContext {
536
544
  private templateContents;
537
545
  private adapterExtensions;
538
546
  private featureFragments;
547
+ private complexOptionTypes;
539
548
  collectors: Collector[];
540
549
  constructor(helper: ModuleHelper, icons: IconCollector, features: FeatureCollector, blocks: BlockCollector, theme: ThemeData);
541
550
  addFeatureFragment(name: string): void;
542
551
  getFeatureFragmentNames(): string[];
552
+ registerComplexOptionType(def: ComplexOptionTypeDefinition): void;
553
+ getComplexOptionTypes(): ComplexOptionTypeDefinition[];
543
554
  registerAdapterExtension(namespace: string, path: string): void;
544
555
  getAdapterExtensions(): AdapterExtensionDefinition[];
545
556
  addCollector(collector: Collector): void;
@@ -565,6 +576,7 @@ declare class ModuleContext {
565
576
  type Blokkli = {
566
577
  helper: ModuleHelper;
567
578
  context: ModuleContext;
579
+ $t: (key: string, defaultText: string) => string;
568
580
  };
569
581
  type BlokkliModuleInit<O extends object> = {
570
582
  alterOptions?: (options: ModuleOptions) => void;
package/dist/types.d.mts CHANGED
@@ -4,6 +4,6 @@ declare module '@nuxt/schema' {
4
4
  interface NuxtHooks extends ModuleHooks {}
5
5
  }
6
6
 
7
- export { type ModuleHooks } from './shared/editor.CWQIFIEQ.mjs'
7
+ export { type ModuleHooks } from './shared/editor.BdBm1Z7C.mjs'
8
8
 
9
9
  export { type ModuleOptions, default } from './module.mjs'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blokkli/editor",
3
- "version": "2.0.0-alpha.36",
3
+ "version": "2.0.0-alpha.37",
4
4
  "description": "Interactive page building experience for Nuxt",
5
5
  "keywords": [
6
6
  "cms",
@@ -84,7 +84,7 @@
84
84
  "dev:minimal": "nuxi dev playground-minimal --host",
85
85
  "styles:build": "postcss ./css/index.css -o ./src/runtime/editor/css/output.css",
86
86
  "styles:watch": "postcss ./css/index.css -o ./src/runtime/editor/css/output.css --watch",
87
- "dev:build": "npm run dev:prepare && nuxi generate playground",
87
+ "dev:build": "npm run dev:prepare && nuxt build playground",
88
88
  "dev:start": "npx serve playground/.output/public",
89
89
  "dev:prepare": "PLAYGROUND_MODULE_BUILD=true nuxt-module-build build --stub && PLAYGROUND_MODULE_BUILD=true nuxt-module-build prepare && nuxi prepare playground",
90
90
  "release": "npm run lint && npm run prepack && changelogen --release",
@@ -105,7 +105,7 @@
105
105
  "@material-symbols/svg-600": "0.40.2",
106
106
  "@nuxt/kit": "^4.2.2",
107
107
  "apexcharts": "^5.4.0",
108
- "artboard-deluxe": "0.1.3",
108
+ "artboard-deluxe": "^0.1.4",
109
109
  "estree-walker-ts": "^1.1.0",
110
110
  "fzf": "^0.5.2",
111
111
  "get-video-id": "^4.1.7",
@@ -173,7 +173,9 @@
173
173
  "peerDependencies": {
174
174
  "@anthropic-ai/sdk": "^0.71.2",
175
175
  "@lunarisapp/readability": "^1.0.2",
176
+ "acorn": "^8.0.0",
176
177
  "axe-core": "^4.10.0",
178
+ "esbuild": ">=0.20.0",
177
179
  "magic-string": "^0.30.0",
178
180
  "micromatch": "^4.0.0",
179
181
  "openai": "^4.0.0",
@@ -1,3 +0,0 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- declare const _default: typeof __VLS_export;
3
- export default _default;
@@ -1,29 +0,0 @@
1
- <template>
2
- <div class="blokkli-fragment-chart">
3
- <ChartRenderer v-if="data && data.series?.length > 0" v-bind="data" />
4
- <div v-else>Missing chart data.</div>
5
- </div>
6
- </template>
7
-
8
- <script setup>
9
- import { defineBlokkliFragment, computed } from "#imports";
10
- import ChartRenderer from "./../ChartRenderer/index.vue";
11
- const { options } = defineBlokkliFragment({
12
- name: "blokkli_chart",
13
- label: "Chart",
14
- description: "Create interactive charts.",
15
- editor: {
16
- previewWidth: 1200
17
- },
18
- options: {
19
- data: {
20
- type: "json",
21
- label: "The chart data.",
22
- default: "{}"
23
- }
24
- }
25
- });
26
- const data = computed(() => {
27
- return options.value.data;
28
- });
29
- </script>
@@ -1,3 +0,0 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- declare const _default: typeof __VLS_export;
3
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { ClipboardItemFile } from '../../types.js';
2
- declare const __VLS_export: import("vue").DefineComponent<ClipboardItemFile, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ClipboardItemFile> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
- declare const _default: typeof __VLS_export;
4
- export default _default;
@@ -1,60 +0,0 @@
1
- <template>
2
- <div class="bk-clipboard-item-file">
3
- <div class="bk-clipboard-item-file-lines">
4
- <div
5
- v-for="n in 10"
6
- :key="n"
7
- :style="{
8
- width: Math.max(Math.min(prng(n + fileSize) * 230, 100), 40) + '%'
9
- }"
10
- />
11
- </div>
12
- <h3>{{ fileName }}</h3>
13
- <ul>
14
- <li>{{ extension }}</li>
15
- <li>{{ fileSizeReadable }}</li>
16
- </ul>
17
- </div>
18
- </template>
19
-
20
- <script setup>
21
- import { computed } from "#imports";
22
- const props = defineProps({
23
- type: { type: String, required: true },
24
- id: { type: String, required: true },
25
- itemBundle: { type: String, required: true },
26
- data: { type: String, required: true },
27
- additional: { type: String, required: true },
28
- fileName: { type: String, required: true },
29
- fileSize: { type: Number, required: true },
30
- fileType: { type: String, required: true }
31
- });
32
- function prng(seed) {
33
- seed = (seed ^ 1831565813) + (seed << 1);
34
- seed = seed ^ seed >> 15;
35
- seed = seed + (seed << 4);
36
- seed = seed ^ seed >> 13;
37
- seed = seed * 2246822507;
38
- seed = seed ^ seed >> 16;
39
- seed = seed >>> 0;
40
- return seed / 4294967296;
41
- }
42
- function humanFileSize(bytes, si = false, dp = 1) {
43
- const thresh = si ? 1e3 : 1024;
44
- if (Math.abs(bytes) < thresh) {
45
- return bytes + " B";
46
- }
47
- const units = si ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
48
- let u = -1;
49
- const r = 10 ** dp;
50
- do {
51
- bytes /= thresh;
52
- ++u;
53
- } while (Math.round(Math.abs(bytes) * r) / r >= thresh && u < units.length - 1);
54
- return bytes.toFixed(dp) + " " + units[u];
55
- }
56
- const fileSizeReadable = computed(() => humanFileSize(props.fileSize));
57
- const extension = computed(() => {
58
- return (props.fileType.split("/")[1] || props.fileType || "").toUpperCase();
59
- });
60
- </script>
@@ -1,4 +0,0 @@
1
- import type { ClipboardItemFile } from '../../types.js';
2
- declare const __VLS_export: import("vue").DefineComponent<ClipboardItemFile, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ClipboardItemFile> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
- declare const _default: typeof __VLS_export;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { ClipboardItemVideo } from '../../types.js';
2
- declare const __VLS_export: import("vue").DefineComponent<ClipboardItemVideo, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ClipboardItemVideo> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
- declare const _default: typeof __VLS_export;
4
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { ClipboardItemVideo } from '../../types.js';
2
- declare const __VLS_export: import("vue").DefineComponent<ClipboardItemVideo, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ClipboardItemVideo> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
- declare const _default: typeof __VLS_export;
4
- export default _default;
@@ -1,11 +0,0 @@
1
- import type { BlokkliClipboardItem } from '../types.js';
2
- type __VLS_Props = {
3
- items: BlokkliClipboardItem[];
4
- };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
- remove: (index: number) => any;
7
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
- onRemove?: ((index: number) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
- declare const _default: typeof __VLS_export;
11
- export default _default;
@@ -1,72 +0,0 @@
1
- <template>
2
- <Sortli class="bk-clipboard-list" :build-item>
3
- <div
4
- v-for="(item, index) in items"
5
- :key="index + item.data + renderKey"
6
- class="bk-parent bk-sidebar-padding bk-clipboard-list-item"
7
- :data-sortli-id="index"
8
- >
9
- <div class="bk-clipboard-item">
10
- <div class="bk bk-clipboard-item-header">
11
- <div class="bk-blokkli-item-label">
12
- <div class="bk-blokkli-item-label-icon">
13
- <ItemIcon :bundle="item.itemBundle" />
14
- </div>
15
- <span>{{ getLabel(item.itemBundle) }}</span>
16
- </div>
17
- <button @click.prevent.stop.capture="$emit('remove', index)">
18
- <Icon name="bk_mdi_delete" />
19
- </button>
20
- </div>
21
- <div>
22
- <div
23
- v-if="item.type === 'text'"
24
- class="bk-clipboard-item-inner"
25
- v-html="item.data"
26
- />
27
- <ClipboardItemVideo v-if="item.type === 'video'" v-bind="item" />
28
- <div
29
- v-else-if="item.type === 'image'"
30
- class="bk-clipboard-item-image"
31
- >
32
- <img :src="item.data" />
33
- </div>
34
- <ClipboardItemFile v-else-if="item.type === 'file'" v-bind="item" />
35
- </div>
36
- </div>
37
- </div>
38
- </Sortli>
39
- </template>
40
-
41
- <script setup>
42
- import { ref, useBlokkli } from "#imports";
43
- import { ItemIcon, Icon, Sortli } from "#blokkli/editor/components";
44
- import ClipboardItemVideo from "./Item/Video.vue";
45
- import ClipboardItemFile from "./Item/File.vue";
46
- const renderKey = ref(0);
47
- const props = defineProps({
48
- items: { type: Array, required: true }
49
- });
50
- defineEmits(["remove"]);
51
- const { types } = useBlokkli();
52
- function getLabel(bundle) {
53
- return types.getBlockBundleDefinition(bundle)?.label || bundle;
54
- }
55
- function buildItem(element) {
56
- if (!element.dataset.sortliId) {
57
- return;
58
- }
59
- const index = Number.parseInt(element.dataset.sortliId);
60
- const item = props.items[index];
61
- if (!item) {
62
- return;
63
- }
64
- return {
65
- itemType: "clipboard",
66
- element: () => element,
67
- itemBundle: item.itemBundle,
68
- additional: item.additional,
69
- clipboardId: item.id
70
- };
71
- }
72
- </script>
@@ -1,11 +0,0 @@
1
- import type { BlokkliClipboardItem } from '../types.js';
2
- type __VLS_Props = {
3
- items: BlokkliClipboardItem[];
4
- };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
6
- remove: (index: number) => any;
7
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
8
- onRemove?: ((index: number) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
- declare const _default: typeof __VLS_export;
11
- export default _default;
@@ -1,9 +0,0 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
- start: (...args: any[]) => void;
3
- close: (...args: any[]) => void;
4
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
5
- onStart?: ((...args: any[]) => any) | undefined;
6
- onClose?: ((...args: any[]) => any) | undefined;
7
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
- declare const _default: typeof __VLS_export;
9
- export default _default;