UNPKG

@enonic/react-components

Version:

Library of React components for handling Enonic XP data and page components

2 lines (1 loc) 1.43 kB
var R=Object.defineProperty,l=Object.defineProperties;var I=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;var a=(e,o,t)=>o in e?R(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,s=(e,o)=>{for(var t in o||(o={}))x.call(o,t)&&a(e,t,o[t]);if(p)for(var t of p(o))c.call(o,t)&&a(e,t,o[t]);return e},d=(e,o)=>l(e,I(o));var G=(e,o)=>{var t={};for(var r in e)x.call(e,r)&&o.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&p)for(var r of p(e))o.indexOf(r)<0&&c.call(e,r)&&(t[r]=e[r]);return t};var y=(e,o,t)=>a(e,typeof o!="symbol"?o+"":o,t);var u="editor-macro",W="data-image-ref",h="data-link-ref",v="data-macro-ref",f=(n=>(n.CONTENT_TYPE="contentType",n.ERROR="error",n.FRAGMENT="fragment",n.LAYOUT="layout",n.PAGE="page",n.PART="part",n.TEXT="text",n.MACRO="macro",n))(f||{}),m=(i=>(i.ADMIN="admin",i.EDIT="edit",i.INLINE="inline",i.LIVE="live",i.PREVIEW="preview",i))(m||{}),b={backgroundColor:"#ffffff",borderWidth:"2px",borderStyle:"dashed",borderRadius:"4px",boxSizing:"border-box",display:"block",fontFamily:"Open Sans, Helvetica, sans-serif",fontSize:"20px",lineHeight:"33px",margin:"1px 0 10px",minHeight:"137px",padding:"50px 15px",position:"relative",textAlign:"center"},g="#c9ba9b",L="#794b02",C=d(s({},b),{borderColor:g,color:L});export{s as a,d as b,G as c,y as d,u as e,W as f,h as g,v as h,f as i,m as j,b as k};