@blokkli/editor 2.0.0-alpha.5 → 2.0.0-alpha.51
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.
- package/dist/chunks/tailwindConfig.mjs +222 -0
- package/dist/global/constants/index.d.ts +7 -0
- package/dist/global/constants/index.js +11 -0
- package/dist/global/types/adapter.d.ts +6 -0
- package/dist/global/types/blockOptions.d.ts +372 -0
- package/dist/global/types/definitions.d.ts +285 -0
- package/dist/global/types/features.d.ts +91 -0
- package/dist/global/types/theme.d.ts +34 -0
- package/dist/module.d.mts +8 -12
- package/dist/module.json +5 -5
- package/dist/module.mjs +1625 -5702
- package/dist/modules/agent/index.d.mts +72 -0
- package/dist/modules/agent/index.mjs +764 -0
- package/dist/modules/agent/runtime/app/composables/agentProvider.d.ts +61 -0
- package/dist/modules/agent/runtime/app/composables/agentProvider.js +1040 -0
- package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentPrompt.d.ts +32 -0
- package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentPrompt.js +6 -0
- package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentTool.d.ts +47 -0
- package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentTool.js +3 -0
- package/dist/modules/agent/runtime/app/composables/index.d.ts +4 -0
- package/dist/modules/agent/runtime/app/composables/index.js +2 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCode/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCode/index.vue +9 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCode/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCsv/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCsv/index.vue +31 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCsv/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewHtml/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewHtml/index.vue +12 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewHtml/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewMarkdown/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewMarkdown/index.vue +17 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewMarkdown/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/index.d.vue.ts +12 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/index.vue +92 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/index.vue.d.ts +12 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.d.vue.ts +9 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.vue +38 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.vue.d.ts +9 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Error/index.d.vue.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Error/index.vue +68 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Error/index.vue.d.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/ServerTool/index.d.vue.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/ServerTool/index.vue +74 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/ServerTool/index.vue.d.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.d.vue.ts +16 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.vue +61 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.vue.d.ts +16 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Unknown/index.d.vue.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Unknown/index.vue +17 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Unknown/index.vue.d.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.d.vue.ts +11 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.vue +28 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.vue.d.ts +11 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/index.d.vue.ts +13 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/index.vue +46 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/index.vue.d.ts +13 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Thinking/index.d.vue.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Thinking/index.vue +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Thinking/index.vue.d.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/index.d.vue.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/index.vue +49 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/index.vue.d.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.d.vue.ts +15 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.vue +50 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.vue.d.ts +15 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.d.vue.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.vue +161 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.vue.d.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.d.vue.ts +17 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue +230 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue.d.ts +17 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/index.d.vue.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/index.vue +67 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/index.vue.d.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.d.vue.ts +24 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +90 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue.d.ts +24 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.d.vue.ts +47 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue +115 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue.d.ts +47 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/PendingMutation/index.d.vue.ts +15 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/PendingMutation/index.vue +47 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/PendingMutation/index.vue.d.ts +15 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Plan/index.d.vue.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Plan/index.vue +55 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Plan/index.vue.d.ts +14 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.d.vue.ts +25 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue +36 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue.d.ts +25 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/de.md +19 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/en.md +18 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/index.d.vue.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/index.vue +44 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/index.vue.d.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.d.vue.ts +59 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +295 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue.d.ts +59 -0
- package/dist/modules/agent/runtime/app/features/agent/Transcript/index.d.vue.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/Transcript/index.vue +171 -0
- package/dist/modules/agent/runtime/app/features/agent/Transcript/index.vue.d.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/index.d.vue.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/index.vue +244 -0
- package/dist/modules/agent/runtime/app/features/agent/index.vue.d.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/types.d.ts +54 -0
- package/dist/modules/agent/runtime/app/features/agent/types.js +0 -0
- package/dist/modules/agent/runtime/app/helpers/index.d.ts +52 -0
- package/dist/modules/agent/runtime/app/helpers/index.js +64 -0
- package/dist/modules/agent/runtime/app/helpers/pageStructure.d.ts +5 -0
- package/dist/modules/agent/runtime/app/helpers/pageStructure.js +96 -0
- package/dist/modules/agent/runtime/app/helpers/validation.d.ts +48 -0
- package/dist/modules/agent/runtime/app/helpers/validation.js +99 -0
- package/dist/modules/agent/runtime/app/prompts/fixReadability.d.ts +2 -0
- package/dist/modules/agent/runtime/app/prompts/fixReadability.js +49 -0
- package/dist/modules/agent/runtime/app/tools/add_content_search_paragraph/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_content_search_paragraph/index.js +77 -0
- package/dist/modules/agent/runtime/app/tools/add_fragment/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_fragment/index.js +90 -0
- package/dist/modules/agent/runtime/app/tools/add_media_paragraph/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_media_paragraph/index.js +70 -0
- package/dist/modules/agent/runtime/app/tools/add_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_paragraphs/index.js +318 -0
- package/dist/modules/agent/runtime/app/tools/add_reusable_paragraph/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_reusable_paragraph/index.js +84 -0
- package/dist/modules/agent/runtime/app/tools/add_template/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/add_template/index.js +59 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/Component.d.vue.ts +19 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/Component.vue +119 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/Component.vue.d.ts +19 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/index.d.ts +18 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/index.js +62 -0
- package/dist/modules/agent/runtime/app/tools/check_readability/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/check_readability/index.js +66 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.d.vue.ts +48 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue +744 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue.d.ts +48 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Details/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Details/index.vue +38 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Details/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.d.ts +38 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.js +130 -0
- package/dist/modules/agent/runtime/app/tools/delete_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/delete_paragraphs/index.js +60 -0
- package/dist/modules/agent/runtime/app/tools/detach_reusable_paragraph/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/detach_reusable_paragraph/index.js +59 -0
- package/dist/modules/agent/runtime/app/tools/duplicate_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/duplicate_paragraphs/index.js +155 -0
- package/dist/modules/agent/runtime/app/tools/find_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/find_paragraphs/index.js +180 -0
- package/dist/modules/agent/runtime/app/tools/get_all_fragments/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_all_fragments/index.js +33 -0
- package/dist/modules/agent/runtime/app/tools/get_all_page_content/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_all_page_content/index.js +91 -0
- package/dist/modules/agent/runtime/app/tools/get_bundle_info/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_bundle_info/index.js +182 -0
- package/dist/modules/agent/runtime/app/tools/get_child_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_child_paragraphs/index.js +109 -0
- package/dist/modules/agent/runtime/app/tools/get_content_fields/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_content_fields/index.js +189 -0
- package/dist/modules/agent/runtime/app/tools/get_mutation_history/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_mutation_history/index.js +102 -0
- package/dist/modules/agent/runtime/app/tools/get_page_structure/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_page_structure/index.js +114 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraph_context/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraph_context/index.js +270 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraph_options/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraph_options/index.js +65 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraphs_in_viewport/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraphs_in_viewport/index.js +181 -0
- package/dist/modules/agent/runtime/app/tools/get_readability_issues/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_readability_issues/index.js +68 -0
- package/dist/modules/agent/runtime/app/tools/get_selected_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_selected_paragraphs/index.js +46 -0
- package/dist/modules/agent/runtime/app/tools/go_to_history_index/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/go_to_history_index/index.js +54 -0
- package/dist/modules/agent/runtime/app/tools/helpers.d.ts +81 -0
- package/dist/modules/agent/runtime/app/tools/helpers.js +252 -0
- package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.js +83 -0
- package/dist/modules/agent/runtime/app/tools/rearrange_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/rearrange_paragraphs/index.js +107 -0
- package/dist/modules/agent/runtime/app/tools/replace_content_search_item/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/replace_content_search_item/index.js +88 -0
- package/dist/modules/agent/runtime/app/tools/replace_media_field/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/replace_media_field/index.js +95 -0
- package/dist/modules/agent/runtime/app/tools/schemas.d.ts +85 -0
- package/dist/modules/agent/runtime/app/tools/schemas.js +68 -0
- package/dist/modules/agent/runtime/app/tools/search_content/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/search_content/index.js +58 -0
- package/dist/modules/agent/runtime/app/tools/search_media/index.d.ts +14 -0
- package/dist/modules/agent/runtime/app/tools/search_media/index.js +60 -0
- package/dist/modules/agent/runtime/app/tools/search_reusable_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/search_reusable_paragraphs/index.js +75 -0
- package/dist/modules/agent/runtime/app/tools/search_templates/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/search_templates/index.js +51 -0
- package/dist/modules/agent/runtime/app/tools/search_text/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/search_text/index.js +114 -0
- package/dist/modules/agent/runtime/app/tools/select_media/Component.d.vue.ts +29 -0
- package/dist/modules/agent/runtime/app/tools/select_media/Component.vue +70 -0
- package/dist/modules/agent/runtime/app/tools/select_media/Component.vue.d.ts +29 -0
- package/dist/modules/agent/runtime/app/tools/select_media/index.d.ts +30 -0
- package/dist/modules/agent/runtime/app/tools/select_media/index.js +74 -0
- package/dist/modules/agent/runtime/app/tools/set_paragraph_options/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/set_paragraph_options/index.js +116 -0
- package/dist/modules/agent/runtime/app/tools/swap_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/swap_paragraphs/index.js +50 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.d.vue.ts +38 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.vue +218 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.vue.d.ts +38 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.vue +24 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/index.d.ts +25 -0
- package/dist/modules/agent/runtime/app/tools/update_text_fields/index.js +105 -0
- package/dist/modules/agent/runtime/app/tools/web_fetch/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/web_fetch/index.js +52 -0
- package/dist/modules/agent/runtime/app/types/index.d.ts +447 -0
- package/dist/modules/agent/runtime/app/types/index.js +52 -0
- package/dist/modules/agent/runtime/server/Session.d.ts +128 -0
- package/dist/modules/agent/runtime/server/Session.js +1010 -0
- package/dist/modules/agent/runtime/server/SessionManager.d.ts +24 -0
- package/dist/modules/agent/runtime/server/SessionManager.js +83 -0
- package/dist/modules/agent/runtime/server/agent.d.ts +2 -0
- package/dist/modules/agent/runtime/server/agent.js +154 -0
- package/dist/modules/agent/runtime/server/agentPrompt.d.ts +30 -0
- package/dist/modules/agent/runtime/server/agentPrompt.js +79 -0
- package/dist/modules/agent/runtime/server/default-skills/adding-new-paragraphs.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/adding-new-paragraphs.js +21 -0
- package/dist/modules/agent/runtime/server/default-skills/fixReadability.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/fixReadability.js +50 -0
- package/dist/modules/agent/runtime/server/default-skills/pageReview.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/pageReview.js +28 -0
- package/dist/modules/agent/runtime/server/default-skills/reusable-paragraphs.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/reusable-paragraphs.js +21 -0
- package/dist/modules/agent/runtime/server/default-skills/rewriteAndTranslate.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-skills/rewriteAndTranslate.js +54 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/architecture.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/architecture.js +39 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/available-skills.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/available-skills.js +18 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/available-tools.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/available-tools.js +18 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/fragments.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/fragments.js +19 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/important-rules.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/important-rules.js +21 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/interaction.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/interaction.js +20 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/introduction.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/introduction.js +15 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/page-context.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/page-context.js +88 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/paragraph-bundles.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/paragraph-bundles.js +37 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/plan-mode.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/plan-mode.js +36 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/security.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/security.js +27 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/workflow.d.ts +2 -0
- package/dist/modules/agent/runtime/server/default-system-prompts/workflow.js +22 -0
- package/dist/modules/agent/runtime/server/fetch.d.ts +2 -0
- package/dist/modules/agent/runtime/server/fetch.js +127 -0
- package/dist/modules/agent/runtime/server/helpers.d.ts +77 -0
- package/dist/modules/agent/runtime/server/helpers.js +353 -0
- package/dist/modules/agent/runtime/server/providers/anthropic.d.ts +12 -0
- package/dist/modules/agent/runtime/server/providers/anthropic.js +132 -0
- package/dist/modules/agent/runtime/server/providers/openai.d.ts +12 -0
- package/dist/modules/agent/runtime/server/providers/openai.js +321 -0
- package/dist/modules/agent/runtime/server/providers/types.d.ts +81 -0
- package/dist/modules/agent/runtime/server/providers/types.js +0 -0
- package/dist/modules/agent/runtime/server/route.d.ts +2 -0
- package/dist/modules/agent/runtime/server/route.js +40 -0
- package/dist/modules/agent/runtime/server/routing.d.ts +18 -0
- package/dist/modules/agent/runtime/server/routing.js +111 -0
- package/dist/modules/agent/runtime/server/server-tools/complete_plan_step/index.d.ts +3 -0
- package/dist/modules/agent/runtime/server/server-tools/complete_plan_step/index.js +94 -0
- package/dist/modules/agent/runtime/server/server-tools/create_plan/index.d.ts +9 -0
- package/dist/modules/agent/runtime/server/server-tools/create_plan/index.js +86 -0
- package/dist/modules/agent/runtime/server/server-tools/index.d.ts +100 -0
- package/dist/modules/agent/runtime/server/server-tools/index.js +30 -0
- package/dist/modules/agent/runtime/server/server-tools/load_skills/index.d.ts +7 -0
- package/dist/modules/agent/runtime/server/server-tools/load_skills/index.js +80 -0
- package/dist/modules/agent/runtime/server/server-tools/load_tools/index.d.ts +7 -0
- package/dist/modules/agent/runtime/server/server-tools/load_tools/index.js +44 -0
- package/dist/modules/agent/runtime/server/skills/defineBlokkliAgentSkill.d.ts +23 -0
- package/dist/modules/agent/runtime/server/skills/defineBlokkliAgentSkill.js +3 -0
- package/dist/modules/agent/runtime/server/skills/index.d.ts +2 -0
- package/dist/modules/agent/runtime/server/skills/index.js +1 -0
- package/dist/modules/agent/runtime/server/skills/types.d.ts +59 -0
- package/dist/modules/agent/runtime/server/skills/types.js +0 -0
- package/dist/modules/agent/runtime/server/stream.d.ts +2 -0
- package/dist/modules/agent/runtime/server/stream.js +190 -0
- package/dist/modules/agent/runtime/server/streamParser.d.ts +85 -0
- package/dist/modules/agent/runtime/server/streamParser.js +227 -0
- package/dist/modules/agent/runtime/server/system-prompts/defineBlokkliAgentSystemPrompt.d.ts +21 -0
- package/dist/modules/agent/runtime/server/system-prompts/defineBlokkliAgentSystemPrompt.js +3 -0
- package/dist/modules/agent/runtime/server/system-prompts/helpers.d.ts +20 -0
- package/dist/modules/agent/runtime/server/system-prompts/helpers.js +41 -0
- package/dist/modules/agent/runtime/server/system-prompts/index.d.ts +2 -0
- package/dist/modules/agent/runtime/server/system-prompts/index.js +1 -0
- package/dist/modules/agent/runtime/server/system-prompts/types.d.ts +49 -0
- package/dist/modules/agent/runtime/server/system-prompts/types.js +0 -0
- package/dist/modules/agent/runtime/server/templates/defineStreamTemplate.d.ts +21 -0
- package/dist/modules/agent/runtime/server/templates/defineStreamTemplate.js +3 -0
- package/dist/modules/agent/runtime/server/templates/definitions/fixReadability.d.ts +26 -0
- package/dist/modules/agent/runtime/server/templates/definitions/fixReadability.js +84 -0
- package/dist/modules/agent/runtime/server/templates/definitions/generateContent.d.ts +6 -0
- package/dist/modules/agent/runtime/server/templates/definitions/generateContent.js +29 -0
- package/dist/modules/agent/runtime/server/templates/definitions/rewrite.d.ts +5 -0
- package/dist/modules/agent/runtime/server/templates/definitions/rewrite.js +14 -0
- package/dist/modules/agent/runtime/server/templates/definitions/translate.d.ts +5 -0
- package/dist/modules/agent/runtime/server/templates/definitions/translate.js +23 -0
- package/dist/modules/agent/runtime/server/templates/index.d.ts +37 -0
- package/dist/modules/agent/runtime/server/templates/index.js +25 -0
- package/dist/modules/agent/runtime/server/templates/types.d.ts +17 -0
- package/dist/modules/agent/runtime/server/templates/types.js +0 -0
- package/dist/modules/agent/runtime/server/templates/utils.d.ts +5 -0
- package/dist/modules/agent/runtime/server/templates/utils.js +69 -0
- package/dist/modules/agent/runtime/shared/placeholders.d.ts +4 -0
- package/dist/modules/agent/runtime/shared/placeholders.js +1 -0
- package/dist/modules/agent/runtime/shared/types.d.ts +532 -0
- package/dist/modules/agent/runtime/shared/types.js +181 -0
- package/dist/modules/charts/index.d.mts +35 -0
- package/dist/modules/charts/index.mjs +57 -0
- package/dist/modules/charts/runtime/blokkli/skills/charts.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/skills/charts.js +51 -0
- package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.d.ts +86 -0
- package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.js +136 -0
- package/dist/modules/charts/runtime/blokkli/tools/create_chart/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/create_chart/index.js +93 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_data/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_data/index.js +66 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_type_options/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_type_options/index.js +40 -0
- package/dist/modules/charts/runtime/blokkli/tools/update_chart/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/update_chart/index.js +89 -0
- package/dist/modules/charts/runtime/chartTypes/area.d.ts +7 -0
- package/dist/modules/charts/runtime/chartTypes/area.js +68 -0
- package/dist/modules/charts/runtime/chartTypes/bar.d.ts +8 -0
- package/dist/modules/charts/runtime/chartTypes/bar.js +76 -0
- package/dist/modules/charts/runtime/chartTypes/define.d.ts +2 -0
- package/dist/modules/charts/runtime/chartTypes/define.js +3 -0
- package/dist/modules/charts/runtime/chartTypes/donut.d.ts +6 -0
- package/dist/modules/charts/runtime/chartTypes/donut.js +45 -0
- package/dist/modules/charts/runtime/chartTypes/heatmap.d.ts +4 -0
- package/dist/modules/charts/runtime/chartTypes/heatmap.js +54 -0
- package/dist/modules/charts/runtime/chartTypes/index.d.ts +39 -0
- package/dist/modules/charts/runtime/chartTypes/index.js +47 -0
- package/dist/modules/charts/runtime/chartTypes/line.d.ts +7 -0
- package/dist/modules/charts/runtime/chartTypes/line.js +68 -0
- package/dist/modules/charts/runtime/chartTypes/pie.d.ts +5 -0
- package/dist/modules/charts/runtime/chartTypes/pie.js +28 -0
- package/dist/modules/charts/runtime/chartTypes/radar.d.ts +7 -0
- package/dist/modules/charts/runtime/chartTypes/radar.js +52 -0
- package/dist/modules/charts/runtime/chartTypes/radialBar.d.ts +6 -0
- package/dist/modules/charts/runtime/chartTypes/radialBar.js +44 -0
- package/dist/modules/charts/runtime/chartTypes/shared.d.ts +67 -0
- package/dist/modules/charts/runtime/chartTypes/shared.js +103 -0
- package/dist/modules/charts/runtime/chartTypes/types.d.ts +29 -0
- package/dist/modules/charts/runtime/chartTypes/types.js +0 -0
- package/dist/modules/charts/runtime/components/ChartRenderer/index.d.vue.ts +147 -0
- package/dist/modules/charts/runtime/components/ChartRenderer/index.vue +120 -0
- package/dist/modules/charts/runtime/components/ChartRenderer/index.vue.d.ts +147 -0
- package/dist/modules/charts/runtime/components/index.d.ts +1 -0
- package/dist/modules/charts/runtime/components/index.js +1 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.d.vue.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue +97 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue.d.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.d.vue.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue +34 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue.d.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.d.vue.ts +12 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue +49 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue.d.ts +12 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.d.vue.ts +19 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue +89 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue.d.ts +19 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.d.vue.ts +23 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue +224 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue.d.ts +23 -0
- package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.d.vue.ts +10 -0
- package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue +61 -0
- package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue.d.ts +10 -0
- package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.d.vue.ts +10 -0
- package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue +45 -0
- package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue.d.ts +10 -0
- package/dist/modules/charts/runtime/features/charts/Editor/index.d.vue.ts +12 -0
- package/dist/modules/charts/runtime/features/charts/Editor/index.vue +246 -0
- package/dist/modules/charts/runtime/features/charts/Editor/index.vue.d.ts +12 -0
- package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.d.ts +17 -0
- package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.js +90 -0
- package/dist/modules/charts/runtime/helpers/index.d.ts +26 -0
- package/dist/modules/charts/runtime/helpers/index.js +80 -0
- package/dist/modules/charts/runtime/types.d.ts +33 -0
- package/dist/modules/charts/runtime/types.js +0 -0
- package/dist/modules/drupal/graphql/base/fragment.ParagraphsBlokkliConfigInput.graphql +31 -0
- package/dist/modules/drupal/graphql/base/fragment.blokkliProps.graphql +2 -1
- package/dist/modules/drupal/graphql/base/fragment.paragraphsBlokkliEditState.graphql +5 -0
- package/dist/modules/drupal/graphql/base/fragment.paragraphsFieldItem.graphql +4 -1
- package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +28 -12
- package/dist/modules/drupal/graphql/base/query.pbEntityConfig.graphql +5 -0
- package/dist/modules/drupal/graphql/features/agent.graphql +69 -0
- package/dist/modules/drupal/graphql/features/comments.graphql +11 -8
- package/dist/modules/drupal/graphql/features/fragments.graphql +2 -0
- package/dist/modules/drupal/graphql/features/import-existing.graphql +9 -2
- package/dist/modules/drupal/graphql/features/library.graphql +9 -2
- package/dist/modules/drupal/graphql/features/media-library.graphql +6 -14
- package/dist/modules/drupal/graphql/features/publishNew.graphql +4 -4
- package/dist/modules/drupal/graphql/features/scheduler.graphql +31 -0
- package/dist/modules/drupal/graphql/features/search.graphql +5 -0
- package/dist/modules/drupal/graphql/features/templates.graphql +108 -0
- package/dist/modules/drupal/graphql/features/transform.graphql +9 -1
- package/dist/modules/drupal/graphql/features/transform_host.graphql +38 -0
- package/dist/modules/drupal/graphql/mutations/add_file.graphql +2 -0
- package/dist/modules/drupal/graphql/mutations/add_image.graphql +2 -0
- package/dist/modules/drupal/graphql/mutations/add_multiple.graphql +25 -0
- package/dist/modules/drupal/graphql/mutations/add_video_remote.graphql +2 -0
- package/dist/modules/drupal/graphql/mutations/bulk_update_field_values.graphql +15 -0
- package/dist/modules/drupal/graphql/mutations/rearrange.graphql +23 -0
- package/dist/modules/drupal/graphql/mutations/replace_entity_reference.graphql +25 -0
- package/dist/modules/drupal/graphql/mutations/set_paragraph_schedule.graphql +15 -0
- package/dist/modules/drupal/graphql/mutations/swap.graphql +16 -0
- package/dist/modules/drupal/graphql/mutations/update_host_options.graphql +15 -0
- package/dist/modules/drupal/index.d.mts +22 -5
- package/dist/modules/drupal/index.mjs +135 -20
- package/dist/modules/drupal/runtime/adapter/index.d.ts +2 -1
- package/dist/modules/drupal/runtime/adapter/index.js +508 -66
- package/dist/modules/drupal/runtime/components/BlokkliDrupalEditTemplate/index.d.vue.ts +9 -0
- package/dist/modules/drupal/runtime/components/BlokkliDrupalEditTemplate/index.vue +26 -0
- package/dist/modules/drupal/runtime/components/BlokkliDrupalEditTemplate/index.vue.d.ts +9 -0
- package/dist/modules/index.d.mts +7 -0
- package/dist/modules/index.mjs +10 -0
- package/dist/modules/table-of-contents/index.d.mts +11 -0
- package/dist/modules/table-of-contents/index.mjs +24 -0
- package/dist/modules/table-of-contents/runtime/components/BlokkliTableOfContents/index.d.vue.ts +44 -0
- package/dist/modules/table-of-contents/runtime/components/BlokkliTableOfContents/index.vue +43 -0
- package/dist/modules/table-of-contents/runtime/components/BlokkliTableOfContents/index.vue.d.ts +44 -0
- package/dist/modules/table-of-contents/runtime/types/index.d.ts +4 -0
- package/dist/modules/table-of-contents/runtime/types/index.js +0 -0
- package/dist/modules/tailwind/index.d.mts +5 -0
- package/dist/modules/tailwind/index.mjs +2 -0
- package/dist/runtime/components/Blocks/Fragment/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/Fragment/index.vue +19 -4
- package/dist/runtime/components/Blocks/Fragment/index.vue.d.ts +2 -1
- package/dist/runtime/components/Blocks/FromLibrary/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/FromLibrary/index.vue +10 -9
- package/dist/runtime/components/Blocks/FromLibrary/index.vue.d.ts +3 -2
- package/dist/runtime/components/Blocks/NotImplemented/index.d.vue.ts +7 -0
- package/dist/runtime/components/Blocks/NotImplemented/index.vue +24 -0
- package/dist/runtime/components/Blocks/NotImplemented/index.vue.d.ts +7 -0
- package/dist/runtime/components/BlokkliEditable.d.vue.ts +33 -0
- package/dist/runtime/components/BlokkliEditable.vue +50 -18
- package/dist/runtime/components/BlokkliEditable.vue.d.ts +16 -3
- package/dist/runtime/components/BlokkliField.d.vue.ts +102 -0
- package/dist/runtime/components/BlokkliField.vue +42 -51
- package/dist/runtime/components/BlokkliField.vue.d.ts +73 -20
- package/dist/runtime/components/BlokkliItem.d.vue.ts +31 -0
- package/dist/runtime/components/BlokkliItem.vue +70 -23
- package/dist/runtime/components/BlokkliItem.vue.d.ts +12 -7
- package/dist/runtime/components/BlokkliProvider.d.vue.ts +84 -0
- package/dist/runtime/components/BlokkliProvider.vue +97 -73
- package/dist/runtime/components/BlokkliProvider.vue.d.ts +60 -10
- package/dist/runtime/composables/defineBlokkli.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkli.js +28 -23
- package/dist/runtime/composables/defineBlokkliFeature.d.ts +9 -10
- package/dist/runtime/composables/defineBlokkliFeature.js +4 -3
- package/dist/runtime/composables/defineBlokkliFragment.d.ts +1 -1
- package/dist/runtime/composables/defineBlokkliFragment.js +2 -5
- package/dist/runtime/composables/defineBlokkliProvider.d.ts +11 -0
- package/dist/runtime/composables/defineBlokkliProvider.js +44 -0
- package/dist/runtime/composables/useBlokkli.d.ts +7 -2
- package/dist/runtime/composables/useBlokkli.js +6 -3
- package/dist/runtime/composables/useBlokkliHelper.d.ts +20 -0
- package/dist/runtime/composables/useBlokkliHelper.js +91 -0
- package/dist/runtime/editor/adapter/index.d.ts +162 -0
- package/dist/runtime/editor/adapter/index.js +6 -0
- package/dist/runtime/editor/components/Actions/Interactions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Actions/Interactions/index.vue +110 -0
- package/dist/runtime/editor/components/Actions/Interactions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.vue +71 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Actions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Actions/index.vue +295 -0
- package/dist/runtime/editor/components/Actions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/AddListItem/index.d.vue.ts +31 -0
- package/dist/runtime/editor/components/AddListItem/index.vue +103 -0
- package/dist/runtime/editor/components/AddListItem/index.vue.d.ts +31 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.vue +496 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.d.vue.ts +29 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue +39 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue.d.ts +29 -0
- package/dist/runtime/editor/components/AppMenu/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/AppMenu/index.vue +85 -0
- package/dist/runtime/editor/components/AppMenu/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.d.vue.ts +35 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue +90 -0
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue.d.ts +35 -0
- package/dist/runtime/editor/components/AutoHeight/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/AutoHeight/index.vue +32 -0
- package/dist/runtime/editor/components/AutoHeight/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/Banner/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Banner/index.vue +53 -0
- package/dist/runtime/editor/components/Banner/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/BlockPreviewItem/index.d.vue.ts +18 -0
- package/dist/runtime/editor/components/BlockPreviewItem/index.vue +83 -0
- package/dist/runtime/editor/components/BlockPreviewItem/index.vue.d.ts +18 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/Item.d.vue.ts +13 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/Item.vue +50 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/Item.vue.d.ts +13 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.d.vue.ts +11 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue +33 -0
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue.d.ts +11 -0
- package/dist/runtime/editor/components/BlockProxy/index.d.vue.ts +11 -0
- package/dist/runtime/editor/components/BlockProxy/index.vue +88 -0
- package/dist/runtime/editor/components/BlockProxy/index.vue.d.ts +11 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.d.vue.ts +27 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.vue +47 -0
- package/dist/runtime/editor/components/BlokkliErrorBoundary.vue.d.ts +27 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.d.vue.ts +13 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +96 -0
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue.d.ts +13 -0
- package/dist/runtime/editor/components/BundleSelector/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue +316 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/Dialog/index.d.vue.ts +49 -0
- package/dist/runtime/editor/components/Dialog/index.vue +134 -0
- package/dist/runtime/editor/components/Dialog/index.vue.d.ts +49 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.d.vue.ts +19 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue +106 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue.d.ts +19 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue +50 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.d.vue.ts +24 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue +113 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue.d.ts +24 -0
- package/dist/runtime/editor/components/DiffApproval/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/DiffApproval/index.vue +158 -0
- package/dist/runtime/editor/components/DiffApproval/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/DiffApproval/types.d.ts +7 -0
- package/dist/runtime/editor/components/DiffApproval/types.js +0 -0
- package/dist/runtime/editor/components/DiffViewer/DiffDisplay/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/DiffViewer/DiffDisplay/index.vue +31 -0
- package/dist/runtime/editor/components/DiffViewer/DiffDisplay/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.d.vue.ts +7 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue +15 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue.d.ts +7 -0
- package/dist/runtime/editor/components/DiffViewer/State.d.vue.ts +17 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue +249 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue.d.ts +17 -0
- package/dist/runtime/editor/components/DraggableList.d.vue.ts +31 -0
- package/dist/runtime/editor/components/DraggableList.vue +148 -0
- package/dist/runtime/editor/components/DraggableList.vue.d.ts +31 -0
- package/dist/runtime/editor/components/Dropdown/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/Dropdown/index.vue +107 -0
- package/dist/runtime/editor/components/Dropdown/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/DropdownItem/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/DropdownItem/index.vue +16 -0
- package/dist/runtime/editor/components/DropdownItem/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/EditIndicator.d.vue.ts +15 -0
- package/dist/runtime/editor/components/EditIndicator.vue +151 -0
- package/dist/runtime/editor/components/EditIndicator.vue.d.ts +15 -0
- package/dist/runtime/editor/components/EditProvider.d.vue.ts +36 -0
- package/dist/runtime/editor/components/EditProvider.vue +431 -0
- package/dist/runtime/editor/components/EditProvider.vue.d.ts +36 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.vue +80 -0
- package/dist/runtime/editor/components/FeaturesRenderer/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/FlexTextarea/index.d.vue.ts +36 -0
- package/dist/runtime/editor/components/FlexTextarea/index.vue +318 -0
- package/dist/runtime/editor/components/FlexTextarea/index.vue.d.ts +36 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue +49 -0
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.vue +198 -0
- package/dist/runtime/editor/components/Form/Datepicker/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/Form/Group/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/Form/Group/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/Form/Item/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/Form/Item/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/Form/Radio/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/Form/Radio/index.vue +34 -0
- package/dist/runtime/editor/components/Form/Radio/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.d.vue.ts +24 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.vue +37 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.vue.d.ts +24 -0
- package/dist/runtime/editor/components/Form/Select/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Select/index.vue +29 -0
- package/dist/runtime/editor/components/Form/Select/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Text/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Text/index.vue +46 -0
- package/dist/runtime/editor/components/Form/Text/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Textarea/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/Form/Textarea/index.vue +34 -0
- package/dist/runtime/editor/components/Form/Textarea/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Form/Toggle/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/Form/Toggle/index.vue +26 -0
- package/dist/runtime/editor/components/Form/Toggle/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.vue +28 -0
- package/dist/runtime/editor/components/FormOverlay/Header/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/FormOverlay/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/FormOverlay/index.vue +55 -0
- package/dist/runtime/editor/components/FormOverlay/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/Highlight/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/Highlight/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/Icon/index.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Icon/index.vue +35 -0
- package/dist/runtime/editor/components/Icon/index.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Indicators/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Indicators/index.vue +133 -0
- package/dist/runtime/editor/components/Indicators/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/InfoBox/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/InfoBox/index.vue +19 -0
- package/dist/runtime/editor/components/InfoBox/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/ItemIcon/index.d.vue.ts +10 -0
- package/dist/runtime/editor/components/ItemIcon/index.vue +45 -0
- package/dist/runtime/editor/components/ItemIcon/index.vue.d.ts +10 -0
- package/dist/runtime/editor/components/ItemIconBox/index.d.vue.ts +18 -0
- package/dist/runtime/editor/components/ItemIconBox/index.vue +43 -0
- package/dist/runtime/editor/components/ItemIconBox/index.vue.d.ts +18 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.vue +66 -0
- package/dist/runtime/editor/components/Konami/Game/PixelGrid.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/blokkli.png +0 -0
- package/dist/runtime/editor/components/Konami/Game/charmap.d.ts +2 -0
- package/dist/runtime/editor/components/Konami/Game/charmap.js +168 -0
- package/dist/runtime/editor/components/Konami/Game/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Konami/Game/index.vue +751 -0
- package/dist/runtime/editor/components/Konami/Game/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Konami/Game/textRendering.d.ts +8 -0
- package/dist/runtime/editor/components/Konami/Game/textRendering.js +138 -0
- package/dist/runtime/editor/components/Konami/Game/useIconRendering.d.ts +9 -0
- package/dist/runtime/editor/components/Konami/Game/useIconRendering.js +131 -0
- package/dist/runtime/editor/components/Konami/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Konami/index.vue +42 -0
- package/dist/runtime/editor/components/Konami/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Loading/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/Loading/index.vue +22 -0
- package/dist/runtime/editor/components/Loading/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/Messages/Item/index.d.vue.ts +12 -0
- package/dist/runtime/editor/components/Messages/Item/index.vue +105 -0
- package/dist/runtime/editor/components/Messages/Item/index.vue.d.ts +12 -0
- package/dist/runtime/editor/components/Messages/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Messages/index.vue +41 -0
- package/dist/runtime/editor/components/Messages/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +29 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +278 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +29 -0
- package/dist/runtime/editor/components/Overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Overlay/index.vue +70 -0
- package/dist/runtime/editor/components/Overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Pagination/index.d.vue.ts +14 -0
- package/dist/runtime/editor/components/Pagination/index.vue +19 -0
- package/dist/runtime/editor/components/Pagination/index.vue.d.ts +14 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.vue +17 -0
- package/dist/runtime/editor/components/PluginConfigForm/Checkbox/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.vue +37 -0
- package/dist/runtime/editor/components/PluginConfigForm/Options/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.d.vue.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.vue +43 -0
- package/dist/runtime/editor/components/PluginConfigForm/Text/index.vue.d.ts +5 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue +63 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/Popup/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Popup/index.vue +82 -0
- package/dist/runtime/editor/components/Popup/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/PreviewProvider.d.vue.ts +31 -0
- package/dist/runtime/editor/components/PreviewProvider.vue +187 -0
- package/dist/runtime/editor/components/PreviewProvider.vue.d.ts +31 -0
- package/dist/runtime/editor/components/RelativeTime/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/RelativeTime/index.vue +73 -0
- package/dist/runtime/editor/components/RelativeTime/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/Resizable/index.d.vue.ts +14 -0
- package/dist/runtime/editor/components/Resizable/index.vue +83 -0
- package/dist/runtime/editor/components/Resizable/index.vue.d.ts +14 -0
- package/dist/runtime/editor/components/ScaleToFit/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/ScaleToFit/index.vue +70 -0
- package/dist/runtime/editor/components/ScaleToFit/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/ScheduleDate/index.d.vue.ts +25 -0
- package/dist/runtime/editor/components/ScheduleDate/index.vue +131 -0
- package/dist/runtime/editor/components/ScheduleDate/index.vue.d.ts +25 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.vue +23 -0
- package/dist/runtime/editor/components/ScrollBoundary/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.vue +79 -0
- package/dist/runtime/editor/components/ShortcutIndicator/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/Sortli/index.d.vue.ts +17 -0
- package/dist/runtime/editor/components/Sortli/index.vue +81 -0
- package/dist/runtime/editor/components/Sortli/index.vue.d.ts +17 -0
- package/dist/runtime/editor/components/StatusIcon/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/StatusIcon/index.vue +31 -0
- package/dist/runtime/editor/components/StatusIcon/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/SystemRequirements/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue +85 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Toolbar/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Toolbar/index.vue +189 -0
- package/dist/runtime/editor/components/Toolbar/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Transition/Height.d.vue.ts +37 -0
- package/dist/runtime/editor/components/Transition/Height.vue +96 -0
- package/dist/runtime/editor/components/Transition/Height.vue.d.ts +37 -0
- package/dist/runtime/editor/components/Transition/index.d.vue.ts +20 -0
- package/dist/runtime/editor/components/Transition/index.vue +42 -0
- package/dist/runtime/editor/components/Transition/index.vue.d.ts +20 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.vue +60 -0
- package/dist/runtime/editor/components/ViewportBlockingRect/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/index.d.ts +49 -0
- package/dist/runtime/editor/components/index.js +98 -0
- package/dist/runtime/editor/composables/addElementClasses.d.ts +2 -0
- package/dist/runtime/editor/composables/addElementClasses.js +24 -0
- package/dist/runtime/editor/composables/defineAddAction.d.ts +2 -0
- package/dist/runtime/editor/composables/defineAddAction.js +10 -0
- package/dist/runtime/editor/composables/defineCommands.d.ts +2 -0
- package/dist/runtime/editor/composables/defineCommands.js +10 -0
- package/dist/runtime/editor/composables/defineDropAreas.d.ts +3 -0
- package/dist/runtime/editor/composables/defineDropAreas.js +10 -0
- package/dist/runtime/editor/composables/defineDropHandler.d.ts +3 -0
- package/dist/runtime/editor/composables/defineDropHandler.js +10 -0
- package/dist/runtime/editor/composables/defineElementStyle.d.ts +2 -0
- package/dist/runtime/editor/composables/defineElementStyle.js +33 -0
- package/dist/runtime/editor/composables/defineItemDropdownAction.d.ts +2 -0
- package/dist/runtime/editor/composables/defineItemDropdownAction.js +10 -0
- package/dist/runtime/editor/composables/defineMenuButton.d.ts +2 -0
- package/dist/runtime/editor/composables/defineMenuButton.js +10 -0
- package/dist/runtime/editor/composables/defineRenderer.d.ts +11 -0
- package/dist/runtime/editor/composables/defineRenderer.js +9 -0
- package/dist/runtime/editor/composables/defineShortcut.d.ts +2 -0
- package/dist/runtime/editor/composables/defineShortcut.js +18 -0
- package/dist/runtime/editor/composables/defineTourItem.d.ts +2 -0
- package/dist/runtime/editor/composables/defineTourItem.js +10 -0
- package/dist/runtime/editor/composables/index.d.ts +25 -0
- package/dist/runtime/editor/composables/index.js +25 -0
- package/dist/runtime/editor/composables/onBlokkliEvent.d.ts +2 -0
- package/dist/runtime/editor/composables/onBlokkliEvent.js +10 -0
- package/dist/runtime/editor/composables/onBroadcastEvent.d.ts +2 -0
- package/dist/runtime/editor/composables/onBroadcastEvent.js +10 -0
- package/dist/runtime/editor/composables/onElementResize.d.ts +3 -0
- package/dist/runtime/editor/composables/onElementResize.js +36 -0
- package/dist/runtime/editor/composables/useAnimationFrame.d.ts +1 -0
- package/dist/runtime/editor/composables/useAnimationFrame.js +14 -0
- package/dist/runtime/editor/composables/useBlockRegistration.d.ts +5 -0
- package/dist/runtime/editor/composables/useBlockRegistration.js +41 -0
- package/dist/runtime/editor/composables/useDebugLogger.d.ts +2 -0
- package/dist/runtime/editor/composables/useDebugLogger.js +5 -0
- package/dist/runtime/editor/composables/useDelayedIntersectionObserver.d.ts +5 -0
- package/dist/runtime/editor/composables/useDelayedIntersectionObserver.js +27 -0
- package/dist/runtime/editor/composables/useDialog.d.ts +3 -0
- package/dist/runtime/editor/composables/useDialog.js +16 -0
- package/dist/runtime/editor/composables/useEditableFieldOverride.d.ts +26 -0
- package/dist/runtime/editor/composables/useEditableFieldOverride.js +140 -0
- package/dist/runtime/editor/composables/useFocusTrap.d.ts +52 -0
- package/dist/runtime/editor/composables/useFocusTrap.js +59 -0
- package/dist/runtime/editor/composables/useGlobalBlokkliObject.d.ts +16 -0
- package/dist/runtime/editor/composables/useGlobalBlokkliObject.js +36 -0
- package/dist/runtime/editor/composables/useStateBasedCache.d.ts +4 -0
- package/dist/runtime/editor/composables/useStateBasedCache.js +13 -0
- package/dist/runtime/editor/composables/useStickyToolbar.d.ts +24 -0
- package/dist/runtime/editor/composables/useStickyToolbar.js +268 -0
- package/dist/runtime/editor/composables/useTransitionedValue.d.ts +18 -0
- package/dist/runtime/editor/composables/useTransitionedValue.js +57 -0
- package/dist/runtime/editor/css/output.css +1 -0
- package/dist/runtime/editor/events/index.d.ts +278 -0
- package/dist/runtime/editor/events/index.js +6 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.d.vue.ts +15 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.vue +60 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.vue.d.ts +15 -0
- package/dist/runtime/editor/features/add-list/Actions/index.d.vue.ts +16 -0
- package/dist/runtime/editor/features/add-list/Actions/index.vue +61 -0
- package/dist/runtime/editor/features/add-list/Actions/index.vue.d.ts +16 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.vue +308 -0
- package/dist/runtime/editor/features/add-list/Blocks/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/add-list/Help/Item.d.vue.ts +12 -0
- package/dist/runtime/editor/features/add-list/Help/Item.vue +189 -0
- package/dist/runtime/editor/features/add-list/Help/Item.vue.d.ts +12 -0
- package/dist/runtime/editor/features/add-list/Help/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/add-list/Help/index.vue +127 -0
- package/dist/runtime/editor/features/add-list/Help/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/add-list/docs.md +4 -0
- package/dist/runtime/editor/features/add-list/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/add-list/index.vue +305 -0
- package/dist/runtime/editor/features/add-list/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/add-list/types.d.ts +24 -0
- package/dist/runtime/editor/features/add-list/types.js +0 -0
- package/dist/runtime/editor/features/analyze/Icon.d.vue.ts +6 -0
- package/dist/runtime/editor/features/analyze/Icon.vue +85 -0
- package/dist/runtime/editor/features/analyze/Icon.vue.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/Main.d.vue.ts +23 -0
- package/dist/runtime/editor/features/analyze/Main.vue +397 -0
- package/dist/runtime/editor/features/analyze/Main.vue.d.ts +23 -0
- package/dist/runtime/editor/features/analyze/Renderer/fragment.glsl +74 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.d.vue.ts +24 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.vue +330 -0
- package/dist/runtime/editor/features/analyze/Renderer/index.vue.d.ts +24 -0
- package/dist/runtime/editor/features/analyze/Renderer/vertex.glsl +94 -0
- package/dist/runtime/editor/features/analyze/Results/Results.d.vue.ts +15 -0
- package/dist/runtime/editor/features/analyze/Results/Results.vue +102 -0
- package/dist/runtime/editor/features/analyze/Results/Results.vue.d.ts +15 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.d.vue.ts +23 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +56 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue.d.ts +23 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +80 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.d.vue.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +123 -0
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue.d.ts +16 -0
- package/dist/runtime/editor/features/analyze/Results/Status.d.vue.ts +9 -0
- package/dist/runtime/editor/features/analyze/Results/Status.vue +18 -0
- package/dist/runtime/editor/features/analyze/Results/Status.vue.d.ts +9 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.d.vue.ts +18 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.vue +96 -0
- package/dist/runtime/editor/features/analyze/Summary/Chart.vue.d.ts +18 -0
- package/dist/runtime/editor/features/analyze/Summary/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/analyze/Summary/index.vue +77 -0
- package/dist/runtime/editor/features/analyze/Summary/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/analyze/analyzers/altText.d.ts +2 -0
- package/dist/runtime/editor/features/analyze/analyzers/altText.js +60 -0
- package/dist/runtime/editor/features/analyze/analyzers/axe.d.ts +12 -0
- package/dist/runtime/editor/features/analyze/analyzers/axe.js +78 -0
- package/dist/runtime/editor/features/analyze/analyzers/defineAnalyzer.d.ts +4 -0
- package/dist/runtime/editor/features/analyze/analyzers/defineAnalyzer.js +5 -0
- package/dist/runtime/editor/features/analyze/analyzers/headingStructure.d.ts +2 -0
- package/dist/runtime/editor/features/analyze/analyzers/headingStructure.js +141 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/Context.d.ts +38 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/Context.js +51 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/collectTextElements.d.ts +5 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/collectTextElements.js +98 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/normalizeArray.d.ts +3 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/normalizeArray.js +13 -0
- package/dist/runtime/editor/features/analyze/analyzers/index.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/analyzers/index.js +12 -0
- package/dist/runtime/editor/features/analyze/analyzers/readability.d.ts +2 -0
- package/dist/runtime/editor/features/analyze/analyzers/readability.js +135 -0
- package/dist/runtime/editor/features/analyze/analyzers/types.d.ts +78 -0
- package/dist/runtime/editor/features/analyze/analyzers/types.js +0 -0
- package/dist/runtime/editor/features/analyze/helper.d.ts +5 -0
- package/dist/runtime/editor/features/analyze/helper.js +28 -0
- package/dist/runtime/editor/features/analyze/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/analyze/index.vue +72 -0
- package/dist/runtime/editor/features/analyze/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/analyze/readability/adapterTypes.d.ts +9 -0
- package/dist/runtime/editor/features/analyze/readability/adapterTypes.js +0 -0
- package/dist/runtime/editor/features/analyze/readability/builtinAnalyzer.d.ts +6 -0
- package/dist/runtime/editor/features/analyze/readability/builtinAnalyzer.js +216 -0
- package/dist/runtime/editor/features/analyze/readability/chunkHtml.d.ts +15 -0
- package/dist/runtime/editor/features/analyze/readability/chunkHtml.js +97 -0
- package/dist/runtime/editor/features/analyze/readability/types.d.ts +87 -0
- package/dist/runtime/editor/features/analyze/readability/types.js +0 -0
- package/dist/runtime/editor/features/analyze/types.d.ts +9 -0
- package/dist/runtime/editor/features/analyze/types.js +0 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.vue +71 -0
- package/dist/runtime/editor/features/anchors/Overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/anchors/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/anchors/index.vue +32 -0
- package/dist/runtime/editor/features/anchors/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/anchors/types.d.ts +8 -0
- package/dist/runtime/editor/features/anchors/types.js +0 -0
- package/dist/runtime/editor/features/artboard/Overview/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue +122 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/artboard/Renderer.d.vue.ts +8 -0
- package/dist/runtime/editor/features/artboard/Renderer.vue +369 -0
- package/dist/runtime/editor/features/artboard/Renderer.vue.d.ts +8 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.d.vue.ts +8 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.vue +48 -0
- package/dist/runtime/editor/features/artboard/Scrollbar/index.vue.d.ts +8 -0
- package/dist/runtime/editor/features/artboard/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/artboard/index.vue +92 -0
- package/dist/runtime/editor/features/artboard/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.vue +108 -0
- package/dist/runtime/editor/features/assistant/Overlay/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/assistant/docs.md +7 -0
- package/dist/runtime/editor/features/assistant/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/assistant/index.vue +66 -0
- package/dist/runtime/editor/features/assistant/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/assistant/types.d.ts +37 -0
- package/dist/runtime/editor/features/assistant/types.js +0 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.d.vue.ts +29 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue +154 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue.d.ts +29 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +232 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/block-scheduler/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/index.vue +102 -0
- package/dist/runtime/editor/features/block-scheduler/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/types.d.ts +25 -0
- package/dist/runtime/editor/features/block-scheduler/types.js +0 -0
- package/dist/runtime/editor/features/breadcrumbs/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue +209 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/changelog/Dialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/changelog/Dialog/index.vue +43 -0
- package/dist/runtime/editor/features/changelog/Dialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/changelog/changelog.json +66 -0
- package/dist/runtime/editor/features/changelog/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/changelog/index.vue +56 -0
- package/dist/runtime/editor/features/changelog/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/clipboard/DropElement/Video.d.vue.ts +8 -0
- package/dist/runtime/editor/features/clipboard/DropElement/Video.vue +50 -0
- package/dist/runtime/editor/features/clipboard/DropElement/Video.vue.d.ts +8 -0
- package/dist/runtime/editor/features/clipboard/DropElement/helpers.d.ts +1 -0
- package/dist/runtime/editor/features/clipboard/DropElement/helpers.js +14 -0
- package/dist/runtime/editor/features/clipboard/DropElement/index.d.vue.ts +16 -0
- package/dist/runtime/editor/features/clipboard/DropElement/index.vue +97 -0
- package/dist/runtime/editor/features/clipboard/DropElement/index.vue.d.ts +16 -0
- package/dist/runtime/editor/features/clipboard/helpers.d.ts +15 -0
- package/dist/runtime/editor/features/clipboard/helpers.js +62 -0
- package/dist/runtime/editor/features/clipboard/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/clipboard/index.vue +840 -0
- package/dist/runtime/editor/features/clipboard/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/clipboard/types.d.ts +117 -0
- package/dist/runtime/editor/features/clipboard/types.js +0 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.d.vue.ts +20 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +49 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue.d.ts +20 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.vue +229 -0
- package/dist/runtime/editor/features/command-palette/Palette/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/command-palette/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/command-palette/index.vue +51 -0
- package/dist/runtime/editor/features/command-palette/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/command-palette/types.d.ts +11 -0
- package/dist/runtime/editor/features/command-palette/types.js +0 -0
- package/dist/runtime/editor/features/comments/AddForm/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/comments/AddForm/index.vue +44 -0
- package/dist/runtime/editor/features/comments/AddForm/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/comments/Comment/index.d.vue.ts +24 -0
- package/dist/runtime/editor/features/comments/Comment/index.vue +45 -0
- package/dist/runtime/editor/features/comments/Comment/index.vue.d.ts +24 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.vue +29 -0
- package/dist/runtime/editor/features/comments/CommentInput/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue +94 -0
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/comments/Overlay/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/comments/Overlay/index.vue +113 -0
- package/dist/runtime/editor/features/comments/Overlay/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/comments/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/comments/index.vue +113 -0
- package/dist/runtime/editor/features/comments/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/comments/types.d.ts +32 -0
- package/dist/runtime/editor/features/comments/types.js +0 -0
- package/dist/runtime/editor/features/complex-options/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/complex-options/index.vue +98 -0
- package/dist/runtime/editor/features/complex-options/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/conversions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/conversions/index.vue +84 -0
- package/dist/runtime/editor/features/conversions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/conversions/types.d.ts +16 -0
- package/dist/runtime/editor/features/conversions/types.js +0 -0
- package/dist/runtime/editor/features/debug/DebugSection.d.vue.ts +17 -0
- package/dist/runtime/editor/features/debug/DebugSection.vue +24 -0
- package/dist/runtime/editor/features/debug/DebugSection.vue.d.ts +17 -0
- package/dist/runtime/editor/features/debug/Main.d.vue.ts +7 -0
- package/dist/runtime/editor/features/debug/Main.vue +80 -0
- package/dist/runtime/editor/features/debug/Main.vue.d.ts +7 -0
- package/dist/runtime/editor/features/debug/Rects/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Rects/index.vue +61 -0
- package/dist/runtime/editor/features/debug/Rects/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Features.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Features.vue +34 -0
- package/dist/runtime/editor/features/debug/Section/Features.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Icons.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Icons.vue +17 -0
- package/dist/runtime/editor/features/debug/Section/Icons.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.vue +17 -0
- package/dist/runtime/editor/features/debug/Section/Keyboard.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Logging.d.vue.ts +7 -0
- package/dist/runtime/editor/features/debug/Section/Logging.vue +66 -0
- package/dist/runtime/editor/features/debug/Section/Logging.vue.d.ts +7 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.vue +96 -0
- package/dist/runtime/editor/features/debug/Section/Rendering.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Selection.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Section/Selection.vue +25 -0
- package/dist/runtime/editor/features/debug/Section/Selection.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/Viewport/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/Viewport/index.vue +98 -0
- package/dist/runtime/editor/features/debug/Viewport/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/debug/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/debug/index.vue +31 -0
- package/dist/runtime/editor/features/debug/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/delete/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/delete/index.vue +83 -0
- package/dist/runtime/editor/features/delete/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/delete/types.d.ts +8 -0
- package/dist/runtime/editor/features/delete/types.js +0 -0
- package/dist/runtime/editor/features/dev-mode/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/dev-mode/index.vue +122 -0
- package/dist/runtime/editor/features/dev-mode/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/diff/DiffView/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/diff/DiffView/index.vue +20 -0
- package/dist/runtime/editor/features/diff/DiffView/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/diff/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/diff/index.vue +35 -0
- package/dist/runtime/editor/features/diff/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.d.vue.ts +27 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue +88 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue.d.ts +27 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.d.vue.ts +31 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +395 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue.d.ts +31 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/fragment.glsl +152 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.d.vue.ts +31 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +934 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue.d.ts +31 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/vertex.glsl +183 -0
- package/dist/runtime/editor/features/dragging-overlay/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/dragging-overlay/index.vue +366 -0
- package/dist/runtime/editor/features/dragging-overlay/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/duplicate/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/duplicate/index.vue +121 -0
- package/dist/runtime/editor/features/duplicate/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/duplicate/types.d.ts +8 -0
- package/dist/runtime/editor/features/duplicate/types.js +0 -0
- package/dist/runtime/editor/features/edit/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/edit/index.vue +160 -0
- package/dist/runtime/editor/features/edit/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/edit/types.d.ts +9 -0
- package/dist/runtime/editor/features/edit/types.js +0 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.vue +70 -0
- package/dist/runtime/editor/features/edit-form/Frame/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/edit-form/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/edit-form/index.vue +176 -0
- package/dist/runtime/editor/features/edit-form/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Contenteditable/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Contenteditable/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +116 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.d.vue.ts +20 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue +70 -0
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue.d.ts +20 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.d.vue.ts +8 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue +135 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue.d.ts +8 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue +187 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue +254 -0
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/editable-field/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/editable-field/index.vue +164 -0
- package/dist/runtime/editor/features/editable-field/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/editable-field/types.d.ts +64 -0
- package/dist/runtime/editor/features/editable-field/types.js +0 -0
- package/dist/runtime/editor/features/editable-mask/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/editable-mask/index.vue +39 -0
- package/dist/runtime/editor/features/editable-mask/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/entity-title/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/entity-title/index.vue +136 -0
- package/dist/runtime/editor/features/entity-title/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/exit/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/exit/index.vue +38 -0
- package/dist/runtime/editor/features/exit/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.vue +34 -0
- package/dist/runtime/editor/features/fragments/Dialog/Item/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.vue +122 -0
- package/dist/runtime/editor/features/fragments/Dialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/fragments/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/fragments/index.vue +79 -0
- package/dist/runtime/editor/features/fragments/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/fragments/types.d.ts +15 -0
- package/dist/runtime/editor/features/fragments/types.js +0 -0
- package/dist/runtime/editor/features/grid/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/grid/index.vue +37 -0
- package/dist/runtime/editor/features/grid/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/grid/types.d.ts +8 -0
- package/dist/runtime/editor/features/grid/types.js +0 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue +60 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/help/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/help/index.vue +49 -0
- package/dist/runtime/editor/features/help/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/List/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/history/List/index.vue +128 -0
- package/dist/runtime/editor/features/history/List/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/history/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/history/index.vue +151 -0
- package/dist/runtime/editor/features/history/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/types.d.ts +12 -0
- package/dist/runtime/editor/features/history/types.js +0 -0
- package/dist/runtime/editor/features/hover/Renderer/fragment.glsl +141 -0
- package/dist/runtime/editor/features/hover/Renderer/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/hover/Renderer/index.vue +488 -0
- package/dist/runtime/editor/features/hover/Renderer/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/hover/Renderer/vertex.glsl +158 -0
- package/dist/runtime/editor/features/hover/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/hover/index.vue +28 -0
- package/dist/runtime/editor/features/hover/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue +117 -0
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/import-existing/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/import-existing/index.vue +80 -0
- package/dist/runtime/editor/features/import-existing/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/import-existing/types.d.ts +23 -0
- package/dist/runtime/editor/features/import-existing/types.js +0 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.vue +21 -0
- package/dist/runtime/editor/features/library/LibraryDialog/Item/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.vue +143 -0
- package/dist/runtime/editor/features/library/LibraryDialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.vue +104 -0
- package/dist/runtime/editor/features/library/ReusableDialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/library/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/library/index.vue +270 -0
- package/dist/runtime/editor/features/library/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/library/types.d.ts +87 -0
- package/dist/runtime/editor/features/library/types.js +0 -0
- package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.vue +168 -0
- package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/media-library/Library/Item.d.vue.ts +22 -0
- package/dist/runtime/editor/features/media-library/Library/Item.vue +57 -0
- package/dist/runtime/editor/features/media-library/Library/Item.vue.d.ts +22 -0
- package/dist/runtime/editor/features/media-library/Library/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue +205 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/media-library/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/media-library/index.vue +144 -0
- package/dist/runtime/editor/features/media-library/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/media-library/types.d.ts +85 -0
- package/dist/runtime/editor/features/media-library/types.js +0 -0
- package/dist/runtime/editor/features/multi-select/Renderer/fragment.glsl +77 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.vue +300 -0
- package/dist/runtime/editor/features/multi-select/Renderer/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/multi-select/Renderer/vertex.glsl +207 -0
- package/dist/runtime/editor/features/multi-select/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/multi-select/index.vue +69 -0
- package/dist/runtime/editor/features/multi-select/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +46 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.d.vue.ts +25 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +112 -0
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue.d.ts +25 -0
- package/dist/runtime/editor/features/options/Form/Color/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/options/Form/Color/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/options/Form/ComplexType/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +36 -0
- package/dist/runtime/editor/features/options/Form/ComplexType/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.d.vue.ts +21 -0
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.vue.d.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Group.d.vue.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Group.vue +23 -0
- package/dist/runtime/editor/features/options/Form/Group.vue.d.ts +21 -0
- package/dist/runtime/editor/features/options/Form/Item.d.vue.ts +15 -0
- package/dist/runtime/editor/features/options/Form/Item.vue +160 -0
- package/dist/runtime/editor/features/options/Form/Item.vue.d.ts +15 -0
- package/dist/runtime/editor/features/options/Form/Number/index.d.vue.ts +22 -0
- package/dist/runtime/editor/features/options/Form/Number/index.vue +54 -0
- package/dist/runtime/editor/features/options/Form/Number/index.vue.d.ts +22 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.d.vue.ts +37 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue +129 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue.d.ts +37 -0
- package/dist/runtime/editor/features/options/Form/Range/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/options/Form/Range/index.vue +37 -0
- package/dist/runtime/editor/features/options/Form/Range/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/options/Form/Text/index.d.vue.ts +18 -0
- package/dist/runtime/editor/features/options/Form/Text/index.vue.d.ts +18 -0
- package/dist/runtime/editor/features/options/Form/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/options/Form/index.vue +350 -0
- package/dist/runtime/editor/features/options/Form/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/options/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/options/index.vue +86 -0
- package/dist/runtime/editor/features/options/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/options/types.d.ts +21 -0
- package/dist/runtime/editor/features/options/types.js +0 -0
- package/dist/runtime/editor/features/ownership/Banner/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue +44 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/ownership/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/ownership/index.vue +44 -0
- package/dist/runtime/editor/features/ownership/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/ownership/types.d.ts +13 -0
- package/dist/runtime/editor/features/ownership/types.js +0 -0
- package/dist/runtime/editor/features/preview/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/preview/index.vue +41 -0
- package/dist/runtime/editor/features/preview/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/QrCode/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/preview-grant/QrCode/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/preview-grant/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/index.vue +71 -0
- package/dist/runtime/editor/features/preview-grant/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/preview-grant/types.d.ts +10 -0
- package/dist/runtime/editor/features/preview-grant/types.js +0 -0
- package/dist/runtime/editor/features/proxy-view/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/proxy-view/index.vue +40 -0
- package/dist/runtime/editor/features/proxy-view/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.d.vue.ts +22 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.vue +145 -0
- package/dist/runtime/editor/features/publish/Dialog/Item.vue.d.ts +22 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.d.vue.ts +21 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue +47 -0
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue.d.ts +21 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.d.vue.ts +10 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue +83 -0
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue.d.ts +10 -0
- package/dist/runtime/editor/features/publish/Dialog/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/publish/Dialog/index.vue +579 -0
- package/dist/runtime/editor/features/publish/Dialog/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/publish/Dialog/types.d.ts +7 -0
- package/dist/runtime/editor/features/publish/Dialog/types.js +0 -0
- package/dist/runtime/editor/features/publish/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/publish/index.vue +135 -0
- package/dist/runtime/editor/features/publish/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/publish/types.d.ts +109 -0
- package/dist/runtime/editor/features/publish/types.js +0 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.d.vue.ts +17 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +76 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue.d.ts +17 -0
- package/dist/runtime/editor/features/responsive-preview/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/responsive-preview/index.vue +193 -0
- package/dist/runtime/editor/features/responsive-preview/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/revert/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/revert/index.vue +68 -0
- package/dist/runtime/editor/features/revert/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/revert/types.d.ts +8 -0
- package/dist/runtime/editor/features/revert/types.js +0 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.d.vue.ts +18 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue +163 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue.d.ts +18 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.d.vue.ts +19 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +170 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue.d.ts +19 -0
- package/dist/runtime/editor/features/search/Overlay/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/search/Overlay/index.vue +186 -0
- package/dist/runtime/editor/features/search/Overlay/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/search/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/search/index.vue +166 -0
- package/dist/runtime/editor/features/search/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/search/types.d.ts +88 -0
- package/dist/runtime/editor/features/search/types.js +0 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/fragment.glsl +108 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.d.vue.ts +39 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +623 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue.d.ts +39 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/vertex.glsl +119 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.vue +478 -0
- package/dist/runtime/editor/features/selection/AddButtons/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/selection/Renderer/fragment.glsl +147 -0
- package/dist/runtime/editor/features/selection/Renderer/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/selection/Renderer/index.vue +303 -0
- package/dist/runtime/editor/features/selection/Renderer/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/selection/Renderer/vertex.glsl +111 -0
- package/dist/runtime/editor/features/selection/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/selection/index.vue +320 -0
- package/dist/runtime/editor/features/selection/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +126 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/settings/Dialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue +132 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/settings/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/settings/index.vue +80 -0
- package/dist/runtime/editor/features/settings/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/structure/List/Field/index.d.vue.ts +16 -0
- package/dist/runtime/editor/features/structure/List/Field/index.vue +145 -0
- package/dist/runtime/editor/features/structure/List/Field/index.vue.d.ts +16 -0
- package/dist/runtime/editor/features/structure/List/Item/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue +127 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/structure/List/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/structure/List/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/structure/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/structure/index.vue +99 -0
- package/dist/runtime/editor/features/structure/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/structure/types.d.ts +11 -0
- package/dist/runtime/editor/features/structure/types.js +0 -0
- package/dist/runtime/editor/features/swap/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/swap/index.vue +57 -0
- package/dist/runtime/editor/features/swap/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/swap/types.d.ts +8 -0
- package/dist/runtime/editor/features/swap/types.js +0 -0
- package/dist/runtime/editor/features/templates/CreateDialog/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/templates/CreateDialog/index.vue +116 -0
- package/dist/runtime/editor/features/templates/CreateDialog/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/templates/Dialog/Item/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/templates/Dialog/Item/index.vue +20 -0
- package/dist/runtime/editor/features/templates/Dialog/Item/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/templates/Dialog/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/templates/Dialog/index.vue +122 -0
- package/dist/runtime/editor/features/templates/Dialog/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/templates/ManageDialog/Item.d.vue.ts +8 -0
- package/dist/runtime/editor/features/templates/ManageDialog/Item.vue +147 -0
- package/dist/runtime/editor/features/templates/ManageDialog/Item.vue.d.ts +8 -0
- package/dist/runtime/editor/features/templates/ManageDialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/templates/ManageDialog/index.vue +107 -0
- package/dist/runtime/editor/features/templates/ManageDialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/templates/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/templates/index.vue +166 -0
- package/dist/runtime/editor/features/templates/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/templates/types.d.ts +66 -0
- package/dist/runtime/editor/features/templates/types.js +0 -0
- package/dist/runtime/editor/features/theme/Color/index.d.vue.ts +8 -0
- package/dist/runtime/editor/features/theme/Color/index.vue +64 -0
- package/dist/runtime/editor/features/theme/Color/index.vue.d.ts +8 -0
- package/dist/runtime/editor/features/theme/GeneratedCode/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/theme/GeneratedCode/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/theme/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/theme/index.vue +109 -0
- package/dist/runtime/editor/features/theme/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/touch-action-bar/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/touch-action-bar/index.vue +40 -0
- package/dist/runtime/editor/features/touch-action-bar/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/tour/Overlay/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue +218 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/tour/docs.md +0 -0
- package/dist/runtime/editor/features/tour/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/tour/index.vue +54 -0
- package/dist/runtime/editor/features/tour/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/tour/types.d.ts +6 -0
- package/dist/runtime/editor/features/tour/types.js +0 -0
- package/dist/runtime/editor/features/transform/Dialog/index.d.vue.ts +14 -0
- package/dist/runtime/editor/features/transform/Dialog/index.vue +226 -0
- package/dist/runtime/editor/features/transform/Dialog/index.vue.d.ts +14 -0
- package/dist/runtime/editor/features/transform/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/transform/index.vue +250 -0
- package/dist/runtime/editor/features/transform/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/transform/types.d.ts +107 -0
- package/dist/runtime/editor/features/transform/types.js +0 -0
- package/dist/runtime/editor/features/translations/Banner/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/translations/Banner/index.vue +48 -0
- package/dist/runtime/editor/features/translations/Banner/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/translations/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/translations/index.vue +217 -0
- package/dist/runtime/editor/features/translations/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/translations/types.d.ts +16 -0
- package/dist/runtime/editor/features/translations/types.js +0 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.d.vue.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.vue +36 -0
- package/dist/runtime/editor/features/validations/Overlay/Item.vue.d.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue +42 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.vue +41 -0
- package/dist/runtime/editor/features/validations/SidebarItem/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/validations/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/validations/index.vue +69 -0
- package/dist/runtime/editor/features/validations/index.vue.d.ts +3 -0
- package/dist/runtime/editor/helpers/array/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/array/index.js +4 -0
- package/dist/runtime/editor/helpers/bundles/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/bundles/index.js +8 -0
- package/dist/runtime/editor/helpers/clipboardData/index.d.ts +11 -0
- package/dist/runtime/editor/helpers/clipboardData/index.js +157 -0
- package/dist/runtime/editor/helpers/color/index.d.ts +6 -0
- package/dist/runtime/editor/helpers/color/index.js +48 -0
- package/dist/runtime/editor/helpers/date/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/date/index.js +3 -0
- package/dist/runtime/editor/helpers/diff/index.d.ts +11 -0
- package/dist/runtime/editor/helpers/diff/index.js +227 -0
- package/dist/runtime/editor/helpers/dom/index.d.ts +75 -0
- package/dist/runtime/editor/helpers/dom/index.js +107 -0
- package/dist/runtime/editor/helpers/dragStyle/index.d.ts +12 -0
- package/dist/runtime/editor/helpers/dragStyle/index.js +93 -0
- package/dist/runtime/editor/helpers/draggable/index.d.ts +3 -0
- package/dist/runtime/editor/helpers/draggable/index.js +9 -0
- package/dist/runtime/editor/helpers/dropTargets/index.d.ts +6 -0
- package/dist/runtime/editor/helpers/dropTargets/index.js +68 -0
- package/dist/runtime/editor/helpers/geometry/index.d.ts +43 -0
- package/dist/runtime/editor/helpers/geometry/index.js +191 -0
- package/dist/runtime/editor/helpers/math/index.d.ts +3 -0
- package/dist/runtime/editor/helpers/math/index.js +10 -0
- package/dist/runtime/editor/helpers/options/index.d.ts +20 -0
- package/dist/runtime/editor/helpers/options/index.js +65 -0
- package/dist/runtime/editor/helpers/swap.d.ts +13 -0
- package/dist/runtime/editor/helpers/swap.js +31 -0
- package/dist/runtime/editor/helpers/uuid/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/uuid/index.js +18 -0
- package/dist/runtime/editor/helpers/vue/index.d.ts +1 -0
- package/dist/runtime/editor/helpers/vue/index.js +10 -0
- package/dist/runtime/editor/helpers/webgl/index.d.ts +49 -0
- package/dist/runtime/editor/helpers/webgl/index.js +347 -0
- package/dist/runtime/editor/icons/svg/dock-window.svg +1 -0
- package/dist/runtime/editor/icons/svg/duplicate.svg +1 -0
- package/dist/runtime/editor/icons/svg/reusable.svg +1 -0
- package/dist/runtime/editor/icons/svg/stars.svg +5 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.d.vue.ts +65 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.vue +65 -0
- package/dist/runtime/editor/plugins/BlockIndicator/index.vue.d.ts +65 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.d.vue.ts +13 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +75 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue.d.ts +13 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.d.vue.ts +36 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.vue +39 -0
- package/dist/runtime/editor/plugins/ContextMenu/index.vue.d.ts +36 -0
- package/dist/runtime/editor/plugins/DebugOverlay/index.d.vue.ts +23 -0
- package/dist/runtime/editor/plugins/DebugOverlay/index.vue.d.ts +23 -0
- package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +94 -0
- package/dist/runtime/editor/plugins/ItemAction/index.vue +101 -0
- package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +94 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.d.vue.ts +47 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue +284 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue.d.ts +47 -0
- package/dist/runtime/editor/plugins/Sidebar/index.d.vue.ts +241 -0
- package/dist/runtime/editor/plugins/Sidebar/index.vue +281 -0
- package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +241 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.d.vue.ts +165 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue +91 -0
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue.d.ts +165 -0
- package/dist/runtime/editor/plugins/TourItem/index.d.vue.ts +41 -0
- package/dist/runtime/editor/plugins/TourItem/index.vue +50 -0
- package/dist/runtime/editor/plugins/TourItem/index.vue.d.ts +41 -0
- package/dist/runtime/editor/plugins/ViewOption/index.d.vue.ts +139 -0
- package/dist/runtime/editor/plugins/ViewOption/index.vue +98 -0
- package/dist/runtime/editor/plugins/ViewOption/index.vue.d.ts +139 -0
- package/dist/runtime/editor/plugins/index.d.ts +9 -0
- package/dist/runtime/editor/plugins/index.js +18 -0
- package/dist/runtime/editor/providers/adapters.d.ts +33 -0
- package/dist/runtime/editor/providers/adapters.js +88 -0
- package/dist/runtime/editor/providers/analyze.d.ts +44 -0
- package/dist/runtime/editor/providers/analyze.js +81 -0
- package/dist/runtime/editor/providers/animation.d.ts +208 -0
- package/dist/runtime/editor/providers/animation.js +527 -0
- package/dist/runtime/editor/providers/blocks.d.ts +32 -0
- package/dist/runtime/editor/providers/blocks.js +113 -0
- package/dist/runtime/editor/providers/commands.d.ts +41 -0
- package/dist/runtime/editor/providers/commands.js +16 -0
- package/dist/runtime/editor/providers/debug.d.ts +126 -0
- package/dist/runtime/editor/providers/debug.js +132 -0
- package/dist/runtime/editor/providers/definition.d.ts +99 -0
- package/dist/runtime/editor/providers/definition.js +134 -0
- package/dist/runtime/editor/providers/directive.d.ts +116 -0
- package/dist/runtime/editor/providers/directive.js +242 -0
- package/dist/runtime/editor/providers/dom.d.ts +240 -0
- package/dist/runtime/editor/providers/dom.js +540 -0
- package/dist/runtime/editor/providers/dragdrop.d.ts +55 -0
- package/dist/runtime/editor/providers/dragdrop.js +37 -0
- package/dist/runtime/editor/providers/element.d.ts +63 -0
- package/dist/runtime/editor/providers/element.js +35 -0
- package/dist/runtime/editor/providers/features.d.ts +57 -0
- package/dist/runtime/editor/providers/features.js +53 -0
- package/dist/runtime/editor/providers/fieldValue.d.ts +55 -0
- package/dist/runtime/editor/providers/fieldValue.js +131 -0
- package/dist/runtime/editor/providers/fieldValueAdapterTypes.d.ts +13 -0
- package/dist/runtime/editor/providers/fieldValueAdapterTypes.js +0 -0
- package/dist/runtime/editor/providers/fields.d.ts +41 -0
- package/dist/runtime/editor/providers/fields.js +99 -0
- package/dist/runtime/editor/providers/icons.d.ts +6 -0
- package/dist/runtime/editor/providers/icons.js +16 -0
- package/dist/runtime/editor/providers/indicators.d.ts +44 -0
- package/dist/runtime/editor/providers/indicators.js +23 -0
- package/dist/runtime/editor/providers/keyboard.d.ts +77 -0
- package/dist/runtime/editor/providers/keyboard.js +101 -0
- package/dist/runtime/editor/providers/permissions.d.ts +27 -0
- package/dist/runtime/editor/providers/permissions.js +105 -0
- package/dist/runtime/editor/providers/plugin.d.ts +82 -0
- package/dist/runtime/editor/providers/plugin.js +64 -0
- package/dist/runtime/editor/providers/readability.d.ts +23 -0
- package/dist/runtime/editor/providers/readability.js +126 -0
- package/dist/runtime/editor/providers/selection.d.ts +81 -0
- package/dist/runtime/editor/providers/selection.js +162 -0
- package/dist/runtime/editor/providers/state.d.ts +264 -0
- package/dist/runtime/editor/providers/state.js +427 -0
- package/dist/runtime/editor/providers/storage.d.ts +64 -0
- package/dist/runtime/editor/providers/storage.js +133 -0
- package/dist/runtime/editor/providers/texts.js +43 -0
- package/dist/runtime/editor/providers/theme.d.ts +119 -0
- package/dist/runtime/editor/providers/theme.js +140 -0
- package/dist/runtime/editor/providers/tour.d.ts +49 -0
- package/dist/runtime/editor/providers/tour.js +19 -0
- package/dist/runtime/editor/providers/types.d.ts +181 -0
- package/dist/runtime/editor/providers/types.js +170 -0
- package/dist/runtime/editor/providers/ui.d.ts +419 -0
- package/dist/runtime/editor/providers/ui.js +461 -0
- package/dist/runtime/editor/translations/de.json +3358 -0
- package/dist/runtime/editor/translations/fr.json +3358 -0
- package/dist/runtime/editor/translations/gsw_CH.json +3358 -0
- package/dist/runtime/editor/translations/it.json +3358 -0
- package/dist/runtime/editor/types/actions.d.ts +19 -0
- package/dist/runtime/editor/types/actions.js +0 -0
- package/dist/runtime/editor/types/app.d.ts +72 -0
- package/dist/runtime/editor/types/app.js +0 -0
- package/dist/runtime/editor/types/definitions.d.ts +25 -0
- package/dist/runtime/editor/types/definitions.js +0 -0
- package/dist/runtime/editor/types/draggable.d.ts +10 -0
- package/dist/runtime/editor/types/draggable.js +0 -0
- package/dist/runtime/editor/types/features.d.ts +11 -0
- package/dist/runtime/editor/types/features.js +0 -0
- package/dist/runtime/editor/types/field.d.ts +59 -0
- package/dist/runtime/editor/types/field.js +0 -0
- package/dist/runtime/editor/types/geometry.d.ts +9 -0
- package/dist/runtime/editor/types/geometry.js +0 -0
- package/dist/runtime/editor/types/index.d.ts +1 -0
- package/dist/runtime/editor/types/index.js +0 -0
- package/dist/runtime/editor/types/permissions.d.ts +17 -0
- package/dist/runtime/editor/types/permissions.js +0 -0
- package/dist/runtime/editor/types/pluginConfig.d.ts +48 -0
- package/dist/runtime/editor/types/pluginConfig.js +0 -0
- package/dist/runtime/editor/types/selection.d.ts +6 -0
- package/dist/runtime/editor/types/selection.js +0 -0
- package/dist/runtime/editor/types/state.d.ts +76 -0
- package/dist/runtime/editor/types/state.js +0 -0
- package/dist/runtime/editor/types/style.d.ts +29 -0
- package/dist/runtime/editor/types/style.js +0 -0
- package/dist/runtime/editor/types/ui.d.ts +44 -0
- package/dist/runtime/editor/types/ui.js +0 -0
- package/dist/runtime/helpers/imports/index.d.ts +9 -1
- package/dist/runtime/helpers/imports/index.js +24 -6
- package/dist/runtime/helpers/index.d.ts +0 -80
- package/dist/runtime/helpers/index.js +0 -470
- package/dist/runtime/helpers/injections.d.ts +136 -0
- package/dist/runtime/helpers/injections.js +75 -0
- package/dist/runtime/helpers/runtimeHelpers/index.d.ts +3 -2
- package/dist/runtime/helpers/runtimeHelpers/index.js +77 -19
- package/dist/runtime/plugins/blokkliDirectives.d.ts +2 -0
- package/dist/runtime/plugins/blokkliDirectives.js +109 -0
- package/dist/runtime/types/blockOptions.d.ts +4 -0
- package/dist/runtime/types/blockOptions.js +0 -0
- package/dist/runtime/types/definitions.d.ts +131 -0
- package/dist/runtime/types/definitions.js +0 -0
- package/dist/runtime/types/directives.d.ts +1 -0
- package/dist/runtime/types/directives.js +0 -0
- package/dist/runtime/types/field.d.ts +26 -0
- package/dist/runtime/types/field.js +0 -0
- package/dist/runtime/types/index.d.ts +7 -1178
- package/dist/runtime/types/provider.d.ts +7 -0
- package/dist/runtime/types/provider.js +0 -0
- package/dist/runtime/types/vue.d.ts +1 -0
- package/dist/runtime/types/vue.js +0 -0
- package/dist/shared/editor.6D5vApr0.mjs +30 -0
- package/dist/shared/editor.9vf8ZnOp.mjs +288 -0
- package/dist/shared/editor.DsGJIlGn.d.mts +631 -0
- package/dist/types.d.mts +8 -0
- package/package.json +194 -66
- package/dist/runtime/adapter/index.d.ts +0 -406
- package/dist/runtime/adapter/index.js +0 -3
- package/dist/runtime/blokkliPlugins/AddAction/index.vue +0 -72
- package/dist/runtime/blokkliPlugins/AddAction/index.vue.d.ts +0 -26
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue +0 -69
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue.d.ts +0 -12
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue +0 -38
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue.d.ts +0 -37
- package/dist/runtime/blokkliPlugins/DebugOverlay/index.vue.d.ts +0 -21
- package/dist/runtime/blokkliPlugins/DroppableEdit/index.vue +0 -56
- package/dist/runtime/blokkliPlugins/DroppableEdit/index.vue.d.ts +0 -41
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue +0 -86
- package/dist/runtime/blokkliPlugins/ItemAction/index.vue.d.ts +0 -83
- package/dist/runtime/blokkliPlugins/ItemDropdown/index.vue +0 -38
- package/dist/runtime/blokkliPlugins/ItemDropdown/index.vue.d.ts +0 -17
- package/dist/runtime/blokkliPlugins/MenuButton/index.vue +0 -66
- package/dist/runtime/blokkliPlugins/MenuButton/index.vue.d.ts +0 -32
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue +0 -271
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue.d.ts +0 -91
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue +0 -239
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue.d.ts +0 -85
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue +0 -85
- package/dist/runtime/blokkliPlugins/ToolbarButton/index.vue.d.ts +0 -48
- package/dist/runtime/blokkliPlugins/TourItem/index.vue +0 -36
- package/dist/runtime/blokkliPlugins/TourItem/index.vue.d.ts +0 -20
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue +0 -94
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue.d.ts +0 -39
- package/dist/runtime/blokkliPlugins/index.d.ts +0 -12
- package/dist/runtime/blokkliPlugins/index.js +0 -24
- package/dist/runtime/components/Blocks/Fragment/icon.svg +0 -1
- package/dist/runtime/components/Edit/Actions/index.vue +0 -244
- package/dist/runtime/components/Edit/Actions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/AddListItem/index.vue +0 -95
- package/dist/runtime/components/Edit/AddListItem/index.vue.d.ts +0 -28
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue +0 -87
- package/dist/runtime/components/Edit/AnimationCanvas/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/AppMenu/index.vue +0 -57
- package/dist/runtime/components/Edit/AppMenu/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/BlockProxy/index.vue +0 -94
- package/dist/runtime/components/Edit/BlockProxy/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue +0 -60
- package/dist/runtime/components/Edit/BlokkliErrorBoundary.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/Dialog/index.vue +0 -140
- package/dist/runtime/components/Edit/Dialog/index.vue.d.ts +0 -44
- package/dist/runtime/components/Edit/DragInteractions/index.vue +0 -364
- package/dist/runtime/components/Edit/DragInteractions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/DraggableList.vue +0 -189
- package/dist/runtime/components/Edit/DraggableList.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/EditIndicator.vue +0 -70
- package/dist/runtime/components/Edit/EditIndicator.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/EditProvider.vue +0 -239
- package/dist/runtime/components/Edit/EditProvider.vue.d.ts +0 -26
- package/dist/runtime/components/Edit/Features/AddList/docs.md +0 -4
- package/dist/runtime/components/Edit/Features/AddList/index.vue +0 -181
- package/dist/runtime/components/Edit/Features/AddList/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue +0 -93
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Artboard/Scrollbar/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Artboard/Scrollbar/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Artboard/index.vue +0 -299
- package/dist/runtime/components/Edit/Features/Artboard/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/ResultMarkup/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/index.vue +0 -134
- package/dist/runtime/components/Edit/Features/Assistant/Overlay/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Assistant/docs.md +0 -7
- package/dist/runtime/components/Edit/Features/Assistant/index.vue +0 -59
- package/dist/runtime/components/Edit/Features/Assistant/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/BlockAddList/docs.md +0 -15
- package/dist/runtime/components/Edit/Features/BlockAddList/index.vue +0 -371
- package/dist/runtime/components/Edit/Features/BlockAddList/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/File.vue +0 -60
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/File.vue.d.ts +0 -3
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/Video.vue +0 -54
- package/dist/runtime/components/Edit/Features/Clipboard/List/Item/Video.vue.d.ts +0 -3
- package/dist/runtime/components/Edit/Features/Clipboard/List/index.vue +0 -61
- package/dist/runtime/components/Edit/Features/Clipboard/List/index.vue.d.ts +0 -10
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue +0 -434
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Group/index.vue +0 -51
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Group/index.vue.d.ts +0 -22
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue +0 -248
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue +0 -46
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Comments/AddForm/index.vue +0 -29
- package/dist/runtime/components/Edit/Features/Comments/AddForm/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Comments/Comment/index.vue +0 -45
- package/dist/runtime/components/Edit/Features/Comments/Comment/index.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/Features/Comments/Overlay/Item/index.vue +0 -88
- package/dist/runtime/components/Edit/Features/Comments/Overlay/Item/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/Comments/Overlay/index.vue +0 -103
- package/dist/runtime/components/Edit/Features/Comments/Overlay/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Comments/index.vue +0 -99
- package/dist/runtime/components/Edit/Features/Comments/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Conversions/index.vue +0 -82
- package/dist/runtime/components/Edit/Features/Conversions/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/Debug/Rects/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue +0 -84
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Debug/index.vue +0 -186
- package/dist/runtime/components/Edit/Features/Debug/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Delete/index.vue +0 -66
- package/dist/runtime/components/Edit/Features/Delete/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Diff/DiffView/index.vue +0 -197
- package/dist/runtime/components/Edit/Features/Diff/DiffView/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Diff/index.vue +0 -35
- package/dist/runtime/components/Edit/Features/Diff/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue +0 -307
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/fragment.glsl +0 -90
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/index.vue +0 -713
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/index.vue.d.ts +0 -156
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/vertex.glsl +0 -77
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue +0 -310
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue +0 -93
- package/dist/runtime/components/Edit/Features/Duplicate/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Edit/index.vue +0 -82
- package/dist/runtime/components/Edit/Features/Edit/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Features/EditForm/index.vue +0 -181
- package/dist/runtime/components/Edit/Features/EditForm/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Contenteditable/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue +0 -52
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Frame/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue +0 -70
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/Plaintext/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue +0 -295
- package/dist/runtime/components/Edit/Features/EditableField/Overlay/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Features/EditableField/index.vue +0 -145
- package/dist/runtime/components/Edit/Features/EditableField/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue +0 -56
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue +0 -100
- package/dist/runtime/components/Edit/Features/EntityTitle/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Exit/index.vue +0 -35
- package/dist/runtime/components/Edit/Features/Exit/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/FieldAreas/Overlay/index.vue +0 -22
- package/dist/runtime/components/Edit/Features/FieldAreas/Overlay/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/FieldAreas/index.vue +0 -41
- package/dist/runtime/components/Edit/Features/FieldAreas/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/Item/index.vue +0 -61
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/Item/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue +0 -120
- package/dist/runtime/components/Edit/Features/Fragments/Dialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Fragments/index.vue +0 -76
- package/dist/runtime/components/Edit/Features/Fragments/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Grid/index.vue +0 -37
- package/dist/runtime/components/Edit/Features/Grid/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Help/Shortcuts/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Help/Shortcuts/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Help/index.vue +0 -49
- package/dist/runtime/components/Edit/Features/Help/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/History/List/index.vue +0 -128
- package/dist/runtime/components/Edit/Features/History/List/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/History/index.vue +0 -123
- package/dist/runtime/components/Edit/Features/History/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue +0 -122
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue +0 -79
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue +0 -168
- package/dist/runtime/components/Edit/Features/Library/EditReusable/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/Item/index.vue +0 -71
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/Item/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue +0 -156
- package/dist/runtime/components/Edit/Features/Library/LibraryDialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue +0 -85
- package/dist/runtime/components/Edit/Features/Library/ReusableDialog/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Library/index.vue +0 -175
- package/dist/runtime/components/Edit/Features/Library/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/Item.vue +0 -40
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/Item.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue +0 -173
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue +0 -149
- package/dist/runtime/components/Edit/Features/MediaLibrary/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/MediaLibrary/types.d.ts +0 -57
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/fragment.glsl +0 -90
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/index.vue +0 -229
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/vertex.glsl +0 -182
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue +0 -45
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Options/Form/Checkboxes/index.vue +0 -112
- package/dist/runtime/components/Edit/Features/Options/Form/Checkboxes/index.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/Features/Options/Form/Color/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Options/Form/DateTimeLocal/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Features/Options/Form/Group.vue +0 -23
- package/dist/runtime/components/Edit/Features/Options/Form/Group.vue.d.ts +0 -29
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue +0 -175
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Features/Options/Form/Number/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Options/Form/Number/index.vue.d.ts +0 -21
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue +0 -111
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue.d.ts +0 -30
- package/dist/runtime/components/Edit/Features/Options/Form/Range/index.vue +0 -37
- package/dist/runtime/components/Edit/Features/Options/Form/Range/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Options/Form/Text/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue +0 -337
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Options/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Options/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Ownership/index.vue +0 -50
- package/dist/runtime/components/Edit/Features/Ownership/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Preview/index.vue +0 -41
- package/dist/runtime/components/Edit/Features/Preview/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/PreviewGrant/QrCode/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue +0 -69
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ProxyView/index.vue +0 -36
- package/dist/runtime/components/Edit/Features/ProxyView/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Item.vue +0 -118
- package/dist/runtime/components/Edit/Features/Publish/Dialog/Item.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue +0 -251
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue.d.ts +0 -19
- package/dist/runtime/components/Edit/Features/Publish/Dialog/types.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Publish/index.vue +0 -116
- package/dist/runtime/components/Edit/Features/Publish/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue +0 -75
- package/dist/runtime/components/Edit/Features/ResponsivePreview/Frame/index.vue.d.ts +0 -27
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue +0 -192
- package/dist/runtime/components/Edit/Features/ResponsivePreview/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Revert/index.vue +0 -63
- package/dist/runtime/components/Edit/Features/Revert/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue +0 -144
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Content/index.vue.d.ts +0 -17
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue +0 -161
- package/dist/runtime/components/Edit/Features/Search/Overlay/Results/Page/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue +0 -175
- package/dist/runtime/components/Edit/Features/Search/Overlay/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Search/index.vue +0 -72
- package/dist/runtime/components/Edit/Features/Search/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Selection/Overlay/fragment.glsl +0 -133
- package/dist/runtime/components/Edit/Features/Selection/Overlay/index.vue +0 -108
- package/dist/runtime/components/Edit/Features/Selection/Overlay/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Selection/Overlay/vertex.glsl +0 -90
- package/dist/runtime/components/Edit/Features/Selection/OverlayFallback/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Selection/OverlayFallback/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/Features/Selection/index.vue +0 -209
- package/dist/runtime/components/Edit/Features/Selection/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue +0 -131
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Settings/Dialog/index.vue +0 -129
- package/dist/runtime/components/Edit/Features/Settings/Dialog/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Settings/index.vue +0 -84
- package/dist/runtime/components/Edit/Features/Settings/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue +0 -145
- package/dist/runtime/components/Edit/Features/Structure/List/Field/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue +0 -121
- package/dist/runtime/components/Edit/Features/Structure/List/Item/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Structure/List/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/Structure/index.vue +0 -75
- package/dist/runtime/components/Edit/Features/Structure/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue +0 -60
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/Features/Theme/GeneratedCode/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Theme/index.vue +0 -108
- package/dist/runtime/components/Edit/Features/Theme/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/TouchActionBar/Bar/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue +0 -39
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue +0 -215
- package/dist/runtime/components/Edit/Features/Tour/Overlay/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Tour/Popup/index.vue +0 -34
- package/dist/runtime/components/Edit/Features/Tour/Popup/index.vue.d.ts +0 -8
- package/dist/runtime/components/Edit/Features/Tour/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Tour/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Transform/index.vue +0 -141
- package/dist/runtime/components/Edit/Features/Transform/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Translations/Banner/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Translations/Banner/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Translations/index.vue +0 -214
- package/dist/runtime/components/Edit/Features/Translations/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/Validations/Overlay/Item.vue +0 -36
- package/dist/runtime/components/Edit/Features/Validations/Overlay/Item.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Validations/Overlay/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Validations/Overlay/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue +0 -42
- package/dist/runtime/components/Edit/Features/Validations/SidebarItem/index.vue.d.ts +0 -9
- package/dist/runtime/components/Edit/Features/Validations/index.vue +0 -64
- package/dist/runtime/components/Edit/Features/Validations/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Features/index.vue +0 -52
- package/dist/runtime/components/Edit/Features/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Form/Group/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Form/Item/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/Form/Textarea/index.vue +0 -27
- package/dist/runtime/components/Edit/Form/Textarea/index.vue.d.ts +0 -16
- package/dist/runtime/components/Edit/Form/Toggle/index.vue +0 -21
- package/dist/runtime/components/Edit/Form/Toggle/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/FormOverlay/Header/index.vue +0 -28
- package/dist/runtime/components/Edit/FormOverlay/Header/index.vue.d.ts +0 -18
- package/dist/runtime/components/Edit/FormOverlay/index.vue +0 -46
- package/dist/runtime/components/Edit/FormOverlay/index.vue.d.ts +0 -25
- package/dist/runtime/components/Edit/Highlight/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Icon/index.vue +0 -18
- package/dist/runtime/components/Edit/Icon/index.vue.d.ts +0 -7
- package/dist/runtime/components/Edit/InfoBox/index.vue +0 -13
- package/dist/runtime/components/Edit/InfoBox/index.vue.d.ts +0 -5
- package/dist/runtime/components/Edit/ItemIcon/index.vue +0 -27
- package/dist/runtime/components/Edit/ItemIcon/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Loading/index.vue +0 -18
- package/dist/runtime/components/Edit/Loading/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/Messages/Item/index.vue +0 -96
- package/dist/runtime/components/Edit/Messages/Item/index.vue.d.ts +0 -11
- package/dist/runtime/components/Edit/Messages/index.vue +0 -31
- package/dist/runtime/components/Edit/Messages/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Pagination/index.vue +0 -19
- package/dist/runtime/components/Edit/Pagination/index.vue.d.ts +0 -12
- package/dist/runtime/components/Edit/PreviewProvider.vue +0 -177
- package/dist/runtime/components/Edit/PreviewProvider.vue.d.ts +0 -24
- package/dist/runtime/components/Edit/RelativeTime/index.vue +0 -31
- package/dist/runtime/components/Edit/RelativeTime/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/Resizable/index.vue +0 -80
- package/dist/runtime/components/Edit/Resizable/index.vue.d.ts +0 -13
- package/dist/runtime/components/Edit/ScaleToFit/index.vue +0 -70
- package/dist/runtime/components/Edit/ScaleToFit/index.vue.d.ts +0 -15
- package/dist/runtime/components/Edit/ScrollBoundary/index.vue +0 -23
- package/dist/runtime/components/Edit/ScrollBoundary/index.vue.d.ts +0 -23
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue +0 -78
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/Sortli/index.vue +0 -83
- package/dist/runtime/components/Edit/Sortli/index.vue.d.ts +0 -14
- package/dist/runtime/components/Edit/SystemRequirements/index.vue +0 -77
- package/dist/runtime/components/Edit/SystemRequirements/index.vue.d.ts +0 -2
- package/dist/runtime/components/Edit/Toolbar/index.vue +0 -91
- package/dist/runtime/components/Edit/Toolbar/index.vue.d.ts +0 -6
- package/dist/runtime/components/Edit/ViewportBlockingRect/index.vue +0 -53
- package/dist/runtime/components/Edit/ViewportBlockingRect/index.vue.d.ts +0 -20
- package/dist/runtime/components/Edit/index.d.ts +0 -21
- package/dist/runtime/components/Edit/index.js +0 -42
- package/dist/runtime/constants/index.d.ts +0 -4
- package/dist/runtime/constants/index.js +0 -8
- package/dist/runtime/css/output.css +0 -1
- package/dist/runtime/helpers/DragStyle/index.d.ts +0 -12
- package/dist/runtime/helpers/DragStyle/index.js +0 -86
- package/dist/runtime/helpers/animationProvider.d.ts +0 -25
- package/dist/runtime/helpers/animationProvider.js +0 -123
- package/dist/runtime/helpers/commandsProvider.d.ts +0 -9
- package/dist/runtime/helpers/commandsProvider.js +0 -16
- package/dist/runtime/helpers/composables/defineCommands.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineCommands.js +0 -10
- package/dist/runtime/helpers/composables/defineDropAreas.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineDropAreas.js +0 -10
- package/dist/runtime/helpers/composables/defineShortcut.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineShortcut.js +0 -19
- package/dist/runtime/helpers/composables/defineTourItem.d.ts +0 -2
- package/dist/runtime/helpers/composables/defineTourItem.js +0 -10
- package/dist/runtime/helpers/composables/onBlokkliEvent.d.ts +0 -2
- package/dist/runtime/helpers/composables/onBlokkliEvent.js +0 -10
- package/dist/runtime/helpers/composables/onBroadcastEvent.d.ts +0 -2
- package/dist/runtime/helpers/composables/onBroadcastEvent.js +0 -10
- package/dist/runtime/helpers/composables/useAnimationFrame.d.ts +0 -1
- package/dist/runtime/helpers/composables/useAnimationFrame.js +0 -14
- package/dist/runtime/helpers/composables/useBlockRegistration.d.ts +0 -5
- package/dist/runtime/helpers/composables/useBlockRegistration.js +0 -23
- package/dist/runtime/helpers/composables/useDebugLogger.d.ts +0 -2
- package/dist/runtime/helpers/composables/useDebugLogger.js +0 -5
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.d.ts +0 -5
- package/dist/runtime/helpers/composables/useDelayedIntersectionObserver.js +0 -26
- package/dist/runtime/helpers/debugProvider.d.ts +0 -23
- package/dist/runtime/helpers/debugProvider.js +0 -65
- package/dist/runtime/helpers/definitionProvider.d.ts +0 -18
- package/dist/runtime/helpers/definitionProvider.js +0 -96
- package/dist/runtime/helpers/dom/index.d.ts +0 -5
- package/dist/runtime/helpers/dom/index.js +0 -37
- package/dist/runtime/helpers/domProvider.d.ts +0 -51
- package/dist/runtime/helpers/domProvider.js +0 -452
- package/dist/runtime/helpers/dropAreaProvider.d.ts +0 -9
- package/dist/runtime/helpers/dropAreaProvider.js +0 -22
- package/dist/runtime/helpers/eventBus.d.ts +0 -3
- package/dist/runtime/helpers/eventBus.js +0 -5
- package/dist/runtime/helpers/featuresProvider.d.ts +0 -17
- package/dist/runtime/helpers/featuresProvider.js +0 -53
- package/dist/runtime/helpers/frameEventBus.d.ts +0 -9
- package/dist/runtime/helpers/frameEventBus.js +0 -2
- package/dist/runtime/helpers/keyboardProvider.d.ts +0 -18
- package/dist/runtime/helpers/keyboardProvider.js +0 -90
- package/dist/runtime/helpers/selectionProvider.d.ts +0 -63
- package/dist/runtime/helpers/selectionProvider.js +0 -154
- package/dist/runtime/helpers/stateProvider.d.ts +0 -37
- package/dist/runtime/helpers/stateProvider.js +0 -253
- package/dist/runtime/helpers/storageProvider.d.ts +0 -15
- package/dist/runtime/helpers/storageProvider.js +0 -61
- package/dist/runtime/helpers/symbols.d.ts +0 -23
- package/dist/runtime/helpers/symbols.js +0 -25
- package/dist/runtime/helpers/textProvider.js +0 -20
- package/dist/runtime/helpers/themeProvider.d.ts +0 -27
- package/dist/runtime/helpers/themeProvider.js +0 -127
- package/dist/runtime/helpers/tourProvider.d.ts +0 -11
- package/dist/runtime/helpers/tourProvider.js +0 -19
- package/dist/runtime/helpers/transform.d.ts +0 -2
- package/dist/runtime/helpers/transform.js +0 -17
- package/dist/runtime/helpers/typesProvider.d.ts +0 -36
- package/dist/runtime/helpers/typesProvider.js +0 -138
- package/dist/runtime/helpers/uiProvider.d.ts +0 -41
- package/dist/runtime/helpers/uiProvider.js +0 -298
- package/dist/runtime/helpers/webgl/index.d.ts +0 -37
- package/dist/runtime/helpers/webgl/index.js +0 -165
- package/dist/runtime/icons/alert.svg +0 -6
- package/dist/runtime/icons/area.svg +0 -5
- package/dist/runtime/icons/arrow-down.svg +0 -1
- package/dist/runtime/icons/arrow-left.svg +0 -1
- package/dist/runtime/icons/arrow-right.svg +0 -1
- package/dist/runtime/icons/arrow-up.svg +0 -1
- package/dist/runtime/icons/artboard-disabled.svg +0 -9
- package/dist/runtime/icons/artboard-enabled.svg +0 -29
- package/dist/runtime/icons/bug.svg +0 -1
- package/dist/runtime/icons/button-pointer.svg +0 -1
- package/dist/runtime/icons/caret.svg +0 -12
- package/dist/runtime/icons/cellphone.svg +0 -1
- package/dist/runtime/icons/chat-question.svg +0 -1
- package/dist/runtime/icons/check.svg +0 -1
- package/dist/runtime/icons/checkbox.svg +0 -5
- package/dist/runtime/icons/checks.svg +0 -1
- package/dist/runtime/icons/chevron-left.svg +0 -1
- package/dist/runtime/icons/chevron-right.svg +0 -1
- package/dist/runtime/icons/clipboard.svg +0 -5
- package/dist/runtime/icons/close.svg +0 -5
- package/dist/runtime/icons/cog.svg +0 -5
- package/dist/runtime/icons/command.svg +0 -1
- package/dist/runtime/icons/comment.svg +0 -5
- package/dist/runtime/icons/comment_add.svg +0 -5
- package/dist/runtime/icons/convert.svg +0 -1
- package/dist/runtime/icons/cursor-move.svg +0 -1
- package/dist/runtime/icons/dead.svg +0 -1
- package/dist/runtime/icons/delete.svg +0 -8
- package/dist/runtime/icons/diff.svg +0 -1
- package/dist/runtime/icons/drag.svg +0 -1
- package/dist/runtime/icons/duplicate.svg +0 -12
- package/dist/runtime/icons/edit.svg +0 -8
- package/dist/runtime/icons/exit.svg +0 -6
- package/dist/runtime/icons/expand.svg +0 -1
- package/dist/runtime/icons/eye.svg +0 -1
- package/dist/runtime/icons/file.svg +0 -1
- package/dist/runtime/icons/form.svg +0 -1
- package/dist/runtime/icons/fragment.svg +0 -1
- package/dist/runtime/icons/grid.svg +0 -13
- package/dist/runtime/icons/group.svg +0 -5
- package/dist/runtime/icons/help.svg +0 -1
- package/dist/runtime/icons/history.svg +0 -1
- package/dist/runtime/icons/image.svg +0 -1
- package/dist/runtime/icons/import.svg +0 -5
- package/dist/runtime/icons/info.svg +0 -1
- package/dist/runtime/icons/laptop.svg +0 -1
- package/dist/runtime/icons/list-view-grid.svg +0 -1
- package/dist/runtime/icons/list-view-horizontal.svg +0 -1
- package/dist/runtime/icons/magnifier.svg +0 -5
- package/dist/runtime/icons/menu.svg +0 -1
- package/dist/runtime/icons/minus.svg +0 -1
- package/dist/runtime/icons/monitor.svg +0 -1
- package/dist/runtime/icons/multi-select.svg +0 -1
- package/dist/runtime/icons/multimedia.svg +0 -1
- package/dist/runtime/icons/opacity.svg +0 -5
- package/dist/runtime/icons/open_in_new.svg +0 -3
- package/dist/runtime/icons/palette.svg +0 -1
- package/dist/runtime/icons/plus-box.svg +0 -1
- package/dist/runtime/icons/plus.svg +0 -1
- package/dist/runtime/icons/preview.svg +0 -5
- package/dist/runtime/icons/publish.svg +0 -12
- package/dist/runtime/icons/puzzle.svg +0 -1
- package/dist/runtime/icons/qrcode.svg +0 -5
- package/dist/runtime/icons/question.svg +0 -5
- package/dist/runtime/icons/redo.svg +0 -12
- package/dist/runtime/icons/resize.svg +0 -1
- package/dist/runtime/icons/reusable.svg +0 -5
- package/dist/runtime/icons/revert.svg +0 -5
- package/dist/runtime/icons/rotate-phone.svg +0 -1
- package/dist/runtime/icons/sad.svg +0 -1
- package/dist/runtime/icons/save.svg +0 -1
- package/dist/runtime/icons/script.svg +0 -1
- package/dist/runtime/icons/scrolltotop.svg +0 -6
- package/dist/runtime/icons/search.svg +0 -1
- package/dist/runtime/icons/selection.svg +0 -5
- package/dist/runtime/icons/swap-horizontal.svg +0 -1
- package/dist/runtime/icons/tablet.svg +0 -1
- package/dist/runtime/icons/textbox.svg +0 -1
- package/dist/runtime/icons/texturebox.svg +0 -5
- package/dist/runtime/icons/title.svg +0 -1
- package/dist/runtime/icons/tools.svg +0 -1
- package/dist/runtime/icons/translate.svg +0 -5
- package/dist/runtime/icons/tree.svg +0 -5
- package/dist/runtime/icons/tutor.svg +0 -1
- package/dist/runtime/icons/ui-list-horizontal.svg +0 -19
- package/dist/runtime/icons/ui-list-sidebar.svg +0 -21
- package/dist/runtime/icons/ui-list-vertical.svg +0 -9
- package/dist/runtime/icons/undo.svg +0 -12
- package/dist/runtime/icons/upload.svg +0 -1
- package/dist/runtime/icons/user.svg +0 -1
- package/dist/runtime/icons/video-outline.svg +0 -1
- package/dist/runtime/plugins/blokkliEditable.d.ts +0 -2
- package/dist/runtime/plugins/blokkliEditable.js +0 -31
- package/dist/runtime/types/blokkOptions.d.ts +0 -92
- package/dist/runtime/types/theme.d.ts +0 -33
- package/dist/shared/editor.gz_ac6uT.d.mts +0 -431
- /package/dist/{runtime/components/Edit/Features/MediaLibrary/types.js → global/types/adapter.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/Publish/Dialog/types.js → global/types/blockOptions.js} +0 -0
- /package/dist/{runtime/components/Edit/Features/Tour/docs.md → global/types/definitions.js} +0 -0
- /package/dist/{runtime/types/blokkOptions.js → global/types/features.js} +0 -0
- /package/dist/{runtime → global}/types/theme.js +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Group/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Form/Item/index.vue +0 -0
- /package/dist/runtime/{components/Edit → editor/components}/Highlight/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Assistant → editor/features/assistant}/Overlay/ResultMarkup/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Clipboard → editor/features/clipboard}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Comments → editor/features/comments}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Debug → editor/features/debug}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/EditableField → editor/features/editable-field}/Overlay/Contenteditable/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Fragments → editor/features/fragments}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Library → editor/features/library}/docs.md +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Color/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/DateTimeLocal/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Options → editor/features/options}/Form/Text/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/PreviewGrant → editor/features/preview-grant}/QrCode/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Structure → editor/features/structure}/List/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Theme → editor/features/theme}/GeneratedCode/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/TouchActionBar → editor/features/touch-action-bar}/Bar/index.vue +0 -0
- /package/dist/runtime/{components/Edit/Features/Transform → editor/features/transform}/docs.md +0 -0
- /package/dist/runtime/{helpers/easing.d.ts → editor/helpers/easing/index.d.ts} +0 -0
- /package/dist/runtime/{helpers/easing.js → editor/helpers/easing/index.js} +0 -0
- /package/dist/runtime/{helpers/editComponents → editor/helpers/edit-components}/index.d.ts +0 -0
- /package/dist/runtime/{helpers/editComponents → editor/helpers/edit-components}/index.js +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/arrow-right-thin.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/artboard.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/loader.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/logo.svg +0 -0
- /package/dist/runtime/{icons/detach.svg → editor/icons/svg/reusable-detach.svg} +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/robot.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/spinner.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/star.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/tiktok.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/unstar.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/vimeo.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/window-maximize.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/window-minimize.svg +0 -0
- /package/dist/runtime/{icons → editor/icons/svg}/youtube.svg +0 -0
- /package/dist/runtime/{blokkliPlugins → editor/plugins}/DebugOverlay/index.vue +0 -0
- /package/dist/runtime/{helpers/broadcastProvider.d.ts → editor/providers/broadcast.d.ts} +0 -0
- /package/dist/runtime/{helpers/broadcastProvider.js → editor/providers/broadcast.js} +0 -0
- /package/dist/runtime/{helpers/textProvider.d.ts → editor/providers/texts.d.ts} +0 -0
|
@@ -0,0 +1,1040 @@
|
|
|
1
|
+
import { ref, shallowRef, readonly, reactive, watch } from "#imports";
|
|
2
|
+
import {
|
|
3
|
+
conversationItemSchema
|
|
4
|
+
} from "#blokkli/agent/app/types";
|
|
5
|
+
import {
|
|
6
|
+
createToolMap,
|
|
7
|
+
executeTool,
|
|
8
|
+
getToolCategory,
|
|
9
|
+
getToolInfoForServer,
|
|
10
|
+
getToolDefinition,
|
|
11
|
+
isMutationAction,
|
|
12
|
+
isQueryResult,
|
|
13
|
+
isToolError,
|
|
14
|
+
resolveTools
|
|
15
|
+
} from "#blokkli/agent/app/helpers";
|
|
16
|
+
import { mcpTools, routeAgent, routeRoute } from "#blokkli-build/agent-client";
|
|
17
|
+
import { generateUUID } from "#blokkli/editor/helpers/uuid";
|
|
18
|
+
import { itemEntityType } from "#blokkli-build/config";
|
|
19
|
+
export default function(app, adapter, agentName) {
|
|
20
|
+
const { $t, state, ui, context } = app;
|
|
21
|
+
let ws = null;
|
|
22
|
+
let reconnectTimeout = null;
|
|
23
|
+
let pingInterval = null;
|
|
24
|
+
let reconnectAttempts = 0;
|
|
25
|
+
const MAX_RECONNECT_ATTEMPTS = 10;
|
|
26
|
+
const isConnected = ref(false);
|
|
27
|
+
const isReady = ref(false);
|
|
28
|
+
const hasBeenReady = ref(false);
|
|
29
|
+
let pendingPrompt = null;
|
|
30
|
+
let pendingInit = null;
|
|
31
|
+
let toolMap = {};
|
|
32
|
+
let sentToolNames = [];
|
|
33
|
+
const storedPageContext = shallowRef(null);
|
|
34
|
+
const isProcessing = ref(false);
|
|
35
|
+
const isThinking = ref(false);
|
|
36
|
+
const usageTurns = ref([]);
|
|
37
|
+
const conversation = ref([]);
|
|
38
|
+
const activeItem = ref(null);
|
|
39
|
+
const autoApprove = ref(false);
|
|
40
|
+
const pendingMutation = ref(null);
|
|
41
|
+
const pendingToolCall = ref(null);
|
|
42
|
+
let pendingToolCallResolve = null;
|
|
43
|
+
const plan = ref(null);
|
|
44
|
+
const transcriptContent = ref(null);
|
|
45
|
+
const showTranscript = ref(false);
|
|
46
|
+
const activeConversationId = ref(null);
|
|
47
|
+
const conversationList = ref([]);
|
|
48
|
+
const showConversationList = ref(false);
|
|
49
|
+
const toolDetails = reactive(/* @__PURE__ */ new Map());
|
|
50
|
+
async function saveCurrentConversation(serverState) {
|
|
51
|
+
if (!adapter.agentConversations) return;
|
|
52
|
+
if (!conversation.value.length) return;
|
|
53
|
+
if (!activeConversationId.value) {
|
|
54
|
+
activeConversationId.value = generateUUID();
|
|
55
|
+
}
|
|
56
|
+
const firstUser = conversation.value.find((item) => item.type === "user");
|
|
57
|
+
const titleText = firstUser && "content" in firstUser ? firstUser.content : "";
|
|
58
|
+
const title = titleText.length > 80 ? titleText.slice(0, 80) + "\u2026" : titleText;
|
|
59
|
+
try {
|
|
60
|
+
await adapter.agentConversations.upsert({
|
|
61
|
+
uuid: activeConversationId.value,
|
|
62
|
+
title,
|
|
63
|
+
clientState: JSON.stringify({
|
|
64
|
+
conversation: conversation.value.filter(
|
|
65
|
+
(item) => item.type !== "error"
|
|
66
|
+
),
|
|
67
|
+
usageTurns: usageTurns.value
|
|
68
|
+
}),
|
|
69
|
+
serverState: JSON.stringify({
|
|
70
|
+
messages: serverState.messages,
|
|
71
|
+
activatedLazyTools: serverState.activatedLazyTools
|
|
72
|
+
}),
|
|
73
|
+
hash: serverState.hash
|
|
74
|
+
});
|
|
75
|
+
} catch (e) {
|
|
76
|
+
console.warn("[blokkli agent] Failed to save conversation:", e);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function parseConversationData(data) {
|
|
80
|
+
try {
|
|
81
|
+
const parsed = JSON.parse(data.clientState);
|
|
82
|
+
if (!parsed.conversation?.length) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
const clientConversation = parsed.conversation.map(
|
|
86
|
+
(item) => {
|
|
87
|
+
const result = conversationItemSchema.safeParse(item);
|
|
88
|
+
if (result.success) {
|
|
89
|
+
return result.data;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
type: "unknown",
|
|
93
|
+
id: generateId(),
|
|
94
|
+
timestamp: Date.now()
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
);
|
|
98
|
+
const serverParsed = JSON.parse(data.serverState);
|
|
99
|
+
if (!serverParsed?.messages?.length) {
|
|
100
|
+
return null;
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
conversation: clientConversation,
|
|
104
|
+
usageTurns: parsed.usageTurns ?? [],
|
|
105
|
+
serverState: {
|
|
106
|
+
messages: serverParsed.messages,
|
|
107
|
+
activatedLazyTools: serverParsed.activatedLazyTools,
|
|
108
|
+
hash: data.hash
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
} catch {
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
async function loadConversation(uuid) {
|
|
116
|
+
if (!adapter.agentConversations) return null;
|
|
117
|
+
try {
|
|
118
|
+
const data = await adapter.agentConversations.load(uuid);
|
|
119
|
+
if (!data) return null;
|
|
120
|
+
return parseConversationData(data);
|
|
121
|
+
} catch (e) {
|
|
122
|
+
console.warn("[blokkli agent] Failed to load conversation:", e);
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
async function deleteConversation(id) {
|
|
127
|
+
if (adapter.agentConversations) {
|
|
128
|
+
try {
|
|
129
|
+
await adapter.agentConversations.delete(id);
|
|
130
|
+
} catch (e) {
|
|
131
|
+
console.warn("[blokkli agent] Failed to delete conversation:", e);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
if (activeConversationId.value === id) {
|
|
135
|
+
activeConversationId.value = null;
|
|
136
|
+
conversation.value = [];
|
|
137
|
+
activeItem.value = null;
|
|
138
|
+
isProcessing.value = false;
|
|
139
|
+
isThinking.value = false;
|
|
140
|
+
send({ type: "new_conversation" });
|
|
141
|
+
}
|
|
142
|
+
await refreshConversationList();
|
|
143
|
+
}
|
|
144
|
+
async function switchConversation(id) {
|
|
145
|
+
if (isProcessing.value) return;
|
|
146
|
+
const loaded = await loadConversation(id);
|
|
147
|
+
if (!loaded) return;
|
|
148
|
+
conversation.value = loaded.conversation;
|
|
149
|
+
usageTurns.value = loaded.usageTurns;
|
|
150
|
+
activeItem.value = null;
|
|
151
|
+
activeConversationId.value = id;
|
|
152
|
+
send({ type: "restore_conversation", state: loaded.serverState });
|
|
153
|
+
showConversationList.value = false;
|
|
154
|
+
}
|
|
155
|
+
async function refreshConversationList() {
|
|
156
|
+
if (!adapter.agentConversations) {
|
|
157
|
+
conversationList.value = [];
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
try {
|
|
161
|
+
const list = await adapter.agentConversations.list();
|
|
162
|
+
conversationList.value = list.sort(
|
|
163
|
+
(a, b) => b.updatedAt.localeCompare(a.updatedAt)
|
|
164
|
+
);
|
|
165
|
+
} catch (e) {
|
|
166
|
+
console.warn("[blokkli agent] Failed to list conversations:", e);
|
|
167
|
+
conversationList.value = [];
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
watch(isProcessing, (processing) => {
|
|
171
|
+
if (processing) {
|
|
172
|
+
ui.setTransform(agentName);
|
|
173
|
+
} else {
|
|
174
|
+
ui.setTransform(null);
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
function send(message) {
|
|
178
|
+
if (ws?.readyState === WebSocket.OPEN) {
|
|
179
|
+
ws.send(JSON.stringify(message));
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
function onWebSocketOpen() {
|
|
183
|
+
isConnected.value = true;
|
|
184
|
+
reconnectAttempts = 0;
|
|
185
|
+
pingInterval = window.setInterval(() => {
|
|
186
|
+
send({ type: "ping" });
|
|
187
|
+
}, 3e4);
|
|
188
|
+
onConnect();
|
|
189
|
+
}
|
|
190
|
+
function onWebSocketClose() {
|
|
191
|
+
if (pingInterval) {
|
|
192
|
+
window.clearInterval(pingInterval);
|
|
193
|
+
pingInterval = null;
|
|
194
|
+
}
|
|
195
|
+
isConnected.value = false;
|
|
196
|
+
isReady.value = false;
|
|
197
|
+
isProcessing.value = false;
|
|
198
|
+
reconnectAttempts++;
|
|
199
|
+
if (reconnectAttempts > MAX_RECONNECT_ATTEMPTS) {
|
|
200
|
+
conversation.value.push({
|
|
201
|
+
type: "error",
|
|
202
|
+
id: generateId(),
|
|
203
|
+
errorType: "connection",
|
|
204
|
+
timestamp: Date.now()
|
|
205
|
+
});
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
reconnectTimeout = window.setTimeout(() => {
|
|
209
|
+
if (!isConnected.value) {
|
|
210
|
+
connect();
|
|
211
|
+
}
|
|
212
|
+
}, 3e3);
|
|
213
|
+
}
|
|
214
|
+
function onWebSocketError(error) {
|
|
215
|
+
console.error("WebSocket error:", error);
|
|
216
|
+
}
|
|
217
|
+
function onWebSocketMessage(event) {
|
|
218
|
+
try {
|
|
219
|
+
const data = JSON.parse(event.data);
|
|
220
|
+
handleServerMessage(data);
|
|
221
|
+
} catch (error) {
|
|
222
|
+
console.error("Failed to parse WebSocket message:", error);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
function connect() {
|
|
226
|
+
if (ws && (ws.readyState === WebSocket.OPEN || ws.readyState === WebSocket.CONNECTING)) {
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
if (ws) {
|
|
230
|
+
ws.removeEventListener("open", onWebSocketOpen);
|
|
231
|
+
ws.removeEventListener("close", onWebSocketClose);
|
|
232
|
+
ws.removeEventListener("error", onWebSocketError);
|
|
233
|
+
ws.removeEventListener("message", onWebSocketMessage);
|
|
234
|
+
ws = null;
|
|
235
|
+
}
|
|
236
|
+
const protocol = window.location.protocol === "https:" ? "wss:" : "ws:";
|
|
237
|
+
const url = `${protocol}//${window.location.host}${routeAgent}`;
|
|
238
|
+
ws = new WebSocket(url);
|
|
239
|
+
ws.addEventListener("open", onWebSocketOpen);
|
|
240
|
+
ws.addEventListener("close", onWebSocketClose);
|
|
241
|
+
ws.addEventListener("error", onWebSocketError);
|
|
242
|
+
ws.addEventListener("message", onWebSocketMessage);
|
|
243
|
+
}
|
|
244
|
+
function disconnect() {
|
|
245
|
+
if (pingInterval) {
|
|
246
|
+
window.clearInterval(pingInterval);
|
|
247
|
+
pingInterval = null;
|
|
248
|
+
}
|
|
249
|
+
if (reconnectTimeout) {
|
|
250
|
+
window.clearTimeout(reconnectTimeout);
|
|
251
|
+
reconnectTimeout = null;
|
|
252
|
+
}
|
|
253
|
+
if (ws) {
|
|
254
|
+
ws.removeEventListener("open", onWebSocketOpen);
|
|
255
|
+
ws.removeEventListener("close", onWebSocketClose);
|
|
256
|
+
ws.removeEventListener("error", onWebSocketError);
|
|
257
|
+
ws.removeEventListener("message", onWebSocketMessage);
|
|
258
|
+
ws.close();
|
|
259
|
+
ws = null;
|
|
260
|
+
}
|
|
261
|
+
isConnected.value = false;
|
|
262
|
+
isReady.value = false;
|
|
263
|
+
ui.setTransform(null);
|
|
264
|
+
if (pendingMutation.value) {
|
|
265
|
+
if (pendingMutation.value.action.revert) {
|
|
266
|
+
pendingMutation.value.action.revert();
|
|
267
|
+
}
|
|
268
|
+
pendingMutation.value.resolve(false);
|
|
269
|
+
pendingMutation.value = null;
|
|
270
|
+
}
|
|
271
|
+
if (pendingToolCallResolve) {
|
|
272
|
+
pendingToolCallResolve({ cancelled: true });
|
|
273
|
+
pendingToolCallResolve = null;
|
|
274
|
+
}
|
|
275
|
+
pendingToolCall.value = null;
|
|
276
|
+
}
|
|
277
|
+
async function onConnect() {
|
|
278
|
+
const ctx = createToolContext();
|
|
279
|
+
const resolved = await resolveTools(mcpTools, ctx);
|
|
280
|
+
toolMap = createToolMap(resolved);
|
|
281
|
+
const toolNames = getToolInfoForServer(
|
|
282
|
+
resolved,
|
|
283
|
+
state.editMode.value,
|
|
284
|
+
adapter
|
|
285
|
+
);
|
|
286
|
+
let contentSearchTabs;
|
|
287
|
+
if (adapter.getContentSearchTabs) {
|
|
288
|
+
try {
|
|
289
|
+
contentSearchTabs = await adapter.getContentSearchTabs();
|
|
290
|
+
} catch (e) {
|
|
291
|
+
console.warn("[blokkli agent] Failed to fetch content search tabs:", e);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
if (adapter.getAgentAuthToken) {
|
|
295
|
+
try {
|
|
296
|
+
const authToken = await adapter.getAgentAuthToken();
|
|
297
|
+
if (!authToken) {
|
|
298
|
+
conversation.value.push({
|
|
299
|
+
type: "error",
|
|
300
|
+
id: generateId(),
|
|
301
|
+
errorType: "unauthorized",
|
|
302
|
+
timestamp: Date.now()
|
|
303
|
+
});
|
|
304
|
+
disconnect();
|
|
305
|
+
return;
|
|
306
|
+
}
|
|
307
|
+
const pageContext2 = await buildPageContext(contentSearchTabs);
|
|
308
|
+
storedPageContext.value = pageContext2;
|
|
309
|
+
pendingInit = { toolNames, pageContext: pageContext2 };
|
|
310
|
+
send({ type: "authenticate", authToken });
|
|
311
|
+
return;
|
|
312
|
+
} catch (e) {
|
|
313
|
+
console.error("Failed to obtain agent auth token:", e);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
const pageContext = await buildPageContext(contentSearchTabs);
|
|
317
|
+
storedPageContext.value = pageContext;
|
|
318
|
+
sendInit(toolNames, pageContext);
|
|
319
|
+
}
|
|
320
|
+
async function sendInit(toolNames, pageContext) {
|
|
321
|
+
sentToolNames = toolNames;
|
|
322
|
+
send({ type: "init", toolNames, pageContext });
|
|
323
|
+
isReady.value = true;
|
|
324
|
+
hasBeenReady.value = true;
|
|
325
|
+
if (adapter.agentConversations && !pendingPrompt) {
|
|
326
|
+
try {
|
|
327
|
+
const latest = await adapter.agentConversations.loadLatest();
|
|
328
|
+
if (latest) {
|
|
329
|
+
const parsed = parseConversationData(latest);
|
|
330
|
+
if (parsed) {
|
|
331
|
+
activeConversationId.value = latest.uuid;
|
|
332
|
+
conversation.value = parsed.conversation;
|
|
333
|
+
usageTurns.value = parsed.usageTurns;
|
|
334
|
+
send({ type: "restore_conversation", state: parsed.serverState });
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
} catch (e) {
|
|
338
|
+
console.warn("[blokkli agent] Failed to load latest conversation:", e);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
if (pendingPrompt) {
|
|
342
|
+
const {
|
|
343
|
+
prompt,
|
|
344
|
+
displayPrompt,
|
|
345
|
+
selectedUuids,
|
|
346
|
+
attachments,
|
|
347
|
+
autoLoadTools,
|
|
348
|
+
autoLoadSkills,
|
|
349
|
+
preSeededResults,
|
|
350
|
+
autoExecuteTools
|
|
351
|
+
} = pendingPrompt;
|
|
352
|
+
pendingPrompt = null;
|
|
353
|
+
sendPrompt(
|
|
354
|
+
prompt,
|
|
355
|
+
displayPrompt,
|
|
356
|
+
selectedUuids,
|
|
357
|
+
attachments,
|
|
358
|
+
autoLoadTools,
|
|
359
|
+
autoLoadSkills,
|
|
360
|
+
preSeededResults,
|
|
361
|
+
autoExecuteTools
|
|
362
|
+
);
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
async function buildPageContext(contentSearchTabs) {
|
|
366
|
+
const { types, definitions } = app;
|
|
367
|
+
const bundles = [];
|
|
368
|
+
for (const bundle of types.generallyAvailableBundles) {
|
|
369
|
+
const contentFields = [
|
|
370
|
+
...types.editableFieldConfig.forEntityTypeAndBundle(itemEntityType, bundle.id).filter((f) => f.type !== "table").map((f) => ({
|
|
371
|
+
name: f.name,
|
|
372
|
+
label: f.label,
|
|
373
|
+
type: f.type === "frame" || f.type === "markup" ? "markup" : "plain"
|
|
374
|
+
})),
|
|
375
|
+
...types.droppableFieldConfig.forEntityTypeAndBundle(itemEntityType, bundle.id).map((f) => ({
|
|
376
|
+
name: f.name,
|
|
377
|
+
label: f.label,
|
|
378
|
+
type: f.type,
|
|
379
|
+
allowed: f.allowed
|
|
380
|
+
}))
|
|
381
|
+
];
|
|
382
|
+
const paragraphFields = types.fieldConfig.forEntityTypeAndBundle(itemEntityType, bundle.id).map((f) => ({
|
|
383
|
+
name: f.name,
|
|
384
|
+
label: f.label,
|
|
385
|
+
allowedBundles: f.allowedBundles,
|
|
386
|
+
cardinality: f.cardinality
|
|
387
|
+
}));
|
|
388
|
+
bundles.push({
|
|
389
|
+
id: bundle.id,
|
|
390
|
+
label: bundle.label,
|
|
391
|
+
description: bundle.description,
|
|
392
|
+
contentFields,
|
|
393
|
+
paragraphFields
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
const fragments = definitions.fragmentDefinitions.value.map((f) => ({
|
|
397
|
+
name: f.name,
|
|
398
|
+
label: f.label,
|
|
399
|
+
description: f.description
|
|
400
|
+
}));
|
|
401
|
+
const entityContentFields = [
|
|
402
|
+
...types.editableFieldConfig.forEntityTypeAndBundle(
|
|
403
|
+
context.value.entityType,
|
|
404
|
+
context.value.entityBundle
|
|
405
|
+
).filter((f) => f.type !== "table").map((f) => ({
|
|
406
|
+
name: f.name,
|
|
407
|
+
label: f.label,
|
|
408
|
+
type: f.type === "frame" || f.type === "markup" ? "markup" : "plain"
|
|
409
|
+
})),
|
|
410
|
+
...types.droppableFieldConfig.forEntityTypeAndBundle(
|
|
411
|
+
context.value.entityType,
|
|
412
|
+
context.value.entityBundle
|
|
413
|
+
).map((f) => ({
|
|
414
|
+
name: f.name,
|
|
415
|
+
label: f.label,
|
|
416
|
+
type: f.type,
|
|
417
|
+
allowed: f.allowed
|
|
418
|
+
}))
|
|
419
|
+
];
|
|
420
|
+
await app.analyze.ensureInitialized();
|
|
421
|
+
const analyzersList = app.analyze.analyzers.value.filter((a) => !a.requireRawPage).map((a) => ({
|
|
422
|
+
id: a.id,
|
|
423
|
+
type: a.type,
|
|
424
|
+
label: typeof a.label === "function" ? a.label(context.value.language, $t) : a.label,
|
|
425
|
+
description: typeof a.description === "function" ? a.description(context.value.language, $t) : a.description
|
|
426
|
+
}));
|
|
427
|
+
const pageContext = {
|
|
428
|
+
title: state.entity.value.label || "",
|
|
429
|
+
entityType: context.value.entityType,
|
|
430
|
+
entityUuid: context.value.entityUuid,
|
|
431
|
+
entityBundle: context.value.entityBundle,
|
|
432
|
+
bundleLabel: state.entity.value.bundleLabel || "",
|
|
433
|
+
itemEntityType,
|
|
434
|
+
bundles,
|
|
435
|
+
interfaceLanguage: ui.interfaceLanguage.value,
|
|
436
|
+
entityLanguage: context.value.language,
|
|
437
|
+
isPublished: state.entity.value.status ?? null,
|
|
438
|
+
editMode: state.editMode.value,
|
|
439
|
+
fragments,
|
|
440
|
+
entityContentFields,
|
|
441
|
+
...contentSearchTabs?.length ? { contentSearchTabs } : {},
|
|
442
|
+
...analyzersList.length ? { analyzers: analyzersList } : {}
|
|
443
|
+
};
|
|
444
|
+
return pageContext;
|
|
445
|
+
}
|
|
446
|
+
function generateId() {
|
|
447
|
+
return `${Date.now()}-${Math.random().toString(36).substring(2, 9)}`;
|
|
448
|
+
}
|
|
449
|
+
function finalizeActiveItem() {
|
|
450
|
+
const item = activeItem.value;
|
|
451
|
+
if (!item) return;
|
|
452
|
+
if (item.type === "assistant" && item.content) {
|
|
453
|
+
conversation.value.push({
|
|
454
|
+
type: "assistant",
|
|
455
|
+
id: item.id,
|
|
456
|
+
content: item.content,
|
|
457
|
+
timestamp: item.timestamp
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
activeItem.value = null;
|
|
461
|
+
}
|
|
462
|
+
function handleTextContent(content) {
|
|
463
|
+
if (activeItem.value?.type === "assistant") {
|
|
464
|
+
activeItem.value = {
|
|
465
|
+
...activeItem.value,
|
|
466
|
+
content: activeItem.value.content + content
|
|
467
|
+
};
|
|
468
|
+
} else {
|
|
469
|
+
activeItem.value = {
|
|
470
|
+
type: "assistant",
|
|
471
|
+
id: generateId(),
|
|
472
|
+
content,
|
|
473
|
+
timestamp: Date.now()
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
function handleServerMessage(data) {
|
|
478
|
+
switch (data.type) {
|
|
479
|
+
case "authenticated":
|
|
480
|
+
if (pendingInit) {
|
|
481
|
+
sendInit(pendingInit.toolNames, pendingInit.pageContext);
|
|
482
|
+
pendingInit = null;
|
|
483
|
+
}
|
|
484
|
+
break;
|
|
485
|
+
case "thinking":
|
|
486
|
+
activeItem.value = null;
|
|
487
|
+
isThinking.value = true;
|
|
488
|
+
break;
|
|
489
|
+
case "text":
|
|
490
|
+
isThinking.value = false;
|
|
491
|
+
handleTextContent(data.content);
|
|
492
|
+
break;
|
|
493
|
+
case "text_delta":
|
|
494
|
+
isThinking.value = false;
|
|
495
|
+
handleTextContent(data.content);
|
|
496
|
+
break;
|
|
497
|
+
case "tool_call":
|
|
498
|
+
finalizeActiveItem();
|
|
499
|
+
handleToolCall(data.callId, data.tool, data.params);
|
|
500
|
+
break;
|
|
501
|
+
case "usage":
|
|
502
|
+
usageTurns.value = [...usageTurns.value, data.usage];
|
|
503
|
+
break;
|
|
504
|
+
case "done":
|
|
505
|
+
finalizeActiveItem();
|
|
506
|
+
isThinking.value = false;
|
|
507
|
+
isProcessing.value = false;
|
|
508
|
+
if (data.message) {
|
|
509
|
+
const lastItem = conversation.value[conversation.value.length - 1];
|
|
510
|
+
const isDuplicate = lastItem?.type === "assistant" && lastItem.content === data.message;
|
|
511
|
+
if (!isDuplicate) {
|
|
512
|
+
conversation.value.push({
|
|
513
|
+
type: "assistant",
|
|
514
|
+
id: generateId(),
|
|
515
|
+
content: data.message,
|
|
516
|
+
timestamp: Date.now()
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
break;
|
|
521
|
+
case "error":
|
|
522
|
+
finalizeActiveItem();
|
|
523
|
+
isThinking.value = false;
|
|
524
|
+
isProcessing.value = false;
|
|
525
|
+
if (data.detail) {
|
|
526
|
+
console.warn(`[blokkli agent] ${data.errorType} error:`, data.detail);
|
|
527
|
+
}
|
|
528
|
+
conversation.value.push({
|
|
529
|
+
type: "error",
|
|
530
|
+
id: generateId(),
|
|
531
|
+
errorType: data.errorType,
|
|
532
|
+
timestamp: Date.now(),
|
|
533
|
+
...data.retryable ? { retryable: true } : {}
|
|
534
|
+
});
|
|
535
|
+
break;
|
|
536
|
+
case "server_tool_result":
|
|
537
|
+
finalizeActiveItem();
|
|
538
|
+
conversation.value.push({
|
|
539
|
+
type: "server_tool",
|
|
540
|
+
id: generateId(),
|
|
541
|
+
tool: data.tool,
|
|
542
|
+
label: data.label,
|
|
543
|
+
timestamp: Date.now()
|
|
544
|
+
});
|
|
545
|
+
break;
|
|
546
|
+
case "plan_update":
|
|
547
|
+
if (data.plan && data.plan.steps.length > 0 && data.plan.steps.every((s) => s.status === "completed")) {
|
|
548
|
+
conversation.value.push({
|
|
549
|
+
type: "server_tool",
|
|
550
|
+
id: generateId(),
|
|
551
|
+
tool: "plan_completed",
|
|
552
|
+
label: data.plan.title,
|
|
553
|
+
timestamp: Date.now()
|
|
554
|
+
});
|
|
555
|
+
plan.value = null;
|
|
556
|
+
} else {
|
|
557
|
+
plan.value = data.plan;
|
|
558
|
+
}
|
|
559
|
+
break;
|
|
560
|
+
case "transcript":
|
|
561
|
+
transcriptContent.value = data.transcript;
|
|
562
|
+
showTranscript.value = true;
|
|
563
|
+
break;
|
|
564
|
+
case "conversation_state":
|
|
565
|
+
saveCurrentConversation(data.state);
|
|
566
|
+
break;
|
|
567
|
+
case "conversation_restored":
|
|
568
|
+
break;
|
|
569
|
+
case "conversation_restore_failed":
|
|
570
|
+
console.warn(
|
|
571
|
+
"[blokkli agent] Conversation restore failed:",
|
|
572
|
+
data.reason
|
|
573
|
+
);
|
|
574
|
+
conversation.value = [];
|
|
575
|
+
if (activeConversationId.value) {
|
|
576
|
+
const failedId = activeConversationId.value;
|
|
577
|
+
activeConversationId.value = null;
|
|
578
|
+
if (adapter.agentConversations) {
|
|
579
|
+
adapter.agentConversations.delete(failedId).catch(() => {
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
break;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
async function handleToolCall(callId, tool, params) {
|
|
587
|
+
const toolDef = getToolDefinition(toolMap, tool);
|
|
588
|
+
const initialLabel = toolDef.label($t);
|
|
589
|
+
const toolId = generateId();
|
|
590
|
+
const timestamp = Date.now();
|
|
591
|
+
let currentLabel = initialLabel;
|
|
592
|
+
activeItem.value = {
|
|
593
|
+
type: "tool",
|
|
594
|
+
id: toolId,
|
|
595
|
+
callId,
|
|
596
|
+
tool,
|
|
597
|
+
label: initialLabel,
|
|
598
|
+
status: "active",
|
|
599
|
+
timestamp
|
|
600
|
+
};
|
|
601
|
+
try {
|
|
602
|
+
const result = await executeToolLocally(tool, params, (label) => {
|
|
603
|
+
currentLabel = label;
|
|
604
|
+
if (activeItem.value?.type === "tool" && activeItem.value.callId === callId) {
|
|
605
|
+
activeItem.value = { ...activeItem.value, label };
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
if (isToolError(result)) {
|
|
609
|
+
conversation.value.push({
|
|
610
|
+
type: "tool",
|
|
611
|
+
id: toolId,
|
|
612
|
+
callId,
|
|
613
|
+
tool,
|
|
614
|
+
label: currentLabel,
|
|
615
|
+
status: "error",
|
|
616
|
+
timestamp
|
|
617
|
+
});
|
|
618
|
+
activeItem.value = null;
|
|
619
|
+
send({
|
|
620
|
+
type: "tool_result",
|
|
621
|
+
callId,
|
|
622
|
+
result: null,
|
|
623
|
+
error: result.error
|
|
624
|
+
});
|
|
625
|
+
} else {
|
|
626
|
+
conversation.value.push({
|
|
627
|
+
type: "tool",
|
|
628
|
+
id: toolId,
|
|
629
|
+
callId,
|
|
630
|
+
tool,
|
|
631
|
+
label: currentLabel,
|
|
632
|
+
status: "success",
|
|
633
|
+
timestamp
|
|
634
|
+
});
|
|
635
|
+
activeItem.value = null;
|
|
636
|
+
if (toolDef.buildDetails) {
|
|
637
|
+
try {
|
|
638
|
+
const detailsSource = typeof result === "object" && result !== null && "_details" in result ? result._details : result;
|
|
639
|
+
const details = toolDef.buildDetails(detailsSource);
|
|
640
|
+
if (details != null) {
|
|
641
|
+
toolDetails.set(callId, details);
|
|
642
|
+
}
|
|
643
|
+
} catch {
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
let resultForServer = result;
|
|
647
|
+
let skipLlmResponse;
|
|
648
|
+
if (typeof result === "object" && result !== null) {
|
|
649
|
+
const rec = result;
|
|
650
|
+
if ("_usage" in rec && rec._usage) {
|
|
651
|
+
usageTurns.value = [...usageTurns.value, rec._usage];
|
|
652
|
+
}
|
|
653
|
+
if (rec._skipLlmResponse === true) {
|
|
654
|
+
skipLlmResponse = true;
|
|
655
|
+
}
|
|
656
|
+
if ("_details" in rec || "_usage" in rec || "_skipLlmResponse" in rec) {
|
|
657
|
+
const {
|
|
658
|
+
_details: _,
|
|
659
|
+
_usage: __,
|
|
660
|
+
_skipLlmResponse: ___,
|
|
661
|
+
...rest
|
|
662
|
+
} = rec;
|
|
663
|
+
resultForServer = rest;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
if (toolDef.prunedSummary && typeof resultForServer === "object" && resultForServer !== null) {
|
|
667
|
+
try {
|
|
668
|
+
const summary = toolDef.prunedSummary(resultForServer);
|
|
669
|
+
if (summary) {
|
|
670
|
+
resultForServer = {
|
|
671
|
+
...resultForServer,
|
|
672
|
+
_summary: summary
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
} catch {
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
send({
|
|
679
|
+
type: "tool_result",
|
|
680
|
+
callId,
|
|
681
|
+
result: resultForServer,
|
|
682
|
+
skipLlmResponse
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
} catch (error) {
|
|
686
|
+
conversation.value.push({
|
|
687
|
+
type: "tool",
|
|
688
|
+
id: toolId,
|
|
689
|
+
callId,
|
|
690
|
+
tool,
|
|
691
|
+
label: currentLabel,
|
|
692
|
+
status: "error",
|
|
693
|
+
timestamp
|
|
694
|
+
});
|
|
695
|
+
activeItem.value = null;
|
|
696
|
+
send({
|
|
697
|
+
type: "tool_result",
|
|
698
|
+
callId,
|
|
699
|
+
result: null,
|
|
700
|
+
error: error.message
|
|
701
|
+
});
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
function createToolContext() {
|
|
705
|
+
return {
|
|
706
|
+
app,
|
|
707
|
+
itemEntityType,
|
|
708
|
+
adapter,
|
|
709
|
+
pageContext: storedPageContext.value
|
|
710
|
+
};
|
|
711
|
+
}
|
|
712
|
+
async function runToolForPrompt(toolName, params) {
|
|
713
|
+
const ctx = createToolContext();
|
|
714
|
+
if (!Object.keys(toolMap).length) {
|
|
715
|
+
const resolved = await resolveTools(mcpTools, ctx);
|
|
716
|
+
toolMap = createToolMap(resolved);
|
|
717
|
+
}
|
|
718
|
+
const toolDef = getToolDefinition(toolMap, toolName);
|
|
719
|
+
const rawResult = await executeTool(toolMap, toolName, ctx, params);
|
|
720
|
+
const label = isQueryResult(rawResult) ? rawResult.label : toolDef.label($t);
|
|
721
|
+
const result = isQueryResult(rawResult) ? rawResult.result : rawResult;
|
|
722
|
+
return { toolName, params, result, label };
|
|
723
|
+
}
|
|
724
|
+
function waitForToolComponent(toolName, params) {
|
|
725
|
+
return new Promise((resolve) => {
|
|
726
|
+
pendingToolCall.value = { toolName, params };
|
|
727
|
+
pendingToolCallResolve = resolve;
|
|
728
|
+
});
|
|
729
|
+
}
|
|
730
|
+
async function executeToolLocally(toolName, params, setLabel) {
|
|
731
|
+
const toolContext = createToolContext();
|
|
732
|
+
const toolDef = getToolDefinition(toolMap, toolName);
|
|
733
|
+
if (toolDef.component) {
|
|
734
|
+
const preparedParams = await executeTool(
|
|
735
|
+
toolMap,
|
|
736
|
+
toolName,
|
|
737
|
+
toolContext,
|
|
738
|
+
params
|
|
739
|
+
);
|
|
740
|
+
if (typeof preparedParams === "object" && preparedParams !== null && "error" in preparedParams) {
|
|
741
|
+
return preparedParams;
|
|
742
|
+
}
|
|
743
|
+
const result2 = await waitForToolComponent(
|
|
744
|
+
toolDef.name,
|
|
745
|
+
preparedParams
|
|
746
|
+
);
|
|
747
|
+
if (setLabel && typeof result2 === "object" && result2 !== null && "label" in result2) {
|
|
748
|
+
setLabel(result2.label);
|
|
749
|
+
}
|
|
750
|
+
return result2;
|
|
751
|
+
}
|
|
752
|
+
const category = getToolCategory(toolMap, toolName);
|
|
753
|
+
const result = await executeTool(toolMap, toolName, toolContext, params);
|
|
754
|
+
if (category === "query") {
|
|
755
|
+
if (isQueryResult(result)) {
|
|
756
|
+
if (setLabel) {
|
|
757
|
+
setLabel(result.label);
|
|
758
|
+
}
|
|
759
|
+
if (result.affectedUuids?.length) {
|
|
760
|
+
app.eventBus.emit("select", result.affectedUuids);
|
|
761
|
+
app.eventBus.emit("scrollSelectionIntoView", {});
|
|
762
|
+
}
|
|
763
|
+
return result.result;
|
|
764
|
+
}
|
|
765
|
+
return result;
|
|
766
|
+
}
|
|
767
|
+
if (typeof result === "object" && result !== null && "error" in result) {
|
|
768
|
+
return result;
|
|
769
|
+
}
|
|
770
|
+
if (!isMutationAction(result)) {
|
|
771
|
+
return { error: "Invalid mutation tool result" };
|
|
772
|
+
}
|
|
773
|
+
const action = result;
|
|
774
|
+
if (setLabel) {
|
|
775
|
+
setLabel(action.label);
|
|
776
|
+
}
|
|
777
|
+
async function applyMutation() {
|
|
778
|
+
const uuidsBefore = state.getAllUuids();
|
|
779
|
+
await state.mutateWithLoadingState(() => action.apply(adapter));
|
|
780
|
+
const newUuids = state.getAllUuids().filter((uuid) => !uuidsBefore.includes(uuid));
|
|
781
|
+
const selectUuids = newUuids.length ? newUuids : action.affectedUuids || [];
|
|
782
|
+
if (selectUuids.length) {
|
|
783
|
+
app.eventBus.emit("select", selectUuids);
|
|
784
|
+
app.eventBus.emit("scrollSelectionIntoView", {});
|
|
785
|
+
}
|
|
786
|
+
return newUuids;
|
|
787
|
+
}
|
|
788
|
+
function buildMutationResult(newUuids) {
|
|
789
|
+
const newParagraphs = action.type === "add" && newUuids.length ? newUuids.map((uuid) => {
|
|
790
|
+
const block = app.blocks.getBlock(uuid);
|
|
791
|
+
if (!block) return null;
|
|
792
|
+
const blockFieldNames = app.types.fieldConfig.forEntityTypeAndBundle(itemEntityType, block.bundle).map((f) => f.name);
|
|
793
|
+
return {
|
|
794
|
+
uuid,
|
|
795
|
+
bundle: block.bundle,
|
|
796
|
+
...blockFieldNames.length ? { paragraphFields: blockFieldNames } : {}
|
|
797
|
+
};
|
|
798
|
+
}).filter(
|
|
799
|
+
(b) => b !== null
|
|
800
|
+
) : void 0;
|
|
801
|
+
return {
|
|
802
|
+
success: true,
|
|
803
|
+
historyIndex: state.currentMutationIndex.value,
|
|
804
|
+
newParagraphs: newParagraphs?.length ? newParagraphs : void 0,
|
|
805
|
+
...action.result
|
|
806
|
+
};
|
|
807
|
+
}
|
|
808
|
+
if (autoApprove.value || !toolDef.requiresApproval) {
|
|
809
|
+
const newUuids = await applyMutation();
|
|
810
|
+
return buildMutationResult(newUuids);
|
|
811
|
+
}
|
|
812
|
+
const approved = await waitForApproval(action);
|
|
813
|
+
if (approved) {
|
|
814
|
+
const newUuids = await applyMutation();
|
|
815
|
+
return buildMutationResult(newUuids);
|
|
816
|
+
} else {
|
|
817
|
+
if (action.revert) {
|
|
818
|
+
action.revert();
|
|
819
|
+
}
|
|
820
|
+
return { success: false, rejected: true };
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
function waitForApproval(action) {
|
|
824
|
+
return new Promise((resolve) => {
|
|
825
|
+
pendingMutation.value = { action, resolve };
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
async function sendPrompt(prompt, displayPrompt, selectedUuids, attachments, autoLoadTools, autoLoadSkills, preSeededResults, autoExecuteTools) {
|
|
829
|
+
if (!prompt.trim() || isProcessing.value) return;
|
|
830
|
+
if (!isReady.value) {
|
|
831
|
+
pendingPrompt = {
|
|
832
|
+
prompt,
|
|
833
|
+
displayPrompt,
|
|
834
|
+
selectedUuids,
|
|
835
|
+
attachments,
|
|
836
|
+
autoLoadTools,
|
|
837
|
+
autoLoadSkills,
|
|
838
|
+
preSeededResults,
|
|
839
|
+
autoExecuteTools
|
|
840
|
+
};
|
|
841
|
+
return;
|
|
842
|
+
}
|
|
843
|
+
isProcessing.value = true;
|
|
844
|
+
if (!activeConversationId.value) {
|
|
845
|
+
activeConversationId.value = generateUUID();
|
|
846
|
+
}
|
|
847
|
+
conversation.value.push({
|
|
848
|
+
type: "user",
|
|
849
|
+
id: generateId(),
|
|
850
|
+
content: displayPrompt ?? prompt,
|
|
851
|
+
timestamp: Date.now(),
|
|
852
|
+
attachments: attachments?.length ? attachments : void 0
|
|
853
|
+
});
|
|
854
|
+
isThinking.value = true;
|
|
855
|
+
const isFirstMessage = conversation.value.filter((v) => v.type === "user").length === 1;
|
|
856
|
+
const hasClientDirectives = !!(autoLoadTools?.length || autoLoadSkills?.length);
|
|
857
|
+
let resolvedAutoLoadTools = autoLoadTools;
|
|
858
|
+
let resolvedAutoLoadSkills = autoLoadSkills;
|
|
859
|
+
if (isFirstMessage && !hasClientDirectives && storedPageContext.value) {
|
|
860
|
+
try {
|
|
861
|
+
const routingResult = await fetch(routeRoute, {
|
|
862
|
+
method: "POST",
|
|
863
|
+
headers: { "Content-Type": "application/json" },
|
|
864
|
+
body: JSON.stringify({
|
|
865
|
+
prompt,
|
|
866
|
+
toolNames: sentToolNames,
|
|
867
|
+
pageContext: storedPageContext.value
|
|
868
|
+
})
|
|
869
|
+
}).then(
|
|
870
|
+
(r) => r.json()
|
|
871
|
+
);
|
|
872
|
+
if (routingResult.usage) {
|
|
873
|
+
usageTurns.value = [...usageTurns.value, routingResult.usage];
|
|
874
|
+
}
|
|
875
|
+
if (routingResult.tools?.length) {
|
|
876
|
+
resolvedAutoLoadTools = [
|
|
877
|
+
...resolvedAutoLoadTools || [],
|
|
878
|
+
...routingResult.tools
|
|
879
|
+
];
|
|
880
|
+
}
|
|
881
|
+
if (routingResult.skills?.length) {
|
|
882
|
+
resolvedAutoLoadSkills = [
|
|
883
|
+
...resolvedAutoLoadSkills || [],
|
|
884
|
+
...routingResult.skills
|
|
885
|
+
];
|
|
886
|
+
}
|
|
887
|
+
} catch {
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
const serverPreSeeded = preSeededResults?.length ? preSeededResults.map(({ toolName, params, result }) => ({
|
|
891
|
+
toolName,
|
|
892
|
+
params,
|
|
893
|
+
result
|
|
894
|
+
})) : void 0;
|
|
895
|
+
send({
|
|
896
|
+
type: "start",
|
|
897
|
+
prompt,
|
|
898
|
+
selectedUuids: selectedUuids?.length ? selectedUuids : void 0,
|
|
899
|
+
autoLoadTools: resolvedAutoLoadTools?.length ? resolvedAutoLoadTools : void 0,
|
|
900
|
+
autoLoadSkills: resolvedAutoLoadSkills?.length ? resolvedAutoLoadSkills : void 0,
|
|
901
|
+
preSeededResults: serverPreSeeded,
|
|
902
|
+
autoExecuteTools: autoExecuteTools?.length ? autoExecuteTools : void 0
|
|
903
|
+
});
|
|
904
|
+
}
|
|
905
|
+
function retry() {
|
|
906
|
+
if (isProcessing.value || !isReady.value) return;
|
|
907
|
+
const lastUserItem = [...conversation.value].reverse().find((item) => item.type === "user");
|
|
908
|
+
if (!lastUserItem || lastUserItem.type !== "user") return;
|
|
909
|
+
conversation.value = conversation.value.filter(
|
|
910
|
+
(item) => !(item.type === "error" && "retryable" in item && item.retryable)
|
|
911
|
+
);
|
|
912
|
+
isProcessing.value = true;
|
|
913
|
+
send({
|
|
914
|
+
type: "start",
|
|
915
|
+
prompt: lastUserItem.content
|
|
916
|
+
});
|
|
917
|
+
}
|
|
918
|
+
function approve() {
|
|
919
|
+
if (pendingMutation.value) {
|
|
920
|
+
pendingMutation.value.resolve(true);
|
|
921
|
+
pendingMutation.value = null;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
function reject() {
|
|
925
|
+
if (pendingMutation.value) {
|
|
926
|
+
pendingMutation.value.resolve(false);
|
|
927
|
+
pendingMutation.value = null;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
function setAutoApprove(value) {
|
|
931
|
+
autoApprove.value = value;
|
|
932
|
+
if (value) {
|
|
933
|
+
approve();
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
function cancel() {
|
|
937
|
+
if (pendingMutation.value) {
|
|
938
|
+
pendingMutation.value.resolve(false);
|
|
939
|
+
pendingMutation.value = null;
|
|
940
|
+
}
|
|
941
|
+
if (pendingToolCallResolve) {
|
|
942
|
+
pendingToolCallResolve({ cancelled: true });
|
|
943
|
+
pendingToolCallResolve = null;
|
|
944
|
+
}
|
|
945
|
+
pendingToolCall.value = null;
|
|
946
|
+
activeItem.value = null;
|
|
947
|
+
send({ type: "cancel" });
|
|
948
|
+
isProcessing.value = false;
|
|
949
|
+
conversation.value.push({
|
|
950
|
+
type: "assistant",
|
|
951
|
+
id: generateId(),
|
|
952
|
+
content: $t("aiAgentCancelled", "Cancelled"),
|
|
953
|
+
timestamp: Date.now()
|
|
954
|
+
});
|
|
955
|
+
}
|
|
956
|
+
function approvePlan() {
|
|
957
|
+
send({ type: "plan_approve" });
|
|
958
|
+
}
|
|
959
|
+
function rejectPlan() {
|
|
960
|
+
send({ type: "plan_reject" });
|
|
961
|
+
}
|
|
962
|
+
function newConversation() {
|
|
963
|
+
if (pendingMutation.value) {
|
|
964
|
+
pendingMutation.value.resolve(false);
|
|
965
|
+
pendingMutation.value = null;
|
|
966
|
+
}
|
|
967
|
+
if (pendingToolCallResolve) {
|
|
968
|
+
pendingToolCallResolve({ cancelled: true });
|
|
969
|
+
pendingToolCallResolve = null;
|
|
970
|
+
}
|
|
971
|
+
pendingToolCall.value = null;
|
|
972
|
+
conversation.value = [];
|
|
973
|
+
activeItem.value = null;
|
|
974
|
+
isProcessing.value = false;
|
|
975
|
+
isThinking.value = false;
|
|
976
|
+
activeConversationId.value = null;
|
|
977
|
+
plan.value = null;
|
|
978
|
+
usageTurns.value = [];
|
|
979
|
+
toolDetails.clear();
|
|
980
|
+
send({ type: "new_conversation" });
|
|
981
|
+
}
|
|
982
|
+
function getTranscript() {
|
|
983
|
+
send({ type: "get_transcript" });
|
|
984
|
+
}
|
|
985
|
+
function onToolComponentDone(result) {
|
|
986
|
+
if (pendingToolCallResolve) {
|
|
987
|
+
pendingToolCallResolve(result);
|
|
988
|
+
pendingToolCallResolve = null;
|
|
989
|
+
}
|
|
990
|
+
pendingToolCall.value = null;
|
|
991
|
+
}
|
|
992
|
+
return {
|
|
993
|
+
// Connection state
|
|
994
|
+
isConnected: readonly(isConnected),
|
|
995
|
+
isReady: readonly(isReady),
|
|
996
|
+
hasBeenReady: readonly(hasBeenReady),
|
|
997
|
+
connect,
|
|
998
|
+
disconnect,
|
|
999
|
+
// Conversation state
|
|
1000
|
+
conversation,
|
|
1001
|
+
activeItem,
|
|
1002
|
+
isProcessing,
|
|
1003
|
+
isThinking,
|
|
1004
|
+
// Mutation/tool approval state
|
|
1005
|
+
autoApprove,
|
|
1006
|
+
pendingMutation,
|
|
1007
|
+
pendingToolCall,
|
|
1008
|
+
// Plan state
|
|
1009
|
+
plan,
|
|
1010
|
+
approvePlan,
|
|
1011
|
+
rejectPlan,
|
|
1012
|
+
// Token usage
|
|
1013
|
+
usageTurns,
|
|
1014
|
+
// Actions
|
|
1015
|
+
sendPrompt,
|
|
1016
|
+
runToolForPrompt,
|
|
1017
|
+
retry,
|
|
1018
|
+
approve,
|
|
1019
|
+
reject,
|
|
1020
|
+
setAutoApprove,
|
|
1021
|
+
cancel,
|
|
1022
|
+
newConversation,
|
|
1023
|
+
getTranscript,
|
|
1024
|
+
onToolComponentDone,
|
|
1025
|
+
// Tool details (ephemeral)
|
|
1026
|
+
toolDetails,
|
|
1027
|
+
// Transcript dialog state
|
|
1028
|
+
transcriptContent,
|
|
1029
|
+
showTranscript,
|
|
1030
|
+
// Conversation list
|
|
1031
|
+
conversationList,
|
|
1032
|
+
showConversationList,
|
|
1033
|
+
activeConversationId: readonly(activeConversationId),
|
|
1034
|
+
switchConversation,
|
|
1035
|
+
deleteConversation,
|
|
1036
|
+
refreshConversationList,
|
|
1037
|
+
// Page context (built once during connection)
|
|
1038
|
+
pageContext: storedPageContext
|
|
1039
|
+
};
|
|
1040
|
+
}
|