baked-recipe-admin
Version:
Baked is an opinionated framework for .NET in backend and Nuxt in frontend. This is a recipe package that brings together all the components one needs for an Admin UI.
2 lines • 849 B
JavaScript
var i=Object.defineProperty;var n=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var d=(a,e,t)=>e in a?i(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,s=(a,e)=>{for(var t in e||(e={}))m.call(e,t)&&d(a,t,e[t]);if(n)for(var t of n(e))x.call(e,t)&&d(a,t,e[t]);return a};function f(a){return typeof a=="function"&&"call"in a&&"apply"in a}function N(...a){return a==null?void 0:a.reduce((e,t={})=>{for(let o in t){let r=t[o];if(o==="style")e.style=s(s({},e.style),t.style);else if(o==="class")e.class=[e.class,t.class].join(" ").trim()||void 0;else if(o==="className")e.className=[e.className,t.className].join(" ").trim()||void 0;else if(f(r)){let l=e[o];e[o]=l?(...u)=>{l(...u),r(...u)}:r}else e[o]=r}return e},{})}export{N as mergeProps};
//# sourceMappingURL=index.mjs.map