mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-07 20:59:13 +08:00
3 lines
1.2 KiB
Text
3 lines
1.2 KiB
Text
import{d as h,r as y,u as g,a as v,f as x,o as i,c as S,b as l,w as k,e as n,g as e,i as B,n as u,_ as R,h as V,j as b,k as w}from"./index.e99f8bc9.js";const C={"h-full":"",grid:"~ rows-[max-content_1fr]","of-hidden":""},P=n("div",null," REPL Playground ",-1),E=n("div",{op60:""}," Edit your code below to test and play UnoCSS's matching and generating. ",-1),L={"h-full":"","of-hidden":"",grid:"","grid-cols-2":""},N=h({__name:"ReplPlayground",setup(m){const t=y(null),s=g(t,"rpel-scrolls"),o=v("unocss:inspector:repl",`<div class="text-sm hover:text-red">
|
|
Hello World
|
|
</div>`),{data:a}=x(o);return(j,r)=>{var d,_;const p=R,c=V;return i(),S("div",C,[l(p,{ref_key:"status",ref:t},{default:k(()=>[P,E]),_:1},512),n("div",L,[l(c,{modelValue:e(o),"onUpdate:modelValue":r[0]||(r[0]=f=>B(o)?o.value=f:null),mode:"html",matched:((d=e(a))==null?void 0:d.matched)||[],class:"scrolls rpel-scrolls",style:u(e(s))},null,8,["modelValue","matched","style"]),l(c,{"b-l":"","b-main":"","model-value":((_=e(a))==null?void 0:_.css)||"/* empty */","read-only":!0,mode:"css",class:"scrolls rpel-scrolls",style:u(e(s))},null,8,["model-value","style"])])])}}}),U={};function $(m,t){const s=N;return i(),w(s)}const H=b(U,[["render",$]]);export{H as default};
|