/*!
Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
@license Proprietary

This software is the confidential and proprietary property of Lenovo SSG BASD.
You shall not disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement.

--- Build Info ---
Version: 1.1.1
Build Time: 2026/2/26 17:21:00
Build Commit: 81e556ed827e2f043668506dae6fae8dbb9ef395
*/
import{openBlock as e,createElementBlock as d,renderSlot as o,createElementVNode as i,createVNode as t,unref as l,withCtx as r}from"vue";import './ToolbarPanel2.css';import './ToolbarPanel.css';/* empty css                 *//* empty css                 */import s from"../../_virtual/_plugin-vue_export-helper.js";import a from"./components/ToolbarGroup.vue.js";import n from"./components/UndoRedoButton.vue.js";import b from"./components/ToolbarSeparator.vue.js";import p from"./components/HeadingDropdownMenu.vue.js";import u from"./components/FontSizeDropdownMenu.vue.js";import m from"./components/TextAlignDropdownMenu.vue.js";import c from"./components/ListDropdownMenu.vue.js";import v from"./components/BlockquoteButton.vue.js";import f from"./components/CodeBlockButton.vue.js";import j from"./components/MarkButton.vue.js";import g from"./components/ColorHighlightPopover.vue.js";import B from"./components/TextColorPopover.vue.js";import _ from"./components/LinkPopover.vue.js";import y from"./components/ImageUploadButton.vue.js";import T from"./components/VideoUploadButton.vue.js";import x from"./components/TableButton.vue.js";const k={class:"gsc-flex-center bg-gray-50 gsc-tiptap-toolbar"},P={class:"gsc-flex-center flex-wrap gap-0.5"},w=/* @__PURE__ */s(/* @__PURE__ */Object.assign({name:"EditorToolBar"},{__name:"ToolbarPanel",props:{editor:Object,disabled:Boolean,prefixCls:String},setup:s=>(w,L)=>(e(),d("div",k,[o(w.$slots,"toolbar",{},()=>[i("div",P,[t(l(a),null,{default:r(()=>[t(l(n),{action:"undo",editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(n),{action:"redo",editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"])]),_:1}),t(l(b)),t(l(a),null,{default:r(()=>[t(l(p),{levels:[1,2,3],editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(u),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(m),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(c),{types:["bulletList","orderedList","taskList"],editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(v),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(f),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"])]),_:1}),t(l(b)),t(l(a),null,{default:r(()=>[t(l(j),{type:"bold",editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(j),{type:"italic",editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(j),{type:"strike",editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(j),{type:"underline",editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(j),{type:"code",editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(j),{type:"superscript",editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(j),{type:"subscript",editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(g),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(B),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(_),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"])]),_:1}),t(l(b)),t(l(a),null,{default:r(()=>[t(l(y),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(T),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"]),t(l(x),{editor:s.editor,disabled:s.disabled},null,8,["editor","disabled"])]),_:1})])],!0)]))}),[["__scopeId","data-v-7b8b15ac"]]);export{w as default};