@blokkli/editor 2.0.0-alpha.58 → 2.0.0-alpha.59
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 +349 -166
- 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/{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 +80 -594
- 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 +12 -18
- 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 +20 -24
- 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_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_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 +28 -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 +22 -0
- package/dist/modules/agent/runtime/app/tools/schemas.js +27 -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 +1 -1
- 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 -3
- 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} +350 -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 +94 -0
- package/dist/modules/agent/runtime/shared/toolResult.js +155 -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/index.d.mts +2 -1
- package/dist/modules/drupal/index.mjs +8 -0
- package/dist/modules/drupal/runtime/adapter/index.js +221 -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 +50 -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/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 +24 -779
- package/dist/runtime/editor/components/AddListItem/index.vue +2 -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 +56 -194
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue.d.ts +4 -9
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue +120 -145
- package/dist/runtime/editor/components/Avatar/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Avatar/index.vue +120 -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.d.vue.ts +1 -1
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue +13 -19
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue.d.ts +1 -1
- 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 +31 -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 +11 -2
- package/dist/runtime/editor/components/Dialog/index.vue +164 -241
- package/dist/runtime/editor/components/Dialog/index.vue.d.ts +11 -2
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.d.vue.ts +6 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue +28 -19
- package/dist/runtime/editor/components/DiffApproval/Highlight/Item.vue.d.ts +6 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.d.vue.ts +1 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue +7 -119
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue.d.ts +1 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.d.vue.ts +11 -2
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue +115 -248
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue.d.ts +11 -2
- package/dist/runtime/editor/components/DiffApproval/index.d.vue.ts +16 -0
- package/dist/runtime/editor/components/DiffApproval/index.vue +6 -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 +29 -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 +56 -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 +13 -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 +12 -1
- package/dist/runtime/editor/components/Form/Toggle/index.vue +66 -216
- package/dist/runtime/editor/components/Form/Toggle/index.vue.d.ts +12 -1
- package/dist/runtime/editor/components/FormOverlay/index.vue +17 -25
- package/dist/runtime/editor/components/Icon/index.vue +9 -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 +1 -1
- package/dist/runtime/editor/components/Messages/index.vue +65 -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 +56 -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 +21 -12
- package/dist/runtime/editor/components/ScheduleDate/index.vue.d.ts +2 -2
- package/dist/runtime/editor/components/SearchOverlay/index.d.vue.ts +3 -3
- package/dist/runtime/editor/components/SearchOverlay/index.vue +31 -112
- package/dist/runtime/editor/components/SearchOverlay/index.vue.d.ts +3 -3
- 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/index.vue +155 -138
- package/dist/runtime/editor/components/Tooltip/index.d.vue.ts +1 -1
- package/dist/runtime/editor/components/Tooltip/index.vue +15 -5
- package/dist/runtime/editor/components/Tooltip/index.vue.d.ts +1 -1
- 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 +11 -2
- package/dist/runtime/editor/components/index.js +10 -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/index.d.ts +1 -0
- package/dist/runtime/editor/composables/index.js +4 -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/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 +22 -2
- package/dist/runtime/editor/features/add-list/Actions/index.vue +5 -1
- package/dist/runtime/editor/features/add-list/Blocks/index.vue +6 -1
- package/dist/runtime/editor/features/add-list/Help/Item.vue +16 -5
- package/dist/runtime/editor/features/add-list/Help/index.vue +127 -168
- package/dist/runtime/editor/features/add-list/index.vue +171 -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/artboard/Overview/index.vue +6 -8
- package/dist/runtime/editor/features/artboard/Renderer.vue +40 -28
- 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 +38 -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 +9 -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 +188 -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 +105 -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 +8 -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 +6 -3
- package/dist/runtime/editor/features/command-palette/Palette/index.vue +4 -1
- package/dist/runtime/editor/features/comments/AddForm/index.vue +25 -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 +93 -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 +16 -14
- package/dist/runtime/editor/features/comments/Comment/index.vue +112 -28
- package/dist/runtime/editor/features/comments/Comment/index.vue.d.ts +16 -14
- package/dist/runtime/editor/features/comments/CommentInput/index.d.vue.ts +25 -10
- package/dist/runtime/editor/features/comments/CommentInput/index.vue +77 -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 +58 -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 +50 -0
- package/dist/runtime/editor/features/comments/Sidebar/index.vue +111 -0
- package/dist/runtime/editor/features/comments/Sidebar/index.vue.d.ts +50 -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 +58 -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 +44 -0
- package/dist/runtime/editor/features/comments/Thread/index.vue +142 -0
- package/dist/runtime/editor/features/comments/Thread/index.vue.d.ts +44 -0
- package/dist/runtime/editor/features/comments/index.vue +85 -259
- 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/dev-mode/index.vue +31 -35
- package/dist/runtime/editor/features/diff/index.vue +1 -1
- package/dist/runtime/editor/features/dragging-overlay/DragItems/index.vue +123 -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/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 +17 -15
- package/dist/runtime/editor/features/editable-field/Overlay/Plaintext/index.vue +1 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue +48 -51
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue +9 -1
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue +137 -183
- package/dist/runtime/editor/features/editable-mask/index.vue +5 -5
- package/dist/runtime/editor/features/entity-title/index.vue +15 -3
- package/dist/runtime/editor/features/exit/index.vue +1 -1
- package/dist/runtime/editor/features/fragments/Dialog/index.vue +8 -91
- package/dist/runtime/editor/features/help/Shortcuts/index.vue +48 -60
- package/dist/runtime/editor/features/help/index.vue +10 -11
- 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 +217 -208
- package/dist/runtime/editor/features/history/index.vue +2 -2
- 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/options/Form/Checkbox/index.d.vue.ts +2 -2
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +6 -3
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue.d.ts +2 -2
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +12 -7
- package/dist/runtime/editor/features/options/Form/Color/index.vue +1 -1
- package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +1 -0
- package/dist/runtime/editor/features/options/Form/DateTimeLocal/index.vue +4 -1
- package/dist/runtime/editor/features/options/Form/Item.vue +6 -1
- package/dist/runtime/editor/features/options/Form/Number/index.d.vue.ts +10 -13
- package/dist/runtime/editor/features/options/Form/Number/index.vue +79 -13
- package/dist/runtime/editor/features/options/Form/Number/index.vue.d.ts +10 -13
- package/dist/runtime/editor/features/options/Form/Radios/index.vue +1 -0
- package/dist/runtime/editor/features/options/Form/Range/index.vue +1 -1
- package/dist/runtime/editor/features/options/Form/Text/index.vue +1 -1
- package/dist/runtime/editor/features/options/Form/index.vue +34 -24
- package/dist/runtime/editor/features/options/index.vue +700 -695
- 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/publish/Dialog/Item.vue +53 -9
- package/dist/runtime/editor/features/publish/Dialog/PublishOption.vue +36 -12
- package/dist/runtime/editor/features/publish/Dialog/Summary.vue +41 -30
- package/dist/runtime/editor/features/publish/Dialog/index.vue +141 -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 +163 -179
- package/dist/runtime/editor/features/revert/index.vue +1 -1
- 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 +30 -40
- 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/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.vue +117 -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 +13 -7
- package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue +58 -46
- package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue +51 -35
- 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 +123 -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/BlockIndicator/index.vue +2 -0
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +3 -2
- package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +13 -3
- package/dist/runtime/editor/plugins/ItemAction/index.vue +36 -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 +212 -302
- package/dist/runtime/editor/plugins/Sidebar/index.vue.d.ts +3 -3
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue +4 -2
- package/dist/runtime/editor/plugins/ViewOption/index.vue +2 -0
- 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/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 +310 -306
- package/dist/runtime/editor/translations/fr.json +38 -132
- package/dist/runtime/editor/translations/gsw_CH.json +250 -246
- package/dist/runtime/editor/translations/it.json +38 -132
- 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 +29 -15
- 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/{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/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
- /package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/templates/{ManageDialog → DialogManageTemplates}/index.vue.d.ts +0 -0
|
@@ -27,7 +27,13 @@
|
|
|
27
27
|
}}</span>
|
|
28
28
|
</button>
|
|
29
29
|
</template>
|
|
30
|
-
<form
|
|
30
|
+
<form
|
|
31
|
+
ref="form"
|
|
32
|
+
class="bk-editable-field-input"
|
|
33
|
+
data-test="editable-overlay"
|
|
34
|
+
:data-test-type="config.type"
|
|
35
|
+
@submit.prevent="save"
|
|
36
|
+
>
|
|
31
37
|
<div ref="input">
|
|
32
38
|
<InputContenteditable
|
|
33
39
|
v-if="config.type === 'markup'"
|
|
@@ -63,6 +69,7 @@
|
|
|
63
69
|
<button
|
|
64
70
|
:disabled="!hasChanged"
|
|
65
71
|
class="bk-artboard-tooltip-info-button bk-scheme-red"
|
|
72
|
+
data-test="editable-discard"
|
|
66
73
|
@click.prevent="discard"
|
|
67
74
|
>
|
|
68
75
|
{{ $t("editableFieldDiscard", "Discard") }}
|
|
@@ -74,7 +81,7 @@
|
|
|
74
81
|
@click.prevent="autoTranslate"
|
|
75
82
|
>
|
|
76
83
|
<Icon name="bk_mdi_translate" class="_bk_size-15" />
|
|
77
|
-
{{ $t("
|
|
84
|
+
{{ $t("translate", "Translate") }}
|
|
78
85
|
<Tooltip
|
|
79
86
|
:label="
|
|
80
87
|
$t(
|
|
@@ -101,6 +108,8 @@
|
|
|
101
108
|
<div
|
|
102
109
|
v-if="!isMarkup"
|
|
103
110
|
class="bk-editable-field-info-count _bk_relative _bk_group/tooltip"
|
|
111
|
+
data-test="editable-char-count"
|
|
112
|
+
:data-test-count="count"
|
|
104
113
|
>
|
|
105
114
|
<span>{{ count }}</span>
|
|
106
115
|
<span v-if="maxlength >= 1"> / {{ maxlength }}</span>
|
|
@@ -362,7 +371,7 @@ onBeforeUnmount(async () => {
|
|
|
362
371
|
});
|
|
363
372
|
</script>
|
|
364
373
|
|
|
365
|
-
<style
|
|
374
|
+
<style>/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
|
|
366
375
|
.bk.bk-editable-field {
|
|
367
376
|
--bk-bg: white;
|
|
368
377
|
--bk-header-bg: rgb(var(--bk-theme-teal-normal) / 1);
|
|
@@ -370,293 +379,238 @@ onBeforeUnmount(async () => {
|
|
|
370
379
|
--bk-border: rgb(var(--bk-theme-teal-normal) / 1);
|
|
371
380
|
--bk-header-hover: rgb(var(--bk-theme-teal-dark) / 0.2);
|
|
372
381
|
}
|
|
373
|
-
|
|
374
|
-
.bk.bk-editable-field.bk-is-fullscreen .bk-editable-field-input {
|
|
382
|
+
.bk.bk-editable-field.bk-is-fullscreen .bk-editable-field-input {
|
|
375
383
|
display: flex;
|
|
376
384
|
max-width: none;
|
|
377
|
-
flex: 1
|
|
385
|
+
flex: 1;
|
|
378
386
|
flex-direction: column;
|
|
379
387
|
}
|
|
380
|
-
|
|
381
|
-
.bk.bk-editable-field.bk-is-fullscreen .bk-editable-field-input > div:first-child {
|
|
388
|
+
:is(.bk.bk-editable-field.bk-is-fullscreen .bk-editable-field-input) > div:first-child {
|
|
382
389
|
display: flex;
|
|
383
|
-
flex: 1
|
|
390
|
+
flex: 1;
|
|
384
391
|
flex-direction: column;
|
|
385
392
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
flex: 1 1 0%;
|
|
393
|
+
:is(:is(.bk.bk-editable-field.bk-is-fullscreen .bk-editable-field-input) > div:first-child) > * {
|
|
394
|
+
flex: 1;
|
|
389
395
|
}
|
|
390
|
-
|
|
391
|
-
.bk.bk-editable-field .bk-editable-field-input {
|
|
396
|
+
.bk.bk-editable-field .bk-editable-field-input {
|
|
392
397
|
width: 100%;
|
|
393
|
-
min-width: 360px;
|
|
394
398
|
max-width: 700px;
|
|
399
|
+
min-width: 360px;
|
|
395
400
|
}
|
|
396
|
-
|
|
397
|
-
@media (min-width: 768px) {
|
|
398
|
-
|
|
401
|
+
@media (width >= 48rem) {
|
|
399
402
|
.bk.bk-editable-field .bk-editable-field-input {
|
|
400
403
|
border-radius: 4px;
|
|
401
404
|
}
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
.bk.bk-editable-field .bk-editable-field-input .bk-editable-field-textarea {
|
|
405
|
+
}
|
|
406
|
+
:is(.bk.bk-editable-field .bk-editable-field-input) .bk-editable-field-textarea {
|
|
405
407
|
position: relative;
|
|
406
408
|
}
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
.bk.bk-editable-field .bk-editable-field-input .bk-editable-field-textarea {
|
|
409
|
+
@media (width >= 64rem) {
|
|
410
|
+
:is(.bk.bk-editable-field .bk-editable-field-input) .bk-editable-field-textarea {
|
|
411
411
|
min-width: 600px;
|
|
412
412
|
}
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
.bk.bk-editable-field .bk-editable-field-input textarea {
|
|
413
|
+
}
|
|
414
|
+
:is(.bk.bk-editable-field .bk-editable-field-input) textarea {
|
|
416
415
|
display: block;
|
|
417
416
|
resize: none;
|
|
418
417
|
appearance: none;
|
|
419
418
|
padding: 10px;
|
|
419
|
+
--bk-tw-border-style: none;
|
|
420
420
|
border-style: none;
|
|
421
421
|
--bk-tw-shadow: 0 0 #0000;
|
|
422
|
-
--bk-tw-shadow-
|
|
423
|
-
|
|
424
|
-
outline:
|
|
425
|
-
outline-offset: 2px;
|
|
422
|
+
box-shadow: var(--bk-tw-inset-shadow), var(--bk-tw-inset-ring-shadow), var(--bk-tw-ring-offset-shadow), var(--bk-tw-ring-shadow), var(--bk-tw-shadow);
|
|
423
|
+
--bk-tw-outline-style: none;
|
|
424
|
+
outline-style: none;
|
|
426
425
|
background-color: transparent;
|
|
427
426
|
}
|
|
428
|
-
|
|
429
|
-
|
|
427
|
+
:is(:is(.bk.bk-editable-field .bk-editable-field-input) textarea):focus {
|
|
428
|
+
--bk-tw-border-style: none !important;
|
|
430
429
|
border-style: none !important;
|
|
430
|
+
}
|
|
431
|
+
:is(:is(.bk.bk-editable-field .bk-editable-field-input) textarea):focus {
|
|
431
432
|
--bk-tw-shadow: 0 0 #0000 !important;
|
|
432
|
-
--bk-tw-shadow-
|
|
433
|
-
box-shadow: var(--bk-tw-ring-offset-shadow, 0 0 #0000), var(--bk-tw-ring-shadow, 0 0 #0000), var(--bk-tw-shadow) !important;
|
|
434
|
-
outline: 2px solid transparent !important;
|
|
435
|
-
outline-offset: 2px !important;
|
|
436
|
-
--bk-tw-ring-offset-shadow: var(--bk-tw-ring-inset) 0 0 0 var(--bk-tw-ring-offset-width) var(--bk-tw-ring-offset-color) !important;
|
|
437
|
-
--bk-tw-ring-shadow: var(--bk-tw-ring-inset) 0 0 0 calc(0px + var(--bk-tw-ring-offset-width)) var(--bk-tw-ring-color) !important;
|
|
438
|
-
box-shadow: var(--bk-tw-ring-offset-shadow), var(--bk-tw-ring-shadow), var(--bk-tw-shadow, 0 0 #0000) !important;
|
|
433
|
+
box-shadow: var(--bk-tw-inset-shadow), var(--bk-tw-inset-ring-shadow), var(--bk-tw-ring-offset-shadow), var(--bk-tw-ring-shadow), var(--bk-tw-shadow) !important;
|
|
439
434
|
}
|
|
440
|
-
|
|
441
|
-
|
|
435
|
+
:is(:is(.bk.bk-editable-field .bk-editable-field-input) textarea):focus {
|
|
436
|
+
--bk-tw-ring-shadow: var(--bk-tw-ring-inset,) 0 0 0 calc(0px + var(--bk-tw-ring-offset-width)) var(--bk-tw-ring-color, currentcolor) !important;
|
|
437
|
+
box-shadow: var(--bk-tw-inset-shadow), var(--bk-tw-inset-ring-shadow), var(--bk-tw-ring-offset-shadow), var(--bk-tw-ring-shadow), var(--bk-tw-shadow) !important;
|
|
438
|
+
}
|
|
439
|
+
:is(:is(.bk.bk-editable-field .bk-editable-field-input) textarea):focus {
|
|
440
|
+
--bk-tw-outline-style: none !important;
|
|
441
|
+
outline-style: none !important;
|
|
442
|
+
}
|
|
443
|
+
:is(.bk.bk-editable-field .bk-editable-field-input) textarea {
|
|
442
444
|
min-height: 50px;
|
|
443
445
|
width: 100%;
|
|
444
|
-
font-size: 16px;
|
|
445
|
-
line-height:
|
|
446
|
+
font-size: var(--text-base, 16px);
|
|
447
|
+
line-height: var(--bk-tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
|
|
446
448
|
}
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
font-size: 18px;
|
|
452
|
-
line-height: 28px;
|
|
449
|
+
@media (width >= 64rem) {
|
|
450
|
+
:is(.bk.bk-editable-field .bk-editable-field-input) textarea {
|
|
451
|
+
font-size: var(--text-lg, 18px);
|
|
452
|
+
line-height: var(--bk-tw-leading, var(--text-lg--line-height, calc(1.75 / 1.125)));
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
|
|
456
|
-
.bk.bk-editable-field .bk-editable-field-input textarea {
|
|
455
|
+
:is(.bk.bk-editable-field .bk-editable-field-input) textarea {
|
|
457
456
|
position: absolute;
|
|
458
457
|
top: 0px;
|
|
459
458
|
left: 0px;
|
|
460
459
|
height: 100%;
|
|
461
460
|
}
|
|
462
|
-
|
|
463
|
-
.bk.bk-editable-field .bk-editable-field-translate {
|
|
461
|
+
.bk.bk-editable-field .bk-editable-field-translate {
|
|
464
462
|
display: flex;
|
|
465
463
|
align-items: center;
|
|
466
464
|
gap: 3px;
|
|
465
|
+
border-right-style: var(--bk-tw-border-style);
|
|
467
466
|
border-right-width: 1px;
|
|
468
|
-
--bk-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
padding-right: 10px;
|
|
472
|
-
--bk-tw-text-opacity: 1;
|
|
473
|
-
color: rgb(var(--bk-theme-teal-dark) / var(--bk-tw-text-opacity, 1));
|
|
467
|
+
border-right-color: rgb(var(--bk-theme-mono-300) / 1);
|
|
468
|
+
padding-inline: 10px;
|
|
469
|
+
color: rgb(var(--bk-theme-teal-dark) / 1);
|
|
474
470
|
}
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
opacity: 0.5;
|
|
471
|
+
:is(.bk.bk-editable-field .bk-editable-field-translate):disabled {
|
|
472
|
+
opacity: 50%;
|
|
478
473
|
}
|
|
479
|
-
|
|
480
|
-
.bk.bk-editable-field .bk-editable-field-info-error {
|
|
474
|
+
.bk.bk-editable-field .bk-editable-field-info-error {
|
|
481
475
|
margin-left: auto;
|
|
482
|
-
padding-
|
|
483
|
-
|
|
484
|
-
--bk-tw-text-opacity: 1;
|
|
485
|
-
color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-text-opacity, 1));
|
|
476
|
+
padding-inline: 10px;
|
|
477
|
+
color: rgb(var(--bk-theme-red-normal) / 1);
|
|
486
478
|
}
|
|
487
|
-
|
|
488
|
-
.bk.bk-editable-field .bk-editable-field-info-hint {
|
|
479
|
+
.bk.bk-editable-field .bk-editable-field-info-hint {
|
|
489
480
|
margin-left: auto;
|
|
490
|
-
padding-
|
|
491
|
-
padding-right: 10px;
|
|
481
|
+
padding-inline: 10px;
|
|
492
482
|
text-align: right;
|
|
493
|
-
font-size: 12px;
|
|
494
|
-
line-height:
|
|
495
|
-
font-weight: 400;
|
|
496
|
-
--
|
|
497
|
-
color: rgb(var(--bk-theme-mono-500) /
|
|
483
|
+
font-size: var(--text-xs, 12px);
|
|
484
|
+
line-height: var(--bk-tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
485
|
+
--bk-tw-font-weight: var(--font-weight-normal, 400);
|
|
486
|
+
font-weight: var(--font-weight-normal, 400);
|
|
487
|
+
color: rgb(var(--bk-theme-mono-500) / 1);
|
|
498
488
|
}
|
|
499
|
-
|
|
500
|
-
.bk.bk-editable-field .bk-editable-field-readability {
|
|
489
|
+
.bk.bk-editable-field .bk-editable-field-readability {
|
|
501
490
|
position: relative;
|
|
502
491
|
display: flex;
|
|
503
492
|
height: 32px;
|
|
504
493
|
cursor: default;
|
|
505
494
|
align-items: center;
|
|
506
495
|
gap: 5px;
|
|
496
|
+
border-left-style: var(--bk-tw-border-style);
|
|
507
497
|
border-left-width: 1px;
|
|
508
|
-
--bk-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
line-height: 16px;
|
|
514
|
-
--bk-tw-text-opacity: 1;
|
|
515
|
-
color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-text-opacity, 1));
|
|
498
|
+
border-left-color: rgb(var(--bk-theme-mono-300) / 1);
|
|
499
|
+
padding-inline: 10px;
|
|
500
|
+
font-size: var(--text-xs, 12px);
|
|
501
|
+
line-height: var(--bk-tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
502
|
+
color: rgb(var(--bk-theme-mono-600) / 1);
|
|
516
503
|
transition-property: opacity;
|
|
517
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
504
|
+
transition-timing-function: var(--bk-tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
505
|
+
transition-duration: var(--bk-tw-duration, var(--default-transition-duration, 150ms));
|
|
506
|
+
--bk-tw-duration: 200ms;
|
|
518
507
|
transition-duration: 200ms;
|
|
519
508
|
cursor: help;
|
|
520
509
|
}
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
opacity: 0.4;
|
|
510
|
+
.bk-is-stale:is(.bk.bk-editable-field .bk-editable-field-readability) {
|
|
511
|
+
opacity: 40%;
|
|
524
512
|
}
|
|
525
|
-
|
|
526
|
-
.bk.bk-editable-field .bk-readability-scale {
|
|
513
|
+
.bk.bk-editable-field .bk-readability-scale {
|
|
527
514
|
margin-top: 15px;
|
|
528
515
|
width: 100%;
|
|
529
516
|
padding-bottom: 25px;
|
|
530
517
|
}
|
|
531
|
-
|
|
532
|
-
.bk.bk-editable-field .bk-readability-scale-labels {
|
|
518
|
+
.bk.bk-editable-field .bk-readability-scale-labels {
|
|
533
519
|
position: relative;
|
|
534
520
|
height: 16px;
|
|
535
|
-
font-size: 12px;
|
|
536
|
-
line-height:
|
|
537
|
-
font-weight: 600;
|
|
538
|
-
--
|
|
539
|
-
color: rgb(var(--bk-theme-mono-50) /
|
|
521
|
+
font-size: var(--text-xs, 12px);
|
|
522
|
+
line-height: var(--bk-tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
523
|
+
--bk-tw-font-weight: var(--font-weight-semibold, 600);
|
|
524
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
525
|
+
color: rgb(var(--bk-theme-mono-50) / 1);
|
|
540
526
|
}
|
|
541
|
-
|
|
542
|
-
.bk.bk-editable-field .bk-readability-scale-labels > span {
|
|
527
|
+
:is(.bk.bk-editable-field .bk-readability-scale-labels) > span {
|
|
543
528
|
position: absolute;
|
|
544
|
-
top: -
|
|
545
|
-
--bk-tw-translate-x: -
|
|
546
|
-
|
|
529
|
+
top: calc(5px * -1);
|
|
530
|
+
--bk-tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
|
|
531
|
+
translate: var(--bk-tw-translate-x) var(--bk-tw-translate-y);
|
|
547
532
|
}
|
|
548
|
-
|
|
549
|
-
.bk.bk-editable-field .bk-readability-scale-bar {
|
|
533
|
+
.bk.bk-editable-field .bk-readability-scale-bar {
|
|
550
534
|
position: relative;
|
|
551
535
|
height: 12px;
|
|
552
536
|
}
|
|
553
|
-
|
|
554
|
-
.bk.bk-editable-field .bk-readability-scale-segments {
|
|
537
|
+
.bk.bk-editable-field .bk-readability-scale-segments {
|
|
555
538
|
position: absolute;
|
|
556
539
|
inset: 0px;
|
|
557
540
|
overflow: hidden;
|
|
558
|
-
border-radius:
|
|
541
|
+
border-radius: calc(infinity * 1px);
|
|
559
542
|
}
|
|
560
|
-
|
|
561
|
-
.bk.bk-editable-field .bk-readability-scale-segment {
|
|
543
|
+
.bk.bk-editable-field .bk-readability-scale-segment {
|
|
562
544
|
position: absolute;
|
|
563
545
|
top: 0px;
|
|
564
546
|
height: 100%;
|
|
565
547
|
}
|
|
566
|
-
|
|
567
|
-
.bk.bk-editable-field .bk-readability-scale-segment.bk-is-left {
|
|
548
|
+
.bk-is-left:is(.bk.bk-editable-field .bk-readability-scale-segment) {
|
|
568
549
|
left: 0px;
|
|
569
550
|
}
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
--bk-tw-bg-opacity: 1;
|
|
573
|
-
background-color: rgb(var(--bk-theme-yellow-normal) / var(--bk-tw-bg-opacity, 1));
|
|
551
|
+
.bk-is-middle:is(.bk.bk-editable-field .bk-readability-scale-segment) {
|
|
552
|
+
background-color: rgb(var(--bk-theme-yellow-normal) / 1);
|
|
574
553
|
}
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
.bk.bk-editable-field .bk-readability-scale.bk-is-higher_easier .bk-is-left {
|
|
579
|
-
--bk-tw-bg-opacity: 1;
|
|
580
|
-
background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
|
|
554
|
+
:is(.bk.bk-editable-field .bk-readability-scale.bk-is-higher_easier) .bk-is-left {
|
|
555
|
+
background-color: rgb(var(--bk-theme-red-normal) / 1);
|
|
581
556
|
}
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
--bk-tw-bg-opacity: 1;
|
|
585
|
-
background-color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-bg-opacity, 1));
|
|
557
|
+
:is(.bk.bk-editable-field .bk-readability-scale.bk-is-higher_easier) .bk-is-right {
|
|
558
|
+
background-color: rgb(var(--bk-theme-lime-normal) / 1);
|
|
586
559
|
}
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
.bk.bk-editable-field .bk-readability-scale.bk-is-higher_harder .bk-is-left {
|
|
591
|
-
--bk-tw-bg-opacity: 1;
|
|
592
|
-
background-color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-bg-opacity, 1));
|
|
560
|
+
:is(.bk.bk-editable-field .bk-readability-scale.bk-is-higher_harder) .bk-is-left {
|
|
561
|
+
background-color: rgb(var(--bk-theme-lime-normal) / 1);
|
|
593
562
|
}
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
--bk-tw-bg-opacity: 1;
|
|
597
|
-
background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
|
|
563
|
+
:is(.bk.bk-editable-field .bk-readability-scale.bk-is-higher_harder) .bk-is-right {
|
|
564
|
+
background-color: rgb(var(--bk-theme-red-normal) / 1);
|
|
598
565
|
}
|
|
599
|
-
|
|
600
|
-
.bk.bk-editable-field .bk-readability-scale-marker {
|
|
566
|
+
.bk.bk-editable-field .bk-readability-scale-marker {
|
|
601
567
|
position: absolute;
|
|
602
|
-
top: -
|
|
603
|
-
bottom: -
|
|
568
|
+
top: calc(5px * -1);
|
|
569
|
+
bottom: calc(5px * -1);
|
|
604
570
|
width: 3px;
|
|
605
|
-
--bk-tw-translate-x: -
|
|
606
|
-
|
|
607
|
-
border-radius:
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
box-shadow: 0 0 0 1px rgb(0 0 0 / 0.3);
|
|
571
|
+
--bk-tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
|
|
572
|
+
translate: var(--bk-tw-translate-x) var(--bk-tw-translate-y);
|
|
573
|
+
border-radius: calc(infinity * 1px);
|
|
574
|
+
background-color: white;
|
|
575
|
+
box-shadow: 0 0 0 1px rgb(0 0 0 / 0.3);
|
|
611
576
|
}
|
|
612
|
-
|
|
613
|
-
.bk.bk-editable-field .bk-readability-scale-marker > span {
|
|
577
|
+
:is(.bk.bk-editable-field .bk-readability-scale-marker) > span {
|
|
614
578
|
position: absolute;
|
|
615
579
|
top: 100%;
|
|
616
|
-
left:
|
|
580
|
+
left: calc(1 / 2 * 100%);
|
|
617
581
|
margin-top: 5px;
|
|
618
|
-
--bk-tw-translate-x: -
|
|
619
|
-
|
|
582
|
+
--bk-tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
|
|
583
|
+
translate: var(--bk-tw-translate-x) var(--bk-tw-translate-y);
|
|
584
|
+
font-size: var(--text-sm, 14px);
|
|
585
|
+
line-height: var(--bk-tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
586
|
+
--bk-tw-font-weight: var(--font-weight-bold, 700);
|
|
587
|
+
font-weight: var(--font-weight-bold, 700);
|
|
620
588
|
white-space: nowrap;
|
|
621
|
-
|
|
622
|
-
line-height: 20px;
|
|
623
|
-
font-weight: 700;
|
|
624
|
-
--bk-tw-text-opacity: 1;
|
|
625
|
-
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
|
|
589
|
+
color: white;
|
|
626
590
|
}
|
|
627
|
-
|
|
628
|
-
.bk.bk-editable-field .bk-editable-field-readability-dot {
|
|
591
|
+
.bk.bk-editable-field .bk-editable-field-readability-dot {
|
|
629
592
|
height: 8px;
|
|
630
593
|
width: 8px;
|
|
631
594
|
flex-shrink: 0;
|
|
632
|
-
border-radius:
|
|
633
|
-
--bk-
|
|
634
|
-
background-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-bg-opacity, 1));
|
|
595
|
+
border-radius: calc(infinity * 1px);
|
|
596
|
+
background-color: rgb(var(--bk-theme-mono-300) / 1);
|
|
635
597
|
}
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
--bk-tw-bg-opacity: 1;
|
|
639
|
-
background-color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-bg-opacity, 1));
|
|
598
|
+
.bk-is-easy:is(.bk.bk-editable-field .bk-editable-field-readability-dot) {
|
|
599
|
+
background-color: rgb(var(--bk-theme-lime-normal) / 1);
|
|
640
600
|
}
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
--bk-tw-bg-opacity: 1;
|
|
644
|
-
background-color: rgb(var(--bk-theme-yellow-normal) / var(--bk-tw-bg-opacity, 1));
|
|
601
|
+
.bk-is-ok:is(.bk.bk-editable-field .bk-editable-field-readability-dot) {
|
|
602
|
+
background-color: rgb(var(--bk-theme-yellow-normal) / 1);
|
|
645
603
|
}
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
--bk-tw-bg-opacity: 1;
|
|
649
|
-
background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
|
|
604
|
+
.bk-is-hard:is(.bk.bk-editable-field .bk-editable-field-readability-dot) {
|
|
605
|
+
background-color: rgb(var(--bk-theme-red-normal) / 1);
|
|
650
606
|
}
|
|
651
|
-
|
|
652
|
-
.bk.bk-editable-field .bk-editable-field-info-count {
|
|
607
|
+
.bk.bk-editable-field .bk-editable-field-info-count {
|
|
653
608
|
display: flex;
|
|
654
609
|
height: 32px;
|
|
655
610
|
align-items: center;
|
|
611
|
+
border-left-style: var(--bk-tw-border-style);
|
|
656
612
|
border-left-width: 1px;
|
|
657
|
-
--bk-
|
|
658
|
-
|
|
659
|
-
padding-left: 10px;
|
|
660
|
-
padding-right: 10px;
|
|
613
|
+
border-left-color: rgb(var(--bk-theme-mono-300) / 1);
|
|
614
|
+
padding-inline: 10px;
|
|
661
615
|
}
|
|
662
616
|
</style>
|
|
@@ -38,11 +38,11 @@ export default {
|
|
|
38
38
|
};
|
|
39
39
|
</script>
|
|
40
40
|
|
|
41
|
-
<style
|
|
42
|
-
html.bk-hide-non-editable .bk-main-canvas
|
|
43
|
-
|
|
41
|
+
<style>/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
|
|
42
|
+
:is(html.bk-hide-non-editable .bk-main-canvas) > * {
|
|
43
|
+
visibility: hidden;
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
:is(html.bk-hide-non-editable .bk-main-canvas) [data-blokkli-provider-active='true'] {
|
|
46
|
+
visibility: visible;
|
|
47
47
|
}
|
|
48
48
|
</style>
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
<button
|
|
4
4
|
v-if="scheduledDate"
|
|
5
5
|
class="bk-toolbar-title-scheduled _bk_group/tooltip"
|
|
6
|
-
|
|
6
|
+
data-test="toolbar-scheduled-date"
|
|
7
|
+
:data-test-scheduled-date="scheduledDate"
|
|
8
|
+
@click.prevent="onShowPublishDialog"
|
|
7
9
|
>
|
|
8
10
|
<Icon name="bk_mdi_calendar_clock" />
|
|
9
11
|
<div class="bk-toolbar-title-scheduled-text">
|
|
@@ -18,8 +20,10 @@
|
|
|
18
20
|
<button
|
|
19
21
|
ref="buttonEl"
|
|
20
22
|
class="bk-toolbar-button _bk_group/tooltip _bk_w-full _bk_justify-start _bk_relative"
|
|
23
|
+
data-test="entity-title"
|
|
24
|
+
:data-test-entity-status="statusIndicatorStatus"
|
|
21
25
|
:disabled="!state.canEdit.value"
|
|
22
|
-
@click="
|
|
26
|
+
@click="onEditEntity"
|
|
23
27
|
>
|
|
24
28
|
<div class="bk-toolbar-title _bk_relative _bk_size-full">
|
|
25
29
|
<div
|
|
@@ -53,6 +57,14 @@ defineBlokkliFeature({
|
|
|
53
57
|
const { state, eventBus, $t, ui } = useBlokkli();
|
|
54
58
|
const { entity, mutations } = state;
|
|
55
59
|
const buttonEl = useTemplateRef("buttonEl");
|
|
60
|
+
async function onEditEntity() {
|
|
61
|
+
await ui.flushPendingChanges();
|
|
62
|
+
eventBus.emit("editEntity");
|
|
63
|
+
}
|
|
64
|
+
async function onShowPublishDialog() {
|
|
65
|
+
await ui.flushPendingChanges();
|
|
66
|
+
eventBus.emit("publish:show-dialog");
|
|
67
|
+
}
|
|
56
68
|
const scheduledDate = computed(() => state.publishOptions.value?.publishOn);
|
|
57
69
|
const formattedScheduledDate = computed(() => {
|
|
58
70
|
if (!scheduledDate.value) {
|
|
@@ -86,7 +98,7 @@ defineCommands(() => {
|
|
|
86
98
|
"@label",
|
|
87
99
|
entity.value.label || "Page"
|
|
88
100
|
),
|
|
89
|
-
callback:
|
|
101
|
+
callback: onEditEntity,
|
|
90
102
|
icon: "bk_mdi_edit"
|
|
91
103
|
};
|
|
92
104
|
});
|
|
@@ -22,7 +22,7 @@ function onClick() {
|
|
|
22
22
|
defineMenuButton(() => {
|
|
23
23
|
return {
|
|
24
24
|
id: "exit",
|
|
25
|
-
title: $t("
|
|
25
|
+
title: $t("close", "Close"),
|
|
26
26
|
description: $t("exitDescription", "Close editor without publishing"),
|
|
27
27
|
icon: "bk_mdi_exit_to_app",
|
|
28
28
|
weight: 100,
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
v-model="searchText"
|
|
26
26
|
type="text"
|
|
27
27
|
class="bk-form-input"
|
|
28
|
+
data-test="fragments-search"
|
|
28
29
|
:placeholder="
|
|
29
30
|
$t('fragmentsPlaceDialogSearchPlaceholder', 'Search fragments')
|
|
30
31
|
"
|
|
@@ -44,6 +45,8 @@
|
|
|
44
45
|
'bk-is-selected': selectedItem === item.name
|
|
45
46
|
}"
|
|
46
47
|
:data-bk-fragment-name="item.name"
|
|
48
|
+
data-test="fragment-option"
|
|
49
|
+
:data-test-fragment-name="item.name"
|
|
47
50
|
@click="selectedItem = item.name"
|
|
48
51
|
>
|
|
49
52
|
<FragmentItem
|
|
@@ -57,7 +60,11 @@
|
|
|
57
60
|
</div>
|
|
58
61
|
</div>
|
|
59
62
|
<template #footer>
|
|
60
|
-
<button
|
|
63
|
+
<button
|
|
64
|
+
class="bk-button bk-scheme-accent"
|
|
65
|
+
data-test="fragments-submit"
|
|
66
|
+
@click="onSubmit"
|
|
67
|
+
>
|
|
61
68
|
{{ $t("fragmentsPlaceDialogSubmitButton", "Add selected fragment") }}
|
|
62
69
|
</button>
|
|
63
70
|
</template>
|
|
@@ -120,93 +127,3 @@ const visible = computed(() => {
|
|
|
120
127
|
return elements.value.filter((v) => v.text.includes(searchText.value.toLowerCase())).map((v) => v.name);
|
|
121
128
|
});
|
|
122
129
|
</script>
|
|
123
|
-
|
|
124
|
-
<style>
|
|
125
|
-
.bk-vars .bk-library-dialog-list {
|
|
126
|
-
display: grid;
|
|
127
|
-
gap: 20px
|
|
128
|
-
}
|
|
129
|
-
@container (min-width: 700px) {
|
|
130
|
-
.bk-vars .bk-library-dialog-list {
|
|
131
|
-
grid-template-columns: repeat(2, minmax(0, 1fr))
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
.bk-vars .bk-library-dialog-list > li {
|
|
135
|
-
cursor: pointer;
|
|
136
|
-
overflow: hidden;
|
|
137
|
-
border-radius: 4px;
|
|
138
|
-
border-width: 1px
|
|
139
|
-
}
|
|
140
|
-
.bk-vars .bk-library-dialog-list > li .bk-blokkli-item-label {
|
|
141
|
-
pointer-events: none;
|
|
142
|
-
font-weight: 600
|
|
143
|
-
}
|
|
144
|
-
@media not all and (hover: none) {
|
|
145
|
-
.bk-vars .bk-library-dialog-list > li:not(.bk-is-selected):hover {
|
|
146
|
-
--bk-tw-border-opacity: 1;
|
|
147
|
-
border-color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-border-opacity, 1))
|
|
148
|
-
}
|
|
149
|
-
.bk-vars .bk-library-dialog-list > li:not(.bk-is-selected):hover .bk-block-preview-item-header {
|
|
150
|
-
--bk-tw-bg-opacity: 1;
|
|
151
|
-
background-color: rgb(var(--bk-theme-mono-200) / var(--bk-tw-bg-opacity, 1))
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
.bk-vars .bk-library-dialog-list > li.bk-is-selected {
|
|
155
|
-
--bk-tw-border-opacity: 1;
|
|
156
|
-
border-color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-border-opacity, 1))
|
|
157
|
-
}
|
|
158
|
-
.bk-vars .bk-library-dialog-list > li.bk-is-selected .bk-block-preview-item-header {
|
|
159
|
-
--bk-tw-bg-opacity: 1;
|
|
160
|
-
background-color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-bg-opacity, 1));
|
|
161
|
-
--bk-tw-text-opacity: 1;
|
|
162
|
-
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1))
|
|
163
|
-
}
|
|
164
|
-
.bk-vars .bk-library-dialog-list > li.bk-is-selected .bk-blokkli-item-label-icon {
|
|
165
|
-
--bk-tw-border-opacity: 1;
|
|
166
|
-
border-color: rgb(var(--bk-theme-accent-500) / var(--bk-tw-border-opacity, 1));
|
|
167
|
-
--bk-tw-bg-opacity: 1;
|
|
168
|
-
background-color: rgb(var(--bk-theme-accent-900) / var(--bk-tw-bg-opacity, 1));
|
|
169
|
-
--bk-tw-text-opacity: 1;
|
|
170
|
-
color: rgb(var(--bk-theme-accent-100) / var(--bk-tw-text-opacity, 1))
|
|
171
|
-
}
|
|
172
|
-
.bk-vars .bk-library-dialog-list > li.bk-is-selected .bk-blokkli-item-label {
|
|
173
|
-
--bk-tw-text-opacity: 1;
|
|
174
|
-
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1))
|
|
175
|
-
}
|
|
176
|
-
.bk-vars .bk-library-dialog-content {
|
|
177
|
-
position: relative
|
|
178
|
-
}
|
|
179
|
-
.bk-vars .bk-reusable-dialog-form .bk-info-box {
|
|
180
|
-
margin-top: 20px;
|
|
181
|
-
margin-bottom: 20px
|
|
182
|
-
}
|
|
183
|
-
.bk-vars .bk-library-dialog .bk-form-group,
|
|
184
|
-
.bk-vars .bk-library-dialog .bk-lead {
|
|
185
|
-
margin-top: 20px;
|
|
186
|
-
padding-left: 20px;
|
|
187
|
-
padding-right: 20px
|
|
188
|
-
}
|
|
189
|
-
.bk-vars .bk-library-dialog .bk-info-box {
|
|
190
|
-
margin-left: 20px;
|
|
191
|
-
margin-right: 20px;
|
|
192
|
-
margin-top: 15px;
|
|
193
|
-
margin-bottom: 15px
|
|
194
|
-
}
|
|
195
|
-
.bk-vars .bk-library-dialog .bk-library-dialog-content {
|
|
196
|
-
margin-top: 20px;
|
|
197
|
-
margin-bottom: 20px;
|
|
198
|
-
border-top-width: 1px;
|
|
199
|
-
--bk-tw-border-opacity: 1;
|
|
200
|
-
border-top-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
201
|
-
padding-left: 20px;
|
|
202
|
-
padding-right: 20px;
|
|
203
|
-
padding-top: 20px
|
|
204
|
-
}
|
|
205
|
-
.bk-vars .bk-library-pagination {
|
|
206
|
-
position: sticky;
|
|
207
|
-
bottom: 0px;
|
|
208
|
-
z-index: 50;
|
|
209
|
-
--bk-tw-bg-opacity: 1;
|
|
210
|
-
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1))
|
|
211
|
-
}
|
|
212
|
-
</style>
|