UNPKG

mira-app-server

Version:

Mira Server - standalone server application using mira-app-core

47 lines (46 loc) 2.81 kB
import{b8 as l}from"./index-OOzZz4T6.js";/** * @license lucide-vue-next v1.0.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const m=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0;return!1};/** * @license lucide-vue-next v1.0.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const d=t=>t==="";/** * @license lucide-vue-next v1.0.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const p=(...t)=>t.filter((e,o,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===o).join(" ").trim();/** * @license lucide-vue-next v1.0.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const w=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** * @license lucide-vue-next v1.0.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const g=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,o,r)=>r?r.toUpperCase():o.toLowerCase());/** * @license lucide-vue-next v1.0.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const C=t=>{const e=g(t);return e.charAt(0).toUpperCase()+e.slice(1)};/** * @license lucide-vue-next v1.0.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** * @license lucide-vue-next v1.0.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const k=({name:t,iconNode:e,absoluteStrokeWidth:o,"absolute-stroke-width":r,strokeWidth:n,"stroke-width":u,size:s=i.width,color:h=i.stroke,...c},{slots:a})=>l("svg",{...i,...c,width:s,height:s,stroke:h,"stroke-width":d(o)||d(r)||o===!0||r===!0?Number(n||u||i["stroke-width"])*24/Number(s):n||u||i["stroke-width"],class:p("lucide",c.class,...t?[`lucide-${w(C(t))}-icon`,`lucide-${w(t)}`]:["lucide-icon"]),...!a.default&&!m(c)&&{"aria-hidden":"true"}},[...e.map(f=>l(...f)),...a.default?[a.default()]:[]]);/** * @license lucide-vue-next v1.0.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const v=(t,e)=>(o,{slots:r,attrs:n})=>l(k,{...n,...o,iconNode:e,name:t},r);export{v as c};