PageSourceSearch

https://jeban.com/_nuxt/BWgMwnDn.js

js jeban.com collected 2026-10-04 00:11:29 UTC 1,791 bytes, 1 lines download raw bytes

1import{q as y,l as r,B as h,y as b,ap as v,o as x,c as g,a as k,n as B,u as E}from"./BxRyorBt.js";const _=["name","placeholder","value"],S={__name:"ActionRedactor",props:{modelValue:{default:"",type:String},placeholder:{type:String,default:null},name:{type:String,default:null},tiny:{type:Boolean,default:!1},isOnFullscreen:{type:Boolean,default:!1},toolbarExternal:{type:[String,Boolean],default:!1}},emits:["update:modelValue","ready"],setup(n,{emit:i}){const o=n,s=i,f=y(),l=r(null),c=r(!0),a=r({focus:!0,plugins:["fontcolor"],toolbarExternal:o.toolbarExternal}),p=e=>{s("update:modelValue",e)},u=()=>{const e={changed:d=>(p(d),d),started:()=>{s("ready")}};a.value.callbacks=e,a.value.buttons=o.tiny?["format","bold","italic","underline","fontcolor"]:["format","bold","italic","underline","ol","ul","outdent","indent","align","fontcolor"],f.user.isAdmin&&(a.value.buttons.unshift("html"),a.value.buttons.push("link"));const t=Redactor(l.value,a.value);l.value=t,c.value=!1},m=()=>{typeof l.value?.destroy=="function"&&l.value.destroy()};return h(async()=>{if(typeof Redactor!="function"){const e=document.createElement("script"),t=document.createElement("link");e.src="/redactor/redactor.bulk.min.js",e.addEventListener("load",()=>{u()}),t.rel="stylesheet",t.type="text/css",t.href="/redactor/redactor.css",document.body.appendChild(e),document.getElementsByTagName("head")[0].appendChild(t)}else b(()=>{u()})}),v(()=>{m()}),(e,t)=>(x(),g("div",{class:B(["text-lg w-full min-h-full [&_.redactor-box]:min-h-full [&_.redactor-box]:border-0!",{"overflow-y-scroll":o.isOnFullscreen,"opacity-0":E(c)}])},[k("textarea",{class:"pt-[54.5px] [padding:16px_18px] w-full min-h-full",ref_key:"redactor",ref:l,name:n.name,placeholder:n.placeholder,value:n.modelValue},null,8,_)],2))}};export{S as _};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.