@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,934 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Teleport :to="ui.mainLayoutElement.value">
|
|
3
|
+
<slot
|
|
4
|
+
:background-color="activeBackgroundColorHex"
|
|
5
|
+
:color="activeColor"
|
|
6
|
+
:label="active?.label"
|
|
7
|
+
:active-rect="activeScreenRect"
|
|
8
|
+
/>
|
|
9
|
+
</Teleport>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script setup>
|
|
13
|
+
import { falsy, onlyUnique } from "#blokkli/helpers";
|
|
14
|
+
import {
|
|
15
|
+
findClosestRectangle,
|
|
16
|
+
intersects,
|
|
17
|
+
isInsideRect
|
|
18
|
+
} from "#blokkli/editor/helpers/geometry";
|
|
19
|
+
import { toShaderColor, rgbaToString } from "#blokkli/editor/helpers/color";
|
|
20
|
+
import { ref, computed, useBlokkli } from "#imports";
|
|
21
|
+
import {
|
|
22
|
+
setBuffersAndAttributes,
|
|
23
|
+
drawBufferInfo,
|
|
24
|
+
setUniforms
|
|
25
|
+
} from "twgl.js";
|
|
26
|
+
import vs from "./vertex.glsl?raw";
|
|
27
|
+
import fs from "./fragment.glsl?raw";
|
|
28
|
+
import { RectangleBufferCollector } from "#blokkli/editor/helpers/webgl";
|
|
29
|
+
import {
|
|
30
|
+
determineCanAddChildren,
|
|
31
|
+
getChildrenOrientation,
|
|
32
|
+
getGapSize,
|
|
33
|
+
MIN_GAP
|
|
34
|
+
} from "#blokkli/editor/helpers/dropTargets";
|
|
35
|
+
import {
|
|
36
|
+
fragmentBlockBundle,
|
|
37
|
+
fromLibraryBlockBundle,
|
|
38
|
+
itemEntityType
|
|
39
|
+
} from "#blokkli-build/config";
|
|
40
|
+
import { defineRenderer, onBlokkliEvent } from "#blokkli/editor/composables";
|
|
41
|
+
const props = defineProps({
|
|
42
|
+
items: { type: Array, required: true },
|
|
43
|
+
box: { type: Object, required: true },
|
|
44
|
+
mouseX: { type: Number, required: true },
|
|
45
|
+
mouseY: { type: Number, required: true },
|
|
46
|
+
isTouch: { type: Boolean, required: true }
|
|
47
|
+
});
|
|
48
|
+
const {
|
|
49
|
+
dom,
|
|
50
|
+
ui,
|
|
51
|
+
theme,
|
|
52
|
+
dragdrop,
|
|
53
|
+
eventBus,
|
|
54
|
+
animation,
|
|
55
|
+
state,
|
|
56
|
+
types,
|
|
57
|
+
fields,
|
|
58
|
+
definitions,
|
|
59
|
+
context,
|
|
60
|
+
permissions
|
|
61
|
+
} = useBlokkli();
|
|
62
|
+
const FIELD_MIN_DRAW_SIZE = 6;
|
|
63
|
+
const alphaBase = 0.7;
|
|
64
|
+
const colorTeal = rgbaToString(theme.teal.value.normal);
|
|
65
|
+
const colorTealAlpha = rgbaToString(theme.teal.value.normal, alphaBase);
|
|
66
|
+
const colorAccent = rgbaToString(theme.accent.value[800]);
|
|
67
|
+
const colorAccentAlpha = rgbaToString(theme.accent.value[800], alphaBase);
|
|
68
|
+
var RectRenderType = /* @__PURE__ */ ((RectRenderType2) => {
|
|
69
|
+
RectRenderType2[RectRenderType2["DROP_AREA"] = 0] = "DROP_AREA";
|
|
70
|
+
RectRenderType2[RectRenderType2["FIELD_1"] = 1] = "FIELD_1";
|
|
71
|
+
RectRenderType2[RectRenderType2["FIELD_2"] = 2] = "FIELD_2";
|
|
72
|
+
RectRenderType2[RectRenderType2["FIELD_3"] = 3] = "FIELD_3";
|
|
73
|
+
RectRenderType2[RectRenderType2["FIELD_4"] = 4] = "FIELD_4";
|
|
74
|
+
RectRenderType2[RectRenderType2["ACTIVE_AREA"] = 5] = "ACTIVE_AREA";
|
|
75
|
+
return RectRenderType2;
|
|
76
|
+
})(RectRenderType || {});
|
|
77
|
+
const dragStart = Date.now();
|
|
78
|
+
const cursorIsInsideClipped = () => isInsideRect(props.mouseX, props.mouseY, ui.visibleViewport.value) && !ui.viewportBlockingRects.value.some(
|
|
79
|
+
(v) => isInsideRect(props.mouseX, props.mouseY, v)
|
|
80
|
+
);
|
|
81
|
+
const active = ref(null);
|
|
82
|
+
defineEmits(["drop"]);
|
|
83
|
+
const areas = dragdrop.getDropAreas(props.items).reduce((acc, v) => {
|
|
84
|
+
acc[v.id] = v;
|
|
85
|
+
return acc;
|
|
86
|
+
}, {});
|
|
87
|
+
const visibleDropAreas = /* @__PURE__ */ new Set();
|
|
88
|
+
const areasObserver = new IntersectionObserver(
|
|
89
|
+
(entries) => {
|
|
90
|
+
for (const entry of entries) {
|
|
91
|
+
if (entry.target instanceof HTMLElement) {
|
|
92
|
+
const id = entry.target.dataset.dropAreaId;
|
|
93
|
+
if (id) {
|
|
94
|
+
if (entry.isIntersecting) {
|
|
95
|
+
visibleDropAreas.add(id);
|
|
96
|
+
} else {
|
|
97
|
+
visibleDropAreas.delete(id);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
threshold: 0
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
Object.values(areas).forEach((area) => {
|
|
108
|
+
area.element.dataset.dropAreaId = area.id;
|
|
109
|
+
areasObserver.observe(area.element);
|
|
110
|
+
});
|
|
111
|
+
onBlokkliEvent("mouse:down", (e) => {
|
|
112
|
+
const coord = toCanvasSpaceCoordinates(e.x, e.y);
|
|
113
|
+
const match = collector.getRectAtPosition(coord);
|
|
114
|
+
active.value = match || null;
|
|
115
|
+
});
|
|
116
|
+
onBlokkliEvent("mouse:up", (e) => {
|
|
117
|
+
if (!active.value) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
if (props.isTouch && e.distance > 10) {
|
|
121
|
+
active.value = null;
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
if (!props.isTouch && e.distance < 7) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
127
|
+
emitDrop();
|
|
128
|
+
});
|
|
129
|
+
const emitDrop = async () => {
|
|
130
|
+
const timeDelta = Date.now() - dragStart;
|
|
131
|
+
if (active.value && timeDelta > 200) {
|
|
132
|
+
if (active.value.type === "field") {
|
|
133
|
+
const [hostUuid, fieldName, preceedingUuid] = active.value.id.split(":");
|
|
134
|
+
if (!hostUuid || !fieldName) {
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
const field = fields.find(hostUuid, fieldName);
|
|
138
|
+
if (!field) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
eventBus.emit("dragging:drop", {
|
|
142
|
+
field,
|
|
143
|
+
preceedingUuid: preceedingUuid ?? null,
|
|
144
|
+
items: [...props.items],
|
|
145
|
+
host: {
|
|
146
|
+
type: field.hostEntityType,
|
|
147
|
+
uuid: field.hostEntityUuid,
|
|
148
|
+
fieldName: field.name
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
return;
|
|
152
|
+
} else if (active.value.type === "drop-area") {
|
|
153
|
+
const area = areas[active.value.id];
|
|
154
|
+
if (!area) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
await area.onDrop();
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
eventBus.emit("dragging:end");
|
|
161
|
+
};
|
|
162
|
+
const isDraggingExisting = computed(
|
|
163
|
+
() => props.items.some(
|
|
164
|
+
(item) => item.itemType === "existing" || item.itemType === "existing_structure"
|
|
165
|
+
)
|
|
166
|
+
);
|
|
167
|
+
const draggingBundles = computed(
|
|
168
|
+
() => props.items.flatMap((item) => {
|
|
169
|
+
const bundles = [];
|
|
170
|
+
if (item.itemType === "existing" || item.itemType === "existing_structure") {
|
|
171
|
+
bundles.push(item.block.bundle);
|
|
172
|
+
if (item.block.library?.reusableBundle) {
|
|
173
|
+
bundles.push(item.block.library.reusableBundle);
|
|
174
|
+
}
|
|
175
|
+
} else if ("itemBundle" in item) {
|
|
176
|
+
if (item.itemBundle) {
|
|
177
|
+
bundles.push(item.itemBundle);
|
|
178
|
+
}
|
|
179
|
+
} else if (item.itemType === "action" && item.action.itemBundle) {
|
|
180
|
+
bundles.push(item.action.itemBundle);
|
|
181
|
+
} else if ("itemBundles" in item) {
|
|
182
|
+
bundles.push(...item.itemBundles);
|
|
183
|
+
}
|
|
184
|
+
return bundles;
|
|
185
|
+
}).filter(falsy).filter(onlyUnique)
|
|
186
|
+
);
|
|
187
|
+
const draggingFragments = computed(
|
|
188
|
+
() => props.items.flatMap((item) => {
|
|
189
|
+
if ((item.itemType === "existing" || item.itemType === "existing_structure") && item.block.bundle === fragmentBlockBundle && item.block.fragment?.name) {
|
|
190
|
+
return [item.block.fragment.name];
|
|
191
|
+
}
|
|
192
|
+
return [];
|
|
193
|
+
}).filter(falsy)
|
|
194
|
+
);
|
|
195
|
+
const selectionUuids = computed(
|
|
196
|
+
() => props.items.map((item) => {
|
|
197
|
+
if (item.itemType === "existing") {
|
|
198
|
+
return item.block.uuid;
|
|
199
|
+
}
|
|
200
|
+
}).filter(falsy)
|
|
201
|
+
);
|
|
202
|
+
const fieldChildCache = {};
|
|
203
|
+
const buildChildId = (field, preceedingUuid, type, uuid) => {
|
|
204
|
+
return `${field.key}:${preceedingUuid || ""}:${type || ""}:${uuid || ""}`;
|
|
205
|
+
};
|
|
206
|
+
const buildChildren = (field, visible) => {
|
|
207
|
+
if (!field.canAddChildren) {
|
|
208
|
+
return [];
|
|
209
|
+
}
|
|
210
|
+
if (field.emptyChild) {
|
|
211
|
+
return [field.emptyChild];
|
|
212
|
+
}
|
|
213
|
+
const children = [];
|
|
214
|
+
let prevWasInSelection = false;
|
|
215
|
+
let prevUuid = "";
|
|
216
|
+
let prevElOffsetTop = 0;
|
|
217
|
+
let prevElHeight = 0;
|
|
218
|
+
for (let i = 0; i < field.childrenElements.length; i++) {
|
|
219
|
+
const childrenForUuid = [];
|
|
220
|
+
const isLast = i === field.childrenElements.length - 1;
|
|
221
|
+
const el = field.childrenElements[i];
|
|
222
|
+
if (!(el instanceof HTMLElement)) {
|
|
223
|
+
continue;
|
|
224
|
+
}
|
|
225
|
+
const uuid = el.dataset.bkUuid;
|
|
226
|
+
if (!uuid) {
|
|
227
|
+
continue;
|
|
228
|
+
}
|
|
229
|
+
if (!visible.includes(uuid)) {
|
|
230
|
+
const elRect2 = dom.getBlockRect(uuid) || ui.getAbsoluteElementRect(dom.getBoundingClientRect(el));
|
|
231
|
+
prevElOffsetTop = elRect2.y - field.y;
|
|
232
|
+
prevElHeight = el.scrollHeight;
|
|
233
|
+
prevUuid = uuid;
|
|
234
|
+
continue;
|
|
235
|
+
}
|
|
236
|
+
const cached = fieldChildCache[uuid];
|
|
237
|
+
if (cached) {
|
|
238
|
+
const elRect2 = dom.getBlockRect(uuid) || ui.getAbsoluteElementRect(dom.getBoundingClientRect(el));
|
|
239
|
+
prevElOffsetTop = elRect2.y - field.y;
|
|
240
|
+
prevElHeight = el.scrollHeight;
|
|
241
|
+
children.push(...cached);
|
|
242
|
+
prevUuid = uuid;
|
|
243
|
+
continue;
|
|
244
|
+
}
|
|
245
|
+
if (selectionUuids.value.includes(uuid)) {
|
|
246
|
+
prevWasInSelection = true;
|
|
247
|
+
prevUuid = uuid;
|
|
248
|
+
continue;
|
|
249
|
+
}
|
|
250
|
+
const elRect = dom.getBlockRect(uuid) || ui.getAbsoluteElementRect(dom.getBoundingClientRect(el));
|
|
251
|
+
const elOffsetTop = elRect.y - field.y;
|
|
252
|
+
const elOffsetLeft = elRect.x - field.x;
|
|
253
|
+
const elHeight = el.scrollHeight;
|
|
254
|
+
if (isLast) {
|
|
255
|
+
const id2 = buildChildId(field.field, uuid, "last", uuid);
|
|
256
|
+
if (field.orientation === "vertical") {
|
|
257
|
+
childrenForUuid.push({
|
|
258
|
+
id: id2,
|
|
259
|
+
width: field.width,
|
|
260
|
+
height: MIN_GAP,
|
|
261
|
+
x: 0,
|
|
262
|
+
y: elOffsetTop + elHeight,
|
|
263
|
+
label: field.label
|
|
264
|
+
});
|
|
265
|
+
} else {
|
|
266
|
+
childrenForUuid.push({
|
|
267
|
+
id: id2,
|
|
268
|
+
width: MIN_GAP,
|
|
269
|
+
height: el.offsetHeight,
|
|
270
|
+
x: elOffsetLeft + el.offsetWidth + (field.gap - MIN_GAP) / 2,
|
|
271
|
+
y: elOffsetTop,
|
|
272
|
+
label: field.label
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
if (prevWasInSelection) {
|
|
277
|
+
prevWasInSelection = false;
|
|
278
|
+
prevUuid = uuid;
|
|
279
|
+
prevElOffsetTop = elOffsetTop;
|
|
280
|
+
prevElHeight = elHeight;
|
|
281
|
+
children.push(...childrenForUuid);
|
|
282
|
+
continue;
|
|
283
|
+
}
|
|
284
|
+
const id = buildChildId(field.field, prevUuid, "between", uuid);
|
|
285
|
+
if (field.orientation === "vertical") {
|
|
286
|
+
let dropTargetY;
|
|
287
|
+
if (prevElHeight > 0) {
|
|
288
|
+
const prevBlockBottom = prevElOffsetTop + prevElHeight;
|
|
289
|
+
const gapMiddle = (prevBlockBottom + elOffsetTop) / 2;
|
|
290
|
+
dropTargetY = gapMiddle - MIN_GAP / 2;
|
|
291
|
+
} else {
|
|
292
|
+
const gapMiddle = elOffsetTop / 2;
|
|
293
|
+
dropTargetY = gapMiddle - MIN_GAP / 2;
|
|
294
|
+
}
|
|
295
|
+
childrenForUuid.push({
|
|
296
|
+
id,
|
|
297
|
+
width: field.width,
|
|
298
|
+
height: MIN_GAP,
|
|
299
|
+
x: 0,
|
|
300
|
+
y: dropTargetY,
|
|
301
|
+
label: field.label
|
|
302
|
+
});
|
|
303
|
+
} else {
|
|
304
|
+
childrenForUuid.push({
|
|
305
|
+
id,
|
|
306
|
+
width: MIN_GAP,
|
|
307
|
+
height: Math.max(el.offsetHeight, MIN_GAP),
|
|
308
|
+
x: Math.max(elOffsetLeft - field.gap, -field.gap) + (field.gap - MIN_GAP) / 2,
|
|
309
|
+
y: elOffsetTop,
|
|
310
|
+
label: field.label
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
fieldChildCache[uuid] = childrenForUuid;
|
|
314
|
+
children.push(...childrenForUuid);
|
|
315
|
+
prevElOffsetTop = elOffsetTop;
|
|
316
|
+
prevElHeight = elHeight;
|
|
317
|
+
prevUuid = uuid;
|
|
318
|
+
}
|
|
319
|
+
return children;
|
|
320
|
+
};
|
|
321
|
+
const fieldCache = {};
|
|
322
|
+
const fieldTrailCache = {};
|
|
323
|
+
const parentChainCache = {};
|
|
324
|
+
function getBlockLabel(bundle, props2) {
|
|
325
|
+
if (bundle === fragmentBlockBundle && props2?.name) {
|
|
326
|
+
const fragmentDef = definitions.getFragmentDefinition(props2.name);
|
|
327
|
+
if (fragmentDef?.label) {
|
|
328
|
+
return fragmentDef.label;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
if (bundle === fromLibraryBlockBundle && props2?.libraryItem?.label) {
|
|
332
|
+
return props2.libraryItem.label;
|
|
333
|
+
}
|
|
334
|
+
return types.getBlockBundleDefinition(bundle)?.label || bundle;
|
|
335
|
+
}
|
|
336
|
+
function getFieldLabel(entityType, entityBundle, fieldName) {
|
|
337
|
+
return types.getFieldConfig(entityType, entityBundle, fieldName)?.label || fieldName;
|
|
338
|
+
}
|
|
339
|
+
function buildParentChain(uuid, bundle) {
|
|
340
|
+
const cached = parentChainCache[uuid];
|
|
341
|
+
if (cached) {
|
|
342
|
+
return cached;
|
|
343
|
+
}
|
|
344
|
+
const parts = [];
|
|
345
|
+
const fieldInfo = state.getFieldListForBlock(uuid);
|
|
346
|
+
if (!fieldInfo) {
|
|
347
|
+
return [];
|
|
348
|
+
}
|
|
349
|
+
const parentUuid = state.getParentEntityUuid(uuid);
|
|
350
|
+
const parentItem = parentUuid ? state.getFieldListItem(parentUuid) : null;
|
|
351
|
+
if (parentItem) {
|
|
352
|
+
const parentChain = buildParentChain(parentItem.uuid, parentItem.bundle);
|
|
353
|
+
parts.push(...parentChain);
|
|
354
|
+
}
|
|
355
|
+
const entityBundle = parentItem ? parentItem.bundle : context.value.entityBundle;
|
|
356
|
+
const fieldLabel = getFieldLabel(
|
|
357
|
+
fieldInfo.entityType,
|
|
358
|
+
entityBundle,
|
|
359
|
+
fieldInfo.name
|
|
360
|
+
);
|
|
361
|
+
parts.push(`<span class="bk-is-field">${fieldLabel}</span>`);
|
|
362
|
+
const item = state.getFieldListItem(uuid);
|
|
363
|
+
const blockLabel = getBlockLabel(bundle, item?.props);
|
|
364
|
+
parts.push(`<span class="bk-is-block">${blockLabel}</span>`);
|
|
365
|
+
parentChainCache[uuid] = parts;
|
|
366
|
+
return parts;
|
|
367
|
+
}
|
|
368
|
+
function getInsertText(field) {
|
|
369
|
+
const cached = fieldTrailCache[field.key];
|
|
370
|
+
if (cached) {
|
|
371
|
+
return cached;
|
|
372
|
+
}
|
|
373
|
+
const parts = [];
|
|
374
|
+
const hostLabel = state.entity.value.bundleLabel || state.entity.value.label || "Host";
|
|
375
|
+
parts.push(`<span class="bk-is-host">${hostLabel}</span>`);
|
|
376
|
+
if (field.hostEntityType === itemEntityType) {
|
|
377
|
+
const parentUuid = field.hostEntityUuid;
|
|
378
|
+
const parentItem = state.getFieldListItem(parentUuid);
|
|
379
|
+
if (parentItem) {
|
|
380
|
+
const parentChain = buildParentChain(parentUuid, parentItem.bundle);
|
|
381
|
+
parts.push(...parentChain);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
const fieldLabel = getFieldLabel(
|
|
385
|
+
field.hostEntityType,
|
|
386
|
+
field.hostEntityBundle,
|
|
387
|
+
field.name
|
|
388
|
+
);
|
|
389
|
+
parts.push(`<span class="bk-is-field">${fieldLabel}</span>`);
|
|
390
|
+
const result = parts.join(" \xBB ");
|
|
391
|
+
fieldTrailCache[field.key] = result;
|
|
392
|
+
return result;
|
|
393
|
+
}
|
|
394
|
+
const buildEmptyChild = (field, children, orientation, fieldWidth, fieldHeight) => {
|
|
395
|
+
if (children.length === 0) {
|
|
396
|
+
const id = buildChildId(field, null, "empty");
|
|
397
|
+
if (orientation === "horizontal") {
|
|
398
|
+
return {
|
|
399
|
+
id,
|
|
400
|
+
x: 0,
|
|
401
|
+
y: 0,
|
|
402
|
+
width: fieldWidth,
|
|
403
|
+
height: fieldHeight,
|
|
404
|
+
label: getInsertText(field)
|
|
405
|
+
};
|
|
406
|
+
} else {
|
|
407
|
+
return {
|
|
408
|
+
id,
|
|
409
|
+
x: 0,
|
|
410
|
+
y: 0,
|
|
411
|
+
width: fieldWidth,
|
|
412
|
+
height: Math.max(fieldHeight, MIN_GAP),
|
|
413
|
+
label: getInsertText(field)
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
};
|
|
418
|
+
const buildFieldRect = (key) => {
|
|
419
|
+
if (fieldCache[key]) {
|
|
420
|
+
return fieldCache[key];
|
|
421
|
+
}
|
|
422
|
+
const [uuid, name] = key.split(":");
|
|
423
|
+
if (!uuid || !name) {
|
|
424
|
+
return;
|
|
425
|
+
}
|
|
426
|
+
const field = fields.find(uuid, name);
|
|
427
|
+
if (!field) {
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
if (field.hostEntityType === itemEntityType && (!permissions.checkBlockBundlePermission(field.hostEntityBundle, "edit") || permissions.blockHasRestrictedAncestor(field.hostEntityUuid))) {
|
|
431
|
+
return;
|
|
432
|
+
}
|
|
433
|
+
const childElements = [...field.element.children];
|
|
434
|
+
const currentCount = state.getFieldBlockCount(field.key);
|
|
435
|
+
const canAddChildren = determineCanAddChildren(
|
|
436
|
+
field,
|
|
437
|
+
childElements,
|
|
438
|
+
selectionUuids.value,
|
|
439
|
+
currentCount,
|
|
440
|
+
props.items.length,
|
|
441
|
+
draggingBundles.value,
|
|
442
|
+
draggingFragments.value,
|
|
443
|
+
isDraggingExisting.value ? void 0 : (bundle) => permissions.checkBlockBundlePermission(bundle, "add")
|
|
444
|
+
);
|
|
445
|
+
const orientation = field.dropAlignment || getChildrenOrientation(field.element);
|
|
446
|
+
const rect = dom.getFieldRect(field.key);
|
|
447
|
+
if (!rect) {
|
|
448
|
+
throw new Error("Failed to get rect for field: " + field.key);
|
|
449
|
+
}
|
|
450
|
+
const x = rect.x;
|
|
451
|
+
const y = rect.y;
|
|
452
|
+
const width = Math.max(rect.width, MIN_GAP);
|
|
453
|
+
const height = Math.max(rect.height, MIN_GAP);
|
|
454
|
+
const emptyChild = buildEmptyChild(
|
|
455
|
+
field,
|
|
456
|
+
childElements,
|
|
457
|
+
orientation,
|
|
458
|
+
width,
|
|
459
|
+
height
|
|
460
|
+
);
|
|
461
|
+
const gap = Math.max(getGapSize(orientation, field.element), MIN_GAP);
|
|
462
|
+
const fieldRect = {
|
|
463
|
+
key: field.key,
|
|
464
|
+
field,
|
|
465
|
+
width,
|
|
466
|
+
height,
|
|
467
|
+
x,
|
|
468
|
+
y,
|
|
469
|
+
label: getInsertText(field),
|
|
470
|
+
canAddChildren,
|
|
471
|
+
emptyChild,
|
|
472
|
+
orientation,
|
|
473
|
+
gap,
|
|
474
|
+
childrenElements: childElements
|
|
475
|
+
};
|
|
476
|
+
fieldCache[key] = fieldRect;
|
|
477
|
+
return fieldRect;
|
|
478
|
+
};
|
|
479
|
+
const cachedDropAreaRects = {};
|
|
480
|
+
const buildDropAreaRect = (area) => {
|
|
481
|
+
if (cachedDropAreaRects[area.id]) {
|
|
482
|
+
return cachedDropAreaRects[area.id];
|
|
483
|
+
}
|
|
484
|
+
const rect = ui.getAbsoluteElementRect(area.element);
|
|
485
|
+
const dropAreaRect = {
|
|
486
|
+
x: rect.x,
|
|
487
|
+
y: rect.y,
|
|
488
|
+
width: Math.max(rect.width, MIN_GAP),
|
|
489
|
+
height: Math.max(rect.height, MIN_GAP)
|
|
490
|
+
};
|
|
491
|
+
cachedDropAreaRects[area.id] = dropAreaRect;
|
|
492
|
+
return dropAreaRect;
|
|
493
|
+
};
|
|
494
|
+
function getRectType(field) {
|
|
495
|
+
if (field.nestingLevel >= 3) {
|
|
496
|
+
return 4 /* FIELD_4 */;
|
|
497
|
+
} else if (field.nestingLevel >= 2) {
|
|
498
|
+
return 3 /* FIELD_3 */;
|
|
499
|
+
} else if (field.nestingLevel >= 1) {
|
|
500
|
+
return 2 /* FIELD_2 */;
|
|
501
|
+
}
|
|
502
|
+
return 1 /* FIELD_1 */;
|
|
503
|
+
}
|
|
504
|
+
class DropTargetRectangleBufferCollector extends RectangleBufferCollector {
|
|
505
|
+
getBufferInfo(gl) {
|
|
506
|
+
const visibleFields = dom.getVisibleFields();
|
|
507
|
+
const visibleBlocks = dom.getVisibleBlocks();
|
|
508
|
+
const lengthBefore = this.positions.length;
|
|
509
|
+
for (let i = 0; i < visibleFields.length; i++) {
|
|
510
|
+
const key = visibleFields[i];
|
|
511
|
+
const fieldRect = buildFieldRect(key);
|
|
512
|
+
if (!fieldRect) {
|
|
513
|
+
continue;
|
|
514
|
+
}
|
|
515
|
+
const children = buildChildren(fieldRect, visibleBlocks);
|
|
516
|
+
for (let j = 0; j < children.length; j++) {
|
|
517
|
+
const child = children[j];
|
|
518
|
+
if (this.added.has(child.id)) {
|
|
519
|
+
continue;
|
|
520
|
+
}
|
|
521
|
+
const type = getRectType(fieldRect.field);
|
|
522
|
+
this.addRectangle(
|
|
523
|
+
{
|
|
524
|
+
id: child.id,
|
|
525
|
+
type: "field",
|
|
526
|
+
label: child.label,
|
|
527
|
+
color: colorAccent,
|
|
528
|
+
colorAlpha: colorAccentAlpha,
|
|
529
|
+
x: fieldRect.x + child.x,
|
|
530
|
+
y: fieldRect.y + child.y,
|
|
531
|
+
width: child.width,
|
|
532
|
+
height: child.height,
|
|
533
|
+
field: fieldRect,
|
|
534
|
+
nestingLevel: fieldRect.field.nestingLevel,
|
|
535
|
+
state: child.id.includes(":empty:") ? 2 : fieldRect.orientation === "vertical" ? 1 : 0
|
|
536
|
+
},
|
|
537
|
+
type,
|
|
538
|
+
true
|
|
539
|
+
);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
const visibleAreas = Array.from(visibleDropAreas);
|
|
543
|
+
for (let i = 0; i < visibleAreas.length; i++) {
|
|
544
|
+
const area = areas[visibleAreas[i]];
|
|
545
|
+
if (!area) {
|
|
546
|
+
continue;
|
|
547
|
+
}
|
|
548
|
+
if (this.added.has(area.id)) {
|
|
549
|
+
continue;
|
|
550
|
+
}
|
|
551
|
+
const areaRect = buildDropAreaRect(area);
|
|
552
|
+
this.addRectangle(
|
|
553
|
+
{
|
|
554
|
+
id: area.id,
|
|
555
|
+
type: "drop-area",
|
|
556
|
+
label: area.label,
|
|
557
|
+
color: colorTeal,
|
|
558
|
+
colorAlpha: colorTealAlpha,
|
|
559
|
+
x: areaRect.x,
|
|
560
|
+
y: areaRect.y,
|
|
561
|
+
width: areaRect.width,
|
|
562
|
+
height: areaRect.height,
|
|
563
|
+
state: 0
|
|
564
|
+
},
|
|
565
|
+
0 /* DROP_AREA */,
|
|
566
|
+
false
|
|
567
|
+
);
|
|
568
|
+
}
|
|
569
|
+
this.processPendingRects();
|
|
570
|
+
const hasChanged = lengthBefore !== this.positions.length;
|
|
571
|
+
if (hasChanged && gl) {
|
|
572
|
+
this.bufferInfo = this.createBufferInfo(gl);
|
|
573
|
+
}
|
|
574
|
+
return { info: this.bufferInfo, hasChanged };
|
|
575
|
+
}
|
|
576
|
+
getClosestIntersectingRect(box, coords) {
|
|
577
|
+
const candidates = [];
|
|
578
|
+
const rects = Object.values(this.rects);
|
|
579
|
+
for (let i = 0; i < rects.length; i++) {
|
|
580
|
+
const rect = rects[i];
|
|
581
|
+
if (rect.type === "active-area") {
|
|
582
|
+
continue;
|
|
583
|
+
}
|
|
584
|
+
if (intersects(box, rect)) {
|
|
585
|
+
candidates.push(rect);
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
if (candidates.length === 0) {
|
|
589
|
+
return null;
|
|
590
|
+
} else if (candidates.length === 1) {
|
|
591
|
+
return candidates[0];
|
|
592
|
+
}
|
|
593
|
+
return findClosestRectangle(coords.x, coords.y, candidates);
|
|
594
|
+
}
|
|
595
|
+
getRectAtPosition(coord) {
|
|
596
|
+
const rects = Object.values(this.rects);
|
|
597
|
+
for (let i = 0; i < rects.length; i++) {
|
|
598
|
+
const rect = rects[i];
|
|
599
|
+
if (rect.type === "active-area") {
|
|
600
|
+
continue;
|
|
601
|
+
}
|
|
602
|
+
if (isInsideRect(coord.x, coord.y, rect)) {
|
|
603
|
+
return rect;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
return null;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
const fieldRenderPalette = computed(() => {
|
|
610
|
+
const accent = theme.accent.value;
|
|
611
|
+
const mono = theme.mono.value;
|
|
612
|
+
return {
|
|
613
|
+
"0": {
|
|
614
|
+
gradStart: accent[800],
|
|
615
|
+
gradEnd: accent[900],
|
|
616
|
+
borderOuter: [0, 0, 0],
|
|
617
|
+
borderInner: accent[600],
|
|
618
|
+
color: [255, 255, 255]
|
|
619
|
+
},
|
|
620
|
+
"1": {
|
|
621
|
+
gradStart: accent[400],
|
|
622
|
+
gradEnd: accent[500],
|
|
623
|
+
borderOuter: accent[400],
|
|
624
|
+
borderInner: accent[300],
|
|
625
|
+
color: [255, 255, 255]
|
|
626
|
+
// color: accent[950],
|
|
627
|
+
},
|
|
628
|
+
"2": {
|
|
629
|
+
gradStart: mono[700],
|
|
630
|
+
gradEnd: mono[800],
|
|
631
|
+
borderOuter: [0, 0, 0],
|
|
632
|
+
borderInner: mono[600],
|
|
633
|
+
color: mono[100]
|
|
634
|
+
},
|
|
635
|
+
"3": {
|
|
636
|
+
gradStart: mono[300],
|
|
637
|
+
gradEnd: mono[400],
|
|
638
|
+
borderOuter: mono[600],
|
|
639
|
+
borderInner: mono[300],
|
|
640
|
+
color: mono[100]
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
});
|
|
644
|
+
function getColorForField(field, property = "gradStart") {
|
|
645
|
+
const nestingLevel = field?.field.nestingLevel || 0;
|
|
646
|
+
if (nestingLevel >= 3) {
|
|
647
|
+
return fieldRenderPalette.value[3][property];
|
|
648
|
+
} else if (nestingLevel >= 2) {
|
|
649
|
+
return fieldRenderPalette.value[2][property];
|
|
650
|
+
} else if (nestingLevel >= 1) {
|
|
651
|
+
return fieldRenderPalette.value[1][property];
|
|
652
|
+
}
|
|
653
|
+
return fieldRenderPalette.value[0][property];
|
|
654
|
+
}
|
|
655
|
+
const activeBackgroundColorRgb = computed(() => {
|
|
656
|
+
if (active.value?.type === "drop-area") {
|
|
657
|
+
return theme.teal.value.normal;
|
|
658
|
+
}
|
|
659
|
+
if (!active.value) {
|
|
660
|
+
return;
|
|
661
|
+
}
|
|
662
|
+
return getColorForField(active.value?.field);
|
|
663
|
+
});
|
|
664
|
+
function joinRgb(rgb) {
|
|
665
|
+
return rgb.join(" ");
|
|
666
|
+
}
|
|
667
|
+
const activeColor = computed(() => {
|
|
668
|
+
if (active.value?.type === "drop-area") {
|
|
669
|
+
return joinRgb(theme.teal.value.light);
|
|
670
|
+
}
|
|
671
|
+
if (!active.value) {
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
return joinRgb(getColorForField(active.value?.field, "color"));
|
|
675
|
+
});
|
|
676
|
+
const activeBackgroundColorHex = computed(() => {
|
|
677
|
+
if (activeBackgroundColorRgb.value) {
|
|
678
|
+
return joinRgb(activeBackgroundColorRgb.value);
|
|
679
|
+
}
|
|
680
|
+
return "";
|
|
681
|
+
});
|
|
682
|
+
const activeScreenRect = computed(() => {
|
|
683
|
+
if (!active.value) {
|
|
684
|
+
return;
|
|
685
|
+
}
|
|
686
|
+
const scale = ui.artboardScale.value;
|
|
687
|
+
const offset = ui.artboardOffset.value;
|
|
688
|
+
return {
|
|
689
|
+
x: active.value.x * scale + offset.x,
|
|
690
|
+
y: active.value.y * scale + offset.y,
|
|
691
|
+
width: active.value.width * scale,
|
|
692
|
+
height: active.value.height * scale
|
|
693
|
+
};
|
|
694
|
+
});
|
|
695
|
+
const activeHoverField = ref(null);
|
|
696
|
+
const activeHoverRect = computed(() => {
|
|
697
|
+
if (!activeHoverField.value) {
|
|
698
|
+
return [0, 0, 0, 0];
|
|
699
|
+
}
|
|
700
|
+
const outset = activeHoverField.value.field.nestingLevel === 0 ? 0 : 20;
|
|
701
|
+
if (activeHoverField.value.emptyChild) {
|
|
702
|
+
const emptyChildId = activeHoverField.value.emptyChild.id;
|
|
703
|
+
const adjustedRect = collector.rects[emptyChildId];
|
|
704
|
+
if (adjustedRect) {
|
|
705
|
+
return [
|
|
706
|
+
adjustedRect.x - outset,
|
|
707
|
+
adjustedRect.y - outset,
|
|
708
|
+
adjustedRect.width + 2 * outset,
|
|
709
|
+
adjustedRect.height + 2 * outset
|
|
710
|
+
];
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
return [
|
|
714
|
+
activeHoverField.value.x - outset,
|
|
715
|
+
activeHoverField.value.y - outset,
|
|
716
|
+
activeHoverField.value.width + 2 * outset,
|
|
717
|
+
activeHoverField.value.height + 2 * outset
|
|
718
|
+
];
|
|
719
|
+
});
|
|
720
|
+
const activeHoverColor = computed(() => {
|
|
721
|
+
return getColorForField(activeHoverField.value);
|
|
722
|
+
});
|
|
723
|
+
const activeHoverFieldNestingLevel = computed(() => {
|
|
724
|
+
return activeHoverField.value?.field.nestingLevel ?? 0;
|
|
725
|
+
});
|
|
726
|
+
const uniforms = computed(() => {
|
|
727
|
+
const index = active.value?.index;
|
|
728
|
+
return {
|
|
729
|
+
u_color_hover_area: toShaderColor(activeHoverColor.value),
|
|
730
|
+
u_color_area: toShaderColor(theme.teal.value.normal),
|
|
731
|
+
u_drop_area: [
|
|
732
|
+
...toShaderColor(theme.teal.value.light),
|
|
733
|
+
...toShaderColor(theme.teal.value.normal),
|
|
734
|
+
...toShaderColor(theme.teal.value.dark),
|
|
735
|
+
...toShaderColor(theme.teal.value.light)
|
|
736
|
+
],
|
|
737
|
+
u_field_0: [
|
|
738
|
+
...toShaderColor(fieldRenderPalette.value[0].gradStart),
|
|
739
|
+
...toShaderColor(fieldRenderPalette.value[0].gradEnd),
|
|
740
|
+
...toShaderColor(fieldRenderPalette.value[0].borderOuter),
|
|
741
|
+
...toShaderColor(fieldRenderPalette.value[0].borderInner)
|
|
742
|
+
],
|
|
743
|
+
u_field_1: [
|
|
744
|
+
...toShaderColor(fieldRenderPalette.value[1].gradStart),
|
|
745
|
+
...toShaderColor(fieldRenderPalette.value[1].gradEnd),
|
|
746
|
+
...toShaderColor(fieldRenderPalette.value[1].borderOuter),
|
|
747
|
+
...toShaderColor(fieldRenderPalette.value[1].borderInner)
|
|
748
|
+
],
|
|
749
|
+
u_field_2: [
|
|
750
|
+
...toShaderColor(fieldRenderPalette.value[2].gradStart),
|
|
751
|
+
...toShaderColor(fieldRenderPalette.value[2].gradEnd),
|
|
752
|
+
...toShaderColor(fieldRenderPalette.value[2].borderOuter),
|
|
753
|
+
...toShaderColor(fieldRenderPalette.value[2].borderInner)
|
|
754
|
+
],
|
|
755
|
+
u_field_3: [
|
|
756
|
+
...toShaderColor(fieldRenderPalette.value[3].gradStart),
|
|
757
|
+
...toShaderColor(fieldRenderPalette.value[3].gradEnd),
|
|
758
|
+
...toShaderColor(fieldRenderPalette.value[3].borderOuter),
|
|
759
|
+
...toShaderColor(fieldRenderPalette.value[3].borderInner)
|
|
760
|
+
],
|
|
761
|
+
u_active_rect_id: index === void 0 ? -1 : index,
|
|
762
|
+
u_active_hover_rect: activeHoverRect.value,
|
|
763
|
+
u_active_hover_nesting_level: activeHoverFieldNestingLevel.value,
|
|
764
|
+
u_field_min_size: FIELD_MIN_DRAW_SIZE
|
|
765
|
+
};
|
|
766
|
+
});
|
|
767
|
+
const dragBox = ref({
|
|
768
|
+
x: 0,
|
|
769
|
+
y: 0,
|
|
770
|
+
width: 0,
|
|
771
|
+
height: 0
|
|
772
|
+
});
|
|
773
|
+
function toCanvasSpaceCoordinates(x, y) {
|
|
774
|
+
const scale = ui.artboardScale.value;
|
|
775
|
+
const offset = { ...ui.artboardOffset.value };
|
|
776
|
+
return {
|
|
777
|
+
x: (x - offset.x) / scale,
|
|
778
|
+
y: (y - offset.y) / scale
|
|
779
|
+
};
|
|
780
|
+
}
|
|
781
|
+
function setHoveredFieldArea(box, mouse) {
|
|
782
|
+
if (active.value?.field) {
|
|
783
|
+
if (activeHoverField.value?.key !== active.value.field.key) {
|
|
784
|
+
activeHoverField.value = active.value.field;
|
|
785
|
+
}
|
|
786
|
+
return;
|
|
787
|
+
}
|
|
788
|
+
const fields2 = Object.values(fieldCache);
|
|
789
|
+
let highestNestingLevel = 0;
|
|
790
|
+
let candidate = null;
|
|
791
|
+
for (let i = 0; i < fields2.length; i++) {
|
|
792
|
+
const field = fields2[i];
|
|
793
|
+
if (!field.canAddChildren) {
|
|
794
|
+
continue;
|
|
795
|
+
}
|
|
796
|
+
if (isInsideRect(mouse.x, mouse.y, field) && field.field.nestingLevel >= highestNestingLevel) {
|
|
797
|
+
candidate = field;
|
|
798
|
+
highestNestingLevel = field.field.nestingLevel;
|
|
799
|
+
continue;
|
|
800
|
+
}
|
|
801
|
+
if (intersects(box, field) && field.field.nestingLevel >= highestNestingLevel) {
|
|
802
|
+
highestNestingLevel = field.field.nestingLevel;
|
|
803
|
+
candidate = field;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
if (candidate && candidate.key !== activeHoverField.value?.key) {
|
|
807
|
+
activeHoverField.value = candidate;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
let bufferInfo = null;
|
|
811
|
+
let bufferChanged = false;
|
|
812
|
+
const { collector } = defineRenderer("drop-targets", {
|
|
813
|
+
zIndex: 400,
|
|
814
|
+
only: true,
|
|
815
|
+
collector: () => {
|
|
816
|
+
const c = new DropTargetRectangleBufferCollector({ deferredMode: true });
|
|
817
|
+
c.addRectangle(
|
|
818
|
+
{
|
|
819
|
+
id: "active-hover-rect",
|
|
820
|
+
type: "active-area",
|
|
821
|
+
label: "Field Area",
|
|
822
|
+
color: "red",
|
|
823
|
+
colorAlpha: "red",
|
|
824
|
+
x: 0,
|
|
825
|
+
y: 0,
|
|
826
|
+
width: ui.artboardSize.value.width,
|
|
827
|
+
height: ui.artboardSize.value.height,
|
|
828
|
+
state: 0
|
|
829
|
+
},
|
|
830
|
+
5 /* ACTIVE_AREA */,
|
|
831
|
+
false
|
|
832
|
+
);
|
|
833
|
+
return c;
|
|
834
|
+
},
|
|
835
|
+
program: () => ({ shaders: [vs, fs] }),
|
|
836
|
+
cursor: () => "grabbing",
|
|
837
|
+
render: (_ctx, gl, program) => {
|
|
838
|
+
const scale = ui.artboardScale.value;
|
|
839
|
+
const offset = { ...ui.artboardOffset.value };
|
|
840
|
+
dragBox.value = {
|
|
841
|
+
x: (props.box.x - offset.x) / scale,
|
|
842
|
+
y: (props.box.y - offset.y) / scale,
|
|
843
|
+
width: props.box.width / scale,
|
|
844
|
+
height: props.box.height / scale
|
|
845
|
+
};
|
|
846
|
+
const mouseAbsolute = toCanvasSpaceCoordinates(props.mouseX, props.mouseY);
|
|
847
|
+
const result = collector.getBufferInfo(gl);
|
|
848
|
+
bufferInfo = result.info;
|
|
849
|
+
bufferChanged = result.hasChanged;
|
|
850
|
+
if (!props.isTouch) {
|
|
851
|
+
if (cursorIsInsideClipped()) {
|
|
852
|
+
const closest = collector.getClosestIntersectingRect(
|
|
853
|
+
dragBox.value,
|
|
854
|
+
mouseAbsolute
|
|
855
|
+
);
|
|
856
|
+
active.value = closest || null;
|
|
857
|
+
} else {
|
|
858
|
+
active.value = null;
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
setHoveredFieldArea(dragBox.value, mouseAbsolute);
|
|
862
|
+
gl.useProgram(program.program);
|
|
863
|
+
animation.setSharedUniforms(gl, program);
|
|
864
|
+
setUniforms(program, uniforms.value);
|
|
865
|
+
if (!bufferInfo) {
|
|
866
|
+
return;
|
|
867
|
+
}
|
|
868
|
+
if (bufferChanged) {
|
|
869
|
+
setBuffersAndAttributes(gl, program, bufferInfo);
|
|
870
|
+
}
|
|
871
|
+
drawBufferInfo(gl, bufferInfo, gl.TRIANGLES);
|
|
872
|
+
},
|
|
873
|
+
renderFallback: (ctx, ctx2d) => {
|
|
874
|
+
const scale = ui.artboardScale.value;
|
|
875
|
+
const offset = { ...ui.artboardOffset.value };
|
|
876
|
+
dragBox.value = {
|
|
877
|
+
x: (props.box.x - offset.x) / scale,
|
|
878
|
+
y: (props.box.y - offset.y) / scale,
|
|
879
|
+
width: props.box.width / scale,
|
|
880
|
+
height: props.box.height / scale
|
|
881
|
+
};
|
|
882
|
+
const mouseAbsolute = toCanvasSpaceCoordinates(props.mouseX, props.mouseY);
|
|
883
|
+
const result = collector.getBufferInfo(void 0);
|
|
884
|
+
bufferInfo = result.info;
|
|
885
|
+
bufferChanged = result.hasChanged;
|
|
886
|
+
if (!props.isTouch) {
|
|
887
|
+
if (cursorIsInsideClipped()) {
|
|
888
|
+
const closest = collector.getClosestIntersectingRect(
|
|
889
|
+
dragBox.value,
|
|
890
|
+
mouseAbsolute
|
|
891
|
+
);
|
|
892
|
+
active.value = closest || null;
|
|
893
|
+
} else {
|
|
894
|
+
active.value = null;
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
setHoveredFieldArea(dragBox.value, mouseAbsolute);
|
|
898
|
+
const rects = Object.values(collector.rects);
|
|
899
|
+
for (let i = 0; i < rects.length; i++) {
|
|
900
|
+
const rect = rects[i];
|
|
901
|
+
if (rect.id === "active-hover-rect") {
|
|
902
|
+
continue;
|
|
903
|
+
}
|
|
904
|
+
const isActive = active.value?.id === rect.id;
|
|
905
|
+
let drawX = rect.x;
|
|
906
|
+
let drawY = rect.y;
|
|
907
|
+
let drawWidth = rect.width;
|
|
908
|
+
let drawHeight = rect.height;
|
|
909
|
+
if (!isActive && rect.type === "field") {
|
|
910
|
+
const isVertical = rect.id.includes(":empty:") || rect.field?.orientation === "vertical";
|
|
911
|
+
if (isVertical) {
|
|
912
|
+
drawHeight = Math.min(FIELD_MIN_DRAW_SIZE, rect.height);
|
|
913
|
+
drawY = rect.y + (rect.height - drawHeight) / 2;
|
|
914
|
+
} else {
|
|
915
|
+
drawWidth = Math.min(FIELD_MIN_DRAW_SIZE, rect.width);
|
|
916
|
+
drawX = rect.x + (rect.width - drawWidth) / 2;
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
const isField = rect.type === "field";
|
|
920
|
+
if (active.value?.id === rect.id) {
|
|
921
|
+
ctx2d.fillStyle = isField ? rgbaToString(getColorForField(rect.field)) : rect.color;
|
|
922
|
+
} else {
|
|
923
|
+
ctx2d.fillStyle = isField ? rgbaToString(getColorForField(rect.field), 0.7) : rect.colorAlpha;
|
|
924
|
+
}
|
|
925
|
+
ctx2d.fillRect(
|
|
926
|
+
(drawX * scale + offset.x) * ctx.dpi,
|
|
927
|
+
(drawY * scale + offset.y) * ctx.dpi,
|
|
928
|
+
drawWidth * ctx.dpi * scale,
|
|
929
|
+
drawHeight * ctx.dpi * scale
|
|
930
|
+
);
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
});
|
|
934
|
+
</script>
|