@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
|
@@ -83,3 +83,60 @@ function dismiss() {
|
|
|
83
83
|
hasDismissed.value = true;
|
|
84
84
|
}
|
|
85
85
|
</script>
|
|
86
|
+
|
|
87
|
+
<style>
|
|
88
|
+
.bk ul.bk-system-requirements {
|
|
89
|
+
margin-bottom: 15px;
|
|
90
|
+
display: grid;
|
|
91
|
+
gap: 10px
|
|
92
|
+
}
|
|
93
|
+
.bk ul.bk-system-requirements li {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
gap: 10px;
|
|
97
|
+
border-radius: 4px;
|
|
98
|
+
border-width: 1px;
|
|
99
|
+
--bk-tw-border-opacity: 1;
|
|
100
|
+
border-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
101
|
+
padding: 10px
|
|
102
|
+
}
|
|
103
|
+
.bk ul.bk-system-requirements li h3 {
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
gap: 2px;
|
|
107
|
+
font-size: 18px;
|
|
108
|
+
line-height: 28px;
|
|
109
|
+
font-weight: 700
|
|
110
|
+
}
|
|
111
|
+
.bk ul.bk-system-requirements li.bk-is-success .bk-system-requirements-icon {
|
|
112
|
+
--bk-tw-bg-opacity: 1;
|
|
113
|
+
background-color: rgb(var(--bk-theme-lime-normal) / var(--bk-tw-bg-opacity, 1));
|
|
114
|
+
--bk-tw-text-opacity: 1;
|
|
115
|
+
color: rgb(var(--bk-theme-lime-light) / var(--bk-tw-text-opacity, 1))
|
|
116
|
+
}
|
|
117
|
+
.bk ul.bk-system-requirements li.bk-is-error {
|
|
118
|
+
--bk-tw-border-opacity: 1;
|
|
119
|
+
border-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-border-opacity, 1));
|
|
120
|
+
--bk-tw-bg-opacity: 1;
|
|
121
|
+
background-color: rgb(var(--bk-theme-red-light) / var(--bk-tw-bg-opacity, 1));
|
|
122
|
+
--bk-tw-text-opacity: 1;
|
|
123
|
+
color: rgb(var(--bk-theme-red-dark) / var(--bk-tw-text-opacity, 1))
|
|
124
|
+
}
|
|
125
|
+
.bk ul.bk-system-requirements li.bk-is-error .bk-system-requirements-icon {
|
|
126
|
+
--bk-tw-bg-opacity: 1;
|
|
127
|
+
background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
|
|
128
|
+
--bk-tw-text-opacity: 1;
|
|
129
|
+
color: rgb(var(--bk-theme-red-light) / var(--bk-tw-text-opacity, 1))
|
|
130
|
+
}
|
|
131
|
+
.bk .bk-system-requirements-icon {
|
|
132
|
+
position: relative;
|
|
133
|
+
width: 18px;
|
|
134
|
+
height: 18px;
|
|
135
|
+
flex-shrink: 0;
|
|
136
|
+
border-radius: 9999px;
|
|
137
|
+
padding: 2px
|
|
138
|
+
}
|
|
139
|
+
.bk .bk-system-requirements-icon svg {
|
|
140
|
+
fill: currentColor
|
|
141
|
+
}
|
|
142
|
+
</style>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type TabItem<Id extends string = string> = {
|
|
2
|
+
id: Id;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
7
|
+
tabs: TabItem<T>[];
|
|
8
|
+
} & {
|
|
9
|
+
modelValue: T;
|
|
10
|
+
}) & {
|
|
11
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: {}) => void;
|
|
16
|
+
attrs: any;
|
|
17
|
+
slots: {
|
|
18
|
+
default?: (props: {}) => any;
|
|
19
|
+
};
|
|
20
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
21
|
+
}>) => import("vue").VNode & {
|
|
22
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} : {
|
|
29
|
+
[K in keyof T as K]: T[K];
|
|
30
|
+
}) & {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="_bk_bg-mono-950 _bk_pt-15 _bk_px-15 _bk_lg:px-20 _bk_xl:px-30 _bk_border-t _bk_border-t-mono-600"
|
|
4
|
+
>
|
|
5
|
+
<div role="tablist">
|
|
6
|
+
<button
|
|
7
|
+
v-for="tab in tabs"
|
|
8
|
+
:key="tab.id"
|
|
9
|
+
role="tab"
|
|
10
|
+
:aria-selected="modelValue === tab.id"
|
|
11
|
+
:class="{
|
|
12
|
+
'_bk_!bg-white _bk_!text-mono-900': modelValue === tab.id,
|
|
13
|
+
'_bk_hover:!bg-mono-700': modelValue !== tab.id
|
|
14
|
+
}"
|
|
15
|
+
class="_bk_text-lg _bk_font-bold _bk_px-30 _bk_py-10 _bk_rounded-t-md _bk_text-white"
|
|
16
|
+
@click.prevent="modelValue = tab.id"
|
|
17
|
+
>
|
|
18
|
+
{{ tab.label }}
|
|
19
|
+
</button>
|
|
20
|
+
</div>
|
|
21
|
+
<div v-if="$slots.default" class="bk-tabs-panel" role="tabpanel">
|
|
22
|
+
<slot />
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script setup>
|
|
28
|
+
defineProps({
|
|
29
|
+
tabs: { type: Array, required: true }
|
|
30
|
+
});
|
|
31
|
+
const modelValue = defineModel({ type: null, ...{ required: true } });
|
|
32
|
+
</script>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type TabItem<Id extends string = string> = {
|
|
2
|
+
id: Id;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: <T extends string = string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
7
|
+
tabs: TabItem<T>[];
|
|
8
|
+
} & {
|
|
9
|
+
modelValue: T;
|
|
10
|
+
}) & {
|
|
11
|
+
"onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: {}) => void;
|
|
16
|
+
attrs: any;
|
|
17
|
+
slots: {
|
|
18
|
+
default?: (props: {}) => any;
|
|
19
|
+
};
|
|
20
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
21
|
+
}>) => import("vue").VNode & {
|
|
22
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} : {
|
|
29
|
+
[K in keyof T as K]: T[K];
|
|
30
|
+
}) & {};
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
<div
|
|
3
3
|
v-show="activeSidebarLeft && sidebarVisible"
|
|
4
4
|
id="bk-sidebar-content-left"
|
|
5
|
-
class="bk-sidebar bk-is-left"
|
|
5
|
+
class="bk-sidebar bk-is-left bk"
|
|
6
6
|
:class="{ 'bk-is-hidden': !sidebarVisible }"
|
|
7
7
|
/>
|
|
8
8
|
|
|
9
9
|
<div
|
|
10
10
|
v-show="activeSidebarRight || activeSidebarRightBottom"
|
|
11
11
|
ref="sidebarRightWrapper"
|
|
12
|
-
class="bk-sidebar-right-wrapper"
|
|
12
|
+
class="bk bk-sidebar-right-wrapper"
|
|
13
13
|
:class="{
|
|
14
14
|
'bk-is-resizing-split': isResizingSplit,
|
|
15
15
|
'bk-is-split': activeSidebarRightBottom
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div
|
|
19
19
|
v-show="activeSidebarRight"
|
|
20
20
|
id="bk-sidebar-content-right"
|
|
21
|
-
class="bk-sidebar bk-is-right"
|
|
21
|
+
class="bk-sidebar bk-is-right bk"
|
|
22
22
|
:class="{ 'bk-is-hidden': !sidebarVisible }"
|
|
23
23
|
:style="rightSidebarStyle"
|
|
24
24
|
/>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<div
|
|
37
37
|
v-show="activeSidebarRightBottom"
|
|
38
38
|
id="bk-sidebar-content-right-bottom"
|
|
39
|
-
class="bk-sidebar bk-is-right-bottom"
|
|
39
|
+
class="bk-sidebar bk-is-right-bottom bk"
|
|
40
40
|
:class="{ 'bk-is-hidden': !sidebarVisible }"
|
|
41
41
|
/>
|
|
42
42
|
</div>
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
<div id="bk-toolbar-title" class="bk-toolbar-container" />
|
|
61
61
|
<div id="bk-toolbar-after-title" class="bk-toolbar-container" />
|
|
62
62
|
<div id="bk-toolbar-view-options" class="bk-toolbar-container" />
|
|
63
|
+
<div id="bk-toolbar-artboard" class="bk-toolbar-container" />
|
|
63
64
|
<div
|
|
64
65
|
id="bk-toolbar-before-sidebar"
|
|
65
66
|
class="bk-sidebar-container-tabs bk-toolbar-container"
|
|
@@ -187,3 +188,213 @@ export default {
|
|
|
187
188
|
name: "BlokkliToolbar"
|
|
188
189
|
};
|
|
189
190
|
</script>
|
|
191
|
+
|
|
192
|
+
<style>
|
|
193
|
+
.bk.bk-toolbar-menu {
|
|
194
|
+
pointer-events: auto;
|
|
195
|
+
position: relative;
|
|
196
|
+
z-index: calc(var(--bk-z-index-base) + 390000) /* "menu" */;
|
|
197
|
+
height: 100%;
|
|
198
|
+
grid-area: menu;
|
|
199
|
+
}
|
|
200
|
+
.bk.bk-toolbar-menu .bk-toolbar-menu-button {
|
|
201
|
+
position: relative;
|
|
202
|
+
z-index: 50;
|
|
203
|
+
display: flex;
|
|
204
|
+
height: 100%;
|
|
205
|
+
width: var(--bk-toolbar-left-width);
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: center;
|
|
208
|
+
--bk-tw-text-opacity: 1;
|
|
209
|
+
color: rgb(var(--bk-theme-mono-50) / var(--bk-tw-text-opacity, 1));
|
|
210
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
211
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
212
|
+
transition-duration: 150ms;
|
|
213
|
+
}
|
|
214
|
+
.bk.bk-toolbar-menu .bk-toolbar-menu-button:focus {
|
|
215
|
+
outline: 2px solid transparent;
|
|
216
|
+
outline-offset: 2px;
|
|
217
|
+
}
|
|
218
|
+
@media (min-width: 1024px) {
|
|
219
|
+
.bk.bk-toolbar-menu .bk-toolbar-menu-button {
|
|
220
|
+
--bk-tw-bg-opacity: 1;
|
|
221
|
+
background-color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-bg-opacity, 1));
|
|
222
|
+
}
|
|
223
|
+
.bk.bk-toolbar-menu .bk-toolbar-menu-button:hover {
|
|
224
|
+
--bk-tw-bg-opacity: 1;
|
|
225
|
+
background-color: rgb(var(--bk-theme-accent-800) / var(--bk-tw-bg-opacity, 1));
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
.bk.bk-toolbar-menu .bk-toolbar-menu-button.bk-is-active {
|
|
229
|
+
--bk-tw-bg-opacity: 1;
|
|
230
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
231
|
+
--bk-tw-text-opacity: 1;
|
|
232
|
+
color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-text-opacity, 1));
|
|
233
|
+
}
|
|
234
|
+
.bk.bk-toolbar-menu .bk-toolbar-menu-button svg {
|
|
235
|
+
pointer-events: none;
|
|
236
|
+
height: 24px;
|
|
237
|
+
width: 24px;
|
|
238
|
+
fill: currentColor;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.bk.bk-toolbar {
|
|
242
|
+
position: relative;
|
|
243
|
+
z-index: calc(var(--bk-z-index-base) + 160000) /* "toolbar" */;
|
|
244
|
+
user-select: none;
|
|
245
|
+
pointer-events: auto;
|
|
246
|
+
display: flex;
|
|
247
|
+
--bk-tw-bg-opacity: 1;
|
|
248
|
+
background-color: rgb(var(--bk-theme-mono-900) / var(--bk-tw-bg-opacity, 1));
|
|
249
|
+
font-size: 16px;
|
|
250
|
+
line-height: 24px;
|
|
251
|
+
contain: style size;
|
|
252
|
+
grid-area: toolbar;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@media (min-width: 1024px) {
|
|
256
|
+
|
|
257
|
+
.bk .bk-toolbar-container:not(:first-child) {
|
|
258
|
+
border-left-width: 1px;
|
|
259
|
+
--bk-tw-border-opacity: 1;
|
|
260
|
+
border-left-color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-border-opacity, 1));
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.bk .bk-toolbar-container:empty {
|
|
265
|
+
display: none;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.bk .bk-toolbar-container {
|
|
269
|
+
position: relative;
|
|
270
|
+
display: flex;
|
|
271
|
+
height: 100%;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.bk .bk-toolbar-container#bk-toolbar-view-options {
|
|
275
|
+
display: none;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
@media (min-width: 1024px) {
|
|
279
|
+
.bk .bk-toolbar-container#bk-toolbar-view-options {
|
|
280
|
+
display: flex;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.bk .bk-toolbar-container#bk-toolbar-title {
|
|
285
|
+
flex: 1 1 0%;
|
|
286
|
+
font-size: 12px;
|
|
287
|
+
line-height: 16px;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
@media (min-width: 1024px) {
|
|
291
|
+
.bk .bk-toolbar-container#bk-toolbar-title {
|
|
292
|
+
font-size: 14px;
|
|
293
|
+
line-height: 20px;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@media (min-width: 1280px) {
|
|
298
|
+
.bk .bk-toolbar-container#bk-toolbar-title {
|
|
299
|
+
font-size: 16px;
|
|
300
|
+
line-height: 24px;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.bk .bk-toolbar-container#bk-toolbar-title .bk-toolbar-title-scheduled {
|
|
305
|
+
position: relative;
|
|
306
|
+
border-right-width: 1px;
|
|
307
|
+
--bk-tw-border-opacity: 1;
|
|
308
|
+
border-right-color: rgb(var(--bk-theme-yellow-dark) / var(--bk-tw-border-opacity, 1));
|
|
309
|
+
font-size: 14px;
|
|
310
|
+
line-height: 20px;
|
|
311
|
+
line-height: 1 !important;
|
|
312
|
+
background-color: rgb(var(--bk-theme-yellow-dark) / 0.5);
|
|
313
|
+
color: rgb(var(--bk-theme-yellow-light) / 0.9);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.bk .bk-toolbar-container#bk-toolbar-title .bk-toolbar-title-scheduled:hover {
|
|
317
|
+
background-color: rgb(var(--bk-theme-yellow-dark) / 0.8);
|
|
318
|
+
--bk-tw-text-opacity: 1;
|
|
319
|
+
color: rgb(var(--bk-theme-yellow-light) / var(--bk-tw-text-opacity, 1));
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.bk .bk-toolbar-container#bk-toolbar-title .bk-toolbar-title-scheduled {
|
|
323
|
+
font-weight: 600;
|
|
324
|
+
display: flex;
|
|
325
|
+
align-items: center;
|
|
326
|
+
gap: 10px;
|
|
327
|
+
padding-left: 10px;
|
|
328
|
+
padding-right: 10px;
|
|
329
|
+
flex: 0 0 auto;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.bk .bk-toolbar-container#bk-toolbar-title .bk-toolbar-title-scheduled .bk-toolbar-title-scheduled-text {
|
|
333
|
+
white-space: nowrap;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.bk .bk-toolbar-container#bk-toolbar-title .bk-toolbar-title-scheduled .bk-icon {
|
|
337
|
+
width: 20px;
|
|
338
|
+
height: 20px;
|
|
339
|
+
flex-shrink: 0;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.bk .bk-toolbar-container#bk-toolbar-title .bk-toolbar-title-scheduled .bk-icon svg {
|
|
343
|
+
fill: currentColor;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.bk .bk-toolbar-button {
|
|
347
|
+
display: flex;
|
|
348
|
+
height: 40px;
|
|
349
|
+
min-width: 50px;
|
|
350
|
+
align-items: center;
|
|
351
|
+
justify-content: center;
|
|
352
|
+
gap: 5px;
|
|
353
|
+
padding-left: 10px;
|
|
354
|
+
padding-right: 10px;
|
|
355
|
+
--bk-tw-text-opacity: 1;
|
|
356
|
+
color: rgb(var(--bk-theme-mono-200) / var(--bk-tw-text-opacity, 1));
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
@media (min-width: 1024px) {
|
|
360
|
+
.bk .bk-toolbar-button {
|
|
361
|
+
height: 50px;
|
|
362
|
+
}
|
|
363
|
+
.bk .bk-toolbar-button:not(.bk-is-active):hover {
|
|
364
|
+
--bk-tw-bg-opacity: 1;
|
|
365
|
+
background-color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-bg-opacity, 1));
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.bk .bk-toolbar-button.bk-is-active {
|
|
370
|
+
--bk-tw-bg-opacity: 1;
|
|
371
|
+
background-color: rgb(var(--bk-theme-mono-800) / var(--bk-tw-bg-opacity, 1));
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.bk .bk-toolbar-button.bk-is-inactive {
|
|
375
|
+
--bk-tw-text-opacity: 1;
|
|
376
|
+
color: rgb(var(--bk-theme-mono-600) / var(--bk-tw-text-opacity, 1));
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.bk .bk-toolbar-button[disabled] {
|
|
380
|
+
pointer-events: none;
|
|
381
|
+
--bk-tw-text-opacity: 1;
|
|
382
|
+
color: rgb(var(--bk-theme-mono-700) / var(--bk-tw-text-opacity, 1));
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.bk .bk-toolbar-button svg {
|
|
386
|
+
width: 18px;
|
|
387
|
+
height: 18px;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
@media (min-width: 1024px) {
|
|
391
|
+
.bk .bk-toolbar-button svg {
|
|
392
|
+
width: 20px;
|
|
393
|
+
height: 20px;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.bk .bk-toolbar-button .bk-icon svg {
|
|
398
|
+
fill: currentColor;
|
|
399
|
+
}
|
|
400
|
+
</style>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
description?: string;
|
|
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,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="_bk_mt-8 _bk_text-xs _bk_w-full">
|
|
3
|
+
<strong>{{ label }}</strong>
|
|
4
|
+
<span v-if="description">: {{ description }}</span>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script setup>
|
|
9
|
+
defineProps({
|
|
10
|
+
label: { type: String, required: true },
|
|
11
|
+
description: { type: String, required: false }
|
|
12
|
+
});
|
|
13
|
+
</script>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label: string;
|
|
3
|
+
description?: string;
|
|
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,8 @@
|
|
|
1
|
+
import type { UiStatus } from '#blokkli/editor/types/ui';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
status: UiStatus;
|
|
4
|
+
description: string;
|
|
5
|
+
};
|
|
6
|
+
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>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="_bk_w-full _bk_text-xs _bk_font-medium _bk_mt-8 _bk_flex _bk_gap-5"
|
|
4
|
+
:class="'bk-scheme-' + scheme"
|
|
5
|
+
>
|
|
6
|
+
<div
|
|
7
|
+
class="_bk_size-[0.75em] _bk_rounded-full _bk_bg-scheme-normal _bk_shrink-0 _bk_translate-y-2"
|
|
8
|
+
/>
|
|
9
|
+
<div class="_bk_whitespace-normal _bk_text-scheme-normal">{{ description }}</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script setup>
|
|
14
|
+
import { computed } from "vue";
|
|
15
|
+
const props = defineProps({
|
|
16
|
+
status: { type: String, required: true },
|
|
17
|
+
description: { type: String, required: true }
|
|
18
|
+
});
|
|
19
|
+
const scheme = computed(() => {
|
|
20
|
+
if (props.status === "success") {
|
|
21
|
+
return "lime";
|
|
22
|
+
} else if (props.status === "warning") {
|
|
23
|
+
return "yellow";
|
|
24
|
+
}
|
|
25
|
+
return "red";
|
|
26
|
+
});
|
|
27
|
+
</script>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { UiStatus } from '#blokkli/editor/types/ui';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
status: UiStatus;
|
|
4
|
+
description: string;
|
|
5
|
+
};
|
|
6
|
+
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>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Placement } from '#blokkli/editor/types/ui';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
placement?: Placement | 'inline';
|
|
5
|
+
description?: string | null;
|
|
6
|
+
margin?: boolean;
|
|
7
|
+
small?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
shortcut?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
status?: (props: typeof __VLS_3) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
description: string | null;
|
|
17
|
+
placement: Placement | "inline";
|
|
18
|
+
margin: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="_bk_text-white _bk_text-sm _bk_rounded _bk_select-none _bk_pointer-events-none _bk_leading-none _bk_whitespace-nowrap _bk_min-h-40 _bk_font-sans _bk_flex _bk_flex-col _bk_justify-center"
|
|
4
|
+
:class="{
|
|
5
|
+
'_bk_!text-xs _bk_!min-h-25 _bk_!px-5 _bk_!py-3': small,
|
|
6
|
+
'_bk_absolute _bk_invisible _bk_group-hover/tooltip:visible _bk_bg-mono-800/90 _bk_p-10': placement !== 'inline',
|
|
7
|
+
'_bk_top-full _bk_mt-5': placement.startsWith('below-'),
|
|
8
|
+
'_bk_bottom-full _bk_mb-5': placement.startsWith('above-'),
|
|
9
|
+
'_bk_top-0': placement.startsWith('top-'),
|
|
10
|
+
'_bk_bottom-0': placement.startsWith('bottom-'),
|
|
11
|
+
'_bk_top-1/2 _bk_-translate-y-1/2': placement.startsWith('center-'),
|
|
12
|
+
'_bk_left-0': placement.endsWith('-left'),
|
|
13
|
+
'_bk_ml-5': placement.endsWith('-left') && margin,
|
|
14
|
+
'_bk_right-0': placement.endsWith('-right'),
|
|
15
|
+
'_bk_mr-5': placement.endsWith('-right') && margin,
|
|
16
|
+
'_bk_left-full _bk_ml-5': placement.endsWith('-after'),
|
|
17
|
+
'_bk_right-full _bk_mr-5': placement.endsWith('-before'),
|
|
18
|
+
'_bk_left-1/2 _bk_-translate-x-1/2': placement.endsWith('-center')
|
|
19
|
+
}"
|
|
20
|
+
>
|
|
21
|
+
<div class="_bk_flex _bk_gap-5 _bk_justify-between _bk_items-center">
|
|
22
|
+
<div class="_bk_font-bold" v-html="label" />
|
|
23
|
+
<slot name="shortcut" />
|
|
24
|
+
</div>
|
|
25
|
+
<div v-if="description" class="_bk_font-normal _bk_mt-5 _bk_text-xs">
|
|
26
|
+
<div v-if="description" v-html="description" />
|
|
27
|
+
</div>
|
|
28
|
+
<slot name="status" />
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
|
|
32
|
+
<script setup>
|
|
33
|
+
defineProps({
|
|
34
|
+
label: { type: String, required: true },
|
|
35
|
+
placement: { type: String, required: false, default: "below-left" },
|
|
36
|
+
description: { type: [String, null], required: false, default: "" },
|
|
37
|
+
margin: { type: Boolean, required: false, default: false },
|
|
38
|
+
small: { type: Boolean, required: false }
|
|
39
|
+
});
|
|
40
|
+
</script>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Placement } from '#blokkli/editor/types/ui';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
placement?: Placement | 'inline';
|
|
5
|
+
description?: string | null;
|
|
6
|
+
margin?: boolean;
|
|
7
|
+
small?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
shortcut?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
status?: (props: typeof __VLS_3) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
|
+
description: string | null;
|
|
17
|
+
placement: Placement | "inline";
|
|
18
|
+
margin: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|