@blokkli/editor 2.0.0-alpha.52 → 2.0.0-alpha.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/tailwindConfig.mjs +3 -3
- package/dist/global/types/blockOptions.d.ts +18 -2
- package/dist/module.d.mts +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +281 -18
- package/dist/modules/agent/index.d.mts +1 -1
- package/dist/modules/agent/runtime/app/composables/agentProvider.d.ts +1 -0
- package/dist/modules/agent/runtime/app/composables/agentProvider.js +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.d.vue.ts +2 -2
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue +14 -49
- package/dist/modules/agent/runtime/app/features/agent/Panel/DropHandler/index.vue.d.ts +2 -2
- package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.d.vue.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue +102 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Feedback/index.vue.d.ts +10 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/Input/Actions/index.vue +8 -5
- 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 +9 -5
- 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/index.d.vue.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue +16 -2
- package/dist/modules/agent/runtime/app/features/agent/Panel/index.vue.d.ts +7 -0
- package/dist/modules/agent/runtime/app/features/agent/index.vue +29 -0
- package/dist/modules/agent/runtime/app/features/agent/types.d.ts +16 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/Component.vue +3 -1
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.d.ts +2 -0
- package/dist/modules/agent/runtime/app/tools/delegate_text_rewrite/index.js +8 -1
- package/dist/modules/charts/index.d.mts +1 -1
- package/dist/modules/charts/index.mjs +2 -3
- package/dist/modules/charts/runtime/features/charts/Editor/ChartTypePicker/index.vue +1 -1
- package/dist/modules/charts/runtime/features/charts/Editor/ColorDropdown/index.vue +1 -1
- package/dist/modules/drupal/graphql/base/fragment.paragraphsBlokkliEditState.graphql +16 -0
- package/dist/modules/drupal/graphql/base/query.pbConfig.graphql +9 -0
- package/dist/modules/drupal/graphql/features/agent.graphql +20 -0
- package/dist/modules/drupal/graphql/features/publishNew.graphql +14 -0
- package/dist/modules/drupal/graphql/features/referenced-entities.graphql +21 -0
- package/dist/modules/drupal/graphql/features/textFieldValues.graphql +20 -0
- package/dist/modules/drupal/graphql/features/workspace.graphql +23 -0
- package/dist/modules/drupal/graphql/mutations/bulk_translate_field_values.graphql +19 -0
- package/dist/modules/drupal/graphql/mutations/clear_outdated_translation.graphql +15 -0
- package/dist/modules/drupal/graphql/mutations/ignore_analyze.graphql +15 -0
- package/dist/modules/drupal/graphql/mutations/request_translation.graphql +10 -0
- package/dist/modules/drupal/graphql/mutations/unignore_analyze.graphql +15 -0
- package/dist/modules/drupal/index.d.mts +1 -1
- package/dist/modules/drupal/index.mjs +16 -0
- package/dist/modules/drupal/runtime/adapter/index.js +180 -11
- package/dist/modules/iframes/index.d.mts +31 -0
- package/dist/modules/iframes/index.mjs +52 -0
- package/dist/modules/iframes/runtime/components/BlokkliIframe/index.d.vue.ts +18 -0
- package/dist/modules/iframes/runtime/components/BlokkliIframe/index.vue +61 -0
- package/dist/modules/iframes/runtime/components/BlokkliIframe/index.vue.d.ts +18 -0
- package/dist/modules/iframes/runtime/components/index.d.ts +1 -0
- package/dist/modules/iframes/runtime/components/index.js +1 -0
- package/dist/modules/iframes/runtime/features/iframes/Editor/index.d.vue.ts +12 -0
- package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue +220 -0
- package/dist/modules/iframes/runtime/features/iframes/Editor/index.vue.d.ts +12 -0
- package/dist/modules/iframes/runtime/types.d.ts +10 -0
- package/dist/modules/index.d.mts +1 -1
- package/dist/modules/table-of-contents/index.d.mts +1 -1
- package/dist/runtime/components/Blocks/NotImplemented/index.vue +57 -0
- package/dist/runtime/components/BlokkliEditable.vue +1 -1
- package/dist/runtime/editor/adapter/index.d.ts +8 -1
- package/dist/runtime/editor/components/Actions/Interactions/index.vue +77 -17
- package/dist/runtime/editor/components/Actions/{ItemDropdown.vue → ItemDropdown/index.vue} +9 -10
- package/dist/runtime/editor/components/Actions/index.vue +586 -23
- package/dist/runtime/editor/components/AnimationCanvas/index.vue +1 -0
- package/dist/runtime/editor/components/AppMenu/MenuButton.vue +185 -1
- package/dist/runtime/editor/components/AppMenu/index.vue +24 -10
- package/dist/runtime/editor/components/ArtboardTooltip/index.d.vue.ts +6 -2
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue +223 -3
- package/dist/runtime/editor/components/ArtboardTooltip/index.vue.d.ts +6 -2
- package/dist/runtime/editor/components/AutoHeight/index.vue +23 -0
- package/dist/runtime/editor/components/Banner/Inner.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Banner/Inner.vue +32 -0
- package/dist/runtime/editor/components/Banner/Inner.vue.d.ts +30 -0
- package/dist/runtime/editor/components/Banner/index.d.vue.ts +3 -13
- package/dist/runtime/editor/components/Banner/index.vue +2 -14
- package/dist/runtime/editor/components/Banner/index.vue.d.ts +3 -13
- package/dist/runtime/editor/components/BetaIndicator/index.d.vue.ts +6 -0
- package/dist/runtime/editor/components/BetaIndicator/index.vue +16 -0
- package/dist/runtime/editor/components/BetaIndicator/index.vue.d.ts +6 -0
- package/dist/runtime/editor/components/BlockPreviewItem/index.vue +51 -1
- package/dist/runtime/editor/components/BlockPreviewRenderer/index.vue +27 -1
- package/dist/runtime/editor/components/BlockProxy/index.vue +148 -1
- package/dist/runtime/editor/components/BlokkliRootErrorBoundary.vue +59 -0
- package/dist/runtime/editor/components/BundleSelector/index.vue +170 -20
- package/dist/runtime/editor/components/Dialog/index.d.vue.ts +2 -0
- package/dist/runtime/editor/components/Dialog/index.vue +341 -0
- package/dist/runtime/editor/components/Dialog/index.vue.d.ts +2 -0
- package/dist/runtime/editor/components/DiffApproval/Highlight/index.vue +117 -0
- package/dist/runtime/editor/components/DiffApproval/Toolbar/index.vue +224 -28
- package/dist/runtime/editor/components/DiffViewer/DiffValue.d.vue.ts +1 -0
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue +5 -1
- package/dist/runtime/editor/components/DiffViewer/DiffValue.vue.d.ts +1 -0
- package/dist/runtime/editor/components/DiffViewer/State.vue +319 -0
- package/dist/runtime/editor/components/DraggableList.vue +103 -0
- package/dist/runtime/editor/components/Dropdown/index.vue +84 -0
- package/dist/runtime/editor/components/EditProvider.vue +72 -15
- package/dist/runtime/editor/components/FileDropHandler/index.d.vue.ts +23 -0
- package/dist/runtime/editor/components/FileDropHandler/index.vue +108 -0
- package/dist/runtime/editor/components/FileDropHandler/index.vue.d.ts +23 -0
- package/dist/runtime/editor/components/FlexTextarea/index.vue +4 -2
- package/dist/runtime/editor/components/Form/Datepicker/index.vue +149 -0
- package/dist/runtime/editor/components/Form/Toggle/index.vue +205 -1
- package/dist/runtime/editor/components/FormOverlay/index.vue +90 -0
- package/dist/runtime/editor/components/Icon/index.vue +6 -0
- package/dist/runtime/editor/components/Indicators/index.vue +161 -0
- package/dist/runtime/editor/components/InfoBox/index.vue +65 -0
- package/dist/runtime/editor/components/Konami/index.vue +119 -0
- package/dist/runtime/editor/components/Loading/index.d.vue.ts +6 -3
- package/dist/runtime/editor/components/Loading/index.vue +10 -5
- package/dist/runtime/editor/components/Loading/index.vue.d.ts +6 -3
- package/dist/runtime/editor/components/Messages/index.vue +131 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.d.vue.ts +1 -0
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue +246 -12
- package/dist/runtime/editor/components/NestedEditorOverlay/index.vue.d.ts +1 -0
- package/dist/runtime/editor/components/NotEditStateInfo/index.d.vue.ts +3 -0
- package/dist/runtime/editor/components/NotEditStateInfo/index.vue +19 -0
- package/dist/runtime/editor/components/NotEditStateInfo/index.vue.d.ts +3 -0
- package/dist/runtime/editor/components/Overlay/index.vue +84 -0
- package/dist/runtime/editor/components/Pagination/index.vue +41 -0
- package/dist/runtime/editor/components/PluginConfigForm/index.vue +23 -0
- package/dist/runtime/editor/components/PluginConfigFormInline/FilterSelect/index.vue +429 -0
- package/dist/runtime/editor/components/PluginConfigFormInline/index.d.vue.ts +22 -0
- package/dist/runtime/editor/components/PluginConfigFormInline/index.vue +150 -0
- package/dist/runtime/editor/components/PluginConfigFormInline/index.vue.d.ts +22 -0
- package/dist/runtime/editor/components/Popup/index.vue +77 -2
- package/dist/runtime/editor/components/PreviewProvider.vue +7 -0
- package/dist/runtime/editor/components/Resizable/index.vue +90 -1
- package/dist/runtime/editor/components/ScaleToFit/index.vue +30 -1
- package/dist/runtime/editor/components/SearchOverlay/index.d.vue.ts +43 -0
- package/dist/runtime/editor/components/SearchOverlay/index.vue +264 -0
- package/dist/runtime/editor/components/SearchOverlay/index.vue.d.ts +43 -0
- package/dist/runtime/editor/components/StatusIcon/index.vue +104 -0
- package/dist/runtime/editor/components/StatusIndicator/index.d.vue.ts +9 -0
- package/dist/runtime/editor/components/StatusIndicator/index.vue +16 -0
- package/dist/runtime/editor/components/StatusIndicator/index.vue.d.ts +9 -0
- package/dist/runtime/editor/components/SystemRequirements/index.vue +57 -0
- package/dist/runtime/editor/components/Tabs/index.d.vue.ts +30 -0
- package/dist/runtime/editor/components/Tabs/index.vue +32 -0
- package/dist/runtime/editor/components/Tabs/index.vue.d.ts +30 -0
- package/dist/runtime/editor/components/Toolbar/index.vue +215 -4
- package/dist/runtime/editor/components/Tooltip/Context.d.vue.ts +7 -0
- package/dist/runtime/editor/components/Tooltip/Context.vue +13 -0
- package/dist/runtime/editor/components/Tooltip/Context.vue.d.ts +7 -0
- package/dist/runtime/editor/components/Tooltip/Status.d.vue.ts +8 -0
- package/dist/runtime/editor/components/Tooltip/Status.vue +27 -0
- package/dist/runtime/editor/components/Tooltip/Status.vue.d.ts +8 -0
- package/dist/runtime/editor/components/Tooltip/index.d.vue.ts +27 -0
- package/dist/runtime/editor/components/Tooltip/index.vue +40 -0
- package/dist/runtime/editor/components/Tooltip/index.vue.d.ts +27 -0
- package/dist/runtime/editor/components/index.d.ts +59 -49
- package/dist/runtime/editor/components/index.js +59 -98
- package/dist/runtime/editor/composables/defineHighlight.d.ts +2 -0
- package/dist/runtime/editor/composables/defineHighlight.js +10 -0
- package/dist/runtime/editor/composables/index.d.ts +1 -0
- package/dist/runtime/editor/composables/index.js +1 -0
- package/dist/runtime/editor/composables/useBlockRegistration.js +8 -0
- package/dist/runtime/editor/composables/useStickyToolbar.d.ts +1 -0
- package/dist/runtime/editor/composables/useStickyToolbar.js +16 -0
- package/dist/runtime/editor/css/output.css +1 -1
- package/dist/runtime/editor/events/index.d.ts +10 -0
- package/dist/runtime/editor/features/add-list/Help/index.vue +193 -0
- package/dist/runtime/editor/features/add-list/index.vue +441 -0
- package/dist/runtime/editor/features/analyze/Ignored/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/analyze/Ignored/index.vue +35 -0
- package/dist/runtime/editor/features/analyze/Ignored/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/analyze/Main.vue +148 -24
- package/dist/runtime/editor/features/analyze/Results/Results.d.vue.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/Results.vue +0 -2
- package/dist/runtime/editor/features/analyze/Results/Results.vue.d.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.d.vue.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue +1 -2
- package/dist/runtime/editor/features/analyze/Results/ResultsItem.vue.d.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.d.vue.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue +11 -8
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodes.vue.d.ts +1 -9
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.d.vue.ts +3 -10
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue +63 -25
- package/dist/runtime/editor/features/analyze/Results/ResultsItemNodesTarget.vue.d.ts +3 -10
- package/dist/runtime/editor/features/analyze/analyzers/altText.js +2 -0
- package/dist/runtime/editor/features/analyze/analyzers/headingStructure.js +3 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/hashString.d.ts +7 -0
- package/dist/runtime/editor/features/analyze/analyzers/helpers/hashString.js +8 -0
- package/dist/runtime/editor/features/analyze/analyzers/readability.js +6 -12
- package/dist/runtime/editor/features/analyze/analyzers/types.d.ts +20 -0
- package/dist/runtime/editor/features/analyze/index.vue +458 -0
- package/dist/runtime/editor/features/analyze/types.d.ts +12 -0
- package/dist/runtime/editor/features/artboard/Overview/index.vue +37 -4
- package/dist/runtime/editor/features/artboard/Renderer.vue +79 -9
- package/dist/runtime/editor/features/artboard/Scrollbar/index.vue +84 -0
- package/dist/runtime/editor/features/block-scheduler/Dialog/index.vue +1 -1
- package/dist/runtime/editor/features/block-scheduler/index.vue +114 -0
- package/dist/runtime/editor/features/breadcrumbs/index.vue +150 -0
- package/dist/runtime/editor/features/changelog/Dialog/index.vue +62 -7
- package/dist/runtime/editor/features/changelog/changelog.json +9 -1
- package/dist/runtime/editor/features/clipboard/index.vue +153 -1
- package/dist/runtime/editor/features/command-palette/Palette/Item/index.vue +39 -16
- package/dist/runtime/editor/features/command-palette/Palette/index.vue +24 -130
- package/dist/runtime/editor/features/comments/index.vue +235 -0
- package/dist/runtime/editor/features/complex-options/index.vue +4 -1
- package/dist/runtime/editor/features/debug/Main.vue +1 -1
- package/dist/runtime/editor/features/debug/Section/Features.vue +2 -4
- package/dist/runtime/editor/features/debug/index.vue +168 -0
- package/dist/runtime/editor/features/dev-mode/index.vue +92 -27
- package/dist/runtime/editor/features/dragging-overlay/Renderer/index.vue +1 -1
- package/dist/runtime/editor/features/dragging-overlay/index.vue +330 -0
- package/dist/runtime/editor/features/edit/index.vue +15 -17
- package/dist/runtime/editor/features/edit-form/Frame/index.vue +21 -4
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.d.vue.ts +10 -1
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +47 -5
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +10 -1
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/ChunkOverlay.vue +77 -0
- package/dist/runtime/editor/features/editable-field/Overlay/ReadabilityIndicator/index.vue +55 -56
- package/dist/runtime/editor/features/editable-field/Overlay/index.vue +417 -8
- package/dist/runtime/editor/features/editable-mask/index.vue +9 -0
- package/dist/runtime/editor/features/entity-title/index.vue +40 -56
- package/dist/runtime/editor/features/fragments/Dialog/index.vue +90 -0
- package/dist/runtime/editor/features/help/Shortcuts/index.vue +71 -0
- package/dist/runtime/editor/features/help/index.vue +17 -0
- package/dist/runtime/editor/features/highlights/Renderer/fragment.glsl +89 -0
- package/dist/runtime/editor/features/highlights/Renderer/index.vue +408 -0
- package/dist/runtime/editor/features/highlights/Renderer/vertex.glsl +87 -0
- package/dist/runtime/editor/features/highlights/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/highlights/index.vue +20 -0
- package/dist/runtime/editor/features/highlights/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/history/List/index.vue +209 -0
- package/dist/runtime/editor/features/history/index.vue +0 -1
- package/dist/runtime/editor/features/hover/Renderer/index.vue +1 -1
- package/dist/runtime/editor/features/hover/Renderer/vertex.glsl +1 -1
- package/dist/runtime/editor/features/import-existing/Dialog/index.vue +18 -0
- package/dist/runtime/editor/features/media-library/Library/index.vue +10 -30
- package/dist/runtime/editor/features/media-library/index.vue +331 -0
- package/dist/runtime/editor/features/options/Form/Checkbox/index.vue +1 -1
- package/dist/runtime/editor/features/options/Form/Checkboxes/index.vue +1 -1
- package/dist/runtime/editor/features/options/Form/ComplexType/index.vue +6 -2
- package/dist/runtime/editor/features/options/Form/Item.vue +21 -18
- package/dist/runtime/editor/features/options/Form/Radios/index.d.vue.ts +6 -0
- package/dist/runtime/editor/features/options/Form/Radios/index.vue +25 -6
- package/dist/runtime/editor/features/options/Form/Radios/index.vue.d.ts +6 -0
- package/dist/runtime/editor/features/options/Form/index.vue +1 -4
- package/dist/runtime/editor/features/options/index.vue +729 -0
- package/dist/runtime/editor/features/ownership/Banner/index.vue +9 -8
- package/dist/runtime/editor/features/ownership/index.vue +1 -1
- package/dist/runtime/editor/features/preview-grant/QrCode/index.vue +8 -3
- package/dist/runtime/editor/features/publish/Dialog/Item.vue +18 -20
- package/dist/runtime/editor/features/publish/Dialog/index.vue +5 -1
- package/dist/runtime/editor/features/publish/index.vue +835 -0
- package/dist/runtime/editor/features/publish/types.d.ts +5 -1
- package/dist/runtime/editor/features/referenced-entities/List/Item/index.d.vue.ts +4 -0
- package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue +81 -0
- package/dist/runtime/editor/features/referenced-entities/List/Item/index.vue.d.ts +4 -0
- package/dist/runtime/editor/features/referenced-entities/List/index.d.vue.ts +11 -0
- package/dist/runtime/editor/features/referenced-entities/List/index.vue +78 -0
- package/dist/runtime/editor/features/referenced-entities/List/index.vue.d.ts +11 -0
- package/dist/runtime/editor/features/referenced-entities/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/referenced-entities/index.vue +36 -0
- package/dist/runtime/editor/features/referenced-entities/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/referenced-entities/types.d.ts +13 -0
- package/dist/runtime/editor/features/responsive-preview/Frame/index.vue +188 -0
- package/dist/runtime/editor/features/search/Overlay/Results/Page/index.vue +1 -1
- package/dist/runtime/editor/features/search/index.vue +511 -0
- package/dist/runtime/editor/features/selection/AddButtons/Renderer/index.vue +58 -0
- package/dist/runtime/editor/features/selection/index.vue +47 -15
- package/dist/runtime/editor/features/settings/Dialog/FeatureSetting/index.vue +23 -0
- package/dist/runtime/editor/features/settings/Dialog/index.vue +5 -2
- package/dist/runtime/editor/features/settings/index.vue +152 -0
- package/dist/runtime/editor/features/structure/List/Item/index.vue +7 -0
- package/dist/runtime/editor/features/structure/index.vue +178 -0
- package/dist/runtime/editor/features/templates/ManageDialog/Item.vue +3 -3
- package/dist/runtime/editor/features/templates/ManageDialog/index.vue +24 -3
- package/dist/runtime/editor/features/theme/index.vue +94 -0
- package/dist/runtime/editor/features/touch-action-bar/Bar/index.vue +34 -0
- package/dist/runtime/editor/features/tour/Overlay/index.vue +243 -13
- package/dist/runtime/editor/features/transform/Dialog/index.vue +132 -1
- package/dist/runtime/editor/features/translations/Banner/index.d.vue.ts +14 -1
- package/dist/runtime/editor/features/translations/Banner/index.vue +139 -12
- package/dist/runtime/editor/features/translations/Banner/index.vue.d.ts +14 -1
- package/dist/runtime/editor/features/translations/CsvDialog/Export/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue +272 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Export/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Import/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue +382 -0
- package/dist/runtime/editor/features/translations/CsvDialog/Import/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/translations/CsvDialog/csv.d.ts +22 -0
- package/dist/runtime/editor/features/translations/CsvDialog/csv.js +50 -0
- package/dist/runtime/editor/features/translations/CsvDialog/index.d.vue.ts +10 -0
- package/dist/runtime/editor/features/translations/CsvDialog/index.vue +37 -0
- package/dist/runtime/editor/features/translations/CsvDialog/index.vue.d.ts +10 -0
- package/dist/runtime/editor/features/translations/CsvDialog/po.d.ts +7 -0
- package/dist/runtime/editor/features/translations/CsvDialog/po.js +36 -0
- package/dist/runtime/editor/features/translations/SelectionTable/index.d.vue.ts +37 -0
- package/dist/runtime/editor/features/translations/SelectionTable/index.vue +102 -0
- package/dist/runtime/editor/features/translations/SelectionTable/index.vue.d.ts +37 -0
- package/dist/runtime/editor/features/translations/TranslateDialog/index.d.vue.ts +7 -0
- package/dist/runtime/editor/features/translations/TranslateDialog/index.vue +294 -0
- package/dist/runtime/editor/features/translations/TranslateDialog/index.vue.d.ts +7 -0
- package/dist/runtime/editor/features/translations/index.vue +276 -6
- package/dist/runtime/editor/features/translations/types.d.ts +47 -0
- package/dist/runtime/editor/features/validations/Overlay/index.vue +130 -0
- package/dist/runtime/editor/features/validations/index.vue +41 -0
- package/dist/runtime/editor/features/{assistant → workspace}/Overlay/index.d.vue.ts +2 -4
- package/dist/runtime/editor/features/workspace/Overlay/index.vue +177 -0
- package/dist/runtime/editor/features/{assistant → workspace}/Overlay/index.vue.d.ts +2 -4
- package/dist/runtime/editor/features/workspace/index.d.vue.ts +3 -0
- package/dist/runtime/editor/features/workspace/index.vue +46 -0
- package/dist/runtime/editor/features/workspace/index.vue.d.ts +3 -0
- package/dist/runtime/editor/features/workspace/types.d.ts +59 -0
- package/dist/runtime/editor/features/workspace/types.js +0 -0
- package/dist/runtime/editor/icons/svg/spinner.svg +2 -2
- package/dist/runtime/editor/plugins/ContextMenu/Menu/index.vue +21 -7
- package/dist/runtime/editor/plugins/ContextMenu/index.vue +4 -0
- package/dist/runtime/editor/plugins/ItemAction/index.d.vue.ts +9 -2
- package/dist/runtime/editor/plugins/ItemAction/index.vue +26 -16
- package/dist/runtime/editor/plugins/ItemAction/index.vue.d.ts +9 -2
- package/dist/runtime/editor/plugins/Sidebar/Detached/index.vue +24 -26
- package/dist/runtime/editor/plugins/Sidebar/index.vue +612 -27
- package/dist/runtime/editor/plugins/ToolbarButton/index.d.vue.ts +13 -84
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue +36 -22
- package/dist/runtime/editor/plugins/ToolbarButton/index.vue.d.ts +13 -84
- package/dist/runtime/editor/plugins/ViewOption/index.vue +13 -14
- package/dist/runtime/editor/providers/blocks.js +1 -0
- package/dist/runtime/editor/providers/cache.d.ts +23 -0
- package/dist/runtime/editor/providers/cache.js +29 -0
- package/dist/runtime/editor/providers/directive.d.ts +25 -0
- package/dist/runtime/editor/providers/directive.js +20 -0
- package/dist/runtime/editor/providers/fieldValue.d.ts +5 -5
- package/dist/runtime/editor/providers/fieldValue.js +8 -7
- package/dist/runtime/editor/providers/plugin.d.ts +14 -0
- package/dist/runtime/editor/providers/plugin.js +9 -0
- package/dist/runtime/editor/providers/readability.js +1 -1
- package/dist/runtime/editor/providers/selection.js +1 -1
- package/dist/runtime/editor/providers/state.d.ts +1 -0
- package/dist/runtime/editor/providers/state.js +1 -0
- package/dist/runtime/editor/providers/texts.js +11 -1
- package/dist/runtime/editor/providers/ui.d.ts +11 -0
- package/dist/runtime/editor/providers/ui.js +5 -1
- package/dist/runtime/editor/translations/de.json +316 -56
- package/dist/runtime/editor/translations/fr.json +310 -50
- package/dist/runtime/editor/translations/gsw_CH.json +311 -51
- package/dist/runtime/editor/translations/it.json +310 -50
- package/dist/runtime/editor/types/app.d.ts +2 -0
- package/dist/runtime/editor/types/definitions.d.ts +8 -0
- package/dist/runtime/editor/types/field.d.ts +1 -0
- package/dist/runtime/editor/types/state.d.ts +10 -0
- package/dist/runtime/editor/types/ui.d.ts +3 -1
- package/dist/runtime/helpers/tw.d.ts +15 -0
- package/dist/runtime/helpers/tw.js +3 -0
- package/dist/runtime/types/field.d.ts +1 -0
- package/dist/shared/{editor.DsGJIlGn.d.mts → editor.BTOBvmaz.d.mts} +20 -3
- package/dist/types.d.mts +1 -1
- package/package.json +16 -3
- package/dist/runtime/editor/features/analyze/Renderer/fragment.glsl +0 -74
- package/dist/runtime/editor/features/analyze/Renderer/index.d.vue.ts +0 -24
- package/dist/runtime/editor/features/analyze/Renderer/index.vue +0 -330
- package/dist/runtime/editor/features/analyze/Renderer/index.vue.d.ts +0 -24
- package/dist/runtime/editor/features/analyze/Renderer/vertex.glsl +0 -94
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.d.vue.ts +0 -7
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue +0 -17
- package/dist/runtime/editor/features/assistant/Overlay/ResultMarkup/index.vue.d.ts +0 -7
- package/dist/runtime/editor/features/assistant/Overlay/index.vue +0 -108
- package/dist/runtime/editor/features/assistant/docs.md +0 -7
- package/dist/runtime/editor/features/assistant/index.vue +0 -66
- package/dist/runtime/editor/features/assistant/types.d.ts +0 -37
- package/dist/runtime/editor/features/media-library/Library/FilterSelect/index.vue +0 -168
- package/dist/runtime/editor/providers/fieldValueAdapterTypes.d.ts +0 -13
- /package/dist/{runtime/editor/features/assistant → modules/iframes/runtime}/types.js +0 -0
- /package/dist/runtime/editor/components/Actions/{ItemDropdown.d.vue.ts → ItemDropdown/index.d.vue.ts} +0 -0
- /package/dist/runtime/editor/components/Actions/{ItemDropdown.vue.d.ts → ItemDropdown/index.vue.d.ts} +0 -0
- /package/dist/runtime/editor/{features/media-library/Library → components/PluginConfigFormInline}/FilterSelect/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/{features/media-library/Library → components/PluginConfigFormInline}/FilterSelect/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/features/{assistant → highlights/Renderer}/index.d.vue.ts +0 -0
- /package/dist/runtime/editor/features/{assistant → highlights/Renderer}/index.vue.d.ts +0 -0
- /package/dist/runtime/editor/{providers/fieldValueAdapterTypes.js → features/referenced-entities/types.js} +0 -0
|
@@ -203,6 +203,8 @@ export interface EventbusEvents {
|
|
|
203
203
|
'select:toggle': string;
|
|
204
204
|
'select:shiftToggle': string;
|
|
205
205
|
'select:end': string[] | undefined;
|
|
206
|
+
'select:next': string[] | undefined;
|
|
207
|
+
'select:prev': string[] | undefined;
|
|
206
208
|
'overlay:close': undefined;
|
|
207
209
|
'item:dropped': undefined;
|
|
208
210
|
'block:append': BlockAppendEvent;
|
|
@@ -260,6 +262,14 @@ export interface EventbusEvents {
|
|
|
260
262
|
uuid: string;
|
|
261
263
|
};
|
|
262
264
|
'block:rerender': string[];
|
|
265
|
+
'analyze:ignore': {
|
|
266
|
+
resultId: string;
|
|
267
|
+
identifier: string;
|
|
268
|
+
};
|
|
269
|
+
'analyze:unignore': {
|
|
270
|
+
resultId: string;
|
|
271
|
+
identifier: string;
|
|
272
|
+
};
|
|
263
273
|
}
|
|
264
274
|
type EventbusEventsType = {
|
|
265
275
|
[K in keyof EventbusEvents]: EventbusEvents[K];
|
|
@@ -125,3 +125,196 @@ useAnimationFrame(() => {
|
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
</script>
|
|
128
|
+
|
|
129
|
+
<style>
|
|
130
|
+
.bk.bk-add-list-help {
|
|
131
|
+
position: absolute;
|
|
132
|
+
top: 0px;
|
|
133
|
+
left: 0px;
|
|
134
|
+
z-index: calc(var(--bk-z-index-base) + 200000) /* "add-list-info" */;
|
|
135
|
+
will-change: transform;
|
|
136
|
+
width: 750px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.bk.bk-add-list-help .bk-add-list-help-item {
|
|
140
|
+
padding: 15px;
|
|
141
|
+
--bk-tw-contain-paint: paint;
|
|
142
|
+
contain: var(--bk-tw-contain-size) var(--bk-tw-contain-layout) var(--bk-tw-contain-paint) var(--bk-tw-contain-style);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.bk.bk-add-list-help .bk-add-list-help-item:has(.bk-add-list-help-fields) .bk-add-list-help-image {
|
|
146
|
+
margin-bottom: 20px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.bk.bk-add-list-help .bk-add-list-help-label {
|
|
150
|
+
margin-bottom: 10px;
|
|
151
|
+
font-size: 14px;
|
|
152
|
+
line-height: 20px;
|
|
153
|
+
font-weight: 600;
|
|
154
|
+
text-transform: uppercase;
|
|
155
|
+
letter-spacing: 0.05em;
|
|
156
|
+
--bk-tw-text-opacity: 1;
|
|
157
|
+
color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-text-opacity, 1));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.bk.bk-add-list-help .bk-add-list-help-inner {
|
|
161
|
+
position: relative;
|
|
162
|
+
will-change: transform;
|
|
163
|
+
background-color: rgb(var(--bk-theme-mono-950) / 0.9);
|
|
164
|
+
--bk-tw-text-opacity: 1;
|
|
165
|
+
color: rgb(var(--bk-theme-mono-50) / var(--bk-tw-text-opacity, 1));
|
|
166
|
+
--bk-tw-backdrop-blur: blur(12px);
|
|
167
|
+
-webkit-backdrop-filter: var(--bk-tw-backdrop-blur) var(--bk-tw-backdrop-brightness) var(--bk-tw-backdrop-contrast) var(--bk-tw-backdrop-grayscale) var(--bk-tw-backdrop-hue-rotate) var(--bk-tw-backdrop-invert) var(--bk-tw-backdrop-opacity) var(--bk-tw-backdrop-saturate) var(--bk-tw-backdrop-sepia);
|
|
168
|
+
backdrop-filter: var(--bk-tw-backdrop-blur) var(--bk-tw-backdrop-brightness) var(--bk-tw-backdrop-contrast) var(--bk-tw-backdrop-grayscale) var(--bk-tw-backdrop-hue-rotate) var(--bk-tw-backdrop-invert) var(--bk-tw-backdrop-opacity) var(--bk-tw-backdrop-saturate) var(--bk-tw-backdrop-sepia);
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
border-radius: 8px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.bk.bk-add-list-help .bk-add-list-help-content {
|
|
174
|
+
position: absolute;
|
|
175
|
+
top: 0px;
|
|
176
|
+
left: 0px;
|
|
177
|
+
right: 0px;
|
|
178
|
+
display: grid;
|
|
179
|
+
align-items: flex-start;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.bk.bk-add-list-help .bk-add-list-help-content .bk-add-list-help-item {
|
|
183
|
+
grid-area: 1 / 1;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.bk.bk-add-list-help hr {
|
|
187
|
+
margin-top: 20px;
|
|
188
|
+
margin-bottom: 20px;
|
|
189
|
+
border-top-width: 1px;
|
|
190
|
+
--bk-tw-border-opacity: 1;
|
|
191
|
+
border-top-color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-border-opacity, 1));
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.bk.bk-add-list-help h2 {
|
|
195
|
+
font-size: 20px;
|
|
196
|
+
line-height: 28px;
|
|
197
|
+
font-weight: 700;
|
|
198
|
+
line-height: 1;
|
|
199
|
+
margin-bottom: 20px;
|
|
200
|
+
display: flex;
|
|
201
|
+
align-items: center;
|
|
202
|
+
gap: 15px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.bk.bk-add-list-help .bk-add-list-help-description {
|
|
206
|
+
user-select: text;
|
|
207
|
+
font-size: 16px;
|
|
208
|
+
line-height: 24px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.bk.bk-add-list-help .bk-add-list-help-description p + p {
|
|
212
|
+
margin-top: 15px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.bk.bk-add-list-help .bk-add-list-help-image {
|
|
216
|
+
overflow: hidden;
|
|
217
|
+
border-radius: 6px;
|
|
218
|
+
--bk-tw-bg-opacity: 1;
|
|
219
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
220
|
+
float: right;
|
|
221
|
+
margin-left: 20px;
|
|
222
|
+
height: 200px;
|
|
223
|
+
width: 300px;
|
|
224
|
+
outline-style: solid;
|
|
225
|
+
outline-width: 1px;
|
|
226
|
+
outline-color: rgb(var(--bk-theme-mono-700) / 1);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.bk.bk-add-list-help .bk-add-list-help-image:has(.bk-blokkli-item-icon) {
|
|
230
|
+
display: flex;
|
|
231
|
+
align-items: center;
|
|
232
|
+
justify-content: center;
|
|
233
|
+
--bk-tw-bg-opacity: 1;
|
|
234
|
+
background-color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-bg-opacity, 1));
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.bk.bk-add-list-help .bk-add-list-help-image .bk-blokkli-item-icon {
|
|
238
|
+
width: 100px;
|
|
239
|
+
height: 100px;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.bk.bk-add-list-help .bk-add-list-help-image .bk-blokkli-item-icon svg {
|
|
243
|
+
fill: rgb(var(--bk-theme-mono-500) / 1);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.bk.bk-add-list-help .bk-add-list-help-image img {
|
|
247
|
+
width: 100%;
|
|
248
|
+
height: 100%;
|
|
249
|
+
border-width: 0;
|
|
250
|
+
object-fit: contain;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.bk.bk-add-list-help .bk-add-list-help-fields-item {
|
|
254
|
+
display: flex;
|
|
255
|
+
flex-wrap: wrap;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.bk.bk-add-list-help .bk-add-list-help-fields-item ul {
|
|
259
|
+
display: flex;
|
|
260
|
+
flex-wrap: wrap;
|
|
261
|
+
column-gap: 15px;
|
|
262
|
+
row-gap: 10px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.bk.bk-add-list-help .bk-add-list-help-fields-item li.bk-is-bundle {
|
|
266
|
+
display: inline-flex;
|
|
267
|
+
gap: 5px;
|
|
268
|
+
font-weight: 500;
|
|
269
|
+
--bk-tw-text-opacity: 1;
|
|
270
|
+
color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-text-opacity, 1));
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.bk.bk-add-list-help .bk-add-list-help-fields-item li.bk-is-field {
|
|
274
|
+
display: inline-block;
|
|
275
|
+
text-transform: uppercase;
|
|
276
|
+
min-width: 0px;
|
|
277
|
+
font-size: 12px;
|
|
278
|
+
line-height: 16px;
|
|
279
|
+
letter-spacing: 0.025em;
|
|
280
|
+
border-radius: 6px;
|
|
281
|
+
padding-left: 8px;
|
|
282
|
+
padding-right: 8px;
|
|
283
|
+
padding-top: 4px;
|
|
284
|
+
padding-bottom: 2px;
|
|
285
|
+
border-width: 1px;
|
|
286
|
+
font-weight: 500;
|
|
287
|
+
background-color: rgb(var(--bk-theme-mono-800) / 0.6);
|
|
288
|
+
--bk-tw-text-opacity: 1;
|
|
289
|
+
color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-text-opacity, 1));
|
|
290
|
+
--bk-tw-border-opacity: 1;
|
|
291
|
+
border-color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-border-opacity, 1));
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.bk.bk-add-list-help .bk-add-list-help-fields-item + .bk-add-list-help-fields-item {
|
|
295
|
+
margin-top: 20px;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.bk-add-list-help-enter-active .bk-add-list-help-inner, .bk-add-list-help-leave-active .bk-add-list-help-inner {
|
|
299
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
300
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
301
|
+
transition-duration: 200ms;
|
|
302
|
+
transition-timing-function: cubic-bezier(0.56, 0.04, 0.25, 1);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.bk-add-list-help-enter-from,
|
|
306
|
+
.bk-add-list-help-leave-to {
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.bk-add-list-help-enter-from .bk-add-list-help-inner {
|
|
310
|
+
--bk-tw-translate-x: -30px;
|
|
311
|
+
transform: translate(var(--bk-tw-translate-x), var(--bk-tw-translate-y)) rotate(var(--bk-tw-rotate)) skewX(var(--bk-tw-skew-x)) skewY(var(--bk-tw-skew-y)) scaleX(var(--bk-tw-scale-x)) scaleY(var(--bk-tw-scale-y));
|
|
312
|
+
opacity: 0;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.bk-add-list-help-leave-to .bk-add-list-help-inner {
|
|
316
|
+
--bk-tw-translate-x: -100px;
|
|
317
|
+
transform: translate(var(--bk-tw-translate-x), var(--bk-tw-translate-y)) rotate(var(--bk-tw-rotate)) skewX(var(--bk-tw-skew-x)) skewY(var(--bk-tw-skew-y)) scaleX(var(--bk-tw-scale-x)) scaleY(var(--bk-tw-scale-y));
|
|
318
|
+
opacity: 0;
|
|
319
|
+
}
|
|
320
|
+
</style>
|
|
@@ -303,3 +303,444 @@ export default {
|
|
|
303
303
|
name: "AddList"
|
|
304
304
|
};
|
|
305
305
|
</script>
|
|
306
|
+
|
|
307
|
+
<style>
|
|
308
|
+
.bk.bk-add-list {
|
|
309
|
+
|
|
310
|
+
pointer-events: auto;
|
|
311
|
+
|
|
312
|
+
z-index: calc(var(--bk-z-index-base) + 190000) /* "add-list" */;
|
|
313
|
+
|
|
314
|
+
--bk-tw-bg-opacity: 1;
|
|
315
|
+
|
|
316
|
+
background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1));
|
|
317
|
+
|
|
318
|
+
position: relative;
|
|
319
|
+
|
|
320
|
+
height: 100%;
|
|
321
|
+
|
|
322
|
+
width: var(--bk-toolbar-left-width);
|
|
323
|
+
|
|
324
|
+
grid-area: left;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.bk.bk-add-list .bk-add-item {
|
|
328
|
+
|
|
329
|
+
cursor: grab;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.bk.bk-add-list .bk-add-item-description {
|
|
333
|
+
|
|
334
|
+
display: block;
|
|
335
|
+
|
|
336
|
+
position: absolute;
|
|
337
|
+
|
|
338
|
+
left: 100%;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.bk.bk-add-list #blokkli-add-list-blocks {
|
|
342
|
+
|
|
343
|
+
display: grid;
|
|
344
|
+
|
|
345
|
+
padding-bottom: 25px;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.bk.bk-add-list #blokkli-add-list-actions {
|
|
349
|
+
|
|
350
|
+
display: grid;
|
|
351
|
+
|
|
352
|
+
position: sticky;
|
|
353
|
+
|
|
354
|
+
bottom: 0px;
|
|
355
|
+
|
|
356
|
+
z-index: 50;
|
|
357
|
+
|
|
358
|
+
border-top-width: 1px;
|
|
359
|
+
|
|
360
|
+
--bk-tw-border-opacity: 1;
|
|
361
|
+
|
|
362
|
+
border-top-color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-border-opacity, 1));
|
|
363
|
+
|
|
364
|
+
--bk-tw-bg-opacity: 1;
|
|
365
|
+
|
|
366
|
+
background-color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-bg-opacity, 1));
|
|
367
|
+
|
|
368
|
+
margin-top: auto;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.bk.bk-add-list #blokkli-add-list-actions .bk-add-item-label {
|
|
372
|
+
|
|
373
|
+
--bk-tw-text-opacity: 1;
|
|
374
|
+
|
|
375
|
+
color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-text-opacity, 1));
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.bk.bk-add-list #blokkli-add-list-actions .bk-add-item-label .bk-icon {
|
|
379
|
+
|
|
380
|
+
--bk-tw-bg-opacity: 1;
|
|
381
|
+
|
|
382
|
+
background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1));
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.bk.bk-add-list #blokkli-add-list-actions .bk-item-icon {
|
|
386
|
+
--bk-item-icon-shadow-color: rgb(var(--bk-theme-mono-900) / 1);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.bk.bk-add-list #blokkli-add-list-actions:after {
|
|
390
|
+
content: '';
|
|
391
|
+
pointer-events: none;
|
|
392
|
+
position: sticky;
|
|
393
|
+
bottom: 0px;
|
|
394
|
+
z-index: 50;
|
|
395
|
+
display: block;
|
|
396
|
+
height: 40px;
|
|
397
|
+
width: 100%;
|
|
398
|
+
position: absolute;
|
|
399
|
+
bottom: 100%;
|
|
400
|
+
left: 0px;
|
|
401
|
+
margin-bottom: 1px;
|
|
402
|
+
background: linear-gradient(
|
|
403
|
+
rgb(var(--bk-theme-mono-900) / 0) 30%,
|
|
404
|
+
rgb(var(--bk-theme-mono-900) / 1)
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.bk .bk-add-item-label, .bk-vars .bk-add-item-label {
|
|
409
|
+
|
|
410
|
+
display: flex;
|
|
411
|
+
|
|
412
|
+
flex: 1 1 0%;
|
|
413
|
+
|
|
414
|
+
align-items: center;
|
|
415
|
+
|
|
416
|
+
gap: 8px;
|
|
417
|
+
|
|
418
|
+
padding-right: 25px;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.bk .bk-add-item-description, .bk-vars .bk-add-item-description {
|
|
422
|
+
|
|
423
|
+
display: none;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.bk .bk-add-list-inner {
|
|
427
|
+
|
|
428
|
+
position: absolute;
|
|
429
|
+
|
|
430
|
+
top: 0px;
|
|
431
|
+
|
|
432
|
+
left: 0px;
|
|
433
|
+
|
|
434
|
+
height: 100%;
|
|
435
|
+
|
|
436
|
+
width: auto;
|
|
437
|
+
|
|
438
|
+
overflow: auto;
|
|
439
|
+
|
|
440
|
+
transition-property: all;
|
|
441
|
+
|
|
442
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
443
|
+
|
|
444
|
+
transition-duration: 200ms;
|
|
445
|
+
|
|
446
|
+
transition-timing-function: cubic-bezier(0.56, 0.04, 0.25, 1);
|
|
447
|
+
|
|
448
|
+
--bk-tw-bg-opacity: 1;
|
|
449
|
+
|
|
450
|
+
background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1));
|
|
451
|
+
|
|
452
|
+
display: flex;
|
|
453
|
+
|
|
454
|
+
flex-direction: column;
|
|
455
|
+
|
|
456
|
+
border-top-width: 1px;
|
|
457
|
+
|
|
458
|
+
--bk-tw-border-opacity: 1;
|
|
459
|
+
|
|
460
|
+
border-top-color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-border-opacity, 1));
|
|
461
|
+
clip-path: rect(0px var(--bk-toolbar-left-width) 100% 0px);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.bk .bk-add-list-inner .bk-add-item-label {
|
|
465
|
+
|
|
466
|
+
opacity: 0;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.bk .bk-add-list-inner .bk-add-item:not(:last-child) {
|
|
470
|
+
margin-bottom: calc(var(--bk-add-item-icon-padding) * -1);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.bk .bk-add-list-inner.bk-is-active {
|
|
474
|
+
clip-path: rect(0px 100% 100% 0px);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.bk .bk-add-list-inner::-webkit-scrollbar {
|
|
478
|
+
display: none;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.bk .bk-add-list-inner .bk-add-item-icon, .bk-vars.bk-dragging-overlay .bk-add-item-icon {
|
|
482
|
+
|
|
483
|
+
width: var(--bk-toolbar-left-width);
|
|
484
|
+
|
|
485
|
+
height: var(--bk-toolbar-left-width);
|
|
486
|
+
padding: var(--bk-add-item-icon-padding);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.bk .bk-add-list-inner.bk-is-active .bk-add-item-label, .bk-vars.bk-dragging-overlay .bk-add-item-label {
|
|
490
|
+
|
|
491
|
+
opacity: 1 !important;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.bk .bk-add-item:hover .bk-add-item, .bk-vars.bk-dragging-overlay .bk-add-item {
|
|
495
|
+
|
|
496
|
+
opacity: 1 !important;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.bk .bk-add-item:hover .bk-add-item-label, .bk-vars.bk-dragging-overlay .bk-add-item-label {
|
|
500
|
+
|
|
501
|
+
--bk-tw-text-opacity: 1 !important;
|
|
502
|
+
|
|
503
|
+
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1)) !important;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.bk .bk-add-item {
|
|
507
|
+
|
|
508
|
+
position: relative;
|
|
509
|
+
|
|
510
|
+
overflow: hidden;
|
|
511
|
+
|
|
512
|
+
--bk-tw-bg-opacity: 1;
|
|
513
|
+
|
|
514
|
+
background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1));
|
|
515
|
+
|
|
516
|
+
display: flex;
|
|
517
|
+
|
|
518
|
+
width: 100%;
|
|
519
|
+
|
|
520
|
+
min-width: fit-content;
|
|
521
|
+
|
|
522
|
+
align-items: center;
|
|
523
|
+
|
|
524
|
+
white-space: nowrap;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.bk .bk-add-item.bk-is-action {
|
|
528
|
+
|
|
529
|
+
--bk-tw-bg-opacity: 1;
|
|
530
|
+
|
|
531
|
+
background-color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-bg-opacity, 1));
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.bk .bk-add-item.bk-is-disabled {
|
|
535
|
+
|
|
536
|
+
opacity: 0.3;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.bk .bk-add-item.bk-is-disabled:hover {
|
|
540
|
+
|
|
541
|
+
opacity: 1;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.bk .bk-add-item-label {
|
|
545
|
+
|
|
546
|
+
padding-left: 3px;
|
|
547
|
+
|
|
548
|
+
font-weight: 600;
|
|
549
|
+
|
|
550
|
+
--bk-tw-text-opacity: 1;
|
|
551
|
+
|
|
552
|
+
color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-text-opacity, 1));
|
|
553
|
+
|
|
554
|
+
transition-property: opacity;
|
|
555
|
+
|
|
556
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
557
|
+
|
|
558
|
+
transition-duration: 200ms;
|
|
559
|
+
font-size: var(--bk-add-item-font-size, 18px);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.bk .bk-add-item-icon {
|
|
563
|
+
|
|
564
|
+
position: relative;
|
|
565
|
+
|
|
566
|
+
z-index: 50;
|
|
567
|
+
|
|
568
|
+
flex-shrink: 0;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.bk-item-icon-hover-parent:hover .bk-item-icon, .bk-add-item:hover .bk-item-icon, .bk-add-item:focus-visible .bk-item-icon, .bk-vars .bk-dragging-overlay .bk-item-icon {
|
|
572
|
+
|
|
573
|
+
outline-style: solid;
|
|
574
|
+
|
|
575
|
+
outline-color: rgb(255 255 255 / 0.4);
|
|
576
|
+
outline-width: var(--bk-item-icon-outline);
|
|
577
|
+
outline-offset: calc(var(--bk-item-icon-outline) * -1);
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.bk-item-icon-hover-parent:hover .bk-item-icon svg, .bk-add-item:hover .bk-item-icon svg, .bk-add-item:focus-visible .bk-item-icon svg, .bk-vars .bk-dragging-overlay .bk-item-icon svg {
|
|
581
|
+
|
|
582
|
+
opacity: 1 !important;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.bk-vars.bk-dragging-overlay .bk-add-item {
|
|
586
|
+
|
|
587
|
+
overflow: hidden;
|
|
588
|
+
|
|
589
|
+
border-radius: 8px;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.bk .bk-item-icon {
|
|
593
|
+
--bk-item-icon-outline: 2px;
|
|
594
|
+
--bk-item-icon-size: calc(
|
|
595
|
+
var(--bk-toolbar-left-width) - 2 * (var(--bk-add-item-icon-padding, 0px))
|
|
596
|
+
);
|
|
597
|
+
--bk-item-icon-radius-base: var(--bk-item-icon-radius-base-toolbar, 8px);
|
|
598
|
+
--bk-item-icon-radius-multiplier: 1;
|
|
599
|
+
--bk-item-icon-shadow-color: rgb(var(--bk-theme-mono-950) / 1);
|
|
600
|
+
display: flex;
|
|
601
|
+
aspect-ratio: 1 / 1;
|
|
602
|
+
align-items: center;
|
|
603
|
+
justify-content: center;
|
|
604
|
+
border-width: 1px;
|
|
605
|
+
--bk-tw-bg-opacity: 1;
|
|
606
|
+
background-color: rgb(0 0 0 / var(--bk-tw-bg-opacity, 1));
|
|
607
|
+
background-image: linear-gradient(to bottom, var(--bk-tw-gradient-stops));
|
|
608
|
+
width: var(--bk-item-icon-size);
|
|
609
|
+
height: var(--bk-item-icon-size);
|
|
610
|
+
box-shadow: 0 2px 3px 1px var(--bk-item-icon-shadow-color);
|
|
611
|
+
border-radius: calc(
|
|
612
|
+
var(--bk-item-icon-radius-base) * var(--bk-item-icon-radius-multiplier)
|
|
613
|
+
);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
@supports (corner-shape: squircle) {
|
|
617
|
+
|
|
618
|
+
.bk .bk-item-icon {
|
|
619
|
+
corner-shape: squircle;
|
|
620
|
+
--bk-item-icon-radius-multiplier: 2.25
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.bk .bk-item-icon.bk-is-small {
|
|
625
|
+
--bk-item-icon-outline: 1px;
|
|
626
|
+
--bk-item-icon-size: 35px;
|
|
627
|
+
--bk-item-icon-radius-base: 6px;
|
|
628
|
+
box-shadow: 0 1px 1px 1px var(--bk-item-icon-shadow-color);
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.bk .bk-item-icon.bk-is-small svg {
|
|
632
|
+
filter: drop-shadow(0px -1px 0px var(--bk-item-icon-shadow-color));
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.bk .bk-item-icon.bk-is-tiny {
|
|
636
|
+
--bk-item-icon-outline: 1px;
|
|
637
|
+
--bk-item-icon-size: 25px;
|
|
638
|
+
--bk-item-icon-radius-base: 5px;
|
|
639
|
+
box-shadow: 0 1px 1px 1px var(--bk-item-icon-shadow-color);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.bk .bk-item-icon.bk-is-tiny svg {
|
|
643
|
+
filter: drop-shadow(0px -1px 0px var(--bk-item-icon-shadow-color));
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.bk .bk-item-icon > .bk-blokkli-item-icon,
|
|
647
|
+
.bk .bk-item-icon > .bk-icon {
|
|
648
|
+
|
|
649
|
+
width: 66.6666666%;
|
|
650
|
+
|
|
651
|
+
height: 66.6666666%;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.bk .bk-item-icon {
|
|
655
|
+
|
|
656
|
+
--bk-item-icon-shadow-color: rgb(var(--bk-theme-mono-950) / 1);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.bk .bk-item-icon svg {
|
|
660
|
+
|
|
661
|
+
width: 100%;
|
|
662
|
+
|
|
663
|
+
height: 100%;
|
|
664
|
+
|
|
665
|
+
fill: currentColor;
|
|
666
|
+
|
|
667
|
+
opacity: 0.8;
|
|
668
|
+
filter: drop-shadow(0px -1px 0px var(--bk-item-icon-shadow-color));
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.bk .bk-item-icon.bk-is-default {
|
|
672
|
+
|
|
673
|
+
border-color: rgb(var(--bk-theme-mono-100) / 0.4);
|
|
674
|
+
|
|
675
|
+
--bk-tw-text-opacity: 1;
|
|
676
|
+
|
|
677
|
+
color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-text-opacity, 1));
|
|
678
|
+
|
|
679
|
+
--bk-tw-gradient-from: rgb(var(--bk-theme-mono-800) / 1) var(--bk-tw-gradient-from-position);
|
|
680
|
+
|
|
681
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-mono-800) / 0) var(--bk-tw-gradient-to-position);
|
|
682
|
+
|
|
683
|
+
--bk-tw-gradient-stops: var(--bk-tw-gradient-from), var(--bk-tw-gradient-to);
|
|
684
|
+
|
|
685
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-mono-600) / 1) var(--bk-tw-gradient-to-position);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.bk .bk-item-icon.bk-is-yellow {
|
|
689
|
+
--bk-item-icon-shadow-color: rgba(0, 0, 0, 0.2);
|
|
690
|
+
border-color: rgb(var(--bk-theme-yellow-normal) / 0.5);
|
|
691
|
+
--bk-tw-text-opacity: 1;
|
|
692
|
+
color: rgb(var(--bk-theme-yellow-light) / var(--bk-tw-text-opacity, 1));
|
|
693
|
+
--bk-tw-gradient-from: rgb(var(--bk-theme-yellow-normal) / 0.25) var(--bk-tw-gradient-from-position);
|
|
694
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-yellow-normal) / 0) var(--bk-tw-gradient-to-position);
|
|
695
|
+
--bk-tw-gradient-stops: var(--bk-tw-gradient-from), var(--bk-tw-gradient-to);
|
|
696
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-yellow-normal) / 0.4) var(--bk-tw-gradient-to-position);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.bk .bk-item-icon.bk-is-rose {
|
|
700
|
+
--bk-item-icon-shadow-color: rgba(0, 0, 0, 0.2);
|
|
701
|
+
--bk-tw-border-opacity: 1;
|
|
702
|
+
border-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-border-opacity, 1));
|
|
703
|
+
--bk-tw-text-opacity: 1;
|
|
704
|
+
color: rgb(var(--bk-theme-red-light) / var(--bk-tw-text-opacity, 1));
|
|
705
|
+
--bk-tw-gradient-from: rgb(var(--bk-theme-red-normal) / 0.5) var(--bk-tw-gradient-from-position);
|
|
706
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-red-normal) / 0) var(--bk-tw-gradient-to-position);
|
|
707
|
+
--bk-tw-gradient-stops: var(--bk-tw-gradient-from), var(--bk-tw-gradient-to);
|
|
708
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-red-normal) / 0.7) var(--bk-tw-gradient-to-position);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.bk .bk-item-icon.bk-is-lime {
|
|
712
|
+
--bk-item-icon-shadow-color: rgba(0, 0, 0, 0.2);
|
|
713
|
+
--bk-tw-border-opacity: 1;
|
|
714
|
+
border-color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-border-opacity, 1));
|
|
715
|
+
--bk-tw-text-opacity: 1;
|
|
716
|
+
color: rgb(var(--bk-theme-lime-light) / var(--bk-tw-text-opacity, 1));
|
|
717
|
+
--bk-tw-gradient-from: rgb(var(--bk-theme-lime-normal) / 0.5) var(--bk-tw-gradient-from-position);
|
|
718
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-lime-normal) / 0) var(--bk-tw-gradient-to-position);
|
|
719
|
+
--bk-tw-gradient-stops: var(--bk-tw-gradient-from), var(--bk-tw-gradient-to);
|
|
720
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-lime-normal) / 0.7) var(--bk-tw-gradient-to-position);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.bk .bk-item-icon.bk-is-accent {
|
|
724
|
+
--bk-item-icon-shadow-color: rgb(var(--bk-theme-accent-900) / 1);
|
|
725
|
+
--bk-tw-border-opacity: 1;
|
|
726
|
+
border-color: rgb(var(--bk-theme-accent-400) / var(--bk-tw-border-opacity, 1));
|
|
727
|
+
--bk-tw-text-opacity: 1;
|
|
728
|
+
color: rgb(var(--bk-theme-accent-50) / var(--bk-tw-text-opacity, 1));
|
|
729
|
+
--bk-tw-gradient-from: rgb(var(--bk-theme-accent-800) / 1) var(--bk-tw-gradient-from-position);
|
|
730
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-accent-800) / 0) var(--bk-tw-gradient-to-position);
|
|
731
|
+
--bk-tw-gradient-stops: var(--bk-tw-gradient-from), var(--bk-tw-gradient-to);
|
|
732
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-accent-600) / 1) var(--bk-tw-gradient-to-position);
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.bk .bk-item-icon.bk-is-orange {
|
|
736
|
+
--bk-item-icon-shadow-color: rgba(0, 0, 0, 0.2);
|
|
737
|
+
--bk-tw-border-opacity: 1;
|
|
738
|
+
border-color: rgb(var(--bk-theme-orange-normal) / var(--bk-tw-border-opacity, 1));
|
|
739
|
+
--bk-tw-text-opacity: 1;
|
|
740
|
+
color: rgb(var(--bk-theme-orange-light) / var(--bk-tw-text-opacity, 1));
|
|
741
|
+
--bk-tw-gradient-from: rgb(var(--bk-theme-orange-normal) / 0.5) var(--bk-tw-gradient-from-position);
|
|
742
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-orange-normal) / 0) var(--bk-tw-gradient-to-position);
|
|
743
|
+
--bk-tw-gradient-stops: var(--bk-tw-gradient-from), var(--bk-tw-gradient-to);
|
|
744
|
+
--bk-tw-gradient-to: rgb(var(--bk-theme-orange-normal) / 0.7) var(--bk-tw-gradient-to-position);
|
|
745
|
+
}
|
|
746
|
+
</style>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AnalyzeResultMapped } from '../analyzers/types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
results: AnalyzeResultMapped[];
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<details class="bk-analyze-results">
|
|
3
|
+
<summary>
|
|
4
|
+
<div>
|
|
5
|
+
<span>{{ $t("analyzeIgnoredResults", "Ignored") }}</span>
|
|
6
|
+
<div>
|
|
7
|
+
<span class="bk-pill">{{ totalCount }}</span>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<Icon name="bk_mdi_arrow_drop_down" />
|
|
11
|
+
</summary>
|
|
12
|
+
<ul>
|
|
13
|
+
<li>
|
|
14
|
+
<ResultsItem
|
|
15
|
+
v-for="result in results"
|
|
16
|
+
v-bind="result"
|
|
17
|
+
:key="result.id"
|
|
18
|
+
/>
|
|
19
|
+
</li>
|
|
20
|
+
</ul>
|
|
21
|
+
</details>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script setup>
|
|
25
|
+
import { computed, useBlokkli } from "#imports";
|
|
26
|
+
import ResultsItem from "../Results/ResultsItem.vue";
|
|
27
|
+
import { Icon } from "#blokkli/editor/components";
|
|
28
|
+
const props = defineProps({
|
|
29
|
+
results: { type: Array, required: true }
|
|
30
|
+
});
|
|
31
|
+
const { $t } = useBlokkli();
|
|
32
|
+
const totalCount = computed(
|
|
33
|
+
() => props.results.reduce((sum, r) => sum + r.nodes.length, 0)
|
|
34
|
+
);
|
|
35
|
+
</script>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AnalyzeResultMapped } from '../analyzers/types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
results: AnalyzeResultMapped[];
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|