@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
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
#version 300 es
|
|
2
|
+
|
|
3
|
+
precision highp float;
|
|
4
|
+
|
|
5
|
+
// [x, y] position.
|
|
6
|
+
in vec2 a_position;
|
|
7
|
+
// The [x,y,width, height] of the quad the vertex belongs to.
|
|
8
|
+
in vec4 a_quad;
|
|
9
|
+
in float a_rect_id;
|
|
10
|
+
in vec3 a_color1;
|
|
11
|
+
in vec3 a_color2;
|
|
12
|
+
in float a_active;
|
|
13
|
+
|
|
14
|
+
// The global scaling applied to all quads.
|
|
15
|
+
uniform float u_scale;
|
|
16
|
+
uniform float u_dpi;
|
|
17
|
+
// The amount of pixels to offset on the x axis.
|
|
18
|
+
uniform float u_offset_x;
|
|
19
|
+
// The amount of pixels to offset on the y axis.
|
|
20
|
+
uniform float u_offset_y;
|
|
21
|
+
uniform vec2 u_resolution;
|
|
22
|
+
|
|
23
|
+
out vec4 v_quad;
|
|
24
|
+
out vec3 v_color1;
|
|
25
|
+
out vec3 v_color2;
|
|
26
|
+
out vec2 v_rect_size;
|
|
27
|
+
out vec2 v_rect_center;
|
|
28
|
+
out float v_border_factor;
|
|
29
|
+
out vec2 v_rect_size_artboard;
|
|
30
|
+
out float v_active;
|
|
31
|
+
|
|
32
|
+
void main() {
|
|
33
|
+
v_active = a_active;
|
|
34
|
+
// Define the increase size to prevent border clipping.
|
|
35
|
+
float borderThickness = (2.0 + a_active * 1.5) * u_dpi;
|
|
36
|
+
float increaseSize = max(borderThickness, 10.0) + 4.0;
|
|
37
|
+
|
|
38
|
+
// Calculate the new dimensions of the quad.
|
|
39
|
+
vec4 adjusted_quad = a_quad;
|
|
40
|
+
adjusted_quad.z += 2.0 * increaseSize;
|
|
41
|
+
adjusted_quad.w += 2.0 * increaseSize;
|
|
42
|
+
|
|
43
|
+
// Adjust vertex positions to scale from the center of the rectangle.
|
|
44
|
+
vec2 center = vec2(a_quad.x + a_quad.z / 2.0, a_quad.y + a_quad.w / 2.0);
|
|
45
|
+
vec2 dummyCenter = vec2(a_quad.x + a_quad.z / 2.0, a_quad.y + a_quad.w / 2.0);
|
|
46
|
+
vec2 vertexOffset = a_position - dummyCenter;
|
|
47
|
+
vec2 newOffset =
|
|
48
|
+
vertexOffset *
|
|
49
|
+
(vec2(adjusted_quad.z, adjusted_quad.w) / vec2(a_quad.z, a_quad.w));
|
|
50
|
+
vec2 newPosition = center + newOffset;
|
|
51
|
+
|
|
52
|
+
// Apply global scale and offsets.
|
|
53
|
+
vec2 offsetPosition = newPosition * u_scale;
|
|
54
|
+
offsetPosition.x += u_offset_x;
|
|
55
|
+
offsetPosition.y += u_offset_y;
|
|
56
|
+
|
|
57
|
+
// Normalize position for rendering.
|
|
58
|
+
vec2 normalizedPosition = offsetPosition / u_resolution;
|
|
59
|
+
|
|
60
|
+
// Transform to screen space (-1 to 1).
|
|
61
|
+
vec2 screenSpacePosition = normalizedPosition * 2.0 - vec2(1.0, 1.0);
|
|
62
|
+
screenSpacePosition.y = -screenSpacePosition.y;
|
|
63
|
+
|
|
64
|
+
// Output final position in clip space.
|
|
65
|
+
gl_Position = vec4(screenSpacePosition, 0.0, 1.0) * u_dpi;
|
|
66
|
+
|
|
67
|
+
// Pass the dimensions to fragment shader for SDF calculations.
|
|
68
|
+
vec4 transformed_quad = vec4(
|
|
69
|
+
(a_quad.x * u_scale + u_offset_x) * u_dpi,
|
|
70
|
+
(u_resolution.y - a_quad.y * u_scale - a_quad.w * u_scale - u_offset_y) *
|
|
71
|
+
u_dpi,
|
|
72
|
+
a_quad.z * u_scale * u_dpi,
|
|
73
|
+
a_quad.w * u_scale * u_dpi
|
|
74
|
+
);
|
|
75
|
+
v_quad = transformed_quad;
|
|
76
|
+
|
|
77
|
+
v_color1 = a_color1;
|
|
78
|
+
v_color2 = a_color2;
|
|
79
|
+
v_rect_size = vec2(v_quad.z, v_quad.w);
|
|
80
|
+
v_rect_center = vec2(v_quad.x + v_quad.z / 2.0, v_quad.y + v_quad.w / 2.0);
|
|
81
|
+
|
|
82
|
+
// Calculate border factor based on scale.
|
|
83
|
+
v_border_factor = smoothstep(0.5, 0.8, u_scale);
|
|
84
|
+
|
|
85
|
+
// Artboard-space rect size for perimeter distance calculation.
|
|
86
|
+
v_rect_size_artboard = vec2(a_quad.z, a_quad.w);
|
|
87
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Renderer />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
6
|
+
import { defineBlokkliFeature } from "#imports";
|
|
7
|
+
import Renderer from "./Renderer/index.vue";
|
|
8
|
+
defineBlokkliFeature({
|
|
9
|
+
id: "highlights",
|
|
10
|
+
label: "Highlights",
|
|
11
|
+
icon: "bk_mdi_error",
|
|
12
|
+
description: "Renders persistent highlights for blocks with issues or outdated translations."
|
|
13
|
+
});
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
export default {
|
|
18
|
+
name: "Highlights"
|
|
19
|
+
};
|
|
20
|
+
</script>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -126,3 +126,212 @@ async function setMutationItemStatus(index, status) {
|
|
|
126
126
|
);
|
|
127
127
|
}
|
|
128
128
|
</script>
|
|
129
|
+
|
|
130
|
+
<style>
|
|
131
|
+
.bk.bk-history .bk-history-load-more {
|
|
132
|
+
height: 70px;
|
|
133
|
+
padding-top: 10px;
|
|
134
|
+
}
|
|
135
|
+
.bk.bk-history .bk-history-load-more button:before {
|
|
136
|
+
display: none;
|
|
137
|
+
}
|
|
138
|
+
.bk.bk-history .bk-history-load-more button:after {
|
|
139
|
+
content: '';
|
|
140
|
+
position: absolute;
|
|
141
|
+
top: 0px;
|
|
142
|
+
left: 2px;
|
|
143
|
+
z-index: 50;
|
|
144
|
+
height: 40px;
|
|
145
|
+
width: 0px;
|
|
146
|
+
border-left-width: 8px;
|
|
147
|
+
--bk-tw-border-opacity: 1;
|
|
148
|
+
border-color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-border-opacity, 1));
|
|
149
|
+
border-style: dotted;
|
|
150
|
+
}
|
|
151
|
+
.bk.bk-history .bk-history-load-more > button {
|
|
152
|
+
width: 100%;
|
|
153
|
+
}
|
|
154
|
+
.bk.bk-history .bk-history-load-more:hover button:after {
|
|
155
|
+
--bk-tw-border-opacity: 1;
|
|
156
|
+
border-color: rgb(var(--bk-theme-accent-700) / var(--bk-tw-border-opacity, 1));
|
|
157
|
+
}
|
|
158
|
+
.bk.bk-history .bk-history-empty-message {
|
|
159
|
+
padding: 20px;
|
|
160
|
+
}
|
|
161
|
+
.bk.bk-history ul {
|
|
162
|
+
position: relative;
|
|
163
|
+
padding-top: 15px;
|
|
164
|
+
}
|
|
165
|
+
.bk.bk-history ul li {
|
|
166
|
+
position: relative;
|
|
167
|
+
padding-left: 20px;
|
|
168
|
+
}
|
|
169
|
+
.bk.bk-history ul li:after {
|
|
170
|
+
content: '';
|
|
171
|
+
position: absolute;
|
|
172
|
+
left: 25.5px;
|
|
173
|
+
top: 0px;
|
|
174
|
+
height: 100%;
|
|
175
|
+
width: 0px;
|
|
176
|
+
border-left-width: 1px;
|
|
177
|
+
border-style: dashed;
|
|
178
|
+
--bk-tw-border-opacity: 1;
|
|
179
|
+
border-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
180
|
+
--bk-tw-translate-y: 20px;
|
|
181
|
+
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));
|
|
182
|
+
pointer-events: none;
|
|
183
|
+
z-index: 1;
|
|
184
|
+
}
|
|
185
|
+
.bk.bk-history ul li.bk-is-last {
|
|
186
|
+
position: sticky;
|
|
187
|
+
bottom: 0px;
|
|
188
|
+
z-index: 50;
|
|
189
|
+
--bk-tw-bg-opacity: 1;
|
|
190
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
191
|
+
padding-top: 15px;
|
|
192
|
+
padding-bottom: 15px;
|
|
193
|
+
}
|
|
194
|
+
.bk.bk-history ul li.bk-is-last.bk-has-shadow {
|
|
195
|
+
box-shadow: 0 -2px 12px rgb(var(--bk-theme-mono-300) / 1);
|
|
196
|
+
}
|
|
197
|
+
.bk.bk-history ul li.bk-is-last:after {
|
|
198
|
+
top: 0px;
|
|
199
|
+
height: 50%;
|
|
200
|
+
--bk-tw-translate-y: 0px;
|
|
201
|
+
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));
|
|
202
|
+
}
|
|
203
|
+
.bk.bk-history ul li.bk-is-active ~ li:after,
|
|
204
|
+
.bk.bk-history ul li.bk-is-active:after {
|
|
205
|
+
border-style: solid;
|
|
206
|
+
--bk-tw-border-opacity: 1;
|
|
207
|
+
border-color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-border-opacity, 1));
|
|
208
|
+
}
|
|
209
|
+
.bk.bk-history ul li.bk-is-not-active .bk-history-item-button {
|
|
210
|
+
--bk-tw-text-opacity: 1;
|
|
211
|
+
color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-text-opacity, 1));
|
|
212
|
+
}
|
|
213
|
+
.bk.bk-history ul li.bk-is-not-active .bk-history-item-button em {
|
|
214
|
+
--bk-tw-text-opacity: 1;
|
|
215
|
+
color: rgb(var(--bk-theme-mono-400) / var(--bk-tw-text-opacity, 1));
|
|
216
|
+
}
|
|
217
|
+
.bk.bk-history ul li.bk-is-not-active .bk-history-item-button:before {
|
|
218
|
+
--bk-tw-scale-x: .5;
|
|
219
|
+
--bk-tw-scale-y: .5;
|
|
220
|
+
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));
|
|
221
|
+
--bk-tw-text-opacity: 1;
|
|
222
|
+
color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-text-opacity, 1));
|
|
223
|
+
}
|
|
224
|
+
.bk.bk-history ul li.bk-is-disabled .bk-history-item-button {
|
|
225
|
+
pointer-events: none;
|
|
226
|
+
color: rgb(var(--bk-theme-red-normal) / 0.5);
|
|
227
|
+
text-decoration-line: line-through;
|
|
228
|
+
}
|
|
229
|
+
.bk.bk-history ul li.bk-is-disabled .bk-history-item-button em {
|
|
230
|
+
color: rgb(var(--bk-theme-red-normal) / 0.5);
|
|
231
|
+
}
|
|
232
|
+
.bk.bk-history ul li.bk-is-disabled .bk-history-item-button:before {
|
|
233
|
+
--bk-tw-scale-x: .5;
|
|
234
|
+
--bk-tw-scale-y: .5;
|
|
235
|
+
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));
|
|
236
|
+
--bk-tw-text-opacity: 1;
|
|
237
|
+
color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-text-opacity, 1));
|
|
238
|
+
}
|
|
239
|
+
.bk.bk-history ul li.bk-is-active .bk-history-item-button:before {
|
|
240
|
+
--bk-tw-scale-x: 1;
|
|
241
|
+
--bk-tw-scale-y: 1;
|
|
242
|
+
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));
|
|
243
|
+
--bk-tw-bg-opacity: 1;
|
|
244
|
+
background-color: rgb(var(--bk-theme-accent-800) / var(--bk-tw-bg-opacity, 1));
|
|
245
|
+
}
|
|
246
|
+
.bk.bk-history ul li.bk-is-applied .bk-history-item-button:before {
|
|
247
|
+
--bk-tw-border-opacity: 1;
|
|
248
|
+
border-color: rgb(var(--bk-theme-accent-200) / var(--bk-tw-border-opacity, 1));
|
|
249
|
+
--bk-tw-bg-opacity: 1;
|
|
250
|
+
background-color: rgb(var(--bk-theme-accent-200) / var(--bk-tw-bg-opacity, 1));
|
|
251
|
+
}
|
|
252
|
+
.bk.bk-history ul li:not(.bk-is-active) .bk-history-item-button:hover {
|
|
253
|
+
--bk-tw-text-opacity: 1;
|
|
254
|
+
color: rgb(var(--bk-theme-accent-800) / var(--bk-tw-text-opacity, 1));
|
|
255
|
+
}
|
|
256
|
+
.bk.bk-history ul li:not(.bk-is-active) .bk-history-item-button:hover:before {
|
|
257
|
+
--bk-tw-bg-opacity: 1;
|
|
258
|
+
background-color: rgb(var(--bk-theme-accent-400) / var(--bk-tw-bg-opacity, 1));
|
|
259
|
+
}
|
|
260
|
+
.bk.bk-history ul li:hover .bk-history-item-actions {
|
|
261
|
+
display: block;
|
|
262
|
+
}
|
|
263
|
+
.bk.bk-history ul .bk-history-item-button {
|
|
264
|
+
position: relative;
|
|
265
|
+
display: block;
|
|
266
|
+
width: 100%;
|
|
267
|
+
cursor: pointer;
|
|
268
|
+
padding-top: 10px;
|
|
269
|
+
padding-bottom: 10px;
|
|
270
|
+
padding-left: 22px;
|
|
271
|
+
text-align: left;
|
|
272
|
+
font-size: 14px;
|
|
273
|
+
line-height: 20px;
|
|
274
|
+
--bk-tw-text-opacity: 1;
|
|
275
|
+
color: rgb(0 0 0 / var(--bk-tw-text-opacity, 1));
|
|
276
|
+
}
|
|
277
|
+
.bk.bk-history ul .bk-history-item-button > div {
|
|
278
|
+
pointer-events: none;
|
|
279
|
+
}
|
|
280
|
+
.bk.bk-history ul .bk-history-item-button[disabled] {
|
|
281
|
+
pointer-events: none;
|
|
282
|
+
}
|
|
283
|
+
.bk.bk-history ul .bk-history-item-button:before {
|
|
284
|
+
content: '';
|
|
285
|
+
position: absolute;
|
|
286
|
+
top: -8px;
|
|
287
|
+
left: -1px;
|
|
288
|
+
z-index: 10;
|
|
289
|
+
height: 15px;
|
|
290
|
+
width: 15px;
|
|
291
|
+
border-radius: 9999px;
|
|
292
|
+
--bk-tw-bg-opacity: 1;
|
|
293
|
+
background-color: rgb(var(--bk-theme-mono-200) / var(--bk-tw-bg-opacity, 1));
|
|
294
|
+
--bk-tw-translate-y: 20px;
|
|
295
|
+
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));
|
|
296
|
+
transition-property: all;
|
|
297
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
298
|
+
transition-duration: 150ms;
|
|
299
|
+
box-shadow: 0 0 0 3px white;
|
|
300
|
+
}
|
|
301
|
+
.bk.bk-history ul .bk-history-item-button strong {
|
|
302
|
+
font-size: 14px;
|
|
303
|
+
line-height: 20px;
|
|
304
|
+
font-weight: 600;
|
|
305
|
+
}
|
|
306
|
+
.bk.bk-history ul .bk-history-item-button em {
|
|
307
|
+
font-size: 12px;
|
|
308
|
+
line-height: 16px;
|
|
309
|
+
font-style: normal;
|
|
310
|
+
--bk-tw-text-opacity: 1;
|
|
311
|
+
color: rgb(var(--bk-theme-mono-500) / var(--bk-tw-text-opacity, 1));
|
|
312
|
+
}
|
|
313
|
+
.bk.bk-history .bk-history-item-actions {
|
|
314
|
+
position: absolute;
|
|
315
|
+
right: 15px;
|
|
316
|
+
top: 50%;
|
|
317
|
+
display: none;
|
|
318
|
+
--bk-tw-translate-y: -50%;
|
|
319
|
+
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));
|
|
320
|
+
}
|
|
321
|
+
.bk.bk-history .bk-history-item-actions button {
|
|
322
|
+
border-radius: 9999px;
|
|
323
|
+
padding: 3px;
|
|
324
|
+
}
|
|
325
|
+
.bk.bk-history .bk-history-item-actions button svg {
|
|
326
|
+
width: 20px;
|
|
327
|
+
height: 20px;
|
|
328
|
+
fill: rgb(var(--bk-theme-mono-500) / 1);
|
|
329
|
+
}
|
|
330
|
+
.bk.bk-history .bk-history-item-actions button:hover {
|
|
331
|
+
--bk-tw-bg-opacity: 1;
|
|
332
|
+
background-color: rgb(var(--bk-theme-red-normal) / var(--bk-tw-bg-opacity, 1));
|
|
333
|
+
}
|
|
334
|
+
.bk.bk-history .bk-history-item-actions button:hover svg {
|
|
335
|
+
fill: white;
|
|
336
|
+
}
|
|
337
|
+
</style>
|
|
@@ -403,7 +403,7 @@ const { collector } = defineRenderer("hover-overlay", {
|
|
|
403
403
|
ctx2d.stroke();
|
|
404
404
|
} else {
|
|
405
405
|
let strokeColor = colors.u_color_mono;
|
|
406
|
-
if (type === 5) {
|
|
406
|
+
if (type === 5 || type === 6) {
|
|
407
407
|
strokeColor = colors.u_color_yellow;
|
|
408
408
|
} else if (type === 4) {
|
|
409
409
|
strokeColor = colors.u_color_lime;
|
|
@@ -141,7 +141,7 @@ void main() {
|
|
|
141
141
|
v_dash_cycle = 14.0 - u_scale * 1.0;
|
|
142
142
|
v_rect_size_artboard = vec2(hoverPos.z, hoverPos.w);
|
|
143
143
|
|
|
144
|
-
// Select color based on type: 0 = mono, 1 = accent, 2 = teal, 3 = white (inverted), 4 = lime (library), 5 = yellow (restricted)
|
|
144
|
+
// Select color based on type: 0 = mono, 1 = accent, 2 = teal, 3 = white (inverted), 4 = lime (library), 5 = yellow (restricted), 6 = yellow (outdated)
|
|
145
145
|
if (hoverType > 4.5) {
|
|
146
146
|
v_color = u_color_yellow;
|
|
147
147
|
} else if (hoverType > 3.5) {
|
|
@@ -115,3 +115,21 @@ const fieldOptions = computed(
|
|
|
115
115
|
})
|
|
116
116
|
);
|
|
117
117
|
</script>
|
|
118
|
+
|
|
119
|
+
<style>
|
|
120
|
+
.bk.bk-import-existing-dialog .bk.bk-dialog-footer {
|
|
121
|
+
margin-top: 0px
|
|
122
|
+
}
|
|
123
|
+
.bk.bk-import-existing-dialog .bk-dialog-pre-footer {
|
|
124
|
+
--bk-tw-bg-opacity: 1;
|
|
125
|
+
background-color: rgb(255 255 255 / var(--bk-tw-bg-opacity, 1));
|
|
126
|
+
padding: 0px
|
|
127
|
+
}
|
|
128
|
+
.bk.bk-import-existing-dialog .bk-import-existing-dialog-results {
|
|
129
|
+
margin-top: 15px;
|
|
130
|
+
border-top-width: 1px;
|
|
131
|
+
--bk-tw-border-opacity: 1;
|
|
132
|
+
border-top-color: rgb(var(--bk-theme-mono-300) / var(--bk-tw-border-opacity, 1));
|
|
133
|
+
padding-top: 15px
|
|
134
|
+
}
|
|
135
|
+
</style>
|
|
@@ -3,34 +3,15 @@
|
|
|
3
3
|
<div v-if="status === 'pending'" class="bk-loading">
|
|
4
4
|
<Icon name="loader" />
|
|
5
5
|
</div>
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
<
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<input
|
|
16
|
-
v-model.lazy="filterValues[filter.name]"
|
|
17
|
-
type="text"
|
|
18
|
-
:placeholder="filter.placeholder"
|
|
19
|
-
/>
|
|
20
|
-
</label>
|
|
21
|
-
<FilterSelect
|
|
22
|
-
v-else-if="filter.type === 'options'"
|
|
23
|
-
v-model="filterValues[filter.name]"
|
|
24
|
-
:label="filter.label"
|
|
25
|
-
:options="filter.options"
|
|
26
|
-
/>
|
|
27
|
-
<FormToggle
|
|
28
|
-
v-else-if="filter.type === 'checkbox'"
|
|
29
|
-
v-model="filterValues[filter.name]"
|
|
30
|
-
:label="filter.label"
|
|
31
|
-
/>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
6
|
+
<ConfigFormInline v-model="filterValues" :filters="filters">
|
|
7
|
+
<template #before>
|
|
8
|
+
<div class="bk-media-library-filters-listview">
|
|
9
|
+
<button @click="toggleListView">
|
|
10
|
+
<Icon :name="listViewIcon" />
|
|
11
|
+
</button>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
</ConfigFormInline>
|
|
34
15
|
<div
|
|
35
16
|
ref="listEl"
|
|
36
17
|
class="bk-media-library-items"
|
|
@@ -74,10 +55,9 @@ import {
|
|
|
74
55
|
Sortli,
|
|
75
56
|
Icon,
|
|
76
57
|
Pagination,
|
|
77
|
-
|
|
58
|
+
ConfigFormInline
|
|
78
59
|
} from "#blokkli/editor/components";
|
|
79
60
|
import Item from "./Item.vue";
|
|
80
|
-
import FilterSelect from "./FilterSelect/index.vue";
|
|
81
61
|
import { falsy } from "#blokkli/helpers";
|
|
82
62
|
import { onBlokkliEvent } from "#blokkli/editor/composables";
|
|
83
63
|
defineProps({
|