@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
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
query pbExportParagraphs(
|
|
2
|
+
$entityType: EntityType!
|
|
3
|
+
$entityUuid: String!
|
|
4
|
+
$langcode: String!
|
|
5
|
+
$paragraphUuids: [String!]!
|
|
6
|
+
) {
|
|
7
|
+
result: paragraphsBlokkliExportParagraphs(
|
|
8
|
+
entityType: $entityType
|
|
9
|
+
entityUuid: $entityUuid
|
|
10
|
+
langcode: $langcode
|
|
11
|
+
paragraphUuids: $paragraphUuids
|
|
12
|
+
) {
|
|
13
|
+
bundles
|
|
14
|
+
transferable
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
mutation pbImport(
|
|
19
|
+
$entityType: EntityType!
|
|
20
|
+
$entityUuid: String!
|
|
21
|
+
$langcode: String
|
|
22
|
+
$transferable: String!
|
|
23
|
+
$hostType: String!
|
|
24
|
+
$hostUuid: String!
|
|
25
|
+
$hostFieldName: String!
|
|
26
|
+
$afterUuid: String
|
|
27
|
+
) {
|
|
28
|
+
state: paragraphsEditMutationState(
|
|
29
|
+
entityType: $entityType
|
|
30
|
+
entityUuid: $entityUuid
|
|
31
|
+
) {
|
|
32
|
+
action: import(
|
|
33
|
+
transferable: $transferable
|
|
34
|
+
hostType: $hostType
|
|
35
|
+
hostUuid: $hostUuid
|
|
36
|
+
hostFieldName: $hostFieldName
|
|
37
|
+
afterUuid: $afterUuid
|
|
38
|
+
) {
|
|
39
|
+
...paragraphsBlokkliMutationResult
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
fragment paragraphsBlokkliComment on
|
|
1
|
+
fragment paragraphsBlokkliComment on ParagraphsBlokkliComment {
|
|
2
2
|
uuid
|
|
3
|
-
blockUuids
|
|
4
|
-
resolved
|
|
5
|
-
body
|
|
6
|
-
created
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
blockUuids
|
|
4
|
+
resolved
|
|
5
|
+
body
|
|
6
|
+
created
|
|
7
|
+
updated
|
|
8
|
+
parentUuid
|
|
9
|
+
user {
|
|
10
|
+
id
|
|
11
|
+
name
|
|
12
|
+
imageUrl
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -35,6 +35,7 @@ mutation pbAddComment(
|
|
|
35
35
|
$langcode: String!
|
|
36
36
|
$blockUuids: [String]!
|
|
37
37
|
$body: String!
|
|
38
|
+
$parentUuid: String
|
|
38
39
|
) {
|
|
39
40
|
action: paragraphsBlokkliAddComment(
|
|
40
41
|
entityType: $entityType
|
|
@@ -42,6 +43,41 @@ mutation pbAddComment(
|
|
|
42
43
|
langcode: $langcode
|
|
43
44
|
body: $body
|
|
44
45
|
paragraphUuids: $blockUuids
|
|
46
|
+
parentUuid: $parentUuid
|
|
47
|
+
) {
|
|
48
|
+
...paragraphsBlokkliComment
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
mutation pbEditComment(
|
|
53
|
+
$entityType: EntityType!
|
|
54
|
+
$entityUuid: String!
|
|
55
|
+
$langcode: String!
|
|
56
|
+
$uuid: String!
|
|
57
|
+
$body: String!
|
|
58
|
+
) {
|
|
59
|
+
action: paragraphsBlokkliEditComment(
|
|
60
|
+
entityType: $entityType
|
|
61
|
+
entityUuid: $entityUuid
|
|
62
|
+
langcode: $langcode
|
|
63
|
+
uuid: $uuid
|
|
64
|
+
body: $body
|
|
65
|
+
) {
|
|
66
|
+
...paragraphsBlokkliComment
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
mutation pbDeleteComment(
|
|
71
|
+
$entityType: EntityType!
|
|
72
|
+
$entityUuid: String!
|
|
73
|
+
$langcode: String!
|
|
74
|
+
$uuid: String!
|
|
75
|
+
) {
|
|
76
|
+
action: paragraphsBlokkliDeleteComment(
|
|
77
|
+
entityType: $entityType
|
|
78
|
+
entityUuid: $entityUuid
|
|
79
|
+
langcode: $langcode
|
|
80
|
+
uuid: $uuid
|
|
45
81
|
) {
|
|
46
82
|
...paragraphsBlokkliComment
|
|
47
83
|
}
|
|
@@ -62,3 +98,37 @@ mutation pbResolveComment(
|
|
|
62
98
|
...paragraphsBlokkliComment
|
|
63
99
|
}
|
|
64
100
|
}
|
|
101
|
+
|
|
102
|
+
mutation pbUnresolveComment(
|
|
103
|
+
$entityType: EntityType!
|
|
104
|
+
$entityUuid: String!
|
|
105
|
+
$langcode: String!
|
|
106
|
+
$uuid: String!
|
|
107
|
+
) {
|
|
108
|
+
action: paragraphsBlokkliUnresolveComment(
|
|
109
|
+
entityType: $entityType
|
|
110
|
+
entityUuid: $entityUuid
|
|
111
|
+
langcode: $langcode
|
|
112
|
+
uuid: $uuid
|
|
113
|
+
) {
|
|
114
|
+
...paragraphsBlokkliComment
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
mutation pbToggleCommentTaskItem(
|
|
119
|
+
$entityType: EntityType!
|
|
120
|
+
$entityUuid: String!
|
|
121
|
+
$langcode: String!
|
|
122
|
+
$uuid: String!
|
|
123
|
+
$taskIndex: Int!
|
|
124
|
+
) {
|
|
125
|
+
action: paragraphsBlokkliToggleCommentTaskItem(
|
|
126
|
+
entityType: $entityType
|
|
127
|
+
entityUuid: $entityUuid
|
|
128
|
+
langcode: $langcode
|
|
129
|
+
uuid: $uuid
|
|
130
|
+
taskIndex: $taskIndex
|
|
131
|
+
) {
|
|
132
|
+
...paragraphsBlokkliComment
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
fragment paragraphsBlokkliNotification on ParagraphsBlokkliNotification {
|
|
2
|
+
uuid
|
|
3
|
+
type
|
|
4
|
+
read
|
|
5
|
+
created
|
|
6
|
+
title
|
|
7
|
+
message
|
|
8
|
+
relatedEntityUuid
|
|
9
|
+
user {
|
|
10
|
+
id
|
|
11
|
+
name
|
|
12
|
+
imageUrl
|
|
13
|
+
}
|
|
14
|
+
host {
|
|
15
|
+
entityType
|
|
16
|
+
entityUuid
|
|
17
|
+
entityBundle
|
|
18
|
+
label
|
|
19
|
+
url
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
query pbGetNotifications($after: String, $markAsRead: Boolean) {
|
|
24
|
+
result: pbGetNotifications(after: $after, markAsRead: $markAsRead) {
|
|
25
|
+
items {
|
|
26
|
+
...paragraphsBlokkliNotification
|
|
27
|
+
}
|
|
28
|
+
unreadCount
|
|
29
|
+
nextCursor
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
query pbGetNotificationCount {
|
|
34
|
+
count: pbGetNotificationCount
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
mutation pbMarkNotificationsAsRead($uuids: [String!]) {
|
|
38
|
+
count: pbMarkNotificationsAsRead(uuids: $uuids)
|
|
39
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { B as BlokkliModule } from '../../shared/editor.
|
|
1
|
+
import { B as BlokkliModule } from '../../shared/editor.D28NbXr3.mjs';
|
|
2
2
|
import 'nuxt/schema';
|
|
3
3
|
import 'consola';
|
|
4
4
|
import '../../../dist/global/types/definitions.js';
|
|
5
5
|
import '../../../dist/global/types/theme.js';
|
|
6
|
+
import '../../../dist/global/types/colorOptions.js';
|
|
6
7
|
import '@nuxt/kit';
|
|
7
8
|
import '../../../dist/global/types/features.js';
|
|
8
9
|
|
|
@@ -119,6 +119,9 @@ export declare const templateEditRouteName: string|null
|
|
|
119
119
|
base.forEach((fileName) => {
|
|
120
120
|
addGraphqlDocument("base/" + fileName);
|
|
121
121
|
});
|
|
122
|
+
if (queryFields.has("paragraphsBlokkliGetUsers")) {
|
|
123
|
+
addGraphqlDocument("base/query.pbUsers.graphql");
|
|
124
|
+
}
|
|
122
125
|
addMutation("add");
|
|
123
126
|
addMutation("swap");
|
|
124
127
|
addMutation("rearrange");
|
|
@@ -160,11 +163,16 @@ export declare const templateEditRouteName: string|null
|
|
|
160
163
|
}
|
|
161
164
|
addMutation("ignore_analyze");
|
|
162
165
|
addMutation("unignore_analyze");
|
|
163
|
-
if (graphql.schemaHasType("
|
|
166
|
+
if (graphql.schemaHasType("ParagraphsBlokkliComment")) {
|
|
164
167
|
addGraphqlDocument("features/comments.graphql");
|
|
165
168
|
} else {
|
|
166
169
|
context.features.disableFeature("comments");
|
|
167
170
|
}
|
|
171
|
+
if (queryFields.has("pbGetNotifications") && queryFields.has("pbGetNotificationCount") && mutationFields.has("pbMarkNotificationsAsRead")) {
|
|
172
|
+
addGraphqlDocument("features/notifications.graphql");
|
|
173
|
+
} else {
|
|
174
|
+
context.features.disableFeature("notifications");
|
|
175
|
+
}
|
|
168
176
|
if (mutationFields.has("paragraphsBlokkliAgentToken")) {
|
|
169
177
|
addGraphqlDocument("features/agent.graphql");
|
|
170
178
|
} else {
|
|
@@ -203,6 +211,11 @@ export declare const templateEditRouteName: string|null
|
|
|
203
211
|
} else {
|
|
204
212
|
context.features.disableFeature("import-existing");
|
|
205
213
|
}
|
|
214
|
+
if (editMutationStateFields.has("import") && queryFields.has("paragraphsBlokkliExportParagraphs")) {
|
|
215
|
+
addGraphqlDocument("features/block-transfer.graphql");
|
|
216
|
+
} else {
|
|
217
|
+
context.features.disableFeature("block-transfer");
|
|
218
|
+
}
|
|
206
219
|
if (queryFields.has("pbMediaLibraryGetResults")) {
|
|
207
220
|
addGraphqlDocument("features/media-library.graphql");
|
|
208
221
|
} else {
|
|
@@ -13,6 +13,17 @@ import {
|
|
|
13
13
|
useRouter
|
|
14
14
|
} from "#imports";
|
|
15
15
|
import { ParagraphsBlokkliRemoteVideoProvider } from "#graphql-operations";
|
|
16
|
+
import { toValidNotificationType } from "#blokkli/editor/features/notifications/types";
|
|
17
|
+
function mapBlokkliUser(user) {
|
|
18
|
+
if (!user) {
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
id: String(user.id),
|
|
23
|
+
name: user.name,
|
|
24
|
+
imageUrl: user.imageUrl ?? null
|
|
25
|
+
};
|
|
26
|
+
}
|
|
16
27
|
function mapPublishOptions(publishOptions) {
|
|
17
28
|
return {
|
|
18
29
|
canPublish: !!publishOptions.canPublish,
|
|
@@ -32,7 +43,10 @@ const PERMISSION_FIELDS = {
|
|
|
32
43
|
edit_library_item: "edit_library_item",
|
|
33
44
|
create_comments: "create_comments",
|
|
34
45
|
view_comments: "view_comments",
|
|
35
|
-
use_agent: "use_agent"
|
|
46
|
+
use_agent: "use_agent",
|
|
47
|
+
manage_agent_conversations: "manage_agent_conversations",
|
|
48
|
+
list_users: "list_users",
|
|
49
|
+
transfer_blocks: "transfer_blocks"
|
|
36
50
|
};
|
|
37
51
|
function mapUserPermissions(user) {
|
|
38
52
|
return Object.entries(PERMISSION_FIELDS).filter(([, field]) => user[field] === true).map(([permission]) => permission);
|
|
@@ -135,7 +149,7 @@ export default defineBlokkliEditAdapter(
|
|
|
135
149
|
}).then((v) => {
|
|
136
150
|
return {
|
|
137
151
|
clipboard: v.data.clipboards || [],
|
|
138
|
-
|
|
152
|
+
currentUser: v.data.currentUser,
|
|
139
153
|
availableFeatures: v.data.features,
|
|
140
154
|
allTypes: (v.data.allTypes.items || []).map((v2) => {
|
|
141
155
|
if (v2 && "id" in v2 && v2.id) {
|
|
@@ -325,6 +339,33 @@ export default defineBlokkliEditAdapter(
|
|
|
325
339
|
errors: (action?.errors ?? []).filter(falsy)
|
|
326
340
|
};
|
|
327
341
|
};
|
|
342
|
+
const mapImportSummary = (summary) => {
|
|
343
|
+
return {
|
|
344
|
+
paragraphsImported: summary.paragraphsImported,
|
|
345
|
+
referencesResolvedByUuid: summary.referencesResolvedByUuid,
|
|
346
|
+
skippedBundles: summary.skippedBundles.map((s) => ({
|
|
347
|
+
bundle: s.bundle,
|
|
348
|
+
count: s.count
|
|
349
|
+
})),
|
|
350
|
+
droppedFields: summary.droppedFields.map((d) => ({
|
|
351
|
+
bundle: d.bundle,
|
|
352
|
+
fieldName: d.fieldName
|
|
353
|
+
})),
|
|
354
|
+
referencesResolvedByLabel: summary.referencesResolvedByLabel.map(
|
|
355
|
+
(r) => ({
|
|
356
|
+
entityType: r.entityType,
|
|
357
|
+
label: r.label,
|
|
358
|
+
targetId: r.targetId
|
|
359
|
+
})
|
|
360
|
+
),
|
|
361
|
+
referencesUnresolved: summary.referencesUnresolved.map((r) => ({
|
|
362
|
+
entityType: r.entityType,
|
|
363
|
+
uuid: r.uuid ?? null,
|
|
364
|
+
label: r.label ?? null,
|
|
365
|
+
reason: r.reason
|
|
366
|
+
}))
|
|
367
|
+
};
|
|
368
|
+
};
|
|
328
369
|
const route = useRoute();
|
|
329
370
|
const router = useRouter();
|
|
330
371
|
const changeLanguage = (translation) => {
|
|
@@ -403,9 +444,24 @@ export default defineBlokkliEditAdapter(
|
|
|
403
444
|
addNewBlock,
|
|
404
445
|
buildEditableFrameUrl,
|
|
405
446
|
getUserPermissions: function() {
|
|
406
|
-
const permissions = config.
|
|
447
|
+
const permissions = config.currentUser ? mapUserPermissions(config.currentUser) : [];
|
|
407
448
|
return Promise.resolve(permissions);
|
|
408
449
|
},
|
|
450
|
+
getCurrentUser: () => {
|
|
451
|
+
const user = config.currentUser;
|
|
452
|
+
if (!user || user.id == null || !user.name) {
|
|
453
|
+
return Promise.reject(
|
|
454
|
+
new Error(
|
|
455
|
+
"paragraphsBlokkliGetUser did not return a valid id/name."
|
|
456
|
+
)
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
return Promise.resolve({
|
|
460
|
+
id: String(user.id),
|
|
461
|
+
name: user.name,
|
|
462
|
+
imageUrl: user.imageUrl ?? null
|
|
463
|
+
});
|
|
464
|
+
},
|
|
409
465
|
changeLanguage,
|
|
410
466
|
formFrameBuilder,
|
|
411
467
|
getAllBundles,
|
|
@@ -441,6 +497,9 @@ export default defineBlokkliEditAdapter(
|
|
|
441
497
|
return null;
|
|
442
498
|
}
|
|
443
499
|
};
|
|
500
|
+
if (hasQuery("pbUsers")) {
|
|
501
|
+
adapter.getBlokkliUsers = () => useGraphqlQuery("pbUsers").then((v) => v.data.users ?? []);
|
|
502
|
+
}
|
|
444
503
|
if (hasQuery("pbPublishOptions")) {
|
|
445
504
|
adapter.getPublishOptions = () => useGraphqlQuery("pbPublishOptions", ctx.value).then((v) => {
|
|
446
505
|
const options = v.data.state?.publishOptions;
|
|
@@ -649,10 +708,10 @@ export default defineBlokkliEditAdapter(
|
|
|
649
708
|
blockUuids: (item.blockUuids || []).filter(falsy),
|
|
650
709
|
resolved: !!item.resolved,
|
|
651
710
|
body: item.body || "",
|
|
652
|
-
created: item.created
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
711
|
+
created: item.created || "",
|
|
712
|
+
updated: item.updated || void 0,
|
|
713
|
+
parentUuid: item.parentUuid || void 0,
|
|
714
|
+
user: mapBlokkliUser(item.user)
|
|
656
715
|
};
|
|
657
716
|
}
|
|
658
717
|
return null;
|
|
@@ -668,6 +727,25 @@ export default defineBlokkliEditAdapter(
|
|
|
668
727
|
blockUuids,
|
|
669
728
|
body
|
|
670
729
|
}).then((v) => mapComments(v.data.action || []));
|
|
730
|
+
adapter.replyToComment = (parentUuid, body) => useGraphqlMutation("pbAddComment", {
|
|
731
|
+
...ctx.value,
|
|
732
|
+
blockUuids: [],
|
|
733
|
+
body,
|
|
734
|
+
parentUuid
|
|
735
|
+
}).then((v) => mapComments(v.data.action || []));
|
|
736
|
+
}
|
|
737
|
+
if (hasMutation("pbEditComment")) {
|
|
738
|
+
adapter.editComment = (uuid, body) => useGraphqlMutation("pbEditComment", {
|
|
739
|
+
...ctx.value,
|
|
740
|
+
uuid,
|
|
741
|
+
body
|
|
742
|
+
}).then((v) => mapComments(v.data.action || []));
|
|
743
|
+
}
|
|
744
|
+
if (hasMutation("pbDeleteComment")) {
|
|
745
|
+
adapter.deleteComment = (uuid) => useGraphqlMutation("pbDeleteComment", {
|
|
746
|
+
...ctx.value,
|
|
747
|
+
uuid
|
|
748
|
+
}).then((v) => mapComments(v.data.action || []));
|
|
671
749
|
}
|
|
672
750
|
if (hasMutation("pbResolveComment")) {
|
|
673
751
|
adapter.resolveComment = (uuid) => useGraphqlMutation("pbResolveComment", {
|
|
@@ -675,6 +753,66 @@ export default defineBlokkliEditAdapter(
|
|
|
675
753
|
uuid
|
|
676
754
|
}).then((v) => mapComments(v.data.action || []));
|
|
677
755
|
}
|
|
756
|
+
if (hasMutation("pbUnresolveComment")) {
|
|
757
|
+
adapter.unresolveComment = (uuid) => useGraphqlMutation("pbUnresolveComment", {
|
|
758
|
+
...ctx.value,
|
|
759
|
+
uuid
|
|
760
|
+
}).then((v) => mapComments(v.data.action || []));
|
|
761
|
+
}
|
|
762
|
+
if (hasMutation("pbToggleCommentTaskItem")) {
|
|
763
|
+
adapter.toggleCommentTask = (uuid, taskIndex) => useGraphqlMutation("pbToggleCommentTaskItem", {
|
|
764
|
+
...ctx.value,
|
|
765
|
+
uuid,
|
|
766
|
+
taskIndex
|
|
767
|
+
}).then((v) => {
|
|
768
|
+
const updated = mapComments(v.data.action || []).find(
|
|
769
|
+
(c) => c.uuid === uuid
|
|
770
|
+
);
|
|
771
|
+
if (!updated) {
|
|
772
|
+
throw new Error(
|
|
773
|
+
`Comment ${uuid} not found in toggleCommentTask response.`
|
|
774
|
+
);
|
|
775
|
+
}
|
|
776
|
+
return updated;
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
if (hasQuery("pbGetNotifications")) {
|
|
780
|
+
adapter.loadNotifications = (options) => useGraphqlQuery("pbGetNotifications", {
|
|
781
|
+
after: options.after,
|
|
782
|
+
markAsRead: options.markAsRead
|
|
783
|
+
}).then((v) => {
|
|
784
|
+
const result = v.data.result;
|
|
785
|
+
return {
|
|
786
|
+
items: (result?.items ?? []).map((item) => ({
|
|
787
|
+
uuid: item.uuid,
|
|
788
|
+
type: toValidNotificationType(item.type),
|
|
789
|
+
read: item.read,
|
|
790
|
+
created: item.created,
|
|
791
|
+
title: item.title,
|
|
792
|
+
message: item.message ?? void 0,
|
|
793
|
+
relatedEntityUuid: item.relatedEntityUuid ?? void 0,
|
|
794
|
+
user: mapBlokkliUser(item.user),
|
|
795
|
+
host: item.host ? {
|
|
796
|
+
uuid: item.host.entityUuid,
|
|
797
|
+
entityType: item.host.entityType,
|
|
798
|
+
entityBundle: item.host.entityBundle,
|
|
799
|
+
label: item.host.label ?? "",
|
|
800
|
+
url: item.host.url ?? ""
|
|
801
|
+
} : null
|
|
802
|
+
})),
|
|
803
|
+
nextCursor: result?.nextCursor ?? null,
|
|
804
|
+
unreadCount: result?.unreadCount ?? 0
|
|
805
|
+
};
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
if (hasQuery("pbGetNotificationCount")) {
|
|
809
|
+
adapter.loadUnreadNotificationsCount = () => useGraphqlQuery("pbGetNotificationCount").then((v) => v.data.count ?? 0);
|
|
810
|
+
}
|
|
811
|
+
if (hasMutation("pbMarkNotificationsAsRead")) {
|
|
812
|
+
adapter.markAllNotificationsAsRead = () => useGraphqlMutation("pbMarkNotificationsAsRead", {
|
|
813
|
+
uuids: void 0
|
|
814
|
+
}).then((v) => v.data.count);
|
|
815
|
+
}
|
|
678
816
|
if (hasQuery("pbReferencedEntities")) {
|
|
679
817
|
adapter.getReferencedEntities = (uuids) => useGraphqlQuery("pbReferencedEntities", {
|
|
680
818
|
...ctx.value,
|
|
@@ -1318,54 +1456,104 @@ export default defineBlokkliEditAdapter(
|
|
|
1318
1456
|
);
|
|
1319
1457
|
};
|
|
1320
1458
|
}
|
|
1321
|
-
if (hasMutation("pbAgentConversationUpsert") && hasMutation("pbAgentConversationDelete") && hasQuery("
|
|
1322
|
-
const
|
|
1323
|
-
|
|
1324
|
-
|
|
1459
|
+
if (hasMutation("pbAgentConversationUpsert") && hasMutation("pbAgentConversationDelete") && hasQuery("pbAgentConversation") && hasQuery("pbAgentConversationLatest") && hasQuery("pbAgentConversations")) {
|
|
1460
|
+
const hostInput = () => ({
|
|
1461
|
+
entityType: providedContext.value.entityType,
|
|
1462
|
+
entityUuid: providedContext.value.entityUuid
|
|
1463
|
+
});
|
|
1464
|
+
const mapFeedback = (f) => ({
|
|
1465
|
+
id: f.id,
|
|
1466
|
+
createdAt: f.createdAt,
|
|
1467
|
+
rating: f.rating,
|
|
1468
|
+
comment: f.explanation ?? null,
|
|
1469
|
+
itemId: f.itemId,
|
|
1470
|
+
author: mapBlokkliUser(f.author),
|
|
1471
|
+
conversationUuid: f.conversationUuid
|
|
1325
1472
|
});
|
|
1473
|
+
const mapConversation = (c) => {
|
|
1474
|
+
if (!c) return null;
|
|
1475
|
+
return {
|
|
1476
|
+
uuid: c.uuid,
|
|
1477
|
+
title: c.title,
|
|
1478
|
+
createdAt: c.createdAt,
|
|
1479
|
+
updatedAt: c.updatedAt,
|
|
1480
|
+
host: c.host ? {
|
|
1481
|
+
entityType: c.host.entityType,
|
|
1482
|
+
entityUuid: c.host.entityUuid,
|
|
1483
|
+
label: c.host.label ?? null,
|
|
1484
|
+
editUrl: c.host.editUrl ?? null
|
|
1485
|
+
} : null,
|
|
1486
|
+
author: mapBlokkliUser(c.author),
|
|
1487
|
+
clientState: c.clientState,
|
|
1488
|
+
serverState: c.serverState,
|
|
1489
|
+
hash: c.hash,
|
|
1490
|
+
feedbackItemIds: c.feedback.map((f) => f.itemId),
|
|
1491
|
+
feedback: c.feedback.map(mapFeedback)
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1326
1494
|
adapter.agentConversations = {
|
|
1327
1495
|
upsert: (data) => useGraphqlMutation("pbAgentConversationUpsert", {
|
|
1328
|
-
...
|
|
1496
|
+
...{
|
|
1497
|
+
hostEntityType: providedContext.value.entityType,
|
|
1498
|
+
hostEntityUuid: providedContext.value.entityUuid
|
|
1499
|
+
},
|
|
1329
1500
|
uuid: data.uuid,
|
|
1330
1501
|
title: data.title,
|
|
1331
1502
|
dataUser: data.clientState,
|
|
1332
1503
|
dataServer: data.serverState,
|
|
1333
1504
|
hash: data.hash
|
|
1334
1505
|
}).then((v) => v.data.result.success),
|
|
1335
|
-
load: (uuid) => useGraphqlQuery("pbAgentConversation", {
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
feedbackItemIds: c.feedback.map((f) => f.itemId)
|
|
1344
|
-
};
|
|
1345
|
-
}),
|
|
1346
|
-
loadLatest: () => useGraphqlQuery("pbAgentConversation", hostParams()).then((v) => {
|
|
1347
|
-
const c = v.data.conversation;
|
|
1348
|
-
if (!c) return null;
|
|
1349
|
-
return {
|
|
1350
|
-
...c,
|
|
1351
|
-
feedbackItemIds: c.feedback.map((f) => f.itemId)
|
|
1352
|
-
};
|
|
1353
|
-
}),
|
|
1354
|
-
list: () => useGraphqlQuery("pbAgentConversations", hostParams()).then(
|
|
1355
|
-
(v) => v.data.conversations
|
|
1506
|
+
load: (uuid) => useGraphqlQuery("pbAgentConversation", { uuid }).then(
|
|
1507
|
+
(v) => mapConversation(v.data.conversation)
|
|
1508
|
+
),
|
|
1509
|
+
loadLatest: () => useGraphqlQuery("pbAgentConversationLatest", {
|
|
1510
|
+
host: hostInput()
|
|
1511
|
+
}).then((v) => mapConversation(v.data.conversation)),
|
|
1512
|
+
list: () => useGraphqlQuery("pbAgentConversations", { host: hostInput() }).then(
|
|
1513
|
+
(v) => v.data.result.items
|
|
1356
1514
|
),
|
|
1357
1515
|
delete: (uuid) => useGraphqlMutation("pbAgentConversationDelete", { uuid }).then(
|
|
1358
1516
|
(v) => v.data.result.success
|
|
1359
1517
|
)
|
|
1360
1518
|
};
|
|
1361
1519
|
if (hasMutation("pbAgentConversationFeedback")) {
|
|
1362
|
-
adapter.
|
|
1520
|
+
adapter.agentConversations.submitFeedback = (feedback) => useGraphqlMutation("pbAgentConversationFeedback", {
|
|
1363
1521
|
uuid: feedback.conversationId,
|
|
1364
1522
|
itemId: feedback.lastItemId,
|
|
1365
1523
|
rating: feedback.rating,
|
|
1366
1524
|
explanation: feedback.comment
|
|
1367
1525
|
}).then((v) => v.data.result.success);
|
|
1368
1526
|
}
|
|
1527
|
+
if (hasQuery("pbAgentConversationsAll")) {
|
|
1528
|
+
adapter.agentConversations.queryConversations = (e) => useGraphqlQuery("pbAgentConversationsAll", { page: e.page }).then(
|
|
1529
|
+
(v) => ({
|
|
1530
|
+
filters: mapPluginConfigInputs(v.data.result.filters),
|
|
1531
|
+
items: v.data.result.items.map((c) => ({
|
|
1532
|
+
uuid: c.uuid,
|
|
1533
|
+
title: c.title,
|
|
1534
|
+
createdAt: c.createdAt,
|
|
1535
|
+
updatedAt: c.updatedAt,
|
|
1536
|
+
host: c.host ? {
|
|
1537
|
+
entityType: c.host.entityType,
|
|
1538
|
+
entityUuid: c.host.entityUuid,
|
|
1539
|
+
label: c.host.label ?? null,
|
|
1540
|
+
editUrl: c.host.editUrl ?? null
|
|
1541
|
+
} : null,
|
|
1542
|
+
author: mapBlokkliUser(c.author)
|
|
1543
|
+
})),
|
|
1544
|
+
perPage: v.data.result.perPage,
|
|
1545
|
+
total: v.data.result.total
|
|
1546
|
+
})
|
|
1547
|
+
);
|
|
1548
|
+
}
|
|
1549
|
+
if (hasQuery("pbAgentFeedbackAll")) {
|
|
1550
|
+
adapter.agentConversations.queryFeedback = (e) => useGraphqlQuery("pbAgentFeedbackAll", { page: e.page }).then((v) => ({
|
|
1551
|
+
filters: mapPluginConfigInputs(v.data.result.filters),
|
|
1552
|
+
items: v.data.result.items.map(mapFeedback),
|
|
1553
|
+
perPage: v.data.result.perPage,
|
|
1554
|
+
total: v.data.result.total
|
|
1555
|
+
}));
|
|
1556
|
+
}
|
|
1369
1557
|
}
|
|
1370
1558
|
if (hasMutation("pbBulkUpdateFieldValues")) {
|
|
1371
1559
|
adapter.updateFieldValueBatched = (data) => {
|
|
@@ -1407,6 +1595,43 @@ export default defineBlokkliEditAdapter(
|
|
|
1407
1595
|
...ctx.value,
|
|
1408
1596
|
ids: identifiers
|
|
1409
1597
|
}).then(mapMutation);
|
|
1598
|
+
if (hasQuery("pbExportParagraphs")) {
|
|
1599
|
+
adapter.exportBlocksToTransferable = (e) => useGraphqlQuery("pbExportParagraphs", {
|
|
1600
|
+
...ctx.value,
|
|
1601
|
+
paragraphUuids: e.uuids
|
|
1602
|
+
}).then((v) => {
|
|
1603
|
+
const result = v.data.result;
|
|
1604
|
+
if (!result || !result.transferable) {
|
|
1605
|
+
return null;
|
|
1606
|
+
}
|
|
1607
|
+
return {
|
|
1608
|
+
bundles: (result.bundles ?? []).filter(falsy),
|
|
1609
|
+
transferable: result.transferable
|
|
1610
|
+
};
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
if (hasMutation("pbImport")) {
|
|
1614
|
+
adapter.importBlocksFromTransferable = (e) => useGraphqlMutation("pbImport", {
|
|
1615
|
+
...ctx.value,
|
|
1616
|
+
transferable: e.transferable,
|
|
1617
|
+
hostType: e.host.type,
|
|
1618
|
+
hostUuid: e.host.uuid,
|
|
1619
|
+
hostFieldName: e.host.fieldName,
|
|
1620
|
+
afterUuid: e.afterUuid
|
|
1621
|
+
}).then((v) => {
|
|
1622
|
+
const base = mapMutation(v);
|
|
1623
|
+
const mutations = base.state?.mutations ?? [];
|
|
1624
|
+
let importSummary;
|
|
1625
|
+
for (let i = mutations.length - 1; i >= 0; i--) {
|
|
1626
|
+
const summary = mutations[i]?.plugin?.importSummary;
|
|
1627
|
+
if (summary) {
|
|
1628
|
+
importSummary = mapImportSummary(summary);
|
|
1629
|
+
break;
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
return { ...base, importSummary };
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1410
1635
|
return adapter;
|
|
1411
1636
|
}
|
|
1412
1637
|
);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { B as BlokkliModule } from '../../shared/editor.
|
|
1
|
+
import { B as BlokkliModule } from '../../shared/editor.D28NbXr3.mjs';
|
|
2
2
|
import 'nuxt/schema';
|
|
3
3
|
import 'consola';
|
|
4
4
|
import '../../../dist/global/types/definitions.js';
|
|
5
5
|
import '../../../dist/global/types/theme.js';
|
|
6
|
+
import '../../../dist/global/types/colorOptions.js';
|
|
6
7
|
import '@nuxt/kit';
|
|
7
8
|
import '../../../dist/global/types/features.js';
|
|
8
9
|
|
|
@@ -86,8 +86,10 @@
|
|
|
86
86
|
v-for="(vp, key) in VIEWPORTS"
|
|
87
87
|
:key="key"
|
|
88
88
|
type="button"
|
|
89
|
-
class="bk-button bk-is-small"
|
|
90
|
-
:class="{
|
|
89
|
+
class="bk-button bk-scheme-mono bk-is-light bk-is-small"
|
|
90
|
+
:class="{
|
|
91
|
+
'bk-scheme-accent bk-is-dark': containerWidth === vp.width
|
|
92
|
+
}"
|
|
91
93
|
@click="containerWidth = vp.width"
|
|
92
94
|
>
|
|
93
95
|
{{ vp.label }} ({{ vp.width }}px)
|
package/dist/modules/index.d.mts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { b as Blokkli, B as BlokkliModule, d as defineBlokkliModule } from '../shared/editor.
|
|
1
|
+
export { b as Blokkli, B as BlokkliModule, d as defineBlokkliModule } from '../shared/editor.D28NbXr3.mjs';
|
|
2
2
|
import 'nuxt/schema';
|
|
3
3
|
import 'consola';
|
|
4
4
|
import '../../dist/global/types/definitions.js';
|
|
5
5
|
import '../../dist/global/types/theme.js';
|
|
6
|
+
import '../../dist/global/types/colorOptions.js';
|
|
6
7
|
import '@nuxt/kit';
|
|
7
8
|
import '../../dist/global/types/features.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { B as BlokkliModule } from '../../shared/editor.
|
|
1
|
+
import { B as BlokkliModule } from '../../shared/editor.D28NbXr3.mjs';
|
|
2
2
|
import 'nuxt/schema';
|
|
3
3
|
import 'consola';
|
|
4
4
|
import '../../../dist/global/types/definitions.js';
|
|
5
5
|
import '../../../dist/global/types/theme.js';
|
|
6
|
+
import '../../../dist/global/types/colorOptions.js';
|
|
6
7
|
import '@nuxt/kit';
|
|
7
8
|
import '../../../dist/global/types/features.js';
|
|
8
9
|
|