@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
|
@@ -78,3 +78,155 @@ export default {
|
|
|
78
78
|
name: "Settings"
|
|
79
79
|
};
|
|
80
80
|
</script>
|
|
81
|
+
|
|
82
|
+
<style>
|
|
83
|
+
.bk.bk-settings .bk-settings-group-title {
|
|
84
|
+
font-size: 20px;
|
|
85
|
+
line-height: 28px;
|
|
86
|
+
font-weight: 700;
|
|
87
|
+
line-height: 1.25
|
|
88
|
+
}
|
|
89
|
+
.bk.bk-settings .bk-form-section {
|
|
90
|
+
margin-top: 0px;
|
|
91
|
+
display: grid;
|
|
92
|
+
grid-template-columns: 240px 1fr;
|
|
93
|
+
border-bottom-width: 1px;
|
|
94
|
+
--bk-tw-border-opacity: 1;
|
|
95
|
+
border-bottom-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
96
|
+
padding-top: 25px;
|
|
97
|
+
padding-bottom: 25px
|
|
98
|
+
}
|
|
99
|
+
.bk.bk-settings .bk-form-section:first-child {
|
|
100
|
+
padding-top: 0px
|
|
101
|
+
}
|
|
102
|
+
.bk.bk-settings .bk-form-section:last-child {
|
|
103
|
+
border-bottom-width: 0;
|
|
104
|
+
padding-bottom: 0px
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.bk .bk-settings-checkboxes {
|
|
108
|
+
display: grid;
|
|
109
|
+
gap: 10px
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.bk .bk-settings-buttons {
|
|
113
|
+
display: grid;
|
|
114
|
+
gap: 10px
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.bk .bk-settings-ui {
|
|
118
|
+
display: grid;
|
|
119
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
120
|
+
gap: 15px
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.bk .bk-settings-ui li {
|
|
124
|
+
position: relative
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.bk .bk-settings-ui li:focus-within .bk-icon {
|
|
128
|
+
outline-style: solid;
|
|
129
|
+
outline-offset: 3px;
|
|
130
|
+
outline-color: rgb(var(--bk-theme-accent-950) / 0.8)
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.bk .bk-settings-ui li label {
|
|
134
|
+
display: block;
|
|
135
|
+
cursor: pointer
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.bk .bk-settings-ui li input {
|
|
139
|
+
position: absolute;
|
|
140
|
+
top: 0px;
|
|
141
|
+
left: 0px;
|
|
142
|
+
height: 100%;
|
|
143
|
+
width: 100%;
|
|
144
|
+
cursor: pointer;
|
|
145
|
+
appearance: none;
|
|
146
|
+
opacity: 0
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.bk .bk-settings-ui li input + .bk-icon {
|
|
150
|
+
pointer-events: none;
|
|
151
|
+
overflow: hidden;
|
|
152
|
+
border-radius: 4px;
|
|
153
|
+
border-width: 1px;
|
|
154
|
+
--bk-tw-border-opacity: 1;
|
|
155
|
+
border-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1))
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.bk .bk-settings-ui li input + .bk-icon svg {
|
|
159
|
+
height: auto;
|
|
160
|
+
width: 100%;
|
|
161
|
+
opacity: 0.5
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.bk .bk-settings-ui li input:checked + .bk-icon {
|
|
165
|
+
--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);
|
|
166
|
+
--bk-tw-ring-shadow: var(--bk-tw-ring-inset) 0 0 0 calc(3px + var(--bk-tw-ring-offset-width)) var(--bk-tw-ring-color);
|
|
167
|
+
box-shadow: var(--bk-tw-ring-offset-shadow), var(--bk-tw-ring-shadow), var(--bk-tw-shadow, 0 0 #0000);
|
|
168
|
+
--bk-tw-ring-opacity: 1;
|
|
169
|
+
--bk-tw-ring-color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-ring-opacity, 1))
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.bk .bk-settings-ui li input:checked + .bk-icon svg {
|
|
173
|
+
opacity: 1
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.bk .bk-settings-ui li input:checked + .bk-icon + span {
|
|
177
|
+
font-weight: 600;
|
|
178
|
+
--bk-tw-text-opacity: 1;
|
|
179
|
+
color: rgb(var(--bk-theme-mono-950) / var(--bk-tw-text-opacity, 1))
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.bk .bk-settings-ui li input:not(:checked):hover + .bk-icon {
|
|
183
|
+
--bk-tw-border-opacity: 1;
|
|
184
|
+
border-color: rgb(var(--bk-theme-mono-500) / var(--bk-tw-border-opacity, 1))
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.bk .bk-settings-ui li input:not(:checked):hover + .bk-icon svg {
|
|
188
|
+
opacity: 0.7
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.bk .bk-settings-ui li input:not(:checked):hover + .bk-icon + span {
|
|
192
|
+
--bk-tw-text-opacity: 1;
|
|
193
|
+
color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-text-opacity, 1))
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.bk .bk-settings-ui li span {
|
|
197
|
+
margin-top: 10px;
|
|
198
|
+
display: inline-block;
|
|
199
|
+
width: 100%;
|
|
200
|
+
text-align: left;
|
|
201
|
+
font-size: 14px;
|
|
202
|
+
line-height: 20px;
|
|
203
|
+
--bk-tw-text-opacity: 1;
|
|
204
|
+
color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-text-opacity, 1))
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.bk .bk-icon-theme-bg {
|
|
208
|
+
fill: rgb(var(--bk-theme-mono-200) / 1)
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.bk .bk-icon-theme-fg {
|
|
212
|
+
fill: white
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.bk .bk-icon-theme-text {
|
|
216
|
+
fill: rgb(var(--bk-theme-mono-300) / 1)
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.bk .bk-icon-theme-toolbar {
|
|
220
|
+
fill: rgb(var(--bk-theme-mono-950) / 1)
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.bk .bk-icon-theme-toolbar-dark-item {
|
|
224
|
+
fill: rgb(var(--bk-theme-mono-800) / 1);
|
|
225
|
+
stroke: rgb(var(--bk-theme-mono-600) / 1)
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.bk .bk-icon-theme-toolbar-light-item {
|
|
229
|
+
fill: rgb(var(--bk-theme-mono-200) / 1);
|
|
230
|
+
stroke: rgb(var(--bk-theme-mono-300) / 1)
|
|
231
|
+
}
|
|
232
|
+
</style>
|
|
@@ -125,3 +125,10 @@ defineOptions({
|
|
|
125
125
|
name: "StructureListItem"
|
|
126
126
|
});
|
|
127
127
|
</script>
|
|
128
|
+
|
|
129
|
+
<style>
|
|
130
|
+
.bk-vars .bk-dragging-overlay-item [bk-structure-uuid] {
|
|
131
|
+
--bk-tw-bg-opacity: 1 !important;
|
|
132
|
+
background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1)) !important
|
|
133
|
+
}
|
|
134
|
+
</style>
|
|
@@ -97,3 +97,181 @@ export default {
|
|
|
97
97
|
name: "Structure"
|
|
98
98
|
};
|
|
99
99
|
</script>
|
|
100
|
+
|
|
101
|
+
<style>
|
|
102
|
+
.bk.bk-structure {
|
|
103
|
+
height: 100%;
|
|
104
|
+
overflow: auto;
|
|
105
|
+
--bk-tw-bg-opacity: 1;
|
|
106
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.bk.bk-structure > .bk-structure-list > li {
|
|
110
|
+
border-bottom-width: 1px;
|
|
111
|
+
--bk-tw-border-opacity: 1;
|
|
112
|
+
border-bottom-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
113
|
+
padding-top: 10px;
|
|
114
|
+
padding-bottom: 10px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.bk.bk-structure > .bk-structure-list > li > .bk-structure-item {
|
|
118
|
+
border-left-width: 0;
|
|
119
|
+
border-right-width: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.bk.bk-structure > .bk-structure-list .bk-structure-list {
|
|
123
|
+
position: relative;
|
|
124
|
+
padding-left: 11px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.bk.bk-structure > .bk-structure-list .bk-structure-list > li:not(:first-child) > .bk-structure-field > .bk-structure-field-label {
|
|
128
|
+
margin-top: 20px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.bk.bk-structure > .bk-structure-list .bk-structure-list:before {
|
|
132
|
+
content: '';
|
|
133
|
+
position: absolute;
|
|
134
|
+
top: -9px;
|
|
135
|
+
left: 11px;
|
|
136
|
+
bottom: 18px;
|
|
137
|
+
width: 0px;
|
|
138
|
+
border-left-width: 1px;
|
|
139
|
+
--bk-tw-border-opacity: 1;
|
|
140
|
+
border-left-color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-border-opacity, 1));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.bk.bk-structure > .bk-structure-list .bk-structure-list .bk-structure-item-label {
|
|
144
|
+
height: 40px;
|
|
145
|
+
cursor: grab;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.bk.bk-structure > .bk-structure-list .bk-structure-list .bk-structure-item-label:before {
|
|
149
|
+
content: '';
|
|
150
|
+
position: absolute;
|
|
151
|
+
left: -20px;
|
|
152
|
+
top: 22px;
|
|
153
|
+
height: 1px;
|
|
154
|
+
width: 19px;
|
|
155
|
+
border-top-width: 1px;
|
|
156
|
+
--bk-tw-border-opacity: 1;
|
|
157
|
+
border-top-color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-border-opacity, 1));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.bk.bk-structure .bk-structure-item {
|
|
161
|
+
border-width: 1px;
|
|
162
|
+
border-color: transparent;
|
|
163
|
+
padding-left: 20px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.bk.bk-structure .bk-structure-item:hover {
|
|
167
|
+
--bk-tw-border-opacity: 1;
|
|
168
|
+
border-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
169
|
+
background-color: rgb(var(--bk-theme-mono-300) / 0.2);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.bk.bk-structure .bk-structure-item .bk-blokkli-item-icon {
|
|
173
|
+
height: 25px;
|
|
174
|
+
width: 25px;
|
|
175
|
+
border-radius: 4px;
|
|
176
|
+
border-width: 1px;
|
|
177
|
+
--bk-tw-border-opacity: 1;
|
|
178
|
+
border-color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-border-opacity, 1));
|
|
179
|
+
--bk-tw-bg-opacity: 1;
|
|
180
|
+
background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1));
|
|
181
|
+
padding: 3px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.bk.bk-structure .bk-structure-item .bk-blokkli-item-icon.bk-is-selected {
|
|
185
|
+
--bk-tw-border-opacity: 1;
|
|
186
|
+
border-color: rgb(var(--bk-theme-accent-900) / var(--bk-tw-border-opacity, 1));
|
|
187
|
+
--bk-tw-bg-opacity: 1;
|
|
188
|
+
background-color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-bg-opacity, 1));
|
|
189
|
+
--bk-tw-text-opacity: 1;
|
|
190
|
+
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.bk.bk-structure .bk-structure-item.bk-is-selected > .bk-structure-item-label {
|
|
194
|
+
font-weight: 600;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.bk.bk-structure .bk-structure-item.bk-is-selected .bk-structure-list:before {
|
|
198
|
+
--bk-tw-border-opacity: 1;
|
|
199
|
+
border-left-color: rgb(var(--bk-theme-accent-500) / var(--bk-tw-border-opacity, 1));
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.bk.bk-structure .bk-structure-item.bk-is-selected .bk-structure-item .bk-structure-item-label:before {
|
|
203
|
+
--bk-tw-border-opacity: 1;
|
|
204
|
+
border-top-color: rgb(var(--bk-theme-accent-500) / var(--bk-tw-border-opacity, 1));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.bk.bk-structure .bk-structure-item.bk-is-selected .bk-structure-item .bk-blokkli-item-icon {
|
|
208
|
+
--bk-tw-border-opacity: 1;
|
|
209
|
+
border-color: rgb(var(--bk-theme-accent-400) / var(--bk-tw-border-opacity, 1));
|
|
210
|
+
--bk-tw-bg-opacity: 1;
|
|
211
|
+
background-color: rgb(var(--bk-theme-accent-50) / var(--bk-tw-bg-opacity, 1));
|
|
212
|
+
--bk-tw-text-opacity: 1;
|
|
213
|
+
color: rgb(var(--bk-theme-accent-800) / var(--bk-tw-text-opacity, 1));
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.bk.bk-structure .bk-structure-item-label {
|
|
217
|
+
position: relative;
|
|
218
|
+
display: flex;
|
|
219
|
+
width: 100%;
|
|
220
|
+
align-items: center;
|
|
221
|
+
gap: 5px;
|
|
222
|
+
padding-top: 10px;
|
|
223
|
+
padding-bottom: 10px;
|
|
224
|
+
font-size: 14px;
|
|
225
|
+
line-height: 20px;
|
|
226
|
+
line-height: 1;
|
|
227
|
+
--bk-tw-text-opacity: 1;
|
|
228
|
+
color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-text-opacity, 1));
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.bk.bk-structure .bk-structure-field-label {
|
|
232
|
+
margin-bottom: 5px;
|
|
233
|
+
display: flex;
|
|
234
|
+
height: 20px;
|
|
235
|
+
align-items: center;
|
|
236
|
+
padding-left: 17px;
|
|
237
|
+
font-size: 12px;
|
|
238
|
+
line-height: 16px;
|
|
239
|
+
font-weight: 500;
|
|
240
|
+
text-transform: uppercase;
|
|
241
|
+
--bk-tw-text-opacity: 1;
|
|
242
|
+
color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-text-opacity, 1));
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.bk.bk-structure .bk-structure-field-item {
|
|
246
|
+
position: relative;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.bk.bk-structure .bk-structure-field-items {
|
|
250
|
+
position: relative;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.bk.bk-structure .bk-structure-field-target {
|
|
254
|
+
position: absolute;
|
|
255
|
+
height: 40px;
|
|
256
|
+
width: 100%;
|
|
257
|
+
opacity: 0.2;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.bk.bk-structure .bk-structure-field-target:hover {
|
|
261
|
+
opacity: 1;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.bk.bk-structure .bk-structure-field-target {
|
|
265
|
+
border-bottom-width: 4px;
|
|
266
|
+
--bk-tw-border-opacity: 1;
|
|
267
|
+
border-bottom-color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-border-opacity, 1));
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.bk.bk-structure .bk-structure-field-target.bk-is-before {
|
|
271
|
+
top: -40px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.bk.bk-structure .bk-structure-field-target.bk-is-after {
|
|
275
|
+
bottom: 0px;
|
|
276
|
+
}
|
|
277
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<tr>
|
|
2
|
+
<tr class="_bk_hover:bg-mono-50">
|
|
3
3
|
<td>
|
|
4
4
|
<div>
|
|
5
5
|
<span>{{ label }}</span>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
>
|
|
17
17
|
</div>
|
|
18
18
|
<div v-if="description">{{ description }}</div>
|
|
19
|
-
<ul class="bk-pill-list">
|
|
19
|
+
<ul class="bk-pill-list _bk_mt-8">
|
|
20
20
|
<li v-for="(bundle, index) in bundleLabels" :key="index">
|
|
21
21
|
<span class="bk-pill bk-is-mono" v-text="bundle" />
|
|
22
22
|
</li>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<RelativeTime v-if="dateUpdated" :timestamp="dateUpdated" />
|
|
33
33
|
</td>
|
|
34
34
|
<td class="bk-templates-manage-table-actions">
|
|
35
|
-
<div>
|
|
35
|
+
<div class="_bk_flex _bk_gap-10 _bk_justify-end">
|
|
36
36
|
<template v-if="confirmDelete">
|
|
37
37
|
<button
|
|
38
38
|
class="bk-button bk-is-danger bk-is-small"
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
@cancel="$emit('cancel')"
|
|
15
15
|
>
|
|
16
16
|
<div ref="dialogEl" class="bk-templates-manage">
|
|
17
|
-
<div v-if="config.length" class="
|
|
17
|
+
<div v-if="config.length" class="_bk_mt-20 _bk_mb-30">
|
|
18
18
|
<ConfigForm v-model="filters" :config />
|
|
19
19
|
</div>
|
|
20
20
|
<Loading v-if="status === 'pending'" />
|
|
21
21
|
<template v-if="items.length">
|
|
22
|
-
<table class="bk-table">
|
|
22
|
+
<table class="bk-table _bk_mt-40">
|
|
23
23
|
<thead>
|
|
24
24
|
<tr>
|
|
25
25
|
<th>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<th>
|
|
35
35
|
{{ $t("dateUpdated", "Updated") }}
|
|
36
36
|
</th>
|
|
37
|
-
<th>
|
|
37
|
+
<th class="_bk_text-right">
|
|
38
38
|
{{ $t("actions", "Actions") }}
|
|
39
39
|
</th>
|
|
40
40
|
</tr>
|
|
@@ -105,3 +105,24 @@ watch(page, () => {
|
|
|
105
105
|
confirmDeleteUuid.value = "";
|
|
106
106
|
});
|
|
107
107
|
</script>
|
|
108
|
+
|
|
109
|
+
<style>
|
|
110
|
+
.bk .bk-templates-manage {
|
|
111
|
+
min-height: 80vh;
|
|
112
|
+
position: relative;
|
|
113
|
+
user-select: text;
|
|
114
|
+
margin-top: 25px;
|
|
115
|
+
}
|
|
116
|
+
.bk .bk-templates-manage .bk-table tbody td {
|
|
117
|
+
padding-top: 15px;
|
|
118
|
+
padding-bottom: 15px;
|
|
119
|
+
}
|
|
120
|
+
.bk .bk-templates-manage .bk-table tbody td:first-child div:first-child {
|
|
121
|
+
font-size: 18px;
|
|
122
|
+
line-height: 28px;
|
|
123
|
+
font-weight: 700;
|
|
124
|
+
}
|
|
125
|
+
.bk .bk-templates-manage .bk-table tbody td:first-child div:first-child .bk-pill {
|
|
126
|
+
margin-left: 5px;
|
|
127
|
+
}
|
|
128
|
+
</style>
|
|
@@ -107,3 +107,97 @@ export default {
|
|
|
107
107
|
name: "Theme"
|
|
108
108
|
};
|
|
109
109
|
</script>
|
|
110
|
+
|
|
111
|
+
<style>
|
|
112
|
+
.bk.bk-theme-editor {
|
|
113
|
+
container-type: inline-size;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@container (min-width: 600px) {
|
|
117
|
+
|
|
118
|
+
.bk .bk-theme-editor-groups {
|
|
119
|
+
display: grid;
|
|
120
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.bk .bk-theme-editor-table {
|
|
125
|
+
width: 100%;
|
|
126
|
+
font-size: 14px;
|
|
127
|
+
line-height: 20px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.bk .bk-theme-editor-table tr {
|
|
131
|
+
border-bottom-width: 1px;
|
|
132
|
+
--bk-tw-border-opacity: 1;
|
|
133
|
+
border-bottom-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.bk .bk-theme-editor-table td {
|
|
137
|
+
padding-left: 10px;
|
|
138
|
+
padding-right: 10px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.bk .bk-theme-editor-table .bk-theme-editor-color-shade {
|
|
142
|
+
text-align: right;
|
|
143
|
+
font-weight: 500;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.bk .bk-theme-editor-table .bk-theme-editor-color-buttons svg {
|
|
147
|
+
height: 20px;
|
|
148
|
+
width: 20px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.bk .bk-theme-editor-table .bk-theme-editor-color-hex {
|
|
152
|
+
width: 100%;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.bk .bk-theme-editor-table .bk-theme-editor-color-hex input {
|
|
156
|
+
width: 100%;
|
|
157
|
+
font-family: monospace;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.bk .bk-theme-editor-table .bk-theme-editor-color-color {
|
|
161
|
+
width: 0px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.bk .bk-theme-editor-code textarea {
|
|
165
|
+
width: 100%;
|
|
166
|
+
font-family: monospace;
|
|
167
|
+
font-size: 14px;
|
|
168
|
+
line-height: 20px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.bk .bk-theme-editor-group h2 {
|
|
172
|
+
padding-left: 15px;
|
|
173
|
+
padding-right: 15px;
|
|
174
|
+
padding-top: 5px;
|
|
175
|
+
padding-bottom: 5px;
|
|
176
|
+
font-size: 14px;
|
|
177
|
+
line-height: 20px;
|
|
178
|
+
font-weight: 600;
|
|
179
|
+
text-transform: uppercase;
|
|
180
|
+
--bk-tw-text-opacity: 1;
|
|
181
|
+
color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-text-opacity, 1));
|
|
182
|
+
border-bottom-width: 1px;
|
|
183
|
+
--bk-tw-border-opacity: 1;
|
|
184
|
+
border-bottom-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
185
|
+
--bk-tw-bg-opacity: 1;
|
|
186
|
+
background-color: rgb(var(--bk-theme-mono-100) / var(--bk-tw-bg-opacity, 1));
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.bk .bk-theme-editor-select {
|
|
190
|
+
border-bottom-width: 1px;
|
|
191
|
+
--bk-tw-border-opacity: 1;
|
|
192
|
+
border-bottom-color: rgb(var(--bk-theme-mono-500) / var(--bk-tw-border-opacity, 1));
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.bk .bk-theme-editor-select select {
|
|
196
|
+
width: 100%;
|
|
197
|
+
padding-left: 15px;
|
|
198
|
+
padding-right: 15px;
|
|
199
|
+
padding-top: 15px;
|
|
200
|
+
padding-bottom: 15px;
|
|
201
|
+
font-weight: 600;
|
|
202
|
+
}
|
|
203
|
+
</style>
|
|
@@ -23,3 +23,37 @@ export default {
|
|
|
23
23
|
name: "TouchActionBar"
|
|
24
24
|
};
|
|
25
25
|
</script>
|
|
26
|
+
|
|
27
|
+
<style>
|
|
28
|
+
.bk.bk-touch-action-bar {
|
|
29
|
+
|
|
30
|
+
pointer-events: auto;
|
|
31
|
+
|
|
32
|
+
position: fixed;
|
|
33
|
+
|
|
34
|
+
bottom: 0px;
|
|
35
|
+
|
|
36
|
+
left: 0px;
|
|
37
|
+
|
|
38
|
+
z-index: calc(var(--bk-z-index-base) + 260000) /* "touch-action-bar" */;
|
|
39
|
+
|
|
40
|
+
height: 50px;
|
|
41
|
+
|
|
42
|
+
width: 100%;
|
|
43
|
+
|
|
44
|
+
--bk-tw-bg-opacity: 1;
|
|
45
|
+
|
|
46
|
+
background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1))
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.bk.bk-touch-action-bar button {
|
|
50
|
+
|
|
51
|
+
height: 100%;
|
|
52
|
+
|
|
53
|
+
min-height: 0px;
|
|
54
|
+
|
|
55
|
+
width: 100%;
|
|
56
|
+
|
|
57
|
+
border-radius: 0px !important
|
|
58
|
+
}
|
|
59
|
+
</style>
|