@blokkli/editor 2.0.0-alpha.31 → 2.0.0-alpha.33
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/global/constants/index.d.ts +1 -0
- package/dist/global/constants/index.js +1 -0
- package/dist/global/types/blockOptions.d.ts +16 -0
- package/dist/global/types/features.d.ts +4 -0
- package/dist/module.d.mts +1 -24
- package/dist/module.json +1 -1
- package/dist/module.mjs +453 -10828
- package/dist/modules/agent/index.d.mts +64 -0
- package/dist/modules/agent/index.mjs +407 -0
- package/dist/modules/agent/runtime/app/composables/agentProvider.d.ts +55 -0
- package/dist/modules/agent/runtime/app/composables/agentProvider.js +875 -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 +65 -0
- package/dist/modules/agent/runtime/app/composables/defineBlokkliAgentTool.js +6 -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/index.d.vue.ts +12 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/index.vue +62 -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 +72 -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 +13 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.vue +37 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.vue.d.ts +13 -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 +29 -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 +12 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/index.vue +30 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/index.vue.d.ts +12 -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 +13 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/index.vue +46 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/index.vue.d.ts +13 -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 +160 -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/Input/Actions/DropdownItem/index.d.vue.ts +12 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/DropdownItem/index.vue +15 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/DropdownItem/index.vue.d.ts +12 -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 +23 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +109 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue.d.ts +23 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.d.vue.ts +45 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue +120 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue.d.ts +45 -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 +58 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +274 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue.d.ts +58 -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 +162 -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 +58 -0
- package/dist/modules/agent/runtime/app/features/agent/types.js +0 -0
- package/dist/modules/agent/runtime/app/helpers/index.d.ts +55 -0
- package/dist/modules/agent/runtime/app/helpers/index.js +88 -0
- package/dist/modules/agent/runtime/app/helpers/pageStructure.d.ts +5 -0
- package/dist/modules/agent/runtime/app/helpers/pageStructure.js +106 -0
- package/dist/modules/agent/runtime/app/helpers/validation.d.ts +35 -0
- package/dist/modules/agent/runtime/app/helpers/validation.js +77 -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 +69 -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 +83 -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 +62 -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 +289 -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 +76 -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 +58 -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 +113 -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 +17 -0
- package/dist/modules/agent/runtime/app/tools/ask_question/index.js +54 -0
- package/dist/modules/agent/runtime/app/tools/batch_rewrite_text/Component.d.vue.ts +29 -0
- package/dist/modules/agent/runtime/app/tools/batch_rewrite_text/Component.vue +190 -0
- package/dist/modules/agent/runtime/app/tools/batch_rewrite_text/Component.vue.d.ts +29 -0
- package/dist/modules/agent/runtime/app/tools/batch_rewrite_text/Item.d.vue.ts +20 -0
- package/dist/modules/agent/runtime/app/tools/batch_rewrite_text/Item.vue +90 -0
- package/dist/modules/agent/runtime/app/tools/batch_rewrite_text/Item.vue.d.ts +20 -0
- package/dist/modules/agent/runtime/app/tools/batch_rewrite_text/index.d.ts +18 -0
- package/dist/modules/agent/runtime/app/tools/batch_rewrite_text/index.js +55 -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 +47 -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 +47 -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 +144 -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 +93 -0
- package/dist/modules/agent/runtime/app/tools/get_available_bundles/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_available_bundles/index.js +104 -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 +108 -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 +192 -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 +113 -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 +275 -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 +63 -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 +180 -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/move_paragraphs/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.js +69 -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 +95 -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 +80 -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 +85 -0
- package/dist/modules/agent/runtime/app/tools/schemas.d.ts +128 -0
- package/dist/modules/agent/runtime/app/tools/schemas.js +242 -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 +65 -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 +109 -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 +74 -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 +51 -0
- package/dist/modules/agent/runtime/app/types/index.d.ts +440 -0
- package/dist/modules/agent/runtime/app/types/index.js +51 -0
- package/dist/modules/agent/runtime/server/Session.d.ts +94 -0
- package/dist/modules/agent/runtime/server/Session.js +734 -0
- package/dist/modules/agent/runtime/server/SessionManager.d.ts +21 -0
- package/dist/modules/agent/runtime/server/SessionManager.js +80 -0
- package/dist/modules/agent/runtime/server/agent.d.ts +2 -0
- package/dist/modules/agent/runtime/server/agent.js +148 -0
- package/dist/modules/agent/runtime/server/agentPrompt.d.ts +22 -0
- package/dist/modules/agent/runtime/server/agentPrompt.js +53 -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/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 +14 -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 +22 -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 +14 -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 +60 -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 +352 -0
- package/dist/modules/agent/runtime/server/providers/anthropic.d.ts +12 -0
- package/dist/modules/agent/runtime/server/providers/anthropic.js +128 -0
- package/dist/modules/agent/runtime/server/providers/openai.d.ts +12 -0
- package/dist/modules/agent/runtime/server/providers/openai.js +165 -0
- package/dist/modules/agent/runtime/server/providers/types.d.ts +74 -0
- package/dist/modules/agent/runtime/server/providers/types.js +0 -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 +79 -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 +86 -0
- package/dist/modules/agent/runtime/server/server-tools/index.js +30 -0
- package/dist/modules/agent/runtime/server/server-tools/load_skill/index.d.ts +7 -0
- package/dist/modules/agent/runtime/server/server-tools/load_skill/index.js +58 -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 +43 -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 +45 -0
- package/dist/modules/agent/runtime/server/skills/types.js +0 -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/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 +426 -0
- package/dist/modules/agent/runtime/shared/types.js +147 -0
- package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +27 -2
- package/dist/modules/drupal/graphql/features/agent.graphql +69 -0
- package/dist/modules/drupal/graphql/features/search.graphql +5 -0
- package/dist/modules/drupal/graphql/features/templates.graphql +36 -2
- package/dist/modules/drupal/graphql/mutations/add_multiple.graphql +25 -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/swap.graphql +16 -0
- package/dist/modules/drupal/index.d.mts +18 -2
- package/dist/modules/drupal/index.mjs +60 -12
- package/dist/modules/drupal/runtime/adapter/index.js +246 -21
- 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/runtime/components/Blocks/Fragment/index.vue +11 -2
- package/dist/runtime/components/BlokkliItem.vue +3 -1
- package/dist/runtime/composables/defineBlokkli.js +1 -3
- package/dist/runtime/composables/defineBlokkliFeature.d.ts +5 -3
- package/dist/runtime/composables/defineBlokkliFeature.js +2 -1
- package/dist/runtime/composables/defineBlokkliProvider.js +1 -3
- package/dist/runtime/editor/adapter/index.d.ts +45 -4
- package/dist/runtime/editor/adapter/index.js +3 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown.vue +6 -1
- package/dist/runtime/editor/components/Actions/index.vue +4 -1
- package/dist/runtime/editor/components/AddListItem/index.d.vue.ts +9 -1
- package/dist/runtime/editor/components/AddListItem/index.vue +36 -2
- package/dist/runtime/editor/components/AddListItem/index.vue.d.ts +9 -1
- package/dist/runtime/editor/components/AnimationCanvas/index.vue +17 -7
- package/dist/runtime/editor/components/ArtboardTooltip/index.d.vue.ts +3 -1
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue +4 -3
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue.d.ts +3 -1
- 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/BlockPreviewItem/index.d.vue.ts +5 -1
- package/dist/runtime/editor/components/BlockPreviewItem/index.vue +10 -7
- package/dist/runtime/editor/components/BlockPreviewItem/index.vue.d.ts +5 -1
- package/dist/runtime/editor/components/DiffViewer/DiffValue.d.vue.ts +7 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue +21 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue.d.ts +7 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue +4 -9
- package/dist/runtime/editor/components/EditProvider.vue +25 -4
- package/dist/runtime/editor/components/FeaturesRenderer/index.vue +26 -8
- package/dist/runtime/editor/components/FlexTextarea/index.d.vue.ts +31 -0
- package/dist/runtime/editor/components/FlexTextarea/index.vue +179 -0
- package/dist/runtime/editor/components/FlexTextarea/index.vue.d.ts +31 -0
- package/dist/runtime/editor/components/Form/Text/index.vue +23 -11
- package/dist/runtime/editor/components/Form/Toggle/index.d.vue.ts +1 -0
- package/dist/runtime/editor/components/Form/Toggle/index.vue +7 -3
- package/dist/runtime/editor/components/Form/Toggle/index.vue.d.ts +1 -0
- package/dist/runtime/editor/components/Icon/index.vue +3 -1
- package/dist/runtime/editor/components/Indicators/index.vue +20 -10
- package/dist/runtime/editor/components/ItemIcon/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/ItemIcon/index.vue +3 -2
- package/dist/runtime/editor/components/ItemIcon/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/ItemIconBox/index.vue +4 -1
- package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +3 -1
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +150 -71
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +3 -1
- package/dist/runtime/editor/components/PluginConfigForm/index.vue +6 -2
- package/dist/runtime/editor/components/RelativeTime/index.d.vue.ts +3 -2
- package/dist/runtime/editor/components/RelativeTime/index.vue +21 -7
- package/dist/runtime/editor/components/RelativeTime/index.vue.d.ts +3 -2
- 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.vue +5 -1
- package/dist/runtime/editor/components/Transition/Height.vue +3 -2
- package/dist/runtime/editor/components/Transition/index.d.vue.ts +1 -1
- package/dist/runtime/editor/components/Transition/index.vue +2 -1
- package/dist/runtime/editor/components/Transition/index.vue.d.ts +1 -1
- package/dist/runtime/editor/components/index.d.ts +10 -6
- package/dist/runtime/editor/components/index.js +19 -11
- package/dist/runtime/editor/composables/index.d.ts +2 -0
- package/dist/runtime/editor/composables/index.js +2 -0
- package/dist/runtime/editor/composables/onElementResize.d.ts +3 -0
- package/dist/runtime/editor/composables/onElementResize.js +37 -0
- package/dist/runtime/editor/composables/useEditableFieldOverride.d.ts +24 -0
- package/dist/runtime/editor/composables/useEditableFieldOverride.js +130 -0
- package/dist/runtime/editor/composables/useStickyToolbar.d.ts +4 -3
- package/dist/runtime/editor/composables/useStickyToolbar.js +26 -10
- package/dist/runtime/editor/css/output.css +1 -1
- package/dist/runtime/editor/events/index.d.ts +31 -0
- package/dist/runtime/editor/features/add-list/Actions/Action.d.vue.ts +8 -1
- package/dist/runtime/editor/features/add-list/Actions/Action.vue +7 -1
- package/dist/runtime/editor/features/add-list/Actions/Action.vue.d.ts +8 -1
- package/dist/runtime/editor/features/add-list/Actions/index.d.vue.ts +11 -1
- package/dist/runtime/editor/features/add-list/Actions/index.vue +30 -10
- package/dist/runtime/editor/features/add-list/Actions/index.vue.d.ts +11 -1
- package/dist/runtime/editor/features/add-list/Blocks/index.d.vue.ts +11 -2
- package/dist/runtime/editor/features/add-list/Blocks/index.vue +27 -1
- package/dist/runtime/editor/features/add-list/Blocks/index.vue.d.ts +11 -2
- package/dist/runtime/editor/features/add-list/Help/Item.d.vue.ts +12 -0
- package/dist/runtime/editor/features/add-list/Help/Item.vue +186 -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 +2 -2
- package/dist/runtime/editor/features/add-list/index.vue +108 -9
- package/dist/runtime/editor/features/add-list/types.d.ts +5 -0
- package/dist/runtime/editor/features/analyze/Main.vue +4 -1
- package/dist/runtime/editor/features/analyze/Summary/Chart.vue +9 -9
- package/dist/runtime/editor/features/analyze/index.vue +2 -14
- package/dist/runtime/editor/features/analyze/types.d.ts +4 -1
- package/dist/runtime/editor/features/artboard/Renderer.vue +43 -0
- package/dist/runtime/editor/features/assistant/docs.md +5 -5
- package/dist/runtime/editor/features/breadcrumbs/index.vue +4 -1
- package/dist/runtime/editor/features/clipboard/index.vue +6 -2
- package/dist/runtime/editor/features/comments/index.vue +1 -0
- package/dist/runtime/editor/features/comments/types.d.ts +6 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.d.vue.ts +1 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue +6 -31
- package/dist/runtime/editor/features/dragging-overlay/DragItems/DragItem.vue.d.ts +1 -0
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.d.vue.ts +2 -1
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +42 -18
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue.d.ts +2 -1
- package/dist/runtime/editor/features/dragging-overlay/Renderer/fragment.glsl +77 -2
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.d.vue.ts +1 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +143 -52
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue.d.ts +1 -0
- package/dist/runtime/editor/features/dragging-overlay/Renderer/vertex.glsl +84 -31
- package/dist/runtime/editor/features/dragging-overlay/index.vue +3 -2
- package/dist/runtime/editor/features/edit/index.vue +7 -1
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue +13 -23
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue +10 -102
- package/dist/runtime/editor/features/editable-field/types.d.ts +12 -2
- package/dist/runtime/editor/features/entity-title/index.vue +7 -7
- package/dist/runtime/editor/features/fragments/index.vue +1 -1
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue +8 -13
- package/dist/runtime/editor/features/library/ReusableDialog/index.vue +6 -1
- package/dist/runtime/editor/features/library/index.vue +14 -5
- package/dist/runtime/editor/features/library/types.d.ts +6 -0
- package/dist/runtime/editor/features/media-library/Library/Item.d.vue.ts +2 -2
- package/dist/runtime/editor/features/media-library/Library/Item.vue +17 -1
- package/dist/runtime/editor/features/media-library/Library/Item.vue.d.ts +2 -2
- package/dist/runtime/editor/features/media-library/Library/index.vue +6 -1
- package/dist/runtime/editor/features/media-library/index.vue +4 -4
- package/dist/runtime/editor/features/options/Form/index.vue +11 -43
- package/dist/runtime/editor/features/ownership/Banner/index.d.vue.ts +6 -3
- package/dist/runtime/editor/features/ownership/Banner/index.vue +10 -1
- package/dist/runtime/editor/features/ownership/Banner/index.vue.d.ts +6 -3
- package/dist/runtime/editor/features/ownership/index.vue +18 -6
- package/dist/runtime/editor/features/ownership/types.d.ts +5 -0
- package/dist/runtime/editor/features/publish/index.vue +5 -1
- package/dist/runtime/editor/features/search/Overlay/index.vue +5 -2
- package/dist/runtime/editor/features/search/index.vue +64 -3
- package/dist/runtime/editor/features/search/types.d.ts +16 -1
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +1 -3
- package/dist/runtime/editor/features/selection/AddButtons/index.vue +24 -4
- package/dist/runtime/editor/features/selection/Renderer/index.vue +5 -1
- package/dist/runtime/editor/features/selection/index.vue +5 -1
- package/dist/runtime/editor/features/settings/Dialog/index.vue +3 -1
- package/dist/runtime/editor/features/settings/index.vue +4 -1
- package/dist/runtime/editor/features/templates/CreateDialog/index.vue +21 -2
- package/dist/runtime/editor/features/templates/Dialog/Item/index.d.vue.ts +1 -1
- package/dist/runtime/editor/features/templates/Dialog/Item/index.vue +3 -3
- package/dist/runtime/editor/features/templates/Dialog/Item/index.vue.d.ts +1 -1
- package/dist/runtime/editor/features/templates/Dialog/index.vue +21 -5
- 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.vue +30 -107
- package/dist/runtime/editor/features/templates/index.vue +7 -5
- package/dist/runtime/editor/features/templates/types.d.ts +11 -2
- package/dist/runtime/editor/features/transform/Dialog/index.vue +6 -1
- package/dist/runtime/editor/features/transform/index.vue +25 -20
- package/dist/runtime/editor/features/transform/types.d.ts +6 -4
- package/dist/runtime/editor/features/validations/index.vue +6 -1
- 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/options/index.d.ts +20 -0
- package/dist/runtime/editor/helpers/options/index.js +60 -0
- package/dist/runtime/editor/helpers/webgl/index.d.ts +5 -1
- package/dist/runtime/editor/helpers/webgl/index.js +45 -13
- package/dist/runtime/editor/icons/svg/stars.svg +1 -0
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.d.vue.ts +1 -1
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue +13 -10
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue.d.ts +1 -1
- package/dist/runtime/editor/plugins/Sidebar/index.d.vue.ts +3 -1
- package/dist/runtime/editor/plugins/Sidebar/index.vue +14 -2
- package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +3 -1
- package/dist/runtime/editor/providers/adapters.d.ts +33 -0
- package/dist/runtime/editor/providers/adapters.js +88 -0
- package/dist/runtime/editor/providers/animation.js +3 -0
- package/dist/runtime/editor/providers/definition.d.ts +8 -1
- package/dist/runtime/editor/providers/definition.js +7 -3
- package/dist/runtime/editor/providers/dom.d.ts +7 -0
- package/dist/runtime/editor/providers/dom.js +12 -0
- package/dist/runtime/editor/providers/permissions.d.ts +6 -0
- package/dist/runtime/editor/providers/permissions.js +9 -0
- package/dist/runtime/editor/providers/plugin.d.ts +1 -0
- package/dist/runtime/editor/providers/state.js +1 -0
- package/dist/runtime/editor/providers/texts.js +20 -6
- package/dist/runtime/editor/providers/types.d.ts +7 -0
- package/dist/runtime/editor/providers/types.js +4 -0
- package/dist/runtime/editor/providers/ui.d.ts +40 -0
- package/dist/runtime/editor/providers/ui.js +27 -1
- package/dist/runtime/editor/translations/de.json +2738 -0
- package/dist/runtime/editor/translations/fr.json +2738 -0
- package/dist/runtime/editor/translations/gsw_CH.json +2738 -0
- package/dist/runtime/editor/translations/it.json +2738 -0
- package/dist/runtime/editor/types/app.d.ts +9 -2
- package/dist/runtime/editor/types/definitions.d.ts +5 -0
- package/dist/runtime/editor/types/features.d.ts +3 -1
- package/dist/runtime/editor/types/permissions.d.ts +17 -0
- package/dist/runtime/editor/types/permissions.js +0 -0
- package/dist/runtime/helpers/runtimeHelpers/index.d.ts +2 -1
- package/dist/runtime/helpers/runtimeHelpers/index.js +44 -6
- package/dist/runtime/types/index.d.ts +6 -0
- package/dist/shared/editor.CGf7C_0M.mjs +10 -0
- package/dist/shared/editor.DMFfaLVE.mjs +175 -0
- package/dist/shared/{editor.BKQCh70G.d.mts → editor.Iax3GCvt.d.mts} +94 -40
- package/dist/types.d.mts +7 -1
- package/package.json +29 -7
- package/dist/runtime/css/output.css +0 -1
- package/dist/runtime/material-icons/index.d.ts +0 -12
- package/dist/runtime/material-icons/index.js +0 -1
|
@@ -1,28 +1,39 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<Teleport :to="ui.mainLayoutElement.value">
|
|
3
|
-
<Loading v-if="isLoading" />
|
|
4
3
|
<Transition name="bk-library-edit-header">
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
<div
|
|
5
|
+
v-show="isLoaded"
|
|
6
|
+
class="bk bk-nested-editor-overlay"
|
|
7
|
+
:class="'bk-is-' + theme"
|
|
8
|
+
>
|
|
9
|
+
<Icon :name="icon" />
|
|
10
|
+
<header>
|
|
11
|
+
<h2>
|
|
12
|
+
<span>{{ title }}</span>
|
|
13
|
+
</h2>
|
|
14
|
+
<button @click.prevent="closeOverlay">
|
|
15
|
+
<Icon name="bk_mdi_arrow_left_alt" />
|
|
16
|
+
<span>{{ backLabel }}</span>
|
|
17
|
+
</button>
|
|
18
|
+
</header>
|
|
19
|
+
</div>
|
|
15
20
|
</Transition>
|
|
16
21
|
<Transition
|
|
17
22
|
:css="false"
|
|
23
|
+
@before-enter="onBeforeEnter"
|
|
18
24
|
@enter="onEnter"
|
|
19
25
|
@after-enter="onAfter"
|
|
20
26
|
@enter-cancelled="onAfter"
|
|
27
|
+
@before-leave="onBeforeLeave"
|
|
21
28
|
@leave="onLeave"
|
|
22
29
|
@after-leave="onAfterLeave"
|
|
23
30
|
@leave-cancelled="onAfterLeave"
|
|
24
31
|
>
|
|
25
|
-
<div
|
|
32
|
+
<div
|
|
33
|
+
v-show="isLoaded"
|
|
34
|
+
class="bk bk-library-edit-overlay"
|
|
35
|
+
:class="'bk-is-' + theme"
|
|
36
|
+
>
|
|
26
37
|
<iframe
|
|
27
38
|
ref="iframe"
|
|
28
39
|
:src="url"
|
|
@@ -35,19 +46,27 @@
|
|
|
35
46
|
</template>
|
|
36
47
|
|
|
37
48
|
<script setup>
|
|
38
|
-
import {
|
|
39
|
-
|
|
49
|
+
import {
|
|
50
|
+
computed,
|
|
51
|
+
onBeforeUnmount,
|
|
52
|
+
onMounted,
|
|
53
|
+
ref,
|
|
54
|
+
useBlokkli,
|
|
55
|
+
useTemplateRef
|
|
56
|
+
} from "#imports";
|
|
57
|
+
import { Icon } from "#blokkli/editor/components";
|
|
40
58
|
import { onBroadcastEvent } from "#blokkli/editor/composables";
|
|
41
59
|
const props = defineProps({
|
|
42
60
|
url: { type: String, required: true },
|
|
43
61
|
uuid: { type: String, required: true },
|
|
44
62
|
title: { type: String, required: true },
|
|
63
|
+
theme: { type: String, required: true },
|
|
64
|
+
icon: { type: null, required: true },
|
|
45
65
|
blockUuid: { type: String, required: false },
|
|
46
|
-
element: { type: null, required: false }
|
|
47
|
-
label: { type: String, required: false }
|
|
66
|
+
element: { type: null, required: false }
|
|
48
67
|
});
|
|
49
|
-
const { $t, ui, dom, blocks } = useBlokkli();
|
|
50
|
-
const DURATION =
|
|
68
|
+
const { $t, ui, dom, blocks, state } = useBlokkli();
|
|
69
|
+
const DURATION = 600;
|
|
51
70
|
const emit = defineEmits(["submit", "close"]);
|
|
52
71
|
function getOriginatingElement() {
|
|
53
72
|
if (props.element) {
|
|
@@ -61,69 +80,127 @@ function getOriginatingElement() {
|
|
|
61
80
|
}
|
|
62
81
|
return null;
|
|
63
82
|
}
|
|
64
|
-
|
|
83
|
+
const backLabel = computed(() => {
|
|
84
|
+
const entityLabel = state.entity.value.label;
|
|
85
|
+
if (!entityLabel) {
|
|
86
|
+
return $t("libraryItemEditOverlayBack", "Back to page");
|
|
87
|
+
}
|
|
88
|
+
return $t("libraryItemEditOverlayBackWithPage", 'Back to "@label"').replace(
|
|
89
|
+
"@label",
|
|
90
|
+
entityLabel
|
|
91
|
+
);
|
|
92
|
+
});
|
|
93
|
+
const FADE_DURATION = 150;
|
|
94
|
+
const EASING = "cubic-bezier(0.56, 0.04, 0.25, 1)";
|
|
95
|
+
let pendingTimeouts = [];
|
|
96
|
+
let raf = null;
|
|
97
|
+
function cancelPendingTimeouts() {
|
|
98
|
+
pendingTimeouts.forEach((id) => window.clearTimeout(id));
|
|
99
|
+
pendingTimeouts = [];
|
|
100
|
+
}
|
|
101
|
+
function withTimeout(callback, duration) {
|
|
102
|
+
const id = window.setTimeout(callback, duration);
|
|
103
|
+
pendingTimeouts.push(id);
|
|
104
|
+
}
|
|
105
|
+
function onBeforeEnter(el) {
|
|
106
|
+
cancelPendingTimeouts();
|
|
65
107
|
if (el instanceof HTMLElement) {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
el.style.transform = "translate(0px, 0px)";
|
|
84
|
-
}, 10);
|
|
85
|
-
setTimeout(() => {
|
|
86
|
-
done();
|
|
87
|
-
isLoading.value = false;
|
|
88
|
-
}, DURATION);
|
|
108
|
+
el.style.transition = "none";
|
|
109
|
+
el.style.opacity = "0";
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
function onEnter(el, done) {
|
|
113
|
+
isLoading.value = false;
|
|
114
|
+
if (raf) {
|
|
115
|
+
window.cancelAnimationFrame(raf);
|
|
116
|
+
}
|
|
117
|
+
if (!(el instanceof HTMLElement)) {
|
|
118
|
+
done();
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
const originating = getOriginatingElement();
|
|
122
|
+
if (!originating) {
|
|
123
|
+
done();
|
|
124
|
+
return;
|
|
89
125
|
}
|
|
126
|
+
const originatingRect = originating.getBoundingClientRect();
|
|
127
|
+
const overlayRect = el.getBoundingClientRect();
|
|
128
|
+
const scaleX = originatingRect.width / overlayRect.width;
|
|
129
|
+
const scaleY = originatingRect.height / overlayRect.height;
|
|
130
|
+
const offsetX = originatingRect.x - overlayRect.x;
|
|
131
|
+
const offsetY = originatingRect.y - overlayRect.y;
|
|
132
|
+
el.style.transition = "none";
|
|
133
|
+
el.style.opacity = "0";
|
|
134
|
+
el.style.transformOrigin = "0px 0px";
|
|
135
|
+
el.style.transform = `translate(${offsetX}px, ${offsetY}px) scale(${scaleX}, ${scaleY})`;
|
|
136
|
+
el.getBoundingClientRect();
|
|
137
|
+
raf = requestAnimationFrame(() => {
|
|
138
|
+
el.style.transition = `opacity ${FADE_DURATION}ms ease-out`;
|
|
139
|
+
el.style.opacity = "1";
|
|
140
|
+
withTimeout(() => {
|
|
141
|
+
el.style.transition = `transform ${DURATION}ms ${EASING}`;
|
|
142
|
+
el.style.transform = "translate(0px, 0px) scale(1, 1)";
|
|
143
|
+
withTimeout(() => {
|
|
144
|
+
pendingTimeouts = [];
|
|
145
|
+
done();
|
|
146
|
+
}, DURATION);
|
|
147
|
+
}, FADE_DURATION);
|
|
148
|
+
});
|
|
90
149
|
}
|
|
91
150
|
function onAfter(el) {
|
|
92
151
|
if (el instanceof HTMLElement) {
|
|
93
152
|
el.style.transform = "";
|
|
94
|
-
el.style.
|
|
153
|
+
el.style.transition = "";
|
|
95
154
|
el.style.opacity = "";
|
|
96
|
-
el.style.transitionProperty = "";
|
|
97
|
-
el.style.transitionTimingFunction = "";
|
|
98
155
|
el.style.transformOrigin = "";
|
|
99
156
|
}
|
|
157
|
+
pendingTimeouts = [];
|
|
100
158
|
}
|
|
101
|
-
function
|
|
159
|
+
function onBeforeLeave(el) {
|
|
160
|
+
cancelPendingTimeouts();
|
|
102
161
|
if (el instanceof HTMLElement) {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}, 10);
|
|
120
|
-
setTimeout(() => {
|
|
121
|
-
done();
|
|
122
|
-
}, DURATION);
|
|
162
|
+
el.style.transform = "none";
|
|
163
|
+
el.style.opacity = "1";
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
function onLeave(el, done) {
|
|
167
|
+
if (raf) {
|
|
168
|
+
window.cancelAnimationFrame(raf);
|
|
169
|
+
}
|
|
170
|
+
if (!(el instanceof HTMLElement)) {
|
|
171
|
+
done();
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
const originating = getOriginatingElement();
|
|
175
|
+
if (!originating) {
|
|
176
|
+
done();
|
|
177
|
+
return;
|
|
123
178
|
}
|
|
179
|
+
const originatingRect = originating.getBoundingClientRect();
|
|
180
|
+
const overlayRect = el.getBoundingClientRect();
|
|
181
|
+
const scaleX = originatingRect.width / overlayRect.width;
|
|
182
|
+
const scaleY = originatingRect.height / overlayRect.height;
|
|
183
|
+
const offsetX = originatingRect.x - overlayRect.x;
|
|
184
|
+
const offsetY = originatingRect.y - overlayRect.y;
|
|
185
|
+
el.style.transition = `transform ${DURATION}ms ${EASING}`;
|
|
186
|
+
el.style.transformOrigin = "0px 0px";
|
|
187
|
+
el.style.transform = `translate(${offsetX}px, ${offsetY}px) scale(${scaleX}, ${scaleY})`;
|
|
188
|
+
withTimeout(() => {
|
|
189
|
+
el.style.transition = `opacity ${FADE_DURATION}ms ease-out`;
|
|
190
|
+
el.style.opacity = "0";
|
|
191
|
+
withTimeout(() => {
|
|
192
|
+
pendingTimeouts = [];
|
|
193
|
+
done();
|
|
194
|
+
}, FADE_DURATION);
|
|
195
|
+
}, DURATION);
|
|
124
196
|
}
|
|
125
197
|
function onAfterLeave(el) {
|
|
126
198
|
onAfter(el);
|
|
199
|
+
pendingTimeouts = [];
|
|
200
|
+
if (raf) {
|
|
201
|
+
window.cancelAnimationFrame(raf);
|
|
202
|
+
raf = null;
|
|
203
|
+
}
|
|
127
204
|
if (hasPublished.value) {
|
|
128
205
|
emit("submit");
|
|
129
206
|
} else {
|
|
@@ -134,7 +211,6 @@ const iframe = useTemplateRef("iframe");
|
|
|
134
211
|
const isLoaded = ref(false);
|
|
135
212
|
const isLoading = ref(true);
|
|
136
213
|
const hasPublished = ref(false);
|
|
137
|
-
let timeout = null;
|
|
138
214
|
function onPublished({ uuid }) {
|
|
139
215
|
if (props.uuid === uuid) {
|
|
140
216
|
hasPublished.value = true;
|
|
@@ -142,10 +218,6 @@ function onPublished({ uuid }) {
|
|
|
142
218
|
}
|
|
143
219
|
}
|
|
144
220
|
function onLoad() {
|
|
145
|
-
clearTimeout(timeout);
|
|
146
|
-
timeout = window.setTimeout(() => {
|
|
147
|
-
isLoaded.value = true;
|
|
148
|
-
}, 3e3);
|
|
149
221
|
if (!iframe.value) {
|
|
150
222
|
return;
|
|
151
223
|
}
|
|
@@ -166,6 +238,13 @@ function onEditorLoaded({ uuid }) {
|
|
|
166
238
|
isLoaded.value = true;
|
|
167
239
|
}
|
|
168
240
|
}
|
|
241
|
+
onMounted(() => {
|
|
242
|
+
isLoaded.value = true;
|
|
243
|
+
ui.setNestedEditor(props.uuid);
|
|
244
|
+
});
|
|
245
|
+
onBeforeUnmount(() => {
|
|
246
|
+
ui.setNestedEditor(null);
|
|
247
|
+
});
|
|
169
248
|
onBroadcastEvent("published", onPublished);
|
|
170
249
|
onBroadcastEvent("closeEditor", onClosed);
|
|
171
250
|
onBroadcastEvent("editorLoaded", onEditorLoaded);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import type { BlokkliIcon } from '#blokkli-build/icons';
|
|
1
2
|
export type NestedEditorOverlayProps = {
|
|
2
3
|
url: string;
|
|
3
4
|
uuid: string;
|
|
4
5
|
title: string;
|
|
6
|
+
theme: 'lime' | 'red';
|
|
7
|
+
icon: BlokkliIcon;
|
|
5
8
|
blockUuid?: string;
|
|
6
9
|
element?: HTMLElement | null;
|
|
7
|
-
label?: string;
|
|
8
10
|
};
|
|
9
11
|
declare const __VLS_export: import("vue").DefineComponent<NestedEditorOverlayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
12
|
close: (...args: any[]) => void;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<ol>
|
|
2
|
+
<ol class="bk-plugin-config-form">
|
|
3
3
|
<slot name="before" />
|
|
4
|
-
<li
|
|
4
|
+
<li
|
|
5
|
+
v-for="item in renderedConfig"
|
|
6
|
+
:key="item.name"
|
|
7
|
+
:class="'bk-is-type-' + item.type"
|
|
8
|
+
>
|
|
5
9
|
<FormCheckbox
|
|
6
10
|
v-if="item.type === 'checkbox'"
|
|
7
11
|
v-bind="item"
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
3
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
4
|
-
timestamp: number;
|
|
4
|
+
timestamp: number | string;
|
|
5
5
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
6
|
-
timestamp: number;
|
|
6
|
+
timestamp: number | string;
|
|
7
7
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
8
8
|
default?: (props: {
|
|
9
9
|
formatted: any;
|
|
10
|
+
formattedDate: any;
|
|
10
11
|
}) => any;
|
|
11
12
|
}>;
|
|
12
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<slot :formatted
|
|
2
|
+
<slot :formatted :formatted-date>
|
|
3
|
+
<span :title="formattedDate">{{ formatted }}</span>
|
|
4
|
+
</slot>
|
|
3
5
|
</template>
|
|
4
6
|
|
|
5
7
|
<script setup>
|
|
8
|
+
import { isValidDate } from "#blokkli/editor/helpers/date";
|
|
6
9
|
import { ref, computed, onMounted, onBeforeUnmount, useBlokkli } from "#imports";
|
|
7
10
|
const props = defineProps({
|
|
8
|
-
timestamp: { type: Number, required: true }
|
|
11
|
+
timestamp: { type: [Number, String], required: true }
|
|
9
12
|
});
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
const { ui } = useBlokkli();
|
|
14
|
+
const date = computed(() => {
|
|
15
|
+
const dateArg = typeof props.timestamp === "number" ? props.timestamp * 1e3 : props.timestamp;
|
|
16
|
+
const parsedDate = new Date(dateArg);
|
|
17
|
+
return isValidDate(parsedDate) ? parsedDate : null;
|
|
18
|
+
});
|
|
19
|
+
const formattedDate = computed(() => {
|
|
20
|
+
return date.value ? ui.formatDate(date.value) : "";
|
|
21
|
+
});
|
|
22
|
+
function getRelativeTimeString(date2, lang = navigator.language) {
|
|
23
|
+
const timeMs = typeof date2 === "number" ? date2 : date2.getTime();
|
|
12
24
|
const deltaSeconds = Math.round((timeMs - Date.now()) / 1e3);
|
|
13
25
|
const cutoffs = [
|
|
14
26
|
60,
|
|
@@ -35,12 +47,14 @@ function getRelativeTimeString(date, lang = navigator.language) {
|
|
|
35
47
|
const rtf = new Intl.RelativeTimeFormat(lang, { numeric: "auto" });
|
|
36
48
|
return rtf.format(Math.floor(deltaSeconds / divisor), units[unitIndex]);
|
|
37
49
|
}
|
|
38
|
-
const { ui } = useBlokkli();
|
|
39
50
|
const incrementToggle = ref(0);
|
|
40
51
|
let interval = null;
|
|
41
52
|
const formatted = computed(() => {
|
|
42
|
-
|
|
43
|
-
|
|
53
|
+
if (!date.value) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const dateIncremented = new Date(date.value.getTime() + incrementToggle.value);
|
|
57
|
+
return getRelativeTimeString(dateIncremented, ui.interfaceLanguage.value);
|
|
44
58
|
});
|
|
45
59
|
onMounted(() => {
|
|
46
60
|
interval = setInterval(() => {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare const _default: typeof __VLS_export;
|
|
2
2
|
export default _default;
|
|
3
3
|
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
4
|
-
timestamp: number;
|
|
4
|
+
timestamp: number | string;
|
|
5
5
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
6
|
-
timestamp: number;
|
|
6
|
+
timestamp: number | string;
|
|
7
7
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
8
8
|
default?: (props: {
|
|
9
9
|
formatted: any;
|
|
10
|
+
formattedDate: any;
|
|
10
11
|
}) => any;
|
|
11
12
|
}>;
|
|
12
13
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
4
|
+
status: "pending" | "active" | "success" | "error";
|
|
5
|
+
bulletText?: string | number;
|
|
6
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
|
+
status: "pending" | "active" | "success" | "error";
|
|
8
|
+
bulletText?: string | number;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="bk-status-icon" :class="`bk-is-${status}`">
|
|
3
|
+
<Icon v-if="icon" :name="icon" />
|
|
4
|
+
<span v-else class="bk-status-icon-bullet" v-html="bulletText" />
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script setup>
|
|
9
|
+
import { computed } from "#imports";
|
|
10
|
+
import Icon from "../Icon/index.vue";
|
|
11
|
+
const props = defineProps({
|
|
12
|
+
status: { type: String, required: true },
|
|
13
|
+
bulletText: { type: [String, Number], required: false }
|
|
14
|
+
});
|
|
15
|
+
const icon = computed(() => {
|
|
16
|
+
if (props.status === "active") {
|
|
17
|
+
return "loader";
|
|
18
|
+
} else if (props.status === "success") {
|
|
19
|
+
return "bk_mdi_check";
|
|
20
|
+
} else if (props.status === "error") {
|
|
21
|
+
return "bk_mdi_priority_high";
|
|
22
|
+
}
|
|
23
|
+
return null;
|
|
24
|
+
});
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
export default {
|
|
29
|
+
name: "StatusIcon"
|
|
30
|
+
};
|
|
31
|
+
</script>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{
|
|
4
|
+
status: "pending" | "active" | "success" | "error";
|
|
5
|
+
bulletText?: string | number;
|
|
6
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
7
|
+
status: "pending" | "active" | "success" | "error";
|
|
8
|
+
bulletText?: string | number;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -56,7 +56,11 @@
|
|
|
56
56
|
|
|
57
57
|
<script setup>
|
|
58
58
|
import { useBlokkli, computed } from "#imports";
|
|
59
|
-
import {
|
|
59
|
+
import {
|
|
60
|
+
DialogModal,
|
|
61
|
+
Icon,
|
|
62
|
+
BlokkliTransition
|
|
63
|
+
} from "#blokkli/editor/components";
|
|
60
64
|
const { $t, storage, animation } = useBlokkli();
|
|
61
65
|
const hasDismissed = storage.use("system_requirements_dismissed", false);
|
|
62
66
|
const requirements = computed(() => {
|
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script setup>
|
|
8
|
+
const EASE_SWING = "cubic-bezier(0.56, 0.04, 0.25, 1)";
|
|
8
9
|
const props = defineProps({
|
|
9
10
|
duration: { type: Number, required: false, default: 200 },
|
|
10
11
|
opacity: { type: Boolean, required: false, default: false },
|
|
11
|
-
easingEnter: { type: String, required: false, default:
|
|
12
|
-
easingLeave: { type: String, required: false, default:
|
|
12
|
+
easingEnter: { type: String, required: false, default: EASE_SWING },
|
|
13
|
+
easingLeave: { type: String, required: false, default: EASE_SWING }
|
|
13
14
|
});
|
|
14
15
|
const getElementStyle = (element) => {
|
|
15
16
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type TransitionName = 'transform-overlay' | 'fade' | 'touch-bar' | 'drag-item' | 'editable' | 'menu' | 'loading' | 'toolbar' | 'slide-in' | 'slide-up' | 'search' | 'context-menu' | 'command-palette' | 'caret-tooltip';
|
|
1
|
+
type TransitionName = 'transform-overlay' | 'fade' | 'touch-bar' | 'drag-item' | 'editable' | 'menu' | 'loading' | 'drop-up' | 'toolbar' | 'slide-in' | 'slide-up' | 'search' | 'context-menu' | 'command-palette' | 'caret-tooltip';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
name: TransitionName;
|
|
4
4
|
enabled?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type TransitionName = 'transform-overlay' | 'fade' | 'touch-bar' | 'drag-item' | 'editable' | 'menu' | 'loading' | 'toolbar' | 'slide-in' | 'slide-up' | 'search' | 'context-menu' | 'command-palette' | 'caret-tooltip';
|
|
1
|
+
type TransitionName = 'transform-overlay' | 'fade' | 'touch-bar' | 'drag-item' | 'editable' | 'menu' | 'loading' | 'drop-up' | 'toolbar' | 'slide-in' | 'slide-up' | 'search' | 'context-menu' | 'command-palette' | 'caret-tooltip';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
name: TransitionName;
|
|
4
4
|
enabled?: boolean;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import AddListItem from './AddListItem/index.vue.js';
|
|
2
|
-
import BlockPreviewItem from './BlockPreviewItem/index.vue.js';
|
|
3
|
-
import BlockPreviewRenderer from './BlockPreviewRenderer/index.vue.js';
|
|
4
|
-
import ItemIconBox from './ItemIconBox/index.vue.js';
|
|
5
2
|
import ArtboardTooltip from './ArtboardTooltip/index.vue.js';
|
|
3
|
+
import AutoHeight from './AutoHeight/index.vue.js';
|
|
6
4
|
import Banner from './Banner/index.vue.js';
|
|
5
|
+
import BlockPreviewItem from './BlockPreviewItem/index.vue.js';
|
|
6
|
+
import BlockPreviewRenderer from './BlockPreviewRenderer/index.vue.js';
|
|
7
7
|
import BlokkliTransition from './Transition/index.vue.js';
|
|
8
|
+
import BundleSelector from './BundleSelector/index.vue.js';
|
|
8
9
|
import ConfigForm from './PluginConfigForm/index.vue.js';
|
|
9
10
|
import DialogModal from './Dialog/index.vue.js';
|
|
11
|
+
import DiffValue from './DiffViewer/DiffValue.vue.js';
|
|
10
12
|
import DiffViewerState from './DiffViewer/State.vue.js';
|
|
11
13
|
import ErrorBoundary from './BlokkliErrorBoundary.vue.js';
|
|
14
|
+
import FlexTextarea from './FlexTextarea/index.vue.js';
|
|
12
15
|
import FormCheckboxes from './Form/Checkboxes/index.vue.js';
|
|
13
16
|
import FormDatepicker from './Form/Datepicker/index.vue.js';
|
|
14
17
|
import FormGroup from './Form/Group/index.vue.js';
|
|
@@ -24,7 +27,9 @@ import Highlight from './Highlight/index.vue.js';
|
|
|
24
27
|
import Icon from './Icon/index.vue.js';
|
|
25
28
|
import InfoBox from './InfoBox/index.vue.js';
|
|
26
29
|
import ItemIcon from './ItemIcon/index.vue.js';
|
|
30
|
+
import ItemIconBox from './ItemIconBox/index.vue.js';
|
|
27
31
|
import Loading from './Loading/index.vue.js';
|
|
32
|
+
import NestedEditorOverlay from './NestedEditorOverlay/index.vue.js';
|
|
28
33
|
import Pagination from './Pagination/index.vue.js';
|
|
29
34
|
import RelativeTime from './RelativeTime/index.vue.js';
|
|
30
35
|
import Resizable from './Resizable/index.vue.js';
|
|
@@ -33,8 +38,7 @@ import ScheduleDate from './ScheduleDate/index.vue.js';
|
|
|
33
38
|
import ScrollBoundary from './ScrollBoundary/index.vue.js';
|
|
34
39
|
import ShortcutIndicator from './ShortcutIndicator/index.vue.js';
|
|
35
40
|
import Sortli from './Sortli/index.vue.js';
|
|
41
|
+
import StatusIcon from './StatusIcon/index.vue.js';
|
|
36
42
|
import TransitionHeight from './Transition/Height.vue.js';
|
|
37
43
|
import ViewportBlockingRect from './ViewportBlockingRect/index.vue.js';
|
|
38
|
-
|
|
39
|
-
import NestedEditorOverlay from './NestedEditorOverlay/index.vue.js';
|
|
40
|
-
export { AddListItem, BlockPreviewItem, BlockPreviewRenderer, ItemIconBox, ArtboardTooltip, Banner, BlokkliTransition, ConfigForm, DialogModal, DiffViewerState, ErrorBoundary, FormCheckboxes, FormDatepicker, FormGroup, FormItem, FormOverlay, FormRadio, FormRadioTabs, FormSelect, FormText, FormTextarea, FormToggle, Highlight, Icon, InfoBox, ItemIcon, Loading, Pagination, RelativeTime, Resizable, ScaleToFit, ScheduleDate, ScrollBoundary, ShortcutIndicator, Sortli, TransitionHeight, ViewportBlockingRect, BundleSelector, NestedEditorOverlay, };
|
|
44
|
+
export { AddListItem, ArtboardTooltip, AutoHeight, Banner, BlockPreviewItem, BlockPreviewRenderer, BlokkliTransition, BundleSelector, ConfigForm, DialogModal, DiffValue, DiffViewerState, ErrorBoundary, FlexTextarea, FormCheckboxes, FormDatepicker, FormGroup, FormItem, FormOverlay, FormRadio, FormRadioTabs, FormSelect, FormText, FormTextarea, FormToggle, Highlight, Icon, InfoBox, ItemIcon, ItemIconBox, Loading, NestedEditorOverlay, Pagination, RelativeTime, Resizable, ScaleToFit, ScheduleDate, ScrollBoundary, ShortcutIndicator, Sortli, StatusIcon, TransitionHeight, ViewportBlockingRect, };
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import AddListItem from "./AddListItem/index.vue";
|
|
2
|
-
import BlockPreviewItem from "./BlockPreviewItem/index.vue";
|
|
3
|
-
import BlockPreviewRenderer from "./BlockPreviewRenderer/index.vue";
|
|
4
|
-
import ItemIconBox from "./ItemIconBox/index.vue";
|
|
5
2
|
import ArtboardTooltip from "./ArtboardTooltip/index.vue";
|
|
3
|
+
import AutoHeight from "./AutoHeight/index.vue";
|
|
6
4
|
import Banner from "./Banner/index.vue";
|
|
5
|
+
import BlockPreviewItem from "./BlockPreviewItem/index.vue";
|
|
6
|
+
import BlockPreviewRenderer from "./BlockPreviewRenderer/index.vue";
|
|
7
7
|
import BlokkliTransition from "./Transition/index.vue";
|
|
8
|
+
import BundleSelector from "./BundleSelector/index.vue";
|
|
8
9
|
import ConfigForm from "./PluginConfigForm/index.vue";
|
|
9
10
|
import DialogModal from "./Dialog/index.vue";
|
|
11
|
+
import DiffValue from "./DiffViewer/DiffValue.vue";
|
|
10
12
|
import DiffViewerState from "./DiffViewer/State.vue";
|
|
11
13
|
import ErrorBoundary from "./BlokkliErrorBoundary.vue";
|
|
14
|
+
import FlexTextarea from "./FlexTextarea/index.vue";
|
|
12
15
|
import FormCheckboxes from "./Form/Checkboxes/index.vue";
|
|
13
16
|
import FormDatepicker from "./Form/Datepicker/index.vue";
|
|
14
17
|
import FormGroup from "./Form/Group/index.vue";
|
|
@@ -24,7 +27,9 @@ import Highlight from "./Highlight/index.vue";
|
|
|
24
27
|
import Icon from "./Icon/index.vue";
|
|
25
28
|
import InfoBox from "./InfoBox/index.vue";
|
|
26
29
|
import ItemIcon from "./ItemIcon/index.vue";
|
|
30
|
+
import ItemIconBox from "./ItemIconBox/index.vue";
|
|
27
31
|
import Loading from "./Loading/index.vue";
|
|
32
|
+
import NestedEditorOverlay from "./NestedEditorOverlay/index.vue";
|
|
28
33
|
import Pagination from "./Pagination/index.vue";
|
|
29
34
|
import RelativeTime from "./RelativeTime/index.vue";
|
|
30
35
|
import Resizable from "./Resizable/index.vue";
|
|
@@ -33,22 +38,24 @@ import ScheduleDate from "./ScheduleDate/index.vue";
|
|
|
33
38
|
import ScrollBoundary from "./ScrollBoundary/index.vue";
|
|
34
39
|
import ShortcutIndicator from "./ShortcutIndicator/index.vue";
|
|
35
40
|
import Sortli from "./Sortli/index.vue";
|
|
41
|
+
import StatusIcon from "./StatusIcon/index.vue";
|
|
36
42
|
import TransitionHeight from "./Transition/Height.vue";
|
|
37
43
|
import ViewportBlockingRect from "./ViewportBlockingRect/index.vue";
|
|
38
|
-
import BundleSelector from "./BundleSelector/index.vue";
|
|
39
|
-
import NestedEditorOverlay from "./NestedEditorOverlay/index.vue";
|
|
40
44
|
export {
|
|
41
45
|
AddListItem,
|
|
42
|
-
BlockPreviewItem,
|
|
43
|
-
BlockPreviewRenderer,
|
|
44
|
-
ItemIconBox,
|
|
45
46
|
ArtboardTooltip,
|
|
47
|
+
AutoHeight,
|
|
46
48
|
Banner,
|
|
49
|
+
BlockPreviewItem,
|
|
50
|
+
BlockPreviewRenderer,
|
|
47
51
|
BlokkliTransition,
|
|
52
|
+
BundleSelector,
|
|
48
53
|
ConfigForm,
|
|
49
54
|
DialogModal,
|
|
55
|
+
DiffValue,
|
|
50
56
|
DiffViewerState,
|
|
51
57
|
ErrorBoundary,
|
|
58
|
+
FlexTextarea,
|
|
52
59
|
FormCheckboxes,
|
|
53
60
|
FormDatepicker,
|
|
54
61
|
FormGroup,
|
|
@@ -64,7 +71,9 @@ export {
|
|
|
64
71
|
Icon,
|
|
65
72
|
InfoBox,
|
|
66
73
|
ItemIcon,
|
|
74
|
+
ItemIconBox,
|
|
67
75
|
Loading,
|
|
76
|
+
NestedEditorOverlay,
|
|
68
77
|
Pagination,
|
|
69
78
|
RelativeTime,
|
|
70
79
|
Resizable,
|
|
@@ -73,8 +82,7 @@ export {
|
|
|
73
82
|
ScrollBoundary,
|
|
74
83
|
ShortcutIndicator,
|
|
75
84
|
Sortli,
|
|
85
|
+
StatusIcon,
|
|
76
86
|
TransitionHeight,
|
|
77
|
-
ViewportBlockingRect
|
|
78
|
-
BundleSelector,
|
|
79
|
-
NestedEditorOverlay
|
|
87
|
+
ViewportBlockingRect
|
|
80
88
|
};
|
|
@@ -20,3 +20,5 @@ export { useGlobalBlokkliObject } from './useGlobalBlokkliObject.js';
|
|
|
20
20
|
export { useStateBasedCache } from './useStateBasedCache.js';
|
|
21
21
|
export { useStickyToolbar } from './useStickyToolbar.js';
|
|
22
22
|
export { useTransitionedValue } from './useTransitionedValue.js';
|
|
23
|
+
export { onElementResize } from './onElementResize.js';
|
|
24
|
+
export { useEditableFieldOverride } from './useEditableFieldOverride.js';
|
|
@@ -20,3 +20,5 @@ export { useGlobalBlokkliObject } from "./useGlobalBlokkliObject.js";
|
|
|
20
20
|
export { useStateBasedCache } from "./useStateBasedCache.js";
|
|
21
21
|
export { useStickyToolbar } from "./useStickyToolbar.js";
|
|
22
22
|
export { useTransitionedValue } from "./useTransitionedValue.js";
|
|
23
|
+
export { onElementResize } from "./onElementResize.js";
|
|
24
|
+
export { useEditableFieldOverride } from "./useEditableFieldOverride.js";
|