@blokkli/editor 2.0.0-alpha.58 → 2.0.0-alpha.60
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/types/blockOptions.d.ts +36 -9
- package/dist/global/types/colorOptions.d.ts +4 -0
- package/dist/module.d.mts +3 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +370 -170
- package/dist/modules/agent/index.d.mts +2 -1
- package/dist/modules/agent/index.mjs +14 -7
- package/dist/modules/agent/runtime/app/components/Attachment/PreviewCode/index.vue +11 -0
- package/dist/modules/agent/runtime/app/components/Attachment/PreviewCsv/index.vue +56 -0
- package/dist/modules/agent/runtime/app/{features/agent/Panel/Attachment/PreviewCode → components/Attachment/PreviewHtml}/index.vue +1 -1
- package/dist/modules/agent/runtime/app/components/Attachment/PreviewMarkdown/index.vue +10 -0
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/index.d.vue.ts +1 -0
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/index.vue +22 -10
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/index.vue.d.ts +1 -0
- package/dist/modules/agent/runtime/app/components/Conversation/InlineFeedback/index.d.vue.ts +7 -0
- package/dist/modules/agent/runtime/app/components/Conversation/InlineFeedback/index.vue +40 -0
- package/dist/modules/agent/runtime/app/components/Conversation/InlineFeedback/index.vue.d.ts +7 -0
- package/dist/modules/agent/runtime/app/components/Conversation/Item/Assistant/index.vue +24 -0
- package/dist/modules/agent/runtime/app/components/Conversation/Item/Bubble/Tool/index.d.vue.ts +20 -0
- package/dist/modules/agent/runtime/app/components/Conversation/Item/Bubble/Tool/index.vue +52 -0
- package/dist/modules/agent/runtime/app/components/Conversation/Item/Bubble/Tool/index.vue.d.ts +20 -0
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Error/index.d.vue.ts +2 -1
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Error/index.vue +4 -14
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Error/index.vue.d.ts +2 -1
- package/dist/modules/agent/runtime/app/components/Conversation/Item/ErrorBubble/index.d.vue.ts +11 -0
- package/dist/modules/agent/runtime/app/components/Conversation/Item/ErrorBubble/index.vue +29 -0
- package/dist/modules/agent/runtime/app/components/Conversation/Item/ErrorBubble/index.vue.d.ts +11 -0
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/ServerTool/index.d.vue.ts +2 -1
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/ServerTool/index.vue +10 -23
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/ServerTool/index.vue.d.ts +2 -1
- package/dist/modules/agent/runtime/app/components/Conversation/Item/Tool/index.vue +36 -0
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Unknown/index.vue +2 -5
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/User/index.d.vue.ts +2 -0
- package/dist/modules/agent/runtime/app/components/Conversation/Item/User/index.vue +144 -0
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/User/index.vue.d.ts +2 -0
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Thinking/index.vue +3 -3
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/index.d.vue.ts +2 -0
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/index.vue +27 -11
- package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/index.vue.d.ts +2 -0
- package/dist/modules/agent/runtime/app/{tools/delegate_text_rewrite/Details → components/FieldDiffDetails}/index.d.vue.ts +15 -0
- package/dist/modules/agent/runtime/app/{tools/delegate_text_rewrite/Details → components/FieldDiffDetails}/index.vue.d.ts +15 -0
- package/dist/modules/agent/runtime/app/components/Markdown/index.d.vue.ts +6 -0
- package/dist/modules/agent/runtime/app/components/Markdown/index.vue +14 -0
- package/dist/modules/agent/runtime/app/components/Markdown/index.vue.d.ts +6 -0
- package/dist/modules/agent/runtime/app/composables/index.d.ts +5 -1
- package/dist/modules/agent/runtime/app/composables/index.js +2 -0
- package/dist/modules/agent/runtime/app/composables/useAgent.d.ts +2 -1
- package/dist/modules/agent/runtime/app/composables/useAgent.js +5 -2
- package/dist/modules/agent/runtime/app/composables/useAgentFeedbackOptions.d.ts +11 -0
- package/dist/modules/agent/runtime/app/composables/useAgentFeedbackOptions.js +24 -0
- package/dist/modules/agent/runtime/app/composables/useAgentPaginatedQuery.d.ts +29 -0
- package/dist/modules/agent/runtime/app/composables/useAgentPaginatedQuery.js +30 -0
- package/dist/modules/agent/runtime/app/features/agent/Container.d.vue.ts +0 -2
- package/dist/modules/agent/runtime/app/features/agent/Container.vue +39 -101
- package/dist/modules/agent/runtime/app/features/agent/Container.vue.d.ts +0 -2
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/ConversationsTab/Item.d.vue.ts +13 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/ConversationsTab/Item.vue +46 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/ConversationsTab/Item.vue.d.ts +13 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/ConversationsTab/index.vue +74 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/Item.d.vue.ts +11 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/Item.vue +55 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/Item.vue.d.ts +11 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/index.d.vue.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/index.vue +116 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/RatingsTab/index.vue.d.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/ConversationDetail.d.vue.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/ConversationDetail.vue +61 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/ConversationDetail.vue.d.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/index.d.vue.ts +38 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/index.vue +137 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/SplitView/index.vue.d.ts +38 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/index.d.vue.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/index.vue +45 -0
- package/dist/modules/agent/runtime/app/features/agent/ConversationsAdmin/index.vue.d.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.d.vue.ts +2 -2
- package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.vue +23 -36
- package/dist/modules/agent/runtime/app/features/agent/Panel/ConversationList/index.vue.d.ts +2 -2
- package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue +11 -28
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Item.d.vue.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Item.vue +20 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Item.vue.d.ts +8 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Separator.d.vue.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Separator.vue +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/Separator.vue.d.ts +3 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/TokenUsage/index.vue +31 -31
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +55 -9
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/index.vue +12 -6
- package/dist/modules/agent/runtime/app/features/agent/Panel/PendingMutation/index.vue +2 -2
- package/dist/modules/agent/runtime/app/features/agent/Panel/Plan/index.vue +13 -10
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.d.vue.ts +3 -3
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue +18 -16
- package/dist/modules/agent/runtime/app/features/agent/Panel/ToolCard/index.vue.d.ts +3 -3
- package/dist/modules/agent/runtime/app/features/agent/Panel/Welcome/index.vue +44 -13
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.d.vue.ts +1 -61
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +145 -142
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue.d.ts +1 -61
- package/dist/modules/agent/runtime/app/features/agent/Transcript/MessageContent.d.vue.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Transcript/MessageContent.vue +41 -0
- package/dist/modules/agent/runtime/app/features/agent/Transcript/MessageContent.vue.d.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Transcript/index.vue +83 -122
- package/dist/modules/agent/runtime/app/features/agent/index.vue +101 -4
- package/dist/modules/agent/runtime/app/features/agent/types.d.ts +85 -18
- package/dist/modules/agent/runtime/app/helpers/historySignature.d.ts +14 -0
- package/dist/modules/agent/runtime/app/helpers/historySignature.js +13 -0
- package/dist/modules/agent/runtime/app/helpers/id.d.ts +6 -0
- package/dist/modules/agent/runtime/app/helpers/id.js +3 -0
- package/dist/modules/agent/runtime/app/helpers/index.d.ts +0 -14
- package/dist/modules/agent/runtime/app/helpers/index.js +1 -19
- package/dist/modules/agent/runtime/app/helpers/markdown.d.ts +7 -0
- package/dist/modules/agent/runtime/app/helpers/markdown.js +5 -0
- package/dist/modules/agent/runtime/app/helpers/pageStructure.js +7 -19
- package/dist/modules/agent/runtime/app/helpers/parseConversationData.d.ts +27 -0
- package/dist/modules/agent/runtime/app/helpers/parseConversationData.js +42 -0
- package/dist/modules/agent/runtime/app/prompts/fixReadability.js +5 -4
- package/dist/modules/agent/runtime/app/providers/agentProvider.d.ts +24 -2
- package/dist/modules/agent/runtime/app/providers/agentProvider.js +138 -53
- package/dist/modules/agent/runtime/app/providers/conversationProvider.d.ts +9 -10
- package/dist/modules/agent/runtime/app/providers/conversationProvider.js +10 -39
- package/dist/modules/agent/runtime/app/providers/toolsProvider.js +43 -40
- package/dist/modules/agent/runtime/app/tools/{add_content_search_paragraph → add_content_search_paragraphs}/index.js +3 -2
- package/dist/modules/agent/runtime/app/tools/add_fragment/index.js +2 -2
- package/dist/modules/agent/runtime/app/tools/add_media_paragraph/index.js +4 -2
- package/dist/modules/agent/runtime/app/tools/add_paragraphs/index.js +37 -28
- package/dist/modules/agent/runtime/app/tools/add_reusable_paragraph/index.js +10 -10
- package/dist/modules/agent/runtime/app/tools/add_template/index.js +2 -2
- package/dist/modules/agent/runtime/app/tools/ask_question/Component.vue +25 -15
- package/dist/modules/agent/runtime/app/tools/ask_question/index.d.ts +1 -1
- package/dist/modules/agent/runtime/app/tools/ask_question/index.js +5 -4
- package/dist/modules/agent/runtime/app/tools/auto_translate_paragraphs/Component.d.vue.ts +29 -0
- package/dist/modules/agent/runtime/app/tools/auto_translate_paragraphs/Component.vue +172 -0
- package/dist/modules/agent/runtime/app/tools/auto_translate_paragraphs/Component.vue.d.ts +29 -0
- package/dist/modules/agent/runtime/app/tools/auto_translate_paragraphs/index.d.ts +19 -0
- package/dist/modules/agent/runtime/app/tools/auto_translate_paragraphs/index.js +80 -0
- package/dist/modules/agent/runtime/app/tools/{check_readability → check_readability_for_texts}/index.js +16 -23
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.d.vue.ts +4 -23
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue +95 -593
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue.d.ts +4 -23
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.d.ts +18 -17
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.js +56 -47
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/useFieldRewriteStream.d.ts +64 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/useFieldRewriteStream.js +502 -0
- package/dist/modules/agent/runtime/app/tools/delete_paragraphs/index.js +2 -2
- package/dist/modules/agent/runtime/app/tools/detach_reusable_paragraph/index.js +4 -2
- package/dist/modules/agent/runtime/app/tools/duplicate_paragraphs/index.js +8 -8
- package/dist/modules/agent/runtime/app/tools/fieldDiffApproval.d.ts +49 -0
- package/dist/modules/agent/runtime/app/tools/fieldDiffApproval.js +64 -0
- package/dist/modules/agent/runtime/app/tools/find_paragraphs/index.js +14 -13
- package/dist/modules/agent/runtime/app/tools/get_all_page_content/index.js +13 -19
- package/dist/modules/agent/runtime/app/tools/get_bundle_info/index.js +21 -22
- package/dist/modules/agent/runtime/app/tools/get_content_fields/index.js +28 -29
- package/dist/modules/agent/runtime/app/tools/get_mutation_history/index.js +5 -3
- package/dist/modules/agent/runtime/app/tools/get_page_structure/index.js +3 -1
- package/dist/modules/agent/runtime/app/tools/get_page_text/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_page_text/index.js +65 -0
- package/dist/modules/agent/runtime/app/tools/get_paragraph_context/index.js +35 -49
- package/dist/modules/agent/runtime/app/tools/get_paragraph_options/index.js +8 -11
- package/dist/modules/agent/runtime/app/tools/get_paragraphs_in_viewport/index.js +8 -4
- package/dist/modules/agent/runtime/app/tools/get_readability_issues/index.js +4 -2
- package/dist/modules/agent/runtime/app/tools/get_referenced_entities/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/get_referenced_entities/index.js +62 -0
- package/dist/modules/agent/runtime/app/tools/get_selected_paragraphs/index.js +3 -1
- package/dist/modules/agent/runtime/app/tools/go_to_history_index/index.js +6 -2
- package/dist/modules/agent/runtime/app/tools/helpers.d.ts +34 -22
- package/dist/modules/agent/runtime/app/tools/helpers.js +64 -39
- package/dist/modules/agent/runtime/app/tools/move_paragraphs/index.js +36 -4
- package/dist/modules/agent/runtime/app/tools/readability.d.ts +45 -0
- package/dist/modules/agent/runtime/app/tools/readability.js +51 -0
- package/dist/modules/agent/runtime/app/tools/rearrange_paragraphs/index.js +8 -7
- package/dist/modules/agent/runtime/app/tools/replace_content_search_item/index.js +2 -1
- package/dist/modules/agent/runtime/app/tools/replace_media_field/index.js +1 -1
- package/dist/modules/agent/runtime/app/tools/schemas.d.ts +34 -0
- package/dist/modules/agent/runtime/app/tools/schemas.js +47 -0
- package/dist/modules/agent/runtime/app/tools/search_content/index.js +3 -1
- package/dist/modules/agent/runtime/app/tools/search_media/index.js +2 -2
- package/dist/modules/agent/runtime/app/tools/search_reusable_paragraphs/index.js +11 -10
- package/dist/modules/agent/runtime/app/tools/search_templates/index.js +3 -1
- package/dist/modules/agent/runtime/app/tools/search_text/index.js +2 -2
- package/dist/modules/agent/runtime/app/tools/select_media/Component.vue +22 -8
- package/dist/modules/agent/runtime/app/tools/select_media/index.js +1 -1
- package/dist/modules/agent/runtime/app/tools/set_paragraph_options/index.js +9 -14
- package/dist/modules/agent/runtime/app/tools/swap_paragraphs/index.js +9 -9
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.d.vue.ts +6 -15
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.vue +48 -92
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Component.vue.d.ts +6 -15
- package/dist/modules/agent/runtime/app/tools/update_text_fields/index.d.ts +34 -13
- package/dist/modules/agent/runtime/app/tools/update_text_fields/index.js +84 -52
- package/dist/modules/agent/runtime/app/tools/web_fetch/index.js +1 -1
- package/dist/modules/agent/runtime/app/types/index.d.ts +55 -7
- package/dist/modules/agent/runtime/app/types/index.js +55 -8
- package/dist/modules/agent/runtime/server/agent.js +4 -4
- package/dist/modules/agent/runtime/server/classes/ConversationHistory/index.d.ts +93 -0
- package/dist/modules/agent/runtime/server/classes/ConversationHistory/index.js +241 -0
- package/dist/modules/agent/runtime/server/classes/ConversationMessage/index.d.ts +102 -0
- package/dist/modules/agent/runtime/server/classes/ConversationMessage/index.js +156 -0
- package/dist/modules/agent/runtime/server/{Session.d.ts → classes/Session/index.d.ts} +46 -14
- package/dist/modules/agent/runtime/server/{Session.js → classes/Session/index.js} +354 -382
- package/dist/modules/agent/runtime/server/{SessionManager.d.ts → classes/SessionManager/index.d.ts} +2 -2
- package/dist/modules/agent/runtime/server/{SessionManager.js → classes/SessionManager/index.js} +4 -19
- package/dist/modules/agent/runtime/server/classes/StreamAccumulator/index.d.ts +58 -0
- package/dist/modules/agent/runtime/server/classes/StreamAccumulator/index.js +72 -0
- package/dist/modules/agent/runtime/server/default-skills/adding-new-paragraphs.js +0 -1
- package/dist/modules/agent/runtime/server/default-skills/fixReadability.js +1 -1
- package/dist/modules/agent/runtime/server/default-skills/rewriteAndTranslate.js +8 -8
- package/dist/modules/agent/runtime/server/default-system-prompts/introduction.js +1 -1
- package/dist/modules/agent/runtime/server/default-system-prompts/workflow.js +0 -1
- package/dist/modules/agent/runtime/server/{agentPrompt.d.ts → helpers/agentPrompt.d.ts} +3 -3
- package/dist/modules/agent/runtime/server/helpers/errors.d.ts +10 -0
- package/dist/modules/agent/runtime/server/helpers/errors.js +63 -0
- package/dist/modules/agent/runtime/server/helpers/messages.d.ts +6 -0
- package/dist/modules/agent/runtime/server/helpers/messages.js +70 -0
- package/dist/modules/agent/runtime/server/helpers/models.d.ts +20 -0
- package/dist/modules/agent/runtime/server/helpers/models.js +15 -0
- package/dist/modules/agent/runtime/server/{routing.d.ts → helpers/routing.d.ts} +2 -2
- package/dist/modules/agent/runtime/server/{routing.js → helpers/routing.js} +2 -9
- package/dist/modules/agent/runtime/server/helpers/security.d.ts +22 -0
- package/dist/modules/agent/runtime/server/helpers/security.js +44 -0
- package/dist/modules/agent/runtime/server/helpers/skills.d.ts +14 -0
- package/dist/modules/agent/runtime/server/helpers/skills.js +22 -0
- package/dist/modules/agent/runtime/server/helpers/socket.d.ts +4 -0
- package/dist/modules/agent/runtime/server/helpers/socket.js +3 -0
- package/dist/modules/agent/runtime/server/helpers/text.d.ts +5 -0
- package/dist/modules/agent/runtime/server/helpers/text.js +3 -0
- package/dist/modules/agent/runtime/server/providers/anthropic.js +22 -3
- package/dist/modules/agent/runtime/server/providers/openai.js +4 -0
- package/dist/modules/agent/runtime/server/route.js +2 -2
- package/dist/modules/agent/runtime/server/server-tools/index.d.ts +2 -0
- package/dist/modules/agent/runtime/server/server-tools/load_tools/index.js +1 -5
- package/dist/modules/agent/runtime/server/stream.js +6 -29
- package/dist/modules/agent/runtime/shared/toolParams.d.ts +28 -0
- package/dist/modules/agent/runtime/shared/toolParams.js +27 -0
- package/dist/modules/agent/runtime/shared/toolResult.d.ts +98 -0
- package/dist/modules/agent/runtime/shared/toolResult.js +160 -0
- package/dist/modules/agent/runtime/shared/types.d.ts +1 -3
- package/dist/modules/agent/runtime/shared/types.js +8 -1
- package/dist/modules/charts/index.d.mts +3 -17
- package/dist/modules/charts/index.mjs +241 -16
- package/dist/modules/charts/runtime/blokkli/chart-types/advanced/definition.d.ts +5 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/advanced/definition.js +26 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/advanced/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/advanced/render.vue +120 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/advanced/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/definition.d.ts +6 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/definition.js +40 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/illustration.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/illustration.vue +41 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/illustration.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/render.vue +94 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/agePyramid/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/area/definition.d.ts +7 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/area/definition.js +49 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/area/illustration.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/area/illustration.vue +56 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/area/illustration.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/area/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/area/render.vue +99 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/area/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/{chartTypes/bar.d.ts → blokkli/chart-types/bar/definition.d.ts} +3 -3
- package/dist/modules/charts/runtime/{chartTypes/bar.js → blokkli/chart-types/bar/definition.js} +12 -31
- package/dist/modules/charts/runtime/blokkli/chart-types/bar/illustration.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/bar/illustration.vue +34 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/bar/illustration.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/bar/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/bar/render.vue +107 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/bar/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/donut/definition.d.ts +7 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/donut/definition.js +35 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/donut/illustration.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/donut/illustration.vue +35 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/donut/illustration.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/donut/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/donut/render.vue +87 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/donut/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/{chartTypes/heatmap.d.ts → blokkli/chart-types/heatmap/definition.d.ts} +3 -3
- package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/definition.js +29 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/illustration.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/illustration.vue +27 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/illustration.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/render.vue +113 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/heatmap/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/line/definition.d.ts +7 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/line/definition.js +49 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/line/illustration.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/line/illustration.vue +59 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/line/illustration.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/line/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/line/render.vue +98 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/line/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/pie/definition.d.ts +6 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/pie/definition.js +29 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/pie/illustration.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/pie/illustration.vue +20 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/pie/illustration.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/pie/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/pie/render.vue +71 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/pie/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radar/definition.d.ts +7 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radar/definition.js +45 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radar/illustration.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radar/illustration.vue +60 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radar/illustration.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radar/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radar/render.vue +95 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radar/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/definition.d.ts +6 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/definition.js +29 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/illustration.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/illustration.vue +32 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/illustration.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/render.d.vue.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/render.vue +77 -0
- package/dist/modules/charts/runtime/blokkli/chart-types/radialBar/render.vue.d.ts +3 -0
- package/dist/modules/charts/runtime/blokkli/skills/charts.js +36 -2
- package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.d.ts +81 -19
- package/dist/modules/charts/runtime/blokkli/tools/chart_schemas.js +79 -32
- package/dist/modules/charts/runtime/blokkli/tools/create_advanced_chart/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/create_advanced_chart/index.js +88 -0
- package/dist/modules/charts/runtime/blokkli/tools/create_chart/index.js +8 -4
- package/dist/modules/charts/runtime/blokkli/tools/get_advanced_chart_config/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_advanced_chart_config/index.js +65 -0
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_data/index.js +36 -8
- package/dist/modules/charts/runtime/blokkli/tools/get_chart_type_options/index.js +4 -2
- package/dist/modules/charts/runtime/blokkli/tools/update_advanced_chart/index.d.ts +2 -0
- package/dist/modules/charts/runtime/blokkli/tools/update_advanced_chart/index.js +73 -0
- package/dist/modules/charts/runtime/blokkli/tools/update_chart/index.js +43 -20
- package/dist/modules/charts/runtime/chart-types/definition/index.d.ts +7 -0
- package/dist/modules/charts/runtime/chart-types/definition/index.js +3 -0
- package/dist/modules/charts/runtime/chart-types/definition/options/index.d.ts +43 -0
- package/dist/modules/charts/runtime/{chartTypes/shared.js → chart-types/definition/options/index.js} +30 -23
- package/dist/modules/charts/runtime/chart-types/index.d.ts +21 -0
- package/dist/modules/charts/runtime/chart-types/index.js +25 -0
- package/dist/modules/charts/runtime/components/ChartRenderer/index.d.vue.ts +19 -145
- package/dist/modules/charts/runtime/components/ChartRenderer/index.vue +193 -99
- package/dist/modules/charts/runtime/components/ChartRenderer/index.vue.d.ts +19 -145
- package/dist/modules/charts/runtime/features/charts/Editor/AdvancedConfigPanel/index.d.vue.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/AdvancedConfigPanel/index.vue +149 -0
- package/dist/modules/charts/runtime/features/charts/Editor/AdvancedConfigPanel/index.vue.d.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CategoryColorOverridesPanel/index.d.vue.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CategoryColorOverridesPanel/index.vue +62 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CategoryColorOverridesPanel/index.vue.d.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/Field.d.vue.ts +14 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/Field.vue +89 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/Field.vue.d.ts +14 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.d.vue.ts +3 -3
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue +45 -52
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypeOptions/index.vue.d.ts +3 -3
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeCard.d.vue.ts +7 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeCard.vue +55 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeCard.vue.d.ts +7 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeGrid.d.vue.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeGrid.vue +24 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/TypeGrid.vue.d.ts +11 -0
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.d.vue.ts +2 -2
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue +48 -26
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue.d.ts +2 -2
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.d.vue.ts +0 -2
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue +64 -20
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue.d.ts +0 -2
- package/dist/modules/charts/runtime/features/charts/Editor/CsvExport/index.d.vue.ts +9 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvExport/index.vue +55 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvExport/index.vue.d.ts +9 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FilterEditor/index.d.vue.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FilterEditor/index.vue +88 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FilterEditor/index.vue.d.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FiltersSection/index.d.vue.ts +13 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FiltersSection/index.vue +111 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/FiltersSection/index.vue.d.ts +13 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/GroupBySection/index.d.vue.ts +14 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/GroupBySection/index.vue +100 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/GroupBySection/index.vue.d.ts +14 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/OutputPreviewTable/index.d.vue.ts +17 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/OutputPreviewTable/index.vue +152 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/OutputPreviewTable/index.vue.d.ts +17 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/PreviewDialog.d.vue.ts +14 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/PreviewDialog.vue +340 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/PreviewDialog.vue.d.ts +14 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/csvHelpers.d.ts +69 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/csvHelpers.js +368 -0
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.d.vue.ts +6 -17
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue +37 -64
- package/dist/modules/charts/runtime/features/charts/Editor/CsvImport/index.vue.d.ts +6 -17
- package/dist/modules/charts/runtime/features/charts/Editor/DataSourcePicker/index.d.vue.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DataSourcePicker/index.vue +80 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DataSourcePicker/index.vue.d.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.d.vue.ts +3 -3
- package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue +29 -18
- package/dist/modules/charts/runtime/features/charts/Editor/DataTable/index.vue.d.ts +3 -3
- package/dist/modules/charts/runtime/features/charts/Editor/DateFormatEditor/index.d.vue.ts +13 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DateFormatEditor/index.vue +71 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DateFormatEditor/index.vue.d.ts +13 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DynamicPreviewStatus/index.d.vue.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DynamicPreviewStatus/index.vue +57 -0
- package/dist/modules/charts/runtime/features/charts/Editor/DynamicPreviewStatus/index.vue.d.ts +16 -0
- package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.d.vue.ts +4 -5
- package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue +63 -51
- package/dist/modules/charts/runtime/features/charts/Editor/FootnoteEditor/index.vue.d.ts +4 -5
- package/dist/modules/charts/runtime/features/charts/Editor/NumberFormatEditor/index.d.vue.ts +21 -0
- package/dist/modules/charts/runtime/features/charts/Editor/NumberFormatEditor/index.vue +120 -0
- package/dist/modules/charts/runtime/features/charts/Editor/NumberFormatEditor/index.vue.d.ts +21 -0
- package/dist/modules/charts/runtime/features/charts/Editor/OrphanOverridesWarning/index.d.vue.ts +18 -0
- package/dist/modules/charts/runtime/features/charts/Editor/OrphanOverridesWarning/index.vue +65 -0
- package/dist/modules/charts/runtime/features/charts/Editor/OrphanOverridesWarning/index.vue.d.ts +18 -0
- package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.d.vue.ts +2 -1
- package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue +8 -2
- package/dist/modules/charts/runtime/features/charts/Editor/Preview/index.vue.d.ts +2 -1
- package/dist/modules/charts/runtime/features/charts/Editor/SeriesOverridesPanel/index.d.vue.ts +13 -0
- package/dist/modules/charts/runtime/features/charts/Editor/SeriesOverridesPanel/index.vue +95 -0
- package/dist/modules/charts/runtime/features/charts/Editor/SeriesOverridesPanel/index.vue.d.ts +13 -0
- package/dist/{runtime/editor/components/AutoHeight → modules/charts/runtime/features/charts/Editor/TranslationsEditor/TranslationRow}/index.d.vue.ts +1 -1
- package/dist/modules/charts/runtime/features/charts/Editor/TranslationsEditor/TranslationRow/index.vue +19 -0
- package/dist/{runtime/editor/components/AutoHeight → modules/charts/runtime/features/charts/Editor/TranslationsEditor/TranslationRow}/index.vue.d.ts +1 -1
- package/dist/modules/charts/runtime/features/charts/Editor/TranslationsEditor/index.d.vue.ts +17 -0
- package/dist/modules/charts/runtime/features/charts/Editor/TranslationsEditor/index.vue +264 -0
- package/dist/modules/charts/runtime/features/charts/Editor/TranslationsEditor/index.vue.d.ts +17 -0
- package/dist/modules/charts/runtime/features/charts/Editor/index.d.vue.ts +1 -0
- package/dist/modules/charts/runtime/features/charts/Editor/index.vue +477 -141
- package/dist/modules/charts/runtime/features/charts/Editor/index.vue.d.ts +1 -0
- package/dist/modules/charts/runtime/features/charts/Editor/useChartDataSourcePreview.d.ts +6 -0
- package/dist/modules/charts/runtime/features/charts/Editor/useChartDataSourcePreview.js +17 -0
- package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.d.ts +8 -2
- package/dist/modules/charts/runtime/features/charts/Editor/useChartEditorState.js +85 -5
- package/dist/modules/charts/runtime/helpers/adapterTypes.d.ts +38 -0
- package/dist/modules/charts/runtime/helpers/adapterTypes.js +1 -0
- package/dist/modules/charts/runtime/helpers/dateFormat.d.ts +20 -0
- package/dist/modules/charts/runtime/helpers/dateFormat.js +121 -0
- package/dist/modules/charts/runtime/helpers/echarts.d.ts +6 -0
- package/dist/modules/charts/runtime/helpers/echarts.js +5 -0
- package/dist/modules/charts/runtime/helpers/index.d.ts +17 -14
- package/dist/modules/charts/runtime/helpers/index.js +24 -27
- package/dist/modules/charts/runtime/helpers/nextCategoryValue.d.ts +19 -0
- package/dist/modules/charts/runtime/helpers/nextCategoryValue.js +160 -0
- package/dist/modules/charts/runtime/helpers/numberFormat.d.ts +13 -0
- package/dist/modules/charts/runtime/helpers/numberFormat.js +31 -0
- package/dist/modules/charts/runtime/helpers/previewInjection.d.ts +14 -0
- package/dist/modules/charts/runtime/helpers/previewInjection.js +3 -0
- package/dist/modules/charts/runtime/types.d.ts +238 -15
- package/dist/modules/drupal/graphql/base/fragment.paragraphsBlokkliMutationItem.graphql +23 -0
- package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +12 -3
- package/dist/modules/drupal/graphql/base/query.pbUsers.graphql +10 -0
- package/dist/modules/drupal/graphql/features/agent.graphql +75 -23
- package/dist/modules/drupal/graphql/features/block-transfer.graphql +42 -0
- package/dist/modules/drupal/graphql/features/comments.graphql +81 -11
- package/dist/modules/drupal/graphql/features/notifications.graphql +39 -0
- package/dist/modules/drupal/index.d.mts +2 -1
- package/dist/modules/drupal/index.mjs +14 -1
- package/dist/modules/drupal/runtime/adapter/index.js +259 -34
- package/dist/modules/iframes/index.d.mts +2 -1
- package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue +4 -2
- package/dist/modules/index.d.mts +2 -1
- package/dist/modules/readability/index.d.mts +2 -1
- package/dist/modules/table-of-contents/index.d.mts +2 -1
- package/dist/modules/tailwind/index.d.mts +2 -2
- package/dist/modules/tailwind/index.mjs +228 -2
- package/dist/runtime/components/Blocks/NotImplemented/index.vue +24 -51
- package/dist/runtime/components/BlokkliItem.vue +3 -31
- package/dist/runtime/editor/adapter/index.d.ts +16 -0
- package/dist/runtime/editor/components/Actions/Interactions/Button.d.vue.ts +9 -0
- package/dist/runtime/editor/components/Actions/Interactions/Button.vue +19 -0
- package/dist/runtime/editor/components/Actions/Interactions/Button.vue.d.ts +9 -0
- package/dist/runtime/editor/components/Actions/Interactions/index.vue +24 -88
- package/dist/runtime/editor/components/Actions/ItemDropdown/Item.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown/Item.vue +49 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown/Item.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Actions/ItemDropdown/index.vue +4 -22
- package/dist/runtime/editor/components/Actions/ScrollArrow/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/Actions/ScrollArrow/index.vue +52 -0
- package/dist/runtime/editor/components/Actions/ScrollArrow/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/Actions/Title/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Actions/Title/index.vue +295 -0
- package/dist/runtime/editor/components/Actions/Title/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Actions/index.vue +64 -779
- package/dist/runtime/editor/components/Actions/useToolbarScroll.d.ts +25 -0
- package/dist/runtime/editor/components/Actions/useToolbarScroll.js +125 -0
- package/dist/runtime/editor/components/AnimationCanvas/index.vue +4 -2
- package/dist/runtime/editor/components/AppMenu/Inner.vue +12 -7
- package/dist/runtime/editor/components/AppMenu/MenuButton.d.vue.ts +4 -9
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue +54 -194
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue.d.ts +4 -9
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue +124 -146
- package/dist/runtime/editor/components/Avatar/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Avatar/index.vue +119 -0
- package/dist/runtime/editor/components/Avatar/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/Banner/Inner.vue +1 -1
- package/dist/runtime/editor/components/Banner/index.d.vue.ts +1 -0
- package/dist/runtime/editor/components/Banner/index.vue +21 -18
- package/dist/runtime/editor/components/Banner/index.vue.d.ts +1 -0
- package/dist/runtime/editor/components/BlockPreviewItem/index.vue +35 -41
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue +13 -19
- package/dist/runtime/editor/components/BlockProxy/index.vue +56 -130
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +117 -48
- package/dist/runtime/editor/components/BundleSelector/Group.d.vue.ts +12 -0
- package/dist/runtime/editor/components/BundleSelector/Group.vue +28 -0
- package/dist/runtime/editor/components/BundleSelector/Group.vue.d.ts +12 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue +27 -211
- package/dist/runtime/editor/components/BundleSelector/types.d.ts +21 -0
- package/dist/runtime/editor/components/BundleSelector/types.js +0 -0
- package/dist/runtime/editor/components/Button/index.d.vue.ts +29 -0
- package/dist/runtime/editor/components/Button/index.vue +36 -0
- package/dist/runtime/editor/components/Button/index.vue.d.ts +29 -0
- package/dist/runtime/editor/components/ButtonAction/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/ButtonAction/index.vue +25 -0
- package/dist/runtime/editor/components/ButtonAction/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/Dialog/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/Dialog/index.vue +161 -240
- package/dist/runtime/editor/components/Dialog/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.d.vue.ts +14 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue +39 -20
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue.d.ts +14 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue +21 -121
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue +113 -248
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/DiffApproval/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/DiffApproval/index.vue +7 -1
- package/dist/runtime/editor/components/DiffApproval/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/DiffViewer/DiffDisplay/index.vue +1 -1
- package/dist/runtime/editor/components/DiffViewer/State.vue +294 -297
- package/dist/runtime/editor/{features/analyze/Summary/Chart.d.vue.ts → components/DonutChart/index.d.vue.ts} +4 -4
- package/dist/runtime/editor/{features/analyze/Summary/Chart.vue → components/DonutChart/index.vue} +4 -3
- package/dist/runtime/editor/{features/analyze/Summary/Chart.vue.d.ts → components/DonutChart/index.vue.d.ts} +4 -4
- package/dist/runtime/editor/components/DraggableList.vue +71 -84
- package/dist/runtime/editor/components/Dropdown/index.d.vue.ts +1 -0
- package/dist/runtime/editor/components/Dropdown/index.vue +91 -89
- package/dist/runtime/editor/components/Dropdown/index.vue.d.ts +1 -0
- package/dist/runtime/editor/components/EditIndicator.d.vue.ts +0 -1
- package/dist/runtime/editor/components/EditIndicator.vue +105 -37
- package/dist/runtime/editor/components/EditIndicator.vue.d.ts +0 -1
- package/dist/runtime/editor/components/EditProvider.vue +29 -35
- package/dist/runtime/editor/components/FileDropHandler/index.vue +24 -20
- package/dist/runtime/editor/components/FlexTextarea/index.d.vue.ts +1 -1
- package/dist/runtime/editor/components/FlexTextarea/index.vue +8 -4
- package/dist/runtime/editor/components/FlexTextarea/index.vue.d.ts +1 -1
- package/dist/runtime/editor/components/Form/Checkboxes/index.d.vue.ts +1 -1
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue +2 -2
- package/dist/runtime/editor/components/Form/Checkboxes/index.vue.d.ts +1 -1
- package/dist/runtime/editor/components/Form/Datepicker/index.vue +28 -175
- package/dist/runtime/editor/components/Form/Number/index.d.vue.ts +36 -0
- package/dist/runtime/editor/components/Form/Number/index.vue +79 -0
- package/dist/runtime/editor/components/Form/Number/index.vue.d.ts +36 -0
- package/dist/runtime/editor/components/Form/Radio/index.d.vue.ts +1 -1
- package/dist/runtime/editor/components/Form/Radio/index.vue +2 -2
- package/dist/runtime/editor/components/Form/Radio/index.vue.d.ts +1 -1
- package/dist/runtime/editor/components/Form/RadioBox/index.d.vue.ts +33 -0
- package/dist/runtime/editor/components/Form/RadioBox/index.vue +40 -0
- package/dist/runtime/editor/components/Form/RadioBox/index.vue.d.ts +33 -0
- package/dist/runtime/editor/components/Form/RadioTabs/index.vue +55 -0
- package/dist/runtime/editor/components/Form/Search/index.d.vue.ts +88 -0
- package/dist/runtime/editor/components/Form/Search/index.vue +289 -0
- package/dist/runtime/editor/components/Form/Search/index.vue.d.ts +88 -0
- package/dist/runtime/editor/components/Form/Search/types.d.ts +19 -0
- package/dist/runtime/editor/components/Form/Search/types.js +0 -0
- package/dist/runtime/editor/components/Form/Text/index.d.vue.ts +6 -2
- package/dist/runtime/editor/components/Form/Text/index.vue +12 -4
- package/dist/runtime/editor/components/Form/Text/index.vue.d.ts +6 -2
- package/dist/runtime/editor/components/Form/TextDark/index.d.vue.ts +24 -0
- package/dist/runtime/editor/components/Form/TextDark/index.vue +55 -0
- package/dist/runtime/editor/components/Form/TextDark/index.vue.d.ts +24 -0
- package/dist/runtime/editor/components/Form/Textarea/index.d.vue.ts +2 -0
- package/dist/runtime/editor/components/Form/Textarea/index.vue +12 -4
- package/dist/runtime/editor/components/Form/Textarea/index.vue.d.ts +2 -0
- package/dist/runtime/editor/components/Form/Toggle/index.d.vue.ts +13 -1
- package/dist/runtime/editor/components/Form/Toggle/index.vue +73 -216
- package/dist/runtime/editor/components/Form/Toggle/index.vue.d.ts +13 -1
- package/dist/runtime/editor/components/FormOverlay/index.vue +16 -25
- package/dist/runtime/editor/components/Icon/index.vue +7 -3
- package/dist/runtime/editor/components/Indicators/index.vue +74 -147
- package/dist/runtime/editor/components/InfoBox/index.d.vue.ts +7 -4
- package/dist/runtime/editor/components/InfoBox/index.vue +18 -69
- package/dist/runtime/editor/components/InfoBox/index.vue.d.ts +7 -4
- package/dist/runtime/editor/components/InlineActions/Button/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/InlineActions/Button/index.vue +27 -0
- package/dist/runtime/editor/components/InlineActions/Button/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/InlineActions/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/InlineActions/index.vue +5 -0
- package/dist/runtime/editor/components/InlineActions/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/Konami/Game/index.vue +56 -65
- package/dist/runtime/editor/components/Messages/Item/index.vue +5 -2
- package/dist/runtime/editor/components/Messages/index.vue +68 -74
- package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +2 -1
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +43 -209
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +2 -1
- package/dist/runtime/editor/components/Overlay/index.vue +52 -75
- package/dist/runtime/editor/components/Pagination/index.vue +18 -24
- package/dist/runtime/editor/components/Panel/Action/index.d.vue.ts +11 -0
- package/dist/runtime/editor/components/Panel/Action/index.vue +25 -0
- package/dist/runtime/editor/components/Panel/Action/index.vue.d.ts +11 -0
- package/dist/runtime/editor/components/Panel/AddButton/index.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Panel/AddButton/index.vue +17 -0
- package/dist/runtime/editor/components/Panel/AddButton/index.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Panel/Details/index.d.vue.ts +25 -0
- package/dist/runtime/editor/components/Panel/Details/index.vue +45 -0
- package/dist/runtime/editor/components/Panel/Details/index.vue.d.ts +25 -0
- package/dist/runtime/editor/components/Panel/Item/index.d.vue.ts +65 -0
- package/dist/runtime/editor/components/Panel/Item/index.vue +99 -0
- package/dist/runtime/editor/components/Panel/Item/index.vue.d.ts +65 -0
- package/dist/runtime/editor/components/Panel/Section/index.d.vue.ts +26 -0
- package/dist/runtime/editor/components/Panel/Section/index.vue +94 -0
- package/dist/runtime/editor/components/Panel/Section/index.vue.d.ts +26 -0
- package/dist/runtime/editor/components/Panel/Sheet/index.d.vue.ts +20 -0
- package/dist/runtime/editor/components/Panel/Sheet/index.vue +34 -0
- package/dist/runtime/editor/components/Panel/Sheet/index.vue.d.ts +20 -0
- package/dist/runtime/editor/components/Panel/Tabs/index.d.vue.ts +28 -0
- package/dist/runtime/editor/components/Panel/Tabs/index.vue +25 -0
- package/dist/runtime/editor/components/Panel/Tabs/index.vue.d.ts +28 -0
- package/dist/runtime/editor/components/Pill/index.d.vue.ts +28 -0
- package/dist/runtime/editor/components/Pill/index.vue +37 -0
- package/dist/runtime/editor/components/Pill/index.vue.d.ts +28 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue +15 -16
- package/dist/runtime/editor/components/PluginConfigFormInline/FilterSelect/index.vue +116 -248
- package/dist/runtime/editor/components/PluginConfigFormInline/index.vue +43 -58
- package/dist/runtime/editor/components/Popup/index.vue +54 -47
- package/dist/runtime/editor/components/PreviewProvider.vue +3 -3
- package/dist/runtime/editor/components/Reorder/index.d.vue.ts +53 -0
- package/dist/runtime/editor/components/Reorder/index.vue +123 -0
- package/dist/runtime/editor/components/Reorder/index.vue.d.ts +53 -0
- package/dist/runtime/editor/components/Resizable/index.d.vue.ts +10 -2
- package/dist/runtime/editor/components/Resizable/index.vue +84 -79
- package/dist/runtime/editor/components/Resizable/index.vue.d.ts +10 -2
- package/dist/runtime/editor/components/ResizableEditorView/index.d.vue.ts +26 -0
- package/dist/runtime/editor/components/ResizableEditorView/index.vue +76 -0
- package/dist/runtime/editor/components/ResizableEditorView/index.vue.d.ts +26 -0
- package/dist/runtime/editor/components/RichText/Editor/CleanTaskItem.d.ts +10 -0
- package/dist/runtime/editor/components/RichText/Editor/CleanTaskItem.js +59 -0
- package/dist/runtime/editor/components/RichText/Editor/Panel/Link/index.d.vue.ts +19 -0
- package/dist/runtime/editor/components/RichText/Editor/Panel/Link/index.vue +67 -0
- package/dist/runtime/editor/components/RichText/Editor/Panel/Link/index.vue.d.ts +19 -0
- package/dist/runtime/editor/components/RichText/Editor/Panel/index.d.vue.ts +20 -0
- package/dist/runtime/editor/components/RichText/Editor/Panel/index.vue +35 -0
- package/dist/runtime/editor/components/RichText/Editor/Panel/index.vue.d.ts +20 -0
- package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Emojis.d.vue.ts +24 -0
- package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Emojis.vue +44 -0
- package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Emojis.vue.d.ts +24 -0
- package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Mentions.d.vue.ts +23 -0
- package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Mentions.vue +35 -0
- package/dist/runtime/editor/components/RichText/Editor/SuggestionList/Mentions.vue.d.ts +23 -0
- package/dist/runtime/editor/components/RichText/Editor/SuggestionList/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/RichText/Editor/SuggestionList/index.vue +69 -0
- package/dist/runtime/editor/components/RichText/Editor/SuggestionList/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/RichText/Editor/Toolbar/Button/index.d.vue.ts +18 -0
- package/dist/runtime/editor/components/RichText/Editor/Toolbar/Button/index.vue +31 -0
- package/dist/runtime/editor/components/RichText/Editor/Toolbar/Button/index.vue.d.ts +18 -0
- package/dist/runtime/editor/components/RichText/Editor/Toolbar/Group/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/RichText/Editor/Toolbar/Group/index.vue +13 -0
- package/dist/runtime/editor/components/RichText/Editor/Toolbar/Group/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/RichText/Editor/Toolbar/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/RichText/Editor/Toolbar/index.vue +7 -0
- package/dist/runtime/editor/components/RichText/Editor/Toolbar/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/RichText/Editor/index.d.vue.ts +31 -0
- package/dist/runtime/editor/components/RichText/Editor/index.vue +386 -0
- package/dist/runtime/editor/components/RichText/Editor/index.vue.d.ts +31 -0
- package/dist/runtime/editor/components/RichText/Renderer/enrichRichContent.d.ts +12 -0
- package/dist/runtime/editor/components/RichText/Renderer/enrichRichContent.js +42 -0
- package/dist/runtime/editor/components/RichText/Renderer/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/RichText/Renderer/index.vue +39 -0
- package/dist/runtime/editor/components/RichText/Renderer/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/ScaleToFit/index.vue +18 -21
- package/dist/runtime/editor/components/ScheduleDate/index.d.vue.ts +2 -2
- package/dist/runtime/editor/components/ScheduleDate/index.vue +19 -12
- package/dist/runtime/editor/components/ScheduleDate/index.vue.d.ts +2 -2
- package/dist/runtime/editor/components/SearchOverlay/index.d.vue.ts +2 -2
- package/dist/runtime/editor/components/SearchOverlay/index.vue +31 -112
- package/dist/runtime/editor/components/SearchOverlay/index.vue.d.ts +2 -2
- package/dist/runtime/editor/components/SidebarFloater/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/SidebarFloater/index.vue +45 -0
- package/dist/runtime/editor/components/SidebarFloater/index.vue.d.ts +16 -0
- package/dist/runtime/editor/components/StatusIcon/index.vue +42 -91
- package/dist/runtime/editor/components/SystemRequirements/index.vue +40 -46
- package/dist/runtime/editor/components/Tabs/index.d.vue.ts +1 -0
- package/dist/runtime/editor/components/Tabs/index.vue +5 -3
- package/dist/runtime/editor/components/Tabs/index.vue.d.ts +1 -0
- package/dist/runtime/editor/components/Toolbar/ViewOptions/List/Button/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Toolbar/ViewOptions/List/Button/index.vue +74 -0
- package/dist/runtime/editor/components/Toolbar/ViewOptions/List/Button/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Toolbar/ViewOptions/List/index.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Toolbar/ViewOptions/List/index.vue +16 -0
- package/dist/runtime/editor/components/Toolbar/ViewOptions/List/index.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Toolbar/ViewOptions/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/Toolbar/ViewOptions/index.vue +57 -0
- package/dist/runtime/editor/components/Toolbar/ViewOptions/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Toolbar/index.vue +132 -168
- package/dist/runtime/editor/components/ToolbarDropdown/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/ToolbarDropdown/index.vue +36 -0
- package/dist/runtime/editor/components/ToolbarDropdown/index.vue.d.ts +21 -0
- package/dist/runtime/editor/components/Tooltip/Context.vue +3 -1
- package/dist/runtime/editor/components/Tooltip/index.vue +19 -6
- package/dist/runtime/editor/components/Transition/Collapse/index.d.vue.ts +13 -0
- package/dist/runtime/editor/components/Transition/Collapse/index.vue +20 -0
- package/dist/runtime/editor/components/Transition/Collapse/index.vue.d.ts +13 -0
- package/dist/runtime/editor/components/Transition/List/index.d.vue.ts +21 -0
- package/dist/runtime/editor/components/Transition/List/index.vue +31 -0
- package/dist/runtime/editor/components/Transition/List/index.vue.d.ts +21 -0
- 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 +12 -2
- package/dist/runtime/editor/components/index.js +11 -4
- package/dist/runtime/editor/composables/defineEditorComponent.d.ts +126 -0
- package/dist/runtime/editor/composables/defineEditorComponent.js +6 -0
- package/dist/runtime/editor/composables/defineViewOption.d.ts +5 -0
- package/dist/runtime/editor/composables/defineViewOption.js +10 -0
- package/dist/runtime/editor/composables/index.d.ts +4 -0
- package/dist/runtime/editor/composables/index.js +6 -0
- package/dist/runtime/editor/composables/useDialog.d.ts +1 -1
- package/dist/runtime/editor/composables/useDialog.js +2 -2
- package/dist/runtime/editor/composables/useDismiss.d.ts +30 -0
- package/dist/runtime/editor/composables/useDismiss.js +43 -0
- package/dist/runtime/editor/composables/useEditableFieldOverride.js +16 -8
- package/dist/runtime/editor/composables/useGlobalBlokkliObject.d.ts +17 -3
- package/dist/runtime/editor/composables/useGlobalBlokkliObject.js +6 -0
- package/dist/runtime/editor/css/output.css +1 -1
- package/dist/runtime/editor/events/index.d.ts +45 -2
- package/dist/runtime/editor/features/add-list/Actions/index.vue +4 -1
- package/dist/runtime/editor/features/add-list/Blocks/index.vue +5 -1
- package/dist/runtime/editor/features/add-list/Help/Item.vue +9 -3
- package/dist/runtime/editor/features/add-list/Help/index.vue +126 -167
- package/dist/runtime/editor/features/add-list/index.vue +169 -324
- package/dist/runtime/editor/features/analyze/Ignored/index.vue +6 -22
- package/dist/runtime/editor/features/analyze/Main.vue +49 -43
- package/dist/runtime/editor/features/analyze/Results/Results.vue +6 -28
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +19 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +23 -6
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +2 -4
- package/dist/runtime/editor/features/analyze/Results/Section.d.vue.ts +10 -0
- package/dist/runtime/editor/features/analyze/Results/Section.vue +42 -0
- package/dist/runtime/editor/features/analyze/Results/Section.vue.d.ts +10 -0
- package/dist/runtime/editor/features/analyze/Results/Status.vue +12 -6
- package/dist/runtime/editor/features/analyze/Summary/index.vue +19 -8
- package/dist/runtime/editor/features/analyze/index.vue +3 -454
- package/dist/runtime/editor/features/anchors/Overlay/index.vue +3 -11
- package/dist/runtime/editor/features/anchors/index.vue +11 -11
- package/dist/runtime/editor/features/anchors/types.d.ts +1 -0
- package/dist/runtime/editor/features/anchors/types.js +1 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue +6 -8
- package/dist/runtime/editor/features/artboard/Renderer.vue +70 -56
- package/dist/runtime/editor/features/artboard/Scrollbar/index.vue +22 -63
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.d.vue.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue +35 -25
- package/dist/runtime/editor/features/block-scheduler/Dialog/ScheduleSection.vue.d.ts +3 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +21 -85
- package/dist/runtime/editor/features/block-scheduler/index.vue +8 -65
- package/dist/runtime/editor/features/block-transfer/SummaryDialog/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/block-transfer/SummaryDialog/index.vue +184 -0
- package/dist/runtime/editor/features/block-transfer/SummaryDialog/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/block-transfer/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/block-transfer/index.vue +235 -0
- package/dist/runtime/editor/features/block-transfer/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/block-transfer/types.d.ts +101 -0
- package/dist/runtime/editor/features/block-transfer/types.js +0 -0
- package/dist/runtime/editor/features/breadcrumbs/Crumb/index.d.vue.ts +31 -0
- package/dist/runtime/editor/features/breadcrumbs/Crumb/index.vue +100 -0
- package/dist/runtime/editor/features/breadcrumbs/Crumb/index.vue.d.ts +31 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue +56 -195
- package/dist/runtime/editor/features/breadcrumbs/types.d.ts +17 -0
- package/dist/runtime/editor/features/breadcrumbs/types.js +0 -0
- package/dist/runtime/editor/features/changelog/Dialog/index.vue +14 -68
- package/dist/runtime/editor/features/changelog/changelog.json +16 -0
- package/dist/runtime/editor/features/changelog/index.vue +1 -1
- package/dist/runtime/editor/features/clipboard/DropElement/index.vue +137 -152
- package/dist/runtime/editor/features/clipboard/index.vue +24 -143
- package/dist/runtime/editor/features/clipboard/types.d.ts +9 -0
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +3 -3
- package/dist/runtime/editor/features/command-palette/Palette/index.vue +3 -1
- package/dist/runtime/editor/features/comments/AddForm/index.vue +24 -14
- package/dist/runtime/editor/features/comments/Comment/Actions/index.d.vue.ts +27 -0
- package/dist/runtime/editor/features/comments/Comment/Actions/index.vue +89 -0
- package/dist/runtime/editor/features/comments/Comment/Actions/index.vue.d.ts +27 -0
- package/dist/runtime/editor/features/comments/Comment/EditForm/index.d.vue.ts +15 -0
- package/dist/runtime/editor/features/comments/Comment/EditForm/index.vue +38 -0
- package/dist/runtime/editor/features/comments/Comment/EditForm/index.vue.d.ts +15 -0
- package/dist/runtime/editor/features/comments/Comment/Meta/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/comments/Comment/Meta/index.vue +30 -0
- package/dist/runtime/editor/features/comments/Comment/Meta/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/comments/Comment/index.d.vue.ts +30 -14
- package/dist/runtime/editor/features/comments/Comment/index.vue +133 -28
- package/dist/runtime/editor/features/comments/Comment/index.vue.d.ts +30 -14
- package/dist/runtime/editor/features/comments/CommentInput/index.d.vue.ts +25 -10
- package/dist/runtime/editor/features/comments/CommentInput/index.vue +74 -19
- package/dist/runtime/editor/features/comments/CommentInput/index.vue.d.ts +25 -10
- package/dist/runtime/editor/features/comments/Overlay/Item/index.d.vue.ts +32 -5
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue +85 -47
- package/dist/runtime/editor/features/comments/Overlay/Item/index.vue.d.ts +32 -5
- package/dist/runtime/editor/features/comments/Overlay/index.d.vue.ts +29 -7
- package/dist/runtime/editor/features/comments/Overlay/index.vue +42 -11
- package/dist/runtime/editor/features/comments/Overlay/index.vue.d.ts +29 -7
- package/dist/runtime/editor/features/comments/Sidebar/AddForm/index.d.vue.ts +9 -0
- package/dist/runtime/editor/features/comments/Sidebar/AddForm/index.vue +57 -0
- package/dist/runtime/editor/features/comments/Sidebar/AddForm/index.vue.d.ts +9 -0
- package/dist/runtime/editor/features/comments/Sidebar/index.d.vue.ts +66 -0
- package/dist/runtime/editor/features/comments/Sidebar/index.vue +116 -0
- package/dist/runtime/editor/features/comments/Sidebar/index.vue.d.ts +66 -0
- package/dist/runtime/editor/features/comments/Thread/ReplyForm/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/comments/Thread/ReplyForm/index.vue +57 -0
- package/dist/runtime/editor/features/comments/Thread/ReplyForm/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/comments/Thread/index.d.vue.ts +60 -0
- package/dist/runtime/editor/features/comments/Thread/index.vue +162 -0
- package/dist/runtime/editor/features/comments/Thread/index.vue.d.ts +60 -0
- package/dist/runtime/editor/features/comments/index.vue +111 -260
- package/dist/runtime/editor/features/comments/types.d.ts +42 -8
- package/dist/runtime/editor/features/debug/Main.vue +148 -146
- package/dist/runtime/editor/features/debug/Section/Logging.vue +5 -2
- package/dist/runtime/editor/features/debug/Section/Rendering.vue +3 -3
- package/dist/runtime/editor/features/delete/index.vue +1 -1
- package/dist/runtime/editor/features/delete/types.d.ts +1 -0
- package/dist/runtime/editor/features/delete/types.js +1 -0
- package/dist/runtime/editor/features/dev-mode/index.vue +48 -50
- package/dist/runtime/editor/features/diff/index.vue +1 -1
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +124 -1
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +51 -0
- package/dist/runtime/editor/features/dragging-overlay/index.vue +143 -313
- package/dist/runtime/editor/features/dragging-overlay/types.d.ts +28 -0
- package/dist/runtime/editor/features/dragging-overlay/types.js +0 -0
- package/dist/runtime/editor/features/droppable-field-edit/Overlay/index.vue +26 -24
- package/dist/runtime/editor/features/duplicate/types.d.ts +1 -0
- package/dist/runtime/editor/features/duplicate/types.js +1 -0
- package/dist/runtime/editor/features/edit/index.vue +3 -6
- package/dist/runtime/editor/features/edit-form/index.vue +1 -1
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +15 -15
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue +48 -51
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue +4 -1
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue +132 -183
- package/dist/runtime/editor/features/editable-mask/index.vue +26 -25
- package/dist/runtime/editor/features/entity-title/index.vue +11 -3
- package/dist/runtime/editor/features/exit/index.vue +1 -1
- package/dist/runtime/editor/features/fragments/Dialog/index.vue +4 -91
- package/dist/runtime/editor/features/grid/index.vue +16 -15
- package/dist/runtime/editor/features/grid/types.d.ts +1 -0
- package/dist/runtime/editor/features/grid/types.js +1 -0
- package/dist/runtime/editor/features/help/Dialog/index.vue +57 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue +48 -60
- package/dist/runtime/editor/features/help/index.vue +52 -48
- package/dist/runtime/editor/features/highlights/Renderer/fragment.glsl +1 -1
- package/dist/runtime/editor/features/highlights/Renderer/index.vue +1 -1
- package/dist/runtime/editor/features/history/List/index.vue +208 -206
- package/dist/runtime/editor/features/history/index.vue +2 -2
- package/dist/runtime/editor/features/history/types.d.ts +1 -0
- package/dist/runtime/editor/features/history/types.js +1 -0
- package/dist/runtime/editor/features/hover/Renderer/index.vue +4 -2
- package/dist/runtime/editor/features/hover/Renderer/vertex.glsl +3 -1
- package/dist/runtime/editor/features/hover/index.vue +2 -2
- package/dist/runtime/editor/features/import-existing/Dialog/Item.vue +19 -32
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue +39 -26
- package/dist/runtime/editor/features/import-existing/index.vue +1 -1
- package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/index.vue +2 -2
- package/dist/runtime/editor/features/library/{ReusableDialog → DialogMakeReusable}/index.vue +25 -22
- package/dist/runtime/editor/features/library/index.vue +4 -4
- package/dist/runtime/editor/features/media-library/Library/index.vue +1 -1
- package/dist/runtime/editor/features/media-library/index.vue +126 -182
- package/dist/runtime/editor/features/multi-select/index.vue +2 -6
- package/dist/runtime/editor/features/notifications/Item/index.d.vue.ts +4 -0
- package/dist/runtime/editor/features/notifications/Item/index.vue +96 -0
- package/dist/runtime/editor/features/notifications/Item/index.vue.d.ts +4 -0
- package/dist/runtime/editor/features/notifications/List/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/notifications/List/index.vue +126 -0
- package/dist/runtime/editor/features/notifications/List/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/notifications/docs.md +12 -0
- package/dist/runtime/editor/features/notifications/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/notifications/index.vue +123 -0
- package/dist/runtime/editor/features/notifications/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/notifications/types.d.ts +132 -0
- package/dist/runtime/editor/features/notifications/types.js +20 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.d.vue.ts +2 -2
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +11 -4
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue.d.ts +2 -2
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +23 -8
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.vue +3 -1
- package/dist/runtime/editor/features/options/Form/Group.vue +3 -1
- package/dist/runtime/editor/features/options/Form/Item.vue +6 -2
- package/dist/runtime/editor/features/options/Form/Number/index.d.vue.ts +10 -13
- package/dist/runtime/editor/features/options/Form/Number/index.vue +84 -12
- package/dist/runtime/editor/features/options/Form/Number/index.vue.d.ts +10 -13
- package/dist/runtime/editor/features/options/Form/Radios/index.vue +3 -1
- package/dist/runtime/editor/features/options/Form/Range/index.vue +7 -1
- package/dist/runtime/editor/features/options/Form/Text/index.vue +5 -1
- package/dist/runtime/editor/features/options/Form/index.vue +34 -24
- package/dist/runtime/editor/features/options/index.vue +705 -694
- package/dist/runtime/editor/features/ownership/Banner/index.vue +3 -1
- package/dist/runtime/editor/features/ownership/types.d.ts +1 -0
- package/dist/runtime/editor/features/ownership/types.js +1 -0
- package/dist/runtime/editor/features/preview-grant/QrCode/index.vue +17 -10
- package/dist/runtime/editor/features/preview-grant/index.vue +1 -0
- package/dist/runtime/editor/features/preview-grant/types.d.ts +1 -0
- package/dist/runtime/editor/features/preview-grant/types.js +1 -0
- package/dist/runtime/editor/features/proxy-view/index.vue +24 -21
- package/dist/runtime/editor/features/publish/Dialog/Item.vue +53 -9
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue +34 -12
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue +41 -30
- package/dist/runtime/editor/features/publish/Dialog/index.vue +140 -133
- package/dist/runtime/editor/features/publish/index.vue +3 -838
- package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue +1 -1
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +162 -179
- package/dist/runtime/editor/features/revert/index.vue +1 -1
- package/dist/runtime/editor/features/revert/types.d.ts +1 -0
- package/dist/runtime/editor/features/revert/types.js +1 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Content/index.vue +1 -1
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +1 -1
- package/dist/runtime/editor/features/search/index.vue +340 -442
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +33 -58
- package/dist/runtime/editor/features/selection/AddButtons/index.vue +23 -7
- package/dist/runtime/editor/features/selection/Renderer/index.vue +1 -1
- package/dist/runtime/editor/features/selection/types.d.ts +22 -0
- package/dist/runtime/editor/features/selection/types.js +0 -0
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +36 -36
- package/dist/runtime/editor/features/settings/Dialog/index.vue +31 -24
- package/dist/runtime/editor/features/settings/index.vue +2 -151
- package/dist/runtime/editor/features/structure/List/Item/index.vue +3 -4
- package/dist/runtime/editor/features/structure/index.vue +132 -152
- package/dist/runtime/editor/features/swap/types.d.ts +1 -0
- package/dist/runtime/editor/features/swap/types.js +1 -0
- package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/index.vue +1 -1
- package/dist/runtime/editor/features/templates/{CreateDialog → DialogCreateTemplate}/index.vue +11 -12
- package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/Item.vue +35 -30
- package/dist/runtime/editor/features/templates/DialogManageTemplates/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/templates/DialogManageTemplates/index.vue +117 -0
- package/dist/runtime/editor/features/templates/DialogManageTemplates/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/templates/index.vue +7 -5
- package/dist/runtime/editor/features/theme/index.vue +38 -56
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue +15 -30
- package/dist/runtime/editor/features/tour/Overlay/index.vue +137 -196
- package/dist/runtime/editor/features/transform/Dialog/index.vue +102 -111
- package/dist/runtime/editor/features/translations/AutoTranslate/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/translations/AutoTranslate/index.vue +138 -0
- package/dist/runtime/editor/features/translations/AutoTranslate/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/translations/Banner/index.vue +17 -8
- package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue +58 -46
- package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue +55 -36
- package/dist/runtime/editor/features/translations/CsvDialog/index.vue +4 -5
- package/dist/runtime/editor/features/translations/LanguageSwitcher/Dropdown/index.d.vue.ts +13 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/Dropdown/index.vue +49 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/Dropdown/index.vue.d.ts +13 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/InlineButtons/index.d.vue.ts +12 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/InlineButtons/index.vue +48 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/InlineButtons/index.vue.d.ts +12 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/index.vue +64 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/types.d.ts +8 -0
- package/dist/runtime/editor/features/translations/LanguageSwitcher/types.js +0 -0
- package/dist/runtime/editor/features/translations/SelectionTable/index.d.vue.ts +5 -18
- package/dist/runtime/editor/features/translations/SelectionTable/index.vue +18 -54
- package/dist/runtime/editor/features/translations/SelectionTable/index.vue.d.ts +5 -18
- package/dist/runtime/editor/features/translations/TranslateDialog/index.vue +128 -106
- package/dist/runtime/editor/features/translations/index.vue +26 -239
- package/dist/runtime/editor/features/validations/Overlay/index.vue +60 -117
- package/dist/runtime/editor/features/validations/index.vue +16 -35
- package/dist/runtime/editor/features/workspace/Overlay/Item.vue +9 -17
- package/dist/runtime/editor/features/workspace/Overlay/index.vue +4 -2
- package/dist/runtime/editor/features/workspace/index.vue +1 -1
- package/dist/runtime/editor/helpers/diff/index.d.ts +12 -0
- package/dist/runtime/editor/helpers/diff/index.js +9 -0
- package/dist/runtime/editor/helpers/options/index.js +7 -1
- package/dist/runtime/editor/helpers/string/index.d.ts +8 -0
- package/dist/runtime/editor/helpers/string/index.js +7 -0
- package/dist/runtime/editor/icons/svg/ghost.svg +1 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +7 -38
- package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +13 -3
- package/dist/runtime/editor/plugins/ItemAction/index.vue +35 -16
- package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +13 -3
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.d.vue.ts +1 -1
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue.d.ts +1 -1
- package/dist/runtime/editor/plugins/Sidebar/index.d.vue.ts +3 -3
- package/dist/runtime/editor/plugins/Sidebar/index.vue +184 -317
- package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +3 -3
- package/dist/runtime/editor/plugins/ToolbarButton/index.d.vue.ts +8 -2
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue +125 -29
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue.d.ts +8 -2
- package/dist/runtime/editor/plugins/index.d.ts +1 -2
- package/dist/runtime/editor/plugins/index.js +1 -3
- package/dist/runtime/editor/providers/config.d.ts +8 -0
- package/dist/runtime/editor/providers/config.js +18 -0
- package/dist/runtime/editor/providers/directive.d.ts +8 -0
- package/dist/runtime/editor/providers/directive.js +6 -0
- package/dist/runtime/editor/providers/fieldValue.js +11 -13
- package/dist/runtime/editor/providers/plugin.d.ts +12 -0
- package/dist/runtime/editor/providers/plugin.js +9 -0
- package/dist/runtime/editor/providers/state.d.ts +0 -16
- package/dist/runtime/editor/providers/state.js +1 -19
- package/dist/runtime/editor/providers/texts.d.ts +8 -1
- package/dist/runtime/editor/providers/texts.js +5 -2
- package/dist/runtime/editor/providers/ui.d.ts +43 -2
- package/dist/runtime/editor/providers/ui.js +43 -2
- package/dist/runtime/editor/providers/user.d.ts +20 -0
- package/dist/runtime/editor/providers/user.js +14 -0
- package/dist/runtime/editor/translations/de.json +349 -313
- package/dist/runtime/editor/translations/fr.json +45 -127
- package/dist/runtime/editor/translations/gsw_CH.json +281 -252
- package/dist/runtime/editor/translations/it.json +45 -127
- package/dist/runtime/editor/types/app.d.ts +4 -0
- package/dist/runtime/editor/types/clipboard.d.ts +53 -0
- package/dist/runtime/editor/types/clipboard.js +23 -0
- package/dist/runtime/editor/types/config.d.ts +5 -0
- package/dist/runtime/editor/types/config.js +0 -0
- package/dist/runtime/editor/types/permissions.d.ts +1 -0
- package/dist/runtime/editor/types/ui.d.ts +1 -0
- package/dist/runtime/editor/types/user.d.ts +9 -0
- package/dist/runtime/editor/types/user.js +0 -0
- package/dist/runtime/helpers/runtimeHelpers/index.d.ts +1 -1
- package/dist/runtime/helpers/runtimeHelpers/index.js +7 -0
- package/dist/runtime/types/definitions.d.ts +3 -0
- package/dist/shared/{editor.Bpw1EP57.d.mts → editor.D28NbXr3.d.mts} +20 -4
- package/dist/shared/{editor.FygP6XeF.mjs → editor.Gu7mgJ5Q.mjs} +33 -1
- package/dist/types.d.mts +1 -1
- package/package.json +30 -17
- package/dist/chunks/tailwindConfig.mjs +0 -222
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewCsv/index.vue +0 -31
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewHtml/index.vue +0 -12
- package/dist/modules/agent/runtime/app/features/agent/Panel/Attachment/PreviewMarkdown/index.vue +0 -17
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Assistant/index.vue +0 -38
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/Tool/index.vue +0 -61
- package/dist/modules/agent/runtime/app/features/agent/Panel/Conversation/Item/User/index.vue +0 -28
- package/dist/modules/agent/runtime/app/features/agent/Panel/DebugGallery/index.vue +0 -161
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.d.vue.ts +0 -6
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.vue +0 -24
- package/dist/modules/agent/runtime/app/tools/update_text_fields/Details/index.vue.d.ts +0 -6
- package/dist/modules/agent/runtime/server/helpers.d.ts +0 -77
- package/dist/modules/agent/runtime/server/helpers.js +0 -354
- package/dist/modules/charts/runtime/chartTypes/area.d.ts +0 -7
- package/dist/modules/charts/runtime/chartTypes/area.js +0 -68
- package/dist/modules/charts/runtime/chartTypes/define.d.ts +0 -2
- package/dist/modules/charts/runtime/chartTypes/define.js +0 -3
- package/dist/modules/charts/runtime/chartTypes/donut.d.ts +0 -6
- package/dist/modules/charts/runtime/chartTypes/donut.js +0 -45
- package/dist/modules/charts/runtime/chartTypes/heatmap.js +0 -54
- package/dist/modules/charts/runtime/chartTypes/index.d.ts +0 -39
- package/dist/modules/charts/runtime/chartTypes/index.js +0 -47
- package/dist/modules/charts/runtime/chartTypes/line.d.ts +0 -7
- package/dist/modules/charts/runtime/chartTypes/line.js +0 -68
- package/dist/modules/charts/runtime/chartTypes/pie.d.ts +0 -5
- package/dist/modules/charts/runtime/chartTypes/pie.js +0 -28
- package/dist/modules/charts/runtime/chartTypes/radar.d.ts +0 -7
- package/dist/modules/charts/runtime/chartTypes/radar.js +0 -52
- package/dist/modules/charts/runtime/chartTypes/radialBar.d.ts +0 -6
- package/dist/modules/charts/runtime/chartTypes/radialBar.js +0 -44
- package/dist/modules/charts/runtime/chartTypes/shared.d.ts +0 -67
- package/dist/modules/charts/runtime/chartTypes/types.d.ts +0 -29
- package/dist/runtime/editor/components/AutoHeight/index.vue +0 -55
- package/dist/runtime/editor/features/templates/ManageDialog/index.vue +0 -128
- package/dist/runtime/editor/plugins/ViewOption/index.d.vue.ts +0 -139
- package/dist/runtime/editor/plugins/ViewOption/index.vue +0 -97
- package/dist/runtime/editor/plugins/ViewOption/index.vue.d.ts +0 -139
- /package/dist/{modules/charts/runtime/chartTypes/types.js → global/types/colorOptions.js} +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewCode/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewCode/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewCsv/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewCsv/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewHtml/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewHtml/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewMarkdown/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Attachment/PreviewMarkdown/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Assistant/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Assistant/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Tool/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Tool/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Unknown/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/Unknown/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/index.vue +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Item/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Thinking/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/{features/agent/Panel → components}/Conversation/Thinking/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/{tools/delegate_text_rewrite/Details → components/FieldDiffDetails}/index.vue +0 -0
- /package/dist/modules/agent/runtime/app/features/agent/{Panel/DebugGallery → ConversationsAdmin/ConversationsTab}/index.d.vue.ts +0 -0
- /package/dist/modules/agent/runtime/app/features/agent/{Panel/DebugGallery → ConversationsAdmin/ConversationsTab}/index.vue.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/tools/{add_content_search_paragraph → add_content_search_paragraphs}/index.d.ts +0 -0
- /package/dist/modules/agent/runtime/app/tools/{check_readability → check_readability_for_texts}/index.d.ts +0 -0
- /package/dist/modules/agent/runtime/server/{streamParser.d.ts → classes/FieldStreamParser/index.d.ts} +0 -0
- /package/dist/modules/agent/runtime/server/{streamParser.js → classes/FieldStreamParser/index.js} +0 -0
- /package/dist/modules/agent/runtime/server/{agentPrompt.js → helpers/agentPrompt.js} +0 -0
- /package/dist/runtime/editor/features/{templates/ManageDialog → help/Dialog}/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/{templates/ManageDialog → help/Dialog}/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/Item/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/Item/index.vue +0 -0
- /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/Item/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/library/{LibraryDialog → DialogBrowseLibrary}/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/features/library/{ReusableDialog → DialogMakeReusable}/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/library/{ReusableDialog → DialogMakeReusable}/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/Item/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/Item/index.vue +0 -0
- /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/Item/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/templates/{Dialog → DialogBrowseTemplates}/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/features/templates/{CreateDialog → DialogCreateTemplate}/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/templates/{CreateDialog → DialogCreateTemplate}/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/Item.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/Item.vue.d.ts +0 -0
|
@@ -200,9 +200,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
200
200
|
width: number;
|
|
201
201
|
height: number;
|
|
202
202
|
};
|
|
203
|
-
minHeight: number;
|
|
204
203
|
tourText: string;
|
|
205
204
|
minWidth: number;
|
|
205
|
+
minHeight: number;
|
|
206
206
|
region: SidebarRegion;
|
|
207
207
|
tooltipTitle: string;
|
|
208
208
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
@@ -220,7 +220,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
220
220
|
shouldRender: any;
|
|
221
221
|
width: any;
|
|
222
222
|
height: any;
|
|
223
|
-
toggleSidebar: () => void
|
|
223
|
+
toggleSidebar: () => Promise<void>;
|
|
224
224
|
isResizing: any;
|
|
225
225
|
}) => any;
|
|
226
226
|
} & {
|
|
@@ -232,7 +232,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
232
232
|
shouldRender: any;
|
|
233
233
|
width: undefined;
|
|
234
234
|
height: undefined;
|
|
235
|
-
toggleSidebar: () => void
|
|
235
|
+
toggleSidebar: () => Promise<void>;
|
|
236
236
|
isResizing: boolean;
|
|
237
237
|
}) => any;
|
|
238
238
|
}>;
|
|
@@ -75,11 +75,17 @@ type __VLS_Props = {
|
|
|
75
75
|
*/
|
|
76
76
|
noCommand?: boolean;
|
|
77
77
|
};
|
|
78
|
-
declare var __VLS_7: {};
|
|
78
|
+
declare var __VLS_7: {}, __VLS_14: {}, __VLS_30: {};
|
|
79
79
|
type __VLS_Slots = {} & {
|
|
80
80
|
default?: (props: typeof __VLS_7) => any;
|
|
81
|
+
} & {
|
|
82
|
+
'icon-addon'?: (props: typeof __VLS_14) => any;
|
|
83
|
+
} & {
|
|
84
|
+
after?: (props: typeof __VLS_30) => any;
|
|
81
85
|
};
|
|
82
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
86
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
87
|
+
el: any;
|
|
88
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
89
|
click: (...args: any[]) => void;
|
|
84
90
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
85
91
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<Teleport :to="'#bk-toolbar-' + region">
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
<div :style="{ order: weight || 0 }" class="_bk_relative">
|
|
4
|
+
<button
|
|
5
|
+
ref="el"
|
|
6
|
+
class="bk-toolbar-button _bk_group/tooltip"
|
|
7
|
+
:disabled="disabled"
|
|
8
|
+
:class="[
|
|
8
9
|
{ 'bk-is-active': active },
|
|
9
10
|
id ? 'bk-is-' + id : void 0,
|
|
10
11
|
$attrs.class
|
|
11
12
|
]"
|
|
12
|
-
|
|
13
|
-
@click.prevent.stop="onClick"
|
|
14
|
-
>
|
|
15
|
-
<slot>
|
|
16
|
-
<Icon v-if="icon" :name="icon" />
|
|
17
|
-
</slot>
|
|
18
|
-
<Tooltip
|
|
19
|
-
:label="title"
|
|
20
|
-
:placement="tooltipPlacement"
|
|
21
|
-
:margin="region === 'before-sidebar'"
|
|
13
|
+
@click.prevent.stop="onClick"
|
|
22
14
|
>
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
15
|
+
<slot>
|
|
16
|
+
<Icon v-if="icon" :name="icon" />
|
|
17
|
+
<slot name="icon-addon" />
|
|
18
|
+
</slot>
|
|
19
|
+
<Tooltip
|
|
20
|
+
:label="title"
|
|
21
|
+
:placement="tooltipPlacement"
|
|
22
|
+
:margin="region === 'before-sidebar'"
|
|
23
|
+
>
|
|
24
|
+
<template v-if="keyCode" #shortcut>
|
|
25
|
+
<ShortcutIndicator
|
|
26
|
+
:meta="meta"
|
|
27
|
+
:shift="shift"
|
|
28
|
+
:key-code="keyCode"
|
|
29
|
+
:label="title"
|
|
30
|
+
:group="shortcutGroup"
|
|
31
|
+
@pressed="onClick"
|
|
32
|
+
/>
|
|
33
|
+
</template>
|
|
34
|
+
</Tooltip>
|
|
35
|
+
</button>
|
|
36
|
+
<slot name="after" />
|
|
37
|
+
</div>
|
|
35
38
|
</Teleport>
|
|
36
39
|
</template>
|
|
37
40
|
|
|
@@ -55,15 +58,16 @@ const props = defineProps({
|
|
|
55
58
|
weight: { type: [Number, String], required: false },
|
|
56
59
|
noCommand: { type: Boolean, required: false }
|
|
57
60
|
});
|
|
58
|
-
const { debug } = useBlokkli();
|
|
61
|
+
const { debug, ui } = useBlokkli();
|
|
59
62
|
const logger = debug.createLogger("PluginToolbar");
|
|
60
63
|
const emit = defineEmits(["click"]);
|
|
61
64
|
const el = ref(null);
|
|
62
|
-
function onClick() {
|
|
65
|
+
async function onClick() {
|
|
63
66
|
if (props.disabled) {
|
|
64
67
|
return;
|
|
65
68
|
}
|
|
66
69
|
logger.log(`Click ${props.id}`);
|
|
70
|
+
await ui.flushPendingChanges();
|
|
67
71
|
emit("click");
|
|
68
72
|
}
|
|
69
73
|
const tooltipPlacement = computed(() => {
|
|
@@ -98,8 +102,100 @@ defineTourItem(() => {
|
|
|
98
102
|
element: () => el.value
|
|
99
103
|
};
|
|
100
104
|
});
|
|
105
|
+
defineExpose({ el });
|
|
101
106
|
defineOptions({
|
|
102
107
|
name: "PluginToolbarButton",
|
|
103
108
|
inheritAttrs: false
|
|
104
109
|
});
|
|
105
110
|
</script>
|
|
111
|
+
|
|
112
|
+
<style>/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
|
|
113
|
+
.bk .bk-toolbar-button {
|
|
114
|
+
display: flex;
|
|
115
|
+
height: 40px;
|
|
116
|
+
min-width: 50px;
|
|
117
|
+
align-items: center;
|
|
118
|
+
justify-content: center;
|
|
119
|
+
gap: 5px;
|
|
120
|
+
padding-inline: 10px;
|
|
121
|
+
color: rgb(var(--bk-theme-mono-200) / 1);
|
|
122
|
+
}
|
|
123
|
+
@media (width >= 64rem) {
|
|
124
|
+
.bk .bk-toolbar-button {
|
|
125
|
+
height: 50px;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@media (width >= 64rem) {
|
|
129
|
+
@media (hover: hover) {
|
|
130
|
+
:is(.bk .bk-toolbar-button):not(.bk-is-active):hover {
|
|
131
|
+
background-color: rgb(var(--bk-theme-mono-700) / 1);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
.bk-has-dropdown-left:is(.bk .bk-toolbar-button):before,.bk-has-dropdown-bottom:is(.bk .bk-toolbar-button):before {
|
|
136
|
+
height: 0px;
|
|
137
|
+
width: 0px;
|
|
138
|
+
--bk-tw-border-style: solid;
|
|
139
|
+
border-style: solid;
|
|
140
|
+
--bk-tw-content: '';
|
|
141
|
+
content: var(--bk-tw-content);
|
|
142
|
+
position: absolute;
|
|
143
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --bk-tw-gradient-from, --bk-tw-gradient-via, --bk-tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
|
|
144
|
+
transition-timing-function: var(--bk-tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
145
|
+
transition-duration: var(--bk-tw-duration, var(--default-transition-duration, 150ms));
|
|
146
|
+
}
|
|
147
|
+
.bk-has-dropdown-bottom:is(.bk .bk-toolbar-button):before {
|
|
148
|
+
bottom: 0px;
|
|
149
|
+
transform-origin: bottom;
|
|
150
|
+
border-width: 0 10px 10px;
|
|
151
|
+
border-top-color: transparent;
|
|
152
|
+
border-right-color: transparent;
|
|
153
|
+
border-bottom-color: rgb(var(--bk-theme-mono-200) / 1);
|
|
154
|
+
border-left-color: transparent;
|
|
155
|
+
--bk-tw-scale-y: 0%;
|
|
156
|
+
scale: var(--bk-tw-scale-x) var(--bk-tw-scale-y);
|
|
157
|
+
left: calc(1 / 2 * 100%);
|
|
158
|
+
--bk-tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
|
|
159
|
+
translate: var(--bk-tw-translate-x) var(--bk-tw-translate-y);
|
|
160
|
+
}
|
|
161
|
+
.bk-has-dropdown-left:is(.bk .bk-toolbar-button):before {
|
|
162
|
+
border-width: 10px 0 10px 10px;
|
|
163
|
+
border-color: transparent transparent transparent #ffffff;
|
|
164
|
+
transform-origin: 0;
|
|
165
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --bk-tw-gradient-from, --bk-tw-gradient-via, --bk-tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
|
|
166
|
+
transition-timing-function: var(--bk-tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
167
|
+
transition-duration: var(--bk-tw-duration, var(--default-transition-duration, 150ms));
|
|
168
|
+
--bk-tw-scale-x: 0%;
|
|
169
|
+
scale: var(--bk-tw-scale-x) var(--bk-tw-scale-y);
|
|
170
|
+
top: calc(1 / 2 * 100%);
|
|
171
|
+
left: 0px;
|
|
172
|
+
--bk-tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
173
|
+
translate: var(--bk-tw-translate-x) var(--bk-tw-translate-y);
|
|
174
|
+
}
|
|
175
|
+
.bk-is-active:is(.bk .bk-toolbar-button) {
|
|
176
|
+
background-color: rgb(var(--bk-theme-mono-700) / 1);
|
|
177
|
+
}
|
|
178
|
+
.bk-is-active:is(.bk .bk-toolbar-button):before {
|
|
179
|
+
--bk-tw-scale-x: 100% !important;
|
|
180
|
+
--bk-tw-scale-y: 100% !important;
|
|
181
|
+
--bk-tw-scale-z: 100% !important;
|
|
182
|
+
scale: var(--bk-tw-scale-x) var(--bk-tw-scale-y) !important;
|
|
183
|
+
}
|
|
184
|
+
.bk-is-inactive:is(.bk .bk-toolbar-button) {
|
|
185
|
+
color: rgb(var(--bk-theme-mono-600) / 1);
|
|
186
|
+
}
|
|
187
|
+
[disabled]:is(.bk .bk-toolbar-button) {
|
|
188
|
+
pointer-events: none;
|
|
189
|
+
color: rgb(var(--bk-theme-mono-700) / 1);
|
|
190
|
+
}
|
|
191
|
+
:is(.bk .bk-toolbar-button) svg {
|
|
192
|
+
width: 18px;
|
|
193
|
+
height: 18px;
|
|
194
|
+
}
|
|
195
|
+
@media (width >= 64rem) {
|
|
196
|
+
:is(.bk .bk-toolbar-button) svg {
|
|
197
|
+
width: 20px;
|
|
198
|
+
height: 20px;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
</style>
|
|
@@ -75,11 +75,17 @@ type __VLS_Props = {
|
|
|
75
75
|
*/
|
|
76
76
|
noCommand?: boolean;
|
|
77
77
|
};
|
|
78
|
-
declare var __VLS_7: {};
|
|
78
|
+
declare var __VLS_7: {}, __VLS_14: {}, __VLS_30: {};
|
|
79
79
|
type __VLS_Slots = {} & {
|
|
80
80
|
default?: (props: typeof __VLS_7) => any;
|
|
81
|
+
} & {
|
|
82
|
+
'icon-addon'?: (props: typeof __VLS_14) => any;
|
|
83
|
+
} & {
|
|
84
|
+
after?: (props: typeof __VLS_30) => any;
|
|
81
85
|
};
|
|
82
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
86
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
87
|
+
el: any;
|
|
88
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
89
|
click: (...args: any[]) => void;
|
|
84
90
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
85
91
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
@@ -5,5 +5,4 @@ import PluginItemAction from './ItemAction/index.vue.js';
|
|
|
5
5
|
import PluginSidebar from './Sidebar/index.vue.js';
|
|
6
6
|
import PluginToolbarButton from './ToolbarButton/index.vue.js';
|
|
7
7
|
import PluginTourItem from './TourItem/index.vue.js';
|
|
8
|
-
|
|
9
|
-
export { PluginBlockIndicator, PluginContextMenu, PluginDebugOverlay, PluginItemAction, PluginSidebar, PluginToolbarButton, PluginTourItem, PluginViewOption, };
|
|
8
|
+
export { PluginBlockIndicator, PluginContextMenu, PluginDebugOverlay, PluginItemAction, PluginSidebar, PluginToolbarButton, PluginTourItem, };
|
|
@@ -5,7 +5,6 @@ import PluginItemAction from "./ItemAction/index.vue";
|
|
|
5
5
|
import PluginSidebar from "./Sidebar/index.vue";
|
|
6
6
|
import PluginToolbarButton from "./ToolbarButton/index.vue";
|
|
7
7
|
import PluginTourItem from "./TourItem/index.vue";
|
|
8
|
-
import PluginViewOption from "./ViewOption/index.vue";
|
|
9
8
|
export {
|
|
10
9
|
PluginBlockIndicator,
|
|
11
10
|
PluginContextMenu,
|
|
@@ -13,6 +12,5 @@ export {
|
|
|
13
12
|
PluginItemAction,
|
|
14
13
|
PluginSidebar,
|
|
15
14
|
PluginToolbarButton,
|
|
16
|
-
PluginTourItem
|
|
17
|
-
PluginViewOption
|
|
15
|
+
PluginTourItem
|
|
18
16
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type ComputedRef } from '#imports';
|
|
2
|
+
import type { ColorOption } from '../types/config.js';
|
|
3
|
+
export type ConfigProvider = {
|
|
4
|
+
colorOptions: ComputedRef<ColorOption[]>;
|
|
5
|
+
getColorOption: (id: string) => ColorOption | undefined;
|
|
6
|
+
getColorHex: (id: string) => string;
|
|
7
|
+
};
|
|
8
|
+
export default function (): ConfigProvider;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { computed } from "#imports";
|
|
2
|
+
import { colorOptions as moduleColorOptions } from "#blokkli-build/editor-config";
|
|
3
|
+
export default function() {
|
|
4
|
+
const colorOptions = computed(
|
|
5
|
+
() => Object.entries(moduleColorOptions).map(([id, entry]) => ({
|
|
6
|
+
id,
|
|
7
|
+
hex: entry.hex,
|
|
8
|
+
label: entry.label
|
|
9
|
+
}))
|
|
10
|
+
);
|
|
11
|
+
function getColorOption(id) {
|
|
12
|
+
return colorOptions.value.find((c) => c.id === id);
|
|
13
|
+
}
|
|
14
|
+
function getColorHex(id) {
|
|
15
|
+
return getColorOption(id)?.hex || "#888888";
|
|
16
|
+
}
|
|
17
|
+
return { colorOptions, getColorOption, getColorHex };
|
|
18
|
+
}
|
|
@@ -92,6 +92,14 @@ export type DirectiveProvider = {
|
|
|
92
92
|
* @returns Array of editable fields for the block
|
|
93
93
|
*/
|
|
94
94
|
getEditablesForBlock: (uuid: string) => EditableFieldData[];
|
|
95
|
+
/**
|
|
96
|
+
* Get all currently registered editable fields, across both the host entity
|
|
97
|
+
* and all blocks. Intended for debug/test tooling that needs to enumerate
|
|
98
|
+
* every editable on the page.
|
|
99
|
+
*
|
|
100
|
+
* @returns Array of all 'editable' type directive fields
|
|
101
|
+
*/
|
|
102
|
+
getAllEditables: () => EditableFieldData[];
|
|
95
103
|
/**
|
|
96
104
|
* Get all droppable field elements.
|
|
97
105
|
*
|
|
@@ -217,6 +217,11 @@ export default function(debug, ui) {
|
|
|
217
217
|
}
|
|
218
218
|
return Object.values(editables).filter(falsy);
|
|
219
219
|
}
|
|
220
|
+
function getAllEditables() {
|
|
221
|
+
return [...fieldData.values()].filter(
|
|
222
|
+
(item) => item.directiveType === "editable"
|
|
223
|
+
);
|
|
224
|
+
}
|
|
220
225
|
function getDroppableElements() {
|
|
221
226
|
const droppableElements = [];
|
|
222
227
|
for (const item of fieldData.values()) {
|
|
@@ -266,6 +271,7 @@ export default function(debug, ui) {
|
|
|
266
271
|
getDroppableAtPoint,
|
|
267
272
|
findEditable,
|
|
268
273
|
getEditablesForBlock,
|
|
274
|
+
getAllEditables,
|
|
269
275
|
findEditableElement,
|
|
270
276
|
getDroppableElements,
|
|
271
277
|
registerValueElement,
|
|
@@ -17,11 +17,6 @@ export default function fieldValueProvider(directive, state, types, definitions,
|
|
|
17
17
|
)?.[0] ?? null;
|
|
18
18
|
}
|
|
19
19
|
function readFieldValue(fieldName, host) {
|
|
20
|
-
const element = directive.findEditableElement(fieldName, host);
|
|
21
|
-
if (!element) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
const editableData = directive.findEditable(fieldName, host);
|
|
25
20
|
const cfg = types.editableFieldConfig.forName(
|
|
26
21
|
host.type,
|
|
27
22
|
host.bundle,
|
|
@@ -31,8 +26,6 @@ export default function fieldValueProvider(directive, state, types, definitions,
|
|
|
31
26
|
return null;
|
|
32
27
|
}
|
|
33
28
|
const fieldType = cfg.type === "frame" || cfg.type === "markup" ? "markup" : "plain";
|
|
34
|
-
const isMarkup = cfg.type !== "plain";
|
|
35
|
-
const isComponent = !!editableData?.isComponent;
|
|
36
29
|
const providerDefinition = definitions.getProviderDefinition(
|
|
37
30
|
host.type,
|
|
38
31
|
host.bundle
|
|
@@ -54,15 +47,20 @@ export default function fieldValueProvider(directive, state, types, definitions,
|
|
|
54
47
|
matchingProp = findMatchingProp(mapping, fieldName);
|
|
55
48
|
}
|
|
56
49
|
}
|
|
50
|
+
if (matchingProp) {
|
|
51
|
+
const value2 = providerDefinition ? state.mutatedEntity.value[matchingProp] || "" : state.getFieldListItem(host.uuid)?.props?.[matchingProp] ?? "";
|
|
52
|
+
return { value: value2, fieldType };
|
|
53
|
+
}
|
|
54
|
+
const element = directive.findEditableElement(fieldName, host);
|
|
55
|
+
if (!element) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
const editableData = directive.findEditable(fieldName, host);
|
|
59
|
+
const isMarkup = cfg.type !== "plain";
|
|
60
|
+
const isComponent = !!editableData?.isComponent;
|
|
57
61
|
let value;
|
|
58
62
|
if (isComponent && editableData?.getValue) {
|
|
59
63
|
value = editableData.getValue();
|
|
60
|
-
} else if (matchingProp) {
|
|
61
|
-
if (providerDefinition) {
|
|
62
|
-
value = state.mutatedEntity.value[matchingProp] || "";
|
|
63
|
-
} else {
|
|
64
|
-
value = state.getFieldListItem(host.uuid)?.props?.[matchingProp] ?? "";
|
|
65
|
-
}
|
|
66
64
|
} else if (isMarkup) {
|
|
67
65
|
value = element.innerHTML;
|
|
68
66
|
} else {
|
|
@@ -39,17 +39,29 @@ export type HighlightItem = {
|
|
|
39
39
|
onClick: () => void;
|
|
40
40
|
};
|
|
41
41
|
type HighlightFunction = PluginAddFunction<HighlightItem>;
|
|
42
|
+
export type ViewOption = {
|
|
43
|
+
id: string;
|
|
44
|
+
label: string;
|
|
45
|
+
description: string;
|
|
46
|
+
icon: BlokkliIcon;
|
|
47
|
+
keyCode?: string;
|
|
48
|
+
tourText?: string;
|
|
49
|
+
weight?: number;
|
|
50
|
+
};
|
|
51
|
+
type ViewOptionFunction = PluginAddFunction<ViewOption>;
|
|
42
52
|
type PluginFunctionMap = {
|
|
43
53
|
addAction: AddActionFunction;
|
|
44
54
|
itemDropdownAction: ItemDropdownActionFunction;
|
|
45
55
|
menuButton: MenuButtonFunction;
|
|
46
56
|
highlight: HighlightFunction;
|
|
57
|
+
viewOption: ViewOptionFunction;
|
|
47
58
|
};
|
|
48
59
|
type PluginDataMap = {
|
|
49
60
|
addAction: AddAction;
|
|
50
61
|
itemDropdownAction: ItemDropdownAction;
|
|
51
62
|
menuButton: MenuButtonPlugin;
|
|
52
63
|
highlight: HighlightItem;
|
|
64
|
+
viewOption: ViewOption;
|
|
53
65
|
};
|
|
54
66
|
export type PluginProvider = {
|
|
55
67
|
/**
|
|
@@ -4,6 +4,7 @@ export default function() {
|
|
|
4
4
|
const itemDropdownActionPlugins = ref([]);
|
|
5
5
|
const menuButtonPlugins = ref([]);
|
|
6
6
|
const highlightPlugins = ref([]);
|
|
7
|
+
const viewOptionPlugins = ref([]);
|
|
7
8
|
function add(type, fn) {
|
|
8
9
|
if (type === "addAction") {
|
|
9
10
|
addActionPlugins.value.push(fn);
|
|
@@ -13,6 +14,8 @@ export default function() {
|
|
|
13
14
|
menuButtonPlugins.value.push(fn);
|
|
14
15
|
} else if (type === "highlight") {
|
|
15
16
|
highlightPlugins.value.push(fn);
|
|
17
|
+
} else if (type === "viewOption") {
|
|
18
|
+
viewOptionPlugins.value.push(fn);
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
function remove(type, fn) {
|
|
@@ -32,6 +35,10 @@ export default function() {
|
|
|
32
35
|
highlightPlugins.value = highlightPlugins.value.filter(
|
|
33
36
|
(v) => v !== fn
|
|
34
37
|
);
|
|
38
|
+
} else if (type === "viewOption") {
|
|
39
|
+
viewOptionPlugins.value = viewOptionPlugins.value.filter(
|
|
40
|
+
(v) => v !== fn
|
|
41
|
+
);
|
|
35
42
|
}
|
|
36
43
|
}
|
|
37
44
|
function get(type) {
|
|
@@ -44,6 +51,8 @@ export default function() {
|
|
|
44
51
|
storage = menuButtonPlugins.value;
|
|
45
52
|
} else if (type === "highlight") {
|
|
46
53
|
storage = highlightPlugins.value;
|
|
54
|
+
} else if (type === "viewOption") {
|
|
55
|
+
storage = viewOptionPlugins.value;
|
|
47
56
|
} else {
|
|
48
57
|
return [];
|
|
49
58
|
}
|
|
@@ -245,21 +245,5 @@ export type StateProvider = {
|
|
|
245
245
|
* @returns The parent entity UUID, or null if block not found
|
|
246
246
|
*/
|
|
247
247
|
getParentEntityUuid: (uuid: string) => string | null;
|
|
248
|
-
/**
|
|
249
|
-
* Mark block UUIDs as dirty for forced re-render.
|
|
250
|
-
*
|
|
251
|
-
* When code bypasses Vue's reactivity (e.g. direct innerHTML writes),
|
|
252
|
-
* the VDOM gets out of sync with the actual DOM. Calling markDirty
|
|
253
|
-
* schedules a forced re-render for the given blocks after the next
|
|
254
|
-
* successful mutation.
|
|
255
|
-
*/
|
|
256
|
-
markDirty: (...uuids: string[]) => void;
|
|
257
|
-
/**
|
|
258
|
-
* Force re-render all blocks marked as dirty.
|
|
259
|
-
*
|
|
260
|
-
* Call this when cancelling an operation that used setDiffHtml to restore
|
|
261
|
-
* the DOM from reactive state without going through a mutation.
|
|
262
|
-
*/
|
|
263
|
-
flushDirty: () => Promise<void>;
|
|
264
248
|
};
|
|
265
249
|
export default function (eventBus: BlokkliEventBus, adapter: BlokkliAdapter<any>, context: ComputedRef<AdapterContext>, $t: TextProvider, providerKey: string, permissions: EditPermission[]): Promise<StateProvider>;
|
|
@@ -25,21 +25,6 @@ function mapPublishOptions(context) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
export default async function(eventBus, adapter, context, $t, providerKey, permissions) {
|
|
28
|
-
const dirtyUuids = /* @__PURE__ */ new Set();
|
|
29
|
-
function markDirty(...uuids) {
|
|
30
|
-
for (const uuid of uuids) {
|
|
31
|
-
dirtyUuids.add(uuid);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
async function flushDirty() {
|
|
35
|
-
if (dirtyUuids.size === 0) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
const uuids = [...dirtyUuids];
|
|
39
|
-
dirtyUuids.clear();
|
|
40
|
-
await nextTick();
|
|
41
|
-
eventBus.emit("block:rerender", uuids);
|
|
42
|
-
}
|
|
43
28
|
let _mappedState = null;
|
|
44
29
|
const overrideHostOptions = useState("options:" + providerKey);
|
|
45
30
|
const stateLoaded = ref(false);
|
|
@@ -315,7 +300,6 @@ export default async function(eventBus, adapter, context, $t, providerKey, permi
|
|
|
315
300
|
const errorMessage2 = result.errors?.join("\n") || $t("unexpectedMutationError", "An unexpected error happened.");
|
|
316
301
|
throw new Error(errorMessage2);
|
|
317
302
|
}
|
|
318
|
-
await flushDirty();
|
|
319
303
|
if (successMessage) {
|
|
320
304
|
emitMessage(successMessage);
|
|
321
305
|
}
|
|
@@ -424,8 +408,6 @@ export default async function(eventBus, adapter, context, $t, providerKey, permi
|
|
|
424
408
|
fromLibraryUuids: readonly(fromLibraryUuids),
|
|
425
409
|
permissions: computed(() => permissions),
|
|
426
410
|
getFieldKeyForUuid,
|
|
427
|
-
getParentEntityUuid
|
|
428
|
-
markDirty,
|
|
429
|
-
flushDirty
|
|
411
|
+
getParentEntityUuid
|
|
430
412
|
};
|
|
431
413
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type TextOptions = {
|
|
2
|
+
/**
|
|
3
|
+
* Appends "..." to the string.
|
|
4
|
+
*/
|
|
5
|
+
more?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type TextProvider = (key: string, defaultValue?: string, options?: TextOptions) => string;
|
|
2
8
|
export default function (requestedLanguage: string): Promise<TextProvider>;
|
|
9
|
+
export {};
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
forceDefaultLanguage
|
|
8
8
|
} from "#blokkli-build/editor-config";
|
|
9
9
|
import { TRANSLATION_LANGUAGES } from "../../../global/constants";
|
|
10
|
+
import { HORIZONTAL_ELLIPSIS } from "../helpers/string/index.js";
|
|
10
11
|
function isInterfaceLanguage(value) {
|
|
11
12
|
return TRANSLATION_LANGUAGES.includes(value);
|
|
12
13
|
}
|
|
@@ -44,7 +45,9 @@ export default async function(requestedLanguage) {
|
|
|
44
45
|
});
|
|
45
46
|
}
|
|
46
47
|
await loadTranslations(translationLoaders, language);
|
|
47
|
-
return (key, defaultValue) => {
|
|
48
|
-
|
|
48
|
+
return (key, defaultValue, options) => {
|
|
49
|
+
const text = currentTranslations.value[key] || defaultValue || key;
|
|
50
|
+
const suffix = options?.more ? HORIZONTAL_ELLIPSIS : "";
|
|
51
|
+
return text + suffix;
|
|
49
52
|
};
|
|
50
53
|
}
|
|
@@ -2,12 +2,14 @@ import { type Ref, type ComputedRef } from '#imports';
|
|
|
2
2
|
import type { ShallowRef } from 'vue';
|
|
3
3
|
import type { StorageProvider } from './storage.js';
|
|
4
4
|
import type { GlobalUiDialog, SidebarRegion } from '#blokkli/editor/types/ui';
|
|
5
|
+
import { type BlokkliClipboardPayload } from '#blokkli/editor/types/clipboard';
|
|
5
6
|
import type { Viewport } from '../../../global/constants/index.js';
|
|
6
7
|
import type { AdapterContext } from '#blokkli/editor/adapter';
|
|
7
8
|
import type { ThemeColorName } from './../../../global/types/theme.js';
|
|
8
9
|
import type { ElementProvider } from './element.js';
|
|
9
|
-
import type
|
|
10
|
+
import { type BlokkliEventBus } from '../events/index.js';
|
|
10
11
|
import type { Coord, Rectangle, Size } from '../types/geometry.js';
|
|
12
|
+
import type { TextProvider } from './texts.js';
|
|
11
13
|
export type UiProvider = {
|
|
12
14
|
/**
|
|
13
15
|
* Get the Nuxt root element (#nuxt-root).
|
|
@@ -415,6 +417,31 @@ export type UiProvider = {
|
|
|
415
417
|
* only locks toolbar position.
|
|
416
418
|
*/
|
|
417
419
|
isChangingOptions: Ref<boolean>;
|
|
420
|
+
/**
|
|
421
|
+
* Register a handler that persists pending, not-yet-saved changes.
|
|
422
|
+
*
|
|
423
|
+
* Some features buffer changes locally while the user is interacting (e.g.
|
|
424
|
+
* the options form defers persisting option changes while the user tries
|
|
425
|
+
* them out). Such a feature registers a flush handler here so the rest of
|
|
426
|
+
* the editor can trigger and await that persistence via
|
|
427
|
+
* {@link flushPendingChanges}.
|
|
428
|
+
*
|
|
429
|
+
* Each handler is responsible for being safe to call when nothing is pending
|
|
430
|
+
* (resolve immediately) and for de-duping concurrent calls.
|
|
431
|
+
*
|
|
432
|
+
* @returns A function that unregisters the handler.
|
|
433
|
+
*/
|
|
434
|
+
registerFlushHandler: (handler: () => Promise<unknown>) => () => void;
|
|
435
|
+
/**
|
|
436
|
+
* Persist any pending changes from all registered flush handlers and resolve
|
|
437
|
+
* once they are done.
|
|
438
|
+
*
|
|
439
|
+
* Action buttons should await this before they run, so that an action which
|
|
440
|
+
* depends on persisted state (e.g. opening an edit form built from server
|
|
441
|
+
* state, or publishing) sees the latest values. Resolves immediately when no
|
|
442
|
+
* handlers are registered.
|
|
443
|
+
*/
|
|
444
|
+
flushPendingChanges: () => Promise<unknown>;
|
|
418
445
|
/**
|
|
419
446
|
* ID of the currently active (focused) highlight, or empty string.
|
|
420
447
|
*
|
|
@@ -426,5 +453,19 @@ export type UiProvider = {
|
|
|
426
453
|
* Whether the item actions are open.
|
|
427
454
|
*/
|
|
428
455
|
itemActionsOpen: Ref<boolean>;
|
|
456
|
+
copyTextToClipboard: (text: string | number) => void;
|
|
457
|
+
/**
|
|
458
|
+
* Write a typed blökkli clipboard payload to the system clipboard.
|
|
459
|
+
*
|
|
460
|
+
* Wraps the payload in a marker envelope so paste detection never
|
|
461
|
+
* confuses arbitrary user-pasted JSON with a blökkli payload. The
|
|
462
|
+
* `BlokkliClipboardPayload` discriminated union is augmentable by
|
|
463
|
+
* features (`#blokkli/editor/types/clipboard`), so each call site is
|
|
464
|
+
* type-checked against the registered clipboard types.
|
|
465
|
+
*
|
|
466
|
+
* Throws on `navigator.clipboard.writeText` failure so callers can
|
|
467
|
+
* surface a domain-specific error message.
|
|
468
|
+
*/
|
|
469
|
+
setClipboardData: (payload: BlokkliClipboardPayload) => Promise<void>;
|
|
429
470
|
};
|
|
430
|
-
export default function (eventBus: BlokkliEventBus, providerElement: HTMLElement, storage: StorageProvider, context: ComputedRef<AdapterContext>, element: ElementProvider, mainLayoutElement: Readonly<ShallowRef<HTMLDivElement | null>>, visibleViewportElement: Readonly<ShallowRef<HTMLDivElement | null
|
|
471
|
+
export default function (eventBus: BlokkliEventBus, providerElement: HTMLElement, storage: StorageProvider, context: ComputedRef<AdapterContext>, element: ElementProvider, mainLayoutElement: Readonly<ShallowRef<HTMLDivElement | null>>, visibleViewportElement: Readonly<ShallowRef<HTMLDivElement | null>>, $t: TextProvider): UiProvider;
|