@blokkli/editor 2.0.0-alpha.5 → 2.0.0-alpha.50
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
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
defineBlokkliEditAdapter
|
|
3
|
+
} from "#blokkli/editor/adapter";
|
|
2
4
|
import { falsy } from "#blokkli/helpers";
|
|
3
5
|
import { availableFeaturesAtBuild } from "#blokkli-build/features";
|
|
6
|
+
import { templateEditRouteName } from "#blokkli-build/drupal-config";
|
|
4
7
|
import { operationSources } from "#nuxt-graphql-middleware/sources";
|
|
5
8
|
import {
|
|
6
9
|
useGraphqlQuery,
|
|
@@ -10,8 +13,106 @@ import {
|
|
|
10
13
|
useRouter
|
|
11
14
|
} from "#imports";
|
|
12
15
|
import { ParagraphsBlokkliRemoteVideoProvider } from "#graphql-operations";
|
|
16
|
+
function mapPublishOptions(publishOptions) {
|
|
17
|
+
return {
|
|
18
|
+
canPublish: !!publishOptions.canPublish,
|
|
19
|
+
isRevisionable: !!publishOptions.isRevisionable,
|
|
20
|
+
hasRevisionLogMessage: !!publishOptions.hasRevisionLogMessage,
|
|
21
|
+
lastChanged: publishOptions.lastChanged ?? null,
|
|
22
|
+
canSchedule: !!publishOptions.canSchedule,
|
|
23
|
+
publishOn: publishOptions.publishOn ?? null,
|
|
24
|
+
revisionLogMessage: publishOptions.revisionLogMessage ?? null
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
const PERMISSION_FIELDS = {
|
|
28
|
+
use_blokkli: "use_blokkli",
|
|
29
|
+
take_ownership: "take_ownership",
|
|
30
|
+
manage_default_templates: "manage_default_templates",
|
|
31
|
+
create_library_item: "create_library_item",
|
|
32
|
+
edit_library_item: "edit_library_item",
|
|
33
|
+
create_comments: "create_comments",
|
|
34
|
+
view_comments: "view_comments",
|
|
35
|
+
use_agent: "use_agent"
|
|
36
|
+
};
|
|
37
|
+
function mapUserPermissions(user) {
|
|
38
|
+
return Object.entries(PERMISSION_FIELDS).filter(([, field]) => user[field] === true).map(([permission]) => permission);
|
|
39
|
+
}
|
|
40
|
+
function valueToFilterString(v) {
|
|
41
|
+
if (typeof v === "string") {
|
|
42
|
+
return v;
|
|
43
|
+
} else if (typeof v === "number") {
|
|
44
|
+
return v.toString();
|
|
45
|
+
} else if (typeof v === "boolean") {
|
|
46
|
+
return v ? "1" : "0";
|
|
47
|
+
}
|
|
48
|
+
return "";
|
|
49
|
+
}
|
|
50
|
+
function configObjectToUserConfigInput(values) {
|
|
51
|
+
if (!values) {
|
|
52
|
+
return [];
|
|
53
|
+
}
|
|
54
|
+
return Object.entries(values).map(([name, value]) => {
|
|
55
|
+
return {
|
|
56
|
+
name,
|
|
57
|
+
value: valueToFilterString(value)
|
|
58
|
+
};
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function mapPluginConfigInputs(inputs) {
|
|
62
|
+
return inputs.map((input) => {
|
|
63
|
+
if (input.__typename === "ParagraphsBlokkliConfigInputText") {
|
|
64
|
+
return {
|
|
65
|
+
type: "text",
|
|
66
|
+
name: input.name,
|
|
67
|
+
label: input.label,
|
|
68
|
+
description: input.description,
|
|
69
|
+
required: input.required,
|
|
70
|
+
defaultValue: input.defaultValueText,
|
|
71
|
+
minLength: input.minLength,
|
|
72
|
+
maxLength: input.maxLength,
|
|
73
|
+
placeholder: input.placeholder,
|
|
74
|
+
pattern: input.pattern,
|
|
75
|
+
multiline: input.multiline,
|
|
76
|
+
rows: input.rows
|
|
77
|
+
};
|
|
78
|
+
} else if (input.__typename === "ParagraphsBlokkliConfigInputCheckbox") {
|
|
79
|
+
return {
|
|
80
|
+
type: "checkbox",
|
|
81
|
+
name: input.name,
|
|
82
|
+
label: input.label,
|
|
83
|
+
description: input.description,
|
|
84
|
+
required: input.required,
|
|
85
|
+
defaultValue: input.defaultValueCheckbox ?? false,
|
|
86
|
+
checkboxLabel: input.checkboxLabel
|
|
87
|
+
};
|
|
88
|
+
} else if (input.__typename === "ParagraphsBlokkliConfigInputOptions") {
|
|
89
|
+
return {
|
|
90
|
+
type: "options",
|
|
91
|
+
name: input.name,
|
|
92
|
+
label: input.label,
|
|
93
|
+
description: input.description,
|
|
94
|
+
required: input.required,
|
|
95
|
+
defaultValue: input.defaultValueOptions ?? "",
|
|
96
|
+
variant: input.variant,
|
|
97
|
+
options: input.options
|
|
98
|
+
};
|
|
99
|
+
} else if (input.__typename === "ParagraphsBlokkliConfigInputSeed") {
|
|
100
|
+
return {
|
|
101
|
+
type: "seed",
|
|
102
|
+
name: input.name,
|
|
103
|
+
label: input.label,
|
|
104
|
+
description: input.description,
|
|
105
|
+
required: input.required
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
return null;
|
|
109
|
+
}).filter(falsy);
|
|
110
|
+
}
|
|
13
111
|
export default defineBlokkliEditAdapter(
|
|
14
112
|
async (providedContext) => {
|
|
113
|
+
if (import.meta.dev) {
|
|
114
|
+
console.log("initialise Drupal bl\xF6kkli adapter");
|
|
115
|
+
}
|
|
15
116
|
const availableFeatureIds = new Set(availableFeaturesAtBuild);
|
|
16
117
|
const availableGraphqlOperations = new Set(Object.keys(operationSources));
|
|
17
118
|
function hasQuery(name) {
|
|
@@ -34,10 +135,23 @@ export default defineBlokkliEditAdapter(
|
|
|
34
135
|
}).then((v) => {
|
|
35
136
|
return {
|
|
36
137
|
clipboard: v.data.clipboards || [],
|
|
138
|
+
userPermissions: v.data.userPermissions,
|
|
37
139
|
availableFeatures: v.data.features,
|
|
38
|
-
allTypes: (v.data.allTypes.items || []).
|
|
39
|
-
(v2
|
|
40
|
-
|
|
140
|
+
allTypes: (v.data.allTypes.items || []).map((v2) => {
|
|
141
|
+
if (v2 && "id" in v2 && v2.id) {
|
|
142
|
+
return {
|
|
143
|
+
id: v2.id,
|
|
144
|
+
label: v2.label ?? "",
|
|
145
|
+
description: v2.description ?? "",
|
|
146
|
+
allowReusable: !!v2.allowReusable,
|
|
147
|
+
isTranslatable: !!v2.isTranslatable,
|
|
148
|
+
hasPublishOn: !!v2.hasPublishOn,
|
|
149
|
+
hasUnpublishOn: !!v2.hasUnpublishOn,
|
|
150
|
+
permissions: v2.permissions ?? []
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
return null;
|
|
154
|
+
}).filter(falsy),
|
|
41
155
|
fieldConfig: v.data.fieldConfig || [],
|
|
42
156
|
editableFieldConfig: v.data.editableFieldConfig || [],
|
|
43
157
|
droppableFieldConfig: v.data.droppableFieldConfig || [],
|
|
@@ -52,6 +166,14 @@ export default defineBlokkliEditAdapter(
|
|
|
52
166
|
)
|
|
53
167
|
};
|
|
54
168
|
});
|
|
169
|
+
const entityConfig = await useGraphqlQuery("pbEntityConfig", {
|
|
170
|
+
entityType: providedContext.value.entityType,
|
|
171
|
+
entityUuid: providedContext.value.entityUuid
|
|
172
|
+
}).then((v) => {
|
|
173
|
+
return {
|
|
174
|
+
linkPath: v.data.config?.linkPath ?? ""
|
|
175
|
+
};
|
|
176
|
+
});
|
|
55
177
|
const loadState = async () => {
|
|
56
178
|
const state = await useGraphqlQuery("pbEditState", {
|
|
57
179
|
...ctx.value
|
|
@@ -75,6 +197,10 @@ export default defineBlokkliEditAdapter(
|
|
|
75
197
|
const fields = state?.mutatedState?.fields || [];
|
|
76
198
|
const violations = state.mutatedState?.violations || [];
|
|
77
199
|
const entity = state.entity;
|
|
200
|
+
if (!state.publishOptions) {
|
|
201
|
+
throw new Error("Missing publish options.");
|
|
202
|
+
}
|
|
203
|
+
const publishOptions = mapPublishOptions(state.publishOptions);
|
|
78
204
|
const mutatedOptions = state.mutatedState?.mutatedOptions || {};
|
|
79
205
|
Object.keys(mutatedOptions).forEach((uuid) => {
|
|
80
206
|
mutatedOptions[uuid] = mutatedOptions[uuid]?.paragraphs_blokkli_data || {};
|
|
@@ -101,6 +227,7 @@ export default defineBlokkliEditAdapter(
|
|
|
101
227
|
return null;
|
|
102
228
|
}).filter(falsy)
|
|
103
229
|
};
|
|
230
|
+
const mutatedHostOptions = state.mutatedState?.hostOptions || {};
|
|
104
231
|
return {
|
|
105
232
|
currentIndex,
|
|
106
233
|
mutations,
|
|
@@ -109,8 +236,11 @@ export default defineBlokkliEditAdapter(
|
|
|
109
236
|
mutatedState: {
|
|
110
237
|
fields,
|
|
111
238
|
violations,
|
|
112
|
-
mutatedOptions
|
|
239
|
+
mutatedOptions,
|
|
240
|
+
// PHP and its arrays...
|
|
241
|
+
mutatedHostOptions: Array.isArray(mutatedHostOptions) ? {} : mutatedHostOptions
|
|
113
242
|
},
|
|
243
|
+
publishOptions,
|
|
114
244
|
entity,
|
|
115
245
|
mutatedEntity: state.mutatedEntity,
|
|
116
246
|
translationState
|
|
@@ -126,7 +256,7 @@ export default defineBlokkliEditAdapter(
|
|
|
126
256
|
}).then(mapMutation);
|
|
127
257
|
const moveBlock = (e) => useGraphqlMutation("pbMoveParagraph", {
|
|
128
258
|
...ctx.value,
|
|
129
|
-
uuid: e.item.uuid,
|
|
259
|
+
uuid: e.item.block.uuid,
|
|
130
260
|
hostType: e.host.type,
|
|
131
261
|
hostUuid: e.host.uuid,
|
|
132
262
|
hostFieldName: e.host.fieldName,
|
|
@@ -162,11 +292,19 @@ export default defineBlokkliEditAdapter(
|
|
|
162
292
|
}
|
|
163
293
|
return Promise.resolve(disabled);
|
|
164
294
|
};
|
|
165
|
-
const mapMutation = (v) =>
|
|
295
|
+
const mapMutation = (v) => {
|
|
296
|
+
const action = v.data?.state?.action;
|
|
297
|
+
return {
|
|
298
|
+
success: !!action?.success,
|
|
299
|
+
state: action?.state,
|
|
300
|
+
errors: (action?.errors ?? []).filter(falsy)
|
|
301
|
+
};
|
|
302
|
+
};
|
|
166
303
|
const route = useRoute();
|
|
167
304
|
const router = useRouter();
|
|
168
305
|
const changeLanguage = (translation) => {
|
|
169
|
-
|
|
306
|
+
const path = translation.url.includes("http") ? new URL(translation.url).pathname : translation.url;
|
|
307
|
+
return router.push({ path, query: route.query });
|
|
170
308
|
};
|
|
171
309
|
const buildEditableFrameUrl = (e) => {
|
|
172
310
|
const url = "/" + [
|
|
@@ -233,9 +371,16 @@ export default defineBlokkliEditAdapter(
|
|
|
233
371
|
const getLastChanged = () => $fetch(
|
|
234
372
|
`/paragraphs_blokkli/${ctx.value.entityType}/${ctx.value.entityUuid}/last_changed`
|
|
235
373
|
).then((v) => v.changed);
|
|
374
|
+
const buildAnchorLink = (id, _uuid) => {
|
|
375
|
+
return `${entityConfig.linkPath}#${id}`;
|
|
376
|
+
};
|
|
236
377
|
const adapter = {
|
|
237
378
|
addNewBlock,
|
|
238
379
|
buildEditableFrameUrl,
|
|
380
|
+
getUserPermissions: function() {
|
|
381
|
+
const permissions = config.userPermissions ? mapUserPermissions(config.userPermissions) : [];
|
|
382
|
+
return Promise.resolve(permissions);
|
|
383
|
+
},
|
|
239
384
|
changeLanguage,
|
|
240
385
|
formFrameBuilder,
|
|
241
386
|
getAllBundles,
|
|
@@ -248,7 +393,8 @@ export default defineBlokkliEditAdapter(
|
|
|
248
393
|
loadStateAtIndex,
|
|
249
394
|
mapState,
|
|
250
395
|
moveBlock,
|
|
251
|
-
moveMultipleBlocks
|
|
396
|
+
moveMultipleBlocks,
|
|
397
|
+
buildAnchorLink
|
|
252
398
|
};
|
|
253
399
|
if (hasQuery("pbPublishOptions")) {
|
|
254
400
|
adapter.getPublishOptions = () => useGraphqlQuery("pbPublishOptions", ctx.value).then((v) => {
|
|
@@ -256,22 +402,28 @@ export default defineBlokkliEditAdapter(
|
|
|
256
402
|
if (!options) {
|
|
257
403
|
throw new Error("Failed to load publish options.");
|
|
258
404
|
}
|
|
259
|
-
return options;
|
|
405
|
+
return mapPublishOptions(options);
|
|
260
406
|
});
|
|
261
407
|
}
|
|
262
408
|
if (hasQuery("pbGetImportSourceEntities")) {
|
|
263
|
-
adapter.getImportItems = (
|
|
409
|
+
adapter.getImportItems = (args) => useGraphqlQuery("pbGetImportSourceEntities", {
|
|
264
410
|
entityType: ctx.value.entityType.toLowerCase(),
|
|
265
411
|
entityUuid: ctx.value.entityUuid,
|
|
266
|
-
|
|
412
|
+
page: args.page,
|
|
413
|
+
filters: configObjectToUserConfigInput(args.filters)
|
|
267
414
|
}).then((data) => {
|
|
268
415
|
return {
|
|
416
|
+
perPage: data.data.pbGetImportSourceEntities?.perPage ?? 16,
|
|
269
417
|
total: data?.data.pbGetImportSourceEntities?.total || 0,
|
|
418
|
+
filters: mapPluginConfigInputs(
|
|
419
|
+
data.data.pbGetImportSourceEntities?.filters ?? []
|
|
420
|
+
),
|
|
270
421
|
items: (data?.data.pbGetImportSourceEntities?.items || []).map((item) => {
|
|
271
422
|
if (item?.uuid) {
|
|
272
423
|
return {
|
|
273
424
|
uuid: item.uuid,
|
|
274
|
-
label: item.label
|
|
425
|
+
label: item.label,
|
|
426
|
+
description: item.description
|
|
275
427
|
};
|
|
276
428
|
}
|
|
277
429
|
}).filter(falsy)
|
|
@@ -286,6 +438,12 @@ export default defineBlokkliEditAdapter(
|
|
|
286
438
|
if (hasMutation("pbTakeOwnership")) {
|
|
287
439
|
adapter.takeOwnership = () => useGraphqlMutation("pbTakeOwnership", ctx.value).then(mapMutation);
|
|
288
440
|
}
|
|
441
|
+
if (hasMutation("pbUpdateHostOptions")) {
|
|
442
|
+
adapter.updateHostOptions = (items) => useGraphqlMutation("pbUpdateHostOptions", {
|
|
443
|
+
...ctx.value,
|
|
444
|
+
items
|
|
445
|
+
}).then(mapMutation);
|
|
446
|
+
}
|
|
289
447
|
if (hasMutation("pbSetHistoryIndex")) {
|
|
290
448
|
adapter.setHistoryIndex = (index) => useGraphqlMutation("pbSetHistoryIndex", {
|
|
291
449
|
...ctx.value,
|
|
@@ -304,7 +462,6 @@ export default defineBlokkliEditAdapter(
|
|
|
304
462
|
entityType: options.hostEntityType.toUpperCase(),
|
|
305
463
|
entityUuid: options.hostEntityUuid,
|
|
306
464
|
createNewState: !options.closeAfterPublish,
|
|
307
|
-
// @ts-expect-error Might not exist.
|
|
308
465
|
publishIfUnpublished: options.publishIfUnpublished,
|
|
309
466
|
revisionLogMessage: options.revisionLogMessage
|
|
310
467
|
}).then(mapMutation);
|
|
@@ -438,19 +595,19 @@ export default defineBlokkliEditAdapter(
|
|
|
438
595
|
...ctx.value,
|
|
439
596
|
blockUuids,
|
|
440
597
|
body
|
|
441
|
-
}).then((v) => mapComments(v.data.
|
|
598
|
+
}).then((v) => mapComments(v.data.action || []));
|
|
442
599
|
}
|
|
443
600
|
if (hasMutation("pbResolveComment")) {
|
|
444
601
|
adapter.resolveComment = (uuid) => useGraphqlMutation("pbResolveComment", {
|
|
445
602
|
...ctx.value,
|
|
446
603
|
uuid
|
|
447
|
-
}).then((v) => mapComments(v.data.
|
|
604
|
+
}).then((v) => mapComments(v.data.action || []));
|
|
448
605
|
}
|
|
449
606
|
if (hasQuery("pbLibraryItems")) {
|
|
450
607
|
adapter.getLibraryItems = (data) => {
|
|
451
608
|
return useGraphqlQuery("pbLibraryItems", {
|
|
452
609
|
bundles: data.bundles,
|
|
453
|
-
|
|
610
|
+
filters: configObjectToUserConfigInput(data.filters),
|
|
454
611
|
page: data.page
|
|
455
612
|
}).then((response) => {
|
|
456
613
|
const items = response.data.result?.items?.map((v) => {
|
|
@@ -471,7 +628,8 @@ export default defineBlokkliEditAdapter(
|
|
|
471
628
|
return {
|
|
472
629
|
items,
|
|
473
630
|
perPage: response.data.result?.perPage || 16,
|
|
474
|
-
total: response.data.result?.total || 0
|
|
631
|
+
total: response.data.result?.total || 0,
|
|
632
|
+
filters: mapPluginConfigInputs(response.data.result?.filters ?? [])
|
|
475
633
|
};
|
|
476
634
|
});
|
|
477
635
|
};
|
|
@@ -487,10 +645,26 @@ export default defineBlokkliEditAdapter(
|
|
|
487
645
|
return {
|
|
488
646
|
id: plugin.id,
|
|
489
647
|
label: plugin.label,
|
|
648
|
+
description: plugin.description,
|
|
490
649
|
bundles: plugin.bundles,
|
|
491
650
|
targetBundles: plugin.targetBundles,
|
|
492
651
|
min: plugin.min,
|
|
493
|
-
max: plugin.max
|
|
652
|
+
max: plugin.max,
|
|
653
|
+
configInputs: mapPluginConfigInputs(plugin.configInputs),
|
|
654
|
+
preview: plugin.allowPreview
|
|
655
|
+
};
|
|
656
|
+
})
|
|
657
|
+
);
|
|
658
|
+
}
|
|
659
|
+
if (hasQuery("pbGetHostTransformPlugins")) {
|
|
660
|
+
adapter.getHostTransformPlugins = () => useGraphqlQuery("pbGetHostTransformPlugins", ctx.value).then((v) => v.data.paragraphsBlokkliGetHostTransformPlugins || []).then(
|
|
661
|
+
(plugins) => plugins.map((plugin) => {
|
|
662
|
+
return {
|
|
663
|
+
id: plugin.id,
|
|
664
|
+
label: plugin.label,
|
|
665
|
+
description: plugin.description,
|
|
666
|
+
configInputs: mapPluginConfigInputs(plugin.configInputs),
|
|
667
|
+
preview: plugin.allowPreview
|
|
494
668
|
};
|
|
495
669
|
})
|
|
496
670
|
);
|
|
@@ -500,6 +674,22 @@ export default defineBlokkliEditAdapter(
|
|
|
500
674
|
...ctx.value,
|
|
501
675
|
...e
|
|
502
676
|
}).then(mapMutation);
|
|
677
|
+
adapter.previewTransformPlugin = (e) => useGraphqlMutation("pbApplyTransformPlugin", {
|
|
678
|
+
...ctx.value,
|
|
679
|
+
...e,
|
|
680
|
+
preview: true
|
|
681
|
+
}).then(mapMutation);
|
|
682
|
+
}
|
|
683
|
+
if (hasMutation("pbApplyHostTransformPlugin")) {
|
|
684
|
+
adapter.applyHostTransformPlugin = (e) => useGraphqlMutation("pbApplyHostTransformPlugin", {
|
|
685
|
+
...ctx.value,
|
|
686
|
+
...e
|
|
687
|
+
}).then(mapMutation);
|
|
688
|
+
adapter.previewHostTransformPlugin = (e) => useGraphqlMutation("pbApplyHostTransformPlugin", {
|
|
689
|
+
...ctx.value,
|
|
690
|
+
...e,
|
|
691
|
+
preview: true
|
|
692
|
+
}).then(mapMutation);
|
|
503
693
|
}
|
|
504
694
|
const buildFormUrl = (parts, langcode) => {
|
|
505
695
|
const prefix = config.urlPrefixes[langcode];
|
|
@@ -527,14 +717,18 @@ export default defineBlokkliEditAdapter(
|
|
|
527
717
|
}).then(mapMutation);
|
|
528
718
|
}
|
|
529
719
|
if (hasMutation("pbAddFragmentParagraph")) {
|
|
530
|
-
adapter.fragmentsAddBlock = (e) =>
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
720
|
+
adapter.fragmentsAddBlock = (e) => {
|
|
721
|
+
const options = e.options ? JSON.stringify(e.options) : void 0;
|
|
722
|
+
return useGraphqlMutation("pbAddFragmentParagraph", {
|
|
723
|
+
...ctx.value,
|
|
724
|
+
hostType: e.host.type,
|
|
725
|
+
hostFieldName: e.host.fieldName,
|
|
726
|
+
hostUuid: e.host.uuid,
|
|
727
|
+
afterUuid: e.preceedingUuid,
|
|
728
|
+
name: e.name,
|
|
729
|
+
options
|
|
730
|
+
}).then(mapMutation);
|
|
731
|
+
};
|
|
538
732
|
}
|
|
539
733
|
if (hasMutation("pbReplaceMedia")) {
|
|
540
734
|
adapter.mediaLibraryReplaceMedia = (e) => useGraphqlMutation("pbReplaceMedia", {
|
|
@@ -561,28 +755,13 @@ export default defineBlokkliEditAdapter(
|
|
|
561
755
|
if (hasQuery("pbMediaLibraryGetResults")) {
|
|
562
756
|
adapter.mediaLibraryGetResults = (e) => {
|
|
563
757
|
return useGraphqlQuery("pbMediaLibraryGetResults", {
|
|
564
|
-
|
|
565
|
-
bundle: e.filters.bundle,
|
|
758
|
+
filters: configObjectToUserConfigInput(e.filters),
|
|
566
759
|
page: e.page
|
|
567
760
|
}).then((data) => {
|
|
568
761
|
return {
|
|
569
|
-
filters: (
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
type: "text",
|
|
573
|
-
placeholder: filter.placeholder,
|
|
574
|
-
label: filter.label
|
|
575
|
-
};
|
|
576
|
-
} else if (filter?.__typename === "ParagraphsBlokkliMediaLibraryFilterSelect") {
|
|
577
|
-
acc[filter.id] = {
|
|
578
|
-
type: "select",
|
|
579
|
-
label: filter.label,
|
|
580
|
-
default: filter.default,
|
|
581
|
-
options: filter.options
|
|
582
|
-
};
|
|
583
|
-
}
|
|
584
|
-
return acc;
|
|
585
|
-
}, {}),
|
|
762
|
+
filters: mapPluginConfigInputs(
|
|
763
|
+
data.data.pbMediaLibraryGetResults?.filters ?? []
|
|
764
|
+
),
|
|
586
765
|
items: (data.data.pbMediaLibraryGetResults?.items || []).filter(
|
|
587
766
|
falsy
|
|
588
767
|
),
|
|
@@ -599,7 +778,7 @@ export default defineBlokkliEditAdapter(
|
|
|
599
778
|
targetId: e.item.mediaId,
|
|
600
779
|
targetBundle: e.item.mediaBundle,
|
|
601
780
|
targetType: "media",
|
|
602
|
-
paragraphBundle: e.
|
|
781
|
+
paragraphBundle: e.targetBundle,
|
|
603
782
|
hostType: e.host.type,
|
|
604
783
|
hostUuid: e.host.uuid,
|
|
605
784
|
hostFieldName: e.host.fieldName,
|
|
@@ -616,7 +795,7 @@ export default defineBlokkliEditAdapter(
|
|
|
616
795
|
targetId: item.mediaId,
|
|
617
796
|
targetType: "media",
|
|
618
797
|
targetBundle: item.mediaBundle,
|
|
619
|
-
paragraphBundle:
|
|
798
|
+
paragraphBundle: e.targetBundle
|
|
620
799
|
};
|
|
621
800
|
}),
|
|
622
801
|
hostType: e.host.type,
|
|
@@ -629,15 +808,20 @@ export default defineBlokkliEditAdapter(
|
|
|
629
808
|
if (hasQuery("pbSearchTabs")) {
|
|
630
809
|
adapter.getContentSearchTabs = () => {
|
|
631
810
|
return useGraphqlQuery("pbSearchTabs").then((v) => {
|
|
632
|
-
return (v.data.tabs
|
|
633
|
-
(
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
811
|
+
return (v.data.tabs ?? []).map((tab) => {
|
|
812
|
+
if (!tab) {
|
|
813
|
+
return null;
|
|
814
|
+
}
|
|
815
|
+
return {
|
|
816
|
+
id: tab.id,
|
|
817
|
+
title: tab.label,
|
|
818
|
+
description: tab.description ?? null,
|
|
819
|
+
types: tab.types.map((t) => ({
|
|
820
|
+
type: t.entityType,
|
|
821
|
+
bundles: t.bundles
|
|
822
|
+
}))
|
|
823
|
+
};
|
|
824
|
+
}).filter(falsy);
|
|
641
825
|
});
|
|
642
826
|
};
|
|
643
827
|
}
|
|
@@ -664,7 +848,7 @@ export default defineBlokkliEditAdapter(
|
|
|
664
848
|
}).then(mapMutation);
|
|
665
849
|
};
|
|
666
850
|
}
|
|
667
|
-
if (availableFeatureIds.has("
|
|
851
|
+
if (availableFeatureIds.has("clipboard")) {
|
|
668
852
|
adapter.clipboardMapBundle = (e) => {
|
|
669
853
|
if (e.type === "video") {
|
|
670
854
|
return config.clipboard.find((v) => {
|
|
@@ -681,19 +865,19 @@ export default defineBlokkliEditAdapter(
|
|
|
681
865
|
}
|
|
682
866
|
}
|
|
683
867
|
return false;
|
|
684
|
-
})?.possibleParagraphBundles
|
|
868
|
+
})?.possibleParagraphBundles;
|
|
685
869
|
} else if (e.type === "plaintext") {
|
|
686
870
|
return config.clipboard.find((v) => {
|
|
687
871
|
return v?.__typename === "ParagraphsBlokkliSupportedClipboardRichText";
|
|
688
|
-
})?.possibleParagraphBundles
|
|
872
|
+
})?.possibleParagraphBundles;
|
|
689
873
|
} else if (e.type === "image") {
|
|
690
874
|
return config.clipboard.find((v) => {
|
|
691
875
|
return v?.__typename === "ParagraphsBlokkliSupportedClipboardImage";
|
|
692
|
-
})?.possibleParagraphBundles
|
|
876
|
+
})?.possibleParagraphBundles;
|
|
693
877
|
} else if (e.type === "file") {
|
|
694
878
|
return config.clipboard.find((v) => {
|
|
695
879
|
return v?.__typename === "ParagraphsBlokkliSupportedClipboardFile";
|
|
696
|
-
})?.possibleParagraphBundles
|
|
880
|
+
})?.possibleParagraphBundles;
|
|
697
881
|
}
|
|
698
882
|
};
|
|
699
883
|
}
|
|
@@ -715,7 +899,8 @@ export default defineBlokkliEditAdapter(
|
|
|
715
899
|
hostType: e.host.type,
|
|
716
900
|
hostUuid: e.host.uuid,
|
|
717
901
|
hostFieldName: e.host.fieldName,
|
|
718
|
-
afterUuid: e.afterUuid
|
|
902
|
+
afterUuid: e.afterUuid,
|
|
903
|
+
paragraphBundle: e.blockBundle
|
|
719
904
|
}).then(mapMutation);
|
|
720
905
|
} else if (e.item.type === "file" && hasMutation("pbAddFile")) {
|
|
721
906
|
return useGraphqlMutation("pbAddFile", {
|
|
@@ -725,7 +910,8 @@ export default defineBlokkliEditAdapter(
|
|
|
725
910
|
hostType: e.host.type,
|
|
726
911
|
hostUuid: e.host.uuid,
|
|
727
912
|
hostFieldName: e.host.fieldName,
|
|
728
|
-
afterUuid: e.afterUuid
|
|
913
|
+
afterUuid: e.afterUuid,
|
|
914
|
+
paragraphBundle: e.blockBundle
|
|
729
915
|
}).then(mapMutation);
|
|
730
916
|
} else if (e.item.type === "video" && hasMutation("pbAddVideoRemote")) {
|
|
731
917
|
return useGraphqlMutation("pbAddVideoRemote", {
|
|
@@ -734,7 +920,8 @@ export default defineBlokkliEditAdapter(
|
|
|
734
920
|
hostType: e.host.type,
|
|
735
921
|
hostUuid: e.host.uuid,
|
|
736
922
|
hostFieldName: e.host.fieldName,
|
|
737
|
-
afterUuid: e.afterUuid
|
|
923
|
+
afterUuid: e.afterUuid,
|
|
924
|
+
paragraphBundle: e.blockBundle
|
|
738
925
|
}).then(mapMutation);
|
|
739
926
|
}
|
|
740
927
|
};
|
|
@@ -755,11 +942,266 @@ export default defineBlokkliEditAdapter(
|
|
|
755
942
|
return null;
|
|
756
943
|
}).filter(falsy),
|
|
757
944
|
total: data.data.pbSearchEditStates?.total || 0,
|
|
758
|
-
perPage: data.data.pbSearchEditStates?.perPage || 0
|
|
945
|
+
perPage: data.data.pbSearchEditStates?.perPage || 0,
|
|
946
|
+
filters: mapPluginConfigInputs(
|
|
947
|
+
data.data.pbSearchEditStates?.filters ?? []
|
|
948
|
+
)
|
|
949
|
+
};
|
|
950
|
+
});
|
|
951
|
+
};
|
|
952
|
+
}
|
|
953
|
+
if (hasQuery("pbSearchTemplates")) {
|
|
954
|
+
adapter.templatesSearch = (e) => {
|
|
955
|
+
return useGraphqlQuery("pbSearchTemplates", {
|
|
956
|
+
filters: configObjectToUserConfigInput(e.filters),
|
|
957
|
+
page: e.page,
|
|
958
|
+
includeItems: e.includeItems
|
|
959
|
+
}).then((data) => {
|
|
960
|
+
return {
|
|
961
|
+
filters: mapPluginConfigInputs(data.data.results?.filters ?? []),
|
|
962
|
+
items: (data.data.results?.items || []).filter(falsy).map((v) => {
|
|
963
|
+
const permissions = [];
|
|
964
|
+
if (v.blokkliMetadata.canDelete) {
|
|
965
|
+
permissions.push("delete");
|
|
966
|
+
}
|
|
967
|
+
if (v.blokkliMetadata.canEdit) {
|
|
968
|
+
permissions.push("edit");
|
|
969
|
+
}
|
|
970
|
+
return {
|
|
971
|
+
uuid: v.uuid,
|
|
972
|
+
label: v.label ?? "",
|
|
973
|
+
description: v.description,
|
|
974
|
+
isDefault: !!v.isDefault,
|
|
975
|
+
itemBundles: v.templateBundles,
|
|
976
|
+
items: (v.items ?? []).filter(falsy),
|
|
977
|
+
permissions,
|
|
978
|
+
translationLanguages: v.translationLanguages,
|
|
979
|
+
metadata: {
|
|
980
|
+
description: v.description ?? null,
|
|
981
|
+
createdBy: v.blokkliMetadata.createdBy ?? null,
|
|
982
|
+
dateUpdated: v.blokkliMetadata.dateUpdated ?? null,
|
|
983
|
+
dateCreated: v.blokkliMetadata.dateCreated ?? null
|
|
984
|
+
}
|
|
985
|
+
};
|
|
986
|
+
}),
|
|
987
|
+
total: data.data.results?.total || 0,
|
|
988
|
+
perPage: data.data.results?.perPage || 50
|
|
989
|
+
};
|
|
990
|
+
});
|
|
991
|
+
};
|
|
992
|
+
}
|
|
993
|
+
if (hasMutation("pbAddTemplate")) {
|
|
994
|
+
adapter.templatesAdd = (e) => {
|
|
995
|
+
return useGraphqlMutation("pbAddTemplate", {
|
|
996
|
+
...ctx.value,
|
|
997
|
+
templateUuid: e.templateUuid,
|
|
998
|
+
hostType: e.host.type,
|
|
999
|
+
hostUuid: e.host.uuid,
|
|
1000
|
+
hostFieldName: e.host.fieldName,
|
|
1001
|
+
afterUuid: e.afterUuid
|
|
1002
|
+
}).then(mapMutation);
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
if (hasMutation("pbTemplateDelete")) {
|
|
1006
|
+
adapter.templatesDelete = (e) => {
|
|
1007
|
+
return useGraphqlMutation("pbTemplateDelete", {
|
|
1008
|
+
uuid: e.templateUuid
|
|
1009
|
+
}).then((v) => {
|
|
1010
|
+
return {
|
|
1011
|
+
success: !!v.data.action.success,
|
|
1012
|
+
state: v.data.action.state,
|
|
1013
|
+
errors: (v.data.action.errors ?? []).filter(falsy)
|
|
759
1014
|
};
|
|
760
1015
|
});
|
|
761
1016
|
};
|
|
762
1017
|
}
|
|
1018
|
+
if (hasMutation("pbCreateTemplate")) {
|
|
1019
|
+
adapter.templatesCreate = (e) => {
|
|
1020
|
+
return useGraphqlMutation("pbCreateTemplate", {
|
|
1021
|
+
...ctx.value,
|
|
1022
|
+
label: e.label,
|
|
1023
|
+
description: e.description,
|
|
1024
|
+
isDefault: e.isDefault,
|
|
1025
|
+
uuids: e.uuids
|
|
1026
|
+
}).then(mapMutation);
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
if (hasQuery("pbGetTemplateEntity") && templateEditRouteName) {
|
|
1030
|
+
try {
|
|
1031
|
+
const href = router.resolve({
|
|
1032
|
+
name: templateEditRouteName,
|
|
1033
|
+
params: {
|
|
1034
|
+
uuid: "UUID_PLACEHOLDER"
|
|
1035
|
+
}
|
|
1036
|
+
}).path;
|
|
1037
|
+
adapter.templatesGetEditUrl = (e) => {
|
|
1038
|
+
return href.replace("UUID_PLACEHOLDER", e.templateUuid) + "?blokkliEditing=" + e.templateUuid;
|
|
1039
|
+
};
|
|
1040
|
+
} catch {
|
|
1041
|
+
console.error(
|
|
1042
|
+
`The provided templateEditRouteName "${templateEditRouteName}" is not valid. Editing templates will not be possible.`
|
|
1043
|
+
);
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
if (hasMutation("pbUnschedule")) {
|
|
1047
|
+
adapter.unscheduleEditState = (options) => useGraphqlMutation("pbUnschedule", {
|
|
1048
|
+
entityType: options.hostEntityType.toUpperCase(),
|
|
1049
|
+
entityUuid: options.hostEntityUuid
|
|
1050
|
+
}).then(mapMutation);
|
|
1051
|
+
}
|
|
1052
|
+
if (hasMutation("pbSchedule")) {
|
|
1053
|
+
adapter.scheduleEditState = (options) => useGraphqlMutation("pbSchedule", {
|
|
1054
|
+
entityType: options.hostEntityType.toUpperCase(),
|
|
1055
|
+
entityUuid: options.hostEntityUuid,
|
|
1056
|
+
date: options.date,
|
|
1057
|
+
revisionLogMessage: options.revisionLogMessage
|
|
1058
|
+
}).then(mapMutation);
|
|
1059
|
+
}
|
|
1060
|
+
if (hasMutation("pbSetParagraphSchedule")) {
|
|
1061
|
+
adapter.setBlockScheduleDate = (blocks) => useGraphqlMutation("pbSetParagraphSchedule", {
|
|
1062
|
+
entityType: ctx.value.entityType,
|
|
1063
|
+
entityUuid: ctx.value.entityUuid,
|
|
1064
|
+
langcode: ctx.value.langcode,
|
|
1065
|
+
items: blocks
|
|
1066
|
+
}).then(mapMutation);
|
|
1067
|
+
}
|
|
1068
|
+
if (hasMutation("pbSwapParagraphs")) {
|
|
1069
|
+
adapter.swapBlocks = (uuid1, uuid2) => useGraphqlMutation("pbSwapParagraphs", {
|
|
1070
|
+
entityType: ctx.value.entityType,
|
|
1071
|
+
entityUuid: ctx.value.entityUuid,
|
|
1072
|
+
langcode: ctx.value.langcode,
|
|
1073
|
+
uuid1,
|
|
1074
|
+
uuid2
|
|
1075
|
+
}).then(mapMutation);
|
|
1076
|
+
}
|
|
1077
|
+
if (hasMutation("pbReplaceEntityReference")) {
|
|
1078
|
+
adapter.replaceContentSearchItem = (data) => useGraphqlMutation("pbReplaceEntityReference", {
|
|
1079
|
+
entityType: ctx.value.entityType,
|
|
1080
|
+
entityUuid: ctx.value.entityUuid,
|
|
1081
|
+
langcode: ctx.value.langcode,
|
|
1082
|
+
targetType: data.item.entityType,
|
|
1083
|
+
targetBundle: data.item.entityBundle,
|
|
1084
|
+
targetId: data.item.id,
|
|
1085
|
+
uuid: data.host.uuid
|
|
1086
|
+
}).then(mapMutation);
|
|
1087
|
+
}
|
|
1088
|
+
if (hasMutation("pbAddMultipleParagraphs")) {
|
|
1089
|
+
const mapBlockToGraphQL = (block) => {
|
|
1090
|
+
const values = {};
|
|
1091
|
+
for (const entry of block.values ?? []) {
|
|
1092
|
+
const droppableConfig = config.droppableFieldConfig.find(
|
|
1093
|
+
(f) => f.entityBundle === block.bundle && f.name === entry.fieldName
|
|
1094
|
+
);
|
|
1095
|
+
if (droppableConfig) {
|
|
1096
|
+
if (droppableConfig.type === "reference") {
|
|
1097
|
+
if (typeof entry.fieldValue !== "string") {
|
|
1098
|
+
values[entry.fieldName] = {
|
|
1099
|
+
target_id: entry.fieldValue.entityId
|
|
1100
|
+
};
|
|
1101
|
+
}
|
|
1102
|
+
} else if (droppableConfig.type === "link") {
|
|
1103
|
+
if (typeof entry.fieldValue === "string") {
|
|
1104
|
+
values[entry.fieldName] = entry.fieldValue;
|
|
1105
|
+
} else {
|
|
1106
|
+
values[entry.fieldName] = `entity:${entry.fieldValue.entityType}/${entry.fieldValue.entityId}`;
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
} else if (typeof entry.fieldValue === "string") {
|
|
1110
|
+
values[entry.fieldName] = entry.fieldValue;
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
return {
|
|
1114
|
+
bundle: block.bundle,
|
|
1115
|
+
uuid: block.blockUuid,
|
|
1116
|
+
values,
|
|
1117
|
+
options: block.options,
|
|
1118
|
+
children: block.children ? Object.entries(block.children).map(
|
|
1119
|
+
([fieldName, childBlocks]) => ({
|
|
1120
|
+
fieldName,
|
|
1121
|
+
items: childBlocks.map(mapBlockToGraphQL)
|
|
1122
|
+
})
|
|
1123
|
+
) : void 0
|
|
1124
|
+
};
|
|
1125
|
+
};
|
|
1126
|
+
adapter.addNewBlocks = (data) => useGraphqlMutation("pbAddMultipleParagraphs", {
|
|
1127
|
+
entityType: ctx.value.entityType,
|
|
1128
|
+
entityUuid: ctx.value.entityUuid,
|
|
1129
|
+
langcode: ctx.value.langcode,
|
|
1130
|
+
hostType: data.host.type,
|
|
1131
|
+
hostUuid: data.host.uuid,
|
|
1132
|
+
hostFieldName: data.host.fieldName,
|
|
1133
|
+
afterUuid: data.afterUuid,
|
|
1134
|
+
items: data.blocks.map(mapBlockToGraphQL)
|
|
1135
|
+
}).then(mapMutation);
|
|
1136
|
+
}
|
|
1137
|
+
if (hasMutation("paragraphsBlokkliAgentToken")) {
|
|
1138
|
+
adapter.getAgentAuthToken = function() {
|
|
1139
|
+
return useGraphqlMutation("paragraphsBlokkliAgentToken").then(
|
|
1140
|
+
(v) => v.data.token ?? null
|
|
1141
|
+
);
|
|
1142
|
+
};
|
|
1143
|
+
}
|
|
1144
|
+
if (hasMutation("pbAgentConversationUpsert") && hasMutation("pbAgentConversationDelete") && hasQuery("pbAgentConversations") && hasQuery("pbAgentConversation")) {
|
|
1145
|
+
const hostParams = () => ({
|
|
1146
|
+
hostEntityType: providedContext.value.entityType,
|
|
1147
|
+
hostEntityUuid: providedContext.value.entityUuid
|
|
1148
|
+
});
|
|
1149
|
+
adapter.agentConversations = {
|
|
1150
|
+
upsert: (data) => useGraphqlMutation("pbAgentConversationUpsert", {
|
|
1151
|
+
...hostParams(),
|
|
1152
|
+
uuid: data.uuid,
|
|
1153
|
+
title: data.title,
|
|
1154
|
+
dataUser: data.clientState,
|
|
1155
|
+
dataServer: data.serverState,
|
|
1156
|
+
hash: data.hash
|
|
1157
|
+
}).then((v) => v.data.result.success),
|
|
1158
|
+
load: (uuid) => useGraphqlQuery("pbAgentConversation", {
|
|
1159
|
+
...hostParams(),
|
|
1160
|
+
uuid
|
|
1161
|
+
}).then((v) => v.data.conversation ?? null),
|
|
1162
|
+
loadLatest: () => useGraphqlQuery("pbAgentConversation", hostParams()).then(
|
|
1163
|
+
(v) => v.data.conversation ?? null
|
|
1164
|
+
),
|
|
1165
|
+
list: () => useGraphqlQuery("pbAgentConversations", hostParams()).then(
|
|
1166
|
+
(v) => v.data.conversations
|
|
1167
|
+
),
|
|
1168
|
+
delete: (uuid) => useGraphqlMutation("pbAgentConversationDelete", { uuid }).then(
|
|
1169
|
+
(v) => v.data.result.success
|
|
1170
|
+
)
|
|
1171
|
+
};
|
|
1172
|
+
}
|
|
1173
|
+
if (hasMutation("pbBulkUpdateFieldValues")) {
|
|
1174
|
+
adapter.updateFieldValueBatched = (data) => {
|
|
1175
|
+
const entityItems = data.entityItems.map((item) => {
|
|
1176
|
+
return {
|
|
1177
|
+
name: item.fieldName,
|
|
1178
|
+
value: item.fieldValue
|
|
1179
|
+
};
|
|
1180
|
+
});
|
|
1181
|
+
const blockItems = data.items.map((item) => {
|
|
1182
|
+
return {
|
|
1183
|
+
uuid: item.uuid,
|
|
1184
|
+
name: item.fieldName,
|
|
1185
|
+
value: item.fieldValue
|
|
1186
|
+
};
|
|
1187
|
+
});
|
|
1188
|
+
return useGraphqlMutation("pbBulkUpdateFieldValues", {
|
|
1189
|
+
...ctx.value,
|
|
1190
|
+
items: [...entityItems, ...blockItems]
|
|
1191
|
+
}).then(mapMutation);
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
if (hasMutation("pbRearrangeParagraphs")) {
|
|
1195
|
+
adapter.rearrangeBlocks = (data) => {
|
|
1196
|
+
return useGraphqlMutation("pbRearrangeParagraphs", {
|
|
1197
|
+
...ctx.value,
|
|
1198
|
+
hostType: data.host.type,
|
|
1199
|
+
hostFieldName: data.host.fieldName,
|
|
1200
|
+
hostUuid: data.host.uuid,
|
|
1201
|
+
uuids: data.uuids
|
|
1202
|
+
}).then(mapMutation);
|
|
1203
|
+
};
|
|
1204
|
+
}
|
|
763
1205
|
return adapter;
|
|
764
1206
|
}
|
|
765
1207
|
);
|