@blokkli/editor 2.0.0-alpha.51 → 2.0.0-alpha.53
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.d.vue.ts +2 -1
- package/dist/runtime/components/BlokkliEditable.vue +58 -42
- package/dist/runtime/components/BlokkliEditable.vue.d.ts +2 -1
- package/dist/runtime/components/BlokkliItem.d.vue.ts +1 -1
- package/dist/runtime/components/BlokkliItem.vue.d.ts +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 +214 -3
- 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 +9 -1
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue +32 -3
- package/dist/runtime/editor/features/editable-field/Overlay/Frame/index.vue.d.ts +9 -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 +416 -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
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
</button>
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
+
<slot name="tabs" />
|
|
22
|
+
|
|
21
23
|
<div
|
|
22
24
|
class="bk-dialog-content"
|
|
23
25
|
:class="{
|
|
@@ -132,3 +134,342 @@ export default {
|
|
|
132
134
|
name: "BlokkliDialog"
|
|
133
135
|
};
|
|
134
136
|
</script>
|
|
137
|
+
|
|
138
|
+
<style>
|
|
139
|
+
.bk.bk-dialog {
|
|
140
|
+
pointer-events: none;
|
|
141
|
+
position: fixed;
|
|
142
|
+
top: 0px;
|
|
143
|
+
left: 0px;
|
|
144
|
+
bottom: 0px;
|
|
145
|
+
z-index: calc(var(--bk-z-index-base) + 370000) /* "dialog" */;
|
|
146
|
+
width: 100vw;
|
|
147
|
+
}
|
|
148
|
+
@media (min-width: 1024px) {
|
|
149
|
+
.bk.bk-dialog {
|
|
150
|
+
padding: 15px;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
.bk.bk-dialog {
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: center;
|
|
156
|
+
justify-content: center;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.bk.bk-dialog .bk-dialog-inner {
|
|
160
|
+
position: relative;
|
|
161
|
+
z-index: 20;
|
|
162
|
+
height: 100%;
|
|
163
|
+
max-height: 100%;
|
|
164
|
+
min-height: 0px;
|
|
165
|
+
width: 100%;
|
|
166
|
+
max-width: 1280px;
|
|
167
|
+
overflow: hidden;
|
|
168
|
+
--bk-tw-bg-opacity: 1;
|
|
169
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
170
|
+
--bk-tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
171
|
+
--bk-tw-shadow-colored: 0 25px 50px -12px var(--bk-tw-shadow-color);
|
|
172
|
+
box-shadow: var(--bk-tw-ring-offset-shadow, 0 0 #0000), var(--bk-tw-ring-shadow, 0 0 #0000), var(--bk-tw-shadow);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@media (min-width: 768px) {
|
|
176
|
+
.bk.bk-dialog .bk-dialog-inner {
|
|
177
|
+
border-radius: 6px;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@media (min-width: 1024px) {
|
|
182
|
+
.bk.bk-dialog .bk-dialog-inner {
|
|
183
|
+
height: auto;
|
|
184
|
+
min-width: 450px;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.bk.bk-dialog .bk-dialog-inner {
|
|
189
|
+
display: flex;
|
|
190
|
+
flex-direction: column;
|
|
191
|
+
pointer-events: auto;
|
|
192
|
+
--bk-tw-bg-opacity: 1;
|
|
193
|
+
background-color: rgb(0 0 0 / var(--bk-tw-bg-opacity, 1));
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@media (min-width: 768px) {
|
|
197
|
+
.bk.bk-dialog .bk-dialog-inner {
|
|
198
|
+
--bk-tw-bg-opacity: 1;
|
|
199
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
200
|
+
}
|
|
201
|
+
.bk.bk-dialog .bk.bk-overlay-header {
|
|
202
|
+
padding-left: 15px;
|
|
203
|
+
font-size: 18px;
|
|
204
|
+
line-height: 28px;
|
|
205
|
+
}
|
|
206
|
+
.bk.bk-dialog .bk.bk-overlay-header > button {
|
|
207
|
+
padding: 15px;
|
|
208
|
+
}
|
|
209
|
+
.bk.bk-dialog .bk.bk-overlay-header > button:hover {
|
|
210
|
+
--bk-tw-bg-opacity: 1;
|
|
211
|
+
background-color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-bg-opacity, 1));
|
|
212
|
+
}
|
|
213
|
+
.bk.bk-dialog .bk.bk-overlay-header > button:focus-visible {
|
|
214
|
+
--bk-tw-bg-opacity: 1;
|
|
215
|
+
background-color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-bg-opacity, 1));
|
|
216
|
+
outline-width: 2px;
|
|
217
|
+
outline-offset: -2px;
|
|
218
|
+
outline-color: rgb(var(--bk-theme-mono-100) / 1);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@media (min-width: 1024px) {
|
|
223
|
+
.bk.bk-dialog .bk.bk-overlay-header {
|
|
224
|
+
padding-left: 25px;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.bk.bk-dialog .bk-dialog-lead {
|
|
229
|
+
margin-bottom: 10px;
|
|
230
|
+
font-family: PB Inter, sans-serif;
|
|
231
|
+
font-size: 16px;
|
|
232
|
+
line-height: 24px;
|
|
233
|
+
--bk-tw-text-opacity: 1;
|
|
234
|
+
color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-text-opacity, 1));
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@media (min-width: 768px) {
|
|
238
|
+
.bk.bk-dialog .bk-dialog-lead {
|
|
239
|
+
font-size: 18px;
|
|
240
|
+
line-height: 28px;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@media (min-width: 1024px) {
|
|
245
|
+
.bk.bk-dialog .bk-dialog-lead {
|
|
246
|
+
margin-bottom: 20px;
|
|
247
|
+
font-size: 20px;
|
|
248
|
+
line-height: 28px;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.bk.bk-dialog .bk-dialog-footer {
|
|
253
|
+
display: flex;
|
|
254
|
+
gap: 10px;
|
|
255
|
+
border-top-width: 1px;
|
|
256
|
+
--bk-tw-border-opacity: 1;
|
|
257
|
+
border-top-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
258
|
+
--bk-tw-bg-opacity: 1;
|
|
259
|
+
background-color: rgb(var(--bk-theme-mono-50) / var(--bk-tw-bg-opacity, 1));
|
|
260
|
+
padding: 15px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@media (min-width: 768px) {
|
|
264
|
+
.bk.bk-dialog .bk-dialog-footer {
|
|
265
|
+
margin-top: 30px;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
@media (min-width: 1024px) {
|
|
270
|
+
.bk.bk-dialog .bk-dialog-footer {
|
|
271
|
+
padding: 20px;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.bk.bk-dialog .bk-dialog-footer {
|
|
276
|
+
flex: 0 0 auto;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.bk.bk-dialog .bk-dialog-footer button {
|
|
280
|
+
width: 100%;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
@media (min-width: 1024px) {
|
|
284
|
+
.bk.bk-dialog .bk-dialog-footer button {
|
|
285
|
+
width: auto;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.bk.bk-dialog .bk-dialog-content,
|
|
290
|
+
.bk.bk-dialog .bk-dialog-pre-footer {
|
|
291
|
+
padding-left: 15px;
|
|
292
|
+
padding-right: 15px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
@media (min-width: 1024px) {
|
|
296
|
+
.bk.bk-dialog .bk-dialog-content,
|
|
297
|
+
.bk.bk-dialog .bk-dialog-pre-footer {
|
|
298
|
+
padding-left: 20px;
|
|
299
|
+
padding-right: 20px;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@media (min-width: 1280px) {
|
|
304
|
+
.bk.bk-dialog .bk-dialog-content,
|
|
305
|
+
.bk.bk-dialog .bk-dialog-pre-footer {
|
|
306
|
+
padding-left: 30px;
|
|
307
|
+
padding-right: 30px;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.bk.bk-dialog .bk-dialog-pre-footer {
|
|
312
|
+
border-top-width: 1px;
|
|
313
|
+
--bk-tw-border-opacity: 1;
|
|
314
|
+
border-top-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
315
|
+
--bk-tw-bg-opacity: 1;
|
|
316
|
+
background-color: rgb(var(--bk-theme-mono-50) / var(--bk-tw-bg-opacity, 1));
|
|
317
|
+
padding-top: 15px;
|
|
318
|
+
padding-bottom: 15px;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
@media (min-width: 1024px) {
|
|
322
|
+
.bk.bk-dialog .bk-dialog-pre-footer {
|
|
323
|
+
padding-top: 20px;
|
|
324
|
+
padding-bottom: 20px;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
@media (min-width: 1280px) {
|
|
329
|
+
.bk.bk-dialog .bk-dialog-pre-footer {
|
|
330
|
+
padding-top: 30px;
|
|
331
|
+
padding-bottom: 30px;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.bk.bk-dialog .bk-dialog-content {
|
|
336
|
+
height: 100%;
|
|
337
|
+
max-height: 100%;
|
|
338
|
+
min-height: 0px;
|
|
339
|
+
flex: 1 1 0%;
|
|
340
|
+
overflow: auto;
|
|
341
|
+
border-top-left-radius: 12px;
|
|
342
|
+
border-top-right-radius: 12px;
|
|
343
|
+
--bk-tw-bg-opacity: 1;
|
|
344
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
345
|
+
padding-top: 15px;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
@media (min-width: 768px) {
|
|
349
|
+
.bk.bk-dialog .bk-dialog-content {
|
|
350
|
+
border-top-left-radius: 0px;
|
|
351
|
+
border-top-right-radius: 0px;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
@media (min-width: 1024px) {
|
|
356
|
+
.bk.bk-dialog .bk-dialog-content {
|
|
357
|
+
height: auto;
|
|
358
|
+
padding-top: 20px;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.bk.bk-dialog .bk-dialog-content {
|
|
363
|
+
overscroll-behavior: contain;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.bk.bk-dialog .bk-dialog-content.bk-is-fullscreen {
|
|
367
|
+
padding: 0px;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.bk.bk-dialog .bk-dialog-content.bk-is-fullscreen .bk-dialog-content-inner {
|
|
371
|
+
height: 100%;
|
|
372
|
+
padding: 0px;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.bk.bk-dialog .bk-dialog-content-inner {
|
|
376
|
+
min-height: calc(100vh - 160px);
|
|
377
|
+
padding-bottom: 20px;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
@media (min-width: 768px) {
|
|
381
|
+
|
|
382
|
+
.bk.bk-dialog .bk-dialog-content-inner {
|
|
383
|
+
min-height: auto;
|
|
384
|
+
height: auto
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.bk.bk-overlay-header {
|
|
389
|
+
display: flex;
|
|
390
|
+
align-items: center;
|
|
391
|
+
--bk-tw-bg-opacity: 1;
|
|
392
|
+
background-color: rgb(0 0 0 / var(--bk-tw-bg-opacity, 1));
|
|
393
|
+
padding-left: 10px;
|
|
394
|
+
font-size: 16px;
|
|
395
|
+
line-height: 24px;
|
|
396
|
+
line-height: 1;
|
|
397
|
+
--bk-tw-text-opacity: 1;
|
|
398
|
+
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.bk.bk-overlay-header > .bk-icon,
|
|
402
|
+
.bk.bk-overlay-header > .bk-blokkli-item-icon {
|
|
403
|
+
margin-right: 5px;
|
|
404
|
+
height: auto;
|
|
405
|
+
width: auto;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.bk.bk-overlay-header > .bk-icon svg, .bk.bk-overlay-header > .bk-blokkli-item-icon svg {
|
|
409
|
+
height: 1.25em;
|
|
410
|
+
width: 1.25em;
|
|
411
|
+
fill: currentColor;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.bk.bk-overlay-header h3 {
|
|
415
|
+
font-weight: 700;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.bk.bk-overlay-header > button {
|
|
419
|
+
margin-left: auto;
|
|
420
|
+
display: flex;
|
|
421
|
+
width: 60px;
|
|
422
|
+
height: 60px;
|
|
423
|
+
align-items: center;
|
|
424
|
+
justify-content: center;
|
|
425
|
+
padding-left: 10px;
|
|
426
|
+
padding-right: 10px;
|
|
427
|
+
padding-top: 15px;
|
|
428
|
+
padding-bottom: 15px;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.bk.bk-overlay-header > button .bk-icon {
|
|
432
|
+
height: 1.25em;
|
|
433
|
+
width: 1.25em;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.bk.bk-overlay-header > button .bk-icon svg {
|
|
437
|
+
fill: currentColor;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.bk .bk-dialog-content-element {
|
|
441
|
+
margin-bottom: 30px;
|
|
442
|
+
display: flex;
|
|
443
|
+
min-height: 400px;
|
|
444
|
+
align-items: center;
|
|
445
|
+
justify-content: center;
|
|
446
|
+
overflow: hidden;
|
|
447
|
+
border-radius: 4px;
|
|
448
|
+
border-width: 1px;
|
|
449
|
+
--bk-tw-border-opacity: 1;
|
|
450
|
+
border-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
451
|
+
padding: 20px;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.bk .bk-dialog-content-element.bk-default-bg {
|
|
455
|
+
--bk-tw-bg-opacity: 1;
|
|
456
|
+
background-color: rgb(var(--bk-theme-mono-50) / var(--bk-tw-bg-opacity, 1));
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.bk .bk-message-info {
|
|
460
|
+
margin-top: 20px;
|
|
461
|
+
margin-bottom: 20px;
|
|
462
|
+
border-radius: 4px;
|
|
463
|
+
border-width: 1px;
|
|
464
|
+
--bk-tw-border-opacity: 1;
|
|
465
|
+
border-color: rgb(var(--bk-theme-yellow-normal) / var(--bk-tw-border-opacity, 1));
|
|
466
|
+
--bk-tw-bg-opacity: 1;
|
|
467
|
+
background-color: rgb(var(--bk-theme-yellow-light) / var(--bk-tw-bg-opacity, 1));
|
|
468
|
+
padding: 10px;
|
|
469
|
+
font-family: PB Inter, sans-serif;
|
|
470
|
+
font-size: 16px;
|
|
471
|
+
line-height: 24px;
|
|
472
|
+
--bk-tw-text-opacity: 1;
|
|
473
|
+
color: rgb(var(--bk-theme-yellow-dark) / var(--bk-tw-text-opacity, 1));
|
|
474
|
+
}
|
|
475
|
+
</style>
|
|
@@ -38,6 +38,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
38
38
|
submitLabel: string;
|
|
39
39
|
canSubmit: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
41
|
+
tabs?: (props: {}) => any;
|
|
42
|
+
} & {
|
|
41
43
|
default?: (props: {}) => any;
|
|
42
44
|
} & {
|
|
43
45
|
'pre-footer'?: (props: {}) => any;
|
|
@@ -48,3 +48,120 @@ function updateRects() {
|
|
|
48
48
|
}
|
|
49
49
|
defineExpose({ updateRects });
|
|
50
50
|
</script>
|
|
51
|
+
|
|
52
|
+
<style>
|
|
53
|
+
.bk.bk-diff-approval-highlight {
|
|
54
|
+
pointer-events: auto;
|
|
55
|
+
position: absolute;
|
|
56
|
+
top: 0px;
|
|
57
|
+
left: 0px;
|
|
58
|
+
transform-origin: 0 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item {
|
|
62
|
+
position: absolute;
|
|
63
|
+
top: 0px;
|
|
64
|
+
left: 0px;
|
|
65
|
+
border-radius: 4px;
|
|
66
|
+
border-width: 1px;
|
|
67
|
+
--bk-tw-border-opacity: 1;
|
|
68
|
+
border-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* @apply outline outline-2 outline-mono-300/20; */
|
|
72
|
+
|
|
73
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item:not(.bk-is-active):hover {
|
|
74
|
+
--bk-tw-border-opacity: 1;
|
|
75
|
+
border-color: rgb(var(--bk-theme-mono-500) / var(--bk-tw-border-opacity, 1));
|
|
76
|
+
background-color: rgb(var(--bk-theme-mono-400) / 0.2);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item.bk-is-active {
|
|
80
|
+
border-width: 4px;
|
|
81
|
+
outline-width: 5px;
|
|
82
|
+
border-top-left-radius: 0px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item.bk-is-approved {
|
|
86
|
+
--bk-tw-border-opacity: 1;
|
|
87
|
+
border-color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-border-opacity, 1));
|
|
88
|
+
outline-color: rgb(var(--bk-theme-lime-normal) / 0.3);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item.bk-is-approved .bk-icon {
|
|
92
|
+
--bk-tw-text-opacity: 1;
|
|
93
|
+
color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-text-opacity, 1));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item.bk-is-rejected {
|
|
97
|
+
--bk-tw-border-opacity: 1;
|
|
98
|
+
border-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-border-opacity, 1));
|
|
99
|
+
outline-color: rgb(var(--bk-theme-red-normal) / 0.3);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item.bk-is-rejected .bk-diff-approval-highlight-item-badge {
|
|
103
|
+
--bk-tw-bg-opacity: 1;
|
|
104
|
+
background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item.bk-is-rejected .bk-icon {
|
|
108
|
+
--bk-tw-text-opacity: 1;
|
|
109
|
+
color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-text-opacity, 1));
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item .bk-diff-approval-highlight-item-area {
|
|
113
|
+
display: block;
|
|
114
|
+
width: 100%;
|
|
115
|
+
height: 100%;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item .bk-diff-approval-highlight-item-badge {
|
|
119
|
+
position: absolute;
|
|
120
|
+
left: -3px;
|
|
121
|
+
bottom: 100%;
|
|
122
|
+
height: 30px;
|
|
123
|
+
--bk-tw-bg-opacity: 1;
|
|
124
|
+
background-color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-bg-opacity, 1));
|
|
125
|
+
--bk-tw-text-opacity: 1;
|
|
126
|
+
color: rgb(255 255 255 / var(--bk-tw-text-opacity, 1));
|
|
127
|
+
border-top-left-radius: 6px;
|
|
128
|
+
border-top-right-radius: 6px;
|
|
129
|
+
padding-left: 8px;
|
|
130
|
+
padding-right: 8px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item .bk-diff-approval-highlight-item-badge > span {
|
|
134
|
+
--bk-tw-translate-y: 1px;
|
|
135
|
+
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));
|
|
136
|
+
font-size: 12px;
|
|
137
|
+
line-height: 16px;
|
|
138
|
+
font-weight: 600;
|
|
139
|
+
text-transform: uppercase;
|
|
140
|
+
line-height: 1;
|
|
141
|
+
letter-spacing: 0.05em;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item .bk-diff-approval-highlight-item-badge {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
gap: 5px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item .bk-diff-approval-highlight-item-badge .bk-icon {
|
|
152
|
+
display: flex;
|
|
153
|
+
width: 18px;
|
|
154
|
+
height: 18px;
|
|
155
|
+
align-items: center;
|
|
156
|
+
justify-content: center;
|
|
157
|
+
border-radius: 4px;
|
|
158
|
+
--bk-tw-bg-opacity: 1;
|
|
159
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.bk.bk-diff-approval-highlight .bk-diff-approval-highlight-item .bk-diff-approval-highlight-item-badge svg {
|
|
163
|
+
width: 15px;
|
|
164
|
+
height: 15px;
|
|
165
|
+
fill: currentColor;
|
|
166
|
+
}
|
|
167
|
+
</style>
|